3 ms·
how does on produce such a link in output? (not that i really want this bloat and increased attack surface)
by guerrilla 7y ago
how does on produce such a link in output? (not that i really want this bloat and increased attack surface)
- bonzini 7y agoEscape sequences. It's similar to the "tell the emulator about the current directory" feature that is used to open new windows on the current directory.
- labawi 7y agoDoes the CWD feature actually use terminal escape sequences? I always assumed the emulator accessed the working directory of the child process (as in /proc/$PID/cwd). On my terminal the CWD feature only seems to work for the topmost shell, and symlinks get resolved. EDIT: Linked bug report mentions OCS7 (presumably an escape sequence), as one of the ways to track CWD.
- jchw 7y agoThere’s a fair bit of documentation here. I’d try it but I don’t have any supported terminals on any of my machines... (usually I use kitty, but I have a couple machines with KDE and Konsole.) https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3cb5feda https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3c...