2008/8/20 Joel Rees <[EMAIL PROTECTED]>:
> export PROFMARKER=".profile"
> setenv CSHMARKER ".cshrc"
> setenv LOGINMARKER ".login"
>
> (hangs head in shame.)
>
> Except, csh picks up one marker, sh and ksh pick up none. So I'm
> still puzzled

I love how don't actually describe where you put those or which
'marker' did get 'picked up'.  No wait, I actually find that really
annoying.  Why do people leave relevant facts out?

...
>> etc. But none of the markers show up in a printenv, whether
>> I simply start a new xterm, or go to the trouble of logging out
>> and back in.

Okay, you need to review the sh(1) and csh(1) manpages and read where
they describe when the .profile or .cshrc and .login are read.  Pay
attention to the phrase "login shell".  Then go read the xterm(1)
manpage and search for the phrase "login shell".


>> Anyone willing to tell me what's wrong with my thinking here?

1) Failure to read the manpages
2) Failure to search the archives (I posted a long explanation of when
the .profile
    is read vs $ENV recently.)


Philip Guenther

Reply via email to