summaryrefslogtreecommitdiffstats
path: root/usr.bin/w
Commit message (Collapse)AuthorAgeFilesLines
* Do not print herror message, if w -n gethostname failed to be 100%ache1996-06-171-2/+1
| | | | | compatible with any program Suggested by: peter
* Fix xterm/screen/(any program using just :xxx form) compatibilityache1996-06-171-1/+1
|
* Don't try convert "-" to numeric form for -n optionache1996-06-171-1/+1
|
* Fix w -n to really show numeric addresses, close PR 402ache1996-06-171-0/+11
| | | | Partially submitted by: henrich@msu.edu (Charles Henrich)
* Drop privileges if not using standard namelist or kernel file.pst1996-05-301-0/+7
| | | | Submitted by: smpatel (Sujal Patel)
* Change locale to LC_ALL, there is no bitmaskache1995-10-261-1/+1
|
* Add setlocale LC_TIME|LC_CTYPEache1995-10-241-0/+3
|
* Fix one column wrong offset in previous change days->dayache1995-10-081-1/+1
|
* Print "1day" instead of "1days"dima1995-09-221-2/+4
|
* Increase the tty column width from 2 to 3 characters.peter1995-09-041-2/+2
| | | | | | | | This gives us more room to breath with tty names, especially with drivers that support large numbers of ports.. eg: specialix and digiboard. This does not actually change the current tty names, it just allows room for reporting more characters if the drivers use them.
* Delete bogus referneces to timezone code internal header file `tzfile.h',wollman1995-08-072-15/+13
| | | | which is no longer bogusly installed in /usr/include.
* 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