[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: konsole patch to disable argument inheriting by new sessions by default
From: Chris Machemer <machey () ptd ! net>
Date: 2001-07-31 2:30:36
[Download RAW message or body]
But you _can_ run other konsole windows from one that you started this way
(ie with a -e command) You just need to pick the session type from the menu
rather then just clicking the new button.
I implemented this due to multiple wishlist requests, not just cuz I
personally thought it was "the right way" for konsole to behave. I suppose
it really is a matter of a) taste, and b) all the people who expect konsole
to behave the way it always has...the new button opens a shell and that's it.
But the thing that people most often complained about was not getting -ls
carried through to new sessions. Would it be completely confusing to allow
-ls to carry forward, but not do that with -e?
-Chris
On Monday 30 July 2001 10:11 pm, Antonio Larrosa Jiménez wrote:
> El Mar 31 Jul 2001 03:32, Malte Starostik escribió:
> > Am Dienstag, 31. Juli 2001 03:21 schrieb Antonio Larrosa Jiménez:
> > > Hi,
> > >
> > > Well, the subject says it all.
> > >
> > > This patch disables the "feature" that makes new sessions (opened by
> > > using the New button) run the same commands than the first one run
> > > specified in the -e argument.
> > >
> > > I think it was a bad idea to implement it in the first place, but in
> > > case I'm being blind or something, I've made it configurable (but
> > > disabled by default). The only way to turn it on is by editing the
> > > konsolerc file manually and setting inheritArgs to true.
> > >
> > > Please, review, commit it and tag it to be included into 2.2 .
> >
> > I stronlgy support this, for two reasons:
> > * (okay, selfish :) I frequently run konsole -e screen -r <name> via the
> > popup menu in kicker's konsole button, and then the New Session button
> > tries to attach to the session again which of course fails
>
> Well, I implemented the patch for selfish reasons too :)
> My kppp runs some konsoles with -e "fetchmail" and -e "updateCVS" which is
> a script that runs "cvs update" for all my checked out modules.
> Obviously, I cannot use those windows for anything more even when konsole
> has that nice multiple session feature.
>
> > * (not that selfish) someone might start konsole with -e <some
> > destructive command> and not knowing that the command will be carried to
> > new sessions, click New Session to open a plain shell and - bang the
> > destructive action is repeated...
>
> right. That makes me wonder if this should be removed too for restored
> konsoles (by the session manager).
>
> Btw, don't ask me why, but if you get crashes when starting konsole from
> kicker, just run "make clean" in kdebase/konsole and recompile konsole. In
> other case, it seems that just adding a new variable to the Konsole class
> has a strange effect where konsole runs fine from within a "konsole", but
> it segfaults if it's run from kicker in XMLGUIBuilder's constructor.
>
> Greetings,
>
> --
> Antonio Larrosa Jimenez
> KDE Core developer - larrosa@kde.org
> SuSE Labs developer - larrosa@suse.de
> http://perso.wanadoo.es/antlarr
> KDE - The development framework of the future, today.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic