From 6e1e8e9ed835800c548d732916d8cbfb2395167a Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Sat, 20 Feb 2010 21:23:09 +0100 Subject: [PATCH] Add question about meta keys in FAQ --- doc/de/weechat_faq.de.txt | 23 +++++++++++++++++++++-- doc/en/weechat_faq.en.txt | 23 +++++++++++++++++++++-- doc/fr/weechat_faq.fr.txt | 24 ++++++++++++++++++++++-- doc/it/weechat_faq.it.txt | 23 +++++++++++++++++++++-- doc/pl/weechat_faq.pl.txt | 23 +++++++++++++++++++++-- 5 files changed, 106 insertions(+), 10 deletions(-) diff --git a/doc/de/weechat_faq.de.txt b/doc/de/weechat_faq.de.txt index 8b5e52af4..15072faca 100644 --- a/doc/de/weechat_faq.de.txt +++ b/doc/de/weechat_faq.de.txt @@ -166,11 +166,30 @@ nutzte stattdessen 'xterm' - die ist ok (wie mehrer andere Werte). Wenn nötig korrigiere den Wert Deiner Variablen TERM: `export TERM="xxx"`. +[[meta_keys]] +Some meta keys (alt + key) are not working, why? +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +If you're using some terminals like xterm or uxterm, some meta keys does not +work by default. You can add a line in file '~/.Xresources': + +* for xterm: +---------------------------------------- +XTerm*metaSendsEscape: true +---------------------------------------- +* for uxterm: +---------------------------------------- +UXTerm*metaSendsEscape: true +---------------------------------------- + +And then reload resources (`xrdb -override ~/.Xresources`) or restart X. + + [[key_bindings]] Wie kann ich die Tastaturbelegung anpassen? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Die Tasten werden mit dem Befehl /key belegt. +Die Tasten werden mit dem Befehl `/key` belegt. Per Voreinstellung kannst Du mit der Tastenkombination Meta-k (normal Alt-k) den Code der jeweiligen Taste herausfinden und in die Eingabezeile einfügen. @@ -205,7 +224,7 @@ Anmerkung: * Skripten, die sich unter '~/.weechat//autoload/' befinden, werden beim Start von WeeChat automatisch geladen. -* Eine 'tcl' Erweiterung ist ab version > = 0.3.x verfügbar. +* Eine 'tcl' Erweiterung ist ab version > = 0.3.0 verfügbar. [[change_locale_without_quit]] diff --git a/doc/en/weechat_faq.en.txt b/doc/en/weechat_faq.en.txt index 47985acb8..2195f1ca3 100644 --- a/doc/en/weechat_faq.en.txt +++ b/doc/en/weechat_faq.en.txt @@ -153,11 +153,30 @@ which is ok (like many other values). If needed, fix your TERM variable: `export TERM="xxx"`. +[[meta_keys]] +Some meta keys (alt + key) are not working, why? +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +If you're using some terminals like xterm or uxterm, some meta keys does not +work by default. You can add a line in file '~/.Xresources': + +* for xterm: +---------------------------------------- +XTerm*metaSendsEscape: true +---------------------------------------- +* for uxterm: +---------------------------------------- +UXTerm*metaSendsEscape: true +---------------------------------------- + +And then reload resources (`xrdb -override ~/.Xresources`) or restart X. + + [[key_bindings]] How can I customize key bindings? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Key bindings are customizable with /key command. +Key bindings are customizable with `/key` command. Default key Meta-k (usually Alt-k) lets you grab key code and insert it in command line. @@ -192,7 +211,7 @@ Notes: * scripts in '~/.weechat//autoload/' are automatically loaded when WeeChat is starting up. -* a 'tcl' plugin is available with version > = 0.3.x. +* a 'tcl' plugin is available with version > = 0.3.0. [[change_locale_without_quit]] diff --git a/doc/fr/weechat_faq.fr.txt b/doc/fr/weechat_faq.fr.txt index 63ba7feea..ac884afb4 100644 --- a/doc/fr/weechat_faq.fr.txt +++ b/doc/fr/weechat_faq.fr.txt @@ -159,11 +159,31 @@ Par exemple 'xterm-color' provoque ce genre de problèmes, utilisez Si besoin, corrigez la variable TERM : `export TERM="xxx"`. +[[meta_keys]] +Quelques touches meta (alt + touche) ne fonctionnent pas, pourquoi ? +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +Si vous utilisez certains terminaux comme xterm ou uxterm, quelques touches +meta ne fonctionnent pas par défaut. Vous pouvez ajouter cette ligne dans le +fichier '~/.Xresources': + +* pour xterm: +---------------------------------------- +XTerm*metaSendsEscape: true +---------------------------------------- +* pour uxterm: +---------------------------------------- +UXTerm*metaSendsEscape: true +---------------------------------------- + +Puis recharger les ressources (`xrdb -override ~/.Xresources`) ou redémarrez X. + + [[key_bindings]] Comment puis-je configurer les raccourcis clavier ? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Les raccourcis clavier sont modifiables avec la commande /key. +Les raccourcis clavier sont modifiables avec la commande `/key`. La touche par défaut Meta-k (souvent Alt-k) permet de capturer le code d'une touche et de l'inclure dans la ligne de commande. @@ -199,7 +219,7 @@ Notes : * les scripts dans '~/.weechat//autoload/' sont automatiquement chargés par WeeChat lorsqu'il démarre. -* l'extension 'tcl' est disponible à partir de la version 0.3.x. +* l'extension 'tcl' est disponible à partir de la version 0.3.0. [[change_locale_without_quit]] diff --git a/doc/it/weechat_faq.it.txt b/doc/it/weechat_faq.it.txt index dc8ed2fa6..7bfff8a72 100644 --- a/doc/it/weechat_faq.it.txt +++ b/doc/it/weechat_faq.it.txt @@ -156,11 +156,30 @@ Per esempio, 'xterm-color' potrebbe visualizzare questo tipo di caratteri strani Se necessario, correggere la variabile TERM: `export TERM="xxx"`. +[[meta_keys]] +Some meta keys (alt + key) are not working, why? +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +If you're using some terminals like xterm or uxterm, some meta keys does not +work by default. You can add a line in file '~/.Xresources': + +* for xterm: +---------------------------------------- +XTerm*metaSendsEscape: true +---------------------------------------- +* for uxterm: +---------------------------------------- +UXTerm*metaSendsEscape: true +---------------------------------------- + +And then reload resources (`xrdb -override ~/.Xresources`) or restart X. + + [[key_bindings]] Come posso personalizzare le associazioni dei tasti? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Le associazioni dei tasti sono personalizzabili con il comando /key. +Le associazioni dei tasti sono personalizzabili con il comando `/key`. Il tasto predefinito Meta-k (di solito Alt-k) consente di registrare il codice tasto ed inserirlo nella riga di comando. @@ -195,7 +214,7 @@ Note: * gli script in '~/.weechat//autoload/' sono caricati automaticamente all'avvio di WeeChat. -* è disponibile un plugin 'tcl' con la versione > = 0.3.x. +* è disponibile un plugin 'tcl' con la versione > = 0.3.0. [[change_locale_without_quit]] diff --git a/doc/pl/weechat_faq.pl.txt b/doc/pl/weechat_faq.pl.txt index a6916b3d0..c395418db 100644 --- a/doc/pl/weechat_faq.pl.txt +++ b/doc/pl/weechat_faq.pl.txt @@ -153,11 +153,30 @@ który działa dobrze (jak wiele innych wartości). W razie potrzeby, popraw zmienna TERM: `export TERM="xxx"`. +[[meta_keys]] +Some meta keys (alt + key) are not working, why? +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +If you're using some terminals like xterm or uxterm, some meta keys does not +work by default. You can add a line in file '~/.Xresources': + +* for xterm: +---------------------------------------- +XTerm*metaSendsEscape: true +---------------------------------------- +* for uxterm: +---------------------------------------- +UXTerm*metaSendsEscape: true +---------------------------------------- + +And then reload resources (`xrdb -override ~/.Xresources`) or restart X. + + [[key_bindings]] Jak mogę zmienić przypisania klawiszy? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Przypisania klawiszy mozna dostosować za pomocą komendy /key. +Przypisania klawiszy mozna dostosować za pomocą komendy `/key`. Domyślnie Meta-k (zazwyczaj Alt-k) pozwala pobrać kod klawiszy i umieścić go w wierszu poleceń. @@ -192,7 +211,7 @@ Uwagi: * skrypty w '~/.weechat//autoload/' są automatycznie ładowane przy uruchomieniu WeeChat. -* wtyczka 'tcl' jest dostępna dla wersji > = 0.3.x. +* wtyczka 'tcl' jest dostępna dla wersji > = 0.3.0. [[change_locale_without_quit]]