diff options
author | bde <bde@FreeBSD.org> | 1997-07-03 03:28:27 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1997-07-03 03:28:27 +0000 |
commit | e2f0a0f35c8c3ecbae359c67f0d5b3aac5ce43dc (patch) | |
tree | cfd1bb56bef2f8964dc85e334b5f5531a8997455 /lib/libedit/term.c | |
parent | 4e789e88d887b2015822fd4ddb14016866f05f97 (diff) | |
download | FreeBSD-src-e2f0a0f35c8c3ecbae359c67f0d5b3aac5ce43dc.zip FreeBSD-src-e2f0a0f35c8c3ecbae359c67f0d5b3aac5ce43dc.tar.gz |
Import Lite2's src/lib, except for non-i386 machine-dependent directories,
libc/db, libc/gen/crypt.* and libtelnet. All affected files except 3
unimportant ones have already left the vendor branch.
Diffstat (limited to 'lib/libedit/term.c')
-rw-r--r-- | lib/libedit/term.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libedit/term.c b/lib/libedit/term.c index 4971ef1..4b793b7 100644 --- a/lib/libedit/term.c +++ b/lib/libedit/term.c @@ -35,7 +35,7 @@ */ #if !defined(lint) && !defined(SCCSID) -static char sccsid[] = "@(#)term.c 8.1 (Berkeley) 6/4/93"; +static char sccsid[] = "@(#)term.c 8.2 (Berkeley) 4/30/95"; #endif /* not lint && not SCCSID */ /* @@ -945,18 +945,22 @@ term_init_arrow(el) fkey_t *arrow = el->el_term.t_fkey; arrow[A_K_DN].name = "down"; + arrow[A_K_DN].key = T_kd; arrow[A_K_DN].fun.cmd = ED_NEXT_HISTORY; arrow[A_K_DN].type = XK_CMD; arrow[A_K_UP].name = "up"; + arrow[A_K_UP].key = T_ku; arrow[A_K_UP].fun.cmd = ED_PREV_HISTORY; arrow[A_K_UP].type = XK_CMD; arrow[A_K_LT].name = "left"; + arrow[A_K_LT].key = T_kl; arrow[A_K_LT].fun.cmd = ED_PREV_CHAR; arrow[A_K_LT].type = XK_CMD; arrow[A_K_RT].name = "right"; + arrow[A_K_RT].key = T_kr; arrow[A_K_RT].fun.cmd = ED_NEXT_CHAR; arrow[A_K_RT].type = XK_CMD; |