neinfront

9front + linux plumbing: vt + sshfs


Listen Later

Showing how in latest 9front it's possible to easily plumb remote files from Unix hosts to 9front, via vt(1).

OSC 7 (reporting current directory) has been added to vt, which allows easier plumbing. The two requirements are:

  1. mounting remote hosts to /n/$HOSTNAME
  2. adding OSC 7 to your remote shell: https://codeberg.org/dnkl/foot/wiki#user-content-spawning-new-terminal-instances-in-the-current-working-directory
  3. If you're using tmux, one of the options is to tell it your terminal supports OSC 7: see "set-option", "terminal-features" in the manual page. What I have in my ~/.tmux.conf is set-option -s terminal-features[2] *:osc7. This is slightly wrong but does the job.

    ...more
    View all episodesView all episodes
    Download on the App Store

    neinfrontBy