Home | History | Annotate | Download | only in who
History log of /src/usr.bin/who/who.c
RevisionDateAuthorComments
 1.25  21-Nov-2015  christos WARNS=6
 1.24  08-Jun-2014  mlelstv Handle ctime() failure.
 1.23  24-Jul-2008  christos branches: 1.23.24; 1.23.36;
PR/39201: Brian Marcotte: "who am i" problem when using ptyfs, because it
strips pts/
 1.22  21-Jul-2008  lukem Remove the \n and tabs from the __COPYRIGHT() strings.
Tweak to use a consistent format.
 1.21  15-Dec-2007  perry branches: 1.21.6;
convert __attribute__s to applicable cdefs.h macros
 1.20  28-Sep-2006  christos branches: 1.20.2; 1.20.8;
better format for run level entries.
 1.19  22-Sep-2006  christos add definition for down time.
 1.18  19-Sep-2006  christos Add support for the majority of the rest of the system V options, although
we don't support some of them. We might add boottime, system clock change
time, in the future, so add the code to do it.
 1.17  19-Sep-2006  hubertf Change -u behaviour to also print PID of process on terminal, and
add -d to print more information from utmpx.

OK'd by christos@
 1.16  22-Jul-2005  peter Implement the following two XSI extensions:

-q: quick mode, list only the names and the number of users currently
logged on.

-s: default mode, list only the name, line and time fields.
 1.15  26-Jun-2005  christos WARNS=3
 1.14  22-Nov-2004  peter Sort options.

ok wiz@
 1.13  05-Jan-2004  jmmv Homogenize usage messages: make the 'usage' word all lowercase, as this seems
to be the most common practice in our tree.
 1.12  07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22365, verified by myself.
 1.11  17-Feb-2003  christos fix static length variables.
 1.10  01-Aug-2002  christos abstract out utmp loading.
 1.9  28-Jul-2002  christos add utmpx support; lots of code can be shared now with w.
 1.8  17-Jul-1999  christos How did this bug survive for so long? 'who am i' was busted because
it checked for valid utmp entries with usr.ut_name != NULL which can
never happen ofcourse, instead of usr.ut_name[0] != '\0'
 1.7  20-Dec-1998  christos cast field sizes to ints.
 1.6  20-Oct-1997  lukem fix .Nm usage, deprecate register, use ANSI string.h stuff
 1.5  23-Jul-1997  kleink * __RCSID()/__COPYRIGHT() police.
* Prototypes; fix compiler warnings.
* setlocale(LC_ALL, "") on startup.
* Add XPG4.2 `-H' flag.
 1.4  07-Dec-1994  jtc Added code for POSIX.2's -m, -T, and -u options.
 1.3  14-Nov-1994  jtc Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
 1.2  01-Aug-1993  mycroft Add RCS identifiers.
 1.1  21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.3  14-Nov-1994  jtc imported from 4.4lite
 1.1.1.2  14-Nov-1994  jtc imported from 4.4lite
 1.1.1.1  21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.20.8.1  09-Jan-2008  matt sync with HEAD
 1.20.2.1  28-Nov-2008  snj Pull up following revision(s) (requested by dholland in ticket #1242):
usr.bin/who/who.c: revision 1.23
PR/39201: Brian Marcotte: "who am i" problem when using ptyfs, because it
strips pts/
 1.21.6.1  18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.23.36.1  10-Aug-2014  tls Rebase.
 1.23.24.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.

RSS XML Feed