summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2000-12-01 15:36:10 +0000
committerru <ru@FreeBSD.org>2000-12-01 15:36:10 +0000
commita0f3c80b90dd2addddb37aa3047d008fc519b99a (patch)
tree07595eeac2fedf2d055a3af1ed9b3a8f88acc95c /contrib
parent59cc89c2c2e686da3bdab2d5cfac4f33462d29fe (diff)
downloadFreeBSD-src-a0f3c80b90dd2addddb37aa3047d008fc519b99a.zip
FreeBSD-src-a0f3c80b90dd2addddb37aa3047d008fc519b99a.tar.gz
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>)
Diffstat (limited to 'contrib')
-rw-r--r--contrib/nvi/cl/cl_bsd.c1
-rw-r--r--contrib/nvi/cl/cl_term.c1
2 files changed, 2 insertions, 0 deletions
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"},
OpenPOWER on IntegriCloud