vi exrc behaviour has changed??!!
Pim Willemsen
pim at bsovax.UUCP
Mon Feb 15 19:03:05 AEST 1988
In article <2853 at whutt.UUCP> cher at whutt.UUCP (Mike Cherepov) writes:
>In article <329 at ttrde.UUCP>, mellman at ttrde.UUCP (Thomas Mellman) writes:
>> It appears that vi's behaviour has changed with regards to its .exrc files.
>> even when the EXINIT variable is not set, only the .exrc file in my home
>> directory is read.
>
>Just modify your $HOME/.exrc file to include the line:
>set exrc
We are running 4.1 BSD and I use EXINIT to define some key-sequences
that contain a ^D; as this doesn't seem to work in a .exrc file.
So the environment variable EXINIT looks like:
map ^D B|etc...|source $HOME/.exrc
The vertical bar '|' is a separator and the source command directs
vi to read further key mappings from the file .exrc in my home directory.
This works just fine. I don't know whether the source command
is available in system V.
--
------------------------------------------------------------------------------
Pim Willemsen | ========= BSO/Automation Technology
mcvax!bsovax!pim | == BSO == POB 8052
| ========= 3503 RB Utrecht, The Netherlands
More information about the Comp.bugs.sys5
mailing list