he
92c0ed8788
The nusers variable is actually a size_t, so print with %zd, not %d.
2005-10-01 13:33:21 +00:00
wiz
57f7dd924d
Sort option descriptions. Use more macros. New sentence, new line.
...
Add missing .El.
2005-10-01 00:03:47 +00:00
christos
ae3dca21e8
Patches from Liam Foy to:
...
- Use realloc instead of allocating 1000 structures.
- Remove NUSERS nonsense. If this is kept, shouldn't
who(1) comply with it too?
- Be consistent with who(1). Add two identical options
from who(1). These are -q and -H.
- General Cleans:
- Move globals into local scope
- Re-write a macro to remove an uneccessary
variable.
- Use UT_NAMESIZE.
- Remove unecessary header etc.
And from me, KNF, pass lint.
2005-09-30 17:58:24 +00:00
wiz
2f0ee62bbb
According to rwhod(8), file names are actually /var/rwho/whod.*
2005-09-12 18:35:32 +00:00
wiz
3c0c4bb078
Fix typos in file names. From YOMURA Masanori in private mail.
2005-09-11 23:23:56 +00:00
agc
89aaa1bb64
Move UCB-licensed code from 4-clause to 3-clause licence.
...
Patches provided by Joel Baker in PR 22365, verified by myself.
2003-08-07 11:13:06 +00:00
grant
be8ae688ae
New sentence, new line.
2002-09-30 11:08:56 +00:00
wiz
62741901ca
add section to xref.
2001-04-04 09:44:08 +00:00
mjl
f40dea5772
Add a setlocale() call and use strftime().
...
Use err() instead of fprintf + exit.
Check for extraenous arguments and complain.
ANSIfy.
2000-09-06 12:13:48 +00:00
tron
ab40c54610
Use full hostnames when sorting rwho database entries. Fixes PR bin/8401
...
by John Darrow.
1999-09-20 20:35:43 +00:00
garbled
9e44e9b578
More and more .Os cleanups. .Os is defined in the tmac.doc-common file,
...
so we shouldn't override it with versions in the manpages. Many more to
come.
1999-03-22 18:16:34 +00:00
christos
377fe973b8
include <fcntl.h> for O_RDONLY, and remove decls of optind and optarg.
1998-12-19 21:52:00 +00:00
kleink
0a87884eba
Need <time.h> for time() and ctime() prototypes.
1998-04-02 11:00:10 +00:00
mrg
57417153bd
WARNSify
1997-10-19 15:03:06 +00:00
lukem
568259857e
WARNSify, fix .Nm usage
1997-10-19 14:34:08 +00:00
cgd
d15724228e
print out a
...
rwho: no hosts in /var/rwho.
message like ruptime does, for consistency. (Similarly, exit with exit
code 0, though i'm not sure that's "correct" for either.)
1997-03-08 23:08:28 +00:00
tls
9d225a1783
RCS ID police
1997-01-09 20:18:21 +00:00
tls
8292047440
Sync to 4.4BSD-Lite2
1997-01-09 15:33:42 +00:00
cgd
32411917b3
pull in string.h
1994-12-24 17:38:21 +00:00
jtc
a3881ff7a8
Use <dirent.h> instead of <sys/dir.h>.
1993-12-04 01:49:05 +00:00
jtc
1ace33786c
Add "SEE ALSO" cross references.
...
rwho was changed so a host is considered "down" if it hasn't sent a
response in 11 minutes (it used to be 5) but the manpage was never
updated.
1993-09-16 01:50:33 +00:00
mycroft
e9d867ef50
Add RCS identifiers.
1993-08-01 17:54:45 +00:00
mycroft
c3e42d1c64
Add RCS indentifiers.
1993-08-01 07:22:47 +00:00
mycroft
75ff3a90bd
Add RCS identifiers.
1993-07-30 23:49:23 +00:00
cgd
e541169ce2
after 0.2.2 "stable" patches applied
1993-03-21 18:04:42 +00:00