[kde] Re: Konsole: split view show the same screen twice

2011-06-16 Thread Dotan Cohen
On Thu, Jun 16, 2011 at 18:24, Stephen Dowdy  wrote:
> Dotan,
>
> If i understand you correctly, this works fine for me on KDE 4.4.5 (Debian 
> Squeeze).
>
> In a konsole open two tabs
> Do Split View (Shift-Ctrl-T, i think)
>
> Then in one split pane, click one of the konsole tabs, in the other split
> pane click the other tab.  You should now be seeing a konsole split in two
> with the top pane showing one tab/session and the bottom pane showing the
> other.
>
> They should be independent.
>

I can confirm that each split section has all the tabs inside itself,
quite the opposite of the expected split-view inside a tab behavior of
every other tabbed or split application that I am familiar with.

I have a hard time believing that this is the intended behaviour.


> So, the two primary uses for split view that i see are:
>
> 1)  viewing separate sections of a single context at the same time
>    (where both/all split panes are viewing the same tab/session
> 2)  comparative assessment of output in multiple tab/sessions
>    (e.g. each tab is an ssh session to a different machine.
>
> In that latter mode you can select:
>   Edit->Copy Input To->All Tabs in Current Window
> to duplicate what you type into those multiple ssh sessions to
> see what the command results in in all those sessions simultaneously.
> (this is probably only scalable to 3-6 sessions depending on your
> monitor size).  (though in a quick test of this, it seemed buggy,
> not actually working the first time, and if i selected it in BOTH
> tabs, it was duplicating in the other (e.g. 'ls' in one tab resulted
> in 'llss' in the other.  i got it working, but it seems a bit "iffy")
>
> btw, 'pdsh' from LLNL in "interactive mode" is a MUCH better tool
> for that kind of thing, though each command doesn't retain context
> of previous commands, e.g. "cd".  And pdsh | dshbak -c is even
> better still for scalability of comparative output as it collects
> output that is identical and gathers it into a single entry with
> all the hosts that provided that response to the requested command.
> (great for comparing OS patch revs, version of software, etc)
>
>
> --stephen
>

I think that I had better just learn screen...

Thanks!

-- 
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com
___
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.

[kde] Re: Konsole: split view show the same screen twice

2011-06-16 Thread Duncan
Stephen Dowdy posted on Thu, 16 Jun 2011 09:24:13 -0600 as excerpted:

> In a konsole open two tabs Do Split View (Shift-Ctrl-T, i think)
> 
> Then in one split pane, click one of the konsole tabs, in the other
> split pane click the other tab.  You should now be seeing a konsole
> split in two with the top pane showing one tab/session and the bottom
> pane showing the other.
> 
> They should be independent.

Hmm... learning even more.  =:^)

You are correct.  4.6.4 works the same way.  The missing bit appears to 
have been noting that the tab bars appear on both views, and that 
switching the tab in one does NOT switch it in the other, thus allowing 
them to separate.

Thanks.  Konsole is more powerful than either Dotan or I realized. =:^)

But I expect I'll still use a fully separate konsole window far more 
often, because it's so easy to do once konsole is invoked with a hotkey, 
and because they are then separate windows, where one can be closed or 
even more opened, without affecting the other(s).

But in true kde form, it recognizes that not all users are the same, and 
allows a user to work with truly powerful tools in the way that best fits 
their work flow, even as it adapts over time. =:^)

-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman

___
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.


[kde] Re: Konsole: split view show the same screen twice

2011-06-16 Thread Stephen Dowdy
Dotan Cohen wrote, On 06/16/2011 05:34 AM:
> On Thu, Jun 16, 2011 at 14:01, Anne Wilson  wrote:
>>> It sounds to me that you are referring to tabs, Anne, not to split.
>>> Take a look at View -> Split View.
>>>
>> No, I'm not.  I don't use this facility myself, it was explained to me as I
>> describe.  The terminal linked to dolphin displays a terminal rooted at the
>> directory in the active pane.  Have you tried that?
>>
> 
> Thanks, but I am not referring to the terminal in Dolphin. I use it,
> but right now I'm referring to the terminal in Konsole.
> 
> In Konsole, one can split the view but both views show the same thing.
> If one performs cd on one side, then the other side does the same.
> This seems completely useless, I need to split to show different
> terminals, just as in Dolphin one can split the view to show different
> directories.
> 
> Thanks.
> 

Dotan,

If i understand you correctly, this works fine for me on KDE 4.4.5 (Debian 
Squeeze).

In a konsole open two tabs
Do Split View (Shift-Ctrl-T, i think)

