aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2021-03-01 20:01:20 +0000
committerThomas Adam <thomas@xteddy.org>2021-03-01 20:01:20 +0000
commit48131c6d020220e6998512198b73819c5a085db9 (patch)
tree9aa99c0b8b9d8b92339c1c8af8634af385351e32
parent9d99dad9e8309f86c778918bea011487911f83ce (diff)
parentde3a898e8af335325039a4165525fff1d5e1a1b0 (diff)
downloadrtmux-48131c6d020220e6998512198b73819c5a085db9.tar.gz
rtmux-48131c6d020220e6998512198b73819c5a085db9.tar.bz2
rtmux-48131c6d020220e6998512198b73819c5a085db9.zip
Merge branch 'obsd-master' into master
-rw-r--r--tmux.112
1 files changed, 5 insertions, 7 deletions
diff --git a/tmux.1 b/tmux.1
index 0f379df4..a1bfbd25 100644
--- a/tmux.1
+++ b/tmux.1
@@ -544,7 +544,7 @@ for example in these
.Xr sh 1
commands:
.Bd -literal -offset indent
-$ tmux neww\\; splitw
+$ tmux neww\e\e; splitw
.Ed
.Pp
Or:
@@ -563,7 +563,7 @@ For
this typically means quoted (such as
.Ql neww ';' splitw )
or escaped (such as
-.Ql neww \\\\; splitw ) .
+.Ql neww \e\e\e\e; splitw ) .
.It
Individual semicolons or trailing semicolons that should be interpreted as
arguments should be escaped twice: once according to the shell conventions and
@@ -571,18 +571,16 @@ a second time for
.Nm ;
for example:
.Bd -literal -offset indent
-$ tmux neww 'foo\\;' bar
-$ tmux neww foo\\\\; bar
+$ tmux neww 'foo\e\e;' bar
+$ tmux neww foo\e\e\e\e; bar
.Ed
-.Pp
.It
Semicolons that are not individual tokens or trailing another token should only
be escaped once according to shell conventions; for example:
.Bd -literal -offset indent
$ tmux neww 'foo-;-bar'
-$ tmux neww foo-\\;-bar
+$ tmux neww foo-\e\e;-bar
.Ed
-.Pp
.El
.Pp
Comments are marked by the unquoted # character - any remaining text after a