1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-12 14:14:48 +02:00

doc/user: add new FIFO syntax (issue #1950)

This commit is contained in:
Sébastien Helleu
2023-06-03 21:38:15 +02:00
parent 43dee8ce54
commit 31e2e7d45c
7 changed files with 115 additions and 0 deletions
+17
View File
@@ -4690,6 +4690,15 @@ Die Syntax der FIFO Pipe Befehle/Text sieht wie folgt aus:
*hier Text oder Befehl
....
// TRANSLATION MISSING
Backslashes can be interpreted with this format, where `*` is replaced by `\`,
allowing for example to send multiline messages:
....
plugin.buffer \text or command here
\text or command here
....
einige Beispiele:
* Ändert den eigenen Nick auf dem IRC Server libera in "newnick":
@@ -4704,6 +4713,14 @@ $ echo 'irc.server.libera */nick newnick' >/run/user/1000/weechat/weechat_fifo_1
$ echo 'irc.libera.#weechat *hello!' >/run/user/1000/weechat/weechat_fifo_12345
----
// TRANSLATION MISSING
* Send a multiline message on IRC #test channel, if capability "draft/multiline"
is enabled on the ergo server:
----
$ echo 'irc.ergo.#test \hello\n...on two lines!' >/run/user/1000/weechat/weechat_fifo_12345
----
* Schickt eine Nachricht in den aktuellen Buffer:
----
+15
View File
@@ -4597,6 +4597,14 @@ Syntax for the FIFO pipe commands/text is one of following:
*text or command here
....
Backslashes can be interpreted with this format, where `*` is replaced by `\`,
allowing for example to send multiline messages:
....
plugin.buffer \text or command here
\text or command here
....
Some examples:
* Change nick on IRC server libera to "newnick":
@@ -4611,6 +4619,13 @@ $ echo 'irc.server.libera */nick newnick' >/run/user/1000/weechat/weechat_fifo_1
$ echo 'irc.libera.#weechat *hello!' >/run/user/1000/weechat/weechat_fifo_12345
----
* Send a multiline message on IRC #test channel, if capability "draft/multiline"
is enabled on the ergo server:
----
$ echo 'irc.ergo.#test \hello\n...on two lines!' >/run/user/1000/weechat/weechat_fifo_12345
----
* Send a message on current buffer:
----
+15
View File
@@ -4747,6 +4747,14 @@ des suivantes :
*texte ou commande ici
....
Les barres obliques inverses peuvent être interprétées avec ce format, où `*`
est remplacé par `\`, autorisant par exemple l'envoi de messages multi-lignes :
....
plugin.buffer \texte ou commande ici
\texte ou commande ici
....
Quelques exemples :
* Changer le pseudo sur libera en "autrepseudo" :
@@ -4761,6 +4769,13 @@ $ echo 'irc.server.libera */nick autrepseudo' >/run/user/1000/weechat/weechat_fi
$ echo 'irc.libera.#weechat *bonjour !' >/run/user/1000/weechat/weechat_fifo_12345
----
* Envoyer un message multi-lignes sur le canal IRC #test, si la capacité
"draft/multiline" est activée sur le serveur ergo :
----
$ echo 'irc.ergo.#test \bonjour\n...sur deux lignes !' >/run/user/1000/weechat/weechat_fifo_12345
----
* Envoyer un message sur le tampon courant :
----
+17
View File
@@ -4948,6 +4948,15 @@ La sintassi per i comandi/testo della pipe FIFO è una delle seguenti:
*testo o comando qui
....
// TRANSLATION MISSING
Backslashes can be interpreted with this format, where `*` is replaced by `\`,
allowing for example to send multiline messages:
....
plugin.buffer \text or command here
\text or command here
....
Alcuni esempi:
// TRANSLATION MISSING
@@ -4964,6 +4973,14 @@ $ echo 'irc.server.libera */nick newnick' >/run/user/1000/weechat/weechat_fifo_1
$ echo 'irc.libera.#weechat *hello!' >/run/user/1000/weechat/weechat_fifo_12345
----
// TRANSLATION MISSING
* Send a multiline message on IRC #test channel, if capability "draft/multiline"
is enabled on the ergo server:
----
$ echo 'irc.ergo.#test \hello\n...on two lines!' >/run/user/1000/weechat/weechat_fifo_12345
----
// TRANSLATION MISSING
* Send a message on current buffer:
+17
View File
@@ -4778,6 +4778,15 @@ FIFO パイプに書き込むコマンド/テキストの文法は以下の例
*テキストまたはコマンド
....
// TRANSLATION MISSING
Backslashes can be interpreted with this format, where `*` is replaced by `\`,
allowing for example to send multiline messages:
....
plugin.buffer \text or command here
\text or command here
....
例:
* IRC サーバ libera で使うニックネームを "newnick" に変更する:
@@ -4792,6 +4801,14 @@ $ echo 'irc.server.libera */nick newnick' >/run/user/1000/weechat/weechat_fifo_1
$ echo 'irc.libera.#weechat *hello!' >/run/user/1000/weechat/weechat_fifo_12345
----
// TRANSLATION MISSING
* Send a multiline message on IRC #test channel, if capability "draft/multiline"
is enabled on the ergo server:
----
$ echo 'irc.ergo.#test \hello\n...on two lines!' >/run/user/1000/weechat/weechat_fifo_12345
----
* 現在のバッファに対してテキストを送信:
----
+17
View File
@@ -4658,6 +4658,15 @@ Składnia dla komend/tekstu przekazywanego do kolejki FIFO wygląda następując
*tekst lub komenda
....
// TRANSLATION MISSING
Backslashes can be interpreted with this format, where `*` is replaced by `\`,
allowing for example to send multiline messages:
....
plugin.buffer \text or command here
\text or command here
....
Kilka przykładów:
* Zmiana nicka na serwerze IRC libera na "newnick":
@@ -4672,6 +4681,14 @@ $ echo 'irc.server.libera */nick newnick' >/run/user/1000/weechat/weechat_fifo_1
$ echo 'irc.libera.#weechat *hello!' >/run/user/1000/weechat/weechat_fifo_12345
----
// TRANSLATION MISSING
* Send a multiline message on IRC #test channel, if capability "draft/multiline"
is enabled on the ergo server:
----
$ echo 'irc.ergo.#test \hello\n...on two lines!' >/run/user/1000/weechat/weechat_fifo_12345
----
* Wysłanie wiadomości do obecnego bufora:
----
+17
View File
@@ -4340,6 +4340,15 @@ FIFO пајп се налази у WeeChat директоријуму за вр
*овде иде текст или команда
....
// TRANSLATION MISSING
Backslashes can be interpreted with this format, where `*` is replaced by `\`,
allowing for example to send multiline messages:
....
plugin.buffer \text or command here
\text or command here
....
Неки примери:
* Измена надимка на IRC серверу libera на „newnick”:
@@ -4354,6 +4363,14 @@ $ echo 'irc.server.libera */nick newnick' >/run/user/1000/weechat/weechat_fifo_1
$ echo 'irc.libera.#weechat *hello!' >/run/user/1000/weechat/weechat_fifo_12345
----
// TRANSLATION MISSING
* Send a multiline message on IRC #test channel, if capability "draft/multiline"
is enabled on the ergo server:
----
$ echo 'irc.ergo.#test \hello\n...on two lines!' >/run/user/1000/weechat/weechat_fifo_12345
----
* Слање поруке у текући бафер:
----