From 482fe6604c2eff00f17e97218bdb17e683473ea5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Sat, 3 Jun 2023 17:32:44 +0200 Subject: relay: add handshake option "escape_commands" in weechat protocol --- doc/ja/weechat_relay_protocol.ja.adoc | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'doc/ja') diff --git a/doc/ja/weechat_relay_protocol.ja.adoc b/doc/ja/weechat_relay_protocol.ja.adoc index 55afb5370..b279e2f6d 100644 --- a/doc/ja/weechat_relay_protocol.ja.adoc +++ b/doc/ja/weechat_relay_protocol.ja.adoc @@ -106,7 +106,8 @@ _リレー_ プラグインは _IRC プロキシ_ のように振舞います ( [[command_handshake]] === handshake -_WeeChat ≥ 2.9, updated in version 3.5._ +// TRANSLATION MISSING +_WeeChat ≥ 2.9, updated in versions 3.5, 4.0.0._ Perform an handshake between the client and WeeChat: this is required in most cases to know the session settings and prepare the authentication with the @@ -140,6 +141,12 @@ Arguments: *** _zstd_: compress with https://facebook.github.io/zstd/[Zstandard ^↗^^]: better compression and much faster than _zlib_ for both compression and decompression _(WeeChat ≥ 3.5)_ +// TRANSLATION MISSING +** _escape_commands_: commands sent by the client to relay must be escaped: + all backslashes are interpreted and a single backslash must be escaped (`\\`); + this allows for example the client to send multiline messages (chars `\n` are + converted to newlines, see <>) + _(WeeChat ≥ 4.0.0)_ Notes about option _password_hash_algo_: @@ -985,6 +992,15 @@ input core.weechat /help filter input irc.libera.#weechat hello! ---- +// TRANSLATION MISSING +* Send multiline message to #test channel (option _escape_commands_ must have + been enabled in <> and requires + WeeChat ≥ 4.0.0): + +---- +input irc.ergo.#test this message has\n2 lines +---- + // TRANSLATION MISSING [[command_completion]] === completion -- cgit v1.2.3