Then in one split pane, click one of the konsole tabs, in the other split
pane click the other tab.  You should now be seeing a konsole split in two
with the top pane showing one tab/session and the bottom pane showing the
other.

They should be independent.

So, the two primary uses for split view that i see are:

1)  viewing separate sections of a single context at the same time
(where both/all split panes are viewing the same tab/session
2)  comparative assessment of output in multiple tab/sessions
(e.g. each tab is an ssh session to a different machine.

In that latter mode you can select:
   Edit->Copy Input To->All Tabs in Current Window
to duplicate what you type into those multiple ssh sessions to
see what the command results in in all those sessions simultaneously.
(this is probably only scalable to 3-6 sessions depending on your
monitor size).  (though in a quick test of this, it seemed buggy,
not actually working the first time, and if i selected it in BOTH
tabs, it was duplicating in the other (e.g. 'ls' in one tab resulted
in 'llss' in the other.  i got it working, but it seems a bit "iffy")

btw, 'pdsh' from LLNL in "interactive mode" is a MUCH better tool
for that kind of thing, though each command doesn't retain context
of previous commands, e.g. "cd".  And pdsh | dshbak -c is even
better still for scalability of comparative output as it collects
output that is identical and gathers it into a single entry with
all the hosts that provided that response to the requested command.
(great for comparing OS patch revs, version of software, etc)


--stephen
___
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.


[kde] Re: Konsole: split view show the same screen twice

2011-06-16 Thread Dotan Cohen
On Thu, Jun 16, 2011 at 14:01, Anne Wilson  wrote:
>> It sounds to me that you are referring to tabs, Anne, not to split.
>> Take a look at View -> Split View.
>>
> No, I'm not.  I don't use this facility myself, it was explained to me as I
> describe.  The terminal linked to dolphin displays a terminal rooted at the
> directory in the active pane.  Have you tried that?
>

Thanks, but I am not referring to the terminal in Dolphin. I use it,
but right now I'm referring to the terminal in Konsole.

In Konsole, one can split the view but both views show the same thing.
If one performs cd on one side, then the other side does the same.
This seems completely useless, I need to split to show different
terminals, just as in Dolphin one can split the view to show different
directories.

Thanks.

-- 
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com
___
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.

[kde] Re: Konsole: split view show the same screen twice

2011-06-16 Thread Dotan Cohen
On Thu, Jun 16, 2011 at 14:31, Duncan <1i5t5.dun...@cox.net> wrote:
>> In Konsole one can split the view. On KDE 4.5 and 4.6 spliting the view
>> shows the same view twice, one cannot have two separate terminal windows
>> in split view. Or am I doing it wrong?
>
> I /think/ you're doing it wrong, for what I /think/ you want to do, but
> thanks for the question as it just triggered for me a discovery of the
> feature you're accidentally using in place of what you want, which could
> be quite helpful here for its own uses! =:^)
>
> The feature you (accidentally) discovered is (apparently, you just
> triggered my own discovery of the feature, but a quick test demonstrates
> that this is how it can be used) for two views on the same shell session
> -- the most common usage would be referring to output or commands
> otherwise way scrolled off the screen when typing in a new command in the
> same session, so you don't have to keep scrolling multiple pages back up
> the history to see the previous output, as you type new input multiple
> pages down the history from what you're trying to refer to.
>

I agree, seeing the output that scrolled off the screen is a use for
the current Konsole split view.


> The feature I believe you're looking for is separate shell sessions in
> panes.  In konsole (itself), the UI metaphor for that is tabs, not
> panes.  There's a tab-bar, depending on configuration, either above or
> below the main terminal displays.  (The profile config says the tabs can
> be hidden, but it appears that's not actually implemented; they always
> appear here regardless of what the profile setting says.)  You can add
> new shell sessions (as new tabs) from there.
>

No, I am already familiar with tabs. Think of it this way: I want to
view two tabs at the same time. Just as in Dolphin one can split the
view and view two directories at the same time.


> Here, I have konsole on a hotkey, so I just start an entirely new konsole
> session if I want a separate session in a new pane.  That allows me more
> flexibility in quitting it when I'm done, as well, and it's not unusual
> at all for me to be running two konsoles half-maximized right and left on
> my main working monitor with often another on my auxiliar monitor.
>
> I used to run upto nine separate konsoles (tho more frequently seven)
> when updating the system on Gentoo, each with its own emerge or config
> file update going on, but since portage got the parallel jobs feature,
> I've not needed so many, tho I routinely still run two, often three, and
> occasionally four, some of which might have multiple shell sessions in
> other tabs.
>
> But there's a separate kde app, not shipped as part of kde-sc but
> available separately, called quad-konsole, that runs a separate konsole
> kpart in each of its multiple panes.  Obviously from the name, it can be
> configured for four panes, but the number of rows and columns is
> configurable, with at least 2x1 thru 4x4 configurations available and IIRC
> you could run 10x10 or even 50x50 (2500 konsole panes, wow!) if you
> wanted and had the screen-space and memory (both machine and human, to
> track 2500 simultaneous sessions! =:^) for it to be useful.
>

Thanks, this looks like what I need! However, it just crashes right away:
✈demios:~$ quadkonsole
kbuildsycoca running...
KCrash: Application 'quadkonsole' crashing...
Could not find 'drkonqi' executable.
KCrash cannot reach kdeinit, launching directly.
✈demios:~$

I'm now trying Terminator, which also has this feature:
http://www.ghacks.net/2010/10/21/multi-view-terminal-with-terminator/


> Back when I was doing that upto nine konsole windows at a time thing, I
> experimented with it a bit, but eventually decided separate hotkey-
> launched normal konsole sessions were more practical for me, especially
> after portage's emerge got its own parallel jobs functionality and I
> needed fewer shell sessions going at once.
>
> So I'd suggest trying quad-konsole as that appears to be what you're
> looking for, but meanwhile, thanks for pointing out that multi-view-on-a-
> single-shell-session feature.  There are times I could use it!
>

Thanks to you too for the mention of quadkonsole. Have a great day!

-- 
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com
___
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.

[kde] Re: Konsole: split view show the same screen twice

2011-06-16 Thread Dotan Cohen
On Thu, Jun 16, 2011 at 14:40, Anne Wilson  wrote:
> Seems I got the wrong ideas - I thought you were referring to the terminal
> attached to Dolphin.  Sorry.
>
> Anne
>

No problem, Anne. I have a working solution (though not a KDE app).
And Duncan found a new use for Konsole! All is well this week!

-- 
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com
___
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.

[kde] Re: Konsole: split view show the same screen twice

2011-06-16 Thread Anne Wilson
On Thursday 16 Jun 2011 12:01:39 Anne Wilson wrote:
> On Thursday 16 Jun 2011 10:58:36 Dotan Cohen wrote:
> > On Thu, Jun 16, 2011 at 12:53, Anne Wilson 
> 
> wrote:
> > > On Thursday 16 Jun 2011 10:17:47 Dotan Cohen wrote:
> > >> In Konsole one can split the view. On KDE 4.5 and 4.6 spliting the
> > >> view shows the same view twice, one cannot have two separate terminal
> > >> windows in split view. Or am I doing it wrong?
> > > 
> > > When you open the split it defaults to the window you were viewing, but
> > > nothing stops you from viewing any other directory.  However, the
> > > terminal displayed should open in the directory of the pane that is
> > > active at the time - so yes, you can have two separate terminals, but
> > > you can only view one at a time.
> > 
> > It sounds to me that you are referring to tabs, Anne, not to split.
> > Take a look at View -> Split View.
> 
> No, I'm not.  I don't use this facility myself, it was explained to me as I
> describe.  The terminal linked to dolphin displays a terminal rooted at the
> directory in the active pane.  Have you tried that?
> 
Seems I got the wrong ideas - I thought you were referring to the terminal 
attached to Dolphin.  Sorry.

Anne
-- 
New to KDE Software? - get help from http://userbase.kde.org


signature.asc
Description: This is a digitally signed message part.
___
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.

[kde] Re: Konsole: split view show the same screen twice

2011-06-16 Thread Duncan
Dotan Cohen posted on Thu, 16 Jun 2011 12:17:47 +0300 as excerpted:

> In Konsole one can split the view. On KDE 4.5 and 4.6 spliting the view
> shows the same view twice, one cannot have two separate terminal windows
> in split view. Or am I doing it wrong?

I /think/ you're doing it wrong, for what I /think/ you want to do, but 
thanks for the question as it just triggered for me a discovery of the 
feature you're accidentally using in place of what you want, which could 
be quite helpful here for its own uses! =:^)

