KSH and ENV variable

Corey Wirun root at scona
Sat May 11 07:51:33 AEST 1991


I've got users who have to use Xwindows at the rs/6000 console.
They wanted to have the ability to have their .profile settings
propagated to aixterm sessions. (e.g. aliases, PS1, etc).
So I added to their .profiles:

ENV=~/.profile
export ENV

...thinking that this would at least help them when they were creating
aixterm windows. But now, of course, their .profiles are run twice 
everytime they log in (via telnet or at the console). Not a big problem,
but some users have very verbose .profiles where there is lots of 
output that is displayed twice.

How do I fix this to make everyone happy? I tried putting the 2 lines
just before the exec in the .xinitrc files, but no workie.

Thanks!

---------------------------------------------------------------------------
"This, of course, is impossible..."  - Hitchhiker's Guide to the Galaxy
        Corey Wirun, BSc - Systems Analyst,  Esso Petroleum Canada, 
               Strathcona Refinery.  Edmonton, Alberta
   root at scona.UUCP || cwirun at uncanet.BITNET || cwirun at ucnet.ucalgary.ca
   ...aunro!edm!scona!root
---------------------------------------------------------------------------



More information about the Comp.unix.aix mailing list