aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/w/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Convert to use libxo.Marcel Moolenaar2014-11-051-2/+2
| | | | | | | | Obtained from: Phil Shafer <phil@juniper.net> Sponsored by: Juniper Networks, Inc. Notes: svn path=/head/; revision=274151
* Port w(1) to utmpx.Ed Schouten2010-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. Notes: svn path=/head/; revision=202199
* This now passes a make universe with WARNS=6.David Malone2010-01-071-2/+0
| | | | Notes: svn path=/head/; revision=201727
* Build usr.bin/ with WARNS=6 by default.Ed Schouten2010-01-021-0/+2
| | | | | | | Also add some missing $FreeBSD$ to keep svn happy. Notes: svn path=/head/; revision=201386
* Let w(1) use utmpx.Ed Schouten2009-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. Notes: svn path=/head/; revision=200172
* When -n is specified, don't attempt to turn hostnames found in utmpBrian Somers2001-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). Notes: svn path=/head/; revision=80407
* MAN[1-9] -> MAN.Ruslan Ermilov2001-03-271-1/+1
| | | | Notes: svn path=/head/; revision=74848
* Use the same technique as ps(1) to avoid the need for setgid. (ie: usePeter Wemm1999-11-171-2/+3
| | | | | | | | /dev/null as the default kernel and /dev/mem filenames, but still allow the usual overrides) Notes: svn path=/head/; revision=53279
* Install with default BINOWN (as it once used to be).David Greenman1995-04-151-1/+0
| | | | Notes: svn path=/head/; revision=7837
* Install setgid kmem rather than setuid root. The problem with procfs thatDavid Greenman1995-04-151-1/+2
| | | | | | | was breaking this before has been fixed. Notes: svn path=/head/; revision=7836
* Make it set-uid until procfs is fixed.Garrett Wollman1994-08-111-2/+2
| | | | Notes: svn path=/head/; revision=2033
* More merry makefile munging for man page compatability.Garrett Wollman1994-08-051-1/+1
| | | | Notes: svn path=/head/; revision=1866
* BSD 4.4 Lite Usr.bin SourcesRodney W. Grimes1994-05-271-0/+14
Notes: svn path=/cvs2svn/branches/CHRISTOS/; revision=1590