Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!ucbvax!bloom-beacon!dont-send-mail-to-path-lines From: babu@ctc.fmc.COM (Babu Srinivasan) Newsgroups: comp.windows.x Subject: Buffer overflow in xview's text subwindow Message-ID: <9106102234.AA04340@ctc.fmc.com> Date: 10 Jun 91 22:34:48 GMT Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 30 I have 4 text subwindows in my application. I have set the following attributes: TEXTSW_READ_ONLY, TRUE, TEXTSW_LINE_BREAK_ACTION, TEXTSW_WRAP_AT_WORD, TEXTSW_BROWSING, TRUE, TEXTSW_WRAPAROUND_SIZE, 100000, TEXTSW_DISABLE_LOAD, TRUE, After running for a few minutes, I get a notice saying "Insertion Failed. Text buffer full ....." I am not allowed any options at this point like erasing the buffers. This message keeps appearing again and again; the application has to be killed. Shouldn't TEXTSW_WRAPAROUND_SIZE attribute cause the text window to discard all but the last 100000 bytes ? I also tried using TEXTSW_FILE, "commands1.log" but xview doesn't flush the buffers to file. Can somebody shed some light on this matter ? Thanks. -Babu Srinivasan babu@ctc.fmc.com