Repository navigation
Sequence passthrough #846
Description
Activity
I don't think you are escaping \033 and \ enough times in the second case.
\033]777;notify;test;test\007\007
\033Ptmux;\033\033]777;notify;test;test\007\007\033\
\033Ptmux;\033\033Ptmux\033\033\033\033]777;notify;test;test\007\007\033\033\\\033\Hm, last command still doesn't work, but not freezing terminal, just prints nothing.
If i start tmux server with -vvvvvv, running second sequence, i get this output in log:
1491259766.123269 input_parse: %0 ground, 34 bytes: \033Ptmux;\033\033]777;notify;test;test\a\a\033\\ 1491259766.123280 input_dcs_dispatch: "tmux;\033]777;notify;test;test\a\a"Looks fine, notification working.
Then i'll start nested tmux, run third sequence and get this in external tmux log:
1491260284.622434 input_parse: %0 ground, 50 bytes: \033Ptmux\033\033]777;notify;test;test\a\a\033\\\033[1;1H\033[1;49r\033[2B 1491260284.622452 input_dcs_dispatch: "tmux\033]777;notify;test;test\a\a"Almost same, but notification not working.
- Is the nested tmux in the active window in the outer tmux? On 4 Apr 2017 12:03 am, "Александр Тихонов" <[email protected]> wrote: Hm, last command still doesn't work, but not freezing terminal, just prints nothing. If i start tmux server with -vvvvvv, running second sequence, i get this output in log: 1491259766.123269 input_parse: %0 ground, 34 bytes: \033Ptmux;\033\033]777;notify;test;test\a\a\033\\ 1491259766.123280 input_dcs_dispatch: "tmux;\033]777;notify;test;test\a\a" Looks fine, notification working. Then i'll start nested tmux, run third sequence and get this in external tmux log: 1491260284.622434 input_parse: %0 ground, 50 bytes: \033Ptmux\033\033]777;notify;test;test\a\a\033\\\033[1;1H\033[1;49r\033[2B 1491260284.622452 input_dcs_dispatch: "tmux\033]777;notify;test;test\a\a" Almost same, but notification not working. — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#846 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AASkc1nftrnXyDfUVnAo_uwnRl3d3OwRks5rsXqmgaJpZM4MucY8> .
Yes, i tried with just one window in external and one window in nested tmux, so both are active
- Build tmux from master please (it has more logging) then show me the logs from inner and outer tmux. On 4 Apr 2017 6:46 am, "Александр Тихонов" <[email protected]> wrote: Yes, i tried with just one window in external and one window in nested tmux, so both are active — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#846 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AASkc6NMKpHpGzvKgY-dD857ukyH29XZks5rsdk6gaJpZM4MucY8> .
Done:
outer tmux: https://dpaste.de/iLLG
inner tmux: https://dpaste.de/TuHL- This one is missing a semicolon after tmux, it should be 'tmux;': 1491285687.182638 input_dcs_dispatch: "tmux\033]777;notify;test;test\a\a"…On Mon, Apr 03, 2017 at 11:24:12PM -0700, ?????????????????? ?????????????? wrote: Done: outer tmux: https://dpaste.de/iLLG inner tmux: https://dpaste.de/TuHL - You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread. Link: #846 (comment)
Ah, yes, it's working with semicolon:
printf %b '\033Ptmux;\033\033Ptmux;\033\033\033\033]777;notify;test;test\007\007\033\033\\\033\'
Thank you a lot!Where can I find documentation about this \033P escape sequence?
Reacted by Dash and Yuri KhanThis thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
- locked and limited conversation to collaborators
on Feb 15, 2020
Hi!
I'm using tmux 2.3 locally as terminal tabs and same version remotely (nested tmux via ssh) on archlinux and ubuntu hosts. It's works perfectly, but i have problem with terminal sequence passthrough.
In plain terminal this sequence works (it's urxvt notification):
printf %b '\033]777;notify;test;test\007\007'In one tmux passthrought sequence works too:
printf %b '\033Ptmux;\033' '\033]777;notify;test;test\007\007' '\033\\'By my assumption, double sequence should work in nested tmux, but it doesn't (i'm getting freezed pane instead, until i'll close connection):
printf %b '\033Ptmux;\033' '\033Ptmux;\033' '\033]777;notify;test;test\007\007' '\033\\' '\033\\'It there any way to pass sequence through two tmux?
========
TERM=tmux-256color inside, and TERM=rxvt-unicode-256color outside
% uname -sp && tmux -V && echo $TERM
Linux unknown
tmux 2.3
tmux-256color