diff options
author | Joshua M. Clulow <josh@sysmgr.org> | 2021-09-13 20:44:44 -0700 |
---|---|---|
committer | Joshua M. Clulow <josh@sysmgr.org> | 2021-09-14 00:08:56 -0700 |
commit | d9c3e05c2d8261e3f133b5e96a300b4fa6c0f1b7 (patch) | |
tree | 6dfa33ca74af9e355301f1a6c229e80c5c51a0df /usr/src/lib/libcurses/screen/newscreen.c | |
parent | 60414d478553487f99278a4302d1116e73d5f6dc (diff) | |
download | illumos-gate-d9c3e05c2d8261e3f133b5e96a300b4fa6c0f1b7.tar.gz |
13975 support for higher baud rates
Reviewed by: Robert Mustacchi <rm@fingolfin.org>
Approved by: Richard Lowe <richlowe@richlowe.net>
Diffstat (limited to 'usr/src/lib/libcurses/screen/newscreen.c')
-rw-r--r-- | usr/src/lib/libcurses/screen/newscreen.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/usr/src/lib/libcurses/screen/newscreen.c b/usr/src/lib/libcurses/screen/newscreen.c index ea5ec923c0..129395a4b5 100644 --- a/usr/src/lib/libcurses/screen/newscreen.c +++ b/usr/src/lib/libcurses/screen/newscreen.c @@ -50,11 +50,13 @@ extern char _endwin; #endif /* _VR2_COMPAT_CODE */ /* 1200 is put at the 0th location since 0 is probably a mistake. */ -static long baud_convert[] = { - 1200, 50, 75, 110, 135, 150, 200, 300, 600, 1200, - 1800, 2400, 4800, 9600, 19200, 38400, 57600, 76800, - 115200, 153600, 230400, 307200, 460800, 921600 - }; +static long baud_convert[] = { + 1200, 50, 75, 110, 134, 150, 200, 300, 600, 1200, + 1800, 2400, 4800, 9600, 19200, 38400, 57600, 76800, + 115200, 153600, 230400, 307200, 460800, 921600, + 1000000, 1152000, 1500000, 2000000, 2500000, + 3000000, 3500000, 4000000 +}; static char isfilter = 0; static int _chk_trm(void); |