Skip to main content
edited tags
Link
muru
  • 78.3k
  • 16
  • 214
  • 320
The question is specifically about OSC sequence
Link
Source Link
KFL
  • 307
  • 1
  • 14

xterm does not support osc 52

I use xterm that comes with XQuartz on my macbook. However OSC 52 control sequence doesn't seem to work. Here's how to repro:

  1. open xterm
  2. in the shell, issue printf '\e]52;c;%s\007' $(printf 'test off' | base64)
  3. try to "paste" in somewhere else, e.g., TextEdit

I don't see the text "test off" being copied in TextEdit. So seems my xterm's OSC 52 support is broken.

How can I fix it or further root cause it?


from these sources, it looks like xterm does support OSC 52: