Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Do a better job of determining if we were called as uptime(1). | steve | 1998-11-09 | 1 | -5/+2 |
| | | | | PR: 8593 | ||||
* | Remove unused strvisx. | imp | 1998-06-09 | 1 | -10/+2 |
| | |||||
* | Cosmetic fix. Compute header field widths from UT_{HOST,LINE,NAME}SIZE | jkoshy | 1998-05-21 | 1 | -4/+13 |
| | | | | | | instead of hardcoding header line. PR: 6325 | ||||
* | Allow `w' to treat a corrupted "utmp" as a non fatal error. | jkoshy | 1998-05-14 | 1 | -4/+7 |
| | | | | PR: bin/2832 | ||||
* | Like most Unices FreeBSD should have a larger tty field at least | phk | 1998-04-19 | 1 | -3/+4 |
| | | | | | | | | | | | as large as UT_LINESIZE (/usr/include/utmp.h). If the tty name is logged with this size why isn't the w command reporting it? (We should probably report the tty/cua prefix then as well ? /phk) PR: 4187 Reviewed by: phk Submitted by: Jorge M. Goncalves <ee96199@tom.fe.up.pt> | ||||
* | Reword using who.1 as a good example of where to start. | steve | 1998-03-22 | 1 | -2/+2 |
| | | | | Submitted by: bde | ||||
* | Reword the synopsis line so that it makes sense. | steve | 1998-01-12 | 1 | -2/+2 |
| | |||||
* | -Wall cleanup. | alex | 1997-12-28 | 1 | -3/+3 |
| | |||||
* | If uptime < 1 min print in in secs otherwise we got confusing message | ache | 1997-10-13 | 1 | -10/+12 |
| | | | | "up 1 user" | ||||
* | Document newly added -d option and fix usage string | ache | 1997-09-12 | 2 | -4/+7 |
| | |||||
* | The "-d" option dumps out the entire process list on a per controlling | ache | 1997-09-12 | 1 | -11/+40 |
| | | | | | tty basis, instead of just the top level process. Submitted by: terry | ||||
* | Revert some casts I introduced. | charnier | 1997-08-26 | 1 | -3/+3 |
| | | | | Requested by: Bruce. | ||||
* | Typo in usage(). Err -> errx when testing allocations. | charnier | 1997-08-25 | 4 | -15/+24 |
| | |||||
* | compare return value from getopt against -1 rather than EOF, per the final | imp | 1997-03-29 | 1 | -1/+1 |
| | | | | posix standard on the topic. | ||||
* | Made sure the string formated by strftime() is properly | yokota | 1997-03-07 | 2 | -2/+4 |
| | | | | | | | | null-terminated. Should go to RELENG_2_1 and RELENG_2_2. Reviewed by guido@freebsd.org. | ||||
* | Revert $FreeBSD$ to $Id$ | peter | 1997-02-22 | 1 | -1/+1 |
| | |||||
* | Reduce the command field width by one when idle time is > 9 days, to | danny | 1997-02-11 | 3 | -4/+10 |
| | | | | | | eliminate unsightly blank line. Possibly a 2.2 candidate. | ||||
* | Sort cross references. | wosch | 1997-01-15 | 1 | -2/+2 |
| | |||||
* | Make the long-awaited change from $Id$ to $FreeBSD$ | jkh | 1997-01-14 | 1 | -1/+1 |
| | | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise. | ||||
* | comma typos | wosch | 1996-12-23 | 1 | -1/+2 |
| | |||||
* | Increase username field to reflect utmp changes | ache | 1996-12-05 | 1 | -1/+1 |
| | |||||
* | Do not print herror message, if w -n gethostname failed to be 100% | ache | 1996-06-17 | 1 | -2/+1 |
| | | | | | compatible with any program Suggested by: peter | ||||
* | Fix xterm/screen/(any program using just :xxx form) compatibility | ache | 1996-06-17 | 1 | -1/+1 |
| | |||||
* | Don't try convert "-" to numeric form for -n option | ache | 1996-06-17 | 1 | -1/+1 |
| | |||||
* | Fix w -n to really show numeric addresses, close PR 402 | ache | 1996-06-17 | 1 | -0/+11 |
| | | | | Partially submitted by: henrich@msu.edu (Charles Henrich) | ||||
* | Drop privileges if not using standard namelist or kernel file. | pst | 1996-05-30 | 1 | -0/+7 |
| | | | | Submitted by: smpatel (Sujal Patel) | ||||
* | Change locale to LC_ALL, there is no bitmask | ache | 1995-10-26 | 1 | -1/+1 |
| | |||||
* | Add setlocale LC_TIME|LC_CTYPE | ache | 1995-10-24 | 1 | -0/+3 |
| | |||||
* | Fix one column wrong offset in previous change days->day | ache | 1995-10-08 | 1 | -1/+1 |
| | |||||
* | Print "1day" instead of "1days" | dima | 1995-09-22 | 1 | -2/+4 |
| | |||||
* | Increase the tty column width from 2 to 3 characters. | peter | 1995-09-04 | 1 | -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', | wollman | 1995-08-07 | 2 | -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 do | peter | 1995-07-18 | 1 | -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 heading | peter | 1995-07-17 | 1 | -2/+2 |
| | | | | | | | as per the manual page. Closes PR578. Reviewed by: Submitted by: Kenneth D. Merry Obtained from: | ||||
* | Remove trailing whitespace. | rgrimes | 1995-05-30 | 2 | -3/+3 |
| | |||||
* | If an ut_host field in an utmp entry contains a ':' (e.g. for an xterm session) | dg | 1995-05-16 | 1 | -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). | dg | 1995-04-15 | 1 | -1/+0 |
| | |||||
* | Install setgid kmem rather than setuid root. The problem with procfs that | dg | 1995-04-15 | 1 | -1/+2 |
| | | | | was breaking this before has been fixed. | ||||
* | Correct the grammar for the label of the number of users. | smace | 1995-02-18 | 1 | -1/+1 |
| | | | | It is plural when zero and >1 users are logged in. | ||||
* | idle time == 0 printed now as "-" like in good old BSD | ache | 1994-09-27 | 2 | -1/+5 |
| | | | | skip cua* 3 chars as tty* 3 lchars | ||||
* | Make it set-uid until procfs is fixed. | wollman | 1994-08-11 | 1 | -2/+2 |
| | |||||
* | More merry makefile munging for man page compatability. | wollman | 1994-08-05 | 1 | -1/+1 |
| | |||||
* | Converted 'vmunix' to 'kernel'. | dg | 1994-08-05 | 2 | -3/+3 |
| | |||||
* | BSD 4.4 Lite Usr.bin Sources | rgrimes | 1994-05-27 | 7 | -0/+904 |