summaryrefslogtreecommitdiffstats
path: root/usr.bin/more
diff options
context:
space:
mode:
authorhoek <hoek@FreeBSD.org>1999-12-26 04:17:27 +0000
committerhoek <hoek@FreeBSD.org>1999-12-26 04:17:27 +0000
commit52fbf4821cae75ebd4e777569b66ea950b102a14 (patch)
tree416c300e7f29ddf669be8b41c1aeeb05c2de204d /usr.bin/more
parent131789d30dfc5c184457f6ca4f3a9dbcf645e743 (diff)
downloadFreeBSD-src-52fbf4821cae75ebd4e777569b66ea950b102a14.zip
FreeBSD-src-52fbf4821cae75ebd4e777569b66ea950b102a14.tar.gz
For some reason the HOME key wasn't documented. Document it. Expand
the docs on a couple other keys. While I'm here, document another ~3 bugs that have been around for all eternity in the hope that I'll someday bother to fix them.
Diffstat (limited to 'usr.bin/more')
-rw-r--r--usr.bin/more/more.131
-rw-r--r--usr.bin/more/more.help4
2 files changed, 32 insertions, 3 deletions
diff --git a/usr.bin/more/more.1 b/usr.bin/more/more.1
index e0f9db7a0..482ce81 100644
--- a/usr.bin/more/more.1
+++ b/usr.bin/more/more.1
@@ -168,20 +168,36 @@ If N is more than the screen size, only the final screenful is displayed.
.It Ic b No or Ic \&^B
Scroll backward N lines, default one window (see option -z below).
If N is more than the screen size, only the final screenful is displayed.
-.It Ic j No or Ic RETURN
+.It Xo
+.Ic j
+.No or
+.Ic RETURN
+.No or
+.Ic DOWN-ARROW
+.Xc
Scroll forward N lines, default 1.
The entire N lines are displayed, even if N is more than the screen size.
-.It Ic k
+.It Ic k No or Ic UP-ARROW
Scroll backward N lines, default 1.
The entire N lines are displayed, even if N is more than the screen size.
+.It Ic LEFT-ARROW
+Scroll leftwards N columns, default 1, or turn on line-wrapping if the
+screen is cannot be scrolled leftwards.
+.It Ic RIGHT-ARROW
+Turn off line-wrapping or scroll rightwards N columns, default 1,
+if line wrapping is already off.
+.It Ic HOME
+Toggle horizontal scrolling and associated line-wrapping on and off.
.It Ic d No or Ic \&^D
Scroll forward N lines, default one half of the screen size.
If N is specified, it becomes the new default for
subsequent d and u commands.
+The entire N lines are displayed, even if N is more than the screen size.
.It Ic u No or Ic \&^U
Scroll backward N lines, default one half of the screen size.
If N is specified, it becomes the new default for
subsequent d and u commands.
+The entire N lines are displayed, even if N is more than the screen size.
.It Ic g
Go to line N in the file, default 1 (beginning of file).
.It Ic G
@@ -301,6 +317,17 @@ characteristics necessary to manipulate the screen.
Reading files with long lines is slow.
.Pp
CRLF-terminated 80 character lines are proceeded by an extraneous blank line.
+.Pp
+Sometimes line numbers for no particular reason when a search is performed.
+.Pp
+Immediate transitions from bold text to underlined text cause the
+underlining to be not existing.
+.Pp
+Sometimes searches match lines that do not contain the pattern being
+searched for.
+.Pp
+The HOME and ARROW keys will only work if you use the correct vt100
+escape sequences for them.
.Sh AUTHORS
This software is derived from software contributed to Berkeley
by
diff --git a/usr.bin/more/more.help b/usr.bin/more/more.help
index 1d5b1fb..b59ca44 100644
--- a/usr.bin/more/more.help
+++ b/usr.bin/more/more.help
@@ -1,5 +1,6 @@
Commands flagged with an asterisk (``*'') may be preceeded by a number.
- Commands of the form ``^X'' are control characters, i.e. control-X.
+ Commands of the form ``^X'' are control characters, i.e. control-X. The
+ arrow keys and page-up/down keys act as expected. Additional keys are,
h Display this help.
@@ -12,6 +13,7 @@
g * Go to line N, default 1.
G * Go to line N, default the end of the file.
p, % * Position to N percent into the file.
+ HOME Toggle horizontal scroll and line-wrap on and off
r, ^L Repaint screen.
R Repaint screen, discarding buffered input.
OpenPOWER on IntegriCloud