doc: add column for min WeeChat version in function hook_process_hashtable (plugin API reference)

This commit is contained in:
Sébastien Helleu 2021-07-03 21:33:54 +02:00
parent 3c920f9a80
commit 3d54365d67
5 changed files with 32 additions and 90 deletions

View File

@ -9297,37 +9297,25 @@ Arguments are the same as function <<_hook_process,hook_process>>, with an extra
For a standard command (not beginning with "url:"), following options are For a standard command (not beginning with "url:"), following options are
available: available:
[width="100%",cols="^1,1,1,4",options="header"] [width="100%",cols="^1,^1,1,1,5",options="header"]
|=== |===
| Option | Value | Default | Description | Option | Min WeeChat | Value | Default | Description
| argN (N ≥ 1) + | argN (N ≥ 1) | 0.4.0 | any string | no arguments |
_(WeeChat ≥ 0.4.0)_ |
any string |
no arguments |
Arguments for command; if no argument is given with these options, Arguments for command; if no argument is given with these options,
the command is automatically split like the shell does (and then command the command is automatically split like the shell does (and then command
arguments are read in the _command_ argument). arguments are read in the _command_ argument).
| stdin + | stdin | 0.4.3 | (not used) | no stdin |
_(WeeChat ≥ 0.4.3)_ |
(not used) |
no stdin |
Create a pipe for writing data on standard input (stdin) of child process Create a pipe for writing data on standard input (stdin) of child process
(see function <<_hook_set,hook_set>>). (see function <<_hook_set,hook_set>>).
| buffer_flush + | buffer_flush | 1.0 | number of bytes | 65536 |
_(WeeChat ≥ 1.0)_ |
number of bytes |
65536 |
Minimum number of bytes to flush stdout/stderr (to send output to callback), Minimum number of bytes to flush stdout/stderr (to send output to callback),
between 1 and 65536. With the value 1, the output is sent immediately to the between 1 and 65536. With the value 1, the output is sent immediately to the
callback. callback.
| detached + | detached | 1.0 | (not used) | not detached |
_(WeeChat ≥ 1.0)_ |
(not used) |
not detached |
Run the process in a detached mode: stdout and stderr are redirected to Run the process in a detached mode: stdout and stderr are redirected to
_/dev/null_. _/dev/null_.
|=== |===

View File

@ -9471,37 +9471,25 @@ Les paramètres sont les mêmes que ceux de la fonction
Pour une commande standard (ne commençant pas par "url:"), les options suivantes Pour une commande standard (ne commençant pas par "url:"), les options suivantes
sont disponibles : sont disponibles :
[width="100%",cols="^1,1,1,4",options="header"] [width="100%",cols="^1,^1,1,1,5",options="header"]
|=== |===
| Option | Valeur | Défaut | Description | Option | WeeChat mini | Valeur | Défaut | Description
| argN (N ≥ 1) + | argN (N ≥ 1) | 0.4.0 | toute chaîne | pas de paramètres |
_(WeeChat ≥ 0.4.0)_ |
toute chaîne |
pas de paramètres |
Paramètres pour la commande ; si aucun paramètre n'est donné avec ces options, Paramètres pour la commande ; si aucun paramètre n'est donné avec ces options,
la commande sera automatiquement découpée comme le fait le shell (et donc les la commande sera automatiquement découpée comme le fait le shell (et donc les
paramètres de la commande sont lus dans le paramètre _command_). paramètres de la commande sont lus dans le paramètre _command_).
| stdin + | stdin | 0.4.3 | (non utilisée) | pas de stdin |
_(WeeChat ≥ 0.4.3)_ |
(non utilisée) |
pas de stdin |
Créer un tuyau pour écrire sur l'entrée standard (stdin) du processus fils Créer un tuyau pour écrire sur l'entrée standard (stdin) du processus fils
(voir la fonction <<_hook_set,hook_set>>). (voir la fonction <<_hook_set,hook_set>>).
| buffer_flush + | buffer_flush | 1.0 | nombre d'octets | 65536 |
_(WeeChat ≥ 1.0)_ |
nombre d'octets |
65536 |
Nombre minimum d'octets pour vider stdout/stderr (pour envoyer la sortie à la Nombre minimum d'octets pour vider stdout/stderr (pour envoyer la sortie à la
fonction de rappel), entre 1 et 65536. Avec la valeur 1, la sortie est envoyée fonction de rappel), entre 1 et 65536. Avec la valeur 1, la sortie est envoyée
immédiatement à la fonction de rappel. immédiatement à la fonction de rappel.
| detached + | detached | 1.0 | (non utilisée) | non détaché |
_(WeeChat ≥ 1.0)_ |
(non utilisée) |
non détaché |
Lancer le process dans un mode détaché : stdout et stderr sont redirigés vers Lancer le process dans un mode détaché : stdout et stderr sont redirigés vers
_/dev/null_. _/dev/null_.
|=== |===