The feature you (accidentally) discovered is (apparently, you just 
triggered my own discovery of the feature, but a quick test demonstrates 
that this is how it can be used) for two views on the same shell session 
-- the most common usage would be referring to output or commands 
otherwise way scrolled off the screen when typing in a new command in the 
same session, so you don't have to keep scrolling multiple pages back up 
the history to see the previous output, as you type new input multiple 
pages down the history from what you're trying to refer to.

The feature I believe you're looking for is separate shell sessions in 
panes.  In konsole (itself), the UI metaphor for that is tabs, not 
panes.  There's a tab-bar, depending on configuration, either above or 
below the main terminal displays.  (The profile config says the tabs can 
be hidden, but it appears that's not actually implemented; they always 
appear here regardless of what the profile setting says.)  You can add 
new shell sessions (as new tabs) from there.

Here, I have konsole on a hotkey, so I just start an entirely new konsole 
session if I want a separate session in a new pane.  That allows me more 
flexibility in quitting it when I'm done, as well, and it's not unusual 
at all for me to be running two konsoles half-maximized right and left on 
my main working monitor with often another on my auxiliar monitor.

I used to run upto nine separate konsoles (tho more frequently seven) 
when updating the system on Gentoo, each with its own emerge or config 
file update going on, but since portage got the parallel jobs feature, 
I've not needed so many, tho I routinely still run two, often three, and 
occasionally four, some of which might have multiple shell sessions in 
other tabs.

