summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Ulmer <thomasmulmer02@gmail.com>2026-03-01 11:29:12 -0800
committerThomas Ulmer <thomasmulmer02@gmail.com>2026-03-01 11:29:12 -0800
commitaf7a7377241af78c70c7badf8ddfc79e55325899 (patch)
treede028df5c95dcf8add63fe31f80b6ccb001ce659
parent15bd7946cc838a3151c357e4b0bc1ab85eecda62 (diff)
wip vi
-rw-r--r--Makefile6
-rw-r--r--ex.h2
-rw-r--r--ex_re.c2
-rw-r--r--libuxre/re.h2
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 <regex.h>
+#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 */ /* <fnmatch.h> */
#include <limits.h>
-#include <regex.h>
+#include "regex.h"
/* #include <fnmatch.h> */
#include <colldata.h>