And you did not bother to read on after '-l'?

     If the ENV parameter is set when an interactive shell starts (or,
in the
     case of login shells, after any profiles are processed), its value
is
     subjected to parameter, command, arithmetic, and tilde (`~')
substitution
     and the resulting file (if any) is read and executed.  In order to
have
     an interactive (as opposed to login) shell process a startup file,
ENV
     may be set and exported (see below) in $HOME/.profile - future
     interactive shell invocations will process any file pointed to by
$ENV:

           export ENV=$HOME/.kshrc

     $HOME/.kshrc is then free to specify instructions for interactive
shells.
     For example, the global configuration file may be sourced:

           . /etc/ksh.kshrc

     The above strategy may be employed to keep setup procedures for
login
     shells in $HOME/.profile and setup procedures for interactive
shells in
     $HOME/.kshrc.  Of course, since login shells are also interactive,
any
     commands placed in $HOME/.kshrc will be executed by login shells
too.



On Tue, 25 Jan 2011 14:19:52 +0100, Paolo Aglialoro <[email protected]>
wrote:
> Hi all,
> 
> I've setup a certain number of aliases and vars both in /etc/profile and in
> .profile and, whenever I login they always get read.
> But opening a new terminal window under XFCE does not open a terminal with a
> "login" so the two files do not get read.
> 
> By reading ksh(1) man, one discovers that this problem can be easily
> circumvented by issuing a "ksh -l" command.
> But this is quite annoying to type after every time I open a new terminal
> and I still haven't found in XFCE terminal the setting to modify this
> behaviour.
> Is there some variable to set or am I missing some obvious parameter config?
> 
> Thanks
> Paolo

Reply via email to