diff options
Diffstat (limited to 'doc/en')
-rw-r--r-- | doc/en/weechat_user.en.adoc | 10 |
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]] |