Operating System - HP-UX
1847472 Members
2321 Online
110265 Solutions
New Discussion

Re: Reflections CDE/profile problem

 
SOLVED
Go to solution

Reflections CDE/profile problem

I am setting up a new system (using 11.11) and have noticed that when I log into the actual CDE console (on the actual console or using Reflections) as root, the /homeroot/.profile does not get accessed. That is even if I uncomment DTSOURCEPROFILE=true from the .dtprofile. It makes no difference.
On the opposite end of the spectrum, I have another user that when logging in to the CDE (on the actual console or using Relections), the user's .profile is read regardless it the DTSOURCEPROFILE=true is commented out or not. I need to be able to set the user up different pending on where this user actually logs in from. Right now because of the different emulators that I am dealing with, I cannot preset the Term setting at all. The console and Reflections need to be VT100 and I have another emulator to tap my databases that uses wyse50.
I noticed all of these oddities in tryng to get rid of the ^? when I hit the backspace. On the actual system console, the backspace works as desired. When using CDE from Reflections, I get the ^?. I have researched this to the max but the odditites I am seeing are getting frustrating. Any new suggestions?
5 REPLIES 5
Sanjay_6
Honored Contributor
Solution

Re: Reflections CDE/profile problem

Hi,

Try this,

http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000072883509#Config2

This itrc doc id is KBRC00003700

Hope this helps.

Regds
Sridhar Bhaskarla
Honored Contributor

Re: Reflections CDE/profile problem

Hi Darrel,

Add the following lines to the .Xdefaults file under root's home directory. Create a file if one doesn't exist already.

dtterm*loginShell: True

With this, when you next login through CDE, all dtterms should 'source' the .profile file. Similarly add hpterm, xterm etc depending on the requirement.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try

Re: Reflections CDE/profile problem

Thanks much for the info. Both replies were very helpful. I believe that adding the .Xdefaults record did well and now I have also added all of my aliases via .kshrc file through the .dtprofile file. The document that Sanjay referenced was extremely helpful for multiple reasons. I also am importing those same aliases into my .profile when I log in from a separate terminal emulator that I have to use (the wyse50 I had mentioned). However, I have also noticed that I have a term setting in my .profile that keeps getting picked up when it should not. The .dt/startlog says it is not even looking at the .profile record when logging in using CDE, but I know that is where it is coming from because I can add the setting to the .profile and it appears and can take it out and it goes away during logins. DTSOURCEPROFILE=true is commented out in the .dtprofile file. I am still a tad perplexed about that. Any comments or ideas?
Steven E. Protter
Exalted Contributor

Re: Reflections CDE/profile problem

I have found that newer versions of Reflections and Hummingbird do a better job of sourcing profiles than older.

Sorry to tell you to spend more money, but it might help in this instance.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com

Re: Reflections CDE/profile problem

I thought about that also. I upgraded yesterday to version 11 of Reflections and applied patchkit 11.04 to that. However, this can happen on the actual system console too. I have tested it in both places.