diff options
author | 2005-08-01 04:27:31 +0000 | |
---|---|---|
committer | 2005-08-01 04:27:31 +0000 | |
commit | e94ecc86a622c32318d82b25c02ec316e6bd6525 (patch) | |
tree | ac01ea84b2068635e164c0184ef18fd7f69ecfbd /bin/ksh/emacs.c | |
parent | spacing; ok deraadt@ (diff) | |
download | wireguard-openbsd-e94ecc86a622c32318d82b25c02ec316e6bd6525.tar.xz wireguard-openbsd-e94ecc86a622c32318d82b25c02ec316e6bd6525.zip |
pascoe noted that ^V in ksh emacs mode is not what you expect -- literal
next as it is every other canonical mode, or emulation of canonical mode.
change it to act like it should
ok djm david marc tdeval pvalchev
Diffstat (limited to 'bin/ksh/emacs.c')
-rw-r--r-- | bin/ksh/emacs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ksh/emacs.c b/bin/ksh/emacs.c index ebfa3461d64..bbe6ae54986 100644 --- a/bin/ksh/emacs.c +++ b/bin/ksh/emacs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: emacs.c,v 1.37 2005/03/30 17:16:37 deraadt Exp $ */ +/* $OpenBSD: emacs.c,v 1.38 2005/08/01 04:27:31 deraadt Exp $ */ /* * Emacs-like command line editing and history @@ -270,7 +270,7 @@ static struct x_defbindings const x_defbindings[] = { { XFUNC_set_mark, 1, ' ' }, { XFUNC_kill_region, 0, CTRL('W') }, { XFUNC_xchg_point_mark, 2, CTRL('X') }, - { XFUNC_version, 0, CTRL('V') }, + { XFUNC_literal, 0, CTRL('V') }, #ifdef DEBUG { XFUNC_debug_info, 1, CTRL('H') }, #endif |