Commit Graph

18 Commits

Author SHA1 Message Date
Robert Drehmel
971b504bce style(9): - Put a space after the 'return' keyword.
- Wrap lines longer than 80 characters.
2002-07-24 18:54:59 +00:00
Robert Drehmel
4ca470d666 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 Drehmel
adf721d1cb 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 Karlsson
da2dc5cc61 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 Karlsson
7da9dccb66 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
Warner Losh
f1bb2cd2aa remove __P 2002-03-22 01:22:50 +00:00
Mike Barcroft
1a7fa91e8d Add header to prototype exit(3). Fix a style bug. 2002-02-16 09:25:49 +00:00
Philippe Charnier
b0a2f60daf 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
David Malone
9f5b04e925 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
Mark Murray
151aa6c35a Use __FBSDID(). 2001-12-03 01:15:28 +00:00
Mike Heffner
db72da7b83 Use S_IXUSR instead of hardcoded values.
Reviewed by:	md5
2001-06-02 03:10:07 +00:00
Kris Kennaway
cf6e06f240 Don't call err() with no format string. 2000-07-10 08:42:58 +00:00
Peter Wemm
c3aac50f28 $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
Archie Cobbs
fa146c5335 Tweaks to allow compiling -Wall (mostly adding "const" to char rcsid[]). 1998-12-06 22:58:23 +00:00
Alexander Langer
d7d1005304 -Wall cleanup. 1997-12-29 00:09:06 +00:00
Philippe Charnier
0676cb8945 Typo fix in man page. Use err(3) instead of local copy. 1997-06-23 06:45:38 +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
Rodney W. Grimes
9b50d90275 BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00