summaryrefslogtreecommitdiff
path: root/doc/ja
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/ja
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/ja')
-rw-r--r--doc/ja/weechat_user.ja.adoc10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/ja/weechat_user.ja.adoc b/doc/ja/weechat_user.ja.adoc
index af670cc3e..2d39d7e7a 100644
--- a/doc/ja/weechat_user.ja.adoc
+++ b/doc/ja/weechat_user.ja.adoc
@@ -2816,7 +2816,7 @@ include::includes/autogen_user_options.ja.adoc[tag=exec_options]
// TRANSLATION MISSING
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).
FIFO パイプに書き込むコマンド/テキストの文法は以下の例の一つです:
@@ -2830,26 +2830,26 @@ FIFO パイプに書き込むコマンド/テキストの文法は以下の例
* IRC サーバ freenode で使うニックネームを "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
----
* IRC チャンネル #weechat に対してテキストを送信:
----
-$ echo 'irc.freenode.#weechat *hello!' >/run/user/1000/weechat/weechat_fifo
+$ echo 'irc.freenode.#weechat *hello!' >/run/user/1000/weechat/weechat_fifo_12345
----
* 現在のバッファに対してテキストを送信:
----
-$ echo '*hello!' >/run/user/1000/weechat/weechat_fifo
+$ echo '*hello!' >/run/user/1000/weechat/weechat_fifo_12345
----
* Python スクリプトのアンロードとロードを行う 2 つのコマンドを送信
(複数のコマンドは "\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]]