mirror of
https://github.com/weechat/weechat.git
synced 2026-07-07 02:03:13 +02:00
Compare commits
193 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 4c34d008d9 | |||
| f314ad4112 | |||
| f88b127e44 | |||
| d157f42ec9 | |||
| 1d803a6972 | |||
| 2342aecbe6 | |||
| b3e7bc728d | |||
| 765d2ee476 | |||
| 94eda3fe67 | |||
| 40ef50d737 | |||
| f74a2784de | |||
| 8e7c1fd6f4 | |||
| 382138940a | |||
| f3e18c95bd | |||
| fee92d00a2 | |||
| 660fe522a1 | |||
| 7526c3c7c0 | |||
| dac4764394 | |||
| a3efc89a7f | |||
| da40c8d33c | |||
| 2eb82a08b1 | |||
| 9595fa75b2 | |||
| 0aa516f52f | |||
| f8e7953b7c | |||
| 06083e7d5b | |||
| c775f8474d | |||
| 4209930399 | |||
| 0e6b33b5be | |||
| b8a42996c1 | |||
| 0a4e6a1b61 | |||
| 63aaf9dc01 | |||
| c9b71fca2d | |||
| 8fbce99292 | |||
| 0ad7b2f6bd | |||
| 95c2cb1c5b | |||
| 1b829eed77 | |||
| b1a033372b | |||
| d719b20fa5 | |||
| ad54188213 | |||
| 4da0cff321 | |||
| cf5009468e | |||
| d64aaed29b | |||
| 6d211de00d | |||
| 2133eb30ff | |||
| 236374f067 | |||
| e7dcbee583 | |||
| 42c230e709 | |||
| c02f32070c | |||
| 8a371fc1aa | |||
| b6e141c286 | |||
| 6cc9ce8777 | |||
| 90884e6b9e | |||
| b493bc5c25 | |||
| 5663e69bc5 | |||
| ac0d9dfb78 | |||
| f8983eb6c0 | |||
| ea567c6fd3 | |||
| ba9e3e8c84 | |||
| 58df8c2d83 | |||
| 846fb5d283 | |||
| f5d54c8f8b | |||
| 6f9ca9a617 | |||
| aca85eda75 | |||
| 265fa492d5 | |||
| 8aa7380d65 | |||
| 48f087b883 | |||
| 610ef09f19 | |||
| 6574c8876b | |||
| 6b76c21cae | |||
| a48576566d | |||
| 62492bf1eb | |||
| 9bfc6a6fd1 | |||
| c1e1e40559 | |||
| d4b0b98933 | |||
| 9e83e74ce4 | |||
| a652fc271f | |||
| a498402e78 | |||
| 0baae4237c | |||
| c31fe6d854 | |||
| 94eb4beb7c | |||
| 9c4ae98d2e | |||
| 7e5acaf50f | |||
| da6b882ed8 | |||
| ae7976b712 | |||
| 8636eeabc8 | |||
| bb9a31e753 | |||
| 3d3941789b | |||
| 17fecf6647 | |||
| f77bcef249 | |||
| 3899c63db2 | |||
| 24d7181ecf | |||
| f67cc2018c | |||
| b279a99566 | |||
| 352217c444 | |||
| 138755d76e | |||
| 2d5b48d7bb | |||
| 9b5e070e5b | |||
| f73b85c8df | |||
| 5465fdfba8 | |||
| f8921025f6 | |||
| ac4ab3e318 | |||
| af49ee7f30 | |||
| d2cf981fd9 | |||
| 56cc9b76cc | |||
| 2c028dc225 | |||
| 5d6d6690d2 | |||
| a56ac9e735 | |||
| d1492b9302 | |||
| a41b2e0a83 | |||
| ebeb335560 | |||
| 018973370d | |||
| 3c7c99b1b5 | |||
| b42cf691ae | |||
| a4322fe2e2 | |||
| 086214cab7 | |||
| 5a06829844 | |||
| f5ec9a6167 | |||
| b3338076d8 | |||
| c165eab0f2 | |||
| 891cb5bdb5 | |||
| 73d649291d | |||
| db2595276e | |||
| 36590cca77 | |||
| 7a2c77cd67 | |||
| 682a84731a | |||
| bbcd5fbe22 | |||
| 3f21038deb | |||
| e561ab1ae3 | |||
| 03e604c675 | |||
| 2ee653f1b5 | |||
| d34efe27cf | |||
| 5fc77232c2 | |||
| c0161bc875 | |||
| 2d70b2cd2e | |||
| 00f08f8e44 | |||
| 435b57e641 | |||
| dec2f08a74 | |||
| 2fcbd7f846 | |||
| 999de8bfc1 | |||
| 5a8c35f6b0 | |||
| 08ebcc877f | |||
| 7075849ac3 | |||
| 1e3db79969 | |||
| a5c4d140a6 | |||
| a08842bbad | |||
| 37835df573 | |||
| fbf1e0286e | |||
| 00d8e0d79d | |||
| 0b6efe706b | |||
| b138ffb7ae | |||
| 62946024d8 | |||
| 1905344fdb | |||
| 656246b8d7 | |||
| 0ce4da7bfc | |||
| a5a6066535 | |||
| bfb9ab6a2a | |||
| 5535ec5f46 | |||
| 74fd27cc07 | |||
| 2bfe49d28b | |||
| 7b2f578ac4 | |||
| 43c76c9164 | |||
| 7232e7d7f2 | |||
| 427419dcd0 | |||
| 9116131fde | |||
| 007a621458 | |||
| 3a429ca6c3 | |||
| ae13264314 | |||
| 5a0a2cfcb9 | |||
| ebd17f79eb | |||
| 79fd2aa317 | |||
| 9bbd093ffe | |||
| fea5c961ae | |||
| 86772181c8 | |||
| ef5f6216e2 | |||
| 6fb5084af5 | |||
| d4c62d0dba | |||
| 241e9dce6f | |||
| 44511f38a4 | |||
| e50534b1c3 | |||
| 693246a61a | |||
| 19d9fc9e13 | |||
| 13ec5f3683 | |||
| 348d74b470 | |||
| b3501ce9cd | |||
| c2300c4095 | |||
| 602c9681d0 | |||
| 6d950cde8f | |||
| a2e1e518dd | |||
| f7ef4c9047 | |||
| 4bd7eaf123 | |||
| 1c194ffa42 | |||
| c04184389d | |||
| e1a54222c7 |
@@ -9,13 +9,11 @@
|
|||||||
*.lo
|
*.lo
|
||||||
*.m4
|
*.m4
|
||||||
*.o
|
*.o
|
||||||
*.pdf
|
|
||||||
*.Plo
|
*.Plo
|
||||||
*.Po
|
*.Po
|
||||||
*.so
|
*.so
|
||||||
*.so.0
|
*.so.0
|
||||||
*.so.0.0.0
|
*.so.0.0.0
|
||||||
*.xsl
|
|
||||||
|
|
||||||
ABOUT-NLS
|
ABOUT-NLS
|
||||||
autom4te*
|
autom4te*
|
||||||
@@ -27,7 +25,6 @@ config.rpath
|
|||||||
config.status
|
config.status
|
||||||
config.sub
|
config.sub
|
||||||
configure
|
configure
|
||||||
date.xml
|
|
||||||
debian/*.log
|
debian/*.log
|
||||||
depcomp
|
depcomp
|
||||||
insert-header.sin
|
insert-header.sin
|
||||||
|
|||||||
@@ -30,6 +30,13 @@ Contributors
|
|||||||
* Voroskoi, IRC: 'voroskoi'
|
* Voroskoi, IRC: 'voroskoi'
|
||||||
* Frank Zacharias
|
* Frank Zacharias
|
||||||
* Pavel Shevchuk, IRC: 'Stalwart'
|
* Pavel Shevchuk, IRC: 'Stalwart'
|
||||||
|
* soltys
|
||||||
|
* Nils Görs
|
||||||
|
* rettub
|
||||||
|
* m4v
|
||||||
|
* Marco Paolone
|
||||||
|
* Dmitry Kobylin
|
||||||
|
* Dominik Honnef
|
||||||
|
|
||||||
|
|
||||||
Contact
|
Contact
|
||||||
@@ -39,4 +46,4 @@ Whole team is connected to IRC:
|
|||||||
server: 'irc.freenode.net', channels: '#weechat' (english) and '#weechat-fr' (french)
|
server: 'irc.freenode.net', channels: '#weechat' (english) and '#weechat-fr' (french)
|
||||||
|
|
||||||
|
|
||||||
See README file for licence detail.
|
See README file for license detail.
|
||||||
|
|||||||
+28
-12
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (c) 2003-2009 FlashCode <flashcode@flashtux.org>
|
# Copyright (c) 2003-2010 by FlashCode <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# 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
|
# it under the terms of the GNU General Public License as published by
|
||||||
@@ -14,7 +14,7 @@
|
|||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#
|
#
|
||||||
|
|
||||||
PROJECT(weechat)
|
PROJECT(weechat C)
|
||||||
|
|
||||||
cmake_minimum_required(VERSION 2.4)
|
cmake_minimum_required(VERSION 2.4)
|
||||||
|
|
||||||
@@ -28,15 +28,31 @@ ENDIF(PREFIX)
|
|||||||
|
|
||||||
SET(VERSION_MAJOR "0")
|
SET(VERSION_MAJOR "0")
|
||||||
SET(VERSION_MINOR "3")
|
SET(VERSION_MINOR "3")
|
||||||
SET(VERSION_PATCH "0")
|
SET(VERSION_PATCH "1.1")
|
||||||
SET(VERSION ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH})
|
SET(VERSION ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH})
|
||||||
SET(PKG_STRING "${PROJECT_NAME} ${VERSION}")
|
SET(PKG_STRING "${PROJECT_NAME} ${VERSION}")
|
||||||
SET(LIBDIR ${CMAKE_INSTALL_PREFIX}/lib/${PROJECT_NAME})
|
|
||||||
SET(SHAREDIR ${CMAKE_INSTALL_PREFIX}/share/${PROJECT_NAME})
|
|
||||||
SET(LOCALEDIR ${CMAKE_INSTALL_PREFIX}/share/locale)
|
|
||||||
SET(INCLUDEDIR ${CMAKE_INSTALL_PREFIX}/include/${PROJECT_NAME})
|
|
||||||
STRING(REPLACE "\";\"" "\ " PKG_STRING ${PKG_STRING})
|
STRING(REPLACE "\";\"" "\ " PKG_STRING ${PKG_STRING})
|
||||||
|
|
||||||
|
IF(DEFINED LIBDIR)
|
||||||
|
SET(LIBDIR ${LIBDIR}/${PROJECT_NAME})
|
||||||
|
ELSE(DEFINED LIBDIR)
|
||||||
|
SET(LIBDIR ${CMAKE_INSTALL_PREFIX}/lib/${PROJECT_NAME})
|
||||||
|
ENDIF(DEFINED LIBDIR)
|
||||||
|
|
||||||
|
IF(NOT DEFINED SHAREDIR)
|
||||||
|
SET(SHAREDIR ${CMAKE_INSTALL_PREFIX}/share)
|
||||||
|
ENDIF(NOT DEFINED SHAREDIR)
|
||||||
|
|
||||||
|
IF(NOT DEFINED LOCALEDIR)
|
||||||
|
SET(LOCALEDIR ${SHAREDIR}/locale)
|
||||||
|
ENDIF(NOT DEFINED LOCALEDIR)
|
||||||
|
|
||||||
|
IF(DEFINED INCLUDEDIR)
|
||||||
|
SET(INCLUDEDIR ${INCLUDEDIR}/${PROJECT_NAME})
|
||||||
|
ELSE(DEFINED INCLUDEDIR)
|
||||||
|
SET(INCLUDEDIR ${CMAKE_INSTALL_PREFIX}/include/${PROJECT_NAME})
|
||||||
|
ENDIF(DEFINED INCLUDEDIR)
|
||||||
|
|
||||||
OPTION(DISABLE_NCURSES "Disable Ncurses interface")
|
OPTION(DISABLE_NCURSES "Disable Ncurses interface")
|
||||||
OPTION(ENABLE_GTK "Enable GTK interface")
|
OPTION(ENABLE_GTK "Enable GTK interface")
|
||||||
OPTION(DISABLE_NLS "Disable Native Language Support")
|
OPTION(DISABLE_NLS "Disable Native Language Support")
|
||||||
@@ -93,7 +109,7 @@ SET(exec_prefix "\${prefix}")
|
|||||||
SET(libdir "\${exec_prefix}/lib")
|
SET(libdir "\${exec_prefix}/lib")
|
||||||
SET(includedir "\${prefix}/include")
|
SET(includedir "\${prefix}/include")
|
||||||
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/weechat.pc.in ${CMAKE_CURRENT_BINARY_DIR}/weechat.pc @ONLY)
|
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)
|
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat.pc DESTINATION ${LIBDIR}/../pkgconfig)
|
||||||
|
|
||||||
# packages
|
# packages
|
||||||
SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Fast, light and extensible chat client")
|
SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Fast, light and extensible chat client")
|
||||||
@@ -116,10 +132,10 @@ SET(CPACK_SOURCE_IGNORE_FILES "/\\\\.git" "/build/" "/m4/"
|
|||||||
"/config\\\\.h.in$" "/config\\\\.log$" "/config\\\\.rpath$"
|
"/config\\\\.h.in$" "/config\\\\.log$" "/config\\\\.rpath$"
|
||||||
"/config\\\\.status$" "/config\\\\.sub$" "/configure$" "/depcomp$"
|
"/config\\\\.status$" "/config\\\\.sub$" "/configure$" "/depcomp$"
|
||||||
"/install-sh$" "/missing$" "/intl/" "/libtool$" "/\\\\.libs/"
|
"/install-sh$" "/missing$" "/intl/" "/libtool$" "/\\\\.libs/"
|
||||||
"/ltmain\\\\.sh$" "/\\\\.deps/" "/date\\\\.xml$" "/html/" "/html1/"
|
"/ltmain\\\\.sh$" "/\\\\.deps/" "/html/" "/html1/" "/Makefile$"
|
||||||
"\\\\.pdf$" "/Makefile$" "/Makefile\\\\.in$" "stamp" "/po/.*\\\\.header$"
|
"/Makefile\\\\.in$" "stamp" "/po/.*\\\\.header$" "\\\\.gmo$" "~$" "\\\\.o$"
|
||||||
"\\\\.gmo$" "~$" "\\\\.o$" "\\\\.lo$" "\\\\.a$" "\\\\.la$" "\\\\.lai$"
|
"\\\\.lo$" "\\\\.a$" "\\\\.la$" "\\\\.lai$" "\\\\.Plo$" "/weechat-curses$"
|
||||||
"\\\\.Plo$" "/weechat-curses$" "/weechat-gtk$"
|
"/weechat-gtk$"
|
||||||
)
|
)
|
||||||
|
|
||||||
INCLUDE(CPack)
|
INCLUDE(CPack)
|
||||||
|
|||||||
@@ -1,9 +1,78 @@
|
|||||||
WeeChat ChangeLog
|
WeeChat ChangeLog
|
||||||
=================
|
=================
|
||||||
FlashCode <flashcode@flashtux.org>
|
FlashCode <flashcode@flashtux.org>
|
||||||
v0.3.0, 2009-09-06
|
v0.3.1.1, 2010-01-31
|
||||||
|
|
||||||
|
|
||||||
|
Version 0.3.1.1 (2010-01-31)
|
||||||
|
----------------------------
|
||||||
|
* irc: fix crash with SSL connection if option ssl_cert is set (bug #28752)
|
||||||
|
* irc: fix bug with SSL connection (fails sometimes when ssl_verify is on)
|
||||||
|
(bug #28741)
|
||||||
|
* irc: fix compilation with old GnuTLS versions (bug #28723)
|
||||||
|
* xfer: fix crash when purging old xfer chats (bug #28764)
|
||||||
|
|
||||||
|
Version 0.3.1 (2010-01-23)
|
||||||
|
--------------------------
|
||||||
|
|
||||||
|
* core: fix bug with script installation on BSD/OSX (patch #6980)
|
||||||
|
* core: add option grab_key_command for /input (bound by default to alt-k)
|
||||||
|
* core: fix compilation under Cygwin (patch #6916)
|
||||||
|
* core: fix cmake directories: let user customize lib, share, locale and include
|
||||||
|
directories (patch #6922)
|
||||||
|
* core: fix plural form in translation files (bug #27430)
|
||||||
|
* core: fix terminal title bug: do not reset it when option
|
||||||
|
weechat.look.set_title is off (bug #27399)
|
||||||
|
* core: fix buffer used by some input functions called via plugin API with
|
||||||
|
buffer pointer (bug #28152)
|
||||||
|
* alias: new expansions for alias arguments ($n, $-m, $n-, $n-m, $*, $~)
|
||||||
|
(patch #6917)
|
||||||
|
* alias: allow use of wildcards for /alias list (patch #6925)
|
||||||
|
* alias: allow /unalias to remove multiple aliases (patch #6926)
|
||||||
|
* alias: fix bug with buffer for execution of alias, when called from plugin API
|
||||||
|
with function "command" (bug #27697)
|
||||||
|
* alias: fix bug with arguments (bug #27440)
|
||||||
|
* irc: add new commands /allchan and /allserv with excluding option, commands
|
||||||
|
/ame and /amsg are now aliases, new aliases /aaway and /anick
|
||||||
|
* irc: add options to customize target buffer for messages (task #7381)
|
||||||
|
* irc: add new output queue for messages with low priority (like automatic CTCP
|
||||||
|
replies), high priority is given to user messages or commands
|
||||||
|
* irc: use self-signed certificate to auto identify on IRC server (CertFP)
|
||||||
|
(task #7492, debian #453348)
|
||||||
|
* irc: check SSL certificates (task #7492)
|
||||||
|
* irc: add option "autorejoin_delay" for servers (task #8771)
|
||||||
|
* irc: add option to use same nick color in channel and private (task #9870)
|
||||||
|
* irc: add missing command 275 (patch #6952)
|
||||||
|
* irc: add commands /sajoin, /samode, /sanick, /sapart, /saquit (task #9770)
|
||||||
|
* irc: add options for CTCP, to block/customize CTCP reply (task #9693)
|
||||||
|
* irc: add missing CTCP: clientinfo, finger, source, time, userinfo (task #7270)
|
||||||
|
* irc: add all server options for commands /server and /connect
|
||||||
|
* irc: add arguments for command /rehash
|
||||||
|
* irc: improve error management on socket error (recv/send)
|
||||||
|
* irc: improve mask used by command /kickban
|
||||||
|
* irc: fix nick color for nicks with wide chars (bug #28547)
|
||||||
|
* irc: fix autorejoin on channels with key
|
||||||
|
* irc: fix command /connect (options -ssl, -ipv6 and -port) (bug #27486)
|
||||||
|
* xfer: add color for nicks in chat
|
||||||
|
* xfer: add missing command /me (bug #28658)
|
||||||
|
* xfer: add missing charset decoding/encoding for IRC DCC chat (bug #27482)
|
||||||
|
* ruby: support of Ruby >= 1.9.1 (patch #6989)
|
||||||
|
* fifo: remove old pipes before creating new pipe
|
||||||
|
* gui: add color "darkgray", add support for background with light color
|
||||||
|
* gui: fix color "black" (bug #23882, debian #512957)
|
||||||
|
* gui: fix message "Day changed to", sometimes displayed at wrong time
|
||||||
|
(bug #26959)
|
||||||
|
* gui: fix bug with URL selection in some terminals (caused by horizontal lines)
|
||||||
|
(bug #27700)
|
||||||
|
* gui: use default auto completion for arguments of unknown commands
|
||||||
|
* gui: fix alignment problem for buffer name when a merged buffer is closed
|
||||||
|
(bug #27617)
|
||||||
|
* gui: update hotlist when a buffer is closed (bug #27470), remove buffer from
|
||||||
|
hotlist when buffer is cleared (bug #27530)
|
||||||
|
* gui: fix /input history_global_next: reset input content when last command in
|
||||||
|
history is reached
|
||||||
|
* api: fix function weechat_bar_set for python/lua/ruby (patch #6912)
|
||||||
|
|
||||||
Version 0.3.0 (2009-09-06)
|
Version 0.3.0 (2009-09-06)
|
||||||
--------------------------
|
--------------------------
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (c) 2003-2009 FlashCode <flashcode@flashtux.org>
|
# Copyright (c) 2003-2010 by FlashCode <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# 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
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,6 +1,21 @@
|
|||||||
WeeChat News
|
WeeChat News
|
||||||
============
|
============
|
||||||
|
|
||||||
|
FlashCode, 2010-01-31::
|
||||||
|
WeeChat 0.3.1.1 released.
|
||||||
|
+
|
||||||
|
This version fixes crashs with SSL connection and purge of old DCC chats.
|
||||||
|
|
||||||
|
FlashCode, 2010-01-23::
|
||||||
|
WeeChat 0.3.1 released.
|
||||||
|
+
|
||||||
|
IRC commands /ame and /amsg are now aliases, if you are upgrading from
|
||||||
|
version 0.3.0, you must create aliases with following commands:
|
||||||
|
* `/alias aaway allserv /away`
|
||||||
|
* `/alias ame allchan /me`
|
||||||
|
* `/alias amsg allchan /amsg *`
|
||||||
|
* `/alias anick allserv /nick`
|
||||||
|
|
||||||
FlashCode, 2009-09-06::
|
FlashCode, 2009-09-06::
|
||||||
WeeChat 0.3.0 released.
|
WeeChat 0.3.0 released.
|
||||||
+
|
+
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ NOTE: (1) only Curses interface is available today
|
|||||||
Copyright
|
Copyright
|
||||||
---------
|
---------
|
||||||
|
|
||||||
WeeChat (c) Copyright 2003-2009 by FlashCode <flashcode@flashtux.org>
|
WeeChat (c) Copyright 2003-2010 by FlashCode <flashcode@flashtux.org>
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
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
|
it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
#
|
#
|
||||||
# Copyright (c) 2003-2009 FlashCode <flashcode@flashtux.org>
|
# Copyright (c) 2003-2010 by FlashCode <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# 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
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (c) 2003-2009 FlashCode <flashcode@flashtux.org>
|
# Copyright (c) 2003-2010 by FlashCode <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# 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
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (c) 2003-2009 FlashCode <flashcode@flashtux.org>
|
# Copyright (c) 2003-2010 by FlashCode <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# 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
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (c) 2003-2009 FlashCode <flashcode@flashtux.org>
|
# Copyright (c) 2003-2010 by FlashCode <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# 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
|
# it under the terms of the GNU General Public License as published by
|
||||||
@@ -52,12 +52,12 @@ IF(HAVE_LIBINTL_H)
|
|||||||
/usr/lib
|
/usr/lib
|
||||||
)
|
)
|
||||||
IF(LIBINTL_LIBRARY)
|
IF(LIBINTL_LIBRARY)
|
||||||
IF(${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD")
|
IF(${CMAKE_SYSTEM_NAME} STREQUAL "OpenBSD")
|
||||||
SET(CMAKE_REQUIRED_LIBRARIES "iconv")
|
SET(CMAKE_REQUIRED_LIBRARIES "iconv")
|
||||||
CHECK_LIBRARY_EXISTS(${LIBINTL_LIBRARY} "libintl_dgettext" "" LIBINTL_HAS_DGETTEXT)
|
CHECK_LIBRARY_EXISTS(${LIBINTL_LIBRARY} "libintl_dgettext" "" LIBINTL_HAS_DGETTEXT)
|
||||||
ELSE(${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD")
|
ELSE(${CMAKE_SYSTEM_NAME} STREQUAL "OpenBSD")
|
||||||
CHECK_LIBRARY_EXISTS(${LIBINTL_LIBRARY} "dgettext" "" LIBINTL_HAS_DGETTEXT)
|
CHECK_LIBRARY_EXISTS(${LIBINTL_LIBRARY} "dgettext" "" LIBINTL_HAS_DGETTEXT)
|
||||||
ENDIF(${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD")
|
ENDIF(${CMAKE_SYSTEM_NAME} STREQUAL "OpenBSD")
|
||||||
|
|
||||||
IF(LIBINTL_HAS_DGETTEXT)
|
IF(LIBINTL_HAS_DGETTEXT)
|
||||||
SET(GETTEXT_FOUND TRUE)
|
SET(GETTEXT_FOUND TRUE)
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (c) 2003-2009 FlashCode <flashcode@flashtux.org>
|
# Copyright (c) 2003-2010 by FlashCode <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# 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
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (c) 2003-2009 FlashCode <flashcode@flashtux.org>
|
# Copyright (c) 2003-2010 by FlashCode <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# 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
|
# it under the terms of the GNU General Public License as published by
|
||||||
@@ -30,6 +30,9 @@ IF(ICONV_FOUND)
|
|||||||
set(ICONV_FIND_QUIETLY TRUE)
|
set(ICONV_FIND_QUIETLY TRUE)
|
||||||
ENDIF(ICONV_FOUND)
|
ENDIF(ICONV_FOUND)
|
||||||
|
|
||||||
|
INCLUDE(CheckLibraryExists)
|
||||||
|
INCLUDE(CheckFunctionExists)
|
||||||
|
|
||||||
FIND_PATH(ICONV_INCLUDE_PATH
|
FIND_PATH(ICONV_INCLUDE_PATH
|
||||||
NAMES iconv.h
|
NAMES iconv.h
|
||||||
PATHS /usr/include /usr/local/include /usr/pkg/include
|
PATHS /usr/include /usr/local/include /usr/pkg/include
|
||||||
|
|||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (c) 2003-2009 FlashCode <flashcode@flashtux.org>
|
# Copyright (c) 2003-2010 by FlashCode <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# 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
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (c) 2003-2009 FlashCode <flashcode@flashtux.org>
|
# Copyright (c) 2003-2010 by FlashCode <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# 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
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (c) 2003-2009 FlashCode <flashcode@flashtux.org>
|
# Copyright (c) 2003-2010 by FlashCode <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# 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
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (c) 2003-2009 FlashCode <flashcode@flashtux.org>
|
# Copyright (c) 2003-2010 by FlashCode <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# 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
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
+23
-4
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (c) 2003-2009 FlashCode <flashcode@flashtux.org>
|
# Copyright (c) 2003-2010 by FlashCode <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# 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
|
# it under the terms of the GNU General Public License as published by
|
||||||
@@ -35,10 +35,15 @@ FIND_PROGRAM(RUBY_EXECUTABLE
|
|||||||
|
|
||||||
IF(RUBY_EXECUTABLE)
|
IF(RUBY_EXECUTABLE)
|
||||||
EXECUTE_PROCESS(
|
EXECUTE_PROCESS(
|
||||||
COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "puts Config::CONFIG['archdir']"
|
COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "puts Config::CONFIG['rubyhdrdir'] || Config::CONFIG['archdir']"
|
||||||
OUTPUT_VARIABLE RUBY_ARCH_DIR
|
OUTPUT_VARIABLE RUBY_ARCH_DIR
|
||||||
)
|
)
|
||||||
|
|
||||||
|
EXECUTE_PROCESS(
|
||||||
|
COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "puts Config::CONFIG['arch']"
|
||||||
|
OUTPUT_VARIABLE RUBY_ARCH
|
||||||
|
)
|
||||||
|
|
||||||
EXECUTE_PROCESS(
|
EXECUTE_PROCESS(
|
||||||
COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "puts Config::CONFIG['libdir']"
|
COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "puts Config::CONFIG['libdir']"
|
||||||
OUTPUT_VARIABLE RUBY_POSSIBLE_LIB_PATH
|
OUTPUT_VARIABLE RUBY_POSSIBLE_LIB_PATH
|
||||||
@@ -48,17 +53,27 @@ IF(RUBY_EXECUTABLE)
|
|||||||
COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "puts Config::CONFIG['rubylibdir']"
|
COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "puts Config::CONFIG['rubylibdir']"
|
||||||
OUTPUT_VARIABLE RUBY_RUBY_LIB_PATH
|
OUTPUT_VARIABLE RUBY_RUBY_LIB_PATH
|
||||||
)
|
)
|
||||||
|
|
||||||
|
EXECUTE_PROCESS(
|
||||||
|
COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "puts Config::CONFIG['ruby_version']"
|
||||||
|
OUTPUT_VARIABLE RUBY_VERSION
|
||||||
|
)
|
||||||
|
|
||||||
# remove the new lines from the output by replacing them with empty strings
|
# remove the new lines from the output by replacing them with empty strings
|
||||||
STRING(REPLACE "\n" "" RUBY_ARCH_DIR "${RUBY_ARCH_DIR}")
|
STRING(REPLACE "\n" "" RUBY_ARCH_DIR "${RUBY_ARCH_DIR}")
|
||||||
STRING(REPLACE "\n" "" RUBY_POSSIBLE_LIB_PATH "${RUBY_POSSIBLE_LIB_PATH}")
|
STRING(REPLACE "\n" "" RUBY_POSSIBLE_LIB_PATH "${RUBY_POSSIBLE_LIB_PATH}")
|
||||||
STRING(REPLACE "\n" "" RUBY_RUBY_LIB_PATH "${RUBY_RUBY_LIB_PATH}")
|
STRING(REPLACE "\n" "" RUBY_RUBY_LIB_PATH "${RUBY_RUBY_LIB_PATH}")
|
||||||
|
STRING(REPLACE "\n" "" RUBY_ARCH "${RUBY_ARCH}")
|
||||||
|
STRING(REPLACE "\n" "" RUBY_VERSION "${RUBY_VERSION}")
|
||||||
|
|
||||||
FIND_PATH(RUBY_INCLUDE_PATH
|
FIND_PATH(RUBY_INCLUDE_PATH
|
||||||
NAMES ruby.h
|
NAMES ruby.h
|
||||||
PATHS ${RUBY_ARCH_DIR}
|
PATHS ${RUBY_ARCH_DIR}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
SET(RUBY_ARCH
|
||||||
|
"${RUBY_INCLUDE_PATH}/${RUBY_ARCH}")
|
||||||
|
|
||||||
FIND_LIBRARY(RUBY_LIBRARY
|
FIND_LIBRARY(RUBY_LIBRARY
|
||||||
NAMES ruby ruby1.6 ruby16 ruby1.8 ruby18 ruby1.9 ruby19
|
NAMES ruby ruby1.6 ruby16 ruby1.8 ruby18 ruby1.9 ruby19
|
||||||
PATHS ${RUBY_POSSIBLE_LIB_PATH} ${RUBY_RUBY_LIB_PATH}
|
PATHS ${RUBY_POSSIBLE_LIB_PATH} ${RUBY_RUBY_LIB_PATH}
|
||||||
@@ -67,11 +82,15 @@ IF(RUBY_EXECUTABLE)
|
|||||||
IF(RUBY_LIBRARY AND RUBY_INCLUDE_PATH)
|
IF(RUBY_LIBRARY AND RUBY_INCLUDE_PATH)
|
||||||
SET(RUBY_FOUND TRUE)
|
SET(RUBY_FOUND TRUE)
|
||||||
ENDIF(RUBY_LIBRARY AND RUBY_INCLUDE_PATH)
|
ENDIF(RUBY_LIBRARY AND RUBY_INCLUDE_PATH)
|
||||||
|
|
||||||
|
IF(${RUBY_VERSION} STREQUAL "1.9.0")
|
||||||
|
SET(RUBY_FOUND FALSE)
|
||||||
|
ENDIF(${RUBY_VERSION} STREQUAL "1.9.0")
|
||||||
|
|
||||||
MARK_AS_ADVANCED(
|
MARK_AS_ADVANCED(
|
||||||
RUBY_EXECUTABLE
|
RUBY_EXECUTABLE
|
||||||
RUBY_LIBRARY
|
RUBY_LIBRARY
|
||||||
|
RUBY_ARCH
|
||||||
RUBY_INCLUDE_PATH
|
RUBY_INCLUDE_PATH
|
||||||
)
|
)
|
||||||
|
|
||||||
ENDIF(RUBY_EXECUTABLE)
|
ENDIF(RUBY_EXECUTABLE)
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (c) 2003-2009 FlashCode <flashcode@flashtux.org>
|
# Copyright (c) 2003-2010 by FlashCode <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# 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
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (c) 2003-2009 FlashCode <flashcode@flashtux.org>
|
# Copyright (c) 2003-2010 by FlashCode <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# 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
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
#
|
#
|
||||||
# Copyright (c) 2003-2009 FlashCode <flashcode@flashtux.org>
|
# Copyright (c) 2003-2010 by FlashCode <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# 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
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
+36
-14
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (c) 2003-2009 FlashCode <flashcode@flashtux.org>
|
# Copyright (c) 2003-2010 by FlashCode <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# 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
|
# it under the terms of the GNU General Public License as published by
|
||||||
@@ -18,10 +18,10 @@
|
|||||||
# Process this file with autoconf to produce a configure script.
|
# Process this file with autoconf to produce a configure script.
|
||||||
|
|
||||||
AC_PREREQ(2.56)
|
AC_PREREQ(2.56)
|
||||||
AC_INIT(WeeChat, 0.3.0, flashcode@flashtux.org)
|
AC_INIT(WeeChat, 0.3.1.1, flashcode@flashtux.org)
|
||||||
AC_CONFIG_SRCDIR([src/core/weechat.c])
|
AC_CONFIG_SRCDIR([src/core/weechat.c])
|
||||||
AM_CONFIG_HEADER(config.h)
|
AM_CONFIG_HEADER(config.h)
|
||||||
AM_INIT_AUTOMAKE([weechat], [0.3.0])
|
AM_INIT_AUTOMAKE([weechat], [0.3.1.1])
|
||||||
|
|
||||||
# Checks for programs
|
# Checks for programs
|
||||||
AC_PROG_CC
|
AC_PROG_CC
|
||||||
@@ -45,10 +45,13 @@ netbsd*)
|
|||||||
solaris*)
|
solaris*)
|
||||||
LDFLAGS="$LDFLAGS -lsocket -lxnet"
|
LDFLAGS="$LDFLAGS -lsocket -lxnet"
|
||||||
;;
|
;;
|
||||||
|
cygwin*)
|
||||||
|
LDFLAGS="$LDFLAGS -no-undefined"
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# Gettext
|
# Gettext
|
||||||
ALL_LINGUAS="fr es cs hu de ru pl"
|
ALL_LINGUAS="fr es cs hu de ru pl it"
|
||||||
AM_GNU_GETTEXT([use-libtool])
|
AM_GNU_GETTEXT([use-libtool])
|
||||||
AM_GNU_GETTEXT_VERSION([0.15])
|
AM_GNU_GETTEXT_VERSION([0.15])
|
||||||
|
|
||||||
@@ -137,6 +140,7 @@ AC_ARG_ENABLE(xfer, [ --disable-xfer turn off Xfer (file trans
|
|||||||
AC_ARG_WITH(lua-inc, [ --with-lua-inc=DIR, lua include files are in DIR (default=autodetect)],lua_inc=$withval,lua_inc='')
|
AC_ARG_WITH(lua-inc, [ --with-lua-inc=DIR, lua include files are in DIR (default=autodetect)],lua_inc=$withval,lua_inc='')
|
||||||
AC_ARG_WITH(lua-lib, [ --with-lua-lib=DIR, lua library files are in DIR (default=autodetect)],lua_lib=$withval,lua_lib='')
|
AC_ARG_WITH(lua-lib, [ --with-lua-lib=DIR, lua library files are in DIR (default=autodetect)],lua_lib=$withval,lua_lib='')
|
||||||
AC_ARG_WITH(lua-suffix, [ --with-lua-suffix=ARG lua is suffixed with ARG (default=autodetect)],lua_suffix=$withval,lua_suffix='')
|
AC_ARG_WITH(lua-suffix, [ --with-lua-suffix=ARG lua is suffixed with ARG (default=autodetect)],lua_suffix=$withval,lua_suffix='')
|
||||||
|
AC_ARG_WITH(tclconfig, [ --with-tclconfig=DIR directory containing tcl configuration (tclConfig.sh)],tclconfig=$withval,tclconfig='')
|
||||||
AC_ARG_ENABLE(doc, [ --disable-doc turn off documentation (default=built)],enable_doc=$enableval,enable_doc=yes)
|
AC_ARG_ENABLE(doc, [ --disable-doc turn off documentation (default=built)],enable_doc=$enableval,enable_doc=yes)
|
||||||
AC_ARG_WITH(debug, [ --with-debug debugging: 0=no debug, 1=debug compilation (default=1)],debug=$withval,debug=1)
|
AC_ARG_WITH(debug, [ --with-debug debugging: 0=no debug, 1=debug compilation (default=1)],debug=$withval,debug=1)
|
||||||
|
|
||||||
@@ -525,20 +529,32 @@ if test "x$enable_ruby" = "xyes" ; then
|
|||||||
not_found="$not_found ruby"
|
not_found="$not_found ruby"
|
||||||
else
|
else
|
||||||
RUBY_VERSION=`$RUBY -rrbconfig -e "puts Config::CONFIG[['ruby_version']]"`
|
RUBY_VERSION=`$RUBY -rrbconfig -e "puts Config::CONFIG[['ruby_version']]"`
|
||||||
RUBY_INCLUDE=`$RUBY -rrbconfig -e "puts Config::CONFIG[['archdir']]"`
|
if test "$RUBY_VERSION" = "1.9.0"; then
|
||||||
AC_MSG_CHECKING(for Ruby header files)
|
|
||||||
if test -r "$RUBY_INCLUDE/ruby.h"; then
|
|
||||||
RUBY_CFLAGS="-I$RUBY_INCLUDE"
|
|
||||||
else
|
|
||||||
AC_MSG_WARN([
|
AC_MSG_WARN([
|
||||||
*** Ruby header files couldn't be found on your system.
|
*** Ruby header files have been found, but they're of the version 1.9.0.
|
||||||
*** Try to install them with your software package manager.
|
*** Ruby 1.9.0 is an unstable release and should not be used in production.
|
||||||
|
*** Please install Ruby >=1.8.6 or 1.9.1.
|
||||||
*** WeeChat will be built without Ruby support.])
|
*** WeeChat will be built without Ruby support.])
|
||||||
enable_ruby="no"
|
enable_ruby="no"
|
||||||
not_found="$not_found ruby"
|
not_found="$not_found ruby"
|
||||||
|
else
|
||||||
|
RUBY_INCLUDE=`$RUBY -rrbconfig -e "puts Config::CONFIG[['rubyhdrdir']] || Config::CONFIG[['archdir']]"`
|
||||||
|
RUBY_ARCH=`$RUBY -rrbconfig -e 'print Config::CONFIG[["arch"]]'`
|
||||||
|
AC_MSG_CHECKING(for Ruby header files)
|
||||||
|
if test -d "$RUBY_INCLUDE/"; then
|
||||||
|
M_RUBY_VERSION=`$RUBY -rrbconfig -e "puts Config::CONFIG[['ruby_version']].gsub(/\./, '')[[0,2]]"`
|
||||||
|
RUBY_CFLAGS="-I$RUBY_INCLUDE/ -I$RUBY_INCLUDE/$RUBY_ARCH -DRUBY_VERSION=$M_RUBY_VERSION"
|
||||||
|
else
|
||||||
|
AC_MSG_WARN([
|
||||||
|
*** Ruby header files couldn't be found on your system.
|
||||||
|
*** Try to install them with your software package manager.
|
||||||
|
*** WeeChat will be built without Ruby support.])
|
||||||
|
enable_ruby="no"
|
||||||
|
not_found="$not_found ruby"
|
||||||
|
fi
|
||||||
|
AC_MSG_RESULT(found)
|
||||||
|
RUBY_LFLAGS=`$RUBY -rrbconfig -e "puts Config::CONFIG[['LIBRUBYARG_SHARED']]"`
|
||||||
fi
|
fi
|
||||||
AC_MSG_RESULT(found)
|
|
||||||
RUBY_LFLAGS=`$RUBY -rrbconfig -e "puts Config::CONFIG[['LIBRUBYARG_SHARED']]"`
|
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
not_asked="$not_asked ruby"
|
not_asked="$not_asked ruby"
|
||||||
@@ -682,6 +698,9 @@ if test "x$enable_tcl" = "xyes" ; then
|
|||||||
AC_MSG_CHECKING(for tclConfig.sh)
|
AC_MSG_CHECKING(for tclConfig.sh)
|
||||||
tcl_found="no"
|
tcl_found="no"
|
||||||
tcl_dirs="/lib /usr/lib /usr/tcl/lib /usr/lib/tcl8.5 /usr/lib/tcl8.4 /usr/lib/tcl8.3 /usr/local/lib /usr/local/tcl-8.5/lib /usr/local/tcl-8.4/lib /usr/local/tcl-8.3/lib /usr/local/tcl/lib /opt/lib"
|
tcl_dirs="/lib /usr/lib /usr/tcl/lib /usr/lib/tcl8.5 /usr/lib/tcl8.4 /usr/lib/tcl8.3 /usr/local/lib /usr/local/tcl-8.5/lib /usr/local/tcl-8.4/lib /usr/local/tcl-8.3/lib /usr/local/tcl/lib /opt/lib"
|
||||||
|
if test "x$tclconfig" != "x" ; then
|
||||||
|
tcl_dirs="${tclconfig} ${tcl_dirs}"
|
||||||
|
fi
|
||||||
for tcl_dir in $tcl_dirs ; do
|
for tcl_dir in $tcl_dirs ; do
|
||||||
if test -f ${tcl_dir}/tclConfig.sh ; then
|
if test -f ${tcl_dir}/tclConfig.sh ; then
|
||||||
. ${tcl_dir}/tclConfig.sh
|
. ${tcl_dir}/tclConfig.sh
|
||||||
@@ -870,7 +889,7 @@ else
|
|||||||
AC_MSG_RESULT(no)
|
AC_MSG_RESULT(no)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
CFLAGS=`echo $CFLAGS | sed 's/ -g //g'`
|
CFLAGS=`echo $CFLAGS | sed 's/ -g / /g'`
|
||||||
CFLAGS=`echo $CFLAGS | sed 's/^-g //g'`
|
CFLAGS=`echo $CFLAGS | sed 's/^-g //g'`
|
||||||
CFLAGS=`echo $CFLAGS | sed 's/ -g$//g'`
|
CFLAGS=`echo $CFLAGS | sed 's/ -g$//g'`
|
||||||
CFLAGS=`echo $CFLAGS | sed 's/^-g$//g'`
|
CFLAGS=`echo $CFLAGS | sed 's/^-g$//g'`
|
||||||
@@ -941,6 +960,9 @@ AC_OUTPUT([Makefile
|
|||||||
doc/fr/Makefile
|
doc/fr/Makefile
|
||||||
doc/pl/Makefile
|
doc/pl/Makefile
|
||||||
doc/de/Makefile
|
doc/de/Makefile
|
||||||
|
doc/ru/Makefile
|
||||||
|
doc/ja/Makefile
|
||||||
|
doc/it/Makefile
|
||||||
src/Makefile
|
src/Makefile
|
||||||
src/core/Makefile
|
src/core/Makefile
|
||||||
src/plugins/Makefile
|
src/plugins/Makefile
|
||||||
|
|||||||
Vendored
+2
-2
@@ -1,4 +1,4 @@
|
|||||||
weechat (0.3.0~rc3-1) experimental; urgency=low
|
weechat (0.3.0-1) unstable; urgency=low
|
||||||
|
|
||||||
This release introduces major changes. Large part of code was
|
This release introduces major changes. Large part of code was
|
||||||
rewritten without keeping compatibility with older versions.
|
rewritten without keeping compatibility with older versions.
|
||||||
@@ -6,4 +6,4 @@ weechat (0.3.0~rc3-1) experimental; urgency=low
|
|||||||
Please refer to the file /usr/share/doc/weechat-core/UPGRADE_0.3
|
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.
|
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
|
-- Emmanuel Bouthenot <kolter@openics.org> Tue, 15 Sep 2009 20:59:42 +0000
|
||||||
|
|||||||
Vendored
+12
-3
@@ -1,10 +1,19 @@
|
|||||||
|
weechat (0.3.0-1) unstable; urgency=low
|
||||||
|
|
||||||
|
* New (final) upstream release.
|
||||||
|
* Upload to unstable.
|
||||||
|
* Add doc-base files for documentation.
|
||||||
|
|
||||||
|
-- Emmanuel Bouthenot <kolter@openics.org> Tue, 15 Sep 2009 20:58:07 +0000
|
||||||
|
|
||||||
weechat (0.3.0~rc3-1) experimental; urgency=low
|
weechat (0.3.0~rc3-1) experimental; urgency=low
|
||||||
|
|
||||||
* New (major) upstream release.
|
* New (major) upstream release.
|
||||||
- Fix the excessive number of wakeups (Closes: #461945)
|
- Fix the excessive number of wakeups (Closes: #461945)
|
||||||
* Remove patches (merged upstream).
|
* Remove patches (merged upstream).
|
||||||
* Update debian/copyright: add new copyright holder.
|
* Update debian/copyright: add new copyright holder.
|
||||||
* Packaging changes:
|
* Packaging changes (taking into account future frontends: weechat-gtk,
|
||||||
|
weechat-qt, etc.):
|
||||||
- Drop weechat-common
|
- Drop weechat-common
|
||||||
- Add weechat-doc (Documentation)
|
- Add weechat-doc (Documentation)
|
||||||
- Add weechat-core (locales files, essential plugins)
|
- Add weechat-core (locales files, essential plugins)
|
||||||
@@ -13,11 +22,11 @@ weechat (0.3.0~rc3-1) experimental; urgency=low
|
|||||||
* Switch packaging from cdbs to debhelper 7.
|
* Switch packaging from cdbs to debhelper 7.
|
||||||
* Update packages descriptions.
|
* Update packages descriptions.
|
||||||
* Add a lintian-override against manpage line wrapping error.
|
* Add a lintian-override against manpage line wrapping error.
|
||||||
* Update Standards-Version to 3.8.2.
|
* Update Standards-Version to 3.8.3.
|
||||||
* Add file UPGRADE_0.3 to doc files.
|
* Add file UPGRADE_0.3 to doc files.
|
||||||
* Update debian/NEWS about major changes in this release.
|
* Update debian/NEWS about major changes in this release.
|
||||||
|
|
||||||
-- Emmanuel Bouthenot <kolter@openics.org> Sun, 09 Aug 2009 06:42:45 +0000
|
-- Emmanuel Bouthenot <kolter@openics.org> Sun, 16 Aug 2009 20:32:01 +0000
|
||||||
|
|
||||||
weechat (0.2.6.3-1) unstable; urgency=low
|
weechat (0.2.6.3-1) unstable; urgency=low
|
||||||
|
|
||||||
|
|||||||
Vendored
+5
-5
@@ -2,12 +2,12 @@ Source: weechat
|
|||||||
Section: net
|
Section: net
|
||||||
Priority: optional
|
Priority: optional
|
||||||
Maintainer: Emmanuel Bouthenot <kolter@openics.org>
|
Maintainer: Emmanuel Bouthenot <kolter@openics.org>
|
||||||
|
Build-Depends-Indep: asciidoc (>= 8.2), source-highlight
|
||||||
Build-Depends: debhelper (>= 7.0.50), cmake, libncursesw5-dev,
|
Build-Depends: debhelper (>= 7.0.50), cmake, libncursesw5-dev,
|
||||||
ruby, ruby1.8-dev, libperl-dev, python-dev, libaspell-dev, liblua5.1-0-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),
|
tcl-dev, libgnutls-dev, dpkg-dev (>= 1.13.19), pkg-config
|
||||||
source-highlight
|
Standards-Version: 3.8.3
|
||||||
Standards-Version: 3.8.2
|
Homepage: http://weechat.org/
|
||||||
Homepage: http://www.weechat.org/
|
|
||||||
Vcs-Git: git://git.debian.org/users/kolter-guest/weechat.git
|
Vcs-Git: git://git.debian.org/users/kolter-guest/weechat.git
|
||||||
Vcs-Browser: http://git.debian.org/git/users/kolter-guest/weechat.git
|
Vcs-Browser: http://git.debian.org/git/users/kolter-guest/weechat.git
|
||||||
DM-Upload-Allowed: yes
|
DM-Upload-Allowed: yes
|
||||||
@@ -31,6 +31,7 @@ Package: weechat-curses
|
|||||||
Architecture: any
|
Architecture: any
|
||||||
Depends: ${misc:Depends}, ${shlibs:Depends}, weechat-core (= ${binary:Version})
|
Depends: ${misc:Depends}, ${shlibs:Depends}, weechat-core (= ${binary:Version})
|
||||||
Conflicts: weechat-common
|
Conflicts: weechat-common
|
||||||
|
Breaks: weechat-scripts (<= 20090221-1)
|
||||||
Recommends: weechat-plugins (= ${binary:Version})
|
Recommends: weechat-plugins (= ${binary:Version})
|
||||||
Description: Fast, light and extensible chat client - console client
|
Description: Fast, light and extensible chat client - console client
|
||||||
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
|
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
|
||||||
@@ -62,7 +63,6 @@ Description: Fast, light and extensible chat client - core files
|
|||||||
Package: weechat-plugins
|
Package: weechat-plugins
|
||||||
Architecture: any
|
Architecture: any
|
||||||
Depends: ${misc:Depends}, ${shlibs:Depends}, weechat-curses (= ${binary:Version})
|
Depends: ${misc:Depends}, ${shlibs:Depends}, weechat-curses (= ${binary:Version})
|
||||||
Breaks: weechat-scripts (<= 20090221-1)
|
|
||||||
Suggests: weechat-scripts (>> 20090221-1)
|
Suggests: weechat-scripts (>> 20090221-1)
|
||||||
Description: Fast, light and extensible chat client - plugins
|
Description: Fast, light and extensible chat client - plugins
|
||||||
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
|
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
|
||||||
|
|||||||
Vendored
+6
-6
@@ -1,12 +1,12 @@
|
|||||||
This package was debianized by FlashCode <flashcode@flashtux.org> on
|
This package was debianized by FlashCode <flashcode@flashtux.org> on
|
||||||
Sat, 21 May 2005 08:00:00 +0200.
|
Sat, 21 May 2005 08:00:00 +0200.
|
||||||
|
|
||||||
It was downloaded from http://www.weechat.org/files/src/
|
It was downloaded from http://weechat.org/files/src/
|
||||||
|
|
||||||
Copyright:
|
Copyright:
|
||||||
Copyright (C) (2003-2009) FlashCode <flashcode@flashtux.org>
|
Copyright (C) (2003-2010) FlashCode <flashcode@flashtux.org>
|
||||||
Copyright (C) (2005-2009) Emmanuel Bouthenot <kolter@openics.org>
|
Copyright (C) (2005-2010) Emmanuel Bouthenot <kolter@openics.org>
|
||||||
Copyright (C) (2008-2009) Dmitry Kobylin <fnfal@academ.tsc.ru> (tcl plugin)
|
Copyright (C) (2008-2010) Dmitry Kobylin <fnfal@academ.tsc.ru> (tcl plugin)
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
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
|
it under the terms of the GNU General Public License as published by
|
||||||
@@ -17,6 +17,6 @@ On Debian systems, the complete text of the GNU General Public
|
|||||||
License, Version 3 can be found in the file
|
License, Version 3 can be found in the file
|
||||||
/usr/share/common-licenses/GPL-3
|
/usr/share/common-licenses/GPL-3
|
||||||
|
|
||||||
Debian packaging (licenced under the GPLv3):
|
Debian packaging (licensed under the GPLv3):
|
||||||
Copyright(C) 2005-2008, Julien Louis <ptitlouis@sysif.net>
|
Copyright(C) 2005-2008, Julien Louis <ptitlouis@sysif.net>
|
||||||
Copyright(C) 2008-2009, Emmanuel Bouthenot <kolter@openics.org>
|
Copyright(C) 2008-2010, Emmanuel Bouthenot <kolter@openics.org>
|
||||||
|
|||||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
|||||||
version=2
|
version=2
|
||||||
http://www.weechat.org/files/src/weechat-(\d.*)\.tar\.bz2
|
http://weechat.org/files/src/weechat-(\d.*)\.tar\.bz2
|
||||||
|
|||||||
Vendored
+13
@@ -0,0 +1,13 @@
|
|||||||
|
Document: weechat-faq-en
|
||||||
|
Title: WeeChat FAQ (English)
|
||||||
|
Author: Sebastien Helleu
|
||||||
|
Abstract: This document answers frequently asked questions
|
||||||
|
about the WeeChat IRC client (English version).
|
||||||
|
Section: Network/Communication
|
||||||
|
|
||||||
|
Format: text
|
||||||
|
Files: /usr/share/doc/weechat-doc/weechat_faq.en.txt.gz
|
||||||
|
|
||||||
|
Format: HTML
|
||||||
|
Index: /usr/share/doc/weechat-doc/weechat_faq.en.html
|
||||||
|
Files: /usr/share/doc/weechat-doc/weechat_faq.en.html
|
||||||
Vendored
+13
@@ -0,0 +1,13 @@
|
|||||||
|
Document: weechat-faq-fr
|
||||||
|
Title: WeeChat FAQ (French)
|
||||||
|
Author: Sebastien Helleu
|
||||||
|
Abstract: This document answers frequently asked questions
|
||||||
|
about the WeeChat IRC client (French version).
|
||||||
|
Section: Network/Communication
|
||||||
|
|
||||||
|
Format: text
|
||||||
|
Files: /usr/share/doc/weechat-doc/weechat_faq.fr.txt.gz
|
||||||
|
|
||||||
|
Format: HTML
|
||||||
|
Index: /usr/share/doc/weechat-doc/weechat_faq.fr.html
|
||||||
|
Files: /usr/share/doc/weechat-doc/weechat_faq.fr.html
|
||||||
Vendored
+10
@@ -0,0 +1,10 @@
|
|||||||
|
Document: weechat-faq-pl
|
||||||
|
Title: WeeChat FAQ (Polish)
|
||||||
|
Author: Sebastien Helleu
|
||||||
|
Abstract: This document answers frequently asked questions
|
||||||
|
about the WeeChat IRC client (Polish version).
|
||||||
|
Section: Network/Communication
|
||||||
|
|
||||||
|
Format: HTML
|
||||||
|
Index: /usr/share/doc/weechat-doc/weechat_faq.pl.html
|
||||||
|
Files: /usr/share/doc/weechat-doc/weechat_faq.pl.html
|
||||||
+10
@@ -0,0 +1,10 @@
|
|||||||
|
Document: weechat-plugin-en
|
||||||
|
Title: WeeChat plugins API (English)
|
||||||
|
Author: Sebastien Helleu
|
||||||
|
Abstract: This document describes the API to create plugins
|
||||||
|
for WeeChat (English version).
|
||||||
|
Section: Network/Communication
|
||||||
|
|
||||||
|
Format: HTML
|
||||||
|
Index: /usr/share/doc/weechat-doc/weechat_plugin_api.en.html
|
||||||
|
Files: /usr/share/doc/weechat-doc/weechat_plugin_api.en.html
|
||||||
+10
@@ -0,0 +1,10 @@
|
|||||||
|
Document: weechat-plugin-fr
|
||||||
|
Title: WeeChat plugins API (French)
|
||||||
|
Author: Sebastien Helleu
|
||||||
|
Abstract: This document describes the API to create plugins
|
||||||
|
for WeeChat (French version).
|
||||||
|
Section: Network/Communication
|
||||||
|
|
||||||
|
Format: HTML
|
||||||
|
Index: /usr/share/doc/weechat-doc/weechat_plugin_api.fr.html
|
||||||
|
Files: /usr/share/doc/weechat-doc/weechat_plugin_api.fr.html
|
||||||
+9
@@ -0,0 +1,9 @@
|
|||||||
|
Document: weechat-quickstart-de
|
||||||
|
Title: WeeChat Quickstart (German)
|
||||||
|
Author: Sebastien Helleu
|
||||||
|
Abstract: A short HowTo for new WeeChat users (German version).
|
||||||
|
Section: Network/Communication
|
||||||
|
|
||||||
|
Format: HTML
|
||||||
|
Index: /usr/share/doc/weechat-doc/weechat_quickstart.de.html
|
||||||
|
Files: /usr/share/doc/weechat-doc/weechat_quickstart.de.html
|
||||||
+12
@@ -0,0 +1,12 @@
|
|||||||
|
Document: weechat-quickstart-en
|
||||||
|
Title: WeeChat Quickstart (English)
|
||||||
|
Author: Sebastien Helleu
|
||||||
|
Abstract: A short HowTo for new WeeChat users (English version).
|
||||||
|
Section: Network/Communication
|
||||||
|
|
||||||
|
Format: text
|
||||||
|
Files: /usr/share/doc/weechat-doc/weechat_quickstart.en.txt.gz
|
||||||
|
|
||||||
|
Format: HTML
|
||||||
|
Index: /usr/share/doc/weechat-doc/weechat_quickstart.en.html
|
||||||
|
Files: /usr/share/doc/weechat-doc/weechat_quickstart.en.html
|
||||||
+12
@@ -0,0 +1,12 @@
|
|||||||
|
Document: weechat-quickstart-fr
|
||||||
|
Title: WeeChat Quickstart (French)
|
||||||
|
Author: Sebastien Helleu
|
||||||
|
Abstract: A short HowTo for new WeeChat users (French version).
|
||||||
|
Section: Network/Communication
|
||||||
|
|
||||||
|
Format: text
|
||||||
|
Files: /usr/share/doc/weechat-doc/weechat_quickstart.fr.txt.gz
|
||||||
|
|
||||||
|
Format: HTML
|
||||||
|
Index: /usr/share/doc/weechat-doc/weechat_quickstart.fr.html
|
||||||
|
Files: /usr/share/doc/weechat-doc/weechat_quickstart.fr.html
|
||||||
+9
@@ -0,0 +1,9 @@
|
|||||||
|
Document: weechat-quickstart-pl
|
||||||
|
Title: WeeChat Quickstart (Polish)
|
||||||
|
Author: Sebastien Helleu
|
||||||
|
Abstract: A short HowTo for new WeeChat users (Polish version).
|
||||||
|
Section: Network/Communication
|
||||||
|
|
||||||
|
Format: HTML
|
||||||
|
Index: /usr/share/doc/weechat-doc/weechat_quickstart.pl.html
|
||||||
|
Files: /usr/share/doc/weechat-doc/weechat_quickstart.pl.html
|
||||||
+9
@@ -0,0 +1,9 @@
|
|||||||
|
Document: weechat-quickstart-ru
|
||||||
|
Title: WeeChat Quickstart (Russian)
|
||||||
|
Author: Sebastien Helleu
|
||||||
|
Abstract: A short HowTo for new WeeChat users (Russian version).
|
||||||
|
Section: Network/Communication
|
||||||
|
|
||||||
|
Format: HTML
|
||||||
|
Index: /usr/share/doc/weechat-doc/weechat_quickstart.ru.html
|
||||||
|
Files: /usr/share/doc/weechat-doc/weechat_quickstart.ru.html
|
||||||
+10
@@ -0,0 +1,10 @@
|
|||||||
|
Document: weechat-scripting-en
|
||||||
|
Title: WeeChat Scripting Guide (English)
|
||||||
|
Author: Sebastien Helleu
|
||||||
|
Abstract: This document describes the API to create scripts
|
||||||
|
for WeeChat (English version).
|
||||||
|
Section: Network/Communication
|
||||||
|
|
||||||
|
Format: HTML
|
||||||
|
Index: /usr/share/doc/weechat-doc/weechat_scripting.en.html
|
||||||
|
Files: /usr/share/doc/weechat-doc/weechat_scripting.en.html
|
||||||
+10
@@ -0,0 +1,10 @@
|
|||||||
|
Document: weechat-scripting-fr
|
||||||
|
Title: WeeChat Scripting Guide (French)
|
||||||
|
Author: Sebastien Helleu
|
||||||
|
Abstract: This document describes the API to create scripts
|
||||||
|
for WeeChat (French version).
|
||||||
|
Section: Network/Communication
|
||||||
|
|
||||||
|
Format: HTML
|
||||||
|
Index: /usr/share/doc/weechat-doc/weechat_scripting.fr.html
|
||||||
|
Files: /usr/share/doc/weechat-doc/weechat_scripting.fr.html
|
||||||
+13
@@ -0,0 +1,13 @@
|
|||||||
|
Document: weechat-tester-en
|
||||||
|
Title: WeeChat Tester's Guide (English)
|
||||||
|
Author: Sebastien Helleu
|
||||||
|
Abstract: This document describes how to test and report
|
||||||
|
bugs against the WeeChat IRC Client (English version).
|
||||||
|
Section: Network/Communication
|
||||||
|
|
||||||
|
Format: text
|
||||||
|
Files: /usr/share/doc/weechat-doc/weechat_tester.en.txt.gz
|
||||||
|
|
||||||
|
Format: HTML
|
||||||
|
Index: /usr/share/doc/weechat-doc/weechat_tester.en.html
|
||||||
|
Files: /usr/share/doc/weechat-doc/weechat_tester.en.html
|
||||||
+13
@@ -0,0 +1,13 @@
|
|||||||
|
Document: weechat-tester-fr
|
||||||
|
Title: WeeChat Tester's Guide (French)
|
||||||
|
Author: Sebastien Helleu
|
||||||
|
Abstract: This document describes how to test and report
|
||||||
|
bugs against the WeeChat IRC Client (French version).
|
||||||
|
Section: Network/Communication
|
||||||
|
|
||||||
|
Format: text
|
||||||
|
Files: /usr/share/doc/weechat-doc/weechat_tester.fr.txt.gz
|
||||||
|
|
||||||
|
Format: HTML
|
||||||
|
Index: /usr/share/doc/weechat-doc/weechat_tester.fr.html
|
||||||
|
Files: /usr/share/doc/weechat-doc/weechat_tester.fr.html
|
||||||
+10
@@ -0,0 +1,10 @@
|
|||||||
|
Document: weechat-tester-pl
|
||||||
|
Title: WeeChat Tester's Guide (Polish)
|
||||||
|
Author: Sebastien Helleu
|
||||||
|
Abstract: This document describes how to test and report
|
||||||
|
bugs against the WeeChat IRC Client (Polish version).
|
||||||
|
Section: Network/Communication
|
||||||
|
|
||||||
|
Format: HTML
|
||||||
|
Index: /usr/share/doc/weechat-doc/weechat_tester.pl.html
|
||||||
|
Files: /usr/share/doc/weechat-doc/weechat_tester.pl.html
|
||||||
Vendored
+10
@@ -0,0 +1,10 @@
|
|||||||
|
Document: weechat-user-en
|
||||||
|
Title: WeeChat User's Guide (English)
|
||||||
|
Author: Sebastien Helleu
|
||||||
|
Abstract: This manual describes how to use the WeeChat
|
||||||
|
IRC client (English version).
|
||||||
|
Section: Network/Communication
|
||||||
|
|
||||||
|
Format: HTML
|
||||||
|
Index: /usr/share/doc/weechat-doc/weechat_user.en.html
|
||||||
|
Files: /usr/share/doc/weechat-doc/weechat_user.en.html
|
||||||
Vendored
+10
@@ -0,0 +1,10 @@
|
|||||||
|
Document: weechat-user-fr
|
||||||
|
Title: WeeChat User's Guide (French)
|
||||||
|
Author: Sebastien Helleu
|
||||||
|
Abstract: This manual describes how to use the WeeChat
|
||||||
|
IRC client (French version).
|
||||||
|
Section: Network/Communication
|
||||||
|
|
||||||
|
Format: HTML
|
||||||
|
Index: /usr/share/doc/weechat-doc/weechat_user.fr.html
|
||||||
|
Files: /usr/share/doc/weechat-doc/weechat_user.fr.html
|
||||||
Vendored
+1
-1
@@ -1 +1 @@
|
|||||||
usr/share/doc/weechat usr/share/doc/weechat-doc
|
usr/share/doc/weechat/* usr/share/doc/weechat-doc
|
||||||
|
|||||||
+5
-2
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (c) 2003-2009 FlashCode <flashcode@flashtux.org>
|
# Copyright (c) 2003-2010 by FlashCode <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# 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
|
# it under the terms of the GNU General Public License as published by
|
||||||
@@ -23,8 +23,11 @@ IF(NOT DISABLE_DOC)
|
|||||||
ADD_SUBDIRECTORY( fr )
|
ADD_SUBDIRECTORY( fr )
|
||||||
ADD_SUBDIRECTORY( pl )
|
ADD_SUBDIRECTORY( pl )
|
||||||
ADD_SUBDIRECTORY( de )
|
ADD_SUBDIRECTORY( de )
|
||||||
|
ADD_SUBDIRECTORY( ru )
|
||||||
|
ADD_SUBDIRECTORY( ja )
|
||||||
|
ADD_SUBDIRECTORY( it )
|
||||||
ENDIF(ASCIIDOC_FOUND AND SOURCEHIGHLIGHT_FOUND)
|
ENDIF(ASCIIDOC_FOUND AND SOURCEHIGHLIGHT_FOUND)
|
||||||
|
|
||||||
ENDIF(NOT DISABLE_DOC)
|
ENDIF(NOT DISABLE_DOC)
|
||||||
|
|
||||||
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/weechat-curses.1 DESTINATION share/man/man1)
|
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/weechat-curses.1 DESTINATION ${SHAREDIR}/man/man1)
|
||||||
|
|||||||
+2
-2
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (c) 2003-2009 FlashCode <flashcode@flashtux.org>
|
# Copyright (c) 2003-2010 by FlashCode <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# 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
|
# it under the terms of the GNU General Public License as published by
|
||||||
@@ -14,7 +14,7 @@
|
|||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#
|
#
|
||||||
|
|
||||||
SUBDIRS = . en fr pl de
|
SUBDIRS = . en fr pl de ru ja it
|
||||||
|
|
||||||
man_MANS = weechat-curses.1
|
man_MANS = weechat-curses.1
|
||||||
|
|
||||||
|
|||||||
+25
-3
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (c) 2003-2009 FlashCode <flashcode@flashtux.org>
|
# Copyright (c) 2003-2010 by FlashCode <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# 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
|
# it under the terms of the GNU General Public License as published by
|
||||||
@@ -14,13 +14,35 @@
|
|||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#
|
#
|
||||||
|
|
||||||
|
# FAQ
|
||||||
|
ADD_CUSTOM_COMMAND(
|
||||||
|
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.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_faq.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.de.txt
|
||||||
|
DEPENDS
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.de.txt
|
||||||
|
COMMENT "Building weechat_faq.de.html"
|
||||||
|
)
|
||||||
|
ADD_CUSTOM_TARGET(doc-faq-de ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.de.html)
|
||||||
|
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.de.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
|
||||||
|
|
||||||
# quickstart
|
# quickstart
|
||||||
ADD_CUSTOM_COMMAND(
|
ADD_CUSTOM_COMMAND(
|
||||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.de.html
|
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
|
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
|
DEPENDS
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.de.txt
|
${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.de.txt
|
||||||
COMMENT "Building weechat_quickstart.de.html"
|
COMMENT "Building weechat_quickstart.de.html"
|
||||||
)
|
)
|
||||||
ADD_CUSTOM_TARGET(doc-quickstart-de ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/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})
|
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.de.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
|
||||||
|
|
||||||
|
# tester's guide
|
||||||
|
ADD_CUSTOM_COMMAND(
|
||||||
|
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.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_tester.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.de.txt
|
||||||
|
DEPENDS
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.de.txt
|
||||||
|
COMMENT "Building weechat_tester.de.html"
|
||||||
|
)
|
||||||
|
ADD_CUSTOM_TARGET(doc-tester-de ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.de.html)
|
||||||
|
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.de.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
|
||||||
|
|||||||
+16
-4
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (c) 2003-2009 FlashCode <flashcode@flashtux.org>
|
# Copyright (c) 2003-2010 by FlashCode <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# 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
|
# it under the terms of the GNU General Public License as published by
|
||||||
@@ -17,13 +17,25 @@
|
|||||||
docdir = $(datadir)/doc/$(PACKAGE)
|
docdir = $(datadir)/doc/$(PACKAGE)
|
||||||
|
|
||||||
EXTRA_DIST = CMakeLists.txt \
|
EXTRA_DIST = CMakeLists.txt \
|
||||||
weechat_quickstart.de.txt
|
weechat_faq.de.txt \
|
||||||
|
weechat_quickstart.de.txt \
|
||||||
|
weechat_tester.de.txt
|
||||||
|
|
||||||
all-local: weechat_quickstart.de.html
|
all-local: weechat_faq.de.html \
|
||||||
|
weechat_quickstart.de.html \
|
||||||
|
weechat_tester.de.html
|
||||||
|
|
||||||
|
# FAQ
|
||||||
|
weechat_faq.de.html: weechat_faq.de.txt
|
||||||
|
$(ASCIIDOC) -a toc -a toc-title='Inhaltsverzeichnis' -a date=`date "+%F"` -a revision="$(VERSION)" -n -o weechat_faq.de.html weechat_faq.de.txt
|
||||||
|
|
||||||
# quickstart
|
# quickstart
|
||||||
weechat_quickstart.de.html: weechat_quickstart.de.txt
|
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
|
$(ASCIIDOC) -a toc -a toc-title='Inhaltsverzeichnis' -a date=`date "+%F"` -a revision="$(VERSION)" -n -o weechat_quickstart.de.html weechat_quickstart.de.txt
|
||||||
|
|
||||||
|
# tester's guide
|
||||||
|
weechat_tester.de.html: weechat_tester.de.txt
|
||||||
|
$(ASCIIDOC) -a toc -a toc-title='Inhaltsverzeichnis' -a date=`date "+%F"` -a revision="$(VERSION)" -n -o weechat_tester.de.html weechat_tester.de.txt
|
||||||
|
|
||||||
# install docs
|
# install docs
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,378 @@
|
|||||||
|
WeeChat FAQ (Frequently Asked Questions)
|
||||||
|
========================================
|
||||||
|
FlashCode <flashcode@flashtux.org>
|
||||||
|
|
||||||
|
|
||||||
|
Allgemein
|
||||||
|
---------
|
||||||
|
|
||||||
|
|
||||||
|
[[why_choose_weechat]]
|
||||||
|
Weshalb WeeChat? - X-Chat und Irssi sind sehr gut...
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
Weil WeeChat schlank ist und neue Funktionen besitzt.
|
||||||
|
Einige Funktionen (Version > = 0.3.x):
|
||||||
|
|
||||||
|
* Unterstützung mehrerer Protokolle durch Erweiterungen (IRC, Jabber)
|
||||||
|
* mehrere Remote GUIs als Ergänzung zu Curses (in Kürze)
|
||||||
|
* in mehreren Sprachen verfügbar
|
||||||
|
* Erweiterungsfähig durch Erweiterungen (C, Perl, Python, Ruby, Lua, Tcl)
|
||||||
|
* Buffer mit unabhängigem Inhalt
|
||||||
|
* Filterung der Anzeige mittels Tags und regulären Ausdrücken
|
||||||
|
* horizontale und vertikale Teilung der Fenster
|
||||||
|
* anpass- und erweiterbare Leisten
|
||||||
|
* Nickliste in allen GUI's verfügbar
|
||||||
|
* inkrementelle Textsuche in Buffern, zu Highlights springen
|
||||||
|
* FIFO Pipe für Fernsteuerung
|
||||||
|
* Unterstützung für Aspell
|
||||||
|
* Doppelter Zeichensatz (Kodierung/Dekodierung)
|
||||||
|
* Neuentwicklung (basiert auf keinem anderem Programm)
|
||||||
|
* Lauffähig auf einer Vielzahl von Plattformen
|
||||||
|
* 100% GPL und Frei
|
||||||
|
|
||||||
|
Weitere Informationen gibt es auf der folgenden Internetseite:
|
||||||
|
http://www.weechat.org/features
|
||||||
|
|
||||||
|
|
||||||
|
Kompilierung / Installation
|
||||||
|
---------------------------
|
||||||
|
|
||||||
|
|
||||||
|
[[gui]]
|
||||||
|
Ich habe gehört, es gibt mehrere GUIs für WeeChat. Wie kann ich diese kompilieren bzw nutzen?
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
Zur Zeit ist nur die GUI für Curses verfügbar.
|
||||||
|
|
||||||
|
Andere GUIs (zur Zeit in der Entwicklung) werden als Remote Clients verfügbar
|
||||||
|
sein.
|
||||||
|
|
||||||
|
|
||||||
|
[[compile_git]]
|
||||||
|
Ich kann WeeChat nach Cloning des git Repository nicht kompilieren - warum?
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
Der empfohlene Weg WeeChat zu komilieren ist die Nutzung von cmake.
|
||||||
|
|
||||||
|
Falls Du mit Hilfe der autotools kompilierst (also nicht cmake), stelle sicher,
|
||||||
|
dass Du die neueste Version von autoconf und automake besitzt (WeeChat wird mit
|
||||||
|
autoconf 2.61 und automake 1.10.1 entwickelt).
|
||||||
|
|
||||||
|
Der andere Weg ist, das "Entwickler-Paket" zu installieren, dieses hat weniger
|
||||||
|
Abhängigkeiten. Dieses Paket wird quasi täglich aus dem git Repository erstellt.
|
||||||
|
Beachte, dass dieses Paket nicht immer exakt mit dem git Repository übereinstimmt
|
||||||
|
und daher auch weniger brauchbar sein kann als wenn man selbst das Repository
|
||||||
|
klont und daraus Updates installiert.
|
||||||
|
|
||||||
|
|
||||||
|
WeeChat anwenden
|
||||||
|
----------------
|
||||||
|
|
||||||
|
|
||||||
|
[[lost]]
|
||||||
|
Ich habe WeeChat gestartet, komme aber nicht mehr weiter - was kann ich tun?
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
Um Hilfe zu erhalten, gebe `/help` ein. Hilfe zu einem Befehl erhälst Du durch
|
||||||
|
die Eingabe von: `help Befehlsname`.
|
||||||
|
Befehle sowie die Belegung der jeweiligen Tasten sind in der Dokumentation
|
||||||
|
aufgeführt.
|
||||||
|
FIXME: (Tip: Mit den Tasten <Bild-hoch>/<Bild-runter> kannst Du die Anzeige
|
||||||
|
scrollen)
|
||||||
|
|
||||||
|
Neue Benutzer sollten unbedingt die 'quickstart'-Anleitung lesen (siehe
|
||||||
|
Dokumentation auf der Internetseite).
|
||||||
|
|
||||||
|
|
||||||
|
[[buffer_vs_window]]
|
||||||
|
Ich habe von "Buffern" und "Fenstern" gehört - was ist der Unterschied?
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
Ein 'Buffer' besteht aus einer Nummer, einem Namen, anzuzeigenden Zeilen (und
|
||||||
|
anderen Daten)
|
||||||
|
|
||||||
|
Ein 'Fenster' ist ein Bildschirmbereich der Buffer darstellt. Es ist möglich
|
||||||
|
den Bildschirm in mehrere Fenster aufzuteilen.
|
||||||
|
|
||||||
|
Jedes Fenster stellt einen Buffer dar. Ein Buffer kann unsichtbar sein (er wird
|
||||||
|
nicht durch ein Fenster angezeigt), oder durch ein sowie mehrere Fenster
|
||||||
|
angezeigt werden.
|
||||||
|
|
||||||
|
|
||||||
|
[[charset]]
|
||||||
|
Teilweise fehlen bei Zeichen die Akzente, was kann ich tun?
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
Dies ist ein bekanntes Problem, bitte lese nachfolgendes sorgfältig und
|
||||||
|
prüfe *alle* aufgezeigten Lösungsmöglichkeiten.
|
||||||
|
|
||||||
|
Für Versionen < 0.2.3, bitte auf die neueste stabile Version upgraden.
|
||||||
|
|
||||||
|
Für Versionen > = 0.2.3:
|
||||||
|
|
||||||
|
* prüfe, dass weechat-curses mit libncursesw gelinkt ist (Warnung: nötig bei den
|
||||||
|
meißten Distributionen - jedoch nicht bei allen):
|
||||||
|
`ldd /path/to/weechat-curses`
|
||||||
|
* prüfe mit dem Befehl `/plugin`, dass die "Charset" Erweiterung geladen ist (falls
|
||||||
|
nicht, benötigst Du wahrscheinlich noch das Paket "weechat-plugins")
|
||||||
|
* prüfe die Ausgabe des Befehls /charset (auf dem Server-Buffer). Du solltest
|
||||||
|
'ISO-XXXXXX' oder 'UTF-8' für den Terminal Zeichensatz sehen. Falls Du
|
||||||
|
'ANSI_X3.4-1968' oder andere Werte siehst, ist Deine Einstellung der locale
|
||||||
|
möglicherweise falsch.
|
||||||
|
* setzen des globalen decode Wertes, z.B.:
|
||||||
|
** WeeChat < = 0.2.6: `/setp charset.global.decode = ISO-8859-15`
|
||||||
|
** WeeChat > = 0.3.x: `/set charset.default.decode "ISO-8859-15"`
|
||||||
|
* Falls Du UTF-8 locale nutzt:
|
||||||
|
** prüfe, ob Dein Terminal UTF-8 fähig ist (der empfohlene Terminal für UTF-8
|
||||||
|
ist rxvt-unicode)
|
||||||
|
** Solltest Du screen nutzten, prüfe ob er im UTF-8 Modus läuft
|
||||||
|
("`defutf8 on`" in der Datei ~/.screenrc oder `screen -U` zum Sarten von
|
||||||
|
screen)
|
||||||
|
|
||||||
|
[NOTE]
|
||||||
|
Die Nutzung der UTF-8 locale wird für WeeChat empfohlen. Nutzt Du jedoch ISO
|
||||||
|
oder andere locale, bitte vergewissere Dich dann, dass *alle* Deine
|
||||||
|
Einstellungen (Terminal, screen, ...) sich auch auf ISO beziehen und *nicht* auf
|
||||||
|
UTF-8.
|
||||||
|
|
||||||
|
|
||||||
|
[[bars_background]]
|
||||||
|
Leisten, z.B. Titel und Status sind nicht ausgefüllt, die Hintergrundfarbe endet direkt nach dem Text, warum?
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
Dies kann durch einen falschen Wert der Variablen TERM Deiner Shell verursacht
|
||||||
|
werden (schaue Dir die Ausgabe von `echo $TERM` in Deinem Terminal an).
|
||||||
|
|
||||||
|
Abhängig davon wo Du WeeChat startest, solltest Du folgenden Wert haben:
|
||||||
|
|
||||||
|
* falls WeeChat lokal oder auf einem entfernten Rechner läuft, je nach benutztem
|
||||||
|
Terminal: 'xterm', 'rxvt', ...
|
||||||
|
* falls WeeChat unter screen läuft, sollte der Wert 'screen' sein.
|
||||||
|
|
||||||
|
Wenn nötig korrigiere den Wert Deiner Variablen TERM: `export TERM="xxx"`.
|
||||||
|
|
||||||
|
|
||||||
|
[[screen_weird_chars]]
|
||||||
|
Wenn ich Weechat unter screen nutze, habe ich merkwürdige Zeichen, wie kann ich dies beheben?
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
Dies kann durch einen falschen Wert der Variablen TERM Deiner Shell verursacht
|
||||||
|
werden (schaue Dir die Ausgabe von `echo $TERM` in Deinem Terminal an).
|
||||||
|
|
||||||
|
Als Beispiel, 'xterm-color' könnte solche merkwürdigen Zeichen produzieren,
|
||||||
|
nutzte stattdessen 'xterm' - die ist ok (wie mehrer andere Werte).
|
||||||
|
|
||||||
|
Wenn nötig korrigiere den Wert Deiner Variablen TERM: `export TERM="xxx"`.
|
||||||
|
|
||||||
|
|
||||||
|
[[key_bindings]]
|
||||||
|
Wie kann ich die Tastaturbelegung anpassen?
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
Die Tasten werden mit dem Befehl /key belegt.
|
||||||
|
|
||||||
|
Per Voreinstellung kannst Du mit der Tastenkombination Meta-k (normal Alt-k) den
|
||||||
|
Code der jeweiligen Taste herausfinden und in die Eingabezeile einfügen.
|
||||||
|
|
||||||
|
|
||||||
|
[[openbsd_plugins]]
|
||||||
|
Ich benutze BSD, und WeeChat lädt keine Erweiterungen - warum?
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
Unter BSD Enden die Dateinamen der Erweiterungen mit ".so.0.0" (".so" bei Linux).
|
||||||
|
|
||||||
|
Um dies zu beheben muss folgendes konfiguriert werden:
|
||||||
|
|
||||||
|
* WeeChat < = 0.2.6: +
|
||||||
|
`/set plugins_extension = ".so.0.0"`
|
||||||
|
* WeeChat > = 0.3.x: +
|
||||||
|
`/set weechat.plugin.extension ".so.0.0"`
|
||||||
|
|
||||||
|
Danach: `/plugin autoload`.
|
||||||
|
|
||||||
|
|
||||||
|
[[scripts]]
|
||||||
|
Wie kann ich Perl/Python/Ruby/Lua/Tcl Skripten laden? Sind Skripten kompatibel zu anderen IRC-Clients?
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
Benutze die Befehle: `/perl`, `/python`, `/ruby`, `/lua` und `/tcl` um Skripten
|
||||||
|
zu laden (Voreingestellter Pfad zu den Skripten: '~/.weechat/<Skriptsprache>/').
|
||||||
|
|
||||||
|
Die Skripten sind mit den anderer IRC-Clients nicht kompatibel.
|
||||||
|
|
||||||
|
Anmerkung:
|
||||||
|
|
||||||
|
* Skripten, die sich unter '~/.weechat/<Skriptsprache>/autoload/' befinden, werden
|
||||||
|
beim Start von WeeChat automatisch geladen.
|
||||||
|
* Eine 'tcl' Erweiterung ist ab version > = 0.3.x verfügbar.
|
||||||
|
|
||||||
|
|
||||||
|
[[change_locale_without_quit]]
|
||||||
|
Ich möchte die Sprache der Meldungen, die WeeChat ausgibt, ändern ohne WeeChat zu verlassen. Ist dies möglich?
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
Ja, dazu kannst Du das Python-Skript shell.py verwenden (erhältlich auf der
|
||||||
|
Internetseite). Nach dem laden des Skripts führe folgende Befehle aus:
|
||||||
|
|
||||||
|
/shell setenv LANG=en_US.UTF-8
|
||||||
|
/upgrade
|
||||||
|
|
||||||
|
Hierdurch erhält man für das Terminal englische, UTF-8 kodierte Meldungen.
|
||||||
|
Benutzer von ISO-Kodierungen können folgendes eingeben:
|
||||||
|
`/shell setenv LANG=en_US`.
|
||||||
|
|
||||||
|
|
||||||
|
[[terminal_copy_paste]]
|
||||||
|
Wie kann ich einen Text kopieren und einfügen ohne das die Nickliste auch eingefügt wird?
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
Du kannst hierzu ein Terminal nutzen, welches Block-Selektierung erlaubt
|
||||||
|
(wie rxvt-unicode, konsole, gnome-terminal, ...). Im Normalfall erfolgt diese
|
||||||
|
mittels der Tasten ctrl + alt in Verbindung mit der Auswahl durch die Maus.
|
||||||
|
|
||||||
|
Eine andere Lösung ist, die Nickliste nach oben oder unten zu verschieben, z.B.:
|
||||||
|
|
||||||
|
* WeeChat < = 0.2.6: +
|
||||||
|
`set look_nicklist_position = top`
|
||||||
|
* WeeChat > = 0.3.x: +
|
||||||
|
`/bar set nicklist position top`
|
||||||
|
|
||||||
|
|
||||||
|
[[urls]]
|
||||||
|
Wie kann ich eine URL aufrufen, die einen Zeilenumbruch besitzt?
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
Da WeeChat sowohl die Uhrzeit als auch einen Präfix für jede Zeile darstellt und
|
||||||
|
man optional auch noch Bars nutzen kann, die das Chatfenster zusätzlich
|
||||||
|
verkleinern, kann es passieren das sehr lange URLs abgeschnitten und nicht mehr
|
||||||
|
aufgerufen werden können.
|
||||||
|
|
||||||
|
Deshalb sollte man eines der folgenden Skripten nutzen:
|
||||||
|
|
||||||
|
urlbar.py::
|
||||||
|
stellt die URL in einer Bar dar.
|
||||||
|
|
||||||
|
urlgrab.py::
|
||||||
|
protokolliert URLs und öffnet diese im Standardbrowser.
|
||||||
|
|
||||||
|
url_shorten.rb::
|
||||||
|
tinyurl.py::
|
||||||
|
shortenurl.py::
|
||||||
|
URLs werden durch einen Internet-Dienst gekürzt.
|
||||||
|
|
||||||
|
Liste der Skripten die sich mit URLs befassen: http://www.weechat.org/scripts/stable/tag/url
|
||||||
|
|
||||||
|
|
||||||
|
[[highlight_notification]]
|
||||||
|
Wie kann ich informiert werden, wenn jemand in einem Channel highlightet
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
((A.d.Ü) highlight bedeutet, dass der eigene Nick z.B. im Channel genannt wird,
|
||||||
|
der Nick dessen der ihn schrieb wird farblich hervorgehoben)
|
||||||
|
|
||||||
|
Abhängig der WeeChat Version:
|
||||||
|
|
||||||
|
* WeeChat < = 0.2.6: nutze das Skript 'sound.pl' (verfügbar auf der Skript-Site),
|
||||||
|
und nehme Einstellungen für einen System-Befehl (um einen Klang zu spielen,
|
||||||
|
eine Meldung anzuzeigen, ...) mit folgendem Befehl vor: +
|
||||||
|
`/setp perl.sound.cmd_highlight = "/path/to/command arguments"`
|
||||||
|
* WeeChat > = 0.3.x: nutze das Skript 'launcher.pl' (verfügbar auf der Skript-Site),
|
||||||
|
und nehme Einstellungen für einen System-Befehl (um einen Klang zu spielen,
|
||||||
|
eine Meldung anzuzeigen, ...) mit folgendem Befehl vor: +
|
||||||
|
`/set plugins.var.perl.launcher.signal.weechat_highlight "/path/to/command arguments"`
|
||||||
|
|
||||||
|
Es gibt noch andere Skripten, die über solche Ereignisse informieren , bitte
|
||||||
|
besuche dazu die Skripten-Webseite: http://www.weechat.org/scripts/
|
||||||
|
|
||||||
|
|
||||||
|
[[filter_irc_join_part_quit]]
|
||||||
|
Wie kann ich join/part/quit Meldungen der IRC Channels filtern (A.d.ü.: unterdrücken)?
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
Entsprechend der WeeChat-Version:
|
||||||
|
|
||||||
|
* WeeChat < = 0.2.6: +
|
||||||
|
`/ignore * join #weechat freenode` +
|
||||||
|
`/ignore * part #weechat freenode` +
|
||||||
|
`/ignore * quit #weechat freenode` +
|
||||||
|
(Channel und/oder Server können durch "*" ersetzt werden, Hilfe mit: `/help ignore`)
|
||||||
|
|
||||||
|
* WeeChat > = 0.3.x:
|
||||||
|
|
||||||
|
** Intelligenter Filter (erhalte join/part/quit der User, mit denen Du kürzlich gesprochen hast): +
|
||||||
|
`/set irc.look.smart_filter on` +
|
||||||
|
`/filter add irc_smart * irc_smart_filter *` +
|
||||||
|
(Hilfe mit: `/help irc.look.smart_filter` und `/help filter`)
|
||||||
|
|
||||||
|
** globaler Filter (unterdrückt *alle* join/part/quit): +
|
||||||
|
`/filter add jpk * irc_join,irc_part,irc_quit *` +
|
||||||
|
(Hilfe mit: `/help filter`)
|
||||||
|
|
||||||
|
[[ignore_vs_filter]]
|
||||||
|
Was ist der Unterschied zwischen den Befehlen /ignore und /filter?
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
Der Befehl `/ignore` ist ein IRC-Befehl und beeinflußt somit nur die IRC-Buffer
|
||||||
|
(Server und Channel).
|
||||||
|
Durch den Befehl kann man bestimmte Nicks oder Hostnamen von Usern eines Servers oder
|
||||||
|
Channels ignorieren (Der Befehl wird nicht auf den Inhalt der Meldung angewandt).
|
||||||
|
Passende Meldungen werden von dem IRC-Plugin vor der Anzeige gelöscht (Du wirst
|
||||||
|
sie niemals zu Gesicht bekommen).
|
||||||
|
|
||||||
|
Der Befehl `/filter` ist ein Kern-Befehl (A.d.Ü.: wird in WeeChat ausgeführt und
|
||||||
|
nicht an den Server gesendet) und beeinflußt somit jeden Buffer.
|
||||||
|
Dieser Befehl eröffnet die Möglichkeit bestimmte Zeilen in Buffern, mittels Tags und
|
||||||
|
regulären Ausdrücken nach Präfix und Zeileninhalt zu filtern.
|
||||||
|
Gefilterte Zeilen werden nur unsichtbar - nicht gelöscht. Sehen kannst Du sie
|
||||||
|
wenn Du den Filter deaktivierst (Voreinstellung zum Aktivieren/Deaktivieren der
|
||||||
|
Filter: Alt-Taste + "=").
|
||||||
|
|
||||||
|
|
||||||
|
Entwicklung
|
||||||
|
-----------
|
||||||
|
|
||||||
|
|
||||||
|
[[bug_task_patch]]
|
||||||
|
Was mache ich um Fehler zu melden, nach neuen Funktionen zu fragen oder Patches einzusenden?
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
Es gibt drei Möglichkeiten:
|
||||||
|
|
||||||
|
. Du kannst zu uns in den IRC kommen: 'irc.freenode.net', channel '#weechat'
|
||||||
|
. Du kannst die Internetseite savannah nutzen:
|
||||||
|
* Fehler melden: https://savannah.nongnu.org/bugs/?group=weechat
|
||||||
|
* Nach einer neuen Funktion fragen: https://savannah.nongnu.org/task/?group=weechat
|
||||||
|
* Patch senden: https://savannah.nongnu.org/patch/?group=weechat
|
||||||
|
. Du kannst den Entwicklern mailen, entsprechende Mail-Adressen auf der Supportseite:
|
||||||
|
http://www.weechat.org/about
|
||||||
|
(Um emails an die "support" Mailing-Liste zu schicken, kannst Du diese abonnieren)
|
||||||
|
|
||||||
|
|
||||||
|
[[supported_os]]
|
||||||
|
Auf welchen Plattformen läuft WeeChat? Wird es noch auf anderen Betriebssystemen portiert?
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
Die gesamte Liste gibt es unter: http://www.weechat.org/download
|
||||||
|
|
||||||
|
Wir geben unser Bestes um WeeChat auf möglichst vielen Plattformen lauffähig zu
|
||||||
|
machen. Um WeeChat auf Betriebssystemen zu testen, zu denen wir keinen Zugang
|
||||||
|
haben, ist Hilfe willkommenen.
|
||||||
|
|
||||||
|
|
||||||
|
[[help_developers]]
|
||||||
|
Ich möchte den Entwicklern von WeeChat helfen. Was kann ich tun?
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
Es gibt einiges zu tun z.B. Testen, Programmieren, Dokumentation, ...
|
||||||
|
|
||||||
|
Bitte kontaktiere uns via IRC oder email, schaue auf die Support-Seite:
|
||||||
|
http://www.weechat.org/about
|
||||||
|
|
||||||
|
|
||||||
|
[[donate]]
|
||||||
|
Kann ich Geld oder Anderes an die Entwickler von WeeChat spenden?
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
Du kannst uns Geld zur Unterstützung der weitern Entwicklung spenden.
|
||||||
|
Details hierzu gibt es auf: http://www.weechat.org/donate
|
||||||
@@ -246,7 +246,7 @@ Befehl `/plugin` geladen werden und verfügen ihrerseits über Befehle wie z.B.
|
|||||||
`/perl` um Scripte zu laden.
|
`/perl` um Scripte zu laden.
|
||||||
|
|
||||||
Viele externe Plugins/Scripte (der Mitarbeitenden) sind für WeeChat verfügbar,
|
Viele externe Plugins/Scripte (der Mitarbeitenden) sind für WeeChat verfügbar,
|
||||||
siehe: http://www.weechat.org/plugins
|
siehe: http://www.weechat.org/scripts
|
||||||
|
|
||||||
Der einfachste Weg um Scripte zu installieren ist die verwendung von 'weeget.py':
|
Der einfachste Weg um Scripte zu installieren ist die verwendung von 'weeget.py':
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,146 @@
|
|||||||
|
WeeChat Tester's Guide
|
||||||
|
======================
|
||||||
|
FlashCode <flashcode@flashtux.org>
|
||||||
|
|
||||||
|
|
||||||
|
[[purpose]]
|
||||||
|
Intention
|
||||||
|
---------
|
||||||
|
|
||||||
|
Viele dankbare Anwender fragen uns wie sie bei der Entwicklung von WeeChat
|
||||||
|
helfen können. Der einfachste (aber auch der kniffligste) Weg uns zu helfen ist:
|
||||||
|
Testen!
|
||||||
|
|
||||||
|
Testen ist ein sehr wichtiger Teil der Programmentwicklung und sollte daher
|
||||||
|
nicht unterbewertet werden. Wenn neue Features implementiert wurden, sollten sie
|
||||||
|
getestet werden. Für einige Features gibt es aber zu viele Möglichkeiten - oder
|
||||||
|
diese Möglichkeiten sind komplex und die Entwickler können nicht jede Variante
|
||||||
|
ausprobieren.
|
||||||
|
|
||||||
|
Ein Beispiel: Ein berüchtigtes Zeichensatz-Plugin wurde in WeeChat 0.2.2
|
||||||
|
eingeführt: Keiner von uns (Entwickler, Mithelfende und Tester) nutzen Channels
|
||||||
|
in den länderspezifische Zeichen in den Namen vorkamen, und als 0.2.2
|
||||||
|
freigegeben wurde, wurden wir überschwemmt von russischen Usern, die uns dies
|
||||||
|
vorwarfen. Hätten wir mehr Tester, dann sollte so etwas nicht mehr passieren.
|
||||||
|
|
||||||
|
Eine stabile Version von WeeChat zu testen ist nutzlos, da die Entwickler
|
||||||
|
die ganze Zeit fleißig neues Zeug implementieren (und alte Bugs fixen).
|
||||||
|
|
||||||
|
|
||||||
|
[[prepare_system]]
|
||||||
|
Bereite Dein System vor
|
||||||
|
-----------------------
|
||||||
|
|
||||||
|
Sehr helfen würde uns, wenn Du Linuxs 'core' Dateien aktivieren würdest: wenn
|
||||||
|
WeeChat crasht wird Linux eine Datei Namens 'core' erzeugen. Diese Datei
|
||||||
|
beinhaltet viele nützliche Debug-Informationen um das genaue Problem in WeeChat
|
||||||
|
zu lokalisieren.
|
||||||
|
|
||||||
|
Falls Du die 'bash' als shell benutzt, ergänze Deine `~/.bashrc` mit folgender
|
||||||
|
Zeile:
|
||||||
|
|
||||||
|
ulimit -c unlimited
|
||||||
|
|
||||||
|
|
||||||
|
[[download]]
|
||||||
|
Besorge Dir die Entwickler-Version
|
||||||
|
----------------------------------
|
||||||
|
|
||||||
|
Frischer Code (mit den letzten Bugs und Features) ist im GIT Repository
|
||||||
|
gespeichert.
|
||||||
|
|
||||||
|
Du könntest Dich ja dazu entscheiden es manuell zu bauen (empfohlen):
|
||||||
|
|
||||||
|
* die GIT Version kann parallel zur stabilen Version gebaut und installiert
|
||||||
|
werden.
|
||||||
|
* Du benötigst keine Root-Rechte, und opfern brauchst Du Deine stabile Version
|
||||||
|
von WeeChat auch nicht.
|
||||||
|
|
||||||
|
[[get_sources]]
|
||||||
|
Beschaffe und baue die Quellen
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
Erstelle zuerst einen neuen Ordner, z.B. 'weechat-git':
|
||||||
|
|
||||||
|
---------------------
|
||||||
|
$ mkdir ~/weechat-git
|
||||||
|
$ cd ~/weechat-git
|
||||||
|
---------------------
|
||||||
|
|
||||||
|
Falls Du git installiert hast, clone das git Repository (empfohlen):
|
||||||
|
|
||||||
|
--------------------------------------------
|
||||||
|
$ git clone git://git.sv.gnu.org/weechat.git
|
||||||
|
$ cd weechat
|
||||||
|
--------------------------------------------
|
||||||
|
|
||||||
|
NOTE: Um auf den neuesten Stand zukommen verwendest Du z.B. "`git pull`" in
|
||||||
|
diesem Ordner.
|
||||||
|
|
||||||
|
Ansonsten kannst Du das 'Entwickler-Paket' herunterladen und entpacken:
|
||||||
|
|
||||||
|
-----------------------------------------------------------------
|
||||||
|
$ wget http://www.weechat.org/files/src/weechat-devel.tar.bz2
|
||||||
|
$ tar xvjf weechat-devel.tar.bz2
|
||||||
|
$ cd weechat-devel
|
||||||
|
-----------------------------------------------------------------
|
||||||
|
|
||||||
|
Um die Quellen zu übersetzen, wird cmake empfohlen:
|
||||||
|
|
||||||
|
--------------------------------------------------------------
|
||||||
|
$ mkdir build
|
||||||
|
$ cd build
|
||||||
|
$ cmake .. -DPREFIX=$HOME/weechat-git -DCMAKE_BUILD_TYPE=Debug
|
||||||
|
$ make
|
||||||
|
$ make install
|
||||||
|
--------------------------------------------------------------
|
||||||
|
|
||||||
|
Falls Du cmake nicht hast, ist es auch möglich die autotools zu nutzen:
|
||||||
|
|
||||||
|
----------------------------------------------------------
|
||||||
|
$ ./autogen.sh # (nur bei geklontem git Repository)
|
||||||
|
$ ./configure --prefix=$HOME/weechat-git
|
||||||
|
$ make
|
||||||
|
$ make install
|
||||||
|
----------------------------------------------------------
|
||||||
|
|
||||||
|
[[install_binary_package]]
|
||||||
|
Installieren des Programm-Paketes
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
Abhängig Deiner Linux Distribution:
|
||||||
|
|
||||||
|
* Debian: http://debian.flashtux.org/
|
||||||
|
* Gentoo: http://www.weechat.org/download
|
||||||
|
* ArchLinux: PKGBUILD von http://aur.archlinux.org/
|
||||||
|
* andere: Wissen wir nicht! Eheh.
|
||||||
|
|
||||||
|
|
||||||
|
[[run]]
|
||||||
|
WeeChat starten
|
||||||
|
---------------
|
||||||
|
|
||||||
|
Es wird empfohlen WeeChat durch die Option `--dir` mit einem anderen Ordner zu
|
||||||
|
starten (nicht mit dem der stabilen Version).
|
||||||
|
|
||||||
|
Die Befehlszeile lautet:
|
||||||
|
|
||||||
|
~/weechat-git/bin/weechat-curses --dir ~/.weechat-dev
|
||||||
|
|
||||||
|
Immer noch munter? Dann solltest Du jetzt das bekannte Interface sehen, und nun
|
||||||
|
prahle vor Anderen, dass Du die neueste WeeChat-Version verwendest :)
|
||||||
|
|
||||||
|
Solltest Du nun ein merkwürdiges Verhalten bemerken (es könnte Probleme machen
|
||||||
|
oder crashen oder Dein Bier kochen) zögere nicht, komme in den Channel
|
||||||
|
`#weechat` auf `irc.freenode.net` (A.d.Ü.: englischsprachig) und berichte uns
|
||||||
|
darüber.
|
||||||
|
|
||||||
|
Auch wenn es nicht crasht - gib uns trotzdem Bescheid, wir brauchen Deine
|
||||||
|
Rückmeldung!
|
||||||
|
|
||||||
|
[[links]]
|
||||||
|
Nützliche Links
|
||||||
|
---------------
|
||||||
|
|
||||||
|
* GIT repository: http://git.savannah.gnu.org/gitweb/?p=weechat.git
|
||||||
|
* Bug tracker: https://savannah.nongnu.org/bugs/?group=weechat
|
||||||
|
* WeeChat commits RSS feed: http://git.savannah.gnu.org/gitweb/?p=weechat.git;a=rss
|
||||||
+8
-4
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2008-2009 by FlashCode <flashcode@flashtux.org>
|
# Copyright (c) 2008-2010 by FlashCode <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# 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
|
# it under the terms of the GNU General Public License as published by
|
||||||
@@ -15,7 +15,7 @@
|
|||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#
|
#
|
||||||
|
|
||||||
# Documentation generator for WeeChat: build XML include files with commands,
|
# Documentation generator for WeeChat: build include files with commands,
|
||||||
# options, infos and completions for WeeChat core and plugins.
|
# options, infos and completions for WeeChat core and plugins.
|
||||||
#
|
#
|
||||||
# Instructions to build config files yourself in WeeChat directories (replace
|
# Instructions to build config files yourself in WeeChat directories (replace
|
||||||
@@ -26,7 +26,7 @@
|
|||||||
# /set plugins.var.perl.docgen.path "~/src/weechat/doc"
|
# /set plugins.var.perl.docgen.path "~/src/weechat/doc"
|
||||||
# 3. run docgen command:
|
# 3. run docgen command:
|
||||||
# /docgen
|
# /docgen
|
||||||
# XML files should be in ~/src/weechat/doc/xx/autogen/ (where xx is language)
|
# Files should be in ~/src/weechat/doc/xx/autogen/ (where xx is language)
|
||||||
#
|
#
|
||||||
# Script written on 2008-08-22 by FlashCode <flashcode@flashtux.org>
|
# Script written on 2008-08-22 by FlashCode <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
@@ -53,7 +53,7 @@ my $version = "0.1";
|
|||||||
my $default_path = "~/src/weechat/doc";
|
my $default_path = "~/src/weechat/doc";
|
||||||
|
|
||||||
# list of locales for which we want to build XML doc files to include
|
# list of locales for which we want to build XML doc files to include
|
||||||
my @locale_list = qw(en_US fr_FR);
|
my @locale_list = qw(en_US fr_FR it_IT);
|
||||||
|
|
||||||
# all commands/options/.. of following plugins will produce a file
|
# all commands/options/.. of following plugins will produce a file
|
||||||
# non-listed plugins will be ignored
|
# non-listed plugins will be ignored
|
||||||
@@ -75,10 +75,14 @@ my %plugin_list = ("weechat" => "co", "alias" => "",
|
|||||||
my @ignore_options = ("aspell\\.dict\\..*",
|
my @ignore_options = ("aspell\\.dict\\..*",
|
||||||
"charset\\.decode\\..*",
|
"charset\\.decode\\..*",
|
||||||
"charset\\.encode\\..*",
|
"charset\\.encode\\..*",
|
||||||
|
"irc\\.msgbuffer\\..*",
|
||||||
|
"irc\\.ctcp\\..*",
|
||||||
|
"irc\\.ignore\\..*",
|
||||||
"irc\\.server\\..*",
|
"irc\\.server\\..*",
|
||||||
"jabber\\.server\\..*",
|
"jabber\\.server\\..*",
|
||||||
"logger\\.level\\..*",
|
"logger\\.level\\..*",
|
||||||
"logger\\.mask\\..*",
|
"logger\\.mask\\..*",
|
||||||
|
"relay\\.port\\..*",
|
||||||
"weechat\\.proxy\\..*",
|
"weechat\\.proxy\\..*",
|
||||||
"weechat\\.bar\\..*",
|
"weechat\\.bar\\..*",
|
||||||
"weechat\\.debug\\..*",
|
"weechat\\.debug\\..*",
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (c) 2003-2009 FlashCode <flashcode@flashtux.org>
|
# Copyright (c) 2003-2010 by FlashCode <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# 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
|
# it under the terms of the GNU General Public License as published by
|
||||||
@@ -24,7 +24,7 @@ ADD_CUSTOM_COMMAND(
|
|||||||
COMMENT "Building weechat_user.en.html"
|
COMMENT "Building weechat_user.en.html"
|
||||||
)
|
)
|
||||||
ADD_CUSTOM_TARGET(doc-user-en ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/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})
|
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.en.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
|
||||||
|
|
||||||
# plugin API reference
|
# plugin API reference
|
||||||
ADD_CUSTOM_COMMAND(
|
ADD_CUSTOM_COMMAND(
|
||||||
@@ -36,7 +36,7 @@ ADD_CUSTOM_COMMAND(
|
|||||||
COMMENT "Building weechat_plugin_api.en.html"
|
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)
|
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})
|
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_plugin_api.en.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
|
||||||
|
|
||||||
# scripting guide
|
# scripting guide
|
||||||
ADD_CUSTOM_COMMAND(
|
ADD_CUSTOM_COMMAND(
|
||||||
@@ -47,7 +47,7 @@ ADD_CUSTOM_COMMAND(
|
|||||||
COMMENT "Building weechat_scripting.en.html"
|
COMMENT "Building weechat_scripting.en.html"
|
||||||
)
|
)
|
||||||
ADD_CUSTOM_TARGET(doc-scripting-en ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/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})
|
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.en.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
|
||||||
|
|
||||||
# FAQ
|
# FAQ
|
||||||
ADD_CUSTOM_COMMAND(
|
ADD_CUSTOM_COMMAND(
|
||||||
@@ -58,7 +58,7 @@ ADD_CUSTOM_COMMAND(
|
|||||||
COMMENT "Building weechat_faq.en.html"
|
COMMENT "Building weechat_faq.en.html"
|
||||||
)
|
)
|
||||||
ADD_CUSTOM_TARGET(doc-faq-en ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/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})
|
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.en.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
|
||||||
|
|
||||||
# quickstart
|
# quickstart
|
||||||
ADD_CUSTOM_COMMAND(
|
ADD_CUSTOM_COMMAND(
|
||||||
@@ -69,7 +69,7 @@ ADD_CUSTOM_COMMAND(
|
|||||||
COMMENT "Building weechat_quickstart.en.html"
|
COMMENT "Building weechat_quickstart.en.html"
|
||||||
)
|
)
|
||||||
ADD_CUSTOM_TARGET(doc-quickstart-en ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/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})
|
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.en.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
|
||||||
|
|
||||||
# tester's guide
|
# tester's guide
|
||||||
ADD_CUSTOM_COMMAND(
|
ADD_CUSTOM_COMMAND(
|
||||||
@@ -80,4 +80,4 @@ ADD_CUSTOM_COMMAND(
|
|||||||
COMMENT "Building weechat_tester.en.html"
|
COMMENT "Building weechat_tester.en.html"
|
||||||
)
|
)
|
||||||
ADD_CUSTOM_TARGET(doc-tester-en ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/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})
|
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.en.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
|
||||||
|
|||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (c) 2003-2009 FlashCode <flashcode@flashtux.org>
|
# Copyright (c) 2003-2010 by FlashCode <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# 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
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
[width="65%",cols="^1,^2,8",options="header"]
|
[width="65%",cols="^1,^2,8",options="header"]
|
||||||
|========================================
|
|========================================
|
||||||
| Plugin | Name | Description
|
| Plugin | Name | Description
|
||||||
| alias | alias | list of alias
|
| alias | alias | list of aliases
|
||||||
|
|
||||||
| aspell | aspell_langs | list of supported langs for aspell
|
| aspell | aspell_langs | list of supported langs for aspell
|
||||||
|
|
||||||
@@ -39,6 +39,12 @@
|
|||||||
|
|
||||||
| python | python_script | list of scripts
|
| python | python_script | list of scripts
|
||||||
|
|
||||||
|
| relay | relay_free_port | first free port for relay plugin
|
||||||
|
|
||||||
|
| relay | relay_protocol_name | all possible protocol.name for relay plugin
|
||||||
|
|
||||||
|
| relay | relay_relays | protocol.name of current relays for relay plugin
|
||||||
|
|
||||||
| ruby | ruby_script | list of scripts
|
| ruby | ruby_script | list of scripts
|
||||||
|
|
||||||
| tcl | tcl_script | list of scripts
|
| tcl | tcl_script | list of scripts
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
[width="65%",cols="^1,^2,8",options="header"]
|
[width="65%",cols="^1,^2,8",options="header"]
|
||||||
|========================================
|
|========================================
|
||||||
| Plugin | Name | Description
|
| Plugin | Name | Description
|
||||||
| alias | alias | list of alias
|
| alias | alias | list of aliases
|
||||||
|
|
||||||
| irc | irc_channel | list of channels for an IRC server
|
| irc | irc_channel | list of channels for an IRC server
|
||||||
|
|
||||||
@@ -13,17 +13,17 @@
|
|||||||
|
|
||||||
| logger | logger_buffer | list of logger buffers
|
| logger | logger_buffer | list of logger buffers
|
||||||
|
|
||||||
| lua | lua_script | list of lua scripts
|
| lua | lua_script | list of scripts
|
||||||
|
|
||||||
| perl | perl_script | list of perl scripts
|
| perl | perl_script | list of scripts
|
||||||
|
|
||||||
| python | python_script | list of python scripts
|
| python | python_script | list of scripts
|
||||||
|
|
||||||
| relay | relay | list of relay clients
|
| relay | relay | list of relay clients
|
||||||
|
|
||||||
| ruby | ruby_script | list of ruby scripts
|
| ruby | ruby_script | list of scripts
|
||||||
|
|
||||||
| tcl | tcl_script | list of tcl scripts
|
| tcl | tcl_script | list of scripts
|
||||||
|
|
||||||
| weechat | bar | list of bars
|
| weechat | bar | list of bars
|
||||||
|
|
||||||
|
|||||||
@@ -9,6 +9,8 @@
|
|||||||
|
|
||||||
| irc | irc_nick | get current nick on a server
|
| irc | irc_nick | get current nick on a server
|
||||||
|
|
||||||
|
| irc | irc_nick_color | get nick color
|
||||||
|
|
||||||
| irc | irc_nick_from_host | get nick from IRC host
|
| irc | irc_nick_from_host | get nick from IRC host
|
||||||
|
|
||||||
| weechat | charset_internal | WeeChat internal charset
|
| weechat | charset_internal | WeeChat internal charset
|
||||||
@@ -33,4 +35,8 @@
|
|||||||
|
|
||||||
| weechat | weechat_sharedir | WeeChat "share" directory
|
| weechat | weechat_sharedir | WeeChat "share" directory
|
||||||
|
|
||||||
|
| weechat | weechat_site | WeeChat site
|
||||||
|
|
||||||
|
| weechat | weechat_site_download | WeeChat site, download page
|
||||||
|
|
||||||
|========================================
|
|========================================
|
||||||
|
|||||||
@@ -3,13 +3,21 @@
|
|||||||
........................................
|
........................................
|
||||||
create an alias for a command
|
create an alias for a command
|
||||||
|
|
||||||
alias_name: name of alias
|
alias_name: name of alias (can start or end with "*" for alias listing)
|
||||||
command: command name (many commands can be separated by semicolons)
|
command: command name (many commands can be separated by semicolons)
|
||||||
arguments: arguments for command
|
arguments: arguments for command
|
||||||
|
|
||||||
Without argument, this command lists all defined alias.
|
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.
|
Note: in command, special variables are replaced:
|
||||||
Variables $nick, $channel and $server are replaced by current nick/channel/server.
|
$n: argument 'n' (between 1 and 9)
|
||||||
|
$-m: arguments from 1 to 'm'
|
||||||
|
$n-: arguments from 'n' to last
|
||||||
|
$n-m: arguments from 'n' to 'm'
|
||||||
|
$*: all arguments
|
||||||
|
$~: last argument
|
||||||
|
$nick: current nick
|
||||||
|
$channel: current channel
|
||||||
|
$server: current server
|
||||||
........................................
|
........................................
|
||||||
|
|
||||||
|
|||||||
@@ -35,7 +35,7 @@
|
|||||||
• *`/demo_printf`* `[text]`::
|
• *`/demo_printf`* `[text]`::
|
||||||
|
|
||||||
........................................
|
........................................
|
||||||
print some messages on current ubffer
|
print some messages on current buffer
|
||||||
|
|
||||||
text: write this text
|
text: write this text
|
||||||
........................................
|
........................................
|
||||||
|
|||||||
@@ -6,20 +6,39 @@
|
|||||||
target: server
|
target: server
|
||||||
........................................
|
........................................
|
||||||
|
|
||||||
• *`/ame`* `message`::
|
• *`/allchan`* `[-current] [-exclude=channel[,channel...]] command [arguments]`::
|
||||||
|
|
||||||
........................................
|
........................................
|
||||||
send a CTCP action to all channels of all connected servers
|
execute a command on all channels of all connected servers
|
||||||
|
|
||||||
message: message to send
|
-current: execute command for channels of current server only
|
||||||
|
-exclude: exclude some channels ('*' is allowed at beginning or end of channel name, to exclude many channels)
|
||||||
|
command: command to execute
|
||||||
|
arguments: arguments for command
|
||||||
|
|
||||||
|
Examples:
|
||||||
|
execute '/me is testing' on all channels:
|
||||||
|
/allchan me is testing
|
||||||
|
say 'hello' everywhere but not on #weechat:
|
||||||
|
/allchan -exclude=#weechat msg * hello
|
||||||
|
say 'hello' everywhere but not on #weechat and channels beginning with #linux:
|
||||||
|
/allchan -exclude=#weechat,#linux* msg * hello
|
||||||
........................................
|
........................................
|
||||||
|
|
||||||
• *`/amsg`* `text`::
|
• *`/allserv`* `[-exclude=server[,server...]] command [arguments]`::
|
||||||
|
|
||||||
........................................
|
........................................
|
||||||
send message to all channels of all connected servers
|
execute a command on all connected servers
|
||||||
|
|
||||||
text: text to send
|
-exclude: exclude some servers ('*' is allowed at beginning or end of server name, to exclude many servers)
|
||||||
|
command: command to execute
|
||||||
|
arguments: arguments for command
|
||||||
|
|
||||||
|
Examples:
|
||||||
|
change nick on all servers:
|
||||||
|
/allserv nick newnick
|
||||||
|
set away on all servers:
|
||||||
|
/allserv away I'm away
|
||||||
........................................
|
........................................
|
||||||
|
|
||||||
• *`/away`* `[-all] [message]`::
|
• *`/away`* `[-all] [message]`::
|
||||||
@@ -40,18 +59,25 @@
|
|||||||
nickname: user or host to ban
|
nickname: user or host to ban
|
||||||
........................................
|
........................................
|
||||||
|
|
||||||
• *`/connect`* `[-all [-nojoin] | servername [servername ...] [-nojoin] | hostname [-port port] [-ipv6] [-ssl]]`::
|
• *`/connect`* `[-all [-nojoin] | servername [servername ...] [-nojoin] | hostname[/port] [-option[=value]] [-nooption]]`::
|
||||||
|
|
||||||
........................................
|
........................................
|
||||||
connect to IRC server(s)
|
connect to IRC server(s)
|
||||||
|
|
||||||
-all: connect to all servers
|
-all: connect to all servers
|
||||||
servername: internal server name to connect
|
servername: internal server name to connect (server must have been created by /server add)
|
||||||
-nojoin: do not join any channel (even if autojoin is enabled on server)
|
-nojoin: do not join any channel (even if autojoin is enabled on server)
|
||||||
hostname: hostname to connect
|
hostname: hostname (or IP) of a server
|
||||||
port: port for server (integer, default is 6667)
|
port: port for server (6667 by default)
|
||||||
ipv6: use IPv6 protocol
|
option: set option for server (for boolean option, value can be omitted)
|
||||||
ssl: use SSL protocol
|
nooption: set boolean option to 'off' (for example: -nossl)
|
||||||
|
|
||||||
|
Examples:
|
||||||
|
/connect freenode
|
||||||
|
/connect irc.oftc.net/6667
|
||||||
|
/connect irc6.oftc.net/6667 -ipv6
|
||||||
|
/connect irc6.oftc.net/6697 -ipv6 -ssl
|
||||||
|
/connect my.server.org/6697 -ssl -password=test
|
||||||
........................................
|
........................................
|
||||||
|
|
||||||
• *`/ctcp`* `receiver type [arguments]`::
|
• *`/ctcp`* `receiver type [arguments]`::
|
||||||
@@ -197,6 +223,10 @@
|
|||||||
channel: channel where user is
|
channel: channel where user is
|
||||||
nickname: nickname to kick and ban
|
nickname: nickname to kick and ban
|
||||||
comment: comment for kick
|
comment: comment for kick
|
||||||
|
|
||||||
|
It is possible to kick/ban with a mask, nick will be extracted from mask and replaced by "*", for example:
|
||||||
|
/kickban toto!*@host.com
|
||||||
|
will ban "*!*@host.com" and then kick "toto".
|
||||||
........................................
|
........................................
|
||||||
|
|
||||||
• *`/kill`* `nickname comment`::
|
• *`/kill`* `nickname comment`::
|
||||||
@@ -385,10 +415,12 @@
|
|||||||
-nojoin: do not join any channel (even if autojoin is enabled on server)
|
-nojoin: do not join any channel (even if autojoin is enabled on server)
|
||||||
........................................
|
........................................
|
||||||
|
|
||||||
• *`/rehash`*::
|
• *`/rehash`* `[option]`::
|
||||||
|
|
||||||
........................................
|
........................................
|
||||||
tell the server to reload its config file
|
tell the server to reload its config file
|
||||||
|
|
||||||
|
option: extra option, for some servers
|
||||||
........................................
|
........................................
|
||||||
|
|
||||||
• *`/restart`*::
|
• *`/restart`*::
|
||||||
@@ -397,7 +429,52 @@
|
|||||||
tell the server to restart itself
|
tell the server to restart itself
|
||||||
........................................
|
........................................
|
||||||
|
|
||||||
• *`/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]`::
|
• *`/sajoin`* `nickname channel[,channel]`::
|
||||||
|
|
||||||
|
........................................
|
||||||
|
forces a user to join channel(s)
|
||||||
|
|
||||||
|
nickname: nickname
|
||||||
|
channel: channel name
|
||||||
|
........................................
|
||||||
|
|
||||||
|
• *`/samode`* `channel mode`::
|
||||||
|
|
||||||
|
........................................
|
||||||
|
change mode on channel, without having operator status
|
||||||
|
|
||||||
|
channel: channel name
|
||||||
|
mode: mode for channel
|
||||||
|
........................................
|
||||||
|
|
||||||
|
• *`/sanick`* `nickname new_nickname`::
|
||||||
|
|
||||||
|
........................................
|
||||||
|
forces a user to use another nick
|
||||||
|
|
||||||
|
nickname: nickname
|
||||||
|
new_nickname: new nickname
|
||||||
|
........................................
|
||||||
|
|
||||||
|
• *`/sapart`* `nickname channel[,channel]`::
|
||||||
|
|
||||||
|
........................................
|
||||||
|
forces a user to leave channel(s)
|
||||||
|
|
||||||
|
nickname: nickname
|
||||||
|
channel: channel name
|
||||||
|
........................................
|
||||||
|
|
||||||
|
• *`/saquit`* `nickname reason`::
|
||||||
|
|
||||||
|
........................................
|
||||||
|
forces a user to quit server with a reason
|
||||||
|
|
||||||
|
nickname: nickname
|
||||||
|
reason: reason
|
||||||
|
........................................
|
||||||
|
|
||||||
|
• *`/server`* `[list [servername]] | [listfull [servername]] | [add servername hostname[/port] [-temp] [-option[=value]] [-nooption]] | [copy servername newservername] | [rename servername newservername] | [keep servername] | [del servername] | [deloutq] | [jump] | [raw]`::
|
||||||
|
|
||||||
........................................
|
........................................
|
||||||
list, add or remove IRC servers
|
list, add or remove IRC servers
|
||||||
@@ -407,10 +484,9 @@
|
|||||||
add: create a new server
|
add: create a new server
|
||||||
servername: server name, for internal and display use
|
servername: server name, for internal and display use
|
||||||
hostname: name or IP address of server, with optional port (default: 6667)
|
hostname: name or IP address of server, with optional port (default: 6667)
|
||||||
auto: automatically connect to server when WeeChat starts
|
temp: create temporary server (not saved)
|
||||||
noauto: do not connect to server when WeeChat starts (default)
|
option: set option for server (for boolean option, value can be omitted)
|
||||||
ipv6: use IPv6 protocol
|
nooption: set boolean option to 'off' (for example: -nossl)
|
||||||
ssl: use SSL protocol
|
|
||||||
copy: duplicate a server
|
copy: duplicate a server
|
||||||
rename: rename a server
|
rename: rename a server
|
||||||
keep: keep server in config file (for temporary servers only)
|
keep: keep server in config file (for temporary servers only)
|
||||||
@@ -421,7 +497,7 @@
|
|||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
/server listfull
|
/server listfull
|
||||||
/server add oftc irc.oftc.net/6697 -ssl
|
/server add oftc irc.oftc.net/6697 -ssl -autoconnect
|
||||||
/server add oftc6 irc6.oftc.net/6697 -ipv6 -ssl
|
/server add oftc6 irc6.oftc.net/6697 -ipv6 -ssl
|
||||||
/server add freenode2 chat.eu.freenode.net/6667,chat.us.freenode.net/6667
|
/server add freenode2 chat.eu.freenode.net/6667,chat.us.freenode.net/6667
|
||||||
/server copy oftc oftcbis
|
/server copy oftc oftcbis
|
||||||
|
|||||||
@@ -33,6 +33,11 @@
|
|||||||
** type: boolean
|
** type: boolean
|
||||||
** values: on, off (default value: on)
|
** values: on, off (default value: on)
|
||||||
|
|
||||||
|
* *irc.look.color_pv_nick_like_channel*
|
||||||
|
** description: use same nick color for channel and private
|
||||||
|
** type: boolean
|
||||||
|
** values: on, off (default value: on)
|
||||||
|
|
||||||
* *irc.look.display_away*
|
* *irc.look.display_away*
|
||||||
** description: display message when (un)marking as away
|
** description: display message when (un)marking as away
|
||||||
** type: integer
|
** type: integer
|
||||||
@@ -43,6 +48,21 @@
|
|||||||
** type: boolean
|
** type: boolean
|
||||||
** values: on, off (default value: on)
|
** values: on, off (default value: on)
|
||||||
|
|
||||||
|
* *irc.look.display_ctcp_blocked*
|
||||||
|
** description: display CTCP message even if it is blocked
|
||||||
|
** type: boolean
|
||||||
|
** values: on, off (default value: on)
|
||||||
|
|
||||||
|
* *irc.look.display_ctcp_reply*
|
||||||
|
** description: display CTCP reply sent by WeeChat
|
||||||
|
** type: boolean
|
||||||
|
** values: on, off (default value: on)
|
||||||
|
|
||||||
|
* *irc.look.display_ctcp_unknown*
|
||||||
|
** description: display CTCP message even if it is unknown CTCP
|
||||||
|
** type: boolean
|
||||||
|
** values: on, off (default value: on)
|
||||||
|
|
||||||
* *irc.look.display_nick_modes*
|
* *irc.look.display_nick_modes*
|
||||||
** description: display nick modes in "input_prompt" bar item
|
** description: display nick modes in "input_prompt" bar item
|
||||||
** type: boolean
|
** type: boolean
|
||||||
@@ -68,6 +88,11 @@
|
|||||||
** type: integer
|
** type: integer
|
||||||
** values: buffer_plugin, buffer_name (default value: buffer_plugin)
|
** values: buffer_plugin, buffer_name (default value: buffer_plugin)
|
||||||
|
|
||||||
|
* *irc.look.msgbuffer_fallback*
|
||||||
|
** description: default target buffer for msgbuffer options when target is private and that private buffer is not found
|
||||||
|
** type: integer
|
||||||
|
** values: current, server (default value: current)
|
||||||
|
|
||||||
* *irc.look.nick_completion_smart*
|
* *irc.look.nick_completion_smart*
|
||||||
** description: smart completion for nicks (completes first with last speakers)
|
** description: smart completion for nicks (completes first with last speakers)
|
||||||
** type: integer
|
** type: integer
|
||||||
@@ -128,10 +153,15 @@
|
|||||||
** type: boolean
|
** type: boolean
|
||||||
** values: on, off (default value: off)
|
** values: on, off (default value: off)
|
||||||
|
|
||||||
* *irc.network.anti_flood*
|
* *irc.network.anti_flood_prio_high*
|
||||||
** description: anti-flood: # seconds between two user messages (0 = no anti-flood)
|
** description: anti-flood for high priority queue: number of seconds between two user messages or commands sent to IRC server (0 = no anti-flood)
|
||||||
** type: integer
|
** type: integer
|
||||||
** values: 0 .. 5 (default value: 2)
|
** values: 0 .. 60 (default value: 2)
|
||||||
|
|
||||||
|
* *irc.network.anti_flood_prio_low*
|
||||||
|
** description: anti-flood for low priority queue: number of seconds between two messages sent to IRC server (messages like automatic CTCP replies) (0 = no anti-flood)
|
||||||
|
** type: integer
|
||||||
|
** values: 0 .. 60 (default value: 2)
|
||||||
|
|
||||||
* *irc.network.away_check*
|
* *irc.network.away_check*
|
||||||
** description: interval between two checks for away (in minutes, 0 = never check)
|
** description: interval between two checks for away (in minutes, 0 = never check)
|
||||||
@@ -141,7 +171,7 @@
|
|||||||
* *irc.network.away_check_max_nicks*
|
* *irc.network.away_check_max_nicks*
|
||||||
** description: do not check away nicks on channels with high number of nicks (0 = unlimited)
|
** description: do not check away nicks on channels with high number of nicks (0 = unlimited)
|
||||||
** type: integer
|
** type: integer
|
||||||
** values: 0 .. 2147483647 (default value: 0)
|
** values: 0 .. 2147483647 (default value: 25)
|
||||||
|
|
||||||
* *irc.network.colors_receive*
|
* *irc.network.colors_receive*
|
||||||
** description: when off, colors codes are ignored in incoming messages
|
** description: when off, colors codes are ignored in incoming messages
|
||||||
@@ -209,10 +239,15 @@
|
|||||||
** values: 0 .. 65535 (default value: 30)
|
** values: 0 .. 65535 (default value: 30)
|
||||||
|
|
||||||
* *irc.server_default.autorejoin*
|
* *irc.server_default.autorejoin*
|
||||||
** description: automatically rejoin channels when kicked
|
** description: automatically rejoin channels after kick
|
||||||
** type: boolean
|
** type: boolean
|
||||||
** values: on, off (default value: off)
|
** values: on, off (default value: off)
|
||||||
|
|
||||||
|
* *irc.server_default.autorejoin_delay*
|
||||||
|
** description: delay (in seconds) before autorejoin (after kick)
|
||||||
|
** type: integer
|
||||||
|
** values: 0 .. 86400 (default value: 30)
|
||||||
|
|
||||||
* *irc.server_default.command*
|
* *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)
|
** 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
|
** type: string
|
||||||
@@ -258,6 +293,21 @@
|
|||||||
** type: boolean
|
** type: boolean
|
||||||
** values: on, off (default value: off)
|
** values: on, off (default value: off)
|
||||||
|
|
||||||
|
* *irc.server_default.ssl_cert*
|
||||||
|
** description: ssl certificate file used to automatically identify your nick
|
||||||
|
** type: string
|
||||||
|
** values: any string (default value: "")
|
||||||
|
|
||||||
|
* *irc.server_default.ssl_dhkey_size*
|
||||||
|
** description: size of the key used during the Diffie-Hellman Key Exchange
|
||||||
|
** type: integer
|
||||||
|
** values: 0 .. 2147483647 (default value: 2048)
|
||||||
|
|
||||||
|
* *irc.server_default.ssl_verify*
|
||||||
|
** description: check that the ssl connection is fully trusted
|
||||||
|
** type: boolean
|
||||||
|
** values: on, off (default value: on)
|
||||||
|
|
||||||
* *irc.server_default.username*
|
* *irc.server_default.username*
|
||||||
** description: user name to use on server
|
** description: user name to use on server
|
||||||
** type: string
|
** type: string
|
||||||
|
|||||||
@@ -1,10 +1,16 @@
|
|||||||
• *`/relay`* `[list | listfull]`::
|
• *`/relay`* `[list | listfull | add protocol.name port | del protocol.name]`::
|
||||||
|
|
||||||
........................................
|
........................................
|
||||||
relay control
|
relay control
|
||||||
|
|
||||||
list: list relay clients
|
list: list relay clients (only active relays)
|
||||||
listfull: list relay clients (verbose)
|
listfull: list relay clients (verbose, all relays)
|
||||||
|
listrelay: list relays (name and port)
|
||||||
|
add: add relay for a protocol + name
|
||||||
|
del: remove relay for a protocol + name
|
||||||
|
protocol.name: protocol and name to relay
|
||||||
|
for example: irc.freenode
|
||||||
|
port: port used for relay
|
||||||
|
|
||||||
Without argument, this command opens buffer with list of relay clients.
|
Without argument, this command opens buffer with list of relay clients.
|
||||||
........................................
|
........................................
|
||||||
|
|||||||
@@ -43,13 +43,8 @@
|
|||||||
** type: boolean
|
** type: boolean
|
||||||
** values: on, off (default value: on)
|
** values: on, off (default value: on)
|
||||||
|
|
||||||
* *relay.network.enabled*
|
* *relay.network.max_clients*
|
||||||
** description: enable relay
|
** description: maximum number of clients connecting to a port
|
||||||
** type: boolean
|
** type: integer
|
||||||
** values: on, off (default value: off)
|
** values: 1 .. 1024 (default value: 5)
|
||||||
|
|
||||||
* *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")
|
|
||||||
|
|
||||||
|
|||||||
@@ -91,17 +91,18 @@
|
|||||||
command: command to execute (a '/' is automatically added if not found at beginning of command)
|
command: command to execute (a '/' is automatically added if not found at beginning of command)
|
||||||
........................................
|
........................................
|
||||||
|
|
||||||
• *`/debug`* `[list | plugin level | dump | buffer | windows]`::
|
• *`/debug`* `[list | set plugin level | dump | buffer | windows | term]`::
|
||||||
|
|
||||||
........................................
|
........................................
|
||||||
control debug for core/plugins
|
control debug for core/plugins
|
||||||
|
|
||||||
|
set: set log level for plugin
|
||||||
plugin: name of plugin ("core" for WeeChat core)
|
plugin: name of plugin ("core" for WeeChat core)
|
||||||
level: debug level for plugin (0 = disable debug)
|
level: debug level for plugin (0 = disable debug)
|
||||||
dump: save memory dump in WeeChat log file (same dump is written when WeeChat crashes)
|
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
|
buffer: dump buffer content with hexadecimal values in log file
|
||||||
windows: display windows tree
|
windows: display windows tree
|
||||||
text: send "debug" signal with "text" as argument
|
term: display infos about terminal and available colors
|
||||||
........................................
|
........................................
|
||||||
|
|
||||||
• *`/filter`* `[list] | [enable|disable|toggle [name]] | [add name plugin.buffer tags regex] | [del name|-all]`::
|
• *`/filter`* `[list] | [enable|disable|toggle [name]] | [add name plugin.buffer tags regex] | [del name|-all]`::
|
||||||
@@ -154,7 +155,7 @@
|
|||||||
value: number of history entries to show
|
value: number of history entries to show
|
||||||
........................................
|
........................................
|
||||||
|
|
||||||
• *`/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]`::
|
• *`/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 | grab_key_command | scroll_unread | set_unread | set_unread_current_buffer | insert [args]`::
|
||||||
|
|
||||||
........................................
|
........................................
|
||||||
functions for command line
|
functions for command line
|
||||||
@@ -234,10 +235,13 @@
|
|||||||
/proxy del myproxy
|
/proxy del myproxy
|
||||||
........................................
|
........................................
|
||||||
|
|
||||||
• *`/quit`*::
|
• *`/quit`* `[arguments]`::
|
||||||
|
|
||||||
........................................
|
........................................
|
||||||
quit WeeChat
|
quit WeeChat
|
||||||
|
|
||||||
|
arguments: text sent with signal "quit"
|
||||||
|
(for example irc plugin uses this text to send quit message to server)
|
||||||
........................................
|
........................................
|
||||||
|
|
||||||
• *`/reload`* `[file [file...]]`::
|
• *`/reload`* `[file [file...]]`::
|
||||||
@@ -367,7 +371,8 @@
|
|||||||
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
|
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:
|
Examples:
|
||||||
jump to window displaying buffer #1: /window b1 scroll 2 lines up: /window scroll -2
|
jump to window displaying buffer #1: /window b1
|
||||||
|
scroll 2 lines up: /window scroll -2
|
||||||
scroll 2 days up: /window scroll -2d
|
scroll 2 days up: /window scroll -2d
|
||||||
scroll to beginning of current day: /window scroll -d
|
scroll to beginning of current day: /window scroll -d
|
||||||
........................................
|
........................................
|
||||||
|
|||||||
@@ -283,6 +283,11 @@
|
|||||||
** type: color
|
** type: color
|
||||||
** values: a color name (default value: yellow)
|
** values: a color name (default value: yellow)
|
||||||
|
|
||||||
|
* *weechat.color.status_time*
|
||||||
|
** description: text color for time (status bar)
|
||||||
|
** type: color
|
||||||
|
** values: a color name (default value: default)
|
||||||
|
|
||||||
* *weechat.completion.default_template*
|
* *weechat.completion.default_template*
|
||||||
** description: default completion template (please see documentation for template codes and values)
|
** description: default completion template (please see documentation for template codes and values)
|
||||||
** type: string
|
** type: string
|
||||||
@@ -388,6 +393,11 @@
|
|||||||
** type: string
|
** type: string
|
||||||
** values: any string (default value: "")
|
** values: any string (default value: "")
|
||||||
|
|
||||||
|
* *weechat.look.hline_char*
|
||||||
|
** description: char used to draw horizontal lines, note that empty value will draw a real line with ncurses, but may cause bugs with URL selection under some terminals
|
||||||
|
** type: string
|
||||||
|
** values: any string (default value: "-")
|
||||||
|
|
||||||
* *weechat.look.hotlist_names_count*
|
* *weechat.look.hotlist_names_count*
|
||||||
** description: max number of names in hotlist (0 = no name displayed, only buffer numbers)
|
** description: max number of names in hotlist (0 = no name displayed, only buffer numbers)
|
||||||
** type: integer
|
** type: integer
|
||||||
@@ -543,10 +553,10 @@
|
|||||||
** type: boolean
|
** type: boolean
|
||||||
** values: on, off (default value: on)
|
** values: on, off (default value: on)
|
||||||
|
|
||||||
* *weechat.network.gnutls_dh_prime_bitsmax_lines*
|
* *weechat.network.gnutls_ca_file*
|
||||||
** description: minimum size in bits for handshake using Diffie Hellman key exchange
|
** description: file containing the certificate authorities
|
||||||
** type: integer
|
** type: string
|
||||||
** values: 0 .. 2147483647 (default value: 512)
|
** values: any string (default value: "%h/ssl/CAs.pem")
|
||||||
|
|
||||||
* *weechat.plugin.autoload*
|
* *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")
|
** 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")
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
• *`/me`* `message`::
|
||||||
|
|
||||||
|
........................................
|
||||||
|
send a CTCP action to remote host
|
||||||
|
|
||||||
|
message: message to send
|
||||||
|
........................................
|
||||||
|
|
||||||
• *`/xfer`* `[list | listfull]`::
|
• *`/xfer`* `[list | listfull]`::
|
||||||
|
|
||||||
........................................
|
........................................
|
||||||
|
|||||||
@@ -210,8 +210,8 @@ can issue: `/shell setenv LANG=en_US`.
|
|||||||
|
|
||||||
|
|
||||||
[[terminal_copy_paste]]
|
[[terminal_copy_paste]]
|
||||||
With the Curses GUI, how can I copy/paste text without pasting nicklist?
|
How can I copy/paste text without pasting nicklist?
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
You can use a terminal with rectangular selection (like rxvt-unicode,
|
You can use a terminal with rectangular selection (like rxvt-unicode,
|
||||||
konsole, gnome-terminal, ...). Key is usually ctrl + alt + mouse selection.
|
konsole, gnome-terminal, ...). Key is usually ctrl + alt + mouse selection.
|
||||||
@@ -224,6 +224,29 @@ Another solution is to move nicklist to top or bottom, for example:
|
|||||||
`/bar set nicklist position top`
|
`/bar set nicklist position top`
|
||||||
|
|
||||||
|
|
||||||
|
[[urls]]
|
||||||
|
How can I click on long URLs (more than one line)?
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
WeeChat displays time and prefix for each line and optional bars around chat
|
||||||
|
area, so it is not possible to display long URLs without truncating them.
|
||||||
|
|
||||||
|
You can use one of following scripts:
|
||||||
|
|
||||||
|
urlbar.py::
|
||||||
|
display URLs in a bar
|
||||||
|
|
||||||
|
urlgrab.py::
|
||||||
|
logs URLs and open them in browser
|
||||||
|
|
||||||
|
url_shorten.rb::
|
||||||
|
tinyurl.py::
|
||||||
|
shortenurl.py::
|
||||||
|
shorten long URLs
|
||||||
|
|
||||||
|
List of scripts about URLs: http://www.weechat.org/scripts/stable/tag/url
|
||||||
|
|
||||||
|
|
||||||
[[highlight_notification]]
|
[[highlight_notification]]
|
||||||
How can I be warned when someone highlights me on a channel?
|
How can I be warned when someone highlights me on a channel?
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
@@ -240,7 +263,7 @@ According to WeeChat version:
|
|||||||
`/set plugins.var.perl.launcher.signal.weechat_highlight "/path/to/command arguments"`
|
`/set plugins.var.perl.launcher.signal.weechat_highlight "/path/to/command arguments"`
|
||||||
|
|
||||||
Many other scripts exist for notification, please look at plugins/scripts page:
|
Many other scripts exist for notification, please look at plugins/scripts page:
|
||||||
http://www.weechat.org/plugins
|
http://www.weechat.org/scripts
|
||||||
|
|
||||||
|
|
||||||
[[filter_irc_join_part_quit]]
|
[[filter_irc_join_part_quit]]
|
||||||
|
|||||||
+2181
-242
File diff suppressed because it is too large
Load Diff
@@ -227,7 +227,7 @@ Python, Ruby, Lua and Tcl). These plugins must be loaded with the `/plugin`
|
|||||||
command and they provide commands like `/perl`, used to load scripts.
|
command and they provide commands like `/perl`, used to load scripts.
|
||||||
|
|
||||||
Many external plugins/scripts (from contributors) are available for
|
Many external plugins/scripts (from contributors) are available for
|
||||||
WeeChat: http://www.weechat.org/plugins
|
WeeChat: http://www.weechat.org/scripts
|
||||||
|
|
||||||
Easiest way to install scripts is to use script 'weeget.py':
|
Easiest way to install scripts is to use script 'weeget.py':
|
||||||
|
|
||||||
|
|||||||
@@ -146,9 +146,9 @@ $ cd ~/.weechat/perl/autoload
|
|||||||
$ ln -s ../script.pl
|
$ ln -s ../script.pl
|
||||||
----------------------------------------
|
----------------------------------------
|
||||||
|
|
||||||
[[script_api]]
|
[[differences_with_c_api]]
|
||||||
Script API
|
Differences with C API
|
||||||
----------
|
----------------------
|
||||||
|
|
||||||
Script API is almost the same as C plugin API.
|
Script API is almost the same as C plugin API.
|
||||||
You can look at 'WeeChat Plugin API Reference' for detail about each function
|
You can look at 'WeeChat Plugin API Reference' for detail about each function
|
||||||
@@ -176,6 +176,60 @@ previous path:
|
|||||||
WeeChat core -------> python plugin (python.so) -------> test.py
|
WeeChat core -------> python plugin (python.so) -------> test.py
|
||||||
........................................
|
........................................
|
||||||
|
|
||||||
|
Pointers
|
||||||
|
~~~~~~~~
|
||||||
|
|
||||||
|
As you probably know, there is not really "pointers" in scripts. So when API
|
||||||
|
functions return pointer, it is converted to string for script.
|
||||||
|
|
||||||
|
For example, if function return pointer 0x1234ab56, script will get string
|
||||||
|
"0x1234ab56".
|
||||||
|
|
||||||
|
And when an API function expects a pointer in arguments, script must give that
|
||||||
|
string value. C plugin will convert it to real pointer before calling C API
|
||||||
|
function.
|
||||||
|
|
||||||
|
Empty string or "0x0" are allowed, they means NULL in C.
|
||||||
|
For example, to print data on core buffer (WeeChat main buffer), you can do:
|
||||||
|
|
||||||
|
[source,python]
|
||||||
|
----------------------------------------
|
||||||
|
weechat.prnt("", "hi!")
|
||||||
|
----------------------------------------
|
||||||
|
|
||||||
|
[WARNING]
|
||||||
|
In many functions, for speed reasons, WeeChat does not check if your pointer
|
||||||
|
is correct or not. It's your job to check you're giving a valid pointer,
|
||||||
|
otherwise you may see a nice crash report ;)
|
||||||
|
|
||||||
|
Callbacks
|
||||||
|
~~~~~~~~~
|
||||||
|
|
||||||
|
Almost all WeeChat callbacks must return WEECHAT_RC_OK or WEECHAT_RC_ERROR
|
||||||
|
(exception is modifier callback, which returns a string).
|
||||||
|
|
||||||
|
C callbacks are using a "data" argument, which is a pointer. In script API,
|
||||||
|
this "data" is a string with a any value (it's not a pointer).
|
||||||
|
|
||||||
|
For example:
|
||||||
|
|
||||||
|
[source,python]
|
||||||
|
----------------------------------------
|
||||||
|
weechat.hook_timer(1000, 0, 1, "my_timer_cb", "my data")
|
||||||
|
|
||||||
|
def my_timer_cb(data, remaining_calls):
|
||||||
|
# this will display: "my data"
|
||||||
|
weechat.prnt("", data)
|
||||||
|
return weechat.WEECHAT_RC_OK
|
||||||
|
----------------------------------------
|
||||||
|
|
||||||
|
[[script_api]]
|
||||||
|
Script API
|
||||||
|
----------
|
||||||
|
|
||||||
|
For more information about functions in API, please read
|
||||||
|
'WeeChat Plugin API Reference'.
|
||||||
|
|
||||||
Functions
|
Functions
|
||||||
~~~~~~~~~
|
~~~~~~~~~
|
||||||
|
|
||||||
@@ -274,18 +328,21 @@ List of functions in script API:
|
|||||||
** 'unhook_all'
|
** 'unhook_all'
|
||||||
* buffers:
|
* buffers:
|
||||||
** 'buffer_new'
|
** 'buffer_new'
|
||||||
** 'buffer_search'
|
|
||||||
** 'current_buffer'
|
** 'current_buffer'
|
||||||
|
** 'buffer_search'
|
||||||
|
** 'buffer_search_main'
|
||||||
** 'buffer_clear'
|
** 'buffer_clear'
|
||||||
** 'buffer_close'
|
** 'buffer_close'
|
||||||
|
** 'buffer_merge'
|
||||||
|
** 'buffer_unmerge'
|
||||||
** 'buffer_get_integer'
|
** 'buffer_get_integer'
|
||||||
** 'buffer_get_string'
|
** 'buffer_get_string'
|
||||||
** 'buffer_get_pointer'
|
** 'buffer_get_pointer'
|
||||||
** 'buffer_set'
|
** 'buffer_set'
|
||||||
|
** 'buffer_string_replace_local_var'
|
||||||
* windows:
|
* windows:
|
||||||
** 'current_window'
|
** 'current_window'
|
||||||
** 'window_get_integer'
|
** 'window_get_integer'
|
||||||
** 'window_get_string'
|
|
||||||
** 'window_get_pointer'
|
** 'window_get_pointer'
|
||||||
** 'window_set_title'
|
** 'window_set_title'
|
||||||
* nicklist:
|
* nicklist:
|
||||||
@@ -312,6 +369,7 @@ List of functions in script API:
|
|||||||
** 'info_get'
|
** 'info_get'
|
||||||
* infolists:
|
* infolists:
|
||||||
** 'infolist_new'
|
** 'infolist_new'
|
||||||
|
** 'infolist_new_item'
|
||||||
** 'infolist_new_var_integer'
|
** 'infolist_new_var_integer'
|
||||||
** 'infolist_new_var_string'
|
** 'infolist_new_var_string'
|
||||||
** 'infolist_new_var_pointer'
|
** 'infolist_new_var_pointer'
|
||||||
@@ -319,6 +377,7 @@ List of functions in script API:
|
|||||||
** 'infolist_get'
|
** 'infolist_get'
|
||||||
** 'infolist_next'
|
** 'infolist_next'
|
||||||
** 'infolist_prev'
|
** 'infolist_prev'
|
||||||
|
** 'infolist_reset_item_cursor'
|
||||||
** 'infolist_fields'
|
** 'infolist_fields'
|
||||||
** 'infolist_integer'
|
** 'infolist_integer'
|
||||||
** 'infolist_string'
|
** 'infolist_string'
|
||||||
@@ -374,53 +433,3 @@ List of constants in script API:
|
|||||||
* 'WEECHAT_HOOK_SIGNAL_STRING'
|
* 'WEECHAT_HOOK_SIGNAL_STRING'
|
||||||
* 'WEECHAT_HOOK_SIGNAL_INT'
|
* 'WEECHAT_HOOK_SIGNAL_INT'
|
||||||
* 'WEECHAT_HOOK_SIGNAL_POINTER'
|
* 'WEECHAT_HOOK_SIGNAL_POINTER'
|
||||||
|
|
||||||
Differences with C API
|
|
||||||
~~~~~~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
Pointers
|
|
||||||
^^^^^^^^
|
|
||||||
|
|
||||||
As you probably know, there is not really "pointers" in scripts. So when API
|
|
||||||
functions return pointer, it is converted to string for script.
|
|
||||||
|
|
||||||
For example, if function return pointer 0x1234ab56, script will get string
|
|
||||||
"0x1234ab56".
|
|
||||||
|
|
||||||
And when an API function expects a pointer in arguments, script must give that
|
|
||||||
string value. C plugin will convert it to real pointer before calling C API
|
|
||||||
function.
|
|
||||||
|
|
||||||
Empty string or "0x0" are allowed, they means NULL in C.
|
|
||||||
For example, to print data on core buffer (WeeChat main buffer), you can do:
|
|
||||||
|
|
||||||
[source,python]
|
|
||||||
----------------------------------------
|
|
||||||
weechat.prnt("", "hi!")
|
|
||||||
----------------------------------------
|
|
||||||
|
|
||||||
[WARNING]
|
|
||||||
In many functions, for speed reasons, WeeChat does not check if your pointer
|
|
||||||
is correct or not. It's your job to check you're giving a valid pointer,
|
|
||||||
otherwise you may see a nice crash report ;)
|
|
||||||
|
|
||||||
Callbacks
|
|
||||||
^^^^^^^^^
|
|
||||||
|
|
||||||
Almost all WeeChat callbacks must return WEECHAT_RC_OK or WEECHAT_RC_ERROR
|
|
||||||
(exception is modifier callback, which returns a string).
|
|
||||||
|
|
||||||
C callbacks are using a "data" argument, which is a pointer. In script API,
|
|
||||||
this "data" is a string with a any value (it's not a pointer).
|
|
||||||
|
|
||||||
For example:
|
|
||||||
|
|
||||||
[source,python]
|
|
||||||
----------------------------------------
|
|
||||||
weechat.hook_timer(1000, 0, 1, "my_timer_cb", "my data")
|
|
||||||
|
|
||||||
def my_timer_cb(data, remaining_calls):
|
|
||||||
# this will display: "my data"
|
|
||||||
weechat.prnt("", data)
|
|
||||||
return weechat.WEECHAT_RC_OK
|
|
||||||
----------------------------------------
|
|
||||||
|
|||||||
+233
-31
@@ -75,6 +75,7 @@ Source package
|
|||||||
|
|
||||||
WeeChat can be compiled with cmake or autotools (cmake is recommended way).
|
WeeChat can be compiled with cmake or autotools (cmake is recommended way).
|
||||||
|
|
||||||
|
[[compile_with_cmake]]
|
||||||
With cmake
|
With cmake
|
||||||
^^^^^^^^^^
|
^^^^^^^^^^
|
||||||
|
|
||||||
@@ -98,6 +99,7 @@ $ make
|
|||||||
$ make install
|
$ make install
|
||||||
----------------------------------------
|
----------------------------------------
|
||||||
|
|
||||||
|
[[compile_with_autotools]]
|
||||||
With autotools
|
With autotools
|
||||||
^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^
|
||||||
|
|
||||||
@@ -235,65 +237,65 @@ Screen is composed by following areas:
|
|||||||
|
|
||||||
Bar 'status' has following default items:
|
Bar 'status' has following default items:
|
||||||
|
|
||||||
[width="100%",cols="^3,^3,10",options="header"]
|
[width="100%",cols="^3,^3l,10",options="header"]
|
||||||
|========================================
|
|========================================
|
||||||
| Item | Example | Description
|
| Item | Example | Description
|
||||||
|
|
||||||
| time | `[12:55]` |
|
| time | [12:55] |
|
||||||
time
|
time
|
||||||
|
|
||||||
| buffer_count | `[4]` |
|
| buffer_count | [4] |
|
||||||
number of opened buffers
|
number of opened buffers
|
||||||
|
|
||||||
| buffer_plugin | `[irc]` |
|
| buffer_plugin | [irc/freenode] |
|
||||||
plugin of current buffer (irc plugin can add IRC server name used by buffer)
|
plugin of current buffer (irc plugin can add IRC server name used by buffer)
|
||||||
|
|
||||||
| buffer_number | `3` |
|
| buffer_number | 3 |
|
||||||
current buffer number
|
current buffer number
|
||||||
|
|
||||||
| buffer_name | `freenode/#test(+n)` |
|
| buffer_name | #test(+n) |
|
||||||
current buffer name
|
current buffer name
|
||||||
|
|
||||||
| buffer_nicklist_count | `{5}` |
|
| buffer_nicklist_count | {5} |
|
||||||
number of nicks in nicklist
|
number of nicks in nicklist
|
||||||
|
|
||||||
| buffer_filter | `*` |
|
| buffer_filter | * |
|
||||||
filtering indicator: `*` means some lines are filtered (hidden), empty value
|
filtering indicator: `*` means some lines are filtered (hidden), empty value
|
||||||
means all lines are displayed
|
means all lines are displayed
|
||||||
|
|
||||||
| lag | `[Lag: 2.5]` |
|
| lag | [Lag: 2.5] |
|
||||||
lag indicator, in seconds (hidden if lag is low)
|
lag indicator, in seconds (hidden if lag is low)
|
||||||
|
|
||||||
| hotlist | `[Act: 4,2]` |
|
| hotlist | [Act: 4,2] |
|
||||||
list of buffers with activity (unread messages)
|
list of buffers with activity (unread messages)
|
||||||
|
|
||||||
| completion | `abc(2) def(5)` |
|
| completion | abc(2) def(5) |
|
||||||
list of words for completion, with number of possible completions for each
|
list of words for completion, with number of possible completions for each
|
||||||
word
|
word
|
||||||
|
|
||||||
| scroll | `-MORE(50)-` |
|
| scroll | -MORE(50)- |
|
||||||
scroll indicator, with number of lines below last line displayed
|
scroll indicator, with number of lines below last line displayed
|
||||||
|========================================
|
|========================================
|
||||||
|
|
||||||
Bar 'input' has following default items:
|
Bar 'input' has following default items:
|
||||||
|
|
||||||
[width="100%",cols="^3,^6,8",options="header"]
|
[width="100%",cols="^3,^6m,8",options="header"]
|
||||||
|========================================
|
|========================================
|
||||||
| Item | Example | Description
|
| Item | Example | Description
|
||||||
|
|
||||||
| input_paste | `[Paste 7 lines ? [ctrl-Y] Yes [ctrl-N] No]` |
|
| input_paste | [Paste 7 lines ? [ctrl-Y] Yes [ctrl-N] No] |
|
||||||
question to user for pasting lines
|
question to user for pasting lines
|
||||||
|
|
||||||
| input_prompt | `[nick]` |
|
| input_prompt | [nick] |
|
||||||
input prompt (nick for irc plugin)
|
input prompt (nick for irc plugin)
|
||||||
|
|
||||||
| away | `(away)` |
|
| away | (away) |
|
||||||
away indicator
|
away indicator
|
||||||
|
|
||||||
| input_search | `[Text search]` |
|
| input_search | [Text search] |
|
||||||
text search indicator
|
text search indicator
|
||||||
|
|
||||||
| input_text | `bla bla...` |
|
| input_text | bla bla... |
|
||||||
input text
|
input text
|
||||||
|========================================
|
|========================================
|
||||||
|
|
||||||
@@ -301,6 +303,7 @@ Bar 'input' has following default items:
|
|||||||
Default key bindings
|
Default key bindings
|
||||||
~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
[[key_bindings_command_line]]
|
||||||
Keys for command line
|
Keys for command line
|
||||||
^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
@@ -437,14 +440,16 @@ Keys for command line
|
|||||||
`/input delete_next_word`
|
`/input delete_next_word`
|
||||||
|
|
||||||
| Alt + K |
|
| Alt + K |
|
||||||
Grab a key and insert its code in command line +
|
Grab a key and insert its code (and command bound if key exists) in command
|
||||||
`/input grab_key`
|
line +
|
||||||
|
`/input grab_key_command`
|
||||||
|
|
||||||
| Alt + R` +
|
| Alt + R |
|
||||||
Delete entire command line +
|
Delete entire command line +
|
||||||
`/input delete_line`
|
`/input delete_line`
|
||||||
|========================================
|
|========================================
|
||||||
|
|
||||||
|
[[key_bindings_buffers_windows]]
|
||||||
Keys for buffers / windows
|
Keys for buffers / windows
|
||||||
^^^^^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
@@ -505,6 +510,7 @@ Keys for buffers / windows
|
|||||||
| F7 |
|
| F7 |
|
||||||
Switch to previous window +
|
Switch to previous window +
|
||||||
`/window -1`
|
`/window -1`
|
||||||
|
|
||||||
| F8 |
|
| F8 |
|
||||||
Switch to next window +
|
Switch to next window +
|
||||||
`/window +1`
|
`/window +1`
|
||||||
@@ -591,6 +597,7 @@ Keys for buffers / windows
|
|||||||
`/input jump_next_visited_buffer`
|
`/input jump_next_visited_buffer`
|
||||||
|========================================
|
|========================================
|
||||||
|
|
||||||
|
[[key_bindings_other]]
|
||||||
Other keys
|
Other keys
|
||||||
^^^^^^^^^^
|
^^^^^^^^^^
|
||||||
|
|
||||||
@@ -614,6 +621,7 @@ Command line
|
|||||||
WeeChat command line (at the bottom of window) lets you execute commands or
|
WeeChat command line (at the bottom of window) lets you execute commands or
|
||||||
send text to buffer.
|
send text to buffer.
|
||||||
|
|
||||||
|
[[command_line_syntax]]
|
||||||
Syntax
|
Syntax
|
||||||
^^^^^^
|
^^^^^^
|
||||||
|
|
||||||
@@ -638,6 +646,7 @@ For example, to send text '/set' on current buffer:
|
|||||||
//set
|
//set
|
||||||
----------------------------------------
|
----------------------------------------
|
||||||
|
|
||||||
|
[[command_line_colors]]
|
||||||
Colors
|
Colors
|
||||||
^^^^^^
|
^^^^^^
|
||||||
|
|
||||||
@@ -707,6 +716,7 @@ Colors for Curses GUI are:
|
|||||||
|========================================
|
|========================================
|
||||||
| default | default terminal color (transparent for background)
|
| default | default terminal color (transparent for background)
|
||||||
| black | black
|
| black | black
|
||||||
|
| darkgray | dark gray
|
||||||
| red | dark red
|
| red | dark red
|
||||||
| lightred | light red
|
| lightred | light red
|
||||||
| green | dark green
|
| green | dark green
|
||||||
@@ -792,6 +802,7 @@ Alias plugin
|
|||||||
Alias plugin lets you create alias for commands (from WeeChat or other
|
Alias plugin lets you create alias for commands (from WeeChat or other
|
||||||
plugins).
|
plugins).
|
||||||
|
|
||||||
|
[[alias_commands]]
|
||||||
Commands
|
Commands
|
||||||
^^^^^^^^
|
^^^^^^^^
|
||||||
|
|
||||||
@@ -804,11 +815,13 @@ Aspell plugin
|
|||||||
Aspell plugin lets you check spelling in command line. It is possible to use
|
Aspell plugin lets you check spelling in command line. It is possible to use
|
||||||
many languages by buffer.
|
many languages by buffer.
|
||||||
|
|
||||||
|
[[aspell_options]]
|
||||||
Options (aspell.conf)
|
Options (aspell.conf)
|
||||||
^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
include::autogen/user/aspell_options.txt[]
|
include::autogen/user/aspell_options.txt[]
|
||||||
|
|
||||||
|
[[aspell_commands]]
|
||||||
Commands
|
Commands
|
||||||
^^^^^^^^
|
^^^^^^^^
|
||||||
|
|
||||||
@@ -851,16 +864,19 @@ For example:
|
|||||||
charset: terminal: ISO-8859-15, internal: UTF-8
|
charset: terminal: ISO-8859-15, internal: UTF-8
|
||||||
........................................
|
........................................
|
||||||
|
|
||||||
|
[[charset_options]]
|
||||||
Options (charset.conf)
|
Options (charset.conf)
|
||||||
^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
include::autogen/user/charset_options.txt[]
|
include::autogen/user/charset_options.txt[]
|
||||||
|
|
||||||
|
[[charset_commands]]
|
||||||
Commands
|
Commands
|
||||||
^^^^^^^^
|
^^^^^^^^
|
||||||
|
|
||||||
include::autogen/user/charset_commands.txt[]
|
include::autogen/user/charset_commands.txt[]
|
||||||
|
|
||||||
|
[[charset_set]]
|
||||||
Set charset
|
Set charset
|
||||||
^^^^^^^^^^^
|
^^^^^^^^^^^
|
||||||
|
|
||||||
@@ -905,6 +921,7 @@ To see all charsets used, use following command:
|
|||||||
/set charset.*
|
/set charset.*
|
||||||
----------------------------------------
|
----------------------------------------
|
||||||
|
|
||||||
|
[[charset_troubleshooting]]
|
||||||
Troubleshooting
|
Troubleshooting
|
||||||
^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
@@ -983,6 +1000,7 @@ The IRC plugin is designed to chat through IRC protocol with other people.
|
|||||||
It is multi-servers, and offers all supported IRC commands including DCC chat
|
It is multi-servers, and offers all supported IRC commands including DCC chat
|
||||||
and file transfer (via xfer plugin, see <<xfer_plugin>>).
|
and file transfer (via xfer plugin, see <<xfer_plugin>>).
|
||||||
|
|
||||||
|
[[irc_command_line_options]]
|
||||||
Command line options
|
Command line options
|
||||||
^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
@@ -999,16 +1017,187 @@ default port (6667), with nick 'nono':
|
|||||||
$ weechat-curses irc://nono@irc.freenode.net/#weechat,#toto
|
$ weechat-curses irc://nono@irc.freenode.net/#weechat,#toto
|
||||||
----------------------------------------
|
----------------------------------------
|
||||||
|
|
||||||
|
[[irc_options]]
|
||||||
Options (irc.conf)
|
Options (irc.conf)
|
||||||
^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
include::autogen/user/irc_options.txt[]
|
include::autogen/user/irc_options.txt[]
|
||||||
|
|
||||||
|
[[irc_commands]]
|
||||||
Commands
|
Commands
|
||||||
^^^^^^^^
|
^^^^^^^^
|
||||||
|
|
||||||
include::autogen/user/irc_commands.txt[]
|
include::autogen/user/irc_commands.txt[]
|
||||||
|
|
||||||
|
[[irc_ctcp_replies]]
|
||||||
|
CTCP replies
|
||||||
|
^^^^^^^^^^^^
|
||||||
|
|
||||||
|
It is possible to customize CTCP replies, or block some CTCP queries (do not
|
||||||
|
reply).
|
||||||
|
|
||||||
|
For example, to customize reply to CTCP "VERSION", use following command:
|
||||||
|
|
||||||
|
----------------------------------------
|
||||||
|
/set irc.ctcp.version "I'm running WeeChat $version, it rocks!"
|
||||||
|
----------------------------------------
|
||||||
|
|
||||||
|
If you want to block CTCP "VERSION" (do not reply to a query), then set empty
|
||||||
|
string:
|
||||||
|
|
||||||
|
----------------------------------------
|
||||||
|
/set irc.ctcp.version ""
|
||||||
|
----------------------------------------
|
||||||
|
|
||||||
|
Even unknown CTCP can be customized, for example you can reply to
|
||||||
|
CTCP "BLABLA":
|
||||||
|
|
||||||
|
----------------------------------------
|
||||||
|
/set irc.ctcp.blabla "This is my answer to CTCP BLABLA"
|
||||||
|
----------------------------------------
|
||||||
|
|
||||||
|
It is possible to customize CTCP for one server only, using its internal name
|
||||||
|
before CTCP name:
|
||||||
|
|
||||||
|
----------------------------------------
|
||||||
|
/set irc.ctcp.freenode.version "WeeChat $version (for freenode)"
|
||||||
|
----------------------------------------
|
||||||
|
|
||||||
|
If you want to restore standard CTCP reply, then remove option:
|
||||||
|
|
||||||
|
----------------------------------------
|
||||||
|
/unset irc.ctcp.version
|
||||||
|
----------------------------------------
|
||||||
|
|
||||||
|
Following codes can be used in strings and are automatically expanded by WeeChat
|
||||||
|
when replying to CTCP:
|
||||||
|
|
||||||
|
[width="100%",cols="^2l,4,8l",options="header"]
|
||||||
|
|========================================
|
||||||
|
| Code | Description | Value/example
|
||||||
|
| $clientinfo | list of supported CTCP | ACTION DCC CLIENTINFO FINGER PING SOURCE TIME USERINFO VERSION
|
||||||
|
| $version | WeeChat version | 0.3.0
|
||||||
|
| $compilation | WeeChat compilation date | Sep 13 2009
|
||||||
|
| $osinfo | info about OS | Linux 2.6.31 / i686
|
||||||
|
| $site | WeeChat site | http://www.weechat.org
|
||||||
|
| $download | WeeChat site, download page | http://www.weechat.org/download
|
||||||
|
| $time | current date/time | Sun Sep 13 15:48:31 2009
|
||||||
|
| $username | username on IRC server | nick
|
||||||
|
| $realname | realname on IRC server | My name
|
||||||
|
|========================================
|
||||||
|
|
||||||
|
If CTCP options are not defined (by default), CTCP replies are:
|
||||||
|
|
||||||
|
[width="100%",cols="^2,4l,8l",options="header"]
|
||||||
|
|========================================
|
||||||
|
| CTCP | Reply format | Example
|
||||||
|
| CLIENTINFO | $clientinfo | ACTION DCC CLIENTINFO FINGER PING SOURCE TIME USERINFO VERSION
|
||||||
|
| FINGER | WeeChat $version | WeeChat 0.3.0
|
||||||
|
| SOURCE | $download | http://www.weechat.org/download
|
||||||
|
| TIME | $time | Sun Sep 13 15:48:31 2009
|
||||||
|
| USERINFO | $username ($realname) | nick (My name)
|
||||||
|
| VERSION | WeeChat $version ($compilation) | WeeChat 0.3.0 (Sep 13 2009)
|
||||||
|
|========================================
|
||||||
|
|
||||||
|
[[irc_target_buffer]]
|
||||||
|
Target buffer for IRC messages
|
||||||
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
It is possible to customize target buffer for IRC messages (buffer used to
|
||||||
|
display message) with options `irc.msgbuffer.*`.
|
||||||
|
|
||||||
|
For some IRC messages (see list below), you can use value:
|
||||||
|
|
||||||
|
current::
|
||||||
|
current buffer (if it's IRC buffer, or on server buffer by default)
|
||||||
|
|
||||||
|
private::
|
||||||
|
private buffer for nick, or current/server buffer if not found (according
|
||||||
|
to option 'irc.look.msgbuffer_fallback')
|
||||||
|
|
||||||
|
weechat::
|
||||||
|
WeeChat "core" buffer
|
||||||
|
|
||||||
|
Default is server buffer (when option is not set).
|
||||||
|
|
||||||
|
Non-exhaustive list of IRC messages or alias that you can customize:
|
||||||
|
|
||||||
|
[width="50%",cols="^1m,^1m,3",options="header"]
|
||||||
|
|========================================
|
||||||
|
| message | alias | description
|
||||||
|
| invite | | invited on a channel
|
||||||
|
| notice | | notice
|
||||||
|
| wallops | | wallops
|
||||||
|
| 221 | | user mode string
|
||||||
|
| 275 | whois | whois (secure connection)
|
||||||
|
| 303 | | ison
|
||||||
|
| 305 | unaway | unaway
|
||||||
|
| 306 | away | away
|
||||||
|
| 307 | whois | whois (registered nick)
|
||||||
|
| 310 | whois | whois (help mode)
|
||||||
|
| 311 | whois | whois (user)
|
||||||
|
| 312 | whois | whois (server)
|
||||||
|
| 313 | whois | whois (operator)
|
||||||
|
| 314 | whowas | whowas
|
||||||
|
| 315 | who | who (end)
|
||||||
|
| 317 | whois | whois (idle)
|
||||||
|
| 318 | whois | whois (end)
|
||||||
|
| 319 | whois | whois (channels)
|
||||||
|
| 320 | whois | whois (identified user)
|
||||||
|
| 321 | list | list (start)
|
||||||
|
| 322 | list | list (channel)
|
||||||
|
| 323 | list | list (end)
|
||||||
|
| 326 | whois | whois (has oper privs)
|
||||||
|
| 327 | whois | whois (host)
|
||||||
|
| 330 | whois | whois (logged in as)
|
||||||
|
| 335 | whois | whois (is a bot on)
|
||||||
|
| 338 | whois | whois (host)
|
||||||
|
| 341 | | inviting
|
||||||
|
| 344 | reop | channel reop
|
||||||
|
| 345 | reop | channel reop (end)
|
||||||
|
| 351 | | server version
|
||||||
|
| 352 | who | who
|
||||||
|
| 369 | whowas | whowas (end)
|
||||||
|
| 378 | whois | whois (connecting from)
|
||||||
|
| 379 | whois | whois (using modes)
|
||||||
|
| 432 | | erroneous nickname
|
||||||
|
| 433 | | nickname already in use
|
||||||
|
| 438 | | not authorized to change nickname
|
||||||
|
| 671 | whois | whois (secure connection)
|
||||||
|
| 901 | | you are now logged in
|
||||||
|
|========================================
|
||||||
|
|
||||||
|
Other numeric commands can be customized as well.
|
||||||
|
|
||||||
|
Message can be prefixed by server name to be specific to an irc server
|
||||||
|
(for example: `freenode.whois`).
|
||||||
|
|
||||||
|
Some examples:
|
||||||
|
|
||||||
|
* display result of `/whois` on private buffer:
|
||||||
|
|
||||||
|
----------------------------------------
|
||||||
|
/set irc.msgbuffer.whois private
|
||||||
|
----------------------------------------
|
||||||
|
|
||||||
|
* restore default buffer for whois (server buffer):
|
||||||
|
|
||||||
|
----------------------------------------
|
||||||
|
/unset irc.msgbuffer.whois
|
||||||
|
----------------------------------------
|
||||||
|
|
||||||
|
* display invitation on current buffer, only for "freenode" server:
|
||||||
|
|
||||||
|
----------------------------------------
|
||||||
|
/set irc.msgbuffer.freenode.invite current
|
||||||
|
----------------------------------------
|
||||||
|
|
||||||
|
* display message "303" (ison) on WeeChat "core" buffer:
|
||||||
|
|
||||||
|
----------------------------------------
|
||||||
|
/set irc.msgbuffer.303 weechat
|
||||||
|
----------------------------------------
|
||||||
|
|
||||||
[[logger_plugin]]
|
[[logger_plugin]]
|
||||||
Logger plugin
|
Logger plugin
|
||||||
~~~~~~~~~~~~~
|
~~~~~~~~~~~~~
|
||||||
@@ -1016,16 +1205,19 @@ Logger plugin
|
|||||||
The Logger plugin lets you save content of buffers to files, with options
|
The Logger plugin lets you save content of buffers to files, with options
|
||||||
about what and how it is saved.
|
about what and how it is saved.
|
||||||
|
|
||||||
|
[[logger_options]]
|
||||||
Options (logger.conf)
|
Options (logger.conf)
|
||||||
^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
include::autogen/user/logger_options.txt[]
|
include::autogen/user/logger_options.txt[]
|
||||||
|
|
||||||
|
[[logger_commands]]
|
||||||
Commands
|
Commands
|
||||||
^^^^^^^^
|
^^^^^^^^
|
||||||
|
|
||||||
include::autogen/user/logger_commands.txt[]
|
include::autogen/user/logger_commands.txt[]
|
||||||
|
|
||||||
|
[[logger_log_levels]]
|
||||||
Log levels
|
Log levels
|
||||||
^^^^^^^^^^
|
^^^^^^^^^^
|
||||||
|
|
||||||
@@ -1073,6 +1265,7 @@ Some examples:
|
|||||||
/set logger.level.irc 2
|
/set logger.level.irc 2
|
||||||
----------------------------------------
|
----------------------------------------
|
||||||
|
|
||||||
|
[[logger_filenames_masks]]
|
||||||
Filenames masks
|
Filenames masks
|
||||||
^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
@@ -1116,28 +1309,33 @@ These plugins can load, execute and unload scripts for these languages.
|
|||||||
For more information about how to write scripts, or WeeChat API for
|
For more information about how to write scripts, or WeeChat API for
|
||||||
scripts, please read 'WeeChat Scripting Guide'.
|
scripts, please read 'WeeChat Scripting Guide'.
|
||||||
|
|
||||||
You can find some scripts for WeeChat here: http://www.weechat.org/plugins
|
You can find some scripts for WeeChat here: http://www.weechat.org/scripts
|
||||||
|
|
||||||
|
[[perl_commands]]
|
||||||
Perl commands
|
Perl commands
|
||||||
^^^^^^^^^^^^^
|
^^^^^^^^^^^^^
|
||||||
|
|
||||||
include::autogen/user/perl_commands.txt[]
|
include::autogen/user/perl_commands.txt[]
|
||||||
|
|
||||||
|
[[python_commands]]
|
||||||
Python commands
|
Python commands
|
||||||
^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
include::autogen/user/python_commands.txt[]
|
include::autogen/user/python_commands.txt[]
|
||||||
|
|
||||||
|
[[ruby_commands]]
|
||||||
Ruby commands
|
Ruby commands
|
||||||
^^^^^^^^^^^^^
|
^^^^^^^^^^^^^
|
||||||
|
|
||||||
include::autogen/user/ruby_commands.txt[]
|
include::autogen/user/ruby_commands.txt[]
|
||||||
|
|
||||||
|
[[lua_commands]]
|
||||||
Lua commands
|
Lua commands
|
||||||
^^^^^^^^^^^^
|
^^^^^^^^^^^^
|
||||||
|
|
||||||
include::autogen/user/lua_commands.txt[]
|
include::autogen/user/lua_commands.txt[]
|
||||||
|
|
||||||
|
[[tcl_commands]]
|
||||||
Tcl commands
|
Tcl commands
|
||||||
^^^^^^^^^^^^
|
^^^^^^^^^^^^
|
||||||
|
|
||||||
@@ -1153,11 +1351,13 @@ Xfer plugin brings:
|
|||||||
IRC plugin
|
IRC plugin
|
||||||
* file transfer, for example "DCC" via IRC plugin
|
* file transfer, for example "DCC" via IRC plugin
|
||||||
|
|
||||||
|
[[xfer_options]]
|
||||||
Options (xfer.conf)
|
Options (xfer.conf)
|
||||||
^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
include::autogen/user/xfer_options.txt[]
|
include::autogen/user/xfer_options.txt[]
|
||||||
|
|
||||||
|
[[xfer_commands]]
|
||||||
Commands
|
Commands
|
||||||
^^^^^^^^
|
^^^^^^^^
|
||||||
|
|
||||||
@@ -1191,6 +1391,7 @@ Jiri Golembiovsky::
|
|||||||
soltys::
|
soltys::
|
||||||
polish translation
|
polish translation
|
||||||
|
|
||||||
|
Nils Görs::
|
||||||
rettub::
|
rettub::
|
||||||
Frank Zacharias::
|
Frank Zacharias::
|
||||||
german translation
|
german translation
|
||||||
@@ -1204,21 +1405,22 @@ m4v::
|
|||||||
Voroskoi::
|
Voroskoi::
|
||||||
hungarian translation
|
hungarian translation
|
||||||
|
|
||||||
Rudolf Polzer::
|
Marco Paolone::
|
||||||
patches
|
italian translation
|
||||||
|
|
||||||
|
Dmitry Kobylin::
|
||||||
|
tcl plugin
|
||||||
|
|
||||||
|
Rudolf Polzer::
|
||||||
Jim Ramsay::
|
Jim Ramsay::
|
||||||
|
Pistos::
|
||||||
|
Gwenn::
|
||||||
|
Dominik Honnef::
|
||||||
patches
|
patches
|
||||||
|
|
||||||
Odin::
|
Odin::
|
||||||
SuSE RPM
|
SuSE RPM
|
||||||
|
|
||||||
Pistos::
|
|
||||||
patches
|
|
||||||
|
|
||||||
Gwenn::
|
|
||||||
patches
|
|
||||||
|
|
||||||
|
|
||||||
[[support]]
|
[[support]]
|
||||||
Support
|
Support
|
||||||
|
|||||||
+12
-12
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (c) 2003-2009 FlashCode <flashcode@flashtux.org>
|
# Copyright (c) 2003-2010 by FlashCode <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# 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
|
# it under the terms of the GNU General Public License as published by
|
||||||
@@ -17,26 +17,26 @@
|
|||||||
# user's guide
|
# user's guide
|
||||||
ADD_CUSTOM_COMMAND(
|
ADD_CUSTOM_COMMAND(
|
||||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.fr.html
|
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.fr.html
|
||||||
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a toclevels=3 -a toc_title='Table des matières' -a date=`date "+%F"` -a revision="${VERSION}" -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.fr.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.fr.txt
|
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a toclevels=3 -a toc-title='Table des matières' -a date=`date "+%F"` -a revision="${VERSION}" -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.fr.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.fr.txt
|
||||||
DEPENDS
|
DEPENDS
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.fr.txt
|
${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.fr.txt
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/autogen/user/*.txt
|
${CMAKE_CURRENT_SOURCE_DIR}/autogen/user/*.txt
|
||||||
COMMENT "Building weechat_user.fr.html"
|
COMMENT "Building weechat_user.fr.html"
|
||||||
)
|
)
|
||||||
ADD_CUSTOM_TARGET(doc-user-fr ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.fr.html)
|
ADD_CUSTOM_TARGET(doc-user-fr ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.fr.html)
|
||||||
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.fr.html DESTINATION share/doc/${PROJECT_NAME})
|
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.fr.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
|
||||||
|
|
||||||
# plugin API reference
|
# plugin API reference
|
||||||
ADD_CUSTOM_COMMAND(
|
ADD_CUSTOM_COMMAND(
|
||||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_plugin_api.fr.html
|
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_plugin_api.fr.html
|
||||||
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a toclevels=3 -a toc_title='Table des matières' -a date=`date "+%F"` -a revision="${VERSION}" -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_plugin_api.fr.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_plugin_api.fr.txt
|
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a toclevels=3 -a toc-title='Table des matières' -a date=`date "+%F"` -a revision="${VERSION}" -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_plugin_api.fr.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_plugin_api.fr.txt
|
||||||
DEPENDS
|
DEPENDS
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/weechat_plugin_api.fr.txt
|
${CMAKE_CURRENT_SOURCE_DIR}/weechat_plugin_api.fr.txt
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/autogen/plugin_api/*.txt
|
${CMAKE_CURRENT_SOURCE_DIR}/autogen/plugin_api/*.txt
|
||||||
COMMENT "Building weechat_plugin_api.fr.html"
|
COMMENT "Building weechat_plugin_api.fr.html"
|
||||||
)
|
)
|
||||||
ADD_CUSTOM_TARGET(doc-plugin-api-fr ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_plugin_api.fr.html)
|
ADD_CUSTOM_TARGET(doc-plugin-api-fr ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_plugin_api.fr.html)
|
||||||
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_plugin_api.fr.html DESTINATION share/doc/${PROJECT_NAME})
|
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_plugin_api.fr.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
|
||||||
|
|
||||||
# scripting guide
|
# scripting guide
|
||||||
ADD_CUSTOM_COMMAND(
|
ADD_CUSTOM_COMMAND(
|
||||||
@@ -47,37 +47,37 @@ ADD_CUSTOM_COMMAND(
|
|||||||
COMMENT "Building weechat_scripting.fr.html"
|
COMMENT "Building weechat_scripting.fr.html"
|
||||||
)
|
)
|
||||||
ADD_CUSTOM_TARGET(doc-scripting-fr ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.fr.html)
|
ADD_CUSTOM_TARGET(doc-scripting-fr ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.fr.html)
|
||||||
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.fr.html DESTINATION share/doc/${PROJECT_NAME})
|
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.fr.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
|
||||||
|
|
||||||
# FAQ
|
# FAQ
|
||||||
ADD_CUSTOM_COMMAND(
|
ADD_CUSTOM_COMMAND(
|
||||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.fr.html
|
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.fr.html
|
||||||
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a toc_title='Table des matières' -a date=`date "+%F"` -a revision="${VERSION}" -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.fr.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.fr.txt
|
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a toc-title='Table des matières' -a date=`date "+%F"` -a revision="${VERSION}" -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.fr.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.fr.txt
|
||||||
DEPENDS
|
DEPENDS
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.fr.txt
|
${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.fr.txt
|
||||||
COMMENT "Building weechat_faq.fr.html"
|
COMMENT "Building weechat_faq.fr.html"
|
||||||
)
|
)
|
||||||
ADD_CUSTOM_TARGET(doc-faq-fr ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.fr.html)
|
ADD_CUSTOM_TARGET(doc-faq-fr ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.fr.html)
|
||||||
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.fr.html DESTINATION share/doc/${PROJECT_NAME})
|
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.fr.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
|
||||||
|
|
||||||
# quickstart
|
# quickstart
|
||||||
ADD_CUSTOM_COMMAND(
|
ADD_CUSTOM_COMMAND(
|
||||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.fr.html
|
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.fr.html
|
||||||
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a toc_title='Table des matières' -a date=`date "+%F"` -a revision="${VERSION}" -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.fr.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.fr.txt
|
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a toc-title='Table des matières' -a date=`date "+%F"` -a revision="${VERSION}" -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.fr.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.fr.txt
|
||||||
DEPENDS
|
DEPENDS
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.fr.txt
|
${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.fr.txt
|
||||||
COMMENT "Building weechat_quickstart.fr.html"
|
COMMENT "Building weechat_quickstart.fr.html"
|
||||||
)
|
)
|
||||||
ADD_CUSTOM_TARGET(doc-quickstart-fr ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.fr.html)
|
ADD_CUSTOM_TARGET(doc-quickstart-fr ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.fr.html)
|
||||||
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.fr.html DESTINATION share/doc/${PROJECT_NAME})
|
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.fr.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
|
||||||
|
|
||||||
# tester's guide
|
# tester's guide
|
||||||
ADD_CUSTOM_COMMAND(
|
ADD_CUSTOM_COMMAND(
|
||||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.fr.html
|
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.fr.html
|
||||||
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a toc_title='Table des matières' -a date=`date "+%F"` -a revision="${VERSION}" -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.fr.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.fr.txt
|
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a toc-title='Table des matières' -a date=`date "+%F"` -a revision="${VERSION}" -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.fr.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.fr.txt
|
||||||
DEPENDS
|
DEPENDS
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.fr.txt
|
${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.fr.txt
|
||||||
COMMENT "Building weechat_tester.fr.html"
|
COMMENT "Building weechat_tester.fr.html"
|
||||||
)
|
)
|
||||||
ADD_CUSTOM_TARGET(doc-tester-fr ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.fr.html)
|
ADD_CUSTOM_TARGET(doc-tester-fr ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.fr.html)
|
||||||
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.fr.html DESTINATION share/doc/${PROJECT_NAME})
|
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.fr.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
|
||||||
|
|||||||
+7
-7
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (c) 2003-2009 FlashCode <flashcode@flashtux.org>
|
# Copyright (c) 2003-2010 by FlashCode <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# 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
|
# it under the terms of the GNU General Public License as published by
|
||||||
@@ -35,27 +35,27 @@ all-local: weechat_user.fr.html \
|
|||||||
|
|
||||||
# user's guide
|
# user's guide
|
||||||
weechat_user.fr.html: weechat_user.fr.txt $(wildcard autogen/user/*.txt)
|
weechat_user.fr.html: weechat_user.fr.txt $(wildcard autogen/user/*.txt)
|
||||||
$(ASCIIDOC) -a toc -a toclevels=3 -a toc_title='Table des matières' -a date=`date "+%F"` -a revision="$(VERSION)" -n -o weechat_user.fr.html weechat_user.fr.txt
|
$(ASCIIDOC) -a toc -a toclevels=3 -a toc-title='Table des matières' -a date=`date "+%F"` -a revision="$(VERSION)" -n -o weechat_user.fr.html weechat_user.fr.txt
|
||||||
|
|
||||||
# plugin API reference
|
# plugin API reference
|
||||||
weechat_plugin_api.fr.html: weechat_plugin_api.fr.txt $(wildcard autogen/plugin_api/*.txt)
|
weechat_plugin_api.fr.html: weechat_plugin_api.fr.txt $(wildcard autogen/plugin_api/*.txt)
|
||||||
$(ASCIIDOC) -a toc -a toclevels=3 -a toc_title='Table des matières' -a date=`date "+%F"` -a revision="$(VERSION)" -n -o weechat_plugin_api.fr.html weechat_plugin_api.fr.txt
|
$(ASCIIDOC) -a toc -a toclevels=3 -a toc-title='Table des matières' -a date=`date "+%F"` -a revision="$(VERSION)" -n -o weechat_plugin_api.fr.html weechat_plugin_api.fr.txt
|
||||||
|
|
||||||
# scripting guide
|
# scripting guide
|
||||||
weechat_scripting.fr.html: weechat_scripting.fr.txt
|
weechat_scripting.fr.html: weechat_scripting.fr.txt
|
||||||
$(ASCIIDOC) -a toc -a toclevels=3 -a toc_title='Table des matières' -a date=`date "+%F"` -a revision="$(VERSION)" -n -o weechat_scripting.fr.html weechat_scripting.fr.txt
|
$(ASCIIDOC) -a toc -a toclevels=3 -a toc-title='Table des matières' -a date=`date "+%F"` -a revision="$(VERSION)" -n -o weechat_scripting.fr.html weechat_scripting.fr.txt
|
||||||
|
|
||||||
# FAQ
|
# FAQ
|
||||||
weechat_faq.fr.html: weechat_faq.fr.txt
|
weechat_faq.fr.html: weechat_faq.fr.txt
|
||||||
$(ASCIIDOC) -a toc -a toc_title='Table des matières' -a date=`date "+%F"` -a revision="$(VERSION)" -n -o weechat_faq.fr.html weechat_faq.fr.txt
|
$(ASCIIDOC) -a toc -a toc-title='Table des matières' -a date=`date "+%F"` -a revision="$(VERSION)" -n -o weechat_faq.fr.html weechat_faq.fr.txt
|
||||||
|
|
||||||
# quickstart
|
# quickstart
|
||||||
weechat_quickstart.fr.html: weechat_quickstart.fr.txt
|
weechat_quickstart.fr.html: weechat_quickstart.fr.txt
|
||||||
$(ASCIIDOC) -a toc -a toc_title='Table des matières' -a date=`date "+%F"` -a revision="$(VERSION)" -n -o weechat_quickstart.fr.html weechat_quickstart.fr.txt
|
$(ASCIIDOC) -a toc -a toc-title='Table des matières' -a date=`date "+%F"` -a revision="$(VERSION)" -n -o weechat_quickstart.fr.html weechat_quickstart.fr.txt
|
||||||
|
|
||||||
# tester's guide
|
# tester's guide
|
||||||
weechat_tester.fr.html: weechat_tester.fr.txt
|
weechat_tester.fr.html: weechat_tester.fr.txt
|
||||||
$(ASCIIDOC) -a toc -a toc_title='Table des matières' -a date=`date "+%F"` -a revision="$(VERSION)" -n -o weechat_tester.fr.html weechat_tester.fr.txt
|
$(ASCIIDOC) -a toc -a toc-title='Table des matières' -a date=`date "+%F"` -a revision="$(VERSION)" -n -o weechat_tester.fr.html weechat_tester.fr.txt
|
||||||
|
|
||||||
# install docs
|
# install docs
|
||||||
|
|
||||||
|
|||||||
@@ -39,6 +39,12 @@
|
|||||||
|
|
||||||
| python | python_script | liste des scripts
|
| python | python_script | liste des scripts
|
||||||
|
|
||||||
|
| relay | relay_free_port | premier port libre pour l'extension relay
|
||||||
|
|
||||||
|
| relay | relay_protocol_name | tous les protocole.nom possible pour l'extension relay
|
||||||
|
|
||||||
|
| relay | relay_relays | protocole.nom des relais courants pour l'extension relay
|
||||||
|
|
||||||
| ruby | ruby_script | liste des scripts
|
| ruby | ruby_script | liste des scripts
|
||||||
|
|
||||||
| tcl | tcl_script | liste des scripts
|
| tcl | tcl_script | liste des scripts
|
||||||
|
|||||||
@@ -13,17 +13,17 @@
|
|||||||
|
|
||||||
| logger | logger_buffer | liste des enregistreurs de tampons (loggers)
|
| logger | logger_buffer | liste des enregistreurs de tampons (loggers)
|
||||||
|
|
||||||
| lua | lua_script | list of lua scripts
|
| lua | lua_script | liste des scripts
|
||||||
|
|
||||||
| perl | perl_script | list of perl scripts
|
| perl | perl_script | liste des scripts
|
||||||
|
|
||||||
| python | python_script | list of python scripts
|
| python | python_script | liste des scripts
|
||||||
|
|
||||||
| relay | relay | liste des clients pour le relai
|
| relay | relay | liste des clients pour le relai
|
||||||
|
|
||||||
| ruby | ruby_script | list of ruby scripts
|
| ruby | ruby_script | liste des scripts
|
||||||
|
|
||||||
| tcl | tcl_script | list of tcl scripts
|
| tcl | tcl_script | liste des scripts
|
||||||
|
|
||||||
| weechat | bar | liste des barres
|
| weechat | bar | liste des barres
|
||||||
|
|
||||||
|
|||||||
@@ -9,6 +9,8 @@
|
|||||||
|
|
||||||
| irc | irc_nick | retourne le pseudo utilisé actuellement sur un serveur
|
| irc | irc_nick | retourne le pseudo utilisé actuellement sur un serveur
|
||||||
|
|
||||||
|
| irc | irc_nick_color | retourne la couleur du pseudo
|
||||||
|
|
||||||
| irc | irc_nick_from_host | retourne le pseudo à partir d'un host IRC
|
| irc | irc_nick_from_host | retourne le pseudo à partir d'un host IRC
|
||||||
|
|
||||||
| weechat | charset_internal | charset interne à WeeChat
|
| weechat | charset_internal | charset interne à WeeChat
|
||||||
@@ -33,4 +35,8 @@
|
|||||||
|
|
||||||
| weechat | weechat_sharedir | répertoire "share" de WeeChat
|
| weechat | weechat_sharedir | répertoire "share" de WeeChat
|
||||||
|
|
||||||
|
| weechat | weechat_site | site WeeChat
|
||||||
|
|
||||||
|
| weechat | weechat_site_download | site WeeChat, page de téléchargement
|
||||||
|
|
||||||
|========================================
|
|========================================
|
||||||
|
|||||||
@@ -3,13 +3,21 @@
|
|||||||
........................................
|
........................................
|
||||||
créer un alias pour une commande
|
créer un alias pour une commande
|
||||||
|
|
||||||
nom_alias: nom de l'alias
|
nom_alias: nom de l'alias (peut démarrer ou se terminer par "*" pour une liste d'alias)
|
||||||
commande: nom de la commande (plusieurs commandes peuvent être séparées par des point-virgules)
|
commande: nom de la commande (plusieurs commandes peuvent être séparées par des point-virgules)
|
||||||
paramètres: paramètres pour la commande
|
paramètres: paramètres pour la commande
|
||||||
|
|
||||||
Sans paramètre, cette commande liste tous les alias définis.
|
Sans paramètre, cette commande liste tous les alias définis.
|
||||||
|
|
||||||
Note: dans la commande, les variables spéciales $1, $2,..,$9 sont remplacés par les paramètres donnés par l'utilisateur, et $* est remplacé par tous les paramètres.
|
Note: dans la commande, les variables spéciales sont remplacées :
|
||||||
Les variables $nick, $channel et $server sont remplacées par le pseudo/canal/serveur courant.
|
$n: paramètre 'n' (entre 1 et 9)
|
||||||
|
$-m: paramètres de 1 à 'm'
|
||||||
|
$n-: paramètres de 'n' au dernier
|
||||||
|
$n-m: paramètres de 'n' à 'm'
|
||||||
|
$*: tous les paramètres
|
||||||
|
$~: le dernier paramètre
|
||||||
|
$nick: pseudo courant
|
||||||
|
$channel: canal courant
|
||||||
|
$server: serveur courant
|
||||||
........................................
|
........................................
|
||||||
|
|
||||||
|
|||||||
@@ -6,20 +6,39 @@
|
|||||||
cible: serveur
|
cible: serveur
|
||||||
........................................
|
........................................
|
||||||
|
|
||||||
• *`/ame`* `message`::
|
• *`/allchan`* `[-current] [-exclude=canal[,canal...]] commande [paramètres]`::
|
||||||
|
|
||||||
........................................
|
........................................
|
||||||
envoyer une action CTCP à tous les canaux de tous les serveurs connectés
|
exécuter une commande sur tous les canaux de tous les serveurs connectés
|
||||||
|
|
||||||
message: message à envoyer
|
-current: exécuter la commande pour les canaux du serveur courant seulement
|
||||||
|
-exclude: exclure certains canaux ('*' est autorisé au début ou à la fin du nom du canal, pour exclure plusieurs canaux)
|
||||||
|
commande: commande à exécuter
|
||||||
|
paramètres: paramètres pour la commande
|
||||||
|
|
||||||
|
Exemples :
|
||||||
|
exécuter '/me teste' sur tous les canaux :
|
||||||
|
/allchan me teste
|
||||||
|
dire 'bonjour' partout sauf sur #weechat :
|
||||||
|
/allchan -exclude=#weechat msg * bonjour
|
||||||
|
dire 'bonjour' partout sauf sur #weechat et les canaux commençant par #linux :
|
||||||
|
/allchan -exclude=#weechat,#linux* msg * bonjour
|
||||||
........................................
|
........................................
|
||||||
|
|
||||||
• *`/amsg`* `texte`::
|
• *`/allserv`* `[-exclude=serveur[,serveur...]] commande [paramètres]`::
|
||||||
|
|
||||||
........................................
|
........................................
|
||||||
envoyer un message à tous les canaux de tous les serveurs connectés
|
exécuter une commande sur tous les serveurs connectés
|
||||||
|
|
||||||
texte: texte à envoyer
|
-exclude: exclude certains serveurs ('*' is est autorisé en début ou fin du nom du serveur, pour exclure plusieurs serveurs)
|
||||||
|
commande: commande à exécuter
|
||||||
|
paramètres: paramètres pour la commande
|
||||||
|
|
||||||
|
Exemples :
|
||||||
|
changer de pseudo sur tous les serveurs :
|
||||||
|
/allserv nick newnick
|
||||||
|
positionner l'absence sur tous les serveurs :
|
||||||
|
/allserv away Je suis absent
|
||||||
........................................
|
........................................
|
||||||
|
|
||||||
• *`/away`* `[-all] [message]`::
|
• *`/away`* `[-all] [message]`::
|
||||||
@@ -40,18 +59,25 @@
|
|||||||
pseudo: pseudo ou hôte pour le bannissement
|
pseudo: pseudo ou hôte pour le bannissement
|
||||||
........................................
|
........................................
|
||||||
|
|
||||||
• *`/connect`* `[-all [-nojoin] | nom_serveur [nom_serveur ...] [-nojoin] | nom/IP [-port port] [-ipv6] [-ssl]]`::
|
• *`/connect`* `[-all [-nojoin] | nom_serveur [nom_serveur ...] [-nojoin] | nom[/port] [-option[=valeur]] [-nooption]]`::
|
||||||
|
|
||||||
........................................
|
........................................
|
||||||
se connecter à un/plusieurs serveur(s) IRC
|
se connecter à un/plusieurs serveur(s) IRC
|
||||||
|
|
||||||
-all: se reconnecter à tous les serveurs
|
-all: se reconnecter à tous les serveurs
|
||||||
nom_serveur: nom du serveur pour se connecter
|
nom_serveur: nom du serveur interne pour se connecter (le serveur doit avoir été créé par /server add)
|
||||||
-nojoin: ne rejoindre aucun canal (même si l'autojoin est activé pour le serveur)
|
-nojoin: ne rejoindre aucun canal (même si l'autojoin est activé pour le serveur)
|
||||||
nom/IP: nom/IP pour se connecter
|
nom: nom (ou adresse IP) d'un serveur
|
||||||
port: port pour le serveur (nombre entier, 6667 par défaut)
|
port: port pour le serveur (6667 par défaut)
|
||||||
ipv6: utiliser le protocole IPv6
|
option: définir l'option pour le serveur (pour une option booléenne, la valeur peut être omise)
|
||||||
ssl: utiliser le protocole SSL
|
nooption: définir l'option booléenne à 'off' (par exemple: -nossl)
|
||||||
|
|
||||||
|
Exemples:
|
||||||
|
/connect freenode
|
||||||
|
/connect irc.oftc.net/6667
|
||||||
|
/connect irc6.oftc.net/6667 -ipv6
|
||||||
|
/connect irc6.oftc.net/6697 -ipv6 -ssl
|
||||||
|
/connect my.server.org/6697 -ssl -password=test
|
||||||
........................................
|
........................................
|
||||||
|
|
||||||
• *`/ctcp`* `cible type [arguments]`::
|
• *`/ctcp`* `cible type [arguments]`::
|
||||||
@@ -197,6 +223,10 @@
|
|||||||
canal: canal où l'utilisateur se trouve
|
canal: canal où l'utilisateur se trouve
|
||||||
pseudo: pseudo à éliminer et bannir
|
pseudo: pseudo à éliminer et bannir
|
||||||
commentaire: commentaire pour l'élimination
|
commentaire: commentaire pour l'élimination
|
||||||
|
|
||||||
|
Il est possible d'émiliner/bannir avec un masque, le pseudo sera extrait du masque et remplacé par "*", par exemple :
|
||||||
|
/kickban toto!*@host.com
|
||||||
|
bannira "*!*@host.com" puis éliminera "toto".
|
||||||
........................................
|
........................................
|
||||||
|
|
||||||
• *`/kill`* `pseudo commentaire`::
|
• *`/kill`* `pseudo commentaire`::
|
||||||
@@ -385,10 +415,12 @@
|
|||||||
-nojoin: ne rejoindre aucun canal (même si l'autojoin est activé pour le serveur)
|
-nojoin: ne rejoindre aucun canal (même si l'autojoin est activé pour le serveur)
|
||||||
........................................
|
........................................
|
||||||
|
|
||||||
• *`/rehash`*::
|
• *`/rehash`* `[option]`::
|
||||||
|
|
||||||
........................................
|
........................................
|
||||||
demander au serveur de recharger son fichier de configuration
|
demander au serveur de recharger son fichier de configuration
|
||||||
|
|
||||||
|
option: option supplémentaire, pour certains serveurs
|
||||||
........................................
|
........................................
|
||||||
|
|
||||||
• *`/restart`*::
|
• *`/restart`*::
|
||||||
@@ -397,7 +429,52 @@
|
|||||||
demander au serveur de redémarrer
|
demander au serveur de redémarrer
|
||||||
........................................
|
........................................
|
||||||
|
|
||||||
• *`/server`* `[list [nom_serveur]] | [listfull [nom_serveur]] | [add nom_serveur nom[/port] [-temp] [-auto | -noauto] [-ipv6] [-ssl]] | [copy nom_serveur nouveau_nom_serveur] | [rename nom_serveur nouveau_nom_serveur] | [keep nom_serveur] | [del nom_serveur] | [deloutq] | [jump] | [raw]`::
|
• *`/sajoin`* `pseudo canal[,canal]`::
|
||||||
|
|
||||||
|
........................................
|
||||||
|
force un utilisateur à rejoindre un ou plusieurs canaux
|
||||||
|
|
||||||
|
pseudo: pseudo
|
||||||
|
canal: canal
|
||||||
|
........................................
|
||||||
|
|
||||||
|
• *`/samode`* `mode canal`::
|
||||||
|
|
||||||
|
........................................
|
||||||
|
changer le mode du canal, sans avoir le statut opérateur
|
||||||
|
|
||||||
|
canal: nom du canal
|
||||||
|
mode: mode pour le canal
|
||||||
|
........................................
|
||||||
|
|
||||||
|
• *`/sanick`* `pseudo nouveau_pseudo`::
|
||||||
|
|
||||||
|
........................................
|
||||||
|
force un utilisateur à utiliser un autre pseudo
|
||||||
|
|
||||||
|
pseudo: pseudo
|
||||||
|
nouveau_pseudo: nouveau pseudo
|
||||||
|
........................................
|
||||||
|
|
||||||
|
• *`/sapart`* `pseudo canal[,canal]`::
|
||||||
|
|
||||||
|
........................................
|
||||||
|
force un utilisateur à quitter un ou plusieurs canaux
|
||||||
|
|
||||||
|
pseudo: pseudo
|
||||||
|
canal: canal
|
||||||
|
........................................
|
||||||
|
|
||||||
|
• *`/saquit`* `pseudo raison`::
|
||||||
|
|
||||||
|
........................................
|
||||||
|
force un utilisateur à quitter le serveur avec une raison
|
||||||
|
|
||||||
|
pseudo: pseudo
|
||||||
|
raison: raison
|
||||||
|
........................................
|
||||||
|
|
||||||
|
• *`/server`* `[list [nom_serveur]] | [listfull [nom_serveur]] | [add nom_serveur nom[/port] [-temp] [-option[=valeur]] [-nooption]] | [copy nom_serveur nouveau_nom_serveur] | [rename nom_serveur nouveau_nom_serveur] | [keep nom_serveur] | [del nom_serveur] | [deloutq] | [jump] | [raw]`::
|
||||||
|
|
||||||
........................................
|
........................................
|
||||||
liste, ajoute ou retire des serveurs IRC
|
liste, ajoute ou retire des serveurs IRC
|
||||||
@@ -407,10 +484,9 @@
|
|||||||
add: créer un nouveau serveur
|
add: créer un nouveau serveur
|
||||||
nom_serveur: nom du serveur, pour usage interne et affichage
|
nom_serveur: nom du serveur, pour usage interne et affichage
|
||||||
nom: nom ou adresse IP du serveur avec port en option (defaut: 6667)
|
nom: nom ou adresse IP du serveur avec port en option (defaut: 6667)
|
||||||
auto: se connecter automatiquement au serveur quand WeeChat démarre
|
temp: créer un serveur temporaire (non sauvé)
|
||||||
noauto: ne pas se connecter au serveur quand WeeChat démarre (par défaut)
|
option: définir l'option pour le serveur (pour une option booléenne, la valeur peut être omise)
|
||||||
ipv6: utiliser le protocole IPv6
|
nooption: définir l'option booléenne à 'off' (par exemple: -nossl)
|
||||||
ssl: utiliser le protocole SSL
|
|
||||||
copy: dupliquer un serveur
|
copy: dupliquer un serveur
|
||||||
rename: renommer un serveur
|
rename: renommer un serveur
|
||||||
keep: garder le serveur dans le fichier de configuration (pour les serveurs temporaires seulement)
|
keep: garder le serveur dans le fichier de configuration (pour les serveurs temporaires seulement)
|
||||||
@@ -421,7 +497,7 @@
|
|||||||
|
|
||||||
Exemples:
|
Exemples:
|
||||||
/server listfull
|
/server listfull
|
||||||
/server add oftc irc.oftc.net/6697 -ssl
|
/server add oftc irc.oftc.net/6697 -ssl -autoconnect
|
||||||
/server add oftc6 irc6.oftc.net/6697 -ipv6 -ssl
|
/server add oftc6 irc6.oftc.net/6697 -ipv6 -ssl
|
||||||
/server add freenode2 chat.eu.freenode.net/6667,chat.us.freenode.net/6667
|
/server add freenode2 chat.eu.freenode.net/6667,chat.us.freenode.net/6667
|
||||||
/server copy oftc oftcbis
|
/server copy oftc oftcbis
|
||||||
|
|||||||
@@ -33,6 +33,11 @@
|
|||||||
** type: booléen
|
** type: booléen
|
||||||
** valeurs: on, off (valeur par défaut: on)
|
** valeurs: on, off (valeur par défaut: on)
|
||||||
|
|
||||||
|
* *irc.look.color_pv_nick_like_channel*
|
||||||
|
** description: utiliser la même couleur de pseudo pour le canal et le privé
|
||||||
|
** type: booléen
|
||||||
|
** valeurs: on, off (valeur par défaut: on)
|
||||||
|
|
||||||
* *irc.look.display_away*
|
* *irc.look.display_away*
|
||||||
** description: affiche un message pour l'absence/le retour
|
** description: affiche un message pour l'absence/le retour
|
||||||
** type: entier
|
** type: entier
|
||||||
@@ -43,6 +48,21 @@
|
|||||||
** type: booléen
|
** type: booléen
|
||||||
** valeurs: on, off (valeur par défaut: on)
|
** valeurs: on, off (valeur par défaut: on)
|
||||||
|
|
||||||
|
* *irc.look.display_ctcp_blocked*
|
||||||
|
** description: afficher le message CTCP même s'il est bloqué
|
||||||
|
** type: booléen
|
||||||
|
** valeurs: on, off (valeur par défaut: on)
|
||||||
|
|
||||||
|
* *irc.look.display_ctcp_reply*
|
||||||
|
** description: afficher la réponse CTCP envoyée par WeeChat
|
||||||
|
** type: booléen
|
||||||
|
** valeurs: on, off (valeur par défaut: on)
|
||||||
|
|
||||||
|
* *irc.look.display_ctcp_unknown*
|
||||||
|
** description: afficher le message CTCP même si le CTCP est inconnu
|
||||||
|
** type: booléen
|
||||||
|
** valeurs: on, off (valeur par défaut: on)
|
||||||
|
|
||||||
* *irc.look.display_nick_modes*
|
* *irc.look.display_nick_modes*
|
||||||
** description: affiche les modes du pseudo dans l'objet de barre "input_prompt"
|
** description: affiche les modes du pseudo dans l'objet de barre "input_prompt"
|
||||||
** type: booléen
|
** type: booléen
|
||||||
@@ -68,6 +88,11 @@
|
|||||||
** type: entier
|
** type: entier
|
||||||
** valeurs: buffer_plugin, buffer_name (valeur par défaut: buffer_plugin)
|
** valeurs: buffer_plugin, buffer_name (valeur par défaut: buffer_plugin)
|
||||||
|
|
||||||
|
* *irc.look.msgbuffer_fallback*
|
||||||
|
** description: tampon cible par défaut pour les options msgbuffer quand la cible est "private" et que le tampon privé n'est pas trouvé
|
||||||
|
** type: entier
|
||||||
|
** valeurs: current, server (valeur par défaut: current)
|
||||||
|
|
||||||
* *irc.look.nick_completion_smart*
|
* *irc.look.nick_completion_smart*
|
||||||
** description: complétion intelligente pour les pseudos (complète d'abord avec les personnes qui ont parlé récemment)
|
** description: complétion intelligente pour les pseudos (complète d'abord avec les personnes qui ont parlé récemment)
|
||||||
** type: entier
|
** type: entier
|
||||||
@@ -128,10 +153,15 @@
|
|||||||
** type: booléen
|
** type: booléen
|
||||||
** valeurs: on, off (valeur par défaut: off)
|
** valeurs: on, off (valeur par défaut: off)
|
||||||
|
|
||||||
* *irc.network.anti_flood*
|
* *irc.network.anti_flood_prio_high*
|
||||||
** description: anti-flood: nombre de secondes entre deux messages utilisateur (0 = pas d'anti-flood)
|
** description: anti-flood pour la file d'attente haute priorité : nombre de secondes entre deux messages utilisateur ou commandes envoyés au serveur IRC (0 = pas d'anti-flood)
|
||||||
** type: entier
|
** type: entier
|
||||||
** valeurs: 0 .. 5 (valeur par défaut: 2)
|
** valeurs: 0 .. 60 (valeur par défaut: 2)
|
||||||
|
|
||||||
|
* *irc.network.anti_flood_prio_low*
|
||||||
|
** description: anti-flood pour la file d'attente basse priorité : nombre de secondes entre deux messages envoyés au serveur IRC (messages comme les réponses automatiques aux CTCP) (0 = pas d'anti-flood)
|
||||||
|
** type: entier
|
||||||
|
** valeurs: 0 .. 60 (valeur par défaut: 2)
|
||||||
|
|
||||||
* *irc.network.away_check*
|
* *irc.network.away_check*
|
||||||
** description: intervalle entre deux vérifications des absences (en minutes, 0 = ne jamais vérifier)
|
** description: intervalle entre deux vérifications des absences (en minutes, 0 = ne jamais vérifier)
|
||||||
@@ -141,7 +171,7 @@
|
|||||||
* *irc.network.away_check_max_nicks*
|
* *irc.network.away_check_max_nicks*
|
||||||
** description: ne pas vérifier les pseudos absents lorsqu'il y a un nombre important de pseudos (0 = pas de limite)
|
** description: ne pas vérifier les pseudos absents lorsqu'il y a un nombre important de pseudos (0 = pas de limite)
|
||||||
** type: entier
|
** type: entier
|
||||||
** valeurs: 0 .. 2147483647 (valeur par défaut: 0)
|
** valeurs: 0 .. 2147483647 (valeur par défaut: 25)
|
||||||
|
|
||||||
* *irc.network.colors_receive*
|
* *irc.network.colors_receive*
|
||||||
** description: si désactivé, les codes couleurs des messages entrants sont ignorés
|
** description: si désactivé, les codes couleurs des messages entrants sont ignorés
|
||||||
@@ -164,7 +194,7 @@
|
|||||||
** valeurs: toute chaîne (valeur par défaut: "WeeChat %v")
|
** valeurs: toute chaîne (valeur par défaut: "WeeChat %v")
|
||||||
|
|
||||||
* *irc.network.lag_check*
|
* *irc.network.lag_check*
|
||||||
** description: intervalle entre deux vérifications des absences (en secondes, 0 = ne jamais vérifier)
|
** description: intervalle entre deux vérifications du lag (en secondes, 0 = ne jamais vérifier)
|
||||||
** type: entier
|
** type: entier
|
||||||
** valeurs: 0 .. 2147483647 (valeur par défaut: 60)
|
** valeurs: 0 .. 2147483647 (valeur par défaut: 60)
|
||||||
|
|
||||||
@@ -209,10 +239,15 @@
|
|||||||
** valeurs: 0 .. 65535 (valeur par défaut: 30)
|
** valeurs: 0 .. 65535 (valeur par défaut: 30)
|
||||||
|
|
||||||
* *irc.server_default.autorejoin*
|
* *irc.server_default.autorejoin*
|
||||||
** description: rejoindre automatiquement les canaux quand mis dehors
|
** description: rejoindre automatiquement les canaux après un "kick"
|
||||||
** type: booléen
|
** type: booléen
|
||||||
** valeurs: on, off (valeur par défaut: off)
|
** valeurs: on, off (valeur par défaut: off)
|
||||||
|
|
||||||
|
* *irc.server_default.autorejoin_delay*
|
||||||
|
** description: délai (en secondes) avant de rejoindre automatiquement (après un "kick")
|
||||||
|
** type: entier
|
||||||
|
** valeurs: 0 .. 86400 (valeur par défaut: 30)
|
||||||
|
|
||||||
* *irc.server_default.command*
|
* *irc.server_default.command*
|
||||||
** description: commande(s) à exécuter lorsque connecté au serveur (plusieurs commandes doivent être séparées par ";", utilisez "\;" pour un point-virgule, les variables spéciales $nick, $channel et $server sont remplacées par leur valeur)
|
** description: commande(s) à exécuter lorsque connecté au serveur (plusieurs commandes doivent être séparées par ";", utilisez "\;" pour un point-virgule, les variables spéciales $nick, $channel et $server sont remplacées par leur valeur)
|
||||||
** type: chaîne
|
** type: chaîne
|
||||||
@@ -258,6 +293,21 @@
|
|||||||
** type: booléen
|
** type: booléen
|
||||||
** valeurs: on, off (valeur par défaut: off)
|
** valeurs: on, off (valeur par défaut: off)
|
||||||
|
|
||||||
|
* *irc.server_default.ssl_cert*
|
||||||
|
** description: fichier de certificat ssl utilisé pour identifier automatiquement votre pseudo
|
||||||
|
** type: chaîne
|
||||||
|
** valeurs: toute chaîne (valeur par défaut: "")
|
||||||
|
|
||||||
|
* *irc.server_default.ssl_dhkey_size*
|
||||||
|
** description: taille de clé utilisée pour l'échange de clé Diffie-Hellman
|
||||||
|
** type: entier
|
||||||
|
** valeurs: 0 .. 2147483647 (valeur par défaut: 2048)
|
||||||
|
|
||||||
|
* *irc.server_default.ssl_verify*
|
||||||
|
** description: vérifier que la connexion ssl est entièrement de confiance
|
||||||
|
** type: booléen
|
||||||
|
** valeurs: on, off (valeur par défaut: on)
|
||||||
|
|
||||||
* *irc.server_default.username*
|
* *irc.server_default.username*
|
||||||
** description: nom d'utilisateur pour le serveur
|
** description: nom d'utilisateur pour le serveur
|
||||||
** type: chaîne
|
** type: chaîne
|
||||||
|
|||||||
@@ -1,10 +1,16 @@
|
|||||||
• *`/relay`* `[list | listfull]`::
|
• *`/relay`* `[list | listfull | add protocole.nom port | del protocole.nom]`::
|
||||||
|
|
||||||
........................................
|
........................................
|
||||||
contrôle du relai
|
contrôle du relai
|
||||||
|
|
||||||
list: liste les clients pour le relai
|
list: liste les clients pour le relai
|
||||||
listfull: liste les clients pour le relai (verbeux)
|
listfull: liste les clients pour le relai (verbeux)
|
||||||
|
listrelay: liste les relais (nom et port)
|
||||||
|
add: ajoute un relai pour un protocole + nom
|
||||||
|
del: supprime un relai pour un protocole + nom
|
||||||
|
protocole.nom: protocole et nom à relayer
|
||||||
|
par exemple: irc.freenode
|
||||||
|
port: port utilisé pour le relai
|
||||||
|
|
||||||
Sans paramètre, cette commande ouvre le tampon avec la liste des clients pour le relai.
|
Sans paramètre, cette commande ouvre le tampon avec la liste des clients pour le relai.
|
||||||
........................................
|
........................................
|
||||||
|
|||||||
@@ -43,13 +43,8 @@
|
|||||||
** type: booléen
|
** type: booléen
|
||||||
** valeurs: on, off (valeur par défaut: on)
|
** valeurs: on, off (valeur par défaut: on)
|
||||||
|
|
||||||
* *relay.network.enabled*
|
* *relay.network.max_clients*
|
||||||
** description: activer le relai
|
** description: nombre maximum de clients qui se connectent sur un port
|
||||||
** type: booléen
|
** type: entier
|
||||||
** valeurs: on, off (valeur par défaut: off)
|
** valeurs: 1 .. 1024 (valeur par défaut: 5)
|
||||||
|
|
||||||
* *relay.network.listen_port_range*
|
|
||||||
** description: restreint les fichiers/discussions sortants à utiliser des ports dans l'intervalle donné (pratique pour le NAT) (syntaxe: un port simple, par exemple 5000, un intervalle de ports, par exemple 5000-5015, si non renseigné tout port peut être utilisé, il est recommandé d'utiliser des ports supérieurs à 1024, car seul root peut utiliser les ports en dessous de 1024)
|
|
||||||
** type: chaîne
|
|
||||||
** valeurs: toute chaîne (valeur par défaut: "22373-22400")
|
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
cond1,...: condition(s) pour afficher cette barre (seulement pour le type "window"):
|
cond1,...: condition(s) pour afficher cette barre (seulement pour le type "window"):
|
||||||
active: sur la fenêtre active
|
active: sur la fenêtre active
|
||||||
inactive: sur les fenêtres inactives
|
inactive: sur les fenêtres inactives
|
||||||
nicklist: sue les fenêtres avec liste de pseudos
|
nicklist: sur les fenêtres avec liste de pseudos
|
||||||
sans condition, la barre est toujours affichée
|
sans condition, la barre est toujours affichée
|
||||||
position: bottom (bas), top (haut), left (gauche) ou right (droite)
|
position: bottom (bas), top (haut), left (gauche) ou right (droite)
|
||||||
taille: taille de la barre (en caractères)
|
taille: taille de la barre (en caractères)
|
||||||
@@ -91,17 +91,18 @@
|
|||||||
commande: commande à exécuter (un '/' est automatiquement ajouté s'il n'est pas trouvé au début de la commande)
|
commande: commande à exécuter (un '/' est automatiquement ajouté s'il n'est pas trouvé au début de la commande)
|
||||||
........................................
|
........................................
|
||||||
|
|
||||||
• *`/debug`* `[list | extension niveau | dump | buffer windows]`::
|
• *`/debug`* `[list | set extension niveau | dump | buffer | windows | term]`::
|
||||||
|
|
||||||
........................................
|
........................................
|
||||||
contrôle du debug pour le coeur/les extensions
|
contrôle du debug pour le coeur/les extensions
|
||||||
|
|
||||||
|
set: définir le niveau de log pour l'extension
|
||||||
extension: nom de l'extension ("core" pour le coeur de WeeChat)
|
extension: nom de l'extension ("core" pour le coeur de WeeChat)
|
||||||
niveau: niveau de debug pour l'extension
|
niveau: niveau de debug pour l'extension
|
||||||
dump: affiche les variables mémoire WeeChat dans le fichier log (les mêmes messages sont affichés lorsque WeeChat plante)
|
dump: affiche les variables mémoire WeeChat dans le fichier log (les mêmes messages sont affichés lorsque WeeChat plante)
|
||||||
buffer: affiche le contenu du tampon en valeurs hexadécimales dans le fichier log
|
buffer: affiche le contenu du tampon en valeurs hexadécimales dans le fichier log
|
||||||
windows: affiche l'arbre des fenêtres<
|
windows: affiche l'arbre des fenêtres<
|
||||||
texte: envoie le signal "debug" avec "texte" comme paramètre
|
term: afficher des infos sur le terminal et les couleurs disponibles
|
||||||
........................................
|
........................................
|
||||||
|
|
||||||
• *`/filter`* `[list] | [enable|disable|toggle [nom]] | [add nom extension.tampon tags regex] | [del nom|-all]`::
|
• *`/filter`* `[list] | [enable|disable|toggle [nom]] | [add nom extension.tampon tags regex] | [del nom|-all]`::
|
||||||
@@ -154,7 +155,7 @@
|
|||||||
valeur: nombre d'entrées dans l'historique à afficher
|
valeur: nombre d'entrées dans l'historique à afficher
|
||||||
........................................
|
........................................
|
||||||
|
|
||||||
• *`/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]`::
|
• *`/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 | grab_key_command | scroll_unread | set_unread | set_unread_current_buffer | insert [args]`::
|
||||||
|
|
||||||
........................................
|
........................................
|
||||||
fonctions pour la ligne de commande
|
fonctions pour la ligne de commande
|
||||||
@@ -234,10 +235,13 @@
|
|||||||
/proxy del myproxy
|
/proxy del myproxy
|
||||||
........................................
|
........................................
|
||||||
|
|
||||||
• *`/quit`*::
|
• *`/quit`* `[paramètres]`::
|
||||||
|
|
||||||
........................................
|
........................................
|
||||||
quitter WeeChat
|
quitter WeeChat
|
||||||
|
|
||||||
|
paramètres: texte envoyé avec le signal "quit"
|
||||||
|
(par exemple l'extension irc utilise ce texte pour envoyer le message de quit au serveur)
|
||||||
........................................
|
........................................
|
||||||
|
|
||||||
• *`/reload`* `[fichier [fichier...]]`::
|
• *`/reload`* `[fichier [fichier...]]`::
|
||||||
|
|||||||
@@ -283,6 +283,11 @@
|
|||||||
** type: couleur
|
** type: couleur
|
||||||
** valeurs: un nom de couleur (valeur par défaut: yellow)
|
** valeurs: un nom de couleur (valeur par défaut: yellow)
|
||||||
|
|
||||||
|
* *weechat.color.status_time*
|
||||||
|
** description: couleur du texte pour l'heure (barre de statut)
|
||||||
|
** type: couleur
|
||||||
|
** valeurs: un nom de couleur (valeur par défaut: default)
|
||||||
|
|
||||||
* *weechat.completion.default_template*
|
* *weechat.completion.default_template*
|
||||||
** description: modèle de complétion par défaut (merci de consulter la documentation pour les codes et valeurs du modèle)
|
** description: modèle de complétion par défaut (merci de consulter la documentation pour les codes et valeurs du modèle)
|
||||||
** type: chaîne
|
** type: chaîne
|
||||||
@@ -388,6 +393,11 @@
|
|||||||
** type: chaîne
|
** type: chaîne
|
||||||
** valeurs: toute chaîne (valeur par défaut: "")
|
** valeurs: toute chaîne (valeur par défaut: "")
|
||||||
|
|
||||||
|
* *weechat.look.hline_char*
|
||||||
|
** description: caractère utilisé pour tracer les lignes horizontales, notez qu'une valeur vide tracera une vraie ligne avec ncurses, mais peut causer des problèmes d'affichage avec la sélection d'URL sous certains terminaux
|
||||||
|
** type: chaîne
|
||||||
|
** valeurs: toute chaîne (valeur par défaut: "-")
|
||||||
|
|
||||||
* *weechat.look.hotlist_names_count*
|
* *weechat.look.hotlist_names_count*
|
||||||
** description: nombre maximum de noms dans la liste d'activité (0 = pas de nom affiché, seulement les numéros de tampons)
|
** description: nombre maximum de noms dans la liste d'activité (0 = pas de nom affiché, seulement les numéros de tampons)
|
||||||
** type: entier
|
** type: entier
|
||||||
@@ -543,10 +553,10 @@
|
|||||||
** type: booléen
|
** type: booléen
|
||||||
** valeurs: on, off (valeur par défaut: on)
|
** valeurs: on, off (valeur par défaut: on)
|
||||||
|
|
||||||
* *weechat.network.gnutls_dh_prime_bitsmax_lines*
|
* *weechat.network.gnutls_ca_file*
|
||||||
** description: taille minimum en bits pour la poignée de main (handshake) utilisant un échange de clé Diffie Hellman
|
** description: fichier contenant les autorités de certification
|
||||||
** type: entier
|
** type: chaîne
|
||||||
** valeurs: 0 .. 2147483647 (valeur par défaut: 512)
|
** valeurs: toute chaîne (valeur par défaut: "%h/ssl/CAs.pem")
|
||||||
|
|
||||||
* *weechat.plugin.autoload*
|
* *weechat.plugin.autoload*
|
||||||
** description: liste des extensions à charger automatiquement au démarrage, "*" signifie toutes (séparées par des virgules, les noms peuvent être partiels, par exemple "perl" est ok pour "perl.so")
|
** description: liste des extensions à charger automatiquement au démarrage, "*" signifie toutes (séparées par des virgules, les noms peuvent être partiels, par exemple "perl" est ok pour "perl.so")
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
• *`/me`* `message`::
|
||||||
|
|
||||||
|
........................................
|
||||||
|
envoyer une action CTCP à l'hôte distant
|
||||||
|
|
||||||
|
message: message à envoyer
|
||||||
|
........................................
|
||||||
|
|
||||||
• *`/xfer`* `[list | listfull]`::
|
• *`/xfer`* `[list | listfull]`::
|
||||||
|
|
||||||
........................................
|
........................................
|
||||||
|
|||||||
@@ -217,8 +217,8 @@ utilisateurs en ISO, vous pouvez taper : `/shell setenv LANG=fr_FR`.
|
|||||||
|
|
||||||
|
|
||||||
[[terminal_copy_paste]]
|
[[terminal_copy_paste]]
|
||||||
Avec l'interface Curses, comment puis-je copier/coller du texte sans coller la liste des pseudos ?
|
Comment puis-je copier/coller du texte sans coller la liste des pseudos ?
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
Vous pouvez utiliser un terminal qui propose la sélection rectangulaire (comme
|
Vous pouvez utiliser un terminal qui propose la sélection rectangulaire (comme
|
||||||
rxvt-unicode, konsole, gnome-terminal, etc...). La touche est habituellement
|
rxvt-unicode, konsole, gnome-terminal, etc...). La touche est habituellement
|
||||||
@@ -233,6 +233,31 @@ exemple :
|
|||||||
`/bar set nicklist position top`
|
`/bar set nicklist position top`
|
||||||
|
|
||||||
|
|
||||||
|
[[urls]]
|
||||||
|
Comment puis-je cliquer sur les longs URLs (plus d'une ligne) ?
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
WeeChat affiche l'heure et un préfixe pour chaque ligne avec des barres
|
||||||
|
optionnelles autour de la zone de discussion, donc il n'est pas possible
|
||||||
|
d'afficher les longs URLs sans les tronquer.
|
||||||
|
|
||||||
|
Vous pouvez utiliser un des scripts suivants :
|
||||||
|
|
||||||
|
urlbar.py::
|
||||||
|
affiche les URLs dans une barre
|
||||||
|
|
||||||
|
urlgrab.py::
|
||||||
|
enregistre les URLs et les ouvre dans un navigateur
|
||||||
|
|
||||||
|
url_shorten.rb::
|
||||||
|
tinyurl.py::
|
||||||
|
shortenurl.py::
|
||||||
|
réduit les URLs longs
|
||||||
|
|
||||||
|
Liste des scripts manipulant des URLs :
|
||||||
|
http://www.weechat.org/scripts/stable/tag/url
|
||||||
|
|
||||||
|
|
||||||
[[highlight_notification]]
|
[[highlight_notification]]
|
||||||
Comment être averti lorsque quelqu'un prononce mon pseudo sur un canal ?
|
Comment être averti lorsque quelqu'un prononce mon pseudo sur un canal ?
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
@@ -249,7 +274,7 @@ Selon la version de WeeChat :
|
|||||||
`/set plugins.var.perl.launcher.signal.weechat_highlight "/chemin/vers/commande parametres"`
|
`/set plugins.var.perl.launcher.signal.weechat_highlight "/chemin/vers/commande parametres"`
|
||||||
|
|
||||||
De nombreux autres scripts de notification existent, merci de consulter la
|
De nombreux autres scripts de notification existent, merci de consulter la
|
||||||
liste des extensions/scripts : http://www.weechat.org/plugins
|
liste des extensions/scripts : http://www.weechat.org/scripts
|
||||||
|
|
||||||
|
|
||||||
[[filter_irc_join_part_quit]]
|
[[filter_irc_join_part_quit]]
|
||||||
@@ -266,8 +291,8 @@ Selon la version de WeeChat :
|
|||||||
|
|
||||||
* avec WeeChat > = 0.3.x :
|
* avec WeeChat > = 0.3.x :
|
||||||
|
|
||||||
** filtre interlligent (pour garder les join/part/quit des utilisateurs qui
|
** filtre intelligent (pour garder les join/part/quit des utilisateurs qui ont
|
||||||
ont parlé récemment) : +
|
parlé récemment) : +
|
||||||
`/set irc.look.smart_filter on` +
|
`/set irc.look.smart_filter on` +
|
||||||
`/filter add irc_smart * irc_smart_filter *` +
|
`/filter add irc_smart * irc_smart_filter *` +
|
||||||
(`/help irc.look.smart_filter` et `/help filter` pour l'aide)
|
(`/help irc.look.smart_filter` et `/help filter` pour l'aide)
|
||||||
|
|||||||
+2303
-365
File diff suppressed because it is too large
Load Diff
@@ -240,7 +240,7 @@ doivent être chargées avec la commande `/plugin` et elles fournissent des
|
|||||||
commandes telles que `/perl`, utilisées pour charger les scripts.
|
commandes telles que `/perl`, utilisées pour charger les scripts.
|
||||||
|
|
||||||
Plusieurs extensions/scripts (de contributeurs) sont disponibles pour
|
Plusieurs extensions/scripts (de contributeurs) sont disponibles pour
|
||||||
WeeChat : http://www.weechat.org/plugins
|
WeeChat : http://www.weechat.org/scripts
|
||||||
|
|
||||||
La manière la plus simple pour installer des scripts consiste à utiliser le
|
La manière la plus simple pour installer des scripts consiste à utiliser le
|
||||||
script 'weeget.py' :
|
script 'weeget.py' :
|
||||||
|
|||||||
@@ -149,9 +149,9 @@ $ cd ~/.weechat/perl/autoload
|
|||||||
$ ln -s ../script.pl
|
$ ln -s ../script.pl
|
||||||
----------------------------------------
|
----------------------------------------
|
||||||
|
|
||||||
[[script_api]]
|
[[differences_with_c_api]]
|
||||||
API script
|
Différences avec l'API C
|
||||||
----------
|
------------------------
|
||||||
|
|
||||||
L'API script est quasiment identique à l'API C.
|
L'API script est quasiment identique à l'API C.
|
||||||
Vous pouvez consulter la 'Référence API Extension WeeChat' pour le détail de
|
Vous pouvez consulter la 'Référence API Extension WeeChat' pour le détail de
|
||||||
@@ -180,6 +180,65 @@ est inversé :
|
|||||||
WeeChat core -------> extension plugin (python.so) -------> test.py
|
WeeChat core -------> extension plugin (python.so) -------> test.py
|
||||||
........................................
|
........................................
|
||||||
|
|
||||||
|
Pointeurs
|
||||||
|
~~~~~~~~~
|
||||||
|
|
||||||
|
Comme vous le savez probablement, il n'y a pas vraiment de "pointeurs" dans les
|
||||||
|
scripts. Donc quand les fonctions de l'API retournent un pointeur, il est
|
||||||
|
converti en chaîne pour le script.
|
||||||
|
|
||||||
|
Par exemple, si une fonction retourne le pointeur 0x1234ab56, le script recevra
|
||||||
|
la chaîne "0x1234ab56".
|
||||||
|
|
||||||
|
Et quand une fonction de l'API attend un pointeur dans ses paramètres, le
|
||||||
|
script doit envoyer cette valeur sous forme de chaîne. L'extension C la
|
||||||
|
convertira en pointeur réel avant d'appeler la fonction de l'API C.
|
||||||
|
|
||||||
|
Une chaîne vide ou "0x0" sont autorisées, cela signifie le pointeur NULL en C.
|
||||||
|
Par exemple, pour afficher un message sur le tampon core (tampon principal
|
||||||
|
WeeChat), vous pouvez faire :
|
||||||
|
|
||||||
|
[source,python]
|
||||||
|
----------------------------------------
|
||||||
|
weechat.prnt("", "bonjour !")
|
||||||
|
----------------------------------------
|
||||||
|
|
||||||
|
[WARNING]
|
||||||
|
Dans beaucoup de fonctions, pour des raisons de vitesse, WeeChat ne vérifie pas
|
||||||
|
si votre pointeur est correct ou pas. Il est de votre responsabilité de
|
||||||
|
vérifier que vous donnez un pointeur valide, sinon vous pourriez voir un joli
|
||||||
|
rapport de crash ;)
|
||||||
|
|
||||||
|
Callbacks
|
||||||
|
~~~~~~~~~
|
||||||
|
|
||||||
|
Tous les "callbacks" WeeChat doivent retourner WEECHAT_RC_OK ou
|
||||||
|
WEECHAT_RC_ERROR (l'exception est le callback du "modifier", qui retourne une
|
||||||
|
chaîne de caractères).
|
||||||
|
|
||||||
|
Les "callbacks" C utilisent un paramètre "data", qui est un pointeur. Dans
|
||||||
|
l'API script, ce "data" est une chaîne de caractères avec n'importe quelle
|
||||||
|
valeur (ce n'est pas un pointeur).
|
||||||
|
|
||||||
|
Par exemple :
|
||||||
|
|
||||||
|
[source,python]
|
||||||
|
----------------------------------------
|
||||||
|
weechat.hook_timer(1000, 0, 1, "mon_timer_cb", "mes données")
|
||||||
|
|
||||||
|
def mon_timer_cb(data, remaining_calls):
|
||||||
|
# cela affichera : "mes données"
|
||||||
|
weechat.prnt("", data)
|
||||||
|
return weechat.WEECHAT_RC_OK
|
||||||
|
----------------------------------------
|
||||||
|
|
||||||
|
[[script_api]]
|
||||||
|
API script
|
||||||
|
----------
|
||||||
|
|
||||||
|
Pour plus d'informations sur les fonctions de l'API, merci de consulter la
|
||||||
|
'Référence API Extension WeeChat'.
|
||||||
|
|
||||||
Fonctions
|
Fonctions
|
||||||
~~~~~~~~~
|
~~~~~~~~~
|
||||||
|
|
||||||
@@ -278,18 +337,21 @@ Liste des fonctions de l'API script :
|
|||||||
** 'unhook_all'
|
** 'unhook_all'
|
||||||
* tampons :
|
* tampons :
|
||||||
** 'buffer_new'
|
** 'buffer_new'
|
||||||
** 'buffer_search'
|
|
||||||
** 'current_buffer'
|
** 'current_buffer'
|
||||||
|
** 'buffer_search'
|
||||||
|
** 'buffer_search_main'
|
||||||
** 'buffer_clear'
|
** 'buffer_clear'
|
||||||
** 'buffer_close'
|
** 'buffer_close'
|
||||||
|
** 'buffer_merge'
|
||||||
|
** 'buffer_unmerge'
|
||||||
** 'buffer_get_integer'
|
** 'buffer_get_integer'
|
||||||
** 'buffer_get_string'
|
** 'buffer_get_string'
|
||||||
** 'buffer_get_pointer'
|
** 'buffer_get_pointer'
|
||||||
** 'buffer_set'
|
** 'buffer_set'
|
||||||
|
** 'buffer_string_replace_local_var'
|
||||||
* fenêtres :
|
* fenêtres :
|
||||||
** 'current_window'
|
** 'current_window'
|
||||||
** 'window_get_integer'
|
** 'window_get_integer'
|
||||||
** 'window_get_string'
|
|
||||||
** 'window_get_pointer'
|
** 'window_get_pointer'
|
||||||
** 'window_set_title'
|
** 'window_set_title'
|
||||||
* liste des pseudos :
|
* liste des pseudos :
|
||||||
@@ -316,6 +378,7 @@ Liste des fonctions de l'API script :
|
|||||||
** 'info_get'
|
** 'info_get'
|
||||||
* infolists :
|
* infolists :
|
||||||
** 'infolist_new'
|
** 'infolist_new'
|
||||||
|
** 'infolist_new_item'
|
||||||
** 'infolist_new_var_integer'
|
** 'infolist_new_var_integer'
|
||||||
** 'infolist_new_var_string'
|
** 'infolist_new_var_string'
|
||||||
** 'infolist_new_var_pointer'
|
** 'infolist_new_var_pointer'
|
||||||
@@ -323,6 +386,7 @@ Liste des fonctions de l'API script :
|
|||||||
** 'infolist_get'
|
** 'infolist_get'
|
||||||
** 'infolist_next'
|
** 'infolist_next'
|
||||||
** 'infolist_prev'
|
** 'infolist_prev'
|
||||||
|
** 'infolist_reset_item_cursor'
|
||||||
** 'infolist_fields'
|
** 'infolist_fields'
|
||||||
** 'infolist_integer'
|
** 'infolist_integer'
|
||||||
** 'infolist_string'
|
** 'infolist_string'
|
||||||
@@ -378,58 +442,3 @@ Liste des constantes de l'API script :
|
|||||||
* 'WEECHAT_HOOK_SIGNAL_STRING'
|
* 'WEECHAT_HOOK_SIGNAL_STRING'
|
||||||
* 'WEECHAT_HOOK_SIGNAL_INT'
|
* 'WEECHAT_HOOK_SIGNAL_INT'
|
||||||
* 'WEECHAT_HOOK_SIGNAL_POINTER'
|
* 'WEECHAT_HOOK_SIGNAL_POINTER'
|
||||||
|
|
||||||
Différences avec l'API C
|
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
Pointeurs
|
|
||||||
^^^^^^^^^
|
|
||||||
|
|
||||||
Comme vous le savez probablement, il n'y a pas vraiment de "pointeurs" dans les
|
|
||||||
scripts. Donc quand les fonctions de l'API retournent un pointeur, il est
|
|
||||||
converti en chaîne pour le script.
|
|
||||||
|
|
||||||
Par exemple, si une fonction retourne le pointeur 0x1234ab56, le script recevra
|
|
||||||
la chaîne "0x1234ab56".
|
|
||||||
|
|
||||||
Et quand une fonction de l'API attend un pointeur dans ses paramètres, le
|
|
||||||
script doit envoyer cette valeur sous forme de chaîne. L'extension C la
|
|
||||||
convertira en pointeur réel avant d'appeler la fonction de l'API C.
|
|
||||||
|
|
||||||
Une chaîne vide ou "0x0" sont autorisées, cela signifie le pointeur NULL en C.
|
|
||||||
Par exemple, pour afficher un message sur le tampon core (tampon principal
|
|
||||||
WeeChat), vous pouvez faire :
|
|
||||||
|
|
||||||
[source,python]
|
|
||||||
----------------------------------------
|
|
||||||
weechat.prnt("", "bonjour !")
|
|
||||||
----------------------------------------
|
|
||||||
|
|
||||||
[WARNING]
|
|
||||||
Dans beaucoup de fonctions, pour des raisons de vitesse, WeeChat ne vérifie pas
|
|
||||||
si votre pointeur est correct ou pas. Il est de votre responsabilité de
|
|
||||||
vérifier que vous donnez un pointeur valide, sinon vous pourriez voir un joli
|
|
||||||
rapport de crash ;)
|
|
||||||
|
|
||||||
Callbacks
|
|
||||||
^^^^^^^^^
|
|
||||||
|
|
||||||
Tous les "callbacks" WeeChat doivent retourner WEECHAT_RC_OK ou
|
|
||||||
WEECHAT_RC_ERROR (l'exception est le callback du "modifier", qui retourne une
|
|
||||||
chaîne de caractères).
|
|
||||||
|
|
||||||
Les "callbacks" C utilisent un paramètre "data", qui est un pointeur. Dans
|
|
||||||
l'API script, ce "data" est une chaîne de caractères avec n'importe quelle
|
|
||||||
valeur (ce n'est pas un pointeur).
|
|
||||||
|
|
||||||
Par exemple :
|
|
||||||
|
|
||||||
[source,python]
|
|
||||||
----------------------------------------
|
|
||||||
weechat.hook_timer(1000, 0, 1, "mon_timer_cb", "mes données")
|
|
||||||
|
|
||||||
def mon_timer_cb(data, remaining_calls):
|
|
||||||
# cela affichera : "mes données"
|
|
||||||
weechat.prnt("", data)
|
|
||||||
return weechat.WEECHAT_RC_OK
|
|
||||||
----------------------------------------
|
|
||||||
|
|||||||
+239
-35
@@ -77,6 +77,7 @@ Paquet source
|
|||||||
WeeChat peut être compilé avec cmake ou les autotools (cmake est la méthode
|
WeeChat peut être compilé avec cmake ou les autotools (cmake est la méthode
|
||||||
recommandée).
|
recommandée).
|
||||||
|
|
||||||
|
[[compile_with_cmake]]
|
||||||
Avec cmake
|
Avec cmake
|
||||||
^^^^^^^^^^
|
^^^^^^^^^^
|
||||||
|
|
||||||
@@ -100,6 +101,7 @@ $ make
|
|||||||
$ make install
|
$ make install
|
||||||
----------------------------------------
|
----------------------------------------
|
||||||
|
|
||||||
|
[[compile_with_autotools]]
|
||||||
Avec autotools
|
Avec autotools
|
||||||
^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^
|
||||||
|
|
||||||
@@ -240,68 +242,68 @@ L'écran est composé des zones suivantes :
|
|||||||
|
|
||||||
La barre 'status' contient les objets (items) suivants par défaut :
|
La barre 'status' contient les objets (items) suivants par défaut :
|
||||||
|
|
||||||
[width="100%",cols="^3,^3,10",options="header"]
|
[width="100%",cols="^3,^3l,10",options="header"]
|
||||||
|========================================
|
|========================================
|
||||||
| Objet (item) | Exemple | Description
|
| Objet (item) | Exemple | Description
|
||||||
|
|
||||||
| time | `[12:55]` |
|
| time | [12:55] |
|
||||||
heure
|
heure
|
||||||
|
|
||||||
| buffer_count | `[4]` |
|
| buffer_count | [4] |
|
||||||
nombre de tampons ouverts
|
nombre de tampons ouverts
|
||||||
|
|
||||||
| buffer_plugin | `[irc/freenode]` |
|
| buffer_plugin | [irc/freenode] |
|
||||||
extension du tampon courant (l'extension irc peut afficher le nom du serveur
|
extension du tampon courant (l'extension irc peut afficher le nom du serveur
|
||||||
IRC auquel est rattaché ce tampon)
|
IRC auquel est rattaché ce tampon)
|
||||||
|
|
||||||
| buffer_number | `3` |
|
| buffer_number | 3 |
|
||||||
numéro du tampon courant
|
numéro du tampon courant
|
||||||
|
|
||||||
| buffer_name | `freenode/#test(+n)` |
|
| buffer_name | #test(+n) |
|
||||||
nom du tampon courant
|
nom du tampon courant
|
||||||
|
|
||||||
| buffer_nicklist_count | `{5}` |
|
| buffer_nicklist_count | {5} |
|
||||||
nombre de pseudos dans la liste des pseudos
|
nombre de pseudos dans la liste des pseudos
|
||||||
|
|
||||||
| buffer_filter | `*` |
|
| buffer_filter | * |
|
||||||
indicateur de filtrage : `*` signifie que des lignes sont filtrées (cachées),
|
indicateur de filtrage : `*` signifie que des lignes sont filtrées (cachées),
|
||||||
une valeur vide signifie que toutes les lignes sont affichées
|
une valeur vide signifie que toutes les lignes sont affichées
|
||||||
|
|
||||||
| lag | `[Lag: 2.5]` |
|
| lag | [Lag: 2.5] |
|
||||||
indicateur de "lag" (ralentissements réseau), en secondes (caché si le lag
|
indicateur de "lag" (ralentissements réseau), en secondes (caché si le lag
|
||||||
est faible)
|
est faible)
|
||||||
|
|
||||||
| hotlist | `[Act: 4,2]` |
|
| hotlist | [Act: 4,2] |
|
||||||
liste des tampons où il y a de l'activité (messages non lus)
|
liste des tampons où il y a de l'activité (messages non lus)
|
||||||
|
|
||||||
| completion | `abc(2) def(5)` |
|
| completion | abc(2) def(5) |
|
||||||
liste des mots pour la complétion, avec le nombre de complétions possibles
|
liste des mots pour la complétion, avec le nombre de complétions possibles
|
||||||
pour chaque mot
|
pour chaque mot
|
||||||
|
|
||||||
| scroll | `-PLUS(50)-` |
|
| scroll | -PLUS(50)- |
|
||||||
indicateur de scroll, avec le nombre de lignes sous la dernière ligne
|
indicateur de scroll, avec le nombre de lignes sous la dernière ligne
|
||||||
affichée
|
affichée
|
||||||
|========================================
|
|========================================
|
||||||
|
|
||||||
La barre 'input' contient les objets (items) suivants par défaut :
|
La barre 'input' contient les objets (items) suivants par défaut :
|
||||||
|
|
||||||
[width="100%",cols="^3,^6,8",options="header"]
|
[width="100%",cols="^3,^6l,8",options="header"]
|
||||||
|========================================
|
|========================================
|
||||||
| Objet (item) | Exemple | Description
|
| Objet (item) | Exemple | Description
|
||||||
|
|
||||||
| input_paste | `[Coller 7 lignes ? [ctrl-Y] Oui [ctrl-N] Non]` |
|
| input_paste | [Coller 7 lignes ? [ctrl-Y] Oui [ctrl-N] Non] |
|
||||||
question à l'utilisateur pour coller des lignes
|
question à l'utilisateur pour coller des lignes
|
||||||
|
|
||||||
| input_prompt | `[pseudo]` |
|
| input_prompt | [pseudo] |
|
||||||
prompt (pseudo pour l'extension irc)
|
prompt (pseudo pour l'extension irc)
|
||||||
|
|
||||||
| away | `(absent)` |
|
| away | (absent) |
|
||||||
indicateur d'absence
|
indicateur d'absence
|
||||||
|
|
||||||
| input_search | `[Recherche texte]` |
|
| input_search | [Recherche texte] |
|
||||||
indicateur de recherche de texte
|
indicateur de recherche de texte
|
||||||
|
|
||||||
| input_text | `bla bla...` |
|
| input_text | bla bla... |
|
||||||
texte entré
|
texte entré
|
||||||
|========================================
|
|========================================
|
||||||
|
|
||||||
@@ -309,6 +311,7 @@ La barre 'input' contient les objets (items) suivants par défaut :
|
|||||||
Raccourcis clavier par défaut
|
Raccourcis clavier par défaut
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
[[key_bindings_command_line]]
|
||||||
Touches pour la ligne de commande
|
Touches pour la ligne de commande
|
||||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
@@ -452,14 +455,16 @@ Touches pour la ligne de commande
|
|||||||
`/input delete_next_word`
|
`/input delete_next_word`
|
||||||
|
|
||||||
| Alt + K |
|
| Alt + K |
|
||||||
Capturer une touche et insérer son code sur la ligne de commande +
|
Capturer une touche et insérer son code (et la commande associée si la
|
||||||
`/input grab_key`
|
commande existe) sur la ligne de commande +
|
||||||
|
`/input grab_key_command`
|
||||||
|
|
||||||
| Alt + R |
|
| Alt + R |
|
||||||
Effacer entièrement la ligne de commande +
|
Effacer entièrement la ligne de commande +
|
||||||
`/input delete_line`
|
`/input delete_line`
|
||||||
|========================================
|
|========================================
|
||||||
|
|
||||||
|
[[key_bindings_buffers_windows]]
|
||||||
Touches pour les tampons / fenêtres
|
Touches pour les tampons / fenêtres
|
||||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
@@ -589,9 +594,9 @@ Touches pour les tampons / fenêtres
|
|||||||
|
|
||||||
| Alt + W puis Alt + flèche |
|
| Alt + W puis Alt + flèche |
|
||||||
Sauter à une fenêtre avec une direction +
|
Sauter à une fenêtre avec une direction +
|
||||||
`/window up +
|
`/window up` +
|
||||||
`/window down +
|
`/window down` +
|
||||||
`/window left +
|
`/window left` +
|
||||||
`/window right`
|
`/window right`
|
||||||
|
|
||||||
| Alt + Z |
|
| Alt + Z |
|
||||||
@@ -608,6 +613,7 @@ Touches pour les tampons / fenêtres
|
|||||||
`/input jump_next_visited_buffer`
|
`/input jump_next_visited_buffer`
|
||||||
|========================================
|
|========================================
|
||||||
|
|
||||||
|
[[key_bindings_other]]
|
||||||
Autres touches
|
Autres touches
|
||||||
^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^
|
||||||
|
|
||||||
@@ -631,6 +637,7 @@ Ligne de commande
|
|||||||
La ligne de commande WeeChat (située en bas de la fenêtre) permet d'exécuter
|
La ligne de commande WeeChat (située en bas de la fenêtre) permet d'exécuter
|
||||||
des commandes ou d'envoyer du texte vers le tampon.
|
des commandes ou d'envoyer du texte vers le tampon.
|
||||||
|
|
||||||
|
[[command_line_syntax]]
|
||||||
Syntaxe
|
Syntaxe
|
||||||
^^^^^^^
|
^^^^^^^
|
||||||
|
|
||||||
@@ -655,6 +662,7 @@ doublant. Par exemple pour envoyer le texte '/set' sur le tampon courant :
|
|||||||
//set
|
//set
|
||||||
----------------------------------------
|
----------------------------------------
|
||||||
|
|
||||||
|
[[command_line_colors]]
|
||||||
Couleurs
|
Couleurs
|
||||||
^^^^^^^^
|
^^^^^^^^
|
||||||
|
|
||||||
@@ -726,6 +734,7 @@ Les couleurs pour l'interface Curses sont :
|
|||||||
|========================================
|
|========================================
|
||||||
| default | couleur par défaut du terminal (transparent pour le fond)
|
| default | couleur par défaut du terminal (transparent pour le fond)
|
||||||
| black | noir
|
| black | noir
|
||||||
|
| darkgray | gris foncé
|
||||||
| red | rouge foncé
|
| red | rouge foncé
|
||||||
| lightred | rouge clair
|
| lightred | rouge clair
|
||||||
| green | vert foncé
|
| green | vert foncé
|
||||||
@@ -813,6 +822,7 @@ Extension Alias
|
|||||||
L'extension Alias permet de définir des alias pour des commandes (WeeChat ou
|
L'extension Alias permet de définir des alias pour des commandes (WeeChat ou
|
||||||
d'autres extensions).
|
d'autres extensions).
|
||||||
|
|
||||||
|
[[alias_commands]]
|
||||||
Commandes
|
Commandes
|
||||||
^^^^^^^^^
|
^^^^^^^^^
|
||||||
|
|
||||||
@@ -825,11 +835,13 @@ Extension Aspell
|
|||||||
L'extension Aspell permet de vérifier l'orthographe de la ligne de commande.
|
L'extension Aspell permet de vérifier l'orthographe de la ligne de commande.
|
||||||
Il est possible d'utiliser plusieurs langages par tampon.
|
Il est possible d'utiliser plusieurs langages par tampon.
|
||||||
|
|
||||||
|
[[aspell_options]]
|
||||||
Options (aspell.conf)
|
Options (aspell.conf)
|
||||||
^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
include::autogen/user/aspell_options.txt[]
|
include::autogen/user/aspell_options.txt[]
|
||||||
|
|
||||||
|
[[aspell_commands]]
|
||||||
Commandes
|
Commandes
|
||||||
^^^^^^^^^
|
^^^^^^^^^
|
||||||
|
|
||||||
@@ -875,16 +887,19 @@ Par exemple :
|
|||||||
charset: terminal: ISO-8859-15, interne: UTF-8
|
charset: terminal: ISO-8859-15, interne: UTF-8
|
||||||
........................................
|
........................................
|
||||||
|
|
||||||
|
[[charset_options]]
|
||||||
Options (charset.conf)
|
Options (charset.conf)
|
||||||
^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
include::autogen/user/charset_options.txt[]
|
include::autogen/user/charset_options.txt[]
|
||||||
|
|
||||||
|
[[charset_commands]]
|
||||||
Commandes
|
Commandes
|
||||||
^^^^^^^^^
|
^^^^^^^^^
|
||||||
|
|
||||||
include::autogen/user/charset_commands.txt[]
|
include::autogen/user/charset_commands.txt[]
|
||||||
|
|
||||||
|
[[charset_set]]
|
||||||
Définir le jeu de caractère
|
Définir le jeu de caractère
|
||||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
@@ -934,6 +949,7 @@ Pour voir tous les jeux de caractères utilisés, utilisez la commande suivante
|
|||||||
/set charset.*
|
/set charset.*
|
||||||
----------------------------------------
|
----------------------------------------
|
||||||
|
|
||||||
|
[[charset_troubleshooting]]
|
||||||
En cas de problème
|
En cas de problème
|
||||||
^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
@@ -1015,9 +1031,10 @@ L'extension IRC permet de dialoguer avec d'autres personnes via le
|
|||||||
protocole IRC.
|
protocole IRC.
|
||||||
|
|
||||||
Elle est multi-serveurs, et offre toutes les commandes IRC supportées, y
|
Elle est multi-serveurs, et offre toutes les commandes IRC supportées, y
|
||||||
compris la discussion directe (DCC chat) and le transfert de fichier DCC
|
compris la discussion directe (DCC chat) et le transfert de fichier DCC
|
||||||
(via l'extension xfer, voir <<xfer_plugin>>).
|
(via l'extension xfer, voir <<xfer_plugin>>).
|
||||||
|
|
||||||
|
[[irc_command_line_options]]
|
||||||
Options de ligne de commande
|
Options de ligne de commande
|
||||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
@@ -1034,16 +1051,190 @@ port par défaut (6667), avec le pseudo 'nono' :
|
|||||||
$ weechat-curses irc://nono@irc.freenode.net/#weechat,#toto
|
$ weechat-curses irc://nono@irc.freenode.net/#weechat,#toto
|
||||||
----------------------------------------
|
----------------------------------------
|
||||||
|
|
||||||
|
[[irc_options]]
|
||||||
Options (irc.conf)
|
Options (irc.conf)
|
||||||
^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
include::autogen/user/irc_options.txt[]
|
include::autogen/user/irc_options.txt[]
|
||||||
|
|
||||||
|
[[irc_commands]]
|
||||||
Commandes
|
Commandes
|
||||||
^^^^^^^^^
|
^^^^^^^^^
|
||||||
|
|
||||||
include::autogen/user/irc_commands.txt[]
|
include::autogen/user/irc_commands.txt[]
|
||||||
|
|
||||||
|
[[irc_ctcp_replies]]
|
||||||
|
Réponses CTCP
|
||||||
|
^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
Il est possible de personnaliser les réponses CTCP, ou de bloquer certaines
|
||||||
|
demandes CTCP (ne pas y répondre).
|
||||||
|
|
||||||
|
Par exemple, pour personnaliser la réponse au CTCP "VERSION", utilisez la
|
||||||
|
commande suivante :
|
||||||
|
|
||||||
|
----------------------------------------
|
||||||
|
/set irc.ctcp.version "Je suis sous WeeChat $version, ça déchire !"
|
||||||
|
----------------------------------------
|
||||||
|
|
||||||
|
Si vous voulez bloquer le CTCP "VERSION" (ne pas répondre à une demande), alors
|
||||||
|
affectez une chaîne vide :
|
||||||
|
|
||||||
|
----------------------------------------
|
||||||
|
/set irc.ctcp.version ""
|
||||||
|
----------------------------------------
|
||||||
|
|
||||||
|
Même un CTCP inconnu peut être personnalisé, par exemple vous pouvez répondre
|
||||||
|
au CTCP "BLABLA" :
|
||||||
|
|
||||||
|
----------------------------------------
|
||||||
|
/set irc.ctcp.blabla "C'est ma réponse au CTCP BLABLA"
|
||||||
|
----------------------------------------
|
||||||
|
|
||||||
|
Il est possible de personnaliser le CTCP pour un seul serveur, en utilisant son
|
||||||
|
nom interne avant le nom du CTCP :
|
||||||
|
|
||||||
|
----------------------------------------
|
||||||
|
/set irc.ctcp.freenode.version "WeeChat $version (pour freenode)"
|
||||||
|
----------------------------------------
|
||||||
|
|
||||||
|
Si vous voulez restaurer la réponse CTCP standard, alors supprimez l'option :
|
||||||
|
|
||||||
|
----------------------------------------
|
||||||
|
/unset irc.ctcp.version
|
||||||
|
----------------------------------------
|
||||||
|
|
||||||
|
Les codes suivants peuvent être utilisés dans les chaînes et sont
|
||||||
|
automatiquement remplacées par WeeChat lors de la réponse au CTCP :
|
||||||
|
|
||||||
|
[width="100%",cols="^2l,4,8l",options="header"]
|
||||||
|
|========================================
|
||||||
|
| Code | Description | Valeur / exemple
|
||||||
|
| $clientinfo | liste des CTCP supportés | ACTION DCC CLIENTINFO FINGER PING SOURCE TIME USERINFO VERSION
|
||||||
|
| $version | version de WeeChat | 0.3.0
|
||||||
|
| $compilation | date de compi lation WeeChat | Sep 13 2009
|
||||||
|
| $osinfo | information sur l'OS | Linux 2.6.31 / i686
|
||||||
|
| $site | site WeeChat | http://www.weechat.org
|
||||||
|
| $download | site WeeChat, page téléchargement | http://www.weechat.org/download
|
||||||
|
| $time | date/heure courante | Sun Sep 13 15:48:31 2009
|
||||||
|
| $username | nom d'utilisateur sur le serveur | pseudo
|
||||||
|
| $realname | nom réel sur le serveur | Mon nom
|
||||||
|
|========================================
|
||||||
|
|
||||||
|
Si les options CTCP ne sont pas définies (par défaut), les réponses CTCP sont :
|
||||||
|
|
||||||
|
[width="100%",cols="^2,4l,8l",options="header"]
|
||||||
|
|========================================
|
||||||
|
| CTCP | Format de réponse | Exemple
|
||||||
|
| CLIENTINFO | $clientinfo | ACTION DCC CLIENTINFO FINGER PING SOURCE TIME USERINFO VERSION
|
||||||
|
| FINGER | WeeChat $version | WeeChat 0.3.0
|
||||||
|
| SOURCE | $download | http://www.weechat.org/download
|
||||||
|
| TIME | $time | Sun Sep 13 15:48:31 2009
|
||||||
|
| USERINFO | $username ($realname) | pseudo (Mon nom)
|
||||||
|
| VERSION | WeeChat $version ($compilation) | WeeChat 0.3.0 (Sep 13 2009)
|
||||||
|
|========================================
|
||||||
|
|
||||||
|
[[irc_target_buffer]]
|
||||||
|
Tampon cible pour les messages IRC
|
||||||
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
Il est possible de personnaliser le tampon cible pour les messages IRC (le
|
||||||
|
tampon utilisé pour afficher le message) avec les options `irc.msgbuffer.*`.
|
||||||
|
|
||||||
|
Pour certains messages IRC (voir la liste ci-dessous), vous pouvez utiliser
|
||||||
|
la valeur :
|
||||||
|
|
||||||
|
current::
|
||||||
|
tampon courant (si c'est un tampon IRC, sinon sur le tampon du serveur)
|
||||||
|
|
||||||
|
private::
|
||||||
|
tampon privé pour le pseudo, ou le tampon courant s'il n'est pas trouvé
|
||||||
|
(selon l'option 'irc.look.msgbuffer_fallback')
|
||||||
|
|
||||||
|
weechat::
|
||||||
|
tampon "core" WeeChat
|
||||||
|
|
||||||
|
Par défaut, le tampon du serveur est utilisé (quand l'option n'est pas définie).
|
||||||
|
|
||||||
|
Liste non exhaustive des messages ou alias que vous pouvez paramétrer :
|
||||||
|
|
||||||
|
[width="50%",cols="^1m,^1m,3",options="header"]
|
||||||
|
|========================================
|
||||||
|
| message | alias | description
|
||||||
|
| invite | | invité sur un canal
|
||||||
|
| notice | | notice
|
||||||
|
| wallops | | wallops
|
||||||
|
| 221 | | chaîne de mode utilisateur
|
||||||
|
| 275 | whois | whois (connexion sécurisée)
|
||||||
|
| 303 | | ison
|
||||||
|
| 305 | unaway | non absent
|
||||||
|
| 306 | away | absent
|
||||||
|
| 307 | whois | whois (pseudo enregistré)
|
||||||
|
| 310 | whois | whois (mode aide)
|
||||||
|
| 311 | whois | whois (utilisateur)
|
||||||
|
| 312 | whois | whois (serveur)
|
||||||
|
| 313 | whois | whois (opérateur)
|
||||||
|
| 314 | whowas | whowas
|
||||||
|
| 315 | who | who (fin)
|
||||||
|
| 317 | whois | whois (inactivité)
|
||||||
|
| 318 | whois | whois (fin)
|
||||||
|
| 319 | whois | whois (canaux)
|
||||||
|
| 320 | whois | whois (utilisateur identifié)
|
||||||
|
| 321 | list | list (début)
|
||||||
|
| 322 | list | list (canal)
|
||||||
|
| 323 | list | list (fin)
|
||||||
|
| 326 | whois | whois (a les privilèges oper)
|
||||||
|
| 327 | whois | whois (machine)
|
||||||
|
| 330 | whois | whois (identifié comme)
|
||||||
|
| 335 | whois | whois (est un robot sur)
|
||||||
|
| 338 | whois | whois (machine)
|
||||||
|
| 341 | | invitation
|
||||||
|
| 344 | reop | reop canal
|
||||||
|
| 345 | reop | reop canal (fin)
|
||||||
|
| 351 | | version du serveur
|
||||||
|
| 352 | who | who
|
||||||
|
| 369 | whowas | whowas (fin)
|
||||||
|
| 378 | whois | whois (connection depuis)
|
||||||
|
| 379 | whois | whois (utilise les modes)
|
||||||
|
| 432 | | pseudo erroné
|
||||||
|
| 433 | | pseudo déjà en cours d'utilisation
|
||||||
|
| 438 | | pas autorisé à changer de pseudo
|
||||||
|
| 671 | whois | whois (connexion sécurisée)
|
||||||
|
| 901 | | vous êtes maintenant identifié
|
||||||
|
|========================================
|
||||||
|
|
||||||
|
Les autres messages numériques peuvent être paramétrés de la même manière.
|
||||||
|
|
||||||
|
Le message peut être préfixé par le nom du serveur pour être spécifique à un
|
||||||
|
serveur IRC (par exemple: `freenode.whois`).
|
||||||
|
|
||||||
|
Quelques exemples:
|
||||||
|
|
||||||
|
* afficher le résultat de `/whois` sur le tampon privé:
|
||||||
|
|
||||||
|
----------------------------------------
|
||||||
|
/set irc.msgbuffer.whois private
|
||||||
|
----------------------------------------
|
||||||
|
|
||||||
|
* restaurer le tampon par défaut pour whois (tampon du serveur):
|
||||||
|
|
||||||
|
----------------------------------------
|
||||||
|
/unset irc.msgbuffer.whois
|
||||||
|
----------------------------------------
|
||||||
|
|
||||||
|
* afficher une invitation sur le tampon courant, pour le serveur "freenode"
|
||||||
|
seulement :
|
||||||
|
|
||||||
|
----------------------------------------
|
||||||
|
/set irc.msgbuffer.freenode.invite current
|
||||||
|
----------------------------------------
|
||||||
|
|
||||||
|
* afficher le message "303" (ison) sur le tampon "core" WeeChat:
|
||||||
|
|
||||||
|
----------------------------------------
|
||||||
|
/set irc.msgbuffer.303 weechat
|
||||||
|
----------------------------------------
|
||||||
|
|
||||||
[[logger_plugin]]
|
[[logger_plugin]]
|
||||||
Extension Logger
|
Extension Logger
|
||||||
~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~
|
||||||
@@ -1051,16 +1242,19 @@ Extension Logger
|
|||||||
L'extension Logger permet de sauvegarder le contenu des tampons dans des
|
L'extension Logger permet de sauvegarder le contenu des tampons dans des
|
||||||
fichiers, avec des options sur comment et quoi sauvegarder.
|
fichiers, avec des options sur comment et quoi sauvegarder.
|
||||||
|
|
||||||
|
[[logger_options]]
|
||||||
Options (logger.conf)
|
Options (logger.conf)
|
||||||
^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
include::autogen/user/logger_options.txt[]
|
include::autogen/user/logger_options.txt[]
|
||||||
|
|
||||||
|
[[logger_commands]]
|
||||||
Commandes
|
Commandes
|
||||||
^^^^^^^^^
|
^^^^^^^^^
|
||||||
|
|
||||||
include::autogen/user/logger_commands.txt[]
|
include::autogen/user/logger_commands.txt[]
|
||||||
|
|
||||||
|
[[logger_log_levels]]
|
||||||
Niveaux d'enregistrement
|
Niveaux d'enregistrement
|
||||||
^^^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
@@ -1108,6 +1302,7 @@ Quelques exemples :
|
|||||||
/set logger.level.irc 2
|
/set logger.level.irc 2
|
||||||
----------------------------------------
|
----------------------------------------
|
||||||
|
|
||||||
|
[[logger_filenames_masks]]
|
||||||
Masques de noms de fichiers
|
Masques de noms de fichiers
|
||||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
@@ -1146,7 +1341,7 @@ Vous obtiendrez les fichiers suivants :
|
|||||||
Extensions Scripts
|
Extensions Scripts
|
||||||
~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
WeeChat fournit 5 extensions pour scripts : Perl, Python, Ruby, Lua and Tcl.
|
WeeChat fournit 5 extensions pour scripts : Perl, Python, Ruby, Lua et Tcl.
|
||||||
Ces extensions peuvent charger, exécuter et décharger des scripts pour ces
|
Ces extensions peuvent charger, exécuter et décharger des scripts pour ces
|
||||||
langages.
|
langages.
|
||||||
|
|
||||||
@@ -1154,28 +1349,33 @@ Pour plus d'informations sur comment écrire des scripts, ou sur l'API
|
|||||||
WeeChat pour les scripts, merci de lire le 'Le Guide pour Scripts WeeChat'.
|
WeeChat pour les scripts, merci de lire le 'Le Guide pour Scripts WeeChat'.
|
||||||
|
|
||||||
Vous pouvez trouver des scripts pour WeeChat ici :
|
Vous pouvez trouver des scripts pour WeeChat ici :
|
||||||
http://www.weechat.org/plugins
|
http://www.weechat.org/scripts
|
||||||
|
|
||||||
|
[[perl_commands]]
|
||||||
Commandes Perl
|
Commandes Perl
|
||||||
^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^
|
||||||
|
|
||||||
include::autogen/user/perl_commands.txt[]
|
include::autogen/user/perl_commands.txt[]
|
||||||
|
|
||||||
|
[[python_commands]]
|
||||||
Commandes Python
|
Commandes Python
|
||||||
^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
include::autogen/user/python_commands.txt[]
|
include::autogen/user/python_commands.txt[]
|
||||||
|
|
||||||
|
[[ruby_commands]]
|
||||||
Commandes Ruby
|
Commandes Ruby
|
||||||
^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^
|
||||||
|
|
||||||
include::autogen/user/ruby_commands.txt[]
|
include::autogen/user/ruby_commands.txt[]
|
||||||
|
|
||||||
|
[[lua_commands]]
|
||||||
Commandes Lua
|
Commandes Lua
|
||||||
^^^^^^^^^^^^^
|
^^^^^^^^^^^^^
|
||||||
|
|
||||||
include::autogen/user/lua_commands.txt[]
|
include::autogen/user/lua_commands.txt[]
|
||||||
|
|
||||||
|
[[tcl_commands]]
|
||||||
Commandes Tcl
|
Commandes Tcl
|
||||||
^^^^^^^^^^^^^
|
^^^^^^^^^^^^^
|
||||||
|
|
||||||
@@ -1191,11 +1391,13 @@ L'extension Xfer permet :
|
|||||||
"DCC Chat" via l'extension IRC
|
"DCC Chat" via l'extension IRC
|
||||||
* le transfert de fichiers, par exemple le "DCC" via l'extension IRC
|
* le transfert de fichiers, par exemple le "DCC" via l'extension IRC
|
||||||
|
|
||||||
|
[[xfer_options]]
|
||||||
Options (xfer.conf)
|
Options (xfer.conf)
|
||||||
^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
include::autogen/user/xfer_options.txt[]
|
include::autogen/user/xfer_options.txt[]
|
||||||
|
|
||||||
|
[[xfer_commands]]
|
||||||
Commandes
|
Commandes
|
||||||
^^^^^^^^^
|
^^^^^^^^^
|
||||||
|
|
||||||
@@ -1229,6 +1431,7 @@ Jiri Golembiovsky::
|
|||||||
soltys::
|
soltys::
|
||||||
traduction en polonais
|
traduction en polonais
|
||||||
|
|
||||||
|
Nils Görs::
|
||||||
rettub::
|
rettub::
|
||||||
Frank Zacharias::
|
Frank Zacharias::
|
||||||
traduction en allemand
|
traduction en allemand
|
||||||
@@ -1242,21 +1445,22 @@ m4v::
|
|||||||
Voroskoi::
|
Voroskoi::
|
||||||
traduction en hongrois
|
traduction en hongrois
|
||||||
|
|
||||||
Rudolf Polzer::
|
Marco Paolone::
|
||||||
patchs
|
traduction en italien
|
||||||
|
|
||||||
|
Dmitry Kobylin::
|
||||||
|
extension tcl
|
||||||
|
|
||||||
|
Rudolf Polzer::
|
||||||
Jim Ramsay::
|
Jim Ramsay::
|
||||||
|
Pistos::
|
||||||
|
Gwenn::
|
||||||
|
Dominik Honnef::
|
||||||
patchs
|
patchs
|
||||||
|
|
||||||
Odin::
|
Odin::
|
||||||
RPM pour SuSE
|
RPM pour SuSE
|
||||||
|
|
||||||
Pistos::
|
|
||||||
patchs
|
|
||||||
|
|
||||||
Gwenn::
|
|
||||||
patchs
|
|
||||||
|
|
||||||
|
|
||||||
[[support]]
|
[[support]]
|
||||||
Support
|
Support
|
||||||
|
|||||||
@@ -0,0 +1,60 @@
|
|||||||
|
# Copyright (c) 2003-2010 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/>.
|
||||||
|
#
|
||||||
|
|
||||||
|
# user's guide
|
||||||
|
ADD_CUSTOM_COMMAND(
|
||||||
|
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.it.html
|
||||||
|
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a toclevels=3 -a toc-title='Indice' -a date=`date "+%F"` -a revision="${VERSION}" -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.it.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.it.txt
|
||||||
|
DEPENDS
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.it.txt
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/autogen/user/*.txt
|
||||||
|
COMMENT "Building weechat_user.it.html"
|
||||||
|
)
|
||||||
|
ADD_CUSTOM_TARGET(doc-user-it ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.it.html)
|
||||||
|
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.it.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
|
||||||
|
|
||||||
|
# FAQ
|
||||||
|
ADD_CUSTOM_COMMAND(
|
||||||
|
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.it.html
|
||||||
|
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a toc-title='Indice' -a date=`date "+%F"` -a revision="${VERSION}" -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.it.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.it.txt
|
||||||
|
DEPENDS
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.it.txt
|
||||||
|
COMMENT "Building weechat_faq.it.html"
|
||||||
|
)
|
||||||
|
ADD_CUSTOM_TARGET(doc-faq-it ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.it.html)
|
||||||
|
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.it.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
|
||||||
|
|
||||||
|
# quickstart
|
||||||
|
ADD_CUSTOM_COMMAND(
|
||||||
|
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.it.html
|
||||||
|
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a toc-title='Indice' -a date=`date "+%F"` -a revision="${VERSION}" -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.it.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.it.txt
|
||||||
|
DEPENDS
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.it.txt
|
||||||
|
COMMENT "Building weechat_quickstart.it.html"
|
||||||
|
)
|
||||||
|
ADD_CUSTOM_TARGET(doc-quickstart-it ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.it.html)
|
||||||
|
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.it.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
|
||||||
|
|
||||||
|
# tester's guide
|
||||||
|
ADD_CUSTOM_COMMAND(
|
||||||
|
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.it.html
|
||||||
|
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a toc-title='Indice' -a date=`date "+%F"` -a revision="${VERSION}" -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.it.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.it.txt
|
||||||
|
DEPENDS
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.it.txt
|
||||||
|
COMMENT "Building weechat_tester.it.html"
|
||||||
|
)
|
||||||
|
ADD_CUSTOM_TARGET(doc-tester-it ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.it.html)
|
||||||
|
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.it.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
|
||||||
@@ -0,0 +1,57 @@
|
|||||||
|
# Copyright (c) 2003-2010 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/>.
|
||||||
|
#
|
||||||
|
|
||||||
|
docdir = $(datadir)/doc/$(PACKAGE)
|
||||||
|
|
||||||
|
EXTRA_DIST = CMakeLists.txt \
|
||||||
|
weechat_user.it.txt \
|
||||||
|
weechat_faq.it.txt \
|
||||||
|
weechat_quickstart.it.txt \
|
||||||
|
weechat_tester.it.txt \
|
||||||
|
$(wildcard autogen/user/*.txt) \
|
||||||
|
$(wildcard autogen/plugin_api/*.txt)
|
||||||
|
|
||||||
|
all-local: weechat_user.it.html \
|
||||||
|
weechat_faq.it.html \
|
||||||
|
weechat_quickstart.it.html \
|
||||||
|
weechat_tester.it.html
|
||||||
|
|
||||||
|
# user's guide
|
||||||
|
weechat_user.it.html: weechat_user.it.txt $(wildcard autogen/user/*.txt)
|
||||||
|
$(ASCIIDOC) -a toc -a toclevels=3 -a toc-title='Indice' -a date=`date "+%F"` -a revision="$(VERSION)" -n -o weechat_user.it.html weechat_user.it.txt
|
||||||
|
|
||||||
|
# FAQ
|
||||||
|
weechat_faq.it.html: weechat_faq.it.txt
|
||||||
|
$(ASCIIDOC) -a toc -a toc-title='Indice' -a date=`date "+%F"` -a revision="$(VERSION)" -n -o weechat_faq.it.html weechat_faq.it.txt
|
||||||
|
|
||||||
|
# quickstart
|
||||||
|
weechat_quickstart.it.html: weechat_quickstart.it.txt
|
||||||
|
$(ASCIIDOC) -a toc -a toc_title='Indice' -a date=`date "+%F"` -a revision="$(VERSION)" -n -o weechat_quickstart.it.html weechat_quickstart.it.txt
|
||||||
|
|
||||||
|
# tester's guide
|
||||||
|
weechat_tester.it.html: weechat_tester.it.txt
|
||||||
|
$(ASCIIDOC) -a toc -a toc_title='Indice' -a date=`date "+%F"` -a revision="$(VERSION)" -n -o weechat_tester.it.html weechat_tester.it.txt
|
||||||
|
|
||||||
|
# install docs
|
||||||
|
|
||||||
|
install-data-hook:
|
||||||
|
$(mkinstalldirs) $(DESTDIR)$(docdir)/
|
||||||
|
$(INSTALL_DATA) *.html $(DESTDIR)$(docdir)/
|
||||||
|
|
||||||
|
# clean
|
||||||
|
|
||||||
|
clean-local:
|
||||||
|
-rm -f *.html
|
||||||
@@ -0,0 +1,94 @@
|
|||||||
|
[width="65%",cols="^1,^2,8",options="header"]
|
||||||
|
|========================================
|
||||||
|
| Plugin | Name | Description
|
||||||
|
| alias | alias | elenco di alias
|
||||||
|
|
||||||
|
| aspell | aspell_langs | elenco di lingue supportate per aspell
|
||||||
|
|
||||||
|
| irc | irc_channel | canale IRC corrente
|
||||||
|
|
||||||
|
| irc | irc_channel_nicks_hosts | nick e host del canale IRC corrente
|
||||||
|
|
||||||
|
| irc | irc_channel_topic | argomento del canale IRC attivo
|
||||||
|
|
||||||
|
| irc | irc_channels | canali su tutti i server IRC
|
||||||
|
|
||||||
|
| irc | irc_ignores_numbers | numero di ignore definiti
|
||||||
|
|
||||||
|
| irc | irc_msg_part | messaggio di uscita predefinito per il canale IRC
|
||||||
|
|
||||||
|
| irc | irc_privates | privati su tutti i server IRC
|
||||||
|
|
||||||
|
| irc | irc_server | server IRC corrente
|
||||||
|
|
||||||
|
| irc | irc_server_channels | canali sul server IRC corrente
|
||||||
|
|
||||||
|
| irc | irc_server_nick | nick sul server IRC corrente
|
||||||
|
|
||||||
|
| irc | irc_server_nicks | nick su tutti i canali del server IRC corrente
|
||||||
|
|
||||||
|
| irc | irc_server_privates | privati sul server IRC corrente
|
||||||
|
|
||||||
|
| irc | irc_servers | server IRC (nomi interni)
|
||||||
|
|
||||||
|
| irc | nick | nick del canale IRC corrente
|
||||||
|
|
||||||
|
| lua | lua_script | elenco degli script
|
||||||
|
|
||||||
|
| perl | perl_script | elenco degli script
|
||||||
|
|
||||||
|
| python | python_script | elenco degli script
|
||||||
|
|
||||||
|
| relay | relay_free_port | prima porta libera per il plugin relay
|
||||||
|
|
||||||
|
| relay | relay_protocol_name | protocollo.nome possibile per il plugin relay
|
||||||
|
|
||||||
|
| relay | relay_relays | protocollo.nome dei relay correnti per il plugin relay
|
||||||
|
|
||||||
|
| ruby | ruby_script | elenco degli script
|
||||||
|
|
||||||
|
| tcl | tcl_script | elenco degli script
|
||||||
|
|
||||||
|
| weechat | bars_names | nomi delle barre
|
||||||
|
|
||||||
|
| weechat | bars_options | opzioni per le barre
|
||||||
|
|
||||||
|
| weechat | buffers_names | nomi dei buffer
|
||||||
|
|
||||||
|
| weechat | buffers_numbers | numeri dei buffer
|
||||||
|
|
||||||
|
| weechat | buffers_plugins_names | nomi dei buffer (inclusi i nomi plugin)
|
||||||
|
|
||||||
|
| weechat | commands | comandi (weechat e plugin)
|
||||||
|
|
||||||
|
| weechat | config_files | file di configurazione
|
||||||
|
|
||||||
|
| weechat | config_option_values | valori per una opzione di configurazione
|
||||||
|
|
||||||
|
| weechat | config_options | opzioni di configurazione
|
||||||
|
|
||||||
|
| weechat | filename | nome file
|
||||||
|
|
||||||
|
| weechat | filters_names | nomi dei filtri
|
||||||
|
|
||||||
|
| weechat | infolists | nomi delle liste info in attesa
|
||||||
|
|
||||||
|
| weechat | infos | nomi delle info in attesa
|
||||||
|
|
||||||
|
| weechat | keys_codes | codici tasti
|
||||||
|
|
||||||
|
| weechat | nicks | nick nella lista nick del buffer corrente
|
||||||
|
|
||||||
|
| weechat | plugins_commands | comandi definiti dai plugin
|
||||||
|
|
||||||
|
| weechat | plugins_names | nomi dei plugin
|
||||||
|
|
||||||
|
| weechat | proxies_names | nomi dei proxy
|
||||||
|
|
||||||
|
| weechat | proxies_options | opzioni per i proxy
|
||||||
|
|
||||||
|
| weechat | weechat_commands | comandi di weechat
|
||||||
|
|
||||||
|
| xfer | nick | nick della chat DCC
|
||||||
|
|
||||||
|
|========================================
|
||||||
@@ -0,0 +1,58 @@
|
|||||||
|
[width="65%",cols="^1,^2,8",options="header"]
|
||||||
|
|========================================
|
||||||
|
| Plugin | Name | Description
|
||||||
|
| alias | alias | elenco di alias
|
||||||
|
|
||||||
|
| irc | irc_channel | elenco dei canali per un server IRC
|
||||||
|
|
||||||
|
| irc | irc_ignore | elenco di ignore IRC
|
||||||
|
|
||||||
|
| irc | irc_nick | elenco dei nick per un canale IRC
|
||||||
|
|
||||||
|
| irc | irc_server | elenco di server IRC
|
||||||
|
|
||||||
|
| logger | logger_buffer | elenco dei buffer logger
|
||||||
|
|
||||||
|
| lua | lua_script | elenco degli script
|
||||||
|
|
||||||
|
| perl | perl_script | elenco degli script
|
||||||
|
|
||||||
|
| python | python_script | elenco degli script
|
||||||
|
|
||||||
|
| relay | relay | elenco di client relay
|
||||||
|
|
||||||
|
| ruby | ruby_script | elenco degli script
|
||||||
|
|
||||||
|
| tcl | tcl_script | elenco degli script
|
||||||
|
|
||||||
|
| weechat | bar | elenco delle barre
|
||||||
|
|
||||||
|
| weechat | bar_item | elenco degli elementi barra
|
||||||
|
|
||||||
|
| weechat | bar_window | elenco delle finestre barra
|
||||||
|
|
||||||
|
| weechat | buffer | elenco dei buffer
|
||||||
|
|
||||||
|
| weechat | buffer_lines | righe di un buffer
|
||||||
|
|
||||||
|
| weechat | filter | elenco dei filtri
|
||||||
|
|
||||||
|
| weechat | history | cronologia dei comandi
|
||||||
|
|
||||||
|
| weechat | hook | elenco di hook
|
||||||
|
|
||||||
|
| weechat | hotlist | elenco dei buffer nella hotlist
|
||||||
|
|
||||||
|
| weechat | key | elenco di tasti associati
|
||||||
|
|
||||||
|
| weechat | nicklist | nick nella lista nick per un buffer
|
||||||
|
|
||||||
|
| weechat | option | elenco delle opzioni
|
||||||
|
|
||||||
|
| weechat | plugin | elenco dei plugin
|
||||||
|
|
||||||
|
| weechat | window | elenco delle finestre
|
||||||
|
|
||||||
|
| xfer | xfer | lista di xfer
|
||||||
|
|
||||||
|
|========================================
|
||||||
@@ -0,0 +1,42 @@
|
|||||||
|
[width="65%",cols="^1,^2,8",options="header"]
|
||||||
|
|========================================
|
||||||
|
| Plugin | Name | Description
|
||||||
|
| fifo | fifo_filename | nome della pipe FIFO
|
||||||
|
|
||||||
|
| irc | irc_buffer | ottiene puntatore al buffer per un server/canale IRC
|
||||||
|
|
||||||
|
| irc | irc_is_channel | 1 se la stringa è un canale IRC
|
||||||
|
|
||||||
|
| irc | irc_nick | ottiene nick corrente su un server
|
||||||
|
|
||||||
|
| irc | irc_nick_color | riceve colore del nick
|
||||||
|
|
||||||
|
| irc | irc_nick_from_host | ottiene nick dall'host IRC
|
||||||
|
|
||||||
|
| weechat | charset_internal | set caratteri interno di WeeChat
|
||||||
|
|
||||||
|
| weechat | charset_terminal | set caratteri terminale
|
||||||
|
|
||||||
|
| weechat | date | data di compilazione di WeeChat
|
||||||
|
|
||||||
|
| weechat | dir_separator | separatore cartella
|
||||||
|
|
||||||
|
| weechat | filters_enabled | 1 se i filtri sono abilitati
|
||||||
|
|
||||||
|
| weechat | inactivity | inattività della tastiera (secondi)
|
||||||
|
|
||||||
|
| weechat | version | versione di WeeChat
|
||||||
|
|
||||||
|
| weechat | weechat_dir | cartella WeeChat
|
||||||
|
|
||||||
|
| weechat | weechat_libdir | cartella "lib" di WeeChat
|
||||||
|
|
||||||
|
| weechat | weechat_localedir | cartella "locale" di WeeChat
|
||||||
|
|
||||||
|
| weechat | weechat_sharedir | cartella "share" di WeeChat
|
||||||
|
|
||||||
|
| weechat | weechat_site | sito di WeeChat
|
||||||
|
|
||||||
|
| weechat | weechat_site_download | sito di WeeChat, pagina di download
|
||||||
|
|
||||||
|
|========================================
|
||||||
@@ -0,0 +1,23 @@
|
|||||||
|
• *`/alias`* `[nome_alias [comando [argomenti]]]`::
|
||||||
|
|
||||||
|
........................................
|
||||||
|
crea un alias per un comando
|
||||||
|
|
||||||
|
nome_alias: nome di un alias (può iniziare o terminare con "*" per un elenco di alias)
|
||||||
|
comando: nome comando (più comandi possono essere separati da punto e virgola)
|
||||||
|
argomenti: argomenti per un comando
|
||||||
|
|
||||||
|
Senza argomanto, questo comando elenca tutti gli alias definiti.
|
||||||
|
|
||||||
|
Nota: nel comando, le variabii speciali vengono sostituite:
|
||||||
|
$n: argomento 'n' (tra 1 e 9)
|
||||||
|
$-m: argomenti da 1 a 'm'
|
||||||
|
$n-: argomenti da 'n' alla fine
|
||||||
|
$n-m: argomenti da 'n' a 'm'
|
||||||
|
$*: tutti gli argomenti
|
||||||
|
$~: ultimo argomento
|
||||||
|
$nick: nick corrente
|
||||||
|
$channel: canale corrente
|
||||||
|
$server: server corrente
|
||||||
|
........................................
|
||||||
|
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
• *`/aspell`* `dictlist | enable lingua | disable | addword [lingua] parola`::
|
||||||
|
|
||||||
|
........................................
|
||||||
|
configurazione del plugin aspell
|
||||||
|
|
||||||
|
dictlist: mostra i dizionari installati
|
||||||
|
enable: abilita aspell sul buffer corrente
|
||||||
|
disable: disabilita aspell sul buffer corrente
|
||||||
|
addword: aggiunge una parola nel dizionario personale aspell
|
||||||
|
|
||||||
|
La riga di input che comincia con '/' non viene controllata, tranne che per alcuni comandi.
|
||||||
|
........................................
|
||||||
|
|
||||||
@@ -0,0 +1,30 @@
|
|||||||
|
* *aspell.check.commands*
|
||||||
|
** descrizione: elenco separato da virgole di comandi per cui il controllo ortografico è abilitato (il controllo ortografico è disabilitato per tutti gli altri comandi)
|
||||||
|
** tipo: stringa
|
||||||
|
** valori: qualsiasi stringa (valore predefinito: "ame,amsg,away,command,cycle,kick,kickban,me,msg,notice,part,query,quit,topic")
|
||||||
|
|
||||||
|
* *aspell.check.default_dict*
|
||||||
|
** descrizione: dizionario predefinito (o elenco separato da virgole di dizionari) da utilizzare quando il buffer non ha alcun dizionario definito (vuoto per disabilitare il controllo ortografico sui buffer in cui non è stato esplicitamente abilitato)
|
||||||
|
** tipo: stringa
|
||||||
|
** valori: qualsiasi stringa (valore predefinito: "")
|
||||||
|
|
||||||
|
* *aspell.check.during_search*
|
||||||
|
** descrizione: controlla le parole durante la ricerca del testo nel buffer
|
||||||
|
** tipo: bool
|
||||||
|
** valori: on, off (valore predefinito: off)
|
||||||
|
|
||||||
|
* *aspell.check.real_time*
|
||||||
|
** descrizione: controllo ortografico in tempo reale (più lento, disabilitato per default: le parole vengono controllate solo se seguite da un delimitatore)
|
||||||
|
** tipo: bool
|
||||||
|
** valori: on, off (valore predefinito: off)
|
||||||
|
|
||||||
|
* *aspell.check.word_min_length*
|
||||||
|
** descrizione: lunghezza minima per una parola da controllare (0 per controllarle tutte)
|
||||||
|
** tipo: intero
|
||||||
|
** valori: 0 .. 2147483647 (valore predefinito: 2)
|
||||||
|
|
||||||
|
* *aspell.look.color*
|
||||||
|
** descrizione: colore utilizzato per le parole non corrette
|
||||||
|
** tipo: colore
|
||||||
|
** valori: un nome colore (valore predefinito: lightred)
|
||||||
|
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
• *`/charset`* `[[decode | encode | set_caratteri:] | [reset]`::
|
||||||
|
|
||||||
|
........................................
|
||||||
|
modifica il set di caratteri per il buffer corrente
|
||||||
|
|
||||||
|
decode: modifica il set di caratteri per la decodifica
|
||||||
|
encode: modifica il set di caratteri per la codifica
|
||||||
|
set_caratteri: nuovo set di caratteri per il buffer corrente
|
||||||
|
reset: resetta il set di caratteri per il buffer corrente
|
||||||
|
........................................
|
||||||
|
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
* *charset.default.decode*
|
||||||
|
** descrizione: set di caratteri per la decodifica globale
|
||||||
|
** tipo: stringa
|
||||||
|
** valori: qualsiasi stringa (valore predefinito: "iso-8859-1")
|
||||||
|
|
||||||
|
* *charset.default.encode*
|
||||||
|
** descrizione: set di caratter per la codifica globale
|
||||||
|
** tipo: stringa
|
||||||
|
** valori: qualsiasi stringa (valore predefinito: "")
|
||||||
|
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user