osc52.sh + hterm + tmux not working

255 views
Skip to first unread message

Ross Zwisler

unread,
Aug 3, 2022, 6:52:18 PM8/3/22
to chromium-hterm
Hi,

For some reason I'm having trouble using osc52.sh from within hterm + tmux.

This works great from within an hterm SSH session:

$ ~/trunk/src/third_party/libapps/hterm/etc/osc52.sh <<< outside_tmux

But this doesn't work from within tmux, in that same hterm SSH session:

$ ~/trunk/src/third_party/libapps/hterm/etc/osc52.sh <<< inside_tmux

I'm using tmux version 3.3a-1 as installed via apt-get on gLinux.

Potentially interesting env things from within tmux:

$ env | grep -i tmux
TMUX=/tmp/tmux-601184/default,1068430,0
TMUX_PANE=%0
TERM_PROGRAM=tmux

$ echo $TERM
xterm-256color

I'ved removed my ~/.tmux.conf so I'm pretty sure that a local config change isn't the issue.

Is anyone else seeing this issue?

Thanks!
- Ross

Mike Frysinger

unread,
Aug 3, 2022, 7:05:19 PM8/3/22
to Ross Zwisler, chromium-hterm

--
You received this message because you are subscribed to the Google Groups "chromium-hterm" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-hter...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-hterm/CAGRrVHxTud1%3DnJrASPeeamuYe3VhCTa1pRbL9oYnrMhHEDmLdw%40mail.gmail.com.

Jason Lin

unread,
Aug 3, 2022, 7:49:44 PM8/3/22
to Mike Frysinger, Ross Zwisler, chromium-hterm
Your tmux is 3.3a. I think you are probably hitting this https://github.com/tmux/tmux/issues/3287

Try adding set -g allow-passthrough on to your tmux config file



--
Best,
Jason Lin

Ross Zwisler

unread,
Aug 4, 2022, 11:33:15 AM8/4/22
to Jason Lin, Mike Frysinger, chromium-hterm
Yep, the "allow-passthrough" option worked for me, thank you both!
Reply all
Reply to author
Forward
0 new messages