freebsd-dev/usr.bin/w
Brian Somers 5b718312b7 When -n is specified, don't attempt to turn hostnames found in utmp
into addresses as we have no idea what address family they belong to.

When -n is not specified, resolve IPv6 as well as IPv4 addresses found
in the host field of utmp.  Use realhostname_sa() to resolve addresses
(the old code was wrong).

Rename ``x'' to ``x_suffix'' to avoid confusion.

Hard code the host column width to 16 (against the imminent increase
of UT_HOSTSIZE in utmp.h).
2001-07-26 19:20:13 +00:00
..
extern.h Use AM/PM time only when available in locale 2001-03-02 23:11:38 +00:00
Makefile When -n is specified, don't attempt to turn hostnames found in utmp 2001-07-26 19:20:13 +00:00
pr_time.c Fix width for printing time 2001-03-21 21:49:33 +00:00
proc_compare.c Compensate for header dethreading. 2001-05-01 08:46:02 +00:00
uptime.1 Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
w.1 When -n is specified, don't attempt to turn hostnames found in utmp 2001-07-26 19:20:13 +00:00
w.c When -n is specified, don't attempt to turn hostnames found in utmp 2001-07-26 19:20:13 +00:00