Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!rosevax!bert.Rosemount.COM!mikef From: mikef@bert.Rosemount.COM (Michael Foerster) Newsgroups: comp.binaries.ibm.pc.d Subject: Re: Elvis quirks -- solutions?? Keywords: elvis vi Message-ID: <9629@rosevax.Rosemount.COM> Date: 27 Jan 91 02:03:28 GMT References: <1991Jan22.185655.5047@intelhf.hf.intel.com> Sender: news@rosevax.Rosemount.COM Reply-To: mikef@bert.Rosemount.COM (Michael Foerster) Distribution: na Organization: Rosemount Inc., Burnsville, MN Lines: 66 In article <1991Jan22.185655.5047@intelhf.hf.intel.com> you write: >I have been thinking of using Steve Kirkendall's Elvis as an alternate to >the older PC/VI. I've hit upon a couple of quirks that seem to limit >its usefulness under DOS. > >1) The documentation suggests that under DOS, elvis searches for > .\elvis.rc. In other words, only in your current directory. PC/VI, > on the other hand, will look in your HOME directory for vi.ini. > I don't care to have elvis.rc's sprinkled all other the place, so I > tried another tack (see below). Nevertheless, is there a way to get > elvis to search under HOME? (I do not have source, only the binary as > posted to c.b.i.p) > What I did was to change the binary of the file by editing it with a PD binary file editor called "fm.com" (similar to the utility in the Norton Utilities) and changed every occurance of: elvis.rc to d:\vi.rc Note that the character count is the same. D: is the RAMDRIVE and on boot up I copy the "vi.rc" file to the d:\ directory. You can use the "c:\vi.rc" as well. Now when you invoke "elvis" it will look in the "D:\" for the "vi.rc" file and start up with the functions set in it. Only one file is then needed, not one in each directory. Mikef In article <1991Jan22.185655.5047@intelhf.hf.intel.com> you write: >I have been thinking of using Steve Kirkendall's Elvis as an alternate to >the older PC/VI. I've hit upon a couple of quirks that seem to limit >its usefulness under DOS. > >1) The documentation suggests that under DOS, elvis searches for > .\elvis.rc. In other words, only in your current directory. PC/VI, > on the other hand, will look in your HOME directory for vi.ini. > I don't care to have elvis.rc's sprinkled all other the place, so I > tried another tack (see below). Nevertheless, is there a way to get > elvis to search under HOME? (I do not have source, only the binary as > posted to c.b.i.p) > What I did was to change the binary of the file by editing it with a PD binary file editor called "fm.com" (similar to the utility in the Norton Utilities) and changed every occurance of: elvis.rc to d:\vi.rc Note that the character count is the same. D: is the RAMDRIVE and on boot up I copy the "vi.rc" file to the d:\ directory. You can use the "c:\vi.rc" as well. Now when you invoke "elvis" it will look in the "D:\" for the "vi.rc" file and start up with the functions set in it. Only one file is then needed, not one in each directory. Mikef