Execution of /etc/profile

On QNX4 and QNXRTP, when I login directly into a text console,
/etc/profile and $HOME/.profile is executed.

This seems not to be done if I start the textconsole from within photon.
Where can I define my environment variables and aliases
for a textconsole started from photon ?

Werner Schweizer

On Sat, 16 Jun 2001 11:57:21 +0200, “Werner Schweizer”
<W.Schweizer@BigFoot.com> wrote:

On QNX4 and QNXRTP, when I login directly into a text console,
/etc/profile and $HOME/.profile is executed.

This seems not to be done if I start the textconsole from within photon.
Where can I define my environment variables and aliases
for a textconsole started from photon ?

One method is to start pterm with the -l option ("start as

login shell"), it would then parse the profiles. Just in case: right
click over the shelf, chose configure, and edit the pterm entry.

ako

Werner Schweizer

Thanks!

Werner Schweizer

“Andrzej Kocon” <ako@box43.gnet.pl> schrieb im Newsbeitrag
news:3b2dd374.12666072@inn.qnx.com

On Sat, 16 Jun 2001 11:57:21 +0200, “Werner Schweizer”
W.Schweizer@BigFoot.com> > wrote:

On QNX4 and QNXRTP, when I login directly into a text console,
/etc/profile and $HOME/.profile is executed.

This seems not to be done if I start the textconsole from within photon.
Where can I define my environment variables and aliases
for a textconsole started from photon ?

One method is to start pterm with the -l option (“start as
login shell”), it would then parse the profiles. Just in case: right
click over the shelf, chose configure, and edit the pterm entry.

ako

Werner Schweizer
\