summaryrefslogtreecommitdiff
path: root/usr.bin/w/w.c
AgeCommit message (Expand)Author
2016-03-19if -a is specified, allow "dns" in pledge requests.Theo de Raadt
2015-10-23With new pledge "ps" and "vminfo" requests, ps/top/w become possible.Theo de Raadt
2015-08-31calculate screen size way earlier, this will provide some opportunitiesTheo de Raadt
2015-03-15tzfile.h is an internal header that should never have been installed.Todd C. Miller
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2014-07-08Cannot find a reason for this to need machine/cpu.hTheo de Raadt
2014-07-04Track whether a process is a zombie or not yet fully built via flagsPhilip Guenther
2013-11-20str derives from argv; so use an unsigned char cast for isspace()Theo de Raadt
2013-10-31sometimes we find .h we no longer needTheo de Raadt
2013-08-22Correct format string mismatches turned up by -Wformat=2Philip Guenther
2012-06-24Fix comment. Pointed out by Seth Wright (seth at crosse.org)Philip Guenthe
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