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
Makefile
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
uptime.1
w.1
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