*BSD News Article 48380


Return to BSD News archive

Path: sserve!euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!zombie.ncsc.mil!news.mathworks.com!panix!not-for-mail
From: acinader@panix.com (Arthur Cinader)
Newsgroups: comp.unix.bsd.bsdi.misc
Subject: .exrc doesn't load?
Date: 6 Aug 1995 20:26:18 -0400
Organization: Editor impaired, inc.
Lines: 23
Message-ID: <403mja$91@panix.com>
NNTP-Posting-Host: panix.com

I am using csh.  I want to have wrapmargin=18 be set as
default at startup of vi.  I have an .exrc file with:

set wrapmagin=18

But when I load vi, it is not set?

From my login shell I get:

% echo $EXINIT
set autoindent

the wrap magin set is the ONLY thing in my .exrc?

SO,

1) Why isn't my .exrc being read?

2) Where is the environment variable EXINIT being set?

I think I'm missing something here?

Arthur