Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!cbosgd!ihnp4!ptsfa!lll-lcc!ames!necntc!custom!boykin From: boykin@custom.UUCP Newsgroups: comp.sys.ibm.pc Subject: Re: Putting an '=' in an environment variable Message-ID: <654@custom.UUCP> Date: Tue, 26-May-87 14:53:39 EDT Article-I.D.: custom.654 Posted: Tue May 26 14:53:39 1987 Date-Received: Wed, 27-May-87 05:02:27 EDT References: <210@ttrde.UUCP> Organization: Custom Software Systems; Natick, MA Lines: 27 Keywords: PC/VI,= Summary: Use VI.INI Instead In article <210@ttrde.UUCP>, rdj@ttrde.UUCP (Robert D. Jackson) writes: > I am using a version of PC/VI, and have been trying for some time now > to get the EXINIT environment variable set to my liking. On Unix, it is > set as such: > > EXINIT="set ai sw=4 terse" > export EXINIT > > On the PC, I am unable to get an '=' in an environment variable, ... > --------------------------------------------------------------------------- > Bob Jackson > ihnp4!ttrdc!ttrde!rdj > --------------------------------------------------------------------------- Unfortunately, DOS does not permit environment variables to contain an equal sign (or a |, and probably others). The result is that while we support the EXINIT environment variable, as the manual says, we recommend the use of the VI.INI (pronounced .exrc under UNIX) initialization file. The advantage of using EXINIT under UNIX is speed, you don't have to do the disk I/O to read in the file. Emperically, it doesn't seem to be any slower using VI.INI instead of EXINIT. Joe Boykin Custom Software Systems ...necntc!custom!boykin