35 |
|
|
36 |
@title WeeChat - Gui@'on de usuario. |
@title WeeChat - Gui@'on de usuario. |
37 |
@subtitle Cliente IRC r@'apido, peque@~no y extensible |
@subtitle Cliente IRC r@'apido, peque@~no y extensible |
38 |
@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 |
39 |
|
|
40 |
@image{weechat_image} |
@image{weechat_image} |
41 |
|
|
210 |
* Ficheros de configuracion:: |
* Ficheros de configuracion:: |
211 |
* Atajos de teclado:: |
* Atajos de teclado:: |
212 |
* Comandos WeeChat:: |
* Comandos WeeChat:: |
213 |
|
* FIFO pipe:: |
214 |
@end menu |
@end menu |
215 |
|
|
216 |
@node Iniciar WeeChat, Ficheros de configuracion, Uso, Uso |
@node Iniciar WeeChat, Ficheros de configuracion, Uso, Uso |
487 |
Typo: cadena (cualquier cadena), valor por defecto: 'WeeChat %v'@* |
Typo: cadena (cualquier cadena), valor por defecto: 'WeeChat %v'@* |
488 |
@item irc_away_check |
@item irc_away_check |
489 |
Intervalo entre dos comprobaciones de ausencia (en minutos, 0 = no comprobar)@* |
Intervalo entre dos comprobaciones de ausencia (en minutos, 0 = no comprobar)@* |
490 |
Typo: entero (valores: entre 0 y 2147483647), valor por defecto: 1@* |
Typo: entero (valores: entre 0 y 2147483647), valor por defecto: 0@* |
491 |
@item irc_lag_check |
@item irc_lag_check |
492 |
Intervalo entre dos medidas de lag (en segundos)@* |
Intervalo entre dos medidas de lag (en segundos)@* |
493 |
Typo: entero (valores: entre 30 y 2147483647), valor por defecto: 60@* |
Typo: entero (valores: entre 30 y 2147483647), valor por defecto: 60@* |
497 |
@item irc_lag_disconnect |
@item irc_lag_disconnect |
498 |
Desconexi@'on tras un lag importante (en minutos, 0 = no desconectar nunca)@* |
Desconexi@'on tras un lag importante (en minutos, 0 = no desconectar nunca)@* |
499 |
Typo: entero (valores: entre 0 y 2147483647), valor por defecto: 5@* |
Typo: entero (valores: entre 0 y 2147483647), valor por defecto: 5@* |
500 |
|
@item irc_fifo_pipe |
501 |
|
Create a FIFO pipe for remote control@* |
502 |
|
Typo: booleano (valores: 'on' u 'off'), valor por defecto: 'off'@* |
503 |
@item dcc_auto_accept_files |
@item dcc_auto_accept_files |
504 |
Aceptar autom@'aticamente los ficheros dcc entrantes@* |
Aceptar autom@'aticamente los ficheros dcc entrantes@* |
505 |
Typo: booleano (valores: 'on' u 'off'), valor por defecto: 'off'@* |
Typo: booleano (valores: 'on' u 'off'), valor por defecto: 'off'@* |
697 |
@* |
@* |
698 |
@end table |
@end table |
699 |
|
|
700 |
@node Comandos WeeChat, , Atajos de teclado, Uso |
@node Comandos WeeChat, FIFO pipe, Atajos de teclado, Uso |
701 |
@section Comandos WeeChat |
@section Comandos WeeChat |
702 |
|
|
703 |
Comandos internos WeeChat:@* |
Comandos internos WeeChat:@* |
822 |
-all: revertir el estado ausente en todos los servidores conectados@* |
-all: revertir el estado ausente en todos los servidores conectados@* |
823 |
mensaje: mensaje para el estado ausente (si no se da ningún mensaje, se elimina el estado ausente)@* |
mensaje: mensaje para el estado ausente (si no se da ningún mensaje, se elimina el estado ausente)@* |
824 |
@* |
@* |
825 |
|
@item ban [canal] [usariio [usuario ...]] |
826 |
|
@* |
827 |
|
bans nicks or hosts@* |
828 |
|
@* |
829 |
|
channel: channel for ban@* |
830 |
|
nickname: user or host to ban@* |
831 |
|
@* |
832 |
@item ctcp usuario tipo |
@item ctcp usuario tipo |
833 |
@* |
@* |
834 |
enviar un mensaje ctcp@* |
enviar un mensaje ctcp@* |
844 |
usuario: nombre de usuario a quien enviar el archivo o la charla@* |
usuario: nombre de usuario a quien enviar el archivo o la charla@* |
845 |
fichero: nombre del fichero (en la m@'aquina local)@* |
fichero: nombre del fichero (en la m@'aquina local)@* |
846 |
@* |
@* |
847 |
|
@item dehalfop pseudo [pseudo] |
848 |
|
@* |
849 |
|
elimina el estado de media operador de canal a/a los usuario(s)@* |
850 |
|
@* |
851 |
@item deop pseudo [pseudo] |
@item deop pseudo [pseudo] |
852 |
@* |
@* |
853 |
elimina el estado de operador de canal a/a los usuario(s)@* |
elimina el estado de operador de canal a/a los usuario(s)@* |
860 |
@* |
@* |
861 |
cerrar el servidor@* |
cerrar el servidor@* |
862 |
@* |
@* |
863 |
|
@item halfop pseudo [pseudo] |
864 |
|
@* |
865 |
|
dar el estado de media operador de canal a/a los usuario(s)@* |
866 |
|
@* |
867 |
@item info [target] |
@item info [target] |
868 |
@* |
@* |
869 |
obtener informaci@'on describiendo al servidor@* |
obtener informaci@'on describiendo al servidor@* |
898 |
usuario: usuario a expulsar@* |
usuario: usuario a expulsar@* |
899 |
comentario: comentario para la expulsi@'on@* |
comentario: comentario para la expulsi@'on@* |
900 |
@* |
@* |
901 |
|
@item kickban [canal] usuario [comentario] |
902 |
|
@* |
903 |
|
kicks and bans a nick from a channel@* |
904 |
|
@* |
905 |
|
channel: channel where user is@* |
906 |
|
nickname: nickname to kick and ban@* |
907 |
|
comment: comment for kick@* |
908 |
|
@* |
909 |
@item kill usuario comentario |
@item kill usuario comentario |
910 |
@* |
@* |
911 |
cerrar la conexi@'on cliente-servidor@* |
cerrar la conexi@'on cliente-servidor@* |
1116 |
@* |
@* |
1117 |
target: servidor objetivo@* |
target: servidor objetivo@* |
1118 |
@* |
@* |
1119 |
|
@item unban [canal] usuario [usuario ...] |
1120 |
|
@* |
1121 |
|
unbans nicks or hosts@* |
1122 |
|
@* |
1123 |
|
channel: channel for unban@* |
1124 |
|
nickname: user or host to unban@* |
1125 |
|
@* |
1126 |
@item userhost usuario [usuario ...] |
@item userhost usuario [usuario ...] |
1127 |
@* |
@* |
1128 |
devuelve una lista de informaci@'on sobre usuarios@* |
devuelve una lista de informaci@'on sobre usuarios@* |
1177 |
|
|
1178 |
@end table |
@end table |
1179 |
|
|
1180 |
|
@node FIFO pipe, , Comandos WeeChat, Uso |
1181 |
|
@section FIFO pipe |
1182 |
|
|
1183 |
|
You can remote control WeeChat, by sending commands or text to a FIFO pipe |
1184 |
|
(you have to enable option "irc_fifo_pipe", it is disabled by default).@* |
1185 |
|
The FIFO pipe is located in ~/.weechat/ and is called "weechat_fifo_xxxxx" |
1186 |
|
(where xxxxx is the process ID (PID) of running WeeChat).@* |
1187 |
|
So if many WeeChat are running, you have many FIFO pipe, one for each session.@* |
1188 |
|
@* |
1189 |
|
The syntax for the FIFO pipe commands/text is:@* |
1190 |
|
@command{server,channel *text or command here}@* |
1191 |
|
where server and channel are optional, but if channel is here, server should be too.@* |
1192 |
|
@* |
1193 |
|
Some examples: |
1194 |
|
@table @asis |
1195 |
|
@item @bullet{} change your nick on freenode to "mynick|out": |
1196 |
|
@* |
1197 |
|
@command{echo "freenode */nick mynick|out" >~/.weechat/weechat_fifo_12345} |
1198 |
|
@item @bullet{} display text on #weechat channel: |
1199 |
|
@* |
1200 |
|
@command{echo "freenode,#weechat *hello everybody!" >~/.weechat/weechat_fifo_12345} |
1201 |
|
@item @bullet{} display text on current channel (buffer displayed by WeeChat): |
1202 |
|
@* |
1203 |
|
@command{echo "*hello!" >~/.weechat/weechat_fifo_12345}@* |
1204 |
|
@* |
1205 |
|
@b{Warning:} this is dangerous and you should not do that except if you know what you do! |
1206 |
|
@item @bullet{} send 2 commands to unload/reload Perl scripts (you have to separate them with \n): |
1207 |
|
@command{echo -e "freenode */perl unload\nfreenode */perl autoload" >~/.weechat/weechat_fifo_12345} |
1208 |
|
@end table |
1209 |
|
@* |
1210 |
|
You can write a script to send command to all running WeeChat at same time, for example:@* |
1211 |
|
@verbatim |
1212 |
|
#!/bin/sh |
1213 |
|
if [ $# -eq 1 ]; then |
1214 |
|
for fifo in $(/bin/ls ~/.weechat/weechat_fifo_* 2>/dev/null); do |
1215 |
|
echo -e "$1" >$fifo |
1216 |
|
done |
1217 |
|
fi |
1218 |
|
@end verbatim |
1219 |
|
@* |
1220 |
|
If the script is called "auto_weechat_command", you can run it with:@* |
1221 |
|
@command{./auto_weechat_command "freenode,#weechat *hello"} |
1222 |
|
|
1223 |
|
|
1224 |
@c ******************************* Extensions ********************************* |
@c ******************************* Extensions ********************************* |
1225 |
|
|