View File

@ -9591,41 +9591,29 @@ For a standard command (not beginning with "url:"), following options are
available: available:
// TRANSLATION MISSING // TRANSLATION MISSING
[width="100%",cols="^1,1,1,4",options="header"] [width="100%",cols="^1,^1,1,1,5",options="header"]
|=== |===
| Option | Value | Default | Description | Option | Min WeeChat | Value | Default | Description
// TRANSLATION MISSING // TRANSLATION MISSING
| argN (N ≥ 1) + | argN (N ≥ 1) | 0.4.0 | any string | no arguments |
_(WeeChat ≥ 0.4.0)_ |
any string |
no arguments |
Arguments for command; if no argument is given with these options, Arguments for command; if no argument is given with these options,
the command is automatically split like the shell does (and then command the command is automatically split like the shell does (and then command
arguments are read in the _command_ argument). arguments are read in the _command_ argument).
// TRANSLATION MISSING // TRANSLATION MISSING
| stdin + | stdin | 0.4.3 | (not used) | no stdin |
_(WeeChat ≥ 0.4.3)_ |
(not used) |
no stdin |
Create a pipe for writing data on standard input (stdin) of child process Create a pipe for writing data on standard input (stdin) of child process
(see function <<_hook_set,hook_set>>). (see function <<_hook_set,hook_set>>).
// TRANSLATION MISSING // TRANSLATION MISSING
| buffer_flush + | buffer_flush | 1.0 | number of bytes | 65536 |
_(WeeChat ≥ 1.0)_ |
number of bytes |
65536 |
Minimum number of bytes to flush stdout/stderr (to send output to callback), Minimum number of bytes to flush stdout/stderr (to send output to callback),
between 1 and 65536. With the value 1, the output is sent immediately to the between 1 and 65536. With the value 1, the output is sent immediately to the
callback. callback.
// TRANSLATION MISSING // TRANSLATION MISSING
| detached + | detached | 1.0 | (not used) | not detached |
_(WeeChat ≥ 1.0)_ |
(not used) |
not detached |
Run the process in a detached mode: stdout and stderr are redirected to Run the process in a detached mode: stdout and stderr are redirected to
_/dev/null_. _/dev/null_.
|=== |===

View File

