From a0f3c80b90dd2addddb37aa3047d008fc519b99a Mon Sep 17 00:00:00 2001 From: ru Date: Fri, 1 Dec 2000 15:36:10 +0000 Subject: Follow POLA and bind the 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 key on AT-compatible keyboards (Ruslan Ermilov ) > ============================================================================= > > 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 key on AT-compatible keyboards (Ruslan Ermilov ) --- contrib/nvi/cl/cl_bsd.c | 1 + contrib/nvi/cl/cl_term.c | 1 + 2 files changed, 2 insertions(+) (limited to 'contrib') diff --git a/contrib/nvi/cl/cl_bsd.c b/contrib/nvi/cl/cl_bsd.c index 4a06a54..22124e5 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 e400740..c36bb38 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"}, -- cgit v1.1