mobile-shell / mosh

Mobile Shell
https://mosh.org
GNU General Public License v3.0
12.53k stars 728 forks source link

mosh causes emacs remote directory tracking to fail (needs OSC 51 support) #1122

Open greened opened 3 years ago

greened commented 3 years ago

I use libvterm inside emacs to run terminals. As described here, libvterm-emacs relies on various escape sequences in the shell prrompt to track the curernt directory. The tracking works with ssh but does not work with mosh.

I have filed a companion issue against libvterm-emacs. I do not know for certain what is going on but I suspect maybe mosh is neglecting to send some of the escape sequences through.

greened commented 3 years ago

According to the discussion in emacs-libvterm/issues/454, mosh needs support for OSC 51.

greened commented 3 years ago

See the first comment of #637 for a possible start at implementing this. I don't know how to pass an OSC through to the terminal.