1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-15 15:44:47 +02:00

Compare commits

..

8 Commits

Author SHA1 Message Date
Sebastien Helleu d486a0223d Version 0.2.6.3 2009-06-13 13:25:47 +02:00
Emmanuel Bouthenot 707749957a Change the way to detect gnutls (using pkg-config instead of libgnutls-config) 2009-06-07 22:15:16 +02:00
Sebastien Helleu f950700a34 Update po files for version 0.2.6.2 2009-04-18 15:28:11 +02:00
Sebastien Helleu ee4d039c42 Update RPM spec file for version 0.2.6.2 2009-04-18 15:25:39 +02:00
Sebastien Helleu 70a970f8ed Version 0.2.6.2 2009-04-18 15:23:00 +02:00
Sebastien Helleu 50a62179d4 Fix bug with charset decoding (for example with iso2022jp) 2009-04-18 14:49:26 +02:00
Sebastien Helleu b01bc3eb21 Version 0.2.6.1 2009-03-14 17:06:55 +01:00
Sebastien Helleu d44762aa43 Fix crash with some special chars in IRC messages (bug #25862) 2009-03-14 17:06:03 +01:00
755 changed files with 280733 additions and 190763 deletions
-55
View File
@@ -1,55 +0,0 @@
# ignored files for Git
*.a
*.css
*.gmo
*.html
*.la
*.lai
*.lo
*.m4
*.o
*.pdf
*.Plo
*.Po
*.so
*.so.0
*.so.0.0.0
*.xsl
ABOUT-NLS
autom4te*
build*/*
config.guess
config.h*
config.log
config.rpath
config.status
config.sub
configure
date.xml
debian/*.log
depcomp
insert-header.sin
install-sh
intl/*
libtool
ltmain.sh
Makefile
Makefile.in*
Makevars.template
missing
po/*quot*
POTFILES
remove-potcdate.sed
Rules-quot
weechat.pc
doc/de/build/*
doc/en/build/*
doc/fr/build/*
*stamp
stamp*
src/gui/curses/weechat-curses
src/gui/gtk/weechat-gtk
+1111
View File
File diff suppressed because it is too large Load Diff
+28 -23
View File
@@ -1,42 +1,47 @@
WeeChat Authors
===============
WeeChat - Wee Enhanced Environment for Chat
===========================================
Developers
Developers:
----------
* General code
** FlashCode <flashcode@flashtux.org>
*** Web: http://www.weechat.org/
*** IRC: 'FlashCode' on irc.freenode.net
FlashCode <flashcode@flashtux.org>
Web : http://weechat.flashtux.org
IRC : nick is "FlashCode" @ irc.freenode.net
* Scripts plugins
kolter <kolter@openics.org>
IRC : nick is "kolter" @ irc.freenode.net
* Scripts plugins, debian packager
Debian packager:
---------------
** kolter <kolter@openics.org>
*** IRC: 'kolter' on irc.freenode.net
Julien Louis <ptitlouis@sysif.net>
IRC : nick is "ptitlouis" @ irc.freenode.net
Jabber: ptitlouis@amessage.info
Contributors
Contributors:
------------
* Julien Louis <ptitlouis@sysif.net>, IRC: 'ptitlouis'
* Rudolf Polzer <rpolzer-rp@durchnull.de>, IRC: 'divVerent'
* Jiri Golembiovsky <golemj@gmail.com>, IRC: 'GolemJ'
* Jim Ramsay <i.am@jimramsay.com>, IRC: 'lack'
* Odin <odin@dtdm.org>, IRC: 'Odin'
* Pistos, IRC: 'pistos'
* Gwenn, IRC: 'gwenn'
* Voroskoi, IRC: 'voroskoi'
* Frank Zacharias
* Pavel Shevchuk, IRC: 'Stalwart'
Rudolf Polzer <rpolzer-rp@durchnull.de>, IRC: "divVerent"
Jiri Golembiovsky <golemj@gmail.com>, IRC: "GolemJ"
Jim Ramsay <i.am@jimramsay.com>, IRC: "lack"
Odin <odin@dtdm.org>, IRC: "Odin"
Pistos, IRC: "pistos"
Gwenn, IRC: "gwenn"
Voroskoi, IRC: "voroskoi"
Frank Zacharias
Pavel Shevchuk, IRC: "Stalwart"
Contact
-------
=====
Whole team is connected to IRC:
server: 'irc.freenode.net', channels: '#weechat' (english) and '#weechat-fr' (french)
server: irc.freenode.net, channels: #weechat and #weechat-fr (french)
See README file for licence detail.
+5
View File
@@ -0,0 +1,5 @@
WeeChat - Wee Enhanced Environment for Chat
===========================================
WeeChat known bugs:
please look at https://savannah.nongnu.org/bugs/?group=weechat
+22 -75
View File
@@ -1,4 +1,4 @@
# Copyright (c) 2003-2009 FlashCode <flashcode@flashtux.org>
# Copyright (c) 2003-2007 FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -16,55 +16,39 @@
PROJECT(weechat)
cmake_minimum_required(VERSION 2.4)
SET(CMAKE_VERBOSE_MAKEFILE OFF)
SET(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake ${CMAKE_MODULE_PATH})
SET(CMAKE_SKIP_RPATH ON)
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -W -Werror-implicit-function-declaration")
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -W")
IF(PREFIX)
SET(CMAKE_INSTALL_PREFIX ${PREFIX} CACHE PATH "Install path prefix" FORCE)
ENDIF(PREFIX)
SET(VERSION_MAJOR "0")
SET(VERSION_MINOR "3")
SET(VERSION_PATCH "0")
SET(VERSION ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH})
SET(VERSION 0.2.6.3)
SET(PKG_STRING "${PROJECT_NAME} ${VERSION}")
SET(LIBDIR ${CMAKE_INSTALL_PREFIX}/lib/${PROJECT_NAME})
SET(SHAREDIR ${CMAKE_INSTALL_PREFIX}/share/${PROJECT_NAME})
SET(LIBDIR ${CMAKE_INSTALL_PREFIX}/lib/weechat)
SET(SHAREDIR ${CMAKE_INSTALL_PREFIX}/share/weechat)
SET(LOCALEDIR ${CMAKE_INSTALL_PREFIX}/share/locale)
SET(INCLUDEDIR ${CMAKE_INSTALL_PREFIX}/include/${PROJECT_NAME})
STRING(REPLACE "\";\"" "\ " PKG_STRING ${PKG_STRING})
OPTION(DISABLE_NCURSES "Disable Ncurses interface")
OPTION(ENABLE_GTK "Enable GTK interface")
OPTION(DISABLE_NLS "Disable Native Language Support")
OPTION(DISABLE_GNUTLS "Disable SSLv3/TLS connection support")
OPTION(DISABLE_LARGEFILE "Disable Large File Support")
OPTION(DISABLE_ALIAS "Disable Alias plugin")
OPTION(DISABLE_ASPELL "Disable Aspell plugin")
OPTION(DISABLE_CHARSET "Disable Charset plugin")
OPTION(ENABLE_DEMO "Enable Demo plugin")
OPTION(DISABLE_FIFO "Disable FIFO plugin")
OPTION(DISABLE_IRC "Disable IRC plugin")
OPTION(DISABLE_LOGGER "Disable Logger plugin")
OPTION(ENABLE_RELAY "Enable Relay plugin")
OPTION(DISABLE_SCRIPTS "Disable script plugins")
OPTION(DISABLE_PERL "Disable Perl scripting language")
OPTION(DISABLE_PYTHON "Disable Python scripting language")
OPTION(DISABLE_RUBY "Disable Ruby scripting language")
OPTION(DISABLE_LUA "Disable Lua scripting language")
OPTION(DISABLE_TCL "Disable Tcl scripting language")
OPTION(DISABLE_XFER "Disable Xfer plugin (file transfer and direct chat)")
OPTION(DISABLE_DOC "Disable Doc")
OPTION(DISABLE_NCURSES "Disable Ncurses interface")
OPTION(ENABLE_GTK "Enable GTK interface")
OPTION(DISABLE_NLS "Disable Native Language Support")
OPTION(DISABLE_GNUTLS "Disable SSLv3/TLS connection support")
OPTION(DISABLE_PLUGINS "Disable Plugins support")
OPTION(DISABLE_PERL "Disable Perl scripting language")
OPTION(DISABLE_PYTHON "Disable Python scripting language")
OPTION(DISABLE_RUBY "Disable Ruby scripting language")
OPTION(DISABLE_LUA "Disable Lua scripting language")
OPTION(DISABLE_ASPELL "Disable Aspell plugin")
OPTION(DISABLE_CHARSET "Disable Charset plugin")
OPTION(DISABLE_DOC "Disable Doc")
IF(NOT DISABLE_NLS)
ADD_SUBDIRECTORY( po )
ENDIF(NOT DISABLE_NLS)
ADD_SUBDIRECTORY( src )
ADD_SUBDIRECTORY( doc )
ADD_SUBDIRECTORY( po )
ADD_SUBDIRECTORY( src )
IF(NOT DISABLE_DOC)
ADD_SUBDIRECTORY( doc )
ENDIF(NOT DISABLE_DOC)
CONFIGURE_FILE(config.h.cmake config.h @ONLY)
@@ -86,40 +70,3 @@ ADD_CUSTOM_TARGET(dist
DEPENDS doc
WORKING_DIRECTORY ${CMAKE_BINARY_DIR})
# pkgconfig file
SET(PACKAGE "${PROJECT_NAME}")
SET(prefix "${CMAKE_INSTALL_PREFIX}")
SET(exec_prefix "\${prefix}")
SET(libdir "\${exec_prefix}/lib")
SET(includedir "\${prefix}/include")
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/weechat.pc.in ${CMAKE_CURRENT_BINARY_DIR}/weechat.pc @ONLY)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat.pc DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/pkgconfig)
# packages
SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Fast, light and extensible chat client")
SET(CPACK_PACKAGE_VENDOR "FlashCode")
SET(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_CURRENT_SOURCE_DIR}/README")
SET(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/COPYING")
SET(CPACK_PACKAGE_VERSION_MAJOR ${VERSION_MAJOR})
SET(CPACK_PACKAGE_VERSION_MINOR ${VERSION_MINOR})
SET(CPACK_PACKAGE_VERSION_PATCH ${VERSION_PATCH})
# binary package
SET(CPACK_GENERATOR "STGZ;TGZ;TBZ2")
SET(CPACK_PACKAGE_FILE_NAME weechat-binary-${VERSION})
# source package
SET(CPACK_SOURCE_GENERATOR "TGZ;TBZ2")
SET(CPACK_SOURCE_PACKAGE_FILE_NAME weechat-${VERSION})
SET(CPACK_SOURCE_IGNORE_FILES "/\\\\.git" "/build/" "/m4/"
"/autom4te\\\\.cache/" "/ABOUT-NLS$" "/config\\\\.guess$" "/config\\\\.h$"
"/config\\\\.h.in$" "/config\\\\.log$" "/config\\\\.rpath$"
"/config\\\\.status$" "/config\\\\.sub$" "/configure$" "/depcomp$"
"/install-sh$" "/missing$" "/intl/" "/libtool$" "/\\\\.libs/"
"/ltmain\\\\.sh$" "/\\\\.deps/" "/date\\\\.xml$" "/html/" "/html1/"
"\\\\.pdf$" "/Makefile$" "/Makefile\\\\.in$" "stamp" "/po/.*\\\\.header$"
"\\\\.gmo$" "~$" "\\\\.o$" "\\\\.lo$" "\\\\.a$" "\\\\.la$" "\\\\.lai$"
"\\\\.Plo$" "/weechat-curses$" "/weechat-gtk$"
)
INCLUDE(CPack)
+641 -770
View File
File diff suppressed because it is too large Load Diff
+274
View File
@@ -0,0 +1,274 @@
WeeChat FAQ, 2007-09-06
=======================
Intended audience:
All WeeChat users.
Before reading the following:
the following Q/A list is *not* exhaustive.
It is also possible that you won't find any Q/A that matches your problem.
Please read them anyway, they may provide you help in fixing your problem
anyway.
And even if your problem is listed below, it is possible that the answers don't
help you anymore to solve it. Then, please contact us, we will try to help you
finding a solution.
1 - Compiling
2 - Using WeeChat
3 - Development
1.1
================================================================================
Q: I heard about many GUI for WeeChat. How can I compile/use them?
A: Curses GUI is built by default.
To build Gtk, wxWidgets or Qt GUI you've to specify extra options to
./configure script:
--enable-gtk to enable Gtk GUI
--enable-wxwidgets to enable wxWidgets GUI
--enable-qt to enable Qt QUI
Type ./configure --help to see available options.
WARNING: only Curses GUI is ok today. Other GUI are under development!
1.2
================================================================================
Q: I can't compile WeeChat CVS.
A: Check that you have latest version of autoconf and automake.
WeeChat has been developed with autoconf version 2.59 and automake
version 1.9.5.
You should have at least these versions in order to compile WeeChat CVS.
If you can't or don't want to install these versions, you can download and
install "devel package", a package built almost every day, based on CVS.
Note that this package may not correspond exactly to CVS base.
2.1
================================================================================
Q: Why using WeeChat ? X-Chat and Irssi are so good...
A: Because WeeChat is very light and has new features.
Some new features:
* many GUI (Curses, Gtk, wxWidgets, Qt)
* available in many languages
* nicklist available in all GUI
* extensible with plugins (C, Perl, Python, Ruby, Lua)
* horizontal and vertical window split
* infobar highlight
* FIFO pipe for remote control
* developed from scratch (not based on any other IRC client)
* multi-platform
* 100% GPL and free
This is the "geekest" IRC client ;)
More info on this page: http://weechat.flashtux.org/features.php
2.2
================================================================================
Q: I've launched WeeChat, but I'm lost, what can I do?
A: For help you can type /help. For help about a command, type /help command.
Keys and commands are listed in documentation.
2.3
================================================================================
Q: I heard about "buffers" and "windows", what's the difference?
A: A window is used when you split screen vertically or horizontally.
A buffer is a "view" for a window. Each window displays a buffer, and
many windows may display same buffer.
Examples of buffers: server messages, channel, DCC list, ..
2.4
================================================================================
Q: I don't see some chars with accents, what can I do?
A: For versions < 0.2.3, please upgrade to last stable version.
For versions >= 0.2.3 :
- check that weechat-curses is linked to libncursesw (warning: needed
on most distributions but not all) :
ldd /path/to/weechat-curses
- check that "Charset" plugin is loaded with /plugin command
(if it is not, then you probably need "weechat-plugins" package)
- check charset line (on server buffer), you should see ISO-XXXXXX or
UTF-8 for terminal charset. If you see ANSI_X3.4-1968 or other values,
probably your locale is wrong.
- setup global decode value, for example:
/setp charset.global.decode = ISO-8859-15
- if you are using UTF-8 locale, check that your terminal is UTF-8
ready. Terminal recommended for UTF-8 is rxvt-unicode.
2.5
================================================================================
Q: How can I customize key bindings?
A: Key bindings are customizable with /key command.
Default key Meta-k (usually Alt-k) lets you grab key code and insert it
in input zone.
2.6
================================================================================
Q: How can I load Perl scripts?
Are Perl scripts compatible with other IRC clients ?
A: You can use /perl command to load scripts (default path is
~/.weechat/perl).
Note that scripts in ~/.weechat/perl/autoload are automatically loaded
when WeeChat is starting up.
Perl scripts are not compatible with other IRC clients.
2.7
================================================================================
Q: How can I load Python scripts?
Are Python scripts compatible with other IRC clients ?
A: You can use /python command to load scripts (default path is
~/.weechat/python).
Note that scripts in ~/.weechat/python/autoload are automatically loaded
when WeeChat is starting up.
Python scripts are not compatible with other IRC clients.
2.8
================================================================================
Q: How can I load Ruby scripts?
Are Ruby scripts compatible with other IRC clients ?
A: You can use /ruby command to load scripts (default path is
~/.weechat/ruby).
Note that scripts in ~/.weechat/ruby/autoload are automatically loaded
when WeeChat is starting up.
Ruby scripts are not compatible with other IRC clients.
2.9
================================================================================
Q: How can I load Lua scripts?
Are Lua scripts compatible with other IRC clients ?
A: You can use /lua command to load scripts (default path is
~/.weechat/lua).
Note that scripts in ~/.weechat/lua/autoload are automatically loaded
when WeeChat is starting up.
Lua scripts are not compatible with other IRC clients.
2.10
================================================================================
Q: When I'm using weechat under screen, I have weird chars, when I switch
window for example, how to fix that?
A: This may be caused by bad value of TERM variable (look at echo $TERM).
For example, "xterm-color" displays such weird chars, use "xterm" which
is ok (like many other values).
2.11
================================================================================
Q: I want to change language used by WeeChat for messages, but without
exiting WeeChat, is it possible?
A: Yes, you have to use python script shell.py (available on WeeChat
website) and issue these commands when script is loaded:
/shell setenv LANG=en_US.UTF-8
/upgrade
(to have english messages with UTF-8 encoding for terminal, for ISO
users, you can issue: /shell setenv LANG=en_US)
2.12
================================================================================
Q: With Curses GUI, how can I copy/paste text without pasting nicklist ?
A: You can use a terminal with rectangular selection (like rxvt-unicode,
konsole, ...).
Other solution is to move nicklist to top or bottom, for example:
/set look_nicklist_position = top
2.13
================================================================================
Q: How to be warned when someone highlights me on a channel ?
A: You can use sound.pl script (available on scripts page), and then
setup a system command (to play sound, display message, ..) with this
command :
/setp perl.sound.cmd_highlight = "/usr/bin/command arguments..."
3.1
================================================================================
Q: How should I report bugs?
A: There is 3 ways to report bugs:
1. you can join us on IRC: irc.freenode.net, channel #weechat
2. you can submit your bug at this URL:
http://savannah.nongnu.org/bugs/?func=addbug&group=weechat
3. you can mail your problem, look at support page for developer's mails:
http://weechat.flashtux.org/support.php
(you can subscribe and send to "support" mailing list)
3.2
================================================================================
Q: How should I submit patches?
A: There is 3 ways to submit patches:
1. you can join us on IRC: irc.freenode.net, channel #weechat
2. you can submit your patch at this URL:
http://savannah.nongnu.org/patch/?func=addpatch&group=weechat
3. you can mail your patch, look at support page for developer's mails:
http://weechat.flashtux.org/support.php
(you can subscribe and send to "support" mailing list)
3.3
================================================================================
Q: How should I submit new feature request?
A: There is 2 ways to submit your feature request:
1. you can join us on IRC: irc.freenode.net, channel #weechat
2. you can mail your feature request, look at support page for developer's
mails:
http://weechat.flashtux.org/support.php
(you can subscribe and send to "support" mailing list)
3.4
================================================================================
Q: What is the list of supported platforms for WeeChat?
A: Full list is on this page:
http://weechat.flashtux.org/download.php?lang=en&view=supported_os
3.5
================================================================================
Q: Will WeeChat be ported to QNX or other operating systems?
A: Yes. Future versions will be available for these OS.
We need help for such systems, any help is welcome :)
3.6
================================================================================
Q: I want to help WeeChat developers. What can I do?
A: There's many tasks to do (code, documentation, ...)
Please contact us with IRC or mail, look at support page:
http://weechat.flashtux.org/support.php
3.7
================================================================================
Q: Can I give money or other things to WeeChat developers?
A: You can give us money to help development.
Details on http://weechat.flashtux.org/donate.php?lang=en
+292
View File
@@ -0,0 +1,292 @@
WeeChat FAQ, 2007-09-06
=======================
Public concerné :
Tous les utilisateurs de WeeChat.
Avant de lire la suite ceci :
la liste suivante de questions/réponses n'est *pas* exhaustive.
Il est donc possible que vous ne trouviez pas de question/réponse correspondant
à votre problème.
Lisez les quand même SVP, elles peuvent vous aider à corriger votre problème.
Et même si votre problème est mentionné ci-dessous, il est possible que la
réponse ne vous aide pas à corriger le problème. Dans ce cas, contactez-nous,
nous essaierons de vous aider Ă  trouver une solution.
1 - Compilation
2 - Utilisation de WeeChat
3 - Développement
1.1
================================================================================
Q: J'ai entendu parler de plusieurs interfaces pour WeeChat.
Comment puis-je les compiler/utiliser ?
R: L'interface Curses est construite par défaut.
Pour construire l'interface Gtk, wxWidgets ou Qt, vous devez spécifier des
options pour le script ./configure :
--enable-gtk pour activer l'interface Gtk
--enable-wxwidgets pour activer l'interface wxWidgets
--enable-qt pour activer l'interface Qt
Tapez ./configure --help pour voir les options disponibles.
ATTENTION : seule l'interface Curses est ok aujourd'hui.
Les autres interfaces sont en développement.
1.2
================================================================================
Q: Je ne peux pas compiler le CVS WeeChat.
R: Vérifiez que vous avez bien la dernière version d'autoconf et automake.
WeeChat a été développé avec autoconf version 2.59 et automake
version 1.9.5.
Vous devez avoir au moins ces versions pour compiler le CVS WeeChat.
Si vous n'avez pas ou ne souhaitez pas installer ces versions, vous
pouvez télécharger et installer le paquet "devel", un paquet construit
quasiment tous les jours, basé sur le CVS.
Notez que ce paquet peut ne pas correspondre exactement Ă  la base CVS.
2.1
================================================================================
Q: Pourquoi utiliser WeeChat ? X-Chat et Irssi sont si bien...
R: Parce que WeeChat est très léger et a de nouvelles fonctionnalités.
Quelques nouvelles fonctionnalités :
* plusieurs interfaces (Curses, Gtk, wxWidgets, Qt)
* disponible en plusieurs langues
* liste des pseudos disponible dans toutes les interfaces
* extensible par des extensions (C, Perl, Python, Ruby, Lua)
* découpage de la fenêtre horizontalement et verticalement
* highlight dans la barre d'infos
* tube FIFO pour contrĂ´le Ă  distance
* développé à partir de zéro (non basé sur un quelconque client IRC)
* multi-platformes
* 100% GPL et libre
C'est le client IRC le plus "geek" ;)
Plus d'infos sur cette page: http://weechat.flashtux.org/features.php
2.2
================================================================================
Q: J'ai lancé WeeChat, mais je suis perdu, que puis-je faire ?
R: Pour obtenir de l'aide tapez /help. Pour de l'aide sur une commande,
tapez /help commande.
Les touches et commandes sont listées dans la documentation.
2.3
================================================================================
Q: J'ai entendu parler de "buffers" et "windows", quelle est la
différence ?
R: Une fenêtre ("window") est utilisée quand vous partagez l'écran
verticalement ou horizontalement.
Un tampon ("buffer") est une "vue" pour une fenĂŞtre. Chaque fenĂŞtre
affiche un tampon, et plusieurs fenĂŞtres peuvent afficher le mĂŞme
tampon.
Exemples de tampons: messages serveur, canal, liste des DCC, etc...
2.4
================================================================================
Q: Je ne vois pas bien certains accents dans WeeChat, que faire ?
R: Pour les versions < 0.2.3, merci d'installer la dernière version stable.
Pour les versions >= 0.2.3 :
- vérifiez que weechat-curses est lié avec libncursesw (attention:
nécessaire sur beaucoup de distributions, mais pas toutes) :
ldd /chemin/vers/weechat-curses
- vérifiez que l'extension "Charset" est chargée avec la commande
/plugin (s'il ne l'est pas, vous devez peut-ĂŞtre installer le
paquet "weechat-plugins")
- vérifiez la ligne charset (sur le tampon serveur), vous devriez voir
ISO-XXXXXX ou UTF-8 pour le charset du terminal. Si vous voyez
ANSI_X3.4-1968 ou d'autres valeurs, votre locale est probablement
erronée.
- affectez la valeur pour le décodage global, par exemple :
/setp charset.global.decode = ISO-8859-15
- si vous utilisez la locale UTF-8, vérifiez que votre terminal est
compatible UTF-8. Un terminal conseillé pour l'UTF-8 est rxvt-unicode.
2.5
================================================================================
Q: Comment puis-je configurer les raccourcis clavier ?
R: Les raccourcis clavier sont modifiables avec la commande /key.
La touche par défaut Meta-k (souvent Alt-k) permet de capturer le code
d'une touche et de l'inclure dans la zone de saisie.
2.6
================================================================================
Q: Comment puis-je charger des scripts Perl ?
Les scripts Perl sont-ils compatibles avec d'autres clients IRC ?
R: La commande /perl permet de charger les scripts Perl (le chemin par défaut
est ~/.weechat/perl).
Notez que les scripts dans ~/.weechat/perl/autoload sont automatiquement
chargés par WeeChat lorsqu'il démarre.
Les scripts Perl ne sont pas compatibles avec d'autres clients IRC.
2.7
================================================================================
Q: Comment puis-je charger les scripts Python ?
Les scripts Python sont-ils compatibles avec d'autres clients IRC ?
R: La commande /python permet de charger les scripts Python (le chemin par
défaut est ~/.weechat/python).
Notez que les scripts dans ~/.weechat/python/autoload sont automatiquement
chargés par WeeChat lorsqu'il démarre.
Les scripts Python ne sont pas compatibles avec d'autres clients IRC.
2.8
================================================================================
Q: Comment puis-je charger des scripts Ruby ?
Les scripts Ruby sont-ils compatibles avec d'autres clients IRC ?
R: La commande /ruby permet de charger les scripts Ruby (le chemin par
défaut est ~/.weechat/ruby).
Notez que les scripts dans ~/.weechat/ruby/autoload sont automatiquement
chargés par WeeChat lorsqu'il démarre.
Les scripts Ruby ne sont pas compatibles avec d'autres clients IRC.
2.9
================================================================================
Q: Comment puis-je charger des scripts Lua ?
Les scripts Lua sont-ils compatibles avec d'autres clients IRC ?
R: La commande /lua permet de charger les scripts Lua (le chemin par
défaut est ~/.weechat/lua).
Notez que les scripts dans ~/.weechat/lua/autoload sont automatiquement
chargés par WeeChat lorsqu'il démarre.
Les scripts Lua ne sont pas compatibles avec d'autres clients IRC.
2.10
================================================================================
Q: Quand j'utilise weechat sous screen, j'ai des caractères bizarres
notamment en changeant de fenêtre, comment corriger ça ?
R: Cela peut ĂŞtre du Ă  la variable TERM qui n'a pas la bonne valeur
(regardez echo $TERM). Par exemple "xterm-color" provoque ce genre de
problèmes, utilisez "xterm" qui est ok (comme plein d'autres valeurs).
2.11
================================================================================
Q: Je souhaite changer la langue des messages affichés par WeeChat, mais
sans quitter WeeChat, est-ce possible ?
R: Oui, il faut utiliser le script python shell.py (disponible sur le site
de WeeChat) et taper ces commandes une fois le script chargé :
/shell setenv LANG=en_US.UTF-8
/upgrade
(pour avoir des messages anglais avec encodage UTF-8 pour le terminal,
pour les utilisateurs en ISO, vous pouvez taper:
/shell setenv LANG=en_US)
2.12
================================================================================
Q: Avec l'interface Curses, comment puis-je copier/coller du texte sans
coller la liste des pseudos ?
R: Vous pouvez utiliser un terminal qui propose la sélection rectangulaire
(comme rxvt-unicode, konsole, etc...).
Une autre solution est de déplacer la liste des pseudos en haut ou en
bas, par exemple :
/set look_nicklist_position = top
2.13
================================================================================
Q: Comment ĂŞtre averti lorsque quelqu'un prononce mon pseudo sur un canal ?
R: Vous pouvez utiliser le script sound.pl (disponible sur la page des
scripts), puis configurer une commande système (jouant un son, affichant
un message à l'écran, etc...) comme ceci :
/setp perl.sound.cmd_highlight = "/usr/bin/commande parametres..."
3.1
================================================================================
Q: Comment dois-je reporter les bugs ?
R: Il y a 3 manières de reporter les bugs :
1. vous pouvez nous joindre sur IRC: irc.freenode.net, canal #weechat
2. vous pouvez soumettre votre bug Ă  cette adresse :
http://savannah.nongnu.org/bugs/?func=addbug&group=weechat
3. vous pouvez envoyer votre problème par mail, consultez la page
support pour les mails des développeurs :
http://weechat.flashtux.org/support.php
(vous pouvez souscrire et envoyer Ă  la liste de diffusion
"support")
3.2
================================================================================
Q: Comment dois-je soumettre les patches ?
R: Il y a 3 manières de soumettre les patches :
1. vous pouvez nous joindre sur IRC: irc.freenode.net, canal #weechat
2. vous pouvez soumettre votre patch Ă  cette adresse :
http://savannah.nongnu.org/patch/?func=addpatch&group=weechat
3. vous pouvez envoyer votre patch par mail, consultez la page
support pour les mails des développeurs :
http://weechat.flashtux.org/support.php
(vous pouvez souscrire et envoyer Ă  la liste de diffusion
"support")
3.3
================================================================================
Q: Comment dois-je soumettre les demandes de nouvelles fonctionnalités ?
R: Il y a 2 manières :
1. vous pouvez nous joindre sur IRC: irc.freenode.net, channel #weechat
2. vous pouvez envoyer un mail, consultez la page support pour les
mails des développeurs :
http://weechat.flashtux.org/support.php
(vous pouvez souscrire et envoyer Ă  la liste de diffusion
"support")
3.4
================================================================================
Q: Quelle est la liste des plate-formes supportées par WeeChat ?
R: La liste complète est sur cette page :
http://weechat.flashtux.org/download.php?lang=fr&view=supported_os
3.5
================================================================================
Q: WeeChat sera-t-il porté sur QNX ou d'autres systèmes d'exploitation ?
R: Oui. Les futures versions seront disponibles pour ces OS.
Nous avons besoin d'aide pour ces systèmes, toute aide est la bienvenue :)
3.6
================================================================================
Q: Je souhaiterai aider les développeurs WeeChat. Que puis-je faire ?
R: Il y a plusieurs choses Ă  faire (code, documentation, ...)
Merci de prendre contact avec nous par IRC ou mail, consultez la page
support :
http://weechat.flashtux.org/support.php
3.7
================================================================================
Q: Puis-je donner de l'argent ou d'autres choses aux développeurs WeeChat ?
R: Vous pouvez donner de l'argent pour aider le développement.
Plus de détails sur http://weechat.flashtux.org/donate.php
+7 -30
View File
@@ -1,36 +1,13 @@
WeeChat Installation instructions
=================================
WeeChat - Installation instructions
===================================
You can build WeeChat with cmake (recommended way) or autotools.
1) Run './configure'
(./configure --help so see options)
2) Run 'make'
With cmake
----------
------------------------------------------------------------------
mkdir build
cd build
cmake .. -DPREFIX=/where/you/want/install -DCMAKE_BUILD_TYPE=Debug
make
make install (as root for installation in system directories)
------------------------------------------------------------------
With autotools
--------------
----------------------------------------------------------------------
./autogen.sh (for cloned git repository only, not .tar.XX package)
./configure --prefix=/where/you/want/install
make
make install (as root for installation in system directories)
----------------------------------------------------------------------
If you want to report bugs/crashs to developers, please:
- compile with debug info (type "Debug" for cmake build, default for autotools),
- enable core files (for bash shell, add "ulimit -c unlimited" to your ~/.bashrc).
3) As root, run 'make install'
4) Enjoy ! :-)
See AUTHORS for support, feel free to contact us for any problem.
+11 -33
View File
@@ -1,4 +1,4 @@
# Copyright (c) 2003-2009 FlashCode <flashcode@flashtux.org>
# Copyright (c) 2003-2007 FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -14,38 +14,16 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
if DOC
doc_dir = doc
endif
SUBDIRS = po doc intl src
SUBDIRS = po $(doc_dir) intl src
EXTRA_DIST = CMakeLists.txt \
config.rpath \
config.h.cmake \
cmake/cmake_uninstall.cmake.in \
cmake/FindAsciidoc.cmake \
cmake/FindAspell.cmake \
cmake/FindGettext.cmake \
cmake/FindGnuTLS.cmake \
cmake/FindIconv.cmake \
cmake/FindLua.cmake \
cmake/FindNcurses.cmake \
cmake/FindPerl.cmake \
cmake/FindPkgConfig.cmake \
cmake/FindPython.cmake \
cmake/FindRuby.cmake \
cmake/FindSourcehighlight.cmake \
cmake/FindTCL.cmake \
cmake/makedist.sh.in \
po/CMakeLists.txt \
po/srcfiles.cmake \
weechat.spec \
weechat_icon_32.png \
weechat.pc.in \
UPGRADE_0.3
EXTRA_DIST = config.rpath BUGS FAQ FAQ.fr \
debian/changelog debian/control \
debian/copyright debian/compat \
debian/rules debian/weechat-common.docs \
debian/lintian-override \
debian/weechat-common.install debian/weechat-curses.dirs \
debian/weechat-curses.install debian/weechat-plugins.install \
debian/weechat-curses.menu debian/NEWS debian/weechat.xpm \
weechat.spec weechat_icon_32.png
ACLOCAL_AMFLAGS = -I m4
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = weechat.pc
+122 -93
View File
@@ -1,106 +1,113 @@
WeeChat News
============
WeeChat - Wee Enhanced Environment for Chat
===========================================
FlashCode, 2009-09-06::
WeeChat 0.3.0 released.
+
This version brings major changes, especially for configuration files
and plugin API.
+
For more information about this version, please read file UPGRADE_0.3.
* FlashCode, 2009-06-13
FlashCode, 2009-06-13::
WeeChat 0.2.6.3 released.
+
This version fixes gnutls detection.
FlashCode, 2009-04-18::
* FlashCode, 2009-04-18
WeeChat 0.2.6.2 released.
+
This version fixes a bug with charset decoding (like iso2022jp).
FlashCode, 2009-03-14::
* FlashCode, 2009-03-14
WeeChat 0.2.6.1 released.
+
This version fixes a major bug: crash with some special chars in IRC
messages.
FlashCode, 2007-09-06::
* FlashCode, 2007-09-06
WeeChat 0.2.6 released.
FlashCode, 2007-06-07::
* FlashCode, 2007-06-07
WeeChat 0.2.5 released.
FlashCode, 2007-03-29::
* FlashCode, 2007-03-29
WeeChat 0.2.4 released.
FlashCode, 2007-01-10::
* FlashCode, 2007-01-10
WeeChat 0.2.3 released.
+
This version fixes several major bugs of version 0.2.2.
All users of version 0.2.2 should upgrade to this version.
FlashCode, 2007-01-06::
WeeChat 0.2.2 released.
+
Important release notes:
* new charset plugin:
** for users of any previous version, all your charset settings
in weechat.rc will be LOST! You should save your weechat.rc
to keep your values and set them again with new "charset" plugin.
** for ISO users: history of channels may be without accents
(after /upgrade), this is not recoverable, but this is not a bug.
All new messages should be ok.
** be careful, now default encode is UTF-8 for all channels (before
it was terminal charset). If you still want to send messages as
ISO-8859-1, you should send either global encode or server specific
encode to ISO-8859-1.
For global encode: /setp charset.global.encode = "ISO-8859-1"
For server encode: (on server buffer) /charset encode ISO-8859-1
* new keys for topic scroll:
** new keys for scrolling topic: F9/F10
** key F10 was used for "infobar_clear" in previous WeeChat versions,
you have to manually rebind this key (except for new WeeChat users):
/key <press alt-k then F10> scroll_topic_right
which gives something like this:
/key meta2-21~ scroll_topic_right
* FlashCode, 2007-01-06
WeeChat 0.2.2 released.
Important release notes:
- new charset plugin:
- for users of any previous version, all your charset settings
in weechat.rc will be LOST! You should save your weechat.rc
to keep your values and set them again with new "charset" plugin.
- for ISO users: history of channels may be without accents
(after /upgrade), this is not recoverable, but this is not a bug.
All new messages should be ok.
- be careful, now default encode is UTF-8 for all channels (before
it was terminal charset). If you still want to send messages as
ISO-8859-1, you should send either global encode or server specific
encode to ISO-8859-1.
For global encode: /setp charset.global.encode = "ISO-8859-1"
For server encode: (on server buffer) /charset encode ISO-8859-1
- new keys for topic scroll:
- new keys for scrolling topic: F9/F10
- key F10 was used for "infobar_clear" in previous WeeChat versions,
you have to manually rebind this key (except for new WeeChat users):
/key <press alt-k then F10> scroll_topic_right
which gives something like this:
/key meta2-21~ scroll_topic_right
* FlashCode, 2006-10-01
FlashCode, 2006-10-01::
WeeChat 0.2.1 released.
FlashCode, 2006-08-19::
WeeChat 0.2.0 released.
+
Important release notes:
* if you upgraded with /upgrade in WeeChat, you should /disconnect and
then /reconnect on each server, to display properly channel/user modes
* if you're using plugins, you should remove some old plugins libraries
in WeeChat system library directory (commonly
/usr/local/lib/weechat/plugins): remove `lib*` files (like `libperl.*`,
`libpython.*`, ..) and keep only new libraries (`perl.*`, `python.*`, ..)
* FlashCode, 2006-08-19
WeeChat 0.2.0 released.
FlashCode, 2006-05-25::
WeeChat 0.1.9 released.
+
Important release notes:
* please close all DCC chat buffers before using /upgrade command,
- if you upgraded with /upgrade in WeeChat, you should /disconnect and
then /reconnect on each server, to display properly channel/user modes
- if you're using plugins, you should remove some old plugins libraries
in WeeChat system library directory (commonly
/usr/local/lib/weechat/plugins): remove lib* files (like libperl.*,
libpython.*, ..) and keep only new libraries (perl.*, python.*, ..)
* FlashCode, 2006-05-25
WeeChat 0.1.9 released.
Important release notes:
- please close all DCC chat buffers before using /upgrade command,
otherwise you may experience problems with DCC chats.
* some changes in script API: now timer handlers functions takes exactly
- some changes in script API: now timer handlers functions takes exactly
0 (zero) argument (in version 0.1.8, two arguments were mandatory but
not used: server and args)
FlashCode, 2006-03-18::
* FlashCode, 2006-03-18
WeeChat 0.1.8 released.
+
Important release notes:
* it is recommended for users of version 0.1.7 (or any older), to
- it is recommended for users of version 0.1.7 (or any older), to
replace values in setup file (~/.weechat/weechat.rc) :
** option: log_path: replace "~/.weechat/logs" by "%h/logs"
** option: plugins_path: replace "~/.weechat/plugins" by "%h/plugins"
+
"%h" is replaced by WeeChat home (default: ~/.weechat, may be overriden
by new command line arg --dir)
* after installing 0.1.8 (or with /upgrade), issue both commands (if you
- option: log_path: replace "~/.weechat/logs" by "%h/logs"
- option: plugins_path: replace "~/.weechat/plugins" by "%h/plugins"
"%h" is replaced by WeeChat home (default: ~/.weechat, may be overriden
by new command line arg --dir)
- after installing 0.1.8 (or with /upgrade), issue both commands (if you
didn't redefined these keys (alt-home/end):
/key unbind meta-meta2-1~
/key unbind meta-meta2-4~
@@ -108,72 +115,94 @@ FlashCode, 2006-03-18::
Alt-home/end were used for nicklist scroll, they're now replaced by
Alt-F11/F12.
FlashCode, 2006-01-14::
* FlashCode, 2006-01-14
WeeChat 0.1.7 released.
+
Important release notes:
* Ruby script plugin has been added but is experimental in this release.
- Ruby script plugin has been added but is experimental in this release.
You're warned!
* "/away" command was changed to be RFC 2812 compliant.
- "/away" command was changed to be RFC 2812 compliant.
Now argument is required to set away, and no argument means
remove away ("back"). Setting "irc_default_msg_away" has been removed.
FlashCode, 2005-11-11::
* FlashCode, 2005-11-11
WeeChat 0.1.6 released.
+
Important release notes:
* incompatibility with some old scripts: now all handlers have to return
- incompatibility with some old scripts: now all handlers have to return
a code for completion, and to do some actions about message to ignore
(please look at documentation for detail)
* on OpenBSD, the new option "plugins_extension" should be set to ".so.0.0"
- on OpenBSD, the new option "plugins_extension" should be set to ".so.0.0"
since the plugins names are ending by ".so.0.0" and not ".so"
* with new and full UTF-8 support, the option "look_charset_internal"
- with new and full UTF-8 support, the option "look_charset_internal"
should be set to blank for most cases. Forces it only if your locale is
not properly detected by WeeChat (you can set "UTF-8" or "ISO-8859-15"
for example, depending on your locale). WeeChat is looking for "UTF-8" in
your locale name at startup.
FlashCode, 2005-09-24::
* FlashCode, 2005-09-24
WeeChat 0.1.5 released.
FlashCode, 2005-07-30::
* FlashCode, 2005-07-30
WeeChat 0.1.4 released.
FlashCode, 2005-07-02::
* FlashCode, 2005-07-02
WeeChat 0.1.3 released.
FlashCode, 2005-05-21::
* FlashCode, 2005-05-21
WeeChat 0.1.2 released.
FlashCode, 2005-03-20::
* FlashCode, 2005-03-20
WeeChat 0.1.1 released.
FlashCode, 2005-02-12::
* FlashCode, 2005-02-12
WeeChat 0.1.0 released.
FlashCode, 2005-01-01::
* FlashCode, 2005-01-01
WeeChat 0.0.9 released.
FlashCode, 2004-10-30::
* FlashCode, 2004-10-30
WeeChat 0.0.8 released.
FlashCode, 2004-08-08::
* FlashCode, 2004-08-08
WeeChat 0.0.7 released.
FlashCode, 2004-06-05::
* FlashCode, 2004-06-05
WeeChat 0.0.6 released.
FlashCode, 2004-02-07::
* FlashCode, 2004-02-07
WeeChat 0.0.5 released.
FlashCode, 2004-01-01::
* FlashCode, 2004-01-01
WeeChat 0.0.4 released.
FlashCode, 2003-11-03::
* FlashCode, 2003-11-03
WeeChat 0.0.3 released.
FlashCode, 2003-10-05::
* FlashCode, 2003-10-05
WeeChat 0.0.2 released.
FlashCode, 2003-09-27::
* FlashCode, 2003-09-27
WeeChat 0.0.1 released.
+19 -16
View File
@@ -1,5 +1,5 @@
WeeChat Readme
==============
WeeChat - Wee Enhanced Environment for Chat
===========================================
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat
@@ -9,25 +9,23 @@ It is customizable and extensible with scripts.
Features
--------
* chat client with multi-protocols/servers connection
* many GUI (curses, Gtk, Qt) (1)
* small, fast and very light
* customizable and extensible with plugins (C, Perl, Python, Ruby, Lua, Tcl)
* compliant with IRC RFCs 1459, 2810, 2811, 2812 and 2813
* developed from scratch
* multi-platform (GNU/Linux, *BSD, Mac OS X, QNX, Windows & other) (2)
* free software, released under GPLv3
NOTE: (1) only Curses interface is available today
+
(2) Windows version is under construction
* IRC chat client with multi-server connection
* many GUI (curses, Gtk, Qt) (1)
* small, fast and very light
* customizable and extensible with plugins (C, Perl, Python, Ruby, Lua)
* compliant with RFC 1459,2810,2811,2812,2813
* developed from scratch
* multi-platform (GNU/Linux, *BSD, Mac OS X, QNX, Windows & other) (2)
* 100% GPL & free
Copyright
---------
WeeChat (c) Copyright 2003-2009 by FlashCode <flashcode@flashtux.org>
WeeChat (c) Copyright 2003-2007 by FlashCode <flashcode@flashtux.org>
(see AUTHORS file if you want to contact authors)
WeeChat is distributed under GPL licence (see COPYING file for complete license):
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -41,3 +39,8 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
---
(1) only Curses interface is available today
(2) Windows version is under construction
+5
View File
@@ -0,0 +1,5 @@
WeeChat - Wee Enhanced Environment for Chat
===========================================
WeeChat TODO:
please look at https://savannah.nongnu.org/task/?group=weechat
-83
View File
@@ -1,83 +0,0 @@
WeeChat Upgrade to 0.3.x
========================
FlashCode <flashcode@flashtux.org>
v0.3.0, 2009-09-06
This document lists major changes introduced in version 0.3.0 and not compatible
with versions 0.2.x.
Upgrade to version 0.3.x
------------------------
It is *NOT POSSIBLE* to use command `/upgrade` from a version 0.2.x to 0.3.x.
You have to quit your old WeeChat, then run new version.
Of course, command `/upgrade` is working fine once you'll be with 0.3.x to
upgrade to another 0.3.x (unless this command is broken again, please look
at release notes (file 'NEWS') for version you're currently installing).
Configuration files
-------------------
Changes with previous versions
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
New configuration files (`*.conf`) are not compatible with old files (`*.rc`).
Name of options is similar to old versions, but there is now one configuration
file by plugin, and one file for WeeChat core.
There is *no automatic conversion* for your old options to new configuration files,
so you'll have to setup again your IRC servers and all other options.
In WeeChat, option names are now with format: `plugin.section.option` (for
WeeChat core, `plugin` is `weechat`).
Examples:
* WeeChat options: `weechat.xxx.yyy`
* IRC options: `irc.xxx.yyy`
You should read quickstart guide to be familiar with basic commands and syntax
(some commands like `/server` have changed): http://www.weechat.org/doc
List of configuration files
~~~~~~~~~~~~~~~~~~~~~~~~~~~
* Old configuration files:
** weechat.rc
** plugins.rc
* New configuration files are now (with default plugins):
** weechat.conf
** alias.conf
** aspell.conf
** charset.conf
** irc.conf
** jabber.conf
** logger.conf
** plugins.conf
** relay.conf
** xfer.conf
Plugin API
----------
Plugin API has been rewritten and is not compatible with previous versions.
Accordingly, scripts and plugins must have been designed for version 0.3.x to
be loaded into WeeChat.
There is no migration script today to convert old script to new API.
Therefore, if you plan to use old script, you'll have to wait for new version
or you can convert script yourself and send us new version ;)
You can download scripts for new API on plugins page:
http://www.weechat.org/plugins
More information about new API is available on wiki:
http://wiki.flashtux.org/wiki/WeeChat_0.3.0
and http://wiki.flashtux.org/wiki/WeeChat_0.3.0_API
+1 -1
View File
@@ -1,6 +1,6 @@
#!/bin/sh
#
# Copyright (c) 2003-2009 FlashCode <flashcode@flashtux.org>
# Copyright (c) 2003-2007 FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
-43
View File
@@ -1,43 +0,0 @@
# Copyright (c) 2003-2009 FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# - Find Asciidoc
# This module finds if asciidoc (version 8 or newer) is installed.
IF (ASCIIDOC_FOUND)
# Already in cache, be silent
SET(ASCIIDOC_FIND_QUIETLY TRUE)
ENDIF (ASCIIDOC_FOUND)
FIND_PROGRAM(
ASCIIDOC_EXECUTABLE asciidoc
PATHS /bin /usr/bin /usr/local/bin /usr/pkg/bin
)
IF(ASCIIDOC_EXECUTABLE)
EXECUTE_PROCESS(
COMMAND ${ASCIIDOC_EXECUTABLE} --version
OUTPUT_VARIABLE ASCIIDOC_VERSION
)
IF(${ASCIIDOC_VERSION} MATCHES "asciidoc 8.*")
SET(ASCIIDOC_FOUND TRUE)
ENDIF(${ASCIIDOC_VERSION} MATCHES "asciidoc 8.*")
MARK_AS_ADVANCED(
ASCIIDOC_EXECUTABLE
)
ENDIF(ASCIIDOC_EXECUTABLE)
+1 -1
View File
@@ -1,4 +1,4 @@
# Copyright (c) 2003-2009 FlashCode <flashcode@flashtux.org>
# Copyright (c) 2003-2007 FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
+1 -1
View File
@@ -1,4 +1,4 @@
# Copyright (c) 2003-2009 FlashCode <flashcode@flashtux.org>
# Copyright (c) 2003-2007 FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
+1 -1
View File
@@ -1,4 +1,4 @@
# Copyright (c) 2003-2009 FlashCode <flashcode@flashtux.org>
# Copyright (c) 2003-2007 FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
+1 -1
View File
@@ -1,4 +1,4 @@
# Copyright (c) 2003-2009 FlashCode <flashcode@flashtux.org>
# Copyright (c) 2003-2007 FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
+3 -6
View File
@@ -1,4 +1,4 @@
# Copyright (c) 2003-2009 FlashCode <flashcode@flashtux.org>
# Copyright (c) 2003-2007 FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -39,7 +39,6 @@ FIND_PATH(
FIND_LIBRARY(
LUA51_LIBRARY NAMES lua51 lua5.1 lua-5.1 lua
PATHS /lib /usr/lib /usr/local/lib /usr/pkg/lib
PATH_SUFFIXES lua51 lua5.1 lua-5.1
)
IF(LUA51_INCLUDE_PATH AND LUA51_LIBRARY)
@@ -57,13 +56,11 @@ ELSE(LUA51_INCLUDE_PATH AND LUA51_LIBRARY)
FIND_LIBRARY(
LUA50_LIBRARY NAMES lua50 lua5.0 lua-5.0 lua
PATHS /lib /usr/lib /usr/local/lib /usr/pkg/lib
PATH_SUFFIXES lua50 lua5.0 lua-5.0 lua
)
FIND_LIBRARY(
LUALIB50_LIBRARY NAMES lualib50 lualib5.0 lualib-5.0 lualib
PATHS /lib /usr/lib /usr/local/lib /usr/pkg/lib
PATH_SUFFIXES lua50 lua5.0 lua-5.0 lua
LUALIB50_LIBRARY NAMES lualib50 lualib5.0 lualib-5.0 lualib
PATHS /lib /usr/lib /usr/local/lib /usr/pkg/lib
)
IF(LUA50_INCLUDE_PATH AND LUA50_LIBRARY AND LUALIB50_LIBRARY)
+1 -1
View File
@@ -1,4 +1,4 @@
# Copyright (c) 2003-2009 FlashCode <flashcode@flashtux.org>
# Copyright (c) 2003-2007 FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
+1 -1
View File
@@ -1,4 +1,4 @@
# Copyright (c) 2003-2009 FlashCode <flashcode@flashtux.org>
# Copyright (c) 2003-2007 FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
-360
View File
@@ -1,360 +0,0 @@
# - a pkg-config module for CMake
#
# Usage:
# pkg_check_modules(<PREFIX> [REQUIRED] <MODULE> [<MODULE>]*)
# checks for all the given modules
#
# pkg_search_module(<PREFIX> [REQUIRED] <MODULE> [<MODULE>]*)
# checks for given modules and uses the first working one
#
# When the 'REQUIRED' argument was set, macros will fail with an error
# when module(s) could not be found
#
# It sets the following variables:
# PKG_CONFIG_FOUND ... true iff pkg-config works on the system
# PKG_CONFIG_EXECUTABLE ... pathname of the pkg-config program
# <PREFIX>_FOUND ... set to 1 iff module(s) exist
#
# For the following variables two sets of values exist; first one is the
# common one and has the given PREFIX. The second set contains flags
# which are given out when pkgconfig was called with the '--static'
# option.
# <XPREFIX>_LIBRARIES ... only the libraries (w/o the '-l')
# <XPREFIX>_LIBRARY_DIRS ... the paths of the libraries (w/o the '-L')
# <XPREFIX>_LDFLAGS ... all required linker flags
# <XPREFIX>_LDFLAGS_OTHER ... all other linker flags
# <XPREFIX>_INCLUDE_DIRS ... the '-I' preprocessor flags (w/o the '-I')
# <XPREFIX>_CFLAGS ... all required cflags
# <XPREFIX>_CFLAGS_OTHER ... the other compiler flags
#
# <XPREFIX> = <PREFIX> for common case
# <XPREFIX> = <PREFIX>_STATIC for static linking
#
# There are some special variables whose prefix depends on the count
# of given modules. When there is only one module, <PREFIX> stays
# unchanged. When there are multiple modules, the prefix will be
# changed to <PREFIX>_<MODNAME>:
# <XPREFIX>_VERSION ... version of the module
# <XPREFIX>_PREFIX ... prefix-directory of the module
# <XPREFIX>_INCLUDEDIR ... include-dir of the module
# <XPREFIX>_LIBDIR ... lib-dir of the module
#
# <XPREFIX> = <PREFIX> when |MODULES| == 1, else
# <XPREFIX> = <PREFIX>_<MODNAME>
#
# A <MODULE> parameter can have the following formats:
# {MODNAME} ... matches any version
# {MODNAME}>={VERSION} ... at least version <VERSION> is required
# {MODNAME}={VERSION} ... exactly version <VERSION> is required
# {MODNAME}<={VERSION} ... modules must not be newer than <VERSION>
#
# Examples
# pkg_check_modules (GLIB2 glib-2.0)
#
# pkg_check_modules (GLIB2 glib-2.0>=2.10)
# requires at least version 2.10 of glib2 and defines e.g.
# GLIB2_VERSION=2.10.3
#
# pkg_check_modules (FOO glib-2.0>=2.10 gtk+-2.0)
# requires both glib2 and gtk2, and defines e.g.
# FOO_glib-2.0_VERSION=2.10.3
# FOO_gtk+-2.0_VERSION=2.8.20
#
# pkg_check_modules (XRENDER REQUIRED xrender)
# defines e.g.:
# XRENDER_LIBRARIES=Xrender;X11
# XRENDER_STATIC_LIBRARIES=Xrender;X11;pthread;Xau;Xdmcp
#
# pkg_search_module (BAR libxml-2.0 libxml2 libxml>=2)
# Copyright (C) 2006 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
#
# Redistribution and use, with or without modification, are permitted
# provided that the following conditions are met:
#
# 1. Redistributions must retain the above copyright notice, this
# list of conditions and the following disclaimer.
# 2. The name of the author may not be used to endorse or promote
# products derived from this software without specific prior
# written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
# GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
### Common stuff ####
set(PKG_CONFIG_VERSION 1)
set(PKG_CONFIG_FOUND 0)
find_program(PKG_CONFIG_EXECUTABLE NAMES pkg-config DOC "pkg-config executable")
mark_as_advanced(PKG_CONFIG_EXECUTABLE)
if(PKG_CONFIG_EXECUTABLE)
set(PKG_CONFIG_FOUND 1)
endif(PKG_CONFIG_EXECUTABLE)
# Unsets the given variables
macro(_pkgconfig_unset var)
set(${var} "" CACHE INTERNAL "")
endmacro(_pkgconfig_unset)
macro(_pkgconfig_set var value)
set(${var} ${value} CACHE INTERNAL "")
endmacro(_pkgconfig_set)
# Invokes pkgconfig, cleans up the result and sets variables
macro(_pkgconfig_invoke _pkglist _prefix _varname _regexp)
set(_pkgconfig_invoke_result)
execute_process(
COMMAND ${PKG_CONFIG_EXECUTABLE} ${ARGN} ${_pkglist}
OUTPUT_VARIABLE _pkgconfig_invoke_result
RESULT_VARIABLE _pkgconfig_failed)
if (_pkgconfig_failed)
set(_pkgconfig_${_varname} "")
_pkgconfig_unset(${_prefix}_${_varname})
else(_pkgconfig_failed)
string(REGEX REPLACE "[\r\n]" " " _pkgconfig_invoke_result "${_pkgconfig_invoke_result}")
string(REGEX REPLACE " +$" "" _pkgconfig_invoke_result "${_pkgconfig_invoke_result}")
if (NOT ${_regexp} STREQUAL "")
string(REGEX REPLACE "${_regexp}" " " _pkgconfig_invoke_result "${_pkgconfig_invoke_result}")
endif(NOT ${_regexp} STREQUAL "")
separate_arguments(_pkgconfig_invoke_result)
#message(STATUS " ${_varname} ... ${_pkgconfig_invoke_result}")
set(_pkgconfig_${_varname} ${_pkgconfig_invoke_result})
_pkgconfig_set(${_prefix}_${_varname} "${_pkgconfig_invoke_result}")
endif(_pkgconfig_failed)
endmacro(_pkgconfig_invoke)
# Invokes pkgconfig two times; once without '--static' and once with
# '--static'
macro(_pkgconfig_invoke_dyn _pkglist _prefix _varname cleanup_regexp)
_pkgconfig_invoke("${_pkglist}" ${_prefix} ${_varname} "${cleanup_regexp}" ${ARGN})
_pkgconfig_invoke("${_pkglist}" ${_prefix} STATIC_${_varname} "${cleanup_regexp}" --static ${ARGN})
endmacro(_pkgconfig_invoke_dyn)
# Splits given arguments into options and a package list
macro(_pkgconfig_parse_options _result _is_req)
set(${_is_req} 0)
foreach(_pkg ${ARGN})
if (_pkg STREQUAL "REQUIRED")
set(${_is_req} 1)
endif (_pkg STREQUAL "REQUIRED")
endforeach(_pkg ${ARGN})
set(${_result} ${ARGN})
list(REMOVE_ITEM ${_result} "REQUIRED")
endmacro(_pkgconfig_parse_options)
###
macro(_pkg_check_modules_internal _is_required _is_silent _prefix)
_pkgconfig_unset(${_prefix}_FOUND)
_pkgconfig_unset(${_prefix}_VERSION)
_pkgconfig_unset(${_prefix}_PREFIX)
_pkgconfig_unset(${_prefix}_INCLUDEDIR)
_pkgconfig_unset(${_prefix}_LIBDIR)
_pkgconfig_unset(${_prefix}_LIBS)
_pkgconfig_unset(${_prefix}_LIBS_L)
_pkgconfig_unset(${_prefix}_LIBS_PATHS)
_pkgconfig_unset(${_prefix}_LIBS_OTHER)
_pkgconfig_unset(${_prefix}_CFLAGS)
_pkgconfig_unset(${_prefix}_CFLAGS_I)
_pkgconfig_unset(${_prefix}_CFLAGS_OTHER)
_pkgconfig_unset(${_prefix}_STATIC_LIBDIR)
_pkgconfig_unset(${_prefix}_STATIC_LIBS)
_pkgconfig_unset(${_prefix}_STATIC_LIBS_L)
_pkgconfig_unset(${_prefix}_STATIC_LIBS_PATHS)
_pkgconfig_unset(${_prefix}_STATIC_LIBS_OTHER)
_pkgconfig_unset(${_prefix}_STATIC_CFLAGS)
_pkgconfig_unset(${_prefix}_STATIC_CFLAGS_I)
_pkgconfig_unset(${_prefix}_STATIC_CFLAGS_OTHER)
# create a better addressable variable of the modules and calculate its size
set(_pkg_check_modules_list ${ARGN})
list(LENGTH _pkg_check_modules_list _pkg_check_modules_cnt)
if(PKG_CONFIG_EXECUTABLE)
# give out status message telling checked module
if (NOT ${_is_silent})
if (_pkg_check_modules_cnt EQUAL 1)
message(STATUS "checking for module '${_pkg_check_modules_list}'")
else(_pkg_check_modules_cnt EQUAL 1)
message(STATUS "checking for modules '${_pkg_check_modules_list}'")
endif(_pkg_check_modules_cnt EQUAL 1)
endif(NOT ${_is_silent})
set(_pkg_check_modules_packages)
set(_pkg_check_modules_failed)
# iterate through module list and check whether they exist and match the required version
foreach (_pkg_check_modules_pkg ${_pkg_check_modules_list})
set(_pkg_check_modules_exist_query)
# check whether version is given
if (_pkg_check_modules_pkg MATCHES ".*(>=|=|<=).*")
string(REGEX REPLACE "(.*[^><])(>=|=|<=)(.*)" "\\1" _pkg_check_modules_pkg_name "${_pkg_check_modules_pkg}")
string(REGEX REPLACE "(.*[^><])(>=|=|<=)(.*)" "\\2" _pkg_check_modules_pkg_op "${_pkg_check_modules_pkg}")
string(REGEX REPLACE "(.*[^><])(>=|=|<=)(.*)" "\\3" _pkg_check_modules_pkg_ver "${_pkg_check_modules_pkg}")
else(_pkg_check_modules_pkg MATCHES ".*(>=|=|<=).*")
set(_pkg_check_modules_pkg_name "${_pkg_check_modules_pkg}")
set(_pkg_check_modules_pkg_op)
set(_pkg_check_modules_pkg_ver)
endif(_pkg_check_modules_pkg MATCHES ".*(>=|=|<=).*")
# handle the operands
if (_pkg_check_modules_pkg_op STREQUAL ">=")
list(APPEND _pkg_check_modules_exist_query --atleast-version)
endif(_pkg_check_modules_pkg_op STREQUAL ">=")
if (_pkg_check_modules_pkg_op STREQUAL "=")
list(APPEND _pkg_check_modules_exist_query --exact-version)
endif(_pkg_check_modules_pkg_op STREQUAL "=")
if (_pkg_check_modules_pkg_op STREQUAL "<=")
list(APPEND _pkg_check_modules_exist_query --max-version)
endif(_pkg_check_modules_pkg_op STREQUAL "<=")
# create the final query which is of the format:
# * --atleast-version <version> <pkg-name>
# * --exact-version <version> <pkg-name>
# * --max-version <version> <pkg-name>
# * --exists <pkg-name>
if (_pkg_check_modules_pkg_op)
list(APPEND _pkg_check_modules_exist_query "${_pkg_check_modules_pkg_ver}")
else(_pkg_check_modules_pkg_op)
list(APPEND _pkg_check_modules_exist_query --exists)
endif(_pkg_check_modules_pkg_op)
_pkgconfig_unset(${_prefix}_${_pkg_check_modules_pkg_name}_VERSION)
_pkgconfig_unset(${_prefix}_${_pkg_check_modules_pkg_name}_PREFIX)
_pkgconfig_unset(${_prefix}_${_pkg_check_modules_pkg_name}_INCLUDEDIR)
_pkgconfig_unset(${_prefix}_${_pkg_check_modules_pkg_name}_LIBDIR)
list(APPEND _pkg_check_modules_exist_query "${_pkg_check_modules_pkg_name}")
list(APPEND _pkg_check_modules_packages "${_pkg_check_modules_pkg_name}")
# execute the query
execute_process(
COMMAND ${PKG_CONFIG_EXECUTABLE} ${_pkg_check_modules_exist_query}
RESULT_VARIABLE _pkgconfig_retval)
# evaluate result and tell failures
if (_pkgconfig_retval)
if(NOT ${_is_silent})
message(STATUS " package '${_pkg_check_modules_pkg}' not found")
endif(NOT ${_is_silent})
set(_pkg_check_modules_failed 1)
endif(_pkgconfig_retval)
endforeach(_pkg_check_modules_pkg)
if(_pkg_check_modules_failed)
# fail when requested
if (${_is_required})
message(SEND_ERROR "A required package was not found")
endif (${_is_required})
else(_pkg_check_modules_failed)
# when we are here, we checked whether requested modules
# exist. Now, go through them and set variables
_pkgconfig_set(${_prefix}_FOUND 1)
list(LENGTH _pkg_check_modules_packages pkg_count)
# iterate through all modules again and set individual variables
foreach (_pkg_check_modules_pkg ${_pkg_check_modules_packages})
# handle case when there is only one package required
if (pkg_count EQUAL 1)
set(_pkg_check_prefix "${_prefix}")
else(pkg_count EQUAL 1)
set(_pkg_check_prefix "${_prefix}_${_pkg_check_modules_pkg}")
endif(pkg_count EQUAL 1)
_pkgconfig_invoke(${_pkg_check_modules_pkg} "${_pkg_check_prefix}" VERSION "" --modversion )
_pkgconfig_invoke(${_pkg_check_modules_pkg} "${_pkg_check_prefix}" PREFIX "" --variable=prefix )
_pkgconfig_invoke(${_pkg_check_modules_pkg} "${_pkg_check_prefix}" INCLUDEDIR "" --variable=includedir )
_pkgconfig_invoke(${_pkg_check_modules_pkg} "${_pkg_check_prefix}" LIBDIR "" --variable=libdir )
message(STATUS " found ${_pkg_check_modules_pkg}, version ${_pkgconfig_VERSION}")
endforeach(_pkg_check_modules_pkg)
# set variables which are combined for multiple modules
_pkgconfig_invoke_dyn("${_pkg_check_modules_packages}" "${_prefix}" LIBRARIES "(^| )-l" --libs-only-l )
_pkgconfig_invoke_dyn("${_pkg_check_modules_packages}" "${_prefix}" LIBRARY_DIRS "(^| )-L" --libs-only-L )
_pkgconfig_invoke_dyn("${_pkg_check_modules_packages}" "${_prefix}" LDFLAGS "" --libs )
_pkgconfig_invoke_dyn("${_pkg_check_modules_packages}" "${_prefix}" LDFLAGS_OTHER "" --libs-only-other )
_pkgconfig_invoke_dyn("${_pkg_check_modules_packages}" "${_prefix}" INCLUDE_DIRS "(^| )-I" --cflags-only-I )
_pkgconfig_invoke_dyn("${_pkg_check_modules_packages}" "${_prefix}" CFLAGS "" --cflags )
_pkgconfig_invoke_dyn("${_pkg_check_modules_packages}" "${_prefix}" CFLAGS_OTHER "" --cflags-only-other )
endif(_pkg_check_modules_failed)
else(PKG_CONFIG_EXECUTABLE)
if (${_is_required})
message(SEND_ERROR "pkg-config tool not found")
endif (${_is_required})
endif(PKG_CONFIG_EXECUTABLE)
endmacro(_pkg_check_modules_internal)
###
### User visible macros start here
###
###
macro(pkg_check_modules _prefix _module0)
# check cached value
if (NOT DEFINED __pkg_config_checked_${_prefix} OR __pkg_config_checked_${_prefix} LESS ${PKG_CONFIG_VERSION})
_pkgconfig_parse_options (_pkg_modules _pkg_is_required "${_module0}" ${ARGN})
_pkg_check_modules_internal("${_pkg_is_required}" 0 "${_prefix}" ${_pkg_modules})
_pkgconfig_set(__pkg_config_checked_${_prefix} ${PKG_CONFIG_VERSION})
endif(NOT DEFINED __pkg_config_checked_${_prefix} OR __pkg_config_checked_${_prefix} LESS ${PKG_CONFIG_VERSION})
endmacro(pkg_check_modules)
###
macro(pkg_search_module _prefix _module0)
# check cached value
if (NOT DEFINED __pkg_config_checked_${_prefix} OR __pkg_config_checked_${_prefix} LESS ${PKG_CONFIG_VERSION} OR NOT ${_prefix}_FOUND)
set(_pkg_modules_found 0)
_pkgconfig_parse_options(_pkg_modules_alt _pkg_is_required "${_module0}" ${ARGN})
message(STATUS "checking for one of the modules '${_pkg_modules_alt}'")
# iterate through all modules and stop at the first working one.
foreach(_pkg_alt ${_pkg_modules_alt})
if(NOT _pkg_modules_found)
_pkg_check_modules_internal(0 1 "${_prefix}" "${_pkg_alt}")
endif(NOT _pkg_modules_found)
if (${_prefix}_FOUND)
set(_pkg_modules_found 1)
endif(${_prefix}_FOUND)
endforeach(_pkg_alt)
if (NOT ${_prefix}_FOUND)
if(${_pkg_is_required})
message(SEND_ERROR "None of the required '${_pkg_modules_alt}' found")
endif(${_pkg_is_required})
endif(NOT ${_prefix}_FOUND)
_pkgconfig_set(__pkg_config_checked_${_prefix} ${PKG_CONFIG_VERSION})
endif(NOT DEFINED __pkg_config_checked_${_prefix} OR __pkg_config_checked_${_prefix} LESS ${PKG_CONFIG_VERSION} OR NOT ${_prefix}_FOUND)
endmacro(pkg_search_module)
### Local Variables:
### mode: cmake
### End:
+3 -3
View File
@@ -1,4 +1,4 @@
# Copyright (c) 2003-2009 FlashCode <flashcode@flashtux.org>
# Copyright (c) 2003-2007 FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -30,7 +30,7 @@ IF(PYTHON_FOUND)
ENDIF(PYTHON_FOUND)
FIND_PROGRAM(PYTHON_EXECUTABLE
NAMES python python2.6 python2.5 python2.4 python2.3 python2.2
NAMES python python2.5 python2.4 python2.3 python2.2
PATHS /usr/bin /usr/local/bin /usr/pkg/bin
)
@@ -61,7 +61,7 @@ IF(PYTHON_EXECUTABLE)
)
FIND_LIBRARY(PYTHON_LIBRARY
NAMES python python2.6 python2.5 python2.4 python2.3 python2.2
NAMES python python2.5 python2.4 python2.3 python2.2
PATHS ${PYTHON_POSSIBLE_LIB_PATH}
)
+1 -1
View File
@@ -1,4 +1,4 @@
# Copyright (c) 2003-2009 FlashCode <flashcode@flashtux.org>
# Copyright (c) 2003-2007 FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
-159
View File
@@ -1,159 +0,0 @@
# - Find Tcl includes and libraries.
# This module finds if Tcl is installed and determines where the
# include files and libraries are. It also determines what the name of
# the library is. This code sets the following variables:
# TCL_FOUND = Tcl was found
# TK_FOUND = Tk was found
# TCLTK_FOUND = Tcl and Tk were found
# TCL_LIBRARY = path to Tcl library (tcl tcl80)
# TCL_INCLUDE_PATH = path to where tcl.h can be found
# TCL_TCLSH = path to tclsh binary (tcl tcl80)
# TK_LIBRARY = path to Tk library (tk tk80 etc)
# TK_INCLUDE_PATH = path to where tk.h can be found
# TK_WISH = full path to the wish executable
#
# In an effort to remove some clutter and clear up some issues for people
# who are not necessarily Tcl/Tk gurus/developpers, some variables were
# moved or removed. Changes compared to CMake 2.4 are:
# - The stub libraries are now found in FindTclStub.cmake
# => they were only useful for people writing Tcl/Tk extensions.
# - TCL_LIBRARY_DEBUG and TK_LIBRARY_DEBUG were removed.
# => these libs are not packaged by default with Tcl/Tk distributions.
# Even when Tcl/Tk is built from source, several flavors of debug libs
# are created and there is no real reason to pick a single one
# specifically (say, amongst tcl84g, tcl84gs, or tcl84sgx).
# Let's leave that choice to the user by allowing him to assign
# TCL_LIBRARY to any Tcl library, debug or not.
# - TK_INTERNAL_PATH was removed.
# => this ended up being only a Win32 variable, and there is a lot of
# confusion regarding the location of this file in an installed Tcl/Tk
# tree anyway (see 8.5 for example). If you need the internal path at
# this point it is safer you ask directly where the *source* tree is
# and dig from there.
IF(TCL_FOUND)
SET(TCL_FIND_QUIETLY TRUE)
ENDIF(TCL_FOUND)
INCLUDE(CMakeFindFrameworks)
INCLUDE(FindTclsh)
GET_FILENAME_COMPONENT(TCL_TCLSH_PATH "${TCL_TCLSH}" PATH)
GET_FILENAME_COMPONENT(TCL_TCLSH_PATH_PARENT "${TCL_TCLSH_PATH}" PATH)
STRING(REGEX REPLACE
"^.*tclsh([0-9]\\.*[0-9]).*$" "\\1" TCL_TCLSH_VERSION "${TCL_TCLSH}")
GET_FILENAME_COMPONENT(TCL_INCLUDE_PATH_PARENT "${TCL_INCLUDE_PATH}" PATH)
GET_FILENAME_COMPONENT(TCL_LIBRARY_PATH "${TCL_LIBRARY}" PATH)
GET_FILENAME_COMPONENT(TCL_LIBRARY_PATH_PARENT "${TCL_LIBRARY_PATH}" PATH)
STRING(REGEX REPLACE
"^.*tcl([0-9]\\.*[0-9]).*$" "\\1" TCL_VERSION "${TCL_LIBRARY}")
SET(TCL_POSSIBLE_LIB_PATHS
"${TCL_INCLUDE_PATH_PARENT}/lib"
"${TCL_LIBRARY_PATH}"
"${TCL_TCLSH_PATH_PARENT}/lib"
/usr/lib
/usr/local/lib
)
IF(WIN32)
GET_FILENAME_COMPONENT(
ActiveTcl_CurrentVersion
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\ActiveState\\ActiveTcl;CurrentVersion]"
NAME)
SET(TCLTK_POSSIBLE_LIB_PATHS ${TCLTK_POSSIBLE_LIB_PATHS}
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\ActiveState\\ActiveTcl\\${ActiveTcl_CurrentVersion}]/lib"
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.6;Root]/lib"
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.5;Root]/lib"
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.4;Root]/lib"
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.3;Root]/lib"
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.2;Root]/lib"
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.0;Root]/lib"
"$ENV{ProgramFiles}/Tcl/Lib"
"C:/Program Files/Tcl/lib"
"C:/Tcl/lib"
)
ENDIF(WIN32)
FIND_LIBRARY(TCL_LIBRARY
NAMES
tcl
tcl${TCL_VERSION} tcl${TCL_TCLSH_VERSION}
tcl86 tcl8.6
tcl85 tcl8.5
tcl84 tcl8.4
tcl83 tcl8.3
tcl82 tcl8.2
tcl80 tcl8.0
PATHS ${TCL_POSSIBLE_LIB_PATHS}
)
CMAKE_FIND_FRAMEWORKS(Tcl)
SET(TCL_FRAMEWORK_INCLUDES)
IF(Tcl_FRAMEWORKS)
IF(NOT TCL_INCLUDE_PATH)
FOREACH(dir ${Tcl_FRAMEWORKS})
SET(TCL_FRAMEWORK_INCLUDES ${TCL_FRAMEWORK_INCLUDES} ${dir}/Headers)
ENDFOREACH(dir)
ENDIF(NOT TCL_INCLUDE_PATH)
ENDIF(Tcl_FRAMEWORKS)
SET(TCL_POSSIBLE_INCLUDE_PATHS
"${TCL_LIBRARY_PATH_PARENT}/include"
"${TCL_INCLUDE_PATH}"
${TCL_FRAMEWORK_INCLUDES}
"${TCL_TCLSH_PATH_PARENT}/include"
/usr/include
/usr/local/include
/usr/include/tcl${TCL_VERSION}
/usr/include/tcl8.6
/usr/include/tcl8.5
/usr/include/tcl8.4
/usr/include/tcl8.3
/usr/include/tcl8.2
/usr/include/tcl8.0
/usr/local/include/tcl${TCL_VERSION}
/usr/local/include/tcl8.6
/usr/local/include/tcl8.5
/usr/local/include/tcl8.4
/usr/local/include/tcl8.3
/usr/local/include/tcl8.2
/usr/local/include/tcl8.0
)
IF(WIN32)
SET(TCLTK_POSSIBLE_INCLUDE_PATHS ${TCLTK_POSSIBLE_INCLUDE_PATHS}
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\ActiveState\\ActiveTcl\\${ActiveTcl_CurrentVersion}]/include"
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.6;Root]/include"
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.5;Root]/include"
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.4;Root]/include"
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.3;Root]/include"
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.2;Root]/include"
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.0;Root]/include"
"$ENV{ProgramFiles}/Tcl/include"
"C:/Program Files/Tcl/include"
"C:/Tcl/include"
)
ENDIF(WIN32)
FIND_PATH(TCL_INCLUDE_PATH
NAMES tcl.h
PATHS ${TCL_POSSIBLE_INCLUDE_PATHS}
)
IF(TCL_LIBRARY AND TCL_INCLUDE_PATH)
SET(TCL_VERSION ${TCL_VERSION})
SET(TCL_LIBARY ${TCL_LIBRARY})
SET(TCL_INCLUDE_PATH ${TCL_INCLUDE_PATH})
SET(TCL_FOUND TRUE)
ENDIF(TCL_LIBRARY AND TCL_INCLUDE_PATH)
MARK_AS_ADVANCED(
TCL_INCLUDE_PATH
TCL_LIBRARY
TCL_VERSION
)
-16
View File
@@ -1,19 +1,3 @@
# Copyright (c) 2003-2009 FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
IF(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt")
MESSAGE(FATAL_ERROR "Cannot find install manifest: \"@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt\"")
ENDIF(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt")
-17
View File
@@ -1,21 +1,4 @@
#!/bin/sh
#
# Copyright (c) 2003-2009 FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
VERSION=@VERSION@
SRCROOT=@CMAKE_SOURCE_DIR@
BUILDDIR=@CMAKE_BINARY_DIR@
-2
View File
@@ -18,9 +18,7 @@
#cmakedefine HAVE_FLOCK
#cmakedefine HAVE_LANGINFO_CODESET
#cmakedefine HAVE_STRNDUP
#cmakedefine HAVE_BACKTRACE
#cmakedefine ICONV_2ARG_IS_CONST 1
#cmakedefine HAVE_TCL_CREATE_NS
#define PACKAGE_VERSION "@VERSION@"
#define PACKAGE "@PROJECT_NAME@"
#define PACKAGE_NAME "@PROJECT_NAME@"
+253 -433
View File
File diff suppressed because it is too large Load Diff
Vendored
+4 -7
View File
@@ -1,9 +1,6 @@
weechat (0.3.0~rc3-1) experimental; urgency=low
weechat (0.1.6-1) unstable; urgency=low
This release introduces major changes. Large part of code was
rewritten without keeping compatibility with older versions.
This release introduces some incompatible changes with old scripts and locale
support, you can read the upstream NEWS file for more information.
Please refer to the file /usr/share/doc/weechat-core/UPGRADE_0.3
for more informations on upgrade from a version 0.2.x to 0.3.x.
-- Emmanuel Bouthenot <kolter@openics.org> Sun, 09 Aug 2009 14:38:50 +0000
-- Julien Louis <ptitlouis@sysif.net> Fri, 11 Nov 2005 20:45:46 +0100
+126 -113
View File
@@ -1,116 +1,3 @@
weechat (0.3.0~rc3-1) experimental; urgency=low
* New (major) upstream release.
- Fix the excessive number of wakeups (Closes: #461945)
* Remove patches (merged upstream).
* Update debian/copyright: add new copyright holder.
* Packaging changes:
- Drop weechat-common
- Add weechat-doc (Documentation)
- Add weechat-core (locales files, essential plugins)
- Add weechat-dev (plugins development files)
- Add weechat-dbg (gdb debugging symbols)
* Switch packaging from cdbs to debhelper 7.
* Update packages descriptions.
* Add a lintian-override against manpage line wrapping error.
* Update Standards-Version to 3.8.2.
* Add file UPGRADE_0.3 to doc files.
* Update debian/NEWS about major changes in this release.
-- Emmanuel Bouthenot <kolter@openics.org> Sun, 09 Aug 2009 06:42:45 +0000
weechat (0.2.6.3-1) unstable; urgency=low
* New upstream release
- drop the usage of the deprecated libgnutls-config script to detect
gnutls (Closes: #529912).
-- Emmanuel Bouthenot <kolter@openics.org> Sat, 13 Jun 2009 21:47:56 +0000
weechat (0.2.6.2-1) unstable; urgency=low
* New upstream release
* Add a patch which fix typos in aspell plugin.
* Refresh patch multiple_ip_servers according to the new upstream release.
-- Emmanuel Bouthenot <kolter@openics.org> Sun, 19 Apr 2009 10:23:26 +0000
weechat (0.2.6.1-1) unstable; urgency=low
* New upstream release which includes a fix against a possible remote
Denial of Service (crash) while receiving messages with special chars
(Closes: #519940).
* Refresh patch multiple_ip_servers according to the new upstream release.
* Update Standards-Version to 3.8.1.
-- Emmanuel Bouthenot <kolter@openics.org> Mon, 16 Mar 2009 13:18:29 +0000
weechat (0.2.6-3) unstable; urgency=low
* Add a patch to make weechat try to connect other server IPs
when the first one failed. Thanks to Lionel Elie Mamane for
his patch (Closes: #498610).
* Rename patch 01_perlembed_init_macros to perlembed_init_macros.
* Update debian/control:
- add ${misc:Depends}
- update descriptions
* Update debian/copyright about debian packaging.
* Add Vcs-Browser and Vcs-Git fields in debian/control.
* Add DM-Upload-Allowed field.
-- Emmanuel Bouthenot <kolter@openics.org> Sat, 21 Feb 2009 18:34:08 +0000
weechat (0.2.6-2) unstable; urgency=low
* Setting me as maintainer with previous maintainer agreement.
* Remove Uploaders field.
* Add quilt to Build-Depends.
* Add a patch to fix probable pthread mutex locks on hppa architecture
with perl plugin (Closes: #495080).
* Add a Homepage field.
* Update Standards-Version to 3.8.0.
* Reformat NEWS file to avoid lintian warnings.
* Fix typos in control file.
-- Emmanuel Bouthenot <kolter@openics.org> Sun, 07 Sep 2008 19:39:42 +0000
weechat (0.2.6-1) unstable; urgency=low
* New Upstream Version
* Switch to GPLv3 (update copyright)
* Update menu entry
-- Emmanuel Bouthenot <kolter@openics.org> Thu, 06 Sep 2007 20:10:26 +0200
weechat (0.2.5-1) unstable; urgency=low
* New Upstream Version
-- Julien Louis <ptitlouis@sysif.net> Tue, 12 Jun 2007 19:42:15 +0200
weechat (0.2.4-2) unstable; urgency=low
* Backport iso-2022-jp patch from upstream CVS (Closes: #421833).
* Set myself as Maintainer with previous Maintainer agreement.
-- Julien Louis <ptitlouis@sysif.net> Thu, 03 May 2007 21:15:59 +0200
weechat (0.2.4-1) unstable; urgency=low
* New upstream release
-- Julien Louis <ptitlouis@sysif.net> Thu, 29 Mar 2007 21:01:46 +0200
weechat (0.2.3-1) unstable; urgency=low
* New upstream release
* Bump lua build-dependency to liblua5.1-0-dev
* Add pkg-config to Build-Depends
* Remove some duplited changelog entries.
* Improve weechat-plugins description
-- Julien Louis <ptitlouis@sysif.net> Fri, 12 Jan 2007 09:01:46 +0100
weechat (0.2.1-1) unstable; urgency=low
* New upstream release
@@ -328,3 +215,129 @@ weechat (0.0.1-1) unstable; urgency=low
* First version.
-- FlashCode <flashcode@flashtux.org> Sat, 27 Sep 2003 12:00:00 +0200
weechat (0.1.5-1) unstable; urgency=low
* New upstream release
-- Julien Louis <ptitlouis@sysif.net> Sat, 24 Sep 2005 14:08:55 +0200
weechat (0.1.4-2) unstable; urgency=low
* Add autotools-dev to Build-Depends.
* update autotools stuff automatically to always
have up-to-date config.{guess,sub}
* Update Build-Depends: libgnutls11-dev -> libgnutls-dev
-- Julien Louis <ptitlouis@sysif.net> Mon, 1 Aug 2005 11:46:39 +0200
weechat (0.1.4-1) unstable; urgency=low
* New upstream release.
-- Julien Louis <ptitlouis@sysif.net> Sat, 30 Jul 2005 16:26:55 +0200
weechat (0.1.3-2) unstable; urgency=low
* Update config.{guess,sub} to fix FTBFS on k*BSD (Closes: #316791)
-- Julien Louis <ptitlouis@sysif.net> Fri, 8 Jul 2005 21:30:38 +0200
weechat (0.1.3-1) unstable; urgency=low
* New upstream release.
-- Julien Louis <ptitlouis@sysif.net> Sat, 2 Jul 2005 20:06:29 +0200
weechat (0.1.2-3) unstable; urgency=low
* Apply patch against gui-display.c to fix curses color bug.
* remove dh_install --sourcedir to allow builds on woody.
-- Julien Louis <ptitlouis@sysif.net> Sun, 19 Jun 2005 22:37:11 +0200
weechat (0.1.2-2) unstable; urgency=low
* Patch src/gui/curse/gui-display.c to fix segfault
when config file does not exists (Closes: #310589).
-- Julien Louis <ptitlouis@sysif.net> Tue, 24 May 2005 20:55:02 +0200
weechat (0.1.2-1) unstable; urgency=low
* WeeChat version 0.1.2, see ChangeLog for detail.
-- Sebastien Helleu <flashcode@flashtux.org> Sat, 21 May 2005 08:00:00 +0200
weechat (0.1.1-2) unstable; urgency=low
* debian/control:
- Add myself to uploaders.
- Remove unecessary dependency on weechat-gtk (Closes: #308287).
-- Julien Louis <ptitlouis@sysif.net> Tue, 10 May 2005 22:38:52 +0200
weechat (0.1.1-1) unstable; urgency=low
* WeeChat version 0.1.1, see ChangeLog for detail (closes: #306492)
-- Sebastien Helleu <flashcode@flashtux.org> 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.
-- Sebastien Helleu <flashcode@flashtux.org> Sat, 12 Feb 2005 12:00:00 +0200
weechat (0.0.9-1) unstable; urgency=low
* WeeChat version 0.0.9, see ChangeLog for detail.
-- FlashCode <flashcode@flashtux.org> Sat, 01 Jan 2005 13:00:00 +0200
weechat (0.0.8-1) unstable; urgency=low
* WeeChat version 0.0.8, see ChangeLog for detail.
-- FlashCode <flashcode@flashtux.org> Sat, 30 Oct 2004 11:40:00 +0200
weechat (0.0.7-1) unstable; urgency=low
* WeeChat version 0.0.7, see ChangeLog for detail.
-- FlashCode <flashcode@flashtux.org> Sat, 08 Aug 2004 21:00:00 +0200
weechat (0.0.6-1) unstable; urgency=low
* WeeChat version 0.0.6, see ChangeLog for detail.
-- FlashCode <flashcode@flashtux.org> Sat, 05 Jun 2004 11:30:00 +0200
weechat (0.0.5-1) unstable; urgency=low
* WeeChat version 0.0.5, see ChangeLog for detail.
-- FlashCode <flashcode@flashtux.org> Sat, 07 Feb 2004 20:30:00 +0200
weechat (0.0.4-1) unstable; urgency=low
* WeeChat version 0.0.4, see ChangeLog for detail.
-- FlashCode <flashcode@flashtux.org> Thu, 01 Jan 2004 13:00:00 +0200
weechat (0.0.3-1) unstable; urgency=low
* WeeChat version 0.0.3, see ChangeLog for detail.
-- FlashCode <flashcode@flashtux.org> Mon, 03 Nov 2003 23:15:00 +0200
weechat (0.0.2-1) unstable; urgency=low
* WeeChat version 0.0.2, see ChangeLog for detail.
-- FlashCode <flashcode@flashtux.org> Sun, 05 Oct 2003 12:00:00 +0200
weechat (0.0.1-1) unstable; urgency=low
* First version.
-- FlashCode <flashcode@flashtux.org> Sat, 27 Sep 2003 12:00:00 +0200
+1 -1
View File
@@ -1 +1 @@
7
5
+26 -74
View File
@@ -1,22 +1,17 @@
Source: weechat
Section: net
Priority: optional
Maintainer: Emmanuel Bouthenot <kolter@openics.org>
Build-Depends: debhelper (>= 7.0.50), cmake, libncursesw5-dev,
ruby, ruby1.8-dev, libperl-dev, python-dev, libaspell-dev, liblua5.1-0-dev,
tcl-dev, libgnutls-dev, dpkg-dev (>= 1.13.19), pkg-config, asciidoc (>= 8.4),
source-highlight
Standards-Version: 3.8.2
Homepage: http://www.weechat.org/
Vcs-Git: git://git.debian.org/users/kolter-guest/weechat.git
Vcs-Browser: http://git.debian.org/git/users/kolter-guest/weechat.git
DM-Upload-Allowed: yes
Maintainer: Sebastien Helleu <flashcode@flashtux.org>
Uploaders: Julien Louis <ptitlouis@sysif.net>
Build-Depends-Indep: xsltproc, docbook-xsl, docbook-xml
Build-Depends: cdbs, debhelper (>= 5), libncursesw5-dev, ruby, ruby1.8-dev, libperl-dev, python-dev, libaspell-dev, liblualib50-dev, libgnutls-dev, libtool, dpkg-dev (>= 1.13.19)
Standards-Version: 3.7.2
Package: weechat
Architecture: all
Depends: ${misc:Depends}, weechat-curses (>= ${source:Version})
Description: Fast, light and extensible chat client
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
Depends: weechat-common (= ${source:Version}), weechat-curses (>= ${binary:Version})
Description: Fast, light and extensible IRC client
WeeChat (Wee Enhanced Environment for Chat) is a fast and light IRC client
for many operating systems. Everything can be done with a keyboard.
It is customizable and extensible with plugins/scripts, and includes:
- nicklist
@@ -26,14 +21,15 @@ Description: Fast, light and extensible chat client
- double charset support (decode/encode)
- FIFO pipe for remote control
- and much more!
.
Homepage: http://weechat.flashtux.org/
Package: weechat-curses
Architecture: any
Depends: ${misc:Depends}, ${shlibs:Depends}, weechat-core (= ${binary:Version})
Conflicts: weechat-common
Depends: ${shlibs:Depends}, weechat-common (= ${source:Version})
Recommends: weechat-plugins (= ${binary:Version})
Description: Fast, light and extensible chat client - console client
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
Description: Fast, light and extensible IRC client
WeeChat (Wee Enhanced Environment for Chat) is a fast and light IRC client
for many operating systems. Everything can be done with a keyboard.
It is customizable and extensible with plugins/scripts, and includes:
- nicklist
@@ -44,64 +40,20 @@ Description: Fast, light and extensible chat client - console client
- FIFO pipe for remote control
- and much more!
.
This package provides the console client (ncurses).
Homepage: http://weechat.flashtux.org/
Package: weechat-core
Architecture: any
Depends: ${misc:Depends}, ${shlibs:Depends}
Replaces: weechat-common, weechat-plugins (<< 0.3.0)
Suggests: weechat-doc (= ${source:Version})
Description: Fast, light and extensible chat client - core files
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
for many operating systems. Everything can be done with a keyboard.
.
This package provides core plugins and locales files for WeeChat. It
currently ships the following plugins: alias, xfer, irc, charset and
logger. It is useless without weechat-curses.
Package: weechat-common
Architecture: all
Replaces: weechat
Recommends: weechat-curses
Description: Common files for WeeChat
Documentation, examples, and locale files for WeeChat - fast, light and
extensible IRC client. It is useless without weechat-curses.
Package: weechat-plugins
Architecture: any
Depends: ${misc:Depends}, ${shlibs:Depends}, weechat-curses (= ${binary:Version})
Breaks: weechat-scripts (<= 20090221-1)
Suggests: weechat-scripts (>> 20090221-1)
Description: Fast, light and extensible chat client - plugins
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
for many operating systems. Everything can be done with a keyboard.
.
This package provides some plugins to enhance WeeChat. It currently
ships the following plugins:
- Perl, Python, Ruby, Lua, and Tcl scripting
- Spell checking (thanks to aspell)
- And many others (Fifo, ...)
Package: weechat-doc
Section: doc
Architecture: all
Depends: ${misc:Depends}
Description: Fast, light and extensible chat client - documentation
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
for many operating systems. Everything can be done with a keyboard.
.
This package contains the html documentation for WeeChat.
Package: weechat-dev
Section: devel
Architecture: all
Depends: ${misc:Depends}
Description: Fast, light and extensible chat client - developement headers
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
for many operating systems. Everything can be done with a keyboard.
.
This package contains the headers needed to build plugins.
Package: weechat-dbg
Section: debug
Priority: extra
Architecture: any
Depends: ${misc:Depends}, weechat-curses (= ${binary:Version}) |
weechat-core (= ${binary:Version}), weechat-plugins (= ${binary:Version})
Description: Fast, light and extensible chat client - debugging symbols
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
for many operating systems. Everything can be done with a keyboard.
.
This package contains gdb debugging symbols for the WeeChat packages.
Depends: ${shlibs:Depends}
Suggests: weechat-scripts
Description: Plugins for WeeChat
This package provides some plugins to enhance weechat with scripting languages
such as perl python or ruby.
+8 -11
View File
@@ -1,22 +1,19 @@
This package was debianized by FlashCode <flashcode@flashtux.org> on
Sat, 21 May 2005 08:00:00 +0200.
It was downloaded from http://www.weechat.org/files/src/
It was downloaded from http://weechat.flashtux.org/download
Upstream Authors:
- FlashCode <flashcode@flashtux.org>
- kolter <kolter@free.fr>
Copyright:
Copyright (C) (2003-2009) FlashCode <flashcode@flashtux.org>
Copyright (C) (2005-2009) Emmanuel Bouthenot <kolter@openics.org>
Copyright (C) (2008-2009) Dmitry Kobylin <fnfal@academ.tsc.ru> (tcl plugin)
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or (at
the Free Software Foundation; either version 2 of the License, or (at
your option) any later version.
On Debian systems, the complete text of the GNU General Public
License, Version 3 can be found in the file
/usr/share/common-licenses/GPL-3
Debian packaging (licenced under the GPLv3):
Copyright(C) 2005-2008, Julien Louis <ptitlouis@sysif.net>
Copyright(C) 2008-2009, Emmanuel Bouthenot <kolter@openics.org>
License, Version 2 can be found in the file
/usr/share/common-licenses/GPL
+1
View File
@@ -0,0 +1 @@
weechat-curses: menu-icon-missing /usr/share/pixmaps/weechat.xpm
+29 -29
View File
@@ -1,37 +1,37 @@
#!/usr/bin/make -f
# Sample debian/rules that uses cdbs. Originaly written by Robert Millan.
# This file is public domain.
builddir/Makefile:
mkdir -p builddir
cd builddir && \
cmake .. \
-DCMAKE_INSTALL_PREFIX:FILEPATH=/usr \
-DCMAKE_C_FLAGS:STRING="$(CFLAGS)" \
-DCMAKE_LD_FLAGS:STRING="-Wl,-z,defs" \
-DCMAKE_CXX_FLAGS:STRING="$(CXXFLAGS)" \
-DCMAKE_SKIP_RPATH:BOOL=ON \
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON
DEB_AUTO_CLEANUP_RCS := yes
build: build-stamp
build-stamp: builddir/Makefile
dh_testdir
$(MAKE) -C builddir
touch $@
# Add here any variable or target overrides you need
override_dh_auto_configure:
# the package also has autotools buildsys and
# debhelper try to use it but that's not needed
echo
DEB_CONFIGURE_USER_FLAGS := --with-debug=0
DEB_STRIP_EXCLUDE := libperl.a
DEB_DH_INSTALL_SOURCEDIR := $(CURDIR)/debian/tmp
DEB_INSTALL_DOCS_weechat-common := FAQ FAQ.fr
DEB_DH_MAKESHLIBS_ARGS_weechat-plugins := -n
override_dh_install:
$(MAKE) -C builddir DESTDIR=$(CURDIR)/debian/tmp install
dh_install
DEB_HOST_ARCH_OS := $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
override_dh_strip:
dh_strip --dbg-package=weechat-dbg
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
CFLAGS += -O0
else
CFLAGS += -O2
endif
ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
INSTALL_PROGRAM += -s
endif
clean:
rm -rf builddir
dh $@
ifeq ($(DEB_HOST_ARCH_OS),hurd)
DEB_CONFIGURE_SCRIPT_ENV += LDFLAGS="-lpthread"
endif
%:
dh $@
include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/rules/debhelper.mk
install/weechat-common::
install -D -o root -g root -m 644 debian/weechat.xpm $(CURDIR)/debian/weechat-common/usr/share/pixmaps/weechat.xpm
install/weechat-curses::
install -D -o root -g root -m 644 debian/lintian-override $(CURDIR)/debian/weechat-curses/usr/share/lintian/overrides/weechat-curses
+1 -1
View File
@@ -1,2 +1,2 @@
version=2
http://www.weechat.org/files/src/weechat-(\d.*)\.tar\.bz2
http://weechat.flashtux.org/download/weechat-(\d.*)\.tar\.bz2
+7
View File
@@ -0,0 +1,7 @@
AUTHORS
BUGS
FAQ
FAQ.fr
NEWS
README
TODO
+2
View File
@@ -0,0 +1,2 @@
usr/share/locale/
usr/share/doc/weechat/html usr/share/doc/weechat-common
-4
View File
@@ -1,4 +0,0 @@
AUTHORS
NEWS
README
UPGRADE_0.3
-6
View File
@@ -1,6 +0,0 @@
usr/share/locale/
usr/lib/weechat/plugins/alias.so
usr/lib/weechat/plugins/xfer.so
usr/lib/weechat/plugins/irc.so
usr/lib/weechat/plugins/charset.so
usr/lib/weechat/plugins/logger.so
-1
View File
@@ -1,2 +1 @@
usr/bin
usr/share/pixmaps
-1
View File
@@ -1,2 +1 @@
usr/bin/weechat-curses
debian/weechat.xpm usr/share/pixmaps
-1
View File
@@ -1 +0,0 @@
weechat-curses: manpage-has-errors-from-man usr/share/man/man1/weechat-curses.1.gz 54: warning [p 1, 8.2i]: cannot adjust line
+1 -1
View File
@@ -1,4 +1,4 @@
?package(weechat-curses):needs="text" section="Applications/Network/Communication" \
?package(weechat-curses):needs="text" section="Apps/Net" \
title="weechat-curses" \
icon="/usr/share/pixmaps/weechat.xpm" \
command="/usr/bin/weechat-curses"
-1
View File
@@ -1 +0,0 @@
usr/include/weechat
-2
View File
@@ -1,2 +0,0 @@
usr/include/weechat/*
usr/lib/pkgconfig/*
-6
View File
@@ -1,6 +0,0 @@
doc/en/weechat_faq.en.txt
doc/en/weechat_quickstart.en.txt
doc/en/weechat_tester.en.txt
doc/fr/weechat_faq.fr.txt
doc/fr/weechat_quickstart.fr.txt
doc/fr/weechat_tester.fr.txt
-1
View File
@@ -1 +0,0 @@
usr/share/doc/weechat usr/share/doc/weechat-doc
+1
View File
@@ -0,0 +1 @@
usr/bin
+1
View File
@@ -0,0 +1 @@
usr/bin/weechat-gtk
+1 -7
View File
@@ -1,7 +1 @@
usr/lib/weechat/plugins/aspell.so
usr/lib/weechat/plugins/fifo.so
usr/lib/weechat/plugins/perl.so
usr/lib/weechat/plugins/python.so
usr/lib/weechat/plugins/ruby.so
usr/lib/weechat/plugins/lua.so
usr/lib/weechat/plugins/tcl.so
usr/lib/weechat/plugins/*so*
+148 -11
View File
@@ -1,4 +1,4 @@
# Copyright (c) 2003-2009 FlashCode <flashcode@flashtux.org>
# Copyright (c) 2003-2007 FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -14,17 +14,154 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
IF(NOT DISABLE_DOC)
SET(DOC_LANGS
cs
de
en
fr
pl
ru
sco
sv
)
FIND_PACKAGE(Sourcehighlight)
FIND_PACKAGE(Asciidoc)
IF(ASCIIDOC_FOUND AND SOURCEHIGHLIGHT_FOUND)
ADD_SUBDIRECTORY( en )
ADD_SUBDIRECTORY( fr )
ADD_SUBDIRECTORY( pl )
ADD_SUBDIRECTORY( de )
ENDIF(ASCIIDOC_FOUND AND SOURCEHIGHLIGHT_FOUND)
FIND_PROGRAM(
COPY cp
PATHS /bin /usr/bin /usr/local/bin /usr/pkg/bin
)
ENDIF(NOT DISABLE_DOC)
FIND_PROGRAM(
XSLTPROC xsltproc
PATHS /bin /usr/bin /usr/local/bin /usr/pkg/bin
)
FIND_PROGRAM(
DBLATEX dblatex
PATHS /bin /usr/bin /usr/local/bin /usr/pkg/bin
)
FIND_FILE(DOC_XSL_PREFIX chunk.xsl PATHS
/usr/share/xml/docbook/stylesheet/nwalsh/
/usr/share/xml/docbook/xsl-stylesheets-1.69/
PATH_SUFFIXES html
DOC "Path to nwalsh xsl stylesheet"
)
STRING(REPLACE "/html/chunk.xsl" "" DOC_XSL_PREFIX "${DOC_XSL_PREFIX}")
IF(XSLTPROC AND DOC_XSL_PREFIX AND COPY)
SET(BUILD_HTML TRUE)
ENDIF(XSLTPROC AND DOC_XSL_PREFIX AND COPY)
IF(DBLATEX AND COPY)
SET(BUILD_PDF TRUE)
ENDIF(DBLATEX AND COPY)
IF(BUILD_HTML)
CONFIGURE_FILE(
${CMAKE_CURRENT_SOURCE_DIR}/weechat-html.xsl.in
${CMAKE_CURRENT_BINARY_DIR}/weechat-html.xsl
@ONLY
)
CONFIGURE_FILE(
${CMAKE_CURRENT_SOURCE_DIR}/weechat-html-one.xsl.in
${CMAKE_CURRENT_BINARY_DIR}/weechat-html-one.xsl
@ONLY
)
ENDIF(BUILD_HTML)
IF(BUILD_HTML OR BUILD_PDF)
EXECUTE_PROCESS(
COMMAND date "+%F %T"
OUTPUT_VARIABLE DOC_DATE
)
STRING(REPLACE "\n" "" DOC_DATE "${DOC_DATE}")
CONFIGURE_FILE(
${CMAKE_CURRENT_SOURCE_DIR}/date.xml.in
${CMAKE_CURRENT_BINARY_DIR}/date.xml
@ONLY
)
FOREACH(dlang ${DOC_LANGS})
IF(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/weechat.${dlang}.xml)
IF(BUILD_HTML)
FILE(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html/${dlang})
FILE(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html/${dlang}-build)
FILE(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html-one/${dlang})
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/html/${dlang}/index.html ${CMAKE_CURRENT_BINARY_DIR}/html-one/${dlang}/weechat.${dlang}.html
COMMAND ${COPY} ARGS "${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/weechat.${dlang}.xml" "${CMAKE_CURRENT_BINARY_DIR}/html/${dlang}-build"
COMMAND ${COPY} ARGS "${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/config.xml" "${CMAKE_CURRENT_BINARY_DIR}/html/${dlang}-build"
COMMAND ${COPY} ARGS "${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/irc_commands.xml" "${CMAKE_CURRENT_BINARY_DIR}/html/${dlang}-build"
COMMAND ${COPY} ARGS "${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/key_functions.xml" "${CMAKE_CURRENT_BINARY_DIR}/html/${dlang}-build"
COMMAND ${COPY} ARGS "${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/weechat_commands.xml" "${CMAKE_CURRENT_BINARY_DIR}/html/${dlang}-build"
COMMAND ${COPY} ARGS "${CMAKE_CURRENT_BINARY_DIR}/date.xml" "${CMAKE_CURRENT_BINARY_DIR}/html/${dlang}-build"
COMMAND ${COPY} ARGS "${CMAKE_CURRENT_SOURCE_DIR}/weechat-doc.css" "${CMAKE_CURRENT_BINARY_DIR}/html/${dlang}"
COMMAND ${COPY} ARGS "${CMAKE_CURRENT_SOURCE_DIR}/weechat-doc.css" "${CMAKE_CURRENT_BINARY_DIR}/html-one/${dlang}"
COMMAND ${XSLTPROC} ARGS -o ${CMAKE_CURRENT_BINARY_DIR}/html/${dlang}/ ${CMAKE_CURRENT_BINARY_DIR}/weechat-html.xsl ${CMAKE_CURRENT_BINARY_DIR}/html/${dlang}-build/weechat.${dlang}.xml
COMMAND ${XSLTPROC} ARGS -o ${CMAKE_CURRENT_BINARY_DIR}/html-one/${dlang}/weechat.${dlang}.html ${CMAKE_CURRENT_BINARY_DIR}/weechat-html-one.xsl ${CMAKE_CURRENT_BINARY_DIR}/html/${dlang}-build/weechat.${dlang}.xml
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/weechat.${dlang}.xml
${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/config.xml
${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/irc_commands.xml
${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/key_functions.xml
${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/weechat_commands.xml
${CMAKE_CURRENT_SOURCE_DIR}/date.xml.in
${CMAKE_CURRENT_SOURCE_DIR}/weechat-html-one.xsl.in
${CMAKE_CURRENT_SOURCE_DIR}/weechat-html.xsl.in
${CMAKE_CURRENT_SOURCE_DIR}/date.xml.in
${CMAKE_CURRENT_SOURCE_DIR}/weechat-doc.css
COMMENT "Building html doc (${dlang})"
)
ADD_CUSTOM_TARGET(doc-html-${dlang} ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/html/${dlang}/index.html)
ADD_CUSTOM_TARGET(doc-html-one-${dlang} ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/html-one/${dlang}/weechat.${dlang}.html)
INSTALL(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html/${dlang} DESTINATION share/doc/${PROJECT_NAME}/html)
ENDIF(BUILD_HTML)
IF(BUILD_PDF)
FILE(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/pdf/${dlang})
FILE(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/pdf/${dlang}-build)
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/pdf/${dlang}/weechat.${dlang}.pdf
COMMAND ${COPY} ARGS "${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/weechat.${dlang}.xml" "${CMAKE_CURRENT_BINARY_DIR}/pdf/${dlang}-build"
COMMAND ${COPY} ARGS "${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/config.xml" "${CMAKE_CURRENT_BINARY_DIR}/pdf/${dlang}-build"
COMMAND ${COPY} ARGS "${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/irc_commands.xml" "${CMAKE_CURRENT_BINARY_DIR}/pdf/${dlang}-build"
COMMAND ${COPY} ARGS "${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/key_functions.xml" "${CMAKE_CURRENT_BINARY_DIR}/pdf/${dlang}-build"
COMMAND ${COPY} ARGS "${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/weechat_commands.xml" "${CMAKE_CURRENT_BINARY_DIR}/pdf/${dlang}-build"
COMMAND ${COPY} ARGS "${CMAKE_CURRENT_BINARY_DIR}/date.xml" "${CMAKE_CURRENT_BINARY_DIR}/pdf/${dlang}-build"
COMMAND ${DBLATEX} ARGS -c ${CMAKE_CURRENT_SOURCE_DIR}/dblatex.conf -o ${CMAKE_CURRENT_BINARY_DIR}/pdf/${dlang}/weechat.${dlang}.pdf ${CMAKE_CURRENT_BINARY_DIR}/pdf/${dlang}-build/weechat.${dlang}.xml
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/weechat.${dlang}.xml
${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/config.xml
${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/irc_commands.xml
${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/key_functions.xml
${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/weechat_commands.xml
${CMAKE_CURRENT_SOURCE_DIR}/date.xml.in
${CMAKE_CURRENT_SOURCE_DIR}/weechat-html-one.xsl.in
${CMAKE_CURRENT_SOURCE_DIR}/date.xml.in
COMMENT "Building pdf doc (${dlang})"
)
ADD_CUSTOM_TARGET(doc-pdf-${dlang} ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/pdf/${dlang}/weechat.${dlang}.pdf)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/pdf/${dlang}/weechat.${dlang}.pdf DESTINATION share/doc/${PROJECT_NAME})
ENDIF(BUILD_PDF)
ENDIF(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/weechat.${dlang}.xml)
ENDFOREACH(dlang ${DOC_LANGS})
ENDIF(BUILD_HTML OR BUILD_PDF)
FOREACH(dlang ${DOC_LANGS})
IF(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/weechat_quickstart.${dlang}.txt)
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/weechat_quickstart.${dlang}.txt DESTINATION share/doc/${PROJECT_NAME})
ENDIF(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/weechat_quickstart.${dlang}.txt)
ENDFOREACH(dlang ${DOC_LANGS})
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/weechat-curses.1 DESTINATION share/man/man1)
+14 -3
View File
@@ -1,4 +1,4 @@
# Copyright (c) 2003-2009 FlashCode <flashcode@flashtux.org>
# Copyright (c) 2003-2007 FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -14,8 +14,19 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
SUBDIRS = . en fr pl de
SUBDIRS = . en fr de ru pl cs sco sv
man_MANS = weechat-curses.1
EXTRA_DIST = $(man_MANS) CMakeLists.txt
EXTRA_DIST = $(man_MANS) weechat-doc.css weechat-html-one.xsl.in weechat-html.xsl.in weechat-pdf.xsl dblatex.conf
all-local: weechat-html.xsl weechat-html-one.xsl
weechat-html.xsl: weechat-html.xsl.in
sed -e 's,\@DOC_XSL_PREFIX\@,$(DOC_XSL_PREFIX),g' < weechat-html.xsl.in > weechat-html.xsl
weechat-html-one.xsl: weechat-html-one.xsl.in
sed -e 's,\@DOC_XSL_PREFIX\@,$(DOC_XSL_PREFIX),g' < weechat-html-one.xsl.in > weechat-html-one.xsl
clean-local:
-rm -f weechat-html.xsl weechat-html-one.xsl
+188
View File
@@ -0,0 +1,188 @@
#!/usr/bin/perl
#
# Copyright (c) 2003-2007 FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#
# Build some XML code for WeeChat doc
# with weechat-curses command
#
@all_lang = ("fr_FR", "en_US", "de_DE");
%all_encodings = ("fr_FR" => "iso-8859-1",
"en_US" => "iso-8859-1",
"de_DE" => "iso-8859-1");
%all_types = ("fr_FR" => "type",
"en_US" => "type",
"de_DE" => "Typ",
"es_ES" => "tipo");
%all_values = ("fr_FR" => "valeurs",
"en_US" => "values",
"de_DE" => "Werte",
"es_ES" => "valores");
%all_default = ("fr_FR" => "valeur par défaut",
"en_US" => "default value",
"de_DE" => "Standardwert",
"es_ES" => "valor por defecto");
%all_desc = ("fr_FR" => "description",
"en_US" => "description",
"de_DE" => "Beschreibung",
"es_ES" => "descripciĂłn");
$warning_do_not_edit = "\n<!-- ********* WARNING! *********\n\n"
." This file is automatically built with a Perl script. DO NOT EDIT!\n"
."-->\n\n";
foreach $lng (@all_lang)
{
create_commands ($lng, $all_encodings{$lng},
"weechat-curses -w | sed 1,2d", "weechat_commands");
create_commands ($lng, $all_encodings{$lng},
"weechat-curses -i | sed 1,2d", "irc_commands");
create_key_func ($lng, $all_encodings{$lng},
"weechat-curses -f | sed 1,2d", "key_functions");
create_config ($lng, $all_encodings{$lng},
"weechat-curses -c | sed 1,2d", "config");
print "\n";
}
sub toxml
{
$_ = $_[0];
$_ =~ s/&/&amp;/g;
$_ =~ s/</&lt;/g;
$_ =~ s/>/&gt;/g;
return $_;
}
sub create_commands
{
$lang = $_[0];
$lang2 = substr ($lang, 0, 2);
$encoding = $_[1];
$command = $_[2];
$file = $_[3];
print "Creating $lang2/$file.xml ($lang)...\n";
open XML, ">$lang2/$file.xml" or die "Error: can't write file!";
print XML "<?xml version=\"1.0\" encoding=\"$encoding\"?>\n";
print XML $warning_do_not_edit;
$started = 0;
$ENV{"LANG"} = $lang;
foreach (`$command`)
{
if (/\* (.*)/)
{
print XML "</programlisting>\n" if ($started == 1);
$started = 1;
print XML "<command>".toxml($1)."</command>\n";
print XML "<programlisting>";
}
else
{
chomp ($_);
print XML toxml($_)."\n";
}
}
print XML "</programlisting>\n";
close XML;
iconv_file ($lang2."/".$file, $encoding);
}
sub create_key_func
{
$lang = $_[0];
$lang2 = substr ($lang, 0, 2);
$encoding = $_[1];
$command = $_[2];
$file = $_[3];
print "Creating $lang2/$file.xml ($lang)...\n";
open XML, ">$lang2/$file.xml" or die "Error: can't write file!";
print XML "<?xml version=\"1.0\" encoding=\"$encoding\"?>\n";
print XML $warning_do_not_edit;
$ENV{"LANG"} = $lang;
foreach (`$command`)
{
if (/\* (.*): (.*)/)
{
print XML "<row>\n";
print XML " <entry><literal>$1</literal></entry>\n";
print XML " <entry>$2</entry>\n";
print XML "</row>\n";
}
}
close XML;
iconv_file ($lang2."/".$file, $encoding);
}
sub create_config
{
$lang = $_[0];
$lang2 = substr ($lang, 0, 2);
$encoding = $_[1];
$command = $_[2];
$file = $_[3];
print "Creating $lang2/$file.xml ($lang)...\n";
open XML, ">$lang2/$file.xml" or die "Error: can't write file!";
print XML "<?xml version=\"1.0\" encoding=\"$encoding\"?>\n";
print XML $warning_do_not_edit;
$type = "";
$values = "";
$default = "";
$desc = "";
$ENV{"LANG"} = $lang;
foreach (`weechat-curses -c`)
{
if (/\* (.*):/)
{
print XML "<row>\n";
print XML " <entry><option>$1</option></entry>\n";
}
elsif (/ \. $all_types{$lang}: (.*)/)
{
$type = $1;
}
elsif (/ \. $all_values{$lang}: (.*)/)
{
$values = $1;
}
elsif (/ \. $all_default{$lang}: (.*)/)
{
$default = $1;
}
elsif (/ \. $all_desc{$lang}: (.*)/)
{
$_ = $1;
s/(.*)/\u$1/;
$desc = $_;
print XML " <entry>".toxml($type)."</entry>\n";
print XML " <entry>".toxml($values)."</entry>\n";
print XML " <entry>".toxml($default)."</entry>\n";
print XML " <entry>".toxml($desc)."</entry>\n";
print XML "</row>\n";
}
}
close XML;
iconv_file ($lang2."/".$file, $encoding);
}
sub iconv_file
{
print "Converting $_[0].xml to $_[1]...\n";
system ("iconv -t $encoding -o $_[0].xml.$_[1] $_[0].xml");
system ("mv $_[0].xml.$_[1] $_[0].xml");
}
@@ -1,4 +1,4 @@
# Copyright (c) 2003-2009 FlashCode <flashcode@flashtux.org>
# Copyright (c) 2003-2007 FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -14,11 +14,14 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
ADD_LIBRARY(fifo MODULE
fifo.c fifo.h
fifo-info.c fifo-info.h)
SET_TARGET_PROPERTIES(fifo PROPERTIES PREFIX "")
LANGCODE = cs
QUICKSTART = weechat_quickstart.$(LANGCODE).txt
TARGET_LINK_LIBRARIES(fifo)
EXTRA_DIST = $(QUICKSTART)
INSTALL(TARGETS fifo LIBRARY DESTINATION lib/${PROJECT_NAME}/plugins)
docdir = $(datadir)/doc/$(PACKAGE)
# install docs
install-data-hook:
$(INSTALL_DATA) $(QUICKSTART) $(DESTDIR)$(docdir)/
+104
View File
@@ -0,0 +1,104 @@
WeeChat (česká verze)
=========================
1. Spuštění weechat
Podle požadovaného GUI je třeba spustit:
- weechat-curses pro Curses GUI
- weechat-gtk pro GTK GUI (vyvĂ­jĂ­ se)
- weechat-qt pro Qt GUI (nenĂ­ vyvĂ­jeno)
- weechat-wxwidgets pro WxWidgets GUI (nenĂ­ vyvĂ­jeno)
2. Online nápověda / možnosti
WeeChat má nápovědu pro všechny příkazy (/help příkaz)
Pro získání nápovědy k příkazu se používá /help příkaz
Pro nastavenĂ­ voleb pouĹľijte /set volba = hodnota
Lze použít /set volba s částečným jménem (zobrazí všechny možnosti
obsahující písmena), nebo pouze s celým jménem volby bez hodnoty
(pro zobrazení dlouhé nápovědy k volbě).
Důležitá poznámka: nastavení je ukládáno při skončení WeeChat
(nebo pomocí příkazu /save). NEEDITUJTE kontiguracni soubor za
běhu WeeChat, protože do něj můŽe WeeChat kdykoliv zapsat
a není možné jej znovu načíst. Pro změnu jakýchkoliv voleb
použijte příkaz /set, WeeChat okamžitě použije nové nastavení.
3. Vytvoření serveru
Například irc.quakenet.org, port 6667:
/server quakenet irc.quakenet.org 6667
(pro kompletní nápovědu použijte /help server)
4. NastavenĂ­ vlastnĂ­ch voleb serveru
Přezdívky:
/set quakenet.server_nick1 = "mujeprezdivka"
/set quakenet.server_nick2 = "mujeprezdivka2"
/set quakenet.server_nick3 = "mujeprezdivka3"
Uživatelské jméno / skutečné jméno:
/set quakenet.server_username = "moje uživatelské jméno"
/set quakenet.server_realname = "moje skutečné jméno"
Automatické připojení k serveru:
/set quakenet.server_autoconnect = on
OstatnĂ­ volby:
Pro zobrazenĂ­ voleb serveru a jejich hodnot pouĹľijte /set quakenet
Pro nastavenĂ­ volby pouĹľijte /set quakenet.volba_serveru = hodnota
5. Připojení k serveru a automatické připojení ke kanálům
/connect quakenet
6. Příchod/odchod na/z kanálu
Příchod na kanál:
/join #kanál
Odchod z kanálu:
/part [ukončovací zpráva]
Odchod z kanálu a zavření bufferu:
/close [ukončovací zpráva]
(/close je alias na /buffer close)
7. Správa bufferů/oken
Buffery lze spravovat pomocí příkazu "/buffer" a okna pomocí
příkazu "/window".
Například pro rozdělení okna vertikálně na malé okno (1/3 šíčky)
a velké (2/3) použijte příkaz:
/window splitv 33
8. Klávesové zkratky
Podle Vaší klávesnice a/nebo potřeb si můžete změnit jakoukoliv
klávesu pomocí příkazu "/key".
Užitečná klávesa je meta-k (alt-k) pro nalezení klávesového kódu.
Například pro napojení meta-y (alt-y) na příkaz "/buffer close""
/key (stiskněte meta-k) (stiskněte meta-y) /buffer close
Dostanete řádek podobný tomuto:
/key meta-y /buffer close
9. Pluginy/skripty
Na některých distibucích jako Debian, jsou pluginy dostupné v samostatném
balĂ­ÄŤku (jako weechat-plugins).
Pluginy jsou automatikcy načteny při nalezení.
Pro WeeChat je dostupných spousta pluginů/skriptů, více na:
http://weechat.flashtux.org/plugins.php
Pro načítání/rušení pluginů/skriptů se podívejde do dokumentace WeeChat.
10. Další dokumentace
Nyní můžete používat WeeChat a číst FAQ/dokumentaci v případě dalších dotazů:
http://weechat.flashtux.org/faq.php
http://weechat.flashtux.org/doc.php
UĹľivejte si WeeChat!
--
(c) 2006-05-31, napsal FlashCode <flashcode@flashtux.org>, přeložil GolemJ <golemj@gmail.com>
This document is part of WeeChat and is distributed under GPL licence.
Tento dokunet je součástí WeeChat a je distribuován pod licencí GPL.
+1
View File
@@ -0,0 +1 @@
<pubdate>@DOC_DATE@</pubdate>
+1
View File
@@ -0,0 +1 @@
XslParam: weechat-pdf.xsl
-26
View File
@@ -1,26 +0,0 @@
# Copyright (c) 2003-2009 FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# quickstart
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.de.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a toc_title='Inhaltsverzeichnis' -a date=`date "+%F"` -a revision="${VERSION}" -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.de.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.de.txt
COMMENT "Building weechat_quickstart.de.html"
)
ADD_CUSTOM_TARGET(doc-quickstart-de ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.de.html)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.de.html DESTINATION share/doc/${PROJECT_NAME})
+51 -10
View File
@@ -1,4 +1,4 @@
# Copyright (c) 2003-2009 FlashCode <flashcode@flashtux.org>
# Copyright (c) 2003-2007 FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -14,24 +14,65 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
LANGCODE = de
BOOK = weechat.$(LANGCODE)
BOOK_INCLUDE = weechat_commands.xml irc_commands.xml key_functions.xml config.xml
QUICKSTART = weechat_quickstart.$(LANGCODE).txt
EXTRA_DIST = $(BOOK).xml $(BOOK_INCLUDE) $(QUICKSTART)
if DBLATEX_FOUND
PDF = pdf-stamp
endif
docdir = $(datadir)/doc/$(PACKAGE)
EXTRA_DIST = CMakeLists.txt \
weechat_quickstart.de.txt
all-local: html-stamp $(PDF)
all-local: weechat_quickstart.de.html
# HTML output with chunks (many pages)
# quickstart
weechat_quickstart.de.html: weechat_quickstart.de.txt
$(ASCIIDOC) -a toc -a toc_title='Inhaltsverzeichnis' -a date=`date "+%F"` -a revision="$(VERSION)" -n -o weechat_quickstart.de.html weechat_quickstart.de.txt
html: html-stamp
html-stamp: $(BOOK).xml $(BOOK_INCLUDE) ../weechat-html.xsl ../weechat-doc.css
echo "<pubdate>`date '+%F %T'`</pubdate>" >date.xml
mkdir -p html/
xsltproc -o html/ ../weechat-html.xsl $(BOOK).xml || true
cp ../weechat-doc.css html/
touch html-stamp
# HTML output, all in one page
html1: html1-stamp
html1-stamp: $(BOOK).xml $(BOOK_INCLUDE) ../weechat-html-one.xsl ../weechat-doc.css
echo "<pubdate>`date '+%F %T'`</pubdate>" >date.xml
mkdir -p html1/
xsltproc -o html1/$(BOOK).html ../weechat-html-one.xsl $(BOOK).xml || true
cp ../weechat-doc.css html1/
touch html1-stamp
# PDF output
pdf: pdf-stamp
pdf-stamp: $(BOOK).xml $(BOOK_INCLUDE)
echo "<pubdate>`date '+%F %T'`</pubdate>" >date.xml
dblatex -c ../dblatex.conf $(BOOK).xml || true
touch pdf-stamp
# install docs
install-data-hook:
$(mkinstalldirs) $(DESTDIR)$(docdir)/
$(INSTALL_DATA) *.html $(DESTDIR)$(docdir)/
$(mkinstalldirs) $(DESTDIR)$(docdir)/html/$(LANGCODE)/
$(INSTALL_DATA) html/* $(DESTDIR)$(docdir)/html/$(LANGCODE)/
$(INSTALL_DATA) $(QUICKSTART) $(DESTDIR)$(docdir)/
if DBLATEX_FOUND
$(INSTALL_DATA) $(BOOK).pdf $(DESTDIR)$(docdir)/
endif
# clean
clean-local:
-rm -f *.html
-rm -f $(BOOK).html $(BOOK).pdf $(BOOK).txt date.xml
-rm -rf html/ html1/
-rm -f html-stamp html1-stamp pdf-stamp
+1288
View File
File diff suppressed because it is too large Load Diff
+443
View File
@@ -0,0 +1,443 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- ********* WARNING! *********
This file is automatically built with a Perl script. DO NOT EDIT!
-->
<command>admin [Ziel]</command>
<programlisting>
Information ĂĽber den Server-Administrator abfragen
Ziel: Server
</programlisting>
<command>ame Nachricht</command>
<programlisting>
Nachricht an alle Channels aller verbundenen Server schicken
zu sendende Nachricht
</programlisting>
<command>amsg Text</command>
<programlisting>
Nachricht an alle Channels aller verbundener Server schicken
Text: zu sendender Text
</programlisting>
<command>away [-all] [Nachricht]</command>
<programlisting>
Abwesenheitsnachricht ein/ausschalten
-all: Abwesenheitszustand auf allen Servern ändern
Nachricht: Abwesenheitsnachricht (bzw. keine, um den Abwesenheitszustand zu deaktivieren)
</programlisting>
<command>ban [Channel] [Nickname [Nickname ...]]</command>
<programlisting>
Nicknames oder Hosts sperren/verbannen
Channel: Channel fĂĽr die Sperre
Nickname: zu sperrender User oder Host
</programlisting>
<command>ctcp Empfänger Typ [Argumente]</command>
<programlisting>
CTCP-Nachricht verschicken
Empfänger: User, an den die CTCP-Nachricht geschickt werden soll
Typ: Typ der CTCP-Nachricht (z.B. "version", "ping", ..)
Argumente: Argumente fĂĽr CTCP
</programlisting>
<command>cycle [Channel[,Channel]] [Abschiedsnachricht]</command>
<programlisting>
einen Channel verlassen und wieder betreten
Channel: zu verlassender Channel
Abschiedsnachricht: Abschiedsnachricht (die den anderen Usern angezeigt wird)
</programlisting>
<command>dehalfop Nickname [Nickname]</command>
<programlisting>
Halb-Operatorstatus aberkennen
</programlisting>
<command>deop Nickname [Nickname]</command>
<programlisting>
Operatorstatus aberkennen
</programlisting>
<command>devoice Nickname [Nickname]</command>
<programlisting>
Voice wegnehmen
</programlisting>
<command>die</command>
<programlisting>
Server herunterfahren
</programlisting>
<command>halfop Nickname [Nickname]</command>
<programlisting>
Halb-Operatorstatus verleihen
</programlisting>
<command>info [Ziel]</command>
<programlisting>
Information ĂĽber den Server abfragen
Ziel: Servername
</programlisting>
<command>invite Nickname Channel</command>
<programlisting>
jemanden in einen Channel einladen
Nickname: Chatname des Einzuladenden
Channel: Channel, in den er eingeladen werden soll
</programlisting>
<command>ison Nickname [Nickname ...]</command>
<programlisting>
ĂĽberprĂĽfen, ob jemand zur Zeit im IRC ist
Nickname: Nickname
</programlisting>
<command>join Channel[,Channel] [Passwort[,Passwort]]</command>
<programlisting>
einen Channel betreten
Channel: zu betretender Channel
Passwort: Channelpasswort (+k-Mode)
</programlisting>
<command>kick [Channel] Nickname [Kommentar]</command>
<programlisting>
einen User aus einem Channel herauskicken
Channel: Channel des Benutzers
Nickname: Nickname des Benutzers
Kommentar: BegrĂĽndung fĂĽr den Kick
</programlisting>
<command>kickban [Channel] Nickname [Kommentar]</command>
<programlisting>
kickt und verbannt jemanden von einem Channel
Channel: Channel des Benutzers
Nickname: Nickname des Benutzers
Kommentar: BegrĂĽndung fĂĽr den Kickban
</programlisting>
<command>kill Nickname Kommentar</command>
<programlisting>
Jemanden vom Server werfen
Nickname: Chatname
Kommentar: BegrĂĽndung
</programlisting>
<command>links [[Server] Servermaske]</command>
<programlisting>
Alle dem antwortenden Server bekannten Servernamen auflisten
Server: dieser Server soll die Anfrage beantworten
Servermaske: die aufzulistenden Server sollen diesem Muster entsprechen
</programlisting>
<command>list [Channel[,Channel] [Server]]</command>
<programlisting>
Channels mit ihren Topics auflisten
Channel: aufzulistender Channel (reguläre Ausdrücke sind möglich)
Server: Servername
</programlisting>
<command>lusers [Maske [Ziel]]</command>
<programlisting>
Statistik über die Größe dieses IRC-Netzwerks abfragen
Maske: Nur Server, die diesem Muster entsprechen
Ziel: Server, der die Anfrage weiterleiten soll
</programlisting>
<command>me Nachricht</command>
<programlisting>
eine CTCP ACTION an den aktuellen Channel senden
zu sendende Nachricht
</programlisting>
<command>mode { Channel {[+|-]|o|p|s|i|t|n|b|v} [Limit] [User] [Bannmaske] } | {Nickname {[+|-]|i|w|s|o} }</command>
<programlisting>
Channel- oder Usermode ändern
Channelmodi:
Channel: zu ändernder Channel
o: gib/nimm Operatorstatus
p: privater Channel
s: geheimer Channel
i: geschlossener Channel (Zutritt nur mit Einladung)
t: nur Operatoren dĂĽrfen das Topic setzen
n: keine Channelnachrichten von auĂźerhalb des Channels
m: moderierter Channel (schreiben nur mit Voice)
l: maximale Anzahl an Usern im Channel festlegen
b: Bannmaske fĂĽr zu sperrende User (in nick!ident@host-Form)
e: lege Ausnahmemaske fest
v: gib/nimm Voice (d.h. Schreibrecht bei moderierten Channels)
k: Channelkey/Channelpasswort festlegen
Usermodi:
Nickname: zu ändernder Nickname
i: User als unsichtbar kennzeichnen
s: User empfängt Server-Nachrichten
w: User empfängt WALLOPS
o: User ist Channeloperator
</programlisting>
<command>motd [Ziel]</command>
<programlisting>
die "Nachricht von heute" abfragen
Ziel: Servername
</programlisting>
<command>msg Empfänger[,Empfänger] Text</command>
<programlisting>
Nachricht an Nick/Channel verschicken
Empfänger: Nick/Channel (darf eine Maske sein, '*' = aktueller Channel)
Text: zu sendender Text
</programlisting>
<command>names [Channel[,Channel]]</command>
<programlisting>
Nicknames in Channels auflisten
Channel: Channelname
</programlisting>
<command>nick [-all] Nickname</command>
<programlisting>
aktuellen Nickname wechseln
-all: Nickname auf allen verbundenen Servern ändern
Nickname: neuer Nickname
</programlisting>
<command>notice Nickname Text</command>
<programlisting>
NOTICE an einen User verschicken
Nickname: Empfänger der Nachricht
Text: zu sendender Text
</programlisting>
<command>op Nickname [Nickname]</command>
<programlisting>
Channeloperatorstatus verleihen
</programlisting>
<command>oper Benutzername Passwort</command>
<programlisting>
Serveroperatorprivilegien anfordern
Benutzername/Passwort: Account im IRC-Server
</programlisting>
<command>part [Channel[,Channel]] [Abschiedsnachricht]</command>
<programlisting>
einen Channel verlassen
Channel: zu verlassender Channel
Abschiedsnachricht: Abschiedsnachricht, die den anderen Usern angezeigt wird
</programlisting>
<command>ping Server1 [Server2]</command>
<programlisting>
Server anpingen
Server1: Anzupingender Server
Server2: Ping an diesen Server weiterleiten
</programlisting>
<command>pong Daemon [Daemon2]</command>
<programlisting>
auf Ping antworten
Daemon: Daemon, der auf die Ping-Nachricht geantwortet hat
Daemon2: Nachricht an diesen Daemon weiterleiten
</programlisting>
<command>query Nickname [Text]</command>
<programlisting>
private Nachricht an jemanden schicken
Nickname: Nickname fĂĽr privaten Chat
Text: zu sendender Text
</programlisting>
<command>quit [Abschiedsnachricht]</command>
<programlisting>
alle Verbindungen trennen und Programm beenden
Abschiednachricht: anderen Usern zu zeigende Nachricht
</programlisting>
<command>quote Daten</command>
<programlisting>
Daten direkt an Server senden (siehe RFC 2812)
Daten: zu sendende Rohdaten
</programlisting>
<command>rehash</command>
<programlisting>
den Server dazu bringen, seine Konfigurationsdatei neu zu laden
</programlisting>
<command>restart</command>
<programlisting>
den Server dazu bringen, sich selbst neu zu starten
</programlisting>
<command>service Nickname reserviert Distribution Typ reserviert Info</command>
<programlisting>
einen neuen Service eintragen
Distribution: Sichtbarkeit des Services
Typ: für spätere Verwendung reserviert
</programlisting>
<command>servlist [Maske [Typ]]</command>
<programlisting>
zur Zeit verbundene Services auflisten
Maske: nur zutreffende Services auflisten
Typ: nur Services von diesem Typ auflisten
</programlisting>
<command>squery Service Text</command>
<programlisting>
Nachricht an einen Service senden
Service: Name des Service
Text: zu sendender Text
</programlisting>
<command>squit Server Kommentar</command>
<programlisting>
Serververbindungen trennen
Server: Servername
Kommentar: Trennungsgrund
</programlisting>
<command>stats [Anfrage [Server]]</command>
<programlisting>
Serverstatistik abfragen
Anfrage: c/h/i/k/l/m/o/y/u (siehe RFC1459)
Server: zu befragender Server
</programlisting>
<command>summon User [Ziel [Channel]]</command>
<programlisting>
Nutzer, die auf dem IRC-Server arbeiten, darum bitten, auf den IRC-Server zu kommen
User: Benutzername
Ziel: Servername
Channel: Channelname
</programlisting>
<command>time [Ziel]</command>
<programlisting>
Ortszeit des Servers abfragen
Ziel: der zu fragende Server
</programlisting>
<command>topic [Channel] [Topic]</command>
<programlisting>
Channeltopic abfragen/setzen
Channel: Channelname
Topic: neues Topic (oder "-delete" zum Entfernen des Topics)
</programlisting>
<command>trace [Ziel]</command>
<programlisting>
Route zum angegebenen Server ermitteln
Ziel: Server
</programlisting>
<command>unban [Channel] nickname [nickname ...]</command>
<programlisting>
Bann aufheben
Channel: Channel, in dem der Bann aufzuheben ist
Nickname: User, fĂĽr den der Bann aufzuheben ist
</programlisting>
<command>userhost Nickname [Nickname ...]</command>
<programlisting>
liste von Nickname-Informationen ermitteln
Nickname: Nickname
</programlisting>
<command>users [Ziel]</command>
<programlisting>
auf dem Server eingeloggte User auflisten
Ziel: Server
</programlisting>
<command>version [Server | Nickname]</command>
<programlisting>
Versionsinformationen von Nickname oder Server ermitteln
Server: Servername
Nickname: Nickname
</programlisting>
<command>voice Nickname [Nickname]</command>
<programlisting>
Voice vergeben
</programlisting>
<command>wallops Text</command>
<programlisting>
Nachricht an alle User schicken, die den 'w'-Mode gesetzt haben
zu sendender Text
</programlisting>
<command>who [Maske ["o"]]</command>
<programlisting>
erweiterte Nicknameliste
Maske: nur Information ĂĽber betreffende Nicknames abfragen
o: nur Operatoren ausgeben, die dem Filter entsprechen
</programlisting>
<command>whois [Server] Nickname[,Nickname]</command>
<programlisting>
Information ĂĽber User abfragen
Server: Servername
Nickname: Nickname (oder eine Maske)
</programlisting>
<command>whowas Nickname [,Nickname [,Nickname ...]] [Anzahl [Ziel]]</command>
<programlisting>
Information ĂĽber die Vergangenheit eines Nicknames erfragen
Nickname: abzufragende Nicknames
Anzahl: maximale Anzahl an Antworten (negative Zahl für eine vollständige Liste)
Ziel: zu suchende Hostmaske
</programlisting>
+215
View File
@@ -0,0 +1,215 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- ********* WARNING! *********
This file is automatically built with a Perl script. DO NOT EDIT!
-->
<row>
<entry><literal>return</literal></entry>
<entry>Zeile terminieren</entry>
</row>
<row>
<entry><literal>tab</literal></entry>
<entry>Wort vervollständigen</entry>
</row>
<row>
<entry><literal>tab_previous</literal></entry>
<entry>finde letzte Wortvervollständigung</entry>
</row>
<row>
<entry><literal>backspace</literal></entry>
<entry>vorheriges Zeichen löschen</entry>
</row>
<row>
<entry><literal>delete</literal></entry>
<entry>nächstes Zeichen löschen</entry>
</row>
<row>
<entry><literal>delete_end_line</literal></entry>
<entry>bis zum Zeilenende löschen</entry>
</row>
<row>
<entry><literal>delete_beginning_line</literal></entry>
<entry>bis zum Zeilenanfang löschen</entry>
</row>
<row>
<entry><literal>delete_line</literal></entry>
<entry>ganze Zeile löschen</entry>
</row>
<row>
<entry><literal>delete_previous_word</literal></entry>
<entry>vorheriges Wort löschen</entry>
</row>
<row>
<entry><literal>delete_next_word</literal></entry>
<entry>nächstes Wort löschen</entry>
</row>
<row>
<entry><literal>clipboard_paste</literal></entry>
<entry>einfĂĽgen</entry>
</row>
<row>
<entry><literal>transpose_chars</literal></entry>
<entry>Zeichen vertauschen</entry>
</row>
<row>
<entry><literal>home</literal></entry>
<entry>zum Zeilenanfang gehen</entry>
</row>
<row>
<entry><literal>end</literal></entry>
<entry>zum Zeilenende gehen</entry>
</row>
<row>
<entry><literal>left</literal></entry>
<entry>ein Zeichen nach links gehen</entry>
</row>
<row>
<entry><literal>previous_word</literal></entry>
<entry>ein Wort nach links gehen</entry>
</row>
<row>
<entry><literal>right</literal></entry>
<entry>ein Zeichen nach rechts gehen</entry>
</row>
<row>
<entry><literal>next_word</literal></entry>
<entry>ein Wort nach rechts gehen</entry>
</row>
<row>
<entry><literal>up</literal></entry>
<entry>vorherigen Befehl aus dem Verlauf abfragen</entry>
</row>
<row>
<entry><literal>up_global</literal></entry>
<entry>vorherigen Befehl aus dem globalen Verlauf abfragen</entry>
</row>
<row>
<entry><literal>down</literal></entry>
<entry>nächsten Befehl aus dem Verlauf abfragen</entry>
</row>
<row>
<entry><literal>down_global</literal></entry>
<entry>nächsten Befehl aus dem globalen Verlauf abfragen</entry>
</row>
<row>
<entry><literal>page_up</literal></entry>
<entry>eine Seite hochscrollen</entry>
</row>
<row>
<entry><literal>page_down</literal></entry>
<entry>eine Seite herunterscrollen</entry>
</row>
<row>
<entry><literal>scroll_up</literal></entry>
<entry>einige Zeilen hochscrollen</entry>
</row>
<row>
<entry><literal>scroll_down</literal></entry>
<entry>einige Zeilen herunterscrollen</entry>
</row>
<row>
<entry><literal>scroll_top</literal></entry>
<entry>nach ganz oben scrollen</entry>
</row>
<row>
<entry><literal>scroll_bottom</literal></entry>
<entry>nach ganz unten scrollen</entry>
</row>
<row>
<entry><literal>scroll_topic_left</literal></entry>
<entry>Topic nach links scrollen</entry>
</row>
<row>
<entry><literal>scroll_topic_right</literal></entry>
<entry>Topic nach rechts scrollen</entry>
</row>
<row>
<entry><literal>nick_beginning</literal></entry>
<entry>zum Anfang der Nicklist gehen</entry>
</row>
<row>
<entry><literal>nick_end</literal></entry>
<entry>zum Ende der Nicklist gehen</entry>
</row>
<row>
<entry><literal>nick_page_up</literal></entry>
<entry>Nickliste eine Seite hochscrollen</entry>
</row>
<row>
<entry><literal>nick_page_down</literal></entry>
<entry>Nickliste eine Seite herunterscrollen</entry>
</row>
<row>
<entry><literal>jump_smart</literal></entry>
<entry>zu nächstem aktiven Puffer springen</entry>
</row>
<row>
<entry><literal>jump_dcc</literal></entry>
<entry>zum DCC-Puffer springen</entry>
</row>
<row>
<entry><literal>jump_raw_data</literal></entry>
<entry>gehe zum IRC-Rohdaten-Puffer</entry>
</row>
<row>
<entry><literal>jump_last_buffer</literal></entry>
<entry>zum letzten Puffer springen</entry>
</row>
<row>
<entry><literal>jump_previous_buffer</literal></entry>
<entry>jump to previous buffer</entry>
</row>
<row>
<entry><literal>jump_server</literal></entry>
<entry>zum Serverpuffer springen</entry>
</row>
<row>
<entry><literal>jump_next_server</literal></entry>
<entry>zum nächsten Server springen</entry>
</row>
<row>
<entry><literal>switch_server</literal></entry>
<entry>wechsel den aktiven Server im Server-Puffer</entry>
</row>
<row>
<entry><literal>scroll_previous_highlight</literal></entry>
<entry>scrolle zur vorherigen hervorhebung im Puffer</entry>
</row>
<row>
<entry><literal>scroll_next_highlight</literal></entry>
<entry>scrolle zur nächsten Hervorhebung im Puffer</entry>
</row>
<row>
<entry><literal>scroll_unread</literal></entry>
<entry>scrolle zur ersten, ungelesenen Zeile im Puffer</entry>
</row>
<row>
<entry><literal>set_unread</literal></entry>
<entry>set unread marker on all buffers</entry>
</row>
<row>
<entry><literal>hotlist_clear</literal></entry>
<entry>Hotlist leeren</entry>
</row>
<row>
<entry><literal>infobar_clear</literal></entry>
<entry>Infobar leeren</entry>
</row>
<row>
<entry><literal>refresh</literal></entry>
<entry>Bild neu aufbauen</entry>
</row>
<row>
<entry><literal>grab_key</literal></entry>
<entry>Tastencode ermitteln und einfĂĽgen</entry>
</row>
<row>
<entry><literal>insert</literal></entry>
<entry>fĂĽge eine Zeichenkette in der Befehlszeile ein</entry>
</row>
<row>
<entry><literal>search_text</literal></entry>
<entry>suche Text im Pufferverlauf</entry>
</row>
File diff suppressed because it is too large Load Diff
+280
View File
@@ -0,0 +1,280 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- ********* WARNING! *********
This file is automatically built with a Perl script. DO NOT EDIT!
-->
<command>alias [Aliasname [Befehl [Argumente]]]</command>
<programlisting>
einen Alias fĂĽr einen Befehl anlegen
Aliasname: Name des Alias
Befehl: Befehlsname (WeeChat- oder IRC-Befehl ohne führenden '/', mehrere Befehle können durch Semikola getrennt werden)
Argumente: Argumente fĂĽr den Befehl
</programlisting>
<command>wird durch alle Argumente ersetzt.</command>
<programlisting>Die Variablen $nick, $channel and $server werden durch den aktuellen Nick/Channel oder Server ersetzt.
</programlisting>
<command>buffer [Aktion [Argumente] | Nummer | [[Server] [Channel]]]</command>
<programlisting>
Puffer verwalten
action: action to do:
move: move buffer in the list (may be relative, for example -1)
close: close buffer (optional arg is part message, for a channel)
list: list open buffers (no parameter implies this list)
notify: set notify level for buffer (0=never, 1=highlight, 2=1+msg, 3=2+join/part)
(when executed on server buffer, this sets default notify level for whole server)
scroll: scroll in history (may be relative, and may end by a letter: s=sec, m=min, h=hour, d=day, M=month, y=year); if there is only letter, then scroll to beginning of this item
number: jump to buffer by number
server,
channel: jump to buffer by server and/or channel name
Examples:
move buffer: /buffer move 5
close buffer: /buffer close this is part msg
set notify: /buffer notify 2
scroll 1 day up: /buffer scroll 1d == /buffer scroll -1d == /buffer scroll -24h
scroll to beginning
of this day: /buffer scroll d
scroll 15 min down: /buffer scroll +15m
scroll 20 msgs up: /buffer scroll -20
jump to #weechat: /buffer #weechat
</programlisting>
<command>builtin Befehl</command>
<programlisting>
starte eingebauten WeeChat/IRC-Befehl (ohne Plugin-Handler oder Aliase)
Befehl: auszufĂĽhrender Befehl (falls nicht vorhanden wird automatisch ein '/' vorangestellt)
</programlisting>
<command>clear [-all | number [number ...]]</command>
<programlisting>
Fenster leeren
-all: lösche alle Puffer
Nummer: lösche den Puffer mit der angegebenen Nummer
</programlisting>
<command>connect [-all [-nojoin] | servername [servername ...] [-nojoin] | hostname [-port port] [-ipv6] [-ssl]]</command>
<programlisting>
mit Server verbinden
-all: connect to all servers
servername: internal server name to connect
-nojoin: do not join any channel (even if autojoin is enabled on server)
hostname: hostname to connect, creating temporary server
port: port for server (integer, default is 6667)
ipv6: use IPv6 protocol
ssl: use SSL protocol
</programlisting>
<command>disconnect [-all | Servername [Servername ...]]</command>
<programlisting>
Serververbindung(en) trennen
-all: Trenne von allen Servern
servername: Servername, von dem getrennt werden soll
</programlisting>
<command>dcc Aktion [Nickname [Datei]]</command>
<programlisting>
DCC (Filetransfer oder Chat) starten oder Chat beenden
Aktion: 'send' (Datei) oder 'chat' oder 'close' (Chat)
Nickname: Empfänger der Datei bzw. Chatpartner
Datei: zu versendende (lokal vorliegende) Datei
</programlisting>
<command>debug dump | buffer | windows</command>
<programlisting>
Debugging-Nachricht ausgeben
dump: save memory dump in WeeChat log file (same dump is written when WeeChat crashes)
buffer: dump buffer content with hexadecimal values in log file
windows: display windows tree
</programlisting>
<command>help [Befehl]</command>
<programlisting>
Hilfe zu Befehlen abfragen
Befehl: Name eines WeeChat- oder IRC-Befehls
</programlisting>
<command>history [clear | Anzahl]</command>
<programlisting>
zeigt Befehlsverlauf des Puffers
clear: Löscht Verlauf
Anzahl: zeigt die gewünschte Anzahl an Verlaufseinträgen
</programlisting>
<command>ignore [Maske [[Typ | Befehl] [Channel [Server]]]]</command>
<programlisting>
IRC-Nachrichten und/oder Hosts ignorieren
Nummer: Nummer des zu entfernenden Eintrags (siehe Liste)
Maske: Nickname oder Hostmaske, die ignoriert werden soll
Typ: Typ der Nachrichten, die ignoriert werden sollen (action, ctcp, dcc, pv)
Befehl: IRC-Befehl
Channel: Channel, in dem ignoriert werden soll
Server: Server, auf dem ignoriert werden soll
Bei jedem Argument steht '*' fĂĽr 'alle'.
Ohne Argumente listet /ignore alle definierten /ignore-Regeln auf.
</programlisting>
<command>key [Taste [Funktion/Befehl]] [unbind Taste] [functions] [call Funktion ["Argumente"]] [reset -yes] </command>
<programlisting>
belegen/freigeben von Tasten
Taste: diese Taste anzeigen oder mit einer internen Funktion oder einem Befehl, beginnend mit "/", belegen
unbind: Tastenbelegung aufheben
functions: interne Funktionen fĂĽr Tastenbelegungen auflisten
call: rufe eine Funktion ĂĽber ihren Namen auf (mit optionalen Argumenten)
reset: Standardbelegung wiederherstellen und entferne ALLE eigenen Belegungen (Vorsicht!)
</programlisting>
<command>plugin [list [Name]] | [listfull [Name]] | [load Dateiname] | [autoload] | [reload [Name]] | [unload [Name]]</command>
<programlisting>
auflisten/laden/entladen von Plugins
list: geladene Plugins auflisten
listfull: geladene Plugins mit Details fĂĽr jedes Plugin auflisten
load: lade ein Plugin
autoload: lade automatisch alle Plugins im System- oder Benutzerverzeichnis
reload: lade ein Plugin erneut (wenn kein Name vorgegeben ist, werden alle Plugins entladen und autolade die Plugins)
unload: entlade eines oder alle Plugins
Ohne Argument, listet /plugin alle geladenen Plugins auf.
</programlisting>
<command>reconnect [-all [-nojoin] | servername [servername ...] [-nojoin]]</command>
<programlisting>
mit einem Server oder mehreren Servern neu verbinden
-all: reconnect to all servers
servername: server name to reconnect
-nojoin: do not join any channel (even if autojoin is enabled on server)
</programlisting>
<command>save [Datei]</command>
<programlisting>
Konfiguration abspeichern
Datei: Name der zu speichernden Konfigurationsdatei
</programlisting>
<command>server [list [servername]] | [listfull [servername]] | [add servername hostname [-port port] [-temp] [-auto | -noauto] [-ipv6] [-ssl] [-pwd password] [-nicks nick1 nick2 nick3] [-username username] [-realname realname] [-command command] [-autojoin channel[,channel]] ] | [copy servername newservername] | [rename servername newservername] | [keep servername] | [del servername]</command>
<programlisting>
Auflisten, HinzufĂĽgen oder Entfernen von Servern
list: list servers (no parameter implies this list)
listfull: list servers with detailed info for each server
add: create a new server
servername: server name, for internal and display use
hostname: name or IP address of server
port: port for server (integer, default is 6667)
temp: create temporary server (not saved in config file)
auto: automatically connect to server when WeeChat starts
noauto: do not connect to server when WeeChat starts (default)
ipv6: use IPv6 protocol
ssl: use SSL protocol
password: password for server
nick1: first nick for server
nick2: alternate nick for server
nick3: second alternate nick for server
username: user name
realname: real name of user
copy: duplicate a server
rename: rename a server
keep: keep server in config file (for temporary servers only)
del: delete a server
deloutq: delete messages out queue for all servers (all messages WeeChat is currently sending)
</programlisting>
<command>set [Option [ = Wert]]</command>
<programlisting>
Konfigurationsparameter setzen
Option: Name einer Option (wenn der Name vorhanden ist, aber kein Wert, dann wird eine Hilfe zur Option ausgegeben
Wert: Wert der Option
Option kann Servername.server_xxx lauten, wobei "Servername" der interne Servername ist und "xxx" eine Option fĂĽr diesen Server.
</programlisting>
<command>setp [Option [ = Wert]]</command>
<programlisting>
Konfigurationsparameter fĂĽr Plugin setzen
Option: Name einer Plugin-Option
Wert: Wert fĂĽr Option
Option wird wie folgt formatiert: Plugin.Option, z.B. perl.myscript.item1
</programlisting>
<command>unalias Aliasname</command>
<programlisting>
einen Alias entfernen
Aliasname: Name des zu löschenden Aliases
</programlisting>
<command>unignore [Nummer | [Maske [[Typ | Befehl] [Channel [Server]]]]</command>
<programlisting>
/ignore-Regel entfernen
Nummer: Nummer des zu entfernenden Eintrags (siehe Liste)
Maske: Nickname oder Hostmaske, die ignoriert werden soll
Typ: Typ der Nachrichten, die ignoriert werden sollen (action, ctcp, dcc, pv)
Befehl: IRC-Befehl
Channel: Channel, in dem ignoriert werden soll
Server: Server, auf dem ignoriert werden soll
Bei jedem Argument steht '*' fĂĽr 'alle'.
Ohne Argumente listet /unignore alle definierten /ignore-Regeln auf.
</programlisting>
<command>upgrade [path_to_binary]</command>
<programlisting>
aktualisiert WeeChat ohne die Verbindung zum Server zu trennen
path_to_binary: path to WeeChat binary (default is current binary)
This command run again a WeeChat binary, so it should have been compiled or installed with a package manager before running this command.
</programlisting>
<command>uptime [-o]</command>
<programlisting>
zeigt die Uptime von Weechat an
-o: sendet die Weechat-Uptime als IRC-Nachricht in den aktuellen Channel
</programlisting>
<command>window [list | -1 | +1 | b# | up | down | left | right | splith [pct] | splitv [pct] | resize pct | merge [all]]</command>
<programlisting>
Fenster verwalten
list: listet die geöffneten Fenster (Default, kann auch weggelassen werden)
-1: springt zum vorherigen Fenster
+1: springt zum nächsten Fenster
b#: springt zum nächsten Fenster, dass Puffer Nummer # anzeigt
up: wechselt zum Fenster ĂĽber dem aktuellen
down: wechselt zum Fenster unter dem aktuellen
left: wechselt zum linken Fenster
right: wechselt zum rechten Fenster
splith: teilt das aktuelle Fenster horizontal
splitv: teilt das aktuelle Fenster vertikal
resize: verändert die Größe des aktuellen Fensters, die neue Größe ist &lt;pct&gt; Prozent des Elternfensters groß
merge: vereinigt Fenster miteinander (all = alle Fenster vereinigen)
Bei splith und splitv gibt pct die neue Größe des Fensters im verhältnis zur aktuellen Größe an. Zum Beispiel würde 25 bedeuten, dass das neue Fenster nur noch ein Viertel der Größe des alten Fensters hätte.
</programlisting>
+79 -235
View File
@@ -1,265 +1,109 @@
WeeChat Quick Start Guide
=========================
FlashCode <flashcode@flashtux.org>
WeeChat Schnellstarter (deutsche Version)
======================
1. Weechat starten
[[start]]
Start von WeeChat
-----------------
Entsprechend dem gewählten User-Interface müssen Du starten:
- weechat-curses fĂĽr das Curses GUI
- weechat-gtk fĂĽr das Gtk GUI (in Entwicklung)
- weechat-qt fĂĽr das Qt GUI (in Planung)
- weechat-wxwidgets fĂĽr das WxWidgets GUI (in Planung)
Der bevorzugte Terminal-Emulator fĂĽr X (aber nicht obligatorisch) ist
rxvt-unicode (er hat eine gute UnterstĂĽtzung fĂĽr UTF-8 und keine Probleme mit der
Standard Tastaturbelegung).
2. Online-Hilfe / Optionen
Starte "weechat-curses" aus Deiner shell.
WeeChat hat eine eingebaute Hilfe fĂĽr all Kommandos, tippe einfach /help
Um Hilfe zu einem Kommando zu bekommen, tippe /help Kommando
Um Optionen zu verändern, benutzt du /set Option = Wert
Du brauchst /set Option nur mit den Anfangsbuchstaben eingeben
(<tab> zeigt alle Optionen mit den gleichen Buchstaben) oder mit dem vollen
Namen ohne einen Wert, um eine ausfĂĽhrliche Hilfe zu bekommen.
[[help_options]]
Online-Hilfe / Optionen
-----------------------
Wichtig: die Einstellungen werden gespeichert, wenn WeeChat beendet wird
(oder mit dem Befehl /save). Verändere die Einstellungen nicht, wenn WeeChat
läuft, weil WeeChat diese Datei zu jeder Zeit überschreiben kann und
Änderungen verloren sind. Um irgendeine Einstellung zu verändern, verwendest du
das /set Kommando, WeeChat wird die neuen Einstellungen umgehend ĂĽbernehmen.
WeeChat enthält Hilfetexte für alle Befehle, erreichbar über `/help`.
Um Hilfe zu einen bestimmten Befehl zu bekommen kann man einfach `/help Befehl`
ausfĂĽhren.
3. Einen Server-Eintrag anlegen
Um Optionen zu setzen benutzt man `/set config.section.option value`.
(dabei ist 'config' der Konfigurationsname ('weechat' fĂĽr den Kern von weechat,
oder ein Plugin-Name), 'section' ein Abschnitt dieser Konfiguration und 'option'
der Name der Option).
Zum Beispiel fĂĽr irc.quakenet.org, Port 6667:
/server quakenet irc.quakenet.org 6667
(/help Server fĂĽr volle Hilfe zu diesem Kommando)
WeeChat benutzt den neuen Wert sofort (*Niemals* muss WeeChat neu gestartet
werden nach dem die Konfiguration geändert wurde).
4. Eigene Server-Optionen setzen
Du kannst die Option `/set` mit teilweise ausgeschriebenen Namen und dem
Platzhalter "*" am Beginn oder Ende verwenden um alle Optionen anzuzeigen, die
die Zeichenkette enthalten.
Nickname:
/set quakenet.server_nick1 = "mynick"
/set quakenet.server_nick2 = "mynick2"
/set quakenet.server_nick3 = "mynick3"
Zum Beispiel:
Username/Klarname:
/set quakenet.server_username = "My username"
/set quakenet.server_realname = "My real name"
`/set`::
Anzeige aller Optionen (WeeChat und Plugins)
Automatische Server-Verbindung:
/set quakenet.server_autoconnect = on
`/set weechat.*`::
Anzeige der WeeChat Optionen
Automatisches Betreten eines Channels:
/set quakenet.server_autojoin = "#chan1,#chan2"
`/set irc.*`::
Anzeige der Optionen des IRC-Plugins
Andere Optionen:
Du kannst die Server-Optionen und ihre Werte mit /set quakenet sehen
Um eine Option zu setzen, tippe /set quakenet.option = Wert
Du kannst mit `/help` Hilfe fĂĽr Optionen auflisten lassen, z.B.:
`/help weechat.look.highlight`.
5. Verbinden zu einem Server und automatisch einen Channel betreten
Beim beenden von WeeChat werden alle Einstellungen gespeichert (mittels `/save`
kann das Schreiben der Optionen erzwungen werden).
/connect quakenet
Konfigurations-Dateien (*.conf) können auch per Hand editiert und mit dem Befehl
`/reload` neu eingelesen werden (falls man z.B. den `/set` Befehl nicht
verwenden möchte).
6. Channels betreten/verlassen
Einen Channel betreten:
/join #channel
Einen Channel verlassen:
/part [Nachricht]
Einen Channel verlassen und den Buffer schliessen:
/close [Nachricht]
(/close ist ein Alias fĂĽr /buffer close)
[[core_vs_plugins]]
Kern (Core) vs Plugins
----------------------
7. Buffer/Fenster Management
Der Kern (core) von WeeChat ist ausschlieĂźlich dazu da, Daten auf dem Bildschirm
darzustellen um mit dem Benutzer zu interagieren, dies bedeutet, WeeChat an sich
-also nur WeeChat core- ohne jegliche Plugins ist unbrauchbar.
(an die treuen User: IRC war ein Teil des Kerns bei Versionen <= 0.2.6)
Du kannst die einzelnen Buffer mit /buffer und Fenster mit /window
verwalten.
Um zum Beispiel das Fenster in ein kleineres (1/3 breit) und ein
grosses (2/3 breit) zu teilen, nutzt du das folgende Kommando:
/window splitv 33
Alle Netzwerkprotokolle, z.B. IRC, werden als separates Plugin bereit gestellt.
8. Tastenkombinationen
Benutze den Befehl `/plugin` um alle Plugins aufzulisten, "irc" sowie andere
Plugins sollten aufgelistet werden.
Entsprechend deiner Tastatur und/oder deinen WĂĽnschen, kannst du jede Taste
mit "/key" neu zuordnen.
Eine nĂĽtzliche Taste ist meta-k (alt-k), sie zeigt die Tastaturcodes an.
Um zum Beispiel meta-y (alt-y) dem Kommando "/buffer close" zuzuordnen:
/key (tippe meta-k) (tippe meta-y) /buffer close
Und du bekommst damit die Kommandozeile:
/key meta-y /buffer close
[[create_irc_server]]
Einen IRC-Server erstellen
--------------------------
9. Plugins/Skripte
Du kannst einen IRC-Server mit dem Befehl `/server` hinzufĂĽgen, z.B.:
In einigen Distributionen, wie zum Beispiel Debian, sind Plugins in separaten
Paketen verfĂĽgbar (wie weechat-plugins). Plugins werden automatisch geladen,
wenn welche gefunden wurden.
Viele Plugins/Skripte fĂĽr WeeChat sind zu finden auf:
http://weechat.flashtux.org/plugins.php
Bitte lies fĂĽr das Laden/Entladen von Plugins oder Skripten die Dokumentation.
/server add oftc irc.oftc.org/6667
Wie immer, wenn Du nicht mehr weiter weiĂźt, kannst Du mit `/help server` Hilfe
erlangen.
10. Mehr Dokumentation
Jetzt kannst du WeeChat starten und die FAQ/Dokumentation lesen, falls du weitere
Fragen hast:
http://weechat.flashtux.org/faq.php
http://weechat.flashtux.org/doc.php
[[irc_server_options]]
Setzen eigener IRC-Server Optionen
----------------------------------
Viel Spass mit WeeChat!
WeeChat verwendet Vorgabewerte fĂĽr alle Server (so genannte "fall backs") falls
Du keine eigenen Werte fĂĽr entsprechende Server-Optionen bestimmst.
Diese Vorgabeoptionen sind "irc.server_default.*".
FĂĽr jede Server-Option benutzt WeeChat den entsprechend gesetzten Wert - falls
definiert (nicht "null"). Andernfalls verwendet WeeChat Vorgabewerte
("irc.server_default.xxx").
Als Beispiel erwähnt seien die Vorgabe (default) nicks, die auf dem Un*x Login
basieren. Diese können nun für oftc-Server mittels folgendem Befehl
ĂĽberschrieben werden:
/set irc.server.oftc.nicks "mynick1,mynick2,mynick3,mynick4,mynick5"
Um den User-Namen und wirklichen Namen zu setzen:
/set irc.server.oftc.username "Mein User-Name"
/set irc.server.oftc.realname "Mein wirklicher Name"
Aktivieren des automatischen Verbindens mit dem Server beim Start von WeeChat:
/set irc.server.oftc.autoconnect on
Um einen Befehl nach der Verbindung zum Server auszufĂĽhren, z.B. identifizieren
beim nickserv:
/set irc.server.oftc.command "/msg nickserv identify xxxxxx"
Hinweis: Mehrere Befehle können mittels ';' (Semikolon) getrennt werden.
Um ein auto-join (automatisches 'betreten') von Channels (Räumen) nach der
Verbindung zum Server zu erreichen:
/set irc.server.oftc.autojoin "#channel1,#channel2"
Um einen Wert der Server-Optionen zu entfernen und stattdessen wieder den
Vorgabewert (default) zu nutzen, z.B. Nutzung der Vorgabe-Nicks
(irc.server_default.nicks):
/set irc.server.oftc.nicks null
Andere Optionen: Du kannst andere Optionen mit folgendem Befehl setzen ("xxx"
ist der Optionsname):
/set irc.server.oftc.xxx value
[[connect_to_irc_server]]
Verbinden mit dem IRC-Server und auto-join der Channel
------------------------------------------------------
/connect oftc
[NOTE]
Dieser Befehl kann dazu benutzt werden um einen neuen Server zu erstellen und
sich mit ihm zu verbinden ohne den Befehl `/server` zu benutzen (sollte ich
wiederholen, dass Du die Hilfe zu diesem Befehl mit `/help connect` aufrufen
kannst?).
Generell werden die Server-Puffer und der Puffer des Kerns von WeeChat -der
core-Puffer- zusammengelegt. Um zwischen den core-Puffer und den Server-Puffern
umzuschalten kannst Du ctrl-X benutzen.
Es ist möglich das automatische Zusammenlegen der Server-Puffer zu deaktivieren
um eigenständig Puffer zu haben:
/set irc.look.server_buffer independent
[[join_part_irc_channels]]
Betreten/verlassen der IRC-Channel
----------------------------------
`/join #channel`::
Einen Channel betreten
`/part [quit message]`::
Einen Channel verlassen (der Puffer bleibt geöffnet)
`/close [quit message]`::
SchlieĂźen eines Server- oder Channel-Puffers (`/close` ist ein Alias fĂĽr `/buffer close`)
[[buffer_window]]
Puffer/Fenster Verwaltung
-------------------------
Ein Puffer ist eine, zu einem Plugin mit einer Nummer, einer Kategorie und einem
Namen, verbundene Komponente. Ein Puffer beinhaltet die auf dem Bildschirm
dargestellten Daten.
Ein Fenster ist die Ansicht eines Puffers. Standard ist ein Fenster, das einen
Puffer darstellt. Wenn Du den Bildschirm aufteilst, wirst Du mehrere Fenster mit
mehreren Puffer gleichzeitig sehen.
Befehle, welche Puffer und Fenster verwalten:
/buffer
/window
(Ich will jetzt nicht wiederholen, dass Du zu diesen Befehlen Hilfe mit /help
erhalten kannst)
Ein Beispiel, um Deinen Bildschirm vertikal in ein kleines Fenster (1/3 Höhe)
und ein großes Fenster (2/3 Höhe) aufzuteilen, benutze diesen Befehl:
/window splitv 33
[[key_bindings]]
Tastaturbelegung
----------------
WeeChat verwendet viele Standardtasten. Alle diese Belegungen sind in der
Dokumentation beschrieben, doch solltest Du mindestens einige wesentliche
Belegungen kennen:
- 'alt + linker/rechter Pfeil' (oder 'F5'/'F6'): umschalten zum
vorherigen/nächsten Puffer
- 'F7'/'F8': umschalten zum vorherigen/nächsten Fenster (falls der Bildschirm
aufgeteilt ist)
- 'F9'/'F10': scrolle die Titleleiste
- 'F11'/'F12': scrolle die Liste der Nicks
- 'tab': komplettiere den Text in der Eingabeleiste, ähnlich Deiner shell
- 'Seite rauf/runter': scrolle den Text im aktiven Puffer
- 'alt + A': springe zum Puffer mit Aktivität (aus der Hotlist)
Gemäß Deiner Tastatur und/oder Deinen Bedürfnissen kannst Du jede Taste mittels
des Befehls `/key` neu mit einem Befehl belegen.
Eine nĂĽtzliche Tastenkombination um Tastencodes zu ermitteln ist meta-k (alt-k).
Beispiel, Belegung von meta-y (alt-y) mit dem Befehl `/buffer close`:
/key bind (drĂĽcke meta-k) (drĂĽcke meta-y) /buffer close
Du wirst folgende Befehlszeile erhalten:
/key bind meta-y /buffer close
Entfernen der Belegung:
/key unbind meta-y
[[plugins_scripts]]
Plugins/Scripte
---------------
Bei einige Distributionen wie Debian, sind Plugins ĂĽber separate Pakete
erhältlich (z.B. weechat-plugins).
Plugins werden -falls gefunden- automatisch geladen (Bitte beachte die
Dokumentation zum Laden/Entladen von Plugins oder Skripten).
Einige Plugins ermöglichen die Verwendung von Scripten in WeeChat (in mehreren
Sprachen wie Perl, Python, Ruby, Lua und TCL). Diese Plugins mĂĽssen mit dem
Befehl `/plugin` geladen werden und verfĂĽgen ihrerseits ĂĽber Befehle wie z.B.
`/perl` um Scripte zu laden.
Viele externe Plugins/Scripte (der Mitarbeitenden) sind fĂĽr WeeChat verfĂĽgbar,
siehe: http://www.weechat.org/plugins
Der einfachste Weg um Scripte zu installieren ist die verwendung von 'weeget.py':
. herunterladen und kopieren von 'weeget.py' nach ~/.weechat/python/autoload/
. laden des Scriptes: `/python autoload`
. Liste der Scripte: `/weeget list` (Hilfe mit: `/help weeget`)
[[more_doc]]
Weitere Dokumentation
---------------------
Nun kannst Du WeeChat nutzen, fĂĽr weitere Fragen lese die FAQ/Dokumentation:
http://www.weechat.org/doc
Viel Spass mit WeeChat!
--
(c) 2006-05-31, written by FlashCode <flashcode@flashtux.org>
This document is part of WeeChat and is distributed under GPL licence.
-599
View File
@@ -1,599 +0,0 @@
#
# Copyright (c) 2008-2009 by FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# Documentation generator for WeeChat: build XML include files with commands,
# options, infos and completions for WeeChat core and plugins.
#
# Instructions to build config files yourself in WeeChat directories (replace
# all paths with your path to WeeChat):
# 1. run WeeChat and load this script, with following command:
# /perl load ~/src/weechat/doc/docgen.pl
# 2. change path to build in your doc/ directory:
# /set plugins.var.perl.docgen.path "~/src/weechat/doc"
# 3. run docgen command:
# /docgen
# XML files should be in ~/src/weechat/doc/xx/autogen/ (where xx is language)
#
# Script written on 2008-08-22 by FlashCode <flashcode@flashtux.org>
#
use strict;
use POSIX; # needed for setlocale()
use Locale::gettext;
use File::Basename;
my $version = "0.1";
# -------------------------------[ config ]------------------------------------
# default path where doc XML files will be written (should be doc/ in sources
# package tree)
# path must have subdirectories with languages and autogen directory:
# path
# |-- en
# | |-- autogen
# |-- fr
# | |-- autogen
# ...
my $default_path = "~/src/weechat/doc";
# list of locales for which we want to build XML doc files to include
my @locale_list = qw(en_US fr_FR);
# all commands/options/.. of following plugins will produce a file
# non-listed plugins will be ignored
# value: "c" = plugin may have many commands
# "o" = write config options for plugin
# if plugin is listed without "c", that means plugin has only one command
# /name (where "name" # is name of plugin)
# Note: we consider core is a plugin called "weechat"
my %plugin_list = ("weechat" => "co", "alias" => "",
"aspell" => "o", "charset" => "co",
"demo" => "co", "fifo" => "co",
"irc" => "co", "logger" => "co",
"relay" => "co", "perl" => "",
"python" => "", "ruby" => "",
"lua" => "", "tcl" => "",
"xfer" => "co");
# options to ignore
my @ignore_options = ("aspell\\.dict\\..*",
"charset\\.decode\\..*",
"charset\\.encode\\..*",
"irc\\.server\\..*",
"jabber\\.server\\..*",
"logger\\.level\\..*",
"logger\\.mask\\..*",
"weechat\\.proxy\\..*",
"weechat\\.bar\\..*",
"weechat\\.debug\\..*",
"weechat\\.notify\\..*");
# infos to ignore
my @ignore_infos_plugins = ();
# infolists to ignore
my @ignore_infolists_plugins = ();
# completions to ignore
my @ignore_completions_plugins = ();
my @ignore_completions_items = ("jabber.*",
"weeget.*");
# -------------------------------[ init ]--------------------------------------
weechat::register("docgen", "FlashCode <flashcode\@flashtux.org>", $version,
"GPL", "Doc generator for WeeChat 0.3.x", "", "");
weechat::hook_command("docgen", "Doc generator", "", "", "", "docgen", "");
weechat::config_set_plugin("path", $default_path)
if (weechat::config_get_plugin("path") eq "");
# -----------------------------------------------------------------------------
# get list of commands in a hash with 3 indexes: plugin, command, xxx
sub get_commands
{
my %commands;
my $infolist = weechat::infolist_get("hook", "", "command");
while (weechat::infolist_next($infolist))
{
my $command = weechat::infolist_string($infolist, "command");
my $plugin = weechat::infolist_string($infolist, "plugin_name");
$plugin = "weechat" if ($plugin eq "");
if (exists($plugin_list{$plugin}))
{
if (($command eq $plugin) || ($plugin_list{$plugin} =~ /c/))
{
$commands{$plugin}{$command}{"description"} = weechat::infolist_string($infolist, "description");
$commands{$plugin}{$command}{"args"} = weechat::infolist_string($infolist, "args");
$commands{$plugin}{$command}{"args_description"} = weechat::infolist_string($infolist, "args_description");
$commands{$plugin}{$command}{"completion"} = weechat::infolist_string($infolist, "completion");
}
}
}
weechat::infolist_free($infolist);
return %commands;
}
# get list of config options in a hash with 4 indexes: config, section, option, xxx
sub get_options
{
my %options;
my $infolist = weechat::infolist_get("option", "", "");
while (weechat::infolist_next($infolist))
{
my $full_name = weechat::infolist_string($infolist, "full_name");
# check if option is ignored or not
my $ignore = 0;
foreach my $mask (@ignore_options)
{
$ignore = 1 if ($full_name =~ /${mask}/);
}
if ($ignore ne 1)
{
my $config = weechat::infolist_string($infolist, "config_name");
my $section = weechat::infolist_string($infolist, "section_name");
my $option = weechat::infolist_string($infolist, "option_name");
if (defined $plugin_list{$config} && ($plugin_list{$config} =~ /o/))
{
$options{$config}{$section}{$option}{"type"} = weechat::infolist_string($infolist, "type");
$options{$config}{$section}{$option}{"string_values"} = weechat::infolist_string($infolist, "string_values");
$options{$config}{$section}{$option}{"default_value"} = weechat::infolist_string($infolist, "default_value");
$options{$config}{$section}{$option}{"min"} = weechat::infolist_integer($infolist, "min");
$options{$config}{$section}{$option}{"max"} = weechat::infolist_integer($infolist, "max");
$options{$config}{$section}{$option}{"description"} = weechat::infolist_string($infolist, "description");
}
}
}
weechat::infolist_free($infolist);
return %options;
}
# get list of infos hooked by plugins in a hash with 3 indexes: plugin, name, xxx
sub get_infos
{
my %infos;
# get infos hooked
my $infolist = weechat::infolist_get("hook", "", "info");
while (weechat::infolist_next($infolist))
{
my $info_name = weechat::infolist_string($infolist, "info_name");
my $plugin = weechat::infolist_string($infolist, "plugin_name");
$plugin = "weechat" if ($plugin eq "");
# check if infolist is ignored or not
my $ignore = 0;
foreach my $mask (@ignore_infos_plugins)
{
$ignore = 1 if ($plugin =~ /${mask}/);
}
if ($ignore ne 1)
{
$infos{$plugin}{$info_name}{"description"} = weechat::infolist_string($infolist, "description");
}
}
weechat::infolist_free($infolist);
return %infos;
}
# get list of infolists hooked by plugins in a hash with 3 indexes: plugin, name, xxx
sub get_infolists
{
my %infolists;
# get infolists hooked
my $infolist = weechat::infolist_get("hook", "", "infolist");
while (weechat::infolist_next($infolist))
{
my $infolist_name = weechat::infolist_string($infolist, "infolist_name");
my $plugin = weechat::infolist_string($infolist, "plugin_name");
$plugin = "weechat" if ($plugin eq "");
# check if infolist is ignored or not
my $ignore = 0;
foreach my $mask (@ignore_infolists_plugins)
{
$ignore = 1 if ($plugin =~ /${mask}/);
}
if ($ignore ne 1)
{
$infolists{$plugin}{$infolist_name}{"description"} = weechat::infolist_string($infolist, "description");
}
}
weechat::infolist_free($infolist);
return %infolists;
}
# get list of completions hooked by plugins in a hash with 3 indexes: plugin, item, xxx
sub get_completions
{
my %completions;
# get completions hooked
my $infolist = weechat::infolist_get("hook", "", "completion");
while (weechat::infolist_next($infolist))
{
my $completion_item = weechat::infolist_string($infolist, "completion_item");
my $plugin = weechat::infolist_string($infolist, "plugin_name");
$plugin = "weechat" if ($plugin eq "");
# check if completion item is ignored or not
my $ignore = 0;
foreach my $mask (@ignore_completions_plugins)
{
$ignore = 1 if ($plugin =~ /${mask}/);
}
foreach my $mask (@ignore_completions_items)
{
$ignore = 1 if ($completion_item =~ /${mask}/);
}
if ($ignore ne 1)
{
$completions{$plugin}{$completion_item}{"description"} = weechat::infolist_string($infolist, "description");
}
}
weechat::infolist_free($infolist);
return %completions;
}
sub escape_string
{
my $str = $_[0];
$str =~ s/"/\\"/g;
return $str;
}
sub escape_table
{
my $str = $_[0];
$str =~ s/\|/\\|/g;
return $str;
}
# build XML doc files (command /docgen)
sub docgen
{
my %plugin_commands = get_commands();
my %plugin_options = get_options();
my %plugin_infos = get_infos();
my %plugin_infolists = get_infolists();
my %plugin_completions = get_completions();
# get path and replace ~ by home if needed
my $path = weechat::config_get_plugin("path");
$path =~ s/^~\//$ENV{"HOME"}\//;
my $old_locale = setlocale(LC_MESSAGES);
# write to doc files, by locale
my $num_files = 0;
my $num_files_updated = 0;
my $filename = "";
foreach my $locale (@locale_list)
{
my $num_files_commands = 0;
my $num_files_commands_updated = 0;
my $num_files_options = 0;
my $num_files_options_updated = 0;
my $num_files_infos = 0;
my $num_files_infos_updated = 0;
my $num_files_infolists = 0;
my $num_files_infolists_updated = 0;
my $num_files_completions = 0;
my $num_files_completions_updated = 0;
setlocale(LC_MESSAGES, $locale.".UTF-8");
my $d = Locale::gettext->domain_raw("weechat");
$d->codeset("UTF-8");
$d->dir(weechat::info_get("weechat_localedir", ""));
my $dir = $path."/".substr($locale, 0, 2)."/autogen/";
if (-d $dir)
{
# write commands
foreach my $plugin (keys %plugin_commands)
{
$filename = $dir."user/".$plugin."_commands.txt";
if (open(FILE, ">".$filename.".tmp"))
{
foreach my $command (sort keys %{$plugin_commands{$plugin}})
{
my $args = $plugin_commands{$plugin}{$command}{"args"};
$args = $d->get($args) if ($args ne "");
my $description = $plugin_commands{$plugin}{$command}{"description"};
$description = $d->get($description) if ($description ne "");
my $args_description = $plugin_commands{$plugin}{$command}{"args_description"};
$args_description = $d->get($args_description) if ($args_description ne "");
print FILE "&bull; *`/".$command."`*";
print FILE " `".$args."`" if ($args ne "");
print FILE "::\n\n";
print FILE "........................................\n";
print FILE " ".$description."\n" if ($description ne "");
if ($args_description ne "")
{
print FILE "\n";
my @lines = split(/\n/, $args_description);
foreach my $line (@lines)
{
print FILE " ".$line."\n";
}
}
print FILE "........................................\n\n";
}
#weechat::print("", "docgen: file ok: '$filename'");
my $rc = system("diff ".$filename." ".$filename.".tmp >/dev/null 2>&1");
if ($rc != 0)
{
system("mv -f ".$filename.".tmp ".$filename);
$num_files_updated++;
$num_files_commands_updated++;
}
else
{
system("rm ".$filename.".tmp");
}
$num_files++;
$num_files_commands++;
close(FILE);
}
else
{
weechat::print("", weechat::prefix("error")."docgen error: unable to write file '$filename'");
}
}
# write config options
foreach my $config (keys %plugin_options)
{
$filename = $dir."user/".$config."_options.txt";
if (open(FILE, ">".$filename.".tmp"))
{
foreach my $section (sort keys %{$plugin_options{$config}})
{
foreach my $option (sort keys %{$plugin_options{$config}{$section}})
{
my $type = $plugin_options{$config}{$section}{$option}{"type"};
my $string_values = $plugin_options{$config}{$section}{$option}{"string_values"};
my $default_value = $plugin_options{$config}{$section}{$option}{"default_value"};
my $min = $plugin_options{$config}{$section}{$option}{"min"};
my $max = $plugin_options{$config}{$section}{$option}{"max"};
my $description = $plugin_options{$config}{$section}{$option}{"description"};
$description = $d->get($description) if ($description ne "");
my $type_nls = $type;
$type_nls = $d->get($type_nls) if ($type_nls ne "");
my $values = "";
if ($type eq "boolean")
{
$values = "on, off";
}
if ($type eq "integer")
{
if ($string_values ne "")
{
$string_values =~ s/\|/, /g;
$values = $string_values;
}
else
{
$values = $min." .. ".$max;
}
}
if ($type eq "string")
{
$values = $d->get("any string") if ($max <= 0);
$values = $d->get("any char") if ($max == 1);
$values = $d->get("any string")." (".$d->get("max chars").": ".$max.")" if ($max > 1);
$default_value = "\"".escape_string($default_value)."\"";
}
if ($type eq "color")
{
$values = $d->get("a color name");
}
print FILE "* *".$config.".".$section.".".$option."*\n";
print FILE "** ".$d->get("description").": ".$description."\n";
print FILE "** ".$d->get("type").": ".$type_nls."\n";
print FILE "** ".$d->get("values").": ".$values." "
."(".$d->get("default value").": ".$default_value.")\n\n";
}
}
#weechat::print("", "docgen: file ok: '$filename'");
my $rc = system("diff ".$filename." ".$filename.".tmp >/dev/null 2>&1");
if ($rc != 0)
{
system("mv -f ".$filename.".tmp ".$filename);
$num_files_updated++;
$num_files_options_updated++;
}
else
{
system("rm ".$filename.".tmp");
}
$num_files++;
$num_files_options++;
close(FILE);
}
else
{
weechat::print("", weechat::prefix("error")."docgen error: unable to write file '$filename'");
}
}
# write infos hooked
$filename = $dir."plugin_api/infos.txt";
if (open(FILE, ">".$filename.".tmp"))
{
print FILE "[width=\"65%\",cols=\"^1,^2,8\",options=\"header\"]\n";
print FILE "|========================================\n";
print FILE "| ".$d->get("Plugin")." | ".$d->get("Name")." | ".$d->get("Description")."\n";
foreach my $plugin (sort keys %plugin_infos)
{
foreach my $info (sort keys %{$plugin_infos{$plugin}})
{
my $description = $plugin_infos{$plugin}{$info}{"description"};
$description = $d->get($description) if ($description ne "");
print FILE "| ".escape_table($plugin)." | ".escape_table($info)
." | ".escape_table($description)."\n\n";
}
}
print FILE "|========================================\n";
#weechat::print("", "docgen: file ok: '$filename'");
my $rc = system("diff ".$filename." ".$filename.".tmp >/dev/null 2>&1");
if ($rc != 0)
{
system("mv -f ".$filename.".tmp ".$filename);
$num_files_updated++;
$num_files_infos_updated++;
}
else
{
system("rm ".$filename.".tmp");
}
$num_files++;
$num_files_infos++;
close(FILE);
}
else
{
weechat::print("", weechat::prefix("error")."docgen error: unable to write file '$filename'");
}
# write infolists hooked
$filename = $dir."plugin_api/infolists.txt";
if (open(FILE, ">".$filename.".tmp"))
{
print FILE "[width=\"65%\",cols=\"^1,^2,8\",options=\"header\"]\n";
print FILE "|========================================\n";
print FILE "| ".$d->get("Plugin")." | ".$d->get("Name")." | ".$d->get("Description")."\n";
foreach my $plugin (sort keys %plugin_infolists)
{
foreach my $infolist (sort keys %{$plugin_infolists{$plugin}})
{
my $description = $plugin_infolists{$plugin}{$infolist}{"description"};
$description = $d->get($description) if ($description ne "");
print FILE "| ".escape_table($plugin)." | ".escape_table($infolist)
." | ".escape_table($description)."\n\n";
}
}
print FILE "|========================================\n";
#weechat::print("", "docgen: file ok: '$filename'");
my $rc = system("diff ".$filename." ".$filename.".tmp >/dev/null 2>&1");
if ($rc != 0)
{
system("mv -f ".$filename.".tmp ".$filename);
$num_files_updated++;
$num_files_infolists_updated++;
}
else
{
system("rm ".$filename.".tmp");
}
$num_files++;
$num_files_infolists++;
close(FILE);
}
else
{
weechat::print("", weechat::prefix("error")."docgen error: unable to write file '$filename'");
}
# write completions hooked
$filename = $dir."plugin_api/completions.txt";
if (open(FILE, ">".$filename.".tmp"))
{
print FILE "[width=\"65%\",cols=\"^1,^2,8\",options=\"header\"]\n";
print FILE "|========================================\n";
print FILE "| ".$d->get("Plugin")." | ".$d->get("Name")." | ".$d->get("Description")."\n";
foreach my $plugin (sort keys %plugin_completions)
{
foreach my $completion_item (sort keys %{$plugin_completions{$plugin}})
{
my $description = $plugin_completions{$plugin}{$completion_item}{"description"};
$description = $d->get($description) if ($description ne "");
print FILE "| ".escape_table($plugin)." | ".escape_table($completion_item)
." | ".escape_table($description)."\n\n";
}
}
print FILE "|========================================\n";
#weechat::print("", "docgen: file ok: '$filename'");
my $rc = system("diff ".$filename." ".$filename.".tmp >/dev/null 2>&1");
if ($rc != 0)
{
system("mv -f ".$filename.".tmp ".$filename);
$num_files_updated++;
$num_files_completions_updated++;
}
else
{
system("rm ".$filename.".tmp");
}
$num_files++;
$num_files_completions++;
close(FILE);
}
else
{
weechat::print("", weechat::prefix("error")."docgen error: unable to write file '$filename'");
}
}
else
{
weechat::print("", weechat::prefix("error")."docgen error: directory '$dir' does not exist");
}
my $total_files = $num_files_commands + $num_files_options
+ $num_files_infos + $num_files_infolists + $num_files_completions;
my $total_files_updated = $num_files_commands_updated
+ $num_files_options_updated + $num_files_infos_updated
+ $num_files_infolists_updated + $num_files_completions_updated;
weechat::print("", "docgen: ".$locale.": ".$total_files." files ("
.$num_files_commands." cmd, "
.$num_files_options." opt, "
.$num_files_infos." infos, "
.$num_files_infolists." infolists, "
.$num_files_completions." complt) -- "
.$total_files_updated." updated ("
.$num_files_commands_updated." cmd, "
.$num_files_options_updated." opt, "
.$num_files_infos_updated." infos, "
.$num_files_infolists_updated." infolists, "
.$num_files_completions_updated." complt)");
}
weechat::print("", "docgen: total: ".$num_files." files (".$num_files_updated." updated)");
setlocale(LC_MESSAGES, $old_locale);
return weechat::WEECHAT_RC_OK;
}
-83
View File
@@ -1,83 +0,0 @@
# Copyright (c) 2003-2009 FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# user's guide
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.en.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a toclevels=3 -a date=`date "+%F"` -a revision="${VERSION}" -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.en.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.en.txt
${CMAKE_CURRENT_SOURCE_DIR}/autogen/user/*.txt
COMMENT "Building weechat_user.en.html"
)
ADD_CUSTOM_TARGET(doc-user-en ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.en.html)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.en.html DESTINATION share/doc/${PROJECT_NAME})
# plugin API reference
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_plugin_api.en.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a toclevels=3 -a date=`date "+%F"` -a revision="${VERSION}" -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_plugin_api.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_plugin_api.en.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_plugin_api.en.txt
${CMAKE_CURRENT_SOURCE_DIR}/autogen/plugin_api/*.txt
COMMENT "Building weechat_plugin_api.en.html"
)
ADD_CUSTOM_TARGET(doc-plugin-api-en ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_plugin_api.en.html)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_plugin_api.en.html DESTINATION share/doc/${PROJECT_NAME})
# scripting guide
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.en.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a toclevels=3 -a date=`date "+%F"` -a revision="${VERSION}" -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_scripting.en.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_scripting.en.txt
COMMENT "Building weechat_scripting.en.html"
)
ADD_CUSTOM_TARGET(doc-scripting-en ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.en.html)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.en.html DESTINATION share/doc/${PROJECT_NAME})
# FAQ
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.en.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a date=`date "+%F"` -a revision="${VERSION}" -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.en.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.en.txt
COMMENT "Building weechat_faq.en.html"
)
ADD_CUSTOM_TARGET(doc-faq-en ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.en.html)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.en.html DESTINATION share/doc/${PROJECT_NAME})
# quickstart
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.en.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a date=`date "+%F"` -a revision="${VERSION}" -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.en.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.en.txt
COMMENT "Building weechat_quickstart.en.html"
)
ADD_CUSTOM_TARGET(doc-quickstart-en ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.en.html)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.en.html DESTINATION share/doc/${PROJECT_NAME})
# tester's guide
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.en.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a date=`date "+%F"` -a revision="${VERSION}" -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.en.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.en.txt
COMMENT "Building weechat_tester.en.html"
)
ADD_CUSTOM_TARGET(doc-tester-en ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.en.html)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.en.html DESTINATION share/doc/${PROJECT_NAME})
+46 -37
View File
@@ -1,4 +1,4 @@
# Copyright (c) 2003-2009 FlashCode <flashcode@flashtux.org>
# Copyright (c) 2003-2007 FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -14,56 +14,65 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
LANGCODE = en
BOOK = weechat.$(LANGCODE)
BOOK_INCLUDE = weechat_commands.xml irc_commands.xml key_functions.xml config.xml
QUICKSTART = weechat_quickstart.$(LANGCODE).txt
EXTRA_DIST = $(BOOK).xml $(BOOK_INCLUDE) $(QUICKSTART)
if DBLATEX_FOUND
PDF = pdf-stamp
endif
docdir = $(datadir)/doc/$(PACKAGE)
EXTRA_DIST = CMakeLists.txt \
weechat_user.en.txt \
weechat_plugin_api.en.txt \
weechat_scripting.en.txt \
weechat_faq.en.txt \
weechat_quickstart.en.txt \
weechat_tester.en.txt \
$(wildcard autogen/user/*.txt) \
$(wildcard autogen/plugin_api/*.txt)
all-local: html-stamp $(PDF)
all-local: weechat_user.en.html \
weechat_plugin_api.en.html \
weechat_scripting.en.html \
weechat_faq.en.html \
weechat_quickstart.en.html \
weechat_tester.en.html
# HTML output with chunks (many pages)
# user's guide
weechat_user.en.html: weechat_user.en.txt $(wildcard autogen/user/*.txt)
$(ASCIIDOC) -a toc -a toclevels=3 -a date=`date "+%F"` -a revision="$(VERSION)" -n -o weechat_user.en.html weechat_user.en.txt
html: html-stamp
# plugin API reference
weechat_plugin_api.en.html: weechat_plugin_api.en.txt $(wildcard autogen/plugin_api/*.txt)
$(ASCIIDOC) -a toc -a toclevels=3 -a date=`date "+%F"` -a revision="$(VERSION)" -n -o weechat_plugin_api.en.html weechat_plugin_api.en.txt
html-stamp: $(BOOK).xml $(BOOK_INCLUDE) ../weechat-html.xsl ../weechat-doc.css
echo "<pubdate>`date '+%F %T'`</pubdate>" >date.xml
mkdir -p html/
xsltproc -o html/ ../weechat-html.xsl $(BOOK).xml || true
cp ../weechat-doc.css html/
touch html-stamp
# scripting guide
weechat_scripting.en.html: weechat_scripting.en.txt
$(ASCIIDOC) -a toc -a toclevels=3 -a date=`date "+%F"` -a revision="$(VERSION)" -n -o weechat_scripting.en.html weechat_scripting.en.txt
# HTML output, all in one page
# FAQ
weechat_faq.en.html: weechat_faq.en.txt
$(ASCIIDOC) -a toc -a date=`date "+%F"` -a revision="$(VERSION)" -n -o weechat_faq.en.html weechat_faq.en.txt
html1: html1-stamp
# quickstart
weechat_quickstart.en.html: weechat_quickstart.en.txt
$(ASCIIDOC) -a toc -a date=`date "+%F"` -a revision="$(VERSION)" -n -o weechat_quickstart.en.html weechat_quickstart.en.txt
html1-stamp: $(BOOK).xml $(BOOK_INCLUDE) ../weechat-html-one.xsl ../weechat-doc.css
echo "<pubdate>`date '+%F %T'`</pubdate>" >date.xml
mkdir -p html1/
xsltproc -o html1/$(BOOK).html ../weechat-html-one.xsl $(BOOK).xml || true
cp ../weechat-doc.css html1/
touch html1-stamp
# tester's guide
weechat_tester.en.html: weechat_tester.en.txt
$(ASCIIDOC) -a toc -a date=`date "+%F"` -a revision="$(VERSION)" -n -o weechat_tester.en.html weechat_tester.en.txt
# PDF output
pdf: pdf-stamp
pdf-stamp: $(BOOK).xml $(BOOK_INCLUDE)
echo "<pubdate>`date '+%F %T'`</pubdate>" >date.xml
dblatex -c ../dblatex.conf $(BOOK).xml || true
touch pdf-stamp
# install docs
install-data-hook:
$(mkinstalldirs) $(DESTDIR)$(docdir)/
$(INSTALL_DATA) *.html $(DESTDIR)$(docdir)/
$(mkinstalldirs) $(DESTDIR)$(docdir)/html/$(LANGCODE)/
$(INSTALL_DATA) html/* $(DESTDIR)$(docdir)/html/$(LANGCODE)/
$(INSTALL_DATA) $(QUICKSTART) $(DESTDIR)$(docdir)/
if DBLATEX_FOUND
$(INSTALL_DATA) $(BOOK).pdf $(DESTDIR)$(docdir)/
endif
# clean
clean-local:
-rm -f *.html
-rm -f $(BOOK).html $(BOOK).pdf $(BOOK).txt date.xml
-rm -rf html/ html1/
-rm -f html-stamp html1-stamp pdf-stamp
-88
View File
@@ -1,88 +0,0 @@
[width="65%",cols="^1,^2,8",options="header"]
|========================================
| Plugin | Name | Description
| alias | alias | list of alias
| aspell | aspell_langs | list of supported langs for aspell
| irc | irc_channel | current IRC channel
| irc | irc_channel_nicks_hosts | nicks and hostnames of current IRC channel
| irc | irc_channel_topic | topic of current IRC channel
| irc | irc_channels | channels on all IRC servers
| irc | irc_ignores_numbers | numbers for defined ignores
| irc | irc_msg_part | default part message for IRC channel
| irc | irc_privates | privates on all IRC servers
| irc | irc_server | current IRC server
| irc | irc_server_channels | channels on current IRC server
| irc | irc_server_nick | nick on current IRC server
| irc | irc_server_nicks | nicks on all channels of current IRC server
| irc | irc_server_privates | privates on current IRC server
| irc | irc_servers | IRC servers (internal names)
| irc | nick | nicks of current IRC channel
| lua | lua_script | list of scripts
| perl | perl_script | list of scripts
| python | python_script | list of scripts
| ruby | ruby_script | list of scripts
| tcl | tcl_script | list of scripts
| weechat | bars_names | names of bars
| weechat | bars_options | options for bars
| weechat | buffers_names | names of buffers
| weechat | buffers_numbers | numbers of buffers
| weechat | buffers_plugins_names | names of buffers (including plugins names)
| weechat | commands | commands (weechat and plugins)
| weechat | config_files | configuration files
| weechat | config_option_values | values for a configuration option
| weechat | config_options | configuration options
| weechat | filename | filename
| weechat | filters_names | names of filters
| weechat | infolists | names of infolists hooked
| weechat | infos | names of infos hooked
| weechat | keys_codes | key codes
| weechat | nicks | nicks in nicklist of current buffer
| weechat | plugins_commands | commands defined by plugins
| weechat | plugins_names | names of plugins
| weechat | proxies_names | names of proxies
| weechat | proxies_options | options for proxies
| weechat | weechat_commands | weechat commands
| xfer | nick | nicks of DCC chat
|========================================
-58
View File
@@ -1,58 +0,0 @@
[width="65%",cols="^1,^2,8",options="header"]
|========================================
| Plugin | Name | Description
| alias | alias | list of alias
| irc | irc_channel | list of channels for an IRC server
| irc | irc_ignore | list of IRC ignores
| irc | irc_nick | list of nicks for an IRC channel
| irc | irc_server | list of IRC servers
| logger | logger_buffer | list of logger buffers
| lua | lua_script | list of lua scripts
| perl | perl_script | list of perl scripts
| python | python_script | list of python scripts
| relay | relay | list of relay clients
| ruby | ruby_script | list of ruby scripts
| tcl | tcl_script | list of tcl scripts
| weechat | bar | list of bars
| weechat | bar_item | list of bar items
| weechat | bar_window | list of bar windows
| weechat | buffer | list of buffers
| weechat | buffer_lines | lines of a buffer
| weechat | filter | list of filters
| weechat | history | history of commands
| weechat | hook | list of hooks
| weechat | hotlist | list of buffers in hotlist
| weechat | key | list of key bindings
| weechat | nicklist | nicks in nicklist for a buffer
| weechat | option | list of options
| weechat | plugin | list of plugins
| weechat | window | list of windows
| xfer | xfer | list of xfer
|========================================
-36
View File
@@ -1,36 +0,0 @@
[width="65%",cols="^1,^2,8",options="header"]
|========================================
| Plugin | Name | Description
| fifo | fifo_filename | name of FIFO pipe
| irc | irc_buffer | get buffer pointer for an IRC server/channel
| irc | irc_is_channel | 1 if string is an IRC channel
| irc | irc_nick | get current nick on a server
| irc | irc_nick_from_host | get nick from IRC host
| weechat | charset_internal | WeeChat internal charset
| weechat | charset_terminal | terminal charset
| weechat | date | WeeChat compilation date
| weechat | dir_separator | directory separator
| weechat | filters_enabled | 1 if filters are enabled
| weechat | inactivity | keyboard inactivity (seconds)
| weechat | version | WeeChat version
| weechat | weechat_dir | WeeChat directory
| weechat | weechat_libdir | WeeChat "lib" directory
| weechat | weechat_localedir | WeeChat "locale" directory
| weechat | weechat_sharedir | WeeChat "share" directory
|========================================
-15
View File
@@ -1,15 +0,0 @@
&bull; *`/alias`* `[alias_name [command [arguments]]]`::
........................................
create an alias for a command
alias_name: name of alias
command: command name (many commands can be separated by semicolons)
arguments: arguments for command
Without argument, this command lists all defined alias.
Note: in command, special variables $1, $2,..,$9 are replaced by arguments given by user, and $* is replaced by all arguments.
Variables $nick, $channel and $server are replaced by current nick/channel/server.
........................................
-13
View File
@@ -1,13 +0,0 @@
&bull; *`/aspell`* `dictlist | enable lang | disable | addword [lang] word`::
........................................
aspell plugin configuration
dictlist: show installed dictionaries
enable: enable aspell on current buffer
disable: disable aspell on current buffer
addword: add a word in your personal aspell dictionary
Input line beginning with a '/' is not checked, except for some commands.
........................................
-30
View File
@@ -1,30 +0,0 @@
* *aspell.check.commands*
** description: comma separated list of commands for which spell checking is enabled (spell checking is disabled for all other commands)
** type: string
** values: any string (default value: "ame,amsg,away,command,cycle,kick,kickban,me,msg,notice,part,query,quit,topic")
* *aspell.check.default_dict*
** description: default dictionary (or comma separated list of dictionaries) to use when buffer has no dictionary defined (leave blank to disable aspell on buffers for which you didn't explicitly enabled it)
** type: string
** values: any string (default value: "")
* *aspell.check.during_search*
** description: check words during text search in buffer
** type: boolean
** values: on, off (default value: off)
* *aspell.check.real_time*
** description: real-time spell checking of words (slower, disabled by default: words are checked only if there's delimiter after)
** type: boolean
** values: on, off (default value: off)
* *aspell.check.word_min_length*
** description: minimum length for a word to be spell checked (use 0 to check all words)
** type: integer
** values: 0 .. 2147483647 (default value: 2)
* *aspell.look.color*
** description: color used for misspelled words
** type: color
** values: a color name (default value: lightred)
-11
View File
@@ -1,11 +0,0 @@
&bull; *`/charset`* `[[decode | encode] charset] | [reset]`::
........................................
change charset for current buffer
decode: change decoding charset
encode: change encoding charset
charset: new charset for current buffer
reset: reset charsets for current buffer
........................................
-10
View File
@@ -1,10 +0,0 @@
* *charset.default.decode*
** description: global decoding charset
** type: string
** values: any string (default value: "iso-8859-1")
* *charset.default.encode*
** description: global encoding charset
** type: string
** values: any string (default value: "")
-42
View File
@@ -1,42 +0,0 @@
&bull; *`/demo_buffer`* `name`::
........................................
open a new buffer
........................................
&bull; *`/demo_buffer_set`* `property value`::
........................................
set a buffer property
........................................
&bull; *`/demo_info`* `[info [arguments]]`::
........................................
get and display an info
info: info to display
arguments: optional arguments for info
Without argument, this command displays list of available infos
........................................
&bull; *`/demo_infolist`* `[infolist [arguments]]`::
........................................
get and display an infolist
infolist: infolist to display
arguments: optional arguments for infolist
Without argument, this command displays list of available infolists
........................................
&bull; *`/demo_printf`* `[text]`::
........................................
print some messages on current ubffer
text: write this text
........................................
-588
View File
@@ -1,588 +0,0 @@
&bull; *`/admin`* `[target]`::
........................................
find information about the administrator of the server
target: server
........................................
&bull; *`/ame`* `message`::
........................................
send a CTCP action to all channels of all connected servers
message: message to send
........................................
&bull; *`/amsg`* `text`::
........................................
send message to all channels of all connected servers
text: text to send
........................................
&bull; *`/away`* `[-all] [message]`::
........................................
toggle away status
-all: toggle away status on all connected servers
message: message for away (if no message is given, away status is removed)
........................................
&bull; *`/ban`* `[channel] [nickname [nickname ...]]`::
........................................
ban nicks or hosts
channel: channel for ban
nickname: user or host to ban
........................................
&bull; *`/connect`* `[-all [-nojoin] | servername [servername ...] [-nojoin] | hostname [-port port] [-ipv6] [-ssl]]`::
........................................
connect to IRC server(s)
-all: connect to all servers
servername: internal server name to connect
-nojoin: do not join any channel (even if autojoin is enabled on server)
hostname: hostname to connect
port: port for server (integer, default is 6667)
ipv6: use IPv6 protocol
ssl: use SSL protocol
........................................
&bull; *`/ctcp`* `receiver type [arguments]`::
........................................
send a CTCP message (Client-To-Client Protocol)
receiver: nick or channel to send CTCP to
type: CTCP type (examples: "version", "ping", ..)
arguments: arguments for CTCP
........................................
&bull; *`/cycle`* `[channel[,channel]] [part_message]`::
........................................
leave and rejoin a channel
channel: channel name for cycle
part_message: part message (displayed to other users)
........................................
&bull; *`/dcc`* `action [nickname [file]]`::
........................................
start DCC (file or chat)
action: 'send' (file) or 'chat'
nickname: nickname to send file or chat
file: filename (on local host)
........................................
&bull; *`/dehalfop`* `[nickname [nickname]]`::
........................................
remove half channel operator status from nickname(s)
........................................
&bull; *`/deop`* `[nickname [nickname]]`::
........................................
remove channel operator status from nickname(s)
........................................
&bull; *`/devoice`* `[nickname [nickname]]`::
........................................
remove voice from nickname(s)
........................................
&bull; *`/die`*::
........................................
shutdown the server
........................................
&bull; *`/disconnect`* `[-all | servername [servername ...]]`::
........................................
disconnect from IRC server(s)
-all: disconnect from all servers
servername: server name to disconnect
........................................
&bull; *`/halfop`* `[nickname [nickname]]`::
........................................
give half channel operator status to nickname(s)
........................................
&bull; *`/ignore`* `[list] | [add [re:]nick/host [server [channel]]] | [del number|-all]`::
........................................
ignore nicks/hosts from servers or channels
list: list all ignores
add: add a ignore
del: del a ignore
number: number of ignore to delete (look at list to find it)
-all: delete all ignores
nick/host: nick or host to ignore: syntax is "re:regex" or "mask" (a mask is a string with some "*" to replace one or more chars)
server: internal server name where ignore is working
channel: channel name where ignore is working
Examples:
ignore nick "toto" everywhere:
/ignore add toto
ignore host "toto@domain.com" on freenode server:
/ignore add toto@domain.com freenode
ignore host "toto*@*.domain.com" on freenode/#weechat:
/ignore add toto*@*.domain.com freenode #weechat
........................................
&bull; *`/info`* `[target]`::
........................................
get information describing the server
target: server name
........................................
&bull; *`/invite`* `nickname channel`::
........................................
invite a nick on a channel
nickname: nick to invite
channel: channel to invite
........................................
&bull; *`/ison`* `nickname [nickname ...]`::
........................................
check if a nickname is currently on IRC
nickname: nickname
........................................
&bull; *`/join`* `[channel[,channel] [key[,key]]]`::
........................................
join a channel
channel: channel name to join
key: key to join the channel
........................................
&bull; *`/kick`* `[channel] nickname [comment]`::
........................................
forcibly remove a user from a channel
channel: channel where user is
nickname: nickname to kick
comment: comment for kick
........................................
&bull; *`/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
........................................
&bull; *`/kill`* `nickname comment`::
........................................
close client-server connection
nickname: nickname
comment: comment for kill
........................................
&bull; *`/links`* `[[server] server_mask]`::
........................................
list all servernames which are known by the server answering the query
server: this server should answer the query
server_mask: list of servers must match this mask
........................................
&bull; *`/list`* `[channel[,channel] [server]]`::
........................................
list channels and their topic
channel: channel to list (a regexp is allowed)
server: server name
........................................
&bull; *`/lusers`* `[mask [target]]`::
........................................
get statistics about the size of the IRC network
mask: servers matching the mask only
target: server for forwarding request
........................................
&bull; *`/me`* `message`::
........................................
send a CTCP action to the current channel
message: message to send
........................................
&bull; *`/mode`* `{ [channel] {[+|-]|o|p|s|i|t|n|b|v} [limit] [user] [ban mask] } | { nickname {[+|-]|i|w|s|o} }`::
........................................
change channel or user mode
channel modes:
channel: channel name to modify (default is current one)
o: give/take channel operator privileges
p: private channel flag
s: secret channel flag
i: invite-only channel flag
t: topic settable by channel operator only flag
n: no messages to channel from clients on the outside
m: moderated channel
l: set the user limit to channel
b: set a ban mask to keep users out
e: set exception mask
v: give/take the ability to speak on a moderated channel
k: set a channel key (password)
user modes:
nickname: nickname to modify
i: mark a user as invisible
s: mark a user for receive server notices
w: user receives wallops
o: operator flag
........................................
&bull; *`/motd`* `[target]`::
........................................
get the "Message Of The Day"
target: server name
........................................
&bull; *`/msg`* `[-server server] receiver[,receiver] text`::
........................................
send message to a nick or channel
server: send to this server (internal name)
receiver: nick or channel (may be mask, '*' = current channel)
text: text to send
........................................
&bull; *`/names`* `[channel[,channel]]`::
........................................
list nicknames on channels
channel: channel name
........................................
&bull; *`/nick`* `[-all] nickname`::
........................................
change current nickname
-all: set new nickname for all connected servers
nickname: new nickname
........................................
&bull; *`/notice`* `[-server server] nickname text`::
........................................
send notice message to user
server: send to this server (internal name)
nickname: user to send notice to
text: text to send
........................................
&bull; *`/op`* `nickname [nickname]`::
........................................
give channel operator status to nickname(s)
........................................
&bull; *`/oper`* `user password`::
........................................
get operator privileges
user/password: used to get privileges on current IRC server
........................................
&bull; *`/part`* `[channel[,channel]] [part_message]`::
........................................
leave a channel
channel: channel name to leave
part_message: part message (displayed to other users)
........................................
&bull; *`/ping`* `server1 [server2]`::
........................................
ping server
server1: server to ping
server2: forward ping to this server
........................................
&bull; *`/pong`* `daemon [daemon2]`::
........................................
answer to a ping message
daemon: daemon who has responded to Ping message
daemon2: forward message to this daemon
........................................
&bull; *`/query`* `[-server server] nickname [text]`::
........................................
send a private message to a nick
server: send to this server (internal name)
nickname: nickname for private conversation
text: text to send
........................................
&bull; *`/quote`* `[-server server] data`::
........................................
send raw data to server without parsing
server: send to this server (internal name)
data: raw data to send
........................................
&bull; *`/reconnect`* `[-all [-nojoin] | servername [servername ...] [-nojoin]]`::
........................................
reconnect to server(s)
-all: reconnect to all servers
servername: server name to reconnect
-nojoin: do not join any channel (even if autojoin is enabled on server)
........................................
&bull; *`/rehash`*::
........................................
tell the server to reload its config file
........................................
&bull; *`/restart`*::
........................................
tell the server to restart itself
........................................
&bull; *`/server`* `[list [servername]] | [listfull [servername]] | [add servername hostname[/port] [-auto | -noauto] [-ipv6] [-ssl]] | [copy servername newservername] | [rename servername newservername] | [keep servername] | [del servername] | [deloutq] | [jump] | [raw]`::
........................................
list, add or remove IRC servers
list: list servers (no parameter implies this list)
listfull: list servers with detailed info for each server
add: create a new server
servername: server name, for internal and display use
hostname: name or IP address of server, with optional port (default: 6667)
auto: automatically connect to server when WeeChat starts
noauto: do not connect to server when WeeChat starts (default)
ipv6: use IPv6 protocol
ssl: use SSL protocol
copy: duplicate a server
rename: rename a server
keep: keep server in config file (for temporary servers only)
del: delete a server
deloutq: delete messages out queue for all servers (all messages WeeChat is currently sending)
jump: jump to server buffer
raw: open buffer with raw IRC data
Examples:
/server listfull
/server add oftc irc.oftc.net/6697 -ssl
/server add oftc6 irc6.oftc.net/6697 -ipv6 -ssl
/server add freenode2 chat.eu.freenode.net/6667,chat.us.freenode.net/6667
/server copy oftc oftcbis
/server rename oftc newoftc
/server del freenode
/server deloutq
........................................
&bull; *`/service`* `nickname reserved distribution type reserved info`::
........................................
register a new service
distribution: visibility of service
type: reserved for future usage
........................................
&bull; *`/servlist`* `[mask [type]]`::
........................................
list services currently connected to the network
mask: list only services matching this mask
type: list only services of this type
........................................
&bull; *`/squery`* `service text`::
........................................
deliver a message to a service
service: name of service
text: text to send
........................................
&bull; *`/squit`* `server comment`::
........................................
disconnect server links
server: server name
comment: comment for quit
........................................
&bull; *`/stats`* `[query [server]]`::
........................................
query statistics about server
query: c/h/i/k/l/m/o/y/u (see RFC1459)
server: server name
........................................
&bull; *`/summon`* `user [target [channel]]`::
........................................
give users who are on a host running an IRC server a message asking them to please join IRC
user: username
target: server name
channel: channel name
........................................
&bull; *`/time`* `[target]`::
........................................
query local time from server
target: query time from specified server
........................................
&bull; *`/topic`* `[channel] [topic]`::
........................................
get/set channel topic
channel: channel name
topic: new topic for channel (if topic is "-delete" then topic is deleted)
........................................
&bull; *`/trace`* `[target]`::
........................................
find the route to specific server
target: server
........................................
&bull; *`/unban`* `[channel] nickname [nickname ...]`::
........................................
unban nicks or hosts
channel: channel for unban
nickname: user or host to unban
........................................
&bull; *`/userhost`* `nickname [nickname ...]`::
........................................
return a list of information about nicknames
nickname: nickname
........................................
&bull; *`/users`* `[target]`::
........................................
list of users logged into the server
target: server
........................................
&bull; *`/version`* `[server | nickname]`::
........................................
give the version info of nick or server (current or specified)
server: server name
nickname: nickname
........................................
&bull; *`/voice`* `[nickname [nickname]]`::
........................................
give voice to nickname(s)
........................................
&bull; *`/wallops`* `text`::
........................................
send a message to all currently connected users who have set the 'w' user mode for themselves
text to send
........................................
&bull; *`/who`* `[mask ["o"]]`::
........................................
generate a query which returns a list of information
mask: only information which match this mask
o: only operators are returned according to the mask supplied
........................................
&bull; *`/whois`* `[server] nickname[,nickname]`::
........................................
query information about user(s)
server: server name
nickname: nickname (may be a mask)
........................................
&bull; *`/whowas`* `nickname [,nickname [,nickname ...]] [count [target]]`::
........................................
ask for information about a nickname which no longer exists
nickname: nickname to search
count: number of replies to return (full search if negative number)
target: reply should match this mask
........................................
-265
View File
@@ -1,265 +0,0 @@
* *irc.color.input_nick*
** description: color for nick in input bar
** type: color
** values: a color name (default value: lightcyan)
* *irc.color.item_away*
** description: color for away item
** type: color
** values: a color name (default value: yellow)
* *irc.color.item_channel_modes*
** description: color for channel modes, near channel name
** type: color
** values: a color name (default value: default)
* *irc.color.message_join*
** description: color for text in join messages
** type: color
** values: a color name (default value: green)
* *irc.color.message_quit*
** description: color for text in part/quit messages
** type: color
** values: a color name (default value: red)
* *irc.color.notice*
** description: color for text "Notice" in notices
** type: color
** values: a color name (default value: green)
* *irc.look.color_nicks_in_server_messages*
** description: use nick color in messages from server
** type: boolean
** values: on, off (default value: on)
* *irc.look.display_away*
** description: display message when (un)marking as away
** type: integer
** values: off, local, channel (default value: local)
* *irc.look.display_channel_modes*
** description: display channel modes in "buffer_name" bar item
** type: boolean
** values: on, off (default value: on)
* *irc.look.display_nick_modes*
** description: display nick modes in "input_prompt" bar item
** type: boolean
** values: on, off (default value: on)
* *irc.look.display_old_topic*
** description: display old topic when channel topic is changed
** type: boolean
** values: on, off (default value: on)
* *irc.look.hide_nickserv_pwd*
** description: hide password displayed by nickserv
** type: boolean
** values: on, off (default value: on)
* *irc.look.highlight_tags*
** description: comma separated list of tags for messages that may produce highlight (usually any message from another user, not server messages,..)
** type: string
** values: any string (default value: "irc_privmsg,irc_notice")
* *irc.look.item_display_server*
** description: name of bar item where IRC server is displayed (for status bar)
** type: integer
** values: buffer_plugin, buffer_name (default value: buffer_plugin)
* *irc.look.nick_completion_smart*
** description: smart completion for nicks (completes first with last speakers)
** type: integer
** values: off, speakers, speakers_highlights (default value: speakers)
* *irc.look.nick_prefix*
** description: text to display before nick in chat window
** type: string
** values: any string (default value: "")
* *irc.look.nick_suffix*
** description: text to display after nick in chat window
** type: string
** values: any string (default value: "")
* *irc.look.notice_as_pv*
** description: display notices as private messages (if auto, use private buffer if found)
** type: integer
** values: auto, never, always (default value: auto)
* *irc.look.open_channel_near_server*
** description: open new channels near server
** type: boolean
** values: on, off (default value: off)
* *irc.look.open_pv_near_server*
** description: open new privates near server
** type: boolean
** values: on, off (default value: off)
* *irc.look.raw_messages*
** description: number of IRC raw messages to save in memory when raw data buffer is closed (messages will be displayed when opening raw data buffer)
** type: integer
** values: 0 .. 65535 (default value: 256)
* *irc.look.server_buffer*
** description: merge server buffers
** type: integer
** values: merge_with_core, merge_without_core, independent (default value: merge_with_core)
* *irc.look.show_away_once*
** description: show remote away message only once in private
** type: boolean
** values: on, off (default value: on)
* *irc.look.smart_filter*
** description: filter join/part/quit messages for a nick if not speaking for some minutes on channel (you must create a filter on tag "irc_smart_filter")
** type: boolean
** values: on, off (default value: off)
* *irc.look.smart_filter_delay*
** description: delay for filtering join/part/quit messages (in minutes)
** type: integer
** values: 1 .. 10080 (default value: 5)
* *irc.look.topic_strip_colors*
** description: strip colors in topic (used only when displaying buffer title)
** type: boolean
** values: on, off (default value: off)
* *irc.network.anti_flood*
** description: anti-flood: # seconds between two user messages (0 = no anti-flood)
** type: integer
** values: 0 .. 5 (default value: 2)
* *irc.network.away_check*
** description: interval between two checks for away (in minutes, 0 = never check)
** type: integer
** values: 0 .. 2147483647 (default value: 0)
* *irc.network.away_check_max_nicks*
** description: do not check away nicks on channels with high number of nicks (0 = unlimited)
** type: integer
** values: 0 .. 2147483647 (default value: 0)
* *irc.network.colors_receive*
** description: when off, colors codes are ignored in incoming messages
** type: boolean
** values: on, off (default value: on)
* *irc.network.colors_send*
** description: allow user to send colors with special codes (ctrl-c + a code and optional color: b=bold, cxx=color, cxx,yy=color+background, u=underline, r=reverse)
** type: boolean
** values: on, off (default value: on)
* *irc.network.default_msg_part*
** description: default part message (leaving channel) ("%v" will be replaced by WeeChat version in string)
** type: string
** values: any string (default value: "WeeChat %v")
* *irc.network.default_msg_quit*
** description: default quit message (disconnecting from server) ("%v" will be replaced by WeeChat version in string)
** type: string
** values: any string (default value: "WeeChat %v")
* *irc.network.lag_check*
** description: interval between two checks for lag (in seconds, 0 = never check)
** type: integer
** values: 0 .. 2147483647 (default value: 60)
* *irc.network.lag_disconnect*
** description: disconnect after important lag (in minutes, 0 = never disconnect)
** type: integer
** values: 0 .. 2147483647 (default value: 0)
* *irc.network.lag_min_show*
** description: minimum lag to show (in seconds)
** type: integer
** values: 0 .. 2147483647 (default value: 1)
* *irc.network.send_unknown_commands*
** description: send unknown commands to server
** type: boolean
** values: on, off (default value: off)
* *irc.server_default.addresses*
** description: list of hostname/port or IP/port for server (separated by comma)
** type: string
** values: any string (default value: "")
* *irc.server_default.autoconnect*
** description: automatically connect to server when WeeChat is starting
** type: boolean
** values: on, off (default value: off)
* *irc.server_default.autojoin*
** description: comma separated list of channels to join when connected to server (example: "#chan1,#chan2,#chan3 key1,key2")
** type: string
** values: any string (default value: "")
* *irc.server_default.autoreconnect*
** description: automatically reconnect to server when disconnected
** type: boolean
** values: on, off (default value: on)
* *irc.server_default.autoreconnect_delay*
** description: delay (in seconds) before trying again to reconnect to server
** type: integer
** values: 0 .. 65535 (default value: 30)
* *irc.server_default.autorejoin*
** description: automatically rejoin channels when kicked
** type: boolean
** values: on, off (default value: off)
* *irc.server_default.command*
** description: command(s) to run when connected to server (many commands should be separated by ";", use "\;" for a semicolon, special variables $nick, $channel and $server are replaced by their value)
** type: string
** values: any string (default value: "")
* *irc.server_default.command_delay*
** description: delay (in seconds) after command was executed (example: give some time for authentication)
** type: integer
** values: 0 .. 3600 (default value: 0)
* *irc.server_default.ipv6*
** description: use IPv6 protocol for server communication
** type: boolean
** values: on, off (default value: off)
* *irc.server_default.local_hostname*
** description: custom local hostname/IP for server (optional, if empty local hostname is used)
** type: string
** values: any string (default value: "")
* *irc.server_default.nicks*
** description: nicknames to use on server (separated by comma)
** type: string
** values: any string (default value: "")
* *irc.server_default.password*
** description: password for server
** type: string
** values: any string (default value: "")
* *irc.server_default.proxy*
** description: proxy used for this server (optional)
** type: string
** values: any string (default value: "")
* *irc.server_default.realname*
** description: real name to use on server
** type: string
** values: any string (default value: "")
* *irc.server_default.ssl*
** description: use SSL for server communication
** type: boolean
** values: on, off (default value: off)
* *irc.server_default.username*
** description: user name to use on server
** type: string
** values: any string (default value: "")
-33
View File
@@ -1,33 +0,0 @@
&bull; *`/logger`* `[list | set level | disable]`::
........................................
logger plugin configuration
list: show logging status for opened buffers
set: set logging level on current buffer
level: level for messages to be logged (0 = logging disabled, 1 = a few messages (most important) .. 9 = all messages)
disable: disable logging on current buffer (set level to 0)
Options "logger.level.*" and "logger.mask.*" can be used to set level or mask for a buffer, or buffers beginning with name.
Examples:
set level to 5 for current buffer:
/logger set 5
disable logging for current buffer:
/logger disable
set level to 3 for all IRC buffers:
/set logger.level.irc 3
disable logging for main WeeChat buffer:
/set logger.level.core.weechat 0
use a directory per IRC server and a file per channel inside:
/set logger.mask.irc "$server/$channel.weechatlog"
Log levels used by IRC plugin:
1: user message, notice, private
2: nick change
3: server message
4: join/part/quit
9: all other messages
........................................
-40
View File
@@ -1,40 +0,0 @@
* *logger.file.auto_log*
** description: automatically save content of buffers to files (unless a buffer disables log)
** type: boolean
** values: on, off (default value: on)
* *logger.file.info_lines*
** description: write information line in log file when log starts or ends for a buffer
** type: boolean
** values: on, off (default value: off)
* *logger.file.mask*
** description: default file name mask for log files (format is "directory/to/file" or "file", without first "/" because "path" option is used to build complete path to file); local buffer variables are permitted
** type: string
** values: any string (default value: "$plugin.$name.weechatlog")
* *logger.file.name_lower_case*
** description: use only lower case for log filenames
** type: boolean
** values: on, off (default value: on)
* *logger.file.path*
** description: path for WeeChat log files ("%h" will be replaced by WeeChat home, "~/.weechat" by default)
** type: string
** values: any string (default value: "%h/logs/")
* *logger.file.replacement_char*
** description: replacement char for special chars in filename built with mask (like directory delimiter)
** type: string
** values: any string (default value: "_")
* *logger.file.time_format*
** description: timestamp used in log files (see man strftime for date/time specifiers)
** type: string
** values: any string (default value: "%Y-%m-%d %H:%M:%S")
* *logger.look.backlog*
** description: maximum number of lines to display from log file when creating new buffer (0 = no backlog)
** type: integer
** values: 0 .. 2147483647 (default value: 20)
-11
View File
@@ -1,11 +0,0 @@
&bull; *`/lua`* `[list [name]] | [listfull [name]] | [load filename] | [autoload] | [reload] | [unload [name]]`::
........................................
list/load/unload scripts
filename: script (file) to load
name: a script name
Without argument, this command lists all loaded scripts.
........................................
-11
View File
@@ -1,11 +0,0 @@
&bull; *`/perl`* `[list [name]] | [listfull [name]] | [load filename] | [autoload] | [reload] | [unload [name]]`::
........................................
list/load/unload scripts
filename: script (file) to load
name: a script name
Without argument, this command lists all loaded scripts.
........................................
-11
View File
@@ -1,11 +0,0 @@
&bull; *`/python`* `[list [name]] | [listfull [name]] | [load filename] | [autoload] | [reload] | [unload [name]]`::
........................................
list/load/unload scripts
filename: script (file) to load
name: a script name
Without argument, this command lists all loaded scripts.
........................................
-11
View File
@@ -1,11 +0,0 @@
&bull; *`/relay`* `[list | listfull]`::
........................................
relay control
list: list relay clients
listfull: list relay clients (verbose)
Without argument, this command opens buffer with list of relay clients.
........................................
-55
View File
@@ -1,55 +0,0 @@
* *relay.color.status_active*
** description: text color for "connected" status
** type: color
** values: a color name (default value: lightblue)
* *relay.color.status_auth_failed*
** description: text color for "authentication failed" status
** type: color
** values: a color name (default value: lightred)
* *relay.color.status_connecting*
** description: text color for "connecting" status
** type: color
** values: a color name (default value: yellow)
* *relay.color.status_disconnected*
** description: text color for "disconnected" status
** type: color
** values: a color name (default value: lightred)
* *relay.color.status_waiting_auth*
** description: text color for "waiting authentication" status
** type: color
** values: a color name (default value: brown)
* *relay.color.text*
** description: text color
** type: color
** values: a color name (default value: default)
* *relay.color.text_bg*
** description: background color
** type: color
** values: a color name (default value: default)
* *relay.color.text_selected*
** description: text color of selected client line
** type: color
** values: a color name (default value: white)
* *relay.look.auto_open_buffer*
** description: auto open relay buffer when a new client is connecting
** type: boolean
** values: on, off (default value: on)
* *relay.network.enabled*
** description: enable relay
** type: boolean
** values: on, off (default value: off)
* *relay.network.listen_port_range*
** description: port number (or range of ports) that relay plugin listens on (syntax: a single port, ie. 5000 or a port range, ie. 5000-5015, it's recommended to use ports greater than 1024, because only root can use ports below 1024)
** type: string
** values: any string (default value: "22373-22400")
-11
View File
@@ -1,11 +0,0 @@
&bull; *`/ruby`* `[list [name]] | [listfull [name]] | [load filename] | [autoload] | [reload] | [unload [name]]`::
........................................
list/load/unload scripts
filename: script (file) to load
name: a script name
Without argument, this command lists all loaded scripts.
........................................
-11
View File
@@ -1,11 +0,0 @@
&bull; *`/tcl`* `[list [name]] | [listfull [name]] | [load filename] | [autoload] | [reload] | [unload [name]]`::
........................................
list/load/unload scripts
filename: script (file) to load
name: a script name
Without argument, this command lists all loaded scripts.
........................................
-374
View File
@@ -1,374 +0,0 @@
&bull; *`/bar`* `[add barname type[,cond1,cond2,...] position size separator item1,item2,...] | [default] | [del barname|-all] | [set barname option value] | [hide|show|toggle barname] | [scroll barname buffer scroll_value] | [list] | [listfull] | [listitems]`::
........................................
manage bars
add: add a new bar
barname: name of bar (must be unique)
type: root: outside windows,
window: inside windows, with optional conditions (see below)
cond1,...: condition(s) for displaying bar (only for type "window"):
active: on active window
inactive: on inactive windows
nicklist: on windows with nicklist
without condition, bar is always displayed
position: bottom, top, left or right
size: size of bar (in chars)
separator: 1 for using separator (line), 0 or nothing means no separator
item1,...: items for this bar (items can be separated by comma (space between items) or "+" (glued items))
default: create default bars
del: delete a bar (or all bars with -all)
set: set a value for a bar property
option: option to change (for options list, look at /set weechat.bar.<barname>.*)
value: new value for option
hide: hide a bar
show: show an hidden bar
toggle: hide/show a bar
scroll: scroll bar up/down
buffer: name of buffer to scroll ('*' means current buffer, you should use '*' for root bars)
scroll_value: value for scroll: 'x' or 'y', followed by '+', '-', 'b' (beginning) or 'e' (end), value (for +/-), and optional %% (to scroll by %% of width/height, otherwise value is number of chars)
list: list all bars
listfull: list all bars (verbose)
listitems: list all bar items
Examples:
create a bar with time, buffer number + name, and completion:
/bar add mybar root bottom 1 0 [time],buffer_number+:+buffer_name,completion
hide a bar:
/bar hide mybar
scroll nicklist 10 lines down on current buffer:
/bar scroll nicklist * y+10
scroll nicklist one page up on #weechat buffer:
/bar scroll nicklist #weechat y-100%
scroll to end of nicklist on current buffer:
/bar scroll nicklist * ye
........................................
&bull; *`/buffer`* `[clear [number | -merged | -all] | move number | merge number | unmerge [number] | close [n1[-n2]] | list | notify level | localvar | set property value | number | name]`::
........................................
manage buffers
clear: clear buffer content (number for a buffer, -merged for merged buffers, -all for all buffers, or nothing for current buffer)
move: move buffer in the list (may be relative, for example -1)
merge: merge current buffer to another buffer (chat area will be mix of both buffers)
(by default ctrl-x switches between merged buffers)
unmerge: unmerge buffer from other buffers which have same number
close: close buffer (number/range is optional)
list: list buffers (no parameter implies this list)
notify: set notify level for current buffer: this level determines whether buffer will be added to hotlist or not:
none: never
highlight: for highlights only
message: for messages from users + highlights
all: all messages
reset: reset to default value (all)
localvar: display local variables for current buffer
set: set a property for current buffer
number: jump to buffer by number, possible prefix:
'+': relative jump, add number to current
'-': relative jump, sub number to current
'*': jump to number, using option "weechat.look.jump_current_to_previous_buffer"
name: jump to buffer by (partial) name
Examples:
clear current buffer: /buffer clear
clear all buffers: /buffer clear -all
move buffer: /buffer move 5
merge with core buffer: /buffer merge 1
unmerge buffer: /buffer unmerge
close current buffer: /buffer close
close buffers 5 to 7: /buffer close 5-7
jump to #weechat: /buffer #weechat
jump to next buffer: /buffer +1
........................................
&bull; *`/command`* `plugin command`::
........................................
launch explicit WeeChat or plugin command
plugin: plugin name ('weechat' for WeeChat internal command)
command: command to execute (a '/' is automatically added if not found at beginning of command)
........................................
&bull; *`/debug`* `[list | plugin level | dump | buffer | windows]`::
........................................
control debug for core/plugins
plugin: name of plugin ("core" for WeeChat core)
level: debug level for plugin (0 = disable debug)
dump: save memory dump in WeeChat log file (same dump is written when WeeChat crashes)
buffer: dump buffer content with hexadecimal values in log file
windows: display windows tree
text: send "debug" signal with "text" as argument
........................................
&bull; *`/filter`* `[list] | [enable|disable|toggle [name]] | [add name plugin.buffer tags regex] | [del name|-all]`::
........................................
filter messages in buffers, to hide/show them according to tags or regex
list: list all filters
enable: enable filters (filters are enabled by default)
disable: disable filters
toggle: toggle filters
name: filter name
add: add a filter
del: delete a filter
-all: delete all filters
plugin.buffer: plugin and buffer where filter is active ("*" for all buffers)
tags: comma separated list of tags, for example: "irc_join,irc_part,irc_quit"
regex: regular expression to search in line (use \t to separate prefix from message, special chars like '|' must be escaped: '\|')
The default key alt+'=' toggles filtering on/off.
Examples:
use IRC smart filter for join/part/quit messages:
/filter add irc_smart * irc_smart_filter *
filter all IRC join/part/quit messages:
/filter add joinquit * irc_join,irc_part,irc_quit *
filter nick "toto" on IRC channel #weechat:
/filter add toto irc.freenode.#weechat * toto\t
filter lines containing word "spam":
/filter add filterspam * * spam
filter lines containing "weechat sucks" on IRC channel #weechat:
/filter add sucks irc.freenode.#weechat * weechat sucks
........................................
&bull; *`/help`* `[command | option]`::
........................................
display help about commands and options
command: a command name
option: an option name (use /set to see list)
........................................
&bull; *`/history`* `[clear | value]`::
........................................
show buffer command history
clear: clear history
value: number of history entries to show
........................................
&bull; *`/input`* `return | complete_next | complete_previous | search_next | delete_previous_char | delete_next_char | delete_previous_word | delete_next_word | delete_beginning_of_line | delete_end_of_line | delete_line | clipboard_paste | transpose_chars | move_beginning_of_line | move_end_of_line | move_previous_char | move_next_char | move_previous_word | move_next_word | history_previous | history_next | history_global_previous | history_global_next | jump_smart | jump_last_buffer | jump_previously_visited_buffer | jump_next_visited_buffer | hotlist_clear | grab_key | scroll_unread | set_unread | set_unread_current_buffer | insert [args]`::
........................................
functions for command line
This command is used by key bindings or plugins.
........................................
&bull; *`/key`* `[bind key [command [args]]] | [unbind key] | [reset -yes] | [missing]`::
........................................
bind/unbind keys
bind: bind a command to a key or display command bound to key
unbind: remove a key binding
reset: restore bindings to the default values and delete ALL personal bindings (use carefully!)
missing: add missing keys (using default bindings)
When binding a command to a key, it is recommended to use key alt+k (or Esc then k), and then press the key to bind: this will insert key code in command line.
........................................
&bull; *`/layout`* `[[save | apply | reset] [buffers | windows]]`::
........................................
save/apply/reset layout for buffers and windows
save: save current layout
apply: apply saved layout
reset: remove saved layout
buffers: save/apply only buffers (order of buffers)
windows: save/apply only windows (buffer displayed by each window)
Without argument, this command displays saved layout.
........................................
&bull; *`/plugin`* `[list [name]] | [listfull [name]] | [load filename] | [autoload] | [reload [name]] | [unload [name]]`::
........................................
list/load/unload plugins
list: list loaded plugins
listfull: list loaded plugins (verbose)
load: load a plugin
autoload: autoload plugins in system or user directory
reload: reload one plugin (if no name given, unload all plugins, then autoload plugins)
unload: unload one or all plugins
Without argument, this command lists loaded plugins.
........................................
&bull; *`/proxy`* `[add proxyname type address port [username [password]]] | [del proxyname|-all] | [set proxyname option value] | [list]`::
........................................
manage proxies
add: add a new proxy
proxyname: name of proxy (must be unique)
type: http, socks4 or socks5
address: IP or hostname
port: port
username: username (optional)
password: password (optional)
del: delete a proxy (or all proxies with -all)
set: set a value for a proxy property
option: option to change (for options list, look at /set weechat.proxy.<proxyname>.*)
value: new value for option
list: list all proxies
Examples:
create a http proxy, running on local host, port 8888:
/proxy add local http 127.0.0.1 8888
create a http proxy using IPv6 protocol:
/proxy add local http 127.0.0.1 8888
/proxy set local ipv6 on
create a socks5 proxy with username/password:
/proxy add myproxy socks5 sample.host.org 3128 myuser mypass
delete a proxy:
/proxy del myproxy
........................................
&bull; *`/quit`*::
........................................
quit WeeChat
........................................
&bull; *`/reload`* `[file [file...]]`::
........................................
reload configuration files from disk
file: configuration file to reload
Without argument, all files (WeeChat and plugins) are reloaded.
........................................
&bull; *`/save`* `[file [file...]]`::
........................................
save configuration files to disk
file: configuration file to save
Without argument, all files (WeeChat and plugins) are saved.
........................................
&bull; *`/set`* `[option [value]]`::
........................................
set config options
option: name of an option
value: new value for option
New value can be, according to variable type:
boolean: on, off or toggle
integer: number, ++number or --number
string : any string ("" for empty string)
color : color name, ++number or --number
For all types, you can use null to remove option value (undefined value). This works only for some special plugin variables.
........................................
&bull; *`/unset`* `[option]`::
........................................
unset/reset config options
option: name of an option (may begin or end with "*" to mass-reset options, use carefully!)
According to option, it's reset (for standard options) or removed (for optional settings, like server values).
........................................
&bull; *`/upgrade`* `[path_to_binary]`::
........................................
upgrade WeeChat without disconnecting from servers
path_to_binary: path to WeeChat binary (default is current binary)
This command run again a WeeChat binary, so it should have been compiled or installed with a package manager before running this command.
........................................
&bull; *`/uptime`* `[-o]`::
........................................
show WeeChat uptime
-o: send uptime to current buffer as input
........................................
&bull; *`/version`* `[-o]`::
........................................
show WeeChat version and compilation date
-o: send version to current buffer as input
........................................
&bull; *`/wait`* `number[unit] command`::
........................................
schedule a command execution in future
number: amount of time to wait (integer number)
unit: optional, values are:
ms: milliseconds
s: seconds (default)
m: minutes
h: hours
command: command to execute (or text to send to buffer if command does not start with '/')
Note: command is executed on buffer where /wait was executed (if buffer is not found (for example if it has been closed before execution of command), then command is executed on WeeChat core buffer).
Examples:
join channel in 10 sec: /wait 10 /join #test
set away in 15 min: /wait 15m /away -all I'm away
say 'hello' in 2 min: /wait 2m hello
........................................
&bull; *`/window`* `[list | -1 | +1 | b# | up | down | left | right | splith [pct] | splitv [pct] | resize pct | merge [all] | page_up | page_down | refresh | scroll | scroll_up | scroll_down | scroll_top | scroll_bottom | scroll_previous_highlight | scroll_next_highlight | zoom]`::
........................................
manage windows
list: list opened windows (no parameter implies this list)
-1: jump to previous window
+1: jump to next window
b#: jump to next window displaying buffer number #
up: switch to window above current one
down: switch to window below current one
left: switch to window on the left
right: switch to window on the right
splith: split current window horizontally
splitv: split current window vertically
resize: resize window size, new size is <pct> percentage of parent window
merge: merge window with another (all = keep only one window)
page_up: scroll one page up
page_down: scroll one page down
refresh: refresh screen
scroll: scroll number of lines (+/-N) or with time: s=seconds, m=minutes, h=hours, d=days, M=months, y=years
scroll_up: scroll a few lines up
scroll_down: scroll a few lines down
scroll_top: scroll to top of buffer
scroll_bottom: scroll to bottom of buffer
scroll_previous_highlight: scroll to previous highlight
scroll_next_highlight: scroll to next highlight
zoom: zoom on window
For splith and splitv, pct is a percentage which represents size of new window, computed with current window as size reference. For example 25 means create a new window with size = current_size / 4
Examples:
jump to window displaying buffer #1: /window b1 scroll 2 lines up: /window scroll -2
scroll 2 days up: /window scroll -2d
scroll to beginning of current day: /window scroll -d
........................................
-600
View File
@@ -1,600 +0,0 @@
* *weechat.color.bar_more*
** description: text color for '+' when scrolling bars
** type: color
** values: a color name (default value: lightmagenta)
* *weechat.color.chat*
** description: text color for chat
** type: color
** values: a color name (default value: default)
* *weechat.color.chat_bg*
** description: background color for chat
** type: color
** values: a color name (default value: default)
* *weechat.color.chat_buffer*
** description: text color for buffer names
** type: color
** values: a color name (default value: white)
* *weechat.color.chat_channel*
** description: text color for channel names
** type: color
** values: a color name (default value: white)
* *weechat.color.chat_delimiters*
** description: text color for delimiters
** type: color
** values: a color name (default value: green)
* *weechat.color.chat_highlight*
** description: text color for highlighted prefix
** type: color
** values: a color name (default value: yellow)
* *weechat.color.chat_highlight_bg*
** description: background color for highlighted prefix
** type: color
** values: a color name (default value: magenta)
* *weechat.color.chat_host*
** description: text color for hostnames
** type: color
** values: a color name (default value: cyan)
* *weechat.color.chat_nick*
** description: text color for nicks in chat window
** type: color
** values: a color name (default value: lightcyan)
* *weechat.color.chat_nick_color01*
** description: text color #1 for nick
** type: color
** values: a color name (default value: cyan)
* *weechat.color.chat_nick_color02*
** description: text color #2 for nick
** type: color
** values: a color name (default value: magenta)
* *weechat.color.chat_nick_color03*
** description: text color #3 for nick
** type: color
** values: a color name (default value: green)
* *weechat.color.chat_nick_color04*
** description: text color #4 for nick
** type: color
** values: a color name (default value: brown)
* *weechat.color.chat_nick_color05*
** description: text color #5 for nick
** type: color
** values: a color name (default value: lightblue)
* *weechat.color.chat_nick_color06*
** description: text color #6 for nick
** type: color
** values: a color name (default value: default)
* *weechat.color.chat_nick_color07*
** description: text color #7 for nick
** type: color
** values: a color name (default value: lightcyan)
* *weechat.color.chat_nick_color08*
** description: text color #8 for nick
** type: color
** values: a color name (default value: lightmagenta)
* *weechat.color.chat_nick_color09*
** description: text color #9 for nick
** type: color
** values: a color name (default value: lightgreen)
* *weechat.color.chat_nick_color10*
** description: text color #10 for nick
** type: color
** values: a color name (default value: blue)
* *weechat.color.chat_nick_other*
** description: text color for other nick in private buffer
** type: color
** values: a color name (default value: cyan)
* *weechat.color.chat_nick_self*
** description: text color for local nick in chat window
** type: color
** values: a color name (default value: white)
* *weechat.color.chat_prefix_action*
** description: text color for action prefix
** type: color
** values: a color name (default value: white)
* *weechat.color.chat_prefix_buffer*
** description: text color for buffer name (before prefix, when many buffers are merged with same number)
** type: color
** values: a color name (default value: brown)
* *weechat.color.chat_prefix_error*
** description: text color for error prefix
** type: color
** values: a color name (default value: yellow)
* *weechat.color.chat_prefix_join*
** description: text color for join prefix
** type: color
** values: a color name (default value: lightgreen)
* *weechat.color.chat_prefix_more*
** description: text color for '+' when prefix is too long
** type: color
** values: a color name (default value: lightmagenta)
* *weechat.color.chat_prefix_network*
** description: text color for network prefix
** type: color
** values: a color name (default value: magenta)
* *weechat.color.chat_prefix_quit*
** description: text color for quit prefix
** type: color
** values: a color name (default value: lightred)
* *weechat.color.chat_prefix_suffix*
** description: text color for suffix (after prefix)
** type: color
** values: a color name (default value: green)
* *weechat.color.chat_read_marker*
** description: text color for unread data marker
** type: color
** values: a color name (default value: magenta)
* *weechat.color.chat_read_marker_bg*
** description: background color for unread data marker
** type: color
** values: a color name (default value: default)
* *weechat.color.chat_server*
** description: text color for server names
** type: color
** values: a color name (default value: brown)
* *weechat.color.chat_text_found*
** description: text color for marker on lines where text sought is found
** type: color
** values: a color name (default value: yellow)
* *weechat.color.chat_text_found_bg*
** description: background color for marker on lines where text sought is found
** type: color
** values: a color name (default value: lightmagenta)
* *weechat.color.chat_time*
** description: text color for time in chat window
** type: color
** values: a color name (default value: default)
* *weechat.color.chat_time_delimiters*
** description: text color for time delimiters
** type: color
** values: a color name (default value: brown)
* *weechat.color.chat_value*
** description: text color for values
** type: color
** values: a color name (default value: cyan)
* *weechat.color.input_actions*
** description: text color for actions in input line
** type: color
** values: a color name (default value: lightgreen)
* *weechat.color.input_text_not_found*
** description: text color for unsucessful text search in input line
** type: color
** values: a color name (default value: red)
* *weechat.color.nicklist_away*
** description: text color for away nicknames
** type: color
** values: a color name (default value: cyan)
* *weechat.color.nicklist_group*
** description: text color for groups in nicklist
** type: color
** values: a color name (default value: green)
* *weechat.color.nicklist_more*
** description: text color for '+' when scrolling nicks in nicklist
** type: color
** values: a color name (default value: lightmagenta)
* *weechat.color.nicklist_prefix1*
** description: text color for prefix #1 in nicklist
** type: color
** values: a color name (default value: lightgreen)
* *weechat.color.nicklist_prefix2*
** description: text color for prefix #2 in nicklist
** type: color
** values: a color name (default value: lightmagenta)
* *weechat.color.nicklist_prefix3*
** description: text color for prefix #3 in nicklist
** type: color
** values: a color name (default value: yellow)
* *weechat.color.nicklist_prefix4*
** description: text color for prefix #4 in nicklist
** type: color
** values: a color name (default value: blue)
* *weechat.color.nicklist_prefix5*
** description: text color for prefix #5 in nicklist
** type: color
** values: a color name (default value: brown)
* *weechat.color.separator*
** description: background color for window separators (when split)
** type: color
** values: a color name (default value: blue)
* *weechat.color.status_data_highlight*
** description: text color for buffer with highlight (status bar)
** type: color
** values: a color name (default value: lightmagenta)
* *weechat.color.status_data_msg*
** description: text color for buffer with new messages (status bar)
** type: color
** values: a color name (default value: yellow)
* *weechat.color.status_data_other*
** description: text color for buffer with new data (not messages) (status bar)
** type: color
** values: a color name (default value: default)
* *weechat.color.status_data_private*
** description: text color for buffer with private message (status bar)
** type: color
** values: a color name (default value: lightgreen)
* *weechat.color.status_filter*
** description: text color for filter indicator in status bar
** type: color
** values: a color name (default value: green)
* *weechat.color.status_more*
** description: text color for buffer with new data (status bar)
** type: color
** values: a color name (default value: yellow)
* *weechat.color.status_name*
** description: text color for current buffer name in status bar
** type: color
** values: a color name (default value: white)
* *weechat.color.status_number*
** description: text color for current buffer number in status bar
** type: color
** values: a color name (default value: yellow)
* *weechat.completion.default_template*
** description: default completion template (please see documentation for template codes and values)
** type: string
** values: any string (default value: "%(nicks)|%(irc_channels)")
* *weechat.completion.nick_add_space*
** description: add space after nick completion (when nick is not first word on command line)
** type: boolean
** values: on, off (default value: on)
* *weechat.completion.nick_completer*
** description: string inserted after nick completion
** type: string
** values: any string (default value: ":")
* *weechat.completion.nick_first_only*
** description: complete only with first nick found
** type: boolean
** values: on, off (default value: off)
* *weechat.completion.nick_ignore_chars*
** description: chars ignored for nick completion
** type: string
** values: any string (default value: "[]-^")
* *weechat.completion.partial_completion_alert*
** description: alert user when a partial completion occurs
** type: boolean
** values: on, off (default value: on)
* *weechat.completion.partial_completion_command*
** description: partially complete command names (stop when many commands found begin with same letters)
** type: boolean
** values: on, off (default value: off)
* *weechat.completion.partial_completion_command_arg*
** description: partially complete command arguments (stop when many arguments found begin with same prefix)
** type: boolean
** values: on, off (default value: off)
* *weechat.completion.partial_completion_count*
** description: display count for each partial completion in bar item
** type: boolean
** values: on, off (default value: on)
* *weechat.completion.partial_completion_other*
** description: partially complete outside commands (stop when many words found begin with same letters)
** type: boolean
** values: on, off (default value: off)
* *weechat.history.display_default*
** description: maximum number of commands to display by default in history listing (0 = unlimited)
** type: integer
** values: 0 .. 2147483647 (default value: 5)
* *weechat.history.max_commands*
** description: maximum number of user commands in history (0 = unlimited)
** type: integer
** values: 0 .. 2147483647 (default value: 100)
* *weechat.history.max_lines*
** description: maximum number of lines in history per buffer (0 = unlimited)
** type: integer
** values: 0 .. 2147483647 (default value: 4096)
* *weechat.history.max_visited_buffers*
** description: maximum number of visited buffers to keep in memory
** type: integer
** values: 0 .. 1000 (default value: 50)
* *weechat.look.buffer_notify_default*
** description: default notify level for buffers (used to tell WeeChat if buffer must be displayed in hotlist or not, according to importance of message)
** type: integer
** values: none, highlight, message, all (default value: all)
* *weechat.look.buffer_time_format*
** description: time format for buffers
** type: string
** values: any string (default value: "%H:%M:%S")
* *weechat.look.color_nicks_number*
** description: number of colors to use for nicks colors
** type: integer
** values: 1 .. 10 (default value: 10)
* *weechat.look.color_real_white*
** description: if set, uses real white color, disabled by default for terms with white background (if you never use white background, you should turn on this option to see real white instead of default term foreground color)
** type: boolean
** values: on, off (default value: off)
* *weechat.look.day_change*
** description: display special message when day changes
** type: boolean
** values: on, off (default value: on)
* *weechat.look.day_change_time_format*
** description: time format for date displayed when day changed
** type: string
** values: any string (default value: "%a, %d %b %Y")
* *weechat.look.highlight*
** description: comma separated list of words to highlight (case insensitive comparison, words may begin or end with "*" for partial match)
** type: string
** values: any string (default value: "")
* *weechat.look.hotlist_names_count*
** description: max number of names in hotlist (0 = no name displayed, only buffer numbers)
** type: integer
** values: 0 .. 32 (default value: 3)
* *weechat.look.hotlist_names_length*
** description: max length of names in hotlist (0 = no limit)
** type: integer
** values: 0 .. 32 (default value: 0)
* *weechat.look.hotlist_names_level*
** description: level for displaying names in hotlist (combination of: 1=join/part, 2=message, 4=private, 8=highlight, for example: 12=private+highlight)
** type: integer
** values: 1 .. 15 (default value: 12)
* *weechat.look.hotlist_names_merged_buffers*
** description: if set, force display of names in hotlist for merged buffers
** type: boolean
** values: on, off (default value: off)
* *weechat.look.hotlist_short_names*
** description: if set, uses short names to display buffer names in hotlist (start after first '.' in name)
** type: boolean
** values: on, off (default value: on)
* *weechat.look.hotlist_sort*
** description: hotlist sort type (group_time_asc (default), group_time_desc, group_number_asc, group_number_desc, number_asc, number_desc)
** type: integer
** values: group_time_asc, group_time_desc, group_number_asc, group_number_desc, number_asc, number_desc (default value: group_time_asc)
* *weechat.look.item_time_format*
** description: time format for "time" bar item
** type: string
** values: any string (default value: "%H:%M")
* *weechat.look.jump_current_to_previous_buffer*
** description: jump to previous buffer displayed when jumping to current buffer number with /buffer *N (where N is a buffer number), to easily switch to another buffer, then come back to current buffer
** type: boolean
** values: on, off (default value: on)
* *weechat.look.jump_previous_buffer_when_closing*
** description: jump to previously visited buffer when closing a buffer (if disabled, then jump to buffer number - 1)
** type: boolean
** values: on, off (default value: on)
* *weechat.look.nickmode*
** description: display nick mode ((half)op/voice) before each nick
** type: boolean
** values: on, off (default value: on)
* *weechat.look.nickmode_empty*
** description: display space if nick mode is not (half)op/voice
** type: boolean
** values: on, off (default value: off)
* *weechat.look.paste_max_lines*
** description: max number of lines for paste without asking user (0 = disable this feature)
** type: integer
** values: 0 .. 2147483647 (default value: 3)
* *weechat.look.prefix_action*
** description: prefix for action messages
** type: string
** values: any string (default value: " *")
* *weechat.look.prefix_align*
** description: prefix alignment (none, left, right (default))
** type: integer
** values: none, left, right (default value: right)
* *weechat.look.prefix_align_max*
** description: max size for prefix (0 = no max size)
** type: integer
** values: 0 .. 128 (default value: 0)
* *weechat.look.prefix_align_more*
** description: display '+' if prefix is truncated
** type: boolean
** values: on, off (default value: on)
* *weechat.look.prefix_buffer_align*
** description: prefix alignment for buffer name, when many buffers are merged with same number (none, left, right (default))
** type: integer
** values: none, left, right (default value: right)
* *weechat.look.prefix_buffer_align_max*
** description: max size for buffer name, when many buffers are merged with same number (0 = no max size)
** type: integer
** values: 0 .. 128 (default value: 0)
* *weechat.look.prefix_buffer_align_more*
** description: display '+' if buffer name is truncated (when many buffers are merged with same number)
** type: boolean
** values: on, off (default value: on)
* *weechat.look.prefix_error*
** description: prefix for error messages
** type: string
** values: any string (default value: "=!=")
* *weechat.look.prefix_join*
** description: prefix for join messages
** type: string
** values: any string (default value: "-->")
* *weechat.look.prefix_network*
** description: prefix for network messages
** type: string
** values: any string (default value: "--")
* *weechat.look.prefix_quit*
** description: prefix for quit messages
** type: string
** values: any string (default value: "<--")
* *weechat.look.prefix_suffix*
** description: string displayed after prefix
** type: string
** values: any string (default value: "|")
* *weechat.look.read_marker*
** description: use a marker (line or char) on buffers to show first unread line
** type: integer
** values: none, line, dotted-line, char (default value: dotted-line)
* *weechat.look.save_config_on_exit*
** description: save configuration file on exit
** type: boolean
** values: on, off (default value: on)
* *weechat.look.save_layout_on_exit*
** description: save layout on exit (buffers, windows, or both)
** type: integer
** values: none, buffers, windows, all (default value: none)
* *weechat.look.scroll_amount*
** description: how many lines to scroll by with scroll_up and scroll_down
** type: integer
** values: 1 .. 2147483647 (default value: 3)
* *weechat.look.scroll_page_percent*
** description: percent of screen to scroll when scrolling one page up or down (for example 100 means one page, 50 half-page)
** type: integer
** values: 1 .. 100 (default value: 100)
* *weechat.look.search_text_not_found_alert*
** description: alert user when text sought is not found in buffer
** type: boolean
** values: on, off (default value: on)
* *weechat.look.set_title*
** description: set title for window (terminal for Curses GUI) with name and version
** type: boolean
** values: on, off (default value: on)
* *weechat.network.gnutls_dh_prime_bitsmax_lines*
** description: minimum size in bits for handshake using Diffie Hellman key exchange
** type: integer
** values: 0 .. 2147483647 (default value: 512)
* *weechat.plugin.autoload*
** description: comma separated list of plugins to load automatically at startup, "*" means all plugins found (names may be partial, for example "perl" is ok for "perl.so")
** type: string
** values: any string (default value: "*")
* *weechat.plugin.debug*
** description: enable debug messages by default in all plugins (option disabled by default, which is highly recommended)
** type: boolean
** values: on, off (default value: off)
* *weechat.plugin.extension*
** description: standard plugins extension in filename (for example ".so" under Linux or ".dll" under Microsoft Windows)
** type: string
** values: any string (default value: ".so")
* *weechat.plugin.path*
** description: path for searching plugins ("%h" will be replaced by WeeChat home, "~/.weechat" by default)
** type: string
** values: any string (default value: "%h/plugins")
* *weechat.plugin.save_config_on_unload*
** description: save configuration files when unloading plugins
** type: boolean
** values: on, off (default value: on)
* *weechat.startup.command_after_plugins*
** description: command executed when WeeChat starts, after loading plugins
** type: string
** values: any string (default value: "")
* *weechat.startup.command_before_plugins*
** description: command executed when WeeChat starts, before loading plugins
** type: string
** values: any string (default value: "")
* *weechat.startup.display_logo*
** description: display WeeChat logo at startup
** type: boolean
** values: on, off (default value: on)
* *weechat.startup.display_version*
** description: display WeeChat version at startup
** type: boolean
** values: on, off (default value: on)
* *weechat.startup.weechat_slogan*
** description: WeeChat slogan (if empty, slogan is not used)
** type: string
** values: any string (default value: "le client de discussion le plus geek !")
-11
View File
@@ -1,11 +0,0 @@
&bull; *`/xfer`* `[list | listfull]`::
........................................
xfer control
list: list xfer
listfull: list xfer (verbose)
Without argument, this command opens buffer with xfer list.
........................................
-125
View File
@@ -1,125 +0,0 @@
* *xfer.color.status_aborted*
** description: text color for "aborted" status
** type: color
** values: a color name (default value: lightred)
* *xfer.color.status_active*
** description: text color for "active" status
** type: color
** values: a color name (default value: lightblue)
* *xfer.color.status_connecting*
** description: text color for "connecting" status
** type: color
** values: a color name (default value: yellow)
* *xfer.color.status_done*
** description: text color for "done" status
** type: color
** values: a color name (default value: lightgreen)
* *xfer.color.status_failed*
** description: text color for "failed" status
** type: color
** values: a color name (default value: lightred)
* *xfer.color.status_waiting*
** description: text color for "waiting" status
** type: color
** values: a color name (default value: lightcyan)
* *xfer.color.text*
** description: text color
** type: color
** values: a color name (default value: default)
* *xfer.color.text_bg*
** description: background color
** type: color
** values: a color name (default value: default)
* *xfer.color.text_selected*
** description: text color of selected xfer line
** type: color
** values: a color name (default value: white)
* *xfer.file.auto_accept_chats*
** description: automatically accept chat requests (use carefully!)
** type: boolean
** values: on, off (default value: off)
* *xfer.file.auto_accept_files*
** description: automatically accept incoming files (use carefully!)
** type: boolean
** values: on, off (default value: off)
* *xfer.file.auto_rename*
** description: rename incoming files if already exists (add ".1", ".2", ...)
** type: boolean
** values: on, off (default value: on)
* *xfer.file.auto_resume*
** description: automatically resume file transfer if connection with remote host is lost
** type: boolean
** values: on, off (default value: on)
* *xfer.file.convert_spaces*
** description: convert spaces to underscores when sending files
** type: boolean
** values: on, off (default value: on)
* *xfer.file.download_path*
** description: path for writing incoming files
** type: string
** values: any string (default value: "%h/xfer")
* *xfer.file.upload_path*
** description: path for reading files when sending (when no path is specified by user)
** type: string
** values: any string (default value: "~")
* *xfer.file.use_nick_in_filename*
** description: use remote nick as prefix in local filename when receiving a file
** type: boolean
** values: on, off (default value: on)
* *xfer.look.auto_open_buffer*
** description: auto open xfer buffer when a new xfer is added to list
** type: boolean
** values: on, off (default value: on)
* *xfer.look.progress_bar_size*
** description: size of progress bar, in chars (if 0, progress bar is disabled)
** type: integer
** values: 0 .. 256 (default value: 20)
* *xfer.network.blocksize*
** description: block size for sending packets, in bytes
** type: integer
** values: 1024 .. 102400 (default value: 65536)
* *xfer.network.fast_send*
** description: does not wait for ACK when sending file
** type: boolean
** values: on, off (default value: on)
* *xfer.network.own_ip*
** description: IP or DNS address used for sending files/chats (if empty, local interface IP is used)
** type: string
** values: any string (default value: "")
* *xfer.network.port_range*
** description: restricts outgoing files/chats to use only ports in the given range (useful for NAT) (syntax: a single port, ie. 5000 or a port range, ie. 5000-5015, empty value means any port, it's recommended to use ports greater than 1024, because only root can use ports below 1024)
** type: string
** values: any string (default value: "")
* *xfer.network.speed_limit*
** description: speed limit for sending files, in kilo-bytes by second (0 means no limit)
** type: integer
** values: 0 .. 2147483647 (default value: 0)
* *xfer.network.timeout*
** description: timeout for xfer request (in seconds)
** type: integer
** values: 5 .. 2147483647 (default value: 300)
+1288
View File
File diff suppressed because it is too large Load Diff
+443
View File
@@ -0,0 +1,443 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- ********* WARNING! *********
This file is automatically built with a Perl script. DO NOT EDIT!
-->
<command>admin [target]</command>
<programlisting>
find information about the administrator of the server
target: server
</programlisting>
<command>ame message</command>
<programlisting>
send a CTCP action to all channels of all connected servers
message: message to send
</programlisting>
<command>amsg text</command>
<programlisting>
send message to all channels of all connected servers
text: text to send
</programlisting>
<command>away [-all] [message]</command>
<programlisting>
toggle away status
-all: toggle away status on all connected servers
message: message for away (if no message is given, away status is removed)
</programlisting>
<command>ban [channel] [nickname [nickname ...]]</command>
<programlisting>
bans nicks or hosts
channel: channel for ban
nickname: user or host to ban
</programlisting>
<command>ctcp receiver type [arguments]</command>
<programlisting>
send a CTCP message (Client-To-Client Protocol)
receiver: nick or channel to send CTCP to
type: CTCP type (examples: "version", "ping", ..)
arguments: arguments for CTCP
</programlisting>
<command>cycle [channel[,channel]] [part_message]</command>
<programlisting>
leave and rejoin a channel
channel: channel name for cycle
part_message: part message (displayed to other users)
</programlisting>
<command>dehalfop [nickname [nickname]]</command>
<programlisting>
removes half channel operator status from nickname(s)
</programlisting>
<command>deop [nickname [nickname]]</command>
<programlisting>
removes channel operator status from nickname(s)
</programlisting>
<command>devoice [nickname [nickname]]</command>
<programlisting>
removes voice from nickname(s)
</programlisting>
<command>die</command>
<programlisting>
shutdown the server
</programlisting>
<command>halfop [nickname [nickname]]</command>
<programlisting>
gives half channel operator status to nickname(s)
</programlisting>
<command>info [target]</command>
<programlisting>
get information describing the server
target: server name
</programlisting>
<command>invite nickname channel</command>
<programlisting>
invite a nick on a channel
nickname: nick to invite
channel: channel to invite
</programlisting>
<command>ison nickname [nickname ...]</command>
<programlisting>
check if a nickname is currently on IRC
nickname: nickname
</programlisting>
<command>join channel[,channel] [key[,key]]</command>
<programlisting>
join a channel
channel: channel name to join
key: key to join the channel
</programlisting>
<command>kick [channel] nickname [comment]</command>
<programlisting>
forcibly remove a user from a channel
channel: channel where user is
nickname: nickname to kick
comment: comment for kick
</programlisting>
<command>kickban [channel] nickname [comment]</command>
<programlisting>
kicks and bans a nick from a channel
channel: channel where user is
nickname: nickname to kick and ban
comment: comment for kick
</programlisting>
<command>kill nickname comment</command>
<programlisting>
close client-server connection
nickname: nickname
comment: comment for kill
</programlisting>
<command>links [[server] server_mask]</command>
<programlisting>
list all servernames which are known by the server answering the query
server: this server should answer the query
server_mask: list of servers must match this mask
</programlisting>
<command>list [channel[,channel] [server]]</command>
<programlisting>
list channels and their topic
channel: channel to list (a regexp is allowed)
server: server name
</programlisting>
<command>lusers [mask [target]]</command>
<programlisting>
get statistics about the size of the IRC network
mask: servers matching the mask only
target: server for forwarding request
</programlisting>
<command>me message</command>
<programlisting>
send a CTCP action to the current channel
message: message to send
</programlisting>
<command>mode { channel {[+|-]|o|p|s|i|t|n|b|v} [limit] [user] [ban mask] } | { nickname {[+|-]|i|w|s|o} }</command>
<programlisting>
change channel or user mode
channel modes:
channel: channel name to modify
o: give/take channel operator privileges
p: private channel flag
s: secret channel flag
i: invite-only channel flag
t: topic settable by channel operator only flag
n: no messages to channel from clients on the outside
m: moderated channel
l: set the user limit to channel
b: set a ban mask to keep users out
e: set exception mask
v: give/take the ability to speak on a moderated channel
k: set a channel key (password)
user modes:
nickname: nickname to modify
i: mark a user as invisible
s: mark a user for receive server notices
w: user receives wallops
o: operator flag
</programlisting>
<command>motd [target]</command>
<programlisting>
get the "Message Of The Day"
target: server name
</programlisting>
<command>msg receiver[,receiver] text</command>
<programlisting>
send message to a nick or channel
receiver: nick or channel (may be mask, '*' = current channel)
text: text to send
</programlisting>
<command>names [channel[,channel]]</command>
<programlisting>
list nicknames on channels
channel: channel name
</programlisting>
<command>nick [-all] nickname</command>
<programlisting>
change current nickname
-all: set new nickname for all connected servers
nickname: new nickname
</programlisting>
<command>notice nickname text</command>
<programlisting>
send notice message to user
nickname: user to send notice to
text: text to send
</programlisting>
<command>op nickname [nickname]</command>
<programlisting>
gives channel operator status to nickname(s)
</programlisting>
<command>oper user password</command>
<programlisting>
get operator privileges
user/password: used to get privileges on current IRC server
</programlisting>
<command>part [channel[,channel]] [part_message]</command>
<programlisting>
leave a channel
channel: channel name to leave
part_message: part message (displayed to other users)
</programlisting>
<command>ping server1 [server2]</command>
<programlisting>
ping server
server1: server to ping
server2: forward ping to this server
</programlisting>
<command>pong daemon [daemon2]</command>
<programlisting>
answer to a ping message
daemon: daemon who has responded to Ping message
daemon2: forward message to this daemon
</programlisting>
<command>query nickname [text]</command>
<programlisting>
send a private message to a nick
nickname: nickname for private conversation
text: text to send
</programlisting>
<command>quit [quit_message]</command>
<programlisting>
close all connections and quit
quit_message: quit message (displayed to other users)
</programlisting>
<command>quote data</command>
<programlisting>
send raw data to server without parsing
data: raw data to send
</programlisting>
<command>rehash</command>
<programlisting>
tell the server to reload its config file
</programlisting>
<command>restart</command>
<programlisting>
tell the server to restart itself
</programlisting>
<command>service nickname reserved distribution type reserved info</command>
<programlisting>
register a new service
distribution: visibility of service
type: reserved for future usage
</programlisting>
<command>servlist [mask [type]]</command>
<programlisting>
list services currently connected to the network
mask: list only services matching this mask
type: list only services of this type
</programlisting>
<command>squery service text</command>
<programlisting>
deliver a message to a service
service: name of service
text: text to send
</programlisting>
<command>squit server comment</command>
<programlisting>
disconnect server links
server: server name
comment: comment for quit
</programlisting>
<command>stats [query [server]]</command>
<programlisting>
query statistics about server
query: c/h/i/k/l/m/o/y/u (see RFC1459)
server: server name
</programlisting>
<command>summon user [target [channel]]</command>
<programlisting>
give users who are on a host running an IRC server a message asking them to please join IRC
user: username
target: server name
channel: channel name
</programlisting>
<command>time [target]</command>
<programlisting>
query local time from server
target: query time from specified server
</programlisting>
<command>topic [channel] [topic]</command>
<programlisting>
get/set channel topic
channel: channel name
topic: new topic for channel (if topic is "-delete" then topic is deleted)
</programlisting>
<command>trace [target]</command>
<programlisting>
find the route to specific server
target: server
</programlisting>
<command>unban [channel] nickname [nickname ...]</command>
<programlisting>
unbans nicks or hosts
channel: channel for unban
nickname: user or host to unban
</programlisting>
<command>userhost nickname [nickname ...]</command>
<programlisting>
return a list of information about nicknames
nickname: nickname
</programlisting>
<command>users [target]</command>
<programlisting>
list of users logged into the server
target: server
</programlisting>
<command>version [server | nickname]</command>
<programlisting>
gives the version info of nick or server (current or specified)
server: server name
nickname: nickname
</programlisting>
<command>voice [nickname [nickname]]</command>
<programlisting>
gives voice to nickname(s)
</programlisting>
<command>wallops text</command>
<programlisting>
send a message to all currently connected users who have set the 'w' user mode for themselves
text to send
</programlisting>
<command>who [mask ["o"]]</command>
<programlisting>
generate a query which returns a list of information
mask: only information which match this mask
o: only operators are returned according to the mask supplied
</programlisting>
<command>whois [server] nickname[,nickname]</command>
<programlisting>
query information about user(s)
server: server name
nickname: nickname (may be a mask)
</programlisting>
<command>whowas nickname [,nickname [,nickname ...]] [count [target]]</command>
<programlisting>
ask for information about a nickname which no longer exists
nickname: nickname to search
count: number of replies to return (full search if negative number)
target: reply should match this mask
</programlisting>
+215
View File
@@ -0,0 +1,215 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- ********* WARNING! *********
This file is automatically built with a Perl script. DO NOT EDIT!
-->
<row>
<entry><literal>return</literal></entry>
<entry>terminate line</entry>
</row>
<row>
<entry><literal>tab</literal></entry>
<entry>complete word</entry>
</row>
<row>
<entry><literal>tab_previous</literal></entry>
<entry>find previous completion for word</entry>
</row>
<row>
<entry><literal>backspace</literal></entry>
<entry>delete previous char</entry>
</row>
<row>
<entry><literal>delete</literal></entry>
<entry>delete next char</entry>
</row>
<row>
<entry><literal>delete_end_line</literal></entry>
<entry>delete until end of line</entry>
</row>
<row>
<entry><literal>delete_beginning_line</literal></entry>
<entry>delete until beginning of line</entry>
</row>
<row>
<entry><literal>delete_line</literal></entry>
<entry>delete entire line</entry>
</row>
<row>
<entry><literal>delete_previous_word</literal></entry>
<entry>delete previous word</entry>
</row>
<row>
<entry><literal>delete_next_word</literal></entry>
<entry>delete next word</entry>
</row>
<row>
<entry><literal>clipboard_paste</literal></entry>
<entry>paste current clipboard content</entry>
</row>
<row>
<entry><literal>transpose_chars</literal></entry>
<entry>transpose chars</entry>
</row>
<row>
<entry><literal>home</literal></entry>
<entry>go to beginning of line</entry>
</row>
<row>
<entry><literal>end</literal></entry>
<entry>go to end of line</entry>
</row>
<row>
<entry><literal>left</literal></entry>
<entry>move one char left</entry>
</row>
<row>
<entry><literal>previous_word</literal></entry>
<entry>move to previous word</entry>
</row>
<row>
<entry><literal>right</literal></entry>
<entry>move one char right</entry>
</row>
<row>
<entry><literal>next_word</literal></entry>
<entry>move to next word</entry>
</row>
<row>
<entry><literal>up</literal></entry>
<entry>call previous command in history</entry>
</row>
<row>
<entry><literal>up_global</literal></entry>
<entry>call previous command in global history</entry>
</row>
<row>
<entry><literal>down</literal></entry>
<entry>call next command in history</entry>
</row>
<row>
<entry><literal>down_global</literal></entry>
<entry>call next command in global history</entry>
</row>
<row>
<entry><literal>page_up</literal></entry>
<entry>scroll one page up</entry>
</row>
<row>
<entry><literal>page_down</literal></entry>
<entry>scroll one page down</entry>
</row>
<row>
<entry><literal>scroll_up</literal></entry>
<entry>scroll a few lines up</entry>
</row>
<row>
<entry><literal>scroll_down</literal></entry>
<entry>scroll a few lines down</entry>
</row>
<row>
<entry><literal>scroll_top</literal></entry>
<entry>scroll to top of buffer</entry>
</row>
<row>
<entry><literal>scroll_bottom</literal></entry>
<entry>scroll to bottom of buffer</entry>
</row>
<row>
<entry><literal>scroll_topic_left</literal></entry>
<entry>scroll left topic</entry>
</row>
<row>
<entry><literal>scroll_topic_right</literal></entry>
<entry>scroll right topic</entry>
</row>
<row>
<entry><literal>nick_beginning</literal></entry>
<entry>display beginning of nicklist</entry>
</row>
<row>
<entry><literal>nick_end</literal></entry>
<entry>display end of nicklist</entry>
</row>
<row>
<entry><literal>nick_page_up</literal></entry>
<entry>scroll nicklist one page up</entry>
</row>
<row>
<entry><literal>nick_page_down</literal></entry>
<entry>scroll nicklist one page down</entry>
</row>
<row>
<entry><literal>jump_smart</literal></entry>
<entry>jump to buffer with activity</entry>
</row>
<row>
<entry><literal>jump_dcc</literal></entry>
<entry>jump to DCC buffer</entry>
</row>
<row>
<entry><literal>jump_raw_data</literal></entry>
<entry>jump to raw IRC data buffer</entry>
</row>
<row>
<entry><literal>jump_last_buffer</literal></entry>
<entry>jump to last buffer</entry>
</row>
<row>
<entry><literal>jump_previous_buffer</literal></entry>
<entry>jump to previous buffer</entry>
</row>
<row>
<entry><literal>jump_server</literal></entry>
<entry>jump to server buffer</entry>
</row>
<row>
<entry><literal>jump_next_server</literal></entry>
<entry>jump to next server</entry>
</row>
<row>
<entry><literal>switch_server</literal></entry>
<entry>switch active server on servers buffer</entry>
</row>
<row>
<entry><literal>scroll_previous_highlight</literal></entry>
<entry>scroll to previous highlight in buffer</entry>
</row>
<row>
<entry><literal>scroll_next_highlight</literal></entry>
<entry>scroll to next highlight in buffer</entry>
</row>
<row>
<entry><literal>scroll_unread</literal></entry>
<entry>scroll to first unread line in buffer</entry>
</row>
<row>
<entry><literal>set_unread</literal></entry>
<entry>set unread marker on all buffers</entry>
</row>
<row>
<entry><literal>hotlist_clear</literal></entry>
<entry>clear hotlist</entry>
</row>
<row>
<entry><literal>infobar_clear</literal></entry>
<entry>clear infobar</entry>
</row>
<row>
<entry><literal>refresh</literal></entry>
<entry>refresh screen</entry>
</row>
<row>
<entry><literal>grab_key</literal></entry>
<entry>grab a key</entry>
</row>
<row>
<entry><literal>insert</literal></entry>
<entry>insert a string in command line</entry>
</row>
<row>
<entry><literal>search_text</literal></entry>
<entry>search text in buffer history</entry>
</row>
File diff suppressed because it is too large Load Diff

Some files were not shown because too many files have changed in this diff Show More