Date: Thu, 6 Sep 2001 14:27:08 -0300 From: Fernan Aguero <fernan@iib.unsam.edu.ar> To: Dru <genisis@istar.ca> Cc: questions@freebsd.org Subject: Re: .cshrc not being used? Message-ID: <20010906142707.E2088@iib005.iib.unsam.edu.ar> In-Reply-To: <20010906113749.E28004-100000@x1-6-00-50-ba-de-36-33.kico1.on.home.com>; from genisis@istar.ca on Thu, Sep 06, 2001 at 11:40:51AM -0400 References: <20010906122437.C2088@iib005.iib.unsam.edu.ar> <20010906113749.E28004-100000@x1-6-00-50-ba-de-36-33.kico1.on.home.com>
next in thread | previous in thread | raw e-mail | index | archive | help
+----[ Dru (genisis@istar.ca) dijo sobre "Re: .cshrc not being used?": | | | On Thu, 6 Sep 2001, Fernan Aguero wrote: | | > +----[ Dru (genisis@istar.ca) dijo sobre "Re: .cshrc not being used?": | > | Hi Fernan, | > | | > | Did you either logoff and back in or do a: | > | | > | source .cshrc | > | > Of course. Logging off and back in does nothing. However if i do a | > source .cshrc everything works OK. | > | > Should I create a new .rc file with my additions and then source it | > from .cshrc? | | Still strange that logging off does nothing but source works OK as both | methods should force the shell to reread the .cshrc file. Not sure what | you mean by a .rc file. Do you mean adding a file called dot.cshrc to | /usr/share/skel so all new users will get the new and improved .cshrc | file? | | Dru | +----] Nope. I mean adding a ~/.myrc file with my own entries, like: setenv MYVAR /whatever setenv OTHERVAR value set prompt = "me# " etc and then add the following line to ~/.cshrc source .myrc Anyway, it doesn't work since the .cshrc is not read in the first place. But, I must admit that when I said logging off and back in I was talking about doing it in xdm. All of this behaviour that I'm talking about is only seen in an xterm. If I go to the console then my .cshrc is read OK. In an xterm my .cshrc is ignored. Only if I do a source .cshrc in the xterm do i see a change. Reading xterm man page says that xterm -ls should be a login shell (i.e. it will read the user's .profile and .login files). I assume that it will also read .cshrc but it is not explicitly said. But it does not appear to be the case. Fernan [confused]. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010906142707.E2088>