History log of /freebsd/usr.bin/who/who.c (Results 26 – 50 of 70)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: release/4.7.0_cvs, release/4.6.2_cvs, release/4.6.2, release/4.6.1, release/4.6.0_cvs
# d2979f56 20-Jun-2002 Tim J. Robbins <tjr@FreeBSD.org>

Style: put static qualifier on definition of static functions.


# 8358edb6 04-Jun-2002 Tim J. Robbins <tjr@FreeBSD.org>

Respect the setting of the COLUMNS environment variable, use it instead of
the TTY width obtained by ioctl() when set & non-null. (SUSv3)


# 1a940138 28-May-2002 Tim J. Robbins <tjr@FreeBSD.org>

Write "FROM" heading above the hostname column, like NetBSD and GNU do.


# 38a99942 10-May-2002 Tim J. Robbins <tjr@FreeBSD.org>

Reimplement the who(1) utility to add some features required by SUSv3:
-H option (show column headings),
-T (show mesg(1) state),
-m (same as "am I"),
-u (show idle time),
-q (quick mode; list names

Reimplement the who(1) utility to add some features required by SUSv3:
-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

show more ...


# 3f330d7d 22-Mar-2002 Warner Losh <imp@FreeBSD.org>

remove __P


Revision tags: release/4.5.0_cvs, release/4.4.0_cvs
# 2c062c85 11-Dec-2001 Mark Murray <markm@FreeBSD.org>

WARNS=2 fix, use __FBSDID().

WARNS=2 is not in Makefile, as this will be the default.


# 7a19d1bb 24-Jun-2001 Dima Dorfman <dd@FreeBSD.org>

Include missing header files which define functions for which gcc has
builtins (e.g., exit, strcmp).


Revision tags: release/4.3.0_cvs, release/4.3.0
# e36de81e 21-Mar-2001 Andrey A. Chernov <ache@FreeBSD.org>

Don't attempt to parse %c


Revision tags: release/4.2.0, release/4.1.1_cvs, release/4.1.0, release/3.5.0_cvs, release/4.0.0_cvs, release/3.4.0_cvs, release/3.3.0_cvs
# c3aac50f 28-Aug-1999 Peter Wemm <peter@FreeBSD.org>

$Id$ -> $FreeBSD$


Revision tags: release/3.2.0, release/3.1.0, release/3.0.0, release/2.2.8, release/2.2.7
# 7ac237e8 25-May-1998 Dag-Erling Smørgrav <des@FreeBSD.org>

Back out Steve's fix, as this was already fixed by me in revision 1.6


# af2bbadb 25-May-1998 Steve Price <steve@FreeBSD.org>

Only allow 'who' and 'who am i' as valid usages.

PR: 6294
Submitted by: Ruslan Ermilov <ru@ucb.crimea.ua>


# 574a97f5 26-Apr-1998 Dag-Erling Smørgrav <des@FreeBSD.org>

Check that user really typed "who am {I,i}", and that no stray
arguments are given.
Note that usage() and the manpage disagree...

PR: bin/6294
Suggested by: Ruslan Ermilov and Bruce Evans
Submitted

Check that user really typed "who am {I,i}", and that no stray
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)

show more ...


Revision tags: release/2.2.6, release/2.2.5_cvs
# 0abcff76 26-Aug-1997 Philippe Charnier <charnier@FreeBSD.org>

Use err(3). Add usage().


Revision tags: release/2.2.2_cvs, release/2.2.1_cvs, release/2.2.0, release/2.1.7_cvs
# 719ed69e 07-Mar-1997 Kazutaka YOKOTA <yokota@FreeBSD.org>

Made sure the string formated by strftime() is properly
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 g

Made sure the string formated by strftime() is properly
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.

show more ...


Revision tags: release/2.1.6_cvs, release/2.1.6.1, release/2.1.5_cvs, release/2.1.0_cvs
# 965f310c 24-Oct-1995 Andrey A. Chernov <ache@FreeBSD.org>

Add setlocale LC_TIME


# eaf7e02e 08-Aug-1995 Andrey A. Chernov <ache@FreeBSD.org>

Replace ctime by strftime %c to use national date representation now


Revision tags: release/2.0.5_cvs, release/2.0, release/1.1.5.1_cvs
# 9b50d902 27-May-1994 Rodney W. Grimes <rgrimes@FreeBSD.org>

BSD 4.4 Lite Usr.bin Sources


# ab90a4d1 13-Jan-2010 Ed Schouten <ed@FreeBSD.org>

Perform all trivial ports to utmpx for usr.bin/.

They were already converted to use libulog, so it's easy to convert them
to utmpx.


# 9199c09a 06-Jan-2010 Warner Losh <imp@FreeBSD.org>

Merge from head at r201628.

# This hasn't been tested, and there are at least three bad commits
# that need to be backed out before the branch will be stable again.


# 444999a3 26-Dec-2009 Ed Schouten <ed@FreeBSD.org>

Several refinements to libulog's API.

- Only set the fields in the ulog_utmpx structure that are valid for the
command in question. This means that strings like "shutdown" or "~"
are not visible

Several refinements to libulog's API.

- Only set the fields in the ulog_utmpx structure that are valid for the
command in question. This means that strings like "shutdown" or "~"
are not visible to the user anymore.
- Rename UTXF_* to UTXI_*, indicating the indexation, instead of using
the `antique' filename. If we ever get rid of utmp, it makes little
sense calling it by its old name.

show more ...


# 821df508 13-Dec-2009 Xin LI <delphij@FreeBSD.org>

Revert most part of 200420 as requested, as more review and polish is
needed.


# 6f2d3221 12-Dec-2009 Xin LI <delphij@FreeBSD.org>

Remove unneeded header includes from usr.bin/ except contributed code.

Tested with: make universe


# b911cea8 05-Dec-2009 Ed Schouten <ed@FreeBSD.org>

Port who(1) to utmpx.

(Un)fortunately there is no standardized interface to switch between
utmp database files, so we must call ulog_setutxfile() here.

I'm also changing the column widths to magic

Port who(1) to utmpx.

(Un)fortunately there is no standardized interface to switch between
utmp database files, so we must call ulog_setutxfile() here.

I'm also changing the column widths to magic numbers here. Display
layout should in this case not be derived from structure fields sizes.
Because I don't want struct utmpx ever to become too small, the fields
are too big to reserve all the space.

show more ...


Revision tags: release/8.0.0_cvs, release/8.0.0, release/7.2.0_cvs, release/7.2.0, release/7.1.0_cvs, release/7.1.0, release/6.4.0_cvs, release/6.4.0, release/7.0.0_cvs, release/7.0.0, release/6.3.0_cvs, release/6.3.0, release/6.2.0_cvs, release/6.2.0, release/5.5.0_cvs, release/5.5.0, release/6.1.0_cvs, release/6.1.0
# b457a3e1 21-Feb-2006 Olivier Houchard <cognet@FreeBSD.org>

In wall and who, check that the utmp entry isn't stalled, as it is done in w.
Apparently with the new pts code stalled entries are printed, when they are
not with the BSD ptys.

Submitted by: Michal

In wall and who, check that the utmp entry isn't stalled, as it is done in w.
Apparently with the new pts code stalled entries are printed, when they are
not with the BSD ptys.

Submitted by: Michal Mertl <mime at traveller dot cz>

show more ...


Revision tags: release/6.0.0_cvs, release/6.0.0
# 8a9d84b4 29-May-2005 Philippe Charnier <charnier@FreeBSD.org>

Move variable initialization to reduce compiler warning.


123