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

Compare commits

...

199 Commits

Author SHA1 Message Date
Sebastien Helleu 762c96d85a Version 0.4.0 2013-01-20 09:21:06 +01:00
Elián Hanisch 2087a19bbe core: update spanish translations 2013-01-20 08:45:39 +01:00
Ryuunosuke Ayanokouzi 7cdabf79be core: update japanese translations 2013-01-19 20:03:50 +01:00
Krzysztof Koroscik 1364fe8a0e core: update polish translations 2013-01-19 19:55:05 +01:00
Sebastien Helleu a9c4534e3c core: update translations 2013-01-19 11:08:03 +01:00
Sebastien Helleu 9ebea835dd core: add rule to clean file config-git.h
The "make distcheck" was failing because the file config-git.h was left in build
directory after distclean.
2013-01-19 10:50:12 +01:00
Sebastien Helleu 0ad8866d6b core: fix infinite loop when a regex gives an empty match (bug #38112) 2013-01-18 09:03:57 +01:00
Sebastien Helleu df2867ac27 core: add git version in backtrace and log file 2013-01-17 20:25:00 +01:00
Sebastien Helleu 68bbe7ca0a core: update ChangeLog 2013-01-17 10:07:21 +01:00
Sebastien Helleu 280e9bd0b1 core: fix detection of guile in configure 2013-01-16 22:25:11 +01:00
Sebastien Helleu 8e587f7093 core: fix typo in comment 2013-01-14 16:26:56 +01:00
Sebastien Helleu 08d27eb81c Version 0.4.0-rc3 2013-01-14 12:21:19 +01:00
Sebastien Helleu e0deceb366 core: fix click in item "buffer_nicklist" when nicklist is a root bar (bug #38080)
Argument "*" is now silently ignored in command /window.

When item "buffer_nicklist" is in a root bar, we use current window/buffer to
find which nick has been clicked (same behaviour as callback used to display bar
item "buffer_nicklist").
2013-01-14 12:16:25 +01:00
Sebastien Helleu f14f34e9af core: fix display bugs with non-printable chars like tabs (part of messages not displayed) (bug #38076)
This bug was introduced by commit 70ce7fe3b6.
2013-01-14 11:35:52 +01:00
Sebastien Helleu d39bb4d6ab core: update version in gettext files 2013-01-12 20:24:09 +01:00
Nils Görs f1540115d0 core: update german translations 2013-01-12 20:21:56 +01:00
Krzysztof Koroscik 1af6148067 doc: update polish FAQ, quickstart and scripting guide 2013-01-12 19:56:19 +01:00
Sebastien Helleu 6fdee3aa9f core: fix crash in display of chat area when the ncurses chat window is not initialized
This can happen when a window becomes too small for display: then we set the
ncurses chat window to NULL.
So when displaying buffer, we'll skip it if the ncurses chat window is NULL.

Steps to reproduce crash:
  1. /window splith
  2. /window resize -1 (many times, until chat area is less than one line)
  3. /window balance
2013-01-12 19:40:04 +01:00
Sebastien Helleu 4123263b8c guile: fix bad conversion of shared strings (replace calls to scm_i_string_chars by scm_to_locale_string) (bug #38067) 2013-01-12 19:27:00 +01:00
Sebastien Helleu 1b56e084dc core: fix typo in comment 2013-01-12 09:35:21 +01:00
Sebastien Helleu 1e20dd16e5 core: fix line returned when clicking on a bar (according to position and filling) (bug #38069) 2013-01-12 09:31:57 +01:00
Sebastien Helleu a6bc15e69d aspell: fix spellers used when switching buffer
The bug happened when two buffers have different number of dictionaries and start
with same dictionaries. For example buffer #1 with [en,fr] and buffer #2 with [en].
When switching from buffer #1 to buffer #2, aspell does not use only [en], but [en,fr].
2013-01-11 17:25:53 +01:00
Sebastien Helleu db62b272b5 Revert "aspell: store dictionaries in buffer local variable "aspell_dict""
This reverts commit 8b61a55764.

The local variable in buffers introduced new display bugs and would need
some extra code and optimizations to fix.
This will be reintroduced after the release of version 0.4.0.
2013-01-11 16:07:45 +01:00
Sebastien Helleu 57024ab1e4 relay: fix duplicated messages sent to irc clients (when messages are redirected) (bug #37870) 2013-01-11 10:30:44 +01:00
Sebastien Helleu ca205ccb8c relay: fix typo in comment 2013-01-11 10:28:28 +01:00
Sebastien Helleu f1580f5276 relay: add debug message for signal "irc_disconnected" 2013-01-11 10:27:26 +01:00
Sebastien Helleu 3c782bd905 relay: fix name of signal in debug message (replace "irc_out" by "irc_outtags") 2013-01-11 09:28:58 +01:00
Sebastien Helleu 8b61a55764 aspell: store dictionaries in buffer local variable "aspell_dict" 2013-01-10 23:30:14 +01:00
Sebastien Helleu 53c6b62ae3 core: fix some copyright dates 2013-01-10 23:14:33 +01:00
Sebastien Helleu d5a5af88ca core: replace "behaviour" by "behavior" 2013-01-10 19:20:07 +01:00
Sebastien Helleu 87df83a1fb doc: fix buffer argument for function "command": NULL value means current buffer, not core buffer (bug #38057) 2013-01-10 19:13:19 +01:00
Sebastien Helleu aaa0cf1954 core: add bug #31572 (fixed) in ChangeLog 2013-01-10 15:12:02 +01:00
Sebastien Helleu 6d636b6118 Revert "perl: simplify code to load scripts"
This reverts commit 793a3cb1ba.

This commit was causing crash on Linux when loading scripts like buffers.pl.
2013-01-10 09:32:19 +01:00
Nei 793a3cb1ba perl: simplify code to load scripts 2013-01-09 18:15:51 +01:00
Nei 224a0f0afa perl: display script filename in error messages 2013-01-08 22:09:03 +01:00
Nei 2ca30ed7a9 perl: fix calls to callbacks during load of script when multiplicity is disabled (bug #38044) 2013-01-08 22:02:30 +01:00
Sebastien Helleu 7d1ad59dde relay: add message when address family is not supported by protocol (on socket creation) 2013-01-08 08:14:07 +01:00
Sebastien Helleu 1a646d5dbf relay: add error number and string when socket creation fails 2013-01-07 21:34:05 +01:00
Sebastien Helleu c34ae99b9a doc: fix typos 2013-01-07 10:31:32 +01:00
Sebastien Helleu 125068f101 doc: replace iteritems() by items() in scripting guide (compatibility with Python 3.x) 2013-01-07 10:00:02 +01:00
Sebastien Helleu ae618bcf6a doc: remove comment for autogen.sh in tester's guide (command required even for tarball) 2013-01-07 09:50:29 +01:00
Sebastien Helleu cd37f12059 core: fix memory leak in evaluation of expression when a logical operator ("&&" or "||") is found 2013-01-07 08:24:40 +01:00
Sebastien Helleu bd21daebd1 api: allow return code WEECHAT_RC_OK_EAT in callbacks of hook_signal and hook_hsignal (stop sending the signal immediately) 2013-01-06 19:38:38 +01:00
Sebastien Helleu faccb87a10 irc: fix display of actions (/me) when they are received from a relay client (in channel and private buffers) (bug #38027) 2013-01-06 12:25:34 +01:00
Sebastien Helleu 323801f869 core: add cmake option ENABLE_PYTHON3 and configure option --enable-python3
With this option, the python plugin will be built and linked with Python 3
(if found, or Python 2 as fallback).

This option it not (yet) recommended, because many scripts are working only
with Python 2.x. It should be used only to tests scripts with Python 3.x
in WeeChat.
2013-01-05 20:46:22 +01:00
Sebastien Helleu 680486b1d3 Version 0.4.0-rc2 2013-01-05 11:33:22 +01:00
Sebastien Helleu a421d330bf core: fix refresh of bars when applying layout (bug #37944, bug #37952) 2013-01-05 11:00:30 +01:00
Sebastien Helleu cd944052ef doc: update signals arguments in plugin API reference 2013-01-04 23:26:27 +01:00
Sebastien Helleu a543404428 core: add buffer pointer in arguments for signals "input_search", "input_text_changed" and "input_text_cursor_moved" 2013-01-04 23:22:27 +01:00
Sebastien Helleu fec8a1d122 aspell: ignore self and remote nicks in private buffers 2013-01-04 18:41:27 +01:00
Simon Kuhnle 1c17274178 core: fix compilation on OpenBSD (bug #38022)
File "sys/uio.h" needs to be included explicitly for use of "struct iovec" on OpenBSD.

Signed-off-by: Simon Kuhnle <simon@blarzwurst.de>
2013-01-04 17:52:35 +01:00
Sebastien Helleu da56eb6978 core: fix help of option weechat.color.separator 2013-01-04 17:46:13 +01:00
Sebastien Helleu e21de5ce96 doc: add note about double tab in function weechat_printf, to display message without time/alignment (plugin API reference) 2013-01-03 09:58:38 +01:00
Sebastien Helleu 27195e22d6 doc: use github repository for script msgcheck.py in developer's guide 2013-01-02 22:49:35 +01:00
Ryuunosuke Ayanokouzi 94ba7e07ce doc: update japanese docs 2013-01-02 15:34:00 +01:00
Ryuunosuke Ayanokouzi bf610aa603 doc: update japanese translations and docs 2013-01-01 20:57:54 +01:00
Sebastien Helleu 72f760cd48 aspell: fix compilation warning 2013-01-01 17:28:42 +01:00
Sebastien Helleu 3df1d70bb5 aspell: add signal "aspell_suggest" (sent when new suggestions are displayed) 2013-01-01 17:26:50 +01:00
Sebastien Helleu 4ebd300340 relay: send UTC time in irc backlog (when server capability "server-time" is enabled) 2013-01-01 15:13:05 +01:00
Nils Görs e2bf63cca1 doc: update german translations, FAQ, scripting and user guide 2013-01-01 13:44:23 +01:00
Sebastien Helleu 77afab57ed core: fix scroll to bottom of window (default key: alt+end) when line displayed is bigger than chat area 2013-01-01 13:29:29 +01:00
Sebastien Helleu 632e2c1eae core: fix scroll in buffer after enabling/disabling some filters (if scroll is on a hidden line) (bug #37885) 2013-01-01 13:24:19 +01:00
Sebastien Helleu f97598b4aa core: update copyright dates 2013-01-01 13:12:49 +01:00
Sebastien Helleu 01a1316816 Version 0.4.0-rc1 2012-12-26 16:41:55 +01:00
Sebastien Helleu dd6e5282e8 xfer: fix memory leak when refreshing xfer buffer 2012-12-25 17:02:11 +01:00
Sebastien Helleu 302b0f2f65 script: add missing close of file in case of error when computing MD5 checksum of a file 2012-12-25 17:00:58 +01:00
Sebastien Helleu 306b209421 relay: fix memory leak when adding hdata to a message (weechat protocol) 2012-12-25 16:59:46 +01:00
Sebastien Helleu e557239a4c irc: remove unneeded check of nick pointer (can not be NULL there) 2012-12-25 16:58:58 +01:00
Sebastien Helleu 45d5034ea0 irc: fix memory leak when updating modes of channel 2012-12-25 16:58:18 +01:00
Sebastien Helleu 9a024f3aba core: fix memory leak in case of error when building content of bar item for display 2012-12-25 16:57:14 +01:00
Nils Görs 67a111f7f2 core: fix detection of command in input: a single command char is considered as a command (API function "string_input_for_bufer") 2012-12-25 10:54:51 +01:00
Sebastien Helleu cf76379aa9 relay: add backlog, options and server capability "server-time" for irc protocol (task #12076)
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
2012-12-24 17:31:33 +01:00
Sebastien Helleu 2e48874ce0 irc: add tags "irc_nick1_xxx" and "irc_nick2_yyy" in message displayed for command "NICK" 2012-12-24 16:23:01 +01:00
Sebastien Helleu 2597bafe36 irc: fix crash when splitting a message with tags 2012-12-24 15:40:50 +01:00
Sebastien Helleu 33f01dcb63 relay: fix crash after /upgrade when a client is connected 2012-12-23 10:51:54 +01:00
Nils Görs 0c15deefc0 relay: add tag "relay_client" in all messages about client 2012-12-21 22:34:12 +01:00
Sebastien Helleu c08cacd3c0 script: do not open script buffer when unknown arguments are given to command /script 2012-12-21 21:59:05 +01:00
Sebastien Helleu 992ed5b75c alias: improve completion of command /alias 2012-12-20 19:31:12 +01:00
Sebastien Helleu 135c740f73 core: improve completion of commands /help, /mute and /set 2012-12-20 19:30:57 +01:00
Sebastien Helleu 85eb3424cd core: add template %(windows_numbers) for first argument of command /window 2012-12-20 19:29:11 +01:00
Sebastien Helleu 9b10edb6c5 core: group templates of command /mouse into a single template 2012-12-20 19:27:23 +01:00
Sebastien Helleu fa1665ef81 core: search for a fallback template when a no template is matching command arguments 2012-12-20 19:23:52 +01:00
Peter Boström a67d97f16e core: add option "diff" for command /set (list options with changed value) 2012-12-20 18:18:33 +01:00
Sebastien Helleu 0e726b43ef core: fix another bug with horizontal separator displayed at bottom after split of windows (bug #37874) 2012-12-20 16:26:41 +01:00
Sebastien Helleu dd96e6daef core: fix refresh of windows after split (fix bug with horizontal separator between windows) (bug #37874) 2012-12-19 12:19:21 +01:00
Sebastien Helleu 1b0ce4bf8b core: add missing contributors in AUTHORS 2012-12-19 11:01:29 +01:00
Sebastien Helleu 2386c10917 core: add cmake dependency between targets weechat_core and version_git 2012-12-19 10:25:12 +01:00
Sebastien Helleu 0f749dc65d core: fix compilation warning on FreeBSD 2012-12-19 09:37:26 +01:00
Sebastien Helleu 3fcb00bfc5 core: fix stuck mouse (patch from Nei) (bug #36533) 2012-12-19 09:10:16 +01:00
Sebastien Helleu e667b606a9 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) 2012-12-19 09:02:14 +01:00
Sebastien Helleu 0faf58a287 core: fix default mouse buttons actions for script buffer (focus the window before executing action) 2012-12-19 09:00:59 +01:00
Sebastien Helleu 491e31ff55 xfer: add missing tags in DCC chat messages: nick_xxx, prefix_nick_ccc, logN 2012-12-17 23:30:37 +01:00
Sebastien Helleu d37184e450 irc: return git version in CTCP VERSION and FINGER by default, add "$git" and "$versiongit" in format of CTCP replies 2012-12-16 23:11:02 +01:00
Sebastien Helleu 2b78673aa9 core: add git version in build, display it in "weechat-curses --help" and /version 2012-12-16 23:07:33 +01:00
Sebastien Helleu fc0b73207b core: remove unneeded arguments for AM_INIT_AUTOMAKE in configure.in 2012-12-16 23:02:32 +01:00
Sebastien Helleu 7eb5cc4b97 core: move comments with description of C file to top of files 2012-12-15 12:27:57 +01:00
Sebastien Helleu a64dad2597 core: simplify syntax for second argument 2012-12-14 20:44:45 +01:00
Sebastien Helleu b2169e9175 doc: add warning for autotools in user's guide 2012-12-14 20:20:09 +01:00
Sebastien Helleu fd85d310cd core: add dependencies and remove instructions for autotools in INSTALL 2012-12-14 20:19:38 +01:00
Sebastien Helleu 857fb35dcb core: fix cmake target "dist": build tarballs using git-archive and not cvs 2012-12-14 19:01:07 +01:00
Sebastien Helleu 70ad2795ea core: remove obsolete directories from .gitignore 2012-12-14 18:36:38 +01:00
Sebastien Helleu ce657fd7b6 core: remove obsolete file UPGRADE_0.3 (move part of content into file NEWS, for version 0.3.0) 2012-12-14 18:30:43 +01:00
Sebastien Helleu 7d34812f1c core: reformat comments for functions 2012-12-13 18:51:44 +01:00
Sebastien Helleu 9db5682186 core: fix compilation warning 2012-12-09 00:47:07 +01:00
Sebastien Helleu 641de51bdb api: allow creation of structure with hdata_update (allowed for hdata "history") 2012-12-08 23:54:07 +01:00
Sebastien Helleu 3f2155e548 doc: remove chapter "Authors" in user's guide (list is in file AUTHORS), remove link to forum (closed) 2012-12-07 17:11:03 +01:00
Sebastien Helleu 5f4fc11213 core: update list of contributors in AUTHORS 2012-12-07 17:10:23 +01:00
Sebastien Helleu f7c47a8644 core: fix scroll of one page down when weechat.look.scroll_page_percent is less than 100 (bug #37875) 2012-12-07 13:45:41 +01:00
Sebastien Helleu eabf103e71 core: expand char '~' with user home in first argument of hook_process 2012-12-06 13:52:13 +01:00
Sebastien Helleu 822ae76543 core: fix crash in child process of hook_process_hashtable when arguments are given in hashtable and that execvp() failed 2012-12-06 13:43:31 +01:00
Nils Görs d224594194 irc: read local variable "autorejoin" in buffer to override server option "autorejoin" (task #12256) 2012-12-05 19:39:50 +01:00
Sebastien Helleu d544a47e2c doc: update IRC commands in user's guide 2012-12-05 19:38:37 +01:00
Nils Görs 03cbb1c8f6 core: disable paste detection and confirmation if bar item "input_paste" is not used in a visible bar (task #12327) 2012-12-05 19:04:07 +01:00
Nils Görs dd99a1cf2c irc: add option "-auto" for command /connect (task #9340) 2012-12-05 18:32:30 +01:00
Sebastien Helleu 2ce90d4094 core: add option "irc.look.display_pv_away_once" in release notes for version 0.3.3 2012-12-05 16:12:13 +01:00
Sebastien Helleu 76647fc171 doc: fix style for prefixes in function weechat_prefix (plugin API reference) 2012-12-04 08:51:28 +01:00
Sebastien Helleu f411a59a7d core: use high priority (50000) for commands /command and /input so that an alias will not take precedence over these commands (bug #36353) 2012-12-02 13:15:31 +01:00
Sebastien Helleu 1fa23e6d9c alias: give higher priority to aliases (2000) so that they take precedence over an existing command 2012-12-02 13:13:24 +01:00
Sebastien Helleu c89124aadc core: execute command with higher priority when many commands with same name are found with different priorities 2012-12-02 13:12:07 +01:00
Nils Görs 2ae8d81b1f core: add color support in options weechat.look.prefix_{action|error|join|network|quit} (task #9555) 2012-12-01 16:03:20 +01:00
Sebastien Helleu 638b2e3f1c core: fix typo in comment 2012-12-01 12:34:22 +01:00
Sebastien Helleu 72959d1d8b core: fix display of combining chars (patch from Nei) (bug #37775) 2012-11-30 18:16:49 +01:00
Sebastien Helleu b7abb77b4d doc: add option "weechat.network.gnutls_ca_file" in FAQ to reduce memory used 2012-11-30 18:12:52 +01:00
Sebastien Helleu 37a3001dc7 xfer: display remote IP address for DCC chat/file (task #12289) (patch from Nils Görs) 2012-11-27 22:45:22 +01:00
Sebastien Helleu 9c3ee3c407 xfer: limit bytes received to file size (for DCC file received), fix crash when displaying a xfer file with pos greater than size 2012-11-27 19:23:59 +01:00
Nils Görs 52519e11d2 doc: update FAQ and quickstart guide 2012-11-27 15:16:37 +01:00
Sebastien Helleu ab1d5404d4 core: do not display default value for options plugins.* in output of /set 2012-11-27 13:44:41 +01:00
Sebastien Helleu 8df76563fd alias: fix default value of alias options (in "cmd" and "completion" sections): defaults to initial command, instead of empty string 2012-11-27 12:32:00 +01:00
Peter Boström 1585593bda core: display default values for changed config options in output of /set 2012-11-27 12:30:57 +01:00
Sebastien Helleu dbff3de7e5 core: add missing cmake files in packages built by autotools (CMakeParseArguments.cmake, FindPackageHandleStandardArgs.cmake, FindZLIB.cmake) 2012-11-27 10:58:45 +01:00
Sebastien Helleu 3856d527b7 doc: add SASL authentication in FAQ 2012-11-27 10:51:19 +01:00
Sebastien Helleu cdb13120ab doc: add SASL authentication in quickstart guide 2012-11-27 10:00:20 +01:00
Sebastien Helleu 215109e1a5 irc: fix compilation on FreeBSD: replace call to tzset by gmtime/localtime 2012-11-25 11:01:20 +01:00
Sebastien Helleu 46a3d95aab irc: read timestamp or ISO 8601 date format in tag "time" (capability "server-time") 2012-11-24 09:43:50 +01:00
Sebastien Helleu 53b8cdfef3 irc: add support of tags in messages, add support of "server-time" capability (task #12255)
For a server called "znc" in WeeChat, following command will enable the
"server-time" capability:

/set irc.server.znc.capabilities "znc.in/server-time"
2012-11-23 21:31:22 +01:00
Sebastien Helleu 777f977ea5 core: remove obsolete externs gui_color_init_pair and gui_color_init_pairs 2012-11-23 07:40:27 +01:00
Sebastien Helleu 1281b18688 api: use hashtable "options" for command arguments in function hook_process_hashtable (optional, default is a split of string with command) 2012-11-22 19:55:38 +01:00
Sebastien Helleu 425256b38d doc: fix typo in quickstart (part message is not allowed in /close or /buffer close) 2012-11-22 18:20:58 +01:00
Sebastien Helleu 57293ffc96 core: add version 0.3.9.2 in ChangeLog and NEWS 2012-11-18 12:04:33 +01:00
Sebastien Helleu efb795c74f core: do not call shell to execute command in hook_process (fix security problem when a plugin/script gives untrusted command) (bug #37764) 2012-11-18 10:38:30 +01:00
Sebastien Helleu c1389f8fe1 aspell: refresh bar item "aspell_suggest" when aspell is enabled/disabled (bug #37744) 2012-11-16 13:28:24 +01:00
Sebastien Helleu adec2dec0e core: sync debian files with debian git repository 2012-11-16 07:54:59 +01:00
Sebastien Helleu f1d6f2c40a irc: fix crash on /upgrade (free channels before server data when a server is destroyed) (bug #37736) 2012-11-14 20:18:10 +01:00
Sebastien Helleu bb09670757 irc: add comments in function irc_color_decode 2012-11-14 20:16:12 +01:00
Nils Görs 5328fdcc73 doc: update german user's guide 2012-11-10 19:30:10 +01:00
Sebastien Helleu 7cd376b4b3 core: add version 0.3.9.1 in ChangeLog and NEWS 2012-11-09 20:33:22 +01:00
Sebastien Helleu 9453e81baa irc: fix crash when decoding IRC colors in strings (bug #37704) 2012-11-09 18:10:42 +01:00
Sebastien Helleu e8ab9ba18d core: stop cmake if gcrypt lib is not found (bug #37671) 2012-11-06 15:01:56 +01:00
Sebastien Helleu a176d352e3 doc: remove "optional" for arguments of function register (scripting guide) 2012-11-05 22:04:49 +01:00
Nils Görs bae9215e9e irc: fix refresh of bar item "away" after command /away or /disconnect 2012-11-05 20:17:21 +01:00
Nils Görs 93d0438240 core: update german translations 2012-11-05 18:16:46 +01:00
Sebastien Helleu 1dc44d3503 doc: fix typo in user's guide 2012-11-04 15:53:02 +01:00
Sebastien Helleu 47df178c88 core: add option aspell.check.suggestions in ChangeLog 2012-11-04 11:51:34 +01:00
Sebastien Helleu 57d5afeda5 aspell: add bar item "aspell_suggest": suggestions for misspelled word at cursor (task #12061) (patch from Nils Görs) 2012-11-04 11:50:15 +01:00
Sebastien Helleu 9e94bfd48b aspell: update bar item "aspell_dict" only if spellers have changed 2012-11-04 10:49:03 +01:00
Sebastien Helleu ebc4ff82c0 aspell: fix creation of spellers when number of dictionaries is different between two buffers 2012-11-04 09:59:45 +01:00
Sebastien Helleu c848cb42d8 irc: fix display bug in output of /quiet or /mode #channel +q (wrong nick displayed) 2012-11-03 09:59:48 +01:00
Nils Görs 8e5d313885 irc: add command /quiet, fix display of messages 728/729 (quiet list, end of quiet list) (task #12278) 2012-11-02 18:15:24 +01:00
Nils Görs b1005fc23e irc: add option irc.network.alternate_nick to disable dynamic nick generation when all nicks are already in use on server (task #12281) 2012-11-02 17:51:12 +01:00
Ailin Nemui 8b52fc90d5 core: add incomplete mouse events "event-down" and "event-drag" (task #11840) 2012-11-02 17:26:52 +01:00
Sebastien Helleu 4d436e3ac6 core: expand buffer local variables in evaluation of expressions (command /eval and function "string_eval_expression" in plugin API) 2012-11-02 15:40:15 +01:00
Sebastien Helleu f7b53fe6aa core: support many commands in /eval (separated by semicolons) 2012-11-02 15:28:48 +01:00
Sebastien Helleu 7002c44622 irc: fix compilation when gnutls is disabled (bug #37639) 2012-11-02 09:58:12 +01:00
Sebastien Helleu 00f663a8c3 doc: add chapter "bars" in japanese user's guide 2012-11-02 09:47:56 +01:00
Sebastien Helleu 32c93b5c0a core: add command /eval, use expression in conditions for bars, add function "string_eval_expression" in plugin API 2012-11-02 09:37:15 +01:00
Sebastien Helleu 3ec0ad7c62 core: remove duplicated #include 2012-10-21 19:43:12 +02:00
Sebastien Helleu 9037c0fe4c irc: add option irc.network.whois_double_nick to double nick in command /whois 2012-10-20 18:03:08 +02:00
Nils Görs 7ee9e58d1b irc: send whois on self nick when /whois is done without argument on a channel (task #12273) 2012-10-20 17:19:55 +02:00
Nils Görs ffe636ea48 doc: update german translations and user guide 2012-10-20 14:18:54 +02:00
Sebastien Helleu eba2211427 relay: fix crash when receiving a new client on a socket 2012-10-19 19:28:26 +02:00
Sebastien Helleu 4b6eac3172 doc: fix typo in example of hdata_get_string (plugin API reference) 2012-10-19 14:31:21 +02:00
Sebastien Helleu 8c8bb8e72c doc: add link to doc for dependencies in file INSTALL 2012-10-19 14:28:35 +02:00
Sebastien Helleu 130634ce6a doc: update ruby version in dependencies (user's guide) 2012-10-19 13:54:22 +02:00
Sebastien Helleu 883fb4d64d doc: rename filter "jpk" to "joinquit" in FAQ 2012-10-18 23:17:43 +02:00
stfn c2b26972da core: fix gnutls warnings 2012-10-18 22:36:52 +02:00
Sebastien Helleu ed506558e8 core: add option "-quit" for command /upgrade (save session and quit without restarting WeeChat, for delayed restoration) 2012-10-18 20:59:56 +02:00
Sebastien Helleu 93d3198b70 core: fix display of zoomed/merged buffer (with number >= 2) after switching to it (bug #37593) 2012-10-18 10:25:34 +02:00
Sebastien Helleu 0d18ef16bb core: fix typo in NEWS 2012-10-17 19:49:03 +02:00
Simon Arlott d5f140805b core: fix sendmsg/recvmsg on BSD/OSX by sending 1 byte of data (in hook_connect) 2012-10-17 17:32:56 +02:00
Sebastien Helleu f42b3d382f core: fix display problem when option weechat.look.prefix_same_nick is set (problem with nick displayed in first line of screen) (bug #37556)
To fix this bug, a feature has been removed: the first message with a nick has
the prefix forced (to not display the value of weechat.look.prefix_same_nick on
top of screen), commit was: 04e98c3f29
This feature may be reintroduced in a future commit.
2012-10-17 16:34:21 +02:00
Sebastien Helleu d403d7b79b weercd.py: add action "file" and option "file" 2012-10-17 16:19:45 +02:00
Sebastien Helleu 066f184605 core: fix connection to servers on OS X 2012-10-17 12:17:10 +02:00
Sebastien Helleu 43c01f76a2 irc: remove local variable "away" in server/channels buffers after server disconnection (bug #37582) 2012-10-16 19:25:36 +02:00
Sebastien Helleu 82a8acf9ce 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) 2012-10-16 19:14:26 +02:00
Sebastien Helleu 452229cf32 irc: fix cancel of auto-reconnection to server with /disconnect
This bug was introduced by commit 5931eed85d
2012-10-14 11:17:54 +02:00
Simon Arlott 248aa8d73a api: connect with IPv6 by default in hook_connect (with fallback to IPv4), shuffle list of hosts for a same address (task #11205) 2012-10-14 10:59:00 +02:00
Sebastien Helleu 70ce7fe3b6 core: fix wrapping of words with wide chars (the break was made before the correct position) 2012-10-12 14:05:48 +02:00
Sebastien Helleu 5cfeb2f2bc irc: add option "-noswitch" for command /join (task #12275) 2012-10-09 21:33:09 +02:00
Sebastien Helleu aa6b886386 irc: fix crash when message 352 has too few arguments (bug #37513) 2012-10-06 19:05:13 +02:00
Sebastien Helleu 872d1e0372 doc: add missing files for script plugin in developer's guide 2012-10-06 17:32:12 +02:00
Nils Görs 668cda2684 aspell: add bar item "aspell_dict" (dictionary used on current buffer) 2012-10-06 17:16:49 +02:00
Sebastien Helleu 5443ae4cae doc: update hdata "irc_server" (add "disconnected") in plugin API reference 2012-10-06 17:11:25 +02:00
Sebastien Helleu 5931eed85d irc: remove unneeded server disconnect when server buffer is closed and server is already disconnected
This commit fixes a problem with the script autoconnect.py: the script hooks
signal "irc_server_disconnected", and this signal was sent 2 times for each
server on /quit: one time when servers are disconnected, and one time when
servers are destroyed (because buffer is closed, and then server disconnected
again). The script forces save of irc.conf on each disconnection, so some
servers were lost in irc.conf, when some servers have already been destroyed.
2012-10-06 16:07:53 +02:00
Sebastien Helleu 8caeed6c4e doc: add call to config_get in examples of functions config_<type>(_default) (plugin API reference) 2012-10-05 22:05:34 +02:00
Sebastien Helleu 33d90d75c3 relay: add missing "ssl." in output of /relay listrelay 2012-10-05 15:21:32 +02:00
Sebastien Helleu 485728a43f script: fix compilation on OS X 2012-10-03 17:40:56 +02:00
Sebastien Helleu 13d95cac8e core: sync debian files with debian git repository 2012-10-02 09:07:11 +02:00
Sebastien Helleu 6a8127d92e core: fix wrong Vcs-Browser URL for debian git repository (debian #689203) 2012-10-02 09:06:55 +02:00
Sebastien Helleu e0959486e9 Version 0.4.0-dev 2012-09-29 11:48:49 +02:00
509 changed files with 25922 additions and 19644 deletions
+3 -4
View File
@@ -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*
+40 -28
View File
@@ -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)
+10 -10
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2007-2008 Julien Louis <ptitlouis@sysif.net>
# Copyright (C) 2008-2009 Emmanuel Bouthenot <kolter@openics.org>
#
@@ -32,8 +32,8 @@ IF(PREFIX)
ENDIF(PREFIX)
SET(VERSION_MAJOR "0")
SET(VERSION_MINOR "3")
SET(VERSION_PATCH "9")
SET(VERSION_MINOR "4")
SET(VERSION_PATCH "0")
SET(VERSION ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH})
SET(LICENSE "GPL3")
SET(PKG_STRING "${PROJECT_NAME} ${VERSION}")
@@ -81,6 +81,7 @@ OPTION(ENABLE_SCRIPT "Enable Script plugin (scripts manager)" ON)
OPTION(ENABLE_SCRIPTS "Enable script plugins (perl, python, ...)" ON)
OPTION(ENABLE_PERL "Enable Perl scripting language" ON)
OPTION(ENABLE_PYTHON "Enable Python scripting language" ON)
OPTION(ENABLE_PYTHON3 "Use Python 3.x if found (NOT recommended)" OFF)
OPTION(ENABLE_RUBY "Enable Ruby scripting language" ON)
OPTION(ENABLE_LUA "Enable Lua scripting language" ON)
OPTION(ENABLE_TCL "Enable Tcl scripting language" ON)
@@ -106,10 +107,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 +121,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}")
+147 -7
View File
@@ -1,9 +1,149 @@
WeeChat ChangeLog
=================
Sébastien Helleu <flashcode@flashtux.org>
v0.3.9, 2012-09-29
v0.4.0, 2013-01-20
Version 0.4.0 (2013-01-20)
--------------------------
* core: fix infinite loop when a regex gives an empty match (bug #38112)
* core: fix detection of guile in configure
* core: fix click in item "buffer_nicklist" when nicklist is a root bar
(bug #38080)
* core: fix line returned when clicking on a bar (according to position and
filling) (bug #38069)
* core: fix refresh of bars when applying layout (bug #37944, bug #37952)
* core: add buffer pointer in arguments for signals "input_search",
"input_text_changed" and "input_text_cursor_moved"
* core: fix scroll to bottom of window (default key: alt+end) when line
displayed is bigger than chat area
* core: fix scroll in buffer after enabling/disabling some filters (if scroll
is on a hidden line) (bug #37885)
* core: fix memory leak in case of error when building content of bar item for
display
* core: fix detection of command in input: a single command char is considered
as a command (API function "string_input_for_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 return code WEECHAT_RC_OK_EAT in callbacks of hook_signal and
hook_hsignal (stop sending the signal immediately)
* api: allow creation of structure with hdata_update (allowed for hdata
"history")
* api: use hashtable "options" for command arguments in function
hook_process_hashtable (optional, default is a split of string with command)
* api: do not call shell to execute command in hook_process (fix security
problem when a plugin/script gives untrusted command) (bug #37764)
* api: add new function "string_eval_expression"
* api: connect with IPv6 by default in hook_connect (with fallback to IPv4),
shuffle list of hosts for a same address, add argument "retry" for
hook_connect, move "sock" from hook_connect arguments to callback of
hook_connect (task #11205)
* alias: give higher priority to aliases (2000) so that they take precedence
over an existing command
* aspell: ignore self and remote nicks in private buffers
* aspell: add signal "aspell_suggest" (sent when new suggestions are displayed)
* aspell: add bar items "aspell_dict" (dictionary used on current buffer) and
"aspell_suggest" (suggestions for misspelled word at cursor), add option
aspell.check.suggestions (task #12061)
* aspell: fix creation of spellers when number of dictionaries is different
between two buffers
* guile: fix bad conversion of shared strings (replace calls to
scm_i_string_chars by scm_to_locale_string) (bug #38067)
* irc: fix display of actions (/me) when they are received from a relay client
(in channel and private buffers) (bug #38027)
* irc: fix memory leak when updating modes of channel
* irc: add tags "irc_nick1_xxx" and "irc_nick2_yyy" in message displayed for
command "NICK"
* irc: return git version in CTCP VERSION and FINGER by default, add "$git"
and "$versiongit" in format of CTCP replies
* irc: read local variable "autorejoin" in buffer to override server option
"autorejoin" (task #12256)
* irc: add option "-auto" for command /connect (task #9340)
* irc: add support of "server-time" capability (task #12255)
* irc: add support of tags in messages
* irc: fix crash on /upgrade (free channels before server data when a server
is destroyed) (bug #37736)
* irc: fix crash when decoding IRC colors in strings (bug #37704)
* irc: fix refresh of bar item "away" after command /away or /disconnect
* irc: add command /quiet, fix display of messages 728/729 (quiet list, end of
quiet list) (task #12278)
* irc: add option irc.network.alternate_nick to disable dynamic nick generation
when all nicks are already in use on server (task #12281)
* irc: add option irc.network.whois_double_nick to double nick in command /whois
* irc: send whois on self nick when /whois is done without argument on a channel
(task #12273)
* irc: remove local variable "away" in server/channels buffers after server
disconnection (bug #37582)
* irc: add option "-noswitch" for command /join (task #12275)
* irc: fix crash when message 352 has too few arguments (bug #37513)
* irc: remove unneeded server disconnect when server buffer is closed and server
is already disconnected
* perl: display script filename in error messages
* perl: fix calls to callbacks during load of script when multiplicity is
disabled (bug #38044)
* relay: fix duplicated messages sent to irc clients (when messages are
redirected) (bug #37870)
* relay: fix memory leak when adding hdata to a message (weechat protocol)
* relay: add backlog and server capability "server-time" for irc protocol, add
new options relay.irc.backlog_max_minutes, relay.irc.backlog_max_number,
relay.irc.backlog_since_last_disconnect, relay.irc.backlog_tags,
relay.irc.backlog_time_format (task #12076)
* relay: fix crash after /upgrade when a client is connected
* relay: add support of IPv6, new option relay.network.ipv6, add support of
"ipv4." and/or "ipv6." before protocol name, to force IPv4/IPv6 (task #12270)
* relay: add missing "ssl." in output of /relay listrelay
* script: fix scroll with mouse when window with script buffer is not the
current window (do not force a switch to script buffer in current window)
* script: fix compilation on OS X
* xfer: fix memory leak when refreshing xfer buffer
* xfer: add missing tags in DCC chat messages: nick_xxx, prefix_nick_ccc, logN
* xfer: display remote IP address for DCC chat/file (task #12289)
* xfer: limit bytes received to file size (for DCC file received), fix crash
when displaying a xfer file with pos greater than size
Version 0.3.9.2 (2012-11-18)
----------------------------
* core: do not call shell to execute command in hook_process (fix security
problem when a plugin/script gives untrusted command) (bug #37764)
Version 0.3.9.1 (2012-11-09)
----------------------------
* irc: fix crash when decoding IRC colors in strings (bug #37704)
Version 0.3.9 (2012-09-29)
--------------------------
@@ -42,7 +182,7 @@ Version 0.3.9 (2012-09-29)
* core: add function "hook_set" in plugin API, add "subplugin" in hooks (set by
script plugins), display subplugin in /help on commands (task #12049)
* core: add option weechat.look.jump_smart_back_to_buffer (jump back to initial
buffer after reaching end of hotlist, on by default, which is old behaviour)
buffer after reaching end of hotlist, on by default, which is old behavior)
* core: add default key alt+"s" (toggle aspell)
* core: add cmake option "MANDIR" (bug #36776)
* core: add callback "nickcmp" in buffers
@@ -90,7 +230,7 @@ Version 0.3.9 (2012-09-29)
* irc: add bar item "buffer_modes", remove option irc.look.item_channel_modes
(task #12022)
* irc: fix parsing of user modes (ignore everything after first space)
(bug #36756)
(bug #36756, bug #31572)
* irc: add option irc.look.ctcp_time_format to customize reply to CTCP TIME
(task #12150)
* irc: fix freeze when reading on socket with SSL enabled (use non-blocking
@@ -235,7 +375,7 @@ Version 0.3.7 (2012-02-26)
gnome-terminal
* core: add option "hooks" for command /debug
* core: add option "weechat.look.scroll_bottom_after_switch" (if enabled,
restore old behaviour before fix of bug #25555 in version 0.3.5)
restore old behavior before fix of bug #25555 in version 0.3.5)
* core: apply filters after full reload of configuration files (with /reload)
(bug #31182)
* core: allow list for option weechat.plugin.extension (makes weechat.conf
@@ -578,7 +718,7 @@ Version 0.3.4 (2011-01-16)
when chars are added to a text not found (bug #31167)
* core: fix memory leaks when removing item in hashtable and when setting
highlight words in buffer
* core: use similar behaviour for keys bound to local or global history
* core: use similar behavior for keys bound to local or global history
(bug #30759)
* api: add priority for hooks (task #10550)
* api: add new functions: list_search_pos, list_casesearch_pos,
@@ -745,7 +885,7 @@ Version 0.3.2 (2010-04-18)
* alias: add custom completion for aliases (task #9479)
* scripts: allow script commands to reload only one script
* scripts: fix bug with callbacks when loading a script already loaded
* perl: fix crash when MULTIPLICITY is disabled
* perl: fix crash when multiplicity is disabled
* perl: fix crash when callbacks are called during script initialization
(bug #29018)
* perl: fix crash on /quit or unload of plugin under FreeBSD and Cygwin
@@ -1290,7 +1430,7 @@ Version 0.1.8 (2006-03-18)
* add new plugins functions: add_timer_handler, remove_timer_handler,
remove_infobar
* plugin messages handlers now called when message is ignored (by /ignore)
* new behaviour for messages ignored by a message handler: now WeeChat
* new behavior for messages ignored by a message handler: now WeeChat
executes standard handler, treating message as "ignored"
* many commands allowed for aliases
* many commands allowed when connecting to server
+33 -22
View File
@@ -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
+19 -7
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2005 Julien Louis <ptitlouis@sysif.net>
# Copyright (C) 2006-2009 Emmanuel Bouthenot <kolter@openics.org>
#
@@ -19,6 +19,12 @@
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
#
# This target will update file config-git.h with output of command "git describe"
# (if needed, and only for a devel/rc version).
BUILT_SOURCES = build-config-git.h
build-config-git.h:
-$(abs_top_srcdir)/git-version.sh "$(abs_top_srcdir)" "$(VERSION)" config-git.h
if DOC
doc_dir = doc
endif
@@ -28,31 +34,37 @@ 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
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = weechat.pc
clean-local:
$(RM) config-git.h
+53 -5
View File
@@ -1,9 +1,40 @@
WeeChat Release Notes
=====================
Sébastien Helleu <flashcode@flashtux.org>
v0.3.9, 2012-09-29
v0.4.0, 2013-01-20
Version 0.4.0 (2013-01-20)
--------------------------
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)
--------------------------
@@ -101,11 +132,11 @@ Important release notes:
'irc.color.nick_prefix_op', 'irc.color.nick_prefix_halfop',
'irc.color.nick_prefix_voice', 'irc.color.nick_prefix_user'
* count of messages have been added to hotlist by default, if you want to come
back to old behaviour, do that:
back to old behavior, do that:
** `/set weechat.look.hotlist_count_max 0`
** `/set weechat.look.hotlist_buffer_separator ","`
* when you are away, all buffers are now added to hotlist by default (even if
they are displayed in a window), if you want to come back to old behaviour, do
they are displayed in a window), if you want to come back to old behavior, do
that:
** `/set weechat.look.hotlist_add_buffer_if_away off`
* new keys were added, use command `/key missing` to add them or `/key listdiff`
@@ -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)
----------------------------
+1 -1
View File
@@ -22,7 +22,7 @@ Features
Copyright
---------
Copyright (C) 2003-2012 Sébastien Helleu <flashcode@flashtux.org>
Copyright (C) 2003-2013 Sébastien Helleu <flashcode@flashtux.org>
This file is part of WeeChat, the extensible chat client.
-83
View File
@@ -1,83 +0,0 @@
WeeChat Upgrade to 0.3.x
========================
Sébastien Helleu <flashcode@flashtux.org>
v0.3.0, 2009-09-06
This document lists major changes introduced in version 0.3.0 and not compatible
with versions 0.2.x.
Upgrade to version 0.3.x
------------------------
It is *NOT POSSIBLE* to use command `/upgrade` from a version 0.2.x to 0.3.x.
You have to quit your old WeeChat, then run new version.
Of course, command `/upgrade` is working fine once you'll be with 0.3.x to
upgrade to another 0.3.x (unless this command is broken again, please look
at release notes (file 'NEWS') for version you're currently installing).
Configuration files
-------------------
Changes with previous versions
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
New configuration files (`*.conf`) are not compatible with old files (`*.rc`).
Name of options is similar to old versions, but there is now one configuration
file by plugin, and one file for WeeChat core.
There is *no automatic conversion* for your old options to new configuration files,
so you'll have to setup again your IRC servers and all other options.
In WeeChat, option names are now with format: `plugin.section.option` (for
WeeChat core, `plugin` is `weechat`).
Examples:
* WeeChat options: `weechat.xxx.yyy`
* IRC options: `irc.xxx.yyy`
You should read quickstart guide to be familiar with basic commands and syntax
(some commands like `/server` have changed): http://www.weechat.org/doc
List of configuration files
~~~~~~~~~~~~~~~~~~~~~~~~~~~
* Old configuration files:
** weechat.rc
** plugins.rc
* New configuration files are now (with default plugins):
** weechat.conf
** alias.conf
** aspell.conf
** charset.conf
** irc.conf
** jabber.conf
** logger.conf
** plugins.conf
** relay.conf
** xfer.conf
Plugin API
----------
Plugin API has been rewritten and is not compatible with previous versions.
Accordingly, scripts and plugins must have been designed for version 0.3.x to
be loaded into WeeChat.
There is no migration script today to convert old script to new API.
Therefore, if you plan to use old script, you'll have to wait for new version
or you can convert script yourself and send us new version ;)
You can download scripts for new API on plugins page:
http://www.weechat.org/plugins
More information about new API is available on wiki:
http://wiki.flashtux.org/wiki/WeeChat_0.3.0
and http://wiki.flashtux.org/wiki/WeeChat_0.3.0_API
+1 -1
View File
@@ -1,6 +1,6 @@
#!/bin/sh
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2005 Julien Louis <ptitlouis@sysif.net>
# Copyright (C) 2005-2006 Emmanuel Bouthenot <kolter@openics.org>
#
+1 -1
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
+1 -1
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
@@ -41,10 +41,13 @@ IF(LIBGCRYPT_CONFIG_EXECUTABLE)
SET(GCRYPT_CFLAGS " ")
ENDIF(${GCRYPT_CFLAGS} MATCHES "\n")
IF(GCRYPT_LDFLAGS AND GCRYPT_CFLAGS)
SET(GCRYPT_FOUND TRUE)
ENDIF(GCRYPT_LDFLAGS AND GCRYPT_CFLAGS)
ENDIF(LIBGCRYPT_CONFIG_EXECUTABLE)
MARK_AS_ADVANCED(GCRYPT_CFLAGS GCRYPT_LDFLAGS)
# handle the QUIETLY and REQUIRED arguments and set GCRYPT_FOUND to TRUE if
# all listed variables are TRUE
INCLUDE(${CMAKE_HOME_DIRECTORY}/cmake/FindPackageHandleStandardArgs.cmake)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(GCRYPT REQUIRED_VARS GCRYPT_LDFLAGS GCRYPT_CFLAGS)
IF(GCRYPT_FOUND)
MARK_AS_ADVANCED(GCRYPT_CFLAGS GCRYPT_LDFLAGS)
ENDIF(GCRYPT_FOUND)
+1 -1
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2007 Julien Louis <ptitlouis@sysif.net>
# Copyright (C) 2009 Emmanuel Bouthenot <kolter@openics.org>
#
+1 -1
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2009 Emmanuel Bouthenot <kolter@openics.org>
#
# This file is part of WeeChat, the extensible chat client.
+1 -1
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2011-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2011-2013 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
+1 -1
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
+1 -1
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
+1 -1
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
+1 -1
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
+23 -10
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2009 Julien Louis <ptitlouis@sysif.net>
#
# This file is part of WeeChat, the extensible chat client.
@@ -33,10 +33,17 @@ IF(PYTHON_FOUND)
SET(PYTHON_FIND_QUIETLY TRUE)
ENDIF(PYTHON_FOUND)
FIND_PROGRAM(PYTHON_EXECUTABLE
NAMES python2.7 python2.6 python2.5 python
PATHS /usr/bin /usr/local/bin /usr/pkg/bin
)
IF(ENABLE_PYTHON3)
FIND_PROGRAM(PYTHON_EXECUTABLE
NAMES python3.4 python3.3 python3.2 python3.1 python3.0 python3 python2.7 python2.6 python2.5 python
PATHS /usr/bin /usr/local/bin /usr/pkg/bin
)
ELSE(ENABLE_PYTHON3)
FIND_PROGRAM(PYTHON_EXECUTABLE
NAMES python2.7 python2.6 python2.5 python
PATHS /usr/bin /usr/local/bin /usr/pkg/bin
)
ENDIF(ENABLE_PYTHON3)
IF(PYTHON_EXECUTABLE)
EXECUTE_PROCESS(
@@ -58,11 +65,17 @@ IF(PYTHON_EXECUTABLE)
NAMES Python.h
PATHS ${PYTHON_INC_DIR}
)
FIND_LIBRARY(PYTHON_LIBRARY
NAMES python2.7 python2.6 python2.5 python
PATHS ${PYTHON_POSSIBLE_LIB_PATH}
)
IF(ENABLE_PYTHON3)
FIND_LIBRARY(PYTHON_LIBRARY
NAMES python3.4 python3.3 python3.2 python3.1 python3.0 python3 python2.7 python2.6 python2.5 python
PATHS ${PYTHON_POSSIBLE_LIB_PATH}
)
ELSE(ENABLE_PYTHON3)
FIND_LIBRARY(PYTHON_LIBRARY
NAMES python2.7 python2.6 python2.5 python
PATHS ${PYTHON_POSSIBLE_LIB_PATH}
)
ENDIF(ENABLE_PYTHON3)
IF(PYTHON_LIBRARY AND PYTHON_INCLUDE_PATH)
EXECUTE_PROCESS(
+1 -1
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
+1 -1
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2009 Emmanuel Bouthenot <kolter@openics.org>
#
# This file is part of WeeChat, the extensible chat client.
+1 -1
View File
@@ -1,6 +1,6 @@
#
# Copyright (C) 2008 Julien Louis <ptitlouis@sysif.net>
# Copyright (C) 2008-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2008-2013 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
+1 -1
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
-52
View File
@@ -1,52 +0,0 @@
#!/bin/sh
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# WeeChat is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
#
VERSION=@VERSION@
SRCROOT=@CMAKE_SOURCE_DIR@
BUILDDIR=@CMAKE_BINARY_DIR@
PROJECT=@PROJECT_NAME@
TAG=release-$(echo $VERSION | sed -e 's/\./-/g')
EXCLUDE="@DIST_EXCLUDE@"
EXPORT_DIR="${PROJECT}-${VERSION}"
if [ -z $CVSROOT ]; then
echo "The CVSROOT variable must be set"
exit 1
fi
echo "Exporting source tree"
if [ $(echo $VERSION | grep cvs) ]; then
cvs export -r HEAD -d $PROJECT-$VERSION $PROJECT
else
cvs export -r $TAG -d $PROJECT-$VERSION $PROJECT
fi
echo "Removing not needed stuff"
for i in $EXCLUDE ; do
echo " $i"
rm -rf $EXPORT_DIR/$i
done
echo "Generating archive"
tar cjf ${BUILDDIR}/${PROJECT}-${VERSION}.tar.bz2 ${EXPORT_DIR}
echo "Cleaning up"
rm -rf ${EXPORT_DIR}
+14 -9
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2005 Benoit Papillault <benoit.papillault@free.fr>
# Copyright (C) 2005-2006 Julien Louis <ptitlouis@sysif.net>
# Copyright (C) 2005-2009 Emmanuel Bouthenot <kolter@openics.org>
@@ -24,10 +24,10 @@
# Process this file with autoconf to produce a configure script.
AC_PREREQ(2.56)
AC_INIT(WeeChat, 0.3.9, flashcode@flashtux.org)
AC_CONFIG_SRCDIR([src/core/weechat.c])
AC_INIT(WeeChat, 0.4.0, 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
@@ -140,6 +140,7 @@ AC_ARG_ENABLE(script, [ --disable-script turn off Script plugin (d
AC_ARG_ENABLE(scripts, [ --disable-scripts turn off script plugins (perl, python, ...) (default=compiled if found)],enable_scripts=$enableval,enable_scripts=yes)
AC_ARG_ENABLE(perl, [ --disable-perl turn off Perl script plugin (default=compiled if found)],enable_perl=$enableval,enable_perl=yes)
AC_ARG_ENABLE(python, [ --disable-python turn off Python script plugin (default=compiled if found)],enable_python=$enableval,enable_python=yes)
AC_ARG_ENABLE(python3, [ --enable-python3 use Python 3.x if found (NOT recommended) (default=off)],enable_python3=$enableval,enable_python3=no)
AC_ARG_ENABLE(ruby, [ --disable-ruby turn off Ruby script plugin (default=compiled if found)],enable_ruby=$enableval,enable_ruby=yes)
AC_ARG_ENABLE(lua, [ --disable-lua turn off Lua script plugin (default=compiled if found)],enable_lua=$enableval,enable_lua=yes)
AC_ARG_ENABLE(tcl, [ --disable-tcl turn off Tcl script plugin (default=compiled if found)],enable_tcl=$enableval,enable_tcl=yes)
@@ -465,7 +466,11 @@ fi
PYTHON_VERSION=
if test "x$enable_python" = "xyes" ; then
AC_PATH_PROGS(PYTHON, python2.7 python2.6 python2.5 python2 python)
if test "x$enable_python3" = "xyes" ; then
AC_PATH_PROGS(PYTHON, python3.4 python3.3 python3.2 python3.1 python3.0 python3 python2.7 python2.6 python2.5 python2 python)
else
AC_PATH_PROGS(PYTHON, python2.7 python2.6 python2.5 python2 python)
fi
if test -z $PYTHON ; then
AC_MSG_WARN([
*** Python must be installed on your system but python interpreter couldn't be found in path.
@@ -489,8 +494,8 @@ if test "x$enable_python" = "xyes" ; then
if test -r "$PYTHON_INCLUDE/Python.h"; then
PYTHON_CFLAGS="-I$PYTHON_INCLUDE"
AC_MSG_RESULT(found)
PYTHON_LIB=`$PYTHON -c "import distutils.sysconfig; print distutils.sysconfig.get_config_var('LIBPL')"`
PYTHON_LFLAGS="-lpython$PYTHON_VERSION "`$PYTHON -c "import distutils.sysconfig; print distutils.sysconfig.get_config_var('LIBS')+' '+distutils.sysconfig.get_config_var('SYSLIBS')+' '+distutils.sysconfig.get_config_var('LINKFORSHARED')"`
PYTHON_LIB=`$PYTHON -c "import sys, distutils.sysconfig; sys.stdout.write(distutils.sysconfig.get_config_var('LIBPL'))"`
PYTHON_LFLAGS="-lpython$PYTHON_VERSION "`$PYTHON -c "import sys, distutils.sysconfig; sys.stdout.write(distutils.sysconfig.get_config_var('LIBS')+' '+distutils.sysconfig.get_config_var('SYSLIBS')+' '+distutils.sysconfig.get_config_var('LINKFORSHARED'))"`
AC_MSG_CHECKING(for Python library)
if test -r "$PYTHON_LIB/libpython$PYTHON_VERSION.so"; then
PYTHON_LFLAGS="-L$PYTHON_LIB $PYTHON_LFLAGS"
@@ -757,10 +762,10 @@ if test "x$enable_guile" = "xyes" ; then
GUILE_CFLAGS=`$GUILECONFIG compile`
GUILE_LFLAGS=`$GUILECONFIG link`
GUILE_VERSION=`$GUILECONFIG info guileversion`
tcl_found="yes"
guile_found="yes"
fi
if test "x$tcl_found" = "xno" ; then
if test "x$guile_found" = "xno" ; then
AC_MSG_WARN([
*** Script guile-config couldn't be found on your system.
*** WeeChat will be built without Guile (scheme) support.])
+20
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -4,7 +4,7 @@ Upstream-Contact: Sebastien Helleu <flashcode@flashtux.org>
Source: http://weechat.org/
Files: *
Copyright: 2003-2012, Sebastien Helleu <flashcode@flashtux.org>
Copyright: 2003-2013, Sebastien Helleu <flashcode@flashtux.org>
2005-2009, Emmanuel Bouthenot <kolter@openics.org>
2008-2009, Dmitry Kobylin <fnfal@academ.tsc.ru>
License: GPL-3+
+7 -20
View File
@@ -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)
-1
View File
@@ -1,4 +1,3 @@
AUTHORS
NEWS
README
UPGRADE_0.3
+1 -1
View File
@@ -1 +1 @@
weechat-curses: manpage-has-errors-from-man usr/share/man/man1/weechat-curses.1.gz 61: warning [p 1, 9.0i]: cannot adjust line
weechat-curses: manpage-has-errors-from-man usr/share/man/man1/weechat-curses.1.gz 65: warning [p 1, 9.7i]: cannot adjust line
+1 -1
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2009 Emmanuel Bouthenot <kolter@openics.org>
#
# This file is part of WeeChat, the extensible chat client.
+1 -1
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2006 Julien Louis <ptitlouis@sysif.net>
#
# This file is part of WeeChat, the extensible chat client.
+1 -1
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
+1 -1
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2006 Julien Louis <ptitlouis@sysif.net>
#
# This file is part of WeeChat, the extensible chat client.
+11 -6
View File
@@ -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) +
@@ -365,6 +367,7 @@
'items_num_lines' (pointer) +
'items_refresh_needed' (pointer) +
'screen_col_size' (integer) +
'screen_lines' (integer) +
'coords_count' (integer) +
'coords' (pointer) +
'gui_objects' (pointer) +
@@ -559,8 +562,10 @@
'text' (string) +
'next_history' (pointer, hdata: "history") +
'prev_history' (pointer, hdata: "history") |
|
-
`__create` +
`__delete` |
'gui_history' +
'last_gui_history'
| weechat | hotlist | Hotliste |
'priority' (integer) +
+2
View File
@@ -42,6 +42,8 @@
| weechat | version | WeeChat Version | -
| weechat | version_git | WeeChat Git Version (Ausgabe des Befehls "git describe", ausschließlich für eine Entwicklerversion. Eine stabile Version gibt keine Information zurück) | -
| weechat | version_number | WeeChat Version (als Nummer) | -
| weechat | weechat_dir | WeeChat Verzeichnis | -
@@ -2,7 +2,7 @@
|========================================
| Erweiterung | Name | Beschreibung | Hashtable (Eingabe) | Hashtable (Ausgabe)
| irc | irc_message_parse | Parse eine IRC Nachricht | "message": IRC Nachricht, "server": Servername (optional) | "nick": nick, "host": host, "command": command, "channel": channel, "arguments": arguments (beinhaltet Channel)
| irc | irc_message_parse | Parse eine IRC Nachricht | "message": IRC Nachricht, "server": Servername (optional) | "tags": Tags, "message_without_tags": Nachrichten ohne Tags, "nick": Nick, "host": Host, "command": Befehl, "channel": Channel, "arguments": Argumente (schließt Channel ein)
| irc | irc_message_split | dient zum Aufteilen einer überlangen IRC Nachricht (in maximal 512 Bytes große Nachrichten) | "message": IRC Nachricht, "server": Servername (optional) | "msg1" ... "msgN": Nachrichten die versendet werden sollen (ohne abschließendes "\r\n"), "args1" ... "argsN": Argumente für Nachrichten, "count": Anzahl der Nachrichten
+5
View File
@@ -23,6 +23,11 @@
** Typ: boolesch
** Werte: on, off (Standardwert: `off`)
* [[option_aspell.check.suggestions]] *aspell.check.suggestions*
** Beschreibung: `legt die Anzahl an Vorschlägen fest, für ein falsch geschriebenes Wort. Die Vorschläge werden in der Bar-Item "aspell_suggest", für die jeweilige(n) Sprache(n), im Buffer, angezeigt (-1 = deaktiviert die Funktion, 0 = zeigt alle verfügbaren Vorschläge an, für alle betreffenden Sprachen)`
** Typ: integer
** Werte: -1 .. 2147483647 (Standardwert: `-1`)
* [[option_aspell.check.word_min_length]] *aspell.check.word_min_length*
** Beschreibung: `Mindestlänge für ein Wort, welches auf Rechtschreibung überprüft werden soll (bei 0 werden alle Wörter überprüft)`
** Typ: integer
+32 -14
View File
@@ -56,16 +56,17 @@ Ohne Angabe von Argumenten wird die Ban-Liste für den aktuellen Channel angezei
[command]*`connect`* Mit IRC-Server(n) verbinden::
........................................
/connect <server> [<server>...] [-<option>[=<value>]] [-no<option>] [-nojoin] [-switch]
-all|-open [-nojoin] [-switch]
-all|-auto|-open [-nojoin] [-switch]
server: Name des Servers (folgende Möglichkeiten bestehen):
- intern genutzter Servername mit dem verbunden werden soll (Der Server sollte zuerst mittels "/server add" angelegt werden)
server: Name des Servers (folgende Möglichkeiten bestehen):
- intern genutzter Servername, zu dem eine Verbindung aufgebaut werden soll (Der Server sollte zuerst mittels "/server add" angelegt werden)
- Hostname/Port oder IP/Port (damit wird lediglich ein TEMPORÄRER Server erstellt), Port 6667 wird standardmäßig verwendet
- URL mit folgendem Format: irc[6][s]://[nickname[:password]@]irc.example.org[:port][/#channel1][,#channel2[...]]
option: legt die Optionen für den Server fest (die Boolean-Optionen können weggelassen werden)
nooption: stellt die Boolean Option auf "off" (Beispiel: -nossl)
-all: Verbindung wird mit allen Servern hergestellt
-open: stellt eine Verbindung zu allen geöffneten Servern her, zu denen aktuell keine Verbindung besteht
option: legt Option für den Server fest (die Boolean-Optionen können weggelassen werden)
nooption: deaktiviert eine Boolean Option (Beispiel: -nossl)
-all: Verbindung wird zu den Servern hergestellt, für die eine Konfiguration vorhanden ist
-auto: Verbindung zu den Servern herstellen, für die die Option "autoconnect" aktiviert ist
-open: stellt eine Verbindung zu allen geöffneten Servern her, zu denen aktuell aber keine Verbindung besteht
-nojoin: Channel(s) werden nicht betreten (auch falls die Funktion "autojoin" aktiviert sein sollte)
-switch: wechselt zur nächsten Server-Adresse
@@ -212,16 +213,18 @@ nick: Nickname
[[command_irc_join]]
[command]*`join`* einen Channel betreten::
........................................
/join [-server <server>] [<channel1>[,<channel2>...]] [<key1>[,<key2>...]]
/join [-noswitch] [-server <server>] [<channel1>[,<channel2>...]] [<key1>[,<key2>...]]
server: Verbindung zu diesem Server (interner Name)
channel: Name des Channels der betreten werden soll
key: Zugriffsschlüssel für einen Channel (Channels die einen Zugriffsschlüssel benötigen müssen zuerst aufgeführt werden)
-noswitch: es wird nicht zu dem angegebenen Channel gewechselt
server: an angegebenen Server (interner Name) senden
channel: Name des Channels, der betreten werden soll
key: Zugriffsschlüssel für einen Channel (Channel, die einen Zugriffsschlüssel benötigen, müssen zuerst aufgeführt werden)
Beispiele:
/join #weechat
/join #geschützter_Channel,#weechat Zugriffsschlüssel
/join -server freenode #weechat
/join -noswitch #weechat
........................................
[[command_irc_kick]]
@@ -465,6 +468,17 @@ server: an diesen Server senden (interner Name)
text: Text der gesendet werden soll
........................................
[[command_irc_quiet]]
[command]*`quiet`* Nicks oder Hosts das Wort entziehen (User können im Channel erst schreiben, wenn sie "+v" oder höher besitzen)::
........................................
/quiet [<channel>] [<nick> [<nick>...]]
channel: Channel in dem jemanden das Wort entzogen werden soll
nick: User oder Host dem das Wort entzogen werden soll
Ohne Angabe von Argumenten wird, für den aktuellen Channel, eine Liste ausgegeben mit den User/Hosts denen das Wort entzogen worden ist.
........................................
[[command_irc_quote]]
[command]*`quote`* Daten direkt an Server senden (siehe RFC 2812)::
........................................
@@ -734,10 +748,14 @@ mask: nur Information über betreffende Nicknamen abfragen
[[command_irc_whois]]
[command]*`whois`* Information über User abfragen::
........................................
/whois [<server>] <nick>[,<nick>...]
/whois [<server>] [<nick>[,<nick>...]]
server: Servername
nick: Nickname (oder eine Maske)
server: Name des Servers (interner Servername)
nick: Nick, welcher abgefragt werden soll (kann auch eine Maske sein)
Ohne Angabe von Argumenten, nutzt /whois folgende Nicks:
- den eigenen Nick, falls es sich um einen Server/Channel Buffer handelt
- den Nick des Gesprächspartners, falls es sich um einen privaten Buffer handelt.
........................................
[[command_irc_whowas]]
+13 -3
View File
@@ -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: `Channels automatisch betreten, falls man rausgeworfen wurde. Es kann eine lokale Buffer Variable für einen Channel erstellt werden, diese lokale Variable wird vorrangig behandelt (Name der lokalen Variable: "autorejoin", Wert: "on" oder "off")`
** Typ: boolesch
** Werte: on, off (Standardwert: `off`)
@@ -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 -2
View File
@@ -1,10 +1,10 @@
* [[option_logger.color.backlog_end]] *logger.color.backlog_end*
** Beschreibung: `Farbe für die letzte Zeile der Rückverfolgung`
** Beschreibung: `Farbe für die letzte Zeile im Verlaufsspeicher`
** Typ: Farbe
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "_" für unterstrichen (Standardwert: `darkgray`)
* [[option_logger.color.backlog_line]] *logger.color.backlog_line*
** Beschreibung: `Farbe in der der Text der Rückverfolgung dargestellt werden soll`
** Beschreibung: `Textfarbe in der der Verlaufsspeicher dargestellt werden soll`
** Typ: Farbe
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "_" für unterstrichen (Standardwert: `darkgray`)
+11 -3
View File
@@ -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
........................................
+31 -1
View File
@@ -43,6 +43,31 @@
** Typ: Farbe
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "_" für unterstrichen (Standardwert: `white`)
* [[option_relay.irc.backlog_max_minutes]] *relay.irc.backlog_max_minutes*
** Beschreibung: `Zeitangabe, in Minuten, wie lange die Zeilen im Verlaufsspeicher für jeden IRC Channel gehalten werden sollen (0 = unbegrenzt, Beispiele: 1440 = einen Tag, 10080 = eine Woche, 43200 = einen Monat, 525600 = ein Jahr)`
** Typ: integer
** Werte: 0 .. 2147483647 (Standardwert: `1440`)
* [[option_relay.irc.backlog_max_number]] *relay.irc.backlog_max_number*
** Beschreibung: `maximale Anzahl an Zeilen im Verlaufsspeicher. Dies gilt für jeden IRC Channel (0: keine Zeilenbegrenzung)`
** Typ: integer
** Werte: 0 .. 2147483647 (Standardwert: `256`)
* [[option_relay.irc.backlog_since_last_disconnect]] *relay.irc.backlog_since_last_disconnect*
** Beschreibung: `Verlaufsspeicher anzeigen, beginnend mit dem Client der zuletzt beendet wurde`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* [[option_relay.irc.backlog_tags]] *relay.irc.backlog_tags*
** Beschreibung: `Nachrichten-Tags welche im Verlaufsspeicher, für IRC Channels, angezeigt werden (unterstützte Tags: "irc_join", "irc_part", "irc_quit", "irc_nick", "irc_privmsg"), "*" = alle unterstützten Tags`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"irc_privmsg"`)
* [[option_relay.irc.backlog_time_format]] *relay.irc.backlog_time_format*
** Beschreibung: `Format für die Zeitanzeige im Verlaufsspeicher (siehe man strftime für gültige Formate) (findet keine Anwendung wenn die Serverfunktion, "server-time", durch den Client aktiviert wurde, da die Zeitanzeige als irc-Tag gesendet wird); keine Zeichenkette = deaktiviert die Zeitanzeige im Verlaufsspeicher`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"[%H:%M] "`)
* [[option_relay.look.auto_open_buffer]] *relay.look.auto_open_buffer*
** Beschreibung: `öffnet automatisch einen Relay-Buffer, falls eine Verbindung zu einem neuen Client hergestellt wird`
** Typ: boolesch
@@ -54,7 +79,7 @@
** Werte: 0 .. 65535 (Standardwert: `256`)
* [[option_relay.network.allowed_ips]] *relay.network.allowed_ips*
** Beschreibung: `regulärer Ausdruck für IP Adressen die auf das Relay zugreifen dürfen (zwischen Groß- und Kleinschreibung nicht dabei nicht unterschieden. Um zwischen Groß-und Kleinschreibung zu unterscheiden muss am Wortanfang "(?-i)" genutzt werden) , Beispiel: "^(123.45.67.89|192.160.*)$"`
** Beschreibung: `regulärer Ausdruck für IP Adressen die auf das Relay zugreifen dürfen (zwischen Groß- und Kleinschreibung nicht dabei nicht unterschieden. Um zwischen Groß-und Kleinschreibung zu unterscheiden muss am Wortanfang "(?-i)" genutzt werden) . Sollte IPv6 aktiviert sein und es wird eine IPv4 Verbindung aufgebaut, werden die IPv6 Adressen nach IPv4 gewandelt (siehe: "::ffff:127.0.0.1"), Beispiele: "^((::ffff:)?123.45.67.89|192.160.*)$"`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
@@ -68,6 +93,11 @@
** Typ: integer
** Werte: 0 .. 9 (Standardwert: `6`)
* [[option_relay.network.ipv6]] *relay.network.ipv6*
** Beschreibung: `lauscht standardmäßig am IPv6 Socket (zusätzlich zu IPv4, welches als Standardprotokoll genutzt wird); mittels des Protokollnamens kann das IPv4 und IPv6 Protokoll, einzeln oder gemeinsam, erzwungen werden (siehe /help relay)`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* [[option_relay.network.max_clients]] *relay.network.max_clients*
** Beschreibung: `maximale Anzahl an Clients die mit einem Port verbunden sein dürfen`
** Typ: integer
+2 -2
View File
@@ -57,8 +57,8 @@ Befehle die in der Eingabezeile des Skript-Buffers eingegeben werden können:
Mausbefehle innerhalb des Skripten-Buffer:
Mausrad in der Liste scrollen
linker Mausknopf Skript anwählen
rechter Mausknopf Skript installieren/entfernen
linke Maustaste Skript anwählen
rechte Maustaste Skript installieren/entfernen
Beispiele:
/script search url
+1 -1
View File
@@ -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"`)
+95 -22
View File
@@ -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::
........................................
@@ -244,7 +300,7 @@ Beispiele:
/filter add irc_smart *,!*#weechat* irc_smart_filter *
filtert alle IRC join/part/quit Nachrichten:
/filter add joinquit * irc_join,irc_part,irc_quit *
filtert Nicks wenn diese den Channel betreten oder durch den Befehl "/names:" angezeigt werden:
filtert Nicks wenn diese den Channel betreten oder durch den Befehl "/names" angezeigt werden:
/filter add nicks * irc_366 *
filtert Nick "toto" im IRC Channel #weechat:
/filter add toto irc.freenode.#weechat nick_toto *
@@ -383,7 +439,7 @@ Beispiele:
/key reset meta-r
"Tab"-Taste nutzen um im Kontext "search" die Suche innerhalb eines Buffers zu beenden:
/key bindctxt search ctrl-I /input search_stop
Auswahl eines Nicknamens mittels mittlerem Mausknopf zeigt zusätzliche Informationen zu dem Nick an:
Auswahl eines Nicknamens mittels mittlerer Maustaste zeigt zusätzliche Informationen zu dem Nick an:
/key bindctxt mouse @item(buffer_nicklist):button3 /msg nickserv info ${nick}
........................................
@@ -549,9 +605,11 @@ Wird keine Datei angegeben dann werden alle Konfigurationen (WeeChat und Erweite
[command]*`set`* Konfigurationsparameter setzen::
........................................
/set [<option> [<value>]]
diff [<option> [<option>...]]
option: Name der zu ändernden Option (darf mit einem Joker '*' beginnen oder enden um mehrere Optionen anzuzeigen)
option: Name der zu ändernden Option (um mehrere Optionen anzuzeigen, darf der Name mit einem Joker '*' beginnen oder enden)
value: neuer Wert, den die Option erhalten soll
diff: es werden nur Optionen angezeigt, die geändert wurden
Abhängig von der ausgewählten Option, kann die Variable folgenden Inhalt haben:
boolean: on, off oder toggle
@@ -559,13 +617,17 @@ Abhängig von der ausgewählten Option, kann die Variable folgenden Inhalt haben
string : jede Zeichenkette ("" für eine leere Zeichenkette)
color : Name einer Farbe, ++Anzahl oder --Anzahl
Für alle Typen von Variablen kann die Zeichenkette "null" (ohne "") genutzt werden um den Wert der Option zu löschen (undefinierter Wert). Dies kann nur bei einigen Erweiterungen genutzt werden.
Für alle Typen von Variablen kann die Zeichenkette "null" (ohne "") genutzt werden, um den Wert der Option zu löschen (undefinierter Wert). Dies kann nur auf einige besondere Variablen (Erweiterungen) angewendet werden.
Beispiele:
Zeigt alle Optionen an die etwas mit highlight zu tun haben:
Zeigt alle Optionen an, die etwas mit highlight zu tun haben:
/set *highlight*
Fügt ein highlight-Wort hinzu:
/set weechat.look.highlight "word"
zeigt geänderte Optionen an:
/set diff
zeigt geänderte Optionen, der IRC Erweiterung, an:
/set diff irc.*
........................................
[[command_weechat_unset]]
@@ -587,19 +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]]
+10 -10
View File
@@ -204,7 +204,7 @@
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "_" für unterstrichen (Standardwert: `blue`)
* [[option_weechat.color.separator]] *weechat.color.separator*
** Beschreibung: `Hintergrundfarbe der Fenster-Separatoren im Chatfenster (bei geteiltem Bildschirm)`
** Beschreibung: `Farbe der Trennlinie von Fenstern (bei Fenster geteilt sind) und Bars (wie z.B. Nicklist)`
** Typ: Farbe
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "_" für unterstrichen (Standardwert: `blue`)
@@ -279,7 +279,7 @@
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "_" für unterstrichen (Standardwert: `default`)
* [[option_weechat.completion.base_word_until_cursor]] *weechat.completion.base_word_until_cursor*
** Beschreibung: `ist diese Option aktiviert, dann kann ein zu vervollständigendes Wort einem anderen Wort vorangestellt werden und es wird ein Leerzeichen zur Trennung hinzugefügt. Ist diese Funktion deaktiviert, muss man selber erst ein Leerzeichen einfügen um eine Vervollständigung vor einem anderen Wort ausführen zu können (zum Beispiel um einen Nick vor einen schon geschriebenen Text einzusetzen)`
** Beschreibung: `ist diese Option aktiviert wird ein zu vervollständigendes Wort in den fließenden Text, mit einem Leerzeichen, hinzugefügt. Ist diese Option deaktiviert, muss in den fließenden Text ein Leerzeichen manuell einfügt werden, um eine Vervollständigung durchführen zu können (Beispiel: In einen schon geschriebenen Text, einen Nick einzufügen)`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
@@ -339,7 +339,7 @@
** Werte: 0 .. 2147483647 (Standardwert: `5`)
* [[option_weechat.history.max_buffer_lines_minutes]] *weechat.history.max_buffer_lines_minutes*
** Beschreibung: `maximale Anzahl, in Minuten, wie Lange die Zeilen im Verlaufsspeicher, pro Buffer, gehalten werden sollen (0 = unbegrenzt, Beispiele: 1440 = einen Tag, 10080 = eine Woche, 43200 = einen Monat, 525600 = ein Jahr)`
** Beschreibung: `Zeitangabe, in Minuten, wie lange die Zeilen im Verlaufsspeicher, pro Buffer, gehalten werden sollen (0 = unbegrenzt, Beispiele: 1440 = einen Tag, 10080 = eine Woche, 43200 = einen Monat, 525600 = ein Jahr)`
** Typ: integer
** Werte: 0 .. 2147483647 (Standardwert: `0`)
@@ -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`)
@@ -564,7 +564,7 @@
** Werte: beliebige Zeichenkette (Standardwert: `"*"`)
* [[option_weechat.look.item_time_format]] *weechat.look.item_time_format*
** Beschreibung: `Format für die Zeitanzeige, "time", in der Bar-Item (siehe man strftime für Platzhalter für das Datum und die Uhrzeit)`
** Beschreibung: `Format für die Zeitanzeige des Bar-Items, "time" (siehe man strftime für Platzhalter für das Datum und die Uhrzeit)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"%H:%M"`)
@@ -609,7 +609,7 @@
** Werte: -1 .. 2147483647 (Standardwert: `1`)
* [[option_weechat.look.prefix_action]] *weechat.look.prefix_action*
** Beschreibung: `Präfixr Action-Nachrichten`
** Beschreibung: `Präfix, dass bei einer Action-Nachricht angezeigt wird. Durch das Format "${Farbe}" ist es möglich eine Farbauswahl zu treffen.`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `" *"`)
@@ -649,22 +649,22 @@
** Werte: beliebige Zeichenkette (Standardwert: `"+"`)
* [[option_weechat.look.prefix_error]] *weechat.look.prefix_error*
** Beschreibung: `Präfix für Fehlermeldungen`
** Beschreibung: `Präfix, dass bei einer Fehler-Nachricht angezeigt wird. Durch das Format "${Farbe}" ist es möglich eine Farbauswahl zu treffen.`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"=!="`)
* [[option_weechat.look.prefix_join]] *weechat.look.prefix_join*
** Beschreibung: `Präfixr Join-Nachrichten`
** Beschreibung: `Präfix, dass bei einer Join-Nachricht angezeigt wird. Durch das Format "${Farbe}" ist es möglich eine Farbauswahl zu treffen.`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"-->"`)
* [[option_weechat.look.prefix_network]] *weechat.look.prefix_network*
** Beschreibung: `Präfix für Netzwerkmeldungen`
** Beschreibung: `Präfix, dass bei einer Netzwerk-Nachricht angezeigt wird. Durch das Format "${Farbe}" ist es möglich eine Farbauswahl zu treffen.`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"--"`)
* [[option_weechat.look.prefix_quit]] *weechat.look.prefix_quit*
** Beschreibung: `Präfixr Quit-Nachrichten`
** Beschreibung: `Präfix, dass bei einer Quit-Nachricht angezeigt wird. Durch das Format "${Farbe}" ist es möglich eine Farbauswahl zu treffen.`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"<--"`)
+2 -2
View File
@@ -99,7 +99,7 @@
** Werte: 1024 .. 102400 (Standardwert: `65536`)
* [[option_xfer.network.fast_send]] *xfer.network.fast_send*
** Beschreibung: `wartet beim Versenden von Dateien nicht auf ein Bestätigungssignal (ACK)`
** Beschreibung: `beim Versenden von Daten wird nicht auf ein Bestätigungssignal (ACK) gewartet`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
@@ -109,7 +109,7 @@
** Werte: beliebige Zeichenkette (Standardwert: `""`)
* [[option_xfer.network.port_range]] *xfer.network.port_range*
** Beschreibung: `schränkt den ausgehenden Datenversand bzw. die Chats auf die ausschließliche Nutzung von Ports in einem vorgegebenen Bereich ein (hilfreich bei NAT) (Syntax: ein einzelner Port, z.B. 5000 oder ein Port-Bereich, z.B. 5000-5015. Es wird empfohlen Ports zu nutzen welche Größer als 1024 sind. Denn nur der User "root" kann auf den Port-Bereich <1024 zugreifen)`
** Beschreibung: `schränkt den ausgehenden Datenversand/Chats auf die ausschließliche Nutzung von Ports in einem vorgegebenen Bereich ein (hilfreich bei NAT) (Syntax: ein einzelner Port, z.B. 5000 oder ein Port-Bereich, z.B. 5000-5015. Es wird empfohlen nur Ports zu nutzen die über 1024 liegen. Denn nur der User "root" kann auf den Port-Bereich unter 1024 zugreifen)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
+79 -109
View File
@@ -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
* falls man SSL *NICHT* nutzt, sollte kein Zertifikat geladen werden. In diesem
Fall, einfach den Eintrag in folgender Option leer lassen:
'weechat.network.gnutls_ca_file'
* der Wert der Option 'weechat.history.max_buffer_lines_number' sollte möglichst
niedrig eingestellt werden oder die Option 'weechat.history.max_buffer_lines_minutes'
verwendet werden.
* nutze einen kleineren Wert für die Option 'weechat.history.max_commands'
[[development]]
Entwicklung
-----------
[[bug_task_patch]]
Was kann ich machen falls ich einen Fehler gefunden habe, nach neuen Funktionen fragen oder Patches einsenden möchte?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -827,7 +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?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+36 -28
View File
@@ -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!
+5 -3
View File
@@ -99,7 +99,8 @@ Argumente:
* 'version': Version des Skripts (String)
* 'license': Lizenz für das Skripts (String)
* 'description': kurze Beschreibung des Skripts (String)
* 'shutdown_function': Name der Funktion die beim Beenden des Skripts aufgerufen werden soll (String, optional)
* 'shutdown_function': Name der Funktion die beim Beenden des Skripts aufgerufen werden soll
(String, kann auch eine leere Zeichenkette sein)
* 'charset': Skript Zeichensatz (optional, liegt das Skript im UTF-8 Format vor kann dieser Wert
leer bleiben. UTF-8 ist der Standardzeichensatz) (String)
@@ -391,7 +392,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
|========================================
@@ -699,7 +701,7 @@ skript_optionen = {
"Option2" : "Wert2",
"Option3" : "Wert3",
}
for option, standardwert in skript_optionen.iteritems():
for option, standardwert in skript_optionen.items():
if not weechat.config_is_set_plugin(option):
weechat.config_set_plugin(option, standardwert)
----------------------------------------
+1 -1
View File
@@ -100,7 +100,7 @@ $ make install
Falls Du cmake nicht hast, ist es auch möglich die autotools zu nutzen:
----------------------------------------------------------
$ ./autogen.sh # (nur bei geklontem git Repository)
$ ./autogen.sh
$ ./configure --prefix=$HOME/weechat-git
$ make
$ make install
+338 -113
View File
@@ -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
^^^^^^^^^^^^^^^^^^^^^^^^^
[WARNING]
Ausschließlich das Kompilieren mittels cmake wird offiziell unterstützt. Autotools
sollte nur verwendet werden, falls man keine Möglichkeit hat, cmake zu nutzen. +
Das Erstellen mittels autotools benötigt zusätzliche Pakete und es ist langsamer
als cmake.
* Installation in das Systemverzeichnis (benötigt 'root' Privilegien):
----------------------------------------
$ ./autogen.sh
$ ./configure
$ make
% make install (als root)
@@ -157,6 +160,7 @@ $ make
* Installation in ein benutzerdefiniertes Verzeichnis:
----------------------------------------
$ ./autogen.sh
$ ./configure --prefix=/Pfad/zum/Verzeichnis
$ make
$ make install
@@ -166,21 +170,15 @@ $ make install
Git Quellen
~~~~~~~~~~~
Warnung: GIT Quellen sollten nur von erfahrenen Nutzern verwendet werden. Eventuell lassen
Warnung: Git Quellen sollten nur von erfahrenen Nutzern verwendet werden. Eventuell lassen
sich die Quellen nicht kompilieren oder der Code ist nicht stabil. Sie sind gewarnt!
Um die GIT Quellen zu beziehen nutzen Sie folgende Befehle:
Um die Git Quellen zu beziehen nutzen Sie folgende Befehle:
----------------------------------------
$ git clone git://git.sv.gnu.org/weechat.git
----------------------------------------
Sollten die autotools genutzt werden (und nicht cmake), muss dieses Skript ausgeführt werden:
----------------------------------------
$ ./autogen.sh
----------------------------------------
Folgen Sie bitte der Anleitung zur Erstellung aus Quellpaketen (siehe <<source_package,Quellpakete>>).
[[report_crashes]]
@@ -305,7 +303,6 @@ Sollte WeeChat abgestürzt sein, muss der Befehl `bt full` genutzt werden:
(gdb) bt full
----------------------------------------
[[usage]]
Nutzung
-------
@@ -558,6 +555,224 @@ Beispiele für eine vertikale und horizontale Fensteraufteilung:
(Buffer #3)
........................................
[[bars]]
Bars
~~~~
Eine 'Bar' ist ein Bereich, der neben dem Chatfenster, jedwede Art von Text enthalten kann.
Eine Bar kann mittels `weechat.bar.name.option` konfiguriert werden. Dabei steht `name`,
für den Namen der Bar und `option` für die Option für diese Bar.
Aufzählung von Bar-Optionen:
[width="100%",cols="2m,2,10",options="header"]
|========================================
| Option | Wert | Beschreibung
| type | `root`, `window` |
Eine Bar, vom Typ `root`, kann nur einmal, außerhalb von Fenstern, auf dem Bildschirm
dargestellt werden. Standardmäßig existiert keine `root` Bar. Eine solche Bar, mit Namen
'buffers', wird zum Beispiel durch das Skript 'buffers.pl' eingerichtet in welcher alle
geöffneten Buffer aufgeführt werden. +
Eine Bar, vom Typ `window`, wird in jedem einzelnen Fenster dargestellt, beispielsweise
wenn man das Fenster teilt (mit `/window splith` oder `/window splitv`). Die vier
standardmäßigen Bars ('title', 'status', 'input', 'nicklist'), sind vom Typ `window`.
| position | `top`, `bottom`, `left`, `right` |
Position der Bar: ober- oder unterhalb des Chatfensters, oder links/rechts davon.
| priority | integer ≥ 0 |
Priorität für die Bar: legt die Reihenfolge fest in der die Bars angeordnet werden sollen,
wenn mehrere Bars den selben Typ und Position besitzen. +
Die Bars werden vom Rand zur Mitte des Bildschirms gezeichnet. Eine höhere Priorität
bewirkt, dass die Bar näher am Rand gezeichnet wird. +
Beispiel: Die 'input' Bar hat eine Priorität von 1000 und wird somit vor der 'status' Bars
gezeichnet, da diese lediglich eine Priorität von 500 besitzt.
| size | integer ≥ 0 |
Die Größe der Bar: Anzahl der Spalten, falls die Bar links/rechts bzw. Anzahl an Zeilen falls
die Bar oben/unten dargestellt wird. Wird eine Größe `0` gewählt, dann wird die Größe der Bar
automatisch bestimmt.
| size_max | integer ≥ 0 |
Die maximale Größe der Bar, `0` = keine Limitierung (diese Option wird nur genutzt, falls die
Option `size` = `0` ist).
| color_bg | color |
Hintergrundfarbe, für die Bar.
| color_fg | color |
Textfarbe, für die Bar.
| color_delim | color |
Farbe der Trennzeichen, in der Bar.
| hidden | `on`, `off` |
Ist diese Option `on`, wird die Bar versteckt. +
Hinweis: anstelle dieser Option sollte vorzugsweise der `/bar` Befehl genutzt werden.
Beispiel: `/bar toggle nicklist` (siehe Befehl <<command_weechat_bar,/bar>>).
| separator | `on`, `off` |
Ist diese Option `on`, wird ein Separator (Linie) gezeichnet die eine Bar von anderen
Bars oder dem Chatbereich trennt.
| items | string |
Eine Aufzählung von 'items' (siehe <<bar_items,items>> für weitere Informationen).
| filling_left_right | `horizontal`, `vertical`, `columns_horizontal`, `columns_vertical` |
Art, wie der Inhalt der Bar die `links` oder `rechts` gezeichnet wird, dargestellt wird (siehe
<<bar_filling,filling>> für weitere Informationen).
| filling_top_bottom | `horizontal`, `vertical`, `columns_horizontal`, `columns_vertical` |
Art, wie der Inhalt der Bar die `oben` oder `unten` gezeichnet wird, dargestellt wird (siehe
<<bar_filling,filling>> für weitere Informationen).
| conditions | string |
Bedingungen, wann die Bar angezeigt wird (siehe <<bar_conditions,conditions>> für weitere
Informationen).
|========================================
[[bar_items]]
Items
^^^^^
Die Option 'items' ist ein String, mit einer Anzahl von Bar-Items. Diese werden
durch Komma voneinander getrennt (auf dem Bildschirm wird das Komma durch ein
Leerzeichen ersetzt) oder man nutzt ein "+" (Item werden ohne Leerzeichen
angezeigt).
Eine Liste von Bar-Items kann man sich mit dem Befehl `/bar listitems` anzeigen lassen.
Beispiel einer Bar mit den Items, "[time],buffer_number+:+buffer_plugin+.+buffer_name":
........................................
┌─────────────────────────────────────────────────────────────────────────────────────────┐
│[12:55] 3:irc/freenode.#weechat │
└─────────────────────────────────────────────────────────────────────────────────────────┘
........................................
[[bar_filling]]
Darstellung innerhalb einer Bar
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Es gibt vier Möglichkeiten Text innerhalb einer Bar darzustellen:
* `horizontal`: die Items werden horizontal, von links nach rechts, dargestellt.
Sollten neue Zeilen dargestellt werden, dann werden diese durch ein Leerzeichen
von der vorherigen getrennt.
* `vertical`: die Items werden von oben nach unten dargestellt. Neue Zeilen werden
neben der vorherigen dargestellt.
* `columns_horizontal`: Item werden in Spalten dargestellt, wobei der Text linksbündig
ausgerichtet ist. Das erste Item wird in der linken oberen Ecke angezeigt und das
zweite Item ist in der selben Zeile, auf der rechten Seite.
* `columns_vertical`: Item werden in Spalten dargestellt, wobei der Text linksbündig
ausgerichtet ist. Das erste Item wird in der linken oben Ecke angezeigt und das
zweite Item wird eine Zeile darunter angezeigt.
Die Standard-Bars 'title', 'status' und 'input' nutzen eine 'horizontal'
Darstellung und die Standard-Bar 'nicklist' nutzt eine 'vertical' Darstellung.
Einige Beispiele, wie die Bar 'nicklist' dargestellt werden kann:
........................................
┌──────────────────────────────────────────────────┐
│Welcome to #test, this is a test channel │
│12:54:15 peter | hey! │@carl │
│12:55:01 +Max | hello │@jessika│
│ │@maddy │
│ │%Diego │
│ │%Melody │
│ │+Max │
│ │ celia │
│ │ Eva │
│ │ freddy │
│ │ Harold^│
│ │ henry4 │
│ │ jimmy17│
│ │ jodie ▼│
│[12:55] [6] [irc/freenode] 3:#test(+n){24} │
└──────────────────────────────────────────────────┘
filling_left_right = vertical ▲
┌──────────────────────────────────────────────────┐
│Welcome to #test, this is a test channel │
│12:54:15 peter | hey! │@carl lee │
│12:55:01 +Max | hello │@jessika louise │
│ │@maddy mario │
│ │%Diego mark │
│ │%Melody peter │
│ │+Max Rachel │
│ │ celia richard│
│ │ Eva sheryl │
│ │ freddy Vince │
│ │ Harold^ warren │
│ │ henry4 zack │
│ │ jimmy17 │
│ │ jodie │
│[12:55] [6] [irc/freenode] 3:#test(+n){24} │
└──────────────────────────────────────────────────┘
filling_left_right = columns_vertical ▲
┌───────────────────────────────────────────────────────────────────────┐
│@carl %Diego celia Harold^ jodie mario Rachel Vince │
│@jessika %Melody Eva henry4 lee mark richard warren │
│@maddy +Max freddy jimmy17 louise peter sheryl zack │
│───────────────────────────────────────────────────────────────────────│
│ │
filling_top_bottom = columns_vertical ▲
┌───────────────────────────────────────────────────────────────────────┐
│@carl @jessika @maddy %Diego %Melody +Max celia Eva │
│ freddy Harold^ henry4 jimmy17 jodie lee louise mario │
│ mark peter Rachel richard sheryl Vince warren zack │
│───────────────────────────────────────────────────────────────────────│
│ │
filling_top_bottom = columns_horizontal ▲
........................................
[[bar_conditions]]
Bedingungen
^^^^^^^^^^^
Die Option 'conditions' ist eine Zeichenkette die direkten Einfluss darauf
nimmt, ob die Bar in einem Fenster dargestellt wird oder nicht (diese Option
kann nur für Bars vom Typ 'window' genutzt werden).
Folgende Zeichenketten sind möglich:
* 'active': das Fenster muss das aktive Fenster sein
* 'inactive': das Fenster muss das inaktive Fenster sein
* 'nicklist': der Buffer der in einem Fenster dargestellt wird, muss eine
Nickliste anzeigen.
* ein Ausdruck: wird als boolescher Wert ausgewertet (siehe Befehl
<<command_weechat_eval,/eval>>)
Für den Ausdruck sind folgende Variablen verfügbar:
* `${active}`: wahr, wenn Fenster aktiv ist
* `${inactive}`: wahr, wenn Fenster inaktiv ist
* `$[nicklist}`: wahr, wenn der Buffer im Fenster eine Nicklist anzeigt.
Folgende Zeiger sind verfügbar:
* `${window}`: das Fenster in dem der Zustand ausgewertet wird
* `${buffer}`: der Buffer eines Fensters in dem der Zustand ausgewertet wird
Beispiel wie man die Bar-Nicklist in allen Buffer, die eine Nicklist besitzen,
darstellt, aber nur wenn das Fenster eine Mindestbreite von > 100 Pixeln aufweist:
----------------------------------------
/set weechat.bar.nicklist.conditions "${nicklist} && ${window.win_width} > 100"
----------------------------------------
Gleiche Bedingungen, aber die Nickliste wird im Buffer '&bitlbee' immer angezeigt
(auch wenn das Fenster kleiner als 100 Pixel ist):
----------------------------------------
/set weechat.bar.nicklist.conditions "${nicklist} && (${window.win_width} > 100 || ${buffer.full_name} == irc.bitlbee.&bitlbee)"
----------------------------------------
[[notify_levels]]
Benachrichtigungsstufen
~~~~~~~~~~~~~~~~~~~~~~~
@@ -677,8 +892,7 @@ Tastenbefehle für Buffer / Fenster
| @k(C-)@k(l) | Fenster wird neu gezeichnet | /window refresh
| @k(C-)@k(s) , @k(C-)@k(u) | setzt für alle Buffer die Markierung für ungelesene Nachrichten | /input set_unread
| @k(C-)@k(x) | sind mehrere Buffer zu einem Buffer zusammen gefügt wechselt man diese durch | /input switch_active_buffer
// TRANSLATION MISSING
| @k(A-)@k(x) | Zoom on merged buffer (@k(A-)@k(x) again: display all merged buffers) | /input zoom_merged_buffer
| @k(A-)@k(x) | Zoom eines zusammengefügten Buffers (@k(A-)@k(x) ein zweites mal: alle zusammengefügten Buffer werden angezeigt) | /input zoom_merged_buffer
| @k(PgUp) | eine Seite im Verlaufsspeicher des Buffers nach oben blättern | /window page_up
| @k(PgDn) | eine Seite im Verlaufsspeicher des Buffer nach unten blättern | /window page_down
| @k(A-)@k(PgUp) | einige Zeilen im Verlaufsspeicher des Buffer nach oben blättern | /window scroll_up
@@ -779,23 +993,22 @@ Tasten für "mouse"-Kontext
Diese Tasten werden im Kontext "mouse" verwendet, wenn eine Mausfunktion genutzt worden ist.
// TRANSLATION MISSING (6)
[width="100%",cols="^.^3,^.^3,^.^3,.^10,.^8l",options="header"]
|========================================
| Maustaste ^(1)^ | Mausgeste | Bereich | Beschreibung | Befehl
| ◾◽◽ | - | Chat | wechselt zum Fenster | /window ${_window_number}
| ◾◽◽ | links | Chat | zum vorherigen Buffer springen | /window ${_window_number};/buffer +1
| ◾◽◽ | rechts | Chat | zum nächsten Buffer springen | /window ${_window_number};/buffer +1
| ◾◽◽ | links(lang) | Chat | Switch to first buffer | /window ${_window_number};/buffer 1
| ◾◽◽ | links(lang) | Chat | wechselt zum ersten Buffer | /window ${_window_number};/buffer 1
| ◾◽◽ | rechts(lang) | Chat | wechselt zum letzten Buffer | /window ${_window_number};/input jump_last_buffer
| ◾◽◽ | - | chat (script buffer) | Select line in script buffer | /script go ${_chat_line_y}
| ◽◽◾ | - | chat (script buffer) | Install/remove script | /script go ${_chat_line_y};/script installremove -q ${script_name_with_extension}
| ⇑ | - | Chat | einige Zeilen im Verlaufsspeicher des Buffer nach oben blättern | /window scroll_up -window ${_window_number}
| ⇓ | - | Chat | einige Zeilen im Verlaufsspeicher des Buffer nach unten blättern | /window scroll_down -window ${_window_number}
| ⇑ | - | chat (script buffer) | Move 5 lines up in script buffer | /script up 5
| ⇓ | - | chat (script buffer) | Move 5 lines down in script buffer | /script down 5
| @k(C-)⇑ | - | chat | Scroll horizontally to the left | /window scroll_horiz -window ${_window_number} -10%
| @k(C-)⇓ | - | chat | Scroll horizontally to the right | /window scroll_horiz -window ${_window_number} +10%
| ◾◽◽ | - | chat (script buffer) | wählt einen Eintrag im Script-Buffer aus | /script go ${_chat_line_y}
| ◽◽◾ | - | chat (script buffer) | installiert/entfernt ein Skript | /script go ${_chat_line_y};/script installremove -q ${script_name_with_extension}
| ⇑ | - | Chat | mehrere Zeilen im Verlaufsspeicher des Buffer nach oben blättern | /window scroll_up -window ${_window_number}
| ⇓ | - | Chat | mehrere Zeilen im Verlaufsspeicher des Buffer nach unten blättern | /window scroll_down -window ${_window_number}
| ⇑ | - | chat (script buffer) | fünf Zeilen nach oben blättern, im Script-Buffer | /script up 5
| ⇓ | - | chat (script buffer) | fünf Zeilen nach unten blättern, im Script-Buffer | /script down 5
| @k(C-)⇑ | - | chat | horizontal, nach links scrollen | /window scroll_horiz -window ${_window_number} -10%
| @k(C-)⇓ | - | chat | horizontal, nach rechts scrollen | /window scroll_horiz -window ${_window_number} +10%
| ◾◽◽ | hoch | Nickliste | Nickliste um eine Seite nach oben blättern | /bar scroll nicklist ${_window_number} -100%
| ◾◽◽ | runter | Nickliste | Nickliste um eine Seite nach unten blättern | /bar scroll nicklist ${_window_number} +100%
| ◾◽◽ | hoch(lang) | Nickliste | springt zum Anfang der Nickliste | /bar scroll nicklist ${_window_number} b
@@ -811,9 +1024,8 @@ Diese Tasten werden im Kontext "mouse" verwendet, wenn eine Mausfunktion genutzt
| ◽◾◽ | - | überall | aktiviert den Cursor-Modus an dieser Position | /cursor go ${_x},${_y}
|========================================
// TRANSLATION MISSING
[NOTE]
^(1)^ "⇑" and "⇓" are wheel up and down.
^(1)^ "⇑" und "⇓" sind Symbole für Mausrad hoch/runter.
[[mouse]]
Mausunterstützung
@@ -855,16 +1067,16 @@ einigen Terminals muss die @k(-A-)-Taste anstelle der @k(-S-)-Taste gedrückt we
Sollten Probleme bei der Mausunterstützung auftreten, dann sollte Bitte die 'WeeChat FAQ' gelesen werden.
[[mouse_bind_events]]
Einem Maus-Event, Befehle zuweisen
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Befehle einem Maus-Ereignis zuweisen
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Es gibt eine Anzahl von Maus-Events die schon standardmäßig durch
WeeChat definiert sind (siehe <<key_bindings_mouse_context,Tasten für "mouse"-Kontext>>).
Es gibt eine Anzahl von Maus-Ereignissen, die standardmäßig durch WeeChat definiert
sind (siehe <<key_bindings_mouse_context,Tasten für "mouse"-Kontext>>).
Man kann mit dem Befehl `/key` im Kontext "mouse" aber auch eigene Befehle zuweisen
und löschen (für die Syntax, siehe <<command_weechat_key,/key Befehl>>).
Der Name eines Events besteht aus einem Modifier (optional), einer Maustaste/Mausrad
Der Name eines Ereignisses besteht aus einem Modifier (optional), einer Maustaste/Mausrad
und der Mausgeste (optional). Die unterschiedlichen Elemente werden durch ein "-" getrennt.
Liste der Modifiers:
@@ -894,15 +1106,24 @@ Liste der Mausgesten (nur für Maustasten, nicht für das Mausrad, anwendbar):
[width="50%",cols="3m,4",options="header"]
|========================================
| Mausgeste | Distanz
| Bewegung hoch | 3 ... 19
| Bewegung hoch (lang) | ≥ 20
| Bewegung runter | 3 ... 19
| Bewegung runter (lang) | ≥ 20
| Bewegung links | 3 ... 39
| Bewegung links (lang) | ≥ 40
| Bewegung rechts | 3 ... 39
| Bewegung rechts (lang) | ≥ 40
| Mausgeste | Distanz
| gesture-up | 3 ... 19
| gesture-up-long | ≥ 20
| gesture-down | 3 ... 19
| gesture-down-long | ≥ 20
| gesture-left | 3 ... 39
| gesture-left-long | ≥ 40
| gesture-right | 3 ... 39
| gesture-right-long | ≥ 40
|========================================
Liste von unvollständigen Ereignissen (nur für Mausknopf, nützlich für Erweiterungen/Skripten):
[width="50%",cols="3m,4",options="header"]
|========================================
| Ereignis | Beschreibung
| event-down | Mausknopf ist gedrückt
| event-drag | Maus wurde mit gedrücktem Mausknopf bewegt
|========================================
Bespiele von Ereignissen:
@@ -910,6 +1131,8 @@ Bespiele von Ereignissen:
* `button1`
* `ctrl-button1`
* `button1-gesture-right`
* `button1-event-down`
* `button1-event-drag`
* `alt-button2-gesture-down-long`
* `wheelup`
* `ctrl-alt-wheeldown`
@@ -1190,7 +1413,6 @@ WeeChat Befehle
include::autogen/user/weechat_commands.txt[]
[[plugins]]
Erweiterungen
-------------
@@ -1302,6 +1524,34 @@ Um zum Beispiel die Option "ignore-case" einzuschalten:
/set aspell.option.ignore-case "true"
----------------------------------------
[[aspell_suggestions]]
Rechtschreibkorrektur
^^^^^^^^^^^^^^^^^^^^^
Eine Rechtschreibkorrektur wird in der Bar-Item "aspell_suggest" angezeigt.
Die Anzahl an Vorschlägen, für die Rechtschreibkorrektur, kann mit der Option
'aspell.check.suggestions' bestimmt werden.
Um die Rechtschreibkorrektur zu aktivieren, muss für die Option 'aspell.check.suggestions'
ein Wert ≥ 0 eingestellt werden und das Bar-Item "aspell_suggest" zu einer Bar, zum
Beispiel 'status', hinzufügt werden.
Beispiel der Rechtschreibkorrektur, mit einem deutschen Wörterbuch (`de`):
........................................
│[12:55] [6] [irc/freenode] 3:#test(+n){4} [dies,Diebs,Viehs] │
│[@Flashy] diehs █ │
└─────────────────────────────────────────────────────────────────────────────────┘
........................................
Beispiel der Rechtschreibkorrektur, mit zwei Wörterbüchern (`en,de`):
........................................
│[12:55] [6] [irc/freenode] 3:#test(+n){4} [print,prone,prune/Prinz] │
│[@Flashy] prinr █ │
└─────────────────────────────────────────────────────────────────────────────────┘
........................................
[[charset_plugin]]
Charset Erweiterung
~~~~~~~~~~~~~~~~~~~
@@ -1745,29 +1995,36 @@ mit dem entsprechenden Wert ersetzt:
[width="100%",cols="^2l,4,8l",options="header"]
|========================================
| Platzhalter | Beschreibung | Wert/Beispiel
| $clientinfo | Liste der CTCP Antworten | ACTION DCC CLIENTINFO FINGER PING SOURCE TIME USERINFO VERSION
| $version | WeeChat Version | 0.3.0
| $compilation | Datum der Kompilierung | Sep 13 2009
| $osinfo | Info über das genutzte OS | Linux 2.6.31 / i686
| $site | WeeChat Seite | http://www.weechat.org
| $download | WeeChat, download Seite | http://www.weechat.org/download
| $time | aktuelle Uhrzeit/Datum | Sun, 13 Sep 2009 15:48:31 +0200
| $username | Username beim IRC Server | Nick
| $realname | Realname beim IRC Server | mein Name
| Platzhalter | Beschreibung | Wert/Beispiel
| $clientinfo | Liste der CTCP Antworten | ACTION DCC CLIENTINFO FINGER PING SOURCE TIME USERINFO VERSION
| $version | WeeChat Version | 0.4.0-dev
| $versiongit | WeeChat Version + Git version | 0.4.0-dev (git: v0.3.9-104-g7eb5cc4)
| $git | Git Version | v0.3.9-104-g7eb5cc4
| $compilation | Datum der Kompilierung | Dec 16 2012
| $osinfo | Info über das genutzte OS | Linux 2.6.32-5-amd64 / x86_64
| $site | WeeChat Seite | http://www.weechat.org/
| $download | WeeChat, Download Seite | http://www.weechat.org/download
| $time | aktuelle Uhrzeit/Datum | Sun, 16 Dec 2012 10:40:48 +0100
| $username | Username beim IRC Server | Name
| $realname | Realname beim IRC Server | John Doe
|========================================
[NOTE]
Die Git Version wird durch die Ausgabe des Befehls `git describe` ermittelt.
Dies erfordert, dass WeeChat aus dem Git Repository heraus kompiliert wurde
und das Git überhaupt installiert ist.
Falls CTCP Optionen nicht festgelegt sind, lauten die CTCP Antworten:
[width="100%",cols="^2,4l,8l",options="header"]
|========================================
| CTCP | Antwortformat | Beispiel
| CLIENTINFO | $clientinfo | ACTION DCC CLIENTINFO FINGER PING SOURCE TIME USERINFO VERSION
| FINGER | WeeChat $version | WeeChat 0.3.0
| SOURCE | $download | http://www.weechat.org/download
| TIME | $time | Sun Sep 13 15:48:31 2009
| USERINFO | $username ($realname) | Nick (mein Name)
| VERSION | WeeChat $version ($compilation) | WeeChat 0.3.0 (Sep 13 2009)
| CTCP | Antwortformat | Beispiel
| CLIENTINFO | $clientinfo | ACTION DCC CLIENTINFO FINGER PING SOURCE TIME USERINFO VERSION
| FINGER | WeeChat $versiongit | WeeChat 0.4.0-dev (git: v0.3.9-104-g7eb5cc4)
| SOURCE | $download | http://www.weechat.org/download
| TIME | $time | Sun, 16 Dec 2012 10:40:48 +0100
| USERINFO | $username ($realname) | Name (John Doe)
| VERSION | WeeChat $versiongit ($compilation) | WeeChat 0.4.0-dev (git: v0.3.9-104-g7eb5cc4) (Dec 16 2012)
|========================================
[[irc_target_buffer]]
@@ -1846,10 +2103,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 +2120,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 +2465,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 +2551,6 @@ Befehle
include::autogen/user/xfer_commands.txt[]
[[authors]]
Autoren
-------
[[developers]]
Entwickler
~~~~~~~~~~
Hauptentwickler::
Sébastien Helleu (FlashCode)
[[contributors]]
Liste der Beitragenden
~~~~~~~~~~~~~~~~~~~~~~
Paket Ersteller::
Emmanuel Bouthenot (kolter), Julien Louis (ptitlouis), Odin
Übersetzungen::
Jiri Golembiovsky (GolemJ), soltys, Nils Görs (nils_2), rettub,
Frank Zacharias, Pavel Shevchuk, Elián Hanisch (m4v), Voroskoi,
Marco Paolone, Ivan Sichmann Freitas, Lázaro A., Ryuunosuke Ayanokouzi,
Quico Noizeux
Patches::
Dmitry Kobylin, Rudolf Polzer, Jim Ramsay, Pistos, Gwenn, Dominik Honnef,
JD Horelick, Stefano Pigozzi, Gu1ll4um3r0m41n, Kyle Fuller,
Quentin Glidic (SardemFF7), Simon Kuhnle, Mateusz Poszwa, Peter Boström,
Arvydas Sidorenko
[[support]]
Unterstützung
-------------
@@ -2338,8 +2564,7 @@ Wie erhalte ich Unterstützung:
* IRC: Server 'irc.freenode.net', Channels '#weechat' (englisch) und
'#weechat-fr' (französisch)
* WeeChat Forum: http://forums.flashtux.org/
* Mailing Liste:
** eintragen: http://mail.nongnu.org/mailman/listinfo/weechat-support
** Bestellen: http://mail.nongnu.org/mailman/listinfo/weechat-support
** sende email an: weechat-support@nongnu.org
** Archiv: http://mail.nongnu.org/archive/html/weechat-support
+6 -2
View File
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
#
# Copyright (C) 2008-2012 Sébastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2008-2013 Sébastien Helleu <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -231,10 +231,14 @@ def get_hdata():
if variables_update:
variables_update += ' +\n'
variables_update += ' %s' % item['text']
if weechat.hdata_update(ptr_hdata, '', { '__create_allowed' : '' }):
if variables_update:
variables_update += ' +\n'
variables_update += ' `__create`'
if weechat.hdata_update(ptr_hdata, '', { '__delete_allowed' : '' }):
if variables_update:
variables_update += ' +\n'
variables_update += ' \'__delete\''
variables_update += ' `__delete`'
hdata[plugin][hdata_name]['vars'] = '\n%s' % variables
hdata[plugin][hdata_name]['vars_update'] = '\n%s' % variables_update
+1 -1
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
+1 -1
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2006 Julien Louis <ptitlouis@sysif.net>
#
# This file is part of WeeChat, the extensible chat client.
+11 -6
View File
@@ -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) +
@@ -365,6 +367,7 @@
'items_num_lines' (pointer) +
'items_refresh_needed' (pointer) +
'screen_col_size' (integer) +
'screen_lines' (integer) +
'coords_count' (integer) +
'coords' (pointer) +
'gui_objects' (pointer) +
@@ -559,8 +562,10 @@
'text' (string) +
'next_history' (pointer, hdata: "history") +
'prev_history' (pointer, hdata: "history") |
|
-
`__create` +
`__delete` |
'gui_history' +
'last_gui_history'
| weechat | hotlist | hotlist |
'priority' (integer) +
+2
View File
@@ -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
+5
View File
@@ -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
+24 -6
View File
@@ -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]]
+13 -3
View File
@@ -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)`
+11 -3
View File
@@ -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
........................................
+31 -1
View File
@@ -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
+79 -6
View File
@@ -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]]
+6 -6
View File
@@ -204,7 +204,7 @@
** values: a WeeChat color name (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), a terminal color number or an alias; attributes are allowed before color (for text color only, not background): "*" for bold, "!" for reverse, "_" for underline (default value: `blue`)
* [[option_weechat.color.separator]] *weechat.color.separator*
** description: `background color for window separators (when split)`
** description: `color for window separators (when split) and separators beside bars (like nicklist)`
** type: color
** values: a WeeChat color name (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), a terminal color number or an alias; attributes are allowed before color (for text color only, not background): "*" for bold, "!" for reverse, "_" for underline (default value: `blue`)
@@ -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: `"<--"`)
+42 -48
View File
@@ -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
@@ -306,7 +319,7 @@ Translations for WeeChat and plugins are done with gettext, files are in 'po/' d
|========================================
| Path/file | Description
| po/ | Translation files (gettext)
| XX.po | Translations for language XX (fr, de, it, ...), base language is english
| XX.po | Translations for language XX (fr, de, it, ...), base language is English
| weechat.pot | Template for translations (auto-built)
|========================================
@@ -326,7 +339,7 @@ General rules
[source,C]
----------------------------------------
/*
* Copyright (C) 2012 Your Name <your@email.com>
* Copyright (C) 2013 Your Name <your@email.com>
*
* This file is part of WeeChat, the extensible chat client.
*
@@ -358,16 +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);
@@ -385,7 +405,7 @@ foo ()
----------------------------------------
* Use explicit variable names, for example "nicks_count" instead of "n" or "nc".
Exception: in `for` loops, where variables like "i" or "n" are ok.
Exception: in `for` loops, where variables like "i" or "n" are OK.
* Initialize local variables after declaration, in body of function, example:
[source,C]
@@ -401,7 +421,7 @@ foo ()
}
----------------------------------------
* Use parentheses to explicitely show how expression is evaluated, even if
* Use parentheses to explicitly show how expression is evaluated, even if
they are not required, for example: write `x + (y * z)` instead of `x + y * z`
* Place curly brackets `{ }` alone on lines, and indent them with number of
spaces used for line above opening curly bracket (the `if` in example):
@@ -414,34 +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 *
@@ -944,7 +945,7 @@ Where 'component' is one of following:
Some rules to follow:
* use only english
* use only English
* use infinitive form of verb
* if commit is related to something in tracker (bug, task, patch), write it
in parenthesis after the message (format: bug #12345, task #12345, patch #12345)
@@ -956,7 +957,7 @@ core: add callback "nickcmp" for nick comparison in buffers
irc: fix freeze when reading on socket with SSL enabled (bug #35097)
ruby: add detection of ruby version 1.9.3 in cmake
python: fix crash when unloading a script without pointer to interpreter
core: update japanese translations (patch #7783)
core: update Japanese translations (patch #7783)
----------------------------------------
[[translations]]
@@ -976,23 +977,16 @@ $ cd po
$ msginit -i weechat.pot -l nl_NL -o nl.po
----------------------------------------
Base language for WeeChat is english, so you must of course understand english
Base language for WeeChat is English, so you must of course understand English
in order to translate to your language.
When done, you *have* to check your file with two commands:
When done, you *have* to check your file with script 'msgcheck.py'
(https://github.com/flashcode/msgcheck):
----------------------------------------
$ msgfmt -o /dev/null -c xx.po
$ msg_check_lines.py xx.po
$ msgcheck.py xx.po
----------------------------------------
The `msgfmt` will perform checks on message catalog and display errors, like bad
use of format specifiers in strings.
The script msg_check_lines.py (http://www.weechat.org/files/temp/po/msg_check_lines.py)
will check number of lines in translated strings (which must be the same as
string in english).
[[build_autogen_files]]
Build auto-generated files
++++++++++++++++++++++++++
@@ -1025,7 +1019,7 @@ Asciidoc
Asciidoc files are in directory 'doc/XX/' where 'XX' is language (en, fr, de, it, ...)
First make a copy of an english asciidoc file (in directory 'doc/en/'), then work on it.
First make a copy of an English asciidoc file (in directory 'doc/en/'), then work on it.
The translations missing in files are indicated by this string:
+79 -109
View File
@@ -12,7 +12,6 @@ used with latest stable version of WeeChat.
General
-------
[[weechat_name]]
Where does the name "WeeChat" come from?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -23,7 +22,6 @@ So complete name is "Wee Enhanced Environment for Chat".
"Wee" also means "very small" (and yes, there is other meaning, but it does not
apply to WeeChat!).
[[why_choose_weechat]]
Why choose WeeChat? X-Chat and Irssi are so good...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -54,12 +52,10 @@ Some features (version ≥ 0.3.x):
More info on this page: http://www.weechat.org/features
[[compilation_install]]
Compilation / install
---------------------
[[gui]]
I heard about many GUI's for WeeChat. How can I compile/use them?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -68,7 +64,6 @@ Today only a Curses GUI is available.
Other GUI's will be available as remote clients (currently under development).
[[compile_git]]
I can't compile WeeChat after cloning git repository, why?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -83,7 +78,6 @@ This package is built almost every day using git repository. Note that this
package may not correspond exactly to git base and that it's less convenient
than git cloning for installing updates.
[[lost]]
I've launched WeeChat, but I'm lost, what can I do?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -94,12 +88,10 @@ Keys and commands are listed in documentation.
It's recommended for new users to read the quickstart guide (see the doc page
on the website).
[[display]]
Display
-------
[[charset]]
I don't see some chars with accents, what can I do?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -126,7 +118,6 @@ UTF-8 locale is recommended for WeeChat. If you're using ISO or other
locale, please check that *all* your settings (terminal, screen, ..) are ISO
and *not* UTF-8.
[[bars_background]]
Bars like title and status are not filled, background color stops after text, why?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -143,7 +134,6 @@ Depending on where you launch WeeChat, you should have:
If needed, fix your TERM variable: `export TERM="xxx"`.
[[screen_weird_chars]]
When I'm using weechat under screen/tmux, I have weird random chars, how do I fix that?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -152,11 +142,10 @@ This may be caused by bad value of the TERM variable in your shell (look at
output of `echo $TERM` in your terminal, *outside screen/tmux*).
For example, 'xterm-color' may display such weird chars, you can use 'xterm'
which is ok (like many other values).
which is OK (like many other values).
If needed, fix your TERM variable: `export TERM="xxx"`.
[[osx_display_broken]]
I compiled WeeChat under OS X, and I see "(null)" everywhere on screen, what's wrong?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -167,7 +156,6 @@ system).
Moreover, under OS X, it is recommended to install WeeChat with Homebrew package
manager.
[[buffer_vs_window]]
I heard about "buffers" and "windows", what's the difference?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -181,7 +169,6 @@ your screen into many windows.
Each window displays one buffer. A buffer can be hidden (not displayed by a
window) or displayed by one or more windows.
[[buffers_list]]
How to display the buffers list on the left side?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -200,7 +187,6 @@ To move bar to bottom:
/set weechat.bar.buffers.position bottom
----------------------------------------
[[customize_prefix]]
How can I reduce length of nicks or remove nick alignment in chat area?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -217,7 +203,6 @@ To remove nick alignment:
/set weechat.look.prefix_align none
----------------------------------------
[[input_bar_size]]
How to use command line with more than one line?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -238,7 +223,6 @@ Max size of 2:
/set weechat.bar.input.size_max 2
----------------------------------------
[[one_input_root_bar]]
Is it possible to display only one input bar for all windows (after split)?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -261,7 +245,6 @@ any bar:
/bar del rootinput
----------------------------------------
[[terminal_copy_paste]]
How can I copy/paste text without pasting nicklist?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -275,13 +258,12 @@ Another solution is to move nicklist to top or bottom, for example:
/set weechat.bar.nicklist.position top
----------------------------------------
[[urls]]
How can I click on long URLs (more than one line)?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
By default, WeeChat displays time and prefix for each line and optional bars
around chat area. To make easier url click, you can move nicklist to top and
around chat area. To make easier URL click, you can move nicklist to top and
remove alignment on nick:
----------------------------------------
@@ -292,7 +274,7 @@ remove alignment on nick:
With WeeChat ≥ 0.3.6, you can enable option "eat_newline_glitch", so that
new line char is not added at the end of each line displayed (it will not break
url selection):
URL selection):
----------------------------------------
/set weechat.look.eat_newline_glitch on
@@ -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?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -333,10 +314,9 @@ and issue these commands when script is loaded:
/upgrade
----------------------------------------
To have english messages with UTF-8 encoding for terminal, for ISO users, you
To have English messages with UTF-8 encoding for terminal, for ISO users, you
can issue: `/shell setenv LANG=en_US`.
[[256_colors]]
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?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+199 -36
View File
@@ -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]
@@ -6236,6 +6303,10 @@ If your message has some tabs and if you don't want prefix, then use a space,
a tab, then message (see example below): this will disable prefix (the space
before tab will not be displayed).
[NOTE]
With two tabs ("\t") at beginning of message, time will not be displayed and
message will have no alignment at all (like the message "Day changed to").
C example:
[source,C]
@@ -6244,6 +6315,8 @@ weechat_printf (NULL, "Hello on WeeChat buffer");
weechat_printf (buffer, "Hello on this buffer");
weechat_printf (buffer, "%sThis is an error!", weechat_prefix ("error"));
weechat_printf (buffer, " \tMessage without prefix but with \t some \t tabs");
weechat_printf (buffer, "\t\tMessage without time/alignment");
weechat_printf (buffer, "\t\t"); /* empty line (without time) */
----------------------------------------
Script (Python):
@@ -6258,6 +6331,8 @@ weechat.prnt("", "Hello on WeeChat buffer")
weechat.prnt(buffer, "Hello on this buffer")
weechat.prnt(buffer, "%sThis is an error!" % weechat.prefix("error"))
weechat.prnt(buffer, " \tMessage without prefix but with \t some \t tabs")
weechat.prnt(buffer, "\t\tMessage without time/alignment")
weechat.prnt(buffer, "\t\t") # empty line (without time)
----------------------------------------
[NOTE]
@@ -6851,6 +6926,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 +7083,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 +7142,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 +7157,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 +7215,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 +7247,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 +7257,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 +7269,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 +7299,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 +7353,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 +7398,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, "",
@@ -7371,6 +7521,11 @@ Arguments:
|========================================
| Plugin | Signal | Arguments | Description
| aspell | aspell_suggest +
(_new in version 0.4.0_) |
pointer: buffer |
new suggestions for a misspelled word
| guile | guile_script_loaded +
(_new in version 0.3.9_) |
string: path to script |
@@ -7700,15 +7855,15 @@ Arguments:
paste pending
| weechat | input_search |
- |
pointer: buffer |
text search in buffer
| weechat | input_text_changed |
- |
pointer: buffer |
input text changed
| weechat | input_text_cursor_moved |
- |
pointer: buffer |
input text cursor moved
| weechat | key_pressed |
@@ -7754,7 +7909,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 +
@@ -7839,6 +7994,8 @@ Arguments:
** 'void *signal_data': data sent with signal
** return value:
*** 'WEECHAT_RC_OK'
*** 'WEECHAT_RC_OK_EAT' (stop sending the signal immediately)
(_new in version 0.4.0_)
*** 'WEECHAT_RC_ERROR'
* 'callback_data': pointer given to callback when it is called by WeeChat
@@ -8107,6 +8264,8 @@ pattern.
** 'struct t_hashtable *hashtable': hashtable
** return value:
*** 'WEECHAT_RC_OK'
*** 'WEECHAT_RC_OK_EAT' (stop sending the signal immediately)
(_new in version 0.4.0_)
*** 'WEECHAT_RC_ERROR'
* 'callback_data': pointer given to callback when it is called by WeeChat
@@ -10010,7 +10169,7 @@ Arguments:
set cursor position in buffer input
| input_get_unknown_commands | "0" or "1" |
"0" to disable unknown commands on this buffer (default behaviour), "1" to
"0" to disable unknown commands on this buffer (default behavior), "1" to
get unknown commands, for example if user type "/unknowncmd", buffer will
receive it (no error about unknown command)
@@ -11734,7 +11893,7 @@ void weechat_command (struct t_gui_buffer *buffer, const char *command);
Arguments:
* 'buffer': buffer pointer (command is executed on this buffer, use NULL for
WeeChat core buffer)
current buffer)
* 'command': command to execute (if beginning with a "/"), or text to send to
buffer
@@ -12770,7 +12929,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 +12949,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 +12964,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 +12986,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 +14098,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 +14207,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):
+14 -6
View File
@@ -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`)
+3 -3
View File
@@ -416,7 +416,7 @@ There are two different identifiers ('id'):
* 'id' sent by 'client': 'relay' will answer with same 'id' in its answer
* 'id' of an event: on some events, 'relay' will send message to 'client' using
a speficic 'id', beginning with underscore (see table below)
a specific 'id', beginning with underscore (see table below)
WeeChat reserved identifiers:
@@ -466,7 +466,7 @@ WeeChat reserved identifiers:
| _buffer_localvar_changed | Local variable changed | buffer |
'number' (integer), 'full_name' (string), 'local_variables' (hashtable) |
Change local variable inbuffer
Change local variable in buffer
| _buffer_localvar_removed | Local variable removed | buffer |
'number' (integer), 'full_name' (string), 'local_variables' (hashtable) |
@@ -782,7 +782,7 @@ A 'info' contains a name and a value (both are strings).
* 'name' (string): name of info
* 'value' (string): value
Exemple of info 'version':
Example of info 'version':
.......................................
┌─────────┬───────────────────┐
+8 -6
View File
@@ -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
|========================================
@@ -685,7 +687,7 @@ script_options = {
"option2" : "value2",
"option3" : "value3",
}
for option, default_value in script_options.iteritems():
for option, default_value in script_options.items():
if not weechat.config_is_set_plugin(option):
weechat.config_set_plugin(option, default_value)
----------------------------------------
@@ -789,7 +791,7 @@ message received, so that you can modify it.
----------------------------------------
def modifier_cb(data, modifier, modifier_data, string):
# add server name to all messages received
# (ok that's not very useful, but that's just an example!)
# (OK that's not very useful, but that's just an example!)
return "%s %s" % (string, modifier_data)
weechat.hook_modifier("irc_in_privmsg", "modifier_cb", "")
+1 -1
View File
@@ -94,7 +94,7 @@ $ make install
If you don't have cmake, it's still possible to use autotools:
----------------------------------------------------------
$ ./autogen.sh # (only if you cloned git repository)
$ ./autogen.sh
$ ./configure --prefix=$HOME/weechat-git
$ make
$ make install
+290 -69
View File
@@ -47,7 +47,6 @@ In order to install WeeChat, you need:
* 'root' privileges (to install WeeChat in a system directory)
* ncurses library
[[install]]
Installation
------------
@@ -94,12 +93,12 @@ compile WeeChat.
| zlib1g-dev | | *yes* | compression of packets in relay plugin (weechat protocol), script plugin
| libgcrypt11-dev | | *yes* | SASL authentication with IRC server using DH-BLOWFISH mechanism, script plugin
| libgnutls-dev | ≥ 2.2.0 | | SSL connection to IRC server, support of SSL in relay plugin
| gettext | | | internationalization (translation of messages; base language is english)
| gettext | | | internationalization (translation of messages; base language is English)
| ca-certificates | | | certificates for SSL connections
| libaspell-dev | | | aspell plugin
| python-dev | ≥ 2.5 ^(3)^ | | python plugin
| libperl-dev | | | perl plugin
| ruby1.8-dev | | | ruby plugin
| ruby1.9.1-dev | ≥ 1.8 | | ruby plugin
| liblua5.1-0-dev | | | lua plugin
| tcl-dev | ≥ 8.5 | | tcl plugin
| guile-1.8-dev | | | guile (scheme) plugin
@@ -143,9 +142,15 @@ $ make install
Compile with autotools
^^^^^^^^^^^^^^^^^^^^^^
[WARNING]
Only cmake is officially supported to build WeeChat. You should use autotools
only if you are not able to use cmake. +
Build with autotools requires more dependencies and is slower than with cmake.
* Installation in system directories (requires 'root' privileges):
----------------------------------------
$ ./autogen.sh
$ ./configure
$ make
% make install (as root)
@@ -154,6 +159,7 @@ $ make
* Installation in custom directory:
----------------------------------------
$ ./autogen.sh
$ ./configure --prefix=/path/to/directory
$ make
$ make install
@@ -163,21 +169,15 @@ $ make install
Git sources
~~~~~~~~~~~
Warning: GIT sources are for advanced users: it may not compile or not be
Warning: git sources are for advanced users: it may not compile or not be
stable. You're warned!
To get GIT sources, issue this command:
To get git sources, issue this command:
----------------------------------------
$ git clone git://git.sv.gnu.org/weechat.git
----------------------------------------
If you're using autotools (and not cmake), execute this script:
----------------------------------------
$ ./autogen.sh
----------------------------------------
Then follow instructions for source package (see
<<source_package,source package>>).
@@ -303,7 +303,6 @@ Then like for a crash, use command `bt full`:
(gdb) bt full
----------------------------------------
[[usage]]
Usage
-----
@@ -554,6 +553,218 @@ Example of vertical + horizontal splits:
(buffer #3)
........................................
[[bars]]
Bars
~~~~
A 'bar' is an area beside the chat that can contain any type of text.
The bar options can be set with options `weechat.bar.name.option` where `name`
is the name of the bar and `option` the option for this bar.
List of bar options:
[width="100%",cols="2m,2,10",options="header"]
|========================================
| Option | Values | Description
| type | `root`, `window` |
A bar with type `root` is displayed exactly one time on screen, outside all
windows. There is no root bar by default, but an example is the bar 'buffers'
created by script 'buffers.pl' (sidebar with list of buffers). +
A bar with type `window` is displayed in each window, for example if you
split one time the screen (with `/window splith` or `/window splitv`), you
will have one bar in each window. The four default bars ('title', 'status',
'input', 'nicklist') have type `window`.
| position | `top`, `bottom`, `left`, `right` |
Position of the bar: above/below chat, on the left/right.
| priority | integer ≥ 0 |
Priority for display of bar: this is used for ordering the bars on screen when
many bars have same type and position. +
The bars are displayed from the edge of the screen to the center. A higher
priority will display bar at the beginning, so closer to the edge. +
Example: 'input' bar has priority 1000, so it is displayed before the 'status'
bar, which has priority 500.
| size | integer ≥ 0 |
The size of the bar: number of columns for position left/right, number
of lines for position top/bottom. A size of `0` means automatic, so the size
will be computed according to content displayed in bar.
| size_max | integer ≥ 0 |
The maximum size for a bar, `0` = no limit (this option is used only if
`size` = `0`).
| color_bg | color |
The default background color for the bar.
| color_fg | color |
The default text color for the bar.
| color_delim | color |
The color for delimiters in bar.
| hidden | `on`, `off` |
When option is `on`, the bar is hidden. +
Note: instead of changing this option, the command `/bar` is preferred, for
example: `/bar toggle nicklist` (see command <<command_weechat_bar,/bar>>).
| separator | `on`, `off` |
When option is `on`, a separator (line) is displayed between this bar and
other bars (or chat).
| items | string |
A list of 'items' (see <<bar_items,items>> for more info).
| filling_left_right | `horizontal`, `vertical`, `columns_horizontal`, `columns_vertical` |
Type of filling for a bar which has position `left` or `right` (see
<<bar_filling,filling>> for more info).
| filling_top_bottom | `horizontal`, `vertical`, `columns_horizontal`, `columns_vertical` |
Type of filling for a bar which has position `top` or `bottom` (see
<<bar_filling,filling>> for more info).
| conditions | string |
The conditions to display the bar (see <<bar_conditions,conditions>> for more
info).
|========================================
[[bar_items]]
Items
^^^^^
The option 'items' is a string with a list of bar items, separated by a comma
(space between items on screen) or "+" (glued items).
The list of bar items is displayed with command `/bar listitems`.
Example of bar with items "[time],buffer_number+:+buffer_plugin+.+buffer_name":
........................................
┌─────────────────────────────────────────────────────────────────────────────────────────┐
│[12:55] 3:irc/freenode.#weechat │
└─────────────────────────────────────────────────────────────────────────────────────────┘
........................................
[[bar_filling]]
Filling
^^^^^^^
There are four types of filling:
* `horizontal`: the items are displayed horizontally, from left to right. If
there are new lines in items, a space is used to separate lines.
* `vertical`: the items are displayed from top to bottom. If there are new
lines in items, a new line is used to separate lines.
* `columns_horizontal`: items are displayed using columns, where text is
aligned on the left. The first item is on top left, the second is on same
line, on the right.
* `columns_vertical`: items are displayed using columns, where text is aligned
on the left. The first item is on top left, the second is one line below.
Default bars 'title', 'status' and 'input' have 'horizontal' filling, and
default bar 'nicklist' has 'vertical' filling.
Some examples of filling for bar 'nicklist':
........................................
┌──────────────────────────────────────────────────┐
│Welcome to #test, this is a test channel │
│12:54:15 peter | hey! │@carl │
│12:55:01 +Max | hello │@jessika│
│ │@maddy │
│ │%Diego │
│ │%Melody │
│ │+Max │
│ │ celia │
│ │ Eva │
│ │ freddy │
│ │ Harold^│
│ │ henry4 │
│ │ jimmy17│
│ │ jodie ▼│
│[12:55] [6] [irc/freenode] 3:#test(+n){24} │
└──────────────────────────────────────────────────┘
filling_left_right = vertical ▲
┌──────────────────────────────────────────────────┐
│Welcome to #test, this is a test channel │
│12:54:15 peter | hey! │@carl lee │
│12:55:01 +Max | hello │@jessika louise │
│ │@maddy mario │
│ │%Diego mark │
│ │%Melody peter │
│ │+Max Rachel │
│ │ celia richard│
│ │ Eva sheryl │
│ │ freddy Vince │
│ │ Harold^ warren │
│ │ henry4 zack │
│ │ jimmy17 │
│ │ jodie │
│[12:55] [6] [irc/freenode] 3:#test(+n){24} │
└──────────────────────────────────────────────────┘
filling_left_right = columns_vertical ▲
┌───────────────────────────────────────────────────────────────────────┐
│@carl %Diego celia Harold^ jodie mario Rachel Vince │
│@jessika %Melody Eva henry4 lee mark richard warren │
│@maddy +Max freddy jimmy17 louise peter sheryl zack │
│───────────────────────────────────────────────────────────────────────│
│ │
filling_top_bottom = columns_vertical ▲
┌───────────────────────────────────────────────────────────────────────┐
│@carl @jessika @maddy %Diego %Melody +Max celia Eva │
│ freddy Harold^ henry4 jimmy17 jodie lee louise mario │
│ mark peter Rachel richard sheryl Vince warren zack │
│───────────────────────────────────────────────────────────────────────│
│ │
filling_top_bottom = columns_horizontal ▲
........................................
[[bar_conditions]]
Conditions
^^^^^^^^^^
The option 'conditions' is a string evaluated to know if the bar is displayed
or not in the window (it is used only for bars with type 'window').
The string can be:
* 'active': the window must be active
* 'inactive': the window must be inactive
* 'nicklist': the buffer displayed in window must have a nicklist
* an expression: it is evaluated as boolean (see command
<<command_weechat_eval,/eval>>)
For the expression, following variables are available:
* `${active}`: true if window is active
* `${inactive}`: true if window is inactive
* `$[nicklist}`: true if buffer displayed in window has a nicklist
Following pointers are available:
* `${window}`: the window where condition is evaluated
* `${buffer}`: the buffer of window where condition is evaluated
Example to display nicklist bar in all buffers with a nicklist, and only if
width of window is > 100 :
----------------------------------------
/set weechat.bar.nicklist.conditions "${nicklist} && ${window.win_width} > 100"
----------------------------------------
Same condition, but always display nicklist on buffer '&bitlbee' (even if window
is small):
----------------------------------------
/set weechat.bar.nicklist.conditions "${nicklist} && (${window.win_width} > 100 || ${buffer.full_name} == irc.bitlbee.&bitlbee)"
----------------------------------------
[[notify_levels]]
Notify levels
~~~~~~~~~~~~~
@@ -891,11 +1102,22 @@ List of gestures (only for buttons, not wheel):
| gesture-right-long | ≥ 40
|========================================
List of incomplete events (only for buttons, useful for plugins/scripts):
[width="50%",cols="3m,4",options="header"]
|========================================
| Event | Description
| event-down | button was pressed but not released yet
| event-drag | mouse was moved with button pressed down
|========================================
Example of events:
* `button1`
* `ctrl-button1`
* `button1-gesture-right`
* `button1-event-down`
* `button1-event-drag`
* `alt-button2-gesture-down-long`
* `wheelup`
* `ctrl-alt-wheeldown`
@@ -1167,7 +1389,6 @@ WeeChat commands
include::autogen/user/weechat_commands.txt[]
[[plugins]]
Plugins
-------
@@ -1279,6 +1500,31 @@ For example, to enable option "ignore-case":
/set aspell.option.ignore-case "true"
----------------------------------------
[[aspell_suggestions]]
Suggestions
^^^^^^^^^^^
Suggestions are displayed in a bar item called "aspell_suggest". The number of
suggestions is set in option 'aspell.check.suggestions'.
To enable suggestions you must set option 'aspell.check.suggestions' to an
integer ≥ 0 and add the bar item "aspell_suggest" to a bar, like 'status'.
Example of suggestions with English dictionary (`en`):
........................................
│[12:55] [6] [irc/freenode] 3:#test(+n){4} [print,prone,prune] │
│[@Flashy] prinr █ │
└─────────────────────────────────────────────────────────────────────────────────┘
........................................
Example of suggestions with English and French dictionaries (`en,fr`):
........................................
│[12:55] [6] [irc/freenode] 3:#test(+n){4} [print,prone,prune/prime,primer,primé] │
│[@Flashy] prinr █ │
└─────────────────────────────────────────────────────────────────────────────────┘
........................................
[[charset_plugin]]
Charset plugin
@@ -1507,7 +1753,7 @@ irc.server.xxx.ssl_verify::
[NOTE]
Option "ssl_verify" is on by default, so verification is strict and may fail,
even if it was ok with versions prior to 0.3.1.
even if it was OK with versions prior to 0.3.1.
[[irc_connect_oftc_with_certificate]]
First example: connect to oftc and check certificate
@@ -1555,8 +1801,8 @@ SASL authentication
^^^^^^^^^^^^^^^^^^^
WeeChat supports SASL authentication, using three mechanisms: "plain" (plain
text password), "dh-blowfish" (crypted password) or "external" (client side SSL
cert).
text password), "dh-blowfish" (encrypted password) or "external" (client side
SSL cert).
Options in servers are:
@@ -1587,7 +1833,7 @@ First, make sure to have WeeChat compiled with <<dependencies,libgcrypt11-dev>>
(if built from sources); it's not mandatory, but "dh-blowfish" ensures stronger
security compared to "plain" authentication system with SASL.
In first place, install TOR. For Debian (and derivated):
In first place, install TOR. For Debian (and derived):
----------------------------------------
$ sudo apt-get install tor
@@ -1711,29 +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
-------
@@ -2287,9 +2509,8 @@ until this sentence, you can start again!).
Ways to get support:
* IRC: server 'irc.freenode.net', channels '#weechat' (english) and
'#weechat-fr' (french)
* WeeChat forum: http://forums.flashtux.org/
* IRC: server 'irc.freenode.net', channels '#weechat' (English) and
'#weechat-fr' (French)
* Mailing list:
** subscribe: http://mail.nongnu.org/mailman/listinfo/weechat-support
** send mail to weechat-support@nongnu.org
+1 -1
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2012-2013 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
+1 -1
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2012-2013 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
+16 -6
View File
@@ -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`)
+1 -1
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
+1 -1
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2006 Julien Louis <ptitlouis@sysif.net>
#
# This file is part of WeeChat, the extensible chat client.
+11 -6
View File
@@ -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) +
@@ -365,6 +367,7 @@
'items_num_lines' (pointer) +
'items_refresh_needed' (pointer) +
'screen_col_size' (integer) +
'screen_lines' (integer) +
'coords_count' (integer) +
'coords' (pointer) +
'gui_objects' (pointer) +
@@ -559,8 +562,10 @@
'text' (string) +
'next_history' (pointer, hdata: "history") +
'prev_history' (pointer, hdata: "history") |
|
-
`__create` +
`__delete` |
'gui_history' +
'last_gui_history'
| weechat | hotlist | hotlist |
'priority' (integer) +
+2
View File
@@ -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
+5
View File
@@ -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
+25 -7
View File
@@ -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]]
+13 -3
View File
@@ -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é)`
+11 -3
View File
@@ -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
........................................
+31 -1
View File
@@ -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
+79 -6
View File
@@ -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]]
+6 -6
View File
@@ -204,7 +204,7 @@
** 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: `blue`)
* [[option_weechat.color.separator]] *weechat.color.separator*
** description: `couleur du fond pour les séparateurs de fenêtres (quand divisé)`
** description: `couleur pour les séparateurs de fenêtres (quand divisé) et les séparateurs à côté des barres (comme la liste de pseudos)`
** 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: `blue`)
@@ -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: `"<--"`)
+83 -113
View File
@@ -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,12 +193,11 @@ 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 ?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Pour réduire la longueur maxi des pseudos dans la zone de discussion :
Pour réduire la longueur maximum des pseudos dans la zone de discussion :
----------------------------------------
/set weechat.look.prefix_align_max 15
@@ -223,14 +209,13 @@ 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 ?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
L'option 'size' dans la barre input peut être définie à une valeur supérieure
à 1 (pour une taille fixe, la taille par défaut est 1) ou 0 pour une taille
dynamique, et alors l'option 'size_max' définira la taille maxi (0 = pas de
dynamique, et alors l'option 'size_max' définira la taille maximum (0 = pas de
limite).
Exemple avec une taille dynamique :
@@ -239,13 +224,12 @@ Exemple avec une taille dynamique :
/set weechat.bar.input.size 0
----------------------------------------
Taille maxi de 2 :
Taille maximum 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
commande 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,10 +596,9 @@ 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 ?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Comment puis-je filtrer les messages join/part/quit sur les canaux IRC ?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Avec le filtre intelligent (pour garder les join/part/quit des utilisateurs qui
ont parlé récemment) :
@@ -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 ?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+199 -32
View File
@@ -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]
@@ -6311,6 +6380,10 @@ Si votre message contient des tabulations et si vous ne voulez pas de préfixe,
utilisez un espace, une tabulation, puis le message : cela désactivera le
préfixe (l'espace avant la tabulation ne sera pas affiché).
[NOTE]
Avec deux tabulations ("\t") au début du message, l'heure ne sera pas affichée
et le message n'aura pas d'alignement (comme le message "Jour changé").
Exemple en C :
[source,C]
@@ -6319,6 +6392,8 @@ weechat_printf (NULL, "Bonjour sur le tampon WeeChat");
weechat_printf (buffer, "Bonjour sur ce tampon");
weechat_printf (buffer, "%sCeci est une erreur !", weechat_prefix ("error"));
weechat_printf (buffer, " \tMessage sans préfixe mais avec \t quelques \t tabulations");
weechat_printf (buffer, "\t\tMessage sans heure/alignement");
weechat_printf (buffer, "\t\t"); /* ligne vide (sans heure) */
----------------------------------------
Script (Python) :
@@ -6333,6 +6408,8 @@ weechat.prnt("", "Bonjour sur le tampon WeeChat")
weechat.prnt(buffer, "Bonjour sur ce tampon")
weechat.prnt(buffer, "%sCeci est une erreur !" % weechat.prefix("error"))
weechat.prnt(buffer, " \tMessage sans préfixe mais avec \t quelques \t tabulations")
weechat.prnt(buffer, "\t\tMessage sans heure/alignement")
weechat.prnt(buffer, "\t\t") # ligne vide (sans heure)
----------------------------------------
[NOTE]
@@ -6945,6 +7022,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 +7186,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 +7248,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 +7263,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 +7321,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 +7353,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 +7363,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 +7375,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 +7409,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 +7464,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 +7509,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, "",
@@ -7481,6 +7634,11 @@ Paramètres :
|========================================
| Extension | Signal | Paramètres | Description
| aspell | aspell_suggest +
(_nouveau dans la version 0.4.0_) |
pointeur : tampon |
nouvelles suggestions pour un mot mal orthographié
| guile | guile_script_loaded +
(_nouveau dans la version 0.3.9_) |
chaîne: chemin vers le script |
@@ -7810,15 +7968,15 @@ Paramètres :
coller de lignes en cours
| weechat | input_search |
- |
pointeur : tampon |
recherche de texte dans le tampon
| weechat | input_text_changed |
- |
pointeur : tampon |
texte modifié dans la barre "input"
| weechat | input_text_cursor_moved |
- |
pointeur : tampon |
curseur déplacé dans la barre "input"
| weechat | key_pressed |
@@ -7864,7 +8022,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 +
@@ -7949,6 +8107,8 @@ Paramètres :
** 'void *signal_data' : données envoyées avec le signal
** valeur de retour :
*** 'WEECHAT_RC_OK'
*** 'WEECHAT_RC_OK_EAT' (arrêter l'envoi du signal immédiatement)
(_nouveau dans la version 0.4.0_)
*** 'WEECHAT_RC_ERROR'
* 'callback_data' : pointeur donné au "callback" lorsqu'il est appelé par
WeeChat
@@ -8226,6 +8386,8 @@ modèle de redirection ("pattern").
** 'struct t_hashtable *hashtable' : hashtable
** valeur de retour :
*** 'WEECHAT_RC_OK'
*** 'WEECHAT_RC_OK_EAT' (arrêter l'envoi du signal immédiatement)
(_nouveau dans la version 0.4.0_)
*** 'WEECHAT_RC_ERROR'
* 'callback_data' : pointeur donné au "callback" lorsqu'il est appelé par
WeeChat
@@ -11934,7 +12096,7 @@ void weechat_command (struct t_gui_buffer *buffer, const char *command);
Paramètres :
* 'buffer' : pointeur vers le tampon (la commande est exécutée sur ce tampon,
NULL pour le tampon "core")
NULL pour le tampon courant)
* 'command' : commande à exécuter (si elle commence par "/"), ou texte à
envoyer au tampon
@@ -12985,7 +13147,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 +13169,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 +13186,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 +13209,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 +14343,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 +14454,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) :
+18 -9
View File
@@ -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 :
@@ -138,7 +147,7 @@ Se connecter au serveur IRC et rejoindre les canaux
[NOTE]
Cette commande peut aussi être utilisée pour créer et se connecter au serveur
sans utiliser la commande `/server` (devrais-je répéter que vous pouvez voir
sans utiliser la commande `/server` (dois-je répéter que vous pouvez voir
l'aide pour cette commande avec `/help connect` ?).
Par défaut, les tampons des serveurs sont mélangés avec le tampon 'core'
@@ -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`)
@@ -238,7 +247,7 @@ De nombreux scripts externes (de contributeurs) sont disponibles pour WeeChat :
http://www.weechat.org/scripts
Vous pouvez gérer les scripts dans WeeChat avec la commande `/script` (voir
`/help script` pour plus d'info).
`/help script` pour plus d'infos).
[[more_doc]]
+8 -7
View File
@@ -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
|========================================
@@ -703,7 +704,7 @@ script_options = {
"option2" : "valeur2",
"option3" : "valeur3",
}
for option, default_value in script_options.iteritems():
for option, default_value in script_options.items():
if not weechat.config_is_set_plugin(option):
weechat.config_set_plugin(option, default_value)
----------------------------------------
@@ -732,7 +733,7 @@ def config_cb(data, option, value):
# ...
weechat.hook_config("plugins.var.python." + SCRIPT_NAME + ".*", "config_cb", "")
# pour les autres languages, remplacez "python" par le language ("perl", "ruby", "lua" ou "tcl")
# pour les autres langages, remplacez "python" par le langage ("perl", "ruby", "lua" ou "tcl")
----------------------------------------
[[config_options_weechat]]
+1 -1
View File
@@ -98,7 +98,7 @@ $ make install
Si vous n'avez pas cmake, il est toujours possible d'utiliser les autotools :
-----------------------------------------------------------------
$ ./autogen.sh # (seulement si vous avez cloné la base git)
$ ./autogen.sh
$ ./configure --prefix=$HOME/weechat-git
$ make
$ make install
+305 -67
View File
@@ -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,10 +100,10 @@ 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)
| guile-1.8-dev | | | extension guile (scheme)
| asciidoc | ≥ 8.5.0 | | construction de la documentation (fichiers HTML)
| source-highlight | | | coloration des sources dans la documentation HTML
|========================================
@@ -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
-----------
@@ -433,7 +434,7 @@ La barre 'status' contient les objets (items) suivants par défaut :
| buffer_nicklist_count | {4} | nombre de pseudos dans la liste des pseudos
| buffer_filter | * | indicateur de filtrage : `*` signifie que des lignes sont filtrées (cachées), une valeur vide signifie que toutes les lignes sont affichées
| lag | [Lag: 2.5] | indicateur de "lag" (ralentissements réseau), en secondes (caché si le lag est faible)
| hotlist | [Act: 4:#abc(2,5), 6] | liste des tampons où il y a de l'activité (messages non lus) (dans cet exemple, 2 highlights et 5 messages non lus sur '#abc', un message non lu sur le buffer numéro 6)
| hotlist | [Act: 4:#abc(2,5), 6] | liste des tampons où il y a de l'activité (messages non lus) (dans cet exemple, 2 highlights et 5 messages non lus sur '#abc', un message non lu sur le tampon numéro 6)
| completion | abc(2) def(5) | liste des mots pour la complétion, avec le nombre de complétions possibles pour chaque mot
| scroll | -PLUS(50)- | indicateur de scroll, avec le nombre de lignes sous la dernière ligne affichée
|========================================
@@ -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 une 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 afficher 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
~~~~~~~~~~~~~~~~~~~~~~~
@@ -641,7 +865,7 @@ Touches pour la ligne de commande
| @k(C-)@k(c) , @k(b) | Insérer le code pour mettre le texte en gras | /input insert \x02
| @k(C-)@k(c) , @k(c) | Insérer le code pour écrire en couleur | /input insert \x03
| @k(C-)@k(c) , @k(i) | Insérer le code pour mettre le texte en italique | /input insert \x1D
| @k(C-)@k(c) , @k(o) | Insérer le code pour réinitaliser la couleur | /input insert \x0F
| @k(C-)@k(c) , @k(o) | Insérer le code pour réinitialiser la couleur | /input insert \x0F
| @k(C-)@k(c) , @k(r) | Insérer le code pour écrire en couleur inversée | /input insert \x12
| @k(C-)@k(c) , @k(u) | Insérer le code pour écrire en souligné | /input insert \x15
| @k(Del) .2+| Effacer le caractère suivant sur la ligne de commande .2+| /input delete_next_char
@@ -772,7 +996,7 @@ Ces touches sont utilisées dans le contexte "cursor" (mouvement libre du curseu
| @k(K) | liste des pseudos | Retirer par la force et bannir le pseudo | /window ${_window_number};/kickban ${nick}
| @k(q) | liste des pseudos | Ouvrir une discussion avec le pseudo | /window ${_window_number};/query ${nick};/cursor stop
| @k(w) | liste des pseudos | Effectuer un whois sur le pseudo | /window ${_window_number};/whois ${nick}
| @k(Enter) .3+| - .3+| Stop cursor mode .3+| /cursor stop
| @k(Enter) .3+| - .3+| Arrêter le mode curseur ("cursor") .3+| /cursor stop
| @k(C-)@k(j)
| @k(C-)@k(m)
|========================================
@@ -798,8 +1022,8 @@ Ces touches sont utilisées dans le contexte "mouse", c'est-à-dire lorsqu'un
| ⇓ | - | chat | Descendre de quelques lignes dans l'historique du tampon | /window scroll_down -window ${_window_number}
| ⇑ | - | chat (tampon script) | Monter de 5 lignes dans le tampon script | /script up 5
| ⇓ | - | chat (tampon script) | Descendre de 5 lignes dans le tampon script | /script down 5
| @k(C-)⇑ | - | chat | Faire défiler horizontallement vers la gauche | /window scroll_horiz -window ${_window_number} -10%
| @k(C-)⇓ | - | chat | Faire défiler horizontallement vers la droite | /window scroll_horiz -window ${_window_number} +10%
| @k(C-)⇑ | - | chat | Faire défiler horizontalement vers la gauche | /window scroll_horiz -window ${_window_number} -10%
| @k(C-)⇓ | - | chat | Faire défiler horizontalement vers la droite | /window scroll_horiz -window ${_window_number} +10%
| ◾◽◽ | up | liste des pseudos | Monter d'une page dans la liste des pseudos | /bar scroll nicklist ${_window_number} -100%
| ◾◽◽ | down | liste des pseudos | Descendre d'une page dans la liste des pseudos | /bar scroll nicklist ${_window_number} +100%
| ◾◽◽ | up (long) | liste des pseudos | Aller au début de la liste des pseudos | /bar scroll nicklist ${_window_number} b
@@ -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`
@@ -928,7 +1164,7 @@ avec le bouton gauche.
[TIP]
Vous pouvez trouver le nom de l'évènement avec la commande `/input grab_mouse`
puis en faisant l'action avec la souris. Cela insèrera le nom de l'évènement
puis en faisant l'action avec la souris. Cela insérera le nom de l'évènement
sur la ligne de commande.
[[command_line]]
@@ -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
+1 -1
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
+1 -1
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#

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