=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/top/commands.c,v retrieving revision 1.23 retrieving revision 1.24 diff -c -r1.23 -r1.24 *** src/usr.bin/top/commands.c 2007/02/06 06:53:13 1.23 --- src/usr.bin/top/commands.c 2007/02/09 20:57:15 1.24 *************** *** 1,4 **** ! /* $OpenBSD: commands.c,v 1.23 2007/02/06 06:53:13 otto Exp $ */ /* * Top users/processes display for Unix --- 1,4 ---- ! /* $OpenBSD: commands.c,v 1.24 2007/02/09 20:57:15 jmc Exp $ */ /* * Top users/processes display for Unix *************** *** 70,78 **** printf("Top version %s, %s\n", version_string(), copyright); puts("These single-character commands are available:\n" "\n" ! "^L - redraw screen\n" ! "h or ? - help; show this text\n" ! "q - quit"); /* not all commands are available with overstrike terminals */ if (overstrike) { --- 70,78 ---- printf("Top version %s, %s\n", version_string(), copyright); puts("These single-character commands are available:\n" "\n" ! "h | ? - help; show this text\n" ! "^L - redraw screen\n" ! "q - quit"); /* not all commands are available with overstrike terminals */ if (overstrike) { *************** *** 81,101 **** "sophisticated enough to handle those commands gracefully.\n"); } else { puts( ! "+ - remove process filter(s)\n" ! "C - toggle the display of the command line arguments\n" ! "d - change number of displays to show\n" ! "e - list errors generated by last \"kill\" or \"renice\" command\n" ! "g - filter on command name (+ selects all commands)\n" ! "i or I - toggle the displaying of idle processes\n" ! "k - kill processes; send a signal to a list of processes\n" ! "n or # - change number of processes to display\n" ! "o - specify sort order (size, res, cpu, time, pri)\n" ! "p - display one process (+ selects all processes)\n" ! "r - renice a process\n" ! "s - change number of seconds to delay between updates\n" ! "S - toggle the display of system processes\n" ! "T - toggle the display of threads\n" ! "u - display processes for only one user (+ selects all users)\n" "\n"); } } --- 81,101 ---- "sophisticated enough to handle those commands gracefully.\n"); } else { puts( ! "+ - reset any g, p, or u filters\n" ! "C - toggle the display of command line arguments\n" ! "d n - show number `n' displays\n" ! "e - list errors generated by last \"kill\" or \"renice\" command\n" ! "g string - filter on command name (g+ selects all commands)\n" ! "I | i - toggle the display of idle processes\n" ! "k - send a signal to a list of processes\n" ! "n|# n - show number `n' processes\n" ! "o field - specify sort order (size, res, cpu, time, pri)\n" ! "p pid - display process by pid (p+ selects all processes)\n" ! "r n pid - renice process `pid' to nice value `n'\n" ! "S - toggle the display of system processes\n" ! "s n - change delay between displays to `n' seconds\n" ! "T - toggle the display of threads\n" ! "u user - display processes for `user' (u+ selects all users)\n" "\n"); } }