1DOLLY 72PACKAGE vi3REQUIRES HOST runtime@045# Neatvi, a small vi and ex, from the files of upstream's tagged archive,6# unchanged, by the rules of its Makefile. It draws with escape sequences of7# its own and reads no terminal database. Its ! commands and language servers8# start by fork, which fails here, and it says so.9FROM /v0.1.5/Dollyfile-system-tools 39e8ad7c80d06b7a0c420bbeaae2e6b2423e7e633d38640e82d72a73c20e232a1011REQUIRES HEADER libc12REQUIRES TOOL   cc13REQUIRES TOOL   cp14REQUIRES TOOL   gzip15REQUIRES TOOL   ln16REQUIRES TOOL   make17REQUIRES TOOL   mkdir18REQUIRES TOOL   mv19REQUIRES TOOL   printf20REQUIRES TOOL   sed21REQUIRES TOOL   tar22REQUIRES TOOL   test2324SOURCE /v0.1.5/dist/static/tools/neatvi-20.tar.gz e1d9a89d770aa5bb60da472be1a526eb1d99be9267c4d6067fc625f10efc8fe5 /tmp/neatvi.tar.gz25SLOP gzip -dc /tmp/neatvi.tar.gz | tar -xf - -C /tmp && mv /tmp/neatvi-20 /tmp/neatvi2627FILE /tmp/vi.mk28    .RECIPEPREFIX := >29    S := /tmp/neatvi30    BIN := /usr/bin31    NAMES := vi ex lbuf mot sbuf ren dir syn reg led uc term rset rstr regex cmd tag conf lsp json32    $(BIN)/vi: $(addprefix $S/,$(addsuffix .o,$(NAMES)))33    >cc $^ -o $@34    $S/%.o: $S/%.c $S/vi.h $S/conf.h $S/kmap.h35    >cc -O2 -c $< -o $@36SLOP make -j4 -f /tmp/vi.mk37SLOP ln -s vi /usr/bin/ex38# Neatvi ships no licence file or manual page: its sources open with the39# licence, and its README is the manual.40SLOP mkdir -p /usr/share/licenses/vi41SLOP sed -n 2,16p /tmp/neatvi/vi.c > /usr/share/licenses/vi/LICENSE42SLOP mkdir -p /usr/share/doc/vi && cp /tmp/neatvi/README /usr/share/doc/vi/README4344SLOP printf 'one\ntwo\n' > /tmp/vi-check && printf '%s\n' '%s/two/2/' 'w' 'q' | ex -s /tmp/vi-check > /dev/null && test "$(sed -n 2p /tmp/vi-check)" = 24546EXPORTS TOOL vi47EXPORTS TOOL ex48FILE /usr/share/licenses/vi/LICENSE49FILE /usr/share/doc/vi/README50FILE /usr/share/man/cat1/vi.151    vi, ex: Neatvi, a small vi with an ex mode, from upstream's files unchanged.52    53      vi FILE...        edits the files54      ex FILE...        edits them in ex mode55      :wq writes and leaves; :q! leaves without writing.56    57    It draws with escape sequences of its own and needs no terminal database.58    What starts another program (:!, a filter through a command, a language59    server) needs fork, which Dolly does not have: it fails and says so.60    Upstream's README lists the commands and options: /usr/share/doc/vi/README.61