diff options
| author | Ruslan Ermilov <ru@FreeBSD.org> | 2000-12-01 15:36:10 +0000 |
|---|---|---|
| committer | Ruslan Ermilov <ru@FreeBSD.org> | 2000-12-01 15:36:10 +0000 |
| commit | b8d4dc6c68ea4c4b7942c0b188c18a5aca4f6396 (patch) | |
| tree | 07595eeac2fedf2d055a3af1ed9b3a8f88acc95c | |
| parent | b8ba871bd943582ed54f83888569d65b356469bd (diff) | |
Follow POLA and bind the <End> key to the `$' command.
This is committed to the vendor (BOSTIC) branch because
it was accepted (committed) by ``nvi'' maintainers:
On Fri, Dec 01, 2000 at 03:51:14PM +0100, Sven Verdoolaege wrote:
[...]
> RCS file: /b/CVSROOT/vi/cl/cl_bsd.c,v
> Working file: cl_bsd.c
> head: 8.32
> branch:
> locks: strict
> access list:
> symbolic names:
> nvi1-81-1: 8.31
> nvi1-81-0: 8.30
> nvi1-80: 8.29.0.2
> keyword substitution: kv
> total revisions: 32; selected revisions: 1
> description:
> ----------------------------
> revision 8.32
> date: 2000/12/01 13:56:17; author: skimo; state: Exp; lines: +2 -1
> allow use of <End> key on AT-compatible keyboards (Ruslan Ermilov <ru@FreeBSD.org>)
> =============================================================================
>
> RCS file: /b/CVSROOT/vi/cl/cl_term.c,v
> Working file: cl_term.c
> head: 10.28
> branch:
> locks: strict
> access list:
> symbolic names:
> nvi1-81-1: 10.27
> nvi1-81-0: 10.23
> nvi1-80: 10.23.0.2
> keyword substitution: kv
> total revisions: 47; selected revisions: 1
> description:
> ----------------------------
> revision 10.28
> date: 2000/12/01 13:56:18; author: skimo; state: Exp; lines: +2 -1
> allow use of <End> key on AT-compatible keyboards (Ruslan Ermilov <ru@FreeBSD.org>)
Notes
Notes:
svn path=/vendor/nvi/dist/; revision=69482
| -rw-r--r-- | contrib/nvi/cl/cl_bsd.c | 1 | ||||
| -rw-r--r-- | contrib/nvi/cl/cl_term.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/contrib/nvi/cl/cl_bsd.c b/contrib/nvi/cl/cl_bsd.c index 4a06a54af2f1..22124e5780b2 100644 --- a/contrib/nvi/cl/cl_bsd.c +++ b/contrib/nvi/cl/cl_bsd.c @@ -210,6 +210,7 @@ static const TL list[] = { "kdl1", "kL", /* Delete line. */ "ked", "kS", /* Delete to end of screen. */ "kel", "kE", /* Delete to eol. */ + "kend", "@7", /* Go to eol. */ "khome", "kh", /* Go to sol. */ "kich1", "kI", /* Insert at cursor. */ "kil1", "kA", /* Insert line. */ diff --git a/contrib/nvi/cl/cl_term.c b/contrib/nvi/cl/cl_term.c index e4007403870e..c36bb3830e9f 100644 --- a/contrib/nvi/cl/cl_term.c +++ b/contrib/nvi/cl/cl_term.c @@ -51,6 +51,7 @@ static TKLIST const c_tklist[] = { /* Command mappings. */ {"kel", "D", "delete to eol"}, {"kind", "\004", "scroll down"}, /* ^D */ {"kll", "$", "go to eol"}, + {"kend", "$", "go to eol"}, {"khome", "^", "go to sol"}, {"kich1", "i", "insert at cursor"}, {"kdl1", "dd", "delete line"}, |
