Age | Commit message (Collapse) | Author |
|
* ps.c (main): Fix return type to int, and use return.
* ids.c (main): Likewise.
* w.c (main): Likewise.
* login.c (main): Likewise.
* settrans.c (main): Likewise.
* showtrans.c (main): Likewise.
* fsysopts.c (main): Likewise.
* storeinfo.c (main): Likewise.
* w.c (main): Avoid warning from `while (a = b)'.
|
|
Remove DEFAULT_OUTPUT variable.
|
|
Support USER... args.
(add_utmp_procs):
Ignore unused utmp entries.
|
|
|
|
Don't use strlen on it if *HOST is 0.
|
|
Use utmp.h functions for reading utmp.
(read_utmp_procs):
Function removed.
|
|
Supply new TOP arg to psout.
|
|
|
|
New declarations.
(DEFAULT_FMT_STRING):
Add %pid.
(_w_specs):
Use ps_cmp_unames for `Name'.
Use ps_nominal_string for `Name' and `From'.
|
|
New function.
(main):
Initialize dependencies field of USER_HOOKS to w_deps.
(_w_specs):
Add PS_FMT_FIELD_COLON_MOD to Idle's flags.
(w_fetch):
Set HAVE bits even if the values are `nominal'.
Correctly propagate PS->inapp bits.
|
|
|
|
|
|
(OPT_FMT, OPT_SORT): Macros removed.
|
|
|
|
|
|
Don't use utmp buffer sizes for field widths, as they can be very large.
|
|
|
|
|
|
(w_uname_getter): Renamed from w_user_getter.
(w_user_getter): New function.
(w_get_user): New function.
(w_fetch): Implement W_PSTAT_USER.
(struct w_hook): Add user field.
(_w_specs): Add "Name" entry. Add precision & flags fields.
(DEFAULT_FMT_STRING): Use new field syntax.
(main): Update call to psout.
"psout.h": New include.
|
|
|
|
(...various...): Use real types instead of old ps typedefs.
|
|
|
|
|
|
|
|
|