Hi

You can look at https://github.com/tmux/tmux/wiki/Control-Mode.

I don't know how iTerm2 operates unfortunately, I only know how it uses
control mode.



On Tue, 6 Oct 2020 at 13:07, hiro neu <[email protected]> wrote:

> Hey Nicholas,
>
> I am in the same position as Jason and would like to understand this
> control protocol.
>
> Sadly the man page does not provide a basic overview how I am supposed to
> interface this most easily, trial&error seems to suggest communication is
> via stdin/out, but I'm unable to see what commands might be useful to start
> with.
> I tried to understand what is happening by running a normal tmux session
> but the printed events are not very complete, i.e. they aren't equivalent
> to the commands that i would have to be sending to tmux to recreate the
> actions from my interactive usage. In other words it seems I am able to
> observe the results by checking stdout, but am unable to find commands that
> would *cause* the same thing.
> Also, I have no iterm so i can not experiment with that (would be trivial
> for me to just dump all data sent by iterm over that FD).
>
> I was unable to find George's website, he shows up a trillion times on
> google, do you have a more specific link? i don't care if it's outdated as
> long as I get an overview, the basic idea.
>
> I also have small questions: like, does iterm really use panes in the
> server side tmux session? bec. i was not able to figure out a way to zoom
> into a pane and attach it to one terminal emulator while leaving the window
> with the pane alone so that another terminal can zoom into another pane of
> the same window.
>
> thank you,
> hiro
> On Wednesday, February 1, 2017 at 10:19:29 AM UTC+1 [email protected]
> wrote:
>
>> Hi
>>
>> George Nachman wrote a spec when he originally did the work, it is
>> probably on his site somewhere and will probably give you the basic
>> idea, although it is no doubt out of date in places.
>>
>> Otherwise for anything beyond what is in the tmux manual, you will need
>> to look at the tmux and iterm2 code, but feel free to ask me questions
>> if you need to.
>>
>>
>>
>> On Wed, Feb 01, 2017 at 03:54:14AM +0000, Jason Gauci wrote:
>> > I created a remote shell client/server called EternalTerminal
>> > (**[1]https://mistertea.github.io/EternalTCP/**) that supports tmux
>> with
>> > control mode and control mode is amazing.
>> > What's not amazing is that control mode only works with iTerm and OS/X.
>> > I would be willing to spend the time forking a cross-platform terminal
>> > emulator to support tmux control mode but without any documentation or
>> a
>> > spec, there's no way I could build this reliably and ensure it's fully
>> > compatible.
>> > Can someone on the tmux team take a few minutes to write a spec?**
>> Thanks.
>> >
>> > --
>> > You received this message because you are subscribed to the Google
>> Groups
>> > "tmux-users" group.
>> > To unsubscribe from this group and stop receiving emails from it, send
>> an
>> > email to [2][email protected].
>> > To post to this group, send email to [3][email protected].
>> > For more options, visit [4]https://groups.google.com/d/optout.
>> >
>> > References
>> >
>> > Visible links
>> > 1. https://mistertea.github.io/EternalTCP/
>> > 2. mailto:[email protected]
>> > 3. mailto:[email protected]
>> > 4. https://groups.google.com/d/optout
>>
> --
> You received this message because you are subscribed to the Google Groups
> "tmux-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web, visit
> https://groups.google.com/d/msgid/tmux-users/beb865a7-6420-472d-bf88-5daa1cf9f332n%40googlegroups.com
> <https://groups.google.com/d/msgid/tmux-users/beb865a7-6420-472d-bf88-5daa1cf9f332n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"tmux-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/tmux-users/CAEdLfcGE0YA8Dv8onbhmN%2BJ8xCULNo2WYDv9fxrB4Cz5CcdHHQ%40mail.gmail.com.

Reply via email to