getty: do clear CLOCAL and CRTSCTS unless told otherwise
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
cf9d33a894
commit
ffd81f2003
@ -279,10 +279,6 @@ static void termios_init(int speed)
|
|||||||
#ifdef CIBAUD
|
#ifdef CIBAUD
|
||||||
| CIBAUD /* input baud rate */
|
| CIBAUD /* input baud rate */
|
||||||
#endif
|
#endif
|
||||||
#ifdef CRTSCTS
|
|
||||||
| CRTSCTS /* flow control using RTS/CTS pins */
|
|
||||||
#endif
|
|
||||||
| CLOCAL
|
|
||||||
);
|
);
|
||||||
/* Set: 8 bits; hang up (drop DTR) on last close; enable receive */
|
/* Set: 8 bits; hang up (drop DTR) on last close; enable receive */
|
||||||
G.termios.c_cflag |= CS8 | HUPCL | CREAD;
|
G.termios.c_cflag |= CS8 | HUPCL | CREAD;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user