summaryrefslogtreecommitdiff
path: root/bin/ksh/emacs.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2000-01-24 03:12:13 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2000-01-24 03:12:13 +0000
commit714a634315029e50549cfe2e2e5510d8c3e45036 (patch)
tree32f0a6d4938250a6a73d860a24568c54cb3ef230 /bin/ksh/emacs.c
parent27f8051d18857cc4833ffec976fc99729e07c752 (diff)
Make application mode arrow keys work; fixes arrow keys on the console.
Diffstat (limited to 'bin/ksh/emacs.c')
-rw-r--r--bin/ksh/emacs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/ksh/emacs.c b/bin/ksh/emacs.c
index 44a9b5b6632..2ef3ce5732e 100644
--- a/bin/ksh/emacs.c
+++ b/bin/ksh/emacs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: emacs.c,v 1.12 1999/11/14 22:04:02 d Exp $ */
+/* $OpenBSD: emacs.c,v 1.13 2000/01/24 03:12:12 millert Exp $ */
/*
* Emacs-like command line editing and history
@@ -318,6 +318,7 @@ static struct x_defbindings const x_defbindings[] = {
* entries.
*/
{ XFUNC_meta2, 1, '[' },
+ { XFUNC_meta2, 1, 'O' },
{ XFUNC_prev_com, 2, 'A' },
{ XFUNC_next_com, 2, 'B' },
{ XFUNC_mv_forw, 2, 'C' },