mirror of
https://github.com/weechat/weechat.git
synced 2026-06-16 08:04:46 +02:00
Compare commits
388 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 18339e9608 | |||
| 5bd729d6a0 | |||
| 26041f4a1c | |||
| 9eaea6bc19 | |||
| fed65826b5 | |||
| 4456a6047f | |||
| 1dba2c8c92 | |||
| 42b9038919 | |||
| aeee1856eb | |||
| acca17d142 | |||
| ea3588a8d7 | |||
| 339e42df76 | |||
| ea5fa86793 | |||
| ca76653a2c | |||
| 1df46609ce | |||
| b1fa81468e | |||
| 9c0eb33213 | |||
| 030ac33005 | |||
| c33f0e60ea | |||
| 31bfcf96c7 | |||
| 9394a78e39 | |||
| a6f37da576 | |||
| d52f051ec1 | |||
| 45c0cc7e7e | |||
| 3fc11807f9 | |||
| 2e82d65819 | |||
| fab6ac61ee | |||
| 9399c9f9cb | |||
| 9017a23013 | |||
| a6e819f790 | |||
| 2a37b44ae1 | |||
| eccb4703cf | |||
| 09939a1b4b | |||
| 19d74e18a5 | |||
| 96f49f39e0 | |||
| 187381f1d1 | |||
| 915d4801f6 | |||
| df0d408ce9 | |||
| 1c80407f0f | |||
| 848cce2c8a | |||
| 253ff07009 | |||
| 12afdb29c4 | |||
| 5ff1742c86 | |||
| 4981e7150a | |||
| 35944a4219 | |||
| b6bb001fc4 | |||
| 56526db5cf | |||
| 88853df080 | |||
| 485e884751 | |||
| 2bbc228381 | |||
| b9e65ec63d | |||
| 24135801b4 | |||
| 483b63f360 | |||
| ac27388543 | |||
| e59bbbb40a | |||
| 96e6ae3fc3 | |||
| b932f403a5 | |||
| 3e2943a0e0 | |||
| b491cc3479 | |||
| f1a946054e | |||
| 8cfabb4696 | |||
| a0f442a84e | |||
| 03d01f4234 | |||
| 2bad57ae28 | |||
| 918383424f | |||
| 855993d14d | |||
| a10b9038d5 | |||
| c1c1005b36 | |||
| da4438b995 | |||
| 1c5ef4d1e3 | |||
| 8f9f1f8e97 | |||
| b40ea94a49 | |||
| 7d65014efd | |||
| 032a5ddef5 | |||
| c0d050f7cc | |||
| 29fad11df5 | |||
| 6f84e00ee7 | |||
| 6b4aaef396 | |||
| 5755bd50ac | |||
| 7925b2d242 | |||
| 9d96090d7d | |||
| 2801b8437c | |||
| bc3fa9fd4c | |||
| 568d913c58 | |||
| 645d38d403 | |||
| 4fd23e12dc | |||
| feb51fbca4 | |||
| 7ef5a97a08 | |||
| ab9d1480f6 | |||
| 0a66ad0e0f | |||
| 5233ceed44 | |||
| 86b1ab20b5 | |||
| 7ec6092ba9 | |||
| 23a0c0d610 | |||
| 7ef2f312ff | |||
| 9dd45664fd | |||
| 8f4240dbf7 | |||
| bab29e028d | |||
| 58d423319c | |||
| 682f5addc0 | |||
| eb5e54602e | |||
| da50ac329a | |||
| 788df1089b | |||
| 401ddff564 | |||
| 16e62bdc60 | |||
| fa60269325 | |||
| 1db7ef859c | |||
| 6ad62e4021 | |||
| ca51a9780f | |||
| 3e47e9c3e3 | |||
| 4faa3c772b | |||
| d1950311cf | |||
| 92bc700349 | |||
| a852d3af4b | |||
| 0543b0ccc7 | |||
| 282f786c1a | |||
| 62aff3f1c6 | |||
| 873bcfc9f0 | |||
| eabf21098d | |||
| 5868fc3c6d | |||
| dfa43ea1a7 | |||
| 7cc735c7f9 | |||
| 3d3dc1593d | |||
| 27bf347e1c | |||
| 2fc187743c | |||
| 08b17c2f26 | |||
| 42972ce00a | |||
| 8c324c238d | |||
| 6e1e8e9ed8 | |||
| 94764208e4 | |||
| b523613e73 | |||
| 35157bc2f1 | |||
| cd5b8c8f9e | |||
| f4849bc625 | |||
| 555f1827e3 | |||
| cdf990fced | |||
| 090bd68e7c | |||
| 3cf7b4e696 | |||
| d2ec8d133d | |||
| 832a4c1466 | |||
| b1e840eb6c | |||
| 1ad5f123b5 | |||
| ce1b23311c | |||
| 341551f2f2 | |||
| 34272b7e4d | |||
| 922e67cabd | |||
| 8d25a75200 | |||
| 8cea059feb | |||
| f19000ac4f | |||
| be8831499d | |||
| 2e72679363 | |||
| 124634cf88 | |||
| 4b6bd6a923 | |||
| 94a0551c55 | |||
| 3799d2c2a5 | |||
| f6868c40af | |||
| 5b71c03c4f | |||
| 5bfb2929e6 | |||
| 7850668327 | |||
| daee18621e | |||
| 71d77a5890 | |||
| 74d148d056 | |||
| df1a6b0c3d | |||
| bd1b6c1794 | |||
| fa8ff80fc1 | |||
| a3658f4fc2 | |||
| 40401f88da | |||
| e6a99fb63a | |||
| 1d00db2d14 | |||
| 3d4c76cecc | |||
| 8109368f7c | |||
| 69b53c8f3d | |||
| fbc1c2a9b1 | |||
| 8862f19788 | |||
| 5aa82a85e3 | |||
| 94ddf61d20 | |||
| 8663d10063 | |||
| f33eaee78f | |||
| c4467469cc | |||
| 2d99d6e7ea | |||
| 930285e489 | |||
| e23aed51a1 | |||
| 2899770bbe | |||
| 2f176dc347 | |||
| c8920da899 | |||
| 8c042210a8 | |||
| 16a02cddaf | |||
| 10a3954908 | |||
| aad84612a9 | |||
| b868eaee2a | |||
| dfa0500b12 | |||
| fb9268c01d | |||
| fcd296d7f2 | |||
| 754cf874bc | |||
| ac19ec05be | |||
| 99bfdfd2ff | |||
| aa41942ac1 | |||
| f4d5ddd858 | |||
| 2e48becbfc | |||
| b4e0e17917 | |||
| c02d70b7ba | |||
| eb56a98fc8 | |||
| 309e8eadab | |||
| 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
|
||||
*.m4
|
||||
*.o
|
||||
*.pdf
|
||||
*.Plo
|
||||
*.Po
|
||||
*.so
|
||||
*.so.0
|
||||
*.so.0.0.0
|
||||
*.xsl
|
||||
|
||||
ABOUT-NLS
|
||||
autom4te*
|
||||
@@ -27,7 +25,6 @@ config.rpath
|
||||
config.status
|
||||
config.sub
|
||||
configure
|
||||
date.xml
|
||||
debian/*.log
|
||||
depcomp
|
||||
insert-header.sin
|
||||
|
||||
@@ -30,6 +30,13 @@ Contributors
|
||||
* Voroskoi, IRC: 'voroskoi'
|
||||
* Frank Zacharias
|
||||
* Pavel Shevchuk, IRC: 'Stalwart'
|
||||
* soltys
|
||||
* Nils Görs
|
||||
* rettub
|
||||
* m4v
|
||||
* Marco Paolone
|
||||
* Dmitry Kobylin
|
||||
* Dominik Honnef
|
||||
|
||||
|
||||
Contact
|
||||
@@ -39,4 +46,4 @@ Whole team is connected to IRC:
|
||||
server: 'irc.freenode.net', channels: '#weechat' (english) and '#weechat-fr' (french)
|
||||
|
||||
|
||||
See README file for licence detail.
|
||||
See README file for license detail.
|
||||
|
||||
+30
-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
|
||||
# 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/>.
|
||||
#
|
||||
|
||||
PROJECT(weechat)
|
||||
PROJECT(weechat C)
|
||||
|
||||
cmake_minimum_required(VERSION 2.4)
|
||||
|
||||
@@ -28,18 +28,36 @@ ENDIF(PREFIX)
|
||||
|
||||
SET(VERSION_MAJOR "0")
|
||||
SET(VERSION_MINOR "3")
|
||||
SET(VERSION_PATCH "0")
|
||||
SET(VERSION_PATCH "2")
|
||||
SET(VERSION ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH})
|
||||
SET(LICENSE "GPL3")
|
||||
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})
|
||||
|
||||
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(ENABLE_GTK "Enable GTK interface")
|
||||
OPTION(DISABLE_NLS "Disable Native Language Support")
|
||||
OPTION(DISABLE_GCRYPT "Disable libgcrypt support")
|
||||
OPTION(DISABLE_GNUTLS "Disable SSLv3/TLS connection support")
|
||||
OPTION(DISABLE_LARGEFILE "Disable Large File Support")
|
||||
OPTION(DISABLE_ALIAS "Disable Alias plugin")
|
||||
@@ -93,7 +111,7 @@ SET(exec_prefix "\${prefix}")
|
||||
SET(libdir "\${exec_prefix}/lib")
|
||||
SET(includedir "\${prefix}/include")
|
||||
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/weechat.pc.in ${CMAKE_CURRENT_BINARY_DIR}/weechat.pc @ONLY)
|
||||
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat.pc DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/pkgconfig)
|
||||
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat.pc DESTINATION ${LIBDIR}/../pkgconfig)
|
||||
|
||||
# packages
|
||||
SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Fast, light and extensible chat client")
|
||||
@@ -116,10 +134,10 @@ SET(CPACK_SOURCE_IGNORE_FILES "/\\\\.git" "/build/" "/m4/"
|
||||
"/config\\\\.h.in$" "/config\\\\.log$" "/config\\\\.rpath$"
|
||||
"/config\\\\.status$" "/config\\\\.sub$" "/configure$" "/depcomp$"
|
||||
"/install-sh$" "/missing$" "/intl/" "/libtool$" "/\\\\.libs/"
|
||||
"/ltmain\\\\.sh$" "/\\\\.deps/" "/date\\\\.xml$" "/html/" "/html1/"
|
||||
"\\\\.pdf$" "/Makefile$" "/Makefile\\\\.in$" "stamp" "/po/.*\\\\.header$"
|
||||
"\\\\.gmo$" "~$" "\\\\.o$" "\\\\.lo$" "\\\\.a$" "\\\\.la$" "\\\\.lai$"
|
||||
"\\\\.Plo$" "/weechat-curses$" "/weechat-gtk$"
|
||||
"/ltmain\\\\.sh$" "/\\\\.deps/" "/html/" "/html1/" "/Makefile$"
|
||||
"/Makefile\\\\.in$" "stamp" "/po/.*\\\\.header$" "\\\\.gmo$" "~$" "\\\\.o$"
|
||||
"\\\\.lo$" "\\\\.a$" "\\\\.la$" "\\\\.lai$" "\\\\.Plo$" "/weechat-curses$"
|
||||
"/weechat-gtk$"
|
||||
)
|
||||
|
||||
INCLUDE(CPack)
|
||||
|
||||
@@ -1,9 +1,167 @@
|
||||
WeeChat ChangeLog
|
||||
=================
|
||||
FlashCode <flashcode@flashtux.org>
|
||||
v0.3.0, 2009-09-06
|
||||
v0.3.2, 2010-04-18
|
||||
|
||||
|
||||
Version 0.3.2 (2010-04-18)
|
||||
--------------------------
|
||||
|
||||
* core: add new options for command /key: listdefault, listdiff and reset
|
||||
* core: add new command /mute
|
||||
* core: add command line option "-s" (or "--no-script") to start WeeChat
|
||||
without loading any script
|
||||
* core: improve plugins autoload (option weechat.plugin.autoload): allow to
|
||||
use "*" as joker and "!" to prevent a plugin from being autoloaded
|
||||
(task #6361)
|
||||
* core: remove unneeded space after time on each line if option
|
||||
weechat.look.buffer_time_format is set to empty value (bug #28751)
|
||||
* core: add option "switch_active_buffer_previous" for command /input
|
||||
(task #10141)
|
||||
* core: add new option weechat.look.time_format to customize default format
|
||||
for date/time displayed (localized date by default), add function
|
||||
weechat_util_get_time_string in plugin API (patch #6914)
|
||||
* core: add new option weechat.look.command_chars, add functions
|
||||
string_is_command_char and string_input_for_buffer in plugin and script API
|
||||
* core: add new option weechat.look.read_marker_always_show
|
||||
* core: use arguments for infolist "nicklist" to return only one nick or group
|
||||
* core: fix bug with writing of configuration files when disk is full
|
||||
(bug #29331)
|
||||
* core: fix infinite loop with /layout apply and bug when applying layout,
|
||||
sometimes many /layout apply were needed (bug #26110)
|
||||
* gui: refresh screen when exiting WeeChat (to display messages printed after
|
||||
/quit)
|
||||
* gui: fix bug with global history, reset pointer to last entry after each user
|
||||
input (bug #28754)
|
||||
* gui: fix bug with bar background after text with background color (bug #28157)
|
||||
* gui: fix bug with cursor when position is last char of terminal
|
||||
* api: add "version_number" for function info_get to get WeeChat version as
|
||||
number
|
||||
* api: add "irc_is_nick" for function info_get to check if a string is a valid
|
||||
IRC nick name (patch #7133)
|
||||
* api: add functions "string_encode_base64" and "string_decode_base64", fix
|
||||
bug with base64 encoding
|
||||
* api: add functions "string_match", "string_has_highlight" and
|
||||
"string_mask_to_regex" in script plugin API
|
||||
* api: add missing infos in functions buffer_get_integer / buffer_get_string
|
||||
and in buffer infolist
|
||||
* api: add description of arguments for functions hook_info and hook_infolist
|
||||
* api: add signals "day_changed", "nicklist_group_added/removed",
|
||||
"nicklist_nick_added/removed"
|
||||
* api: fix function "color" in Lua script API
|
||||
* api: fix "inactivity" value when no key has been pressed since WeeChat started
|
||||
(bug #28930)
|
||||
* api: return absolute path for info_get of "weechat_dir" (bug #27936)
|
||||
* alias: add custom completion for aliases (task #9479)
|
||||
* scripts: allow script commands to reload only one script
|
||||
* scripts: fix bug with callbacks when loading a script already loaded
|
||||
* perl: fix crash when callbacks are called during script initialization
|
||||
(bug #29018)
|
||||
* perl: fix crash on /quit or unload of plugin under FreeBSD and Cygwin
|
||||
(bug #29467)
|
||||
* perl: fix bug with script filename when multiplicity is disabled (bug #29530)
|
||||
* irc: add SASL authentication, with PLAIN and DH-BLOWFISH mechanisms
|
||||
(task #8829)
|
||||
* 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: add new option irc.look.part_closes_buffer to close buffer when /part
|
||||
is issued on channel (task #10295)
|
||||
* irc: fix bug with nicks on reconnection: try all nicks in list, even if nick
|
||||
used was not the first in list of nicks
|
||||
* irc: fix command /list: send channel and server name given as argument, and
|
||||
use separate option "-re" to allow a regex
|
||||
* irc: fix PART message received on Undernet server (bug #28825)
|
||||
* irc: fix bug with /away -all: set or unset future away for disconnected
|
||||
servers (bug #29022)
|
||||
* irc: bug with prefix "!" for mode "a" (channel admin) (bug #29109)
|
||||
* irc: do not send signals "irc_in" and "irc_in2" when messages are ignored,
|
||||
add new signals "irc_raw_in" and "irc_raw_in2"
|
||||
* irc: add option "-open" for command /connect
|
||||
* irc: add option irc.network.connection_timeout (timeout between TCP connection
|
||||
to server and reception of message 001)
|
||||
* irc: add options irc.look.smart_filter_join and irc.look.smart_filter_quit
|
||||
* irc: apply smart filter only on channels, not private buffers (bug #28841)
|
||||
* irc: add option irc.look.item_channel_modes_hide_key to hide channel key
|
||||
in channel modes (bug #23961)
|
||||
* irc: add option irc.look.item_nick_prefix
|
||||
* irc: add command /map
|
||||
* irc: add missing commands 276, 343
|
||||
* irc: fix compilation with old GnuTLS versions (bug #28723)
|
||||
* logger: allow date format in logger options path and mask (task #9430)
|
||||
* xfer: fix crash when purging old xfer chats (bug #28764)
|
||||
* xfer: add signal "xfer_ended" (patch #7081)
|
||||
|
||||
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)
|
||||
--------------------------
|
||||
|
||||
@@ -308,7 +466,7 @@ Version 0.2.1 (2006-10-01)
|
||||
* values yes/no accepted (as on/off) for config boolean values (task #5454)
|
||||
* add server default notify level (set by /buffer notify on server buffer)
|
||||
(task #5634)
|
||||
* fix crashs with /buffer and /charset commands when not connected to any
|
||||
* fix crashes with /buffer and /charset commands when not connected to any
|
||||
server (bug #17525)
|
||||
* add special vars $nick/$channel/$server for server_command, alias and plugin
|
||||
command handlers
|
||||
@@ -516,7 +674,7 @@ Version 0.1.6 (2005-11-11)
|
||||
* add colors for input buffer and current channel of status bar
|
||||
* add online help for config options (with /set full_option_name)
|
||||
* enhanced "smart" hotlist, with names (new options:
|
||||
look_hotlist_names_{count|level|length})
|
||||
look_hotlist_names_{count|level|length})
|
||||
|
||||
Version 0.1.5 (2005-09-24)
|
||||
--------------------------
|
||||
|
||||
@@ -27,7 +27,7 @@ make install (as root for installation in system directories)
|
||||
----------------------------------------------------------------------
|
||||
|
||||
|
||||
If you want to report bugs/crashs to developers, please:
|
||||
If you want to report bugs/crashes to developers, please:
|
||||
|
||||
- compile with debug info (type "Debug" for cmake build, default for autotools),
|
||||
- enable core files (for bash shell, add "ulimit -c unlimited" to your ~/.bashrc).
|
||||
|
||||
+2
-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
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
@@ -26,6 +26,7 @@ EXTRA_DIST = CMakeLists.txt \
|
||||
cmake/cmake_uninstall.cmake.in \
|
||||
cmake/FindAsciidoc.cmake \
|
||||
cmake/FindAspell.cmake \
|
||||
cmake/FindGcrypt.cmake \
|
||||
cmake/FindGettext.cmake \
|
||||
cmake/FindGnuTLS.cmake \
|
||||
cmake/FindIconv.cmake \
|
||||
|
||||
@@ -1,179 +1,248 @@
|
||||
WeeChat News
|
||||
============
|
||||
FlashCode <flashcode@flashtux.org>
|
||||
v0.3.2, 2010-04-18
|
||||
|
||||
FlashCode, 2009-09-06::
|
||||
WeeChat 0.3.0 released.
|
||||
+
|
||||
This version brings major changes, especially for configuration files
|
||||
and plugin API.
|
||||
+
|
||||
For more information about this version, please read file UPGRADE_0.3.
|
||||
|
||||
FlashCode, 2009-06-13::
|
||||
WeeChat 0.2.6.3 released.
|
||||
+
|
||||
This version fixes gnutls detection.
|
||||
Version 0.3.2 (2010-04-18)
|
||||
--------------------------
|
||||
|
||||
FlashCode, 2009-04-18::
|
||||
WeeChat 0.2.6.2 released.
|
||||
+
|
||||
This version fixes a bug with charset decoding (like iso2022jp).
|
||||
If you are using `/upgrade` from a previous release, then you must execute this
|
||||
command on all IRC servers/channels/private buffers and xfer DCC chats (not
|
||||
needed on WeeChat core buffer or buffers from other plugins/scripts): +
|
||||
`/buffer set highlight_words $nick`
|
||||
|
||||
FlashCode, 2009-03-14::
|
||||
WeeChat 0.2.6.1 released.
|
||||
+
|
||||
This version fixes a major bug: crash with some special chars in IRC
|
||||
messages.
|
||||
Version 0.3.1.1 (2010-01-31)
|
||||
----------------------------
|
||||
|
||||
FlashCode, 2007-09-06::
|
||||
WeeChat 0.2.6 released.
|
||||
This version fixes crashs with SSL connection and purge of old DCC chats.
|
||||
|
||||
FlashCode, 2007-06-07::
|
||||
WeeChat 0.2.5 released.
|
||||
All users of version 0.2.2 should upgrade to this version.
|
||||
|
||||
FlashCode, 2007-03-29::
|
||||
WeeChat 0.2.4 released.
|
||||
Version 0.3.1 (2010-01-23)
|
||||
--------------------------
|
||||
|
||||
FlashCode, 2007-01-10::
|
||||
WeeChat 0.2.3 released.
|
||||
+
|
||||
This version fixes several major bugs of version 0.2.2.
|
||||
All users of version 0.2.2 should upgrade to this version.
|
||||
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, 2007-01-06::
|
||||
WeeChat 0.2.2 released.
|
||||
+
|
||||
Important release notes:
|
||||
* new charset plugin:
|
||||
** for users of any previous version, all your charset settings
|
||||
in weechat.rc will be LOST! You should save your weechat.rc
|
||||
to keep your values and set them again with new "charset" plugin.
|
||||
** for ISO users: history of channels may be without accents
|
||||
(after /upgrade), this is not recoverable, but this is not a bug.
|
||||
All new messages should be ok.
|
||||
** be careful, now default encode is UTF-8 for all channels (before
|
||||
it was terminal charset). If you still want to send messages as
|
||||
ISO-8859-1, you should send either global encode or server specific
|
||||
encode to ISO-8859-1.
|
||||
For global encode: /setp charset.global.encode = "ISO-8859-1"
|
||||
For server encode: (on server buffer) /charset encode ISO-8859-1
|
||||
* new keys for topic scroll:
|
||||
** new keys for scrolling topic: F9/F10
|
||||
** key F10 was used for "infobar_clear" in previous WeeChat versions,
|
||||
you have to manually rebind this key (except for new WeeChat users):
|
||||
/key <press alt-k then F10> scroll_topic_right
|
||||
which gives something like this:
|
||||
/key meta2-21~ scroll_topic_right
|
||||
Version 0.3.0 (2009-09-06)
|
||||
--------------------------
|
||||
|
||||
FlashCode, 2006-10-01::
|
||||
WeeChat 0.2.1 released.
|
||||
This version brings major changes, especially for configuration files and plugin
|
||||
API.
|
||||
|
||||
FlashCode, 2006-08-19::
|
||||
WeeChat 0.2.0 released.
|
||||
+
|
||||
Important release notes:
|
||||
* if you upgraded with /upgrade in WeeChat, you should /disconnect and
|
||||
then /reconnect on each server, to display properly channel/user modes
|
||||
* if you're using plugins, you should remove some old plugins libraries
|
||||
in WeeChat system library directory (commonly
|
||||
/usr/local/lib/weechat/plugins): remove `lib*` files (like `libperl.*`,
|
||||
`libpython.*`, ..) and keep only new libraries (`perl.*`, `python.*`, ..)
|
||||
For more information about this version, please read file 'UPGRADE_0.3'.
|
||||
|
||||
FlashCode, 2006-05-25::
|
||||
WeeChat 0.1.9 released.
|
||||
+
|
||||
Important release notes:
|
||||
* please close all DCC chat buffers before using /upgrade command,
|
||||
otherwise you may experience problems with DCC chats.
|
||||
* some changes in script API: now timer handlers functions takes exactly
|
||||
0 (zero) argument (in version 0.1.8, two arguments were mandatory but
|
||||
not used: server and args)
|
||||
Version 0.2.6.3 (2009-06-13)
|
||||
----------------------------
|
||||
|
||||
FlashCode, 2006-03-18::
|
||||
WeeChat 0.1.8 released.
|
||||
+
|
||||
Important release notes:
|
||||
* it is recommended for users of version 0.1.7 (or any older), to
|
||||
replace values in setup file (~/.weechat/weechat.rc) :
|
||||
** option: log_path: replace "~/.weechat/logs" by "%h/logs"
|
||||
** option: plugins_path: replace "~/.weechat/plugins" by "%h/plugins"
|
||||
+
|
||||
"%h" is replaced by WeeChat home (default: ~/.weechat, may be overriden
|
||||
by new command line arg --dir)
|
||||
* after installing 0.1.8 (or with /upgrade), issue both commands (if you
|
||||
didn't redefined these keys (alt-home/end):
|
||||
/key unbind meta-meta2-1~
|
||||
/key unbind meta-meta2-4~
|
||||
then launch again WeeChat (or issue /upgrade).
|
||||
Alt-home/end were used for nicklist scroll, they're now replaced by
|
||||
Alt-F11/F12.
|
||||
This version fixes gnutls detection.
|
||||
|
||||
FlashCode, 2006-01-14::
|
||||
WeeChat 0.1.7 released.
|
||||
+
|
||||
Important release notes:
|
||||
* Ruby script plugin has been added but is experimental in this release.
|
||||
You're warned!
|
||||
* "/away" command was changed to be RFC 2812 compliant.
|
||||
Now argument is required to set away, and no argument means
|
||||
remove away ("back"). Setting "irc_default_msg_away" has been removed.
|
||||
Version 0.2.6.2 (2009-04-18)
|
||||
----------------------------
|
||||
|
||||
FlashCode, 2005-11-11::
|
||||
WeeChat 0.1.6 released.
|
||||
+
|
||||
Important release notes:
|
||||
* incompatibility with some old scripts: now all handlers have to return
|
||||
a code for completion, and to do some actions about message to ignore
|
||||
(please look at documentation for detail)
|
||||
* on OpenBSD, the new option "plugins_extension" should be set to ".so.0.0"
|
||||
since the plugins names are ending by ".so.0.0" and not ".so"
|
||||
* with new and full UTF-8 support, the option "look_charset_internal"
|
||||
should be set to blank for most cases. Forces it only if your locale is
|
||||
not properly detected by WeeChat (you can set "UTF-8" or "ISO-8859-15"
|
||||
for example, depending on your locale). WeeChat is looking for "UTF-8" in
|
||||
your locale name at startup.
|
||||
This version fixes a bug with charset decoding (like 'iso2022jp').
|
||||
|
||||
FlashCode, 2005-09-24::
|
||||
WeeChat 0.1.5 released.
|
||||
Version 0.2.6.1 (2009-03-14)
|
||||
----------------------------
|
||||
|
||||
FlashCode, 2005-07-30::
|
||||
WeeChat 0.1.4 released.
|
||||
This version fixes a major bug: crash with some special chars in IRC messages.
|
||||
|
||||
FlashCode, 2005-07-02::
|
||||
WeeChat 0.1.3 released.
|
||||
Version 0.2.6 (2007-09-06)
|
||||
--------------------------
|
||||
|
||||
FlashCode, 2005-05-21::
|
||||
WeeChat 0.1.2 released.
|
||||
No release note.
|
||||
|
||||
FlashCode, 2005-03-20::
|
||||
WeeChat 0.1.1 released.
|
||||
Version 0.2.5 (2007-06-07)
|
||||
--------------------------
|
||||
|
||||
FlashCode, 2005-02-12::
|
||||
WeeChat 0.1.0 released.
|
||||
No release note.
|
||||
|
||||
FlashCode, 2005-01-01::
|
||||
WeeChat 0.0.9 released.
|
||||
Version 0.2.4 (2007-03-29)
|
||||
--------------------------
|
||||
|
||||
FlashCode, 2004-10-30::
|
||||
WeeChat 0.0.8 released.
|
||||
No release note.
|
||||
|
||||
FlashCode, 2004-08-08::
|
||||
WeeChat 0.0.7 released.
|
||||
Version 0.2.3 (2007-01-10)
|
||||
--------------------------
|
||||
|
||||
FlashCode, 2004-06-05::
|
||||
WeeChat 0.0.6 released.
|
||||
This version fixes several major bugs of version 0.2.2.
|
||||
|
||||
FlashCode, 2004-02-07::
|
||||
WeeChat 0.0.5 released.
|
||||
All users of version 0.2.2 should upgrade to this version.
|
||||
|
||||
FlashCode, 2004-01-01::
|
||||
WeeChat 0.0.4 released.
|
||||
Version 0.2.2 (2007-01-06)
|
||||
--------------------------
|
||||
|
||||
FlashCode, 2003-11-03::
|
||||
WeeChat 0.0.3 released.
|
||||
Important release notes:
|
||||
|
||||
FlashCode, 2003-10-05::
|
||||
WeeChat 0.0.2 released.
|
||||
* new charset plugin:
|
||||
** for users of any previous version, all your charset settings in weechat.rc
|
||||
will be LOST! You should save your weechat.rc to keep your values and set
|
||||
them again with new 'charset' plugin.
|
||||
** for ISO users: history of channels may be without accents (after `/upgrade`),
|
||||
this is not recoverable, but this is not a bug. All new messages should be
|
||||
ok.
|
||||
** be careful, now default encode is UTF-8 for all channels (before it was
|
||||
terminal charset). If you still want to send messages as 'ISO-8859-1', you
|
||||
should send either global encode or server specific encode to 'ISO-8859-1':
|
||||
*** for global encode: `/setp charset.global.encode = "ISO-8859-1"`
|
||||
*** for server encode (on server buffer): `/charset encode ISO-8859-1`
|
||||
* new keys for topic scroll:
|
||||
** new keys for scrolling topic: F9/F10
|
||||
** key F10 was used for `infobar_clear` in previous WeeChat versions,
|
||||
you have to manually rebind this key (except for new WeeChat users):
|
||||
*** `/key <press alt-k then F10> scroll_topic_right` (which gives something
|
||||
like: `/key meta2-21~ scroll_topic_right`).
|
||||
|
||||
FlashCode, 2003-09-27::
|
||||
WeeChat 0.0.1 released.
|
||||
Version 0.2.1 (2006-10-01)
|
||||
--------------------------
|
||||
|
||||
No release note.
|
||||
|
||||
Version 0.2.0 (2006-08-19)
|
||||
--------------------------
|
||||
|
||||
Important release notes:
|
||||
|
||||
* if you upgraded with `/upgrade` in WeeChat, you should `/disconnect` and then
|
||||
`/reconnect` on each server, to display properly channel/user modes.
|
||||
* if you're using plugins, you should remove some old plugins libraries in
|
||||
WeeChat system library directory (commonly '/usr/local/lib/weechat/plugins'):
|
||||
remove `lib*` files (like `libperl.*`, `libpython.*`, ..) and keep only new
|
||||
libraries (`perl.*`, `python.*`, ..).
|
||||
|
||||
Version 0.1.9 (2006-05-25)
|
||||
--------------------------
|
||||
|
||||
Important release notes:
|
||||
|
||||
* please close all DCC chat buffers before using /upgrade command, otherwise you
|
||||
may experience problems with DCC chats.
|
||||
* some changes in script API: now timer handlers functions takes exactly
|
||||
0 (zero) argument (in version 0.1.8, two arguments were mandatory but not
|
||||
used: server and args).
|
||||
|
||||
Version 0.1.8 (2006-03-18)
|
||||
--------------------------
|
||||
|
||||
Important release notes:
|
||||
|
||||
* it is recommended for users of version 0.1.7 (or any older), to
|
||||
replace values in setup file ('~/.weechat/weechat.rc'):
|
||||
** option: log_path: replace '~/.weechat/logs' by '%h/logs'
|
||||
** option: plugins_path: replace '~/.weechat/plugins' by '%h/plugins' +
|
||||
'%h' is replaced by WeeChat home (default: '~/.weechat', may be overriden
|
||||
by new command line arg `--dir`).
|
||||
* after installing 0.1.8 (or with `/upgrade`), issue both commands (if you
|
||||
didn't redefine these keys (alt-home/end):
|
||||
** `/key unbind meta-meta2-1~`
|
||||
** `/key unbind meta-meta2-4~`
|
||||
** then launch again WeeChat (or issue `/upgrade`).
|
||||
* Keys alt-home/end were used for nicklist scroll, they're now replaced by
|
||||
alt-F11/F12.
|
||||
|
||||
Version 0.1.7 (2006-01-14)
|
||||
--------------------------
|
||||
|
||||
Important release notes:
|
||||
|
||||
* Ruby script plugin has been added but is experimental in this release.
|
||||
You're warned!
|
||||
* `/away` command was changed to be RFC 2812 compliant. Now argument is required
|
||||
to set away, and no argument means remove away ("back"). Option
|
||||
'irc_default_msg_away' has been removed.
|
||||
|
||||
Version 0.1.6 (2005-11-11)
|
||||
--------------------------
|
||||
|
||||
Important release notes:
|
||||
|
||||
* incompatibility with some old scripts: now all handlers have to return a code
|
||||
for completion, and to do some actions about message to ignore (please look at
|
||||
documentation for detail).
|
||||
* on OpenBSD, the new option 'plugins_extension' should be set to '.so.0.0'
|
||||
since the plugins names are ending by '.so.0.0' and not '.so'.
|
||||
* with new and full UTF-8 support, the option 'look_charset_internal' should be
|
||||
set to blank for most cases. Forces it only if your locale is not properly
|
||||
detected by WeeChat (you can set 'UTF-8' or 'ISO-8859-15' for example,
|
||||
depending on your locale). WeeChat is looking for 'UTF-8' in your locale name
|
||||
at startup.
|
||||
|
||||
Version 0.1.5 (2005-09-24)
|
||||
--------------------------
|
||||
|
||||
No release note.
|
||||
|
||||
Version 0.1.4 (2005-07-30)
|
||||
--------------------------
|
||||
|
||||
No release note.
|
||||
|
||||
Version 0.1.3 (2005-07-02)
|
||||
--------------------------
|
||||
|
||||
No release note.
|
||||
|
||||
Version 0.1.2 (2005-05-21)
|
||||
--------------------------
|
||||
|
||||
No release note.
|
||||
|
||||
Version 0.1.1 (2005-03-20)
|
||||
--------------------------
|
||||
|
||||
No release note.
|
||||
|
||||
Version 0.1.0 (2005-02-12)
|
||||
--------------------------
|
||||
|
||||
No release note.
|
||||
|
||||
Version 0.0.9 (2005-01-01)
|
||||
--------------------------
|
||||
|
||||
No release note.
|
||||
|
||||
Version 0.0.8 (2004-10-30)
|
||||
--------------------------
|
||||
|
||||
No release note.
|
||||
|
||||
Version 0.0.7 (2004-08-08)
|
||||
--------------------------
|
||||
|
||||
No release note.
|
||||
|
||||
Version 0.0.6 (2004-06-05)
|
||||
--------------------------
|
||||
|
||||
No release note.
|
||||
|
||||
Version 0.0.5 (2004-02-07)
|
||||
--------------------------
|
||||
|
||||
No release note.
|
||||
|
||||
Version 0.0.4 (2004-01-01)
|
||||
--------------------------
|
||||
|
||||
No release note.
|
||||
|
||||
Version 0.0.3 (2003-11-03)
|
||||
--------------------------
|
||||
|
||||
No release note.
|
||||
|
||||
Version 0.0.2 (2003-10-05)
|
||||
--------------------------
|
||||
|
||||
No release note.
|
||||
|
||||
Version 0.0.1 (2003-09-27)
|
||||
--------------------------
|
||||
|
||||
No release note.
|
||||
|
||||
@@ -27,7 +27,7 @@ NOTE: (1) only Curses interface is available today
|
||||
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
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
||||
+4
-4
@@ -1,6 +1,6 @@
|
||||
#!/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
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
@@ -39,10 +39,10 @@ run ()
|
||||
echo -n "Running \"$@\""
|
||||
eval $@ >$AUTOGEN_LOG 2>&1
|
||||
if [ $? = 0 ] ; then
|
||||
echo -e $OK
|
||||
echo -e $OK
|
||||
else
|
||||
echo -e $FAIL
|
||||
err
|
||||
echo -e $FAIL
|
||||
err
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
# 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
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
@@ -15,7 +15,7 @@
|
||||
#
|
||||
|
||||
# - Find Aspell
|
||||
# This module finds if libaspell is installed and determines where
|
||||
# This module finds if libaspell is installed and determines where
|
||||
# the include files and libraries are.
|
||||
#
|
||||
# This code sets the following variables:
|
||||
|
||||
@@ -0,0 +1,47 @@
|
||||
# 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/>.
|
||||
#
|
||||
|
||||
# - Find Gcrypt
|
||||
# This module finds if libgcrypt is installed and determines where
|
||||
# the include files and libraries are.
|
||||
#
|
||||
# This code sets the following variables:
|
||||
#
|
||||
# GCRYPT_CFLAGS = cflags to use to compile
|
||||
# GCRYPT_LDFLAGS = ldflags to use to compile
|
||||
#
|
||||
|
||||
FIND_PROGRAM(LIBGCRYPT_CONFIG_EXECUTABLE NAMES libgcrypt-config)
|
||||
|
||||
set(GCRYPT_LDFLAGS)
|
||||
set(GCRYPT_CFLAGS)
|
||||
|
||||
IF(LIBGCRYPT_CONFIG_EXECUTABLE)
|
||||
|
||||
EXEC_PROGRAM(${LIBGCRYPT_CONFIG_EXECUTABLE} ARGS --libs RETURN_VALUE _return_VALUE OUTPUT_VARIABLE GCRYPT_LDFLAGS)
|
||||
EXEC_PROGRAM(${LIBGCRYPT_CONFIG_EXECUTABLE} ARGS --cflags RETURN_VALUE _return_VALUE OUTPUT_VARIABLE GCRYPT_CFLAGS)
|
||||
|
||||
IF(${GCRYPT_CFLAGS} MATCHES "\n")
|
||||
SET(GCRYPT_CFLAGS " ")
|
||||
ENDIF(${GCRYPT_CFLAGS} MATCHES "\n")
|
||||
|
||||
IF(GCRYPT_LDFLAGS AND GCRYPT_CFLAGS)
|
||||
SET(GCRYPT_FOUND TRUE)
|
||||
ENDIF(GCRYPT_LDFLAGS AND GCRYPT_CFLAGS)
|
||||
|
||||
ENDIF(LIBGCRYPT_CONFIG_EXECUTABLE)
|
||||
|
||||
MARK_AS_ADVANCED(GCRYPT_CFLAGS GCRYPT_LDFLAGS)
|
||||
@@ -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
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
@@ -15,7 +15,7 @@
|
||||
#
|
||||
|
||||
# - Find Gettext
|
||||
# This module finds if gettext is installed and determines where
|
||||
# This module finds if gettext is installed and determines where
|
||||
# the include files and libraries are.
|
||||
#
|
||||
# This code sets the following variables:
|
||||
@@ -52,15 +52,15 @@ IF(HAVE_LIBINTL_H)
|
||||
/usr/lib
|
||||
)
|
||||
IF(LIBINTL_LIBRARY)
|
||||
IF(${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD")
|
||||
IF(${CMAKE_SYSTEM_NAME} STREQUAL "OpenBSD")
|
||||
SET(CMAKE_REQUIRED_LIBRARIES "iconv")
|
||||
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)
|
||||
ENDIF(${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD")
|
||||
ENDIF(${CMAKE_SYSTEM_NAME} STREQUAL "OpenBSD")
|
||||
|
||||
IF(LIBINTL_HAS_DGETTEXT)
|
||||
SET(GETTEXT_FOUND TRUE)
|
||||
SET(GETTEXT_FOUND TRUE)
|
||||
ENDIF(LIBINTL_HAS_DGETTEXT)
|
||||
ENDIF(LIBINTL_LIBRARY)
|
||||
ENDIF(LIBC_HAS_DGETTEXT)
|
||||
|
||||
@@ -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
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
@@ -15,7 +15,7 @@
|
||||
#
|
||||
|
||||
# - Find GnuTLS
|
||||
# This module finds if libgnutls is installed and determines where
|
||||
# This module finds if libgnutls is installed and determines where
|
||||
# the include files and libraries are.
|
||||
#
|
||||
# This code sets the following variables:
|
||||
|
||||
@@ -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
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
@@ -15,7 +15,7 @@
|
||||
#
|
||||
|
||||
# - Find Iconv
|
||||
# This module finds if libiconv is installed and determines where
|
||||
# This module finds if libiconv is installed and determines where
|
||||
# the include files and libraries are.
|
||||
#
|
||||
# This code sets the following variables:
|
||||
@@ -30,6 +30,9 @@ IF(ICONV_FOUND)
|
||||
set(ICONV_FIND_QUIETLY TRUE)
|
||||
ENDIF(ICONV_FOUND)
|
||||
|
||||
INCLUDE(CheckLibraryExists)
|
||||
INCLUDE(CheckFunctionExists)
|
||||
|
||||
FIND_PATH(ICONV_INCLUDE_PATH
|
||||
NAMES iconv.h
|
||||
PATHS /usr/include /usr/local/include /usr/pkg/include
|
||||
|
||||
+4
-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
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
@@ -15,7 +15,7 @@
|
||||
#
|
||||
|
||||
# - Find Lua
|
||||
# This module finds if liblua is installed and determines where
|
||||
# This module finds if liblua is installed and determines where
|
||||
# the include files and libraries are.
|
||||
#
|
||||
# This code sets the following variables:
|
||||
@@ -61,8 +61,8 @@ ELSE(LUA51_INCLUDE_PATH AND LUA51_LIBRARY)
|
||||
)
|
||||
|
||||
FIND_LIBRARY(
|
||||
LUALIB50_LIBRARY NAMES lualib50 lualib5.0 lualib-5.0 lualib
|
||||
PATHS /lib /usr/lib /usr/local/lib /usr/pkg/lib
|
||||
LUALIB50_LIBRARY NAMES lualib50 lualib5.0 lualib-5.0 lualib
|
||||
PATHS /lib /usr/lib /usr/local/lib /usr/pkg/lib
|
||||
PATH_SUFFIXES lua50 lua5.0 lua-5.0 lua
|
||||
)
|
||||
|
||||
|
||||
+17
-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
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
@@ -23,11 +23,25 @@ FIND_PATH(NCURSES_INCLUDE_PATH
|
||||
PATHS /usr/include /usr/local/include /usr/pkg/include
|
||||
)
|
||||
|
||||
FIND_LIBRARY(NCURSES_LIBRARY
|
||||
NAMES ncursesw ncurses
|
||||
FIND_LIBRARY(NCURSESW_LIBRARY
|
||||
NAMES ncursesw
|
||||
PATHS /lib /usr/lib /usr/local/lib /usr/pkg/lib
|
||||
)
|
||||
|
||||
IF (NCURSESW_LIBRARY)
|
||||
SET(NCURSES_LIBRARY ${NCURSESW_LIBRARY})
|
||||
ELSE(NCURSESW_LIBRARY)
|
||||
FIND_LIBRARY(NCURSES_LIBRARY
|
||||
NAMES ncurses
|
||||
PATHS /lib /usr/lib /usr/local/lib /usr/pkg/lib
|
||||
)
|
||||
IF (NCURSES_LIBRARY)
|
||||
MESSAGE("*** WARNING:\n"
|
||||
"*** ncursesw library not found! Falling back to \"ncurses\"\n"
|
||||
"*** Be careful, UTF-8 display may not work properly if your locale is UTF-8.")
|
||||
ENDIF(NCURSES_LIBRARY)
|
||||
ENDIF(NCURSESW_LIBRARY)
|
||||
|
||||
IF (NCURSES_INCLUDE_PATH AND NCURSES_LIBRARY)
|
||||
SET(NCURSES_FOUND TRUE)
|
||||
ENDIF(NCURSES_INCLUDE_PATH AND NCURSES_LIBRARY)
|
||||
|
||||
@@ -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
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
@@ -57,7 +57,7 @@ IF(PERL_EXECUTABLE)
|
||||
STRING(REPLACE "\n" "" PERL_CFLAGS "${PERL_CFLAGS}")
|
||||
STRING(REPLACE "\n" "" PERL_LFLAGS "${PERL_LFLAGS}")
|
||||
|
||||
FIND_PATH(PERL_INCLUDE_PATH
|
||||
FIND_PATH(PERL_INCLUDE_PATH
|
||||
NAMES perl.h
|
||||
PATHS ${PERL_INTERNAL_DIR}
|
||||
)
|
||||
|
||||
@@ -72,13 +72,13 @@
|
||||
#
|
||||
# Redistribution and use, with or without modification, are permitted
|
||||
# provided that the following conditions are met:
|
||||
#
|
||||
#
|
||||
# 1. Redistributions must retain the above copyright notice, this
|
||||
# list of conditions and the following disclaimer.
|
||||
# 2. The name of the author may not be used to endorse or promote
|
||||
# products derived from this software without specific prior
|
||||
# written permission.
|
||||
#
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
||||
# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
@@ -232,7 +232,7 @@ macro(_pkg_check_modules_internal _is_required _is_silent _prefix)
|
||||
|
||||
# create the final query which is of the format:
|
||||
# * --atleast-version <version> <pkg-name>
|
||||
# * --exact-version <version> <pkg-name>
|
||||
# * --exact-version <version> <pkg-name>
|
||||
# * --max-version <version> <pkg-name>
|
||||
# * --exists <pkg-name>
|
||||
if (_pkg_check_modules_pkg_op)
|
||||
@@ -352,7 +352,7 @@ macro(pkg_search_module _prefix _module0)
|
||||
endif(NOT ${_prefix}_FOUND)
|
||||
|
||||
_pkgconfig_set(__pkg_config_checked_${_prefix} ${PKG_CONFIG_VERSION})
|
||||
endif(NOT DEFINED __pkg_config_checked_${_prefix} OR __pkg_config_checked_${_prefix} LESS ${PKG_CONFIG_VERSION} OR NOT ${_prefix}_FOUND)
|
||||
endif(NOT DEFINED __pkg_config_checked_${_prefix} OR __pkg_config_checked_${_prefix} LESS ${PKG_CONFIG_VERSION} OR NOT ${_prefix}_FOUND)
|
||||
endmacro(pkg_search_module)
|
||||
|
||||
### Local Variables:
|
||||
|
||||
@@ -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
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
@@ -29,7 +29,7 @@ IF(PYTHON_FOUND)
|
||||
SET(PYTHON_FIND_QUIETLY TRUE)
|
||||
ENDIF(PYTHON_FOUND)
|
||||
|
||||
FIND_PROGRAM(PYTHON_EXECUTABLE
|
||||
FIND_PROGRAM(PYTHON_EXECUTABLE
|
||||
NAMES python python2.6 python2.5 python2.4 python2.3 python2.2
|
||||
PATHS /usr/bin /usr/local/bin /usr/pkg/bin
|
||||
)
|
||||
|
||||
+24
-5
@@ -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
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
@@ -28,17 +28,22 @@ IF(RUBY_FOUND)
|
||||
SET(RUBY_FIND_QUIETLY TRUE)
|
||||
ENDIF(RUBY_FOUND)
|
||||
|
||||
FIND_PROGRAM(RUBY_EXECUTABLE
|
||||
FIND_PROGRAM(RUBY_EXECUTABLE
|
||||
NAMES ruby ruby1.9 ruby19 ruby1.8 ruby18 ruby1.6 ruby16
|
||||
PATHS /usr/bin /usr/local/bin /usr/pkg/bin
|
||||
)
|
||||
|
||||
IF(RUBY_EXECUTABLE)
|
||||
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
|
||||
)
|
||||
|
||||
EXECUTE_PROCESS(
|
||||
COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "puts Config::CONFIG['arch']"
|
||||
OUTPUT_VARIABLE RUBY_ARCH
|
||||
)
|
||||
|
||||
EXECUTE_PROCESS(
|
||||
COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "puts Config::CONFIG['libdir']"
|
||||
OUTPUT_VARIABLE RUBY_POSSIBLE_LIB_PATH
|
||||
@@ -48,17 +53,27 @@ IF(RUBY_EXECUTABLE)
|
||||
COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "puts Config::CONFIG['rubylibdir']"
|
||||
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
|
||||
STRING(REPLACE "\n" "" RUBY_ARCH_DIR "${RUBY_ARCH_DIR}")
|
||||
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_ARCH "${RUBY_ARCH}")
|
||||
STRING(REPLACE "\n" "" RUBY_VERSION "${RUBY_VERSION}")
|
||||
|
||||
FIND_PATH(RUBY_INCLUDE_PATH
|
||||
NAMES ruby.h
|
||||
PATHS ${RUBY_ARCH_DIR}
|
||||
)
|
||||
|
||||
SET(RUBY_ARCH
|
||||
"${RUBY_INCLUDE_PATH}/${RUBY_ARCH}")
|
||||
|
||||
FIND_LIBRARY(RUBY_LIBRARY
|
||||
NAMES ruby ruby1.6 ruby16 ruby1.8 ruby18 ruby1.9 ruby19
|
||||
PATHS ${RUBY_POSSIBLE_LIB_PATH} ${RUBY_RUBY_LIB_PATH}
|
||||
@@ -67,11 +82,15 @@ IF(RUBY_EXECUTABLE)
|
||||
IF(RUBY_LIBRARY AND RUBY_INCLUDE_PATH)
|
||||
SET(RUBY_FOUND TRUE)
|
||||
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(
|
||||
RUBY_EXECUTABLE
|
||||
RUBY_LIBRARY
|
||||
RUBY_ARCH
|
||||
RUBY_INCLUDE_PATH
|
||||
)
|
||||
|
||||
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
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
|
||||
+19
-19
@@ -18,11 +18,11 @@
|
||||
# - The stub libraries are now found in FindTclStub.cmake
|
||||
# => they were only useful for people writing Tcl/Tk extensions.
|
||||
# - TCL_LIBRARY_DEBUG and TK_LIBRARY_DEBUG were removed.
|
||||
# => these libs are not packaged by default with Tcl/Tk distributions.
|
||||
# => these libs are not packaged by default with Tcl/Tk distributions.
|
||||
# Even when Tcl/Tk is built from source, several flavors of debug libs
|
||||
# are created and there is no real reason to pick a single one
|
||||
# specifically (say, amongst tcl84g, tcl84gs, or tcl84sgx).
|
||||
# Let's leave that choice to the user by allowing him to assign
|
||||
# specifically (say, amongst tcl84g, tcl84gs, or tcl84sgx).
|
||||
# Let's leave that choice to the user by allowing him to assign
|
||||
# TCL_LIBRARY to any Tcl library, debug or not.
|
||||
# - TK_INTERNAL_PATH was removed.
|
||||
# => this ended up being only a Win32 variable, and there is a lot of
|
||||
@@ -40,28 +40,28 @@ INCLUDE(FindTclsh)
|
||||
|
||||
GET_FILENAME_COMPONENT(TCL_TCLSH_PATH "${TCL_TCLSH}" PATH)
|
||||
GET_FILENAME_COMPONENT(TCL_TCLSH_PATH_PARENT "${TCL_TCLSH_PATH}" PATH)
|
||||
STRING(REGEX REPLACE
|
||||
STRING(REGEX REPLACE
|
||||
"^.*tclsh([0-9]\\.*[0-9]).*$" "\\1" TCL_TCLSH_VERSION "${TCL_TCLSH}")
|
||||
|
||||
GET_FILENAME_COMPONENT(TCL_INCLUDE_PATH_PARENT "${TCL_INCLUDE_PATH}" PATH)
|
||||
|
||||
GET_FILENAME_COMPONENT(TCL_LIBRARY_PATH "${TCL_LIBRARY}" PATH)
|
||||
GET_FILENAME_COMPONENT(TCL_LIBRARY_PATH_PARENT "${TCL_LIBRARY_PATH}" PATH)
|
||||
STRING(REGEX REPLACE
|
||||
STRING(REGEX REPLACE
|
||||
"^.*tcl([0-9]\\.*[0-9]).*$" "\\1" TCL_VERSION "${TCL_LIBRARY}")
|
||||
|
||||
SET(TCL_POSSIBLE_LIB_PATHS
|
||||
"${TCL_INCLUDE_PATH_PARENT}/lib"
|
||||
"${TCL_LIBRARY_PATH}"
|
||||
"${TCL_TCLSH_PATH_PARENT}/lib"
|
||||
/usr/lib
|
||||
/usr/lib
|
||||
/usr/local/lib
|
||||
)
|
||||
|
||||
IF(WIN32)
|
||||
GET_FILENAME_COMPONENT(
|
||||
ActiveTcl_CurrentVersion
|
||||
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\ActiveState\\ActiveTcl;CurrentVersion]"
|
||||
ActiveTcl_CurrentVersion
|
||||
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\ActiveState\\ActiveTcl;CurrentVersion]"
|
||||
NAME)
|
||||
SET(TCLTK_POSSIBLE_LIB_PATHS ${TCLTK_POSSIBLE_LIB_PATHS}
|
||||
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\ActiveState\\ActiveTcl\\${ActiveTcl_CurrentVersion}]/lib"
|
||||
@@ -72,20 +72,20 @@ IF(WIN32)
|
||||
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.2;Root]/lib"
|
||||
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.0;Root]/lib"
|
||||
"$ENV{ProgramFiles}/Tcl/Lib"
|
||||
"C:/Program Files/Tcl/lib"
|
||||
"C:/Tcl/lib"
|
||||
"C:/Program Files/Tcl/lib"
|
||||
"C:/Tcl/lib"
|
||||
)
|
||||
ENDIF(WIN32)
|
||||
|
||||
FIND_LIBRARY(TCL_LIBRARY
|
||||
NAMES
|
||||
tcl
|
||||
NAMES
|
||||
tcl
|
||||
tcl${TCL_VERSION} tcl${TCL_TCLSH_VERSION}
|
||||
tcl86 tcl8.6
|
||||
tcl85 tcl8.5
|
||||
tcl84 tcl8.4
|
||||
tcl83 tcl8.3
|
||||
tcl82 tcl8.2
|
||||
tcl86 tcl8.6
|
||||
tcl85 tcl8.5
|
||||
tcl84 tcl8.4
|
||||
tcl83 tcl8.3
|
||||
tcl82 tcl8.2
|
||||
tcl80 tcl8.0
|
||||
PATHS ${TCL_POSSIBLE_LIB_PATHS}
|
||||
)
|
||||
@@ -104,7 +104,7 @@ ENDIF(Tcl_FRAMEWORKS)
|
||||
SET(TCL_POSSIBLE_INCLUDE_PATHS
|
||||
"${TCL_LIBRARY_PATH_PARENT}/include"
|
||||
"${TCL_INCLUDE_PATH}"
|
||||
${TCL_FRAMEWORK_INCLUDES}
|
||||
${TCL_FRAMEWORK_INCLUDES}
|
||||
"${TCL_TCLSH_PATH_PARENT}/include"
|
||||
/usr/include
|
||||
/usr/local/include
|
||||
@@ -140,7 +140,7 @@ IF(WIN32)
|
||||
)
|
||||
ENDIF(WIN32)
|
||||
|
||||
FIND_PATH(TCL_INCLUDE_PATH
|
||||
FIND_PATH(TCL_INCLUDE_PATH
|
||||
NAMES tcl.h
|
||||
PATHS ${TCL_POSSIBLE_INCLUDE_PATHS}
|
||||
)
|
||||
|
||||
@@ -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
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/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
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
|
||||
+138
-79
@@ -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
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
@@ -18,10 +18,11 @@
|
||||
# Process this file with autoconf to produce a configure script.
|
||||
|
||||
AC_PREREQ(2.56)
|
||||
AC_INIT(WeeChat, 0.3.0, flashcode@flashtux.org)
|
||||
AC_INIT(WeeChat, 0.3.2, flashcode@flashtux.org)
|
||||
AC_CONFIG_SRCDIR([src/core/weechat.c])
|
||||
AM_CONFIG_HEADER(config.h)
|
||||
AM_INIT_AUTOMAKE([weechat], [0.3.0])
|
||||
AM_INIT_AUTOMAKE([weechat], [0.3.2])
|
||||
LICENSE="GPL3"
|
||||
|
||||
# Checks for programs
|
||||
AC_PROG_CC
|
||||
@@ -45,10 +46,13 @@ netbsd*)
|
||||
solaris*)
|
||||
LDFLAGS="$LDFLAGS -lsocket -lxnet"
|
||||
;;
|
||||
cygwin*)
|
||||
LDFLAGS="$LDFLAGS -no-undefined"
|
||||
;;
|
||||
esac
|
||||
|
||||
# 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_VERSION([0.15])
|
||||
|
||||
@@ -93,6 +97,7 @@ AC_CHECK_FUNCS([gethostbyname gethostname getsockname gettimeofday inet_ntoa mem
|
||||
AH_VERBATIM([PREFIX], [#undef PREFIX])
|
||||
AH_VERBATIM([WEECHAT_LIBDIR], [#undef WEECHAT_LIBDIR])
|
||||
AH_VERBATIM([WEECHAT_SHAREDIR], [#undef WEECHAT_SHAREDIR])
|
||||
AH_VERBATIM([HAVE_GCRYPT], [#undef HAVE_GCRYPT])
|
||||
AH_VERBATIM([HAVE_GNUTLS], [#undef HAVE_GNUTLS])
|
||||
AH_VERBATIM([HAVE_FLOCK], [#undef HAVE_FLOCK])
|
||||
AH_VERBATIM([PLUGIN_ALIAS], [#undef PLUGIN_ALIAS])
|
||||
@@ -117,6 +122,7 @@ AC_ARG_ENABLE(ncurses, [ --disable-ncurses turn off ncurses interfac
|
||||
AC_ARG_ENABLE(wxwidgets, [ --enable-wxwidgets turn on WxWidgets interface (default=off)],enable_wxwidgets=$enableval,enable_wxwidgets=no)
|
||||
AC_ARG_ENABLE(gtk, [ --enable-gtk turn on Gtk interface (default=off)],enable_gtk=$enableval,enable_gtk=no)
|
||||
AC_ARG_ENABLE(qt, [ --enable-qt turn on Qt interface (default=off)],enable_qt=$enableval,enable_qt=no)
|
||||
AC_ARG_ENABLE(gcrypt, [ --disable-gcrypt turn off gcrypt support (default=compiled if found)],enable_gcrypt=$enableval,enable_gcrypt=yes)
|
||||
AC_ARG_ENABLE(gnutls, [ --disable-gnutls turn off gnutls support (default=compiled if found)],enable_gnutls=$enableval,enable_gnutls=yes)
|
||||
AC_ARG_ENABLE(largefile, [ --disable-largefile turn off Large File Support (default=on)],enable_largefile=$enableval,enable_largefile=yes)
|
||||
AC_ARG_ENABLE(alias, [ --disable-alias turn off Alias plugin (default=compiled)],enable_alias=$enableval,enable_alias=yes)
|
||||
@@ -137,6 +143,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-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(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_WITH(debug, [ --with-debug debugging: 0=no debug, 1=debug compilation (default=1)],debug=$withval,debug=1)
|
||||
|
||||
@@ -247,15 +254,15 @@ if test "x$ac_found_iconv_header" = "xyes" ; then
|
||||
ICONV_LFLAGS="-liconv"
|
||||
LIBS="$LIBS $ICONV_LFLAGS"
|
||||
fi
|
||||
AC_MSG_CHECKING(for iconv usability in programs)
|
||||
AC_MSG_CHECKING(for iconv usability in programs)
|
||||
AC_TRY_RUN([
|
||||
#include <iconv.h>
|
||||
int main(int argc, char **argv) {
|
||||
iconv_t conv = iconv_open("ISO8859-1", "UTF-8");
|
||||
#include <iconv.h>
|
||||
int main(int argc, char **argv) {
|
||||
iconv_t conv = iconv_open("ISO8859-1", "UTF-8");
|
||||
if (conv != (iconv_t) -1) {
|
||||
return 0;
|
||||
return 0;
|
||||
}
|
||||
return 1;
|
||||
return 1;
|
||||
}],iconv_found="yes")
|
||||
if test "x$iconv_found" = "xno" ; then
|
||||
AC_MSG_RESULT(no)
|
||||
@@ -304,7 +311,7 @@ if test "x$enable_aspell" = "xyes" ; then
|
||||
AC_CHECK_HEADER(aspell.h,ac_found_aspell_header="yes",ac_found_aspell_header="no")
|
||||
AC_CHECK_LIB(aspell,new_aspell_speller,ac_found_aspell_lib="yes",ac_found_aspell_lib="no")
|
||||
|
||||
AC_MSG_CHECKING(for aspell headers and librairies)
|
||||
AC_MSG_CHECKING(for aspell headers and librairies)
|
||||
if test "x$ac_found_aspell_header" = "xno" -o "x$ac_found_aspell_lib" = "xno" ; then
|
||||
AC_MSG_RESULT(no)
|
||||
AC_MSG_WARN([
|
||||
@@ -314,8 +321,8 @@ if test "x$enable_aspell" = "xyes" ; then
|
||||
enable_aspell="no"
|
||||
not_found="$not_found aspell"
|
||||
else
|
||||
AC_MSG_RESULT(yes)
|
||||
ASPELL_LFLAGS="$ASPELL_LFLAGS -laspell"
|
||||
AC_MSG_RESULT(yes)
|
||||
ASPELL_LFLAGS="$ASPELL_LFLAGS -laspell"
|
||||
fi
|
||||
else
|
||||
not_asked="$not_asked aspell"
|
||||
@@ -409,7 +416,7 @@ if test "x$enable_perl" = "xyes" ; then
|
||||
enable_perl="no"
|
||||
not_found="$not_found perl"
|
||||
else
|
||||
PERL_VERSION=`perl -V:version | sed "s/version='\(.*\)';/\1/"`
|
||||
PERL_VERSION=`perl -V:version | sed "s/version='\(.*\)';/\1/"`
|
||||
AC_MSG_CHECKING(for Perl headers files)
|
||||
|
||||
PERL_HEADER_TEST=`PT=perltest.c ; echo "#include <EXTERN.h>" > $PT; echo "#include <perl.h>" >> $PT; echo "#include <XSUB.h>" >> $PT ; echo "int main() { return 0; }" >> $PT ; $CC -Wall $PT -o $PT.out $($PERL -MExtUtils::Embed -e ccopts) 1>/dev/null 2>&1; echo $?; rm -f $PT $PT.out 1>/dev/null 2>&1`
|
||||
@@ -419,7 +426,7 @@ if test "x$enable_perl" = "xyes" ; then
|
||||
AC_MSG_RESULT(found)
|
||||
AC_MSG_CHECKING(for Perl library)
|
||||
PERL_LIB_TEST=`PT=perltest.c ; echo "int main() { return 0; }" > $PT ; $CC -Wall $PT -o $PT.out $($PERL -MExtUtils::Embed -e ldopts) 1>/dev/null 2>&1; echo $?; rm -f $PT $PT.out 1>/dev/null 2>&1`
|
||||
if test "x$PERL_LIB_TEST" = "x0" ; then
|
||||
if test "x$PERL_LIB_TEST" = "x0" ; then
|
||||
PERL_LFLAGS=`$PERL -MExtUtils::Embed -e ldopts`
|
||||
AC_MSG_RESULT(found)
|
||||
else
|
||||
@@ -485,7 +492,7 @@ if test "x$enable_python" = "xyes" ; then
|
||||
AC_MSG_RESULT(found)
|
||||
else
|
||||
AC_MSG_WARN([
|
||||
*** Python library couldn't be found on your system.
|
||||
*** Python library couldn't be found on your system.
|
||||
*** Try to install it with your software package manager.
|
||||
*** WeeChat will be built without Python support.])
|
||||
enable_python="no"
|
||||
@@ -524,21 +531,33 @@ if test "x$enable_ruby" = "xyes" ; then
|
||||
enable_ruby="no"
|
||||
not_found="$not_found ruby"
|
||||
else
|
||||
RUBY_VERSION=`$RUBY -rrbconfig -e "puts Config::CONFIG[['ruby_version']]"`
|
||||
RUBY_INCLUDE=`$RUBY -rrbconfig -e "puts Config::CONFIG[['archdir']]"`
|
||||
AC_MSG_CHECKING(for Ruby header files)
|
||||
if test -r "$RUBY_INCLUDE/ruby.h"; then
|
||||
RUBY_CFLAGS="-I$RUBY_INCLUDE"
|
||||
else
|
||||
RUBY_VERSION=`$RUBY -rrbconfig -e "puts Config::CONFIG[['ruby_version']]"`
|
||||
if test "$RUBY_VERSION" = "1.9.0"; then
|
||||
AC_MSG_WARN([
|
||||
*** Ruby header files couldn't be found on your system.
|
||||
*** Try to install them with your software package manager.
|
||||
*** Ruby header files have been found, but they're of the version 1.9.0.
|
||||
*** 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.])
|
||||
enable_ruby="no"
|
||||
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
|
||||
AC_MSG_RESULT(found)
|
||||
RUBY_LFLAGS=`$RUBY -rrbconfig -e "puts Config::CONFIG[['LIBRUBYARG_SHARED']]"`
|
||||
fi
|
||||
else
|
||||
not_asked="$not_asked ruby"
|
||||
@@ -574,41 +593,41 @@ if test "x$enable_lua" = "xyes" ; then
|
||||
PKGCONFIG=""
|
||||
AC_CHECK_PROGS(PKGCONFIG, pkg-config)
|
||||
if test "x$PKGCONFIG" != "x"; then
|
||||
AC_MSG_CHECKING(for Lua headers and librairies with pkg-config)
|
||||
echo
|
||||
for l in "$lua_suffix" "" "51" "5.1" "50" "5.0" ; do
|
||||
pkgconfig_lua_found=`$PKGCONFIG --exists lua$l 2>/dev/null`
|
||||
if test "x$?" = "x0" ; then
|
||||
LUA_VERSION=`$PKGCONFIG --modversion lua$l`
|
||||
AC_MSG_CHECKING(for Lua headers and librairies with pkg-config)
|
||||
echo
|
||||
for l in "$lua_suffix" "" "51" "5.1" "50" "5.0" ; do
|
||||
pkgconfig_lua_found=`$PKGCONFIG --exists lua$l 2>/dev/null`
|
||||
if test "x$?" = "x0" ; then
|
||||
LUA_VERSION=`$PKGCONFIG --modversion lua$l`
|
||||
LUA_CFLAGS="$LUA_CFLAGS "`$PKGCONFIG --cflags lua$l`
|
||||
LUA_LFLAGS="$LUA_LFLAGS "`$PKGCONFIG --libs lua$l`
|
||||
|
||||
pkgconfig_lualib_found=`$PKGCONFIG --exists lualib$l 2>/dev/null`
|
||||
if test "x$?" = "x0"; then
|
||||
LUA_CFLAGS="$LUA_CFLAGS "`$PKGCONFIG --cflags lualib$l`
|
||||
LUA_LFLAGS="$LUA_LFLAGS "`$PKGCONFIG --libs lualib$l`
|
||||
fi
|
||||
pkgconfig_lualib_found=`$PKGCONFIG --exists lualib$l 2>/dev/null`
|
||||
if test "x$?" = "x0"; then
|
||||
LUA_CFLAGS="$LUA_CFLAGS "`$PKGCONFIG --cflags lualib$l`
|
||||
LUA_LFLAGS="$LUA_LFLAGS "`$PKGCONFIG --libs lualib$l`
|
||||
fi
|
||||
break
|
||||
fi
|
||||
done
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
if test "x$LUA_CFLAGS" = "x" -o "x$LUA_LFLAGS" = "x" ; then
|
||||
LUACONFIG=""
|
||||
AC_CHECK_PROGS(LUACONFIG, lua-config lua-config51 lua-config5.1 lua-config50 lua-config5.0)
|
||||
if test "x$LUACONFIG" != "x" ; then
|
||||
AC_MSG_CHECKING(for Lua headers and librairies with lua-config)
|
||||
echo
|
||||
echo
|
||||
LUA_CFLAGS=`$LUACONFIG --include`
|
||||
LUA_LFLAGS=`$LUACONFIG --libs`
|
||||
LUA_VERSION="5.0.x"
|
||||
LUA_VERSION="5.0.x"
|
||||
fi
|
||||
fi
|
||||
|
||||
if test "x$LUA_CFLAGS" = "x" -o "x$LUA_LFLAGS" = "x" ; then
|
||||
if test "x$LUA_CFLAGS" = "x" -o "x$LUA_LFLAGS" = "x" ; then
|
||||
AC_MSG_CHECKING(for Lua headers and librairies)
|
||||
echo
|
||||
echo
|
||||
AC_CHECK_HEADER(lua.h,ac_found_lua_header="yes",ac_found_lua_header="no")
|
||||
AC_CHECK_HEADER(lualib.h,ac_found_liblua_header="yes",ac_found_liblua_header="no")
|
||||
if test "x$ac_found_lua_header" = "xyes" -a "x$ac_found_liblua_header" = "xyes"; then
|
||||
@@ -617,31 +636,31 @@ if test "x$enable_lua" = "xyes" ; then
|
||||
for l in "$lua_suffix" "" "51" "5.1" "50" "5.0" ; do
|
||||
AC_CHECK_LIB(lua$l,lua_call,ac_found_lua_lib="yes",ac_found_lua_lib="no")
|
||||
if test "x$ac_found_lua_lib" = "xyes" ; then
|
||||
LUA_VERSION=">=5.1.0"
|
||||
LUA_VERSION=">=5.1.0"
|
||||
|
||||
LUA_LFLAGS="$LDFLAGS -llua$l -lm"
|
||||
|
||||
ac2_save_LDFLAGS="$LDFLAGS"
|
||||
LDFLAGS="$LDFLAGS -llua$l -lm"
|
||||
|
||||
LUA_LFLAGS="$LDFLAGS -llua$l -lm"
|
||||
|
||||
ac2_save_LDFLAGS="$LDFLAGS"
|
||||
LDFLAGS="$LDFLAGS -llua$l -lm"
|
||||
if echo "$host_os" | grep "^linux" 1>/dev/null 2>&1 ; then
|
||||
LDFLAGS="$LDFLAGS -ldl"
|
||||
fi
|
||||
|
||||
if echo "$host_os" | grep "^linux" 1>/dev/null 2>&1 ; then
|
||||
LDFLAGS="$LDFLAGS -ldl"
|
||||
fi
|
||||
AC_CHECK_LIB(lualib$l,luaL_openlib,ac_found_liblua_lib="yes",ac_found_liblua_lib="no")
|
||||
if test "x$ac_found_liblua_lib" = "xyes" ; then
|
||||
LUA_VERSION="5.0.x"
|
||||
|
||||
LUA_LFLAGS="$LUA_LFLAGS -llualib$l"
|
||||
|
||||
if echo "$host_os" | grep "^linux" 1>/dev/null 2>&1 ; then
|
||||
LUA_LFLAGS="$LUA_LFLAGS -ldl"
|
||||
fi
|
||||
fi
|
||||
|
||||
AC_CHECK_LIB(lualib$l,luaL_openlib,ac_found_liblua_lib="yes",ac_found_liblua_lib="no")
|
||||
if test "x$ac_found_liblua_lib" = "xyes" ; then
|
||||
LUA_VERSION="5.0.x"
|
||||
|
||||
LUA_LFLAGS="$LUA_LFLAGS -llualib$l"
|
||||
|
||||
if echo "$host_os" | grep "^linux" 1>/dev/null 2>&1 ; then
|
||||
LUA_LFLAGS="$LUA_LFLAGS -ldl"
|
||||
fi
|
||||
fi
|
||||
|
||||
LDFLAGS="$ac2_save_LDFLAGS"
|
||||
break
|
||||
fi
|
||||
LDFLAGS="$ac2_save_LDFLAGS"
|
||||
break
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
@@ -682,6 +701,9 @@ if test "x$enable_tcl" = "xyes" ; then
|
||||
AC_MSG_CHECKING(for tclConfig.sh)
|
||||
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"
|
||||
if test "x$tclconfig" != "x" ; then
|
||||
tcl_dirs="${tclconfig} ${tcl_dirs}"
|
||||
fi
|
||||
for tcl_dir in $tcl_dirs ; do
|
||||
if test -f ${tcl_dir}/tclConfig.sh ; then
|
||||
. ${tcl_dir}/tclConfig.sh
|
||||
@@ -719,24 +741,54 @@ else
|
||||
not_asked="$not_asked xfer"
|
||||
fi
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
# gcrypt
|
||||
# ------------------------------------------------------------------------------
|
||||
|
||||
if test "x$enable_gcrypt" = "xyes" ; then
|
||||
AC_CHECK_HEADER(gcrypt.h,ac_found_gcrypt_header="yes",ac_found_gcrypt_header="no")
|
||||
AC_CHECK_LIB(gcrypt,gcry_check_version,ac_found_gcrypt_lib="yes",ac_found_gcrypt_lib="no")
|
||||
|
||||
AC_MSG_CHECKING(for gcrypt headers and librairies)
|
||||
if test "x$ac_found_gcrypt_header" = "xno" -o "x$ac_found_gcrypt_lib" = "xno" ; then
|
||||
AC_MSG_RESULT(no)
|
||||
AC_MSG_WARN([
|
||||
*** libgcrypt was not found. You may want to get it from ftp://ftp.gnupg.org/gcrypt/libgcrypt/
|
||||
*** WeeChat will be built without gcrypt support.
|
||||
*** Some features like SASL authentication with IRC server using mechanism DH-BLOWFISH will be disabled.])
|
||||
enable_gcrypt="no"
|
||||
not_found="$not_found gcrypt"
|
||||
else
|
||||
AC_MSG_RESULT(yes)
|
||||
GCRYPT_CFLAGS=`libgcrypt-config --cflags`
|
||||
GCRYPT_LFLAGS=`libgcrypt-config --libs`
|
||||
AC_SUBST(GCRYPT_CFLAGS)
|
||||
AC_SUBST(GCRYPT_LFLAGS)
|
||||
AC_DEFINE(HAVE_GCRYPT)
|
||||
CFLAGS="$CFLAGS -DHAVE_GCRYPT"
|
||||
fi
|
||||
else
|
||||
not_asked="$not_asked gcrypt"
|
||||
fi
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
# gnutls
|
||||
# ------------------------------------------------------------------------------
|
||||
|
||||
if test "x$enable_gnutls" = "xyes" ; then
|
||||
AC_CHECK_HEADER(gnutls/gnutls.h,ac_found_gnutls_header="yes",ac_found_gnutls_header="no")
|
||||
AC_CHECK_LIB(gnutls,gnutls_global_init,ac_found_gnutls_lib="yes",ac_found_gnutls_lib="no")
|
||||
|
||||
AC_MSG_CHECKING(for gnutls headers and librairies)
|
||||
if test "x$ac_found_gnutls_header" = "xno" -o "x$ac_found_gnutls_lib" = "xno" ; then
|
||||
AC_MSG_RESULT(no)
|
||||
AC_MSG_WARN([
|
||||
AC_CHECK_HEADER(gnutls/gnutls.h,ac_found_gnutls_header="yes",ac_found_gnutls_header="no")
|
||||
AC_CHECK_LIB(gnutls,gnutls_global_init,ac_found_gnutls_lib="yes",ac_found_gnutls_lib="no")
|
||||
|
||||
AC_MSG_CHECKING(for gnutls headers and librairies)
|
||||
if test "x$ac_found_gnutls_header" = "xno" -o "x$ac_found_gnutls_lib" = "xno" ; then
|
||||
AC_MSG_RESULT(no)
|
||||
AC_MSG_WARN([
|
||||
*** libgnutls was not found. You may want to get it from ftp://ftp.gnutls.org/pub/gnutls/
|
||||
*** WeeChat will be built without GnuTLS support.])
|
||||
enable_gnutls="no"
|
||||
not_found="$not_found gnutls"
|
||||
enable_gnutls="no"
|
||||
not_found="$not_found gnutls"
|
||||
else
|
||||
AC_MSG_RESULT(yes)
|
||||
AC_MSG_RESULT(yes)
|
||||
GNUTLS_CFLAGS=`pkg-config gnutls --cflags`
|
||||
GNUTLS_LFLAGS=`pkg-config gnutls --libs`
|
||||
AC_SUBST(GNUTLS_CFLAGS)
|
||||
@@ -822,13 +874,13 @@ if test "x$enable_doc" = "xyes" ; then
|
||||
;;
|
||||
esac
|
||||
else
|
||||
enable_doc="no"
|
||||
enable_doc="no"
|
||||
fi
|
||||
if test -z "$ASCIIDOC"; then
|
||||
not_found="$not_found asciidoc"
|
||||
fi
|
||||
if test -z "$SOURCEHIGHLIGHT"; then
|
||||
not_found="$not_found source-highlight(needed by asciidoc)"
|
||||
not_found="$not_found source-highlight(needed by asciidoc)"
|
||||
fi
|
||||
AC_SUBST(DOC_ASCIIDOC8)
|
||||
AC_SUBST(ASCIIDOC)
|
||||
@@ -870,7 +922,7 @@ else
|
||||
AC_MSG_RESULT(no)
|
||||
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'`
|
||||
@@ -900,19 +952,20 @@ netbsd*)
|
||||
fi
|
||||
CFLAGS="$CFLAGS $CPPFLAGS"
|
||||
;;
|
||||
gnu*)
|
||||
gnu*)
|
||||
LDFLAGS="$LDFLAGS -lpthread"
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
|
||||
CFLAGS="$CFLAGS -DWEECHAT_VERSION=\\\"$VERSION\\\""
|
||||
CFLAGS="$CFLAGS -DWEECHAT_VERSION=\\\"$VERSION\\\" -DWEECHAT_LICENSE=\\\"$LICENSE\\\""
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
# output Makefiles
|
||||
# ------------------------------------------------------------------------------
|
||||
|
||||
AM_CONDITIONAL(HAVE_GCRYPT, test "$enable_gcrypt" = "yes")
|
||||
AM_CONDITIONAL(HAVE_GNUTLS, test "$enable_gnutls" = "yes")
|
||||
AM_CONDITIONAL(HAVE_FLOCK, test "$enable_flock" = "yes")
|
||||
AM_CONDITIONAL(GUI_NCURSES, test "$enable_ncurses" = "yes")
|
||||
@@ -941,6 +994,9 @@ AC_OUTPUT([Makefile
|
||||
doc/fr/Makefile
|
||||
doc/pl/Makefile
|
||||
doc/de/Makefile
|
||||
doc/ru/Makefile
|
||||
doc/ja/Makefile
|
||||
doc/it/Makefile
|
||||
src/Makefile
|
||||
src/core/Makefile
|
||||
src/plugins/Makefile
|
||||
@@ -1036,6 +1092,9 @@ if test "x$enable_xfer" = "xyes"; then
|
||||
fi
|
||||
|
||||
listoptional=""
|
||||
if test "x$enable_gcrypt" = "xyes"; then
|
||||
listoptional="$listoptional gcrypt"
|
||||
fi
|
||||
if test "x$enable_gnutls" = "xyes"; then
|
||||
listoptional="$listoptional gnutls"
|
||||
fi
|
||||
|
||||
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
|
||||
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
|
||||
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
|
||||
|
||||
* New (major) upstream release.
|
||||
- Fix the excessive number of wakeups (Closes: #461945)
|
||||
* Remove patches (merged upstream).
|
||||
* Update debian/copyright: add new copyright holder.
|
||||
* Packaging changes:
|
||||
* Packaging changes (taking into account future frontends: weechat-gtk,
|
||||
weechat-qt, etc.):
|
||||
- Drop weechat-common
|
||||
- Add weechat-doc (Documentation)
|
||||
- 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.
|
||||
* Update packages descriptions.
|
||||
* 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.
|
||||
* 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
|
||||
|
||||
|
||||
Vendored
+5
-5
@@ -2,12 +2,12 @@ Source: weechat
|
||||
Section: net
|
||||
Priority: optional
|
||||
Maintainer: Emmanuel Bouthenot <kolter@openics.org>
|
||||
Build-Depends-Indep: asciidoc (>= 8.2), source-highlight
|
||||
Build-Depends: debhelper (>= 7.0.50), cmake, libncursesw5-dev,
|
||||
ruby, ruby1.8-dev, libperl-dev, python-dev, libaspell-dev, liblua5.1-0-dev,
|
||||
tcl-dev, libgnutls-dev, dpkg-dev (>= 1.13.19), pkg-config, asciidoc (>= 8.4),
|
||||
source-highlight
|
||||
Standards-Version: 3.8.2
|
||||
Homepage: http://www.weechat.org/
|
||||
tcl-dev, libgnutls-dev, dpkg-dev (>= 1.13.19), pkg-config
|
||||
Standards-Version: 3.8.3
|
||||
Homepage: http://weechat.org/
|
||||
Vcs-Git: git://git.debian.org/users/kolter-guest/weechat.git
|
||||
Vcs-Browser: http://git.debian.org/git/users/kolter-guest/weechat.git
|
||||
DM-Upload-Allowed: yes
|
||||
@@ -31,6 +31,7 @@ Package: weechat-curses
|
||||
Architecture: any
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}, weechat-core (= ${binary:Version})
|
||||
Conflicts: weechat-common
|
||||
Breaks: weechat-scripts (<= 20090221-1)
|
||||
Recommends: weechat-plugins (= ${binary:Version})
|
||||
Description: Fast, light and extensible chat client - console client
|
||||
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
|
||||
@@ -62,7 +63,6 @@ Description: Fast, light and extensible chat client - core files
|
||||
Package: weechat-plugins
|
||||
Architecture: any
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}, weechat-curses (= ${binary:Version})
|
||||
Breaks: weechat-scripts (<= 20090221-1)
|
||||
Suggests: weechat-scripts (>> 20090221-1)
|
||||
Description: Fast, light and extensible chat client - plugins
|
||||
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
|
||||
|
||||
Vendored
+6
-6
@@ -1,12 +1,12 @@
|
||||
This package was debianized by FlashCode <flashcode@flashtux.org> on
|
||||
Sat, 21 May 2005 08:00:00 +0200.
|
||||
|
||||
It was downloaded from http://www.weechat.org/files/src/
|
||||
It was downloaded from http://weechat.org/files/src/
|
||||
|
||||
Copyright:
|
||||
Copyright (C) (2003-2009) FlashCode <flashcode@flashtux.org>
|
||||
Copyright (C) (2005-2009) Emmanuel Bouthenot <kolter@openics.org>
|
||||
Copyright (C) (2008-2009) Dmitry Kobylin <fnfal@academ.tsc.ru> (tcl plugin)
|
||||
Copyright (C) (2003-2010) FlashCode <flashcode@flashtux.org>
|
||||
Copyright (C) (2005-2010) Emmanuel Bouthenot <kolter@openics.org>
|
||||
Copyright (C) (2008-2010) Dmitry Kobylin <fnfal@academ.tsc.ru> (tcl plugin)
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
@@ -17,6 +17,6 @@ On Debian systems, the complete text of the GNU General Public
|
||||
License, Version 3 can be found in the file
|
||||
/usr/share/common-licenses/GPL-3
|
||||
|
||||
Debian packaging (licenced under the GPLv3):
|
||||
Debian packaging (licensed under the GPLv3):
|
||||
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
@@ -12,7 +12,7 @@ builddir/Makefile:
|
||||
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON
|
||||
|
||||
build: build-stamp
|
||||
build-stamp: builddir/Makefile
|
||||
build-stamp: builddir/Makefile
|
||||
dh_testdir
|
||||
$(MAKE) -C builddir
|
||||
touch $@
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,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
|
||||
# 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( pl )
|
||||
ADD_SUBDIRECTORY( de )
|
||||
ADD_SUBDIRECTORY( ru )
|
||||
ADD_SUBDIRECTORY( ja )
|
||||
ADD_SUBDIRECTORY( it )
|
||||
ENDIF(ASCIIDOC_FOUND AND SOURCEHIGHLIGHT_FOUND)
|
||||
|
||||
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)
|
||||
|
||||
+3
-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
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
@@ -14,8 +14,8 @@
|
||||
# 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
|
||||
|
||||
EXTRA_DIST = $(man_MANS) CMakeLists.txt
|
||||
EXTRA_DIST = $(man_MANS) docgen.pl CMakeLists.txt
|
||||
|
||||
+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
|
||||
# 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/>.
|
||||
#
|
||||
|
||||
# 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
|
||||
ADD_CUSTOM_COMMAND(
|
||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.de.html
|
||||
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a toc_title='Inhaltsverzeichnis' -a date=`date "+%F"` -a revision="${VERSION}" -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.de.txt
|
||||
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a toc-title='Inhaltsverzeichnis' -a date=`date "+%F"` -a revision="${VERSION}" -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.de.txt
|
||||
DEPENDS
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.de.txt
|
||||
COMMENT "Building weechat_quickstart.de.html"
|
||||
)
|
||||
ADD_CUSTOM_TARGET(doc-quickstart-de ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.de.html)
|
||||
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.de.html DESTINATION share/doc/${PROJECT_NAME})
|
||||
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
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
@@ -17,13 +17,25 @@
|
||||
docdir = $(datadir)/doc/$(PACKAGE)
|
||||
|
||||
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
|
||||
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
|
||||
|
||||
|
||||
@@ -0,0 +1,483 @@
|
||||
WeeChat FAQ (häufig gestellte Fragen)
|
||||
=====================================
|
||||
FlashCode <flashcode@flashtux.org>
|
||||
|
||||
|
||||
[[general]]
|
||||
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 verschiedener Protokolle durch Erweiterungen (IRC, Jabber)
|
||||
* mehrere Remote GUIs als Ergänzung zu Curses (in Kürze)
|
||||
* in mehreren Sprachen verfügbar
|
||||
* den eigenen Bedürfnissen anpassbar, 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 Einteilung der Fenster
|
||||
* anpassbare und erweiterbare Leisten
|
||||
* Nickliste in allen GUI's verfügbar
|
||||
* inkrementelle Textsuche in Buffern, zu Highlights springen
|
||||
* FIFO Pipe für Fernsteuerung
|
||||
* Unterstützung von 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
|
||||
|
||||
|
||||
[[compilation_install]]
|
||||
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 eine 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 - weshalb?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Der empfohlene Weg um WeeChat zu kompilieren ist die Nutzung von cmake.
|
||||
|
||||
Falls Du WeeChat mit Hilfe der autotools kompilieren solltest (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).
|
||||
|
||||
Die zweite Möglichkeit besteht darin das "Entwickler-Paket" zu installieren. Dies
|
||||
besitzt weniger Abhängigkeiten. Das Paket wird quasi täglich aus dem git Repository erstellt.
|
||||
Beachte, dass dieses Paket nicht immer exakt mit dem git Repository übereinstimmen muss
|
||||
und daher auch weniger brauchbar sein kann, im Gegensatz zu der Methode dass man selbst
|
||||
das Repository klont und daraus Updates installiert.
|
||||
|
||||
|
||||
[[lost]]
|
||||
Ich habe WeeChat gestartet, komme aber nicht mehr weiter - was kann ich tun?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Um Hilfe zu erhalten, nutze den `/help` Befehl. Eine Hilfe zu einem Befehl erhältst
|
||||
Du durch die Eingabe von: `/help Befehlsname`.
|
||||
Befehle sowie die Belegung der jeweiligen Tasten sind in der Dokumentation
|
||||
aufgeführt.
|
||||
(Tipp: 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).
|
||||
|
||||
|
||||
[[display]]
|
||||
Anzeige
|
||||
-------
|
||||
|
||||
|
||||
[[charset]]
|
||||
Teilweise fehlen den Zeichen die Akzente. Wie kann ich das korrigieren?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Dies ist ein bekanntes Problem. Bitte lese deshalb die nachfolgende Erklärung
|
||||
sorgfältig durch und überprüfe *alle* aufgezeigten Lösungsmöglichkeiten.
|
||||
|
||||
Für Versionen < 0.2.3: Bitte auf die neueste stabile Version von WeeChat wechseln.
|
||||
|
||||
Für Versionen > = 0.2.3:
|
||||
|
||||
* überprüfe, ob weechat-curses mit libncursesw verlinkt ist (Warnung: nötig bei den
|
||||
meisten Distributionen - jedoch nicht bei allen): `ldd /path/to/weechat-curses`
|
||||
* prüfe mit dem Befehl `/plugin`, ob die "Charset" Erweiterung geladen ist (falls
|
||||
dies nicht der Fall sein sollte benötigst Du wahrscheinlich noch das Paket "weechat-plugins")
|
||||
* überprüfe die Ausgabe des `/charset` Befehls (im Server-Buffer). Du solltest
|
||||
'ISO-XXXXXX' oder 'UTF-8' für den Terminal Zeichensatz als Antwort erhalten. Falls Du
|
||||
'ANSI_X3.4-1968' oder einen anderen Wert bekommen solltest, ist Deine Einstellung der
|
||||
locale möglicherweise falsch.
|
||||
* Einstellen 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 dieser im UTF-8 Modus läuft
|
||||
("`defutf8 on`" in der Datei ~/.screenrc oder `screen -U` zum Starten von
|
||||
screen)
|
||||
|
||||
[NOTE]
|
||||
Für Weechat wird die Nutzung von UTF-8 locale empfohlen. Nutzt Du jedoch ISO
|
||||
oder andere locale, bitte vergewissere Dich, dass *alle* Deine Einstellungen
|
||||
(Terminal, screen, ...) sich auch auf ISO beziehen und *nicht* auf UTF-8.
|
||||
|
||||
|
||||
[[bars_background]]
|
||||
Bars, z.B. Titel und Status haben keine Hintergrundfarbe bzw. diese endet direkt nach dem Text, warum?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Dies kann durch einen falschen Wert in der Variablen TERM Deiner Shell verursacht
|
||||
werden. Bitte überprüfe die Ausgabe von `echo $TERM` in Deinem Terminal.
|
||||
|
||||
Abhängig davon von wo WeeChat startet wird, 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.
|
||||
|
||||
Falls 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 in der TERM-Variable Deiner Shell verursacht
|
||||
werden. Bitte überprüfe die Ausgabe von `echo $TERM` in Deinem Terminal.
|
||||
|
||||
Als Beispiel, 'xterm-color' könnte solche merkwürdigen Zeichen produzieren.
|
||||
Nutzte stattdessen lieber 'xterm'.
|
||||
|
||||
Falls nötig korrigiere den Wert Deiner TERM-Variable: `export TERM="xxx"`.
|
||||
|
||||
|
||||
[[buffer_vs_window]]
|
||||
Ich habe von "Buffern" und "Fenstern" gehört - Worin besteht der Unterschied?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Ein 'Buffer' besteht aus einer Nummer, besitzt einem Namen, hat Zeilen die angezeigt
|
||||
werden (und noch 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
|
||||
in einem Fenster nicht angezeigt). Oder ein Buffer wird durch ein oder mehrere Fenster
|
||||
angezeigt.
|
||||
|
||||
|
||||
[[terminal_copy_paste]]
|
||||
Wie kann ich einen Text kopieren und einfügen ohne das die Nickliste mit eingefügt wird?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Hierzu kannst Du ein Terminal nutzen welches Block-Auswahl erlaubt (wie z.B. rxvt-unicode,
|
||||
konsole, gnome-terminal, ...). Im Normalfall erfolgt die Markierung 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:
|
||||
|
||||
* 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 dass sehr lange URLs abgeschnitten und dadurch 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.
|
||||
|
||||
Eine Liste der Skripten die sich mit URLs befassen: http://www.weechat.org/scripts/stable/tag/url
|
||||
|
||||
|
||||
[[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`.
|
||||
|
||||
|
||||
[[key_bindings]]
|
||||
Tastaturbelegung
|
||||
----------------
|
||||
|
||||
|
||||
[[meta_keys]]
|
||||
Aus welchem Grund funktionieren manche meta keys (alt + key) nicht?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Wenn Du einen Terminal wie xterm oder uxterm nutzten solltest werden einige
|
||||
meta keys standardmäßig nicht unterstützt.
|
||||
In diesem Fall sollte folgende Zeile der Konfigurationsdatei '~/.Xresources'
|
||||
hinzugefügt werden:
|
||||
|
||||
* für xterm:
|
||||
----------------------------------------
|
||||
XTerm*metaSendsEscape: true
|
||||
----------------------------------------
|
||||
* für uxterm:
|
||||
----------------------------------------
|
||||
UXTerm*metaSendsEscape: true
|
||||
----------------------------------------
|
||||
|
||||
Danach muss resources neu geladen werden (`xrdb -override ~/.Xresources`) oder
|
||||
man startet X neu.
|
||||
|
||||
|
||||
[[customize_key_bindings]]
|
||||
Wie kann ich die Tastaturbelegung anpassen?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Die Tasten werden mit dem Befehl `/key` belegt.
|
||||
|
||||
Mit der voreingestellten Tastenkombination Meta-k (normal Alt-k) kann man sich den
|
||||
Code der jeweiligen Taste anzeigen lassen und in die Eingabezeile einfügen.
|
||||
|
||||
|
||||
[[irc]]
|
||||
IRC
|
||||
---
|
||||
|
||||
|
||||
[[ignore_vs_filter]]
|
||||
Was ist der Unterschied zwischen dem Befehl /ignore und /filter?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Der Befehl `/ignore` ist ein IRC-Befehl und beeinflusst somit nur die IRC-Buffer
|
||||
(Server und Channel).
|
||||
Durch den Befehl kann man bestimmte Nicks oder Hostnamen von Usern eines Servers oder
|
||||
von Channels ignorieren (Der Befehl wird nicht auf den Inhalt der Meldung angewandt).
|
||||
Zutreffende Meldungen werden, bevor sie angezeigt werden, von der IRC-Erweiterung 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.
|
||||
Die Darstellung von gefilterte Zeilen wird nur unterdrückt, die Zeilen werden nicht gelöscht.
|
||||
Du kannst diese Zeilen sichtbar machen indem Du den Filter deaktivierst (Voreinstellung zum
|
||||
aktivieren/deaktivieren der Filter: Alt-Taste + "=").
|
||||
|
||||
|
||||
[[filter_irc_join_part_quit]]
|
||||
Wie kann ich join/part/quit Meldungen in den 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`)
|
||||
|
||||
|
||||
[[filter_voice_messages]]
|
||||
Wie kann ich voice Nachrichten filtern (z.B. auf Bitlbee Servern)?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Voice Nachrichten zu filtern ist nicht einfach, da der Voice-Modus mit anderen
|
||||
Modi in der IRC Nachricht kombiniert werden kann.
|
||||
|
||||
Falls Du Voice Nachrichten z.B. bei Bitlbee unterdrücken möchtest da diese
|
||||
dazu genutzt werden um den Abwesenheitsstatus anderer User anzuzeigen und Du nicht
|
||||
von diesen Mitteilungen überflutet werden möchtest, kannst Du WeeChat anweisen
|
||||
den Nick der abwesend ist in einer speziellen Farbe darzustellen.
|
||||
|
||||
Im Channel '&bitlbee':
|
||||
----------------------------------------
|
||||
set away_devoice false
|
||||
----------------------------------------
|
||||
|
||||
Um in WeeChat anzeigen zu lassen welche Nicks abwesend sind siehe:
|
||||
<<color_away_nicks,abwesende Nicks>>.
|
||||
|
||||
|
||||
[[color_away_nicks]]
|
||||
Wie kann ich mir Nicks in der Nickliste anzeigen lassen, die abwesend sind?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Dazu musst Du in der Option 'irc.network.away_check' ein Zeitintervall, in Minuten,
|
||||
angeben die zwischen zwei Überprüfungen liegen soll.
|
||||
|
||||
Mit der Option 'irc.network.away_check_max_nicks' kann festgelegt werden in welchen
|
||||
Channels eine Überprüfung stattfinden soll. Hierbei stellt der angegebene Wert die
|
||||
maximale Anzahl an Nicks in einem Channel dar, die den Channel gleichzeitig besuchen.
|
||||
|
||||
In folgendem Beispiel wird der Abwesenheitsstatus alle fünf Minuten überprüft. Dabei
|
||||
werden aber nur Channels berücksichtigt die nicht mehr als 25 Teilnehmer haben:
|
||||
|
||||
----------------------------------------
|
||||
/set irc.network.away_check 5
|
||||
/set irc.network.away_check_max_nicks 25
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[highlight_notification]]
|
||||
Wie kann ich mich darüber informieren lassen falls mich jemand in einem Channel highlighted
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
((A.d.Ü) Highlight bedeutet, dass der eigene Nick-Name im Channel genannt wird. Ich also
|
||||
direkt, persönlich, angesprochen werde. Der Nick der Person die mich anschreibt wird dabei
|
||||
farblich hervorgehoben)
|
||||
|
||||
Die Einstellung geschieht abhängig von der WeeChat Version:
|
||||
|
||||
* WeeChat < = 0.2.6: nutze das Skript 'sound.pl' (verfügbar auf der Skript-Seite),
|
||||
und nehme Einstellungen für einen System-Befehl (um einen Klang abzuspielen,
|
||||
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-Seite),
|
||||
und nehme Einstellungen für einen System-Befehl (um einen Klang abzuspielen,
|
||||
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 verschiedene Ereignisse informieren , bitte
|
||||
besuche dazu die Skripten-Webseite: http://www.weechat.org/scripts/
|
||||
|
||||
|
||||
[[plugins_scripts]]
|
||||
Erweiterungen / Skripten
|
||||
------------------------
|
||||
|
||||
|
||||
[[openbsd_plugins]]
|
||||
Ich benutze OpenBSD und WeeChat lädt keine Erweiterungen - weshalb?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Unter OpenBSD enden die Dateinamen von 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`.
|
||||
|
||||
|
||||
[[load_scripts]]
|
||||
Wie kann ich Perl/Python/Ruby/Lua/Tcl Skripten laden? Sind Skripten kompatibel zu anderen IRC-Clients?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Die Skripten für WeeChat sind mit anderer IRC-Clients nicht kompatibel und vice versa.
|
||||
|
||||
Um Skripten zu laden nutze den Befehl für die jeweilige Skriptsprache:
|
||||
`/perl`, `/python`, `/ruby`, `/lua` und `/tcl`
|
||||
|
||||
|
||||
Anmerkung:
|
||||
|
||||
* Voreingestellter Pfad der Skripten: '~/.weechat/<Skriptsprache>/'
|
||||
* Skripten die sich im Verzeichnis '~/.weechat/<Skriptsprache>/autoload/' befinden werden
|
||||
beim Start von WeeChat automatisch geladen.
|
||||
* Eine 'tcl' Erweiterung ist ab Version > = 0.3.0 verfügbar.
|
||||
|
||||
|
||||
[[settings]]
|
||||
Einstellungen
|
||||
-------------
|
||||
|
||||
|
||||
[[memory_usage]]
|
||||
Wie kann ich WeeChat dazu bringen weniger Speicher zu verbrauchen?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Du kannst folgende Tipps umsetzen damit WeeChat weniger Speicher benötigt:
|
||||
|
||||
* nutze die aktuelle Version (man kann davon ausgehen das eine aktuelle Version
|
||||
weniger Speicherlecks besitzt, als eine ältere Version)
|
||||
* lade keine Erweiterungen die Du nicht benötigst. Zum Beispiel: ASpell, Fifo,
|
||||
Logger, Perl, Python, Ruby, Lua, Tcl, Xfer (wird für DCC benötigst)
|
||||
* lade nur Skripten die Du auch benutzt
|
||||
* nutze einen kleineren Wert für die Option 'weechat.history.max_lines' (Anzahl
|
||||
der Zeilen die für jeden Buffer im Speicher gehalten werden soll)
|
||||
* nutze einen kleineren Wert für die Option 'weechat.history.max_commands' (Anzahl
|
||||
des Verlaufsspeichers, für Befehle, die im Speicher gehalten werden sollen)
|
||||
|
||||
|
||||
[[development]]
|
||||
Entwicklung
|
||||
-----------
|
||||
|
||||
|
||||
[[bug_task_patch]]
|
||||
Was kann ich machen falls ich einen Fehler gefunden habe, nach neuen Funktionen fragen oder Patches einsenden möchte?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Es gibt drei Möglichkeiten:
|
||||
|
||||
. Du kannst zu uns in den IRC kommen: 'irc.freenode.net', channel '#weechat'
|
||||
. Du kannst die Internetseite savannah nutzen:
|
||||
* Einen Fehler melden: https://savannah.nongnu.org/bugs/?group=weechat
|
||||
* Einen Verbesserungsvorschlag machen: https://savannah.nongnu.org/task/?group=weechat
|
||||
* Einen Patch einsenden: 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 andere Betriebssystemen portiert?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Eine vollständige Liste der Portierungen findest Du unter: http://www.weechat.org/download
|
||||
|
||||
Wir geben unser Bestes um WeeChat auf möglichst viele Plattformen zu portieren.
|
||||
Aber um WeeChat auf Betriebssystemen zu testen, zu denen wir keinen Zugang haben,
|
||||
ist Hilfe gerne gesehen.
|
||||
|
||||
|
||||
[[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 WeeChat Entwickler spenden?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Du kannst uns Geld zur Unterstützung der weiteren Entwicklung spenden.
|
||||
Details hierzu gibt es auf: http://www.weechat.org/donate
|
||||
@@ -89,11 +89,11 @@ Setzen eigener IRC-Server Optionen
|
||||
|
||||
WeeChat verwendet Vorgabewerte für alle Server (so genannte "fall backs") falls
|
||||
Du keine eigenen Werte für entsprechende Server-Optionen bestimmst.
|
||||
Diese Vorgabeoptionen sind "irc.server_default.*".
|
||||
Diese Vorgabeoptionen sind "irc.server_default.*".
|
||||
|
||||
Für jede Server-Option benutzt WeeChat den entsprechend gesetzten Wert - falls
|
||||
definiert (nicht "null"). Andernfalls verwendet WeeChat Vorgabewerte
|
||||
("irc.server_default.xxx").
|
||||
("irc.server_default.xxx").
|
||||
|
||||
Als Beispiel erwähnt seien die Vorgabe (default) nicks, die auf dem Un*x Login
|
||||
basieren. Diese können nun für oftc-Server mittels folgendem Befehl
|
||||
@@ -215,7 +215,7 @@ Belegungen kennen:
|
||||
- 'alt + A': springe zum Puffer mit Aktivität (aus der Hotlist)
|
||||
|
||||
Gemäß Deiner Tastatur und/oder Deinen Bedürfnissen kannst Du jede Taste mittels
|
||||
des Befehls `/key` neu mit einem Befehl belegen.
|
||||
des Befehls `/key` neu mit einem Befehl belegen.
|
||||
Eine nützliche Tastenkombination um Tastencodes zu ermitteln ist meta-k (alt-k).
|
||||
|
||||
Beispiel, Belegung von meta-y (alt-y) mit dem Befehl `/buffer close`:
|
||||
@@ -246,7 +246,7 @@ Befehl `/plugin` geladen werden und verfügen ihrerseits über Befehle wie z.B.
|
||||
`/perl` um Scripte zu laden.
|
||||
|
||||
Viele externe Plugins/Scripte (der Mitarbeitenden) sind für WeeChat verfügbar,
|
||||
siehe: http://www.weechat.org/plugins
|
||||
siehe: http://www.weechat.org/scripts
|
||||
|
||||
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
|
||||
+75
-23
@@ -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
|
||||
# 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/>.
|
||||
#
|
||||
|
||||
# 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.
|
||||
#
|
||||
# Instructions to build config files yourself in WeeChat directories (replace
|
||||
@@ -26,7 +26,7 @@
|
||||
# /set plugins.var.perl.docgen.path "~/src/weechat/doc"
|
||||
# 3. run docgen command:
|
||||
# /docgen
|
||||
# XML files should be in ~/src/weechat/doc/xx/autogen/ (where xx is language)
|
||||
# Files should be in ~/src/weechat/doc/xx/autogen/ (where xx is language)
|
||||
#
|
||||
# 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";
|
||||
|
||||
# list of locales for which we want to build XML doc files to include
|
||||
my @locale_list = qw(en_US fr_FR);
|
||||
my @all_locale_list = qw(en_US fr_FR it_IT);
|
||||
|
||||
# all commands/options/.. of following plugins will produce a file
|
||||
# non-listed plugins will be ignored
|
||||
@@ -75,10 +75,14 @@ my %plugin_list = ("weechat" => "co", "alias" => "",
|
||||
my @ignore_options = ("aspell\\.dict\\..*",
|
||||
"charset\\.decode\\..*",
|
||||
"charset\\.encode\\..*",
|
||||
"irc\\.msgbuffer\\..*",
|
||||
"irc\\.ctcp\\..*",
|
||||
"irc\\.ignore\\..*",
|
||||
"irc\\.server\\..*",
|
||||
"jabber\\.server\\..*",
|
||||
"logger\\.level\\..*",
|
||||
"logger\\.mask\\..*",
|
||||
"relay\\.port\\..*",
|
||||
"weechat\\.proxy\\..*",
|
||||
"weechat\\.bar\\..*",
|
||||
"weechat\\.debug\\..*",
|
||||
@@ -92,19 +96,33 @@ my @ignore_infolists_plugins = ();
|
||||
|
||||
# completions to ignore
|
||||
my @ignore_completions_plugins = ();
|
||||
my @ignore_completions_items = ("jabber.*",
|
||||
my @ignore_completions_items = ("docgen.*",
|
||||
"jabber.*",
|
||||
"weeget.*");
|
||||
|
||||
# for gettext
|
||||
my $d;
|
||||
|
||||
# -------------------------------[ init ]--------------------------------------
|
||||
|
||||
weechat::register("docgen", "FlashCode <flashcode\@flashtux.org>", $version,
|
||||
"GPL", "Doc generator for WeeChat 0.3.x", "", "");
|
||||
weechat::hook_command("docgen", "Doc generator", "", "", "", "docgen", "");
|
||||
"GPL3", "Doc generator for WeeChat 0.3.x", "", "");
|
||||
weechat::hook_command("docgen", "Doc generator",
|
||||
"[locales]",
|
||||
"locales: list of locales to build (by default build all locales)",
|
||||
"%(docgen_locales)|%*", "docgen", "");
|
||||
weechat::hook_completion("docgen_locales", "locales for docgen", "docgen_completion", "");
|
||||
weechat::config_set_plugin("path", $default_path)
|
||||
if (weechat::config_get_plugin("path") eq "");
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
|
||||
# gettext
|
||||
sub weechat_gettext
|
||||
{
|
||||
return $d->get($_[0]);
|
||||
}
|
||||
|
||||
# get list of commands in a hash with 3 indexes: plugin, command, xxx
|
||||
sub get_commands
|
||||
{
|
||||
@@ -193,6 +211,7 @@ sub get_infos
|
||||
if ($ignore ne 1)
|
||||
{
|
||||
$infos{$plugin}{$info_name}{"description"} = weechat::infolist_string($infolist, "description");
|
||||
$infos{$plugin}{$info_name}{"args_description"} = weechat::infolist_string($infolist, "args_description");
|
||||
}
|
||||
}
|
||||
weechat::infolist_free($infolist);
|
||||
@@ -223,6 +242,8 @@ sub get_infolists
|
||||
if ($ignore ne 1)
|
||||
{
|
||||
$infolists{$plugin}{$infolist_name}{"description"} = weechat::infolist_string($infolist, "description");
|
||||
$infolists{$plugin}{$infolist_name}{"pointer_description"} = weechat::infolist_string($infolist, "pointer_description");
|
||||
$infolists{$plugin}{$infolist_name}{"args_description"} = weechat::infolist_string($infolist, "args_description");
|
||||
}
|
||||
}
|
||||
weechat::infolist_free($infolist);
|
||||
@@ -281,6 +302,11 @@ sub escape_table
|
||||
# build XML doc files (command /docgen)
|
||||
sub docgen
|
||||
{
|
||||
my ($data, $buffer, $args) = ($_[0], $_[1], $_[2]);
|
||||
|
||||
my @locale_list = @all_locale_list;
|
||||
@locale_list = split(/ /, $args) if ($args ne "");
|
||||
|
||||
my %plugin_commands = get_commands();
|
||||
my %plugin_options = get_options();
|
||||
my %plugin_infos = get_infos();
|
||||
@@ -297,6 +323,7 @@ sub docgen
|
||||
my $num_files = 0;
|
||||
my $num_files_updated = 0;
|
||||
my $filename = "";
|
||||
|
||||
foreach my $locale (@locale_list)
|
||||
{
|
||||
my $num_files_commands = 0;
|
||||
@@ -311,7 +338,7 @@ sub docgen
|
||||
my $num_files_completions_updated = 0;
|
||||
|
||||
setlocale(LC_MESSAGES, $locale.".UTF-8");
|
||||
my $d = Locale::gettext->domain_raw("weechat");
|
||||
$d = Locale::gettext->domain_raw("weechat");
|
||||
$d->codeset("UTF-8");
|
||||
$d->dir(weechat::info_get("weechat_localedir", ""));
|
||||
|
||||
@@ -410,21 +437,21 @@ sub docgen
|
||||
}
|
||||
if ($type eq "string")
|
||||
{
|
||||
$values = $d->get("any string") if ($max <= 0);
|
||||
$values = $d->get("any char") if ($max == 1);
|
||||
$values = $d->get("any string")." (".$d->get("max chars").": ".$max.")" if ($max > 1);
|
||||
$values = weechat_gettext("any string") if ($max <= 0);
|
||||
$values = weechat_gettext("any char") if ($max == 1);
|
||||
$values = weechat_gettext("any string")." (".weechat_gettext("max chars").": ".$max.")" if ($max > 1);
|
||||
$default_value = "\"".escape_string($default_value)."\"";
|
||||
}
|
||||
if ($type eq "color")
|
||||
{
|
||||
$values = $d->get("a color name");
|
||||
$values = weechat_gettext("a color name");
|
||||
}
|
||||
|
||||
print FILE "* *".$config.".".$section.".".$option."*\n";
|
||||
print FILE "** ".$d->get("description").": ".$description."\n";
|
||||
print FILE "** ".$d->get("type").": ".$type_nls."\n";
|
||||
print FILE "** ".$d->get("values").": ".$values." "
|
||||
."(".$d->get("default value").": ".$default_value.")\n\n";
|
||||
print FILE "** ".weechat_gettext("description").": ".$description."\n";
|
||||
print FILE "** ".weechat_gettext("type").": ".$type_nls."\n";
|
||||
print FILE "** ".weechat_gettext("values").": ".$values." "
|
||||
."(".weechat_gettext("default value").": ".$default_value.")\n\n";
|
||||
}
|
||||
}
|
||||
#weechat::print("", "docgen: file ok: '$filename'");
|
||||
@@ -453,18 +480,22 @@ sub docgen
|
||||
$filename = $dir."plugin_api/infos.txt";
|
||||
if (open(FILE, ">".$filename.".tmp"))
|
||||
{
|
||||
print FILE "[width=\"65%\",cols=\"^1,^2,8\",options=\"header\"]\n";
|
||||
print FILE "[width=\"100%\",cols=\"^1,^2,6,6\",options=\"header\"]\n";
|
||||
print FILE "|========================================\n";
|
||||
print FILE "| ".$d->get("Plugin")." | ".$d->get("Name")." | ".$d->get("Description")."\n";
|
||||
print FILE "| ".weechat_gettext("Plugin")." | ".weechat_gettext("Name")
|
||||
." | ".weechat_gettext("Description")." | ".weechat_gettext("Arguments")."\n\n";
|
||||
foreach my $plugin (sort keys %plugin_infos)
|
||||
{
|
||||
foreach my $info (sort keys %{$plugin_infos{$plugin}})
|
||||
{
|
||||
my $description = $plugin_infos{$plugin}{$info}{"description"};
|
||||
$description = $d->get($description) if ($description ne "");
|
||||
my $args_description = $plugin_infos{$plugin}{$info}{"args_description"};
|
||||
$args_description = $d->get($args_description) if ($args_description ne "");
|
||||
$args_description = "-" if ($args_description eq "");
|
||||
|
||||
print FILE "| ".escape_table($plugin)." | ".escape_table($info)
|
||||
." | ".escape_table($description)."\n\n";
|
||||
." | ".escape_table($description)." | ".escape_table($args_description)."\n\n";
|
||||
}
|
||||
}
|
||||
print FILE "|========================================\n";
|
||||
@@ -493,18 +524,27 @@ sub docgen
|
||||
$filename = $dir."plugin_api/infolists.txt";
|
||||
if (open(FILE, ">".$filename.".tmp"))
|
||||
{
|
||||
print FILE "[width=\"65%\",cols=\"^1,^2,8\",options=\"header\"]\n";
|
||||
print FILE "[width=\"100%\",cols=\"^1,^2,5,5,5\",options=\"header\"]\n";
|
||||
print FILE "|========================================\n";
|
||||
print FILE "| ".$d->get("Plugin")." | ".$d->get("Name")." | ".$d->get("Description")."\n";
|
||||
print FILE "| ".weechat_gettext("Plugin")." | ".weechat_gettext("Name")
|
||||
." | ".weechat_gettext("Description")." | ".weechat_gettext("Pointer")
|
||||
." | ".weechat_gettext("Arguments")."\n\n";
|
||||
foreach my $plugin (sort keys %plugin_infolists)
|
||||
{
|
||||
foreach my $infolist (sort keys %{$plugin_infolists{$plugin}})
|
||||
{
|
||||
my $description = $plugin_infolists{$plugin}{$infolist}{"description"};
|
||||
$description = $d->get($description) if ($description ne "");
|
||||
my $pointer_description = $plugin_infolists{$plugin}{$infolist}{"pointer_description"};
|
||||
$pointer_description = $d->get($pointer_description) if ($pointer_description ne "");
|
||||
$pointer_description = "-" if ($pointer_description eq "");
|
||||
my $args_description = $plugin_infolists{$plugin}{$infolist}{"args_description"};
|
||||
$args_description = $d->get($args_description) if ($args_description ne "");
|
||||
$args_description = "-" if ($args_description eq "");
|
||||
|
||||
print FILE "| ".escape_table($plugin)." | ".escape_table($infolist)
|
||||
." | ".escape_table($description)."\n\n";
|
||||
." | ".escape_table($description)." | ".escape_table($pointer_description)
|
||||
." | ".escape_table($args_description)."\n\n";
|
||||
}
|
||||
}
|
||||
print FILE "|========================================\n";
|
||||
@@ -535,7 +575,8 @@ sub docgen
|
||||
{
|
||||
print FILE "[width=\"65%\",cols=\"^1,^2,8\",options=\"header\"]\n";
|
||||
print FILE "|========================================\n";
|
||||
print FILE "| ".$d->get("Plugin")." | ".$d->get("Name")." | ".$d->get("Description")."\n";
|
||||
print FILE "| ".weechat_gettext("Plugin")." | ".weechat_gettext("Name")
|
||||
." | ".weechat_gettext("Description")."\n\n";
|
||||
foreach my $plugin (sort keys %plugin_completions)
|
||||
{
|
||||
foreach my $completion_item (sort keys %{$plugin_completions{$plugin}})
|
||||
@@ -597,3 +638,14 @@ sub docgen
|
||||
|
||||
return weechat::WEECHAT_RC_OK;
|
||||
}
|
||||
|
||||
sub docgen_completion
|
||||
{
|
||||
my ($data, $completion_item, $buffer, $completion) = ($_[0], $_[1], $_[2], $_[3]);
|
||||
|
||||
foreach my $locale (@all_locale_list)
|
||||
{
|
||||
weechat::hook_completion_list_add($completion, $locale, 0, weechat::WEECHAT_LIST_POS_SORT);
|
||||
}
|
||||
return weechat::WEECHAT_RC_OK;
|
||||
}
|
||||
|
||||
@@ -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
|
||||
# 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"
|
||||
)
|
||||
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
|
||||
ADD_CUSTOM_COMMAND(
|
||||
@@ -36,7 +36,7 @@ ADD_CUSTOM_COMMAND(
|
||||
COMMENT "Building weechat_plugin_api.en.html"
|
||||
)
|
||||
ADD_CUSTOM_TARGET(doc-plugin-api-en ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_plugin_api.en.html)
|
||||
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_plugin_api.en.html DESTINATION share/doc/${PROJECT_NAME})
|
||||
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_plugin_api.en.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
|
||||
|
||||
# scripting guide
|
||||
ADD_CUSTOM_COMMAND(
|
||||
@@ -47,7 +47,7 @@ ADD_CUSTOM_COMMAND(
|
||||
COMMENT "Building weechat_scripting.en.html"
|
||||
)
|
||||
ADD_CUSTOM_TARGET(doc-scripting-en ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.en.html)
|
||||
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.en.html DESTINATION share/doc/${PROJECT_NAME})
|
||||
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.en.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
|
||||
|
||||
# FAQ
|
||||
ADD_CUSTOM_COMMAND(
|
||||
@@ -58,7 +58,7 @@ ADD_CUSTOM_COMMAND(
|
||||
COMMENT "Building weechat_faq.en.html"
|
||||
)
|
||||
ADD_CUSTOM_TARGET(doc-faq-en ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.en.html)
|
||||
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.en.html DESTINATION share/doc/${PROJECT_NAME})
|
||||
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.en.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
|
||||
|
||||
# quickstart
|
||||
ADD_CUSTOM_COMMAND(
|
||||
@@ -69,7 +69,7 @@ ADD_CUSTOM_COMMAND(
|
||||
COMMENT "Building weechat_quickstart.en.html"
|
||||
)
|
||||
ADD_CUSTOM_TARGET(doc-quickstart-en ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.en.html)
|
||||
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.en.html DESTINATION share/doc/${PROJECT_NAME})
|
||||
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.en.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
|
||||
|
||||
# tester's guide
|
||||
ADD_CUSTOM_COMMAND(
|
||||
@@ -80,4 +80,4 @@ ADD_CUSTOM_COMMAND(
|
||||
COMMENT "Building weechat_tester.en.html"
|
||||
)
|
||||
ADD_CUSTOM_TARGET(doc-tester-en ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.en.html)
|
||||
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.en.html DESTINATION share/doc/${PROJECT_NAME})
|
||||
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.en.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
|
||||
|
||||
+9
-9
@@ -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
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
@@ -17,14 +17,14 @@
|
||||
docdir = $(datadir)/doc/$(PACKAGE)
|
||||
|
||||
EXTRA_DIST = CMakeLists.txt \
|
||||
weechat_user.en.txt \
|
||||
weechat_plugin_api.en.txt \
|
||||
weechat_scripting.en.txt \
|
||||
weechat_faq.en.txt \
|
||||
weechat_quickstart.en.txt \
|
||||
weechat_tester.en.txt \
|
||||
$(wildcard autogen/user/*.txt) \
|
||||
$(wildcard autogen/plugin_api/*.txt)
|
||||
weechat_user.en.txt \
|
||||
weechat_plugin_api.en.txt \
|
||||
weechat_scripting.en.txt \
|
||||
weechat_faq.en.txt \
|
||||
weechat_quickstart.en.txt \
|
||||
weechat_tester.en.txt \
|
||||
$(wildcard autogen/user/*.txt) \
|
||||
$(wildcard autogen/plugin_api/*.txt)
|
||||
|
||||
all-local: weechat_user.en.html \
|
||||
weechat_plugin_api.en.html \
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
[width="65%",cols="^1,^2,8",options="header"]
|
||||
|========================================
|
||||
| Plugin | Name | Description
|
||||
| alias | alias | list of alias
|
||||
|
||||
| alias | alias | list of aliases
|
||||
|
||||
| aspell | aspell_langs | list of supported langs for aspell
|
||||
|
||||
@@ -39,6 +40,12 @@
|
||||
|
||||
| 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
|
||||
|
||||
| tcl | tcl_script | list of scripts
|
||||
@@ -47,6 +54,10 @@
|
||||
|
||||
| weechat | bars_options | options for bars
|
||||
|
||||
| weechat | buffer_properties_get | properties that can be read on a buffer
|
||||
|
||||
| weechat | buffer_properties_set | properties that can be set on a buffer
|
||||
|
||||
| weechat | buffers_names | names of buffers
|
||||
|
||||
| weechat | buffers_numbers | numbers of buffers
|
||||
@@ -71,6 +82,8 @@
|
||||
|
||||
| weechat | keys_codes | key codes
|
||||
|
||||
| weechat | keys_codes_for_reset | key codes that can be reset (keys added, redefined or removed)
|
||||
|
||||
| weechat | nicks | nicks in nicklist of current buffer
|
||||
|
||||
| weechat | plugins_commands | commands defined by plugins
|
||||
|
||||
@@ -1,58 +1,59 @@
|
||||
[width="65%",cols="^1,^2,8",options="header"]
|
||||
[width="100%",cols="^1,^2,5,5,5",options="header"]
|
||||
|========================================
|
||||
| Plugin | Name | Description
|
||||
| alias | alias | list of alias
|
||||
| Plugin | Name | Description | Pointer | Arguments
|
||||
|
||||
| irc | irc_channel | list of channels for an IRC server
|
||||
| alias | alias | list of aliases | alias pointer (optional) | alias name (can start or end with "*" as joker) (optional)
|
||||
|
||||
| irc | irc_ignore | list of IRC ignores
|
||||
| irc | irc_channel | list of channels for an IRC server | channel pointer (optional) | server name
|
||||
|
||||
| irc | irc_nick | list of nicks for an IRC channel
|
||||
| irc | irc_ignore | list of IRC ignores | ignore pointer (optional) | -
|
||||
|
||||
| irc | irc_server | list of IRC servers
|
||||
| irc | irc_nick | list of nicks for an IRC channel | nick pointer (optional) | server,channel,nick (channel and nick are optional)
|
||||
|
||||
| logger | logger_buffer | list of logger buffers
|
||||
| irc | irc_server | list of IRC servers | server pointer (optional) | server name (can start or end with "*" as joker) (optional)
|
||||
|
||||
| lua | lua_script | list of lua scripts
|
||||
| logger | logger_buffer | list of logger buffers | logger pointer (optional) | -
|
||||
|
||||
| perl | perl_script | list of perl scripts
|
||||
| lua | lua_script | list of scripts | script pointer (optional) | script name (can start or end with "*" as joker) (optional)
|
||||
|
||||
| python | python_script | list of python scripts
|
||||
| perl | perl_script | list of scripts | script pointer (optional) | script name (can start or end with "*" as joker) (optional)
|
||||
|
||||
| relay | relay | list of relay clients
|
||||
| python | python_script | list of scripts | script pointer (optional) | script name (can start or end with "*" as joker) (optional)
|
||||
|
||||
| ruby | ruby_script | list of ruby scripts
|
||||
| relay | relay | list of relay clients | relay pointer (optional) | -
|
||||
|
||||
| tcl | tcl_script | list of tcl scripts
|
||||
| ruby | ruby_script | list of scripts | script pointer (optional) | script name (can start or end with "*" as joker) (optional)
|
||||
|
||||
| weechat | bar | list of bars
|
||||
| tcl | tcl_script | list of scripts | script pointer (optional) | script name (can start or end with "*" as joker) (optional)
|
||||
|
||||
| weechat | bar_item | list of bar items
|
||||
| weechat | bar | list of bars | bar pointer (optional) | bar name (can start or end with "*" as joker) (optional)
|
||||
|
||||
| weechat | bar_window | list of bar windows
|
||||
| weechat | bar_item | list of bar items | bar item pointer (optional) | bar item name (can start or end with "*" as joker) (optional)
|
||||
|
||||
| weechat | buffer | list of buffers
|
||||
| weechat | bar_window | list of bar windows | bar window pointer (optional) | -
|
||||
|
||||
| weechat | buffer_lines | lines of a buffer
|
||||
| weechat | buffer | list of buffers | buffer pointer (optional) | buffer name (can start or end with "*" as joker) (optional)
|
||||
|
||||
| weechat | filter | list of filters
|
||||
| weechat | buffer_lines | lines of a buffer | buffer pointer | -
|
||||
|
||||
| weechat | history | history of commands
|
||||
| weechat | filter | list of filters | - | filter name (can start or end with "*" as joker) (optional)
|
||||
|
||||
| weechat | hook | list of hooks
|
||||
| weechat | history | history of commands | buffer pointer (if not set, return global history) (optional) | -
|
||||
|
||||
| weechat | hotlist | list of buffers in hotlist
|
||||
| weechat | hook | list of hooks | - | hook type: command, timer, .. (optional)
|
||||
|
||||
| weechat | key | list of key bindings
|
||||
| weechat | hotlist | list of buffers in hotlist | - | -
|
||||
|
||||
| weechat | nicklist | nicks in nicklist for a buffer
|
||||
| weechat | key | list of key bindings | - | -
|
||||
|
||||
| weechat | option | list of options
|
||||
| weechat | nicklist | nicks in nicklist for a buffer | buffer pointer | nick_xxx or group_xxx to get only nick/group xxx (optional)
|
||||
|
||||
| weechat | plugin | list of plugins
|
||||
| weechat | option | list of options | - | option name (can start or end with "*" as joker) (optional)
|
||||
|
||||
| weechat | window | list of windows
|
||||
| weechat | plugin | list of plugins | plugin pointer (optional) | plugin name (can start or end with "*" as joker) (optional)
|
||||
|
||||
| xfer | xfer | list of xfer
|
||||
| weechat | window | list of windows | window pointer (optional) | window name (can start or end with "*" as joker) (optional)
|
||||
|
||||
| xfer | xfer | list of xfer | xfer pointer (optional) | -
|
||||
|
||||
|========================================
|
||||
|
||||
@@ -1,36 +1,47 @@
|
||||
[width="65%",cols="^1,^2,8",options="header"]
|
||||
[width="100%",cols="^1,^2,6,6",options="header"]
|
||||
|========================================
|
||||
| Plugin | Name | Description
|
||||
| fifo | fifo_filename | name of FIFO pipe
|
||||
| Plugin | Name | Description | Arguments
|
||||
|
||||
| irc | irc_buffer | get buffer pointer for an IRC server/channel
|
||||
| fifo | fifo_filename | name of FIFO pipe | -
|
||||
|
||||
| irc | irc_is_channel | 1 if string is an IRC channel
|
||||
| irc | irc_buffer | get buffer pointer for an IRC server/channel/nick | server,channel,nick (channel and nicks are optional)
|
||||
|
||||
| irc | irc_nick | get current nick on a server
|
||||
| irc | irc_is_channel | 1 if string is a valid IRC channel name | channel name
|
||||
|
||||
| irc | irc_nick_from_host | get nick from IRC host
|
||||
| irc | irc_is_nick | 1 if string is a valid IRC nick name | nickname
|
||||
|
||||
| weechat | charset_internal | WeeChat internal charset
|
||||
| irc | irc_nick | get current nick on a server | server name
|
||||
|
||||
| weechat | charset_terminal | terminal charset
|
||||
| irc | irc_nick_color | get nick color | nickname
|
||||
|
||||
| weechat | date | WeeChat compilation date
|
||||
| irc | irc_nick_from_host | get nick from IRC host | IRC host (like `:nick!name@server.com`)
|
||||
|
||||
| weechat | dir_separator | directory separator
|
||||
| weechat | charset_internal | WeeChat internal charset | -
|
||||
|
||||
| weechat | filters_enabled | 1 if filters are enabled
|
||||
| weechat | charset_terminal | terminal charset | -
|
||||
|
||||
| weechat | inactivity | keyboard inactivity (seconds)
|
||||
| weechat | date | WeeChat compilation date | -
|
||||
|
||||
| weechat | version | WeeChat version
|
||||
| weechat | dir_separator | directory separator | -
|
||||
|
||||
| weechat | weechat_dir | WeeChat directory
|
||||
| weechat | filters_enabled | 1 if filters are enabled | -
|
||||
|
||||
| weechat | weechat_libdir | WeeChat "lib" directory
|
||||
| weechat | inactivity | keyboard inactivity (seconds) | -
|
||||
|
||||
| weechat | weechat_localedir | WeeChat "locale" directory
|
||||
| weechat | version | WeeChat version | -
|
||||
|
||||
| weechat | weechat_sharedir | WeeChat "share" directory
|
||||
| weechat | version_number | WeeChat version (as number) | -
|
||||
|
||||
| weechat | weechat_dir | WeeChat directory | -
|
||||
|
||||
| weechat | weechat_libdir | WeeChat "lib" directory | -
|
||||
|
||||
| weechat | weechat_localedir | WeeChat "locale" directory | -
|
||||
|
||||
| weechat | weechat_sharedir | WeeChat "share" directory | -
|
||||
|
||||
| weechat | weechat_site | WeeChat site | -
|
||||
|
||||
| weechat | weechat_site_download | WeeChat site, download page | -
|
||||
|
||||
|========================================
|
||||
|
||||
@@ -1,15 +1,34 @@
|
||||
• *`/alias`* `[alias_name [command [arguments]]]`::
|
||||
• *`/alias`* `[[-completion completion] alias_name [command [arguments]]]`::
|
||||
|
||||
........................................
|
||||
create an alias for a command
|
||||
|
||||
alias_name: name of alias
|
||||
completion: completion for alias (optional, by default completion is done with target command)
|
||||
alias_name: name of alias (can start or end with "*" for alias listing)
|
||||
command: command name (many commands can be separated by semicolons)
|
||||
arguments: arguments for command
|
||||
|
||||
Without argument, this command lists all defined alias.
|
||||
|
||||
Note: in command, special variables $1, $2,..,$9 are replaced by arguments given by user, and $* is replaced by all arguments.
|
||||
Variables $nick, $channel and $server are replaced by current nick/channel/server.
|
||||
Note: in command, special variables are replaced:
|
||||
$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
|
||||
|
||||
To remove an alias, use command /unalias.
|
||||
|
||||
Examples:
|
||||
alias /split to split window horizontally:
|
||||
/alias split /window splith
|
||||
alias /hello to say "hello" on all channels but not on #weechat:
|
||||
/alias hello /allchan -exclude=#weechat msg * hello
|
||||
alias /forcejoin to send IRC command "forcejoin" with completion of /sajoin:
|
||||
/alias -completion %%sajoin forcejoin /quote forcejoin
|
||||
........................................
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
• *`/demo_printf`* `[text]`::
|
||||
|
||||
........................................
|
||||
print some messages on current ubffer
|
||||
print some messages on current buffer
|
||||
|
||||
text: write this text
|
||||
........................................
|
||||
|
||||
@@ -6,29 +6,39 @@
|
||||
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
|
||||
........................................
|
||||
|
||||
• *`/away`* `[-all] [message]`::
|
||||
|
||||
........................................
|
||||
toggle away status
|
||||
|
||||
-all: toggle away status on all connected servers
|
||||
message: message for away (if no message is given, away status is removed)
|
||||
-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
|
||||
........................................
|
||||
|
||||
• *`/ban`* `[channel] [nickname [nickname ...]]`::
|
||||
@@ -40,18 +50,26 @@
|
||||
nickname: user or host to ban
|
||||
........................................
|
||||
|
||||
• *`/connect`* `[-all [-nojoin] | servername [servername ...] [-nojoin] | hostname [-port port] [-ipv6] [-ssl]]`::
|
||||
• *`/connect`* `[-all [-nojoin] | -open [-nojoin] | servername [servername ...] [-nojoin] | hostname[/port] [-option[=value]] [-nooption]]`::
|
||||
|
||||
........................................
|
||||
connect to IRC server(s)
|
||||
|
||||
-all: connect to all servers
|
||||
servername: internal server name to connect
|
||||
-all: connect to all servers defined in configuration
|
||||
-open: connect to all opened servers that are not currently connected
|
||||
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)
|
||||
hostname: hostname to connect
|
||||
port: port for server (integer, default is 6667)
|
||||
ipv6: use IPv6 protocol
|
||||
ssl: use SSL protocol
|
||||
hostname: hostname (or IP) of a server
|
||||
port: port for server (6667 by default)
|
||||
option: set option for server (for boolean option, value can be omitted)
|
||||
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]`::
|
||||
@@ -81,6 +99,12 @@
|
||||
action: 'send' (file) or 'chat'
|
||||
nickname: nickname to send file or chat
|
||||
file: filename (on local host)
|
||||
|
||||
Examples:
|
||||
chat with nick "toto":
|
||||
/dcc chat toto
|
||||
send file "/home/foo/bar.txt" to nick "toto":
|
||||
/dcc send toto /home/foo/bar.txt
|
||||
........................................
|
||||
|
||||
• *`/dehalfop`* `[nickname [nickname]]`::
|
||||
@@ -197,6 +221,12 @@
|
||||
channel: channel where user is
|
||||
nickname: nickname to kick and ban
|
||||
comment: comment for kick
|
||||
|
||||
It is possible to kick/ban with a mask, nick will be extracted from mask and replaced by "*".
|
||||
|
||||
Example:
|
||||
ban "*!*@host.com" and then kick "toto":
|
||||
/kickban toto!*@host.com
|
||||
........................................
|
||||
|
||||
• *`/kill`* `nickname comment`::
|
||||
@@ -217,13 +247,22 @@
|
||||
server_mask: list of servers must match this mask
|
||||
........................................
|
||||
|
||||
• *`/list`* `[channel[,channel] [server]]`::
|
||||
• *`/list`* `[channel[,channel] [server] [-re regexp]]`::
|
||||
|
||||
........................................
|
||||
list channels and their topic
|
||||
|
||||
channel: channel to list (a regexp is allowed)
|
||||
server: server name
|
||||
channel: channel to list
|
||||
server: server name
|
||||
regexp: regular expression used to filter results
|
||||
|
||||
Examples:
|
||||
list all channels on server (can be very slow on large networks):
|
||||
/list
|
||||
list channel #weechat:
|
||||
/list #weechat
|
||||
list all channels beginning with "#weechat" (can be very slow on large networks):
|
||||
/list -re #weechat.*
|
||||
........................................
|
||||
|
||||
• *`/lusers`* `[mask [target]]`::
|
||||
@@ -235,6 +274,12 @@
|
||||
target: server for forwarding request
|
||||
........................................
|
||||
|
||||
• *`/map`*::
|
||||
|
||||
........................................
|
||||
show a graphical map of the IRC network
|
||||
........................................
|
||||
|
||||
• *`/me`* `message`::
|
||||
|
||||
........................................
|
||||
@@ -385,10 +430,12 @@
|
||||
-nojoin: do not join any channel (even if autojoin is enabled on server)
|
||||
........................................
|
||||
|
||||
• *`/rehash`*::
|
||||
• *`/rehash`* `[option]`::
|
||||
|
||||
........................................
|
||||
tell the server to reload its config file
|
||||
|
||||
option: extra option, for some servers
|
||||
........................................
|
||||
|
||||
• *`/restart`*::
|
||||
@@ -397,20 +444,64 @@
|
||||
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: list servers (no parameter implies this list)
|
||||
list: list servers (without argument, this list is displayed)
|
||||
listfull: list servers with detailed info for each server
|
||||
add: create a new server
|
||||
servername: server name, for internal and display use
|
||||
hostname: name or IP address of server, with optional port (default: 6667)
|
||||
auto: automatically connect to server when WeeChat starts
|
||||
noauto: do not connect to server when WeeChat starts (default)
|
||||
ipv6: use IPv6 protocol
|
||||
ssl: use SSL protocol
|
||||
hostname: name or IP address of server, with optional port (default: 6667), many addresses can be separated by a comma
|
||||
temp: create temporary server (not saved)
|
||||
option: set option for server (for boolean option, value can be omitted)
|
||||
nooption: set boolean option to 'off' (for example: -nossl)
|
||||
copy: duplicate a server
|
||||
rename: rename a server
|
||||
keep: keep server in config file (for temporary servers only)
|
||||
@@ -421,9 +512,10 @@
|
||||
|
||||
Examples:
|
||||
/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 freenode2 chat.eu.freenode.net/6667,chat.us.freenode.net/6667
|
||||
/server add freenode3 irc.freenode.net -password=mypass
|
||||
/server copy oftc oftcbis
|
||||
/server rename oftc newoftc
|
||||
/server del freenode
|
||||
|
||||
@@ -33,18 +33,28 @@
|
||||
** type: boolean
|
||||
** 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*
|
||||
** description: display message when (un)marking as away
|
||||
** type: integer
|
||||
** values: off, local, channel (default value: local)
|
||||
|
||||
* *irc.look.display_channel_modes*
|
||||
** description: display channel modes in "buffer_name" bar item
|
||||
* *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_nick_modes*
|
||||
** description: display nick modes in "input_prompt" bar item
|
||||
* *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)
|
||||
|
||||
@@ -63,11 +73,36 @@
|
||||
** type: string
|
||||
** values: any string (default value: "irc_privmsg,irc_notice")
|
||||
|
||||
* *irc.look.item_channel_modes*
|
||||
** description: display channel modes in "buffer_name" bar item
|
||||
** type: boolean
|
||||
** values: on, off (default value: on)
|
||||
|
||||
* *irc.look.item_channel_modes_hide_key*
|
||||
** description: hide channel key if modes are displayed in "buffer_name" bar item (this will hide all channel modes arguments if mode +k is set on channel)
|
||||
** type: boolean
|
||||
** values: on, off (default value: off)
|
||||
|
||||
* *irc.look.item_display_server*
|
||||
** description: name of bar item where IRC server is displayed (for status bar)
|
||||
** type: integer
|
||||
** values: buffer_plugin, buffer_name (default value: buffer_plugin)
|
||||
|
||||
* *irc.look.item_nick_modes*
|
||||
** description: display nick modes in "input_prompt" bar item
|
||||
** type: boolean
|
||||
** values: on, off (default value: on)
|
||||
|
||||
* *irc.look.item_nick_prefix*
|
||||
** description: display nick prefix in "input_prompt" bar item
|
||||
** type: boolean
|
||||
** values: on, off (default value: on)
|
||||
|
||||
* *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*
|
||||
** description: smart completion for nicks (completes first with last speakers)
|
||||
** type: integer
|
||||
@@ -98,6 +133,11 @@
|
||||
** type: boolean
|
||||
** values: on, off (default value: off)
|
||||
|
||||
* *irc.look.part_closes_buffer*
|
||||
** description: close buffer when /part is issued on a channel
|
||||
** type: boolean
|
||||
** values: on, off (default value: off)
|
||||
|
||||
* *irc.look.raw_messages*
|
||||
** description: number of IRC raw messages to save in memory when raw data buffer is closed (messages will be displayed when opening raw data buffer)
|
||||
** type: integer
|
||||
@@ -116,22 +156,37 @@
|
||||
* *irc.look.smart_filter*
|
||||
** description: filter join/part/quit messages for a nick if not speaking for some minutes on channel (you must create a filter on tag "irc_smart_filter")
|
||||
** type: boolean
|
||||
** values: on, off (default value: off)
|
||||
** values: on, off (default value: on)
|
||||
|
||||
* *irc.look.smart_filter_delay*
|
||||
** description: delay for filtering join/part/quit messages (in minutes)
|
||||
** type: integer
|
||||
** values: 1 .. 10080 (default value: 5)
|
||||
|
||||
* *irc.look.smart_filter_join*
|
||||
** description: enable smart filter for "join" messages
|
||||
** type: boolean
|
||||
** values: on, off (default value: on)
|
||||
|
||||
* *irc.look.smart_filter_quit*
|
||||
** description: enable smart filter for "part" and "quit" messages
|
||||
** type: boolean
|
||||
** values: on, off (default value: on)
|
||||
|
||||
* *irc.look.topic_strip_colors*
|
||||
** description: strip colors in topic (used only when displaying buffer title)
|
||||
** type: boolean
|
||||
** values: on, off (default value: off)
|
||||
|
||||
* *irc.network.anti_flood*
|
||||
** description: anti-flood: # seconds between two user messages (0 = no anti-flood)
|
||||
* *irc.network.anti_flood_prio_high*
|
||||
** 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
|
||||
** 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*
|
||||
** description: interval between two checks for away (in minutes, 0 = never check)
|
||||
@@ -141,7 +196,7 @@
|
||||
* *irc.network.away_check_max_nicks*
|
||||
** description: do not check away nicks on channels with high number of nicks (0 = unlimited)
|
||||
** type: integer
|
||||
** values: 0 .. 2147483647 (default value: 0)
|
||||
** values: 0 .. 2147483647 (default value: 25)
|
||||
|
||||
* *irc.network.colors_receive*
|
||||
** description: when off, colors codes are ignored in incoming messages
|
||||
@@ -153,6 +208,11 @@
|
||||
** type: boolean
|
||||
** values: on, off (default value: on)
|
||||
|
||||
* *irc.network.connection_timeout*
|
||||
** description: timeout (in seconds) between TCP connection to server and message 001 received, if this timeout is reached before 001 message is received, WeeChat will disconnect from server
|
||||
** type: integer
|
||||
** values: 1 .. 3600 (default value: 60)
|
||||
|
||||
* *irc.network.default_msg_part*
|
||||
** description: default part message (leaving channel) ("%v" will be replaced by WeeChat version in string)
|
||||
** type: string
|
||||
@@ -209,10 +269,15 @@
|
||||
** values: 0 .. 65535 (default value: 30)
|
||||
|
||||
* *irc.server_default.autorejoin*
|
||||
** description: automatically rejoin channels when kicked
|
||||
** description: automatically rejoin channels after kick
|
||||
** type: boolean
|
||||
** 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*
|
||||
** 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
|
||||
@@ -253,11 +318,46 @@
|
||||
** type: string
|
||||
** values: any string (default value: "")
|
||||
|
||||
* *irc.server_default.sasl_mechanism*
|
||||
** description: mechanism for SASL authentication
|
||||
** type: integer
|
||||
** values: plain, dh-blowfish (default value: plain)
|
||||
|
||||
* *irc.server_default.sasl_password*
|
||||
** description: password for SASL authentication
|
||||
** type: string
|
||||
** values: any string (default value: "")
|
||||
|
||||
* *irc.server_default.sasl_timeout*
|
||||
** description: timeout (in seconds) before giving up SASL authentication
|
||||
** type: integer
|
||||
** values: 1 .. 3600 (default value: 15)
|
||||
|
||||
* *irc.server_default.sasl_username*
|
||||
** description: username for SASL authentication
|
||||
** type: string
|
||||
** values: any string (default value: "")
|
||||
|
||||
* *irc.server_default.ssl*
|
||||
** description: use SSL for server communication
|
||||
** type: boolean
|
||||
** values: on, off (default value: off)
|
||||
|
||||
* *irc.server_default.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*
|
||||
** description: user name to use on server
|
||||
** type: string
|
||||
|
||||
@@ -15,7 +15,6 @@
|
||||
/logger set 5
|
||||
disable logging for current buffer:
|
||||
/logger disable
|
||||
|
||||
set level to 3 for all IRC buffers:
|
||||
/set logger.level.irc 3
|
||||
disable logging for main WeeChat buffer:
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
** values: on, off (default value: off)
|
||||
|
||||
* *logger.file.mask*
|
||||
** description: default file name mask for log files (format is "directory/to/file" or "file", without first "/" because "path" option is used to build complete path to file); local buffer variables are permitted
|
||||
** description: default file name mask for log files (format is "directory/to/file" or "file", without first "/" because "path" option is used to build complete path to file); local buffer variables are permitted; date specifiers are permitted (see man strftime)
|
||||
** type: string
|
||||
** values: any string (default value: "$plugin.$name.weechatlog")
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
** values: on, off (default value: on)
|
||||
|
||||
* *logger.file.path*
|
||||
** description: path for WeeChat log files ("%h" will be replaced by WeeChat home, "~/.weechat" by default)
|
||||
** description: path for WeeChat log files; "%h" at beginning of string is replaced by WeeChat home ("~/.weechat" by default); date specifiers are permitted (see man strftime)
|
||||
** type: string
|
||||
** values: any string (default value: "%h/logs/")
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
• *`/lua`* `[list [name]] | [listfull [name]] | [load filename] | [autoload] | [reload] | [unload [name]]`::
|
||||
• *`/lua`* `[list [name]] | [listfull [name]] | [load filename] | [autoload] | [reload [name]] | [unload [name]]`::
|
||||
|
||||
........................................
|
||||
list/load/unload scripts
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
• *`/perl`* `[list [name]] | [listfull [name]] | [load filename] | [autoload] | [reload] | [unload [name]]`::
|
||||
• *`/perl`* `[list [name]] | [listfull [name]] | [load filename] | [autoload] | [reload [name]] | [unload [name]]`::
|
||||
|
||||
........................................
|
||||
list/load/unload scripts
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
• *`/python`* `[list [name]] | [listfull [name]] | [load filename] | [autoload] | [reload] | [unload [name]]`::
|
||||
• *`/python`* `[list [name]] | [listfull [name]] | [load filename] | [autoload] | [reload [name]] | [unload [name]]`::
|
||||
|
||||
........................................
|
||||
list/load/unload scripts
|
||||
|
||||
@@ -1,10 +1,16 @@
|
||||
• *`/relay`* `[list | listfull]`::
|
||||
• *`/relay`* `[list | listfull | add protocol.name port | del protocol.name]`::
|
||||
|
||||
........................................
|
||||
relay control
|
||||
|
||||
list: list relay clients
|
||||
listfull: list relay clients (verbose)
|
||||
list: list relay clients (only active relays)
|
||||
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.
|
||||
........................................
|
||||
|
||||
@@ -43,13 +43,8 @@
|
||||
** type: boolean
|
||||
** values: on, off (default value: on)
|
||||
|
||||
* *relay.network.enabled*
|
||||
** description: enable relay
|
||||
** type: boolean
|
||||
** values: on, off (default value: off)
|
||||
|
||||
* *relay.network.listen_port_range*
|
||||
** description: port number (or range of ports) that relay plugin listens on (syntax: a single port, ie. 5000 or a port range, ie. 5000-5015, it's recommended to use ports greater than 1024, because only root can use ports below 1024)
|
||||
** type: string
|
||||
** values: any string (default value: "22373-22400")
|
||||
* *relay.network.max_clients*
|
||||
** description: maximum number of clients connecting to a port
|
||||
** type: integer
|
||||
** values: 1 .. 1024 (default value: 5)
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
• *`/ruby`* `[list [name]] | [listfull [name]] | [load filename] | [autoload] | [reload] | [unload [name]]`::
|
||||
• *`/ruby`* `[list [name]] | [listfull [name]] | [load filename] | [autoload] | [reload [name]] | [unload [name]]`::
|
||||
|
||||
........................................
|
||||
list/load/unload scripts
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
• *`/tcl`* `[list [name]] | [listfull [name]] | [load filename] | [autoload] | [reload] | [unload [name]]`::
|
||||
• *`/tcl`* `[list [name]] | [listfull [name]] | [load filename] | [autoload] | [reload [name]] | [unload [name]]`::
|
||||
|
||||
........................................
|
||||
list/load/unload scripts
|
||||
|
||||
@@ -1,3 +1,12 @@
|
||||
• *`/away`* `[-all] [message]`::
|
||||
|
||||
........................................
|
||||
toggle away status
|
||||
|
||||
-all: toggle away status on all connected servers
|
||||
message: message for away (if no message is given, away status is removed)
|
||||
........................................
|
||||
|
||||
• *`/bar`* `[add barname type[,cond1,cond2,...] position size separator item1,item2,...] | [default] | [del barname|-all] | [set barname option value] | [hide|show|toggle barname] | [scroll barname buffer scroll_value] | [list] | [listfull] | [listitems]`::
|
||||
|
||||
........................................
|
||||
@@ -44,7 +53,7 @@
|
||||
/bar scroll nicklist * ye
|
||||
........................................
|
||||
|
||||
• *`/buffer`* `[clear [number | -merged | -all] | move number | merge number | unmerge [number] | close [n1[-n2]] | list | notify level | localvar | set property value | number | name]`::
|
||||
• *`/buffer`* `[clear [number | -merged | -all] | move number | merge number | unmerge [number] | close [n1[-n2]] | list | notify level | localvar | set property value | get property | number | name]`::
|
||||
|
||||
........................................
|
||||
manage buffers
|
||||
@@ -55,7 +64,7 @@
|
||||
(by default ctrl-x switches between merged buffers)
|
||||
unmerge: unmerge buffer from other buffers which have same number
|
||||
close: close buffer (number/range is optional)
|
||||
list: list buffers (no parameter implies this list)
|
||||
list: list buffers (without argument, this list is displayed)
|
||||
notify: set notify level for current buffer: this level determines whether buffer will be added to hotlist or not:
|
||||
none: never
|
||||
highlight: for highlights only
|
||||
@@ -64,6 +73,7 @@
|
||||
reset: reset to default value (all)
|
||||
localvar: display local variables for current buffer
|
||||
set: set a property for current buffer
|
||||
get: display a property of current buffer
|
||||
number: jump to buffer by number, possible prefix:
|
||||
'+': relative jump, add number to current
|
||||
'-': relative jump, sub number to current
|
||||
@@ -71,15 +81,22 @@
|
||||
name: jump to buffer by (partial) name
|
||||
|
||||
Examples:
|
||||
clear current buffer: /buffer clear
|
||||
clear all buffers: /buffer clear -all
|
||||
move buffer: /buffer move 5
|
||||
merge with core buffer: /buffer merge 1
|
||||
unmerge buffer: /buffer unmerge
|
||||
close current buffer: /buffer close
|
||||
close buffers 5 to 7: /buffer close 5-7
|
||||
jump to #weechat: /buffer #weechat
|
||||
jump to next buffer: /buffer +1
|
||||
clear current buffer:
|
||||
/buffer clear
|
||||
move buffer to number 5:
|
||||
/buffer move 5
|
||||
merge with core buffer:
|
||||
/buffer merge 1
|
||||
unmerge buffer:
|
||||
/buffer unmerge
|
||||
close current buffer:
|
||||
/buffer close
|
||||
close buffers 5 to 7:
|
||||
/buffer close 5-7
|
||||
jump to #weechat:
|
||||
/buffer #weechat
|
||||
jump to next buffer:
|
||||
/buffer +1
|
||||
........................................
|
||||
|
||||
• *`/command`* `plugin command`::
|
||||
@@ -91,17 +108,18 @@
|
||||
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
|
||||
|
||||
set: set log level for plugin
|
||||
plugin: name of plugin ("core" for WeeChat core)
|
||||
level: debug level for plugin (0 = disable debug)
|
||||
dump: save memory dump in WeeChat log file (same dump is written when WeeChat crashes)
|
||||
buffer: dump buffer content with hexadecimal values in log file
|
||||
windows: display windows tree
|
||||
text: send "debug" signal with "text" as argument
|
||||
term: display infos about terminal and available colors
|
||||
........................................
|
||||
|
||||
• *`/filter`* `[list] | [enable|disable|toggle [name]] | [add name plugin.buffer tags regex] | [del name|-all]`::
|
||||
@@ -123,11 +141,18 @@
|
||||
|
||||
The default key alt+'=' toggles filtering on/off.
|
||||
|
||||
Tags most commonly used:
|
||||
no_filter, no_highlight, log0..log9 (log level),
|
||||
notify_message, notify_private, notify_highlight,
|
||||
irc_xxx (xxx is command name or number, see /server raw), irc_numeric, irc_error, irc_action, irc_ctcp, irc_ctcp_reply, irc_smart_filter, away_info.
|
||||
|
||||
Examples:
|
||||
use IRC smart filter for join/part/quit messages:
|
||||
/filter add irc_smart * irc_smart_filter *
|
||||
filter all IRC join/part/quit messages:
|
||||
/filter add joinquit * irc_join,irc_part,irc_quit *
|
||||
filter nicks displayed when joining channels or with /names:
|
||||
/filter add nicks * irc_366 *
|
||||
filter nick "toto" on IRC channel #weechat:
|
||||
/filter add toto irc.freenode.#weechat * toto\t
|
||||
filter lines containing word "spam":
|
||||
@@ -154,7 +179,7 @@
|
||||
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 | switch_active_buffer | switch_active_buffer_previous | insert [args]`::
|
||||
|
||||
........................................
|
||||
functions for command line
|
||||
@@ -162,17 +187,29 @@
|
||||
This command is used by key bindings or plugins.
|
||||
........................................
|
||||
|
||||
• *`/key`* `[bind key [command [args]]] | [unbind key] | [reset -yes] | [missing]`::
|
||||
• *`/key`* `[list | listdefault | listdiff] | [bind key [command [args]]] | [unbind key] | [reset key] | [resetall -yes] | [missing]`::
|
||||
|
||||
........................................
|
||||
bind/unbind keys
|
||||
|
||||
bind: bind a command to a key or display command bound to key
|
||||
unbind: remove a key binding
|
||||
reset: restore bindings to the default values and delete ALL personal bindings (use carefully!)
|
||||
missing: add missing keys (using default bindings)
|
||||
list: list all current keys (without argument, this list is displayed)
|
||||
listdefault: list default keys
|
||||
listdiff: list differences between current and default keys (keys added, redefined or deleted)
|
||||
bind: bind a command to a key or display command bound to key
|
||||
unbind: remove a key binding
|
||||
reset: reset a key to default binding
|
||||
resetall: restore bindings to the default values and delete ALL personal bindings (use carefully!)
|
||||
missing: add missing keys (using default bindings), useful after installing new WeeChat version
|
||||
|
||||
When binding a command to a key, it is recommended to use key alt+k (or Esc then k), and then press the key to bind: this will insert key code in command line.
|
||||
|
||||
Examples:
|
||||
key alt-x to toggle nicklist bar:
|
||||
/key bind meta-x /bar toggle nicklist
|
||||
key alt-r to jump to #weechat IRC channel:
|
||||
/key bind meta-r /buffer #weechat
|
||||
restore default binding for key alt-r:
|
||||
/key reset meta-r
|
||||
........................................
|
||||
|
||||
• *`/layout`* `[[save | apply | reset] [buffers | windows]]`::
|
||||
@@ -189,6 +226,28 @@
|
||||
Without argument, this command displays saved layout.
|
||||
........................................
|
||||
|
||||
• *`/mute`* `[-current | -buffer name | -all] command`::
|
||||
|
||||
........................................
|
||||
execute a command silently
|
||||
|
||||
-current: no output on curent buffer
|
||||
-buffer: no output on specified buffer
|
||||
name: full buffer name (examples: "irc.server.freenode", "irc.freenode.#weechat")
|
||||
-all: no output on ALL buffers
|
||||
command: command to execute silently (a '/' is automatically added if not found at beginning of command)
|
||||
|
||||
If no target is specified (-current, -buffer or -all), then default is to mute WeeChat core buffer only.
|
||||
|
||||
Examples:
|
||||
config save:
|
||||
/mute save
|
||||
message to current IRC channel:
|
||||
/mute -current msg * hi!
|
||||
message to #weechat channel:
|
||||
/mute -buffer irc.freenode.#weechat msg #weechat hi!
|
||||
........................................
|
||||
|
||||
• *`/plugin`* `[list [name]] | [listfull [name]] | [load filename] | [autoload] | [reload [name]] | [unload [name]]`::
|
||||
|
||||
........................................
|
||||
@@ -234,10 +293,13 @@
|
||||
/proxy del myproxy
|
||||
........................................
|
||||
|
||||
• *`/quit`*::
|
||||
• *`/quit`* `[arguments]`::
|
||||
|
||||
........................................
|
||||
quit WeeChat
|
||||
|
||||
arguments: text sent with signal "quit"
|
||||
(for example irc plugin uses this text to send quit message to server)
|
||||
........................................
|
||||
|
||||
• *`/reload`* `[file [file...]]`::
|
||||
@@ -297,20 +359,22 @@
|
||||
This command run again a WeeChat binary, so it should have been compiled or installed with a package manager before running this command.
|
||||
........................................
|
||||
|
||||
• *`/uptime`* `[-o]`::
|
||||
• *`/uptime`* `[-o | -ol]`::
|
||||
|
||||
........................................
|
||||
show WeeChat uptime
|
||||
|
||||
-o: send uptime to current buffer as input
|
||||
-o: send uptime to current buffer as input (english string)
|
||||
-ol: send uptime to current buffer as input (translated string)
|
||||
........................................
|
||||
|
||||
• *`/version`* `[-o]`::
|
||||
• *`/version`* `[-o | -ol]`::
|
||||
|
||||
........................................
|
||||
show WeeChat version and compilation date
|
||||
|
||||
-o: send version to current buffer as input
|
||||
-o: send version to current buffer as input (english string)
|
||||
-ol: send version to current buffer as input (translated string)
|
||||
........................................
|
||||
|
||||
• *`/wait`* `number[unit] command`::
|
||||
@@ -329,9 +393,12 @@
|
||||
Note: command is executed on buffer where /wait was executed (if buffer is not found (for example if it has been closed before execution of command), then command is executed on WeeChat core buffer).
|
||||
|
||||
Examples:
|
||||
join channel in 10 sec: /wait 10 /join #test
|
||||
set away in 15 min: /wait 15m /away -all I'm away
|
||||
say 'hello' in 2 min: /wait 2m hello
|
||||
join channel in 10 sec:
|
||||
/wait 10 /join #test
|
||||
set away in 15 min:
|
||||
/wait 15m /away -all I'm away
|
||||
say 'hello' in 2 min:
|
||||
/wait 2m hello
|
||||
........................................
|
||||
|
||||
• *`/window`* `[list | -1 | +1 | b# | up | down | left | right | splith [pct] | splitv [pct] | resize pct | merge [all] | page_up | page_down | refresh | scroll | scroll_up | scroll_down | scroll_top | scroll_bottom | scroll_previous_highlight | scroll_next_highlight | zoom]`::
|
||||
@@ -339,7 +406,7 @@
|
||||
........................................
|
||||
manage windows
|
||||
|
||||
list: list opened windows (no parameter implies this list)
|
||||
list: list opened windows (without argument, this list is displayed)
|
||||
-1: jump to previous window
|
||||
+1: jump to next window
|
||||
b#: jump to next window displaying buffer number #
|
||||
@@ -351,7 +418,6 @@
|
||||
splitv: split current window vertically
|
||||
resize: resize window size, new size is <pct> percentage of parent window
|
||||
merge: merge window with another (all = keep only one window)
|
||||
|
||||
page_up: scroll one page up
|
||||
page_down: scroll one page down
|
||||
refresh: refresh screen
|
||||
@@ -367,8 +433,13 @@
|
||||
For splith and splitv, pct is a percentage which represents size of new window, computed with current window as size reference. For example 25 means create a new window with size = current_size / 4
|
||||
|
||||
Examples:
|
||||
jump to window displaying buffer #1: /window b1 scroll 2 lines up: /window scroll -2
|
||||
scroll 2 days up: /window scroll -2d
|
||||
scroll to beginning of current day: /window scroll -d
|
||||
jump to window displaying buffer #1:
|
||||
/window b1
|
||||
scroll 2 lines up:
|
||||
/window scroll -2
|
||||
scroll 2 days up:
|
||||
/window scroll -2d
|
||||
scroll to beginning of current day:
|
||||
/window scroll -d
|
||||
........................................
|
||||
|
||||
|
||||
@@ -208,10 +208,10 @@
|
||||
** type: color
|
||||
** values: a color name (default value: green)
|
||||
|
||||
* *weechat.color.nicklist_more*
|
||||
** description: text color for '+' when scrolling nicks in nicklist
|
||||
* *weechat.color.nicklist_offline*
|
||||
** description: text color for offline nicknames
|
||||
** type: color
|
||||
** values: a color name (default value: lightmagenta)
|
||||
** values: a color name (default value: blue)
|
||||
|
||||
* *weechat.color.nicklist_prefix1*
|
||||
** description: text color for prefix #1 in nicklist
|
||||
@@ -283,6 +283,11 @@
|
||||
** type: color
|
||||
** 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*
|
||||
** description: default completion template (please see documentation for template codes and values)
|
||||
** type: string
|
||||
@@ -359,7 +364,7 @@
|
||||
** values: none, highlight, message, all (default value: all)
|
||||
|
||||
* *weechat.look.buffer_time_format*
|
||||
** description: time format for buffers
|
||||
** description: time format for each line displayed in buffers
|
||||
** type: string
|
||||
** values: any string (default value: "%H:%M:%S")
|
||||
|
||||
@@ -373,6 +378,11 @@
|
||||
** type: boolean
|
||||
** values: on, off (default value: off)
|
||||
|
||||
* *weechat.look.command_chars*
|
||||
** description: chars used to determine if input string is a command or not: input must start with one of these chars; the slash ("/") is always considered as command prefix (example: ".$")
|
||||
** type: string
|
||||
** values: any string (default value: "")
|
||||
|
||||
* *weechat.look.day_change*
|
||||
** description: display special message when day changes
|
||||
** type: boolean
|
||||
@@ -388,6 +398,11 @@
|
||||
** type: string
|
||||
** 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*
|
||||
** description: max number of names in hotlist (0 = no name displayed, only buffer numbers)
|
||||
** type: integer
|
||||
@@ -513,6 +528,11 @@
|
||||
** type: integer
|
||||
** values: none, line, dotted-line, char (default value: dotted-line)
|
||||
|
||||
* *weechat.look.read_marker_always_show*
|
||||
** description: always show read marker, even if it is after last buffer line
|
||||
** type: boolean
|
||||
** values: on, off (default value: off)
|
||||
|
||||
* *weechat.look.save_config_on_exit*
|
||||
** description: save configuration file on exit
|
||||
** type: boolean
|
||||
@@ -543,13 +563,18 @@
|
||||
** type: boolean
|
||||
** values: on, off (default value: on)
|
||||
|
||||
* *weechat.network.gnutls_dh_prime_bitsmax_lines*
|
||||
** description: minimum size in bits for handshake using Diffie Hellman key exchange
|
||||
** type: integer
|
||||
** values: 0 .. 2147483647 (default value: 512)
|
||||
* *weechat.look.time_format*
|
||||
** description: time format for dates converted to strings and displayed in messages
|
||||
** type: string
|
||||
** values: any string (default value: "%a, %d %b %Y %T")
|
||||
|
||||
* *weechat.network.gnutls_ca_file*
|
||||
** description: file containing the certificate authorities
|
||||
** type: string
|
||||
** values: any string (default value: "%h/ssl/CAs.pem")
|
||||
|
||||
* *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, a name beginning with "!" is a negative value to prevent a plugin from being loaded, names can start or end with "*" to match several plugins (examples: "*" or "*,!lua,!tcl")
|
||||
** type: string
|
||||
** values: any string (default value: "*")
|
||||
|
||||
@@ -593,8 +618,3 @@
|
||||
** type: boolean
|
||||
** values: on, off (default value: on)
|
||||
|
||||
* *weechat.startup.weechat_slogan*
|
||||
** description: WeeChat slogan (if empty, slogan is not used)
|
||||
** type: string
|
||||
** values: any string (default value: "le client de discussion le plus geek !")
|
||||
|
||||
|
||||
@@ -1,3 +1,11 @@
|
||||
• *`/me`* `message`::
|
||||
|
||||
........................................
|
||||
send a CTCP action to remote host
|
||||
|
||||
message: message to send
|
||||
........................................
|
||||
|
||||
• *`/xfer`* `[list | listfull]`::
|
||||
|
||||
........................................
|
||||
|
||||
+205
-83
@@ -3,6 +3,7 @@ WeeChat FAQ (Frequently Asked Questions)
|
||||
FlashCode <flashcode@flashtux.org>
|
||||
|
||||
|
||||
[[general]]
|
||||
General
|
||||
-------
|
||||
|
||||
@@ -34,6 +35,7 @@ Some features (version > = 0.3.x):
|
||||
More info on this page: http://www.weechat.org/features
|
||||
|
||||
|
||||
[[compilation_install]]
|
||||
Compilation / install
|
||||
---------------------
|
||||
|
||||
@@ -57,16 +59,12 @@ If you're compiling with autotools (and not cmake), check that you have latest
|
||||
version of autoconf and automake (WeeChat is developed with autoconf 2.61 and
|
||||
automake 1.10.1).
|
||||
|
||||
The other way is to install "devel package", which needs less dependencies.
|
||||
The other way is to install the "devel package", which needs less dependencies.
|
||||
This package is built almost every day using git repository. Note that this
|
||||
package may not correspond exactly to git base and that it's less convenient
|
||||
than git cloning for installing updates.
|
||||
|
||||
|
||||
Using WeeChat
|
||||
-------------
|
||||
|
||||
|
||||
[[lost]]
|
||||
I've launched WeeChat, but I'm lost, what can I do?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -78,18 +76,9 @@ It's recommended for new users to read the quickstart guide (see the doc page
|
||||
on the website).
|
||||
|
||||
|
||||
[[buffer_vs_window]]
|
||||
I heard about "buffers" and "windows", what's the difference?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
A 'buffer' is composed by a number, a name, lines displayed (and some other
|
||||
data).
|
||||
|
||||
A 'window' is a screen area which displays a buffer. It is possible to split
|
||||
your screen into many windows.
|
||||
|
||||
Each window displays one buffer. A buffer can be hidden (not displayed by a
|
||||
window) or displayed by one or more windows.
|
||||
[[display]]
|
||||
Display
|
||||
-------
|
||||
|
||||
|
||||
[[charset]]
|
||||
@@ -153,46 +142,56 @@ which is ok (like many other values).
|
||||
If needed, fix your TERM variable: `export TERM="xxx"`.
|
||||
|
||||
|
||||
[[key_bindings]]
|
||||
How can I customize key bindings?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
[[buffer_vs_window]]
|
||||
I heard about "buffers" and "windows", what's the difference?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Key bindings are customizable with /key command.
|
||||
A 'buffer' is composed by a number, a name, lines displayed (and some other
|
||||
data).
|
||||
|
||||
Default key Meta-k (usually Alt-k) lets you grab key code and insert it in
|
||||
command line.
|
||||
A 'window' is a screen area which displays a buffer. It is possible to split
|
||||
your screen into many windows.
|
||||
|
||||
Each window displays one buffer. A buffer can be hidden (not displayed by a
|
||||
window) or displayed by one or more windows.
|
||||
|
||||
|
||||
[[openbsd_plugins]]
|
||||
I'm using OpenBSD and WeeChat does not load any plugins, what's wrong?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
[[terminal_copy_paste]]
|
||||
How can I copy/paste text without pasting nicklist?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Under OpenBSD, plugin filenames end with ".so.0.0" (".so" for Linux).
|
||||
You can use a terminal with rectangular selection (like rxvt-unicode,
|
||||
konsole, gnome-terminal, ...). Key is usually ctrl + alt + mouse selection.
|
||||
|
||||
You must set that up:
|
||||
Another solution is to move nicklist to top or bottom, for example:
|
||||
|
||||
* with WeeChat < = 0.2.6: +
|
||||
`/set plugins_extension = ".so.0.0"`
|
||||
`set look_nicklist_position = top`
|
||||
* with WeeChat > = 0.3.x: +
|
||||
`/set weechat.plugin.extension ".so.0.0"`
|
||||
|
||||
Then: `/plugin autoload`.
|
||||
`/bar set nicklist position top`
|
||||
|
||||
|
||||
[[scripts]]
|
||||
How can I load Perl/Python/Ruby/Lua/Tcl scripts? Are scripts compatible with other IRC clients?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
[[urls]]
|
||||
How can I click on long URLs (more than one line)?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
You can use the commands `/perl`, `/python`, `/ruby`, `/lua` and `/tcl` to load
|
||||
scripts (default path for scripts is '~/.weechat/<language>/').
|
||||
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.
|
||||
|
||||
Scripts are not compatible with other IRC clients.
|
||||
You can use one of following scripts:
|
||||
|
||||
Notes:
|
||||
urlbar.py::
|
||||
display URLs in a bar
|
||||
|
||||
* scripts in '~/.weechat/<language>/autoload/' are automatically loaded when
|
||||
WeeChat is starting up.
|
||||
* a 'tcl' plugin is available with version > = 0.3.x.
|
||||
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
|
||||
|
||||
|
||||
[[change_locale_without_quit]]
|
||||
@@ -209,38 +208,61 @@ To have english messages with UTF-8 encoding for terminal, for ISO users, you
|
||||
can issue: `/shell setenv LANG=en_US`.
|
||||
|
||||
|
||||
[[terminal_copy_paste]]
|
||||
With the Curses GUI, how can I copy/paste text without pasting nicklist?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
You can use a terminal with rectangular selection (like rxvt-unicode,
|
||||
konsole, gnome-terminal, ...). Key is usually ctrl + alt + mouse selection.
|
||||
|
||||
Another solution is to move nicklist to top or bottom, for example:
|
||||
|
||||
* with WeeChat < = 0.2.6: +
|
||||
`set look_nicklist_position = top`
|
||||
* with WeeChat > = 0.3.x: +
|
||||
`/bar set nicklist position top`
|
||||
[[key_bindings]]
|
||||
Key bindings
|
||||
------------
|
||||
|
||||
|
||||
[[highlight_notification]]
|
||||
How can I be warned when someone highlights me on a channel?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
[[meta_keys]]
|
||||
Some meta keys (alt + key) are not working, why?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
According to WeeChat version:
|
||||
If you're using some terminals like xterm or uxterm, some meta keys does not
|
||||
work by default. You can add a line in file '~/.Xresources':
|
||||
|
||||
* with WeeChat < = 0.2.6: use script 'sound.pl' (available on scripts page),
|
||||
and then setup a system command (to play sound, display message, ..) with
|
||||
this command: +
|
||||
`/setp perl.sound.cmd_highlight = "/path/to/command arguments"`
|
||||
* with WeeChat > = 0.3.x: use script 'launcher.pl' (available on scripts page),
|
||||
and then setup a system command (to play sound, display message, ..) with
|
||||
this command: +
|
||||
`/set plugins.var.perl.launcher.signal.weechat_highlight "/path/to/command arguments"`
|
||||
* for xterm:
|
||||
----------------------------------------
|
||||
XTerm*metaSendsEscape: true
|
||||
----------------------------------------
|
||||
* for uxterm:
|
||||
----------------------------------------
|
||||
UXTerm*metaSendsEscape: true
|
||||
----------------------------------------
|
||||
|
||||
Many other scripts exist for notification, please look at plugins/scripts page:
|
||||
http://www.weechat.org/plugins
|
||||
And then reload resources (`xrdb -override ~/.Xresources`) or restart X.
|
||||
|
||||
|
||||
[[customize_key_bindings]]
|
||||
How can I customize key bindings?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Key bindings are customizable with `/key` command.
|
||||
|
||||
Default key Meta-k (usually Alt-k) lets you grab key code and insert it in
|
||||
command line.
|
||||
|
||||
|
||||
[[irc]]
|
||||
IRC
|
||||
---
|
||||
|
||||
|
||||
[[ignore_vs_filter]]
|
||||
What is the difference between the /ignore and /filter commands?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
The `/ignore` command is an IRC command, so it applies only for IRC buffers
|
||||
(servers and channels).
|
||||
It lets you ignore some nicks or hostnames of users for a server or channel
|
||||
(command will not apply on content of messages).
|
||||
Matching messages are deleted by IRC plugin before display (so you'll
|
||||
never see them).
|
||||
|
||||
The `/filter` command is a core command, so it applies to any buffer.
|
||||
It lets you filter some lines in buffers with tags or regular expression for
|
||||
prefix and content of line.
|
||||
Filtered lines are only hidden, not deleted, and you can see them if you
|
||||
disable filters (by default, the key alt + "=" toggles filters).
|
||||
|
||||
|
||||
[[filter_irc_join_part_quit]]
|
||||
@@ -267,24 +289,124 @@ According to WeeChat version:
|
||||
(`/help filter` for help)
|
||||
|
||||
|
||||
[[ignore_vs_filter]]
|
||||
What is the difference between the /ignore and /filter commands?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
[[filter_voice_messages]]
|
||||
How can I filter voice messages (eg on Bitlbee server)?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
The `/ignore` command is an IRC command, so it applies only for IRC buffers
|
||||
(servers and channels).
|
||||
It lets you ignore some nicks or hostnames of users for a server or channel
|
||||
(command will not apply on content of messages).
|
||||
Matching messages are deleted by IRC plugin before display (so you'll
|
||||
never see them).
|
||||
It's not easy to filter voice messages, because voice mode can be set with other
|
||||
modes in same IRC message.
|
||||
|
||||
The `/filter` command is a core command, so it applies to any buffer.
|
||||
It lets you filter some lines in buffers with tags or regular expression for
|
||||
prefix and content of line.
|
||||
Filtered lines are only hidden, not deleted, and you can see them if you
|
||||
disable filters (by default, the key alt + "=" toggles filters).
|
||||
If you want to do that, it's probably because Bitlbee is using voice to show
|
||||
away users, and you are flooded with voice messages. Therefore, you can change
|
||||
that and let WeeChat use a special color for away nicks in nicklist.
|
||||
|
||||
On channel '&bitlbee', do:
|
||||
----------------------------------------
|
||||
set away_devoice false
|
||||
----------------------------------------
|
||||
|
||||
For checking away nicks in WeeChat, see question about
|
||||
<<color_away_nicks,away nicks>>.
|
||||
|
||||
|
||||
[[color_away_nicks]]
|
||||
How can I see away nicks in nicklist?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
You have to set option 'irc.network.away_check' to a positive value (minutes
|
||||
between each check of away nicks).
|
||||
|
||||
You can set option 'irc.network.away_check_max_nicks' to limit away check on
|
||||
small channels only.
|
||||
|
||||
For example, check every 5 minutes for away nicks, for channels with max 25
|
||||
nicks:
|
||||
|
||||
----------------------------------------
|
||||
/set irc.network.away_check 5
|
||||
/set irc.network.away_check_max_nicks 25
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[highlight_notification]]
|
||||
How can I be warned when someone highlights me on a channel?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
According to WeeChat version:
|
||||
|
||||
* with WeeChat < = 0.2.6: use script 'sound.pl' (available on scripts page),
|
||||
and then setup a system command (to play sound, display message, ..) with
|
||||
this command: +
|
||||
`/setp perl.sound.cmd_highlight = "/path/to/command arguments"`
|
||||
* with WeeChat > = 0.3.x: use script 'launcher.pl' (available on scripts page),
|
||||
and then setup a system command (to play sound, display message, ..) with
|
||||
this command: +
|
||||
`/set plugins.var.perl.launcher.signal.weechat_highlight "/path/to/command arguments"`
|
||||
|
||||
Many other scripts exist for notification, please look at plugins/scripts page:
|
||||
http://www.weechat.org/scripts
|
||||
|
||||
|
||||
[[plugins_scripts]]
|
||||
Plugins / scripts
|
||||
-----------------
|
||||
|
||||
|
||||
[[openbsd_plugins]]
|
||||
I'm using OpenBSD and WeeChat does not load any plugins, what's wrong?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Under OpenBSD, plugin filenames end with ".so.0.0" (".so" for Linux).
|
||||
|
||||
You must set that up:
|
||||
|
||||
* with WeeChat < = 0.2.6: +
|
||||
`/set plugins_extension = ".so.0.0"`
|
||||
* with WeeChat > = 0.3.x: +
|
||||
`/set weechat.plugin.extension ".so.0.0"`
|
||||
|
||||
Then: `/plugin autoload`.
|
||||
|
||||
|
||||
[[load_scripts]]
|
||||
How can I load Perl/Python/Ruby/Lua/Tcl scripts? Are scripts compatible with other IRC clients?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
You can use the commands `/perl`, `/python`, `/ruby`, `/lua` and `/tcl` to load
|
||||
scripts (default path for scripts is '~/.weechat/<language>/').
|
||||
|
||||
Scripts are not compatible with other IRC clients.
|
||||
|
||||
Notes:
|
||||
|
||||
* scripts in '~/.weechat/<language>/autoload/' are automatically loaded when
|
||||
WeeChat is starting up.
|
||||
* a 'tcl' plugin is available with version > = 0.3.0.
|
||||
|
||||
|
||||
[[settings]]
|
||||
Settings
|
||||
--------
|
||||
|
||||
|
||||
[[memory_usage]]
|
||||
How can I tweak WeeChat to consume less memory?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
You can try following tips to consume less memory:
|
||||
|
||||
* use the latest stable version (it is supposed to have less memory leaks than
|
||||
older versions)
|
||||
* do not load some plugins if you don't use them, for example: aspell, fifo,
|
||||
logger, perl, python, ruby, lua, tcl, xfer (used for DCC)
|
||||
* load only scripts that you really need
|
||||
* reduce value of option 'weechat.history.max_lines' (number of lines saved in
|
||||
memory for each buffer)
|
||||
* reduce value of option 'weechat.history.max_commands' (number of user commands
|
||||
saved in memory)
|
||||
|
||||
|
||||
[[development]]
|
||||
Development
|
||||
-----------
|
||||
|
||||
|
||||
+2533
-308
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.
|
||||
|
||||
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':
|
||||
|
||||
|
||||
+546
-219
@@ -46,9 +46,9 @@ Some things are specific to languages:
|
||||
* tcl:
|
||||
** functions are called with `weechat::xxx arg1 arg2 ...`
|
||||
|
||||
[[register]]
|
||||
Register
|
||||
~~~~~~~~
|
||||
[[register_function]]
|
||||
Register function
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
All WeeChat scripts must "register" themselves to WeeChat, and this must be
|
||||
first WeeChat function called in script.
|
||||
@@ -71,10 +71,6 @@ Arguments:
|
||||
* 'charset': string, script charset (optional, if your script is UTF-8, you
|
||||
can use blank value here, because UTF-8 is default charset)
|
||||
|
||||
[[script_example]]
|
||||
Script example
|
||||
~~~~~~~~~~~~~~
|
||||
|
||||
Example of script, for each language:
|
||||
|
||||
* perl:
|
||||
@@ -139,16 +135,16 @@ You have to use command, depending on language:
|
||||
You can make link in directory 'language/autoload' to autoload script when
|
||||
WeeChat is starting.
|
||||
|
||||
For example with perl:
|
||||
For example with Python:
|
||||
|
||||
----------------------------------------
|
||||
$ cd ~/.weechat/perl/autoload
|
||||
$ ln -s ../script.pl
|
||||
$ cd ~/.weechat/python/autoload
|
||||
$ ln -s ../script.py
|
||||
----------------------------------------
|
||||
|
||||
[[script_api]]
|
||||
Script API
|
||||
----------
|
||||
[[differences_with_c_api]]
|
||||
Differences with C API
|
||||
----------------------
|
||||
|
||||
Script API is almost the same as C plugin API.
|
||||
You can look at 'WeeChat Plugin API Reference' for detail about each function
|
||||
@@ -156,8 +152,8 @@ in API: prototype, arguments, return values, examples.
|
||||
|
||||
It's important to make difference between a 'plugin' and a 'script': a
|
||||
'plugin' is a binary file compiled and loaded with command `/plugin`, whereas
|
||||
a 'script' is a text file loaded with a plugin like 'perl' with command
|
||||
`/perl`.
|
||||
a 'script' is a text file loaded with a plugin like 'python' with command
|
||||
`/python`.
|
||||
|
||||
When your script 'test.py' calls a WeeChat API function, path is like that:
|
||||
|
||||
@@ -176,210 +172,9 @@ previous path:
|
||||
WeeChat core -------> python plugin (python.so) -------> test.py
|
||||
........................................
|
||||
|
||||
Functions
|
||||
~~~~~~~~~
|
||||
|
||||
List of functions in script API:
|
||||
|
||||
* general:
|
||||
** 'register'
|
||||
* plugins:
|
||||
** 'plugin_get_name'
|
||||
* strings:
|
||||
** 'charset_set'
|
||||
** 'iconv_to_internal'
|
||||
** 'iconv_from_internal'
|
||||
** 'gettext'
|
||||
** 'ngettext'
|
||||
** 'string_remove_color'
|
||||
* directories:
|
||||
** 'mkdir_home'
|
||||
** 'mkdir'
|
||||
** 'mkdir_parents'
|
||||
* sorted lists:
|
||||
** 'list_new'
|
||||
** 'list_add'
|
||||
** 'list_search'
|
||||
** 'list_casesearch'
|
||||
** 'list_get'
|
||||
** 'list_set'
|
||||
** 'list_next'
|
||||
** 'list_prev'
|
||||
** 'list_string'
|
||||
** 'list_size'
|
||||
** 'list_remove'
|
||||
** 'list_remove_all'
|
||||
** 'list_free'
|
||||
* configuration files:
|
||||
** 'config_new'
|
||||
** 'config_new_section'
|
||||
** 'config_search_section'
|
||||
** 'config_new_option'
|
||||
** 'config_search_option'
|
||||
** 'config_string_to_boolean'
|
||||
** 'config_option_reset'
|
||||
** 'config_option_set'
|
||||
** 'config_option_set_null'
|
||||
** 'config_option_unset'
|
||||
** 'config_option_rename'
|
||||
** 'config_option_is_null'
|
||||
** 'config_option_default_is_null'
|
||||
** 'config_boolean'
|
||||
** 'config_boolean_default'
|
||||
** 'config_integer'
|
||||
** 'config_integer_default'
|
||||
** 'config_string'
|
||||
** 'config_string_default'
|
||||
** 'config_color'
|
||||
** 'config_color_default'
|
||||
** 'config_write_option'
|
||||
** 'config_write_line'
|
||||
** 'config_write'
|
||||
** 'config_read'
|
||||
** 'config_reload'
|
||||
** 'config_option_free'
|
||||
** 'config_section_free_options'
|
||||
** 'config_section_free'
|
||||
** 'config_free'
|
||||
** 'config_get'
|
||||
** 'config_get_plugin'
|
||||
** 'config_is_set_plugin'
|
||||
** 'config_set_plugin'
|
||||
** 'config_unset_plugin'
|
||||
* display:
|
||||
** 'prefix'
|
||||
** 'color'
|
||||
** 'print' (for python: 'prnt')
|
||||
** 'print_date_tags' (for python: 'prnt_date_tags')
|
||||
** 'print_y' (for python: 'prnt_y')
|
||||
** 'log_print'
|
||||
* hooks:
|
||||
** 'hook_command'
|
||||
** 'hook_command_run'
|
||||
** 'hook_timer'
|
||||
** 'hook_fd'
|
||||
** 'hook_process'
|
||||
** 'hook_connect'
|
||||
** 'hook_print'
|
||||
** 'hook_signal'
|
||||
** 'hook_signal_send'
|
||||
** 'hook_config'
|
||||
** 'hook_completion'
|
||||
** 'hook_completion_list_add'
|
||||
** 'hook_modifier'
|
||||
** 'hook_modifier_exec'
|
||||
** 'hook_info'
|
||||
** 'hook_infolist'
|
||||
** 'unhook'
|
||||
** 'unhook_all'
|
||||
* buffers:
|
||||
** 'buffer_new'
|
||||
** 'buffer_search'
|
||||
** 'current_buffer'
|
||||
** 'buffer_clear'
|
||||
** 'buffer_close'
|
||||
** 'buffer_get_integer'
|
||||
** 'buffer_get_string'
|
||||
** 'buffer_get_pointer'
|
||||
** 'buffer_set'
|
||||
* windows:
|
||||
** 'current_window'
|
||||
** 'window_get_integer'
|
||||
** 'window_get_string'
|
||||
** 'window_get_pointer'
|
||||
** 'window_set_title'
|
||||
* nicklist:
|
||||
** 'nicklist_add_group'
|
||||
** 'nicklist_search_group'
|
||||
** 'nicklist_add_nick'
|
||||
** 'nicklist_search_nick'
|
||||
** 'nicklist_remove_group'
|
||||
** 'nicklist_remove_nick'
|
||||
** 'nicklist_remove_all'
|
||||
* bars:
|
||||
** 'bar_item_search'
|
||||
** 'bar_item_new'
|
||||
** 'bar_item_update'
|
||||
** 'bar_item_remove'
|
||||
** 'bar_search'
|
||||
** 'bar_new'
|
||||
** 'bar_set'
|
||||
** 'bar_update'
|
||||
** 'bar_remove'
|
||||
* commands:
|
||||
** 'command'
|
||||
* infos:
|
||||
** 'info_get'
|
||||
* infolists:
|
||||
** 'infolist_new'
|
||||
** 'infolist_new_var_integer'
|
||||
** 'infolist_new_var_string'
|
||||
** 'infolist_new_var_pointer'
|
||||
** 'infolist_new_var_time'
|
||||
** 'infolist_get'
|
||||
** 'infolist_next'
|
||||
** 'infolist_prev'
|
||||
** 'infolist_fields'
|
||||
** 'infolist_integer'
|
||||
** 'infolist_string'
|
||||
** 'infolist_pointer'
|
||||
** 'infolist_time'
|
||||
** 'infolist_free'
|
||||
* upgrade:
|
||||
** 'upgrade_new'
|
||||
** 'upgrade_write_object'
|
||||
** 'upgrade_read'
|
||||
** 'upgrade_close'
|
||||
|
||||
Constants
|
||||
~~~~~~~~~
|
||||
|
||||
List of constants in script API:
|
||||
|
||||
* 'WEECHAT_RC_OK'
|
||||
* 'WEECHAT_RC_OK_EAT'
|
||||
* 'WEECHAT_RC_ERROR'
|
||||
* 'WEECHAT_CONFIG_READ_OK'
|
||||
* 'WEECHAT_CONFIG_READ_MEMORY_ERROR'
|
||||
* 'WEECHAT_CONFIG_READ_FILE_NOT_FOUND'
|
||||
* 'WEECHAT_CONFIG_WRITE_OK'
|
||||
* 'WEECHAT_CONFIG_WRITE_ERROR'
|
||||
* 'WEECHAT_CONFIG_WRITE_MEMORY_ERROR'
|
||||
* 'WEECHAT_CONFIG_OPTION_SET_OK_CHANGED'
|
||||
* 'WEECHAT_CONFIG_OPTION_SET_OK_SAME_VALUE'
|
||||
* 'WEECHAT_CONFIG_OPTION_SET_ERROR'
|
||||
* 'WEECHAT_CONFIG_OPTION_SET_OPTION_NOT_FOUND'
|
||||
* 'WEECHAT_CONFIG_OPTION_UNSET_OK_NO_RESET'
|
||||
* 'WEECHAT_CONFIG_OPTION_UNSET_OK_RESET'
|
||||
* 'WEECHAT_CONFIG_OPTION_UNSET_OK_REMOVED'
|
||||
* 'WEECHAT_CONFIG_OPTION_UNSET_ERROR'
|
||||
* 'WEECHAT_LIST_POS_SORT'
|
||||
* 'WEECHAT_LIST_POS_BEGINNING'
|
||||
* 'WEECHAT_LIST_POS_END'
|
||||
* 'WEECHAT_HOTLIST_LOW'
|
||||
* 'WEECHAT_HOTLIST_MESSAGE'
|
||||
* 'WEECHAT_HOTLIST_PRIVATE'
|
||||
* 'WEECHAT_HOTLIST_HIGHLIGHT'
|
||||
* 'WEECHAT_HOOK_PROCESS_RUNNING'
|
||||
* 'WEECHAT_HOOK_PROCESS_ERROR'
|
||||
* 'WEECHAT_HOOK_CONNECT_OK'
|
||||
* 'WEECHAT_HOOK_CONNECT_ADDRESS_NOT_FOUND'
|
||||
* 'WEECHAT_HOOK_CONNECT_IP_ADDRESS_NOT_FOUND'
|
||||
* 'WEECHAT_HOOK_CONNECT_CONNECTION_REFUSED'
|
||||
* 'WEECHAT_HOOK_CONNECT_PROXY_ERROR'
|
||||
* 'WEECHAT_HOOK_CONNECT_LOCAL_HOSTNAME_ERROR'
|
||||
* 'WEECHAT_HOOK_CONNECT_GNUTLS_INIT_ERROR'
|
||||
* 'WEECHAT_HOOK_CONNECT_GNUTLS_HANDSHAKE_ERROR'
|
||||
* 'WEECHAT_HOOK_CONNECT_MEMORY_ERROR'
|
||||
* 'WEECHAT_HOOK_SIGNAL_STRING'
|
||||
* 'WEECHAT_HOOK_SIGNAL_INT'
|
||||
* 'WEECHAT_HOOK_SIGNAL_POINTER'
|
||||
|
||||
Differences with C API
|
||||
~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
[[pointers]]
|
||||
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.
|
||||
@@ -404,8 +199,9 @@ 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]]
|
||||
Callbacks
|
||||
^^^^^^^^^
|
||||
~~~~~~~~~
|
||||
|
||||
Almost all WeeChat callbacks must return WEECHAT_RC_OK or WEECHAT_RC_ERROR
|
||||
(exception is modifier callback, which returns a string).
|
||||
@@ -424,3 +220,534 @@ def my_timer_cb(data, remaining_calls):
|
||||
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'.
|
||||
|
||||
[[script_api_functions]]
|
||||
Functions
|
||||
~~~~~~~~~
|
||||
|
||||
List of functions in script API:
|
||||
|
||||
[width="100%",cols="^1,10",options="header"]
|
||||
|========================================
|
||||
| Category | Functions
|
||||
| general |
|
||||
register
|
||||
| plugins |
|
||||
plugin_get_name
|
||||
| strings |
|
||||
charset_set, iconv_to_internal, iconv_from_internal, gettext, ngettext, +
|
||||
string_match, string_has_highlight, string_mask_to_regex,
|
||||
string_remove_color, string_is_command_char, string_input_for_buffer
|
||||
| directories |
|
||||
mkdir_home, mkdir, mkdir_parents
|
||||
| sorted lists |
|
||||
list_new, list_add, list_search, list_casesearch, list_get, list_set,
|
||||
list_next, list_prev, list_string, list_size, list_remove, list_remove_all,
|
||||
list_free
|
||||
| configuration files |
|
||||
config_new, config_new_section, config_search_section, config_new_option,
|
||||
config_search_option, +
|
||||
config_string_to_boolean, config_option_reset, config_option_set,
|
||||
config_option_set_null, config_option_unset, config_option_rename,
|
||||
config_option_is_null, config_option_default_is_null, +
|
||||
config_boolean, config_boolean_default, config_integer, config_integer_default,
|
||||
config_string, config_string_default, config_color, config_color_default, +
|
||||
config_write_option, config_write_line, config_write, config_read,
|
||||
config_reload, +
|
||||
config_option_free, config_section_free_options, config_section_free,
|
||||
config_free, +
|
||||
config_get, config_get_plugin, config_is_set_plugin, config_set_plugin,
|
||||
config_unset_plugin
|
||||
| display |
|
||||
prefix, color, print (for python: prnt), print_date_tags (for python:
|
||||
prnt_date_tags), print_y (for python: prnt_y), log_print
|
||||
| hooks |
|
||||
hook_command, hook_command_run, hook_timer, hook_fd, hook_process,
|
||||
hook_connect, hook_print, hook_signal, hook_signal_send, hook_config,
|
||||
hook_completion, hook_completion_list_add, hook_modifier, hook_modifier_exec,
|
||||
hook_info, hook_infolist, unhook, unhook_all
|
||||
| buffers |
|
||||
buffer_new, current_buffer, buffer_search, buffer_search_main, buffer_clear,
|
||||
buffer_close, buffer_merge, buffer_unmerge, buffer_get_integer,
|
||||
buffer_get_string, buffer_get_pointer, buffer_set,
|
||||
buffer_string_replace_local_var
|
||||
| windows |
|
||||
current_window, window_get_integer, window_get_string, window_get_pointer,
|
||||
window_set_title
|
||||
| nicklist |
|
||||
nicklist_add_group, nicklist_search_group, nicklist_add_nick,
|
||||
nicklist_search_nick, nicklist_remove_group, nicklist_remove_nick,
|
||||
nicklist_remove_all
|
||||
| bars |
|
||||
bar_item_search, bar_item_new, bar_item_update, bar_item_remove, bar_search,
|
||||
bar_new, bar_set, bar_update, bar_remove
|
||||
| commands |
|
||||
command
|
||||
| infos |
|
||||
info_get
|
||||
| infolists |
|
||||
infolist_new, infolist_new_item, infolist_new_var_integer,
|
||||
infolist_new_var_string, infolist_new_var_pointer, infolist_new_var_time, +
|
||||
infolist_get, infolist_next, infolist_prev, infolist_fields, infolist_integer,
|
||||
infolist_string, infolist_pointer, infolist_time, infolist_free
|
||||
| upgrade |
|
||||
upgrade_new, upgrade_write_object, upgrade_read, upgrade_close
|
||||
|========================================
|
||||
|
||||
[[script_api_constants]]
|
||||
Constants
|
||||
~~~~~~~~~
|
||||
|
||||
List of constants in script API:
|
||||
|
||||
[width="100%",cols="^1,10",options="header"]
|
||||
|========================================
|
||||
| Category | Constants
|
||||
| return codes |
|
||||
WEECHAT_RC_OK, WEECHAT_RC_OK_EAT, WEECHAT_RC_ERROR
|
||||
| configuration files |
|
||||
WEECHAT_CONFIG_READ_OK, WEECHAT_CONFIG_READ_MEMORY_ERROR,
|
||||
WEECHAT_CONFIG_READ_FILE_NOT_FOUND, WEECHAT_CONFIG_WRITE_OK,
|
||||
WEECHAT_CONFIG_WRITE_ERROR, WEECHAT_CONFIG_WRITE_MEMORY_ERROR, +
|
||||
WEECHAT_CONFIG_OPTION_SET_OK_CHANGED, WEECHAT_CONFIG_OPTION_SET_OK_SAME_VALUE,
|
||||
WEECHAT_CONFIG_OPTION_SET_ERROR, WEECHAT_CONFIG_OPTION_SET_OPTION_NOT_FOUND,
|
||||
WEECHAT_CONFIG_OPTION_UNSET_OK_NO_RESET, WEECHAT_CONFIG_OPTION_UNSET_OK_RESET,
|
||||
WEECHAT_CONFIG_OPTION_UNSET_OK_REMOVED, WEECHAT_CONFIG_OPTION_UNSET_ERROR
|
||||
| sorted lists |
|
||||
WEECHAT_LIST_POS_SORT, WEECHAT_LIST_POS_BEGINNING, WEECHAT_LIST_POS_END
|
||||
| hotlist |
|
||||
WEECHAT_HOTLIST_LOW, WEECHAT_HOTLIST_MESSAGE, WEECHAT_HOTLIST_PRIVATE,
|
||||
WEECHAT_HOTLIST_HIGHLIGHT
|
||||
| hook process |
|
||||
WEECHAT_HOOK_PROCESS_RUNNING, WEECHAT_HOOK_PROCESS_ERROR
|
||||
| hook connect |
|
||||
WEECHAT_HOOK_CONNECT_OK, WEECHAT_HOOK_CONNECT_ADDRESS_NOT_FOUND,
|
||||
WEECHAT_HOOK_CONNECT_IP_ADDRESS_NOT_FOUND, WEECHAT_HOOK_CONNECT_CONNECTION_REFUSED,
|
||||
WEECHAT_HOOK_CONNECT_PROXY_ERROR, WEECHAT_HOOK_CONNECT_LOCAL_HOSTNAME_ERROR,
|
||||
WEECHAT_HOOK_CONNECT_GNUTLS_INIT_ERROR, WEECHAT_HOOK_CONNECT_GNUTLS_HANDSHAKE_ERROR,
|
||||
WEECHAT_HOOK_CONNECT_MEMORY_ERROR
|
||||
| hook signal |
|
||||
WEECHAT_HOOK_SIGNAL_STRING, WEECHAT_HOOK_SIGNAL_INT, WEECHAT_HOOK_SIGNAL_POINTER
|
||||
|========================================
|
||||
|
||||
[[common_tasks]]
|
||||
Common tasks
|
||||
------------
|
||||
|
||||
This chapter shows some common tasks, with examples.
|
||||
Only partial things in API are used here, for full reference, see see
|
||||
'WeeChat Plugin API Reference'.
|
||||
|
||||
[[buffers]]
|
||||
Buffers
|
||||
~~~~~~~
|
||||
|
||||
[[buffers_display_messages]]
|
||||
Display messages
|
||||
^^^^^^^^^^^^^^^^
|
||||
|
||||
An empty string is often used to work with WeeChat core buffer. For other
|
||||
buffers, you must give pointer (as string, see <<pointers,pointers>>).
|
||||
|
||||
Examples:
|
||||
|
||||
[source,python]
|
||||
----------------------------------------
|
||||
# display "hello" on core buffer
|
||||
weechat.prnt("", "hello")
|
||||
|
||||
# display prefix "==>" and message "hello" on current buffer
|
||||
# (prefix and message must be separated by tab)
|
||||
weechat.prnt(weechat.current_buffer(), "==>\thello")
|
||||
|
||||
# display error message on core buffer (with error prefix)
|
||||
weechat.prnt("", "%swrong arguments" % weechat.prefix("error"))
|
||||
|
||||
# display message with color on core buffer
|
||||
weechat.prnt("", "text %syellow on blue" % weechat.color("yellow,blue"))
|
||||
|
||||
# search buffer and display message
|
||||
# (full name of buffer is plugin.name, for example: "irc.freenode.#weechat")
|
||||
buffer = weechat.buffer_search("irc", "freenode.#weechat")
|
||||
weechat.prnt(buffer, "message on #weechat channel")
|
||||
|
||||
# other solution to find an IRC buffer (better)
|
||||
# (note that server and channel are separated by a comma)
|
||||
buffer = weechat.info_get("irc_buffer", "freenode,#weechat")
|
||||
weechat.prnt(buffer, "message on #weechat channel")
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
Print function is called `print` in Perl/Ruby/Lua/Tcl and `prnt` in Python.
|
||||
|
||||
[[buffers_send_text]]
|
||||
Send text to buffer
|
||||
^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
You can send text or command to a buffer. This is exactly like if you type text
|
||||
on command line and press [Enter].
|
||||
|
||||
Examples:
|
||||
|
||||
[source,python]
|
||||
----------------------------------------
|
||||
# execute command "/help" on core buffer
|
||||
weechat.command("", "/help")
|
||||
|
||||
# send "hello" to #weechat IRC channel (users on channel will see message)
|
||||
buffer = weechat.info_get("irc_buffer", "freenode,#weechat")
|
||||
weechat.command(buffer, "hello")
|
||||
----------------------------------------
|
||||
|
||||
[[buffers_new]]
|
||||
Create new buffer
|
||||
^^^^^^^^^^^^^^^^^
|
||||
|
||||
You can create a new buffer in your script, then use it for displaying messages.
|
||||
|
||||
Two callbacks can be called (they are optional): one for input data (when you
|
||||
type some text and press [Enter] on buffer), the other is called when buffer is
|
||||
closed (for example by `/buffer close`).
|
||||
|
||||
Example:
|
||||
|
||||
[source,python]
|
||||
----------------------------------------
|
||||
# callback for data received in input
|
||||
def buffer_input_cb(data, buffer, input_data):
|
||||
# ...
|
||||
return weechat.WEECHAT_RC_OK
|
||||
|
||||
# callback called when buffer is closed
|
||||
def buffer_close_cb(data, buffer):
|
||||
# ...
|
||||
return weechat.WEECHAT_RC_OK
|
||||
|
||||
# create buffer
|
||||
buffer = weechat.buffer_new("mybuffer", "buffer_input_cb", "", "buffer_close_cb", "")
|
||||
|
||||
# set title
|
||||
weechat.buffer_set(buffer, "title", "This is title for my buffer.")
|
||||
|
||||
# disable logging, by setting local variable "no_log" to "1"
|
||||
weechat.buffer_set(buffer, "localvar_set_no_log", "1")
|
||||
----------------------------------------
|
||||
|
||||
[[buffers_properties]]
|
||||
Buffer properties
|
||||
^^^^^^^^^^^^^^^^^
|
||||
|
||||
You can read buffer properties, as string, integer or pointer.
|
||||
|
||||
Examples:
|
||||
|
||||
[source,python]
|
||||
----------------------------------------
|
||||
buffer = weechat.current_buffer()
|
||||
|
||||
number = weechat.buffer_get_integer(buffer, "number")
|
||||
name = weechat.buffer_get_string(buffer, "name")
|
||||
short_name = weechat.buffer_get_string(buffer, "short_name")
|
||||
----------------------------------------
|
||||
|
||||
It is possible to add, read or delete local variables in buffer:
|
||||
|
||||
[source,python]
|
||||
----------------------------------------
|
||||
# add local variable
|
||||
weechat.buffer_set(buffer, "localvar_set_myvar", "my_value")
|
||||
|
||||
# read local variable
|
||||
myvar = weechat.buffer_get_string(buffer, "localvar_myvar")
|
||||
|
||||
# delete local variable
|
||||
weechat.buffer_set(buffer, "localvar_del_myvar", "")
|
||||
----------------------------------------
|
||||
|
||||
To see local variables of a buffer, do this command in WeeChat:
|
||||
|
||||
----------------------------------------
|
||||
/buffer localvar
|
||||
----------------------------------------
|
||||
|
||||
[[hooks]]
|
||||
Hooks
|
||||
~~~~~
|
||||
|
||||
[[hook_command]]
|
||||
Add new command
|
||||
^^^^^^^^^^^^^^^
|
||||
|
||||
Add a custom command with `hook_command`. You can use a custom completion
|
||||
template to complete arguments of your command.
|
||||
|
||||
Example:
|
||||
|
||||
[source,python]
|
||||
----------------------------------------
|
||||
def my_command_cb(data, buffer, args):
|
||||
# ...
|
||||
return weechat.WEECHAT_RC_OK
|
||||
|
||||
hook = weechat.hook_command("myfilter", "description of myfilter",
|
||||
"[list] | [enable|disable|toggle [name]] | [add name plugin.buffer tags regex] | [del name|-all]",
|
||||
"description of arguments...",
|
||||
"list"
|
||||
" || enable %(filters_names)"
|
||||
" || disable %(filters_names)"
|
||||
" || toggle %(filters_names)"
|
||||
" || add %(filters_names) %(buffers_plugins_names)|*"
|
||||
" || del %(filters_names)|-all",
|
||||
"my_command_cb", "")
|
||||
----------------------------------------
|
||||
|
||||
And then in WeeChat:
|
||||
|
||||
----------------------------------------
|
||||
/help myfilter
|
||||
|
||||
/myfilter arguments...
|
||||
----------------------------------------
|
||||
|
||||
[[hook_timer]]
|
||||
Add a timer
|
||||
^^^^^^^^^^^
|
||||
|
||||
Add a timer with `hook_timer`.
|
||||
|
||||
Example:
|
||||
|
||||
[source,python]
|
||||
----------------------------------------
|
||||
def timer_cb(data, remaining_calls):
|
||||
# ...
|
||||
return weechat.WEECHAT_RC_OK
|
||||
|
||||
# timer called each minute when second is 00
|
||||
weechat.hook_timer(60 * 1000, 60, 0, "timer_cb", "")
|
||||
----------------------------------------
|
||||
|
||||
[[hook_process]]
|
||||
Run a background process
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
You can run a background process with `hook_process`. Your callback will be
|
||||
called when data is ready. It may be called many times.
|
||||
|
||||
For the last call to your callback, 'rc' is set to 0 or positive value, it's
|
||||
return code of command.
|
||||
|
||||
Example:
|
||||
|
||||
[source,python]
|
||||
----------------------------------------
|
||||
# Display versions of Linux kernels.
|
||||
kernel_txt = ""
|
||||
|
||||
def kernel_process_cb(data, command, rc, stdout, stderr):
|
||||
""" Callback reading command output. """
|
||||
global kernel_txt
|
||||
if stdout != "":
|
||||
kernel_txt += stdout
|
||||
if int(rc) >= 0:
|
||||
weechat.prnt("", kernel_txt)
|
||||
return weechat.WEECHAT_RC_OK
|
||||
|
||||
weechat.hook_process("python -c \"import urllib; " \
|
||||
"print urllib.urlopen('http://www.kernel.org/kdist/finger_banner').read()\"",
|
||||
10 * 1000, "kernel_process_cb", "")
|
||||
----------------------------------------
|
||||
|
||||
[[config_options]]
|
||||
Config / options
|
||||
~~~~~~~~~~~~~~~~
|
||||
|
||||
[[config_options_set_script]]
|
||||
Set options for script
|
||||
^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
Function `config_is_set_plugin` is used to check if an option is set or not,
|
||||
and `config_set_plugin` to set option.
|
||||
|
||||
Example:
|
||||
|
||||
[source,python]
|
||||
----------------------------------------
|
||||
script_options = {
|
||||
"option1" : "value1",
|
||||
"option2" : "value2",
|
||||
"option3" : "value3",
|
||||
}
|
||||
for option, default_value in script_options.iteritems():
|
||||
if not weechat.config_is_set_plugin(option):
|
||||
weechat.config_set_plugin(option, default_value)
|
||||
----------------------------------------
|
||||
|
||||
[[config_options_detect_changes]]
|
||||
Detect changes
|
||||
^^^^^^^^^^^^^^
|
||||
|
||||
You must use `hook_config` to be notified if user changes some script options.
|
||||
|
||||
Example:
|
||||
|
||||
[source,python]
|
||||
----------------------------------------
|
||||
SCRIPT_NAME = "myscript"
|
||||
|
||||
# ...
|
||||
|
||||
def config_cb(data, option, value):
|
||||
""" Callback called when a script option is changed. """
|
||||
# for example, read all script options to script variables...
|
||||
# ...
|
||||
return weechat.WEECHAT_RC_OK
|
||||
|
||||
# ...
|
||||
|
||||
weechat.hook_config("plugins.var.python." + SCRIPT_NAME + ".*", "config_cb", "")
|
||||
# for other languages, change "python" with your language ("perl", "ruby", "lua" or "tcl")
|
||||
----------------------------------------
|
||||
|
||||
[[config_options_weechat]]
|
||||
Read WeeChat options
|
||||
^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
Function `config_get` returns pointer to option. Then, depending on option type,
|
||||
you must call `config_string`, `config_boolean`, `config_integer` or
|
||||
`config_color`.
|
||||
|
||||
[source,python]
|
||||
----------------------------------------
|
||||
# string
|
||||
weechat.prnt("", "value of option weechat.look.item_time_format is: %s"
|
||||
% (weechat.config_string(weechat.config_get("weechat.look.item_time_format"))))
|
||||
|
||||
# boolean
|
||||
weechat.prnt("", "value of option weechat.look.day_change is: %d"
|
||||
% (weechat.config_boolean(weechat.config_get("weechat.look.day_change"))))
|
||||
|
||||
# integer
|
||||
weechat.prnt("", "value of option weechat.look.scroll_page_percent is: %d"
|
||||
% (weechat.config_integer(weechat.config_get("weechat.look.scroll_page_percent"))))
|
||||
|
||||
# color
|
||||
weechat.prnt("", "value of option weechat.color.chat_delimiters is: %s"
|
||||
% (weechat.config_color(weechat.config_get("weechat.color.chat_delimiters"))))
|
||||
----------------------------------------
|
||||
|
||||
[[irc]]
|
||||
IRC
|
||||
~~~
|
||||
|
||||
[[irc_catch_messages]]
|
||||
Catch messages
|
||||
^^^^^^^^^^^^^^
|
||||
|
||||
IRC plugin sends two signals for a message received (`xxx` is IRC internal
|
||||
server name, `yyy` is IRC command name like JOIN, QUIT, PRIVMSG, 301, ..):
|
||||
|
||||
xxxx,irc_in_yyy::
|
||||
signal sent before processing message
|
||||
|
||||
xxx,irc_in2_yyy::
|
||||
signal sent after processing message
|
||||
|
||||
[source,python]
|
||||
----------------------------------------
|
||||
def join_cb(data, signal, signal_data):
|
||||
# signal is for example: "freenode,irc_in2_join"
|
||||
# signal_data is IRC message, for example: ":nick!user@host JOIN :#channel"
|
||||
nick = weechat.info_get("irc_nick_from_host", signal_data)
|
||||
server = signal.split(",")[0]
|
||||
channel = signal_data.split(":")[-1]
|
||||
buffer = weechat.info_get("irc_buffer", "%s,%s" % (server, channel))
|
||||
if buffer:
|
||||
weechat.prnt(buffer, "Eheh, %s has joined this channel!" % nick)
|
||||
return weechat.WEECHAT_RC_OK
|
||||
|
||||
# it is useful here to use "*" as server, to catch JOIN messages on all IRC
|
||||
# servers
|
||||
weechat.hook_signal("*,irc_in2_join", "join_cb", "")
|
||||
----------------------------------------
|
||||
|
||||
[[infos]]
|
||||
Infos
|
||||
~~~~~
|
||||
|
||||
[[infos_weechat_version]]
|
||||
WeeChat version
|
||||
^^^^^^^^^^^^^^^
|
||||
|
||||
The best way to check version is to ask "version_number" and make integer
|
||||
comparison with hexidecimal version number.
|
||||
|
||||
Example:
|
||||
|
||||
[source,python]
|
||||
----------------------------------------
|
||||
version = weechat.info_get("version_number", "") or 0
|
||||
if int(version) >= 0x00030200:
|
||||
weechat.prnt("", "This is WeeChat 0.3.2 or newer")
|
||||
else:
|
||||
weechat.prnt("", "This is WeeChat 0.3.1 or older")
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
Versions < = 0.3.1.1 return empty string for 'info_get("version_number")' so you
|
||||
must check that value returned is *not* empty.
|
||||
|
||||
To get version as string:
|
||||
|
||||
[source,python]
|
||||
----------------------------------------
|
||||
# this will display for example "Version 0.3.2"
|
||||
weechat.prnt("", "Version %s" % weechat.info_get("version", ""))
|
||||
----------------------------------------
|
||||
|
||||
[[infos_other]]
|
||||
Other infos
|
||||
^^^^^^^^^^^
|
||||
|
||||
[source,python]
|
||||
----------------------------------------
|
||||
# WeeChat home directory, for example: "/home/xxxx/.weechat"
|
||||
weechat.prnt("", "WeeChat home dir: %s" % weechat.info_get("weechat_dir", ""))
|
||||
|
||||
# keyboard inactivity
|
||||
weechat.prnt("", "Inactivity since %s seconds" % weechat.info_get("inactivity", ""))
|
||||
----------------------------------------
|
||||
|
||||
[[infolists]]
|
||||
Infolists
|
||||
~~~~~~~~~
|
||||
|
||||
[[infolists_read]]
|
||||
Read an infolist
|
||||
^^^^^^^^^^^^^^^^
|
||||
|
||||
You can read infolist built by WeeChat or other plugins.
|
||||
|
||||
Example:
|
||||
|
||||
[source,python]
|
||||
----------------------------------------
|
||||
# read infolist "buffer", to get list of buffers
|
||||
infolist = weechat.infolist_get("buffer", "", "")
|
||||
if infolist:
|
||||
while weechat.infolist_next(infolist):
|
||||
name = weechat.infolist_string(infolist, "name")
|
||||
weechat.prnt("", "buffer: %s" % name)
|
||||
weechat.infolist_free(infolist)
|
||||
----------------------------------------
|
||||
|
||||
[IMPORTANT]
|
||||
Don't forget to call `infolist_free` to free memory used by infolist, because
|
||||
WeeChat will not automatically free memory.
|
||||
|
||||
+497
-58
@@ -59,10 +59,14 @@ Binary packages
|
||||
|
||||
Binary packages are available for many distributions, including:
|
||||
|
||||
* Debian (or any Debian compatible distribution): `apt-get install weechat`
|
||||
* Debian (or any Debian compatible distribution):
|
||||
`apt-get install weechat-curses`
|
||||
* Mandriva/RedHat (or any RPM compatible distribution):
|
||||
`rpm -i /path/to/weechat-x.y.z-1.i386.rpm`
|
||||
* Gentoo: `emerge weechat`
|
||||
* Arch Linux: `pacman -S weechat`
|
||||
* Fedora Core: `yum install weechat`
|
||||
* Sourcemage: `cast weechat`
|
||||
|
||||
Some additional packages may be useful, like weechat-plugins.
|
||||
|
||||
@@ -75,8 +79,39 @@ Source package
|
||||
|
||||
WeeChat can be compiled with cmake or autotools (cmake is recommended way).
|
||||
|
||||
With cmake
|
||||
^^^^^^^^^^
|
||||
[[dependencies]]
|
||||
Dependencies
|
||||
^^^^^^^^^^^^
|
||||
|
||||
Following table shows list of packages that are required or optional to
|
||||
compile WeeChat.
|
||||
|
||||
[width="80%",cols="4,^2,13",options="header"]
|
||||
|========================================
|
||||
| Package ^(1)^ | Required | Feature
|
||||
| cmake | *yes* | build (autotools still possible, but cmake is recommended)
|
||||
| libncursesw5-dev ^(2)^ | *yes* | ncurses interface
|
||||
| libgcrypt11-dev | no | SASL authentication with IRC server using DH-BLOWFISH mechanism
|
||||
| libgnutls-dev | no | SSL connection to IRC server
|
||||
| libaspell-dev | no | aspell plugin
|
||||
| libperl-dev | no | perl plugin
|
||||
| python-dev | no | python plugin
|
||||
| ruby1.8-dev | no | ruby plugin
|
||||
| liblua5.1-0-dev | no | lua plugin
|
||||
| tcl-dev | no | tcl plugin
|
||||
| asciidoc (>= 8.2) | no | build documentation (HTML files)
|
||||
| source-highlight | no | syntax highlight for sources in HTML documentation
|
||||
|========================================
|
||||
|
||||
[NOTE]
|
||||
^(1)^ Name comes from the Debian GNU/Linux distribution, versions and package
|
||||
names may be different in different distributions and versions. +
|
||||
^(2)^ WeeChat can compile with libncurses5-dev, but it is *NOT* recommended (you
|
||||
will have display bugs with wide chars).
|
||||
|
||||
[[compile_with_cmake]]
|
||||
Compile with cmake
|
||||
^^^^^^^^^^^^^^^^^^
|
||||
|
||||
* Installation in system directories (requires 'root' privileges):
|
||||
|
||||
@@ -98,8 +133,9 @@ $ make
|
||||
$ make install
|
||||
----------------------------------------
|
||||
|
||||
With autotools
|
||||
^^^^^^^^^^^^^^
|
||||
[[compile_with_autotools]]
|
||||
Compile with autotools
|
||||
^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
* Installation in system directories (requires 'root' privileges):
|
||||
|
||||
@@ -136,7 +172,97 @@ If you're using autotools (and not cmake), execute this script:
|
||||
$ ./autogen.sh
|
||||
----------------------------------------
|
||||
|
||||
Then follow instructions for source package (see <<source_package>>).
|
||||
Then follow instructions for source package (see
|
||||
<<source_package,source package>>).
|
||||
|
||||
[[report_crashes]]
|
||||
Report crashes
|
||||
~~~~~~~~~~~~~~
|
||||
|
||||
If you experienced crashes, or if you want to report any future WeeChat crash,
|
||||
you have to:
|
||||
|
||||
* compile it with debug info (or install binary package with debug info)
|
||||
* enable 'core' files on your system
|
||||
* install gdb
|
||||
|
||||
[[debug_info]]
|
||||
Debug info
|
||||
^^^^^^^^^^
|
||||
|
||||
If you're compiling with cmake:
|
||||
|
||||
----------------------------------------
|
||||
$ cmake .. -DCMAKE_BUILD_TYPE=Debug
|
||||
----------------------------------------
|
||||
|
||||
If you're compiling with autotools, debug is default (`--with-debug=1`).
|
||||
|
||||
If you installed a binary package, then install package 'weechat-dbg'.
|
||||
|
||||
[[core_files]]
|
||||
Core files
|
||||
^^^^^^^^^^
|
||||
|
||||
To enable 'core' files, you have to use `ulimit` command.
|
||||
|
||||
For example under Linux with 'bash' shell, add this line to your `~/.bashrc`:
|
||||
|
||||
----------------------------------------
|
||||
ulimit -c unlimited
|
||||
----------------------------------------
|
||||
|
||||
Or max size:
|
||||
|
||||
----------------------------------------
|
||||
ulimit -c 200000
|
||||
----------------------------------------
|
||||
|
||||
[[gdb_backtrace]]
|
||||
Get backtrace with gdb
|
||||
^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
When WeeChat crashes, your system will create a file 'core' or 'core.12345'
|
||||
('12345' is process id).
|
||||
This file is created in directory where you have run WeeChat (this is *not*
|
||||
directory where WeeChat is installed!).
|
||||
|
||||
For example if 'weechat-curses' is installed in '/usr/bin/' and 'core' file is
|
||||
in '/home/xxx/', then run gdb with this command:
|
||||
|
||||
----------------------------------------
|
||||
gdb /usr/bin/weechat-curses /home/xxx/core
|
||||
----------------------------------------
|
||||
|
||||
Then under gdb, use command `bt` to display backtrace.
|
||||
You will see something like that:
|
||||
|
||||
----------------------------------------
|
||||
(gdb) bt
|
||||
#0 0xffffe424 in __kernel_vsyscall ()
|
||||
#1 0xb76208e0 in raise () from /lib/i686/cmov/libc.so.6
|
||||
#2 0xb7623e15 in abort () from /lib/i686/cmov/libc.so.6
|
||||
#3 0x08083940 in weechat_shutdown (return_code=1, crash=1) at /some_path/src/core/weechat.c:357
|
||||
#4 0x08098aaa in debug_sigsegv () at /some_path/src/core/wee-debug.c:155
|
||||
#5 <signal handler called>
|
||||
#6 0xb7656681 in vsnprintf () from /lib/i686/cmov/libc.so.6
|
||||
#7 0xb763dd22 in snprintf () from /lib/i686/cmov/libc.so.6
|
||||
#8 0xb7258674 in irc_protocol_cmd_join (server=0x8165138, command=0xb727c187 "join", argc=3, argv=0x889e840, argv_eol=0x889e858)
|
||||
at /some_path/src/plugins/irc/irc-protocol.c:520
|
||||
#9 0xb7265c6e in irc_protocol_recv_command (server=0x8165138, entire_line=0x889e7e0 ":nick!nick@127.0.0.1 JOIN :#test",
|
||||
command=0x889d080 "JOIN") at /some_path/src/plugins/irc/irc-protocol.c:4077
|
||||
#10 0xb726a2c6 in irc_server_msgq_flush () at /some_path/src/plugins/irc/irc-server.c:1614
|
||||
#11 0xb726a4da in irc_server_recv_cb (data=0x8165138, fd=8) at /some_path/src/plugins/irc/irc-server.c:1691
|
||||
#12 0x0809a797 in hook_fd_exec (read_fds=0xbfcf8074, write_fds=0xbfcf7ff4, exception_fds=0xbfcf7f74)
|
||||
at /some_path/src/core/wee-hook.c:1133
|
||||
#13 0x08060af0 in gui_main_loop () at /some_path/src/gui/curses/gui-curses-main.c:330
|
||||
#14 0x08083b10 in main (argc=3, argv=0xbfcf81d4) at /some_path/src/core/weechat.c:419
|
||||
----------------------------------------
|
||||
|
||||
You must report this trace to developers, and tell them what action caused this
|
||||
crash.
|
||||
|
||||
Thank you for your help!
|
||||
|
||||
|
||||
[[usage]]
|
||||
@@ -169,6 +295,9 @@ Command line arguments:
|
||||
-p, --no-plugin::
|
||||
Disable plugins auto-load
|
||||
|
||||
-s, --no-script::
|
||||
Disable scripts auto-load
|
||||
|
||||
-v, --version::
|
||||
Display WeeChat version
|
||||
|
||||
@@ -186,7 +315,8 @@ created, with default options. The default configuration file is:
|
||||
'~/.weechat/weechat.conf'.
|
||||
|
||||
You can edit this file at your convenience to configure WeeChat or you can set
|
||||
parameters with `/set` command in WeeChat (see <<weechat_commands>>).
|
||||
parameters with `/set` command in WeeChat (see
|
||||
<<weechat_commands,WeeChat commands>>).
|
||||
|
||||
[[screen_layout]]
|
||||
Screen layout
|
||||
@@ -235,65 +365,65 @@ Screen is composed by following areas:
|
||||
|
||||
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
|
||||
|
||||
| buffer_count | `[4]` |
|
||||
| buffer_count | [4] |
|
||||
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)
|
||||
|
||||
| buffer_number | `3` |
|
||||
| buffer_number | 3 |
|
||||
current buffer number
|
||||
|
||||
| buffer_name | `freenode/#test(+n)` |
|
||||
| buffer_name | #test(+n) |
|
||||
current buffer name
|
||||
|
||||
| buffer_nicklist_count | `{5}` |
|
||||
| buffer_nicklist_count | {5} |
|
||||
number of nicks in nicklist
|
||||
|
||||
| buffer_filter | `*` |
|
||||
| buffer_filter | * |
|
||||
filtering indicator: `*` means some lines are filtered (hidden), empty value
|
||||
means all lines are displayed
|
||||
|
||||
| lag | `[Lag: 2.5]` |
|
||||
| lag | [Lag: 2.5] |
|
||||
lag indicator, in seconds (hidden if lag is low)
|
||||
|
||||
| hotlist | `[Act: 4,2]` |
|
||||
| hotlist | [Act: 4,2] |
|
||||
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
|
||||
word
|
||||
|
||||
| scroll | `-MORE(50)-` |
|
||||
| scroll | -MORE(50)- |
|
||||
scroll indicator, with number of lines below last line displayed
|
||||
|========================================
|
||||
|
||||
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
|
||||
|
||||
| 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
|
||||
|
||||
| input_prompt | `[nick]` |
|
||||
| input_prompt | [nick] |
|
||||
input prompt (nick for irc plugin)
|
||||
|
||||
| away | `(away)` |
|
||||
| away | (away) |
|
||||
away indicator
|
||||
|
||||
| input_search | `[Text search]` |
|
||||
| input_search | [Text search] |
|
||||
text search indicator
|
||||
|
||||
| input_text | `bla bla...` |
|
||||
| input_text | bla bla... |
|
||||
input text
|
||||
|========================================
|
||||
|
||||
@@ -301,6 +431,7 @@ Bar 'input' has following default items:
|
||||
Default key bindings
|
||||
~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
[[key_bindings_command_line]]
|
||||
Keys for command line
|
||||
^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
@@ -437,14 +568,16 @@ Keys for command line
|
||||
`/input delete_next_word`
|
||||
|
||||
| Alt + K |
|
||||
Grab a key and insert its code in command line +
|
||||
`/input grab_key`
|
||||
Grab a key and insert its code (and command bound if key exists) in command
|
||||
line +
|
||||
`/input grab_key_command`
|
||||
|
||||
| Alt + R` +
|
||||
| Alt + R |
|
||||
Delete entire command line +
|
||||
`/input delete_line`
|
||||
|========================================
|
||||
|
||||
[[key_bindings_buffers_windows]]
|
||||
Keys for buffers / windows
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
@@ -505,6 +638,7 @@ Keys for buffers / windows
|
||||
| F7 |
|
||||
Switch to previous window +
|
||||
`/window -1`
|
||||
|
||||
| F8 |
|
||||
Switch to next window +
|
||||
`/window +1`
|
||||
@@ -591,6 +725,7 @@ Keys for buffers / windows
|
||||
`/input jump_next_visited_buffer`
|
||||
|========================================
|
||||
|
||||
[[key_bindings_other]]
|
||||
Other keys
|
||||
^^^^^^^^^^
|
||||
|
||||
@@ -614,6 +749,7 @@ Command line
|
||||
WeeChat command line (at the bottom of window) lets you execute commands or
|
||||
send text to buffer.
|
||||
|
||||
[[command_line_syntax]]
|
||||
Syntax
|
||||
^^^^^^
|
||||
|
||||
@@ -638,6 +774,7 @@ For example, to send text '/set' on current buffer:
|
||||
//set
|
||||
----------------------------------------
|
||||
|
||||
[[command_line_colors]]
|
||||
Colors
|
||||
^^^^^^
|
||||
|
||||
@@ -668,24 +805,25 @@ attribute.
|
||||
|
||||
Color codes for ^Cc are:
|
||||
|
||||
[width="20%",cols="^1m,2"]
|
||||
[width="35%",cols="^1m,3,3",options="header"]
|
||||
|========================================
|
||||
| 00 | white
|
||||
| 01 | black
|
||||
| 02 | dark blue
|
||||
| 03 | dark green
|
||||
| 04 | light red
|
||||
| 05 | dark red
|
||||
| 06 | magenta
|
||||
| 07 | orange
|
||||
| 08 | yellow
|
||||
| 09 | light green
|
||||
| 10 | cyan
|
||||
| 11 | light cyan
|
||||
| 12 | light blue
|
||||
| 13 | light magenta
|
||||
| 14 | gray
|
||||
| 15 | light gray (white)
|
||||
| Code | IRC | WeeChat (curses)
|
||||
| 00 | white | white
|
||||
| 01 | black | black
|
||||
| 02 | dark blue | blue
|
||||
| 03 | dark green | green
|
||||
| 04 | light red | lightred
|
||||
| 05 | dark red | red
|
||||
| 06 | magenta | magenta
|
||||
| 07 | orange | brown
|
||||
| 08 | yellow | yellow
|
||||
| 09 | light green | lightgreen
|
||||
| 10 | cyan | cyan
|
||||
| 11 | light cyan | lightcyan
|
||||
| 12 | light blue | lightblue
|
||||
| 13 | light magenta | lightmagenta
|
||||
| 14 | gray | default
|
||||
| 15 | light gray | white
|
||||
|========================================
|
||||
|
||||
Example: display of "hello everybody!" with "hello" in light blue bold and
|
||||
@@ -701,12 +839,15 @@ WeeChat options (weechat.conf)
|
||||
|
||||
include::autogen/user/weechat_options.txt[]
|
||||
|
||||
Colors for Curses GUI are:
|
||||
[[curses_colors]]
|
||||
Colors for Curses GUI
|
||||
^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
[width="50%",cols="^3m,8"]
|
||||
|========================================
|
||||
| default | default terminal color (transparent for background)
|
||||
| black | black
|
||||
| darkgray | dark gray
|
||||
| red | dark red
|
||||
| lightred | light red
|
||||
| green | dark green
|
||||
@@ -767,7 +908,7 @@ Examples to load, unload or list plugins:
|
||||
|
||||
Default plugins are:
|
||||
|
||||
[width="50%",cols=">1s,5",options="header"]
|
||||
[width="50%",cols="^1,5",options="header"]
|
||||
|========================================
|
||||
| Plugin | Description
|
||||
| alias | Define alias for commands
|
||||
@@ -792,6 +933,7 @@ Alias plugin
|
||||
Alias plugin lets you create alias for commands (from WeeChat or other
|
||||
plugins).
|
||||
|
||||
[[alias_commands]]
|
||||
Commands
|
||||
^^^^^^^^
|
||||
|
||||
@@ -804,11 +946,13 @@ Aspell plugin
|
||||
Aspell plugin lets you check spelling in command line. It is possible to use
|
||||
many languages by buffer.
|
||||
|
||||
[[aspell_options]]
|
||||
Options (aspell.conf)
|
||||
^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
include::autogen/user/aspell_options.txt[]
|
||||
|
||||
[[aspell_commands]]
|
||||
Commands
|
||||
^^^^^^^^
|
||||
|
||||
@@ -851,16 +995,19 @@ For example:
|
||||
charset: terminal: ISO-8859-15, internal: UTF-8
|
||||
........................................
|
||||
|
||||
[[charset_options]]
|
||||
Options (charset.conf)
|
||||
^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
include::autogen/user/charset_options.txt[]
|
||||
|
||||
[[charset_commands]]
|
||||
Commands
|
||||
^^^^^^^^
|
||||
|
||||
include::autogen/user/charset_commands.txt[]
|
||||
|
||||
[[charset_set]]
|
||||
Set charset
|
||||
^^^^^^^^^^^
|
||||
|
||||
@@ -905,6 +1052,7 @@ To see all charsets used, use following command:
|
||||
/set charset.*
|
||||
----------------------------------------
|
||||
|
||||
[[charset_troubleshooting]]
|
||||
Troubleshooting
|
||||
^^^^^^^^^^^^^^^
|
||||
|
||||
@@ -981,8 +1129,9 @@ IRC plugin
|
||||
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
|
||||
and file transfer (via xfer plugin, see <<xfer_plugin>>).
|
||||
and file transfer (via xfer plugin, see <<xfer_plugin,Xfer plugin>>).
|
||||
|
||||
[[irc_command_line_options]]
|
||||
Command line options
|
||||
^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
@@ -999,16 +1148,293 @@ default port (6667), with nick 'nono':
|
||||
$ weechat-curses irc://nono@irc.freenode.net/#weechat,#toto
|
||||
----------------------------------------
|
||||
|
||||
[[irc_options]]
|
||||
Options (irc.conf)
|
||||
^^^^^^^^^^^^^^^^^^
|
||||
|
||||
include::autogen/user/irc_options.txt[]
|
||||
|
||||
[[irc_commands]]
|
||||
Commands
|
||||
^^^^^^^^
|
||||
|
||||
include::autogen/user/irc_commands.txt[]
|
||||
|
||||
[[irc_ssl_certificates]]
|
||||
SSL certificates
|
||||
^^^^^^^^^^^^^^^^
|
||||
|
||||
When connecting to IRC server with SSL, WeeChat checks by default that the
|
||||
connection is fully trusted.
|
||||
|
||||
Some options are used to control SSL connection:
|
||||
|
||||
weechat.network.gnutls_ca_file::
|
||||
path to file with certificate authorities (by default: "%h/ssl/CAs.pem")
|
||||
|
||||
irc.server.xxx.ssl_cert::
|
||||
SSL certificate file used to automatically identify your nick (for example
|
||||
CertFP on oftc, see below)
|
||||
|
||||
irc.server.xxx.ssl_dhkey_size::
|
||||
size of the key used during the Diffie-Hellman Key Exchange (by default:
|
||||
2048)
|
||||
|
||||
irc.server.xxx.ssl_verify::
|
||||
check that the SSL connection is fully trusted (on by default)
|
||||
|
||||
[NOTE]
|
||||
Option "ssl_verify" is on by default, so verification is strict and may fail,
|
||||
even if it was ok with versions prior to 0.3.1.
|
||||
|
||||
[[irc_connect_oftc_with_certificate]]
|
||||
First example: connect to oftc and check certificate
|
||||
++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
|
||||
* Import certificate in shell:
|
||||
|
||||
----------------------------------------
|
||||
$ mkdir ~/.weechat/ssl
|
||||
$ wget -O ~/.weechat/ssl/CAs.pem http://www.spi-inc.org/secretary/spi-cacert.crt
|
||||
----------------------------------------
|
||||
|
||||
Note: it is possible to concatenate many certificates in file CAs.pem.
|
||||
|
||||
* In WeeChat, with "oftc" server already created:
|
||||
|
||||
----------------------------------------
|
||||
/connect oftc
|
||||
----------------------------------------
|
||||
|
||||
[[irc_connect_oftc_with_certfp]]
|
||||
Second example: connect to oftc using CertFP
|
||||
++++++++++++++++++++++++++++++++++++++++++++
|
||||
|
||||
* Create certificate in shell:
|
||||
|
||||
----------------------------------------
|
||||
$ openssl req -nodes -newkey rsa:2048 -keyout nick.key -x509 -days 365 -out nick.cer
|
||||
$ cat nick.cer nick.key > ~/.weechat/ssl/nick.pem
|
||||
----------------------------------------
|
||||
|
||||
* In WeeChat, with "oftc" server already created:
|
||||
|
||||
----------------------------------------
|
||||
/set irc.server.oftc.ssl_cert "%h/ssl/nick.pem"
|
||||
/connect oftc
|
||||
/msg nickserv cert add
|
||||
----------------------------------------
|
||||
|
||||
For more information, look at http://www.oftc.net/oftc/NickServ/CertFP
|
||||
|
||||
[[irc_smart_filter_join_part_quit]]
|
||||
Smart filter for join/part/quit messages
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
A smart filter is available to filter join/part/quit messages when nick did not
|
||||
say something during past X minutes on channel.
|
||||
|
||||
Smart filter is enabled by default, but you must add a filter to hide lines on
|
||||
buffers, for example:
|
||||
|
||||
----------------------------------------
|
||||
/filter add irc_smart * irc_smart_filter *
|
||||
----------------------------------------
|
||||
|
||||
It is possible to create filter for one channel only or channels beginning with
|
||||
same name (see `/help filter`):
|
||||
|
||||
----------------------------------------
|
||||
/filter add irc_smart_weechat irc.freenode.#weechat irc_smart_filter *
|
||||
/filter add irc_smart_weechats irc.freenode.#weechat* irc_smart_filter *
|
||||
----------------------------------------
|
||||
|
||||
You can hide only join or part/quit with following options:
|
||||
|
||||
----------------------------------------
|
||||
/set irc.look.smart_filter_join on
|
||||
/set irc.look.smart_filter_quit on
|
||||
----------------------------------------
|
||||
|
||||
You can setup delay (in minutes):
|
||||
|
||||
----------------------------------------
|
||||
/set irc.look.smart_filter_delay 5
|
||||
----------------------------------------
|
||||
|
||||
If a nick did not speak during last 5 minutes, its join and/or part/quit will be
|
||||
hidden on channel.
|
||||
|
||||
[[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)
|
||||
| 301 | whois | whois (away)
|
||||
| 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
|
||||
~~~~~~~~~~~~~
|
||||
@@ -1016,16 +1442,19 @@ Logger plugin
|
||||
The Logger plugin lets you save content of buffers to files, with options
|
||||
about what and how it is saved.
|
||||
|
||||
[[logger_options]]
|
||||
Options (logger.conf)
|
||||
^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
include::autogen/user/logger_options.txt[]
|
||||
|
||||
[[logger_commands]]
|
||||
Commands
|
||||
^^^^^^^^
|
||||
|
||||
include::autogen/user/logger_commands.txt[]
|
||||
|
||||
[[logger_log_levels]]
|
||||
Log levels
|
||||
^^^^^^^^^^
|
||||
|
||||
@@ -1073,6 +1502,7 @@ Some examples:
|
||||
/set logger.level.irc 2
|
||||
----------------------------------------
|
||||
|
||||
[[logger_filenames_masks]]
|
||||
Filenames masks
|
||||
^^^^^^^^^^^^^^^
|
||||
|
||||
@@ -1116,28 +1546,33 @@ These plugins can load, execute and unload scripts for these languages.
|
||||
For more information about how to write scripts, or WeeChat API for
|
||||
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
|
||||
^^^^^^^^^^^^^
|
||||
|
||||
include::autogen/user/perl_commands.txt[]
|
||||
|
||||
[[python_commands]]
|
||||
Python commands
|
||||
^^^^^^^^^^^^^^^
|
||||
|
||||
include::autogen/user/python_commands.txt[]
|
||||
|
||||
[[ruby_commands]]
|
||||
Ruby commands
|
||||
^^^^^^^^^^^^^
|
||||
|
||||
include::autogen/user/ruby_commands.txt[]
|
||||
|
||||
[[lua_commands]]
|
||||
Lua commands
|
||||
^^^^^^^^^^^^
|
||||
|
||||
include::autogen/user/lua_commands.txt[]
|
||||
|
||||
[[tcl_commands]]
|
||||
Tcl commands
|
||||
^^^^^^^^^^^^
|
||||
|
||||
@@ -1153,11 +1588,13 @@ Xfer plugin brings:
|
||||
IRC plugin
|
||||
* file transfer, for example "DCC" via IRC plugin
|
||||
|
||||
[[xfer_options]]
|
||||
Options (xfer.conf)
|
||||
^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
include::autogen/user/xfer_options.txt[]
|
||||
|
||||
[[xfer_commands]]
|
||||
Commands
|
||||
^^^^^^^^
|
||||
|
||||
@@ -1191,6 +1628,7 @@ Jiri Golembiovsky::
|
||||
soltys::
|
||||
polish translation
|
||||
|
||||
Nils Görs::
|
||||
rettub::
|
||||
Frank Zacharias::
|
||||
german translation
|
||||
@@ -1204,21 +1642,22 @@ m4v::
|
||||
Voroskoi::
|
||||
hungarian translation
|
||||
|
||||
Rudolf Polzer::
|
||||
patches
|
||||
Marco Paolone::
|
||||
italian translation
|
||||
|
||||
Dmitry Kobylin::
|
||||
tcl plugin
|
||||
|
||||
Rudolf Polzer::
|
||||
Jim Ramsay::
|
||||
Pistos::
|
||||
Gwenn::
|
||||
Dominik Honnef::
|
||||
patches
|
||||
|
||||
Odin::
|
||||
SuSE RPM
|
||||
|
||||
Pistos::
|
||||
patches
|
||||
|
||||
Gwenn::
|
||||
patches
|
||||
|
||||
|
||||
[[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
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
@@ -17,26 +17,26 @@
|
||||
# user's guide
|
||||
ADD_CUSTOM_COMMAND(
|
||||
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
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.fr.txt
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/autogen/user/*.txt
|
||||
COMMENT "Building 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
|
||||
ADD_CUSTOM_COMMAND(
|
||||
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
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/weechat_plugin_api.fr.txt
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/autogen/plugin_api/*.txt
|
||||
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)
|
||||
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
|
||||
ADD_CUSTOM_COMMAND(
|
||||
@@ -47,37 +47,37 @@ ADD_CUSTOM_COMMAND(
|
||||
COMMENT "Building 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
|
||||
ADD_CUSTOM_COMMAND(
|
||||
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
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.fr.txt
|
||||
COMMENT "Building 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
|
||||
ADD_CUSTOM_COMMAND(
|
||||
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
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.fr.txt
|
||||
COMMENT "Building 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
|
||||
ADD_CUSTOM_COMMAND(
|
||||
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
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.fr.txt
|
||||
COMMENT "Building 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})
|
||||
|
||||
+15
-15
@@ -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
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
@@ -17,14 +17,14 @@
|
||||
docdir = $(datadir)/doc/$(PACKAGE)
|
||||
|
||||
EXTRA_DIST = CMakeLists.txt \
|
||||
weechat_user.fr.txt \
|
||||
weechat_plugin_api.fr.txt \
|
||||
weechat_scripting.fr.txt \
|
||||
weechat_faq.fr.txt \
|
||||
weechat_quickstart.fr.txt \
|
||||
weechat_tester.fr.txt \
|
||||
$(wildcard autogen/user/*.txt) \
|
||||
$(wildcard autogen/plugin_api/*.txt)
|
||||
weechat_user.fr.txt \
|
||||
weechat_plugin_api.fr.txt \
|
||||
weechat_scripting.fr.txt \
|
||||
weechat_faq.fr.txt \
|
||||
weechat_quickstart.fr.txt \
|
||||
weechat_tester.fr.txt \
|
||||
$(wildcard autogen/user/*.txt) \
|
||||
$(wildcard autogen/plugin_api/*.txt)
|
||||
|
||||
all-local: weechat_user.fr.html \
|
||||
weechat_plugin_api.fr.html \
|
||||
@@ -35,27 +35,27 @@ all-local: weechat_user.fr.html \
|
||||
|
||||
# user's guide
|
||||
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
|
||||
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
|
||||
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
|
||||
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
|
||||
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
|
||||
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
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
[width="65%",cols="^1,^2,8",options="header"]
|
||||
|========================================
|
||||
| Plugin | Name | Description
|
||||
| Extension | Nom | Description
|
||||
|
||||
| alias | alias | liste des alias
|
||||
|
||||
| aspell | aspell_langs | liste des langues supportées pour aspell
|
||||
@@ -39,6 +40,12 @@
|
||||
|
||||
| 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
|
||||
|
||||
| tcl | tcl_script | liste des scripts
|
||||
@@ -47,6 +54,10 @@
|
||||
|
||||
| weechat | bars_options | options pour les barres
|
||||
|
||||
| weechat | buffer_properties_get | propriétés qui peuvent être lues sur un tampon
|
||||
|
||||
| weechat | buffer_properties_set | propriétés qui peuvent être changées sur un tampon
|
||||
|
||||
| weechat | buffers_names | noms des tampons
|
||||
|
||||
| weechat | buffers_numbers | numéros des tampons
|
||||
@@ -71,6 +82,8 @@
|
||||
|
||||
| weechat | keys_codes | codes des touches
|
||||
|
||||
| weechat | keys_codes_for_reset | codes des touches pouvant être réinitialisées (touches ajoutées, redéfinies ou supprimées)
|
||||
|
||||
| weechat | nicks | pseudos dans la liste des pseudos du tampon courant
|
||||
|
||||
| weechat | plugins_commands | commandes définies par les extensions
|
||||
|
||||
@@ -1,58 +1,59 @@
|
||||
[width="65%",cols="^1,^2,8",options="header"]
|
||||
[width="100%",cols="^1,^2,5,5,5",options="header"]
|
||||
|========================================
|
||||
| Plugin | Name | Description
|
||||
| alias | alias | liste des alias
|
||||
| Extension | Nom | Description | Pointeur | Paramètres
|
||||
|
||||
| irc | irc_channel | liste des canaux pour un serveur IRC
|
||||
| alias | alias | liste des alias | pointeur vers l'alias (optionnel) | nom d'alias (peut démarrer ou se terminer par "*" comme joker) (optionnel)
|
||||
|
||||
| irc | irc_ignore | liste des ignores IRC
|
||||
| irc | irc_channel | liste des canaux pour un serveur IRC | pointeur vers le canal (optionnel) | nom de serveur
|
||||
|
||||
| irc | irc_nick | liste des pseudos pour un canal IRC
|
||||
| irc | irc_ignore | liste des ignores IRC | pointeur vers l'ignore (optionnel) | -
|
||||
|
||||
| irc | irc_server | liste des serveurs IRC
|
||||
| irc | irc_nick | liste des pseudos pour un canal IRC | pointeur vers le pseudo (optionnel) | serveur,canal,pseudo (canal et pseudo sont optionnels)
|
||||
|
||||
| logger | logger_buffer | liste des enregistreurs de tampons (loggers)
|
||||
| irc | irc_server | liste des serveurs IRC | pointeur vers le serveur (optionnel) | nom de serveur (peut démarrer ou se terminer par "*" comme joker) (optionnel)
|
||||
|
||||
| lua | lua_script | list of lua scripts
|
||||
| logger | logger_buffer | liste des enregistreurs de tampons (loggers) | pointeur vers le logger (optionnel) | -
|
||||
|
||||
| perl | perl_script | list of perl scripts
|
||||
| lua | lua_script | liste des scripts | pointeur vers le script (optionnel) | nom de script (peut démarrer ou se terminer par "*" comme joker) (optionnel)
|
||||
|
||||
| python | python_script | list of python scripts
|
||||
| perl | perl_script | liste des scripts | pointeur vers le script (optionnel) | nom de script (peut démarrer ou se terminer par "*" comme joker) (optionnel)
|
||||
|
||||
| relay | relay | liste des clients pour le relai
|
||||
| python | python_script | liste des scripts | pointeur vers le script (optionnel) | nom de script (peut démarrer ou se terminer par "*" comme joker) (optionnel)
|
||||
|
||||
| ruby | ruby_script | list of ruby scripts
|
||||
| relay | relay | liste des clients pour le relai | pointeur vers le relay (optionnel) | -
|
||||
|
||||
| tcl | tcl_script | list of tcl scripts
|
||||
| ruby | ruby_script | liste des scripts | pointeur vers le script (optionnel) | nom de script (peut démarrer ou se terminer par "*" comme joker) (optionnel)
|
||||
|
||||
| weechat | bar | liste des barres
|
||||
| tcl | tcl_script | liste des scripts | pointeur vers le script (optionnel) | nom de script (peut démarrer ou se terminer par "*" comme joker) (optionnel)
|
||||
|
||||
| weechat | bar_item | liste des objets de barres
|
||||
| weechat | bar | liste des barres | pointeur vers la barre (optionnel) | nom de barre (peut démarrer ou se terminer par "*" comme joker) (optionnel)
|
||||
|
||||
| weechat | bar_window | liste des fenêtres de barre
|
||||
| weechat | bar_item | liste des objets de barres | pointeur vers l'objet de barre (optionnel) | nom d'objet de barre (peut démarrer ou se terminer par "*" comme joker) (optionnel)
|
||||
|
||||
| weechat | buffer | liste des tampons
|
||||
| weechat | bar_window | liste des fenêtres de barre | pointeur vers la fenêtre de barre (optionnel) | -
|
||||
|
||||
| weechat | buffer_lines | lignes d'un tampon
|
||||
| weechat | buffer | liste des tampons | pointeur vers le tampon (optionnel) | nom de tampon (peut démarrer ou se terminer par "*" comme joker) (optionnel)
|
||||
|
||||
| weechat | filter | liste des filtres
|
||||
| weechat | buffer_lines | lignes d'un tampon | pointeur vers le tampon | -
|
||||
|
||||
| weechat | history | historique des commandes
|
||||
| weechat | filter | liste des filtres | - | nom de filtre (peut démarrer ou se terminer par "*" comme joker) (optionnel)
|
||||
|
||||
| weechat | hook | liste des hooks
|
||||
| weechat | history | historique des commandes | pointeur vers le tampon (si non défini, retourne l'historique global) (optionnel) | -
|
||||
|
||||
| weechat | hotlist | liste des tampons dans la hotlist
|
||||
| weechat | hook | liste des hooks | - | type de hook: command, timer, .. (optionnel)
|
||||
|
||||
| weechat | key | liste des associations de touches
|
||||
| weechat | hotlist | liste des tampons dans la hotlist | - | -
|
||||
|
||||
| weechat | nicklist | pseudos dans la liste des pseudos pour un tampon
|
||||
| weechat | key | liste des associations de touches | - | -
|
||||
|
||||
| weechat | option | liste des options
|
||||
| weechat | nicklist | pseudos dans la liste des pseudos pour un tampon | pointeur vers le tampon | nick_xxx ou group_xxx pour avoir seulement le pseudo/groupe xxx (optionnel)
|
||||
|
||||
| weechat | plugin | liste des extensions
|
||||
| weechat | option | liste des options | - | nom d'option (peut démarrer ou se terminer par "*" comme joker) (optionnel)
|
||||
|
||||
| weechat | window | liste des fenêtres
|
||||
| weechat | plugin | liste des extensions | pointeur vers l'extension (optionnel) | nom d'extension (peut démarrer ou se terminer par "*" comme joker) (optionnel)
|
||||
|
||||
| xfer | xfer | liste des xfer
|
||||
| weechat | window | liste des fenêtres | pointeur vers la fenêtre (optionnel) | nom de fenêtre (peut démarrer ou se terminer par "*" comme joker) (optionnel)
|
||||
|
||||
| xfer | xfer | liste des xfer | pointeur vers le xfer (optionnel) | -
|
||||
|
||||
|========================================
|
||||
|
||||
@@ -1,36 +1,47 @@
|
||||
[width="65%",cols="^1,^2,8",options="header"]
|
||||
[width="100%",cols="^1,^2,6,6",options="header"]
|
||||
|========================================
|
||||
| Plugin | Name | Description
|
||||
| fifo | fifo_filename | nom du tube FIFO
|
||||
| Extension | Nom | Description | Paramètres
|
||||
|
||||
| irc | irc_buffer | retourne le pointeur vers le tampon pour un serveur/canal IRC
|
||||
| fifo | fifo_filename | nom du tube FIFO | -
|
||||
|
||||
| irc | irc_is_channel | 1 si la chaîne est un canal IRC
|
||||
| irc | irc_buffer | retourne le pointeur vers le tampon pour un serveur/canal/pseudo IRC | serveur,canal,pseudo (canal et pseudo sont optionnels)
|
||||
|
||||
| irc | irc_nick | retourne le pseudo utilisé actuellement sur un serveur
|
||||
| irc | irc_is_channel | 1 si la chaîne est un nom de canal IRC valide | nom de canal
|
||||
|
||||
| irc | irc_nick_from_host | retourne le pseudo à partir d'un host IRC
|
||||
| irc | irc_is_nick | 1 si la chaîne est un pseudo IRC valide | pseudo
|
||||
|
||||
| weechat | charset_internal | charset interne à WeeChat
|
||||
| irc | irc_nick | retourne le pseudo utilisé actuellement sur un serveur | nom de serveur
|
||||
|
||||
| weechat | charset_terminal | charset du terminal
|
||||
| irc | irc_nick_color | retourne la couleur du pseudo | pseudo
|
||||
|
||||
| weechat | date | date de compilation de WeeChat
|
||||
| irc | irc_nick_from_host | retourne le pseudo à partir d'un host IRC | host IRC (comme `:pseudo!nom@serveur.com`)
|
||||
|
||||
| weechat | dir_separator | séparateur de répertoire
|
||||
| weechat | charset_internal | charset interne à WeeChat | -
|
||||
|
||||
| weechat | filters_enabled | 1 si les filtres sont activés
|
||||
| weechat | charset_terminal | charset du terminal | -
|
||||
|
||||
| weechat | inactivity | inactivité du clavier (secondes)
|
||||
| weechat | date | date de compilation de WeeChat | -
|
||||
|
||||
| weechat | version | version de WeeChat
|
||||
| weechat | dir_separator | séparateur de répertoire | -
|
||||
|
||||
| weechat | weechat_dir | répertoire de WeeChat
|
||||
| weechat | filters_enabled | 1 si les filtres sont activés | -
|
||||
|
||||
| weechat | weechat_libdir | répertoire "lib" de WeeChat
|
||||
| weechat | inactivity | inactivité du clavier (secondes) | -
|
||||
|
||||
| weechat | weechat_localedir | répertoire "locale" de WeeChat
|
||||
| weechat | version | version de WeeChat | -
|
||||
|
||||
| weechat | weechat_sharedir | répertoire "share" de WeeChat
|
||||
| weechat | version_number | version de WeeChat (sous forme de nombre) | -
|
||||
|
||||
| weechat | weechat_dir | répertoire de WeeChat | -
|
||||
|
||||
| weechat | weechat_libdir | répertoire "lib" de WeeChat | -
|
||||
|
||||
| weechat | weechat_localedir | répertoire "locale" 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 | -
|
||||
|
||||
|========================================
|
||||
|
||||
@@ -1,15 +1,34 @@
|
||||
• *`/alias`* `[nom_alias [commande [paramètres]]]`::
|
||||
• *`/alias`* `[[-completion complétion] nom_alias [commande [paramètres]]]`::
|
||||
|
||||
........................................
|
||||
créer un alias pour une commande
|
||||
|
||||
nom_alias: nom de l'alias
|
||||
complétion: complétion pour l'alias (optionnel, par défaut la complétion se fait avec la commande cible)
|
||||
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)
|
||||
paramètres: paramètres pour la commande
|
||||
|
||||
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.
|
||||
Les variables $nick, $channel et $server sont remplacées par le pseudo/canal/serveur courant.
|
||||
Note : dans la commande, les variables spéciales sont remplacées :
|
||||
$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
|
||||
|
||||
Pour supprimer un alias, utilisez la commande /unalias.
|
||||
|
||||
Exemples:
|
||||
alias /split pour diviser la fenêtre horizontalement :
|
||||
/alias split /window splith
|
||||
alias /hello pour dire "hello" sur tous les canaux mais pas sur #weechat :
|
||||
/alias hello /allchan -exclude=#weechat msg * hello
|
||||
alias /forcejoin pour envoyer la commande IRC "forcejoin" avec la complétion de /sajoin :
|
||||
/alias -completion %%sajoin forcejoin /quote forcejoin
|
||||
........................................
|
||||
|
||||
|
||||
@@ -6,29 +6,39 @@
|
||||
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
|
||||
........................................
|
||||
|
||||
• *`/away`* `[-all] [message]`::
|
||||
|
||||
........................................
|
||||
basculer le statut absent
|
||||
|
||||
-all: basculer le statut absent sur tous les serveurs connectés
|
||||
message: message pour l'absence (si pas de message donné, le statut d'absence est supprimé)
|
||||
-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
|
||||
........................................
|
||||
|
||||
• *`/ban`* `[canal] [pseudo [pseudo ...]]`::
|
||||
@@ -40,18 +50,26 @@
|
||||
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] | -open [-nojoin] | nom_serveur [nom_serveur ...] [-nojoin] | nom[/port] [-option[=valeur]] [-nooption]]`::
|
||||
|
||||
........................................
|
||||
se connecter à un/plusieurs serveur(s) IRC
|
||||
|
||||
-all: se reconnecter à tous les serveurs
|
||||
nom_serveur: nom du serveur pour se connecter
|
||||
-all: se connecter à tous les serveurs définis dans la configuration
|
||||
-open: se connecter à tous les serveurs ouverts qui ne sont pas actuellement connectés
|
||||
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)
|
||||
nom/IP: nom/IP pour se connecter
|
||||
port: port pour le serveur (nombre entier, 6667 par défaut)
|
||||
ipv6: utiliser le protocole IPv6
|
||||
ssl: utiliser le protocole SSL
|
||||
nom: nom (ou adresse IP) d'un serveur
|
||||
port: port pour le serveur (6667 par défaut)
|
||||
option: définir l'option pour le serveur (pour une option booléenne, la valeur peut être omise)
|
||||
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]`::
|
||||
@@ -81,6 +99,12 @@
|
||||
action: 'send' (envoi de fichier) ou 'chat' (discussion)
|
||||
pseudo: pseudo pour envoyer le fichier ou discuter
|
||||
fichier: nom du fichier (sur la machine locale)
|
||||
|
||||
Exemples:
|
||||
discuter avec le pseudo "toto":
|
||||
/dcc chat toto
|
||||
envoyer le fichier "/home/foo/bar.txt" au pseudo "toto":
|
||||
/dcc send toto /home/foo/bar.txt
|
||||
........................................
|
||||
|
||||
• *`/dehalfop`* `[pseudo [pseudo]]`::
|
||||
@@ -197,6 +221,12 @@
|
||||
canal: canal où l'utilisateur se trouve
|
||||
pseudo: pseudo à éliminer et bannir
|
||||
commentaire: commentaire pour l'élimination
|
||||
|
||||
Il est possible d'émiliner/bannir avec un masque, le pseudo sera extrait du masque et remplacé par "*".
|
||||
|
||||
Exemple:
|
||||
bannit "*!*@host.com" puis élimine "toto":
|
||||
/kickban toto!*@host.com
|
||||
........................................
|
||||
|
||||
• *`/kill`* `pseudo commentaire`::
|
||||
@@ -217,13 +247,22 @@
|
||||
masque_serveur: liste des serveurs correspondant au masque
|
||||
........................................
|
||||
|
||||
• *`/list`* `[canal[,canal] [serveur]]`::
|
||||
• *`/list`* `[canal[,canal] [serveur] [-re regexp]]`::
|
||||
|
||||
........................................
|
||||
lister les canaux et leur titre
|
||||
|
||||
canal: canal à lister (une expression régulière est acceptée)
|
||||
canal: canal à lister
|
||||
serveur: nom du serveur
|
||||
regexp: expression régulière utilisée pour filtrer les résultats
|
||||
|
||||
Exemples:
|
||||
lister tous les canaux du serveur (peut être très lent pour les grands réseaux):
|
||||
/list
|
||||
lister le canal #weechat:
|
||||
/list #weechat
|
||||
lister tous les canaux commençant par "#weechat" (peut être très lent pour les grands réseaux):
|
||||
/list -re #weechat.*
|
||||
........................................
|
||||
|
||||
• *`/lusers`* `[masque [cible]]`::
|
||||
@@ -235,6 +274,12 @@
|
||||
cible: serveur pour faire suivre la requête
|
||||
........................................
|
||||
|
||||
• *`/map`*::
|
||||
|
||||
........................................
|
||||
afficher une carte graphique du réseau IRC
|
||||
........................................
|
||||
|
||||
• *`/me`* `message`::
|
||||
|
||||
........................................
|
||||
@@ -385,10 +430,12 @@
|
||||
-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
|
||||
|
||||
option: option supplémentaire, pour certains serveurs
|
||||
........................................
|
||||
|
||||
• *`/restart`*::
|
||||
@@ -397,20 +444,64 @@
|
||||
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
|
||||
|
||||
list: afficher les serveurs (pas de paramètre implique cette liste)
|
||||
list: afficher les serveurs (sans paramètre, cette liste est affichée)
|
||||
listfull: afficher les serveurs avec de l'info détaillée pour chaque
|
||||
add: créer un nouveau serveur
|
||||
nom_serveur: nom du serveur, pour usage interne et affichage
|
||||
nom: nom ou adresse IP du serveur avec port en option (defaut: 6667)
|
||||
auto: se connecter automatiquement au serveur quand WeeChat démarre
|
||||
noauto: ne pas se connecter au serveur quand WeeChat démarre (par défaut)
|
||||
ipv6: utiliser le protocole IPv6
|
||||
ssl: utiliser le protocole SSL
|
||||
nom: nom ou adresse IP du serveur avec port en option (defaut: 6667), plusieurs addresses peuvent être séparées par une virgule
|
||||
temp: créer un serveur temporaire (non sauvé)
|
||||
option: définir l'option pour le serveur (pour une option booléenne, la valeur peut être omise)
|
||||
nooption: définir l'option booléenne à 'off' (par exemple: -nossl)
|
||||
copy: dupliquer un serveur
|
||||
rename: renommer un serveur
|
||||
keep: garder le serveur dans le fichier de configuration (pour les serveurs temporaires seulement)
|
||||
@@ -421,9 +512,10 @@
|
||||
|
||||
Exemples:
|
||||
/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 freenode2 chat.eu.freenode.net/6667,chat.us.freenode.net/6667
|
||||
/server add freenode3 irc.freenode.net -password=mypass
|
||||
/server copy oftc oftcbis
|
||||
/server rename oftc newoftc
|
||||
/server del freenode
|
||||
|
||||
@@ -33,18 +33,28 @@
|
||||
** type: booléen
|
||||
** 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*
|
||||
** description: affiche un message pour l'absence/le retour
|
||||
** type: entier
|
||||
** valeurs: off, local, channel (valeur par défaut: local)
|
||||
|
||||
* *irc.look.display_channel_modes*
|
||||
** description: affiche les modes du canal dans l'objet de barre "buffer_name"
|
||||
* *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_nick_modes*
|
||||
** description: affiche les modes du pseudo dans l'objet de barre "input_prompt"
|
||||
* *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)
|
||||
|
||||
@@ -63,11 +73,36 @@
|
||||
** type: chaîne
|
||||
** valeurs: toute chaîne (valeur par défaut: "irc_privmsg,irc_notice")
|
||||
|
||||
* *irc.look.item_channel_modes*
|
||||
** description: affiche les modes du canal dans l'objet de barre "buffer_name"
|
||||
** type: booléen
|
||||
** valeurs: on, off (valeur par défaut: on)
|
||||
|
||||
* *irc.look.item_channel_modes_hide_key*
|
||||
** description: cacher la clé du canal si les modes sont affichés dans l'objet de barre "buffer_name" (cela cachera tous les paramètres des modes du canal si le mode +k est défini sur le canal)
|
||||
** type: booléen
|
||||
** valeurs: on, off (valeur par défaut: off)
|
||||
|
||||
* *irc.look.item_display_server*
|
||||
** description: nom de l'objet de barre où est affiché le serveur IRC (pour la barre de statut)
|
||||
** type: entier
|
||||
** valeurs: buffer_plugin, buffer_name (valeur par défaut: buffer_plugin)
|
||||
|
||||
* *irc.look.item_nick_modes*
|
||||
** description: affiche les modes du pseudo dans l'objet de barre "input_prompt"
|
||||
** type: booléen
|
||||
** valeurs: on, off (valeur par défaut: on)
|
||||
|
||||
* *irc.look.item_nick_prefix*
|
||||
** description: affiche le préfixe du pseudo dans l'objet de barre "input_prompt"
|
||||
** type: booléen
|
||||
** valeurs: on, off (valeur par défaut: on)
|
||||
|
||||
* *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*
|
||||
** description: complétion intelligente pour les pseudos (complète d'abord avec les personnes qui ont parlé récemment)
|
||||
** type: entier
|
||||
@@ -98,6 +133,11 @@
|
||||
** type: booléen
|
||||
** valeurs: on, off (valeur par défaut: off)
|
||||
|
||||
* *irc.look.part_closes_buffer*
|
||||
** description: fermer le tampon lorsque /part est exécuté sur un canal
|
||||
** type: booléen
|
||||
** valeurs: on, off (valeur par défaut: off)
|
||||
|
||||
* *irc.look.raw_messages*
|
||||
** description: nombre de messages IRC bruts à sauvegarder en mémoire lorsque le tampon des données brutes est fermé (ces messages seront affichés lors de l'ouverture du tampon des données brutes)
|
||||
** type: entier
|
||||
@@ -116,22 +156,37 @@
|
||||
* *irc.look.smart_filter*
|
||||
** description: filtrer les messages join/part/quit pour un pseudo s'il n'a pas parlé pendant quelques minutes sur le canal (vous devez créer un filtre sur le tag "irc_smart_filter")
|
||||
** type: booléen
|
||||
** valeurs: on, off (valeur par défaut: off)
|
||||
** valeurs: on, off (valeur par défaut: on)
|
||||
|
||||
* *irc.look.smart_filter_delay*
|
||||
** description: délai pour filtrer les messages join/part/quit (en minutes)
|
||||
** type: entier
|
||||
** valeurs: 1 .. 10080 (valeur par défaut: 5)
|
||||
|
||||
* *irc.look.smart_filter_join*
|
||||
** description: activer le filtre intelligent pour les messages "join"
|
||||
** type: booléen
|
||||
** valeurs: on, off (valeur par défaut: on)
|
||||
|
||||
* *irc.look.smart_filter_quit*
|
||||
** description: activer le filtre intelligent pour les messages "part" et "quit"
|
||||
** type: booléen
|
||||
** valeurs: on, off (valeur par défaut: on)
|
||||
|
||||
* *irc.look.topic_strip_colors*
|
||||
** description: supprimer les couleurs dans le titre (utilisé seulement lors de l'affichage du titre du tampon)
|
||||
** type: booléen
|
||||
** valeurs: on, off (valeur par défaut: off)
|
||||
|
||||
* *irc.network.anti_flood*
|
||||
** description: anti-flood: nombre de secondes entre deux messages utilisateur (0 = pas d'anti-flood)
|
||||
* *irc.network.anti_flood_prio_high*
|
||||
** 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
|
||||
** 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*
|
||||
** description: intervalle entre deux vérifications des absences (en minutes, 0 = ne jamais vérifier)
|
||||
@@ -141,7 +196,7 @@
|
||||
* *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)
|
||||
** type: entier
|
||||
** valeurs: 0 .. 2147483647 (valeur par défaut: 0)
|
||||
** valeurs: 0 .. 2147483647 (valeur par défaut: 25)
|
||||
|
||||
* *irc.network.colors_receive*
|
||||
** description: si désactivé, les codes couleurs des messages entrants sont ignorés
|
||||
@@ -153,6 +208,11 @@
|
||||
** type: booléen
|
||||
** valeurs: on, off (valeur par défaut: on)
|
||||
|
||||
* *irc.network.connection_timeout*
|
||||
** description: délai d'attente (en secondes) entre la connexion TCP au serveur et la réception du message 001, si ce délai est atteint avant que le message 001 soit reçu, WeeChat se déconnectera du serveur
|
||||
** type: entier
|
||||
** valeurs: 1 .. 3600 (valeur par défaut: 60)
|
||||
|
||||
* *irc.network.default_msg_part*
|
||||
** description: message par défaut pour le part (en quittant un canal) ("%v" sera remplacé par la version de WeeChat dans la chaîne)
|
||||
** type: chaîne
|
||||
@@ -164,7 +224,7 @@
|
||||
** valeurs: toute chaîne (valeur par défaut: "WeeChat %v")
|
||||
|
||||
* *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
|
||||
** valeurs: 0 .. 2147483647 (valeur par défaut: 60)
|
||||
|
||||
@@ -209,10 +269,15 @@
|
||||
** valeurs: 0 .. 65535 (valeur par défaut: 30)
|
||||
|
||||
* *irc.server_default.autorejoin*
|
||||
** description: rejoindre automatiquement les canaux quand mis dehors
|
||||
** description: rejoindre automatiquement les canaux après un "kick"
|
||||
** type: booléen
|
||||
** 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*
|
||||
** 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
|
||||
@@ -253,11 +318,46 @@
|
||||
** type: chaîne
|
||||
** valeurs: toute chaîne (valeur par défaut: "")
|
||||
|
||||
* *irc.server_default.sasl_mechanism*
|
||||
** description: mécanisme pour l'authentification SASL
|
||||
** type: entier
|
||||
** valeurs: plain, dh-blowfish (valeur par défaut: plain)
|
||||
|
||||
* *irc.server_default.sasl_password*
|
||||
** description: mot de passe pour l'authentification SASL
|
||||
** type: chaîne
|
||||
** valeurs: toute chaîne (valeur par défaut: "")
|
||||
|
||||
* *irc.server_default.sasl_timeout*
|
||||
** description: délai d'attende maximum (en secondes) avant d'abandonner l'authentification SASL
|
||||
** type: entier
|
||||
** valeurs: 1 .. 3600 (valeur par défaut: 15)
|
||||
|
||||
* *irc.server_default.sasl_username*
|
||||
** description: nom d'utilisateur pour l'authentification SASL
|
||||
** type: chaîne
|
||||
** valeurs: toute chaîne (valeur par défaut: "")
|
||||
|
||||
* *irc.server_default.ssl*
|
||||
** description: utiliser SSL pour la communication avec le serveur
|
||||
** type: booléen
|
||||
** 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*
|
||||
** description: nom d'utilisateur pour le serveur
|
||||
** type: chaîne
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
** valeurs: on, off (valeur par défaut: off)
|
||||
|
||||
* *logger.file.mask*
|
||||
** description: masque de fichier par défaut pour les fichiers de log (le format est "repertoire/vers/fichier" ou "fichier", sans le premier "/" car l'option "path" est utilisée pour construire le chemin complet vers le fichier); les variables locales du tampon sont permises
|
||||
** description: masque de fichier par défaut pour les fichiers de log (le format est "repertoire/vers/fichier" ou "fichier", sans le premier "/" car l'option "path" est utilisée pour construire le chemin complet vers le fichier); les variables locales du tampon sont permises; les caractères de formatage de date sont autorisés (voir man strftime)
|
||||
** type: chaîne
|
||||
** valeurs: toute chaîne (valeur par défaut: "$plugin.$name.weechatlog")
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
** valeurs: on, off (valeur par défaut: on)
|
||||
|
||||
* *logger.file.path*
|
||||
** description: chemin pour les fichiers de log WeeChat ("%h" sera remplacé par le répertoire de base WeeChat, par défaut: "~/.weechat")
|
||||
** description: chemin pour les fichiers de log WeeChat; "%h" au début de la chaîne est remplacé par le répertoire de base WeeChat (par défaut: "~/.weechat"); les caractères de formatage de date sont autorisés (voir man strftime)
|
||||
** type: chaîne
|
||||
** valeurs: toute chaîne (valeur par défaut: "%h/logs/")
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
** valeurs: toute chaîne (valeur par défaut: "_")
|
||||
|
||||
* *logger.file.time_format*
|
||||
** description: format de date/heure utilisé dans les fichiers log (voir strftime(3) pour le format de date/heure)
|
||||
** description: format de date/heure utilisé dans les fichiers log (voir man strftime pour le format de date/heure)
|
||||
** type: chaîne
|
||||
** valeurs: toute chaîne (valeur par défaut: "%Y-%m-%d %H:%M:%S")
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
• *`/lua`* `[list [nom]] | [listfull [nom]] | [load fichier] | [autoload] | [reload] | [unload [nom]]`::
|
||||
• *`/lua`* `[list [nom]] | [listfull [nom]] | [load fichier] | [autoload] | [reload [nom]] | [unload [nom]]`::
|
||||
|
||||
........................................
|
||||
liste/charge/décharge des scripts
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
• *`/perl`* `[list [nom]] | [listfull [nom]] | [load fichier] | [autoload] | [reload] | [unload [nom]]`::
|
||||
• *`/perl`* `[list [nom]] | [listfull [nom]] | [load fichier] | [autoload] | [reload [nom]] | [unload [nom]]`::
|
||||
|
||||
........................................
|
||||
liste/charge/décharge des scripts
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
• *`/python`* `[list [nom]] | [listfull [nom]] | [load fichier] | [autoload] | [reload] | [unload [nom]]`::
|
||||
• *`/python`* `[list [nom]] | [listfull [nom]] | [load fichier] | [autoload] | [reload [nom]] | [unload [nom]]`::
|
||||
|
||||
........................................
|
||||
liste/charge/décharge des scripts
|
||||
|
||||
@@ -1,10 +1,16 @@
|
||||
• *`/relay`* `[list | listfull]`::
|
||||
• *`/relay`* `[list | listfull | add protocole.nom port | del protocole.nom]`::
|
||||
|
||||
........................................
|
||||
contrôle du relai
|
||||
|
||||
list: liste les clients pour le relai
|
||||
listfull: liste les clients pour le relai (verbeux)
|
||||
list: liste les clients pour le relai
|
||||
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.
|
||||
........................................
|
||||
|
||||
@@ -43,13 +43,8 @@
|
||||
** type: booléen
|
||||
** valeurs: on, off (valeur par défaut: on)
|
||||
|
||||
* *relay.network.enabled*
|
||||
** description: activer le relai
|
||||
** type: booléen
|
||||
** valeurs: on, off (valeur par défaut: off)
|
||||
|
||||
* *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")
|
||||
* *relay.network.max_clients*
|
||||
** description: nombre maximum de clients qui se connectent sur un port
|
||||
** type: entier
|
||||
** valeurs: 1 .. 1024 (valeur par défaut: 5)
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
• *`/ruby`* `[list [nom]] | [listfull [nom]] | [load fichier] | [autoload] | [reload] | [unload [nom]]`::
|
||||
• *`/ruby`* `[list [nom]] | [listfull [nom]] | [load fichier] | [autoload] | [reload [nom]] | [unload [nom]]`::
|
||||
|
||||
........................................
|
||||
liste/charge/décharge des scripts
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
• *`/tcl`* `[list [nom]] | [listfull [nom]] | [load fichier] | [autoload] | [reload] | [unload [nom]]`::
|
||||
• *`/tcl`* `[list [nom]] | [listfull [nom]] | [load fichier] | [autoload] | [reload [nom]] | [unload [nom]]`::
|
||||
|
||||
........................................
|
||||
liste/charge/décharge des scripts
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user