Commit Graph

24 Commits

Author SHA1 Message Date
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
759484bacd Use getopt() to reject any options and skip "--" arguments. 2002-05-29 13:14:51 +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
David Malone
421dfbcfdd 1) Move FreeBSD tag to after vendor ID, #if 0 vendor ID.
2) Add missing include of stdlib.h for exit(), spotted by gcc3.
2002-02-27 14:40:09 +00:00
Mark Murray
9ba3a235b1 WARNS=2 fixes, use __FBSDID(), kill register keyword. 2001-12-11 22:34:38 +00:00
Ruslan Ermilov
fc414536e7 Add xref to wall(1).
PR:		docs/32128
Submitted by:	Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> (partially)
2001-11-20 15:39:58 +00:00
Ruslan Ermilov
8fe908ef0c mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
Peter Wemm
c3aac50f28 $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
Bill Fumerola
9ef5c48bef Clean up some ambiguous nested if/elses. 1999-07-04 17:26:16 +00:00
Andrey A. Chernov
fe38e2f8f4 Allow backspace too 1997-09-15 00:42:04 +00:00
Andrey A. Chernov
07484d1f24 Oops, fix upper controls test 1997-09-15 00:17:38 +00:00
Andrey A. Chernov
77caf2118f Localize it. High controls disabled in any case.
Shut compiler warning about signal argument.
PR: 4466
1997-09-15 00:08:19 +00:00
Philippe Charnier
29909ffecc Use err(3). Add usage() and prototypes. 1997-08-26 11:23:37 +00:00
Mike Pritchard
0b6f152321 Remove the text that says nroff and pr automatically disable
writing to the tty while they are running because they don't.
1997-03-22 17:19:32 +00:00
Peter Wemm
c115df18cd Revert $FreeBSD$ to $Id$ 1997-02-22 19:58:13 +00:00
Jordan K. Hubbard
1130b656e5 Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
Alexander Langer
0adcbd83f1 Replace hardcoded length of "/dev/" with strlen(_PATH_DEV).
Pointed out by:	bde
1996-10-26 15:29:24 +00:00
Alexander Langer
2d754ac864 sprintf --> snprintf
Use _PATH_DEV instead of hard coded "/dev/"

Obtained from:	OpenBSD, Jason Downs <downsj@OpenBSD.ORG>
1996-10-26 04:08:57 +00:00
Wolfram Schneider
b8923d4cc0 [HISTORY] command appeared in Version 1 AT&T UNIX
Obtained from: A Quarter Century of UNIX, Peter H. Salus, page 41
1996-08-29 18:06:19 +00:00
Andrey A. Chernov
dbc57b8da7 Do unctrl in right way
Handle '\377' properly
1995-11-05 09:02:10 +00:00
Andrey A. Chernov
b6c671c7ba Remove char->int promotion.
Fix uncontrol function for 8bit chars.
1995-10-29 10:33:26 +00:00
Andrey A. Chernov
ee15822acd Now works with 8bit chars... 1995-10-28 22:48:27 +00:00
Rodney W. Grimes
9b50d90275 BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00