diff options
author | michaels <michaels@cvs.openbsd.org> | 1996-10-16 01:19:02 +0000 |
---|---|---|
committer | michaels <michaels@cvs.openbsd.org> | 1996-10-16 01:19:02 +0000 |
commit | bbac58ea85fcdd5f15449819005e17cd93c3e14a (patch) | |
tree | 46cac5bf539a167855f9d647a2047e9d9fe89608 /usr.bin/vi/cl/cl_funcs.c | |
parent | bdd4fa6809d3bd31f8890df0ca821dcfd660042f (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/cl/cl_funcs.c')
-rw-r--r-- | usr.bin/vi/cl/cl_funcs.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/usr.bin/vi/cl/cl_funcs.c b/usr.bin/vi/cl/cl_funcs.c index b4dce4fcd2b..40315ee85e8 100644 --- a/usr.bin/vi/cl/cl_funcs.c +++ b/usr.bin/vi/cl/cl_funcs.c @@ -10,7 +10,7 @@ #include "config.h" #ifndef lint -static const char sccsid[] = "@(#)cl_funcs.c 10.48 (Berkeley) 8/11/96"; +static const char sccsid[] = "@(#)cl_funcs.c 10.50 (Berkeley) 9/24/96"; #endif /* not lint */ #include <sys/types.h> @@ -572,7 +572,7 @@ cl_suspend(sp, allowedp) */ if (F_ISSET(sp, SC_EX)) { /* Save the terminal settings, and restore the original ones. */ - if (F_ISSET(gp, G_STDIN_TTY)) { + if (F_ISSET(clp, CL_STDIN_TTY)) { (void)tcgetattr(STDIN_FILENO, &t); (void)tcsetattr(STDIN_FILENO, TCSASOFT | TCSADRAIN, &clp->orig); @@ -584,7 +584,7 @@ cl_suspend(sp, allowedp) /* Time passes ... */ /* Restore terminal settings. */ - if (F_ISSET(gp, G_STDIN_TTY)) + if (F_ISSET(clp, CL_STDIN_TTY)) (void)tcsetattr(STDIN_FILENO, TCSASOFT | TCSADRAIN, &t); return (0); } @@ -649,7 +649,7 @@ cl_suspend(sp, allowedp) #ifdef HAVE_BSD_CURSES /* Restore terminal settings. */ - if (F_ISSET(gp, G_STDIN_TTY)) + if (F_ISSET(clp, CL_STDIN_TTY)) (void)tcsetattr(STDIN_FILENO, TCSASOFT | TCSADRAIN, &t); (void)cl_attr(sp, SA_ALTERNATE, 1); @@ -684,8 +684,8 @@ void cl_usage() { #define USAGE "\ -usage: ex [-eFRrsv] [-c command] [-t tag] [-w size] [file ...]\n\ -usage: vi [-eFlRrv] [-c command] [-t tag] [-w size] [file ...]\n" +usage: ex [-eFRrSsv] [-c command] [-t tag] [-w size] [file ...]\n\ +usage: vi [-eFlRrSv] [-c command] [-t tag] [-w size] [file ...]\n" (void)fprintf(stderr, "%s", USAGE); #undef USAGE } |