From 5eb7da97cd314989d3c44900310ca6b205e43a04 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 1 Apr 1999 16:20:03 +0000 Subject: Disable IXON by default based on comment from Eric Norum and concerns from Thomas Doerfler 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. --- c/src/lib/libc/termios.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'c/src/lib/libc/termios.c') 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; -- cgit v1.2.3