Re: tty: ctrl-c not always echoed, especially under load

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Joe Peterson
Date: Monday, August 11, 2008 - 8:14 am

Alan Cox wrote:

I see the problem clearly now.  The driver does indeed reject writes when the
tty is stopped or full, and the ldisc throws them away in that case (only for
echos or other ldisc-generated output, of course).  This problem goes deeper
in that the column logic (for eraser, tabs, etc.) relies on the characters
making it to the tty, and here are many places this is never checked/guaranteed.

I am working up an echo buffer (fifo) that would hold these characters until
they can be sent (if the write is not possible), but since that means they
will arrive at the tty later, their interleaving within the application output
stream is not guaranteed, which again is a problem for the column logic.

I'm still looking into it - not trivial for sure...

							-Joe
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
tty: ctrl-c not always echoed, especially under load, Joe Peterson, (Mon Aug 4, 3:03 pm)
Re: tty: ctrl-c not always echoed, especially under load, Joe Peterson, (Mon Aug 11, 8:14 am)
Re: tty: ctrl-c not always echoed, especially under load, Joe Peterson, (Mon Aug 11, 10:41 am)