summaryrefslogtreecommitdiff
path: root/doc/en
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2021-05-08 21:43:25 +0200
committerSébastien Helleu <flashcode@flashtux.org>2021-05-11 21:07:39 +0200
commita9e210121b698ff1b37c5799fb13282478ea050b (patch)
tree9b206206dfc48f266b89578e4075aee4cc85ea58 /doc/en
parent6925ea3ccbd36e413f2d630eb284325be5560712 (diff)
downloadweechat-a9e210121b698ff1b37c5799fb13282478ea050b.zip
fifo: add PID in default FIFO pipe filename (issue #1285)
This is to prevent two WeeChat using the same runtime directory to use the same FIFO pipe.
Diffstat (limited to 'doc/en')
-rw-r--r--doc/en/weechat_user.en.adoc10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/en/weechat_user.en.adoc b/doc/en/weechat_user.en.adoc
index f9310abbe..d14e504d6 100644
--- a/doc/en/weechat_user.en.adoc
+++ b/doc/en/weechat_user.en.adoc
@@ -2741,7 +2741,7 @@ You can remote control WeeChat, by sending commands or text to a FIFO pipe (if
option "fifo.file.enabled" is enabled, it is by default).
The FIFO pipe is located in WeeChat runtime directory and is called
-_weechat_fifo_ by default.
+_weechat_fifo_12345_ by default (where _12345_ is the WeeChat process id).
Syntax for the FIFO pipe commands/text is one of following:
@@ -2755,26 +2755,26 @@ Some examples:
* Change nick on IRC server freenode to "newnick":
----
-$ echo 'irc.server.freenode */nick newnick' >/run/user/1000/weechat/weechat_fifo
+$ echo 'irc.server.freenode */nick newnick' >/run/user/1000/weechat/weechat_fifo_12345
----
* Send a message on IRC #weechat channel:
----
-$ echo 'irc.freenode.#weechat *hello!' >/run/user/1000/weechat/weechat_fifo
+$ echo 'irc.freenode.#weechat *hello!' >/run/user/1000/weechat/weechat_fifo_12345
----
* Send a message on current buffer:
----
-$ echo '*hello!' >/run/user/1000/weechat/weechat_fifo
+$ echo '*hello!' >/run/user/1000/weechat/weechat_fifo_12345
----
* Send two commands to unload/reload Python scripts (you have to separate them
with "\n"):
----
-$ printf '%b' '*/python unload\n*/python autoload\n' >/run/user/1000/weechat/weechat_fifo
+$ printf '%b' '*/python unload\n*/python autoload\n' >/run/user/1000/weechat/weechat_fifo_12345
----
[[fifo_commands]]