summaryrefslogtreecommitdiffstats
path: root/usr.bin/w/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Port w(1) to utmpx.ed2010-01-131-2/+2
| | | | | | | | | Let it print "-" when the TTY string is empty. In this case, it must also make sure it doesn't match processes who also have no controlling TTY. Otherwise it will print random kernel processes when trying to pick the best matching process. Eventually it should look at the value of ut_pid as well.
* This now passes a make universe with WARNS=6.dwmalone2010-01-071-2/+0
|
* Build usr.bin/ with WARNS=6 by default.ed2010-01-021-0/+2
| | | | Also add some missing $FreeBSD$ to keep svn happy.
* Let w(1) use utmpx.ed2009-12-061-2/+2
| | | | | | | | | | We don't have UT_*SIZE anymore. One of the reasons for that is because all strings are null terminated, there is no need for apps to copy strings out of the utmpx structure. This means we can define W_DISP*SIZE lengths for all columns. While there, adjust the sizes a little. Steal some bytes from the username column, while extending the hostname column quite a bit.
* When -n is specified, don't attempt to turn hostnames found in utmpbrian2001-07-261-2/+2
| | | | | | | | | | | | | 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).
* MAN[1-9] -> MAN.ru2001-03-271-1/+1
|
* Use the same technique as ps(1) to avoid the need for setgid. (ie: usepeter1999-11-171-2/+3
| | | | | /dev/null as the default kernel and /dev/mem filenames, but still allow the usual overrides)
* Install with default BINOWN (as it once used to be).dg1995-04-151-1/+0
|
* Install setgid kmem rather than setuid root. The problem with procfs thatdg1995-04-151-1/+2
| | | | was breaking this before has been fixed.
* Make it set-uid until procfs is fixed.wollman1994-08-111-2/+2
|
* More merry makefile munging for man page compatability.wollman1994-08-051-1/+1
|
* BSD 4.4 Lite Usr.bin Sourcesrgrimes1994-05-271-0/+14
OpenPOWER on IntegriCloud