freebsd-dev/usr.bin/w
Peter Wemm 69b41093b5 Fix the annoying bug introduced in rev 1.18 that caused each line to be
one character shorter than the previous in a stairstep fashion when long
idle times were involved.

A couple of nits:
- spelling/typo fix.
- some of the easier style(9) fixes where it was bothering me.
- Handle 100+ days idle time (ha!).  Probably the right thing to do is
  to do a snprintf into a buffer and strlen the result rather than doing
  hackery on magic numbers.

XXX the wide (and mostly unused) username and tty columns annoy me since
it it could be used for more useful information for the command. We should
actually count the largest username and tty and adjust like 'ls -l' does.
1999-01-10 15:28:37 +00:00
..
extern.h Reduce the command field width by one when idle time is > 9 days, to 1997-02-11 10:49:25 +00:00
Makefile Install with default BINOWN (as it once used to be). 1995-04-15 03:31:19 +00:00
pr_time.c Fix the annoying bug introduced in rev 1.18 that caused each line to be 1999-01-10 15:28:37 +00:00
proc_compare.c BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00
uptime.1 Typo in usage(). Err -> errx when testing allocations. 1997-08-25 06:42:19 +00:00
w.1 Reword using who.1 as a good example of where to start. 1998-03-22 17:39:08 +00:00
w.c Fix the annoying bug introduced in rev 1.18 that caused each line to be 1999-01-10 15:28:37 +00:00