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
1 changed files with 11 additions and 8 deletions

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 $
.\"-
.\" 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.
.It Xo backward\-char:
.Op Ar n
.No \*(haB , \*(haXD
.No \*(haB , \*(haXD , ANSI-CurLeft
.Xc
Moves the cursor backward
.Ar n
@ -4640,7 +4640,7 @@ and dollar sign
characters.
.It beginning\-of\-history: \*(ha[\*(Lt
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.
.It Xo capitalise\-word:
.Op Ar n
@ -4694,7 +4694,10 @@ Note that \*(haI is usually generated by the TAB (tabulator) key.
Deletes
.Ar n
characters before the cursor.
.It delete\-char\-forward: Op Ar n
.It Xo delete\-char\-forward:
.Op Ar n
.No ANSI-Del
.Xc
Deletes
.Ar n
characters after the cursor.
@ -4714,7 +4717,7 @@ Deletes characters after the cursor up to the end of
words.
.It Xo down\-history:
.Op Ar n
.No \*(haN , \*(haXB
.No \*(haN , \*(haXB , ANSI-CurDown
.Xc
Scrolls the history buffer forward
.Ar n
@ -4746,7 +4749,7 @@ The actual command executed is
.Ic fc \-e ${VISUAL:\-${EDITOR:\-vi}} Ar n .
.It end\-of\-history: \*(ha[\*(Gt
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.
.It eot: \*(ha_
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.
.It Xo forward\-char:
.Op Ar n
.No \*(haF , \*(haXC
.No \*(haF , \*(haXC , ANSI-CurRight
.Xc
Moves the cursor forward
.Ar n
@ -4910,7 +4913,7 @@ exchanges the previous and current characters and moves the cursor one
character to the right.
.It Xo up\-history:
.Op Ar n
.No \*(haP , \*(haXA
.No \*(haP , \*(haXA , ANSI-CurUp
.Xc
Scrolls the history buffer backward
.Ar n