christos
|
ecfa5800d4
|
PR/39201: Brian Marcotte: "who am i" problem when using ptyfs, because it
strips pts/
|
2008-07-24 15:35:41 +00:00 |
lukem
|
98e5374ccb
|
Remove the \n and tabs from the __COPYRIGHT() strings.
Tweak to use a consistent format.
|
2008-07-21 14:19:20 +00:00 |
perry
|
8b0f9554ff
|
convert __attribute__s to applicable cdefs.h macros
|
2007-12-15 19:44:37 +00:00 |
christos
|
a86c4b2a6a
|
better format for run level entries.
|
2006-09-28 15:24:31 +00:00 |
christos
|
c044a535e1
|
add definition for down time.
|
2006-09-22 21:40:12 +00:00 |
christos
|
cbf3acdacb
|
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.
|
2006-09-19 21:01:29 +00:00 |
hubertf
|
d7f002b78d
|
Change -u behaviour to also print PID of process on terminal, and
add -d to print more information from utmpx.
OK'd by christos@
|
2006-09-19 14:35:25 +00:00 |
peter
|
0d03348661
|
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.
|
2005-07-22 14:23:05 +00:00 |
christos
|
b2d91da0d4
|
WARNS=3
|
2005-06-26 17:10:28 +00:00 |
peter
|
1a4cb94e52
|
Sort options.
ok wiz@
|
2004-11-22 17:20:02 +00:00 |
jmmv
|
b635f565e7
|
Homogenize usage messages: make the 'usage' word all lowercase, as this seems
to be the most common practice in our tree.
|
2004-01-05 23:23:32 +00:00 |
agc
|
89aaa1bb64
|
Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22365, verified by myself.
|
2003-08-07 11:13:06 +00:00 |
christos
|
46a5ddc0d3
|
fix static length variables.
|
2003-02-17 13:56:28 +00:00 |
christos
|
eb122f434a
|
abstract out utmp loading.
|
2002-08-01 23:23:07 +00:00 |
christos
|
c5c71978de
|
add utmpx support; lots of code can be shared now with w.
|
2002-07-28 21:46:34 +00:00 |
christos
|
6653fa8b3c
|
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'
|
1999-07-17 16:41:44 +00:00 |
christos
|
911f0fccb0
|
cast field sizes to ints.
|
1998-12-20 14:53:24 +00:00 |
lukem
|
87a83d449c
|
fix .Nm usage, deprecate register, use ANSI string.h stuff
|
1997-10-20 03:20:27 +00:00 |
kleink
|
df138b3d94
|
* __RCSID()/__COPYRIGHT() police.
* Prototypes; fix compiler warnings.
* setlocale(LC_ALL, "") on startup.
* Add XPG4.2 `-H' flag.
|
1997-07-23 20:08:03 +00:00 |
jtc
|
c7c97b414c
|
Added code for POSIX.2's -m, -T, and -u options.
|
1994-12-07 04:28:47 +00:00 |
jtc
|
5ff6f16bd7
|
Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
|
1994-11-14 05:13:14 +00:00 |
mycroft
|
e9d867ef50
|
Add RCS identifiers.
|
1993-08-01 17:54:45 +00:00 |
cgd
|
61f282557f
|
initial import of 386bsd-0.1 sources
|
1993-03-21 09:45:37 +00:00 |