[X-Unix] Re: Need help w/.login and unix exec files
Timothy Luoma
lists at tntluoma.com
Fri Jul 22 20:40:09 PDT 2005
On Jul 22, 2005, at 11:28 PM, ~flipper wrote:
> Timothy Luoma wrote:
>
>> On Jul 22, 2005, at 8:09 PM, ~flipper wrote:
>>
>>> All of a sudden, my tcsh isn't launching with my .tschrc file
>>> being read first.
>>>
>>> That's a .login file issue, isn't it?
>>
>> Not necessarily.
>>
>> Do all these match?
>>
>> finger `whoami` | fgrep 'Shell:' | sed 's#.*Shell: ##'
>>
>> nidump passwd /|grep "`whoami`:" |sed 's#.*:##'
>>
>> echo $SHELL
>>
>
> Well, all three of the command lines echo back:
>
> /bin/bash
>
> but with 'currently running processes displayed on the window bar,
> i see tcsh, and i'm getting my % prompt, rather than the bash $
>
> that leads me to believe that the sheel is appearing as a normal
> tcsh,but using tc version of the default OS X bash sh... does that
> make sense? It makes sense to me, but... again, I don't actually
> know what's going on.
Very strange. Try this:
exec /bin/tcsh -l
and see if that gives you back your tcsh shell.
> For "When creating a new Terminal window", it's got 'Execute this
> command (shpecify complete path) and it's reading : /bin/tcsh
> But I've lost my imlicitcd, my 'less' setting for setenv PAGER,
> all of my great aliases, etc.
>
> I know that when i migrated from Jag to panther to Tiger on one
> Powerbook, and Panther to Tiger on the other, I dragged my
> old .tcshrc file over, and i'm reading it now. It's still the same.
>
> It looks to be encoded in Western ASCII, but maybe it should be in
> Unicode-8 now? i don't know.
does
file .tcshrc
show 'ASCII'? That's what my .zshenv and .bash_profile are listed as.
TjL
More information about the X-Unix
mailing list