But there's a separate kde app, not shipped as part of kde-sc but 
available separately, called quad-konsole, that runs a separate konsole 
kpart in each of its multiple panes.  Obviously from the name, it can be 
configured for four panes, but the number of rows and columns is 
configurable, with at least 2x1 thru 4x4 configurations available and IIRC 
you could run 10x10 or even 50x50 (2500 konsole panes, wow!) if you 
wanted and had the screen-space and memory (both machine and human, to 
track 2500 simultaneous sessions! =:^) for it to be useful.

Back when I was doing that upto nine konsole windows at a time thing, I 
experimented with it a bit, but eventually decided separate hotkey-
launched normal konsole sessions were more practical for me, especially 
after portage's emerge got its own parallel jobs functionality and I 
needed fewer shell sessions going at once.

So I'd suggest trying quad-konsole as that appears to be what you're 
looking for, but meanwhile, thanks for pointing out that multi-view-on-a-
single-shell-session feature.  There are times I could use it!

-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman

___
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.


[kde] Re: Konsole: split view show the same screen twice

2011-06-16 Thread Anne Wilson
On Thursday 16 Jun 2011 10:58:36 Dotan Cohen wrote:
> On Thu, Jun 16, 2011 at 12:53, Anne Wilson  
wrote:
> > On Thursday 16 Jun 2011 10:17:47 Dotan Cohen wrote:
> >> In Konsole one can split the view. On KDE 4.5 and 4.6 spliting the
> >> view shows the same view twice, one cannot have two separate terminal
> >> windows in split view. Or am I doing it wrong?
> > 
> > When you open the split it defaults to the window you were viewing, but
> > nothing stops you from viewing any other directory.  However, the
> > terminal displayed should open in the directory of the pane that is
> > active at the time - so yes, you can have two separate terminals, but
> > you can only view one at a time.
> 
> It sounds to me that you are referring to tabs, Anne, not to split.
> Take a look at View -> Split View.
> 
No, I'm not.  I don't use this facility myself, it was explained to me as I 
describe.  The terminal linked to dolphin displays a terminal rooted at the 
directory in the active pane.  Have you tried that?

Anne
-- 
New to KDE Software? - get help from http://userbase.kde.org


signature.asc
Description: This is a digitally signed message part.
___
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.

[kde] Re: Konsole: split view show the same screen twice

2011-06-16 Thread Dotan Cohen
On Thu, Jun 16, 2011 at 12:53, Anne Wilson  wrote:
> On Thursday 16 Jun 2011 10:17:47 Dotan Cohen wrote:
>> In Konsole one can split the view. On KDE 4.5 and 4.6 spliting the
>> view shows the same view twice, one cannot have two separate terminal
>> windows in split view. Or am I doing it wrong?
>
> When you open the split it defaults to the window you were viewing, but
> nothing stops you from viewing any other directory.  However, the terminal
> displayed should open in the directory of the pane that is active at the time
> - so yes, you can have two separate terminals, but you can only view one at a
> time.
>

It sounds to me that you are referring to tabs, Anne, not to split.
Take a look at View -> Split View.

Thanks.


-- 
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com
___
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.

[kde] Re: Konsole: split view show the same screen twice

2011-06-16 Thread Anne Wilson
On Thursday 16 Jun 2011 10:17:47 Dotan Cohen wrote:
> In Konsole one can split the view. On KDE 4.5 and 4.6 spliting the
> view shows the same view twice, one cannot have two separate terminal
> windows in split view. Or am I doing it wrong?

When you open the split it defaults to the window you were viewing, but 
nothing stops you from viewing any other directory.  However, the terminal 
displayed should open in the directory of the pane that is active at the time 
- so yes, you can have two separate terminals, but you can only view one at a 
time.

Anne
-- 
New to KDE Software? - get help from http://userbase.kde.org


signature.asc
Description: This is a digitally signed message part.
___
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.