Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!cmcl2!brl-adm!umd5!mimsy!oddjob!gargoyle!ihnp4!cbosgd!mandrill!hal!ncoast!gaspar From: gaspar@ALMSA-1.arpa (Al Gaspar) Newsgroups: comp.sources.bugs Subject: vi glitch? Message-ID: <4897@ncoast.UUCP> Date: Sat, 17-Oct-87 21:07:53 EDT Article-I.D.: ncoast.4897 Posted: Sat Oct 17 21:07:53 1987 Date-Received: Tue, 20-Oct-87 02:03:15 EDT Sender: allbery@ncoast.UUCP Lines: 20 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 Gaspar USAMC ALMSA, ATTN: AMXAL-OW, Box 1578, St. Louis, MO 63188-1578 COMMERCIAL: (314) 263-5118 AUTOVON: 693-5118 seismo!gaspar@almsa-1.arpa