Commit Graph

36 Commits

Author SHA1 Message Date
ed
b2f1332428 ANSIfy various tools in usr.bin/.
Most of these tools properly build at WARNS=6, except for their K&R
function declarations. Fix this, so we can bump WARNS as well.
2010-01-02 10:09:20 +00:00
ru
36bb745cb0 Fix markup. 2006-12-28 04:58:38 +00:00
ru
6cc4b6c220 Added the EXIT STATUS section where appropriate. 2005-01-17 07:44:44 +00:00
johan
3fcc723a46 Bump document date for the 'beep only' change. 2002-08-16 03:08:25 +00:00
ru
d5054e6434 mdoc(7) police: nits. 2002-08-14 11:05:40 +00:00
robert
aa7e4582e3 style(9): - Put a space after the 'return' keyword.
- Wrap lines longer than 80 characters.
2002-07-24 18:54:59 +00:00
robert
a0562d2132 Use an ANSI-C function definition rather than a
K&R one to avoid a warning.
2002-07-24 18:39:51 +00:00
robert
6eea4ee200 - Add a COMPATIBILITY section explaining that the default
behaviour of obtaining the affected terminal has changed.
 - Refer to the user's terminal instead of the current
   terminal session.
 - Tell the reader what the utility does when it is invoked
   without arguments.

Submitted by:		johan
2002-07-24 18:37:22 +00:00
robert
6edce70ffe Allow selection of the affected terminal using redirection
of standard input or standard output, like mesg(1) does.

Suggested by:	sheldonh
2002-07-24 15:48:17 +00:00
johan
9f194c6b43 Only use one %s when there is only one argument to print.
Submitted by:	keramida
Approved by:	sheldonh (mentor)
2002-07-21 15:11:32 +00:00
johan
784b48a6bb Add ability to only beep when mail arrives.
comsat:
        only send two bell charecters if S_IXGRP is set and S_IXUSR is not.

biff:
        add new option 'b' to set S_IXGRP.

PR:             10931
Submitted by:   Andrew J. Korty <ajk@purdue.edu>
Approved by:    sheldonh (mentor)
MFC after:      1 month
2002-07-09 02:16:49 +00:00
johan
f271ae2de5 Add DIAGNOSTICS section to describe exit values.
Approved by:    sheldonh (mentor)
MFC after:      1 week
2002-07-09 02:13:26 +00:00
charnier
a07fb1cc07 Use `The .Nm utility' 2002-04-19 23:44:58 +00:00
imp
74d826c7a6 remove __P 2002-03-22 01:22:50 +00:00
mike
4a18afa329 Add header to prototype exit(3). Fix a style bug. 2002-02-16 09:25:49 +00:00
markm
ae2558974f Remove leaf node WARNS?=2 (that mainly I added). This should
help the GCC3 transition and CURRENT in general.
2002-02-08 22:31:43 +00:00
charnier
cc22344fd1 Start option definition with: ``The following options are available''
Use .Ev for env variables.
Remove unused #includes, and sort others.
2001-12-12 18:22:09 +00:00
dwmalone
d9613ea383 Style improvements recommended by Bruce as a follow up to some
of the recent WARNS commits. The idea is:

1) FreeBSD id tags should follow vendor tags.
2) Vendor tags should not be compiled (though copyrights probably should).
3) There should be no blank line between including cdefs and __FBSDIF.
2001-12-10 21:13:08 +00:00
markm
518bba4cc1 Use __FBSDID(). 2001-12-03 01:15:28 +00:00
dd
911ca14c87 Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
ru
36f138439b mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 14:16:33 +00:00
dd
fdda055e00 Set WARNS=2 on programs that compile cleanly with it; add $FreeBSD$
where necessary.

Submitted by:	Mike Barcroft <mike@q9media.com>
2001-06-30 05:39:36 +00:00
mikeh
3f5e632ad1 Use S_IXUSR instead of hardcoded values.
Reviewed by:	md5
2001-06-02 03:10:07 +00:00
ru
0d1334ca0c mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
kris
cbf1c5013e Don't call err() with no format string. 2000-07-10 08:42:58 +00:00
sheldonh
49c4458c80 Remove single-space hard sentence breaks. These degrade the quality
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.
2000-03-01 12:20:22 +00:00
hoek
0a4037f637 Slay a grammar gremlin. 1999-09-01 20:25:44 +00:00
peter
3b842d34e8 $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
archie
167c036e91 Tweaks to allow compiling -Wall (mostly adding "const" to char rcsid[]). 1998-12-06 22:58:23 +00:00
alex
005e82d0d4 -Wall cleanup. 1997-12-29 00:09:06 +00:00
charnier
514c793c39 Typo fix in man page. Use err(3) instead of local copy. 1997-06-23 06:45:38 +00:00
imp
141381e1cb 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
peter
f390c26dd9 Revert $FreeBSD$ to $Id$ 1997-02-22 19:58:13 +00:00
jkh
808a36ef65 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
wosch
2c0fe88c09 documented that the dog Biff is dead
Obtained from: A Quarter Century of UNIX, Peter H. Salus
1996-08-03 14:25:02 +00:00
rgrimes
f9ab90d9d6 BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00