summaryrefslogtreecommitdiff
path: root/tests/stty
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-06-09 09:00:24 +0000
committerJim Meyering <jim@meyering.net>2001-06-09 09:00:24 +0000
commit2beac10424a4f9a8cee26ed26508fadadf112f22 (patch)
tree5f9c5249c5e8a3b3b9956387c3b16374064e597c /tests/stty
parent7c976d94854bb783859a1fcbcc0091e008b30fc5 (diff)
downloadcoreutils-2beac10424a4f9a8cee26ed26508fadadf112f22.tar.xz
Add options to make `who' more POSIX compliant.
Accept new options: --all (-a), --boot (-b), --dead (-d), --login, --process (-p), --runlevel (-r), --short (-s), --time (-t), --users (-u). The -u option now produces POSIX-specified results and is the same as the long option `--users'. --idle is no longer the same as -u. (time_string, print_line, print_boottime, print_deadprocs, print_login, print_initspawn, print_clockchange, print_runlevel): New functions. (print_user): Renamed from print_entry and reworked. (search_entries): Remove function. (who_am_i): Likewise. (usage): Describe new options. (main): Handle new options. Mostly from Michael Stone.
Diffstat (limited to 'tests/stty')
0 files changed, 0 insertions, 0 deletions