* Robert Schweikert <[email protected]> [2013-03-14 22:26]:
> On 03/13/2013 09:40 AM, Robert Schweikert wrote:
> >On 03/13/2013 09:02 AM, Guido Berhoerster wrote:
> >>* Robert Schweikert <[email protected]> [2013-03-13 13:45]:
> >>>On 03/13/2013 08:23 AM, Guido Berhoerster wrote:
> >>>>Hi,
> >>>>
> >>>>* Robert Schweikert <[email protected]> [2013-03-13 13:02]:
> >>>>>Just moved to 12.3 and noticed that when I start a terminal my
> >>>>>.cshrc file is not being sourced :(
> >>>>>
> >>>>>I use gnome-terminal, but the same problem occurs when using
> >>>>>xfce4-terminal.
> >>>>>
> >>>>>Any ideas on how to fix this?
> >>>>
> >>>>I stopped using tcsh around seven years ago but I remember that
> >>>>.cshrc is always read when starting a shell, are you sure there
> >>>>is no .tcshrc which takes precedence over .cshrc?
> >>>
> >>>Yes, I have no .tcshrc in my home directory.
> >>>
> >>>>Or is the
> >>>>problem rather that .login is not being sourced?
> >>>
> >>>I do not know, how would I find out?
> >>
> >>Well how do you know that .cshrc is not sourced now?
> >
> >none of my alias' are available, my AWS environment variables are not
> >set etc.
> >
> >there is no syntax error in my .cshrc file, running "source .cshrc" in
> >the shell works just fine.
> >
> >
> >>I would just
> >>put "echo .cshrc" on top of the .cshrc and echo .login on top of
> >>.login and see what happens when opening xterm, xfce4-terminal
> >>and logging in from a console.
> >>On my system it works and I get ".cshrc" as expected, when enabling
> >>a login shell in xfce4-terminal I also see ".login".
> >>
> >>>
> >>>>In that case go
> >>>>to Preferences and enable "Run command as login shell" so you get
> >>>>a login shell.
> >>>
> >>>Well I changed the prefrences of the profile and toggled "Run
> >>>command as a login shell" on (although I didn't need this previously
> >>>;) ). But there was no change in behavior :( , I tested both
> >>>gnome-terminal and xfce-terminal. When I start a new terminal .cshrc
> >>>is still not sourced :(
> >>>
> >>>How do I figure out what's going on here?
> >>
> >>See above.
> >>
> >
> >I think the problem is outside my local configuration. I guess have to
> >work my way through all the steps in /etc that are supposed to happen :(
> >
> >xterm behaves the same, i.e. it is broken as well.
> >
> >I do not have a /etc/csh.cshrc.local or $HOME/.csh.expert file.
> 
> To follow up on this I just noticed something curious. On a from
> scratch installed system everything works as expected, i.e. when I
> start a terminal my .cshrc file is sourced :) . "Run as login shell"
> is NOT toggled on.
> 
> The system, experiencing the issue is one I upgraded from openSUSE
> 12.2 to 12.3
> 
> Thoughts?

That's expected behavior, "Run as login shell" determines whether
~/.login is sourced, not ~/.cshrc (just as if you logged in on a
console or via ssh).
-- 
Guido Berhoerster
-- 
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]

Reply via email to