summaryrefslogtreecommitdiff
path: root/usr.bin/top/display.c
diff options
context:
space:
mode:
authorkn <kn@cvs.openbsd.org>2020-06-27 01:09:58 +0000
committerkn <kn@cvs.openbsd.org>2020-06-27 01:09:58 +0000
commit3a8279cb30293029b297f76a24c927cc363c7a99 (patch)
tree50a7e586093e1f5f3dfad0090d02903336b1d025 /usr.bin/top/display.c
parent27c07400a3555d29373c1b503b5b7cf4aadd9443 (diff)
Add missing scroll keys to help page, name default signale for kill command
The order of commands is not in sync between help page and manual, but I refrained from reordering to avoid churn. OK millert
Diffstat (limited to 'usr.bin/top/display.c')
-rw-r--r--usr.bin/top/display.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.bin/top/display.c b/usr.bin/top/display.c
index ff02198638e..225c4dd42da 100644
--- a/usr.bin/top/display.c
+++ b/usr.bin/top/display.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: display.c,v 1.61 2019/10/27 13:52:26 kn Exp $ */
+/* $OpenBSD: display.c,v 1.62 2020/06/27 01:09:57 kn Exp $ */
/*
* Top users/processes display for Unix
@@ -805,6 +805,8 @@ show_help(void)
"<space> - update screen\n"
"+ - reset any P highlight, g, p, or u filters\n"
"1 - display CPU statistics on a single line\n"
+ "9 | 0 - scroll up/down the process list by one line\n"
+ "( | ) - scroll up/down the process list by screen half\n"
"C - toggle the display of command line arguments\n"
"d count - show `count' displays, then exit\n"
"e - list errors generated by last \"kill\" or \"renice\" command\n"
@@ -812,7 +814,7 @@ show_help(void)
"h | ? - help; show this text\n"
"H - toggle the display of threads\n"
"I | i - toggle the display of idle processes\n"
- "k [-sig] pid - send signal `-sig' to process `pid'\n"
+ "k [-sig] pid - send signal `-sig' (TERM by default) to process `pid'\n"
"n|# count - show `count' processes\n"
"o [-]field - specify sort order (size, res, cpu, time, pri, pid, command)\n"
" (o -field sorts in reverse)\n"