summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore7
-rw-r--r--README16
2 files changed, 23 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..b7e5cc2
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,7 @@
+*.o
+*~
+ex
+exrecover
+expreserve
+libterm/libtermlib.a
+libuxre/libuxre.a
diff --git a/README b/README
index e4cbce0..8be20a0 100644
--- a/README
+++ b/README
@@ -1,3 +1,19 @@
+TCCQ's fork of vi
+=========================
+
+This is a small fork of a port of vi to modern posix systems. The changes
+are primarily aimed at making compile and work with musl. Specifically
+instead of allocating scratch space with sbrk it just preallocates a
+large (64MB) buffer in .bss and relies on OS level paging to not waste
+more physical memory than is necessary. Note that this means that the
+memory usage is unlikely to decrease meaningfully after going up.
+For vi which often doesn't have super long running sessions I deem this
+acceptable.
+
+This version compiles and works nicely with tinycc and/or musl. Any C99
+compiler should work fine.
+
+
Welcome to the ex/vi port!
==========================