1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-12 14:14:48 +02:00

Compare commits

...

187 Commits

Author SHA1 Message Date
Sebastien Helleu 19ed7740b1 Version 0.4.1-rc2 2013-05-11 18:48:41 +02:00
Sebastien Helleu a0f814e75b irc: remove tag "notify_private" from notices received before message 001
This removes tag "notify_private" from notices like that (sent before message 001):

:irc.network.com NOTICE nick :*** Spoofing your IP
:irc.network.com NOTICE nick :*** You are exempt from K/G/X lines
:irc.network.com NOTICE nick :*** You are exempt from user limits
2013-05-11 18:26:18 +02:00
Sebastien Helleu 0f920d6396 doc: fix typo in user's guide (thanks to faen) 2013-05-09 20:02:55 +02:00
Sebastien Helleu c6fdeaf7e5 python: fix crash when loading scripts with Python 3.x (patch #8044) (thanks to isak) 2013-05-07 08:56:12 +02:00
Krzysztof Koroscik 9f08029361 doc: update polish translations and docs 2013-05-06 15:28:11 +02:00
Sebastien Helleu 8b17cbb16c irc: fix display of CTCP messages that contain bold attribute (bug #38895) 2013-05-06 15:07:24 +02:00
Nils Görs c6b7a244d6 doc: update german translations and docs 2013-05-04 08:24:36 +02:00
Ryuunosuke Ayanokouzi 8c06006828 doc: update japanese translations and docs 2013-05-04 07:50:22 +02:00
Sebastien Helleu 345be1ec5e script: add key alt+A in /help script (thanks ArZa) 2013-05-03 22:26:19 +02:00
Sebastien Helleu 0a7b708a1f core: add options weechat.look.prefix_align_more_after and weechat.look.prefix_buffer_align_more_after 2013-05-03 19:15:57 +02:00
Nils Görs f43eb87d9d doc: update german translations and user's guide 2013-05-02 19:46:36 +02:00
Sebastien Helleu 5eba5e980d doc: update auto-generated files with options 2013-05-02 19:44:31 +02:00
Sebastien Helleu 00f3fbdfe1 doc: add relay message "_nicklist_diff" in NEWS 2013-05-01 21:09:43 +02:00
Sebastien Helleu 86a8b9fb5f relay: remove temporary option "nicklistdiff" (in command init), send nicklist diff by default (weechat protocol)
The temporary option was introduced because the nicklist diff was experimental.
It is now enabled by default, and there is no way to disable it. Therefore any
relay client using weechat protocol must implement the message "_nicklist_diff"
(unless nicklist is ignored by client).

Extra note: a full nicklist may still be sent if a message with diff would be
bigger than whole nicklist. So both full nicklist (message "_nicklist") and
nicklist diff (message "_nicklist_diff") must be implemented by clients.
2013-05-01 21:01:12 +02:00
Sebastien Helleu 305175fb8c core: fix display of long lines without time (message beginning with two tabs)
The long lines without time were not properly aligned: the second and subsequent
lines should start at column 0 of chat area.
2013-05-01 16:46:54 +02:00
Sebastien Helleu bf8ee88dd8 Version 0.4.1-rc1 2013-05-01 10:15:10 +02:00
Sebastien Helleu 11d8dd1b51 Merge branch 'dynamic-nick-prefix-suffix' 2013-05-01 10:04:53 +02:00
Sebastien Helleu ebcea798bb doc: add IRC SASL "dh-aes" mechanism in user's guide 2013-05-01 10:02:11 +02:00
Sebastien Helleu 1c4e3c0e84 core: update translations 2013-05-01 10:00:57 +02:00
Elizabeth Myers e009884595 irc: add support of "dh-aes" SASL mechanism (patch #8020) 2013-05-01 09:59:39 +02:00
Sebastien Helleu 2479f427f7 doc: update german auto-generated file with WeeChat commands 2013-05-01 09:27:08 +02:00
Sebastien Helleu 16cc0b6088 core: make nick prefix/suffix dynamic (move options from irc plugin to core, add logger options) (bug #37531) 2013-04-29 18:30:59 +02:00
Sebastien Helleu cf8a125ef2 irc: fix duplicate nick completion when someone rejoins the channel with same nick but a different case (bug #38841) 2013-04-28 13:34:44 +02:00
Sebastien Helleu 4b1d87640c script: do not search by license and author in /script search (thanks to Nils Görs) 2013-04-27 09:01:42 +02:00
Sebastien Helleu bdbe7e0c37 core: fix typo in /help eval 2013-04-25 21:34:23 +02:00
Sebastien Helleu 8219039867 core: reset scroll in window before zooming on a merged buffer (bug #38207) 2013-04-24 09:30:08 +02:00
Sebastien Helleu bfd8c6918c irc: add support of UHNAMES (capability "userhost-in-names") (task #9353) 2013-04-23 21:23:07 +02:00
Sebastien Helleu 2a4e9aef8a relay: fix typo in error displayed by command /relay del 2013-04-21 21:57:21 +02:00
Sebastien Helleu c8505efac0 irc: add tag "irc_nick_back" for messages displayed in private buffer when a nick is back on server (task #12576) 2013-04-21 13:26:32 +02:00
Sebastien Helleu 509a58b1d5 api: add new function hdata_search 2013-04-21 11:26:52 +02:00
Sebastien Helleu fcd71d14bc doc: fix typo in python example of function hdata_move (plugin API reference) 2013-04-21 10:56:08 +02:00
Sebastien Helleu 09c5e8cbdf doc: add missing functions in scripting guide 2013-04-21 10:48:38 +02:00
Sebastien Helleu 4cf6628d85 ruby: fix crash in function hdata_move 2013-04-20 11:05:14 +02:00
Sebastien Helleu fda70ec57d guile: fix crash in function hdata_move 2013-04-20 11:04:17 +02:00
Sebastien Helleu c95f3d84d0 api: add property "completion_freeze" for function buffer_set: do not stop completion when command line is updated 2013-04-18 20:24:35 +02:00
Nils Görs 00c1c81c0b doc: update german translations and docs 2013-04-16 20:09:54 +02:00
Sebastien Helleu 9ffab0bec4 doc: rename link "256_colors" to "use_256_colors" in FAQ (anchor names beginning with digits are not allowed in HTML) 2013-04-14 11:10:49 +02:00
Sebastien Helleu d70532250b api: fix connection to servers with hook_connect on OS X (bug #38496) 2013-04-12 12:47:42 +02:00
Sebastien Helleu fe6cb5c1b3 core: do not force weechat_quit to 0 in main loop, so that a /quit issued before main loop is working 2013-04-12 09:10:57 +02:00
Sebastien Helleu 67f6668d1b irc: fix crash on command "/allchan /close" 2013-04-10 23:09:00 +02:00
stfn aa10e20295 doc: fix C example of function weechat_nicklist_get_next_item (plugin API reference) 2013-03-29 15:09:06 +01:00
Sebastien Helleu 33e7ad43d6 core: use layout saved when option weechat.look.save_layout_on_exit is enabled (so it is automatically restored when WeeChat restarts) 2013-03-29 07:59:23 +01:00
Sebastien Helleu 5dbda28263 core: fix uninitialized variable when saving layout for windows in upgrade 2013-03-29 07:35:39 +01:00
Andrew Potter fe512fdd33 xfer: add option xfer.file.auto_accept_nicks (patch #7962) 2013-03-25 09:05:36 +01:00
Sebastien Helleu 1871a774f3 fifo: remove #define MAX_PATH (now done in weechat-plugin.h) 2013-03-25 08:15:06 +01:00
Sebastien Helleu adbfda00f5 script: fix compilation on GNU/Hurd (patch #7977) (thanks to Andrew Potter)
PATH_MAX is now defined in weechat-plugin.h (if not defined, for example on
GNU/Hurd), so that all plugins can use it.
2013-03-25 08:14:33 +01:00
Sebastien Helleu d654fca853 core: mention unit (minutes) for old option "irc.network.lag_disconnect" 2013-03-24 20:08:26 +01:00
Sebastien Helleu 2ffa199a7d lua: remove use of functions for API constants 2013-03-24 20:01:57 +01:00
Sebastien Helleu ff26a8d550 Revert "doc: add note about constants in lua, fix lua example (scripting guide)"
This reverts commit fad848bf7c.
2013-03-24 19:56:43 +01:00
Sebastien Helleu fad848bf7c doc: add note about constants in lua, fix lua example (scripting guide) 2013-03-24 18:10:21 +01:00
Sebastien Helleu a08603c24c irc: add option irc.look.display_join_message (task #10895) 2013-03-24 13:02:26 +01:00
Sebastien Helleu e03310cb0d ruby: fix typo in comment 2013-03-24 10:42:38 +01:00
Sebastien Helleu cfe043e4b0 core: rename icon file in Makefile.am 2013-03-24 09:42:38 +01:00
Sebastien Helleu 4b4d80bdc5 core: install icon file (patch #7972) 2013-03-24 09:41:22 +01:00
Sebastien Helleu cac2342165 core: rename weechat_icon_32.png to weechat.png 2013-03-24 09:33:02 +01:00
Sebastien Helleu 50254dee23 core: update WeeChat icon: move "ee" to the middle of icon 2013-03-24 08:59:09 +01:00
Sebastien Helleu 4fdbb83a07 ruby: fix crash with Ruby 2.0: use one array for the last 6 arguments of function config_new_option (bug #31050) 2013-03-22 19:54:44 +01:00
Sebastien Helleu 55e58811b3 irc: fix default completion (like nicks) in commands /msg, /notice, /query and /topic 2013-03-22 09:40:44 +01:00
Sebastien Helleu 19acf8121f irc: fix prefix color for nick when the prefix is not in irc.color.nick_prefixes: use default color (key "*")
Problem was happening on a server which has "PREFIX=(Yqaohv)!~&@%+".
Users with prefix "!" were displayed as lightred (color for "~") instead of
lightblue (default key "*").

When a prefix was not found, WeeChat was looping on other prefixes (in
order). Now if color is not found, WeeChat uses immediately the fallback color.
2013-03-21 20:16:49 +01:00
Sebastien Helleu 239f853120 doc: use listing style for commands in quickstart guide 2013-03-21 07:36:49 +01:00
Sebastien Helleu c09e383325 doc: change style for listings in asciidoc CSS 2013-03-21 07:36:04 +01:00
Sebastien Helleu bbd080e680 irc: add option irc.look.pv_buffer: automatically merge private buffers (optionally by server) (task #11924) 2013-03-17 22:18:11 +01:00
Sebastien Helleu 3e1d811761 core: fix refresh of item "completion" (bug #38214) (patch from Nils Görs)
The item is now cleared after any action that is changing content of command
line and after switch of buffer.
2013-03-17 19:44:39 +01:00
Sebastien Helleu a290589f7c scripts: create directories (language and language/autoload) on each action (install/remove/autoload), just in case they have been removed (bug #38473) 2013-03-17 18:45:55 +01:00
Sebastien Helleu cf2ad51f62 script: create "script" directory on each action (just in case it has been removed) (bug #38472) 2013-03-17 18:32:04 +01:00
Sebastien Helleu a9ff529d83 relay: rename compression "gzip" to "zlib" (compression is zlib, not gzip) (thanks to Dominik Honnef) 2013-03-17 16:14:20 +01:00
Sebastien Helleu fa2b1d6bf9 core: fix typos in french translations
Now flyspell is enabled in my emacs for .po files :)
2013-03-17 15:07:26 +01:00
Sebastien Helleu e056f20643 rmodifier: add info about "groups" in /help rmodifier 2013-03-17 13:08:09 +01:00
Sebastien Helleu 149c77decd core: fix typos in many comments and some strings 2013-03-17 12:55:20 +01:00
Sebastien Helleu 46677c79fc core: fix typos in ChangeLog 2013-03-17 12:54:43 +01:00
Sebastien Helleu 30e6acb00d core: add support of multiple layouts (task #11274) 2013-03-17 08:28:41 +01:00
Sebastien Helleu e1e3109da3 doc: add link to weechat.org/info in scripting guide (URL transfer) and plugin API reference (function hook_process) 2013-03-16 16:06:16 +01:00
Sebastien Helleu 3fb123510a lua: fix crash on stack overflow: call lua_pop() for values returned by lua functions (bug #38510) 2013-03-13 18:27:55 +01:00
Sebastien Helleu 81cc688166 doc: add range for integer/long integer objects, add examples with negative numbers (relay protocol) 2013-03-13 12:25:57 +01:00
Sebastien Helleu d74041de25 relay: add missing "id" in raw messages sent to clients when compression is off (weechat protocol) 2013-03-13 12:12:48 +01:00
Sebastien Helleu 7672139d6b relay: add negative numbers (integer: -123456 and long: -1234567890L) in command "test" (weechat protocol) 2013-03-13 11:50:32 +01:00
Sebastien Helleu aa2f5d8acc doc: fix length of NULL pointer (relay protocol) 2013-03-13 11:12:31 +01:00
Sebastien Helleu 37e609252c doc: remove "name" in hdata object (relay protocol) 2013-03-13 10:55:28 +01:00
Sebastien Helleu 7cf9c8a656 irc: rename option irc.network.lag_disconnect to irc.network.lag_reconnect, value is now a number of seconds 2013-03-12 18:35:03 +01:00
Sebastien Helleu afc1dd4f6b api: fix bug in string_match when mask begins and ends with "*"
The bug was string_match returning 0 (instead of 1) if mask begins and ends with
"*" and if string and mask have same length (except both "*") with same content:

string_match("abc",  "*abc*", 0) == 0  // BUG: it should return 1
string_match("abcd", "*abc*", 0) == 1  // OK
2013-03-11 18:09:33 +01:00
Nils Görs cc3fb26024 doc: update german translations, FAQ and user guide 2013-03-11 12:49:52 +01:00
Sebastien Helleu f27f91467a script: fix typo in /help script.scripts.autoload 2013-03-10 08:56:12 +01:00
Sebastien Helleu b63fca15fa alias: mention local variables of buffer in /help alias 2013-03-10 08:27:55 +01:00
Sebastien Helleu 0b0238a188 doc: fix typo in relay protocol 2013-03-09 09:22:03 +01:00
Sebastien Helleu ad842577c5 doc: add example of messages and message "_nicklist_diff" in relay protocol 2013-03-09 09:06:22 +01:00
Sebastien Helleu d2ff46fa69 relay: add message "_nicklist_diff" (differences between old and current nicklist)
This is an experimental feature, that must be explicitely enabled by clients
(for weechat protocol) in the init command with option "nicklistdiff", for example:

  init password=mypasswd,nicklistdiff=1

This option will be removed when clients will handle nicklist diff.
2013-03-09 09:04:49 +01:00
Sebastien Helleu 9fdeef247e core: add signals and hsignals for nicklist events
New signals: nicklist_group_removing and nicklist_nick_removing.
New hsignals: nicklist_group_added, nicklist_nick_added, nicklist_group_removing,
nicklist_nick_removing, nicklist_group_changed, nicklist_nick_changed.
2013-03-08 23:13:58 +01:00
Sebastien Helleu fced67b459 doc: update hdata "buffer" in plugin API reference 2013-03-07 19:55:24 +01:00
Sebastien Helleu b352891c2b api: allow hashtable with keys that are not strings in function hashtable_add_to_infolist 2013-03-07 13:20:16 +01:00
Sebastien Helleu 8b925baa3c core: add count for groups, nicks, and total in nicklist 2013-03-03 11:30:58 +01:00
Sebastien Helleu 844ba9e1c0 core: optimize function nicklist_remove_all (don't remove and create again "root" group) 2013-03-02 09:35:02 +01:00
Sebastien Helleu 11396b3266 doc: add missing signals in plugin API reference (nicklist_group_changed and nicklist_nick_changed) 2013-03-01 11:39:48 +01:00
Sebastien Helleu d2550f89f4 xfer: fix typo in comment 2013-03-01 11:19:14 +01:00
Sebastien Helleu 6972b1aafa xfer: fix freeze of DCC file received: use select() to read socket and if an ACK send fails, silently ignore and disable ACK (except the last) 2013-02-28 19:16:24 +01:00
Sebastien Helleu e890ac0a81 xfer: fix freeze of DCC file received: use non-blocking socket after connection to sender and ensure the ACK is properly sent (bug #38340) 2013-02-26 21:43:39 +01:00
Sebastien Helleu 0e641e0c45 irc: fix conversion of mask to regex in ignore 2013-02-26 21:15:14 +01:00
Sebastien Helleu b84f6b5a1b api: fix function string_mask_to_regex: escape all special chars used in regex (bug #38398) 2013-02-26 21:12:25 +01:00
Sebastien Helleu cecb546c24 core: update header in ChangeLog and NEWS 2013-02-26 20:42:56 +01:00
Sebastien Helleu b60aec975b script: add control of autoload (enable/disable/toggle) (task #12393)
New option script.scripts.autoload, new options autoload/noautoload/toggleautoload
for command /script, new action "A" (meta-A) on script buffer (toggle autoload).
2013-02-25 08:46:41 +01:00
Nils Görs 87b5096972 core: update german translations 2013-02-23 18:32:52 +01:00
Sebastien Helleu f5bc12e72c rmodifier: rename default rmodifier "nickserv" to "command_auth" (with new modifier "irc_command_auth"), add default rmodifier "message_auth" (modifier "irc_message_auth") 2013-02-23 14:55:28 +01:00
Sebastien Helleu 9beb263e4a irc: hide passwords in commands or messages sent to nickserv with modifiers (bug #38346)
New modifiers: "irc_command_auth" and "irc_message_auth".
Option removed: irc.look.hide_nickserv_pwd
New option: irc.look.nicks_hide_password
2013-02-23 14:54:07 +01:00
Sebastien Helleu c17d3e155c relay: add support of multiple servers on same port for irc protocol (the client must send the server in the "PASS" command) 2013-02-23 08:33:38 +01:00
Sebastien Helleu 6394a3d1e1 core: reformat NEWS file, add subsections 2013-02-20 22:37:19 +01:00
Sebastien Helleu 62aa07b00f core: fix typos in ChangeLog 2013-02-20 22:36:41 +01:00
Sebastien Helleu 6faa1a0db8 doc; fix typos in plugin API reference 2013-02-20 22:36:13 +01:00
Sebastien Helleu 9857b44e4e guile: fix arguments given to callbacks (separate arguments instead of one list with arguments inside), guile >= 2.0 is now required (bug #38350)
Unfortunately this breaks compatibility with existing guile scripts, but this
change is needed to keep consistency with other scripting languages.

Now guile >= 2.0 is required, WeeChat can not compile any more with guile 1.8.
2013-02-19 22:49:59 +01:00
Sebastien Helleu c43d48a9df guile: fix crash on calls to callbacks during load of script (bug #38343) 2013-02-19 19:49:12 +01:00
Sebastien Helleu e4529079a8 doc: fix typo on functions "weechat_infolist_new_var_*" in plugin API reference 2013-02-19 18:43:48 +01:00
Sebastien Helleu 9f0a16e586 doc: fix link to function weechat_config_write in plugin API reference 2013-02-19 13:40:20 +01:00
Sebastien Helleu 50eb1f51fd irc: fix crash when unmasking a smart filtered join if a line without tags is displayed after the join 2013-02-18 22:23:03 +01:00
Sebastien Helleu 67838983ad irc: fix display of malformed CTCP (without closing char) (bug #38347) 2013-02-18 18:31:19 +01:00
Sebastien Helleu 4e4fd3f54d core: remove Gtk interface (obsolete sources not working) 2013-02-17 15:47:52 +01:00
Sebastien Helleu bc079b007d irc: unmask smart filtered join if nick speaks in channel some minutes after the join, new option irc.look.smart_filter_join_unmask (task #12405)
The nick changes are tracked and will be unmasked with the join.
Events triggering the unmask of join are: a message (can be CTCP), a notice or
an update of topic.
2013-02-17 13:27:36 +01:00
Sebastien Helleu 6e3f6270d1 core: allow read of array in hdata without using index 2013-02-17 12:16:00 +01:00
Sebastien Helleu 8b875cd412 irc: fix type of values in hashtables join_manual/join_noswitch, fix delay for purge 2013-02-16 18:38:39 +01:00
Sebastien Helleu c1bc23b052 irc: fix memory leak in purge of hashtables with joins (it was done only for the first server in the list) 2013-02-16 10:00:28 +01:00
Sebastien Helleu 47e1caa91f doc: update auto-generated files for commands 2013-02-16 09:57:40 +01:00
Sebastien Helleu 9da086b827 core: rename cmake targets xx.po/weechat.pot to update-xx.po/update-weechat.pot (for build with old cmake versions) 2013-02-15 08:32:38 +01:00
Sebastien Helleu 01153cd478 core: add option "dirs" for command /debug 2013-02-14 20:45:12 +01:00
Sebastien Helleu eed0878231 core: fix header in weechat.pot (copyright, license and some default values in first string) 2013-02-14 18:31:21 +01:00
Sebastien Helleu 11bbf0a062 core: add cmake targets to update .po and .pot files (new targets: update-po, weechat.pot, xx.po) 2013-02-14 18:30:40 +01:00
Sebastien Helleu c37016e5ea core: fix detection of iconv with cmake on OS X (bug #38321) 2013-02-14 14:41:43 +01:00
Sebastien Helleu 49043bf1b0 doc: fix prototype of function weechat_config_section_free in plugin API reference 2013-02-13 14:11:17 +01:00
Sebastien Helleu f7811b0ae2 relay: fix crash when decoding a websocket frame 2013-02-12 14:14:40 +01:00
Sebastien Helleu 8d5dee9aa0 relay: add gcrypt include and link arguments to compile relay plugin 2013-02-12 12:51:26 +01:00
Sebastien Helleu 62ff697772 script: remove unneeded test on ZLIB_FOUND in CMakeLists.txt (zlib is mandatory) 2013-02-12 12:50:32 +01:00
Sebastien Helleu 10820c7336 core: add signal "window_opened" (task #12464) 2013-02-12 12:14:22 +01:00
Sebastien Helleu 0cb84638dc doc: fix typos in french translations and plugin API reference 2013-02-10 22:20:10 +01:00
Sebastien Helleu c2aeb69c46 relay: add experimental websocket server support (RFC 6455) for irc and weechat protocols, new option relay.network.websocket_allowed_origins
It is a partial implementation of RFC 6455: fragmentation and control frames are
not yet supported.
Text and binary frames are supported.
2013-02-10 20:22:13 +01:00
Sebastien Helleu eb11921f16 irc: add missing RFC 2813 in header 2013-02-10 15:57:38 +01:00
Sebastien Helleu 190c5dfcc2 doc: add IRC RFCs for file irc-protocol.c in developer's guide 2013-02-10 15:55:44 +01:00
Sebastien Helleu 96da9b91cf doc: use HTML pages for links to RFCs in user's guide 2013-02-10 15:50:30 +01:00
Sebastien Helleu d406bed521 doc: fix typos in user's guide 2013-02-10 15:41:17 +01:00
Sebastien Helleu 7e0a675b62 doc: add missing signals in plugin API reference (buffer_merged/unmerged, key_bind/unbind, window_closing/closed) 2013-02-08 13:26:15 +01:00
Sebastien Helleu d4b1b50311 core: fix structures before buffer data when a buffer is closed
This was causing a bug in relay plugin (weechat protocol): when a buffer was
closed, local variables were removed after buffer name, and when signal is sent
to client, the buffer name was wrong (already freed).
2013-02-07 22:11:25 +01:00
Sebastien Helleu e4149b073d relay: add options "buffers" and "upgrade" for commands sync/desync in weechat protocol 2013-02-07 22:08:31 +01:00
Sebastien Helleu 3e2bf9be0a doc: remove list of scripts for URLs in FAQ 2013-02-07 22:06:58 +01:00
Nils Görs de6bf18e47 doc: update german translations and scripting guide 2013-02-04 08:35:25 +01:00
Sebastien Helleu 1cdbc27abf core: fix refresh of line after changes with hdata_update (update flag "displayed" according to filters) 2013-02-04 08:29:57 +01:00
Marco Paolone 95687e8057 core: update italian translations 2013-02-03 16:21:06 +01:00
Sebastien Helleu 7a1f9a1d7f relay: fix commands sync/desync in weechat protocol (bug #38215)
Fix:
- use proper arguments in commands sync/desync (use argv[0] instead of argv[1])
- when searching if a buffer is synchronized, its name has higher priority on "*"
  (so first check if buffer is synchronized, and if not found, search if "*" is
  synchronized)
- when receiving a "nicklist_*" signal, check if the buffer is synchronized with
  flag "RELAY_WEECHAT_PROTOCOL_SYNC_NICKLIST"
2013-02-03 09:51:15 +01:00
Sebastien Helleu afe729435a relay: fix typo in comment 2013-02-03 08:38:41 +01:00
Sebastien Helleu 7829b1ccba core: remove weechat.spec from EXTRA_DIST target 2013-02-02 15:51:02 +01:00
Sebastien Helleu 8796626ea2 core: add file .gitattributes to exclude some files from tarballs
Files excluded: .git* (.gitignore, .gitattributes), weechat.spec
Directory excluded: debian/
2013-02-02 15:37:10 +01:00
Sebastien Helleu 3306c0f3b5 core: add info about doc and function to read in /help weechat.completion.default_template 2013-02-01 11:14:27 +01:00
Sebastien Helleu 07c8063993 doc: add description of command "test" in relay protocol 2013-02-01 09:59:38 +01:00
Sebastien Helleu ac94f68b59 relay: add return of a NULL pointer in command "test" 2013-02-01 09:58:30 +01:00
Sebastien Helleu 08f360692d relay: add comments with example of messages in weechat protocol 2013-02-01 08:53:37 +01:00
Sebastien Helleu 6983d34e88 aspell: optimization on spellers to improve speed (save state by buffer), add info "aspell_dict", add completion "aspell_dicts"
Two hashtables have been added to store the spellers currently used (in all
buffers) and info for each buffer: array with pointers to spellers and state of
aspell for this buffer.
Therefore the spellers are not destroyed and created again on each buffer switch,
or each time screen is refreshed when window is split.
2013-01-31 19:40:41 +01:00
Sebastien Helleu 5d2382caab core: fix detection of python on Ubuntu Raring 2013-01-31 17:14:34 +01:00
Sebastien Helleu 8b43151c85 doc: fix typo in user's guide 2013-01-31 12:16:39 +01:00
Sebastien Helleu ad60321843 irc: fix typo in comment 2013-01-31 08:57:09 +01:00
Nils Görs 792d607027 core: add "/debug tags" in /help filter 2013-01-29 20:20:22 +01:00
Sebastien Helleu cb617d8b23 core: fix hidden lines for messages without date when option weechat.history.max_buffer_lines_minutes is set (bug #38197) 2013-01-29 19:31:04 +01:00
Sebastien Helleu 25eaec3864 core: use size of 32 for hashtables (instead of 4, 8 or 16)
A size of 32 will use a little more memory but will reduce collisions in key
hashs, and then length of linked lists inside hash structure (faster search in
hashtable).
2013-01-26 19:26:43 +01:00
Sebastien Helleu f4dce04723 core: use default hash/comparison callback for keys of type integer/pointer/time in hashtable 2013-01-26 18:48:26 +01:00
Sebastien Helleu a5aaed89d2 doc: fix monospaced font used for literal and listing blocks in japanese 2013-01-26 11:49:11 +01:00
Sebastien Helleu 54a2067422 doc: use boxes/arrows chars for diagram in differences with C API (scripting guide) 2013-01-26 11:42:02 +01:00
Sebastien Helleu 95bcc49063 doc: add example of callback in each language (scripting guide) 2013-01-26 08:22:04 +01:00
Sebastien Helleu 3d9886f82e doc: add command "/script" in scripting guide 2013-01-26 07:48:20 +01:00
Sebastien Helleu 05390016c0 irc: add color in output of /names when result is on server buffer (channel not joined) (bug #38070) 2013-01-25 19:05:23 +01:00
Sebastien Helleu 62e9a1715b core: sync debian files with debian git repository 2013-01-24 13:50:26 +01:00
Sebastien Helleu 27b539affe core: display error number and string in some network errors
Error number and string is now displayed when an error is returned by one of
these functions: socket, setsockopt, fcntl, pipe, accept, bind, listen, mkfifo.
2013-01-24 08:55:04 +01:00
Sebastien Helleu 1918bd1d4e core: fix typo in ChangeLog 2013-01-22 09:58:09 +01:00
Sebastien Helleu 0e3bec6d2e scripts: do now allow empty script name in function "register" 2013-01-22 09:26:11 +01:00
Sebastien Helleu 1edabb98f5 core: remove obsolete/unneeded check of headers and functions in cmake and configure 2013-01-21 19:51:45 +01:00
stfn 2dea08aba8 doc: fix examples of function weechat_hook_connect (plugin API reference) 2013-01-20 17:02:10 +01:00
Sebastien Helleu 5f7733c4a7 core: add missing formatting chars in ChangeLog 2013-01-20 15:18:10 +01:00
Sebastien Helleu ff15aa40a6 core: update ChangeLog 2013-01-20 15:07:37 +01:00
Sebastien Helleu 3a782b017f Merge branch 'guile2' 2013-01-20 15:06:46 +01:00
Sebastien Helleu d5e546f2c6 Merge branch 'perl-script-load' 2013-01-20 15:04:25 +01:00
Sebastien Helleu ff15c0a41b Version 0.4.1-dev 2013-01-20 12:14:39 +01:00
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 0f143da012 guile: fix compilation with guile 2.0 2013-01-16 22:37:31 +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 4a554d48d2 perl: fix compilation when multiplicity is disabled 2013-01-11 13:27:14 +01:00
Nei 0b1550afe1 perl: simplify code to load scripts 2013-01-10 23:10:04 +01:00
318 changed files with 18707 additions and 12092 deletions
+5
View File
@@ -0,0 +1,5 @@
# files/directories excluded from tarballs
.git* export-ignore
debian export-ignore
weechat.spec export-ignore
-1
View File
@@ -47,4 +47,3 @@ weechat.pc
stamp*
src/gui/curses/weechat-curses
src/gui/gtk/weechat-gtk
+2
View File
@@ -20,11 +20,13 @@ Alphabetically:
* Ailin Nemui (Nei)
* Aleksey V Zapparov
* Andrew Potter
* Arvydas Sidorenko
* Benoit Papillault (benoit)
* Dmitry Kobylin
* Dominik Honnef
* Elián Hanisch (m4v)
* Elizabeth Myers (Elizacat)
* Frank Zacharias
* Gu1ll4um3r0m41n
* gwenn
+4 -3
View File
@@ -33,7 +33,7 @@ ENDIF(PREFIX)
SET(VERSION_MAJOR "0")
SET(VERSION_MINOR "4")
SET(VERSION_PATCH "0-rc3")
SET(VERSION_PATCH "1-rc2")
SET(VERSION ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH})
SET(LICENSE "GPL3")
SET(PKG_STRING "${PROJECT_NAME} ${VERSION}")
@@ -64,7 +64,6 @@ ELSE(DEFINED INCLUDEDIR)
ENDIF(DEFINED INCLUDEDIR)
OPTION(ENABLE_NCURSES "Enable Ncurses interface" ON)
OPTION(ENABLE_GTK "Enable GTK interface" OFF)
OPTION(ENABLE_NLS "Enable Native Language Support" ON)
OPTION(ENABLE_GNUTLS "Enable SSLv3/TLS support" ON)
OPTION(ENABLE_LARGEFILE "Enable Large File Support" ON)
@@ -133,6 +132,9 @@ SET(includedir "\${prefix}/include")
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/weechat.pc.in ${CMAKE_CURRENT_BINARY_DIR}/weechat.pc @ONLY)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat.pc DESTINATION ${LIBDIR}/../pkgconfig)
# icon
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/weechat.png DESTINATION ${SHAREDIR}/icons/hicolor/32x32/apps)
# packages
SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Fast, light and extensible chat client")
SET(CPACK_PACKAGE_VENDOR "Sebastien Helleu")
@@ -157,7 +159,6 @@ SET(CPACK_SOURCE_IGNORE_FILES "/\\\\.git" "/build/" "/m4/"
"/ltmain\\\\.sh$" "/\\\\.deps/" "/html/" "/html1/" "/Makefile$"
"/Makefile\\\\.in$" "stamp" "/po/.*\\\\.header$" "\\\\.gmo$" "~$" "\\\\.o$"
"\\\\.lo$" "\\\\.a$" "\\\\.la$" "\\\\.lai$" "\\\\.Plo$" "/weechat-curses$"
"/weechat-gtk$"
)
INCLUDE(CPack)
+178 -59
View File
@@ -1,12 +1,130 @@
WeeChat ChangeLog
=================
Sébastien Helleu <flashcode@flashtux.org>
v0.4.0-rc3, 2013-01-14
v0.4.1-rc2, 2013-05-11
Version 0.4.0 (under dev!)
This document lists all changes for each version.
For a list of important changes that require manual action, please look at
http://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes]
(file 'NEWS' in sources).
Version 0.4.1 (under dev!)
--------------------------
* core: fix display of long lines without time (message beginning with two tabs)
* core: make nick prefix/suffix dynamic (not stored in the line): move options
irc.look.nick_{prefix|suffix} to weechat.look.nick_{prefix|suffix} and options
irc.color.nick_{prefix|suffix} to weechat.color.chat_nick_{prefix|suffix},
add new options weechat.look.prefix_align_more_after,
weechat.look.prefix_buffer_align_more_after, logger.file.nick_{prefix|suffix}
(bug #37531)
* core: reset scroll in window before zooming on a merged buffer (bug #38207)
* core: install icon file (patch #7972)
* core: fix refresh of item "completion": clear it after any action that is
changing content of command line and after switch of buffer (bug #38214)
* core: add support of multiple layouts (task #11274)
* core: add signals nicklist_{group|nick}_removing and hsignals
nicklist_{group|nick}_{added|removing|changed}
* core: add count for groups, nicks, and total in nicklist
* core: allow read of array in hdata without using index
* core: add option "dirs" for command /debug
* core: fix detection of iconv with cmake on OS X (bug #38321)
* core: add signal "window_opened" (task #12464)
* core: fix structures before buffer data when a buffer is closed
* core: fix refresh of line after changes with hdata_update (update flag
"displayed" according to filters)
* core: fix detection of python on Ubuntu Raring
* core: fix hidden lines for messages without date when option
weechat.history.max_buffer_lines_minutes is set (bug #38197)
* core: use default hash/comparison callback for keys of type
integer/pointer/time in hashtable
* api: add new function hdata_search
* api: add property "completion_freeze" for function buffer_set: do not stop
completion when command line is updated
* api: fix connection to servers with hook_connect on OS X (bug #38496)
* api: fix bug in string_match when mask begins and ends with "*"
* api: allow hashtable with keys that are not strings in function
hashtable_add_to_infolist
* api: fix function string_mask_to_regex: escape all special chars used in regex
(bug #38398)
* aspell: add completion "aspell_dicts" (list of aspell installed dictionaries)
* aspell: add info "aspell_dict" (dictionaries used on a buffer)
* aspell: optimization on spellers to improve speed (save state by buffer)
* guile: fix crash in function hdata_move
* guile: fix arguments given to callbacks (separate arguments instead of one
list with arguments inside), guile >= 2.0 is now required (bug #38350)
* guile: fix crash on calls to callbacks during load of script (bug #38343)
* guile: fix compilation with guile 2.0
* irc: fix display of CTCP messages that contain bold attribute (bug #38895)
* irc: add support of "dh-aes" SASL mechanism (patch #8020)
* irc: fix duplicate nick completion when someone rejoins the channel with same
nick but a different case (bug #38841)
* irc: add support of UHNAMES (capability "userhost-in-names") (task #9353)
* irc: add tag "irc_nick_back" for messages displayed in private buffer when a
nick is back on server (task #12576)
* irc: fix crash on command "/allchan /close"
* irc: add option irc.look.display_join_message (task #10895)
* irc: fix default completion (like nicks) in commands /msg, /notice, /query and
/topic
* irc: fix prefix color for nick when the prefix is not in
irc.color.nick_prefixes: use default color (key "*")
* irc: add option irc.look.pv_buffer: automatically merge private buffers
(optionally by server) (task #11924)
* irc: rename option irc.network.lag_disconnect to irc.network.lag_reconnect,
value is now a number of seconds
* irc: hide passwords in commands or messages sent to nickserv (/msg nickserv)
with new modifiers "irc_command_auth" and "irc_message_auth", remove option
irc.look.hide_nickserv_pwd, add option irc.look.nicks_hide_password
(bug #38346)
* irc: fix display of malformed CTCP (without closing char) (bug #38347)
* irc: unmask smart filtered join if nick speaks in channel some minutes after
the join, new option irc.look.smart_filter_join_unmask (task #12405)
* irc: fix memory leak in purge of hashtables with joins (it was done only for
the first server in the list)
* irc: add color in output of /names when result is on server buffer (channel
not joined) (bug #38070)
* lua: remove use of functions for API constants
* lua: fix crash on stack overflow: call lua_pop() for values returned by lua
functions (bug #38510)
* perl: simplify code to load scripts
* python: fix crash when loading scripts with Python 3.x (patch #8044)
* relay: rename compression "gzip" to "zlib" (compression is zlib, not gzip)
* relay: add message "_nicklist_diff" (differences between old and current
nicklist)
* relay: add support of multiple servers on same port for irc protocol (the
client must send the server in the "PASS" command)
* relay: add WebSocket server support (RFC 6455) for irc and weechat protocols,
new option relay.network.websocket_allowed_origins
* relay: add options "buffers" and "upgrade" for commands sync/desync in weechat
protocol
* relay: fix commands sync/desync in weechat protocol (bug #38215)
* rmodifier: rename default rmodifier "nickserv" to "command_auth" (with new
modifier "irc_command_auth"), add default rmodifier "message_auth" (modifier
"irc_message_auth")
* ruby: fix crash in function hdata_move
* ruby: fix crash with Ruby 2.0: use one array for the last 6 arguments of
function config_new_option (bug #31050)
* script: fix compilation on GNU/Hurd (patch #7977)
* script: create "script" directory on each action, just in case it has been
removed (bug #38472)
* script: add option script.scripts.autoload, add options "autoload",
"noautoload" and "toggleautoload" for command /script, add action "A" (meta-A)
on script buffer (toggle autoload) (task #12393)
* scripts: create directories (language and language/autoload) on each action
(install/remove/autoload), just in case they have been removed (bug #38473)
* scripts: do not allow empty script name in function "register"
* xfer: add option xfer.file.auto_accept_nicks (patch #7962)
* xfer: fix freeze of DCC file received: use non-blocking socket after
connection to sender and ensure the ACK is properly sent (bug #38340)
Version 0.4.0 (2013-01-20)
--------------------------
* core: fix infinite loop when a regex gives an empty match (bug #38112)
* core: fix detection of guile in configure
* core: fix click in item "buffer_nicklist" when nicklist is a root bar
(bug #38080)
* core: fix line returned when clicking on a bar (according to position and
@@ -21,7 +139,7 @@ Version 0.4.0 (under dev!)
* core: fix memory leak in case of error when building content of bar item for
display
* core: fix detection of command in input: a single command char is considered
as a command (API function "string_input_for_bufer")
as a command (API function "string_input_for_buffer")
* core: search for a fallback template when a no template is matching command
arguments
* core: add option "diff" for command /set (list options with changed value)
@@ -189,10 +307,10 @@ Version 0.3.9 (2012-09-29)
* core: add options weechat.look.color_nick_offline and
weechat.color.chat_nick_offline{_highlight|_highlight_bg} to use different
color for offline nicks in prefix (task #11109)
* core: reallow names beginning with "#" for bars, proxies and filters
* core: allow again names beginning with "#" for bars, proxies and filters
* core: escape special chars (`#[\`) in configuration files for name of options
(bug #36584)
* doc: add japanese user's guide (patch #7827), scripting guide and tester's
* doc: add Japanese user's guide (patch #7827), scripting guide and tester's
guide
* api: allow update for some variables of hdata, add new functions hdata_update
and hdata_set
@@ -233,7 +351,7 @@ Version 0.3.9 (2012-09-29)
(task #12150)
* irc: fix freeze when reading on socket with SSL enabled (use non-blocking
sockets) (bug #35097)
* irc: reallow names beginning with "#" for servers
* irc: allow again names beginning with "#" for servers
* logger: add tags in backlog lines displayed when opening buffer
* logger: add messages "Day changed to" in backlog (task #12187)
* lua: support of lua 5.2
@@ -267,7 +385,7 @@ Version 0.3.8 (2012-06-03)
* core: fix crash in focus hook for nicklist (bug #36271)
* core: fix truncated configuration files (zero-length) after system crash
(bug #36383)
* core: fix display bugs and crashs with small windows (bug #36107)
* core: fix display bugs and crashes with small windows (bug #36107)
* core: convert options weechat.look.prefix_align_more and
weechat.look.prefix_buffer_align_more from boolean to string (task #11197)
* core: fix display bug with prefix when length is greater than max and prefix
@@ -283,7 +401,7 @@ Version 0.3.8 (2012-06-03)
weechat.look.paste_bracketed and weechat.look.paste_bracketed_timer_delay
(task #11316)
* core: fix display of wide chars on last column of chat area (patch #7733)
* doc: add japanese FAQ (patch #7781)
* doc: add Japanese FAQ (patch #7781)
* api: display warning in scripts when invalid pointers (malformed strings) are
given to plugin API functions (warning displayed if debug for plugin is >= 1)
* api: add list "gui_buffer_last_displayed" in hdata "buffer"
@@ -348,9 +466,9 @@ Version 0.3.8 (2012-06-03)
Version 0.3.7 (2012-02-26)
--------------------------
* core: add japanese translations
* core: add Japanese translations
* core: fix expand of path `~` to home of user in function string_expand_home
(`~/xxx` was ok, but not `~`)
(`~/xxx` was OK, but not `~`)
* core: fix memory leak when closing buffer
* core: fix memory leak in function util_search_full_lib_name
* core: automatically add newline char after last pasted line (when pasting many
@@ -377,7 +495,7 @@ Version 0.3.7 (2012-02-26)
* core: apply filters after full reload of configuration files (with /reload)
(bug #31182)
* core: allow list for option weechat.plugin.extension (makes weechat.conf
portable accross Un*x and Windows) (task #11479)
portable across Un*x and Windows) (task #11479)
* core: fix compilation under OpenBSD 5.0 (lib utf8 not needed any more)
(bug #34727)
* core: add new option weechat.completion.base_word_until_cursor: allow
@@ -471,7 +589,7 @@ Version 0.3.6 (2011-10-22)
* core: fix paste detection (problem with end of lines)
* core: add new option weechat.look.color_basic_force_bold, off by default: bold
is used only if terminal has less than 16 colors (patch #7621)
* core: add default key "meta2-[E" (F5) for linux console
* core: add default key "meta2-[E" (F5) for Linux console
* core: fix display of paste multi-line prompt with a root input bar
(bug #34305)
* core: add "inactive" colors for inactive windows and lines in merged buffers,
@@ -727,7 +845,7 @@ Version 0.3.4 (2011-01-16)
nicklist_nick_get_integer, nicklist_nick_get_string, nicklist_nick_get_pointer,
nicklist_nick_set
* alias: complete with alias value for second argument of command /alias
* irc: differenciate notices from messages in private buffer (bug #31980)
* irc: differentiate notices from messages in private buffer (bug #31980)
* irc: update nick modes with message 221 (bug #32038)
* irc: add option "-server" to command /join (task #10837)
* irc: fix bug with charset decoding on private buffers (decoding was made for
@@ -801,7 +919,7 @@ Version 0.3.3 (2010-08-07)
* irc: fix bug in parser when no argument is received after command, no
callback was called, and message was silently ignored (bug #30640)
* irc: add new option irc.look.nick_color_stop_chars
* irc: fix import of certificates created by openssl >= 1.0.0 (bug #30316)
* irc: fix import of certificates created by OpenSSL >= 1.0.0 (bug #30316)
* irc: fix display of local SSL certificate when it is sent to server
(patch #7218)
* irc: improve lag indicator: two colors (counting and finished), update item
@@ -996,7 +1114,7 @@ Version 0.3.0 (2009-09-06)
* irc: add irc plugin (replaces old IRC code in core) (task #6217)
* irc: add smart join/part/quit message filter (task #8503)
* irc: use of many addresses for servers (auto-switch when a connexion fails),
* irc: use of many addresses for servers (auto-switch when a connection fails),
nicks are now set with one option "nicks" (task #6088)
* irc: add some colors in messages from server (for text and nicks)
(task #8926)
@@ -1005,7 +1123,7 @@ Version 0.3.0 (2009-09-06)
disconnecting during connection problem (bug #17584)
* irc: command /whois is now authorized in private without argument
(task #7482)
* irc: fix private buffer name with irssi proxy (bug #26589)
* irc: fix private buffer name with Irssi proxy (bug #26589)
* irc: remove kernel info in CTCP VERSION reply (task #7494)
* irc: add missing commands (328, 369)
* irc: fix mode parsing when receiving modes with arguments (bug #26793)
@@ -1053,9 +1171,9 @@ Version 0.3.0 (2009-09-06)
* network: fix network connection for hostnames resolving to several IPs: try
all IPs in list until one succeeds (bug #21473, debian #498610)
* core: add group support in nicklist
* core: improve main loop: higher timout in select(), less CPU usage
* core: improve main loop: higher timeout in select(), less CPU usage
* core: add /reload command to reload WeeChat and plugins config files (signal
SIGHUP is catched to reload config files)
SIGHUP is caught to reload config files)
* core: add new /layout command and save_layout_on_exit config option, to
save/restore windows and buffers order (task #5453)
* core: add new options for completion, optional stop instead of cycling with
@@ -1107,7 +1225,7 @@ Version 0.2.6 (2007-09-06)
* add paste detection, new options look_paste_max_lines and col_input_actions
(task #5442)
* fix bug with highlight and UTF-8 chars around word (bug #20753)
* add swedish quickstart guide
* add Swedish quickstart guide
* add support of channel mode +u (channel user) (bug #20717)
* improve /connect command to connect to a host by creating a temporary server,
add option to /server to create temporary server (task #7095)
@@ -1144,8 +1262,8 @@ Version 0.2.6 (2007-09-06)
Version 0.2.5 (2007-06-07)
--------------------------
* fix QUOTE command: now allowed when socket is ok (even if IRC connection to
server is not ok) (bug #20113)
* fix QUOTE command: now allowed when socket is OK (even if IRC connection to
server is not OK) (bug #20113)
* add missing IRC commands (327, 378, 379) (bug #20091)
* fix hotlist when exiting search mode: current buffer is removed from hotlist
* add "%M" for completion with nicks of current server (nicks on open channels)
@@ -1171,7 +1289,7 @@ Version 0.2.5 (2007-06-07)
* add protocol priority for gnutls (patch #5915)
* add channel admin mode "!" for some IRC servers
* fix bug with iso2022jp locale (bug #18719)
* fix string format bug when displaying string thru plugin script API
* fix string format bug when displaying string through plugin script API
* add /reconnect command (task #5448)
* add "-all" option for /connect and /disconnect commands (task #6232)
* improve nick completion: completion with last speakers first and self nick at
@@ -1209,7 +1327,7 @@ Version 0.2.4 (2007-03-29)
text on command line (task #6468)
* fix permissions on "dcc" and "logs" directories (bug #18978)
* add event handler to plugin API
* add scots quickstart guide
* add Scots quickstart guide
* add numeric argument for /clear command (buffer number) (patch #5372)
* fix crash when /away command is issued with no server connection (bug #18839)
* fix crash when closing a buffer opened on many windows
@@ -1234,7 +1352,7 @@ Version 0.2.2 (2007-01-06)
* fix bug with use of first buffer for a channel if not connected to server
(now allowed only for a server buffer)
* fix refresh bug with private buffer title
* fix bug with nick completion in command args (now uses option
* fix bug with nick completion in command arguments (now uses option
look_nick_completion_ignore)
* fix display bug with color for first line on screen (bug #17719)
* add anti-flood option (irc_anti_flood) (task #5442)
@@ -1242,7 +1360,7 @@ Version 0.2.2 (2007-01-06)
* plugins: "add_message_handler" now accepts "*" for all IRC messages
* add keys (F9/F10) to scroll topic (task #6030)
* add auto completion with channels and filenames (task #5423)
* fix memleak in keyboard input
* fix memory leak in keyboard input
* fix refresh bug when changing config options if window is split
* add space between chat and nicklist when position is "right" (bug #17852)
* add option "look_nicklist_separator" (task #5437)
@@ -1284,13 +1402,13 @@ Version 0.2.1 (2006-10-01)
* new signals handled: SIGTERM and SIGHUP (received when terminal is closed):
clean WeeChat quit (send quit to irc servers then quit WeeChat)
* add some new default key bindings for existing keys (for some OS)
* command /key now ok with one arg (key name): display key if found
* command /key now OK with one argument (key name): display key if found
* fix bug with CTCP VERSION sent on channels (bug #17547)
* add current channel completion for /ctcp command
* fix bugs in get_buffer_data() which breaks the retrieval of buffer content
(perl, lua)
* fix nicklist display bug when top/bottom (not enough lines) (bug #17537)
* fix bug with auto-rejoin of keyed chans (bug #17534)
* fix bug with auto-rejoin of keyed channels (bug #17534)
* add default nick completion when line starts with "//" (bug #17535)
* values yes/no accepted (as on/off) for config boolean values (task #5454)
* add server default notify level (set by /buffer notify on server buffer)
@@ -1341,7 +1459,7 @@ Version 0.2.0 (2006-08-19)
* fix crash when setting look_one_server_buffer to ON (bug #16932)
* add new functions in plugin/script API: get window info, get buffer info, get
buffer content
* add polish, russian and czech quickstart guide
* add polish, Russian and Czech quickstart guide
* fix display bug with special char (bug #16732)
* add color encoding for some commands like /me
* add aspell plugin
@@ -1356,7 +1474,8 @@ Version 0.2.0 (2006-08-19)
Version 0.1.9 (2006-05-25)
--------------------------
* fix /squery command (message sent to server, now ok with # args > 2)
* fix /squery command (message sent to server, now OK with more than two
arguments)
* fix /alias command (with an alias name, display content)
* improve lua plugin detection (bug #16574)
* add backtrace when WeeChat crashes, log file automatically renamed
@@ -1370,11 +1489,11 @@ Version 0.1.9 (2006-05-25)
* fix Ruby crash when handler does not return OK or KO (bug #16552)
* fix UTF-8 display bug with chars using more than one cell on screen
(bug #16356)
* fix display bug with DCC file size when > 1 Gb
* fix display bug with DCC file size when > 1 GB
* fix refresh bug (deadlock in curses) when terminal is resized (bug #16542)
* fix nicklist sort bug
* add russian translations (thanks to Pavel Shevchuk)
* add german doc (thanks to Frank Zacharias)
* add Russian translations (thanks to Pavel Shevchuk)
* add German doc (thanks to Frank Zacharias)
* add missing IRC commands (006, 007, 290, 292, 310, 379, 437, 974)
* fix crash when multiple pv have same name: now it's forbidden and pv buffer
is not renamed (when a nick changes) if another exists with same name
@@ -1384,10 +1503,10 @@ Version 0.1.9 (2006-05-25)
* fix many crashes with DCC chat (bug #16416)
* add new option to customize input prompt
* add nick modes
* fix commands 332, 333 (/topic now ok when channel is not opened)
* fix commands 332, 333 (/topic now OK when channel is not opened)
* remove color encoding and charset conversion for commands (only allowed in
text sent to channel/private)
* add hostnames associeted to nicks (available for /ban completion)
* add hostnames associated to nicks (available for /ban completion)
* add "+p" mode for channels, fix mode display in status bar
* add nick alignment options
* fix /names command: now displays result when not on a channel
@@ -1443,20 +1562,20 @@ Version 0.1.8 (2006-03-18)
(patch from Pistos)
* add new option "irc_away_check_max_nicks" to disable away check on channels
with high number of nicks (patch from Gwenn)
* add new command line argument for setting WeeChat homedir (-d or --dir)
* add new command line argument for setting WeeChat home dir (-d or --dir)
(patch from Gwenn)
* fix bug with charset in infobar highlights
* fix bug with buffer detection in plugins/scripts commands
* fix bug with /history command
* add option "irc_show_away_once", to show away message only once in pv
* add partial hungarian translation
* add partial Hungarian translation
Version 0.1.7 (2006-01-14)
--------------------------
* fix msg command (now allowed in private buffer with "*" as target)
* remove "irc_default_msg_away" setting, for RFC 2812 conformity (/away command
wihtout argument only removes away status), new values for "irc_display_away"
without argument only removes away status), new values for "irc_display_away"
(off, local, channel)
* fix refresh bug with Solaris when term size is changed
* replace Texinfo doc by XML Docbook
@@ -1468,13 +1587,13 @@ Version 0.1.7 (2006-01-14)
* add /upgrade command
* add ETA (Estimated Time of Arrival) for DCC files
* /nick command is now allowed when not connected to server
* add server/channel arg to /buffer command for jumping to buffer
* add server/channel argument to /buffer command for jumping to buffer
* fix display bug in chat window when a message length equals to window width
* add new keys for switching to other windows: alt+"w" followed by alt+{arrow}
* add new keys for scrolling to previous/next highlight: alt+"p" / alt+"n"
* add "read marker": an indicator for first unread line in a server or channel
buffer (new key alt+"u" to scroll to marker)
* new window maganement: custom size for windows, auto resize when terminal is
* new window management: custom size for windows, auto resize when terminal is
resized
* fix infinite loop when resizing term to small size
* add /history command
@@ -1520,7 +1639,7 @@ Version 0.1.5 (2005-09-24)
* fix DCC display bug (now decodes string according to charset)
* add /ignore and /unignore commands
* fix bug with strings comparison (str[n]casecmp) and some locales (like
turkish), now using ASCII comparison (thanks to roktas)
Turkish), now using ASCII comparison (thanks to roktas)
* signal SIGQUIT is now ignored
* fix refresh bug when one line is bigger than screen size
* fix look_nicklist_min_size and look_nicklist_max_size options
@@ -1557,7 +1676,7 @@ Version 0.1.4 (2005-07-30)
Version 0.1.3 (2005-07-02)
--------------------------
* proxy support (http, socks4, socks5) with authentification (http, socks5)
* proxy support (http, socks4, socks5) with authentication (http, socks5)
and ipv6 support (client to proxy)
* add completion for config option (with /set command)
* commands from users outside channel now authorized (if special user or
@@ -1573,7 +1692,7 @@ Version 0.1.3 (2005-07-02)
* in python scripts, all messages written in stdin and stderr are redirected in
server buffer
* fix a filename error while loading a python script manually
* fix plugins "print" and "prnt" functions: now ok for writing on server
* fix plugins "print" and "prnt" functions: now OK for writing on server
buffers
* fix color problem with new libcurses version
* fix crash when using alt+"s" or alt+"x" on DCC buffer (alt+"d")
@@ -1589,7 +1708,7 @@ Version 0.1.2 (2005-05-21)
* add transfer rate for DCC files
* add "-all" option for /nick command
* buffers timestamp can now be changed (new option in config file)
* WeeChat now ok under *BSD and Mac OS X
* WeeChat now OK under *BSD and Mac OS X
* fix nicklist sort
* fix crash when purging old DCC
* fix crash with 64-bits arch (like AMD64) when converting UTF-8
@@ -1605,7 +1724,7 @@ Version 0.1.1 (2005-03-20)
* add DCC send and DCC chat
* add /halfop & /dehalfop commands, fix halfop display bug in nicklist
* add /ban, /unban and /kickban commands
* add spanish translation
* add Spanish translation
* add --irc-commands and --weechat-commands command line options
* connection to IRC server is now made by child process (non blocking)
* add support for UnrealIrcd ("~" for chan owner, "&" for chan admin)
@@ -1615,20 +1734,20 @@ Version 0.1.1 (2005-03-20)
* plugins messages are logged with new config option (log_plugin_msg)
* fix /kick command
* fix /invite command (and now invite requests are displayed)
* fix /buffer close command (now ok when disconnected from server)
* fix /buffer close command (now OK when disconnected from server)
* fix display bugs when many windows are opened
Version 0.1.0 (2005-02-12)
--------------------------
* improve /window command: now split and merge are ok
* improve /window command: now split and merge are OK
* away nicks are now displayed with another color (new option:
"irc_away_check")
* add away indicator in status bar
* add lag indicator (and auto-disconnect after a delay if important lag)
* improve completion: now completes commands arguments (IRC and internal),
when only one completion matches, completion mechanism is stoped (to complete
command arg for example)
when only one completion matches, completion mechanism is stopped (to complete
command argument for example)
* improve /set command: empty strings are allowed, new colors, server options
can be changed while WeeChat is running
* add default away/part/quit messages in config file
@@ -1638,15 +1757,15 @@ Version 0.1.0 (2005-02-12)
* add new options for charset (UTF-8 support): look_charset_decode,
look_charset_encode and look_charset_internal
* fix many memory leaks
* fix colors bug: remove "gray" color (replaced by "default"), colors are ok
* fix colors bug: remove "gray" color (replaced by "default"), colors are OK
when terminal has white (or light) background
* fix crash when resizing terminal to small size
* fix crash when multiple servers and big messages received from server
* fix crash when closing some private buffers
* fix crash when unknown section with option(s) in config file
* fix /op, /deop, /voice, /devoice (now ok with many nicks)
* fix /me command (now ok without parameter)
* fix /away command (now ok if not away)
* fix /op, /deop, /voice, /devoice (now OK with many nicks)
* fix /me command (now OK without parameter)
* fix /away command (now OK if not away)
* logs are now disabled by default (server/channel/private)
Version 0.0.9 (2005-01-01)
@@ -1655,7 +1774,7 @@ Version 0.0.9 (2005-01-01)
* auto-reconnection to server (new options: server_autoreconnect (on/off),
server_autoreconnect_delay (in seconds))
* fix major bug when socket is closed by server (100% CPU usage), and
disconnections are now ok (all channels are "closed", history is still
disconnections are now OK (all channels are "closed", history is still
visible, and buffer will be used again if reconnection to server)
* option "look_remove_colors_from_msgs" is now working
* fix display of nick mode changes
@@ -1670,17 +1789,17 @@ Version 0.0.9 (2005-01-01)
Version 0.0.8 (2004-10-30)
--------------------------
* fix /kick command: now ok with many words as reason
* fix /kick command: now OK with many words as reason
* nickserv passwords hidden (new config option: log_hide_nickserv_pwd on/off)
* auto-rejoin channels when kicked (new config option: server_autorejoin on/off)
* add IRC::command function for Perl scripts
* fix bug when adding alias with same name as other
* /buffer command developed (buffers list, move and notify)
* logging buffers to disk (server/channel/private according to user prefs)
* logging buffers to disk (server/channel/private according to user preferences)
* add config option "look_display_away" to announce away in channels
* fix crash when resizing terminal to very small size
* "-MORE-" message is now erased when switching to another buffer
* DCC file receive ok (alt+"d" for DCC view)
* DCC file receive OK (alt+"d" for DCC view)
* /query command now reopens private buffer if already opened
* add key for redrawing terminal (ctrl+"l")
* add key for clearing hotlist (alt+"r")
@@ -1707,9 +1826,9 @@ Version 0.0.6 (2004-06-05)
* fix bug when opened private win and remote user changes his nick
* add command /query (starts private conversation)
* add IRC messages 476, 477
* /mode command is now ok and channel flags are displayed in status bar
* /mode command is now OK and channel flags are displayed in status bar
* fix display bug (text was blinking when scrolling)
* CTCP Version reply is now in english only and doesn't show host (security
* CTCP Version reply is now in English only and doesn't show host (security
reason)
Version 0.0.5 (2004-02-07)
@@ -1739,7 +1858,7 @@ Version 0.0.4 (2004-01-01)
switch to this window
* highlight when our nick is written in a channel/private window
* catch ctrl+"c" (ignored)
* debug messages can be enabled via ./configure --enbale-debug option
* debug messages can be enabled via ./configure --enable-debug option
Version 0.0.3 (2003-11-03)
--------------------------
+7 -2
View File
@@ -57,11 +57,16 @@ EXTRA_DIST = CMakeLists.txt \
cmake/cmake_uninstall.cmake.in \
po/CMakeLists.txt \
po/srcfiles.cmake \
weechat.spec \
weechat_icon_32.png \
weechat.png \
weechat.pc.in
ACLOCAL_AMFLAGS = -I m4
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = weechat.pc
icondir = $(datadir)/icons/hicolor/32x32/apps
icon_DATA = weechat.png
clean-local:
$(RM) config-git.h
+500 -202
View File
@@ -1,28 +1,186 @@
WeeChat Release Notes
=====================
Sébastien Helleu <flashcode@flashtux.org>
v0.4.0-rc3, 2013-01-14
v0.4.1-rc2, 2013-05-11
Version 0.4.0 (under dev!)
This document lists important changes for each version, that require manual
actions. It is recommended to read it when upgrading to a new stable
version.
For a complete list of changes, please look at
http://weechat.org/files/changelog/ChangeLog-devel.html[ChangeLog]
(file 'ChangeLog' in sources).
Version 0.4.1 (under dev!)
--------------------------
Important release notes:
=== Nicklist diff in relay ===
* 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`
A new message with identifier "_nicklist_diff" has been added in relay (WeeChat
protocol). WeeChat may decide to send full nicklist or this nicklist diff at any
time (depending on size of message, the smaller is sent).
Clients using nicklist must implement it.
For more info about content of message, see document 'WeeChat Relay Protocol'.
=== Dynamic nick prefix/suffix ===
The nick prefix/suffix (for example: "<" and ">") are now dynamic and used on
display (not stored any more in the line).
Options moved from irc plugin (irc.conf) to core (weechat.conf):
* 'irc.look.nick_prefix' moved to 'weechat.look.nick_prefix'
* 'irc.look.nick_suffix' moved to 'weechat.look.nick_suffix'
* 'irc.color.nick_prefix' moved to 'weechat.color.chat_nick_prefix'
* 'irc.color.nick_suffix' moved to 'weechat.color.chat_nick_suffix'
Types and default values for these four options remain unchanged.
Two new options to customize the truncature char (by default "`+`"):
* 'weechat.look.prefix_align_more_after' (boolean, 'on' by default)
* 'weechat.look.prefix_buffer_align_more_after' (boolean, 'on' by default)
When these options are enabled (default), the "`+`" is displayed after the
text, replacing the space that should be displayed there. +
When turned off, the "`+`" will replace last char of text.
Example for a nicks "FlashCode" and "fc" with different values for options
'weechat.look.prefix_align_max', 'weechat.look.prefix_align_more_after',
'weechat.look.nick_prefix' and 'weechat.look.nick_suffix':
----------------------------------------
# align_max, more_after, prefix/suffix
FlashCode │ test # 0, on
fc │ test
FlashCod+│ test # 8, on
fc │ test
FlashCo+ │ test # 8, off
fc │ test
<FlashCode> │ test # 0, on, < >
<fc> │ test
<FlashC>+│ test # 8, on, < >
<fc> │ test
<Flash+> │ test # 8, off, < >
<fc> │ test
----------------------------------------
After `/upgrade`, if you set new options to non-empty strings, and if old
options were set to non-empty strings too, you will see double prefix/suffix
on old messages, this is normal behaviour (lines displayed before `/upgrade`
have prefix/suffix saved in prefix, but new lines don't have them any more).
New options in logger plugin (logger.conf):
* 'logger.file.nick_prefix': prefix for nicks in log files (default: empty
string)
* 'logger.file.nick_suffix': suffix for nicks in log files (default: empty
string)
=== IRC reconnection on important lag ===
Option 'irc.network.lag_disconnect' has been renamed to
'irc.network.lag_reconnect' and value is now a number of seconds (instead of
minutes).
=== IRC passwords hidden ===
IRC plugin is now using modifiers "irc_command_auth" and "irc_message_auth" to
hide passwords.
The option 'irc.look.hide_nickserv_pwd' has been removed, and a new option
'irc.look.nicks_hide_password' has been added (by default passwords are hidden
only for "nickserv").
A new rmodifier "message_auth" has been added to hide passwords displayed by
command "/msg nickserv identify|register|ghost|release" and the rmodifier
"nickserv" has been renamed to "command_auth".
If you never added/changed rmodifiers, you can just reset all rmodifiers:
----------------------------------------
/rmodifier default -yes
----------------------------------------
If you added/changed some rmodifiers, do it manually with these commands:
----------------------------------------
/rmodifier del nickserv
/rmodifier add command_auth history_add,input_text_display,irc_command_auth 1,4* ^(/(msg|quote) +nickserv +(id|identify|register|ghost \S+|release \S+) +)(.*)
/rmodifier add message_auth irc_message_auth 1,3* ^(.*(id|identify|register|ghost \S+|release \S+) +)(.*)
----------------------------------------
=== Lua constants ===
For consistency with other supported languages, the API constants in Lua have
been redefined as constants instead of functions.
Therefore, the use of a constant must be changed: the parentheses must be
removed.
The old syntax was:
[source,lua]
----------------------------------------
return weechat.WEECHAT_RC_OK()
----------------------------------------
The new syntax is:
[source,lua]
----------------------------------------
return weechat.WEECHAT_RC_OK
----------------------------------------
=== Guile callbacks ===
The way to give arguments for guile callbacks has been fixed: now arguments are
sent individually (instead of a list with all arguments inside).
Therefore, existing guile scripts must be modified accordingly. Moreover,
WeeChat now requires Guile ≥ 2.0 to compile.
Version 0.4.0 (2013-01-20)
--------------------------
=== Conditions in bars ===
Conditions in bars have changed, and now an expression is evaluated.
If you have a value with many conditions in a bar, like: `nicklist,active`, you
must now use an expression like: `${nicklist} && ${active}` (see the chapter
about bars in the 'WeeChat User's guide').
=== IPv6 by default ===
==== IRC ====
IPv6 is now used by default to connect to IRC servers, with fallback to
IPv4. The option 'irc.server_default.ipv6' is now "on" by default. If IPv6 is
not enabled or fails, IPv4 will be used. The "ipv6" option in server is now used
to disable IPv6 and force IPv4 (if option is turned "off").
==== Relay ====
Relay plugin is now listening by default on an IPv6 socket (new option
'relay.network.ipv6', on by default), so connections with IPv4 will have
IPv4-mapped IPv6 addresses, like: "::ffff:127.0.0.1" (for "127.0.0.1"); check
that value of option 'relay.network.allowed_ips' supports this mapping, or
disable IPv6 in relay if you don't plan to use it at all:
----------------------------------------
/set relay.network.ipv6 off
----------------------------------------
Version 0.3.9.2 (2012-11-18)
----------------------------
@@ -38,181 +196,273 @@ This version fixes crash when decoding IRC colors in strings.
Version 0.3.9 (2012-09-29)
--------------------------
Important release notes:
=== Options moved ===
* options moved from core (weechat.conf) to irc plugin (irc.conf):
** 'weechat.look.nickmode' moved to 'irc.look.nick_mode' (new type: integer
Options moved from core (weechat.conf) to irc plugin (irc.conf):
* 'weechat.look.nickmode' moved to 'irc.look.nick_mode' (new type: integer
with values: none/prefix/action/both)
** 'weechat.look.nickmode_empty' moved to 'irc.look.nick_mode_empty'
* new bar item has been added: 'buffer_modes' and irc option
'irc.look.item_channel_modes' has been removed; to display irc channel modes
in status bar (after channel name), you have to manually add the new item
'buffer_modes' (this is now used by default in status bar items), default
value for status bar items becomes:
** `/set weechat.bar.status.items "[time],[buffer_count],[buffer_plugin],buffer_number+:+buffer_name+(buffer_modes)+{buffer_nicklist_count}+buffer_filter,[lag],[hotlist],completion,scroll"`
* changes in options for command `/aspell`:
** new option `enable`: enable aspell
** new option `disable`: disable aspell
** new option `toggle`: toggle aspell (new default key: alt+"s")
** option `enable` renamed to `setdict` (set dictionary for current buffer)
** option `disable` renamed to `deldict` (delete dictionary used on current buffer)
** option `dictlist` renamed to `listdict` (show installed dictionaries)
* an horizontal separator has been added between split windows, and two options
have been added to toggle separators (both are enabled by default):
** 'weechat.look.window_separator_horizontal'
** 'weechat.look.window_separator_vertical'
* new keys were added, use command `/key missing` to add them or `/key listdiff`
to see differences between your current keys and WeeChat default keys
* 'weechat.look.nickmode_empty' moved to 'irc.look.nick_mode_empty'
=== New bar item buffer_modes ===
A new bar item has been added: 'buffer_modes' and irc option
'irc.look.item_channel_modes' has been removed; to display irc channel modes in
status bar (after channel name), you have to manually add the new item
'buffer_modes' (this is now used by default in status bar items), default value
for status bar items becomes:
----------------------------------------
/set weechat.bar.status.items "[time],[buffer_count],[buffer_plugin],buffer_number+:+buffer_name+(buffer_modes)+{buffer_nicklist_count}+buffer_filter,[lag],[hotlist],completion,scroll"
----------------------------------------
=== Command /aspell ===
New options in command `/aspell`:
* `enable`: enable aspell
* `disable`: disable aspell
* `toggle`: toggle aspell (new default key: alt+"s")
Options renamed in command `/aspell`:
* `enable` renamed to `setdict` (set dictionary for current buffer)
* `disable` renamed to `deldict` (delete dictionary used on current buffer)
* `dictlist` renamed to `listdict` (show installed dictionaries)
=== Horizontal separator ===
An horizontal separator has been added between split windows, and two options
have been added to toggle separators (both are enabled by default):
* 'weechat.look.window_separator_horizontal'
* 'weechat.look.window_separator_vertical'
=== New keys ===
New keys were added, use command `/key missing` to add them or `/key listdiff`
to see differences between your current keys and WeeChat default keys.
Version 0.3.8 (2012-06-03)
--------------------------
Important release notes:
=== Options ===
* options 'weechat.look.prefix_align_more' and
'weechat.look.prefix_buffer_align_more' have been converted from type boolean
to string:
** if the value was on (default), new value is "+" and you can now customize
this char
** if the value was off, you have to set " " (string with one space)
* option 'weechat.look.paste_max_lines' can now be used with value 0 to detect
paste with one line (only if terminal "bracketed paste mode" is enabled when
option 'weechat.look.paste_bracketed' is on); so now the value -1 is used
to disable paste detection: if your value was 0, you should set it to -1:
** `/set weechat.look.paste_max_lines -1`
* rmodifier "nickserv" has a new default regex which includes option "release"
for command "/msg nickserv". If you never added/changed rmodifiers, you can
just reset all rmodifiers (command: `/rmodifier default -yes`).
If you added/changed some rmodifiers, do it manually with these two commannds:
** `/rmodifier del nickserv`
** `/rmodifier add nickserv history_add,input_text_display 1,4* ^(/(msg|quote) +nickserv +(id|identify|ghost \S+|release \S+) +)(.*)`
Options 'weechat.look.prefix_align_more' and
'weechat.look.prefix_buffer_align_more' have been converted from type boolean to
string:
* if the value was on (default), new value is "+" and you can now customize this
char
* if the value was off, you have to set " " (string with one space)
=== Paste detection ===
Option 'weechat.look.paste_max_lines' can now be used with value 0 to detect
paste with one line (only if terminal "bracketed paste mode" is enabled when
option 'weechat.look.paste_bracketed' is on); so now the value -1 is used to
disable paste detection: if your value was 0, you should set it to -1
----------------------------------------
/set weechat.look.paste_max_lines -1
----------------------------------------
=== Rmodifier ===
Rmodifier "nickserv" has a new default regex which includes option "release" for
command "/msg nickserv".
If you never added/changed rmodifiers, you can just reset all rmodifiers:
----------------------------------------
/rmodifier default -yes
----------------------------------------
If you added/changed some rmodifiers, do it manually with these commands:
----------------------------------------
/rmodifier del nickserv
/rmodifier add nickserv history_add,input_text_display 1,4* ^(/(msg|quote) +nickserv +(id|identify|ghost \S+|release \S+) +)(.*)
----------------------------------------
Version 0.3.7 (2012-02-26)
--------------------------
Important release notes:
=== Options ===
* option `scroll_unread` has been moved from command `/input` to `/window`,
therefore default command of key alt+"u" has been updated. To bind key with
new default value:
** `/key bind meta-u /window scroll_unread`
* extended regex is used in filters and irc ignore, so some chars that
needed escape in past do not need any more (for example `[0-9]\+` becomes
`[0-9]+`), filters and ignore have to be manually fixed
* option 'weechat.look.highlight_regex' becomes case insensitive by default,
to make it case sensitive, use "(?-i)" at beginning of string, for example:
"(?-i)FlashCode|flashy"
* option 'weechat.history.max_lines' has been renamed to
'weechat.history.max_buffer_lines_number'
* option 'weechat.plugin.extension' now supports list of extensions, and new
default value is ".so,.dll" (with this value, weechat.conf is compatible with
Cygwin)
Option `scroll_unread` has been moved from command `/input` to `/window`,
therefore default command of key alt+"u" has been updated. To bind key with new
default value:
----------------------------------------
/key bind meta-u /window scroll_unread
----------------------------------------
Option 'weechat.history.max_lines' has been renamed to
'weechat.history.max_buffer_lines_number'.
Option 'weechat.plugin.extension' now supports list of extensions, and new
default value is ".so,.dll" (with this value, weechat.conf is compatible with
Cygwin).
=== Extended regex ===
Extended regex is used in filters and irc ignore, so some chars that needed
escape in past do not need any more (for example `[0-9]\+` becomes `[0-9]+`),
filters and ignore have to be manually fixed.
Option 'weechat.look.highlight_regex' becomes case insensitive by default, to
make it case sensitive, use "(?-i)" at beginning of string, for example:
"(?-i)FlashCode|flashy".
Version 0.3.6 (2011-10-22)
--------------------------
Important release notes:
=== Options ===
* bold is not used any more for basic colors (used only if terminal has less
than 16 colors), a new option has been added to force bold if needed:
'weechat.look.color_basic_force_bold'
* option 'weechat.look.hline_char' has been renamed to
'weechat.look.separator_horizontal'
Option 'weechat.look.hline_char' has been renamed to
'weechat.look.separator_horizontal'.
=== Bold in colors ===
Bold is not used any more for basic colors (used only if terminal has less than
16 colors), a new option has been added to force bold if needed:
'weechat.look.color_basic_force_bold'.
Version 0.3.5 (2011-05-15)
--------------------------
Important release notes:
=== Colors ===
* if you have some colors defined in section "palette" with version 0.3.4, you
should remove all colors defined, and add new aliases (it's not needed any
more to add colors before using them)
* colors for nick prefixes (char for op, voice, ..) are defined in a single
option 'irc.color.nick_prefixes', therefore following options will be lost:
'irc.color.nick_prefix_op', 'irc.color.nick_prefix_halfop',
'irc.color.nick_prefix_voice', 'irc.color.nick_prefix_user'
* count of messages have been added to hotlist by default, if you want to come
back to old 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 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`
to see differences between your current keys and WeeChat default keys
If you have some colors defined in section "palette" with version 0.3.4, you
should remove all colors defined, and add new aliases (it's not needed any more
to add colors before using them).
Colors for nick prefixes (char for op, voice, ..) are defined in a single option
'irc.color.nick_prefixes', therefore following options will be lost:
'irc.color.nick_prefix_op', 'irc.color.nick_prefix_halfop',
'irc.color.nick_prefix_voice', 'irc.color.nick_prefix_user'.
=== Hotlist ===
==== Counters ====
Count of messages have been added to hotlist by default, if you want to come
back to old behavior, do that:
----------------------------------------
/set weechat.look.hotlist_count_max 0
/set weechat.look.hotlist_buffer_separator ","
----------------------------------------
==== Away and current buffer ====
When you are away, all buffers are now added to hotlist by default (even if they
are displayed in a window), if you want to come back to old behavior, do that:
----------------------------------------
/set weechat.look.hotlist_add_buffer_if_away off
----------------------------------------
=== New keys ===
New keys were added, use command `/key missing` to add them or `/key listdiff`
to see differences between your current keys and WeeChat default keys.
Version 0.3.4 (2011-01-16)
--------------------------
Important release notes:
=== After /upgrade ===
* if you are using `/upgrade` from a previous release:
** some nick prefixes can be wrong, so it is recommended to do `/allchan names`
** nick colors are defined with a new option 'weechat.color.chat_nick_colors',
therefore old options 'weechat.color.chat_nick_color1..10' will be lost when
upgrading
** nick colors in messages displayed will be wrong if you changed some nick colors
(old default colors will be used)
* some IRC options have been renamed, before upgrading to this version, note
value for old options, and set them again with new name:
** options moved from 'network' section to servers (with global value, and server
value, like other server options):
*** 'irc.network.connection_timeout' moved to 'irc.server_default.connection_timeout'
*** 'irc.network.anti_flood_prio_high' moved to 'irc.server_default.anti_flood_prio_high'
*** 'irc.network.anti_flood_prio_low' moved to 'irc.server_default.anti_flood_prio_low'
*** 'irc.network.away_check' moved to 'irc.server_default.away_check'
*** 'irc.network.away_check_max_nicks' moved to 'irc.server_default.away_check_max_nicks'
*** 'irc.network.default_msg_part' moved to 'irc.server_default.default_msg_part'
*** 'irc.network.default_msg_quit' moved to 'irc.server_default.default_msg_quit'
** other IRC options renamed:
*** 'irc.look.open_channel_near_server' moved to 'irc.look.new_channel_position'
(old option was boolean, new is integer with value as string)
*** 'irc.look.open_pv_near_server' moved to 'irc.look.new_pv_position'
(old option was boolean, new is integer with value as string)
If you are using `/upgrade` from a previous release:
* some nick prefixes can be wrong, so it is recommended to do `/allchan names`
* nick colors are defined with a new option 'weechat.color.chat_nick_colors',
therefore old options 'weechat.color.chat_nick_color1..10' will be lost when
upgrading
* nick colors in messages displayed will be wrong if you changed some nick colors
(old default colors will be used)
=== Options ===
Some IRC options have been renamed, before upgrading to this version, note
value for old options, and set them again with new name:
* options moved from 'network' section to servers (with global value, and server
value, like other server options):
** 'irc.network.connection_timeout' moved to
'irc.server_default.connection_timeout'
** 'irc.network.anti_flood_prio_high' moved to
'irc.server_default.anti_flood_prio_high'
** 'irc.network.anti_flood_prio_low' moved to
'irc.server_default.anti_flood_prio_low'
** 'irc.network.away_check' moved to 'irc.server_default.away_check'
** 'irc.network.away_check_max_nicks' moved to
'irc.server_default.away_check_max_nicks'
** 'irc.network.default_msg_part' moved to 'irc.server_default.default_msg_part'
** 'irc.network.default_msg_quit' moved to 'irc.server_default.default_msg_quit'
* other IRC options renamed:
** 'irc.look.open_channel_near_server' moved to 'irc.look.new_channel_position'
(old option was boolean, new is integer with value as string)
** 'irc.look.open_pv_near_server' moved to 'irc.look.new_pv_position'
(old option was boolean, new is integer with value as string)
Version 0.3.3 (2010-08-07)
--------------------------
Important release notes:
=== After /upgrade ===
* if you are using `/upgrade` from a previous release, then you must reconnect
to IRC servers in order to use new command /wallchops.
* option 'irc.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).
If you are using `/upgrade` from a previous release, then you must reconnect to
IRC servers in order to use new command /wallchops.
=== Options ===
Option 'irc.look.show_away_once' has been renamed to
'irc.look.display_pv_away_once'.
Option 'irc.network.lag_min_show' is now in milliseconds, you should set new
value: your current value multiplied by 1000 (new default value is 500).
Version 0.3.2 (2010-04-18)
--------------------------
=== After /upgrade ===
If you are using `/upgrade` from a previous release, then you must execute this
command on all IRC servers/channels/private buffers and xfer DCC chats (not
needed on WeeChat core buffer or buffers from other plugins/scripts): +
`/buffer set highlight_words $nick`
needed on WeeChat core buffer or buffers from other plugins/scripts):
----------------------------------------
/buffer set highlight_words $nick
----------------------------------------
Version 0.3.1.1 (2010-01-31)
----------------------------
This version fixes crashs with SSL connection and purge of old DCC chats.
This version fixes crashes with SSL connection and purge of old DCC chats.
All users of version 0.3.1 should upgrade to this version.
Version 0.3.1 (2010-01-23)
--------------------------
=== Aliases ===
IRC commands /ame and /amsg are now aliases, if you are upgrading from version
0.3.0, you must create aliases with following commands: +
`/alias aaway allserv /away` +
`/alias ame allchan /me` +
`/alias amsg allchan /amsg *` +
`/alias anick allserv /nick`
0.3.0, you must create aliases with following commands:
----------------------------------------
/alias aaway allserv /away
/alias ame allchan /me
/alias amsg allchan /amsg *
/alias anick allserv /nick
----------------------------------------
Version 0.3.0 (2009-09-06)
--------------------------
This version brings major changes, especially for configuration files and plugin
API and it not compatible with previous versions.
This version brings *MAJOR* changes, especially for configuration files and
plugin API and it not compatible with previous versions.
Major differences:
@@ -271,26 +521,47 @@ All users of version 0.2.2 should upgrade to this version.
Version 0.2.2 (2007-01-06)
--------------------------
Important release notes:
=== Charset plugin ===
* new charset plugin:
** for users of any previous version, all your charset settings in weechat.rc
will be LOST! You should save your weechat.rc to keep your values and set
them again with new 'charset' plugin.
** for ISO users: history of channels may be without accents (after `/upgrade`),
this is not recoverable, but this is not a bug. All new messages should be
ok.
** be careful, now default encode is UTF-8 for all channels (before it was
terminal charset). If you still want to send messages as 'ISO-8859-1', you
should send either global encode or server specific encode to 'ISO-8859-1':
*** for global encode: `/setp charset.global.encode = "ISO-8859-1"`
*** for server encode (on server buffer): `/charset encode ISO-8859-1`
* new keys for topic scroll:
** new keys for scrolling topic: F9/F10
** key F10 was used for `infobar_clear` in previous WeeChat versions,
you have to manually rebind this key (except for new WeeChat users):
*** `/key <press alt+"k" then F10> scroll_topic_right` (which gives something
like: `/key meta2-21~ scroll_topic_right`).
For users of any previous version, all your charset settings in weechat.rc will
be LOST! You should save your weechat.rc to keep your values and set them again
with new 'charset' plugin.
For ISO users: history of channels may be without accents (after `/upgrade`),
this is not recoverable, but this is not a bug. All new messages should be OK.
Be careful, now default encode is UTF-8 for all channels (before it was terminal
charset). If you still want to send messages as 'ISO-8859-1', you should set
either global encode or server specific encode to 'ISO-8859-1'.
For global encode:
----------------------------------------
/setp charset.global.encode = "ISO-8859-1"
----------------------------------------
For server encode (on server buffer):
----------------------------------------
/charset encode ISO-8859-1
----------------------------------------
=== New keys ===
New keys for topic scroll: F9/F10.
Key F10 was used for `infobar_clear` in previous WeeChat versions, you have to
manually rebind this key (except for new WeeChat users):
----------------------------------------
/key <press alt+"k" then F10> scroll_topic_right
----------------------------------------
Which gives something like:
----------------------------------------
/key meta2-21~ scroll_topic_right
----------------------------------------
Version 0.2.1 (2006-10-01)
--------------------------
@@ -300,71 +571,98 @@ No release note.
Version 0.2.0 (2006-08-19)
--------------------------
Important release notes:
=== After /upgrade ===
* if you upgraded with `/upgrade` in WeeChat, you should `/disconnect` and then
`/reconnect` on each server, to display properly channel/user modes.
* if you're using plugins, you should remove some old plugins libraries in
WeeChat system library directory (commonly '/usr/local/lib/weechat/plugins'):
remove `lib*` files (like `libperl.*`, `libpython.*`, ..) and keep only new
libraries (`perl.*`, `python.*`, ..).
If you upgraded with `/upgrade` in WeeChat, you should `/disconnect` and then
`/reconnect` on each server, to display properly channel/user modes.
=== Plugins ===
If you're using plugins, you should remove some old plugins libraries in WeeChat
system library directory (commonly '/usr/local/lib/weechat/plugins'): remove
`lib*` files (like `libperl.*`, `libpython.*`, ..) and keep only new libraries
(`perl.*`, `python.*`, ..).
Version 0.1.9 (2006-05-25)
--------------------------
Important release notes:
=== DCC chat ===
* please close all DCC chat buffers before using /upgrade command, otherwise you
may experience problems with DCC chats.
* some changes in script API: now timer handlers functions takes exactly
0 (zero) argument (in version 0.1.8, two arguments were mandatory but not
used: server and args).
Please close all DCC chat buffers before using /upgrade command, otherwise you
may experience problems with DCC chats.
=== Script API ===
Some changes in script API: now timer handlers functions takes exactly 0 (zero)
argument (in version 0.1.8, two arguments were mandatory but not used: server
and arguments).
Version 0.1.8 (2006-03-18)
--------------------------
Important release notes:
=== After /upgrade ===
* it is recommended for users of version 0.1.7 (or any older), to
replace values in setup file ('~/.weechat/weechat.rc'):
** option: log_path: replace '~/.weechat/logs' by '%h/logs'
** option: plugins_path: replace '~/.weechat/plugins' by '%h/plugins' +
'%h' is replaced by WeeChat home (default: '~/.weechat', may be overriden
by new command line arg `--dir`).
* after installing 0.1.8 (or with `/upgrade`), issue both commands (if you
didn't redefine these keys (alt+{home|end}):
** `/key unbind meta-meta2-1~`
** `/key unbind meta-meta2-4~`
** then launch again WeeChat (or issue `/upgrade`).
* Keys alt+{home|end} were used for nicklist scroll, they're now replaced by
alt+{F11|F12}.
After installing 0.1.8 (or with `/upgrade`), issue both commands (if you didn't
redefine these keys (alt+{home|end}):
----------------------------------------
/key unbind meta-meta2-1~
/key unbind meta-meta2-4~
----------------------------------------
Then launch again WeeChat (or issue `/upgrade`).
=== Configuration files ===
It is recommended for users of version 0.1.7 (or any older), to replace values
in setup file ('~/.weechat/weechat.rc'):
* option: log_path: replace '~/.weechat/logs' by '%h/logs'
* option: plugins_path: replace '~/.weechat/plugins' by '%h/plugins'
The string '%h' is replaced by WeeChat home (default: '~/.weechat', may be
overridden by new command line argument `--dir`).
=== Keys ===
Keys alt+{home|end} were used for nicklist scroll, they're now replaced by
alt+{F11|F12}.
Version 0.1.7 (2006-01-14)
--------------------------
Important release notes:
=== Ruby ===
* Ruby script plugin has been added but is experimental in this release.
You're warned!
* `/away` command was changed to be RFC 2812 compliant. Now argument is required
to set away, and no argument means remove away ("back"). Option
'irc_default_msg_away' has been removed.
Ruby script plugin has been added but is experimental in this release. You're
warned!
=== Command /away ===
Command `/away` was changed to be RFC 2812 compliant. Now argument is required
to set away, and no argument means remove away ("back").
Option 'irc_default_msg_away' has been removed.
Version 0.1.6 (2005-11-11)
--------------------------
Important release notes:
=== Script API ===
* incompatibility with some old scripts: now all handlers have to return a code
for completion, and to do some actions about message to ignore (please look at
documentation for detail).
* on OpenBSD, the new option 'plugins_extension' should be set to '.so.0.0'
since the plugins names are ending by '.so.0.0' and not '.so'.
* with new and full UTF-8 support, the option 'look_charset_internal' should be
set to blank for most cases. Forces it only if your locale is not properly
detected by WeeChat (you can set 'UTF-8' or 'ISO-8859-15' for example,
depending on your locale). WeeChat is looking for 'UTF-8' in your locale name
at startup.
Incompatibility with some old scripts: now all handlers have to return a code
for completion, and to do some actions about message to ignore (please look at
documentation for detail).
=== OpenBSD ===
On OpenBSD, the new option 'plugins_extension' should be set to '.so.0.0' since
the plugins names are ending by '.so.0.0' and not '.so'.
=== UTF-8 ===
With new and full UTF-8 support, the option 'look_charset_internal' should be
set to blank for most cases. Forces it only if your locale is not properly
detected by WeeChat (you can set 'UTF-8' or 'ISO-8859-15' for example, depending
on your locale). WeeChat is looking for 'UTF-8' in your locale name at startup.
Version 0.1.5 (2005-09-24)
--------------------------
+4 -18
View File
@@ -31,21 +31,7 @@ IF(GUILE_FOUND)
SET(GUILE_FIND_QUIETLY TRUE)
ENDIF(GUILE_FOUND)
FIND_PATH(GUILE_INCLUDE_DIR libguile.h /usr/include /usr/local/include /usr/include/libguile /usr/local/include/libguile)
FIND_LIBRARY(GUILE_LIBRARY NAMES guile PATH /usr/lib /usr/local/lib)
IF(GUILE_INCLUDE_DIR AND GUILE_LIBRARY)
SET(GUILE_FOUND TRUE)
SET(GUILE_INCLUDE_DIRS ${GUILE_INCLUDE_DIR})
SET(GUILE_LIBRARIES ${GUILE_LIBRARY})
ELSE(GUILE_INCLUDE_DIR AND GUILE_LIBRARY)
SET(GUILE_FOUND FALSE)
SET(GUILE_INCLUDE_DIRS)
SET(GUILE_LIBRARIES)
ENDIF(GUILE_INCLUDE_DIR AND GUILE_LIBRARY)
MARK_AS_ADVANCED(
GUILE_INCLUDE_DIR
GUILE_LIBRARY
)
FIND_PACKAGE(PkgConfig)
IF(PKG_CONFIG_FOUND)
pkg_search_module(GUILE guile-2.0)
ENDIF(PKG_CONFIG_FOUND)
+5 -4
View File
@@ -49,10 +49,11 @@ FIND_LIBRARY(ICONV_LIBRARY
IF(ICONV_INCLUDE_PATH)
IF(ICONV_LIBRARY)
STRING(REGEX REPLACE "/[^/]*$" "" ICONV_LIB_PATH "${ICONV_LIBRARY}")
CHECK_LIBRARY_EXISTS(iconv libiconv_open ${ICONV_LIB_PATH} ICONV_FOUND)
IF(NOT ICONV_FOUND)
CHECK_LIBRARY_EXISTS(iconv iconv_open ${ICONV_LIB_PATH} ICONV_FOUND)
ENDIF(NOT ICONV_FOUND)
CHECK_LIBRARY_EXISTS(iconv libiconv_open ${ICONV_LIB_PATH} LIBICONV_OPEN_FOUND)
CHECK_LIBRARY_EXISTS(iconv iconv_open ${ICONV_LIB_PATH} ICONV_OPEN_FOUND)
IF(LIBICONV_OPEN_FOUND OR ICONV_OPEN_FOUND)
SET(ICONV_FOUND TRUE)
ENDIF(LIBICONV_OPEN_FOUND OR ICONV_OPEN_FOUND)
ELSE(ICONV_LIBRARY)
CHECK_FUNCTION_EXISTS(iconv_open ICONV_FOUND)
ENDIF(ICONV_LIBRARY)
+1 -1
View File
@@ -47,7 +47,7 @@ ENDIF(ENABLE_PYTHON3)
IF(PYTHON_EXECUTABLE)
EXECUTE_PROCESS(
COMMAND ${PYTHON_EXECUTABLE} -c "import sys; from distutils.sysconfig import *; sys.stdout.write(get_config_var('CONFINCLUDEPY'))"
COMMAND ${PYTHON_EXECUTABLE} -c "import sys; from distutils.sysconfig import *; sys.stdout.write(get_config_var('INCLUDEPY'))"
OUTPUT_VARIABLE PYTHON_INC_DIR
)
-18
View File
@@ -1,27 +1,9 @@
#cmakedefine HAVE_ARPA_INET_H
#cmakedefine HAVE_LIBINTL_H
#cmakedefine HAVE_LIMITS_H
#cmakedefine HAVE_LOCALE_H
#cmakedefine HAVE_NETDB_H
#cmakedefine HAVE_NETINET_IN_H
#cmakedefine HAVE_STDLIB_H
#cmakedefine HAVE_STRING_H
#cmakedefine HAVE_SYS_SOCKET_H
#cmakedefine HAVE_SYS_TIME_H
#cmakedefine HAVE_SYS_TYPES_H
#cmakedefine HAVE_UNISTD_H
#cmakedefine HAVE_PWD_H
#cmakedefine HAVE_ERRNO_H
#cmakedefine HAVE_REGEX_H
#cmakedefine HAVE_WCHAR_H
#cmakedefine HAVE_SYS_FILE_H
#cmakedefine HAVE_SYS_RESOURCE_H
#cmakedefine HAVE_FLOCK
#cmakedefine HAVE_LANGINFO_CODESET
#cmakedefine HAVE_STRNDUP
#cmakedefine HAVE_BACKTRACE
#cmakedefine ICONV_2ARG_IS_CONST 1
#cmakedefine HAVE_TCL_CREATE_NS
#cmakedefine HAVE_MALLINFO
#cmakedefine HAVE_EAT_NEWLINE_GLITCH
#define PACKAGE_VERSION "@VERSION@"
+21 -39
View File
@@ -24,7 +24,7 @@
# Process this file with autoconf to produce a configure script.
AC_PREREQ(2.56)
AC_INIT(WeeChat, 0.4.0-rc3, flashcode@flashtux.org)
AC_INIT(WeeChat, 0.4.1-rc2, flashcode@flashtux.org)
AC_CONFIG_SRCDIR([configure.in])
AM_CONFIG_HEADER(config.h)
AM_INIT_AUTOMAKE
@@ -68,7 +68,7 @@ AC_CHECK_LIB(ncursesw, initscr, LIBNCURSESW_FOUND=1, LIBNCURSESW_FOUND=0)
# Checks for header files
AC_HEADER_STDC
AC_CHECK_HEADERS([arpa/inet.h libintl.h limits.h locale.h netdb.h netinet/in.h stdlib.h string.h sys/socket.h sys/time.h sys/types.h unistd.h pwd.h errno.h regex.h wchar.h sys/file.h sys/resource.h])
AC_CHECK_HEADERS([libintl.h sys/resource.h])
# Checks for typedefs, structures, and compiler characteristics
AC_HEADER_TIME
@@ -91,7 +91,7 @@ AC_MSG_RESULT($ac_cv_type_socklen_t)
# Checks for library functions.
AC_FUNC_SELECT_ARGTYPES
AC_TYPE_SIGNAL
AC_CHECK_FUNCS([gethostbyname gethostname getsockname gettimeofday inet_ntoa memset mkdir select setlocale socket strcasecmp strchr strdup strndup strncasecmp strpbrk strrchr strstr regexec mallinfo])
AC_CHECK_FUNCS([mallinfo])
# Variables in config.h
@@ -124,7 +124,6 @@ AH_VERBATIM([WEECHAT_HOME], [#define WEECHAT_HOME "~/.weechat"])
# Arguments for ./configure
AC_ARG_ENABLE(ncurses, [ --disable-ncurses turn off ncurses interface (default=compiled if found)],enable_ncurses=$enableval,enable_ncurses=yes)
AC_ARG_ENABLE(gtk, [ --enable-gtk turn on Gtk interface (default=off)],enable_gtk=$enableval,enable_gtk=no)
AC_ARG_ENABLE(gnutls, [ --disable-gnutls turn off gnutls support (default=compiled if found)],enable_gnutls=$enableval,enable_gnutls=yes)
AC_ARG_ENABLE(largefile, [ --disable-largefile turn off Large File Support (default=on)],enable_largefile=$enableval,enable_largefile=yes)
AC_ARG_ENABLE(alias, [ --disable-alias turn off Alias plugin (default=compiled)],enable_alias=$enableval,enable_alias=yes)
@@ -207,24 +206,6 @@ else
not_asked="$not_asked ncurses"
fi
if test "x$enable_gtk" = "xyes" ; then
AM_PATH_GTK_2_0(2.4.0, LIBGTK_FOUND=1, LIBGTK_FOUND=0)
if test "$LIBGTK_FOUND" = "0" ; then
AC_MSG_WARN([
*** Gtk library not found!
*** WeeChat will be built without Gtk support.])
enable_gtk="no"
not_found="$not_found gtk"
else
GTK_CFLAGS=`pkg-config --cflags gtk+-2.0`
GTK_LFLAGS=`pkg-config --libs gtk+-2.0`
AC_SUBST(GTK_CFLAGS)
AC_SUBST(GTK_LFLAGS)
fi
else
not_asked="$not_asked gtk"
fi
# ------------------------------------------------------------------------------
# iconv
# ------------------------------------------------------------------------------
@@ -481,7 +462,7 @@ if test "x$enable_python" = "xyes" ; then
else
PYTHON_SYSPREFIX=`$PYTHON -c 'import sys; sys.stdout.write("%s" % sys.prefix)'`
PYTHON_VERSION=`$PYTHON -c 'import sys; sys.stdout.write(sys.version[[:3]])'`
PYTHON_INCLUDE=`$PYTHON -c "import sys, distutils.sysconfig, string; sys.stdout.write(distutils.sysconfig.get_config_var('CONFINCLUDEPY'))"`
PYTHON_INCLUDE=`$PYTHON -c "import sys, distutils.sysconfig, string; sys.stdout.write(distutils.sysconfig.get_config_var('INCLUDEPY'))"`
PYTHON_OLD_VERSION=`$PYTHON -c "import sys; sys.stdout.write(str(sys.version_info < (2,5)))"`
if test "x$PYTHON_OLD_VERSION" = "xTrue" ; then
AC_MSG_WARN([
@@ -754,20 +735,26 @@ if test "x$enable_guile" = "xyes" ; then
enable_plugins="yes"
guile_found="no"
GUILECONFIG=""
AC_CHECK_PROGS(GUILECONFIG, guile-config)
if test "x$GUILECONFIG" != "x" ; then
AC_MSG_CHECKING(for Guile headers and librairies with guile-config)
PKGCONFIG=""
AC_CHECK_PROGS(PKGCONFIG, pkg-config)
if test "x$PKGCONFIG" != "x"; then
AC_MSG_CHECKING(for Guile headers and librairies)
echo
GUILE_CFLAGS=`$GUILECONFIG compile`
GUILE_LFLAGS=`$GUILECONFIG link`
GUILE_VERSION=`$GUILECONFIG info guileversion`
tcl_found="yes"
for v in "2.0" ; do
pkgconfig_guile_found=`$PKGCONFIG --exists guile-$v 2>/dev/null`
if test "x$?" = "x0" ; then
GUILE_VERSION=`$PKGCONFIG --modversion guile-$v`
GUILE_CFLAGS=`$PKGCONFIG --cflags guile-$v`
GUILE_LFLAGS=`$PKGCONFIG --libs guile-$v`
guile_found="yes"
break
fi
done
fi
if test "x$tcl_found" = "xno" ; then
if test "x$guile_found" = "xno" ; then
AC_MSG_WARN([
*** Script guile-config couldn't be found on your system.
*** Guile >= 2.0 couldn't be found on your system.
*** WeeChat will be built without Guile (scheme) support.])
enable_guile="no"
not_found="$not_found guile"
@@ -1066,7 +1053,6 @@ AM_CONDITIONAL(HAVE_GNUTLS, test "$enable_gnutls" = "yes")
AM_CONDITIONAL(HAVE_FLOCK, test "$enable_flock" = "yes")
AM_CONDITIONAL(HAVE_EAT_NEWLINE_GLITCH, test "$enable_eatnewlineglitch" = "yes")
AM_CONDITIONAL(GUI_NCURSES, test "$enable_ncurses" = "yes")
AM_CONDITIONAL(GUI_GTK, test "$enable_gtk" = "yes")
AM_CONDITIONAL(PLUGIN_ALIAS, test "$enable_alias" = "yes")
AM_CONDITIONAL(PLUGIN_ASPELL, test "$enable_aspell" = "yes")
AM_CONDITIONAL(PLUGIN_CHARSET, test "$enable_charset" = "yes")
@@ -1118,7 +1104,6 @@ AC_OUTPUT([Makefile
src/plugins/xfer/Makefile
src/gui/Makefile
src/gui/curses/Makefile
src/gui/gtk/Makefile
intl/Makefile
po/Makefile.in])
@@ -1130,14 +1115,11 @@ listgui=""
if test "x$enable_ncurses" = "xyes" ; then
listgui="$listgui ncurses"
fi
if test "x$enable_gtk" = "xyes" ; then
listgui="$listgui gtk"
fi
if test "x$listgui" = "x" ; then
AC_MSG_ERROR([
*** No interface specified...
*** Please enable at least ncurses or gtk.])
*** Please enable at least ncurses.])
fi
listplugins=""
+16
View File
@@ -1,3 +1,19 @@
weechat (0.4.0-1) unstable; urgency=low
* New upstream release.
* Bump Standards-Version to 3.9.4
* Remove UPGRADE_0.3 from doc (no more included in upstream sources).
-- Emmanuel Bouthenot <kolter@debian.org> Wed, 23 Jan 2013 18:44:36 +0000
weechat (0.3.9.2-1) unstable; urgency=low
* New upstream release
- do not call shell to execute command in hook_process (fix security
problem when a plugin/script gives untrusted command)
-- Emmanuel Bouthenot <kolter@debian.org> Sun, 18 Nov 2012 13:35:21 +0000
weechat (0.3.9.1-1) unstable; urgency=low
* New upstream release
+2 -2
View File
@@ -5,9 +5,9 @@ Maintainer: Emmanuel Bouthenot <kolter@debian.org>
Build-Depends-Indep: asciidoc (>= 8.5), source-highlight
Build-Depends: debhelper (>= 7.0.50), cmake, libncursesw5-dev,
ruby1.9.1, ruby1.9.1-dev, libperl-dev, python-dev, libaspell-dev, liblua5.1-0-dev,
tcl8.5-dev, guile-1.8-dev, libcurl4-gnutls-dev, libgcrypt11-dev, libgnutls-dev,
tcl8.5-dev, guile-2.0-dev, libcurl4-gnutls-dev, libgcrypt11-dev, libgnutls-dev,
zlib1g-dev, dpkg-dev (>= 1.13.19), pkg-config
Standards-Version: 3.9.3
Standards-Version: 3.9.4
Homepage: http://weechat.org/
Vcs-Git: git://anonscm.debian.org/users/kolter/weechat.git
Vcs-Browser: http://anonscm.debian.org/gitweb/?p=users/kolter/weechat.git
+11 -2
View File
@@ -4,11 +4,15 @@ body {
div.sectionbody {
font-family: serif,Helvetica,arial;
}
h1, h2, h3, h4, h5, h6 {
margin: 1em 0 0.6em 0;
}
h5 {
font-size: 0.95em;
}
tt {
font-family: monospace;
pre, tt {
font-size: 14px;
}
span.command {
background: #EEEEFF;
@@ -20,6 +24,11 @@ p.table {
margin-top: 0;
margin-bottom: 0;
}
div.listingblock > div.content {
border: solid 1px #DADADA;
border-radius: 4px;
background-color: #FAFAFA;
}
.key {
border-top: solid 1px #D5D5E5;
border-left: solid 1px #D5D5E5;
+5 -1
View File
@@ -6,7 +6,9 @@
| alias | alias_value | Wert von Alias
| aspell | aspell_langs | Liste der zu nutzenden Übersetzungen für Aspell
| aspell | aspell_dicts | Auflistung der installierten Wörterbücher
| aspell | aspell_langs | Liste aller Sprachen die durch Aspell unterstützt werden
| guile | guile_script | Liste der Skripten
@@ -104,6 +106,8 @@
| weechat | keys_contexts | Tastaturkontext
| weechat | layouts_names | Namen der Layouts
| weechat | nicks | Nicks in Nickliste für aktuellen Buffer
| weechat | palette_colors | Farbpalette
+6 -1
View File
@@ -27,7 +27,7 @@
'modes' (string) +
'limit' (integer) +
'key' (string) +
'names_received' (integer) +
'join_msg_received' (hashtable) +
'checking_away' (integer) +
'away_message' (string) +
'has_quit_server' (integer) +
@@ -42,6 +42,7 @@
'nicks_speaking' (pointer) +
'nicks_speaking_time' (pointer, hdata: "irc_channel_speaking") +
'last_nick_speaking_time' (pointer, hdata: "irc_channel_speaking") +
'join_smart_filtered' (hashtable) +
'buffer' (pointer, hdata: "buffer") +
'buffer_as_string' (string) +
'prev_channel' (pointer, hdata: "irc_channel") +
@@ -185,6 +186,7 @@
'cmd_list_regexp' (pointer) +
'last_user_message' (time) +
'last_away_check' (time) +
'last_data_purge' (time) +
'outqueue' (pointer) +
'last_outqueue' (pointer) +
'redirects' (pointer, hdata: "irc_redirect") +
@@ -403,6 +405,9 @@
'nicklist_root' (pointer, hdata: "nick_group") +
'nicklist_max_length' (integer) +
'nicklist_display_groups' (integer) +
'nicklist_count' (integer) +
'nicklist_groups_count' (integer) +
'nicklist_nicks_count' (integer) +
'nicklist_visible_count' (integer) +
'nickcmp_callback' (pointer) +
'nickcmp_callback_data' (pointer) +
+2
View File
@@ -2,6 +2,8 @@
|========================================
| Erweiterung | Name | Beschreibung | Argumente
| aspell | aspell_dict | durch Kommata getrennte Liste von Wörterbüchern, die in diesem Buffer genutzt werden sollen | Buffer-Pointer ("0x12345678") oder der vollständige Buffername ("irc.freenode.#weechat")
| fifo | fifo_filename | Name der FIFO-Pipe | -
| irc | irc_buffer | holt Buffer Pointer für einen IRC Server/Channel/Nick | server,channel,nick (Channel und Nicks sind optional)
+2 -3
View File
@@ -17,9 +17,8 @@ Anmerkung: Im Befehl können Variablen genutzt werden, die dann durch den entspr
$n-m: Argumente von 'n' bis 'm'
$*: alle Argumente
$~: letztes Argument
$nick: aktueller Nick
$channel: aktueller Channel
$server: aktueller Server
$var: "var" ist eine lokale Variable für den jeweiligen Buffer (siehe /buffer localvar)
Beispiel: $nick, $channel, $server, $plugin, $name
Um ein Alias zu löschen wird der Befehl "/unalias" genutzt.
+3 -3
View File
@@ -3,15 +3,15 @@
........................................
/aspell enable|disable|toggle
listdict
setdict <lang>
setdict <dict>[,<dict>...]
deldict
addword [<lang>] <word>
addword [<dict>] <word>
enable: Aspell wird aktiviert
disable: Aspell wird deaktiviert
toggle: Aspell Funktionalität umschalten
listdict: die, auf dem System, installierten Wörterbücher werden aufgelistet
setdict: Wörterbuch für den aktuellen Buffer einstellen
setdict: Wörterbuch für den aktuellen Buffer einstellen (mehrere Wörterbücher müssen durch Kommata getrennt werden)
deldict: Wörterbuch für den aktuellen Buffer entfernen
addword: fügt ein Wort in das persönliche Wörterbuch von Aspell hinzu
+1 -1
View File
@@ -1,5 +1,5 @@
* [[option_aspell.check.commands]] *aspell.check.commands*
** Beschreibung: `Durch Kommata getrennte Liste der Befehle, für die eine Rechtschreibprüfung gelten soll (Rechtschreibprüfung ist für andere Befehle deaktiviert)`
** Beschreibung: `durch Kommata getrennte Liste der Befehle, für die eine Rechtschreibprüfung gelten soll (Rechtschreibprüfung ist für andere Befehle deaktiviert)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"ame,amsg,away,command,cycle,kick,kickban,me,msg,notice,part,query,quit,topic"`)
+33 -38
View File
@@ -38,21 +38,11 @@
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"1,-1:darkgray"`)
* [[option_irc.color.nick_prefix]] *irc.color.nick_prefix*
** Beschreibung: `Farbe für den Nick Präfix (Präfix ist die editierbare Zeichenkette die vor dem Nick steht)`
** Typ: Farbe
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "_" für unterstrichen (Standardwert: `green`)
* [[option_irc.color.nick_prefixes]] *irc.color.nick_prefixes*
** Beschreibung: `Farben für Nick Präfix für das Modus-Symbol (o=op, h=halfop, v=voice, ..), Format: "o:color1;h:color2;v:color3" (falls ein Modus nicht gefunden wird versucht WeeChat die nächsten Modi die der Server sendet ("PREFIX"); ein spezieller Modus "*" kann als Standardfarbe genutzt werden falls kein Modus in der Liste gefunden wurde)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"q:lightred;a:lightcyan;o:lightgreen;h:lightmagenta;v:yellow;*:lightblue"`)
* [[option_irc.color.nick_suffix]] *irc.color.nick_suffix*
** Beschreibung: `Farbe für den Nick Suffix (Suffix ist die editierbare Zeichenkette die nach dem Nick steht)`
** Typ: Farbe
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "_" für unterstrichen (Standardwert: `green`)
* [[option_irc.color.notice]] *irc.color.notice*
** Beschreibung: `Farbe des "Notice"-Textes in Notizen`
** Typ: Farbe
@@ -143,6 +133,11 @@
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* [[option_irc.look.display_join_message]] *irc.look.display_join_message*
** Beschreibung: `durch Kommata getrennte Liste von Nachrichten die beim betreten eines Channels angezeigt werden sollen: 329 = Erstellungsdatum des Channels, 332 = Topic, 333 = Nick/Datum für Topic, 366 = genutzte Namen im Channel`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"329,332,333,366"`)
* [[option_irc.look.display_old_topic]] *irc.look.display_old_topic*
** Beschreibung: `Zeige das alte Thema an, falls das Thema des Channels geändert wurde`
** Typ: boolesch
@@ -158,13 +153,8 @@
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* [[option_irc.look.hide_nickserv_pwd]] *irc.look.hide_nickserv_pwd*
** Beschreibung: `Passwörter verstecken die durch NickServ angezeigt werden`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* [[option_irc.look.highlight_channel]] *irc.look.highlight_channel*
** Beschreibung: `durch Kommata getrennte Liste von Wörtern die im Channel-Buffer als Highlight erscheinen sollen (zwischen Groß- und Kleinschreibung wird nicht unterschieden. Um zwischen Groß- und Kleinschreibung zu unterscheiden muss zu Beginn "(?-i)" genutzt werden; des weiteren können folgende Variablen genutzt werden: $nick, $channel und $server). Die angegeben Wörter werden der lokalen Variable "highlight_words" hinzugefügt, sobald der Buffer geöffnet wird. Dies bedeutet, dass diese Option keinen direkten Einfluss auf schon geöffnete Buffer hat. Eine leere Zeichenkette deaktiviert ein Highlight für den Nick. Beispiel: "$nick", "(?-i)$nick"`
** Beschreibung: `durch Kommata getrennte Liste von Wörtern die in Channel-Buffern als Highlight erscheinen sollen (zwischen Groß- und Kleinschreibung wird nicht unterschieden. Um zwischen Groß- und Kleinschreibung zu unterscheiden muss zu Beginn "(?-i)" genutzt werden; des weiteren können folgende Variablen genutzt werden: $nick, $channel und $server). Die angegeben Wörter werden der lokalen Variable "highlight_words" hinzugefügt, sobald der Buffer geöffnet wird. Dies bedeutet, dass diese Option keinen direkten Einfluss auf schon geöffnete Buffer hat. Eine leere Zeichenkette deaktiviert ein Highlight für den Nick. Beispiel: "$nick", "(?-i)$nick"`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"$nick"`)
@@ -174,12 +164,12 @@
** Werte: beliebige Zeichenkette (Standardwert: `"$nick"`)
* [[option_irc.look.highlight_server]] *irc.look.highlight_server*
** Beschreibung: `durch Kommata getrennte Liste von Wörtern die im Serverbuffer als Highlight erscheinen sollen (zwischen Groß- und Kleinschreibung wird nicht unterschieden. Um zwischen Groß- und Kleinschreibung zu unterscheiden muss zu Beginn "(?-i)" genutzt werden; des weiteren können folgende Variablen genutzt werden: $nick, $channel und $server). Die angegeben Wörter werden der lokalen Variable "highlight_words" hinzugefügt, sobald der Buffer geöffnet wird. Dies bedeutet, dass diese Option keinen direkten Einfluss auf schon geöffnete Buffer hat. Eine leere Zeichenkette deaktiviert ein Highlight für den Nick. Beispiel: "$nick", "(?-i)$nick"`
** Beschreibung: `durch Kommata getrennte Liste von Wörtern die in Server-Buffern als Highlight erscheinen sollen (zwischen Groß- und Kleinschreibung wird nicht unterschieden. Um zwischen Groß- und Kleinschreibung zu unterscheiden muss zu Beginn "(?-i)" genutzt werden; des weiteren können folgende Variablen genutzt werden: $nick, $channel und $server). Die angegeben Wörter werden der lokalen Variable "highlight_words" hinzugefügt, sobald der Buffer geöffnet wird. Dies bedeutet, dass diese Option keinen direkten Einfluss auf schon geöffnete Buffer hat. Eine leere Zeichenkette deaktiviert ein Highlight für den Nick. Beispiel: "$nick", "(?-i)$nick"`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"$nick"`)
* [[option_irc.look.highlight_tags]] *irc.look.highlight_tags*
** Beschreibung: `eine durch Kommata getrennte Liste von Schlagwörtern welche eine Nachricht hervorheben sollen (Highlight) (normalerweise trifft dies auf jede Nachricht eines Users zu, ausgenommen Nachrichten vom Server,..)`
** Beschreibung: `durch Kommata getrennte Liste von Schlagwörtern, welche eine Nachricht hervorheben sollen (Highlight) (normalerweise trifft dies auf jede Nachricht eines Users zu, ausgenommen Nachrichten vom Server,..)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"irc_privmsg,irc_notice"`)
@@ -224,7 +214,7 @@
** Werte: none, next, near_server (Standardwert: `none`)
* [[option_irc.look.nick_color_force]] *irc.look.nick_color_force*
** Beschreibung: `erzwingt für einen Nick eine spezielle Farbe. Die mittels Streuwertfunktion aus dem Nicknamen generierte Nickfarbe findet für diese Nicks keine Anwendung (Format:"Nick1:Farbe1;Nick2:Farbe2"). Bei der Schreibweise der Nicks wird sowohl nach Groß- und Kleinschreibung unterschieden und ebenso kann man die Nicks nur mit Kleinbuchstaben schreiben.`
** Beschreibung: `erzwingt für einen Nick eine spezielle Farbe. Die standardmäßig, mittels Streuwertfunktion aus dem Nicknamen, generierte Nickfarbe findet für diese Nicks keine Anwendung (Format:"Nick1:Farbe1;Nick2:Farbe2"). Zuerst wird beim Nicknamen nach Groß- und Kleinschreibung unterschieden. Sollte der Nick nicht gefunden werden, findet keine Unterscheidung mehr statt. Somit ist es möglich die Nicks, in dieser Option, ausschließlich in Kleinschrift zu schreiben.`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
@@ -248,15 +238,10 @@
** Typ: boolesch
** Werte: on, off (Standardwert: `off`)
* [[option_irc.look.nick_prefix]] *irc.look.nick_prefix*
** Beschreibung: `Text, der im Chatfenster vor dem Nickname erscheinen soll`
* [[option_irc.look.nicks_hide_password]] *irc.look.nicks_hide_password*
** Beschreibung: `durch Kommata getrennte Liste von Nicks bei denen das Passwort in einer Nachricht unterdrückt werden soll. Zum Beispiel bei einer Nachricht die durch "/msg nickserv identify password" generiert wird. Beispiel: "nickserv,nickbot"`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
* [[option_irc.look.nick_suffix]] *irc.look.nick_suffix*
** Beschreibung: `Text, der im Chatfenster nach dem Nickname erscheinen soll`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
** Werte: beliebige Zeichenkette (Standardwert: `"nickserv"`)
* [[option_irc.look.notice_as_pv]] *irc.look.notice_as_pv*
** Beschreibung: `zeigt Notizen als private Nachricht an (wird die "auto" Option verwendet dann wird ein privater Buffer genutzt, falls vorhanden)`
@@ -264,12 +249,12 @@
** Werte: auto, never, always (Standardwert: `auto`)
* [[option_irc.look.notify_tags_ison]] *irc.look.notify_tags_ison*
** Beschreibung: `durch Kommata getrennte Liste von Schlagwörtern die in der Nachricht von notify ausgegeben werden sollen falls sich ein Nick beim Server an- oder abmeldet (Rückgabe vom Befehl ison), zum Beispiel: "notify_highlight","notify_message" oder "notify_private"`
** Beschreibung: `durch Kommata getrennte Liste von Schlagwörtern die in der Nachricht von notify ausgegeben werden sollen, falls sich ein Nick beim Server an- oder abmeldet (Rückgabe durch Befehl ison), zum Beispiel: "notify_highlight","notify_message" oder "notify_private"`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"notify_message"`)
* [[option_irc.look.notify_tags_whois]] *irc.look.notify_tags_whois*
** Beschreibung: `durch Kommata getrennte Liste von Schlagwörtern die in der Nachricht von notify ausgegeben werden sollen falls ein Nick den Befehl away nutzt (Rückgabe vom Befehl whois), zum Beispiel: "notify_highlight", "notify_message" oder "notify_private"`
** Beschreibung: `durch Kommata getrennte Liste von Schlagwörtern die in der Nachricht von notify ausgegeben werden sollen, falls ein Nick den Befehl away nutzt (Rückgabe durch Befehl whois), zum Beispiel: "notify_highlight", "notify_message" oder "notify_private"`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"notify_message"`)
@@ -278,6 +263,11 @@
** Typ: boolesch
** Werte: on, off (Standardwert: `off`)
* [[option_irc.look.pv_buffer]] *irc.look.pv_buffer*
** Beschreibung: `private Buffer zusammenfügen`
** Typ: integer
** Werte: independent, merge_by_server, merge_all (Standardwert: `independent`)
* [[option_irc.look.raw_messages]] *irc.look.raw_messages*
** Beschreibung: `Anzahl der IRC-RAW-Nachrichten die im Speicher gehalten werden sollen falls der RAW-Daten-Buffer geschlossen ist (die Nachrichten werden umgehend angezeigt sobald der RAW-Daten-Buffer geöffnet wird)`
** Typ: integer
@@ -303,8 +293,13 @@
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* [[option_irc.look.smart_filter_join_unmask]] *irc.look.smart_filter_join_unmask*
** Beschreibung: `Verzögerung (in Minuten) um Join Mitteilungen rückwirkend anzuzeigen, falls diese mittels "irc_smart_filter" unterdrückt wurden. Sollte ein Nick während der vorgegeben Zeit etwas im Channel schreiben, dann wird seine Join Mitteilung angezeigt. Dies bezieht sich auf Nachrichten, eine Notice, Änderungen am Topic oder falls der Nick gewechselt wird (0 = deaktiviert: join-Mitteilungen bleiben verborgen)`
** Typ: integer
** Werte: 0 .. 10080 (Standardwert: `30`)
* [[option_irc.look.smart_filter_nick]] *irc.look.smart_filter_nick*
** Beschreibung: `aktiviert einen intelligenten Filter für Nachrichten von einem "Nick"`
** Beschreibung: `aktiviert einen intelligenten Filter für "nick" Nachrichten (Änderungen des Nick)`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
@@ -348,16 +343,16 @@
** Typ: integer
** Werte: 0 .. 604800 (Standardwert: `60`)
* [[option_irc.network.lag_disconnect]] *irc.network.lag_disconnect*
** Beschreibung: `maximal Verzögerung (Lag) bis zum Trennen der Verbindung (in Minuten - 0 = niemals trennen)`
** Typ: integer
** Werte: 0 .. 10080 (Standardwert: `0`)
* [[option_irc.network.lag_min_show]] *irc.network.lag_min_show*
** Beschreibung: `geringste Verzögerungszeit (Lag) die angezeigt werden soll (in Millisekunden)`
** Typ: integer
** Werte: 0 .. 86400000 (Standardwert: `500`)
* [[option_irc.network.lag_reconnect]] *irc.network.lag_reconnect*
** Beschreibung: `erneut mit Server verbinden, falls die maximal Verzögerung (Lag) erreicht wurde (Zeit in Sekunden, 0 = keine automatische Neuverbindung, zum Server)`
** Typ: integer
** Werte: 0 .. 604800 (Standardwert: `0`)
* [[option_irc.network.lag_refresh_interval]] *irc.network.lag_refresh_interval*
** Beschreibung: `Intervall zwischen zwei Aktualisierungen der Verzögerungsanzeige (Lag-Item), wenn die Verzögerungszeit sich erhöht (in Sekunden)`
** Typ: integer
@@ -439,7 +434,7 @@
** Werte: 0 .. 1000000 (Standardwert: `25`)
* [[option_irc.server_default.capabilities]] *irc.server_default.capabilities*
** Beschreibung: `Durch Kommata getrennte Liste von erweiterten Client Fähigkeiten ("client capabilities"), welche vom Server angeboten und genutzt werden sollen (Beispiel: "multi-prefix,extended-join")`
** Beschreibung: `durch Kommata getrennte Liste von erweiterten Client Fähigkeiten ("client capabilities"), welche vom Server angeboten und genutzt werden sollen. Fähigkeiten die von WeeChat unterstützt werden: multi-prefix, userhost-in-name (Beispiel: "multi-prefix, userhost-in-name")`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
@@ -504,9 +499,9 @@
** Werte: beliebige Zeichenkette (Standardwert: `""`)
* [[option_irc.server_default.sasl_mechanism]] *irc.server_default.sasl_mechanism*
** Beschreibung: `Verfahren welches bei einer SASL Authentifizierung angewandt werden soll: "plain" Passwort liegt in Klartext vor, "dh-blowfish" Passwort wird verschlüsselt, "external" SSL Zertifikat welches auf Client Seite vorliegt`
** Beschreibung: `Verfahren welches bei einer SASL Authentifizierung angewandt werden soll: "plain" Passwort wird im Klartext gesendet, "dh-blowfish" Passwort wird mittels blowfish verschlüsselt, "dh-aes" Passwort wird mittels AES verschlüsselt, "external" SSL Zertifikat welches auf Client Seite vorliegt, wird verwendet.`
** Typ: integer
** Werte: plain, dh-blowfish, external (Standardwert: `plain`)
** Werte: plain, dh-blowfish, dh-aes, external (Standardwert: `plain`)
* [[option_irc.server_default.sasl_password]] *irc.server_default.sasl_password*
** Beschreibung: `Passwort für SASL Authentifizierung`
+10
View File
@@ -33,6 +33,16 @@
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* [[option_logger.file.nick_prefix]] *logger.file.nick_prefix*
** Beschreibung: `Text, der vor dem Nick geschrieben werden soll, Beispiel: "<"`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
* [[option_logger.file.nick_suffix]] *logger.file.nick_suffix*
** Beschreibung: `Text, der nach dem Nick geschrieben werden soll, Beispiel: "<"`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
* [[option_logger.file.path]] *logger.file.path*
** Beschreibung: `Pfad für WeeChat Protokolldateien; "%h" wird durch das WeeChat Verzeichnis ersetzt (Standardpfad: "~/.weechat"); eine Datumsspezifikation ist zulässig (siehe: man strftime)`
** Typ: Zeichenkette
+3 -1
View File
@@ -16,7 +16,7 @@
ipv6: erzwingt die Nutzung von IPv6
ssl: aktiviert SSL
protocol.name: Protokoll und Name des Relay:
- Protokoll "irc": und der Name des Servers welcher geteilt werden soll
- Protokoll "irc": Name des Servers welcher geteilt werden soll (optional). Wird kein Name angegeben, dann muss der Client den Servernamen mittels Befehl "PASS" anfordern. Format: "PASS Server:Passwort")
- Protokoll "weechat" (Name wird nicht unterstützt)
port: Port den das Relay nutzen soll
raw: öffnet Buffer mit RAW-Relay Daten
@@ -29,6 +29,8 @@ Beispiele:
/relay add irc.freenode 8000
IRC Proxy, für Server "freenode", mit SSL:
/relay add ssl.irc.freenode 8001
IRC Proxy für alle Server (Client wählt aus), mit SSL:
/relay add ssl.irc 8002
WeeChat Protokoll:
/relay add weechat 9000
WeeChat Protokoll, mit SSL:
+5
View File
@@ -113,3 +113,8 @@
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"%h/ssl/relay.pem"`)
* [[option_relay.network.websocket_allowed_origins]] *relay.network.websocket_allowed_origins*
** Beschreibung: `erlaubt regulären Ausdruck für Origins in WebSockets (Groß- und Kleinschreibung wird ignoriert, um Groß- und Kleinschreibung zu nutzen muss "(?-i)" dem Origin vorangestellt werden), Beispiele: "^http://(www\.)?example\.(com|org)"`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
+2 -2
View File
@@ -11,8 +11,8 @@ listdefault: zeigt die Standardeinstellung für rmodifier an
add: einen rmodifier hinzufügen
name: Name des rmodifier
modifiers: durch Kommata getrennte Liste der modifier
groups: Aktion auf Gruppen anwenden: durch Kommata getrennte Liste der Gruppen (von 1 bis 9). Optional kann nach der Nummer für die Gruppe ein "*" gesetzt werden um diese Gruppe auszublenden
regex: regulärer Ausdruck (zwischen Groß- und Kleinschreibung wird nicht unterschieden. Um zwischen Groß- und Kleinschreibung zu unterscheiden muss zu Beginn "(?-i)" genutzt werden)
groups: Aktion auf Gruppen (groups) anwenden, die durch reguläre Ausdrücke abgefragt werden (innerhalb der runden Klammern): durch Kommata getrennte Liste der Gruppen (von 1 bis 9). Optional kann nach der Nummer für die Gruppe ein "*" gesetzt werden um diese Gruppe auszublenden
regex: regulärer Ausdruck (zwischen Groß- und Kleinschreibung wird nicht unterschieden. Um zwischen Groß- und Kleinschreibung zu unterscheiden muss zu Beginn "(?-i)" genutzt werden)
del: löscht einen rmodifier Eintrag
-all: löscht alle rmodifiers Einträge
default: setzt die rmodifier auf seine Standardwerte zurück
+22 -17
View File
@@ -5,29 +5,33 @@
search <text>
show <script>
load|unload|reload <script> [<script>...]
autoload|noautoload|toggleautoload <script> [<script>...]
install|remove|installremove|hold [-q] <script> [<script>...]
upgrade
update
list: gibt alle geladenen Skripten im Buffer aus (unabhängig der Programmiersprache)
-o: gibt eine Liste der gestarteten Skripten im Buffer aus
-i: eine Liste der gestarteten Skripten wird in die Eingabezeile kopiert (um sie dann manuell in einen Buffer zu senden)
search: sucht Skripten nach Schlagwörtern oder beliebigem Text. Das Ergebnis wird im Skripten-Buffer dargestellt
show: zeigt detailliert Informationen zu einem Skript an
load: startet Skript(en)
unload: beendet Skript(en)
reload: Skript(en) werden neu geladen
install: installiert/aktualisiert Skript(en) (physikalisch, auf dem Datenträger)
remove: deinstalliert Skript(en) (physikalisch, vom Datenträger)
installremove: installiert oder deinstalliert Skript(en), abhängig davon welcher Status vorliegt
hold: halten/freigeben von Skript(en) (ein Skript welches gehalten wird, kann weder aktualisiert noch entfernt werden)
-q: unterdrückter Modus: Es werden keine Nachrichten ausgegeben
upgrade: aktualisiert alle installierten Skripten, die obsolet sind (wenn eine neue Version verfügbar ist)
update: aktualisiert den lokalen Cache für die Skripten
list: gibt alle geladenen Skripten im Buffer aus (unabhängig der Programmiersprache)
-o: gibt eine Liste der gestarteten Skripten im Buffer aus
-i: eine Liste der gestarteten Skripten wird in die Eingabezeile kopiert (um sie dann manuell in einen Buffer zu senden)
search: sucht Skripten nach Schlagwörtern oder beliebigem Text. Das Ergebnis wird im Skripten-Buffer dargestellt
show: zeigt detailliert Informationen zu einem Skript an
load: startet Skript(en)
unload: beendet Skript(en)
reload: Skript(en) werden neu geladen
autoload: das Skript wird in das autoload-Verzeichnis eingebunden
noautoload: das Skript wird aus dem autoload-Verzeichnis entfernt
toggleautoload: autoload für das Skript umschalten
install: installiert/aktualisiert Skript(en) (physikalisch, auf dem Datenträger)
remove: deinstalliert Skript(en) (physikalisch, vom Datenträger)
installremove: installiert oder deinstalliert Skript(en), abhängig davon welcher Status vorliegt
hold: halten/freigeben von Skript(en) (ein Skript welches gehalten wird, kann weder aktualisiert noch entfernt werden)
-q: unterdrückter Modus: Es werden keine Nachrichten ausgegeben
upgrade: aktualisiert alle installierten Skripten, die obsolet sind (wenn eine neue Version verfügbar ist)
update: aktualisiert den lokalen Cache für die Skripten
Ohne Angaben von Argumenten öffnet dieser Befehl einen Buffer in welchem eine Liste der Skripten dargestellt wird.
Ohne Angaben von Argumenten öffnet dieser Befehl einen Buffer, in welchem eine Liste der Skripten dargestellt wird.
Im Skript-Buffer, werden folgende Statusangaben zu einem Skript angezeigt:
Im Skript-Buffer, werden folgende Statusangaben für ein Skript angezeigt:
* i a H r N
| | | | | |
| | | | | obsolete (neue Version verfügbar)
@@ -43,6 +47,7 @@ Tastenbefehle die im Skript-Buffer genutzt werden können:
alt+l startet ein Skript (Skript wird ausgeführt)
alt+L Skript wird neu gestartet
alt+u beendet ein Skript
alt+A das Skript wird in das autoload-Verzeichnis eingebunden
alt+h Skript wird gehalten bzw. freigegeben
alt+v Skript anzeigen
+6 -1
View File
@@ -168,6 +168,11 @@
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* [[option_script.scripts.autoload]] *script.scripts.autoload*
** Beschreibung: `autoload Skripten installiert (erstellt einen Link im "autoload" Verzeichnis zum Skript im übergeordneten Verzeichnis)`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* [[option_script.scripts.cache_expire]] *script.scripts.cache_expire*
** Beschreibung: `Ablaufdatum des lokalen Caches, in Minuten (-1 = ohne Ablaufdatum, 0 = umgehend)`
** Typ: integer
@@ -179,7 +184,7 @@
** Werte: beliebige Zeichenkette (Standardwert: `"%h/script"`)
* [[option_script.scripts.hold]] *script.scripts.hold*
** Beschreibung: `Skripten welche "gehalten" werden sollen. Dies ist eine durch Kommata getrennte Liste von Skripten die nicht aktualisiert werden und nicht entfernt werden können. Zum Beispiel: "buffers.pl,iset.pl"`
** Beschreibung: `Skripten welche "gehalten" werden sollen. Dies ist eine durch Kommata getrennte Liste von Skripten die weder aktualisiert noch entfernt werden können. Zum Beispiel: "buffers.pl,iset.pl"`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
+17 -10
View File
@@ -185,11 +185,12 @@ Beispiele:
list: zeigt alle Erweiterungen mit Debuglevel an
set: setzt den Level der Protokollierung für eine Erweiterung
plugin: Name der Erweiterung ("core" für den WeeChat Kern)
level: Debuglevel der Erweiterung (0 = deaktiviert das Debug)
level: Debuglevel der Erweiterung (0 = deaktiviert Debug)
dump: Speicherabbild in die WeeChat Protokolldatei schreiben (wie bei einem Programmabsturz)
buffer: speichert den Bufferinhalt als hexadezimale Ausgabe in die Protokolldatei
color: zeigt Informationen über die aktuellen Farbpaarungen an
cursor: schaltet den debug-Modus für den Cursor-Modus ein/aus
dirs: Verzeichnisse werden angezeigt
hdata: zeigt Informationen zu hdata an (mittels free werden alle hdata Informationen aus dem Speicher entfernt)
hooks: zeigt die aktiven Hooks an
infolists: zeigt Information über die Infolists an
@@ -206,15 +207,15 @@ infolists: zeigt Information über die Infolists an
/eval [-n] <expression>
[-n] <expression1> <operator> <expression2>
-n: zeigt das Ergebnis an, ohne dieses in den Buffer zu schreiben (debug Modus)
-n: zeigt das Ergebnis an, ohne das dieses in den Buffer geschrieben wird (debug Modus)
expression: Ausdruck welcher verarbeitet werden soll. Variablen im Format ${variable} werden ersetzt (siehe unten)
operator: ein logischer oder vergleichender Operand:
- logische Operanden:
&& boolean "und"
|| boolean "oder"
- vergleichende Operanden:
== gleichl
!= nicht gleich
== gleich
!= ungleich
<= kleiner oder gleich
< kleiner
>= größer oder gleich
@@ -223,7 +224,7 @@ expression: Ausdruck welcher verarbeitet werden soll. Variablen im Format ${vari
!~ 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.
Der Vergleich findet zwischen zwei Integer Werten statt, sofern die beiden Ausdrücke gültige Integer-Werte sind.
Um einen Vergleich zwischen zwei Zeichenketten zu erzwingen, müssen die Ausdrücke in Anführungszeichen gesetzt werden, zum Beispiel:
50 > 100 ==> 0
"50" > "100" ==> 1
@@ -289,7 +290,7 @@ Die am häufigsten gebrauchten Schlagwörter lauten:
no_filter, no_highlight, no_log, log0..log9 (log Level),
notify_none, notify_message, notify_private, notify_highlight,
nick_xxx (xxx ist durch den Nicknamen zu ersetzen), prefix_nick_ccc (ccc ist die Farbe mit der der Nick dargestellt wird),
irc_xxx (xxx ist durch einen IRC-Befehl/-Nummer zu ersetzen, siehe /server raw)
irc_xxx (xxx ist durch einen IRC-Befehl/-Nummer zu ersetzen, siehe /server raw oder /debug tags)
irc_numeric, irc_error, irc_action, irc_ctcp, irc_ctcp_reply, irc_smart_filter, away_info.
Mittels "/debug tags" kann man sich die Tags jeder einzelnen Zeile darstellen zu lassen.
@@ -446,13 +447,19 @@ Beispiele:
[[command_weechat_layout]]
[command]*`layout`* Layout für Buffer und Fenster speichern, anwenden oder zurücksetzen::
........................................
/layout save [buffers|windows]
apply [buffers|windows]
reset [buffers|windows]
/layout save [<name>] [buffers|windows]
apply [<name>] [buffers|windows]
leave
reset [<name>] [buffers|windows]
rename <name> <new_name>
save: speichert das aktuelle Layout
apply: das gespeicherte Layout anwenden
reset: das gespeicherte Layout entfernen
leave: belässt das aktuelle Layout (es wird kein Layout aktualisiert)
reset: das gespeicherte Layout, mit Buffern und/oder Fenstern, zurücksetzen
(falls Buffer und Fenster zurückgesetzt werden, dann wird das Layout entfernt)
rename: ein Layout umbenennen
name: Name unter welchem das Layout gesichert werden soll (Standardlayout lautet "default")
buffers: speichert bzw. verwendet nur Buffer (Reihenfolge der Buffer)
windows: speichert bzw. verwendet nur Fenster (Buffer welche im jeweiligen Fenster dargestellt werden)
+33 -3
View File
@@ -83,11 +83,21 @@
** Typ: Farbe
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "_" für unterstrichen (Standardwert: `cyan`)
* [[option_weechat.color.chat_nick_prefix]] *weechat.color.chat_nick_prefix*
** Beschreibung: `Farbe für den Nick-Präfix (Zeichenkette die vor dem Nick steht)`
** Typ: Farbe
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "_" für unterstrichen (Standardwert: `green`)
* [[option_weechat.color.chat_nick_self]] *weechat.color.chat_nick_self*
** Beschreibung: `Textfarbe für den eigenen Nicknamen, im lokalen Chat-Fenster.`
** Typ: Farbe
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "_" für unterstrichen (Standardwert: `white`)
* [[option_weechat.color.chat_nick_suffix]] *weechat.color.chat_nick_suffix*
** Beschreibung: `Farbe für den Nick-Suffix (Zeichenkette die nach dem Nick steht)`
** Typ: Farbe
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "_" für unterstrichen (Standardwert: `green`)
* [[option_weechat.color.chat_prefix_action]] *weechat.color.chat_prefix_action*
** Beschreibung: `Textfarbe für Action-Präfix`
** Typ: Farbe
@@ -284,7 +294,7 @@
** Werte: on, off (Standardwert: `on`)
* [[option_weechat.completion.default_template]] *weechat.completion.default_template*
** Beschreibung: `Standardvorlage für die automatische Vervollständigung (in der Dokumentation finden Sie die vorgegebenen Codes und Werte)`
** Beschreibung: `Standardvorlage für die automatische Vervollständigung (in der API-Dokumentation findet man die vorgegebenen Codes und Werte, Funktion "weechat_hook_command")`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"%(nicks)|%(irc_channels)"`)
@@ -479,7 +489,7 @@
** Werte: beliebige Zeichenkette (Standardwert: `""`)
* [[option_weechat.look.highlight_tags]] *weechat.look.highlight_tags*
** Beschreibung: `eine durch Kommata getrennte Liste der hervorzuhebenden Wörter (Groß-/Kleinschreibung wird nicht beachtet. Beispiele: "irc_notice" für IRC Nachrichten, "nick_flashcode" für Nachrichten vom Nick "FlashCode")`
** Beschreibung: `durch Kommata getrennte Liste der hervorzuhebenden Wörter (Groß-/Kleinschreibung wird nicht beachtet. Beispiele: "irc_notice" für IRC Nachrichten, "nick_flashcode" für Nachrichten vom Nick "FlashCode")`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
@@ -593,6 +603,16 @@
** Typ: integer
** Werte: 1 .. 10000 (Standardwert: `100`)
* [[option_weechat.look.nick_prefix]] *weechat.look.nick_prefix*
** Beschreibung: `Text, der vor dem Nick dargestellt werden soll, Beispiel: "<"`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
* [[option_weechat.look.nick_suffix]] *weechat.look.nick_suffix*
** Beschreibung: `Text, der nach dem Nick dargestellt werden soll, Beispiel: ">"`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
* [[option_weechat.look.paste_bracketed]] *weechat.look.paste_bracketed*
** Beschreibung: `aktiviert den "bracketed paste mode" des Terminals (wird nicht durch alle Terminals/Multiplexer unterstützt): Dieser Modus erlaubt das Einfügen von Steuersequenzen die in Klammern gesetzt sind. WeeChat kann dadurch ermitteln ob ein Text eingefügt oder geschrieben wurde ("ESC[200~", gefolgt von dem einzufügenden Text und einem abschließenden "ESC[201~")`
** Typ: boolesch
@@ -633,6 +653,11 @@
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"+"`)
* [[option_weechat.look.prefix_align_more_after]] *weechat.look.prefix_align_more_after*
** Beschreibung: `Das Zeichen welches zum Verkürzen angezeigt wird (Standardzeichen: "+"), nach dem Nick-Suffix darstellen (das vorhandene Leerzeichen wird ersetzt); wird diese Funktion deaktiviert, dann wird das Zeichen nach dem Nick dargestellt.`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* [[option_weechat.look.prefix_buffer_align]] *weechat.look.prefix_buffer_align*
** Beschreibung: `Einstellung des Präfix für den Namen des Buffers, falls viele Buffer zu einem Buffer zusammengefügt wurden (keine = none, links = left, rechts = right (Standardwert))`
** Typ: integer
@@ -648,6 +673,11 @@
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"+"`)
* [[option_weechat.look.prefix_buffer_align_more_after]] *weechat.look.prefix_buffer_align_more_after*
** Beschreibung: `Das Zeichen welches zum Verkürzen angezeigt wird (Standardzeichen: "+"), nach dem Nick-Suffix darstellen (das vorhandene Leerzeichen wird ersetzt); wird diese Funktion deaktiviert, dann wird das Zeichen nach dem Nick dargestellt.`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* [[option_weechat.look.prefix_error]] *weechat.look.prefix_error*
** Beschreibung: `Präfix, dass bei einer Fehler-Nachricht angezeigt wird. Durch das Format "${Farbe}" ist es möglich eine Farbauswahl zu treffen.`
** Typ: Zeichenkette
@@ -769,7 +799,7 @@
** Werte: 1 .. 2147483647 (Standardwert: `30`)
* [[option_weechat.plugin.autoload]] *weechat.plugin.autoload*
** Beschreibung: `eine durch Kommata getrennte Liste der Erweiterungen, die beim Programmstart automatisch geladen werden sollen; "*" lädt alle vorhandenen Erweiterungen. Beginnt der Name hingegen mit "!" wird die Erweiterung nicht geladen. Suchmuster können mit einem Joker ("*") beginnen oder enden um mehrere Erweiterungen zu laden (Beispiele: "*" oder "*,!lua,!tcl")`
** Beschreibung: `durch Kommata getrennte Liste der Erweiterungen, die beim Programmstart automatisch geladen werden sollen; "*" lädt alle vorhandenen Erweiterungen. Beginnt der Name hingegen mit "!" wird die Erweiterung nicht geladen. Suchmuster können mit einem Joker ("*") beginnen oder enden um mehrere Erweiterungen zu laden (Beispiele: "*" oder "*,!lua,!tcl")`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"*"`)
+5
View File
@@ -53,6 +53,11 @@
** Typ: boolesch
** Werte: on, off (Standardwert: `off`)
* [[option_xfer.file.auto_accept_nicks]] *xfer.file.auto_accept_nicks*
** Beschreibung: `durch Kommata getrennte Liste von Nicks deren Chat- und Transferanfragen automatisch akzeptiert werden. Format : "server.nick" (für einen speziellen Server) oder "nick" (global, für alle Server); Beispiel: "freenode.FlashCode,andrew"`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
* [[option_xfer.file.auto_rename]] *xfer.file.auto_rename*
** Beschreibung: `eingehende Dateien werden automatisch umbenannt um ein Überschreiben zu vermeiden (dabei wird dem Dateinamen '.1', '.2', ... hinzugefügt)`
** Typ: boolesch
+18 -20
View File
@@ -298,23 +298,7 @@ Zeilen angefügt (dies führt dazu, dass URLs beim Markieren korrekt erkannt wer
Bei der Nutzung dieser Option kann es zu Darstellungsfehlern kommen. Sollte dies
auftreten, sollte diese Option wieder deaktiviert werden.
Eine weitere Möglichkeit ist, eines der folgenden Skripten zu nutzen:
urlserver.py::
verkürzt lange URLs mittels eigenem HTTP Server
urlbar.py::
stellt die URL in einer Bar dar.
urlgrab.py::
protokolliert URLs und öffnet diese im Standardbrowser.
url_shorten.rb::
tinyurl.py::
shortenurl.py::
URLs werden durch einen Internet-Dienst gekürzt.
Hier findet man eine Auflistung von Skripten die sich mit URLs befassen: http://www.weechat.org/scripts/stable/tag/url
Eine weitere Möglichkeit ist, ein Skript zu nutzen: http://www.weechat.org/scripts/stable/tag/url
[[change_locale_without_quit]]
Ich möchte die Meldungen von Weechat in einer anderen Sprache ausgeben lassen, ohne WeeChat zu beenden. Ist dies möglich?
@@ -332,7 +316,7 @@ Hierdurch erhält man für das Terminal deutsche, UTF-8 kodierte Meldungen.
Benutzer von ISO-Kodierungen können folgendes eingeben:
`/shell setenv LANG=de_DE`.
[[256_colors]]
[[use_256_colors]]
Wie kann ich 256 Farben in WeeChat nutzen?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -625,13 +609,27 @@ Für weitere Hilfe: `/help filter` und `/help irc.look.smart_filter`
Wie kann ich Nachrichten filtern wenn ich einen IRC Channel betrete?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Es folgen einige Tags die man zum filtern von Nachrichten nutzen kann:
Ab WeeChat ≥ 0.4.1 ist es möglich Nachrichten zu deaktivieren. Dazu
nutzt man die Option:
'irc.look.display_join_message'.
Zum Beispiel: Um die Auflistung aller Namen im Channel zu unterdrücken
(IRC Nachricht '366'):
----------------------------------------
/set irc.look.display_join_message "329,332,333"
----------------------------------------
[NOTE]
Für Hilfe: `/help irc.look.display_join_message`
Eine andere Möglichkeit ist das Filtern von Nachrichten, nach Tags:
* 'irc_366': Auflistung der Namen die sich im Channel befinden
* 'irc_332,irc_333': Channel Topic/Datum
* 'irc_329': Wann der Channel erstellt wurde
Tags von anderen Server-Mitteilungen kann man im IRC Raw-Server finden
Die Tags von anderen Server-Mitteilungen werden IRC RAW-Buffer ausgegeben
(`/server raw`).
Beispiele:
+114 -40
View File
@@ -11,18 +11,36 @@ Die bevorzugte Terminal-Emulation für X (aber nicht obligatorisch) ist
rxvt-unicode (es besitzt eine gute Unterstützung für UTF-8 und hat keine
Probleme mit der Standard Tastaturbelegung).
Starte "weechat-curses" aus Deiner shell.
Starte aus Deiner shell:
----------------------------------------
$ weechat-curses
----------------------------------------
[[help_options]]
Online-Hilfe / Optionen
-----------------------
WeeChat enthält Hilfetexte für alle Befehle. Diese Hilfstexte sind über den Befehl `/help` zu
erreichen. Um eine Hilfe zu einen bestimmten Befehl zu erhalten kann man einfach `/help Befehl`
ausführen.
WeeChat bietet für jeden Befehl eine Hilfe an:
----------------------------------------
/help
----------------------------------------
Um sich die Hilfe für einen bestimmten Befehl anzeigen
zu lassen:
----------------------------------------
/help Befehl
----------------------------------------
Um Optionen zu setzen benutzt man:
----------------------------------------
/set config.section.option value
----------------------------------------
Um Optionen zu setzen benutzt man `/set config.section.option value`.
(dabei ist 'config' der Konfigurationsname ('weechat' für den Kern von weechat,
oder der Name einer Erweiterung), 'section' ein Abschnitt dieser Konfiguration und 'option'
der Name der betreffenden Option).
@@ -36,17 +54,29 @@ dieser Zeichenkette entsprechen.
Zum Beispiel:
`/set`::
zeit alle Optionen an (WeeChat und Erweiterungen)
Zeit alle Optionen an (WeeChat und Erweiterungen):
`/set weechat.*`::
zeit alle WeeChat Optionen an
----------------------------------------
/set
----------------------------------------
`/set irc.*`::
zeit alle Optionen der IRC-Erweiterung an
Zeit alle WeeChat Optionen an:
----------------------------------------
/set weechat.*
----------------------------------------
Zeit alle Optionen der IRC-Erweiterung an:
----------------------------------------
/set irc.*
----------------------------------------
Du kannst dir mit dem Befehl `/help` eine Hilfe für Optionen anzeigen lassen, z.B.:
`/help weechat.look.highlight`.
----------------------------------------
/help weechat.look.highlight
----------------------------------------
Beim Beenden von WeeChat werden alle Einstellungen gespeichert (mittels `/save`
kann das Sichern der Optionen erzwungen werden).
@@ -77,10 +107,15 @@ Einen IRC-Server erstellen
Du kannst einen IRC-Server mit dem Befehl `/server` hinzufügen, z.B.:
/server add oftc irc.oftc.net/6667
----------------------------------------
/server add oftc irc.oftc.net/6667
----------------------------------------
Wie bei jedem Befehl kannst Du Dir, falls Du nicht mehr weiter kommst, mit
`/help server` einen Hilfstext anzeigen lassen.
Falls man nicht mehr weiter weiß, einfach die Hilfe aufrufen:
----------------------------------------
/help server
----------------------------------------
[[irc_server_options]]
@@ -99,29 +134,39 @@ Als Beispiel erwähnt ist die Vorgabe (default) für Nicks, die auf dem Un*x Log
basiert. Diese Vorgabe kann nun für den oftc-Server mittels folgendem Befehl
überschrieben werden:
/set irc.server.oftc.nicks "mynick,mynick2,mynick3,mynick4,mynick5"
----------------------------------------
/set irc.server.oftc.nicks "mynick,mynick2,mynick3,mynick4,mynick5"
----------------------------------------
Um einen User- und realen Namen zu setzen:
/set irc.server.oftc.username "Mein User-Name"
/set irc.server.oftc.realname "Mein wirklicher Name"
----------------------------------------
/set irc.server.oftc.username "Mein User-Name"
/set irc.server.oftc.realname "Mein wirklicher Name"
----------------------------------------
Um beim Start von WeeChat automatisch eine Verbindung zu einem Server
herzustellen:
/set irc.server.oftc.autoconnect on
----------------------------------------
/set irc.server.oftc.autoconnect on
----------------------------------------
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_default.sasl_mechanism dh-blowfish
/set irc.server.oftc.sasl_username "mynick"
/set irc.server.oftc.sasl_password "xxxxxxx"
----------------------------------------
/set irc.server_default.sasl_mechanism dh-blowfish
/set irc.server.oftc.sasl_username "mynick"
/set irc.server.oftc.sasl_password "xxxxxxx"
----------------------------------------
Unterstützt der Server keine SASL Authentifizierung, muss man sich bei "nickserv"
identifizieren:
/set irc.server.oftc.command "/msg nickserv identify xxxxxxx"
----------------------------------------
/set irc.server.oftc.command "/msg nickserv identify xxxxxxx"
----------------------------------------
[NOTE]
Mehrere Befehle können mittels ';' (Semikolon) getrennt werden.
@@ -129,25 +174,33 @@ Mehrere Befehle können mittels ';' (Semikolon) getrennt werden.
Um ein auto-join (automatisches 'betreten') von Channels (Räumen) nach der
Verbindung zum Server zu erreichen:
/set irc.server.oftc.autojoin "#channel1,#channel2"
----------------------------------------
/set irc.server.oftc.autojoin "#channel1,#channel2"
----------------------------------------
Um einen Wert der Server-Optionen zu entfernen und stattdessen wieder den
Vorgabewert (default) zu nutzen, z.B. Nutzung der vorgegebenen Nicks
(irc.server_default.nicks):
/set irc.server.oftc.nicks null
----------------------------------------
/set irc.server.oftc.nicks null
----------------------------------------
Andere Optionen: Du kannst andere Optionen mit folgendem Befehl festlegen ("xxx"
ist der Optionsname):
/set irc.server.oftc.xxx value
----------------------------------------
/set irc.server.oftc.xxx value
----------------------------------------
[[connect_to_irc_server]]
Verbinden mit dem IRC-Server und auto-join der Channel
------------------------------------------------------
/connect oftc
----------------------------------------
/connect oftc
----------------------------------------
[NOTE]
Dieser Befehl kann dazu benutzt werden um einen neuen Server zu erstellen und
@@ -162,21 +215,32 @@ zu wechseln, kannst Du ctrl-X benutzen.
Es ist möglich das automatische Zusammenlegen der Server-Buffer zu deaktivieren,
um eigenständige Server-Buffer zu nutzen:
/set irc.look.server_buffer independent
----------------------------------------
/set irc.look.server_buffer independent
----------------------------------------
[[join_part_irc_channels]]
Betreten/verlassen der IRC-Channel
----------------------------------
`/join #channel`::
Einen Channel betreten
Einen Channel betreten:
`/part [quit message]`::
Einen Channel verlassen (der Buffer bleibt geöffnet)
----------------------------------------
/join #channel
----------------------------------------
`/close`::
Schließen eines Server- oder Channel-Buffers (`/close` ist ein Alias für `/buffer close`)
Einen Channel verlassen (der Buffer bleibt geöffnet):
----------------------------------------
/part [quit message]
----------------------------------------
Schließen eines Server- oder Channel-Buffers (`/close` ist ein Alias für `/buffer close`):
----------------------------------------
/close
----------------------------------------
[[buffer_window]]
@@ -193,8 +257,10 @@ mehreren Buffer gleichzeitig sehen.
Befehle, welche Buffer und Fenster verwalten:
/buffer
/window
----------------------------------------
/buffer
/window
----------------------------------------
(Ich muss jetzt nicht wiederholen dass Du zu diesen Befehlen eine Hilfe mit /help
zu erhalten ist)
@@ -202,7 +268,9 @@ zu erhalten ist)
Ein Beispiel: Um Deinen Bildschirm vertikal in ein kleines Fenster (1/3 Höhe)
und ein großes Fenster (2/3 Höhe) aufzuteilen, benutze diesen Befehl:
/window splitv 33
----------------------------------------
/window splitv 33
----------------------------------------
[[key_bindings]]
@@ -229,15 +297,21 @@ Eine nützliche Tastenkombination um Tastencodes zu ermitteln ist meta-k (alt-k)
Beispiel: Belegung von meta-y (alt-y) mit dem Befehl `/buffer close`:
/key bind (drücke meta-k) (drücke meta-y) /buffer close
----------------------------------------
/key bind (drücke meta-k) (drücke meta-y) /buffer close
----------------------------------------
Du wirst folgende Befehlszeile erhalten:
/key bind meta-y /buffer close
----------------------------------------
/key bind meta-y /buffer close
----------------------------------------
Entfernen der Belegung:
/key unbind meta-y
----------------------------------------
/key unbind meta-y
----------------------------------------
[[plugins_scripts]]
+122 -27
View File
@@ -56,6 +56,15 @@ Ruby
* Es muss 'weechat_init' definiert und darin die Funktion 'register' ausgeführt werden
* Funktionen werden im Format `Weechat.xxx(arg1, arg2, ...)` ausgeführt
* Aufgrund einer Limitierung, seitens Ruby (maximal 15 Argumente pro Funktion), empfängt
die Funktion `Weechat.config_new_option` den Callback in einem Array von 6 Strings
(3 Callbacks + 3 Data Strings), somit sieht ein Aufruf der Funktion folgendermaßen aus:
[source,ruby]
----------------------------------------
Weechat.config_new_option(config, section, "name", "string", "description of option", "", 0, 0,
"value", "value", 0, ["check_cb", "", "change_cb", "", "delete_cb", ""])
----------------------------------------
Lua
^^^
@@ -163,8 +172,20 @@ weechat::print "" "Hallo, von einem tcl Skript!"
Laden von Skripten
~~~~~~~~~~~~~~~~~~
Der Befehl zum Laden von Skripten ist davon abhängig welche Skriptsprache
genutzt werden soll:
Es wird empfohlen die "script" Erweiterung zum Laden von Skripten zu
nutzen, zum Beispiel:
----------------------------------------
/script load script.py
/script load script.pl
/script load script.rb
/script load script.lua
/script load script.tcl
/script load script.scm
----------------------------------------
Es besteht natürlich weiterhin die Möglichkeit, individuell für jede
Skriptsprache, den entsprechenden Befehl zu nutzen:
----------------------------------------
/python load python/skript.py
@@ -175,8 +196,8 @@ genutzt werden soll:
/guile load guile/skript.scm
----------------------------------------
Um Skripten automatisch beim Start von WeeChat zu laden kann man einen Link
in das Verzeichnis 'Skriptsprache/autoload' setzen.
Um Skripten automatisch beim Start von WeeChat zu laden sollte man einen Link
anlegen, der in das Verzeichnis 'Skriptsprache/autoload' zeigt.
Ein Beispiel für ein Python-Skript:
@@ -185,6 +206,10 @@ $ cd ~/.weechat/python/autoload
$ ln -s ../script.py
----------------------------------------
[NOTE]
Installiert man mittels `/script install` ein Skript, dann wird automatisch
ein Link in das entsprechende 'autoload' Verzeichnis erzeugt.
[[differences_with_c_api]]
Unterschiede zur C API
----------------------
@@ -202,18 +227,22 @@ Falls Ihr Skript 'test.py' eine WeeChat API Funktion aufruft wird der Aufruf
wie folgt abgearbeitet:
........................................
(Skript API) (C API)
\/ \/
test.py -------> python Erweiterung (python.so) -------> WeeChat core
┌──────────────────────┐ ╔══════════════════╗
│ python Erweiterung │ ║ WeeChat "core" ║
├────────────┬─────────┤ ╟─────────┐ ║
test.py ─────► │ Skript API │ C API │ ─────► ║ C API │ ║
└────────────┴─────────┘ ╚═════════╧════════╝
........................................
Gibt WeeChat einen Rückgabewert an Ihr Skript 'test.py' zurück wird der
Aufruf in umgekehrter Reihenfolge abgearbeitet:
........................................
(C API) (Skript API)
\/ \/
WeeChat core -------> python Erweiterung (python.so) -------> test.py
╔══════════════════╗ ┌──────────────────────┐
║ WeeChat "core" ║ │ python Erweiterung │
║ ┌─────────╢ ├─────────┬────────────┤
║ │ C API ║ ─────► │ C API │ Skript API │ ─────► test.py
╚════════╧═════════╝ └─────────┴────────────┘
........................................
[[pointers]]
@@ -257,16 +286,78 @@ C Callbacks nutzen ein "Data" Argument welches ein Pointer ist. In der
Skript API ist "Data" ein String der jeden Wert haben darf (es handelt sich
nicht um einen Pointer).
Beispiel:
callback Beispiele, für jede Skriptsprache:
* python:
[source,python]
----------------------------------------
weechat.hook_timer(1000, 0, 1, "mein_timer_cb", "mein data")
def mein_timer_cb(data, verbleibende_aufrufe):
# es wird "mein data" angezeigt
weechat.prnt("", data)
def timer_cb(data, remaining_calls):
weechat.prnt("", "timer! data=%s" % data)
return weechat.WEECHAT_RC_OK
weechat.hook_timer(1000, 0, 1, "timer_cb", "test")
----------------------------------------
* perl:
[source,perl]
----------------------------------------
sub timer_cb {
my ($data, $remaining_calls) = @_;
weechat::print("", "timer! data=$data");
return weechat::WEECHAT_RC_OK;
}
weechat::hook_timer(1000, 0, 1, "timer_cb", "test");
----------------------------------------
* ruby:
[source,ruby]
----------------------------------------
def timer_cb(data, remaining_calls)
Weechat.print("", "timer! data=#{data}");
return Weechat::WEECHAT_RC_OK
end
Weechat.hook_timer(1000, 0, 1, "timer_cb", "test");
----------------------------------------
* lua:
[source,lua]
----------------------------------------
function timer_cb(data, remaining_calls)
weechat.print("", "timer! data="..data)
return weechat.WEECHAT_RC_OK
end
weechat.hook_timer(1000, 0, 1, "timer_cb", "test")
----------------------------------------
* tcl:
[source,tcl]
----------------------------------------
proc timer_cb { data remaining_calls } {
weechat::print {} "timer! data=$data"
return $::weechat::WEECHAT_RC_OK
}
weechat::hook_timer 1000 0 1 timer_cb test
----------------------------------------
* guile (scheme):
[source,lisp]
----------------------------------------
(define (timer_cb data remaining_calls)
(weechat:print "" (string-append "timer! data=" data))
weechat:WEECHAT_RC_OK
)
(weechat:hook_timer 1000 0 1 "timer_cb" "test")
----------------------------------------
[[script_api]]
@@ -293,7 +384,7 @@ Liste der Skript API Funktionen:
charset_set, iconv_to_internal, iconv_from_internal, gettext, ngettext, +
string_match, string_has_highlight, string_has_highlight_regex,
string_mask_to_regex, string_remove_color, string_is_command_char,
string_input_for_buffer
string_input_for_buffer, string_eval_expression
| Verzeichnisse |
mkdir_home, mkdir, mkdir_parents
| sortierte Listen |
@@ -354,9 +445,10 @@ Liste der Skript API Funktionen:
infolist_time, infolist_free
| hdata |
hdata_get, hdata_get_var_offset, hdata_get_var_type_string,
hdata_get_var_array_size, hdata_get_var_array_size_string,
hdata_get_var_hdata, hdata_get_list, hdata_check_pointer, hdata_move,
hdata_char, hdata_integer, hdata_long, hdata_string, hdata_pointer,
hdata_time, hdata_hashtable, hdata_get_string
hdata_search, hdata_char, hdata_integer, hdata_long, hdata_string,
hdata_pointer, hdata_time, hdata_hashtable, hdata_update, hdata_get_string
| Upgrade |
upgrade_new, upgrade_write_object, upgrade_read, upgrade_close
|========================================
@@ -648,21 +740,24 @@ dabei in der Callback-Variable "out" gesichert (Standardausgabe des Prozesses):
[source,python]
----------------------------------------
# Zeigt die Versionen der Linux-Kerne.
kernel_txt = ""
# Zeigt die aktuelle stabile Version von WeeChat an.
weechat_version = ""
def kernel_process_cb(data, command, rc, out, err):
global kernel_txt
def weechat_process_cb(data, command, rc, out, err):
global weechat_version
if out != "":
kernel_txt += out
weechat_version += out
if int(rc) >= 0:
weechat.prnt("", kernel_txt)
weechat.prnt("", "aktuelle stabile WeeChat-Version: %s" % weechat_version)
return weechat.WEECHAT_RC_OK
weechat.hook_process("url:http://www.kernel.org/kdist/finger_banner",
30 * 1000, "kernel_process_cb", "")
weechat.hook_process("url:http://weechat.org/info/stable/",
30 * 1000, "weechat_process_cb", "")
----------------------------------------
[TIP]
Alle Informationen die WeeChat betreffen findet man auf: http://weechat.org/info
Beispiel eines URL Transfers, mit zusätzliche Optionen: Es wird das neuste
WeeChat Entwicklerpaket in die Datei '/tmp/weechat-devel.tar.gz' gesichert:
+89 -51
View File
@@ -26,11 +26,11 @@ wesentliche Merkmale:
* mehrere Server Verbindungen sind möglich (mittels SSL, IPv6, proxy)
* klein, schnell und schlank
* den eigenen persönlichen Bedürfnissen anpassbar und durch Erweiterungen und Skripten in der Funktionalität erweiterbar
* IRC RFCs konform http://www.ietf.org/rfc/rfc1459.txt[1459],
http://www.ietf.org/rfc/rfc2810.txt[2810],
http://www.ietf.org/rfc/rfc2811.txt[2811],
http://www.ietf.org/rfc/rfc2812.txt[2812] and
http://www.ietf.org/rfc/rfc2813.txt[2813]
* IRC RFCs konform http://tools.ietf.org/html/rfc1459[1459],
http://tools.ietf.org/html/rfc2810[2810],
http://tools.ietf.org/html/rfc2811[2811],
http://tools.ietf.org/html/rfc2812[2812] and
http://tools.ietf.org/html/rfc2813[2813]
* Betriebssystemunabhängig (GNU/Linux, *BSD, MacOS X, Windows und weitere)
* 100% GPL, freie Software
@@ -91,7 +91,7 @@ welche Pakete optional genutzt werden können.
| libncursesw5-dev ^(2)^ | | *ja* | ncurses Oberfläche
| libcurl4-gnutls-dev | | *ja* | URL Transfer
| 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
| libgcrypt11-dev | | *ja* | IRC SASL Authentifikation (DH-BLOWFISH/DH-AES), Skript-Erweiterung
| libgnutls-dev | ≥ 2.2.0 | | SSL Verbindung zu einem IRC Server, Unterstützung von SSL in der Relay-Erweiterung
| gettext | | | Internationalisierung (Übersetzung der Mitteilungen; Hauptsprache ist englisch)
| ca-certificates | | | Zertifikate für SSL Verbindungen
@@ -101,7 +101,7 @@ welche Pakete optional genutzt werden können.
| ruby1.9.1-dev | ≥ 1.8 | | ruby Erweiterung
| liblua5.1-0-dev | | | lua Erweiterung
| tcl-dev | ≥ 8.5 | | tcl Erweiterung
| guile-1.8-dev | | | guile (scheme) Erweiterung
| guile-2.0-dev | ≥ 2.0 | | guile (scheme) Erweiterung
| asciidoc | ≥ 8.5.0 | | erstellt Dokumentation (HTML Dateien)
| source-highlight | | | Syntax Highlight für Quelltext in HTML Dokumentation
|========================================
@@ -752,7 +752,7 @@ 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.
* `${nicklist}`: wahr, wenn der Buffer im Fenster eine Nicklist anzeigt.
Folgende Zeiger sind verfügbar:
@@ -1834,14 +1834,16 @@ Für weiterreichende Informationen lesen Sie bitte: http://www.oftc.net/oftc/Nic
SASL Authentifizierung
^^^^^^^^^^^^^^^^^^^^^^
WeeChat unterstützt drei mögliche Verfahren bei einer SASL Authentifikation:
"plain" (Passwort liegt in Klarschrift vor), "dh-blowfish" (Passwort wird verschlüsselt)
oder "external" (SSL Zertifikat welches auf Client Seite vorliegt)
WeeChat unterstützt eine SASL Authentifikation, mittels verschiedener Mechanismen:
* 'plain': Passwort liegt in Klarschrift vor
* 'dh-blowfish': Passwort wird mittels blowfish verschlüsselt
* 'dh-aes': Passwort wird mittels AES verschlüsselt
* 'external': SSL Zertifikat welches auf Client Seite vorliegt
Optionen für Server sind:
* 'sasl_mechanism': Mechanismus welcher genutzt werden soll ("plain",
"dh-blowfish" oder "external")
* 'sasl_mechanism': Mechanismus welcher genutzt werden soll (siehe oben)
* 'sasl_timeout': Zeitüberschreitung für Authentifizierung (in Sekunden)
* 'sasl_username': Username (Nickname)
* 'sasl_password': Passwort
@@ -2329,49 +2331,22 @@ Befehle
include::autogen/user/relay_commands.txt[]
[[relay_irc_proxy]]
IRC proxy
^^^^^^^^^
[[relay_password]]
Passwort
^^^^^^^^
Die Relay-Erweiterung verhält sich wie ein IRC Proxy: Es kann ein Port als IRC Server
definiert und ein Passwort für Clients genutzt werden.
Beispiel:
----------------------------------------
/set relay.network.password "mein Passwort"
/relay add irc.freenode 8000
----------------------------------------
Nun kann mittels eines IRC Clients (WeeChat, XChat, irssi, ...) am Port 8000 und dem
Server-Passwort "mein Passwort" eine Verbindung hergestellt werden.
Die Anzahl an erlaubten Clients kann limitiert werden:
----------------------------------------
/set relay.network.max_clients 1
----------------------------------------
[[relay_weechat_protocol]]
WeeChat Protokoll
^^^^^^^^^^^^^^^^^
Die Relay-Erweiterung kann Daten, mittels dem WeeChat Protokoll, an eine
externe Oberfläche senden.
Zum Beispiel:
Es wird nachdrücklich Empfohlen ein Passwort für die Relay-Verbindung zu nutzen:
----------------------------------------
/set relay.network.password "meinPasswort"
/relay add weechat 9000
----------------------------------------
Nun kann man über den Port 9000 mittels einer Oberfläche (wie QWeeChat)
und dem Passwort "meinPasswort" eine Verbindung zu WeeChat herstellen.
Dieses Passwort wird sowohl für das 'irc' als auch für das 'weechat' Protokoll
verwendet.
[[relay_ssl]]
Relay-Verbindung mittels SSL
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SSL
^^^
Man kann SSL mittels eines selbst erstellten Zertifikates und eines privaten
Schlüssels nutzen. Um SSL für die Verbindung zu aktivieren stellt man dem
@@ -2396,13 +2371,76 @@ Schlüssel mittels folgendem Befehl nachträglich geladen werden:
/relay sslcertkey
----------------------------------------
um dann die Relay-Verbindung, mit SSL Verschlüsselung, anzulegen:
[[relay_irc_proxy]]
IRC Proxy
^^^^^^^^^
Die Relay Erweiterung kann wie ein IRC Proxy genutzt werden. Dabei simuliert
die Erweiterung einen IRC Server und man kann sich mit jedem IRC Client zu WeeChat
verbinden.
Es kann für jeden IRC Server ein Port definiert werden, oder aber ein Port für
alle Server.
Wird ein Port für alle Server genutzt, dann muss der Client den internen Namen
des zu nutzenden Servers mit dem IRC Befehl "PASS" anfordern:
----------------------------------------
/relay add ssl.irc.freenode 8001
/relay add ssl.weechat 9001
PASS server:meinPasswort
----------------------------------------
Beispiel: IRC Proxy mit SSL für einen beliebigen Server (Client wählt aus):
----------------------------------------
/relay add ssl.irc 8000
----------------------------------------
Beispiel: IRC Proxy ohne SSL und nur für "freenode":
----------------------------------------
/relay add irc.freenode 8000
----------------------------------------
Nun kann man eine Verbindung zum Port 8000 mit jedem beliebigen IRC Client
herstellen, indem man das Server Passwort "meinPasswort" nutzt (oder
"freenode:meinPasswort" sofern kein Server angegeben wurde).
[[relay_weechat_protocol]]
WeeChat Protokoll
^^^^^^^^^^^^^^^^^
Die Relay-Erweiterung kann Daten, mittels dem WeeChat Protokoll, an eine
externe Oberfläche senden.
Zum Beispiel:
----------------------------------------
/relay add weechat 9000
----------------------------------------
Nun kann man über den Port 9000 mittels einer Oberfläche und dem Passwort
"meinPasswort" eine Verbindung zu WeeChat herstellen.
[[relay_websocket]]
WebSocket
^^^^^^^^^
Das WebSocket Protokoll (http://tools.ietf.org/html/rfc6455[RFC 6455]) wird nun
in der Relay Erweiterung unterstützt.
Der WebSocket Handshake wird automatisch erkannt und der Socket ist sofort
funktionsfähig, sofern die benötigten Header gefunden werden und die Herkunft
bestätigt wurde (siehe Option <<option_relay.network.websocket_allowed_origins,relay.network.websocket_allowed_origins>>).
Ein WebSocket kann in HTML5, mit einer JavaScript Zeile, geöffnet werden:
[source,js]
----------------------------------------
websocket = new WebSocket("ws://server.com:9000/weechat");
----------------------------------------
Der Port (im Beispiel: 9000) ist der Port der in der Relay Erweiterung angegeben wurde.
Die URI muss immer auf "/weechat" enden ('irc' und 'weechat' Protokoll).
[[rmodifier_plugin]]
Rmodifier Erweiterung
~~~~~~~~~~~~~~~~~~~~~
+5 -1
View File
@@ -6,7 +6,9 @@
| alias | alias_value | value of alias
| aspell | aspell_langs | list of supported langs for aspell
| aspell | aspell_dicts | list of aspell installed dictionaries
| aspell | aspell_langs | list of all languages supported by aspell
| guile | guile_script | list of scripts
@@ -104,6 +106,8 @@
| weechat | keys_contexts | key contexts
| weechat | layouts_names | names of layouts
| weechat | nicks | nicks in nicklist of current buffer
| weechat | palette_colors | palette colors
+6 -1
View File
@@ -27,7 +27,7 @@
'modes' (string) +
'limit' (integer) +
'key' (string) +
'names_received' (integer) +
'join_msg_received' (hashtable) +
'checking_away' (integer) +
'away_message' (string) +
'has_quit_server' (integer) +
@@ -42,6 +42,7 @@
'nicks_speaking' (pointer) +
'nicks_speaking_time' (pointer, hdata: "irc_channel_speaking") +
'last_nick_speaking_time' (pointer, hdata: "irc_channel_speaking") +
'join_smart_filtered' (hashtable) +
'buffer' (pointer, hdata: "buffer") +
'buffer_as_string' (string) +
'prev_channel' (pointer, hdata: "irc_channel") +
@@ -185,6 +186,7 @@
'cmd_list_regexp' (pointer) +
'last_user_message' (time) +
'last_away_check' (time) +
'last_data_purge' (time) +
'outqueue' (pointer) +
'last_outqueue' (pointer) +
'redirects' (pointer, hdata: "irc_redirect") +
@@ -403,6 +405,9 @@
'nicklist_root' (pointer, hdata: "nick_group") +
'nicklist_max_length' (integer) +
'nicklist_display_groups' (integer) +
'nicklist_count' (integer) +
'nicklist_groups_count' (integer) +
'nicklist_nicks_count' (integer) +
'nicklist_visible_count' (integer) +
'nickcmp_callback' (pointer) +
'nickcmp_callback_data' (pointer) +
+2
View File
@@ -2,6 +2,8 @@
|========================================
| Plugin | Name | Description | Arguments
| aspell | aspell_dict | comma-separated list of dictionaries used in buffer | buffer pointer ("0x12345678") or buffer full name ("irc.freenode.#weechat")
| fifo | fifo_filename | name of FIFO pipe | -
| irc | irc_buffer | get buffer pointer for an IRC server/channel/nick | server,channel,nick (channel and nicks are optional)
+2 -3
View File
@@ -17,9 +17,8 @@ Note: in command, special variables are replaced:
$n-m: arguments from 'n' to 'm'
$*: all arguments
$~: last argument
$nick: current nick
$channel: current channel
$server: current server
$var: where "var" is a local variable of buffer (see /buffer localvar)
examples: $nick, $channel, $server, $plugin, $name
To remove an alias, use command /unalias.
+3 -3
View File
@@ -3,15 +3,15 @@
........................................
/aspell enable|disable|toggle
listdict
setdict <lang>
setdict <dict>[,<dict>...]
deldict
addword [<lang>] <word>
addword [<dict>] <word>
enable: enable aspell
disable: disable aspell
toggle: toggle aspell
listdict: show installed dictionaries
setdict: set dictionary for current buffer
setdict: set dictionary for current buffer (multiple dictionaries can be separated by a comma)
deldict: delete dictionary used on current buffer
addword: add a word in personal aspell dictionary
+28 -33
View File
@@ -38,21 +38,11 @@
** type: string
** values: any string (default value: `"1,-1:darkgray"`)
* [[option_irc.color.nick_prefix]] *irc.color.nick_prefix*
** description: `color for nick prefix (prefix is custom string displayed before nick)`
** type: color
** values: a WeeChat color name (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), a terminal color number or an alias; attributes are allowed before color (for text color only, not background): "*" for bold, "!" for reverse, "_" for underline (default value: `green`)
* [[option_irc.color.nick_prefixes]] *irc.color.nick_prefixes*
** description: `color for nick prefixes using mode char (o=op, h=halfop, v=voice, ..), format is: "o:color1;h:color2;v:color3" (if a mode is not found, WeeChat will try with next modes received from server ("PREFIX"); a special mode "*" can be used as default color if no mode has been found in list)`
** type: string
** values: any string (default value: `"q:lightred;a:lightcyan;o:lightgreen;h:lightmagenta;v:yellow;*:lightblue"`)
* [[option_irc.color.nick_suffix]] *irc.color.nick_suffix*
** description: `color for nick suffix (suffix is custom string displayed after nick)`
** type: color
** values: a WeeChat color name (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), a terminal color number or an alias; attributes are allowed before color (for text color only, not background): "*" for bold, "!" for reverse, "_" for underline (default value: `green`)
* [[option_irc.color.notice]] *irc.color.notice*
** description: `color for text "Notice" in notices`
** type: color
@@ -143,6 +133,11 @@
** type: boolean
** values: on, off (default value: `on`)
* [[option_irc.look.display_join_message]] *irc.look.display_join_message*
** description: `comma-separated list of messages to display after joining a channel: 329 = channel creation date, 332 = topic, 333 = nick/date for topic, 366 = names on channel`
** type: string
** values: any string (default value: `"329,332,333,366"`)
* [[option_irc.look.display_old_topic]] *irc.look.display_old_topic*
** description: `display old topic when channel topic is changed`
** type: boolean
@@ -158,11 +153,6 @@
** type: boolean
** values: on, off (default value: `on`)
* [[option_irc.look.hide_nickserv_pwd]] *irc.look.hide_nickserv_pwd*
** description: `hide password displayed by nickserv`
** type: boolean
** values: on, off (default value: `on`)
* [[option_irc.look.highlight_channel]] *irc.look.highlight_channel*
** description: `comma separated list of words to highlight in channel buffers (case insensitive, use "(?-i)" at beginning of words to make them case sensitive; special variables $nick, $channel and $server are replaced by their value), these words are added to buffer local variable "highlight_words" only when buffer is created (it does not affect current buffers), an empty string disables default highlight on nick, examples: "$nick", "(?-i)$nick"`
** type: string
@@ -224,7 +214,7 @@
** values: none, next, near_server (default value: `none`)
* [[option_irc.look.nick_color_force]] *irc.look.nick_color_force*
** description: `force color for some nicks: hash computed with nickname to find color will not be used for these nicks (format is: "nick1:color1;nick2:color2"); lookup for nicks is with exact case then lower case, so it's possible to use only lower case for nicks in this option`
** description: `force color for some nicks: hash computed with nickname to find color will not be used for these nicks (format is: "nick1:color1;nick2:color2"); look up for nicks is with exact case then lower case, so it's possible to use only lower case for nicks in this option`
** type: string
** values: any string (default value: `""`)
@@ -248,15 +238,10 @@
** type: boolean
** values: on, off (default value: `off`)
* [[option_irc.look.nick_prefix]] *irc.look.nick_prefix*
** description: `text to display before nick in chat window`
* [[option_irc.look.nicks_hide_password]] *irc.look.nicks_hide_password*
** description: `comma separated list of nicks for which passwords will be hidden when a message is sent, for example to hide password in message displayed by "/msg nickserv identify password", example: "nickserv,nickbot"`
** type: string
** values: any string (default value: `""`)
* [[option_irc.look.nick_suffix]] *irc.look.nick_suffix*
** description: `text to display after nick in chat window`
** type: string
** values: any string (default value: `""`)
** values: any string (default value: `"nickserv"`)
* [[option_irc.look.notice_as_pv]] *irc.look.notice_as_pv*
** description: `display notices as private messages (if auto, use private buffer if found)`
@@ -278,6 +263,11 @@
** type: boolean
** values: on, off (default value: `off`)
* [[option_irc.look.pv_buffer]] *irc.look.pv_buffer*
** description: `merge private buffers`
** type: integer
** values: independent, merge_by_server, merge_all (default value: `independent`)
* [[option_irc.look.raw_messages]] *irc.look.raw_messages*
** description: `number of raw messages to save in memory when raw data buffer is closed (messages will be displayed when opening raw data buffer)`
** type: integer
@@ -303,8 +293,13 @@
** type: boolean
** values: on, off (default value: `on`)
* [[option_irc.look.smart_filter_join_unmask]] *irc.look.smart_filter_join_unmask*
** description: `delay for unmasking a join message that was filtered with tag "irc_smart_filter" (in minutes): if a nick has joined max N minutes ago and then says something on channel (message, notice or update on topic), the join is unmasked, as well as nick changes after this join (0 = disable: never unmask a join)`
** type: integer
** values: 0 .. 10080 (default value: `30`)
* [[option_irc.look.smart_filter_nick]] *irc.look.smart_filter_nick*
** description: `enable smart filter for "nick" messages`
** description: `enable smart filter for "nick" messages (nick changes)`
** type: boolean
** values: on, off (default value: `on`)
@@ -348,16 +343,16 @@
** type: integer
** values: 0 .. 604800 (default value: `60`)
* [[option_irc.network.lag_disconnect]] *irc.network.lag_disconnect*
** description: `disconnect after important lag (in minutes, 0 = never disconnect)`
** type: integer
** values: 0 .. 10080 (default value: `0`)
* [[option_irc.network.lag_min_show]] *irc.network.lag_min_show*
** description: `minimum lag to show (in milliseconds)`
** type: integer
** values: 0 .. 86400000 (default value: `500`)
* [[option_irc.network.lag_reconnect]] *irc.network.lag_reconnect*
** description: `reconnect to server if lag is greater than this value (in seconds, 0 = never reconnect)`
** type: integer
** values: 0 .. 604800 (default value: `0`)
* [[option_irc.network.lag_refresh_interval]] *irc.network.lag_refresh_interval*
** description: `interval between two refreshs of lag item, when lag is increasing (in seconds)`
** type: integer
@@ -439,7 +434,7 @@
** values: 0 .. 1000000 (default value: `25`)
* [[option_irc.server_default.capabilities]] *irc.server_default.capabilities*
** description: `comma-separated list of client capabilities to enable for server if they are available (example: "multi-prefix,extended-join")`
** description: `comma-separated list of client capabilities to enable for server if they are available; capabilities supported by WeeChat are: multi-prefix, userhost-in-names (example: "multi-prefix,userhost-in-names")`
** type: string
** values: any string (default value: `""`)
@@ -504,9 +499,9 @@
** values: any string (default value: `""`)
* [[option_irc.server_default.sasl_mechanism]] *irc.server_default.sasl_mechanism*
** description: `mechanism for SASL authentication: "plain" for plain text password, "dh-blowfish" for crypted password, "external" for authentication using client side SSL cert`
** description: `mechanism for SASL authentication: "plain" for plain text password, "dh-blowfish" for blowfish crypted password, "dh-aes" for AES crypted password, "external" for authentication using client side SSL cert`
** type: integer
** values: plain, dh-blowfish, external (default value: `plain`)
** values: plain, dh-blowfish, dh-aes, external (default value: `plain`)
* [[option_irc.server_default.sasl_password]] *irc.server_default.sasl_password*
** description: `password for SASL authentication`
+10
View File
@@ -33,6 +33,16 @@
** type: boolean
** values: on, off (default value: `on`)
* [[option_logger.file.nick_prefix]] *logger.file.nick_prefix*
** description: `text to write before nick in prefix of message, example: "<"`
** type: string
** values: any string (default value: `""`)
* [[option_logger.file.nick_suffix]] *logger.file.nick_suffix*
** description: `text to write after nick in prefix of message, example: ">"`
** type: string
** values: any string (default value: `""`)
* [[option_logger.file.path]] *logger.file.path*
** description: `path for WeeChat log files; "%h" at beginning of string is replaced by WeeChat home ("~/.weechat" by default); date specifiers are permitted (see man strftime)`
** type: string
+3 -1
View File
@@ -16,7 +16,7 @@
ipv6: force use of IPv6
ssl: enable SSL
protocol.name: protocol and name to relay:
- protocol "irc": name is the server to share
- protocol "irc": name is the server to share (optional, if not given, the server name must be sent by client in command "PASS", with format: "PASS server:password")
- protocol "weechat" (name is not used)
port: port used for relay
raw: open buffer with raw Relay data
@@ -29,6 +29,8 @@ Examples:
/relay add irc.freenode 8000
irc proxy, for server "freenode", with SSL:
/relay add ssl.irc.freenode 8001
irc proxy, for all servers (client will choose), with SSL:
/relay add ssl.irc 8002
weechat protocol:
/relay add weechat 9000
weechat protocol with SSL:
+5
View File
@@ -113,3 +113,8 @@
** type: string
** values: any string (default value: `"%h/ssl/relay.pem"`)
* [[option_relay.network.websocket_allowed_origins]] *relay.network.websocket_allowed_origins*
** description: `regular expression with origins allowed in websockets (case insensitive, use "(?-i)" at beginning to make it case sensitive), example: "^http://(www\.)?example\.(com|org)"`
** type: string
** values: any string (default value: `""`)
+1 -1
View File
@@ -11,7 +11,7 @@ listdefault: list default rmodifiers
add: add a rmodifier
name: name of rmodifier
modifiers: comma separated list of modifiers
groups: action on groups found: comma separated list of groups (from 1 to 9) with optional "*" after number to hide group
groups: action on groups captured in regular expression (inside parentheses): comma separated list of groups (from 1 to 9) with optional "*" after number to hide the group
regex: regular expression (case insensitive, can start by "(?-i)" to become case sensitive)
del: delete a rmodifier
-all: delete all rmodifiers
+20 -15
View File
@@ -5,25 +5,29 @@
search <text>
show <script>
load|unload|reload <script> [<script>...]
autoload|noautoload|toggleautoload <script> [<script>...]
install|remove|installremove|hold [-q] <script> [<script>...]
upgrade
update
list: list loaded scripts (all languages)
-o: send list of loaded scripts to buffer
-i: copy list of loaded scripts in command line (for sending to buffer)
search: search scripts by tags or text and display result on scripts buffer
show: show detailed info about a script
load: load script(s)
unload: unload script(s)
reload: reload script(s)
install: install/upgrade script(s)
remove: remove script(s)
installremove: install or remove script(s), depending on current state
hold: hold/unhold script(s) (a script held will not be upgraded any more and cannot be removed)
-q: quiet mode: do not display messages
upgrade: upgrade all installed scripts which are obsolete (new version available)
update: update local scripts cache
list: list loaded scripts (all languages)
-o: send list of loaded scripts to buffer
-i: copy list of loaded scripts in command line (for sending to buffer)
search: search scripts by tags or text and display result on scripts buffer
show: show detailed info about a script
load: load script(s)
unload: unload script(s)
reload: reload script(s)
autoload: autoload the script
noautoload: do not autoload the script
toggleautoload: toggle autoload
install: install/upgrade script(s)
remove: remove script(s)
installremove: install or remove script(s), depending on current state
hold: hold/unhold script(s) (a script held will not be upgraded any more and cannot be removed)
-q: quiet mode: do not display messages
upgrade: upgrade all installed scripts which are obsolete (new version available)
update: update local scripts cache
Without argument, this command opens a buffer with list of scripts.
@@ -43,6 +47,7 @@ Keys on script buffer:
alt+l load script
alt+L reload script
alt+u unload script
alt+A autoload script
alt+h (un)hold script
alt+v view script
+5
View File
@@ -168,6 +168,11 @@
** type: boolean
** values: on, off (default value: `on`)
* [[option_script.scripts.autoload]] *script.scripts.autoload*
** description: `autoload scripts installed (make a link in "autoload" directory to script in parent directory)`
** type: boolean
** values: on, off (default value: `on`)
* [[option_script.scripts.cache_expire]] *script.scripts.cache_expire*
** description: `local cache expiration time, in minutes (-1 = never expires, 0 = always expire)`
** type: integer
+15 -8
View File
@@ -190,6 +190,7 @@ Examples:
buffer: dump buffer content with hexadecimal values in log file
color: display infos about current color pairs
cursor: toggle debug for cursor mode
dirs: display directories
hdata: display infos about hdata (with free: remove all hdata in memory)
hooks: display infos about hooks
infolists: display infos about infolists
@@ -228,13 +229,13 @@ To force a string comparison, add double quotes around each expression, for exam
50 > 100 ==> 0
"50" > "100" ==> 1
Some variables are replaced in expression, using the format ${variable}, variable can be, by order of prioity :
Some variables are replaced in expression, using the format ${variable}, variable can be, by order of priority :
1. the name of an option (file.section.option)
2. the name of a local variable in buffer
3. a hdata name/variable (the value is automatically converted to string), by default "window" and "buffer" point to current window/buffer.
Format for hdata can be one of following:
hdata.var1.var2...: start with a hdata (pointer must be known), and ask variables one after one (other hdata can be followed)
hdata(list).var1.var2...: start with a hdata using a list, for example:
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".
@@ -289,7 +290,7 @@ Tags most commonly used:
no_filter, no_highlight, no_log, log0..log9 (log level),
notify_none, notify_message, notify_private, notify_highlight,
nick_xxx (xxx is nick in message), prefix_nick_ccc (ccc is color of nick),
irc_xxx (xxx is command name or number, see /server raw),
irc_xxx (xxx is command name or number, see /server raw or /debug tags),
irc_numeric, irc_error, irc_action, irc_ctcp, irc_ctcp_reply, irc_smart_filter, away_info.
To see tags for lines in buffers: /debug tags
@@ -446,17 +447,23 @@ Examples:
[[command_weechat_layout]]
[command]*`layout`* save/apply/reset layout for buffers and windows::
........................................
/layout save [buffers|windows]
apply [buffers|windows]
reset [buffers|windows]
/layout save [<name>] [buffers|windows]
apply [<name>] [buffers|windows]
leave
reset [<name>] [buffers|windows]
rename <name> <new_name>
save: save current layout
apply: apply saved layout
reset: remove saved layout
leave: leave current layout (does not update any layout)
reset: reset buffers and/or windows in a saved layout
(if both buffers and windows are reset, the layout is removed)
rename: rename a layout
name: name for saved layout (default is "default")
buffers: save/apply only buffers (order of buffers)
windows: save/apply only windows (buffer displayed by each window)
Without argument, this command displays saved layout.
Without argument, this command displays saved layouts.
........................................
[[command_weechat_mouse]]
+31 -1
View File
@@ -83,11 +83,21 @@
** type: color
** values: a WeeChat color name (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), a terminal color number or an alias; attributes are allowed before color (for text color only, not background): "*" for bold, "!" for reverse, "_" for underline (default value: `cyan`)
* [[option_weechat.color.chat_nick_prefix]] *weechat.color.chat_nick_prefix*
** description: `color for nick prefix (string displayed before nick in prefix)`
** type: color
** values: a WeeChat color name (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), a terminal color number or an alias; attributes are allowed before color (for text color only, not background): "*" for bold, "!" for reverse, "_" for underline (default value: `green`)
* [[option_weechat.color.chat_nick_self]] *weechat.color.chat_nick_self*
** description: `text color for local nick in chat window`
** type: color
** values: a WeeChat color name (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), a terminal color number or an alias; attributes are allowed before color (for text color only, not background): "*" for bold, "!" for reverse, "_" for underline (default value: `white`)
* [[option_weechat.color.chat_nick_suffix]] *weechat.color.chat_nick_suffix*
** description: `color for nick suffix (string displayed after nick in prefix)`
** type: color
** values: a WeeChat color name (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), a terminal color number or an alias; attributes are allowed before color (for text color only, not background): "*" for bold, "!" for reverse, "_" for underline (default value: `green`)
* [[option_weechat.color.chat_prefix_action]] *weechat.color.chat_prefix_action*
** description: `text color for action prefix`
** type: color
@@ -284,7 +294,7 @@
** values: on, off (default value: `on`)
* [[option_weechat.completion.default_template]] *weechat.completion.default_template*
** description: `default completion template (please see documentation for template codes and values)`
** description: `default completion template (please see documentation for template codes and values: plugin API reference, function "weechat_hook_command")`
** type: string
** values: any string (default value: `"%(nicks)|%(irc_channels)"`)
@@ -593,6 +603,16 @@
** type: integer
** values: 1 .. 10000 (default value: `100`)
* [[option_weechat.look.nick_prefix]] *weechat.look.nick_prefix*
** description: `text to display before nick in prefix of message, example: "<"`
** type: string
** values: any string (default value: `""`)
* [[option_weechat.look.nick_suffix]] *weechat.look.nick_suffix*
** description: `text to display after nick in prefix of message, example: ">"`
** type: string
** values: any string (default value: `""`)
* [[option_weechat.look.paste_bracketed]] *weechat.look.paste_bracketed*
** description: `enable terminal "bracketed paste mode" (not supported in all terminals/multiplexers): in this mode, pasted text is bracketed with control sequences so that WeeChat can differentiate pasted text from typed-in text ("ESC[200~", followed by the pasted text, followed by "ESC[201~")`
** type: boolean
@@ -633,6 +653,11 @@
** type: string
** values: any string (default value: `"+"`)
* [[option_weechat.look.prefix_align_more_after]] *weechat.look.prefix_align_more_after*
** description: `display the truncature char (by default "+") after the text (by replacing the space that should be displayed here); if disabled, the truncature char replaces last char of text`
** type: boolean
** values: on, off (default value: `on`)
* [[option_weechat.look.prefix_buffer_align]] *weechat.look.prefix_buffer_align*
** description: `prefix alignment for buffer name, when many buffers are merged with same number (none, left, right (default))`
** type: integer
@@ -648,6 +673,11 @@
** type: string
** values: any string (default value: `"+"`)
* [[option_weechat.look.prefix_buffer_align_more_after]] *weechat.look.prefix_buffer_align_more_after*
** description: `display the truncature char (by default "+") after the text (by replacing the space that should be displayed here); if disabled, the truncature char replaces last char of text`
** type: boolean
** values: on, off (default value: `on`)
* [[option_weechat.look.prefix_error]] *weechat.look.prefix_error*
** description: `prefix for error messages, colors are allowed with format "${color}"`
** type: string
+5
View File
@@ -53,6 +53,11 @@
** type: boolean
** values: on, off (default value: `off`)
* [[option_xfer.file.auto_accept_nicks]] *xfer.file.auto_accept_nicks*
** description: `comma-separated list of nicks for which the incoming files and chats are automatically accepted; format is "server.nick" (for a specific server) or "nick" (for all servers); example: "freenode.FlashCode,andrew"`
** type: string
** values: any string (default value: `""`)
* [[option_xfer.file.auto_rename]] *xfer.file.auto_rename*
** description: `rename incoming files if already exists (add ".1", ".2", ...)`
** type: boolean
+14 -20
View File
@@ -51,7 +51,6 @@ The main WeeChat directories are:
| core/ | Core functions: entry point, internal structures
| gui/ | Functions for buffers, windows, ... (used by all interfaces)
| curses/ | Curses interface
| gtk/ | Gtk interface (not working)
| plugins/ | Plugin and scripting API
| alias/ | Alias plugin
| aspell/ | Aspell plugin
@@ -145,15 +144,6 @@ WeeChat "core" reside in following directories:
| gui-curses-mouse.c | Mouse
| gui-curses-term.c | Functions about terminal
| gui-curses-window.c | Windows
| gtk/ | Gtk interface (not working)
| gui-gtk-bar-window.c | Display in bar windows
| gui-gtk-chat.c | Display in chat area (messages)
| gui-gtk-color.c | Color functions
| gui-gtk-key.c | Keyboard functions
| gui-gtk-main.c | WeeChat main loop (waiting for keyboard/network events)
| gui-gtk-mouse.c | Mouse
| gui-gtk-term.c | Functions about terminal
| gui-gtk-window.c | Windows
|========================================
[[sources_plugins]]
@@ -174,11 +164,14 @@ Plugins
| alias/ | Alias plugin
| alias.c | Main alias functions
| alias-config.c | Alias config options
| alias-info.c | Info and infolists from alias plugin
| alias-info.c | Alias info/infolists/hdata
| aspell/ | Aspell plugin
| weechat-aspell.c | Main aspell functions
| weechat-aspell-bar-item.c | Aspell bar items
| weechat-aspell-command.c | Aspell commands
| weechat-aspell-completion.c | Aspell completions
| weechat-aspell-config.c | Aspell config options
| weechat-aspell-info.c | Aspell info/infolists/hdata
| weechat-aspell-speller.c | Spellers management
| charset/ | Charset plugin
| charset.c | Charset functions
@@ -186,7 +179,7 @@ Plugins
| demo.c | Demo functions
| fifo/ | Fifo plugin
| fifo.c | Main fifo functions
| fifo-info.c | Info and infolists from fifo plugin
| fifo-info.c | Fifo info/infolists/hdata
| guile/ | Guile (scheme) plugin
| weechat-guile.c | Main guile functions (load/unload scripts, execute guile code)
| weechat-guile-api.c | Guile scripting API functions
@@ -201,16 +194,15 @@ Plugins
| irc-config.c | IRC config options
| irc-ctcp.c | IRC CTCP
| irc-debug.c | IRC debug functions
| irc-display.c | IRC display functions
| irc-ignore.c | IRC Ignore
| irc-info.c | Info and infolists from IRC plugin
| irc-info.c | IRC info/infolists/hdata
| irc-input.c | Input of commands/text
| irc-message.c | Functions to manipulate IRC messages
| irc-mode.c | Functions about channel/nick modes
| irc-msgbuffer.c | Target buffer for IRC messages
| irc-nick.c | IRC nicks
| irc-notify.c | IRC notify lists
| irc-protocol.c | IRC protocol
| irc-protocol.c | IRC protocol (RFCs 1459/2810/2811/2812/2813)
| irc-raw.c | IRC raw buffer
| irc-redirect.c | Redirection of IRC command output
| irc-sasl.c | SASL authentication with IRC server
@@ -220,7 +212,7 @@ Plugins
| logger.c | Main logger functions
| logger-buffer.c | Logger buffer list management
| logger-config.c | Logger config options
| logger-info.c | Info and infolists from logger plugin
| logger-info.c | Logger info/infolists/hdata
| logger-tail.c | Return last lines of a file
| lua/ | Lua plugin
| weechat-lua.c | Main lua functions (load/unload scripts, execute lua code)
@@ -238,16 +230,18 @@ Plugins
| relay-command.c | Relay commands
| relay-completion.c | Relay completions
| relay-config.c | Relay config options
| relay-info.c | Info and infolists from relay plugin
| relay-info.c | Relay info/infolists/hdata
| relay-network.c | Network functions for relay
| relay-raw.c | Relay raw buffer
| relay-server.c | Relay server
| relay-upgrade.c | Save/restore relay data when upgrading WeeChat
| relay-websocket.c | Websocket server functions for relay (RFC 6455)
| irc/ | IRC proxy
| relay-irc.c | Main IRC proxy functions
| weechat/ | Relay for remote interface
| relay-weechat.c | Relay for remote interface (main functions)
| relay-weechat-msg.c | Send binary messages to clients
| relay-weechat-nicklist.c | Nicklist functions
| relay-weechat-protocol.c | Read commands from clients
| rmodifier/ | Rmodifier plugin
| rmodifier.c | Main rmodifier functions
@@ -255,7 +249,7 @@ Plugins
| rmodifier-completion.c | Rmodifier completions
| rmodifier-config.c | Rmodifier config options
| rmodifier-debug.c | Rmodifier debug functions
| rmodifier-info.c | Info and infolists from rmodifier plugin
| rmodifier-info.c | Rmodifier info/infolists/hdata
| ruby/ | Ruby plugin
| weechat-ruby.c | Main ruby functions (load/unload scripts, execute ruby code)
| weechat-ruby-api.c | Ruby scripting API functions
@@ -266,7 +260,7 @@ Plugins
| 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-info.c | Script manager info/infolists/hdata
| script-repo.c | Download and read repository file
| tcl/ | Tcl plugin
| weechat-tcl.c | Main tcl functions (load/unload scripts, execute tcl code)
@@ -280,7 +274,7 @@ Plugins
| xfer-config.c | Xfer config options
| xfer-dcc.c | Xfer DCC file
| xfer-file.c | File functions for xfer
| xfer-info.c | Info and infolists from xfer plugin
| xfer-info.c | Xfer info/infolists/hdata
| xfer-network.c | Network functions for xfer
| xfer-upgrade.c | Save/restore xfer data when upgrading WeeChat
|========================================
+15 -19
View File
@@ -284,23 +284,7 @@ URL selection):
This option may cause display bugs. If you experience such problem, you must
turn off this option.
Other solution is to use one of following scripts:
urlserver.py::
shorten URLs with HTTP server in script
urlbar.py::
display URLs in a bar
urlgrab.py::
logs URLs and open them in browser
url_shorten.rb::
tinyurl.py::
shortenurl.py::
shorten long URLs
List of scripts about URLs: http://www.weechat.org/scripts/stable/tag/url
Other solution is to use a script: http://www.weechat.org/scripts/stable/tag/url
[[change_locale_without_quit]]
I want to change the language used by WeeChat for messages, but without exiting WeeChat, is it possible?
@@ -317,7 +301,7 @@ and issue these commands when script is loaded:
To have English messages with UTF-8 encoding for terminal, for ISO users, you
can issue: `/shell setenv LANG=en_US`.
[[256_colors]]
[[use_256_colors]]
How can I use 256 colors in WeeChat?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -595,7 +579,19 @@ For help: `/help filter` and `/help irc.look.smart_filter`
How can I filter some messages displayed when I join an IRC channel?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Some tags you can use to filter messages:
With WeeChat ≥ 0.4.1, you can disable some messages with option
'irc.look.display_join_message'.
For example, to disable names (which is IRC message '366'):
----------------------------------------
/set irc.look.display_join_message "329,332,333"
----------------------------------------
[NOTE]
For help: `/help irc.look.display_join_message`
Another solution is to filter messages on tag:
* 'irc_366': names on channel
* 'irc_332,irc_333': channel topic/date
+225 -39
View File
@@ -3248,14 +3248,14 @@ Arguments:
** 'WEECHAT_HASHTABLE_BUFFER'
** 'WEECHAT_HASHTABLE_TIME'
* 'callback_hash_key': callback used to "hash" a key (key as integer value), can
be NULL if key type is "string" (a default function is used for strings, and
only for strings), arguments and return value:
be NULL if key type is not "buffer" (a default hash function is used),
arguments and return value:
** 'struct t_hashtable *hashtable': hashtable pointer
** 'const void *key': key
** return value: hash of the key
* 'callback_keycmp': callback used to compare two keys, can be NULL if value
type is "string" (a default comparison function is used for strings, and only
for strings), arguments and return value:
* 'callback_keycmp': callback used to compare two keys, can be NULL if key type
is not "buffer" (a default comparison function is used), arguments and return
value:
** 'struct t_hashtable *hashtable': hashtable pointer
** 'const void *key1': first key
** 'const void *key2': second key
@@ -3822,7 +3822,7 @@ Return value:
[NOTE]
File is NOT created on disk by this function. It will be created by call to
function <<_weechat_write_config,weechat_write_config>>.
function <<_weechat_config_write,weechat_config_write>>.
You should call this function only after adding some sections (with
<<_weechat_config_new_section,weechat_config_new_section>>) and options (with
<<_weechat_config_new_option,weechat_config_new_option>>).
@@ -4352,6 +4352,11 @@ option5 = weechat.config_new_option(config_file, section, "option5", "color",
"", "")
----------------------------------------
[NOTE]
In Ruby, the 3 callbacks + data (6 strings) must be given in an array of 6
strings (due to a Ruby limitation of 15 arguments by function), see the
'WeeChat Scripting Guide' for more info (_fixed in version 0.4.1_).
weechat_config_search_option
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -5657,7 +5662,7 @@ Prototype:
[source,C]
----------------------------------------
void weechat_config_section_free (struct t_config_option *option);
void weechat_config_section_free (struct t_config_section *section);
----------------------------------------
Arguments:
@@ -6987,6 +6992,10 @@ The command can be an URL with format: "url:http://www.example.com", to download
content of URL (_new in version 0.3.7_). Options are possible for URL with
function <<_weechat_hook_process_hashtable,weechat_hook_process_hashtable>>.
[TIP]
If you want to retrieve infos about WeeChat (like current stable version,
latest git commit, ...), you can use URLs on page http://weechat.org/info
[NOTE]
Buffer size for sending data to callback is 64KB (there are 2 buffers: one for
stdout and one for stderr).
@@ -7318,8 +7327,8 @@ C example:
[source,C]
----------------------------------------
int
my_connect_cb (void *data, int status, int gnutls_rc, const char *error,
const char *ip_address)
my_connect_cb (void *data, int status, int gnutls_rc, int sock,
const char *error, const char *ip_address)
{
switch (status)
{
@@ -7362,7 +7371,7 @@ my_connect_cb (void *data, int status, int gnutls_rc, const char *error,
struct t_hook *my_connect_hook = weechat_hook_connect (NULL,
"my.server.org", 1234,
sock, 0,
1, 0,
NULL, NULL, 0, /* GnuTLS */
NULL,
&my_connect_cb, NULL);
@@ -7373,11 +7382,11 @@ Script (Python):
[source,python]
----------------------------------------
# prototype
hook = weechat.hook_connect(proxy, address, port, sock, ipv6, local_hostname,
hook = weechat.hook_connect(proxy, address, port, ipv6, retry, local_hostname,
callback, callback_data)
# example
def my_connect_cb(data, status, gnutls_rc, error, ip_address):
def my_connect_cb(data, status, gnutls_rc, sock, error, ip_address):
if status == WEECHAT_HOOK_CONNECT_OK:
# ...
elif status == WEECHAT_HOOK_CONNECT_ADDRESS_NOT_FOUND:
@@ -7402,7 +7411,7 @@ def my_connect_cb(data, status, gnutls_rc, error, ip_address):
# ...
return weechat.WEECHAT_RC_OK
hook = weechat.hook_connect("", "my.server.org", 1234, sock, 0, "",
hook = weechat.hook_connect("", "my.server.org", 1234, 1, 0, "",
"my_connect_cb", "")
----------------------------------------
@@ -7772,6 +7781,11 @@ Arguments:
pointer: buffer |
buffer closed
| weechat | buffer_line_added +
(_new in version 0.3.7_) |
pointer: line |
line added in a buffer
| weechat | buffer_lines_hidden |
pointer: buffer |
lines hidden in buffer
@@ -7788,6 +7802,14 @@ Arguments:
pointer: buffer |
local variable has been removed
| weechat | buffer_merged |
pointer: buffer |
buffer merged
| weechat | buffer_unmerged |
pointer: buffer |
buffer unmerged
| weechat | buffer_moved |
pointer: buffer |
buffer moved
@@ -7812,11 +7834,6 @@ Arguments:
pointer: buffer |
type of buffer changed
| weechat | buffer_line_added +
(_new in version 0.3.7_) |
pointer: line |
line added in a buffer
| weechat | day_changed +
(_new in version 0.3.2_) |
string: new date, format: "2010-01-31" |
@@ -7866,6 +7883,14 @@ Arguments:
pointer: buffer |
input text cursor moved
| weechat | key_bind |
string: key |
key added
| weechat | key_unbind |
string: key |
key removed
| weechat | key_pressed |
string: key pressed |
key pressed
@@ -7875,6 +7900,16 @@ Arguments:
string: buffer pointer + "," + group name |
group added in nicklist
| weechat | nicklist_group_changed +
(_new in version 0.3.4_) |
string: buffer pointer + "," + group name |
group changed in nicklist
| weechat | nicklist_group_removing +
(_new in version 0.4.1_) |
string: buffer pointer + "," + group name |
removing group from nicklist
| weechat | nicklist_group_removed +
(_new in version 0.3.2_) |
string: buffer pointer + "," + group name |
@@ -7885,6 +7920,16 @@ Arguments:
string: buffer pointer + "," + nick name |
nick added in nicklist
| weechat | nicklist_nick_changed +
(_new in version 0.3.4_) |
string: buffer pointer + "," + nick name |
nick changed in nicklist
| weechat | nicklist_nick_removing +
(_new in version 0.4.1_) |
string: buffer pointer + "," + nick name |
removing nick from nicklist
| weechat | nicklist_nick_removed +
(_new in version 0.3.2_) |
string: buffer pointer + "," + nick name |
@@ -7925,6 +7970,21 @@ Arguments:
string: message with prefix |
private message displayed
| weechat | window_closing +
(_new in version 0.3.6_) |
pointer: window |
closing window
| weechat | window_closed +
(_new in version 0.3.6_) |
pointer: window |
window closed
| weechat | window_opened +
(_new in version 0.4.1_) |
pointer: window |
window opened
| weechat | window_scrolled |
pointer: window |
scroll in window
@@ -8245,12 +8305,56 @@ Arguments:
* 'signal': signal to catch, can begin or end with "*"
(priority allowed, see note about <<hook_priority,priority>>):
[width="100%",cols="^1,^3,5",options="header"]
[width="100%",cols="^1,^3,5,5",options="header"]
|========================================
| Plugin | Signal | Arguments
| Plugin | Signal | Arguments | Description
| irc | irc_redirection_xxx_yyy ^(1)^ |
redirection output (see <<hsignal_irc_redirect_command>>)
| irc | irc_redirection_xxx_yyy ^(1)^ +
(_new in version 0.3.4_) |
see <<hsignal_irc_redirect_command,hsignal_irc_redirect_command>> |
redirection output
| weechat | nicklist_group_added +
(_new in version 0.4.1_) |
'buffer' ('struct t_gui_buffer *'): buffer +
'parent_group' ('struct t_gui_nick_group *'): parent group +
'group' ('struct t_gui_nick_group *'): group |
group added in nicklist
| weechat | nicklist_nick_added +
(_new in version 0.4.1_) |
'buffer' ('struct t_gui_buffer *'): buffer +
'parent_group' ('struct t_gui_nick_group *'): parent group +
'nick' ('struct t_gui_nick *'): nick |
nick added in nicklist
| weechat | nicklist_group_removing +
(_new in version 0.4.1_) |
'buffer' ('struct t_gui_buffer *'): buffer +
'parent_group' ('struct t_gui_nick_group *'): parent group +
'group' ('struct t_gui_nick_group *'): group |
removing group from nicklist
| weechat | nicklist_nick_removing +
(_new in version 0.4.1_) |
'buffer' ('struct t_gui_buffer *'): buffer +
'parent_group' ('struct t_gui_nick_group *'): parent group +
'nick' ('struct t_gui_nick *'): nick |
removing nick from nicklist
| weechat | nicklist_group_changed +
(_new in version 0.4.1_) |
'buffer' ('struct t_gui_buffer *'): buffer +
'parent_group' ('struct t_gui_nick_group *'): parent group +
'group' ('struct t_gui_nick_group *'): group |
group changed in nicklist
| weechat | nicklist_nick_changed +
(_new in version 0.4.1_) |
'buffer' ('struct t_gui_buffer *'): buffer +
'parent_group' ('struct t_gui_nick_group *'): parent group +
'nick' ('struct t_gui_nick *'): nick |
nick changed in nicklist
|========================================
[NOTE]
@@ -8632,7 +8736,7 @@ Arguments:
* 'callback_data': pointer given to callback when it is called by WeeChat
[NOTE]
Completion names are global (shared accross WeeChat and plugins). So it is
Completion names are global (shared across WeeChat and plugins). So it is
recommended to choose a name with a unique prefix, like "plugin_xxx" (where
"xxx" is your item name).
@@ -8819,6 +8923,18 @@ Arguments:
any string |
string with IRC color codes, or without color
| irc | irc_command_auth +
(_new in version 0.4.1_) |
server name |
authentication command (for example: `/msg nickserv identify password`) |
command with hidden password (for example: `/msg nickserv identify ********`)
| irc | irc_message_auth +
(_new in version 0.4.1_) |
server name |
message displayed after `/msg` sent to nickserv |
message with hidden password
| irc | irc_in_xxx ^(1)^ |
server name |
content of message received from IRC server (before charset decoding) |
@@ -9912,6 +10028,9 @@ Arguments:
** 'nicklist_case_sensitive': 1 if nicks are case sensitive, otherwise 0
** 'nicklist_max_length': max length for a nick
** 'nicklist_display_groups': 1 if groups are displayed, otherwise 0
** 'nicklist_count': number of nicks and groups in nicklist
** 'nicklist_groups_count': number of groups in nicklist
** 'nicklist_nicks_count': number of nicks in nicklist
** 'nicklist_visible_count': number of nicks/groups displayed
** 'input': 1 if input is enabled, otherwise 0
** 'input_get_unknown_commands': 1 if unknown commands are sent to input
@@ -10083,6 +10202,12 @@ Arguments:
"-": disable hotlist (global setting, buffer pointer is not used) +
priority: add buffer to hotlist with this priority
| completion_freeze | "0", "1" |
"0": no freeze of completion (default value)
(global setting, buffer pointer is not used) +
"1": do not stop completion when command line is updated
(global setting, buffer pointer is not used)
| unread | - |
set unread marker after last line of buffer
@@ -10983,9 +11108,9 @@ Prototype:
[source,C]
----------------------------------------
void gui_nicklist_get_next_item (struct t_gui_buffer *buffer,
struct t_gui_nick_group **group,
struct t_gui_nick **nick);
void weechat_nicklist_get_next_item (struct t_gui_buffer *buffer,
struct t_gui_nick_group **group,
struct t_gui_nick **nick);
----------------------------------------
Arguments:
@@ -11003,7 +11128,7 @@ struct t_gui_nick *ptr_nick;
ptr_group = NULL;
ptr_nick = NULL;
gui_nicklist_get_next_item (buffer, &ptr_group, &ptr_nick);
weechat_nicklist_get_next_item (buffer, &ptr_group, &ptr_nick);
while (ptr_group || ptr_nick)
{
if (ptr_nick)
@@ -11016,7 +11141,7 @@ while (ptr_group || ptr_nick)
/* group */
/* ... */
}
gui_nicklist_get_next_item (buffer, &ptr_group, &ptr_nick);
weechat_nicklist_get_next_item (buffer, &ptr_group, &ptr_nick);
}
----------------------------------------
@@ -11501,9 +11626,9 @@ Prototype:
[source,C]
----------------------------------------
struct t_gui_bar_item *weechat_bar_item_new (const char *name,
char *(build_callback)(void *data,
struct t_gui_bar_item *item,
struct t_gui_window *window),
char *(*build_callback)(void *data,
struct t_gui_bar_item *item,
struct t_gui_window *window),
void *build_callback_data);
----------------------------------------
@@ -12402,10 +12527,10 @@ C example:
----------------------------------------
char buffer[256];
/* ... */
struct t_infolist_var *var = weechat_infolist_new_variable_buffer (item,
"my_buffer",
&buffer,
sizeof (buffer));
struct t_infolist_var *var = weechat_infolist_new_var_buffer (item,
"my_buffer",
&buffer,
sizeof (buffer));
----------------------------------------
[NOTE]
@@ -12439,9 +12564,9 @@ C example:
[source,C]
----------------------------------------
struct t_infolist_var *var = weechat_infolist_new_variable_time (item,
"my_time",
time (NULL));
struct t_infolist_var *var = weechat_infolist_new_var_time (item,
"my_time",
time (NULL));
----------------------------------------
Script (Python):
@@ -13677,7 +13802,7 @@ Script (Python):
pointer = weechat.hdata_move(hdata, pointer, count)
# example
hdata = weechat_hdata_get("buffer")
hdata = weechat.hdata_get("buffer")
buffer = weechat.buffer_search_main()
# move to next buffer, 2 times
@@ -13688,6 +13813,67 @@ if buffer:
buffer = weechat.hdata_move(hdata, buffer, -1)
----------------------------------------
weechat_hdata_search
^^^^^^^^^^^^^^^^^^^^
_New in version 0.4.1._
Search element in a list: the expression 'search' is evaluated for each element
in list, until element is found (or end of list).
Prototype:
[source,C]
----------------------------------------
void *weechat_hdata_search (struct t_hdata *hdata, void *pointer, const char *search, int move);
----------------------------------------
Arguments:
* 'hdata': hdata pointer
* 'pointer': pointer to a WeeChat/plugin object
* 'search': expression to evaluate, default pointer in expression is the name of
hdata (and this pointer changes for each element in list); for help on
expression, see command `/eval` in 'WeeChat User's guide'
* 'move': number of jump(s) to execute after unsuccessful search (negative or
positive integer, different from 0)
Return value:
* pointer to element found, NULL if not found
C example:
[source,C]
----------------------------------------
struct t_hdata *hdata = weechat_hdata_get ("irc_server");
void *servers = weechat_hdata_get (hdata, "irc_servers");
/* search irc server with name "freenode" */
void *server = weechat_hdata_search (hdata, servers, "${irc_server.name} == freenode", 1);
if (server)
{
/* ... */
}
----------------------------------------
Script (Python):
[source,python]
----------------------------------------
# prototype
pointer = weechat.hdata_search(hdata, pointer, search, count)
# example
hdata = weechat.hdata_get("irc_server")
servers = weechat.hdata_get_list(hdata, "irc_servers")
# search irc server with name "freenode"
server = weechat.hdata_search(hdata, servers, "${irc_server.name} == freenode", 1)
if server:
# ...
----------------------------------------
weechat_hdata_char
^^^^^^^^^^^^^^^^^^
+113 -38
View File
@@ -10,17 +10,35 @@ Start WeeChat
A recommended terminal emulator for X (but not mandatory) is rxvt-unicode
(it has good UTF-8 support, and no problem with default keyboard bindings).
Run "weechat-curses" from your shell.
Run from your shell:
----------------------------------------
$ weechat-curses
----------------------------------------
[[help_options]]
Online help / options
---------------------
WeeChat has help for all commands, just issue /help
To get help on a specific command, issue `/help command`
WeeChat has help for all commands, just issue:
----------------------------------------
/help
----------------------------------------
To get help on a specific command, issue:
----------------------------------------
/help command
----------------------------------------
To set options, issue:
----------------------------------------
/set config.section.option value
----------------------------------------
To set options, use `/set config.section.option value`
(where `config` is configuration name (`weechat` for core, or a plugin
name), `section` the section of this configuration and `option` the
option name).
@@ -32,17 +50,29 @@ You can use `/set` option with partial name and wildcard "*" at the beginning
or end to display all options containing letters.
For example:
`/set`::
display all options (WeeChat and plugins)
* display all options (WeeChat and plugins):
`/set weechat.*`::
display WeeChat options
----------------------------------------
/set
----------------------------------------
`/set irc.*`::
display IRC plugin options
* display WeeChat options:
----------------------------------------
/set weechat.*
----------------------------------------
* display IRC plugin options:
----------------------------------------
/set irc.*
----------------------------------------
You can display help for an option with `/help`, for example:
`/help weechat.look.highlight`.
----------------------------------------
/help weechat.look.highlight
----------------------------------------
All settings are saved when WeeChat ends (or with `/save` command to force
a write of the options).
@@ -71,9 +101,15 @@ Create an IRC server
You can add an IRC server with `/server` command, for example:
/server add oftc irc.oftc.net/6667
----------------------------------------
/server add oftc irc.oftc.net/6667
----------------------------------------
As usual, help is available if you're lost: `/help server`
As usual, help is available if you're lost:
----------------------------------------
/help server
----------------------------------------
[[irc_server_options]]
@@ -90,52 +126,70 @@ For each server option, WeeChat uses its value if it is defined (not
For example there's default nicks (based on your un*x login), and you can
override them for oftc server with following command:
/set irc.server.oftc.nicks "mynick,mynick2,mynick3,mynick4,mynick5"
----------------------------------------
/set irc.server.oftc.nicks "mynick,mynick2,mynick3,mynick4,mynick5"
----------------------------------------
To set username and realname:
/set irc.server.oftc.username "My user name"
/set irc.server.oftc.realname "My real name"
----------------------------------------
/set irc.server.oftc.username "My user name"
/set irc.server.oftc.realname "My real name"
----------------------------------------
To enable auto-connect to server at startup:
/set irc.server.oftc.autoconnect on
----------------------------------------
/set irc.server.oftc.autoconnect on
----------------------------------------
If SASL is available on server, you can use it for authentication (you will be
identified before you join channels):
/set irc.server_default.sasl_mechanism dh-blowfish
/set irc.server.oftc.sasl_username "mynick"
/set irc.server.oftc.sasl_password "xxxxxxx"
----------------------------------------
/set irc.server_default.sasl_mechanism dh-blowfish
/set irc.server.oftc.sasl_username "mynick"
/set irc.server.oftc.sasl_password "xxxxxxx"
----------------------------------------
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"
----------------------------------------
/set irc.server.oftc.command "/msg nickserv identify xxxxxxx"
----------------------------------------
[NOTE]
Many commands can be separated by ';' (semi-colon).
To auto-join some channels when connecting to server:
/set irc.server.oftc.autojoin "#channel1,#channel2"
----------------------------------------
/set irc.server.oftc.autojoin "#channel1,#channel2"
----------------------------------------
To remove a value of a server option, and use the default value instead,
for example to use default nicks (irc.server_default.nicks):
/set irc.server.oftc.nicks null
----------------------------------------
/set irc.server.oftc.nicks null
----------------------------------------
Other options: you can setup other options with following command ("xxx" is
option name):
/set irc.server.oftc.xxx value
----------------------------------------
/set irc.server.oftc.xxx value
----------------------------------------
[[connect_to_irc_server]]
Connect to IRC server and auto-join channels
--------------------------------------------
/connect oftc
----------------------------------------
/connect oftc
----------------------------------------
[NOTE]
This command can be used to create and connect to a new server without using
@@ -148,21 +202,32 @@ between 'core' buffer and server buffers, you can use ctrl-X.
It is possible to disable auto merge of server buffers to have independent
server buffers:
/set irc.look.server_buffer independent
----------------------------------------
/set irc.look.server_buffer independent
----------------------------------------
[[join_part_irc_channels]]
Join/part IRC channels
----------------------
`/join #channel`::
join a channel
Join a channel:
`/part [quit message]`::
part a channel (keeping buffer open)
----------------------------------------
/join #channel
----------------------------------------
`/close`::
close server or channel buffer (`/close` is an alias for `/buffer close`)
Part a channel (keeping buffer open):
----------------------------------------
/part [quit message]
----------------------------------------
Close server or channel buffer (`/close` is an alias for `/buffer close`):
----------------------------------------
/close
----------------------------------------
[[buffer_window]]
@@ -178,15 +243,19 @@ with many buffers at same time.
Commands to manage buffers and windows:
/buffer
/window
----------------------------------------
/buffer
/window
----------------------------------------
(I'll not repeat here that you can get help with /help on these commands)
For example, to vertically split your screen into a small window (1/3 width),
and a large window (2/3), use command:
/window splitv 33
----------------------------------------
/window splitv 33
----------------------------------------
[[key_bindings]]
@@ -210,15 +279,21 @@ A useful key is meta-k (alt-k) to find key codes.
For example, to bind meta-y (alt-y) to command `/buffer close`:
/key bind (press meta-k) (press meta-y) /buffer close
----------------------------------------
/key bind (press meta-k) (press meta-y) /buffer close
----------------------------------------
You'll have a command line like:
/key bind meta-y /buffer close
----------------------------------------
/key bind meta-y /buffer close
----------------------------------------
To remove key:
/key unbind meta-y
----------------------------------------
/key unbind meta-y
----------------------------------------
[[plugins_scripts]]
File diff suppressed because it is too large Load Diff
+118 -24
View File
@@ -56,6 +56,15 @@ Ruby
* You have to define 'weechat_init' and call 'register' inside
* Functions are called with `Weechat.xxx(arg1, arg2, ...)`
* Due to a limitation of Ruby (15 arguments max by function), the function
`Weechat.config_new_option` receives the callbacks in an array of 6 strings
(3 callbacks + 3 data strings), so a call to this function looks like:
[source,ruby]
----------------------------------------
Weechat.config_new_option(config, section, "name", "string", "description of option", "", 0, 0,
"value", "value", 0, ["check_cb", "", "change_cb", "", "delete_cb", ""])
----------------------------------------
Lua
^^^
@@ -163,7 +172,18 @@ weechat::print "" "Hello, from tcl script!"
Load script
~~~~~~~~~~~
You have to use command, depending on language:
It is recommended to use the "script" plugin to load scripts, for example:
----------------------------------------
/script load script.py
/script load script.pl
/script load script.rb
/script load script.lua
/script load script.tcl
/script load script.scm
----------------------------------------
Each language has also its own command:
----------------------------------------
/python load python/script.py
@@ -184,6 +204,10 @@ $ cd ~/.weechat/python/autoload
$ ln -s ../script.py
----------------------------------------
[NOTE]
When installing a script with command `/script install` the link in 'autoload'
directory is automatically created.
[[differences_with_c_api]]
Differences with C API
----------------------
@@ -200,18 +224,22 @@ a 'script' is a text file loaded with a plugin like 'python' with command
When your script 'test.py' calls a WeeChat API function, path is like that:
........................................
(script API) (C API)
\/ \/
test.py -------> python plugin (python.so) -------> WeeChat core
┌──────────────────────┐ ╔══════════════════╗
│ python plugin │ ║ WeeChat "core" ║
├────────────┬─────────┤ ╟─────────┐ ║
test.py ─────► │ script API │ C API │ ─────► ║ C API │ ║
└────────────┴─────────┘ ╚═════════╧════════╝
........................................
When WeeChat calls a callback in your script 'test.py', it's reverse of
previous path:
........................................
(C API) (script API)
\/ \/
WeeChat core -------> python plugin (python.so) -------> test.py
╔══════════════════╗ ┌──────────────────────┐
║ WeeChat "core" ║ │ python plugin │
║ ┌─────────╢ ├─────────┬────────────┤
║ │ C API ║ ─────► │ C API │ script API │ ─────► test.py
╚════════╧═════════╝ └─────────┴────────────┘
........................................
[[pointers]]
@@ -251,16 +279,78 @@ Almost all WeeChat callbacks must return WEECHAT_RC_OK or WEECHAT_RC_ERROR
C callbacks are using a "data" argument, which is a pointer. In script API,
this "data" is a string with a any value (it's not a pointer).
For example:
Example of callback, for each language:
* python:
[source,python]
----------------------------------------
weechat.hook_timer(1000, 0, 1, "my_timer_cb", "my data")
def my_timer_cb(data, remaining_calls):
# this will display: "my data"
weechat.prnt("", data)
def timer_cb(data, remaining_calls):
weechat.prnt("", "timer! data=%s" % data)
return weechat.WEECHAT_RC_OK
weechat.hook_timer(1000, 0, 1, "timer_cb", "test")
----------------------------------------
* perl:
[source,perl]
----------------------------------------
sub timer_cb {
my ($data, $remaining_calls) = @_;
weechat::print("", "timer! data=$data");
return weechat::WEECHAT_RC_OK;
}
weechat::hook_timer(1000, 0, 1, "timer_cb", "test");
----------------------------------------
* ruby:
[source,ruby]
----------------------------------------
def timer_cb(data, remaining_calls)
Weechat.print("", "timer! data=#{data}");
return Weechat::WEECHAT_RC_OK
end
Weechat.hook_timer(1000, 0, 1, "timer_cb", "test");
----------------------------------------
* lua:
[source,lua]
----------------------------------------
function timer_cb(data, remaining_calls)
weechat.print("", "timer! data="..data)
return weechat.WEECHAT_RC_OK
end
weechat.hook_timer(1000, 0, 1, "timer_cb", "test")
----------------------------------------
* tcl:
[source,tcl]
----------------------------------------
proc timer_cb { data remaining_calls } {
weechat::print {} "timer! data=$data"
return $::weechat::WEECHAT_RC_OK
}
weechat::hook_timer 1000 0 1 timer_cb test
----------------------------------------
* guile (scheme):
[source,lisp]
----------------------------------------
(define (timer_cb data remaining_calls)
(weechat:print "" (string-append "timer! data=" data))
weechat:WEECHAT_RC_OK
)
(weechat:hook_timer 1000 0 1 "timer_cb" "test")
----------------------------------------
[[script_api]]
@@ -287,7 +377,7 @@ List of functions in script API:
charset_set, iconv_to_internal, iconv_from_internal, gettext, ngettext, +
string_match, string_has_highlight, string_has_highlight_regex,
string_mask_to_regex, string_remove_color, string_is_command_char,
string_input_for_buffer
string_input_for_buffer, string_eval_expression
| directories |
mkdir_home, mkdir, mkdir_parents
| sorted lists |
@@ -348,9 +438,10 @@ List of functions in script API:
infolist_time, infolist_free
| hdata |
hdata_get, hdata_get_var_offset, hdata_get_var_type_string,
hdata_get_var_array_size, hdata_get_var_array_size_string,
hdata_get_var_hdata, hdata_get_list, hdata_check_pointer, hdata_move,
hdata_char, hdata_integer, hdata_long, hdata_string, hdata_pointer,
hdata_time, hdata_hashtable, hdata_get_string
hdata_search, hdata_char, hdata_integer, hdata_long, hdata_string,
hdata_pointer, hdata_time, hdata_hashtable, hdata_update, hdata_get_string
| upgrade |
upgrade_new, upgrade_write_object, upgrade_read, upgrade_close
|========================================
@@ -634,21 +725,24 @@ in callback (standard output of process):
[source,python]
----------------------------------------
# Display versions of Linux kernels.
kernel_txt = ""
# Display current stable version of WeeChat.
weechat_version = ""
def kernel_process_cb(data, command, rc, out, err):
global kernel_txt
def weechat_process_cb(data, command, rc, out, err):
global weechat_version
if out != "":
kernel_txt += out
weechat_version += out
if int(rc) >= 0:
weechat.prnt("", kernel_txt)
weechat.prnt("", "Current WeeChat stable is: %s" % weechat_version)
return weechat.WEECHAT_RC_OK
weechat.hook_process("url:http://www.kernel.org/kdist/finger_banner",
30 * 1000, "kernel_process_cb", "")
weechat.hook_process("url:http://weechat.org/info/stable/",
30 * 1000, "weechat_process_cb", "")
----------------------------------------
[TIP]
All infos available about WeeChat are on page http://weechat.org/info
Example of URL transfer with an option: download latest WeeChat development
package in file '/tmp/weechat-devel.tar.gz':
+90 -53
View File
@@ -26,11 +26,11 @@ Main features are:
* multi-servers connection (with SSL, IPv6, proxy)
* small, fast and light
* customizable and extensible with plugins and scripts
* compliant with IRC RFCs http://www.ietf.org/rfc/rfc1459.txt[1459],
http://www.ietf.org/rfc/rfc2810.txt[2810],
http://www.ietf.org/rfc/rfc2811.txt[2811],
http://www.ietf.org/rfc/rfc2812.txt[2812] and
http://www.ietf.org/rfc/rfc2813.txt[2813]
* compliant with IRC RFCs http://tools.ietf.org/html/rfc1459[1459],
http://tools.ietf.org/html/rfc2810[2810],
http://tools.ietf.org/html/rfc2811[2811],
http://tools.ietf.org/html/rfc2812[2812] and
http://tools.ietf.org/html/rfc2813[2813]
* multi-platform (GNU/Linux, *BSD, MacOS X, Windows and other)
* 100% GPL, free software
@@ -91,7 +91,7 @@ compile WeeChat.
| libncursesw5-dev ^(2)^ | | *yes* | ncurses interface
| libcurl4-gnutls-dev | | *yes* | URL transfer
| zlib1g-dev | | *yes* | compression of packets in relay plugin (weechat protocol), script plugin
| libgcrypt11-dev | | *yes* | SASL authentication with IRC server using DH-BLOWFISH mechanism, script plugin
| libgcrypt11-dev | | *yes* | IRC SASL authentication (DH-BLOWFISH/DH-AES), script plugin
| libgnutls-dev | ≥ 2.2.0 | | SSL connection to IRC server, support of SSL in relay plugin
| gettext | | | internationalization (translation of messages; base language is English)
| ca-certificates | | | certificates for SSL connections
@@ -101,7 +101,7 @@ compile WeeChat.
| ruby1.9.1-dev | ≥ 1.8 | | ruby plugin
| liblua5.1-0-dev | | | lua plugin
| tcl-dev | ≥ 8.5 | | tcl plugin
| guile-1.8-dev | | | guile (scheme) plugin
| guile-2.0-dev | ≥ 2.0 | | guile (scheme) plugin
| asciidoc | ≥ 8.5.0 | | build documentation (HTML files)
| source-highlight | | | syntax highlight for sources in HTML documentation
|========================================
@@ -744,7 +744,7 @@ 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
* `${nicklist}`: true if buffer displayed in window has a nicklist
Following pointers are available:
@@ -1400,7 +1400,7 @@ To learn more about plugin or script development (through API), please read
Plugins in WeeChat
~~~~~~~~~~~~~~~~~~
A plugin is dynamic library, written in C and compiled, which is loaded by
A plugin is a dynamic library, written in C and compiled, which is loaded by
WeeChat.
Under GNU/Linux, the file has ".so" extension, ".dll" under Windows.
@@ -1800,13 +1800,16 @@ For more information, look at http://www.oftc.net/oftc/NickServ/CertFP
SASL authentication
^^^^^^^^^^^^^^^^^^^
WeeChat supports SASL authentication, using three mechanisms: "plain" (plain
text password), "dh-blowfish" (encrypted password) or "external" (client side
SSL cert).
WeeChat supports SASL authentication, using different mechanisms:
* 'plain': plain text password
* 'dh-blowfish': blowfish encrypted password
* 'dh-aes': AES encrypted password
* 'external': client side SSL cert
Options in servers are:
* 'sasl_mechanism': mechanism to use ("plain", "dh-blowfish" or "external")
* 'sasl_mechanism': mechanism to use (see above)
* 'sasl_timeout': timeout (in seconds) for authentication
* 'sasl_username': username (nick)
* 'sasl_password': password
@@ -1819,7 +1822,7 @@ If you want to use "dh-blowfish" by default for all servers:
[NOTE]
The "gcrypt" library is required when compiling WeeChat in order to use
"dh-blowfish" mechanism (see <<dependencies,dependencies>>).
"dh-blowfish" and "dh-aes" mechanisms (see <<dependencies,dependencies>>).
[[irc_tor_freenode]]
Connect to Freenode with TOR/SASL
@@ -2269,7 +2272,7 @@ The Relay plugin is used to relay data via network, using different protocols:
* 'irc': IRC proxy: used to share connections to IRC servers with one or many
other IRC clients
* 'weechat': protocol used by remote interfaces to display and interact with
WeeChat (for example QWeeChat)
WeeChat (for example QWeeChat or weechat-android)
[[relay_options]]
Options (relay.conf)
@@ -2283,48 +2286,21 @@ Commands
include::autogen/user/relay_commands.txt[]
[[relay_irc_proxy]]
IRC proxy
^^^^^^^^^
[[relay_password]]
Password
^^^^^^^^
The Relay plugin can act as an IRC proxy: you can define one port by IRC server
and use a password for clients.
For example:
It is highly recommended to set a password for relay, with command:
----------------------------------------
/set relay.network.password "mypass"
/relay add irc.freenode 8000
----------------------------------------
Now you can connect on port 8000 with any IRC client (WeeChat, xchat,
irssi, ..), using server password "mypass".
You can limit number of allowed clients:
----------------------------------------
/set relay.network.max_clients 1
----------------------------------------
[[relay_weechat_protocol]]
WeeChat protocol
^^^^^^^^^^^^^^^^
The Relay plugin can send data to remote interface using WeeChat protocol.
For example:
----------------------------------------
/set relay.network.password "mypass"
/relay add weechat 9000
----------------------------------------
Now you can connect on port 9000 with a remote interface (like QWeeChat),
using password "mypass".
This password is used for 'irc' and 'weechat' protocols.
[[relay_ssl]]
Relay with SSL
^^^^^^^^^^^^^^
SSL
^^^
You can use SSL by creating a certificate and private key, and by using prefix
"ssl." in the name of protocol.
@@ -2347,13 +2323,74 @@ with command:
/relay sslcertkey
----------------------------------------
And then add relay with SSL, for example:
[[relay_irc_proxy]]
IRC proxy
^^^^^^^^^
The Relay plugin can act as an IRC proxy: it will simulate an IRC server, and
you can connect to WeeChat with any other IRC client (including WeeChat itself).
You can define one port by IRC server, or one generic port for all servers.
When using one port for all servers, the client must send the internal name of
server in the IRC "PASS" command, with this format:
----------------------------------------
/relay add ssl.irc.freenode 8001
/relay add ssl.weechat 9001
PASS server:password
----------------------------------------
Example: IRC proxy with SSL for any server (client will choose):
----------------------------------------
/relay add ssl.irc 8000
----------------------------------------
Example: IRC proxy without SSL only for server "freenode":
----------------------------------------
/relay add irc.freenode 8000
----------------------------------------
Now you can connect on port 8000 with any IRC client using server password
"mypass" (or "freenode:mypass" if no server was specified in the relay).
[[relay_weechat_protocol]]
WeeChat protocol
^^^^^^^^^^^^^^^^
The Relay plugin can send data to remote interface using WeeChat protocol.
For example:
----------------------------------------
/relay add weechat 9000
----------------------------------------
Now you can connect on port 9000 with a remote interface using password
"mypass".
[[relay_websocket]]
WebSocket
^^^^^^^^^
WebSocket protocol (http://tools.ietf.org/html/rfc6455[RFC 6455]) is supported
in Relay plugin for all protocols.
The WebSocket handshake is automatically detected and socket becomes ready for
WebSocket if required headers are found in handshake and if origin is allowed
(see option
<<option_relay.network.websocket_allowed_origins,relay.network.websocket_allowed_origins>>).
A WebSocket can be opened in a HTML5 with a single line of JavaScript:
[source,js]
----------------------------------------
websocket = new WebSocket("ws://server.com:9000/weechat");
----------------------------------------
The port (9000 in example) is the port defined in Relay plugin.
The URI must always end with "/weechat" (for 'irc' and 'weechat' protocols).
[[rmodifier_plugin]]
Rmodifier plugin
~~~~~~~~~~~~~~~~
@@ -2402,7 +2439,7 @@ Example of default rmodifier for command `/oper`:
** `input_text_display`: called when command line has changed
(applies only on display, not content of command line)
* regular expression: `^(/oper +\S+ +)(.*)`
* groupes: `1,2*`
* groups: `1,2*`
Each time modifiers "history_add" or "input_text_display" are called, regular
expression is checked. If string matches, then it is replaced by captured groups,
+117 -41
View File
@@ -11,20 +11,39 @@ Es recomendable una terminal emulada para X (pero no indispensable)
rxvt-unicode (tiene un buen soporte para UTF-8, y no da problemas con
los atajas de teclados predeterminados).
Ejecute "weechat-curses" en la consola.
// TRANSLATION MISSING
Run from your shell:
----------------------------------------
$ weechat-curses
----------------------------------------
[[help_options]]
Ayuda en linea / Opciones
-------------------------
WeeChat tiene ayuda para todos los comandos, solo teclee /help Para
obtener ayuda específicamente de un comando, teclee: `/help comando`
WeeChat tiene ayuda para todos los comandos, solo teclee:
Para configurar una opción, use `/set config.section.option valor`
donde `config` es el nombre de la configuración del núcleo o del
----------------------------------------
/help
----------------------------------------
Para obtener ayuda específicamente de un comando, teclee:
----------------------------------------
/help comando
----------------------------------------
Para configurar una opción, use:
----------------------------------------
/set config.section.option valor
----------------------------------------
(donde `config` es el nombre de la configuración del núcleo o del
plugin que desea configurar, `section`, la sección de esa configuración
y `option` el nombre de la opción.
y `option` el nombre de la opción).
WeeChat usará inmediatamente el nuevo valor asignado (*no* es necesario
reiniciar WeeChat después de aplicar cambios a la configuración).
@@ -33,18 +52,30 @@ Usando el comando `/set` con un nombre tecleado parcialmente y el
comodín "*" al principio o al final del texto; pude mostrar todas las
opciones que contienen esas letras. Por ejemplo:
`/set`::
Mostrará todas las opciones de WeeChat y sus plugins.
* mostrará todas las opciones de WeeChat y sus plugins:
`/set weechat.*`::
Mostrará solo las opciones de WeeChat.
----------------------------------------
/set
----------------------------------------
`/set irc.*`::
Mostrará las opciones del plugin IRC
* mostrará solo las opciones de WeeChat:
----------------------------------------
/set weechat.*
----------------------------------------
* mostrará las opciones del plugin IRC:
----------------------------------------
/set irc.*
----------------------------------------
Puede mostrar la ayuda de una opción en especifico con `/help`, por
ejemplo:
`/help weechat.look.highlight`.
----------------------------------------
/help weechat.look.highlight
----------------------------------------
Todas las opciones se salvarán de manera automática cuando cierre
WeeChat o usando el comando `/save` para forzar la forzar a WeeChat a
@@ -77,9 +108,15 @@ Crear un servidor IRC
Puede agregar un servidor IRC usando el comando `/server`, por ejemplo:
/server add oftc irc.oftc.net/6667
----------------------------------------
/server add oftc irc.oftc.net/6667
----------------------------------------
La ayuda está disponible; si te pierdes: `/help server`
La ayuda está disponible; si te pierdes:
----------------------------------------
/help server
----------------------------------------
[[irc_server_options]]
@@ -99,55 +136,73 @@ Por ejemplo, tenemos el nick por defecto (que se basa en su login) pero
usted puedes sobreescribirlo para el servidor identificado como oftc
de la siguiente manera:
/set irc.server.oftc.nicks "nick,nick2,nick3,nick4,nick5"
----------------------------------------
/set irc.server.oftc.nicks "nick,nick2,nick3,nick4,nick5"
----------------------------------------
También para configurar el nombre de usuario y el nombre real:
/set irc.server.oftc.username "Mi nombre de usuario"
/set irc.server.oftc.realname "Mi nombre real"
----------------------------------------
/set irc.server.oftc.username "Mi nombre de usuario"
/set irc.server.oftc.realname "Mi nombre real"
----------------------------------------
Para que el servidor se conecte cuando WeeChat inicie:
/set irc.server.oftc.autoconnect on
----------------------------------------
/set irc.server.oftc.autoconnect on
----------------------------------------
// 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_default.sasl_mechanism dh-blowfish
/set irc.server.oftc.sasl_username "nick"
/set irc.server.oftc.sasl_password "xxxxxxx"
----------------------------------------
/set irc.server_default.sasl_mechanism dh-blowfish
/set irc.server.oftc.sasl_username "nick"
/set irc.server.oftc.sasl_password "xxxxxxx"
----------------------------------------
// TRANSLATION MISSING
To run a command after connection to server, for example to authenticate
with nickserv (only if you don't use SASL for authentication):
/set irc.server.oftc.command "/msg nickserv identify xxxxxxx"
----------------------------------------
/set irc.server.oftc.command "/msg nickserv identify xxxxxxx"
----------------------------------------
[NOTE]
Varios comandos pueden ser escritos separados por ';' (punto y coma).
Para unirse automáticamente a canales cuando el servidor se conecte:
/set irc.server.oftc.autojoin "#uncanal,#otrocanal"
----------------------------------------
/set irc.server.oftc.autojoin "#uncanal,#otrocanal"
----------------------------------------
Para eliminar un valor asignado a una opción de servidor y usar los
valores por defecto en su lugar, por ejemplo, usar el nick por defecto
(irc.server_default.nicks):
/set irc.server.oftc.nicks null
----------------------------------------
/set irc.server.oftc.nicks null
----------------------------------------
Otras opciones: pude configurar otras opciones con el siguiente comando,
donde "xxx" es el nombre de la opción.
/set irc.server.oftc.xxx valor
----------------------------------------
/set irc.server.oftc.xxx valor
----------------------------------------
[[connect_to_irc_server]]
Conectarse a un servidor IRC
----------------------------
/connect oftc
----------------------------------------
/connect oftc
----------------------------------------
[NOTE]
Este comando también puede usarse para crear y conectarse a un nuevo
@@ -161,22 +216,33 @@ servidores use ctrl+X.
Es posible deshabilitar esta manera de tener todos los buffer de
servidores juntos para tenerlos de manera independiente:
/set irc.look.server_buffer independent
----------------------------------------
/set irc.look.server_buffer independent
----------------------------------------
[[join_part_irc_channels]]
join/part y canales IRC
-----------------------
`/join #canal`::
Se une a un canal llamado "#canal"
Se une a un canal llamado "#canal":
`/part [mensaje de partida]`::
sale de un canal (mantiene el buffer abierto)
----------------------------------------
/join #canal
----------------------------------------
`/close`::
cierra un servidor o el buffer de un canal
(`/close` es un alias de `/buffer close`)
Sale de un canal (mantiene el buffer abierto):
----------------------------------------
/part [mensaje de partida]
----------------------------------------
Cierra un servidor o el buffer de un canal (`/close` es un alias de
`/buffer close`):
----------------------------------------
/close
----------------------------------------
[[buffer_window]]
@@ -193,8 +259,10 @@ ventanas conteniendo varios buffer al mismo tiempo.
Comandos para manipular buffer y ventana:
/buffer
/window
----------------------------------------
/buffer
/window
----------------------------------------
(le reitero que puede obtener ayuda de los comandos con /help buffer y
/help ventana respectivamente)
@@ -202,7 +270,9 @@ Comandos para manipular buffer y ventana:
Por ejemplo, para dividir la pantalla una pequeña ventana (1/3)
junto a otras mas grande (2/3) use el comando
/window splitv 33
----------------------------------------
/window splitv 33
----------------------------------------
[[key_bindings]]
@@ -229,15 +299,21 @@ alguna tecla.
Por ejemplo, para asignar la combinación meta-y (alt-y) al comando
`/buffer close`:
/key bind (presionamos meta-k) (presionamos meta-y) /buffer close
----------------------------------------
/key bind (presionamos meta-k) (presionamos meta-y) /buffer close
----------------------------------------
El comando se vera mas o menos así:
/key bind meta-y /buffer close
----------------------------------------
/key bind meta-y /buffer close
----------------------------------------
Para eliminar una combinación:
/key unbind meta-y
----------------------------------------
/key unbind meta-y
----------------------------------------
[[plugins_scripts]]
+8 -4
View File
@@ -6,7 +6,9 @@
| alias | alias_value | valeur de l'alias
| aspell | aspell_langs | liste des langues supportées pour aspell
| aspell | aspell_dicts | liste des dictionnaires aspell installés
| aspell | aspell_langs | liste de toutes les langues supportées par aspell
| guile | guile_script | liste des scripts
@@ -58,11 +60,11 @@
| script | script_files | fichiers dans les répertoires de script
| script | script_scripts | liste des scripts du repository
| script | script_scripts | liste des scripts du dépôt
| script | script_scripts_installed | liste des scripts installés (du repository)
| script | script_scripts_installed | liste des scripts installés (du dépôt)
| script | script_tags | étiquettes des scripts dans le repository
| script | script_tags | étiquettes des scripts dans le dépôt
| tcl | tcl_script | liste des scripts
@@ -104,6 +106,8 @@
| weechat | keys_contexts | contextes de touches
| weechat | layouts_names | noms des dispositions
| weechat | nicks | pseudos dans la liste des pseudos du tampon courant
| weechat | palette_colors | couleurs de la palette
+7 -2
View File
@@ -27,7 +27,7 @@
'modes' (string) +
'limit' (integer) +
'key' (string) +
'names_received' (integer) +
'join_msg_received' (hashtable) +
'checking_away' (integer) +
'away_message' (string) +
'has_quit_server' (integer) +
@@ -42,6 +42,7 @@
'nicks_speaking' (pointer) +
'nicks_speaking_time' (pointer, hdata: "irc_channel_speaking") +
'last_nick_speaking_time' (pointer, hdata: "irc_channel_speaking") +
'join_smart_filtered' (hashtable) +
'buffer' (pointer, hdata: "buffer") +
'buffer_as_string' (string) +
'prev_channel' (pointer, hdata: "irc_channel") +
@@ -185,6 +186,7 @@
'cmd_list_regexp' (pointer) +
'last_user_message' (time) +
'last_away_check' (time) +
'last_data_purge' (time) +
'outqueue' (pointer) +
'last_outqueue' (pointer) +
'redirects' (pointer, hdata: "irc_redirect") +
@@ -276,7 +278,7 @@
'last_script' +
'scripts'
| script | script_script | scripts du repository |
| script | script_script | scripts du dépôt |
'name' (string) +
'name_with_extension' (string) +
'language' (integer) +
@@ -403,6 +405,9 @@
'nicklist_root' (pointer, hdata: "nick_group") +
'nicklist_max_length' (integer) +
'nicklist_display_groups' (integer) +
'nicklist_count' (integer) +
'nicklist_groups_count' (integer) +
'nicklist_nicks_count' (integer) +
'nicklist_visible_count' (integer) +
'nickcmp_callback' (pointer) +
'nickcmp_callback_data' (pointer) +
+1 -1
View File
@@ -26,7 +26,7 @@
| relay | relay | liste des clients pour le relai | pointeur vers le relay (optionnel) | -
| rmodifier | rmodifier | liste des rmodifiers | pointeur vers le rmodifieur (optionnel) | nom du rmodifier (peut démarrer ou se terminer par "*" comme caractère joker) (optionnel)
| rmodifier | rmodifier | liste des rmodifiers | pointeur vers le rmodifier (optionnel) | nom du rmodifier (peut démarrer ou se terminer par "*" comme caractère joker) (optionnel)
| ruby | ruby_script | liste des scripts | pointeur vers le script (optionnel) | nom de script (peut démarrer ou se terminer par "*" comme joker) (optionnel)
+2
View File
@@ -2,6 +2,8 @@
|========================================
| Extension | Nom | Description | Paramètres
| aspell | aspell_dict | liste de dictionnaires (séparés par des virgules) utilisés sur le tampon | pointeur vers un tampon ("0x12345678") ou nom complet de tampon ("irc.freenode.#weechat")
| fifo | fifo_filename | nom du tube FIFO | -
| irc | irc_buffer | retourne le pointeur vers le tampon pour un serveur/canal/pseudo IRC | serveur,canal,pseudo (canal et pseudo sont optionnels)
+2 -3
View File
@@ -17,9 +17,8 @@ Note: dans la commande, les variables spéciales sont remplacées:
$n-m: paramètres de 'n' à 'm'
$*: tous les paramètres
$~: le dernier paramètre
$nick: pseudo courant
$channel: canal courant
$server: serveur courant
$var: où "var" est une variable locale du tampon (voir /buffer localvar)
exemples: $nick, $channel, $server, $plugin, $name
Pour supprimer un alias, utilisez la commande /unalias.
+3 -3
View File
@@ -3,15 +3,15 @@
........................................
/aspell enable|disable|toggle
listdict
setdict <langue>
setdict <dict>[,<dict>...]
deldict
addword [<langue>] <mot>
addword [<dict>] <mot>
enable: activer aspell
disable: désactiver aspell
toggle: activer/désactiver aspell
listdict: afficher les dictionnaires installés
setdict: définir le dictionnaire pour le tampon courant
setdict: définir le dictionnaire pour le tampon courant (plusieurs dictionnaires peuvent être séparés par une virgule)
deldict: supprimer le dictionnaire utilisé sur le tampon courant
addword: ajouter un mot dans le dictionnaire personnel aspell
+1 -1
View File
@@ -29,7 +29,7 @@
** 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)`
** description: `longueur minimum d'un mot pour que l'orthographe soit vérifiée (utilisez 0 pour vérifier tous les mots)`
** type: entier
** valeurs: 0 .. 2147483647 (valeur par défaut: `2`)
+7 -7
View File
@@ -30,7 +30,7 @@ Exemples:
........................................
/allserv [-exclude=<serveur>[,<serveur>...]] <commande> [<paramètres>]
-exclude: exclude certains serveurs ('*' is est autorisé en début ou fin du nom du serveur, pour exclure plusieurs serveurs)
-exclude: exclude certains serveurs ('*' est autorisé en début ou fin du nom du serveur, pour exclure plusieurs serveurs)
commande: commande à exécuter
paramètres: paramètres pour la commande
@@ -60,7 +60,7 @@ Sans paramètre, cette commande affiche la liste des bans pour le canal courant.
serveur: nom du serveur, qui peut être :
- nom interne de serveur (créé par /server add, usage recommandé)
- nom/port ou IP/port (ceci crééra un serveur TEMPORAIRE), le port par défaut est 6667
- nom/port ou IP/port (ceci créera un serveur TEMPORAIRE), le port par défaut est 6667
- URL avec le format: irc[6][s]://[pseudo[:mot_passe]@]irc.example.org[:port][/#canal1][,#canal2[...]]
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)
@@ -146,7 +146,7 @@ cible: nom du serveur
........................................
/disconnect [<serveur>|-all|-pending [<raison>]]
serveur: nom du serveur pour se déconecter
serveur: nom du serveur pour se déconnecter
-all: se déconnecter de tous les serveurs
-pending: annuler la reconnexion automatique sur les serveurs en cours de reconnexion
raison: raison pour le quit
@@ -246,7 +246,7 @@ raison: raison pour l'élimination
pseudo: pseudo à éliminer et bannir
raison: raison pour l'élimination
Il est possible d'émiliner/bannir avec un masque, le pseudo sera extrait du masque et remplacé par "*".
Il est possible d'éliminer/bannir avec un masque, le pseudo sera extrait du masque et remplacé par "*".
Exemple:
bannir "*!*@host.com" puis éliminer "toto":
@@ -327,7 +327,7 @@ modes de canaux:
n: aucun message au canal depuis l'extérieur
m: canal modéré
l: fixer la limite d'utilisateurs pour le canal
b: paramétrer un masque de banissement pour garder des utilisateurs dehors
b: paramétrer un masque de bannissement pour garder des utilisateurs dehors
e: paramétrer un masque d'exception
v: donner/reprendre la possibilité de parler sur un canal modéré
k: définir une clé (mot de passe) pour accéder au canal
@@ -574,7 +574,7 @@ raison: raison
listfull: afficher les serveurs avec de l'info détaillée pour chaque
add: créer un nouveau serveur
serveur: nom du serveur, pour usage interne et affichage
nom: nom ou adresse IP du serveur avec port en option (defaut: 6667), plusieurs addresses peuvent être séparées par une virgule
nom: nom ou adresse IP du serveur avec port en option (défaut: 6667), plusieurs adresses peuvent être séparées par une virgule
temp: créer un serveur temporaire (non sauvé)
option: définir l'option pour le serveur (pour une option booléenne, la valeur peut être omise)
nooption: définir l'option booléenne à 'off' (par exemple: -nossl)
@@ -599,7 +599,7 @@ Exemples:
........................................
[[command_irc_service]]
[command]*`service`* enregister un nouveau service::
[command]*`service`* enregistrer un nouveau service::
........................................
/service <pseudo> <réservé> <distribution> <type> <réservé> <info>
+35 -40
View File
@@ -38,21 +38,11 @@
** type: chaîne
** valeurs: toute chaîne (valeur par défaut: `"1,-1:darkgray"`)
* [[option_irc.color.nick_prefix]] *irc.color.nick_prefix*
** description: `couleur pour le préfixe du pseudo (le préfixe est une chaîne personnalisée affichée avant le pseudo)`
** 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: `green`)
* [[option_irc.color.nick_prefixes]] *irc.color.nick_prefixes*
** description: `couleur pour les préfixes du pseudo en utilisant les caractères de mode (o=op, h=halfop, v=voice, ...), le format est: "o:couleur1;h:couleur2;v:couleur3" (si un mode n'est pas trouvé, WeeChat essaiera avec les modes suivants reçus du serveur ("PREFIX"); un mode spécial "*" peut être utilisé comme couleur par défaut si aucun mode n'est trouvé dans la liste)`
** type: chaîne
** valeurs: toute chaîne (valeur par défaut: `"q:lightred;a:lightcyan;o:lightgreen;h:lightmagenta;v:yellow;*:lightblue"`)
* [[option_irc.color.nick_suffix]] *irc.color.nick_suffix*
** description: `couleur pour le suffixe du pseudo (le suffixe est une chaîne personnalisée affichée après le pseudo)`
** 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: `green`)
* [[option_irc.color.notice]] *irc.color.notice*
** description: `couleur pour le texte "Notice" dans les notices`
** type: couleur
@@ -143,6 +133,11 @@
** type: booléen
** valeurs: on, off (valeur par défaut: `on`)
* [[option_irc.look.display_join_message]] *irc.look.display_join_message*
** description: `liste de messages (séparés par des virgules) à afficher après avoir rejoint un canal: 329 = date de création du canal, 332 = titre, 333 = pseudo/date pour le titre, 366 = noms sur le canal`
** type: chaîne
** valeurs: toute chaîne (valeur par défaut: `"329,332,333,366"`)
* [[option_irc.look.display_old_topic]] *irc.look.display_old_topic*
** description: `afficher l'ancien titre lorsque le titre du canal est changé`
** type: booléen
@@ -158,11 +153,6 @@
** type: booléen
** valeurs: on, off (valeur par défaut: `on`)
* [[option_irc.look.hide_nickserv_pwd]] *irc.look.hide_nickserv_pwd*
** description: `masquer le mot de passe affiché par nickserv`
** type: booléen
** valeurs: on, off (valeur par défaut: `on`)
* [[option_irc.look.highlight_channel]] *irc.look.highlight_channel*
** description: `liste de mots pour le highlight dans les tampons de type "canal", séparés par des virgules (insensible à la casse, utilisez "(?-i)" au début des mots pour les rendre sensibles à la casse; les variables spéciales $nick, $channel et $server sont remplacées par leurs valeurs), ces mots sont ajoutés à la variable locale du tampon "highlight_words" seulement lorsque le tampon est créé (cela n'affecte pas les tampons courants), une chaîne vide désactive le highlight par défaut sur le pseudo, exemples: "$nick", "(?-i)$nick"`
** type: chaîne
@@ -248,15 +238,10 @@
** type: booléen
** valeurs: on, off (valeur par défaut: `off`)
* [[option_irc.look.nick_prefix]] *irc.look.nick_prefix*
** description: `texte à afficher avant le pseudo dans la fenêtre de discussion`
* [[option_irc.look.nicks_hide_password]] *irc.look.nicks_hide_password*
** description: `liste des pseudos (séparés par des virgules) pour lesquels les mots de passe seront masqués quand un message est envoyé, par exemple pour cacher le mot de passe dans le message affiché par "/msg nickserv identify motedepasse", exemple: "nickserv|nickbot"`
** type: chaîne
** valeurs: toute chaîne (valeur par défaut: `""`)
* [[option_irc.look.nick_suffix]] *irc.look.nick_suffix*
** description: `texte à afficher après le pseudo dans la fenêtre de discussion`
** type: chaîne
** valeurs: toute chaîne (valeur par défaut: `""`)
** valeurs: toute chaîne (valeur par défaut: `"nickserv"`)
* [[option_irc.look.notice_as_pv]] *irc.look.notice_as_pv*
** description: `afficher les notices comme des messages privés (si auto, utilise le tampon privé s'il est trouvé)`
@@ -269,7 +254,7 @@
** valeurs: toute chaîne (valeur par défaut: `"notify_message"`)
* [[option_irc.look.notify_tags_whois]] *irc.look.notify_tags_whois*
** description: `liste des tags (séparés par des virgules) utilisés dans les messages affichés par notify lorsque le status d'absence d'un pseudo change (résultat de la commande whois), par exemple: "notify_highlight", "notify_message" ou "notify_private"`
** description: `liste des tags (séparés par des virgules) utilisés dans les messages affichés par notify lorsque le statut d'absence d'un pseudo change (résultat de la commande whois), par exemple: "notify_highlight", "notify_message" ou "notify_private"`
** type: chaîne
** valeurs: toute chaîne (valeur par défaut: `"notify_message"`)
@@ -278,13 +263,18 @@
** type: booléen
** valeurs: on, off (valeur par défaut: `off`)
* [[option_irc.look.pv_buffer]] *irc.look.pv_buffer*
** description: `mélanger les tampons privés`
** type: entier
** valeurs: independent, merge_by_server, merge_all (valeur par défaut: `independent`)
* [[option_irc.look.raw_messages]] *irc.look.raw_messages*
** description: `nombre de messages bruts à sauvegarder en mémoire lorsque le tampon des données brutes est fermé (ces messages seront affichés lors de l'ouverture du tampon des données brutes)`
** type: entier
** valeurs: 0 .. 65535 (valeur par défaut: `256`)
* [[option_irc.look.server_buffer]] *irc.look.server_buffer*
** description: `mélange des tampons de serveur`
** description: `mélanger les tampons de serveur`
** type: entier
** valeurs: merge_with_core, merge_without_core, independent (valeur par défaut: `merge_with_core`)
@@ -303,8 +293,13 @@
** type: booléen
** valeurs: on, off (valeur par défaut: `on`)
* [[option_irc.look.smart_filter_join_unmask]] *irc.look.smart_filter_join_unmask*
** description: `délai pour démasquer un message "join" qui a été filtré avec l'étiquette "irc_smart_filter" (en minutes): si le pseudo a rejoint au maximum il y a N minutes et qu'il a dit quelque chose sur le canal (message, notice ou mise à jour du topic), le "join" est démasqué, tout comme les changements de pseudo après ce "join" (0 = désactiver: ne jamais démasquer un "join")`
** type: entier
** valeurs: 0 .. 10080 (valeur par défaut: `30`)
* [[option_irc.look.smart_filter_nick]] *irc.look.smart_filter_nick*
** description: `activer le filtre intelligent pour les messages "nick"`
** description: `activer le filtre intelligent pour les messages "nick" (changements de pseudo)`
** type: booléen
** valeurs: on, off (valeur par défaut: `on`)
@@ -319,17 +314,17 @@
** 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`
** description: `obtenir un pseudo alternatif lorsque le pseudo est déjà utilisé sur le serveur: ajouter des "_" jusqu'à ce que le pseudo ait une longueur 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...)`
** description: `facteur de croissance du délai d'auto-reconnexion au serveur (1 = toujours le même délai, 2 = délai*2 pour chaque tentative, etc...)`
** type: entier
** valeurs: 1 .. 100 (valeur par défaut: `2`)
* [[option_irc.network.autoreconnect_delay_max]] *irc.network.autoreconnect_delay_max*
** description: `délai maximum d'autoreconnection au serveur (en secondes, 0 = pas de maximum)`
** description: `délai maximum d'auto-reconnexion au serveur (en secondes, 0 = pas de maximum)`
** type: entier
** valeurs: 0 .. 86400 (valeur par défaut: `1800`)
@@ -348,18 +343,18 @@
** type: entier
** valeurs: 0 .. 604800 (valeur par défaut: `60`)
* [[option_irc.network.lag_disconnect]] *irc.network.lag_disconnect*
** description: `déconnexion après un lag important (en minutes, 0 = ne jamais se déconnecter)`
** type: entier
** valeurs: 0 .. 10080 (valeur par défaut: `0`)
* [[option_irc.network.lag_min_show]] *irc.network.lag_min_show*
** description: `lag minimum à afficher (en millisecondes)`
** type: entier
** valeurs: 0 .. 86400000 (valeur par défaut: `500`)
* [[option_irc.network.lag_reconnect]] *irc.network.lag_reconnect*
** description: `se reconnecter au serveur si le lag est supérieur à cette valeur (en secondes, 0 = ne jamais se reconnecter)`
** type: entier
** valeurs: 0 .. 604800 (valeur par défaut: `0`)
* [[option_irc.network.lag_refresh_interval]] *irc.network.lag_refresh_interval*
** description: `intervalle entre deux rafraichissements du lag, lorsque le lag augmente (en secondes)`
** description: `intervalle entre deux rafraîchissements du lag, lorsque le lag augmente (en secondes)`
** type: entier
** valeurs: 1 .. 3600 (valeur par défaut: `1`)
@@ -439,7 +434,7 @@
** valeurs: 0 .. 1000000 (valeur par défaut: `25`)
* [[option_irc.server_default.capabilities]] *irc.server_default.capabilities*
** description: `liste séparée par des virgules de capacités client ("client capabilities") à activer sur le serveur si elles sont disponibles (exemple: "multi-prefix,extended-join")`
** description: `liste séparée par des virgules de capacités client ("client capabilities") à activer sur le serveur si elles sont disponibles; les capacités supportées par WeeChat sont: multi-prefix, userhost-in-names (exemple: "multi-prefix,userhost-in-names")`
** type: chaîne
** valeurs: toute chaîne (valeur par défaut: `""`)
@@ -469,7 +464,7 @@
** 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 (essayer IPv6 puis repli sur l'IPv4); si désactivé, seulemenent l'IPv4 est utilisé`
** description: `utiliser le protocole IPv6 pour la communication avec le serveur (essayer IPv6 puis repli sur l'IPv4); si désactivé, seulement l'IPv4 est utilisé`
** type: booléen
** valeurs: on, off (valeur par défaut: `on`)
@@ -504,9 +499,9 @@
** valeurs: toute chaîne (valeur par défaut: `""`)
* [[option_irc.server_default.sasl_mechanism]] *irc.server_default.sasl_mechanism*
** description: `mécanisme pour l'authentification SASL: "plain" pour un mot de passe en clair, "dh-blowfish" pour un mot de passe chiffré, "external" pour une authentification en utilisant un certificat SSL côté client`
** description: `mécanisme pour l'authentification SASL: "plain" pour un mot de passe en clair, "dh-blowfish" pour un mot de passe chiffré avec blowfish, "dh-aes" pour un mot de passe chiffré avec AES, "external" pour une authentification en utilisant un certificat SSL côté client`
** type: entier
** valeurs: plain, dh-blowfish, external (valeur par défaut: `plain`)
** valeurs: plain, dh-blowfish, dh-aes, external (valeur par défaut: `plain`)
* [[option_irc.server_default.sasl_password]] *irc.server_default.sasl_password*
** description: `mot de passe pour l'authentification SASL`
@@ -514,7 +509,7 @@
** valeurs: toute chaîne (valeur par défaut: `""`)
* [[option_irc.server_default.sasl_timeout]] *irc.server_default.sasl_timeout*
** description: `délai d'attende maximum (en secondes) avant d'abandonner l'authentification SASL`
** description: `délai d'attente maximum (en secondes) avant d'abandonner l'authentification SASL`
** type: entier
** valeurs: 1 .. 3600 (valeur par défaut: `15`)
+10
View File
@@ -33,6 +33,16 @@
** type: booléen
** valeurs: on, off (valeur par défaut: `on`)
* [[option_logger.file.nick_prefix]] *logger.file.nick_prefix*
** description: `texte à écrire avant le pseudo dans le préfixe du message, par exemple: "<"`
** type: chaîne
** valeurs: toute chaîne (valeur par défaut: `""`)
* [[option_logger.file.nick_suffix]] *logger.file.nick_suffix*
** description: `texte à écrire après le pseudo dans le préfixe du message, par exemple: ">"`
** type: chaîne
** valeurs: toute chaîne (valeur par défaut: `""`)
* [[option_logger.file.path]] *logger.file.path*
** description: `chemin pour les fichiers de log WeeChat; "%h" au début de la chaîne est remplacé par le répertoire de base WeeChat (par défaut: "~/.weechat"); les caractères de formatage de date sont autorisés (voir man strftime)`
** type: chaîne
+3 -1
View File
@@ -16,7 +16,7 @@
ipv6: forcer l'utilisation d'IPv6
ssl: activer SSL
protocole.nom: protocole et nom à relayer:
- protocole "irc": le nom est le serveur à partager
- protocole "irc": le nom est le serveur à partager (optionnel, si non donné, le nom de serveur doit être envoyé par le client dans la commande "PASS", avec le format: "PASS serveur:motdepasse")
- protocole "weechat" (le nom n'est pas utilisé)
port: port utilisé pour le relai
raw: ouvrir le tampon avec les données brutes Relay
@@ -29,6 +29,8 @@ Exemples:
/relay add irc.freenode 8000
proxy irc, pour le serveur "freenode", avec SSL:
/relay add ssl.irc.freenode 8001
proxy irc, pour tous les serveurs (le client choisira), avec SSL:
/relay add ssl.irc 8002
protocole weechat:
/relay add weechat 9000
protocole weechat avec SSL:
+7 -2
View File
@@ -84,7 +84,7 @@
** valeurs: toute chaîne (valeur par défaut: `""`)
* [[option_relay.network.bind_address]] *relay.network.bind_address*
** description: `addresse pour le bind (si vide, la connexion est possible sur toutes les interfaces, utiliser "127.0.0.1" pour autoriser les connections depuis la machine locale seulement)`
** description: `adresse pour le bind (si vide, la connexion est possible sur toutes les interfaces, utiliser "127.0.0.1" pour autoriser les connections depuis la machine locale seulement)`
** type: chaîne
** valeurs: toute chaîne (valeur par défaut: `""`)
@@ -94,7 +94,7 @@
** 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)`
** description: `écouter en IPv6 sur le 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`)
@@ -113,3 +113,8 @@
** type: chaîne
** valeurs: toute chaîne (valeur par défaut: `"%h/ssl/relay.pem"`)
* [[option_relay.network.websocket_allowed_origins]] *relay.network.websocket_allowed_origins*
** description: `expression régulière avec les origines autorisées dans les websockets (insensible à la casse, utilisez "(?-i)" en début de chaîne pour la rendre insensible à la casse), exemple: "^http://(www\.)?example\.(com|org)"`
** type: chaîne
** valeurs: toute chaîne (valeur par défaut: `""`)
+1 -1
View File
@@ -11,7 +11,7 @@ listdefault: lister les rmodifiers par défaut
add: ajouter un rmodifier
name: nom du rmodifier
modifiers: liste de modifiers (séparés par une virgule)
groupes: action sur les groupes trouvés: liste de groupes (séparés par une virgule) (de 1 à 9) avec en option "*" après le nombre pour cacher le groupe
groupes: action sur les groupes capturés dans l'expression régulière (entre parenthèses): liste de groupes (séparés par une virgule) (de 1 à 9) avec en option "*" après le nombre pour cacher le groupe
regex: expression régulière (insensible à la casse, peut commencer par "(?-i)" pour devenir sensible à la casse)
del: supprimer un rmodifier
-all: supprimer tous les rmodifiers
+20 -15
View File
@@ -5,25 +5,29 @@
search <texte>
show <script>
load|unload|reload <script> [<script>...]
autoload|noautoload|toggleautoload <script> [<script>...]
install|remove|installremove|hold [-q] <script> [<script>...]
upgrade
update
list: lister les scripts chargés (tous les langages)
-o: envoyer la liste des scripts chargés au tampon
-i: copier la liste des scripts chargés dans la ligne de commande (pour envoi au tampon)
search: chercher des scripts par étiquettes ou texte et afficher le résultat sur le tampon des scripts
show: afficher des infos détaillées sur le script
load: charger un ou plusieurs scripts
unload: décharger un ou plusieurs scripts
reload: recharger un ou plusieurs scripts
install: installer/mettre à jour un ou plusieurs scripts
remove: supprimer un ou plusieurs scripts
installremove: installer ou supprimer un ou plusieurs scripts, selon l'état courant
hold: figer/défiger un ou plusieurs scripts (un script figé ne sera plus mis à jour et ne peut pas être supprimé)
-q: mode silencieux: ne pas afficher de messages
upgrade: mettre à jour les scripts obsolètes (avec nouvelle version disponible)
update: mettre à jour le cache local des scripts
list: lister les scripts chargés (tous les langages)
-o: envoyer la liste des scripts chargés au tampon
-i: copier la liste des scripts chargés dans la ligne de commande (pour envoi au tampon)
search: chercher des scripts par étiquettes ou texte et afficher le résultat sur le tampon des scripts
show: afficher des infos détaillées sur le script
load: charger un ou plusieurs scripts
unload: décharger un ou plusieurs scripts
reload: recharger un ou plusieurs scripts
autoload: charger automatiquement un ou plusieurs scripts
noautoload: ne pas charger automatiquement un ou plusieurs scripts
toggleautoload: activer/désactiver le chargement automatique
install: installer/mettre à jour un ou plusieurs scripts
remove: supprimer un ou plusieurs scripts
installremove: installer ou supprimer un ou plusieurs scripts, selon l'état courant
hold: figer/défiger un ou plusieurs scripts (un script figé ne sera plus mis à jour et ne peut pas être supprimé)
-q: mode silencieux: ne pas afficher de messages
upgrade: mettre à jour les scripts obsolètes (avec nouvelle version disponible)
update: mettre à jour le cache local des scripts
Sans paramètre, cette commande ouvre un tampon avec la liste des scripts.
@@ -43,6 +47,7 @@ Les touches sur le tampon des scripts:
alt+l charger le script
alt+L recharger le script
alt+u décharger le script
alt+A chargement automatique du script
alt+h (dé)figer le script
alt+v voir le script
+7 -2
View File
@@ -139,7 +139,7 @@
** valeurs: on, off (valeur par défaut: `on`)
* [[option_script.look.diff_command]] *script.look.diff_command*
** description: `commande utilisée pour montrer les différences entre le script installé et la nouvelle version dans le repository ("auto" = détecter automatiquement la commande de diff (git ou diff), valeur vide = désactiver le diff, autre chaîne = nom de la commande, par exemple "diff")`
** description: `commande utilisée pour montrer les différences entre le script installé et la nouvelle version dans le dépôt ("auto" = détecter automatiquement la commande de diff (git ou diff), valeur vide = désactiver le diff, autre chaîne = nom de la commande, par exemple "diff")`
** type: chaîne
** valeurs: toute chaîne (valeur par défaut: `"auto"`)
@@ -164,7 +164,12 @@
** valeurs: on, off (valeur par défaut: `on`)
* [[option_script.look.use_keys]] *script.look.use_keys*
** description: `utiliser les touches alt+X sur le tampon script pour effectuer les actions sur les scripts (alt+i = installed, alt+r = supprimer, ...); si désactivé, seule l'entrée est autorisée: i, r, ...`
** description: `utiliser les touches alt+X sur le tampon script pour effectuer les actions sur les scripts (alt+i = installer, alt+r = supprimer, ...); si désactivé, seule l'entrée est autorisée: i, r, ...`
** type: booléen
** valeurs: on, off (valeur par défaut: `on`)
* [[option_script.scripts.autoload]] *script.scripts.autoload*
** description: `charger automatiquement les scripts installés (faire un lien dans le répertoire "autoload" vers le script dans le répertoire parent)`
** type: booléen
** valeurs: on, off (valeur par défaut: `on`)
+21 -14
View File
@@ -81,11 +81,11 @@ Exemples:
(par défaut ctrl-x bascule entre les tampons mélangés)
unmerge: détacher le tampon courant des autres tampons portant le même numéro
close: fermer le tampon (nombre/intervalle ou nom optionnel)
notify: définir le niveau de notification pour le tampon courant: ce niveau détermine si le buffer doit être ajouté à la hotlist ou pas:
notify: définir le niveau de notification pour le tampon courant: ce niveau détermine si le tampon doit être ajouté à la hotlist ou pas:
none: jamais
highlight: pour les highlights seulement
message: pour les messages d'utilisateurs + highlights
all: pout tous les messages
all: pour tous les messages
reset: réinitialise à valeur par défaut (all)
localvar: afficher la liste des variables locales pour le tampon courant
set: modifier une propriété du tampon courant
@@ -190,6 +190,7 @@ extension: nom de l'extension ("core" pour le coeur de WeeChat)
buffer: afficher le contenu du tampon en valeurs hexadécimales dans le fichier log
color: afficher des infos sur les paires de couleur courantes
cursor: activer/désactiver le debug pour le mode curseur
dirs: afficher les répertoires
hdata: afficher des infos sur les hdata (avec free: supprimer tous les hdata en mémoire)
hooks: afficher des infos sur les hooks
infolists: afficher des infos sur les infolists
@@ -234,7 +235,7 @@ Des variables sont remplacées dans l'expression, en utilisant le format ${varia
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 :
hdata[list].var1.var2...: démarrer avec un hdata en utilisant 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".
@@ -289,7 +290,7 @@ Les tags les plus couramment utilisés:
no_filter, no_highlight, no_log, log0..log9 (niveau de log),
notify_none, notify_message, notify_private, notify_highlight,
nick_xxx (xxx est le pseudo dans le message), prefix_nick_ccc (ccc est la couleur du pseudo),
irc_xxx (xxx est un nom de commande ou nombre, voir /server raw),
irc_xxx (xxx est un nom de commande ou nombre, voir /server raw ou /debug tags),
irc_numeric, irc_error, irc_action, irc_ctcp, irc_ctcp_reply, irc_smart_filter, away_info.
Pour voir les tags des lignes affichées: /debug tags
@@ -337,7 +338,7 @@ valeur: nombre d'entrées dans l'historique à afficher
........................................
/input <action> [<paramètres>]
list des actions:
liste des actions:
return: simuler la touche "entrée"
complete_next: compléter le mot avec la complétion suivante
complete_previous: compléter le mot avec la complétion précédente
@@ -353,7 +354,7 @@ list des actions:
delete_beginning_of_line: effacer du début de la ligne jusqu'au curseur
delete_end_of_line: effacer du curseur jusqu'à la fin de la ligne
delete_line: effacer la ligne entière
clipboard_paste: coller depuis le presse-papier
clipboard_paste: coller depuis le presse-papiers
transpose_chars: inverser deux caractères
undo: défaire la dernière action de la ligne de commande
redo: refaire la dernière action de la ligne de commande
@@ -446,17 +447,23 @@ Exemples:
[[command_weechat_layout]]
[command]*`layout`* sauver/appliquer/réinitialiser la disposition des tampons et fenêtres::
........................................
/layout save [buffers|windows]
apply [buffers|windows]
reset [buffers|windows]
/layout save [<nom>] [buffers|windows]
apply [<nom>] [buffers|windows]
leave
reset [<nom>] [buffers|windows]
rename <nom> <nouveau_nom>
save: sauver la disposition courante
apply: appliquer la disposition sauvegardée
reset: supprimer la disposition sauvegardée
apply: appliquer une disposition sauvegardée
leave: quitter la disposition courante (ne met à jour aucune disposition)
reset: réinitialiser les tampons et/ou fenêtres dans une disposition sauvegardée
(si les tampons et fenêtres sont réinitialisées ensemble, la disposition est supprimée)
rename: renommer une disposition
nom: nom pour la disposition sauvegardée (par défaut "default")
buffers: sauver/appliquer seulement pour les tampons (ordre des tampons)
windows: sauver/appliquer seulement pour les fenêtres (le tampon affiché par chaque fenêtre)
Sans paramètre, cette commande affiche la disposition sauvegardée.
Sans paramètre, cette commande affiche les dispositions sauvegardées.
........................................
[[command_weechat_mouse]]
@@ -526,7 +533,7 @@ Sans paramètre, cette commande liste les extensions chargées.
[command]*`proxy`* gestion des proxies::
........................................
/proxy list
add <nom> <type> <addresse> <port> [<utilisateur> [<mot_de_passe>]]
add <nom> <type> <adresse> <port> [<utilisateur> [<mot_de_passe>]]
del <nom>|-all
set <nom> <option> <valeur>
@@ -534,7 +541,7 @@ Sans paramètre, cette commande liste les extensions chargées.
add: ajouter un nouveau proxy
nom: nom du proxy (doit être unique)
type: http, socks4 ou socks5
addresse: IP ou nom de machine
adresse: IP ou nom de machine
port: port
utilisateur: nom d'utilisateur (optionnel)
mot_de_passe: mot de passe (optionnel)
+37 -7
View File
@@ -83,11 +83,21 @@
** 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: `cyan`)
* [[option_weechat.color.chat_nick_prefix]] *weechat.color.chat_nick_prefix*
** description: `couleur pour le préfixe du pseudo (chaîne affichée avant le pseudo dans le préfixe)`
** 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: `green`)
* [[option_weechat.color.chat_nick_self]] *weechat.color.chat_nick_self*
** description: `couleur du texte pour le pseudo local dans la fenêtre de discussion`
** 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_weechat.color.chat_nick_suffix]] *weechat.color.chat_nick_suffix*
** description: `couleur pour le suffixe du pseudo (chaîne affichée après le pseudo dans le préfixe)`
** 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: `green`)
* [[option_weechat.color.chat_prefix_action]] *weechat.color.chat_prefix_action*
** description: `couleur du texte pour le préfixe d'action`
** type: couleur
@@ -284,7 +294,7 @@
** valeurs: on, off (valeur par défaut: `on`)
* [[option_weechat.completion.default_template]] *weechat.completion.default_template*
** description: `modèle de complétion par défaut (merci de consulter la documentation pour les codes et valeurs du modèle)`
** description: `modèle de complétion par défaut (merci de consulter la documentation pour les codes et valeurs du modèle: Référence API extension, fonction "weechat_hook_command")`
** type: chaîne
** valeurs: toute chaîne (valeur par défaut: `"%(nicks)|%(irc_channels)"`)
@@ -309,7 +319,7 @@
** valeurs: toute chaîne (valeur par défaut: `"[]`_-^"`)
* [[option_weechat.completion.partial_completion_alert]] *weechat.completion.partial_completion_alert*
** description: `alterte l'utilisateur lorsqu'une complétion partielle survient`
** description: `alerte l'utilisateur lorsqu'une complétion partielle survient`
** type: booléen
** valeurs: on, off (valeur par défaut: `on`)
@@ -384,7 +394,7 @@
** valeurs: toute chaîne (valeur par défaut: `"--"`)
* [[option_weechat.look.buffer_notify_default]] *weechat.look.buffer_notify_default*
** description: `niveau de notification par défaut pour les tampons (utilisé pour dire à WeeChat si le tampon doit être affiché dans la hotlist ou non, selon l'importance du message): all=tous les messages (par défaut), message=messages+highlights, highlight=highlights seulement, none=ne jemais afficher dans la hotlist`
** description: `niveau de notification par défaut pour les tampons (utilisé pour dire à WeeChat si le tampon doit être affiché dans la hotlist ou non, selon l'importance du message): all=tous les messages (par défaut), message=messages+highlights, highlight=highlights seulement, none=ne jamais afficher dans la hotlist`
** type: entier
** valeurs: none, highlight, message, all (valeur par défaut: `all`)
@@ -593,8 +603,18 @@
** type: entier
** valeurs: 1 .. 10000 (valeur par défaut: `100`)
* [[option_weechat.look.nick_prefix]] *weechat.look.nick_prefix*
** description: `texte à afficher avant le pseudo dans le préfixe, par exemple: "<"`
** type: chaîne
** valeurs: toute chaîne (valeur par défaut: `""`)
* [[option_weechat.look.nick_suffix]] *weechat.look.nick_suffix*
** description: `texte à afficher après le pseudo dans le préfixe, par exemple ">"`
** type: chaîne
** valeurs: toute chaîne (valeur par défaut: `""`)
* [[option_weechat.look.paste_bracketed]] *weechat.look.paste_bracketed*
** description: `activer le mode du terminal "bracketed paste" (pas supporté par tous les terminaux/multiplexeurs): dans ce mode, le texte collé est entouré avec des séquences de contrôle de sorte que WeeChat puisse différencier le texte collé du texté tapé ("ESC[200~", suivi par le texte collé, suivi par "ESC[201~")`
** description: `activer le mode du terminal "bracketed paste" (pas supporté par tous les terminaux/multiplexeurs): dans ce mode, le texte collé est entouré avec des séquences de contrôle de sorte que WeeChat puisse différencier le texte collé du texte tapé ("ESC[200~", suivi par le texte collé, suivi par "ESC[201~")`
** type: booléen
** valeurs: on, off (valeur par défaut: `off`)
@@ -633,6 +653,11 @@
** type: chaîne
** valeurs: toute chaîne (valeur par défaut: `"+"`)
* [[option_weechat.look.prefix_align_more_after]] *weechat.look.prefix_align_more_after*
** description: `afficher le caractère de troncature (par défaut "+") après le texte (en remplaçant l'espace qui devrait être affiché ici); si désactivé, le caractère de troncature remplace le dernier caractère du texte`
** type: booléen
** valeurs: on, off (valeur par défaut: `on`)
* [[option_weechat.look.prefix_buffer_align]] *weechat.look.prefix_buffer_align*
** description: `alignement de préfixe pour le nom du tampon, quand plusieurs tampons sont mélangés avec le même numéro (none, left, right (par défaut))`
** type: entier
@@ -648,6 +673,11 @@
** type: chaîne
** valeurs: toute chaîne (valeur par défaut: `"+"`)
* [[option_weechat.look.prefix_buffer_align_more_after]] *weechat.look.prefix_buffer_align_more_after*
** description: `afficher le caractère de troncature (par défaut "+") après le texte (en remplaçant l'espace qui devrait être affiché ici); si désactivé, le caractère de troncature remplace le dernier caractère du texte`
** type: booléen
** valeurs: on, off (valeur par défaut: `on`)
* [[option_weechat.look.prefix_error]] *weechat.look.prefix_error*
** description: `préfixe pour les messages d'erreur, les couleurs sont autorisées avec le format "${couleur}"`
** type: chaîne
@@ -709,7 +739,7 @@
** valeurs: 1 .. 2147483647 (valeur par défaut: `3`)
* [[option_weechat.look.scroll_bottom_after_switch]] *weechat.look.scroll_bottom_after_switch*
** description: `faire défiler en bas de la fenêtre après un basculemment vers un autre tampon (ne pas sauvegarder la position du défilement dans les fenêtres); le défilement n'est fait que pour les tampons avec contenu formaté (pas le contenu libre)`
** description: `faire défiler en bas de la fenêtre après un basculement vers un autre tampon (ne pas sauvegarder la position du défilement dans les fenêtres); le défilement n'est fait que pour les tampons avec contenu formaté (pas le contenu libre)`
** type: booléen
** valeurs: on, off (valeur par défaut: `off`)
@@ -719,7 +749,7 @@
** valeurs: 1 .. 100 (valeur par défaut: `100`)
* [[option_weechat.look.search_text_not_found_alert]] *weechat.look.search_text_not_found_alert*
** description: `alterte l'utilisateur lorsque le texte cherché n'est pas trouvé dans le tampon`
** description: `alerte l'utilisateur lorsque le texte cherché n'est pas trouvé dans le tampon`
** type: booléen
** valeurs: on, off (valeur par défaut: `on`)
@@ -814,7 +844,7 @@
** valeurs: on, off (valeur par défaut: `on`)
* [[option_weechat.startup.sys_rlimit]] *weechat.startup.sys_rlimit*
** description: `définir les limites de ressource pour le processus WeeChat, le format est: "res1:limite1,res2:limite2"; le nom de ressource est la fin de la constante (RLIMIT_XXX) en minuscules (voir man setrlimit pour les valeurs); une limite de -1 siginifie "illimitée"; exemple: définir une taille illimitée pour le fichier core et max 1 Go de mémoire virtuelle: "core:-1,as:1000000000"`
** description: `définir les limites de ressource pour le processus WeeChat, le format est: "res1:limite1,res2:limite2"; le nom de ressource est la fin de la constante (RLIMIT_XXX) en minuscules (voir man setrlimit pour les valeurs); une limite de -1 signifie "illimitée"; exemple: définir une taille illimitée pour le fichier core et max 1 Go de mémoire virtuelle: "core:-1,as:1000000000"`
** type: chaîne
** valeurs: toute chaîne (valeur par défaut: `""`)
+5
View File
@@ -53,6 +53,11 @@
** type: booléen
** valeurs: on, off (valeur par défaut: `off`)
* [[option_xfer.file.auto_accept_nicks]] *xfer.file.auto_accept_nicks*
** description: `liste de pseudos (séparés par des virgules) pour lesquels les demandes d'envoi de fichiers et de discussion sont automatiquement acceptées; le format est "serveur.pseudo" (pour un serveur spécifique) ou "pseudo" (pour tous les serveurs); exemple: "freenode.FlashCode,andrew"`
** type: chaîne
** valeurs: toute chaîne (valeur par défaut: `""`)
* [[option_xfer.file.auto_rename]] *xfer.file.auto_rename*
** description: `renommer les fichiers reçus s'ils existent déjà (ajoute ".1", ".2", ...)`
** type: booléen
+15 -19
View File
@@ -294,23 +294,7 @@ cela ne cassera pas la sélection d'une URL) :
Cette option peut causer des problèmes d'affichage. Si vous rencontrez de tels
problèmes, vous devez désactiver cette option.
Une autre solution est d'utiliser l'un des scripts suivants :
urlserver.py::
réduit les URLs avec un serveur HTTP dans le script
urlbar.py::
affiche les URLs dans une barre
urlgrab.py::
enregistre les URLs et les ouvre dans un navigateur
url_shorten.rb::
tinyurl.py::
shortenurl.py::
réduit les URLs longs
Liste des scripts manipulant des URLs :
Une autre solution est d'utiliser un script :
http://www.weechat.org/scripts/stable/tag/url
[[change_locale_without_quit]]
@@ -328,7 +312,7 @@ 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]]
[[use_256_colors]]
Comment puis-je utiliser 256 couleurs sous WeeChat ?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -621,7 +605,19 @@ Pour l'aide : `/help filter` et `/help irc.look.smart_filter`
Comment puis-je filtrer certains messages affichés quand je rejoins un canal IRC ?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Quelques étiquettes que vous pouvez utiliser pour filtrer des messages :
Avec WeeChat ≥ 0.4.1, vous pouvez désactiver des messages avec l'option
'irc.look.display_join_message'.
Par exemple, pour désactiver les noms (qui est le message IRC '366') :
----------------------------------------
/set irc.look.display_join_message "329,332,333"
----------------------------------------
[NOTE]
Pour l'aide : `/help irc.look.display_join_message`
Une autre solution est de filtrer les messages par l'étiquette :
* 'irc_366' : noms sur le canal
* 'irc_332,irc_333' : titre/date du canal
+220 -32
View File
@@ -3287,15 +3287,15 @@ Paramètres :
** 'WEECHAT_HASHTABLE_BUFFER'
** 'WEECHAT_HASHTABLE_TIME'
* 'callback_hash_key' : fonction appelée pour rendre le "hash" d'une clé (la clé
sous forme de nombre entier), peut être NULL si le type de clé est "string"
(une fonction par défaut est utilisée pour les chaînes, et seulement pour les
chaînes). Paramètres et valeur de retour :
sous forme de nombre entier), peut être NULL si le type de clé n'est pas
"buffer" (une fonction de hash par défaut est utilisée), paramètres et valeur
de retour :
** 'struct t_hashtable *hashtable' : pointeur vers la hashtable
** 'const void *key' : clé
** valeur de retour : "hash" de la clé
* 'callback_keycmp' : fonction appelée pour comparer deux clés, peut être NULL
si le type de valeur est "string" (une fonction par défaut est utilisée pour
les chaînes, et seulement pour les chaînes). Paramètres et valeur de retour :
si le type de clé n'est pas "buffer" (une fonction de comparaison par défaut
est utilisée), paramètres et valeur de retour :
** 'struct t_hashtable *hashtable' : pointeur vers la hashtable
** 'const void *key1' : première clé
** 'const void *key2' : seconde clé
@@ -3868,7 +3868,7 @@ Valeur de retour :
[NOTE]
Le fichier n'est PAS créé sur le disque par cette fonction. Il sera créé par
l'appel à la fonction <<_weechat_write_config,weechat_write_config>>.
l'appel à la fonction <<_weechat_config_write,weechat_config_write>>.
Vous ne devriez appeler cette fonction qu'après avoir créé les sections (avec
<<_weechat_config_new_section,weechat_config_new_section>>) et les options (avec
<<_weechat_config_new_option,weechat_config_new_option>>).
@@ -4405,6 +4405,12 @@ option5 = weechat.config_new_option(config_file, section, "option5", "color",
"", "")
----------------------------------------
[NOTE]
En Ruby, les 3 "callbacks" + "data" (6 chaînes) doivent être données dans un
tableau de 6 chaînes de caractères (en raison d'une limitation de Ruby à 15
paramètres par fonction), voir le 'Guide pour Scripts WeeChat' pour plus d'infos
(_corrigé dans la version 0.4.1_).
weechat_config_search_option
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -5721,7 +5727,7 @@ Prototype :
[source,C]
----------------------------------------
void weechat_config_section_free (struct t_config_option *option);
void weechat_config_section_free (struct t_config_section *section);
----------------------------------------
Paramètres :
@@ -6971,7 +6977,7 @@ Paramètres :
* 'flag_write' : 1 = intercepter un évènement d'éctiture, 0 = ignorer
* 'flag_exception' : 1 = intercepter un évènement d'exception, 0 = ignorer
* 'callback' : fonction appelée lorsqu'un des évènements sélectionnés se
produit pour le fichier (ou la socket), paramètres et valeur de retour :
produit pour le fichier (ou le socket), paramètres et valeur de retour :
** 'void *data' : pointeur
** 'int fd' : descripteur de fichier
** valeur de retour :
@@ -6996,7 +7002,7 @@ my_fd_cb (void *data, int fd)
}
int sock = socket (AF_INET, SOCK_STREAM, 0);
/* définir les options de la socket */
/* définir les options du socket */
/* ... */
struct t_hook *my_fd_hook = weechat_hook_fd (sock, 1, 0, 0, &my_fd_cb, NULL);
----------------------------------------
@@ -7088,6 +7094,11 @@ pour télécharger le contenu de l'URL (_nouveau dans la version 0.3.7_).
Des options pour l'URL sont possibles avec la fonction
<<_weechat_hook_process_hashtable,weechat_hook_process_hashtable>>.
[TIP]
Si vous souhaitez récupérer des infos à propos de WeeChat (comme la version
stable actuelle, le dernier commit git, etc...), vous pouvez utiliser les URLs
sur la page http://weechat.org/info
[NOTE]
La taille du tampon pour l'envoi des données au "callback" est de 64 Ko (il y a
2 tampons : un pour stdout et un pour stderr).
@@ -7411,7 +7422,7 @@ Paramètres :
*** '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
** 'sock' : socket utilisé pour la connexion
** 'const char *error' : valeur retour de 'gnutls_strerror(gnutls_rc)'
** 'const char *ip_address' : adresse IP trouvée
** valeur de retour :
@@ -7429,8 +7440,8 @@ Exemple en C :
[source,C]
----------------------------------------
int
my_connect_cb (void *data, int status, int gnutls_rc, const char *error,
const char *ip_address)
my_connect_cb (void *data, int status, int gnutls_rc, int sock,
const char *error, const char *ip_address)
{
switch (status)
{
@@ -7473,7 +7484,7 @@ my_connect_cb (void *data, int status, int gnutls_rc, const char *error,
struct t_hook *my_connect_hook = weechat_hook_connect (NULL,
"my.server.org", 1234,
sock, 0,
1, 0,
NULL, NULL, 0, /* GnuTLS */
NULL,
&my_connect_cb, NULL);
@@ -7484,11 +7495,11 @@ Script (Python) :
[source,python]
----------------------------------------
# prototype
hook = weechat.hook_connect(proxy, address, port, sock, ipv6, local_hostname,
hook = weechat.hook_connect(proxy, address, port, ipv6, retry, local_hostname,
callback, callback_data)
# exemple
def my_connect_cb(data, status, gnutls_rc, error, ip_address):
def my_connect_cb(data, status, gnutls_rc, sock, error, ip_address):
if status == WEECHAT_HOOK_CONNECT_OK:
# ...
elif status == WEECHAT_HOOK_CONNECT_ADDRESS_NOT_FOUND:
@@ -7513,7 +7524,7 @@ def my_connect_cb(data, status, gnutls_rc, error, ip_address):
# ...
return weechat.WEECHAT_RC_OK
hook = weechat.hook_connect("", "my.server.org", 1234, sock, 0, "",
hook = weechat.hook_connect("", "my.server.org", 1234, 1, 0, "",
"my_connect_cb", "")
----------------------------------------
@@ -7885,6 +7896,11 @@ Paramètres :
pointeur : tampon |
tampon fermé
| weechat | buffer_line_added +
(_nouveau dans la version 0.3.7_) |
pointeur : ligne |
ligne ajoutée dans un tampon
| weechat | buffer_lines_hidden |
pointeur : tampon |
lignes cachées dans le tampon
@@ -7901,6 +7917,14 @@ Paramètres :
pointeur : tampon |
variable locale supprimée
| weechat | buffer_merged |
pointeur : tampon |
tampon mélangé
| weechat | buffer_unmerged |
pointeur : tampon |
le tampon n'est plus mélangé
| weechat | buffer_moved |
pointeur : tampon |
tampon déplacé
@@ -7925,11 +7949,6 @@ Paramètres :
pointeur : tampon |
type de tampon changé
| weechat | buffer_line_added +
(_nouveau dans la version 0.3.7_) |
pointeur : ligne |
ligne ajoutée dans un tampon
| weechat | day_changed +
(_nouveau dans la version 0.3.2_) |
chaîne : nouvelle date, format : "2010-01-31" |
@@ -7979,6 +7998,14 @@ Paramètres :
pointeur : tampon |
curseur déplacé dans la barre "input"
| weechat | key_bind |
chaîne : touche |
touche ajoutée
| weechat | key_unbind |
chaîne : touche |
touche supprimée
| weechat | key_pressed |
chaîne : touche appuyée |
touche appuyée
@@ -7988,6 +8015,16 @@ Paramètres :
chaîne : pointeur tampon + "," + nom du groupe |
groupe ajouté dans la liste des pseudos
| weechat | nicklist_group_changed +
(_nouveau dans la version 0.3.4_) |
chaîne : pointeur tampon + "," + nom du groupe |
groupe modifié dans la liste des pseudos
| weechat | nicklist_group_removing +
(_nouveau dans la version 0.4.1_) |
chaîne : pointeur tampon + "," + nom du groupe |
suppression du groupe de la liste des pseudos
| weechat | nicklist_group_removed +
(_nouveau dans la version 0.3.2_) |
chaîne : pointeur tampon + "," + nom du groupe |
@@ -7998,6 +8035,16 @@ Paramètres :
chaîne : pointeur tampon + "," + pseudo |
pseudo ajouté dans la liste des pseudos
| weechat | nicklist_nick_changed +
(_nouveau dans la version 0.3.4_) |
chaîne : pointeur tampon + "," + pseudo |
pseudo modifié dans la liste des pseudos
| weechat | nicklist_nick_removing +
(_nouveau dans la version 0.4.1_) |
chaîne : pointeur tampon + "," + pseudo |
suppression du pseudo de la liste des pseudos
| weechat | nicklist_nick_removed +
(_nouveau dans la version 0.3.2_) |
chaîne : pointeur tampon + "," + pseudo |
@@ -8038,6 +8085,21 @@ Paramètres :
chaîne : message avec le préfixe |
un message privé a été affiché
| weechat | window_closing +
(_nouveau dans la version 0.3.6_) |
pointeur : fenêtre |
fermeture de la fenêtre en cours
| weechat | window_closed +
(_nouveau dans la version 0.3.6_) |
pointeur : fenêtre |
fenêtre fermée
| weechat | window_opened +
(_nouveau dans la version 0.4.1_) |
pointeur : fenêtre |
fenêtre ouverte
| weechat | window_scrolled |
pointeur : fenêtre |
défilement dans la fenêtre
@@ -8367,12 +8429,55 @@ Paramètres :
* 'signal' : signal à intercepter, peut commencer ou se terminer par "*"
(priorité autorisée, voir la note sur la <<hook_priority,priorité>>) :
[width="100%",cols="^1,^3,5",options="header"]
[width="100%",cols="^1,^3,5,5",options="header"]
|========================================
| Extension | Signal | Paramètres
| Extension | Signal | Paramètres | Description
| irc | irc_redirection_xxx_yyy ^(1)^ |
| irc | irc_redirection_xxx_yyy ^(1)^ +
(_nouveau dans la version 0.3.4_) |
sortie de la redirection (voir <<hsignal_irc_redirect_command>>)
| weechat | nicklist_group_added +
(_nouveau dans la version 0.4.1_) |
'buffer' ('struct t_gui_buffer *') : tampon +
'parent_group' ('struct t_gui_nick_group *') : groupe parent +
'group' ('struct t_gui_nick_group *') : groupe |
group added in nicklist
| weechat | nicklist_nick_added +
(_nouveau dans la version 0.4.1_) |
'buffer' ('struct t_gui_buffer *') : tampon +
'parent_group' ('struct t_gui_nick_group *') : groupe parent +
'nick' ('struct t_gui_nick *') : pseudo |
nick added in nicklist
| weechat | nicklist_group_removing +
(_nouveau dans la version 0.4.1_) |
'buffer' ('struct t_gui_buffer *') : tampon +
'parent_group' ('struct t_gui_nick_group *') : groupe parent +
'group' ('struct t_gui_nick_group *') : groupe |
removing group from nicklist
| weechat | nicklist_nick_removing +
(_nouveau dans la version 0.4.1_) |
'buffer' ('struct t_gui_buffer *') : tampon +
'parent_group' ('struct t_gui_nick_group *') : groupe parent +
'nick' ('struct t_gui_nick *') : pseudo |
removing nick from nicklist
| weechat | nicklist_group_changed +
(_nouveau dans la version 0.4.1_) |
'buffer' ('struct t_gui_buffer *') : tampon +
'parent_group' ('struct t_gui_nick_group *') : groupe parent +
'group' ('struct t_gui_nick_group *') : groupe |
group changed in nicklist
| weechat | nicklist_nick_changed +
(_nouveau dans la version 0.4.1_) |
'buffer' ('struct t_gui_buffer *') : tampon +
'parent_group' ('struct t_gui_nick_group *') : parent +
'nick' ('struct t_gui_nick *') : pseudo |
nick changed in nicklist
|========================================
[NOTE]
@@ -8958,6 +9063,18 @@ Paramètres :
toute chaîne |
chaîne avec des codes couleur IRC, ou sans couleur
| irc | irc_command_auth +
(_nouveau dans la version 0.4.1_) |
nom du serveur |
commande d'authentification (par exemple: `/msg nickserv identify password`) |
commande avec le mot de passe caché (par exemple: `/msg nickserv identify ********`)
| irc | irc_message_auth +
(_nouveau dans la version 0.4.1_) |
nom du serveur |
message affiché après `msg` envoyé à nickserv |
message avec le mot de passe caché
| irc | irc_in_xxx ^(1)^ |
nom de serveur |
contenu du message reçu du serveur IRC (avant décodage du jeu de caractères) |
@@ -10076,6 +10193,9 @@ Paramètres :
sinon 0
** 'nicklist_max_length' : longueur maxi d'un pseudo
** 'nicklist_display_groups' : 1 si les groupes sont affichés, sinon 0
** 'nicklist_count' : nombre de pseudos et groupes dans la liste de pseudos
** 'nicklist_groups_count' : nombre de groupes dans la liste de pseudos
** 'nicklist_nicks_count' : nombre de pseudos dans la liste de pseudos
** 'nicklist_visible_count' : nombre de pseudos/groupes affichés
** 'input' : 1 si la zone de saisie est activée, sinon 0
** 'input_get_unknown_commands' : 1 si les commandes inconnues sont envoyées
@@ -10251,6 +10371,12 @@ Paramètres :
pas utilisé) +
priorité : ajouter ce tampon dans la hotlist avec cette priorité
| completion_freeze | "0", "1" |
"0" : pas de gel de la complétion (valeur par défaut)
(option globale, le pointeur vers le tampon n'est pas utilisé) +
"1" : ne pas arrêter la complétion lorsque la ligne de commande est mise à jour
(option globale, le pointeur vers le tampon n'est pas utilisé)
| unread | - |
définit le marqueur de données non lues après la dernière ligne du tampon
@@ -11175,9 +11301,9 @@ Prototype :
[source,C]
----------------------------------------
void gui_nicklist_get_next_item (struct t_gui_buffer *buffer,
struct t_gui_nick_group **group,
struct t_gui_nick **nick);
void weechat_nicklist_get_next_item (struct t_gui_buffer *buffer,
struct t_gui_nick_group **group,
struct t_gui_nick **nick);
----------------------------------------
Paramètres :
@@ -11195,7 +11321,7 @@ struct t_gui_nick *ptr_nick;
ptr_group = NULL;
ptr_nick = NULL;
gui_nicklist_get_next_item (buffer, &ptr_group, &ptr_nick);
weechat_nicklist_get_next_item (buffer, &ptr_group, &ptr_nick);
while (ptr_group || ptr_nick)
{
if (ptr_nick)
@@ -11208,7 +11334,7 @@ while (ptr_group || ptr_nick)
/* groupe */
/* ... */
}
gui_nicklist_get_next_item (buffer, &ptr_group, &ptr_nick);
weechat_nicklist_get_next_item (buffer, &ptr_group, &ptr_nick);
}
----------------------------------------
@@ -11693,9 +11819,9 @@ Prototype :
[source,C]
----------------------------------------
struct t_gui_bar_item *weechat_bar_item_new (const char *name,
char *(build_callback)(void *data,
struct t_gui_bar_item *item,
struct t_gui_window *window),
char *(*build_callback)(void *data,
struct t_gui_bar_item *item,
struct t_gui_window *window),
void *build_callback_data);
----------------------------------------
@@ -13917,6 +14043,68 @@ if buffer:
buffer = weechat.hdata_move(hdata, buffer, -1)
----------------------------------------
weechat_hdata_search
^^^^^^^^^^^^^^^^^^^^
_Nouveau dans la version 0.4.1._
Cherche un élément dans la liste: l'expression 'search' est évaluée pour chaque
élément dans la liste, jusqu'à trouver l'élément (ou la fin de la liste).
Prototype :
[source,C]
----------------------------------------
void *weechat_hdata_search (struct t_hdata *hdata, void *pointer, const char *search, int move);
----------------------------------------
Paramètres :
* 'hdata' : pointeur vers le hdata
* 'pointer' : pointeur vers un objet WeeChat ou d'une extension
* 'search' : expression à évaluer, le pointeur par défaut dans l'expression est
le nom du hdata (et ce pointeur change pour chaque élément dans la liste);
pour l'aide sur l'expression, voir la commande `/eval` dans le
'Guide utilisateur WeeChat'
* 'move' : nombre de saut(s) à exécuter après une recherche infructueuse (entier
négatif ou positif, différent de 0)
Valeur de retour :
* pointeur vers l'élément trouvé, ou NULL si non trouvé
Exemple en C :
[source,C]
----------------------------------------
struct t_hdata *hdata = weechat_hdata_get ("irc_server");
void *servers = weechat_hdata_get (hdata, "irc_servers");
/* cherche un serveur irc avec le nom "freenode" */
void *server = weechat_hdata_search (hdata, servers, "${irc_server.name} == freenode", 1);
if (server)
{
/* ... */
}
----------------------------------------
Script (Python) :
[source,python]
----------------------------------------
# prototype
pointer = weechat.hdata_search(hdata, pointer, search, count)
# exemple
hdata = weechat.hdata_get("irc_server")
servers = weechat.hdata_get_list(hdata, "irc_servers")
# cherche un serveur irc avec le nom "freenode"
server = weechat.hdata_search(hdata, servers, "${irc_server.name} == freenode", 1)
if server:
# ...
----------------------------------------
weechat_hdata_char
^^^^^^^^^^^^^^^^^^
+114 -39
View File
@@ -11,17 +11,35 @@ Un émulateur de terminal recommandé pour X (mais pas obligatoire) est
rxvt-unicode (il a un bon support UTF-8, et aucun problème avec les
touches par défaut).
Lancer "weechat-curses" depuis votre shell.
Lancer depuis votre shell :
----------------------------------------
$ weechat-curses
----------------------------------------
[[help_options]]
Aide en ligne / options
-----------------------
WeeChat dispose d'aide pour toutes les commandes, tapez simplement /help
Pour avoir de l'aide sur une commande, tapez `/help commande`
WeeChat dispose d'aide pour toutes les commandes, tapez simplement :
----------------------------------------
/help
----------------------------------------
Pour avoir de l'aide sur une commande, tapez :
----------------------------------------
/help commande
----------------------------------------
Pour modifier des options, tapez :
----------------------------------------
/set config.section.option valeur
----------------------------------------
Pour modifier des options, utilisez `/set config.section.option valeur`
(où `config` est le nom de la configuration (`weechat` pour le coeur, ou
un nom d'extension), `section` la section de cette configuration et
`option` le nom de l'option).
@@ -34,17 +52,30 @@ joker "*" au début ou à la fin pour afficher toutes les options contenant
ces lettres.
Par exemple :
`/set`::
affiche toutes les options (WeeChat et extensions)
`/set weechat.*`::
affiche les options WeeChat
* afficher toutes les options (WeeChat et extensions) :
`/set irc.*`::
affiche les options de l'extension IRC
----------------------------------------
/set
----------------------------------------
* afficher les options WeeChat :
----------------------------------------
/set weechat.*
----------------------------------------
* afficher les options de l'extension IRC :
----------------------------------------
/set irc.*
----------------------------------------
Vous pouvez afficher de l'aide sur une option avec `/help`, par exemple :
`/help weechat.look.highlight`.
----------------------------------------
/help weechat.look.highlight
----------------------------------------
Toutes les options sont sauvées quand WeeChat quitte (ou avec la commande
`/save` pour forcer une écriture des options).
@@ -75,10 +106,15 @@ Créer un serveur IRC
Vous pouvez ajouter un serveur IRC par la commande `/server`, par exemple :
/server add oftc irc.oftc.net/6667
----------------------------------------
/server add oftc irc.oftc.net/6667
----------------------------------------
Comme d'habitude, de l'aide est disponible si vous êtes perdus :
`/help server`
----------------------------------------
/help server
----------------------------------------
[[irc_server_options]]
@@ -96,54 +132,72 @@ 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 "pseudo,pseudo2,pseudo3,pseudo4,pseudo5"
----------------------------------------
/set irc.server.oftc.nicks "pseudo,pseudo2,pseudo3,pseudo4,pseudo5"
----------------------------------------
Pour modifier le nom d'utilisateur et nom réel :
/set irc.server.oftc.username "Mon nom d'utilisateur"
/set irc.server.oftc.realname "Mon nom réel"
----------------------------------------
/set irc.server.oftc.username "Mon nom d'utilisateur"
/set irc.server.oftc.realname "Mon nom réel"
----------------------------------------
Pour activer la connexion automatique au serveur lors du démarrage :
/set irc.server.oftc.autoconnect on
----------------------------------------
/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"
----------------------------------------
/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'authentifier auprès de nickserv (seulement si vous n'utilisez pas SASL pour
l'authentification) :
/set irc.server.oftc.command "/msg nickserv identify xxxxxxx"
----------------------------------------
/set irc.server.oftc.command "/msg nickserv identify xxxxxxx"
----------------------------------------
[NOTE]
Plusieurs commandes peuvent être séparées par ';' (point-virgule).
Pour rejoindre automatiquement des canaux lors de la connexion au serveur :
/set irc.server.oftc.autojoin "#canal1,#canal2"
----------------------------------------
/set irc.server.oftc.autojoin "#canal1,#canal2"
----------------------------------------
Pour supprimer la valeur d'une option du serveur et utiliser sa valeur par
défaut à la place, par exemple pour utiliser les pseudos par défaut
(irc.server_default.nicks) :
/set irc.server.oftc.nicks null
----------------------------------------
/set irc.server.oftc.nicks null
----------------------------------------
Autres options : vous pouvez modifier les autres options avec la commande
suivante ("xxx" est le nom d'une option) :
/set irc.server.oftc.xxx valeur
----------------------------------------
/set irc.server.oftc.xxx valeur
----------------------------------------
[[connect_to_irc_server]]
Se connecter au serveur IRC et rejoindre les canaux
---------------------------------------------------
/connect oftc
----------------------------------------
/connect oftc
----------------------------------------
[NOTE]
Cette commande peut aussi être utilisée pour créer et se connecter au serveur
@@ -157,22 +211,33 @@ faut utiliser la touche ctrl-X.
Il est possible de désactiver le mélange des tampons serveurs pour avoir un
tampon distinct par serveur :
/set irc.look.server_buffer independent
----------------------------------------
/set irc.look.server_buffer independent
----------------------------------------
[[join_part_irc_channels]]
Rejoindre/quitter les canaux IRC
------------------------------
`/join #channel`:
rejoindre un canal
Rejoindre un canal :
`/part [message de fin]`::
quitter un canal (en laissant le tampon ouvert)
----------------------------------------
/join #channel
----------------------------------------
`/close`::
quitter un canal et fermer le tampon (`/close` est un alias sur
`/buffer close`)
Quitter un canal (en laissant le tampon ouvert) :
----------------------------------------
/part [message de fin]
----------------------------------------
quitter un canal et fermer le tampon (`/close` est un alias sur
`/buffer close`) :
----------------------------------------
/close
----------------------------------------
[[buffer_window]]
@@ -188,8 +253,10 @@ alors plusieurs fenêtres avec plusieurs tampons en même temps.
Commandes pour gérer les tampons et les fenêtres :
/buffer
/window
----------------------------------------
/buffer
/window
----------------------------------------
(je ne répéterai pas que vous pouvez avoir de l'aide sur ces commandes
avec /help)
@@ -197,7 +264,9 @@ avec /help)
Par exemple, pour découper verticalement l'écran en une petite fenêtre
(1/3 de la largeur) et une large (2/3), utilisez la commande :
/window splitv 33
----------------------------------------
/window splitv 33
----------------------------------------
[[key_bindings]]
@@ -222,15 +291,21 @@ Une touche utile est meta-k (alt-k) pour trouver le code des touches.
Par exemple, pour associer meta-y (alt-y) à la commande `/buffer close` :
/key bind (pressez meta-k) (pressez meta-y) /buffer close
----------------------------------------
/key bind (pressez meta-k) (pressez meta-y) /buffer close
----------------------------------------
Vous aurez une ligne de commande qui ressemble à ceci :
/key bind meta-y /buffer close
----------------------------------------
/key bind meta-y /buffer close
----------------------------------------
Pour enlever la touche :
/key unbind meta-y
----------------------------------------
/key unbind meta-y
----------------------------------------
[[plugins_scripts]]
+121 -24
View File
@@ -57,6 +57,16 @@ Ruby
* Vous devez définir 'weechat_init' et appeler 'register' dedans
* Les fonctions sont appelées par `Weechat.xxx(arg1, arg2, ...)`
* En raison d'une limitation de Ruby (15 paramètres maximum par fonction), la
fonction `Weechat.config_new_option` reçoit les "callbacks" dans un tableau de
6 chaînes de caractères (3 callbacks + 3 chaînes de données), donc un appel à
cette fonction ressemble à ceci :
[source,ruby]
----------------------------------------
Weechat.config_new_option(config, section, "name", "string", "description of option", "", 0, 0,
"value", "value", 0, ["check_cb", "", "change_cb", "", "delete_cb", ""])
----------------------------------------
Lua
^^^
@@ -165,7 +175,19 @@ weechat::print "" "Bonjour, du script tcl !"
Chargement du script
~~~~~~~~~~~~~~~~~~~~
Vous devez utiliser la commande, dépendant du langage :
Il est recommandé d'utiliser l'extension "script" pour charger les scripts,
par exemple :
----------------------------------------
/script load script.py
/script load script.pl
/script load script.rb
/script load script.lua
/script load script.tcl
/script load script.scm
----------------------------------------
Chaque langage a également sa propre commande :
----------------------------------------
/python load python/script.py
@@ -186,6 +208,10 @@ $ cd ~/.weechat/python/autoload
$ ln -s ../script.py
----------------------------------------
[NOTE]
Lors de l'installation d'un script avec la commande `/script install` le lien
dans le répertoire 'autoload' est automatiquement créé.
[[differences_with_c_api]]
Différences avec l'API C
------------------------
@@ -203,18 +229,22 @@ Quand votre script 'test.py' appelle une fonction de l'API WeeChat, le chemin
est le suivant :
........................................
(API script) (API C)
\/ \/
test.py -------> extension python (python.so) -------> WeeChat core
┌──────────────────────┐ ╔══════════════════╗
│ extension python │ ║ WeeChat "core" ║
├────────────┬─────────┤ ╟─────────┐ ║
test.py ─────► │ API script │ API C │ ─────► ║ API C │ ║
└────────────┴─────────┘ ╚═════════╧════════╝
........................................
Quand WeeChat appelle un "callback" dans votre script 'test.py', le chemin
est inversé :
........................................
(API C) (API script)
\/ \/
WeeChat core -------> extension plugin (python.so) -------> test.py
╔══════════════════╗ ┌──────────────────────┐
║ WeeChat "core" ║ │ extension python │
║ ┌─────────╢ ├─────────┬────────────┤
║ │ API C ║ ─────► │ API C │ API script │ ─────► test.py
╚════════╧═════════╝ └─────────┴────────────┘
........................................
[[pointers]]
@@ -259,16 +289,78 @@ Les "callbacks" C utilisent un paramètre "data", qui est un pointeur. Dans
l'API script, ce "data" est une chaîne de caractères avec n'importe quelle
valeur (ce n'est pas un pointeur).
Par exemple :
Exemple de callback, pour chaque langage :
* python:
[source,python]
----------------------------------------
weechat.hook_timer(1000, 0, 1, "mon_timer_cb", "mes données")
def mon_timer_cb(data, remaining_calls):
# cela affichera : "mes données"
weechat.prnt("", data)
def timer_cb(data, remaining_calls):
weechat.prnt("", "timer! data=%s" % data)
return weechat.WEECHAT_RC_OK
weechat.hook_timer(1000, 0, 1, "timer_cb", "test")
----------------------------------------
* perl:
[source,perl]
----------------------------------------
sub timer_cb {
my ($data, $remaining_calls) = @_;
weechat::print("", "timer! data=$data");
return weechat::WEECHAT_RC_OK;
}
weechat::hook_timer(1000, 0, 1, "timer_cb", "test");
----------------------------------------
* ruby:
[source,ruby]
----------------------------------------
def timer_cb(data, remaining_calls)
Weechat.print("", "timer! data=#{data}");
return Weechat::WEECHAT_RC_OK
end
Weechat.hook_timer(1000, 0, 1, "timer_cb", "test");
----------------------------------------
* lua:
[source,lua]
----------------------------------------
function timer_cb(data, remaining_calls)
weechat.print("", "timer! data="..data)
return weechat.WEECHAT_RC_OK
end
weechat.hook_timer(1000, 0, 1, "timer_cb", "test")
----------------------------------------
* tcl:
[source,tcl]
----------------------------------------
proc timer_cb { data remaining_calls } {
weechat::print {} "timer! data=$data"
return $::weechat::WEECHAT_RC_OK
}
weechat::hook_timer 1000 0 1 timer_cb test
----------------------------------------
* guile (scheme):
[source,lisp]
----------------------------------------
(define (timer_cb data remaining_calls)
(weechat:print "" (string-append "timer! data=" data))
weechat:WEECHAT_RC_OK
)
(weechat:hook_timer 1000 0 1 "timer_cb" "test")
----------------------------------------
[[script_api]]
@@ -295,7 +387,7 @@ Liste des fonctions de l'API script :
charset_set, iconv_to_internal, iconv_from_internal, gettext, ngettext, +
string_match, string_has_highlight, string_has_highlight_regex,
string_mask_to_regex, string_remove_color, string_is_command_char,
string_input_for_buffer
string_input_for_buffer, string_eval_expression
| répertoires |
mkdir_home, mkdir, mkdir_parents
| listes triées |
@@ -356,9 +448,10 @@ Liste des fonctions de l'API script :
infolist_time, infolist_free
| hdata |
hdata_get, hdata_get_var_offset, hdata_get_var_type_string,
hdata_get_var_array_size, hdata_get_var_array_size_string,
hdata_get_var_hdata, hdata_get_list, hdata_check_pointer, hdata_move,
hdata_char, hdata_integer, hdata_long, hdata_string, hdata_pointer,
hdata_time, hdata_hashtable, hdata_get_string
hdata_search, hdata_char, hdata_integer, hdata_long, hdata_string,
hdata_pointer, hdata_time, hdata_hashtable, hdata_update, hdata_get_string
| mise à jour |
upgrade_new, upgrade_write_object, upgrade_read, upgrade_close
|========================================
@@ -650,21 +743,25 @@ dans le "callback" (sortie standard du processus) :
[source,python]
----------------------------------------
# Afficher la version des noyaux Linux.
kernel_txt = ""
# Afficher la version stable courante de WeeChat.
weechat_version = ""
def kernel_process_cb(data, command, rc, out, err):
global kernel_txt
def weechat_process_cb(data, command, rc, out, err):
global weechat_version
if out != "":
kernel_txt += out
weechat_version += out
if int(rc) >= 0:
weechat.prnt("", kernel_txt)
weechat.prnt("", "La version stable courante de WeeChat est : %s" % weechat_version)
return weechat.WEECHAT_RC_OK
weechat.hook_process("url:http://www.kernel.org/kdist/finger_banner",
30 * 1000, "kernel_process_cb", "")
weechat.hook_process("url:http://weechat.org/info/stable/",
30 * 1000, "weechat_process_cb", "")
----------------------------------------
[TIP]
Toutes les infos disponibles à propos de WeeChat sont sur la page
http://weechat.org/info
Exemple de transfert d'URL avec une option : télécharger le dernier paquet de
développement WeeChat dans le fichier '/tmp/weechat-devel.tar.gz' :
+98 -55
View File
@@ -27,11 +27,11 @@ Ses principales fonctionnalités sont les suivantes :
* connexion multi-serveurs (avec SSL, IPv6, proxy)
* petit, rapide et léger
* paramétrable et extensible avec des extensions et des scripts
* conforme aux RFCs IRC http://www.ietf.org/rfc/rfc1459.txt[1459],
http://www.ietf.org/rfc/rfc2810.txt[2810],
http://www.ietf.org/rfc/rfc2811.txt[2811],
http://www.ietf.org/rfc/rfc2812.txt[2812] et
http://www.ietf.org/rfc/rfc2813.txt[2813]
* conforme aux RFCs IRC http://tools.ietf.org/html/rfc1459[1459],
http://tools.ietf.org/html/rfc2810[2810],
http://tools.ietf.org/html/rfc2811[2811],
http://tools.ietf.org/html/rfc2812[2812] et
http://tools.ietf.org/html/rfc2813[2813]
* multi plates-formes (GNU/Linux, *BSD, MacOS X, Windows et d'autres systèmes)
* 100% GPL, logiciel libre
@@ -93,7 +93,7 @@ compiler WeeChat.
| libncursesw5-dev ^(2)^ | | *oui* | interface ncurses
| libcurl4-gnutls-dev | | *oui* | transfert d'URL
| zlib1g-dev | | *oui* | compression des paquets dans l'extension relay (protocole weechat), extension script
| libgcrypt11-dev | | *oui* | authentification SASL avec le serveur IRC, en utilisant le mécanisme DH-BLOWFISH, extension script
| libgcrypt11-dev | | *oui* | authentification IRC SASL (DH-BLOWFISH/DH-AES), extension script
| libgnutls-dev | ≥ 2.2.0 | | connexion SSL au serveur IRC, support SSL dans l'extension relay
| gettext | | | internationalisation (traduction des messages; la langue de base est l'anglais)
| ca-certificates | | | certificats pour les connexions SSL
@@ -103,7 +103,7 @@ compiler WeeChat.
| ruby1.9.1-dev | ≥ 1.8 | | extension ruby
| liblua5.1-0-dev | | | extension lua
| tcl-dev | ≥ 8.5 | | extension tcl
| guile-1.8-dev | | | extension guile (scheme)
| guile-2.0-dev | ≥ 2.0 | | extension guile (scheme)
| asciidoc | ≥ 8.5.0 | | construction de la documentation (fichiers HTML)
| source-highlight | | | coloration des sources dans la documentation HTML
|========================================
@@ -298,7 +298,7 @@ Merci pour votre aide !
Debug de WeeChat qui tourne
^^^^^^^^^^^^^^^^^^^^^^^^^^^
Pour débugger WeeChat qui tourne (par exemple si WeeChat semble bloqué), vous
Pour déboguer WeeChat qui tourne (par exemple si WeeChat semble bloqué), vous
pouvez utiliser gdb avec l'identifiant du processus (remplacez '12345' par le
PID du processus weechat-curses) :
@@ -767,7 +767,7 @@ 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
* `${nicklist}` : vrai si le tampon affiché dans la fenêtre a une liste de
pseudos
Les pointeurs suivants sont disponibles :
@@ -1436,7 +1436,7 @@ Extensions
----------
Pour en apprendre plus sur le développement d'extension ou de script (via
l'API), merci de consulter la 'Référence API Extension WeeChat' ou 'Le Guide
l'API), merci de consulter la 'Référence API Extension WeeChat' ou le 'Guide
pour Scripts WeeChat'.
[[plugins_in_weechat]]
@@ -1863,13 +1863,17 @@ Pour plus d'informations, consulter http://www.oftc.net/oftc/NickServ/CertFP
Authentification avec SASL
^^^^^^^^^^^^^^^^^^^^^^^^^^
WeeChat supporte l'authentification avec SASL, en utilisant trois mécanismes :
"plain" (mot de passe en clair), "dh-blowfish" (mot de passe chiffré) ou
"external" (certificat SSL côté client).
WeeChat supporte l'authentification avec SASL, en utilisant différents
mécanismes :
* 'plain' : mot de passe en clair
* 'dh-blowfish' : mot de passe chiffré avec blowfish
* 'dh-aes' : mot de passe chiffré avec AES
* 'external' : certificat SSL côté client
Les options dans le serveur sont :
* 'sasl_mechanism' : mécanisme à utiliser ("plain", "dh-blowfish" ou "external")
* 'sasl_mechanism' : mécanisme à utiliser (voir ci-dessus)
* 'sasl_timeout' : délai d'attente maximum (en secondes) pour l'authentification
* 'sasl_username' : nom d'utilisateur (pseudo)
* 'sasl_password' : mot de passe
@@ -2341,7 +2345,7 @@ utilisant divers protocoles :
* 'irc' : proxy IRC : utilisé pour partager la connexions aux serveurs IRC avec
un ou plusieurs autres clients IRC
* 'weechat' : protocole utilisé par les interfaces distantes (par exemple
QWeeChat).
QWeeChat ou weechat-android).
[[relay_options]]
Options (relay.conf)
@@ -2355,50 +2359,22 @@ Commandes
include::autogen/user/relay_commands.txt[]
[[relay_irc_proxy]]
IRC proxy
^^^^^^^^^
[[relay_password]]
Mot de passe
^^^^^^^^^^^^
L'extension Relay peut agir comme un proxy IRC : vous pouvez définir un port
par serveur IRC et utiliser un mot de passe pour les clients.
Par exemple :
Il est fortement recommandé de définir un mot de passe pour le relai, avec la
commande :
----------------------------------------
/set relay.network.password "mypass"
/relay add irc.freenode 8000
/set relay.network.password "motdepasse"
----------------------------------------
Maintenant vous pouvez vous connecter sur le port 8000 avec n'importe quel
client IRC (WeeChat, xchat, irssi, etc...), en utilisant le mot de passe
"mypass".
Vous pouvez limiter le nombre de clients autorisés :
----------------------------------------
/set relay.network.max_clients 1
----------------------------------------
[[relay_weechat_protocol]]
WeeChat protocol
^^^^^^^^^^^^^^^^
L'extension Relay peut envoyer les données à une interface distante en
utilisant le protocole WeeChat.
Par exemple :
----------------------------------------
/set relay.network.password "mypass"
/relay add weechat 9000
----------------------------------------
Maintenant vous pouvez vous connecter sur le port 9000 avec une interface
distante (comme QWeeChat), en utilisant le mot de passe "mypass".
Ce mot de passe sera utilisé pour les protocoles 'irc' et 'weechat'.
[[relay_ssl]]
Relai avec SSL
^^^^^^^^^^^^^^
SSL
^^^
Vous pouvez utiliser SSL en créant un certificat et clé privée et en utilisant
le préfixe "ssl." dans le nom du protocole.
@@ -2421,13 +2397,80 @@ commande :
/relay sslcertkey
----------------------------------------
Et ajoutez le relai avec SSL, par exemple :
[[relay_irc_proxy]]
IRC proxy
^^^^^^^^^
L'extension Relay peut agir comme un proxy IRC : elle simulera un serveur IRC,
et vous pourrez vous connecter sur WeeChat avec n'importe quel autre client IRC
(y compris WeeChat lui-même).
Vous pouvez définir un port par serveur IRC, ou bien un port générique pour tous
les serveurs.
Lors de l'utilisation d'un port pour tous les serveurs, le client doit envoyer
le nom interne du serveur dans la commande IRC "PASS", avec le format :
----------------------------------------
/relay add ssl.irc.freenode 8001
/relay add ssl.weechat 9001
PASS serveur:motdepasse
----------------------------------------
Exemple : proxy IRC avec SSL pour tout serveur (le client choisira) :
----------------------------------------
/relay add ssl.irc 8000
----------------------------------------
Exemple : proxy IRC sans SSL seulement pour le serveur "freenode" :
----------------------------------------
/relay add irc.freenode 8000
----------------------------------------
Maintenant vous pouvez vous connecter sur le port 8000 avec n'importe quel
client IRC en utilisant le mot de passe "motdepasse" (ou "freenode:motdepasse"
si aucun serveur n'a été spécifié dans le relai).
[[relay_weechat_protocol]]
Protocole WeeChat
^^^^^^^^^^^^^^^^^
L'extension Relay peut envoyer les données à une interface distante en
utilisant le protocole WeeChat.
Par exemple :
----------------------------------------
/relay add weechat 9000
----------------------------------------
Maintenant vous pouvez vous connecter sur le port 9000 avec une interface
distante en utilisant le mot de passe "motdepasse".
[[relay_websocket]]
WebSocket
^^^^^^^^^
Le protocole WebSocket (http://tools.ietf.org/html/rfc6455[RFC 6455]) est
supporté dans l'extension Relay pour tous les protocoles.
La poignée de main ("handshake") WebSocket est automatiquement détectée et le
socket devient prêt pour WebSocket si les en-tête requis sont trouvés dans la
poignée de main et si l'origine est autorisée (voir l'option
<<option_relay.network.websocket_allowed_origins,relay.network.websocket_allowed_origins>>).
Un WebSocket peut être ouvert dans une page HTML5 avec une seule ligne de
JavaScript :
[source,js]
----------------------------------------
websocket = new WebSocket("ws://server.com:9000/weechat");
----------------------------------------
Le port (9000 dans l'exemple) est le port défini dans l'extension Relay.
L'URI doit toujours se terminer par "/weechat" (pour les protocoles 'irc' et
'weechat').
[[rmodifier_plugin]]
Extension Rmodifier
~~~~~~~~~~~~~~~~~~~
+9 -5
View File
@@ -6,7 +6,9 @@
| alias | alias_value | valore dell'alias
| aspell | aspell_langs | elenco di lingue supportate per aspell
| aspell | aspell_dicts | list of aspell installed dictionaries
| aspell | aspell_langs | list of all languages supported by aspell
| guile | guile_script | elenco degli script
@@ -56,13 +58,13 @@
| ruby | ruby_script | elenco degli script
| script | script_files | files in script directories
| script | script_files | file nella directory degli script
| script | script_scripts | list of scripts in repository
| script | script_scripts | elenco degli script nel repository
| script | script_scripts_installed | list of scripts installed (from repository)
| script | script_scripts_installed | elenco degli script installati (dal repository)
| script | script_tags | tags of scripts in repository
| script | script_tags | tag degli script nel repository
| tcl | tcl_script | elenco degli script
@@ -104,6 +106,8 @@
| weechat | keys_contexts | contesti del tasto
| weechat | layouts_names | names of layouts
| weechat | nicks | nick nella lista nick del buffer corrente
| weechat | palette_colors | Tavolozza dei colori
+8 -3
View File
@@ -1,6 +1,6 @@
[width="100%",cols="^1,^2,5,5,5,5",options="header"]
|========================================
| Plugin | Nome | Descrizione | Variabili | Update allowed | Liste
| Plugin | Nome | Descrizione | Variabili | Aggiornamento consentito | Liste
| guile | guile_script | elenco degli script |
'filename' (string) +
@@ -27,7 +27,7 @@
'modes' (string) +
'limit' (integer) +
'key' (string) +
'names_received' (integer) +
'join_msg_received' (hashtable) +
'checking_away' (integer) +
'away_message' (string) +
'has_quit_server' (integer) +
@@ -42,6 +42,7 @@
'nicks_speaking' (pointer) +
'nicks_speaking_time' (pointer, hdata: "irc_channel_speaking") +
'last_nick_speaking_time' (pointer, hdata: "irc_channel_speaking") +
'join_smart_filtered' (hashtable) +
'buffer' (pointer, hdata: "buffer") +
'buffer_as_string' (string) +
'prev_channel' (pointer, hdata: "irc_channel") +
@@ -185,6 +186,7 @@
'cmd_list_regexp' (pointer) +
'last_user_message' (time) +
'last_away_check' (time) +
'last_data_purge' (time) +
'outqueue' (pointer) +
'last_outqueue' (pointer) +
'redirects' (pointer, hdata: "irc_redirect") +
@@ -276,7 +278,7 @@
'last_script' +
'scripts'
| script | script_script | scripts from repository |
| script | script_script | script dal repository |
'name' (string) +
'name_with_extension' (string) +
'language' (integer) +
@@ -403,6 +405,9 @@
'nicklist_root' (pointer, hdata: "nick_group") +
'nicklist_max_length' (integer) +
'nicklist_display_groups' (integer) +
'nicklist_count' (integer) +
'nicklist_groups_count' (integer) +
'nicklist_nicks_count' (integer) +
'nicklist_visible_count' (integer) +
'nickcmp_callback' (pointer) +
'nickcmp_callback_data' (pointer) +
+1 -1
View File
@@ -30,7 +30,7 @@
| ruby | ruby_script | elenco degli script | puntatore allo script (opzionale) | nome script (può iniziare o terminare con "*" come carattere jolly) (opzionale)
| script | script_script | elenco degli script | puntatore allo script (opzionale) | script name with extension (can start or end with "*" as wildcard) (optional)
| script | script_script | elenco degli script | puntatore allo script (opzionale) | nome script con l'estensione (può iniziare o terminare con "*" come carattere jolly) (opzionale)
| tcl | tcl_script | elenco degli script | puntatore allo script (opzionale) | nome script (può iniziare o terminare con "*" come carattere jolly) (opzionale)
+3 -1
View File
@@ -2,6 +2,8 @@
|========================================
| Plugin | Nome | Descrizione | Argomenti
| aspell | aspell_dict | comma-separated list of dictionaries used in buffer | buffer pointer ("0x12345678") or buffer full name ("irc.freenode.#weechat")
| fifo | fifo_filename | nome della pipe FIFO | -
| irc | irc_buffer | ottiene puntatore al buffer per un server/canale/nick IRC | server,canale,nick (canale e nick sono opzionali)
@@ -38,7 +40,7 @@
| weechat | inactivity | inattività della tastiera (secondi) | -
| weechat | locale | locale used for translating messages | -
| weechat | locale | locale usato per la traduzione dei messaggi | -
| weechat | version | versione di WeeChat | -
+20 -21
View File
@@ -3,32 +3,31 @@
........................................
/alias [-completion <completamento>] <alias> [<comando> [;<comando>...]]
completamento: completamento per l'alias (opzionale, per default il completamento viene eseguito con il comando di destinazione)
nota: è possibile usare %%comando per usare il completamento di un comando esistente
alias: nome dell'alias (può iniziare o terminare con "*" per elencare gli alias)
comando: nome del comando con gli argomenti (più comandi vanno separati da punto e virgola)
completion: completion for alias (optional, by default completion is done with target command)
note: you can use %%command to use completion of an existing command
alias: name of alias (can start or end with "*" for alias listing)
command: command name with arguments (many commands can be separated by semicolons)
Senza argomento, questo comando elenca tutti gli alias definiti.
Without argument, this command lists all defined alias.
Nota: nel comando, vengono sostituite le variabili speciali:
$n: argomento 'n' (tra 1 e 9)
$-m: argomenti da 1 a 'm'
$n-: argomenti da 'n' all'ultimo
$n-m: argomenti da 'n' a 'm'
$*: tutti gli argomenti
$~: l'ultimo argomento
$nick: nick corrente
$channel: canale corrente
$server: server corrente
Note: in command, special variables are replaced:
$n: argument 'n' (between 1 and 9)
$-m: arguments from 1 to 'm'
$n-: arguments from 'n' to last
$n-m: arguments from 'n' to 'm'
$*: all arguments
$~: last argument
$var: where "var" is a local variable of buffer (see /buffer localvar)
examples: $nick, $channel, $server, $plugin, $name
Per rimuovere un alias, usare il comando /unalias.
To remove an alias, use command /unalias.
Esempi:
alias /split per dividere la finestra orizzontalmente:
Examples:
alias /split to split window horizontally:
/alias split /window splith
alias /ciao per dire "ciao" su tutti i canali tranne #weechat:
/alias ciao /allchan -exclude=#weechat msg * ciao
alias /forcejoin per inviare il comando IRC "forcejoin" con il completamento di /sajoin:
alias /hello to say "hello" on all channels but not on #weechat:
/alias hello /allchan -exclude=#weechat msg * hello
alias /forcejoin to send IRC command "forcejoin" with completion of /sajoin:
/alias -completion %%sajoin forcejoin /quote forcejoin
........................................
+13 -13
View File
@@ -3,24 +3,24 @@
........................................
/aspell enable|disable|toggle
listdict
setdict <lingua>
setdict <dict>[,<dict>...]
deldict
addword [<lingua>] <word>
addword [<dict>] <word>
enable: abilita aspell
disable: disabilita aspell
toggle: abilita/disabilita aspell
listdict: mostra i dizionari installati
setdict: imposta dizionario per il buffer corrente
deldict: elimina dizionario usato per il buffer corrente
addword: aggiunge una parola nel dizionario personale aspell
enable: enable aspell
disable: disable aspell
toggle: toggle aspell
listdict: show installed dictionaries
setdict: set dictionary for current buffer (multiple dictionaries can be separated by a comma)
deldict: delete dictionary used on current buffer
addword: add a word in personal aspell dictionary
La riga di input che comincia con '/' non viene controllata, tranne che per alcuni comandi (consultare /set aspell.check.commands).
Input line beginning with a '/' is not checked, except for some commands (see /set aspell.check.commands).
Per abilitare aspell su tutti i buffer, usare l'opzione "default_dict", poi abilita aspell, ad esempio:
/set aspell.check.default_dict "it"
To enable aspell on all buffers, use option "default_dict", then enable aspell, for example:
/set aspell.check.default_dict "en"
/aspell enable
Il tasto predefinito per (dis)abilitare aspell è alt-s.
Default key to toggle aspell is alt-s.
........................................
+13 -13
View File
@@ -1,21 +1,21 @@
[[command_guile_guile]]
[command]*`guile`* elenca/carica/scarica script::
........................................
/guile list|listfull [<name>]
load [-q] <filename>
/guile list|listfull [<nome>]
load [-q] <nomefile>
autoload
reload|unload [-q] [<name>]
reload|unload [-q][<nome>]
list: list loaded scripts
listfull: list loaded scripts (verbose)
load: load a script
autoload: load all scripts in "autoload" directory
reload: reload a script (if no name given, unload all scripts, then load all scripts in "autoload" directory)
unload: unload a script (if no name given, unload all scripts)
filename: script (file) to load
name: a script name (name used in call to "register" function)
-q: quiet mode: do not display messages
list: elenca i plugin caricati
listfull: elenca i plugin caricati (dettagliato)
load: carica un plugin
autoload: carica automaticamente i plugin nella directory utente o di sistema
reload: ricarica un plugin (se non specificato, scarica i plugin e li ricarica automaticamente)
unload: scarica uno o tutti i plugin
nome_file: (file) script da caricare
nome: il nome di uno script (usato nella chiamata alla funzione "register")
-q: modalità silenziosa: non mostra messaggi
Without argument, this command lists all loaded scripts.
Senza argomento, questo comando elenca tutti i plugin caricati.
........................................
+8 -8
View File
@@ -55,7 +55,7 @@ Senza argomento, il comando mostra la lista dei ban per il canale corrente.
[[command_irc_connect]]
[command]*`connect`* connette ad uno o più server IRC::
........................................
/connect <server> [<server>...] [-<option>[=<value>]] [-no<option>] [-nojoin] [-switch]
/connect <server> [<server>...] [-<opzione>[=<valore>]] [-no<option>] [-nojoin] [-switch]
-all|-auto|-open [-nojoin] [-switch]
server: server name, which can be:
@@ -213,16 +213,16 @@ nick: nick
[[command_irc_join]]
[command]*`join`* entra in un canale::
........................................
/join [-noswitch] [-server <server>] [<channel1>[,<channel2>...]] [<key1>[,<key2>...]]
/join [-noswitch] [-server <server>] [<canale1>[,<canale2>...]] [<chiave1>[,<chiave2>...]]
-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)
-noswitch: non passare al nuovo buffer
server: invia a questo server (nome interno)
canale: nome del canale in cui entrare
chiave: chiave per entrare nel canale (i canali con una chiave devono essere primi nella lista)
Examples:
Esempi:
/join #weechat
/join #protectedchan,#weechat key
/join #canaleprotetto,#weechat chiave
/join -server freenode #weechat
/join -noswitch #weechat
........................................
+28 -33
View File
@@ -38,21 +38,11 @@
** tipo: stringa
** valori: qualsiasi stringa (valore predefinito: `"1,-1:darkgray"`)
* [[option_irc.color.nick_prefix]] *irc.color.nick_prefix*
** descrizione: `colore per il prefisso del nick (il prefisso è la stringa personalizzata visualizzata prima del nick)`
** tipo: colore
** valori: un nome colore di WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), un numero colore del terminale o un alias; attributi consentiti prima del colore (solo per il colore del testo, non lo sfondo): "*" per il grassetto, "!" per l'inverso, "_" per la sottolineatura (valore predefinito: `green`)
* [[option_irc.color.nick_prefixes]] *irc.color.nick_prefixes*
** descrizione: `colore per i prefissi dei nick usando il carattere di modalità (o=operatore, h=halfop, v=voice, ..), il formato è: "o:colore1;h:colore2;v:colore3" (se una modalità non viene trovata, WeeChat proverà con le modalità successive ricevute dal server ("PREFIX"); può essere usata una modalità speciale "*" come colore prefefinito se non viene trovata nessuna modalità nella lista)`
** tipo: stringa
** valori: qualsiasi stringa (valore predefinito: `"q:lightred;a:lightcyan;o:lightgreen;h:lightmagenta;v:yellow;*:lightblue"`)
* [[option_irc.color.nick_suffix]] *irc.color.nick_suffix*
** descrizione: `colore per il suffisso del nick (il suffisso è la stringa personalizzata visualizzata dopo il nick)`
** tipo: colore
** valori: un nome colore di WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), un numero colore del terminale o un alias; attributi consentiti prima del colore (solo per il colore del testo, non lo sfondo): "*" per il grassetto, "!" per l'inverso, "_" per la sottolineatura (valore predefinito: `green`)
* [[option_irc.color.notice]] *irc.color.notice*
** descrizione: `colore per il testo "Notifica" nelle notifiche`
** tipo: colore
@@ -143,6 +133,11 @@
** tipo: bool
** valori: on, off (valore predefinito: `on`)
* [[option_irc.look.display_join_message]] *irc.look.display_join_message*
** descrizione: `comma-separated list of messages to display after joining a channel: 329 = channel creation date, 332 = topic, 333 = nick/date for topic, 366 = names on channel`
** tipo: stringa
** valori: qualsiasi stringa (valore predefinito: `"329,332,333,366"`)
* [[option_irc.look.display_old_topic]] *irc.look.display_old_topic*
** descrizione: `visualizza l'argomento del canale precedente quando viene cambiato`
** tipo: bool
@@ -158,11 +153,6 @@
** tipo: bool
** valori: on, off (valore predefinito: `on`)
* [[option_irc.look.hide_nickserv_pwd]] *irc.look.hide_nickserv_pwd*
** descrizione: `nascondi password visualizzata da nickserv`
** tipo: bool
** valori: on, off (valore predefinito: `on`)
* [[option_irc.look.highlight_channel]] *irc.look.highlight_channel*
** descrizione: `elenco separato da virgole di parole da notificare nei buffer dei canali (non sensibili alle maiuscole, usare "(?-i)" all'inizio delle parole per renderle sensibili alle maiuscole; le variabili speciali $nick, $channel e $server sono sostituite dal loro valore), queste parole vengono aggiunte alla variabile locale del buffer "highlight_words" solo quando viene creato il buffer (non interessa gli attuali buffer), una stringa vuota disabilita la notifica predefinita sul nick, esempi: "$nick", "(?-i)$nick"`
** tipo: stringa
@@ -224,7 +214,7 @@
** valori: none, next, near_server (valore predefinito: `none`)
* [[option_irc.look.nick_color_force]] *irc.look.nick_color_force*
** descrizione: `forza colore per alcuni nick: l'hash calcolato con il nick per trovare il colore non verrà usato per questi nick (il formato è: "nick1:color1;nick2:color2"); la ricerca dei nick è prima sensibile alle maiuscole, poi con le minuscole, per cui è possibile usare solo le minuscole per i nick in questa opzione`
** descrizione: `force color for some nicks: hash computed with nickname to find color will not be used for these nicks (format is: "nick1:color1;nick2:color2"); look up for nicks is with exact case then lower case, so it's possible to use only lower case for nicks in this option`
** tipo: stringa
** valori: qualsiasi stringa (valore predefinito: `""`)
@@ -248,15 +238,10 @@
** tipo: bool
** valori: on, off (valore predefinito: `off`)
* [[option_irc.look.nick_prefix]] *irc.look.nick_prefix*
** descrizione: `testo da visualizzare prima del nick nella finestra di chat`
* [[option_irc.look.nicks_hide_password]] *irc.look.nicks_hide_password*
** descrizione: `comma separated list of nicks for which passwords will be hidden when a message is sent, for example to hide password in message displayed by "/msg nickserv identify password", example: "nickserv,nickbot"`
** tipo: stringa
** valori: qualsiasi stringa (valore predefinito: `""`)
* [[option_irc.look.nick_suffix]] *irc.look.nick_suffix*
** descrizione: `testo da visualizzare dopo il nick nella finestra di chat`
** tipo: stringa
** valori: qualsiasi stringa (valore predefinito: `""`)
** valori: qualsiasi stringa (valore predefinito: `"nickserv"`)
* [[option_irc.look.notice_as_pv]] *irc.look.notice_as_pv*
** descrizione: `visualizza notifiche come messaggi privati (se automatico, usa il buffer privato se viene trovato)`
@@ -278,6 +263,11 @@
** tipo: bool
** valori: on, off (valore predefinito: `off`)
* [[option_irc.look.pv_buffer]] *irc.look.pv_buffer*
** descrizione: `merge private buffers`
** tipo: intero
** valori: independent, merge_by_server, merge_all (valore predefinito: `independent`)
* [[option_irc.look.raw_messages]] *irc.look.raw_messages*
** descrizione: `numero di messaggi raw da salvare in memoria quando il buffer dei dati raw viene chiuso (i messaggi verranno visualizzati all'apertura del buffer dei dati raw)`
** tipo: intero
@@ -303,8 +293,13 @@
** tipo: bool
** valori: on, off (valore predefinito: `on`)
* [[option_irc.look.smart_filter_join_unmask]] *irc.look.smart_filter_join_unmask*
** descrizione: `delay for unmasking a join message that was filtered with tag "irc_smart_filter" (in minutes): if a nick has joined max N minutes ago and then says something on channel (message, notice or update on topic), the join is unmasked, as well as nick changes after this join (0 = disable: never unmask a join)`
** tipo: intero
** valori: 0 .. 10080 (valore predefinito: `30`)
* [[option_irc.look.smart_filter_nick]] *irc.look.smart_filter_nick*
** descrizione: `abilita filtro smart per i messaggi "nick"`
** descrizione: `enable smart filter for "nick" messages (nick changes)`
** tipo: bool
** valori: on, off (valore predefinito: `on`)
@@ -348,16 +343,16 @@
** tipo: intero
** valori: 0 .. 604800 (valore predefinito: `60`)
* [[option_irc.network.lag_disconnect]] *irc.network.lag_disconnect*
** descrizione: `disconnetti dopo un ritardo eccessivo (in minuti, 0 = nessuna disconnessione)`
** tipo: intero
** valori: 0 .. 10080 (valore predefinito: `0`)
* [[option_irc.network.lag_min_show]] *irc.network.lag_min_show*
** descrizione: `ritardo minimo da visualizzare (in millisecondi)`
** tipo: intero
** valori: 0 .. 86400000 (valore predefinito: `500`)
* [[option_irc.network.lag_reconnect]] *irc.network.lag_reconnect*
** descrizione: `reconnect to server if lag is greater than this value (in seconds, 0 = never reconnect)`
** tipo: intero
** valori: 0 .. 604800 (valore predefinito: `0`)
* [[option_irc.network.lag_refresh_interval]] *irc.network.lag_refresh_interval*
** descrizione: `intervallo tra due aggiornamenti per l'elemento ritardo, quando è in aumento (in secondi)`
** tipo: intero
@@ -439,7 +434,7 @@
** valori: 0 .. 1000000 (valore predefinito: `25`)
* [[option_irc.server_default.capabilities]] *irc.server_default.capabilities*
** descrizione: `elenco separato da virgole delle capacità del client ("client capabilities") da abilitare per il server se disponibili (esempio: "multi-prefix,extended-join")`
** descrizione: `comma-separated list of client capabilities to enable for server if they are available; capabilities supported by WeeChat are: multi-prefix, userhost-in-names (example: "multi-prefix,userhost-in-names")`
** tipo: stringa
** valori: qualsiasi stringa (valore predefinito: `""`)
@@ -504,9 +499,9 @@
** valori: qualsiasi stringa (valore predefinito: `""`)
* [[option_irc.server_default.sasl_mechanism]] *irc.server_default.sasl_mechanism*
** descrizione: `meccanismo per l'autenticazione SASL: "plain" per le password in chiaro, "dh-blowfish" per le password cifrate, "external" per l'autenticazione con certificati SSL lato client`
** descrizione: `mechanism for SASL authentication: "plain" for plain text password, "dh-blowfish" for blowfish crypted password, "dh-aes" for AES crypted password, "external" for authentication using client side SSL cert`
** tipo: intero
** valori: plain, dh-blowfish, external (valore predefinito: `plain`)
** valori: plain, dh-blowfish, dh-aes, external (valore predefinito: `plain`)
* [[option_irc.server_default.sasl_password]] *irc.server_default.sasl_password*
** descrizione: `password per l'autenticazione SASL`
+10
View File
@@ -33,6 +33,16 @@
** tipo: bool
** valori: on, off (valore predefinito: `on`)
* [[option_logger.file.nick_prefix]] *logger.file.nick_prefix*
** descrizione: `text to write before nick in prefix of message, example: "<"`
** tipo: stringa
** valori: qualsiasi stringa (valore predefinito: `""`)
* [[option_logger.file.nick_suffix]] *logger.file.nick_suffix*
** descrizione: `text to write after nick in prefix of message, example: ">"`
** tipo: stringa
** valori: qualsiasi stringa (valore predefinito: `""`)
* [[option_logger.file.path]] *logger.file.path*
** descrizione: `path per i file di log di WeeChat: "%h" all'inizio della stringa viene sostituito dalla directory home di WeeChat (predefinita è "~/.weechat); sono ammessi gli specificatori di data (consultare man strftime)`
** tipo: stringa
+13 -13
View File
@@ -1,21 +1,21 @@
[[command_lua_lua]]
[command]*`lua`* elenca/carica/scarica script::
........................................
/lua list|listfull [<name>]
load [-q] <filename>
/lua list|listfull [<nome>]
load [-q] <nomefile>
autoload
reload|unload [-q] [<name>]
reload|unload [-q][<nome>]
list: list loaded scripts
listfull: list loaded scripts (verbose)
load: load a script
autoload: load all scripts in "autoload" directory
reload: reload a script (if no name given, unload all scripts, then load all scripts in "autoload" directory)
unload: unload a script (if no name given, unload all scripts)
filename: script (file) to load
name: a script name (name used in call to "register" function)
-q: quiet mode: do not display messages
list: elenca i plugin caricati
listfull: elenca i plugin caricati (dettagliato)
load: carica un plugin
autoload: carica automaticamente i plugin nella directory utente o di sistema
reload: ricarica un plugin (se non specificato, scarica i plugin e li ricarica automaticamente)
unload: scarica uno o tutti i plugin
nome_file: (file) script da caricare
nome: il nome di uno script (usato nella chiamata alla funzione "register")
-q: modalità silenziosa: non mostra messaggi
Without argument, this command lists all loaded scripts.
Senza argomento, questo comando elenca tutti i plugin caricati.
........................................
+13 -13
View File
@@ -1,21 +1,21 @@
[[command_perl_perl]]
[command]*`perl`* elenca/carica/scarica script::
........................................
/perl list|listfull [<name>]
load [-q] <filename>
/perl list|listfull [<nome>]
load [-q] <nomefile>
autoload
reload|unload [-q] [<name>]
reload|unload [-q][<nome>]
list: list loaded scripts
listfull: list loaded scripts (verbose)
load: load a script
autoload: load all scripts in "autoload" directory
reload: reload a script (if no name given, unload all scripts, then load all scripts in "autoload" directory)
unload: unload a script (if no name given, unload all scripts)
filename: script (file) to load
name: a script name (name used in call to "register" function)
-q: quiet mode: do not display messages
list: elenca i plugin caricati
listfull: elenca i plugin caricati (dettagliato)
load: carica un plugin
autoload: carica automaticamente i plugin nella directory utente o di sistema
reload: ricarica un plugin (se non specificato, scarica i plugin e li ricarica automaticamente)
unload: scarica uno o tutti i plugin
nome_file: (file) script da caricare
nome: il nome di uno script (usato nella chiamata alla funzione "register")
-q: modalità silenziosa: non mostra messaggi
Without argument, this command lists all loaded scripts.
Senza argomento, questo comando elenca tutti i plugin caricati.
........................................
+13 -13
View File
@@ -1,21 +1,21 @@
[[command_python_python]]
[command]*`python`* elenca/carica/scarica script::
........................................
/python list|listfull [<name>]
load [-q] <filename>
/python list|listfull [<nome>]
load [-q] <nomefile>
autoload
reload|unload [-q] [<name>]
reload|unload [-q][<nome>]
list: list loaded scripts
listfull: list loaded scripts (verbose)
load: load a script
autoload: load all scripts in "autoload" directory
reload: reload a script (if no name given, unload all scripts, then load all scripts in "autoload" directory)
unload: unload a script (if no name given, unload all scripts)
filename: script (file) to load
name: a script name (name used in call to "register" function)
-q: quiet mode: do not display messages
list: elenca i plugin caricati
listfull: elenca i plugin caricati (dettagliato)
load: carica un plugin
autoload: carica automaticamente i plugin nella directory utente o di sistema
reload: ricarica un plugin (se non specificato, scarica i plugin e li ricarica automaticamente)
unload: scarica uno o tutti i plugin
nome_file: (file) script da caricare
nome: il nome di uno script (usato nella chiamata alla funzione "register")
-q: modalità silenziosa: non mostra messaggi
Without argument, this command lists all loaded scripts.
Senza argomento, questo comando elenca tutti i plugin caricati.
........................................
+5 -3
View File
@@ -2,8 +2,8 @@
[command]*`relay`* controllo relay::
........................................
/relay list|listfull|listrelay
add [ipv4.][ipv6.][ssl.]<protocol.name> <port>
del [ipv4.][ipv6.][ssl.]<protocol.name>
add [ipv4.][ipv6.][ssl.]<protocollo.nome> <porta>
del [ipv4.][ipv6.][ssl.]<protocollo.nome>
raw
sslcertkey
@@ -16,7 +16,7 @@
ipv6: force use of IPv6
ssl: enable SSL
protocol.name: protocol and name to relay:
- protocol "irc": name is the server to share
- protocol "irc": name is the server to share (optional, if not given, the server name must be sent by client in command "PASS", with format: "PASS server:password")
- protocol "weechat" (name is not used)
port: port used for relay
raw: open buffer with raw Relay data
@@ -29,6 +29,8 @@ Examples:
/relay add irc.freenode 8000
irc proxy, for server "freenode", with SSL:
/relay add ssl.irc.freenode 8001
irc proxy, for all servers (client will choose), with SSL:
/relay add ssl.irc 8002
weechat protocol:
/relay add weechat 9000
weechat protocol with SSL:
+8 -3
View File
@@ -44,17 +44,17 @@
** valori: un nome colore di WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), un numero colore del terminale o un alias; attributi consentiti prima del colore (solo per il colore del testo, non lo sfondo): "*" per il grassetto, "!" per l'inverso, "_" per la sottolineatura (valore predefinito: `white`)
* [[option_relay.irc.backlog_max_minutes]] *relay.irc.backlog_max_minutes*
** descrizione: `maximum number of minutes in backlog per IRC channel (0 = unlimited, examples: 1440 = one day, 10080 = one week, 43200 = one month, 525600 = one year)`
** descrizione: `numero massimo di minuti nella cronologia per canale IRC (0 = nessun limite, esempi: 1440 = un giorno, 10000 = una settimana; 43200 = un mese, 525600 = un anno)`
** tipo: intero
** valori: 0 .. 2147483647 (valore predefinito: `1440`)
* [[option_relay.irc.backlog_max_number]] *relay.irc.backlog_max_number*
** descrizione: `maximum number of lines in backlog per IRC channel (0 = unlimited)`
** descrizione: `numero massimo di righe nella cronologia per canale IRC (0 = nessun limite)`
** tipo: intero
** valori: 0 .. 2147483647 (valore predefinito: `256`)
* [[option_relay.irc.backlog_since_last_disconnect]] *relay.irc.backlog_since_last_disconnect*
** descrizione: `display backlog starting from last client disconnect`
** descrizione: `mostra la cronologia a partire dall'ultima disconnessione del client`
** tipo: bool
** valori: on, off (valore predefinito: `on`)
@@ -113,3 +113,8 @@
** tipo: stringa
** valori: qualsiasi stringa (valore predefinito: `"%h/ssl/relay.pem"`)
* [[option_relay.network.websocket_allowed_origins]] *relay.network.websocket_allowed_origins*
** descrizione: `regular expression with origins allowed in websockets (case insensitive, use "(?-i)" at beginning to make it case sensitive), example: "^http://(www\.)?example\.(com|org)"`
** tipo: stringa
** valori: qualsiasi stringa (valore predefinito: `""`)
+14 -14
View File
@@ -6,23 +6,23 @@
del <nome>|-all [<nome>...]
default -yes
list: elenca tutti gli rmodifier
listdefault: elenca gli rmodifier predefiniti
add: aggiunge un rmodifier
nome: nome rmodifier
modifier: elenco separato da virgole di modificatori
gruppi: azione sui gruppi trovati: elenco separato da virgole di gruppi (da 1 a 9) con "*" opzionale dopo il numero per nascondere il gruppo
regex: espressione regolare (non sensibile alle maiuscole, può iniziare con "(?-i)" per diventare sensibile alle maiuscole
del: elimina rmodifier
-all: elimina tutti gli rmodifier
default: ripristina gli rmodifier predefiniti
list: list all rmodifiers
listdefault: list default rmodifiers
add: add a rmodifier
name: name of rmodifier
modifiers: comma separated list of modifiers
groups: action on groups captured in regular expression (inside parentheses): comma separated list of groups (from 1 to 9) with optional "*" after number to hide the group
regex: regular expression (case insensitive, can start by "(?-i)" to become case sensitive)
del: delete a rmodifier
-all: delete all rmodifiers
default: restore default rmodifiers
Esempi:
nasconde ciò che viene digitato dopo il comando /password:
Examples:
hide everything typed after a command /password:
/rmodifier add password input_text_display 1,2* ^(/password +)(.*)
elimina rmodifier "password":
delete rmodifier "password":
/rmodifier del password
elimina tutti gli rmodifier:
delete all rmodifiers:
/rmodifier del -all
........................................
+13 -13
View File
@@ -1,21 +1,21 @@
[[command_ruby_ruby]]
[command]*`ruby`* elenca/carica/scarica script::
........................................
/ruby list|listfull [<name>]
load [-q] <filename>
/ruby list|listfull [<nome>]
load [-q] <nomefile>
autoload
reload|unload [-q] [<name>]
reload|unload [-q][<nome>]
list: list loaded scripts
listfull: list loaded scripts (verbose)
load: load a script
autoload: load all scripts in "autoload" directory
reload: reload a script (if no name given, unload all scripts, then load all scripts in "autoload" directory)
unload: unload a script (if no name given, unload all scripts)
filename: script (file) to load
name: a script name (name used in call to "register" function)
-q: quiet mode: do not display messages
list: elenca i plugin caricati
listfull: elenca i plugin caricati (dettagliato)
load: carica un plugin
autoload: carica automaticamente i plugin nella directory utente o di sistema
reload: ricarica un plugin (se non specificato, scarica i plugin e li ricarica automaticamente)
unload: scarica uno o tutti i plugin
nome_file: (file) script da caricare
nome: il nome di uno script (usato nella chiamata alla funzione "register")
-q: modalità silenziosa: non mostra messaggi
Without argument, this command lists all loaded scripts.
Senza argomento, questo comando elenca tutti i plugin caricati.
........................................
+21 -16
View File
@@ -1,29 +1,33 @@
[[command_script_script]]
[command]*`script`* WeeChat scripts manager::
[command]*`script`* Gestore script di WeeChat::
........................................
/script list [-o|-i]
search <text>
show <script>
load|unload|reload <script> [<script>...]
autoload|noautoload|toggleautoload <script> [<script>...]
install|remove|installremove|hold [-q] <script> [<script>...]
upgrade
update
list: list loaded scripts (all languages)
-o: send list of loaded scripts to buffer
-i: copy list of loaded scripts in command line (for sending to buffer)
search: search scripts by tags or text and display result on scripts buffer
show: show detailed info about a script
load: load script(s)
unload: unload script(s)
reload: reload script(s)
install: install/upgrade script(s)
remove: remove script(s)
installremove: install or remove script(s), depending on current state
hold: hold/unhold script(s) (a script held will not be upgraded any more and cannot be removed)
-q: quiet mode: do not display messages
upgrade: upgrade all installed scripts which are obsolete (new version available)
update: update local scripts cache
list: list loaded scripts (all languages)
-o: send list of loaded scripts to buffer
-i: copy list of loaded scripts in command line (for sending to buffer)
search: search scripts by tags or text and display result on scripts buffer
show: show detailed info about a script
load: load script(s)
unload: unload script(s)
reload: reload script(s)
autoload: autoload the script
noautoload: do not autoload the script
toggleautoload: toggle autoload
install: install/upgrade script(s)
remove: remove script(s)
installremove: install or remove script(s), depending on current state
hold: hold/unhold script(s) (a script held will not be upgraded any more and cannot be removed)
-q: quiet mode: do not display messages
upgrade: upgrade all installed scripts which are obsolete (new version available)
update: update local scripts cache
Without argument, this command opens a buffer with list of scripts.
@@ -43,6 +47,7 @@ Keys on script buffer:
alt+l load script
alt+L reload script
alt+u unload script
alt+A autoload script
alt+h (un)hold script
alt+v view script
+25 -20
View File
@@ -9,17 +9,17 @@
** valori: un nome colore di WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), un numero colore del terminale o un alias; attributi consentiti prima del colore (solo per il colore del testo, non lo sfondo): "*" per il grassetto, "!" per l'inverso, "_" per la sottolineatura (valore predefinito: `white`)
* [[option_script.color.status_installed]] *script.color.status_installed*
** descrizione: `color for status "installed" ("i")`
** descrizione: `colore per lo status "installato" ("i")`
** tipo: colore
** valori: un nome colore di WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), un numero colore del terminale o un alias; attributi consentiti prima del colore (solo per il colore del testo, non lo sfondo): "*" per il grassetto, "!" per l'inverso, "_" per la sottolineatura (valore predefinito: `lightcyan`)
* [[option_script.color.status_obsolete]] *script.color.status_obsolete*
** descrizione: `color for status "obsolete" ("N")`
** descrizione: `colore per lo status "obsoleto" ("N")`
** tipo: colore
** valori: un nome colore di WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), un numero colore del terminale o un alias; attributi consentiti prima del colore (solo per il colore del testo, non lo sfondo): "*" per il grassetto, "!" per l'inverso, "_" per la sottolineatura (valore predefinito: `lightmagenta`)
* [[option_script.color.status_popular]] *script.color.status_popular*
** descrizione: `color for status "popular" ("*")`
** descrizione: `colore per lo status "popolare" ("*")`
** tipo: colore
** valori: un nome colore di WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), un numero colore del terminale o un alias; attributi consentiti prima del colore (solo per il colore del testo, non lo sfondo): "*" per il grassetto, "!" per l'inverso, "_" per la sottolineatura (valore predefinito: `yellow`)
@@ -29,17 +29,17 @@
** valori: un nome colore di WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), un numero colore del terminale o un alias; attributi consentiti prima del colore (solo per il colore del testo, non lo sfondo): "*" per il grassetto, "!" per l'inverso, "_" per la sottolineatura (valore predefinito: `lightgreen`)
* [[option_script.color.status_unknown]] *script.color.status_unknown*
** descrizione: `color for status "unknown" ("?")`
** descrizione: `colore per lo status "sconosciuto" ("?")`
** tipo: colore
** valori: un nome colore di WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), un numero colore del terminale o un alias; attributi consentiti prima del colore (solo per il colore del testo, non lo sfondo): "*" per il grassetto, "!" per l'inverso, "_" per la sottolineatura (valore predefinito: `lightred`)
* [[option_script.color.text]] *script.color.text*
** descrizione: `text color in script buffer`
** descrizione: `colore del testo nel buffer degli script`
** tipo: colore
** valori: un nome colore di WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), un numero colore del terminale o un alias; attributi consentiti prima del colore (solo per il colore del testo, non lo sfondo): "*" per il grassetto, "!" per l'inverso, "_" per la sottolineatura (valore predefinito: `default`)
* [[option_script.color.text_bg]] *script.color.text_bg*
** descrizione: `background color in script buffer`
** descrizione: `colore di sfondo nel buffer degli script`
** tipo: colore
** valori: un nome colore di WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), un numero colore del terminale o un alias; attributi consentiti prima del colore (solo per il colore del testo, non lo sfondo): "*" per il grassetto, "!" per l'inverso, "_" per la sottolineatura (valore predefinito: `default`)
@@ -49,7 +49,7 @@
** valori: un nome colore di WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), un numero colore del terminale o un alias; attributi consentiti prima del colore (solo per il colore del testo, non lo sfondo): "*" per il grassetto, "!" per l'inverso, "_" per la sottolineatura (valore predefinito: `red`)
* [[option_script.color.text_date]] *script.color.text_date*
** descrizione: `text color of dates in script buffer`
** descrizione: `colore del testo delle date nel buffer degli script`
** tipo: colore
** valori: un nome colore di WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), un numero colore del terminale o un alias; attributi consentiti prima del colore (solo per il colore del testo, non lo sfondo): "*" per il grassetto, "!" per l'inverso, "_" per la sottolineatura (valore predefinito: `default`)
@@ -59,12 +59,12 @@
** valori: un nome colore di WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), un numero colore del terminale o un alias; attributi consentiti prima del colore (solo per il colore del testo, non lo sfondo): "*" per il grassetto, "!" per l'inverso, "_" per la sottolineatura (valore predefinito: `white`)
* [[option_script.color.text_delimiters]] *script.color.text_delimiters*
** descrizione: `text color of delimiters in script buffer`
** descrizione: `colore del testo dei delimitatori nel buffer degli script`
** tipo: colore
** valori: un nome colore di WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), un numero colore del terminale o un alias; attributi consentiti prima del colore (solo per il colore del testo, non lo sfondo): "*" per il grassetto, "!" per l'inverso, "_" per la sottolineatura (valore predefinito: `darkgray`)
* [[option_script.color.text_description]] *script.color.text_description*
** descrizione: `text color of description in script buffer`
** descrizione: `colore del testo della descrizione nel buffer degli script`
** tipo: colore
** valori: un nome colore di WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), un numero colore del terminale o un alias; attributi consentiti prima del colore (solo per il colore del testo, non lo sfondo): "*" per il grassetto, "!" per l'inverso, "_" per la sottolineatura (valore predefinito: `default`)
@@ -74,7 +74,7 @@
** valori: un nome colore di WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), un numero colore del terminale o un alias; attributi consentiti prima del colore (solo per il colore del testo, non lo sfondo): "*" per il grassetto, "!" per l'inverso, "_" per la sottolineatura (valore predefinito: `white`)
* [[option_script.color.text_extension]] *script.color.text_extension*
** descrizione: `text color of extension in script buffer`
** descrizione: `colore del testo dell'estensione nel buffer degli script`
** tipo: colore
** valori: un nome colore di WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), un numero colore del terminale o un alias; attributi consentiti prima del colore (solo per il colore del testo, non lo sfondo): "*" per il grassetto, "!" per l'inverso, "_" per la sottolineatura (valore predefinito: `default`)
@@ -84,7 +84,7 @@
** valori: un nome colore di WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), un numero colore del terminale o un alias; attributi consentiti prima del colore (solo per il colore del testo, non lo sfondo): "*" per il grassetto, "!" per l'inverso, "_" per la sottolineatura (valore predefinito: `white`)
* [[option_script.color.text_name]] *script.color.text_name*
** descrizione: `text color of script name in script buffer`
** descrizione: `colore del testo del nome dello script nel buffer degli script`
** tipo: colore
** valori: un nome colore di WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), un numero colore del terminale o un alias; attributi consentiti prima del colore (solo per il colore del testo, non lo sfondo): "*" per il grassetto, "!" per l'inverso, "_" per la sottolineatura (valore predefinito: `cyan`)
@@ -94,12 +94,12 @@
** valori: un nome colore di WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), un numero colore del terminale o un alias; attributi consentiti prima del colore (solo per il colore del testo, non lo sfondo): "*" per il grassetto, "!" per l'inverso, "_" per la sottolineatura (valore predefinito: `lightcyan`)
* [[option_script.color.text_selected]] *script.color.text_selected*
** descrizione: `text color for selected line in script buffer`
** descrizione: `colore del testo della riga selezionata nel buffer degli script`
** tipo: colore
** valori: un nome colore di WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), un numero colore del terminale o un alias; attributi consentiti prima del colore (solo per il colore del testo, non lo sfondo): "*" per il grassetto, "!" per l'inverso, "_" per la sottolineatura (valore predefinito: `white`)
* [[option_script.color.text_tags]] *script.color.text_tags*
** descrizione: `text color of tags in script buffer`
** descrizione: `colore del testo dei tag nel buffer degli script`
** tipo: colore
** valori: un nome colore di WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), un numero colore del terminale o un alias; attributi consentiti prima del colore (solo per il colore del testo, non lo sfondo): "*" per il grassetto, "!" per l'inverso, "_" per la sottolineatura (valore predefinito: `brown`)
@@ -109,12 +109,12 @@
** valori: un nome colore di WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), un numero colore del terminale o un alias; attributi consentiti prima del colore (solo per il colore del testo, non lo sfondo): "*" per il grassetto, "!" per l'inverso, "_" per la sottolineatura (valore predefinito: `yellow`)
* [[option_script.color.text_version]] *script.color.text_version*
** descrizione: `text color of version in script buffer`
** descrizione: `colore del testo della versione nel buffer degli script`
** tipo: colore
** valori: un nome colore di WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), un numero colore del terminale o un alias; attributi consentiti prima del colore (solo per il colore del testo, non lo sfondo): "*" per il grassetto, "!" per l'inverso, "_" per la sottolineatura (valore predefinito: `magenta`)
* [[option_script.color.text_version_loaded]] *script.color.text_version_loaded*
** descrizione: `text color of version loaded in script buffer`
** descrizione: `colore del testo della versione caricata nel buffer degli script`
** tipo: colore
** valori: un nome colore di WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), un numero colore del terminale o un alias; attributi consentiti prima del colore (solo per il colore del testo, non lo sfondo): "*" per il grassetto, "!" per l'inverso, "_" per la sottolineatura (valore predefinito: `default`)
@@ -134,17 +134,17 @@
** valori: qualsiasi stringa (valore predefinito: `"%s %n %V %v %u | %d | %t"`)
* [[option_script.look.diff_color]] *script.look.diff_color*
** descrizione: `colorize output of diff`
** descrizione: `colora l'output di diff`
** tipo: bool
** valori: on, off (valore predefinito: `on`)
* [[option_script.look.diff_command]] *script.look.diff_command*
** descrizione: `command used to show differences between script installed and the new version in repository ("auto" = auto detect diff command (git or diff), empty value = disable diff, other string = name of command, for example "diff")`
** descrizione: `comando usato per mostrare le differenze tra lo script installato e la nuova versione nel repository ("auto" = rileva automaticamente il comando diff (git o diff), valore vuoto = disabilita diff, altra stringa = nome del comando, ad esempio "diff")`
** tipo: stringa
** valori: qualsiasi stringa (valore predefinito: `"auto"`)
* [[option_script.look.display_source]] *script.look.display_source*
** descrizione: `display source code of script on buffer with detail on a script (script is downloaded in a temporary file when detail on script is displayed)`
** descrizione: `mostra il codice sorgente dello script sul buffer ed i relativi dettagli (lo script viene scaricato in un file temporaneo)`
** tipo: bool
** valori: on, off (valore predefinito: `on`)
@@ -168,13 +168,18 @@
** tipo: bool
** valori: on, off (valore predefinito: `on`)
* [[option_script.scripts.autoload]] *script.scripts.autoload*
** descrizione: `autoload scripts installed (make a link in "autoload" directory to script in parent directory)`
** tipo: bool
** valori: on, off (valore predefinito: `on`)
* [[option_script.scripts.cache_expire]] *script.scripts.cache_expire*
** descrizione: `local cache expiration time, in minutes (-1 = never expires, 0 = always expire)`
** tipo: intero
** valori: -1 .. 525600 (valore predefinito: `60`)
* [[option_script.scripts.dir]] *script.scripts.dir*
** descrizione: `local cache directory for scripts`
** descrizione: `directory locale della cache per gli script`
** tipo: stringa
** valori: qualsiasi stringa (valore predefinito: `"%h/script"`)
@@ -184,7 +189,7 @@
** valori: qualsiasi stringa (valore predefinito: `""`)
* [[option_script.scripts.url]] *script.scripts.url*
** descrizione: `URL for file with list of scripts`
** descrizione: `URL per il file con l'elenco degli script`
** tipo: stringa
** valori: qualsiasi stringa (valore predefinito: `"http://www.weechat.org/files/plugins.xml.gz"`)

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