Re: How can I set up aliases with dtterm?

From: Adams Kevin J (kevin.adams@PHS.COM)
Date: Fri Aug 09 2002 - 12:54:22 EDT


Simon,

Try putting the aliases in .kshrc, as it is called for sub-shells too.

Kevin Adams

-----Original Message-----
From: Green, Simon [mailto:SGreen@KRAFTEUROPE.COM]
Sent: Friday, August 09, 2002 9:05 AM
To: aix-l@Princeton.EDU
Subject: [aix-l] How can I set up aliases with dtterm?

I want to set up some aliases.

When I log on through a simple telnet session it's not a problem. However,
I normally use Exceed and run dtterm. Even though I have
DTSOURCEPROFILE=true, and I've confirmed that my .profile is being executed,
I can't set an alias. I assume that this is because the desktop login is
actually invoking a new shell, and aliases don't get passed down like
exported variables; the only aliases I get are those predefined in the Korn
shell, e.g. history, autoload.

Putting the aliases in my .dtprofile doesn't help.

Curiously, if I log on, then issue the login command I get my aliases. But
I don't really want to do that.

Using aixterm instead of dtterm produces the same results.

How can I define aliases in this environment?

Simon Green
Philip Morris ITSC Europe

AIX-L Archive at http://marc.theaimsgroup.com/?l=aix-l&r=1&w=2
AIX FAQ at http://www.faqs.org/faqs/aix-faq/

N.B. Unsolicited email from vendors will seldom be appreciated.

This electronic message transmission, including any attachments, contains information from PacifiCare Health Systems Inc. which may be confidential or privileged. The information is intended to be for the use of the individual or entity named above. If you are not the intended recipient, be aware that any disclosure, copying, distribution or use of the contents of this information is prohibited.

If you have received this electronic transmission in error, please notify the sender immediately by a "reply to sender only" message and destroy all electronic and hard copies of the communication, including attachments.



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:16:08 EDT