summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlum <lum@cvs.openbsd.org>2010-03-24 05:03:16 +0000
committerlum <lum@cvs.openbsd.org>2010-03-24 05:03:16 +0000
commit8f20bfe040f5dacd3a700435022aba14b4a4bb84 (patch)
treeb81779c8349984820454dbe75158c9cdaa725bd5
parentd1a910ddea1d936919bc41da319916bbf007279a (diff)
Document updating the display using the space-bar.
ok jmc@ otto@
-rw-r--r--usr.bin/top/display.c3
-rw-r--r--usr.bin/top/top.16
2 files changed, 6 insertions, 3 deletions
diff --git a/usr.bin/top/display.c b/usr.bin/top/display.c
index e94c870a4f8..89b15a44d77 100644
--- a/usr.bin/top/display.c
+++ b/usr.bin/top/display.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: display.c,v 1.38 2010/03/18 12:52:06 otto Exp $ */
+/* $OpenBSD: display.c,v 1.39 2010/03/24 05:03:15 lum Exp $ */
/*
* Top users/processes display for Unix
@@ -758,6 +758,7 @@ show_help(void)
printwp("These single-character commands are available:\n"
"\n"
"^L - redraw screen\n"
+ "<space> - update screen\n"
"+ - reset any g, p, or u filters\n"
"1 - display CPU statistics on a single line\n"
"C - toggle the display of command line arguments\n"
diff --git a/usr.bin/top/top.1 b/usr.bin/top/top.1
index 5b5c1093e0a..4bcd7d958f0 100644
--- a/usr.bin/top/top.1
+++ b/usr.bin/top/top.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: top.1,v 1.54 2010/01/29 00:36:09 tedu Exp $
+.\" $OpenBSD: top.1,v 1.55 2010/03/24 05:03:15 lum Exp $
.\"
.\" Copyright (c) 1997, Jason Downs. All rights reserved.
.\"
@@ -23,7 +23,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: January 29 2010 $
+.Dd $Mdocdate: March 24 2010 $
.Dt TOP 1
.Os
.Sh NAME
@@ -263,6 +263,8 @@ These commands are currently recognized (^L refers to control-L):
Display a summary of the commands (help screen).
.It ^L
Redraw the screen.
+.It <space>
+Update the screen.
.It q
Quit
.Nm .