dtterm or xterm opened in CDE having bash shell as default shell don't have environment set.
I.e., all the setting in my .profile, .bash_login are not there.
Do the following changes:
In ~/.dtprofile:
#export dtstart_sessionlogfile="/dev/null" export dtstart_sessionlogfile
In .profile:
echo "Executing the .profile" >> $dtstart_sessionlogfile
In .bash_login
echo "Executing the .bash_login" >> $dtstart_sessionlogfile
!! |
~/.dt/startlog says:
.. --- session log file is /export/home/tong/.dt/sessionlogs/iitrc.acadiau.ca_DISPLAY =:0 …
/export/home/tong/.dt/sessionlogs/iitrc.acadiau.ca_DISPLAY=:0 says:
So, my initial setting files did get executed. But they don't get carried on into newly created window. "l" might be a proof.