forked from Imagelibrary/rtems
Disable IXON by default based on comment from Eric Norum
<e.norum@sk.sympatico.ca> and concerns from Thomas Doerfler <td@imd.m.ISAR.de> when he submitted the patch: Since enabling XON/XOFF has such a major performance hit on `smart' output devices I think it should be *off* by default. I think some thought should be given to adding hooks for hardware that can support XON/XOFF without software intervention, or for hardware like the 68360 SCC's that can use large buffers, but still handle special characters immediately. The patch you sent is a very good start, though. I just think that the software flow control should be off -- to match the way the serial I/O support has worked up until now.
This commit is contained in:
@@ -280,7 +280,7 @@ rtems_termios_open (
|
||||
/*
|
||||
* Set default parameters
|
||||
*/
|
||||
tty->termios.c_iflag = BRKINT | ICRNL | IXON | IMAXBEL;
|
||||
tty->termios.c_iflag = BRKINT | ICRNL | IMAXBEL;
|
||||
tty->termios.c_oflag = OPOST | ONLCR | XTABS;
|
||||
tty->termios.c_cflag = B9600 | CS8 | CREAD;
|
||||
tty->termios.c_lflag = ISIG | ICANON | IEXTEN | ECHO | ECHOK | ECHOE | ECHOCTL;
|
||||
|
||||
Reference in New Issue
Block a user