summaryrefslogtreecommitdiffstats
path: root/usr.bin/w
Commit message (Collapse)AuthorAgeFilesLines
* When 'w' finds an IP address in the ut_host field, it attempts to dopeter1995-07-181-0/+8
| | | | | | | | | | | | a gethostbyname() on it. That can take a long time... (especially if the reason the IP address is in there in the first place is because login/rlogind/telnetd couldn't find it either....) This patch reduces the gethostbyaddr lookup time to 2 seconds, the idea being that if the local nameserver knows the answer, it'll answer within that time, otherwise we dont care... :-) This change doesn't do anything about whether or not w should do this in the first place, but at least it will make the current behavior less painful. Reviewed by: David Greenman
* Fix the 'w' command so that the -h option correctly supresses the headingpeter1995-07-171-2/+2
| | | | | | | as per the manual page. Closes PR578. Reviewed by: Submitted by: Kenneth D. Merry Obtained from:
* Remove trailing whitespace.rgrimes1995-05-302-3/+3
|
* If an ut_host field in an utmp entry contains a ':' (e.g. for an xterm session)dg1995-05-161-1/+2
| | | | | | w doesn't handle the non-'\0' terminated char arrays in struct utmp properly. Submitted by: jarle@idt.unit.no
* 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.
* Correct the grammar for the label of the number of users.smace1995-02-181-1/+1
| | | | It is plural when zero and >1 users are logged in.
* idle time == 0 printed now as "-" like in good old BSDache1994-09-272-1/+5
| | | | skip cua* 3 chars as tty* 3 lchars
* 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
|
* Converted 'vmunix' to 'kernel'.dg1994-08-052-3/+3
|
* BSD 4.4 Lite Usr.bin Sourcesrgrimes1994-05-277-0/+904
OpenPOWER on IntegriCloud