Thanks to everyone that helped out. We've been scratching our heads for some time on this problem, and we're still baffled as to why it happens. We've determined that executing a new shell by logging in or su'ing alleviates the problem. This makes sense, since you're actually starting a new session, but it's not a solution to our problem. We were, however, able to use Links successfully. As of now, we've no clue why Lynx exhibits this problem and Links does not. It may have something to do with Lynx using fgets() and Links using read(), but that's just a guess. It seems obvious that Lynx does not like whatever our main application does to file descriptors (stdin, stdout, etc). Since we've no clue, nor the time to really dig into this, we're forced to switch to Links. Thanks again to everyone who helped us out. The discussion has been most enlightening.
Arne On Fri, 2002-08-16 at 18:04, Thomas Dickey wrote: > On Fri, Aug 16, 2002 at 10:43:40PM +0100, David Woolley wrote: > > > I'm not entirely sure I understand your suggestion. I tried to use > > > tput to reset and initialize the terminal, to no avail. > > > > reset and initialise are unlikely to work if Lynx doesn't get the right > > state itself. If the terminal state is the problem, you will need to > > request the specific keypad mode explicitly. > > The keypad mode doesn't relate to the line-buffering. But there's more than > one flavor of 'reset', now that I'm reminded. In ncurses, the 'tset' program > does set things in the same manner as "stty sane", while 'tput' only writes > specific strings to the terminal. To fix the line-buffering, the strings won't > help. That's the terminal I/O modes, which can be set or viewed with stty. > > Since he said he'd checked stty, I don't think either tput/tset would make much > difference anyway. > > -- > Thomas E. Dickey <[EMAIL PROTECTED]> > http://invisible-island.net > ftp://invisible-island.net > > ; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to [EMAIL PROTECTED] -- Arne Sagnes - Email: [EMAIL PROTECTED] Work: +1 440 949 8225 - Cell: +1 216 577 2319 Be careful of reading health books, you might die of a misprint. ; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to [EMAIL PROTECTED]
