diff --git a/ChangeLog b/ChangeLog index c867edc5c..ee130dbb6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,10 +1,10 @@ WeeChat - Wee Enhanced Environment for Chat =========================================== -ChangeLog - 2005-03-16 +ChangeLog - 2005-03-20 -Version 0.1.1 (under dev!): +Version 0.1.1 (2005-03-20): * added nicks count for channel buffers * added FIFO pipe for remote control * added crash dump when WeeChat receives SIGSEGV (Segmentation fault) diff --git a/NEWS b/NEWS index 44753f562..0b8562ca7 100644 --- a/NEWS +++ b/NEWS @@ -1,6 +1,10 @@ WeeChat - Wee Enhanced Environment for Chat =========================================== +* FlashCode, 2005-03-20 + + WeeChat 0.1.1 released. + * FlashCode, 2005-02-12 WeeChat 0.1.0 released. diff --git a/TODO b/TODO index 3c25767e6..1435ae0ae 100644 --- a/TODO +++ b/TODO @@ -1,7 +1,7 @@ WeeChat - Wee Enhanced Environment for Chat =========================================== -TODO - 2005-02-27 +TODO - 2005-03-20 Legend: # done diff --git a/configure.in b/configure.in index 1e6e1c95c..b639c8a8d 100644 --- a/configure.in +++ b/configure.in @@ -19,10 +19,10 @@ # Process this file with autoconf to produce a configure script. AC_PREREQ(2.56) -AC_INIT(WeeChat, 0.1.1-cvs, flashcode@flashtux.org) +AC_INIT(WeeChat, 0.1.1, flashcode@flashtux.org) AC_CONFIG_SRCDIR([src/common/weechat.c]) AM_CONFIG_HEADER(config.h) -AM_INIT_AUTOMAKE([weechat], [0.1.1-cvs]) +AM_INIT_AUTOMAKE([weechat], [0.1.1]) # Checks for programs. AC_PROG_CC diff --git a/debian/changelog b/debian/changelog index 27a67c536..47315e457 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +weechat (0.1.1-1) unstable; urgency=low + + * WeeChat version 0.1.1, see ChangeLog for detail. + + -- Sebastien Helleu Sat, 20 Mar 2005 08:00:00 +0200 + weechat (0.1.0-1) unstable; urgency=low * WeeChat version 0.1.0, see ChangeLog for detail. diff --git a/debian/copyright b/debian/copyright index 442914d83..df807f42b 100644 --- a/debian/copyright +++ b/debian/copyright @@ -1,5 +1,5 @@ This package was debianized by FlashCode on -Sat, 12 Jan 2005 12:00:00 +0200. +Sat, 20 Mar 2005 08:00:00 +0200. It was downloaded from http://weechat.flashtux.org/download diff --git a/doc/weechat_doc_en.texi b/doc/weechat_doc_en.texi index 2b0a63a1c..e77362408 100644 --- a/doc/weechat_doc_en.texi +++ b/doc/weechat_doc_en.texi @@ -35,7 +35,7 @@ @title WeeChat - User guide @subtitle Fast, light and extensible IRC client -@subtitle Documentation for WeeChat v0.1.1-cvs - March, 11 2005 +@subtitle Documentation for WeeChat v0.1.1 - March, 20 2005 @image{weechat_image} @@ -209,6 +209,7 @@ Then follow instructions for source package - @xref{Source package}. * Config file:: * Key bindings:: * WeeChat commands:: +* FIFO pipe:: @end menu @node Run WeeChat, Config file, Usage, Usage @@ -487,7 +488,7 @@ Default quit message ('%v' will be replaced by WeeChat version in string)@* Type: string (any string), default value: 'WeeChat %v'@* @item irc_away_check Interval between two checks for away (in minutes, 0 = never check)@* -Type: integer (values: between 0 and 2147483647), default value: 1@* +Type: integer (values: between 0 and 2147483647), default value: 0@* @item irc_lag_check Interval between two checks for lag (in seconds)@* Type: integer (values: between 30 and 2147483647), default value: 60@* @@ -693,7 +694,7 @@ Switch to buffer by number@* @* @end table -@node WeeChat commands, , Key bindings, Usage +@node WeeChat commands, FIFO pipe, Key bindings, Usage @section WeeChat commands WeeChat internal commands:@* @@ -818,6 +819,13 @@ toggle away status@* -all: toggle away status on all connected servers@* message: message for away (if no message is given, away status is removed)@* @* +@item ban [channel] [nickname [nickname ...]] +@* +bans nicks or hosts@* +@* +channel: channel for ban@* +nickname: user or host to ban@* +@* @item ctcp nickname type @* send a ctcp message@* @@ -833,6 +841,10 @@ action: 'send' (file) or 'chat' or 'close' (chat)@* nickname: nickname to send file or chat@* file: filename (on local host)@* @* +@item dehalfop nickname [nickname] +@* +removes half channel operator status from nickname(s)@* +@* @item deop nickname [nickname] @* removes channel operator status from nickname(s)@* @@ -845,6 +857,10 @@ removes voice from nickname(s)@* @* shutdown the server@* @* +@item halfop nickname [nickname] +@* +gives half channel operator status to nickname(s)@* +@* @item info [target] @* get information describing the server@* @@ -879,6 +895,14 @@ channel: channel where user is@* nickname: nickname to kick@* comment: comment for kick@* @* +@item kickban [channel] nickname [comment] +@* +kicks and bans a nick from a channel@* +@* +channel: channel where user is@* +nickname: nickname to kick and ban@* +comment: comment for kick@* +@* @item kill nickname comment @* close client-server connection@* @@ -1089,6 +1113,13 @@ find the route to specific server@* @* target: server@* @* +@item unban [channel] nickname [nickname ...] +@* +unbans nicks or hosts@* +@* +channel: channel for unban@* +nickname: user or host to unban@* +@* @item userhost nickname [nickname ...] @* return a list of information about nicknames@* @@ -1143,6 +1174,49 @@ target: reply should match this mask@* @end table +@node FIFO pipe, , WeeChat commands, Usage +@section FIFO pipe + +You can remote control WeeChat, by sending commands or text to a FIFO pipe +(you have to enable option "irc_fifo_pipe", it is disabled by default).@* +The FIFO pipe is located in ~/.weechat/ and is called "weechat_fifo_xxxxx" +(where xxxxx is the process ID (PID) of running WeeChat).@* +So if many WeeChat are running, you have many FIFO pipe, one for each session.@* +@* +The syntax for the FIFO pipe commands/text is:@* +@command{server,channel *text or command here}@* +where server and channel are optional, but if channel is here, server should be too.@* +@* +Some examples: +@table @asis +@item @bullet{} change your nick on freenode to "mynick|out": +@* +@command{echo "freenode */nick mynick|out" >~/.weechat/weechat_fifo_12345} +@item @bullet{} display text on #weechat channel: +@* +@command{echo "freenode,#weechat *hello everybody!" >~/.weechat/weechat_fifo_12345} +@item @bullet{} display text on current channel (buffer displayed by WeeChat): +@* +@command{echo "*hello!" >~/.weechat/weechat_fifo_12345}@* +@* +@b{Warning:} this is dangerous and you should not do that except if you know what you do! +@item @bullet{} send 2 commands to unload/reload Perl scripts (you have to separate them with \n): +@command{echo -e "freenode */perl unload\nfreenode */perl autoload" >~/.weechat/weechat_fifo_12345} +@end table +@* +You can write a script to send command to all running WeeChat at same time, for example:@* +@verbatim + #!/bin/sh + if [ $# -eq 1 ]; then + for fifo in $(/bin/ls ~/.weechat/weechat_fifo_* 2>/dev/null); do + echo -e "$1" >$fifo + done + fi +@end verbatim +@* +If the script is called "auto_weechat_command", you can run it with:@* +@command{./auto_weechat_command "freenode,#weechat *hello"} + @c ******************************* Extensions ********************************* diff --git a/doc/weechat_doc_es.texi b/doc/weechat_doc_es.texi index 1069ab7a3..69ac58d2a 100644 --- a/doc/weechat_doc_es.texi +++ b/doc/weechat_doc_es.texi @@ -35,7 +35,7 @@ @title WeeChat - Gui@'on de usuario. @subtitle Cliente IRC r@'apido, peque@~no y extensible -@subtitle Documentaci@'on para WeeChat v0.1.1-cvs - 11 de marzo de 2005 +@subtitle Documentaci@'on para WeeChat v0.1.1 - 20 de marzo de 2005 @image{weechat_image} @@ -210,6 +210,7 @@ Luego, lee las instructiones para Paquetes de fuentes - @xref{Paquetes de fuente * Ficheros de configuracion:: * Atajos de teclado:: * Comandos WeeChat:: +* FIFO pipe:: @end menu @node Iniciar WeeChat, Ficheros de configuracion, Uso, Uso @@ -486,7 +487,7 @@ Mensaje de fin por defecto ('%v' ser@'a reemplazado por la versi@'on de WeeChat Typo: cadena (cualquier cadena), valor por defecto: 'WeeChat %v'@* @item irc_away_check Intervalo entre dos comprobaciones de ausencia (en minutos, 0 = no comprobar)@* -Typo: entero (valores: entre 0 y 2147483647), valor por defecto: 1@* +Typo: entero (valores: entre 0 y 2147483647), valor por defecto: 0@* @item irc_lag_check Intervalo entre dos medidas de lag (en segundos)@* Typo: entero (valores: entre 30 y 2147483647), valor por defecto: 60@* @@ -496,6 +497,9 @@ Typo: entero (valores: entre 0 y 2147483647), valor por defecto: 1@* @item irc_lag_disconnect Desconexi@'on tras un lag importante (en minutos, 0 = no desconectar nunca)@* Typo: entero (valores: entre 0 y 2147483647), valor por defecto: 5@* +@item irc_fifo_pipe +Create a FIFO pipe for remote control@* +Typo: booleano (valores: 'on' u 'off'), valor por defecto: 'off'@* @item dcc_auto_accept_files Aceptar autom@'aticamente los ficheros dcc entrantes@* Typo: booleano (valores: 'on' u 'off'), valor por defecto: 'off'@* @@ -693,7 +697,7 @@ Saltar a la memoria temporal con ese n@'umero@* @* @end table -@node Comandos WeeChat, , Atajos de teclado, Uso +@node Comandos WeeChat, FIFO pipe, Atajos de teclado, Uso @section Comandos WeeChat Comandos internos WeeChat:@* @@ -818,6 +822,13 @@ revertir el estado ausente@* -all: revertir el estado ausente en todos los servidores conectados@* mensaje: mensaje para el estado ausente (si no se da ningún mensaje, se elimina el estado ausente)@* @* +@item ban [canal] [usariio [usuario ...]] +@* +bans nicks or hosts@* +@* +channel: channel for ban@* +nickname: user or host to ban@* +@* @item ctcp usuario tipo @* enviar un mensaje ctcp@* @@ -833,6 +844,10 @@ acci@'on: 'send' (env@'io de archivo) @'o 'chat' (charla) @'o 'close' (cerrar ch usuario: nombre de usuario a quien enviar el archivo o la charla@* fichero: nombre del fichero (en la m@'aquina local)@* @* +@item dehalfop pseudo [pseudo] +@* +elimina el estado de media operador de canal a/a los usuario(s)@* +@* @item deop pseudo [pseudo] @* elimina el estado de operador de canal a/a los usuario(s)@* @@ -845,6 +860,10 @@ elimina la voz a/a los usuario(s)@* @* cerrar el servidor@* @* +@item halfop pseudo [pseudo] +@* +dar el estado de media operador de canal a/a los usuario(s)@* +@* @item info [target] @* obtener informaci@'on describiendo al servidor@* @@ -879,6 +898,14 @@ canal: canal en el que est@'a el usuario@* usuario: usuario a expulsar@* comentario: comentario para la expulsi@'on@* @* +@item kickban [canal] usuario [comentario] +@* +kicks and bans a nick from a channel@* +@* +channel: channel where user is@* +nickname: nickname to kick and ban@* +comment: comment for kick@* +@* @item kill usuario comentario @* cerrar la conexi@'on cliente-servidor@* @@ -1089,6 +1116,13 @@ encontrar la ruta hacia el servidor especificado@* @* target: servidor objetivo@* @* +@item unban [canal] usuario [usuario ...] +@* +unbans nicks or hosts@* +@* +channel: channel for unban@* +nickname: user or host to unban@* +@* @item userhost usuario [usuario ...] @* devuelve una lista de informaci@'on sobre usuarios@* @@ -1143,6 +1177,49 @@ destinatario: la respuesta deber@'ia concordar con esta m@'ascara@* @end table +@node FIFO pipe, , Comandos WeeChat, Uso +@section FIFO pipe + +You can remote control WeeChat, by sending commands or text to a FIFO pipe +(you have to enable option "irc_fifo_pipe", it is disabled by default).@* +The FIFO pipe is located in ~/.weechat/ and is called "weechat_fifo_xxxxx" +(where xxxxx is the process ID (PID) of running WeeChat).@* +So if many WeeChat are running, you have many FIFO pipe, one for each session.@* +@* +The syntax for the FIFO pipe commands/text is:@* +@command{server,channel *text or command here}@* +where server and channel are optional, but if channel is here, server should be too.@* +@* +Some examples: +@table @asis +@item @bullet{} change your nick on freenode to "mynick|out": +@* +@command{echo "freenode */nick mynick|out" >~/.weechat/weechat_fifo_12345} +@item @bullet{} display text on #weechat channel: +@* +@command{echo "freenode,#weechat *hello everybody!" >~/.weechat/weechat_fifo_12345} +@item @bullet{} display text on current channel (buffer displayed by WeeChat): +@* +@command{echo "*hello!" >~/.weechat/weechat_fifo_12345}@* +@* +@b{Warning:} this is dangerous and you should not do that except if you know what you do! +@item @bullet{} send 2 commands to unload/reload Perl scripts (you have to separate them with \n): +@command{echo -e "freenode */perl unload\nfreenode */perl autoload" >~/.weechat/weechat_fifo_12345} +@end table +@* +You can write a script to send command to all running WeeChat at same time, for example:@* +@verbatim + #!/bin/sh + if [ $# -eq 1 ]; then + for fifo in $(/bin/ls ~/.weechat/weechat_fifo_* 2>/dev/null); do + echo -e "$1" >$fifo + done + fi +@end verbatim +@* +If the script is called "auto_weechat_command", you can run it with:@* +@command{./auto_weechat_command "freenode,#weechat *hello"} + @c ******************************* Extensions ********************************* diff --git a/doc/weechat_doc_fr.texi b/doc/weechat_doc_fr.texi index a887ddb62..8a225a7ee 100644 --- a/doc/weechat_doc_fr.texi +++ b/doc/weechat_doc_fr.texi @@ -35,7 +35,7 @@ @title WeeChat - Guide utilisateur @subtitle Client IRC rapide, l@'eger et extensible -@subtitle Documentation pour WeeChat v0.1.1-cvs - 11 Mars 2005 +@subtitle Documentation pour WeeChat v0.1.1 - 20 Mars 2005 @image{weechat_image} @@ -209,6 +209,7 @@ Suivez alors les instructions du paquet sources - @xref{Paquet source}. * Fichier de configuration:: * Raccourcis clavier:: * Commandes WeeChat:: +* Tube FIFO:: @end menu @node Lancer WeeChat, Fichier de configuration, Utilisation, Utilisation @@ -487,7 +488,7 @@ Message de fin par d@'efaut ('%v' sera remplac@'e par la version de WeeChat dans Type: cha@^ine (toute cha@^ine), valeur par d@'efaut: 'WeeChat %v'@* @item irc_away_check Intervalle entre deux v@'erifications des absences (en minutes, 0 = ne jemais v@'erifier)@* -Type: entier (valeurs: entre 0 et 2147483647), valeur par d@'efaut: 1@* +Type: entier (valeurs: entre 0 et 2147483647), valeur par d@'efaut: 0@* @item irc_lag_check Intervalle entre deux mesures de lag (en secondes)@* Type: entier (valeurs: entre 30 et 2147483647), valeur par d@'efaut: 60@* @@ -497,6 +498,9 @@ Type: entier (valeurs: entre 0 et 2147483647), valeur par d@'efaut: 1@* @item irc_lag_disconnect D@'econnexion apr@`es un lag important (en minutes, 0 = ne jamais se d@'econnecter)@* Type: entier (valeurs: entre 0 et 2147483647), valeur par d@'efaut: 5@* +@item irc_fifo_pipe +Cr@'eer un tube FIFO pour le contr@^ole @`a distance@* +Type: bool@'een (valeurs: 'on' ou 'off'), valeur par d@'efaut: 'off'@* @item dcc_auto_accept_files Accepte automatiquement les fichiers dcc entrants@* Type: bool@'een (valeurs: 'on' ou 'off'), valeur par d@'efaut: 'off'@* @@ -693,7 +697,7 @@ Sauter au tampon avec ce num@'ero@* @* @end table -@node Commandes WeeChat, , Raccourcis clavier, Utilisation +@node Commandes WeeChat, Tube FIFO, Raccourcis clavier, Utilisation @section Commandes WeeChat Commandes internes WeeChat :@* @@ -710,7 +714,7 @@ param@`etres: param@`etres pour la commande@* @* @item buffer [action | nombre] @* -g@`ere les buffers@* +gestion des buffers@* @* action: action @`a effectuer:@* move: d@'eplacer le tampon dans la liste (peut @^etre relatif, par exemple -1)@* @@ -818,6 +822,13 @@ basculer le statut absent@* -all: basculer le statut absent sur tous les serveurs connect@'es@* message: message pour l'absence (si pas de message donn@'e, le statut d'absence est supprim@'e)@* @* +@item ban [canal] [pseudo [pseudo ...]] +@* +bannit des pseudos ou masques@* +@* +canal: nom du canal pour le bannissement@* +pseudo: pseudo ou masque pour le bannissement@* +@* @item ctcp pseudo type @* envoyer un message ctcp@* @@ -833,6 +844,10 @@ action: 'send' (envoi de fichier) ou 'chat' (discussion) ou 'close' (fermeture d pseudo: pseudo pour envoyer le fichier ou discuter@* fichier: nom du fichier (sur la machine locale)@* @* +@item dehalfop pseudo [pseudo] +@* +retire le statut de demi-op@'erateur du canal @`a/aux nick(s)@* +@* @item deop pseudo [pseudo] @* retire le statut d'op@'erateur du canal @`a/aux nick(s)@* @@ -845,6 +860,10 @@ retire la voix du/des pseudo(s)@* @* arr@^eter le serveur@* @* +@item halfop pseudo [pseudo] +@* +donner le statut de demi-op@'erateur @`a un/des utilisateur(s)@* +@* @item info [cible] @* voir les informations d@'ecrivant le serveur@* @@ -879,6 +898,14 @@ canal: canal o@`u l'utilisateur se trouve@* pseudo: utilisateur @`a @'eliminer@* commentaire: commentaire pour l'@'elimination@* @* +@item kickban [canal] pseudo [commentaire] +@* +retirer par la force un utilisateur d'un canal et le bannir@* +@* +canal: canal o@`u l'utilisateur se trouve@* +pseudo: utilisateur @`a @'eliminer et bannir@* +commentaire: commentaire pour l'@'elimination@* +@* @item kill pseudo commentaire @* fermer la connexion client-serveur@* @@ -1021,7 +1048,7 @@ donn@'ees: donn@'ees brutes @`a envoyer@* @* @item rehash @* -demander au serveur de recharger son fichier de config@* +demander au serveur de recharger son fichier de configuration@* @* @item restart @* @@ -1089,6 +1116,13 @@ trouver le chemin jusqu'@`a un serveur sp@'ecifique@* @* cible: serveur@* @* +@item unban [canal] pseudo [pseudo ...] +@* +supprime le bannissement sur des pseudos ou masques@* +@* +canal: nom du canal pour supprimer le bannissement@* +pseudo: pseudo ou masque pour supprimer le bannissement@* +@* @item userhost pseudo [pseudo ...] @* retourne une liste d'informations sur des utilisateurs@* @@ -1143,6 +1177,50 @@ cible: la r@'eponse doit correspondre @`a ce masque@* @end table +@node Tube FIFO, , Commandes WeeChat, Utilisation +@section Tube FIFO + +Vous pouvez contr@^oler WeeChat @`a distance, en envoyant des commandes ou du +texte dans un tube FIFO (l'option "irc_fifo_pipe" doit @^etre activ@'ee, elle +est d@'esactiv@'ee par d@'efaut).@* +Le tube FIFO est dans le r@'epertoire ~/.weechat/ et s'appelle "weechat_fifo_xxxxx" +(o@`u xxxxx est l'ID du processus (PID) du WeeChat qui tourne).@* +Donc si plusieurs WeeChat tournent, vous avez plusieurs tubes FIFO, un pour +chaque session.@* +@* +La syntaxe pour envoyer des commandes ou du texte dans le tube FIFO est la suivante :@* +@command{serveur,canal *texte ou commande ici}@* +o@`u le serveur et le canal sont facultatifs, mais si le canal est l@`a, le +serveur doit l'@^etre aussi.@* +@* +Quelques exemples : +@table @asis +@item @bullet{} changement du pseudo sur freenode en "pseudo|absent": +@command{echo "freenode */nick pseudo|absent" >~/.weechat/weechat_fifo_12345} +@item @bullet{} affichage de texte sur le canal #weechat : +@command{echo "freenode,#weechat *bonjour tout le monde !" >~/.weechat/weechat_fifo_12345} +@item @bullet{} affichage de texte sur le canal courant (le tampon affich@'e par WeeChat): +@command{echo "*bonjour !" >~/.weechat/weechat_fifo_12345}@* +@* +@b{Attention :} ceci est dangereux et vous ne devriez pas le faire sauf si vous savez ce que vous faites ! +@item @bullet{} envoyer deux commandes pour décharger/recharger les scripts Perl (vous devez les séparer par \n): +@command{echo -e "freenode */perl unload\nfreenode */perl autoload" >~/.weechat/weechat_fifo_12345} +@end table +@* +Vous pouvez @'ecrire un script qui envoie les commandes @`a tous les WeeChat qui +tournent en m@^eme temps, par exemple :@* +@verbatim + #!/bin/sh + if [ $# -eq 1 ]; then + for fifo in $(/bin/ls ~/.weechat/weechat_fifo_* 2>/dev/null); do + echo -e "$1" >$fifo + done + fi +@end verbatim +@* +Si le script s'appelle "auto_weechat_command", vous pouvez le lancer ainsi :@* +@command{./auto_weechat_command "freenode,#weechat *bonjour"} + @c ******************************* Extensions ********************************* diff --git a/doc/weechat_doc_pt.texi b/doc/weechat_doc_pt.texi index 186474291..e22710946 100644 --- a/doc/weechat_doc_pt.texi +++ b/doc/weechat_doc_pt.texi @@ -35,7 +35,7 @@ @title WeeChat - Guia do Utilizador @subtitle Cliente de IRC rapido, leve e extencivel -@subtitle Documenta@,{c}@~ao do WeeChat v0.1.1-cvs - 11 de Mar@,{c}o de 2005 +@subtitle Documenta@,{c}@~ao do WeeChat v0.1.1 - 20 de Mar@,{c}o de 2005 @image{weechat_image} @@ -206,6 +206,7 @@ Segue agora as instru@,{c}@~oes para compilar o c@'odigo fonte - @xref{Codigo Fo * Invocar o WeeChat:: * Recursos de teclado:: * Comandos do WeeChat:: +* FIFO pipe:: @end menu @node Invocar o WeeChat, Recursos de teclado, Utilizacao, Utilizacao @@ -309,11 +310,54 @@ Comute ao amortecedor pelo n@'umero@* @* @end table -@node Comandos do WeeChat, , Recursos de teclado, Utilizacao +@node Comandos do WeeChat, FIFO pipe, Recursos de teclado, Utilizacao @section Comandos do WeeChat N@~AO ESCRITO ! +@node FIFO pipe, , Comandos do WeeChat, Utilizacao +@section FIFO pipe + +You can remote control WeeChat, by sending commands or text to a FIFO pipe +(you have to enable option "irc_fifo_pipe", it is disabled by default).@* +The FIFO pipe is located in ~/.weechat/ and is called "weechat_fifo_xxxxx" +(where xxxxx is the process ID (PID) of running WeeChat).@* +So if many WeeChat are running, you have many FIFO pipe, one for each session.@* +@* +The syntax for the FIFO pipe commands/text is:@* +@command{server,channel *text or command here}@* +where server and channel are optional, but if channel is here, server should be too.@* +@* +Some examples: +@table @asis +@item @bullet{} change your nick on freenode to "mynick|out": +@* +@command{echo "freenode */nick mynick|out" >~/.weechat/weechat_fifo_12345} +@item @bullet{} display text on #weechat channel: +@* +@command{echo "freenode,#weechat *hello everybody!" >~/.weechat/weechat_fifo_12345} +@item @bullet{} display text on current channel (buffer displayed by WeeChat): +@* +@command{echo "*hello!" >~/.weechat/weechat_fifo_12345}@* +@* +@b{Warning:} this is dangerous and you should not do that except if you know what you do! +@item @bullet{} send 2 commands to unload/reload Perl scripts (you have to separate them with \n): +@command{echo -e "freenode */perl unload\nfreenode */perl autoload" >~/.weechat/weechat_fifo_12345} +@end table +@* +You can write a script to send command to all running WeeChat at same time, for example:@* +@verbatim + #!/bin/sh + if [ $# -eq 1 ]; then + for fifo in $(/bin/ls ~/.weechat/weechat_fifo_* 2>/dev/null); do + echo -e "$1" >$fifo + done + fi +@end verbatim +@* +If the script is called "auto_weechat_command", you can run it with:@* +@command{./auto_weechat_command "freenode,#weechat *hello"} + @c ******************************* Extencoes ********************************* diff --git a/doc/weechat_image.pdf b/doc/weechat_image.pdf index 16ca5c6b2..77ba2cca4 100644 Binary files a/doc/weechat_image.pdf and b/doc/weechat_image.pdf differ diff --git a/po/es.po b/po/es.po index e5b53acc6..dca0d67f5 100644 --- a/po/es.po +++ b/po/es.po @@ -5,10 +5,10 @@ # msgid "" msgstr "" -"Project-Id-Version: WeeChat 0.1.1-cvs\n" +"Project-Id-Version: WeeChat 0.1.1\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2005-03-16 22:36+0100\n" -"PO-Revision-Date: 2005-03-16 22:39+0100\n" +"POT-Creation-Date: 2005-03-20 08:00+0100\n" +"PO-Revision-Date: 2005-03-20 08:00+0100\n" "Last-Translator: Roberto González Cardenete \n" "Language-Team: weechat-dev \n" "MIME-Version: 1.0\n" @@ -159,7 +159,7 @@ msgstr "" #: src/irc/irc-commands.c:43 msgid "bans nicks or hosts" -msgstr "" +msgstr "banea usuarios o máquinas" #: src/irc/irc-commands.c:44 msgid "[channel] [nickname [nickname ...]]" @@ -170,6 +170,8 @@ msgid "" "channel: channel for ban\n" "nickname: user or host to ban" msgstr "" +"canal: canal en el que banear\n" +"usuario: nombre de usuario o máquina a banear" #: src/irc/irc-commands.c:47 msgid "send a ctcp message" @@ -308,7 +310,7 @@ msgstr "" #: src/irc/irc-commands.c:93 msgid "kicks and bans a nick from a channel" -msgstr "" +msgstr "expulsa y banea a un usuario de un canal" #: src/irc/irc-commands.c:95 msgid "" @@ -316,6 +318,9 @@ msgid "" "nickname: nickname to kick and ban\n" "comment: comment for kick" msgstr "" +"canal: canal donde está el usuario\n" +"usuario: nombre de usuario a expulsar y banear\n" +"comentario: comentario para la expulsión" #: src/irc/irc-commands.c:97 msgid "close client-server connection" @@ -761,7 +766,7 @@ msgstr "encontrar la ruta hacia el servidor especificado" #: src/irc/irc-commands.c:235 msgid "unbans nicks or hosts" -msgstr "" +msgstr "desbanea usuarios o máquinas" #: src/irc/irc-commands.c:236 msgid "[channel] nickname [nickname ...]" @@ -772,6 +777,8 @@ msgid "" "channel: channel for unban\n" "nickname: user or host to unban" msgstr "" +"canal: canal en el que desbanear (quitar la prohibición)\n" +"usuario: usuario o máquina a desbanear" #: src/irc/irc-commands.c:239 msgid "return a list of information about nicknames" @@ -1023,11 +1030,11 @@ msgstr "fin de la lista /names" #: src/irc/irc-commands.c:332 msgid "banlist" -msgstr "" +msgstr "lista de baneos" #: src/irc/irc-commands.c:333 msgid "end of banlist" -msgstr "" +msgstr "fin de la lista de baneos" #: src/irc/irc-commands.c:334 msgid "end of /whowas list" @@ -1120,7 +1127,7 @@ msgstr "colisi #: src/irc/irc-commands.c:386 msgid "not authorized to change nickname" -msgstr "" +msgstr "no autorizado a cambiar el nombre de usuario" #: src/irc/irc-commands.c:388 msgid "user not in channel" @@ -1310,7 +1317,7 @@ msgstr "%s, compilado en %s %s\n" #: src/irc/irc-recv.c:182 msgid "You have been invited to " -msgstr "" +msgstr "Has sido invitado a " #: src/irc/irc-recv.c:185 msgid "by" @@ -1494,7 +1501,7 @@ msgstr "En %s: * %s %s" #: src/irc/irc-recv.c:1168 #, c-format msgid "Received a CTCP SOUND \"%s\" from " -msgstr "" +msgstr "Recibido un sonido CTCP \\\"%s\\\" de " #: src/irc/irc-recv.c:1189 #, c-format @@ -1696,7 +1703,7 @@ msgstr "normal" #: src/irc/irc-recv.c:3334 msgid "banned by" -msgstr "" +msgstr "baneado por" #: src/irc/irc-recv.c:3423 #, c-format @@ -2105,7 +2112,7 @@ msgstr "nombre_del_servidor: nombre del servidor del que desconectarse" #: src/common/command.c:68 msgid "print debug messages" -msgstr "" +msgstr "imprime mensajes de depuración" #: src/common/command.c:69 msgid "dump" @@ -2116,6 +2123,8 @@ msgid "" "dump: save memory dump in WeeChat log file (same dump is written when " "WeeChat crashes)" msgstr "" +"volcado: almacena un volcado de memoria en el archivo de registro de Weechat " +"(se escribe el mismo volcado cuando Weechat se cuelga)" #: src/common/command.c:72 msgid "display help about commands" @@ -2618,44 +2627,45 @@ msgstr "Ventanas abiertas:\n" #, c-format msgid "%s unable to create FIFO pipe for remote control (%s)\n" msgstr "" +"%s no ha sido posible crear la tubería FIFO para el control remoto (%s)\n" #: src/common/fifo.c:82 src/common/fifo.c:84 #, c-format msgid "%s unable to open FIFO pipe (%s) for reading\n" -msgstr "" +msgstr "%s no ha sido posible abrir la tubería FIFO (%s) para leer\n" #: src/common/fifo.c:89 msgid "FIFO pipe is open\n" -msgstr "" +msgstr "la tubería FIFO está abierta\n" #: src/common/fifo.c:121 #, c-format msgid "%s invalid buffer for displaying text via FIFO pipe\n" -msgstr "" +msgstr "%s búfer inválido para mostrar texto mediante la tubería FIFO\n" #: src/common/fifo.c:132 src/common/fifo.c:178 #, c-format msgid "%s invalid text received on FIFO pipe\n" -msgstr "" +msgstr "%s texto inválido recibido en la tubería FIFO\n" #: src/common/fifo.c:154 #, c-format msgid "%s server \"%s\" not found (FIFO pipe data)\n" -msgstr "" +msgstr "%s servidor \"%s\" no encontrado (datos de la tubería FIFO)\n" #: src/common/fifo.c:166 #, c-format msgid "%s channel \"%s\" not found (FIFO pipe data)\n" -msgstr "" +msgstr "%s canal \"%s\" no encontrado (datos de la tubería FIFO)\n" #: src/common/fifo.c:265 src/common/fifo.c:267 #, c-format msgid "%s error reading FIFO pipe, closing it\n" -msgstr "" +msgstr "%s error al leer la tubería FIFO, cerrándola\n" #: src/common/fifo.c:309 msgid "FIFO pipe is closed\n" -msgstr "" +msgstr "la tubería FIFO está cerrada\n" #: src/common/hotlist.c:102 #, c-format @@ -3336,7 +3346,7 @@ msgstr "" #: src/common/weeconfig.c:528 src/common/weeconfig.c:529 msgid "create a FIFO pipe for remote control" -msgstr "" +msgstr "crea una tubería FIFO para control remoto" #: src/common/weeconfig.c:548 msgid "automatically accept dcc files" diff --git a/po/fr.po b/po/fr.po index 74aafa522..d500fbbd5 100644 --- a/po/fr.po +++ b/po/fr.po @@ -5,10 +5,10 @@ # msgid "" msgstr "" -"Project-Id-Version: WeeChat 0.1.1-cvs\n" +"Project-Id-Version: WeeChat 0.1.1\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2005-03-16 22:36+0100\n" -"PO-Revision-Date: 2005-03-16 22:37+0100\n" +"POT-Creation-Date: 2005-03-20 08:00+0100\n" +"PO-Revision-Date: 2005-03-20 08:00+0100\n" "Last-Translator: FlashCode \n" "Language-Team: weechat-dev \n" "MIME-Version: 1.0\n" diff --git a/po/weechat.pot b/po/weechat.pot index 5c5f36c33..19878a12c 100644 --- a/po/weechat.pot +++ b/po/weechat.pot @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2005-03-16 22:36+0100\n" +"POT-Creation-Date: 2005-03-20 08:00+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/weechat.spec b/weechat.spec index 87c11239c..a88d9888d 100644 --- a/weechat.spec +++ b/weechat.spec @@ -1,5 +1,5 @@ %define name weechat -%define version 0.1.0 +%define version 0.1.1 %define release 1 Name: %{name} @@ -41,6 +41,8 @@ rm -rf $RPM_BUILD_ROOT /usr/local/bin/weechat-curses %changelog +* Sat Mar 20 2005 FlashCode 0.1.1-1 +- Released version 0.1.1 * Sat Feb 12 2005 FlashCode 0.1.0-1 - Released version 0.1.0 * Sat Jan 01 2005 FlashCode 0.0.9-1 diff --git a/weechat/ChangeLog b/weechat/ChangeLog index c867edc5c..ee130dbb6 100644 --- a/weechat/ChangeLog +++ b/weechat/ChangeLog @@ -1,10 +1,10 @@ WeeChat - Wee Enhanced Environment for Chat =========================================== -ChangeLog - 2005-03-16 +ChangeLog - 2005-03-20 -Version 0.1.1 (under dev!): +Version 0.1.1 (2005-03-20): * added nicks count for channel buffers * added FIFO pipe for remote control * added crash dump when WeeChat receives SIGSEGV (Segmentation fault) diff --git a/weechat/NEWS b/weechat/NEWS index 44753f562..0b8562ca7 100644 --- a/weechat/NEWS +++ b/weechat/NEWS @@ -1,6 +1,10 @@ WeeChat - Wee Enhanced Environment for Chat =========================================== +* FlashCode, 2005-03-20 + + WeeChat 0.1.1 released. + * FlashCode, 2005-02-12 WeeChat 0.1.0 released. diff --git a/weechat/TODO b/weechat/TODO index 3c25767e6..1435ae0ae 100644 --- a/weechat/TODO +++ b/weechat/TODO @@ -1,7 +1,7 @@ WeeChat - Wee Enhanced Environment for Chat =========================================== -TODO - 2005-02-27 +TODO - 2005-03-20 Legend: # done diff --git a/weechat/configure.in b/weechat/configure.in index 1e6e1c95c..b639c8a8d 100644 --- a/weechat/configure.in +++ b/weechat/configure.in @@ -19,10 +19,10 @@ # Process this file with autoconf to produce a configure script. AC_PREREQ(2.56) -AC_INIT(WeeChat, 0.1.1-cvs, flashcode@flashtux.org) +AC_INIT(WeeChat, 0.1.1, flashcode@flashtux.org) AC_CONFIG_SRCDIR([src/common/weechat.c]) AM_CONFIG_HEADER(config.h) -AM_INIT_AUTOMAKE([weechat], [0.1.1-cvs]) +AM_INIT_AUTOMAKE([weechat], [0.1.1]) # Checks for programs. AC_PROG_CC diff --git a/weechat/debian/changelog b/weechat/debian/changelog index 27a67c536..47315e457 100644 --- a/weechat/debian/changelog +++ b/weechat/debian/changelog @@ -1,3 +1,9 @@ +weechat (0.1.1-1) unstable; urgency=low + + * WeeChat version 0.1.1, see ChangeLog for detail. + + -- Sebastien Helleu Sat, 20 Mar 2005 08:00:00 +0200 + weechat (0.1.0-1) unstable; urgency=low * WeeChat version 0.1.0, see ChangeLog for detail. diff --git a/weechat/debian/copyright b/weechat/debian/copyright index 442914d83..df807f42b 100644 --- a/weechat/debian/copyright +++ b/weechat/debian/copyright @@ -1,5 +1,5 @@ This package was debianized by FlashCode on -Sat, 12 Jan 2005 12:00:00 +0200. +Sat, 20 Mar 2005 08:00:00 +0200. It was downloaded from http://weechat.flashtux.org/download diff --git a/weechat/doc/weechat_doc_en.texi b/weechat/doc/weechat_doc_en.texi index 2b0a63a1c..e77362408 100644 --- a/weechat/doc/weechat_doc_en.texi +++ b/weechat/doc/weechat_doc_en.texi @@ -35,7 +35,7 @@ @title WeeChat - User guide @subtitle Fast, light and extensible IRC client -@subtitle Documentation for WeeChat v0.1.1-cvs - March, 11 2005 +@subtitle Documentation for WeeChat v0.1.1 - March, 20 2005 @image{weechat_image} @@ -209,6 +209,7 @@ Then follow instructions for source package - @xref{Source package}. * Config file:: * Key bindings:: * WeeChat commands:: +* FIFO pipe:: @end menu @node Run WeeChat, Config file, Usage, Usage @@ -487,7 +488,7 @@ Default quit message ('%v' will be replaced by WeeChat version in string)@* Type: string (any string), default value: 'WeeChat %v'@* @item irc_away_check Interval between two checks for away (in minutes, 0 = never check)@* -Type: integer (values: between 0 and 2147483647), default value: 1@* +Type: integer (values: between 0 and 2147483647), default value: 0@* @item irc_lag_check Interval between two checks for lag (in seconds)@* Type: integer (values: between 30 and 2147483647), default value: 60@* @@ -693,7 +694,7 @@ Switch to buffer by number@* @* @end table -@node WeeChat commands, , Key bindings, Usage +@node WeeChat commands, FIFO pipe, Key bindings, Usage @section WeeChat commands WeeChat internal commands:@* @@ -818,6 +819,13 @@ toggle away status@* -all: toggle away status on all connected servers@* message: message for away (if no message is given, away status is removed)@* @* +@item ban [channel] [nickname [nickname ...]] +@* +bans nicks or hosts@* +@* +channel: channel for ban@* +nickname: user or host to ban@* +@* @item ctcp nickname type @* send a ctcp message@* @@ -833,6 +841,10 @@ action: 'send' (file) or 'chat' or 'close' (chat)@* nickname: nickname to send file or chat@* file: filename (on local host)@* @* +@item dehalfop nickname [nickname] +@* +removes half channel operator status from nickname(s)@* +@* @item deop nickname [nickname] @* removes channel operator status from nickname(s)@* @@ -845,6 +857,10 @@ removes voice from nickname(s)@* @* shutdown the server@* @* +@item halfop nickname [nickname] +@* +gives half channel operator status to nickname(s)@* +@* @item info [target] @* get information describing the server@* @@ -879,6 +895,14 @@ channel: channel where user is@* nickname: nickname to kick@* comment: comment for kick@* @* +@item kickban [channel] nickname [comment] +@* +kicks and bans a nick from a channel@* +@* +channel: channel where user is@* +nickname: nickname to kick and ban@* +comment: comment for kick@* +@* @item kill nickname comment @* close client-server connection@* @@ -1089,6 +1113,13 @@ find the route to specific server@* @* target: server@* @* +@item unban [channel] nickname [nickname ...] +@* +unbans nicks or hosts@* +@* +channel: channel for unban@* +nickname: user or host to unban@* +@* @item userhost nickname [nickname ...] @* return a list of information about nicknames@* @@ -1143,6 +1174,49 @@ target: reply should match this mask@* @end table +@node FIFO pipe, , WeeChat commands, Usage +@section FIFO pipe + +You can remote control WeeChat, by sending commands or text to a FIFO pipe +(you have to enable option "irc_fifo_pipe", it is disabled by default).@* +The FIFO pipe is located in ~/.weechat/ and is called "weechat_fifo_xxxxx" +(where xxxxx is the process ID (PID) of running WeeChat).@* +So if many WeeChat are running, you have many FIFO pipe, one for each session.@* +@* +The syntax for the FIFO pipe commands/text is:@* +@command{server,channel *text or command here}@* +where server and channel are optional, but if channel is here, server should be too.@* +@* +Some examples: +@table @asis +@item @bullet{} change your nick on freenode to "mynick|out": +@* +@command{echo "freenode */nick mynick|out" >~/.weechat/weechat_fifo_12345} +@item @bullet{} display text on #weechat channel: +@* +@command{echo "freenode,#weechat *hello everybody!" >~/.weechat/weechat_fifo_12345} +@item @bullet{} display text on current channel (buffer displayed by WeeChat): +@* +@command{echo "*hello!" >~/.weechat/weechat_fifo_12345}@* +@* +@b{Warning:} this is dangerous and you should not do that except if you know what you do! +@item @bullet{} send 2 commands to unload/reload Perl scripts (you have to separate them with \n): +@command{echo -e "freenode */perl unload\nfreenode */perl autoload" >~/.weechat/weechat_fifo_12345} +@end table +@* +You can write a script to send command to all running WeeChat at same time, for example:@* +@verbatim + #!/bin/sh + if [ $# -eq 1 ]; then + for fifo in $(/bin/ls ~/.weechat/weechat_fifo_* 2>/dev/null); do + echo -e "$1" >$fifo + done + fi +@end verbatim +@* +If the script is called "auto_weechat_command", you can run it with:@* +@command{./auto_weechat_command "freenode,#weechat *hello"} + @c ******************************* Extensions ********************************* diff --git a/weechat/doc/weechat_doc_es.texi b/weechat/doc/weechat_doc_es.texi index 1069ab7a3..69ac58d2a 100644 --- a/weechat/doc/weechat_doc_es.texi +++ b/weechat/doc/weechat_doc_es.texi @@ -35,7 +35,7 @@ @title WeeChat - Gui@'on de usuario. @subtitle Cliente IRC r@'apido, peque@~no y extensible -@subtitle Documentaci@'on para WeeChat v0.1.1-cvs - 11 de marzo de 2005 +@subtitle Documentaci@'on para WeeChat v0.1.1 - 20 de marzo de 2005 @image{weechat_image} @@ -210,6 +210,7 @@ Luego, lee las instructiones para Paquetes de fuentes - @xref{Paquetes de fuente * Ficheros de configuracion:: * Atajos de teclado:: * Comandos WeeChat:: +* FIFO pipe:: @end menu @node Iniciar WeeChat, Ficheros de configuracion, Uso, Uso @@ -486,7 +487,7 @@ Mensaje de fin por defecto ('%v' ser@'a reemplazado por la versi@'on de WeeChat Typo: cadena (cualquier cadena), valor por defecto: 'WeeChat %v'@* @item irc_away_check Intervalo entre dos comprobaciones de ausencia (en minutos, 0 = no comprobar)@* -Typo: entero (valores: entre 0 y 2147483647), valor por defecto: 1@* +Typo: entero (valores: entre 0 y 2147483647), valor por defecto: 0@* @item irc_lag_check Intervalo entre dos medidas de lag (en segundos)@* Typo: entero (valores: entre 30 y 2147483647), valor por defecto: 60@* @@ -496,6 +497,9 @@ Typo: entero (valores: entre 0 y 2147483647), valor por defecto: 1@* @item irc_lag_disconnect Desconexi@'on tras un lag importante (en minutos, 0 = no desconectar nunca)@* Typo: entero (valores: entre 0 y 2147483647), valor por defecto: 5@* +@item irc_fifo_pipe +Create a FIFO pipe for remote control@* +Typo: booleano (valores: 'on' u 'off'), valor por defecto: 'off'@* @item dcc_auto_accept_files Aceptar autom@'aticamente los ficheros dcc entrantes@* Typo: booleano (valores: 'on' u 'off'), valor por defecto: 'off'@* @@ -693,7 +697,7 @@ Saltar a la memoria temporal con ese n@'umero@* @* @end table -@node Comandos WeeChat, , Atajos de teclado, Uso +@node Comandos WeeChat, FIFO pipe, Atajos de teclado, Uso @section Comandos WeeChat Comandos internos WeeChat:@* @@ -818,6 +822,13 @@ revertir el estado ausente@* -all: revertir el estado ausente en todos los servidores conectados@* mensaje: mensaje para el estado ausente (si no se da ningún mensaje, se elimina el estado ausente)@* @* +@item ban [canal] [usariio [usuario ...]] +@* +bans nicks or hosts@* +@* +channel: channel for ban@* +nickname: user or host to ban@* +@* @item ctcp usuario tipo @* enviar un mensaje ctcp@* @@ -833,6 +844,10 @@ acci@'on: 'send' (env@'io de archivo) @'o 'chat' (charla) @'o 'close' (cerrar ch usuario: nombre de usuario a quien enviar el archivo o la charla@* fichero: nombre del fichero (en la m@'aquina local)@* @* +@item dehalfop pseudo [pseudo] +@* +elimina el estado de media operador de canal a/a los usuario(s)@* +@* @item deop pseudo [pseudo] @* elimina el estado de operador de canal a/a los usuario(s)@* @@ -845,6 +860,10 @@ elimina la voz a/a los usuario(s)@* @* cerrar el servidor@* @* +@item halfop pseudo [pseudo] +@* +dar el estado de media operador de canal a/a los usuario(s)@* +@* @item info [target] @* obtener informaci@'on describiendo al servidor@* @@ -879,6 +898,14 @@ canal: canal en el que est@'a el usuario@* usuario: usuario a expulsar@* comentario: comentario para la expulsi@'on@* @* +@item kickban [canal] usuario [comentario] +@* +kicks and bans a nick from a channel@* +@* +channel: channel where user is@* +nickname: nickname to kick and ban@* +comment: comment for kick@* +@* @item kill usuario comentario @* cerrar la conexi@'on cliente-servidor@* @@ -1089,6 +1116,13 @@ encontrar la ruta hacia el servidor especificado@* @* target: servidor objetivo@* @* +@item unban [canal] usuario [usuario ...] +@* +unbans nicks or hosts@* +@* +channel: channel for unban@* +nickname: user or host to unban@* +@* @item userhost usuario [usuario ...] @* devuelve una lista de informaci@'on sobre usuarios@* @@ -1143,6 +1177,49 @@ destinatario: la respuesta deber@'ia concordar con esta m@'ascara@* @end table +@node FIFO pipe, , Comandos WeeChat, Uso +@section FIFO pipe + +You can remote control WeeChat, by sending commands or text to a FIFO pipe +(you have to enable option "irc_fifo_pipe", it is disabled by default).@* +The FIFO pipe is located in ~/.weechat/ and is called "weechat_fifo_xxxxx" +(where xxxxx is the process ID (PID) of running WeeChat).@* +So if many WeeChat are running, you have many FIFO pipe, one for each session.@* +@* +The syntax for the FIFO pipe commands/text is:@* +@command{server,channel *text or command here}@* +where server and channel are optional, but if channel is here, server should be too.@* +@* +Some examples: +@table @asis +@item @bullet{} change your nick on freenode to "mynick|out": +@* +@command{echo "freenode */nick mynick|out" >~/.weechat/weechat_fifo_12345} +@item @bullet{} display text on #weechat channel: +@* +@command{echo "freenode,#weechat *hello everybody!" >~/.weechat/weechat_fifo_12345} +@item @bullet{} display text on current channel (buffer displayed by WeeChat): +@* +@command{echo "*hello!" >~/.weechat/weechat_fifo_12345}@* +@* +@b{Warning:} this is dangerous and you should not do that except if you know what you do! +@item @bullet{} send 2 commands to unload/reload Perl scripts (you have to separate them with \n): +@command{echo -e "freenode */perl unload\nfreenode */perl autoload" >~/.weechat/weechat_fifo_12345} +@end table +@* +You can write a script to send command to all running WeeChat at same time, for example:@* +@verbatim + #!/bin/sh + if [ $# -eq 1 ]; then + for fifo in $(/bin/ls ~/.weechat/weechat_fifo_* 2>/dev/null); do + echo -e "$1" >$fifo + done + fi +@end verbatim +@* +If the script is called "auto_weechat_command", you can run it with:@* +@command{./auto_weechat_command "freenode,#weechat *hello"} + @c ******************************* Extensions ********************************* diff --git a/weechat/doc/weechat_doc_fr.texi b/weechat/doc/weechat_doc_fr.texi index a887ddb62..8a225a7ee 100644 --- a/weechat/doc/weechat_doc_fr.texi +++ b/weechat/doc/weechat_doc_fr.texi @@ -35,7 +35,7 @@ @title WeeChat - Guide utilisateur @subtitle Client IRC rapide, l@'eger et extensible -@subtitle Documentation pour WeeChat v0.1.1-cvs - 11 Mars 2005 +@subtitle Documentation pour WeeChat v0.1.1 - 20 Mars 2005 @image{weechat_image} @@ -209,6 +209,7 @@ Suivez alors les instructions du paquet sources - @xref{Paquet source}. * Fichier de configuration:: * Raccourcis clavier:: * Commandes WeeChat:: +* Tube FIFO:: @end menu @node Lancer WeeChat, Fichier de configuration, Utilisation, Utilisation @@ -487,7 +488,7 @@ Message de fin par d@'efaut ('%v' sera remplac@'e par la version de WeeChat dans Type: cha@^ine (toute cha@^ine), valeur par d@'efaut: 'WeeChat %v'@* @item irc_away_check Intervalle entre deux v@'erifications des absences (en minutes, 0 = ne jemais v@'erifier)@* -Type: entier (valeurs: entre 0 et 2147483647), valeur par d@'efaut: 1@* +Type: entier (valeurs: entre 0 et 2147483647), valeur par d@'efaut: 0@* @item irc_lag_check Intervalle entre deux mesures de lag (en secondes)@* Type: entier (valeurs: entre 30 et 2147483647), valeur par d@'efaut: 60@* @@ -497,6 +498,9 @@ Type: entier (valeurs: entre 0 et 2147483647), valeur par d@'efaut: 1@* @item irc_lag_disconnect D@'econnexion apr@`es un lag important (en minutes, 0 = ne jamais se d@'econnecter)@* Type: entier (valeurs: entre 0 et 2147483647), valeur par d@'efaut: 5@* +@item irc_fifo_pipe +Cr@'eer un tube FIFO pour le contr@^ole @`a distance@* +Type: bool@'een (valeurs: 'on' ou 'off'), valeur par d@'efaut: 'off'@* @item dcc_auto_accept_files Accepte automatiquement les fichiers dcc entrants@* Type: bool@'een (valeurs: 'on' ou 'off'), valeur par d@'efaut: 'off'@* @@ -693,7 +697,7 @@ Sauter au tampon avec ce num@'ero@* @* @end table -@node Commandes WeeChat, , Raccourcis clavier, Utilisation +@node Commandes WeeChat, Tube FIFO, Raccourcis clavier, Utilisation @section Commandes WeeChat Commandes internes WeeChat :@* @@ -710,7 +714,7 @@ param@`etres: param@`etres pour la commande@* @* @item buffer [action | nombre] @* -g@`ere les buffers@* +gestion des buffers@* @* action: action @`a effectuer:@* move: d@'eplacer le tampon dans la liste (peut @^etre relatif, par exemple -1)@* @@ -818,6 +822,13 @@ basculer le statut absent@* -all: basculer le statut absent sur tous les serveurs connect@'es@* message: message pour l'absence (si pas de message donn@'e, le statut d'absence est supprim@'e)@* @* +@item ban [canal] [pseudo [pseudo ...]] +@* +bannit des pseudos ou masques@* +@* +canal: nom du canal pour le bannissement@* +pseudo: pseudo ou masque pour le bannissement@* +@* @item ctcp pseudo type @* envoyer un message ctcp@* @@ -833,6 +844,10 @@ action: 'send' (envoi de fichier) ou 'chat' (discussion) ou 'close' (fermeture d pseudo: pseudo pour envoyer le fichier ou discuter@* fichier: nom du fichier (sur la machine locale)@* @* +@item dehalfop pseudo [pseudo] +@* +retire le statut de demi-op@'erateur du canal @`a/aux nick(s)@* +@* @item deop pseudo [pseudo] @* retire le statut d'op@'erateur du canal @`a/aux nick(s)@* @@ -845,6 +860,10 @@ retire la voix du/des pseudo(s)@* @* arr@^eter le serveur@* @* +@item halfop pseudo [pseudo] +@* +donner le statut de demi-op@'erateur @`a un/des utilisateur(s)@* +@* @item info [cible] @* voir les informations d@'ecrivant le serveur@* @@ -879,6 +898,14 @@ canal: canal o@`u l'utilisateur se trouve@* pseudo: utilisateur @`a @'eliminer@* commentaire: commentaire pour l'@'elimination@* @* +@item kickban [canal] pseudo [commentaire] +@* +retirer par la force un utilisateur d'un canal et le bannir@* +@* +canal: canal o@`u l'utilisateur se trouve@* +pseudo: utilisateur @`a @'eliminer et bannir@* +commentaire: commentaire pour l'@'elimination@* +@* @item kill pseudo commentaire @* fermer la connexion client-serveur@* @@ -1021,7 +1048,7 @@ donn@'ees: donn@'ees brutes @`a envoyer@* @* @item rehash @* -demander au serveur de recharger son fichier de config@* +demander au serveur de recharger son fichier de configuration@* @* @item restart @* @@ -1089,6 +1116,13 @@ trouver le chemin jusqu'@`a un serveur sp@'ecifique@* @* cible: serveur@* @* +@item unban [canal] pseudo [pseudo ...] +@* +supprime le bannissement sur des pseudos ou masques@* +@* +canal: nom du canal pour supprimer le bannissement@* +pseudo: pseudo ou masque pour supprimer le bannissement@* +@* @item userhost pseudo [pseudo ...] @* retourne une liste d'informations sur des utilisateurs@* @@ -1143,6 +1177,50 @@ cible: la r@'eponse doit correspondre @`a ce masque@* @end table +@node Tube FIFO, , Commandes WeeChat, Utilisation +@section Tube FIFO + +Vous pouvez contr@^oler WeeChat @`a distance, en envoyant des commandes ou du +texte dans un tube FIFO (l'option "irc_fifo_pipe" doit @^etre activ@'ee, elle +est d@'esactiv@'ee par d@'efaut).@* +Le tube FIFO est dans le r@'epertoire ~/.weechat/ et s'appelle "weechat_fifo_xxxxx" +(o@`u xxxxx est l'ID du processus (PID) du WeeChat qui tourne).@* +Donc si plusieurs WeeChat tournent, vous avez plusieurs tubes FIFO, un pour +chaque session.@* +@* +La syntaxe pour envoyer des commandes ou du texte dans le tube FIFO est la suivante :@* +@command{serveur,canal *texte ou commande ici}@* +o@`u le serveur et le canal sont facultatifs, mais si le canal est l@`a, le +serveur doit l'@^etre aussi.@* +@* +Quelques exemples : +@table @asis +@item @bullet{} changement du pseudo sur freenode en "pseudo|absent": +@command{echo "freenode */nick pseudo|absent" >~/.weechat/weechat_fifo_12345} +@item @bullet{} affichage de texte sur le canal #weechat : +@command{echo "freenode,#weechat *bonjour tout le monde !" >~/.weechat/weechat_fifo_12345} +@item @bullet{} affichage de texte sur le canal courant (le tampon affich@'e par WeeChat): +@command{echo "*bonjour !" >~/.weechat/weechat_fifo_12345}@* +@* +@b{Attention :} ceci est dangereux et vous ne devriez pas le faire sauf si vous savez ce que vous faites ! +@item @bullet{} envoyer deux commandes pour décharger/recharger les scripts Perl (vous devez les séparer par \n): +@command{echo -e "freenode */perl unload\nfreenode */perl autoload" >~/.weechat/weechat_fifo_12345} +@end table +@* +Vous pouvez @'ecrire un script qui envoie les commandes @`a tous les WeeChat qui +tournent en m@^eme temps, par exemple :@* +@verbatim + #!/bin/sh + if [ $# -eq 1 ]; then + for fifo in $(/bin/ls ~/.weechat/weechat_fifo_* 2>/dev/null); do + echo -e "$1" >$fifo + done + fi +@end verbatim +@* +Si le script s'appelle "auto_weechat_command", vous pouvez le lancer ainsi :@* +@command{./auto_weechat_command "freenode,#weechat *bonjour"} + @c ******************************* Extensions ********************************* diff --git a/weechat/doc/weechat_doc_pt.texi b/weechat/doc/weechat_doc_pt.texi index 186474291..e22710946 100644 --- a/weechat/doc/weechat_doc_pt.texi +++ b/weechat/doc/weechat_doc_pt.texi @@ -35,7 +35,7 @@ @title WeeChat - Guia do Utilizador @subtitle Cliente de IRC rapido, leve e extencivel -@subtitle Documenta@,{c}@~ao do WeeChat v0.1.1-cvs - 11 de Mar@,{c}o de 2005 +@subtitle Documenta@,{c}@~ao do WeeChat v0.1.1 - 20 de Mar@,{c}o de 2005 @image{weechat_image} @@ -206,6 +206,7 @@ Segue agora as instru@,{c}@~oes para compilar o c@'odigo fonte - @xref{Codigo Fo * Invocar o WeeChat:: * Recursos de teclado:: * Comandos do WeeChat:: +* FIFO pipe:: @end menu @node Invocar o WeeChat, Recursos de teclado, Utilizacao, Utilizacao @@ -309,11 +310,54 @@ Comute ao amortecedor pelo n@'umero@* @* @end table -@node Comandos do WeeChat, , Recursos de teclado, Utilizacao +@node Comandos do WeeChat, FIFO pipe, Recursos de teclado, Utilizacao @section Comandos do WeeChat N@~AO ESCRITO ! +@node FIFO pipe, , Comandos do WeeChat, Utilizacao +@section FIFO pipe + +You can remote control WeeChat, by sending commands or text to a FIFO pipe +(you have to enable option "irc_fifo_pipe", it is disabled by default).@* +The FIFO pipe is located in ~/.weechat/ and is called "weechat_fifo_xxxxx" +(where xxxxx is the process ID (PID) of running WeeChat).@* +So if many WeeChat are running, you have many FIFO pipe, one for each session.@* +@* +The syntax for the FIFO pipe commands/text is:@* +@command{server,channel *text or command here}@* +where server and channel are optional, but if channel is here, server should be too.@* +@* +Some examples: +@table @asis +@item @bullet{} change your nick on freenode to "mynick|out": +@* +@command{echo "freenode */nick mynick|out" >~/.weechat/weechat_fifo_12345} +@item @bullet{} display text on #weechat channel: +@* +@command{echo "freenode,#weechat *hello everybody!" >~/.weechat/weechat_fifo_12345} +@item @bullet{} display text on current channel (buffer displayed by WeeChat): +@* +@command{echo "*hello!" >~/.weechat/weechat_fifo_12345}@* +@* +@b{Warning:} this is dangerous and you should not do that except if you know what you do! +@item @bullet{} send 2 commands to unload/reload Perl scripts (you have to separate them with \n): +@command{echo -e "freenode */perl unload\nfreenode */perl autoload" >~/.weechat/weechat_fifo_12345} +@end table +@* +You can write a script to send command to all running WeeChat at same time, for example:@* +@verbatim + #!/bin/sh + if [ $# -eq 1 ]; then + for fifo in $(/bin/ls ~/.weechat/weechat_fifo_* 2>/dev/null); do + echo -e "$1" >$fifo + done + fi +@end verbatim +@* +If the script is called "auto_weechat_command", you can run it with:@* +@command{./auto_weechat_command "freenode,#weechat *hello"} + @c ******************************* Extencoes ********************************* diff --git a/weechat/doc/weechat_image.pdf b/weechat/doc/weechat_image.pdf index 16ca5c6b2..77ba2cca4 100644 Binary files a/weechat/doc/weechat_image.pdf and b/weechat/doc/weechat_image.pdf differ diff --git a/weechat/po/es.po b/weechat/po/es.po index e5b53acc6..dca0d67f5 100644 --- a/weechat/po/es.po +++ b/weechat/po/es.po @@ -5,10 +5,10 @@ # msgid "" msgstr "" -"Project-Id-Version: WeeChat 0.1.1-cvs\n" +"Project-Id-Version: WeeChat 0.1.1\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2005-03-16 22:36+0100\n" -"PO-Revision-Date: 2005-03-16 22:39+0100\n" +"POT-Creation-Date: 2005-03-20 08:00+0100\n" +"PO-Revision-Date: 2005-03-20 08:00+0100\n" "Last-Translator: Roberto González Cardenete \n" "Language-Team: weechat-dev \n" "MIME-Version: 1.0\n" @@ -159,7 +159,7 @@ msgstr "" #: src/irc/irc-commands.c:43 msgid "bans nicks or hosts" -msgstr "" +msgstr "banea usuarios o máquinas" #: src/irc/irc-commands.c:44 msgid "[channel] [nickname [nickname ...]]" @@ -170,6 +170,8 @@ msgid "" "channel: channel for ban\n" "nickname: user or host to ban" msgstr "" +"canal: canal en el que banear\n" +"usuario: nombre de usuario o máquina a banear" #: src/irc/irc-commands.c:47 msgid "send a ctcp message" @@ -308,7 +310,7 @@ msgstr "" #: src/irc/irc-commands.c:93 msgid "kicks and bans a nick from a channel" -msgstr "" +msgstr "expulsa y banea a un usuario de un canal" #: src/irc/irc-commands.c:95 msgid "" @@ -316,6 +318,9 @@ msgid "" "nickname: nickname to kick and ban\n" "comment: comment for kick" msgstr "" +"canal: canal donde está el usuario\n" +"usuario: nombre de usuario a expulsar y banear\n" +"comentario: comentario para la expulsión" #: src/irc/irc-commands.c:97 msgid "close client-server connection" @@ -761,7 +766,7 @@ msgstr "encontrar la ruta hacia el servidor especificado" #: src/irc/irc-commands.c:235 msgid "unbans nicks or hosts" -msgstr "" +msgstr "desbanea usuarios o máquinas" #: src/irc/irc-commands.c:236 msgid "[channel] nickname [nickname ...]" @@ -772,6 +777,8 @@ msgid "" "channel: channel for unban\n" "nickname: user or host to unban" msgstr "" +"canal: canal en el que desbanear (quitar la prohibición)\n" +"usuario: usuario o máquina a desbanear" #: src/irc/irc-commands.c:239 msgid "return a list of information about nicknames" @@ -1023,11 +1030,11 @@ msgstr "fin de la lista /names" #: src/irc/irc-commands.c:332 msgid "banlist" -msgstr "" +msgstr "lista de baneos" #: src/irc/irc-commands.c:333 msgid "end of banlist" -msgstr "" +msgstr "fin de la lista de baneos" #: src/irc/irc-commands.c:334 msgid "end of /whowas list" @@ -1120,7 +1127,7 @@ msgstr "colisi #: src/irc/irc-commands.c:386 msgid "not authorized to change nickname" -msgstr "" +msgstr "no autorizado a cambiar el nombre de usuario" #: src/irc/irc-commands.c:388 msgid "user not in channel" @@ -1310,7 +1317,7 @@ msgstr "%s, compilado en %s %s\n" #: src/irc/irc-recv.c:182 msgid "You have been invited to " -msgstr "" +msgstr "Has sido invitado a " #: src/irc/irc-recv.c:185 msgid "by" @@ -1494,7 +1501,7 @@ msgstr "En %s: * %s %s" #: src/irc/irc-recv.c:1168 #, c-format msgid "Received a CTCP SOUND \"%s\" from " -msgstr "" +msgstr "Recibido un sonido CTCP \\\"%s\\\" de " #: src/irc/irc-recv.c:1189 #, c-format @@ -1696,7 +1703,7 @@ msgstr "normal" #: src/irc/irc-recv.c:3334 msgid "banned by" -msgstr "" +msgstr "baneado por" #: src/irc/irc-recv.c:3423 #, c-format @@ -2105,7 +2112,7 @@ msgstr "nombre_del_servidor: nombre del servidor del que desconectarse" #: src/common/command.c:68 msgid "print debug messages" -msgstr "" +msgstr "imprime mensajes de depuración" #: src/common/command.c:69 msgid "dump" @@ -2116,6 +2123,8 @@ msgid "" "dump: save memory dump in WeeChat log file (same dump is written when " "WeeChat crashes)" msgstr "" +"volcado: almacena un volcado de memoria en el archivo de registro de Weechat " +"(se escribe el mismo volcado cuando Weechat se cuelga)" #: src/common/command.c:72 msgid "display help about commands" @@ -2618,44 +2627,45 @@ msgstr "Ventanas abiertas:\n" #, c-format msgid "%s unable to create FIFO pipe for remote control (%s)\n" msgstr "" +"%s no ha sido posible crear la tubería FIFO para el control remoto (%s)\n" #: src/common/fifo.c:82 src/common/fifo.c:84 #, c-format msgid "%s unable to open FIFO pipe (%s) for reading\n" -msgstr "" +msgstr "%s no ha sido posible abrir la tubería FIFO (%s) para leer\n" #: src/common/fifo.c:89 msgid "FIFO pipe is open\n" -msgstr "" +msgstr "la tubería FIFO está abierta\n" #: src/common/fifo.c:121 #, c-format msgid "%s invalid buffer for displaying text via FIFO pipe\n" -msgstr "" +msgstr "%s búfer inválido para mostrar texto mediante la tubería FIFO\n" #: src/common/fifo.c:132 src/common/fifo.c:178 #, c-format msgid "%s invalid text received on FIFO pipe\n" -msgstr "" +msgstr "%s texto inválido recibido en la tubería FIFO\n" #: src/common/fifo.c:154 #, c-format msgid "%s server \"%s\" not found (FIFO pipe data)\n" -msgstr "" +msgstr "%s servidor \"%s\" no encontrado (datos de la tubería FIFO)\n" #: src/common/fifo.c:166 #, c-format msgid "%s channel \"%s\" not found (FIFO pipe data)\n" -msgstr "" +msgstr "%s canal \"%s\" no encontrado (datos de la tubería FIFO)\n" #: src/common/fifo.c:265 src/common/fifo.c:267 #, c-format msgid "%s error reading FIFO pipe, closing it\n" -msgstr "" +msgstr "%s error al leer la tubería FIFO, cerrándola\n" #: src/common/fifo.c:309 msgid "FIFO pipe is closed\n" -msgstr "" +msgstr "la tubería FIFO está cerrada\n" #: src/common/hotlist.c:102 #, c-format @@ -3336,7 +3346,7 @@ msgstr "" #: src/common/weeconfig.c:528 src/common/weeconfig.c:529 msgid "create a FIFO pipe for remote control" -msgstr "" +msgstr "crea una tubería FIFO para control remoto" #: src/common/weeconfig.c:548 msgid "automatically accept dcc files" diff --git a/weechat/po/fr.po b/weechat/po/fr.po index 74aafa522..d500fbbd5 100644 --- a/weechat/po/fr.po +++ b/weechat/po/fr.po @@ -5,10 +5,10 @@ # msgid "" msgstr "" -"Project-Id-Version: WeeChat 0.1.1-cvs\n" +"Project-Id-Version: WeeChat 0.1.1\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2005-03-16 22:36+0100\n" -"PO-Revision-Date: 2005-03-16 22:37+0100\n" +"POT-Creation-Date: 2005-03-20 08:00+0100\n" +"PO-Revision-Date: 2005-03-20 08:00+0100\n" "Last-Translator: FlashCode \n" "Language-Team: weechat-dev \n" "MIME-Version: 1.0\n" diff --git a/weechat/po/weechat.pot b/weechat/po/weechat.pot index 5c5f36c33..19878a12c 100644 --- a/weechat/po/weechat.pot +++ b/weechat/po/weechat.pot @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2005-03-16 22:36+0100\n" +"POT-Creation-Date: 2005-03-20 08:00+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/weechat/weechat.spec b/weechat/weechat.spec index 87c11239c..a88d9888d 100644 --- a/weechat/weechat.spec +++ b/weechat/weechat.spec @@ -1,5 +1,5 @@ %define name weechat -%define version 0.1.0 +%define version 0.1.1 %define release 1 Name: %{name} @@ -41,6 +41,8 @@ rm -rf $RPM_BUILD_ROOT /usr/local/bin/weechat-curses %changelog +* Sat Mar 20 2005 FlashCode 0.1.1-1 +- Released version 0.1.1 * Sat Feb 12 2005 FlashCode 0.1.0-1 - Released version 0.1.0 * Sat Jan 01 2005 FlashCode 0.0.9-1