shithub: wiki.9front.org

Download patch

ref: aeed0bdc6287e80552d517bcec1a30ce034ce32b
parent: 265476b824722ae7e92a5be0693f2378f29387f4
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Thu Dec 15 17:05:14 EST 2022

add plumber+vt integration wiki page

--- /dev/null
+++ b/plumber-vt.md
@@ -1,0 +1,19 @@
+# Plumber + vt: accessing remote Unix files
+
+It's possible to use `OSC 7` extension for easier plumbing of paths displayed in vt(1).
+First, for each machine you're planning to ssh+vt into, set up sshfs(4). Example:
+
+	sshfs -s myhost -r / myhost
+	plumb 'Local mount -c /srv/myhost /n/myhost'
+
+The name in "/n/myhost" path MUST be the hostname of the remote machine - run `hostname` there to check.
+
+For the remote shell to start sending `OSC 7` messages, follow
+[these instructions](https://codeberg.org/dnkl/foot/wiki#user-content-spawning-new-terminal-instances-in-the-current-working-directory).
+
+If you intend to use `tmux`, it's required to enable the extension explicitly since `tmux` does not know what vt(1) is capable of. Example:
+
+	$ cat ~/.tmux.conf
+	set-option -s terminal-features[2] xterm*:osc7
+
+This option forces `tmux` to believe that your terminal emulator supports `OSC 7` extension.