@ -9310,37 +9310,26 @@ struct t_hook *weechat_hook_process_hashtable (const char *command,
一般的なコマンド (最初に "url:" が付かないコマンド) 一般的なコマンド (最初に "url:" が付かないコマンド)
では、以下のオプションを使うことができます: では、以下のオプションを使うことができます:
[width="100%",cols="^1,1,1,4",options="header"] [width="100%",cols="^1,^1,1,1,5",options="header"]
|=== |===
| オプション | 値 | デフォルト | 説明 // TRANSLATION MISSING
| オプション | Min WeeChat | 値 | デフォルト | 説明
| argN (N は 1 以上) + | argN (N は 1 以上) | 0.4.0 | 任意の文字列 | 引数なし |
_(WeeChat バージョン 0.4.0 以上で利用可)_ |
任意の文字列 |
引数なし |
コマンドの引数; コマンドの引数;
このオプションを使って引数を渡さない場合、シェルと同じように引数を自動的に分割します このオプションを使って引数を渡さない場合、シェルと同じように引数を自動的に分割します
(_command_ 引数からコマンド引数をロードします) (_command_ 引数からコマンド引数をロードします)
| stdin + | stdin | 0.4.3 | (非使用) | 標準出力を使用しない |
_(WeeChat バージョン 0.4.3 以上で利用可)_ |
(非使用) |
標準出力を使用しない |
データを書き込むためのパイプを子プロセスの標準入力 (stdin) データを書き込むためのパイプを子プロセスの標準入力 (stdin)
に作成します (関数 <<_hook_set,hook_set>> を参照) に作成します (関数 <<_hook_set,hook_set>> を参照)
| buffer_flush + | buffer_flush | 1.0 | バイト数 | 65536 |
_(WeeChat バージョン 1.0 以上で利用可)_ |
バイト数 |
65536 |
標準出力および標準エラー出力をフラッシュ (出力をコールバックヘ送信) 標準出力および標準エラー出力をフラッシュ (出力をコールバックヘ送信)
するバイト数の最小値。取りうる値の範囲は 1 から 65536 までです。1 するバイト数の最小値。取りうる値の範囲は 1 から 65536 までです。1
の場合、出力をすぐにコールバックへ送信します。 の場合、出力をすぐにコールバックへ送信します。
| detached + | detached | 1.0 | (非使用) | detached モードで実行しない |
_(WeeChat バージョン 1.0 以上で利用可)_ |
(非使用) |
detached モードで実行しない |
detached モードでプロセスを実行: 標準出力と標準エラー出力を detached モードでプロセスを実行: 標準出力と標準エラー出力を
_/dev/null_ にリダイレクトする _/dev/null_ にリダイレクトする
|=== |===

View File

@ -8973,37 +8973,26 @@ struct t_hook *weechat_hook_process_hashtable (const char *command,
За стандардну команду (која не почиње са „url:”), можете користите следеће опције: За стандардну команду (која не почиње са „url:”), можете користите следеће опције:
[width="100%", cols="^1,1,1,4", options="header"] [width="100%", cols="^1,^1,1,1,5", options="header"]
|=== |===
| Опција | Вредност | Подразумевана | Опис // TRANSLATION MISSING
| Опција | Min WeeChat | Вредност | Подразумевана | Опис
| argN (N ≥ 1) + | argN (N ≥ 1) | 0.4.0 | било који стринг | без аргумената |
_(WeeChat ≥ 0.4.0)_ |
било који стринг |
без аргумената |
Аргументи команде; ако се овим опцијама не наведе ниједан аргумент, Аргументи команде; ако се овим опцијама не наведе ниједан аргумент,
команда се аутоматски дели на начин на који то ради командно окружење команда се аутоматски дели на начин на који то ради командно окружење
(па се онда аргументи команде учитавају у _command_ аргумент). (па се онда аргументи команде учитавају у _command_ аргумент).
| stdin + | stdin | 0.4.3 | (не користи се) | без stdin |
_(WeeChat ≥ 0.4.3)_ |
(не користи се) |
без stdin |
Креира пајп за упис података на стандардни улаз (stdin) дете процеса Креира пајп за упис података на стандардни улаз (stdin) дете процеса
(погледајте функцију <<_hook_set,hook_set>>). (погледајте функцију <<_hook_set,hook_set>>).
| buffer_flush + | buffer_flush | 1.0 | број бајтова | 65536 |
_(WeeChat ≥ 1.0)_ |
број бајтова |
65536 |
Минимални број бајтова након којег се испира stdout/stderr (да се излаз Минимални број бајтова након којег се испира stdout/stderr (да се излаз
пошаље функцији повратног позива), између 1 и 65536. Ако је вредност 1, пошаље функцији повратног позива), између 1 и 65536. Ако је вредност 1,
излаз се тренутно шаље функцији повратног позива. излаз се тренутно шаље функцији повратног позива.
| detached + | detached | 1.0 | (не користи се) | нема одвајања |
_(WeeChat ≥ 1.0)_ |
(не користи се) |
нема одвајања |
Процес се покреће у одвојеном режиму: stdout и stderr се преусмеравају на Процес се покреће у одвојеном режиму: stdout и stderr се преусмеравају на
_/dev/null_. _/dev/null_.
|=== |===