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)
commit7e94b1d9bffc18dca3b45554d9d118a3ffcc4d1b
treeab01290ff857f343332e9e4b28540300886dc89e
parentacc71bbad33478973dbed68ebbc2d76dac9a51bd
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
This page took 0.026959 seconds and 5 git commands to generate.