From 97cede06b5b6d7866679b1f8b625b3153b0ade7c Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Fri, 24 Jan 2014 12:53:23 +0100 Subject: core: add support of escaped unicode chars in commands /print and "/input insert" --- doc/de/autogen/user/weechat_commands.txt | 161 ++++++++++++++++--------------- doc/en/autogen/user/weechat_commands.txt | 11 ++- doc/fr/autogen/user/weechat_commands.txt | 11 ++- doc/it/autogen/user/weechat_commands.txt | 11 ++- doc/ja/autogen/user/weechat_commands.txt | 113 +++++++++++----------- doc/pl/autogen/user/weechat_commands.txt | 113 +++++++++++----------- 6 files changed, 219 insertions(+), 201 deletions(-) (limited to 'doc') diff --git a/doc/de/autogen/user/weechat_commands.txt b/doc/de/autogen/user/weechat_commands.txt index b43a0575b..7e4977fd6 100644 --- a/doc/de/autogen/user/weechat_commands.txt +++ b/doc/de/autogen/user/weechat_commands.txt @@ -363,58 +363,58 @@ value: Anzahl der gewünschten Einträgen im Befehlsverlauf anzeigen ---- /input [] -Auflistung der möglichen Funktionen: - return: simuliert die "enter" Taste - complete_next: vervollständigt Wort mit nächster Komplettierung - complete_previous: vervollständigt Word mit vorheriger Komplettierung - search_text: sucht nach Text im Buffer - search_switch_case: schaltet Groß-/Kleinschreibung ein und aus - search_switch_regex: Wechsel des Suchmodus: einfache Textsuche/reguläre Ausdrücke - search_switch_where: wechselt Suche in Nachricht/Präfix - search_previous: sucht vorheriger Zeile - search_next: sucht nächste Zeile - search_stop: suche stoppen - delete_previous_char: entfernt vorheriges Zeichen - delete_next_char: entfernt nächstes Zeichen - delete_previous_word: entfernt vorheriges Wort - delete_next_word: entfernt nächstes Wort - delete_beginning_of_line: entfernt alle Zeichen ab Zeilenanfang bis zum Cursor - delete_end_of_line: entfernt alle Zeichen ab Cursor bis zum Ende der Zeile - delete_line: löscht die komplette Eingabezeile - clipboard_paste: fügt Zeichenkette aus der Zwischenablage ein - transpose_chars: Zeichen austauschen - undo: letzten Befehl in der Eingabezeile rückgängig machen - redo: letzten Befehl in der Eingabezeile wiederherstellen - move_beginning_of_line: springt an den Anfang der Eingabezeile - move_end_of_line: springt ans Ende der Eingabezeile - move_previous_char: setzt den Cursor eine Position nach links - move_next_char: setzt den Cursor eine Position nach rechts - move_previous_word: springt zum Anfang des vorherigen Wortes, in der Eingabezeile - move_next_word: springt zum Anfang des nächsten Wortes, in der Eingabezeile - history_previous: ruft vorherigen Befehl oder Nachricht aus dem Befehlsspeicher auf (im Such-Modus: rückwärts suchen) - history_next: ruft nächsten Befehl oder Nachricht aus dem Befehlsspeicher auf (im Such-Modus: vorwärts suchen) - history_global_previous: ruft vorherigen Befehl/Nachricht aus dem globalen Befehlsspeicher auf (für alle Buffer) - history_global_next: ruft nächsten Befehl/Nachricht aus dem globalen Befehlsspeicher auf (für alle Buffer) - jump_smart: wechselt zum nächsten Buffer mit Aktivität (nach Priorität: highlight, Nachricht, …) - jump_last_buffer: springt zum letzten Buffer, in der Bufferliste - jump_last_buffer_displayed: wechselt zum jeweils zuletzt angezeigten Buffer - jump_previously_visited_buffer: springt zum letzten besuchten Buffer - jump_next_visited_buffer: springt zum nächsten besuchten Buffer - hotlist_clear: löscht Hotliste (Aktivitätsanzeige für die Buffer) - grab_key: fängt eine Taste (optionales Argument: Verzögerung um eine Taste einzufangen. Standard sind 500 Millisekunden) - grab_key_command: zeigt den Tastencode (inklusive des eingebundenen Befehls) einer Tastenkombination an und fügt ihn in die Befehlszeile ein (optionales Argument: Verzögerung um eine Taste einzufangen. Standard sind 500 Millisekunden) - grab_mouse: fängt den Code einer Maus Aktivität - grab_mouse_area: fängt den Code einer Maus Aktivität mit entsprechendem Bereich - set_unread: setzt für alle Buffer die Markierung der ungelesen Nachrichten - set_unread_current_buffer: setzt nur für den aktuellen Buffer eine Markierung der ungelesen Nachrichten - switch_active_buffer: springt zum nächsten zusammengefügten Buffer - switch_active_buffer_previous: springt zum vorherigen zusammengefügten Buffer - zoom_merged_buffer: zoomt in zusammengefügte Buffer - insert: fügt einen Text in die Eingabezeile ein - paste_start: Einfügen wird gestartet (bracketed paste mode) - paste_stop: Einfügen wird beendet (bracketed paste mode) - -Dieser Befehl wird sinnvollerweise mittels Tastenbelegungen oder Erweiterungen genutzt. +list of actions: + return: simulate key "enter" + complete_next: complete word with next completion + complete_previous: complete word with previous completion + search_text: search text in buffer + search_switch_case: switch exact case for search + search_switch_regex: switch search type: string/regular expression + search_switch_where: switch search in messages/prefixes + search_previous: search previous line + search_next: search next line + search_stop: stop search + delete_previous_char: delete previous char + delete_next_char: delete next char + delete_previous_word: delete previous word + delete_next_word: delete next word + delete_beginning_of_line: delete from beginning of line until cursor + delete_end_of_line: delete from cursor until end of line + delete_line: delete entire line + clipboard_paste: paste from clipboard + transpose_chars: transpose two chars + undo: undo last command line action + redo: redo last command line action + move_beginning_of_line: move cursor to beginning of line + move_end_of_line: move cursor to end of line + move_previous_char: move cursor to previous char + move_next_char: move cursor to next char + move_previous_word: move cursor to previous word + move_next_word: move cursor to next word + history_previous: recall previous command in current buffer history + history_next: recall next command in current buffer history + history_global_previous: recall previous command in global history + history_global_next: recall next command in global history + jump_smart: jump to next buffer with activity + jump_last_buffer: jump to last buffer + jump_last_buffer_displayed: jump to last buffer displayed (before last jump to a buffer) + jump_previously_visited_buffer: jump to previously visited buffer + jump_next_visited_buffer: jump to next visited buffer + hotlist_clear: clear hotlist + grab_key: grab a key (optional argument: delay for end of grab, default is 500 milliseconds) + grab_key_command: grab a key with its associated command (optional argument: delay for end of grab, default is 500 milliseconds) + grab_mouse: grab mouse event code + grab_mouse_area: grab mouse event code with area + set_unread: set unread marker for all buffers + set_unread_current_buffer: set unread marker for current buffer + switch_active_buffer: switch to next merged buffer + switch_active_buffer_previous: switch to previous merged buffer + zoom_merged_buffer: zoom on merged buffer + insert: insert text in command line (escaped chars are allowed, see /help print) + paste_start: start paste (bracketed paste mode) + paste_stop: stop paste (bracketed paste mode) + +This command is used by key bindings or plugins. ---- [[command_weechat_key]] @@ -568,34 +568,37 @@ Ohne Angabe eines Arguments werden alle installierten Erweiterungen angezeigt. /print [-buffer |] [-core] [-escape] [-date ] [-tags ] [-action|-error|-join|-network|-quit] -stdout|-stderr --buffer: Buffer in welchem der Text ausgegeben werden soll (standardmäßig: aktueller Buffer) - -core: Alias für "-buffer core.weechat" --escape: Escapesequenzen werden umgewandelt (zum Beispiel \a, \07, \x07) - -date: Datum der Nachricht, mögliche Formatierung: - -n: 'n' vor dem jetzigen Zeipunkt, in Sekunden - +n: 'n' in Zukunft, in Sekunden - n: 'n' Sekunden seit der Epoche (siehe man time) - date/time (ISO 8601): yyyy-mm-ddThh:mm:ss, Beispiel: 2014-01-19T04:32:55 - time: hh:mm:ss (Beispiel: 04:32:55) - -tags: durch Kommata getrennte Liste von Tags (siehe /help filter für eine Liste von Tags die häufig genutzt werden) - text: Text der ausgegeben werden soll (Präfix und Nachricht muss durch \t getrennt werden) --stdout: Text wird an stdout geschickt (und nicht im Buffer dargestellt) --stderr: Text wird an stderr geschickt (und nicht im Buffer dargestellt) - -Die Option -action ... -quit nutzt den Präfix der in der Option "weechat.look.prefix_*" definiert ist. - -Die Optionen -stdout und -stderr wandeln Escapesequenzen automatisch um. - -Beispiele: - zeigt eine Erinnerung, mit Highlight, im Core-Buffer dar: - /print -core -tags notify_highlight Reminder: Milch kaufen - zeigt eine Fehlernachricht im Core-Buffer an: - /print -core -error irgend ein Fehler - zeigt eine Nachricht im Core-Buffer mit dem Präfix "abc" an: - /print -core abc\tmeine Nachricht - es wird eine Nachricht im Channel #weechat ausgegeben: +-buffer: the buffer where text is displayed (default: current buffer) + -core: alias of "-buffer core.weechat" +-escape: interpret escaped chars (for example \a, \07, \x07) + -date: message date, format can be: + -n: 'n' seconds before now + +n: 'n' seconds in the future + n: 'n' seconds since the Epoch (see man time) + date/time (ISO 8601): yyyy-mm-ddThh:mm:ss, example: 2014-01-19T04:32:55 + time: hh:mm:ss (example: 04:32:55) + -tags: comma-separated list of tags (see /help filter for a list of tags most commonly used) + text: text to display (prefix and message must be separated by \t) +-stdout: display text on stdout (escaped chars are interpreted) +-stderr: display text on stderr (escaped chars are interpreted) + +The options -action ... -quit use the prefix defined in options "weechat.look.prefix_*". + +Following escaped chars are supported: + \" \\ \a \b \e \f \n \r \t \v \0ooo \xhh \uhhhh \Uhhhhhhhh + +Examples: + display a reminder on core buffer with a highlight: + /print -core -tags notify_highlight Reminder: buy milk + display an error on core buffer: + /print -core -error Some error here + display message on core buffer with prefix "abc": + /print -core abc\tThe message + display a message on channel #weechat: /print -buffer irc.freenode.#weechat Message on #weechat - verschickt Alarm (BEL): + display a snowman (U+2603): + /print -escape \u2603 + send alert (BEL): /print -stderr \a ---- diff --git a/doc/en/autogen/user/weechat_commands.txt b/doc/en/autogen/user/weechat_commands.txt index 9c4e17ab5..c25856339 100644 --- a/doc/en/autogen/user/weechat_commands.txt +++ b/doc/en/autogen/user/weechat_commands.txt @@ -410,7 +410,7 @@ list of actions: switch_active_buffer: switch to next merged buffer switch_active_buffer_previous: switch to previous merged buffer zoom_merged_buffer: zoom on merged buffer - insert: insert text in command line + insert: insert text in command line (escaped chars are allowed, see /help print) paste_start: start paste (bracketed paste mode) paste_stop: stop paste (bracketed paste mode) @@ -579,12 +579,13 @@ Without argument, this command lists loaded plugins. time: hh:mm:ss (example: 04:32:55) -tags: comma-separated list of tags (see /help filter for a list of tags most commonly used) text: text to display (prefix and message must be separated by \t) --stdout: display text on stdout (not in a buffer) --stderr: display text on stderr (not in a buffer) +-stdout: display text on stdout (escaped chars are interpreted) +-stderr: display text on stderr (escaped chars are interpreted) The options -action ... -quit use the prefix defined in options "weechat.look.prefix_*". -With options -stdout and -stderr, escaped chars are always interpreted. +Following escaped chars are supported: + \" \\ \a \b \e \f \n \r \t \v \0ooo \xhh \uhhhh \Uhhhhhhhh Examples: display a reminder on core buffer with a highlight: @@ -595,6 +596,8 @@ Examples: /print -core abc\tThe message display a message on channel #weechat: /print -buffer irc.freenode.#weechat Message on #weechat + display a snowman (U+2603): + /print -escape \u2603 send alert (BEL): /print -stderr \a ---- diff --git a/doc/fr/autogen/user/weechat_commands.txt b/doc/fr/autogen/user/weechat_commands.txt index 165888764..6405d9b28 100644 --- a/doc/fr/autogen/user/weechat_commands.txt +++ b/doc/fr/autogen/user/weechat_commands.txt @@ -410,7 +410,7 @@ liste des actions: switch_active_buffer: basculer vers le tampon mélangé suivant switch_active_buffer_previous: basculer vers le tampon mélangé précédent zoom_merged_buffer: zoom sur le tampon mélangé - insert: insérer du texte dans la ligne de commande + insert: insérer du texte dans la ligne de commande (les caractères échappés sont autorisés, voir /help print) paste_start: début de collage (mode "bracketed paste") paste_stop: fin de collage (mode "bracketed paste") @@ -579,12 +579,13 @@ Sans paramètre, cette commande liste les extensions chargées. heure: hh:mm:ss (exemple: 04:32:55) -tags: liste d'étiquettes séparées par des virgules (voir /help filter pour une liste des étiquettes couramment utilisées) texte: texte à afficher (le préfixe et le message doivent être séparés par \t) --stdout: afficher le texte sur stdout (pas dans un tampon) --stderr: afficher le texte sur stderr (pas dans un tampon) +-stdout: afficher le texte sur stdout (les caractères échappés sont interprétés) +-stderr: afficher le texte sur stderr (les caractères échappés sont interprétés) Les options -action ... -quit utilisent le préfixe défini dans les options "weechat.look.prefix_*". -Avec les options -stdout et -stderr, les caractères échappés sont toujours interprétés. +Les caractères échappés suivants sont supportés: + \" \\ \a \b \e \f \n \r \t \v \0ooo \xhh \uhhhh \Uhhhhhhhh Exemples: afficher un pense-bête sur le tampon core avec un highlight: @@ -595,6 +596,8 @@ Exemples: /print -core abc\tLe message afficher un message sur le canal #weechat: /print -buffer irc.freenode.#weechat Message sur #weechat + afficher un bonhomme de neige (U+2603): + /print -escape \u2603 envoyer une alerte (BEL): /print -stderr \a ---- diff --git a/doc/it/autogen/user/weechat_commands.txt b/doc/it/autogen/user/weechat_commands.txt index d4a6c3ec8..60a27c7ee 100644 --- a/doc/it/autogen/user/weechat_commands.txt +++ b/doc/it/autogen/user/weechat_commands.txt @@ -410,7 +410,7 @@ list of actions: switch_active_buffer: switch to next merged buffer switch_active_buffer_previous: switch to previous merged buffer zoom_merged_buffer: zoom on merged buffer - insert: insert text in command line + insert: insert text in command line (escaped chars are allowed, see /help print) paste_start: start paste (bracketed paste mode) paste_stop: stop paste (bracketed paste mode) @@ -579,12 +579,13 @@ Senza argomento, questo comando elenca i plugin caricati. time: hh:mm:ss (example: 04:32:55) -tags: comma-separated list of tags (see /help filter for a list of tags most commonly used) text: text to display (prefix and message must be separated by \t) --stdout: display text on stdout (not in a buffer) --stderr: display text on stderr (not in a buffer) +-stdout: display text on stdout (escaped chars are interpreted) +-stderr: display text on stderr (escaped chars are interpreted) The options -action ... -quit use the prefix defined in options "weechat.look.prefix_*". -With options -stdout and -stderr, escaped chars are always interpreted. +Following escaped chars are supported: + \" \\ \a \b \e \f \n \r \t \v \0ooo \xhh \uhhhh \Uhhhhhhhh Examples: display a reminder on core buffer with a highlight: @@ -595,6 +596,8 @@ Examples: /print -core abc\tThe message display a message on channel #weechat: /print -buffer irc.freenode.#weechat Message on #weechat + display a snowman (U+2603): + /print -escape \u2603 send alert (BEL): /print -stderr \a ---- diff --git a/doc/ja/autogen/user/weechat_commands.txt b/doc/ja/autogen/user/weechat_commands.txt index fe22cccd9..b6d699de0 100644 --- a/doc/ja/autogen/user/weechat_commands.txt +++ b/doc/ja/autogen/user/weechat_commands.txt @@ -363,58 +363,58 @@ value: 表示する履歴エントリの数 ---- /input [] -アクションリスト: - return: "enter" キーをシミュレート - complete_next: 次の補完候補で単語を補完 - complete_previous: 一つ前の補完候補で単語を補完 - search_text: バッファ内のテキストを検索 - search_switch_case: 完全一致検索に変更 - search_switch_regex: 検索タイプの切り替え: 文字列/正規表現 - search_switch_where: 検索範囲の切り替え: メッセージ/プレフィックス - search_previous: 一つ前の行を検索 - search_next: 次の行を検索 - search_stop: 検索を終了 - delete_previous_char: 一つ前の文字を削除 - delete_next_char: 次の文字を削除 - delete_previous_word: 一つ前の単語を削除 - delete_next_word: 次の単語を削除 - delete_beginning_of_line: 行の最初からカーソル位置までを削除 - delete_end_of_line: カーソルから行の最後までを削除 - delete_line: 行を削除 - clipboard_paste: クリップボードから貼り付け - transpose_chars: 2 つの文字を入れ替え - undo: 最新のコマンドラインアクションまで元に戻す - redo: 最新のコマンドラインアクションまでやり直す - move_beginning_of_line: カーソルを行頭に移動 - move_end_of_line: カーソルを行末まで移動 - move_previous_char: カーソルを一つ前の文字に移動 - move_next_char: カーソルを次の文字に移動 - move_previous_word: カーソルを一つ前の単語に移動 - move_next_word: カーソルを次の単語に移動 - history_previous: 現在のバッファ履歴のひとつ前のコマンドを再呼び出し - history_next: 現在のバッファ履歴の次のコマンドを再呼び出し - history_global_previous: グローバル履歴の一つ前のコマンドを再呼び出し - history_global_next: グローバル履歴の次のコマンドを再呼び出し - jump_smart: 次のアクティブバッファに飛ぶ - jump_last_buffer: 最後のバッファに移動 - jump_last_buffer_displayed: 表示されている最後のバッファに移動 (最新のバッファ移動の一つ前に表示されていたバッファ) - jump_previously_visited_buffer: 一つ前に訪れたバッファに移動 - jump_next_visited_buffer: 次に訪れたバッファに移動 - hotlist_clear: ホットリストを消去 - grab_key: キーを横取り (任意引数: 最後の横取りからの遅延時間、デフォルトは 500 ミリ秒) - grab_key_command: あるコマンドに関連してキーを横取り (任意引数: 最後の横取りからの遅延時間、デフォルトは 500 ミリ秒) - grab_mouse: grab マウスイベントコードを横取り - grab_mouse_area: 範囲指定のマウスイベントコードを横取り - set_unread: 全てのバッファに対して未読マーカーを設定 - set_unread_current_buffer: 現在のバッファに対して未読マーカーを設定 - switch_active_buffer: 次のマージされたバッファに移動 - switch_active_buffer_previous: 一つ前のマージされたバッファに移動 - zoom_merged_buffer: マージされたバッファにズーム - insert: コマンドラインにテキストを挿入 - paste_start: ペーストの開始 (括弧付きペーストモード) - paste_stop: ペーストの終了 (括弧付きペーストモード) - -これらのコマンドはキーバインドかプラグインで利用できます。 +list of actions: + return: simulate key "enter" + complete_next: complete word with next completion + complete_previous: complete word with previous completion + search_text: search text in buffer + search_switch_case: switch exact case for search + search_switch_regex: switch search type: string/regular expression + search_switch_where: switch search in messages/prefixes + search_previous: search previous line + search_next: search next line + search_stop: stop search + delete_previous_char: delete previous char + delete_next_char: delete next char + delete_previous_word: delete previous word + delete_next_word: delete next word + delete_beginning_of_line: delete from beginning of line until cursor + delete_end_of_line: delete from cursor until end of line + delete_line: delete entire line + clipboard_paste: paste from clipboard + transpose_chars: transpose two chars + undo: undo last command line action + redo: redo last command line action + move_beginning_of_line: move cursor to beginning of line + move_end_of_line: move cursor to end of line + move_previous_char: move cursor to previous char + move_next_char: move cursor to next char + move_previous_word: move cursor to previous word + move_next_word: move cursor to next word + history_previous: recall previous command in current buffer history + history_next: recall next command in current buffer history + history_global_previous: recall previous command in global history + history_global_next: recall next command in global history + jump_smart: jump to next buffer with activity + jump_last_buffer: jump to last buffer + jump_last_buffer_displayed: jump to last buffer displayed (before last jump to a buffer) + jump_previously_visited_buffer: jump to previously visited buffer + jump_next_visited_buffer: jump to next visited buffer + hotlist_clear: clear hotlist + grab_key: grab a key (optional argument: delay for end of grab, default is 500 milliseconds) + grab_key_command: grab a key with its associated command (optional argument: delay for end of grab, default is 500 milliseconds) + grab_mouse: grab mouse event code + grab_mouse_area: grab mouse event code with area + set_unread: set unread marker for all buffers + set_unread_current_buffer: set unread marker for current buffer + switch_active_buffer: switch to next merged buffer + switch_active_buffer_previous: switch to previous merged buffer + zoom_merged_buffer: zoom on merged buffer + insert: insert text in command line (escaped chars are allowed, see /help print) + paste_start: start paste (bracketed paste mode) + paste_stop: stop paste (bracketed paste mode) + +This command is used by key bindings or plugins. ---- [[command_weechat_key]] @@ -579,12 +579,13 @@ arguments: ロードするプラグインに与える引数 time: hh:mm:ss (example: 04:32:55) -tags: comma-separated list of tags (see /help filter for a list of tags most commonly used) text: text to display (prefix and message must be separated by \t) --stdout: display text on stdout (not in a buffer) --stderr: display text on stderr (not in a buffer) +-stdout: display text on stdout (escaped chars are interpreted) +-stderr: display text on stderr (escaped chars are interpreted) The options -action ... -quit use the prefix defined in options "weechat.look.prefix_*". -With options -stdout and -stderr, escaped chars are always interpreted. +Following escaped chars are supported: + \" \\ \a \b \e \f \n \r \t \v \0ooo \xhh \uhhhh \Uhhhhhhhh Examples: display a reminder on core buffer with a highlight: @@ -595,6 +596,8 @@ Examples: /print -core abc\tThe message display a message on channel #weechat: /print -buffer irc.freenode.#weechat Message on #weechat + display a snowman (U+2603): + /print -escape \u2603 send alert (BEL): /print -stderr \a ---- diff --git a/doc/pl/autogen/user/weechat_commands.txt b/doc/pl/autogen/user/weechat_commands.txt index 0809f318d..c804dd514 100644 --- a/doc/pl/autogen/user/weechat_commands.txt +++ b/doc/pl/autogen/user/weechat_commands.txt @@ -363,58 +363,58 @@ Wartość: ilość elementów historii do pokazania ---- /input [] -lista akcji: - return: symuluje klawisz "enter" - complete_next: dopełnia słowo następnym dopełnieniem - complete_previous: dopełnia słowo poprzednim dopełnieniem - search_text: szuka tekstu w buforze - search_switch_case: przełącza na dokładne dopasowanie przy szukaniu - search_switch_regex: przełącza typy wyszukiwania ciąg/wyrażenie regularne - search_switch_where: zmienia miejsce przeszukiwania na wiadomości/przedrostki - search_previous: szuka poprzednich linii - search_next: szuka następnych linii - search_stop: zatrzymuje wyszukiwanie - delete_previous_char: usuwa poprzedni znak - delete_next_char: usuwa następny znak - delete_previous_word: usuwa poprzednie słowo - delete_next_word: usuwa następne słowo - delete_beginning_of_line: usuwa od początku linii do kursora - delete_end_of_line: usuwa od kursora do końca linii - delete_line: usuwa cała linię - clipboard_paste: wkleja ze schowka - transpose_chars: zamienia dwa znaki - undo: cofa ostatnia akcję w linii poleceń - redo: ponownie wykonuje cofniętą akcję w linii poleceń - move_beginning_of_line: przesuwa kursor na początek linii - move_end_of_line: przesuwa kursor na koniec linii - move_previous_char: przesuwa kursor do poprzedniego znaku - move_next_char: przesuwa kursor do następnego znaku - move_previous_word: przesuwa kursor do poprzedniego słowa - move_next_word: przesuwa kursor do następnego słowa - history_previous: przywołuje poprzednia komendę z historii obecnego bufora - history_next: przywołuje następną komendę z historii obecnego bufora - history_global_previous: przywołuje poprzednią komendę z globalnej historii - history_global_next: przywołuje następną komendę z globalnej historii - jump_smart: przechodzi do następnego bufora z aktywnością - jump_last_buffer: przechodzi do ostatniego bufora - jump_last_buffer_displayed: przechodzi do ostatnio wyświetlanego bufora (przed ostatnim przeskoczeniem do bufora) - jump_previously_visited_buffer: przeskakuje do poprzedniego bufora - jump_next_visited_buffer: przeskakuje to następnego bufora - hotlist_clear: czyści hotlistę - grab_key: przechwytuje klawisz (opcjonalny argument: opóźnienie końca przechwycenia, domyślnie jest to 500 milisekund) - grab_key_command: przechwytuje klawisz z przypisaną komendą(opcjonalny argument: opóźnienie końca przechwycenia, domyślnie jest to 500 milisekund) - grab_mouse: przechwytuje kod zdarzenia myszy - grab_mouse_area: przechwytuje kod zdarzenia myszy z obszarem - set_unread: ustawia znacznik nie przeczytania dla wszystkich buforów - set_unread_current_buffer: ustawia znacznik nie przeczytania dla obecnego bufora - switch_active_buffer: przełącza do następnego połączonego buforu - switch_active_buffer_previous: przełącza do poprzedniego połączonego buforu - zoom_merged_buffer: zoom na połączony bufor - insert: wkleja tekst do linii poleceń - paste_start: zaczyna wklejanie (tryb z rozpoznawaniem wklejanego tekstu) - paste_stop: kończy wklejanie (tryb z rozpoznawaniem wklejanego tekstu) - -Ta komenda jest używana do przypisywania klawiszy lub przez wtyczki. +list of actions: + return: simulate key "enter" + complete_next: complete word with next completion + complete_previous: complete word with previous completion + search_text: search text in buffer + search_switch_case: switch exact case for search + search_switch_regex: switch search type: string/regular expression + search_switch_where: switch search in messages/prefixes + search_previous: search previous line + search_next: search next line + search_stop: stop search + delete_previous_char: delete previous char + delete_next_char: delete next char + delete_previous_word: delete previous word + delete_next_word: delete next word + delete_beginning_of_line: delete from beginning of line until cursor + delete_end_of_line: delete from cursor until end of line + delete_line: delete entire line + clipboard_paste: paste from clipboard + transpose_chars: transpose two chars + undo: undo last command line action + redo: redo last command line action + move_beginning_of_line: move cursor to beginning of line + move_end_of_line: move cursor to end of line + move_previous_char: move cursor to previous char + move_next_char: move cursor to next char + move_previous_word: move cursor to previous word + move_next_word: move cursor to next word + history_previous: recall previous command in current buffer history + history_next: recall next command in current buffer history + history_global_previous: recall previous command in global history + history_global_next: recall next command in global history + jump_smart: jump to next buffer with activity + jump_last_buffer: jump to last buffer + jump_last_buffer_displayed: jump to last buffer displayed (before last jump to a buffer) + jump_previously_visited_buffer: jump to previously visited buffer + jump_next_visited_buffer: jump to next visited buffer + hotlist_clear: clear hotlist + grab_key: grab a key (optional argument: delay for end of grab, default is 500 milliseconds) + grab_key_command: grab a key with its associated command (optional argument: delay for end of grab, default is 500 milliseconds) + grab_mouse: grab mouse event code + grab_mouse_area: grab mouse event code with area + set_unread: set unread marker for all buffers + set_unread_current_buffer: set unread marker for current buffer + switch_active_buffer: switch to next merged buffer + switch_active_buffer_previous: switch to previous merged buffer + zoom_merged_buffer: zoom on merged buffer + insert: insert text in command line (escaped chars are allowed, see /help print) + paste_start: start paste (bracketed paste mode) + paste_stop: stop paste (bracketed paste mode) + +This command is used by key bindings or plugins. ---- [[command_weechat_key]] @@ -579,12 +579,13 @@ Bez argumentów ta komenda wyświetli wszystkie załadowane wtyczki. time: hh:mm:ss (example: 04:32:55) -tags: comma-separated list of tags (see /help filter for a list of tags most commonly used) text: text to display (prefix and message must be separated by \t) --stdout: display text on stdout (not in a buffer) --stderr: display text on stderr (not in a buffer) +-stdout: display text on stdout (escaped chars are interpreted) +-stderr: display text on stderr (escaped chars are interpreted) The options -action ... -quit use the prefix defined in options "weechat.look.prefix_*". -With options -stdout and -stderr, escaped chars are always interpreted. +Following escaped chars are supported: + \" \\ \a \b \e \f \n \r \t \v \0ooo \xhh \uhhhh \Uhhhhhhhh Examples: display a reminder on core buffer with a highlight: @@ -595,6 +596,8 @@ Examples: /print -core abc\tThe message display a message on channel #weechat: /print -buffer irc.freenode.#weechat Message on #weechat + display a snowman (U+2603): + /print -escape \u2603 send alert (BEL): /print -stderr \a ---- -- cgit v1.2.3