Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!cbosgd!hal!ncoast!allbery From: allbery@ncoast.UUCP Newsgroups: comp.sources.bugs Subject: vi glitch? Message-ID: <2680@ncoast.UUCP> Date: Thu, 18-Jun-87 09:14:27 EDT Article-I.D.: ncoast.2680 Posted: Thu Jun 18 09:14:27 1987 Date-Received: Sun, 21-Jun-87 12:05:55 EDT Sender: allbery@ncoast.UUCP Lines: 21 Approved: allbery@ncoast.UUCP We have several flavors of UN*X running at our installation: Sperry 5000/80's running Sys V, a Plexus P60 running Sys V, a Vax 750 and a Vax 780 both running 4.2 BSD, and some Intel 310's running Xenix 3.0. We have noticed a glitch in vi on the non-BSD implementations. If you go into a large file (1000 lines or so) with vi and send some of it out to a filter with !, you will corrupt the file. We started on line 1 and did a !G and then a tee to a new filename. After three or four tries with different file names, an ls -l on the resulting files showed differing sizes and a diff with the original showed garbled data in the original file. This seems to be a bug with the vi code for pageing systems. Has anyone else experienced this? Any comments? Fixes? Cheers-- Al -- Al GasparUSAMC ALMSA, ATTN: AMXAL-OW, Box 1578, St. Louis, MO 63188-1578 COMMERCIAL: (314) 263-5118 AUTOVON: 693-5118 seismo!gaspar@almsa-1.arpa