Xref: utzoo comp.misc:5357 comp.sys.ibm.pc:25577 comp.unix.questions:11989 Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!decwrl!sun!pitstop!sundc!seismo!uunet!edsews!bgalli!bga From: bga@bgalli.eds.com (Billy G. Allie) Newsgroups: comp.misc,comp.sys.ibm.pc,comp.unix.questions Subject: MKS vi initialization (was Re: vi-like editor for the IBM PC) Summary: MKS vi initialization via ex.rc and the EXINIT variable. Message-ID: <337@bgalli.eds.com> Date: 2 Mar 89 04:33:48 GMT References: <688@nvuxl.UUCP+ <1184@houxv.ATT.COM> <4872@sfsup.UUCP> Organization: BGA's home system, Dearborn MI Lines: 18 In article <4872@sfsup.UUCP>, saal@sfsup.UUCP (+Saal S.) writes: > > How does this [MKS's] vi deal with the ".exrc" file? > I assume there is a variable you can set somewhere > that sets the name? > The name of the ".exrc" file for MKS's vi is "ex.rc". The search order for this file is the current directory followed by the directory given by the HOME environmental variable followed by the root directory. Also, if the environmental variable EXINIT exists, it's contents (which are ex commands) will be executed. This occurs in place of the execution of the commands in "ex.rc". -- ____ | Billy G. Allie | Internet..: bga@bgalli.eds.com | /| | 7436 Hartwell | UUCP......: uunet!{mcf|edsews}!bgalli!bga |-/-|----- | Dearborn, MI 48126 | Compuserve: 76337,2061 |/ |LLIE | (313) 582-1540 | Genie.....: BGALLIE