Alternate Background colour for "Send input to all sessions"

771 views
Skip to first unread message

rednectar.chris

unread,
Jul 27, 2011, 7:19:09 AM7/27/11
to iterm2-discuss
I love the ability to open a group of windows and send the same input
to all sessions - it is absolutely amazing being able to open half a
dozen panes split across your screen and debug 6 routers at once.
But is is dangerous too - especially if you are sending input to
multiple tabs - more than once I have gone from troubleshooting to
configuring to oooooooops!!!!! I didin't mean to do that to ALL
windows.

I'd like to be able to define each profile with an alternate set of
colours to use when the "Send input to all Session" option is active.
To keep things simple to start with, perhaps existing profiles could
be set up with the inverse colours to what is being used at the
moment. Then later I'll change my default to White on Bright Red!!!!!

Chris
PS George- thanks so much for all your good work. It is very much
appreciated!!!

George Nachman

unread,
Jul 27, 2011, 11:43:00 AM7/27/11
to iterm2-...@googlegroups.com
Hm, the title bar is supposed to turn white. Are you not seeing that, or is it just not enough of a reminder?

Chris Welsh

unread,
Jul 27, 2011, 4:50:46 PM7/27/11
to iterm2-...@googlegroups.com
Yes the title bar does turn white, and if I remembered to look at the title bar I'd see the little finget icon as well (I do TRY to remember to look there).  Also in full screen view you don't see the title bar.

On a side issue, I notice that if you are in "Send input to all screens" mode, you automatically exit this mode when you toggle to and from full-screen mode.   Is this by design? (to be honest, I don't care, BUT if you implement my suggestion, you will have to be careful to ensure that the screen colour change follows the toggle of input action)

Chris

George Nachman

unread,
Jul 31, 2011, 4:56:28 PM7/31/11
to iterm2-...@googlegroups.com
I've added a more obvious indicator of this. Let me know if it's obnoxious :)

Chris Welsh

unread,
Jul 31, 2011, 6:11:46 PM7/31/11
to iterm2-...@googlegroups.com
Looking forward to next beta to try it!

Chris Welsh

unread,
Aug 1, 2011, 3:51:28 AM8/1/11
to iterm2-...@googlegroups.com
Yep!  The Red stripes look GREAT - I'm happy with that!
Others may want an option to turn it off or swap back to the old "finger/hand" pointer thing

Ian Eiloart

unread,
Aug 2, 2011, 6:48:52 AM8/2/11
to iterm2-discuss
On Jul 31, 9:56 pm, George Nachman <gnach...@llamas.org> wrote:
> I've added a more obvious indicator of this. Let me know if it's obnoxious
> :)
>

I've been using tabs to manage a cluster of four mail servers for a
long time now. I have had problems, occasionally, when in "all session
input" mode. Using split panes really helps reduce that problem. And,
it makes my work faster, since I can monitor output on all four
machines simultaneously.

There is a display problem though, associated with the "dim inactive
sessions" option. When input is going to all panes, none of them
should be dimmed. If this problem were fixed, I don't think you'd need
the multiple pane warning mode, since all active panes would look
active.

I guess it would be nice, too, to be able to define appearances for
active and inactive panes, but I do find the diagonal stripes
interfere with legibility, as well as being unattractive. Horizontal
alignment, perhaps to match the line height, or lower contrast, might
help.

So, I'd ask that (a) you don't dim "inactive" panes when they're
really not inactive, and (b) let me choose to switch off (or configure
the contrast or direction) of the stripes.

I think there's also an opportunity to rethink what you do with "Send
input to all sessions". It's never meant what it said - in fact it
means "all sessions in this window". Now that we have panes, I think
I'd prefer "Send input to all panes in this tab", but others may think
differently. Several options are possible:

1. Send input to all open sessions, in all windows. Actually, this
would have made it possible to use multiple windows - carefully
arranged - in the same way that I now use tabs. However, the danger of
typing into hidden windows would have been higher than the danger of
typing into multiple tabs. So, actually, I don't think this should be
implemented.

2. Sent input to all panes in all tabs, but only in this window.
That's the currently available multi-session mode. Arguably, it's
redundant now that we have the far superior multi-pane windows.

3. Send input to all panes in the current window. That's the mode I'd
prefer - the use case is that I have a cluster open one host per pane
in one tab, and a local session in a background tab. It would be nice
if each tab maintained a separate mode, but some experimentation might
be required to find the best way of doing this. For example: if I
select a multi-pane tab, should it be in the last used mode, or switch
back to the safer single session mode?

