! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Add send command to all tabs in a window via a keystroke toggle
Status:
RESOLVED: FIXED
Severity:
enhancement
Product:
Xfce4-terminal
Component:
General

Comments

Description Darren Hill 2009-10-06 21:11:32 CEST
Add the ability, similar to konsole, where one can send the same command to all windows after toggling a 'send command to all tabs in a window' keystroke.

With many tabs comes the need to do the same command many times to many different connections.  I have 18 log files open on 18 different machines, it's too time consuming to run a command(say grep) over and over on each tab in xfce-terminal.

Details:
Using 2 tabs.
toggle command shortcut set to to ctrl-i.

In tab 1(active window) 
1.) press ctrl-i(the tab then has something to signal that this tab sends all command to all tabs in this window - like a *).  
2.) Type 't' in tab 1 then tab 2 also types 't' 
3.) Type 'o' in tab 1 then tab 2 also types 't'
4.) Type 'p' in tab 1 then tab 2 types 'p' 
5.) Press 'enter' in tab 1 and tab 2 presses 'enter'.  
6.) Now 'top' is running in both windows.
7.) press ctrl-i and the commands are no longer copied from current tab
Comment 1 Nick Schermer editbugs 2009-10-07 09:33:56 CEST
This is easy to implement when sending all the user input to the tabs in the current window (or all windows, but that's a bit useless). However, Konsole shows a dialog which allows you to select the tabs to send the input to.
Comment 2 Nick Schermer editbugs 2009-10-07 10:32:09 CEST
Created attachment 2585 
Copy input to tabs

Patch to implement copy to tabs in the same window.
Comment 3 Darren Hill 2009-10-07 13:28:44 CEST
Wow.  You are quick on your feet.  Thanks for this.

I'm not sure if I'm in the minority or majority but I dislike the konsole dialog which lets your choose which tabs to send input too.  I've never seen any need for it(though I'm forced to use it in konsole until this is released :) ).  I use the send input to multiple tabs for all tabs in just one window at a time.  So if I have 2 'windows' of a terminal open, each with 3 tabs I don't need to send the command to all 6 tabs, just the 3 in the current window.  But that's just me.


(In reply to comment #1)
> This is easy to implement when sending all the user input to the tabs in the
> current window (or all windows, but that's a bit useless). However, Konsole
> shows a dialog which allows you to select the tabs to send the input to.

Bug #5837

Reported by:
Darren Hill
Reported on: 2009-10-06
Last modified on: 2018-04-13

People

Assignee:
Nick Schermer
CC List:
1 user

Version

Version:
unspecified

Attachments

Copy input to tabs (12.33 KB, patch)
2009-10-07 10:32 CEST , Nick Schermer
no flags

Additional information