diff options
Diffstat (limited to 'usr.bin/window/wwinit.c')
| -rw-r--r-- | usr.bin/window/wwinit.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/usr.bin/window/wwinit.c b/usr.bin/window/wwinit.c index 033864c00328..609cdcee0c18 100644 --- a/usr.bin/window/wwinit.c +++ b/usr.bin/window/wwinit.c @@ -104,6 +104,8 @@ wwinit() wwnewtty.ww_termios.c_lflag = 0; for (i = 0; i < NCCS; i++) wwnewtty.ww_termios.c_cc[i] = _POSIX_VDISABLE; + wwnewtty.ww_termios.c_cc[VMIN] = 1; + wwnewtty.ww_termios.c_cc[VTIME] = 0; #endif wwnewtty.ww_fflags = wwoldtty.ww_fflags | FASYNC; if (wwsettty(0, &wwnewtty) < 0) @@ -180,6 +182,16 @@ wwinit() #endif wwbaud = 38400; break; +#ifdef B57600 + case B57600: + wwbaud = 57600; + break; +#endif +#ifdef B115200 + case B115200: + wwbaud = 115200; + break; +#endif } if (xxinit() < 0) |
