Path: utzoo!dptcdc!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!NUSVM.BITNET!GBOPOLY1 From: GBOPOLY1@NUSVM.BITNET (fclim) Newsgroups: comp.sys.apollo Subject: Re: VI troubles with SR10.1 Message-ID: <8904180747.AA26009@umix.cc.umich.edu> Date: 18 Apr 89 07:40:40 GMT Sender: usenet@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 43 X-Unparsable-Date: Tue, 18 Apr 89 15:20:04 SST Hi, in article <6244@sdcsvax.UCSD.Edu>, Mike Markley (markley%celece.ucsd.edu.uucp@sdcsvax.ucsd.edu) writes: >I hope someone can help me with this. I created a .exrc file >in my home directory. All it does is sets autoindent and >tabstops to 4. If I run vi in my home directory it works fine >but if I move to another directory autoindent and tabstops >don't get set. Is this a feature or a bug? According to the >man pages vi uses ~/.exrc NOT .exrc. I have rwx for everybody >on the file so even though that should not be a problem I did >eliminate the possiblity. I am not sure as I do not have SR10.1, but I'll put my two cents in. At 9.7, I had problems with .cshrc. First, I make sure .chsrc belongs to me by using /com/edacl :.cshrc -a fclim -owner (I don't trust Domain/IX chmod or chown, so I use /com/edacl). Still, it doesn't work; my csh prompt remain a %. Then, I check /etc/passwd and I found myself not listed. So I run /etc/crpasswd and presto, everytime I logs in, the csh prompt became what I wanted it to be; meaning .cshrc was read by csh. Point is, make sure .exrc belongs to you; it doesn't matter if you give rwx to the world. If a ls -l .exrc reveals a -1 for a userid, then run chown or /com/edacl. If it reveals a non-negative number for a userid instead of a nice name like fclim, then do a grep your_userid /etc/passwd If this returns error, then ask your system adminstrator to run /etc/crpasswd You may have to ask your adminstrator to do the chown (edacl) as well. Hope this will help you on SR10.1. Let me know if it does. fclim --- gbopoly1 % nusvm.bitnet @ cunyvm.cuny.edu computer centre singapore polytechnic dover road singapore 0513.