[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Konsole: a wish
From:       John Rizzo <jrizzo () johnrizzo ! net>
Date:       2001-08-22 14:18:24
[Download RAW message or body]

On Wednesday 22 August 2001 03:27 am, Pavel Troller wrote:
> Hi!
>   It would be great to enhance the impact of the --ls option to ensure,
> that _ALL_ shells eventually launched from the konsole will have this
> facility, too.
>   In my system, various files like /etc/profile and .profile are not
> sourced, if the shell is not invoked as a login shell. It causes various
> problems including paths not being set etc. This makes the new sessions
> started from konsole almost unusable until one enters . /etc/profile
> manually.

Almost all shells have a mechanism to realize that the session has not been 
invoked from login and read configuration files accordingly.  

--------------snippet from the bash man page------------------
When  bash is invoked as an interactive login shell, or as
       a non-interactive shell with the --login option, it  first
       reads and executes commands from the file /etc/profile, if
       that file exists.  After reading that file, it  looks  for
       ~/.bash_profile,  ~/.bash_login,  and  ~/.profile, in that
       order, and reads and executes commands from the first  one
       that  exists  and is readable.  The --noprofile option may
       be used when the shell is started to inhibit  this  behav­
       ior.
---------------------------------------------------------------------------------

>   I vote for this change; if anybody here has anything against it,
> I'm open for his arguments.
>                                   With regards,
> 				            Pavel Troller
>
> >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to
> >> unsubscribe <<

I don't see why we would want to make this change to konsole when this is 
already handled by the shell?

-- 
John Rizzo
jrizzo@johnrizzo.net
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic