4 ms·
Simply wrap your shell with osc52pty to get OSC52 support in Terminal.app https://github.com/roy2220/osc52pty https://github.com/roy2220/osc52pty
by athrun 3y ago
Simply wrap your shell with osc52pty to get OSC52 support in Terminal.app
https://github.com/roy2220/osc52pty https://github.com/roy2220/osc52pty
- n8henrie 3y agoI don't think wrapping my entire shell session in a moderately complex third party tool (that maybe just uses pbcopy under the hood[1]) counts as "simply" when compared to my existing solution which just pipes over ssh and a couple bash scripts. But thank you for the share, it is interesting! [1]: https://github.com/roy2220/osc52pty/blob/master/oscexecutor.go#L46 https://github.com/roy2220/osc52pty/blob/master/oscexecutor....
- athrun 3y agoThis tool isn’t doing anything particularly complex. It sets up a new pty, attaches the child process to it, listens for OSC52 control codes, and calls pbcopy when appropriate. You can wrap your ssh session with it and you’re done. It’s very elegant and multiple orders of magnitude less complex than something like tmux.