diff options
| author | Thomas Ulmer <thomasmulmer02@gmail.com> | 2026-06-23 21:49:31 -0700 |
|---|---|---|
| committer | Thomas Ulmer <thomasmulmer02@gmail.com> | 2026-06-23 21:49:31 -0700 |
| commit | 23e0502dcc958cea4d195eb8c8a28a5c362ab69f (patch) | |
| tree | a758ea1c4a6e524b45fb108afa4ebaab7c1db36e /README | |
| parent | 874d317334fae1ddce316f9b6f4d0ce4e434bf52 (diff) | |
| parent | 9855bed0869ace4665e2776ec4d489847a0781b4 (diff) | |
combine sbrk spoof with heirloom fix for line numbers
Diffstat (limited to 'README')
| -rw-r--r-- | README | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -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, though getting gcc+glibc to include the right +set of things takes some convincing. tinycc is suggested. + Welcome to the ex/vi port! ========================== |
