Actually, photon is started from a shell that has read /etc/profile. Once
you’re in photon though, /etc/profile isn’t read again (unless you do a
pterm -l) If you wanted a nice way to make sure that your local settings
get loaded, try exporting ‘ENV=$HOME/.kshrc’ in the /etc/profile and then
every shell you start should source that file. (Thanks Wojtek We
already try to do that in /etc/profile but the code is flawed - it tries to
set ENV=$HOME/$SHELL##* which doesn’t work (because your shell will be ‘sh’,
“Art Hays” <firstname.lastname@example.org> wrote in message
This is helpful. I am still interested in knowing where the default
and variables come from when a ksh is started. Are these compiled in?
“Kris Warkentin” <> email@example.com> > wrote in message
news:a7fhg9$3ph$> firstname.lastname@example.org> …
Run ‘pterm -l’ instead. You can set it by configuring your shelf and
by editing $HOME/.ph/wm/wm.menu.
“Art Hays” <> email@example.com> > wrote in message
news:a7ehpm$s43$> firstname.lastname@example.org> …
After booting 6.1 there is a graphical login on the console. After
logging in as root,
photon comes up. If I now start a terminal, where does the ‘ksh’ that
runs in the pterm
source it’s profile? It’s not reading /etc/profile, or /root/.profile
think this would only
occur if I did a remote login). I cant find that it sources anything.
National Institutes of Health