summaryrefslogtreecommitdiff
path: root/usr.bin/w
AgeCommit message (Collapse)Author
1999-08-12Support -M and -N flags in uptime mode tooTodd C. Miller
1999-07-09- remove all trailing whitespaceAaron Campbell
* except when it is escaped with a `\' at the end of the line - fix remaining .Nm usage as well - this is from a patch I received from kwesterback@home.com, who has been working on some scripts for fixing formatting errors in mdoc'd man pages Ok, so there could be a cost/benefit debate with this commit, but since I have the patch we might as well commit it...
1999-06-05use inet_aton()Theo de Raadt
1999-06-05- remove trailing white spaceAaron Campbell
- remove arguments from .Os macros - remove arguments from .Nm macros, where appropriate - some more Dq/Sq/Ql insanity - still lots to do in the usr.bin tree... :/
1999-04-25Make ttystat() work correctly with strings that are not NUL-terminated.Todd C. Miller
If ut_line begins with "ftp" copy the pid into a temp buffer before the strol() since ut_line may not be NUL-terminated.
1998-10-30usr.bin/ man page fixes, t-zAaron Campbell
1998-07-08whack kmem gid after kvm_openfiles()Theo de Raadt
1998-03-23nicer headerTheo de Raadt
1998-02-03usage line fix; pjanzen@foatdi.harvard.eduTheo de Raadt
1998-01-16Add rcsid tags.Todd C. Miller
If program has set argv[0] or argv[0][0] to NUL, print p->p_comm instead. Based on patch from Paul Janzen <pjanzen@foatdi.harvard.edu>
1997-12-24No, we are not making our w command incompatibleTheo de Raadt
1997-12-243 letters for tty name; for ftpMichael Shalayeff
1997-09-21$OpenBSD$Theo de Raadt
1997-07-25more to the point err. msg.kstailey
1997-07-25proper progname grokMichael Shalayeff
proper printing for uptime < 1min
1997-05-30shorterTheo de Raadt
1997-05-30if less than 60 secs of uptime, say soTheo de Raadt
1997-04-01Slightly better fix. This one is explicately bounded by UT_HOSTSIZE.Todd C. Miller
1997-03-30NetBSD PR #3399: Avoid overflowing in ut_host into ut_time (bounds check). ↵Todd C. Miller
Fix from Tatoku Ogaito
1997-03-25ensure strftime buf has NUL; yokota@freebsdTheo de Raadt
1997-03-25ensure strftime buf has NUL; yokota@freebsdTheo de Raadt
1997-02-19Change usage() so it shows the right line arguments.Angelos D. Keromytis
1997-01-15getopt(3) returns -1 when out of args, not EOF, whee!Todd C. Miller
1997-01-10UNIX3.0 -> 3.0BSD in history sectionkstailey
1996-12-22Deal with _POSIX_SAVED_IDS when relinquishing privilegesThorsten Lockert
1996-08-22header glitch if system up < 1 minute; from mouse@Collatz.McRCIM.McGill.EDUTheo de Raadt
1996-08-22deal with argument snipTheo de Raadt
1996-08-22Slightly better.Jason Downs
1996-08-22Handle ftp entries better.Jason Downs
1996-08-12invert -n into -a; default is no gethostbyaddr()Theo de Raadt
1996-08-06_POSIX2_LINE_MAX errbuf for kvm_openfiles()Theo de Raadt
1996-07-13handle >9 daysTheo de Raadt
1996-07-08kernel is /bsd, os is OpenBSDccappuc
1996-06-26rcsidTheo de Raadt
1996-06-17count daysTheo de Raadt
1996-06-17print days correct; also deal with today correctly, netbsd pr#2534, ↵Theo de Raadt
tacha@tera.fukui-med.ac.jp
1996-05-30revoke privs before opening kvm if user has specified mem/kernel pathsTheo de Raadt
1996-05-24fix a typoTheo de Raadt
1996-05-19do not print "1days" in idle fieldTheo de Raadt
1996-04-21sync to netbsd 960418Theo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt