Re: [opensuse] How to get vertical split of terminal in openSUSE13.1, to execute different actions?
On 05/24/2014 12:01 PM, Ted Byers pecked at the keyboard and wrote:
On Sat, May 24, 2014 at 9:52 AM, Ken Schneider - openSUSE
wrote: [snip] Like Patrick Shanahan wrote: "Open a second konsole session and position them as you please dragging the sides to an appropriate size to make them fit."
No need to do that, just click in the window you wan to use and it will become the active window leaving the others alone. Also, you can split the windows again for a third window to use for monitoring. HTH
-- Ken Schneider SuSe since Version 5.2, June 1998
-- It does not seem to work that way; at least here.
I normally resort to opening multiple Konsole sessions, As Patrick already recommended. But seeing this got me curious. So, I opened a new Konsole session, and used View/Split View/'Split View Left/Right'. I then typed 'ls' in the left view, and what I typed also appeared in the right view, as Arup already reported. When I executed it in the left view, the output was presented in both. The way you described it, I expected that each window would have it's own buffer, with commands executed by bash, much like you can have multiple independent buffers in my favorite editor: Emacs (and I routinely have split windows with different buffers in Emacs). Clearly, with the behavior I observed, as also reported by Arup, that is not the case. Maybe I am a bit thick, but I can not understand even why the split view is there as I can not see a valid use case for the behavior I observed. So, what magic is required to have the active window leave the others alone in the manner you describe?
Cheers
Ted
All I did was split the view left-right and clicked into one of the windows. The "focus" was then directed to that window and left the others alone. There was no further magic done on my part. P.S. Please keep replies to the list and NOT to private email. -- Ken Schneider SuSe since Version 5.2, June 1998 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Saturday, May 24, 2014 12:30:13 PM Ken Schneider - openSUSE wrote:
On 05/24/2014 12:01 PM, Ted Byers pecked at the keyboard and wrote:
On Sat, May 24, 2014 at 9:52 AM, Ken Schneider - openSUSE
All I did was split the view left-right and clicked into one of the windows. The "focus" was then directed to that window and left the others alone. There was no further magic done on my part.
Actually why, I want different windows. I am working on Ruby on Rails project. So, I need to start server in one window, by using *rails s*, and other was for *DB access*, and the other to use *Git*. Now see these 3 I am doing in the 3 tabs, where I can't monitor all server and DB at the same time, if I could, it would be better for me. Every time I need to jump into the different windows. But what you suggested, it just splits the window into 2 fine. But now, those 2 windows are *clone* of each other. If I do *rails s*, other window ( say right side one) also would show me *rails s*. This is not what I want. *Emacs* editor has *shell* support, as far as I saw some of my friends to use. I am in *Vim*, where also the behavior I am looking for not supported. -- ================ Regards, Arup Rakshit -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 05/24/2014 11:49 AM, Arup Rakshit pecked at the keyboard and wrote:
On Saturday, May 24, 2014 12:30:13 PM Ken Schneider - openSUSE wrote:
On 05/24/2014 12:01 PM, Ted Byers pecked at the keyboard and wrote:
On Sat, May 24, 2014 at 9:52 AM, Ken Schneider - openSUSE
All I did was split the view left-right and clicked into one of the windows. The "focus" was then directed to that window and left the others alone. There was no further magic done on my part.
Actually why, I want different windows. I am working on Ruby on Rails project. So, I need to start server in one window, by using *rails s*, and other was for *DB access*, and the other to use *Git*. Now see these 3 I am doing in the 3 tabs, where I can't monitor all server and DB at the same time, if I could, it would be better for me. Every time I need to jump into the different windows.
But what you suggested, it just splits the window into 2 fine. But now, those 2 windows are *clone* of each other. If I do *rails s*, other window ( say right side one) also would show me *rails s*. This is not what I want. *Emacs* editor has *shell* support, as far as I saw some of my friends to use. I am in *Vim*, where also the behavior I am looking for not supported.
Did you click in the window you wanted to work in? And click in the other window to shift the focus? -- Ken Schneider SuSe since Version 5.2, June 1998 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Sat, May 24, 2014 at 12:30 PM, Ken Schneider - openSUSE
On 05/24/2014 12:01 PM, Ted Byers pecked at the keyboard and wrote:
On Sat, May 24, 2014 at 9:52 AM, Ken Schneider - openSUSE
wrote: [snip] Like Patrick Shanahan wrote: "Open a second konsole session and position them as you please dragging the sides to an appropriate size to make them fit."
No need to do that, just click in the window you wan to use and it will become the active window leaving the others alone. Also, you can split the windows again for a third window to use for monitoring. HTH
-- Ken Schneider SuSe since Version 5.2, June 1998
--
It does not seem to work that way; at least here.
I normally resort to opening multiple Konsole sessions, As Patrick already recommended. But seeing this got me curious. So, I opened a new Konsole session, and used View/Split View/'Split View Left/Right'. I then typed 'ls' in the left view, and what I typed also appeared in the right view, as Arup already reported. When I executed it in the left view, the output was presented in both. The way you described it, I expected that each window would have it's own buffer, with commands executed by bash, much like you can have multiple independent buffers in my favorite editor: Emacs (and I routinely have split windows with different buffers in Emacs). Clearly, with the behavior I observed, as also reported by Arup, that is not the case. Maybe I am a bit thick, but I can not understand even why the split view is there as I can not see a valid use case for the behavior I observed. So, what magic is required to have the active window leave the others alone in the manner you describe?
Cheers
Ted
All I did was split the view left-right and clicked into one of the windows. The "focus" was then directed to that window and left the others alone. There was no further magic done on my part.
There must be an explanation as to why you see each window behaving independently while Arup and I see the same thing happening in all the windows we obtain by splitting the current Konsole. Every time I try, it is true that the window I select gets the focus, but everything I do in that window affects all of the others. I would expect some obscure setting governing this, but do not see anything obvious in the settings dialog. Maybe it is accountable by our using different versions (I am using OpenSuse 13.1), but I do not know. The only thing I know is that I can not reproduce the behavior you describe. Is there a configuration file for Konsole that governs this, but which must be manually edited? (If so, what is the file name and where is it?) Is there a bug in the version I am using?
P.S. Please keep replies to the list and NOT to private email.
Sorry, I hadn't noticed my response went to you rather than the list. Cheers Ted -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Sat, May 24, 2014 at 12:58 PM, Ted Byers
On Sat, May 24, 2014 at 12:30 PM, Ken Schneider - openSUSE
wrote: On 05/24/2014 12:01 PM, Ted Byers pecked at the keyboard and wrote:
On Sat, May 24, 2014 at 9:52 AM, Ken Schneider - openSUSE
wrote: [snip] Like Patrick Shanahan wrote: "Open a second konsole session and position them as you please dragging the sides to an appropriate size to make them fit."
No need to do that, just click in the window you wan to use and it will become the active window leaving the others alone. Also, you can split the windows again for a third window to use for monitoring. HTH
-- Ken Schneider SuSe since Version 5.2, June 1998
--
It does not seem to work that way; at least here.
I normally resort to opening multiple Konsole sessions, As Patrick already recommended. But seeing this got me curious. So, I opened a new Konsole session, and used View/Split View/'Split View Left/Right'. I then typed 'ls' in the left view, and what I typed also appeared in the right view, as Arup already reported. When I executed it in the left view, the output was presented in both. The way you described it, I expected that each window would have it's own buffer, with commands executed by bash, much like you can have multiple independent buffers in my favorite editor: Emacs (and I routinely have split windows with different buffers in Emacs). Clearly, with the behavior I observed, as also reported by Arup, that is not the case. Maybe I am a bit thick, but I can not understand even why the split view is there as I can not see a valid use case for the behavior I observed. So, what magic is required to have the active window leave the others alone in the manner you describe?
Cheers
Ted
All I did was split the view left-right and clicked into one of the windows. The "focus" was then directed to that window and left the others alone. There was no further magic done on my part.
There must be an explanation as to why you see each window behaving independently while Arup and I see the same thing happening in all the windows we obtain by splitting the current Konsole. Every time I try, it is true that the window I select gets the focus, but everything I do in that window affects all of the others. I would expect some obscure setting governing this, but do not see anything obvious in the settings dialog. Maybe it is accountable by our using different versions (I am using OpenSuse 13.1), but I do not know. The only thing I know is that I can not reproduce the behavior you describe. Is there a configuration file for Konsole that governs this, but which must be manually edited? (If so, what is the file name and where is it?) Is there a bug in the version I am using?
Well, in frustration I checked the Konsole Handbook (like all good hackers, read the manual after all other options fail ;-) ) Here is what the handbook says about 'View -> Split View -> Split View Left/Right'. "Splits all the tabs into left and right views. Any output on one view is duplicated in the other view" The entry for 'View -> Split View -> Split View Tio/Bottom' says much the same thing (apart from the orientation of the split) Thus, the behavior Arup and I observed and reported is what the Handbook says we ought to have observed. That still leaves me puzzled as to what use case warrants splitting a Konsole into two or more views all showing the same thing, as this behavior appears to be what was intended as can be inferred by what the documentation says, but that curiosity is orthogonal to how one can split a Konsole in such a way that the contents of the two windows are independent. BTW: I am using KDE 4.11. I don't know what you, Ken, or Arup, are using, but is there a chance that the Konsole on Gnome behaves differently than it does on KDE? I can't check this as the only machine I have that uses Gnome is Ubuntu and it does not seem to have Konsole. Cheers Ted -- R.E.(Ted) Byers, Ph.D.,Ed.D. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 05/24/2014 12:58 PM, Ted Byers pecked at the keyboard and wrote:
On Sat, May 24, 2014 at 12:30 PM, Ken Schneider - openSUSE
All I did was split the view left-right and clicked into one of the windows. The "focus" was then directed to that window and left the others alone. There was no further magic done on my part.
There must be an explanation as to why you see each window behaving independently while Arup and I see the same thing happening in all the windows we obtain by splitting the current Konsole. Every time I try, it is true that the window I select gets the focus, but everything I do in that window affects all of the others. I would expect some obscure setting governing this, but do not see anything obvious in the settings dialog. Maybe it is accountable by our using different versions (I am using OpenSuse 13.1), but I do not know. The only thing I know is that I can not reproduce the behavior you describe. Is there a configuration file for Konsole that governs this, but which must be manually edited? (If so, what is the file name and where is it?) Is there a bug in the version I am using?
P.S. Please keep replies to the list and NOT to private email.
I didn't change any settings for this to work. I also am using 13.1 up to date. -- Ken Schneider SuSe since Version 5.2, June 1998 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 05/24/2014 12:58 PM, Ted Byers pecked at the keyboard and wrote:
On Sat, May 24, 2014 at 12:30 PM, Ken Schneider - openSUSE
wrote: On 05/24/2014 12:01 PM, Ted Byers pecked at the keyboard and wrote:
On Sat, May 24, 2014 at 9:52 AM, Ken Schneider - openSUSE
wrote: [snip] Like Patrick Shanahan wrote: "Open a second konsole session and position them as you please dragging the sides to an appropriate size to make them fit."
No need to do that, just click in the window you wan to use and it will become the active window leaving the others alone. Also, you can split the windows again for a third window to use for monitoring. HTH
-- Ken Schneider SuSe since Version 5.2, June 1998
--
It does not seem to work that way; at least here.
I normally resort to opening multiple Konsole sessions, As Patrick already recommended. But seeing this got me curious. So, I opened a new Konsole session, and used View/Split View/'Split View Left/Right'. I then typed 'ls' in the left view, and what I typed also appeared in the right view, as Arup already reported. When I executed it in the left view, the output was presented in both. The way you described it, I expected that each window would have it's own buffer, with commands executed by bash, much like you can have multiple independent buffers in my favorite editor: Emacs (and I routinely have split windows with different buffers in Emacs). Clearly, with the behavior I observed, as also reported by Arup, that is not the case. Maybe I am a bit thick, but I can not understand even why the split view is there as I can not see a valid use case for the behavior I observed. So, what magic is required to have the active window leave the others alone in the manner you describe?
Cheers
Ted
All I did was split the view left-right and clicked into one of the windows. The "focus" was then directed to that window and left the others alone. There was no further magic done on my part.
There must be an explanation as to why you see each window behaving independently while Arup and I see the same thing happening in all the windows we obtain by splitting the current Konsole. Every time I try, it is true that the window I select gets the focus, but everything I do in that window affects all of the others. I would expect some obscure setting governing this, but do not see anything obvious in the settings dialog. Maybe it is accountable by our using different versions (I am using OpenSuse 13.1), but I do not know. The only thing I know is that I can not reproduce the behavior you describe. Is there a configuration file for Konsole that governs this, but which must be manually edited? (If so, what is the file name and where is it?) Is there a bug in the version I am using?
P.S. Please keep replies to the list and NOT to private email.
Sorry, I hadn't noticed my response went to you rather than the list.
Cheers
Ted
I think I have solved the mystery. If I start konsole with one tab I have the same issue you describe but if I open additional tabs in the konsole session each view acts independently. It appears you need as many tabs as you want views, seems like a bug needs to be reported. -- Ken Schneider SuSe since Version 5.2, June 1998 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 05/24/2014 09:30 AM, Ken Schneider - openSUSE wrote:
On 05/24/2014 12:01 PM, Ted Byers pecked at the keyboard and wrote:
On Sat, May 24, 2014 at 9:52 AM, Ken Schneider - openSUSE
wrote: [snip] Like Patrick Shanahan wrote: "Open a second konsole session and position them as you please dragging the sides to an appropriate size to make them fit."
No need to do that, just click in the window you wan to use and it will become the active window leaving the others alone. Also, you can split the windows again for a third window to use for monitoring. HTH
-- Ken Schneider SuSe since Version 5.2, June 1998
-- It does not seem to work that way; at least here.
I normally resort to opening multiple Konsole sessions, As Patrick already recommended. But seeing this got me curious. So, I opened a new Konsole session, and used View/Split View/'Split View Left/Right'. I then typed 'ls' in the left view, and what I typed also appeared in the right view, as Arup already reported. When I executed it in the left view, the output was presented in both. The way you described it, I expected that each window would have it's own buffer, with commands executed by bash, much like you can have multiple independent buffers in my favorite editor: Emacs (and I routinely have split windows with different buffers in Emacs). Clearly, with the behavior I observed, as also reported by Arup, that is not the case. Maybe I am a bit thick, but I can not understand even why the split view is there as I can not see a valid use case for the behavior I observed. So, what magic is required to have the active window leave the others alone in the manner you describe?
Cheers
Ted
All I did was split the view left-right and clicked into one of the windows. The "focus" was then directed to that window and left the others alone. There was no further magic done on my part.
P.S. Please keep replies to the list and NOT to private email.
The key to the solution is to combine multiple panes with multiple tabs. Open two view panes and then create another tab (Ctrl-Shift-T), which will appear with each visible pane. If the same tab is selected in each pane, then the same content appears in each pane; if a different tab is selected in each pane, they are completely independent. Jim -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Saturday, May 24, 2014 10:15:00 AM Jim Cunning wrote:
The key to the solution is to combine multiple panes with multiple tabs. Open two view panes and then create another tab (Ctrl-Shift-T), which will appear with each visible pane. If the same tab is selected in each pane, then the same content appears in each pane; if a different tab is selected in each pane, they are completely independent.
Jim
I didn't notice, *these bible sentences* ... Yayyy! It's working. Nice trick, you and all people who involved in this discussion are awesome. :-) :) Thank you very much! -- ================ Regards, Arup Rakshit -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Sat, May 24, 2014 at 1:15 PM, Jim Cunning
On 05/24/2014 09:30 AM, Ken Schneider - openSUSE wrote:
On 05/24/2014 12:01 PM, Ted Byers pecked at the keyboard and wrote:
On Sat, May 24, 2014 at 9:52 AM, Ken Schneider - openSUSE
wrote: [snip] Like Patrick Shanahan wrote: "Open a second konsole session and position them as you please dragging the sides to an appropriate size to make them fit."
No need to do that, just click in the window you wan to use and it will become the active window leaving the others alone. Also, you can split the windows again for a third window to use for monitoring. HTH
-- Ken Schneider SuSe since Version 5.2, June 1998
-- It does not seem to work that way; at least here.
I normally resort to opening multiple Konsole sessions, As Patrick already recommended. But seeing this got me curious. So, I opened a new Konsole session, and used View/Split View/'Split View Left/Right'. I then typed 'ls' in the left view, and what I typed also appeared in the right view, as Arup already reported. When I executed it in the left view, the output was presented in both. The way you described it, I expected that each window would have it's own buffer, with commands executed by bash, much like you can have multiple independent buffers in my favorite editor: Emacs (and I routinely have split windows with different buffers in Emacs). Clearly, with the behavior I observed, as also reported by Arup, that is not the case. Maybe I am a bit thick, but I can not understand even why the split view is there as I can not see a valid use case for the behavior I observed. So, what magic is required to have the active window leave the others alone in the manner you describe?
Cheers
Ted
All I did was split the view left-right and clicked into one of the windows. The "focus" was then directed to that window and left the others alone. There was no further magic done on my part.
P.S. Please keep replies to the list and NOT to private email.
The key to the solution is to combine multiple panes with multiple tabs. Open two view panes and then create another tab (Ctrl-Shift-T), which will appear with each visible pane. If the same tab is selected in each pane, then the same content appears in each pane; if a different tab is selected in each pane, they are completely independent.
Jim
Jim, you're a genius! ;-) Your solution works flawlessly. Thanks Ted -- R.E.(Ted) Byers, Ph.D.,Ed.D. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Saturday, May 24, 2014 01:19:35 PM Ted Byers wrote:
Jim
Jim, you're a genius! ;-)
Your solution works flawlessly.
I got tired by trying a lot since then I created this post. But, now I am still not getting the trick. Could you tell me exactly what I need to do. I am having thick brain. Please please :( -- ================ Regards, Arup Rakshit -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 05/24/2014 10:19 AM, Ted Byers wrote:
On Sat, May 24, 2014 at 1:15 PM, Jim Cunning
wrote: On 05/24/2014 09:30 AM, Ken Schneider - openSUSE wrote:
On 05/24/2014 12:01 PM, Ted Byers pecked at the keyboard and wrote:
On Sat, May 24, 2014 at 9:52 AM, Ken Schneider - openSUSE
wrote: [snip] Like Patrick Shanahan wrote: "Open a second konsole session and position them as you please dragging the sides to an appropriate size to make them fit."
No need to do that, just click in the window you wan to use and it will become the active window leaving the others alone. Also, you can split the windows again for a third window to use for monitoring. HTH
-- Ken Schneider SuSe since Version 5.2, June 1998
-- It does not seem to work that way; at least here.
I normally resort to opening multiple Konsole sessions, As Patrick already recommended. But seeing this got me curious. So, I opened a new Konsole session, and used View/Split View/'Split View Left/Right'. I then typed 'ls' in the left view, and what I typed also appeared in the right view, as Arup already reported. When I executed it in the left view, the output was presented in both. The way you described it, I expected that each window would have it's own buffer, with commands executed by bash, much like you can have multiple independent buffers in my favorite editor: Emacs (and I routinely have split windows with different buffers in Emacs). Clearly, with the behavior I observed, as also reported by Arup, that is not the case. Maybe I am a bit thick, but I can not understand even why the split view is there as I can not see a valid use case for the behavior I observed. So, what magic is required to have the active window leave the others alone in the manner you describe?
Cheers
Ted
All I did was split the view left-right and clicked into one of the windows. The "focus" was then directed to that window and left the others alone. There was no further magic done on my part.
P.S. Please keep replies to the list and NOT to private email.
The key to the solution is to combine multiple panes with multiple tabs. Open two view panes and then create another tab (Ctrl-Shift-T), which will appear with each visible pane. If the same tab is selected in each pane, then the same content appears in each pane; if a different tab is selected in each pane, they are completely independent.
Jim
Jim, you're a genius! ;-)
Your solution works flawlessly.
Thanks
Ted
No genius....I just thought maybe it was part of the Unix/Linux philosophy--do one thing well (perhaps a bit of a stretch in this case). Then users can combine multiple tools in ways to suit their needs. I didn't know this was possible with Terminal before this discussion. I like it, but with one objection for me: I use "focus follows mouse" for my KDE mouse behavior, but with multiple terminal panes, I need "click to focus" to switch between terminal panes on a single terminal instance. If I open multiple terminal instances, the windows can be moved independently, overlap arbitrarily, etc., and also honor my focus follows mouse settings. Jim -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Le 24/05/2014 19:15, Jim Cunning a écrit :
The key to the solution is to combine multiple panes with multiple tabs. Open two view panes and then create another tab (Ctrl-Shift-T), which will appear with each visible pane. If the same tab is selected in each pane, then the same content appears in each pane; if a different tab is selected in each pane, they are completely independent.
may be there is something I don't get, but this did not give the right solution for me. if I open a terminal it's often to connect to a remote server. If I open a new tab, it acts independently from the first one, but so independently that it opens in the client, not in the server, exactly like if I had opened a new terminal. That's not the expected behavior. For example if I open a fish Dolphin session to the server and split the view, I get two different panes *on the server*. this could save me typing the server passwd over and over - this pass is complex and I don't want to let a server pane open longer than necessary :-) "screen" seems to be a solution to this problem (but I didn't find yet the time to explore this track) thanks jdd -- http://www.dodin.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (5)
-
Arup Rakshit
-
jdd
-
Jim Cunning
-
Ken Schneider - openSUSE
-
Ted Byers