Operating System - HP-UX
1833704 Members
2462 Online
110062 Solutions
New Discussion

Using CDE & .profile execution

 
SOLVED
Go to solution
john guardian
Super Advisor

Using CDE & .profile execution

Guys,

I've got a "problem" developer who insists on having his .profile run whenever he pulls up a new HPterm or XTerm.

He wants me to include a line in both the "HPterm" and the "XTerm" files located in the "/usr/lib/X11/app-defaults" directory that should read (something like) *login:True.

Does anyone have the EXACT syntax? He "needs" this and nothing less (no alternate method) will satisfy him.

Thanks for reading.

6 REPLIES 6
Luk Vandenbussche
Honored Contributor

Re: Using CDE & .profile execution

Hi Joe,

Edit .dtprofile in the users home directory

Uncomment the last line

DTSOURCEPROFILE=true
Robert-Jan Goossens_1
Honored Contributor

Re: Using CDE & .profile execution

Hi Joe,

Uncomment below line in the $HOME/.dtprofile

DTSOURCEPROFILE=true

Regards,
Robert-Jan
Doug Burton
Respected Contributor
Solution

Re: Using CDE & .profile execution

You may want add...

*loginShell: true
*saveLines: 1024
*scrollBar: true

to these files:

/usr/lib/X11/app-defaults/HPterm
/usr/lib/X11/app-defaults/XTerm
/usr/dt/app-defaults/C/Dtterm

Peter Nikitka
Honored Contributor

Re: Using CDE & .profile execution

Hi,

there is no need to change system files to achieve this:
Simply put Dougs resource specifications to
~/XTerm
...
of this user.

mfG Peter
The Universe is a pretty big place, it's bigger than anything anyone has ever dreamed of before. So if it's just us, seems like an awful waste of space, right? Jodie Foster in "Contact"
john guardian
Super Advisor

Re: Using CDE & .profile execution


Thanks, guys. I've gone ahead and implemented some of the suggestions and the developer is now a happy one!
john guardian
Super Advisor

Re: Using CDE & .profile execution

Thanks!