mirror of
https://github.com/weechat/weechat.git
synced 2026-06-25 04:16:38 +02:00
Compare commits
136 Commits
v0.3.9
..
v0.4.0-rc1
| Author | SHA1 | Date | |
|---|---|---|---|
| 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 |
+3
-4
@@ -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,9 +42,6 @@ POTFILES
|
||||
remove-potcdate.sed
|
||||
Rules-quot
|
||||
weechat.pc
|
||||
doc/de/build/*
|
||||
doc/en/build/*
|
||||
doc/fr/build/*
|
||||
|
||||
*stamp
|
||||
stamp*
|
||||
|
||||
@@ -6,48 +6,60 @@ 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
|
||||
* Arvydas Sidorenko
|
||||
* Benoit Papillault (benoit)
|
||||
* Dmitry Kobylin
|
||||
* Dominik Honnef
|
||||
* JD Horelick, IRC: 'jdhore'
|
||||
* Stefano Pigozzi
|
||||
* Ivan Sichmann Freitas
|
||||
* Elián Hanisch (m4v)
|
||||
* 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)
|
||||
|
||||
+8
-9
@@ -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 "0-rc1")
|
||||
SET(VERSION ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH})
|
||||
SET(LICENSE "GPL3")
|
||||
SET(PKG_STRING "${PROJECT_NAME} ${VERSION}")
|
||||
@@ -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}")
|
||||
|
||||
@@ -1,9 +1,123 @@
|
||||
WeeChat ChangeLog
|
||||
=================
|
||||
Sébastien Helleu <flashcode@flashtux.org>
|
||||
v0.3.9, 2012-09-29
|
||||
v0.4.0-rc1, 2012-12-26
|
||||
|
||||
|
||||
Version 0.4.0 (under dev!)
|
||||
--------------------------
|
||||
|
||||
* 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_bufer")
|
||||
* 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 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: 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
|
||||
* 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
|
||||
* 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)
|
||||
--------------------------
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
+15
-6
@@ -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,29 +34,32 @@ 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.pc.in
|
||||
|
||||
ACLOCAL_AMFLAGS = -I m4
|
||||
|
||||
|
||||
@@ -1,9 +1,40 @@
|
||||
WeeChat Release Notes
|
||||
=====================
|
||||
Sébastien Helleu <flashcode@flashtux.org>
|
||||
v0.3.9, 2012-09-29
|
||||
v0.4.0-rc1, 2012-12-26
|
||||
|
||||
|
||||
Version 0.4.0 (under dev!)
|
||||
--------------------------
|
||||
|
||||
Important release notes:
|
||||
|
||||
* 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 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 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)
|
||||
--------------------------
|
||||
|
||||
@@ -147,6 +178,8 @@ Important release notes:
|
||||
|
||||
* 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.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).
|
||||
|
||||
@@ -179,9 +212,24 @@ Version 0.3.0 (2009-09-06)
|
||||
--------------------------
|
||||
|
||||
This version brings major changes, especially for configuration files and plugin
|
||||
API.
|
||||
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)
|
||||
----------------------------
|
||||
|
||||
-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
|
||||
@@ -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)
|
||||
+3
-3
@@ -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.0-rc1, 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
|
||||
|
||||
Vendored
+20
@@ -1,3 +1,23 @@
|
||||
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
+1
-1
@@ -10,7 +10,7 @@ Build-Depends: debhelper (>= 7.0.50), cmake, libncursesw5-dev,
|
||||
Standards-Version: 3.9.3
|
||||
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
+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
|
||||
|
||||
@@ -139,10 +139,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 +152,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) +
|
||||
@@ -188,8 +191,9 @@
|
||||
'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 +325,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) +
|
||||
@@ -559,8 +561,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) +
|
||||
|
||||
@@ -42,6 +42,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 (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": message without the tags, "nick": nick, "host": host, "command": command, "channel": channel, "arguments": arguments (includes channel)
|
||||
|
||||
| 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
|
||||
|
||||
|
||||
@@ -23,6 +23,11 @@
|
||||
** Typ: boolesch
|
||||
** Werte: on, off (Standardwert: `off`)
|
||||
|
||||
* [[option_aspell.check.suggestions]] *aspell.check.suggestions*
|
||||
** Beschreibung: `bestimmt die Anzahl an Vorschlägen, für die Rechtschreibkorrektur bei einem 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 eingestellten 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,20 +56,21 @@ 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)
|
||||
- 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
|
||||
-nojoin: Channel(s) werden nicht betreten (auch falls die Funktion "autojoin" aktiviert sein sollte)
|
||||
-switch: wechselt zur nächsten Server-Adresse
|
||||
server: server name, which can be:
|
||||
- internal server name (created by /server add, recommended usage)
|
||||
- hostname/port or IP/port (this will create a TEMPORARY server), port is 6667 by default
|
||||
- URL with format: irc[6][s]://[nickname[:password]@]irc.example.org[:port][/#channel1][,#channel2[...]]
|
||||
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
|
||||
|
||||
Beispiele:
|
||||
Examples:
|
||||
/connect freenode
|
||||
/connect irc.oftc.net/6667
|
||||
/connect irc6.oftc.net/6667 -ipv6
|
||||
@@ -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 nicht in den Channel schreiben, solange sich nicht +v oder höher haben)::
|
||||
........................................
|
||||
/quiet [<channel>] [<nick> [<nick>...]]
|
||||
|
||||
channel: Channel in dem der Quiet-Bann ausgeführt 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]]
|
||||
|
||||
@@ -318,6 +318,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
|
||||
@@ -373,6 +378,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 +419,7 @@
|
||||
** Werte: 1 .. 65535 (Standardwert: `10`)
|
||||
|
||||
* [[option_irc.server_default.autorejoin]] *irc.server_default.autorejoin*
|
||||
** Beschreibung: `Channels automatisch betreten, falls man rausgeworfen wurde`
|
||||
** Beschreibung: `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")`
|
||||
** Typ: boolesch
|
||||
** Werte: on, off (Standardwert: `off`)
|
||||
|
||||
@@ -459,9 +469,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`
|
||||
|
||||
@@ -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 "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
|
||||
@@ -31,5 +33,11 @@ Beispiele:
|
||||
/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: `maximum number of minutes in backlog per IRC channel (0 = unlimited, examples: 1440 = one day, 10080 = one week, 43200 = one month, 525600 = one year)`
|
||||
** Typ: integer
|
||||
** Werte: 0 .. 2147483647 (Standardwert: `1440`)
|
||||
|
||||
* [[option_relay.irc.backlog_max_number]] *relay.irc.backlog_max_number*
|
||||
** Beschreibung: `maximum number of lines in backlog per IRC channel (0 = unlimited)`
|
||||
** Typ: integer
|
||||
** Werte: 0 .. 2147483647 (Standardwert: `256`)
|
||||
|
||||
* [[option_relay.irc.backlog_since_last_disconnect]] *relay.irc.backlog_since_last_disconnect*
|
||||
** Beschreibung: `display backlog starting from last client disconnect`
|
||||
** Typ: boolesch
|
||||
** Werte: on, off (Standardwert: `on`)
|
||||
|
||||
* [[option_relay.irc.backlog_tags]] *relay.irc.backlog_tags*
|
||||
** Beschreibung: `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`
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette (Standardwert: `"irc_privmsg"`)
|
||||
|
||||
* [[option_relay.irc.backlog_time_format]] *relay.irc.backlog_time_format*
|
||||
** Beschreibung: `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`
|
||||
** 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
|
||||
|
||||
@@ -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"`)
|
||||
|
||||
|
||||
@@ -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
|
||||
@@ -199,6 +200,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 dieses in den Buffer zu schreiben (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:
|
||||
== gleichl
|
||||
!= nicht gleich
|
||||
<= 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 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::
|
||||
........................................
|
||||
@@ -549,23 +605,29 @@ 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)
|
||||
value: neuer Wert, den die Option erhalten soll
|
||||
option: name of an option (can start or end with '*' to list many options)
|
||||
value: new value for option
|
||||
diff: display only changed options
|
||||
|
||||
Abhängig von der ausgewählten Option, kann die Variable folgenden Inhalt haben:
|
||||
boolean: on, off oder toggle
|
||||
integer: Anzahl, ++Anzahl oder --Anzahl
|
||||
string : jede Zeichenkette ("" für eine leere Zeichenkette)
|
||||
color : Name einer Farbe, ++Anzahl oder --Anzahl
|
||||
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
|
||||
|
||||
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.
|
||||
For all types, you can use null to remove option value (undefined value). This works only for some special plugin variables.
|
||||
|
||||
Beispiele:
|
||||
Zeigt alle Optionen an die etwas mit highlight zu tun haben:
|
||||
Examples:
|
||||
display options about highlight:
|
||||
/set *highlight*
|
||||
Fügt ein highlight-Wort hinzu:
|
||||
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,19 +649,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]]
|
||||
|
||||
@@ -494,7 +494,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`)
|
||||
|
||||
@@ -609,7 +609,7 @@
|
||||
** Werte: -1 .. 2147483647 (Standardwert: `1`)
|
||||
|
||||
* [[option_weechat.look.prefix_action]] *weechat.look.prefix_action*
|
||||
** Beschreibung: `Präfix für Action-Nachrichten`
|
||||
** Beschreibung: `prefix for action messages, colors are allowed with format "${color}"`
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette (Standardwert: `" *"`)
|
||||
|
||||
@@ -649,22 +649,22 @@
|
||||
** Werte: beliebige Zeichenkette (Standardwert: `"+"`)
|
||||
|
||||
* [[option_weechat.look.prefix_error]] *weechat.look.prefix_error*
|
||||
** Beschreibung: `Präfix für Fehlermeldungen`
|
||||
** Beschreibung: `prefix for error messages, colors are allowed with format "${color}"`
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette (Standardwert: `"=!="`)
|
||||
|
||||
* [[option_weechat.look.prefix_join]] *weechat.look.prefix_join*
|
||||
** Beschreibung: `Präfix für Join-Nachrichten`
|
||||
** Beschreibung: `prefix for join messages, colors are allowed with format "${color}"`
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette (Standardwert: `"-->"`)
|
||||
|
||||
* [[option_weechat.look.prefix_network]] *weechat.look.prefix_network*
|
||||
** Beschreibung: `Präfix für Netzwerkmeldungen`
|
||||
** Beschreibung: `prefix for network messages, colors are allowed with format "${color}"`
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette (Standardwert: `"--"`)
|
||||
|
||||
* [[option_weechat.look.prefix_quit]] *weechat.look.prefix_quit*
|
||||
** Beschreibung: `Präfix für Quit-Nachrichten`
|
||||
** Beschreibung: `prefix for quit messages, colors are allowed with format "${color}"`
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette (Standardwert: `"<--"`)
|
||||
|
||||
|
||||
+79
-109
@@ -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?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -334,7 +316,6 @@ shortenurl.py::
|
||||
|
||||
Hier findet man eine Auflistung von Skripten die sich mit URLs befassen: 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,7 +332,6 @@ 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]]
|
||||
Wie kann ich 256 Farben in WeeChat nutzen?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -392,7 +372,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 +381,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 +406,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 +415,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 +430,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 +448,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 +484,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 +494,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 +502,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 +600,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,13 +615,12 @@ 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?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -604,7 +645,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 +680,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 +706,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 +720,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 +743,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 +752,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 +759,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 +772,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
|
||||
// TRANSLATION MISSING
|
||||
* do not load certificates if SSL is *NOT* used: set empty string in option
|
||||
'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 +801,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 +822,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 +832,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 +841,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?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
@@ -27,25 +27,25 @@ Um Optionen zu setzen benutzt man `/set config.section.option value`.
|
||||
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
|
||||
zeit alle WeeChat Optionen an
|
||||
|
||||
`/set irc.*`::
|
||||
Anzeige der Optionen des IRC-Erweiterung
|
||||
zeit alle Optionen der IRC-Erweiterung an
|
||||
|
||||
Du kannst mit `/help` Hilfe für Optionen auflisten lassen, z.B.:
|
||||
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`
|
||||
@@ -60,8 +60,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)
|
||||
|
||||
@@ -87,19 +87,19 @@ Wie bei jedem Befehl kannst Du Dir, falls Du nicht mehr weiter kommst, mit
|
||||
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:
|
||||
|
||||
@@ -111,12 +111,20 @@ herzustellen:
|
||||
|
||||
/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:
|
||||
@@ -124,12 +132,12 @@ Verbindung zum Server zu erreichen:
|
||||
/set irc.server.oftc.autojoin "#channel1,#channel2"
|
||||
|
||||
Um einen Wert der Server-Optionen zu entfernen und stattdessen wieder den
|
||||
Vorgabewert (default) zu nutzen, z.B. Nutzung der Vorgabe-Nicks
|
||||
Vorgabewert (default) zu nutzen, z.B. Nutzung der vorgegebenen Nicks
|
||||
(irc.server_default.nicks):
|
||||
|
||||
/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
|
||||
@@ -143,16 +151,16 @@ Verbinden mit dem IRC-Server und auto-join der Channel
|
||||
|
||||
[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
|
||||
|
||||
@@ -167,7 +175,7 @@ Betreten/verlassen der IRC-Channel
|
||||
`/part [quit message]`::
|
||||
Einen Channel verlassen (der Buffer bleibt geöffnet)
|
||||
|
||||
`/close [quit message]`::
|
||||
`/close`::
|
||||
Schließen eines Server- oder Channel-Buffers (`/close` ist ein Alias für `/buffer close`)
|
||||
|
||||
|
||||
@@ -175,12 +183,12 @@ Betreten/verlassen der IRC-Channel
|
||||
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:
|
||||
@@ -239,7 +247,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 +260,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!
|
||||
|
||||
@@ -99,8 +99,10 @@ 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)
|
||||
* 'charset': Skript Zeichensatz (optional, liegt das Skript im UTF-8 Format vor kann dieser Wert
|
||||
// TRANSLATION MISSING
|
||||
* 'shutdown_function': Name der Funktion die beim Beenden des Skripts aufgerufen werden soll
|
||||
(String, can be empty string)
|
||||
* 'charset': Skript Zeichensatz (liegt das Skript im UTF-8 Format vor kann dieser Wert
|
||||
leer bleiben. UTF-8 ist der Standardzeichensatz) (String)
|
||||
|
||||
Beispielskripten, für jede Sprache:
|
||||
@@ -391,7 +393,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
|
||||
|========================================
|
||||
|
||||
+339
-112
@@ -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,18 +90,15 @@ 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* | SASL Authentifikation am IRC Server mittels DH-BLOWFISH Methode, Script-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
|
||||
@@ -146,9 +142,16 @@ $ make install
|
||||
Kompilieren mit autotools
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[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 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
|
||||
~~~~~~~~~~~~~~~~~~~
|
||||
@@ -1743,31 +1993,40 @@ dann müssen Sie lediglich die Option löschen:
|
||||
Folgende Platzhalter können in den CTCP-Antworten genutzt werden. Diese werden dann
|
||||
mit dem entsprechenden Wert ersetzt:
|
||||
|
||||
// TRANSLATION MISSING ($versiongit + $git + $username (name))
|
||||
[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
|
||||
|========================================
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[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.
|
||||
|
||||
Falls CTCP Optionen nicht festgelegt sind, lauten die CTCP Antworten:
|
||||
|
||||
// TRANSLATION MISSING ($username (name))
|
||||
[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
|
||||
|========================================
|
||||
|
||||
@@ -2206,26 +2467,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 +2553,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,7 +2566,6 @@ 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
|
||||
** sende email an: weechat-support@nongnu.org
|
||||
|
||||
+5
-1
@@ -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
|
||||
|
||||
|
||||
@@ -139,10 +139,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 +152,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) +
|
||||
@@ -188,8 +191,9 @@
|
||||
'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 +325,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) +
|
||||
@@ -559,8 +561,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) +
|
||||
|
||||
@@ -42,6 +42,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
|
||||
|
||||
|
||||
@@ -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]]
|
||||
|
||||
@@ -318,6 +318,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
|
||||
@@ -373,6 +378,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 +419,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`)
|
||||
|
||||
@@ -459,9 +469,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)`
|
||||
|
||||
@@ -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 "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
|
||||
@@ -31,5 +33,11 @@ Examples:
|
||||
/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
|
||||
|
||||
@@ -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
|
||||
@@ -199,6 +200,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 prioity :
|
||||
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::
|
||||
........................................
|
||||
@@ -549,15 +605,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 +624,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 +649,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 +663,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]]
|
||||
|
||||
@@ -609,7 +609,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: `" *"`)
|
||||
|
||||
@@ -649,22 +649,22 @@
|
||||
** values: any string (default value: `"+"`)
|
||||
|
||||
* [[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: `"<--"`)
|
||||
|
||||
|
||||
+31
-30
@@ -52,7 +52,7 @@ The main WeeChat directories are:
|
||||
| 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 +62,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 +99,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 +115,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
|
||||
@@ -174,6 +177,7 @@ Plugins
|
||||
| alias-info.c | Info and infolists from alias plugin
|
||||
| aspell/ | Aspell plugin
|
||||
| weechat-aspell.c | Main aspell functions
|
||||
| weechat-aspell-bar-item.c | Aspell bar items
|
||||
| weechat-aspell-config.c | Aspell config options
|
||||
| weechat-aspell-speller.c | Spellers management
|
||||
| charset/ | Charset plugin
|
||||
@@ -255,6 +259,15 @@ Plugins
|
||||
| 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 | Info and infolists from scripts manager plugin
|
||||
| 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
|
||||
@@ -358,16 +371,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 +396,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);
|
||||
@@ -414,34 +434,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 +663,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 *
|
||||
|
||||
+75
-105
@@ -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?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -156,7 +146,6 @@ 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,7 +258,6 @@ 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)?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -320,7 +302,6 @@ shortenurl.py::
|
||||
|
||||
List of scripts about URLs: 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?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -336,7 +317,6 @@ and issue these commands when script is loaded:
|
||||
To have english messages with UTF-8 encoding for terminal, for ISO users, you
|
||||
can issue: `/shell setenv LANG=en_US`.
|
||||
|
||||
|
||||
[[256_colors]]
|
||||
How can I use 256 colors in WeeChat?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -374,7 +354,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 +363,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 +385,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 +393,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 +408,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 +426,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 +460,6 @@ To disable mouse in terminal:
|
||||
$ printf '\033[?1002l'
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[mouse_coords]]
|
||||
Mouse does nothing for X or Y greater than 94, why?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -499,7 +470,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 +478,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 +571,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,13 +585,12 @@ 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?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -577,7 +615,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 +648,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 +670,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 +684,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 +707,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 +722,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 +735,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 +762,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 +783,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 +792,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 +801,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
|
||||
~~~~~
|
||||
@@ -4942,6 +4995,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 +5014,7 @@ Script (Python):
|
||||
value = weechat.config_boolean(option)
|
||||
|
||||
# example
|
||||
option = weechat.config_get("plugin.section.option")
|
||||
if weechat.config_boolean(option):
|
||||
# ...
|
||||
----------------------------------------
|
||||
@@ -4988,6 +5043,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 +5062,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 +5091,7 @@ C example:
|
||||
|
||||
[source,C]
|
||||
----------------------------------------
|
||||
struct t_config_option *option = weechat_config_get ("plugin.section.option");
|
||||
int value = weechat_config_integer (option);
|
||||
----------------------------------------
|
||||
|
||||
@@ -5045,8 +5103,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 +5131,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 +5143,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 +5171,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 +5183,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 +5211,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 +5223,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 +5251,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 +5263,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 +5291,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 +5303,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
|
||||
@@ -6100,14 +6167,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]
|
||||
@@ -6851,6 +6918,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]
|
||||
@@ -6999,8 +7075,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 +7134,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 +7149,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 +7207,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 +7239,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 +7249,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 +7261,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 +7291,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:
|
||||
@@ -7208,6 +7345,9 @@ 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;
|
||||
}
|
||||
@@ -7250,6 +7390,8 @@ 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, "",
|
||||
@@ -7754,7 +7896,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 +
|
||||
@@ -12770,7 +12912,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 +12932,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 +12947,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 +12969,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]
|
||||
@@ -13937,11 +14081,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 +14190,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):
|
||||
|
||||
@@ -90,7 +90,7 @@ 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:
|
||||
|
||||
@@ -101,12 +101,20 @@ To enable auto-connect to server at startup:
|
||||
|
||||
/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:
|
||||
|
||||
@@ -153,7 +161,7 @@ Join/part IRC channels
|
||||
`/part [quit message]`::
|
||||
part a channel (keeping buffer open)
|
||||
|
||||
`/close [quit message]`::
|
||||
`/close`::
|
||||
close server or channel buffer (`/close` is an alias for `/buffer close`)
|
||||
|
||||
|
||||
|
||||
@@ -99,9 +99,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:
|
||||
|
||||
@@ -385,7 +386,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
|
||||
|========================================
|
||||
|
||||
+283
-62
@@ -47,7 +47,6 @@ In order to install WeeChat, you need:
|
||||
* 'root' privileges (to install WeeChat in a system directory)
|
||||
* ncurses library
|
||||
|
||||
|
||||
[[install]]
|
||||
Installation
|
||||
------------
|
||||
@@ -99,7 +98,7 @@ compile WeeChat.
|
||||
| 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
|
||||
@@ -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/tobbom. 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
|
||||
-------
|
||||
@@ -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
|
||||
@@ -1711,29 +1957,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 +2081,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
|
||||
|========================================
|
||||
|
||||
@@ -2245,38 +2499,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
|
||||
-------
|
||||
@@ -2289,7 +2511,6 @@ Ways to get support:
|
||||
|
||||
* IRC: server 'irc.freenode.net', channels '#weechat' (english) and
|
||||
'#weechat-fr' (french)
|
||||
* WeeChat forum: http://forums.flashtux.org/
|
||||
* Mailing list:
|
||||
** subscribe: http://mail.nongnu.org/mailman/listinfo/weechat-support
|
||||
** send mail to weechat-support@nongnu.org
|
||||
|
||||
@@ -99,7 +99,7 @@ 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:
|
||||
|
||||
@@ -110,12 +110,22 @@ Para que el servidor se conecte cuando WeeChat inicie:
|
||||
|
||||
/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:
|
||||
|
||||
@@ -164,7 +174,7 @@ join/part y canales IRC
|
||||
`/part [mensaje de partida]`::
|
||||
sale de un canal (mantiene el buffer abierto)
|
||||
|
||||
`/close [mensaje de partida]`::
|
||||
`/close`::
|
||||
cierra un servidor o el buffer de un canal
|
||||
(`/close` es un alias de `/buffer close`)
|
||||
|
||||
|
||||
@@ -139,10 +139,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 +152,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) +
|
||||
@@ -188,8 +191,9 @@
|
||||
'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 +325,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) +
|
||||
@@ -559,8 +561,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) +
|
||||
|
||||
@@ -42,6 +42,8 @@
|
||||
|
||||
| weechat | version | version de WeeChat | -
|
||||
|
||||
| weechat | version_git | version git de WeeChat (sortie de la commande "git describe" pour une version de développement seulement, vide pour une version stable) | -
|
||||
|
||||
| weechat | version_number | version de WeeChat (sous forme de nombre) | -
|
||||
|
||||
| weechat | weechat_dir | répertoire de WeeChat | -
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|========================================
|
||||
| Extension | Nom | Description | Hashtable (entrée) | Hashtable (sortie)
|
||||
|
||||
| irc | irc_message_parse | analyse un message IRC | "message": message IRC, "server": nom du serveur (optionnel) | "nick": pseudo, "host": nom d'hôte, "command": commande, "channel": canal, "arguments": paramètres (inclut le canal)
|
||||
| irc | irc_message_parse | analyse un message IRC | "message": message IRC, "server": nom du serveur (optionnel) | "tags": étiquettes, "message_without_tags": message sans les étiquettes, "nick": pseudo, "host": nom d'hôte, "command": commande, "channel": canal, "arguments": paramètres (inclut le canal)
|
||||
|
||||
| irc | irc_message_split | découper un message IRC (pour tenir dans les 512 octets) | "message": message IRC, "server": nom du serveur (optionnel) | "msg1" ... "msgN": messages à envoyer (sans le "\r\n" final), "args1" ... "argsN": paramètres des messages, "count": nombre de messages
|
||||
|
||||
|
||||
@@ -23,6 +23,11 @@
|
||||
** type: booléen
|
||||
** valeurs: on, off (valeur par défaut: `off`)
|
||||
|
||||
* [[option_aspell.check.suggestions]] *aspell.check.suggestions*
|
||||
** description: `nombre de suggestions à afficher dans l'objet de barre "aspell_suggest" pour chaque dictionnaire du tampon (-1 = désactiver les suggestions, 0 = afficher toutes les suggestions possibles dans toutes les langues)`
|
||||
** type: entier
|
||||
** valeurs: -1 .. 2147483647 (valeur par défaut: `-1`)
|
||||
|
||||
* [[option_aspell.check.word_min_length]] *aspell.check.word_min_length*
|
||||
** description: `longueur minimum d'un mot pour que l'otrhographe soit vérifiée (utilisez 0 pour vérifier tous les mots)`
|
||||
** type: entier
|
||||
|
||||
@@ -56,7 +56,7 @@ Sans paramètre, cette commande affiche la liste des bans pour le canal courant.
|
||||
[command]*`connect`* se connecter à un/plusieurs serveur(s) IRC::
|
||||
........................................
|
||||
/connect [<serveur> [<serveur>...] [-<option>[=<valeur>]] [-no<option>] [-nojoin] [-switch]
|
||||
-all|-open [-nojoin] [-switch]
|
||||
-all|-auto|-open [-nojoin] [-switch]
|
||||
|
||||
serveur: nom du serveur, qui peut être :
|
||||
- nom interne de serveur (créé par /server add, usage recommandé)
|
||||
@@ -65,6 +65,7 @@ Sans paramètre, cette commande affiche la liste des bans pour le canal courant.
|
||||
option: définir l'option pour le serveur (pour une option booléenne, la valeur peut être omise)
|
||||
nooption: définir l'option booléenne à 'off' (par exemple: -nossl)
|
||||
-all: se connecter à tous les serveurs définis dans la configuration
|
||||
-auto: se connecter aux serveurs qui ont "autoconnect" activé
|
||||
-open: se connecter à tous les serveurs ouverts qui ne sont pas actuellement connectés
|
||||
-nojoin: ne rejoindre aucun canal (même si l'autojoin est activé pour le serveur)
|
||||
-switch: basculer vers l'adresse suivante du serveur
|
||||
@@ -212,16 +213,18 @@ pseudo: pseudo
|
||||
[[command_irc_join]]
|
||||
[command]*`join`* rejoindre un canal::
|
||||
........................................
|
||||
/join [-server <serveur>] [<canal1>[,<canal2>...]] [<clé1>[,<clé2>...]]
|
||||
/join [-noswitch] [-server <serveur>] [<canal1>[,<canal2>...]] [<clé1>[,<clé2>...]]
|
||||
|
||||
serveur: envoyer à ce serveur (nom interne)
|
||||
canal: nom du canal à rejoindre
|
||||
clé: clé pour rejoindre le canal (les canaux avec une clé doivent être les premiers dans la liste)
|
||||
-noswitch: ne pas basculer sur le nouveau tampon
|
||||
serveur: envoyer à ce serveur (nom interne)
|
||||
canal: nom du canal à rejoindre
|
||||
clé: clé pour rejoindre le canal (les canaux avec une clé doivent être les premiers dans la liste)
|
||||
|
||||
Exemples:
|
||||
/join #weechat
|
||||
/join #protectedchan,#weechat key
|
||||
/join -server freenode #weechat
|
||||
/join -noswitch #weechat
|
||||
........................................
|
||||
|
||||
[[command_irc_kick]]
|
||||
@@ -465,6 +468,17 @@ serveur: envoyer à ce serveur (nom interne)
|
||||
texte: texte à envoyer
|
||||
........................................
|
||||
|
||||
[[command_irc_quiet]]
|
||||
[command]*`quiet`* faire taire des pseudos ou hôtes::
|
||||
........................................
|
||||
/quiet [<canal>] [<pseudo> [<pseudo>...]]
|
||||
|
||||
canal: nom du canal pour faire taire
|
||||
pseudo: pseudo ou hôte à faire taire
|
||||
|
||||
Sans paramètre, cette commande affiche la liste des "quiet" pour le canal courant.
|
||||
........................................
|
||||
|
||||
[[command_irc_quote]]
|
||||
[command]*`quote`* envoyer des données brutes au serveur sans analyse::
|
||||
........................................
|
||||
@@ -734,10 +748,14 @@ masque: information qui correspond à ce masque uniquement
|
||||
[[command_irc_whois]]
|
||||
[command]*`whois`* demander les informations sur le(s) utilisateur(s)::
|
||||
........................................
|
||||
/whois [<serveur>] <pseudo>[,<pseudo>...]
|
||||
/whois [<serveur>] [<pseudo>[,<pseudo>...]]
|
||||
|
||||
serveur: nom du serveur
|
||||
serveur: nom de serveur
|
||||
pseudo: pseudo (peut être un masque)
|
||||
|
||||
Sans paramètre, cette commande effectuera un whois sur :
|
||||
- votre propre pseudo si le tampon est un serveur/canal
|
||||
- le pseudo distant si le tampon est un privé.
|
||||
........................................
|
||||
|
||||
[[command_irc_whowas]]
|
||||
|
||||
@@ -318,6 +318,11 @@
|
||||
** type: booléen
|
||||
** valeurs: on, off (valeur par défaut: `off`)
|
||||
|
||||
* [[option_irc.network.alternate_nick]] *irc.network.alternate_nick*
|
||||
** description: `obtenir un pseudo alternatif lorsque le pseudo est déjà utilisé sur le serveur: ajouter des "_" jusqu'à ce que le pseudo ait une longeur de 9, puis remplacer le dernier caractère (ou les deux derniers) par un nombre de 1 à 99, jusqu'à trouver un pseudo non utilisé sur le serveur`
|
||||
** type: booléen
|
||||
** valeurs: on, off (valeur par défaut: `on`)
|
||||
|
||||
* [[option_irc.network.autoreconnect_delay_growing]] *irc.network.autoreconnect_delay_growing*
|
||||
** description: `facteur de croissance du délai d'autoreconnection au serveur (1 = toujours le même délai, 2 = délai*2 pour chaque tentative, etc...)`
|
||||
** type: entier
|
||||
@@ -373,6 +378,11 @@
|
||||
** type: booléen
|
||||
** valeurs: on, off (valeur par défaut: `off`)
|
||||
|
||||
* [[option_irc.network.whois_double_nick]] *irc.network.whois_double_nick*
|
||||
** description: `doubler le pseudo dans la commande /whois (si un seul pseudo est donné), pour avoir le temps d'inactivité; par exemple: "/whois pseudo" enverra "whois pseudo pseudo"`
|
||||
** type: booléen
|
||||
** valeurs: on, off (valeur par défaut: `on`)
|
||||
|
||||
* [[option_irc.server_default.addresses]] *irc.server_default.addresses*
|
||||
** description: `liste de nom/port ou IP/port pour le serveur (séparés par des virgules)`
|
||||
** type: chaîne
|
||||
@@ -409,7 +419,7 @@
|
||||
** valeurs: 1 .. 65535 (valeur par défaut: `10`)
|
||||
|
||||
* [[option_irc.server_default.autorejoin]] *irc.server_default.autorejoin*
|
||||
** description: `rejoindre automatiquement les canaux après un "kick"`
|
||||
** description: `rejoindre automatiquement les canaux après un "kick"; vous pouvez définir une variable locale de tampon sur un canal pour remplacer cette valeur (nom de la variable: "autorejoin", valeur: "on" ou "off")`
|
||||
** type: booléen
|
||||
** valeurs: on, off (valeur par défaut: `off`)
|
||||
|
||||
@@ -459,9 +469,9 @@
|
||||
** valeurs: toute chaîne (valeur par défaut: `"WeeChat %v"`)
|
||||
|
||||
* [[option_irc.server_default.ipv6]] *irc.server_default.ipv6*
|
||||
** description: `utiliser le protocole IPv6 pour la communication avec le serveur`
|
||||
** description: `utiliser le protocole IPv6 pour la communication avec le serveur (essayer IPv6 puis repli sur l'IPv4); si désactivé, seulemenent l'IPv4 est utilisé`
|
||||
** type: booléen
|
||||
** valeurs: on, off (valeur par défaut: `off`)
|
||||
** valeurs: on, off (valeur par défaut: `on`)
|
||||
|
||||
* [[option_irc.server_default.local_hostname]] *irc.server_default.local_hostname*
|
||||
** description: `nom local de machine/IP personnalisé pour le serveur (optionnel, si non renseigné, le nom de machine local est utilisé)`
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
[command]*`relay`* contrôle du relai::
|
||||
........................................
|
||||
/relay list|listfull|listrelay
|
||||
add <protocole.nom> <port>
|
||||
del <protocole.nom>
|
||||
add [ipv4.][ipv6.][ssl.]<protocole.nom> <port>
|
||||
[ipv4.][ipv6.][ssl.]del <protocole.nom>
|
||||
raw
|
||||
sslcertkey
|
||||
|
||||
@@ -12,10 +12,12 @@
|
||||
listrelay: lister les relais (nom et port)
|
||||
add: ajouter un relai pour un protocole + nom
|
||||
del: supprimer un relai pour un protocole + nom
|
||||
ipv4: forcer l'utilisation d'IPv4
|
||||
ipv6: forcer l'utilisation d'IPv6
|
||||
ssl: activer SSL
|
||||
protocole.nom: protocole et nom à relayer:
|
||||
- protocole "irc": le nom est le serveur à partager
|
||||
- protocole "weechat" (le nom n'est pas utilisé)
|
||||
Note: le protocole peut être préfixé par "ssl." pour activer le SSL
|
||||
port: port utilisé pour le relai
|
||||
raw: ouvrir le tampon avec les données brutes Relay
|
||||
sslcertkey: définir le certificat/clé SSL en utilisant le chemin de l'option relay.network.ssl_cert_key
|
||||
@@ -31,5 +33,11 @@ Exemples:
|
||||
/relay add weechat 9000
|
||||
protocole weechat avec SSL:
|
||||
/relay add ssl.weechat 9001
|
||||
protocole weechat avec SSL, en utilisant seulement IPv4:
|
||||
/relay add ipv4.ssl.weechat 9001
|
||||
protocole weechat avec SSL, en utilisant seulement IPv6:
|
||||
/relay add ipv6.ssl.weechat 9001
|
||||
protocole weechat avec SSL, en utilisant IPv4 + IPv6:
|
||||
/relay add ipv4.ipv6.ssl.weechat 9001
|
||||
........................................
|
||||
|
||||
|
||||
@@ -43,6 +43,31 @@
|
||||
** type: couleur
|
||||
** valeurs: un nom de couleur WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), un numéro de couleur du terminal ou un alias; des attributs sont autorisés avant la couleur (seulement pour la couleur du texte, pas le fond) : "*" pour du gras, "!" pour la vidéo inverse, "_" pour du souligné (valeur par défaut: `white`)
|
||||
|
||||
* [[option_relay.irc.backlog_max_minutes]] *relay.irc.backlog_max_minutes*
|
||||
** description: `nombre maximum de minutes dans l'historique par canal IRC (0 = sans limite, exemples: 1440 = une journée, 10080 = une semaine, 43200 = un mois, 525600 = une année)`
|
||||
** type: entier
|
||||
** valeurs: 0 .. 2147483647 (valeur par défaut: `1440`)
|
||||
|
||||
* [[option_relay.irc.backlog_max_number]] *relay.irc.backlog_max_number*
|
||||
** description: `nombre maximum de lignes dans l'historique par canal IRC (0 = sans limite)`
|
||||
** type: entier
|
||||
** valeurs: 0 .. 2147483647 (valeur par défaut: `256`)
|
||||
|
||||
* [[option_relay.irc.backlog_since_last_disconnect]] *relay.irc.backlog_since_last_disconnect*
|
||||
** description: `afficher l'historique en démarrant à la dernière déconnexion du client`
|
||||
** type: booléen
|
||||
** valeurs: on, off (valeur par défaut: `on`)
|
||||
|
||||
* [[option_relay.irc.backlog_tags]] *relay.irc.backlog_tags*
|
||||
** description: `étiquettes ("tags") des messages qui sont affichés dans l'historique par canal IRC (étiquettes supportées: "irc_join", "irc_part", "irc_quit", "irc_nick", "irc_privmsg"), "*" = toutes les étiquettes supportées`
|
||||
** type: chaîne
|
||||
** valeurs: toute chaîne (valeur par défaut: `"irc_privmsg"`)
|
||||
|
||||
* [[option_relay.irc.backlog_time_format]] *relay.irc.backlog_time_format*
|
||||
** description: `format pour l'heure dans les messages d'historique (voir man strftime pour le format) (non utilisé si la capacité de serveur "server-time" a été activée par le client, car l'heure est envoyée sous forme d'étiquette irc); chaîne vide = désactiver l'heure dans les messages d'historique`
|
||||
** type: chaîne
|
||||
** valeurs: toute chaîne (valeur par défaut: `"[%H:%M] "`)
|
||||
|
||||
* [[option_relay.look.auto_open_buffer]] *relay.look.auto_open_buffer*
|
||||
** description: `ouvrir automatiquement le tampon des clients pour le relai lorsqu'un nouveau client est ajouté à la liste`
|
||||
** type: booléen
|
||||
@@ -54,7 +79,7 @@
|
||||
** valeurs: 0 .. 65535 (valeur par défaut: `256`)
|
||||
|
||||
* [[option_relay.network.allowed_ips]] *relay.network.allowed_ips*
|
||||
** description: `expression régulière avec les IPs autorisées pour le relai (insensible à la casse, utilisez "(?-i)" en début de chaîne pour la rendre sensible à la casse), exemple: "^(123.45.67.89|192.160.*)$"`
|
||||
** description: `expression régulière avec les IPs autorisées pour le relai (insensible à la casse, utilisez "(?-i)" en début de chaîne pour la rendre sensible à la casse); si l'IPv6 est activé et qu'une connexion est faite en IPv4, il y aura une adresse IPv4 encapsulée dans une IPv6 (comme: "::ffff:127.0.0.1"), exemple: "^((::ffff:)?123.45.67.89|192.160.*)$"`
|
||||
** type: chaîne
|
||||
** valeurs: toute chaîne (valeur par défaut: `""`)
|
||||
|
||||
@@ -68,6 +93,11 @@
|
||||
** type: entier
|
||||
** valeurs: 0 .. 9 (valeur par défaut: `6`)
|
||||
|
||||
* [[option_relay.network.ipv6]] *relay.network.ipv6*
|
||||
** description: `écouter en IPv6 sur la socket par défaut (en plus de l'IPv4 qui est par défaut); les protocoles IPv4 et IPv6 peuvent être forcés (individuellement ou ensemble) dans le nom du protocole (voir /help relay)`
|
||||
** type: booléen
|
||||
** valeurs: on, off (valeur par défaut: `on`)
|
||||
|
||||
* [[option_relay.network.max_clients]] *relay.network.max_clients*
|
||||
** description: `nombre maximum de clients qui se connectent sur un port`
|
||||
** type: entier
|
||||
|
||||
@@ -11,7 +11,7 @@ message: message pour l'absence (si pas de message donné, le statut d'absence e
|
||||
[command]*`bar`* gestion des barres::
|
||||
........................................
|
||||
/bar list|listfull|listitems
|
||||
add <nom> <type>[,<cond1>[,<cond2>...]] <position> <taille> <séparateur> <objet1>[,<objet2>...]
|
||||
add <nom> <type>[,<conditions>] <position> <taille> <séparateur> <objet1>[,<objet2>...]
|
||||
default [input|title|status|nicklist]
|
||||
del <nom>|-all
|
||||
set <nom> <option> <valeur>
|
||||
@@ -25,10 +25,11 @@ message: message pour l'absence (si pas de message donné, le statut d'absence e
|
||||
nom: nom de la barre (doit être unique)
|
||||
type: root: en dehors des fenêtres
|
||||
window: dans les fenêtres, avec condition(s) optionnelle(s) (voir ci-dessous)
|
||||
cond1,...: condition(s) pour afficher cette barre (seulement pour le type "window"):
|
||||
condition: condition(s) pour afficher cette barre (seulement pour le type "window"):
|
||||
active: sur la fenêtre active
|
||||
inactive: sur les fenêtres inactives
|
||||
nicklist: sur les fenêtres avec liste de pseudos
|
||||
autre condition: voir /help weechat.bar.xxx.conditions et /help eval
|
||||
sans condition, la barre est toujours affichée
|
||||
position: bottom (bas), top (haut), left (gauche) ou right (droite)
|
||||
taille: taille de la barre (en caractères)
|
||||
@@ -199,6 +200,61 @@ infolists: afficher des infos sur les infolists
|
||||
windows: afficher l'arbre des fenêtres
|
||||
........................................
|
||||
|
||||
[[command_weechat_eval]]
|
||||
[command]*`eval`* évaluer une expression et envoyer le résultat au tampon::
|
||||
........................................
|
||||
/eval [-n] <expression>
|
||||
[-n] <expression1> <opérateur> <expression2>
|
||||
|
||||
-n: afficher le résultat sans envoyer au tampon (mode debug)
|
||||
expression: expression à évaluer, les variables avec le format ${variable} sont remplacées (voir ci-dessous)
|
||||
opérateur: un opérateur logique ou de comparaison :
|
||||
- opérateurs logiques :
|
||||
&& "et" booléen
|
||||
|| "ou" booléen
|
||||
- opérateurs de comparaison :
|
||||
== égal
|
||||
!= non égal
|
||||
<= inférieur ou égal
|
||||
< inférieur
|
||||
>= supérieur ou égal
|
||||
> supérieur
|
||||
=~ correspond à l'expression régulière
|
||||
!~ ne correspond PAS à l'expression régulière
|
||||
|
||||
Une expression est considérée comme "vraie" si elle est non NULL, non vide, et différente de "0".
|
||||
La comparaison est faite en utilisant des entiers si les deux expressions sont des entiers valides.
|
||||
Pour forcer une comparaison de chaînes, ajoutez des guillemets autour de chaque expression, par exemple :
|
||||
50 > 100 ==> 0
|
||||
"50" > "100" ==> 1
|
||||
|
||||
Des variables sont remplacées dans l'expression, en utilisant le format ${variable}, la variable pouvant être, par ordre de priorité :
|
||||
1. le nom d'une option (fichier.section.option)
|
||||
2. le nom d'une variable locale du tampon
|
||||
3. le nom d'un hdata/variable (la valeur est automatiquement convertie en chaîne), par défaut "window" et "buffer" pointent vers la fenêtre et le tampon courants.
|
||||
Le format du hdata peut être le suivant :
|
||||
hdata.var1.var2...: démarrer avec un hdata (le pointeur doit être connu), et demander les variables l'une après l'autre (d'autres hdata peuvent être suivis)
|
||||
hdata(list).var1.var2...: démarrer avec un hdata en utlisant une liste, par exemple :
|
||||
${buffer[gui_buffers].full_name}: nom complet du premier tampon dans la liste chaînée des tampons
|
||||
${plugin[weechat_plugins].name}: nom de la première extension dans la liste chaînée des extensions
|
||||
Pour le nom du hdata et des variables, voir la "Référence API extension", fonction "weechat_hdata_get".
|
||||
|
||||
Exemples:
|
||||
/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`* filtrer les messages dans les tampons, pour les cacher/afficher selon des tags ou expressions régulières::
|
||||
........................................
|
||||
@@ -549,14 +605,16 @@ Sans paramètre, tous les fichiers (WeeChat et extensions) sont sauvegardés.
|
||||
[command]*`set`* modifier des options de configuration::
|
||||
........................................
|
||||
/set [<option> [<valeur>]]
|
||||
diff [<option> [<option>...]]
|
||||
|
||||
option: nom d'une option (peut démarrer ou se terminer par '*' pour lister plusieurs options)
|
||||
valeur: nouvelle valeur pour l'option
|
||||
diff: afficher seulement les options modifiées
|
||||
|
||||
La nouvelle valeur peut être, selon le type de l'option:
|
||||
booléen: on, off ou toggle
|
||||
entier : nombre, ++nombre ou --nombre
|
||||
chaîne : toute chaîne ("" pour une chaîne vide)
|
||||
entier: nombre, ++nombre ou --nombre
|
||||
chaîne: toute chaîne ("" pour une chaîne vide)
|
||||
couleur: nom de couleur, ++nombre ou --nombre
|
||||
|
||||
Pour tous les types, vous pouvez utiliser null pour supprimer la valeur de l'option (valeur non définie). Cela ne fonctionne qu'avec certaines options spéciales des extensions.
|
||||
@@ -566,6 +624,10 @@ Exemples:
|
||||
/set *highlight*
|
||||
ajouter un mot pour le highlight:
|
||||
/set weechat.look.highlight "mot"
|
||||
afficher les options modifiées:
|
||||
/set diff
|
||||
afficher les options modifiées dans l'extension irc:
|
||||
/set diff irc.*
|
||||
........................................
|
||||
|
||||
[[command_weechat_unset]]
|
||||
@@ -587,9 +649,10 @@ Exemples:
|
||||
[[command_weechat_upgrade]]
|
||||
[command]*`upgrade`* mettre à jour WeeChat sans se déconnecter des serveurs::
|
||||
........................................
|
||||
/upgrade [<chemin_vers_binaire>]
|
||||
/upgrade [<chemin_vers_binaire>|-quit]
|
||||
|
||||
chemin_vers_binaire: chemin vers le binaire WeeChat (par défaut le binaire courant)
|
||||
-quit: fermer *TOUTES* les connexions, sauver la session et quitter, ce qui rend possible une restauration différée (voir ci-dessous)
|
||||
|
||||
Cette commande met à jour et recharge une session de WeeChat qui tourne. Le nouveau binaire WeeChat doit avoir été compilé ou installé via un gestionnaire de paquet avant de lancer cette commande.
|
||||
|
||||
@@ -599,7 +662,17 @@ Le processus de mise à jour comporte 4 étapes :
|
||||
1. sauvegarder la session pour le coeur et les extensions (tampons, historique, ...)
|
||||
2. décharger toutes les extensions (les fichiers de configuration (*.conf) sont écrits sur disque)
|
||||
3. sauvegarder la configuration WeeChat (weechat.conf)
|
||||
4. exécuter le nouveau binaire WeeChat et recharger la session.
|
||||
4. exécuter le nouveau binaire WeeChat et recharger la session.<
|
||||
|
||||
Avec l'option "-quit", le processus est légèrement différent :
|
||||
1. fermer *TOUTES* les connexions
|
||||
2. sauvegarder la session (fichiers *.upgrade)
|
||||
3. décharger les extensions
|
||||
4. sauvegarder la configuration WeeChat
|
||||
5. quitter WeeChat
|
||||
Et plus tard vous pouvez restaurer la session avec la commande: weechat-curses --upgrade
|
||||
IMPORTANT: vous devez restaurer la session avec exactement la même configuration (fichiers *.conf).
|
||||
Il est également possible de restaurer la session WeeChat sur une autre machine si vous y copiez le contenu du répertoire "~/.weechat".
|
||||
........................................
|
||||
|
||||
[[command_weechat_uptime]]
|
||||
|
||||
@@ -609,7 +609,7 @@
|
||||
** valeurs: -1 .. 2147483647 (valeur par défaut: `1`)
|
||||
|
||||
* [[option_weechat.look.prefix_action]] *weechat.look.prefix_action*
|
||||
** description: `préfixe pour les messages d'action`
|
||||
** description: `préfixe pour les messages d'action, les couleurs sont autorisées avec le format "${couleur}"`
|
||||
** type: chaîne
|
||||
** valeurs: toute chaîne (valeur par défaut: `" *"`)
|
||||
|
||||
@@ -649,22 +649,22 @@
|
||||
** valeurs: toute chaîne (valeur par défaut: `"+"`)
|
||||
|
||||
* [[option_weechat.look.prefix_error]] *weechat.look.prefix_error*
|
||||
** description: `préfixe pour les messages d'erreur`
|
||||
** description: `préfixe pour les messages d'erreur, les couleurs sont autorisées avec le format "${couleur}"`
|
||||
** type: chaîne
|
||||
** valeurs: toute chaîne (valeur par défaut: `"=!="`)
|
||||
|
||||
* [[option_weechat.look.prefix_join]] *weechat.look.prefix_join*
|
||||
** description: `préfixe pour les messages d'arrivée`
|
||||
** description: `préfixe pour les messages d'arrivée, les couleurs sont autorisées avec le format "${couleur}"`
|
||||
** type: chaîne
|
||||
** valeurs: toute chaîne (valeur par défaut: `"-->"`)
|
||||
|
||||
* [[option_weechat.look.prefix_network]] *weechat.look.prefix_network*
|
||||
** description: `préfixe pour les messages réseau`
|
||||
** description: `préfixe pour les messages réseau, les couleurs sont autorisées avec le format "${couleur}"`
|
||||
** type: chaîne
|
||||
** valeurs: toute chaîne (valeur par défaut: `"--"`)
|
||||
|
||||
* [[option_weechat.look.prefix_quit]] *weechat.look.prefix_quit*
|
||||
** description: `préfixe pour les messages de départ`
|
||||
** description: `préfixe pour les messages de départ, les couleurs sont autorisées avec le format "${couleur}"`
|
||||
** type: chaîne
|
||||
** valeurs: toute chaîne (valeur par défaut: `"<--"`)
|
||||
|
||||
|
||||
+78
-108
@@ -11,7 +11,6 @@ utilisé de préférence avec la dernière version stable de WeeChat.
|
||||
Général
|
||||
-------
|
||||
|
||||
|
||||
[[weechat_name]]
|
||||
D'où vient le nom "WeeChat" ?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -22,7 +21,6 @@ Donc le nom complet est "Wee Enhanced Environment for Chat".
|
||||
"Wee" signifie également "très petit" (et oui, il y a une autre signification,
|
||||
mais elle ne s'applique pas à WeeChat !).
|
||||
|
||||
|
||||
[[why_choose_weechat]]
|
||||
Pourquoi choisir WeeChat ? X-Chat et Irssi sont si bien...
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -53,12 +51,10 @@ Quelques fonctionnalités (version ≥ 0.3.x) :
|
||||
|
||||
Plus d'infos sur cette page : http://www.weechat.org/features
|
||||
|
||||
|
||||
[[compilation_install]]
|
||||
Compilation / installation
|
||||
--------------------------
|
||||
|
||||
|
||||
[[gui]]
|
||||
J'ai entendu parler de plusieurs interfaces pour WeeChat. Comment puis-je les compiler/utiliser ?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -68,7 +64,6 @@ Aujourd'hui seule l'interface Curses est disponible.
|
||||
D'autres interfaces seront disponibles en mode distant (actuellement
|
||||
en développement).
|
||||
|
||||
|
||||
[[compile_git]]
|
||||
Je ne peux pas compiler WeeChat après avoir cloné la base git, pourquoi ?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -84,7 +79,6 @@ base git. Notez que ce paquet peut ne pas correspondre exactement à la base
|
||||
git et qu'il est moins pratique que de cloner la base git pour installer des
|
||||
mises à jour.
|
||||
|
||||
|
||||
[[lost]]
|
||||
J'ai lancé WeeChat, mais je suis perdu, que puis-je faire ?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -95,12 +89,10 @@ Pour obtenir de l'aide tapez `/help`. Pour de l'aide sur une commande, tapez
|
||||
Il est recommandé pour les nouveaux utilisateurs de lire le guide de démarrage
|
||||
rapide (voir la page de doc sur le site).
|
||||
|
||||
|
||||
[[display]]
|
||||
Affichage
|
||||
---------
|
||||
|
||||
|
||||
[[charset]]
|
||||
Je ne vois pas bien certains accents dans WeeChat, que faire ?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -131,7 +123,6 @@ La locale UTF-8 est recommandée pour WeeChat. Si vous utilisez ISO ou une autre
|
||||
locale, assurez-vous que *tout* soit configuré en ISO (terminal, screen, ...)
|
||||
et *pas* en UTF-8.
|
||||
|
||||
|
||||
[[bars_background]]
|
||||
Des barres telles que le titre et le statut ne sont pas remplies, la couleur de fond s'arrête après le texte, pourquoi ?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -148,7 +139,6 @@ Selon la façon de lancer WeeChat, vous devriez avoir :
|
||||
|
||||
Si besoin, corrigez la variable TERM : `export TERM="xxx"`.
|
||||
|
||||
|
||||
[[screen_weird_chars]]
|
||||
Quand j'utilise weechat sous screen/tmux, j'ai des caractères bizarres et aléatoires, comment corriger ça ?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -161,7 +151,6 @@ Par exemple 'xterm-color' provoque ce genre de problèmes, utilisez
|
||||
|
||||
Si besoin, corrigez la variable TERM : `export TERM="xxx"`.
|
||||
|
||||
|
||||
[[osx_display_broken]]
|
||||
J'ai compilé WeeChat sous OS X, et je vois des "(null)" partout sur l'écran, pourquoi ?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -172,7 +161,6 @@ fourni avec le système).
|
||||
De plus, sous OS X, il est recommandé d'installer WeeChat avec le gestionnaire
|
||||
de paquets Homebrew.
|
||||
|
||||
|
||||
[[buffer_vs_window]]
|
||||
J'ai entendu parler de "buffer" et "window", quelle est la différence ?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -187,7 +175,6 @@ fenêtres.
|
||||
Chaque fenêtre affiche un tampon. Un tampon peut être caché (affiché par
|
||||
aucune fenêtre) ou affiché par une ou plusieurs fenêtres.
|
||||
|
||||
|
||||
[[buffers_list]]
|
||||
Comment afficher la liste des tampons sur la gauche ?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -206,7 +193,6 @@ Pour déplacer la barre en bas :
|
||||
/set weechat.bar.buffers.position bottom
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[customize_prefix]]
|
||||
Comment puis-je réduire la longueur des pseudos ou supprimer l'alignement des pseudos dans la zone de discussion ?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -223,7 +209,6 @@ Pour supprimer l'alignement sur les pseudos :
|
||||
/set weechat.look.prefix_align none
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[input_bar_size]]
|
||||
Comment utiliser une ligne de commande sur plusieurs lignes ?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -245,7 +230,6 @@ Taille maxi de 2 :
|
||||
/set weechat.bar.input.size_max 2
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[one_input_root_bar]]
|
||||
Est-il possible d'avoir une seule bar input pour toutes les fenêtres (après un découpage) ?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -268,7 +252,6 @@ barre, WeeChat recréera automatiquement la barre par défaut "input" si l'objet
|
||||
/bar del rootinput
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[terminal_copy_paste]]
|
||||
Comment puis-je copier/coller du texte sans coller la liste des pseudos ?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -284,7 +267,6 @@ exemple :
|
||||
/set weechat.bar.nicklist.position top
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[urls]]
|
||||
Comment puis-je cliquer sur les longs URLs (plus d'une ligne) ?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -331,7 +313,6 @@ shortenurl.py::
|
||||
Liste des scripts manipulant des URLs :
|
||||
http://www.weechat.org/scripts/stable/tag/url
|
||||
|
||||
|
||||
[[change_locale_without_quit]]
|
||||
Je souhaite changer la langue des messages affichés par WeeChat, mais sans quitter WeeChat, est-ce possible ?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -347,7 +328,6 @@ WeeChat) et taper ces commandes une fois le script chargé :
|
||||
Pour avoir des messages anglais avec encodage UTF-8 pour le terminal, pour les
|
||||
utilisateurs en ISO, vous pouvez taper : `/shell setenv LANG=fr_FR`.
|
||||
|
||||
|
||||
[[256_colors]]
|
||||
Comment puis-je utiliser 256 couleurs sous WeeChat ?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -389,7 +369,6 @@ options (facultatif : vous pouvez ajouter des alias de couleurs avec la commande
|
||||
Merci de lire le guide utilisateur pour plus d'information sur la gestion des
|
||||
couleurs.
|
||||
|
||||
|
||||
[[search_text]]
|
||||
Comment puis-je chercher du texte dans le tampon (comme /lastlog dans irssi) ?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -400,12 +379,10 @@ Et sauter aux highlights : @k(A-)@k(p)/@k(n).
|
||||
Voir le guide utilisateur pour plus d'information sur cette fonctionnalité
|
||||
(raccourcis clavier par défaut).
|
||||
|
||||
|
||||
[[key_bindings]]
|
||||
Raccourcis clavier
|
||||
------------------
|
||||
|
||||
|
||||
[[meta_keys]]
|
||||
Quelques touches meta (alt + touche) ne fonctionnent pas, pourquoi ?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -425,7 +402,6 @@ UXTerm*metaSendsEscape: true
|
||||
|
||||
Puis recharger les ressources (`xrdb -override ~/.Xresources`) ou redémarrez X.
|
||||
|
||||
|
||||
[[customize_key_bindings]]
|
||||
Comment puis-je configurer les raccourcis clavier ?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -435,7 +411,6 @@ Les raccourcis clavier sont modifiables avec la commande `/key`.
|
||||
La touche par défaut @k(A-)@k(k) permet de capturer le code d'une touche et de
|
||||
l'inclure dans la ligne de commande.
|
||||
|
||||
|
||||
[[jump_to_buffer_11_or_higher]]
|
||||
Quelle est la touche pour sauter vers le tampon 11 (ou numéro plus élevé) ?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -451,7 +426,6 @@ Vous pouvez définir une touche, par exemple :
|
||||
|
||||
La liste des touches par défaut est dans le Guide utilisateur.
|
||||
|
||||
|
||||
[[global_history]]
|
||||
Comment utiliser l'historique global (au lieu de l'historique du tampon) avec les touches haut et bas ?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -471,12 +445,10 @@ Les touches "meta2-A" et "meta2-B" peuvent être différentes dans votre termina
|
||||
Pour trouver le code de la touche appuyez sur @k(A-)@k(k) puis la touche (haut
|
||||
ou bas).
|
||||
|
||||
|
||||
[[mouse]]
|
||||
Souris
|
||||
------
|
||||
|
||||
|
||||
[[mouse_not_working]]
|
||||
La souris ne fonctionne pas du tout, que puis-je faire ?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -508,7 +480,6 @@ Pour désactiver la souris dans le terminal :
|
||||
$ printf '\033[?1002l'
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[mouse_coords]]
|
||||
La souris ne fait rien pour un X ou Y supérieur à 94, pourquoi ?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -519,7 +490,6 @@ de la souris, donc cela ne fonctionne pas avec un X/Y supérieur à 94.
|
||||
Vous devriez utiliser un terminal qui supporte les coordonnées UTF-8 pour la
|
||||
souris, comme rxvt-unicode.
|
||||
|
||||
|
||||
[[mouse_select_paste]]
|
||||
Comment puis-je sélectionner ou coller du texte quand la souris est activée dans WeeChat ?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -529,11 +499,83 @@ Lorsque la souris est activée dans WeeChat, vous pouvez utiliser la touche
|
||||
désactivée (sous certains terminaux comme iTerm, vous devez utiliser @k(-A-) au
|
||||
lieu de @k(-S-)).
|
||||
|
||||
|
||||
[[irc]]
|
||||
IRC
|
||||
---
|
||||
|
||||
[[irc_ssl_connection]]
|
||||
J'ai des problèmes pour me connecter au serveur avec SSL, que puis-je faire ?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Si vous voyez des erreurs à propos de la poignée de main gnutls ("handshake"),
|
||||
vous pouvez utiliser une valeur plus petite pour la clé Diffie-Hellman (par
|
||||
défaut 2048) :
|
||||
|
||||
----------------------------------------
|
||||
/set irc.server.freenode.ssl_dhkey_size 1024
|
||||
----------------------------------------
|
||||
|
||||
Si vous voyez des erreurs à propos du certificat, vous pouvez désactiver
|
||||
"ssl_verify" (attention, la connexion sera moins sûre en faisant cela) :
|
||||
|
||||
----------------------------------------
|
||||
/set irc.server.freenode.ssl_verify off
|
||||
----------------------------------------
|
||||
|
||||
[[irc_ssl_handshake_error]]
|
||||
Lors de la connexion SSL à un serveur, je vois juste une erreur "TLS handshake failed", que puis-je faire ?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Vous pouvez essayer une chaîne de priorité différente (WeeChat ≥ 0.3.5
|
||||
seulement), remplacez "xxx" par le nom de votre serveur :
|
||||
|
||||
----------------------------------------
|
||||
/set irc.server.xxx.ssl_priorities "NORMAL:-VERS-TLS-ALL:+VERS-TLS1.0:+VERS-SSL3.0:%COMPAT"
|
||||
----------------------------------------
|
||||
|
||||
[[irc_ssl_freenode]]
|
||||
Comment puis-je me connecter à freenode avec SSL ?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Positionnez l'option 'weechat.network.gnutls_ca_file' avec le fichier des
|
||||
certificats :
|
||||
|
||||
----------------------------------------
|
||||
/set weechat.network.gnutls_ca_file "/etc/ssl/certs/ca-certificates.crt"
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
Vérifiez que vous avez bien ce fichier (fourni généralement par le paquet
|
||||
"ca-certificates").
|
||||
|
||||
Configurez le port du serveur, SSL, dhkey_size, puis connectez-vous :
|
||||
|
||||
----------------------------------------
|
||||
/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]]
|
||||
Comment puis-je être identifié avant de rejoindre les canaux ?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Si le serveur supporte SASL, vous devriez l'utiliser au lieu d'envoyer une
|
||||
command pour l'authentification avec nickserv, par exemple :
|
||||
|
||||
----------------------------------------
|
||||
/set irc.server_default.sasl_mechanism dh-blowfish
|
||||
/set irc.server.freenode.sasl_username "mynick"
|
||||
/set irc.server.freenode.sasl_password "xxxxxxx"
|
||||
----------------------------------------
|
||||
|
||||
Si le serveur ne supporte pas SASL, vous pouvez ajouter un délai (entre la
|
||||
commande et le join des canaux) :
|
||||
|
||||
----------------------------------------
|
||||
/set irc.server.freenode.command_delay 5
|
||||
----------------------------------------
|
||||
|
||||
[[ignore_vs_filter]]
|
||||
Quelle est la différence entre les commandes /ignore et /filter ?
|
||||
@@ -554,7 +596,6 @@ Les lignes filtrées sont simplement cachées, pas supprimées, et il est possib
|
||||
de les voir en désactivant les filtres (par défaut, la touche @k(A-)@k(=)
|
||||
active/désactive les filtres).
|
||||
|
||||
|
||||
[[filter_irc_join_part_quit]]
|
||||
Comment puis-je filter les messages join/part/quit sur les canaux IRC ?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -570,13 +611,12 @@ ont parlé récemment) :
|
||||
Avec un filtre global (pour cacher *tous* les join/part/quit) :
|
||||
|
||||
----------------------------------------
|
||||
/filter add jpk * irc_join,irc_part,irc_quit *
|
||||
/filter add joinquit * irc_join,irc_part,irc_quit *
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
Pour l'aide : `/help filter` et `/help irc.look.smart_filter`
|
||||
|
||||
|
||||
[[filter_irc_join_channel_messages]]
|
||||
Comment puis-je filtrer certains messages affichés quand je rejoins un canal IRC ?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -601,7 +641,6 @@ Exemples :
|
||||
/filter add irc_join_topic_date * irc_332,irc_333 *
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[filter_voice_messages]]
|
||||
Comment puis-je filtrer les messages voice (par exemple sur le serveur Bitlbee) ?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -637,7 +676,6 @@ premier mode changé est voice) :
|
||||
/filter add hidevoices * irc_mode (\+|\-)v
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[color_away_nicks]]
|
||||
Comment puis-je voir les pseudos absents dans la liste des pseudos ?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -660,7 +698,6 @@ canaux avec maximum 25 pseudos :
|
||||
Pour WeeChat ≤ 0.3.3, les options sont 'irc.network.away_check' et
|
||||
'irc.network.away_check_max_nicks'.
|
||||
|
||||
|
||||
[[highlight_notification]]
|
||||
Comment être averti lorsque quelqu'un prononce mon pseudo sur un canal ?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -675,76 +712,16 @@ Pour 'launcher.pl', vous devez configurer la commande :
|
||||
|
||||
Autres scripts sur ce sujet : http://www.weechat.org/scripts/stable/tag/notify/
|
||||
|
||||
|
||||
[[irc_ssl_connection]]
|
||||
J'ai des problèmes pour me connecter au serveur avec SSL, que puis-je faire ?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Si vous voyez des erreurs à propos de la poignée de main gnutls ("handshake"),
|
||||
vous pouvez utiliser une valeur plus petite pour la clé Diffie-Hellman (par
|
||||
défaut 2048) :
|
||||
|
||||
----------------------------------------
|
||||
/set irc.server.freenode.ssl_dhkey_size 1024
|
||||
----------------------------------------
|
||||
|
||||
Si vous voyez des erreurs à propos du certificat, vous pouvez désactiver
|
||||
"ssl_verify" (attention, la connexion sera moins sûre en faisant cela) :
|
||||
|
||||
----------------------------------------
|
||||
/set irc.server.freenode.ssl_verify off
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[irc_ssl_handshake_error]]
|
||||
Lors de la connexion SSL à un serveur, je vois juste une erreur "TLS handshake failed", que puis-je faire ?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Vous pouvez essayer une chaîne de priorité différente (WeeChat ≥ 0.3.5
|
||||
seulement), remplacez "xxx" par le nom de votre serveur :
|
||||
|
||||
----------------------------------------
|
||||
/set irc.server.xxx.ssl_priorities "NORMAL:-VERS-TLS-ALL:+VERS-TLS1.0:+VERS-SSL3.0:%COMPAT"
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[irc_ssl_freenode]]
|
||||
Comment puis-je me connecter à freenode avec SSL ?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Positionnez l'option 'weechat.network.gnutls_ca_file' avec le fichier des
|
||||
certificats :
|
||||
|
||||
----------------------------------------
|
||||
/set weechat.network.gnutls_ca_file "/etc/ssl/certs/ca-certificates.crt"
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
Vérifiez que vous avez bien ce fichier (fourni généralement par le paquet
|
||||
"ca-certificates").
|
||||
|
||||
Configurez le port du serveur, SSL, dhkey_size, puis connectez-vous :
|
||||
|
||||
----------------------------------------
|
||||
/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]]
|
||||
Comment puis-je changer le serveur cible pour les commandes avec des tampons mélangés (comme le tampon avec les serveurs) ?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
La touche par défaut est @k(C-)@k(x) (la commande est : `/input switch_active_buffer`).
|
||||
|
||||
|
||||
[[plugins_scripts]]
|
||||
Extensions / scripts
|
||||
--------------------
|
||||
|
||||
|
||||
[[openbsd_plugins]]
|
||||
J'utilise OpenBSD et WeeChat ne charge aucune extension, pourquoi ?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -759,7 +736,6 @@ Vous devez configurer ça :
|
||||
/plugin autoload
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[load_scripts]]
|
||||
Comment puis-je charger des scripts Perl/Python/Ruby/Lua/Tcl ? Les scripts sont-ils compatibles avec d'autres clients IRC ?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -775,12 +751,10 @@ Notes :
|
||||
par WeeChat lorsqu'il démarre.
|
||||
* l'extension 'tcl' est disponible à partir de la version 0.3.0.
|
||||
|
||||
|
||||
[[settings]]
|
||||
Réglages
|
||||
--------
|
||||
|
||||
|
||||
[[memory_usage]]
|
||||
Comment configurer WeeChat pour consommer moins de mémoire ?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -790,19 +764,19 @@ Vous pouvez essayer les astuces suivantes pour consommer moins de mémoire :
|
||||
* utiliser la dernière version stable (elle est supposée avoir moins de fuites
|
||||
de mémoire que les versions plus anciennes)
|
||||
* ne pas charger les extensions si vous ne les utilisez pas, par exemple :
|
||||
aspell, fifo, logger, perl, python, ruby, lua, tcl, xfer (utilisé pour les
|
||||
DCC)
|
||||
aspell, fifo, logger, perl, python, ruby, lua, tcl, guile, xfer (utilisé pour
|
||||
les DCC)
|
||||
* charger uniquement les scripts dont vous avez vraiment besoin
|
||||
* ne pas charger les certificats si SSL n'est *PAS* utilisé : affecter une
|
||||
chaîne vide pour l'option 'weechat.network.gnutls_ca_file'
|
||||
* réduire la valeur de l'option 'weechat.history.max_buffer_lines_number' ou
|
||||
affecter une valeur à l'option 'weechat.history.max_buffer_lines_minutes'
|
||||
* réduire la valeur de l'option 'weechat.history.max_commands'
|
||||
|
||||
|
||||
[[development]]
|
||||
Développement
|
||||
-------------
|
||||
|
||||
|
||||
[[bug_task_patch]]
|
||||
Comment puis-je reporter un bug, demander une nouvelle fonctionnalité ou envoyer un patch ?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -818,7 +792,6 @@ Il y a 3 possibilités :
|
||||
pour les mails des développeurs : http://www.weechat.org/about
|
||||
(vous pouvez souscrire et envoyer à la liste de diffusion nommée "support")
|
||||
|
||||
|
||||
[[gdb_error_threads]]
|
||||
Quand je lance WeeChat sous gdb, il y a une erreur à propos des threads, que puis-je faire ?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -840,7 +813,6 @@ $ LD_PRELOAD=/lib/libpthread.so.0 gdb /path/to/weechat-curses
|
||||
(gdb) run
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[supported_os]]
|
||||
Quelle est la liste des plates-formes supportées par WeeChat ? Sera-t-il porté sur d'autres systèmes d'exploitation ?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -851,7 +823,6 @@ Nous faisons le maximum pour supporter le plus de plates-formes possible.
|
||||
Toute aide est la bienvenue pour les systèmes que nous n'avons pas, pour y
|
||||
tester WeeChat.
|
||||
|
||||
|
||||
[[help_developers]]
|
||||
Je souhaiterais aider les développeurs WeeChat. Que puis-je faire ?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -861,7 +832,6 @@ Il y a plusieurs choses à faire (test, code, documentation, etc...)
|
||||
Merci de prendre contact avec nous par IRC ou mail, consultez la page
|
||||
support : http://www.weechat.org/support
|
||||
|
||||
|
||||
[[donate]]
|
||||
Puis-je donner de l'argent ou d'autres choses aux développeurs WeeChat ?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
@@ -1677,6 +1677,61 @@ str2 = weechat.string_input_for_buffer("/test") # ""
|
||||
str3 = weechat.string_input_for_buffer("//test") # "/test"
|
||||
----------------------------------------
|
||||
|
||||
weechat_string_eval_expression
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
_Nouveau dans la version 0.4.0._
|
||||
|
||||
Evalue l'expression et retourne le résultat sous forme de chaîne.
|
||||
Les variables spéciales avec le format `${variable}` sont étendues (voir la
|
||||
commande `/eval` dans le 'Guide utilisateur WeeChat').
|
||||
|
||||
Prototype :
|
||||
|
||||
[source,C]
|
||||
----------------------------------------
|
||||
char *weechat_string_eval_expression (const char *expr,
|
||||
struct t_hashtable *pointers,
|
||||
struct t_hashtable *extra_vars);
|
||||
----------------------------------------
|
||||
|
||||
Paramètres :
|
||||
|
||||
* 'expr' : l'expression à évaluer
|
||||
* 'pointers' : hashtable avec les pointeurs (les clés doivent être des chaînes,
|
||||
les valeurs doivent être des pointeurs); les pointeurs "window" et "buffer"
|
||||
sont automatiquement ajoutés s'ils ne sont pas dans la hashtable (avec le
|
||||
pointer vers fenêtre/tampon courants) (peut être NULL)
|
||||
* 'extra_vars' : variables additionnelles qui seront étendues (peut être NULL)
|
||||
|
||||
Valeur de retour :
|
||||
|
||||
* expression évaluée (doit être libérée après un appel à "free" après
|
||||
utilisation), ou NULL si problème (expression invalide ou pas assez de
|
||||
mémoire)
|
||||
|
||||
Exemples en C :
|
||||
|
||||
[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)
|
||||
|
||||
# exemples
|
||||
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
|
||||
~~~~~
|
||||
@@ -5001,6 +5056,7 @@ Exemple en C :
|
||||
|
||||
[source,C]
|
||||
----------------------------------------
|
||||
struct t_config_option *option = weechat_config_get ("plugin.section.option");
|
||||
if (weechat_config_boolean (option))
|
||||
{
|
||||
/* la valeur est "vrai" */
|
||||
@@ -5019,6 +5075,7 @@ Script (Python) :
|
||||
value = weechat.config_boolean(option)
|
||||
|
||||
# exemple
|
||||
option = weechat.config_get("plugin.section.option")
|
||||
if weechat.config_boolean(option):
|
||||
# ...
|
||||
----------------------------------------
|
||||
@@ -5047,6 +5104,7 @@ Exemple en C :
|
||||
|
||||
[source,C]
|
||||
----------------------------------------
|
||||
struct t_config_option *option = weechat_config_get ("plugin.section.option");
|
||||
if (weechat_config_boolean_default (option))
|
||||
{
|
||||
/* la valeur est "vrai" */
|
||||
@@ -5065,6 +5123,7 @@ Script (Python) :
|
||||
value = weechat.config_boolean_default(option)
|
||||
|
||||
# exemple
|
||||
option = weechat.config_get("plugin.section.option")
|
||||
if weechat.config_boolean_default(option):
|
||||
# ...
|
||||
----------------------------------------
|
||||
@@ -5093,6 +5152,7 @@ Exemple en C :
|
||||
|
||||
[source,C]
|
||||
----------------------------------------
|
||||
struct t_config_option *option = weechat_config_get ("plugin.section.option");
|
||||
int value = weechat_config_integer (option);
|
||||
----------------------------------------
|
||||
|
||||
@@ -5104,8 +5164,8 @@ Script (Python) :
|
||||
value = weechat.config_integer(option)
|
||||
|
||||
# exemple
|
||||
if weechat.config_integer(option):
|
||||
# ...
|
||||
option = weechat.config_get("plugin.section.option")
|
||||
value = weechat.config_integer(option)
|
||||
----------------------------------------
|
||||
|
||||
weechat_config_integer_default
|
||||
@@ -5132,6 +5192,7 @@ Exemple en C :
|
||||
|
||||
[source,C]
|
||||
----------------------------------------
|
||||
struct t_config_option *option = weechat_config_get ("plugin.section.option");
|
||||
int value = weechat_config_integer_default (option);
|
||||
----------------------------------------
|
||||
|
||||
@@ -5143,8 +5204,8 @@ Script (Python) :
|
||||
value = weechat.config_integer_default(option)
|
||||
|
||||
# exemple
|
||||
if weechat.config_integer_default(option):
|
||||
# ...
|
||||
option = weechat.config_get("plugin.section.option")
|
||||
value = weechat.config_integer_default(option)
|
||||
----------------------------------------
|
||||
|
||||
weechat_config_string
|
||||
@@ -5171,6 +5232,7 @@ Exemple en C :
|
||||
|
||||
[source,C]
|
||||
----------------------------------------
|
||||
struct t_config_option *option = weechat_config_get ("plugin.section.option");
|
||||
const char *value = weechat_config_string (option);
|
||||
----------------------------------------
|
||||
|
||||
@@ -5182,6 +5244,7 @@ Script (Python) :
|
||||
value = weechat.config_string(option)
|
||||
|
||||
# exemple
|
||||
option = weechat.config_get("plugin.section.option")
|
||||
value = weechat.config_string(option)
|
||||
----------------------------------------
|
||||
|
||||
@@ -5209,6 +5272,7 @@ Exemple en C :
|
||||
|
||||
[source,C]
|
||||
----------------------------------------
|
||||
struct t_config_option *option = weechat_config_get ("plugin.section.option");
|
||||
const char *value = weechat_config_string_default (option);
|
||||
----------------------------------------
|
||||
|
||||
@@ -5220,6 +5284,7 @@ Script (Python) :
|
||||
value = weechat.config_string_default(option)
|
||||
|
||||
# exemple
|
||||
option = weechat.config_get("plugin.section.option")
|
||||
value = weechat.config_string_default(option)
|
||||
----------------------------------------
|
||||
|
||||
@@ -5247,6 +5312,7 @@ Exemple en C :
|
||||
|
||||
[source,C]
|
||||
----------------------------------------
|
||||
struct t_config_option *option = weechat_config_get ("plugin.section.option");
|
||||
const char *color = weechat_config_color (option);
|
||||
----------------------------------------
|
||||
|
||||
@@ -5258,6 +5324,7 @@ Script (Python) :
|
||||
value = weechat.config_color(option)
|
||||
|
||||
# exemple
|
||||
option = weechat.config_get("plugin.section.option")
|
||||
value = weechat.config_color(option)
|
||||
----------------------------------------
|
||||
|
||||
@@ -5286,6 +5353,7 @@ Exemple en C :
|
||||
|
||||
[source,C]
|
||||
----------------------------------------
|
||||
struct t_config_option *option = weechat_config_get ("plugin.section.option");
|
||||
const char *color = weechat_config_color_default (option);
|
||||
----------------------------------------
|
||||
|
||||
@@ -5297,6 +5365,7 @@ Script (Python) :
|
||||
value = weechat.config_color_default(option)
|
||||
|
||||
# exemple
|
||||
option = weechat.config_get("plugin.section.option")
|
||||
value = weechat.config_color_default(option)
|
||||
----------------------------------------
|
||||
|
||||
@@ -6171,14 +6240,14 @@ Paramètres :
|
||||
|
||||
* 'prefix' : nom du préfixe :
|
||||
|
||||
[width="70%",cols="^2e,^1l,^3,5",options="header"]
|
||||
[width="70%",cols="^2e,^1,^3,5",options="header"]
|
||||
|========================================
|
||||
| Préfixe | Valeur | Couleur | Description
|
||||
| error | =!= | jaune ("yellow") | message d'erreur
|
||||
| network | -- | violet ("magenta") | message du réseau
|
||||
| action | * | blanc ("white") | action personnelle
|
||||
| join | --> | vert clair ("lightgreen") | quelqu'un a rejoint la discussion
|
||||
| quit | <-- | rouge clair ("lightred") | quelqu'un a quitté la discussion
|
||||
| error | `=!=` | jaune ("yellow") | message d'erreur
|
||||
| network | `--` | violet ("magenta") | message du réseau
|
||||
| action | `*` | blanc ("white") | action personnelle
|
||||
| join | `-->` | vert clair ("lightgreen") | quelqu'un a rejoint la discussion
|
||||
| quit | `<--` | rouge clair ("lightred") | quelqu'un a quitté la discussion
|
||||
|========================================
|
||||
|
||||
[NOTE]
|
||||
@@ -6945,6 +7014,15 @@ weechat_hook_process
|
||||
|
||||
Accroche un processus (lancé par un fork), et intercepter sa sortie.
|
||||
|
||||
[NOTE]
|
||||
Depuis la version 0.3.9.2, le shell n'est plus utilisé pour exécuter la
|
||||
commande. WeeChat effectue un découpage automatique de la commande et de ses
|
||||
paramètres (comme le fait le shell). +
|
||||
Si le découpage n'est pas correct (selon les guillemets utilisés dans votre
|
||||
commande), ou si vous souhaitez utiliser le shell, vous pouvez utiliser la
|
||||
fonction <<_weechat_hook_process_hashtable,weechat_hook_process_hashtable>> avec
|
||||
les paramètres dans la hashtable 'options' (_nouveau dans la version 0.4.0_).
|
||||
|
||||
Prototype :
|
||||
|
||||
[source,C]
|
||||
@@ -7100,9 +7178,14 @@ Les paramètres sont les mêmes que ceux de la fonction
|
||||
<<_weechat_hook_process,weechat_hook_process>>, avec un paramètre
|
||||
supplémentaire :
|
||||
|
||||
* 'options' : options pour la commande exécutée (voir le tableau ci-dessous);
|
||||
la hashtable est dupliquée dans la fonction, donc il est possible de la
|
||||
supprimer après cet appel
|
||||
* 'options' : options pour la commande exécutée; la hashtable est dupliquée dans
|
||||
la fonction, donc il est possible de la supprimer après cet appel
|
||||
|
||||
Pour une commande standard (ne commençant pas par "url:"), la hashtable
|
||||
'options' peut contenir les paramètres pour la commande (et donc 'command' doit
|
||||
être seulement la commande sans les paramètres)
|
||||
(_nouveau dans la version 0.4.0_). +
|
||||
Les clés dans la hashtable doivent être: 'arg1', 'arg2', ...
|
||||
|
||||
Pour la commande "url:...", les options suivantes sont disponibles (voir
|
||||
`man curl_easy_setopt` pour une description de chaque option) :
|
||||
@@ -7157,6 +7240,7 @@ my_process_cb (void *data, const char *command, int return_code,
|
||||
return WEECHAT_RC_OK;
|
||||
}
|
||||
|
||||
/* exemple 1: téléchargement d'une URL */
|
||||
struct t_hashtable *options = weechat_hashtable_new (8,
|
||||
WEECHAT_HASHTABLE_STRING,
|
||||
WEECHAT_HASHTABLE_STRING,
|
||||
@@ -7171,6 +7255,42 @@ if (options)
|
||||
&my_process_cb, NULL);
|
||||
weechat_hashtable_free (options);
|
||||
}
|
||||
|
||||
/* exemple 2: exécution d'un programme de notification avec le message de quelqu'un */
|
||||
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); /* paramètre non sûr */
|
||||
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);
|
||||
}
|
||||
|
||||
/* exemple 3: appeler le shell pour exécuter la commande (la commande doit être SURE) */
|
||||
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):
|
||||
@@ -7193,9 +7313,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", "")
|
||||
# exemple 1: téléchargement d'une URL
|
||||
hook1 = weechat.hook_process_hashtable("url:http://www.weechat.org/",
|
||||
{ "file_out": "/tmp/weechat.org.html" },
|
||||
20000, "my_process_cb", "")
|
||||
|
||||
# exemple 2: exécution d'un programme de notification avec le message de quelqu'un
|
||||
hook2 = weechat.hook_process_hashtable("my-notify-command",
|
||||
{ "arg1": "-from",
|
||||
"arg2": nick,
|
||||
"arg3": "-msg",
|
||||
"arg4": message }, # paramètre non sûr
|
||||
20000, "my_process_cb", "")
|
||||
|
||||
# exemple 3: appeler le shell pour exécuter la commande (la commande doit être SURE)
|
||||
hook3 = weechat.hook_process_hashtable("sh",
|
||||
{ "arg1": "-c",
|
||||
"arg2": "ls -l /tmp | grep something" },
|
||||
20000, "my_process_cb", "")
|
||||
----------------------------------------
|
||||
|
||||
weechat_hook_connect
|
||||
@@ -7210,8 +7345,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,
|
||||
@@ -7220,6 +7355,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);
|
||||
@@ -7231,8 +7367,10 @@ Paramètres :
|
||||
une connexion sans proxy)
|
||||
* 'address' : nom ou adresse IP de la machine à laquelle se connecter
|
||||
* 'port' : numéro de port
|
||||
* 'sock' : socket utilisée pour la connexion
|
||||
* 'ipv6' : 1 pour utiliser IPv6, 0 pour utiliser IPv4
|
||||
* 'ipv6' : 1 pour utiliser IPv6 (avec repli sur IPv4), 0 pour utiliser seulement
|
||||
IPv4
|
||||
* 'retry' : numéro de nouvelle tentative, utilisé pour se rabattre sur les
|
||||
adresses IPv4 si la connexion IPv6 échoue
|
||||
* 'gnutls_sess' : GnuTLS session (optionnel)
|
||||
* 'gnutls_cb' : callback pour GnuTLS (optionnel)
|
||||
* 'gnutls_dhkey_size' : taille de clé utilisée pour l'échange de clé
|
||||
@@ -7263,7 +7401,9 @@ Paramètres :
|
||||
"poignée de main" GnuTLS
|
||||
*** 'WEECHAT_HOOK_CONNECT_MEMORY_ERROR' : mémoire insuffisante
|
||||
*** 'WEECHAT_HOOK_CONNECT_TIMEOUT' : temps maximum dépassé
|
||||
*** 'WEECHAT_HOOK_CONNECT_SOCKET_ERROR' : erreur de création socket
|
||||
** 'gnutls_rc' : valeur retour de 'gnutls_handshake()'
|
||||
** 'sock' : socket utilisée pour la connexion
|
||||
** 'const char *error' : valeur retour de 'gnutls_strerror(gnutls_rc)'
|
||||
** 'const char *ip_address' : adresse IP trouvée
|
||||
** valeur de retour :
|
||||
@@ -7316,6 +7456,9 @@ 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;
|
||||
}
|
||||
@@ -7358,6 +7501,8 @@ 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, "",
|
||||
@@ -7864,7 +8009,7 @@ Paramètres :
|
||||
la commande `/quit` a été exécutée par l'utilisateur
|
||||
|
||||
| weechat | upgrade |
|
||||
- |
|
||||
chaîne : "quit" si le paramètre "-quit" a été donné pour /upgrade, sinon NULL |
|
||||
la commande `/upgrade` a été exécutée par l'utilisateur
|
||||
|
||||
| weechat | upgrade_ended +
|
||||
@@ -12985,7 +13130,7 @@ les variables du hdata.
|
||||
weechat_hdata_new
|
||||
^^^^^^^^^^^^^^^^^
|
||||
|
||||
_Nouveau dans la version 0.3.6, mis à jour dans la 0.3.9._
|
||||
_Nouveau dans la version 0.3.6, mis à jour dans la 0.3.9 et 0.4.0._
|
||||
|
||||
Créé un "hdata".
|
||||
|
||||
@@ -13007,7 +13152,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,
|
||||
@@ -13024,6 +13169,8 @@ Paramètres :
|
||||
* 'var_next' : nom de la variable dans la structure qui est un pointeur vers
|
||||
l'élément suivant dans la liste (peut être NULL si une telle variable
|
||||
n'existe pas)
|
||||
* 'create_allowed' : 1 si la création de structure est autorisée, sinon 0
|
||||
(_nouveau dans la version 0.4.0_)
|
||||
* 'delete_allowed' : 1 si la suppression de structure est autorisée, sinon 0
|
||||
(_nouveau dans la version 0.3.9_)
|
||||
* 'callback_update' : fonction appelée pour mettre à jour des données dans le
|
||||
@@ -13045,7 +13192,7 @@ Exemple en C :
|
||||
|
||||
[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]
|
||||
@@ -14179,11 +14326,14 @@ Paramètres :
|
||||
variables, les valeurs sont les nouvelles valeurs pour les variables (clés et
|
||||
valeurs sont des chaînes de caractères), quelqes clés spéciales sont
|
||||
acceptées :
|
||||
** clé '__delete_allowed' (avec n'importe quelle valeur) : retourne 1 si la
|
||||
** clé `__create_allowed` (avec n'importe quelle valeur) : retourne 1 si la
|
||||
création est autorisée pour la strucrure, sinon 0
|
||||
(_nouveau dans la version 0.4.0_)
|
||||
** clé `__delete_allowed` (avec n'importe quelle valeur) : retourne 1 si la
|
||||
suppression est autorisée pour la structure, sinon 0
|
||||
** clé '__update_allowed', la valeur est le nom d'une variable : retourne 1 si
|
||||
** clé `__update_allowed`, la valeur est le nom d'une variable : retourne 1 si
|
||||
la mise à jour est autorisée pour la variable, sinon 0
|
||||
** clé '__delete' (avec n'importe quelle valeur) : supprime la structure
|
||||
** clé `__delete` (avec n'importe quelle valeur) : supprime la structure
|
||||
(si autorisé)
|
||||
|
||||
Valeur de retour :
|
||||
@@ -14287,8 +14437,8 @@ Exemple en C :
|
||||
|
||||
[source,C]
|
||||
----------------------------------------
|
||||
weechat_printf (NULL, "variables dans le hdata: %s" weechat_hdata_get_string (hdata, "var_keys"));
|
||||
weechat_printf (NULL, "listes dans le hdata: %s" weechat_hdata_get_string (hdata, "list_keys"));
|
||||
weechat_printf (NULL, "variables dans le hdata: %s", weechat_hdata_get_string (hdata, "var_keys"));
|
||||
weechat_printf (NULL, "listes dans le hdata: %s", weechat_hdata_get_string (hdata, "list_keys"));
|
||||
----------------------------------------
|
||||
|
||||
Script (Python) :
|
||||
|
||||
@@ -96,7 +96,7 @@ définie (non "null"). Sinon WeeChat utilise la valeur par défaut
|
||||
Par exemple il y a des pseudos par défaut (basés sur votre login un*x), et
|
||||
vous pouvez les écraser pour le serveur oftc avec la commande suivante :
|
||||
|
||||
/set irc.server.oftc.nicks "pseudo1,pseudo2,pseudo3,pseudo4,pseudo5"
|
||||
/set irc.server.oftc.nicks "pseudo,pseudo2,pseudo3,pseudo4,pseudo5"
|
||||
|
||||
Pour modifier le nom d'utilisateur et nom réel :
|
||||
|
||||
@@ -107,12 +107,21 @@ Pour activer la connexion automatique au serveur lors du démarrage :
|
||||
|
||||
/set irc.server.oftc.autoconnect on
|
||||
|
||||
Si SASL est disponible sur le serveur, vous pouvez l'utiliser pour
|
||||
l'authentification (vous serez identifié avant de rejoindre les canaux) :
|
||||
|
||||
/set irc.server_default.sasl_mechanism dh-blowfish
|
||||
/set irc.server.oftc.sasl_username "pseudo"
|
||||
/set irc.server.oftc.sasl_password "xxxxxxx"
|
||||
|
||||
Pour lancer une commande après connexion au serveur, par exemple pour
|
||||
s'identifier auprès de nickserv :
|
||||
s'authentifier auprès de nickserv (seulement si vous n'utilisez pas SASL pour
|
||||
l'authentification) :
|
||||
|
||||
/set irc.server.oftc.command "/msg nickserv identify xxxxxx"
|
||||
/set irc.server.oftc.command "/msg nickserv identify xxxxxxx"
|
||||
|
||||
NB: plusieurs commandes peuvent être séparées par ';' (point-virgule)
|
||||
[NOTE]
|
||||
Plusieurs commandes peuvent être séparées par ';' (point-virgule).
|
||||
|
||||
Pour rejoindre automatiquement des canaux lors de la connexion au serveur :
|
||||
|
||||
@@ -152,16 +161,16 @@ tampon distinct par serveur :
|
||||
|
||||
|
||||
[[join_part_irc_channels]]
|
||||
Joindre/quitter les canaux IRC
|
||||
Rejoindre/quitter les canaux IRC
|
||||
------------------------------
|
||||
|
||||
`/join #channel`:
|
||||
joindre un canal
|
||||
rejoindre un canal
|
||||
|
||||
`/part [message de fin]`::
|
||||
quitter un canal (en laissant le tampon ouvert)
|
||||
|
||||
`/close [message de fin]`::
|
||||
`/close`::
|
||||
quitter un canal et fermer le tampon (`/close` est un alias sur
|
||||
`/buffer close`)
|
||||
|
||||
|
||||
@@ -101,10 +101,10 @@ Paramètres :
|
||||
* 'license' : chaîne, licence du script
|
||||
* 'description' : chaîne, description courte du script
|
||||
* 'shutdown_function' : chaîne, nom de la fonction appelée lorsque le script
|
||||
est déchargé (optionnel)
|
||||
* 'charset' : chaîne, jeu de caractères du script (optionnel, si votre script
|
||||
est UTF-8, vous pouvez utiliser une valeur vide ici, car UTF-8 est le jeu de
|
||||
caractères par défaut)
|
||||
est déchargé (peut être une chaîne vide)
|
||||
* 'charset' : chaîne, jeu de caractères du script (si votre script est UTF-8,
|
||||
vous pouvez utiliser une valeur vide ici, car UTF-8 est le jeu de caractères
|
||||
par défaut)
|
||||
|
||||
Exemple, pour chaque langage :
|
||||
|
||||
@@ -394,7 +394,8 @@ Liste des constantes de l'API script :
|
||||
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
|
||||
|========================================
|
||||
|
||||
+298
-60
@@ -48,7 +48,6 @@ Pour installer WeeChat, vous devez avoir :
|
||||
* droits "root" (pour installer WeeChat dans un répertoire système)
|
||||
* la bibliothèque ncurses
|
||||
|
||||
|
||||
[[install]]
|
||||
Installation
|
||||
------------
|
||||
@@ -101,7 +100,7 @@ compiler WeeChat.
|
||||
| libaspell-dev | | | extension aspell
|
||||
| python-dev | ≥ 2.5 ^(3)^ | | extension python
|
||||
| libperl-dev | | | extension perl
|
||||
| ruby1.8-dev | | | extension ruby
|
||||
| ruby1.9.1-dev | ≥ 1.8 | | extension ruby
|
||||
| liblua5.1-0-dev | | | extension lua
|
||||
| tcl-dev | ≥ 8.5 | | extension tcl
|
||||
| guile-1.8-dev | | | extention guile (scheme)
|
||||
@@ -145,9 +144,17 @@ $ make install
|
||||
Compilation avec autotools
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
[WARNING]
|
||||
Seulement cmake est officiellement supporté pour construire WeeChat. Vous ne
|
||||
devriez utiliser les autotools que si vous n'avez pas la possibilité d'utiliser
|
||||
cmake. +
|
||||
La compilation avec les autotools requiert plus de dépendances et est plus lente
|
||||
qu'avec cmake.
|
||||
|
||||
* Installation dans les répertoires systèmes (nécessite les droits 'root') :
|
||||
|
||||
----------------------------------------
|
||||
$ ./autogen.sh
|
||||
$ ./configure
|
||||
$ make
|
||||
% make install (en root)
|
||||
@@ -156,6 +163,7 @@ $ make
|
||||
* Installation dans un répertoire spécifique :
|
||||
|
||||
----------------------------------------
|
||||
$ ./autogen.sh
|
||||
$ ./configure --prefix=/chemin/vers/repertoire
|
||||
$ make
|
||||
$ make install
|
||||
@@ -165,21 +173,15 @@ $ make install
|
||||
Sources Git
|
||||
~~~~~~~~~~~
|
||||
|
||||
Attention : les sources GIT sont réservés aux utilisateurs avancés : il se peut
|
||||
Attention : les sources git sont réservés aux utilisateurs avancés : il se peut
|
||||
que WeeChat ne compile pas et qu'il soit très instable. Vous êtes prévenus !
|
||||
|
||||
Pour récupérer les sources GIT, tapez cette commande :
|
||||
Pour récupérer les sources git, tapez cette commande :
|
||||
|
||||
----------------------------------------
|
||||
$ git clone git://git.sv.gnu.org/weechat.git
|
||||
----------------------------------------
|
||||
|
||||
Si vous utilisez les autotools (et non cmake), exécutez ce script :
|
||||
|
||||
----------------------------------------
|
||||
$ ./autogen.sh
|
||||
----------------------------------------
|
||||
|
||||
Suivez alors les instructions du paquet source (voir
|
||||
<<source_package,paquet source>>).
|
||||
|
||||
@@ -310,7 +312,6 @@ Ensuite comme pour un crash, utilisez la commande `bt full` :
|
||||
(gdb) bt full
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[usage]]
|
||||
Utilisation
|
||||
-----------
|
||||
@@ -565,6 +566,229 @@ Exemple de découpage vertical + horizontal :
|
||||
(tampon n°3)
|
||||
........................................
|
||||
|
||||
[[bars]]
|
||||
Barres
|
||||
~~~~~~
|
||||
|
||||
Une 'barre' est une zone à côté de la discussion qui peut contenir tout type de
|
||||
texte.
|
||||
|
||||
Les options de barre sont définies avec les options `weechat.bar.nom.option` où
|
||||
`nom` et le nom de la barre et `option` l'option pour cette barre.
|
||||
|
||||
Liste des options de barre :
|
||||
|
||||
[width="100%",cols="2m,2,10",options="header"]
|
||||
|========================================
|
||||
| Option | Valeurs | Description
|
||||
|
||||
| type | `root`, `window` |
|
||||
Une barre avec le type `root` est affichée exactement une fois à l'écran, en
|
||||
dehors de toutes les fenêtres. Il n'y a pas de barre root par défaut, mais un
|
||||
exemple est la barre 'buffers' créée par le script 'buffers.pl' (barre
|
||||
latérale avec la liste des tampons). +
|
||||
Une barre avec le type `window` est affichée dans chaque fenêtre, par exemple
|
||||
si vous découpez l'écran (avec `/window splith` ou `/window splitv`), vous
|
||||
aurez une barre dans chaque fenêtre. Les quatre barres par défaut ('title',
|
||||
'status', 'input', 'nicklist') sont de type `window`.
|
||||
|
||||
| position | `top`, `bottom`, `left`, `right` |
|
||||
Position de la barre : au dessus/en dessous de la discussion, sur la
|
||||
gauche/droite.
|
||||
|
||||
| priority | entier ≥ 0 |
|
||||
Priorité de la barre : elle est utilisée pour ordonner les barres à l'écran,
|
||||
quand plusieurs barres utilisent le même type et position. +
|
||||
Les barres sont affichées depuis le bord de l'écran vers le centre. Une
|
||||
priorité plus haute affichera la barre au début, donc près du bord. +
|
||||
Exemple : la barre 'input' a une priorité de 1000, donc elle est affichée
|
||||
avant la barre 'status', qui a une priorité de 500.
|
||||
|
||||
| size | entier ≥ 0 |
|
||||
La taille de la barre : nombre de colonnes pour une position left/right,
|
||||
nombre de lignes pour une position top/bottom. Une taille de `0` signifie
|
||||
automatique, donc la taille sera calculée en fonction du contenu affiché dans
|
||||
la barre.
|
||||
|
||||
| size_max | entier ≥ 0 |
|
||||
La taille maximum pour la barre, `0` = pas de limite (cette option est
|
||||
utilisée seulement si `size` = `0`).
|
||||
|
||||
| color_bg | couleur |
|
||||
La couleur par défaut du fond de la barre.
|
||||
|
||||
| color_fg | couleur |
|
||||
La couleur par défaut du texte dans la barre.
|
||||
|
||||
| color_delim | couleur |
|
||||
La couleur des délimiteurs dans la barre.
|
||||
|
||||
| hidden | `on`, `off` |
|
||||
Lorsque l'option est `on`, la barre est cachée. +
|
||||
Note : plutôt que de changer cette option, il est préférable d'utiliser la
|
||||
commande `/bar`, par exemple : `/bar toggle nicklist` (voir la commande
|
||||
<<command_weechat_bar,/bar>>).
|
||||
|
||||
| separator | `on`, `off` |
|
||||
Lorsque l'option est `on`, un séparateur (ligne) est affiché entre la barre et
|
||||
les autres barres (ou la discussion).
|
||||
|
||||
| items | chaîne |
|
||||
Une liste d'objets (voir <<bar_items,objets>> pour plus d'infos).
|
||||
|
||||
| filling_left_right | `horizontal`, `vertical`, `columns_horizontal`, `columns_vertical` |
|
||||
Type de remplissage pour la barre lorsqu'elle a une position `left` ou
|
||||
`right` (voir <<bar_filling,remplissage>> pour plus d'infos).
|
||||
|
||||
| filling_top_bottom | `horizontal`, `vertical`, `columns_horizontal`, `columns_vertical` |
|
||||
Type de remplissage pour la barre lorsqu'elle a une position `top` ou `bottom`
|
||||
(voir <<bar_filling,remplissage>> pour plus d'infos).
|
||||
|
||||
| conditions | chaîne |
|
||||
Les conditions pour afficher la barre (voir <<bar_conditions,conditions>> pour
|
||||
plus d'infos).
|
||||
|========================================
|
||||
|
||||
[[bar_items]]
|
||||
Objets
|
||||
^^^^^^
|
||||
|
||||
L'option 'items' est une chaîne avec une liste d'objets de barre, séparés par
|
||||
une virgule (espace entre les objets à l'écran) ou un "+" (objets collés).
|
||||
|
||||
La liste des objets de barre est affichée avec la commande `/bar listitems`.
|
||||
|
||||
Exemple de barre avec les objets
|
||||
"[time],buffer_number+:+buffer_plugin+.+buffer_name" :
|
||||
|
||||
........................................
|
||||
┌─────────────────────────────────────────────────────────────────────────────────────────┐
|
||||
│[12:55] 3:irc/freenode.#weechat │
|
||||
└─────────────────────────────────────────────────────────────────────────────────────────┘
|
||||
........................................
|
||||
|
||||
[[bar_filling]]
|
||||
Remplissage
|
||||
^^^^^^^^^^^
|
||||
|
||||
Il y a quatre types de remplissage :
|
||||
|
||||
* `horizontal` : les objets sont affichés horizontalement, de gauche à droite.
|
||||
S'il y a des retours à la ligne dans les objets, un espace est utilisé pour
|
||||
séparer les lignes.
|
||||
* `vertical` : les objets sont affichés de haut en bas. S'il y a des retours à
|
||||
la ligne dans les objets, une nouvelle ligne est utilisée pour séparer les
|
||||
lignes.
|
||||
* `columns_horizontal` : les objets sont affichés en utilisant des colonnes, où
|
||||
le texte est aligné à gauche. Le premier objet est en haut à gauche, le second
|
||||
est sur la même ligne, sur la droite.
|
||||
* `columns_vertical` : les objets sont affichés en utilisant des colonnes, où
|
||||
le texte est aligné à gauche. Le premier objet est en haut à gauche, le second
|
||||
est sur la ligne en dessous.
|
||||
|
||||
Les barres par défaut 'title', 'status' et 'input' ont un remplissage
|
||||
'horizontal', et la barre par défaut 'nicklist' a un remplissage 'vertical'.
|
||||
|
||||
Quelques exemples de remplissage pour la barre '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
|
||||
^^^^^^^^^^
|
||||
|
||||
L'option 'conditions' est uen chaîne évaluée pour savoir si la barre doit être
|
||||
affichée ou non dans la fenêtre (elle est utilisée seulement pour les barres
|
||||
avec type 'window').
|
||||
|
||||
La chaîne peut être :
|
||||
|
||||
* 'active' : la fenêtre doit être active
|
||||
* 'inactive' : la fenêtre doit être inactive
|
||||
* 'nicklist' : le tampon affiché dans la fenêtre doit avoir une liste de pseudos
|
||||
* une expression : elle est évaluée comme booléen (voir la commande
|
||||
<<command_weechat_eval,/eval>>)
|
||||
|
||||
Pour une expression, les variables suivantes sont disponibles :
|
||||
|
||||
* `${active}` : vrai si la fenêtre est active
|
||||
* `${inactive}` : vrai si la fenêtre est inactive
|
||||
* `$[nicklist}` : vrai si le tampon affiché dans la fenêtre a une liste de
|
||||
pseudos
|
||||
|
||||
Les pointeurs suivants sont disponibles :
|
||||
|
||||
* `${window}` : la fenêtre où la condition est évaluée
|
||||
* `${buffer}` : le tampon de la fenêtre où la condition est évaluée
|
||||
|
||||
Exemple pour afficher la liste de pseudos dans tous les tampons possédant une
|
||||
liste de pseudos, et seulement si la largeur de fenêtre est supérieurs à 100 :
|
||||
|
||||
----------------------------------------
|
||||
/set weechat.bar.nicklist.conditions "${nicklist} && ${window.win_width} > 100"
|
||||
----------------------------------------
|
||||
|
||||
Même condition, mais affichier toujours la liste de pseudos sur le tampon
|
||||
'&bitlbee' (même si la fenêtre est petite) :
|
||||
|
||||
----------------------------------------
|
||||
/set weechat.bar.nicklist.conditions "${nicklist} && (${window.win_width} > 100 || ${buffer.full_name} == irc.bitlbee.&bitlbee)"
|
||||
----------------------------------------
|
||||
|
||||
[[notify_levels]]
|
||||
Niveaux de notification
|
||||
~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -910,11 +1134,23 @@ Liste des gestes (seulement pour les boutons, pas la roulette) :
|
||||
| gesture-right-long | ≥ 40
|
||||
|========================================
|
||||
|
||||
Exemple d'évènements :
|
||||
Liste des évènements incomplets (seulement pour les boutons, pratique pour les
|
||||
extensions/scripts) :
|
||||
|
||||
[width="50%",cols="3m,4",options="header"]
|
||||
|========================================
|
||||
| Evènement | Description
|
||||
| event-down | le bouton a été pressé mais pas encore relâché
|
||||
| event-drag | la souris a bougé avec le bouton pressé
|
||||
|========================================
|
||||
|
||||
Exemples d'évènements :
|
||||
|
||||
* `button1`
|
||||
* `ctrl-button1`
|
||||
* `button1-gesture-right`
|
||||
* `button1-event-down`
|
||||
* `button1-event-drag`
|
||||
* `alt-button2-gesture-down-long`
|
||||
* `wheelup`
|
||||
* `ctrl-alt-wheeldown`
|
||||
@@ -1195,7 +1431,6 @@ Commandes WeeChat
|
||||
|
||||
include::autogen/user/weechat_commands.txt[]
|
||||
|
||||
|
||||
[[plugins]]
|
||||
Extensions
|
||||
----------
|
||||
@@ -1309,6 +1544,33 @@ Par exemple, pour activer l'option "ignore-case":
|
||||
/set aspell.option.ignore-case "true"
|
||||
----------------------------------------
|
||||
|
||||
[[aspell_suggestions]]
|
||||
Suggestions
|
||||
^^^^^^^^^^^
|
||||
|
||||
Les suggestions sont affichées dans un objet de barre appelé "aspell_suggest".
|
||||
Le nombre de suggestions est défini dans l'option 'aspell.check.suggestions'.
|
||||
|
||||
Pour activer les suggestions, vous devez modifier l'option
|
||||
'aspell.check.suggestions' avec un entier ≥ 0 et ajouter l'objet de barre
|
||||
"aspell_suggest" à une barre, par exemple 'status'.
|
||||
|
||||
Exemple de suggestions avec un dictionnaire anglais (`en`) :
|
||||
|
||||
........................................
|
||||
│[12:55] [6] [irc/freenode] 3:#test(+n){4} [print,prone,prune] │
|
||||
│[@Flashy] prinr █ │
|
||||
└─────────────────────────────────────────────────────────────────────────────────┘
|
||||
........................................
|
||||
|
||||
Exemple de suggestions avec des dictionnaires anglais et français (`en,fr`) :
|
||||
|
||||
........................................
|
||||
│[12:55] [6] [irc/freenode] 3:#test(+n){4} [print,prone,prune/prime,primer,primé] │
|
||||
│[@Flashy] prinr █ │
|
||||
└─────────────────────────────────────────────────────────────────────────────────┘
|
||||
........................................
|
||||
|
||||
[[charset_plugin]]
|
||||
Extension Charset
|
||||
~~~~~~~~~~~~~~~~~
|
||||
@@ -1763,27 +2025,34 @@ automatiquement remplacées par WeeChat lors de la réponse au CTCP :
|
||||
|========================================
|
||||
| Code | Description | Valeur / exemple
|
||||
| $clientinfo | liste des CTCP supportés | ACTION DCC CLIENTINFO FINGER PING SOURCE TIME USERINFO VERSION
|
||||
| $version | version de WeeChat | 0.3.0
|
||||
| $compilation | date de compilation WeeChat | Sep 13 2009
|
||||
| $osinfo | information sur l'OS | Linux 2.6.31 / i686
|
||||
| $site | site WeeChat | http://www.weechat.org
|
||||
| $version | version de WeeChat | 0.4.0-dev
|
||||
| $versiongit | version de WeeChat + version git | 0.4.0-dev (git: v0.3.9-104-g7eb5cc4)
|
||||
| $git | version git | v0.3.9-104-g7eb5cc4
|
||||
| $compilation | date de compilation WeeChat | Dec 16 2012
|
||||
| $osinfo | information sur l'OS | Linux 2.6.32-5-amd64 / x86_64
|
||||
| $site | site WeeChat | http://www.weechat.org/
|
||||
| $download | site WeeChat, page téléchargement | http://www.weechat.org/download
|
||||
| $time | date/heure courante | Sun, 13 Sep 2009 15:48:31 +0200
|
||||
| $username | nom d'utilisateur sur le serveur | pseudo
|
||||
| $realname | nom réel sur le serveur | Mon nom
|
||||
| $time | date/heure courante | Sun, 16 Dec 2012 10:40:48 +0100
|
||||
| $username | nom d'utilisateur sur le serveur | nom
|
||||
| $realname | nom réel sur le serveur | John Doe
|
||||
|========================================
|
||||
|
||||
[NOTE]
|
||||
La version git est la sortie de la commande `git describe`. Elle est connue
|
||||
seulement si WeeChat a été compilé dans le repository git et si git était
|
||||
installé.
|
||||
|
||||
Si les options CTCP ne sont pas définies (par défaut), les réponses CTCP sont :
|
||||
|
||||
[width="100%",cols="^2,4l,8l",options="header"]
|
||||
|========================================
|
||||
| CTCP | Format de réponse | Exemple
|
||||
| CLIENTINFO | $clientinfo | ACTION DCC CLIENTINFO FINGER PING SOURCE TIME USERINFO VERSION
|
||||
| FINGER | WeeChat $version | WeeChat 0.3.0
|
||||
| SOURCE | $download | http://www.weechat.org/download
|
||||
| TIME | $time | Sun Sep 13 15:48:31 2009
|
||||
| USERINFO | $username ($realname) | pseudo (Mon nom)
|
||||
| VERSION | WeeChat $version ($compilation) | WeeChat 0.3.0 (Sep 13 2009)
|
||||
| CTCP | Format de réponse | Exemple
|
||||
| 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) | nom (John Doe)
|
||||
| VERSION | WeeChat $versiongit ($compilation) | WeeChat 0.4.0-dev (git: v0.3.9-104-g7eb5cc4) (Dec 16 2012)
|
||||
|========================================
|
||||
|
||||
[[irc_target_buffer]]
|
||||
@@ -1880,6 +2149,8 @@ Liste non exhaustive des messages ou alias que vous pouvez paramétrer :
|
||||
| 433 | | pseudo déjà en cours d'utilisation
|
||||
| 438 | | pas autorisé à changer de pseudo
|
||||
| 671 | whois | whois (connexion sécurisée)
|
||||
| 728 | quietlist | liste des "quiet"
|
||||
| 729 | quietlist | fin de la liste des "quiet"
|
||||
| 901 | | vous êtes maintenant identifié
|
||||
|========================================
|
||||
|
||||
@@ -2309,38 +2580,6 @@ Commandes
|
||||
|
||||
include::autogen/user/xfer_commands.txt[]
|
||||
|
||||
|
||||
[[authors]]
|
||||
Auteurs
|
||||
-------
|
||||
|
||||
[[developers]]
|
||||
Développeurs
|
||||
~~~~~~~~~~~~
|
||||
|
||||
Développeur principal::
|
||||
Sébastien Helleu (FlashCode)
|
||||
|
||||
[[contributors]]
|
||||
Contributeurs
|
||||
~~~~~~~~~~~~~
|
||||
|
||||
Empaqueteurs::
|
||||
Emmanuel Bouthenot (kolter), Julien Louis (ptitlouis), Odin
|
||||
|
||||
Traductions::
|
||||
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
|
||||
|
||||
Patchs::
|
||||
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
|
||||
-------
|
||||
@@ -2353,7 +2592,6 @@ Moyens d'obtenir du support :
|
||||
|
||||
* IRC : serveur 'irc.freenode.net', canaux '#weechat' (anglais) et
|
||||
'#weechat-fr' (français)
|
||||
* Forum WeeChat : http://forums.flashtux.org/
|
||||
* Liste de diffusion :
|
||||
** inscription : http://mail.nongnu.org/mailman/listinfo/weechat-support
|
||||
** envoi d'un mail à weechat-support@nongnu.org
|
||||
|
||||
@@ -139,10 +139,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 +152,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) +
|
||||
@@ -188,8 +191,9 @@
|
||||
'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 +325,6 @@
|
||||
| weechat | bar | barra |
|
||||
'name' (string) +
|
||||
'options' (pointer) +
|
||||
'conditions_count' (integer) +
|
||||
'conditions_array' (string, array_size: "conditions_count") +
|
||||
'items_count' (integer) +
|
||||
'items_subcount' (pointer) +
|
||||
'items_array' (pointer) +
|
||||
@@ -559,8 +561,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) +
|
||||
|
||||
@@ -42,6 +42,8 @@
|
||||
|
||||
| weechat | version | versione di WeeChat | -
|
||||
|
||||
| weechat | version_git | WeeChat git version (output of command "git describe" for a development version only, empty for a stable release) | -
|
||||
|
||||
| weechat | version_number | versione di WeeChat (come numero) | -
|
||||
|
||||
| weechat | weechat_dir | directory WeeChat | -
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|========================================
|
||||
| Plugin | Nome | Descrizione | Tabella hash (input) | Tabella hash (output)
|
||||
|
||||
| irc | irc_message_parse | controlla un messaggio IRC | "message": messaggio IRC, "server": nome server (opzionale) | "nick": nick, "host": nome host, "command": comando, "channel": canale, "arguments": argomenti (include il canale)
|
||||
| irc | irc_message_parse | controlla un messaggio IRC | "message": messaggio IRC, "server": nome server (opzionale) | "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 | divide un messaggio IRC (per adattarlo in 512 byte) | "message": messaggio IRC, "server": nome server (opzionale) | "msg1" ... "msgN": messaggio da inviare (senza "\r\n" finale), "args1" ... "argsN": argomenti dei messaggi, "count": numero di messaggi
|
||||
|
||||
|
||||
@@ -23,6 +23,11 @@
|
||||
** tipo: bool
|
||||
** valori: on, off (valore predefinito: `off`)
|
||||
|
||||
* [[option_aspell.check.suggestions]] *aspell.check.suggestions*
|
||||
** descrizione: `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)`
|
||||
** tipo: intero
|
||||
** valori: -1 .. 2147483647 (valore predefinito: `-1`)
|
||||
|
||||
* [[option_aspell.check.word_min_length]] *aspell.check.word_min_length*
|
||||
** descrizione: `lunghezza minima per una parola da controllare (0 per controllarle tutte)`
|
||||
** tipo: intero
|
||||
|
||||
@@ -55,27 +55,28 @@ Senza argomento, il comando mostra la lista dei ban per il canale corrente.
|
||||
[[command_irc_connect]]
|
||||
[command]*`connect`* connette ad uno o più server IRC::
|
||||
........................................
|
||||
/connect <server> [<server>...] [-<opzione>[=<valore>]] [-no<option>] [-nojoin] [-switch]
|
||||
-all|-open [-nojoin] [-switch]
|
||||
/connect <server> [<server>...] [-<option>[=<value>]] [-no<option>] [-nojoin] [-switch]
|
||||
-all|-auto|-open [-nojoin] [-switch]
|
||||
|
||||
server: nome del server, che può essere:
|
||||
- nome interno del server (creato da /server add, uso raccomandato)
|
||||
- nome host/porta o IP/porta (in questo modo viene creato un server
|
||||
TEMPORANEO), la porta 6667 è la predefinita
|
||||
- URL con il formato: irc[6][s]://[nick[:password]@]irc.esempio.org[:porta][/#canale1][,#canale2[...]]
|
||||
opzione: imposta opzione per il server (per un'opzione bool, il valore può essere omesso)
|
||||
nooption: imposta un'opzione bool su 'off' (ad esempio: -nossl)
|
||||
-all: connette a tutti i server definiti nella configurazione
|
||||
-open: connette a tutti i server aperti a cui non si è connessi
|
||||
-nojoin: non entra su nessun canale (anche se l'ingresso automatico è attivo sul server)
|
||||
-switch: passa al successivo indirizzo del server
|
||||
server: server name, which can be:
|
||||
- internal server name (created by /server add, recommended usage)
|
||||
- hostname/port or IP/port (this will create a TEMPORARY server), port is 6667 by default
|
||||
- URL with format: irc[6][s]://[nickname[:password]@]irc.example.org[:port][/#channel1][,#channel2[...]]
|
||||
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
|
||||
|
||||
Esempi:
|
||||
Examples:
|
||||
/connect freenode
|
||||
/connect irc.oftc.net/6667
|
||||
/connect irc6.oftc.net/6667 -ipv6
|
||||
/connect irc6.oftc.net/6697 -ipv6 -ssl
|
||||
/connect mio.server.org/6697 -ssl -password=test
|
||||
/connect my.server.org/6697 -ssl -password=test
|
||||
/connect irc://nick@irc.oftc.net/#channel
|
||||
/connect -switch
|
||||
........................................
|
||||
|
||||
@@ -212,16 +213,18 @@ nick: nick
|
||||
[[command_irc_join]]
|
||||
[command]*`join`* entra in un canale::
|
||||
........................................
|
||||
/join [-server <server>] [<canale1>[,<canale2>...]] [<chiave1>[,<chiave2>...]]
|
||||
/join [-noswitch] [-server <server>] [<channel1>[,<channel2>...]] [<key1>[,<key2>...]]
|
||||
|
||||
server: invia a questo server (nome interno)
|
||||
canale: nome del canale in cui entrare
|
||||
chiave: chiave per entrare nel canale (i canali con una chiave devono essere primi nella lista)
|
||||
-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)
|
||||
|
||||
Esempi:
|
||||
Examples:
|
||||
/join #weechat
|
||||
/join #canaleprotetto,#weechat chiave
|
||||
/join #protectedchan,#weechat key
|
||||
/join -server freenode #weechat
|
||||
/join -noswitch #weechat
|
||||
........................................
|
||||
|
||||
[[command_irc_kick]]
|
||||
@@ -465,6 +468,17 @@ server: invia a questo server (nome interno)
|
||||
testo: testo da inviare
|
||||
........................................
|
||||
|
||||
[[command_irc_quiet]]
|
||||
[command]*`quiet`* quiet nicks or hosts::
|
||||
........................................
|
||||
/quiet [<canale>] [<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`* invia dati grezzi al server senza analisi::
|
||||
........................................
|
||||
@@ -734,10 +748,14 @@ mask: solo l'informazione corrispondente al mask
|
||||
[[command_irc_whois]]
|
||||
[command]*`whois`* richiedi informazioni su uno o più utenti::
|
||||
........................................
|
||||
/whois [<server>] <nick>[,<nick>...]
|
||||
/whois [<server>] [<nick>[,<nick>...]]
|
||||
|
||||
server: nome server
|
||||
nick: nick (può essere una mask)
|
||||
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]]
|
||||
|
||||
@@ -318,6 +318,11 @@
|
||||
** tipo: bool
|
||||
** valori: on, off (valore predefinito: `off`)
|
||||
|
||||
* [[option_irc.network.alternate_nick]] *irc.network.alternate_nick*
|
||||
** descrizione: `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`
|
||||
** tipo: bool
|
||||
** valori: on, off (valore predefinito: `on`)
|
||||
|
||||
* [[option_irc.network.autoreconnect_delay_growing]] *irc.network.autoreconnect_delay_growing*
|
||||
** descrizione: `fattore di crescita per il ritardo della riconnessione automatica al server (1 = sempre identico, 2 = ritardo*2 per ogni tentativo, ...)`
|
||||
** tipo: intero
|
||||
@@ -373,6 +378,11 @@
|
||||
** tipo: bool
|
||||
** valori: on, off (valore predefinito: `off`)
|
||||
|
||||
* [[option_irc.network.whois_double_nick]] *irc.network.whois_double_nick*
|
||||
** descrizione: `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"`
|
||||
** tipo: bool
|
||||
** valori: on, off (valore predefinito: `on`)
|
||||
|
||||
* [[option_irc.server_default.addresses]] *irc.server_default.addresses*
|
||||
** descrizione: `elenco di host/porte o IP/porte per il server (separati da virgole)`
|
||||
** tipo: stringa
|
||||
@@ -409,7 +419,7 @@
|
||||
** valori: 1 .. 65535 (valore predefinito: `10`)
|
||||
|
||||
* [[option_irc.server_default.autorejoin]] *irc.server_default.autorejoin*
|
||||
** descrizione: `rientra automaticamente nei canali dopo il kick`
|
||||
** descrizione: `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")`
|
||||
** tipo: bool
|
||||
** valori: on, off (valore predefinito: `off`)
|
||||
|
||||
@@ -459,9 +469,9 @@
|
||||
** valori: qualsiasi stringa (valore predefinito: `"WeeChat %v"`)
|
||||
|
||||
* [[option_irc.server_default.ipv6]] *irc.server_default.ipv6*
|
||||
** descrizione: `usa il protocollo IPv6 per le comunicazioni col server`
|
||||
** descrizione: `use IPv6 protocol for server communication (try IPv6 then fallback to IPv4); if disabled, only IPv4 is used`
|
||||
** tipo: bool
|
||||
** valori: on, off (valore predefinito: `off`)
|
||||
** valori: on, off (valore predefinito: `on`)
|
||||
|
||||
* [[option_irc.server_default.local_hostname]] *irc.server_default.local_hostname*
|
||||
** descrizione: `nome host/IP locale definito per il server (opzionale, se vuoto viene usato il nome host locale)`
|
||||
|
||||
@@ -2,34 +2,42 @@
|
||||
[command]*`relay`* controllo relay::
|
||||
........................................
|
||||
/relay list|listfull|listrelay
|
||||
add <protocollo.nome> <porta>
|
||||
del <protocollo.nome>
|
||||
add [ipv4.][ipv6.][ssl.]<protocol.name> <port>
|
||||
del [ipv4.][ipv6.][ssl.]<protocol.name>
|
||||
raw
|
||||
sslcertkey
|
||||
|
||||
list: elenca i client relay (solo quelli attivi)
|
||||
listfull: elenca i client relay (dettagliato, tutti i relay)
|
||||
listrelay: elenca i relay (nome e porta)
|
||||
add: aggiungi relay per un protocollo + nome
|
||||
del: rimuovi relay per un protocollo + nome
|
||||
protocollo.nome: protocollo e nome con cui effettuare il relay
|
||||
- protocollo "irc": il nome è il server da condividere
|
||||
- protocollo "weechat" (il nome non viene usato)
|
||||
Nota: il protocollo può avere il prefisso "ssl." per abilitare SSL
|
||||
porta: porta usata per il relay
|
||||
raw: apre il buffer con dati raw Relay
|
||||
sslcertkey: imposta chiave/certificato SSl usando un path nell'opzione relay.network.ssl_cert_key
|
||||
list: list relay clients (only active relays)
|
||||
listfull: list relay clients (verbose, all relays)
|
||||
listrelay: list relays (name and port)
|
||||
add: add relay for a protocol + name
|
||||
del: remove relay for a protocol + name
|
||||
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 "weechat" (name is not used)
|
||||
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
|
||||
|
||||
Senza argomento, il comando apre i buffer con l'elenco dei client relay.
|
||||
Without argument, this command opens buffer with list of relay clients.
|
||||
|
||||
Esempi:
|
||||
proxy irc, per il server "freenode":
|
||||
Examples:
|
||||
irc proxy, for server "freenode":
|
||||
/relay add irc.freenode 8000
|
||||
irc proxy, per il server "freenode", con SSL:
|
||||
irc proxy, for server "freenode", with SSL:
|
||||
/relay add ssl.irc.freenode 8001
|
||||
protocollo weechat:
|
||||
weechat protocol:
|
||||
/relay add weechat 9000
|
||||
protocollo weechat con SSL:
|
||||
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 @@
|
||||
** tipo: colore
|
||||
** valori: un nome colore di WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), un numero colore del terminale o un alias; attributi consentiti prima del colore (solo per il colore del testo, non lo sfondo): "*" per il grassetto, "!" per l'inverso, "_" per la sottolineatura (valore predefinito: `white`)
|
||||
|
||||
* [[option_relay.irc.backlog_max_minutes]] *relay.irc.backlog_max_minutes*
|
||||
** descrizione: `maximum number of minutes in backlog per IRC channel (0 = unlimited, examples: 1440 = one day, 10080 = one week, 43200 = one month, 525600 = one year)`
|
||||
** tipo: intero
|
||||
** valori: 0 .. 2147483647 (valore predefinito: `1440`)
|
||||
|
||||
* [[option_relay.irc.backlog_max_number]] *relay.irc.backlog_max_number*
|
||||
** descrizione: `maximum number of lines in backlog per IRC channel (0 = unlimited)`
|
||||
** tipo: intero
|
||||
** valori: 0 .. 2147483647 (valore predefinito: `256`)
|
||||
|
||||
* [[option_relay.irc.backlog_since_last_disconnect]] *relay.irc.backlog_since_last_disconnect*
|
||||
** descrizione: `display backlog starting from last client disconnect`
|
||||
** tipo: bool
|
||||
** valori: on, off (valore predefinito: `on`)
|
||||
|
||||
* [[option_relay.irc.backlog_tags]] *relay.irc.backlog_tags*
|
||||
** descrizione: `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`
|
||||
** tipo: stringa
|
||||
** valori: qualsiasi stringa (valore predefinito: `"irc_privmsg"`)
|
||||
|
||||
* [[option_relay.irc.backlog_time_format]] *relay.irc.backlog_time_format*
|
||||
** descrizione: `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`
|
||||
** tipo: stringa
|
||||
** valori: qualsiasi stringa (valore predefinito: `"[%H:%M] "`)
|
||||
|
||||
* [[option_relay.look.auto_open_buffer]] *relay.look.auto_open_buffer*
|
||||
** descrizione: `apre automaticamente il buffer relay alla connessione di un nuovo client`
|
||||
** tipo: bool
|
||||
@@ -54,7 +79,7 @@
|
||||
** valori: 0 .. 65535 (valore predefinito: `256`)
|
||||
|
||||
* [[option_relay.network.allowed_ips]] *relay.network.allowed_ips*
|
||||
** descrizione: `espressione regolare con gli indirizzi IP a cui è consentito usare il relay, (non sensibile alle maiuscole, usare "(?-i)" all'inizio per renderla sensibile alle maiuscole), esempio: "^(123.45.67.89|192.160.*)$"`
|
||||
** descrizione: `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.*)$"`
|
||||
** tipo: stringa
|
||||
** valori: qualsiasi stringa (valore predefinito: `""`)
|
||||
|
||||
@@ -68,6 +93,11 @@
|
||||
** tipo: intero
|
||||
** valori: 0 .. 9 (valore predefinito: `6`)
|
||||
|
||||
* [[option_relay.network.ipv6]] *relay.network.ipv6*
|
||||
** descrizione: `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)`
|
||||
** tipo: bool
|
||||
** valori: on, off (valore predefinito: `on`)
|
||||
|
||||
* [[option_relay.network.max_clients]] *relay.network.max_clients*
|
||||
** descrizione: `numero massimo di client connessi ad una porta`
|
||||
** tipo: intero
|
||||
|
||||
@@ -11,49 +11,50 @@ messaggio: messaggio di assenza (se non specificato, lo stato di assenza viene r
|
||||
[command]*`bar`* gestione delle barre::
|
||||
........................................
|
||||
/bar list|listfull|listitems
|
||||
add <nome> <tipo>[,<cond1>[,<cond2>...]] <posizione> <dimensione> <separatore> <item1>[,<item2>...]
|
||||
add <name> <type>[,<condition>] <position> <size> <separator> <item1>[,<item2>...]
|
||||
default [input|title|status|nicklist]
|
||||
del <nome>|-all
|
||||
set <nome> <opzione> <valore>
|
||||
hide|show|toggle <nome>
|
||||
scroll <nome> <finestra> <scroll_value>
|
||||
del <name>|-all
|
||||
set <name> <option> <value>
|
||||
hide|show|toggle <name>
|
||||
scroll <name> <window> <scroll_value>
|
||||
|
||||
list: elenca tutte le barre
|
||||
listfull: elenca tutte le barre (dettagliato)
|
||||
listitems: elenca tutti gli elementi della barra
|
||||
add: aggiunge una nuova barra
|
||||
nome: nome della barra (deve essere unico)
|
||||
tipo: root: al di fuori delle finestre,
|
||||
window: all'interno delle finestre, con opzioni condizionali (a seguire)
|
||||
cond1,...: condizione(i) per visualizzare la barra (solo per il tipo "window"):
|
||||
active: sulla finestra attiva
|
||||
inactive: sulle finestre inattive
|
||||
nicklist: sulle finestre con la lista nick
|
||||
senza condizione, viene sempre mostrata
|
||||
posizione: bottom (basso), top (alto), left (sinistra) o right (destra)
|
||||
dimensione: dimensione della barra (in caratteri)
|
||||
separatore: 1 per usarlo (riga), 0 o nulla equivale a nessun separatore
|
||||
item1,...: elementi per questa barra (possono essere separati da virgole (spazio tra gli elementi) o "+" (elementi incollati))
|
||||
default: crea una barra predefinita (saranno tutte predefinite se non viene dato un nome per la barra)
|
||||
del: elimina una barra (o tutte le barre con -all)
|
||||
set: imposta un valore per la proprietà di una barra
|
||||
opzione: opzione da cambiare (per una lista di opzioni, consultare /set weechat.bar.<barname>.*)
|
||||
valore: nuovo valore per l'opzione
|
||||
hide: nasconde una barra
|
||||
show: mostra una barra nascosta
|
||||
toggle: nasconde/mostra una barra
|
||||
scroll: scorre una barra
|
||||
finestra: numero della finestra (usare '*' per la finestra corrente o le barre root)
|
||||
scroll_value: valore per lo scorrimento: 'x' o 'y', seguite da '+', '-', 'b' (inizio) or 'e' (fine), valore (per +/-), e %% opzionale (per scorrere di %% di larghezza/altezza, altrimenti il valore è il numero di caratteri)
|
||||
list: list all bars
|
||||
listfull: list all bars (verbose)
|
||||
listitems: list all bar items
|
||||
add: add a new bar
|
||||
name: name of bar (must be unique)
|
||||
type: root: outside windows,
|
||||
window: inside windows, with optional conditions (see below)
|
||||
condition: condition(s) for displaying bar (only for type "window"):
|
||||
active: on active window
|
||||
inactive: on inactive windows
|
||||
nicklist: on windows with nicklist
|
||||
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
|
||||
item1,...: items for this bar (items can be separated by comma (space between items) or "+" (glued items))
|
||||
default: create a default bar (all default bars if no bar name is given)
|
||||
del: delete a bar (or all bars with -all)
|
||||
set: set a value for a bar property
|
||||
option: option to change (for options list, look at /set weechat.bar.<barname>.*)
|
||||
value: new value for option
|
||||
hide: hide a bar
|
||||
show: show an hidden bar
|
||||
toggle: hide/show a bar
|
||||
scroll: scroll bar
|
||||
window: window number (use '*' for current window or for root bars)
|
||||
scroll_value: value for scroll: 'x' or 'y' (optional), followed by '+', '-', 'b' (beginning) or 'e' (end), value (for +/-), and optional % (to scroll by % of width/height, otherwise value is number of chars)
|
||||
|
||||
Esempi:
|
||||
crea una barra con l'ora, numero del buffer + nome, e completamento:
|
||||
/bar add miabarra root bottom 1 0 [time],buffer_number+:+buffer_name,completion
|
||||
nasconde una barra:
|
||||
/bar hide miabarra
|
||||
scorre la lista nick di 10 righe in basso sul buffer corrente:
|
||||
Examples:
|
||||
create a bar with time, buffer number + name, and completion:
|
||||
/bar add mybar root bottom 1 0 [time],buffer_number+:+buffer_name,completion
|
||||
hide a bar:
|
||||
/bar hide mybar
|
||||
scroll nicklist 10 lines down on current buffer:
|
||||
/bar scroll nicklist * y+10
|
||||
scorre fino alla fine della lista nick sul buffer corrente:
|
||||
scroll to end of nicklist on current buffer:
|
||||
/bar scroll nicklist * ye
|
||||
........................................
|
||||
|
||||
@@ -199,6 +200,61 @@ infolists: mostra informazioni sulle liste info
|
||||
windows: mostra l'albero delle finestre
|
||||
........................................
|
||||
|
||||
[[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 prioity :
|
||||
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`* filtra messaggi nei buffer, per nascondere/mostrare in base a tag o regexp::
|
||||
........................................
|
||||
@@ -548,24 +604,30 @@ Senza argomento, vengono salvati tutti i file (WeeChat e plugin).
|
||||
[[command_weechat_set]]
|
||||
[command]*`set`* imposta le opzioni di configurazione::
|
||||
........................................
|
||||
/set [<opzione> [<valore>]]
|
||||
/set [<option> [<value>]]
|
||||
diff [<option> [<option>...]]
|
||||
|
||||
opzione: nome di un'opzione (può iniziare o terminare con '*' per elencare più opzioni)
|
||||
valore: nuovo valore per l'opzione
|
||||
option: name of an option (can start or end with '*' to list many options)
|
||||
value: new value for option
|
||||
diff: display only changed options
|
||||
|
||||
Il nuovo valore può essere, a seconda del tipo di variabile:
|
||||
booleano: on, off o toggle
|
||||
intero : numero, ++numero o --numero
|
||||
stringa : qualsiasi stringa ("" per una stringa vuota)
|
||||
colore : nome colore, ++numeero o --numero
|
||||
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
|
||||
|
||||
Per tutti i tipi, è possibile usare null per rimuovere il valore dell'opzione (valore non definito). Ciò funziona solo per alcune variabili speciali dei plugin.
|
||||
For all types, you can use null to remove option value (undefined value). This works only for some special plugin variables.
|
||||
|
||||
Esempi:
|
||||
mostra le opzioni relative alle notifiche:
|
||||
Examples:
|
||||
display options about highlight:
|
||||
/set *highlight*
|
||||
aggiunge una parola alle notifiche:
|
||||
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,19 +649,30 @@ Esempi:
|
||||
[[command_weechat_upgrade]]
|
||||
[command]*`upgrade`* aggiorna WeeChat senza disconnettere dai server::
|
||||
........................................
|
||||
/upgrade [<path_del_binario>]
|
||||
/upgrade [<path_to_binary>|-quit]
|
||||
|
||||
path_del_binario: path del binario di WeeChat (di default è il corrente)
|
||||
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)
|
||||
|
||||
Questo comando aggiorna e ricarica una sessione di WeeChat in esecuzione. Il nuovo binario di WeeChat deve essere stato compilato o installato con un gestore pacchetti prima di eseguire questo comando.
|
||||
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.
|
||||
|
||||
Nota: le connessioni SSL vengono perdute durante l'aggiornamento, poiché il nuovo caricamento delle sessioni SSL non è ancora possibile con GnuTLS. La riconnessione automatica avviene dopo l'aggiornamento.
|
||||
Note: SSL connections are lost during upgrade, because reload of SSL sessions is currently not possible with GnuTLS. There is automatic reconnection after upgrade.
|
||||
|
||||
Il processo di aggiornamento è diviso in 4 fasi:
|
||||
1. salva la sessione in file per il core e i plugin (buffer, cronologia, ..)
|
||||
2. scarica tutti i plugin (i file di configurazione (*.conf) vengono scritti su disco)
|
||||
3. salva la configurazione di WeeChat (weechat.conf)
|
||||
4. esegui il nuovo binario di WeeChat e carica la sessione.
|
||||
Upgrade process has 4 steps:
|
||||
1. save session into files for core and plugins (buffers, history, ..)
|
||||
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]]
|
||||
|
||||
@@ -609,7 +609,7 @@
|
||||
** valori: -1 .. 2147483647 (valore predefinito: `1`)
|
||||
|
||||
* [[option_weechat.look.prefix_action]] *weechat.look.prefix_action*
|
||||
** descrizione: `prefisso per i messaggi di azione`
|
||||
** descrizione: `prefix for action messages, colors are allowed with format "${color}"`
|
||||
** tipo: stringa
|
||||
** valori: qualsiasi stringa (valore predefinito: `" *"`)
|
||||
|
||||
@@ -649,22 +649,22 @@
|
||||
** valori: qualsiasi stringa (valore predefinito: `"+"`)
|
||||
|
||||
* [[option_weechat.look.prefix_error]] *weechat.look.prefix_error*
|
||||
** descrizione: `prefisso per i messaggi di errore`
|
||||
** descrizione: `prefix for error messages, colors are allowed with format "${color}"`
|
||||
** tipo: stringa
|
||||
** valori: qualsiasi stringa (valore predefinito: `"=!="`)
|
||||
|
||||
* [[option_weechat.look.prefix_join]] *weechat.look.prefix_join*
|
||||
** descrizione: `prefisso per i messaggi di entrata`
|
||||
** descrizione: `prefix for join messages, colors are allowed with format "${color}"`
|
||||
** tipo: stringa
|
||||
** valori: qualsiasi stringa (valore predefinito: `"-->"`)
|
||||
|
||||
* [[option_weechat.look.prefix_network]] *weechat.look.prefix_network*
|
||||
** descrizione: `prefisso per i messaggi di rete`
|
||||
** descrizione: `prefix for network messages, colors are allowed with format "${color}"`
|
||||
** tipo: stringa
|
||||
** valori: qualsiasi stringa (valore predefinito: `"--"`)
|
||||
|
||||
* [[option_weechat.look.prefix_quit]] *weechat.look.prefix_quit*
|
||||
** descrizione: `prefisso per i messaggi di uscita`
|
||||
** descrizione: `prefix for quit messages, colors are allowed with format "${color}"`
|
||||
** tipo: stringa
|
||||
** valori: qualsiasi stringa (valore predefinito: `"<--"`)
|
||||
|
||||
|
||||
+77
-106
@@ -12,7 +12,6 @@ essere usato preferibilmente con l'ultima versione stabile di WeeChat.
|
||||
Generale
|
||||
--------
|
||||
|
||||
|
||||
[[weechat_name]]
|
||||
Da dove viene il nome "WeeChat"?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -23,7 +22,6 @@ Quindi il nome completo è "Wee Enhanced Envoronment for Chat."
|
||||
"Wee" significa anche "molto piccolo" (e sì, c'è un altro significato, ma
|
||||
non c'entra con WeeChat!).
|
||||
|
||||
|
||||
[[why_choose_weechat]]
|
||||
Perché scegliere WeeChat? X-Chat ed Irssi vanno così bene...
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -51,15 +49,12 @@ Alcune caratteristiche (versione ≥ 0.3.x):
|
||||
* multi-piattaforma
|
||||
* 100% GPL e libero
|
||||
|
||||
|
||||
Maggiori informazioni su http://www.weechat.org/features
|
||||
|
||||
|
||||
[[compilation_install]]
|
||||
Compilazione / installazione
|
||||
----------------------------
|
||||
|
||||
|
||||
[[gui]]
|
||||
Ho sentito parlare di molte interfacce per WeeChat. Come si possono compilare/utilizzare?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -68,7 +63,6 @@ Ad oggi è disponibile solo l'interfaccia Curses.
|
||||
|
||||
Altre interfacce saranno disponibili come client remoti (in fase di sviluppo).
|
||||
|
||||
|
||||
[[compile_git]]
|
||||
Non è possibile compilare WeeChat dopo aver clonato il repository git, perché?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -84,7 +78,6 @@ il repository git. È bene notare che potrebbe non corrispondere
|
||||
esattamente alla base git ed è meno conveniente rispetto al clone di git
|
||||
per l'installazione degli aggiornamenti.
|
||||
|
||||
|
||||
[[lost]]
|
||||
Ho avviato WeeChat, ma mi sono perso, cosa posso fare?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -95,12 +88,10 @@ Tasti e comandi sono elencati nella documentazione.
|
||||
Si raccomanda ai nuovi utenti di leggere la guida rapida (consultare la pagina
|
||||
della documentazione sul sito).
|
||||
|
||||
|
||||
[[display]]
|
||||
Visualizzare
|
||||
------------
|
||||
|
||||
|
||||
[[charset]]
|
||||
Non riesco a vedere alcuni caratteri con gli accenti, cosa posso fare?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -130,7 +121,6 @@ Si raccomanda il locale UTF-8 per WeeChat. Se si utilizza ISO o un altro
|
||||
locale, per favore verificare che *tutte* le impostazioni (terminale, screen)
|
||||
siano ISO e *non* UTF-8.
|
||||
|
||||
|
||||
[[bars_background]]
|
||||
Barre come quella del titolo e di stato non sono complete, il colore di sfondo si ferma dopo il testo, perché?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -147,7 +137,6 @@ A seconda di dove viene eseguito WeeChat, si dovrebbe avere:
|
||||
|
||||
Se necessario, correggere la variabile TERM: `export TERM="xxx"`.
|
||||
|
||||
|
||||
[[screen_weird_chars]]
|
||||
Quando uso weechat con screen/tmux, appaiono dei caratteri strani, come posso risolvere il problema?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -161,7 +150,6 @@ Per esempio, 'xterm-color' potrebbe visualizzare questo tipo di caratteri strani
|
||||
|
||||
Se necessario, correggere la variabile TERM: `export TERM="xxx"`.
|
||||
|
||||
|
||||
[[osx_display_broken]]
|
||||
Ho compilato WeeChat su OS X, e vedo "(null)" dovunque sullo schermo, cosa non va?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -172,7 +160,6 @@ col sistema).
|
||||
Inoltre, su OS X, si raccomanda di installare WeeChat con il gestore pacchetti
|
||||
Homebrew.
|
||||
|
||||
|
||||
[[buffer_vs_window]]
|
||||
Ho sentito parlare di "buffer" e "finestre", qual è la differenza?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -186,7 +173,6 @@ un buffer. È possibile dividere lo schermo in più finestre.
|
||||
Ogni finestra visualizza un buffer. Un buffer può essere nascosto (non visualizzato
|
||||
da una finestra) o visualizzato da una o più finestre.
|
||||
|
||||
|
||||
[[buffers_list]]
|
||||
Come si può visualizzare la lista dei buffer sulla sinistra?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -205,7 +191,6 @@ Per spostare la barra in basso:
|
||||
/set weechat.bar.buffers.position bottom
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[customize_prefix]]
|
||||
Come si può ridurre la lunghezza dei nick o rimuovere l'allineamento nella finestra di chat?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -223,7 +208,6 @@ Per rimuovere l'allineamento dei nick:
|
||||
/set weechat.look.prefix_align none
|
||||
----------------------------------------
|
||||
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[[input_bar_size]]
|
||||
How to use command line with more than one line?
|
||||
@@ -245,7 +229,6 @@ Max size of 2:
|
||||
/set weechat.bar.input.size_max 2
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[one_input_root_bar]]
|
||||
È possibile mostrare solo una barra di input per tutte le finestre (dopo lo split)?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -268,7 +251,6 @@ non viene usato da un'altra barra:
|
||||
/bar del rootinput
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[terminal_copy_paste]]
|
||||
Come posso copiare/incollare testo senza incollare la lista nick?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -283,7 +265,6 @@ Un'altra soluzione è spostare la lista nick in alto o in basso, per esempio:
|
||||
/set weechat.bar.nicklist.position top
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[urls]]
|
||||
Come posso cliccare su URL lunghi (più di una riga)?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -329,7 +310,6 @@ shortenurl.py::
|
||||
|
||||
Elenco di script a proposito di URL: http://www.weechat.org/scripts/stable/tag/url
|
||||
|
||||
|
||||
[[change_locale_without_quit]]
|
||||
Voglio cambiare la lingua utilizzata da WeeChat per i messaggi, ma senza uscire da WeeChat, è possibile?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -345,7 +325,6 @@ e digitare questi comandi quando viene caricato lo script:
|
||||
Per avere i messaggi in inglese con la codifica UTF-8 per il terminale, per gli
|
||||
utenti ISO, digitare: `/shell setenv LANG=en_US`.
|
||||
|
||||
|
||||
[[256_colors]]
|
||||
Come posso usare 256 colori in WeeChat?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -385,7 +364,6 @@ opzioni (opzionale: si possono aggiungere gli alias ai colori con il comando `/c
|
||||
Per favore consultare la guida per l'utente per maggiori informazioni sulla gestione
|
||||
dei colori.
|
||||
|
||||
|
||||
[[search_text]]
|
||||
Come posso cercare testo nel buffer (come /lastlog con irssi)?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -396,12 +374,10 @@ E per passare alle notifiche: @k(A-)@k(p)/@k(n).
|
||||
Consultare la guida per l'utente per maggiori informazioni su questa funzione
|
||||
(combinazioni tasti predefiniti).
|
||||
|
||||
|
||||
[[key_bindings]]
|
||||
Associazioni dei tasti
|
||||
----------------------
|
||||
|
||||
|
||||
[[meta_keys]]
|
||||
Alcuni tasti meta (alt + tasto) non funzionano, perché?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -420,7 +396,6 @@ UXTerm*metaSendsEscape: true
|
||||
|
||||
Al termine, ricaricare la configurazione (`xrdb -override ~/.Xresources`) o riavviare X.
|
||||
|
||||
|
||||
[[customize_key_bindings]]
|
||||
Come posso personalizzare le associazioni dei tasti?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -430,7 +405,6 @@ Le associazioni dei tasti sono personalizzabili con il comando `/key`.
|
||||
Il tasto predefinito @k(A-)@k(k) consente di registrare il codice tasto ed
|
||||
inserirlo nella riga di comando.
|
||||
|
||||
|
||||
[[jump_to_buffer_11_or_higher]]
|
||||
Qual è il tasto per passare al buffer 11 (o superiore)?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -447,7 +421,6 @@ Il tasto è @k(A-)@k(j) seguito da due numeri, ad esempio @k(A-)@k(j) e @k(1),
|
||||
List of default keys is in User's guide.
|
||||
L'elenco dei tasti predefiniti è nella Guida dell'utente.
|
||||
|
||||
|
||||
[[global_history]]
|
||||
Come si può usare la cronologia globale (invece di quella del buffer) con i tasti su e giù?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -468,12 +441,10 @@ code press @k(A-)@k(k) then key (up or down).
|
||||
I tasti "meta2-A" e "meta2-B" possono essere differenti nel proprio terminale.
|
||||
Per trovare il codice tasto digitare @k(A-)@k(k) poi il tast (su o giù).
|
||||
|
||||
|
||||
[[mouse]]
|
||||
Mouse
|
||||
-----
|
||||
|
||||
|
||||
[[mouse_not_working]]
|
||||
Il mouse non funziona affatto, cosa posso fare?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -505,7 +476,6 @@ Per disabilitare il mouse nel terminale:
|
||||
$ printf '\033[?1002l'
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[mouse_coords]]
|
||||
Il mouse non fa nulla per X o Y maggiori di 94, perché?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -516,7 +486,6 @@ non funziona per X/Y maggiori di 94.
|
||||
Bisogna utilizzare un terminale che supporti le coordinate UTF-8 per il mouse,
|
||||
come rxvt-unicode.
|
||||
|
||||
|
||||
[[mouse_select_paste]]
|
||||
Come posso selezionare o incollare del testo nel terminale quando il mouse è abilitato in WeeChat?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -526,11 +495,82 @@ Quando il mouse è abilitato in WeeChat, è possibile usare il modificatore
|
||||
disabilitato (in alcuni terminali come iTerm, bisogna usare @k(-A-) invece di
|
||||
@k(-S-)).
|
||||
|
||||
|
||||
[[irc]]
|
||||
IRC
|
||||
---
|
||||
|
||||
[[irc_ssl_connection]]
|
||||
Ho dei problemi nella connessione al server con SSL, cosa posso fare?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Se si verificano problemi con l'handshake gnutls, si può cercare di
|
||||
usare una chiave Diffie-Hellman più piccola (la predefinita è 2048):
|
||||
|
||||
----------------------------------------
|
||||
/set irc.server.freenode.ssl_dhkey_size 1024
|
||||
----------------------------------------
|
||||
|
||||
Se si verificano errori con i certificati, è possibile disabilitare "ssl_verify"
|
||||
(attenzione, la connessione in questo modo sarà meno sicura):
|
||||
|
||||
----------------------------------------
|
||||
/set irc.server.freenode.ssl_verify off
|
||||
----------------------------------------
|
||||
|
||||
[[irc_ssl_handshake_error]]
|
||||
Alla connessione al server con SSL ottengo solo l'errore "handshake TLS fallito", cosa posso fare?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Provare una stringa di priorità diversa (solo WeeChat ≥ 0.3.5), sostituendo
|
||||
"xxx" con il nome del server:
|
||||
|
||||
----------------------------------------
|
||||
/set irc.server.xxx.ssl_priorities "NORMAL:-VERS-TLS-ALL:+VERS-TLS1.0:+VERS-SSL3.0:%COMPAT"
|
||||
----------------------------------------
|
||||
|
||||
[[irc_ssl_freenode]]
|
||||
Come ci si può connettere al server freenode via SSL?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Impostare l'opzione 'weechat.network.gnutls_ca_file' con il file dei certificati:
|
||||
|
||||
----------------------------------------
|
||||
/set weechat.network.gnutls_ca_file "/etc/ssl/certs/ca-certificates.crt"
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
Verificare la presenza di questo file sul sistema (solitamente installato dal
|
||||
pacchetto "ca-certificates").
|
||||
|
||||
Impostare la porta del server, SSL, dhkey_size, poi riconnettersi:
|
||||
|
||||
----------------------------------------
|
||||
/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
|
||||
----------------------------------------
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[[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]]
|
||||
Qual è la differenza tra i comandi /ignore e /filter?
|
||||
@@ -550,7 +590,6 @@ Le righe filtrate vengono solo nascoste, non eliminate, ed è possibile
|
||||
visualizzarle se i filtri vengono disabilitati (il comando predefinito
|
||||
@k(A-)@k(=) abilita/disabilita i filtri).
|
||||
|
||||
|
||||
[[filter_irc_join_part_quit]]
|
||||
Come posso filtrare i messaggi di entrata/uscita/abbandono sui canali IRC?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -566,13 +605,12 @@ hanno scritto di recente):
|
||||
Con un filtro globale (nasconde *tutti* entrata/uscita/abbandono):
|
||||
|
||||
----------------------------------------
|
||||
/filter add jpk * irc_join,irc_part,irc_quit *
|
||||
/filter add joinquit * irc_join,irc_part,irc_quit *
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
Per aiuto: `/help filter` e `/help irc.look.smart_filter`
|
||||
|
||||
|
||||
[[filter_irc_join_channel_messages]]
|
||||
Come posso filtrare i messaggi visualizzati all'ingresso su un canale IRC?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -597,7 +635,6 @@ Esempi:
|
||||
/filter add irc_join_topic_date * irc_332,irc_333 *
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[filter_voice_messages]]
|
||||
Come posso filtrare i messaggi voice (ad esempio su server Bitlbee)?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -633,7 +670,6 @@ modificata è il voice):
|
||||
/filter add hidevoices * irc_mode (\+|\-)v
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[color_away_nicks]]
|
||||
Come posso vedere i nick assenti nella lista nick?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -656,7 +692,6 @@ massimo 25 nick:
|
||||
Per WeeChat ≤ 0.3.3, le opzioni sono 'irc.network.away_check' e
|
||||
'irc.network.away_check_max_nicks'.
|
||||
|
||||
|
||||
[[highlight_notification]]
|
||||
Come posso essere avvisato quando qualcuno mi cerca in un canale?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -671,74 +706,16 @@ Per 'launcher.pl', bisogna impostare il comando:
|
||||
|
||||
Altri script correlati: http://www.weechat.org/scripts/stable/tag/notify/
|
||||
|
||||
|
||||
[[irc_ssl_connection]]
|
||||
Ho dei problemi nella connessione al server con SSL, cosa posso fare?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Se si verificano problemi con l'handshake gnutls, si può cercare di
|
||||
usare una chiave Diffie-Hellman più piccola (la predefinita è 2048):
|
||||
|
||||
----------------------------------------
|
||||
/set irc.server.freenode.ssl_dhkey_size 1024
|
||||
----------------------------------------
|
||||
|
||||
Se si verificano errori con i certificati, è possibile disabilitare "ssl_verify"
|
||||
(attenzione, la connessione in questo modo sarà meno sicura):
|
||||
|
||||
----------------------------------------
|
||||
/set irc.server.freenode.ssl_verify off
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[irc_ssl_handshake_error]]
|
||||
Alla connessione al server con SSL ottengo solo l'errore "handshake TLS fallito", cosa posso fare?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Provare una stringa di priorità diversa (solo WeeChat ≥ 0.3.5), sostituendo
|
||||
"xxx" con il nome del server:
|
||||
|
||||
----------------------------------------
|
||||
/set irc.server.xxx.ssl_priorities "NORMAL:-VERS-TLS-ALL:+VERS-TLS1.0:+VERS-SSL3.0:%COMPAT"
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[irc_ssl_freenode]]
|
||||
Come ci si può connettere al server freenode via SSL?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Impostare l'opzione 'weechat.network.gnutls_ca_file' con il file dei certificati:
|
||||
|
||||
----------------------------------------
|
||||
/set weechat.network.gnutls_ca_file "/etc/ssl/certs/ca-certificates.crt"
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
Verificare la presenza di questo file sul sistema (solitamente installato dal
|
||||
pacchetto "ca-certificates").
|
||||
|
||||
Impostare la porta del server, SSL, dhkey_size, poi riconnettersi:
|
||||
|
||||
----------------------------------------
|
||||
/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]]
|
||||
Come si può modificare il buffer destinazione per i comandi sui buffer uniti (come i buffer con i server)?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Il tasto predefinito è @k(C-)@k(x) (il comando è: `/input switch_active_buffer`).
|
||||
|
||||
|
||||
[[plugins_scripts]]
|
||||
Plugin / script
|
||||
---------------
|
||||
|
||||
|
||||
[[openbsd_plugins]]
|
||||
Uso OpenBSD e WeeChat non carica nessun plugin, cosa c'è che non va?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -752,7 +729,6 @@ Si deve impostare in questo modo:
|
||||
/plugin autoload
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[load_scripts]]
|
||||
Come posso caricare gli script Perl/Python/Ruby/Lua/Tcl? Sono compatibili con gli altri client IRC?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -768,12 +744,10 @@ Note:
|
||||
all'avvio di WeeChat.
|
||||
* è disponibile un plugin 'tcl' con la versione ≥ 0.3.0.
|
||||
|
||||
|
||||
[[settings]]
|
||||
Impostazioni
|
||||
------------
|
||||
|
||||
|
||||
[[memory_usage]]
|
||||
Come posso ottimizzare WeeChat per poter utilizzare meno memoria?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -783,18 +757,19 @@ Esistono diversi trucchi per ottimizzare l'uso della memoria:
|
||||
* utilizzare l'ultima versione stabile (si suppone che abbia meno falle di memoria
|
||||
rispetto le versioni precedenti)
|
||||
* non caricare alcuni plugin se non vengono utilizzati, ad esempio: aspell, fifo,
|
||||
logger, perl, python, ruby, lua, tcl, xfer (usato per DCC)
|
||||
logger, perl, python, ruby, lua, tcl, guile, xfer (usato per DCC)
|
||||
* caricare solo gli script veramente necessari
|
||||
// TRANSLATION MISSING
|
||||
* do not load certificates if SSL is *NOT* used: set empty string in option
|
||||
'weechat.network.gnutls_ca_file'
|
||||
* ridurre il valore dell'opzione 'weechat.history.max_buffer_lines_number' oppure
|
||||
impostare il valore dell'opzione 'weechat.history.max_buffer_lines_minutes'
|
||||
* ridurre il valore dell'opzione 'weechat.history.max_commands'
|
||||
|
||||
|
||||
[[development]]
|
||||
Sviluppo
|
||||
--------
|
||||
|
||||
|
||||
[[bug_task_patch]]
|
||||
Come posso segnalare bug, richiedere nuove funzionalità o inviare patch?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -811,7 +786,6 @@ Esistono 3 modi:
|
||||
http://www.weechat.org/about
|
||||
(è possibile iscriversi ed inviare alla mailing list "support")
|
||||
|
||||
|
||||
[[gdb_error_threads]]
|
||||
Quando eseguo WeeChat in gdb, c'è un errore riguardo ai thread, cosa posso fare?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -834,7 +808,6 @@ $ LD_PRELOAD=/lib/libpthread.so.0 gdb /path/to/weechat-curses
|
||||
(gdb) run
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[supported_os]]
|
||||
Qual è la lista delle piattaforme supportate da WeeChat? Verrà effettuato il port su altri sistemi operativi?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -844,7 +817,6 @@ La lista completa è su questa pagina: http://www.weechat.org/download
|
||||
Facciamo del nostro meglio per portarlo su più piattaforme possibili. L'aiuto
|
||||
per gli OS che non abbiamo, e su cui testare WeeChat, è ben accetto.
|
||||
|
||||
|
||||
[[help_developers]]
|
||||
Voglio aiutare gli sviluppatori di WeeChat. Cosa posso fare?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -854,7 +826,6 @@ Ci sono molti compiti da fare (testing, scrittura del codice, documentazione, ..
|
||||
Per favore contattateci su IRC o via mail e consultate la pagina di supporto:
|
||||
http://www.weechat.org/support
|
||||
|
||||
|
||||
[[donate]]
|
||||
Posso donare denaro o altre cose agli sviluppatori di WeeChat?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
@@ -1635,6 +1635,62 @@ str2 = weechat.string_input_for_buffer("/test") # ""
|
||||
str3 = weechat.string_input_for_buffer("//test") # "/test"
|
||||
----------------------------------------
|
||||
|
||||
weechat_string_eval_expression
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
_Novità nella versione 0.4.0._
|
||||
|
||||
// TRANSLATION MISSING
|
||||
Evaluate an expression and return result as a string.
|
||||
Special variables with format `${variable}` are expanded (see command `/eval` in
|
||||
'WeeChat User's guide').
|
||||
|
||||
Prototipo:
|
||||
|
||||
[source,C]
|
||||
----------------------------------------
|
||||
char *weechat_string_eval_expression (const char *expr,
|
||||
struct t_hashtable *pointers,
|
||||
struct t_hashtable *extra_vars);
|
||||
----------------------------------------
|
||||
|
||||
Argomenti:
|
||||
|
||||
// TRANSLATION MISSING
|
||||
* '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)
|
||||
|
||||
Valore restituito:
|
||||
|
||||
// TRANSLATION MISSING
|
||||
* evaluated expression (must be freed by calling "free" after use), or NULL
|
||||
if problem (invalid expression or not enough memory)
|
||||
|
||||
Esempi in C:
|
||||
|
||||
[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]
|
||||
----------------------------------------
|
||||
# prototipo
|
||||
str = weechat.string_eval_expression(expr, pointers, extra_vars)
|
||||
|
||||
# esempi
|
||||
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
|
||||
~~~~~
|
||||
@@ -4947,6 +5003,7 @@ Esempio in C:
|
||||
|
||||
[source,C]
|
||||
----------------------------------------
|
||||
struct t_config_option *option = weechat_config_get ("plugin.section.option");
|
||||
if (weechat_config_boolean (option))
|
||||
{
|
||||
/* il valore è "true" */
|
||||
@@ -4965,6 +5022,7 @@ Script (Python):
|
||||
value = weechat.config_boolean(option)
|
||||
|
||||
# esempio
|
||||
option = weechat.config_get("plugin.section.option")
|
||||
if weechat.config_boolean(option):
|
||||
# ...
|
||||
----------------------------------------
|
||||
@@ -4993,6 +5051,7 @@ Esempio in C:
|
||||
|
||||
[source,C]
|
||||
----------------------------------------
|
||||
struct t_config_option *option = weechat_config_get ("plugin.section.option");
|
||||
if (weechat_config_boolean_default (option))
|
||||
{
|
||||
/* il valore è "true" */
|
||||
@@ -5011,6 +5070,7 @@ Script (Python):
|
||||
value = weechat.config_boolean_default(option)
|
||||
|
||||
# esempio
|
||||
option = weechat.config_get("plugin.section.option")
|
||||
if weechat.config_boolean_default(option):
|
||||
# ...
|
||||
----------------------------------------
|
||||
@@ -5039,6 +5099,7 @@ Esempio in C:
|
||||
|
||||
[source,C]
|
||||
----------------------------------------
|
||||
struct t_config_option *option = weechat_config_get ("plugin.section.option");
|
||||
int value = weechat_config_integer (option);
|
||||
----------------------------------------
|
||||
|
||||
@@ -5050,8 +5111,8 @@ Script (Python):
|
||||
value = weechat.config_integer(option)
|
||||
|
||||
# esempio
|
||||
if weechat.config_integer(option):
|
||||
# ...
|
||||
option = weechat.config_get("plugin.section.option")
|
||||
value = weechat.config_integer(option)
|
||||
----------------------------------------
|
||||
|
||||
weechat_config_integer_default
|
||||
@@ -5078,6 +5139,7 @@ Esempio in C:
|
||||
|
||||
[source,C]
|
||||
----------------------------------------
|
||||
struct t_config_option *option = weechat_config_get ("plugin.section.option");
|
||||
int value = weechat_config_integer_default (option);
|
||||
----------------------------------------
|
||||
|
||||
@@ -5089,8 +5151,8 @@ Script (Python):
|
||||
value = weechat.config_integer_default(option)
|
||||
|
||||
# esempio
|
||||
if weechat.config_integer_default(option):
|
||||
# ...
|
||||
option = weechat.config_get("plugin.section.option")
|
||||
value = weechat.config_integer_default(option)
|
||||
----------------------------------------
|
||||
|
||||
weechat_config_string
|
||||
@@ -5117,6 +5179,7 @@ Esempio in C:
|
||||
|
||||
[source,C]
|
||||
----------------------------------------
|
||||
struct t_config_option *option = weechat_config_get ("plugin.section.option");
|
||||
const char *value = weechat_config_string (option);
|
||||
----------------------------------------
|
||||
|
||||
@@ -5128,7 +5191,8 @@ Script (Python):
|
||||
value = weechat.config_string(option)
|
||||
|
||||
# esempio
|
||||
value = weechat.config_string(option):
|
||||
option = weechat.config_get("plugin.section.option")
|
||||
value = weechat.config_string(option)
|
||||
----------------------------------------
|
||||
|
||||
weechat_config_string_default
|
||||
@@ -5155,6 +5219,7 @@ Esempio in C:
|
||||
|
||||
[source,C]
|
||||
----------------------------------------
|
||||
struct t_config_option *option = weechat_config_get ("plugin.section.option");
|
||||
const char *value = weechat_config_string_default (option);
|
||||
----------------------------------------
|
||||
|
||||
@@ -5166,7 +5231,8 @@ Script (Python):
|
||||
value = weechat.config_string_default(option)
|
||||
|
||||
# esempio
|
||||
value = weechat.config_string_default(option):
|
||||
option = weechat.config_get("plugin.section.option")
|
||||
value = weechat.config_string_default(option)
|
||||
----------------------------------------
|
||||
|
||||
weechat_config_color
|
||||
@@ -5193,6 +5259,7 @@ Esempio in C:
|
||||
|
||||
[source,C]
|
||||
----------------------------------------
|
||||
struct t_config_option *option = weechat_config_get ("plugin.section.option");
|
||||
const char *color = weechat_config_color (option);
|
||||
----------------------------------------
|
||||
|
||||
@@ -5204,7 +5271,8 @@ Script (Python):
|
||||
value = weechat.config_color(option)
|
||||
|
||||
# esempio
|
||||
value = weechat.config_color(option):
|
||||
option = weechat.config_get("plugin.section.option")
|
||||
value = weechat.config_color(option)
|
||||
----------------------------------------
|
||||
|
||||
weechat_config_color_default
|
||||
@@ -5231,6 +5299,7 @@ Esempio in C:
|
||||
|
||||
[source,C]
|
||||
----------------------------------------
|
||||
struct t_config_option *option = weechat_config_get ("plugin.section.option");
|
||||
const char *color = weechat_config_color_default (option);
|
||||
----------------------------------------
|
||||
|
||||
@@ -5242,7 +5311,8 @@ Script (Python):
|
||||
value = weechat.config_color_default(option)
|
||||
|
||||
# esempio
|
||||
value = weechat.config_color_default(option):
|
||||
option = weechat.config_get("plugin.section.option")
|
||||
value = weechat.config_color_default(option)
|
||||
----------------------------------------
|
||||
|
||||
weechat_config_write_option
|
||||
@@ -6112,14 +6182,14 @@ Argomenti:
|
||||
|
||||
* 'prefix': nome del prefisso:
|
||||
|
||||
[width="70%",cols="^2e,^1l,^3,5",options="header"]
|
||||
[width="70%",cols="^2e,^1,^3,5",options="header"]
|
||||
|========================================
|
||||
| Prefisso | Valore | Colore | Descrizione
|
||||
| error | =!= | giallo | messaggio di errore
|
||||
| network | -- | magenta | messaggio dalla rete
|
||||
| action | * | bianco | azione automatica
|
||||
| join | --> | verde chiaro | qualcuno entra nella chat corrente
|
||||
| quit | <-- | rosso chiaro | qualcuno lascia la chat corrente
|
||||
| error | `=!=` | giallo | messaggio di errore
|
||||
| network | `--` | magenta | messaggio dalla rete
|
||||
| action | `*` | bianco | azione automatica
|
||||
| join | `-->` | verde chiaro | qualcuno entra nella chat corrente
|
||||
| quit | `<--` | rosso chiaro | qualcuno lascia la chat corrente
|
||||
|========================================
|
||||
|
||||
[NOTE]
|
||||
@@ -6876,6 +6946,15 @@ weechat_hook_process
|
||||
|
||||
Hook su un processo (lanciato con un fork), e cattura l'output.
|
||||
|
||||
[NOTE]
|
||||
// TRANSLATION MISSING
|
||||
Since version 0.3.9.2, the shell is not used any more to execute the command.
|
||||
WeeChat makes an automatic split of command and 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_).
|
||||
|
||||
Prototipo:
|
||||
|
||||
[source,C]
|
||||
@@ -7028,9 +7107,14 @@ struct t_hook *weechat_hook_process_hashtable (const char *command,
|
||||
Gli argomenti sono gli stessi della funzione
|
||||
<<_weechat_hook_process,weechat_hook_process>>, con un argomento aggiuntivo:
|
||||
|
||||
* 'options': le opzioni per il comando eseguito (consultare la tabella in
|
||||
basso); la tabella hash è duplicata nella funzione, per cui è possibile
|
||||
liberarla dopo questa chiamata
|
||||
* 'options': le opzioni per il comando eseguito; la tabella hash è duplicata
|
||||
nella funzione, per cui è possibile liberarla dopo questa chiamata
|
||||
|
||||
// TRANSLATION MISSING
|
||||
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', ...
|
||||
|
||||
Per il comando "url:..." sono disponibili le seguenti opzioni (consultare
|
||||
`man curl_easy_setopt` per la descrizione di ogni opzione):
|
||||
@@ -7085,6 +7169,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,
|
||||
@@ -7099,6 +7184,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); /* unsafe 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):
|
||||
@@ -7121,9 +7242,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 }, # unsafe 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
|
||||
@@ -7138,8 +7274,8 @@ Prototipo:
|
||||
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,
|
||||
@@ -7148,6 +7284,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);
|
||||
@@ -7159,8 +7296,11 @@ Argomenti:
|
||||
NULL significa connessione senza proxy)
|
||||
* 'address': nome o indirizzo IP al quale connettersi
|
||||
* 'port': numero della porta
|
||||
* 'sock': socket utilizzato per la connessione
|
||||
* 'ipv6': 1 per usare IPv6, 0 per usare IPv4
|
||||
// TRANSLATION MISSING
|
||||
* 'ipv6': 1 to use IPv6 (with fallback to IPv4), 0 to use only IPv4
|
||||
// TRANSLATION MISSING
|
||||
* 'retry': retry count, used to fallback to IPv4 hosts if IPv6 hosts connect
|
||||
but then fail to accept the client
|
||||
* 'gnutls_sess': sessione GnuTLS (opzionale)
|
||||
* 'gnutls_cb' callback GnuTLS (opzionale)
|
||||
* 'gnutls_dhkey_size': dimensione della chiave utilizzata nello Scambio
|
||||
@@ -7190,7 +7330,9 @@ Argomenti:
|
||||
*** 'WEECHAT_HOOK_CONNECT_GNUTLS_HANDSHAKE_ERROR': errore di handshake GnuTLS
|
||||
*** 'WEECHAT_HOOK_CONNECT_MEMORY_ERROR': memoria insufficiente
|
||||
*** 'WEECHAT_HOOK_CONNECT_TIMEOUT': timeout
|
||||
*** 'WEECHAT_HOOK_CONNECT_SOCKET_ERROR': errore nella creazione socket
|
||||
** 'gnutls_rc': valore del risultato di 'gnutls_handshake()'
|
||||
** 'sock': socket utilizzato per la connessione
|
||||
** 'const char *error': valore del risultato di 'gnutls_strerror(gnutls_rc)'
|
||||
** 'const char *ip_address': indirizzo IP trovato
|
||||
** valore restituito:
|
||||
@@ -7242,6 +7384,9 @@ 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;
|
||||
}
|
||||
@@ -7284,6 +7429,8 @@ 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, "",
|
||||
@@ -7819,8 +7966,9 @@ Argomenti:
|
||||
string: argomenti per /quit |
|
||||
comando `/quit` digitato dall'utente
|
||||
|
||||
// TRANSLATION MISSING
|
||||
| weechat | upgrade |
|
||||
- |
|
||||
string: "quit" if "-quit" argument was given for /upgrade, otherwise NULL |
|
||||
comando `/upgrade` digitato dall'utente
|
||||
|
||||
| weechat | upgrade_ended +
|
||||
@@ -12921,7 +13069,7 @@ weechat_hdata_new
|
||||
^^^^^^^^^^^^^^^^^
|
||||
|
||||
// TRANSLATION MISSING
|
||||
_Novità nella versione 0.3.6, updated in 0.3.9._
|
||||
_Novità nella versione 0.3.6, updated in 0.3.9 and 0.4.0._
|
||||
|
||||
Crea un nuovo hdata.
|
||||
|
||||
@@ -12942,7 +13090,7 @@ Prototipo:
|
||||
[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,
|
||||
@@ -12958,6 +13106,9 @@ Argomenti:
|
||||
* 'var_next': nome della variabile nella struttura che è puntatore all'elemento
|
||||
successivo nella lista (può essere NULL se non è disponibile tale variabile)
|
||||
// TRANSLATION MISSING
|
||||
* 'create_allowed': 1 if create of structure is allowed, otherwise 0
|
||||
(_novità nella versione 0.4.0_)
|
||||
// TRANSLATION MISSING
|
||||
* 'delete_allowed': 1 if delete of structure is allowed, otherwise 0
|
||||
(_novità nella versione 0.3.9_)
|
||||
// TRANSLATION MISSING
|
||||
@@ -12979,7 +13130,7 @@ Valore restituito:
|
||||
Esempio in C:
|
||||
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]
|
||||
@@ -14116,11 +14267,14 @@ Argomenti:
|
||||
* '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
|
||||
// TRANSLATION MISSING
|
||||
** 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)
|
||||
|
||||
Valore restituito:
|
||||
|
||||
@@ -14223,8 +14377,8 @@ Esempio in C:
|
||||
|
||||
[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):
|
||||
|
||||
@@ -94,7 +94,7 @@ Per ogni opzione del server, WeeChat usa il proprio valore se definito
|
||||
Per esempio ci sono dei nick predefiniti (basati sul proprio login un*x), ed
|
||||
è possibile sovrascriverli per il server oftc con il seguente comando:
|
||||
|
||||
/set irc.server.oftc.nicks "mynick1,mynick2,mynick3,mynick4,mynick5"
|
||||
/set irc.server.oftc.nicks "mynick,mynick2,mynick3,mynick4,mynick5"
|
||||
|
||||
Per impostare il nome utente ed il nome reale:
|
||||
|
||||
@@ -105,12 +105,22 @@ Per impostare la connessione automatica al server all'avvio:
|
||||
|
||||
/set irc.server.oftc.autoconnect on
|
||||
|
||||
Per eseguire un comando dopo la connessione al server, ad esempio
|
||||
per identificarsi con 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 "mynick"
|
||||
/set irc.server.oftc.sasl_password "xxxxxxx"
|
||||
|
||||
Nota: più comandi possono essere separati da ';' (punto e virgola)
|
||||
// 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]
|
||||
Più comandi possono essere separati da ';' (punto e virgola).
|
||||
|
||||
Per entrare automaticamente in alcuni canali quando ci si connette
|
||||
al server:
|
||||
@@ -160,7 +170,7 @@ Entrare/uscire dai canali IRC
|
||||
`/part [messaggio di uscita]`::
|
||||
esce da un canale (mantenendo il buffer aperto)
|
||||
|
||||
`/close [messaggio di uscita]`::
|
||||
`/close`::
|
||||
chiude il buffer del server o del canale (`/close è un alias per `/buffer
|
||||
close`)
|
||||
|
||||
|
||||
@@ -100,9 +100,10 @@ Argomenti:
|
||||
* 'version': stringa, versione dello script
|
||||
* 'license': stringa, licenza dello script
|
||||
* 'description': stringa, breve descrizione dello script
|
||||
// TRANSLATION MISSING
|
||||
* 'shutdown_function': stringa, nome della funzione chiamata quando lo script
|
||||
viene scaricato (opzionale)
|
||||
* 'charset': stringa, set caratteri dello script (opzionale, se il proprio script è in UTF-8,
|
||||
viene scaricato (can be empty string)
|
||||
* 'charset': stringa, set caratteri dello script (se il proprio script è in UTF-8,
|
||||
è possibile utilizzare un valore nullo qui, dato che UTF-8 è il set caratteri predefinito)
|
||||
|
||||
Esempio di script, per ogni linguaggio:
|
||||
@@ -393,7 +394,8 @@ Elenco di costanti nelle API per gli script:
|
||||
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 su segnale |
|
||||
WEECHAT_HOOK_SIGNAL_STRING, WEECHAT_HOOK_SIGNAL_INT, WEECHAT_HOOK_SIGNAL_POINTER
|
||||
|========================================
|
||||
|
||||
+290
-59
@@ -49,7 +49,6 @@ Per poter installare WeeChat, è necessario:
|
||||
sistema)
|
||||
* librerie ncurses
|
||||
|
||||
|
||||
[[install]]
|
||||
Installazione
|
||||
-------------
|
||||
@@ -106,7 +105,7 @@ compilare WeeChat.
|
||||
| libaspell-dev | | | plugin aspell
|
||||
| python-dev | ≥ 2.5 ^(3)^ | | plugin python
|
||||
| libperl-dev | | | plugin perl
|
||||
| ruby1.8-dev | | | plugin ruby
|
||||
| ruby1.9.1-dev | ≥ 1.8 | | plugin ruby
|
||||
| liblua5.1-0-dev | | | plugin lua
|
||||
| tcl-dev | ≥ 8.5 | | plugin tcl
|
||||
| guile-1.8-dev | | | plugin guile (scheme)
|
||||
@@ -150,9 +149,16 @@ $ make install
|
||||
Compilazione con autotools
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[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.
|
||||
|
||||
* Installazione nelle directory di sistema (richiede privilegi di 'root'):
|
||||
|
||||
----------------------------------------
|
||||
$ ./autogen.sh
|
||||
$ ./configure
|
||||
$ make
|
||||
% make install (come root)
|
||||
@@ -161,6 +167,7 @@ $ make
|
||||
* Installazione in una directory personalizzata:
|
||||
|
||||
----------------------------------------
|
||||
$ ./autogen.sh
|
||||
$ ./configure --prefix=/path/to/directory
|
||||
$ make
|
||||
$ make install
|
||||
@@ -170,21 +177,15 @@ $ make install
|
||||
Sorgenti git
|
||||
~~~~~~~~~~~~
|
||||
|
||||
Attenzione: i sorgenti GIT sono per gli utenti avanzati: potrebbero non
|
||||
Attenzione: i sorgenti git sono per gli utenti avanzati: potrebbero non
|
||||
compilare o essere instabili. Siete avvisati!
|
||||
|
||||
Per ottenere i sorgenti GIT, dare il comando:
|
||||
Per ottenere i sorgenti git, dare il comando:
|
||||
|
||||
----------------------------------------
|
||||
$ git clone git://git.sv.gnu.org/weechat.git
|
||||
----------------------------------------
|
||||
|
||||
Se si usano gli autotools (e non cmake), eseguire questo script:
|
||||
|
||||
----------------------------------------
|
||||
$ ./autogen.sh
|
||||
----------------------------------------
|
||||
|
||||
Poi seguire le istruzioni per i sorgenti (consultare
|
||||
<<source_package,sorgenti>>).
|
||||
|
||||
@@ -316,7 +317,6 @@ Poi, come per un crash, usare il comando `bt full`:
|
||||
(gdb) bt full
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[usage]]
|
||||
Utilizzo
|
||||
--------
|
||||
@@ -568,6 +568,219 @@ Esempio di split orizzontale + verticale:
|
||||
(buffer #3)
|
||||
........................................
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[[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/tobbom. 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]]
|
||||
Livelli di notifica
|
||||
~~~~~~~~~~~~~~~~~~~
|
||||
@@ -913,11 +1126,23 @@ Elenco di azioni (solo per i pulsanti, non la rotellina):
|
||||
| gesture-right-long | ≥ 40
|
||||
|========================================
|
||||
|
||||
// TRANSLATION MISSING
|
||||
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
|
||||
|========================================
|
||||
|
||||
Esempio di eventi:
|
||||
|
||||
* `button1`
|
||||
* `ctrl-button1`
|
||||
* `button1-gesture-right`
|
||||
* `button1-event-down`
|
||||
* `button1-event-drag`
|
||||
* `alt-button2-gesture-down-long`
|
||||
* `wheelup`
|
||||
* `ctrl-alt-wheeldown`
|
||||
@@ -1196,7 +1421,6 @@ Comandi di WeeChat
|
||||
|
||||
include::autogen/user/weechat_commands.txt[]
|
||||
|
||||
|
||||
[[plugins]]
|
||||
Plugin
|
||||
------
|
||||
@@ -1309,6 +1533,33 @@ Ad esempio, per abilitare l'opzione "ignore-case":
|
||||
/set aspell.option.ignore-case "true"
|
||||
----------------------------------------
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[[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]]
|
||||
Plugin Charset
|
||||
~~~~~~~~~~~~~~
|
||||
@@ -1753,32 +2004,41 @@ l'opzione:
|
||||
I codici seguenti possono essere utilizzati nelle stringhe e vengono estese
|
||||
automaticamente da WeeChat quando si risponde alle CTCP
|
||||
|
||||
// TRANSLATION MISSING ($versiongit + $git + $username (name))
|
||||
[width="100%",cols="^2l,4,8l",options="header"]
|
||||
|=======================================
|
||||
| Codice | Descrizione | Valore/esempio
|
||||
| $clientinfo | elenco di CTCP supportate | ACTION DCC CLIENTINFO FINGER PING SOURCE TIME USERINFO VERSION
|
||||
| $version | versione di WeeChat | 0.3.0
|
||||
| $compilation | data di compilazione di WeeChat | Sep 13 2009
|
||||
| $osinfo | informazioni sull'OS | Linux 2.6.31 / i686
|
||||
| $site | sito di WeeChat | http://www.weechat.org
|
||||
| $version | versione di WeeChat | 0.4.0-dev
|
||||
| $versiongit | versione di WeeChat + git version | 0.4.0-dev (git: v0.3.9-104-g7eb5cc4)
|
||||
| $git | git version | v0.3.9-104-g7eb5cc4
|
||||
| $compilation | data di compilazione di WeeChat | Dec 16 2012
|
||||
| $osinfo | informazioni sull'OS | Linux 2.6.32-5-amd64 / x86_64
|
||||
| $site | sito di WeeChat | http://www.weechat.org/
|
||||
| $download | sito di WeeChat, pagina di download | http://www.weechat.org/download
|
||||
| $time | data/ora correnti | Sun, 13 Sep 2009 15:48:31 +0200
|
||||
| $username | nome utente sul server IRC | nick
|
||||
| $realname | nome reale sul server IRC | Mio nome
|
||||
| $time | data/ora correnti | Sun, 16 Dec 2012 10:40:48 +0100
|
||||
| $username | nome utente sul server IRC | name
|
||||
| $realname | nome reale sul server IRC | John Doe
|
||||
|=======================================
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[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.
|
||||
|
||||
Se le opzioni CTCP non sono definite (comportamento predefinito),
|
||||
le risposte CTCP sono:
|
||||
|
||||
// TRANSLATION MISSING ($username (name))
|
||||
[width="100%",cols="^2,4l,8l",options="header"]
|
||||
|=======================================
|
||||
| CTCP | Formato risposta | Esempio
|
||||
| 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 (Mio nome)
|
||||
| VERSION | WeeChat $version ($compilation) | WeeChat 0.3.0 (Sep 13 2009)
|
||||
| CTCP | Formato risposta | Esempio
|
||||
| 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]]
|
||||
@@ -1877,6 +2137,10 @@ personalizzare:
|
||||
| 433 | | nick già utilizzato
|
||||
| 438 | | non autorizzato a cambiare nick
|
||||
| 671 | whois | whois (connessione sicura)
|
||||
// TRANSLATION MISSING
|
||||
| 728 | quietlist | quiet list
|
||||
// TRANSLATION MISSING
|
||||
| 729 | quietlist | end of quiet list
|
||||
| 901 | | ora si è loggati
|
||||
|========================================
|
||||
|
||||
@@ -2303,38 +2567,6 @@ Comandi
|
||||
|
||||
include::autogen/user/xfer_commands.txt[]
|
||||
|
||||
|
||||
[[authors]]
|
||||
Autori
|
||||
------
|
||||
|
||||
[[developers]]
|
||||
Sviluppatori
|
||||
~~~~~~~~~~~~
|
||||
|
||||
Sviluppatore principale::
|
||||
Sébastien Helleu (FlashCode)
|
||||
|
||||
[[contributors]]
|
||||
Contributori
|
||||
~~~~~~~~~~~~
|
||||
|
||||
Packager::
|
||||
Emmanuel Bouthenot (kolter), Julien Louis (ptitlouis), Odin
|
||||
|
||||
Traduzioni::
|
||||
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
|
||||
|
||||
Patch::
|
||||
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]]
|
||||
Supporto
|
||||
--------
|
||||
@@ -2347,7 +2579,6 @@ Per ricevere supporto:
|
||||
|
||||
* IRC: server 'irc.freenode.net', canali '#weechat' (inglese) e
|
||||
'#weechat-fr' (francese)
|
||||
* Forum di WeeChat: http://forums.flashtux.org/
|
||||
* Mailing list:
|
||||
** sottoscrizione: http://mail.nongnu.org/mailman/listinfo/weechat-support
|
||||
** inviare una mail a weechat-support@nongnu.org
|
||||
|
||||
@@ -139,10 +139,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 +152,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) +
|
||||
@@ -188,8 +191,9 @@
|
||||
'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 +325,6 @@
|
||||
| weechat | bar | バー |
|
||||
'name' (string) +
|
||||
'options' (pointer) +
|
||||
'conditions_count' (integer) +
|
||||
'conditions_array' (string, array_size: "conditions_count") +
|
||||
'items_count' (integer) +
|
||||
'items_subcount' (pointer) +
|
||||
'items_array' (pointer) +
|
||||
@@ -559,8 +561,10 @@
|
||||
'text' (string) +
|
||||
'next_history' (pointer, hdata: "history") +
|
||||
'prev_history' (pointer, hdata: "history") |
|
||||
|
|
||||
-
|
||||
`__create` +
|
||||
`__delete` |
|
||||
'gui_history' +
|
||||
'last_gui_history'
|
||||
|
||||
| weechat | hotlist | ホットリスト |
|
||||
'priority' (integer) +
|
||||
|
||||
@@ -42,6 +42,8 @@
|
||||
|
||||
| weechat | version | WeeChat のバージョン | -
|
||||
|
||||
| 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 のバージョン (数字) | -
|
||||
|
||||
| weechat | weechat_dir | WeeChat ディレクトリ | -
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|========================================
|
||||
| プラグイン | 名前 | 説明 | ハッシュテーブル (入力) | ハッシュテーブル (出力)
|
||||
|
||||
| irc | irc_message_parse | IRC メッセージを解析 | "message": IRC メッセージ、"server": サーバ名 (オプション) | "nick": ニックネーム、"host": ホスト名、"command": コマンド、"channel": チャンネル、"arguments": 引数 (チャンネルを含む)
|
||||
| irc | irc_message_parse | IRC メッセージを解析 | "message": IRC メッセージ、"server": サーバ名 (オプション) | "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 | IRC メッセージを分割 (512バイトに収める) | "message": IRC メッセージ、"server": サーバ名 (オプション) | "msg1" ... "msgN": 送信メッセージ (最後の "\r\n" は無し), "args1" ... "argsN": メッセージの引数、"count": メッセージの数
|
||||
|
||||
|
||||
@@ -23,6 +23,11 @@
|
||||
** タイプ: ブール
|
||||
** 値: on, off (デフォルト値: `off`)
|
||||
|
||||
* [[option_aspell.check.suggestions]] *aspell.check.suggestions*
|
||||
** 説明: `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)`
|
||||
** タイプ: 整数
|
||||
** 値: -1 .. 2147483647 (デフォルト値: `-1`)
|
||||
|
||||
* [[option_aspell.check.word_min_length]] *aspell.check.word_min_length*
|
||||
** 説明: `スペルチェックを行う単語長の最小値 (0 の場合は全ての単語をチェック)`
|
||||
** タイプ: 整数
|
||||
|
||||
@@ -56,20 +56,21 @@ channel: バン対象チャンネル
|
||||
[command]*`connect`* IRC サーバに接続::
|
||||
........................................
|
||||
/connect <server> [<server>...] [-<option>[=<value>]] [-no<option>] [-nojoin] [-switch]
|
||||
-all|-open [-nojoin] [-switch]
|
||||
-all|-auto|-open [-nojoin] [-switch]
|
||||
|
||||
server: サーバ名、これは:
|
||||
- 内部サーバ名 (/server add で作成されたもの、利用推奨)
|
||||
- ホスト名/ポート番号、又は IP アドレス/ポート番号 (これは一時的サーバを作る)、デフォルトのポート番号は 6667
|
||||
- 次のフォーマットに従う URL: irc[6][s]://[nickname[:password]@]irc.example.org[:port][/#channel1][,#channel2[...]]
|
||||
option: サーバに関するオプション (ブール型オプションでは、value は無視される)
|
||||
nooption: ブール型オプションを 'off' にする (例: -nossl)
|
||||
-all: 設定された全てのサーバに接続
|
||||
-open: 現在接続されていないがオープンされているサーバに接続
|
||||
-nojoin: チャンネルに入らない (autojoin が有効化されていても)
|
||||
-switch: 次のサーバアドレスに移動
|
||||
server: server name, which can be:
|
||||
- internal server name (created by /server add, recommended usage)
|
||||
- hostname/port or IP/port (this will create a TEMPORARY server), port is 6667 by default
|
||||
- URL with format: irc[6][s]://[nickname[:password]@]irc.example.org[:port][/#channel1][,#channel2[...]]
|
||||
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
|
||||
|
||||
例:
|
||||
Examples:
|
||||
/connect freenode
|
||||
/connect irc.oftc.net/6667
|
||||
/connect irc6.oftc.net/6667 -ipv6
|
||||
@@ -212,16 +213,18 @@ nick: nick
|
||||
[[command_irc_join]]
|
||||
[command]*`join`* チャンネルに参加::
|
||||
........................................
|
||||
/join [-server <server>] [<channel1>[,<channel2>...]] [<key1>[,<key2>...]]
|
||||
/join [-noswitch] [-server <server>] [<channel1>[,<channel2>...]] [<key1>[,<key2>...]]
|
||||
|
||||
server: 送信先サーバ (内部サーバ名)
|
||||
channel: 参加するチャンネルの名前
|
||||
key: チャンネルに参加するためのキー (キーが必要なチャンネルは最初に置くこと)
|
||||
-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: 送信先サーバ (内部サーバ名)
|
||||
text: 送信テキスト
|
||||
........................................
|
||||
|
||||
[[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`* パースせずにサーバ宛に生データを送信::
|
||||
........................................
|
||||
@@ -734,10 +748,14 @@ mask: マスクにマッチする情報
|
||||
[[command_irc_whois]]
|
||||
[command]*`whois`* ユーザに関する情報を要求::
|
||||
........................................
|
||||
/whois [<server>] <nick>[,<nick>...]
|
||||
/whois [<server>] [<nick>[,<nick>...]]
|
||||
|
||||
server: サーバ名
|
||||
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]]
|
||||
|
||||
@@ -318,6 +318,11 @@
|
||||
** タイプ: ブール
|
||||
** 値: on, off (デフォルト値: `off`)
|
||||
|
||||
* [[option_irc.network.alternate_nick]] *irc.network.alternate_nick*
|
||||
** 説明: `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`
|
||||
** タイプ: ブール
|
||||
** 値: on, off (デフォルト値: `on`)
|
||||
|
||||
* [[option_irc.network.autoreconnect_delay_growing]] *irc.network.autoreconnect_delay_growing*
|
||||
** 説明: `サーバに自動再接続する際の遅延間隔に関する増加係数 (1 = 遅延間隔は常に同じ, 2 = リトライごとに遅延間隔を 2 倍、..)`
|
||||
** タイプ: 整数
|
||||
@@ -373,6 +378,11 @@
|
||||
** タイプ: ブール
|
||||
** 値: on, off (デフォルト値: `off`)
|
||||
|
||||
* [[option_irc.network.whois_double_nick]] *irc.network.whois_double_nick*
|
||||
** 説明: `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"`
|
||||
** タイプ: ブール
|
||||
** 値: on, off (デフォルト値: `on`)
|
||||
|
||||
* [[option_irc.server_default.addresses]] *irc.server_default.addresses*
|
||||
** 説明: `サーバのホスト名/ポート番号又は IP アドレス/ポート番号のリスト (コンマ区切り)`
|
||||
** タイプ: 文字列
|
||||
@@ -409,7 +419,7 @@
|
||||
** 値: 1 .. 65535 (デフォルト値: `10`)
|
||||
|
||||
* [[option_irc.server_default.autorejoin]] *irc.server_default.autorejoin*
|
||||
** 説明: `キックされた後に自動的に再度参加`
|
||||
** 説明: `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")`
|
||||
** タイプ: ブール
|
||||
** 値: on, off (デフォルト値: `off`)
|
||||
|
||||
@@ -459,9 +469,9 @@
|
||||
** 値: 未制約文字列 (デフォルト値: `"WeeChat %v"`)
|
||||
|
||||
* [[option_irc.server_default.ipv6]] *irc.server_default.ipv6*
|
||||
** 説明: `サーバとの通信に IPv6 を利用`
|
||||
** 説明: `use IPv6 protocol for server communication (try IPv6 then fallback to IPv4); if disabled, only IPv4 is used`
|
||||
** タイプ: ブール
|
||||
** 値: on, off (デフォルト値: `off`)
|
||||
** 値: on, off (デフォルト値: `on`)
|
||||
|
||||
* [[option_irc.server_default.local_hostname]] *irc.server_default.local_hostname*
|
||||
** 説明: `サーバで使用するカスタムホスト名/IP アドレス (任意、空の場合はローカルホスト名が使われる)`
|
||||
|
||||
@@ -2,34 +2,42 @@
|
||||
[command]*`relay`* リレー管理::
|
||||
........................................
|
||||
/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
|
||||
|
||||
list: リレーするクライアントをリストアップ (アクティブなもののみ)
|
||||
listfull: リレーするクライアントをリストアップ (詳細、全てのリレー)
|
||||
listrelay: リレーをリストアップ (名前とポート番号)
|
||||
add: プロトコル + 名前のリレーを追加
|
||||
del: プロトコル + 名前のリレーを削除
|
||||
protocol.name: リレーするプロトコルと名前:
|
||||
- プロトコル "irc": 名前は共有するサーバ
|
||||
- プロトコル "weechat" (名前は使われていない)
|
||||
注意: SSL を有効化するには "ssl." を protocol の最初に付ける
|
||||
port: リレーに使うポート番号
|
||||
raw: 生 Relay データバッファを開く
|
||||
sslcertkey: オプション relay.network.ssl_cert_key のパスを使って SSL 証明書/鍵を設定
|
||||
list: list relay clients (only active relays)
|
||||
listfull: list relay clients (verbose, all relays)
|
||||
listrelay: list relays (name and port)
|
||||
add: add relay for a protocol + name
|
||||
del: remove relay for a protocol + name
|
||||
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 "weechat" (name is not used)
|
||||
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
|
||||
|
||||
引数無しの場合、リレークライアントのリストを含むバッファを開く
|
||||
Without argument, this command opens buffer with list of relay clients.
|
||||
|
||||
例:
|
||||
サーバ "freenode" に対する irc プロキシを設定:
|
||||
Examples:
|
||||
irc proxy, for server "freenode":
|
||||
/relay add irc.freenode 8000
|
||||
サーバ "freenode" に対する SSL を有効化した irc プロキシを設定:
|
||||
irc proxy, for server "freenode", with SSL:
|
||||
/relay add ssl.irc.freenode 8001
|
||||
weechat プロトコル:
|
||||
weechat protocol:
|
||||
/relay add weechat 9000
|
||||
SSL を有効化した weechat プロトコル:
|
||||
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 @@
|
||||
** タイプ: 色
|
||||
** 値: WeeChat の色名 (default、black、(dark)gray、white、(light)red、(light)green、brown、yellow、(light)blue、(light)magenta、(light)cyan) 、ターミナル色番号またはその別名; 色の前に属性を置くことができます (テキスト前景色のみ、背景色は出来ません): 太字は "*"、反転は "!"、下線は "_"。 (デフォルト値: `white`)
|
||||
|
||||
* [[option_relay.irc.backlog_max_minutes]] *relay.irc.backlog_max_minutes*
|
||||
** 説明: `maximum number of minutes in backlog per IRC channel (0 = unlimited, examples: 1440 = one day, 10080 = one week, 43200 = one month, 525600 = one year)`
|
||||
** タイプ: 整数
|
||||
** 値: 0 .. 2147483647 (デフォルト値: `1440`)
|
||||
|
||||
* [[option_relay.irc.backlog_max_number]] *relay.irc.backlog_max_number*
|
||||
** 説明: `maximum number of lines in backlog per IRC channel (0 = unlimited)`
|
||||
** タイプ: 整数
|
||||
** 値: 0 .. 2147483647 (デフォルト値: `256`)
|
||||
|
||||
* [[option_relay.irc.backlog_since_last_disconnect]] *relay.irc.backlog_since_last_disconnect*
|
||||
** 説明: `display backlog starting from last client disconnect`
|
||||
** タイプ: ブール
|
||||
** 値: on, off (デフォルト値: `on`)
|
||||
|
||||
* [[option_relay.irc.backlog_tags]] *relay.irc.backlog_tags*
|
||||
** 説明: `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`
|
||||
** タイプ: 文字列
|
||||
** 値: 未制約文字列 (デフォルト値: `"irc_privmsg"`)
|
||||
|
||||
* [[option_relay.irc.backlog_time_format]] *relay.irc.backlog_time_format*
|
||||
** 説明: `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`
|
||||
** タイプ: 文字列
|
||||
** 値: 未制約文字列 (デフォルト値: `"[%H:%M] "`)
|
||||
|
||||
* [[option_relay.look.auto_open_buffer]] *relay.look.auto_open_buffer*
|
||||
** 説明: `新しいクライアントが接続したらリレーバッファを自動的に開く`
|
||||
** タイプ: ブール
|
||||
@@ -54,7 +79,7 @@
|
||||
** 値: 0 .. 65535 (デフォルト値: `256`)
|
||||
|
||||
* [[option_relay.network.allowed_ips]] *relay.network.allowed_ips*
|
||||
** 説明: `リレーに使用する IP アドレスの正規表現 (大文字小文字の区別無し、最初に "(?-i)" をつければ区別有り)、例: "^(123.45.67.89|192.160.*)$"`
|
||||
** 説明: `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.*)$"`
|
||||
** タイプ: 文字列
|
||||
** 値: 未制約文字列 (デフォルト値: `""`)
|
||||
|
||||
@@ -68,6 +93,11 @@
|
||||
** タイプ: 整数
|
||||
** 値: 0 .. 9 (デフォルト値: `6`)
|
||||
|
||||
* [[option_relay.network.ipv6]] *relay.network.ipv6*
|
||||
** 説明: `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)`
|
||||
** タイプ: ブール
|
||||
** 値: on, off (デフォルト値: `on`)
|
||||
|
||||
* [[option_relay.network.max_clients]] *relay.network.max_clients*
|
||||
** 説明: `ポートに接続するクライアントの最大数`
|
||||
** タイプ: 整数
|
||||
|
||||
@@ -11,49 +11,50 @@ message: 離席メッセージ (メッセージが無い場合は、離席状態
|
||||
[command]*`bar`* バーの管理::
|
||||
........................................
|
||||
/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: 全てのバーをリストアップ
|
||||
listfull: 全てのバーをリストアップ (詳細)
|
||||
listitems: 全てのバーアイテムをリストアップ
|
||||
add: 新しいバーを追加
|
||||
name: バーの名称 (ユニークな)
|
||||
type: root: 外側のウィンドウ、
|
||||
window: 内側のウィンドウ、任意の状態を取れる (以下を参照)
|
||||
cond1,...: バーの表示状態 (タイプが "window" のバー以外は無効):
|
||||
active: アクティブウィンドウに表示
|
||||
inactive: 非アクティブウィンドウに表示
|
||||
nicklist: ニックネームリストを持つウィンドウに表示
|
||||
表示状態の指定が無ければ、バーは常に表示されます。
|
||||
position: bottom、top、left、right
|
||||
size: バーのサイズ (文字数で指定)
|
||||
separator: 1 はセパレータ (線) を使用、0 または指定無しはセパレータ無し
|
||||
item1,...: バーのアイテム (アイテムはコンマ (アイテム間にスペース) または "+" (アイテム間にスペース無し) で区切ります)
|
||||
default: デフォルトバーを作成 (バーの名前が無ければ全てのデフォルトバーが作成されます)
|
||||
del: バーを削除 (-all を付ければ全てのバーを削除)
|
||||
set: バー属性に値を設定
|
||||
option: 変更するオプション (オプション一覧は /set weechat.bar.<barname>.* を参照)
|
||||
value: オプションの新しい値
|
||||
hide: バーを隠す
|
||||
show: 隠されたバーを表示
|
||||
toggle: バーの非表示/表示を切り替え
|
||||
scroll: バーをスクロール
|
||||
window: ウィンドウ番号 (現在のウィンドウかルートバーを指定するには '*' を使う)
|
||||
scroll_value: スクロールする量: 'x' または 'y' (任意)の後に、'+' か '-' か 'b' (最初) か 'e' (最後)の後に、値 (+/- を付けて)、任意で % (スクロールする幅/高さの割合、% が無ければ値は文字数と解釈されます)
|
||||
list: list all bars
|
||||
listfull: list all bars (verbose)
|
||||
listitems: list all bar items
|
||||
add: add a new bar
|
||||
name: name of bar (must be unique)
|
||||
type: root: outside windows,
|
||||
window: inside windows, with optional conditions (see below)
|
||||
condition: condition(s) for displaying bar (only for type "window"):
|
||||
active: on active window
|
||||
inactive: on inactive windows
|
||||
nicklist: on windows with nicklist
|
||||
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
|
||||
item1,...: items for this bar (items can be separated by comma (space between items) or "+" (glued items))
|
||||
default: create a default bar (all default bars if no bar name is given)
|
||||
del: delete a bar (or all bars with -all)
|
||||
set: set a value for a bar property
|
||||
option: option to change (for options list, look at /set weechat.bar.<barname>.*)
|
||||
value: new value for option
|
||||
hide: hide a bar
|
||||
show: show an hidden bar
|
||||
toggle: hide/show a bar
|
||||
scroll: scroll bar
|
||||
window: window number (use '*' for current window or for root bars)
|
||||
scroll_value: value for scroll: 'x' or 'y' (optional), followed by '+', '-', 'b' (beginning) or 'e' (end), value (for +/-), and optional % (to scroll by % of width/height, otherwise value is number of chars)
|
||||
|
||||
例:
|
||||
時間、バー番号 + 名前、補完候補からなるバーを作成:
|
||||
Examples:
|
||||
create a bar with time, buffer number + name, and completion:
|
||||
/bar add mybar root bottom 1 0 [time],buffer_number+:+buffer_name,completion
|
||||
バーを隠す:
|
||||
hide a bar:
|
||||
/bar hide mybar
|
||||
現在のバッファに対応したニックネームリストを10行分、下方向にスクロール:
|
||||
scroll nicklist 10 lines down on current buffer:
|
||||
/bar scroll nicklist * y+10
|
||||
現在のバッファに対応したニックネームリストを最後までスクロール:
|
||||
scroll to end of nicklist on current buffer:
|
||||
/bar scroll nicklist * ye
|
||||
........................................
|
||||
|
||||
@@ -199,6 +200,61 @@ infolists: infolist に関する情報を表示
|
||||
windows: ウィンドウツリーの情報を表示
|
||||
........................................
|
||||
|
||||
[[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 prioity :
|
||||
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`* タグか正規表現に基づくバッファメッセージの非表示/表示::
|
||||
........................................
|
||||
@@ -549,23 +605,29 @@ file: 保存する設定ファイル (拡張子 ".conf" は不要)
|
||||
[command]*`set`* オプションの設定::
|
||||
........................................
|
||||
/set [<option> [<value>]]
|
||||
diff [<option> [<option>...]]
|
||||
|
||||
option: オプションの名前 (多くのオプションをリストアップするには、'*' で始めるか終わるかしてください)
|
||||
value: オプションに対する新しい値
|
||||
option: name of an option (can start or end with '*' to list many options)
|
||||
value: new value for option
|
||||
diff: display only changed options
|
||||
|
||||
新しいオプションは以下の変数型に従います:
|
||||
boolean: on、off、toggle
|
||||
integer: 番号、++番号、--番号
|
||||
string : 任意の文字列 (空文字列は "")
|
||||
color : 色の名前、++色番号、--色番号
|
||||
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
|
||||
|
||||
どんな型であっても、オプションの値を削除する (未定義値にする) には null が使えます。これはいくつかの特別なプラグイン変数でのみ有効です。
|
||||
For all types, you can use null to remove option value (undefined value). This works only for some special plugin variables.
|
||||
|
||||
例:
|
||||
ハイライトに関するオプションを表示:
|
||||
Examples:
|
||||
display options about highlight:
|
||||
/set *highlight*
|
||||
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,19 +649,30 @@ option: オプションの名前 ("*" で始めるか終わるかすれば大量
|
||||
[[command_weechat_upgrade]]
|
||||
[command]*`upgrade`* サーバとの接続を維持して WeeChat をアップグレード::
|
||||
........................................
|
||||
/upgrade [<path_to_binary>]
|
||||
/upgrade [<path_to_binary>|-quit]
|
||||
|
||||
path_to_binary: WeeChat バイナリへのパス (デフォルトは現在のバイナリ)
|
||||
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)
|
||||
|
||||
このコマンドは起動中の WeeChat セッションのアップグレードと再読み込みを行います。このコマンドを実行する前に、新しい WeeChat バイナリをコンパイルするか、パッケージマネージャでインストールしなければいけません。
|
||||
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.
|
||||
|
||||
注意: SSL 接続はアップグレード中に破棄されます、これは今のところ GnuTLS では SSL セッションのリロードができないからです。アップグレードの後に自動的に再接続されます。
|
||||
Note: SSL connections are lost during upgrade, because reload of SSL sessions is currently not possible with GnuTLS. There is automatic reconnection after upgrade.
|
||||
|
||||
アップグレードは 4 つの手順を踏みます:
|
||||
1. コアとプラグイン (バッファ、履歴、...) のセッションをファイルに保存
|
||||
2. 全てのプラグインをアンロード (設定ファイル (*.conf) はディスクに書き込まれます)
|
||||
3. WeeChat 設定を保存 (weechat.conf)
|
||||
4. 新しい WeeChat バイナリを実行してセッションをリロード。
|
||||
Upgrade process has 4 steps:
|
||||
1. save session into files for core and plugins (buffers, history, ..)
|
||||
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]]
|
||||
|
||||
@@ -609,7 +609,7 @@
|
||||
** 値: -1 .. 2147483647 (デフォルト値: `1`)
|
||||
|
||||
* [[option_weechat.look.prefix_action]] *weechat.look.prefix_action*
|
||||
** 説明: `アクションメッセージのプレフィックス`
|
||||
** 説明: `prefix for action messages, colors are allowed with format "${color}"`
|
||||
** タイプ: 文字列
|
||||
** 値: 未制約文字列 (デフォルト値: `" *"`)
|
||||
|
||||
@@ -649,22 +649,22 @@
|
||||
** 値: 未制約文字列 (デフォルト値: `"+"`)
|
||||
|
||||
* [[option_weechat.look.prefix_error]] *weechat.look.prefix_error*
|
||||
** 説明: `エラーメッセージのプレフィックス`
|
||||
** 説明: `prefix for error messages, colors are allowed with format "${color}"`
|
||||
** タイプ: 文字列
|
||||
** 値: 未制約文字列 (デフォルト値: `"=!="`)
|
||||
|
||||
* [[option_weechat.look.prefix_join]] *weechat.look.prefix_join*
|
||||
** 説明: `join メッセージのプレフィックス`
|
||||
** 説明: `prefix for join messages, colors are allowed with format "${color}"`
|
||||
** タイプ: 文字列
|
||||
** 値: 未制約文字列 (デフォルト値: `"-->"`)
|
||||
|
||||
* [[option_weechat.look.prefix_network]] *weechat.look.prefix_network*
|
||||
** 説明: `ネットワークメッセージのプレフィックス`
|
||||
** 説明: `prefix for network messages, colors are allowed with format "${color}"`
|
||||
** タイプ: 文字列
|
||||
** 値: 未制約文字列 (デフォルト値: `"--"`)
|
||||
|
||||
* [[option_weechat.look.prefix_quit]] *weechat.look.prefix_quit*
|
||||
** 説明: `quit メッセージのプレフィックス`
|
||||
** 説明: `prefix for quit messages, colors are allowed with format "${color}"`
|
||||
** タイプ: 文字列
|
||||
** 値: 未制約文字列 (デフォルト値: `"<--"`)
|
||||
|
||||
|
||||
+74
-102
@@ -10,7 +10,6 @@ Sébastien Helleu <flashcode@flashtux.org>
|
||||
[[general]]
|
||||
== 一般 ==
|
||||
|
||||
|
||||
[[weechat_name]]
|
||||
=== "WeeChat" という名前の由来は何ですか? ===
|
||||
|
||||
@@ -20,7 +19,6 @@ Sébastien Helleu <flashcode@flashtux.org>
|
||||
"Wee" はまた "とても小さい" を意味します。(もちろん、
|
||||
その他の意味もありますが、それは WeeChat とは関係ありませんよ!)。
|
||||
|
||||
|
||||
[[why_choose_weechat]]
|
||||
=== WeeChat を選ぶ理由は何ですか? X-Chat や Irssi は最高なのに... ===
|
||||
|
||||
@@ -50,11 +48,9 @@ Sébastien Helleu <flashcode@flashtux.org>
|
||||
|
||||
こののページに関するより詳しい情報: http://www.weechat.org/features
|
||||
|
||||
|
||||
[[compilation_install]]
|
||||
== コンパイル / インストール ==
|
||||
|
||||
|
||||
[[gui]]
|
||||
=== WeeChat には多くの GUI があると聞きました。コンパイル/利用方法を教えてください。 ===
|
||||
|
||||
@@ -62,7 +58,6 @@ Sébastien Helleu <flashcode@flashtux.org>
|
||||
|
||||
その他の GUI はリモートクライアントとして利用可能になる予定です(現在開発中)。
|
||||
|
||||
|
||||
[[compile_git]]
|
||||
=== git リポジトリをクローンした後に WeeChat をコンパイルできません。 ===
|
||||
|
||||
@@ -76,7 +71,6 @@ autotools を使って (cmake を使わずに) コンパイルする場合、
|
||||
リポジトリからほぼ毎日ビルドされます。このパッケージは厳密には git ベースではなく、
|
||||
アップデートをインストールする場合には git をクローンする方法よりも不便であることに注意してください。
|
||||
|
||||
|
||||
[[lost]]
|
||||
=== WeeChat を起動しました。でも何をすればいいかわかりません。 ===
|
||||
|
||||
@@ -86,11 +80,9 @@ autotools を使って (cmake を使わずに) コンパイルする場合、
|
||||
新しいユーザはクイックスタートガイドを読むことをお勧めします
|
||||
(ウェブサイトのドキュメントページを参照)。
|
||||
|
||||
|
||||
[[display]]
|
||||
== 表示 ==
|
||||
|
||||
|
||||
[[charset]]
|
||||
=== いくつかの文字が見えません。どうすれば良いですか。 ===
|
||||
|
||||
@@ -116,7 +108,6 @@ WeeChat は UTF-8 ロケールを推奨します。ISO 又はその他のロケ
|
||||
*全ての* 設定 (ターミナル、screen、..) が ISO であり、
|
||||
UTF-8 *でない* ことを確認してください。
|
||||
|
||||
|
||||
[[bars_background]]
|
||||
=== タイトルやステータスバー等の背景色が行末ではなくテキストの最後で終わってしまいます。 ===
|
||||
|
||||
@@ -132,7 +123,6 @@ WeeChat を起動した場所に依存しますが、以下の値を持つはず
|
||||
|
||||
もし必要であれば、TERM 変数を修正してください: `export TERM="xxx"`
|
||||
|
||||
|
||||
[[screen_weird_chars]]
|
||||
=== weechat を screen/tmux の中で使っている場合、おかしなランダム文字列が表示されます。どうすれば直りますか。 ===
|
||||
|
||||
@@ -144,7 +134,6 @@ WeeChat を起動した場所に依存しますが、以下の値を持つはず
|
||||
|
||||
もし必要であれば、TERM 変数を修正してください: `export TERM="xxx"`
|
||||
|
||||
|
||||
[[osx_display_broken]]
|
||||
=== OS X 上で WeeChat をコンパイルした場合、"(null)" という文字列が至る所に表示されます。 ===
|
||||
|
||||
@@ -154,7 +143,6 @@ ncurses を使ってみてください。
|
||||
さらに OS X では、Homebrew パッケージマネージャを使って
|
||||
WeeChat をインストールすることをお勧めします。
|
||||
|
||||
|
||||
[[buffer_vs_window]]
|
||||
=== "バッファ" と "ウィンドウ" の違いは何ですか。 ===
|
||||
|
||||
@@ -167,7 +155,6 @@ WeeChat をインストールすることをお勧めします。
|
||||
それぞれのウィンドウは 1 つのバッファの内容を表示します。バッファを隠す
|
||||
(ウィンドウで表示させない) ことや 1 つ以上のウィンドウに表示させることも出来ます。
|
||||
|
||||
|
||||
[[buffers_list]]
|
||||
=== どうすれば左側にバッファリストを表示できますか。 ===
|
||||
|
||||
@@ -185,7 +172,6 @@ WeeChat をインストールすることをお勧めします。
|
||||
/set weechat.bar.buffers.position bottom
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[customize_prefix]]
|
||||
=== どうすればチャットエリア内のニックネームの最大長さを短く、又はニックネーム整列機能を無効化できますか。 ===
|
||||
|
||||
@@ -201,7 +187,6 @@ WeeChat をインストールすることをお勧めします。
|
||||
/set weechat.look.prefix_align none
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[input_bar_size]]
|
||||
=== コマンドラインの行数を増やすにはどうすればいいですか。 ===
|
||||
|
||||
@@ -221,7 +206,6 @@ WeeChat をインストールすることをお勧めします。
|
||||
/set weechat.bar.input.size_max 2
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[one_input_root_bar]]
|
||||
=== 全てのウィンドウに対して入力バーの数を 1 つだけにすることができますか (画面分割されている場合)。 ===
|
||||
|
||||
@@ -243,7 +227,6 @@ WeeChat は自動的にデフォルトバー "input" を作成します:
|
||||
/bar del rootinput
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[terminal_copy_paste]]
|
||||
=== どうすればニックネームリストを選択せずにテキストだけをコピー/ペーストできますか。 ===
|
||||
|
||||
@@ -256,7 +239,6 @@ konsole、gnome-terminal、...)。通常、キーは @k(C-)@k(A-) マウス選
|
||||
/set weechat.bar.nicklist.position top
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[urls]]
|
||||
=== どうすれば長い (一行以上に渡る) URL をクリックできますか。 ===
|
||||
|
||||
@@ -300,7 +282,6 @@ shortenurl.py::
|
||||
|
||||
URL に関するスクリプトのリスト: http://www.weechat.org/scripts/stable/tag/url
|
||||
|
||||
|
||||
[[change_locale_without_quit]]
|
||||
=== WeeChat が出力するメッセージの言語を、再起動せずに変更したいです。このようなことは可能ですか。 ===
|
||||
|
||||
@@ -315,7 +296,6 @@ URL に関するスクリプトのリスト: http://www.weechat.org/scripts/stab
|
||||
UTF-8 エンコードされた英語メッセージが表示されるようになります、
|
||||
ISO ユーザは以下のようにして下さい: `/shell setenv LANG=en_US`
|
||||
|
||||
|
||||
[[256_colors]]
|
||||
=== どうすれば WeeChat で 256 色が使えますか。 ===
|
||||
|
||||
@@ -352,7 +332,6 @@ term screen-256color
|
||||
|
||||
色管理に関するより詳しい情報はユーザーガイドを読んでください。
|
||||
|
||||
|
||||
[[search_text]]
|
||||
=== どうすればバッファ内の文字列を検索できますか (irssi の /lastlog の様に)。 ===
|
||||
|
||||
@@ -361,11 +340,9 @@ term screen-256color
|
||||
|
||||
この機能に関するより詳しい情報はユーザーガイドを参照してください (デフォルトのキー割り当て)。
|
||||
|
||||
|
||||
[[key_bindings]]
|
||||
== キー割り当て ==
|
||||
|
||||
|
||||
[[meta_keys]]
|
||||
=== いくつかのメタキーが (alt + key) が動きません。 ===
|
||||
|
||||
@@ -383,7 +360,6 @@ UXTerm*metaSendsEscape: true
|
||||
|
||||
このファイルを再読み込みするか (`xrdb -override ~/.Xresources`) 又は X を再起動してください。
|
||||
|
||||
|
||||
[[customize_key_bindings]]
|
||||
=== どうすればキー割り当てをカスタマイズできますか。 ===
|
||||
|
||||
@@ -391,7 +367,6 @@ UXTerm*metaSendsEscape: true
|
||||
|
||||
デフォルトキー @k(A-)@k(k) でキーコードを取り込み、これをコマンドラインに入力できます。
|
||||
|
||||
|
||||
[[jump_to_buffer_11_or_higher]]
|
||||
=== バッファ 11 番 (又はそれ以上の番号) にジャンプするキーは何ですか。 ===
|
||||
|
||||
@@ -406,7 +381,6 @@ UXTerm*metaSendsEscape: true
|
||||
|
||||
デフォルトキー割り当てのリストはユーザーガイドを参照してください。
|
||||
|
||||
|
||||
[[global_history]]
|
||||
=== どうすればグローバルヒストリを (バッファヒストリの代わりに) 上下矢印キーで使えますか。 ===
|
||||
|
||||
@@ -424,11 +398,9 @@ UXTerm*metaSendsEscape: true
|
||||
"meta2-A" と "meta2-B" キーはターミナルによって異なります。 キーコードを
|
||||
見つけるには @k(A-)@k(k) の後にキー (上矢印又は下矢印) を押してください。
|
||||
|
||||
|
||||
[[mouse]]
|
||||
== マウス ==
|
||||
|
||||
|
||||
[[mouse_not_working]]
|
||||
=== マウスが少しも動きません。どうすれば良いですか。 ===
|
||||
|
||||
@@ -458,7 +430,6 @@ $ printf '\033[?1002h'
|
||||
$ printf '\033[?1002l'
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[mouse_coords]]
|
||||
=== マウスの位置座標 X 又は Y が 94 よりも大きい場合にマウス機能が正しく動きません。 ===
|
||||
|
||||
@@ -468,17 +439,84 @@ $ printf '\033[?1002l'
|
||||
マウスの位置座標を指定するのに UTF-8 座標をサポートしているターミナルを使ってください、
|
||||
例えば rxvt-unicode 等です。
|
||||
|
||||
|
||||
[[mouse_select_paste]]
|
||||
=== WeeChat でマウスが利用可能な場合、ターミナルのテキストを選択したり、貼り付けるにはどうすれば良いですか。 ===
|
||||
|
||||
WeeChat でマウスが利用可能な場合、@k(-S-) キーを押しながらターミナルをクリックして選択してください、
|
||||
マウスが無効化されます (例えば iTerm 等の場合、@k(-S-) の代わりに @k(-A-) を使ってください)。
|
||||
|
||||
|
||||
[[irc]]
|
||||
== IRC ==
|
||||
|
||||
[[irc_ssl_connection]]
|
||||
=== SSL を使うサーバへの接続中に問題が発生しました。どうすればいいですか。 ===
|
||||
|
||||
gnutls ハンドシェイクに関するエラーの場合、Diffie-Hellman キー
|
||||
(デフォルトは 2048) のサイズを小さくすることを試してみてください:
|
||||
|
||||
----------------------------------------
|
||||
/set irc.server.freenode.ssl_dhkey_size 1024
|
||||
----------------------------------------
|
||||
|
||||
証明書に関するエラーの場合、"ssl_verify" を無効化してください
|
||||
(接続の機密保護がより甘くなることに注意):
|
||||
|
||||
----------------------------------------
|
||||
/set irc.server.freenode.ssl_verify off
|
||||
----------------------------------------
|
||||
|
||||
[[irc_ssl_handshake_error]]
|
||||
=== SSL を使うサーバへの接続中に、"TLS handshake failed" というエラーだけが表示されます。どうすれば良いですか。 ===
|
||||
|
||||
異なる優先順位文字列を試してみてください (WeeChat 0.3.5 以上)、
|
||||
"xxx" はサーバ名に書き換えてください。
|
||||
|
||||
----------------------------------------
|
||||
/set irc.server.xxx.ssl_priorities "NORMAL:-VERS-TLS-ALL:+VERS-TLS1.0:+VERS-SSL3.0:%COMPAT"
|
||||
----------------------------------------
|
||||
|
||||
[[irc_ssl_freenode]]
|
||||
=== どうすれば SSL を使って freenode サーバに接続できますか。 ===
|
||||
|
||||
オプション 'weechat.network.gnutls_ca_file' に証明書ファイルへのパスを設定してください。
|
||||
|
||||
----------------------------------------
|
||||
/set weechat.network.gnutls_ca_file "/etc/ssl/certs/ca-certificates.crt"
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
設定したファイルが自分のシステムに存在することを確認してください
|
||||
(一般に "ca-certificates" パッケージで提供されます)。
|
||||
|
||||
サーバポート、SSL、dhkey_size を設定の後に接続してください:
|
||||
|
||||
----------------------------------------
|
||||
/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
|
||||
----------------------------------------
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[[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]]
|
||||
=== /ignore と /filter コマンドの違いは何ですか。 ===
|
||||
@@ -496,7 +534,6 @@ WeeChat でマウスが利用可能な場合、@k(-S-) キーを押しながら
|
||||
フィルタされた行は隠されているだけで、削除はされていません、
|
||||
フィルタを無効化すれば見えるようになります (デフォルトでは @k(A-)@k(=) でフィルタの有効無効の切り替えが出来ます)。
|
||||
|
||||
|
||||
[[filter_irc_join_part_quit]]
|
||||
=== どうすれば IRC チャンネルへの参加/退出/終了メッセージをフィルタできますか。 ===
|
||||
|
||||
@@ -510,13 +547,12 @@ WeeChat でマウスが利用可能な場合、@k(-S-) キーを押しながら
|
||||
グローバルフィルタを使う場合 (*全ての* 参加/退出/終了メッセージを隠す):
|
||||
|
||||
----------------------------------------
|
||||
/filter add jpk * irc_join,irc_part,irc_quit *
|
||||
/filter add joinquit * irc_join,irc_part,irc_quit *
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
ヘルプを見るには: `/help filter` か `/help irc.look.smart_filter`
|
||||
|
||||
|
||||
[[filter_irc_join_channel_messages]]
|
||||
=== どうすれば IRC チャンネルに参加した際に表示される一部のメッセージをフィルタできますか。 ===
|
||||
|
||||
@@ -540,7 +576,6 @@ IRC 生サーバ (`/server raw`) を参照することで、
|
||||
/filter add irc_join_topic_date * irc_332,irc_333 *
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[filter_voice_messages]]
|
||||
=== どうすれば voice メッセージをフィルタできますか (例えば Bitlbee サーバ上で)。 ===
|
||||
|
||||
@@ -573,7 +608,6 @@ WeeChat で離席中のニックネームをチェックするには、
|
||||
/filter add hidevoices * irc_mode (\+|\-)v
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[color_away_nicks]]
|
||||
=== どうすればニックネームリストから離席中のニックネームを確認できますか。 ===
|
||||
|
||||
@@ -595,7 +629,6 @@ WeeChat で離席中のニックネームをチェックするには、
|
||||
WeeChat 0.3.3 以下では、オプション名が 'irc.network.away_check' と
|
||||
'irc.network.away_check_max_nicks' になっています。
|
||||
|
||||
|
||||
[[highlight_notification]]
|
||||
=== どうすればあるチャンネルで自分が呼ばれたら警告できますか。 ===
|
||||
|
||||
@@ -609,69 +642,14 @@ WeeChat 0.3.3 以下では、オプション名が 'irc.network.away_check' と
|
||||
|
||||
この問題に対するその他のスクリプトは: http://www.weechat.org/scripts/stable/tag/notify/
|
||||
|
||||
|
||||
[[irc_ssl_connection]]
|
||||
=== SSL を使うサーバへの接続中に問題が発生しました。どうすればいいですか。 ===
|
||||
|
||||
gnutls ハンドシェイクに関するエラーの場合、Diffie-Hellman キー
|
||||
(デフォルトは 2048) のサイズを小さくすることを試してみてください:
|
||||
|
||||
----------------------------------------
|
||||
/set irc.server.freenode.ssl_dhkey_size 1024
|
||||
----------------------------------------
|
||||
|
||||
証明書に関するエラーの場合、"ssl_verify" を無効化してください
|
||||
(接続の機密保護がより甘くなることに注意):
|
||||
|
||||
----------------------------------------
|
||||
/set irc.server.freenode.ssl_verify off
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[irc_ssl_handshake_error]]
|
||||
=== SSL を使うサーバへの接続中に、"TLS handshake failed" というエラーだけが表示されます。どうすれば良いですか。 ===
|
||||
|
||||
異なる優先順位文字列を試してみてください (WeeChat 0.3.5 以上)、
|
||||
"xxx" はサーバ名に書き換えてください。
|
||||
|
||||
----------------------------------------
|
||||
/set irc.server.xxx.ssl_priorities "NORMAL:-VERS-TLS-ALL:+VERS-TLS1.0:+VERS-SSL3.0:%COMPAT"
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[irc_ssl_freenode]]
|
||||
=== どうすれば SSL を使って freenode サーバに接続できますか。 ===
|
||||
|
||||
オプション 'weechat.network.gnutls_ca_file' に証明書ファイルへのパスを設定してください。
|
||||
|
||||
----------------------------------------
|
||||
/set weechat.network.gnutls_ca_file "/etc/ssl/certs/ca-certificates.crt"
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
設定したファイルが自分のシステムに存在することを確認してください
|
||||
(一般に "ca-certificates" パッケージで提供されます)。
|
||||
|
||||
サーバポート、SSL、dhkey_size を設定の後に接続してください:
|
||||
|
||||
----------------------------------------
|
||||
/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]]
|
||||
=== どうすればマージされたバッファ内であるコマンドを発行するターゲットバッファを変更できますか。 ===
|
||||
|
||||
デフォルトのキーは @k(C-)@k(x) です (コマンドは: `/input switch_active_buffer`)。
|
||||
|
||||
|
||||
[[plugins_scripts]]
|
||||
== プラグイン / スクリプト ==
|
||||
|
||||
|
||||
[[openbsd_plugins]]
|
||||
=== OpenBSD と WeeChat を使っている場合、プラグインが 1 つもロードされません。 ===
|
||||
|
||||
@@ -684,7 +662,6 @@ OpenBSD では、プラグインファイル名の末尾が ".so.0.0" です (Li
|
||||
/plugin autoload
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[load_scripts]]
|
||||
=== どうすれば Perl/Python/Ruby/Lua/Tcl スクリプトをロードできますか。スクリプトは他の IRC クライアントのものと互換性がありますか。 ===
|
||||
|
||||
@@ -699,11 +676,9 @@ OpenBSD では、プラグインファイル名の末尾が ".so.0.0" です (Li
|
||||
WeeChat の起動時に自動的にロードされます。
|
||||
* 'tcl' プラグインはバージョン 0.3.0 以上で利用できます。
|
||||
|
||||
|
||||
[[settings]]
|
||||
== 設定 ==
|
||||
|
||||
|
||||
[[memory_usage]]
|
||||
=== どうすれば WeeChat のメモリ使用量を節約できますか。 ===
|
||||
|
||||
@@ -712,17 +687,18 @@ OpenBSD では、プラグインファイル名の末尾が ".so.0.0" です (Li
|
||||
* 最新の安定版を使う
|
||||
(古いバージョンよりもメモリリークの可能性が減ると思われます)
|
||||
* 使わないプラグインのロードを禁止する、例えば: aspell、fifo、
|
||||
logger、perl、python、ruby、lua、tcl、xfer (DCC で使用)
|
||||
logger、perl、python、ruby、lua、tcl、guile, xfer (DCC で使用)
|
||||
* 本当に必要なスクリプトだけをロード
|
||||
// TRANSLATION MISSING
|
||||
* do not load certificates if SSL is *NOT* used: set empty string in option
|
||||
'weechat.network.gnutls_ca_file'
|
||||
* 'weechat.history.max_buffer_lines_number' オプションの値を減らすか、
|
||||
'weechat.history.max_buffer_lines_minutes' オプションに値を設定してください。
|
||||
* 'weechat.history.max_commands' オプションの値を減らしてください。
|
||||
|
||||
|
||||
[[development]]
|
||||
== 開発 ==
|
||||
|
||||
|
||||
[[bug_task_patch]]
|
||||
=== どのようにバグ報告、新機能のリクエスト、パッチ送信すればよいですか。 ===
|
||||
|
||||
@@ -737,7 +713,6 @@ OpenBSD では、プラグインファイル名の末尾が ".so.0.0" です (Li
|
||||
http://www.weechat.org/about
|
||||
("support" メーリングリストを購読して送信することもできます)
|
||||
|
||||
|
||||
[[gdb_error_threads]]
|
||||
=== gdb で WeeChat を実行する場合、スレッドに関するエラーが発生します。 ===
|
||||
|
||||
@@ -758,7 +733,6 @@ $ LD_PRELOAD=/lib/libpthread.so.0 gdb /path/to/weechat-curses
|
||||
(gdb) run
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[supported_os]]
|
||||
=== WeeChat をサポートするプラットフォームのリストを教えてください。他のオペレーティングシステムへの移植予定はありますか。 ===
|
||||
|
||||
@@ -767,7 +741,6 @@ $ LD_PRELOAD=/lib/libpthread.so.0 gdb /path/to/weechat-curses
|
||||
我々は可能な限り多くのプラットフォームに移植することに最善を尽くしています。
|
||||
我々が持っていない OS で WeeChat をテストすることを歓迎します。
|
||||
|
||||
|
||||
[[help_developers]]
|
||||
=== どうすれば WeeChat 開発者を手伝えますか。 ===
|
||||
|
||||
@@ -776,7 +749,6 @@ $ LD_PRELOAD=/lib/libpthread.so.0 gdb /path/to/weechat-curses
|
||||
IRC かメールで連絡を取り、サポートページを確認してください:
|
||||
http://www.weechat.org/support
|
||||
|
||||
|
||||
[[donate]]
|
||||
=== WeeChat 開発者にお金か何かを贈りたいのですが。 ===
|
||||
|
||||
|
||||
@@ -84,7 +84,7 @@ IRC 等全てのネットワークプロトコルはそれぞれ異なるプラ
|
||||
例えばデフォルトでは (un*x ログイン名をベースにした)
|
||||
ニックネームが設定されますが、以下のコマンドで oftc サーバ用の設定として上書きすることが可能です:
|
||||
|
||||
/set irc.server.oftc.nicks "mynick1,mynick2,mynick3,mynick4,mynick5"
|
||||
/set irc.server.oftc.nicks "mynick,mynick2,mynick3,mynick4,mynick5"
|
||||
|
||||
ユーザ名と実名を設定する場合:
|
||||
|
||||
@@ -95,12 +95,22 @@ IRC 等全てのネットワークプロトコルはそれぞれ異なるプラ
|
||||
|
||||
/set irc.server.oftc.autoconnect on
|
||||
|
||||
サーバに接続後にコマンドを送信したい場合、例えば
|
||||
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 "mynick"
|
||||
/set irc.server.oftc.sasl_password "xxxxxxx"
|
||||
|
||||
備考: ';' (セミコロン) で繋ぐことで複数のコマンドを設定することができます
|
||||
// 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]
|
||||
';' (セミコロン) で繋ぐことで複数のコマンドを設定することができます
|
||||
|
||||
チャンネルへの自動参加を設定する場合:
|
||||
|
||||
@@ -145,7 +155,7 @@ nickserv の認証を行う場合:
|
||||
`/part [切断メッセージ]`::
|
||||
チャンネルから切断する (バッファは開いたままにする)
|
||||
|
||||
`/close [切断メッセージ]`::
|
||||
`/close`::
|
||||
チャンネルから切断し、バッファを閉じる (`/close` は `/buffer close` の別名)
|
||||
|
||||
|
||||
|
||||
@@ -88,9 +88,11 @@ weechat.register(name, author, version, license, description, shutdown_function,
|
||||
* 'version': 文字列型、スクリプトのバージョン
|
||||
* 'license': 文字列型、スクリプトのライセンス
|
||||
* 'description': 文字列型、スクリプトの短い説明
|
||||
* 'shutdown_function': 文字列型、スクリプトがアンロードされた際に呼び出される関数の名前 (任意)
|
||||
* 'charset': 文字列型、スクリプトの文字コード (任意、スクリプトが UTF-8
|
||||
で書かれている場合、UTF-8 はデフォルトの文字コードのため、空文字列が使えます。)
|
||||
// TRANSLATION MISSING
|
||||
* 'shutdown_function': 文字列型、スクリプトがアンロードされた際に呼び出される関数の名前 (can be empty string)
|
||||
// TRANSLATION MISSING
|
||||
* 'charset': 文字列型、スクリプトの文字コード (if your script is UTF-8, you can use blank
|
||||
value here, because UTF-8 is default charset)
|
||||
|
||||
各言語で書かれたスクリプトの例:
|
||||
|
||||
@@ -367,7 +369,8 @@ 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
|
||||
| シグナルのフック |
|
||||
WEECHAT_HOOK_SIGNAL_STRING, WEECHAT_HOOK_SIGNAL_INT, WEECHAT_HOOK_SIGNAL_POINTER
|
||||
|========================================
|
||||
|
||||
+289
-56
@@ -43,7 +43,6 @@ WeeChat をインストールするには、以下のものが必要です:
|
||||
* 'root' 特権 (WeeChat をシステムディレクトリにインストールする場合)
|
||||
* ncurses ライブラリ
|
||||
|
||||
|
||||
[[install]]
|
||||
== インストール方法 ==
|
||||
|
||||
@@ -91,7 +90,7 @@ WeeChat は cmake または autotools を使ってコンパイルできます (c
|
||||
| libaspell-dev | | | aspell プラグイン
|
||||
| python-dev | ≥ 2.5 ^(3)^ | | python プラグイン
|
||||
| libperl-dev | | | perl プラグイン
|
||||
| ruby1.8-dev | | | ruby プラグイン
|
||||
| ruby1.9.1-dev | ≥ 1.8 | | ruby プラグイン
|
||||
| liblua5.1-0-dev | | | lua プラグイン
|
||||
| tcl-dev | ≥ 8.5 | | tcl プラグイン
|
||||
| guile-1.8-dev | | | guile (scheme) プラグイン
|
||||
@@ -133,9 +132,16 @@ $ make install
|
||||
[[compile_with_autotools]]
|
||||
==== autotools によるコンパイル ====
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[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.
|
||||
|
||||
* システムディレクトリにインストールする場合 ('root' 特権が必要です):
|
||||
|
||||
----------------------------------------
|
||||
$ ./autogen.sh
|
||||
$ ./configure
|
||||
$ make
|
||||
% make install (as root)
|
||||
@@ -144,6 +150,7 @@ $ make
|
||||
* 任意のディレクトリにインストールする場合:
|
||||
|
||||
----------------------------------------
|
||||
$ ./autogen.sh
|
||||
$ ./configure --prefix=/path/to/directory
|
||||
$ make
|
||||
$ make install
|
||||
@@ -152,21 +159,15 @@ $ make install
|
||||
[[git_sources]]
|
||||
==== Git ソース ====
|
||||
|
||||
警告: GIT ソースを用いる方法は上級者向けです。コンパイルに失敗したり、
|
||||
警告: git ソースを用いる方法は上級者向けです。コンパイルに失敗したり、
|
||||
不安定な可能性があります。警告しましたよ!
|
||||
|
||||
GIT ソースを入手するには、以下のコマンドを使ってください:
|
||||
git ソースを入手するには、以下のコマンドを使ってください:
|
||||
|
||||
----------------------------------------
|
||||
$ git clone git://git.sv.gnu.org/weechat.git
|
||||
----------------------------------------
|
||||
|
||||
autotools (cmake ではなく) を使う場合は、以下のスクリプトを実行してください:
|
||||
|
||||
----------------------------------------
|
||||
$ ./autogen.sh
|
||||
----------------------------------------
|
||||
|
||||
その後は、ソースパッケージの説明に従ってください
|
||||
(<<source_package,ソースパッケージ>>を参照)。
|
||||
|
||||
@@ -287,7 +288,6 @@ gdb /usr/bin/weechat-curses 12345
|
||||
(gdb) bt full
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[usage]]
|
||||
== 使い方 ==
|
||||
|
||||
@@ -534,6 +534,219 @@ WeeChat を起動したターミナルの例:
|
||||
(バッファ #3)
|
||||
........................................
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[[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/tobbom. 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]]
|
||||
=== 通知レベル ===
|
||||
|
||||
@@ -861,11 +1074,23 @@ WeeChat はデフォルトマウスイベントの多くを定義しています
|
||||
| gesture-right-long | ≥ 40
|
||||
|========================================
|
||||
|
||||
// TRANSLATION MISSING
|
||||
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
|
||||
|========================================
|
||||
|
||||
イベントの表記例:
|
||||
|
||||
* `button1`
|
||||
* `ctrl-button1`
|
||||
* `button1-gesture-right`
|
||||
* `button1-event-down`
|
||||
* `button1-event-drag`
|
||||
* `alt-button2-gesture-down-long`
|
||||
* `wheelup`
|
||||
* `ctrl-alt-wheeldown`
|
||||
@@ -1127,7 +1352,6 @@ include::autogen/user/weechat_options.txt[]
|
||||
|
||||
include::autogen/user/weechat_commands.txt[]
|
||||
|
||||
|
||||
[[plugins]]
|
||||
== プラグイン ==
|
||||
|
||||
@@ -1231,6 +1455,32 @@ $ aspell config
|
||||
/set aspell.option.ignore-case "true"
|
||||
----------------------------------------
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[[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 プラグイン ===
|
||||
@@ -1644,31 +1894,40 @@ CTCP "BLABLA" 要求に対する応答を以下のように設定できます:
|
||||
以下のコードを設定値に含めることが可能です。これらのコードは
|
||||
CTCP 応答時に自動的に WeeChat によって展開されます:
|
||||
|
||||
// TRANSLATION MISSING ($versiongit + $git + $username (name))
|
||||
[width="100%",cols="^2l,4,8l",options="header"]
|
||||
|========================================
|
||||
| コード | 説明 | 値/例
|
||||
| $clientinfo | サポートしている CTCP オプションのリスト | ACTION DCC CLIENTINFO FINGER PING SOURCE TIME USERINFO VERSION
|
||||
| $version | WeeChat バージョン | 0.3.0
|
||||
| $compilation | WeeChat コンパイル日時 | Sep 13 2009
|
||||
| $osinfo | info about OS に関する情報 | Linux 2.6.31 / i686
|
||||
| $site | WeeChat ウェブサイト | http://www.weechat.org
|
||||
| $version | WeeChat バージョン | 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 コンパイル日時 | Dec 16 2012
|
||||
| $osinfo | info about OS に関する情報 | Linux 2.6.32-5-amd64 / x86_64
|
||||
| $site | WeeChat ウェブサイト | http://www.weechat.org/
|
||||
| $download | WeeChat ウェブサイトのダウンロードページ | http://www.weechat.org/download
|
||||
| $time | 現在の日時 | Sun Sep 13 15:48:31 2009
|
||||
| $username | IRC サーバのユーザネーム | nick
|
||||
| $realname | IRC サーバのリアルネーム | My name
|
||||
| $time | 現在の日時 | Sun, 16 Dec 2012 10:40:48 +0100
|
||||
| $username | IRC サーバのユーザネーム | name
|
||||
| $realname | IRC サーバのリアルネーム | John Doe
|
||||
|========================================
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[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.
|
||||
|
||||
CTCP オプションが設定されていない (デフォルトの) 場合、CTCP 応答は以下のようになります:
|
||||
|
||||
// TRANSLATION MISSING ($username (name))
|
||||
[width="100%",cols="^2,4l,8l",options="header"]
|
||||
|========================================
|
||||
| CTCP | 応答フォーマット | 例
|
||||
| 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 | 応答フォーマット | 例
|
||||
| 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 (My name)
|
||||
| VERSION | WeeChat $versiongit ($compilation) | WeeChat 0.4.0-dev (git: v0.3.9-104-g7eb5cc4) (Dec 16 2012)
|
||||
|========================================
|
||||
|
||||
[[irc_target_buffer]]
|
||||
@@ -1763,6 +2022,10 @@ weechat::
|
||||
| 433 | | ニックネームが使用されています
|
||||
| 438 | | ニックネームを変更する権限がありません
|
||||
| 671 | whois | whois (セキュアな接続)
|
||||
// TRANSLATION MISSING
|
||||
| 728 | quietlist | quiet list
|
||||
// TRANSLATION MISSING
|
||||
| 729 | quietlist | end of quiet list
|
||||
| 901 | | ログインに成功
|
||||
|========================================
|
||||
|
||||
@@ -2150,35 +2413,6 @@ include::autogen/user/xfer_options.txt[]
|
||||
|
||||
include::autogen/user/xfer_commands.txt[]
|
||||
|
||||
|
||||
[[authors]]
|
||||
== 作者 ==
|
||||
|
||||
[[developers]]
|
||||
=== 開発者 ===
|
||||
|
||||
主任開発者::
|
||||
Sébastien Helleu (FlashCode)
|
||||
|
||||
[[contributors]]
|
||||
=== 貢献者 ===
|
||||
|
||||
パッケージ化::
|
||||
Emmanuel Bouthenot (kolter)、Julien Louis (ptitlouis)、Odin
|
||||
|
||||
翻訳::
|
||||
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
|
||||
|
||||
パッチ::
|
||||
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]]
|
||||
== サポート ==
|
||||
|
||||
@@ -2190,7 +2424,6 @@ include::autogen/user/xfer_commands.txt[]
|
||||
|
||||
* IRC: サーバ 'irc.freenode.net' 、チャンネル '#weechat' (英語) と
|
||||
'#weechat-fr' (フランス語)
|
||||
* WeeChat フォーラム: http://forums.flashtux.org/
|
||||
* メーリングリスト:
|
||||
** 購読: http://mail.nongnu.org/mailman/listinfo/weechat-support
|
||||
** weechat-support@nongnu.org 宛にメールを送信
|
||||
|
||||
+76
-105
@@ -13,8 +13,6 @@ used with latest stable version of WeeChat.
|
||||
Ogólne
|
||||
------
|
||||
|
||||
|
||||
|
||||
[[weechat_name]]
|
||||
Skąd się wzieła nazwa "WeeChat"?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -25,7 +23,6 @@ Stąd kompletna nazwa to "Wee Enhanced Environment for Chat".
|
||||
"Wee" oznacza również "bardzo mały" (tak jest jeszcze inne znaczenie, ale nie
|
||||
pasuje ono do WeeChat!).
|
||||
|
||||
|
||||
[[why_choose_weechat]]
|
||||
Dlaczego wybrać WeeChat? X-Chat i Irssi są takie dobre...
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -56,12 +53,10 @@ Niektóre cechy (wersja ≥ 0.3.x):
|
||||
|
||||
Więcej informacji na stronie: http://www.weechat.org/features
|
||||
|
||||
|
||||
[[compilation_install]]
|
||||
Kompilacja / instalacja
|
||||
-----------------------
|
||||
|
||||
|
||||
[[gui]]
|
||||
Słyszałem o wielu GUI dla WeeChat. Jak mogę je skompilować/użyć?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -70,7 +65,6 @@ Obecnie dostępne jest tylko GUI Courses.
|
||||
|
||||
Pozostałe będą dostępne jako zdalne klienty (obecnie rozwijane).
|
||||
|
||||
|
||||
[[compile_git]]
|
||||
Nie mogę skompilować WeeChat po sklonowaniu repozytorium git, dlaczego?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -85,7 +79,6 @@ zależności. Ten pakiet jest budowany prawie codziennie z użyciem repozytorium
|
||||
git. Ten pakiet może odpowiadać dokładnie wersji z gita i jest mniej wygodny
|
||||
przy aktualizowaniu jak klonowanie z gita.
|
||||
|
||||
|
||||
[[lost]]
|
||||
Uruchomiłem WeeChat, ale czuję się zagubiony, co robić?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -96,12 +89,10 @@ Klawisze i komendy są wypisane w dokumentacji.
|
||||
Nowym użytkownikom zaleca się przeczytanie quickstart (szybki start)
|
||||
(zobacz stronę z dokumentacją na stronie www).
|
||||
|
||||
|
||||
[[display]]
|
||||
Wyświetlanie
|
||||
------------
|
||||
|
||||
|
||||
[[charset]]
|
||||
Nie widzę niektórych znaków diakrytycznych, co mogę zrobić?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -129,7 +120,6 @@ UTF-8 jest zalecany dla WeeChat. Jeśli korzystasz z locali ISO lub innych,
|
||||
sprawdź czy *wszystkie* twoje ustawienia (terminal, screen, ..) są ISO,
|
||||
a *nie* UTF-8.
|
||||
|
||||
|
||||
[[bars_background]]
|
||||
Paski jak tytuł i status nie są filtrowane, kolor tła zatrzymuje się po tekście, czemu?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -146,7 +136,6 @@ W zależności, gdzie uruchamiasz WeeChat, powinieneś uzyskać:
|
||||
|
||||
W razie potrzeby, popraw zmienna TERM: `export TERM="xxx"`.
|
||||
|
||||
|
||||
[[screen_weird_chars]]
|
||||
Podczas używania WeeChat pod screenem/tmuxem pojawiają mi się dziwne, losowe znaki, jak to naprawić?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -159,7 +148,6 @@ który działa dobrze (jak wiele innych wartości).
|
||||
|
||||
W razie potrzeby, popraw zmienna TERM: `export TERM="xxx"`.
|
||||
|
||||
|
||||
[[osx_display_broken]]
|
||||
Skompilowałem WeeChat pod OS X i wszędzie na ekranie widzę "(null)", co jest nie tak?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -170,7 +158,6 @@ z systemem).
|
||||
Ponadto, pod OS X, zaleca się instalowanie WeeChat za pomocą managera pakietów
|
||||
Homebrew.
|
||||
|
||||
|
||||
[[buffer_vs_window]]
|
||||
Słyszałem o "buforach" i "oknach", jaka jest między nimi różnica?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -184,7 +171,6 @@ ekranu na wiele okien.
|
||||
Każde okno wyświetla jeden bufor. Bufor może być ukryty (nie wyświetlany przez
|
||||
okno) lub wyświetlany w jednym lub więcej oknach.
|
||||
|
||||
|
||||
[[buffers_list]]
|
||||
Jak wyświetlić listę z buforami po lewej stronie?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -203,7 +189,6 @@ W celu ograniczenia rozmiaru paska:
|
||||
/set weechat.bar.buffers.position bottom
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[customize_prefix]]
|
||||
Jak mogę ograniczyć długość wyświetlanych nicków lub usunąć wyrównanie w oknie rozmowy?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -220,7 +205,6 @@ W celu ograniczenia długości nicków w oknie rozmowy:
|
||||
/set weechat.look.prefix_align none
|
||||
----------------------------------------
|
||||
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[[input_bar_size]]
|
||||
How to use command line with more than one line?
|
||||
@@ -242,7 +226,6 @@ Max size of 2:
|
||||
/set weechat.bar.input.size_max 2
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[one_input_root_bar]]
|
||||
Czy jest możliwe wyświetlanie tylko jednego paska wejściowego dla wszystkich okien (po podzieleniu)?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -265,7 +248,6 @@ użyty w żadnym z pasków:
|
||||
/bar del rootinput
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[terminal_copy_paste]]
|
||||
Jak mogę kopiować/wklejać tekst bez wklejania listy nicków?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -279,7 +261,6 @@ Innym rozwiązaniem jest przesunięcie listy nicków na górę lub dół, na prz
|
||||
/set weechat.bar.nicklist.position top
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[urls]]
|
||||
Jak mogę kliknąć na długi URL (dłuższy niż linia)?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -324,7 +305,6 @@ shortenurl.py::
|
||||
|
||||
Lista skryptów do obsługi adresów URL: http://www.weechat.org/scripts/stable/tag/url
|
||||
|
||||
|
||||
[[change_locale_without_quit]]
|
||||
Chcę zmienić język komunikatów wyświetlanych przez WeeChat, ale bez jego zamykania, czy jest to możliwe?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -340,7 +320,6 @@ oraz użyć tych komend po załadowaniu skryptu:
|
||||
Aby otrzymać polskie komunikaty dla kodowania UTF-8 w terminalu, osoby
|
||||
używające ISO, mogą wykonać: `/shell setenv LANG=pl_PL`.
|
||||
|
||||
|
||||
[[256_colors]]
|
||||
Jak mogę użyć 256 kolorów w WeeChat?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -378,7 +357,6 @@ można stworzyć alias dla koloru za pomocą komendy `/color`).
|
||||
|
||||
Więcej informacji na temat zarządzania kolorami można uzyskać w poradniku użytkownika.
|
||||
|
||||
|
||||
[[search_text]]
|
||||
Jak mogę wyszukać tekst w buforze (jak za pomocą /lastlog w irssi)?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -389,12 +367,10 @@ Poruszanie się między podświetleniami: @k(A-)@k(p)/@k(n).
|
||||
|
||||
Po więcej informacji zajrzyj do poradnika użytkownika (domyślne skróty klawiszowe).
|
||||
|
||||
|
||||
[[key_bindings]]
|
||||
Przypisania klawiszy
|
||||
--------------------
|
||||
|
||||
|
||||
[[meta_keys]]
|
||||
Niektóre skróty klawiszowe (alt + klawisz) nie działają, dlaczego?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -413,7 +389,6 @@ UXTerm*metaSendsEscape: true
|
||||
|
||||
Następnie przeładować zasoby (`xrdb -override ~/.Xresources`) lub zrestartować X.
|
||||
|
||||
|
||||
[[customize_key_bindings]]
|
||||
Jak mogę zmienić przypisania klawiszy?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -423,7 +398,6 @@ Przypisania klawiszy mozna dostosować za pomocą komendy `/key`.
|
||||
Domyślnie @k(A-)@k(k) pozwala pobrać kod klawiszy i umieścić go w wierszu
|
||||
poleceń.
|
||||
|
||||
|
||||
[[jump_to_buffer_11_or_higher]]
|
||||
Jakim skrótem można przejść do buforu 11 (lub o większym numerze)?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -439,7 +413,6 @@ Można również samemu stworzyć skrót, na przykład:
|
||||
|
||||
Lista domyślnych skrótów znajduje się w poradniku użytkownika.
|
||||
|
||||
|
||||
[[global_history]]
|
||||
Jak używać globalnej historii (zamiast historii buforu) za pomocą strzałek góra/dół?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -458,12 +431,10 @@ Przykład:
|
||||
Klawisze "meta2-A" i "meta2-B" mogą być inne dla twojego terminala. W celu
|
||||
znalezienia ich kodów wciśnij @k(A-)@k(k) następnie przycisk (góra lub dół).
|
||||
|
||||
|
||||
[[mouse]]
|
||||
Obsługa myszy
|
||||
-------------
|
||||
|
||||
|
||||
[[mouse_not_working]]
|
||||
Obsługa myszy w ogóle nie działa, co mogę zrobić?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -494,7 +465,6 @@ Aby wyłączyć wsparcie dla myszy w terminalu:
|
||||
$ printf '\033[?1002l'
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[mouse_coords]]
|
||||
Mysz nic nie robi dla X lub Y większych od 94, dlaczego?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -505,7 +475,6 @@ działa to dla X/Y większych dla 94.
|
||||
Powinieneś użyć terminala wspierającego położenia UTF-8 dla myszy, jak
|
||||
rxvt-unicode.
|
||||
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[[mouse_select_paste]]
|
||||
How can I select or paste text in terminal when mouse is enabled in WeeChat?
|
||||
@@ -515,11 +484,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]]
|
||||
Mam problemy podczas połączenia z serwerem używającym SSL, co mogę zrobić?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Jeśli widzisz błędy gnutls, możesz użyć innej wielkości klucza
|
||||
Diffie-Hellman (domyślnie 2048):
|
||||
|
||||
----------------------------------------
|
||||
/set irc.server.freenode.ssl_dhkey_size 1024
|
||||
----------------------------------------
|
||||
|
||||
Jeśli widzisz błędy związanie z certyfikatami, możesz wyłączyć opcję "ssl_verify"
|
||||
(należy jednak uważać, ponieważ połączenie będzie mniej bezpieczne):
|
||||
|
||||
----------------------------------------
|
||||
/set irc.server.freenode.ssl_verify off
|
||||
----------------------------------------
|
||||
|
||||
[[irc_ssl_handshake_error]]
|
||||
Podczas łączenia się z serwerem poprzez SSL widzę tylko błąd "TLS handshake failed", co mogę zrobić?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Możesz spróbować innego ciągu priorytetu (tylko WeeChat ≥ 0.3.5), zamień "xxx"
|
||||
nazwą serwera:
|
||||
|
||||
----------------------------------------
|
||||
/set irc.server.xxx.ssl_priorities "NORMAL:-VERS-TLS-ALL:+VERS-TLS1.0:+VERS-SSL3.0:%COMPAT"
|
||||
----------------------------------------
|
||||
|
||||
[[irc_ssl_freenode]]
|
||||
Jak mogę połączyć się z serwerem freenode używając SSL?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Ustaw opcję 'weechat.network.gnutls_ca_file' do pliku z certyfikatami:
|
||||
|
||||
----------------------------------------
|
||||
/set weechat.network.gnutls_ca_file "/etc/ssl/certs/ca-certificates.crt"
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
Należy sprawdzić czy plik znajduje się w systemie (zazwyczaj dostarczany
|
||||
przez pakiet "ca-certificates").
|
||||
|
||||
Ustaw port serwera, SSL, dhkey_size, następnie się połącz:
|
||||
----------------------------------------
|
||||
/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
|
||||
----------------------------------------
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[[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]]
|
||||
Jaka jest różnica między komendami/ignore i /filter ?
|
||||
@@ -538,7 +577,6 @@ regularnych dla przedrostków i zawartości linii.
|
||||
Filtrowane linie są tylko ukrywane, nie usuwane, można je zobaczyć wyłączając
|
||||
filtry (domyślnie @k(A-)@k(=) zmienia stan filtrów).
|
||||
|
||||
|
||||
[[filter_irc_join_part_quit]]
|
||||
Jak mogę filtrować wiadomości o wejściu/opuszczeniu/wyjściu na kanałach IRC?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -554,13 +592,12 @@ piszących niedawno):
|
||||
Za pomocą globalnego filtru (ukrywa *wszystkie* wejścia/opuszczenia/wyjścia):
|
||||
|
||||
----------------------------------------
|
||||
/filter add jpk * irc_join,irc_part,irc_quit *
|
||||
/filter add joinquit * irc_join,irc_part,irc_quit *
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
Więcej informacji: `/help filter` i `/help irc.look.smart_filter`
|
||||
|
||||
|
||||
[[filter_irc_join_channel_messages]]
|
||||
Jak mogę filtrować wyświetlane wiadomości podczas wejścia na kanał IRC?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -585,7 +622,6 @@ Przykłady:
|
||||
/filter add irc_join_topic_date * irc_332,irc_333 *
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[filter_voice_messages]]
|
||||
Jak mogę filtrować informacje o przyznaniu voice (np na serwerze Bitlbee)?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -619,7 +655,6 @@ nie jest ona jednak doskonała (działa tylko jeśli pierwszy z modyfikowanych t
|
||||
/filter add hidevoices * irc_mode (\+|\-)v
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[color_away_nicks]]
|
||||
Jak mogę zobaczyć kto jest aktualnie nieobecny ?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -642,7 +677,6 @@ osobami:
|
||||
Dla WeeChat ≤ 0.3.3, opcje te to 'irc.network.away_check' oraz
|
||||
'irc.network.away_check_max_nicks'.
|
||||
|
||||
|
||||
[[highlight_notification]]
|
||||
Jak mogę zostać powiadomiony, jeśli ktoś będzie chciał przyciągnąć moją uwagę na kanale?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -657,73 +691,16 @@ Dla 'launcher.pl', należ przeprowadzić konfigurację:
|
||||
|
||||
Inne podobne skrypty: http://www.weechat.org/scripts/stable/tag/notify/
|
||||
|
||||
|
||||
[[irc_ssl_connection]]
|
||||
Mam problemy podczas połączenia z serwerem używającym SSL, co mogę zrobić?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Jeśli widzisz błędy gnutls, możesz użyć innej wielkości klucza
|
||||
Diffie-Hellman (domyślnie 2048):
|
||||
|
||||
----------------------------------------
|
||||
/set irc.server.freenode.ssl_dhkey_size 1024
|
||||
----------------------------------------
|
||||
|
||||
Jeśli widzisz błędy związanie z certyfikatami, możesz wyłączyć opcję "ssl_verify"
|
||||
(należy jednak uważać, ponieważ połączenie będzie mniej bezpieczne):
|
||||
|
||||
----------------------------------------
|
||||
/set irc.server.freenode.ssl_verify off
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[irc_ssl_handshake_error]]
|
||||
Podczas łączenia się z serwerem poprzez SSL widzę tylko błąd "TLS handshake failed", co mogę zrobić?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Możesz spróbować innego ciągu priorytetu (tylko WeeChat ≥ 0.3.5), zamień "xxx"
|
||||
nazwą serwera:
|
||||
|
||||
----------------------------------------
|
||||
/set irc.server.xxx.ssl_priorities "NORMAL:-VERS-TLS-ALL:+VERS-TLS1.0:+VERS-SSL3.0:%COMPAT"
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[irc_ssl_freenode]]
|
||||
Jak mogę połączyć się z serwerem freenode używając SSL?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Ustaw opcję 'weechat.network.gnutls_ca_file' do pliku z certyfikatami:
|
||||
|
||||
----------------------------------------
|
||||
/set weechat.network.gnutls_ca_file "/etc/ssl/certs/ca-certificates.crt"
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
Należy sprawdzić czy plik znajduje się w systemie (zazwyczaj dostarczany
|
||||
przez pakiet "ca-certificates").
|
||||
|
||||
Ustaw port serwera, SSL, dhkey_size, następnie się połącz:
|
||||
----------------------------------------
|
||||
/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]]
|
||||
Jak mogę zmienić docelowy bufor dla komendy w połączonym buforze (jak bufor z serwerami)?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Domyślna kombinacja to @k(C-)@k(x) (komenda: `/input switch_active_buffer`).
|
||||
|
||||
|
||||
[[plugins_scripts]]
|
||||
Pluginy / skrypty
|
||||
------------------
|
||||
|
||||
|
||||
[[openbsd_plugins]]
|
||||
Używam OpenBSD, WeeChat nie ładuje żadnych pluginów, co jest nie tak?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -737,7 +714,6 @@ Musisz ustawić:
|
||||
/plugin autoload
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[load_scripts]]
|
||||
Jak załadować skrypty Perl/Python/Ruby/Lua/Tcl? Czy skrypty są kompatybilne z innymi klientami IRC?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -753,12 +729,10 @@ Uwagi:
|
||||
uruchomieniu WeeChat.
|
||||
* wtyczka 'tcl' jest dostępna dla wersji ≥ 0.3.0.
|
||||
|
||||
|
||||
[[settings]]
|
||||
Ustawienia
|
||||
----------
|
||||
|
||||
|
||||
[[memory_usage]]
|
||||
Jak mogę zmusić WeeChat do zużywania mniejszej ilości pamięci?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -768,19 +742,20 @@ W celu zmniejszenia używanej pamięci możesz zastosować się do poniższych r
|
||||
* używać najnowsze stabilnej wersji (powinna mieć mniej wycieków pamięci
|
||||
niż starsze wersje)
|
||||
* nie ładować nieużywanych pluginów, np: aspell, fifo, logger, perl, python,
|
||||
ruby, lua, tcl, xfer (używana do DCC)
|
||||
ruby, lua, tcl, guile, xfer (używana do DCC)
|
||||
* ładować tylko naprawdę używane skrypty
|
||||
// TRANSLATION MISSING
|
||||
* do not load certificates if SSL is *NOT* used: set empty string in option
|
||||
'weechat.network.gnutls_ca_file'
|
||||
// TRANSLATION MISSING
|
||||
* reduce value of option 'weechat.history.max_buffer_lines_number' or set value
|
||||
of option 'weechat.history.max_buffer_lines_minutes'
|
||||
* zmniejszyć wartość opcji 'weechat.history.max_commands'
|
||||
|
||||
|
||||
[[development]]
|
||||
Rozwój
|
||||
------
|
||||
|
||||
|
||||
[[bug_task_patch]]
|
||||
Jak zgłaszać błędy, prosić o nowe możliwości lub wysyłać patche?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -796,7 +771,6 @@ Są 3 możliwości:
|
||||
http://www.weechat.org/about
|
||||
(możesz się zapisać na listę mailingową "support" i na niej pisać)
|
||||
|
||||
|
||||
[[gdb_error_threads]]
|
||||
Kiedy uruchaiam WeeChat pod gdb dostaję komunikat o wątkach, co mogę z tym zrobić?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -818,7 +792,6 @@ $ LD_PRELOAD=/lib/libpthread.so.0 gdb /ścieżka/do/weechat-curses
|
||||
(gdb) run
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[supported_os]]
|
||||
Jaka jest lista platform wspieranych przez WeeChat? Czy będzie przeportowany na inne systemy operacyjne?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -828,7 +801,6 @@ Pełną listę można znaleźć na stronie: http://www.weechat.org/download
|
||||
Robimy co w naszej mocy, aby WeeChat działał na tylu platformach ile to tylko
|
||||
możliwe. Mile widziana jest pomoc w testowaniu dla systemów, których nie mamy.
|
||||
|
||||
|
||||
[[help_developers]]
|
||||
Chcę pomóc programistą WeeChat. Co mogę zrobić?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -838,7 +810,6 @@ Jest wiele zadań do zrobienia (testowanie, kod, dokumentacja, ...)
|
||||
Skontaktuj się z nami na IRC lub mailowo, szczegóły:
|
||||
http://www.weechat.org/support
|
||||
|
||||
|
||||
[[donate]]
|
||||
Czy mogę dać pieniądze albo inne rzeczy deweloperom WeeChat?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
@@ -90,7 +90,7 @@ Dla każdej opcji serwera WeeChat używa jej wartości jeśli jest zdefiniowana
|
||||
Na przykład znajdują się tam domyślne nicki (bazujące na Twoim loginie un*x),
|
||||
możesz je zmienić dla serwera oftc następującą komendą:
|
||||
|
||||
/set irc.server.oftc.nicks "mójnick1,mójnick2,mójnick3,mójnick4,mójnick5"
|
||||
/set irc.server.oftc.nicks "mójnick,mójnick2,mójnick3,mójnick4,mójnick5"
|
||||
|
||||
Ustawienie nazwy użytkownika i imienia:
|
||||
|
||||
@@ -101,12 +101,22 @@ Aby włączyć automatyczne łączenie się z serwerem przy starcie:
|
||||
|
||||
/set irc.server.oftc.autoconnect on
|
||||
|
||||
Aby wykonać komendę po połączeniu z serwerem, na przykład zidentyfikować się
|
||||
w 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 "mójnick"
|
||||
/set irc.server.oftc.sasl_password "xxxxxxx"
|
||||
|
||||
Przypis: wiele komend może być oddzielonych ';' (średnik)
|
||||
// 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]
|
||||
Wiele komend może być oddzielonych ';' (średnik).
|
||||
|
||||
Aby automatycznie wejść na kanały po połączeniu z serwerem:
|
||||
|
||||
@@ -153,7 +163,7 @@ Wchodzenie/wychodzenie z kanałów IRC
|
||||
`/part [wiadomość pożegnalna]`::
|
||||
wyjście z kanału (zostawiając otwarty bufor)
|
||||
|
||||
`/close [wiadomość pożegnalna]`::
|
||||
`/close`::
|
||||
zamknięcie bufora serwera lub kanału (`/close` jest aliasem `/buffer close`)
|
||||
|
||||
|
||||
|
||||
@@ -99,9 +99,10 @@ Argumenty:
|
||||
* 'wersja': string, wersja
|
||||
* 'licencja': string, licencja
|
||||
* 'opis': string, krótki opis skryptu
|
||||
// TRANSLATION MISSING
|
||||
* 'funkcja_wyłączająca': string, nazwa funkcji wywoływanej podczas wyładowania skryptu
|
||||
(opcjonalne)
|
||||
* 'kodowanie': string, kodowane skryptu (opcjonalne, jeśli skrypt jest napisany
|
||||
(can be empty string)
|
||||
* 'kodowanie': string, kodowane skryptu (jeśli skrypt jest napisany
|
||||
w UTF-8 można nie podawać tej wartości - UTF-8 to domyślne kodowanie)
|
||||
|
||||
Przykład dla skryptu w każdym z języków:
|
||||
@@ -384,7 +385,8 @@ Lista stałych w API skryptów:
|
||||
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
|
||||
|========================================
|
||||
|
||||
@@ -89,7 +89,7 @@ WeeChat использует стандартные значения для вс
|
||||
На пример: есть ники по умолчанию (базируются на логине un*x системы), и
|
||||
вы можете переназначить их для сервера oftc используя команду:
|
||||
|
||||
/set irc.server.oftc.nicks "mynick1,mynick2,mynick3,mynick4,mynick5"
|
||||
/set irc.server.oftc.nicks "mynick,mynick2,mynick3,mynick4,mynick5"
|
||||
|
||||
Что бы установить имя, и реальное Имя:
|
||||
|
||||
@@ -100,12 +100,22 @@ WeeChat использует стандартные значения для вс
|
||||
|
||||
/set irc.server.oftc.autoconnect on
|
||||
|
||||
Для выполнения команды после подключения, на пример для идентификации
|
||||
с помошью 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 "mynick"
|
||||
/set irc.server.oftc.sasl_password "xxxxxxx"
|
||||
|
||||
На заметку: команды могут быть разделены используя ';' (двоеточия)
|
||||
// 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]
|
||||
команды могут быть разделены используя ';' (двоеточия).
|
||||
|
||||
Для автовхода на каналы при подключении используйте:
|
||||
|
||||
@@ -152,7 +162,7 @@ WeeChat использует стандартные значения для вс
|
||||
`/part [quit message]`::
|
||||
разделить канал(оставить буфер открытым)
|
||||
|
||||
`/close [quit message]`::
|
||||
`/close`::
|
||||
закрыть буфер сервера, или канала (`/close` это алиас `/buffer close`)
|
||||
|
||||
|
||||
|
||||
Executable
+74
@@ -0,0 +1,74 @@
|
||||
#!/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/>.
|
||||
#
|
||||
|
||||
#
|
||||
# Updates git version in config-git.h if the output of "git describe" has changed.
|
||||
#
|
||||
# Syntax:
|
||||
# git-version.sh <rootdir> <version> <headerfile>
|
||||
#
|
||||
# rootdir : root directory with WeeChat files (to search .git/ directory)
|
||||
# version : WeeChat version, for example 0.3.9 or 0.4.0-dev
|
||||
# headerfile: file to update, for example config-git.h
|
||||
#
|
||||
|
||||
if [ $# -lt 3 ]; then
|
||||
echo "Syntax: $0 <rootdir> <version> <headerfile>"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
ROOTDIR=$1
|
||||
VERSION=$2
|
||||
HEADERFILE=$3
|
||||
|
||||
# debug:
|
||||
#echo "pwd=$PWD, rootdir=$ROOTDIR, version=$VERSION, headerfile=$HEADERFILE"
|
||||
|
||||
# read git version if we are in a devel/rc version and if we are in a repository
|
||||
GIT_VERSION=""
|
||||
case ${VERSION} in
|
||||
*-*)
|
||||
# devel/rc version (like 0.4.0-dev or 0.4.0-rc1)
|
||||
if [ -d "${ROOTDIR}/.git" ]; then
|
||||
GIT_VERSION=$(cd ${ROOTDIR} && git describe 2>/dev/null)
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
# stable version => no git version
|
||||
;;
|
||||
esac
|
||||
|
||||
# check if git version has changed
|
||||
if [ ! -f ${HEADERFILE} ]; then
|
||||
# header does not exist => create it
|
||||
echo "Creating file ${HEADERFILE} with git version: \"${GIT_VERSION}\""
|
||||
echo "#define PACKAGE_VERSION_GIT \"${GIT_VERSION}\"" >${HEADERFILE}
|
||||
else
|
||||
grep -q "#define PACKAGE_VERSION_GIT \"${GIT_VERSION}\"" ${HEADERFILE}
|
||||
if [ $? -eq 0 ]; then
|
||||
# git version matches the file => NO update
|
||||
echo "File ${HEADERFILE} is up-to-date (git version: \"${GIT_VERSION}\")"
|
||||
else
|
||||
# git version not found in file => update file with this git version
|
||||
echo "Updating file ${HEADERFILE} with git version: \"${GIT_VERSION}\""
|
||||
sed "s/#define PACKAGE_VERSION_GIT \".*\"/#define PACKAGE_VERSION_GIT \"${GIT_VERSION}\"/" ${HEADERFILE} >${HEADERFILE}.tmp
|
||||
mv -f ${HEADERFILE}.tmp ${HEADERFILE}
|
||||
fi
|
||||
fi
|
||||
@@ -18,35 +18,29 @@
|
||||
# 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')
|
||||
#
|
||||
# Build tarballs (.tar.gz and .tar.bz2) for WeeChat using git-archive.
|
||||
#
|
||||
# Syntax:
|
||||
# makedist.sh <version> <tree-ish>
|
||||
#
|
||||
# version : WeeChat version, for example 0.3.9 or 0.4.0-dev
|
||||
# tree-ish: git tree-ish (optional, defaults to HEAD), example: v0.3.9
|
||||
#
|
||||
|
||||
EXCLUDE="@DIST_EXCLUDE@"
|
||||
EXPORT_DIR="${PROJECT}-${VERSION}"
|
||||
|
||||
if [ -z $CVSROOT ]; then
|
||||
echo "The CVSROOT variable must be set"
|
||||
if [ $# -eq 0 ]; then
|
||||
echo "Syntax: $0 <version> <tree-ish>"
|
||||
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
|
||||
VERSION=$1
|
||||
TREEISH=${2:-HEAD}
|
||||
|
||||
echo "Removing not needed stuff"
|
||||
for i in $EXCLUDE ; do
|
||||
echo " $i"
|
||||
rm -rf $EXPORT_DIR/$i
|
||||
done
|
||||
PREFIX="weechat-${VERSION}/"
|
||||
FILE="weechat-${VERSION}.tar"
|
||||
|
||||
echo "Generating archive"
|
||||
tar cjf ${BUILDDIR}/${PROJECT}-${VERSION}.tar.bz2 ${EXPORT_DIR}
|
||||
echo "Building file ${FILE}.bz2"
|
||||
git archive --prefix=${PREFIX} ${TREEISH} | bzip2 -c >${FILE}.bz2
|
||||
|
||||
echo "Cleaning up"
|
||||
rm -rf ${EXPORT_DIR}
|
||||
echo "Building file ${FILE}.gz"
|
||||
git archive --prefix=${PREFIX} ${TREEISH} | gzip -c >${FILE}.gz
|
||||
@@ -12,6 +12,8 @@
|
||||
./src/core/wee-config.h
|
||||
./src/core/wee-debug.c
|
||||
./src/core/wee-debug.h
|
||||
./src/core/wee-eval.c
|
||||
./src/core/wee-eval.h
|
||||
./src/core/wee-hook.c
|
||||
./src/core/wee-hook.h
|
||||
./src/core/wee-infolist.c
|
||||
@@ -38,6 +40,8 @@
|
||||
./src/core/wee-utf8.h
|
||||
./src/core/wee-util.c
|
||||
./src/core/wee-util.h
|
||||
./src/core/wee-version.c
|
||||
./src/core/wee-version.h
|
||||
./src/gui/curses/gui-curses-bar-window.c
|
||||
./src/gui/curses/gui-curses-chat.c
|
||||
./src/gui/curses/gui-curses-color.c
|
||||
@@ -101,6 +105,8 @@
|
||||
./src/plugins/alias/alias-info.h
|
||||
./src/plugins/aspell/weechat-aspell.c
|
||||
./src/plugins/aspell/weechat-aspell.h
|
||||
./src/plugins/aspell/weechat-aspell-bar-item.c
|
||||
./src/plugins/aspell/weechat-aspell-bar-item.h
|
||||
./src/plugins/aspell/weechat-aspell-config.c
|
||||
./src/plugins/aspell/weechat-aspell-config.h
|
||||
./src/plugins/aspell/weechat-aspell-speller.c
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user