public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b702ed6
)
tty: Fix ^D echo bug
author
Alan Cox
<alan@linux.intel.com>
Tue, 24 Oct 2017 23:37:21 +0000
(
00:37
+0100)
committer
Alan Cox
<alan@linux.intel.com>
Tue, 24 Oct 2017 23:37:21 +0000
(
00:37
+0100)
Kernel/tty.c
patch
|
blob
|
history
diff --git
a/Kernel/tty.c
b/Kernel/tty.c
index
6e1ce73
..
33a2f7a
100644
(file)
--- a/
Kernel/tty.c
+++ b/
Kernel/tty.c
@@
-11,7
+11,6
@@
* - Parity
* - Various misc minor flags
* - Software Flow control
- * - Don't echo EOF char ?
*
* Add a small echo buffer to each tty
*/
@@
-436,7
+435,7
@@
sigout:
}
wr = insq(q, c);
- if (wr)
+ if (wr
&& (!canon || c != t->termios.c_cc[VEOF])
)
tty_echo(minor, c);
else
tty_putc(minor, '\007'); /* Beep if no more room */