diff --git a/doc/en/weechat.en.xml b/doc/en/weechat.en.xml
index 923eb4a7a..331aa114c 100644
--- a/doc/en/weechat.en.xml
+++ b/doc/en/weechat.en.xml
@@ -719,6 +719,179 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
+ Command line
+
+
+ WeeChat command line (at the bottom of window) lets you send text on
+ channels and execute WeeChat or IRC commands (see
+ ).
+
+
+
+ Commands begin with "/" char, followed by name of command.
+ For example, to initiate a private chat with "toto":
+ /query toto
+
+
+
+ Text sent to a channel is any text that does not begin with "/" char.
+ For example, to send text "hello" on current
+ channel:
+ hello
+
+
+
+ However, it is possible to start with "/" char, by adding another.
+ For example, to send text "/query toto" on current
+ channel:
+ //query toto
+
+
+
+ If option for sending IRC colors ("irc_colors_send")
+ is enabled, you can use color codes and attributes, as follow:
+
+
+
+
+ Code
+ Description
+
+
+
+
+ %B
+
+ bold text
+
+
+
+ %Cnn
+
+ text color "nn" (see colors table below)
+
+
+
+ %O
+
+ disable color and attributes
+
+
+
+ %R
+
+ reverse video (revert text color with background)
+
+
+
+ %U
+
+ underlined text
+
+
+
+ %%
+
+ display one "%"
+
+
+
+
+
+ Note: the same code (without number for %C) may be used to stop the
+ attribute.
+
+
+
+ Color codes for %C are:
+
+
+
+
+ Code
+ Color
+
+
+
+
+ 00
+ white
+
+
+ 01
+ black
+
+
+ 02
+ dark blue
+
+
+ 03
+ dark green
+
+
+ 04
+ light red
+
+
+ 05
+ dark red
+
+
+ 06
+ magenta
+
+
+ 07
+ orange
+
+
+ 08
+ yellow
+
+
+ 09
+ light green
+
+
+ 10
+ cyan
+
+
+ 11
+ light cyan
+
+
+ 12
+ light blue
+
+
+ 13
+ light magenta
+
+
+ 14
+ gray
+
+
+ 15
+ light gray (white)
+
+
+
+
+
+
+
+ Example: display of "hello everybory!" with
+ "hello" in light blue bold, and
+ "everybody" in light red underlined:
+%C12%Bhello%B%C04%U everybody%U%C!
+
+
+
+
WeeChat / IRC commands
diff --git a/doc/fr/weechat.fr.xml b/doc/fr/weechat.fr.xml
index c581afc79..408d199b1 100644
--- a/doc/fr/weechat.fr.xml
+++ b/doc/fr/weechat.fr.xml
@@ -729,6 +729,182 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
+ La ligne de commande
+
+
+ La ligne de commande WeeChat (située en bas de la fenetre) permet
+ d'envoyer du texte sur les canaux et d'exécuter des commandes
+ WeeChat ou IRC (voir ).
+
+
+
+ Les commandes débutent par un caractère "/", suivi du nom de la
+ commande. Par exemple pour initier une conversation privée avec
+ "toto" :
+ /query toto
+
+
+
+ Le texte envoyé à un canal est tout texte ne commençant pas par le
+ caractère "/", par exemple pour envoyer "bonjour"
+ sur le canal courant :
+ bonjour
+
+
+
+ Il est cependant possible de faire débuter un texte par "/" en le
+ doublant. Par exemple pour envoyer le texte
+ "/query toto" sur le canal courant :
+ //query toto
+
+
+
+ Si l'option d'envoi des couleurs IRC
+ ("irc_colors_send") est activée, il est possible
+ d'utiliser des codes couleur et attributs comme suit :
+
+
+
+
+ Code
+ Description
+
+
+
+
+ %B
+
+ texte gras
+
+
+
+ %Cnn
+
+ couleur du texte "nn"
+ (voir le tableau des couleurs ci-dessous)
+
+
+
+ %O
+
+ désactiver la couleur et tous les attributs
+
+
+
+ %R
+
+ vidéo inverse (inversion de la couleur d'écriture et du fond)
+
+
+
+ %U
+
+ texte souligné
+
+
+
+ %%
+
+ afficher un seul "%"
+
+
+
+
+
+ NB: le même code (sans le numéro pour %C) peut être utilisé pour stopper
+ l'attribut défini.
+
+
+
+ Les codes couleur pour %C sont :
+
+
+
+
+ Code
+ Couleur
+
+
+
+
+ 00
+ blanc
+
+
+ 01
+ noir
+
+
+ 02
+ bleu foncé
+
+
+ 03
+ vert foncé
+
+
+ 04
+ rouge clair
+
+
+ 05
+ rouge foncé
+
+
+ 06
+ magenta
+
+
+ 07
+ orange
+
+
+ 08
+ jaune
+
+
+ 09
+ vert clair
+
+
+ 10
+ cyan
+
+
+ 11
+ cyan clair
+
+
+ 12
+ bleu clair
+
+
+ 13
+ magenta clair
+
+
+ 14
+ gris
+
+
+ 15
+ gris clair (blanc)
+
+
+
+
+
+
+
+ Exemple : affichage de "bonjour tout le monde !"
+ avec "bonjour" en bleu clair gras, et
+ "tout le monde" en rouge clair souligné :
+%C12%Bbonjour%B%C04%U tout le monde%U%C !
+
+
+
+
Commandes WeeChat / IRC
diff --git a/weechat/doc/en/weechat.en.xml b/weechat/doc/en/weechat.en.xml
index 923eb4a7a..331aa114c 100644
--- a/weechat/doc/en/weechat.en.xml
+++ b/weechat/doc/en/weechat.en.xml
@@ -719,6 +719,179 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
+ Command line
+
+
+ WeeChat command line (at the bottom of window) lets you send text on
+ channels and execute WeeChat or IRC commands (see
+ ).
+
+
+
+ Commands begin with "/" char, followed by name of command.
+ For example, to initiate a private chat with "toto":
+ /query toto
+
+
+
+ Text sent to a channel is any text that does not begin with "/" char.
+ For example, to send text "hello" on current
+ channel:
+ hello
+
+
+
+ However, it is possible to start with "/" char, by adding another.
+ For example, to send text "/query toto" on current
+ channel:
+ //query toto
+
+
+
+ If option for sending IRC colors ("irc_colors_send")
+ is enabled, you can use color codes and attributes, as follow:
+
+
+
+
+ Code
+ Description
+
+
+
+
+ %B
+
+ bold text
+
+
+
+ %Cnn
+
+ text color "nn" (see colors table below)
+
+
+
+ %O
+
+ disable color and attributes
+
+
+
+ %R
+
+ reverse video (revert text color with background)
+
+
+
+ %U
+
+ underlined text
+
+
+
+ %%
+
+ display one "%"
+
+
+
+
+
+ Note: the same code (without number for %C) may be used to stop the
+ attribute.
+
+
+
+ Color codes for %C are:
+
+
+
+
+ Code
+ Color
+
+
+
+
+ 00
+ white
+
+
+ 01
+ black
+
+
+ 02
+ dark blue
+
+
+ 03
+ dark green
+
+
+ 04
+ light red
+
+
+ 05
+ dark red
+
+
+ 06
+ magenta
+
+
+ 07
+ orange
+
+
+ 08
+ yellow
+
+
+ 09
+ light green
+
+
+ 10
+ cyan
+
+
+ 11
+ light cyan
+
+
+ 12
+ light blue
+
+
+ 13
+ light magenta
+
+
+ 14
+ gray
+
+
+ 15
+ light gray (white)
+
+
+
+
+
+
+
+ Example: display of "hello everybory!" with
+ "hello" in light blue bold, and
+ "everybody" in light red underlined:
+%C12%Bhello%B%C04%U everybody%U%C!
+
+
+
+
WeeChat / IRC commands
diff --git a/weechat/doc/fr/weechat.fr.xml b/weechat/doc/fr/weechat.fr.xml
index c581afc79..408d199b1 100644
--- a/weechat/doc/fr/weechat.fr.xml
+++ b/weechat/doc/fr/weechat.fr.xml
@@ -729,6 +729,182 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
+ La ligne de commande
+
+
+ La ligne de commande WeeChat (située en bas de la fenetre) permet
+ d'envoyer du texte sur les canaux et d'exécuter des commandes
+ WeeChat ou IRC (voir ).
+
+
+
+ Les commandes débutent par un caractère "/", suivi du nom de la
+ commande. Par exemple pour initier une conversation privée avec
+ "toto" :
+ /query toto
+
+
+
+ Le texte envoyé à un canal est tout texte ne commençant pas par le
+ caractère "/", par exemple pour envoyer "bonjour"
+ sur le canal courant :
+ bonjour
+
+
+
+ Il est cependant possible de faire débuter un texte par "/" en le
+ doublant. Par exemple pour envoyer le texte
+ "/query toto" sur le canal courant :
+ //query toto
+
+
+
+ Si l'option d'envoi des couleurs IRC
+ ("irc_colors_send") est activée, il est possible
+ d'utiliser des codes couleur et attributs comme suit :
+
+
+
+
+ Code
+ Description
+
+
+
+
+ %B
+
+ texte gras
+
+
+
+ %Cnn
+
+ couleur du texte "nn"
+ (voir le tableau des couleurs ci-dessous)
+
+
+
+ %O
+
+ désactiver la couleur et tous les attributs
+
+
+
+ %R
+
+ vidéo inverse (inversion de la couleur d'écriture et du fond)
+
+
+
+ %U
+
+ texte souligné
+
+
+
+ %%
+
+ afficher un seul "%"
+
+
+
+
+
+ NB: le même code (sans le numéro pour %C) peut être utilisé pour stopper
+ l'attribut défini.
+
+
+
+ Les codes couleur pour %C sont :
+
+
+
+
+ Code
+ Couleur
+
+
+
+
+ 00
+ blanc
+
+
+ 01
+ noir
+
+
+ 02
+ bleu foncé
+
+
+ 03
+ vert foncé
+
+
+ 04
+ rouge clair
+
+
+ 05
+ rouge foncé
+
+
+ 06
+ magenta
+
+
+ 07
+ orange
+
+
+ 08
+ jaune
+
+
+ 09
+ vert clair
+
+
+ 10
+ cyan
+
+
+ 11
+ cyan clair
+
+
+ 12
+ bleu clair
+
+
+ 13
+ magenta clair
+
+
+ 14
+ gris
+
+
+ 15
+ gris clair (blanc)
+
+
+
+
+
+
+
+ Exemple : affichage de "bonjour tout le monde !"
+ avec "bonjour" en bleu clair gras, et
+ "tout le monde" en rouge clair souligné :
+%C12%Bbonjour%B%C04%U tout le monde%U%C !
+
+
+
+