4. Send input to only the selected pane. That's the currently
available single session mode.

Finally, I use four panes arranged 2x2, and I find keyboard navigation
with cmd-] and cmd-[ confusing. The 'next' and 'previous' panes don't
appear to be predictable. I think they should be defined spatially,
but I can't guess how they're currently defined.

George Nachman

unread,
Aug 2, 2011, 12:38:01 PM8/2/11
to iterm2-...@googlegroups.com
Thanks for the feedback, Ian. I think your suggestions make a lot of sense. I will keep this in mind as I revisit this code.


Finally, I use four panes arranged 2x2, and I find keyboard navigation
with cmd-] and cmd-[ confusing. The 'next' and 'previous' panes don't
appear to be predictable. I think they should be defined spatially,
but I can't guess how they're currently defined.

For spatial navigation, you can use cmd-opt-arrow keys, which has the benefit of being two-dimensional.Cmd-[ and ] are meant to work like a browser's back and forward buttons, but it breaks down when there are a lot of panes or you start using other navigation mechanisms.

Chris Welsh

unread,
Aug 2, 2011, 4:53:35 PM8/2/11
to iterm2-...@googlegroups.com


FWIW - my comments on above:

So, I'd ask that (a) you don't dim "inactive" panes when they're
really not inactive, and (b) let me choose to switch off (or configure
the contrast or direction) of the stripes.

Agree - not a bad idea

1. Send input to all open sessions

Agree - Don't think this should be implemented

2. Sent input to all panes in all tabs, but only in this window.
That's the currently available multi-session  mode. Arguably, it's
redundant now that we have the far superior multi-pane windows.

Keep this option - this is the most convenient - it is NOT redundant at all - I often use multiple tabs rather than panes (especially when the output is being shown on a projector - screen becomes too cluttered with panes)

3. Send input to all panes in the current window. 

This would be a nice option but I think you mean "all panes in current TAB" - otherwise it would be the same as 2 - perhaps when I hit cmd+shift+I I would see options [All Tabs] [All Panes in this Tab] [Cancel]

4. Send input to only the selected pane. That's the currently
available single session mode.

Of course!

And let me add one more:

It would be also nice to be able to use cmd-click on the tab-titles to just select a FEW tabs (rather than ALL tabs) to send the input to.  Don't know if you could implement cmd-click in multiple panes though - that might be hard and confusing.  But the cmd-click on tab headings would be nice.

CW



George Nachman

unread,
Aug 5, 2011, 12:43:38 AM8/5/11
to iterm2-...@googlegroups.com
Done.

Chris Welsh

unread,
Aug 9, 2011, 7:18:46 PM8/9/11
to iterm2-...@googlegroups.com
George - don't see the stripes any more, nor any option to have a set of alternate background colours.  Am I missing something?  Like the new options, but took me a while to get used to the the new keystrokes, but OK now.

CW

George Nachman

unread,
Aug 16, 2011, 11:52:37 AM8/16/11
to iterm2-...@googlegroups.com
Sorry for the slow reply. I got some complaints about it being too distracting. How do you like the icon in the top right in the latest build? Too subtle?

Chris Welsh

unread,
Aug 16, 2011, 11:26:21 PM8/16/11
to iterm2-...@googlegroups.com
The icon is almost as invisible as the old finger icon - the stripes worked every time - they really said "WARNING" which is what I need.  However, perhaps it should be an option.  I have to admit, I'd prefer the original suggestion for an additional colour scheme for each profile for "Send input to multiple sessions" (initially, make the default alternate colour scheme the inverse colours of the current scheme).

The way I see it being implemented is that under my Preferences->Colors, I'd see two columns where I'd define colours for Foreground, Background, Bold, Selection, Slected Text, Cursor, Cursor Text.  These would be headed: 
[Basic Colors:] and [Warning Colors:] or perhaps [Basic Colors:] and [Alternate Colors] or perhaps [Basic Colors:] and [Multi-input Colors] - but this is a bit verbose.

Thanks for considering this.  Love this application!

CW

George Nachman

unread,
Oct 19, 2011, 6:31:23 PM10/19/11
to iterm2-...@googlegroups.com
Sorry for the delay, but commit b2f1be7 adds a toggle to bring the red
stripes back.

Chris Welsh

unread,
Oct 19, 2011, 10:16:30 PM10/19/11
to iterm2-...@googlegroups.com
Thanks George - but exactly where do I put the "commit b2f1be7"?

Chris

George Nachman

unread,
Oct 19, 2011, 11:16:01 PM10/19/11
to iterm2-...@googlegroups.com, iterm2-...@googlegroups.com
If you build from github that's the commit id; otherwise, it'll be in the next build.


Chris Welsh

unread,
Oct 21, 2011, 11:01:16 PM10/21/11
to iterm2-...@googlegroups.com
Thanks George - is it included in the latest Build 1.0.0.20110909? I couldn't find it.  I gave up coding & compiling a long time ago when my mother told me it would send me blind!!!!

Chris

George Nachman

unread,
Oct 22, 2011, 4:11:51 PM10/22/11
to iterm2-...@googlegroups.com
Yep, it's in the latest build. Look under shell->broadcast input->use
background pattern indicator.

Chris Welsh

unread,
Oct 23, 2011, 3:49:39 AM10/23/11
to iterm2-...@googlegroups.com
Not seeing it!
image.png
image.png

I'm clearly missing something.  Any clues? Should I just wait for the next update?

Chris
image.png
image.png

Marko Milivojevic

unread,
Oct 23, 2011, 6:05:44 AM10/23/11
to iterm2-...@googlegroups.com
I could be wrong, but 20110909 is not the latest build. 

--
Marko Milivojevic - CCIE #18427

:: This message was sent from a mobile device. I apologize for errors and brevity. ::

On Oct 23, 2011, at 0:49, Chris Welsh <rednect...@gmail.com> wrote:

Not seeing it!
<image.png>

Chris Welsh

unread,
Oct 23, 2011, 6:37:51 AM10/23/11
to iterm2-...@googlegroups.com
Doh! 

Thanks for pointing out my stupidity Marko 

Iterm2 updated itself the same day I heard about this build and foolishly thought it was the latest.

I'm now a happy customer again!

Chris
362.gif

George Nachman

unread,
Oct 23, 2011, 7:23:38 PM10/23/11
to iterm2-...@googlegroups.com
Woot!
362.gif

Vince LaMonica

unread,
Oct 23, 2011, 9:59:00 PM10/23/11
to iterm2-...@googlegroups.com
For me, iTerm is reporting that 1.0.0.2011.0909 is the latest update
[checked today, 9:57pm EDT]

https://skitch.com/vjl323/gn7ap/iterm

What am I doing wrong?

TIA,

/vjl/

On Sun, 23 Oct 2011, George Nachman wrote:

} Woot!
}
} On Sun, Oct 23, 2011 at 3:37 AM, Chris Welsh <rednect...@gmail.com>wrote:
}
} > Doh!
} >

} > Thanks for pointing out my stupidity Marko [?]

