summaryrefslogtreecommitdiff
path: root/usr.bin/vi/common/key.c
diff options
context:
space:
mode:
authormichaels <michaels@cvs.openbsd.org>1996-10-16 01:19:02 +0000
committermichaels <michaels@cvs.openbsd.org>1996-10-16 01:19:02 +0000
commitbbac58ea85fcdd5f15449819005e17cd93c3e14a (patch)
tree46cac5bf539a167855f9d647a2047e9d9fe89608 /usr.bin/vi/common/key.c
parentbdd4fa6809d3bd31f8890df0ca821dcfd660042f (diff)
nvi 1.78:
+ Fix bugs when both the leftright scrolling and number edit options were on. + Fix bug where splitting in the middle of the screen could repaint incorrectly. + Fix first-nul in input bug, where random garbage was inserted. + Correct search and mark-as-motion-command bug, it's a line mode action if the search starts at or before the first non<blank>. + Fix bug autoindent bug, where ^D could shift too far in the line. + Fix core dump where ! command called from the .exrc file. + Add the -S command-line option, which initializes vi to have the secure edit option preset.
Diffstat (limited to 'usr.bin/vi/common/key.c')
-rw-r--r--usr.bin/vi/common/key.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/vi/common/key.c b/usr.bin/vi/common/key.c
index 474efe2da5e..e1311ab571b 100644
--- a/usr.bin/vi/common/key.c
+++ b/usr.bin/vi/common/key.c
@@ -10,7 +10,7 @@
#include "config.h"
#ifndef lint
-static const char sccsid[] = "@(#)key.c 10.32 (Berkeley) 6/30/96";
+static const char sccsid[] = "@(#)key.c 10.33 (Berkeley) 9/24/96";
#endif /* not lint */
#include <sys/types.h>
@@ -561,7 +561,7 @@ retry: istimeout = remap_cnt = 0;
* If we're reading new characters, check any scripting
* windows for input.
*/
- if (F_ISSET(gp, G_SCRIPT) && sscr_input(sp))
+ if (F_ISSET(gp, G_SCRWIN) && sscr_input(sp))
return (1);
loop: if (gp->scr_event(sp, argp,
LF_ISSET(EC_INTERRUPT | EC_QUOTED | EC_RAW), timeout))