document currently bound ANSI cursor keys (↑↓←→ Home End Del)

This commit is contained in:
tg 2009-05-16 14:44:37 +00:00
parent 1535151525
commit e7c565b2aa

19
mksh.1
View File

@ -1,4 +1,4 @@
.\" $MirOS: src/bin/mksh/mksh.1,v 1.161 2009/05/16 14:34:58 tg Exp $ .\" $MirOS: src/bin/mksh/mksh.1,v 1.162 2009/05/16 14:44:37 tg Exp $
.\" $OpenBSD: ksh.1,v 1.128 2009/03/06 12:28:36 jmc Exp $ .\" $OpenBSD: ksh.1,v 1.128 2009/03/06 12:28:36 jmc Exp $
.\"- .\"-
.\" Try to make GNU groff and AT&T nroff more compatible .\" Try to make GNU groff and AT&T nroff more compatible
@ -4623,7 +4623,7 @@ Simply causes the character to appear as literal input.
Most ordinary characters are bound to this. Most ordinary characters are bound to this.
.It Xo backward\-char: .It Xo backward\-char:
.Op Ar n .Op Ar n
.No \*(haB , \*(haXD .No \*(haB , \*(haXD , ANSI-CurLeft
.Xc .Xc
Moves the cursor backward Moves the cursor backward
.Ar n .Ar n
@ -4640,7 +4640,7 @@ and dollar sign
characters. characters.
.It beginning\-of\-history: \*(ha[\*(Lt .It beginning\-of\-history: \*(ha[\*(Lt
Moves to the beginning of the history. Moves to the beginning of the history.
.It beginning\-of\-line: \*(haA .It beginning\-of\-line: \*(haA, ANSI-Home
Moves the cursor to the beginning of the edited input line. Moves the cursor to the beginning of the edited input line.
.It Xo capitalise\-word: .It Xo capitalise\-word:
.Op Ar n .Op Ar n
@ -4694,7 +4694,10 @@ Note that \*(haI is usually generated by the TAB (tabulator) key.
Deletes Deletes
.Ar n .Ar n
characters before the cursor. characters before the cursor.
.It delete\-char\-forward: Op Ar n .It Xo delete\-char\-forward:
.Op Ar n
.No ANSI-Del
.Xc
Deletes Deletes
.Ar n .Ar n
characters after the cursor. characters after the cursor.
@ -4714,7 +4717,7 @@ Deletes characters after the cursor up to the end of
words. words.
.It Xo down\-history: .It Xo down\-history:
.Op Ar n .Op Ar n
.No \*(haN , \*(haXB .No \*(haN , \*(haXB , ANSI-CurDown
.Xc .Xc
Scrolls the history buffer forward Scrolls the history buffer forward
.Ar n .Ar n
@ -4746,7 +4749,7 @@ The actual command executed is
.Ic fc \-e ${VISUAL:\-${EDITOR:\-vi}} Ar n . .Ic fc \-e ${VISUAL:\-${EDITOR:\-vi}} Ar n .
.It end\-of\-history: \*(ha[\*(Gt .It end\-of\-history: \*(ha[\*(Gt
Moves to the end of the history. Moves to the end of the history.
.It end\-of\-line: \*(haE .It end\-of\-line: \*(haE, ANSI-End
Moves the cursor to the end of the input line. Moves the cursor to the end of the input line.
.It eot: \*(ha_ .It eot: \*(ha_
Acts as an end-of-file; this is useful because edit-mode input disables Acts as an end-of-file; this is useful because edit-mode input disables
@ -4771,7 +4774,7 @@ globbing on the word.
If no files match the pattern, the bell is rung. If no files match the pattern, the bell is rung.
.It Xo forward\-char: .It Xo forward\-char:
.Op Ar n .Op Ar n
.No \*(haF , \*(haXC .No \*(haF , \*(haXC , ANSI-CurRight
.Xc .Xc
Moves the cursor forward Moves the cursor forward
.Ar n .Ar n
@ -4910,7 +4913,7 @@ exchanges the previous and current characters and moves the cursor one
character to the right. character to the right.
.It Xo up\-history: .It Xo up\-history:
.Op Ar n .Op Ar n
.No \*(haP , \*(haXA .No \*(haP , \*(haXA , ANSI-CurUp
.Xc .Xc
Scrolls the history buffer backward Scrolls the history buffer backward
.Ar n .Ar n