1834604 Members
3965 Online
110069 Solutions
New Discussion

.Dtprofile and aliases

 
SOLVED
Go to solution
John_44
Advisor

.Dtprofile and aliases

Hello Everyone,

I have never worked with CDE before, it has been something of an adventure. I have my dtprofile set up so that it sources my .profile so I get all my settings. But for some reason I do not get any of the aliases I have set up in my .profile. Anybody have any idea why this is so? Any and all help would be appreciated. Thanks in advance.

John
5 REPLIES 5
Klaus Crusius
Trusted Contributor

Re: .Dtprofile and aliases


The problem is, taht .dtprofile is executed before any shell (you intend to start in a dtterm). Therfore the defined environment variables are inherited to the shell, but not the aliases.
You should define the aliase in a shell specific startup script, e.g. "export ENV='$HOME'/.ksh_env for the Korn shell, and define aliases in .ksh_env.

Regards, Klaus
There is a live before death!
James R. Ferguson
Acclaimed Contributor
Solution

Re: .Dtprofile and aliases

Hi John:

There's an excellent guide to setting up the CDE environment at large in Knowledge Base document #KBRC00003700.

Regards!

...JRF...
John_44
Advisor

Re: .Dtprofile and aliases

James,

For some reason I cannot get to that document.

John
James R. Ferguson
Acclaimed Contributor

Re: .Dtprofile and aliases

Hi (again) John:

For your reading pleasure, see the attachment. When searching the Technical Knowledge Base make sure that you are logged into the ITRC. This enables the broadest access for you.

John_44
Advisor

Re: .Dtprofile and aliases

James,

Thank you so much for the document!

Warmest Regards,
John