From 9855bed0869ace4665e2776ec4d489847a0781b4 Mon Sep 17 00:00:00 2001 From: Thomas Ulmer Date: Mon, 2 Mar 2026 19:57:52 -0800 Subject: cleanup and human facing notes --- .gitignore | 7 +++++++ README | 16 ++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 .gitignore 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! ========================== -- cgit v1.2.3