You didn't quite describe it this way, but it sort of sounds like you
are describing something like VNC for text terminals, with tmux as the
server and tmux/iTerm2 as clients.  I like that overall idea.  In fact
it would be pretty awesome. :)  I already script up tmux so I can get
the most basic functionality in this regard, but integration into
iTerm2 would make everything so much smoother.

In a sense tmux is already client/server via a socket in /tmp but I
don't know if the protocol was done in a way that would allow new
clients to be written easily.  I could see there needing to be some
protocol cleanup (and associated rewriting of the tmux client/server)
to make this all possible.  George's doc is a step in this direction
but I don't know how it compares to what already happens via the tmux
socket.  (Maybe George already looked into it and it's basically the
same.)  And then of course there needs to be a way to connect to the
socket via tmux (the '-C' option in George's doc), plus some new
client code on the iTerm2 side.  Anything else?

-Kekoa

On Wed, Mar 23, 2011 at 5:34 PM, Joshua Keroes <jker...@gmail.com> wrote:
> Imagine a reinvented terminal app.
> First, let's use tmux as the backend. Users would get autodetech and the
> safety that comes with it automatically. Session moves and dupes also come
> free. We have this functionality today if you're clever with your startup
> dotfiles. This isn't new.
> Merging tmux and a terminal app together into one glorious zombified mutant
> is much more interesting.
> + tmux could use app-level hotkeys without fear of stomping on someone else.
> Goodbye ctrl-b 4, hello ctrl-4.
> + tmux would get pointy-clicky-draggy-reorderable tabs.
> + tmux would get draggable pane separators.
> + tmux would get moveable panes, too.
> + tmux could potentially get a fancier status bar since it could now use the
> host's UI for bells and whistles. Growl and Gnotify come to mind.
> + Right-click could do useful things too. For example, right-clicking on a
> tab or pane could display its available actions. Perhaps hovering over tabs
> could display thumbnails.
> + Mouse gestures could be leveraged too: the "zoom out" gesture could
> display thumbnails of all terminals just like Firefox, Chrome, or OSX.
> These are just off the tip of my mind - I'm sure you can imagine plenty of
> other places where a left-click or a right-click could help rather than
> hinder.
> Yes, I love my keyboard. Mice do have their place and can definitely help
> tmux out. Contextual help and actions would make tmux management simpler for
> those who don't want to open up the help page every time an infrequent task
> pops up.
> I asked the other half of this question on the iterm2 mailing list ("Wanna
> zombify iterm2's brain with tmux?). George Nachman's already started working
> on an API. He wrote:
>> This is also my dream. I wrote a design doc,
>> here: http://tinyurl.com/6cm5pd9 [docs.google]
>>
>> The tmux maintainer expressed interest but I think he didn't have time to
>> do all the work required.
>> If there are any talented C hackers out there who want to help out, this
>> is a big project that needs
>> doing, and it will earn you a place in heaven.
>
> -Joshua
>

------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and publish 
your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to