History log of /freebsd-10-stable/usr.bin/tset/tset.c
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 216370 11-Dec-2010 joel

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


# 200419 11-Dec-2009 delphij

Remove unnecessary termcap.h includes inherited from extern.h and other
unneeded headers. While I'm there, make function definations ANSI
prototypes.


# 102944 04-Sep-2002 dwmalone

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


# 92922 21-Mar-2002 imp

remove __P


# 87701 11-Dec-2001 markm

WARNS=2 fixes, use __FBSDID().


# 78737 24-Jun-2001 dd

Nuke unused variables.


# 68617 11-Nov-2000 dg

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.


# 50638 30-Aug-1999 peter

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.


# 50477 27-Aug-1999 peter

$Id$ -> $FreeBSD$


# 28370 18-Aug-1997 charnier

Use err(3) insteadof local redefinition. Sync usage string with man page.


# 24360 29-Mar-1997 imp

compare return value from getopt against -1 rather than EOF, per the final
posix standard on the topic.


# 9941 05-Aug-1995 ache

Remove _set_ospeed, done in tgetent now.


# 9888 04-Aug-1995 ache

Make tset works with non-fixed termios speeds too.
Eliminate ospeed switch using new _set_ospeed function


# 8524 14-May-1995 ache

Fix false backspace reporting


# 4244 07-Nov-1994 ache

Set given term name exactly, not first name from termcap entry.
It helps for rlogin/telnet to another systems without our termcap


# 3397 06-Oct-1994 ache

Back out ospeed change


# 3390 06-Oct-1994 ache

PC/ospeed code ifdefed out, our libtermcap use usleep now


# 2774 14-Sep-1994 ache

Back out 'not choose first (two-letter) name' fix, all two-letter names
already removed from 4.4 termcap


# 2599 09-Sep-1994 ache

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.


# 2598 09-Sep-1994 ache

Use second terminal name instead of obsoleted and duplicated
first two-letter names (from 1.1.5.1)


# 1591 27-May-1994 rgrimes

This commit was generated by cvs2svn to compensate for changes in r1590,
which included commits to RCS files with non-trunk default branches.


# 1590 27-May-1994 rgrimes

BSD 4.4 Lite Usr.bin Sources