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.
This commit is contained in:
parent
db0d7f4131
commit
3fc3b10351
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=55103
@ -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
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user