| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
is in accordance with the information provided at
ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
Also add $FreeBSD$ to a few files to keep svn happy.
Discussed with: imp, rwatson
|
|
|
|
| |
I removed utmp and its manpage, but not other manpages referring to it.
|
|
|
|
|
| |
They were already converted to use libulog, so it's easy to convert them
to utmpx.
|
|
|
|
| |
Also add some missing $FreeBSD$ to keep svn happy.
|
|
|
|
|
|
|
|
|
| |
- 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.
|
|
|
|
| |
needed.
|
|
|
|
| |
Tested with: make universe
|
|
|
|
|
|
|
|
|
|
| |
(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.
|
|
|
|
|
|
|
| |
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>
|
| |
|
| |
|
| |
|
|
|
|
| |
bug that had been swept under the carpet.
|
| |
|
|
|
|
| |
Approved by: re
|
|
|
|
|
|
|
|
|
|
|
|
| |
time_t. Deal with the possibility that time_t != int32_t. This boils
down to this sort of thing:
- time(&ut.ut_time);
+ ut.ut_time = time(NULL);
and similar for ctime(3) etc. I've kept it minimal for the stuff
that may need to be portable (or 3rd party code), but used Matt's time32
stuff for cases where that isn't as much of a concern.
Approved by: re (jhb)
|
| |
|
|
|
|
| |
LC_ALL and LC_TIME upon the utility.
|
|
|
|
| |
the TTY width obtained by ioctl() when set & non-null. (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
|
| |
|
|
|
|
| |
WARNS=2 is not in Makefile, as this will be the default.
|
| |
|
|
|
|
|
| |
PR: 28433
Submitted by: Joseph Mallett <jmallett@xMach.org>
|
|
|
|
| |
builtins (e.g., exit, strcmp).
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
PR: 6294
Submitted by: Ruslan Ermilov <ru@ucb.crimea.ua>
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
| |
PR: 6294
Reviewed by: bde, phk
Submitted by: Ruslan Ermilov <ru@ucb.crimea.ua>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Obtained from: A Quarter Century of UNIX, Peter H. Salus, page 41
|
| |
|
| |
|
|
|