summaryrefslogtreecommitdiff
path: root/usr.bin/w/w.c
AgeCommit message (Expand)Author
2011-07-28Adjust for machdep.consdev -> kern.consdev sysctl change. This should restoreMark Kettenis
2011-04-26tyop in commentJasper Lievisse Adriaanse
2011-04-10Switch back from KERN_PROC2/kinfo_proc2 to KERN_PROC/kinfo_proc nowPhilip Guenthe
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2008-09-30Properly display files with embedded colons being xferred via ftd.Todd C. Miller
2005-07-20remove the -M and -N flags to uptime, they do nothing.Jared Yanovich
2005-04-11spacingTheo de Raadt
2004-09-14delete unused variableTheo de Raadt
2004-08-18- .Xr utmp 5Jason McIntyre
2004-01-08Convert to kinfo_proc2; ok deraadt@Todd C. Miller
2003-11-26Minor cleanup. Remove gratuitous use of __CONCAT that was neededTodd C. Miller
2003-06-03Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2002-09-17ansiTheo de Raadt
2002-06-08No need to be setgid kmem anymore.Angelos D. Keromytis
2002-02-19Fix gethostname() usage.Mike Pechkin
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
2001-07-12first pass at a -Wall cleanupTheo de Raadt
2001-05-30- Fix usagesmart
2001-01-31move utmp to large format, usernames to 32 chars; downsjTheo de Raadt
2000-12-23hostnames are case-insensitive; brianTheo de Raadt
2000-07-07or just use puts() insteadTheo de Raadt
2000-07-07heck, be more careful with printf here tooTheo de Raadt
1999-08-12Support -M and -N flags in uptime mode tooTodd C. Miller
1999-06-05use inet_aton()Theo de Raadt
1999-04-25Make ttystat() work correctly with strings that are not NUL-terminated.Todd C. Miller
1998-07-08whack kmem gid after kvm_openfiles()Theo de Raadt
1998-02-03usage line fix; pjanzen@foatdi.harvard.eduTheo de Raadt
1998-01-16Add rcsid tags.Todd C. Miller
1997-12-24No, we are not making our w command incompatibleTheo de Raadt
1997-12-243 letters for tty name; for ftpMichael Shalayeff
1997-07-25more to the point err. msg.kstailey
1997-07-25proper progname grokMichael Shalayeff
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
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
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-06-26rcsidTheo de Raadt
1996-05-30revoke privs before opening kvm if user has specified mem/kernel pathsTheo de Raadt
1996-04-21sync to netbsd 960418Theo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt