Commit Graph

21 Commits

Author SHA1 Message Date
joel
29af67e52c Remove the advertising clause from UCB copyrighted files in usr.bin. This
is in accordance with the information provided at
ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change

Also add $FreeBSD$ to a few files to keep svn happy.

Discussed with:	imp, rwatson
2010-12-11 08:32:16 +00:00
delphij
f8bfec1fb2 Remove unnecessary termcap.h includes inherited from extern.h and other
unneeded headers.  While I'm there, make function definations ANSI
prototypes.
2009-12-11 23:30:22 +00:00
dwmalone
b4339b74ad ANSIify function definitions.
Add some constness to avoid some warnings.
Remove use register keyword.
Deal with missing/unneeded extern/prototypes.
Some minor type changes/casts to avoid warnings.

Reviewed by:	md5
2002-09-04 23:29:10 +00:00
imp
0b20191705 remove __P 2002-03-22 01:42:45 +00:00
markm
279222ba62 WARNS=2 fixes, use __FBSDID(). 2001-12-11 23:29:45 +00:00
dd
7894e59b7f Nuke unused variables. 2001-06-24 23:41:57 +00:00
dg
3d05ea1832 Changed variable killchar to killch and erasechar to erasech to avoid
a name clash with the library functions of the same name (in libncurses).
This problem was masked when building tset shared (the local symbols had
precedence), but caused tset to core dump when it was built -static.
2000-11-11 23:03:38 +00:00
peter
c87e1a3786 Take a shot at making this work under termcap/terminfo ncurses. It
cheats a bit by accessing the termcap string buffer.  A better solution
is needed.
1999-08-30 08:27:31 +00:00
peter
3b842d34e8 $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
charnier
546d7b7b78 Use err(3) insteadof local redefinition. Sync usage string with man page. 1997-08-18 07:27:59 +00:00
imp
141381e1cb 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
ache
b5d2d54dc4 Remove _set_ospeed, done in tgetent now. 1995-08-05 21:33:11 +00:00
ache
53823cfb2c 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
ache
5999b41035 Fix false backspace reporting 1995-05-14 22:46:15 +00:00
ache
4d684eab18 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
ache
b9225ed246 Back out ospeed change 1994-10-06 21:07:55 +00:00
ache
d5d42820e0 PC/ospeed code ifdefed out, our libtermcap use usleep now 1994-10-06 20:41:56 +00:00
ache
3b5314a35c 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
ache
b67f029f02 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
ache
aebfcd0c1d 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
rgrimes
f9ab90d9d6 BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00