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.
This commit is contained in:
parent
44c428d240
commit
f4bc0127f4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=136430
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user