tmux: fix socket path in manual page

This commit is contained in:
Tim van der Molen 2020-08-06 11:03:43 +02:00
parent cbb65c0391
commit 27e745de5f
1 changed files with 24 additions and 2 deletions

View File

@ -1,5 +1,27 @@
--- ../tmux.c.orig 2019-08-24 20:23:15.576000965 +0200
+++ ./tmux.c 2019-08-24 22:11:56.316981911 +0200
diff -u -r ../tmux-3.1b/tmux.1 ./tmux.1
--- ../tmux-3.1b/tmux.1 2020-05-04 10:06:57.000000000 +0200
+++ ./tmux.1 2020-08-06 10:59:21.812427968 +0200
@@ -90,7 +90,7 @@
.Em server .
The server and each client are separate processes which communicate through a
socket in
-.Pa /tmp .
+.Pa @TERMUX_PREFIX@/var/run .
.Pp
The options are as follows:
.Bl -tag -width "XXXXXXXXXXXX"
@@ -145,7 +145,7 @@
stores the server socket in a directory under
.Ev TMUX_TMPDIR
or
-.Pa /tmp
+.Pa @TERMUX_PREFIX@/var/run
if it is unset.
The default socket is named
.Em default .
diff -u -r ../tmux-3.1b/tmux.c ./tmux.c
--- ../tmux-3.1b/tmux.c 2020-05-04 10:06:57.000000000 +0200
+++ ./tmux.c 2020-08-06 10:57:51.152231951 +0200
@@ -121,7 +121,7 @@
if ((s = getenv("TMUX_TMPDIR")) != NULL && *s != '\0')
xasprintf(&base, "%s/tmux-%ld", s, (long)uid);