summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cady <d@jerkface.net>2024-08-01 18:03:01 -0400
committerAndrew Cady <d@jerkface.net>2024-08-01 18:03:09 -0400
commit164975b6269c67801a88b5ec6be12724473f3326 (patch)
tree24c08b437d0af79d736da8221588cd074ebb79e5
parent1a126c45fe808efae7e0c9a20b9d014af20e8866 (diff)
this fixes bug where e.g. "echo '$\003'" kills socat
-rwxr-xr-x[-rw-r--r--]twopane.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/twopane.bash b/twopane.bash
index 91b9f1a..ed787d3 100644..100755
--- a/twopane.bash
+++ b/twopane.bash
@@ -41,7 +41,7 @@ source "$TWOPANE"/screenrc.startpane
41save_screenrc 'startpane' <<'.' 41save_screenrc 'startpane' <<'.'
42focus top 42focus top
43screen -ln -t "$TOP_TITLE" 1 sh -c "$TOP_CMD" 43screen -ln -t "$TOP_TITLE" 1 sh -c "$TOP_CMD"
44exec :!. socat -u UNIX-RECV:"$TWOPANE"/socket STDOUT 44exec .!. socat -u UNIX-RECV:"$TWOPANE"/socket STDOUT
45title 'output' 45title 'output'
46focus bottom 46focus bottom
47layout save 0 47layout save 0