1DOLLY 82PACKAGE vi3REQUIRES HOST runtime@045678910FROM /Dollyfile-system-build 0c72e09eba84571d4f8634cf6e7507eb1be1b9b8aa1fae61f6b0ec884b26b6fb11USE /Dollyfile-gzip cef69a22c3b9f73889f4c819fcfaee2fb4487474ea4efa364117b8796465d1a41213REQUIRES HEADER libc14REQUIRES TOOL cat15REQUIRES TOOL cc16REQUIRES TOOL cp17REQUIRES TOOL gzip18REQUIRES TOOL make19REQUIRES TOOL mkdir20REQUIRES TOOL mv21REQUIRES TOOL printf22REQUIRES TOOL tar23REQUIRES TOOL test2425SOURCE /dist/static/default/neatvi-20.tar.gz e1d9a89d770aa5bb60da472be1a526eb1d99be9267c4d6067fc625f10efc8fe5 /tmp/neatvi.tar.gz26SLOP gzip -dc /tmp/neatvi.tar.gz | tar -xf - -C /tmp && mv /tmp/neatvi-20 /tmp/neatvi2728FILE /tmp/vi.mk29 .RECIPEPREFIX := >30 S := /tmp/neatvi31 BIN := /usr/bin32 NAMES := vi ex lbuf mot sbuf ren dir syn reg led uc term rset rstr regex cmd tag conf lsp json33 $(BIN)/vi: $(addprefix $S/,$(addsuffix .o,$(NAMES)))34 >cc $^ -o $@35 $S/%.o: $S/%.c $S/vi.h $S/conf.h $S/kmap.h36 >cc -O2 -c $< -o $@37SLOP make -j4 -f /tmp/vi.mk38FILE /usr/bin/ex3940 exec vi -e "$@"414243SLOP mkdir -p /usr/share/licenses/vi /usr/share/doc/vi && cp /tmp/neatvi/README /usr/share/doc/vi/README44SLOP printf '%s\n' '2,16w /usr/share/licenses/vi/LICENSE' 'q' | ex -s /tmp/neatvi/vi.c > /dev/null4546SLOP printf 'one\ntwo\n' > /tmp/vi-check && printf '%s\n' '%s/two/2/' 'w' 'q' | ex -s /tmp/vi-check > /dev/null && test "$(cat /tmp/vi-check)" = "$(printf 'one\n2')"4748EXPORTS TOOL vi49EXPORTS TOOL ex50FILE /usr/share/licenses/vi/LICENSE51FILE /usr/share/doc/vi/README5253FILE /usr/share/man/cat1/vi.154 VI(1), EX(1)55 56 vi, ex: Neatvi, a small vi with an ex mode, from upstream's files unchanged.57 58 vi FILE... edits the files59 ex FILE... edits them in ex mode60 :wq writes and leaves; :q! leaves without writing.61 62 It draws with escape sequences of its own and needs no terminal database.63 What starts another program (:!, a filter through a command, a language64 server) needs fork, which Dolly does not have: it fails and says so.65 Upstream's README lists the commands and options: /usr/share/doc/vi/README.66SLOP cp /usr/share/man/cat1/vi.1 /usr/share/man/cat1/ex.167FILE /usr/share/man/cat1/ex.168