1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-25 04:16:38 +02:00

Updated doc

This commit is contained in:
Sebastien Helleu
2003-11-23 17:29:18 +00:00
parent e469f0ef48
commit 7a3ee901a4
6 changed files with 48 additions and 46 deletions
+8 -7
View File
@@ -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
+8 -8
View File
@@ -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
+8 -8
View File
@@ -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::
+8 -7
View File
@@ -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
+8 -8
View File
@@ -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
+8 -8
View File
@@ -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::