diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-04-01 16:20:03 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-04-01 16:20:03 +0000 |
commit | 5eb7da97cd314989d3c44900310ca6b205e43a04 (patch) | |
tree | 11ff3d768d773cd506b1f0262b3cac2faac12592 /c/src/lib | |
parent | Removed warning. (diff) | |
download | rtems-5eb7da97cd314989d3c44900310ca6b205e43a04.tar.bz2 |
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.
Diffstat (limited to '')
-rw-r--r-- | c/src/lib/libc/termios.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/c/src/lib/libc/termios.c b/c/src/lib/libc/termios.c index e783e54753..d816957fd0 100644 --- a/c/src/lib/libc/termios.c +++ b/c/src/lib/libc/termios.c @@ -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; |