Path: utzoo!yunexus!ists!jarvis.csri.toronto.edu!mailrus!iuvax!watmath!mks.com!andy From: andy@mks.com (Andy Toy) Newsgroups: comp.sys.ibm.pc Subject: Re: vi for MS-DOS? Message-ID: <1989Nov17.193306.3986@mks.com> Date: 17 Nov 89 19:33:06 GMT Article-I.D.: mks.1989Nov17.193306.3986 References: <13219@silica.BBN.COM> <141900042@occrsh.ATT.COM> Reply-To: andy@mks.com (Andy Toy) Organization: Mortice Kern Systems, Waterloo, Ontario, Canada Lines: 14 In article <141900042@occrsh.ATT.COM> klc@occrsh.ATT.COM writes: >Does anyone know if the MKS version supports a ".exrc" type file with >their vi?? I have the MKS Toolkit (it includes vi) but, it does not say >anything about a ".exrc" type file, any ideas? Yep, it does support it. Except that it is named ex.rc and is searched for in the current directory and then the HOME directory. Note that you may have to set the HOME environment variable. The other thing that can be done is to set the EXINIT environment variable to something like `so x:/your/own/ex.rc' which will source the named file of commands. -- Andy Toy, Mortice Kern Systems Inc., Internet: andy@mks.com 35 King Street North, Waterloo, UUCP: uunet!watmath!mks!andy Ontario, CANADA N2J 2W9 Phone: 519/884-2251 FAX: 519/884-8861