summaryrefslogtreecommitdiff
path: root/utils/w.c
AgeCommit message (Collapse)Author
1998-07-201998-07-20 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* 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)'.
1997-09-29(main):Miles Bader
Remove DEFAULT_OUTPUT variable.
1997-03-02(main):Miles Bader
Support USER... args. (add_utmp_procs): Ignore unused utmp entries.
1997-02-20(argp_program_version): Make const.Miles Bader
1997-02-06(w_get_host):Miles Bader
Don't use strlen on it if *HOST is 0.
1996-11-16(main):Miles Bader
Use utmp.h functions for reading utmp. (read_utmp_procs): Function removed.
1996-10-17(main):Miles Bader
Supply new TOP arg to psout.
1996-10-09(w_fetch): Use tty st_atime for idle time.Miles Bader
1996-10-09(ps_cmp_unames, ps_nominal_string):Miles Bader
New declarations. (DEFAULT_FMT_STRING): Add %pid. (_w_specs): Use ps_cmp_unames for `Name'. Use ps_nominal_string for `Name' and `From'.
1996-10-08(w_deps):Miles Bader
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.
1996-09-05*** empty log message ***Thomas Bushnell
1996-08-27(doc): Add program description.Miles Bader
1996-08-01(options, main): Change --fmt to --format/-F and --sort to --sort/-s.Miles Bader
(OPT_FMT, OPT_SORT): Macros removed.
1996-07-29(main): Correctly parse the -w/--width option.Miles Bader
1996-07-06(argp_program_version): New variable.Miles Bader
1996-07-01(_w_specs):Miles Bader
Don't use utmp buffer sizes for field widths, as they can be very large.
1996-05-11(parse_opt): Use ARGP_ERR_UNKNOWN instead of EINVAL.Miles Bader
1996-05-09(uptime): Cast arg to localtime appropriately.Michael I. Bushnell
1996-05-07(w_get_uname): Renamed from w_get_user.Miles Bader
(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.
1996-05-01(_w_specs): Use ps_emit_past_time to show login times.Miles Bader
1996-03-29(uptime): Correctly calculate uptime.Miles Bader
(...various...): Use real types instead of old ps typedefs.
1996-03-23(uptime): Add a temporary hack to pretend to show uptime.Miles Bader
1996-03-19(main): Pass new arg to argp_parse.Miles Bader
1996-02-21(uptime): Use %.2f format for load average numbers.Roland McGrath
1996-02-18Initial revisionMiles Bader