mirror of
https://github.com/weechat/weechat.git
synced 2026-06-16 08:04:46 +02:00
Compare commits
385 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| ba5664a019 | |||
| b045a35c44 | |||
| a355f6a41c | |||
| e459939ead | |||
| e0281a40f0 | |||
| 5877a458ea | |||
| 4f62af028d | |||
| fc1cdf68e3 | |||
| 0c66b91007 | |||
| 4ad5f7bbc9 | |||
| 19ed7740b1 | |||
| a0f814e75b | |||
| 0f920d6396 | |||
| c6fdeaf7e5 | |||
| 9f08029361 | |||
| 8b17cbb16c | |||
| c6b7a244d6 | |||
| 8c06006828 | |||
| 345be1ec5e | |||
| 0a7b708a1f | |||
| f43eb87d9d | |||
| 5eba5e980d | |||
| 00f3fbdfe1 | |||
| 86a8b9fb5f | |||
| 305175fb8c | |||
| bf8ee88dd8 | |||
| 11d8dd1b51 | |||
| ebcea798bb | |||
| 1c4e3c0e84 | |||
| e009884595 | |||
| 2479f427f7 | |||
| 16cc0b6088 | |||
| cf8a125ef2 | |||
| 4b1d87640c | |||
| bdbe7e0c37 | |||
| 8219039867 | |||
| bfd8c6918c | |||
| 2a4e9aef8a | |||
| c8505efac0 | |||
| 509a58b1d5 | |||
| fcd71d14bc | |||
| 09c5e8cbdf | |||
| 4cf6628d85 | |||
| fda70ec57d | |||
| c95f3d84d0 | |||
| 00c1c81c0b | |||
| 9ffab0bec4 | |||
| d70532250b | |||
| fe6cb5c1b3 | |||
| 67f6668d1b | |||
| aa10e20295 | |||
| 33e7ad43d6 | |||
| 5dbda28263 | |||
| fe512fdd33 | |||
| 1871a774f3 | |||
| adbfda00f5 | |||
| d654fca853 | |||
| 2ffa199a7d | |||
| ff26a8d550 | |||
| fad848bf7c | |||
| a08603c24c | |||
| e03310cb0d | |||
| cfe043e4b0 | |||
| 4b4d80bdc5 | |||
| cac2342165 | |||
| 50254dee23 | |||
| 4fdbb83a07 | |||
| 55e58811b3 | |||
| 19acf8121f | |||
| 239f853120 | |||
| c09e383325 | |||
| bbd080e680 | |||
| 3e1d811761 | |||
| a290589f7c | |||
| cf2ad51f62 | |||
| a9ff529d83 | |||
| fa2b1d6bf9 | |||
| e056f20643 | |||
| 149c77decd | |||
| 46677c79fc | |||
| 30e6acb00d | |||
| e1e3109da3 | |||
| 3fb123510a | |||
| 81cc688166 | |||
| d74041de25 | |||
| 7672139d6b | |||
| aa2f5d8acc | |||
| 37e609252c | |||
| 7cf9c8a656 | |||
| afc1dd4f6b | |||
| cc3fb26024 | |||
| f27f91467a | |||
| b63fca15fa | |||
| 0b0238a188 | |||
| ad842577c5 | |||
| d2ff46fa69 | |||
| 9fdeef247e | |||
| fced67b459 | |||
| b352891c2b | |||
| 8b925baa3c | |||
| 844ba9e1c0 | |||
| 11396b3266 | |||
| d2550f89f4 | |||
| 6972b1aafa | |||
| e890ac0a81 | |||
| 0e641e0c45 | |||
| b84f6b5a1b | |||
| cecb546c24 | |||
| b60aec975b | |||
| 87b5096972 | |||
| f5bc12e72c | |||
| 9beb263e4a | |||
| c17d3e155c | |||
| 6394a3d1e1 | |||
| 62aa07b00f | |||
| 6faa1a0db8 | |||
| 9857b44e4e | |||
| c43d48a9df | |||
| e4529079a8 | |||
| 9f0a16e586 | |||
| 50eb1f51fd | |||
| 67838983ad | |||
| 4e4fd3f54d | |||
| bc079b007d | |||
| 6e3f6270d1 | |||
| 8b875cd412 | |||
| c1bc23b052 | |||
| 47e1caa91f | |||
| 9da086b827 | |||
| 01153cd478 | |||
| eed0878231 | |||
| 11bbf0a062 | |||
| c37016e5ea | |||
| 49043bf1b0 | |||
| f7811b0ae2 | |||
| 8d5dee9aa0 | |||
| 62ff697772 | |||
| 10820c7336 | |||
| 0cb84638dc | |||
| c2aeb69c46 | |||
| eb11921f16 | |||
| 190c5dfcc2 | |||
| 96da9b91cf | |||
| d406bed521 | |||
| 7e0a675b62 | |||
| d4b1b50311 | |||
| e4149b073d | |||
| 3e2bf9be0a | |||
| de6bf18e47 | |||
| 1cdbc27abf | |||
| 95687e8057 | |||
| 7a1f9a1d7f | |||
| afe729435a | |||
| 7829b1ccba | |||
| 8796626ea2 | |||
| 3306c0f3b5 | |||
| 07c8063993 | |||
| ac94f68b59 | |||
| 08f360692d | |||
| 6983d34e88 | |||
| 5d2382caab | |||
| 8b43151c85 | |||
| ad60321843 | |||
| 792d607027 | |||
| cb617d8b23 | |||
| 25eaec3864 | |||
| f4dce04723 | |||
| a5aaed89d2 | |||
| 54a2067422 | |||
| 95bcc49063 | |||
| 3d9886f82e | |||
| 05390016c0 | |||
| 62e9a1715b | |||
| 27b539affe | |||
| 1918bd1d4e | |||
| 0e3bec6d2e | |||
| 1edabb98f5 | |||
| 2dea08aba8 | |||
| 5f7733c4a7 | |||
| ff15aa40a6 | |||
| 3a782b017f | |||
| d5e546f2c6 | |||
| ff15c0a41b | |||
| 762c96d85a | |||
| 2087a19bbe | |||
| 7cdabf79be | |||
| 1364fe8a0e | |||
| a9c4534e3c | |||
| 9ebea835dd | |||
| 0ad8866d6b | |||
| df2867ac27 | |||
| 68bbe7ca0a | |||
| 0f143da012 | |||
| 280e9bd0b1 | |||
| 8e587f7093 | |||
| 08d27eb81c | |||
| e0deceb366 | |||
| f14f34e9af | |||
| d39bb4d6ab | |||
| f1540115d0 | |||
| 1af6148067 | |||
| 6fdee3aa9f | |||
| 4123263b8c | |||
| 1b56e084dc | |||
| 1e20dd16e5 | |||
| a6bc15e69d | |||
| db62b272b5 | |||
| 4a554d48d2 | |||
| 57024ab1e4 | |||
| ca205ccb8c | |||
| f1580f5276 | |||
| 3c782bd905 | |||
| 8b61a55764 | |||
| 53c6b62ae3 | |||
| 0b1550afe1 | |||
| d5a5af88ca | |||
| 87df83a1fb | |||
| aaa0cf1954 | |||
| 6d636b6118 | |||
| 793a3cb1ba | |||
| 224a0f0afa | |||
| 2ca30ed7a9 | |||
| 7d1ad59dde | |||
| 1a646d5dbf | |||
| c34ae99b9a | |||
| 125068f101 | |||
| ae618bcf6a | |||
| cd37f12059 | |||
| bd21daebd1 | |||
| faccb87a10 | |||
| 323801f869 | |||
| 680486b1d3 | |||
| a421d330bf | |||
| cd944052ef | |||
| a543404428 | |||
| fec8a1d122 | |||
| 1c17274178 | |||
| da56eb6978 | |||
| e21de5ce96 | |||
| 27195e22d6 | |||
| 94ba7e07ce | |||
| bf610aa603 | |||
| 72f760cd48 | |||
| 3df1d70bb5 | |||
| 4ebd300340 | |||
| e2bf63cca1 | |||
| 77afab57ed | |||
| 632e2c1eae | |||
| f97598b4aa | |||
| 01a1316816 | |||
| dd6e5282e8 | |||
| 302b0f2f65 | |||
| 306b209421 | |||
| e557239a4c | |||
| 45d5034ea0 | |||
| 9a024f3aba | |||
| 67a111f7f2 | |||
| cf76379aa9 | |||
| 2e48874ce0 | |||
| 2597bafe36 | |||
| 33f01dcb63 | |||
| 0c15deefc0 | |||
| c08cacd3c0 | |||
| 992ed5b75c | |||
| 135c740f73 | |||
| 85eb3424cd | |||
| 9b10edb6c5 | |||
| fa1665ef81 | |||
| a67d97f16e | |||
| 0e726b43ef | |||
| dd96e6daef | |||
| 1b0ce4bf8b | |||
| 2386c10917 | |||
| 0f749dc65d | |||
| 3fcb00bfc5 | |||
| e667b606a9 | |||
| 0faf58a287 | |||
| 491e31ff55 | |||
| d37184e450 | |||
| 2b78673aa9 | |||
| fc0b73207b | |||
| 7eb5cc4b97 | |||
| a64dad2597 | |||
| b2169e9175 | |||
| fd85d310cd | |||
| 857fb35dcb | |||
| 70ad2795ea | |||
| ce657fd7b6 | |||
| 7d34812f1c | |||
| 9db5682186 | |||
| 641de51bdb | |||
| 3f2155e548 | |||
| 5f4fc11213 | |||
| f7c47a8644 | |||
| eabf103e71 | |||
| 822ae76543 | |||
| d224594194 | |||
| d544a47e2c | |||
| 03cbb1c8f6 | |||
| dd99a1cf2c | |||
| 2ce90d4094 | |||
| 76647fc171 | |||
| f411a59a7d | |||
| 1fa23e6d9c | |||
| c89124aadc | |||
| 2ae8d81b1f | |||
| 638b2e3f1c | |||
| 72959d1d8b | |||
| b7abb77b4d | |||
| 37a3001dc7 | |||
| 9c3ee3c407 | |||
| 52519e11d2 | |||
| ab1d5404d4 | |||
| 8df76563fd | |||
| 1585593bda | |||
| dbff3de7e5 | |||
| 3856d527b7 | |||
| cdb13120ab | |||
| 215109e1a5 | |||
| 46a3d95aab | |||
| 53b8cdfef3 | |||
| 777f977ea5 | |||
| 1281b18688 | |||
| 425256b38d | |||
| 57293ffc96 | |||
| efb795c74f | |||
| c1389f8fe1 | |||
| adec2dec0e | |||
| f1d6f2c40a | |||
| bb09670757 | |||
| 5328fdcc73 | |||
| 7cd376b4b3 | |||
| 9453e81baa | |||
| e8ab9ba18d | |||
| a176d352e3 | |||
| bae9215e9e | |||
| 93d0438240 | |||
| 1dc44d3503 | |||
| 47df178c88 | |||
| 57d5afeda5 | |||
| 9e94bfd48b | |||
| ebc4ff82c0 | |||
| c848cb42d8 | |||
| 8e5d313885 | |||
| b1005fc23e | |||
| 8b52fc90d5 | |||
| 4d436e3ac6 | |||
| f7b53fe6aa | |||
| 7002c44622 | |||
| 00f663a8c3 | |||
| 32c93b5c0a | |||
| 3ec0ad7c62 | |||
| 9037c0fe4c | |||
| 7ee9e58d1b | |||
| ffe636ea48 | |||
| eba2211427 | |||
| 4b6eac3172 | |||
| 8c8bb8e72c | |||
| 130634ce6a | |||
| 883fb4d64d | |||
| c2b26972da | |||
| ed506558e8 | |||
| 93d3198b70 | |||
| 0d18ef16bb | |||
| d5f140805b | |||
| f42b3d382f | |||
| d403d7b79b | |||
| 066f184605 | |||
| 43c01f76a2 | |||
| 82a8acf9ce | |||
| 452229cf32 | |||
| 248aa8d73a | |||
| 70ce7fe3b6 | |||
| 5cfeb2f2bc | |||
| aa6b886386 | |||
| 872d1e0372 | |||
| 668cda2684 | |||
| 5443ae4cae | |||
| 5931eed85d | |||
| 8caeed6c4e | |||
| 33d90d75c3 | |||
| 485728a43f | |||
| 13d95cac8e | |||
| 6a8127d92e | |||
| e0959486e9 |
@@ -0,0 +1,5 @@
|
||||
# files/directories excluded from tarballs
|
||||
|
||||
.git* export-ignore
|
||||
debian export-ignore
|
||||
weechat.spec export-ignore
|
||||
+3
-5
@@ -18,7 +18,9 @@ ABOUT-NLS
|
||||
autom4te*
|
||||
build*/*
|
||||
config.guess
|
||||
config.h*
|
||||
config.h
|
||||
config.h.in*
|
||||
config-git.h
|
||||
config.log
|
||||
config.rpath
|
||||
config.status
|
||||
@@ -40,12 +42,8 @@ POTFILES
|
||||
remove-potcdate.sed
|
||||
Rules-quot
|
||||
weechat.pc
|
||||
doc/de/build/*
|
||||
doc/en/build/*
|
||||
doc/fr/build/*
|
||||
|
||||
*stamp
|
||||
stamp*
|
||||
|
||||
src/gui/curses/weechat-curses
|
||||
src/gui/gtk/weechat-gtk
|
||||
|
||||
@@ -6,48 +6,62 @@ Developers
|
||||
|
||||
* General code
|
||||
|
||||
** Sébastien Helleu <flashcode@flashtux.org>
|
||||
*** Web: http://www.weechat.org/
|
||||
*** IRC: 'FlashCode' on irc.freenode.net
|
||||
|
||||
** Sébastien Helleu (FlashCode) <flashcode@flashtux.org>
|
||||
|
||||
* Scripts plugins, debian packager
|
||||
|
||||
** Emmanuel Bouthenot <kolter@openics.org>
|
||||
*** IRC: 'kolter' on irc.freenode.net
|
||||
** Emmanuel Bouthenot (kolter) <kolter@openics.org>
|
||||
|
||||
|
||||
Contributors
|
||||
------------
|
||||
|
||||
* Julien Louis <ptitlouis@sysif.net>, IRC: 'ptitlouis'
|
||||
* Rudolf Polzer <rpolzer-rp@durchnull.de>, IRC: 'divVerent'
|
||||
* Jiri Golembiovsky <golemj@gmail.com>, IRC: 'GolemJ'
|
||||
* Jim Ramsay <i.am@jimramsay.com>, IRC: 'lack'
|
||||
* Odin <odin@dtdm.org>, IRC: 'Odin'
|
||||
* Pistos, IRC: 'pistos'
|
||||
* Gwenn, IRC: 'gwenn'
|
||||
* Voroskoi, IRC: 'voroskoi'
|
||||
* Frank Zacharias
|
||||
* Pavel Shevchuk, IRC: 'Stalwart'
|
||||
* soltys
|
||||
* Nils Görs
|
||||
* rettub
|
||||
* Elián Hanisch, IRC: 'm4v'
|
||||
* Marco Paolone
|
||||
Alphabetically:
|
||||
|
||||
* Ailin Nemui (Nei)
|
||||
* Aleksey V Zapparov
|
||||
* Andrew Potter
|
||||
* Arvydas Sidorenko
|
||||
* Benoit Papillault (benoit)
|
||||
* Dmitry Kobylin
|
||||
* Dominik Honnef
|
||||
* JD Horelick, IRC: 'jdhore'
|
||||
* Stefano Pigozzi
|
||||
* Ivan Sichmann Freitas
|
||||
* Elián Hanisch (m4v)
|
||||
* Elizabeth Myers (Elizacat)
|
||||
* Frank Zacharias
|
||||
* Gu1ll4um3r0m41n
|
||||
* gwenn
|
||||
* Ivan Sichmann Freitas
|
||||
* JD Horelick (jdhore)
|
||||
* Jim Ramsay (lack)
|
||||
* Jiri Golembiovsky (GolemJ)
|
||||
* Julien Louis (ptitlouis)
|
||||
* Krzysztof Koroscik (soltys)
|
||||
* Kyle Fuller (kylef)
|
||||
* Lázaro A.
|
||||
* Marco Paolone
|
||||
* Mateusz Poszwa
|
||||
* Nicolas Cavigneaux
|
||||
* Nils Görs (nils_2)
|
||||
* Odin
|
||||
* Pavel Shevchuk (Stalwart)
|
||||
* Peter Boström (pbos)
|
||||
* pistos
|
||||
* Quentin Glidic (SardemFF7)
|
||||
* Quico Noizeux
|
||||
* rettub
|
||||
* Rudolf Polzer (divVerent)
|
||||
* Ryuunosuke Ayanokouzi
|
||||
* Sergio Durigan Junior
|
||||
* Simon Arlott
|
||||
* Simon Kuhnle
|
||||
* Stefano Pigozzi
|
||||
* voroskoi
|
||||
|
||||
|
||||
Contact
|
||||
-------
|
||||
|
||||
Whole team is connected to IRC:
|
||||
server: 'irc.freenode.net', channels: '#weechat' (english) and '#weechat-fr' (french)
|
||||
Developers are connected to IRC:
|
||||
|
||||
|
||||
See README file for license detail.
|
||||
* server: 'irc.freenode.net'
|
||||
* channels: '#weechat' (english) and '#weechat-fr' (french)
|
||||
|
||||
+13
-12
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2007-2008 Julien Louis <ptitlouis@sysif.net>
|
||||
# Copyright (C) 2008-2009 Emmanuel Bouthenot <kolter@openics.org>
|
||||
#
|
||||
@@ -32,8 +32,8 @@ IF(PREFIX)
|
||||
ENDIF(PREFIX)
|
||||
|
||||
SET(VERSION_MAJOR "0")
|
||||
SET(VERSION_MINOR "3")
|
||||
SET(VERSION_PATCH "9")
|
||||
SET(VERSION_MINOR "4")
|
||||
SET(VERSION_PATCH "1")
|
||||
SET(VERSION ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH})
|
||||
SET(LICENSE "GPL3")
|
||||
SET(PKG_STRING "${PROJECT_NAME} ${VERSION}")
|
||||
@@ -64,7 +64,6 @@ ELSE(DEFINED INCLUDEDIR)
|
||||
ENDIF(DEFINED INCLUDEDIR)
|
||||
|
||||
OPTION(ENABLE_NCURSES "Enable Ncurses interface" ON)
|
||||
OPTION(ENABLE_GTK "Enable GTK interface" OFF)
|
||||
OPTION(ENABLE_NLS "Enable Native Language Support" ON)
|
||||
OPTION(ENABLE_GNUTLS "Enable SSLv3/TLS support" ON)
|
||||
OPTION(ENABLE_LARGEFILE "Enable Large File Support" ON)
|
||||
@@ -81,6 +80,7 @@ OPTION(ENABLE_SCRIPT "Enable Script plugin (scripts manager)" ON)
|
||||
OPTION(ENABLE_SCRIPTS "Enable script plugins (perl, python, ...)" ON)
|
||||
OPTION(ENABLE_PERL "Enable Perl scripting language" ON)
|
||||
OPTION(ENABLE_PYTHON "Enable Python scripting language" ON)
|
||||
OPTION(ENABLE_PYTHON3 "Use Python 3.x if found (NOT recommended)" OFF)
|
||||
OPTION(ENABLE_RUBY "Enable Ruby scripting language" ON)
|
||||
OPTION(ENABLE_LUA "Enable Lua scripting language" ON)
|
||||
OPTION(ENABLE_TCL "Enable Tcl scripting language" ON)
|
||||
@@ -106,10 +106,10 @@ ADD_SUBDIRECTORY( doc )
|
||||
|
||||
CONFIGURE_FILE(config.h.cmake config.h @ONLY)
|
||||
|
||||
CONFIGURE_FILE(
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/cmake/makedist.sh.in"
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/makedist.sh" IMMEDIATE
|
||||
@ONLY)
|
||||
# set the git version in "config-git.h"
|
||||
ADD_CUSTOM_TARGET(version_git ALL
|
||||
COMMAND "${CMAKE_CURRENT_SOURCE_DIR}/git-version.sh" "${CMAKE_CURRENT_SOURCE_DIR}" "${VERSION}" "config-git.h"
|
||||
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}")
|
||||
|
||||
CONFIGURE_FILE(
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/cmake/cmake_uninstall.cmake.in"
|
||||
@@ -120,9 +120,8 @@ ADD_CUSTOM_TARGET(uninstall
|
||||
"${CMAKE_COMMAND}" -P "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake")
|
||||
|
||||
ADD_CUSTOM_TARGET(dist
|
||||
"${CMAKE_BINARY_DIR}/makedist.sh"
|
||||
DEPENDS doc
|
||||
WORKING_DIRECTORY ${CMAKE_BINARY_DIR})
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/makedist.sh" "${VERSION}" "HEAD"
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
|
||||
|
||||
# pkgconfig file
|
||||
SET(PACKAGE "${PROJECT_NAME}")
|
||||
@@ -133,6 +132,9 @@ 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 ${LIBDIR}/../pkgconfig)
|
||||
|
||||
# icon
|
||||
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/weechat.png DESTINATION ${SHAREDIR}/icons/hicolor/32x32/apps)
|
||||
|
||||
# packages
|
||||
SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Fast, light and extensible chat client")
|
||||
SET(CPACK_PACKAGE_VENDOR "Sebastien Helleu")
|
||||
@@ -157,7 +159,6 @@ SET(CPACK_SOURCE_IGNORE_FILES "/\\\\.git" "/build/" "/m4/"
|
||||
"/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,276 @@
|
||||
WeeChat ChangeLog
|
||||
=================
|
||||
Sébastien Helleu <flashcode@flashtux.org>
|
||||
v0.3.9, 2012-09-29
|
||||
v0.4.1, 2013-05-20
|
||||
|
||||
|
||||
This document lists all changes for each version.
|
||||
|
||||
For a list of important changes that require manual action, please look at
|
||||
http://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes]
|
||||
(file 'NEWS' in sources).
|
||||
|
||||
|
||||
Version 0.4.1 (2013-05-20)
|
||||
--------------------------
|
||||
|
||||
* core: fix display of long lines without time (message beginning with two tabs)
|
||||
* core: make nick prefix/suffix dynamic (not stored in the line): move options
|
||||
irc.look.nick_{prefix|suffix} to weechat.look.nick_{prefix|suffix} and options
|
||||
irc.color.nick_{prefix|suffix} to weechat.color.chat_nick_{prefix|suffix},
|
||||
add new options weechat.look.prefix_align_more_after,
|
||||
weechat.look.prefix_buffer_align_more_after, logger.file.nick_{prefix|suffix}
|
||||
(bug #37531)
|
||||
* core: reset scroll in window before zooming on a merged buffer (bug #38207)
|
||||
* core: install icon file (patch #7972)
|
||||
* core: fix refresh of item "completion": clear it after any action that is
|
||||
changing content of command line and after switch of buffer (bug #38214)
|
||||
* core: add support of multiple layouts (task #11274)
|
||||
* core: add signals nicklist_{group|nick}_removing and hsignals
|
||||
nicklist_{group|nick}_{added|removing|changed}
|
||||
* core: add count for groups, nicks, and total in nicklist
|
||||
* core: allow read of array in hdata without using index
|
||||
* core: add option "dirs" for command /debug
|
||||
* core: fix detection of iconv with cmake on OS X (bug #38321)
|
||||
* core: add signal "window_opened" (task #12464)
|
||||
* core: fix structures before buffer data when a buffer is closed
|
||||
* core: fix refresh of line after changes with hdata_update (update flag
|
||||
"displayed" according to filters)
|
||||
* core: fix detection of python on Ubuntu Raring
|
||||
* core: fix hidden lines for messages without date when option
|
||||
weechat.history.max_buffer_lines_minutes is set (bug #38197)
|
||||
* core: use default hash/comparison callback for keys of type
|
||||
integer/pointer/time in hashtable
|
||||
* api: do not display a warning by default when loading a script with a license
|
||||
different from GPL
|
||||
* api: add new function hdata_search
|
||||
* api: add property "completion_freeze" for function buffer_set: do not stop
|
||||
completion when command line is updated
|
||||
* api: fix connection to servers with hook_connect on OS X (bug #38496)
|
||||
* api: fix bug in string_match when mask begins and ends with "*"
|
||||
* api: allow hashtable with keys that are not strings in function
|
||||
hashtable_add_to_infolist
|
||||
* api: fix function string_mask_to_regex: escape all special chars used in regex
|
||||
(bug #38398)
|
||||
* aspell: add completion "aspell_dicts" (list of aspell installed dictionaries)
|
||||
* aspell: add info "aspell_dict" (dictionaries used on a buffer)
|
||||
* aspell: optimization on spellers to improve speed (save state by buffer)
|
||||
* guile: fix crash in function hdata_move
|
||||
* guile: fix arguments given to callbacks (separate arguments instead of one
|
||||
list with arguments inside), guile >= 2.0 is now required (bug #38350)
|
||||
* guile: fix crash on calls to callbacks during load of script (bug #38343)
|
||||
* guile: fix compilation with guile 2.0
|
||||
* irc: fix name of server buffer after /server rename (set name "server.name"
|
||||
instead of "name")
|
||||
* irc: fix uncontrolled format string when sending unknown irc commands
|
||||
(if option irc.network.send_unknown_commands is on)
|
||||
* irc: fix uncontrolled format string when sending ison command (for nicks
|
||||
monitored by /notify)
|
||||
* irc: fix refresh of nick in input bar when joining a new channel with op
|
||||
status (bug #38969)
|
||||
* irc: fix display of CTCP messages that contain bold attribute (bug #38895)
|
||||
* irc: add support of "dh-aes" SASL mechanism (patch #8020)
|
||||
* irc: fix duplicate nick completion when someone rejoins the channel with same
|
||||
nick but a different case (bug #38841)
|
||||
* irc: add support of UHNAMES (capability "userhost-in-names") (task #9353)
|
||||
* irc: add tag "irc_nick_back" for messages displayed in private buffer when a
|
||||
nick is back on server (task #12576)
|
||||
* irc: fix crash on command "/allchan /close"
|
||||
* irc: add option irc.look.display_join_message (task #10895)
|
||||
* irc: fix default completion (like nicks) in commands /msg, /notice, /query and
|
||||
/topic
|
||||
* irc: fix prefix color for nick when the prefix is not in
|
||||
irc.color.nick_prefixes: use default color (key "*")
|
||||
* irc: add option irc.look.pv_buffer: automatically merge private buffers
|
||||
(optionally by server) (task #11924)
|
||||
* irc: rename option irc.network.lag_disconnect to irc.network.lag_reconnect,
|
||||
value is now a number of seconds
|
||||
* irc: hide passwords in commands or messages sent to nickserv (/msg nickserv)
|
||||
with new modifiers "irc_command_auth" and "irc_message_auth", remove option
|
||||
irc.look.hide_nickserv_pwd, add option irc.look.nicks_hide_password
|
||||
(bug #38346)
|
||||
* irc: fix display of malformed CTCP (without closing char) (bug #38347)
|
||||
* irc: unmask smart filtered join if nick speaks in channel some minutes after
|
||||
the join, new option irc.look.smart_filter_join_unmask (task #12405)
|
||||
* irc: fix memory leak in purge of hashtables with joins (it was done only for
|
||||
the first server in the list)
|
||||
* irc: add color in output of /names when result is on server buffer (channel
|
||||
not joined) (bug #38070)
|
||||
* lua: remove use of functions for API constants
|
||||
* lua: fix crash on stack overflow: call lua_pop() for values returned by lua
|
||||
functions (bug #38510)
|
||||
* perl: simplify code to load scripts
|
||||
* python: fix crash when loading scripts with Python 3.x (patch #8044)
|
||||
* relay: fix uncontrolled format string in redirection of irc commands
|
||||
* relay: rename compression "gzip" to "zlib" (compression is zlib, not gzip)
|
||||
* relay: add message "_nicklist_diff" (differences between old and current
|
||||
nicklist)
|
||||
* relay: add support of multiple servers on same port for irc protocol (the
|
||||
client must send the server in the "PASS" command)
|
||||
* relay: add WebSocket server support (RFC 6455) for irc and weechat protocols,
|
||||
new option relay.network.websocket_allowed_origins
|
||||
* relay: add options "buffers" and "upgrade" for commands sync/desync in weechat
|
||||
protocol
|
||||
* relay: fix commands sync/desync in weechat protocol (bug #38215)
|
||||
* rmodifier: rename default rmodifier "nickserv" to "command_auth" (with new
|
||||
modifier "irc_command_auth"), add default rmodifier "message_auth" (modifier
|
||||
"irc_message_auth")
|
||||
* ruby: fix crash in function hdata_move
|
||||
* ruby: fix crash with Ruby 2.0: use one array for the last 6 arguments of
|
||||
function config_new_option (bug #31050)
|
||||
* script: fix compilation on GNU/Hurd (patch #7977)
|
||||
* script: create "script" directory on each action, just in case it has been
|
||||
removed (bug #38472)
|
||||
* script: add option script.scripts.autoload, add options "autoload",
|
||||
"noautoload" and "toggleautoload" for command /script, add action "A" (meta-A)
|
||||
on script buffer (toggle autoload) (task #12393)
|
||||
* scripts: create directories (language and language/autoload) on each action
|
||||
(install/remove/autoload), just in case they have been removed (bug #38473)
|
||||
* scripts: do not allow empty script name in function "register"
|
||||
* xfer: add option xfer.file.auto_accept_nicks (patch #7962)
|
||||
* xfer: fix freeze of DCC file received: use non-blocking socket after
|
||||
connection to sender and ensure the ACK is properly sent (bug #38340)
|
||||
|
||||
Version 0.4.0 (2013-01-20)
|
||||
--------------------------
|
||||
|
||||
* core: fix infinite loop when a regex gives an empty match (bug #38112)
|
||||
* core: fix detection of guile in configure
|
||||
* core: fix click in item "buffer_nicklist" when nicklist is a root bar
|
||||
(bug #38080)
|
||||
* core: fix line returned when clicking on a bar (according to position and
|
||||
filling) (bug #38069)
|
||||
* core: fix refresh of bars when applying layout (bug #37944, bug #37952)
|
||||
* core: add buffer pointer in arguments for signals "input_search",
|
||||
"input_text_changed" and "input_text_cursor_moved"
|
||||
* core: fix scroll to bottom of window (default key: alt+end) when line
|
||||
displayed is bigger than chat area
|
||||
* core: fix scroll in buffer after enabling/disabling some filters (if scroll
|
||||
is on a hidden line) (bug #37885)
|
||||
* core: fix memory leak in case of error when building content of bar item for
|
||||
display
|
||||
* core: fix detection of command in input: a single command char is considered
|
||||
as a command (API function "string_input_for_buffer")
|
||||
* core: search for a fallback template when a no template is matching command
|
||||
arguments
|
||||
* core: add option "diff" for command /set (list options with changed value)
|
||||
* core: fix refresh of windows after split (fix bug with horizontal separator
|
||||
between windows) (bug #37874)
|
||||
* core: fix stuck mouse (bug #36533)
|
||||
* core: fix default mouse buttons actions for script buffer (focus the window
|
||||
before executing action)
|
||||
* core: add git version in build, display it in "weechat-curses --help" and
|
||||
/version
|
||||
* core: fix scroll of one page down when weechat.look.scroll_page_percent is
|
||||
less than 100 (bug #37875)
|
||||
* core: disable paste detection and confirmation if bar item "input_paste" is
|
||||
not used in a visible bar (task #12327)
|
||||
* core: use high priority (50000) for commands /command and /input so that an
|
||||
alias will not take precedence over these commands (bug #36353)
|
||||
* core: execute command with higher priority when many commands with same name
|
||||
are found with different priorities
|
||||
* core: add color support in options
|
||||
weechat.look.prefix_{action|error|join|network|quit} (task #9555)
|
||||
* core: fix display of combining chars (bug #37775)
|
||||
* core: display default values for changed config options in output of /set
|
||||
* core: stop cmake if gcrypt lib is not found (bug #37671)
|
||||
* core: add incomplete mouse events "event-down" and "event-drag" (task #11840)
|
||||
* core: add command /eval, use expression in conditions for bars
|
||||
* core: add option "-quit" for command /upgrade (save session and quit without
|
||||
restarting WeeChat, for delayed restoration)
|
||||
* core: fix display of zoomed/merged buffer (with number >= 2) after switching
|
||||
to it (bug #37593)
|
||||
* core: fix display problem when option weechat.look.prefix_same_nick is set
|
||||
(problem with nick displayed in first line of screen) (bug #37556)
|
||||
* core: fix wrapping of words with wide chars (the break was made before the
|
||||
correct position)
|
||||
* api: allow return code WEECHAT_RC_OK_EAT in callbacks of hook_signal and
|
||||
hook_hsignal (stop sending the signal immediately)
|
||||
* api: allow creation of structure with hdata_update (allowed for hdata
|
||||
"history")
|
||||
* api: use hashtable "options" for command arguments in function
|
||||
hook_process_hashtable (optional, default is a split of string with command)
|
||||
* api: do not call shell to execute command in hook_process (fix security
|
||||
problem when a plugin/script gives untrusted command) (bug #37764)
|
||||
* api: add new function "string_eval_expression"
|
||||
* api: connect with IPv6 by default in hook_connect (with fallback to IPv4),
|
||||
shuffle list of hosts for a same address, add argument "retry" for
|
||||
hook_connect, move "sock" from hook_connect arguments to callback of
|
||||
hook_connect (task #11205)
|
||||
* alias: give higher priority to aliases (2000) so that they take precedence
|
||||
over an existing command
|
||||
* aspell: ignore self and remote nicks in private buffers
|
||||
* aspell: add signal "aspell_suggest" (sent when new suggestions are displayed)
|
||||
* aspell: add bar items "aspell_dict" (dictionary used on current buffer) and
|
||||
"aspell_suggest" (suggestions for misspelled word at cursor), add option
|
||||
aspell.check.suggestions (task #12061)
|
||||
* aspell: fix creation of spellers when number of dictionaries is different
|
||||
between two buffers
|
||||
* guile: fix bad conversion of shared strings (replace calls to
|
||||
scm_i_string_chars by scm_to_locale_string) (bug #38067)
|
||||
* irc: fix display of actions (/me) when they are received from a relay client
|
||||
(in channel and private buffers) (bug #38027)
|
||||
* irc: fix memory leak when updating modes of channel
|
||||
* irc: add tags "irc_nick1_xxx" and "irc_nick2_yyy" in message displayed for
|
||||
command "NICK"
|
||||
* irc: return git version in CTCP VERSION and FINGER by default, add "$git"
|
||||
and "$versiongit" in format of CTCP replies
|
||||
* irc: read local variable "autorejoin" in buffer to override server option
|
||||
"autorejoin" (task #12256)
|
||||
* irc: add option "-auto" for command /connect (task #9340)
|
||||
* irc: add support of "server-time" capability (task #12255)
|
||||
* irc: add support of tags in messages
|
||||
* irc: fix crash on /upgrade (free channels before server data when a server
|
||||
is destroyed) (bug #37736)
|
||||
* irc: fix crash when decoding IRC colors in strings (bug #37704)
|
||||
* irc: fix refresh of bar item "away" after command /away or /disconnect
|
||||
* irc: add command /quiet, fix display of messages 728/729 (quiet list, end of
|
||||
quiet list) (task #12278)
|
||||
* irc: add option irc.network.alternate_nick to disable dynamic nick generation
|
||||
when all nicks are already in use on server (task #12281)
|
||||
* irc: add option irc.network.whois_double_nick to double nick in command /whois
|
||||
* irc: send whois on self nick when /whois is done without argument on a channel
|
||||
(task #12273)
|
||||
* irc: remove local variable "away" in server/channels buffers after server
|
||||
disconnection (bug #37582)
|
||||
* irc: add option "-noswitch" for command /join (task #12275)
|
||||
* irc: fix crash when message 352 has too few arguments (bug #37513)
|
||||
* irc: remove unneeded server disconnect when server buffer is closed and server
|
||||
is already disconnected
|
||||
* perl: display script filename in error messages
|
||||
* perl: fix calls to callbacks during load of script when multiplicity is
|
||||
disabled (bug #38044)
|
||||
* relay: fix duplicated messages sent to irc clients (when messages are
|
||||
redirected) (bug #37870)
|
||||
* relay: fix memory leak when adding hdata to a message (weechat protocol)
|
||||
* relay: add backlog and server capability "server-time" for irc protocol, add
|
||||
new options relay.irc.backlog_max_minutes, relay.irc.backlog_max_number,
|
||||
relay.irc.backlog_since_last_disconnect, relay.irc.backlog_tags,
|
||||
relay.irc.backlog_time_format (task #12076)
|
||||
* relay: fix crash after /upgrade when a client is connected
|
||||
* relay: add support of IPv6, new option relay.network.ipv6, add support of
|
||||
"ipv4." and/or "ipv6." before protocol name, to force IPv4/IPv6 (task #12270)
|
||||
* relay: add missing "ssl." in output of /relay listrelay
|
||||
* script: fix scroll with mouse when window with script buffer is not the
|
||||
current window (do not force a switch to script buffer in current window)
|
||||
* script: fix compilation on OS X
|
||||
* xfer: fix memory leak when refreshing xfer buffer
|
||||
* xfer: add missing tags in DCC chat messages: nick_xxx, prefix_nick_ccc, logN
|
||||
* xfer: display remote IP address for DCC chat/file (task #12289)
|
||||
* xfer: limit bytes received to file size (for DCC file received), fix crash
|
||||
when displaying a xfer file with pos greater than size
|
||||
|
||||
Version 0.3.9.2 (2012-11-18)
|
||||
----------------------------
|
||||
|
||||
* core: do not call shell to execute command in hook_process (fix security
|
||||
problem when a plugin/script gives untrusted command) (bug #37764)
|
||||
|
||||
Version 0.3.9.1 (2012-11-09)
|
||||
----------------------------
|
||||
|
||||
* irc: fix crash when decoding IRC colors in strings (bug #37704)
|
||||
|
||||
Version 0.3.9 (2012-09-29)
|
||||
--------------------------
|
||||
|
||||
@@ -42,7 +309,7 @@ Version 0.3.9 (2012-09-29)
|
||||
* core: add function "hook_set" in plugin API, add "subplugin" in hooks (set by
|
||||
script plugins), display subplugin in /help on commands (task #12049)
|
||||
* core: add option weechat.look.jump_smart_back_to_buffer (jump back to initial
|
||||
buffer after reaching end of hotlist, on by default, which is old behaviour)
|
||||
buffer after reaching end of hotlist, on by default, which is old behavior)
|
||||
* core: add default key alt+"s" (toggle aspell)
|
||||
* core: add cmake option "MANDIR" (bug #36776)
|
||||
* core: add callback "nickcmp" in buffers
|
||||
@@ -51,10 +318,10 @@ Version 0.3.9 (2012-09-29)
|
||||
* core: add options weechat.look.color_nick_offline and
|
||||
weechat.color.chat_nick_offline{_highlight|_highlight_bg} to use different
|
||||
color for offline nicks in prefix (task #11109)
|
||||
* core: reallow names beginning with "#" for bars, proxies and filters
|
||||
* core: allow again names beginning with "#" for bars, proxies and filters
|
||||
* core: escape special chars (`#[\`) in configuration files for name of options
|
||||
(bug #36584)
|
||||
* doc: add japanese user's guide (patch #7827), scripting guide and tester's
|
||||
* doc: add Japanese user's guide (patch #7827), scripting guide and tester's
|
||||
guide
|
||||
* api: allow update for some variables of hdata, add new functions hdata_update
|
||||
and hdata_set
|
||||
@@ -90,12 +357,12 @@ Version 0.3.9 (2012-09-29)
|
||||
* irc: add bar item "buffer_modes", remove option irc.look.item_channel_modes
|
||||
(task #12022)
|
||||
* irc: fix parsing of user modes (ignore everything after first space)
|
||||
(bug #36756)
|
||||
(bug #36756, bug #31572)
|
||||
* irc: add option irc.look.ctcp_time_format to customize reply to CTCP TIME
|
||||
(task #12150)
|
||||
* irc: fix freeze when reading on socket with SSL enabled (use non-blocking
|
||||
sockets) (bug #35097)
|
||||
* irc: reallow names beginning with "#" for servers
|
||||
* irc: allow again names beginning with "#" for servers
|
||||
* logger: add tags in backlog lines displayed when opening buffer
|
||||
* logger: add messages "Day changed to" in backlog (task #12187)
|
||||
* lua: support of lua 5.2
|
||||
@@ -129,7 +396,7 @@ Version 0.3.8 (2012-06-03)
|
||||
* core: fix crash in focus hook for nicklist (bug #36271)
|
||||
* core: fix truncated configuration files (zero-length) after system crash
|
||||
(bug #36383)
|
||||
* core: fix display bugs and crashs with small windows (bug #36107)
|
||||
* core: fix display bugs and crashes with small windows (bug #36107)
|
||||
* core: convert options weechat.look.prefix_align_more and
|
||||
weechat.look.prefix_buffer_align_more from boolean to string (task #11197)
|
||||
* core: fix display bug with prefix when length is greater than max and prefix
|
||||
@@ -145,7 +412,7 @@ Version 0.3.8 (2012-06-03)
|
||||
weechat.look.paste_bracketed and weechat.look.paste_bracketed_timer_delay
|
||||
(task #11316)
|
||||
* core: fix display of wide chars on last column of chat area (patch #7733)
|
||||
* doc: add japanese FAQ (patch #7781)
|
||||
* doc: add Japanese FAQ (patch #7781)
|
||||
* api: display warning in scripts when invalid pointers (malformed strings) are
|
||||
given to plugin API functions (warning displayed if debug for plugin is >= 1)
|
||||
* api: add list "gui_buffer_last_displayed" in hdata "buffer"
|
||||
@@ -210,9 +477,9 @@ Version 0.3.8 (2012-06-03)
|
||||
Version 0.3.7 (2012-02-26)
|
||||
--------------------------
|
||||
|
||||
* core: add japanese translations
|
||||
* core: add Japanese translations
|
||||
* core: fix expand of path `~` to home of user in function string_expand_home
|
||||
(`~/xxx` was ok, but not `~`)
|
||||
(`~/xxx` was OK, but not `~`)
|
||||
* core: fix memory leak when closing buffer
|
||||
* core: fix memory leak in function util_search_full_lib_name
|
||||
* core: automatically add newline char after last pasted line (when pasting many
|
||||
@@ -235,11 +502,11 @@ Version 0.3.7 (2012-02-26)
|
||||
gnome-terminal
|
||||
* core: add option "hooks" for command /debug
|
||||
* core: add option "weechat.look.scroll_bottom_after_switch" (if enabled,
|
||||
restore old behaviour before fix of bug #25555 in version 0.3.5)
|
||||
restore old behavior before fix of bug #25555 in version 0.3.5)
|
||||
* core: apply filters after full reload of configuration files (with /reload)
|
||||
(bug #31182)
|
||||
* core: allow list for option weechat.plugin.extension (makes weechat.conf
|
||||
portable accross Un*x and Windows) (task #11479)
|
||||
portable across Un*x and Windows) (task #11479)
|
||||
* core: fix compilation under OpenBSD 5.0 (lib utf8 not needed any more)
|
||||
(bug #34727)
|
||||
* core: add new option weechat.completion.base_word_until_cursor: allow
|
||||
@@ -333,7 +600,7 @@ Version 0.3.6 (2011-10-22)
|
||||
* core: fix paste detection (problem with end of lines)
|
||||
* core: add new option weechat.look.color_basic_force_bold, off by default: bold
|
||||
is used only if terminal has less than 16 colors (patch #7621)
|
||||
* core: add default key "meta2-[E" (F5) for linux console
|
||||
* core: add default key "meta2-[E" (F5) for Linux console
|
||||
* core: fix display of paste multi-line prompt with a root input bar
|
||||
(bug #34305)
|
||||
* core: add "inactive" colors for inactive windows and lines in merged buffers,
|
||||
@@ -578,7 +845,7 @@ Version 0.3.4 (2011-01-16)
|
||||
when chars are added to a text not found (bug #31167)
|
||||
* core: fix memory leaks when removing item in hashtable and when setting
|
||||
highlight words in buffer
|
||||
* core: use similar behaviour for keys bound to local or global history
|
||||
* core: use similar behavior for keys bound to local or global history
|
||||
(bug #30759)
|
||||
* api: add priority for hooks (task #10550)
|
||||
* api: add new functions: list_search_pos, list_casesearch_pos,
|
||||
@@ -589,7 +856,7 @@ Version 0.3.4 (2011-01-16)
|
||||
nicklist_nick_get_integer, nicklist_nick_get_string, nicklist_nick_get_pointer,
|
||||
nicklist_nick_set
|
||||
* alias: complete with alias value for second argument of command /alias
|
||||
* irc: differenciate notices from messages in private buffer (bug #31980)
|
||||
* irc: differentiate notices from messages in private buffer (bug #31980)
|
||||
* irc: update nick modes with message 221 (bug #32038)
|
||||
* irc: add option "-server" to command /join (task #10837)
|
||||
* irc: fix bug with charset decoding on private buffers (decoding was made for
|
||||
@@ -663,7 +930,7 @@ Version 0.3.3 (2010-08-07)
|
||||
* irc: fix bug in parser when no argument is received after command, no
|
||||
callback was called, and message was silently ignored (bug #30640)
|
||||
* irc: add new option irc.look.nick_color_stop_chars
|
||||
* irc: fix import of certificates created by openssl >= 1.0.0 (bug #30316)
|
||||
* irc: fix import of certificates created by OpenSSL >= 1.0.0 (bug #30316)
|
||||
* irc: fix display of local SSL certificate when it is sent to server
|
||||
(patch #7218)
|
||||
* irc: improve lag indicator: two colors (counting and finished), update item
|
||||
@@ -745,7 +1012,7 @@ Version 0.3.2 (2010-04-18)
|
||||
* 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 MULTIPLICITY is disabled
|
||||
* perl: fix crash when multiplicity is disabled
|
||||
* 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
|
||||
@@ -858,7 +1125,7 @@ Version 0.3.0 (2009-09-06)
|
||||
|
||||
* irc: add irc plugin (replaces old IRC code in core) (task #6217)
|
||||
* irc: add smart join/part/quit message filter (task #8503)
|
||||
* irc: use of many addresses for servers (auto-switch when a connexion fails),
|
||||
* irc: use of many addresses for servers (auto-switch when a connection fails),
|
||||
nicks are now set with one option "nicks" (task #6088)
|
||||
* irc: add some colors in messages from server (for text and nicks)
|
||||
(task #8926)
|
||||
@@ -867,7 +1134,7 @@ Version 0.3.0 (2009-09-06)
|
||||
disconnecting during connection problem (bug #17584)
|
||||
* irc: command /whois is now authorized in private without argument
|
||||
(task #7482)
|
||||
* irc: fix private buffer name with irssi proxy (bug #26589)
|
||||
* irc: fix private buffer name with Irssi proxy (bug #26589)
|
||||
* irc: remove kernel info in CTCP VERSION reply (task #7494)
|
||||
* irc: add missing commands (328, 369)
|
||||
* irc: fix mode parsing when receiving modes with arguments (bug #26793)
|
||||
@@ -915,9 +1182,9 @@ Version 0.3.0 (2009-09-06)
|
||||
* network: fix network connection for hostnames resolving to several IPs: try
|
||||
all IPs in list until one succeeds (bug #21473, debian #498610)
|
||||
* core: add group support in nicklist
|
||||
* core: improve main loop: higher timout in select(), less CPU usage
|
||||
* core: improve main loop: higher timeout in select(), less CPU usage
|
||||
* core: add /reload command to reload WeeChat and plugins config files (signal
|
||||
SIGHUP is catched to reload config files)
|
||||
SIGHUP is caught to reload config files)
|
||||
* core: add new /layout command and save_layout_on_exit config option, to
|
||||
save/restore windows and buffers order (task #5453)
|
||||
* core: add new options for completion, optional stop instead of cycling with
|
||||
@@ -969,7 +1236,7 @@ Version 0.2.6 (2007-09-06)
|
||||
* add paste detection, new options look_paste_max_lines and col_input_actions
|
||||
(task #5442)
|
||||
* fix bug with highlight and UTF-8 chars around word (bug #20753)
|
||||
* add swedish quickstart guide
|
||||
* add Swedish quickstart guide
|
||||
* add support of channel mode +u (channel user) (bug #20717)
|
||||
* improve /connect command to connect to a host by creating a temporary server,
|
||||
add option to /server to create temporary server (task #7095)
|
||||
@@ -1006,8 +1273,8 @@ Version 0.2.6 (2007-09-06)
|
||||
Version 0.2.5 (2007-06-07)
|
||||
--------------------------
|
||||
|
||||
* fix QUOTE command: now allowed when socket is ok (even if IRC connection to
|
||||
server is not ok) (bug #20113)
|
||||
* fix QUOTE command: now allowed when socket is OK (even if IRC connection to
|
||||
server is not OK) (bug #20113)
|
||||
* add missing IRC commands (327, 378, 379) (bug #20091)
|
||||
* fix hotlist when exiting search mode: current buffer is removed from hotlist
|
||||
* add "%M" for completion with nicks of current server (nicks on open channels)
|
||||
@@ -1033,7 +1300,7 @@ Version 0.2.5 (2007-06-07)
|
||||
* add protocol priority for gnutls (patch #5915)
|
||||
* add channel admin mode "!" for some IRC servers
|
||||
* fix bug with iso2022jp locale (bug #18719)
|
||||
* fix string format bug when displaying string thru plugin script API
|
||||
* fix string format bug when displaying string through plugin script API
|
||||
* add /reconnect command (task #5448)
|
||||
* add "-all" option for /connect and /disconnect commands (task #6232)
|
||||
* improve nick completion: completion with last speakers first and self nick at
|
||||
@@ -1071,7 +1338,7 @@ Version 0.2.4 (2007-03-29)
|
||||
text on command line (task #6468)
|
||||
* fix permissions on "dcc" and "logs" directories (bug #18978)
|
||||
* add event handler to plugin API
|
||||
* add scots quickstart guide
|
||||
* add Scots quickstart guide
|
||||
* add numeric argument for /clear command (buffer number) (patch #5372)
|
||||
* fix crash when /away command is issued with no server connection (bug #18839)
|
||||
* fix crash when closing a buffer opened on many windows
|
||||
@@ -1096,7 +1363,7 @@ Version 0.2.2 (2007-01-06)
|
||||
* fix bug with use of first buffer for a channel if not connected to server
|
||||
(now allowed only for a server buffer)
|
||||
* fix refresh bug with private buffer title
|
||||
* fix bug with nick completion in command args (now uses option
|
||||
* fix bug with nick completion in command arguments (now uses option
|
||||
look_nick_completion_ignore)
|
||||
* fix display bug with color for first line on screen (bug #17719)
|
||||
* add anti-flood option (irc_anti_flood) (task #5442)
|
||||
@@ -1104,7 +1371,7 @@ Version 0.2.2 (2007-01-06)
|
||||
* plugins: "add_message_handler" now accepts "*" for all IRC messages
|
||||
* add keys (F9/F10) to scroll topic (task #6030)
|
||||
* add auto completion with channels and filenames (task #5423)
|
||||
* fix memleak in keyboard input
|
||||
* fix memory leak in keyboard input
|
||||
* fix refresh bug when changing config options if window is split
|
||||
* add space between chat and nicklist when position is "right" (bug #17852)
|
||||
* add option "look_nicklist_separator" (task #5437)
|
||||
@@ -1146,13 +1413,13 @@ Version 0.2.1 (2006-10-01)
|
||||
* new signals handled: SIGTERM and SIGHUP (received when terminal is closed):
|
||||
clean WeeChat quit (send quit to irc servers then quit WeeChat)
|
||||
* add some new default key bindings for existing keys (for some OS)
|
||||
* command /key now ok with one arg (key name): display key if found
|
||||
* command /key now OK with one argument (key name): display key if found
|
||||
* fix bug with CTCP VERSION sent on channels (bug #17547)
|
||||
* add current channel completion for /ctcp command
|
||||
* fix bugs in get_buffer_data() which breaks the retrieval of buffer content
|
||||
(perl, lua)
|
||||
* fix nicklist display bug when top/bottom (not enough lines) (bug #17537)
|
||||
* fix bug with auto-rejoin of keyed chans (bug #17534)
|
||||
* fix bug with auto-rejoin of keyed channels (bug #17534)
|
||||
* add default nick completion when line starts with "//" (bug #17535)
|
||||
* 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)
|
||||
@@ -1203,7 +1470,7 @@ Version 0.2.0 (2006-08-19)
|
||||
* fix crash when setting look_one_server_buffer to ON (bug #16932)
|
||||
* add new functions in plugin/script API: get window info, get buffer info, get
|
||||
buffer content
|
||||
* add polish, russian and czech quickstart guide
|
||||
* add polish, Russian and Czech quickstart guide
|
||||
* fix display bug with special char (bug #16732)
|
||||
* add color encoding for some commands like /me
|
||||
* add aspell plugin
|
||||
@@ -1218,7 +1485,8 @@ Version 0.2.0 (2006-08-19)
|
||||
Version 0.1.9 (2006-05-25)
|
||||
--------------------------
|
||||
|
||||
* fix /squery command (message sent to server, now ok with # args > 2)
|
||||
* fix /squery command (message sent to server, now OK with more than two
|
||||
arguments)
|
||||
* fix /alias command (with an alias name, display content)
|
||||
* improve lua plugin detection (bug #16574)
|
||||
* add backtrace when WeeChat crashes, log file automatically renamed
|
||||
@@ -1232,11 +1500,11 @@ Version 0.1.9 (2006-05-25)
|
||||
* fix Ruby crash when handler does not return OK or KO (bug #16552)
|
||||
* fix UTF-8 display bug with chars using more than one cell on screen
|
||||
(bug #16356)
|
||||
* fix display bug with DCC file size when > 1 Gb
|
||||
* fix display bug with DCC file size when > 1 GB
|
||||
* fix refresh bug (deadlock in curses) when terminal is resized (bug #16542)
|
||||
* fix nicklist sort bug
|
||||
* add russian translations (thanks to Pavel Shevchuk)
|
||||
* add german doc (thanks to Frank Zacharias)
|
||||
* add Russian translations (thanks to Pavel Shevchuk)
|
||||
* add German doc (thanks to Frank Zacharias)
|
||||
* add missing IRC commands (006, 007, 290, 292, 310, 379, 437, 974)
|
||||
* fix crash when multiple pv have same name: now it's forbidden and pv buffer
|
||||
is not renamed (when a nick changes) if another exists with same name
|
||||
@@ -1246,10 +1514,10 @@ Version 0.1.9 (2006-05-25)
|
||||
* fix many crashes with DCC chat (bug #16416)
|
||||
* add new option to customize input prompt
|
||||
* add nick modes
|
||||
* fix commands 332, 333 (/topic now ok when channel is not opened)
|
||||
* fix commands 332, 333 (/topic now OK when channel is not opened)
|
||||
* remove color encoding and charset conversion for commands (only allowed in
|
||||
text sent to channel/private)
|
||||
* add hostnames associeted to nicks (available for /ban completion)
|
||||
* add hostnames associated to nicks (available for /ban completion)
|
||||
* add "+p" mode for channels, fix mode display in status bar
|
||||
* add nick alignment options
|
||||
* fix /names command: now displays result when not on a channel
|
||||
@@ -1290,7 +1558,7 @@ Version 0.1.8 (2006-03-18)
|
||||
* add new plugins functions: add_timer_handler, remove_timer_handler,
|
||||
remove_infobar
|
||||
* plugin messages handlers now called when message is ignored (by /ignore)
|
||||
* new behaviour for messages ignored by a message handler: now WeeChat
|
||||
* new behavior for messages ignored by a message handler: now WeeChat
|
||||
executes standard handler, treating message as "ignored"
|
||||
* many commands allowed for aliases
|
||||
* many commands allowed when connecting to server
|
||||
@@ -1305,20 +1573,20 @@ Version 0.1.8 (2006-03-18)
|
||||
(patch from Pistos)
|
||||
* add new option "irc_away_check_max_nicks" to disable away check on channels
|
||||
with high number of nicks (patch from Gwenn)
|
||||
* add new command line argument for setting WeeChat homedir (-d or --dir)
|
||||
* add new command line argument for setting WeeChat home dir (-d or --dir)
|
||||
(patch from Gwenn)
|
||||
* fix bug with charset in infobar highlights
|
||||
* fix bug with buffer detection in plugins/scripts commands
|
||||
* fix bug with /history command
|
||||
* add option "irc_show_away_once", to show away message only once in pv
|
||||
* add partial hungarian translation
|
||||
* add partial Hungarian translation
|
||||
|
||||
Version 0.1.7 (2006-01-14)
|
||||
--------------------------
|
||||
|
||||
* fix msg command (now allowed in private buffer with "*" as target)
|
||||
* remove "irc_default_msg_away" setting, for RFC 2812 conformity (/away command
|
||||
wihtout argument only removes away status), new values for "irc_display_away"
|
||||
without argument only removes away status), new values for "irc_display_away"
|
||||
(off, local, channel)
|
||||
* fix refresh bug with Solaris when term size is changed
|
||||
* replace Texinfo doc by XML Docbook
|
||||
@@ -1330,13 +1598,13 @@ Version 0.1.7 (2006-01-14)
|
||||
* add /upgrade command
|
||||
* add ETA (Estimated Time of Arrival) for DCC files
|
||||
* /nick command is now allowed when not connected to server
|
||||
* add server/channel arg to /buffer command for jumping to buffer
|
||||
* add server/channel argument to /buffer command for jumping to buffer
|
||||
* fix display bug in chat window when a message length equals to window width
|
||||
* add new keys for switching to other windows: alt+"w" followed by alt+{arrow}
|
||||
* add new keys for scrolling to previous/next highlight: alt+"p" / alt+"n"
|
||||
* add "read marker": an indicator for first unread line in a server or channel
|
||||
buffer (new key alt+"u" to scroll to marker)
|
||||
* new window maganement: custom size for windows, auto resize when terminal is
|
||||
* new window management: custom size for windows, auto resize when terminal is
|
||||
resized
|
||||
* fix infinite loop when resizing term to small size
|
||||
* add /history command
|
||||
@@ -1382,7 +1650,7 @@ Version 0.1.5 (2005-09-24)
|
||||
* fix DCC display bug (now decodes string according to charset)
|
||||
* add /ignore and /unignore commands
|
||||
* fix bug with strings comparison (str[n]casecmp) and some locales (like
|
||||
turkish), now using ASCII comparison (thanks to roktas)
|
||||
Turkish), now using ASCII comparison (thanks to roktas)
|
||||
* signal SIGQUIT is now ignored
|
||||
* fix refresh bug when one line is bigger than screen size
|
||||
* fix look_nicklist_min_size and look_nicklist_max_size options
|
||||
@@ -1419,7 +1687,7 @@ Version 0.1.4 (2005-07-30)
|
||||
Version 0.1.3 (2005-07-02)
|
||||
--------------------------
|
||||
|
||||
* proxy support (http, socks4, socks5) with authentification (http, socks5)
|
||||
* proxy support (http, socks4, socks5) with authentication (http, socks5)
|
||||
and ipv6 support (client to proxy)
|
||||
* add completion for config option (with /set command)
|
||||
* commands from users outside channel now authorized (if special user or
|
||||
@@ -1435,7 +1703,7 @@ Version 0.1.3 (2005-07-02)
|
||||
* in python scripts, all messages written in stdin and stderr are redirected in
|
||||
server buffer
|
||||
* fix a filename error while loading a python script manually
|
||||
* fix plugins "print" and "prnt" functions: now ok for writing on server
|
||||
* fix plugins "print" and "prnt" functions: now OK for writing on server
|
||||
buffers
|
||||
* fix color problem with new libcurses version
|
||||
* fix crash when using alt+"s" or alt+"x" on DCC buffer (alt+"d")
|
||||
@@ -1451,7 +1719,7 @@ Version 0.1.2 (2005-05-21)
|
||||
* add transfer rate for DCC files
|
||||
* add "-all" option for /nick command
|
||||
* buffers timestamp can now be changed (new option in config file)
|
||||
* WeeChat now ok under *BSD and Mac OS X
|
||||
* WeeChat now OK under *BSD and Mac OS X
|
||||
* fix nicklist sort
|
||||
* fix crash when purging old DCC
|
||||
* fix crash with 64-bits arch (like AMD64) when converting UTF-8
|
||||
@@ -1467,7 +1735,7 @@ Version 0.1.1 (2005-03-20)
|
||||
* add DCC send and DCC chat
|
||||
* add /halfop & /dehalfop commands, fix halfop display bug in nicklist
|
||||
* add /ban, /unban and /kickban commands
|
||||
* add spanish translation
|
||||
* add Spanish translation
|
||||
* add --irc-commands and --weechat-commands command line options
|
||||
* connection to IRC server is now made by child process (non blocking)
|
||||
* add support for UnrealIrcd ("~" for chan owner, "&" for chan admin)
|
||||
@@ -1477,20 +1745,20 @@ Version 0.1.1 (2005-03-20)
|
||||
* plugins messages are logged with new config option (log_plugin_msg)
|
||||
* fix /kick command
|
||||
* fix /invite command (and now invite requests are displayed)
|
||||
* fix /buffer close command (now ok when disconnected from server)
|
||||
* fix /buffer close command (now OK when disconnected from server)
|
||||
* fix display bugs when many windows are opened
|
||||
|
||||
Version 0.1.0 (2005-02-12)
|
||||
--------------------------
|
||||
|
||||
* improve /window command: now split and merge are ok
|
||||
* improve /window command: now split and merge are OK
|
||||
* away nicks are now displayed with another color (new option:
|
||||
"irc_away_check")
|
||||
* add away indicator in status bar
|
||||
* add lag indicator (and auto-disconnect after a delay if important lag)
|
||||
* improve completion: now completes commands arguments (IRC and internal),
|
||||
when only one completion matches, completion mechanism is stoped (to complete
|
||||
command arg for example)
|
||||
when only one completion matches, completion mechanism is stopped (to complete
|
||||
command argument for example)
|
||||
* improve /set command: empty strings are allowed, new colors, server options
|
||||
can be changed while WeeChat is running
|
||||
* add default away/part/quit messages in config file
|
||||
@@ -1500,15 +1768,15 @@ Version 0.1.0 (2005-02-12)
|
||||
* add new options for charset (UTF-8 support): look_charset_decode,
|
||||
look_charset_encode and look_charset_internal
|
||||
* fix many memory leaks
|
||||
* fix colors bug: remove "gray" color (replaced by "default"), colors are ok
|
||||
* fix colors bug: remove "gray" color (replaced by "default"), colors are OK
|
||||
when terminal has white (or light) background
|
||||
* fix crash when resizing terminal to small size
|
||||
* fix crash when multiple servers and big messages received from server
|
||||
* fix crash when closing some private buffers
|
||||
* fix crash when unknown section with option(s) in config file
|
||||
* fix /op, /deop, /voice, /devoice (now ok with many nicks)
|
||||
* fix /me command (now ok without parameter)
|
||||
* fix /away command (now ok if not away)
|
||||
* fix /op, /deop, /voice, /devoice (now OK with many nicks)
|
||||
* fix /me command (now OK without parameter)
|
||||
* fix /away command (now OK if not away)
|
||||
* logs are now disabled by default (server/channel/private)
|
||||
|
||||
Version 0.0.9 (2005-01-01)
|
||||
@@ -1517,7 +1785,7 @@ Version 0.0.9 (2005-01-01)
|
||||
* auto-reconnection to server (new options: server_autoreconnect (on/off),
|
||||
server_autoreconnect_delay (in seconds))
|
||||
* fix major bug when socket is closed by server (100% CPU usage), and
|
||||
disconnections are now ok (all channels are "closed", history is still
|
||||
disconnections are now OK (all channels are "closed", history is still
|
||||
visible, and buffer will be used again if reconnection to server)
|
||||
* option "look_remove_colors_from_msgs" is now working
|
||||
* fix display of nick mode changes
|
||||
@@ -1532,17 +1800,17 @@ Version 0.0.9 (2005-01-01)
|
||||
Version 0.0.8 (2004-10-30)
|
||||
--------------------------
|
||||
|
||||
* fix /kick command: now ok with many words as reason
|
||||
* fix /kick command: now OK with many words as reason
|
||||
* nickserv passwords hidden (new config option: log_hide_nickserv_pwd on/off)
|
||||
* auto-rejoin channels when kicked (new config option: server_autorejoin on/off)
|
||||
* add IRC::command function for Perl scripts
|
||||
* fix bug when adding alias with same name as other
|
||||
* /buffer command developed (buffers list, move and notify)
|
||||
* logging buffers to disk (server/channel/private according to user prefs)
|
||||
* logging buffers to disk (server/channel/private according to user preferences)
|
||||
* add config option "look_display_away" to announce away in channels
|
||||
* fix crash when resizing terminal to very small size
|
||||
* "-MORE-" message is now erased when switching to another buffer
|
||||
* DCC file receive ok (alt+"d" for DCC view)
|
||||
* DCC file receive OK (alt+"d" for DCC view)
|
||||
* /query command now reopens private buffer if already opened
|
||||
* add key for redrawing terminal (ctrl+"l")
|
||||
* add key for clearing hotlist (alt+"r")
|
||||
@@ -1569,9 +1837,9 @@ Version 0.0.6 (2004-06-05)
|
||||
* fix bug when opened private win and remote user changes his nick
|
||||
* add command /query (starts private conversation)
|
||||
* add IRC messages 476, 477
|
||||
* /mode command is now ok and channel flags are displayed in status bar
|
||||
* /mode command is now OK and channel flags are displayed in status bar
|
||||
* fix display bug (text was blinking when scrolling)
|
||||
* CTCP Version reply is now in english only and doesn't show host (security
|
||||
* CTCP Version reply is now in English only and doesn't show host (security
|
||||
reason)
|
||||
|
||||
Version 0.0.5 (2004-02-07)
|
||||
@@ -1601,7 +1869,7 @@ Version 0.0.4 (2004-01-01)
|
||||
switch to this window
|
||||
* highlight when our nick is written in a channel/private window
|
||||
* catch ctrl+"c" (ignored)
|
||||
* debug messages can be enabled via ./configure --enbale-debug option
|
||||
* debug messages can be enabled via ./configure --enable-debug option
|
||||
|
||||
Version 0.0.3 (2003-11-03)
|
||||
--------------------------
|
||||
|
||||
@@ -1,11 +1,39 @@
|
||||
WeeChat Installation instructions
|
||||
=================================
|
||||
|
||||
You can build WeeChat with cmake (recommended way) or autotools.
|
||||
WeeChat can be built with cmake (recommended) or autotools.
|
||||
|
||||
[NOTE]
|
||||
Only cmake is officially supported to build WeeChat. You should use autotools
|
||||
only if you are not able to use cmake. +
|
||||
Build with autotools requires more dependencies and is slower than with cmake.
|
||||
|
||||
|
||||
With cmake
|
||||
----------
|
||||
Dependencies
|
||||
------------
|
||||
|
||||
Following packages are *required*:
|
||||
|
||||
* cmake
|
||||
* ncurses
|
||||
* curl
|
||||
* zlib
|
||||
* gcrypt
|
||||
|
||||
Following packages are all optional:
|
||||
|
||||
* for i18n: gettext
|
||||
* for SSL: gnutls, ca-certificates
|
||||
* for spell checking: aspell
|
||||
* for scripting: python, perl, ruby, lua, tcl, guile
|
||||
* for building doc: asciidoc, source-highlight
|
||||
|
||||
For a complete list of dependencies and versions recommended, please look at
|
||||
'User's guide'.
|
||||
|
||||
|
||||
Installation With cmake
|
||||
-----------------------
|
||||
|
||||
------------------------------------------------------------------
|
||||
mkdir build
|
||||
@@ -15,22 +43,5 @@ make
|
||||
make install (as root for installation in system directories)
|
||||
------------------------------------------------------------------
|
||||
|
||||
|
||||
With autotools
|
||||
--------------
|
||||
|
||||
----------------------------------------------------------------------
|
||||
./autogen.sh (for cloned git repository only, not .tar.XX package)
|
||||
./configure --prefix=/where/you/want/install
|
||||
make
|
||||
make install (as root for installation in system directories)
|
||||
----------------------------------------------------------------------
|
||||
|
||||
|
||||
If you want to report bugs/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).
|
||||
|
||||
|
||||
See AUTHORS for support, feel free to contact us for any problem.
|
||||
For more information or installation with autotools, please look at
|
||||
'User's guide': http://www.weechat.org/doc
|
||||
|
||||
+23
-9
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2005 Julien Louis <ptitlouis@sysif.net>
|
||||
# Copyright (C) 2006-2009 Emmanuel Bouthenot <kolter@openics.org>
|
||||
#
|
||||
@@ -19,6 +19,12 @@
|
||||
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
# This target will update file config-git.h with output of command "git describe"
|
||||
# (if needed, and only for a devel/rc version).
|
||||
BUILT_SOURCES = build-config-git.h
|
||||
build-config-git.h:
|
||||
-$(abs_top_srcdir)/git-version.sh "$(abs_top_srcdir)" "$(VERSION)" config-git.h
|
||||
|
||||
if DOC
|
||||
doc_dir = doc
|
||||
endif
|
||||
@@ -28,31 +34,39 @@ SUBDIRS = po $(doc_dir) intl src
|
||||
EXTRA_DIST = CMakeLists.txt \
|
||||
config.rpath \
|
||||
config.h.cmake \
|
||||
cmake/cmake_uninstall.cmake.in \
|
||||
git-version.sh \
|
||||
makedist.sh \
|
||||
cmake/CMakeParseArguments.cmake \
|
||||
cmake/FindAsciidoc.cmake \
|
||||
cmake/FindAspell.cmake \
|
||||
cmake/FindGcrypt.cmake \
|
||||
cmake/FindGCRYPT.cmake \
|
||||
cmake/FindGettext.cmake \
|
||||
cmake/FindGnuTLS.cmake \
|
||||
cmake/FindGuile.cmake \
|
||||
cmake/FindIconv.cmake \
|
||||
cmake/FindLua.cmake \
|
||||
cmake/FindNcurses.cmake \
|
||||
cmake/FindPackageHandleStandardArgs.cmake \
|
||||
cmake/FindPerl.cmake \
|
||||
cmake/FindPkgConfig.cmake \
|
||||
cmake/FindPython.cmake \
|
||||
cmake/FindRuby.cmake \
|
||||
cmake/FindSourcehighlight.cmake \
|
||||
cmake/FindTCL.cmake \
|
||||
cmake/FindGuile.cmake \
|
||||
cmake/makedist.sh.in \
|
||||
cmake/FindZLIB.cmake \
|
||||
cmake/cmake_uninstall.cmake.in \
|
||||
po/CMakeLists.txt \
|
||||
po/srcfiles.cmake \
|
||||
weechat.spec \
|
||||
weechat_icon_32.png \
|
||||
weechat.pc.in \
|
||||
UPGRADE_0.3
|
||||
weechat.png \
|
||||
weechat.pc.in
|
||||
|
||||
ACLOCAL_AMFLAGS = -I m4
|
||||
|
||||
pkgconfigdir = $(libdir)/pkgconfig
|
||||
pkgconfig_DATA = weechat.pc
|
||||
|
||||
icondir = $(datadir)/icons/hicolor/32x32/apps
|
||||
icon_DATA = weechat.png
|
||||
|
||||
clean-local:
|
||||
$(RM) config-git.h
|
||||
|
||||
@@ -1,187 +1,485 @@
|
||||
WeeChat Release Notes
|
||||
=====================
|
||||
Sébastien Helleu <flashcode@flashtux.org>
|
||||
v0.3.9, 2012-09-29
|
||||
v0.4.1, 2013-05-20
|
||||
|
||||
|
||||
This document lists important changes for each version, that require manual
|
||||
actions. It is recommended to read it when upgrading to a new stable
|
||||
version.
|
||||
|
||||
For a complete list of changes, please look at
|
||||
http://weechat.org/files/changelog/ChangeLog-devel.html[ChangeLog]
|
||||
(file 'ChangeLog' in sources).
|
||||
|
||||
|
||||
Version 0.4.1 (2013-05-20)
|
||||
--------------------------
|
||||
|
||||
=== Nicklist diff in relay ===
|
||||
|
||||
A new message with identifier "_nicklist_diff" has been added in relay (WeeChat
|
||||
protocol). WeeChat may decide to send full nicklist or this nicklist diff at any
|
||||
time (depending on size of message, the smaller is sent).
|
||||
|
||||
Clients using nicklist must implement it.
|
||||
|
||||
For more info about content of message, see document 'WeeChat Relay Protocol'.
|
||||
|
||||
=== Dynamic nick prefix/suffix ===
|
||||
|
||||
The nick prefix/suffix (for example: "<" and ">") are now dynamic and used on
|
||||
display (not stored any more in the line).
|
||||
|
||||
Options moved from irc plugin (irc.conf) to core (weechat.conf):
|
||||
|
||||
* 'irc.look.nick_prefix' moved to 'weechat.look.nick_prefix'
|
||||
* 'irc.look.nick_suffix' moved to 'weechat.look.nick_suffix'
|
||||
* 'irc.color.nick_prefix' moved to 'weechat.color.chat_nick_prefix'
|
||||
* 'irc.color.nick_suffix' moved to 'weechat.color.chat_nick_suffix'
|
||||
|
||||
Types and default values for these four options remain unchanged.
|
||||
|
||||
Two new options to customize the truncature char (by default "`+`"):
|
||||
|
||||
* 'weechat.look.prefix_align_more_after' (boolean, 'on' by default)
|
||||
* 'weechat.look.prefix_buffer_align_more_after' (boolean, 'on' by default)
|
||||
|
||||
When these options are enabled (default), the "`+`" is displayed after the
|
||||
text, replacing the space that should be displayed there. +
|
||||
When turned off, the "`+`" will replace last char of text.
|
||||
|
||||
Example for a nicks "FlashCode" and "fc" with different values for options
|
||||
'weechat.look.prefix_align_max', 'weechat.look.prefix_align_more_after',
|
||||
'weechat.look.nick_prefix' and 'weechat.look.nick_suffix':
|
||||
|
||||
----------------------------------------
|
||||
# align_max, more_after, prefix/suffix
|
||||
|
||||
FlashCode │ test # 0, on
|
||||
fc │ test
|
||||
|
||||
FlashCod+│ test # 8, on
|
||||
fc │ test
|
||||
|
||||
FlashCo+ │ test # 8, off
|
||||
fc │ test
|
||||
|
||||
<FlashCode> │ test # 0, on, < >
|
||||
<fc> │ test
|
||||
|
||||
<FlashC>+│ test # 8, on, < >
|
||||
<fc> │ test
|
||||
|
||||
<Flash+> │ test # 8, off, < >
|
||||
<fc> │ test
|
||||
----------------------------------------
|
||||
|
||||
After `/upgrade`, if you set new options to non-empty strings, and if old
|
||||
options were set to non-empty strings too, you will see double prefix/suffix
|
||||
on old messages, this is normal behaviour (lines displayed before `/upgrade`
|
||||
have prefix/suffix saved in prefix, but new lines don't have them any more).
|
||||
|
||||
New options in logger plugin (logger.conf):
|
||||
|
||||
* 'logger.file.nick_prefix': prefix for nicks in log files (default: empty
|
||||
string)
|
||||
* 'logger.file.nick_suffix': suffix for nicks in log files (default: empty
|
||||
string)
|
||||
|
||||
=== IRC reconnection on important lag ===
|
||||
|
||||
Option 'irc.network.lag_disconnect' has been renamed to
|
||||
'irc.network.lag_reconnect' and value is now a number of seconds (instead of
|
||||
minutes).
|
||||
|
||||
=== IRC passwords hidden ===
|
||||
|
||||
IRC plugin is now using modifiers "irc_command_auth" and "irc_message_auth" to
|
||||
hide passwords.
|
||||
|
||||
The option 'irc.look.hide_nickserv_pwd' has been removed, and a new option
|
||||
'irc.look.nicks_hide_password' has been added (by default passwords are hidden
|
||||
only for "nickserv").
|
||||
|
||||
A new rmodifier "message_auth" has been added to hide passwords displayed by
|
||||
command "/msg nickserv identify|register|ghost|release" and the rmodifier
|
||||
"nickserv" has been renamed to "command_auth".
|
||||
|
||||
If you never added/changed rmodifiers, you can just reset all rmodifiers:
|
||||
|
||||
----------------------------------------
|
||||
/rmodifier default -yes
|
||||
----------------------------------------
|
||||
|
||||
If you added/changed some rmodifiers, do it manually with these commands:
|
||||
|
||||
----------------------------------------
|
||||
/rmodifier del nickserv
|
||||
/rmodifier add command_auth history_add,input_text_display,irc_command_auth 1,4* ^(/(msg|quote) +nickserv +(id|identify|register|ghost \S+|release \S+) +)(.*)
|
||||
/rmodifier add message_auth irc_message_auth 1,3* ^(.*(id|identify|register|ghost \S+|release \S+) +)(.*)
|
||||
----------------------------------------
|
||||
|
||||
=== Lua constants ===
|
||||
|
||||
For consistency with other supported languages, the API constants in Lua have
|
||||
been redefined as constants instead of functions.
|
||||
|
||||
Therefore, the use of a constant must be changed: the parentheses must be
|
||||
removed.
|
||||
|
||||
The old syntax was:
|
||||
|
||||
[source,lua]
|
||||
----------------------------------------
|
||||
return weechat.WEECHAT_RC_OK()
|
||||
----------------------------------------
|
||||
|
||||
The new syntax is:
|
||||
|
||||
[source,lua]
|
||||
----------------------------------------
|
||||
return weechat.WEECHAT_RC_OK
|
||||
----------------------------------------
|
||||
|
||||
=== Guile callbacks ===
|
||||
|
||||
The way to give arguments for guile callbacks has been fixed: now arguments are
|
||||
sent individually (instead of a list with all arguments inside).
|
||||
|
||||
Therefore, existing guile scripts must be modified accordingly. Moreover,
|
||||
WeeChat now requires Guile ≥ 2.0 to compile.
|
||||
|
||||
Version 0.4.0 (2013-01-20)
|
||||
--------------------------
|
||||
|
||||
=== Conditions in bars ===
|
||||
|
||||
Conditions in bars have changed, and now an expression is evaluated.
|
||||
|
||||
If you have a value with many conditions in a bar, like: `nicklist,active`, you
|
||||
must now use an expression like: `${nicklist} && ${active}` (see the chapter
|
||||
about bars in the 'WeeChat User's guide').
|
||||
|
||||
=== IPv6 by default ===
|
||||
|
||||
==== IRC ====
|
||||
|
||||
IPv6 is now used by default to connect to IRC servers, with fallback to
|
||||
IPv4. The option 'irc.server_default.ipv6' is now "on" by default. If IPv6 is
|
||||
not enabled or fails, IPv4 will be used. The "ipv6" option in server is now used
|
||||
to disable IPv6 and force IPv4 (if option is turned "off").
|
||||
|
||||
==== Relay ====
|
||||
|
||||
Relay plugin is now listening by default on an IPv6 socket (new option
|
||||
'relay.network.ipv6', on by default), so connections with IPv4 will have
|
||||
IPv4-mapped IPv6 addresses, like: "::ffff:127.0.0.1" (for "127.0.0.1"); check
|
||||
that value of option 'relay.network.allowed_ips' supports this mapping, or
|
||||
disable IPv6 in relay if you don't plan to use it at all:
|
||||
|
||||
----------------------------------------
|
||||
/set relay.network.ipv6 off
|
||||
----------------------------------------
|
||||
|
||||
Version 0.3.9.2 (2012-11-18)
|
||||
----------------------------
|
||||
|
||||
This version fixes a security vulnerability when a plugin/script gives untrusted
|
||||
command to API function "hook_process".
|
||||
|
||||
Version 0.3.9.1 (2012-11-09)
|
||||
----------------------------
|
||||
|
||||
This version fixes crash when decoding IRC colors in strings.
|
||||
|
||||
Version 0.3.9 (2012-09-29)
|
||||
--------------------------
|
||||
|
||||
Important release notes:
|
||||
=== Options moved ===
|
||||
|
||||
* options moved from core (weechat.conf) to irc plugin (irc.conf):
|
||||
** 'weechat.look.nickmode' moved to 'irc.look.nick_mode' (new type: integer
|
||||
Options moved from core (weechat.conf) to irc plugin (irc.conf):
|
||||
|
||||
* 'weechat.look.nickmode' moved to 'irc.look.nick_mode' (new type: integer
|
||||
with values: none/prefix/action/both)
|
||||
** 'weechat.look.nickmode_empty' moved to 'irc.look.nick_mode_empty'
|
||||
* new bar item has been added: 'buffer_modes' and irc option
|
||||
'irc.look.item_channel_modes' has been removed; to display irc channel modes
|
||||
in status bar (after channel name), you have to manually add the new item
|
||||
'buffer_modes' (this is now used by default in status bar items), default
|
||||
value for status bar items becomes:
|
||||
** `/set weechat.bar.status.items "[time],[buffer_count],[buffer_plugin],buffer_number+:+buffer_name+(buffer_modes)+{buffer_nicklist_count}+buffer_filter,[lag],[hotlist],completion,scroll"`
|
||||
* changes in options for command `/aspell`:
|
||||
** new option `enable`: enable aspell
|
||||
** new option `disable`: disable aspell
|
||||
** new option `toggle`: toggle aspell (new default key: alt+"s")
|
||||
** option `enable` renamed to `setdict` (set dictionary for current buffer)
|
||||
** option `disable` renamed to `deldict` (delete dictionary used on current buffer)
|
||||
** option `dictlist` renamed to `listdict` (show installed dictionaries)
|
||||
* an horizontal separator has been added between split windows, and two options
|
||||
have been added to toggle separators (both are enabled by default):
|
||||
** 'weechat.look.window_separator_horizontal'
|
||||
** 'weechat.look.window_separator_vertical'
|
||||
* new keys were added, use command `/key missing` to add them or `/key listdiff`
|
||||
to see differences between your current keys and WeeChat default keys
|
||||
* 'weechat.look.nickmode_empty' moved to 'irc.look.nick_mode_empty'
|
||||
|
||||
=== New bar item buffer_modes ===
|
||||
|
||||
A new bar item has been added: 'buffer_modes' and irc option
|
||||
'irc.look.item_channel_modes' has been removed; to display irc channel modes in
|
||||
status bar (after channel name), you have to manually add the new item
|
||||
'buffer_modes' (this is now used by default in status bar items), default value
|
||||
for status bar items becomes:
|
||||
|
||||
----------------------------------------
|
||||
/set weechat.bar.status.items "[time],[buffer_count],[buffer_plugin],buffer_number+:+buffer_name+(buffer_modes)+{buffer_nicklist_count}+buffer_filter,[lag],[hotlist],completion,scroll"
|
||||
----------------------------------------
|
||||
|
||||
=== Command /aspell ===
|
||||
|
||||
New options in command `/aspell`:
|
||||
|
||||
* `enable`: enable aspell
|
||||
* `disable`: disable aspell
|
||||
* `toggle`: toggle aspell (new default key: alt+"s")
|
||||
|
||||
Options renamed in command `/aspell`:
|
||||
|
||||
* `enable` renamed to `setdict` (set dictionary for current buffer)
|
||||
* `disable` renamed to `deldict` (delete dictionary used on current buffer)
|
||||
* `dictlist` renamed to `listdict` (show installed dictionaries)
|
||||
|
||||
=== Horizontal separator ===
|
||||
|
||||
An horizontal separator has been added between split windows, and two options
|
||||
have been added to toggle separators (both are enabled by default):
|
||||
|
||||
* 'weechat.look.window_separator_horizontal'
|
||||
* 'weechat.look.window_separator_vertical'
|
||||
|
||||
=== New keys ===
|
||||
|
||||
New keys were added, use command `/key missing` to add them or `/key listdiff`
|
||||
to see differences between your current keys and WeeChat default keys.
|
||||
|
||||
Version 0.3.8 (2012-06-03)
|
||||
--------------------------
|
||||
|
||||
Important release notes:
|
||||
=== Options ===
|
||||
|
||||
* options 'weechat.look.prefix_align_more' and
|
||||
'weechat.look.prefix_buffer_align_more' have been converted from type boolean
|
||||
to string:
|
||||
** if the value was on (default), new value is "+" and you can now customize
|
||||
this char
|
||||
** if the value was off, you have to set " " (string with one space)
|
||||
* option 'weechat.look.paste_max_lines' can now be used with value 0 to detect
|
||||
paste with one line (only if terminal "bracketed paste mode" is enabled when
|
||||
option 'weechat.look.paste_bracketed' is on); so now the value -1 is used
|
||||
to disable paste detection: if your value was 0, you should set it to -1:
|
||||
** `/set weechat.look.paste_max_lines -1`
|
||||
* rmodifier "nickserv" has a new default regex which includes option "release"
|
||||
for command "/msg nickserv". If you never added/changed rmodifiers, you can
|
||||
just reset all rmodifiers (command: `/rmodifier default -yes`).
|
||||
If you added/changed some rmodifiers, do it manually with these two commannds:
|
||||
** `/rmodifier del nickserv`
|
||||
** `/rmodifier add nickserv history_add,input_text_display 1,4* ^(/(msg|quote) +nickserv +(id|identify|ghost \S+|release \S+) +)(.*)`
|
||||
Options 'weechat.look.prefix_align_more' and
|
||||
'weechat.look.prefix_buffer_align_more' have been converted from type boolean to
|
||||
string:
|
||||
|
||||
* if the value was on (default), new value is "+" and you can now customize this
|
||||
char
|
||||
* if the value was off, you have to set " " (string with one space)
|
||||
|
||||
=== Paste detection ===
|
||||
|
||||
Option 'weechat.look.paste_max_lines' can now be used with value 0 to detect
|
||||
paste with one line (only if terminal "bracketed paste mode" is enabled when
|
||||
option 'weechat.look.paste_bracketed' is on); so now the value -1 is used to
|
||||
disable paste detection: if your value was 0, you should set it to -1
|
||||
|
||||
----------------------------------------
|
||||
/set weechat.look.paste_max_lines -1
|
||||
----------------------------------------
|
||||
|
||||
=== Rmodifier ===
|
||||
|
||||
Rmodifier "nickserv" has a new default regex which includes option "release" for
|
||||
command "/msg nickserv".
|
||||
|
||||
If you never added/changed rmodifiers, you can just reset all rmodifiers:
|
||||
|
||||
----------------------------------------
|
||||
/rmodifier default -yes
|
||||
----------------------------------------
|
||||
|
||||
If you added/changed some rmodifiers, do it manually with these commands:
|
||||
|
||||
----------------------------------------
|
||||
/rmodifier del nickserv
|
||||
/rmodifier add nickserv history_add,input_text_display 1,4* ^(/(msg|quote) +nickserv +(id|identify|ghost \S+|release \S+) +)(.*)
|
||||
----------------------------------------
|
||||
|
||||
Version 0.3.7 (2012-02-26)
|
||||
--------------------------
|
||||
|
||||
Important release notes:
|
||||
=== Options ===
|
||||
|
||||
* option `scroll_unread` has been moved from command `/input` to `/window`,
|
||||
therefore default command of key alt+"u" has been updated. To bind key with
|
||||
new default value:
|
||||
** `/key bind meta-u /window scroll_unread`
|
||||
* extended regex is used in filters and irc ignore, so some chars that
|
||||
needed escape in past do not need any more (for example `[0-9]\+` becomes
|
||||
`[0-9]+`), filters and ignore have to be manually fixed
|
||||
* option 'weechat.look.highlight_regex' becomes case insensitive by default,
|
||||
to make it case sensitive, use "(?-i)" at beginning of string, for example:
|
||||
"(?-i)FlashCode|flashy"
|
||||
* option 'weechat.history.max_lines' has been renamed to
|
||||
'weechat.history.max_buffer_lines_number'
|
||||
* option 'weechat.plugin.extension' now supports list of extensions, and new
|
||||
default value is ".so,.dll" (with this value, weechat.conf is compatible with
|
||||
Cygwin)
|
||||
Option `scroll_unread` has been moved from command `/input` to `/window`,
|
||||
therefore default command of key alt+"u" has been updated. To bind key with new
|
||||
default value:
|
||||
|
||||
----------------------------------------
|
||||
/key bind meta-u /window scroll_unread
|
||||
----------------------------------------
|
||||
|
||||
Option 'weechat.history.max_lines' has been renamed to
|
||||
'weechat.history.max_buffer_lines_number'.
|
||||
|
||||
Option 'weechat.plugin.extension' now supports list of extensions, and new
|
||||
default value is ".so,.dll" (with this value, weechat.conf is compatible with
|
||||
Cygwin).
|
||||
|
||||
=== Extended regex ===
|
||||
|
||||
Extended regex is used in filters and irc ignore, so some chars that needed
|
||||
escape in past do not need any more (for example `[0-9]\+` becomes `[0-9]+`),
|
||||
filters and ignore have to be manually fixed.
|
||||
|
||||
Option 'weechat.look.highlight_regex' becomes case insensitive by default, to
|
||||
make it case sensitive, use "(?-i)" at beginning of string, for example:
|
||||
"(?-i)FlashCode|flashy".
|
||||
|
||||
Version 0.3.6 (2011-10-22)
|
||||
--------------------------
|
||||
|
||||
Important release notes:
|
||||
=== Options ===
|
||||
|
||||
* bold is not used any more for basic colors (used only if terminal has less
|
||||
than 16 colors), a new option has been added to force bold if needed:
|
||||
'weechat.look.color_basic_force_bold'
|
||||
* option 'weechat.look.hline_char' has been renamed to
|
||||
'weechat.look.separator_horizontal'
|
||||
Option 'weechat.look.hline_char' has been renamed to
|
||||
'weechat.look.separator_horizontal'.
|
||||
|
||||
=== Bold in colors ===
|
||||
|
||||
Bold is not used any more for basic colors (used only if terminal has less than
|
||||
16 colors), a new option has been added to force bold if needed:
|
||||
'weechat.look.color_basic_force_bold'.
|
||||
|
||||
Version 0.3.5 (2011-05-15)
|
||||
--------------------------
|
||||
|
||||
Important release notes:
|
||||
=== Colors ===
|
||||
|
||||
* if you have some colors defined in section "palette" with version 0.3.4, you
|
||||
should remove all colors defined, and add new aliases (it's not needed any
|
||||
more to add colors before using them)
|
||||
* colors for nick prefixes (char for op, voice, ..) are defined in a single
|
||||
option 'irc.color.nick_prefixes', therefore following options will be lost:
|
||||
'irc.color.nick_prefix_op', 'irc.color.nick_prefix_halfop',
|
||||
'irc.color.nick_prefix_voice', 'irc.color.nick_prefix_user'
|
||||
* count of messages have been added to hotlist by default, if you want to come
|
||||
back to old behaviour, do that:
|
||||
** `/set weechat.look.hotlist_count_max 0`
|
||||
** `/set weechat.look.hotlist_buffer_separator ","`
|
||||
* when you are away, all buffers are now added to hotlist by default (even if
|
||||
they are displayed in a window), if you want to come back to old behaviour, do
|
||||
that:
|
||||
** `/set weechat.look.hotlist_add_buffer_if_away off`
|
||||
* new keys were added, use command `/key missing` to add them or `/key listdiff`
|
||||
to see differences between your current keys and WeeChat default keys
|
||||
If you have some colors defined in section "palette" with version 0.3.4, you
|
||||
should remove all colors defined, and add new aliases (it's not needed any more
|
||||
to add colors before using them).
|
||||
|
||||
Colors for nick prefixes (char for op, voice, ..) are defined in a single option
|
||||
'irc.color.nick_prefixes', therefore following options will be lost:
|
||||
'irc.color.nick_prefix_op', 'irc.color.nick_prefix_halfop',
|
||||
'irc.color.nick_prefix_voice', 'irc.color.nick_prefix_user'.
|
||||
|
||||
=== Hotlist ===
|
||||
|
||||
==== Counters ====
|
||||
|
||||
Count of messages have been added to hotlist by default, if you want to come
|
||||
back to old behavior, do that:
|
||||
|
||||
----------------------------------------
|
||||
/set weechat.look.hotlist_count_max 0
|
||||
/set weechat.look.hotlist_buffer_separator ","
|
||||
----------------------------------------
|
||||
|
||||
==== Away and current buffer ====
|
||||
|
||||
When you are away, all buffers are now added to hotlist by default (even if they
|
||||
are displayed in a window), if you want to come back to old behavior, do that:
|
||||
|
||||
----------------------------------------
|
||||
/set weechat.look.hotlist_add_buffer_if_away off
|
||||
----------------------------------------
|
||||
|
||||
=== New keys ===
|
||||
|
||||
New keys were added, use command `/key missing` to add them or `/key listdiff`
|
||||
to see differences between your current keys and WeeChat default keys.
|
||||
|
||||
Version 0.3.4 (2011-01-16)
|
||||
--------------------------
|
||||
|
||||
Important release notes:
|
||||
=== After /upgrade ===
|
||||
|
||||
* if you are using `/upgrade` from a previous release:
|
||||
** some nick prefixes can be wrong, so it is recommended to do `/allchan names`
|
||||
** nick colors are defined with a new option 'weechat.color.chat_nick_colors',
|
||||
therefore old options 'weechat.color.chat_nick_color1..10' will be lost when
|
||||
upgrading
|
||||
** nick colors in messages displayed will be wrong if you changed some nick colors
|
||||
(old default colors will be used)
|
||||
* some IRC options have been renamed, before upgrading to this version, note
|
||||
value for old options, and set them again with new name:
|
||||
** options moved from 'network' section to servers (with global value, and server
|
||||
value, like other server options):
|
||||
*** 'irc.network.connection_timeout' moved to 'irc.server_default.connection_timeout'
|
||||
*** 'irc.network.anti_flood_prio_high' moved to 'irc.server_default.anti_flood_prio_high'
|
||||
*** 'irc.network.anti_flood_prio_low' moved to 'irc.server_default.anti_flood_prio_low'
|
||||
*** 'irc.network.away_check' moved to 'irc.server_default.away_check'
|
||||
*** 'irc.network.away_check_max_nicks' moved to 'irc.server_default.away_check_max_nicks'
|
||||
*** 'irc.network.default_msg_part' moved to 'irc.server_default.default_msg_part'
|
||||
*** 'irc.network.default_msg_quit' moved to 'irc.server_default.default_msg_quit'
|
||||
** other IRC options renamed:
|
||||
*** 'irc.look.open_channel_near_server' moved to 'irc.look.new_channel_position'
|
||||
(old option was boolean, new is integer with value as string)
|
||||
*** 'irc.look.open_pv_near_server' moved to 'irc.look.new_pv_position'
|
||||
(old option was boolean, new is integer with value as string)
|
||||
If you are using `/upgrade` from a previous release:
|
||||
|
||||
* some nick prefixes can be wrong, so it is recommended to do `/allchan names`
|
||||
* nick colors are defined with a new option 'weechat.color.chat_nick_colors',
|
||||
therefore old options 'weechat.color.chat_nick_color1..10' will be lost when
|
||||
upgrading
|
||||
* nick colors in messages displayed will be wrong if you changed some nick colors
|
||||
(old default colors will be used)
|
||||
|
||||
=== Options ===
|
||||
|
||||
Some IRC options have been renamed, before upgrading to this version, note
|
||||
value for old options, and set them again with new name:
|
||||
|
||||
* options moved from 'network' section to servers (with global value, and server
|
||||
value, like other server options):
|
||||
** 'irc.network.connection_timeout' moved to
|
||||
'irc.server_default.connection_timeout'
|
||||
** 'irc.network.anti_flood_prio_high' moved to
|
||||
'irc.server_default.anti_flood_prio_high'
|
||||
** 'irc.network.anti_flood_prio_low' moved to
|
||||
'irc.server_default.anti_flood_prio_low'
|
||||
** 'irc.network.away_check' moved to 'irc.server_default.away_check'
|
||||
** 'irc.network.away_check_max_nicks' moved to
|
||||
'irc.server_default.away_check_max_nicks'
|
||||
** 'irc.network.default_msg_part' moved to 'irc.server_default.default_msg_part'
|
||||
** 'irc.network.default_msg_quit' moved to 'irc.server_default.default_msg_quit'
|
||||
* other IRC options renamed:
|
||||
** 'irc.look.open_channel_near_server' moved to 'irc.look.new_channel_position'
|
||||
(old option was boolean, new is integer with value as string)
|
||||
** 'irc.look.open_pv_near_server' moved to 'irc.look.new_pv_position'
|
||||
(old option was boolean, new is integer with value as string)
|
||||
|
||||
Version 0.3.3 (2010-08-07)
|
||||
--------------------------
|
||||
|
||||
Important release notes:
|
||||
=== After /upgrade ===
|
||||
|
||||
* if you are using `/upgrade` from a previous release, then you must reconnect
|
||||
to IRC servers in order to use new command /wallchops.
|
||||
* option 'irc.network.lag_min_show' is now in milliseconds, you should set new
|
||||
value: your current value multiplied by 1000 (new default value is 500).
|
||||
If you are using `/upgrade` from a previous release, then you must reconnect to
|
||||
IRC servers in order to use new command /wallchops.
|
||||
|
||||
=== Options ===
|
||||
|
||||
Option 'irc.look.show_away_once' has been renamed to
|
||||
'irc.look.display_pv_away_once'.
|
||||
|
||||
Option 'irc.network.lag_min_show' is now in milliseconds, you should set new
|
||||
value: your current value multiplied by 1000 (new default value is 500).
|
||||
|
||||
Version 0.3.2 (2010-04-18)
|
||||
--------------------------
|
||||
|
||||
=== After /upgrade ===
|
||||
|
||||
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`
|
||||
needed on WeeChat core buffer or buffers from other plugins/scripts):
|
||||
|
||||
----------------------------------------
|
||||
/buffer set highlight_words $nick
|
||||
----------------------------------------
|
||||
|
||||
Version 0.3.1.1 (2010-01-31)
|
||||
----------------------------
|
||||
|
||||
This version fixes crashs with SSL connection and purge of old DCC chats.
|
||||
This version fixes crashes with SSL connection and purge of old DCC chats.
|
||||
|
||||
All users of version 0.3.1 should upgrade to this version.
|
||||
|
||||
Version 0.3.1 (2010-01-23)
|
||||
--------------------------
|
||||
|
||||
=== Aliases ===
|
||||
|
||||
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`
|
||||
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
|
||||
----------------------------------------
|
||||
|
||||
Version 0.3.0 (2009-09-06)
|
||||
--------------------------
|
||||
|
||||
This version brings major changes, especially for configuration files and plugin
|
||||
API.
|
||||
This version brings *MAJOR* changes, especially for configuration files and
|
||||
plugin API and it not compatible with previous versions.
|
||||
|
||||
For more information about this version, please read file 'UPGRADE_0.3'.
|
||||
Major differences:
|
||||
|
||||
* it is *NOT POSSIBLE* to use command `/upgrade` from a version 0.2.x to 0.3.x;
|
||||
you have to quit your old WeeChat, then run new version.
|
||||
* new configuration files (`*.conf`) are not compatible with old files (`*.rc`).
|
||||
* name of options is similar to old versions, but there is now one configuration
|
||||
file by plugin, and one file for WeeChat core; there is
|
||||
*no automatic conversion* for your old options to new configuration files,
|
||||
so you'll have to setup again your IRC servers and all other options.
|
||||
* plugin API has been rewritten and is not compatible with previous versions;
|
||||
accordingly, scripts and plugins must have been designed for version 0.3.x to
|
||||
be loaded into WeeChat.
|
||||
|
||||
More information about new API is available on wiki:
|
||||
http://wiki.flashtux.org/wiki/WeeChat_0.3.0
|
||||
and http://wiki.flashtux.org/wiki/WeeChat_0.3.0_API
|
||||
|
||||
Version 0.2.6.3 (2009-06-13)
|
||||
----------------------------
|
||||
@@ -223,26 +521,47 @@ All users of version 0.2.2 should upgrade to this version.
|
||||
Version 0.2.2 (2007-01-06)
|
||||
--------------------------
|
||||
|
||||
Important release notes:
|
||||
=== Charset plugin ===
|
||||
|
||||
* 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`).
|
||||
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 set
|
||||
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 ===
|
||||
|
||||
New keys for topic scroll: 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
|
||||
----------------------------------------
|
||||
|
||||
Version 0.2.1 (2006-10-01)
|
||||
--------------------------
|
||||
@@ -252,71 +571,98 @@ No release note.
|
||||
Version 0.2.0 (2006-08-19)
|
||||
--------------------------
|
||||
|
||||
Important release notes:
|
||||
=== After /upgrade ===
|
||||
|
||||
* 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.*`, ..).
|
||||
If you upgraded with `/upgrade` in WeeChat, you should `/disconnect` and then
|
||||
`/reconnect` on each server, to display properly channel/user modes.
|
||||
|
||||
=== Plugins ===
|
||||
|
||||
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:
|
||||
=== DCC chat ===
|
||||
|
||||
* 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).
|
||||
Please close all DCC chat buffers before using /upgrade command, otherwise you
|
||||
may experience problems with DCC chats.
|
||||
|
||||
=== Script API ===
|
||||
|
||||
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 arguments).
|
||||
|
||||
Version 0.1.8 (2006-03-18)
|
||||
--------------------------
|
||||
|
||||
Important release notes:
|
||||
=== After /upgrade ===
|
||||
|
||||
* 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}.
|
||||
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`).
|
||||
|
||||
=== Configuration files ===
|
||||
|
||||
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'
|
||||
|
||||
The string '%h' is replaced by WeeChat home (default: '~/.weechat', may be
|
||||
overridden by new command line argument `--dir`).
|
||||
|
||||
=== Keys ===
|
||||
|
||||
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 ===
|
||||
|
||||
* 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.
|
||||
Ruby script plugin has been added but is experimental in this release. You're
|
||||
warned!
|
||||
|
||||
=== Command /away ===
|
||||
|
||||
Command `/away` 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:
|
||||
=== Script API ===
|
||||
|
||||
* 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.
|
||||
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).
|
||||
|
||||
=== OpenBSD ===
|
||||
|
||||
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'.
|
||||
|
||||
=== UTF-8 ===
|
||||
|
||||
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)
|
||||
--------------------------
|
||||
|
||||
@@ -22,7 +22,7 @@ Features
|
||||
Copyright
|
||||
---------
|
||||
|
||||
Copyright (C) 2003-2012 Sébastien Helleu <flashcode@flashtux.org>
|
||||
Copyright (C) 2003-2013 Sébastien Helleu <flashcode@flashtux.org>
|
||||
|
||||
This file is part of WeeChat, the extensible chat client.
|
||||
|
||||
|
||||
-83
@@ -1,83 +0,0 @@
|
||||
WeeChat Upgrade to 0.3.x
|
||||
========================
|
||||
Sébastien Helleu <flashcode@flashtux.org>
|
||||
v0.3.0, 2009-09-06
|
||||
|
||||
|
||||
This document lists major changes introduced in version 0.3.0 and not compatible
|
||||
with versions 0.2.x.
|
||||
|
||||
|
||||
Upgrade to version 0.3.x
|
||||
------------------------
|
||||
|
||||
It is *NOT POSSIBLE* to use command `/upgrade` from a version 0.2.x to 0.3.x.
|
||||
You have to quit your old WeeChat, then run new version.
|
||||
|
||||
Of course, command `/upgrade` is working fine once you'll be with 0.3.x to
|
||||
upgrade to another 0.3.x (unless this command is broken again, please look
|
||||
at release notes (file 'NEWS') for version you're currently installing).
|
||||
|
||||
|
||||
Configuration files
|
||||
-------------------
|
||||
|
||||
Changes with previous versions
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
New configuration files (`*.conf`) are not compatible with old files (`*.rc`).
|
||||
|
||||
Name of options is similar to old versions, but there is now one configuration
|
||||
file by plugin, and one file for WeeChat core.
|
||||
|
||||
There is *no automatic conversion* for your old options to new configuration files,
|
||||
so you'll have to setup again your IRC servers and all other options.
|
||||
|
||||
In WeeChat, option names are now with format: `plugin.section.option` (for
|
||||
WeeChat core, `plugin` is `weechat`).
|
||||
|
||||
Examples:
|
||||
|
||||
* WeeChat options: `weechat.xxx.yyy`
|
||||
* IRC options: `irc.xxx.yyy`
|
||||
|
||||
You should read quickstart guide to be familiar with basic commands and syntax
|
||||
(some commands like `/server` have changed): http://www.weechat.org/doc
|
||||
|
||||
|
||||
List of configuration files
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
* Old configuration files:
|
||||
** weechat.rc
|
||||
** plugins.rc
|
||||
* New configuration files are now (with default plugins):
|
||||
** weechat.conf
|
||||
** alias.conf
|
||||
** aspell.conf
|
||||
** charset.conf
|
||||
** irc.conf
|
||||
** jabber.conf
|
||||
** logger.conf
|
||||
** plugins.conf
|
||||
** relay.conf
|
||||
** xfer.conf
|
||||
|
||||
|
||||
Plugin API
|
||||
----------
|
||||
|
||||
Plugin API has been rewritten and is not compatible with previous versions.
|
||||
Accordingly, scripts and plugins must have been designed for version 0.3.x to
|
||||
be loaded into WeeChat.
|
||||
|
||||
There is no migration script today to convert old script to new API.
|
||||
Therefore, if you plan to use old script, you'll have to wait for new version
|
||||
or you can convert script yourself and send us new version ;)
|
||||
|
||||
You can download scripts for new API on plugins page:
|
||||
http://www.weechat.org/plugins
|
||||
|
||||
More information about new API is available on wiki:
|
||||
http://wiki.flashtux.org/wiki/WeeChat_0.3.0
|
||||
and http://wiki.flashtux.org/wiki/WeeChat_0.3.0_API
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2005 Julien Louis <ptitlouis@sysif.net>
|
||||
# Copyright (C) 2005-2006 Emmanuel Bouthenot <kolter@openics.org>
|
||||
#
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
@@ -41,10 +41,13 @@ IF(LIBGCRYPT_CONFIG_EXECUTABLE)
|
||||
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)
|
||||
# handle the QUIETLY and REQUIRED arguments and set GCRYPT_FOUND to TRUE if
|
||||
# all listed variables are TRUE
|
||||
INCLUDE(${CMAKE_HOME_DIRECTORY}/cmake/FindPackageHandleStandardArgs.cmake)
|
||||
FIND_PACKAGE_HANDLE_STANDARD_ARGS(GCRYPT REQUIRED_VARS GCRYPT_LDFLAGS GCRYPT_CFLAGS)
|
||||
|
||||
IF(GCRYPT_FOUND)
|
||||
MARK_AS_ADVANCED(GCRYPT_CFLAGS GCRYPT_LDFLAGS)
|
||||
ENDIF(GCRYPT_FOUND)
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2007 Julien Louis <ptitlouis@sysif.net>
|
||||
# Copyright (C) 2009 Emmanuel Bouthenot <kolter@openics.org>
|
||||
#
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2009 Emmanuel Bouthenot <kolter@openics.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
|
||||
+5
-19
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2011-2012 Sebastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2011-2013 Sebastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
@@ -31,21 +31,7 @@ IF(GUILE_FOUND)
|
||||
SET(GUILE_FIND_QUIETLY TRUE)
|
||||
ENDIF(GUILE_FOUND)
|
||||
|
||||
FIND_PATH(GUILE_INCLUDE_DIR libguile.h /usr/include /usr/local/include /usr/include/libguile /usr/local/include/libguile)
|
||||
|
||||
FIND_LIBRARY(GUILE_LIBRARY NAMES guile PATH /usr/lib /usr/local/lib)
|
||||
|
||||
IF(GUILE_INCLUDE_DIR AND GUILE_LIBRARY)
|
||||
SET(GUILE_FOUND TRUE)
|
||||
SET(GUILE_INCLUDE_DIRS ${GUILE_INCLUDE_DIR})
|
||||
SET(GUILE_LIBRARIES ${GUILE_LIBRARY})
|
||||
ELSE(GUILE_INCLUDE_DIR AND GUILE_LIBRARY)
|
||||
SET(GUILE_FOUND FALSE)
|
||||
SET(GUILE_INCLUDE_DIRS)
|
||||
SET(GUILE_LIBRARIES)
|
||||
ENDIF(GUILE_INCLUDE_DIR AND GUILE_LIBRARY)
|
||||
|
||||
MARK_AS_ADVANCED(
|
||||
GUILE_INCLUDE_DIR
|
||||
GUILE_LIBRARY
|
||||
)
|
||||
FIND_PACKAGE(PkgConfig)
|
||||
IF(PKG_CONFIG_FOUND)
|
||||
pkg_search_module(GUILE guile-2.0)
|
||||
ENDIF(PKG_CONFIG_FOUND)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
@@ -49,10 +49,11 @@ FIND_LIBRARY(ICONV_LIBRARY
|
||||
IF(ICONV_INCLUDE_PATH)
|
||||
IF(ICONV_LIBRARY)
|
||||
STRING(REGEX REPLACE "/[^/]*$" "" ICONV_LIB_PATH "${ICONV_LIBRARY}")
|
||||
CHECK_LIBRARY_EXISTS(iconv libiconv_open ${ICONV_LIB_PATH} ICONV_FOUND)
|
||||
IF(NOT ICONV_FOUND)
|
||||
CHECK_LIBRARY_EXISTS(iconv iconv_open ${ICONV_LIB_PATH} ICONV_FOUND)
|
||||
ENDIF(NOT ICONV_FOUND)
|
||||
CHECK_LIBRARY_EXISTS(iconv libiconv_open ${ICONV_LIB_PATH} LIBICONV_OPEN_FOUND)
|
||||
CHECK_LIBRARY_EXISTS(iconv iconv_open ${ICONV_LIB_PATH} ICONV_OPEN_FOUND)
|
||||
IF(LIBICONV_OPEN_FOUND OR ICONV_OPEN_FOUND)
|
||||
SET(ICONV_FOUND TRUE)
|
||||
ENDIF(LIBICONV_OPEN_FOUND OR ICONV_OPEN_FOUND)
|
||||
ELSE(ICONV_LIBRARY)
|
||||
CHECK_FUNCTION_EXISTS(iconv_open ICONV_FOUND)
|
||||
ENDIF(ICONV_LIBRARY)
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
|
||||
+24
-11
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2009 Julien Louis <ptitlouis@sysif.net>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
@@ -33,14 +33,21 @@ IF(PYTHON_FOUND)
|
||||
SET(PYTHON_FIND_QUIETLY TRUE)
|
||||
ENDIF(PYTHON_FOUND)
|
||||
|
||||
FIND_PROGRAM(PYTHON_EXECUTABLE
|
||||
NAMES python2.7 python2.6 python2.5 python
|
||||
PATHS /usr/bin /usr/local/bin /usr/pkg/bin
|
||||
)
|
||||
IF(ENABLE_PYTHON3)
|
||||
FIND_PROGRAM(PYTHON_EXECUTABLE
|
||||
NAMES python3.4 python3.3 python3.2 python3.1 python3.0 python3 python2.7 python2.6 python2.5 python
|
||||
PATHS /usr/bin /usr/local/bin /usr/pkg/bin
|
||||
)
|
||||
ELSE(ENABLE_PYTHON3)
|
||||
FIND_PROGRAM(PYTHON_EXECUTABLE
|
||||
NAMES python2.7 python2.6 python2.5 python
|
||||
PATHS /usr/bin /usr/local/bin /usr/pkg/bin
|
||||
)
|
||||
ENDIF(ENABLE_PYTHON3)
|
||||
|
||||
IF(PYTHON_EXECUTABLE)
|
||||
EXECUTE_PROCESS(
|
||||
COMMAND ${PYTHON_EXECUTABLE} -c "import sys; from distutils.sysconfig import *; sys.stdout.write(get_config_var('CONFINCLUDEPY'))"
|
||||
COMMAND ${PYTHON_EXECUTABLE} -c "import sys; from distutils.sysconfig import *; sys.stdout.write(get_config_var('INCLUDEPY'))"
|
||||
OUTPUT_VARIABLE PYTHON_INC_DIR
|
||||
)
|
||||
|
||||
@@ -58,11 +65,17 @@ IF(PYTHON_EXECUTABLE)
|
||||
NAMES Python.h
|
||||
PATHS ${PYTHON_INC_DIR}
|
||||
)
|
||||
|
||||
FIND_LIBRARY(PYTHON_LIBRARY
|
||||
NAMES python2.7 python2.6 python2.5 python
|
||||
PATHS ${PYTHON_POSSIBLE_LIB_PATH}
|
||||
)
|
||||
IF(ENABLE_PYTHON3)
|
||||
FIND_LIBRARY(PYTHON_LIBRARY
|
||||
NAMES python3.4 python3.3 python3.2 python3.1 python3.0 python3 python2.7 python2.6 python2.5 python
|
||||
PATHS ${PYTHON_POSSIBLE_LIB_PATH}
|
||||
)
|
||||
ELSE(ENABLE_PYTHON3)
|
||||
FIND_LIBRARY(PYTHON_LIBRARY
|
||||
NAMES python2.7 python2.6 python2.5 python
|
||||
PATHS ${PYTHON_POSSIBLE_LIB_PATH}
|
||||
)
|
||||
ENDIF(ENABLE_PYTHON3)
|
||||
|
||||
IF(PYTHON_LIBRARY AND PYTHON_INCLUDE_PATH)
|
||||
EXECUTE_PROCESS(
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2009 Emmanuel Bouthenot <kolter@openics.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
#
|
||||
# Copyright (C) 2008 Julien Louis <ptitlouis@sysif.net>
|
||||
# Copyright (C) 2008-2012 Sebastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2008-2013 Sebastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
|
||||
@@ -1,52 +0,0 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
# WeeChat 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.
|
||||
#
|
||||
# WeeChat 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 WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
VERSION=@VERSION@
|
||||
SRCROOT=@CMAKE_SOURCE_DIR@
|
||||
BUILDDIR=@CMAKE_BINARY_DIR@
|
||||
PROJECT=@PROJECT_NAME@
|
||||
TAG=release-$(echo $VERSION | sed -e 's/\./-/g')
|
||||
|
||||
EXCLUDE="@DIST_EXCLUDE@"
|
||||
EXPORT_DIR="${PROJECT}-${VERSION}"
|
||||
|
||||
if [ -z $CVSROOT ]; then
|
||||
echo "The CVSROOT variable must be set"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "Exporting source tree"
|
||||
if [ $(echo $VERSION | grep cvs) ]; then
|
||||
cvs export -r HEAD -d $PROJECT-$VERSION $PROJECT
|
||||
else
|
||||
cvs export -r $TAG -d $PROJECT-$VERSION $PROJECT
|
||||
fi
|
||||
|
||||
echo "Removing not needed stuff"
|
||||
for i in $EXCLUDE ; do
|
||||
echo " $i"
|
||||
rm -rf $EXPORT_DIR/$i
|
||||
done
|
||||
|
||||
echo "Generating archive"
|
||||
tar cjf ${BUILDDIR}/${PROJECT}-${VERSION}.tar.bz2 ${EXPORT_DIR}
|
||||
|
||||
echo "Cleaning up"
|
||||
rm -rf ${EXPORT_DIR}
|
||||
@@ -1,27 +1,9 @@
|
||||
#cmakedefine HAVE_ARPA_INET_H
|
||||
#cmakedefine HAVE_LIBINTL_H
|
||||
#cmakedefine HAVE_LIMITS_H
|
||||
#cmakedefine HAVE_LOCALE_H
|
||||
#cmakedefine HAVE_NETDB_H
|
||||
#cmakedefine HAVE_NETINET_IN_H
|
||||
#cmakedefine HAVE_STDLIB_H
|
||||
#cmakedefine HAVE_STRING_H
|
||||
#cmakedefine HAVE_SYS_SOCKET_H
|
||||
#cmakedefine HAVE_SYS_TIME_H
|
||||
#cmakedefine HAVE_SYS_TYPES_H
|
||||
#cmakedefine HAVE_UNISTD_H
|
||||
#cmakedefine HAVE_PWD_H
|
||||
#cmakedefine HAVE_ERRNO_H
|
||||
#cmakedefine HAVE_REGEX_H
|
||||
#cmakedefine HAVE_WCHAR_H
|
||||
#cmakedefine HAVE_SYS_FILE_H
|
||||
#cmakedefine HAVE_SYS_RESOURCE_H
|
||||
#cmakedefine HAVE_FLOCK
|
||||
#cmakedefine HAVE_LANGINFO_CODESET
|
||||
#cmakedefine HAVE_STRNDUP
|
||||
#cmakedefine HAVE_BACKTRACE
|
||||
#cmakedefine ICONV_2ARG_IS_CONST 1
|
||||
#cmakedefine HAVE_TCL_CREATE_NS
|
||||
#cmakedefine HAVE_MALLINFO
|
||||
#cmakedefine HAVE_EAT_NEWLINE_GLITCH
|
||||
#define PACKAGE_VERSION "@VERSION@"
|
||||
|
||||
+32
-45
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2005 Benoit Papillault <benoit.papillault@free.fr>
|
||||
# Copyright (C) 2005-2006 Julien Louis <ptitlouis@sysif.net>
|
||||
# Copyright (C) 2005-2009 Emmanuel Bouthenot <kolter@openics.org>
|
||||
@@ -24,10 +24,10 @@
|
||||
# Process this file with autoconf to produce a configure script.
|
||||
|
||||
AC_PREREQ(2.56)
|
||||
AC_INIT(WeeChat, 0.3.9, flashcode@flashtux.org)
|
||||
AC_CONFIG_SRCDIR([src/core/weechat.c])
|
||||
AC_INIT(WeeChat, 0.4.1, flashcode@flashtux.org)
|
||||
AC_CONFIG_SRCDIR([configure.in])
|
||||
AM_CONFIG_HEADER(config.h)
|
||||
AM_INIT_AUTOMAKE([weechat], [0.3.9])
|
||||
AM_INIT_AUTOMAKE
|
||||
LICENSE="GPL3"
|
||||
|
||||
# Checks for programs
|
||||
@@ -68,7 +68,7 @@ AC_CHECK_LIB(ncursesw, initscr, LIBNCURSESW_FOUND=1, LIBNCURSESW_FOUND=0)
|
||||
|
||||
# Checks for header files
|
||||
AC_HEADER_STDC
|
||||
AC_CHECK_HEADERS([arpa/inet.h libintl.h limits.h locale.h netdb.h netinet/in.h stdlib.h string.h sys/socket.h sys/time.h sys/types.h unistd.h pwd.h errno.h regex.h wchar.h sys/file.h sys/resource.h])
|
||||
AC_CHECK_HEADERS([libintl.h sys/resource.h])
|
||||
|
||||
# Checks for typedefs, structures, and compiler characteristics
|
||||
AC_HEADER_TIME
|
||||
@@ -91,7 +91,7 @@ AC_MSG_RESULT($ac_cv_type_socklen_t)
|
||||
# Checks for library functions.
|
||||
AC_FUNC_SELECT_ARGTYPES
|
||||
AC_TYPE_SIGNAL
|
||||
AC_CHECK_FUNCS([gethostbyname gethostname getsockname gettimeofday inet_ntoa memset mkdir select setlocale socket strcasecmp strchr strdup strndup strncasecmp strpbrk strrchr strstr regexec mallinfo])
|
||||
AC_CHECK_FUNCS([mallinfo])
|
||||
|
||||
# Variables in config.h
|
||||
|
||||
@@ -124,7 +124,6 @@ AH_VERBATIM([WEECHAT_HOME], [#define WEECHAT_HOME "~/.weechat"])
|
||||
# Arguments for ./configure
|
||||
|
||||
AC_ARG_ENABLE(ncurses, [ --disable-ncurses turn off ncurses interface (default=compiled if found)],enable_ncurses=$enableval,enable_ncurses=yes)
|
||||
AC_ARG_ENABLE(gtk, [ --enable-gtk turn on Gtk interface (default=off)],enable_gtk=$enableval,enable_gtk=no)
|
||||
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)
|
||||
@@ -140,6 +139,7 @@ AC_ARG_ENABLE(script, [ --disable-script turn off Script plugin (d
|
||||
AC_ARG_ENABLE(scripts, [ --disable-scripts turn off script plugins (perl, python, ...) (default=compiled if found)],enable_scripts=$enableval,enable_scripts=yes)
|
||||
AC_ARG_ENABLE(perl, [ --disable-perl turn off Perl script plugin (default=compiled if found)],enable_perl=$enableval,enable_perl=yes)
|
||||
AC_ARG_ENABLE(python, [ --disable-python turn off Python script plugin (default=compiled if found)],enable_python=$enableval,enable_python=yes)
|
||||
AC_ARG_ENABLE(python3, [ --enable-python3 use Python 3.x if found (NOT recommended) (default=off)],enable_python3=$enableval,enable_python3=no)
|
||||
AC_ARG_ENABLE(ruby, [ --disable-ruby turn off Ruby script plugin (default=compiled if found)],enable_ruby=$enableval,enable_ruby=yes)
|
||||
AC_ARG_ENABLE(lua, [ --disable-lua turn off Lua script plugin (default=compiled if found)],enable_lua=$enableval,enable_lua=yes)
|
||||
AC_ARG_ENABLE(tcl, [ --disable-tcl turn off Tcl script plugin (default=compiled if found)],enable_tcl=$enableval,enable_tcl=yes)
|
||||
@@ -206,24 +206,6 @@ else
|
||||
not_asked="$not_asked ncurses"
|
||||
fi
|
||||
|
||||
if test "x$enable_gtk" = "xyes" ; then
|
||||
AM_PATH_GTK_2_0(2.4.0, LIBGTK_FOUND=1, LIBGTK_FOUND=0)
|
||||
if test "$LIBGTK_FOUND" = "0" ; then
|
||||
AC_MSG_WARN([
|
||||
*** Gtk library not found!
|
||||
*** WeeChat will be built without Gtk support.])
|
||||
enable_gtk="no"
|
||||
not_found="$not_found gtk"
|
||||
else
|
||||
GTK_CFLAGS=`pkg-config --cflags gtk+-2.0`
|
||||
GTK_LFLAGS=`pkg-config --libs gtk+-2.0`
|
||||
AC_SUBST(GTK_CFLAGS)
|
||||
AC_SUBST(GTK_LFLAGS)
|
||||
fi
|
||||
else
|
||||
not_asked="$not_asked gtk"
|
||||
fi
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
# iconv
|
||||
# ------------------------------------------------------------------------------
|
||||
@@ -465,7 +447,11 @@ fi
|
||||
PYTHON_VERSION=
|
||||
|
||||
if test "x$enable_python" = "xyes" ; then
|
||||
AC_PATH_PROGS(PYTHON, python2.7 python2.6 python2.5 python2 python)
|
||||
if test "x$enable_python3" = "xyes" ; then
|
||||
AC_PATH_PROGS(PYTHON, python3.4 python3.3 python3.2 python3.1 python3.0 python3 python2.7 python2.6 python2.5 python2 python)
|
||||
else
|
||||
AC_PATH_PROGS(PYTHON, python2.7 python2.6 python2.5 python2 python)
|
||||
fi
|
||||
if test -z $PYTHON ; then
|
||||
AC_MSG_WARN([
|
||||
*** Python must be installed on your system but python interpreter couldn't be found in path.
|
||||
@@ -476,7 +462,7 @@ if test "x$enable_python" = "xyes" ; then
|
||||
else
|
||||
PYTHON_SYSPREFIX=`$PYTHON -c 'import sys; sys.stdout.write("%s" % sys.prefix)'`
|
||||
PYTHON_VERSION=`$PYTHON -c 'import sys; sys.stdout.write(sys.version[[:3]])'`
|
||||
PYTHON_INCLUDE=`$PYTHON -c "import sys, distutils.sysconfig, string; sys.stdout.write(distutils.sysconfig.get_config_var('CONFINCLUDEPY'))"`
|
||||
PYTHON_INCLUDE=`$PYTHON -c "import sys, distutils.sysconfig, string; sys.stdout.write(distutils.sysconfig.get_config_var('INCLUDEPY'))"`
|
||||
PYTHON_OLD_VERSION=`$PYTHON -c "import sys; sys.stdout.write(str(sys.version_info < (2,5)))"`
|
||||
if test "x$PYTHON_OLD_VERSION" = "xTrue" ; then
|
||||
AC_MSG_WARN([
|
||||
@@ -489,8 +475,8 @@ if test "x$enable_python" = "xyes" ; then
|
||||
if test -r "$PYTHON_INCLUDE/Python.h"; then
|
||||
PYTHON_CFLAGS="-I$PYTHON_INCLUDE"
|
||||
AC_MSG_RESULT(found)
|
||||
PYTHON_LIB=`$PYTHON -c "import distutils.sysconfig; print distutils.sysconfig.get_config_var('LIBPL')"`
|
||||
PYTHON_LFLAGS="-lpython$PYTHON_VERSION "`$PYTHON -c "import distutils.sysconfig; print distutils.sysconfig.get_config_var('LIBS')+' '+distutils.sysconfig.get_config_var('SYSLIBS')+' '+distutils.sysconfig.get_config_var('LINKFORSHARED')"`
|
||||
PYTHON_LIB=`$PYTHON -c "import sys, distutils.sysconfig; sys.stdout.write(distutils.sysconfig.get_config_var('LIBPL'))"`
|
||||
PYTHON_LFLAGS="-lpython$PYTHON_VERSION "`$PYTHON -c "import sys, distutils.sysconfig; sys.stdout.write(distutils.sysconfig.get_config_var('LIBS')+' '+distutils.sysconfig.get_config_var('SYSLIBS')+' '+distutils.sysconfig.get_config_var('LINKFORSHARED'))"`
|
||||
AC_MSG_CHECKING(for Python library)
|
||||
if test -r "$PYTHON_LIB/libpython$PYTHON_VERSION.so"; then
|
||||
PYTHON_LFLAGS="-L$PYTHON_LIB $PYTHON_LFLAGS"
|
||||
@@ -749,20 +735,26 @@ if test "x$enable_guile" = "xyes" ; then
|
||||
enable_plugins="yes"
|
||||
|
||||
guile_found="no"
|
||||
GUILECONFIG=""
|
||||
AC_CHECK_PROGS(GUILECONFIG, guile-config)
|
||||
if test "x$GUILECONFIG" != "x" ; then
|
||||
AC_MSG_CHECKING(for Guile headers and librairies with guile-config)
|
||||
PKGCONFIG=""
|
||||
AC_CHECK_PROGS(PKGCONFIG, pkg-config)
|
||||
if test "x$PKGCONFIG" != "x"; then
|
||||
AC_MSG_CHECKING(for Guile headers and librairies)
|
||||
echo
|
||||
GUILE_CFLAGS=`$GUILECONFIG compile`
|
||||
GUILE_LFLAGS=`$GUILECONFIG link`
|
||||
GUILE_VERSION=`$GUILECONFIG info guileversion`
|
||||
tcl_found="yes"
|
||||
for v in "2.0" ; do
|
||||
pkgconfig_guile_found=`$PKGCONFIG --exists guile-$v 2>/dev/null`
|
||||
if test "x$?" = "x0" ; then
|
||||
GUILE_VERSION=`$PKGCONFIG --modversion guile-$v`
|
||||
GUILE_CFLAGS=`$PKGCONFIG --cflags guile-$v`
|
||||
GUILE_LFLAGS=`$PKGCONFIG --libs guile-$v`
|
||||
guile_found="yes"
|
||||
break
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
if test "x$tcl_found" = "xno" ; then
|
||||
if test "x$guile_found" = "xno" ; then
|
||||
AC_MSG_WARN([
|
||||
*** Script guile-config couldn't be found on your system.
|
||||
*** Guile >= 2.0 couldn't be found on your system.
|
||||
*** WeeChat will be built without Guile (scheme) support.])
|
||||
enable_guile="no"
|
||||
not_found="$not_found guile"
|
||||
@@ -1061,7 +1053,6 @@ AM_CONDITIONAL(HAVE_GNUTLS, test "$enable_gnutls" = "yes")
|
||||
AM_CONDITIONAL(HAVE_FLOCK, test "$enable_flock" = "yes")
|
||||
AM_CONDITIONAL(HAVE_EAT_NEWLINE_GLITCH, test "$enable_eatnewlineglitch" = "yes")
|
||||
AM_CONDITIONAL(GUI_NCURSES, test "$enable_ncurses" = "yes")
|
||||
AM_CONDITIONAL(GUI_GTK, test "$enable_gtk" = "yes")
|
||||
AM_CONDITIONAL(PLUGIN_ALIAS, test "$enable_alias" = "yes")
|
||||
AM_CONDITIONAL(PLUGIN_ASPELL, test "$enable_aspell" = "yes")
|
||||
AM_CONDITIONAL(PLUGIN_CHARSET, test "$enable_charset" = "yes")
|
||||
@@ -1113,7 +1104,6 @@ AC_OUTPUT([Makefile
|
||||
src/plugins/xfer/Makefile
|
||||
src/gui/Makefile
|
||||
src/gui/curses/Makefile
|
||||
src/gui/gtk/Makefile
|
||||
intl/Makefile
|
||||
po/Makefile.in])
|
||||
|
||||
@@ -1125,14 +1115,11 @@ listgui=""
|
||||
if test "x$enable_ncurses" = "xyes" ; then
|
||||
listgui="$listgui ncurses"
|
||||
fi
|
||||
if test "x$enable_gtk" = "xyes" ; then
|
||||
listgui="$listgui gtk"
|
||||
fi
|
||||
|
||||
if test "x$listgui" = "x" ; then
|
||||
AC_MSG_ERROR([
|
||||
*** No interface specified...
|
||||
*** Please enable at least ncurses or gtk.])
|
||||
*** Please enable at least ncurses.])
|
||||
fi
|
||||
|
||||
listplugins=""
|
||||
|
||||
Vendored
+36
@@ -1,3 +1,39 @@
|
||||
weechat (0.4.0-1) unstable; urgency=low
|
||||
|
||||
* New upstream release.
|
||||
* Bump Standards-Version to 3.9.4
|
||||
* Remove UPGRADE_0.3 from doc (no more included in upstream sources).
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@debian.org> Wed, 23 Jan 2013 18:44:36 +0000
|
||||
|
||||
weechat (0.3.9.2-1) unstable; urgency=low
|
||||
|
||||
* New upstream release
|
||||
- do not call shell to execute command in hook_process (fix security
|
||||
problem when a plugin/script gives untrusted command)
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@debian.org> Sun, 18 Nov 2012 13:35:21 +0000
|
||||
|
||||
weechat (0.3.9.1-1) unstable; urgency=low
|
||||
|
||||
* New upstream release
|
||||
- fix crash when decoding IRC colors in strings
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@debian.org> Fri, 09 Nov 2012 23:11:09 +0000
|
||||
|
||||
weechat (0.3.9-1) unstable; urgency=low
|
||||
|
||||
* New upstream release
|
||||
* Add the new 'script' plugin and update the long descriptions accordingly
|
||||
* Add new doc-base files:
|
||||
- Testers guide in Japanese
|
||||
- Users guide in Japanese
|
||||
- Scripting guide in Japanese
|
||||
* Fix wrong Vcs-Browser URL (Closes: #689203)
|
||||
* Update lintian override on weechat-curses
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@debian.org> Sun, 30 Sep 2012 21:14:22 +0000
|
||||
|
||||
weechat (0.3.8-1) unstable; urgency=low
|
||||
|
||||
* New upstream release
|
||||
|
||||
Vendored
+3
-3
@@ -5,12 +5,12 @@ Maintainer: Emmanuel Bouthenot <kolter@debian.org>
|
||||
Build-Depends-Indep: asciidoc (>= 8.5), source-highlight
|
||||
Build-Depends: debhelper (>= 7.0.50), cmake, libncursesw5-dev,
|
||||
ruby1.9.1, ruby1.9.1-dev, libperl-dev, python-dev, libaspell-dev, liblua5.1-0-dev,
|
||||
tcl8.5-dev, guile-1.8-dev, libcurl4-gnutls-dev, libgcrypt11-dev, libgnutls-dev,
|
||||
tcl8.5-dev, guile-2.0-dev, libcurl4-gnutls-dev, libgcrypt11-dev, libgnutls-dev,
|
||||
zlib1g-dev, dpkg-dev (>= 1.13.19), pkg-config
|
||||
Standards-Version: 3.9.3
|
||||
Standards-Version: 3.9.4
|
||||
Homepage: http://weechat.org/
|
||||
Vcs-Git: git://anonscm.debian.org/users/kolter/weechat.git
|
||||
Vcs-Browser: http://anonscm.debian.org/git/users/kolter/weechat.git
|
||||
Vcs-Browser: http://anonscm.debian.org/gitweb/?p=users/kolter/weechat.git
|
||||
|
||||
Package: weechat
|
||||
Architecture: all
|
||||
|
||||
Vendored
+1
-1
@@ -4,7 +4,7 @@ Upstream-Contact: Sebastien Helleu <flashcode@flashtux.org>
|
||||
Source: http://weechat.org/
|
||||
|
||||
Files: *
|
||||
Copyright: 2003-2012, Sebastien Helleu <flashcode@flashtux.org>
|
||||
Copyright: 2003-2013, Sebastien Helleu <flashcode@flashtux.org>
|
||||
2005-2009, Emmanuel Bouthenot <kolter@openics.org>
|
||||
2008-2009, Dmitry Kobylin <fnfal@academ.tsc.ru>
|
||||
License: GPL-3+
|
||||
|
||||
Vendored
+7
-20
@@ -8,9 +8,11 @@ LDFLAGS = -Wl,-Bsymbolic-functions
|
||||
DPKG_EXPORT_BUILDFLAGS = 1
|
||||
-include /usr/share/dpkg/buildflags.mk
|
||||
|
||||
builddir/Makefile:
|
||||
mkdir -p builddir
|
||||
cd builddir && \
|
||||
BUILDDIR = builddir
|
||||
|
||||
$(BUILDDIR)/Makefile:
|
||||
mkdir -p $(BUILDDIR)
|
||||
cd $(BUILDDIR) && \
|
||||
cmake .. \
|
||||
-DCMAKE_INSTALL_PREFIX:FILEPATH=/usr \
|
||||
-DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo \
|
||||
@@ -19,14 +21,7 @@ builddir/Makefile:
|
||||
-DCMAKE_SKIP_RPATH:BOOL=ON \
|
||||
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON
|
||||
|
||||
#build: build-stamp
|
||||
#build-stamp: builddir/Makefile
|
||||
# dh_testdir
|
||||
# $(MAKE) -C builddir VERBOSE=1
|
||||
# touch $@
|
||||
|
||||
override_dh_auto_build: builddir/Makefile
|
||||
$(MAKE) -C builddir
|
||||
override_dh_auto_build: $(BUILDDIR)/Makefile
|
||||
dh_auto_build
|
||||
|
||||
override_dh_auto_configure:
|
||||
@@ -34,16 +29,8 @@ override_dh_auto_configure:
|
||||
# debhelper try to use it but that's not needed
|
||||
echo
|
||||
|
||||
override_dh_install:
|
||||
$(MAKE) -C builddir DESTDIR=$(CURDIR)/debian/tmp install
|
||||
dh_install
|
||||
|
||||
override_dh_strip:
|
||||
dh_strip --dbg-package=weechat-dbg
|
||||
|
||||
clean:
|
||||
rm -rf builddir
|
||||
dh $@
|
||||
|
||||
%:
|
||||
dh $@
|
||||
dh $@ --parallel --builddirectory=$(BUILDDIR)
|
||||
|
||||
Vendored
-1
@@ -1,4 +1,3 @@
|
||||
AUTHORS
|
||||
NEWS
|
||||
README
|
||||
UPGRADE_0.3
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
weechat-curses: manpage-has-errors-from-man usr/share/man/man1/weechat-curses.1.gz 61: warning [p 1, 9.0i]: cannot adjust line
|
||||
weechat-curses: manpage-has-errors-from-man usr/share/man/man1/weechat-curses.1.gz 65: warning [p 1, 9.7i]: cannot adjust line
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2009 Emmanuel Bouthenot <kolter@openics.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2006 Julien Louis <ptitlouis@sysif.net>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
|
||||
+11
-2
@@ -4,11 +4,15 @@ body {
|
||||
div.sectionbody {
|
||||
font-family: serif,Helvetica,arial;
|
||||
}
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
margin: 1em 0 0.6em 0;
|
||||
}
|
||||
|
||||
h5 {
|
||||
font-size: 0.95em;
|
||||
}
|
||||
tt {
|
||||
font-family: monospace;
|
||||
pre, tt {
|
||||
font-size: 14px;
|
||||
}
|
||||
span.command {
|
||||
background: #EEEEFF;
|
||||
@@ -20,6 +24,11 @@ p.table {
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
div.listingblock > div.content {
|
||||
border: solid 1px #DADADA;
|
||||
border-radius: 4px;
|
||||
background-color: #FAFAFA;
|
||||
}
|
||||
.key {
|
||||
border-top: solid 1px #D5D5E5;
|
||||
border-left: solid 1px #D5D5E5;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2006 Julien Louis <ptitlouis@sysif.net>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
|
||||
@@ -6,7 +6,9 @@
|
||||
|
||||
| alias | alias_value | Wert von Alias
|
||||
|
||||
| aspell | aspell_langs | Liste der zu nutzenden Übersetzungen für Aspell
|
||||
| aspell | aspell_dicts | Auflistung der installierten Wörterbücher
|
||||
|
||||
| aspell | aspell_langs | Liste aller Sprachen die durch Aspell unterstützt werden
|
||||
|
||||
| guile | guile_script | Liste der Skripten
|
||||
|
||||
@@ -104,6 +106,8 @@
|
||||
|
||||
| weechat | keys_contexts | Tastaturkontext
|
||||
|
||||
| weechat | layouts_names | Namen der Layouts
|
||||
|
||||
| weechat | nicks | Nicks in Nickliste für aktuellen Buffer
|
||||
|
||||
| weechat | palette_colors | Farbpalette
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
'modes' (string) +
|
||||
'limit' (integer) +
|
||||
'key' (string) +
|
||||
'names_received' (integer) +
|
||||
'join_msg_received' (hashtable) +
|
||||
'checking_away' (integer) +
|
||||
'away_message' (string) +
|
||||
'has_quit_server' (integer) +
|
||||
@@ -42,6 +42,7 @@
|
||||
'nicks_speaking' (pointer) +
|
||||
'nicks_speaking_time' (pointer, hdata: "irc_channel_speaking") +
|
||||
'last_nick_speaking_time' (pointer, hdata: "irc_channel_speaking") +
|
||||
'join_smart_filtered' (hashtable) +
|
||||
'buffer' (pointer, hdata: "buffer") +
|
||||
'buffer_as_string' (string) +
|
||||
'prev_channel' (pointer, hdata: "irc_channel") +
|
||||
@@ -139,10 +140,12 @@
|
||||
'addresses_count' (integer) +
|
||||
'addresses_array' (string, array_size: "addresses_count") +
|
||||
'ports_array' (integer, array_size: "addresses_count") +
|
||||
'retry_array' (integer, array_size: "addresses_count") +
|
||||
'index_current_address' (integer) +
|
||||
'current_address' (string) +
|
||||
'current_ip' (string) +
|
||||
'current_port' (integer) +
|
||||
'current_retry' (integer) +
|
||||
'sock' (integer) +
|
||||
'hook_connect' (pointer, hdata: "hook") +
|
||||
'hook_fd' (pointer, hdata: "hook") +
|
||||
@@ -150,6 +153,7 @@
|
||||
'hook_timer_sasl' (pointer, hdata: "hook") +
|
||||
'is_connected' (integer) +
|
||||
'ssl_connected' (integer) +
|
||||
'disconnected' (integer) +
|
||||
'gnutls_sess' (other) +
|
||||
'tls_cert' (other) +
|
||||
'tls_cert_key' (other) +
|
||||
@@ -182,14 +186,16 @@
|
||||
'cmd_list_regexp' (pointer) +
|
||||
'last_user_message' (time) +
|
||||
'last_away_check' (time) +
|
||||
'last_data_purge' (time) +
|
||||
'outqueue' (pointer) +
|
||||
'last_outqueue' (pointer) +
|
||||
'redirects' (pointer, hdata: "irc_redirect") +
|
||||
'last_redirect' (pointer, hdata: "irc_redirect") +
|
||||
'notify_list' (pointer, hdata: "irc_notify") +
|
||||
'last_notify' (pointer, hdata: "irc_notify") +
|
||||
'manual_joins' (hashtable) +
|
||||
'channel_join_key' (hashtable) +
|
||||
'join_manual' (hashtable) +
|
||||
'join_channel_key' (hashtable) +
|
||||
'join_noswitch' (hashtable) +
|
||||
'buffer' (pointer, hdata: "buffer") +
|
||||
'buffer_as_string' (string) +
|
||||
'channels' (pointer, hdata: "irc_channel") +
|
||||
@@ -321,8 +327,6 @@
|
||||
| weechat | bar | Bar |
|
||||
'name' (string) +
|
||||
'options' (pointer) +
|
||||
'conditions_count' (integer) +
|
||||
'conditions_array' (string, array_size: "conditions_count") +
|
||||
'items_count' (integer) +
|
||||
'items_subcount' (pointer) +
|
||||
'items_array' (pointer) +
|
||||
@@ -365,6 +369,7 @@
|
||||
'items_num_lines' (pointer) +
|
||||
'items_refresh_needed' (pointer) +
|
||||
'screen_col_size' (integer) +
|
||||
'screen_lines' (integer) +
|
||||
'coords_count' (integer) +
|
||||
'coords' (pointer) +
|
||||
'gui_objects' (pointer) +
|
||||
@@ -400,6 +405,9 @@
|
||||
'nicklist_root' (pointer, hdata: "nick_group") +
|
||||
'nicklist_max_length' (integer) +
|
||||
'nicklist_display_groups' (integer) +
|
||||
'nicklist_count' (integer) +
|
||||
'nicklist_groups_count' (integer) +
|
||||
'nicklist_nicks_count' (integer) +
|
||||
'nicklist_visible_count' (integer) +
|
||||
'nickcmp_callback' (pointer) +
|
||||
'nickcmp_callback_data' (pointer) +
|
||||
@@ -559,8 +567,10 @@
|
||||
'text' (string) +
|
||||
'next_history' (pointer, hdata: "history") +
|
||||
'prev_history' (pointer, hdata: "history") |
|
||||
|
|
||||
-
|
||||
`__create` +
|
||||
`__delete` |
|
||||
'gui_history' +
|
||||
'last_gui_history'
|
||||
|
||||
| weechat | hotlist | Hotliste |
|
||||
'priority' (integer) +
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
|========================================
|
||||
| Erweiterung | Name | Beschreibung | Argumente
|
||||
|
||||
| aspell | aspell_dict | durch Kommata getrennte Liste von Wörterbüchern, die in diesem Buffer genutzt werden sollen | Buffer-Pointer ("0x12345678") oder der vollständige Buffername ("irc.freenode.#weechat")
|
||||
|
||||
| fifo | fifo_filename | Name der FIFO-Pipe | -
|
||||
|
||||
| irc | irc_buffer | holt Buffer Pointer für einen IRC Server/Channel/Nick | server,channel,nick (Channel und Nicks sind optional)
|
||||
@@ -42,6 +44,8 @@
|
||||
|
||||
| weechat | version | WeeChat Version | -
|
||||
|
||||
| weechat | version_git | WeeChat Git Version (Ausgabe des Befehls "git describe", ausschließlich für eine Entwicklerversion. Eine stabile Version gibt keine Information zurück) | -
|
||||
|
||||
| weechat | version_number | WeeChat Version (als Nummer) | -
|
||||
|
||||
| weechat | weechat_dir | WeeChat Verzeichnis | -
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|========================================
|
||||
| Erweiterung | Name | Beschreibung | Hashtable (Eingabe) | Hashtable (Ausgabe)
|
||||
|
||||
| irc | irc_message_parse | Parse eine IRC Nachricht | "message": IRC Nachricht, "server": Servername (optional) | "nick": nick, "host": host, "command": command, "channel": channel, "arguments": arguments (beinhaltet Channel)
|
||||
| irc | irc_message_parse | Parse eine IRC Nachricht | "message": IRC Nachricht, "server": Servername (optional) | "tags": Tags, "message_without_tags": Nachrichten ohne Tags, "nick": Nick, "host": Host, "command": Befehl, "channel": Channel, "arguments": Argumente (schließt Channel ein)
|
||||
|
||||
| irc | irc_message_split | dient zum Aufteilen einer überlangen IRC Nachricht (in maximal 512 Bytes große Nachrichten) | "message": IRC Nachricht, "server": Servername (optional) | "msg1" ... "msgN": Nachrichten die versendet werden sollen (ohne abschließendes "\r\n"), "args1" ... "argsN": Argumente für Nachrichten, "count": Anzahl der Nachrichten
|
||||
|
||||
|
||||
@@ -17,9 +17,8 @@ Anmerkung: Im Befehl können Variablen genutzt werden, die dann durch den entspr
|
||||
$n-m: Argumente von 'n' bis 'm'
|
||||
$*: alle Argumente
|
||||
$~: letztes Argument
|
||||
$nick: aktueller Nick
|
||||
$channel: aktueller Channel
|
||||
$server: aktueller Server
|
||||
$var: "var" ist eine lokale Variable für den jeweiligen Buffer (siehe /buffer localvar)
|
||||
Beispiel: $nick, $channel, $server, $plugin, $name
|
||||
|
||||
Um ein Alias zu löschen wird der Befehl "/unalias" genutzt.
|
||||
|
||||
|
||||
@@ -3,15 +3,15 @@
|
||||
........................................
|
||||
/aspell enable|disable|toggle
|
||||
listdict
|
||||
setdict <lang>
|
||||
setdict <dict>[,<dict>...]
|
||||
deldict
|
||||
addword [<lang>] <word>
|
||||
addword [<dict>] <word>
|
||||
|
||||
enable: Aspell wird aktiviert
|
||||
disable: Aspell wird deaktiviert
|
||||
toggle: Aspell Funktionalität umschalten
|
||||
listdict: die, auf dem System, installierten Wörterbücher werden aufgelistet
|
||||
setdict: Wörterbuch für den aktuellen Buffer einstellen
|
||||
setdict: Wörterbuch für den aktuellen Buffer einstellen (mehrere Wörterbücher müssen durch Kommata getrennt werden)
|
||||
deldict: Wörterbuch für den aktuellen Buffer entfernen
|
||||
addword: fügt ein Wort in das persönliche Wörterbuch von Aspell hinzu
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
* [[option_aspell.check.commands]] *aspell.check.commands*
|
||||
** Beschreibung: `Durch Kommata getrennte Liste der Befehle, für die eine Rechtschreibprüfung gelten soll (Rechtschreibprüfung ist für andere Befehle deaktiviert)`
|
||||
** Beschreibung: `durch Kommata getrennte Liste der Befehle, für die eine Rechtschreibprüfung gelten soll (Rechtschreibprüfung ist für andere Befehle deaktiviert)`
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette (Standardwert: `"ame,amsg,away,command,cycle,kick,kickban,me,msg,notice,part,query,quit,topic"`)
|
||||
|
||||
@@ -23,6 +23,11 @@
|
||||
** Typ: boolesch
|
||||
** Werte: on, off (Standardwert: `off`)
|
||||
|
||||
* [[option_aspell.check.suggestions]] *aspell.check.suggestions*
|
||||
** Beschreibung: `legt die Anzahl an Vorschlägen fest, für ein falsch geschriebenes Wort. Die Vorschläge werden in der Bar-Item "aspell_suggest", für die jeweilige(n) Sprache(n), im Buffer, angezeigt (-1 = deaktiviert die Funktion, 0 = zeigt alle verfügbaren Vorschläge an, für alle betreffenden Sprachen)`
|
||||
** Typ: integer
|
||||
** Werte: -1 .. 2147483647 (Standardwert: `-1`)
|
||||
|
||||
* [[option_aspell.check.word_min_length]] *aspell.check.word_min_length*
|
||||
** Beschreibung: `Mindestlänge für ein Wort, welches auf Rechtschreibung überprüft werden soll (bei 0 werden alle Wörter überprüft)`
|
||||
** Typ: integer
|
||||
|
||||
@@ -56,16 +56,17 @@ Ohne Angabe von Argumenten wird die Ban-Liste für den aktuellen Channel angezei
|
||||
[command]*`connect`* Mit IRC-Server(n) verbinden::
|
||||
........................................
|
||||
/connect <server> [<server>...] [-<option>[=<value>]] [-no<option>] [-nojoin] [-switch]
|
||||
-all|-open [-nojoin] [-switch]
|
||||
-all|-auto|-open [-nojoin] [-switch]
|
||||
|
||||
server: Name des Servers (folgende Möglichkeiten bestehen):
|
||||
- intern genutzter Servername mit dem verbunden werden soll (Der Server sollte zuerst mittels "/server add" angelegt werden)
|
||||
server: Name des Servers (folgende Möglichkeiten bestehen):
|
||||
- intern genutzter Servername, zu dem eine Verbindung aufgebaut werden soll (Der Server sollte zuerst mittels "/server add" angelegt werden)
|
||||
- Hostname/Port oder IP/Port (damit wird lediglich ein TEMPORÄRER Server erstellt), Port 6667 wird standardmäßig verwendet
|
||||
- URL mit folgendem Format: irc[6][s]://[nickname[:password]@]irc.example.org[:port][/#channel1][,#channel2[...]]
|
||||
option: legt die Optionen für den Server fest (die Boolean-Optionen können weggelassen werden)
|
||||
nooption: stellt die Boolean Option auf "off" (Beispiel: -nossl)
|
||||
-all: Verbindung wird mit allen Servern hergestellt
|
||||
-open: stellt eine Verbindung zu allen geöffneten Servern her, zu denen aktuell keine Verbindung besteht
|
||||
option: legt Option für den Server fest (die Boolean-Optionen können weggelassen werden)
|
||||
nooption: deaktiviert eine Boolean Option (Beispiel: -nossl)
|
||||
-all: Verbindung wird zu den Servern hergestellt, für die eine Konfiguration vorhanden ist
|
||||
-auto: Verbindung zu den Servern herstellen, für die die Option "autoconnect" aktiviert ist
|
||||
-open: stellt eine Verbindung zu allen geöffneten Servern her, zu denen aktuell aber keine Verbindung besteht
|
||||
-nojoin: Channel(s) werden nicht betreten (auch falls die Funktion "autojoin" aktiviert sein sollte)
|
||||
-switch: wechselt zur nächsten Server-Adresse
|
||||
|
||||
@@ -212,16 +213,18 @@ nick: Nickname
|
||||
[[command_irc_join]]
|
||||
[command]*`join`* einen Channel betreten::
|
||||
........................................
|
||||
/join [-server <server>] [<channel1>[,<channel2>...]] [<key1>[,<key2>...]]
|
||||
/join [-noswitch] [-server <server>] [<channel1>[,<channel2>...]] [<key1>[,<key2>...]]
|
||||
|
||||
server: Verbindung zu diesem Server (interner Name)
|
||||
channel: Name des Channels der betreten werden soll
|
||||
key: Zugriffsschlüssel für einen Channel (Channels die einen Zugriffsschlüssel benötigen müssen zuerst aufgeführt werden)
|
||||
-noswitch: es wird nicht zu dem angegebenen Channel gewechselt
|
||||
server: an angegebenen Server (interner Name) senden
|
||||
channel: Name des Channels, der betreten werden soll
|
||||
key: Zugriffsschlüssel für einen Channel (Channel, die einen Zugriffsschlüssel benötigen, müssen zuerst aufgeführt werden)
|
||||
|
||||
Beispiele:
|
||||
/join #weechat
|
||||
/join #geschützter_Channel,#weechat Zugriffsschlüssel
|
||||
/join -server freenode #weechat
|
||||
/join -noswitch #weechat
|
||||
........................................
|
||||
|
||||
[[command_irc_kick]]
|
||||
@@ -465,6 +468,17 @@ server: an diesen Server senden (interner Name)
|
||||
text: Text der gesendet werden soll
|
||||
........................................
|
||||
|
||||
[[command_irc_quiet]]
|
||||
[command]*`quiet`* Nicks oder Hosts das Wort entziehen (User können im Channel erst schreiben, wenn sie "+v" oder höher besitzen)::
|
||||
........................................
|
||||
/quiet [<channel>] [<nick> [<nick>...]]
|
||||
|
||||
channel: Channel in dem jemanden das Wort entzogen werden soll
|
||||
nick: User oder Host dem das Wort entzogen werden soll
|
||||
|
||||
Ohne Angabe von Argumenten wird, für den aktuellen Channel, eine Liste ausgegeben mit den User/Hosts denen das Wort entzogen worden ist.
|
||||
........................................
|
||||
|
||||
[[command_irc_quote]]
|
||||
[command]*`quote`* Daten direkt an Server senden (siehe RFC 2812)::
|
||||
........................................
|
||||
@@ -734,10 +748,14 @@ mask: nur Information über betreffende Nicknamen abfragen
|
||||
[[command_irc_whois]]
|
||||
[command]*`whois`* Information über User abfragen::
|
||||
........................................
|
||||
/whois [<server>] <nick>[,<nick>...]
|
||||
/whois [<server>] [<nick>[,<nick>...]]
|
||||
|
||||
server: Servername
|
||||
nick: Nickname (oder eine Maske)
|
||||
server: Name des Servers (interner Servername)
|
||||
nick: Nick, welcher abgefragt werden soll (kann auch eine Maske sein)
|
||||
|
||||
Ohne Angabe von Argumenten, nutzt /whois folgende Nicks:
|
||||
- den eigenen Nick, falls es sich um einen Server/Channel Buffer handelt
|
||||
- den Nick des Gesprächspartners, falls es sich um einen privaten Buffer handelt.
|
||||
........................................
|
||||
|
||||
[[command_irc_whowas]]
|
||||
|
||||
@@ -38,21 +38,11 @@
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette (Standardwert: `"1,-1:darkgray"`)
|
||||
|
||||
* [[option_irc.color.nick_prefix]] *irc.color.nick_prefix*
|
||||
** Beschreibung: `Farbe für den Nick Präfix (Präfix ist die editierbare Zeichenkette die vor dem Nick steht)`
|
||||
** Typ: Farbe
|
||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "_" für unterstrichen (Standardwert: `green`)
|
||||
|
||||
* [[option_irc.color.nick_prefixes]] *irc.color.nick_prefixes*
|
||||
** Beschreibung: `Farben für Nick Präfix für das Modus-Symbol (o=op, h=halfop, v=voice, ..), Format: "o:color1;h:color2;v:color3" (falls ein Modus nicht gefunden wird versucht WeeChat die nächsten Modi die der Server sendet ("PREFIX"); ein spezieller Modus "*" kann als Standardfarbe genutzt werden falls kein Modus in der Liste gefunden wurde)`
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette (Standardwert: `"q:lightred;a:lightcyan;o:lightgreen;h:lightmagenta;v:yellow;*:lightblue"`)
|
||||
|
||||
* [[option_irc.color.nick_suffix]] *irc.color.nick_suffix*
|
||||
** Beschreibung: `Farbe für den Nick Suffix (Suffix ist die editierbare Zeichenkette die nach dem Nick steht)`
|
||||
** Typ: Farbe
|
||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "_" für unterstrichen (Standardwert: `green`)
|
||||
|
||||
* [[option_irc.color.notice]] *irc.color.notice*
|
||||
** Beschreibung: `Farbe des "Notice"-Textes in Notizen`
|
||||
** Typ: Farbe
|
||||
@@ -143,6 +133,11 @@
|
||||
** Typ: boolesch
|
||||
** Werte: on, off (Standardwert: `on`)
|
||||
|
||||
* [[option_irc.look.display_join_message]] *irc.look.display_join_message*
|
||||
** Beschreibung: `durch Kommata getrennte Liste von Nachrichten die beim betreten eines Channels angezeigt werden sollen: 329 = Erstellungsdatum des Channels, 332 = Topic, 333 = Nick/Datum für Topic, 366 = genutzte Namen im Channel`
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette (Standardwert: `"329,332,333,366"`)
|
||||
|
||||
* [[option_irc.look.display_old_topic]] *irc.look.display_old_topic*
|
||||
** Beschreibung: `Zeige das alte Thema an, falls das Thema des Channels geändert wurde`
|
||||
** Typ: boolesch
|
||||
@@ -158,13 +153,8 @@
|
||||
** Typ: boolesch
|
||||
** Werte: on, off (Standardwert: `on`)
|
||||
|
||||
* [[option_irc.look.hide_nickserv_pwd]] *irc.look.hide_nickserv_pwd*
|
||||
** Beschreibung: `Passwörter verstecken die durch NickServ angezeigt werden`
|
||||
** Typ: boolesch
|
||||
** Werte: on, off (Standardwert: `on`)
|
||||
|
||||
* [[option_irc.look.highlight_channel]] *irc.look.highlight_channel*
|
||||
** Beschreibung: `durch Kommata getrennte Liste von Wörtern die im Channel-Buffer als Highlight erscheinen sollen (zwischen Groß- und Kleinschreibung wird nicht unterschieden. Um zwischen Groß- und Kleinschreibung zu unterscheiden muss zu Beginn "(?-i)" genutzt werden; des weiteren können folgende Variablen genutzt werden: $nick, $channel und $server). Die angegeben Wörter werden der lokalen Variable "highlight_words" hinzugefügt, sobald der Buffer geöffnet wird. Dies bedeutet, dass diese Option keinen direkten Einfluss auf schon geöffnete Buffer hat. Eine leere Zeichenkette deaktiviert ein Highlight für den Nick. Beispiel: "$nick", "(?-i)$nick"`
|
||||
** Beschreibung: `durch Kommata getrennte Liste von Wörtern die in Channel-Buffern als Highlight erscheinen sollen (zwischen Groß- und Kleinschreibung wird nicht unterschieden. Um zwischen Groß- und Kleinschreibung zu unterscheiden muss zu Beginn "(?-i)" genutzt werden; des weiteren können folgende Variablen genutzt werden: $nick, $channel und $server). Die angegeben Wörter werden der lokalen Variable "highlight_words" hinzugefügt, sobald der Buffer geöffnet wird. Dies bedeutet, dass diese Option keinen direkten Einfluss auf schon geöffnete Buffer hat. Eine leere Zeichenkette deaktiviert ein Highlight für den Nick. Beispiel: "$nick", "(?-i)$nick"`
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette (Standardwert: `"$nick"`)
|
||||
|
||||
@@ -174,12 +164,12 @@
|
||||
** Werte: beliebige Zeichenkette (Standardwert: `"$nick"`)
|
||||
|
||||
* [[option_irc.look.highlight_server]] *irc.look.highlight_server*
|
||||
** Beschreibung: `durch Kommata getrennte Liste von Wörtern die im Serverbuffer als Highlight erscheinen sollen (zwischen Groß- und Kleinschreibung wird nicht unterschieden. Um zwischen Groß- und Kleinschreibung zu unterscheiden muss zu Beginn "(?-i)" genutzt werden; des weiteren können folgende Variablen genutzt werden: $nick, $channel und $server). Die angegeben Wörter werden der lokalen Variable "highlight_words" hinzugefügt, sobald der Buffer geöffnet wird. Dies bedeutet, dass diese Option keinen direkten Einfluss auf schon geöffnete Buffer hat. Eine leere Zeichenkette deaktiviert ein Highlight für den Nick. Beispiel: "$nick", "(?-i)$nick"`
|
||||
** Beschreibung: `durch Kommata getrennte Liste von Wörtern die in Server-Buffern als Highlight erscheinen sollen (zwischen Groß- und Kleinschreibung wird nicht unterschieden. Um zwischen Groß- und Kleinschreibung zu unterscheiden muss zu Beginn "(?-i)" genutzt werden; des weiteren können folgende Variablen genutzt werden: $nick, $channel und $server). Die angegeben Wörter werden der lokalen Variable "highlight_words" hinzugefügt, sobald der Buffer geöffnet wird. Dies bedeutet, dass diese Option keinen direkten Einfluss auf schon geöffnete Buffer hat. Eine leere Zeichenkette deaktiviert ein Highlight für den Nick. Beispiel: "$nick", "(?-i)$nick"`
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette (Standardwert: `"$nick"`)
|
||||
|
||||
* [[option_irc.look.highlight_tags]] *irc.look.highlight_tags*
|
||||
** Beschreibung: `eine durch Kommata getrennte Liste von Schlagwörtern welche eine Nachricht hervorheben sollen (Highlight) (normalerweise trifft dies auf jede Nachricht eines Users zu, ausgenommen Nachrichten vom Server,..)`
|
||||
** Beschreibung: `durch Kommata getrennte Liste von Schlagwörtern, welche eine Nachricht hervorheben sollen (Highlight) (normalerweise trifft dies auf jede Nachricht eines Users zu, ausgenommen Nachrichten vom Server,..)`
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette (Standardwert: `"irc_privmsg,irc_notice"`)
|
||||
|
||||
@@ -224,7 +214,7 @@
|
||||
** Werte: none, next, near_server (Standardwert: `none`)
|
||||
|
||||
* [[option_irc.look.nick_color_force]] *irc.look.nick_color_force*
|
||||
** Beschreibung: `erzwingt für einen Nick eine spezielle Farbe. Die mittels Streuwertfunktion aus dem Nicknamen generierte Nickfarbe findet für diese Nicks keine Anwendung (Format:"Nick1:Farbe1;Nick2:Farbe2"). Bei der Schreibweise der Nicks wird sowohl nach Groß- und Kleinschreibung unterschieden und ebenso kann man die Nicks nur mit Kleinbuchstaben schreiben.`
|
||||
** Beschreibung: `erzwingt für einen Nick eine spezielle Farbe. Die standardmäßig, mittels Streuwertfunktion aus dem Nicknamen, generierte Nickfarbe findet für diese Nicks keine Anwendung (Format:"Nick1:Farbe1;Nick2:Farbe2"). Zuerst wird beim Nicknamen nach Groß- und Kleinschreibung unterschieden. Sollte der Nick nicht gefunden werden, findet keine Unterscheidung mehr statt. Somit ist es möglich die Nicks, in dieser Option, ausschließlich in Kleinschrift zu schreiben.`
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette (Standardwert: `""`)
|
||||
|
||||
@@ -248,15 +238,10 @@
|
||||
** Typ: boolesch
|
||||
** Werte: on, off (Standardwert: `off`)
|
||||
|
||||
* [[option_irc.look.nick_prefix]] *irc.look.nick_prefix*
|
||||
** Beschreibung: `Text, der im Chatfenster vor dem Nickname erscheinen soll`
|
||||
* [[option_irc.look.nicks_hide_password]] *irc.look.nicks_hide_password*
|
||||
** Beschreibung: `durch Kommata getrennte Liste von Nicks bei denen das Passwort in einer Nachricht unterdrückt werden soll. Zum Beispiel bei einer Nachricht die durch "/msg nickserv identify password" generiert wird. Beispiel: "nickserv,nickbot"`
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette (Standardwert: `""`)
|
||||
|
||||
* [[option_irc.look.nick_suffix]] *irc.look.nick_suffix*
|
||||
** Beschreibung: `Text, der im Chatfenster nach dem Nickname erscheinen soll`
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette (Standardwert: `""`)
|
||||
** Werte: beliebige Zeichenkette (Standardwert: `"nickserv"`)
|
||||
|
||||
* [[option_irc.look.notice_as_pv]] *irc.look.notice_as_pv*
|
||||
** Beschreibung: `zeigt Notizen als private Nachricht an (wird die "auto" Option verwendet dann wird ein privater Buffer genutzt, falls vorhanden)`
|
||||
@@ -264,12 +249,12 @@
|
||||
** Werte: auto, never, always (Standardwert: `auto`)
|
||||
|
||||
* [[option_irc.look.notify_tags_ison]] *irc.look.notify_tags_ison*
|
||||
** Beschreibung: `durch Kommata getrennte Liste von Schlagwörtern die in der Nachricht von notify ausgegeben werden sollen falls sich ein Nick beim Server an- oder abmeldet (Rückgabe vom Befehl ison), zum Beispiel: "notify_highlight","notify_message" oder "notify_private"`
|
||||
** Beschreibung: `durch Kommata getrennte Liste von Schlagwörtern die in der Nachricht von notify ausgegeben werden sollen, falls sich ein Nick beim Server an- oder abmeldet (Rückgabe durch Befehl ison), zum Beispiel: "notify_highlight","notify_message" oder "notify_private"`
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette (Standardwert: `"notify_message"`)
|
||||
|
||||
* [[option_irc.look.notify_tags_whois]] *irc.look.notify_tags_whois*
|
||||
** Beschreibung: `durch Kommata getrennte Liste von Schlagwörtern die in der Nachricht von notify ausgegeben werden sollen falls ein Nick den Befehl away nutzt (Rückgabe vom Befehl whois), zum Beispiel: "notify_highlight", "notify_message" oder "notify_private"`
|
||||
** Beschreibung: `durch Kommata getrennte Liste von Schlagwörtern die in der Nachricht von notify ausgegeben werden sollen, falls ein Nick den Befehl away nutzt (Rückgabe durch Befehl whois), zum Beispiel: "notify_highlight", "notify_message" oder "notify_private"`
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette (Standardwert: `"notify_message"`)
|
||||
|
||||
@@ -278,6 +263,11 @@
|
||||
** Typ: boolesch
|
||||
** Werte: on, off (Standardwert: `off`)
|
||||
|
||||
* [[option_irc.look.pv_buffer]] *irc.look.pv_buffer*
|
||||
** Beschreibung: `private Buffer zusammenfügen`
|
||||
** Typ: integer
|
||||
** Werte: independent, merge_by_server, merge_all (Standardwert: `independent`)
|
||||
|
||||
* [[option_irc.look.raw_messages]] *irc.look.raw_messages*
|
||||
** Beschreibung: `Anzahl der IRC-RAW-Nachrichten die im Speicher gehalten werden sollen falls der RAW-Daten-Buffer geschlossen ist (die Nachrichten werden umgehend angezeigt sobald der RAW-Daten-Buffer geöffnet wird)`
|
||||
** Typ: integer
|
||||
@@ -303,8 +293,13 @@
|
||||
** Typ: boolesch
|
||||
** Werte: on, off (Standardwert: `on`)
|
||||
|
||||
* [[option_irc.look.smart_filter_join_unmask]] *irc.look.smart_filter_join_unmask*
|
||||
** Beschreibung: `Verzögerung (in Minuten) um Join Mitteilungen rückwirkend anzuzeigen, falls diese mittels "irc_smart_filter" unterdrückt wurden. Sollte ein Nick während der vorgegeben Zeit etwas im Channel schreiben, dann wird seine Join Mitteilung angezeigt. Dies bezieht sich auf Nachrichten, eine Notice, Änderungen am Topic oder falls der Nick gewechselt wird (0 = deaktiviert: join-Mitteilungen bleiben verborgen)`
|
||||
** Typ: integer
|
||||
** Werte: 0 .. 10080 (Standardwert: `30`)
|
||||
|
||||
* [[option_irc.look.smart_filter_nick]] *irc.look.smart_filter_nick*
|
||||
** Beschreibung: `aktiviert einen intelligenten Filter für Nachrichten von einem "Nick"`
|
||||
** Beschreibung: `aktiviert einen intelligenten Filter für "nick" Nachrichten (Änderungen des Nick)`
|
||||
** Typ: boolesch
|
||||
** Werte: on, off (Standardwert: `on`)
|
||||
|
||||
@@ -318,6 +313,11 @@
|
||||
** Typ: boolesch
|
||||
** Werte: on, off (Standardwert: `off`)
|
||||
|
||||
* [[option_irc.network.alternate_nick]] *irc.network.alternate_nick*
|
||||
** Beschreibung: `bezieht einen alternativen Nick, sofern alle voreingestellten Nicks am Server schon genutzt werden. Dazu wird das Zeichen "_" an den Nick an gehangen, sofern der Nick nicht mehr als neun Zeichen besitzt. Andernfalls wird das letzte bzw. vorletzte Zeichen durch eine Zahl zwischen 1 und 99 ersetzt, bis ein freier Nick für den Server gefunden wird`
|
||||
** Typ: boolesch
|
||||
** Werte: on, off (Standardwert: `on`)
|
||||
|
||||
* [[option_irc.network.autoreconnect_delay_growing]] *irc.network.autoreconnect_delay_growing*
|
||||
** Beschreibung: `Multiplikator für die Verzögerung bei der automatischen Wiederverbindung zum Server (1 = immer die selbe Verzögerung nutzen, 2 = Verzögerung*2 für jeden weiteren Versuch, ..)`
|
||||
** Typ: integer
|
||||
@@ -343,16 +343,16 @@
|
||||
** Typ: integer
|
||||
** Werte: 0 .. 604800 (Standardwert: `60`)
|
||||
|
||||
* [[option_irc.network.lag_disconnect]] *irc.network.lag_disconnect*
|
||||
** Beschreibung: `maximal Verzögerung (Lag) bis zum Trennen der Verbindung (in Minuten - 0 = niemals trennen)`
|
||||
** Typ: integer
|
||||
** Werte: 0 .. 10080 (Standardwert: `0`)
|
||||
|
||||
* [[option_irc.network.lag_min_show]] *irc.network.lag_min_show*
|
||||
** Beschreibung: `geringste Verzögerungszeit (Lag) die angezeigt werden soll (in Millisekunden)`
|
||||
** Typ: integer
|
||||
** Werte: 0 .. 86400000 (Standardwert: `500`)
|
||||
|
||||
* [[option_irc.network.lag_reconnect]] *irc.network.lag_reconnect*
|
||||
** Beschreibung: `erneut mit Server verbinden, falls die maximal Verzögerung (Lag) erreicht wurde (Zeit in Sekunden, 0 = keine automatische Neuverbindung, zum Server)`
|
||||
** Typ: integer
|
||||
** Werte: 0 .. 604800 (Standardwert: `0`)
|
||||
|
||||
* [[option_irc.network.lag_refresh_interval]] *irc.network.lag_refresh_interval*
|
||||
** Beschreibung: `Intervall zwischen zwei Aktualisierungen der Verzögerungsanzeige (Lag-Item), wenn die Verzögerungszeit sich erhöht (in Sekunden)`
|
||||
** Typ: integer
|
||||
@@ -373,6 +373,11 @@
|
||||
** Typ: boolesch
|
||||
** Werte: on, off (Standardwert: `off`)
|
||||
|
||||
* [[option_irc.network.whois_double_nick]] *irc.network.whois_double_nick*
|
||||
** Beschreibung: `dupliziert den Nick, für den /whois Befehl (falls nur ein Nick angegeben wird), um die Idle-Zeit zu erhalten. Zum Beispiel: "/whois nick" wird als "whois nick nick" verschickt`
|
||||
** Typ: boolesch
|
||||
** Werte: on, off (Standardwert: `on`)
|
||||
|
||||
* [[option_irc.server_default.addresses]] *irc.server_default.addresses*
|
||||
** Beschreibung: `Liste der Hostnamen/Ports oder IP/Ports des Servers (durch Komma getrennt)`
|
||||
** Typ: Zeichenkette
|
||||
@@ -409,7 +414,7 @@
|
||||
** Werte: 1 .. 65535 (Standardwert: `10`)
|
||||
|
||||
* [[option_irc.server_default.autorejoin]] *irc.server_default.autorejoin*
|
||||
** Beschreibung: `Channels automatisch betreten, falls man rausgeworfen wurde`
|
||||
** Beschreibung: `Channels automatisch betreten, falls man rausgeworfen wurde. Es kann eine lokale Buffer Variable für einen Channel erstellt werden, diese lokale Variable wird vorrangig behandelt (Name der lokalen Variable: "autorejoin", Wert: "on" oder "off")`
|
||||
** Typ: boolesch
|
||||
** Werte: on, off (Standardwert: `off`)
|
||||
|
||||
@@ -429,7 +434,7 @@
|
||||
** Werte: 0 .. 1000000 (Standardwert: `25`)
|
||||
|
||||
* [[option_irc.server_default.capabilities]] *irc.server_default.capabilities*
|
||||
** Beschreibung: `Durch Kommata getrennte Liste von erweiterten Client Fähigkeiten ("client capabilities"), welche vom Server angeboten und genutzt werden sollen (Beispiel: "multi-prefix,extended-join")`
|
||||
** Beschreibung: `durch Kommata getrennte Liste von erweiterten Client Fähigkeiten ("client capabilities"), welche vom Server angeboten und genutzt werden sollen. Fähigkeiten die von WeeChat unterstützt werden: multi-prefix, userhost-in-name (Beispiel: "multi-prefix, userhost-in-name")`
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette (Standardwert: `""`)
|
||||
|
||||
@@ -459,9 +464,9 @@
|
||||
** Werte: beliebige Zeichenkette (Standardwert: `"WeeChat %v"`)
|
||||
|
||||
* [[option_irc.server_default.ipv6]] *irc.server_default.ipv6*
|
||||
** Beschreibung: `Server über IPv6 ansprechen`
|
||||
** Beschreibung: `bei der Kommunikation mit dem Server wird das IPv6 Protokoll genutzt (sollte IPv6 nicht genutzt werden können, wird automatisch auf IPv4 zurückgegriffen); wird die Funktion deaktiviert, dann wird ausschließlich IPv4 genutzt.`
|
||||
** Typ: boolesch
|
||||
** Werte: on, off (Standardwert: `off`)
|
||||
** Werte: on, off (Standardwert: `on`)
|
||||
|
||||
* [[option_irc.server_default.local_hostname]] *irc.server_default.local_hostname*
|
||||
** Beschreibung: `benutzerdefinierter lokaler Hostname bzw. IP-Adresse für den entsprechenden Server (optional). Falls kein Eintrag vorhanden sein sollte wird der lokale Hostname verwendet`
|
||||
@@ -494,9 +499,9 @@
|
||||
** Werte: beliebige Zeichenkette (Standardwert: `""`)
|
||||
|
||||
* [[option_irc.server_default.sasl_mechanism]] *irc.server_default.sasl_mechanism*
|
||||
** Beschreibung: `Verfahren welches bei einer SASL Authentifizierung angewandt werden soll: "plain" Passwort liegt in Klartext vor, "dh-blowfish" Passwort wird verschlüsselt, "external" SSL Zertifikat welches auf Client Seite vorliegt`
|
||||
** Beschreibung: `Verfahren welches bei einer SASL Authentifizierung angewandt werden soll: "plain" Passwort wird im Klartext gesendet, "dh-blowfish" Passwort wird mittels blowfish verschlüsselt, "dh-aes" Passwort wird mittels AES verschlüsselt, "external" SSL Zertifikat welches auf Client Seite vorliegt, wird verwendet.`
|
||||
** Typ: integer
|
||||
** Werte: plain, dh-blowfish, external (Standardwert: `plain`)
|
||||
** Werte: plain, dh-blowfish, dh-aes, external (Standardwert: `plain`)
|
||||
|
||||
* [[option_irc.server_default.sasl_password]] *irc.server_default.sasl_password*
|
||||
** Beschreibung: `Passwort für SASL Authentifizierung`
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
* [[option_logger.color.backlog_end]] *logger.color.backlog_end*
|
||||
** Beschreibung: `Farbe für die letzte Zeile der Rückverfolgung`
|
||||
** Beschreibung: `Farbe für die letzte Zeile im Verlaufsspeicher`
|
||||
** Typ: Farbe
|
||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "_" für unterstrichen (Standardwert: `darkgray`)
|
||||
|
||||
* [[option_logger.color.backlog_line]] *logger.color.backlog_line*
|
||||
** Beschreibung: `Farbe in der der Text der Rückverfolgung dargestellt werden soll`
|
||||
** Beschreibung: `Textfarbe in der der Verlaufsspeicher dargestellt werden soll`
|
||||
** Typ: Farbe
|
||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "_" für unterstrichen (Standardwert: `darkgray`)
|
||||
|
||||
@@ -33,6 +33,16 @@
|
||||
** Typ: boolesch
|
||||
** Werte: on, off (Standardwert: `on`)
|
||||
|
||||
* [[option_logger.file.nick_prefix]] *logger.file.nick_prefix*
|
||||
** Beschreibung: `Text, der vor dem Nick geschrieben werden soll, Beispiel: "<"`
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette (Standardwert: `""`)
|
||||
|
||||
* [[option_logger.file.nick_suffix]] *logger.file.nick_suffix*
|
||||
** Beschreibung: `Text, der nach dem Nick geschrieben werden soll, Beispiel: "<"`
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette (Standardwert: `""`)
|
||||
|
||||
* [[option_logger.file.path]] *logger.file.path*
|
||||
** Beschreibung: `Pfad für WeeChat Protokolldateien; "%h" wird durch das WeeChat Verzeichnis ersetzt (Standardpfad: "~/.weechat"); eine Datumsspezifikation ist zulässig (siehe: man strftime)`
|
||||
** Typ: Zeichenkette
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
[command]*`relay`* Relay-Kontrolle::
|
||||
........................................
|
||||
/relay list|listfull|listrelay
|
||||
add <protocol.name> <port>
|
||||
del <protocol.name>
|
||||
add [ipv4.][ipv6.][ssl.]<protocol.name> <port>
|
||||
del [ipv4.][ipv6.][ssl.]<protocol.name>
|
||||
raw
|
||||
sslcertkey
|
||||
|
||||
@@ -12,10 +12,12 @@
|
||||
listrelay: Auflistung der Relays (Name und Port)
|
||||
add: fügt ein Relay, für ein Protokoll + Name, hinzu
|
||||
del: entfernt Relay für ein Protokoll + Name
|
||||
ipv4: erzwingt die Nutzung von IPv4
|
||||
ipv6: erzwingt die Nutzung von IPv6
|
||||
ssl: aktiviert SSL
|
||||
protocol.name: Protokoll und Name des Relay:
|
||||
- Protokoll "irc": und der Name des Servers welcher geteilt werden soll
|
||||
- Protokoll "irc": Name des Servers welcher geteilt werden soll (optional). Wird kein Name angegeben, dann muss der Client den Servernamen mittels Befehl "PASS" anfordern. Format: "PASS Server:Passwort")
|
||||
- Protokoll "weechat" (Name wird nicht unterstützt)
|
||||
Hinweis: Das SSL Protokoll kann durch voranstellen von "ssl." aktiviert werden
|
||||
port: Port den das Relay nutzen soll
|
||||
raw: öffnet Buffer mit RAW-Relay Daten
|
||||
sslcertkey: setzt SSL Zertifikat/Schlüssel mittels Eintrag in Option relay.network.ssl_cert_key
|
||||
@@ -27,9 +29,17 @@ Beispiele:
|
||||
/relay add irc.freenode 8000
|
||||
IRC Proxy, für Server "freenode", mit SSL:
|
||||
/relay add ssl.irc.freenode 8001
|
||||
IRC Proxy für alle Server (Client wählt aus), mit SSL:
|
||||
/relay add ssl.irc 8002
|
||||
WeeChat Protokoll:
|
||||
/relay add weechat 9000
|
||||
WeeChat Protokoll, mit SSL:
|
||||
/relay add ssl.weechat 9001
|
||||
WeeChat Protokoll, mit SSL, nur IPv4 nutzen:
|
||||
/relay add ipv4.ssl.weechat 9001
|
||||
WeeChat Protokoll, mit SSL, nur IPv6 nutzen:
|
||||
/relay add ipv6.ssl.weechat 9001
|
||||
WeeChat Protokoll, mit SSL, mit IPv4 + IPv6:
|
||||
/relay add ipv4.ipv6.ssl.weechat 9001
|
||||
........................................
|
||||
|
||||
|
||||
@@ -43,6 +43,31 @@
|
||||
** Typ: Farbe
|
||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "_" für unterstrichen (Standardwert: `white`)
|
||||
|
||||
* [[option_relay.irc.backlog_max_minutes]] *relay.irc.backlog_max_minutes*
|
||||
** Beschreibung: `Zeitangabe, in Minuten, wie lange die Zeilen im Verlaufsspeicher für jeden IRC Channel gehalten werden sollen (0 = unbegrenzt, Beispiele: 1440 = einen Tag, 10080 = eine Woche, 43200 = einen Monat, 525600 = ein Jahr)`
|
||||
** Typ: integer
|
||||
** Werte: 0 .. 2147483647 (Standardwert: `1440`)
|
||||
|
||||
* [[option_relay.irc.backlog_max_number]] *relay.irc.backlog_max_number*
|
||||
** Beschreibung: `maximale Anzahl an Zeilen im Verlaufsspeicher. Dies gilt für jeden IRC Channel (0: keine Zeilenbegrenzung)`
|
||||
** Typ: integer
|
||||
** Werte: 0 .. 2147483647 (Standardwert: `256`)
|
||||
|
||||
* [[option_relay.irc.backlog_since_last_disconnect]] *relay.irc.backlog_since_last_disconnect*
|
||||
** Beschreibung: `Verlaufsspeicher anzeigen, beginnend mit dem Client der zuletzt beendet wurde`
|
||||
** Typ: boolesch
|
||||
** Werte: on, off (Standardwert: `on`)
|
||||
|
||||
* [[option_relay.irc.backlog_tags]] *relay.irc.backlog_tags*
|
||||
** Beschreibung: `Nachrichten-Tags welche im Verlaufsspeicher, für IRC Channels, angezeigt werden (unterstützte Tags: "irc_join", "irc_part", "irc_quit", "irc_nick", "irc_privmsg"), "*" = alle unterstützten Tags`
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette (Standardwert: `"irc_privmsg"`)
|
||||
|
||||
* [[option_relay.irc.backlog_time_format]] *relay.irc.backlog_time_format*
|
||||
** Beschreibung: `Format für die Zeitanzeige im Verlaufsspeicher (siehe man strftime für gültige Formate) (findet keine Anwendung wenn die Serverfunktion, "server-time", durch den Client aktiviert wurde, da die Zeitanzeige als irc-Tag gesendet wird); keine Zeichenkette = deaktiviert die Zeitanzeige im Verlaufsspeicher`
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette (Standardwert: `"[%H:%M] "`)
|
||||
|
||||
* [[option_relay.look.auto_open_buffer]] *relay.look.auto_open_buffer*
|
||||
** Beschreibung: `öffnet automatisch einen Relay-Buffer, falls eine Verbindung zu einem neuen Client hergestellt wird`
|
||||
** Typ: boolesch
|
||||
@@ -54,7 +79,7 @@
|
||||
** Werte: 0 .. 65535 (Standardwert: `256`)
|
||||
|
||||
* [[option_relay.network.allowed_ips]] *relay.network.allowed_ips*
|
||||
** Beschreibung: `regulärer Ausdruck für IP Adressen die auf das Relay zugreifen dürfen (zwischen Groß- und Kleinschreibung nicht dabei nicht unterschieden. Um zwischen Groß-und Kleinschreibung zu unterscheiden muss am Wortanfang "(?-i)" genutzt werden) , Beispiel: "^(123.45.67.89|192.160.*)$"`
|
||||
** Beschreibung: `regulärer Ausdruck für IP Adressen die auf das Relay zugreifen dürfen (zwischen Groß- und Kleinschreibung nicht dabei nicht unterschieden. Um zwischen Groß-und Kleinschreibung zu unterscheiden muss am Wortanfang "(?-i)" genutzt werden) . Sollte IPv6 aktiviert sein und es wird eine IPv4 Verbindung aufgebaut, werden die IPv6 Adressen nach IPv4 gewandelt (siehe: "::ffff:127.0.0.1"), Beispiele: "^((::ffff:)?123.45.67.89|192.160.*)$"`
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette (Standardwert: `""`)
|
||||
|
||||
@@ -68,6 +93,11 @@
|
||||
** Typ: integer
|
||||
** Werte: 0 .. 9 (Standardwert: `6`)
|
||||
|
||||
* [[option_relay.network.ipv6]] *relay.network.ipv6*
|
||||
** Beschreibung: `lauscht standardmäßig am IPv6 Socket (zusätzlich zu IPv4, welches als Standardprotokoll genutzt wird); mittels des Protokollnamens kann das IPv4 und IPv6 Protokoll, einzeln oder gemeinsam, erzwungen werden (siehe /help relay)`
|
||||
** Typ: boolesch
|
||||
** Werte: on, off (Standardwert: `on`)
|
||||
|
||||
* [[option_relay.network.max_clients]] *relay.network.max_clients*
|
||||
** Beschreibung: `maximale Anzahl an Clients die mit einem Port verbunden sein dürfen`
|
||||
** Typ: integer
|
||||
@@ -83,3 +113,8 @@
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette (Standardwert: `"%h/ssl/relay.pem"`)
|
||||
|
||||
* [[option_relay.network.websocket_allowed_origins]] *relay.network.websocket_allowed_origins*
|
||||
** Beschreibung: `erlaubt regulären Ausdruck für Origins in WebSockets (Groß- und Kleinschreibung wird ignoriert, um Groß- und Kleinschreibung zu nutzen muss "(?-i)" dem Origin vorangestellt werden), Beispiele: "^http://(www\.)?example\.(com|org)"`
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette (Standardwert: `""`)
|
||||
|
||||
|
||||
@@ -11,8 +11,8 @@ listdefault: zeigt die Standardeinstellung für rmodifier an
|
||||
add: einen rmodifier hinzufügen
|
||||
name: Name des rmodifier
|
||||
modifiers: durch Kommata getrennte Liste der modifier
|
||||
groups: Aktion auf Gruppen anwenden: durch Kommata getrennte Liste der Gruppen (von 1 bis 9). Optional kann nach der Nummer für die Gruppe ein "*" gesetzt werden um diese Gruppe auszublenden
|
||||
regex: regulärer Ausdruck (zwischen Groß- und Kleinschreibung wird nicht unterschieden. Um zwischen Groß- und Kleinschreibung zu unterscheiden muss zu Beginn "(?-i)" genutzt werden)
|
||||
groups: Aktion auf Gruppen (groups) anwenden, die durch reguläre Ausdrücke abgefragt werden (innerhalb der runden Klammern): durch Kommata getrennte Liste der Gruppen (von 1 bis 9). Optional kann nach der Nummer für die Gruppe ein "*" gesetzt werden um diese Gruppe auszublenden
|
||||
regex: regulärer Ausdruck (zwischen Groß- und Kleinschreibung wird nicht unterschieden. Um zwischen Groß- und Kleinschreibung zu unterscheiden muss zu Beginn "(?-i)" genutzt werden)
|
||||
del: löscht einen rmodifier Eintrag
|
||||
-all: löscht alle rmodifiers Einträge
|
||||
default: setzt die rmodifier auf seine Standardwerte zurück
|
||||
|
||||
@@ -5,29 +5,33 @@
|
||||
search <text>
|
||||
show <script>
|
||||
load|unload|reload <script> [<script>...]
|
||||
autoload|noautoload|toggleautoload <script> [<script>...]
|
||||
install|remove|installremove|hold [-q] <script> [<script>...]
|
||||
upgrade
|
||||
update
|
||||
|
||||
list: gibt alle geladenen Skripten im Buffer aus (unabhängig der Programmiersprache)
|
||||
-o: gibt eine Liste der gestarteten Skripten im Buffer aus
|
||||
-i: eine Liste der gestarteten Skripten wird in die Eingabezeile kopiert (um sie dann manuell in einen Buffer zu senden)
|
||||
search: sucht Skripten nach Schlagwörtern oder beliebigem Text. Das Ergebnis wird im Skripten-Buffer dargestellt
|
||||
show: zeigt detailliert Informationen zu einem Skript an
|
||||
load: startet Skript(en)
|
||||
unload: beendet Skript(en)
|
||||
reload: Skript(en) werden neu geladen
|
||||
install: installiert/aktualisiert Skript(en) (physikalisch, auf dem Datenträger)
|
||||
remove: deinstalliert Skript(en) (physikalisch, vom Datenträger)
|
||||
installremove: installiert oder deinstalliert Skript(en), abhängig davon welcher Status vorliegt
|
||||
hold: halten/freigeben von Skript(en) (ein Skript welches gehalten wird, kann weder aktualisiert noch entfernt werden)
|
||||
-q: unterdrückter Modus: Es werden keine Nachrichten ausgegeben
|
||||
upgrade: aktualisiert alle installierten Skripten, die obsolet sind (wenn eine neue Version verfügbar ist)
|
||||
update: aktualisiert den lokalen Cache für die Skripten
|
||||
list: gibt alle geladenen Skripten im Buffer aus (unabhängig der Programmiersprache)
|
||||
-o: gibt eine Liste der gestarteten Skripten im Buffer aus
|
||||
-i: eine Liste der gestarteten Skripten wird in die Eingabezeile kopiert (um sie dann manuell in einen Buffer zu senden)
|
||||
search: sucht Skripten nach Schlagwörtern oder beliebigem Text. Das Ergebnis wird im Skripten-Buffer dargestellt
|
||||
show: zeigt detailliert Informationen zu einem Skript an
|
||||
load: startet Skript(en)
|
||||
unload: beendet Skript(en)
|
||||
reload: Skript(en) werden neu geladen
|
||||
autoload: das Skript wird in das autoload-Verzeichnis eingebunden
|
||||
noautoload: das Skript wird aus dem autoload-Verzeichnis entfernt
|
||||
toggleautoload: autoload für das Skript umschalten
|
||||
install: installiert/aktualisiert Skript(en) (physikalisch, auf dem Datenträger)
|
||||
remove: deinstalliert Skript(en) (physikalisch, vom Datenträger)
|
||||
installremove: installiert oder deinstalliert Skript(en), abhängig davon welcher Status vorliegt
|
||||
hold: halten/freigeben von Skript(en) (ein Skript welches gehalten wird, kann weder aktualisiert noch entfernt werden)
|
||||
-q: unterdrückter Modus: Es werden keine Nachrichten ausgegeben
|
||||
upgrade: aktualisiert alle installierten Skripten, die obsolet sind (wenn eine neue Version verfügbar ist)
|
||||
update: aktualisiert den lokalen Cache für die Skripten
|
||||
|
||||
Ohne Angaben von Argumenten öffnet dieser Befehl einen Buffer in welchem eine Liste der Skripten dargestellt wird.
|
||||
Ohne Angaben von Argumenten öffnet dieser Befehl einen Buffer, in welchem eine Liste der Skripten dargestellt wird.
|
||||
|
||||
Im Skript-Buffer, werden folgende Statusangaben zu einem Skript angezeigt:
|
||||
Im Skript-Buffer, werden folgende Statusangaben für ein Skript angezeigt:
|
||||
* i a H r N
|
||||
| | | | | |
|
||||
| | | | | obsolete (neue Version verfügbar)
|
||||
@@ -43,6 +47,7 @@ Tastenbefehle die im Skript-Buffer genutzt werden können:
|
||||
alt+l startet ein Skript (Skript wird ausgeführt)
|
||||
alt+L Skript wird neu gestartet
|
||||
alt+u beendet ein Skript
|
||||
alt+A das Skript wird in das autoload-Verzeichnis eingebunden
|
||||
alt+h Skript wird gehalten bzw. freigegeben
|
||||
alt+v Skript anzeigen
|
||||
|
||||
@@ -57,8 +62,8 @@ Befehle die in der Eingabezeile des Skript-Buffers eingegeben werden können:
|
||||
|
||||
Mausbefehle innerhalb des Skripten-Buffer:
|
||||
Mausrad in der Liste scrollen
|
||||
linker Mausknopf Skript anwählen
|
||||
rechter Mausknopf Skript installieren/entfernen
|
||||
linke Maustaste Skript anwählen
|
||||
rechte Maustaste Skript installieren/entfernen
|
||||
|
||||
Beispiele:
|
||||
/script search url
|
||||
|
||||
@@ -154,7 +154,7 @@
|
||||
** Werte: on, off (Standardwert: `on`)
|
||||
|
||||
* [[option_script.look.sort]] *script.look.sort*
|
||||
** Beschreibung: `Standardsortierung für Skripten im Skript Buffer: durch Kommata getrennte Liste von Bezeichnern: a=Autor, A=automatisch geladen, d=Datum wann das Skript hinzugefügt wurde, e=Dateierweiterung, i=installiert, l=Programmiersprache, n=Skriptname, o=obsolete, p=empfohlen, r=Skript wird ausgeführt, u=Datum der letzten Überarbeitung; mittels des Zeichens "-", vor dem entsprechenden Bezeichner, kann die Darstellung umgekehrt werden; Beispiel: "i,u": installierte Skripten werden zuerst dargestellt, sortiert nach dem Datum ihrer letzten Überarbeitung`
|
||||
** Beschreibung: `Standardsortierung für Skripten im Skript Buffer: durch Kommata getrennte Liste von Bezeichnern: a=Autor, A=automatisch geladen, d=Datum wann das Skript hinzugefügt wurde, e=Dateierweiterung, i=installiert, l=Programmiersprache, n=Skriptname, o=obsolete, p=empfohlen, r=Skript wird ausgeführt, u=Datum der letzten Überarbeitung; mit Hilfe des Zeichens "-", vor dem entsprechenden Bezeichner, kann die Darstellung umgekehrt werden. Beispiel: "i,u": installierte Skripten werden zuerst dargestellt, sortiert nach dem Datum ihrer letzten Überarbeitung`
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette (Standardwert: `"p,n"`)
|
||||
|
||||
@@ -168,6 +168,11 @@
|
||||
** Typ: boolesch
|
||||
** Werte: on, off (Standardwert: `on`)
|
||||
|
||||
* [[option_script.scripts.autoload]] *script.scripts.autoload*
|
||||
** Beschreibung: `autoload Skripten installiert (erstellt einen Link im "autoload" Verzeichnis zum Skript im übergeordneten Verzeichnis)`
|
||||
** Typ: boolesch
|
||||
** Werte: on, off (Standardwert: `on`)
|
||||
|
||||
* [[option_script.scripts.cache_expire]] *script.scripts.cache_expire*
|
||||
** Beschreibung: `Ablaufdatum des lokalen Caches, in Minuten (-1 = ohne Ablaufdatum, 0 = umgehend)`
|
||||
** Typ: integer
|
||||
@@ -179,7 +184,7 @@
|
||||
** Werte: beliebige Zeichenkette (Standardwert: `"%h/script"`)
|
||||
|
||||
* [[option_script.scripts.hold]] *script.scripts.hold*
|
||||
** Beschreibung: `Skripten welche "gehalten" werden sollen. Dies ist eine durch Kommata getrennte Liste von Skripten die nicht aktualisiert werden und nicht entfernt werden können. Zum Beispiel: "buffers.pl,iset.pl"`
|
||||
** Beschreibung: `Skripten welche "gehalten" werden sollen. Dies ist eine durch Kommata getrennte Liste von Skripten die weder aktualisiert noch entfernt werden können. Zum Beispiel: "buffers.pl,iset.pl"`
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette (Standardwert: `""`)
|
||||
|
||||
|
||||
@@ -11,28 +11,29 @@ message: Abwesenheitsnachricht (ohne eine Nachricht wird der Abwesenheitszustand
|
||||
[command]*`bar`* Infobars verwalten::
|
||||
........................................
|
||||
/bar list|listfull|listitems
|
||||
add <name> <type>[,<cond1>[,<cond2>...]] <position> <size> <separator> <item1>[,<item2>...]
|
||||
add <name> <type>[,<condition>] <position> <size> <separator> <item1>[,<item2>...]
|
||||
default [input|title|status|nicklist]
|
||||
del <name>|-all
|
||||
set <name> <option> <value>
|
||||
hide|show|toggle <name>
|
||||
scroll <name> <window> <scroll_value>
|
||||
|
||||
list: listet alle Infobars auf
|
||||
listfull: listet alle Infobars detailliert auf (Standardaufruf)
|
||||
listitems: listet alle Items auf, die in den Infobars genutzt werden
|
||||
list: zeigt alle Infobars an
|
||||
listfull: zeigt eine detaillierte Liste aller Infobars an (ausführlich)
|
||||
listitems: zeigt alle Items an, die in den Infobars genutzt werden
|
||||
add: füge eine neue Infobar hinzu
|
||||
name: Name der Infobar (muss einmalig sein)
|
||||
type: root: außerhalb des Fensters,
|
||||
window: innerhalb des Fensters, mit optionalen Merkmalen (siehe unten)
|
||||
cond1,...: Merkmal(e) für eine Infobar (nur nutzbar mit der Type-Option "window"):
|
||||
type: root: außerhalb eines Fensters,
|
||||
window: innerhalb eines Fensters, mit optionalen Merkmalen (siehe unten)
|
||||
condition: Merkmal(e) für eine Infobar (nur nutzbar mit der Type-Option "window"):
|
||||
active: in einem aktiven Fenster
|
||||
inactive: in einem inaktiven Fenster
|
||||
nicklist: in Fenstern mit einer Nickliste
|
||||
werden keine Merkmale angegeben, ist die Infobar immer sichtbar
|
||||
weitere Merkmale: siehe /help weechat.bar.xxx.conditions und /help eval
|
||||
ohne Angabe von Merkmalen wird die Infobar immer angezeigt
|
||||
position: bottom (unten), top (oben), left (links) oder right (rechts)
|
||||
size: Größe der Infobar (in Zeichen)
|
||||
separator: 1 um eine Trennlinien zu zeichnen, bei 0 oder ohne eine Angabe wird keine Trennlinien gezeichnet
|
||||
separator: 1 um eine Trennlinien zu zeichnen, bei 0 oder ohne eine Angabe, wird keine Trennlinien gezeichnet
|
||||
item1,...: Items die in der Infobar genutzt werden sollen (Items können durch Kommata oder Leerzeichen getrennt werden ("+" (verbindet Items))
|
||||
default: erstellt standardisierte Infobars
|
||||
del: entfernt eine Infobar (alle Infobars können mit der Option "-all" entfernt werden).
|
||||
@@ -44,7 +45,7 @@ message: Abwesenheitsnachricht (ohne eine Nachricht wird der Abwesenheitszustand
|
||||
toggle: zeigt/versteckt eine Infobar
|
||||
scroll: scrollt Infobar hoch/runter
|
||||
window: Nummer des Fensters (nutze '*' für aktuelles Fenster oder für die Root-Bars)
|
||||
scroll_value: Werte für Scroll-Funktion: 'x' oder 'y', gefolgt von '+', '-', 'b' (Beginn) oder 'e' (Ende), Wert (für +/-), und optional % (zum scrollen der Breite/Höhe in %, ansonsten wird dieser Wert als Anzahl der Zeichen interpretiert um die gescrollt werden soll)
|
||||
scroll_value: Werte für Scroll-Funktion: 'x' oder 'y' (optional), gefolgt von '+', '-', 'b' (Beginn) oder 'e' (Ende), Wert (für +/-), und optional % (zum scrollen der Breite/Höhe in %, ansonsten wird dieser Wert als Anzahl der Zeichen interpretiert um die gescrollt werden soll)
|
||||
|
||||
Beispiele:
|
||||
erstellt eine Infobar mit den Items: time, buffer number + name, und Vervollständigung:
|
||||
@@ -150,7 +151,7 @@ command: auszuführender Befehl (es wird automatisch ein '/' vorangestellt, fall
|
||||
........................................
|
||||
|
||||
[[command_weechat_cursor]]
|
||||
[command]*`cursor`* Cursor kann frei auf dem Bildschirm bewegt werden um Aktionen in bestimmten Bildschirmbereichen auszuführen::
|
||||
[command]*`cursor`* Cursor kann frei auf dem Bildschirm bewegt werden, um Aktionen in bestimmten Bildschirmbereichen auszuführen::
|
||||
........................................
|
||||
/cursor go chat|<bar>|<x>,<y>
|
||||
move up|down|left|right|area_up|area_down|area_left|area_right
|
||||
@@ -184,11 +185,12 @@ Beispiele:
|
||||
list: zeigt alle Erweiterungen mit Debuglevel an
|
||||
set: setzt den Level der Protokollierung für eine Erweiterung
|
||||
plugin: Name der Erweiterung ("core" für den WeeChat Kern)
|
||||
level: Debuglevel der Erweiterung (0 = deaktiviert das Debug)
|
||||
level: Debuglevel der Erweiterung (0 = deaktiviert Debug)
|
||||
dump: Speicherabbild in die WeeChat Protokolldatei schreiben (wie bei einem Programmabsturz)
|
||||
buffer: speichert den Bufferinhalt als hexadezimale Ausgabe in die Protokolldatei
|
||||
color: zeigt Informationen über die aktuellen Farbpaarungen an
|
||||
cursor: schaltet den debug-Modus für den Cursor-Modus ein/aus
|
||||
dirs: Verzeichnisse werden angezeigt
|
||||
hdata: zeigt Informationen zu hdata an (mittels free werden alle hdata Informationen aus dem Speicher entfernt)
|
||||
hooks: zeigt die aktiven Hooks an
|
||||
infolists: zeigt Information über die Infolists an
|
||||
@@ -199,6 +201,61 @@ infolists: zeigt Information über die Infolists an
|
||||
windows: zeigt die Fensterstruktur an
|
||||
........................................
|
||||
|
||||
[[command_weechat_eval]]
|
||||
[command]*`eval`* wertet einen Ausdruck aus und gibt das Resultat im Buffer aus::
|
||||
........................................
|
||||
/eval [-n] <expression>
|
||||
[-n] <expression1> <operator> <expression2>
|
||||
|
||||
-n: zeigt das Ergebnis an, ohne das dieses in den Buffer geschrieben wird (debug Modus)
|
||||
expression: Ausdruck welcher verarbeitet werden soll. Variablen im Format ${variable} werden ersetzt (siehe unten)
|
||||
operator: ein logischer oder vergleichender Operand:
|
||||
- logische Operanden:
|
||||
&& boolean "und"
|
||||
|| boolean "oder"
|
||||
- vergleichende Operanden:
|
||||
== gleich
|
||||
!= ungleich
|
||||
<= kleiner oder gleich
|
||||
< kleiner
|
||||
>= größer oder gleich
|
||||
> größer
|
||||
=~ stimmt mit regulärem Ausdruck überein
|
||||
!~ stimmt NICHT mit regulärem Ausdruck überein
|
||||
|
||||
Ein Ausdruck gilt als "wahr", sofern das Ergebnis nicht NULL, nicht leer und von "0" abweichend ist.
|
||||
Der Vergleich findet zwischen zwei Integer Werten statt, sofern die beiden Ausdrücke gültige Integer-Werte sind.
|
||||
Um einen Vergleich zwischen zwei Zeichenketten zu erzwingen, müssen die Ausdrücke in Anführungszeichen gesetzt werden, zum Beispiel:
|
||||
50 > 100 ==> 0
|
||||
"50" > "100" ==> 1
|
||||
|
||||
Einige Variablen werden im Ausdruck, mittels der Formatierung ${Variable}, ersetzt. Mögliche Variablen sind, nach Reihenfolge ihrer Priorität:
|
||||
1. der Name einer Option (file.section.option)
|
||||
2. der Name der lokalen Variablen für Buffer
|
||||
3. ein hdata Name/Variable (der Wert wird automatisch als Zeichenkette konvertiert), Standardmäßig wird für "window" und "buffer" das aktuelle Fenster/Buffer verwendet.
|
||||
Das Format für hdata:
|
||||
hdata.var1.var2...: startet mit hdata (der Pointer muss bekannt sein) und fragt eine Variable nach der anderen ab (weitere hdata können folgen)
|
||||
hdata(list).var1.var2...: startet hdata mittels einer Liste, zum Beispiel:
|
||||
${buffer[gui_buffers].full_name}: der vollständige Name des ersten Buffers, in der verknüpften Liste aller Buffer
|
||||
${plugin[weechat_plugins].name}: Name der ersten Erweiterung, in der verknüpften Liste aller Erweiterungen
|
||||
Die vorhandenen Namen für hdata und Variablen sind in der "Anleitung für API Erweiterung", Bereich "weechat_hdata_get". beschrieben
|
||||
|
||||
Beispiele:
|
||||
/eval -n ${weechat.look.scroll_amount} ==> 3
|
||||
/eval -n ${window} ==> 0x2549aa0
|
||||
/eval -n ${window.buffer} ==> 0x2549320
|
||||
/eval -n ${window.buffer.full_name} ==> core.weechat
|
||||
/eval -n ${window.buffer.number} ==> 1
|
||||
/eval -n ${window.buffer.number} > 2 ==> 0
|
||||
/eval -n ${window.win_width} > 100 ==> 1
|
||||
/eval -n (8 > 12) || (5 > 2) ==> 1
|
||||
/eval -n (8 > 12) && (5 > 2) ==> 0
|
||||
/eval -n abcd =~ ^ABC ==> 1
|
||||
/eval -n abcd =~ (?-i)^ABC ==> 0
|
||||
/eval -n abcd =~ (?-i)^abc ==> 1
|
||||
/eval -n abcd !~ abc ==> 0
|
||||
........................................
|
||||
|
||||
[[command_weechat_filter]]
|
||||
[command]*`filter`* Filterfunktion um Nachrichten in Buffern aus- oder einzublenden, dazu können Schlagwörter oder reguläre Ausdrücke verwendet werden::
|
||||
........................................
|
||||
@@ -233,7 +290,7 @@ Die am häufigsten gebrauchten Schlagwörter lauten:
|
||||
no_filter, no_highlight, no_log, log0..log9 (log Level),
|
||||
notify_none, notify_message, notify_private, notify_highlight,
|
||||
nick_xxx (xxx ist durch den Nicknamen zu ersetzen), prefix_nick_ccc (ccc ist die Farbe mit der der Nick dargestellt wird),
|
||||
irc_xxx (xxx ist durch einen IRC-Befehl/-Nummer zu ersetzen, siehe /server raw)
|
||||
irc_xxx (xxx ist durch einen IRC-Befehl/-Nummer zu ersetzen, siehe /server raw oder /debug tags)
|
||||
irc_numeric, irc_error, irc_action, irc_ctcp, irc_ctcp_reply, irc_smart_filter, away_info.
|
||||
Mittels "/debug tags" kann man sich die Tags jeder einzelnen Zeile darstellen zu lassen.
|
||||
|
||||
@@ -244,7 +301,7 @@ Beispiele:
|
||||
/filter add irc_smart *,!*#weechat* irc_smart_filter *
|
||||
filtert alle IRC join/part/quit Nachrichten:
|
||||
/filter add joinquit * irc_join,irc_part,irc_quit *
|
||||
filtert Nicks wenn diese den Channel betreten oder durch den Befehl "/names:" angezeigt werden:
|
||||
filtert Nicks wenn diese den Channel betreten oder durch den Befehl "/names" angezeigt werden:
|
||||
/filter add nicks * irc_366 *
|
||||
filtert Nick "toto" im IRC Channel #weechat:
|
||||
/filter add toto irc.freenode.#weechat nick_toto *
|
||||
@@ -383,20 +440,26 @@ Beispiele:
|
||||
/key reset meta-r
|
||||
"Tab"-Taste nutzen um im Kontext "search" die Suche innerhalb eines Buffers zu beenden:
|
||||
/key bindctxt search ctrl-I /input search_stop
|
||||
Auswahl eines Nicknamens mittels mittlerem Mausknopf zeigt zusätzliche Informationen zu dem Nick an:
|
||||
Auswahl eines Nicknamens mittels mittlerer Maustaste zeigt zusätzliche Informationen zu dem Nick an:
|
||||
/key bindctxt mouse @item(buffer_nicklist):button3 /msg nickserv info ${nick}
|
||||
........................................
|
||||
|
||||
[[command_weechat_layout]]
|
||||
[command]*`layout`* Layout für Buffer und Fenster speichern, anwenden oder zurücksetzen::
|
||||
........................................
|
||||
/layout save [buffers|windows]
|
||||
apply [buffers|windows]
|
||||
reset [buffers|windows]
|
||||
/layout save [<name>] [buffers|windows]
|
||||
apply [<name>] [buffers|windows]
|
||||
leave
|
||||
reset [<name>] [buffers|windows]
|
||||
rename <name> <new_name>
|
||||
|
||||
save: speichert das aktuelle Layout
|
||||
apply: das gespeicherte Layout anwenden
|
||||
reset: das gespeicherte Layout entfernen
|
||||
leave: belässt das aktuelle Layout (es wird kein Layout aktualisiert)
|
||||
reset: das gespeicherte Layout, mit Buffern und/oder Fenstern, zurücksetzen
|
||||
(falls Buffer und Fenster zurückgesetzt werden, dann wird das Layout entfernt)
|
||||
rename: ein Layout umbenennen
|
||||
name: Name unter welchem das Layout gesichert werden soll (Standardlayout lautet "default")
|
||||
buffers: speichert bzw. verwendet nur Buffer (Reihenfolge der Buffer)
|
||||
windows: speichert bzw. verwendet nur Fenster (Buffer welche im jeweiligen Fenster dargestellt werden)
|
||||
|
||||
@@ -549,9 +612,11 @@ Wird keine Datei angegeben dann werden alle Konfigurationen (WeeChat und Erweite
|
||||
[command]*`set`* Konfigurationsparameter setzen::
|
||||
........................................
|
||||
/set [<option> [<value>]]
|
||||
diff [<option> [<option>...]]
|
||||
|
||||
option: Name der zu ändernden Option (darf mit einem Joker '*' beginnen oder enden um mehrere Optionen anzuzeigen)
|
||||
option: Name der zu ändernden Option (um mehrere Optionen anzuzeigen, darf der Name mit einem Joker '*' beginnen oder enden)
|
||||
value: neuer Wert, den die Option erhalten soll
|
||||
diff: es werden nur Optionen angezeigt, die geändert wurden
|
||||
|
||||
Abhängig von der ausgewählten Option, kann die Variable folgenden Inhalt haben:
|
||||
boolean: on, off oder toggle
|
||||
@@ -559,13 +624,17 @@ Abhängig von der ausgewählten Option, kann die Variable folgenden Inhalt haben
|
||||
string : jede Zeichenkette ("" für eine leere Zeichenkette)
|
||||
color : Name einer Farbe, ++Anzahl oder --Anzahl
|
||||
|
||||
Für alle Typen von Variablen kann die Zeichenkette "null" (ohne "") genutzt werden um den Wert der Option zu löschen (undefinierter Wert). Dies kann nur bei einigen Erweiterungen genutzt werden.
|
||||
Für alle Typen von Variablen kann die Zeichenkette "null" (ohne "") genutzt werden, um den Wert der Option zu löschen (undefinierter Wert). Dies kann nur auf einige besondere Variablen (Erweiterungen) angewendet werden.
|
||||
|
||||
Beispiele:
|
||||
Zeigt alle Optionen an die etwas mit highlight zu tun haben:
|
||||
Zeigt alle Optionen an, die etwas mit highlight zu tun haben:
|
||||
/set *highlight*
|
||||
Fügt ein highlight-Wort hinzu:
|
||||
/set weechat.look.highlight "word"
|
||||
zeigt geänderte Optionen an:
|
||||
/set diff
|
||||
zeigt geänderte Optionen, der IRC Erweiterung, an:
|
||||
/set diff irc.*
|
||||
........................................
|
||||
|
||||
[[command_weechat_unset]]
|
||||
@@ -587,19 +656,30 @@ Beispiele:
|
||||
[[command_weechat_upgrade]]
|
||||
[command]*`upgrade`* Aktualisiert WeeChat ohne die Verbindung zum Server zu trennen::
|
||||
........................................
|
||||
/upgrade [<path_to_binary>]
|
||||
/upgrade [<path_to_binary>|-quit]
|
||||
|
||||
path_to_binary: Pfad zu einer ausführbaren WeeChat Binärdatei (Standardeinstellung ist die aktuell ausführbare Datei)
|
||||
-quit: trennt *ALLE* Verbindungen, speichert die aktuelle Sitzung und beendet WeeChat, um den aktuellen Zustand später wiederherstellen (siehe unten)
|
||||
|
||||
Dieser Befehl führt ein Upgrade von WeeChat durch und startet die laufende Sitzung neu. Die neue Version von WeeChat muss deshalb vorab kompiliert oder mit einem Paketmanager installiert worden sein, bevor der Befehl ausgeführt werden kann.
|
||||
Dieser Befehl führt ein Upgrade von WeeChat durch und startet die laufende Sitzung neu. Bevor dieser Befehl ausgeführt wird, sollte eine neue Version von WeeChat entweder vorab kompiliert, oder mit einem Paketmanager installiert worden sein.
|
||||
|
||||
Hinweis: SSL Verbindungen werden während eines Upgrades unterbrochen, da solche Verbindungen zur Zeit nicht mit GnuTLS gehalten werden können. Nach einem erfolgten Upgrade findet eine automatische Verbindung zu diesen Servern statt.
|
||||
Hinweis: SSL Verbindungen werden während eines Upgrades unterbrochen, da diese Verbindungen zur Zeit nicht mit GnuTLS gehalten werden können. Nach einem erfolgten Upgrade findet eine automatische Verbindung zu diesen Servern statt.
|
||||
|
||||
Der Upgrade Vorgang besteht aus vier Schritten:
|
||||
1. Speicherung der Session in Dateien für Core und Erweiterungen (buffers, history, ..)
|
||||
1. Sicherung der Sitzung, in Dateien für Core und Erweiterungen (buffers, history, ..)
|
||||
2. alle Erweiterungen werden ausgeschaltet (Konfigurationen *.conf werden gesichert)
|
||||
3. Speicherung der WeeChat Konfiguration (weechat.conf)
|
||||
4. ausführen einer neuen WeeChat Session.
|
||||
3. Sicherung der WeeChat Konfiguration (weechat.conf)
|
||||
4. ausführen der neuen Version von WeeChat und wiederherstellen der Sitzung.
|
||||
|
||||
Nutzt man die "-quit" Funktion ist die Abfolge geringfügig anders:
|
||||
1. es werden *ALLE* Verbindungen getrennt (irc,xfer,relay, ...)
|
||||
2. die Sitzung wird in Dateien gesichert (*.upgrade)
|
||||
3. alle Erweiterungen werden ausgeschaltet
|
||||
4. die WeeChat Konfiguration wird gesichert
|
||||
5. WeeChat wird beendet
|
||||
Die Sitzung kann zu einem späteren Zeitpunkt wiederhergestellt werden: weechat-curses --upgrade
|
||||
WICHTIG: Die Sitzung muss mit exakt den selben Konfigurationsdateien wiederhergestellt werden (*.conf)
|
||||
Es ist möglich die WeeChat-Sitzung auf einem anderen Rechner wiederherzustellen, sofern man den Inhalt des "~/.weechat" Verzeichnisses dorthin kopiert.
|
||||
........................................
|
||||
|
||||
[[command_weechat_uptime]]
|
||||
|
||||
@@ -83,11 +83,21 @@
|
||||
** Typ: Farbe
|
||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "_" für unterstrichen (Standardwert: `cyan`)
|
||||
|
||||
* [[option_weechat.color.chat_nick_prefix]] *weechat.color.chat_nick_prefix*
|
||||
** Beschreibung: `Farbe für den Nick-Präfix (Zeichenkette die vor dem Nick steht)`
|
||||
** Typ: Farbe
|
||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "_" für unterstrichen (Standardwert: `green`)
|
||||
|
||||
* [[option_weechat.color.chat_nick_self]] *weechat.color.chat_nick_self*
|
||||
** Beschreibung: `Textfarbe für den eigenen Nicknamen, im lokalen Chat-Fenster.`
|
||||
** Typ: Farbe
|
||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "_" für unterstrichen (Standardwert: `white`)
|
||||
|
||||
* [[option_weechat.color.chat_nick_suffix]] *weechat.color.chat_nick_suffix*
|
||||
** Beschreibung: `Farbe für den Nick-Suffix (Zeichenkette die nach dem Nick steht)`
|
||||
** Typ: Farbe
|
||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "_" für unterstrichen (Standardwert: `green`)
|
||||
|
||||
* [[option_weechat.color.chat_prefix_action]] *weechat.color.chat_prefix_action*
|
||||
** Beschreibung: `Textfarbe für Action-Präfix`
|
||||
** Typ: Farbe
|
||||
@@ -204,7 +214,7 @@
|
||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "_" für unterstrichen (Standardwert: `blue`)
|
||||
|
||||
* [[option_weechat.color.separator]] *weechat.color.separator*
|
||||
** Beschreibung: `Hintergrundfarbe der Fenster-Separatoren im Chatfenster (bei geteiltem Bildschirm)`
|
||||
** Beschreibung: `Farbe der Trennlinie von Fenstern (bei Fenster geteilt sind) und Bars (wie z.B. Nicklist)`
|
||||
** Typ: Farbe
|
||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "_" für unterstrichen (Standardwert: `blue`)
|
||||
|
||||
@@ -279,12 +289,12 @@
|
||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "_" für unterstrichen (Standardwert: `default`)
|
||||
|
||||
* [[option_weechat.completion.base_word_until_cursor]] *weechat.completion.base_word_until_cursor*
|
||||
** Beschreibung: `ist diese Option aktiviert, dann kann ein zu vervollständigendes Wort einem anderen Wort vorangestellt werden und es wird ein Leerzeichen zur Trennung hinzugefügt. Ist diese Funktion deaktiviert, muss man selber erst ein Leerzeichen einfügen um eine Vervollständigung vor einem anderen Wort ausführen zu können (zum Beispiel um einen Nick vor einen schon geschriebenen Text einzusetzen)`
|
||||
** Beschreibung: `ist diese Option aktiviert wird ein zu vervollständigendes Wort in den fließenden Text, mit einem Leerzeichen, hinzugefügt. Ist diese Option deaktiviert, muss in den fließenden Text ein Leerzeichen manuell einfügt werden, um eine Vervollständigung durchführen zu können (Beispiel: In einen schon geschriebenen Text, einen Nick einzufügen)`
|
||||
** Typ: boolesch
|
||||
** Werte: on, off (Standardwert: `on`)
|
||||
|
||||
* [[option_weechat.completion.default_template]] *weechat.completion.default_template*
|
||||
** Beschreibung: `Standardvorlage für die automatische Vervollständigung (in der Dokumentation finden Sie die vorgegebenen Codes und Werte)`
|
||||
** Beschreibung: `Standardvorlage für die automatische Vervollständigung (in der API-Dokumentation findet man die vorgegebenen Codes und Werte, Funktion "weechat_hook_command")`
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette (Standardwert: `"%(nicks)|%(irc_channels)"`)
|
||||
|
||||
@@ -339,7 +349,7 @@
|
||||
** Werte: 0 .. 2147483647 (Standardwert: `5`)
|
||||
|
||||
* [[option_weechat.history.max_buffer_lines_minutes]] *weechat.history.max_buffer_lines_minutes*
|
||||
** Beschreibung: `maximale Anzahl, in Minuten, wie Lange die Zeilen im Verlaufsspeicher, pro Buffer, gehalten werden sollen (0 = unbegrenzt, Beispiele: 1440 = einen Tag, 10080 = eine Woche, 43200 = einen Monat, 525600 = ein Jahr)`
|
||||
** Beschreibung: `Zeitangabe, in Minuten, wie lange die Zeilen im Verlaufsspeicher, pro Buffer, gehalten werden sollen (0 = unbegrenzt, Beispiele: 1440 = einen Tag, 10080 = eine Woche, 43200 = einen Monat, 525600 = ein Jahr)`
|
||||
** Typ: integer
|
||||
** Werte: 0 .. 2147483647 (Standardwert: `0`)
|
||||
|
||||
@@ -479,7 +489,7 @@
|
||||
** Werte: beliebige Zeichenkette (Standardwert: `""`)
|
||||
|
||||
* [[option_weechat.look.highlight_tags]] *weechat.look.highlight_tags*
|
||||
** Beschreibung: `eine durch Kommata getrennte Liste der hervorzuhebenden Wörter (Groß-/Kleinschreibung wird nicht beachtet. Beispiele: "irc_notice" für IRC Nachrichten, "nick_flashcode" für Nachrichten vom Nick "FlashCode")`
|
||||
** Beschreibung: `durch Kommata getrennte Liste der hervorzuhebenden Wörter (Groß-/Kleinschreibung wird nicht beachtet. Beispiele: "irc_notice" für IRC Nachrichten, "nick_flashcode" für Nachrichten vom Nick "FlashCode")`
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette (Standardwert: `""`)
|
||||
|
||||
@@ -494,7 +504,7 @@
|
||||
** Werte: beliebige Zeichenkette (Standardwert: `", "`)
|
||||
|
||||
* [[option_weechat.look.hotlist_count_max]] *weechat.look.hotlist_count_max*
|
||||
** Beschreibung: `maximale Anzahl an Nachrichten für den Nachrichtenzähler in der Hotlist, pro Buffer (0 = der Nachrichtenzähler wird nicht dargestellt)`
|
||||
** Beschreibung: `maximale Anzahl an Nachrichten für den Nachrichtenzähler in der Hotlist, für jeden Buffer (0 = der Nachrichtenzähler wird nicht dargestellt, siehe weechat.look.buffer_notify_default)`
|
||||
** Typ: integer
|
||||
** Werte: 0 .. 4 (Standardwert: `2`)
|
||||
|
||||
@@ -564,7 +574,7 @@
|
||||
** Werte: beliebige Zeichenkette (Standardwert: `"*"`)
|
||||
|
||||
* [[option_weechat.look.item_time_format]] *weechat.look.item_time_format*
|
||||
** Beschreibung: `Format für die Zeitanzeige, "time", in der Bar-Item (siehe man strftime für Platzhalter für das Datum und die Uhrzeit)`
|
||||
** Beschreibung: `Format für die Zeitanzeige des Bar-Items, "time" (siehe man strftime für Platzhalter für das Datum und die Uhrzeit)`
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette (Standardwert: `"%H:%M"`)
|
||||
|
||||
@@ -593,6 +603,16 @@
|
||||
** Typ: integer
|
||||
** Werte: 1 .. 10000 (Standardwert: `100`)
|
||||
|
||||
* [[option_weechat.look.nick_prefix]] *weechat.look.nick_prefix*
|
||||
** Beschreibung: `Text, der vor dem Nick dargestellt werden soll, Beispiel: "<"`
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette (Standardwert: `""`)
|
||||
|
||||
* [[option_weechat.look.nick_suffix]] *weechat.look.nick_suffix*
|
||||
** Beschreibung: `Text, der nach dem Nick dargestellt werden soll, Beispiel: ">"`
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette (Standardwert: `""`)
|
||||
|
||||
* [[option_weechat.look.paste_bracketed]] *weechat.look.paste_bracketed*
|
||||
** Beschreibung: `aktiviert den "bracketed paste mode" des Terminals (wird nicht durch alle Terminals/Multiplexer unterstützt): Dieser Modus erlaubt das Einfügen von Steuersequenzen die in Klammern gesetzt sind. WeeChat kann dadurch ermitteln ob ein Text eingefügt oder geschrieben wurde ("ESC[200~", gefolgt von dem einzufügenden Text und einem abschließenden "ESC[201~")`
|
||||
** Typ: boolesch
|
||||
@@ -609,7 +629,7 @@
|
||||
** Werte: -1 .. 2147483647 (Standardwert: `1`)
|
||||
|
||||
* [[option_weechat.look.prefix_action]] *weechat.look.prefix_action*
|
||||
** Beschreibung: `Präfix für Action-Nachrichten`
|
||||
** Beschreibung: `Präfix, dass bei einer Action-Nachricht angezeigt wird. Durch das Format "${Farbe}" ist es möglich eine Farbauswahl zu treffen.`
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette (Standardwert: `" *"`)
|
||||
|
||||
@@ -633,6 +653,11 @@
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette (Standardwert: `"+"`)
|
||||
|
||||
* [[option_weechat.look.prefix_align_more_after]] *weechat.look.prefix_align_more_after*
|
||||
** Beschreibung: `Das Zeichen welches zum Verkürzen angezeigt wird (Standardzeichen: "+"), nach dem Nick-Suffix darstellen (das vorhandene Leerzeichen wird ersetzt); wird diese Funktion deaktiviert, dann wird das Zeichen nach dem Nick dargestellt.`
|
||||
** Typ: boolesch
|
||||
** Werte: on, off (Standardwert: `on`)
|
||||
|
||||
* [[option_weechat.look.prefix_buffer_align]] *weechat.look.prefix_buffer_align*
|
||||
** Beschreibung: `Einstellung des Präfix für den Namen des Buffers, falls viele Buffer zu einem Buffer zusammengefügt wurden (keine = none, links = left, rechts = right (Standardwert))`
|
||||
** Typ: integer
|
||||
@@ -648,23 +673,28 @@
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette (Standardwert: `"+"`)
|
||||
|
||||
* [[option_weechat.look.prefix_buffer_align_more_after]] *weechat.look.prefix_buffer_align_more_after*
|
||||
** Beschreibung: `Das Zeichen welches zum Verkürzen angezeigt wird (Standardzeichen: "+"), nach dem Nick-Suffix darstellen (das vorhandene Leerzeichen wird ersetzt); wird diese Funktion deaktiviert, dann wird das Zeichen nach dem Nick dargestellt.`
|
||||
** Typ: boolesch
|
||||
** Werte: on, off (Standardwert: `on`)
|
||||
|
||||
* [[option_weechat.look.prefix_error]] *weechat.look.prefix_error*
|
||||
** Beschreibung: `Präfix für Fehlermeldungen`
|
||||
** Beschreibung: `Präfix, dass bei einer Fehler-Nachricht angezeigt wird. Durch das Format "${Farbe}" ist es möglich eine Farbauswahl zu treffen.`
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette (Standardwert: `"=!="`)
|
||||
|
||||
* [[option_weechat.look.prefix_join]] *weechat.look.prefix_join*
|
||||
** Beschreibung: `Präfix für Join-Nachrichten`
|
||||
** Beschreibung: `Präfix, dass bei einer Join-Nachricht angezeigt wird. Durch das Format "${Farbe}" ist es möglich eine Farbauswahl zu treffen.`
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette (Standardwert: `"-->"`)
|
||||
|
||||
* [[option_weechat.look.prefix_network]] *weechat.look.prefix_network*
|
||||
** Beschreibung: `Präfix für Netzwerkmeldungen`
|
||||
** Beschreibung: `Präfix, dass bei einer Netzwerk-Nachricht angezeigt wird. Durch das Format "${Farbe}" ist es möglich eine Farbauswahl zu treffen.`
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette (Standardwert: `"--"`)
|
||||
|
||||
* [[option_weechat.look.prefix_quit]] *weechat.look.prefix_quit*
|
||||
** Beschreibung: `Präfix für Quit-Nachrichten`
|
||||
** Beschreibung: `Präfix, dass bei einer Quit-Nachricht angezeigt wird. Durch das Format "${Farbe}" ist es möglich eine Farbauswahl zu treffen.`
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette (Standardwert: `"<--"`)
|
||||
|
||||
@@ -769,7 +799,7 @@
|
||||
** Werte: 1 .. 2147483647 (Standardwert: `30`)
|
||||
|
||||
* [[option_weechat.plugin.autoload]] *weechat.plugin.autoload*
|
||||
** Beschreibung: `eine durch Kommata getrennte Liste der Erweiterungen, die beim Programmstart automatisch geladen werden sollen; "*" lädt alle vorhandenen Erweiterungen. Beginnt der Name hingegen mit "!" wird die Erweiterung nicht geladen. Suchmuster können mit einem Joker ("*") beginnen oder enden um mehrere Erweiterungen zu laden (Beispiele: "*" oder "*,!lua,!tcl")`
|
||||
** Beschreibung: `durch Kommata getrennte Liste der Erweiterungen, die beim Programmstart automatisch geladen werden sollen; "*" lädt alle vorhandenen Erweiterungen. Beginnt der Name hingegen mit "!" wird die Erweiterung nicht geladen. Suchmuster können mit einem Joker ("*") beginnen oder enden um mehrere Erweiterungen zu laden (Beispiele: "*" oder "*,!lua,!tcl")`
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette (Standardwert: `"*"`)
|
||||
|
||||
|
||||
@@ -53,6 +53,11 @@
|
||||
** Typ: boolesch
|
||||
** Werte: on, off (Standardwert: `off`)
|
||||
|
||||
* [[option_xfer.file.auto_accept_nicks]] *xfer.file.auto_accept_nicks*
|
||||
** Beschreibung: `durch Kommata getrennte Liste von Nicks deren Chat- und Transferanfragen automatisch akzeptiert werden. Format : "server.nick" (für einen speziellen Server) oder "nick" (global, für alle Server); Beispiel: "freenode.FlashCode,andrew"`
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette (Standardwert: `""`)
|
||||
|
||||
* [[option_xfer.file.auto_rename]] *xfer.file.auto_rename*
|
||||
** Beschreibung: `eingehende Dateien werden automatisch umbenannt um ein Überschreiben zu vermeiden (dabei wird dem Dateinamen '.1', '.2', ... hinzugefügt)`
|
||||
** Typ: boolesch
|
||||
@@ -99,7 +104,7 @@
|
||||
** Werte: 1024 .. 102400 (Standardwert: `65536`)
|
||||
|
||||
* [[option_xfer.network.fast_send]] *xfer.network.fast_send*
|
||||
** Beschreibung: `wartet beim Versenden von Dateien nicht auf ein Bestätigungssignal (ACK)`
|
||||
** Beschreibung: `beim Versenden von Daten wird nicht auf ein Bestätigungssignal (ACK) gewartet`
|
||||
** Typ: boolesch
|
||||
** Werte: on, off (Standardwert: `on`)
|
||||
|
||||
@@ -109,7 +114,7 @@
|
||||
** Werte: beliebige Zeichenkette (Standardwert: `""`)
|
||||
|
||||
* [[option_xfer.network.port_range]] *xfer.network.port_range*
|
||||
** Beschreibung: `schränkt den ausgehenden Datenversand bzw. die Chats auf die ausschließliche Nutzung von Ports in einem vorgegebenen Bereich ein (hilfreich bei NAT) (Syntax: ein einzelner Port, z.B. 5000 oder ein Port-Bereich, z.B. 5000-5015. Es wird empfohlen Ports zu nutzen welche Größer als 1024 sind. Denn nur der User "root" kann auf den Port-Bereich <1024 zugreifen)`
|
||||
** Beschreibung: `schränkt den ausgehenden Datenversand/Chats auf die ausschließliche Nutzung von Ports in einem vorgegebenen Bereich ein (hilfreich bei NAT) (Syntax: ein einzelner Port, z.B. 5000 oder ein Port-Bereich, z.B. 5000-5015. Es wird empfohlen nur Ports zu nutzen die über 1024 liegen. Denn nur der User "root" kann auf den Port-Bereich unter 1024 zugreifen)`
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette (Standardwert: `""`)
|
||||
|
||||
|
||||
+97
-129
@@ -12,7 +12,6 @@ vorzugsweise immer die aktuell veröffentlichte Version von WeeChat genutzt werd
|
||||
Allgemein
|
||||
---------
|
||||
|
||||
|
||||
[[weechat_name]]
|
||||
Woher kommt eigentlich der Name "WeeChat"?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -23,7 +22,6 @@ Somit lautet der vollständige Name "Wee Enhanced Environment for Chat".
|
||||
"Wee" bedeutet außerdem "sehr klein" (und ja, es gibt noch eine andere Bedeutung des Wortes.
|
||||
Aber dieses trifft nicht auf WeeChat zu!)
|
||||
|
||||
|
||||
[[why_choose_weechat]]
|
||||
Weshalb sollte man WeeChat nutzen? - X-Chat und Irssi sind doch auch sehr gut...
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -55,12 +53,10 @@ Einige Funktionen (Version ≥ 0.3.x):
|
||||
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?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -70,7 +66,6 @@ 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?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -87,7 +82,6 @@ Beachte, dass dieses Paket nicht immer exakt mit dem git Repository übereinstim
|
||||
und daher auch weniger brauchbar sein kann. Im Gegensatz zu der Möglichkeit, dass man selbst
|
||||
das Repository klont und daraus Updates installiert.
|
||||
|
||||
|
||||
[[lost]]
|
||||
Ich habe WeeChat gestartet, komme aber nicht mehr weiter - was kann ich tun?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -101,12 +95,10 @@ in den Buffern blättern)
|
||||
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?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -137,7 +129,6 @@ 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]]
|
||||
Weshalb haben Bars, z.B. Titel und Status, keine Hintergrundfarbe bzw. diese endet direkt nach dem Text?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -153,7 +144,6 @@ Abhängig davon von wo WeeChat gestartet wird, solltest Du folgenden Wert haben:
|
||||
|
||||
Falls nötig korrigiere den Wert Deiner Variablen TERM: `export TERM="xxx"`.
|
||||
|
||||
|
||||
[[screen_weird_chars]]
|
||||
Wenn ich Weechat mit screen/tmux nutze habe ich merkwürdige Zeichen, wie kann ich dies beheben?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -166,7 +156,6 @@ Nutzte stattdessen lieber 'xterm'.
|
||||
|
||||
Falls notwendig korrigiere den Wert Deiner TERM-Variable: `export TERM="xxx"`.
|
||||
|
||||
|
||||
[[osx_display_broken]]
|
||||
Ich habe WeeChat unter OS X kompiliert und erhalte nur "(null)" als Textausgabe. Was läuft da schief?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -176,7 +165,6 @@ mit dem System ausgeliefert wird.
|
||||
|
||||
Darüber hinaus ist es unter OS X ratsam WeeChat mittels des Homebrew package manager zu installieren.
|
||||
|
||||
|
||||
[[buffer_vs_window]]
|
||||
Ich habe von "Buffern" und "Fenstern" gehört - Worin besteht der Unterschied?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -191,7 +179,6 @@ 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.
|
||||
|
||||
|
||||
[[buffers_list]]
|
||||
Wie kann ich eine Liste mit den Buffern z.B. auf der linken Seite anzeigen lassen?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -210,7 +197,6 @@ Um die Bar nach oben zu verschieben:
|
||||
/set weechat.bar.buffers.position bottom
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[customize_prefix]]
|
||||
Wie kann ich die Länge eines Nicknamens begrenzen oder die Ausrichtung des Nicks im Chatbereich entfernen?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -227,7 +213,6 @@ um die Ausrichtung für Nicks zu entfernen:
|
||||
/set weechat.look.prefix_align none
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[input_bar_size]]
|
||||
Wie kann man eine mehrzeilige Eingabezeile einstellen?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -250,7 +235,6 @@ maximal zwei Zeilen:
|
||||
/set weechat.bar.input.size_max 2
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[one_input_root_bar]]
|
||||
Ist es möglich nur eine Eingabezeile für alle Fenster zu nutzen (auch falls diese geteilt sind)?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -273,7 +257,6 @@ werden sollte:
|
||||
/bar del rootinput
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[terminal_copy_paste]]
|
||||
Wie kann ich einen Text kopieren und einfügen ohne das die Nickliste mit eingefügt wird?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -288,7 +271,6 @@ Eine weitere Möglichkeit besteht darin die Nickliste nach oben oder unten zu ve
|
||||
/set weechat.bar.nicklist.position top
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[urls]]
|
||||
Wie kann ich eine URL aufrufen die einen Zeilenumbruch besitzt?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -316,24 +298,7 @@ Zeilen angefügt (dies führt dazu, dass URLs beim Markieren korrekt erkannt wer
|
||||
Bei der Nutzung dieser Option kann es zu Darstellungsfehlern kommen. Sollte dies
|
||||
auftreten, sollte diese Option wieder deaktiviert werden.
|
||||
|
||||
Eine weitere Möglichkeit ist, eines der folgenden Skripten zu nutzen:
|
||||
|
||||
urlserver.py::
|
||||
verkürzt lange URLs mittels eigenem HTTP Server
|
||||
|
||||
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.
|
||||
|
||||
Hier findet man eine Auflistung von Skripten die sich mit URLs befassen: http://www.weechat.org/scripts/stable/tag/url
|
||||
|
||||
Eine weitere Möglichkeit ist, ein Skript zu nutzen: http://www.weechat.org/scripts/stable/tag/url
|
||||
|
||||
[[change_locale_without_quit]]
|
||||
Ich möchte die Meldungen von Weechat in einer anderen Sprache ausgeben lassen, ohne WeeChat zu beenden. Ist dies möglich?
|
||||
@@ -351,8 +316,7 @@ Hierdurch erhält man für das Terminal deutsche, UTF-8 kodierte Meldungen.
|
||||
Benutzer von ISO-Kodierungen können folgendes eingeben:
|
||||
`/shell setenv LANG=de_DE`.
|
||||
|
||||
|
||||
[[256_colors]]
|
||||
[[use_256_colors]]
|
||||
Wie kann ich 256 Farben in WeeChat nutzen?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
@@ -392,7 +356,6 @@ eine Farbe definieren).
|
||||
|
||||
Weiterführende Informationen zum Farbmanagement erhält man in der Benutzeranleitung.
|
||||
|
||||
|
||||
[[search_text]]
|
||||
Wie kann ich in einem Buffer nach einem Text suchen (vergleichbar /lastlog in irssi)?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -402,12 +365,10 @@ und um zu Highlight-Nachrichten zu springen: @k(A-)@k(p)/@k(n).
|
||||
|
||||
Siehe Benutzeranleitung für weitere Informationen zu dieser Funktion (Standardtastenbelegung).
|
||||
|
||||
|
||||
[[key_bindings]]
|
||||
Tastaturbelegung
|
||||
----------------
|
||||
|
||||
|
||||
[[meta_keys]]
|
||||
Aus welchem Grund funktionieren manche Meta-Tasten (alt + Taste) nicht?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -429,7 +390,6 @@ 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?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -439,7 +399,6 @@ Die Tasten werden mit dem Befehl `/key` belegt.
|
||||
Mit der voreingestellten Tastenkombination @k(A-)@k(k) kann man sich den
|
||||
Code der jeweiligen Taste anzeigen lassen und in die Eingabezeile einfügen.
|
||||
|
||||
|
||||
[[jump_to_buffer_11_or_higher]]
|
||||
Mit welcher Tastenkombination kann ich zum Buffer 11 (oder höher) wechseln?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -455,7 +414,6 @@ Es kann auch eine neue Taste eingebunden werden um zu einem Buffer zu wechseln:
|
||||
|
||||
Eine Auflistung der Standardtastenbelegung findet man in der Benutzeranleitung.
|
||||
|
||||
|
||||
[[global_history]]
|
||||
Wie kann ich den globalen Verlaufsspeicher (anstelle des Buffer eigenen) mit den Up-/Down-Tasten nutzen?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -474,12 +432,10 @@ Beispiele:
|
||||
Die Tasten "meta2-A" und "meta2-B" können nach dem jeweils genutzten Terminal variieren. Um die
|
||||
korrekten Tasten zu finden sollte man @k(A-)@k(k) und dann (Up- oder die Down-Taste) drücken.
|
||||
|
||||
|
||||
[[mouse]]
|
||||
Mausunterstützung
|
||||
-----------------
|
||||
|
||||
|
||||
[[mouse_not_working]]
|
||||
Die Mausunterstützung funktioniert nicht, was kann ich tun?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -512,7 +468,6 @@ Um die Mausunterstützung im Terminal zu beenden:
|
||||
$ printf '\033[?1002l'
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[mouse_coords]]
|
||||
Mausunterstützung funktioniert nicht falls x/y Koordinaten größer 94 Pixel sind, weshalb?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -523,7 +478,6 @@ Nutzung über 94 Pixel hinausgehend, sowohl in den x- wie auch den y-Koordinaten
|
||||
Dann muss man einen Terminl nutzen der eine Unterstützung von UTF-8 Koordinaten für die Maus
|
||||
bietet, zum Beispiel rxvt-unicode.
|
||||
|
||||
|
||||
[[mouse_select_paste]]
|
||||
Wie kann ich bei aktivierter Mausunterstützung im Terminal einen Text markieren oder einfügen?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -532,11 +486,84 @@ Ist die Mausunterstützung aktiviert kann man mittels gedrückter @k(-S-)-Taste
|
||||
einen Text im Terminal markieren oder einfügen, als sei die Mausunterstützung deaktiviert.
|
||||
(bei einigen Terminals muss die @k(-A-)-Taste anstelle der @k(-S-)-Taste gedrückt werden).
|
||||
|
||||
|
||||
[[irc]]
|
||||
IRC
|
||||
---
|
||||
|
||||
[[irc_ssl_connection]]
|
||||
Es treten Probleme bei einer Serververbindung mittels SSL auf. Was kann ich tun?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Falls Fehlermeldungen auftreten sollten die besagen, dass der gnutls Handshake
|
||||
nicht geklappt hat, sollte ein kleinerer Diffie-Hellman-Schlüssel verwendet
|
||||
werden (Standardgröße: 2048):
|
||||
|
||||
----------------------------------------
|
||||
/set irc.server.freenode.ssl_dhkey_size 1024
|
||||
----------------------------------------
|
||||
|
||||
Erscheint eine Fehlermeldung, dass etwas mit dem Zertifikat nicht stimmen sollte dann
|
||||
kann eine "ssl_verify" Überprüfung deaktiviert werden (die Verbindung ist in diesem
|
||||
Fall weniger sicher):
|
||||
|
||||
----------------------------------------
|
||||
/set irc.server.freenode.ssl_verify off
|
||||
----------------------------------------
|
||||
|
||||
[[irc_ssl_handshake_error]]
|
||||
Bei einem Verbindungsaufbau zum Server, via SSL, erhalte ich "TLS Handshake fehlgeschlagen". Wie kann ich das beheben?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Man sollte versuchen eine andere Priorität zu nutzen (nur WeeChat ≥ 0.3.5); Im Beispiel
|
||||
muss "xxx" durch den internen Servernamen ersetzt werden:
|
||||
|
||||
----------------------------------------
|
||||
/set irc.server.xxx.ssl_priorities "NORMAL:-VERS-TLS-ALL:+VERS-TLS1.0:+VERS-SSL3.0:%COMPAT"
|
||||
----------------------------------------
|
||||
|
||||
[[irc_ssl_freenode]]
|
||||
Wie kann ich eine SSL gesicherte Verbindung zum freenode Server herstellen?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Die Option 'weechat.network.gnutls_ca_file' sollte auf die Zertifikationsdatei zeigen:
|
||||
|
||||
----------------------------------------
|
||||
/set weechat.network.gnutls_ca_file "/etc/ssl/certs/ca-certificates.crt"
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
Überprüfe, ob die Zertifikationsdatei auf Deinem System installiert wurde (üblicherweise wird
|
||||
diese Datei durch das Paket "ca-certificates" bereitgestellt)
|
||||
|
||||
Konfiguration des Servers, Port, SSL, dhkey_size und dann einen
|
||||
Connect durchführen:
|
||||
|
||||
----------------------------------------
|
||||
/set irc.server.freenode.addresses "chat.freenode.net/7000"
|
||||
/set irc.server.freenode.ssl on
|
||||
/set irc.server.freenode.ssl_dhkey_size 1024
|
||||
/connect freenode
|
||||
----------------------------------------
|
||||
|
||||
[[irc_sasl]]
|
||||
Wie kann ich mich, vor dem Betreten von Channels, identifizieren?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Sollte der Server SASL unterstützen, ist es ratsam auf diese Funktion zurückzugreifen
|
||||
und sich nicht mittels "nickserv" zu authentifizieren. Zum Beispiel:
|
||||
|
||||
----------------------------------------
|
||||
/set irc.server_default.sasl_mechanism dh-blowfish
|
||||
/set irc.server.freenode.sasl_username "meinNick"
|
||||
/set irc.server.freenode.sasl_password "xxxxxxx"
|
||||
----------------------------------------
|
||||
|
||||
Unterstützt der Server keine SASL Authentifizierung, kann eine Verzögerung aktiviert
|
||||
werden um sich, vor dem Betreten von Channels, bei "nickserv" zu identifizieren:
|
||||
|
||||
----------------------------------------
|
||||
/set irc.server.freenode.command_delay 5
|
||||
----------------------------------------
|
||||
|
||||
[[ignore_vs_filter]]
|
||||
Was ist der Unterschied zwischen dem Befehl /ignore und /filter?
|
||||
@@ -557,7 +584,6 @@ Die Zeilen werden dabei nicht gelöscht, lediglich die Darstellung im Buffer wir
|
||||
Die gefilterten Zeilen können zu jeder Zeit dargestellt werden indem man den Filter deaktiviert
|
||||
(Voreinstellung zum aktivieren/deaktivieren der Filter: @k(A-)@k(=)).
|
||||
|
||||
|
||||
[[filter_irc_join_part_quit]]
|
||||
Wie kann ich join/part/quit Meldungen in den IRC Channels filtern (A.d.ü.: unterdrücken)?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -573,24 +599,37 @@ noch etwas geschrieben haben):
|
||||
zum anderen mit einer globalen Filterung (*alle* join/part/quit Nachrichten werden unterdrückt):
|
||||
|
||||
----------------------------------------
|
||||
/filter add jpk * irc_join,irc_part,irc_quit *
|
||||
/filter add joinquit * irc_join,irc_part,irc_quit *
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
Für weitere Hilfe: `/help filter` und `/help irc.look.smart_filter`
|
||||
|
||||
|
||||
[[filter_irc_join_channel_messages]]
|
||||
Wie kann ich Nachrichten filtern wenn ich einen IRC Channel betrete?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Es folgen einige Tags die man zum filtern von Nachrichten nutzen kann:
|
||||
Ab WeeChat ≥ 0.4.1 ist es möglich Nachrichten zu deaktivieren. Dazu
|
||||
nutzt man die Option:
|
||||
'irc.look.display_join_message'.
|
||||
|
||||
Zum Beispiel: Um die Auflistung aller Namen im Channel zu unterdrücken
|
||||
(IRC Nachricht '366'):
|
||||
|
||||
----------------------------------------
|
||||
/set irc.look.display_join_message "329,332,333"
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
Für Hilfe: `/help irc.look.display_join_message`
|
||||
|
||||
Eine andere Möglichkeit ist das Filtern von Nachrichten, nach Tags:
|
||||
|
||||
* 'irc_366': Auflistung der Namen die sich im Channel befinden
|
||||
* 'irc_332,irc_333': Channel Topic/Datum
|
||||
* 'irc_329': Wann der Channel erstellt wurde
|
||||
|
||||
Tags von anderen Server-Mitteilungen kann man im IRC Raw-Server finden
|
||||
Die Tags von anderen Server-Mitteilungen werden IRC RAW-Buffer ausgegeben
|
||||
(`/server raw`).
|
||||
|
||||
Beispiele:
|
||||
@@ -604,7 +643,6 @@ Beispiele:
|
||||
/filter add irc_join_topic_date * irc_332,irc_333 *
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[filter_voice_messages]]
|
||||
Wie kann ich voice Nachrichten filtern (z.B. auf Bitlbee Servern)?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -640,7 +678,6 @@ der Voice Modus aufgeführt sein muss):
|
||||
/filter add hidevoices * irc_mode (\+|\-)v
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[color_away_nicks]]
|
||||
Wie kann ich Nicks in der Nickliste anzeigen lassen die abwesend sind?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -667,7 +704,6 @@ Teilnehmer haben:
|
||||
Für Weechat ≤ 0.3.3, lauten die Optionen 'irc.network.away_check' und
|
||||
'irc.network.away_check_max_nicks'.
|
||||
|
||||
|
||||
[[highlight_notification]]
|
||||
Wie kann ich mich darüber informieren lassen falls mich jemand in einem Channel highlighted
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -682,77 +718,16 @@ Beim Skript 'launcher.pl' müssen noch die Befehle angepasst werden:
|
||||
|
||||
andere Skripten die auch zu diesem Thema passen: http://www.weechat.org/scripts/stable/tag/notify/
|
||||
|
||||
|
||||
[[irc_ssl_connection]]
|
||||
Es treten Probleme bei einer Serververbindung mittels SSL auf. Was kann ich tun?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Falls Fehlermeldungen auftreten sollten die besagen, dass der gnutls Handshake
|
||||
nicht geklappt hat, sollte ein kleinerer Diffie-Hellman-Schlüssel verwendet
|
||||
werden (Standardgröße: 2048):
|
||||
|
||||
----------------------------------------
|
||||
/set irc.server.freenode.ssl_dhkey_size 1024
|
||||
----------------------------------------
|
||||
|
||||
Erscheint eine Fehlermeldung, dass etwas mit dem Zertifikat nicht stimmen sollte dann
|
||||
kann eine "ssl_verify" Überprüfung deaktiviert werden (die Verbindung ist in diesem
|
||||
Fall weniger sicher):
|
||||
|
||||
----------------------------------------
|
||||
/set irc.server.freenode.ssl_verify off
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[irc_ssl_handshake_error]]
|
||||
Bei einem Verbindungsaufbau zum Server, via SSL, erhalte ich "TLS Handshake fehlgeschlagen". Wie kann ich das beheben?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Man sollte versuchen eine andere Priorität zu nutzen (nur WeeChat ≥ 0.3.5); Im Beispiel
|
||||
muss "xxx" durch den internen Servernamen ersetzt werden:
|
||||
|
||||
----------------------------------------
|
||||
/set irc.server.xxx.ssl_priorities "NORMAL:-VERS-TLS-ALL:+VERS-TLS1.0:+VERS-SSL3.0:%COMPAT"
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[irc_ssl_freenode]]
|
||||
Wie kann ich eine SSL gesicherte Verbindung zum freenode Server herstellen?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Die Option 'weechat.network.gnutls_ca_file' sollte auf die Zertifikationsdatei zeigen:
|
||||
|
||||
----------------------------------------
|
||||
/set weechat.network.gnutls_ca_file "/etc/ssl/certs/ca-certificates.crt"
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
Überprüfe, ob die Zertifikationsdatei auf Deinem System installiert wurde (üblicherweise wird
|
||||
diese Datei durch das Paket "ca-certificates" bereitgestellt)
|
||||
|
||||
Konfiguration des Servers, Port, SSL, dhkey_size und dann einen
|
||||
Connect durchführen:
|
||||
|
||||
----------------------------------------
|
||||
/set irc.server.freenode.addresses "chat.freenode.net/7000"
|
||||
/set irc.server.freenode.ssl on
|
||||
/set irc.server.freenode.ssl_dhkey_size 1024
|
||||
/connect freenode
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[irc_target_buffer]]
|
||||
Wie kann ich bei zusammengefügten Buffern den Zielbuffer ändern (z.B. bei einem Server-Buffer)?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Die Standardtastenkombination lautet @k(C-)@k(x) (der dazugehörige Befehl: `/input switch_active_buffer`).
|
||||
|
||||
|
||||
[[plugins_scripts]]
|
||||
Erweiterungen / Skripten
|
||||
------------------------
|
||||
|
||||
|
||||
[[openbsd_plugins]]
|
||||
Ich benutze OpenBSD aber WeeChat lädt keine Erweiterungen - weshalb?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -766,7 +741,6 @@ Um dies zu beheben muss folgendes konfiguriert werden:
|
||||
/plugin autoload
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[load_scripts]]
|
||||
Wie kann ich Perl/Python/Ruby/Lua/Tcl Skripten laden und sind Skripten von anderen IRC-Clients kompatibel?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -776,7 +750,6 @@ Die Skripten für WeeChat sind mit anderer IRC-Clients nicht kompatibel und vice
|
||||
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>/'
|
||||
@@ -784,12 +757,10 @@ Anmerkung:
|
||||
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?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -799,19 +770,20 @@ Damit WeeChat weniger Speicher benötigt, solltest Du folgende Tipps umsetzen:
|
||||
* nutze die aktuelle Version (man kann davon ausgehen das eine aktuelle Version
|
||||
weniger Speicherlecks besitzt, als eine vorherige 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)
|
||||
Logger, Perl, Python, Ruby, Lua, Tcl, Guile, Xfer (wird für DCC benötigst)
|
||||
* installiere ausschließlich Skripten die Du auch nutzt
|
||||
* falls man SSL *NICHT* nutzt, sollte kein Zertifikat geladen werden. In diesem
|
||||
Fall, einfach den Eintrag in folgender Option leer lassen:
|
||||
'weechat.network.gnutls_ca_file'
|
||||
* der Wert der Option 'weechat.history.max_buffer_lines_number' sollte möglichst
|
||||
niedrig eingestellt werden oder die Option 'weechat.history.max_buffer_lines_minutes'
|
||||
verwendet werden.
|
||||
* nutze einen kleineren Wert für die Option 'weechat.history.max_commands'
|
||||
|
||||
|
||||
[[development]]
|
||||
Entwicklung
|
||||
-----------
|
||||
|
||||
|
||||
[[bug_task_patch]]
|
||||
Was kann ich machen falls ich einen Fehler gefunden habe, nach neuen Funktionen fragen oder Patches einsenden möchte?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -827,7 +799,6 @@ Es gibt drei Möglichkeiten:
|
||||
http://www.weechat.org/about
|
||||
(Um emails an die "support" Mailing-Liste zu schicken, kannst Du diese abonnieren)
|
||||
|
||||
|
||||
[[gdb_error_threads]]
|
||||
Wenn man WeeChat in gdb startet kann ein Thread-Fehler auftreten. Was beudeutet das?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -849,7 +820,6 @@ $ LD_PRELOAD=/lib/libpthread.so.0 gdb /Pfad/zu/weechat-curses
|
||||
(gdb) run
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[supported_os]]
|
||||
Auf welchen Plattformen läuft WeeChat und wird es noch auf andere Betriebssystemen portiert?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -860,7 +830,6 @@ Wir geben unser Bestes um WeeChat auf möglichst viele Plattformen zu portieren.
|
||||
Aber um WeeChat auf fremden 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?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -870,7 +839,6 @@ 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/support
|
||||
|
||||
|
||||
[[donate]]
|
||||
Kann ich Geld oder anderes an die WeeChat Entwickler spenden?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
@@ -11,42 +11,72 @@ Die bevorzugte Terminal-Emulation für X (aber nicht obligatorisch) ist
|
||||
rxvt-unicode (es besitzt eine gute Unterstützung für UTF-8 und hat keine
|
||||
Probleme mit der Standard Tastaturbelegung).
|
||||
|
||||
Starte "weechat-curses" aus Deiner shell.
|
||||
Starte aus Deiner shell:
|
||||
|
||||
----------------------------------------
|
||||
$ weechat-curses
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[help_options]]
|
||||
Online-Hilfe / Optionen
|
||||
-----------------------
|
||||
|
||||
WeeChat enthält Hilfetexte für alle Befehle. Diese Hilfstexte sind über den Befehl `/help` zu
|
||||
erreichen. Um eine Hilfe zu einen bestimmten Befehl zu erhalten kann man einfach `/help Befehl`
|
||||
ausführen.
|
||||
WeeChat bietet für jeden Befehl eine Hilfe an:
|
||||
|
||||
----------------------------------------
|
||||
/help
|
||||
----------------------------------------
|
||||
|
||||
Um sich die Hilfe für einen bestimmten Befehl anzeigen
|
||||
zu lassen:
|
||||
|
||||
----------------------------------------
|
||||
/help Befehl
|
||||
----------------------------------------
|
||||
|
||||
Um Optionen zu setzen benutzt man:
|
||||
|
||||
----------------------------------------
|
||||
/set config.section.option value
|
||||
----------------------------------------
|
||||
|
||||
Um Optionen zu setzen benutzt man `/set config.section.option value`.
|
||||
(dabei ist 'config' der Konfigurationsname ('weechat' für den Kern von weechat,
|
||||
oder der Name einer Erweiterung), 'section' ein Abschnitt dieser Konfiguration und 'option'
|
||||
der Name der betreffenden Option).
|
||||
|
||||
WeeChat benutzt den neu eingestellten Wert umgehend (WeeChat muss also *niemals* neu gestartet
|
||||
WeeChat benutzt einen neu eingestellten Wert umgehend (WeeChat muss also *niemals* neu gestartet
|
||||
werden, nach dem die Konfiguration verändert wurde).
|
||||
|
||||
Du kannst die Option `/set` mit teilweise ausgeschriebenen Namen und dem
|
||||
Platzhalter "*" am Beginn oder Ende verwenden um alle Optionen anzuzeigen die
|
||||
diese Zeichenkette enthalten.
|
||||
Platzhalter "*", am Beginn oder Ende, verwenden um alle Optionen anzuzeigen die
|
||||
dieser Zeichenkette entsprechen.
|
||||
|
||||
Zum Beispiel:
|
||||
|
||||
`/set`::
|
||||
Anzeige aller Optionen (WeeChat und Erweiterungen)
|
||||
Zeit alle Optionen an (WeeChat und Erweiterungen):
|
||||
|
||||
`/set weechat.*`::
|
||||
Anzeige der WeeChat Optionen
|
||||
----------------------------------------
|
||||
/set
|
||||
----------------------------------------
|
||||
|
||||
`/set irc.*`::
|
||||
Anzeige der Optionen des IRC-Erweiterung
|
||||
Zeit alle WeeChat Optionen an:
|
||||
|
||||
Du kannst mit `/help` Hilfe für Optionen auflisten lassen, z.B.:
|
||||
`/help weechat.look.highlight`.
|
||||
----------------------------------------
|
||||
/set weechat.*
|
||||
----------------------------------------
|
||||
|
||||
Zeit alle Optionen der IRC-Erweiterung an:
|
||||
|
||||
----------------------------------------
|
||||
/set irc.*
|
||||
----------------------------------------
|
||||
|
||||
Du kannst dir mit dem Befehl `/help` eine Hilfe für Optionen anzeigen lassen, z.B.:
|
||||
|
||||
----------------------------------------
|
||||
/help weechat.look.highlight
|
||||
----------------------------------------
|
||||
|
||||
Beim Beenden von WeeChat werden alle Einstellungen gespeichert (mittels `/save`
|
||||
kann das Sichern der Optionen erzwungen werden).
|
||||
@@ -60,8 +90,8 @@ verwenden möchte).
|
||||
Kern (Core) vs Erweiterungen
|
||||
----------------------------
|
||||
|
||||
Der Kern (core) von WeeChat ist ausschließlich dazu da Daten auf dem Bildschirm
|
||||
darzustellen um mit dem Benutzer zu interagieren. Dies bedeutet, WeeChat an sich
|
||||
Der Kern (core) von WeeChat ist ausschließlich dazu da, Daten auf dem Bildschirm
|
||||
darzustellen, um mit dem Benutzer zu interagieren. Dies bedeutet, WeeChat an sich
|
||||
-also nur WeeChat core- ohne jegliche Erweiterung ist unbrauchbar.
|
||||
(an die treuen User: IRC war ein Teil des Kerns bei Versionen ≤ 0.2.6)
|
||||
|
||||
@@ -77,116 +107,160 @@ Einen IRC-Server erstellen
|
||||
|
||||
Du kannst einen IRC-Server mit dem Befehl `/server` hinzufügen, z.B.:
|
||||
|
||||
/server add oftc irc.oftc.net/6667
|
||||
----------------------------------------
|
||||
/server add oftc irc.oftc.net/6667
|
||||
----------------------------------------
|
||||
|
||||
Wie bei jedem Befehl kannst Du Dir, falls Du nicht mehr weiter kommst, mit
|
||||
`/help server` einen Hilfstext anzeigen lassen.
|
||||
Falls man nicht mehr weiter weiß, einfach die Hilfe aufrufen:
|
||||
|
||||
----------------------------------------
|
||||
/help server
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[irc_server_options]]
|
||||
Setzen eigener IRC-Server Optionen
|
||||
----------------------------------
|
||||
|
||||
WeeChat verwendet Vorgabewerte für alle Server (so genannte "fall backs") falls
|
||||
WeeChat verwendet Vorgabewerte für alle Server (so genannte "fall backs"), falls
|
||||
Du keine eigenen Werte für entsprechende Server-Optionen bestimmt haben solltest.
|
||||
Diese Vorgabeoptionen sind "irc.server_default.*".
|
||||
Diese Vorgabewerte sind in "irc.server_default.*" beschrieben.
|
||||
|
||||
Für jede Server-Option benutzt WeeChat den entsprechend gesetzten Wert - falls
|
||||
definiert (nicht "null"). Andernfalls verwendet WeeChat Vorgabewerte
|
||||
("irc.server_default.xxx").
|
||||
|
||||
Als Beispiel erwähnt ist die Vorgabe (default) nicks, die auf dem Un*x Login
|
||||
Als Beispiel erwähnt ist die Vorgabe (default) für Nicks, die auf dem Un*x Login
|
||||
basiert. Diese Vorgabe kann nun für den oftc-Server mittels folgendem Befehl
|
||||
überschrieben werden:
|
||||
|
||||
/set irc.server.oftc.nicks "mynick1,mynick2,mynick3,mynick4,mynick5"
|
||||
----------------------------------------
|
||||
/set irc.server.oftc.nicks "mynick,mynick2,mynick3,mynick4,mynick5"
|
||||
----------------------------------------
|
||||
|
||||
Um einen User- und realen Namen zu setzen:
|
||||
|
||||
/set irc.server.oftc.username "Mein User-Name"
|
||||
/set irc.server.oftc.realname "Mein wirklicher Name"
|
||||
----------------------------------------
|
||||
/set irc.server.oftc.username "Mein User-Name"
|
||||
/set irc.server.oftc.realname "Mein wirklicher Name"
|
||||
----------------------------------------
|
||||
|
||||
Um beim Start von WeeChat automatisch eine Verbindung zu einem Server
|
||||
herzustellen:
|
||||
|
||||
/set irc.server.oftc.autoconnect on
|
||||
----------------------------------------
|
||||
/set irc.server.oftc.autoconnect on
|
||||
----------------------------------------
|
||||
|
||||
Um einen Befehl nach der Verbindung zum Server auszuführen, z.B. identifizieren
|
||||
beim nickserv:
|
||||
Sollte der Server SASL unterstützen, kann man sich damit Authentifizieren
|
||||
(dadurch identifiziert man sich beim Server, bevor man Channels (Chaträume) betritt):
|
||||
|
||||
/set irc.server.oftc.command "/msg nickserv identify xxxxxx"
|
||||
----------------------------------------
|
||||
/set irc.server_default.sasl_mechanism dh-blowfish
|
||||
/set irc.server.oftc.sasl_username "mynick"
|
||||
/set irc.server.oftc.sasl_password "xxxxxxx"
|
||||
----------------------------------------
|
||||
|
||||
Hinweis: Mehrere Befehle können mittels ';' (Semikolon) getrennt werden.
|
||||
Unterstützt der Server keine SASL Authentifizierung, muss man sich bei "nickserv"
|
||||
identifizieren:
|
||||
|
||||
----------------------------------------
|
||||
/set irc.server.oftc.command "/msg nickserv identify xxxxxxx"
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
Mehrere Befehle können mittels ';' (Semikolon) getrennt werden.
|
||||
|
||||
Um ein auto-join (automatisches 'betreten') von Channels (Räumen) nach der
|
||||
Verbindung zum Server zu erreichen:
|
||||
|
||||
/set irc.server.oftc.autojoin "#channel1,#channel2"
|
||||
----------------------------------------
|
||||
/set irc.server.oftc.autojoin "#channel1,#channel2"
|
||||
----------------------------------------
|
||||
|
||||
Um einen Wert der Server-Optionen zu entfernen und stattdessen wieder den
|
||||
Vorgabewert (default) zu nutzen, z.B. Nutzung der Vorgabe-Nicks
|
||||
Vorgabewert (default) zu nutzen, z.B. Nutzung der vorgegebenen Nicks
|
||||
(irc.server_default.nicks):
|
||||
|
||||
/set irc.server.oftc.nicks null
|
||||
----------------------------------------
|
||||
/set irc.server.oftc.nicks null
|
||||
----------------------------------------
|
||||
|
||||
Andere Optionen: Du kannst andere Optionen mit folgendem Befehl setzen ("xxx"
|
||||
Andere Optionen: Du kannst andere Optionen mit folgendem Befehl festlegen ("xxx"
|
||||
ist der Optionsname):
|
||||
|
||||
/set irc.server.oftc.xxx value
|
||||
----------------------------------------
|
||||
/set irc.server.oftc.xxx value
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[connect_to_irc_server]]
|
||||
Verbinden mit dem IRC-Server und auto-join der Channel
|
||||
------------------------------------------------------
|
||||
|
||||
/connect oftc
|
||||
----------------------------------------
|
||||
/connect oftc
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
Dieser Befehl kann dazu benutzt werden um einen neuen Server zu erstellen und
|
||||
sich mit ihm zu verbinden ohne den Befehl `/server` zu benutzen (sollte ich
|
||||
sich mit ihm zu verbinden, ohne den Befehl `/server` zu benutzen (sollte ich
|
||||
wiederholen, dass Du die Hilfe zu diesem Befehl mit `/help connect` aufrufen
|
||||
kannst?).
|
||||
|
||||
Standardmäßig werden die Server-Buffer und der Buffer des Kerns von WeeChat -der
|
||||
core-Buffer- zusammengelegt. Um zwischen dem core-Buffer und den Server-Buffern
|
||||
umzuschalten kannst Du ctrl-X benutzen.
|
||||
zu wechseln, kannst Du ctrl-X benutzen.
|
||||
|
||||
Es ist möglich das automatische Zusammenlegen der Server-Buffer zu deaktivieren
|
||||
um eigenständige Buffer zu haben:
|
||||
Es ist möglich das automatische Zusammenlegen der Server-Buffer zu deaktivieren,
|
||||
um eigenständige Server-Buffer zu nutzen:
|
||||
|
||||
/set irc.look.server_buffer independent
|
||||
----------------------------------------
|
||||
/set irc.look.server_buffer independent
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[join_part_irc_channels]]
|
||||
Betreten/verlassen der IRC-Channel
|
||||
----------------------------------
|
||||
|
||||
`/join #channel`::
|
||||
Einen Channel betreten
|
||||
Einen Channel betreten:
|
||||
|
||||
`/part [quit message]`::
|
||||
Einen Channel verlassen (der Buffer bleibt geöffnet)
|
||||
----------------------------------------
|
||||
/join #channel
|
||||
----------------------------------------
|
||||
|
||||
`/close [quit message]`::
|
||||
Schließen eines Server- oder Channel-Buffers (`/close` ist ein Alias für `/buffer close`)
|
||||
Einen Channel verlassen (der Buffer bleibt geöffnet):
|
||||
|
||||
----------------------------------------
|
||||
/part [quit message]
|
||||
----------------------------------------
|
||||
|
||||
Schließen eines Server- oder Channel-Buffers (`/close` ist ein Alias für `/buffer close`):
|
||||
|
||||
----------------------------------------
|
||||
/close
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[buffer_window]]
|
||||
Buffer/Fenster Verwaltung
|
||||
-------------------------
|
||||
|
||||
Ein Buffer ist eine, Erweiterung mit einer Nummer, einer Kategorie und einem
|
||||
Ein Buffer ist eine Erweiterung mit einer Nummer, einer Kategorie und einem
|
||||
Namen, verbundene Komponente. Ein Buffer beinhaltet die auf dem Bildschirm
|
||||
dargestellten Daten.
|
||||
|
||||
Ein Fenster ist die Ansicht eines Buffers. Standard ist ein Fenster, das einen
|
||||
Buffer darstellt. Wenn Du den Bildschirm aufteilst wirst Du mehrere Fenster mit
|
||||
Buffer darstellt. Wenn Du den Bildschirm aufteilst, wirst Du mehrere Fenster mit
|
||||
mehreren Buffer gleichzeitig sehen.
|
||||
|
||||
Befehle, welche Buffer und Fenster verwalten:
|
||||
|
||||
/buffer
|
||||
/window
|
||||
----------------------------------------
|
||||
/buffer
|
||||
/window
|
||||
----------------------------------------
|
||||
|
||||
(Ich muss jetzt nicht wiederholen dass Du zu diesen Befehlen eine Hilfe mit /help
|
||||
zu erhalten ist)
|
||||
@@ -194,7 +268,9 @@ zu erhalten ist)
|
||||
Ein Beispiel: Um Deinen Bildschirm vertikal in ein kleines Fenster (1/3 Höhe)
|
||||
und ein großes Fenster (2/3 Höhe) aufzuteilen, benutze diesen Befehl:
|
||||
|
||||
/window splitv 33
|
||||
----------------------------------------
|
||||
/window splitv 33
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[key_bindings]]
|
||||
@@ -221,15 +297,21 @@ Eine nützliche Tastenkombination um Tastencodes zu ermitteln ist meta-k (alt-k)
|
||||
|
||||
Beispiel: Belegung von meta-y (alt-y) mit dem Befehl `/buffer close`:
|
||||
|
||||
/key bind (drücke meta-k) (drücke meta-y) /buffer close
|
||||
----------------------------------------
|
||||
/key bind (drücke meta-k) (drücke meta-y) /buffer close
|
||||
----------------------------------------
|
||||
|
||||
Du wirst folgende Befehlszeile erhalten:
|
||||
|
||||
/key bind meta-y /buffer close
|
||||
----------------------------------------
|
||||
/key bind meta-y /buffer close
|
||||
----------------------------------------
|
||||
|
||||
Entfernen der Belegung:
|
||||
|
||||
/key unbind meta-y
|
||||
----------------------------------------
|
||||
/key unbind meta-y
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[plugins_scripts]]
|
||||
@@ -239,7 +321,7 @@ Erweiterungen/Skripten
|
||||
Bei einigen Distributionen wie z.B. Debian, sind die Erweiterungen über separate Pakete
|
||||
erhältlich (z.B. weechat-plugins).
|
||||
Erweiterungen werden -sofern welche gefunden worden sind- automatisch geladen (Bitte beachte
|
||||
die Dokumentation zum Laden/Entladen von Erweiterungen oder Skripten).
|
||||
die Dokumentation zum installieren/entfernen von Erweiterungen und/oder Skripten).
|
||||
|
||||
Viele externe Skripten (der Mitarbeitenden) sind für WeeChat verfügbar, siehe:
|
||||
http://www.weechat.org/scripts
|
||||
@@ -252,7 +334,7 @@ weitere Informationen zur Bedienung).
|
||||
Weitere Dokumentation
|
||||
---------------------
|
||||
|
||||
Nun kannst Du WeeChat nutzen, für weitere Fragen lese die FAQ/Dokumentation:
|
||||
Nun kannst Du WeeChat nutzen, für weitere Fragen lese die FAQ und/oder Dokumentation:
|
||||
http://www.weechat.org/doc
|
||||
|
||||
Viel Spass mit WeeChat!
|
||||
|
||||
+127
-30
@@ -56,6 +56,15 @@ Ruby
|
||||
|
||||
* Es muss 'weechat_init' definiert und darin die Funktion 'register' ausgeführt werden
|
||||
* Funktionen werden im Format `Weechat.xxx(arg1, arg2, ...)` ausgeführt
|
||||
* Aufgrund einer Limitierung, seitens Ruby (maximal 15 Argumente pro Funktion), empfängt
|
||||
die Funktion `Weechat.config_new_option` den Callback in einem Array von 6 Strings
|
||||
(3 Callbacks + 3 Data Strings), somit sieht ein Aufruf der Funktion folgendermaßen aus:
|
||||
|
||||
[source,ruby]
|
||||
----------------------------------------
|
||||
Weechat.config_new_option(config, section, "name", "string", "description of option", "", 0, 0,
|
||||
"value", "value", 0, ["check_cb", "", "change_cb", "", "delete_cb", ""])
|
||||
----------------------------------------
|
||||
|
||||
Lua
|
||||
^^^
|
||||
@@ -99,7 +108,8 @@ Argumente:
|
||||
* 'version': Version des Skripts (String)
|
||||
* 'license': Lizenz für das Skripts (String)
|
||||
* 'description': kurze Beschreibung des Skripts (String)
|
||||
* 'shutdown_function': Name der Funktion die beim Beenden des Skripts aufgerufen werden soll (String, optional)
|
||||
* 'shutdown_function': Name der Funktion die beim Beenden des Skripts aufgerufen werden soll
|
||||
(String, kann auch eine leere Zeichenkette sein)
|
||||
* 'charset': Skript Zeichensatz (optional, liegt das Skript im UTF-8 Format vor kann dieser Wert
|
||||
leer bleiben. UTF-8 ist der Standardzeichensatz) (String)
|
||||
|
||||
@@ -162,8 +172,20 @@ weechat::print "" "Hallo, von einem tcl Skript!"
|
||||
Laden von Skripten
|
||||
~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Der Befehl zum Laden von Skripten ist davon abhängig welche Skriptsprache
|
||||
genutzt werden soll:
|
||||
Es wird empfohlen die "script" Erweiterung zum Laden von Skripten zu
|
||||
nutzen, zum Beispiel:
|
||||
|
||||
----------------------------------------
|
||||
/script load script.py
|
||||
/script load script.pl
|
||||
/script load script.rb
|
||||
/script load script.lua
|
||||
/script load script.tcl
|
||||
/script load script.scm
|
||||
----------------------------------------
|
||||
|
||||
Es besteht natürlich weiterhin die Möglichkeit, individuell für jede
|
||||
Skriptsprache, den entsprechenden Befehl zu nutzen:
|
||||
|
||||
----------------------------------------
|
||||
/python load python/skript.py
|
||||
@@ -174,8 +196,8 @@ genutzt werden soll:
|
||||
/guile load guile/skript.scm
|
||||
----------------------------------------
|
||||
|
||||
Um Skripten automatisch beim Start von WeeChat zu laden kann man einen Link
|
||||
in das Verzeichnis 'Skriptsprache/autoload' setzen.
|
||||
Um Skripten automatisch beim Start von WeeChat zu laden sollte man einen Link
|
||||
anlegen, der in das Verzeichnis 'Skriptsprache/autoload' zeigt.
|
||||
|
||||
Ein Beispiel für ein Python-Skript:
|
||||
|
||||
@@ -184,6 +206,10 @@ $ cd ~/.weechat/python/autoload
|
||||
$ ln -s ../script.py
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
Installiert man mittels `/script install` ein Skript, dann wird automatisch
|
||||
ein Link in das entsprechende 'autoload' Verzeichnis erzeugt.
|
||||
|
||||
[[differences_with_c_api]]
|
||||
Unterschiede zur C API
|
||||
----------------------
|
||||
@@ -201,18 +227,22 @@ Falls Ihr Skript 'test.py' eine WeeChat API Funktion aufruft wird der Aufruf
|
||||
wie folgt abgearbeitet:
|
||||
|
||||
........................................
|
||||
(Skript API) (C API)
|
||||
\/ \/
|
||||
test.py -------> python Erweiterung (python.so) -------> WeeChat core
|
||||
┌──────────────────────┐ ╔══════════════════╗
|
||||
│ python Erweiterung │ ║ WeeChat "core" ║
|
||||
├────────────┬─────────┤ ╟─────────┐ ║
|
||||
test.py ─────► │ Skript API │ C API │ ─────► ║ C API │ ║
|
||||
└────────────┴─────────┘ ╚═════════╧════════╝
|
||||
........................................
|
||||
|
||||
Gibt WeeChat einen Rückgabewert an Ihr Skript 'test.py' zurück wird der
|
||||
Aufruf in umgekehrter Reihenfolge abgearbeitet:
|
||||
|
||||
........................................
|
||||
(C API) (Skript API)
|
||||
\/ \/
|
||||
WeeChat core -------> python Erweiterung (python.so) -------> test.py
|
||||
╔══════════════════╗ ┌──────────────────────┐
|
||||
║ WeeChat "core" ║ │ python Erweiterung │
|
||||
║ ┌─────────╢ ├─────────┬────────────┤
|
||||
║ │ C API ║ ─────► │ C API │ Skript API │ ─────► test.py
|
||||
╚════════╧═════════╝ └─────────┴────────────┘
|
||||
........................................
|
||||
|
||||
[[pointers]]
|
||||
@@ -256,16 +286,78 @@ C Callbacks nutzen ein "Data" Argument welches ein Pointer ist. In der
|
||||
Skript API ist "Data" ein String der jeden Wert haben darf (es handelt sich
|
||||
nicht um einen Pointer).
|
||||
|
||||
Beispiel:
|
||||
callback Beispiele, für jede Skriptsprache:
|
||||
|
||||
* python:
|
||||
|
||||
[source,python]
|
||||
----------------------------------------
|
||||
weechat.hook_timer(1000, 0, 1, "mein_timer_cb", "mein data")
|
||||
|
||||
def mein_timer_cb(data, verbleibende_aufrufe):
|
||||
# es wird "mein data" angezeigt
|
||||
weechat.prnt("", data)
|
||||
def timer_cb(data, remaining_calls):
|
||||
weechat.prnt("", "timer! data=%s" % data)
|
||||
return weechat.WEECHAT_RC_OK
|
||||
|
||||
weechat.hook_timer(1000, 0, 1, "timer_cb", "test")
|
||||
----------------------------------------
|
||||
|
||||
* perl:
|
||||
|
||||
[source,perl]
|
||||
----------------------------------------
|
||||
sub timer_cb {
|
||||
my ($data, $remaining_calls) = @_;
|
||||
weechat::print("", "timer! data=$data");
|
||||
return weechat::WEECHAT_RC_OK;
|
||||
}
|
||||
|
||||
weechat::hook_timer(1000, 0, 1, "timer_cb", "test");
|
||||
----------------------------------------
|
||||
|
||||
* ruby:
|
||||
|
||||
[source,ruby]
|
||||
----------------------------------------
|
||||
def timer_cb(data, remaining_calls)
|
||||
Weechat.print("", "timer! data=#{data}");
|
||||
return Weechat::WEECHAT_RC_OK
|
||||
end
|
||||
|
||||
Weechat.hook_timer(1000, 0, 1, "timer_cb", "test");
|
||||
----------------------------------------
|
||||
|
||||
* lua:
|
||||
|
||||
[source,lua]
|
||||
----------------------------------------
|
||||
function timer_cb(data, remaining_calls)
|
||||
weechat.print("", "timer! data="..data)
|
||||
return weechat.WEECHAT_RC_OK
|
||||
end
|
||||
|
||||
weechat.hook_timer(1000, 0, 1, "timer_cb", "test")
|
||||
----------------------------------------
|
||||
|
||||
* tcl:
|
||||
|
||||
[source,tcl]
|
||||
----------------------------------------
|
||||
proc timer_cb { data remaining_calls } {
|
||||
weechat::print {} "timer! data=$data"
|
||||
return $::weechat::WEECHAT_RC_OK
|
||||
}
|
||||
|
||||
weechat::hook_timer 1000 0 1 timer_cb test
|
||||
----------------------------------------
|
||||
|
||||
* guile (scheme):
|
||||
|
||||
[source,lisp]
|
||||
----------------------------------------
|
||||
(define (timer_cb data remaining_calls)
|
||||
(weechat:print "" (string-append "timer! data=" data))
|
||||
weechat:WEECHAT_RC_OK
|
||||
)
|
||||
|
||||
(weechat:hook_timer 1000 0 1 "timer_cb" "test")
|
||||
----------------------------------------
|
||||
|
||||
[[script_api]]
|
||||
@@ -292,7 +384,7 @@ Liste der Skript API Funktionen:
|
||||
charset_set, iconv_to_internal, iconv_from_internal, gettext, ngettext, +
|
||||
string_match, string_has_highlight, string_has_highlight_regex,
|
||||
string_mask_to_regex, string_remove_color, string_is_command_char,
|
||||
string_input_for_buffer
|
||||
string_input_for_buffer, string_eval_expression
|
||||
| Verzeichnisse |
|
||||
mkdir_home, mkdir, mkdir_parents
|
||||
| sortierte Listen |
|
||||
@@ -353,9 +445,10 @@ Liste der Skript API Funktionen:
|
||||
infolist_time, infolist_free
|
||||
| hdata |
|
||||
hdata_get, hdata_get_var_offset, hdata_get_var_type_string,
|
||||
hdata_get_var_array_size, hdata_get_var_array_size_string,
|
||||
hdata_get_var_hdata, hdata_get_list, hdata_check_pointer, hdata_move,
|
||||
hdata_char, hdata_integer, hdata_long, hdata_string, hdata_pointer,
|
||||
hdata_time, hdata_hashtable, hdata_get_string
|
||||
hdata_search, hdata_char, hdata_integer, hdata_long, hdata_string,
|
||||
hdata_pointer, hdata_time, hdata_hashtable, hdata_update, hdata_get_string
|
||||
| Upgrade |
|
||||
upgrade_new, upgrade_write_object, upgrade_read, upgrade_close
|
||||
|========================================
|
||||
@@ -391,7 +484,8 @@ Liste der Konstanten in Skript API:
|
||||
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_CONNECT_TIMEOUT
|
||||
WEECHAT_HOOK_CONNECT_MEMORY_ERROR, WEECHAT_HOOK_CONNECT_TIMEOUT,
|
||||
WEECHAT_HOOK_CONNECT_SOCKET_ERROR
|
||||
| hook Signal |
|
||||
WEECHAT_HOOK_SIGNAL_STRING, WEECHAT_HOOK_SIGNAL_INT, WEECHAT_HOOK_SIGNAL_POINTER
|
||||
|========================================
|
||||
@@ -646,21 +740,24 @@ dabei in der Callback-Variable "out" gesichert (Standardausgabe des Prozesses):
|
||||
|
||||
[source,python]
|
||||
----------------------------------------
|
||||
# Zeigt die Versionen der Linux-Kerne.
|
||||
kernel_txt = ""
|
||||
# Zeigt die aktuelle stabile Version von WeeChat an.
|
||||
weechat_version = ""
|
||||
|
||||
def kernel_process_cb(data, command, rc, out, err):
|
||||
global kernel_txt
|
||||
def weechat_process_cb(data, command, rc, out, err):
|
||||
global weechat_version
|
||||
if out != "":
|
||||
kernel_txt += out
|
||||
weechat_version += out
|
||||
if int(rc) >= 0:
|
||||
weechat.prnt("", kernel_txt)
|
||||
weechat.prnt("", "aktuelle stabile WeeChat-Version: %s" % weechat_version)
|
||||
return weechat.WEECHAT_RC_OK
|
||||
|
||||
weechat.hook_process("url:http://www.kernel.org/kdist/finger_banner",
|
||||
30 * 1000, "kernel_process_cb", "")
|
||||
weechat.hook_process("url:http://weechat.org/info/stable/",
|
||||
30 * 1000, "weechat_process_cb", "")
|
||||
----------------------------------------
|
||||
|
||||
[TIP]
|
||||
Alle Informationen die WeeChat betreffen findet man auf: http://weechat.org/info
|
||||
|
||||
Beispiel eines URL Transfers, mit zusätzliche Optionen: Es wird das neuste
|
||||
WeeChat Entwicklerpaket in die Datei '/tmp/weechat-devel.tar.gz' gesichert:
|
||||
|
||||
@@ -699,7 +796,7 @@ skript_optionen = {
|
||||
"Option2" : "Wert2",
|
||||
"Option3" : "Wert3",
|
||||
}
|
||||
for option, standardwert in skript_optionen.iteritems():
|
||||
for option, standardwert in skript_optionen.items():
|
||||
if not weechat.config_is_set_plugin(option):
|
||||
weechat.config_set_plugin(option, standardwert)
|
||||
----------------------------------------
|
||||
|
||||
@@ -100,7 +100,7 @@ $ make install
|
||||
Falls Du cmake nicht hast, ist es auch möglich die autotools zu nutzen:
|
||||
|
||||
----------------------------------------------------------
|
||||
$ ./autogen.sh # (nur bei geklontem git Repository)
|
||||
$ ./autogen.sh
|
||||
$ ./configure --prefix=$HOME/weechat-git
|
||||
$ make
|
||||
$ make install
|
||||
|
||||
+425
-162
@@ -26,11 +26,11 @@ wesentliche Merkmale:
|
||||
* mehrere Server Verbindungen sind möglich (mittels SSL, IPv6, proxy)
|
||||
* klein, schnell und schlank
|
||||
* den eigenen persönlichen Bedürfnissen anpassbar und durch Erweiterungen und Skripten in der Funktionalität erweiterbar
|
||||
* IRC RFCs konform http://www.ietf.org/rfc/rfc1459.txt[1459],
|
||||
http://www.ietf.org/rfc/rfc2810.txt[2810],
|
||||
http://www.ietf.org/rfc/rfc2811.txt[2811],
|
||||
http://www.ietf.org/rfc/rfc2812.txt[2812] and
|
||||
http://www.ietf.org/rfc/rfc2813.txt[2813]
|
||||
* IRC RFCs konform http://tools.ietf.org/html/rfc1459[1459],
|
||||
http://tools.ietf.org/html/rfc2810[2810],
|
||||
http://tools.ietf.org/html/rfc2811[2811],
|
||||
http://tools.ietf.org/html/rfc2812[2812] and
|
||||
http://tools.ietf.org/html/rfc2813[2813]
|
||||
* Betriebssystemunabhängig (GNU/Linux, *BSD, MacOS X, Windows und weitere)
|
||||
* 100% GPL, freie Software
|
||||
|
||||
@@ -47,7 +47,6 @@ Um WeeChat zu installieren wird folgendes benötigt:
|
||||
* 'root' Privilegien (um WeeChat im Systemverzeichnis zu installieren)
|
||||
* ncurses Bibliothek
|
||||
|
||||
|
||||
[[install]]
|
||||
Installation
|
||||
------------
|
||||
@@ -91,21 +90,18 @@ welche Pakete optional genutzt werden können.
|
||||
| cmake | | *ja* | zum kompilieren (autotools ist möglich. cmake wird aber empfohlen)
|
||||
| libncursesw5-dev ^(2)^ | | *ja* | ncurses Oberfläche
|
||||
| libcurl4-gnutls-dev | | *ja* | URL Transfer
|
||||
// TRANSLATION MISSING
|
||||
| zlib1g-dev | | *ja* | compression of packets in relay plugin (weechat protocol), script plugin
|
||||
// TRANSLATION MISSING
|
||||
| libgcrypt11-dev | | *ja* | SASL Authentifikation am IRC Server mittels DH-BLOWFISH Methode, script plugin
|
||||
// TRANSLATION MISSING
|
||||
| libgnutls-dev | ≥ 2.2.0 | | SSL Verbindung zu einem IRC Server, support of SSL in relay plugin
|
||||
| zlib1g-dev | | *ja* | Kompression für Pakete, die mittels Relay- (WeeChat Protokoll), Script-Erweiterung übertragen werden
|
||||
| libgcrypt11-dev | | *ja* | IRC SASL Authentifikation (DH-BLOWFISH/DH-AES), Skript-Erweiterung
|
||||
| libgnutls-dev | ≥ 2.2.0 | | SSL Verbindung zu einem IRC Server, Unterstützung von SSL in der Relay-Erweiterung
|
||||
| gettext | | | Internationalisierung (Übersetzung der Mitteilungen; Hauptsprache ist englisch)
|
||||
| ca-certificates | | | Zertifikate für SSL Verbindungen
|
||||
| libaspell-dev | | | aspell Erweiterung
|
||||
| python-dev | ≥ 2.5 ^(3)^ | | python Erweiterung
|
||||
| libperl-dev | | | perl Erweiterung
|
||||
| ruby1.8-dev | | | ruby Erweiterung
|
||||
| ruby1.9.1-dev | ≥ 1.8 | | ruby Erweiterung
|
||||
| liblua5.1-0-dev | | | lua Erweiterung
|
||||
| tcl-dev | ≥ 8.5 | | tcl Erweiterung
|
||||
| guile-1.8-dev | | | guile (scheme) Erweiterung
|
||||
| guile-2.0-dev | ≥ 2.0 | | guile (scheme) Erweiterung
|
||||
| asciidoc | ≥ 8.5.0 | | erstellt Dokumentation (HTML Dateien)
|
||||
| source-highlight | | | Syntax Highlight für Quelltext in HTML Dokumentation
|
||||
|========================================
|
||||
@@ -146,9 +142,16 @@ $ make install
|
||||
Kompilieren mit autotools
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
[WARNING]
|
||||
Ausschließlich das Kompilieren mittels cmake wird offiziell unterstützt. Autotools
|
||||
sollte nur verwendet werden, falls man keine Möglichkeit hat, cmake zu nutzen. +
|
||||
Das Erstellen mittels autotools benötigt zusätzliche Pakete und es ist langsamer
|
||||
als cmake.
|
||||
|
||||
* Installation in das Systemverzeichnis (benötigt 'root' Privilegien):
|
||||
|
||||
----------------------------------------
|
||||
$ ./autogen.sh
|
||||
$ ./configure
|
||||
$ make
|
||||
% make install (als root)
|
||||
@@ -157,6 +160,7 @@ $ make
|
||||
* Installation in ein benutzerdefiniertes Verzeichnis:
|
||||
|
||||
----------------------------------------
|
||||
$ ./autogen.sh
|
||||
$ ./configure --prefix=/Pfad/zum/Verzeichnis
|
||||
$ make
|
||||
$ make install
|
||||
@@ -166,21 +170,15 @@ $ make install
|
||||
Git Quellen
|
||||
~~~~~~~~~~~
|
||||
|
||||
Warnung: GIT Quellen sollten nur von erfahrenen Nutzern verwendet werden. Eventuell lassen
|
||||
Warnung: Git Quellen sollten nur von erfahrenen Nutzern verwendet werden. Eventuell lassen
|
||||
sich die Quellen nicht kompilieren oder der Code ist nicht stabil. Sie sind gewarnt!
|
||||
|
||||
Um die GIT Quellen zu beziehen nutzen Sie folgende Befehle:
|
||||
Um die Git Quellen zu beziehen nutzen Sie folgende Befehle:
|
||||
|
||||
----------------------------------------
|
||||
$ git clone git://git.sv.gnu.org/weechat.git
|
||||
----------------------------------------
|
||||
|
||||
Sollten die autotools genutzt werden (und nicht cmake), muss dieses Skript ausgeführt werden:
|
||||
|
||||
----------------------------------------
|
||||
$ ./autogen.sh
|
||||
----------------------------------------
|
||||
|
||||
Folgen Sie bitte der Anleitung zur Erstellung aus Quellpaketen (siehe <<source_package,Quellpakete>>).
|
||||
|
||||
[[report_crashes]]
|
||||
@@ -305,7 +303,6 @@ Sollte WeeChat abgestürzt sein, muss der Befehl `bt full` genutzt werden:
|
||||
(gdb) bt full
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[usage]]
|
||||
Nutzung
|
||||
-------
|
||||
@@ -558,6 +555,224 @@ Beispiele für eine vertikale und horizontale Fensteraufteilung:
|
||||
(Buffer #3)
|
||||
........................................
|
||||
|
||||
[[bars]]
|
||||
Bars
|
||||
~~~~
|
||||
|
||||
Eine 'Bar' ist ein Bereich, der neben dem Chatfenster, jedwede Art von Text enthalten kann.
|
||||
|
||||
Eine Bar kann mittels `weechat.bar.name.option` konfiguriert werden. Dabei steht `name`,
|
||||
für den Namen der Bar und `option` für die Option für diese Bar.
|
||||
|
||||
Aufzählung von Bar-Optionen:
|
||||
|
||||
[width="100%",cols="2m,2,10",options="header"]
|
||||
|========================================
|
||||
| Option | Wert | Beschreibung
|
||||
|
||||
| type | `root`, `window` |
|
||||
Eine Bar, vom Typ `root`, kann nur einmal, außerhalb von Fenstern, auf dem Bildschirm
|
||||
dargestellt werden. Standardmäßig existiert keine `root` Bar. Eine solche Bar, mit Namen
|
||||
'buffers', wird zum Beispiel durch das Skript 'buffers.pl' eingerichtet in welcher alle
|
||||
geöffneten Buffer aufgeführt werden. +
|
||||
Eine Bar, vom Typ `window`, wird in jedem einzelnen Fenster dargestellt, beispielsweise
|
||||
wenn man das Fenster teilt (mit `/window splith` oder `/window splitv`). Die vier
|
||||
standardmäßigen Bars ('title', 'status', 'input', 'nicklist'), sind vom Typ `window`.
|
||||
|
||||
| position | `top`, `bottom`, `left`, `right` |
|
||||
Position der Bar: ober- oder unterhalb des Chatfensters, oder links/rechts davon.
|
||||
|
||||
| priority | integer ≥ 0 |
|
||||
Priorität für die Bar: legt die Reihenfolge fest in der die Bars angeordnet werden sollen,
|
||||
wenn mehrere Bars den selben Typ und Position besitzen. +
|
||||
Die Bars werden vom Rand zur Mitte des Bildschirms gezeichnet. Eine höhere Priorität
|
||||
bewirkt, dass die Bar näher am Rand gezeichnet wird. +
|
||||
Beispiel: Die 'input' Bar hat eine Priorität von 1000 und wird somit vor der 'status' Bars
|
||||
gezeichnet, da diese lediglich eine Priorität von 500 besitzt.
|
||||
|
||||
| size | integer ≥ 0 |
|
||||
Die Größe der Bar: Anzahl der Spalten, falls die Bar links/rechts bzw. Anzahl an Zeilen falls
|
||||
die Bar oben/unten dargestellt wird. Wird eine Größe `0` gewählt, dann wird die Größe der Bar
|
||||
automatisch bestimmt.
|
||||
|
||||
| size_max | integer ≥ 0 |
|
||||
Die maximale Größe der Bar, `0` = keine Limitierung (diese Option wird nur genutzt, falls die
|
||||
Option `size` = `0` ist).
|
||||
|
||||
| color_bg | color |
|
||||
Hintergrundfarbe, für die Bar.
|
||||
|
||||
| color_fg | color |
|
||||
Textfarbe, für die Bar.
|
||||
|
||||
| color_delim | color |
|
||||
Farbe der Trennzeichen, in der Bar.
|
||||
|
||||
| hidden | `on`, `off` |
|
||||
Ist diese Option `on`, wird die Bar versteckt. +
|
||||
Hinweis: anstelle dieser Option sollte vorzugsweise der `/bar` Befehl genutzt werden.
|
||||
Beispiel: `/bar toggle nicklist` (siehe Befehl <<command_weechat_bar,/bar>>).
|
||||
|
||||
| separator | `on`, `off` |
|
||||
Ist diese Option `on`, wird ein Separator (Linie) gezeichnet die eine Bar von anderen
|
||||
Bars oder dem Chatbereich trennt.
|
||||
|
||||
| items | string |
|
||||
Eine Aufzählung von 'items' (siehe <<bar_items,items>> für weitere Informationen).
|
||||
|
||||
| filling_left_right | `horizontal`, `vertical`, `columns_horizontal`, `columns_vertical` |
|
||||
Art, wie der Inhalt der Bar die `links` oder `rechts` gezeichnet wird, dargestellt wird (siehe
|
||||
<<bar_filling,filling>> für weitere Informationen).
|
||||
|
||||
| filling_top_bottom | `horizontal`, `vertical`, `columns_horizontal`, `columns_vertical` |
|
||||
Art, wie der Inhalt der Bar die `oben` oder `unten` gezeichnet wird, dargestellt wird (siehe
|
||||
<<bar_filling,filling>> für weitere Informationen).
|
||||
|
||||
| conditions | string |
|
||||
Bedingungen, wann die Bar angezeigt wird (siehe <<bar_conditions,conditions>> für weitere
|
||||
Informationen).
|
||||
|========================================
|
||||
|
||||
[[bar_items]]
|
||||
Items
|
||||
^^^^^
|
||||
|
||||
Die Option 'items' ist ein String, mit einer Anzahl von Bar-Items. Diese werden
|
||||
durch Komma voneinander getrennt (auf dem Bildschirm wird das Komma durch ein
|
||||
Leerzeichen ersetzt) oder man nutzt ein "+" (Item werden ohne Leerzeichen
|
||||
angezeigt).
|
||||
|
||||
Eine Liste von Bar-Items kann man sich mit dem Befehl `/bar listitems` anzeigen lassen.
|
||||
|
||||
Beispiel einer Bar mit den Items, "[time],buffer_number+:+buffer_plugin+.+buffer_name":
|
||||
|
||||
........................................
|
||||
┌─────────────────────────────────────────────────────────────────────────────────────────┐
|
||||
│[12:55] 3:irc/freenode.#weechat │
|
||||
└─────────────────────────────────────────────────────────────────────────────────────────┘
|
||||
........................................
|
||||
|
||||
[[bar_filling]]
|
||||
Darstellung innerhalb einer Bar
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
Es gibt vier Möglichkeiten Text innerhalb einer Bar darzustellen:
|
||||
|
||||
* `horizontal`: die Items werden horizontal, von links nach rechts, dargestellt.
|
||||
Sollten neue Zeilen dargestellt werden, dann werden diese durch ein Leerzeichen
|
||||
von der vorherigen getrennt.
|
||||
* `vertical`: die Items werden von oben nach unten dargestellt. Neue Zeilen werden
|
||||
neben der vorherigen dargestellt.
|
||||
* `columns_horizontal`: Item werden in Spalten dargestellt, wobei der Text linksbündig
|
||||
ausgerichtet ist. Das erste Item wird in der linken oberen Ecke angezeigt und das
|
||||
zweite Item ist in der selben Zeile, auf der rechten Seite.
|
||||
* `columns_vertical`: Item werden in Spalten dargestellt, wobei der Text linksbündig
|
||||
ausgerichtet ist. Das erste Item wird in der linken oben Ecke angezeigt und das
|
||||
zweite Item wird eine Zeile darunter angezeigt.
|
||||
|
||||
Die Standard-Bars 'title', 'status' und 'input' nutzen eine 'horizontal'
|
||||
Darstellung und die Standard-Bar 'nicklist' nutzt eine 'vertical' Darstellung.
|
||||
|
||||
Einige Beispiele, wie die Bar 'nicklist' dargestellt werden kann:
|
||||
|
||||
........................................
|
||||
┌──────────────────────────────────────────────────┐
|
||||
│Welcome to #test, this is a test channel │
|
||||
│12:54:15 peter | hey! │@carl │
|
||||
│12:55:01 +Max | hello │@jessika│
|
||||
│ │@maddy │
|
||||
│ │%Diego │
|
||||
│ │%Melody │
|
||||
│ │+Max │
|
||||
│ │ celia │
|
||||
│ │ Eva │
|
||||
│ │ freddy │
|
||||
│ │ Harold^│
|
||||
│ │ henry4 │
|
||||
│ │ jimmy17│
|
||||
│ │ jodie ▼│
|
||||
│[12:55] [6] [irc/freenode] 3:#test(+n){24} │
|
||||
└──────────────────────────────────────────────────┘
|
||||
filling_left_right = vertical ▲
|
||||
|
||||
┌──────────────────────────────────────────────────┐
|
||||
│Welcome to #test, this is a test channel │
|
||||
│12:54:15 peter | hey! │@carl lee │
|
||||
│12:55:01 +Max | hello │@jessika louise │
|
||||
│ │@maddy mario │
|
||||
│ │%Diego mark │
|
||||
│ │%Melody peter │
|
||||
│ │+Max Rachel │
|
||||
│ │ celia richard│
|
||||
│ │ Eva sheryl │
|
||||
│ │ freddy Vince │
|
||||
│ │ Harold^ warren │
|
||||
│ │ henry4 zack │
|
||||
│ │ jimmy17 │
|
||||
│ │ jodie │
|
||||
│[12:55] [6] [irc/freenode] 3:#test(+n){24} │
|
||||
└──────────────────────────────────────────────────┘
|
||||
filling_left_right = columns_vertical ▲
|
||||
|
||||
┌───────────────────────────────────────────────────────────────────────┐
|
||||
│@carl %Diego celia Harold^ jodie mario Rachel Vince │
|
||||
│@jessika %Melody Eva henry4 lee mark richard warren │
|
||||
│@maddy +Max freddy jimmy17 louise peter sheryl zack │
|
||||
│───────────────────────────────────────────────────────────────────────│
|
||||
│ │
|
||||
filling_top_bottom = columns_vertical ▲
|
||||
|
||||
┌───────────────────────────────────────────────────────────────────────┐
|
||||
│@carl @jessika @maddy %Diego %Melody +Max celia Eva │
|
||||
│ freddy Harold^ henry4 jimmy17 jodie lee louise mario │
|
||||
│ mark peter Rachel richard sheryl Vince warren zack │
|
||||
│───────────────────────────────────────────────────────────────────────│
|
||||
│ │
|
||||
filling_top_bottom = columns_horizontal ▲
|
||||
........................................
|
||||
|
||||
[[bar_conditions]]
|
||||
Bedingungen
|
||||
^^^^^^^^^^^
|
||||
|
||||
Die Option 'conditions' ist eine Zeichenkette die direkten Einfluss darauf
|
||||
nimmt, ob die Bar in einem Fenster dargestellt wird oder nicht (diese Option
|
||||
kann nur für Bars vom Typ 'window' genutzt werden).
|
||||
|
||||
Folgende Zeichenketten sind möglich:
|
||||
|
||||
* 'active': das Fenster muss das aktive Fenster sein
|
||||
* 'inactive': das Fenster muss das inaktive Fenster sein
|
||||
* 'nicklist': der Buffer der in einem Fenster dargestellt wird, muss eine
|
||||
Nickliste anzeigen.
|
||||
* ein Ausdruck: wird als boolescher Wert ausgewertet (siehe Befehl
|
||||
<<command_weechat_eval,/eval>>)
|
||||
|
||||
Für den Ausdruck sind folgende Variablen verfügbar:
|
||||
|
||||
* `${active}`: wahr, wenn Fenster aktiv ist
|
||||
* `${inactive}`: wahr, wenn Fenster inaktiv ist
|
||||
* `${nicklist}`: wahr, wenn der Buffer im Fenster eine Nicklist anzeigt.
|
||||
|
||||
Folgende Zeiger sind verfügbar:
|
||||
|
||||
* `${window}`: das Fenster in dem der Zustand ausgewertet wird
|
||||
* `${buffer}`: der Buffer eines Fensters in dem der Zustand ausgewertet wird
|
||||
|
||||
Beispiel wie man die Bar-Nicklist in allen Buffer, die eine Nicklist besitzen,
|
||||
darstellt, aber nur wenn das Fenster eine Mindestbreite von > 100 Pixeln aufweist:
|
||||
|
||||
----------------------------------------
|
||||
/set weechat.bar.nicklist.conditions "${nicklist} && ${window.win_width} > 100"
|
||||
----------------------------------------
|
||||
|
||||
Gleiche Bedingungen, aber die Nickliste wird im Buffer '&bitlbee' immer angezeigt
|
||||
(auch wenn das Fenster kleiner als 100 Pixel ist):
|
||||
|
||||
----------------------------------------
|
||||
/set weechat.bar.nicklist.conditions "${nicklist} && (${window.win_width} > 100 || ${buffer.full_name} == irc.bitlbee.&bitlbee)"
|
||||
----------------------------------------
|
||||
|
||||
[[notify_levels]]
|
||||
Benachrichtigungsstufen
|
||||
~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -677,8 +892,7 @@ Tastenbefehle für Buffer / Fenster
|
||||
| @k(C-)@k(l) | Fenster wird neu gezeichnet | /window refresh
|
||||
| @k(C-)@k(s) , @k(C-)@k(u) | setzt für alle Buffer die Markierung für ungelesene Nachrichten | /input set_unread
|
||||
| @k(C-)@k(x) | sind mehrere Buffer zu einem Buffer zusammen gefügt wechselt man diese durch | /input switch_active_buffer
|
||||
// TRANSLATION MISSING
|
||||
| @k(A-)@k(x) | Zoom on merged buffer (@k(A-)@k(x) again: display all merged buffers) | /input zoom_merged_buffer
|
||||
| @k(A-)@k(x) | Zoom eines zusammengefügten Buffers (@k(A-)@k(x) ein zweites mal: alle zusammengefügten Buffer werden angezeigt) | /input zoom_merged_buffer
|
||||
| @k(PgUp) | eine Seite im Verlaufsspeicher des Buffers nach oben blättern | /window page_up
|
||||
| @k(PgDn) | eine Seite im Verlaufsspeicher des Buffer nach unten blättern | /window page_down
|
||||
| @k(A-)@k(PgUp) | einige Zeilen im Verlaufsspeicher des Buffer nach oben blättern | /window scroll_up
|
||||
@@ -779,23 +993,22 @@ Tasten für "mouse"-Kontext
|
||||
|
||||
Diese Tasten werden im Kontext "mouse" verwendet, wenn eine Mausfunktion genutzt worden ist.
|
||||
|
||||
// TRANSLATION MISSING (6)
|
||||
[width="100%",cols="^.^3,^.^3,^.^3,.^10,.^8l",options="header"]
|
||||
|========================================
|
||||
| Maustaste ^(1)^ | Mausgeste | Bereich | Beschreibung | Befehl
|
||||
| ◾◽◽ | - | Chat | wechselt zum Fenster | /window ${_window_number}
|
||||
| ◾◽◽ | links | Chat | zum vorherigen Buffer springen | /window ${_window_number};/buffer +1
|
||||
| ◾◽◽ | rechts | Chat | zum nächsten Buffer springen | /window ${_window_number};/buffer +1
|
||||
| ◾◽◽ | links(lang) | Chat | Switch to first buffer | /window ${_window_number};/buffer 1
|
||||
| ◾◽◽ | links(lang) | Chat | wechselt zum ersten Buffer | /window ${_window_number};/buffer 1
|
||||
| ◾◽◽ | rechts(lang) | Chat | wechselt zum letzten Buffer | /window ${_window_number};/input jump_last_buffer
|
||||
| ◾◽◽ | - | chat (script buffer) | Select line in script buffer | /script go ${_chat_line_y}
|
||||
| ◽◽◾ | - | chat (script buffer) | Install/remove script | /script go ${_chat_line_y};/script installremove -q ${script_name_with_extension}
|
||||
| ⇑ | - | Chat | einige Zeilen im Verlaufsspeicher des Buffer nach oben blättern | /window scroll_up -window ${_window_number}
|
||||
| ⇓ | - | Chat | einige Zeilen im Verlaufsspeicher des Buffer nach unten blättern | /window scroll_down -window ${_window_number}
|
||||
| ⇑ | - | chat (script buffer) | Move 5 lines up in script buffer | /script up 5
|
||||
| ⇓ | - | chat (script buffer) | Move 5 lines down in script buffer | /script down 5
|
||||
| @k(C-)⇑ | - | chat | Scroll horizontally to the left | /window scroll_horiz -window ${_window_number} -10%
|
||||
| @k(C-)⇓ | - | chat | Scroll horizontally to the right | /window scroll_horiz -window ${_window_number} +10%
|
||||
| ◾◽◽ | - | chat (script buffer) | wählt einen Eintrag im Script-Buffer aus | /script go ${_chat_line_y}
|
||||
| ◽◽◾ | - | chat (script buffer) | installiert/entfernt ein Skript | /script go ${_chat_line_y};/script installremove -q ${script_name_with_extension}
|
||||
| ⇑ | - | Chat | mehrere Zeilen im Verlaufsspeicher des Buffer nach oben blättern | /window scroll_up -window ${_window_number}
|
||||
| ⇓ | - | Chat | mehrere Zeilen im Verlaufsspeicher des Buffer nach unten blättern | /window scroll_down -window ${_window_number}
|
||||
| ⇑ | - | chat (script buffer) | fünf Zeilen nach oben blättern, im Script-Buffer | /script up 5
|
||||
| ⇓ | - | chat (script buffer) | fünf Zeilen nach unten blättern, im Script-Buffer | /script down 5
|
||||
| @k(C-)⇑ | - | chat | horizontal, nach links scrollen | /window scroll_horiz -window ${_window_number} -10%
|
||||
| @k(C-)⇓ | - | chat | horizontal, nach rechts scrollen | /window scroll_horiz -window ${_window_number} +10%
|
||||
| ◾◽◽ | hoch | Nickliste | Nickliste um eine Seite nach oben blättern | /bar scroll nicklist ${_window_number} -100%
|
||||
| ◾◽◽ | runter | Nickliste | Nickliste um eine Seite nach unten blättern | /bar scroll nicklist ${_window_number} +100%
|
||||
| ◾◽◽ | hoch(lang) | Nickliste | springt zum Anfang der Nickliste | /bar scroll nicklist ${_window_number} b
|
||||
@@ -811,9 +1024,8 @@ Diese Tasten werden im Kontext "mouse" verwendet, wenn eine Mausfunktion genutzt
|
||||
| ◽◾◽ | - | überall | aktiviert den Cursor-Modus an dieser Position | /cursor go ${_x},${_y}
|
||||
|========================================
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[NOTE]
|
||||
^(1)^ "⇑" and "⇓" are wheel up and down.
|
||||
^(1)^ "⇑" und "⇓" sind Symbole für Mausrad hoch/runter.
|
||||
|
||||
[[mouse]]
|
||||
Mausunterstützung
|
||||
@@ -855,16 +1067,16 @@ einigen Terminals muss die @k(-A-)-Taste anstelle der @k(-S-)-Taste gedrückt we
|
||||
Sollten Probleme bei der Mausunterstützung auftreten, dann sollte Bitte die 'WeeChat FAQ' gelesen werden.
|
||||
|
||||
[[mouse_bind_events]]
|
||||
Einem Maus-Event, Befehle zuweisen
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
Befehle einem Maus-Ereignis zuweisen
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
Es gibt eine Anzahl von Maus-Events die schon standardmäßig durch
|
||||
WeeChat definiert sind (siehe <<key_bindings_mouse_context,Tasten für "mouse"-Kontext>>).
|
||||
Es gibt eine Anzahl von Maus-Ereignissen, die standardmäßig durch WeeChat definiert
|
||||
sind (siehe <<key_bindings_mouse_context,Tasten für "mouse"-Kontext>>).
|
||||
|
||||
Man kann mit dem Befehl `/key` im Kontext "mouse" aber auch eigene Befehle zuweisen
|
||||
und löschen (für die Syntax, siehe <<command_weechat_key,/key Befehl>>).
|
||||
|
||||
Der Name eines Events besteht aus einem Modifier (optional), einer Maustaste/Mausrad
|
||||
Der Name eines Ereignisses besteht aus einem Modifier (optional), einer Maustaste/Mausrad
|
||||
und der Mausgeste (optional). Die unterschiedlichen Elemente werden durch ein "-" getrennt.
|
||||
|
||||
Liste der Modifiers:
|
||||
@@ -894,15 +1106,24 @@ Liste der Mausgesten (nur für Maustasten, nicht für das Mausrad, anwendbar):
|
||||
|
||||
[width="50%",cols="3m,4",options="header"]
|
||||
|========================================
|
||||
| Mausgeste | Distanz
|
||||
| Bewegung hoch | 3 ... 19
|
||||
| Bewegung hoch (lang) | ≥ 20
|
||||
| Bewegung runter | 3 ... 19
|
||||
| Bewegung runter (lang) | ≥ 20
|
||||
| Bewegung links | 3 ... 39
|
||||
| Bewegung links (lang) | ≥ 40
|
||||
| Bewegung rechts | 3 ... 39
|
||||
| Bewegung rechts (lang) | ≥ 40
|
||||
| Mausgeste | Distanz
|
||||
| gesture-up | 3 ... 19
|
||||
| gesture-up-long | ≥ 20
|
||||
| gesture-down | 3 ... 19
|
||||
| gesture-down-long | ≥ 20
|
||||
| gesture-left | 3 ... 39
|
||||
| gesture-left-long | ≥ 40
|
||||
| gesture-right | 3 ... 39
|
||||
| gesture-right-long | ≥ 40
|
||||
|========================================
|
||||
|
||||
Liste von unvollständigen Ereignissen (nur für Mausknopf, nützlich für Erweiterungen/Skripten):
|
||||
|
||||
[width="50%",cols="3m,4",options="header"]
|
||||
|========================================
|
||||
| Ereignis | Beschreibung
|
||||
| event-down | Mausknopf ist gedrückt
|
||||
| event-drag | Maus wurde mit gedrücktem Mausknopf bewegt
|
||||
|========================================
|
||||
|
||||
Bespiele von Ereignissen:
|
||||
@@ -910,6 +1131,8 @@ Bespiele von Ereignissen:
|
||||
* `button1`
|
||||
* `ctrl-button1`
|
||||
* `button1-gesture-right`
|
||||
* `button1-event-down`
|
||||
* `button1-event-drag`
|
||||
* `alt-button2-gesture-down-long`
|
||||
* `wheelup`
|
||||
* `ctrl-alt-wheeldown`
|
||||
@@ -1190,7 +1413,6 @@ WeeChat Befehle
|
||||
|
||||
include::autogen/user/weechat_commands.txt[]
|
||||
|
||||
|
||||
[[plugins]]
|
||||
Erweiterungen
|
||||
-------------
|
||||
@@ -1302,6 +1524,34 @@ Um zum Beispiel die Option "ignore-case" einzuschalten:
|
||||
/set aspell.option.ignore-case "true"
|
||||
----------------------------------------
|
||||
|
||||
[[aspell_suggestions]]
|
||||
Rechtschreibkorrektur
|
||||
^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
Eine Rechtschreibkorrektur wird in der Bar-Item "aspell_suggest" angezeigt.
|
||||
Die Anzahl an Vorschlägen, für die Rechtschreibkorrektur, kann mit der Option
|
||||
'aspell.check.suggestions' bestimmt werden.
|
||||
|
||||
Um die Rechtschreibkorrektur zu aktivieren, muss für die Option 'aspell.check.suggestions'
|
||||
ein Wert ≥ 0 eingestellt werden und das Bar-Item "aspell_suggest" zu einer Bar, zum
|
||||
Beispiel 'status', hinzufügt werden.
|
||||
|
||||
Beispiel der Rechtschreibkorrektur, mit einem deutschen Wörterbuch (`de`):
|
||||
|
||||
........................................
|
||||
│[12:55] [6] [irc/freenode] 3:#test(+n){4} [dies,Diebs,Viehs] │
|
||||
│[@Flashy] diehs █ │
|
||||
└─────────────────────────────────────────────────────────────────────────────────┘
|
||||
........................................
|
||||
|
||||
Beispiel der Rechtschreibkorrektur, mit zwei Wörterbüchern (`en,de`):
|
||||
|
||||
........................................
|
||||
│[12:55] [6] [irc/freenode] 3:#test(+n){4} [print,prone,prune/Prinz] │
|
||||
│[@Flashy] prinr █ │
|
||||
└─────────────────────────────────────────────────────────────────────────────────┘
|
||||
........................................
|
||||
|
||||
[[charset_plugin]]
|
||||
Charset Erweiterung
|
||||
~~~~~~~~~~~~~~~~~~~
|
||||
@@ -1584,14 +1834,16 @@ Für weiterreichende Informationen lesen Sie bitte: http://www.oftc.net/oftc/Nic
|
||||
SASL Authentifizierung
|
||||
^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
WeeChat unterstützt drei mögliche Verfahren bei einer SASL Authentifikation:
|
||||
"plain" (Passwort liegt in Klarschrift vor), "dh-blowfish" (Passwort wird verschlüsselt)
|
||||
oder "external" (SSL Zertifikat welches auf Client Seite vorliegt)
|
||||
WeeChat unterstützt eine SASL Authentifikation, mittels verschiedener Mechanismen:
|
||||
|
||||
* 'plain': Passwort liegt in Klarschrift vor
|
||||
* 'dh-blowfish': Passwort wird mittels blowfish verschlüsselt
|
||||
* 'dh-aes': Passwort wird mittels AES verschlüsselt
|
||||
* 'external': SSL Zertifikat welches auf Client Seite vorliegt
|
||||
|
||||
Optionen für Server sind:
|
||||
|
||||
* 'sasl_mechanism': Mechanismus welcher genutzt werden soll ("plain",
|
||||
"dh-blowfish" oder "external")
|
||||
* 'sasl_mechanism': Mechanismus welcher genutzt werden soll (siehe oben)
|
||||
* 'sasl_timeout': Zeitüberschreitung für Authentifizierung (in Sekunden)
|
||||
* 'sasl_username': Username (Nickname)
|
||||
* 'sasl_password': Passwort
|
||||
@@ -1745,29 +1997,36 @@ mit dem entsprechenden Wert ersetzt:
|
||||
|
||||
[width="100%",cols="^2l,4,8l",options="header"]
|
||||
|========================================
|
||||
| Platzhalter | Beschreibung | Wert/Beispiel
|
||||
| $clientinfo | Liste der CTCP Antworten | ACTION DCC CLIENTINFO FINGER PING SOURCE TIME USERINFO VERSION
|
||||
| $version | WeeChat Version | 0.3.0
|
||||
| $compilation | Datum der Kompilierung | Sep 13 2009
|
||||
| $osinfo | Info über das genutzte OS | Linux 2.6.31 / i686
|
||||
| $site | WeeChat Seite | http://www.weechat.org
|
||||
| $download | WeeChat, download Seite | http://www.weechat.org/download
|
||||
| $time | aktuelle Uhrzeit/Datum | Sun, 13 Sep 2009 15:48:31 +0200
|
||||
| $username | Username beim IRC Server | Nick
|
||||
| $realname | Realname beim IRC Server | mein Name
|
||||
| Platzhalter | Beschreibung | Wert/Beispiel
|
||||
| $clientinfo | Liste der CTCP Antworten | ACTION DCC CLIENTINFO FINGER PING SOURCE TIME USERINFO VERSION
|
||||
| $version | WeeChat Version | 0.4.0-dev
|
||||
| $versiongit | WeeChat Version + Git version | 0.4.0-dev (git: v0.3.9-104-g7eb5cc4)
|
||||
| $git | Git Version | v0.3.9-104-g7eb5cc4
|
||||
| $compilation | Datum der Kompilierung | Dec 16 2012
|
||||
| $osinfo | Info über das genutzte OS | Linux 2.6.32-5-amd64 / x86_64
|
||||
| $site | WeeChat Seite | http://www.weechat.org/
|
||||
| $download | WeeChat, Download Seite | http://www.weechat.org/download
|
||||
| $time | aktuelle Uhrzeit/Datum | Sun, 16 Dec 2012 10:40:48 +0100
|
||||
| $username | Username beim IRC Server | Name
|
||||
| $realname | Realname beim IRC Server | John Doe
|
||||
|========================================
|
||||
|
||||
[NOTE]
|
||||
Die Git Version wird durch die Ausgabe des Befehls `git describe` ermittelt.
|
||||
Dies erfordert, dass WeeChat aus dem Git Repository heraus kompiliert wurde
|
||||
und das Git überhaupt installiert ist.
|
||||
|
||||
Falls CTCP Optionen nicht festgelegt sind, lauten die CTCP Antworten:
|
||||
|
||||
[width="100%",cols="^2,4l,8l",options="header"]
|
||||
|========================================
|
||||
| CTCP | Antwortformat | Beispiel
|
||||
| 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 (mein Name)
|
||||
| VERSION | WeeChat $version ($compilation) | WeeChat 0.3.0 (Sep 13 2009)
|
||||
| CTCP | Antwortformat | Beispiel
|
||||
| CLIENTINFO | $clientinfo | ACTION DCC CLIENTINFO FINGER PING SOURCE TIME USERINFO VERSION
|
||||
| FINGER | WeeChat $versiongit | WeeChat 0.4.0-dev (git: v0.3.9-104-g7eb5cc4)
|
||||
| SOURCE | $download | http://www.weechat.org/download
|
||||
| TIME | $time | Sun, 16 Dec 2012 10:40:48 +0100
|
||||
| USERINFO | $username ($realname) | Name (John Doe)
|
||||
| VERSION | WeeChat $versiongit ($compilation) | WeeChat 0.4.0-dev (git: v0.3.9-104-g7eb5cc4) (Dec 16 2012)
|
||||
|========================================
|
||||
|
||||
[[irc_target_buffer]]
|
||||
@@ -1846,10 +2105,10 @@ Unvollständige Liste der IRC Nachrichten bzw. Alias die angepasst werden könne
|
||||
| 343 | whois | whois (ist opered als)
|
||||
| 344 | reop | channel reop
|
||||
| 345 | reop | channel reop (Ende)
|
||||
| 346 | invitelist | Einladung list
|
||||
| 347 | invitelist | Einladung list (Ende)
|
||||
| 348 | exceptionlist | exception list
|
||||
| 349 | exceptionlist | exception list (end)
|
||||
| 346 | invitelist | Einladung Liste
|
||||
| 347 | invitelist | Einladung Liste (Ende)
|
||||
| 348 | exceptionlist | exception Liste
|
||||
| 349 | exceptionlist | exception Liste (Ende)
|
||||
| 351 | | Server Version
|
||||
| 352 | who | who
|
||||
| 353 | names | Liste von Usern im Channel
|
||||
@@ -1863,6 +2122,8 @@ Unvollständige Liste der IRC Nachrichten bzw. Alias die angepasst werden könne
|
||||
| 433 | | Nickname wird schon verwendet
|
||||
| 438 | | nicht autorisiert um Nicknamen zu ändern
|
||||
| 671 | whois | whois (sichere Verbindung)
|
||||
| 728 | quietlist | quiet Liste
|
||||
| 729 | quietlist | Ende der quiet Liste
|
||||
| 901 | | Sie sind nun eingelogged
|
||||
|========================================
|
||||
|
||||
@@ -2070,49 +2331,22 @@ Befehle
|
||||
|
||||
include::autogen/user/relay_commands.txt[]
|
||||
|
||||
[[relay_irc_proxy]]
|
||||
IRC proxy
|
||||
^^^^^^^^^
|
||||
[[relay_password]]
|
||||
Passwort
|
||||
^^^^^^^^
|
||||
|
||||
Die Relay-Erweiterung verhält sich wie ein IRC Proxy: Es kann ein Port als IRC Server
|
||||
definiert und ein Passwort für Clients genutzt werden.
|
||||
|
||||
Beispiel:
|
||||
|
||||
----------------------------------------
|
||||
/set relay.network.password "mein Passwort"
|
||||
/relay add irc.freenode 8000
|
||||
----------------------------------------
|
||||
|
||||
Nun kann mittels eines IRC Clients (WeeChat, XChat, irssi, ...) am Port 8000 und dem
|
||||
Server-Passwort "mein Passwort" eine Verbindung hergestellt werden.
|
||||
|
||||
Die Anzahl an erlaubten Clients kann limitiert werden:
|
||||
|
||||
----------------------------------------
|
||||
/set relay.network.max_clients 1
|
||||
----------------------------------------
|
||||
|
||||
[[relay_weechat_protocol]]
|
||||
WeeChat Protokoll
|
||||
^^^^^^^^^^^^^^^^^
|
||||
|
||||
Die Relay-Erweiterung kann Daten, mittels dem WeeChat Protokoll, an eine
|
||||
externe Oberfläche senden.
|
||||
|
||||
Zum Beispiel:
|
||||
Es wird nachdrücklich Empfohlen ein Passwort für die Relay-Verbindung zu nutzen:
|
||||
|
||||
----------------------------------------
|
||||
/set relay.network.password "meinPasswort"
|
||||
/relay add weechat 9000
|
||||
----------------------------------------
|
||||
|
||||
Nun kann man über den Port 9000 mittels einer Oberfläche (wie QWeeChat)
|
||||
und dem Passwort "meinPasswort" eine Verbindung zu WeeChat herstellen.
|
||||
Dieses Passwort wird sowohl für das 'irc' als auch für das 'weechat' Protokoll
|
||||
verwendet.
|
||||
|
||||
[[relay_ssl]]
|
||||
Relay-Verbindung mittels SSL
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
SSL
|
||||
^^^
|
||||
|
||||
Man kann SSL mittels eines selbst erstellten Zertifikates und eines privaten
|
||||
Schlüssels nutzen. Um SSL für die Verbindung zu aktivieren stellt man dem
|
||||
@@ -2137,13 +2371,76 @@ Schlüssel mittels folgendem Befehl nachträglich geladen werden:
|
||||
/relay sslcertkey
|
||||
----------------------------------------
|
||||
|
||||
um dann die Relay-Verbindung, mit SSL Verschlüsselung, anzulegen:
|
||||
[[relay_irc_proxy]]
|
||||
IRC Proxy
|
||||
^^^^^^^^^
|
||||
Die Relay Erweiterung kann wie ein IRC Proxy genutzt werden. Dabei simuliert
|
||||
die Erweiterung einen IRC Server und man kann sich mit jedem IRC Client zu WeeChat
|
||||
verbinden.
|
||||
|
||||
Es kann für jeden IRC Server ein Port definiert werden, oder aber ein Port für
|
||||
alle Server.
|
||||
|
||||
Wird ein Port für alle Server genutzt, dann muss der Client den internen Namen
|
||||
des zu nutzenden Servers mit dem IRC Befehl "PASS" anfordern:
|
||||
|
||||
----------------------------------------
|
||||
/relay add ssl.irc.freenode 8001
|
||||
/relay add ssl.weechat 9001
|
||||
PASS server:meinPasswort
|
||||
----------------------------------------
|
||||
|
||||
Beispiel: IRC Proxy mit SSL für einen beliebigen Server (Client wählt aus):
|
||||
|
||||
----------------------------------------
|
||||
/relay add ssl.irc 8000
|
||||
----------------------------------------
|
||||
|
||||
Beispiel: IRC Proxy ohne SSL und nur für "freenode":
|
||||
|
||||
----------------------------------------
|
||||
/relay add irc.freenode 8000
|
||||
----------------------------------------
|
||||
|
||||
Nun kann man eine Verbindung zum Port 8000 mit jedem beliebigen IRC Client
|
||||
herstellen, indem man das Server Passwort "meinPasswort" nutzt (oder
|
||||
"freenode:meinPasswort" sofern kein Server angegeben wurde).
|
||||
|
||||
[[relay_weechat_protocol]]
|
||||
WeeChat Protokoll
|
||||
^^^^^^^^^^^^^^^^^
|
||||
|
||||
Die Relay-Erweiterung kann Daten, mittels dem WeeChat Protokoll, an eine
|
||||
externe Oberfläche senden.
|
||||
|
||||
Zum Beispiel:
|
||||
|
||||
----------------------------------------
|
||||
/relay add weechat 9000
|
||||
----------------------------------------
|
||||
|
||||
Nun kann man über den Port 9000 mittels einer Oberfläche und dem Passwort
|
||||
"meinPasswort" eine Verbindung zu WeeChat herstellen.
|
||||
|
||||
[[relay_websocket]]
|
||||
WebSocket
|
||||
^^^^^^^^^
|
||||
|
||||
Das WebSocket Protokoll (http://tools.ietf.org/html/rfc6455[RFC 6455]) wird nun
|
||||
in der Relay Erweiterung unterstützt.
|
||||
|
||||
Der WebSocket Handshake wird automatisch erkannt und der Socket ist sofort
|
||||
funktionsfähig, sofern die benötigten Header gefunden werden und die Herkunft
|
||||
bestätigt wurde (siehe Option <<option_relay.network.websocket_allowed_origins,relay.network.websocket_allowed_origins>>).
|
||||
|
||||
Ein WebSocket kann in HTML5, mit einer JavaScript Zeile, geöffnet werden:
|
||||
|
||||
[source,js]
|
||||
----------------------------------------
|
||||
websocket = new WebSocket("ws://server.com:9000/weechat");
|
||||
----------------------------------------
|
||||
|
||||
Der Port (im Beispiel: 9000) ist der Port der in der Relay Erweiterung angegeben wurde.
|
||||
Die URI muss immer auf "/weechat" enden ('irc' und 'weechat' Protokoll).
|
||||
|
||||
[[rmodifier_plugin]]
|
||||
Rmodifier Erweiterung
|
||||
~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -2206,26 +2503,25 @@ Lautet die Befehlszeile `/oper nick password` wird diese in der Befehlszeile als
|
||||
`/oper nick ********` dargestellt.
|
||||
|
||||
[[scripts_plugins]]
|
||||
Skripten Erweiterungen
|
||||
~~~~~~~~~~~~~~~~~~~~~~
|
||||
Erweiterungen für Skripten
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
WeeChat unterstützt sechs Skript-Erweiterungen: Python, Perl, Ruby, Lua, Tcl und Guile
|
||||
(scheme).
|
||||
Diese Erweiterungen können für die jeweilige Sprache die Skripten laden, ausführen und
|
||||
entfernen.
|
||||
Mit diesen Erweiterungen kann für die jeweilige Skript-Sprache, Skripten geladen, ausgeführt
|
||||
und entfernt werden.
|
||||
|
||||
// TRANSLATION MISSING
|
||||
Another plugin called "script" is a scripts manager and is used to load/unload
|
||||
scripts of any language, and install/remove scripts of WeeChat scripts
|
||||
repository, which are visible at this URL: http://www.weechat.org/scripts
|
||||
Eine weitere Erweiterung ist "script". Dies ist ein Skripten-Manager mit dem es möglich ist,
|
||||
unabhängig von der Skript-Sprache, Skripten zu laden und zu entfernen. Des weiteren können
|
||||
Skripten, aus dem Skript-Repository, installiert und deinstalliert werden. Das Skript-Repository
|
||||
kann unter folgender URL eingesehen werden: http://www.weechat.org/scripts
|
||||
|
||||
Sollten Sie Interesse daran haben wie man Skripten für WeeChat erstellt dann lesen Sie
|
||||
Sollten wir Ihr Interesse geweckt haben, selber Skripten für WeeChat zu programmieren, dann lesen Sie
|
||||
bitte die 'WeeChat Scripting Guide'.
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[[script_options]]
|
||||
Script options (script.conf)
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
Script Optionen (script.conf)
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
include::autogen/user/script_options.txt[]
|
||||
|
||||
@@ -2293,38 +2589,6 @@ Befehle
|
||||
|
||||
include::autogen/user/xfer_commands.txt[]
|
||||
|
||||
|
||||
[[authors]]
|
||||
Autoren
|
||||
-------
|
||||
|
||||
[[developers]]
|
||||
Entwickler
|
||||
~~~~~~~~~~
|
||||
|
||||
Hauptentwickler::
|
||||
Sébastien Helleu (FlashCode)
|
||||
|
||||
[[contributors]]
|
||||
Liste der Beitragenden
|
||||
~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Paket Ersteller::
|
||||
Emmanuel Bouthenot (kolter), Julien Louis (ptitlouis), Odin
|
||||
|
||||
Übersetzungen::
|
||||
Jiri Golembiovsky (GolemJ), soltys, Nils Görs (nils_2), rettub,
|
||||
Frank Zacharias, Pavel Shevchuk, Elián Hanisch (m4v), Voroskoi,
|
||||
Marco Paolone, Ivan Sichmann Freitas, Lázaro A., Ryuunosuke Ayanokouzi,
|
||||
Quico Noizeux
|
||||
|
||||
Patches::
|
||||
Dmitry Kobylin, Rudolf Polzer, Jim Ramsay, Pistos, Gwenn, Dominik Honnef,
|
||||
JD Horelick, Stefano Pigozzi, Gu1ll4um3r0m41n, Kyle Fuller,
|
||||
Quentin Glidic (SardemFF7), Simon Kuhnle, Mateusz Poszwa, Peter Boström,
|
||||
Arvydas Sidorenko
|
||||
|
||||
|
||||
[[support]]
|
||||
Unterstützung
|
||||
-------------
|
||||
@@ -2338,8 +2602,7 @@ Wie erhalte ich Unterstützung:
|
||||
|
||||
* IRC: Server 'irc.freenode.net', Channels '#weechat' (englisch) und
|
||||
'#weechat-fr' (französisch)
|
||||
* WeeChat Forum: http://forums.flashtux.org/
|
||||
* Mailing Liste:
|
||||
** eintragen: http://mail.nongnu.org/mailman/listinfo/weechat-support
|
||||
** Bestellen: http://mail.nongnu.org/mailman/listinfo/weechat-support
|
||||
** sende email an: weechat-support@nongnu.org
|
||||
** Archiv: http://mail.nongnu.org/archive/html/weechat-support
|
||||
|
||||
+6
-2
@@ -1,6 +1,6 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Copyright (C) 2008-2012 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2008-2013 Sébastien Helleu <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
|
||||
@@ -231,10 +231,14 @@ def get_hdata():
|
||||
if variables_update:
|
||||
variables_update += ' +\n'
|
||||
variables_update += ' %s' % item['text']
|
||||
if weechat.hdata_update(ptr_hdata, '', { '__create_allowed' : '' }):
|
||||
if variables_update:
|
||||
variables_update += ' +\n'
|
||||
variables_update += ' `__create`'
|
||||
if weechat.hdata_update(ptr_hdata, '', { '__delete_allowed' : '' }):
|
||||
if variables_update:
|
||||
variables_update += ' +\n'
|
||||
variables_update += ' \'__delete\''
|
||||
variables_update += ' `__delete`'
|
||||
hdata[plugin][hdata_name]['vars'] = '\n%s' % variables
|
||||
hdata[plugin][hdata_name]['vars_update'] = '\n%s' % variables_update
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2006 Julien Louis <ptitlouis@sysif.net>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
|
||||
@@ -6,7 +6,9 @@
|
||||
|
||||
| alias | alias_value | value of alias
|
||||
|
||||
| aspell | aspell_langs | list of supported langs for aspell
|
||||
| aspell | aspell_dicts | list of aspell installed dictionaries
|
||||
|
||||
| aspell | aspell_langs | list of all languages supported by aspell
|
||||
|
||||
| guile | guile_script | list of scripts
|
||||
|
||||
@@ -104,6 +106,8 @@
|
||||
|
||||
| weechat | keys_contexts | key contexts
|
||||
|
||||
| weechat | layouts_names | names of layouts
|
||||
|
||||
| weechat | nicks | nicks in nicklist of current buffer
|
||||
|
||||
| weechat | palette_colors | palette colors
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
'modes' (string) +
|
||||
'limit' (integer) +
|
||||
'key' (string) +
|
||||
'names_received' (integer) +
|
||||
'join_msg_received' (hashtable) +
|
||||
'checking_away' (integer) +
|
||||
'away_message' (string) +
|
||||
'has_quit_server' (integer) +
|
||||
@@ -42,6 +42,7 @@
|
||||
'nicks_speaking' (pointer) +
|
||||
'nicks_speaking_time' (pointer, hdata: "irc_channel_speaking") +
|
||||
'last_nick_speaking_time' (pointer, hdata: "irc_channel_speaking") +
|
||||
'join_smart_filtered' (hashtable) +
|
||||
'buffer' (pointer, hdata: "buffer") +
|
||||
'buffer_as_string' (string) +
|
||||
'prev_channel' (pointer, hdata: "irc_channel") +
|
||||
@@ -139,10 +140,12 @@
|
||||
'addresses_count' (integer) +
|
||||
'addresses_array' (string, array_size: "addresses_count") +
|
||||
'ports_array' (integer, array_size: "addresses_count") +
|
||||
'retry_array' (integer, array_size: "addresses_count") +
|
||||
'index_current_address' (integer) +
|
||||
'current_address' (string) +
|
||||
'current_ip' (string) +
|
||||
'current_port' (integer) +
|
||||
'current_retry' (integer) +
|
||||
'sock' (integer) +
|
||||
'hook_connect' (pointer, hdata: "hook") +
|
||||
'hook_fd' (pointer, hdata: "hook") +
|
||||
@@ -150,6 +153,7 @@
|
||||
'hook_timer_sasl' (pointer, hdata: "hook") +
|
||||
'is_connected' (integer) +
|
||||
'ssl_connected' (integer) +
|
||||
'disconnected' (integer) +
|
||||
'gnutls_sess' (other) +
|
||||
'tls_cert' (other) +
|
||||
'tls_cert_key' (other) +
|
||||
@@ -182,14 +186,16 @@
|
||||
'cmd_list_regexp' (pointer) +
|
||||
'last_user_message' (time) +
|
||||
'last_away_check' (time) +
|
||||
'last_data_purge' (time) +
|
||||
'outqueue' (pointer) +
|
||||
'last_outqueue' (pointer) +
|
||||
'redirects' (pointer, hdata: "irc_redirect") +
|
||||
'last_redirect' (pointer, hdata: "irc_redirect") +
|
||||
'notify_list' (pointer, hdata: "irc_notify") +
|
||||
'last_notify' (pointer, hdata: "irc_notify") +
|
||||
'manual_joins' (hashtable) +
|
||||
'channel_join_key' (hashtable) +
|
||||
'join_manual' (hashtable) +
|
||||
'join_channel_key' (hashtable) +
|
||||
'join_noswitch' (hashtable) +
|
||||
'buffer' (pointer, hdata: "buffer") +
|
||||
'buffer_as_string' (string) +
|
||||
'channels' (pointer, hdata: "irc_channel") +
|
||||
@@ -321,8 +327,6 @@
|
||||
| weechat | bar | bar |
|
||||
'name' (string) +
|
||||
'options' (pointer) +
|
||||
'conditions_count' (integer) +
|
||||
'conditions_array' (string, array_size: "conditions_count") +
|
||||
'items_count' (integer) +
|
||||
'items_subcount' (pointer) +
|
||||
'items_array' (pointer) +
|
||||
@@ -365,6 +369,7 @@
|
||||
'items_num_lines' (pointer) +
|
||||
'items_refresh_needed' (pointer) +
|
||||
'screen_col_size' (integer) +
|
||||
'screen_lines' (integer) +
|
||||
'coords_count' (integer) +
|
||||
'coords' (pointer) +
|
||||
'gui_objects' (pointer) +
|
||||
@@ -400,6 +405,9 @@
|
||||
'nicklist_root' (pointer, hdata: "nick_group") +
|
||||
'nicklist_max_length' (integer) +
|
||||
'nicklist_display_groups' (integer) +
|
||||
'nicklist_count' (integer) +
|
||||
'nicklist_groups_count' (integer) +
|
||||
'nicklist_nicks_count' (integer) +
|
||||
'nicklist_visible_count' (integer) +
|
||||
'nickcmp_callback' (pointer) +
|
||||
'nickcmp_callback_data' (pointer) +
|
||||
@@ -559,8 +567,10 @@
|
||||
'text' (string) +
|
||||
'next_history' (pointer, hdata: "history") +
|
||||
'prev_history' (pointer, hdata: "history") |
|
||||
|
|
||||
-
|
||||
`__create` +
|
||||
`__delete` |
|
||||
'gui_history' +
|
||||
'last_gui_history'
|
||||
|
||||
| weechat | hotlist | hotlist |
|
||||
'priority' (integer) +
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
|========================================
|
||||
| Plugin | Name | Description | Arguments
|
||||
|
||||
| aspell | aspell_dict | comma-separated list of dictionaries used in buffer | buffer pointer ("0x12345678") or buffer full name ("irc.freenode.#weechat")
|
||||
|
||||
| fifo | fifo_filename | name of FIFO pipe | -
|
||||
|
||||
| irc | irc_buffer | get buffer pointer for an IRC server/channel/nick | server,channel,nick (channel and nicks are optional)
|
||||
@@ -42,6 +44,8 @@
|
||||
|
||||
| weechat | version | WeeChat version | -
|
||||
|
||||
| weechat | version_git | WeeChat git version (output of command "git describe" for a development version only, empty for a stable release) | -
|
||||
|
||||
| weechat | version_number | WeeChat version (as number) | -
|
||||
|
||||
| weechat | weechat_dir | WeeChat directory | -
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|========================================
|
||||
| Plugin | Name | Description | Hashtable (input) | Hashtable (output)
|
||||
|
||||
| irc | irc_message_parse | parse an IRC message | "message": IRC message, "server": server name (optional) | "nick": nick, "host": host, "command": command, "channel": channel, "arguments": arguments (includes channel)
|
||||
| irc | irc_message_parse | parse an IRC message | "message": IRC message, "server": server name (optional) | "tags": tags, "message_without_tags": message without the tags, "nick": nick, "host": host, "command": command, "channel": channel, "arguments": arguments (includes channel)
|
||||
|
||||
| irc | irc_message_split | split an IRC message (to fit in 512 bytes) | "message": IRC message, "server": server name (optional) | "msg1" ... "msgN": messages to send (without final "\r\n"), "args1" ... "argsN": arguments of messages, "count": number of messages
|
||||
|
||||
|
||||
@@ -17,9 +17,8 @@ Note: in command, special variables are replaced:
|
||||
$n-m: arguments from 'n' to 'm'
|
||||
$*: all arguments
|
||||
$~: last argument
|
||||
$nick: current nick
|
||||
$channel: current channel
|
||||
$server: current server
|
||||
$var: where "var" is a local variable of buffer (see /buffer localvar)
|
||||
examples: $nick, $channel, $server, $plugin, $name
|
||||
|
||||
To remove an alias, use command /unalias.
|
||||
|
||||
|
||||
@@ -3,15 +3,15 @@
|
||||
........................................
|
||||
/aspell enable|disable|toggle
|
||||
listdict
|
||||
setdict <lang>
|
||||
setdict <dict>[,<dict>...]
|
||||
deldict
|
||||
addword [<lang>] <word>
|
||||
addword [<dict>] <word>
|
||||
|
||||
enable: enable aspell
|
||||
disable: disable aspell
|
||||
toggle: toggle aspell
|
||||
listdict: show installed dictionaries
|
||||
setdict: set dictionary for current buffer
|
||||
setdict: set dictionary for current buffer (multiple dictionaries can be separated by a comma)
|
||||
deldict: delete dictionary used on current buffer
|
||||
addword: add a word in personal aspell dictionary
|
||||
|
||||
|
||||
@@ -23,6 +23,11 @@
|
||||
** type: boolean
|
||||
** values: on, off (default value: `off`)
|
||||
|
||||
* [[option_aspell.check.suggestions]] *aspell.check.suggestions*
|
||||
** description: `number of suggestions to display in bar item "aspell_suggest" for each dictionary set in buffer (-1 = disable suggestions, 0 = display all possible suggestions in all languages)`
|
||||
** type: integer
|
||||
** values: -1 .. 2147483647 (default value: `-1`)
|
||||
|
||||
* [[option_aspell.check.word_min_length]] *aspell.check.word_min_length*
|
||||
** description: `minimum length for a word to be spell checked (use 0 to check all words)`
|
||||
** type: integer
|
||||
|
||||
@@ -56,7 +56,7 @@ Without argument, this command display ban list for current channel.
|
||||
[command]*`connect`* connect to IRC server(s)::
|
||||
........................................
|
||||
/connect <server> [<server>...] [-<option>[=<value>]] [-no<option>] [-nojoin] [-switch]
|
||||
-all|-open [-nojoin] [-switch]
|
||||
-all|-auto|-open [-nojoin] [-switch]
|
||||
|
||||
server: server name, which can be:
|
||||
- internal server name (created by /server add, recommended usage)
|
||||
@@ -65,6 +65,7 @@ Without argument, this command display ban list for current channel.
|
||||
option: set option for server (for boolean option, value can be omitted)
|
||||
nooption: set boolean option to 'off' (for example: -nossl)
|
||||
-all: connect to all servers defined in configuration
|
||||
-auto: connect to servers with autoconnect enabled
|
||||
-open: connect to all opened servers that are not currently connected
|
||||
-nojoin: do not join any channel (even if autojoin is enabled on server)
|
||||
-switch: switch to next server address
|
||||
@@ -212,16 +213,18 @@ nick: nick
|
||||
[[command_irc_join]]
|
||||
[command]*`join`* join a channel::
|
||||
........................................
|
||||
/join [-server <server>] [<channel1>[,<channel2>...]] [<key1>[,<key2>...]]
|
||||
/join [-noswitch] [-server <server>] [<channel1>[,<channel2>...]] [<key1>[,<key2>...]]
|
||||
|
||||
server: send to this server (internal name)
|
||||
channel: channel name to join
|
||||
key: key to join the channel (channels with a key must be the first in list)
|
||||
-noswitch: do not switch to new buffer
|
||||
server: send to this server (internal name)
|
||||
channel: channel name to join
|
||||
key: key to join the channel (channels with a key must be the first in list)
|
||||
|
||||
Examples:
|
||||
/join #weechat
|
||||
/join #protectedchan,#weechat key
|
||||
/join -server freenode #weechat
|
||||
/join -noswitch #weechat
|
||||
........................................
|
||||
|
||||
[[command_irc_kick]]
|
||||
@@ -465,6 +468,17 @@ server: send to this server (internal name)
|
||||
text: text to send
|
||||
........................................
|
||||
|
||||
[[command_irc_quiet]]
|
||||
[command]*`quiet`* quiet nicks or hosts::
|
||||
........................................
|
||||
/quiet [<channel>] [<nick> [<nick>...]]
|
||||
|
||||
channel: channel for quiet
|
||||
nick: user or host to quiet
|
||||
|
||||
Without argument, this command display quiet list for current channel.
|
||||
........................................
|
||||
|
||||
[[command_irc_quote]]
|
||||
[command]*`quote`* send raw data to server without parsing::
|
||||
........................................
|
||||
@@ -734,10 +748,14 @@ mask: only information which match this mask
|
||||
[[command_irc_whois]]
|
||||
[command]*`whois`* query information about user(s)::
|
||||
........................................
|
||||
/whois [<server>] <nick>[,<nick>...]
|
||||
/whois [<server>] [<nick>[,<nick>...]]
|
||||
|
||||
server: server name
|
||||
nick: nick (may be a mask)
|
||||
|
||||
Without argument, this command will do a whois on:
|
||||
- your own nick if buffer is a server/channel
|
||||
- remote nick if buffer is a private.
|
||||
........................................
|
||||
|
||||
[[command_irc_whowas]]
|
||||
|
||||
@@ -38,21 +38,11 @@
|
||||
** type: string
|
||||
** values: any string (default value: `"1,-1:darkgray"`)
|
||||
|
||||
* [[option_irc.color.nick_prefix]] *irc.color.nick_prefix*
|
||||
** description: `color for nick prefix (prefix is custom string displayed before nick)`
|
||||
** type: color
|
||||
** values: a WeeChat color name (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), a terminal color number or an alias; attributes are allowed before color (for text color only, not background): "*" for bold, "!" for reverse, "_" for underline (default value: `green`)
|
||||
|
||||
* [[option_irc.color.nick_prefixes]] *irc.color.nick_prefixes*
|
||||
** description: `color for nick prefixes using mode char (o=op, h=halfop, v=voice, ..), format is: "o:color1;h:color2;v:color3" (if a mode is not found, WeeChat will try with next modes received from server ("PREFIX"); a special mode "*" can be used as default color if no mode has been found in list)`
|
||||
** type: string
|
||||
** values: any string (default value: `"q:lightred;a:lightcyan;o:lightgreen;h:lightmagenta;v:yellow;*:lightblue"`)
|
||||
|
||||
* [[option_irc.color.nick_suffix]] *irc.color.nick_suffix*
|
||||
** description: `color for nick suffix (suffix is custom string displayed after nick)`
|
||||
** type: color
|
||||
** values: a WeeChat color name (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), a terminal color number or an alias; attributes are allowed before color (for text color only, not background): "*" for bold, "!" for reverse, "_" for underline (default value: `green`)
|
||||
|
||||
* [[option_irc.color.notice]] *irc.color.notice*
|
||||
** description: `color for text "Notice" in notices`
|
||||
** type: color
|
||||
@@ -143,6 +133,11 @@
|
||||
** type: boolean
|
||||
** values: on, off (default value: `on`)
|
||||
|
||||
* [[option_irc.look.display_join_message]] *irc.look.display_join_message*
|
||||
** description: `comma-separated list of messages to display after joining a channel: 329 = channel creation date, 332 = topic, 333 = nick/date for topic, 366 = names on channel`
|
||||
** type: string
|
||||
** values: any string (default value: `"329,332,333,366"`)
|
||||
|
||||
* [[option_irc.look.display_old_topic]] *irc.look.display_old_topic*
|
||||
** description: `display old topic when channel topic is changed`
|
||||
** type: boolean
|
||||
@@ -158,11 +153,6 @@
|
||||
** type: boolean
|
||||
** values: on, off (default value: `on`)
|
||||
|
||||
* [[option_irc.look.hide_nickserv_pwd]] *irc.look.hide_nickserv_pwd*
|
||||
** description: `hide password displayed by nickserv`
|
||||
** type: boolean
|
||||
** values: on, off (default value: `on`)
|
||||
|
||||
* [[option_irc.look.highlight_channel]] *irc.look.highlight_channel*
|
||||
** description: `comma separated list of words to highlight in channel buffers (case insensitive, use "(?-i)" at beginning of words to make them case sensitive; special variables $nick, $channel and $server are replaced by their value), these words are added to buffer local variable "highlight_words" only when buffer is created (it does not affect current buffers), an empty string disables default highlight on nick, examples: "$nick", "(?-i)$nick"`
|
||||
** type: string
|
||||
@@ -224,7 +214,7 @@
|
||||
** values: none, next, near_server (default value: `none`)
|
||||
|
||||
* [[option_irc.look.nick_color_force]] *irc.look.nick_color_force*
|
||||
** description: `force color for some nicks: hash computed with nickname to find color will not be used for these nicks (format is: "nick1:color1;nick2:color2"); lookup for nicks is with exact case then lower case, so it's possible to use only lower case for nicks in this option`
|
||||
** description: `force color for some nicks: hash computed with nickname to find color will not be used for these nicks (format is: "nick1:color1;nick2:color2"); look up for nicks is with exact case then lower case, so it's possible to use only lower case for nicks in this option`
|
||||
** type: string
|
||||
** values: any string (default value: `""`)
|
||||
|
||||
@@ -248,15 +238,10 @@
|
||||
** type: boolean
|
||||
** values: on, off (default value: `off`)
|
||||
|
||||
* [[option_irc.look.nick_prefix]] *irc.look.nick_prefix*
|
||||
** description: `text to display before nick in chat window`
|
||||
* [[option_irc.look.nicks_hide_password]] *irc.look.nicks_hide_password*
|
||||
** description: `comma separated list of nicks for which passwords will be hidden when a message is sent, for example to hide password in message displayed by "/msg nickserv identify password", example: "nickserv,nickbot"`
|
||||
** type: string
|
||||
** values: any string (default value: `""`)
|
||||
|
||||
* [[option_irc.look.nick_suffix]] *irc.look.nick_suffix*
|
||||
** description: `text to display after nick in chat window`
|
||||
** type: string
|
||||
** values: any string (default value: `""`)
|
||||
** values: any string (default value: `"nickserv"`)
|
||||
|
||||
* [[option_irc.look.notice_as_pv]] *irc.look.notice_as_pv*
|
||||
** description: `display notices as private messages (if auto, use private buffer if found)`
|
||||
@@ -278,6 +263,11 @@
|
||||
** type: boolean
|
||||
** values: on, off (default value: `off`)
|
||||
|
||||
* [[option_irc.look.pv_buffer]] *irc.look.pv_buffer*
|
||||
** description: `merge private buffers`
|
||||
** type: integer
|
||||
** values: independent, merge_by_server, merge_all (default value: `independent`)
|
||||
|
||||
* [[option_irc.look.raw_messages]] *irc.look.raw_messages*
|
||||
** description: `number of raw messages to save in memory when raw data buffer is closed (messages will be displayed when opening raw data buffer)`
|
||||
** type: integer
|
||||
@@ -303,8 +293,13 @@
|
||||
** type: boolean
|
||||
** values: on, off (default value: `on`)
|
||||
|
||||
* [[option_irc.look.smart_filter_join_unmask]] *irc.look.smart_filter_join_unmask*
|
||||
** description: `delay for unmasking a join message that was filtered with tag "irc_smart_filter" (in minutes): if a nick has joined max N minutes ago and then says something on channel (message, notice or update on topic), the join is unmasked, as well as nick changes after this join (0 = disable: never unmask a join)`
|
||||
** type: integer
|
||||
** values: 0 .. 10080 (default value: `30`)
|
||||
|
||||
* [[option_irc.look.smart_filter_nick]] *irc.look.smart_filter_nick*
|
||||
** description: `enable smart filter for "nick" messages`
|
||||
** description: `enable smart filter for "nick" messages (nick changes)`
|
||||
** type: boolean
|
||||
** values: on, off (default value: `on`)
|
||||
|
||||
@@ -318,6 +313,11 @@
|
||||
** type: boolean
|
||||
** values: on, off (default value: `off`)
|
||||
|
||||
* [[option_irc.network.alternate_nick]] *irc.network.alternate_nick*
|
||||
** description: `get an alternate nick when the nick is already used on server: add some "_" until the nick has a length of 9, and then replace last char (or the two last chars) by a number from 1 to 99, until we find a nick not used on server`
|
||||
** type: boolean
|
||||
** values: on, off (default value: `on`)
|
||||
|
||||
* [[option_irc.network.autoreconnect_delay_growing]] *irc.network.autoreconnect_delay_growing*
|
||||
** description: `growing factor for autoreconnect delay to server (1 = always same delay, 2 = delay*2 for each retry, ..)`
|
||||
** type: integer
|
||||
@@ -343,16 +343,16 @@
|
||||
** type: integer
|
||||
** values: 0 .. 604800 (default value: `60`)
|
||||
|
||||
* [[option_irc.network.lag_disconnect]] *irc.network.lag_disconnect*
|
||||
** description: `disconnect after important lag (in minutes, 0 = never disconnect)`
|
||||
** type: integer
|
||||
** values: 0 .. 10080 (default value: `0`)
|
||||
|
||||
* [[option_irc.network.lag_min_show]] *irc.network.lag_min_show*
|
||||
** description: `minimum lag to show (in milliseconds)`
|
||||
** type: integer
|
||||
** values: 0 .. 86400000 (default value: `500`)
|
||||
|
||||
* [[option_irc.network.lag_reconnect]] *irc.network.lag_reconnect*
|
||||
** description: `reconnect to server if lag is greater than this value (in seconds, 0 = never reconnect)`
|
||||
** type: integer
|
||||
** values: 0 .. 604800 (default value: `0`)
|
||||
|
||||
* [[option_irc.network.lag_refresh_interval]] *irc.network.lag_refresh_interval*
|
||||
** description: `interval between two refreshs of lag item, when lag is increasing (in seconds)`
|
||||
** type: integer
|
||||
@@ -373,6 +373,11 @@
|
||||
** type: boolean
|
||||
** values: on, off (default value: `off`)
|
||||
|
||||
* [[option_irc.network.whois_double_nick]] *irc.network.whois_double_nick*
|
||||
** description: `double the nick in /whois command (if only one nick is given), to get idle time in answer; for example: "/whois nick" will send "whois nick nick"`
|
||||
** type: boolean
|
||||
** values: on, off (default value: `on`)
|
||||
|
||||
* [[option_irc.server_default.addresses]] *irc.server_default.addresses*
|
||||
** description: `list of hostname/port or IP/port for server (separated by comma)`
|
||||
** type: string
|
||||
@@ -409,7 +414,7 @@
|
||||
** values: 1 .. 65535 (default value: `10`)
|
||||
|
||||
* [[option_irc.server_default.autorejoin]] *irc.server_default.autorejoin*
|
||||
** description: `automatically rejoin channels after kick`
|
||||
** description: `automatically rejoin channels after kick; you can define a buffer local variable on a channel to override this value (name of variable: "autorejoin", value: "on" or "off")`
|
||||
** type: boolean
|
||||
** values: on, off (default value: `off`)
|
||||
|
||||
@@ -429,7 +434,7 @@
|
||||
** values: 0 .. 1000000 (default value: `25`)
|
||||
|
||||
* [[option_irc.server_default.capabilities]] *irc.server_default.capabilities*
|
||||
** description: `comma-separated list of client capabilities to enable for server if they are available (example: "multi-prefix,extended-join")`
|
||||
** description: `comma-separated list of client capabilities to enable for server if they are available; capabilities supported by WeeChat are: multi-prefix, userhost-in-names (example: "multi-prefix,userhost-in-names")`
|
||||
** type: string
|
||||
** values: any string (default value: `""`)
|
||||
|
||||
@@ -459,9 +464,9 @@
|
||||
** values: any string (default value: `"WeeChat %v"`)
|
||||
|
||||
* [[option_irc.server_default.ipv6]] *irc.server_default.ipv6*
|
||||
** description: `use IPv6 protocol for server communication`
|
||||
** description: `use IPv6 protocol for server communication (try IPv6 then fallback to IPv4); if disabled, only IPv4 is used`
|
||||
** type: boolean
|
||||
** values: on, off (default value: `off`)
|
||||
** values: on, off (default value: `on`)
|
||||
|
||||
* [[option_irc.server_default.local_hostname]] *irc.server_default.local_hostname*
|
||||
** description: `custom local hostname/IP for server (optional, if empty local hostname is used)`
|
||||
@@ -494,9 +499,9 @@
|
||||
** values: any string (default value: `""`)
|
||||
|
||||
* [[option_irc.server_default.sasl_mechanism]] *irc.server_default.sasl_mechanism*
|
||||
** description: `mechanism for SASL authentication: "plain" for plain text password, "dh-blowfish" for crypted password, "external" for authentication using client side SSL cert`
|
||||
** description: `mechanism for SASL authentication: "plain" for plain text password, "dh-blowfish" for blowfish crypted password, "dh-aes" for AES crypted password, "external" for authentication using client side SSL cert`
|
||||
** type: integer
|
||||
** values: plain, dh-blowfish, external (default value: `plain`)
|
||||
** values: plain, dh-blowfish, dh-aes, external (default value: `plain`)
|
||||
|
||||
* [[option_irc.server_default.sasl_password]] *irc.server_default.sasl_password*
|
||||
** description: `password for SASL authentication`
|
||||
|
||||
@@ -33,6 +33,16 @@
|
||||
** type: boolean
|
||||
** values: on, off (default value: `on`)
|
||||
|
||||
* [[option_logger.file.nick_prefix]] *logger.file.nick_prefix*
|
||||
** description: `text to write before nick in prefix of message, example: "<"`
|
||||
** type: string
|
||||
** values: any string (default value: `""`)
|
||||
|
||||
* [[option_logger.file.nick_suffix]] *logger.file.nick_suffix*
|
||||
** description: `text to write after nick in prefix of message, example: ">"`
|
||||
** type: string
|
||||
** values: any string (default value: `""`)
|
||||
|
||||
* [[option_logger.file.path]] *logger.file.path*
|
||||
** 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
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
[command]*`relay`* relay control::
|
||||
........................................
|
||||
/relay list|listfull|listrelay
|
||||
add <protocol.name> <port>
|
||||
del <protocol.name>
|
||||
add [ipv4.][ipv6.][ssl.]<protocol.name> <port>
|
||||
del [ipv4.][ipv6.][ssl.]<protocol.name>
|
||||
raw
|
||||
sslcertkey
|
||||
|
||||
@@ -12,10 +12,12 @@
|
||||
listrelay: list relays (name and port)
|
||||
add: add relay for a protocol + name
|
||||
del: remove relay for a protocol + name
|
||||
ipv4: force use of IPv4
|
||||
ipv6: force use of IPv6
|
||||
ssl: enable SSL
|
||||
protocol.name: protocol and name to relay:
|
||||
- protocol "irc": name is the server to share
|
||||
- protocol "irc": name is the server to share (optional, if not given, the server name must be sent by client in command "PASS", with format: "PASS server:password")
|
||||
- protocol "weechat" (name is not used)
|
||||
Note: the protocol can be prefixed by "ssl." to enable SSL
|
||||
port: port used for relay
|
||||
raw: open buffer with raw Relay data
|
||||
sslcertkey: set SSL certificate/key using path in option relay.network.ssl_cert_key
|
||||
@@ -27,9 +29,17 @@ Examples:
|
||||
/relay add irc.freenode 8000
|
||||
irc proxy, for server "freenode", with SSL:
|
||||
/relay add ssl.irc.freenode 8001
|
||||
irc proxy, for all servers (client will choose), with SSL:
|
||||
/relay add ssl.irc 8002
|
||||
weechat protocol:
|
||||
/relay add weechat 9000
|
||||
weechat protocol with SSL:
|
||||
/relay add ssl.weechat 9001
|
||||
weechat protocol with SSL, using only IPv4:
|
||||
/relay add ipv4.ssl.weechat 9001
|
||||
weechat protocol with SSL, using only IPv6:
|
||||
/relay add ipv6.ssl.weechat 9001
|
||||
weechat protocol with SSL, using IPv4 + IPv6:
|
||||
/relay add ipv4.ipv6.ssl.weechat 9001
|
||||
........................................
|
||||
|
||||
|
||||
@@ -43,6 +43,31 @@
|
||||
** type: color
|
||||
** values: a WeeChat color name (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), a terminal color number or an alias; attributes are allowed before color (for text color only, not background): "*" for bold, "!" for reverse, "_" for underline (default value: `white`)
|
||||
|
||||
* [[option_relay.irc.backlog_max_minutes]] *relay.irc.backlog_max_minutes*
|
||||
** description: `maximum number of minutes in backlog per IRC channel (0 = unlimited, examples: 1440 = one day, 10080 = one week, 43200 = one month, 525600 = one year)`
|
||||
** type: integer
|
||||
** values: 0 .. 2147483647 (default value: `1440`)
|
||||
|
||||
* [[option_relay.irc.backlog_max_number]] *relay.irc.backlog_max_number*
|
||||
** description: `maximum number of lines in backlog per IRC channel (0 = unlimited)`
|
||||
** type: integer
|
||||
** values: 0 .. 2147483647 (default value: `256`)
|
||||
|
||||
* [[option_relay.irc.backlog_since_last_disconnect]] *relay.irc.backlog_since_last_disconnect*
|
||||
** description: `display backlog starting from last client disconnect`
|
||||
** type: boolean
|
||||
** values: on, off (default value: `on`)
|
||||
|
||||
* [[option_relay.irc.backlog_tags]] *relay.irc.backlog_tags*
|
||||
** description: `tags of messages which are displayed in backlog per IRC channel (supported tags: "irc_join", "irc_part", "irc_quit", "irc_nick", "irc_privmsg"), "*" = all supported tags`
|
||||
** type: string
|
||||
** values: any string (default value: `"irc_privmsg"`)
|
||||
|
||||
* [[option_relay.irc.backlog_time_format]] *relay.irc.backlog_time_format*
|
||||
** description: `format for time in backlog messages (see man strftime for format) (not used if server capability "server-time" was enabled by client, because time is sent as irc tag); empty string = disable time in backlog messages`
|
||||
** type: string
|
||||
** values: any string (default value: `"[%H:%M] "`)
|
||||
|
||||
* [[option_relay.look.auto_open_buffer]] *relay.look.auto_open_buffer*
|
||||
** description: `auto open relay buffer when a new client is connecting`
|
||||
** type: boolean
|
||||
@@ -54,7 +79,7 @@
|
||||
** values: 0 .. 65535 (default value: `256`)
|
||||
|
||||
* [[option_relay.network.allowed_ips]] *relay.network.allowed_ips*
|
||||
** description: `regular expression with IPs allowed to use relay (case insensitive, use "(?-i)" at beginning to make it case sensitive), example: "^(123.45.67.89|192.160.*)$"`
|
||||
** description: `regular expression with IPs allowed to use relay (case insensitive, use "(?-i)" at beginning to make it case sensitive); if IPv6 is enabled and that connection is made using IPv4, it will be IPv4-mapped IPv6 address (like: "::ffff:127.0.0.1"), example: "^((::ffff:)?123.45.67.89|192.160.*)$"`
|
||||
** type: string
|
||||
** values: any string (default value: `""`)
|
||||
|
||||
@@ -68,6 +93,11 @@
|
||||
** type: integer
|
||||
** values: 0 .. 9 (default value: `6`)
|
||||
|
||||
* [[option_relay.network.ipv6]] *relay.network.ipv6*
|
||||
** description: `listen on IPv6 socket by default (in addition to IPv4 which is default); protocols IPv4 and IPv6 can be forced (individually or together) in the protocol name (see /help relay)`
|
||||
** type: boolean
|
||||
** values: on, off (default value: `on`)
|
||||
|
||||
* [[option_relay.network.max_clients]] *relay.network.max_clients*
|
||||
** description: `maximum number of clients connecting to a port`
|
||||
** type: integer
|
||||
@@ -83,3 +113,8 @@
|
||||
** type: string
|
||||
** values: any string (default value: `"%h/ssl/relay.pem"`)
|
||||
|
||||
* [[option_relay.network.websocket_allowed_origins]] *relay.network.websocket_allowed_origins*
|
||||
** description: `regular expression with origins allowed in websockets (case insensitive, use "(?-i)" at beginning to make it case sensitive), example: "^http://(www\.)?example\.(com|org)"`
|
||||
** type: string
|
||||
** values: any string (default value: `""`)
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ listdefault: list default rmodifiers
|
||||
add: add a rmodifier
|
||||
name: name of rmodifier
|
||||
modifiers: comma separated list of modifiers
|
||||
groups: action on groups found: comma separated list of groups (from 1 to 9) with optional "*" after number to hide group
|
||||
groups: action on groups captured in regular expression (inside parentheses): comma separated list of groups (from 1 to 9) with optional "*" after number to hide the group
|
||||
regex: regular expression (case insensitive, can start by "(?-i)" to become case sensitive)
|
||||
del: delete a rmodifier
|
||||
-all: delete all rmodifiers
|
||||
|
||||
@@ -5,25 +5,29 @@
|
||||
search <text>
|
||||
show <script>
|
||||
load|unload|reload <script> [<script>...]
|
||||
autoload|noautoload|toggleautoload <script> [<script>...]
|
||||
install|remove|installremove|hold [-q] <script> [<script>...]
|
||||
upgrade
|
||||
update
|
||||
|
||||
list: list loaded scripts (all languages)
|
||||
-o: send list of loaded scripts to buffer
|
||||
-i: copy list of loaded scripts in command line (for sending to buffer)
|
||||
search: search scripts by tags or text and display result on scripts buffer
|
||||
show: show detailed info about a script
|
||||
load: load script(s)
|
||||
unload: unload script(s)
|
||||
reload: reload script(s)
|
||||
install: install/upgrade script(s)
|
||||
remove: remove script(s)
|
||||
installremove: install or remove script(s), depending on current state
|
||||
hold: hold/unhold script(s) (a script held will not be upgraded any more and cannot be removed)
|
||||
-q: quiet mode: do not display messages
|
||||
upgrade: upgrade all installed scripts which are obsolete (new version available)
|
||||
update: update local scripts cache
|
||||
list: list loaded scripts (all languages)
|
||||
-o: send list of loaded scripts to buffer
|
||||
-i: copy list of loaded scripts in command line (for sending to buffer)
|
||||
search: search scripts by tags or text and display result on scripts buffer
|
||||
show: show detailed info about a script
|
||||
load: load script(s)
|
||||
unload: unload script(s)
|
||||
reload: reload script(s)
|
||||
autoload: autoload the script
|
||||
noautoload: do not autoload the script
|
||||
toggleautoload: toggle autoload
|
||||
install: install/upgrade script(s)
|
||||
remove: remove script(s)
|
||||
installremove: install or remove script(s), depending on current state
|
||||
hold: hold/unhold script(s) (a script held will not be upgraded any more and cannot be removed)
|
||||
-q: quiet mode: do not display messages
|
||||
upgrade: upgrade all installed scripts which are obsolete (new version available)
|
||||
update: update local scripts cache
|
||||
|
||||
Without argument, this command opens a buffer with list of scripts.
|
||||
|
||||
@@ -43,6 +47,7 @@ Keys on script buffer:
|
||||
alt+l load script
|
||||
alt+L reload script
|
||||
alt+u unload script
|
||||
alt+A autoload script
|
||||
alt+h (un)hold script
|
||||
alt+v view script
|
||||
|
||||
|
||||
@@ -168,6 +168,11 @@
|
||||
** type: boolean
|
||||
** values: on, off (default value: `on`)
|
||||
|
||||
* [[option_script.scripts.autoload]] *script.scripts.autoload*
|
||||
** description: `autoload scripts installed (make a link in "autoload" directory to script in parent directory)`
|
||||
** type: boolean
|
||||
** values: on, off (default value: `on`)
|
||||
|
||||
* [[option_script.scripts.cache_expire]] *script.scripts.cache_expire*
|
||||
** description: `local cache expiration time, in minutes (-1 = never expires, 0 = always expire)`
|
||||
** type: integer
|
||||
|
||||
@@ -11,7 +11,7 @@ message: message for away (if no message is given, away status is removed)
|
||||
[command]*`bar`* manage bars::
|
||||
........................................
|
||||
/bar list|listfull|listitems
|
||||
add <name> <type>[,<cond1>[,<cond2>...]] <position> <size> <separator> <item1>[,<item2>...]
|
||||
add <name> <type>[,<condition>] <position> <size> <separator> <item1>[,<item2>...]
|
||||
default [input|title|status|nicklist]
|
||||
del <name>|-all
|
||||
set <name> <option> <value>
|
||||
@@ -25,11 +25,12 @@ message: message for away (if no message is given, away status is removed)
|
||||
name: name of bar (must be unique)
|
||||
type: root: outside windows,
|
||||
window: inside windows, with optional conditions (see below)
|
||||
cond1,...: condition(s) for displaying bar (only for type "window"):
|
||||
condition: condition(s) for displaying bar (only for type "window"):
|
||||
active: on active window
|
||||
inactive: on inactive windows
|
||||
nicklist: on windows with nicklist
|
||||
without condition, bar is always displayed
|
||||
other condition: see /help weechat.bar.xxx.conditions and /help eval
|
||||
without condition, the bar is always displayed
|
||||
position: bottom, top, left or right
|
||||
size: size of bar (in chars)
|
||||
separator: 1 for using separator (line), 0 or nothing means no separator
|
||||
@@ -189,6 +190,7 @@ Examples:
|
||||
buffer: dump buffer content with hexadecimal values in log file
|
||||
color: display infos about current color pairs
|
||||
cursor: toggle debug for cursor mode
|
||||
dirs: display directories
|
||||
hdata: display infos about hdata (with free: remove all hdata in memory)
|
||||
hooks: display infos about hooks
|
||||
infolists: display infos about infolists
|
||||
@@ -199,6 +201,61 @@ infolists: display infos about infolists
|
||||
windows: display windows tree
|
||||
........................................
|
||||
|
||||
[[command_weechat_eval]]
|
||||
[command]*`eval`* evaluate expression and send result to buffer::
|
||||
........................................
|
||||
/eval [-n] <expression>
|
||||
[-n] <expression1> <operator> <expression2>
|
||||
|
||||
-n: display result without sending it to buffer (debug mode)
|
||||
expression: expression to evaluate, variables with format ${variable} are replaced (see below)
|
||||
operator: a logical or comparison operator:
|
||||
- logical operators:
|
||||
&& boolean "and"
|
||||
|| boolean "or"
|
||||
- comparison operators:
|
||||
== equal
|
||||
!= not equal
|
||||
<= less or equal
|
||||
< less
|
||||
>= greater or equal
|
||||
> greater
|
||||
=~ is matching regex
|
||||
!~ is NOT matching regex
|
||||
|
||||
An expression is considered as "true" if it is not NULL, not empty, and different from "0".
|
||||
The comparison is made using integers if the two expressions are valid integers.
|
||||
To force a string comparison, add double quotes around each expression, for example:
|
||||
50 > 100 ==> 0
|
||||
"50" > "100" ==> 1
|
||||
|
||||
Some variables are replaced in expression, using the format ${variable}, variable can be, by order of priority :
|
||||
1. the name of an option (file.section.option)
|
||||
2. the name of a local variable in buffer
|
||||
3. a hdata name/variable (the value is automatically converted to string), by default "window" and "buffer" point to current window/buffer.
|
||||
Format for hdata can be one of following:
|
||||
hdata.var1.var2...: start with a hdata (pointer must be known), and ask variables one after one (other hdata can be followed)
|
||||
hdata[list].var1.var2...: start with a hdata using a list, for example:
|
||||
${buffer[gui_buffers].full_name}: full name of first buffer in linked list of buffers
|
||||
${plugin[weechat_plugins].name}: name of first plugin in linked list of plugins
|
||||
For name of hdata and variables, please look at "Plugin API reference", function "weechat_hdata_get".
|
||||
|
||||
Examples:
|
||||
/eval -n ${weechat.look.scroll_amount} ==> 3
|
||||
/eval -n ${window} ==> 0x2549aa0
|
||||
/eval -n ${window.buffer} ==> 0x2549320
|
||||
/eval -n ${window.buffer.full_name} ==> core.weechat
|
||||
/eval -n ${window.buffer.number} ==> 1
|
||||
/eval -n ${window.buffer.number} > 2 ==> 0
|
||||
/eval -n ${window.win_width} > 100 ==> 1
|
||||
/eval -n (8 > 12) || (5 > 2) ==> 1
|
||||
/eval -n (8 > 12) && (5 > 2) ==> 0
|
||||
/eval -n abcd =~ ^ABC ==> 1
|
||||
/eval -n abcd =~ (?-i)^ABC ==> 0
|
||||
/eval -n abcd =~ (?-i)^abc ==> 1
|
||||
/eval -n abcd !~ abc ==> 0
|
||||
........................................
|
||||
|
||||
[[command_weechat_filter]]
|
||||
[command]*`filter`* filter messages in buffers, to hide/show them according to tags or regex::
|
||||
........................................
|
||||
@@ -233,7 +290,7 @@ Tags most commonly used:
|
||||
no_filter, no_highlight, no_log, log0..log9 (log level),
|
||||
notify_none, notify_message, notify_private, notify_highlight,
|
||||
nick_xxx (xxx is nick in message), prefix_nick_ccc (ccc is color of nick),
|
||||
irc_xxx (xxx is command name or number, see /server raw),
|
||||
irc_xxx (xxx is command name or number, see /server raw or /debug tags),
|
||||
irc_numeric, irc_error, irc_action, irc_ctcp, irc_ctcp_reply, irc_smart_filter, away_info.
|
||||
To see tags for lines in buffers: /debug tags
|
||||
|
||||
@@ -390,17 +447,23 @@ Examples:
|
||||
[[command_weechat_layout]]
|
||||
[command]*`layout`* save/apply/reset layout for buffers and windows::
|
||||
........................................
|
||||
/layout save [buffers|windows]
|
||||
apply [buffers|windows]
|
||||
reset [buffers|windows]
|
||||
/layout save [<name>] [buffers|windows]
|
||||
apply [<name>] [buffers|windows]
|
||||
leave
|
||||
reset [<name>] [buffers|windows]
|
||||
rename <name> <new_name>
|
||||
|
||||
save: save current layout
|
||||
apply: apply saved layout
|
||||
reset: remove saved layout
|
||||
leave: leave current layout (does not update any layout)
|
||||
reset: reset buffers and/or windows in a saved layout
|
||||
(if both buffers and windows are reset, the layout is removed)
|
||||
rename: rename a layout
|
||||
name: name for saved layout (default is "default")
|
||||
buffers: save/apply only buffers (order of buffers)
|
||||
windows: save/apply only windows (buffer displayed by each window)
|
||||
|
||||
Without argument, this command displays saved layout.
|
||||
Without argument, this command displays saved layouts.
|
||||
........................................
|
||||
|
||||
[[command_weechat_mouse]]
|
||||
@@ -549,15 +612,17 @@ Without argument, all files (WeeChat and plugins) are saved.
|
||||
[command]*`set`* set config options::
|
||||
........................................
|
||||
/set [<option> [<value>]]
|
||||
diff [<option> [<option>...]]
|
||||
|
||||
option: name of an option (can start or end with '*' to list many options)
|
||||
value: new value for option
|
||||
diff: display only changed options
|
||||
|
||||
New value can be, according to variable type:
|
||||
boolean: on, off or toggle
|
||||
integer: number, ++number or --number
|
||||
string : any string ("" for empty string)
|
||||
color : color name, ++number or --number
|
||||
string: any string ("" for empty string)
|
||||
color: color name, ++number or --number
|
||||
|
||||
For all types, you can use null to remove option value (undefined value). This works only for some special plugin variables.
|
||||
|
||||
@@ -566,6 +631,10 @@ Examples:
|
||||
/set *highlight*
|
||||
add a word to highlight:
|
||||
/set weechat.look.highlight "word"
|
||||
display changed options:
|
||||
/set diff
|
||||
display changed options in irc plugin:
|
||||
/set diff irc.*
|
||||
........................................
|
||||
|
||||
[[command_weechat_unset]]
|
||||
@@ -587,9 +656,10 @@ Examples:
|
||||
[[command_weechat_upgrade]]
|
||||
[command]*`upgrade`* upgrade WeeChat without disconnecting from servers::
|
||||
........................................
|
||||
/upgrade [<path_to_binary>]
|
||||
/upgrade [<path_to_binary>|-quit]
|
||||
|
||||
path_to_binary: path to WeeChat binary (default is current binary)
|
||||
-quit: close *ALL* connections, save session and quit WeeChat, which makes possible a delayed restoration (see below)
|
||||
|
||||
This command upgrades and reloads a running WeeChat session. The new WeeChat binary must have been compiled or installed with a package manager before running this command.
|
||||
|
||||
@@ -600,6 +670,16 @@ Upgrade process has 4 steps:
|
||||
2. unload all plugins (configuration files (*.conf) are written on disk)
|
||||
3. save WeeChat configuration (weechat.conf)
|
||||
4. execute new WeeChat binary and reload session.
|
||||
|
||||
With option "-quit", the process is slightly different:
|
||||
1. close *ALL* connections (irc, xfer, relay, ...)
|
||||
2. save session into files (*.upgrade)
|
||||
3. unload all plugins
|
||||
4. save WeeChat configuration
|
||||
5. quit WeeChat
|
||||
Then later you can restore session with command: weechat-curses --upgrade
|
||||
IMPORTANT: you must restore the session with exactly same configuration (files *.conf).
|
||||
It is possible to restore WeeChat session on another machine if you copy the content of directory "~/.weechat"
|
||||
........................................
|
||||
|
||||
[[command_weechat_uptime]]
|
||||
|
||||
@@ -83,11 +83,21 @@
|
||||
** type: color
|
||||
** values: a WeeChat color name (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), a terminal color number or an alias; attributes are allowed before color (for text color only, not background): "*" for bold, "!" for reverse, "_" for underline (default value: `cyan`)
|
||||
|
||||
* [[option_weechat.color.chat_nick_prefix]] *weechat.color.chat_nick_prefix*
|
||||
** description: `color for nick prefix (string displayed before nick in prefix)`
|
||||
** type: color
|
||||
** values: a WeeChat color name (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), a terminal color number or an alias; attributes are allowed before color (for text color only, not background): "*" for bold, "!" for reverse, "_" for underline (default value: `green`)
|
||||
|
||||
* [[option_weechat.color.chat_nick_self]] *weechat.color.chat_nick_self*
|
||||
** description: `text color for local nick in chat window`
|
||||
** type: color
|
||||
** values: a WeeChat color name (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), a terminal color number or an alias; attributes are allowed before color (for text color only, not background): "*" for bold, "!" for reverse, "_" for underline (default value: `white`)
|
||||
|
||||
* [[option_weechat.color.chat_nick_suffix]] *weechat.color.chat_nick_suffix*
|
||||
** description: `color for nick suffix (string displayed after nick in prefix)`
|
||||
** type: color
|
||||
** values: a WeeChat color name (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), a terminal color number or an alias; attributes are allowed before color (for text color only, not background): "*" for bold, "!" for reverse, "_" for underline (default value: `green`)
|
||||
|
||||
* [[option_weechat.color.chat_prefix_action]] *weechat.color.chat_prefix_action*
|
||||
** description: `text color for action prefix`
|
||||
** type: color
|
||||
@@ -204,7 +214,7 @@
|
||||
** values: a WeeChat color name (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), a terminal color number or an alias; attributes are allowed before color (for text color only, not background): "*" for bold, "!" for reverse, "_" for underline (default value: `blue`)
|
||||
|
||||
* [[option_weechat.color.separator]] *weechat.color.separator*
|
||||
** description: `background color for window separators (when split)`
|
||||
** description: `color for window separators (when split) and separators beside bars (like nicklist)`
|
||||
** type: color
|
||||
** values: a WeeChat color name (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), a terminal color number or an alias; attributes are allowed before color (for text color only, not background): "*" for bold, "!" for reverse, "_" for underline (default value: `blue`)
|
||||
|
||||
@@ -284,7 +294,7 @@
|
||||
** values: on, off (default value: `on`)
|
||||
|
||||
* [[option_weechat.completion.default_template]] *weechat.completion.default_template*
|
||||
** description: `default completion template (please see documentation for template codes and values)`
|
||||
** description: `default completion template (please see documentation for template codes and values: plugin API reference, function "weechat_hook_command")`
|
||||
** type: string
|
||||
** values: any string (default value: `"%(nicks)|%(irc_channels)"`)
|
||||
|
||||
@@ -593,6 +603,16 @@
|
||||
** type: integer
|
||||
** values: 1 .. 10000 (default value: `100`)
|
||||
|
||||
* [[option_weechat.look.nick_prefix]] *weechat.look.nick_prefix*
|
||||
** description: `text to display before nick in prefix of message, example: "<"`
|
||||
** type: string
|
||||
** values: any string (default value: `""`)
|
||||
|
||||
* [[option_weechat.look.nick_suffix]] *weechat.look.nick_suffix*
|
||||
** description: `text to display after nick in prefix of message, example: ">"`
|
||||
** type: string
|
||||
** values: any string (default value: `""`)
|
||||
|
||||
* [[option_weechat.look.paste_bracketed]] *weechat.look.paste_bracketed*
|
||||
** description: `enable terminal "bracketed paste mode" (not supported in all terminals/multiplexers): in this mode, pasted text is bracketed with control sequences so that WeeChat can differentiate pasted text from typed-in text ("ESC[200~", followed by the pasted text, followed by "ESC[201~")`
|
||||
** type: boolean
|
||||
@@ -609,7 +629,7 @@
|
||||
** values: -1 .. 2147483647 (default value: `1`)
|
||||
|
||||
* [[option_weechat.look.prefix_action]] *weechat.look.prefix_action*
|
||||
** description: `prefix for action messages`
|
||||
** description: `prefix for action messages, colors are allowed with format "${color}"`
|
||||
** type: string
|
||||
** values: any string (default value: `" *"`)
|
||||
|
||||
@@ -633,6 +653,11 @@
|
||||
** type: string
|
||||
** values: any string (default value: `"+"`)
|
||||
|
||||
* [[option_weechat.look.prefix_align_more_after]] *weechat.look.prefix_align_more_after*
|
||||
** description: `display the truncature char (by default "+") after the text (by replacing the space that should be displayed here); if disabled, the truncature char replaces last char of text`
|
||||
** type: boolean
|
||||
** values: on, off (default value: `on`)
|
||||
|
||||
* [[option_weechat.look.prefix_buffer_align]] *weechat.look.prefix_buffer_align*
|
||||
** description: `prefix alignment for buffer name, when many buffers are merged with same number (none, left, right (default))`
|
||||
** type: integer
|
||||
@@ -648,23 +673,28 @@
|
||||
** type: string
|
||||
** values: any string (default value: `"+"`)
|
||||
|
||||
* [[option_weechat.look.prefix_buffer_align_more_after]] *weechat.look.prefix_buffer_align_more_after*
|
||||
** description: `display the truncature char (by default "+") after the text (by replacing the space that should be displayed here); if disabled, the truncature char replaces last char of text`
|
||||
** type: boolean
|
||||
** values: on, off (default value: `on`)
|
||||
|
||||
* [[option_weechat.look.prefix_error]] *weechat.look.prefix_error*
|
||||
** description: `prefix for error messages`
|
||||
** description: `prefix for error messages, colors are allowed with format "${color}"`
|
||||
** type: string
|
||||
** values: any string (default value: `"=!="`)
|
||||
|
||||
* [[option_weechat.look.prefix_join]] *weechat.look.prefix_join*
|
||||
** description: `prefix for join messages`
|
||||
** description: `prefix for join messages, colors are allowed with format "${color}"`
|
||||
** type: string
|
||||
** values: any string (default value: `"-->"`)
|
||||
|
||||
* [[option_weechat.look.prefix_network]] *weechat.look.prefix_network*
|
||||
** description: `prefix for network messages`
|
||||
** description: `prefix for network messages, colors are allowed with format "${color}"`
|
||||
** type: string
|
||||
** values: any string (default value: `"--"`)
|
||||
|
||||
* [[option_weechat.look.prefix_quit]] *weechat.look.prefix_quit*
|
||||
** description: `prefix for quit messages`
|
||||
** description: `prefix for quit messages, colors are allowed with format "${color}"`
|
||||
** type: string
|
||||
** values: any string (default value: `"<--"`)
|
||||
|
||||
|
||||
@@ -53,6 +53,11 @@
|
||||
** type: boolean
|
||||
** values: on, off (default value: `off`)
|
||||
|
||||
* [[option_xfer.file.auto_accept_nicks]] *xfer.file.auto_accept_nicks*
|
||||
** description: `comma-separated list of nicks for which the incoming files and chats are automatically accepted; format is "server.nick" (for a specific server) or "nick" (for all servers); example: "freenode.FlashCode,andrew"`
|
||||
** type: string
|
||||
** values: any string (default value: `""`)
|
||||
|
||||
* [[option_xfer.file.auto_rename]] *xfer.file.auto_rename*
|
||||
** description: `rename incoming files if already exists (add ".1", ".2", ...)`
|
||||
** type: boolean
|
||||
|
||||
+55
-67
@@ -51,8 +51,7 @@ The main WeeChat directories are:
|
||||
| core/ | Core functions: entry point, internal structures
|
||||
| gui/ | Functions for buffers, windows, ... (used by all interfaces)
|
||||
| curses/ | Curses interface
|
||||
| gtk/ | Gtk interface (not working)
|
||||
| plugins/ | Plugin API
|
||||
| plugins/ | Plugin and scripting API
|
||||
| alias/ | Alias plugin
|
||||
| aspell/ | Aspell plugin
|
||||
| charset/ | Charset plugin
|
||||
@@ -62,6 +61,7 @@ The main WeeChat directories are:
|
||||
| logger/ | Logger plugin (write messages displayed to files)
|
||||
| relay/ | Relay plugin (irc proxy + relay for remote interfaces)
|
||||
| rmodifier/ | Rmodifier plugin (alter modifier strings with regular expressions)
|
||||
| script/ | Scripts manager
|
||||
| python/ | Python scripting API
|
||||
| perl/ | Perl scripting API
|
||||
| ruby/ | Ruby scripting API
|
||||
@@ -98,6 +98,7 @@ WeeChat "core" reside in following directories:
|
||||
| wee-config-file.c | Configuration file management
|
||||
| wee-config.c | Configuration options for WeeChat core (options weechat.*)
|
||||
| wee-debug.c | Some debug functions
|
||||
| wee-eval.c | Evaluate expressions with references to internal vars
|
||||
| wee-hashtable.c | Hashtables
|
||||
| wee-hdata.c | Hdata (direct access to data using hashtables)
|
||||
| wee-hook.c | Hooks
|
||||
@@ -113,6 +114,7 @@ WeeChat "core" reside in following directories:
|
||||
| wee-url.c | URL transfer (using libcurl)
|
||||
| wee-utf8.c | UTF-8 functions
|
||||
| wee-util.c | Some other functions
|
||||
| wee-version.c | Functions for WeeChat version
|
||||
| gui/ | Functions for buffers, windows, ... (used by all interfaces)
|
||||
| gui-bar-item.c | Bar items
|
||||
| gui-bar-window.c | Bar windows
|
||||
@@ -142,15 +144,6 @@ WeeChat "core" reside in following directories:
|
||||
| gui-curses-mouse.c | Mouse
|
||||
| gui-curses-term.c | Functions about terminal
|
||||
| gui-curses-window.c | Windows
|
||||
| gtk/ | Gtk interface (not working)
|
||||
| gui-gtk-bar-window.c | Display in bar windows
|
||||
| gui-gtk-chat.c | Display in chat area (messages)
|
||||
| gui-gtk-color.c | Color functions
|
||||
| gui-gtk-key.c | Keyboard functions
|
||||
| gui-gtk-main.c | WeeChat main loop (waiting for keyboard/network events)
|
||||
| gui-gtk-mouse.c | Mouse
|
||||
| gui-gtk-term.c | Functions about terminal
|
||||
| gui-gtk-window.c | Windows
|
||||
|========================================
|
||||
|
||||
[[sources_plugins]]
|
||||
@@ -171,10 +164,14 @@ Plugins
|
||||
| alias/ | Alias plugin
|
||||
| alias.c | Main alias functions
|
||||
| alias-config.c | Alias config options
|
||||
| alias-info.c | Info and infolists from alias plugin
|
||||
| alias-info.c | Alias info/infolists/hdata
|
||||
| aspell/ | Aspell plugin
|
||||
| weechat-aspell.c | Main aspell functions
|
||||
| weechat-aspell-bar-item.c | Aspell bar items
|
||||
| weechat-aspell-command.c | Aspell commands
|
||||
| weechat-aspell-completion.c | Aspell completions
|
||||
| weechat-aspell-config.c | Aspell config options
|
||||
| weechat-aspell-info.c | Aspell info/infolists/hdata
|
||||
| weechat-aspell-speller.c | Spellers management
|
||||
| charset/ | Charset plugin
|
||||
| charset.c | Charset functions
|
||||
@@ -182,7 +179,7 @@ Plugins
|
||||
| demo.c | Demo functions
|
||||
| fifo/ | Fifo plugin
|
||||
| fifo.c | Main fifo functions
|
||||
| fifo-info.c | Info and infolists from fifo plugin
|
||||
| fifo-info.c | Fifo info/infolists/hdata
|
||||
| guile/ | Guile (scheme) plugin
|
||||
| weechat-guile.c | Main guile functions (load/unload scripts, execute guile code)
|
||||
| weechat-guile-api.c | Guile scripting API functions
|
||||
@@ -197,16 +194,15 @@ Plugins
|
||||
| irc-config.c | IRC config options
|
||||
| irc-ctcp.c | IRC CTCP
|
||||
| irc-debug.c | IRC debug functions
|
||||
| irc-display.c | IRC display functions
|
||||
| irc-ignore.c | IRC Ignore
|
||||
| irc-info.c | Info and infolists from IRC plugin
|
||||
| irc-info.c | IRC info/infolists/hdata
|
||||
| irc-input.c | Input of commands/text
|
||||
| irc-message.c | Functions to manipulate IRC messages
|
||||
| irc-mode.c | Functions about channel/nick modes
|
||||
| irc-msgbuffer.c | Target buffer for IRC messages
|
||||
| irc-nick.c | IRC nicks
|
||||
| irc-notify.c | IRC notify lists
|
||||
| irc-protocol.c | IRC protocol
|
||||
| irc-protocol.c | IRC protocol (RFCs 1459/2810/2811/2812/2813)
|
||||
| irc-raw.c | IRC raw buffer
|
||||
| irc-redirect.c | Redirection of IRC command output
|
||||
| irc-sasl.c | SASL authentication with IRC server
|
||||
@@ -216,7 +212,7 @@ Plugins
|
||||
| logger.c | Main logger functions
|
||||
| logger-buffer.c | Logger buffer list management
|
||||
| logger-config.c | Logger config options
|
||||
| logger-info.c | Info and infolists from logger plugin
|
||||
| logger-info.c | Logger info/infolists/hdata
|
||||
| logger-tail.c | Return last lines of a file
|
||||
| lua/ | Lua plugin
|
||||
| weechat-lua.c | Main lua functions (load/unload scripts, execute lua code)
|
||||
@@ -234,16 +230,18 @@ Plugins
|
||||
| relay-command.c | Relay commands
|
||||
| relay-completion.c | Relay completions
|
||||
| relay-config.c | Relay config options
|
||||
| relay-info.c | Info and infolists from relay plugin
|
||||
| relay-info.c | Relay info/infolists/hdata
|
||||
| relay-network.c | Network functions for relay
|
||||
| relay-raw.c | Relay raw buffer
|
||||
| relay-server.c | Relay server
|
||||
| relay-upgrade.c | Save/restore relay data when upgrading WeeChat
|
||||
| relay-websocket.c | Websocket server functions for relay (RFC 6455)
|
||||
| irc/ | IRC proxy
|
||||
| relay-irc.c | Main IRC proxy functions
|
||||
| weechat/ | Relay for remote interface
|
||||
| relay-weechat.c | Relay for remote interface (main functions)
|
||||
| relay-weechat-msg.c | Send binary messages to clients
|
||||
| relay-weechat-nicklist.c | Nicklist functions
|
||||
| relay-weechat-protocol.c | Read commands from clients
|
||||
| rmodifier/ | Rmodifier plugin
|
||||
| rmodifier.c | Main rmodifier functions
|
||||
@@ -251,10 +249,19 @@ Plugins
|
||||
| rmodifier-completion.c | Rmodifier completions
|
||||
| rmodifier-config.c | Rmodifier config options
|
||||
| rmodifier-debug.c | Rmodifier debug functions
|
||||
| rmodifier-info.c | Info and infolists from rmodifier plugin
|
||||
| rmodifier-info.c | Rmodifier info/infolists/hdata
|
||||
| ruby/ | Ruby plugin
|
||||
| weechat-ruby.c | Main ruby functions (load/unload scripts, execute ruby code)
|
||||
| weechat-ruby-api.c | Ruby scripting API functions
|
||||
| script/ | Scripts manager
|
||||
| script.c | Main functions for scripts manager
|
||||
| script-action.c | Actions on scripts (load/unload, install/remove, hold, ...)
|
||||
| script-buffer.c | Buffer for scripts manager
|
||||
| script-command.c | Commands for scripts manager
|
||||
| script-completion.c | Completions for scripts manager
|
||||
| script-config.c | Config options for scripts manager
|
||||
| script-info.c | Script manager info/infolists/hdata
|
||||
| script-repo.c | Download and read repository file
|
||||
| tcl/ | Tcl plugin
|
||||
| weechat-tcl.c | Main tcl functions (load/unload scripts, execute tcl code)
|
||||
| weechat-tcl-api.c | Tcl scripting API functions
|
||||
@@ -267,7 +274,7 @@ Plugins
|
||||
| xfer-config.c | Xfer config options
|
||||
| xfer-dcc.c | Xfer DCC file
|
||||
| xfer-file.c | File functions for xfer
|
||||
| xfer-info.c | Info and infolists from xfer plugin
|
||||
| xfer-info.c | Xfer info/infolists/hdata
|
||||
| xfer-network.c | Network functions for xfer
|
||||
| xfer-upgrade.c | Save/restore xfer data when upgrading WeeChat
|
||||
|========================================
|
||||
@@ -306,7 +313,7 @@ Translations for WeeChat and plugins are done with gettext, files are in 'po/' d
|
||||
|========================================
|
||||
| Path/file | Description
|
||||
| po/ | Translation files (gettext)
|
||||
| XX.po | Translations for language XX (fr, de, it, ...), base language is english
|
||||
| XX.po | Translations for language XX (fr, de, it, ...), base language is English
|
||||
| weechat.pot | Template for translations (auto-built)
|
||||
|========================================
|
||||
|
||||
@@ -326,7 +333,7 @@ General rules
|
||||
[source,C]
|
||||
----------------------------------------
|
||||
/*
|
||||
* Copyright (C) 2012 Your Name <your@email.com>
|
||||
* Copyright (C) 2013 Your Name <your@email.com>
|
||||
*
|
||||
* This file is part of WeeChat, the extensible chat client.
|
||||
*
|
||||
@@ -358,16 +365,23 @@ Some basic rules you *must* follow when you write C code:
|
||||
* Use 4 spaces for indentation. Don't use tabs, they are evil.
|
||||
* Try to not exceed 80 chars by line, except if this is needed to increase
|
||||
readability.
|
||||
* Use comments `/* comment */` (not C99-style comments like `// comment`), and
|
||||
format them like this:
|
||||
* Use comments `/* comment */` (not C99-style comments like `// comment`).
|
||||
* Add a comment before any function, to explain what does the function (always
|
||||
use a multi-line comment, even if description is very short).
|
||||
|
||||
Example:
|
||||
|
||||
[source,C]
|
||||
----------------------------------------
|
||||
/*
|
||||
* foo: this is the description of the function
|
||||
* Checks if a string with boolean value is valid.
|
||||
*
|
||||
* Returns:
|
||||
* 1: boolean value is valid
|
||||
* 0: boolean value is NOT valid
|
||||
*/
|
||||
|
||||
void
|
||||
int
|
||||
foo ()
|
||||
{
|
||||
int i;
|
||||
@@ -376,8 +390,8 @@ foo ()
|
||||
i = 1;
|
||||
|
||||
/*
|
||||
* multi-line comment: this is a very long
|
||||
* description about next block of code
|
||||
* multi-line comment: this is a very long description about next block
|
||||
* of code
|
||||
*/
|
||||
i = 2;
|
||||
printf ("%d\n", i);
|
||||
@@ -385,7 +399,7 @@ foo ()
|
||||
----------------------------------------
|
||||
|
||||
* Use explicit variable names, for example "nicks_count" instead of "n" or "nc".
|
||||
Exception: in `for` loops, where variables like "i" or "n" are ok.
|
||||
Exception: in `for` loops, where variables like "i" or "n" are OK.
|
||||
* Initialize local variables after declaration, in body of function, example:
|
||||
|
||||
[source,C]
|
||||
@@ -401,7 +415,7 @@ foo ()
|
||||
}
|
||||
----------------------------------------
|
||||
|
||||
* Use parentheses to explicitely show how expression is evaluated, even if
|
||||
* Use parentheses to explicitly show how expression is evaluated, even if
|
||||
they are not required, for example: write `x + (y * z)` instead of `x + y * z`
|
||||
* Place curly brackets `{ }` alone on lines, and indent them with number of
|
||||
spaces used for line above opening curly bracket (the `if` in example):
|
||||
@@ -414,34 +428,13 @@ if (nicks_count == 1)
|
||||
}
|
||||
----------------------------------------
|
||||
|
||||
* Add a comment before any function, to explain what does the function, and
|
||||
indent it like this (note that return type of function is on a line alone):
|
||||
|
||||
[source,C]
|
||||
----------------------------------------
|
||||
/*
|
||||
* foo: this is the description of the function
|
||||
*/
|
||||
|
||||
void
|
||||
foo ()
|
||||
{
|
||||
int i;
|
||||
|
||||
for (i = 0; i < 10; i++)
|
||||
{
|
||||
bar (i);
|
||||
}
|
||||
}
|
||||
----------------------------------------
|
||||
|
||||
* Use empty lines to separate many different blocks inside functions, and if
|
||||
possible add a comment for each one, like this:
|
||||
|
||||
[source,C]
|
||||
----------------------------------------
|
||||
/*
|
||||
* irc_server_outqueue_send: send a message from outqueue
|
||||
* Sends a message from out queue.
|
||||
*/
|
||||
|
||||
void
|
||||
@@ -664,7 +657,9 @@ Example: creation of a new window (from 'src/gui/gui-window.c'):
|
||||
[source,C]
|
||||
----------------------------------------
|
||||
/*
|
||||
* gui_window_new: create a new window
|
||||
* Creates a new window.
|
||||
*
|
||||
* Returns pointer to new window, NULL if error.
|
||||
*/
|
||||
|
||||
struct t_gui_window *
|
||||
@@ -944,7 +939,7 @@ Where 'component' is one of following:
|
||||
|
||||
Some rules to follow:
|
||||
|
||||
* use only english
|
||||
* use only English
|
||||
* use infinitive form of verb
|
||||
* if commit is related to something in tracker (bug, task, patch), write it
|
||||
in parenthesis after the message (format: bug #12345, task #12345, patch #12345)
|
||||
@@ -956,7 +951,7 @@ core: add callback "nickcmp" for nick comparison in buffers
|
||||
irc: fix freeze when reading on socket with SSL enabled (bug #35097)
|
||||
ruby: add detection of ruby version 1.9.3 in cmake
|
||||
python: fix crash when unloading a script without pointer to interpreter
|
||||
core: update japanese translations (patch #7783)
|
||||
core: update Japanese translations (patch #7783)
|
||||
----------------------------------------
|
||||
|
||||
[[translations]]
|
||||
@@ -976,23 +971,16 @@ $ cd po
|
||||
$ msginit -i weechat.pot -l nl_NL -o nl.po
|
||||
----------------------------------------
|
||||
|
||||
Base language for WeeChat is english, so you must of course understand english
|
||||
Base language for WeeChat is English, so you must of course understand English
|
||||
in order to translate to your language.
|
||||
|
||||
When done, you *have* to check your file with two commands:
|
||||
When done, you *have* to check your file with script 'msgcheck.py'
|
||||
(https://github.com/flashcode/msgcheck):
|
||||
|
||||
----------------------------------------
|
||||
$ msgfmt -o /dev/null -c xx.po
|
||||
$ msg_check_lines.py xx.po
|
||||
$ msgcheck.py xx.po
|
||||
----------------------------------------
|
||||
|
||||
The `msgfmt` will perform checks on message catalog and display errors, like bad
|
||||
use of format specifiers in strings.
|
||||
|
||||
The script msg_check_lines.py (http://www.weechat.org/files/temp/po/msg_check_lines.py)
|
||||
will check number of lines in translated strings (which must be the same as
|
||||
string in english).
|
||||
|
||||
[[build_autogen_files]]
|
||||
Build auto-generated files
|
||||
++++++++++++++++++++++++++
|
||||
@@ -1025,7 +1013,7 @@ Asciidoc
|
||||
|
||||
Asciidoc files are in directory 'doc/XX/' where 'XX' is language (en, fr, de, it, ...)
|
||||
|
||||
First make a copy of an english asciidoc file (in directory 'doc/en/'), then work on it.
|
||||
First make a copy of an English asciidoc file (in directory 'doc/en/'), then work on it.
|
||||
|
||||
The translations missing in files are indicated by this string:
|
||||
|
||||
|
||||
+94
-128
@@ -12,7 +12,6 @@ used with latest stable version of WeeChat.
|
||||
General
|
||||
-------
|
||||
|
||||
|
||||
[[weechat_name]]
|
||||
Where does the name "WeeChat" come from?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -23,7 +22,6 @@ So complete name is "Wee Enhanced Environment for Chat".
|
||||
"Wee" also means "very small" (and yes, there is other meaning, but it does not
|
||||
apply to WeeChat!).
|
||||
|
||||
|
||||
[[why_choose_weechat]]
|
||||
Why choose WeeChat? X-Chat and Irssi are so good...
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -54,12 +52,10 @@ Some features (version ≥ 0.3.x):
|
||||
|
||||
More info on this page: http://www.weechat.org/features
|
||||
|
||||
|
||||
[[compilation_install]]
|
||||
Compilation / install
|
||||
---------------------
|
||||
|
||||
|
||||
[[gui]]
|
||||
I heard about many GUI's for WeeChat. How can I compile/use them?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -68,7 +64,6 @@ Today only a Curses GUI is available.
|
||||
|
||||
Other GUI's will be available as remote clients (currently under development).
|
||||
|
||||
|
||||
[[compile_git]]
|
||||
I can't compile WeeChat after cloning git repository, why?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -83,7 +78,6 @@ 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.
|
||||
|
||||
|
||||
[[lost]]
|
||||
I've launched WeeChat, but I'm lost, what can I do?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -94,12 +88,10 @@ Keys and commands are listed in documentation.
|
||||
It's recommended for new users to read the quickstart guide (see the doc page
|
||||
on the website).
|
||||
|
||||
|
||||
[[display]]
|
||||
Display
|
||||
-------
|
||||
|
||||
|
||||
[[charset]]
|
||||
I don't see some chars with accents, what can I do?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -126,7 +118,6 @@ UTF-8 locale is recommended for WeeChat. If you're using ISO or other
|
||||
locale, please check that *all* your settings (terminal, screen, ..) are ISO
|
||||
and *not* UTF-8.
|
||||
|
||||
|
||||
[[bars_background]]
|
||||
Bars like title and status are not filled, background color stops after text, why?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -143,7 +134,6 @@ Depending on where you launch WeeChat, you should have:
|
||||
|
||||
If needed, fix your TERM variable: `export TERM="xxx"`.
|
||||
|
||||
|
||||
[[screen_weird_chars]]
|
||||
When I'm using weechat under screen/tmux, I have weird random chars, how do I fix that?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -152,11 +142,10 @@ This may be caused by bad value of the TERM variable in your shell (look at
|
||||
output of `echo $TERM` in your terminal, *outside screen/tmux*).
|
||||
|
||||
For example, 'xterm-color' may display such weird chars, you can use 'xterm'
|
||||
which is ok (like many other values).
|
||||
which is OK (like many other values).
|
||||
|
||||
If needed, fix your TERM variable: `export TERM="xxx"`.
|
||||
|
||||
|
||||
[[osx_display_broken]]
|
||||
I compiled WeeChat under OS X, and I see "(null)" everywhere on screen, what's wrong?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -167,7 +156,6 @@ system).
|
||||
Moreover, under OS X, it is recommended to install WeeChat with Homebrew package
|
||||
manager.
|
||||
|
||||
|
||||
[[buffer_vs_window]]
|
||||
I heard about "buffers" and "windows", what's the difference?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -181,7 +169,6 @@ 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.
|
||||
|
||||
|
||||
[[buffers_list]]
|
||||
How to display the buffers list on the left side?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -200,7 +187,6 @@ To move bar to bottom:
|
||||
/set weechat.bar.buffers.position bottom
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[customize_prefix]]
|
||||
How can I reduce length of nicks or remove nick alignment in chat area?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -217,7 +203,6 @@ To remove nick alignment:
|
||||
/set weechat.look.prefix_align none
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[input_bar_size]]
|
||||
How to use command line with more than one line?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -238,7 +223,6 @@ Max size of 2:
|
||||
/set weechat.bar.input.size_max 2
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[one_input_root_bar]]
|
||||
Is it possible to display only one input bar for all windows (after split)?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -261,7 +245,6 @@ any bar:
|
||||
/bar del rootinput
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[terminal_copy_paste]]
|
||||
How can I copy/paste text without pasting nicklist?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -275,13 +258,12 @@ Another solution is to move nicklist to top or bottom, for example:
|
||||
/set weechat.bar.nicklist.position top
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[urls]]
|
||||
How can I click on long URLs (more than one line)?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
By default, WeeChat displays time and prefix for each line and optional bars
|
||||
around chat area. To make easier url click, you can move nicklist to top and
|
||||
around chat area. To make easier URL click, you can move nicklist to top and
|
||||
remove alignment on nick:
|
||||
|
||||
----------------------------------------
|
||||
@@ -292,7 +274,7 @@ remove alignment on nick:
|
||||
|
||||
With WeeChat ≥ 0.3.6, you can enable option "eat_newline_glitch", so that
|
||||
new line char is not added at the end of each line displayed (it will not break
|
||||
url selection):
|
||||
URL selection):
|
||||
|
||||
----------------------------------------
|
||||
/set weechat.look.eat_newline_glitch on
|
||||
@@ -302,24 +284,7 @@ url selection):
|
||||
This option may cause display bugs. If you experience such problem, you must
|
||||
turn off this option.
|
||||
|
||||
Other solution is to use one of following scripts:
|
||||
|
||||
urlserver.py::
|
||||
shorten URLs with HTTP server in script
|
||||
|
||||
urlbar.py::
|
||||
display URLs in a bar
|
||||
|
||||
urlgrab.py::
|
||||
logs URLs and open them in browser
|
||||
|
||||
url_shorten.rb::
|
||||
tinyurl.py::
|
||||
shortenurl.py::
|
||||
shorten long URLs
|
||||
|
||||
List of scripts about URLs: http://www.weechat.org/scripts/stable/tag/url
|
||||
|
||||
Other solution is to use a script: http://www.weechat.org/scripts/stable/tag/url
|
||||
|
||||
[[change_locale_without_quit]]
|
||||
I want to change the language used by WeeChat for messages, but without exiting WeeChat, is it possible?
|
||||
@@ -333,11 +298,10 @@ and issue these commands when script is loaded:
|
||||
/upgrade
|
||||
----------------------------------------
|
||||
|
||||
To have english messages with UTF-8 encoding for terminal, for ISO users, you
|
||||
To have English messages with UTF-8 encoding for terminal, for ISO users, you
|
||||
can issue: `/shell setenv LANG=en_US`.
|
||||
|
||||
|
||||
[[256_colors]]
|
||||
[[use_256_colors]]
|
||||
How can I use 256 colors in WeeChat?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
@@ -374,7 +338,6 @@ can add color aliases with command `/color`).
|
||||
|
||||
Please read user's guide for more information about colors management.
|
||||
|
||||
|
||||
[[search_text]]
|
||||
How can I search text in buffer (like /lastlog in irssi)?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -384,12 +347,10 @@ And jump to highlights: @k(A-)@k(p)/@k(n).
|
||||
|
||||
See user's guide for more info about this feature (default key bindings).
|
||||
|
||||
|
||||
[[key_bindings]]
|
||||
Key bindings
|
||||
------------
|
||||
|
||||
|
||||
[[meta_keys]]
|
||||
Some meta keys (alt + key) are not working, why?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -408,7 +369,6 @@ UXTerm*metaSendsEscape: true
|
||||
|
||||
And then reload resources (`xrdb -override ~/.Xresources`) or restart X.
|
||||
|
||||
|
||||
[[customize_key_bindings]]
|
||||
How can I customize key bindings?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -417,7 +377,6 @@ Key bindings are customizable with `/key` command.
|
||||
|
||||
Default key @k(A-)@k(k) lets you grab key code and insert it in command line.
|
||||
|
||||
|
||||
[[jump_to_buffer_11_or_higher]]
|
||||
What is the key to jump to buffer 11 (or higher number)?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -433,7 +392,6 @@ You can bind a key, for example:
|
||||
|
||||
List of default keys is in User's guide.
|
||||
|
||||
|
||||
[[global_history]]
|
||||
How to use global history (instead of buffer history) with up and down keys?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -452,12 +410,10 @@ Example:
|
||||
Keys "meta2-A" and "meta2-B" may be different in your terminal. To find key
|
||||
code press @k(A-)@k(k) then key (up or down).
|
||||
|
||||
|
||||
[[mouse]]
|
||||
Mouse
|
||||
-----
|
||||
|
||||
|
||||
[[mouse_not_working]]
|
||||
Mouse is not working at all, what can I do?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -488,7 +444,6 @@ To disable mouse in terminal:
|
||||
$ printf '\033[?1002l'
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[mouse_coords]]
|
||||
Mouse does nothing for X or Y greater than 94, why?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -499,7 +454,6 @@ work for X/Y greater than 94.
|
||||
You should use a terminal that supports UTF-8 coordinates for mouse, like
|
||||
rxvt-unicode.
|
||||
|
||||
|
||||
[[mouse_select_paste]]
|
||||
How can I select or paste text in terminal when mouse is enabled in WeeChat?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -508,11 +462,81 @@ When mouse is enabled in WeeChat, you can use @k(-S-) modifier to select or
|
||||
click in terminal, as if the mouse was disabled (on some terminals like iTerm,
|
||||
you have to use @k(-A-) instead of @k(-S-)).
|
||||
|
||||
|
||||
[[irc]]
|
||||
IRC
|
||||
---
|
||||
|
||||
[[irc_ssl_connection]]
|
||||
I have some problems when connecting to a server using SSL, what can I do?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
If you see errors about gnutls handshake, you can try to use a smaller
|
||||
Diffie-Hellman key (default is 2048):
|
||||
|
||||
----------------------------------------
|
||||
/set irc.server.freenode.ssl_dhkey_size 1024
|
||||
----------------------------------------
|
||||
|
||||
If you see errors about certificate, you can disable "ssl_verify" (be careful,
|
||||
connection will be less secure by doing that):
|
||||
|
||||
----------------------------------------
|
||||
/set irc.server.freenode.ssl_verify off
|
||||
----------------------------------------
|
||||
|
||||
[[irc_ssl_handshake_error]]
|
||||
When connecting to server with SSL, I see only error "TLS handshake failed", what can I do?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
You can try a different priority string (WeeChat ≥ 0.3.5 only), replace "xxx"
|
||||
by your server name:
|
||||
|
||||
----------------------------------------
|
||||
/set irc.server.xxx.ssl_priorities "NORMAL:-VERS-TLS-ALL:+VERS-TLS1.0:+VERS-SSL3.0:%COMPAT"
|
||||
----------------------------------------
|
||||
|
||||
[[irc_ssl_freenode]]
|
||||
How can I connect to freenode server using SSL?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Set option 'weechat.network.gnutls_ca_file' to file with certificates:
|
||||
|
||||
----------------------------------------
|
||||
/set weechat.network.gnutls_ca_file "/etc/ssl/certs/ca-certificates.crt"
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
Check that you have this file on your system (commonly brought by package
|
||||
"ca-certificates").
|
||||
|
||||
Setup server port, SSL, dhkey_size, then connect:
|
||||
|
||||
----------------------------------------
|
||||
/set irc.server.freenode.addresses "chat.freenode.net/7000"
|
||||
/set irc.server.freenode.ssl on
|
||||
/set irc.server.freenode.ssl_dhkey_size 1024
|
||||
/connect freenode
|
||||
----------------------------------------
|
||||
|
||||
[[irc_sasl]]
|
||||
How can I be identified before joining channels?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
If server supports SASL, you should use that instead of sending command for
|
||||
nickserv authentication, for example:
|
||||
|
||||
----------------------------------------
|
||||
/set irc.server_default.sasl_mechanism dh-blowfish
|
||||
/set irc.server.freenode.sasl_username "mynick"
|
||||
/set irc.server.freenode.sasl_password "xxxxxxx"
|
||||
----------------------------------------
|
||||
|
||||
If server does not support SASL, you can add a delay (between command and join
|
||||
of channels):
|
||||
|
||||
----------------------------------------
|
||||
/set irc.server.freenode.command_delay 5
|
||||
----------------------------------------
|
||||
|
||||
[[ignore_vs_filter]]
|
||||
What is the difference between the /ignore and /filter commands?
|
||||
@@ -531,7 +555,6 @@ 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 @k(A-)@k(=) toggles filters).
|
||||
|
||||
|
||||
[[filter_irc_join_part_quit]]
|
||||
How can I filter join/part/quit messages on IRC channels?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -546,18 +569,29 @@ With smart filter (keep join/part/quit from users who spoke recently):
|
||||
With a global filter (hide *all* join/part/quit):
|
||||
|
||||
----------------------------------------
|
||||
/filter add jpk * irc_join,irc_part,irc_quit *
|
||||
/filter add joinquit * irc_join,irc_part,irc_quit *
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
For help: `/help filter` and `/help irc.look.smart_filter`
|
||||
|
||||
|
||||
[[filter_irc_join_channel_messages]]
|
||||
How can I filter some messages displayed when I join an IRC channel?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Some tags you can use to filter messages:
|
||||
With WeeChat ≥ 0.4.1, you can disable some messages with option
|
||||
'irc.look.display_join_message'.
|
||||
|
||||
For example, to disable names (which is IRC message '366'):
|
||||
|
||||
----------------------------------------
|
||||
/set irc.look.display_join_message "329,332,333"
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
For help: `/help irc.look.display_join_message`
|
||||
|
||||
Another solution is to filter messages on tag:
|
||||
|
||||
* 'irc_366': names on channel
|
||||
* 'irc_332,irc_333': channel topic/date
|
||||
@@ -577,7 +611,6 @@ Examples:
|
||||
/filter add irc_join_topic_date * irc_332,irc_333 *
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[filter_voice_messages]]
|
||||
How can I filter voice messages (eg on Bitlbee server)?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -611,7 +644,6 @@ is not perfect (will work only if first mode changed is voice):
|
||||
/filter add hidevoices * irc_mode (\+|\-)v
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[color_away_nicks]]
|
||||
How can I see away nicks in nicklist?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -634,7 +666,6 @@ nicks:
|
||||
For WeeChat ≤ 0.3.3, options are 'irc.network.away_check' and
|
||||
'irc.network.away_check_max_nicks'.
|
||||
|
||||
|
||||
[[highlight_notification]]
|
||||
How can I be warned when someone highlights me on a channel?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -649,74 +680,16 @@ For 'launcher.pl', you have to setup command:
|
||||
|
||||
Other scripts on this subject: http://www.weechat.org/scripts/stable/tag/notify/
|
||||
|
||||
|
||||
[[irc_ssl_connection]]
|
||||
I have some problems when connecting to a server using SSL, what can I do?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
If you see errors about gnutls handshake, you can try to use a smaller
|
||||
Diffie-Hellman key (default is 2048):
|
||||
|
||||
----------------------------------------
|
||||
/set irc.server.freenode.ssl_dhkey_size 1024
|
||||
----------------------------------------
|
||||
|
||||
If you see errors about certificate, you can disable "ssl_verify" (be careful,
|
||||
connection will be less secure by doing that):
|
||||
|
||||
----------------------------------------
|
||||
/set irc.server.freenode.ssl_verify off
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[irc_ssl_handshake_error]]
|
||||
When connecting to server with SSL, I see only error "TLS handshake failed", what can I do?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
You can try a different priority string (WeeChat ≥ 0.3.5 only), replace "xxx"
|
||||
by your server name:
|
||||
|
||||
----------------------------------------
|
||||
/set irc.server.xxx.ssl_priorities "NORMAL:-VERS-TLS-ALL:+VERS-TLS1.0:+VERS-SSL3.0:%COMPAT"
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[irc_ssl_freenode]]
|
||||
How can I connect to freenode server using SSL?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Set option 'weechat.network.gnutls_ca_file' to file with certificates:
|
||||
|
||||
----------------------------------------
|
||||
/set weechat.network.gnutls_ca_file "/etc/ssl/certs/ca-certificates.crt"
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
Check that you have this file on your system (commonly brought by package
|
||||
"ca-certificates").
|
||||
|
||||
Setup server port, SSL, dhkey_size, then connect:
|
||||
|
||||
----------------------------------------
|
||||
/set irc.server.freenode.addresses "chat.freenode.net/7000"
|
||||
/set irc.server.freenode.ssl on
|
||||
/set irc.server.freenode.ssl_dhkey_size 1024
|
||||
/connect freenode
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[irc_target_buffer]]
|
||||
How can I change target buffer for commands on merged buffers (like buffer with servers)?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
The default key is @k(C-)@k(x) (command is: `/input switch_active_buffer`).
|
||||
|
||||
|
||||
[[plugins_scripts]]
|
||||
Plugins / scripts
|
||||
-----------------
|
||||
|
||||
|
||||
[[openbsd_plugins]]
|
||||
I'm using OpenBSD and WeeChat does not load any plugins, what's wrong?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -730,7 +703,6 @@ You must set that up:
|
||||
/plugin autoload
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[load_scripts]]
|
||||
How can I load Perl/Python/Ruby/Lua/Tcl scripts? Are scripts compatible with other IRC clients?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -746,12 +718,10 @@ Notes:
|
||||
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?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -761,18 +731,18 @@ 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)
|
||||
logger, perl, python, ruby, lua, tcl, guile, xfer (used for DCC)
|
||||
* load only scripts that you really need
|
||||
* do not load certificates if SSL is *NOT* used: set empty string in option
|
||||
'weechat.network.gnutls_ca_file'
|
||||
* reduce value of option 'weechat.history.max_buffer_lines_number' or set value
|
||||
of option 'weechat.history.max_buffer_lines_minutes'
|
||||
* reduce value of option 'weechat.history.max_commands'
|
||||
|
||||
|
||||
[[development]]
|
||||
Development
|
||||
-----------
|
||||
|
||||
|
||||
[[bug_task_patch]]
|
||||
How should I report bugs, ask for new features or send patches?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -788,7 +758,6 @@ There are 3 ways:
|
||||
http://www.weechat.org/about
|
||||
(you can subscribe and send to "support" mailing list)
|
||||
|
||||
|
||||
[[gdb_error_threads]]
|
||||
When I run WeeChat under gdb, there is error about threads, what can I do?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -810,7 +779,6 @@ $ LD_PRELOAD=/lib/libpthread.so.0 gdb /path/to/weechat-curses
|
||||
(gdb) run
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[supported_os]]
|
||||
What is the list of supported platforms for WeeChat? Will it be ported to other operating systems?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -820,7 +788,6 @@ The full list is on this page: http://www.weechat.org/download
|
||||
We do our best to run on as many platforms as possible. Help is welcome for
|
||||
some OS' we don't have, to test WeeChat.
|
||||
|
||||
|
||||
[[help_developers]]
|
||||
I want to help WeeChat developers. What can I do?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -830,7 +797,6 @@ There's many tasks to do (testing, code, documentation, ...)
|
||||
Please contact us via IRC or mail, look at support page:
|
||||
http://www.weechat.org/support
|
||||
|
||||
|
||||
[[donate]]
|
||||
Can I give money or other things to WeeChat developers?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
@@ -1654,6 +1654,59 @@ str2 = weechat.string_input_for_buffer("/test") # ""
|
||||
str3 = weechat.string_input_for_buffer("//test") # "/test"
|
||||
----------------------------------------
|
||||
|
||||
weechat_string_eval_expression
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
_New in version 0.4.0._
|
||||
|
||||
Evaluate an expression and return result as a string.
|
||||
Special variables with format `${variable}` are expanded (see command `/eval` in
|
||||
'WeeChat User's guide').
|
||||
|
||||
Prototype:
|
||||
|
||||
[source,C]
|
||||
----------------------------------------
|
||||
char *weechat_string_eval_expression (const char *expr,
|
||||
struct t_hashtable *pointers,
|
||||
struct t_hashtable *extra_vars);
|
||||
----------------------------------------
|
||||
|
||||
Arguments:
|
||||
|
||||
* 'expr': the expression to evaluate
|
||||
* 'pointers': hashtable with pointers (keys must be string, values must be
|
||||
pointer); pointers "window" and "buffer" are automatically added if they are
|
||||
not in hashtable (with pointer to current window/buffer) (can be NULL)
|
||||
* 'extra_vars': extra variables that will be expanded (can be NULL)
|
||||
|
||||
Return value:
|
||||
|
||||
* evaluated expression (must be freed by calling "free" after use), or NULL
|
||||
if problem (invalid expression or not enough memory)
|
||||
|
||||
C examples:
|
||||
|
||||
[source,C]
|
||||
----------------------------------------
|
||||
char *str1 = weechat_string_eval_expression ("${buffer.full_name}", NULL, NULL); /* "core.weechat" */
|
||||
char *str2 = weechat_string_eval_expression ("${window.win_width} > 100", NULL, NULL); /* "1" */
|
||||
char *str3 = weechat_string_eval_expression ("abc =~ def", NULL, NULL); /* "0" */
|
||||
----------------------------------------
|
||||
|
||||
Script (Python):
|
||||
|
||||
[source,python]
|
||||
----------------------------------------
|
||||
# prototype
|
||||
str = weechat.string_eval_expression(expr, pointers, extra_vars)
|
||||
|
||||
# examples
|
||||
str1 = weechat.string_input_for_buffer("${buffer.full_name}", {}, {}) # "core.weechat"
|
||||
str2 = weechat.string_input_for_buffer("${window.win_width} > 100", {}, {}) # "1"
|
||||
str3 = weechat.string_input_for_buffer("abc =~ def", {}, {}) # "0"
|
||||
----------------------------------------
|
||||
|
||||
[[utf-8]]
|
||||
UTF-8
|
||||
~~~~~
|
||||
@@ -3195,14 +3248,14 @@ Arguments:
|
||||
** 'WEECHAT_HASHTABLE_BUFFER'
|
||||
** 'WEECHAT_HASHTABLE_TIME'
|
||||
* 'callback_hash_key': callback used to "hash" a key (key as integer value), can
|
||||
be NULL if key type is "string" (a default function is used for strings, and
|
||||
only for strings), arguments and return value:
|
||||
be NULL if key type is not "buffer" (a default hash function is used),
|
||||
arguments and return value:
|
||||
** 'struct t_hashtable *hashtable': hashtable pointer
|
||||
** 'const void *key': key
|
||||
** return value: hash of the key
|
||||
* 'callback_keycmp': callback used to compare two keys, can be NULL if value
|
||||
type is "string" (a default comparison function is used for strings, and only
|
||||
for strings), arguments and return value:
|
||||
* 'callback_keycmp': callback used to compare two keys, can be NULL if key type
|
||||
is not "buffer" (a default comparison function is used), arguments and return
|
||||
value:
|
||||
** 'struct t_hashtable *hashtable': hashtable pointer
|
||||
** 'const void *key1': first key
|
||||
** 'const void *key2': second key
|
||||
@@ -3769,7 +3822,7 @@ Return value:
|
||||
|
||||
[NOTE]
|
||||
File is NOT created on disk by this function. It will be created by call to
|
||||
function <<_weechat_write_config,weechat_write_config>>.
|
||||
function <<_weechat_config_write,weechat_config_write>>.
|
||||
You should call this function only after adding some sections (with
|
||||
<<_weechat_config_new_section,weechat_config_new_section>>) and options (with
|
||||
<<_weechat_config_new_option,weechat_config_new_option>>).
|
||||
@@ -4299,6 +4352,11 @@ option5 = weechat.config_new_option(config_file, section, "option5", "color",
|
||||
"", "")
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
In Ruby, the 3 callbacks + data (6 strings) must be given in an array of 6
|
||||
strings (due to a Ruby limitation of 15 arguments by function), see the
|
||||
'WeeChat Scripting Guide' for more info (_fixed in version 0.4.1_).
|
||||
|
||||
weechat_config_search_option
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
@@ -4942,6 +5000,7 @@ C example:
|
||||
|
||||
[source,C]
|
||||
----------------------------------------
|
||||
struct t_config_option *option = weechat_config_get ("plugin.section.option");
|
||||
if (weechat_config_boolean (option))
|
||||
{
|
||||
/* value is "true" */
|
||||
@@ -4960,6 +5019,7 @@ Script (Python):
|
||||
value = weechat.config_boolean(option)
|
||||
|
||||
# example
|
||||
option = weechat.config_get("plugin.section.option")
|
||||
if weechat.config_boolean(option):
|
||||
# ...
|
||||
----------------------------------------
|
||||
@@ -4988,6 +5048,7 @@ C example:
|
||||
|
||||
[source,C]
|
||||
----------------------------------------
|
||||
struct t_config_option *option = weechat_config_get ("plugin.section.option");
|
||||
if (weechat_config_boolean_default (option))
|
||||
{
|
||||
/* value is "true" */
|
||||
@@ -5006,6 +5067,7 @@ Script (Python):
|
||||
value = weechat.config_boolean_default(option)
|
||||
|
||||
# example
|
||||
option = weechat.config_get("plugin.section.option")
|
||||
if weechat.config_boolean_default(option):
|
||||
# ...
|
||||
----------------------------------------
|
||||
@@ -5034,6 +5096,7 @@ C example:
|
||||
|
||||
[source,C]
|
||||
----------------------------------------
|
||||
struct t_config_option *option = weechat_config_get ("plugin.section.option");
|
||||
int value = weechat_config_integer (option);
|
||||
----------------------------------------
|
||||
|
||||
@@ -5045,8 +5108,8 @@ Script (Python):
|
||||
value = weechat.config_integer(option)
|
||||
|
||||
# example
|
||||
if weechat.config_integer(option):
|
||||
# ...
|
||||
option = weechat.config_get("plugin.section.option")
|
||||
value = weechat.config_integer(option)
|
||||
----------------------------------------
|
||||
|
||||
weechat_config_integer_default
|
||||
@@ -5073,6 +5136,7 @@ C example:
|
||||
|
||||
[source,C]
|
||||
----------------------------------------
|
||||
struct t_config_option *option = weechat_config_get ("plugin.section.option");
|
||||
int value = weechat_config_integer_default (option);
|
||||
----------------------------------------
|
||||
|
||||
@@ -5084,8 +5148,8 @@ Script (Python):
|
||||
value = weechat.config_integer_default(option)
|
||||
|
||||
# example
|
||||
if weechat.config_integer_default(option):
|
||||
# ...
|
||||
option = weechat.config_get("plugin.section.option")
|
||||
value = weechat.config_integer_default(option)
|
||||
----------------------------------------
|
||||
|
||||
weechat_config_string
|
||||
@@ -5112,6 +5176,7 @@ C example:
|
||||
|
||||
[source,C]
|
||||
----------------------------------------
|
||||
struct t_config_option *option = weechat_config_get ("plugin.section.option");
|
||||
const char *value = weechat_config_string (option);
|
||||
----------------------------------------
|
||||
|
||||
@@ -5123,7 +5188,8 @@ Script (Python):
|
||||
value = weechat.config_string(option)
|
||||
|
||||
# example
|
||||
value = weechat.config_string(option):
|
||||
option = weechat.config_get("plugin.section.option")
|
||||
value = weechat.config_string(option)
|
||||
----------------------------------------
|
||||
|
||||
weechat_config_string_default
|
||||
@@ -5150,6 +5216,7 @@ C example:
|
||||
|
||||
[source,C]
|
||||
----------------------------------------
|
||||
struct t_config_option *option = weechat_config_get ("plugin.section.option");
|
||||
const char *value = weechat_config_string_default (option);
|
||||
----------------------------------------
|
||||
|
||||
@@ -5161,7 +5228,8 @@ Script (Python):
|
||||
value = weechat.config_string_default(option)
|
||||
|
||||
# example
|
||||
value = weechat.config_string_default(option):
|
||||
option = weechat.config_get("plugin.section.option")
|
||||
value = weechat.config_string_default(option)
|
||||
----------------------------------------
|
||||
|
||||
weechat_config_color
|
||||
@@ -5188,6 +5256,7 @@ C example:
|
||||
|
||||
[source,C]
|
||||
----------------------------------------
|
||||
struct t_config_option *option = weechat_config_get ("plugin.section.option");
|
||||
const char *color = weechat_config_color (option);
|
||||
----------------------------------------
|
||||
|
||||
@@ -5199,7 +5268,8 @@ Script (Python):
|
||||
value = weechat.config_color(option)
|
||||
|
||||
# example
|
||||
value = weechat.config_color(option):
|
||||
option = weechat.config_get("plugin.section.option")
|
||||
value = weechat.config_color(option)
|
||||
----------------------------------------
|
||||
|
||||
weechat_config_color_default
|
||||
@@ -5226,6 +5296,7 @@ C example:
|
||||
|
||||
[source,C]
|
||||
----------------------------------------
|
||||
struct t_config_option *option = weechat_config_get ("plugin.section.option");
|
||||
const char *color = weechat_config_color_default (option);
|
||||
----------------------------------------
|
||||
|
||||
@@ -5237,7 +5308,8 @@ Script (Python):
|
||||
value = weechat.config_color_default(option)
|
||||
|
||||
# example
|
||||
value = weechat.config_color_default(option):
|
||||
option = weechat.config_get("plugin.section.option")
|
||||
value = weechat.config_color_default(option)
|
||||
----------------------------------------
|
||||
|
||||
weechat_config_write_option
|
||||
@@ -5590,7 +5662,7 @@ Prototype:
|
||||
|
||||
[source,C]
|
||||
----------------------------------------
|
||||
void weechat_config_section_free (struct t_config_option *option);
|
||||
void weechat_config_section_free (struct t_config_section *section);
|
||||
----------------------------------------
|
||||
|
||||
Arguments:
|
||||
@@ -6100,14 +6172,14 @@ Arguments:
|
||||
|
||||
* 'prefix': name of prefix:
|
||||
|
||||
[width="70%",cols="^2e,^1l,^3,5",options="header"]
|
||||
[width="70%",cols="^2e,^1,^3,5",options="header"]
|
||||
|========================================
|
||||
| Prefix | Value | Color | Description
|
||||
| error | =!= | yellow | error message
|
||||
| network | -- | magenta | message from network
|
||||
| action | * | white | self action
|
||||
| join | --> | lightgreen | someone joins current chat
|
||||
| quit | <-- | lightred | someone leaves current chat
|
||||
| error | `=!=` | yellow | error message
|
||||
| network | `--` | magenta | message from network
|
||||
| action | `*` | white | self action
|
||||
| join | `-->` | lightgreen | someone joins current chat
|
||||
| quit | `<--` | lightred | someone leaves current chat
|
||||
|========================================
|
||||
|
||||
[NOTE]
|
||||
@@ -6236,6 +6308,10 @@ If your message has some tabs and if you don't want prefix, then use a space,
|
||||
a tab, then message (see example below): this will disable prefix (the space
|
||||
before tab will not be displayed).
|
||||
|
||||
[NOTE]
|
||||
With two tabs ("\t") at beginning of message, time will not be displayed and
|
||||
message will have no alignment at all (like the message "Day changed to").
|
||||
|
||||
C example:
|
||||
|
||||
[source,C]
|
||||
@@ -6244,6 +6320,8 @@ weechat_printf (NULL, "Hello on WeeChat buffer");
|
||||
weechat_printf (buffer, "Hello on this buffer");
|
||||
weechat_printf (buffer, "%sThis is an error!", weechat_prefix ("error"));
|
||||
weechat_printf (buffer, " \tMessage without prefix but with \t some \t tabs");
|
||||
weechat_printf (buffer, "\t\tMessage without time/alignment");
|
||||
weechat_printf (buffer, "\t\t"); /* empty line (without time) */
|
||||
----------------------------------------
|
||||
|
||||
Script (Python):
|
||||
@@ -6258,6 +6336,8 @@ weechat.prnt("", "Hello on WeeChat buffer")
|
||||
weechat.prnt(buffer, "Hello on this buffer")
|
||||
weechat.prnt(buffer, "%sThis is an error!" % weechat.prefix("error"))
|
||||
weechat.prnt(buffer, " \tMessage without prefix but with \t some \t tabs")
|
||||
weechat.prnt(buffer, "\t\tMessage without time/alignment")
|
||||
weechat.prnt(buffer, "\t\t") # empty line (without time)
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
@@ -6851,6 +6931,15 @@ weechat_hook_process
|
||||
|
||||
Hook a process (launched with fork), and catch output.
|
||||
|
||||
[NOTE]
|
||||
Since version 0.3.9.2, the shell is not used any more to execute the command.
|
||||
WeeChat makes an automatic split of the command and its arguments (like the
|
||||
shell does). +
|
||||
If the split is not correct (according to quotes in your command), or if you
|
||||
want to use shell, you can use function
|
||||
<<_weechat_hook_process_hashtable,weechat_hook_process_hashtable>> with
|
||||
arguments in the hashtable 'options' (_new in version 0.4.0_).
|
||||
|
||||
Prototype:
|
||||
|
||||
[source,C]
|
||||
@@ -6903,6 +6992,10 @@ The command can be an URL with format: "url:http://www.example.com", to download
|
||||
content of URL (_new in version 0.3.7_). Options are possible for URL with
|
||||
function <<_weechat_hook_process_hashtable,weechat_hook_process_hashtable>>.
|
||||
|
||||
[TIP]
|
||||
If you want to retrieve infos about WeeChat (like current stable version,
|
||||
latest git commit, ...), you can use URLs on page http://weechat.org/info
|
||||
|
||||
[NOTE]
|
||||
Buffer size for sending data to callback is 64KB (there are 2 buffers: one for
|
||||
stdout and one for stderr).
|
||||
@@ -6999,8 +7092,13 @@ struct t_hook *weechat_hook_process_hashtable (const char *command,
|
||||
Arguments are the same as function <<_weechat_hook_process,weechat_hook_process>>,
|
||||
with an extra argument:
|
||||
|
||||
* 'options': options for command executed (see table below); the hashtable is
|
||||
duplicated in function, so it's safe to free it after this call
|
||||
* 'options': options for command executed; the hashtable is duplicated in
|
||||
function, so it's safe to free it after this call
|
||||
|
||||
For a standard command (not beginning with "url:"), the hashtable 'options' can
|
||||
contain arguments for command (and then 'command' must be only the command
|
||||
without arguments) (_new in version 0.4.0_). +
|
||||
The keys in hashtable must be: 'arg1', 'arg2', ...
|
||||
|
||||
For command "url:...", following options are available (see
|
||||
`man curl_easy_setopt` for a description of each option):
|
||||
@@ -7053,6 +7151,7 @@ my_process_cb (void *data, const char *command, int return_code,
|
||||
return WEECHAT_RC_OK;
|
||||
}
|
||||
|
||||
/* example 1: download URL */
|
||||
struct t_hashtable *options = weechat_hashtable_new (8,
|
||||
WEECHAT_HASHTABLE_STRING,
|
||||
WEECHAT_HASHTABLE_STRING,
|
||||
@@ -7067,6 +7166,42 @@ if (options)
|
||||
&my_process_cb, NULL);
|
||||
weechat_hashtable_free (options);
|
||||
}
|
||||
|
||||
/* example 2: execute a notify program with a message from someone */
|
||||
struct t_hashtable *options_cmd1 = weechat_hashtable_new (8,
|
||||
WEECHAT_HASHTABLE_STRING,
|
||||
WEECHAT_HASHTABLE_STRING,
|
||||
NULL,
|
||||
NULL);
|
||||
if (options_cmd1)
|
||||
{
|
||||
weechat_hashtable_set (options_cmd1, "arg1", "-from");
|
||||
weechat_hashtable_set (options_cmd1, "arg2", nick);
|
||||
weechat_hashtable_set (options_cmd1, "arg3", "-msg");
|
||||
weechat_hashtable_set (options_cmd1, "arg4", message); /* untrusted argument */
|
||||
struct t_hook *my_process_hook = weechat_hook_process_hashtable ("my-notify-command",
|
||||
options_cmd1,
|
||||
20000,
|
||||
&my_process_cb, NULL);
|
||||
weechat_hashtable_free (options_cmd1);
|
||||
}
|
||||
|
||||
/* example 3: call shell to execute a command (command must be SAFE) */
|
||||
struct t_hashtable *options_cmd2 = weechat_hashtable_new (8,
|
||||
WEECHAT_HASHTABLE_STRING,
|
||||
WEECHAT_HASHTABLE_STRING,
|
||||
NULL,
|
||||
NULL);
|
||||
if (options_cmd2)
|
||||
{
|
||||
weechat_hashtable_set (options_cmd2, "arg1", "-c");
|
||||
weechat_hashtable_set (options_cmd2, "arg2", "ls -l /tmp | grep something");
|
||||
struct t_hook *my_process_hook = weechat_hook_process_hashtable ("sh",
|
||||
options_cmd2,
|
||||
20000,
|
||||
&my_process_cb, NULL);
|
||||
weechat_hashtable_free (options_cmd2);
|
||||
}
|
||||
----------------------------------------
|
||||
|
||||
Script (Python):
|
||||
@@ -7089,9 +7224,24 @@ def my_process_cb(data, command, return_code, out, err):
|
||||
weechat.prnt("", "stderr: %s" % err)
|
||||
return weechat.WEECHAT_RC_OK
|
||||
|
||||
hook = weechat.hook_process_hashtable("url:http://www.weechat.org/",
|
||||
{ "file_out": "/tmp/weechat.org.html" },
|
||||
20000, "my_process_cb", "")
|
||||
# example 1: download URL
|
||||
hook1 = weechat.hook_process_hashtable("url:http://www.weechat.org/",
|
||||
{ "file_out": "/tmp/weechat.org.html" },
|
||||
20000, "my_process_cb", "")
|
||||
|
||||
# example 2: execute a notify program with a message from someone
|
||||
hook2 = weechat.hook_process_hashtable("my-notify-command",
|
||||
{ "arg1": "-from",
|
||||
"arg2": nick,
|
||||
"arg3": "-msg",
|
||||
"arg4": message }, # untrusted argument
|
||||
20000, "my_process_cb", "")
|
||||
|
||||
# example 3: call shell to execute a command (command must be SAFE)
|
||||
hook3 = weechat.hook_process_hashtable("sh",
|
||||
{ "arg1": "-c",
|
||||
"arg2": "ls -l /tmp | grep something" },
|
||||
20000, "my_process_cb", "")
|
||||
----------------------------------------
|
||||
|
||||
weechat_hook_connect
|
||||
@@ -7106,8 +7256,8 @@ Prototype:
|
||||
struct t_hook *weechat_hook_connect (const char *proxy,
|
||||
const char *address,
|
||||
int port,
|
||||
int sock,
|
||||
int ipv6,
|
||||
int retry,
|
||||
void *gnutls_sess,
|
||||
void *gnutls_cb,
|
||||
int gnutls_dhkey_size,
|
||||
@@ -7116,6 +7266,7 @@ struct t_hook *weechat_hook_connect (const char *proxy,
|
||||
int (*callback)(void *data,
|
||||
int status,
|
||||
int gnutls_rc,
|
||||
int sock,
|
||||
const char *error,
|
||||
const char *ip_address),
|
||||
void *callback_data);
|
||||
@@ -7127,8 +7278,9 @@ Arguments:
|
||||
without proxy)
|
||||
* 'address': name or IP address to connect to
|
||||
* 'port': port number
|
||||
* 'sock': socket used to connect
|
||||
* 'ipv6': 1 to use IPv6, 0 to use IPv4
|
||||
* 'ipv6': 1 to use IPv6 (with fallback to IPv4), 0 to use only IPv4
|
||||
* 'retry': retry count, used to fallback to IPv4 hosts if IPv6 hosts connect
|
||||
but then fail to accept the client
|
||||
* 'gnutls_sess': GnuTLS session (optional)
|
||||
* 'gnutls_cb': GnuTLS callback (optional)
|
||||
* 'gnutls_dhkey_size': size of the key used during the Diffie-Hellman Key
|
||||
@@ -7156,7 +7308,9 @@ Arguments:
|
||||
*** 'WEECHAT_HOOK_CONNECT_GNUTLS_HANDSHAKE_ERROR': GnuTLS handshake error
|
||||
*** 'WEECHAT_HOOK_CONNECT_MEMORY_ERROR': insufficient memory
|
||||
*** 'WEECHAT_HOOK_CONNECT_TIMEOUT': timeout
|
||||
*** 'WEECHAT_HOOK_CONNECT_SOCKET_ERROR': unable to create socket
|
||||
** 'gnutls_rc': result value of 'gnutls_handshake()'
|
||||
** 'sock': socket used to connect
|
||||
** 'const char *error': result value of 'gnutls_strerror(gnutls_rc)'
|
||||
** 'const char *ip_address': IP address found
|
||||
** return value:
|
||||
@@ -7173,8 +7327,8 @@ C example:
|
||||
[source,C]
|
||||
----------------------------------------
|
||||
int
|
||||
my_connect_cb (void *data, int status, int gnutls_rc, const char *error,
|
||||
const char *ip_address)
|
||||
my_connect_cb (void *data, int status, int gnutls_rc, int sock,
|
||||
const char *error, const char *ip_address)
|
||||
{
|
||||
switch (status)
|
||||
{
|
||||
@@ -7208,13 +7362,16 @@ my_connect_cb (void *data, int status, int gnutls_rc, const char *error,
|
||||
case WEECHAT_HOOK_CONNECT_TIMEOUT:
|
||||
/* ... */
|
||||
break;
|
||||
case WEECHAT_HOOK_CONNECT_SOCKET_ERROR:
|
||||
/* ... */
|
||||
break;
|
||||
}
|
||||
return WEECHAT_RC_OK;
|
||||
}
|
||||
|
||||
struct t_hook *my_connect_hook = weechat_hook_connect (NULL,
|
||||
"my.server.org", 1234,
|
||||
sock, 0,
|
||||
1, 0,
|
||||
NULL, NULL, 0, /* GnuTLS */
|
||||
NULL,
|
||||
&my_connect_cb, NULL);
|
||||
@@ -7225,11 +7382,11 @@ Script (Python):
|
||||
[source,python]
|
||||
----------------------------------------
|
||||
# prototype
|
||||
hook = weechat.hook_connect(proxy, address, port, sock, ipv6, local_hostname,
|
||||
hook = weechat.hook_connect(proxy, address, port, ipv6, retry, local_hostname,
|
||||
callback, callback_data)
|
||||
|
||||
# example
|
||||
def my_connect_cb(data, status, gnutls_rc, error, ip_address):
|
||||
def my_connect_cb(data, status, gnutls_rc, sock, error, ip_address):
|
||||
if status == WEECHAT_HOOK_CONNECT_OK:
|
||||
# ...
|
||||
elif status == WEECHAT_HOOK_CONNECT_ADDRESS_NOT_FOUND:
|
||||
@@ -7250,9 +7407,11 @@ def my_connect_cb(data, status, gnutls_rc, error, ip_address):
|
||||
# ...
|
||||
elif status == WEECHAT_HOOK_CONNECT_TIMEOUT:
|
||||
# ...
|
||||
elif status == WEECHAT_HOOK_CONNECT_SOCKET_ERROR:
|
||||
# ...
|
||||
return weechat.WEECHAT_RC_OK
|
||||
|
||||
hook = weechat.hook_connect("", "my.server.org", 1234, sock, 0, "",
|
||||
hook = weechat.hook_connect("", "my.server.org", 1234, 1, 0, "",
|
||||
"my_connect_cb", "")
|
||||
----------------------------------------
|
||||
|
||||
@@ -7371,6 +7530,11 @@ Arguments:
|
||||
|========================================
|
||||
| Plugin | Signal | Arguments | Description
|
||||
|
||||
| aspell | aspell_suggest +
|
||||
(_new in version 0.4.0_) |
|
||||
pointer: buffer |
|
||||
new suggestions for a misspelled word
|
||||
|
||||
| guile | guile_script_loaded +
|
||||
(_new in version 0.3.9_) |
|
||||
string: path to script |
|
||||
@@ -7617,6 +7781,11 @@ Arguments:
|
||||
pointer: buffer |
|
||||
buffer closed
|
||||
|
||||
| weechat | buffer_line_added +
|
||||
(_new in version 0.3.7_) |
|
||||
pointer: line |
|
||||
line added in a buffer
|
||||
|
||||
| weechat | buffer_lines_hidden |
|
||||
pointer: buffer |
|
||||
lines hidden in buffer
|
||||
@@ -7633,6 +7802,14 @@ Arguments:
|
||||
pointer: buffer |
|
||||
local variable has been removed
|
||||
|
||||
| weechat | buffer_merged |
|
||||
pointer: buffer |
|
||||
buffer merged
|
||||
|
||||
| weechat | buffer_unmerged |
|
||||
pointer: buffer |
|
||||
buffer unmerged
|
||||
|
||||
| weechat | buffer_moved |
|
||||
pointer: buffer |
|
||||
buffer moved
|
||||
@@ -7657,11 +7834,6 @@ Arguments:
|
||||
pointer: buffer |
|
||||
type of buffer changed
|
||||
|
||||
| weechat | buffer_line_added +
|
||||
(_new in version 0.3.7_) |
|
||||
pointer: line |
|
||||
line added in a buffer
|
||||
|
||||
| weechat | day_changed +
|
||||
(_new in version 0.3.2_) |
|
||||
string: new date, format: "2010-01-31" |
|
||||
@@ -7700,17 +7872,25 @@ Arguments:
|
||||
paste pending
|
||||
|
||||
| weechat | input_search |
|
||||
- |
|
||||
pointer: buffer |
|
||||
text search in buffer
|
||||
|
||||
| weechat | input_text_changed |
|
||||
- |
|
||||
pointer: buffer |
|
||||
input text changed
|
||||
|
||||
| weechat | input_text_cursor_moved |
|
||||
- |
|
||||
pointer: buffer |
|
||||
input text cursor moved
|
||||
|
||||
| weechat | key_bind |
|
||||
string: key |
|
||||
key added
|
||||
|
||||
| weechat | key_unbind |
|
||||
string: key |
|
||||
key removed
|
||||
|
||||
| weechat | key_pressed |
|
||||
string: key pressed |
|
||||
key pressed
|
||||
@@ -7720,6 +7900,16 @@ Arguments:
|
||||
string: buffer pointer + "," + group name |
|
||||
group added in nicklist
|
||||
|
||||
| weechat | nicklist_group_changed +
|
||||
(_new in version 0.3.4_) |
|
||||
string: buffer pointer + "," + group name |
|
||||
group changed in nicklist
|
||||
|
||||
| weechat | nicklist_group_removing +
|
||||
(_new in version 0.4.1_) |
|
||||
string: buffer pointer + "," + group name |
|
||||
removing group from nicklist
|
||||
|
||||
| weechat | nicklist_group_removed +
|
||||
(_new in version 0.3.2_) |
|
||||
string: buffer pointer + "," + group name |
|
||||
@@ -7730,6 +7920,16 @@ Arguments:
|
||||
string: buffer pointer + "," + nick name |
|
||||
nick added in nicklist
|
||||
|
||||
| weechat | nicklist_nick_changed +
|
||||
(_new in version 0.3.4_) |
|
||||
string: buffer pointer + "," + nick name |
|
||||
nick changed in nicklist
|
||||
|
||||
| weechat | nicklist_nick_removing +
|
||||
(_new in version 0.4.1_) |
|
||||
string: buffer pointer + "," + nick name |
|
||||
removing nick from nicklist
|
||||
|
||||
| weechat | nicklist_nick_removed +
|
||||
(_new in version 0.3.2_) |
|
||||
string: buffer pointer + "," + nick name |
|
||||
@@ -7754,7 +7954,7 @@ Arguments:
|
||||
command `/quit` issued by user
|
||||
|
||||
| weechat | upgrade |
|
||||
- |
|
||||
string: "quit" if "-quit" argument was given for /upgrade, otherwise NULL |
|
||||
command `/upgrade` issued by user
|
||||
|
||||
| weechat | upgrade_ended +
|
||||
@@ -7770,6 +7970,21 @@ Arguments:
|
||||
string: message with prefix |
|
||||
private message displayed
|
||||
|
||||
| weechat | window_closing +
|
||||
(_new in version 0.3.6_) |
|
||||
pointer: window |
|
||||
closing window
|
||||
|
||||
| weechat | window_closed +
|
||||
(_new in version 0.3.6_) |
|
||||
pointer: window |
|
||||
window closed
|
||||
|
||||
| weechat | window_opened +
|
||||
(_new in version 0.4.1_) |
|
||||
pointer: window |
|
||||
window opened
|
||||
|
||||
| weechat | window_scrolled |
|
||||
pointer: window |
|
||||
scroll in window
|
||||
@@ -7839,6 +8054,8 @@ Arguments:
|
||||
** 'void *signal_data': data sent with signal
|
||||
** return value:
|
||||
*** 'WEECHAT_RC_OK'
|
||||
*** 'WEECHAT_RC_OK_EAT' (stop sending the signal immediately)
|
||||
(_new in version 0.4.0_)
|
||||
*** 'WEECHAT_RC_ERROR'
|
||||
* 'callback_data': pointer given to callback when it is called by WeeChat
|
||||
|
||||
@@ -8088,12 +8305,56 @@ Arguments:
|
||||
* 'signal': signal to catch, can begin or end with "*"
|
||||
(priority allowed, see note about <<hook_priority,priority>>):
|
||||
|
||||
[width="100%",cols="^1,^3,5",options="header"]
|
||||
[width="100%",cols="^1,^3,5,5",options="header"]
|
||||
|========================================
|
||||
| Plugin | Signal | Arguments
|
||||
| Plugin | Signal | Arguments | Description
|
||||
|
||||
| irc | irc_redirection_xxx_yyy ^(1)^ |
|
||||
redirection output (see <<hsignal_irc_redirect_command>>)
|
||||
| irc | irc_redirection_xxx_yyy ^(1)^ +
|
||||
(_new in version 0.3.4_) |
|
||||
see <<hsignal_irc_redirect_command,hsignal_irc_redirect_command>> |
|
||||
redirection output
|
||||
|
||||
| weechat | nicklist_group_added +
|
||||
(_new in version 0.4.1_) |
|
||||
'buffer' ('struct t_gui_buffer *'): buffer +
|
||||
'parent_group' ('struct t_gui_nick_group *'): parent group +
|
||||
'group' ('struct t_gui_nick_group *'): group |
|
||||
group added in nicklist
|
||||
|
||||
| weechat | nicklist_nick_added +
|
||||
(_new in version 0.4.1_) |
|
||||
'buffer' ('struct t_gui_buffer *'): buffer +
|
||||
'parent_group' ('struct t_gui_nick_group *'): parent group +
|
||||
'nick' ('struct t_gui_nick *'): nick |
|
||||
nick added in nicklist
|
||||
|
||||
| weechat | nicklist_group_removing +
|
||||
(_new in version 0.4.1_) |
|
||||
'buffer' ('struct t_gui_buffer *'): buffer +
|
||||
'parent_group' ('struct t_gui_nick_group *'): parent group +
|
||||
'group' ('struct t_gui_nick_group *'): group |
|
||||
removing group from nicklist
|
||||
|
||||
| weechat | nicklist_nick_removing +
|
||||
(_new in version 0.4.1_) |
|
||||
'buffer' ('struct t_gui_buffer *'): buffer +
|
||||
'parent_group' ('struct t_gui_nick_group *'): parent group +
|
||||
'nick' ('struct t_gui_nick *'): nick |
|
||||
removing nick from nicklist
|
||||
|
||||
| weechat | nicklist_group_changed +
|
||||
(_new in version 0.4.1_) |
|
||||
'buffer' ('struct t_gui_buffer *'): buffer +
|
||||
'parent_group' ('struct t_gui_nick_group *'): parent group +
|
||||
'group' ('struct t_gui_nick_group *'): group |
|
||||
group changed in nicklist
|
||||
|
||||
| weechat | nicklist_nick_changed +
|
||||
(_new in version 0.4.1_) |
|
||||
'buffer' ('struct t_gui_buffer *'): buffer +
|
||||
'parent_group' ('struct t_gui_nick_group *'): parent group +
|
||||
'nick' ('struct t_gui_nick *'): nick |
|
||||
nick changed in nicklist
|
||||
|========================================
|
||||
|
||||
[NOTE]
|
||||
@@ -8107,6 +8368,8 @@ pattern.
|
||||
** 'struct t_hashtable *hashtable': hashtable
|
||||
** return value:
|
||||
*** 'WEECHAT_RC_OK'
|
||||
*** 'WEECHAT_RC_OK_EAT' (stop sending the signal immediately)
|
||||
(_new in version 0.4.0_)
|
||||
*** 'WEECHAT_RC_ERROR'
|
||||
* 'callback_data': pointer given to callback when it is called by WeeChat
|
||||
|
||||
@@ -8473,7 +8736,7 @@ Arguments:
|
||||
* 'callback_data': pointer given to callback when it is called by WeeChat
|
||||
|
||||
[NOTE]
|
||||
Completion names are global (shared accross WeeChat and plugins). So it is
|
||||
Completion names are global (shared across WeeChat and plugins). So it is
|
||||
recommended to choose a name with a unique prefix, like "plugin_xxx" (where
|
||||
"xxx" is your item name).
|
||||
|
||||
@@ -8660,6 +8923,18 @@ Arguments:
|
||||
any string |
|
||||
string with IRC color codes, or without color
|
||||
|
||||
| irc | irc_command_auth +
|
||||
(_new in version 0.4.1_) |
|
||||
server name |
|
||||
authentication command (for example: `/msg nickserv identify password`) |
|
||||
command with hidden password (for example: `/msg nickserv identify ********`)
|
||||
|
||||
| irc | irc_message_auth +
|
||||
(_new in version 0.4.1_) |
|
||||
server name |
|
||||
message displayed after `/msg` sent to nickserv |
|
||||
message with hidden password
|
||||
|
||||
| irc | irc_in_xxx ^(1)^ |
|
||||
server name |
|
||||
content of message received from IRC server (before charset decoding) |
|
||||
@@ -9753,6 +10028,9 @@ Arguments:
|
||||
** 'nicklist_case_sensitive': 1 if nicks are case sensitive, otherwise 0
|
||||
** 'nicklist_max_length': max length for a nick
|
||||
** 'nicklist_display_groups': 1 if groups are displayed, otherwise 0
|
||||
** 'nicklist_count': number of nicks and groups in nicklist
|
||||
** 'nicklist_groups_count': number of groups in nicklist
|
||||
** 'nicklist_nicks_count': number of nicks in nicklist
|
||||
** 'nicklist_visible_count': number of nicks/groups displayed
|
||||
** 'input': 1 if input is enabled, otherwise 0
|
||||
** 'input_get_unknown_commands': 1 if unknown commands are sent to input
|
||||
@@ -9924,6 +10202,12 @@ Arguments:
|
||||
"-": disable hotlist (global setting, buffer pointer is not used) +
|
||||
priority: add buffer to hotlist with this priority
|
||||
|
||||
| completion_freeze | "0", "1" |
|
||||
"0": no freeze of completion (default value)
|
||||
(global setting, buffer pointer is not used) +
|
||||
"1": do not stop completion when command line is updated
|
||||
(global setting, buffer pointer is not used)
|
||||
|
||||
| unread | - |
|
||||
set unread marker after last line of buffer
|
||||
|
||||
@@ -10010,7 +10294,7 @@ Arguments:
|
||||
set cursor position in buffer input
|
||||
|
||||
| input_get_unknown_commands | "0" or "1" |
|
||||
"0" to disable unknown commands on this buffer (default behaviour), "1" to
|
||||
"0" to disable unknown commands on this buffer (default behavior), "1" to
|
||||
get unknown commands, for example if user type "/unknowncmd", buffer will
|
||||
receive it (no error about unknown command)
|
||||
|
||||
@@ -10824,9 +11108,9 @@ Prototype:
|
||||
|
||||
[source,C]
|
||||
----------------------------------------
|
||||
void gui_nicklist_get_next_item (struct t_gui_buffer *buffer,
|
||||
struct t_gui_nick_group **group,
|
||||
struct t_gui_nick **nick);
|
||||
void weechat_nicklist_get_next_item (struct t_gui_buffer *buffer,
|
||||
struct t_gui_nick_group **group,
|
||||
struct t_gui_nick **nick);
|
||||
----------------------------------------
|
||||
|
||||
Arguments:
|
||||
@@ -10844,7 +11128,7 @@ struct t_gui_nick *ptr_nick;
|
||||
|
||||
ptr_group = NULL;
|
||||
ptr_nick = NULL;
|
||||
gui_nicklist_get_next_item (buffer, &ptr_group, &ptr_nick);
|
||||
weechat_nicklist_get_next_item (buffer, &ptr_group, &ptr_nick);
|
||||
while (ptr_group || ptr_nick)
|
||||
{
|
||||
if (ptr_nick)
|
||||
@@ -10857,7 +11141,7 @@ while (ptr_group || ptr_nick)
|
||||
/* group */
|
||||
/* ... */
|
||||
}
|
||||
gui_nicklist_get_next_item (buffer, &ptr_group, &ptr_nick);
|
||||
weechat_nicklist_get_next_item (buffer, &ptr_group, &ptr_nick);
|
||||
}
|
||||
----------------------------------------
|
||||
|
||||
@@ -11342,9 +11626,9 @@ Prototype:
|
||||
[source,C]
|
||||
----------------------------------------
|
||||
struct t_gui_bar_item *weechat_bar_item_new (const char *name,
|
||||
char *(build_callback)(void *data,
|
||||
struct t_gui_bar_item *item,
|
||||
struct t_gui_window *window),
|
||||
char *(*build_callback)(void *data,
|
||||
struct t_gui_bar_item *item,
|
||||
struct t_gui_window *window),
|
||||
void *build_callback_data);
|
||||
----------------------------------------
|
||||
|
||||
@@ -11734,7 +12018,7 @@ void weechat_command (struct t_gui_buffer *buffer, const char *command);
|
||||
Arguments:
|
||||
|
||||
* 'buffer': buffer pointer (command is executed on this buffer, use NULL for
|
||||
WeeChat core buffer)
|
||||
current buffer)
|
||||
* 'command': command to execute (if beginning with a "/"), or text to send to
|
||||
buffer
|
||||
|
||||
@@ -12243,10 +12527,10 @@ C example:
|
||||
----------------------------------------
|
||||
char buffer[256];
|
||||
/* ... */
|
||||
struct t_infolist_var *var = weechat_infolist_new_variable_buffer (item,
|
||||
"my_buffer",
|
||||
&buffer,
|
||||
sizeof (buffer));
|
||||
struct t_infolist_var *var = weechat_infolist_new_var_buffer (item,
|
||||
"my_buffer",
|
||||
&buffer,
|
||||
sizeof (buffer));
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
@@ -12280,9 +12564,9 @@ C example:
|
||||
|
||||
[source,C]
|
||||
----------------------------------------
|
||||
struct t_infolist_var *var = weechat_infolist_new_variable_time (item,
|
||||
"my_time",
|
||||
time (NULL));
|
||||
struct t_infolist_var *var = weechat_infolist_new_var_time (item,
|
||||
"my_time",
|
||||
time (NULL));
|
||||
----------------------------------------
|
||||
|
||||
Script (Python):
|
||||
@@ -12770,7 +13054,7 @@ something in memory pointed by hdata variables.
|
||||
weechat_hdata_new
|
||||
^^^^^^^^^^^^^^^^^
|
||||
|
||||
_New in version 0.3.6, updated in 0.3.9._
|
||||
_New in version 0.3.6, updated in 0.3.9 and 0.4.0._
|
||||
|
||||
Create a new hdata.
|
||||
|
||||
@@ -12790,7 +13074,7 @@ Prototype:
|
||||
[source,C]
|
||||
----------------------------------------
|
||||
struct t_hdata *weechat_hdata_new (const char *hdata_name, const char *var_prev, const char *var_next,
|
||||
int delete_allowed,
|
||||
int create_allowed, int delete_allowed,
|
||||
int (*callback_update)(void *data,
|
||||
struct t_hdata *hdata,
|
||||
void *pointer,
|
||||
@@ -12805,6 +13089,8 @@ Arguments:
|
||||
element in list (may be NULL if no such variable is available)
|
||||
* 'var_next': name of variable in structure which is a pointer to next
|
||||
element in list (may be NULL if no such variable is available)
|
||||
* 'create_allowed': 1 if create of structure is allowed, otherwise 0
|
||||
(_new in version 0.4.0_)
|
||||
* 'delete_allowed': 1 if delete of structure is allowed, otherwise 0
|
||||
(_new in version 0.3.9_)
|
||||
* 'callback_update': callback to update data in hdata, can be NULL if no update
|
||||
@@ -12825,7 +13111,7 @@ C example:
|
||||
|
||||
[source,C]
|
||||
----------------------------------------
|
||||
struct t_hdata *hdata = weechat_hdata_new ("myplugin_list", "prev", "next", 0, &callback_update, NULL);
|
||||
struct t_hdata *hdata = weechat_hdata_new ("myplugin_list", "prev", "next", 0, 0, &callback_update, NULL);
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
@@ -13516,7 +13802,7 @@ Script (Python):
|
||||
pointer = weechat.hdata_move(hdata, pointer, count)
|
||||
|
||||
# example
|
||||
hdata = weechat_hdata_get("buffer")
|
||||
hdata = weechat.hdata_get("buffer")
|
||||
buffer = weechat.buffer_search_main()
|
||||
|
||||
# move to next buffer, 2 times
|
||||
@@ -13527,6 +13813,67 @@ if buffer:
|
||||
buffer = weechat.hdata_move(hdata, buffer, -1)
|
||||
----------------------------------------
|
||||
|
||||
weechat_hdata_search
|
||||
^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
_New in version 0.4.1._
|
||||
|
||||
Search element in a list: the expression 'search' is evaluated for each element
|
||||
in list, until element is found (or end of list).
|
||||
|
||||
Prototype:
|
||||
|
||||
[source,C]
|
||||
----------------------------------------
|
||||
void *weechat_hdata_search (struct t_hdata *hdata, void *pointer, const char *search, int move);
|
||||
----------------------------------------
|
||||
|
||||
Arguments:
|
||||
|
||||
* 'hdata': hdata pointer
|
||||
* 'pointer': pointer to a WeeChat/plugin object
|
||||
* 'search': expression to evaluate, default pointer in expression is the name of
|
||||
hdata (and this pointer changes for each element in list); for help on
|
||||
expression, see command `/eval` in 'WeeChat User's guide'
|
||||
* 'move': number of jump(s) to execute after unsuccessful search (negative or
|
||||
positive integer, different from 0)
|
||||
|
||||
Return value:
|
||||
|
||||
* pointer to element found, NULL if not found
|
||||
|
||||
C example:
|
||||
|
||||
[source,C]
|
||||
----------------------------------------
|
||||
struct t_hdata *hdata = weechat_hdata_get ("irc_server");
|
||||
void *servers = weechat_hdata_get (hdata, "irc_servers");
|
||||
|
||||
/* search irc server with name "freenode" */
|
||||
void *server = weechat_hdata_search (hdata, servers, "${irc_server.name} == freenode", 1);
|
||||
if (server)
|
||||
{
|
||||
/* ... */
|
||||
}
|
||||
----------------------------------------
|
||||
|
||||
Script (Python):
|
||||
|
||||
[source,python]
|
||||
----------------------------------------
|
||||
# prototype
|
||||
pointer = weechat.hdata_search(hdata, pointer, search, count)
|
||||
|
||||
# example
|
||||
hdata = weechat.hdata_get("irc_server")
|
||||
servers = weechat.hdata_get_list(hdata, "irc_servers")
|
||||
|
||||
# search irc server with name "freenode"
|
||||
server = weechat.hdata_search(hdata, servers, "${irc_server.name} == freenode", 1)
|
||||
if server:
|
||||
# ...
|
||||
----------------------------------------
|
||||
|
||||
weechat_hdata_char
|
||||
^^^^^^^^^^^^^^^^^^
|
||||
|
||||
@@ -13937,11 +14284,13 @@ Arguments:
|
||||
* 'hashtable': variables to update: keys are name of variables, values are new
|
||||
values for variables (keys and values are string), some special keys are
|
||||
allowed:
|
||||
** key '__delete_allowed' (with any value): return 1 if delete is allowed for
|
||||
** key `__create_allowed` (with any value): return 1 if create is allowed for
|
||||
structure, otherwise 0 (_new in version 0.4.0_)
|
||||
** key `__delete_allowed` (with any value): return 1 if delete is allowed for
|
||||
structure, otherwise 0
|
||||
** key '__update_allowed', value is name of a variable: return 1 if update is
|
||||
** key `__update_allowed`, value is name of a variable: return 1 if update is
|
||||
allowed for this variable, otherwise 0
|
||||
** key '__delete' (with any value): delete structure (if allowed)
|
||||
** key `__delete` (with any value): delete structure (if allowed)
|
||||
|
||||
Return value:
|
||||
|
||||
@@ -14044,8 +14393,8 @@ C example:
|
||||
|
||||
[source,C]
|
||||
----------------------------------------
|
||||
weechat_printf (NULL, "variables in hdata: %s" weechat_hdata_get_string (hdata, "var_keys"));
|
||||
weechat_printf (NULL, "lists in hdata: %s" weechat_hdata_get_string (hdata, "list_keys"));
|
||||
weechat_printf (NULL, "variables in hdata: %s", weechat_hdata_get_string (hdata, "var_keys"));
|
||||
weechat_printf (NULL, "lists in hdata: %s", weechat_hdata_get_string (hdata, "list_keys"));
|
||||
----------------------------------------
|
||||
|
||||
Script (Python):
|
||||
|
||||
@@ -10,17 +10,35 @@ Start WeeChat
|
||||
A recommended terminal emulator for X (but not mandatory) is rxvt-unicode
|
||||
(it has good UTF-8 support, and no problem with default keyboard bindings).
|
||||
|
||||
Run "weechat-curses" from your shell.
|
||||
Run from your shell:
|
||||
|
||||
----------------------------------------
|
||||
$ weechat-curses
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[help_options]]
|
||||
Online help / options
|
||||
---------------------
|
||||
|
||||
WeeChat has help for all commands, just issue /help
|
||||
To get help on a specific command, issue `/help command`
|
||||
WeeChat has help for all commands, just issue:
|
||||
|
||||
----------------------------------------
|
||||
/help
|
||||
----------------------------------------
|
||||
|
||||
To get help on a specific command, issue:
|
||||
|
||||
----------------------------------------
|
||||
/help command
|
||||
----------------------------------------
|
||||
|
||||
To set options, issue:
|
||||
|
||||
----------------------------------------
|
||||
/set config.section.option value
|
||||
----------------------------------------
|
||||
|
||||
To set options, use `/set config.section.option value`
|
||||
(where `config` is configuration name (`weechat` for core, or a plugin
|
||||
name), `section` the section of this configuration and `option` the
|
||||
option name).
|
||||
@@ -32,17 +50,29 @@ You can use `/set` option with partial name and wildcard "*" at the beginning
|
||||
or end to display all options containing letters.
|
||||
For example:
|
||||
|
||||
`/set`::
|
||||
display all options (WeeChat and plugins)
|
||||
* display all options (WeeChat and plugins):
|
||||
|
||||
`/set weechat.*`::
|
||||
display WeeChat options
|
||||
----------------------------------------
|
||||
/set
|
||||
----------------------------------------
|
||||
|
||||
`/set irc.*`::
|
||||
display IRC plugin options
|
||||
* display WeeChat options:
|
||||
|
||||
----------------------------------------
|
||||
/set weechat.*
|
||||
----------------------------------------
|
||||
|
||||
* display IRC plugin options:
|
||||
|
||||
----------------------------------------
|
||||
/set irc.*
|
||||
----------------------------------------
|
||||
|
||||
You can display help for an option with `/help`, for example:
|
||||
`/help weechat.look.highlight`.
|
||||
|
||||
----------------------------------------
|
||||
/help weechat.look.highlight
|
||||
----------------------------------------
|
||||
|
||||
All settings are saved when WeeChat ends (or with `/save` command to force
|
||||
a write of the options).
|
||||
@@ -71,9 +101,15 @@ Create an IRC server
|
||||
|
||||
You can add an IRC server with `/server` command, for example:
|
||||
|
||||
/server add oftc irc.oftc.net/6667
|
||||
----------------------------------------
|
||||
/server add oftc irc.oftc.net/6667
|
||||
----------------------------------------
|
||||
|
||||
As usual, help is available if you're lost: `/help server`
|
||||
As usual, help is available if you're lost:
|
||||
|
||||
----------------------------------------
|
||||
/help server
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[irc_server_options]]
|
||||
@@ -90,44 +126,70 @@ For each server option, WeeChat uses its value if it is defined (not
|
||||
For example there's default nicks (based on your un*x login), and you can
|
||||
override them for oftc server with following command:
|
||||
|
||||
/set irc.server.oftc.nicks "mynick1,mynick2,mynick3,mynick4,mynick5"
|
||||
----------------------------------------
|
||||
/set irc.server.oftc.nicks "mynick,mynick2,mynick3,mynick4,mynick5"
|
||||
----------------------------------------
|
||||
|
||||
To set username and realname:
|
||||
|
||||
/set irc.server.oftc.username "My user name"
|
||||
/set irc.server.oftc.realname "My real name"
|
||||
----------------------------------------
|
||||
/set irc.server.oftc.username "My user name"
|
||||
/set irc.server.oftc.realname "My real name"
|
||||
----------------------------------------
|
||||
|
||||
To enable auto-connect to server at startup:
|
||||
|
||||
/set irc.server.oftc.autoconnect on
|
||||
----------------------------------------
|
||||
/set irc.server.oftc.autoconnect on
|
||||
----------------------------------------
|
||||
|
||||
To run a command after connection to server, for example to identify
|
||||
with nickserv:
|
||||
If SASL is available on server, you can use it for authentication (you will be
|
||||
identified before you join channels):
|
||||
|
||||
/set irc.server.oftc.command "/msg nickserv identify xxxxxx"
|
||||
----------------------------------------
|
||||
/set irc.server_default.sasl_mechanism dh-blowfish
|
||||
/set irc.server.oftc.sasl_username "mynick"
|
||||
/set irc.server.oftc.sasl_password "xxxxxxx"
|
||||
----------------------------------------
|
||||
|
||||
Note: many commands can be separated by ';' (semi-colon)
|
||||
To run a command after connection to server, for example to authenticate
|
||||
with nickserv (only if you don't use SASL for authentication):
|
||||
|
||||
----------------------------------------
|
||||
/set irc.server.oftc.command "/msg nickserv identify xxxxxxx"
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
Many commands can be separated by ';' (semi-colon).
|
||||
|
||||
To auto-join some channels when connecting to server:
|
||||
|
||||
/set irc.server.oftc.autojoin "#channel1,#channel2"
|
||||
----------------------------------------
|
||||
/set irc.server.oftc.autojoin "#channel1,#channel2"
|
||||
----------------------------------------
|
||||
|
||||
To remove a value of a server option, and use the default value instead,
|
||||
for example to use default nicks (irc.server_default.nicks):
|
||||
|
||||
/set irc.server.oftc.nicks null
|
||||
----------------------------------------
|
||||
/set irc.server.oftc.nicks null
|
||||
----------------------------------------
|
||||
|
||||
Other options: you can setup other options with following command ("xxx" is
|
||||
option name):
|
||||
|
||||
/set irc.server.oftc.xxx value
|
||||
----------------------------------------
|
||||
/set irc.server.oftc.xxx value
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[connect_to_irc_server]]
|
||||
Connect to IRC server and auto-join channels
|
||||
--------------------------------------------
|
||||
|
||||
/connect oftc
|
||||
----------------------------------------
|
||||
/connect oftc
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
This command can be used to create and connect to a new server without using
|
||||
@@ -140,21 +202,32 @@ between 'core' buffer and server buffers, you can use ctrl-X.
|
||||
It is possible to disable auto merge of server buffers to have independent
|
||||
server buffers:
|
||||
|
||||
/set irc.look.server_buffer independent
|
||||
----------------------------------------
|
||||
/set irc.look.server_buffer independent
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[join_part_irc_channels]]
|
||||
Join/part IRC channels
|
||||
----------------------
|
||||
|
||||
`/join #channel`::
|
||||
join a channel
|
||||
Join a channel:
|
||||
|
||||
`/part [quit message]`::
|
||||
part a channel (keeping buffer open)
|
||||
----------------------------------------
|
||||
/join #channel
|
||||
----------------------------------------
|
||||
|
||||
`/close [quit message]`::
|
||||
close server or channel buffer (`/close` is an alias for `/buffer close`)
|
||||
Part a channel (keeping buffer open):
|
||||
|
||||
----------------------------------------
|
||||
/part [quit message]
|
||||
----------------------------------------
|
||||
|
||||
Close server or channel buffer (`/close` is an alias for `/buffer close`):
|
||||
|
||||
----------------------------------------
|
||||
/close
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[buffer_window]]
|
||||
@@ -170,15 +243,19 @@ with many buffers at same time.
|
||||
|
||||
Commands to manage buffers and windows:
|
||||
|
||||
/buffer
|
||||
/window
|
||||
----------------------------------------
|
||||
/buffer
|
||||
/window
|
||||
----------------------------------------
|
||||
|
||||
(I'll not repeat here that you can get help with /help on these commands)
|
||||
|
||||
For example, to vertically split your screen into a small window (1/3 width),
|
||||
and a large window (2/3), use command:
|
||||
|
||||
/window splitv 33
|
||||
----------------------------------------
|
||||
/window splitv 33
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[key_bindings]]
|
||||
@@ -202,15 +279,21 @@ A useful key is meta-k (alt-k) to find key codes.
|
||||
|
||||
For example, to bind meta-y (alt-y) to command `/buffer close`:
|
||||
|
||||
/key bind (press meta-k) (press meta-y) /buffer close
|
||||
----------------------------------------
|
||||
/key bind (press meta-k) (press meta-y) /buffer close
|
||||
----------------------------------------
|
||||
|
||||
You'll have a command line like:
|
||||
|
||||
/key bind meta-y /buffer close
|
||||
----------------------------------------
|
||||
/key bind meta-y /buffer close
|
||||
----------------------------------------
|
||||
|
||||
To remove key:
|
||||
|
||||
/key unbind meta-y
|
||||
----------------------------------------
|
||||
/key unbind meta-y
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[plugins_scripts]]
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
+126
-30
@@ -56,6 +56,15 @@ Ruby
|
||||
|
||||
* You have to define 'weechat_init' and call 'register' inside
|
||||
* Functions are called with `Weechat.xxx(arg1, arg2, ...)`
|
||||
* Due to a limitation of Ruby (15 arguments max by function), the function
|
||||
`Weechat.config_new_option` receives the callbacks in an array of 6 strings
|
||||
(3 callbacks + 3 data strings), so a call to this function looks like:
|
||||
|
||||
[source,ruby]
|
||||
----------------------------------------
|
||||
Weechat.config_new_option(config, section, "name", "string", "description of option", "", 0, 0,
|
||||
"value", "value", 0, ["check_cb", "", "change_cb", "", "delete_cb", ""])
|
||||
----------------------------------------
|
||||
|
||||
Lua
|
||||
^^^
|
||||
@@ -99,9 +108,10 @@ Arguments:
|
||||
* 'version': string, script version
|
||||
* 'license': string, script license
|
||||
* 'description': string, short description of script
|
||||
* 'shutdown_function': string, name of function called when script is unloaded (optional)
|
||||
* 'charset': string, script charset (optional, if your script is UTF-8, you
|
||||
can use blank value here, because UTF-8 is default charset)
|
||||
* 'shutdown_function': string, name of function called when script is unloaded
|
||||
(can be empty string)
|
||||
* 'charset': string, script charset (if your script is UTF-8, you can use blank
|
||||
value here, because UTF-8 is default charset)
|
||||
|
||||
Example of script, for each language:
|
||||
|
||||
@@ -162,7 +172,18 @@ weechat::print "" "Hello, from tcl script!"
|
||||
Load script
|
||||
~~~~~~~~~~~
|
||||
|
||||
You have to use command, depending on language:
|
||||
It is recommended to use the "script" plugin to load scripts, for example:
|
||||
|
||||
----------------------------------------
|
||||
/script load script.py
|
||||
/script load script.pl
|
||||
/script load script.rb
|
||||
/script load script.lua
|
||||
/script load script.tcl
|
||||
/script load script.scm
|
||||
----------------------------------------
|
||||
|
||||
Each language has also its own command:
|
||||
|
||||
----------------------------------------
|
||||
/python load python/script.py
|
||||
@@ -183,6 +204,10 @@ $ cd ~/.weechat/python/autoload
|
||||
$ ln -s ../script.py
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
When installing a script with command `/script install` the link in 'autoload'
|
||||
directory is automatically created.
|
||||
|
||||
[[differences_with_c_api]]
|
||||
Differences with C API
|
||||
----------------------
|
||||
@@ -199,18 +224,22 @@ a 'script' is a text file loaded with a plugin like 'python' with command
|
||||
When your script 'test.py' calls a WeeChat API function, path is like that:
|
||||
|
||||
........................................
|
||||
(script API) (C API)
|
||||
\/ \/
|
||||
test.py -------> python plugin (python.so) -------> WeeChat core
|
||||
┌──────────────────────┐ ╔══════════════════╗
|
||||
│ python plugin │ ║ WeeChat "core" ║
|
||||
├────────────┬─────────┤ ╟─────────┐ ║
|
||||
test.py ─────► │ script API │ C API │ ─────► ║ C API │ ║
|
||||
└────────────┴─────────┘ ╚═════════╧════════╝
|
||||
........................................
|
||||
|
||||
When WeeChat calls a callback in your script 'test.py', it's reverse of
|
||||
previous path:
|
||||
|
||||
........................................
|
||||
(C API) (script API)
|
||||
\/ \/
|
||||
WeeChat core -------> python plugin (python.so) -------> test.py
|
||||
╔══════════════════╗ ┌──────────────────────┐
|
||||
║ WeeChat "core" ║ │ python plugin │
|
||||
║ ┌─────────╢ ├─────────┬────────────┤
|
||||
║ │ C API ║ ─────► │ C API │ script API │ ─────► test.py
|
||||
╚════════╧═════════╝ └─────────┴────────────┘
|
||||
........................................
|
||||
|
||||
[[pointers]]
|
||||
@@ -250,16 +279,78 @@ Almost all WeeChat callbacks must return WEECHAT_RC_OK or WEECHAT_RC_ERROR
|
||||
C callbacks are using a "data" argument, which is a pointer. In script API,
|
||||
this "data" is a string with a any value (it's not a pointer).
|
||||
|
||||
For example:
|
||||
Example of callback, for each language:
|
||||
|
||||
* python:
|
||||
|
||||
[source,python]
|
||||
----------------------------------------
|
||||
weechat.hook_timer(1000, 0, 1, "my_timer_cb", "my data")
|
||||
|
||||
def my_timer_cb(data, remaining_calls):
|
||||
# this will display: "my data"
|
||||
weechat.prnt("", data)
|
||||
def timer_cb(data, remaining_calls):
|
||||
weechat.prnt("", "timer! data=%s" % data)
|
||||
return weechat.WEECHAT_RC_OK
|
||||
|
||||
weechat.hook_timer(1000, 0, 1, "timer_cb", "test")
|
||||
----------------------------------------
|
||||
|
||||
* perl:
|
||||
|
||||
[source,perl]
|
||||
----------------------------------------
|
||||
sub timer_cb {
|
||||
my ($data, $remaining_calls) = @_;
|
||||
weechat::print("", "timer! data=$data");
|
||||
return weechat::WEECHAT_RC_OK;
|
||||
}
|
||||
|
||||
weechat::hook_timer(1000, 0, 1, "timer_cb", "test");
|
||||
----------------------------------------
|
||||
|
||||
* ruby:
|
||||
|
||||
[source,ruby]
|
||||
----------------------------------------
|
||||
def timer_cb(data, remaining_calls)
|
||||
Weechat.print("", "timer! data=#{data}");
|
||||
return Weechat::WEECHAT_RC_OK
|
||||
end
|
||||
|
||||
Weechat.hook_timer(1000, 0, 1, "timer_cb", "test");
|
||||
----------------------------------------
|
||||
|
||||
* lua:
|
||||
|
||||
[source,lua]
|
||||
----------------------------------------
|
||||
function timer_cb(data, remaining_calls)
|
||||
weechat.print("", "timer! data="..data)
|
||||
return weechat.WEECHAT_RC_OK
|
||||
end
|
||||
|
||||
weechat.hook_timer(1000, 0, 1, "timer_cb", "test")
|
||||
----------------------------------------
|
||||
|
||||
* tcl:
|
||||
|
||||
[source,tcl]
|
||||
----------------------------------------
|
||||
proc timer_cb { data remaining_calls } {
|
||||
weechat::print {} "timer! data=$data"
|
||||
return $::weechat::WEECHAT_RC_OK
|
||||
}
|
||||
|
||||
weechat::hook_timer 1000 0 1 timer_cb test
|
||||
----------------------------------------
|
||||
|
||||
* guile (scheme):
|
||||
|
||||
[source,lisp]
|
||||
----------------------------------------
|
||||
(define (timer_cb data remaining_calls)
|
||||
(weechat:print "" (string-append "timer! data=" data))
|
||||
weechat:WEECHAT_RC_OK
|
||||
)
|
||||
|
||||
(weechat:hook_timer 1000 0 1 "timer_cb" "test")
|
||||
----------------------------------------
|
||||
|
||||
[[script_api]]
|
||||
@@ -286,7 +377,7 @@ List of functions in script API:
|
||||
charset_set, iconv_to_internal, iconv_from_internal, gettext, ngettext, +
|
||||
string_match, string_has_highlight, string_has_highlight_regex,
|
||||
string_mask_to_regex, string_remove_color, string_is_command_char,
|
||||
string_input_for_buffer
|
||||
string_input_for_buffer, string_eval_expression
|
||||
| directories |
|
||||
mkdir_home, mkdir, mkdir_parents
|
||||
| sorted lists |
|
||||
@@ -347,9 +438,10 @@ List of functions in script API:
|
||||
infolist_time, infolist_free
|
||||
| hdata |
|
||||
hdata_get, hdata_get_var_offset, hdata_get_var_type_string,
|
||||
hdata_get_var_array_size, hdata_get_var_array_size_string,
|
||||
hdata_get_var_hdata, hdata_get_list, hdata_check_pointer, hdata_move,
|
||||
hdata_char, hdata_integer, hdata_long, hdata_string, hdata_pointer,
|
||||
hdata_time, hdata_hashtable, hdata_get_string
|
||||
hdata_search, hdata_char, hdata_integer, hdata_long, hdata_string,
|
||||
hdata_pointer, hdata_time, hdata_hashtable, hdata_update, hdata_get_string
|
||||
| upgrade |
|
||||
upgrade_new, upgrade_write_object, upgrade_read, upgrade_close
|
||||
|========================================
|
||||
@@ -385,7 +477,8 @@ List of constants in script API:
|
||||
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_CONNECT_TIMEOUT
|
||||
WEECHAT_HOOK_CONNECT_MEMORY_ERROR, WEECHAT_HOOK_CONNECT_TIMEOUT,
|
||||
WEECHAT_HOOK_CONNECT_SOCKET_ERROR
|
||||
| hook signal |
|
||||
WEECHAT_HOOK_SIGNAL_STRING, WEECHAT_HOOK_SIGNAL_INT, WEECHAT_HOOK_SIGNAL_POINTER
|
||||
|========================================
|
||||
@@ -632,21 +725,24 @@ in callback (standard output of process):
|
||||
|
||||
[source,python]
|
||||
----------------------------------------
|
||||
# Display versions of Linux kernels.
|
||||
kernel_txt = ""
|
||||
# Display current stable version of WeeChat.
|
||||
weechat_version = ""
|
||||
|
||||
def kernel_process_cb(data, command, rc, out, err):
|
||||
global kernel_txt
|
||||
def weechat_process_cb(data, command, rc, out, err):
|
||||
global weechat_version
|
||||
if out != "":
|
||||
kernel_txt += out
|
||||
weechat_version += out
|
||||
if int(rc) >= 0:
|
||||
weechat.prnt("", kernel_txt)
|
||||
weechat.prnt("", "Current WeeChat stable is: %s" % weechat_version)
|
||||
return weechat.WEECHAT_RC_OK
|
||||
|
||||
weechat.hook_process("url:http://www.kernel.org/kdist/finger_banner",
|
||||
30 * 1000, "kernel_process_cb", "")
|
||||
weechat.hook_process("url:http://weechat.org/info/stable/",
|
||||
30 * 1000, "weechat_process_cb", "")
|
||||
----------------------------------------
|
||||
|
||||
[TIP]
|
||||
All infos available about WeeChat are on page http://weechat.org/info
|
||||
|
||||
Example of URL transfer with an option: download latest WeeChat development
|
||||
package in file '/tmp/weechat-devel.tar.gz':
|
||||
|
||||
@@ -685,7 +781,7 @@ script_options = {
|
||||
"option2" : "value2",
|
||||
"option3" : "value3",
|
||||
}
|
||||
for option, default_value in script_options.iteritems():
|
||||
for option, default_value in script_options.items():
|
||||
if not weechat.config_is_set_plugin(option):
|
||||
weechat.config_set_plugin(option, default_value)
|
||||
----------------------------------------
|
||||
@@ -789,7 +885,7 @@ message received, so that you can modify it.
|
||||
----------------------------------------
|
||||
def modifier_cb(data, modifier, modifier_data, string):
|
||||
# add server name to all messages received
|
||||
# (ok that's not very useful, but that's just an example!)
|
||||
# (OK that's not very useful, but that's just an example!)
|
||||
return "%s %s" % (string, modifier_data)
|
||||
|
||||
weechat.hook_modifier("irc_in_privmsg", "modifier_cb", "")
|
||||
|
||||
@@ -94,7 +94,7 @@ $ make install
|
||||
If you don't have cmake, it's still possible to use autotools:
|
||||
|
||||
----------------------------------------------------------
|
||||
$ ./autogen.sh # (only if you cloned git repository)
|
||||
$ ./autogen.sh
|
||||
$ ./configure --prefix=$HOME/weechat-git
|
||||
$ make
|
||||
$ make install
|
||||
|
||||
+377
-119
@@ -26,11 +26,11 @@ Main features are:
|
||||
* multi-servers connection (with SSL, IPv6, proxy)
|
||||
* small, fast and light
|
||||
* customizable and extensible with plugins and scripts
|
||||
* compliant with IRC RFCs http://www.ietf.org/rfc/rfc1459.txt[1459],
|
||||
http://www.ietf.org/rfc/rfc2810.txt[2810],
|
||||
http://www.ietf.org/rfc/rfc2811.txt[2811],
|
||||
http://www.ietf.org/rfc/rfc2812.txt[2812] and
|
||||
http://www.ietf.org/rfc/rfc2813.txt[2813]
|
||||
* compliant with IRC RFCs http://tools.ietf.org/html/rfc1459[1459],
|
||||
http://tools.ietf.org/html/rfc2810[2810],
|
||||
http://tools.ietf.org/html/rfc2811[2811],
|
||||
http://tools.ietf.org/html/rfc2812[2812] and
|
||||
http://tools.ietf.org/html/rfc2813[2813]
|
||||
* multi-platform (GNU/Linux, *BSD, MacOS X, Windows and other)
|
||||
* 100% GPL, free software
|
||||
|
||||
@@ -47,7 +47,6 @@ In order to install WeeChat, you need:
|
||||
* 'root' privileges (to install WeeChat in a system directory)
|
||||
* ncurses library
|
||||
|
||||
|
||||
[[install]]
|
||||
Installation
|
||||
------------
|
||||
@@ -92,17 +91,17 @@ compile WeeChat.
|
||||
| libncursesw5-dev ^(2)^ | | *yes* | ncurses interface
|
||||
| libcurl4-gnutls-dev | | *yes* | URL transfer
|
||||
| zlib1g-dev | | *yes* | compression of packets in relay plugin (weechat protocol), script plugin
|
||||
| libgcrypt11-dev | | *yes* | SASL authentication with IRC server using DH-BLOWFISH mechanism, script plugin
|
||||
| libgcrypt11-dev | | *yes* | IRC SASL authentication (DH-BLOWFISH/DH-AES), script plugin
|
||||
| libgnutls-dev | ≥ 2.2.0 | | SSL connection to IRC server, support of SSL in relay plugin
|
||||
| gettext | | | internationalization (translation of messages; base language is english)
|
||||
| gettext | | | internationalization (translation of messages; base language is English)
|
||||
| ca-certificates | | | certificates for SSL connections
|
||||
| libaspell-dev | | | aspell plugin
|
||||
| python-dev | ≥ 2.5 ^(3)^ | | python plugin
|
||||
| libperl-dev | | | perl plugin
|
||||
| ruby1.8-dev | | | ruby plugin
|
||||
| ruby1.9.1-dev | ≥ 1.8 | | ruby plugin
|
||||
| liblua5.1-0-dev | | | lua plugin
|
||||
| tcl-dev | ≥ 8.5 | | tcl plugin
|
||||
| guile-1.8-dev | | | guile (scheme) plugin
|
||||
| guile-2.0-dev | ≥ 2.0 | | guile (scheme) plugin
|
||||
| asciidoc | ≥ 8.5.0 | | build documentation (HTML files)
|
||||
| source-highlight | | | syntax highlight for sources in HTML documentation
|
||||
|========================================
|
||||
@@ -143,9 +142,15 @@ $ make install
|
||||
Compile with autotools
|
||||
^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
[WARNING]
|
||||
Only cmake is officially supported to build WeeChat. You should use autotools
|
||||
only if you are not able to use cmake. +
|
||||
Build with autotools requires more dependencies and is slower than with cmake.
|
||||
|
||||
* Installation in system directories (requires 'root' privileges):
|
||||
|
||||
----------------------------------------
|
||||
$ ./autogen.sh
|
||||
$ ./configure
|
||||
$ make
|
||||
% make install (as root)
|
||||
@@ -154,6 +159,7 @@ $ make
|
||||
* Installation in custom directory:
|
||||
|
||||
----------------------------------------
|
||||
$ ./autogen.sh
|
||||
$ ./configure --prefix=/path/to/directory
|
||||
$ make
|
||||
$ make install
|
||||
@@ -163,21 +169,15 @@ $ make install
|
||||
Git sources
|
||||
~~~~~~~~~~~
|
||||
|
||||
Warning: GIT sources are for advanced users: it may not compile or not be
|
||||
Warning: git sources are for advanced users: it may not compile or not be
|
||||
stable. You're warned!
|
||||
|
||||
To get GIT sources, issue this command:
|
||||
To get git sources, issue this command:
|
||||
|
||||
----------------------------------------
|
||||
$ git clone git://git.sv.gnu.org/weechat.git
|
||||
----------------------------------------
|
||||
|
||||
If you're using autotools (and not cmake), execute this script:
|
||||
|
||||
----------------------------------------
|
||||
$ ./autogen.sh
|
||||
----------------------------------------
|
||||
|
||||
Then follow instructions for source package (see
|
||||
<<source_package,source package>>).
|
||||
|
||||
@@ -303,7 +303,6 @@ Then like for a crash, use command `bt full`:
|
||||
(gdb) bt full
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[usage]]
|
||||
Usage
|
||||
-----
|
||||
@@ -554,6 +553,218 @@ Example of vertical + horizontal splits:
|
||||
(buffer #3)
|
||||
........................................
|
||||
|
||||
[[bars]]
|
||||
Bars
|
||||
~~~~
|
||||
|
||||
A 'bar' is an area beside the chat that can contain any type of text.
|
||||
|
||||
The bar options can be set with options `weechat.bar.name.option` where `name`
|
||||
is the name of the bar and `option` the option for this bar.
|
||||
|
||||
List of bar options:
|
||||
|
||||
[width="100%",cols="2m,2,10",options="header"]
|
||||
|========================================
|
||||
| Option | Values | Description
|
||||
|
||||
| type | `root`, `window` |
|
||||
A bar with type `root` is displayed exactly one time on screen, outside all
|
||||
windows. There is no root bar by default, but an example is the bar 'buffers'
|
||||
created by script 'buffers.pl' (sidebar with list of buffers). +
|
||||
A bar with type `window` is displayed in each window, for example if you
|
||||
split one time the screen (with `/window splith` or `/window splitv`), you
|
||||
will have one bar in each window. The four default bars ('title', 'status',
|
||||
'input', 'nicklist') have type `window`.
|
||||
|
||||
| position | `top`, `bottom`, `left`, `right` |
|
||||
Position of the bar: above/below chat, on the left/right.
|
||||
|
||||
| priority | integer ≥ 0 |
|
||||
Priority for display of bar: this is used for ordering the bars on screen when
|
||||
many bars have same type and position. +
|
||||
The bars are displayed from the edge of the screen to the center. A higher
|
||||
priority will display bar at the beginning, so closer to the edge. +
|
||||
Example: 'input' bar has priority 1000, so it is displayed before the 'status'
|
||||
bar, which has priority 500.
|
||||
|
||||
| size | integer ≥ 0 |
|
||||
The size of the bar: number of columns for position left/right, number
|
||||
of lines for position top/bottom. A size of `0` means automatic, so the size
|
||||
will be computed according to content displayed in bar.
|
||||
|
||||
| size_max | integer ≥ 0 |
|
||||
The maximum size for a bar, `0` = no limit (this option is used only if
|
||||
`size` = `0`).
|
||||
|
||||
| color_bg | color |
|
||||
The default background color for the bar.
|
||||
|
||||
| color_fg | color |
|
||||
The default text color for the bar.
|
||||
|
||||
| color_delim | color |
|
||||
The color for delimiters in bar.
|
||||
|
||||
| hidden | `on`, `off` |
|
||||
When option is `on`, the bar is hidden. +
|
||||
Note: instead of changing this option, the command `/bar` is preferred, for
|
||||
example: `/bar toggle nicklist` (see command <<command_weechat_bar,/bar>>).
|
||||
|
||||
| separator | `on`, `off` |
|
||||
When option is `on`, a separator (line) is displayed between this bar and
|
||||
other bars (or chat).
|
||||
|
||||
| items | string |
|
||||
A list of 'items' (see <<bar_items,items>> for more info).
|
||||
|
||||
| filling_left_right | `horizontal`, `vertical`, `columns_horizontal`, `columns_vertical` |
|
||||
Type of filling for a bar which has position `left` or `right` (see
|
||||
<<bar_filling,filling>> for more info).
|
||||
|
||||
| filling_top_bottom | `horizontal`, `vertical`, `columns_horizontal`, `columns_vertical` |
|
||||
Type of filling for a bar which has position `top` or `bottom` (see
|
||||
<<bar_filling,filling>> for more info).
|
||||
|
||||
| conditions | string |
|
||||
The conditions to display the bar (see <<bar_conditions,conditions>> for more
|
||||
info).
|
||||
|========================================
|
||||
|
||||
[[bar_items]]
|
||||
Items
|
||||
^^^^^
|
||||
|
||||
The option 'items' is a string with a list of bar items, separated by a comma
|
||||
(space between items on screen) or "+" (glued items).
|
||||
|
||||
The list of bar items is displayed with command `/bar listitems`.
|
||||
|
||||
Example of bar with items "[time],buffer_number+:+buffer_plugin+.+buffer_name":
|
||||
|
||||
........................................
|
||||
┌─────────────────────────────────────────────────────────────────────────────────────────┐
|
||||
│[12:55] 3:irc/freenode.#weechat │
|
||||
└─────────────────────────────────────────────────────────────────────────────────────────┘
|
||||
........................................
|
||||
|
||||
[[bar_filling]]
|
||||
Filling
|
||||
^^^^^^^
|
||||
|
||||
There are four types of filling:
|
||||
|
||||
* `horizontal`: the items are displayed horizontally, from left to right. If
|
||||
there are new lines in items, a space is used to separate lines.
|
||||
* `vertical`: the items are displayed from top to bottom. If there are new
|
||||
lines in items, a new line is used to separate lines.
|
||||
* `columns_horizontal`: items are displayed using columns, where text is
|
||||
aligned on the left. The first item is on top left, the second is on same
|
||||
line, on the right.
|
||||
* `columns_vertical`: items are displayed using columns, where text is aligned
|
||||
on the left. The first item is on top left, the second is one line below.
|
||||
|
||||
Default bars 'title', 'status' and 'input' have 'horizontal' filling, and
|
||||
default bar 'nicklist' has 'vertical' filling.
|
||||
|
||||
Some examples of filling for bar 'nicklist':
|
||||
|
||||
........................................
|
||||
┌──────────────────────────────────────────────────┐
|
||||
│Welcome to #test, this is a test channel │
|
||||
│12:54:15 peter | hey! │@carl │
|
||||
│12:55:01 +Max | hello │@jessika│
|
||||
│ │@maddy │
|
||||
│ │%Diego │
|
||||
│ │%Melody │
|
||||
│ │+Max │
|
||||
│ │ celia │
|
||||
│ │ Eva │
|
||||
│ │ freddy │
|
||||
│ │ Harold^│
|
||||
│ │ henry4 │
|
||||
│ │ jimmy17│
|
||||
│ │ jodie ▼│
|
||||
│[12:55] [6] [irc/freenode] 3:#test(+n){24} │
|
||||
└──────────────────────────────────────────────────┘
|
||||
filling_left_right = vertical ▲
|
||||
|
||||
┌──────────────────────────────────────────────────┐
|
||||
│Welcome to #test, this is a test channel │
|
||||
│12:54:15 peter | hey! │@carl lee │
|
||||
│12:55:01 +Max | hello │@jessika louise │
|
||||
│ │@maddy mario │
|
||||
│ │%Diego mark │
|
||||
│ │%Melody peter │
|
||||
│ │+Max Rachel │
|
||||
│ │ celia richard│
|
||||
│ │ Eva sheryl │
|
||||
│ │ freddy Vince │
|
||||
│ │ Harold^ warren │
|
||||
│ │ henry4 zack │
|
||||
│ │ jimmy17 │
|
||||
│ │ jodie │
|
||||
│[12:55] [6] [irc/freenode] 3:#test(+n){24} │
|
||||
└──────────────────────────────────────────────────┘
|
||||
filling_left_right = columns_vertical ▲
|
||||
|
||||
┌───────────────────────────────────────────────────────────────────────┐
|
||||
│@carl %Diego celia Harold^ jodie mario Rachel Vince │
|
||||
│@jessika %Melody Eva henry4 lee mark richard warren │
|
||||
│@maddy +Max freddy jimmy17 louise peter sheryl zack │
|
||||
│───────────────────────────────────────────────────────────────────────│
|
||||
│ │
|
||||
filling_top_bottom = columns_vertical ▲
|
||||
|
||||
┌───────────────────────────────────────────────────────────────────────┐
|
||||
│@carl @jessika @maddy %Diego %Melody +Max celia Eva │
|
||||
│ freddy Harold^ henry4 jimmy17 jodie lee louise mario │
|
||||
│ mark peter Rachel richard sheryl Vince warren zack │
|
||||
│───────────────────────────────────────────────────────────────────────│
|
||||
│ │
|
||||
filling_top_bottom = columns_horizontal ▲
|
||||
........................................
|
||||
|
||||
[[bar_conditions]]
|
||||
Conditions
|
||||
^^^^^^^^^^
|
||||
|
||||
The option 'conditions' is a string evaluated to know if the bar is displayed
|
||||
or not in the window (it is used only for bars with type 'window').
|
||||
|
||||
The string can be:
|
||||
|
||||
* 'active': the window must be active
|
||||
* 'inactive': the window must be inactive
|
||||
* 'nicklist': the buffer displayed in window must have a nicklist
|
||||
* an expression: it is evaluated as boolean (see command
|
||||
<<command_weechat_eval,/eval>>)
|
||||
|
||||
For the expression, following variables are available:
|
||||
|
||||
* `${active}`: true if window is active
|
||||
* `${inactive}`: true if window is inactive
|
||||
* `${nicklist}`: true if buffer displayed in window has a nicklist
|
||||
|
||||
Following pointers are available:
|
||||
|
||||
* `${window}`: the window where condition is evaluated
|
||||
* `${buffer}`: the buffer of window where condition is evaluated
|
||||
|
||||
Example to display nicklist bar in all buffers with a nicklist, and only if
|
||||
width of window is > 100 :
|
||||
|
||||
----------------------------------------
|
||||
/set weechat.bar.nicklist.conditions "${nicklist} && ${window.win_width} > 100"
|
||||
----------------------------------------
|
||||
|
||||
Same condition, but always display nicklist on buffer '&bitlbee' (even if window
|
||||
is small):
|
||||
|
||||
----------------------------------------
|
||||
/set weechat.bar.nicklist.conditions "${nicklist} && (${window.win_width} > 100 || ${buffer.full_name} == irc.bitlbee.&bitlbee)"
|
||||
----------------------------------------
|
||||
|
||||
[[notify_levels]]
|
||||
Notify levels
|
||||
~~~~~~~~~~~~~
|
||||
@@ -891,11 +1102,22 @@ List of gestures (only for buttons, not wheel):
|
||||
| gesture-right-long | ≥ 40
|
||||
|========================================
|
||||
|
||||
List of incomplete events (only for buttons, useful for plugins/scripts):
|
||||
|
||||
[width="50%",cols="3m,4",options="header"]
|
||||
|========================================
|
||||
| Event | Description
|
||||
| event-down | button was pressed but not released yet
|
||||
| event-drag | mouse was moved with button pressed down
|
||||
|========================================
|
||||
|
||||
Example of events:
|
||||
|
||||
* `button1`
|
||||
* `ctrl-button1`
|
||||
* `button1-gesture-right`
|
||||
* `button1-event-down`
|
||||
* `button1-event-drag`
|
||||
* `alt-button2-gesture-down-long`
|
||||
* `wheelup`
|
||||
* `ctrl-alt-wheeldown`
|
||||
@@ -1167,7 +1389,6 @@ WeeChat commands
|
||||
|
||||
include::autogen/user/weechat_commands.txt[]
|
||||
|
||||
|
||||
[[plugins]]
|
||||
Plugins
|
||||
-------
|
||||
@@ -1179,7 +1400,7 @@ To learn more about plugin or script development (through API), please read
|
||||
Plugins in WeeChat
|
||||
~~~~~~~~~~~~~~~~~~
|
||||
|
||||
A plugin is dynamic library, written in C and compiled, which is loaded by
|
||||
A plugin is a dynamic library, written in C and compiled, which is loaded by
|
||||
WeeChat.
|
||||
Under GNU/Linux, the file has ".so" extension, ".dll" under Windows.
|
||||
|
||||
@@ -1279,6 +1500,31 @@ For example, to enable option "ignore-case":
|
||||
/set aspell.option.ignore-case "true"
|
||||
----------------------------------------
|
||||
|
||||
[[aspell_suggestions]]
|
||||
Suggestions
|
||||
^^^^^^^^^^^
|
||||
|
||||
Suggestions are displayed in a bar item called "aspell_suggest". The number of
|
||||
suggestions is set in option 'aspell.check.suggestions'.
|
||||
|
||||
To enable suggestions you must set option 'aspell.check.suggestions' to an
|
||||
integer ≥ 0 and add the bar item "aspell_suggest" to a bar, like 'status'.
|
||||
|
||||
Example of suggestions with English dictionary (`en`):
|
||||
|
||||
........................................
|
||||
│[12:55] [6] [irc/freenode] 3:#test(+n){4} [print,prone,prune] │
|
||||
│[@Flashy] prinr █ │
|
||||
└─────────────────────────────────────────────────────────────────────────────────┘
|
||||
........................................
|
||||
|
||||
Example of suggestions with English and French dictionaries (`en,fr`):
|
||||
|
||||
........................................
|
||||
│[12:55] [6] [irc/freenode] 3:#test(+n){4} [print,prone,prune/prime,primer,primé] │
|
||||
│[@Flashy] prinr █ │
|
||||
└─────────────────────────────────────────────────────────────────────────────────┘
|
||||
........................................
|
||||
|
||||
[[charset_plugin]]
|
||||
Charset plugin
|
||||
@@ -1507,7 +1753,7 @@ irc.server.xxx.ssl_verify::
|
||||
|
||||
[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.
|
||||
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
|
||||
@@ -1554,13 +1800,16 @@ For more information, look at http://www.oftc.net/oftc/NickServ/CertFP
|
||||
SASL authentication
|
||||
^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
WeeChat supports SASL authentication, using three mechanisms: "plain" (plain
|
||||
text password), "dh-blowfish" (crypted password) or "external" (client side SSL
|
||||
cert).
|
||||
WeeChat supports SASL authentication, using different mechanisms:
|
||||
|
||||
* 'plain': plain text password
|
||||
* 'dh-blowfish': blowfish encrypted password
|
||||
* 'dh-aes': AES encrypted password
|
||||
* 'external': client side SSL cert
|
||||
|
||||
Options in servers are:
|
||||
|
||||
* 'sasl_mechanism': mechanism to use ("plain", "dh-blowfish" or "external")
|
||||
* 'sasl_mechanism': mechanism to use (see above)
|
||||
* 'sasl_timeout': timeout (in seconds) for authentication
|
||||
* 'sasl_username': username (nick)
|
||||
* 'sasl_password': password
|
||||
@@ -1573,7 +1822,7 @@ If you want to use "dh-blowfish" by default for all servers:
|
||||
|
||||
[NOTE]
|
||||
The "gcrypt" library is required when compiling WeeChat in order to use
|
||||
"dh-blowfish" mechanism (see <<dependencies,dependencies>>).
|
||||
"dh-blowfish" and "dh-aes" mechanisms (see <<dependencies,dependencies>>).
|
||||
|
||||
[[irc_tor_freenode]]
|
||||
Connect to Freenode with TOR/SASL
|
||||
@@ -1587,7 +1836,7 @@ First, make sure to have WeeChat compiled with <<dependencies,libgcrypt11-dev>>
|
||||
(if built from sources); it's not mandatory, but "dh-blowfish" ensures stronger
|
||||
security compared to "plain" authentication system with SASL.
|
||||
|
||||
In first place, install TOR. For Debian (and derivated):
|
||||
In first place, install TOR. For Debian (and derived):
|
||||
|
||||
----------------------------------------
|
||||
$ sudo apt-get install tor
|
||||
@@ -1711,29 +1960,35 @@ 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, 13 Sep 2009 15:48:31 +0200
|
||||
| $username | user name on IRC server | nick
|
||||
| $realname | real name on IRC server | My name
|
||||
| Code | Description | Value/example
|
||||
| $clientinfo | list of supported CTCP | ACTION DCC CLIENTINFO FINGER PING SOURCE TIME USERINFO VERSION
|
||||
| $version | WeeChat version | 0.4.0-dev
|
||||
| $versiongit | WeeChat version + git version | 0.4.0-dev (git: v0.3.9-104-g7eb5cc4)
|
||||
| $git | git version | v0.3.9-104-g7eb5cc4
|
||||
| $compilation | WeeChat compilation date | Dec 16 2012
|
||||
| $osinfo | info about OS | Linux 2.6.32-5-amd64 / x86_64
|
||||
| $site | WeeChat site | http://www.weechat.org/
|
||||
| $download | WeeChat site, download page | http://www.weechat.org/download
|
||||
| $time | current date/time | Sun, 16 Dec 2012 10:40:48 +0100
|
||||
| $username | user name on IRC server | name
|
||||
| $realname | real name on IRC server | John Doe
|
||||
|========================================
|
||||
|
||||
[NOTE]
|
||||
The git version is the output of command `git describe`. It is known only if
|
||||
WeeChat has been compiled inside the git repository and if git was installed.
|
||||
|
||||
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)
|
||||
| CTCP | Reply format | Example
|
||||
| CLIENTINFO | $clientinfo | ACTION DCC CLIENTINFO FINGER PING SOURCE TIME USERINFO VERSION
|
||||
| FINGER | WeeChat $versiongit | WeeChat 0.4.0-dev (git: v0.3.9-104-g7eb5cc4)
|
||||
| SOURCE | $download | http://www.weechat.org/download
|
||||
| TIME | $time | Sun, 16 Dec 2012 10:40:48 +0100
|
||||
| USERINFO | $username ($realname) | name (John Doe)
|
||||
| VERSION | WeeChat $versiongit ($compilation) | WeeChat 0.4.0-dev (git: v0.3.9-104-g7eb5cc4) (Dec 16 2012)
|
||||
|========================================
|
||||
|
||||
[[irc_target_buffer]]
|
||||
@@ -1829,6 +2084,8 @@ Non-comprehensive list of IRC messages or alias that you can customize:
|
||||
| 433 | | nickname already in use
|
||||
| 438 | | not authorized to change nickname
|
||||
| 671 | whois | whois (secure connection)
|
||||
| 728 | quietlist | quiet list
|
||||
| 729 | quietlist | end of quiet list
|
||||
| 901 | | you are now logged in
|
||||
|========================================
|
||||
|
||||
@@ -2015,7 +2272,7 @@ The Relay plugin is used to relay data via network, using different protocols:
|
||||
* 'irc': IRC proxy: used to share connections to IRC servers with one or many
|
||||
other IRC clients
|
||||
* 'weechat': protocol used by remote interfaces to display and interact with
|
||||
WeeChat (for example QWeeChat)
|
||||
WeeChat (for example QWeeChat or weechat-android)
|
||||
|
||||
[[relay_options]]
|
||||
Options (relay.conf)
|
||||
@@ -2029,48 +2286,21 @@ Commands
|
||||
|
||||
include::autogen/user/relay_commands.txt[]
|
||||
|
||||
[[relay_irc_proxy]]
|
||||
IRC proxy
|
||||
^^^^^^^^^
|
||||
[[relay_password]]
|
||||
Password
|
||||
^^^^^^^^
|
||||
|
||||
The Relay plugin can act as an IRC proxy: you can define one port by IRC server
|
||||
and use a password for clients.
|
||||
|
||||
For example:
|
||||
It is highly recommended to set a password for relay, with command:
|
||||
|
||||
----------------------------------------
|
||||
/set relay.network.password "mypass"
|
||||
/relay add irc.freenode 8000
|
||||
----------------------------------------
|
||||
|
||||
Now you can connect on port 8000 with any IRC client (WeeChat, xchat,
|
||||
irssi, ..), using server password "mypass".
|
||||
|
||||
You can limit number of allowed clients:
|
||||
|
||||
----------------------------------------
|
||||
/set relay.network.max_clients 1
|
||||
----------------------------------------
|
||||
|
||||
[[relay_weechat_protocol]]
|
||||
WeeChat protocol
|
||||
^^^^^^^^^^^^^^^^
|
||||
|
||||
The Relay plugin can send data to remote interface using WeeChat protocol.
|
||||
|
||||
For example:
|
||||
|
||||
----------------------------------------
|
||||
/set relay.network.password "mypass"
|
||||
/relay add weechat 9000
|
||||
----------------------------------------
|
||||
|
||||
Now you can connect on port 9000 with a remote interface (like QWeeChat),
|
||||
using password "mypass".
|
||||
This password is used for 'irc' and 'weechat' protocols.
|
||||
|
||||
[[relay_ssl]]
|
||||
Relay with SSL
|
||||
^^^^^^^^^^^^^^
|
||||
SSL
|
||||
^^^
|
||||
|
||||
You can use SSL by creating a certificate and private key, and by using prefix
|
||||
"ssl." in the name of protocol.
|
||||
@@ -2093,13 +2323,74 @@ with command:
|
||||
/relay sslcertkey
|
||||
----------------------------------------
|
||||
|
||||
And then add relay with SSL, for example:
|
||||
[[relay_irc_proxy]]
|
||||
IRC proxy
|
||||
^^^^^^^^^
|
||||
|
||||
The Relay plugin can act as an IRC proxy: it will simulate an IRC server, and
|
||||
you can connect to WeeChat with any other IRC client (including WeeChat itself).
|
||||
|
||||
You can define one port by IRC server, or one generic port for all servers.
|
||||
|
||||
When using one port for all servers, the client must send the internal name of
|
||||
server in the IRC "PASS" command, with this format:
|
||||
|
||||
----------------------------------------
|
||||
/relay add ssl.irc.freenode 8001
|
||||
/relay add ssl.weechat 9001
|
||||
PASS server:password
|
||||
----------------------------------------
|
||||
|
||||
Example: IRC proxy with SSL for any server (client will choose):
|
||||
|
||||
----------------------------------------
|
||||
/relay add ssl.irc 8000
|
||||
----------------------------------------
|
||||
|
||||
Example: IRC proxy without SSL only for server "freenode":
|
||||
|
||||
----------------------------------------
|
||||
/relay add irc.freenode 8000
|
||||
----------------------------------------
|
||||
|
||||
Now you can connect on port 8000 with any IRC client using server password
|
||||
"mypass" (or "freenode:mypass" if no server was specified in the relay).
|
||||
|
||||
[[relay_weechat_protocol]]
|
||||
WeeChat protocol
|
||||
^^^^^^^^^^^^^^^^
|
||||
|
||||
The Relay plugin can send data to remote interface using WeeChat protocol.
|
||||
|
||||
For example:
|
||||
|
||||
----------------------------------------
|
||||
/relay add weechat 9000
|
||||
----------------------------------------
|
||||
|
||||
Now you can connect on port 9000 with a remote interface using password
|
||||
"mypass".
|
||||
|
||||
[[relay_websocket]]
|
||||
WebSocket
|
||||
^^^^^^^^^
|
||||
|
||||
WebSocket protocol (http://tools.ietf.org/html/rfc6455[RFC 6455]) is supported
|
||||
in Relay plugin for all protocols.
|
||||
|
||||
The WebSocket handshake is automatically detected and socket becomes ready for
|
||||
WebSocket if required headers are found in handshake and if origin is allowed
|
||||
(see option
|
||||
<<option_relay.network.websocket_allowed_origins,relay.network.websocket_allowed_origins>>).
|
||||
|
||||
A WebSocket can be opened in a HTML5 with a single line of JavaScript:
|
||||
|
||||
[source,js]
|
||||
----------------------------------------
|
||||
websocket = new WebSocket("ws://server.com:9000/weechat");
|
||||
----------------------------------------
|
||||
|
||||
The port (9000 in example) is the port defined in Relay plugin.
|
||||
The URI must always end with "/weechat" (for 'irc' and 'weechat' protocols).
|
||||
|
||||
[[rmodifier_plugin]]
|
||||
Rmodifier plugin
|
||||
~~~~~~~~~~~~~~~~
|
||||
@@ -2148,7 +2439,7 @@ Example of default rmodifier for command `/oper`:
|
||||
** `input_text_display`: called when command line has changed
|
||||
(applies only on display, not content of command line)
|
||||
* regular expression: `^(/oper +\S+ +)(.*)`
|
||||
* groupes: `1,2*`
|
||||
* groups: `1,2*`
|
||||
|
||||
Each time modifiers "history_add" or "input_text_display" are called, regular
|
||||
expression is checked. If string matches, then it is replaced by captured groups,
|
||||
@@ -2245,38 +2536,6 @@ Commands
|
||||
|
||||
include::autogen/user/xfer_commands.txt[]
|
||||
|
||||
|
||||
[[authors]]
|
||||
Authors
|
||||
-------
|
||||
|
||||
[[developers]]
|
||||
Developers
|
||||
~~~~~~~~~~
|
||||
|
||||
Main developer::
|
||||
Sébastien Helleu (FlashCode)
|
||||
|
||||
[[contributors]]
|
||||
Contributors
|
||||
~~~~~~~~~~~~
|
||||
|
||||
Packagers::
|
||||
Emmanuel Bouthenot (kolter), Julien Louis (ptitlouis), Odin
|
||||
|
||||
Translations::
|
||||
Jiri Golembiovsky (GolemJ), soltys, Nils Görs (nils_2), rettub,
|
||||
Frank Zacharias, Pavel Shevchuk, Elián Hanisch (m4v), Voroskoi,
|
||||
Marco Paolone, Ivan Sichmann Freitas, Lázaro A., Ryuunosuke Ayanokouzi,
|
||||
Quico Noizeux
|
||||
|
||||
Patches::
|
||||
Dmitry Kobylin, Rudolf Polzer, Jim Ramsay, Pistos, Gwenn, Dominik Honnef,
|
||||
JD Horelick, Stefano Pigozzi, Gu1ll4um3r0m41n, Kyle Fuller,
|
||||
Quentin Glidic (SardemFF7), Simon Kuhnle, Mateusz Poszwa, Peter Boström,
|
||||
Arvydas Sidorenko
|
||||
|
||||
|
||||
[[support]]
|
||||
Support
|
||||
-------
|
||||
@@ -2287,9 +2546,8 @@ until this sentence, you can start again!).
|
||||
|
||||
Ways to get support:
|
||||
|
||||
* IRC: server 'irc.freenode.net', channels '#weechat' (english) and
|
||||
'#weechat-fr' (french)
|
||||
* WeeChat forum: http://forums.flashtux.org/
|
||||
* IRC: server 'irc.freenode.net', channels '#weechat' (English) and
|
||||
'#weechat-fr' (French)
|
||||
* Mailing list:
|
||||
** subscribe: http://mail.nongnu.org/mailman/listinfo/weechat-support
|
||||
** send mail to weechat-support@nongnu.org
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2012 Sebastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2012-2013 Sebastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2012 Sebastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2012-2013 Sebastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
|
||||
@@ -11,20 +11,39 @@ Es recomendable una terminal emulada para X (pero no indispensable)
|
||||
rxvt-unicode (tiene un buen soporte para UTF-8, y no da problemas con
|
||||
los atajas de teclados predeterminados).
|
||||
|
||||
Ejecute "weechat-curses" en la consola.
|
||||
// TRANSLATION MISSING
|
||||
Run from your shell:
|
||||
|
||||
----------------------------------------
|
||||
$ weechat-curses
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[help_options]]
|
||||
Ayuda en linea / Opciones
|
||||
-------------------------
|
||||
|
||||
WeeChat tiene ayuda para todos los comandos, solo teclee /help Para
|
||||
obtener ayuda específicamente de un comando, teclee: `/help comando`
|
||||
WeeChat tiene ayuda para todos los comandos, solo teclee:
|
||||
|
||||
Para configurar una opción, use `/set config.section.option valor`
|
||||
donde `config` es el nombre de la configuración del núcleo o del
|
||||
----------------------------------------
|
||||
/help
|
||||
----------------------------------------
|
||||
|
||||
Para obtener ayuda específicamente de un comando, teclee:
|
||||
|
||||
----------------------------------------
|
||||
/help comando
|
||||
----------------------------------------
|
||||
|
||||
Para configurar una opción, use:
|
||||
|
||||
----------------------------------------
|
||||
/set config.section.option valor
|
||||
----------------------------------------
|
||||
|
||||
(donde `config` es el nombre de la configuración del núcleo o del
|
||||
plugin que desea configurar, `section`, la sección de esa configuración
|
||||
y `option` el nombre de la opción.
|
||||
y `option` el nombre de la opción).
|
||||
|
||||
WeeChat usará inmediatamente el nuevo valor asignado (*no* es necesario
|
||||
reiniciar WeeChat después de aplicar cambios a la configuración).
|
||||
@@ -33,18 +52,30 @@ Usando el comando `/set` con un nombre tecleado parcialmente y el
|
||||
comodín "*" al principio o al final del texto; pude mostrar todas las
|
||||
opciones que contienen esas letras. Por ejemplo:
|
||||
|
||||
`/set`::
|
||||
Mostrará todas las opciones de WeeChat y sus plugins.
|
||||
* mostrará todas las opciones de WeeChat y sus plugins:
|
||||
|
||||
`/set weechat.*`::
|
||||
Mostrará solo las opciones de WeeChat.
|
||||
----------------------------------------
|
||||
/set
|
||||
----------------------------------------
|
||||
|
||||
`/set irc.*`::
|
||||
Mostrará las opciones del plugin IRC
|
||||
* mostrará solo las opciones de WeeChat:
|
||||
|
||||
----------------------------------------
|
||||
/set weechat.*
|
||||
----------------------------------------
|
||||
|
||||
* mostrará las opciones del plugin IRC:
|
||||
|
||||
----------------------------------------
|
||||
/set irc.*
|
||||
----------------------------------------
|
||||
|
||||
Puede mostrar la ayuda de una opción en especifico con `/help`, por
|
||||
ejemplo:
|
||||
`/help weechat.look.highlight`.
|
||||
|
||||
----------------------------------------
|
||||
/help weechat.look.highlight
|
||||
----------------------------------------
|
||||
|
||||
Todas las opciones se salvarán de manera automática cuando cierre
|
||||
WeeChat o usando el comando `/save` para forzar la forzar a WeeChat a
|
||||
@@ -77,9 +108,15 @@ Crear un servidor IRC
|
||||
|
||||
Puede agregar un servidor IRC usando el comando `/server`, por ejemplo:
|
||||
|
||||
/server add oftc irc.oftc.net/6667
|
||||
----------------------------------------
|
||||
/server add oftc irc.oftc.net/6667
|
||||
----------------------------------------
|
||||
|
||||
La ayuda está disponible; si te pierdes: `/help server`
|
||||
La ayuda está disponible; si te pierdes:
|
||||
|
||||
----------------------------------------
|
||||
/help server
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[irc_server_options]]
|
||||
@@ -99,45 +136,73 @@ Por ejemplo, tenemos el nick por defecto (que se basa en su login) pero
|
||||
usted puedes sobreescribirlo para el servidor identificado como oftc
|
||||
de la siguiente manera:
|
||||
|
||||
/set irc.server.oftc.nicks "nick1,nick2,nick3,nick4,nick5"
|
||||
----------------------------------------
|
||||
/set irc.server.oftc.nicks "nick,nick2,nick3,nick4,nick5"
|
||||
----------------------------------------
|
||||
|
||||
También para configurar el nombre de usuario y el nombre real:
|
||||
|
||||
/set irc.server.oftc.username "Mi nombre de usuario"
|
||||
/set irc.server.oftc.realname "Mi nombre real"
|
||||
----------------------------------------
|
||||
/set irc.server.oftc.username "Mi nombre de usuario"
|
||||
/set irc.server.oftc.realname "Mi nombre real"
|
||||
----------------------------------------
|
||||
|
||||
Para que el servidor se conecte cuando WeeChat inicie:
|
||||
|
||||
/set irc.server.oftc.autoconnect on
|
||||
----------------------------------------
|
||||
/set irc.server.oftc.autoconnect on
|
||||
----------------------------------------
|
||||
|
||||
Para correr un comando después de establecer la conexión, por
|
||||
ejemplo, una identificación con el nickserv:
|
||||
// TRANSLATION MISSING
|
||||
If SASL is available on server, you can use it for authentication (you will be
|
||||
identified before you join channels):
|
||||
|
||||
/set irc.server.oftc.command "/msg nickserv identify xxxxxx"
|
||||
----------------------------------------
|
||||
/set irc.server_default.sasl_mechanism dh-blowfish
|
||||
/set irc.server.oftc.sasl_username "nick"
|
||||
/set irc.server.oftc.sasl_password "xxxxxxx"
|
||||
----------------------------------------
|
||||
|
||||
Nota: varios comandos pueden ser escritos separados por ';' (punto y coma)
|
||||
// TRANSLATION MISSING
|
||||
To run a command after connection to server, for example to authenticate
|
||||
with nickserv (only if you don't use SASL for authentication):
|
||||
|
||||
----------------------------------------
|
||||
/set irc.server.oftc.command "/msg nickserv identify xxxxxxx"
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
Varios comandos pueden ser escritos separados por ';' (punto y coma).
|
||||
|
||||
Para unirse automáticamente a canales cuando el servidor se conecte:
|
||||
|
||||
/set irc.server.oftc.autojoin "#uncanal,#otrocanal"
|
||||
----------------------------------------
|
||||
/set irc.server.oftc.autojoin "#uncanal,#otrocanal"
|
||||
----------------------------------------
|
||||
|
||||
Para eliminar un valor asignado a una opción de servidor y usar los
|
||||
valores por defecto en su lugar, por ejemplo, usar el nick por defecto
|
||||
(irc.server_default.nicks):
|
||||
|
||||
/set irc.server.oftc.nicks null
|
||||
----------------------------------------
|
||||
/set irc.server.oftc.nicks null
|
||||
----------------------------------------
|
||||
|
||||
Otras opciones: pude configurar otras opciones con el siguiente comando,
|
||||
donde "xxx" es el nombre de la opción.
|
||||
|
||||
/set irc.server.oftc.xxx valor
|
||||
----------------------------------------
|
||||
/set irc.server.oftc.xxx valor
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[connect_to_irc_server]]
|
||||
Conectarse a un servidor IRC
|
||||
----------------------------
|
||||
|
||||
/connect oftc
|
||||
----------------------------------------
|
||||
/connect oftc
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
Este comando también puede usarse para crear y conectarse a un nuevo
|
||||
@@ -151,22 +216,33 @@ servidores use ctrl+X.
|
||||
Es posible deshabilitar esta manera de tener todos los buffer de
|
||||
servidores juntos para tenerlos de manera independiente:
|
||||
|
||||
/set irc.look.server_buffer independent
|
||||
----------------------------------------
|
||||
/set irc.look.server_buffer independent
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[join_part_irc_channels]]
|
||||
join/part y canales IRC
|
||||
-----------------------
|
||||
|
||||
`/join #canal`::
|
||||
Se une a un canal llamado "#canal"
|
||||
Se une a un canal llamado "#canal":
|
||||
|
||||
`/part [mensaje de partida]`::
|
||||
sale de un canal (mantiene el buffer abierto)
|
||||
----------------------------------------
|
||||
/join #canal
|
||||
----------------------------------------
|
||||
|
||||
`/close [mensaje de partida]`::
|
||||
cierra un servidor o el buffer de un canal
|
||||
(`/close` es un alias de `/buffer close`)
|
||||
Sale de un canal (mantiene el buffer abierto):
|
||||
|
||||
----------------------------------------
|
||||
/part [mensaje de partida]
|
||||
----------------------------------------
|
||||
|
||||
Cierra un servidor o el buffer de un canal (`/close` es un alias de
|
||||
`/buffer close`):
|
||||
|
||||
----------------------------------------
|
||||
/close
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[buffer_window]]
|
||||
@@ -183,8 +259,10 @@ ventanas conteniendo varios buffer al mismo tiempo.
|
||||
|
||||
Comandos para manipular buffer y ventana:
|
||||
|
||||
/buffer
|
||||
/window
|
||||
----------------------------------------
|
||||
/buffer
|
||||
/window
|
||||
----------------------------------------
|
||||
|
||||
(le reitero que puede obtener ayuda de los comandos con /help buffer y
|
||||
/help ventana respectivamente)
|
||||
@@ -192,7 +270,9 @@ Comandos para manipular buffer y ventana:
|
||||
Por ejemplo, para dividir la pantalla una pequeña ventana (1/3)
|
||||
junto a otras mas grande (2/3) use el comando
|
||||
|
||||
/window splitv 33
|
||||
----------------------------------------
|
||||
/window splitv 33
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[key_bindings]]
|
||||
@@ -219,15 +299,21 @@ alguna tecla.
|
||||
Por ejemplo, para asignar la combinación meta-y (alt-y) al comando
|
||||
`/buffer close`:
|
||||
|
||||
/key bind (presionamos meta-k) (presionamos meta-y) /buffer close
|
||||
----------------------------------------
|
||||
/key bind (presionamos meta-k) (presionamos meta-y) /buffer close
|
||||
----------------------------------------
|
||||
|
||||
El comando se vera mas o menos así:
|
||||
|
||||
/key bind meta-y /buffer close
|
||||
----------------------------------------
|
||||
/key bind meta-y /buffer close
|
||||
----------------------------------------
|
||||
|
||||
Para eliminar una combinación:
|
||||
|
||||
/key unbind meta-y
|
||||
----------------------------------------
|
||||
/key unbind meta-y
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[plugins_scripts]]
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2006 Julien Louis <ptitlouis@sysif.net>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
|
||||
@@ -6,7 +6,9 @@
|
||||
|
||||
| alias | alias_value | valeur de l'alias
|
||||
|
||||
| aspell | aspell_langs | liste des langues supportées pour aspell
|
||||
| aspell | aspell_dicts | liste des dictionnaires aspell installés
|
||||
|
||||
| aspell | aspell_langs | liste de toutes les langues supportées par aspell
|
||||
|
||||
| guile | guile_script | liste des scripts
|
||||
|
||||
@@ -58,11 +60,11 @@
|
||||
|
||||
| script | script_files | fichiers dans les répertoires de script
|
||||
|
||||
| script | script_scripts | liste des scripts du repository
|
||||
| script | script_scripts | liste des scripts du dépôt
|
||||
|
||||
| script | script_scripts_installed | liste des scripts installés (du repository)
|
||||
| script | script_scripts_installed | liste des scripts installés (du dépôt)
|
||||
|
||||
| script | script_tags | étiquettes des scripts dans le repository
|
||||
| script | script_tags | étiquettes des scripts dans le dépôt
|
||||
|
||||
| tcl | tcl_script | liste des scripts
|
||||
|
||||
@@ -104,6 +106,8 @@
|
||||
|
||||
| weechat | keys_contexts | contextes de touches
|
||||
|
||||
| weechat | layouts_names | noms des dispositions
|
||||
|
||||
| weechat | nicks | pseudos dans la liste des pseudos du tampon courant
|
||||
|
||||
| weechat | palette_colors | couleurs de la palette
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
'modes' (string) +
|
||||
'limit' (integer) +
|
||||
'key' (string) +
|
||||
'names_received' (integer) +
|
||||
'join_msg_received' (hashtable) +
|
||||
'checking_away' (integer) +
|
||||
'away_message' (string) +
|
||||
'has_quit_server' (integer) +
|
||||
@@ -42,6 +42,7 @@
|
||||
'nicks_speaking' (pointer) +
|
||||
'nicks_speaking_time' (pointer, hdata: "irc_channel_speaking") +
|
||||
'last_nick_speaking_time' (pointer, hdata: "irc_channel_speaking") +
|
||||
'join_smart_filtered' (hashtable) +
|
||||
'buffer' (pointer, hdata: "buffer") +
|
||||
'buffer_as_string' (string) +
|
||||
'prev_channel' (pointer, hdata: "irc_channel") +
|
||||
@@ -139,10 +140,12 @@
|
||||
'addresses_count' (integer) +
|
||||
'addresses_array' (string, array_size: "addresses_count") +
|
||||
'ports_array' (integer, array_size: "addresses_count") +
|
||||
'retry_array' (integer, array_size: "addresses_count") +
|
||||
'index_current_address' (integer) +
|
||||
'current_address' (string) +
|
||||
'current_ip' (string) +
|
||||
'current_port' (integer) +
|
||||
'current_retry' (integer) +
|
||||
'sock' (integer) +
|
||||
'hook_connect' (pointer, hdata: "hook") +
|
||||
'hook_fd' (pointer, hdata: "hook") +
|
||||
@@ -150,6 +153,7 @@
|
||||
'hook_timer_sasl' (pointer, hdata: "hook") +
|
||||
'is_connected' (integer) +
|
||||
'ssl_connected' (integer) +
|
||||
'disconnected' (integer) +
|
||||
'gnutls_sess' (other) +
|
||||
'tls_cert' (other) +
|
||||
'tls_cert_key' (other) +
|
||||
@@ -182,14 +186,16 @@
|
||||
'cmd_list_regexp' (pointer) +
|
||||
'last_user_message' (time) +
|
||||
'last_away_check' (time) +
|
||||
'last_data_purge' (time) +
|
||||
'outqueue' (pointer) +
|
||||
'last_outqueue' (pointer) +
|
||||
'redirects' (pointer, hdata: "irc_redirect") +
|
||||
'last_redirect' (pointer, hdata: "irc_redirect") +
|
||||
'notify_list' (pointer, hdata: "irc_notify") +
|
||||
'last_notify' (pointer, hdata: "irc_notify") +
|
||||
'manual_joins' (hashtable) +
|
||||
'channel_join_key' (hashtable) +
|
||||
'join_manual' (hashtable) +
|
||||
'join_channel_key' (hashtable) +
|
||||
'join_noswitch' (hashtable) +
|
||||
'buffer' (pointer, hdata: "buffer") +
|
||||
'buffer_as_string' (string) +
|
||||
'channels' (pointer, hdata: "irc_channel") +
|
||||
@@ -272,7 +278,7 @@
|
||||
'last_script' +
|
||||
'scripts'
|
||||
|
||||
| script | script_script | scripts du repository |
|
||||
| script | script_script | scripts du dépôt |
|
||||
'name' (string) +
|
||||
'name_with_extension' (string) +
|
||||
'language' (integer) +
|
||||
@@ -321,8 +327,6 @@
|
||||
| weechat | bar | barre |
|
||||
'name' (string) +
|
||||
'options' (pointer) +
|
||||
'conditions_count' (integer) +
|
||||
'conditions_array' (string, array_size: "conditions_count") +
|
||||
'items_count' (integer) +
|
||||
'items_subcount' (pointer) +
|
||||
'items_array' (pointer) +
|
||||
@@ -365,6 +369,7 @@
|
||||
'items_num_lines' (pointer) +
|
||||
'items_refresh_needed' (pointer) +
|
||||
'screen_col_size' (integer) +
|
||||
'screen_lines' (integer) +
|
||||
'coords_count' (integer) +
|
||||
'coords' (pointer) +
|
||||
'gui_objects' (pointer) +
|
||||
@@ -400,6 +405,9 @@
|
||||
'nicklist_root' (pointer, hdata: "nick_group") +
|
||||
'nicklist_max_length' (integer) +
|
||||
'nicklist_display_groups' (integer) +
|
||||
'nicklist_count' (integer) +
|
||||
'nicklist_groups_count' (integer) +
|
||||
'nicklist_nicks_count' (integer) +
|
||||
'nicklist_visible_count' (integer) +
|
||||
'nickcmp_callback' (pointer) +
|
||||
'nickcmp_callback_data' (pointer) +
|
||||
@@ -559,8 +567,10 @@
|
||||
'text' (string) +
|
||||
'next_history' (pointer, hdata: "history") +
|
||||
'prev_history' (pointer, hdata: "history") |
|
||||
|
|
||||
-
|
||||
`__create` +
|
||||
`__delete` |
|
||||
'gui_history' +
|
||||
'last_gui_history'
|
||||
|
||||
| weechat | hotlist | hotlist |
|
||||
'priority' (integer) +
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
|
||||
| relay | relay | liste des clients pour le relai | pointeur vers le relay (optionnel) | -
|
||||
|
||||
| rmodifier | rmodifier | liste des rmodifiers | pointeur vers le rmodifieur (optionnel) | nom du rmodifier (peut démarrer ou se terminer par "*" comme caractère joker) (optionnel)
|
||||
| rmodifier | rmodifier | liste des rmodifiers | pointeur vers le rmodifier (optionnel) | nom du rmodifier (peut démarrer ou se terminer par "*" comme caractère joker) (optionnel)
|
||||
|
||||
| ruby | ruby_script | liste des scripts | pointeur vers le script (optionnel) | nom de script (peut démarrer ou se terminer par "*" comme joker) (optionnel)
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user