Xin LI
e87862f53a
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
Philippe Charnier
a8cf0aaf75
Reduce compiler warning: variable might be used uninitialized, by giving
...
an initial value.
2005-05-29 15:49:53 +00:00
Ruslan Ermilov
0227791b40
Expand *n't contractions.
2005-02-13 22:25:33 +00:00
Ruslan Ermilov
6c7216df78
Sort sections.
2005-01-18 13:43:56 +00:00
Ruslan Ermilov
6a3e8b0adc
Mechanically kill hard sentence breaks.
2004-07-02 22:22:35 +00:00
Philippe Charnier
6a1be1f51b
Add section number to .Xr
2003-06-08 13:58:08 +00:00
Jens Schweikhardt
9d5abbddbf
Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup,
...
especially in troff files.
2003-01-01 18:49:04 +00:00
David Malone
f4ac32def2
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
Juli Mallett
47bca8b02c
Clean up malloc(3)'s argument. Remove casts which do nothing when we're
...
using sizeof() anyway. Use slightly more consistent (per-file) error
reporting for malloc(3) returning NULL. If "malloc failed" was being printed,
don't use err(3). If a NULL format is being used, use err(3). In one case
errx(3) was being used with strerror(3), so just use err(3).
2002-05-17 05:11:07 +00:00
Philippe Charnier
e8937ba009
Use `The .Nm utility'
2002-04-20 12:18:28 +00:00
Warner Losh
3f330d7d1a
remove __P
2002-03-22 01:42:45 +00:00
Mark Murray
defd4957cc
WARNS=2 fixes, use __FBSDID().
2001-12-11 23:29:45 +00:00
Ruslan Ermilov
753d686d34
mdoc(7) police: s/BSD/.Bx/ where appropriate.
2001-08-14 10:01:54 +00:00
Ruslan Ermilov
625003720a
mdoc(7) police: removed HISTORY info from the .Os call.
2001-07-10 14:16:33 +00:00
Dima Dorfman
7309915e7a
Nuke unused variables.
2001-06-24 23:41:57 +00:00
Ruslan Ermilov
9b88faecd3
Prepare for mdoc(7)NG.
2000-12-19 16:00:12 +00:00
Ruslan Ermilov
8fe908ef0c
mdoc(7) police: use the new features of the Nm macro.
2000-11-20 19:21:22 +00:00
David Greenman
e61715de39
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
Ruslan Ermilov
726b61ab5f
Avoid use of direct troff requests in mdoc(7) manual pages.
2000-11-10 17:46:15 +00:00
Peter Wemm
18bfeb3d34
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 Wemm
c3aac50f28
$Id$ -> $FreeBSD$
1999-08-28 01:08:13 +00:00
Nik Clayton
3be5f1f5ce
Add $Id$, to make it simpler for members of the translation teams to
...
track.
The $Id$ line is normally at the bottom of the main comment block in the
man page, separated from the rest of the manpage by an empty comment,
like so;
.\" $Id$
.\"
If the immediately preceding comment is a @(#) format ID marker than the
the $Id$ will line up underneath it with no intervening blank lines.
Otherwise, an additional blank line is inserted.
Approved by: bde
1999-07-12 20:24:20 +00:00
Bill Fumerola
9ef5c48bef
Clean up some ambiguous nested if/elses.
1999-07-04 17:26:16 +00:00
Mike Pritchard
aee054de4a
Add the 'reset' command to the NAME section.
...
Pointed-out-by: Jesus Monroy <jesus.monroy@usa.net> in freebsd-doc
1999-06-24 04:48:41 +00:00
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