From af7a7377241af78c70c7badf8ddfc79e55325899 Mon Sep 17 00:00:00 2001 From: Thomas Ulmer Date: Sun, 1 Mar 2026 11:29:12 -0800 Subject: wip vi --- Makefile | 6 +++--- ex.h | 2 ++ ex_re.c | 2 +- libuxre/re.h | 2 +- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 7fa7e5a..be2666a 100644 --- a/Makefile +++ b/Makefile @@ -130,7 +130,7 @@ INSTALL=/usr/bin/install # # If your system expands tabs to 4 spaces you should -DTABS=4 below # -FEATURES = -DLISPCODE -DCHDIR -DFASTTAG -DUCVISUAL -DBIT8 +FEATURES = -DBIT8 -DMB -DLISPCODE -DCHDIR -DTABS=4 -DFASTTAG -DUCVISUAL # # This disables the LC_CTYPE locale settings and assumes all characters @@ -190,7 +190,7 @@ OSTYPE = -DVMUNIX # raises this limit to around 1 GB, but ex will consume much more of core # and temp file space then. # -#LARGEF = -DLARGEF +LARGEF = -DLARGEF # # The next setting is a crucial one since it determines the way ex @@ -211,7 +211,7 @@ OSTYPE = -DVMUNIX # provide a good termcap file, or when setting the TERMCAP environment # variable is deemed sufficient, is the included 2.11BSD termcap library. # -TERMLIB = termlib +TERMLIB = ncurses # # Since ex uses sbrk() internally, a conflict with the libc's version of diff --git a/ex.h b/ex.h index b908bb8..c818157 100644 --- a/ex.h +++ b/ex.h @@ -207,6 +207,8 @@ typedef int bbloc; typedef short bbloc; #endif +typedef char bool; + /* * The editor does not normally use the standard i/o library. Because * we expect the editor to be a heavily used program and because it diff --git a/ex_re.c b/ex_re.c index fb00c38..653a8bf 100644 --- a/ex_re.c +++ b/ex_re.c @@ -84,7 +84,7 @@ static char sccsid[] = "@(#)ex_re.c 1.60 (gritter) 8/6/05"; #ifdef UXRE -#include +#include "regex.h" char *braslist[NBRA]; char *braelist[NBRA]; diff --git a/libuxre/re.h b/libuxre/re.h index 2738a05..64df2d0 100644 --- a/libuxre/re.h +++ b/libuxre/re.h @@ -35,7 +35,7 @@ /* #define __fnm_collate lc_collate */ /* */ #include -#include +#include "regex.h" /* #include */ #include -- cgit v1.2.3