Commit Graph

29 Commits

Author SHA1 Message Date
is 135600f947 More format string cleanup by sommerfeld. 2000-10-11 14:46:00 +00:00
simonb b267c1fb26 If there is no "set column" capability, don't try to use the "cursor
set" capability - just use the last-resort of using spaces.  Fixes the
``problem'' where "tset -Q" would move the cursor to the 24th line of an
xterm irrespective of where the cursor was before tset was run.
2000-06-07 13:21:43 +00:00
simonb d06abde2e6 Set "lines" and "columns" if ioctl(TIOCGWINSZ) returns something useful. 2000-06-07 13:18:36 +00:00
blymn 8500b4e751 Make emitting the full termcap entry an option otherwise csh breaks. 2000-05-31 05:50:05 +00:00
blymn 3aa87ff1a0 Make tset export the entire termcap entry. 2000-05-25 12:53:55 +00:00
kleink ece19a5225 Report disabled control characters as <undef> (like stty(1) does); fixes
PR bin/9019 from SAKAI Atsushi <a-sakai@echo.nuee.nagoya-u.ac.jp>.
1999-12-20 14:36:11 +00:00
drochner 85cbf55d16 Since our gcc doesn't warn about NULL format strings anymore, we can
fix the incorrect err(1, "%s", "") et al.
Closes PR bin/7592 by cgd.
1999-11-09 15:06:30 +00:00
lukem 88d3d7c59e update after change to return value of tputs() third argument 1999-10-04 23:26:59 +00:00
garbled 9e44e9b578 More and more .Os cleanups. .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages.  Many more to
come.
1999-03-22 18:16:34 +00:00
christos af1827b7df char -> unsigned char 1998-12-19 23:19:45 +00:00
ross f670fa10c5 Add { and } to shut up egcs. Reformat the more questionable code. 1998-08-25 20:59:36 +00:00
mycroft b223acf69a const poisoning. 1998-07-26 23:03:30 +00:00
perry 34a98169f0 macroize BSD, NetBSD, FreeBSD and misc cleanup 1998-02-06 05:54:12 +00:00
mrg 9f84449ae5 add missing .Nm sections. 1997-11-11 14:39:59 +00:00
lukem bfd39f4ab1 getopt returns -1 not EOF, use <err.h>, use ANSI string.h functions 1997-10-20 01:07:48 +00:00
lukem 2aa5d6b785 WARNSify, use <termcap.h> 1997-10-14 02:07:55 +00:00
pk b55c3729fe NULL => 0 (Arne Juul; PR#3629) 1997-05-17 20:09:26 +00:00
lukem d417f09e65 - clean up man page
- don't allow quotes in terminal names (for -s and -S) as they confuse
  the shell. whitespace is currently forbidden for the same reason.
  as there isn't any orthoganol way of escaping this, forbid it all,
  which makes [bin/306] unfixable.
- use str(r)char instead of (r)index
1996-11-15 05:52:42 +00:00
jtc fb937a59e4 Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
1994-12-07 05:08:04 +00:00
cgd ff01ffc7d8 don't clobber CLOCAL. gah, that could be fun: log in on a line that
needs clocal, use 'reset' to fix your screen after a raw mode muckup,
and there goes your clocal...
1994-03-13 14:29:34 +00:00
cgd 39cfbff074 complete fix for the 'reset' problems, based on patch sent by
vdlinden@fwi.uva.nl (Frank van der Linden).
1994-02-27 03:41:30 +00:00
mycroft 10d825f2df Frank van der Linden <vdlinden@fwi.uva.nl> reported that tset could not handle
baud rates of 57600 and 115200.  Just eliminate the explicit baud rate checking
altogether and use atoi().
1993-12-02 22:42:50 +00:00
mycroft e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
mycroft c3e42d1c64 Add RCS indentifiers. 1993-08-01 07:22:47 +00:00
mycroft 75ff3a90bd Add RCS identifiers. 1993-07-30 23:49:23 +00:00
cgd 8d5826635d bring in getcap routines, supplied by CSRG, from 4.4... 1993-05-18 07:37:51 +00:00
mycroft ca38c8eafb Fix NULL pointer reference. 1993-04-28 07:17:18 +00:00
proven 8a763302fe Fixed minor bug where a ^D at the terminal type prompt caused an infinite loop. 1993-04-09 21:36:14 +00:00
cgd dab5e017db added, from net/2 (patch 124). 1993-04-09 12:58:42 +00:00