A portable multi-file text editor
the smallest full-function vi clone
Chris and John Downey
Xvi is a portable multi-window version of the UNIX editor ‘vi’, derived from "STEVIE" in the 1980s.
The program was originally developed for the Atari ST, but has been ported to AIX, BSD, HP-UX, MS-DOS, OS/2, QNX, Solaris, SunOS, Sunview, System V, Windows NT and Xenix/386 as well. In spite of its name, there is, as yet, no X-Windows-specific version of it.
It uses text windows separated by horizontal status lines on character mode displays and the windows may represent different files being edited, or different views on to the same file.
Xvi is the full-feature vi clone with the smallest program size (under 100 Kbytes, compiling with clang -Os) and memory use.
|Program size under x86 Linux
(Debian squeeze, hence gcc-4.9 -O2)
Compiling xvi with gcc -Os gets the program text down to 104544 bytes; with clang -Os, 98872 bytes. elvis-tiny with clang -Os is a mere 62439 bytes.
Debian/Ubuntu for i386
Debian/Ubuntu for amd64
The current source code release is
Older releases of the source code are: