]> git.baikalelectronics.ru Git - kernel.git/commit
n_tty: Output bells immediately on a full buffer
authorJoe Peterson <joe@skyrush.com>
Fri, 2 Jan 2009 13:43:40 +0000 (13:43 +0000)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 2 Jan 2009 18:19:37 +0000 (10:19 -0800)
commit3691536a6cc36e2ac9f3518c8d61504e091e7b3e
treeab01290ff857f343332e9e4b28540300886dc89e
parentfadda301efd9ecef21bff3b594e39f4681210608
n_tty: Output bells immediately on a full buffer

This patch causes "bell" (^G) characters (invoked when the input buffer
is full) to be immediately output rather than filling the echo buffer.

This is especially a problem when the tty is stopped and buffers fill, since
the bells do not serve their purpose of immediate notification that the
buffer cannot take further input, and they will flush all at once when the
tty is restarted.

Signed-off-by: Joe Peterson <joe@skyrush.com>
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/n_tty.c