Subject: Re: vi and .exrc
To: None <>
From: None <>
List: netbsd-users
Date: 07/21/2004 07:43:16 wrote:

> Hi, I'm trying to customise vi by writing a few commands in .exrc file 
> in my home directory, but whenever I start vi those commands do not 
> take place. Could someone plese tell me what I am doing wrong.
> PS. I've read the man pages etc, but can't figure out what the problem 
> is :-(
> roman$ cat $HOME/.exrc
> set wraplen=80
> set showmode
> roman$ vi
> ....
> running vi, "set wraplen=80" and "set showmode" have not been set :-(
Oh yeah! I found out what the problem was, EXINIT environment variable 
was set, so vi skipped reading $HOME/.exrc