--
Vince J. LaMonica Knowledge is knowing a street is one way.
v...@cullasaja.com <*> Wisdom is still looking in both directions.

Donate today, please: http://www.cancer.org/

Marko Milivojevic

unread,
Oct 23, 2011, 11:04:51 PM10/23/11
to iterm2-...@googlegroups.com
Latest version is not yet on auto-update. You can download it manually before it gets posted to autothingymagic.

--
Marko Milivojevic - CCIE #18427

:: This message was sent from a mobile device. I apologize for errors and brevity. ::

Chris Welsh

unread,
Oct 24, 2011, 1:53:41 AM10/24/11
to iterm2-...@googlegroups.com
Vince,

Unzip it and move the iterm.app to your applications folder

HTH

Chris
Message has been deleted

George Nachman

unread,
Sep 1, 2017, 1:21:22 PM9/1/17
to iterm2-...@googlegroups.com
Sorry for the delay in getting back to you. I've opened an issue to track this request: https://gitlab.com/gnachman/iterm2/issues/6007

On Wed, Aug 16, 2017 at 10:28 PM, Shasha CF <cluste...@gmail.com> wrote:
I absolutely love this feature. It's the primary reason I use iTerm2 at all. But I do have a request. I often switch between 'send input to all tabs' and 'send input to all panes in this tab' and struggle with being able to tell which mode I'm in. It would be great to have different colors stripes for each case. An option to pick stripe colors would be a bonus!

--
You received this message because you are subscribed to the Google Groups "iterm2-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to iterm2-discuss+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages