mirror of
https://git.busybox.net/busybox.git
synced 2024-11-27 23:53:29 +08:00
Antti Seppala (with dots over the last two a's) wants our getty to initialize
the terminal the way mingetty does instead of the way agetty does. It's a bit ugly for somebody else to be writing to a console sitting at a login: prompt, but it's uglier when newline doesn't work as expected if they do.
This commit is contained in:
parent
4b5827a69b
commit
f78ab5396d
@ -474,7 +474,8 @@ static void termio_init(struct termio *tp, int speed, struct options *op)
|
||||
tp->c_cflag |= CLOCAL;
|
||||
}
|
||||
|
||||
tp->c_iflag = tp->c_lflag = tp->c_oflag = tp->c_line = 0;
|
||||
tp->c_iflag = tp->c_lflag = tp->c_line = 0;
|
||||
tp->c_oflag = OPOST | ONLCR;
|
||||
tp->c_cc[VMIN] = 1;
|
||||
tp->c_cc[VTIME] = 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user