Subject: Re: vi not reading .nexrc or .exrc files
To: <>
From: David Laight <david@l8s.co.uk>
List: netbsd-help
Date: 04/05/2003 20:22:34
> I have a strange problem: vi doesn't seem to be even attempting to read from
> $HOME/.nexrc or $HOME/.exrc as the man page suggests it should.

It is likely that the man page doesn't describe the actual behaviour!

Looking at the source it seems that $HOME/.{n}exrc will only be run if:
1) Certain types of error in /etc/.exrc do not ocurr.
2) Neither NEXINIT nor EXINIT is set in the environment.
3) The file passes certain permission checks.

Definitely works here...

	David

-- 
David Laight: david@l8s.co.uk