Commit Graph

15 Commits

Author SHA1 Message Date
Poul-Henning Kamp
d030d2d2ae Many places in the code NULL is used in integer context, where
plain 0 should be used.  This happens to work because we #define
NULL to 0, but is stylistically wrong and can cause problems
for people trying to port bits of code to other environments.

PR:		2752
Submitted by:	Arne Henrik Juul <arnej@imf.unit.no>
1997-09-18 14:08:40 +00:00
Philippe Charnier
71346dd104 Use err(3) insteadof local redefinition. Sync usage string with man page. 1997-08-18 07:27:59 +00:00
Warner Losh
1c8af87873 compare return value from getopt against -1 rather than EOF, per the final
posix standard on the topic.
1997-03-29 04:34:07 +00:00
Andrey A. Chernov
cc3c7e3860 Remove _set_ospeed, done in tgetent now. 1995-08-05 21:33:11 +00:00
Andrey A. Chernov
eba2820db2 Change outc to match prototype 1995-08-04 06:45:55 +00:00
Andrey A. Chernov
252f47a817 Make tset works with non-fixed termios speeds too.
Eliminate ospeed switch using new _set_ospeed function
1995-08-04 06:44:54 +00:00
Andrey A. Chernov
8868bb111b Fix false backspace reporting 1995-05-14 22:46:15 +00:00
Andrey A. Chernov
9a8677a158 Fix erase determination code: don't look at
system defaults which is always the same
1995-03-27 03:42:21 +00:00
Andrey A. Chernov
2bf7ffc485 Set given term name exactly, not first name from termcap entry.
It helps for rlogin/telnet to another systems without our termcap
1994-11-07 20:26:35 +00:00
Andrey A. Chernov
433c849296 Back out ospeed change 1994-10-06 21:07:55 +00:00
Andrey A. Chernov
0c51086916 PC/ospeed code ifdefed out, our libtermcap use usleep now 1994-10-06 20:41:56 +00:00
Andrey A. Chernov
01fa95f2b7 Back out 'not choose first (two-letter) name' fix, all two-letter names
already removed from 4.4 termcap
1994-09-15 00:35:50 +00:00
Andrey A. Chernov
d2b6c8e037 Speed matching code never successful, because ospeed range is [0..17]
but termios speed range is [0..115200]. Of cource ospeed initialized
with wrong value too which cann affects terminals with padding, fixed.
57600,115200 added.
1994-09-09 03:11:15 +00:00
Andrey A. Chernov
28fccc1749 Use second terminal name instead of obsoleted and duplicated
first two-letter names (from 1.1.5.1)
1994-09-09 02:39:24 +00:00
Rodney W. Grimes
9b50d90275 BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00