From 7a3ee901a469fe554697c499efc8711f8084c564 Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Sun, 23 Nov 2003 17:29:18 +0000 Subject: [PATCH] Updated doc --- doc/weechat_doc_en.texi | 15 ++++++++------- doc/weechat_doc_fr.texi | 16 ++++++++-------- doc/weechat_doc_pt.texi | 16 ++++++++-------- weechat/doc/weechat_doc_en.texi | 15 ++++++++------- weechat/doc/weechat_doc_fr.texi | 16 ++++++++-------- weechat/doc/weechat_doc_pt.texi | 16 ++++++++-------- 6 files changed, 48 insertions(+), 46 deletions(-) diff --git a/doc/weechat_doc_en.texi b/doc/weechat_doc_en.texi index c2241a00a..67d7977b4 100644 --- a/doc/weechat_doc_en.texi +++ b/doc/weechat_doc_en.texi @@ -298,17 +298,14 @@ NOT WRITTEN! Perl scripts are loaded and unloaded with @command{/perl} command. (type @kbd{/help perl} within WeeChat to get help about command).@* +@emph{Examples:}@* @itemize @bullet @item -Perl script loading example:@* -@kbd{/perl load /tmp/sample.pl}@* +Load a Perl script: @kbd{/perl load /tmp/sample.pl}@* @item -Perl script unloading example:@* -@kbd{/perl unload sample}@* -Notice: "sample" is the first parameter of @command{IRC::register} function.@* +Unload all Perl scripts: @kbd{/perl unload}@* @item -List all Perl script loaded:@* -@kbd{/perl}@* +List all Perl scripts: @kbd{/perl}@* @end itemize @subsection WeeChat / Perl API @@ -332,6 +329,7 @@ unloaded (optional parameter, empty string means nothing is called at the end) @* @emph{Example:}@* @code{IRC::register ("sample", "1.0", "sample_end", "Sample script!");}@* +@* @item @command{IRC::print ( message );}@* @@ -345,6 +343,7 @@ Print message in current window (channel or server).@* @* @emph{Example:}@* @code{IRC::print ("message");}@* +@* @item @command{IRC::add_message_handler ( name, function );}@* @@ -369,6 +368,7 @@ RFC 2812: @uref{ftp://ftp.rfc-editor.org/in-notes/rfc2812.txt} @code{@ @ @ @ ($hostmask, $null, $channel) = split " ", $channel;}@* @code{@ @ @ @ IRC::print ("host=$hostmask, chan=$channel, msg=$message\n");}@* @code{@} }@* +@* @item @command{IRC::add_command_handler ( name, function );}@* @@ -392,6 +392,7 @@ available until your Perl script will be unloaded. @code{@ @ @ @ IRC::print("Arguments: ".@@_[0]);}@* @code{@ @ @ @ return 0;}@* @code{@} }@* +@* @end itemize diff --git a/doc/weechat_doc_fr.texi b/doc/weechat_doc_fr.texi index 85f0ce587..5874ca7d6 100644 --- a/doc/weechat_doc_fr.texi +++ b/doc/weechat_doc_fr.texi @@ -298,17 +298,13 @@ NON ECRIT ! Les scripts Perl sont charg@'es et d@'echarg@'es avec la commande @command{/perl} (tapez @kbd{/help perl} dans WeeChat pour obtenir de l'aide sur la commande).@* +@emph{Exemples :}@* @itemize @bullet @item -Exemple de chargement d'un script Perl :@* -@kbd{/perl load /tmp/essai.pl}@* +Charger un script Perl : @kbd{/perl load /tmp/essai.pl}@* +@item D@'echarger tous les scripts Perl : @kbd{/perl unload}@* @item -Exemple de d@'echargement d'un script Perl :@* -@kbd{/perl unload essai}@* -A noter: le nom "essai" est le premier param@`etre de la fonction @command{IRC::register.}@* -@item -Liste des scripts Perl charg@'es :@* -@kbd{/perl}@* +Lister les scripts Perl charg@'es : @kbd{/perl}@* @end itemize @subsection Interface WeeChat / Perl @@ -333,6 +329,7 @@ de fonction @`a appeler) @* @emph{Exemple :}@* @code{IRC::register ("essai", "1.0", "fin_essai", "Script d'essai !");}@* +@* @item @command{IRC::print ( message );}@* @@ -346,6 +343,7 @@ Affiche un message dans la fen@^etre courante (canal ou serveur).@* @* @emph{Exemple :}@* @code{IRC::print ("message");}@* +@* @item @command{IRC::add_message_handler ( nom, fonction );}@* @@ -371,6 +369,7 @@ RFC 2812 : @uref{ftp://ftp.rfc-editor.org/in-notes/rfc2812.txt} @code{@ @ @ @ ($masque, $null, $canal) = split " ", $canal;}@* @code{@ @ @ @ IRC::print ("masque=$masque, canal=$canal, message=$message\n");}@* @code{@} }@* +@* @item @command{IRC::add_command_handler ( nom, fonction );}@* @@ -394,6 +393,7 @@ ne seront plus accessibles tant que le script Perl sera charg@'e. @code{@ @ @ @ IRC::print("Param@`etres : ".@@_[0]);}@* @code{@ @ @ @ return 0;}@* @code{@} }@* +@* @end itemize diff --git a/doc/weechat_doc_pt.texi b/doc/weechat_doc_pt.texi index 198da130c..1a9c6a216 100644 --- a/doc/weechat_doc_pt.texi +++ b/doc/weechat_doc_pt.texi @@ -44,7 +44,7 @@ A ultima vers Copyright @copyright{} 2003 FlashCode <@email{flashcode@@flashtux.org, flashcode AT flashtux.org}>@* @* -Este documento pode ser utilizado sobre os termos da Licença P@'ublica geral GNU (GNU General Public +Este documento pode ser utilizado sobre os termos da Licen@,{c}a P@'ublica geral GNU (GNU General Public License) vers@~ao 2 ou superior. @end titlepage @@ -63,17 +63,17 @@ License) vers@~ao 2 ou superior. @end menu -@c ******************************* Introduç@~ao ******************************* +@c ******************************* Introdu@,{c}@~ao ******************************* @node Introduç@~ao, Instalaç@~ao, Top, Top -@chapter Introduç@~ao +@chapter Introdu@,{c}@~ao @menu * Descriç@~ao:: * Pre-requisitos:: @end menu @node Descriç@~ao, Pre-requisitos, Introduç@~ao, Introduç@~ao -@section Descriç@~ao +@section Descri@,{c}@~ao O WeeChat (Wee Enhanced Environment for Chat) @'e um cliente de IRC livre, r@'apido e leve, concebido para funcionar em diversos sistemas operativos.@* @@ -123,10 +123,10 @@ Qt: *** interface n@~ao desenvolvida ***, @end itemize -@c ******************************* Instalaç@~ao ******************************* +@c ******************************* Instala@,{c}@~ao ******************************* @node Instalaç@~ao, Utilizaç@~ao, Introduç@~ao, Top -@chapter Instalaç@~ao +@chapter Instala@,{c}@~ao @menu * Binarios:: * Codigo Fonte:: @@ -189,10 +189,10 @@ Executa o script :@* Segue agora as instru@,{c}@~oes para compilar o c@'odigo fonte - @xref{Codigo Fonte}. -@c ******************************* Utilizaç@~ao ******************************** +@c ******************************* Utiliza@,{c}@~ao ******************************** @node Utilizaç@~ao, Autores / Suporte, Instalaç@~ao, Top -@chapter Utilizaç@~ao +@chapter Utiliza@,{c}@~ao @menu * Invocar o WeeChat:: diff --git a/weechat/doc/weechat_doc_en.texi b/weechat/doc/weechat_doc_en.texi index c2241a00a..67d7977b4 100644 --- a/weechat/doc/weechat_doc_en.texi +++ b/weechat/doc/weechat_doc_en.texi @@ -298,17 +298,14 @@ NOT WRITTEN! Perl scripts are loaded and unloaded with @command{/perl} command. (type @kbd{/help perl} within WeeChat to get help about command).@* +@emph{Examples:}@* @itemize @bullet @item -Perl script loading example:@* -@kbd{/perl load /tmp/sample.pl}@* +Load a Perl script: @kbd{/perl load /tmp/sample.pl}@* @item -Perl script unloading example:@* -@kbd{/perl unload sample}@* -Notice: "sample" is the first parameter of @command{IRC::register} function.@* +Unload all Perl scripts: @kbd{/perl unload}@* @item -List all Perl script loaded:@* -@kbd{/perl}@* +List all Perl scripts: @kbd{/perl}@* @end itemize @subsection WeeChat / Perl API @@ -332,6 +329,7 @@ unloaded (optional parameter, empty string means nothing is called at the end) @* @emph{Example:}@* @code{IRC::register ("sample", "1.0", "sample_end", "Sample script!");}@* +@* @item @command{IRC::print ( message );}@* @@ -345,6 +343,7 @@ Print message in current window (channel or server).@* @* @emph{Example:}@* @code{IRC::print ("message");}@* +@* @item @command{IRC::add_message_handler ( name, function );}@* @@ -369,6 +368,7 @@ RFC 2812: @uref{ftp://ftp.rfc-editor.org/in-notes/rfc2812.txt} @code{@ @ @ @ ($hostmask, $null, $channel) = split " ", $channel;}@* @code{@ @ @ @ IRC::print ("host=$hostmask, chan=$channel, msg=$message\n");}@* @code{@} }@* +@* @item @command{IRC::add_command_handler ( name, function );}@* @@ -392,6 +392,7 @@ available until your Perl script will be unloaded. @code{@ @ @ @ IRC::print("Arguments: ".@@_[0]);}@* @code{@ @ @ @ return 0;}@* @code{@} }@* +@* @end itemize diff --git a/weechat/doc/weechat_doc_fr.texi b/weechat/doc/weechat_doc_fr.texi index 85f0ce587..5874ca7d6 100644 --- a/weechat/doc/weechat_doc_fr.texi +++ b/weechat/doc/weechat_doc_fr.texi @@ -298,17 +298,13 @@ NON ECRIT ! Les scripts Perl sont charg@'es et d@'echarg@'es avec la commande @command{/perl} (tapez @kbd{/help perl} dans WeeChat pour obtenir de l'aide sur la commande).@* +@emph{Exemples :}@* @itemize @bullet @item -Exemple de chargement d'un script Perl :@* -@kbd{/perl load /tmp/essai.pl}@* +Charger un script Perl : @kbd{/perl load /tmp/essai.pl}@* +@item D@'echarger tous les scripts Perl : @kbd{/perl unload}@* @item -Exemple de d@'echargement d'un script Perl :@* -@kbd{/perl unload essai}@* -A noter: le nom "essai" est le premier param@`etre de la fonction @command{IRC::register.}@* -@item -Liste des scripts Perl charg@'es :@* -@kbd{/perl}@* +Lister les scripts Perl charg@'es : @kbd{/perl}@* @end itemize @subsection Interface WeeChat / Perl @@ -333,6 +329,7 @@ de fonction @`a appeler) @* @emph{Exemple :}@* @code{IRC::register ("essai", "1.0", "fin_essai", "Script d'essai !");}@* +@* @item @command{IRC::print ( message );}@* @@ -346,6 +343,7 @@ Affiche un message dans la fen@^etre courante (canal ou serveur).@* @* @emph{Exemple :}@* @code{IRC::print ("message");}@* +@* @item @command{IRC::add_message_handler ( nom, fonction );}@* @@ -371,6 +369,7 @@ RFC 2812 : @uref{ftp://ftp.rfc-editor.org/in-notes/rfc2812.txt} @code{@ @ @ @ ($masque, $null, $canal) = split " ", $canal;}@* @code{@ @ @ @ IRC::print ("masque=$masque, canal=$canal, message=$message\n");}@* @code{@} }@* +@* @item @command{IRC::add_command_handler ( nom, fonction );}@* @@ -394,6 +393,7 @@ ne seront plus accessibles tant que le script Perl sera charg@'e. @code{@ @ @ @ IRC::print("Param@`etres : ".@@_[0]);}@* @code{@ @ @ @ return 0;}@* @code{@} }@* +@* @end itemize diff --git a/weechat/doc/weechat_doc_pt.texi b/weechat/doc/weechat_doc_pt.texi index 198da130c..1a9c6a216 100644 --- a/weechat/doc/weechat_doc_pt.texi +++ b/weechat/doc/weechat_doc_pt.texi @@ -44,7 +44,7 @@ A ultima vers Copyright @copyright{} 2003 FlashCode <@email{flashcode@@flashtux.org, flashcode AT flashtux.org}>@* @* -Este documento pode ser utilizado sobre os termos da Licença P@'ublica geral GNU (GNU General Public +Este documento pode ser utilizado sobre os termos da Licen@,{c}a P@'ublica geral GNU (GNU General Public License) vers@~ao 2 ou superior. @end titlepage @@ -63,17 +63,17 @@ License) vers@~ao 2 ou superior. @end menu -@c ******************************* Introduç@~ao ******************************* +@c ******************************* Introdu@,{c}@~ao ******************************* @node Introduç@~ao, Instalaç@~ao, Top, Top -@chapter Introduç@~ao +@chapter Introdu@,{c}@~ao @menu * Descriç@~ao:: * Pre-requisitos:: @end menu @node Descriç@~ao, Pre-requisitos, Introduç@~ao, Introduç@~ao -@section Descriç@~ao +@section Descri@,{c}@~ao O WeeChat (Wee Enhanced Environment for Chat) @'e um cliente de IRC livre, r@'apido e leve, concebido para funcionar em diversos sistemas operativos.@* @@ -123,10 +123,10 @@ Qt: *** interface n@~ao desenvolvida ***, @end itemize -@c ******************************* Instalaç@~ao ******************************* +@c ******************************* Instala@,{c}@~ao ******************************* @node Instalaç@~ao, Utilizaç@~ao, Introduç@~ao, Top -@chapter Instalaç@~ao +@chapter Instala@,{c}@~ao @menu * Binarios:: * Codigo Fonte:: @@ -189,10 +189,10 @@ Executa o script :@* Segue agora as instru@,{c}@~oes para compilar o c@'odigo fonte - @xref{Codigo Fonte}. -@c ******************************* Utilizaç@~ao ******************************** +@c ******************************* Utiliza@,{c}@~ao ******************************** @node Utilizaç@~ao, Autores / Suporte, Instalaç@~ao, Top -@chapter Utilizaç@~ao +@chapter Utiliza@,{c}@~ao @menu * Invocar o WeeChat::