and this IS a great list!
My initial post:
> I am running Solaris 2.5.1 on a Sparc10 with CDE 1.1 installed. My
> shell is ksh. I put a line at the top of my .profile file that echos
> fact that
> I am executing it. I put my aliases at the bottom of the file like
> alias su='/bin/su -'
> When I come up, I have CDE restore my home session rather than
> my last session. I bring up a console and a terminal window. In the
> window, I see the line indicating .profile execution and my aliases are
> up when I look at them with the alias command. In the terminal, I do
> the line indicating .profile execution and my aliases are not set when
> for them. I have environment variables in between and they are correct
> both the console and the terminal.
> Can anyone tell me what's happening? I have un commented the line in
The answer(s) and <bold>Thank you all:
<bold>Stephen Harris</bold> and <bold>Eileen Schatz</bold> (this is the
one I like the best because all I
have to do is click on that little monitor icon on the CDE desktop and
works - also works for open and x windows when simply opening another
Aliases in .profile don't take effect _except_ in login shells.
In ,profile you need to define ENV=$HOME/.kshrc and then put all
in .kshrc. They will then appear in _all_ ksh windows.
Remember: .profile is only run in login shells!
<bold>Eileen </bold>also pointed me to the Sunsolve web site where there
is more information
about this - sunsolve1.sun.com
<bold>Shriman Gurung </bold>and <bold>Jim McVey </bold>both said to start
dtterm with the -ls flag which
will force reading the .profile and .kshrc file. This indeed works fine.
I still need the
.kshrc file though and unless I figure out how dtterm is started by that
icon (which is probably fairly easy :)), I have to open all of my dtterm
a command line.
Also responding were: <bold>Viet Hoang
NASA Goddard Space Flt. Ctr. - RMS Information Systems, Inc.
Data Systems & Technology Division - System Administrator
301.286 1439 ('ma-bell)
301.286 1768 (fax)