diff options
author | phk <phk@FreeBSD.org> | 2004-10-12 13:31:39 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2004-10-12 13:31:39 +0000 |
commit | 9acceba3a53288033d0869840780ba67524707af (patch) | |
tree | 3a44799a741f312f00c4d613c761b0c18fd77e25 /sys | |
parent | 54754444296af76a9bfb6854b74c6df74b5411fe (diff) | |
download | FreeBSD-src-9acceba3a53288033d0869840780ba67524707af.zip FreeBSD-src-9acceba3a53288033d0869840780ba67524707af.tar.gz |
Do not enable ECHO modes by default when a tty port is opened. If the other
device also does echo'ing this can result in a character-storm before we
ever get a chance to disable the echo modes.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/sys/ttydefaults.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/ttydefaults.h b/sys/sys/ttydefaults.h index c8fbb10..dd8bff2 100644 --- a/sys/sys/ttydefaults.h +++ b/sys/sys/ttydefaults.h @@ -46,7 +46,7 @@ */ #define TTYDEF_IFLAG (BRKINT | ICRNL | IMAXBEL | IXON | IXANY) #define TTYDEF_OFLAG (OPOST | ONLCR) -#define TTYDEF_LFLAG (ECHO | ICANON | ISIG | IEXTEN | ECHOE|ECHOKE|ECHOCTL) +#define TTYDEF_LFLAG (ICANON | ISIG | IEXTEN) #define TTYDEF_CFLAG (CREAD | CS8 | HUPCL) #define TTYDEF_SPEED (B9600) |