summaryrefslogtreecommitdiffstats
path: root/usr.bin/who
Commit message (Collapse)AuthorAgeFilesLines
* Style: put static qualifier on definition of static functions.tjr2002-06-201-7/+7
|
* Refer to environ(7) for description of COLUMNS. Note the effects of LANG,tjr2002-06-071-11/+9
| | | | LC_ALL and LC_TIME upon the utility.
* Respect the setting of the COLUMNS environment variable, use it instead oftjr2002-06-042-6/+29
| | | | the TTY width obtained by ioctl() when set & non-null. (SUSv3)
* mdoc(7) police: lint.ru2002-05-301-8/+9
|
* Write "FROM" heading above the hostname column, like NetBSD and GNU do.tjr2002-05-281-0/+1
|
* Reimplement the who(1) utility to add some features required by SUSv3:tjr2002-05-092-122/+270
| | | | | | | | | | | -H option (show column headings), -T (show mesg(1) state), -m (same as "am I"), -u (show idle time), -q (quick mode; list names in columns). PR: 36128 Reviewed by: mike
* remove __Pimp2002-03-221-3/+3
|
* WARNS=2 fix, use __FBSDID().markm2001-12-111-11/+13
| | | | WARNS=2 is not in Makefile, as this will be the default.
* Remove whitespace at EOL.dd2001-07-151-2/+2
|
* Correct path to wtmp.dd2001-06-271-2/+2
| | | | | PR: 28433 Submitted by: Joseph Mallett <jmallett@xMach.org>
* Include missing header files which define functions for which gcc hasdd2001-06-241-0/+1
| | | | builtins (e.g., exit, strcmp).
* Don't attempt to parse %cache2001-03-211-3/+9
|
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-2/+2
|
* $Id$ -> $FreeBSD$peter1999-08-282-2/+2
|
* Back out Steve's fix, as this was already fixed by me in revision 1.6des1998-05-251-4/+0
|
* Only allow 'who' and 'who am i' as valid usages.steve1998-05-251-1/+5
| | | | | PR: 6294 Submitted by: Ruslan Ermilov <ru@ucb.crimea.ua>
* Check that user really typed "who am {I,i}", and that no straydes1998-04-261-1/+5
| | | | | | | | | arguments are given. Note that usage() and the manpage disagree... PR: bin/6294 Suggested by: Ruslan Ermilov and Bruce Evans Submitted by: Ruslan Ermilov (partly)
* Better SYNOPSISphk1998-04-141-2/+3
| | | | | | PR: 6294 Reviewed by: bde, phk Submitted by: Ruslan Ermilov <ru@ucb.crimea.ua>
* Use err(3). Add usage().charnier1997-08-262-20/+36
|
* Made sure the string formated by strftime() is properlyyokota1997-03-071-1/+2
| | | | | | | | | | | null-terminated. Fixed a wrong if statement which should test a string is empty where in fact it tested the string pointer was NULL. Should go to RELENG_2_1 and RELENG_2_2. Reviewed by guido@freebsd.org.
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-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.
* [HISTORY] command appeared in Version 1 AT&T UNIXwosch1996-08-291-1/+2
| | | | Obtained from: A Quarter Century of UNIX, Peter H. Salus, page 41
* Add setlocale LC_TIMEache1995-10-241-0/+3
|
* Replace ctime by strftime %c to use national date representation nowache1995-08-071-4/+4
|
* BSD 4.4 Lite Usr.bin Sourcesrgrimes1994-05-273-0/+245
OpenPOWER on IntegriCloud