Commit Graph

37 Commits

Author SHA1 Message Date
Brooks Davis
80189b3b09 Replace all uses of libncurses and libtermcap with their wide character
variants.  This allows usable file system images (i.e. those with both a
shell and an editor) to be created with only one copy of the curses library.

Exp-run:	antoine
PR:		189842
Discussed with:	bapt
Sponsored by:	DARPA, AFRL
2014-07-17 18:24:34 +00:00
Joel Dahl
da52b4caaf 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
Xin LI
821df508e8 Revert most part of 200420 as requested, as more review and polish is
needed.
2009-12-13 03:14:06 +00:00
Xin LI
6f2d322192 Remove unneeded header includes from usr.bin/ except contributed code.
Tested with:	make universe
2009-12-11 23:35:38 +00:00
Ruslan Ermilov
82a6e39b28 At least one argument is required. 2006-10-12 21:10:55 +00:00
Ruslan Ermilov
0227791b40 Expand *n't contractions. 2005-02-13 22:25:33 +00:00
Ruslan Ermilov
a866e17077 Added the EXIT STATUS section where appropriate. 2005-01-17 07:44:44 +00:00
Ruslan Ermilov
6a3e8b0adc Mechanically kill hard sentence breaks. 2004-07-02 22:22:35 +00:00
Philippe Charnier
122ccb43be command -> utility. Add section number to .Xr 2003-06-08 14:38:02 +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
Tim J. Robbins
fc3b416102 Sort sections. 2002-06-15 08:41:12 +00:00
Tim J. Robbins
2533f1e42a Use the Cm macro for the clear, init, reset and longname operands. 2002-06-14 15:16:03 +00:00
Tim J. Robbins
e6da78f41d Adjust the exit status to conform to SUSv3 and document the fact it takes
multiple `argument' operands.
2002-06-14 15:08:05 +00:00
Andrey A. Chernov
86a7fd100f Skip %pN comes from ncurses
PR:		15418
2002-06-03 10:44:39 +00:00
Warner Losh
3f330d7d1a remove __P 2002-03-22 01:42:45 +00:00
Kris Kennaway
c698668189 Silence some WFORMAT=1 warnings 2002-02-04 02:37:09 +00:00
Mark Murray
34ec24f029 WARNS=2 fixes, use __FBSDID(). 2001-12-11 23:39:38 +00:00
Ruslan Ermilov
2909f5cf21 mdoc(7) police: sort xrefs. 2001-08-07 13:41:38 +00:00
Mike Pritchard
b21b2f313e Fix some man page xrefs.
PR:		docs/26065
MFC after:	1 week
2001-07-22 11:51:11 +00:00
Dima Dorfman
f247324df7 Remove whitespace at EOL. 2001-07-15 08:06:20 +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
7a19d1bbb9 Include missing header files which define functions for which gcc has
builtins (e.g., exit, strcmp).
2001-06-24 19:50:42 +00:00
Ruslan Ermilov
b9ad8c8635 beforeinstall -> SCRIPTS. 2001-04-07 11:21:35 +00:00
Ruslan Ermilov
9b88faecd3 Prepare for mdoc(7)NG. 2000-12-19 16:00:12 +00:00
Warner Losh
62f882d620 getopt and friends are declared in <unistd.h>
getopt returns -1 not EOF.
2000-09-04 06:09:54 +00:00
Peter Wemm
c3aac50f28 $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
Mike Pritchard
a684cccdd6 Some man page cleanup. Make the NAME and SYNOPSIS sections agree so
that whatis(1) will produce the expected results.

Pointed-out-by: Jesus Monroy <jesus.monroy@usa.net> in freebsd-doc
1999-06-24 06:22:24 +00:00
John-Mark Gurney
93e0d62d1c `appears'' -> `appeared'' (closes PR#3393, Submitted-by: Josh Gilliam)
add missing Id's
other minor clean ups
1997-04-27 08:45:46 +00:00
John-Mark Gurney
75ce49d645 add comment about the brokeness of some termcap entires that require a
`%' to be just that...

make tput just warn about an unknown type modifier instead of breaking...
this allows you to `tput init' on a tek4107...
1997-04-02 10:27:27 +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
Wolfram Schneider
65d758c4cb ${DESTDIR}/usr/bin -> ${DESTDIR}${BINDIR} 1997-02-02 14:41:43 +00:00
Andrey A. Chernov
cc3c7e3860 Remove _set_ospeed, done in tgetent now. 1995-08-05 21:33:11 +00:00
Andrey A. Chernov
ce2219545f Replace ospeed switch with _set_ospeed 1995-08-04 07:04:40 +00:00
Bruce Evans
9c0dc173cc Change install' to ${INSTALL}' so that default install flags can be
specified in the top level Makefiles.
1995-07-25 00:37:58 +00:00
Andrey A. Chernov
d2ee1a1856 Fix includes, tputs argument, ospeed setting, printing
attributes started with 'l'
1994-12-12 06:14:42 +00:00
David Greenman
ffaf90b1ec Fixed warnings about prototype mismatch by eliminating outc routine
and calling putchar directly.
1994-09-23 09:59:11 +00:00
Rodney W. Grimes
9b50d90275 BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00