Xref: utzoo comp.unix.misc:687 comp.unix.questions:27406 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!rutgers!mcnc!gatech!bloom-beacon!eru!hagbard!sunic!mcsun!hp4nl!utrcu1!infnews!infnews!stadt From: stadt@cs.utwente.nl (Richard van de Stadt) Newsgroups: comp.unix.misc,comp.unix.questions Subject: Re: A question on .exrc while using vi Keywords: exrc vi Message-ID: <1990Dec6.135646@cs.utwente.nl> Date: 6 Dec 90 12:56:46 GMT References: <5315@graphite20.UUCP> Sender: usenet@cs.utwente.nl Reply-To: stadt@cs.utwente.nl (Richard van de Stadt) Organization: University of Twente, Dept. of Computer Science Lines: 22 In article <5315@graphite20.UUCP>, joshi@motcid.UUCP (Abhay B. Joshi) writes: |> I couldn't find a newsgroup for vi questions, hence this intrusion. |> |> I have a simple text-file containing the following text (3 lines): |> |> The goal: |> All I am trying to do is replace the 'the's by 'an's. |> That's all. |> |> I set up a .exrc in the current directory which looks like (2 lines): |> :g/the/ s//an/g |> |> Now I tried to do a 'vi text-file', I got a coredump! About 10 times. |> Then I deleted the .exrc file and put the command in EXINIT. |> I got a coredump again. (No coredump if neither .exrc nor EXINIT exists) |> On a SPARCstation 1+ I get a segmentation fault -- R.R. van de Stadt (Richard) Email: stadt@cs.utwente.nl