diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 1996-07-24 16:16:11 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 1996-07-24 16:16:11 +0000 |
commit | 9fe0ebe622331e4ca8b324440857ac3415cf231e (patch) | |
tree | da7d517118e7d40dfef8b4943e368ecbd43475cb /usr.bin/vi/ex/ex.h | |
parent | 4e78eb09c86098d70b62e357fffcf4c3d379074f (diff) |
bring vi/ex up to 1.71
Diffstat (limited to 'usr.bin/vi/ex/ex.h')
-rw-r--r-- | usr.bin/vi/ex/ex.h | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/usr.bin/vi/ex/ex.h b/usr.bin/vi/ex/ex.h index 0cfb6b7c028..cd18ced76ab 100644 --- a/usr.bin/vi/ex/ex.h +++ b/usr.bin/vi/ex/ex.h @@ -6,7 +6,7 @@ * * See the LICENSE file for redistribution information. * - * @(#)ex.h 10.22 (Berkeley) 5/16/96 + * @(#)ex.h 10.23 (Berkeley) 6/30/96 */ #define PROMPTCHAR ':' /* Prompt using a colon. */ @@ -61,17 +61,6 @@ extern EXCMDLIST const cmds[]; /* Table of ex commands. */ } \ } -/* - * XXX - * There's a chance that the last command in the string, source file or the @ - * buffer or global or v commands is a search command. All search commands - * must be nul-terminated -- the supporting RE routines require it for historic - * reasons, and we don't want our mid-level routines to copy the strings before - * performing searches. So, we allocate an extra character in various places, - * and make it a nul. - */ -#define SEARCH_TERMINATION 1 - /* Range structures for global and @ commands. */ typedef struct _range RANGE; struct _range { /* Global command range. */ @@ -160,8 +149,9 @@ struct _excmd { #define E_MODIFY 0x00200000 /* File name expansion modified arg. */ #define E_MOVETOEND 0x00400000 /* Move to the end of the file first. */ #define E_NEWLINE 0x00800000 /* Found ending <newline>. */ -#define E_USELASTCMD 0x01000000 /* Use the last command. */ -#define E_VISEARCH 0x02000000 /* It's really a vi search command. */ +#define E_SEARCH_WMSG 0x01000000 /* Display search-wrapped message. */ +#define E_USELASTCMD 0x02000000 /* Use the last command. */ +#define E_VISEARCH 0x04000000 /* It's really a vi search command. */ u_int32_t flags; /* Current flags. */ }; |