root@scona (Corey Wirun) (05/11/91)
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@scona.UUCP || cwirun@uncanet.BITNET || cwirun@ucnet.ucalgary.ca ...aunro!edm!scona!root ---------------------------------------------------------------------------
ghe@physics.orst.edu (Guangliang He) (05/14/91)
In article <moHq21w164w@scona>, root@scona (Corey Wirun) writes: |> |> 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. |> What you probably want to do is to split .profile to .profile and another file, say .envfile. Put those things you only need to do once in .profile and put aliases in .envfile. And in .profile, you put the lines ENV=~/.envfile export ENV |> Thanks! |> You're welcome. |> --------------------------------------------------------------------------- |> "This, of course, is impossible..." - Hitchhiker's Guide to the Galaxy |> Corey Wirun, BSc - Systems Analyst, Esso Petroleum Canada, |> Strathcona Refinery. Edmonton, Alberta |> root@scona.UUCP || cwirun@uncanet.BITNET || cwirun@ucnet.ucalgary.ca |> ...aunro!edm!scona!root |> --------------------------------------------------------------------------- --- Guangliang He | -----Go Blazers!----- ghe@physics.orst.edu | -----Go Blazers!-----
tif@doorstop.austin.ibm.com (Paul Chamberlain) (05/14/91)
In article <moHq21w164w@scona> root@scona (Corey Wirun) writes: >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). Add this line to their .Xdefaults aixterm.loginShell: true Paul Chamberlain | I do NOT speak for IBM. IBM VNET: PAULCC AT AUSTIN 512/838-9748 | ...!cs.utexas.edu!ibmchs!auschs!doorstop.austin.ibm.com!tif