Commit Graph

48 Commits

Author SHA1 Message Date
roy 4060cbcd0c Use tiparm instead of vtparm. 2011-10-03 12:32:15 +00:00
joerg be0c033d10 ANSIfy. Sprinkle static and __dead. 2011-09-06 18:34:12 +00:00
njoly e65e925989 Fix typo in date. 2010-11-02 12:10:13 +00:00
roy eae295f613 We need to cap reset_file/init_file. 2010-02-10 10:34:59 +00:00
roy 8cfe7bba8c Tidy defs. 2010-02-10 10:34:31 +00:00
roy 416b512efb Constify cat argument and tidy. 2010-02-10 10:33:45 +00:00
roy 98eb889579 Userland now builds and uses terminfo instead of termcap.
OK: core@, jdc@
2010-02-03 15:34:37 +00:00
lukem 910d676151 Fix WARNS=4 issues (-Wcast-qual, -Wsign-compare) 2009-04-14 05:45:23 +00:00
joerg d23bde9aff Replace .br and .sp with .Pp for vertical spacing. 2009-03-10 01:53:30 +00:00
lukem 98e5374ccb Remove the \n and tabs from the __COPYRIGHT() strings.
Tweak to use a consistent format.
2008-07-21 14:19:20 +00:00
christos 0ced32c669 Rename cat to tset_cat so that coverity does not get confused by the global
name.
2006-05-01 23:18:37 +00:00
christos 1af32ba03a Coverity CID 1566: fix memory leak. 2006-04-30 23:54:40 +00:00
chs dc8f6bbd12 pass data to a function via arguments instead of via global variables.
this avoids a name collision with libcurses functions when both are
present in a crunched static binary.  part of PR 26458.
2004-09-01 01:46:28 +00:00
wiz 73045ab3f6 Add -E to usage; use getprogname(). From Kouichirou Hiratsuka in PR 26281. 2004-07-23 13:35:22 +00:00
wiz ce7465482b Sort options. From Kouichirou Hiratsuka in PR 26281. 2004-07-23 13:35:02 +00:00
agc 89aaa1bb64 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22365, verified by myself.
2003-08-07 11:13:06 +00:00
perry 8a49ec08e4 "Utilize" has exactly the same meaning as "use," but it is more
difficult to read and understand. Most manuals of English style
therefore say that you should use "use".
2003-02-04 23:07:28 +00:00
grant be8ae688ae New sentence, new line. 2002-09-30 11:08:56 +00:00
ross 2a76afae02 Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:36:18 +00:00
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