[BusyBox] vi applet for busybox

Sterling Huxley sterling at europa.com
Mon Apr 2 08:01:27 UTC 2001


This patch contains a vi-like editor applet for busybox.  It can also
be used standalone.  With all features turned on the vi.o binary is 37K
with text size of 22K.  With minimal features the .o is 22K and text is 12K.

Some of the features are:
        Pattern searches with / and ?, but, no magic with * and .
        Last command repeat with '.'
        Line marking with  'x
        Named buffers with  "x for yank and put
        Readonly with -R command line arg
        Some colon mode commands with ':'
        Settable options with ":set"
                (autoindent, ignorecase, showmatch, tabstop=#)
        Signal catching- ^C
        Job suspend and resume with ^Z
        Adapt to window re-sizes

The file is held completely in memory.  This could be good if you don't have
a disk drive, or bad if the file is too big for memory.


Sterling Huxley
sterling at europa.com
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: vi.patch
Url: http://lists.busybox.net/pipermail/busybox/attachments/20010402/5fd10c61/attachment.diff 


More information about the busybox mailing list