summaryrefslogtreecommitdiff
path: root/doc/ja
diff options
context:
space:
mode:
Diffstat (limited to 'doc/ja')
-rw-r--r--doc/ja/autogen/plugin_api/completions.txt2
-rw-r--r--doc/ja/autogen/plugin_api/infos.txt6
-rw-r--r--doc/ja/autogen/user/exec_commands.txt53
-rw-r--r--doc/ja/autogen/user/exec_options.txt20
-rw-r--r--doc/ja/autogen/user/weechat_commands.txt25
-rw-r--r--doc/ja/weechat_user.ja.txt28
6 files changed, 124 insertions, 10 deletions
diff --git a/doc/ja/autogen/plugin_api/completions.txt b/doc/ja/autogen/plugin_api/completions.txt
index 919de958c..12a90fa3a 100644
--- a/doc/ja/autogen/plugin_api/completions.txt
+++ b/doc/ja/autogen/plugin_api/completions.txt
@@ -10,6 +10,8 @@
| aspell | aspell_langs | aspell でサポートされる全ての言語のリスト
+| exec | exec_commands_ids | ids (numbers and names) of executed commands
+
| guile | guile_script | スクリプトのリスト
| irc | irc_channel | 現在の IRC チャンネル
diff --git a/doc/ja/autogen/plugin_api/infos.txt b/doc/ja/autogen/plugin_api/infos.txt
index 95e92932e..dcefc6d2a 100644
--- a/doc/ja/autogen/plugin_api/infos.txt
+++ b/doc/ja/autogen/plugin_api/infos.txt
@@ -32,6 +32,12 @@
| weechat | charset_terminal | ターミナルの文字集合 | -
+| weechat | color_ansi_regex | POSIX extended regular expression to search ANSI escape codes | -
+
+| weechat | color_rgb2term | RGB color converted to terminal color (0-255) | rgb,limit (limit is optional and is set to 256 by default)
+
+| weechat | color_term2rgb | terminal color (0-255) converted to RGB color | color (terminal color: 0-255)
+
| weechat | cursor_mode | カーソルモードが有効の場合 1 | -
| weechat | date | WeeChat のコンパイル日 | -
diff --git a/doc/ja/autogen/user/exec_commands.txt b/doc/ja/autogen/user/exec_commands.txt
new file mode 100644
index 000000000..3134547d5
--- /dev/null
+++ b/doc/ja/autogen/user/exec_commands.txt
@@ -0,0 +1,53 @@
+[[command_exec_exec]]
+[command]*`exec`* execute external commands::
+
+----
+/exec -list
+ [-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer <name>] [-l|-o|-n] |-sw|-nosw] [-ln|-noln] [-color off|decode|strip] [-rc|-norc] [-timeout <timeout>] [-name <name>] <command>
+ -in <id> <text>
+ -inclose <id> [<text>]
+ -signal <id> <signal>
+ -kill <id>
+ -killall
+ -set <id> <property> <value>
+ -del <id>|-all [<id>...]
+
+ -list: list commands
+ -sh: use the shell to execute the command (default)
+ -nosh: do not use the shell to execute the command (required if the command has some unsafe data, for example the content of a message from another user)
+ -bg: run process in background: do not display process output neither return code (not compatible with options -o/-n)
+ -nobg: catch process output and display return code (default)
+ -stdin: create a pipe for sending data to the process (with /exec -in/-inclose)
+-nostdin: do not create a pipe for stdin (default)
+ -buffer: display/send output of command on this buffer (if the buffer is not found, a new buffer with name "exec.exec.xxx" is created)
+ -l: display locally output of command on buffer (default)
+ -o: send output of command to the buffer (not compatible with option -bg)
+ -n: display output of command in a new buffer (not compatible with option -bg)
+ -sw: switch to the output buffer (default)
+ -nosw: don't switch to the output buffer
+ -ln: display line numbers (default in new buffer only)
+ -noln: don't display line numbers
+ -color: action on ANSI colors in output:
+ ansi: keep ANSI codes as-is
+ decode: convert ANSI colors to WeeChat/IRC (default)
+ strip: remove ANSI colors
+ -rc: display return code (default)
+ -norc: don't display return code
+-timeout: set a timeout for the command (in seconds)
+ -name: set a name for the command (to name it later with /exec)
+ command: the command to execute; if beginning with "url:", the shell is disabled and the content of URL is downloaded and sent as output
+ id: command identifier: either its number or name (if set with "-name xxx")
+ -in: send text on standard input of process
+-inclose: same a -in, but stdin is closed after (and text is optional: without text, the stdin is just closed)
+ -signal: send a signal to the process; the signal can be an integer or one of these names: hup, int, quit, kill, term, usr1, usr2
+ -kill: alias of "-signal <id> kill"
+-killall: kill all running processes
+ -set: set a hook property (see function hook_set in plugin API reference)
+property: hook property
+ value: new value for hook property
+ -del: delete a terminated command
+ -all: delete all terminated commands
+
+Default options can be set in the option exec.command.default_options.
+----
+
diff --git a/doc/ja/autogen/user/exec_options.txt b/doc/ja/autogen/user/exec_options.txt
new file mode 100644
index 000000000..98348ac4a
--- /dev/null
+++ b/doc/ja/autogen/user/exec_options.txt
@@ -0,0 +1,20 @@
+* [[option_exec.color.flag_finished]] *exec.color.flag_finished*
+** 説明: `text color for a finished command flag in list of commands`
+** タイプ: 色
+** 値: WeeChat の色名 (default、black、(dark)gray、white、(light)red、(light)green、brown、yellow、(light)blue、(light)magenta、(light)cyan) 、ターミナル色番号またはその別名; 色の前に属性を置くことができます (テキスト前景色のみ、背景色は出来ません): 太字は "*"、反転は "!"、イタリックは "/"、下線は "_" (デフォルト値: `lightred`)
+
+* [[option_exec.color.flag_running]] *exec.color.flag_running*
+** 説明: `text color for a running command flag in list of commands`
+** タイプ: 色
+** 値: WeeChat の色名 (default、black、(dark)gray、white、(light)red、(light)green、brown、yellow、(light)blue、(light)magenta、(light)cyan) 、ターミナル色番号またはその別名; 色の前に属性を置くことができます (テキスト前景色のみ、背景色は出来ません): 太字は "*"、反転は "!"、イタリックは "/"、下線は "_" (デフォルト値: `lightgreen`)
+
+* [[option_exec.command.default_options]] *exec.command.default_options*
+** 説明: `default options for command /exec (see /help exec); example: "-nosh -bg" to run all commands in background (no output), and without using the shell`
+** タイプ: 文字列
+** 値: 未制約文字列 (デフォルト値: `""`)
+
+* [[option_exec.command.purge_delay]] *exec.command.purge_delay*
+** 説明: `delay for purging finished commands (in seconds, 0 = purge commands immediately, -1 = never purge)`
+** タイプ: 整数
+** 値: -1 .. 25920000 (デフォルト値: `0`)
+
diff --git a/doc/ja/autogen/user/weechat_commands.txt b/doc/ja/autogen/user/weechat_commands.txt
index 3c4ff3d84..ae5cbfec8 100644
--- a/doc/ja/autogen/user/weechat_commands.txt
+++ b/doc/ja/autogen/user/weechat_commands.txt
@@ -131,21 +131,26 @@ localvar: 現在のバッファのローカル変数を表示
/color alias <color> <name>
unalias <color>
reset
+ term2rgb <color>
+ rgb2term <rgb> [<limit>]
-o
- alias: ある色に別名を追加
-unalias: 別名の削除
- color: カラー番号 (0 以上、最大値はターミナル依存、多くの場合 63 か 255)
- name: カラーの別名 (例えば: "orange")
- reset: 全てのカラーペアをリセット (自動的なリセットが無効化されており、これ以上のカラーペアが利用できない場合に必要、オプション weechat.look.color_pairs_auto_reset を参照)
- -o: 端末/色情報を現在の入力としてバッファに送る
+ alias: add an alias for a color
+ unalias: delete an alias
+ color: color number (greater than or equal to 0, max depends on terminal, commonly 63 or 255)
+ name: alias name for color (for example: "orange")
+ reset: reset all color pairs (required when no more color pairs are available if automatic reset is disabled, see option weechat.look.color_pairs_auto_reset)
+term2rgb: convert a terminal color (0-255) to RGB color
+rgb2term: convert a RGB color to terminal color (0-255)
+ limit: number of colors to use in terminal table (starting from 0); default is 256
+ -o: send terminal/colors info to current buffer as input
-引数無しの場合、コマンドは新しいバッファに色を表示します。
+Without argument, this command displays colors in a new buffer.
-例:
- 色番号 214 に対応する別名 "orange" を追加:
+Examples:
+ add alias "orange" for color 214:
/color alias 214 orange
- 色番号 214 を削除:
+ delete color 214:
/color unalias 214
----
diff --git a/doc/ja/weechat_user.ja.txt b/doc/ja/weechat_user.ja.txt
index 469fd2946..802532418 100644
--- a/doc/ja/weechat_user.ja.txt
+++ b/doc/ja/weechat_user.ja.txt
@@ -1930,6 +1930,34 @@ IRC チャンネル (またはプライベートメッセージ) の文字コー
文字コードに関する問題があれば、'WeeChat FAQ' を参照してください。
+// TRANSLATION MISSING
+[[exec_plugin]]
+=== Exec plugin
+
+The `/exec` command lets you execute external commands inside WeeChat and
+display the output locally, or send it to a buffer.
+
+[[exec_options]]
+==== Options (exec.conf)
+
+Sections:
+
+[width="100%",cols="3m,6m,16",options="header"]
+|===
+| Section | Control command | Description
+| command | /set exec.command.* | Options for commands
+| color | /set exec.color.* | Colors
+|===
+
+Options:
+
+include::autogen/user/exec_options.txt[]
+
+[[exec_commands]]
+==== Commands
+
+include::autogen/user/exec_commands.txt[]
+
[[fifo_plugin]]
=== Fifo プラグイン