diff --git a/doc/de/autogen/user/exec_commands.txt b/doc/de/autogen/user/exec_commands.txt index 1f07722f1..4f33d7811 100644 --- a/doc/de/autogen/user/exec_commands.txt +++ b/doc/de/autogen/user/exec_commands.txt @@ -3,7 +3,7 @@ ---- /exec -list - [-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer ] [-l|-o|-n] |-sw|-nosw] [-ln|-noln] [-color ansi|auto|irc|weechat|strip] [-rc|-norc] [-timeout ] [-name ] [-pipe ] [-hsignal ] + [-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer ] [-l|-o|-n|-nf] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-color ansi|auto|irc|weechat|strip] [-rc|-norc] [-timeout ] [-name ] [-pipe ] [-hsignal ] -in -inclose [] -signal @@ -12,52 +12,56 @@ -set -del |-all [...] - -list: zeigt laufende Befehle an - -sh: die shell wird verwendet um Befehle auszuführen (Standardverhalten) - -nosh: die shell wird nicht verwendet um Befehle auszuführen (wird benötigt, falls der Befehl mit sensiblen Daten hantiert. Zum Beispiel der Inhalt einer Nachricht eines anderen Users) - -bg: führt Prozess im Hintergrund aus: gibt weder eine Prozessausgabe noch einen Rückgabewert aus (nicht kompatibel mit Optionen -o/-n) - -nobg: gibt Prozessausgabe und Rückgabewert aus (Standardverhalten) - -stdin: erstellt eine PIPE um Daten zu dem Prozess zu senden (mittels /exec -in/-inclose) --nostdin: es wird keine PIPE für stdin erstellt (Standardverhalten) - -buffer: zeigt/sendet Ausgabe des Befehls an diesen Buffer (wird der angegebene Buffer nicht gefunden wird ein neuer Bufger mit dem Namen "exec.exec.xxx" erstellt) - -l: gibt die Ausgabe des Befehls lokal im Buffer aus (Standardverhalten) - -o: gibt die Ausgabe des Befehls im Buffer aus (nicht kompatibel mit Option -bg) - -n: gibt die Ausgabe des Befehls in einem neuen Buffer aus (nicht kompatibel mit Option -bg) - -sw: es wird zum Ausgabebuffer gewechselt (Standardverhalten) - -nosw: es wird nicht zum Ausgabebuffer gewechselt - -ln: legt eine Zeilennummerierung an (Standardverhalten, nur für neue Buffer) - -noln: es wird keine Zeilennummerierung angezeigt - -color: es wird eine der folgenden Aktionen bei ANSI Zeichenkodierungen in der Ausgabe durchgeführt: - ansi: ANSI-Kodierung wird beibehalten - auto: konvertiert ANSI-Farben nach WeeChat/IRC (Standardverhalten) - irc: konvertiert ANSI-Farben nach IRC Farben - weechat: konvertiert ANSI-Farben nach WeeChat-Farben - strip: ANSI-Farben werden entfernt - -rc: der Rückgabewert wird ausgegeben (Standardverhalten) - -norc: der Rückgabewert wird unterdrückt --timeout: gibt eine Zeitbeschränkung für den auszuführenden Befehl an (in Sekunden) - -name: dem Befehl wird ein Name zugewiesen (um den Befehl später mittels /exec zu nutzen) - -pipe: sendet die Ausgabe an einen Befehl von WeeChat/Erweiterung (Zeile für Zeile); sollen Leerzeichen im Befehl/Argument verwendet werden, müssen diese mit Anführungszeichen eingeschlossen werden; Variable $line wird durch die entsprechende Zeile ersetzt (standardmäßig wird die Zeile, getrennt durch ein Leerzeichen, dem Befehl nachgestellt (nicht kompatibel mit den Optionen -bg/-o/-n) - -hsignal: sendet die Ausgabe als hsignal (um es z.B. mittels /trigger zu verwenden) (nicht kompatibel mit den Optionen -bg/-o/-n) - command: Befehl der ausgeführt werden soll; beginnt der Befehl mit "url:", wird die shell deaktiviert und der Inhalt der URL wird heruntergeladen und im Buffer ausgegeben - id: identifiziert eindeutig einen Befehl: entweder durch eine Nummer oder einen Namen (sofern ein Name mittels "-name xxx" zugewiesen wurde) - -in: sendet Text an die Standardeingabe des Prozesses --inclose: wie -in aber stdin wird danach geschlossen (und der Text ist optional: ohne Text wird stdin umgehend geschlossen - -signal: schickt ein Signal an den Prozess; das Signal kann entweder ein Integerwert oder eines der folgenden Schlüsselworte sein: hup, int, quit, kill, term, usr1, usr2 - -kill: Alias für "-signal kill" --killall: beendet alle laufenden Prozesse - -set: nutzt eine Hook-Fähigkeit (siehe Funktion hook_set in Anleitung für API Erweiterung) -property: Hook-Fähigkeit - value: neuer Wert für Hook-Fähigkeit - -del: entfernt einen beendeten Befehl - -all: entfernt alle beendeten Befehle + -list: list commands + -sh: use the shell to execute the command (WARNING: use this option ONLY if all arguments are safe date, see option -nosh) + -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) (default) + -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) + -nf: display output of command in a new buffer with free content (no word-wrap, no limit on number of lines) (not compatible with option -bg) + -cl: clear the new buffer before displaying output + -nocl: append to the new buffer without clear (default) + -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 + auto: convert ANSI colors to WeeChat/IRC (default) + irc: convert ANSI colors to IRC colors + weechat: convert ANSI colors to WeeChat colors + 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) + -pipe: send the output to a WeeChat/plugin command (line by line); if there are spaces in command/arguments, enclose them with double quotes; variable $line is replaced by the line (by default the line is added after the command, separated by a space) (not compatible with options -bg/-o/-n) +-hsignal: send the output as a hsignal (to be used for example in a trigger) (not compatible with options -bg/-o/-n) + 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 as -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 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 -Standardoptionen können in der Option exec.command.default_options bestimmt werden. +Default options can be set in the option exec.command.default_options. -Beispiele: +Examples: /exec -n ls -l /tmp /exec -n ps xu | grep weechat /exec -n -norc url:http://pastebin.com/raw.php?i=xxxxxxxx + /exec -nf -noln links -dump http://weechat.org/files/doc/devel/weechat_user.en.html /exec -o uptime /exec -pipe "/print Machine uptime:" uptime ---- diff --git a/doc/en/autogen/user/exec_commands.txt b/doc/en/autogen/user/exec_commands.txt index b803918e0..6d24e2abf 100644 --- a/doc/en/autogen/user/exec_commands.txt +++ b/doc/en/autogen/user/exec_commands.txt @@ -3,7 +3,7 @@ ---- /exec -list - [-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer ] [-l|-o|-n] |-sw|-nosw] [-ln|-noln] [-color ansi|auto|irc|weechat|strip] [-rc|-norc] [-timeout ] [-name ] [-pipe ] [-hsignal ] + [-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer ] [-l|-o|-n|-nf] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-color ansi|auto|irc|weechat|strip] [-rc|-norc] [-timeout ] [-name ] [-pipe ] [-hsignal ] -in -inclose [] -signal @@ -23,6 +23,9 @@ -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) + -nf: display output of command in a new buffer with free content (no word-wrap, no limit on number of lines) (not compatible with option -bg) + -cl: clear the new buffer before displaying output + -nocl: append to the new buffer without clear (default) -sw: switch to the output buffer (default) -nosw: don't switch to the output buffer -ln: display line numbers (default in new buffer only) @@ -58,6 +61,7 @@ Examples: /exec -n ls -l /tmp /exec -n ps xu | grep weechat /exec -n -norc url:http://pastebin.com/raw.php?i=xxxxxxxx + /exec -nf -noln links -dump http://weechat.org/files/doc/devel/weechat_user.en.html /exec -o uptime /exec -pipe "/print Machine uptime:" uptime ---- diff --git a/doc/fr/autogen/user/exec_commands.txt b/doc/fr/autogen/user/exec_commands.txt index e74ea8d6e..f03529e05 100644 --- a/doc/fr/autogen/user/exec_commands.txt +++ b/doc/fr/autogen/user/exec_commands.txt @@ -3,7 +3,7 @@ ---- /exec -list - [-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer ] [-l|-o|-n] |-sw|-nosw] [-ln|-noln] [-color ansi|auto|irc|weechat|strip] [-rc|-norc] [-timeout ] [-name ] [-pipe ] [-hsignal ] + [-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer ] [-l|-o|-n|-nf] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-color ansi|auto|irc|weechat|strip] [-rc|-norc] [-timeout ] [-name ] [-pipe ] [-hsignal ] -in -inclose [] -signal @@ -23,6 +23,9 @@ -l: afficher localement la sortie de la commande sur le tampon (par défaut) -o: envoyer la sortie de la commande au tampon (non compatible avec l'option -bg) -n: afficher la sortie de la commande dans un nouveau tampon (non compatible avec l'option -bg) + -nf: afficher la sortie de la commande dans un nouveau tampon avec contenu libre (pas de coupure des mots, pas de limite sur le nombre de lignes) (non compatible avec l'option -bg) + -cl: effacer le nouveau tampon avant d'afficher la sortie + -nocl: ajouter au nouveau tampon sans effacer (par défaut) -sw: basculer vers le tampon de sortie (par défaut) -nosw: ne pas basculer vers le tampon de sortie -ln: afficher les numéros de ligne (par défaut dans un nouveau tampon seulement) @@ -58,6 +61,7 @@ Exemples: /exec -n ls -l /tmp /exec -n ps xu | grep weechat /exec -n -norc url:http://pastebin.com/raw.php?i=xxxxxxxx + /exec -nf -noln links -dump http://weechat.org/files/doc/devel/weechat_user.en.html /exec -o uptime /exec -pipe "/print Uptime de la machine:" uptime ---- diff --git a/doc/it/autogen/user/exec_commands.txt b/doc/it/autogen/user/exec_commands.txt index b803918e0..6d24e2abf 100644 --- a/doc/it/autogen/user/exec_commands.txt +++ b/doc/it/autogen/user/exec_commands.txt @@ -3,7 +3,7 @@ ---- /exec -list - [-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer ] [-l|-o|-n] |-sw|-nosw] [-ln|-noln] [-color ansi|auto|irc|weechat|strip] [-rc|-norc] [-timeout ] [-name ] [-pipe ] [-hsignal ] + [-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer ] [-l|-o|-n|-nf] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-color ansi|auto|irc|weechat|strip] [-rc|-norc] [-timeout ] [-name ] [-pipe ] [-hsignal ] -in -inclose [] -signal @@ -23,6 +23,9 @@ -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) + -nf: display output of command in a new buffer with free content (no word-wrap, no limit on number of lines) (not compatible with option -bg) + -cl: clear the new buffer before displaying output + -nocl: append to the new buffer without clear (default) -sw: switch to the output buffer (default) -nosw: don't switch to the output buffer -ln: display line numbers (default in new buffer only) @@ -58,6 +61,7 @@ Examples: /exec -n ls -l /tmp /exec -n ps xu | grep weechat /exec -n -norc url:http://pastebin.com/raw.php?i=xxxxxxxx + /exec -nf -noln links -dump http://weechat.org/files/doc/devel/weechat_user.en.html /exec -o uptime /exec -pipe "/print Machine uptime:" uptime ---- diff --git a/doc/ja/autogen/user/exec_commands.txt b/doc/ja/autogen/user/exec_commands.txt index 115396091..6404dadd7 100644 --- a/doc/ja/autogen/user/exec_commands.txt +++ b/doc/ja/autogen/user/exec_commands.txt @@ -3,7 +3,7 @@ ---- /exec -list - [-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer ] [-l|-o|-n] |-sw|-nosw] [-ln|-noln] [-color ansi|auto|irc|weechat|strip] [-rc|-norc] [-timeout ] [-name ] [-pipe ] [-hsignal ] + [-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer ] [-l|-o|-n|-nf] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-color ansi|auto|irc|weechat|strip] [-rc|-norc] [-timeout ] [-name ] [-pipe ] [-hsignal ] -in -inclose [] -signal @@ -12,52 +12,56 @@ -set -del |-all [...] - -list: コマンドをリストアップ - -sh: コマンドを実行する際にシェルを使う (警告: このオプションを使えるのは、全ての引数が安全なデータの場合だけです、オプション -nosh を参照) - -nosh: コマンドを実行する際にシェルを使わない (コマンドに安全でないデータが含まれる場合に必要、例えば他のユーザからのメッセージの内容) (デフォルト) - -bg: プロセスをバックグラウンド実行: プロセスの出力およびリターンコードを表示しない (オプション -o/-n と互換性はありません) - -nobg: プロセスの出力を受け取り、リターンコードを表示する (デフォルト) - -stdin: プロセスにデータを送信するパイプを作成する (/exec -in/-inclose を使う) --nostdin: 標準入力用にパイプを作成しない (デフォルト) - -buffer: コマンドの出力をこのバッファに表示 / 送信する (バッファが見つからない場合、新しいバッファ "exec.exec.xxx" が作られます) - -l: コマンドの出力をカレントバッファに表示 (デフォルト) - -o: コマンドの出力をカレントバッファに送信 (オプション -bg と互換性はありません) - -n: コマンドの出力を新しいバッファに表示 (オプション -bg と互換性はありません) - -sw: 出力バッファに移動 (デフォルト) - -nosw: 出力バッファに移動しない - -ln: 行数を表示 (新しいバッファに表示する場合はデフォルト) - -noln: 行数を表示しない - -color: 出力に含まれる ANSI 色に対する挙動: - ansi: ANSI 色をそのままにする - auto: ANSI 色を WeeChat/IRC 色に変換 (デフォルト) - irc: ANSI 色を IRC 色に変換 - weechat: ANSI 色を WeeChat 色に変換 - strip: ANSI 色を削除 - -rc: リターンコードを表示 (デフォルト) - -norc: リターンコードを表示しない --timeout: コマンドのタイムアウトを設定 (秒単位) - -name: コマンドの名前を設定 (後から名前を付けるには /exec を使う) - -pipe: WeeChat およびプラグインコマンドに出力を送信 (1 行ごと); コマンドおよび引数に空白が含まれる場合、2 重引用符で囲ってください; 引数 $line はその行で置換されます (デフォルトではコマンドの後ろに空白を付けてから行を追加します) (オプション -bg/-o/-n と互換性はありません) --hsignal: hsignal として出力を送信 (例えばトリガで使われます) (オプション -bg/-o/-n と互換性はありません) - command: 実行するコマンド; "url:" で始まる場合、シェルは無効化され、URL の内容がダウンロードされ、出力として送信されます - id: コマンド識別子: 番号か名前 ("-name xxx" で設定した場合) のどちらか一方 - -in: プロセスの標準入力にテキストを送信 --inclose: -in と同じ、ただし使用後に標準入力を閉じる (テキストは任意: テキストが無い場合、標準入力をすぐに閉じる) - -signal: プロセスにシグナルを送信; シグナルは整数値または次の名前の 1 つ: hup、int、quit、kill、term、usr1、usr2 - -kill: "-signal kill" のエイリアス --killall: 全ての実行中プロセスを kill する - -set: フックプロパティを設定 (プラグイン API リファレンスの hook_set 関数を参照) -property: フックプロパティ - value: フックプロパティの新しい値 - -del: 中断されたコマンドを削除 - -all: 全ての中断されたコマンドを削除 + -list: list commands + -sh: use the shell to execute the command (WARNING: use this option ONLY if all arguments are safe date, see option -nosh) + -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) (default) + -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) + -nf: display output of command in a new buffer with free content (no word-wrap, no limit on number of lines) (not compatible with option -bg) + -cl: clear the new buffer before displaying output + -nocl: append to the new buffer without clear (default) + -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 + auto: convert ANSI colors to WeeChat/IRC (default) + irc: convert ANSI colors to IRC colors + weechat: convert ANSI colors to WeeChat colors + 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) + -pipe: send the output to a WeeChat/plugin command (line by line); if there are spaces in command/arguments, enclose them with double quotes; variable $line is replaced by the line (by default the line is added after the command, separated by a space) (not compatible with options -bg/-o/-n) +-hsignal: send the output as a hsignal (to be used for example in a trigger) (not compatible with options -bg/-o/-n) + 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 as -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 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 -オプション exec.command.default_options でデフォルトオプションの設定が可能です。 +Default options can be set in the option exec.command.default_options. -例: +Examples: /exec -n ls -l /tmp /exec -n ps xu | grep weechat /exec -n -norc url:http://pastebin.com/raw.php?i=xxxxxxxx + /exec -nf -noln links -dump http://weechat.org/files/doc/devel/weechat_user.en.html /exec -o uptime /exec -pipe "/print Machine uptime:" uptime ---- diff --git a/doc/pl/autogen/user/exec_commands.txt b/doc/pl/autogen/user/exec_commands.txt index b803918e0..6d24e2abf 100644 --- a/doc/pl/autogen/user/exec_commands.txt +++ b/doc/pl/autogen/user/exec_commands.txt @@ -3,7 +3,7 @@ ---- /exec -list - [-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer ] [-l|-o|-n] |-sw|-nosw] [-ln|-noln] [-color ansi|auto|irc|weechat|strip] [-rc|-norc] [-timeout ] [-name ] [-pipe ] [-hsignal ] + [-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer ] [-l|-o|-n|-nf] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-color ansi|auto|irc|weechat|strip] [-rc|-norc] [-timeout ] [-name ] [-pipe ] [-hsignal ] -in -inclose [] -signal @@ -23,6 +23,9 @@ -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) + -nf: display output of command in a new buffer with free content (no word-wrap, no limit on number of lines) (not compatible with option -bg) + -cl: clear the new buffer before displaying output + -nocl: append to the new buffer without clear (default) -sw: switch to the output buffer (default) -nosw: don't switch to the output buffer -ln: display line numbers (default in new buffer only) @@ -58,6 +61,7 @@ Examples: /exec -n ls -l /tmp /exec -n ps xu | grep weechat /exec -n -norc url:http://pastebin.com/raw.php?i=xxxxxxxx + /exec -nf -noln links -dump http://weechat.org/files/doc/devel/weechat_user.en.html /exec -o uptime /exec -pipe "/print Machine uptime:" uptime ---- diff --git a/po/cs.po b/po/cs.po index b0de07ca8..1fc4bcd81 100644 --- a/po/cs.po +++ b/po/cs.po @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2014-03-24 14:22+0100\n" +"POT-Creation-Date: 2014-03-25 09:20+0100\n" "PO-Revision-Date: 2014-03-24 14:23+0100\n" "Last-Translator: Jiri Golembiovsky \n" "Language-Team: weechat-dev \n" @@ -4626,11 +4626,11 @@ msgstr "vykonat příkaz v tichosti" msgid "" "-list || [-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer ] [-l|-o|-" -"n] |-sw|-nosw] [-ln|-noln] [-color ansi|auto|irc|weechat|strip] [-rc|-norc] " -"[-timeout ] [-name ] [-pipe ] [-hsignal ] " -" || -in || -inclose [] || -signal " -" || -kill || -killall || -set || -del " -"|-all [...]" +"n|-nf] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-color ansi|auto|irc|weechat|" +"strip] [-rc|-norc] [-timeout ] [-name ] [-pipe ] [-" +"hsignal ] || -in || -inclose [] || -" +"signal || -kill || -killall || -set " +" || -del |-all [...]" msgstr "" msgid "" @@ -4653,6 +4653,10 @@ msgid "" "bg)\n" " -n: display output of command in a new buffer (not compatible with " "option -bg)\n" +" -nf: display output of command in a new buffer with free content (no " +"word-wrap, no limit on number of lines) (not compatible with option -bg)\n" +" -cl: clear the new buffer before displaying output\n" +" -nocl: append to the new buffer without clear (default)\n" " -sw: switch to the output buffer (default)\n" " -nosw: don't switch to the output buffer\n" " -ln: display line numbers (default in new buffer only)\n" @@ -4697,6 +4701,8 @@ msgid "" " /exec -n ls -l /tmp\n" " /exec -n ps xu | grep weechat\n" " /exec -n -norc url:http://pastebin.com/raw.php?i=xxxxxxxx\n" +" /exec -nf -noln links -dump http://weechat.org/files/doc/devel/" +"weechat_user.en.html\n" " /exec -o uptime\n" " /exec -pipe \"/print Machine uptime:\" uptime" msgstr "" diff --git a/po/de.po b/po/de.po index dbf14c3c8..f28e6e9c4 100644 --- a/po/de.po +++ b/po/de.po @@ -22,7 +22,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2014-03-24 14:22+0100\n" +"POT-Creation-Date: 2014-03-25 09:20+0100\n" "PO-Revision-Date: 2014-03-24 14:23+0100\n" "Last-Translator: Nils Görs \n" "Language-Team: German \n" @@ -5334,13 +5334,14 @@ msgstr "Befehl \"%s\" entfernt" msgid "execute external commands" msgstr "führe externe Befehle aus" +#, fuzzy msgid "" "-list || [-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer ] [-l|-o|-" -"n] |-sw|-nosw] [-ln|-noln] [-color ansi|auto|irc|weechat|strip] [-rc|-norc] " -"[-timeout ] [-name ] [-pipe ] [-hsignal ] " -" || -in || -inclose [] || -signal " -" || -kill || -killall || -set || -del " -"|-all [...]" +"n|-nf] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-color ansi|auto|irc|weechat|" +"strip] [-rc|-norc] [-timeout ] [-name ] [-pipe ] [-" +"hsignal ] || -in || -inclose [] || -" +"signal || -kill || -killall || -set " +" || -del |-all [...]" msgstr "" "-list || [-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer ] [-l|-o|-" "n] |-sw|-nosw] [-ln|-noln] [-color ansi|auto|irc|weechat|strip] [-rc|-norc] " @@ -5349,6 +5350,7 @@ msgstr "" " || -kill || -killall || -set || -del " "|-all [...]" +#, fuzzy msgid "" " -list: list commands\n" " -sh: use the shell to execute the command (WARNING: use this option " @@ -5369,6 +5371,10 @@ msgid "" "bg)\n" " -n: display output of command in a new buffer (not compatible with " "option -bg)\n" +" -nf: display output of command in a new buffer with free content (no " +"word-wrap, no limit on number of lines) (not compatible with option -bg)\n" +" -cl: clear the new buffer before displaying output\n" +" -nocl: append to the new buffer without clear (default)\n" " -sw: switch to the output buffer (default)\n" " -nosw: don't switch to the output buffer\n" " -ln: display line numbers (default in new buffer only)\n" @@ -5413,6 +5419,8 @@ msgid "" " /exec -n ls -l /tmp\n" " /exec -n ps xu | grep weechat\n" " /exec -n -norc url:http://pastebin.com/raw.php?i=xxxxxxxx\n" +" /exec -nf -noln links -dump http://weechat.org/files/doc/devel/" +"weechat_user.en.html\n" " /exec -o uptime\n" " /exec -pipe \"/print Machine uptime:\" uptime" msgstr "" diff --git a/po/es.po b/po/es.po index d7a1e9340..9aca0979c 100644 --- a/po/es.po +++ b/po/es.po @@ -22,7 +22,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2014-03-24 14:22+0100\n" +"POT-Creation-Date: 2014-03-25 09:20+0100\n" "PO-Revision-Date: 2014-03-24 14:23+0100\n" "Last-Translator: Elián Hanisch \n" "Language-Team: weechat-dev \n" @@ -4840,11 +4840,11 @@ msgstr "ejecuta un comando silenciosamente" msgid "" "-list || [-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer ] [-l|-o|-" -"n] |-sw|-nosw] [-ln|-noln] [-color ansi|auto|irc|weechat|strip] [-rc|-norc] " -"[-timeout ] [-name ] [-pipe ] [-hsignal ] " -" || -in || -inclose [] || -signal " -" || -kill || -killall || -set || -del " -"|-all [...]" +"n|-nf] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-color ansi|auto|irc|weechat|" +"strip] [-rc|-norc] [-timeout ] [-name ] [-pipe ] [-" +"hsignal ] || -in || -inclose [] || -" +"signal || -kill || -killall || -set " +" || -del |-all [...]" msgstr "" msgid "" @@ -4867,6 +4867,10 @@ msgid "" "bg)\n" " -n: display output of command in a new buffer (not compatible with " "option -bg)\n" +" -nf: display output of command in a new buffer with free content (no " +"word-wrap, no limit on number of lines) (not compatible with option -bg)\n" +" -cl: clear the new buffer before displaying output\n" +" -nocl: append to the new buffer without clear (default)\n" " -sw: switch to the output buffer (default)\n" " -nosw: don't switch to the output buffer\n" " -ln: display line numbers (default in new buffer only)\n" @@ -4911,6 +4915,8 @@ msgid "" " /exec -n ls -l /tmp\n" " /exec -n ps xu | grep weechat\n" " /exec -n -norc url:http://pastebin.com/raw.php?i=xxxxxxxx\n" +" /exec -nf -noln links -dump http://weechat.org/files/doc/devel/" +"weechat_user.en.html\n" " /exec -o uptime\n" " /exec -pipe \"/print Machine uptime:\" uptime" msgstr "" diff --git a/po/fr.po b/po/fr.po index 95adf2cf2..8b938d0ea 100644 --- a/po/fr.po +++ b/po/fr.po @@ -21,8 +21,8 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2014-03-24 14:22+0100\n" -"PO-Revision-Date: 2014-03-24 14:23+0100\n" +"POT-Creation-Date: 2014-03-25 09:20+0100\n" +"PO-Revision-Date: 2014-03-25 09:21+0100\n" "Last-Translator: Sébastien Helleu \n" "Language-Team: weechat-dev \n" "Language: fr\n" @@ -5205,18 +5205,18 @@ msgstr "exécuter des commandes externes" msgid "" "-list || [-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer ] [-l|-o|-" -"n] |-sw|-nosw] [-ln|-noln] [-color ansi|auto|irc|weechat|strip] [-rc|-norc] " -"[-timeout ] [-name ] [-pipe ] [-hsignal ] " -" || -in || -inclose [] || -signal " -" || -kill || -killall || -set || -del " -"|-all [...]" +"n|-nf] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-color ansi|auto|irc|weechat|" +"strip] [-rc|-norc] [-timeout ] [-name ] [-pipe ] [-" +"hsignal ] || -in || -inclose [] || -" +"signal || -kill || -killall || -set " +" || -del |-all [...]" msgstr "" "-list || [-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer ] [-l|-o|-" -"n] |-sw|-nosw] [-ln|-noln] [-color ansi|auto|irc|weechat|strip] [-rc|-norc] " -"[-timeout ] [-name ] [-pipe ] [-hsignal ] " -" || -in || -inclose [] || -signal " -" || -kill || -killall || -set || -del " -"|-all [...]" +"n|-nf] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-color ansi|auto|irc|weechat|" +"strip] [-rc|-norc] [-timeout ] [-name ] [-pipe ] [-" +"hsignal ] || -in || -inclose [] || -" +"signal || -kill || -killall || -set " +" || -del |-all [...]" msgid "" " -list: list commands\n" @@ -5238,6 +5238,10 @@ msgid "" "bg)\n" " -n: display output of command in a new buffer (not compatible with " "option -bg)\n" +" -nf: display output of command in a new buffer with free content (no " +"word-wrap, no limit on number of lines) (not compatible with option -bg)\n" +" -cl: clear the new buffer before displaying output\n" +" -nocl: append to the new buffer without clear (default)\n" " -sw: switch to the output buffer (default)\n" " -nosw: don't switch to the output buffer\n" " -ln: display line numbers (default in new buffer only)\n" @@ -5282,6 +5286,8 @@ msgid "" " /exec -n ls -l /tmp\n" " /exec -n ps xu | grep weechat\n" " /exec -n -norc url:http://pastebin.com/raw.php?i=xxxxxxxx\n" +" /exec -nf -noln links -dump http://weechat.org/files/doc/devel/" +"weechat_user.en.html\n" " /exec -o uptime\n" " /exec -pipe \"/print Machine uptime:\" uptime" msgstr "" @@ -5308,6 +5314,11 @@ msgstr "" "l'option -bg)\n" " -n: afficher la sortie de la commande dans un nouveau tampon (non " "compatible avec l'option -bg)\n" +" -nf: afficher la sortie de la commande dans un nouveau tampon avec " +"contenu libre (pas de coupure des mots, pas de limite sur le nombre de " +"lignes) (non compatible avec l'option -bg)\n" +" -cl: effacer le nouveau tampon avant d'afficher la sortie\n" +" -nocl: ajouter au nouveau tampon sans effacer (par défaut)\n" " -sw: basculer vers le tampon de sortie (par défaut)\n" " -nosw: ne pas basculer vers le tampon de sortie\n" " -ln: afficher les numéros de ligne (par défaut dans un nouveau tampon " @@ -5357,6 +5368,8 @@ msgstr "" " /exec -n ls -l /tmp\n" " /exec -n ps xu | grep weechat\n" " /exec -n -norc url:http://pastebin.com/raw.php?i=xxxxxxxx\n" +" /exec -nf -noln links -dump http://weechat.org/files/doc/devel/" +"weechat_user.en.html\n" " /exec -o uptime\n" " /exec -pipe \"/print Uptime de la machine:\" uptime" diff --git a/po/hu.po b/po/hu.po index b67b890b9..c0b535d14 100644 --- a/po/hu.po +++ b/po/hu.po @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2014-03-24 14:22+0100\n" +"POT-Creation-Date: 2014-03-25 09:20+0100\n" "PO-Revision-Date: 2014-03-24 14:23+0100\n" "Last-Translator: Andras Voroskoi \n" "Language-Team: weechat-dev \n" @@ -4215,11 +4215,11 @@ msgstr "%s belső parancsok:\n" msgid "" "-list || [-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer ] [-l|-o|-" -"n] |-sw|-nosw] [-ln|-noln] [-color ansi|auto|irc|weechat|strip] [-rc|-norc] " -"[-timeout ] [-name ] [-pipe ] [-hsignal ] " -" || -in || -inclose [] || -signal " -" || -kill || -killall || -set || -del " -"|-all [...]" +"n|-nf] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-color ansi|auto|irc|weechat|" +"strip] [-rc|-norc] [-timeout ] [-name ] [-pipe ] [-" +"hsignal ] || -in || -inclose [] || -" +"signal || -kill || -killall || -set " +" || -del |-all [...]" msgstr "" msgid "" @@ -4242,6 +4242,10 @@ msgid "" "bg)\n" " -n: display output of command in a new buffer (not compatible with " "option -bg)\n" +" -nf: display output of command in a new buffer with free content (no " +"word-wrap, no limit on number of lines) (not compatible with option -bg)\n" +" -cl: clear the new buffer before displaying output\n" +" -nocl: append to the new buffer without clear (default)\n" " -sw: switch to the output buffer (default)\n" " -nosw: don't switch to the output buffer\n" " -ln: display line numbers (default in new buffer only)\n" @@ -4286,6 +4290,8 @@ msgid "" " /exec -n ls -l /tmp\n" " /exec -n ps xu | grep weechat\n" " /exec -n -norc url:http://pastebin.com/raw.php?i=xxxxxxxx\n" +" /exec -nf -noln links -dump http://weechat.org/files/doc/devel/" +"weechat_user.en.html\n" " /exec -o uptime\n" " /exec -pipe \"/print Machine uptime:\" uptime" msgstr "" diff --git a/po/it.po b/po/it.po index bb5019b30..92d1b8f26 100644 --- a/po/it.po +++ b/po/it.po @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2014-03-24 14:22+0100\n" +"POT-Creation-Date: 2014-03-25 09:20+0100\n" "PO-Revision-Date: 2014-03-24 14:23+0100\n" "Last-Translator: Esteban I. Ruiz Moreno \n" "Language-Team: weechat-dev \n" @@ -4979,11 +4979,11 @@ msgstr "esegue un comando in silenzio" msgid "" "-list || [-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer ] [-l|-o|-" -"n] |-sw|-nosw] [-ln|-noln] [-color ansi|auto|irc|weechat|strip] [-rc|-norc] " -"[-timeout ] [-name ] [-pipe ] [-hsignal ] " -" || -in || -inclose [] || -signal " -" || -kill || -killall || -set || -del " -"|-all [...]" +"n|-nf] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-color ansi|auto|irc|weechat|" +"strip] [-rc|-norc] [-timeout ] [-name ] [-pipe ] [-" +"hsignal ] || -in || -inclose [] || -" +"signal || -kill || -killall || -set " +" || -del |-all [...]" msgstr "" msgid "" @@ -5006,6 +5006,10 @@ msgid "" "bg)\n" " -n: display output of command in a new buffer (not compatible with " "option -bg)\n" +" -nf: display output of command in a new buffer with free content (no " +"word-wrap, no limit on number of lines) (not compatible with option -bg)\n" +" -cl: clear the new buffer before displaying output\n" +" -nocl: append to the new buffer without clear (default)\n" " -sw: switch to the output buffer (default)\n" " -nosw: don't switch to the output buffer\n" " -ln: display line numbers (default in new buffer only)\n" @@ -5050,6 +5054,8 @@ msgid "" " /exec -n ls -l /tmp\n" " /exec -n ps xu | grep weechat\n" " /exec -n -norc url:http://pastebin.com/raw.php?i=xxxxxxxx\n" +" /exec -nf -noln links -dump http://weechat.org/files/doc/devel/" +"weechat_user.en.html\n" " /exec -o uptime\n" " /exec -pipe \"/print Machine uptime:\" uptime" msgstr "" diff --git a/po/ja.po b/po/ja.po index 77347df3d..246d6d484 100644 --- a/po/ja.po +++ b/po/ja.po @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2014-03-24 14:22+0100\n" +"POT-Creation-Date: 2014-03-25 09:20+0100\n" "PO-Revision-Date: 2014-03-24 14:23+0100\n" "Last-Translator: AYANOKOUZI, Ryuunosuke \n" "Language-Team: Japanese \n" @@ -4999,13 +4999,14 @@ msgstr "コマンド \"%s\" を削除" msgid "execute external commands" msgstr "外部コマンドを実行" +#, fuzzy msgid "" "-list || [-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer ] [-l|-o|-" -"n] |-sw|-nosw] [-ln|-noln] [-color ansi|auto|irc|weechat|strip] [-rc|-norc] " -"[-timeout ] [-name ] [-pipe ] [-hsignal ] " -" || -in || -inclose [] || -signal " -" || -kill || -killall || -set || -del " -"|-all [...]" +"n|-nf] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-color ansi|auto|irc|weechat|" +"strip] [-rc|-norc] [-timeout ] [-name ] [-pipe ] [-" +"hsignal ] || -in || -inclose [] || -" +"signal || -kill || -killall || -set " +" || -del |-all [...]" msgstr "" "-list || [-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer ] [-l|-o|-" "n] |-sw|-nosw] [-ln|-noln] [-color ansi|auto|irc|weechat|strip] [-rc|-norc] " @@ -5014,6 +5015,7 @@ msgstr "" " || -kill || -killall || -set || -del " "|-all [...]" +#, fuzzy msgid "" " -list: list commands\n" " -sh: use the shell to execute the command (WARNING: use this option " @@ -5034,6 +5036,10 @@ msgid "" "bg)\n" " -n: display output of command in a new buffer (not compatible with " "option -bg)\n" +" -nf: display output of command in a new buffer with free content (no " +"word-wrap, no limit on number of lines) (not compatible with option -bg)\n" +" -cl: clear the new buffer before displaying output\n" +" -nocl: append to the new buffer without clear (default)\n" " -sw: switch to the output buffer (default)\n" " -nosw: don't switch to the output buffer\n" " -ln: display line numbers (default in new buffer only)\n" @@ -5078,6 +5084,8 @@ msgid "" " /exec -n ls -l /tmp\n" " /exec -n ps xu | grep weechat\n" " /exec -n -norc url:http://pastebin.com/raw.php?i=xxxxxxxx\n" +" /exec -nf -noln links -dump http://weechat.org/files/doc/devel/" +"weechat_user.en.html\n" " /exec -o uptime\n" " /exec -pipe \"/print Machine uptime:\" uptime" msgstr "" diff --git a/po/pl.po b/po/pl.po index 95f6c4a12..f1005f0bb 100644 --- a/po/pl.po +++ b/po/pl.po @@ -21,7 +21,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2014-03-24 14:22+0100\n" +"POT-Creation-Date: 2014-03-25 09:20+0100\n" "PO-Revision-Date: 2014-03-24 14:23+0100\n" "Last-Translator: Krzysztof Korościk \n" "Language-Team: weechat-dev \n" @@ -5101,11 +5101,11 @@ msgstr "wykonuje komendę po cichu" msgid "" "-list || [-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer ] [-l|-o|-" -"n] |-sw|-nosw] [-ln|-noln] [-color ansi|auto|irc|weechat|strip] [-rc|-norc] " -"[-timeout ] [-name ] [-pipe ] [-hsignal ] " -" || -in || -inclose [] || -signal " -" || -kill || -killall || -set || -del " -"|-all [...]" +"n|-nf] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-color ansi|auto|irc|weechat|" +"strip] [-rc|-norc] [-timeout ] [-name ] [-pipe ] [-" +"hsignal ] || -in || -inclose [] || -" +"signal || -kill || -killall || -set " +" || -del |-all [...]" msgstr "" msgid "" @@ -5128,6 +5128,10 @@ msgid "" "bg)\n" " -n: display output of command in a new buffer (not compatible with " "option -bg)\n" +" -nf: display output of command in a new buffer with free content (no " +"word-wrap, no limit on number of lines) (not compatible with option -bg)\n" +" -cl: clear the new buffer before displaying output\n" +" -nocl: append to the new buffer without clear (default)\n" " -sw: switch to the output buffer (default)\n" " -nosw: don't switch to the output buffer\n" " -ln: display line numbers (default in new buffer only)\n" @@ -5172,6 +5176,8 @@ msgid "" " /exec -n ls -l /tmp\n" " /exec -n ps xu | grep weechat\n" " /exec -n -norc url:http://pastebin.com/raw.php?i=xxxxxxxx\n" +" /exec -nf -noln links -dump http://weechat.org/files/doc/devel/" +"weechat_user.en.html\n" " /exec -o uptime\n" " /exec -pipe \"/print Machine uptime:\" uptime" msgstr "" diff --git a/po/pt_BR.po b/po/pt_BR.po index c50588717..123bfcf8a 100644 --- a/po/pt_BR.po +++ b/po/pt_BR.po @@ -21,7 +21,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2014-03-24 14:22+0100\n" +"POT-Creation-Date: 2014-03-25 09:20+0100\n" "PO-Revision-Date: 2014-03-24 14:23+0100\n" "Last-Translator: Sergio Durigan Junior \n" "Language-Team: weechat-dev \n" @@ -4682,11 +4682,11 @@ msgstr "executa um comando silenciosamente" msgid "" "-list || [-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer ] [-l|-o|-" -"n] |-sw|-nosw] [-ln|-noln] [-color ansi|auto|irc|weechat|strip] [-rc|-norc] " -"[-timeout ] [-name ] [-pipe ] [-hsignal ] " -" || -in || -inclose [] || -signal " -" || -kill || -killall || -set || -del " -"|-all [...]" +"n|-nf] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-color ansi|auto|irc|weechat|" +"strip] [-rc|-norc] [-timeout ] [-name ] [-pipe ] [-" +"hsignal ] || -in || -inclose [] || -" +"signal || -kill || -killall || -set " +" || -del |-all [...]" msgstr "" msgid "" @@ -4709,6 +4709,10 @@ msgid "" "bg)\n" " -n: display output of command in a new buffer (not compatible with " "option -bg)\n" +" -nf: display output of command in a new buffer with free content (no " +"word-wrap, no limit on number of lines) (not compatible with option -bg)\n" +" -cl: clear the new buffer before displaying output\n" +" -nocl: append to the new buffer without clear (default)\n" " -sw: switch to the output buffer (default)\n" " -nosw: don't switch to the output buffer\n" " -ln: display line numbers (default in new buffer only)\n" @@ -4753,6 +4757,8 @@ msgid "" " /exec -n ls -l /tmp\n" " /exec -n ps xu | grep weechat\n" " /exec -n -norc url:http://pastebin.com/raw.php?i=xxxxxxxx\n" +" /exec -nf -noln links -dump http://weechat.org/files/doc/devel/" +"weechat_user.en.html\n" " /exec -o uptime\n" " /exec -pipe \"/print Machine uptime:\" uptime" msgstr "" diff --git a/po/ru.po b/po/ru.po index b61304508..e0b2acfbc 100644 --- a/po/ru.po +++ b/po/ru.po @@ -21,7 +21,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2014-03-24 14:22+0100\n" +"POT-Creation-Date: 2014-03-25 09:20+0100\n" "PO-Revision-Date: 2014-03-24 14:23+0100\n" "Last-Translator: Aleksey V Zapparov AKA ixti \n" "Language-Team: weechat-dev \n" @@ -4248,11 +4248,11 @@ msgstr "Внутренние команды %s:\n" msgid "" "-list || [-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer ] [-l|-o|-" -"n] |-sw|-nosw] [-ln|-noln] [-color ansi|auto|irc|weechat|strip] [-rc|-norc] " -"[-timeout ] [-name ] [-pipe ] [-hsignal ] " -" || -in || -inclose [] || -signal " -" || -kill || -killall || -set || -del " -"|-all [...]" +"n|-nf] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-color ansi|auto|irc|weechat|" +"strip] [-rc|-norc] [-timeout ] [-name ] [-pipe ] [-" +"hsignal ] || -in || -inclose [] || -" +"signal || -kill || -killall || -set " +" || -del |-all [...]" msgstr "" msgid "" @@ -4275,6 +4275,10 @@ msgid "" "bg)\n" " -n: display output of command in a new buffer (not compatible with " "option -bg)\n" +" -nf: display output of command in a new buffer with free content (no " +"word-wrap, no limit on number of lines) (not compatible with option -bg)\n" +" -cl: clear the new buffer before displaying output\n" +" -nocl: append to the new buffer without clear (default)\n" " -sw: switch to the output buffer (default)\n" " -nosw: don't switch to the output buffer\n" " -ln: display line numbers (default in new buffer only)\n" @@ -4319,6 +4323,8 @@ msgid "" " /exec -n ls -l /tmp\n" " /exec -n ps xu | grep weechat\n" " /exec -n -norc url:http://pastebin.com/raw.php?i=xxxxxxxx\n" +" /exec -nf -noln links -dump http://weechat.org/files/doc/devel/" +"weechat_user.en.html\n" " /exec -o uptime\n" " /exec -pipe \"/print Machine uptime:\" uptime" msgstr "" diff --git a/po/tr.po b/po/tr.po index 83e64411c..6fd69b2a5 100644 --- a/po/tr.po +++ b/po/tr.po @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2014-03-24 14:22+0100\n" +"POT-Creation-Date: 2014-03-25 09:20+0100\n" "PO-Revision-Date: 2014-03-24 14:23+0100\n" "Last-Translator: Hasan Kiran \n" "Language-Team: weechat-dev \n" @@ -3804,11 +3804,11 @@ msgstr "weechat komutları" msgid "" "-list || [-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer ] [-l|-o|-" -"n] |-sw|-nosw] [-ln|-noln] [-color ansi|auto|irc|weechat|strip] [-rc|-norc] " -"[-timeout ] [-name ] [-pipe ] [-hsignal ] " -" || -in || -inclose [] || -signal " -" || -kill || -killall || -set || -del " -"|-all [...]" +"n|-nf] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-color ansi|auto|irc|weechat|" +"strip] [-rc|-norc] [-timeout ] [-name ] [-pipe ] [-" +"hsignal ] || -in || -inclose [] || -" +"signal || -kill || -killall || -set " +" || -del |-all [...]" msgstr "" msgid "" @@ -3831,6 +3831,10 @@ msgid "" "bg)\n" " -n: display output of command in a new buffer (not compatible with " "option -bg)\n" +" -nf: display output of command in a new buffer with free content (no " +"word-wrap, no limit on number of lines) (not compatible with option -bg)\n" +" -cl: clear the new buffer before displaying output\n" +" -nocl: append to the new buffer without clear (default)\n" " -sw: switch to the output buffer (default)\n" " -nosw: don't switch to the output buffer\n" " -ln: display line numbers (default in new buffer only)\n" @@ -3875,6 +3879,8 @@ msgid "" " /exec -n ls -l /tmp\n" " /exec -n ps xu | grep weechat\n" " /exec -n -norc url:http://pastebin.com/raw.php?i=xxxxxxxx\n" +" /exec -nf -noln links -dump http://weechat.org/files/doc/devel/" +"weechat_user.en.html\n" " /exec -o uptime\n" " /exec -pipe \"/print Machine uptime:\" uptime" msgstr "" diff --git a/po/weechat.pot b/po/weechat.pot index 79a1dc0ce..ac5df4558 100644 --- a/po/weechat.pot +++ b/po/weechat.pot @@ -21,7 +21,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.4.1-dev\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2014-03-24 14:22+0100\n" +"POT-Creation-Date: 2014-03-25 09:20+0100\n" "PO-Revision-Date: 2013-02-14 18:20+0100\n" "Last-Translator: FULL NAME \n" "Language-Team: weechat-dev \n" @@ -3804,11 +3804,11 @@ msgstr "" msgid "" "-list || [-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer ] [-l|-o|-" -"n] |-sw|-nosw] [-ln|-noln] [-color ansi|auto|irc|weechat|strip] [-rc|-norc] " -"[-timeout ] [-name ] [-pipe ] [-hsignal ] " -" || -in || -inclose [] || -signal " -" || -kill || -killall || -set || -del " -"|-all [...]" +"n|-nf] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-color ansi|auto|irc|weechat|" +"strip] [-rc|-norc] [-timeout ] [-name ] [-pipe ] [-" +"hsignal ] || -in || -inclose [] || -" +"signal || -kill || -killall || -set " +" || -del |-all [...]" msgstr "" msgid "" @@ -3831,6 +3831,10 @@ msgid "" "bg)\n" " -n: display output of command in a new buffer (not compatible with " "option -bg)\n" +" -nf: display output of command in a new buffer with free content (no " +"word-wrap, no limit on number of lines) (not compatible with option -bg)\n" +" -cl: clear the new buffer before displaying output\n" +" -nocl: append to the new buffer without clear (default)\n" " -sw: switch to the output buffer (default)\n" " -nosw: don't switch to the output buffer\n" " -ln: display line numbers (default in new buffer only)\n" @@ -3875,6 +3879,8 @@ msgid "" " /exec -n ls -l /tmp\n" " /exec -n ps xu | grep weechat\n" " /exec -n -norc url:http://pastebin.com/raw.php?i=xxxxxxxx\n" +" /exec -nf -noln links -dump http://weechat.org/files/doc/devel/" +"weechat_user.en.html\n" " /exec -o uptime\n" " /exec -pipe \"/print Machine uptime:\" uptime" msgstr "" diff --git a/src/plugins/exec/exec-buffer.c b/src/plugins/exec/exec-buffer.c index 1a4019fde..f8abd3295 100644 --- a/src/plugins/exec/exec-buffer.c +++ b/src/plugins/exec/exec-buffer.c @@ -116,13 +116,26 @@ exec_buffer_set_callbacks () */ struct t_gui_buffer * -exec_buffer_new (const char *name, int switch_to_buffer) +exec_buffer_new (const char *name, int free_content, int clear_buffer, + int switch_to_buffer) { struct t_gui_buffer *new_buffer; + int buffer_type; new_buffer = weechat_buffer_search (EXEC_PLUGIN_NAME, name); if (new_buffer) + { + buffer_type = weechat_buffer_get_integer (new_buffer, "type"); + if (((buffer_type == 0) && free_content) + || ((buffer_type == 1) && !free_content)) + { + /* change the type of buffer */ + weechat_buffer_set (new_buffer, + "type", + (free_content) ? "free" : "formatted"); + } goto end; + } new_buffer = weechat_buffer_new (name, &exec_buffer_input_cb, NULL, @@ -132,6 +145,8 @@ exec_buffer_new (const char *name, int switch_to_buffer) if (!new_buffer) return NULL; + if (free_content) + weechat_buffer_set (new_buffer, "type", "free"); weechat_buffer_set (new_buffer, "title", _("Executed commands")); weechat_buffer_set (new_buffer, "localvar_set_type", "exec"); weechat_buffer_set (new_buffer, "localvar_set_no_log", "1"); @@ -139,6 +154,8 @@ exec_buffer_new (const char *name, int switch_to_buffer) weechat_buffer_set (new_buffer, "input_get_unknown_commands", "0"); end: + if (clear_buffer) + weechat_buffer_clear (new_buffer); if (switch_to_buffer) weechat_buffer_set (new_buffer, "display", "1"); diff --git a/src/plugins/exec/exec-buffer.h b/src/plugins/exec/exec-buffer.h index 041c73720..fd4cbe9e6 100644 --- a/src/plugins/exec/exec-buffer.h +++ b/src/plugins/exec/exec-buffer.h @@ -22,6 +22,8 @@ extern void exec_buffer_set_callbacks (); extern struct t_gui_buffer *exec_buffer_new (const char *name, + int free_content, + int clear_buffer, int switch_to_buffer); #endif /* WEECHAT_EXEC_BUFFER_H */ diff --git a/src/plugins/exec/exec-command.c b/src/plugins/exec/exec-command.c index f46419203..d734d83bc 100644 --- a/src/plugins/exec/exec-command.c +++ b/src/plugins/exec/exec-command.c @@ -239,6 +239,19 @@ exec_command_parse_options (struct t_exec_cmd_options *cmd_options, cmd_options->output_to_buffer = 0; cmd_options->new_buffer = 1; } + else if (weechat_strcasecmp (argv[i], "-nf") == 0) + { + cmd_options->output_to_buffer = 0; + cmd_options->new_buffer = 2; + } + else if (weechat_strcasecmp (argv[i], "-cl") == 0) + { + cmd_options->new_buffer_clear = 1; + } + else if (weechat_strcasecmp (argv[i], "-nocl") == 0) + { + cmd_options->new_buffer_clear = 0; + } else if (weechat_strcasecmp (argv[i], "-sw") == 0) { cmd_options->switch_to_buffer = 1; @@ -377,7 +390,7 @@ exec_command_run (struct t_gui_buffer *buffer, struct t_exec_cmd_options cmd_options; struct t_hashtable *process_options; struct t_infolist *ptr_infolist; - struct t_gui_buffer *new_buffer; + struct t_gui_buffer *ptr_new_buffer; /* parse command options */ cmd_options.command_index = -1; @@ -389,6 +402,7 @@ exec_command_run (struct t_gui_buffer *buffer, cmd_options.ptr_buffer = buffer; cmd_options.output_to_buffer = 0; cmd_options.new_buffer = 0; + cmd_options.new_buffer_clear = 0; cmd_options.switch_to_buffer = 1; cmd_options.line_numbers = -1; cmd_options.color = EXEC_COLOR_AUTO; @@ -472,11 +486,15 @@ exec_command_run (struct t_gui_buffer *buffer, new_exec_cmd->output_to_buffer = 0; snprintf (str_buffer, sizeof (str_buffer), "exec.%s", cmd_options.ptr_buffer_name); - new_buffer = exec_buffer_new (str_buffer, cmd_options.switch_to_buffer); - if (new_buffer) + ptr_new_buffer = exec_buffer_new (str_buffer, + (cmd_options.new_buffer == 2), + cmd_options.new_buffer_clear, + cmd_options.switch_to_buffer); + if (ptr_new_buffer) { new_exec_cmd->buffer_full_name = - strdup (weechat_buffer_get_string (new_buffer, "full_name")); + strdup (weechat_buffer_get_string (ptr_new_buffer, + "full_name")); } } else if (cmd_options.new_buffer) @@ -492,11 +510,15 @@ exec_command_run (struct t_gui_buffer *buffer, snprintf (str_buffer, sizeof (str_buffer), "exec.%d", new_exec_cmd->number); } - new_buffer = exec_buffer_new (str_buffer, cmd_options.switch_to_buffer); - if (new_buffer) + ptr_new_buffer = exec_buffer_new (str_buffer, + (cmd_options.new_buffer == 2), + cmd_options.new_buffer_clear, + cmd_options.switch_to_buffer); + if (ptr_new_buffer) { new_exec_cmd->buffer_full_name = - strdup (weechat_buffer_get_string (new_buffer, "full_name")); + strdup (weechat_buffer_get_string (ptr_new_buffer, + "full_name")); } } else if (cmd_options.ptr_buffer) @@ -752,7 +774,7 @@ exec_command_init () N_("execute external commands"), N_("-list" " || [-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer ] " - "[-l|-o|-n] |-sw|-nosw] [-ln|-noln] " + "[-l|-o|-n|-nf] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] " "[-color ansi|auto|irc|weechat|strip] [-rc|-norc] " "[-timeout ] [-name ] [-pipe ] " "[-hsignal ] " @@ -783,6 +805,11 @@ exec_command_init () "(not compatible with option -bg)\n" " -n: display output of command in a new buffer (not compatible " "with option -bg)\n" + " -nf: display output of command in a new buffer with free " + "content (no word-wrap, no limit on number of lines) (not compatible " + "with option -bg)\n" + " -cl: clear the new buffer before displaying output\n" + " -nocl: append to the new buffer without clear (default)\n" " -sw: switch to the output buffer (default)\n" " -nosw: don't switch to the output buffer\n" " -ln: display line numbers (default in new buffer only)\n" @@ -830,11 +857,13 @@ exec_command_init () " /exec -n ls -l /tmp\n" " /exec -n ps xu | grep weechat\n" " /exec -n -norc url:http://pastebin.com/raw.php?i=xxxxxxxx\n" + " /exec -nf -noln links -dump " + "http://weechat.org/files/doc/devel/weechat_user.en.html\n" " /exec -o uptime\n" " /exec -pipe \"/print Machine uptime:\" uptime"), "-list" - " || -sh|-nosh|-bg|-nobg|-stdin|-nostdin|-buffer|-l|-o|-n|-sw|-nosw|" - "-ln|-noln|-color|-timeout|-name|-pipe|-hsignal|%*" + " || -sh|-nosh|-bg|-nobg|-stdin|-nostdin|-buffer|-l|-o|-n|-nf|" + "-cl|-nocl|-sw|-nosw|-ln|-noln|-color|-timeout|-name|-pipe|-hsignal|%*" " || -in|-inclose|-signal|-kill %(exec_commands_ids)" " || -killall" " || -set %(exec_commands_ids) stdin|stdin_close|signal" diff --git a/src/plugins/exec/exec-command.h b/src/plugins/exec/exec-command.h index 0e8e323f9..6b9e195d0 100644 --- a/src/plugins/exec/exec-command.h +++ b/src/plugins/exec/exec-command.h @@ -30,7 +30,8 @@ struct t_exec_cmd_options const char *ptr_buffer_name; /* name of buffer */ struct t_gui_buffer *ptr_buffer; /* pointer to buffer */ int output_to_buffer; /* 1 if output is sent to buffer */ - int new_buffer; /* output in a new buffer */ + int new_buffer; /* 1=new buffer, 2=new buf. free cont*/ + int new_buffer_clear; /* 1 to clear buffer before output */ int switch_to_buffer; /* switch to the output buffer */ int line_numbers; /* 1 to display line numbers */ int color; /* what to do with ANSI colors */ diff --git a/src/plugins/exec/exec.c b/src/plugins/exec/exec.c index 93fc18693..a91e52e62 100644 --- a/src/plugins/exec/exec.c +++ b/src/plugins/exec/exec.c @@ -352,11 +352,22 @@ exec_display_output (struct t_exec_cmd *exec_cmd, "exec_%s,exec_cmd_%s", (out) ? "stdout" : "stderr", (exec_cmd->name) ? exec_cmd->name : str_number); - snprintf (str_number, sizeof (str_number), "%d\t", line_nb); - weechat_printf_tags (buffer, str_tags, - "%s%s", - (exec_cmd->line_numbers) ? str_number : " \t", - line); + if (weechat_buffer_get_integer (buffer, "type") == 1) + { + snprintf (str_number, sizeof (str_number), "%d. ", line_nb); + weechat_printf_y (buffer, -1, + "%s%s", + (exec_cmd->line_numbers) ? str_number : " ", + line); + } + else + { + snprintf (str_number, sizeof (str_number), "%d\t", line_nb); + weechat_printf_tags (buffer, str_tags, + "%s%s", + (exec_cmd->line_numbers) ? str_number : " \t", + line); + } } free (line); @@ -375,6 +386,7 @@ exec_end_command (struct t_exec_cmd *exec_cmd, int return_code) struct t_gui_buffer *ptr_buffer; struct t_hashtable *hashtable; char str_number[32], *output; + int buffer_type; if (exec_cmd->hsignal) { @@ -418,21 +430,44 @@ exec_end_command (struct t_exec_cmd *exec_cmd, int return_code) && !exec_cmd->detached && !exec_cmd->output_to_buffer && !exec_cmd->pipe_command) { + buffer_type = weechat_buffer_get_integer (ptr_buffer, "type"); if (return_code >= 0) { - weechat_printf_tags (ptr_buffer, "exec_rc", - _("%s: end of command %d (\"%s\"), " + if (buffer_type == 1) + { + weechat_printf_y (ptr_buffer, -1, + ("%s: end of command %d (\"%s\"), " "return code: %d"), - EXEC_PLUGIN_NAME, exec_cmd->number, - exec_cmd->command, return_code); + EXEC_PLUGIN_NAME, exec_cmd->number, + exec_cmd->command, return_code); + } + else + { + weechat_printf_tags (ptr_buffer, "exec_rc", + _("%s: end of command %d (\"%s\"), " + "return code: %d"), + EXEC_PLUGIN_NAME, exec_cmd->number, + exec_cmd->command, return_code); + } } else { - weechat_printf_tags (ptr_buffer, "exec_rc", - _("%s: unexpected end of command %d " - "(\"%s\")"), - EXEC_PLUGIN_NAME, exec_cmd->number, - exec_cmd->command); + if (buffer_type == 1) + { + weechat_printf_y (ptr_buffer, -1, + _("%s: unexpected end of command %d " + "(\"%s\")"), + EXEC_PLUGIN_NAME, exec_cmd->number, + exec_cmd->command); + } + else + { + weechat_printf_tags (ptr_buffer, "exec_rc", + _("%s: unexpected end of command %d " + "(\"%s\")"), + EXEC_PLUGIN_NAME, exec_cmd->number, + exec_cmd->command); + } } } }