1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-15 23:54:46 +02:00

Compare commits

..

565 Commits

Author SHA1 Message Date
Sebastien Helleu 0b89084ea4 Version 0.3.4 2011-01-16 10:04:32 +01:00
Sebastien Helleu 54cd9ffaa8 Add missing file asciidoc.css in Makefile.am 2011-01-16 09:43:05 +01:00
Sebastien Helleu 3411185c08 Update polish translations and FAQ 2011-01-16 00:25:04 +01:00
Sebastien Helleu b35989020b Update brazilian translations 2011-01-14 10:12:08 +01:00
Sebastien Helleu fc0f36b909 Update german user guide 2011-01-14 10:08:09 +01:00
Sebastien Helleu 89424130d2 Fix compilation of Ruby plugin with ruby >= 1.9.1, give higher priority to newest ruby when many versions are installed 2011-01-13 17:44:03 +01:00
Sebastien Helleu eb1a2d9a36 Fix display of bar item "input_prompt" in root bar (patch from Deltafire) 2011-01-13 17:28:43 +01:00
Sebastien Helleu 86932b6c11 Update spanish translations 2011-01-11 16:08:58 +01:00
Sebastien Helleu 2746953335 Use options for server with /connect command when temporary server already exists 2011-01-10 19:04:08 +01:00
Sebastien Helleu 6aab191673 Update italian translations and doc 2011-01-10 18:14:48 +01:00
Sebastien Helleu ac98535491 Update german FAQ 2011-01-09 13:58:45 +01:00
Sebastien Helleu 91897fa000 Add some features in FAQ (256 colors, IRC proxy, redirection of IRC commands) 2011-01-09 13:05:32 +01:00
Sebastien Helleu e1857f4d88 Update german tester guide 2011-01-09 12:49:01 +01:00
Sebastien Helleu 512de497f5 Display more colors on each line for WeeChat basic and nick colors on /color buffer 2011-01-09 12:43:10 +01:00
Sebastien Helleu fa240e8d11 Differenciate IRC notices from messages in private buffer (bug #31980) 2011-01-09 10:12:20 +01:00
Sebastien Helleu f7b473790b Fix unlikely memory leak in function gui_keyboard_new 2011-01-06 14:34:53 +01:00
Sebastien Helleu 7dbc797789 Silently ignore IRC PRIVMSG message if target channel is not found 2011-01-05 15:06:12 +01:00
Sebastien Helleu 25fe7a53a1 Fix scroll problem on buffers with free content and non-allocated lines (bug #32039) 2011-01-05 14:58:17 +01:00
Sebastien Helleu ccc6d52e3a Remove unneeded call to gui_color_buffer_display 2011-01-05 14:10:29 +01:00
Sebastien Helleu c31977f59c Revert "Fix bug with /upgrade: check existence of binary even when command is executed without argument"
This reverts commit 3cd267ab23.

With this fix, upgrade was not possible any more if WeeChat was run without path,
ie for example "weechat-curses" running "/usr/bin/weechat-curses".
2011-01-05 08:05:32 +01:00
Sebastien Helleu f837dc49c9 Fix french translation of description for option weechat.color.chat_nick 2011-01-05 00:17:35 +01:00
Sebastien Helleu 3cd267ab23 Fix bug with /upgrade: check existence of binary even when command is executed without argument 2011-01-04 23:56:46 +01:00
Sebastien Helleu 57102fef70 Update german user guide and FAQ 2011-01-04 21:17:28 +01:00
Sebastien Helleu fd764a369c Add note about term option for .screenrc file in FAQ 2011-01-04 15:13:19 +01:00
Sebastien Helleu 09e4bfa8a6 Version 0.3.4-rc3 2011-01-04 15:06:46 +01:00
Sebastien Helleu a477debb46 Add note about term option for .screenrc file in user guide 2011-01-04 15:05:30 +01:00
Sebastien Helleu be48a1e763 Add doc about 256 colors in user guide and FAQ 2011-01-04 14:48:02 +01:00
Sebastien Helleu fb60335176 Fix number of colors displayed in buffer opened by /color (can be different between WeeChat and terminal colors) 2011-01-04 14:37:14 +01:00
Sebastien Helleu a341d809b2 Fix crash when changing or removing color palette options 2011-01-03 14:41:14 +01:00
Sebastien Helleu b38dfac5ee Update nick modes with IRC message 221 (bug #32038) 2011-01-03 13:02:22 +01:00
Sebastien Helleu 7785292428 Fix crash with malformed IRC message "324" received 2011-01-02 21:43:32 +01:00
Sebastien Helleu c466b5e1b1 Fix completion of IRC commands /notice, /query and /quote (add -server with servers) (bug #32027) 2011-01-02 19:59:38 +01:00
Sebastien Helleu f37d13466e Update german translations 2011-01-02 19:35:13 +01:00
Sebastien Helleu ce1aac77e0 Free color palette structures when exiting WeeChat 2011-01-02 16:34:47 +01:00
Sebastien Helleu 44e16c0511 Add function "hashtable_set_pointer" in plugin API 2011-01-02 16:32:54 +01:00
Sebastien Helleu fcfe854441 Fix memory leak in flush of irc message queue 2011-01-02 15:28:20 +01:00
Sebastien Helleu 10bf2a8665 Test if variables are not NULL before free in function hook_print_exec 2011-01-02 13:09:02 +01:00
Sebastien Helleu 2d82a4a4fc Add config files relay.conf and rmodifier.conf in man page 2011-01-02 12:23:59 +01:00
Sebastien Helleu fc5efe5c35 Add plugins relay and rmodifier in debian package "weechat-plugins" 2011-01-02 10:48:44 +01:00
Sebastien Helleu d24f6e9e17 Update copyright dates 2011-01-01 18:06:29 +01:00
Sebastien Helleu b0a2274496 Update command /color in user guide 2011-01-01 16:33:29 +01:00
Sebastien Helleu 0721bb1d4c Add new command /color 2011-01-01 14:39:12 +01:00
Sebastien Helleu 7445c12667 Add option "-server" to command /join (task #10837) 2010-12-27 11:12:14 +01:00
Sebastien Helleu baee047a28 Add question about gdb and threads error in FAQ 2010-12-26 15:03:58 +01:00
Sebastien Helleu 391ca47674 Add info "weechat_upgrading", signal "upgrade_ended", display duration of upgrade 2010-12-26 12:16:47 +01:00
Sebastien Helleu b770f9c8c5 Update german and italian translations 2010-12-24 12:02:31 +01:00
Sebastien Helleu 894da1c9ed Allow more flexible format for palette options
Order of alias, pair and rgb is free and semicolon is not required any more
before or after pair.
2010-12-21 09:24:31 +01:00
Sebastien Helleu 4d98ddb13c Version 0.3.4-rc2 2010-12-20 18:31:23 +01:00
Sebastien Helleu a9f25d125b Do not allow empty string for color (regression with 256 colors feature) 2010-12-20 18:24:29 +01:00
Sebastien Helleu 8893a59063 Build list of color aliases at startup (fix crash when setting "++1" on option if no palette option is defined) 2010-12-20 18:22:22 +01:00
Sebastien Helleu f7a3a2d995 Fix parsing of palette options 2010-12-20 16:27:09 +01:00
Sebastien Helleu 2ee9f7b0fc Replace the 10 nick color options and number of nick colors by a single option "weechat.color.chat_nick_colors" (comma separated list of colors) 2010-12-20 15:08:30 +01:00
Sebastien Helleu 1340ce6b41 Update german quickstart guide 2010-12-20 13:34:47 +01:00
Sebastien Helleu e17e5a9614 Fix removal of color pair number in a string (function gui_color_decode) 2010-12-20 11:42:26 +01:00
Sebastien Helleu cd7a02bec5 Add 256 colors support
Changes:
- new section "palette" in weechat.conf
- new API functions: list_search_pos and list_casesearch_pos
2010-12-20 10:13:37 +01:00
Sebastien Helleu e80d6b93a5 Add command line option "-c" (or "--colors") to display default colors in terminal 2010-12-17 12:27:51 +01:00
Sebastien Helleu 4043ca3d38 Allow use of color pair number in color options and in API function "weechat_color" 2010-12-17 09:54:46 +01:00
Sebastien Helleu f2c9961a21 Fix crash in perl plugin when MULTIPLICITY is disabled 2010-12-16 14:27:16 +01:00
Sebastien Helleu 29f1461c42 Update list of fonts in asciidoc.css 2010-12-16 11:39:55 +01:00
Sebastien Helleu 987044405b Fix bug with charset decoding on IRC private buffers (decoding was made for local nick instead of remote nick) (bug #31890) 2010-12-15 17:57:43 +01:00
Sebastien Helleu 62dc84f4e9 Add support of python 2.7 in cmake and configure (debian #606989) 2010-12-13 22:20:57 +01:00
Sebastien Helleu 4a74325e61 Use case insensitive comparison for string in redirected messages 2010-12-13 21:41:53 +01:00
Sebastien Helleu 25d9d6e0fe Update german user guide 2010-12-12 13:27:38 +01:00
Sebastien Helleu bea89de51c Update italian translations and doc 2010-12-12 09:57:28 +01:00
Sebastien Helleu 4669eac372 Add date format for logger masks in user guide 2010-12-11 22:03:21 +01:00
Sebastien Helleu cabf0c4bc1 Change font used in doc for default keybindings 2010-12-10 16:13:27 +01:00
Sebastien Helleu ed094058de Version 0.3.4-rc1 2010-12-10 08:51:06 +01:00
Sebastien Helleu ce269387a5 Fix infinite loop in API function string_has_highlight_regex if regex is empty 2010-12-09 23:09:49 +01:00
Sebastien Helleu b4d58dd9da Add option "-switch" to commands /connect and /reconnect 2010-12-09 23:05:15 +01:00
Sebastien Helleu 4d4a034567 Allow /reconnect on servers that are not currently connected 2010-12-09 19:42:45 +01:00
Sebastien Helleu d847a6ed74 Update german translations and user guide 2010-12-08 22:03:24 +01:00
Sebastien Helleu b6662ee3cf Add color support in option weechat.look.buffer_time_format 2010-12-07 19:43:19 +01:00
Sebastien Helleu f7d719f8fd Remove unneeded variable name "position" in gui-bar-window.h 2010-12-07 15:16:50 +01:00
Sebastien Helleu 186cc877ac Update required version of asciidoc to build doc (now 8.5.0) 2010-12-07 10:26:41 +01:00
Sebastien Helleu 2a18daad6b Add note about automatic unhook for function hook_process in plugin API reference 2010-12-06 18:59:27 +01:00
Sebastien Helleu 7a3946f261 Fix unstranslated string in french user guide 2010-12-06 12:20:35 +01:00
Sebastien Helleu 2a3d3c95e5 Add doc about relay plugin in user guide 2010-12-06 12:00:32 +01:00
Sebastien Helleu c1b3c3bd33 Add some custom css styles for asciidoc 2010-12-06 11:30:33 +01:00
Sebastien Helleu ca46275b8b Remove css files from .gitignore 2010-12-06 11:29:28 +01:00
Sebastien Helleu 921e40f6b0 Enable compilation of Relay plugin by default 2010-12-06 08:58:36 +01:00
Sebastien Helleu 9a98175510 Add example for irc proxy in /help relay 2010-12-06 08:35:13 +01:00
Sebastien Helleu 31612f485f Update italian translations, FAQ and plugin API reference 2010-12-04 18:39:23 +01:00
Sebastien Helleu 4dcbb1014d Fix typos in scripting guide 2010-12-04 13:50:54 +01:00
Sebastien Helleu c7d10d88ae Update german translations and FAQ 2010-12-03 20:06:18 +01:00
Sebastien Helleu e6f1c3038e Add question about key to jump to buffer 11 (or higher) in FAQ 2010-12-02 18:54:41 +01:00
Sebastien Helleu e2be1dbd43 Allow channel argument without user/host for IRC command /ban 2010-12-02 12:10:04 +01:00
Sebastien Helleu 443b6962b4 Replace "receiver" by "target" in help of some IRC commands 2010-12-02 10:08:23 +01:00
Sebastien Helleu e0b528600f Call to hook_config when config option is created 2010-12-01 16:41:39 +01:00
Sebastien Helleu 13de7e327c Fix /help notice: receiver can be nick or channel 2010-11-29 10:22:20 +01:00
Sebastien Helleu 528dc258ca Replace buffer local variable "no_highlight_nicks" by "hotlist_max_level_nicks" 2010-11-29 10:17:09 +01:00
Sebastien Helleu b6833392fe Add question about IRC SSL connection in FAQ 2010-11-28 15:21:26 +01:00
Sebastien Helleu 0532412212 Use tag "no_highlight" for options/values printed by command /set 2010-11-28 12:41:50 +01:00
Sebastien Helleu e92079cfe9 Add new option weechat.look.highlight_regex and function string_has_highlight_regex in plugin API (task #10321) 2010-11-25 21:28:14 +01:00
Sebastien Helleu 8b9abab711 Fix problem with /set on boolean options with value "toggle" 2010-11-24 22:03:55 +01:00
Sebastien Helleu 082e0251e2 Fix warning in irc-message.h 2010-11-21 13:07:33 +01:00
Sebastien Helleu c2fda185d8 Move some functions from irc-server.c and irc-protocol.c to irc-message.c 2010-11-21 13:06:37 +01:00
Sebastien Helleu 428e160f02 Update german translations 2010-11-20 00:14:11 +01:00
Sebastien Helleu 0f00fccc34 Update list of contributors 2010-11-19 23:44:13 +01:00
Sebastien Helleu 0aff0ef66f Fix high CPU usage during gnutls handshake 2010-11-19 21:27:00 +01:00
Sebastien Helleu b384b4257c Add some tags in FAQ to filter IRC messages displayed when joining channel 2010-11-19 15:48:24 +01:00
Sebastien Helleu 5b236c5658 Return an error when trying to set boolean option with invalid value 2010-11-19 14:56:25 +01:00
Sebastien Helleu aec97d2082 Add note about comma and "+" in help of options weechat.bar.xxx.items 2010-11-18 18:27:10 +01:00
Sebastien Helleu 50421cf27f Update user guide 2010-11-18 18:22:16 +01:00
Sebastien Helleu 917ce33ef1 Add note about strftime in help of options weechat.look.buffer_time_format and weechat.look.item_time_format 2010-11-18 18:21:26 +01:00
Gu1ll4um3r0m41n f15f114e4d Fix infinite loop on gnutls handshake when connecting with SSL to server on wrong port or server with SSL problems (bug #27487) 2010-11-18 17:35:08 +01:00
Sebastien Helleu 4d1c9a8315 Fix data sent to callback of hook_process, improve hook_process by using buffer
Fix: some data was sometimes missing (not sent to callback).
Improvement: use a 64KB buffer for child output and send data to callback only
when buffer is full.
2010-11-14 16:22:31 +01:00
Sebastien Helleu 2f45cbfb02 Add partial portuguese translations (pt_BR.po) 2010-11-13 10:16:10 +01:00
Sebastien Helleu ac9ab58542 Update german translations, FAQ and scripting guide 2010-11-12 22:05:58 +01:00
Sebastien Helleu c311090722 Fix bug with flags on irc raw buffer 2010-11-12 18:53:07 +01:00
Sebastien Helleu 525b8fb87a Fix dcc chat buffer name in xfer plugin (use irc server in name) (bug #29925) 2010-11-12 17:59:02 +01:00
Sebastien Helleu f874402089 Remove obsolete comments in xfer plugin 2010-11-12 17:33:57 +01:00
Sebastien Helleu fc91093065 Fix bug with priority (low/high) for irc messages (all messages were sent with low priority) 2010-11-12 17:28:10 +01:00
Sebastien Helleu f27f5a6cb0 Fix upgrade of relay clients in state "disconnected" (do not create any hook after /upgrade) 2010-11-12 10:19:41 +01:00
Sebastien Helleu 045c936e4d Fix color of buffer name in status bar after /upgrade for IRC servers connected with SSL 2010-11-12 10:18:44 +01:00
Sebastien Helleu 1a61495166 Set tag "notify_message" for messages sent to IRC channels 2010-11-12 09:21:43 +01:00
Sebastien Helleu 118f2918b3 Fix dcc file transfer for large files (more than 4 GB) on 32-bit systems (bug #31531)
This commit fixes another bug when file is sent: sometimes transfer was still
active although file was successfully sent.
2010-11-10 16:39:41 +01:00
Sebastien Helleu 11b3dd2874 Use type "unsigned long long" for API function string_format_size 2010-11-10 16:34:56 +01:00
Sebastien Helleu 9ff51e04eb Remove debug print of irc redirects in log file 2010-11-10 16:00:16 +01:00
Sebastien Helleu 09c62fe7d1 Update ChangeLog 2010-11-10 12:24:14 +01:00
Sebastien Helleu 9ea73fda4b Fix bug with /upgrade on ssl servers with prefix modes and chars
The value of isupport, prefix_modes and prefix_chars in irc server are now
removed on connection, not on disconnection.
2010-11-10 12:21:18 +01:00
Sebastien Helleu 3248833125 Search nicklist group without leading digits in irc plugin 2010-11-10 12:11:56 +01:00
Sebastien Helleu 97ea89c44f Allow search of nicklist group with name not including leading digits (for nicklist sort) 2010-11-10 12:11:31 +01:00
Sebastien Helleu 614b4dfc25 Fix zero byte malloc when joining a channel without nick 2010-11-10 11:38:39 +01:00
Sebastien Helleu 7eabbc6bb7 Fix crash when displaying groups in buffer nicklist 2010-11-10 11:37:30 +01:00
Sebastien Helleu c2b5076334 Add note about "%h" replaced by WeeChat home in some options 2010-11-09 22:44:00 +01:00
Sebastien Helleu 0b54d49306 Fix Tcl detection in autotools and cmake (look for tcl 8.5 or newer) (bug #30907) 2010-11-09 21:53:59 +01:00
Sebastien Helleu d4171e85e3 Update ChangeLog 2010-11-09 17:56:48 +01:00
Sebastien Helleu d3492db093 Fix irc topic completion in command /topic when channel topic starts with channel name 2010-11-09 17:55:55 +01:00
Sebastien Helleu ec38523bb3 Complete with alias value for second argument of command /alias 2010-11-09 15:52:50 +01:00
Sebastien Helleu 8c129779ac Add function "hook_completion_get_string" in plugin API 2010-11-09 15:45:14 +01:00
Sebastien Helleu 25879ca189 Move WeeChat core completions from gui-completion.c to wee-completion.c 2010-11-09 15:03:07 +01:00
Sebastien Helleu fed54c196e Update buffer local variables when irc server is renamed 2010-11-08 20:16:45 +01:00
Sebastien Helleu d478526b08 Add info "python2_bin" (path to python 2.x interpreter) in Python plugin 2010-11-08 15:10:13 +01:00
Sebastien Helleu 0b287f7e01 Add question in FAQ about hiding names when joining an IRC channel 2010-11-08 11:42:50 +01:00
Sebastien Helleu dc6e7a1c0f Add doc for some signals and hsignals in plugin API reference
Doc for signals:
- logger_backlog
- xxx_script_install
- xxx_script_remove
- irc_input_send

Doc for hsignals:
- irc_redirect_command
- irc_redirect_pattern
2010-11-08 11:04:55 +01:00
Sebastien Helleu b10bcabae1 Fix typo in help of options irc.look.notify_tags_ison and irc.look.notify_tags_whois 2010-11-07 09:31:20 +01:00
Sebastien Helleu 29097ad7eb Move examples at the end of /help logger 2010-11-06 13:53:12 +01:00
Sebastien Helleu e001c05710 Add IRC command /notify, new options for notify and infolist "irc_notify" (task #5441)
This commit provides:
- new IRC command /notify
- new options: irc.look.notify_tags_ison, irc.look.notify_tags_whois,
  irc.network.notify_check_ison, irc.network.notify_check_whois
- new option "notify" in servers (but should not be changed, only /notify
  command should be used)
- infolist "irc_notify" to get notify list (by server or for all servers).
2010-11-06 11:38:48 +01:00
Sebastien Helleu a56dc00b2f Set highlight flag on line printed if there is tag "notify_highlight" 2010-11-05 12:13:00 +01:00
Sebastien Helleu a3d84a8e9e Update german and italian translations 2010-11-01 22:27:30 +01:00
Sebastien Helleu b1416957da Write ignore list in debug file when dumping irc data 2010-11-01 12:01:27 +01:00
Sebastien Helleu b3365a7a71 Fix return code values in plugin API reference for some config callbacks 2010-11-01 10:49:38 +01:00
Sebastien Helleu 60c1b6ea83 Use constant WEECHAT_RC_OK instead of 0 in function command_reload_file 2010-11-01 10:21:56 +01:00
Sebastien Helleu ac6b299e8b Remove dead assignments 2010-10-31 18:23:16 +01:00
Sebastien Helleu 06b48ccf83 Add 2 "return" to make C static analyzer happy 2010-10-31 18:22:10 +01:00
Sebastien Helleu 2378e4c2db Remove test on pointer which can't be NULL 2010-10-31 18:21:10 +01:00
Sebastien Helleu 90589b2d71 Add extra checks on some pointers 2010-10-31 18:19:53 +01:00
Sebastien Helleu 911f90e792 Remove function gui_input_move 2010-10-31 18:18:09 +01:00
Sebastien Helleu 4d25e4e0fd Replace unneeded function gui_input_move by memmove 2010-10-31 18:14:28 +01:00
Sebastien Helleu d58024ecec Check that buffer pointer is not NULL in upgrade_file_read_buffer 2010-10-31 18:12:18 +01:00
Sebastien Helleu fce371e22a Remove unused variables 2010-10-31 18:10:51 +01:00
Sebastien Helleu e442182a96 Remove unneeded assignments in ruby and lua API functions 2010-10-31 11:56:22 +01:00
Sebastien Helleu fdc5fa1b14 Fix bug with default value in config option infolist 2010-10-30 15:07:00 +02:00
Sebastien Helleu 24fa337181 Fix target buffer used to display IRC message 327 (whois, host) 2010-10-30 10:41:12 +02:00
Sebastien Helleu 0e315a81ad Fix crash when unloading lua script 2010-10-30 10:38:19 +02:00
Sebastien Helleu b4f63e70af Update ChangeLog 2010-10-29 23:28:02 +02:00
Sebastien Helleu fcc209a8bf Add new option irc.look.nick_color_force 2010-10-29 23:25:05 +02:00
Sebastien Helleu 90c99339b4 Return empty string in API function weechat_color when color is unknown 2010-10-29 23:21:57 +02:00
Sebastien Helleu 804551122a Use function nicklist_nick_set to change nick color (instead of removing/adding nick in nicklist) 2010-10-29 18:41:06 +02:00
Sebastien Helleu 32db2eac25 Add new functions in plugin API to get/set nicks/groups properties in nicklist
8 new functions added:
- nicklist_group_get_integer
- nicklist_group_get_string
- nicklist_group_get_pointer
- nicklist_group_set
- nicklist_nick_get_integer
- nicklist_nick_get_string
- nicklist_nick_get_pointer
- nicklist_nick_set
2010-10-29 18:40:25 +02:00
Sebastien Helleu 488de9895b Fix display of nick in nicklist when groups are displayed and nick has "visible" to 0 2010-10-29 18:37:46 +02:00
Sebastien Helleu 908d9ca602 Add refresh when buffer property "nicklist_display_groups" is changed 2010-10-28 19:35:14 +02:00
Sebastien Helleu 5e5a926e99 Fix bug when counting number of groups/nicks displayed in nicklist 2010-10-28 19:32:57 +02:00
Sebastien Helleu 90f06b348e Improve IRC nick prefixes, all modes (even unknown) are used with PREFIX value from message 005 2010-10-28 18:52:18 +02:00
Sebastien Helleu 666d4530f7 Update ChangeLog 2010-10-26 23:07:44 +02:00
Sebastien Helleu ff79164350 Use IRC command arguments instead of full message for IRC redirection (when searching "string" in message) 2010-10-25 14:20:28 +02:00
Sebastien Helleu 4e6c4ceb5f Add irc modifier and irc_parse_message in scripting guide 2010-10-25 13:09:11 +02:00
Sebastien Helleu e5afd593ab Fix default value of bar items options (bug #31422) 2010-10-23 12:29:43 +02:00
Sebastien Helleu 868df21122 Add IRC command redirection (task #6703) 2010-10-23 09:54:31 +02:00
Sebastien Helleu 0cf04dca7c Add new functions in plugin API: hook_hsignal and hook_hsignal_send 2010-10-23 08:58:18 +02:00
Sebastien Helleu 6e126937bc Fix problem with day change message, which can be displayed twice
Day of month is saved in a variable to be used later (after signal is sent).
So that is content of static structure has changed, it will not be a problem,
it will not be used any more after signal.
2010-10-21 23:26:33 +02:00
Sebastien Helleu e867e96587 Add missing function "infolist_reset_item_cursor" in scripting guide 2010-10-20 13:11:24 +02:00
Sebastien Helleu 073dff330d Fix use of flags for irc_server_sendf in signal irc_input_send 2010-10-19 21:19:42 +02:00
Sebastien Helleu 775a2befd9 Fix color of comma in hotlist bar item 2010-10-18 22:00:51 +02:00
Stefano Pigozzi e86ef9af6f Fix scripts loading with Ruby 1.9.2 2010-10-17 11:43:26 +02:00
Sebastien Helleu ebf94445b9 Use const void * for keys and values in some hashtable functions 2010-10-17 10:39:51 +02:00
Sebastien Helleu eff0f9abdb Fix crash in hashtable_get_string with "values" or "keys_values" when some values in hashtable are NULL 2010-10-16 11:30:42 +02:00
Sebastien Helleu 880163d784 Fix crash when channel topic is removed if it was already empty (if option irc.look.display_old_topic is on) 2010-10-16 07:57:40 +02:00
Sebastien Helleu ee37060734 Update polish translations (patch from Piotr Szymaniak) 2010-10-16 00:09:53 +02:00
Sebastien Helleu 9186a5b7e3 Add properties "values" and "keys_values" for hashtable_get_string (return string with list of values or keys/values) 2010-10-15 23:48:45 +02:00
Sebastien Helleu 79c8c90256 Fix bug with buffer name in "/bar scroll" command 2010-10-15 16:06:17 +02:00
Sebastien Helleu 3412b71959 Update german FAQ and translations 2010-10-13 20:02:05 +02:00
Sebastien Helleu 26e98da4cb Add new options irc.color.nick_prefix and irc.color.nick_suffix 2010-10-13 08:41:03 +02:00
Sebastien Helleu 34d14e649e Add release notes with IRC options renamed in NEWS file 2010-10-12 18:43:30 +02:00
Sebastien Helleu 0e68117b37 Add new option weechat.look.hotlist_unique_numbers (task #10691) 2010-10-12 18:22:11 +02:00
Sebastien Helleu 6e695ebe65 Add new option irc.look.item_away_message 2010-10-12 08:31:12 +02:00
Sebastien Helleu 000a222378 Remove unneeded spaces 2010-10-11 16:34:01 +02:00
Sebastien Helleu fe2a361364 Add property "no_highlight_nicks" in buffers to disable highlight for some nicks in buffer
This can be used with script buffer_autoset.py (see /help autosetbuffer).
2010-10-11 16:29:15 +02:00
Sebastien Helleu f32e18c717 Add function "hashtable_has_key" in WeeChat and plugin API 2010-10-11 13:56:57 +02:00
Sebastien Helleu b9d6c5c5a0 Add property "keys" for hashtable_get_string (return string with list of keys) 2010-10-10 19:44:29 +02:00
Sebastien Helleu cbcc89cb26 Add missing new line in an italian translation 2010-10-10 19:32:47 +02:00
Sebastien Helleu 773bdc8d18 Allow null value for hashtable entries 2010-10-10 17:49:47 +02:00
Sebastien Helleu 8d6c5e9e4c Add tag "nick_xxx" in IRC messages 2010-10-10 17:39:15 +02:00
Sebastien Helleu 4171da77ef Fix typo in french translation 2010-10-10 12:24:40 +02:00
Sebastien Helleu 88aa0757ca Update name of IRC options for away check in FAQ 2010-10-10 12:06:02 +02:00
Sebastien Helleu e2f58820fe Allow script functions "prefix" and "color" when script is not yet registered with "register" 2010-10-10 10:04:37 +02:00
Sebastien Helleu 85f6444fef Use local buffer in print functions, so that they are reentrant 2010-10-09 21:56:14 +02:00
Sebastien Helleu e1ffb1f70f Fix crash when API function is called in Perl script before "register" 2010-10-09 17:18:56 +02:00
Sebastien Helleu b114d88687 Move some IRC options from network section to server section (task #10664, task #10668)
Options moved: connection_timeout, anti_flood_prio_high, anti_flood_prio_low,
away_check, away_check_max_nicks, default_msg_part, default_msg_quit.
2010-10-09 16:53:06 +02:00
Sebastien Helleu 6e89c47bf1 Switch to next server address when IRC error is received after TCP connection but before message 001 (bug #30884) 2010-10-08 18:31:17 +02:00
Sebastien Helleu 321210ff6e Fix display of IRC message "ERROR", fix detection of closed link ("Closing Link" after ERROR) 2010-10-07 18:31:21 +02:00
Sebastien Helleu a36abbfe0e Fix HTML output of ChangeLog 2010-10-07 14:56:54 +02:00
Sebastien Helleu 97a8a30a3d Rename options "irc.look.open_{channel|pv}_near_server" to "irc.look.new_{channel|pv}_position" with new values (none, next or near_server) 2010-10-07 14:48:45 +02:00
Sebastien Helleu 36736564ab Fix crash/bug when option "addresses" for an IRC server is unset or changed when WeeChat is connected to this server (bug #31268) 2010-10-07 13:15:49 +02:00
Sebastien Helleu 55b5130a87 Display old IRC channel topic when topic is unset (task #9780) 2010-10-06 18:27:48 +02:00
Sebastien Helleu 8ba491e427 Optimize incremental search in buffer: do not search any more when chars are added to a text not found (bug #31167) 2010-10-06 11:26:33 +02:00
Sebastien Helleu c3c767c164 Revert last commit about "buffer_switch" signal (introduced new refresh bugs on bars) 2010-10-06 10:38:05 +02:00
Sebastien Helleu bd39c8fa85 Fix signal "buffer_switch" (was sent twice when switching buffer) (bug #31158) 2010-10-05 21:48:54 +02:00
Sebastien Helleu 9605a8726f Add new option weechat.look.prefix_align_min (task #10650) 2010-10-02 00:29:19 +02:00
Sebastien Helleu 5ef4ecb5ab Add missing tag "no_log" in /help filter 2010-10-01 08:05:38 +02:00
Sebastien Helleu b3b0f2d31c New value for option weechat.look.input_share (none, commands, text, all), add new option weechat.look.input_share_overwrite (boolean) 2010-09-28 11:09:52 +02:00
Sebastien Helleu c38df378d6 Update german translations, FAQ, user and quickstart guide 2010-09-28 09:37:47 +02:00
Sebastien Helleu 139a1896d7 Add question about OS X and broken display in FAQ 2010-09-27 18:20:16 +02:00
Sebastien Helleu e2a078a0b9 Reset infolist item cursor in callbacks for signals sending infolist pointer 2010-09-27 17:33:22 +02:00
Sebastien Helleu 7a56040c5d Update ChangeLog 2010-09-27 16:35:58 +02:00
Sebastien Helleu c3be323a73 Fix memory leak in function gui_buffer_set_highlight_words_list 2010-09-27 16:35:14 +02:00
Sebastien Helleu 4a97ea68f5 Free hashtable with local variables when closing buffer (memory leak) 2010-09-27 16:17:56 +02:00
Sebastien Helleu ccd6a81f0b Fix memory leak when removing item in hashtable 2010-09-27 16:17:16 +02:00
Sebastien Helleu bd7ae6d5a7 Add new option weechat.look.input_share (task #9228) 2010-09-27 16:07:27 +02:00
Sebastien Helleu 91343167cd Fix use of unitialized value when setting new value to config option 2010-09-27 15:25:56 +02:00
Sebastien Helleu 08e7b53eeb Use lower case for keys in doc and ChangeLog 2010-09-23 13:33:09 +02:00
Sebastien Helleu e102a7e2f9 Update italian translations and docs 2010-09-22 21:44:07 +02:00
Sebastien Helleu 86323231fd Add missing function "infolist_reset_item_cursor" in script API (bug #31057) 2010-09-21 17:31:27 +02:00
Sebastien Helleu 051788f731 Send channel topic to relay client when joining a channel 2010-09-20 22:49:11 +02:00
Sebastien Helleu 1d3c3ffb92 Fix formatting bug in html doc with description of options (bug #31076) 2010-09-20 20:32:01 +02:00
Sebastien Helleu 4ece2db629 Fix crash on /upgrade when upgrade file is not found 2010-09-20 16:59:47 +02:00
Sebastien Helleu 324963dc4c Update ChangeLog 2010-09-19 10:23:51 +02:00
JD Horelick 9f7919ef05 Fix Ruby plugin compilation with Ruby 1.9.2 2010-09-19 08:52:15 +02:00
Sebastien Helleu 944a38ffbd Fix order of relay clients after /upgrade 2010-09-18 21:57:29 +02:00
Sebastien Helleu d5db1ac743 Remove unused variable 2010-09-18 21:45:31 +02:00
Sebastien Helleu 0100856251 Add support of /upgrade in Relay plugin 2010-09-18 21:44:26 +02:00
Sebastien Helleu 5b04d4123c Close relay server sockets on /upgrade 2010-09-18 09:36:50 +02:00
Sebastien Helleu 43cc44abca Fix problem when removing relay server (socket was closed, but option relay.port.xxx not removed) 2010-09-18 09:25:59 +02:00
Sebastien Helleu a20ae821da Add new option relay.network.bind_address 2010-09-17 20:16:08 +02:00
Sebastien Helleu bf98885506 Update ChangeLog 2010-09-17 17:04:13 +02:00
Sebastien Helleu 914e3bcc9e Add new option relay.network.password 2010-09-17 16:44:35 +02:00
Sebastien Helleu 8b26f3c953 Add optional plugin name for command /debug dump and signal "debug_dump" 2010-09-17 16:12:41 +02:00
Sebastien Helleu efcc5010b6 Update german user guide 2010-09-17 15:32:13 +02:00
Sebastien Helleu 83552cc882 Fix uninitialized variable 2010-09-17 14:53:25 +02:00
Sebastien Helleu d2d60d4711 Beta version of IRC proxy feature in Relay plugin
Major changes in Relay plugin:
- IRC proxy feature (beta),
- raw buffer.

Changes in IRC plugin:
- add tags for messages sent to servers,
- add signal "irc_input_send" to simulate text/command on an IRC buffer,
- add prefix in infolist "irc_nick".
2010-09-17 14:47:36 +02:00
Sebastien Helleu 26a99c2912 Check immediately away nicks on all servers/channels if option irc.network.away_check is changed from 0 to any other value 2010-09-12 10:44:16 +02:00
Sebastien Helleu 5d0ad1f631 Do not send WHO on channel joined (to check away nicks) if option irc.network.away_check is set to 0 2010-09-12 10:42:29 +02:00
Sebastien Helleu edb839732e Update german translations and user guide 2010-09-08 22:18:45 +02:00
Sebastien Helleu 691395949f Fix compilation of Ruby plugin with ruby <= 1.8.6 (bug #30967) 2010-09-08 20:49:14 +02:00
Sebastien Helleu 543ec96bcc Fix compilation error and warning with Python 2.5 2010-08-27 16:21:36 +02:00
Sebastien Helleu 712623547f Add new functions in plugin API (hashtable_get_string, hook_info_hashtable, info_get_hashtable), add IRC info_hashtable "irc_parse_message"
Note: tcl >= 8.5 is now required (for tcl plugin).
2010-08-27 15:59:06 +02:00
Sebastien Helleu bb42984f5d Fix bug with hostmasks in IRC command /ignore (bug #30716) 2010-08-20 10:22:32 +02:00
Sebastien Helleu 3402de02b0 Add help about values for /help weechat.look.buffer_notify_default 2010-08-14 12:29:43 +02:00
Sebastien Helleu 6cc44124cb Add note about regex (split into 2 regex) in /help filter 2010-08-14 12:20:02 +02:00
Sebastien Helleu 559b5b3f47 Update user guide 2010-08-14 12:04:58 +02:00
Sebastien Helleu 2b9fdf4c6e Add info about upgrade process in /help upgrade 2010-08-14 11:58:59 +02:00
Sebastien Helleu a6cd860b5a If null value is allowed for an option, display it in /help option 2010-08-14 11:44:08 +02:00
Sebastien Helleu 776329b93f Rename cmake options DISABLE_XXX to ENABLE_XXX 2010-08-13 23:35:30 +02:00
Sebastien Helleu 3950a60e87 Use window pointers instead of buffer pointers in gui-input.c 2010-08-12 18:24:52 +02:00
Sebastien Helleu 94acf64f8c Use similar behaviour for keys bound to local or global history (bug #30759) 2010-08-12 17:38:59 +02:00
Sebastien Helleu 50ac22c16e Add note about up/down arrows for key ctrl-R in user guide 2010-08-12 16:02:12 +02:00
Sebastien Helleu 65a8317153 Add hook priority in plugin API reference 2010-08-12 12:54:25 +02:00
Sebastien Helleu 0890179398 Fix another bug with hook priority (for commands) 2010-08-12 11:02:10 +02:00
Sebastien Helleu c9f94e6f0a Fix bug with order of hooks: for equal priority, hook is added at the end of the list 2010-08-12 10:59:21 +02:00
Sebastien Helleu 6317dba790 Add priority for hooks (task #10550) 2010-08-11 18:42:38 +02:00
Sebastien Helleu d59d099e82 Add new plugin "rmodifier": alter modifier strings with regular expressions (bug #26964) 2010-08-11 15:43:20 +02:00
Sebastien Helleu 6f063c95f1 Version 0.3.4-dev 2010-08-07 11:03:07 +02:00
Sebastien Helleu b0618fdc68 Version 0.3.3 2010-08-07 09:48:29 +02:00
Sebastien Helleu bdd4557d56 Add missing autogen files for german user guide 2010-08-06 22:34:31 +02:00
Sebastien Helleu 256366ae34 Update polish translations 2010-08-06 20:54:03 +02:00
Sebastien Helleu f11549f654 Fix display bug with special chars (ascii value below 32) (bug #30602) 2010-08-06 19:02:25 +02:00
Sebastien Helleu 2fb864b8f8 Update german scripting guide 2010-08-05 17:25:31 +02:00
Sebastien Helleu 4b25175b13 Fix typo in german scripting guide 2010-08-05 14:03:35 +02:00
Sebastien Helleu f73f57909b Add german scripting guide 2010-08-05 14:01:00 +02:00
Jiri Golembiovsky 06b166c07a Updated czech translations 2010-08-04 22:35:17 +02:00
Sebastien Helleu ff5c707b64 Do not connect to server after creating it with /server add (even if autoconnect is on) 2010-08-04 21:23:58 +02:00
Sebastien Helleu 4b44b2c9f5 Update ChangeLog 2010-08-04 21:15:30 +02:00
Sebastien Helleu 4bf87649dc Fix typo in english scripting guide 2010-08-04 21:12:23 +02:00
Sebastien Helleu 88b8767eed Fix bug with version number when version ends with "-rcX" 2010-08-03 23:37:05 +02:00
Sebastien Helleu 7906410904 Version 0.3.3-rc3 2010-08-03 18:39:58 +02:00
Sebastien Helleu b7dfda9d4d Fix bug in IRC parser when no argument is received after command, no callback was called, and message was silently ignored (bug #30640) 2010-08-03 17:59:12 +02:00
Sebastien Helleu 36d1aac9bd Remove obsolete comment 2010-08-01 18:17:09 +02:00
Sebastien Helleu 972e8bc4a8 Replace TODO by FIXME in comments 2010-08-01 18:16:55 +02:00
Sebastien Helleu 1c5a4f7a6c Update spanish translations 2010-07-30 17:13:43 +02:00
Sebastien Helleu 167377d25d Add update of item "buffer_title" when switching to other buffer (fix problem when item is used in a root bar) 2010-07-30 14:19:48 +02:00
Sebastien Helleu 32ed39d5c4 Update italian translations 2010-07-29 18:20:03 +02:00
Sebastien Helleu 4007a2d7c1 Update italian translations and scripting guide 2010-07-29 14:11:54 +02:00
Sebastien Helleu 7512ae4b1f Add example of printed message with tag "no_log" in scripting guide 2010-07-28 11:59:19 +02:00
Sebastien Helleu 734fe231c9 Use tags "no_log" and "cmd_history" for output of command /history (output is not logged and can be filtered on tag) 2010-07-28 11:33:11 +02:00
Sebastien Helleu a45048bfbf Use tag "no_log" in logger plugin to prevent a line from being written in log file 2010-07-28 11:20:22 +02:00
Sebastien Helleu 2c16dc8abc Update german translations 2010-07-27 18:05:26 +02:00
Sebastien Helleu 097676d72b Version 0.3.3-rc2 2010-07-27 09:49:08 +02:00
Sebastien Helleu a7468c0d65 Update italian plugin API reference 2010-07-25 13:12:58 +02:00
Sebastien Helleu 95c5ca9a96 Fix import of certificates created by openssl >= 1.0.0 (bug #30316) 2010-07-25 12:54:26 +02:00
Sebastien Helleu b153d82b78 Remove unneeded spaces and tabs 2010-07-19 15:36:51 +02:00
Jiri Golembiovsky eaa54488ca Updated czech translations 2010-07-18 17:09:11 +02:00
Sebastien Helleu eb2beeacc5 Fix bug with double quotes in DCC filenames (bug #30471) 2010-07-18 10:05:38 +02:00
Sebastien Helleu aef695e0e8 Fix help of option irc.look.nick_color_stop_chars (problem in generated asciidoc file) 2010-07-17 21:38:04 +02:00
Sebastien Helleu 65439e9346 Update plugin API reference: add "New in version x.y.z" for some functions, add missing functions 2010-07-17 17:47:52 +02:00
Sebastien Helleu 22430bfee3 Update string with plugin API version 2010-07-17 13:45:33 +02:00
Sebastien Helleu ef7958df6e Replace single quotes by double quotes in ChangeLog 2010-07-17 13:35:42 +02:00
Sebastien Helleu 077f1d9fe7 Update docs 2010-07-17 10:30:43 +02:00
Sebastien Helleu 2c870934ba Update italian translations and plugin API reference 2010-07-17 10:29:05 +02:00
Sebastien Helleu 54468b8ef3 Add new option irc.look.nick_color_stop_chars 2010-07-17 10:21:25 +02:00
Sebastien Helleu 8dc23863c5 Use '!' to reverse a regex in a filter (to keep lines matching regex and hide other lines) 2010-07-16 19:45:14 +02:00
Sebastien Helleu 790b1cdf1a Version 0.3.3-rc1 2010-07-16 09:07:02 +02:00
Sebastien Helleu ab780803dc Update german translations 2010-07-15 09:10:52 +02:00
Sebastien Helleu 6a536720e6 Fix typo in english plugin API reference 2010-07-12 09:44:57 +02:00
Sebastien Helleu 7e6088570b Add new option weechat.look.align_end_of_lines 2010-07-12 09:43:16 +02:00
Sebastien Helleu d2d4cc97ec Fix oftc address in quickstart guide 2010-07-08 17:21:05 +02:00
Sebastien Helleu 1c5f800d99 Update ChangeLog with patch #7218 2010-07-07 17:55:17 +02:00
Sebastien Helleu 46fdee19b0 Fix bug with replacement char in API function string_remove_color (bug #30296) 2010-07-07 15:44:02 +02:00
Sebastien Helleu 869e4448b9 Improve output of /plugin list and listfull 2010-07-07 12:06:20 +02:00
Sebastien Helleu f4952f5588 Update german translations 2010-07-06 18:23:40 +02:00
Sebastien Helleu 558ca510f7 Fix display of local SSL certificate when it is sent to IRC server 2010-07-06 13:36:23 +02:00
Sebastien Helleu a31d01a46d Add note about option irc.network.lag_min_show (now in milliseconds) in NEWS file 2010-07-06 12:24:27 +02:00
Sebastien Helleu aefa40836b Improve irc lag indicator: two colors (counting and finished), update item even when pong has not been received, lag_min_show is now in milliseconds 2010-07-06 12:17:30 +02:00
Sebastien Helleu 86e503b640 Add function hashtable_add_to_infolist in plugin API reference 2010-07-05 18:13:35 +02:00
Sebastien Helleu 94fbbc0a7f Use of hashtable for local variables of buffers 2010-07-05 17:05:49 +02:00
Sebastien Helleu cb18bdb10b Add hashtable in core and plugin API 2010-06-28 10:40:30 +02:00
Sebastien Helleu ff97274bca Add string "weelist" in dump of weelist to log file 2010-06-28 10:39:34 +02:00
Sebastien Helleu dcdba08f8a Update comments after #endif in C headers 2010-06-25 15:03:39 +02:00
Sebastien Helleu 6562d676fe Update licenses and copyrights, add missing author names in sources 2010-06-22 19:46:28 +02:00
Sebastien Helleu 97c41c60a4 Fix bug with fifo pipe when setting fifo option to "on" 2010-06-18 17:45:50 +02:00
Sebastien Helleu de49e31965 Add IRC info "irc_nick_color_name" to get color name of a nick 2010-06-15 14:13:59 +02:00
Sebastien Helleu 44c95288ab Update italian translations 2010-06-14 10:23:59 +02:00
Sebastien Helleu 664da8318f Add german user guide 2010-06-14 10:16:34 +02:00
Sebastien Helleu 5832b0789c Update polish translations 2010-06-14 09:52:49 +02:00
Sebastien Helleu 63bc14e805 Fix refresh of bar item when it is used more than one time in a bar 2010-06-11 17:00:07 +02:00
Sebastien Helleu b54af6af0b Fix display bug with attributes like underlined in bars (bug #29889) 2010-06-11 16:52:10 +02:00
Sebastien Helleu adf74ec691 Add note about binary package weechat-dbg in doc, for reporting crashs with gdb 2010-06-11 13:05:28 +02:00
Sebastien Helleu e7d1485c5a Use empty real name by default in IRC config, instead of reading real name in /etc/passwd (bug #30111) 2010-06-11 11:47:28 +02:00
Sebastien Helleu 9def214c11 Add some notes for translators in gettext files 2010-06-10 12:41:28 +02:00
Sebastien Helleu 5528243362 Fix display of IRC message 333 on some servers 2010-06-10 12:13:26 +02:00
Sebastien Helleu 7e0230e3ed Update german translations 2010-06-10 09:47:27 +02:00
Sebastien Helleu acbfb55ef5 Add new options irc.look.display_host_join/join_local/quit and irc.color.reason_quit 2010-06-08 16:51:57 +02:00
Sebastien Helleu 6c17328bdf Fix bug with scroll_unread: do not scroll to a filtered line (bug #29991) 2010-06-04 13:46:33 +02:00
Sebastien Helleu ff0a798634 Move options weechat.color.nicklist_prefix to irc plugin
Options renamed or removed:
- weechat.color.nicklist_prefix1 renamed to irc.color.nick_prefix_op
- weechat.color.nicklist_prefix2 renamed to irc.color.nick_prefix_halfop
- weechat.color.nicklist_prefix3 renamed to irc.color.nick_prefix_voice
- weechat.color.nicklist_prefix4 renamed to irc.color.nick_prefix_user
- weechat.color.nicklist_prefix5 removed
2010-06-04 12:35:25 +02:00
Sebastien Helleu 4a61dc9633 Fix bug with command-line option "irc://" (bug #29990), new format for port and channels 2010-06-02 15:17:54 +02:00
Sebastien Helleu e46fc21129 Add missing IRC commands 346, 347 (channel invite list) 2010-06-01 15:28:01 +02:00
Sebastien Helleu aa4a40247c Fix display of IRC message 330 on some servers 2010-06-01 12:20:33 +02:00
Sebastien Helleu eb7ac36bc0 Add missing include of time.h 2010-05-29 13:29:18 +02:00
Sebastien Helleu b36ed39388 Fix bug with nick prefix '*' (chan founder) on some IRC servers (bug #29890) 2010-05-29 09:18:19 +02:00
Sebastien Helleu f93eec488e Fix display bug with description of option in /help option if description is empty 2010-05-26 16:19:05 +02:00
Sebastien Helleu 114fe22a80 Add new option weechat.look.confirm_quit 2010-05-26 15:16:24 +02:00
Sebastien Helleu 5f37c28018 Fix typo in /help wallchops 2010-05-24 10:02:29 +02:00
Sebastien Helleu 69ca70cbc7 Update italian files 2010-05-24 09:58:31 +02:00
Sebastien Helleu 64d7fa7e51 Fix bug with option irc.network.lag_check when value is 0 (zero) 2010-05-23 12:18:45 +02:00
Sebastien Helleu f51ec651d3 Add note about new command /wallchops in NEWS file 2010-05-23 10:07:46 +02:00
Sebastien Helleu 7bb9892e86 Add IRC command /wallchops, fix bug with display of notice for ops (task #10021, bug #29932) 2010-05-23 10:01:38 +02:00
Sebastien Helleu 3c17e9e272 Update german translations 2010-05-22 22:29:40 +02:00
Sebastien Helleu 2dee40dd1a Add isupport value in IRC servers (content of IRC message 005), with new infos: irc_server_isupport and irc_server_isupport_value 2010-05-22 10:51:43 +02:00
Sebastien Helleu 6253e3ac37 Add optional message in IRC private buffer when nick is back on server after a /quit
New option: "irc.look.display_pv_back" (default value is "on").
Option "irc.look.show_away_once" has been renamed to "irc.look.display_pv_away_once".
2010-05-21 18:19:02 +02:00
Sebastien Helleu 61886d9455 Remove unneeded tabs in es.po and it.po 2010-05-20 12:36:53 +02:00
Sebastien Helleu 732f58d776 Add examples in /help join 2010-05-20 12:23:50 +02:00
Sebastien Helleu 4616ca981e Add function "string_expand_home" in plugin API, fix bug with replacement of home in paths 2010-05-02 18:21:58 +02:00
Sebastien Helleu 1836b40a4a Move option irc.color.item_buffer_name_ssl to core (new name: weechat.color.status_name_ssl) 2010-05-01 12:26:59 +02:00
Sebastien Helleu 1dd211da9a Replace command "bt" by "bt full" for reporting crashes with gdb in user guide 2010-05-01 11:48:02 +02:00
Sebastien Helleu 8875c167d7 Fix crash with hook_process (when timer is called on a deleted hook process) 2010-05-01 11:15:16 +02:00
Sebastien Helleu 0e86f684a5 Update italian user guide 2010-04-29 10:47:08 +02:00
Sebastien Helleu f1dfe08243 Add keys for undo/redo changes on command line (default: ctrl/alt + underscore) (task #9483) 2010-04-28 23:24:32 +02:00
Sebastien Helleu 87d29b1987 Add new options irc.network.autoreconnect_delay_growing and irc.network.autoreconnect_delay_max (task #10338) 2010-04-21 23:24:05 +02:00
Sebastien Helleu 9cbcc24d4c Add new option irc.color.item_buffer_name_ssl (task #10339) 2010-04-20 22:19:43 +02:00
Sebastien Helleu b06c02f199 Try other nick when connecting to IRC server and receiving message 437 (nick unavailable) 2010-04-20 22:07:59 +02:00
Sebastien Helleu 03fb1c94b3 Set buffer local variable "away" when opening new IRC channel (bug #29618) 2010-04-20 21:09:50 +02:00
Sebastien Helleu ba115ce113 Replace "joker" by "wildcard" 2010-04-18 23:52:32 +02:00
Sebastien Helleu 0f3a315405 Version 0.3.3-dev 2010-04-18 11:12:54 +02:00
Sebastien Helleu 18339e9608 Version 0.3.2 2010-04-18 10:16:19 +02:00
Sebastien Helleu 5bd729d6a0 Add missing file cmake/FindGcrypt.cmake in packages built by autotools 2010-04-18 09:55:45 +02:00
Sebastien Helleu 26041f4a1c Update polish translations and FAQ 2010-04-16 22:04:03 +02:00
Sebastien Helleu 9eaea6bc19 Update italian autogen files for doc 2010-04-15 11:39:57 +02:00
Sebastien Helleu fed65826b5 Update italian docs and translations 2010-04-15 11:24:51 +02:00
Sebastien Helleu 4456a6047f Remove unused variable 2010-04-14 19:25:59 +02:00
Sebastien Helleu 1dba2c8c92 Fix crash on /quit when scrolling in buffer and if first line displayed was from a plugin 2010-04-14 19:24:54 +02:00
Sebastien Helleu 42b9038919 Update spanish translations 2010-04-14 18:29:13 +02:00
Sebastien Helleu aeee1856eb Fix bug with perl script filename when multiplicity is disabled (bug #29530) 2010-04-13 00:02:07 +02:00
Sebastien Helleu acca17d142 Fix display of perl errors (use tab to force empty prefix on message) 2010-04-12 15:29:30 +02:00
Sebastien Helleu ea3588a8d7 Fix crash on /quit or unload of Perl plugin under FreeBSD and Cygwin (bug #29467) 2010-04-12 14:08:26 +02:00
Sebastien Helleu 339e42df76 Fix bug with writing of configuration files under Cygwin 2010-04-12 14:06:33 +02:00
Sebastien Helleu ea5fa86793 Update italian scripting guide 2010-04-11 20:10:40 +02:00
Sebastien Helleu ca76653a2c Update german translations 2010-04-11 14:32:38 +02:00
Sebastien Helleu 1df46609ce Add italian scripting guide 2010-04-11 13:17:03 +02:00
Jiri Golembiovsky b1fa81468e Updated czech translations 2010-04-10 21:58:58 +02:00
Sebastien Helleu 9c0eb33213 Version 0.3.2-rc1 2010-04-10 12:47:06 +02:00
Sebastien Helleu 030ac33005 Use tag "no_highlight" for CTCP replies 2010-04-10 12:39:56 +02:00
Sebastien Helleu c33f0e60ea Define WeeChat license as macro for C compiler, used in plugins to set license 2010-04-09 15:39:52 +02:00
Sebastien Helleu 31bfcf96c7 Reformat and add comments for description of C sources 2010-04-08 18:15:00 +02:00
Sebastien Helleu 9394a78e39 Fix typo in description of modifier "history_add" 2010-04-08 17:16:38 +02:00
Sebastien Helleu a6f37da576 Add buffer pointer as string in modifier_data for modifier "history_add" 2010-04-08 16:49:19 +02:00
Sebastien Helleu d52f051ec1 Add modifier "history_add" (text added to buffer or global history) 2010-04-08 15:27:47 +02:00
Sebastien Helleu 45c0cc7e7e Define list of default aliases as an array 2010-04-08 14:29:12 +02:00
Sebastien Helleu 3fc11807f9 Update italian doc and translations 2010-04-08 10:24:05 +02:00
Sebastien Helleu 2e82d65819 Fix comment in wee-config-file.c 2010-04-06 14:11:35 +02:00
Sebastien Helleu fab6ac61ee Use tag "no_highlight" for backlog lines printed by logger plugin 2010-04-05 22:41:15 +02:00
Sebastien Helleu 9399c9f9cb Add missing properties "highlight_words_add" and "highlight_words_del" in array gui_buffer_properties_set 2010-04-05 13:45:59 +02:00
Sebastien Helleu 9017a23013 Add option "-open" for IRC command /connect 2010-04-05 13:03:11 +02:00
Sebastien Helleu a6e819f790 Update german translations 2010-04-04 12:31:56 +02:00
Sebastien Helleu 2a37b44ae1 Reformat NEWS file with style of ChangeLog 2010-04-04 12:19:03 +02:00
Sebastien Helleu eccb4703cf Add note about upgrading to version 0.3.2 in NEWS file 2010-04-03 19:50:24 +02:00
Sebastien Helleu 09939a1b4b Fix display of empty nicklist in IRC private buffers 2010-04-03 19:49:36 +02:00
Sebastien Helleu 19d74e18a5 Add highlight word "$nick" instead of real nick in IRC and xfer plugins 2010-04-03 19:11:55 +02:00
Sebastien Helleu 96f49f39e0 Add or remove highlight words in a buffer with "highlight_words_add" and "highlight_words_del" (for buffer_set) 2010-04-03 19:11:02 +02:00
Sebastien Helleu 187381f1d1 Allow buffer local variables in highlight words (option "weechat.look.highlight" and buffer property "highlight_words")
For example "$nick" with highlight a message printed if it contains content of local variable "nick" for buffer.
2010-04-03 17:25:13 +02:00
Sebastien Helleu 915d4801f6 Change buffer properties only when buffer is created by IRC plugin (channels and raw buffer), do not change them after /upgrade 2010-04-03 16:52:37 +02:00
Sebastien Helleu df0d408ce9 Add option "get" for command /buffer, add completions with buffer properties 2010-04-03 16:05:39 +02:00
Sebastien Helleu 1c80407f0f Fix help of option weechat.plugin.autoload 2010-03-31 23:40:59 +02:00
Sebastien Helleu 848cce2c8a Improve plugins autoload (option weechat.plugin.autoload): allow to use "*" as joker and "!" to prevent a plugin from being autoloaded (task #6361)
Some examples for option weechat.plugin.autoload:
- load all plugins (default): "*"
- load only alias, charset, irc and logger: "alias,charset,irc,logger"
- load all plugins but not lua and tcl: "*,!lua,!tcl"
- load all plugins but not perl and python: "*,!p*" (not recommended because new future plugins may begin with "p")
- do not load any plugin (weechat core alone is not really useful eheh): "!*"
2010-03-31 22:39:09 +02:00
Sebastien Helleu 253ff07009 Add missing variables in debug dump 2010-03-30 11:00:42 +02:00
Sebastien Helleu 12afdb29c4 Fix bug with IRC nicks on reconnection: try all nicks in list, even if nick used was not the first in list of nicks 2010-03-30 10:40:01 +02:00
Sebastien Helleu 5ff1742c86 Fix display of message 333 (channel topic) when there is no host but only nick 2010-03-29 22:50:56 +02:00
Sebastien Helleu 4981e7150a Update german translations 2010-03-29 22:39:10 +02:00
Sebastien Helleu 35944a4219 Fix IRC command /list: send channel and server name given as argument, and use separate option "-re" to allow a regex 2010-03-29 18:37:08 +02:00
Sebastien Helleu b6bb001fc4 Free some extra memory when exiting WeeChat 2010-03-29 17:56:23 +02:00
Sebastien Helleu 56526db5cf Fix infinite loop with /layout apply and bug when applying layout, sometimes many /layout apply were needed (bug #26110) 2010-03-29 16:30:23 +02:00
Sebastien Helleu 88853df080 Fix check of IRC ignore when channel is specified in ignore (problem with PRIVMSG queries) 2010-03-29 12:25:28 +02:00
Sebastien Helleu 485e884751 Add new option irc.look.part_closes_buffer to close buffer when /part is issued on channel (task #10295) 2010-03-26 20:02:17 +01:00
Sebastien Helleu 2bbc228381 Fix compilation of irc plugin with old gcc (remove #ifdef inside call of macro)
Compilation failed with gcc 3.2.3.
2010-03-26 19:29:37 +01:00
Sebastien Helleu b9e65ec63d Fix bug with writing of configuration files when disk is full (bug #29331) 2010-03-26 19:01:25 +01:00
Sebastien Helleu 24135801b4 Backport changes in english plugin API reference into italian version 2010-03-26 10:40:37 +01:00
Sebastien Helleu 483b63f360 Add signals "nicklist_{group|nick}_{added|removed}", remove signal "nicklist_changed"
Data for new signals is a string with format: "buffer,name", where:
- buffer is a pointer, for example 0x123456
- name is group or nick name added/removed from nicklist on this buffer.
2010-03-25 17:02:37 +01:00
Sebastien Helleu ac27388543 Display cmake warning if libncursesw is not found 2010-03-25 16:03:38 +01:00
Sebastien Helleu e59bbbb40a Add "irc_is_nick" for function info_get to check if a string is a valid IRC nick name (patch #7133) 2010-03-25 10:39:07 +01:00
Sebastien Helleu 96e6ae3fc3 Add new options for command /key (listdefault, listdiff and reset), add examples in /help key
Note: old option "reset" for /key has been renamed to "resetall".
2010-03-24 19:54:31 +01:00
Sebastien Helleu b932f403a5 Fix crash on /upgrade if there are some nicks in a nicklist without prefix or prefix_color defined 2010-03-24 10:14:10 +01:00
Sebastien Helleu 3e2943a0e0 Fix bug with nicklist prefix in log file 2010-03-24 10:03:57 +01:00
Sebastien Helleu b491cc3479 Fix bug with callbacks when loading a script already loaded 2010-03-24 00:04:00 +01:00
Sebastien Helleu f1a946054e Add italian translation of Plugin API Reference 2010-03-23 18:05:07 +01:00
Sebastien Helleu 8cfabb4696 Add examples in /help dcc, update german translations 2010-03-23 16:26:36 +01:00
Sebastien Helleu a0f442a84e Fix alignment of keys in output of /key when some keys contain wide chars 2010-03-23 13:41:23 +01:00
Sebastien Helleu 03d01f4234 Remove WeeChat slogan 2010-03-23 10:23:26 +01:00
Sebastien Helleu 2bad57ae28 Add note about /unalias in /help alias 2010-03-23 09:58:07 +01:00
Sebastien Helleu 918383424f Reformat examples in help of some commands 2010-03-23 09:42:37 +01:00
Sebastien Helleu 855993d14d Fix typos in /help window and /help logger 2010-03-22 21:00:58 +01:00
Sebastien Helleu a10b9038d5 Add list of tags in /help filter 2010-03-22 20:26:24 +01:00
Sebastien Helleu c1c1005b36 Add new option weechat.color.nicklist_offline 2010-03-22 11:08:17 +01:00
Sebastien Helleu da4438b995 Remove obsolete option weechat.color.nicklist_more 2010-03-22 10:49:11 +01:00
Sebastien Helleu 1c5ef4d1e3 Remove IRC commands /forcejoin and /omode (now possible with alias and custom completion)
It is now possible to add such commands with aliases:

  /alias -completion %%sajoin forcejoin /quote forcejoin
  /alias -completion %%samode omode /quote omode
2010-03-21 18:41:35 +01:00
Sebastien Helleu 8f9f1f8e97 Fix typo in /help alias 2010-03-21 18:35:44 +01:00
Sebastien Helleu b40ea94a49 Add custom completion for aliases (task #9479) 2010-03-21 18:30:51 +01:00
Sebastien Helleu 7d65014efd Add missing refresh of bar item "buffer_number" when a buffer is closed 2010-03-21 16:24:59 +01:00
Sebastien Helleu 032a5ddef5 Add new signals "irc_raw_in" and "irc_raw_in2" (sent for all IRC messages, even if ignored with /ignore) 2010-03-21 13:06:33 +01:00
Sebastien Helleu c0d050f7cc Update german translations 2010-03-21 10:14:05 +01:00
Sebastien Helleu 29fad11df5 Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/weechat 2010-03-21 10:00:56 +01:00
Sebastien Helleu 6f84e00ee7 Use buffer local variable "nick" for default item "input_prompt" 2010-03-21 10:00:47 +01:00
Jiri Golembiovsky 6b4aaef396 Updated czech translation 2010-03-21 01:11:25 +01:00
Sebastien Helleu 5755bd50ac Add IRC commands /omode and /forcejoin (patch #7126) 2010-03-20 23:42:21 +01:00
Sebastien Helleu 7925b2d242 Refresh screen when exiting WeeChat (to display messages printed after /quit) 2010-03-20 17:09:07 +01:00
Sebastien Helleu 9d96090d7d Add functions string_match, string_has_highlight and string_mask_to_regex in script plugin API 2010-03-20 13:32:08 +01:00
Sebastien Helleu 2801b8437c Reformat multi-line comments 2010-03-19 23:33:14 +01:00
Sebastien Helleu bc3fa9fd4c Move /away command from irc plugin to core 2010-03-19 19:28:19 +01:00
Sebastien Helleu 568d913c58 Fix bugs with function hook_command_run
A '/' is always sent at beginning of command to callback, even if user used
another command char.
Now it is possible to catch a command, with or without arguments, with
hook_command_run("/command").
2010-03-19 19:25:59 +01:00
Sebastien Helleu 645d38d403 Fix bugs with xfer buffer after /upgrade 2010-03-17 16:19:57 +01:00
Sebastien Helleu 4fd23e12dc Do not send signals "irc_in" and "irc_in2" when IRC messages are ignored 2010-03-17 16:03:51 +01:00
Sebastien Helleu feb51fbca4 Fix display of host in IRC message 333 (channel topic) 2010-03-14 16:48:15 +01:00
Sebastien Helleu 7ef5a97a08 Update italian user guide 2010-03-14 11:33:03 +01:00
Jiri Golembiovsky ab9d1480f6 Updated czech translation 2010-03-13 20:51:59 +01:00
Sebastien Helleu 0a66ad0e0f Fix typo: crashs -> crashes 2010-03-13 20:02:29 +01:00
Sebastien Helleu 5233ceed44 Add chapter "Report crashs" in user guide 2010-03-13 14:22:24 +01:00
Sebastien Helleu 86b1ab20b5 Display IRC command 324 (channel modes) on server buffer if channel is not open 2010-03-11 10:23:34 +01:00
Sebastien Helleu 7ec6092ba9 Update german and italian FAQ 2010-03-10 10:06:20 +01:00
Sebastien Helleu 23a0c0d610 Add missing initialization of variable in function irc_sasl_mechanism_plain 2010-03-09 17:06:58 +01:00
Sebastien Helleu 7ef2f312ff Update german FAQ 2010-03-09 16:54:24 +01:00
Sebastien Helleu 9dd45664fd Add questions in FAQ about voice filtering and check of away nicks 2010-03-09 12:04:52 +01:00
Sebastien Helleu 8f4240dbf7 Add more sections in FAQ 2010-03-08 18:21:07 +01:00
Sebastien Helleu bab29e028d Fix color of away nicks in nicklist when doing /names (nick color was reset to default color) 2010-03-08 15:14:31 +01:00
Sebastien Helleu 58d423319c Return absolute path for info_get of "weechat_dir" (bug #27936) 2010-03-08 11:21:03 +01:00
Sebastien Helleu 682f5addc0 Add chapter with common tasks in scripting guide 2010-03-07 22:23:44 +01:00
Sebastien Helleu eb5e54602e Fix extraction and check of IRC prefix 2010-03-07 21:49:07 +01:00
Sebastien Helleu da50ac329a Bug with IRC prefix "!" for mode "a" (channel admin) (bug #29109) 2010-03-07 21:22:23 +01:00
Jiri Golembiovsky 788df1089b Updated czech translations 2010-03-06 00:21:19 +01:00
Sebastien Helleu 401ddff564 Fix display in bars with filling horizontal 2010-03-04 15:28:16 +01:00
Sebastien Helleu 16e62bdc60 Fix display in bars with filling set to columns_vertical or columns_horizontal 2010-03-04 14:12:36 +01:00
Sebastien Helleu fa60269325 Hide read marker if all lines after marker are filtered (only if option read_marker_always_show is off) 2010-03-04 13:06:57 +01:00
Sebastien Helleu 1db7ef859c Update german translations 2010-03-04 11:06:37 +01:00
Sebastien Helleu 6ad62e4021 Fix bugs with cursor and background in bars
Bugs fixed:
- cursor was moving to position (0,0) in bar when refreshing input bar content
- background color stopped before end of line in bars with vertical filling
  (like buffers)
- cursor was not displayed when input bar has automatic size and that first line
  is filled (on some terminals like konsole or roxterm)
2010-03-04 11:05:05 +01:00
Sebastien Helleu ca51a9780f Update user guide 2010-03-04 11:02:23 +01:00
Sebastien Helleu 3e47e9c3e3 Set option weechat.look.read_marker_always_show to off by default 2010-03-03 22:24:38 +01:00
Sebastien Helleu 4faa3c772b Add new option weechat.look.read_marker_always_show 2010-03-03 22:19:51 +01:00
Sebastien Helleu d1950311cf Free IRC raw messages when irc plugin is unloaded 2010-03-03 20:43:41 +01:00
Sebastien Helleu 92bc700349 Fix completion bug for commands when input starts with two command chars (like //) 2010-03-03 18:42:12 +01:00
Sebastien Helleu a852d3af4b Fix bug with /away -all in IRC plugin: set or unset future away for disconnected servers (bug #29022) 2010-03-02 17:55:41 +01:00
Sebastien Helleu 0543b0ccc7 Add new option weechat.look.command_chars, add functions string_is_command_char and string_input_for_buffer in plugin and script API 2010-03-02 17:34:49 +01:00
Sebastien Helleu 282f786c1a Fix crash in Perl plugin when callbacks are called during script initialization (bug #29018) 2010-02-27 09:58:24 +01:00
Sebastien Helleu 62aff3f1c6 Add command line option "--no-script" in user guide 2010-02-26 11:57:55 +01:00
Sebastien Helleu 873bcfc9f0 Add command line option "-s" (or "--no-script") to start WeeChat without loading any script 2010-02-26 11:36:41 +01:00
Sebastien Helleu eabf21098d Fix display of color in input when it is scrolled 2010-02-24 22:54:07 +01:00
Sebastien Helleu 5868fc3c6d Fix bug with cursor when position is last char of terminal 2010-02-24 17:40:07 +01:00
Sebastien Helleu dfa43ea1a7 Add link for curses color names in user guide 2010-02-23 18:02:00 +01:00
Sebastien Helleu 7cc735c7f9 Add WeeChat color name beside IRC color in user guide 2010-02-23 17:19:50 +01:00
Sebastien Helleu 3d3dc1593d Allow script commands to reload only one script 2010-02-23 10:51:59 +01:00
Sebastien Helleu 27bf347e1c Update italian FAQ 2010-02-22 14:38:00 +01:00
Sebastien Helleu 2fc187743c Update italian user guide 2010-02-22 09:39:58 +01:00
Sebastien Helleu 08b17c2f26 Fix cursor color in input bar 2010-02-21 23:26:33 +01:00
Sebastien Helleu 42972ce00a Update german FAQ 2010-02-21 11:29:49 +01:00
Sebastien Helleu 8c324c238d Fix bug with bar background after text with background color (bug #28157) 2010-02-21 10:08:48 +01:00
Sebastien Helleu 6e1e8e9ed8 Add question about meta keys in FAQ 2010-02-20 21:23:09 +01:00
Sebastien Helleu 94764208e4 Allow input "q" to close IRC raw buffer 2010-02-20 16:54:58 +01:00
Sebastien Helleu b523613e73 Fix translated string in output of "/uptime -o" 2010-02-20 13:23:27 +01:00
Sebastien Helleu 35157bc2f1 Minor updates in FAQ and user guide 2010-02-20 12:17:30 +01:00
Sebastien Helleu cd5b8c8f9e Add parentheses around exponents in user guide and plugin API reference 2010-02-20 09:50:38 +01:00
Sebastien Helleu f4849bc625 Remove connection timer when closing connection with IRC server 2010-02-20 09:28:10 +01:00
Sebastien Helleu 555f1827e3 Add list of packages (required or optional) to build WeeChat in user guide 2010-02-19 17:38:06 +01:00
Sebastien Helleu cdf990fced Add option irc.network.connection_timeout (timeout between TCP connection to server and reception of message 001) 2010-02-19 16:21:36 +01:00
Sebastien Helleu 090bd68e7c Fix "inactivity" value when no key has been pressed since WeeChat started (bug #28930) 2010-02-19 10:23:34 +01:00
Sebastien Helleu 3cf7b4e696 Update german translations 2010-02-19 07:57:08 +01:00
Sebastien Helleu d2ec8d133d Add mechanism DH-BLOWFISH for SASL authentication with IRC server 2010-02-18 22:02:55 +01:00
Sebastien Helleu 832a4c1466 Fix function "color" in Lua script API (patch from Christian Heinz) 2010-02-18 07:58:03 +01:00
Sebastien Helleu b1e840eb6c Add missing file docgen.pl in Makefile.am 2010-02-16 17:09:50 +01:00
Sebastien Helleu 1ad5f123b5 Add IRC commands 905 to 907 (for SASL) 2010-02-16 17:00:12 +01:00
Sebastien Helleu ce1b23311c Add function "string_decode_base64" in plugin API 2010-02-16 16:57:22 +01:00
Sebastien Helleu 341551f2f2 Add SASL authentication in IRC plugin (task #8829), add function "string_encode_base64" in plugin API, fix bug with base64 encoding
New options for IRC servers:
- sasl_mechanism (only "plain" for now)
- sasl_username
- sasl_password
2010-02-15 11:51:44 +01:00
Sebastien Helleu 34272b7e4d Fix color of word "Notice" when sending IRC notice 2010-02-13 12:05:02 +01:00
Sebastien Helleu 922e67cabd Add description of arguments for API functions hook_info and hook_infolist 2010-02-12 17:15:30 +01:00
Sebastien Helleu 8d25a75200 Use arguments for infolist "nicklist" to return only one nick or group
Format is: nick_xxx or group_xxx to return only nick/group called "xxx".
2010-02-12 12:50:16 +01:00
Sebastien Helleu 8cea059feb Add IRC message 301 in user guide, for target buffer of messages 2010-02-11 17:17:56 +01:00
Sebastien Helleu f19000ac4f Allow IRC message 301 to be redirected with irc.msgbuffer feature 2010-02-11 17:07:56 +01:00
Sebastien Helleu be8831499d Add missing IRC commands 276, 343 2010-02-11 10:12:25 +01:00
Sebastien Helleu 2e72679363 Fix nick color in quit message displayed in IRC private buffer (when remote nick did not speak) 2010-02-10 22:12:23 +01:00
Sebastien Helleu 124634cf88 Apply IRC smart filter only on channels, not private buffers (bug #28841) 2010-02-10 16:22:34 +01:00
Sebastien Helleu 4b6bd6a923 Update german and polish translations 2010-02-10 11:32:59 +01:00
Sebastien Helleu 94a0551c55 Update ChangeLog 2010-02-10 11:24:28 +01:00
Sebastien Helleu 3799d2c2a5 Add "version_number" for API function weechat_info_get to get WeeChat version as number 2010-02-10 11:21:25 +01:00
Sebastien Helleu f6868c40af Fix example of weechat_info_get in plugin API reference 2010-02-10 08:01:21 +01:00
Sebastien Helleu 5b71c03c4f Add option for command /docgen to build some locales only 2010-02-09 22:28:25 +01:00
Sebastien Helleu 5bfb2929e6 Add missing argument for weechat_hook_completion in plugin API reference 2010-02-09 18:01:57 +01:00
Sebastien Helleu 7850668327 Add new option weechat.look.time_format to customize default format for date/time displayed (localized date by default), add function weechat_util_get_time_string in plugin API (patch #6914) 2010-02-09 17:19:14 +01:00
Sebastien Helleu daee18621e Rename command /silence to /mute 2010-02-09 13:21:05 +01:00
Sebastien Helleu 71d77a5890 Add new command /silence 2010-02-09 12:40:19 +01:00
Sebastien Helleu 74d148d056 Display nick prefix in input_prompt only if channel is type "channel" (not private) 2010-02-06 12:21:52 +01:00
Sebastien Helleu df1a6b0c3d Fix bug with option irc.look.item_nick_prefix 2010-02-06 12:17:13 +01:00
Sebastien Helleu bd1b6c1794 Add option irc.look.item_nick_prefix, rename some IRC options for bar items 2010-02-06 12:14:45 +01:00
Sebastien Helleu fa8ff80fc1 Update example of messages in irc-protocol.c 2010-02-06 10:55:22 +01:00
Sebastien Helleu a3658f4fc2 Fix IRC PART message received on Undernet server (bug #28825) 2010-02-05 23:53:20 +01:00
Sebastien Helleu 40401f88da Add signal "xfer_ended" in plugin API reference 2010-02-04 22:12:23 +01:00
Sebastien Helleu e6a99fb63a Add bar item "irc_channel" (IRC channel name without modes) 2010-02-03 23:46:11 +01:00
Sebastien Helleu 1d00db2d14 Add anti-flood for many IRC commands/messages 2010-02-03 23:29:44 +01:00
Sebastien Helleu 3d4c76cecc Fix typo in user guide 2010-02-03 20:49:30 +01:00
Sebastien Helleu 8109368f7c Add option "switch_active_buffer_previous" for command /input (task #10141) 2010-02-02 16:35:44 +01:00
Sebastien Helleu 69b53c8f3d Add IRC command /map 2010-02-02 15:39:04 +01:00
Sebastien Helleu fbc1c2a9b1 Add tip about addresses and another example in /help server 2010-02-02 15:25:03 +01:00
Sebastien Helleu 8862f19788 Add signal "xfer_ended" (patch #7081) 2010-02-02 14:28:05 +01:00
Sebastien Helleu 5aa82a85e3 Add option irc.look.display_channel_modes_hide_key to hide channel key in channel modes (bug #23961) 2010-02-02 13:56:35 +01:00
Sebastien Helleu 94ddf61d20 Add missing option "switch_active_buffer" in /help input and completion of command /input 2010-02-02 13:02:51 +01:00
Sebastien Helleu 8663d10063 Fix python example of hook_signal in plugin API reference 2010-02-01 22:53:41 +01:00
Sebastien Helleu f33eaee78f Update gettext commands to produce same output as autotools, display statistics for po files 2010-02-01 22:12:50 +01:00
Sebastien Helleu c4467469cc Add version 0.3.1.1 to ChangeLog 2010-01-31 22:20:20 +01:00
Sebastien Helleu 2d99d6e7ea Fix crash when purging old xfer chats (bug #28764) 2010-01-29 16:18:12 +01:00
Sebastien Helleu 930285e489 Fix crash with SSL connection to IRC server if option ssl_cert is set (bug #28752) 2010-01-29 12:41:05 +01:00
Sebastien Helleu e23aed51a1 Display own buffer lines in weechat log when dumping buffer (and not mixed lines) 2010-01-29 10:01:41 +01:00
Sebastien Helleu 2899770bbe Update ChangeLog 2010-01-29 07:59:16 +01:00
Emmanuel Bouthenot 2f176dc347 Fix a build failure with: 1.7.6 < gnutls <= 2.4.6 2010-01-29 00:21:02 +01:00
Emmanuel Bouthenot c8920da899 Fix a build failure with gnutls < 1.7.6 2010-01-28 23:18:20 +01:00
Sebastien Helleu 8c042210a8 Fix bug with global history, reset pointer to last entry after each user input (bug #28754) 2010-01-28 15:12:40 +01:00
Sebastien Helleu 16a02cddaf Add missing includes in FindIconv.cmake (patch #7069) 2010-01-28 12:26:39 +01:00
Sebastien Helleu 10a3954908 Fix alignment in buffers lines when time is empty string 2010-01-28 10:15:48 +01:00
Sebastien Helleu aad84612a9 Remove unneeded space after time on each line if option weechat.look.buffer_time_format is set to empty value (bug #28751) 2010-01-28 10:09:58 +01:00
Sebastien Helleu b868eaee2a Update italian translations 2010-01-27 18:34:04 +01:00
Sebastien Helleu dfa0500b12 Update german translations 2010-01-26 23:12:44 +01:00
Sebastien Helleu fb9268c01d Fix bug with SSL connection to IRC server (fails sometimes when ssl_verify is on) (bug #28741) 2010-01-26 22:19:16 +01:00
Sebastien Helleu fcd296d7f2 Update italian user guide and FAQ 2010-01-26 18:17:09 +01:00
Sebastien Helleu 754cf874bc Send signal "day_changed" even if option weechat.look.day_change is set to off 2010-01-26 18:07:13 +01:00
Sebastien Helleu ac19ec05be Update german FAQ 2010-01-26 17:23:03 +01:00
Sebastien Helleu 99bfdfd2ff Add signal "day_changed", allow date format in logger options path and mask (task #9430) 2010-01-26 16:36:55 +01:00
Sebastien Helleu aa41942ac1 Add new question in FAQ: "How can I tweak WeeChat to consume less memory?" 2010-01-25 18:06:32 +01:00
Sebastien Helleu f4d5ddd858 Add missing infos in API functions buffer_get_integer / buffer_get_string and in buffer infolist 2010-01-25 16:57:24 +01:00
Sebastien Helleu 2e48becbfc Update doc 2010-01-25 16:56:52 +01:00
Sebastien Helleu b4e0e17917 Add chapters about SSL certificates and IRC smart filter in user guide 2010-01-24 16:07:30 +01:00
Sebastien Helleu c02d70b7ba Add options irc.look.smart_filter_join/quit, smart filter enabled by default 2010-01-24 13:13:40 +01:00
Sebastien Helleu eb56a98fc8 Remove evil tabs in sources 2010-01-24 10:47:53 +01:00
Sebastien Helleu 309e8eadab Version 0.3.2-dev 2010-01-23 12:20:06 +01:00
500 changed files with 93089 additions and 26302 deletions
-1
View File
@@ -1,7 +1,6 @@
# ignored files for Git
*.a
*.css
*.gmo
*.html
*.la
+7 -3
View File
@@ -6,14 +6,14 @@ Developers
* General code
** FlashCode <flashcode@flashtux.org>
** Sébastien Helleu <flashcode@flashtux.org>
*** Web: http://www.weechat.org/
*** IRC: 'FlashCode' on irc.freenode.net
* Scripts plugins, debian packager
** kolter <kolter@openics.org>
** Emmanuel Bouthenot <kolter@openics.org>
*** IRC: 'kolter' on irc.freenode.net
@@ -33,10 +33,14 @@ Contributors
* soltys
* Nils Görs
* rettub
* m4v
* Elián Hanisch, IRC: 'm4v'
* Marco Paolone
* Dmitry Kobylin
* Dominik Honnef
* JD Horelick, IRC: 'jdhore'
* Stefano Pigozzi
* Ivan Sichmann Freitas
* Gu1ll4um3r0m41n
Contact
+37 -29
View File
@@ -1,17 +1,22 @@
# Copyright (c) 2003-2010 by FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# Copyright (C) 2003-2011 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2007-2008 Julien Louis <ptitlouis@sysif.net>
# Copyright (C) 2008-2009 Emmanuel Bouthenot <kolter@openics.org>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# WeeChat is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
#
PROJECT(weechat C)
@@ -28,8 +33,9 @@ ENDIF(PREFIX)
SET(VERSION_MAJOR "0")
SET(VERSION_MINOR "3")
SET(VERSION_PATCH "1.1")
SET(VERSION_PATCH "4")
SET(VERSION ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH})
SET(LICENSE "GPL3")
SET(PKG_STRING "${PROJECT_NAME} ${VERSION}")
STRING(REPLACE "\";\"" "\ " PKG_STRING ${PKG_STRING})
@@ -53,31 +59,33 @@ ELSE(DEFINED INCLUDEDIR)
SET(INCLUDEDIR ${CMAKE_INSTALL_PREFIX}/include/${PROJECT_NAME})
ENDIF(DEFINED INCLUDEDIR)
OPTION(DISABLE_NCURSES "Disable Ncurses interface")
OPTION(ENABLE_GTK "Enable GTK interface")
OPTION(DISABLE_NLS "Disable Native Language Support")
OPTION(DISABLE_GNUTLS "Disable SSLv3/TLS connection support")
OPTION(DISABLE_LARGEFILE "Disable Large File Support")
OPTION(DISABLE_ALIAS "Disable Alias plugin")
OPTION(DISABLE_ASPELL "Disable Aspell plugin")
OPTION(DISABLE_CHARSET "Disable Charset plugin")
OPTION(ENABLE_DEMO "Enable Demo plugin")
OPTION(DISABLE_FIFO "Disable FIFO plugin")
OPTION(DISABLE_IRC "Disable IRC plugin")
OPTION(DISABLE_LOGGER "Disable Logger plugin")
OPTION(ENABLE_RELAY "Enable Relay plugin")
OPTION(DISABLE_SCRIPTS "Disable script plugins")
OPTION(DISABLE_PERL "Disable Perl scripting language")
OPTION(DISABLE_PYTHON "Disable Python scripting language")
OPTION(DISABLE_RUBY "Disable Ruby scripting language")
OPTION(DISABLE_LUA "Disable Lua scripting language")
OPTION(DISABLE_TCL "Disable Tcl scripting language")
OPTION(DISABLE_XFER "Disable Xfer plugin (file transfer and direct chat)")
OPTION(DISABLE_DOC "Disable Doc")
OPTION(ENABLE_NCURSES "Enable Ncurses interface" ON)
OPTION(ENABLE_GTK "Enable GTK interface" OFF)
OPTION(ENABLE_NLS "Enable Native Language Support" ON)
OPTION(ENABLE_GCRYPT "Enable libgcrypt support" ON)
OPTION(ENABLE_GNUTLS "Enable SSLv3/TLS support" ON)
OPTION(ENABLE_LARGEFILE "Enable Large File Support" ON)
OPTION(ENABLE_ALIAS "Enable Alias plugin" ON)
OPTION(ENABLE_ASPELL "Enable Aspell plugin" ON)
OPTION(ENABLE_CHARSET "Enable Charset plugin" ON)
OPTION(ENABLE_DEMO "Enable Demo plugin" OFF)
OPTION(ENABLE_FIFO "Enable FIFO plugin" ON)
OPTION(ENABLE_IRC "Enable IRC plugin" ON)
OPTION(ENABLE_LOGGER "Enable Logger plugin" ON)
OPTION(ENABLE_RELAY "Enable Relay plugin" ON)
OPTION(ENABLE_RMODIFIER "Enable Rmodifier plugin" ON)
OPTION(ENABLE_SCRIPTS "Enable script plugins" ON)
OPTION(ENABLE_PERL "Enable Perl scripting language" ON)
OPTION(ENABLE_PYTHON "Enable Python scripting language" ON)
OPTION(ENABLE_RUBY "Enable Ruby scripting language" ON)
OPTION(ENABLE_LUA "Enable Lua scripting language" ON)
OPTION(ENABLE_TCL "Enable Tcl scripting language" ON)
OPTION(ENABLE_XFER "Enable Xfer plugin" ON)
OPTION(ENABLE_DOC "Enable Documentation" ON)
IF(NOT DISABLE_NLS)
IF(ENABLE_NLS)
ADD_SUBDIRECTORY( po )
ENDIF(NOT DISABLE_NLS)
ENDIF(ENABLE_NLS)
ADD_SUBDIRECTORY( src )
ADD_SUBDIRECTORY( doc )
@@ -113,7 +121,7 @@ INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat.pc DESTINATION ${LIBDIR}/../pk
# packages
SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Fast, light and extensible chat client")
SET(CPACK_PACKAGE_VENDOR "FlashCode")
SET(CPACK_PACKAGE_VENDOR "Sebastien Helleu")
SET(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_CURRENT_SOURCE_DIR}/README")
SET(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/COPYING")
SET(CPACK_PACKAGE_VERSION_MAJOR ${VERSION_MAJOR})
+272 -30
View File
@@ -1,11 +1,252 @@
WeeChat ChangeLog
=================
FlashCode <flashcode@flashtux.org>
v0.3.1.1, 2010-01-31
Sébastien Helleu <flashcode@flashtux.org>
v0.3.4, 2011-01-16
Version 0.3.4 (2011-01-16)
--------------------------
* core: add 256 colors support, new command /color, new section "palette" in
weechat.conf (task #6834)
* core: fix scroll problem on buffers with free content and non-allocated lines
(bug #32039)
* core: add info "weechat_upgrading", signal "upgrade_ended", display duration
of upgrade
* core: replace the 10 nick color options and number of nick colors by a single
option "weechat.color.chat_nick_colors" (comma separated list of colors)
* core: add support of python 2.7 in cmake and configure (debian #606989)
* core: add color support in option weechat.look.buffer_time_format
* core: call to hook_config when config option is created
* core: add new option weechat.look.highlight_regex and function
string_has_highlight_regex in plugin API (task #10321)
* core: fix infinite loop on gnutls handshake when connecting with SSL to server
on wrong port or server with SSL problems (bug #27487)
* core: fix data sent to callback of hook_process (some data was sometimes
missing), use a 64KB buffer for child output and send data to callback only
when buffer is full
* core: fix crash when displaying groups in buffer nicklist
* core: fix bug with message "day changed to", sometimes displayed several
times wrongly
* core: fix default value of bar items options (bug #31422)
* core: fix bug with buffer name in "/bar scroll" command
* core: add new option weechat.look.hotlist_unique_numbers (task #10691)
* core: add property "hotlist_max_level_nicks" in buffers to set max hotlist
level for some nicks in buffer
* core: add new options weechat.look.input_share and
weechat.look.input_share_overwrite (task #9228)
* core: add new option weechat.look.prefix_align_min (task #10650)
* core: optimize incremental search in buffer: do not search any more
when chars are added to a text not found (bug #31167)
* core: fix memory leaks when removing item in hashtable and when setting
highlight words in buffer
* core: use similar behaviour for keys bound to local or global history
(bug #30759)
* api: add priority for hooks (task #10550)
* api: add new functions: list_search_pos, list_casesearch_pos,
hashtable_get_string, hashtable_set_pointer, hook_info_hashtable,
info_get_hashtable, hook_hsignal, hook_hsignal_send,
hook_completion_get_string, nicklist_group_get_integer,
nicklist_group_get_string, nicklist_group_get_pointer, nicklist_group_set,
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: 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
local nick instead of remote nick) (bug #31890)
* irc: add option "-switch" to commands /connect and /reconnect
* irc: allow command /reconnect on servers that are not currently connected
(bug #30726)
* irc: fix topic completion in command /topic when channel topic starts with
channel name
* irc: add command /notify, new options irc.look.notify_tags_ison,
irc.look.notify_tags_whois, irc.network.notify_check_ison,
irc.network.notify_check_whois, new option "notify" in servers, new infolist
"irc_notify" (task #5441)
* irc: add new option irc.look.nick_color_force (task #7374)
* irc: improve nick prefixes, all modes (even unknown) are used with PREFIX
value from message 005
* irc: add command redirection with hsignals irc_redirect_pattern and
irc_redirect_command (task #6703)
* irc: add new options irc.color.nick_prefix and irc.color.nick_suffix
* irc: add new option irc.look.item_away_message
* irc: add tag "nick_xxx" in user messages
* irc: move options from network section to server section: connection_timeout,
anti_flood_prio_high, anti_flood_prio_low, away_check, away_check_max_nicks,
default_msg_part, default_msg_quit (task #10664, task #10668)
* irc: rename options irc.look.open_channel_near_server and
irc.look.open_pv_near_server to irc.look.new_channel_position and
irc.look.new_pv_position with new values (none, next or near_server)
* irc: display old channel topic when topic is unset (task #9780)
* irc: add new info_hashtable "irc_parse_message"
* irc: fix crash/bug when option "addresses" for a server is unset or changed
when WeeChat is connected to this server (bug #31268)
* irc: switch to next server address when IRC error is received after TCP
connection but before message 001 (bug #30884)
* irc: fix bug with hostmasks in command /ignore (bug #30716)
* irc: add signal "irc_input_send"
* rmodifier: new plugin "rmodifier": alter modifier strings with regular
expressions (bug #26964)
* relay: beta version of IRC proxy, now relay plugin is compiled by default
* scripts: add missing function "infolist_reset_item_cursor" in API (bug #31057)
* python: add info "python2_bin" (path to python 2.x interpreter)
* lua: fix crash when unloading script
* ruby: fix compilation with Ruby 1.9.2 (patch #7316)
* xfer: fix dcc chat buffer name (use irc server in name) (bug #29925)
* xfer: fix dcc file transfer for large files (more than 4 GB) on 32-bit systems
(bug #31531)
* xfer: fix bug at end of file sent, sometimes transfer is still active although
file was successfully sent
Version 0.3.3 (2010-08-07)
--------------------------
* core: use "!" to reverse a regex in a filter (to keep lines matching regex
and hide other lines) (task #10032)
* core: add keys for undo/redo changes on command line
(default: ctrl+underscore and alt+underscore) (task #9483)
* core: add new option weechat.look.align_end_of_lines
* core: add new option weechat.look.confirm_quit
* core: add new option weechat.color.status_name_ssl (task #10339)
* core: fix bug with scroll_unread: do not scroll to a filtered line
(bug #29991)
* core: fix crash with hook_process (when timer is called on a deleted hook
process)
* core: fix display bug with special chars (ascii value below 32) (bug #30602)
* core: fix display bug with attributes like underlined in bars (bug #29889)
* core: add hashtables with new functions in plugin API
* api: fix bug with replacement char in function string_remove_color
(bug #30296)
* api: add function "string_expand_home", fix bug with replacement of home in
paths
* 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 display of local SSL certificate when it is sent to server
(patch #7218)
* irc: improve lag indicator: two colors (counting and finished), update item
even when pong has not been received, lag_min_show is now in milliseconds
* irc: use empty real name by default in config, instead of reading real name
in /etc/passwd (bug #30111)
* irc: add new options irc.look.display_host_join/join_local/quit and
irc.color.reason_quit
* irc: move options weechat.color.nicklist_prefix to irc plugin
* irc: fix bug with command-line option "irc://" (bug #29990), new format for
port and channels
* irc: add command /wallchops, fix bug with display of notice for ops
(task #10021, bug #29932)
* irc: add isupport value in servers (content of IRC message 005), with new
infos: irc_server_isupport and irc_server_isupport_value
* irc: add message in private buffer when nick is back on server after a /quit
* irc: add new options irc.network.autoreconnect_delay_growing and
irc.network.autoreconnect_delay_max (task #10338)
* irc: add missing commands 346, 347 (channel invite list)
* irc: fix display of messages 330 and 333 on some servers
* irc: fix bug with nick prefix "*" (chan founder) on some IRC servers
(bug #29890)
* irc: fix bug with option irc.network.lag_check when value is 0 (zero)
* irc: try other nick when connecting to server and receiving message 437
(nick unavailable)
* irc: set buffer local variable "away" when opening new channel (bug #29618)
* fifo: fix bug with fifo pipe when setting fifo option to "on"
* logger: use tag "no_log" to prevent a line from being written in log file
* xfer: fix bug with double quotes in DCC filenames (bug #30471)
Version 0.3.2 (2010-04-18)
--------------------------
* core: add new options for command /key: listdefault, listdiff and reset
* core: add new command /mute
* core: add command line option "-s" (or "--no-script") to start WeeChat
without loading any script
* core: improve plugins autoload (option weechat.plugin.autoload): allow to
use "*" as wildcard and "!" to prevent a plugin from being autoloaded
(task #6361)
* core: remove unneeded space after time on each line if option
weechat.look.buffer_time_format is set to empty value (bug #28751)
* core: add option "switch_active_buffer_previous" for command /input
(task #10141)
* core: add new option weechat.look.time_format to customize default format
for date/time displayed (localized date by default), add function
weechat_util_get_time_string in plugin API (patch #6914)
* core: add new option weechat.look.command_chars, add functions
string_is_command_char and string_input_for_buffer in plugin and script API
* core: add new option weechat.look.read_marker_always_show
* core: use arguments for infolist "nicklist" to return only one nick or group
* core: fix bug with writing of configuration files when disk is full
(bug #29331)
* core: fix infinite loop with /layout apply and bug when applying layout,
sometimes many /layout apply were needed (bug #26110)
* gui: refresh screen when exiting WeeChat (to display messages printed after
/quit)
* gui: fix bug with global history, reset pointer to last entry after each user
input (bug #28754)
* gui: fix bug with bar background after text with background color (bug #28157)
* gui: fix bug with cursor when position is last char of terminal
* api: add "version_number" for function info_get to get WeeChat version as
number
* api: add "irc_is_nick" for function info_get to check if a string is a valid
IRC nick name (patch #7133)
* api: add functions "string_encode_base64" and "string_decode_base64", fix
bug with base64 encoding
* api: add functions "string_match", "string_has_highlight" and
"string_mask_to_regex" in script plugin API
* api: add missing infos in functions buffer_get_integer / buffer_get_string
and in buffer infolist
* api: add description of arguments for functions hook_info and hook_infolist
* api: add signals "day_changed", "nicklist_group_added/removed",
"nicklist_nick_added/removed"
* api: fix function "color" in Lua script API
* api: fix "inactivity" value when no key has been pressed since WeeChat started
(bug #28930)
* api: return absolute path for info_get of "weechat_dir" (bug #27936)
* alias: add custom completion for aliases (task #9479)
* scripts: allow script commands to reload only one script
* scripts: fix bug with callbacks when loading a script already loaded
* perl: fix crash when MULTIPLICITY is disabled
* perl: fix crash when callbacks are called during script initialization
(bug #29018)
* perl: fix crash on /quit or unload of plugin under FreeBSD and Cygwin
(bug #29467)
* perl: fix bug with script filename when multiplicity is disabled (bug #29530)
* irc: add SASL authentication, with PLAIN and DH-BLOWFISH mechanisms
(task #8829)
* irc: fix crash with SSL connection if option ssl_cert is set (bug #28752)
* irc: fix bug with SSL connection (fails sometimes when ssl_verify is on)
(bug #28741)
* irc: add new option irc.look.part_closes_buffer to close buffer when /part
is issued on channel (task #10295)
* irc: fix bug with nicks on reconnection: try all nicks in list, even if nick
used was not the first in list of nicks
* irc: fix command /list: send channel and server name given as argument, and
use separate option "-re" to allow a regex
* irc: fix PART message received on Undernet server (bug #28825)
* irc: fix bug with /away -all: set or unset future away for disconnected
servers (bug #29022)
* irc: bug with prefix "!" for mode "a" (channel admin) (bug #29109)
* irc: do not send signals "irc_in" and "irc_in2" when messages are ignored,
add new signals "irc_raw_in" and "irc_raw_in2"
* irc: add option "-open" for command /connect
* irc: add option irc.network.connection_timeout (timeout between TCP connection
to server and reception of message 001)
* irc: add options irc.look.smart_filter_join and irc.look.smart_filter_quit
* irc: apply smart filter only on channels, not private buffers (bug #28841)
* irc: add option irc.look.item_channel_modes_hide_key to hide channel key
in channel modes (bug #23961)
* irc: add option irc.look.item_nick_prefix
* irc: add command /map
* irc: add missing commands 276, 343
* irc: fix compilation with old GnuTLS versions (bug #28723)
* logger: allow date format in logger options path and mask (task #9430)
* xfer: fix crash when purging old xfer chats (bug #28764)
* xfer: add signal "xfer_ended" (patch #7081)
Version 0.3.1.1 (2010-01-31)
----------------------------
* irc: fix crash with SSL connection if option ssl_cert is set (bug #28752)
* irc: fix bug with SSL connection (fails sometimes when ssl_verify is on)
(bug #28741)
@@ -16,7 +257,7 @@ Version 0.3.1 (2010-01-23)
--------------------------
* core: fix bug with script installation on BSD/OSX (patch #6980)
* core: add option grab_key_command for /input (bound by default to alt-k)
* core: add option grab_key_command for /input (bound by default to alt+"k")
* core: fix compilation under Cygwin (patch #6916)
* core: fix cmake directories: let user customize lib, share, locale and include
directories (patch #6922)
@@ -119,7 +360,7 @@ Version 0.3.0 (2009-09-06)
* gui: add buffer merging (task #7404)
* gui: add custom bars, with custom items
* gui: add key to zoom a window (task #7470)
* gui: add keys to move into last visited buffers: alt + "<" and alt + ">"
* gui: add keys to move into last visited buffers: alt+"<" and alt+">"
* gui: come back to last visited buffer when closing a buffer
* gui: add new option scroll_page_percent to choose percent of height to scroll
with page_up and page_down keys (task #8702)
@@ -178,7 +419,7 @@ Version 0.2.6 (2007-09-06)
* fix display bug with some special chars in messages (some words were
truncated on screen) (bug #20944)
* fix UTF-8 bug with color encoding/decoding
* fix crash when searching text in buffer with ctrl-R (bug #20938)
* fix crash when searching text in buffer with ctrl+"r" (bug #20938)
* add string length limit for setup file options
* fix bug with flock() when home is on NFS filesystem (bug #20913)
* add option to align text of messages (except first lines) (task #7246)
@@ -195,22 +436,22 @@ Version 0.2.6 (2007-09-06)
add option to /server to create temporary server (task #7095)
* add "copy", "rename" and "keep" options to /server command
* allow clear of multiple selected buffers with /clear (patch #6112)
* add key for setting unread marker on all buffers (default: ctrl-S + ctrl-U)
(task #7180)
* add key for setting unread marker on all buffers
(default: ctrl+"s" + ctrl+"u") (task #7180)
* fix nick prefix display on servers that doesn't support all prefixes
(bug #20025)
* fix terminal encoding detection when NLS is disabled (bug #20646)
* fix crash when sending data to channel or pv on disconnected server
(bug #20524)
* improve command /server ant its output
* add 3 default new keys: ctrl-B (left), ctrl-F (right), ctrl-D (delete)
* add 3 default new keys: ctrl+"b" (left), ctrl+"f" (right), ctrl+"d" (delete)
* add "buffer_move" event handler to plugins API (task #6708)
* add key function "jump_previous_buffer" to jump to buffer previously
displayed (new key: alt-J + alt-P) (task #7085)
displayed (new key: alt+"j" + alt+"p") (task #7085)
* add "%*" to completion template, to repeat last completion
* add "-nojoin" option for /connect and /reconnect commands (task #7074)
* fix bugs with IRC color in messages, now color codes are inserted in command
line with ctrl-c, ctrl-b.. instead of %C,%B,.. (bug #20222, task #7060)
line with ctrl+"c", ctrl+"b".. instead of %C,%B,.. (bug #20222, task #7060)
* fix bug with smart nick completion (last speakers first) when a nick is
changed
* fix charset bug with channel names in status bar (bug #20400)
@@ -275,7 +516,7 @@ Version 0.2.4 (2007-03-29)
* fix bug with channel topic after reconnection (not erased) (bug #19384)
* add current buffer in hotlist when scrolling up in buffer (task #6664)
* fix bug with explode_string / free_exploded_string when max_items > 0
* add new key (ctrl-R) for interactive and incremental search in buffer
* add new key (ctrl+"r") for interactive and incremental search in buffer
history (task #6628)
* fix /topic completion when no topic set on current channel (bug #19322)
* improve password hiding, code cleanup (bug #19229)
@@ -334,7 +575,7 @@ Version 0.2.2 (2007-01-06)
* /charset command and charset conversions now made by "charset" plugin
* fix display bug in status bar, wrong length when using UTF-8
* fix bug with ignore: now any IRC command is allowed
* fix crash with Ctrl-T (transpose) and one char on line (bug #18153)
* fix crash with ctrl+"t" (transpose) and one char on line (bug #18153)
* add filename completion (task #5425)
* add "modifier" in plugins API
* improve /plugin command
@@ -377,7 +618,7 @@ Version 0.2.1 (2006-10-01)
* values yes/no accepted (as on/off) for config boolean values (task #5454)
* add server default notify level (set by /buffer notify on server buffer)
(task #5634)
* fix crashs with /buffer and /charset commands when not connected to any
* fix crashes with /buffer and /charset commands when not connected to any
server (bug #17525)
* add special vars $nick/$channel/$server for server_command, alias and plugin
command handlers
@@ -498,14 +739,14 @@ Version 0.1.8 (2006-03-18)
* fix completion problem in private with nicks
* add missing IRC command (487)
* add inactivity time, available for plugins via get_info("inactivity")
* keys alt-{home|end} to scroll top/bottom, alt-{f11-f12} to scroll nicklist
* keys alt+{home|end} to scroll top/bottom, alt+{f11|f12} to scroll nicklist
top/bottom
* add special names for plugin message handlers: weechat_pv, weechat_highlight,
weechat_ctcp, weechat_dcc
* script plugins now load scripts in WeeChat system share directory
* /msg command does not open any buffer any more
* fix crash when using global history (when older entry is removed)
* add IRC raw data buffer (new key: alt-J + alt-R)
* add IRC raw data buffer (new key: alt+"j" + alt+"r")
* fix display bug with /kill command
* add new plugins functions: add_timer_handler, remove_timer_handler,
remove_infobar
@@ -552,10 +793,10 @@ Version 0.1.7 (2006-01-14)
* /nick command is now allowed when not connected to server
* add server/channel arg 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 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)
buffer (new key alt+"u" to scroll to marker)
* new window maganement: custom size for windows, auto resize when terminal is
resized
* fix infinite loop when resizing term to small size
@@ -585,7 +826,7 @@ Version 0.1.6 (2005-11-11)
* add colors for input buffer and current channel of status bar
* add online help for config options (with /set full_option_name)
* enhanced "smart" hotlist, with names (new options:
look_hotlist_names_{count|level|length})
look_hotlist_names_{count|level|length})
Version 0.1.5 (2005-09-24)
--------------------------
@@ -608,7 +849,7 @@ Version 0.1.5 (2005-09-24)
* fix look_nicklist_min_size and look_nicklist_max_size options
* fix refresh bug when changing channel modes
* jump to next server now saves current channel buffer for each server
* add keys ctrl-up/ctrl-down to call previous/next command in global history
* add keys ctrl+{up|down} to call previous/next command in global history
(common to all buffers)
Version 0.1.4 (2005-07-30)
@@ -629,7 +870,7 @@ Version 0.1.4 (2005-07-30)
* topic completion now decodes UTF-8 string
* fix bug with IRC URL on command line (irc://)
* new keyboard management: keys are setup in config file, add new command /key,
add some new default keys, alt-K key is used to grab key (useful for /key
add some new default keys, alt+"k" key is used to grab key (useful for /key
command)
* add seconds in infobar time (optional thanks to new setting)
* fix some curses refreshs
@@ -658,7 +899,7 @@ Version 0.1.3 (2005-07-02)
* 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)
* fix crash when using alt+"s" or alt+"x" on DCC buffer (alt+"d")
* fix startup crash when config file (~/.weechat/weechat.rc) is not found
* improve Perl/Python libs detection for ./configure script
@@ -667,7 +908,7 @@ Version 0.1.2 (2005-05-21)
* add Python plugin support, improve Perl interface (and now Perl/Python
libraries are checked by configure script)
* add nicklist scroll keys (alt+{home/end/pgup/pgdn} or F11/F12)
* add nicklist scroll keys (alt+{home|end|pgup|pgdn} or F11/F12)
* add transfer rate for DCC files
* add "-all" option for /nick command
* buffers timestamp can now be changed (new option in config file)
@@ -743,8 +984,9 @@ Version 0.0.9 (2005-01-01)
* fix display of nick mode changes
* new command "/buffer close" (close any server/channel/private buffer)
* fix /notice command (and display when received from server)
* new keys: ctrl+A (=home), ctrl+E (=end), ctrl+W (= ctrl+Backspace), alt-S
(switch to server buffer), alt-X (switch to first channel of next server)
* new keys: ctrl+"a" (=home), ctrl+"e" (=end), ctrl+"w" (= ctrl+backspace),
alt+"s" (switch to server buffer), alt+"x" (switch to first channel of next
server)
* add new config option: "server_command_delay" (delay in seconds after startup
command for each server)
@@ -761,17 +1003,17 @@ Version 0.0.8 (2004-10-30)
* 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)
* add key for redrawing terminal (ctrl+"l")
* add key for clearing hotlist (alt+"r")
Version 0.0.7 (2004-08-08)
--------------------------
* new "col_status_delimiters" config option
* add command /buffer , buffers ordered by number, auto-jump to active buffers
(alt-A), jump to buffers by number (alt-number)
(alt+"a"), jump to buffers by number (alt+number)
* add command /window, split terminal horizontally/vertically
* unique color for each nick (based on nickname)
* action messages are now considered as messages, not crappy joins/parts
@@ -819,7 +1061,7 @@ Version 0.0.4 (2004-01-01)
* when private window is created (another user is talking), WeeChat does not
switch to this window
* highlight when our nick is written in a channel/private window
* catch ctrl-C (ignored)
* catch ctrl+"c" (ignored)
* debug messages can be enabled via ./configure --enbale-debug option
Version 0.0.3 (2003-11-03)
+1 -1
View File
@@ -27,7 +27,7 @@ make install (as root for installation in system directories)
----------------------------------------------------------------------
If you want to report bugs/crashs to developers, please:
If you want to report bugs/crashes to developers, please:
- compile with debug info (type "Debug" for cmake build, default for autotools),
- enable core files (for bash shell, add "ulimit -c unlimited" to your ~/.bashrc).
+10 -4
View File
@@ -1,17 +1,22 @@
# Copyright (c) 2003-2010 by FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# Copyright (C) 2003-2011 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2005 Julien Louis <ptitlouis@sysif.net>
# Copyright (C) 2006-2009 Emmanuel Bouthenot <kolter@openics.org>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# WeeChat is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
#
if DOC
@@ -26,6 +31,7 @@ EXTRA_DIST = CMakeLists.txt \
cmake/cmake_uninstall.cmake.in \
cmake/FindAsciidoc.cmake \
cmake/FindAspell.cmake \
cmake/FindGcrypt.cmake \
cmake/FindGettext.cmake \
cmake/FindGnuTLS.cmake \
cmake/FindIconv.cmake \
+253 -160
View File
@@ -1,194 +1,287 @@
WeeChat News
============
Sébastien Helleu <flashcode@flashtux.org>
v0.3.4, 2011-01-16
FlashCode, 2010-01-31::
WeeChat 0.3.1.1 released.
+
This version fixes crashs with SSL connection and purge of old DCC chats.
FlashCode, 2010-01-23::
WeeChat 0.3.1 released.
+
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`
Version 0.3.4 (2011-01-16)
--------------------------
FlashCode, 2009-09-06::
WeeChat 0.3.0 released.
+
This version brings major changes, especially for configuration files
and plugin API.
+
For more information about this version, please read file UPGRADE_0.3.
Important release notes:
FlashCode, 2009-06-13::
WeeChat 0.2.6.3 released.
+
This version fixes gnutls detection.
* 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)
FlashCode, 2009-04-18::
WeeChat 0.2.6.2 released.
+
This version fixes a bug with charset decoding (like iso2022jp).
Version 0.3.3 (2010-08-07)
--------------------------
FlashCode, 2009-03-14::
WeeChat 0.2.6.1 released.
+
This version fixes a major bug: crash with some special chars in IRC
messages.
Important release notes:
FlashCode, 2007-09-06::
WeeChat 0.2.6 released.
* if you are using `/upgrade` from a previous release, then you must reconnect
to IRC servers in order to use new command /wallchops.
* option 'irc.network.lag_min_show' is now in milliseconds, you should set new
value: your current value multiplied by 1000 (new default value is 500).
FlashCode, 2007-06-07::
WeeChat 0.2.5 released.
Version 0.3.2 (2010-04-18)
--------------------------
FlashCode, 2007-03-29::
WeeChat 0.2.4 released.
If you are using `/upgrade` from a previous release, then you must execute this
command on all IRC servers/channels/private buffers and xfer DCC chats (not
needed on WeeChat core buffer or buffers from other plugins/scripts): +
`/buffer set highlight_words $nick`
FlashCode, 2007-01-10::
WeeChat 0.2.3 released.
+
This version fixes several major bugs of version 0.2.2.
All users of version 0.2.2 should upgrade to this version.
Version 0.3.1.1 (2010-01-31)
----------------------------
FlashCode, 2007-01-06::
WeeChat 0.2.2 released.
+
Important release notes:
* new charset plugin:
** for users of any previous version, all your charset settings
in weechat.rc will be LOST! You should save your weechat.rc
to keep your values and set them again with new "charset" plugin.
** for ISO users: history of channels may be without accents
(after /upgrade), this is not recoverable, but this is not a bug.
All new messages should be ok.
** be careful, now default encode is UTF-8 for all channels (before
it was terminal charset). If you still want to send messages as
ISO-8859-1, you should send either global encode or server specific
encode to ISO-8859-1.
For global encode: /setp charset.global.encode = "ISO-8859-1"
For server encode: (on server buffer) /charset encode ISO-8859-1
* new keys for topic scroll:
** new keys for scrolling topic: F9/F10
** key F10 was used for "infobar_clear" in previous WeeChat versions,
you have to manually rebind this key (except for new WeeChat users):
/key <press alt-k then F10> scroll_topic_right
which gives something like this:
/key meta2-21~ scroll_topic_right
This version fixes crashs with SSL connection and purge of old DCC chats.
FlashCode, 2006-10-01::
WeeChat 0.2.1 released.
All users of version 0.2.2 should upgrade to this version.
FlashCode, 2006-08-19::
WeeChat 0.2.0 released.
+
Important release notes:
* if you upgraded with /upgrade in WeeChat, you should /disconnect and
then /reconnect on each server, to display properly channel/user modes
* if you're using plugins, you should remove some old plugins libraries
in WeeChat system library directory (commonly
/usr/local/lib/weechat/plugins): remove `lib*` files (like `libperl.*`,
`libpython.*`, ..) and keep only new libraries (`perl.*`, `python.*`, ..)
Version 0.3.1 (2010-01-23)
--------------------------
FlashCode, 2006-05-25::
WeeChat 0.1.9 released.
+
Important release notes:
* please close all DCC chat buffers before using /upgrade command,
otherwise you may experience problems with DCC chats.
* some changes in script API: now timer handlers functions takes exactly
0 (zero) argument (in version 0.1.8, two arguments were mandatory but
not used: server and args)
IRC commands /ame and /amsg are now aliases, if you are upgrading from version
0.3.0, you must create aliases with following commands: +
`/alias aaway allserv /away` +
`/alias ame allchan /me` +
`/alias amsg allchan /amsg *` +
`/alias anick allserv /nick`
FlashCode, 2006-03-18::
WeeChat 0.1.8 released.
+
Important release notes:
* it is recommended for users of version 0.1.7 (or any older), to
replace values in setup file (~/.weechat/weechat.rc) :
** option: log_path: replace "~/.weechat/logs" by "%h/logs"
** option: plugins_path: replace "~/.weechat/plugins" by "%h/plugins"
+
"%h" is replaced by WeeChat home (default: ~/.weechat, may be overriden
by new command line arg --dir)
* after installing 0.1.8 (or with /upgrade), issue both commands (if you
didn't redefined these keys (alt-home/end):
/key unbind meta-meta2-1~
/key unbind meta-meta2-4~
then launch again WeeChat (or issue /upgrade).
Alt-home/end were used for nicklist scroll, they're now replaced by
Alt-F11/F12.
Version 0.3.0 (2009-09-06)
--------------------------
FlashCode, 2006-01-14::
WeeChat 0.1.7 released.
+
Important release notes:
* Ruby script plugin has been added but is experimental in this release.
You're warned!
* "/away" command was changed to be RFC 2812 compliant.
Now argument is required to set away, and no argument means
remove away ("back"). Setting "irc_default_msg_away" has been removed.
This version brings major changes, especially for configuration files and plugin
API.
FlashCode, 2005-11-11::
WeeChat 0.1.6 released.
+
Important release notes:
* incompatibility with some old scripts: now all handlers have to return
a code for completion, and to do some actions about message to ignore
(please look at documentation for detail)
* on OpenBSD, the new option "plugins_extension" should be set to ".so.0.0"
since the plugins names are ending by ".so.0.0" and not ".so"
* with new and full UTF-8 support, the option "look_charset_internal"
should be set to blank for most cases. Forces it only if your locale is
not properly detected by WeeChat (you can set "UTF-8" or "ISO-8859-15"
for example, depending on your locale). WeeChat is looking for "UTF-8" in
your locale name at startup.
For more information about this version, please read file 'UPGRADE_0.3'.
FlashCode, 2005-09-24::
WeeChat 0.1.5 released.
Version 0.2.6.3 (2009-06-13)
----------------------------
FlashCode, 2005-07-30::
WeeChat 0.1.4 released.
This version fixes gnutls detection.
FlashCode, 2005-07-02::
WeeChat 0.1.3 released.
Version 0.2.6.2 (2009-04-18)
----------------------------
FlashCode, 2005-05-21::
WeeChat 0.1.2 released.
This version fixes a bug with charset decoding (like 'iso2022jp').
FlashCode, 2005-03-20::
WeeChat 0.1.1 released.
Version 0.2.6.1 (2009-03-14)
----------------------------
FlashCode, 2005-02-12::
WeeChat 0.1.0 released.
This version fixes a major bug: crash with some special chars in IRC messages.
FlashCode, 2005-01-01::
WeeChat 0.0.9 released.
Version 0.2.6 (2007-09-06)
--------------------------
FlashCode, 2004-10-30::
WeeChat 0.0.8 released.
No release note.
FlashCode, 2004-08-08::
WeeChat 0.0.7 released.
Version 0.2.5 (2007-06-07)
--------------------------
FlashCode, 2004-06-05::
WeeChat 0.0.6 released.
No release note.
FlashCode, 2004-02-07::
WeeChat 0.0.5 released.
Version 0.2.4 (2007-03-29)
--------------------------
FlashCode, 2004-01-01::
WeeChat 0.0.4 released.
No release note.
FlashCode, 2003-11-03::
WeeChat 0.0.3 released.
Version 0.2.3 (2007-01-10)
--------------------------
FlashCode, 2003-10-05::
WeeChat 0.0.2 released.
This version fixes several major bugs of version 0.2.2.
FlashCode, 2003-09-27::
WeeChat 0.0.1 released.
All users of version 0.2.2 should upgrade to this version.
Version 0.2.2 (2007-01-06)
--------------------------
Important release notes:
* new charset plugin:
** for users of any previous version, all your charset settings in weechat.rc
will be LOST! You should save your weechat.rc to keep your values and set
them again with new 'charset' plugin.
** for ISO users: history of channels may be without accents (after `/upgrade`),
this is not recoverable, but this is not a bug. All new messages should be
ok.
** be careful, now default encode is UTF-8 for all channels (before it was
terminal charset). If you still want to send messages as 'ISO-8859-1', you
should send either global encode or server specific encode to 'ISO-8859-1':
*** for global encode: `/setp charset.global.encode = "ISO-8859-1"`
*** for server encode (on server buffer): `/charset encode ISO-8859-1`
* new keys for topic scroll:
** new keys for scrolling topic: F9/F10
** key F10 was used for `infobar_clear` in previous WeeChat versions,
you have to manually rebind this key (except for new WeeChat users):
*** `/key <press alt-k then F10> scroll_topic_right` (which gives something
like: `/key meta2-21~ scroll_topic_right`).
Version 0.2.1 (2006-10-01)
--------------------------
No release note.
Version 0.2.0 (2006-08-19)
--------------------------
Important release notes:
* if you upgraded with `/upgrade` in WeeChat, you should `/disconnect` and then
`/reconnect` on each server, to display properly channel/user modes.
* if you're using plugins, you should remove some old plugins libraries in
WeeChat system library directory (commonly '/usr/local/lib/weechat/plugins'):
remove `lib*` files (like `libperl.*`, `libpython.*`, ..) and keep only new
libraries (`perl.*`, `python.*`, ..).
Version 0.1.9 (2006-05-25)
--------------------------
Important release notes:
* please close all DCC chat buffers before using /upgrade command, otherwise you
may experience problems with DCC chats.
* some changes in script API: now timer handlers functions takes exactly
0 (zero) argument (in version 0.1.8, two arguments were mandatory but not
used: server and args).
Version 0.1.8 (2006-03-18)
--------------------------
Important release notes:
* it is recommended for users of version 0.1.7 (or any older), to
replace values in setup file ('~/.weechat/weechat.rc'):
** option: log_path: replace '~/.weechat/logs' by '%h/logs'
** option: plugins_path: replace '~/.weechat/plugins' by '%h/plugins' +
'%h' is replaced by WeeChat home (default: '~/.weechat', may be overriden
by new command line arg `--dir`).
* after installing 0.1.8 (or with `/upgrade`), issue both commands (if you
didn't redefine these keys (alt-home/end):
** `/key unbind meta-meta2-1~`
** `/key unbind meta-meta2-4~`
** then launch again WeeChat (or issue `/upgrade`).
* Keys alt-home/end were used for nicklist scroll, they're now replaced by
alt-F11/F12.
Version 0.1.7 (2006-01-14)
--------------------------
Important release notes:
* Ruby script plugin has been added but is experimental in this release.
You're warned!
* `/away` command was changed to be RFC 2812 compliant. Now argument is required
to set away, and no argument means remove away ("back"). Option
'irc_default_msg_away' has been removed.
Version 0.1.6 (2005-11-11)
--------------------------
Important release notes:
* incompatibility with some old scripts: now all handlers have to return a code
for completion, and to do some actions about message to ignore (please look at
documentation for detail).
* on OpenBSD, the new option 'plugins_extension' should be set to '.so.0.0'
since the plugins names are ending by '.so.0.0' and not '.so'.
* with new and full UTF-8 support, the option 'look_charset_internal' should be
set to blank for most cases. Forces it only if your locale is not properly
detected by WeeChat (you can set 'UTF-8' or 'ISO-8859-15' for example,
depending on your locale). WeeChat is looking for 'UTF-8' in your locale name
at startup.
Version 0.1.5 (2005-09-24)
--------------------------
No release note.
Version 0.1.4 (2005-07-30)
--------------------------
No release note.
Version 0.1.3 (2005-07-02)
--------------------------
No release note.
Version 0.1.2 (2005-05-21)
--------------------------
No release note.
Version 0.1.1 (2005-03-20)
--------------------------
No release note.
Version 0.1.0 (2005-02-12)
--------------------------
No release note.
Version 0.0.9 (2005-01-01)
--------------------------
No release note.
Version 0.0.8 (2004-10-30)
--------------------------
No release note.
Version 0.0.7 (2004-08-08)
--------------------------
No release note.
Version 0.0.6 (2004-06-05)
--------------------------
No release note.
Version 0.0.5 (2004-02-07)
--------------------------
No release note.
Version 0.0.4 (2004-01-01)
--------------------------
No release note.
Version 0.0.3 (2003-11-03)
--------------------------
No release note.
Version 0.0.2 (2003-10-05)
--------------------------
No release note.
Version 0.0.1 (2003-09-27)
--------------------------
No release note.
+6 -4
View File
@@ -27,17 +27,19 @@ NOTE: (1) only Curses interface is available today
Copyright
---------
WeeChat (c) Copyright 2003-2010 by FlashCode <flashcode@flashtux.org>
Copyright (C) 2003-2011 Sébastien Helleu <flashcode@flashtux.org>
This program is free software; you can redistribute it and/or modify
This file is part of WeeChat, the extensible chat client.
WeeChat is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
WeeChat is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
+1 -1
View File
@@ -1,6 +1,6 @@
WeeChat Upgrade to 0.3.x
========================
FlashCode <flashcode@flashtux.org>
Sébastien Helleu <flashcode@flashtux.org>
v0.3.0, 2009-09-06
+11 -7
View File
@@ -1,19 +1,23 @@
#!/bin/sh
#
# Copyright (c) 2003-2010 by FlashCode <flashcode@flashtux.org>
# Copyright (C) 2003-2011 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2005 Julien Louis <ptitlouis@sysif.net>
# Copyright (C) 2005-2006 Emmanuel Bouthenot <kolter@openics.org>
#
# This program is free software; you can redistribute it and/or modify
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# WeeChat is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
#
###
@@ -39,10 +43,10 @@ run ()
echo -n "Running \"$@\""
eval $@ >$AUTOGEN_LOG 2>&1
if [ $? = 0 ] ; then
echo -e $OK
echo -e $OK
else
echo -e $FAIL
err
echo -e $FAIL
err
fi
}
+7 -4
View File
@@ -1,17 +1,20 @@
# Copyright (c) 2003-2010 by FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# Copyright (C) 2003-2011 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# WeeChat is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
#
# - Find Asciidoc
+8 -5
View File
@@ -1,21 +1,24 @@
# Copyright (c) 2003-2010 by FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# Copyright (C) 2003-2011 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# WeeChat is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
#
# - Find Aspell
# This module finds if libaspell is installed and determines where
# This module finds if libaspell is installed and determines where
# the include files and libraries are.
#
# This code sets the following variables:
+50
View File
@@ -0,0 +1,50 @@
#
# Copyright (C) 2003-2011 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# WeeChat is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
#
# - Find Gcrypt
# This module finds if libgcrypt is installed and determines where
# the include files and libraries are.
#
# This code sets the following variables:
#
# GCRYPT_CFLAGS = cflags to use to compile
# GCRYPT_LDFLAGS = ldflags to use to compile
#
FIND_PROGRAM(LIBGCRYPT_CONFIG_EXECUTABLE NAMES libgcrypt-config)
set(GCRYPT_LDFLAGS)
set(GCRYPT_CFLAGS)
IF(LIBGCRYPT_CONFIG_EXECUTABLE)
EXEC_PROGRAM(${LIBGCRYPT_CONFIG_EXECUTABLE} ARGS --libs RETURN_VALUE _return_VALUE OUTPUT_VARIABLE GCRYPT_LDFLAGS)
EXEC_PROGRAM(${LIBGCRYPT_CONFIG_EXECUTABLE} ARGS --cflags RETURN_VALUE _return_VALUE OUTPUT_VARIABLE GCRYPT_CFLAGS)
IF(${GCRYPT_CFLAGS} MATCHES "\n")
SET(GCRYPT_CFLAGS " ")
ENDIF(${GCRYPT_CFLAGS} MATCHES "\n")
IF(GCRYPT_LDFLAGS AND GCRYPT_CFLAGS)
SET(GCRYPT_FOUND TRUE)
ENDIF(GCRYPT_LDFLAGS AND GCRYPT_CFLAGS)
ENDIF(LIBGCRYPT_CONFIG_EXECUTABLE)
MARK_AS_ADVANCED(GCRYPT_CFLAGS GCRYPT_LDFLAGS)
+11 -6
View File
@@ -1,21 +1,26 @@
# Copyright (c) 2003-2010 by FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# Copyright (C) 2003-2011 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2007 Julien Louis <ptitlouis@sysif.net>
# Copyright (C) 2009 Emmanuel Bouthenot <kolter@openics.org>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# WeeChat is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
#
# - Find Gettext
# This module finds if gettext is installed and determines where
# This module finds if gettext is installed and determines where
# the include files and libraries are.
#
# This code sets the following variables:
@@ -60,7 +65,7 @@ IF(HAVE_LIBINTL_H)
ENDIF(${CMAKE_SYSTEM_NAME} STREQUAL "OpenBSD")
IF(LIBINTL_HAS_DGETTEXT)
SET(GETTEXT_FOUND TRUE)
SET(GETTEXT_FOUND TRUE)
ENDIF(LIBINTL_HAS_DGETTEXT)
ENDIF(LIBINTL_LIBRARY)
ENDIF(LIBC_HAS_DGETTEXT)
+9 -5
View File
@@ -1,21 +1,25 @@
# Copyright (c) 2003-2010 by FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# Copyright (C) 2003-2011 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2009 Emmanuel Bouthenot <kolter@openics.org>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# WeeChat is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
#
# - Find GnuTLS
# This module finds if libgnutls is installed and determines where
# This module finds if libgnutls is installed and determines where
# the include files and libraries are.
#
# This code sets the following variables:
+8 -5
View File
@@ -1,21 +1,24 @@
# Copyright (c) 2003-2010 by FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# Copyright (C) 2003-2011 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# WeeChat is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
#
# - Find Iconv
# This module finds if libiconv is installed and determines where
# This module finds if libiconv is installed and determines where
# the include files and libraries are.
#
# This code sets the following variables:
+10 -7
View File
@@ -1,21 +1,24 @@
# Copyright (c) 2003-2010 by FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# Copyright (C) 2003-2011 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# WeeChat is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
#
# - Find Lua
# This module finds if liblua is installed and determines where
# This module finds if liblua is installed and determines where
# the include files and libraries are.
#
# This code sets the following variables:
@@ -61,8 +64,8 @@ ELSE(LUA51_INCLUDE_PATH AND LUA51_LIBRARY)
)
FIND_LIBRARY(
LUALIB50_LIBRARY NAMES lualib50 lualib5.0 lualib-5.0 lualib
PATHS /lib /usr/lib /usr/local/lib /usr/pkg/lib
LUALIB50_LIBRARY NAMES lualib50 lualib5.0 lualib-5.0 lualib
PATHS /lib /usr/lib /usr/local/lib /usr/pkg/lib
PATH_SUFFIXES lua50 lua5.0 lua-5.0 lua
)
+23 -6
View File
@@ -1,17 +1,20 @@
# Copyright (c) 2003-2010 by FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# Copyright (C) 2003-2011 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# WeeChat is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
#
IF(NCURSES_FOUND)
@@ -23,11 +26,25 @@ FIND_PATH(NCURSES_INCLUDE_PATH
PATHS /usr/include /usr/local/include /usr/pkg/include
)
FIND_LIBRARY(NCURSES_LIBRARY
NAMES ncursesw ncurses
FIND_LIBRARY(NCURSESW_LIBRARY
NAMES ncursesw
PATHS /lib /usr/lib /usr/local/lib /usr/pkg/lib
)
IF (NCURSESW_LIBRARY)
SET(NCURSES_LIBRARY ${NCURSESW_LIBRARY})
ELSE(NCURSESW_LIBRARY)
FIND_LIBRARY(NCURSES_LIBRARY
NAMES ncurses
PATHS /lib /usr/lib /usr/local/lib /usr/pkg/lib
)
IF (NCURSES_LIBRARY)
MESSAGE("*** WARNING:\n"
"*** ncursesw library not found! Falling back to \"ncurses\"\n"
"*** Be careful, UTF-8 display may not work properly if your locale is UTF-8.")
ENDIF(NCURSES_LIBRARY)
ENDIF(NCURSESW_LIBRARY)
IF (NCURSES_INCLUDE_PATH AND NCURSES_LIBRARY)
SET(NCURSES_FOUND TRUE)
ENDIF(NCURSES_INCLUDE_PATH AND NCURSES_LIBRARY)
+8 -5
View File
@@ -1,17 +1,20 @@
# Copyright (c) 2003-2010 by FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# Copyright (C) 2003-2011 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# WeeChat is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
#
# - Find Perl libraries
@@ -57,7 +60,7 @@ IF(PERL_EXECUTABLE)
STRING(REPLACE "\n" "" PERL_CFLAGS "${PERL_CFLAGS}")
STRING(REPLACE "\n" "" PERL_LFLAGS "${PERL_LFLAGS}")
FIND_PATH(PERL_INCLUDE_PATH
FIND_PATH(PERL_INCLUDE_PATH
NAMES perl.h
PATHS ${PERL_INTERNAL_DIR}
)
+4 -4
View File
@@ -72,13 +72,13 @@
#
# Redistribution and use, with or without modification, are permitted
# provided that the following conditions are met:
#
#
# 1. Redistributions must retain the above copyright notice, this
# list of conditions and the following disclaimer.
# 2. The name of the author may not be used to endorse or promote
# products derived from this software without specific prior
# written permission.
#
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -232,7 +232,7 @@ macro(_pkg_check_modules_internal _is_required _is_silent _prefix)
# create the final query which is of the format:
# * --atleast-version <version> <pkg-name>
# * --exact-version <version> <pkg-name>
# * --exact-version <version> <pkg-name>
# * --max-version <version> <pkg-name>
# * --exists <pkg-name>
if (_pkg_check_modules_pkg_op)
@@ -352,7 +352,7 @@ macro(pkg_search_module _prefix _module0)
endif(NOT ${_prefix}_FOUND)
_pkgconfig_set(__pkg_config_checked_${_prefix} ${PKG_CONFIG_VERSION})
endif(NOT DEFINED __pkg_config_checked_${_prefix} OR __pkg_config_checked_${_prefix} LESS ${PKG_CONFIG_VERSION} OR NOT ${_prefix}_FOUND)
endif(NOT DEFINED __pkg_config_checked_${_prefix} OR __pkg_config_checked_${_prefix} LESS ${PKG_CONFIG_VERSION} OR NOT ${_prefix}_FOUND)
endmacro(pkg_search_module)
### Local Variables:
+11 -7
View File
@@ -1,17 +1,21 @@
# Copyright (c) 2003-2010 by FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# Copyright (C) 2003-2011 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2009 Julien Louis <ptitlouis@sysif.net>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# WeeChat is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
#
# - Find Python
@@ -29,8 +33,8 @@ IF(PYTHON_FOUND)
SET(PYTHON_FIND_QUIETLY TRUE)
ENDIF(PYTHON_FOUND)
FIND_PROGRAM(PYTHON_EXECUTABLE
NAMES python python2.6 python2.5 python2.4 python2.3 python2.2
FIND_PROGRAM(PYTHON_EXECUTABLE
NAMES python python2.7 python2.6 python2.5 python2.4 python2.3 python2.2
PATHS /usr/bin /usr/local/bin /usr/pkg/bin
)
@@ -61,7 +65,7 @@ IF(PYTHON_EXECUTABLE)
)
FIND_LIBRARY(PYTHON_LIBRARY
NAMES python python2.6 python2.5 python2.4 python2.3 python2.2
NAMES python python2.7 python2.6 python2.5 python2.4 python2.3 python2.2
PATHS ${PYTHON_POSSIBLE_LIB_PATH}
)
+10 -7
View File
@@ -1,17 +1,20 @@
# Copyright (c) 2003-2010 by FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# Copyright (C) 2003-2011 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# WeeChat is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
#
# - Find Ruby
@@ -28,8 +31,8 @@ IF(RUBY_FOUND)
SET(RUBY_FIND_QUIETLY TRUE)
ENDIF(RUBY_FOUND)
FIND_PROGRAM(RUBY_EXECUTABLE
NAMES ruby ruby1.9 ruby19 ruby1.8 ruby18 ruby1.6 ruby16
FIND_PROGRAM(RUBY_EXECUTABLE
NAMES ruby1.9.2 ruby192 ruby1.9.1 ruby191 ruby1.9 ruby19 ruby1.8 ruby18 ruby1.6 ruby16 ruby
PATHS /usr/bin /usr/local/bin /usr/pkg/bin
)
@@ -75,7 +78,7 @@ IF(RUBY_EXECUTABLE)
"${RUBY_INCLUDE_PATH}/${RUBY_ARCH}")
FIND_LIBRARY(RUBY_LIBRARY
NAMES ruby ruby1.6 ruby16 ruby1.8 ruby18 ruby1.9 ruby19
NAMES ruby-1.9.2 ruby1.9.2 ruby192 ruby-1.9.1 ruby1.9.1 ruby191 ruby1.9 ruby19 ruby1.8 ruby18 ruby1.6 ruby16 ruby
PATHS ${RUBY_POSSIBLE_LIB_PATH} ${RUBY_RUBY_LIB_PATH}
)
+8 -4
View File
@@ -1,17 +1,21 @@
# Copyright (c) 2003-2010 by FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# Copyright (C) 2003-2011 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2009 Emmanuel Bouthenot <kolter@openics.org>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# WeeChat is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
#
# - Find Source-Highlight
+38 -38
View File
@@ -1,3 +1,23 @@
#
# Copyright (C) 2008 Julien Louis <ptitlouis@sysif.net>
# Copyright (C) 2008-2011 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# WeeChat is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
#
# - Find Tcl includes and libraries.
# This module finds if Tcl is installed and determines where the
# include files and libraries are. It also determines what the name of
@@ -18,11 +38,11 @@
# - The stub libraries are now found in FindTclStub.cmake
# => they were only useful for people writing Tcl/Tk extensions.
# - TCL_LIBRARY_DEBUG and TK_LIBRARY_DEBUG were removed.
# => these libs are not packaged by default with Tcl/Tk distributions.
# => these libs are not packaged by default with Tcl/Tk distributions.
# Even when Tcl/Tk is built from source, several flavors of debug libs
# are created and there is no real reason to pick a single one
# specifically (say, amongst tcl84g, tcl84gs, or tcl84sgx).
# Let's leave that choice to the user by allowing him to assign
# specifically (say, amongst tcl84g, tcl84gs, or tcl84sgx).
# Let's leave that choice to the user by allowing him to assign
# TCL_LIBRARY to any Tcl library, debug or not.
# - TK_INTERNAL_PATH was removed.
# => this ended up being only a Win32 variable, and there is a lot of
@@ -40,53 +60,45 @@ INCLUDE(FindTclsh)
GET_FILENAME_COMPONENT(TCL_TCLSH_PATH "${TCL_TCLSH}" PATH)
GET_FILENAME_COMPONENT(TCL_TCLSH_PATH_PARENT "${TCL_TCLSH_PATH}" PATH)
STRING(REGEX REPLACE
STRING(REGEX REPLACE
"^.*tclsh([0-9]\\.*[0-9]).*$" "\\1" TCL_TCLSH_VERSION "${TCL_TCLSH}")
GET_FILENAME_COMPONENT(TCL_INCLUDE_PATH_PARENT "${TCL_INCLUDE_PATH}" PATH)
GET_FILENAME_COMPONENT(TCL_LIBRARY_PATH "${TCL_LIBRARY}" PATH)
GET_FILENAME_COMPONENT(TCL_LIBRARY_PATH_PARENT "${TCL_LIBRARY_PATH}" PATH)
STRING(REGEX REPLACE
STRING(REGEX REPLACE
"^.*tcl([0-9]\\.*[0-9]).*$" "\\1" TCL_VERSION "${TCL_LIBRARY}")
SET(TCL_POSSIBLE_LIB_PATHS
"${TCL_INCLUDE_PATH_PARENT}/lib"
"${TCL_LIBRARY_PATH}"
"${TCL_TCLSH_PATH_PARENT}/lib"
/usr/lib
/usr/lib
/usr/local/lib
)
IF(WIN32)
GET_FILENAME_COMPONENT(
ActiveTcl_CurrentVersion
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\ActiveState\\ActiveTcl;CurrentVersion]"
ActiveTcl_CurrentVersion
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\ActiveState\\ActiveTcl;CurrentVersion]"
NAME)
SET(TCLTK_POSSIBLE_LIB_PATHS ${TCLTK_POSSIBLE_LIB_PATHS}
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\ActiveState\\ActiveTcl\\${ActiveTcl_CurrentVersion}]/lib"
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.6;Root]/lib"
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.5;Root]/lib"
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.4;Root]/lib"
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.3;Root]/lib"
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.2;Root]/lib"
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.0;Root]/lib"
"$ENV{ProgramFiles}/Tcl/Lib"
"C:/Program Files/Tcl/lib"
"C:/Tcl/lib"
"C:/Program Files/Tcl/lib"
"C:/Tcl/lib"
)
ENDIF(WIN32)
FIND_LIBRARY(TCL_LIBRARY
NAMES
tcl
NAMES
tcl86 tcl8.6
tcl85 tcl8.5
tcl
tcl${TCL_VERSION} tcl${TCL_TCLSH_VERSION}
tcl86 tcl8.6
tcl85 tcl8.5
tcl84 tcl8.4
tcl83 tcl8.3
tcl82 tcl8.2
tcl80 tcl8.0
PATHS ${TCL_POSSIBLE_LIB_PATHS}
)
@@ -104,24 +116,16 @@ ENDIF(Tcl_FRAMEWORKS)
SET(TCL_POSSIBLE_INCLUDE_PATHS
"${TCL_LIBRARY_PATH_PARENT}/include"
"${TCL_INCLUDE_PATH}"
${TCL_FRAMEWORK_INCLUDES}
${TCL_FRAMEWORK_INCLUDES}
"${TCL_TCLSH_PATH_PARENT}/include"
/usr/include/tcl8.6
/usr/include/tcl8.5
/usr/include
/usr/local/include
/usr/include/tcl${TCL_VERSION}
/usr/include/tcl8.6
/usr/include/tcl8.5
/usr/include/tcl8.4
/usr/include/tcl8.3
/usr/include/tcl8.2
/usr/include/tcl8.0
/usr/local/include/tcl${TCL_VERSION}
/usr/local/include/tcl8.6
/usr/local/include/tcl8.5
/usr/local/include/tcl8.4
/usr/local/include/tcl8.3
/usr/local/include/tcl8.2
/usr/local/include/tcl8.0
)
@@ -130,17 +134,13 @@ IF(WIN32)
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\ActiveState\\ActiveTcl\\${ActiveTcl_CurrentVersion}]/include"
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.6;Root]/include"
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.5;Root]/include"
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.4;Root]/include"
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.3;Root]/include"
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.2;Root]/include"
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.0;Root]/include"
"$ENV{ProgramFiles}/Tcl/include"
"C:/Program Files/Tcl/include"
"C:/Tcl/include"
)
ENDIF(WIN32)
FIND_PATH(TCL_INCLUDE_PATH
FIND_PATH(TCL_INCLUDE_PATH
NAMES tcl.h
PATHS ${TCL_POSSIBLE_INCLUDE_PATHS}
)
+7 -4
View File
@@ -1,17 +1,20 @@
# Copyright (c) 2003-2010 by FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# Copyright (C) 2003-2011 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# WeeChat is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
#
IF(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt")
+6 -4
View File
@@ -1,19 +1,21 @@
#!/bin/sh
#
# Copyright (c) 2003-2010 by FlashCode <flashcode@flashtux.org>
# Copyright (C) 2003-2011 Sebastien Helleu <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# WeeChat is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
#
VERSION=@VERSION@
+176 -118
View File
@@ -1,27 +1,34 @@
# Copyright (c) 2003-2010 by FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# Copyright (C) 2003-2011 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2005 Benoit Papillault <benoit.papillault@free.fr>
# Copyright (C) 2005-2006 Julien Louis <ptitlouis@sysif.net>
# Copyright (C) 2005-2009 Emmanuel Bouthenot <kolter@openics.org>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# WeeChat is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
#
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
AC_PREREQ(2.56)
AC_INIT(WeeChat, 0.3.1.1, flashcode@flashtux.org)
AC_INIT(WeeChat, 0.3.4, flashcode@flashtux.org)
AC_CONFIG_SRCDIR([src/core/weechat.c])
AM_CONFIG_HEADER(config.h)
AM_INIT_AUTOMAKE([weechat], [0.3.1.1])
AM_INIT_AUTOMAKE([weechat], [0.3.4])
LICENSE="GPL3"
# Checks for programs
AC_PROG_CC
@@ -51,7 +58,7 @@ cygwin*)
esac
# Gettext
ALL_LINGUAS="fr es cs hu de ru pl it"
ALL_LINGUAS="fr es cs hu de ru pl it pt_BR"
AM_GNU_GETTEXT([use-libtool])
AM_GNU_GETTEXT_VERSION([0.15])
@@ -93,26 +100,28 @@ AC_CHECK_FUNCS([gethostbyname gethostname getsockname gettimeofday inet_ntoa mem
# Variables in config.h
AH_VERBATIM([PREFIX], [#undef PREFIX])
AH_VERBATIM([WEECHAT_LIBDIR], [#undef WEECHAT_LIBDIR])
AH_VERBATIM([PREFIX], [#undef PREFIX])
AH_VERBATIM([WEECHAT_LIBDIR], [#undef WEECHAT_LIBDIR])
AH_VERBATIM([WEECHAT_SHAREDIR], [#undef WEECHAT_SHAREDIR])
AH_VERBATIM([HAVE_GNUTLS], [#undef HAVE_GNUTLS])
AH_VERBATIM([HAVE_FLOCK], [#undef HAVE_FLOCK])
AH_VERBATIM([PLUGIN_ALIAS], [#undef PLUGIN_ALIAS])
AH_VERBATIM([PLUGIN_ASPELL], [#undef PLUGIN_ASPELL])
AH_VERBATIM([PLUGIN_CHARSET], [#undef PLUGIN_CHARSET])
AH_VERBATIM([PLUGIN_DEMO], [#undef PLUGIN_DEMO])
AH_VERBATIM([PLUGIN_FIFO], [#undef PLUGIN_FIFO])
AH_VERBATIM([PLUGIN_IRC], [#undef PLUGIN_IRC])
AH_VERBATIM([PLUGIN_LOGGER], [#undef PLUGIN_LOGGER])
AH_VERBATIM([PLUGIN_RELAY], [#undef PLUGIN_RELAY])
AH_VERBATIM([PLUGIN_PERL], [#undef PLUGIN_PERL])
AH_VERBATIM([PLUGIN_PYTHON], [#undef PLUGIN_PYTHON])
AH_VERBATIM([PLUGIN_RUBY], [#undef PLUGIN_RUBY])
AH_VERBATIM([PLUGIN_LUA], [#undef PLUGIN_LUA])
AH_VERBATIM([PLUGIN_TCL], [#undef PLUGIN_TCL])
AH_VERBATIM([PLUGIN_XFER], [#undef PLUGIN_XFER])
AH_VERBATIM([DOC], [#undef DOC])
AH_VERBATIM([HAVE_GCRYPT], [#undef HAVE_GCRYPT])
AH_VERBATIM([HAVE_GNUTLS], [#undef HAVE_GNUTLS])
AH_VERBATIM([HAVE_FLOCK], [#undef HAVE_FLOCK])
AH_VERBATIM([PLUGIN_ALIAS], [#undef PLUGIN_ALIAS])
AH_VERBATIM([PLUGIN_ASPELL], [#undef PLUGIN_ASPELL])
AH_VERBATIM([PLUGIN_CHARSET], [#undef PLUGIN_CHARSET])
AH_VERBATIM([PLUGIN_DEMO], [#undef PLUGIN_DEMO])
AH_VERBATIM([PLUGIN_FIFO], [#undef PLUGIN_FIFO])
AH_VERBATIM([PLUGIN_IRC], [#undef PLUGIN_IRC])
AH_VERBATIM([PLUGIN_LOGGER], [#undef PLUGIN_LOGGER])
AH_VERBATIM([PLUGIN_RELAY], [#undef PLUGIN_RELAY])
AH_VERBATIM([PLUGIN_RMODIFIER], [#undef PLUGIN_RMODIFIER])
AH_VERBATIM([PLUGIN_PERL], [#undef PLUGIN_PERL])
AH_VERBATIM([PLUGIN_PYTHON], [#undef PLUGIN_PYTHON])
AH_VERBATIM([PLUGIN_RUBY], [#undef PLUGIN_RUBY])
AH_VERBATIM([PLUGIN_LUA], [#undef PLUGIN_LUA])
AH_VERBATIM([PLUGIN_TCL], [#undef PLUGIN_TCL])
AH_VERBATIM([PLUGIN_XFER], [#undef PLUGIN_XFER])
AH_VERBATIM([DOC], [#undef DOC])
# Arguments for ./configure
@@ -120,6 +129,7 @@ AC_ARG_ENABLE(ncurses, [ --disable-ncurses turn off ncurses interfac
AC_ARG_ENABLE(wxwidgets, [ --enable-wxwidgets turn on WxWidgets interface (default=off)],enable_wxwidgets=$enableval,enable_wxwidgets=no)
AC_ARG_ENABLE(gtk, [ --enable-gtk turn on Gtk interface (default=off)],enable_gtk=$enableval,enable_gtk=no)
AC_ARG_ENABLE(qt, [ --enable-qt turn on Qt interface (default=off)],enable_qt=$enableval,enable_qt=no)
AC_ARG_ENABLE(gcrypt, [ --disable-gcrypt turn off gcrypt support (default=compiled if found)],enable_gcrypt=$enableval,enable_gcrypt=yes)
AC_ARG_ENABLE(gnutls, [ --disable-gnutls turn off gnutls support (default=compiled if found)],enable_gnutls=$enableval,enable_gnutls=yes)
AC_ARG_ENABLE(largefile, [ --disable-largefile turn off Large File Support (default=on)],enable_largefile=$enableval,enable_largefile=yes)
AC_ARG_ENABLE(alias, [ --disable-alias turn off Alias plugin (default=compiled)],enable_alias=$enableval,enable_alias=yes)
@@ -129,7 +139,8 @@ AC_ARG_ENABLE(demo, [ --enable-demo turn on Demo plugin (defa
AC_ARG_ENABLE(fifo, [ --disable-fifo turn off Fifo plugin (default=compiled)],enable_fifo=$enableval,enable_fifo=yes)
AC_ARG_ENABLE(irc, [ --disable-irc turn off IRC plugin (default=compiled)],enable_irc=$enableval,enable_irc=yes)
AC_ARG_ENABLE(logger, [ --disable-logger turn off Logger plugin (default=compiled)],enable_logger=$enableval,enable_logger=yes)
AC_ARG_ENABLE(relay, [ --enable-relay turn on Relay plugin (default=off)],enable_relay=$enableval,enable_relay=no)
AC_ARG_ENABLE(relay, [ --disable-relay turn off Relay plugin (default=compiled)],enable_relay=$enableval,enable_relay=yes)
AC_ARG_ENABLE(rmodifier, [ --disable-rmodifier turn off Rmodifier plugin (default=compiled)],enable_rmodifier=$enableval,enable_rmodifier=yes)
AC_ARG_ENABLE(scripts, [ --disable-scripts turn off script plugins (default=compiled if found)],enable_scripts=$enableval,enable_scripts=yes)
AC_ARG_ENABLE(perl, [ --disable-perl turn off Perl script plugin (default=compiled if found)],enable_perl=$enableval,enable_perl=yes)
AC_ARG_ENABLE(python, [ --disable-python turn off Python script plugin (default=compiled if found)],enable_python=$enableval,enable_python=yes)
@@ -251,15 +262,15 @@ if test "x$ac_found_iconv_header" = "xyes" ; then
ICONV_LFLAGS="-liconv"
LIBS="$LIBS $ICONV_LFLAGS"
fi
AC_MSG_CHECKING(for iconv usability in programs)
AC_MSG_CHECKING(for iconv usability in programs)
AC_TRY_RUN([
#include <iconv.h>
int main(int argc, char **argv) {
iconv_t conv = iconv_open("ISO8859-1", "UTF-8");
#include <iconv.h>
int main(int argc, char **argv) {
iconv_t conv = iconv_open("ISO8859-1", "UTF-8");
if (conv != (iconv_t) -1) {
return 0;
return 0;
}
return 1;
return 1;
}],iconv_found="yes")
if test "x$iconv_found" = "xno" ; then
AC_MSG_RESULT(no)
@@ -308,7 +319,7 @@ if test "x$enable_aspell" = "xyes" ; then
AC_CHECK_HEADER(aspell.h,ac_found_aspell_header="yes",ac_found_aspell_header="no")
AC_CHECK_LIB(aspell,new_aspell_speller,ac_found_aspell_lib="yes",ac_found_aspell_lib="no")
AC_MSG_CHECKING(for aspell headers and librairies)
AC_MSG_CHECKING(for aspell headers and librairies)
if test "x$ac_found_aspell_header" = "xno" -o "x$ac_found_aspell_lib" = "xno" ; then
AC_MSG_RESULT(no)
AC_MSG_WARN([
@@ -318,8 +329,8 @@ if test "x$enable_aspell" = "xyes" ; then
enable_aspell="no"
not_found="$not_found aspell"
else
AC_MSG_RESULT(yes)
ASPELL_LFLAGS="$ASPELL_LFLAGS -laspell"
AC_MSG_RESULT(yes)
ASPELL_LFLAGS="$ASPELL_LFLAGS -laspell"
fi
else
not_asked="$not_asked aspell"
@@ -399,6 +410,14 @@ else
not_asked="$not_asked relay"
fi
# ------------------------------- rmodifier ------------------------------------
if test "x$enable_rmodifier" = "xyes" ; then
AC_DEFINE(PLUGIN_RMODIFIER)
else
not_asked="$not_asked rmodifier"
fi
# ---------------------------------- perl --------------------------------------
PERL_VERSION=
@@ -413,7 +432,7 @@ if test "x$enable_perl" = "xyes" ; then
enable_perl="no"
not_found="$not_found perl"
else
PERL_VERSION=`perl -V:version | sed "s/version='\(.*\)';/\1/"`
PERL_VERSION=`perl -V:version | sed "s/version='\(.*\)';/\1/"`
AC_MSG_CHECKING(for Perl headers files)
PERL_HEADER_TEST=`PT=perltest.c ; echo "#include <EXTERN.h>" > $PT; echo "#include <perl.h>" >> $PT; echo "#include <XSUB.h>" >> $PT ; echo "int main() { return 0; }" >> $PT ; $CC -Wall $PT -o $PT.out $($PERL -MExtUtils::Embed -e ccopts) 1>/dev/null 2>&1; echo $?; rm -f $PT $PT.out 1>/dev/null 2>&1`
@@ -423,7 +442,7 @@ if test "x$enable_perl" = "xyes" ; then
AC_MSG_RESULT(found)
AC_MSG_CHECKING(for Perl library)
PERL_LIB_TEST=`PT=perltest.c ; echo "int main() { return 0; }" > $PT ; $CC -Wall $PT -o $PT.out $($PERL -MExtUtils::Embed -e ldopts) 1>/dev/null 2>&1; echo $?; rm -f $PT $PT.out 1>/dev/null 2>&1`
if test "x$PERL_LIB_TEST" = "x0" ; then
if test "x$PERL_LIB_TEST" = "x0" ; then
PERL_LFLAGS=`$PERL -MExtUtils::Embed -e ldopts`
AC_MSG_RESULT(found)
else
@@ -458,7 +477,7 @@ fi
PYTHON_VERSION=
if test "x$enable_python" = "xyes" ; then
AC_PATH_PROGS(PYTHON, python python2.5 python2.4 python2.3 python2.2)
AC_PATH_PROGS(PYTHON, python python2.7 python2.6 python2.5 python2.4 python2.3 python2.2)
if test -z $PYTHON ; then
AC_MSG_WARN([
*** Python must be installed on your system but python interpreter couldn't be found in path.
@@ -489,7 +508,7 @@ if test "x$enable_python" = "xyes" ; then
AC_MSG_RESULT(found)
else
AC_MSG_WARN([
*** Python library couldn't be found on your system.
*** Python library couldn't be found on your system.
*** Try to install it with your software package manager.
*** WeeChat will be built without Python support.])
enable_python="no"
@@ -519,7 +538,7 @@ fi
RUBY_VERSION=
if test "x$enable_ruby" = "xyes" ; then
AC_PATH_PROGS(RUBY, ruby ruby1.8 ruby1.9)
AC_PATH_PROGS(RUBY, ruby1.9.2 ruby1.9.1 ruby1.9 ruby1.8 ruby)
if test -z $RUBY ; then
AC_MSG_WARN([
*** Ruby must be installed on your system but ruby interpreter couldn't be found in path.
@@ -528,12 +547,12 @@ if test "x$enable_ruby" = "xyes" ; then
enable_ruby="no"
not_found="$not_found ruby"
else
RUBY_VERSION=`$RUBY -rrbconfig -e "puts Config::CONFIG[['ruby_version']]"`
RUBY_VERSION=`$RUBY -rrbconfig -e "puts Config::CONFIG[['ruby_version']]"`
if test "$RUBY_VERSION" = "1.9.0"; then
AC_MSG_WARN([
*** Ruby header files have been found, but they're of the version 1.9.0.
*** Ruby 1.9.0 is an unstable release and should not be used in production.
*** Please install Ruby >=1.8.6 or 1.9.1.
*** Please install Ruby 1.8.x (>= 1.8.6) or >= 1.9.1.
*** WeeChat will be built without Ruby support.])
enable_ruby="no"
not_found="$not_found ruby"
@@ -542,7 +561,7 @@ if test "x$enable_ruby" = "xyes" ; then
RUBY_ARCH=`$RUBY -rrbconfig -e 'print Config::CONFIG[["arch"]]'`
AC_MSG_CHECKING(for Ruby header files)
if test -d "$RUBY_INCLUDE/"; then
M_RUBY_VERSION=`$RUBY -rrbconfig -e "puts Config::CONFIG[['ruby_version']].gsub(/\./, '')[[0,2]]"`
M_RUBY_VERSION=`$RUBY -rrbconfig -e "puts Config::CONFIG[['ruby_version']].gsub(/\./, '')[[0,3]]"`
RUBY_CFLAGS="-I$RUBY_INCLUDE/ -I$RUBY_INCLUDE/$RUBY_ARCH -DRUBY_VERSION=$M_RUBY_VERSION"
else
AC_MSG_WARN([
@@ -590,41 +609,41 @@ if test "x$enable_lua" = "xyes" ; then
PKGCONFIG=""
AC_CHECK_PROGS(PKGCONFIG, pkg-config)
if test "x$PKGCONFIG" != "x"; then
AC_MSG_CHECKING(for Lua headers and librairies with pkg-config)
echo
for l in "$lua_suffix" "" "51" "5.1" "50" "5.0" ; do
pkgconfig_lua_found=`$PKGCONFIG --exists lua$l 2>/dev/null`
if test "x$?" = "x0" ; then
LUA_VERSION=`$PKGCONFIG --modversion lua$l`
AC_MSG_CHECKING(for Lua headers and librairies with pkg-config)
echo
for l in "$lua_suffix" "" "51" "5.1" "50" "5.0" ; do
pkgconfig_lua_found=`$PKGCONFIG --exists lua$l 2>/dev/null`
if test "x$?" = "x0" ; then
LUA_VERSION=`$PKGCONFIG --modversion lua$l`
LUA_CFLAGS="$LUA_CFLAGS "`$PKGCONFIG --cflags lua$l`
LUA_LFLAGS="$LUA_LFLAGS "`$PKGCONFIG --libs lua$l`
pkgconfig_lualib_found=`$PKGCONFIG --exists lualib$l 2>/dev/null`
if test "x$?" = "x0"; then
LUA_CFLAGS="$LUA_CFLAGS "`$PKGCONFIG --cflags lualib$l`
LUA_LFLAGS="$LUA_LFLAGS "`$PKGCONFIG --libs lualib$l`
fi
pkgconfig_lualib_found=`$PKGCONFIG --exists lualib$l 2>/dev/null`
if test "x$?" = "x0"; then
LUA_CFLAGS="$LUA_CFLAGS "`$PKGCONFIG --cflags lualib$l`
LUA_LFLAGS="$LUA_LFLAGS "`$PKGCONFIG --libs lualib$l`
fi
break
fi
done
fi
fi
fi
if test "x$LUA_CFLAGS" = "x" -o "x$LUA_LFLAGS" = "x" ; then
LUACONFIG=""
AC_CHECK_PROGS(LUACONFIG, lua-config lua-config51 lua-config5.1 lua-config50 lua-config5.0)
if test "x$LUACONFIG" != "x" ; then
AC_MSG_CHECKING(for Lua headers and librairies with lua-config)
echo
echo
LUA_CFLAGS=`$LUACONFIG --include`
LUA_LFLAGS=`$LUACONFIG --libs`
LUA_VERSION="5.0.x"
LUA_VERSION="5.0.x"
fi
fi
if test "x$LUA_CFLAGS" = "x" -o "x$LUA_LFLAGS" = "x" ; then
if test "x$LUA_CFLAGS" = "x" -o "x$LUA_LFLAGS" = "x" ; then
AC_MSG_CHECKING(for Lua headers and librairies)
echo
echo
AC_CHECK_HEADER(lua.h,ac_found_lua_header="yes",ac_found_lua_header="no")
AC_CHECK_HEADER(lualib.h,ac_found_liblua_header="yes",ac_found_liblua_header="no")
if test "x$ac_found_lua_header" = "xyes" -a "x$ac_found_liblua_header" = "xyes"; then
@@ -633,31 +652,31 @@ if test "x$enable_lua" = "xyes" ; then
for l in "$lua_suffix" "" "51" "5.1" "50" "5.0" ; do
AC_CHECK_LIB(lua$l,lua_call,ac_found_lua_lib="yes",ac_found_lua_lib="no")
if test "x$ac_found_lua_lib" = "xyes" ; then
LUA_VERSION=">=5.1.0"
LUA_VERSION=">=5.1.0"
LUA_LFLAGS="$LDFLAGS -llua$l -lm"
ac2_save_LDFLAGS="$LDFLAGS"
LDFLAGS="$LDFLAGS -llua$l -lm"
LUA_LFLAGS="$LDFLAGS -llua$l -lm"
ac2_save_LDFLAGS="$LDFLAGS"
LDFLAGS="$LDFLAGS -llua$l -lm"
if echo "$host_os" | grep "^linux" 1>/dev/null 2>&1 ; then
LDFLAGS="$LDFLAGS -ldl"
fi
if echo "$host_os" | grep "^linux" 1>/dev/null 2>&1 ; then
LDFLAGS="$LDFLAGS -ldl"
fi
AC_CHECK_LIB(lualib$l,luaL_openlib,ac_found_liblua_lib="yes",ac_found_liblua_lib="no")
if test "x$ac_found_liblua_lib" = "xyes" ; then
LUA_VERSION="5.0.x"
LUA_LFLAGS="$LUA_LFLAGS -llualib$l"
if echo "$host_os" | grep "^linux" 1>/dev/null 2>&1 ; then
LUA_LFLAGS="$LUA_LFLAGS -ldl"
fi
fi
AC_CHECK_LIB(lualib$l,luaL_openlib,ac_found_liblua_lib="yes",ac_found_liblua_lib="no")
if test "x$ac_found_liblua_lib" = "xyes" ; then
LUA_VERSION="5.0.x"
LUA_LFLAGS="$LUA_LFLAGS -llualib$l"
if echo "$host_os" | grep "^linux" 1>/dev/null 2>&1 ; then
LUA_LFLAGS="$LUA_LFLAGS -ldl"
fi
fi
LDFLAGS="$ac2_save_LDFLAGS"
break
fi
LDFLAGS="$ac2_save_LDFLAGS"
break
fi
done
fi
@@ -697,7 +716,7 @@ if test "x$enable_tcl" = "xyes" ; then
AC_MSG_CHECKING(for tclConfig.sh)
tcl_found="no"
tcl_dirs="/lib /usr/lib /usr/tcl/lib /usr/lib/tcl8.5 /usr/lib/tcl8.4 /usr/lib/tcl8.3 /usr/local/lib /usr/local/tcl-8.5/lib /usr/local/tcl-8.4/lib /usr/local/tcl-8.3/lib /usr/local/tcl/lib /opt/lib"
tcl_dirs="/usr/lib/tcl8.5 /lib /usr/lib /usr/tcl/lib /usr/local/tcl-8.5/lib /usr/local/lib /usr/local/tcl/lib /opt/lib"
if test "x$tclconfig" != "x" ; then
tcl_dirs="${tclconfig} ${tcl_dirs}"
fi
@@ -738,24 +757,54 @@ else
not_asked="$not_asked xfer"
fi
# ------------------------------------------------------------------------------
# gcrypt
# ------------------------------------------------------------------------------
if test "x$enable_gcrypt" = "xyes" ; then
AC_CHECK_HEADER(gcrypt.h,ac_found_gcrypt_header="yes",ac_found_gcrypt_header="no")
AC_CHECK_LIB(gcrypt,gcry_check_version,ac_found_gcrypt_lib="yes",ac_found_gcrypt_lib="no")
AC_MSG_CHECKING(for gcrypt headers and librairies)
if test "x$ac_found_gcrypt_header" = "xno" -o "x$ac_found_gcrypt_lib" = "xno" ; then
AC_MSG_RESULT(no)
AC_MSG_WARN([
*** libgcrypt was not found. You may want to get it from ftp://ftp.gnupg.org/gcrypt/libgcrypt/
*** WeeChat will be built without gcrypt support.
*** Some features like SASL authentication with IRC server using mechanism DH-BLOWFISH will be disabled.])
enable_gcrypt="no"
not_found="$not_found gcrypt"
else
AC_MSG_RESULT(yes)
GCRYPT_CFLAGS=`libgcrypt-config --cflags`
GCRYPT_LFLAGS=`libgcrypt-config --libs`
AC_SUBST(GCRYPT_CFLAGS)
AC_SUBST(GCRYPT_LFLAGS)
AC_DEFINE(HAVE_GCRYPT)
CFLAGS="$CFLAGS -DHAVE_GCRYPT"
fi
else
not_asked="$not_asked gcrypt"
fi
# ------------------------------------------------------------------------------
# gnutls
# ------------------------------------------------------------------------------
if test "x$enable_gnutls" = "xyes" ; then
AC_CHECK_HEADER(gnutls/gnutls.h,ac_found_gnutls_header="yes",ac_found_gnutls_header="no")
AC_CHECK_LIB(gnutls,gnutls_global_init,ac_found_gnutls_lib="yes",ac_found_gnutls_lib="no")
AC_MSG_CHECKING(for gnutls headers and librairies)
if test "x$ac_found_gnutls_header" = "xno" -o "x$ac_found_gnutls_lib" = "xno" ; then
AC_MSG_RESULT(no)
AC_MSG_WARN([
AC_CHECK_HEADER(gnutls/gnutls.h,ac_found_gnutls_header="yes",ac_found_gnutls_header="no")
AC_CHECK_LIB(gnutls,gnutls_global_init,ac_found_gnutls_lib="yes",ac_found_gnutls_lib="no")
AC_MSG_CHECKING(for gnutls headers and librairies)
if test "x$ac_found_gnutls_header" = "xno" -o "x$ac_found_gnutls_lib" = "xno" ; then
AC_MSG_RESULT(no)
AC_MSG_WARN([
*** libgnutls was not found. You may want to get it from ftp://ftp.gnutls.org/pub/gnutls/
*** WeeChat will be built without GnuTLS support.])
enable_gnutls="no"
not_found="$not_found gnutls"
enable_gnutls="no"
not_found="$not_found gnutls"
else
AC_MSG_RESULT(yes)
AC_MSG_RESULT(yes)
GNUTLS_CFLAGS=`pkg-config gnutls --cflags`
GNUTLS_LFLAGS=`pkg-config gnutls --libs`
AC_SUBST(GNUTLS_CFLAGS)
@@ -841,13 +890,13 @@ if test "x$enable_doc" = "xyes" ; then
;;
esac
else
enable_doc="no"
enable_doc="no"
fi
if test -z "$ASCIIDOC"; then
not_found="$not_found asciidoc"
fi
if test -z "$SOURCEHIGHLIGHT"; then
not_found="$not_found source-highlight(needed by asciidoc)"
not_found="$not_found source-highlight(needed by asciidoc)"
fi
AC_SUBST(DOC_ASCIIDOC8)
AC_SUBST(ASCIIDOC)
@@ -919,40 +968,42 @@ netbsd*)
fi
CFLAGS="$CFLAGS $CPPFLAGS"
;;
gnu*)
gnu*)
LDFLAGS="$LDFLAGS -lpthread"
;;
*)
;;
esac
CFLAGS="$CFLAGS -DWEECHAT_VERSION=\\\"$VERSION\\\""
CFLAGS="$CFLAGS -DWEECHAT_VERSION=\\\"$VERSION\\\" -DWEECHAT_LICENSE=\\\"$LICENSE\\\""
# ------------------------------------------------------------------------------
# output Makefiles
# ------------------------------------------------------------------------------
AM_CONDITIONAL(HAVE_GNUTLS, test "$enable_gnutls" = "yes")
AM_CONDITIONAL(HAVE_FLOCK, test "$enable_flock" = "yes")
AM_CONDITIONAL(GUI_NCURSES, test "$enable_ncurses" = "yes")
AM_CONDITIONAL(GUI_WXWIDGETS, test "$enable_wxwidgets" = "yes")
AM_CONDITIONAL(GUI_GTK, test "$enable_gtk" = "yes")
AM_CONDITIONAL(GUI_QT, test "$enable_qt" = "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")
AM_CONDITIONAL(PLUGIN_DEMO, test "$enable_demo" = "yes")
AM_CONDITIONAL(PLUGIN_FIFO, test "$enable_fifo" = "yes")
AM_CONDITIONAL(PLUGIN_IRC, test "$enable_irc" = "yes")
AM_CONDITIONAL(PLUGIN_LOGGER, test "$enable_logger" = "yes")
AM_CONDITIONAL(PLUGIN_RELAY, test "$enable_relay" = "yes")
AM_CONDITIONAL(PLUGIN_PERL, test "$enable_perl" = "yes")
AM_CONDITIONAL(PLUGIN_PYTHON, test "$enable_python" = "yes")
AM_CONDITIONAL(PLUGIN_RUBY, test "$enable_ruby" = "yes")
AM_CONDITIONAL(PLUGIN_LUA, test "$enable_lua" = "yes")
AM_CONDITIONAL(PLUGIN_TCL, test "$enable_tcl" = "yes")
AM_CONDITIONAL(PLUGIN_XFER, test "$enable_xfer" = "yes")
AM_CONDITIONAL(DOC, test "$enable_doc" = "yes")
AM_CONDITIONAL(HAVE_GCRYPT, test "$enable_gcrypt" = "yes")
AM_CONDITIONAL(HAVE_GNUTLS, test "$enable_gnutls" = "yes")
AM_CONDITIONAL(HAVE_FLOCK, test "$enable_flock" = "yes")
AM_CONDITIONAL(GUI_NCURSES, test "$enable_ncurses" = "yes")
AM_CONDITIONAL(GUI_WXWIDGETS, test "$enable_wxwidgets" = "yes")
AM_CONDITIONAL(GUI_GTK, test "$enable_gtk" = "yes")
AM_CONDITIONAL(GUI_QT, test "$enable_qt" = "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")
AM_CONDITIONAL(PLUGIN_DEMO, test "$enable_demo" = "yes")
AM_CONDITIONAL(PLUGIN_FIFO, test "$enable_fifo" = "yes")
AM_CONDITIONAL(PLUGIN_IRC, test "$enable_irc" = "yes")
AM_CONDITIONAL(PLUGIN_LOGGER, test "$enable_logger" = "yes")
AM_CONDITIONAL(PLUGIN_RELAY, test "$enable_relay" = "yes")
AM_CONDITIONAL(PLUGIN_RMODIFIER, test "$enable_rmodifier" = "yes")
AM_CONDITIONAL(PLUGIN_PERL, test "$enable_perl" = "yes")
AM_CONDITIONAL(PLUGIN_PYTHON, test "$enable_python" = "yes")
AM_CONDITIONAL(PLUGIN_RUBY, test "$enable_ruby" = "yes")
AM_CONDITIONAL(PLUGIN_LUA, test "$enable_lua" = "yes")
AM_CONDITIONAL(PLUGIN_TCL, test "$enable_tcl" = "yes")
AM_CONDITIONAL(PLUGIN_XFER, test "$enable_xfer" = "yes")
AM_CONDITIONAL(DOC, test "$enable_doc" = "yes")
AC_OUTPUT([Makefile
doc/Makefile
@@ -974,6 +1025,7 @@ AC_OUTPUT([Makefile
src/plugins/irc/Makefile
src/plugins/logger/Makefile
src/plugins/relay/Makefile
src/plugins/rmodifier/Makefile
src/plugins/scripts/Makefile
src/plugins/scripts/perl/Makefile
src/plugins/scripts/python/Makefile
@@ -1038,6 +1090,9 @@ fi
if test "x$enable_relay" = "xyes"; then
listplugins="$listplugins relay"
fi
if test "x$enable_rmodifier" = "xyes"; then
listplugins="$listplugins rmodifier"
fi
if test "x$enable_perl" = "xyes"; then
listplugins="$listplugins perl($PERL_VERSION)"
fi
@@ -1058,6 +1113,9 @@ if test "x$enable_xfer" = "xyes"; then
fi
listoptional=""
if test "x$enable_gcrypt" = "xyes"; then
listoptional="$listoptional gcrypt"
fi
if test "x$enable_gnutls" = "xyes"; then
listoptional="$listoptional gnutls"
fi
+9 -9
View File
@@ -288,52 +288,52 @@ weechat (0.0.9-1) unstable; urgency=low
* WeeChat version 0.0.9, see ChangeLog for detail.
-- FlashCode <flashcode@flashtux.org> Sat, 01 Jan 2005 13:00:00 +0200
-- Sebastien Helleu <flashcode@flashtux.org> Sat, 01 Jan 2005 13:00:00 +0200
weechat (0.0.8-1) unstable; urgency=low
* WeeChat version 0.0.8, see ChangeLog for detail.
-- FlashCode <flashcode@flashtux.org> Sat, 30 Oct 2004 11:40:00 +0200
-- Sebastien Helleu <flashcode@flashtux.org> Sat, 30 Oct 2004 11:40:00 +0200
weechat (0.0.7-1) unstable; urgency=low
* WeeChat version 0.0.7, see ChangeLog for detail.
-- FlashCode <flashcode@flashtux.org> Sat, 08 Aug 2004 21:00:00 +0200
-- Sebastien Helleu <flashcode@flashtux.org> Sat, 08 Aug 2004 21:00:00 +0200
weechat (0.0.6-1) unstable; urgency=low
* WeeChat version 0.0.6, see ChangeLog for detail.
-- FlashCode <flashcode@flashtux.org> Sat, 05 Jun 2004 11:30:00 +0200
-- Sebastien Helleu <flashcode@flashtux.org> Sat, 05 Jun 2004 11:30:00 +0200
weechat (0.0.5-1) unstable; urgency=low
* WeeChat version 0.0.5, see ChangeLog for detail.
-- FlashCode <flashcode@flashtux.org> Sat, 07 Feb 2004 20:30:00 +0200
-- Sebastien Helleu <flashcode@flashtux.org> Sat, 07 Feb 2004 20:30:00 +0200
weechat (0.0.4-1) unstable; urgency=low
* WeeChat version 0.0.4, see ChangeLog for detail.
-- FlashCode <flashcode@flashtux.org> Thu, 01 Jan 2004 13:00:00 +0200
-- Sebastien Helleu <flashcode@flashtux.org> Thu, 01 Jan 2004 13:00:00 +0200
weechat (0.0.3-1) unstable; urgency=low
* WeeChat version 0.0.3, see ChangeLog for detail.
-- FlashCode <flashcode@flashtux.org> Mon, 03 Nov 2003 23:15:00 +0200
-- Sebastien Helleu <flashcode@flashtux.org> Mon, 03 Nov 2003 23:15:00 +0200
weechat (0.0.2-1) unstable; urgency=low
* WeeChat version 0.0.2, see ChangeLog for detail.
-- FlashCode <flashcode@flashtux.org> Sun, 05 Oct 2003 12:00:00 +0200
-- Sebastien Helleu <flashcode@flashtux.org> Sun, 05 Oct 2003 12:00:00 +0200
weechat (0.0.1-1) unstable; urgency=low
* First version.
-- FlashCode <flashcode@flashtux.org> Sat, 27 Sep 2003 12:00:00 +0200
-- Sebastien Helleu <flashcode@flashtux.org> Sat, 27 Sep 2003 12:00:00 +0200
+2 -2
View File
@@ -2,10 +2,10 @@ Source: weechat
Section: net
Priority: optional
Maintainer: Emmanuel Bouthenot <kolter@openics.org>
Build-Depends-Indep: asciidoc (>= 8.2), source-highlight
Build-Depends-Indep: asciidoc (>= 8.5.0), source-highlight
Build-Depends: debhelper (>= 7.0.50), cmake, libncursesw5-dev,
ruby, ruby1.8-dev, libperl-dev, python-dev, libaspell-dev, liblua5.1-0-dev,
tcl-dev, libgnutls-dev, dpkg-dev (>= 1.13.19), pkg-config
tcl8.5-dev, libgnutls-dev, dpkg-dev (>= 1.13.19), pkg-config
Standards-Version: 3.8.3
Homepage: http://weechat.org/
Vcs-Git: git://git.debian.org/users/kolter-guest/weechat.git
+4 -4
View File
@@ -1,11 +1,11 @@
This package was debianized by FlashCode <flashcode@flashtux.org> on
This package was debianized by Sebastien Helleu <flashcode@flashtux.org> on
Sat, 21 May 2005 08:00:00 +0200.
It was downloaded from http://weechat.org/files/src/
Copyright:
Copyright (C) (2003-2010) FlashCode <flashcode@flashtux.org>
Copyright (C) (2005-2010) Emmanuel Bouthenot <kolter@openics.org>
Copyright (C) (2003-2011) Sebastien Helleu <flashcode@flashtux.org>
Copyright (C) (2005-2011) Emmanuel Bouthenot <kolter@openics.org>
Copyright (C) (2008-2010) Dmitry Kobylin <fnfal@academ.tsc.ru> (tcl plugin)
This program is free software; you can redistribute it and/or modify
@@ -19,4 +19,4 @@ License, Version 3 can be found in the file
Debian packaging (licensed under the GPLv3):
Copyright(C) 2005-2008, Julien Louis <ptitlouis@sysif.net>
Copyright(C) 2008-2010, Emmanuel Bouthenot <kolter@openics.org>
Copyright(C) 2008-2011, Emmanuel Bouthenot <kolter@openics.org>
+1 -1
View File
@@ -12,7 +12,7 @@ builddir/Makefile:
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON
build: build-stamp
build-stamp: builddir/Makefile
build-stamp: builddir/Makefile
dh_testdir
$(MAKE) -C builddir
touch $@
+2
View File
@@ -5,3 +5,5 @@ usr/lib/weechat/plugins/python.so
usr/lib/weechat/plugins/ruby.so
usr/lib/weechat/plugins/lua.so
usr/lib/weechat/plugins/tcl.so
usr/lib/weechat/plugins/relay.so
usr/lib/weechat/plugins/rmodifier.so
+10 -6
View File
@@ -1,20 +1,24 @@
# Copyright (c) 2003-2010 by FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# Copyright (C) 2003-2011 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2009 Emmanuel Bouthenot <kolter@openics.org>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# WeeChat is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
#
IF(NOT DISABLE_DOC)
IF(ENABLE_DOC)
FIND_PACKAGE(Sourcehighlight)
FIND_PACKAGE(Asciidoc)
@@ -28,6 +32,6 @@ IF(NOT DISABLE_DOC)
ADD_SUBDIRECTORY( it )
ENDIF(ASCIIDOC_FOUND AND SOURCEHIGHLIGHT_FOUND)
ENDIF(NOT DISABLE_DOC)
ENDIF(ENABLE_DOC)
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/weechat-curses.1 DESTINATION ${SHAREDIR}/man/man1)
+9 -5
View File
@@ -1,21 +1,25 @@
# Copyright (c) 2003-2010 by FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# Copyright (C) 2003-2011 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2006 Julien Louis <ptitlouis@sysif.net>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# WeeChat is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
#
SUBDIRS = . en fr pl de ru ja it
man_MANS = weechat-curses.1
EXTRA_DIST = $(man_MANS) CMakeLists.txt
EXTRA_DIST = $(man_MANS) docgen.pl CMakeLists.txt asciidoc.css
+6
View File
@@ -0,0 +1,6 @@
div.sectionbody {
font-family: serif,Helvetica,arial;
}
h5 {
font-size: 0.95em;
}
+33 -7
View File
@@ -1,23 +1,49 @@
# Copyright (c) 2003-2010 by FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# Copyright (C) 2003-2011 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# WeeChat is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
#
# user's guide
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.de.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a toclevels=4 -a toc-title='Inhaltsverzeichnis' -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.de.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.de.txt
${CMAKE_CURRENT_SOURCE_DIR}/autogen/user/*.txt
COMMENT "Building weechat_user.de.html"
)
ADD_CUSTOM_TARGET(doc-user-de ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.de.html)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.de.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
# scripting guide
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.de.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a toclevels=3 -a toc-title='Inhaltsverzeichnis' -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_scripting.de.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_scripting.de.txt
COMMENT "Building weechat_scripting.de.html"
)
ADD_CUSTOM_TARGET(doc-scripting-de ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.de.html)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.de.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
# FAQ
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.de.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a toc-title='Inhaltsverzeichnis' -a date=`date "+%F"` -a revision="${VERSION}" -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.de.txt
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a toc-title='Inhaltsverzeichnis' -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.de.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.de.txt
COMMENT "Building weechat_faq.de.html"
@@ -28,7 +54,7 @@ INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.de.html DESTINATION ${SHAR
# quickstart
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.de.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a toc-title='Inhaltsverzeichnis' -a date=`date "+%F"` -a revision="${VERSION}" -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.de.txt
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a toc-title='Inhaltsverzeichnis' -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.de.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.de.txt
COMMENT "Building weechat_quickstart.de.html"
@@ -39,7 +65,7 @@ INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.de.html DESTINATION
# tester's guide
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.de.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a toc-title='Inhaltsverzeichnis' -a date=`date "+%F"` -a revision="${VERSION}" -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.de.txt
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a toc-title='Inhaltsverzeichnis' -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.de.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.de.txt
COMMENT "Building weechat_tester.de.html"
+28 -11
View File
@@ -1,41 +1,58 @@
# Copyright (c) 2003-2010 by FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# Copyright (C) 2003-2011 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2006 Julien Louis <ptitlouis@sysif.net>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# WeeChat is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
#
docdir = $(datadir)/doc/$(PACKAGE)
EXTRA_DIST = CMakeLists.txt \
weechat_faq.de.txt \
weechat_quickstart.de.txt \
weechat_tester.de.txt
weechat_user.de.txt \
weechat_scripting.de.txt \
weechat_faq.de.txt \
weechat_quickstart.de.txt \
weechat_tester.de.txt \
$(wildcard autogen/user/*.txt)
all-local: weechat_faq.de.html \
all-local: weechat_user.de.html \
weechat_scripting.de.html \
weechat_faq.de.html \
weechat_quickstart.de.html \
weechat_tester.de.html
# user's guide
weechat_user.de.html: weechat_user.de.txt $(wildcard autogen/user/*.txt)
$(ASCIIDOC) -a toc -a toclevels=3 -a toc-title='Inhaltsverzeichnis' -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=`pwd`/../asciidoc.css -n -o weechat_user.de.html weechat_user.de.txt
# scripting guide
weechat_scripting.de.html: weechat_scripting.de.txt
$(ASCIIDOC) -a toc -a toclevels=3 -a toc-title='Inhaltsverzeichnis' -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=`pwd`/../asciidoc.css -n -o weechat_scripting.de.html weechat_scripting.de.txt
# FAQ
weechat_faq.de.html: weechat_faq.de.txt
$(ASCIIDOC) -a toc -a toc-title='Inhaltsverzeichnis' -a date=`date "+%F"` -a revision="$(VERSION)" -n -o weechat_faq.de.html weechat_faq.de.txt
$(ASCIIDOC) -a toc -a toc-title='Inhaltsverzeichnis' -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=`pwd`/../asciidoc.css -n -o weechat_faq.de.html weechat_faq.de.txt
# quickstart
weechat_quickstart.de.html: weechat_quickstart.de.txt
$(ASCIIDOC) -a toc -a toc-title='Inhaltsverzeichnis' -a date=`date "+%F"` -a revision="$(VERSION)" -n -o weechat_quickstart.de.html weechat_quickstart.de.txt
$(ASCIIDOC) -a toc -a toc-title='Inhaltsverzeichnis' -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=`pwd`/../asciidoc.css -n -o weechat_quickstart.de.html weechat_quickstart.de.txt
# tester's guide
weechat_tester.de.html: weechat_tester.de.txt
$(ASCIIDOC) -a toc -a toc-title='Inhaltsverzeichnis' -a date=`date "+%F"` -a revision="$(VERSION)" -n -o weechat_tester.de.html weechat_tester.de.txt
$(ASCIIDOC) -a toc -a toc-title='Inhaltsverzeichnis' -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=`pwd`/../asciidoc.css -n -o weechat_tester.de.html weechat_tester.de.txt
# install docs
+109
View File
@@ -0,0 +1,109 @@
[width="65%",cols="^1,^2,8",options="header"]
|========================================
| Erweiterung | Name | Beschreibung
| alias | alias | Liste der Alias
| alias | alias_value | Wert von Alias
| aspell | aspell_langs | Liste der UnterstĂĽtzten Ăśbersetzungen (lang) fĂĽr aspell
| irc | irc_channel | Aktueller IRC-Channel
| irc | irc_channel_nicks_hosts | Liste der Nicks und Hostnamen des aktuellen Channels
| irc | irc_channel_topic | Topic des aktuellen IRC-Channels
| irc | irc_channels | Channels auf allen IRC Servern
| irc | irc_ignores_numbers | Anzahl fĂĽr festgelegte /ignores
| irc | irc_msg_part | Standardnachricht beim Verlassen (/part) eines IRC-Channels
| irc | irc_notify_nicks | Nicks fĂĽr die eine Benachrichtigung existiert
| irc | irc_privates | Private auf allen IRC Servern
| irc | irc_server | aktueller IRC-Server
| irc | irc_server_channels | Channels des derzeitigen IRC-Server
| irc | irc_server_nick | Nick beim derzeitigen IRC-Server
| irc | irc_server_nicks | Nicks fĂĽr alle Channels auf dem aktuellen IRC-Server
| irc | irc_server_privates | Privat auf aktuellem IRC Server
| irc | irc_servers | IRC-Server (interne Namen)
| irc | nick | Liste der Nicks im aktuellen Channel
| lua | lua_script | Liste der Skripten:
| perl | perl_script | Liste der Skripten:
| python | python_script | Liste der Skripten:
| relay | relay_free_port | Erster freier Port fĂĽr Relay-Erweiterung
| relay | relay_protocol_name | Alle möglichen Protokoll.Namen der Relay-Erweiterung
| relay | relay_relays | Protokoll.Name des aktuellen Relays von der Relay-Erweiterung
| rmodifier | rmodifier | Liste der rmodifier
| ruby | ruby_script | Liste der Skripten:
| tcl | tcl_script | Liste der Skripten:
| weechat | bars_names | Namen der Infobars
| weechat | bars_options | Optionen fĂĽr Infobars
| weechat | buffer_properties_get | Eigenschaften die für den Buffer gelesen werden können
| weechat | buffer_properties_set | Eigenschaften die für den Buffer gesetzt werden können
| weechat | buffers_names | Auflistung der vorhandenen Buffer
| weechat | buffers_numbers | Anzahl der Buffer
| weechat | buffers_plugins_names | Liste der Buffer (inkl. der Erweiterungen)
| weechat | color_pairs | Farbpaar
| weechat | commands | Befehle (WeeChat und Erweiterungen)
| weechat | config_files | Konfigurationsdateien
| weechat | config_option_values | Werte fĂĽr eine Konfigurationsoption
| weechat | config_options | Konfigurationsoptionen
| weechat | filename | Dateinamen
| weechat | filters_names | Liste der Filter
| weechat | infolists | Namem der ge-hook-ten Infolisten
| weechat | infos | Namen der ge-hook-ten Infos
| weechat | keys_codes | Tastaturcodes
| weechat | keys_codes_for_reset | Tastenbelegungen die zurückgesetzt werden können (hinzugefügte/verändert/gelöschte Tastenbelegungen)
| weechat | nicks | Nicks in Nickliste des aktuellen Buffers
| weechat | plugins_commands | Befehle, definiert durch Erweiterungen
| weechat | plugins_names | Liste der Erweiterungen
| weechat | proxies_names | Namen der Proxies
| weechat | proxies_options | Optionen fĂĽr Proxies
| weechat | weechat_commands | WeeChat Befehle
| xfer | nick | Nicks vom DCC Chat
|========================================
+63
View File
@@ -0,0 +1,63 @@
[width="100%",cols="^1,^2,5,5,5",options="header"]
|========================================
| Erweiterung | Name | Beschreibung | Pointer | Argumente
| alias | alias | Liste der Alias | Alias Pointer (optional) | Alias Name (darf mit einem "*" als Platzhalter beginnen oder enden) (optional)
| irc | irc_channel | Liste der Channels eines IRC-Servers | Channel Pointer (optional) | Server,Channel (Channel ist optional)
| irc | irc_ignore | Liste von ignorierten IRCs | Ignore Pointer (optional) | -
| irc | irc_nick | Liste der Nicks im IRC-Channel | Nick Pointer (optional) | Server,Channel,Nick (Channel und Nick sind optional)
| irc | irc_notify | Liste mit Benachrichtigungen | Benachrichtigungspointer (optional) | Servername (darf mit einem "*" als Platzhalter beginnen oder enden) (optional)
| irc | irc_server | Liste der IRC-Server | Server Pointer (optional) | Servername (darf mit einem "*" als Platzhalter beginnen oder enden) (optional)
| logger | logger_buffer | Liste der protokollierten Buffer | Logger Pointer (optional) | -
| lua | lua_script | Liste der Skripten: | Skript Pointer (optional) | Name des Skripts (darf mit einem "*" als Platzhalter beginnen oder enden) (optional)
| perl | perl_script | Liste der Skripten: | Skript Pointer (optional) | Name des Skripts (darf mit einem "*" als Platzhalter beginnen oder enden) (optional)
| python | python_script | Liste der Skripten: | Skript Pointer (optional) | Name des Skripts (darf mit einem "*" als Platzhalter beginnen oder enden) (optional)
| relay | relay | Liste der Relay-Clients | Relay Pointer (optional) | -
| rmodifier | rmodifier | Liste der rmodifier | rmodifier Pointer (optional) | rmodifier Name (darf mit einem "*" als Platzhalter beginnen oder enden) (optional)
| ruby | ruby_script | Liste der Skripten: | Skript Pointer (optional) | Name des Skripts (darf mit einem "*" als Platzhalter beginnen oder enden) (optional)
| tcl | tcl_script | Liste der Skripten: | Skript Pointer (optional) | Name des Skripts (darf mit einem "*" als Platzhalter beginnen oder enden) (optional)
| weechat | bar | Auflistung der Bars | Bar Pointer (optional) | Bar Name (darf mit einem "*" als Platzhalter beginnen oder enden) (optional)
| weechat | bar_item | Liste der Bar-Items | Bar Item Pointer (optional) | Bar-Item Name (darf mit einem "*" als Platzhalter beginnen oder enden) (optional)
| weechat | bar_window | Liste der Bar-Fenster | Bar-Fenster Pointer (optional) | -
| weechat | buffer | Liste der Buffer | Buffer Pointer (optional) | Name des Buffers (darf mit einem "*" als Platzhalter beginnen oder enden) (optional)
| weechat | buffer_lines | Zeilen des Buffers | Buffer Pointer | -
| weechat | filter | Liste der Filter | - | Name des Filters (darf mit einem "*" als Platzhalter beginnen oder enden) (optional)
| weechat | history | Verlaufspeicher der Befehle | Buffer Pointer (falls nicht gesetzt, wird der globale Verlauf zurĂĽckgegeben) (optional) | -
| weechat | hook | Auflistung der Hooks | - | hook Type: command, timer, .. (optional)
| weechat | hotlist | Liste der Buffer in Hotlist | - | -
| weechat | key | Auflistung der Tastenzuweisungen | - | -
| weechat | nicklist | Nicks in Nickliste fĂĽr einen Buffer | Buffer Pointer | nick_xxx oder group_xxx um nur den Nick/Group xxx abzufragen (optional)
| weechat | option | Liste der Optionen | - | Name einer Option (darf mit einem "*" als Platzhalter beginnen oder enden) (optional)
| weechat | plugin | Auflistung der Erweiterungen | Pointer der Erweiterung (optional) | Name einer Erweiterung (darf mit einem "*" als Platzhalter beginnen oder enden) (optional)
| weechat | window | Auflistung der Windows | Fenster Pointer (optional) | Fenstername (darf mit einem "*" als Platzhalter beginnen oder enden) (optional)
| xfer | xfer | Transfer-Liste | Transfer-Pointer (optional) | -
|========================================
+57
View File
@@ -0,0 +1,57 @@
[width="100%",cols="^1,^2,6,6",options="header"]
|========================================
| Erweiterung | Name | Beschreibung | Argumente
| fifo | fifo_filename | Name der FIFO-Pipe | -
| irc | irc_buffer | hole Buffer Pointer fĂĽr einen IRC Server/Channel/Nick | server,channel,nick (Channel und Nicks sind optional)
| irc | irc_is_channel | 1, falls die Zeichenkette ein gĂĽltiger IRC-Channel ist | Channelname
| irc | irc_is_nick | 1, falls die Zeichenkette ein gĂĽltiger IRC Nickname ist | Nickname
| irc | irc_nick | Aktuellen Nicknamen fĂĽr den Server erhalten | Servername
| irc | irc_nick_color | Hole Farbe-Code des Nick | Nickname
| irc | irc_nick_color_name | Hole Namen der Farbe des Nick | Nickname
| irc | irc_nick_from_host | Nicknamen des IRC-Hosts erhalten | IRC host (in der Form `:nick!name@server.com`)
| irc | irc_server_isupport | 1 falls der Server die Funktion unterstĂĽtzen sollte (durch IRC Message 005) | Server,Funktion
| irc | irc_server_isupport_value | Wert der Funktion, sofern es vom Server unterstĂĽtzt wird (durch IRC Message 005) | Server,Funktion
| python | python2_bin | Pfad zum Python 2.x Interpreter | -
| weechat | charset_internal | Interner WeeChat Zeichensatz | -
| weechat | charset_terminal | Terminal Zeichensatz | -
| weechat | date | Datum der WeeChat Kompilierung | -
| weechat | dir_separator | Verzeichnis-Trennzeichen | -
| weechat | filters_enabled | 1, falls Filter aktiviert sind | -
| weechat | inactivity | Inaktivität der Tastatur (Sekunden) | -
| weechat | version | WeeChat Version | -
| weechat | version_number | WeeChat Version (als Nummer) | -
| weechat | weechat_dir | WeeChat Verzeichnis | -
| weechat | weechat_libdir | WeeChat "lib" Verzeichnis | -
| weechat | weechat_localedir | "lokales" Verzeichnis von WeeChat | -
| weechat | weechat_sharedir | WeeChat "share" Verzeichnis | -
| weechat | weechat_site | WeeChat Seite | -
| weechat | weechat_site_download | Download-Seite von WeeChat | -
| weechat | weechat_upgrading | 1 falls WeeChat ein Upgrade durchfĂĽhrt (Befehl `/upgrade`) | -
|========================================
@@ -0,0 +1,7 @@
[width="100%",cols="^1,^2,6,6,6",options="header"]
|========================================
| Erweiterung | Name | Beschreibung | Hashtable (Eingabe) | Hashtable (Ausgabe)
| irc | irc_parse_message | Parse eine IRC Nachricht | "message": IRC Nachricht | "nick": nick, "host": host, "command": command, "channel": channel, "arguments": arguments (beinhaltet Channel)
|========================================
+34
View File
@@ -0,0 +1,34 @@
&bull; *`/alias`* `[[-completion completion] alias_name [command [arguments]]]`::
........................................
Einem Befehl wird ein Alias zugewiesen
completion: optionale Vervollständigung für einen Alias-Befehl (Standardverhalten: Vervollständigung wird auf den Zielbefehl angewendet)
alias_name: Name des Alias (kann mit Joker "*" beginnen oder enden fĂĽr Alias-Listing)
command: Name des zuzuordnenden Befehls (WeeChat- oder IRC-Befehl ohne fĂĽhrenden '/', mehrere Befehle mĂĽssen durch Semikolon getrennt werden)
arguments: Argumente fĂĽr Befehl
Ohne Angabe von Argumenten werden alle definierten Alias angezeigt.
Anmerkung: im Befehl können Variablen gesetzt werden, die dann durch den entsprechenden Wert ersetzt werden:
$n: Argument 'n' (zwischen 1 und 9)
$-m: Argumente von 1 bis 'm'
$n-: Argumente von 'n' bis zum letzten Argument
$n-m: Argumente von 'n' bis 'm'
$*: alle Argumente
$~: letztes Argument
$nick: aktueller Nick
$channel: aktueller Channel
$server: aktueller Server
Um ein Alias zu löschen, nutze "/unalias".
Beispiele:
Alias "/split" wird anlegt um damit ein Fenster horizontal zu teilen:
/alias split /window splith
Alias "/hallo" wird angelegt um in allen Channels, auĂźer im #weechat Channel, den Text "Hallo" auszugeben:
/alias hallo /allchan -exclude=#weechat msg * Hallo
Alias "/forcejoin" wird angelegt um den IRC Befehl "forcejoin" mit einer Vervollständigung von /sajoin auszuführen:
/alias -completion %%sajoin forcejoin /quote forcejoin
........................................
+13
View File
@@ -0,0 +1,13 @@
&bull; *`/aspell`* `dictlist | enable lang | disable | addword [lang] word`::
........................................
Konfiguration fĂĽr aspell-Erweiterung
dictlist: listet installierte Wörterbücher auf
enable: aktiviert aspell in aktuellem Buffer [lang = Wörterbuch)
disable: deaktiviert aspell in aktuellem Buffer
addword: fügt ein Wort in das persönliche Wörterbuch von aspell hinzu
Eingaben die mit '/' beginnen werden nicht ĂĽberprĂĽft, auĂźer bei einigen Befehle.
........................................
+30
View File
@@ -0,0 +1,30 @@
* *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)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"ame,amsg,away,command,cycle,kick,kickban,me,msg,notice,part,query,quit,topic"`)
* *aspell.check.default_dict*
** Beschreibung: `Voreingestelltes Wörterbuch (oder durch Kommata getrennte Liste der Wörterbücher) welche(s) genutzt werden soll, sofern kein Wörterbuch für einen Buffer definiert wurde. Wird kein Wörterbuch angegeben dann ist Aspell in allen Buffer deaktiviert, für die nicht explizit ein Wörterbuch angegeben wurde.`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
* *aspell.check.during_search*
** Beschreibung: `Überprüfe Wörter während im Buffer nach einem Text gesucht wird`
** Typ: boolesch
** Werte: on, off (Standardwert: `off`)
* *aspell.check.real_time*
** Beschreibung: `Echtzeit Korrektur während der Texteingabe (da dies langsamer ist, ist diese Funktion standardmäßig deaktiviert. Wörter werden erst überprüft wenn ein Leerzeichen dem Wort folgt)`
** Typ: boolesch
** Werte: on, off (Standardwert: `off`)
* *aspell.check.word_min_length*
** Beschreibung: `Minimallänge für ein Wort welches auf Rechtschreibung überprüft werden soll (bei 0 werden alle Wörter überprüft)`
** Typ: integer
** Werte: 0 .. 2147483647 (Standardwert: `2`)
* *aspell.look.color*
** Beschreibung: `In dieser Farbe wird ein Wort mit einem Rechtschreibfehler hervorgehoben`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `lightred`)
+11
View File
@@ -0,0 +1,11 @@
&bull; *`/charset`* `[[dekodiere | kodieren] Zeichensatz] | [Reset]`::
........................................
ändere Zeichensatz für aktuellen Buffer
decode: ändere Zeichensatz zum dekodieren
encode: ändere Zeichensatz zum kodieren
charset: wähle neuen Zeichensatz für aktuellen Buffer
reset: setze im aktuellen Buffer den Zeichensatz zurĂĽck
........................................
+10
View File
@@ -0,0 +1,10 @@
* *charset.default.decode*
** Beschreibung: `globaler Zeichensatz zum dekodieren`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"iso-8859-1"`)
* *charset.default.encode*
** Beschreibung: `globaler Zeichensatz zum kodieren`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
+42
View File
@@ -0,0 +1,42 @@
&bull; *`/demo_buffer`* `Name`::
........................................
Ă–ffne einen neuen Buffer
........................................
&bull; *`/demo_buffer_set`* `Eigenschaft eines Wertes`::
........................................
Bestimme eine Eigenschaft des Buffers
........................................
&bull; *`/demo_info`* `[Info [Argumente]]`::
........................................
Hole eine Info und zeige sie an
Info: Information die dargestellt werden soll
Argumente: optionale Argumente fĂĽr Info
Wird der Befehl ohne Argumente aufgerufen werden alle verfĂĽgbaren Informationen angezeigt
........................................
&bull; *`/demo_infolist`* `[Infolist [Argumente]]`::
........................................
Hole eine Infolist und zeige sie an
Infolist: Infoliste die dargestellt werden soll
Argumente: optionale Argumente fĂĽr Infoliste
Wird der Befehl ohne Argumente aufgerufen werden alle verfĂĽgbaren Informationen der Infoliste angezeigt
........................................
&bull; *`/demo_printf`* `[Text]`::
........................................
Gibt ein paar Nachrichten im aktuellen Buffer aus
Text: schreibe diesen Text
........................................
+721
View File
@@ -0,0 +1,721 @@
&bull; *`/admin`* `[Ziel]`::
........................................
Information ĂĽber den Server-Administrator abfragen
Ziel: Server
........................................
&bull; *`/allchan`* `[-current] [-exclude=channel[,channel...]] command [arguments]`::
........................................
FĂĽhrt einen Befehl aus der an alle Channels gesendet wird, die mit einem Server verbunden sind
-current: fĂĽhrt einen Befehl aus der an alle Channels des aktuellen Servers gesendet wird
-exclude: dient zum Ausschluss ausgewählter Channels ('*' wird zu Beginn oder am Ende des Channel-Namens akzeptiert, um mehrere Channels auszuschließen)
command: Befehl der ausgefĂĽhrt werden soll
arguments: Argumente des Befehls
Beispiele:
FĂĽhre den Befehl '/me Ich teste gerade etwas...' fĂĽr alle Channels aus:
/allchan me Ich teste gerade etwas...
Schicke 'Hallo Welt' an jeden Channel, ausgenommen an den #weechat Channel:
/allchan -exclude=#weechat msg * Hallo Welt
Schicke 'Hallo Welt' an jeden Channel, ausgenommen an den #weechat Channel und Channels die mit #linux beginnen:
/allchan -exclude=#weechat,#linux* msg * Hallo Welt
........................................
&bull; *`/allserv`* `[-exclude=server[,server...]] command [arguments]`::
........................................
FĂĽhrt einen Befehl aus, der zu allen verbundenen Server gesendet wird
-exclude: dient zum Ausschluss ausgewählter Server ('*' wird zu Beginn oder am Ende des Server-Namens akzeptiert, um mehrere Server auszuschließen)
command: Befehl der ausgefĂĽhrt werden soll
arguments: Argumente des Befehls
Beispiele:
Ändere den Nick auf allen Servern:
/allserv nick newnick
Setzt den Status, auf allen Servern,auf abwesend:
/allserv away I'm away
........................................
&bull; *`/ban`* `[Channel] [Nickname [Nickname ...]]`::
........................................
Nicknamen oder Hosts sperren/verbannen
Channel: Channel fĂĽr die Sperre
Nickname: zu sperrender User oder Host
........................................
&bull; *`/connect`* `[servername [servername ...] | hostname[/port] [-option[=value]] [-nooption] | -all | -open] [-nojoin] [-switch]`::
........................................
Mit IRC-Server(n) verbinden
servername: intern genutzter Servername mit dem verbunden werden soll (Der Server muss zuerst mittels "/server add" angelegt werden)
hostname: Hostname oder IP eines Servers (damit erstelt man ausschließlich einen TEMPORÄREN Server)
port: Port den der Server nutzen soll (Standardport: 6667)
option: legt die Optionen für den Server fest (die Boolean-Optionen können weggelassen werden)
nooption: stellt die Boolean Option auf "off" (Beispiel: -nossl)
-all: Verbindet mit allen Servern
-open: stellt eine Verbindung zu allen geöffneten Servern her zu denen es aktuell keine Verbindung gibt
-nojoin: Channel(s) werden nicht betreten (auch falls die Funktion "autojoin" aktiviert sein sollte)
-switch: wechselt zur nächsten Server-Adresse
Beispiele:
/connect freenode
/connect irc.oftc.net/6667
/connect irc6.oftc.net/6667 -ipv6
/connect irc6.oftc.net/6697 -ipv6 -ssl
/connect my.server.org/6697 -ssl -password=test
/connect -switch
........................................
&bull; *`/ctcp`* `target type [arguments]`::
........................................
CTCP-Nachricht verschicken
target: User oder Channel an welchen eine CTCP-Nachricht geschickt werden soll
type: CTCP-Nachricht (z.B. "version", "ping", ..)
arguments: Argumente fĂĽr CTCP
........................................
&bull; *`/cycle`* `[Channel[,Channel]] [Abschiedsnachricht]`::
........................................
Einen Channel verlassen und wieder betreten
Channel: zu verlassender Channel
Abschiedsnachricht: Abschiedsnachricht (die den anderen Usern angezeigt wird)
........................................
&bull; *`/dcc`* `Aktion [Nickname [Datei]]`::
........................................
Starte DCC (Datentransfer oder Chat)
Aktion: 'send' (Datei) oder 'chat'
Nickname: Empfänger einer Datei bzw. eines Chats
Datei: zu versendende (lokal vorliegende) Datei
Beispiel:
Sende eine Chat-Anfrage an den User "toto"
/dcc chat toto
Sende die Datei "/home/foo/bar.txt" an den User "toto"
/dcc send toto /home/foo/bar.txt
........................................
&bull; *`/dehalfop`* `Nickname [Nickname]`::
........................................
Halb-Operator-Privilegien einem oder mehreren Nicknamen aberkennen
........................................
&bull; *`/deop`* `Nickname [Nickname]`::
........................................
Operator-Privilegien einem oder mehreren Nicknamen aberkennen
........................................
&bull; *`/devoice`* `Nickname [Nickname]`::
........................................
Voice-Privilegien einem oder mehreren Nicknamen wegnehmen
........................................
&bull; *`/die`*::
........................................
Server herunterfahren
........................................
&bull; *`/disconnect`* `[-all | Servername [Servername ...]]`::
........................................
Verbindung, zu einem oder mehreren IRC-Server(n), trennen
-all: Trenne von allen Servern
servername: Servername, von dem getrennt werden soll
........................................
&bull; *`/halfop`* `Nickname [Nickname]`::
........................................
Vergebe halbe Operator Privilegien an einen oder mehrere Nicknamen
........................................
&bull; *`/ignore`* `[list] | [add [re:]nick/host [server [channel]]] | [del number|-all]`::
........................................
Ignoriert Nicks/Hosts von Channels oder Servern
list: zeigt an, wer/was ignoriert wird
add: fĂĽgt eine Ignorierung hinzu
del: entfernt eine Ignorierung
number: Nummer der Ignorierung die entfernt werden soll (nutze "list" um die entsprechende Nummer zu finden)
-all: entfernt alle Einträge
nick/host: Nick oder Host der ignoriert werden soll: Syntax ist "re:regex" oder "mask" (Eine Maske ist eine Zeichenkette in der mittels "*" ein- oder mehrere Zeichen ersetzt werden können)
server: interner Name des Server, in dem die Ignorierung statt finden soll
channel: Name des Channel, in dem die Ignorierung statt finden soll
Beispiele:
ignoriert den Nick "toto" global:
/ignore add toto
ignoriert den Host "toto@domain.com" auf dem freenode Server:
/ignore add toto@domain.com freenode
ignoriert den Host "toto*@*.domain.com" im Chat freenode/#weechat:
/ignore add toto*@*.domain.com freenode #weechat
........................................
&bull; *`/info`* `[Ziel]`::
........................................
Information ĂĽber den Server abfragen
Ziel: Servername
........................................
&bull; *`/invite`* `Nickname Channel`::
........................................
Jemanden in einen Channel einladen
Nickname: Chatname des Einzuladenden
Channel: Channel, in den er eingeladen werden soll
........................................
&bull; *`/ison`* `Nickname [Nickname ...]`::
........................................
ĂśberprĂĽfen, ob jemand zur Zeit im IRC ist
Nickname: Nickname
........................................
&bull; *`/join`* `[-server server] [channel1[,channel2[,channel3]] [key1[,key2]]]`::
........................................
einen Channel betreten
server: sendet an diesen Server (interner Name)
channel: Name des Channels der betreten werden soll
key: Zugriffsschlüssel für einen Channel (Channels die einen Zugriffsschlüssel benötigen müssen zuerst aufgeführt werden)
Beispiele:
/join #weechat
/join #geschĂĽtzterChannel,#weechat ZugriffsschlĂĽssel
/join -server freenode #weechat
........................................
&bull; *`/kick`* `[channel] nickname [comment]`::
........................................
Einen User aus einem Channel herauskicken
channel: Channel des Benutzers
nickname: Nickname des Benutzers
comment: BegrĂĽndung fĂĽr den Kick
........................................
&bull; *`/kickban`* `[channel] nickname [comment]`::
........................................
Kickt und verbannt jemanden aus einem Channel
channel: Channel, in dem sich der User befindet
nickname: Nickname der ge-kick-t und gebannt werden soll
comment: Kommentar, weshalb der User ge-kick-t wurde
Es ist möglich kick/ban mittels einer Maske durchzuführen. Der Nick wird aus der Maske heraus gefiltert und durch Joker ("*") ersetzt.
Beispiel:
Sperre "*!*@host.com" und kicke dann "toto":
/kickban toto!*@host.com
........................................
&bull; *`/kill`* `Nickname Kommentar`::
........................................
Jemanden vom Server werfen
Nickname: Chatname
Kommentar: BegrĂĽndung
........................................
&bull; *`/links`* `[[Server] Servermaske]`::
........................................
Alle dem antwortenden Server bekannten Servernamen auflisten
Server: dieser Server soll die Anfrage beantworten
Servermaske: die aufzulistenden Server sollen diesem Muster entsprechen
........................................
&bull; *`/list`* `[channel[,channel] [server] [-re regexp]]`::
........................................
Channels mit ihren Topics auflisten
channel: aufzulistender Channel
server: Servername
regexp: regulärer Ausdruck der auf das Ergebnis angewendet werden soll
Beispiele:
listet alle Channels des Servers auf (dies kann bei umfangreichen Netzwerken sehr lange dauern):
/list
listet den Channel #weechat auf:
/list #weechat
listet alle Channels auf die mit "#weechat" beginnen (dies kann bei umfangreichen Netzwerken sehr lange dauern):
/list -re #weechat.*
........................................
&bull; *`/lusers`* `[Maske [Ziel]]`::
........................................
Statistik über die Größe dieses IRC-Netzwerks abfragen
Maske: Nur Server, die diesem Muster entsprechen
Ziel: Server, der die Anfrage weiterleiten soll
........................................
&bull; *`/map`*::
........................................
Zeigt das IRC Netzwerk, in Form einer Baumstruktur, an
........................................
&bull; *`/me`* `Nachricht`::
........................................
Eine CTCP ACTION an den aktuellen Channel senden
Message: zu sendende Nachricht
........................................
&bull; *`/mode`* `{ [Channel] {[+|-]|o|p|s|i|t|n|b|v} [limit] [user] [ban mask] } | { Nickname {[+|-]|i|w|s|o} }`::
........................................
Modus von einem Channel oder User ändern
Channel-Modi:
Channel: zu ändernder Channel (Standardmäßig der erste Channel)
o: vergebe/nehme Operator Privilegien
p: privater Channel
s: geheimer Channel
i: geschlossener Channel (Zutritt nur mit Einladung)
t: nur Operatoren dĂĽrfen das Topic setzen
n: keine Channeln-Nachrichten von auĂźerhalb des Channels
m: moderierter Channel (schreiben nur mit Voice)
l: maximale Anzahl an Usern im Channel festlegen
b: Bannmaske fĂĽr zu sperrende User (in nick!ident@host-Form)
e: lege Ausnahmemaske fest
v: vergebe/nehme Voice (d.h. Schreibrechte bei moderierten Channels)
k: lege ein Passwort fĂĽr den Channel fest
User-Modi:
Nickname: zu ändernder Nickname
i: User als unsichtbar kennzeichnen
s: User empfängt Server-Nachrichten
w: User empfängt WALLOPS
o: User ist Channel-Operator
........................................
&bull; *`/motd`* `[Ziel]`::
........................................
Die "Mitteilung des Tages" abfragen
Ziel: Servername
........................................
&bull; *`/msg`* `[-server server] target[,target] text`::
........................................
Nachricht an Nick/Channel verschicken
server: schicke an diesen Server (interner Servername)
target: Nick oder Channel (darf eine Maske sein, '*' = aktueller Channel)
text: zu sendender Text
........................................
&bull; *`/names`* `[Channel[,Channel]]`::
........................................
Nicknamen in Channels auflisten
Channel: Channelname
........................................
&bull; *`/nick`* `[-all] Nickname`::
........................................
Aktuellen Nicknamen wechseln
-all: Nickname auf allen verbundenen Servern ändern
Nickname: neuer Nickname
........................................
&bull; *`/notice`* `[-server server] target text`::
........................................
Mitteilung (notice) an einen User verschicken
server: an diesen Server senden (interner Name)
target: Nickname oder Channel
text: zu sendender Text
........................................
&bull; *`/notify`* `[add nick [server [-away]]] | [del nick|-all [server]]`::
........................................
FĂĽgt eine Benachrichtigung fĂĽr An- oder Abwesenheit von Nicks auf Servern hinzu
add: fĂĽgt eine Benachrichtigung hinzu
nick: Nickname
server: interner Name des Servers (Standard: aktueller Server)
-away: gibt eine Benachrichtigung aus falls sich die Abwesenheitsnachricht ändert (der Nick wird mittels whois abgefragt)
del: entfernt eine Benachrichtigung
-all: entfernt alle Benachrichtigungen
Ohne Angabe von Argumenten werden alle Benachrichtigungen fĂĽr den aktuellen Server angezeigt (um alle Server abzufragen muss der Befehl im Core Buffer ausgefĂĽhrt werden).
Beispiele:
Benachrichtigung falls sich "toto" am aktuellen Server an- oder abmeldet:
/notify add toto
Benachrichtigung falls sich "toto" am freenode Server an- oder abmeldet:
/notify add toto freenode
Benachrichtigung falls "toto" den Befehl away am freenode Server nutzt:
/notify add toto freenode -away
........................................
&bull; *`/op`* `Nickname [Nickname]`::
........................................
Channel-Operator Status an Nicknamen verleihen
........................................
&bull; *`/oper`* `Benutzerpasswort`::
........................................
Operator Privilegien anfordern
Benutzername/Passwort: wird verwendet um Sonderrechte auf aktuellem IRC-Server zu erhalten
........................................
&bull; *`/part`* `[Channel[,Channel]] [Abschiedsnachricht]`::
........................................
Einen Channel verlassen
Channel: Channelname welcher verlassen werden soll
Abschiedsnachricht: Abschiedsnachricht (wird anderen Usern angezeigt)
........................................
&bull; *`/ping`* `Server1 [Server2]`::
........................................
Server anpingen
Server1: Server der angepingt werden soll
Server2: Ping an diesen Server weiterleiten
........................................
&bull; *`/pong`* `Daemon [Daemon2]`::
........................................
Auf Ping antworten
Daemon: Daemon welcher auf die Ping-Nachricht geantwortet hat
Daemon2: Nachricht an diesen Daemon weiterleiten
........................................
&bull; *`/query`* `[-server server] nickname [text]`::
........................................
Eine private Nachricht an einen Nick schicken
server: an diesen Server senden (interner Name)
nickname: Nickname fĂĽr privaten Chat
text: zu sendender Text
........................................
&bull; *`/quote`* `[-server server] data`::
........................................
Daten direkt an Server senden (siehe RFC 2812)
server: an diesen Server senden (interner Name wird genutzt)
data: unbearbeitete (RAW) Daten die gesendet werden sollen
........................................
&bull; *`/reconnect`* `[servername [servername ...] | -all] [-nojoin] [-switch]`::
........................................
Mit einem oder mehreren Server(n) erneut verbinden
Servername: Servername zu welchem neu verbunden werden soll
-all: mit allen Servern neu verbinden
-nojoin: Channels werden nicht betreten (auch falls autojoin fĂĽr diesen Server aktiviert ist)
-switch: wechselt zur nächsten Server-Adresse
........................................
&bull; *`/rehash`* `[Option]`::
........................................
Den Server dazu bringen seine Konfigurationsdatei neu zu laden
option: zusätzliche Option, die von manchen Servern berücksichtigt wird.
........................................
&bull; *`/restart`*::
........................................
Den Server dazu bringen sich selbst neu zu starten
........................................
&bull; *`/sajoin`* `nickname channel[,channel]`::
........................................
Zwingt einen User einen oder mehrere Channel zu betreten
nickname: Nickname
channel: Name des Channels
........................................
&bull; *`/samode`* `Channel Modus`::
........................................
Ändert den Modus des Channels ohne das Operator-Privilegien vorliegen
Channel: Name des Channel
Mode: neuer Modus fĂĽr Channel
........................................
&bull; *`/sanick`* `nickname new_nickname`::
........................................
Zwingt einen User den Nick zu ändern
nickname: Nickname
new_nickname: neuer Nickname
........................................
&bull; *`/sapart`* `nickname channel[,channel]`::
........................................
Zwingt einen User den/die Channel(s) zu verlassen
nickname: Nickname
channel: Name des Channels
........................................
&bull; *`/saquit`* `nickname reason`::
........................................
Zwingt einen User den Server zu beenden, mit BegrĂĽndung
nickname: Nickname
reason: Grund der Abmeldung
........................................
&bull; *`/server`* `[list [servername]] | [listfull [servername]] | [add servername hostname[/port] [-temp] [-option[=value]] [-nooption]] | [copy servername newservername] | [rename servername newservername] | [keep servername] | [del servername] | [deloutq] | [jump] | [raw]`::
........................................
Auflisten, HinzufĂĽgen oder Entfernen von IRC-Servern
list: listet Server auf (Standardaufruf)
listfull: listet Server mit detaillierten Informationen ĂĽber jeden einzelnen Server auf
add: erstellt einen neuen Server
servername: Servername, dient der internen Nutzung und zur Darstellung
hostname: Name oder IP-Adresse des Servers. Optional kann noch der Port festgelegt werden (Standard-Port: 6667). Verschiedene Ports können durch Kommata getrennt werden
temp: erstellt temporären Server (wird nicht gespeichert)
option: legt die Optionen für den Server fest (die Boolean-Optionen können weggelassen werden)
nooption: stellt die Boolean Option auf "off" (Beispiel: -nossl)
copy: erstellt eine Kopie des Servers
rename: benennt den Server um
keep: behält den Server in der Konfigurationsdatei (ausschließlich für die Nutzung bei temporären Servern)
del: entfernt einen Server
deloutq: löscht bei allen Servern alle ausgehende Nachrichten, die in der Warteschlange stehen (dies betrifft alle Nachrichten die WeeChat gerade sendet)
jump: springt zum Server-Buffer
raw: öffnet Buffer mit Roh-IRC-Daten
Beispiele:
/server listfull
/server add oftc irc.oftc.net/6697 -ssl -autoconnect
/server add oftc6 irc6.oftc.net/6697 -ipv6 -ssl
/server add freenode2 chat.eu.freenode.net/6667,chat.us.freenode.net/6667
/server add freenode3 irc.freenode.net -password=mypass
/server copy oftc oftcbis
/server rename oftc newoftc
/server del freenode
/server deloutq
........................................
&bull; *`/service`* `nickname reserved distribution type reserved info`::
........................................
Einen neuen Service eintragen
distribution: Sichtbarkeit des Services
type: für spätere Verwendung reserviert
........................................
&bull; *`/servlist`* `[mask [type]]`::
........................................
Zur Zeit verbundene Services auflisten
mask: nur zutreffende Services auflisten
type: nur Services von diesem Typ auflisten
........................................
&bull; *`/squery`* `service text`::
........................................
Nachricht an einen Service senden
service: Name des Service
text: zu sendender Text
........................................
&bull; *`/squit`* `server comment`::
........................................
Serververbindungen trennen
server: Servername
comment: Trennungsgrund
........................................
&bull; *`/stats`* `[query [server]]`::
........................................
Serverstatistik abfragen
query: c/h/i/k/l/m/o/y/u (siehe RFC1459)
server: Name des Servers
........................................
&bull; *`/summon`* `user [target [channel]]`::
........................................
Nutzer die auf dem IRC-Server arbeiten darum bitten auf den IRC-Server zu kommen
user: Benutzername
target: Servername
channel: Channelname
........................................
&bull; *`/time`* `[Ziel]`::
........................................
Ortszeit des Servers abfragen
Ziel: Zeit des angegebenen Servers abfragen.
........................................
&bull; *`/topic`* `[channel] [topic]`::
........................................
Thema des Channels abfragen/setzen
channel: Channelname
topic: Thema fĂĽr den Channel (oder "-delete" zum entfernen des Themas)
........................................
&bull; *`/trace`* `[Ziel]`::
........................................
Route zum angegebenen Server ermitteln
Ziel: Server
........................................
&bull; *`/unban`* `[channel] nickname [nickname ...]`::
........................................
Bann aufheben (Nicks oder Hosts)
Channel: Channel in dem der Bann aufzuheben ist
Nickname: User fĂĽr den der Bann aufzuheben ist
........................................
&bull; *`/userhost`* `Nickname [Nickname ...]`::
........................................
Zeigt Informationen zu Nicknamen an
Nickname: Nickname
........................................
&bull; *`/users`* `[Ziel]`::
........................................
Auflistung der User die bei dem Server angemeldet sind
Ziel: Server
........................................
&bull; *`/version`* `[server | nickname]`::
........................................
Versionsinformation des Nicknamen oder Servers ermitteln (des aktuellen oder angegebenen Nick/Server)
server: Servername
nickname: Nickname
........................................
&bull; *`/voice`* `Nickname [Nickname]`::
........................................
Voice an Nickname(n) vergeben
........................................
&bull; *`/wallchops`* `[channel] text`::
........................................
Nachricht an Channel-Operator verschicken
channel: Name des Channel
text: Text der versendet werden soll
........................................
&bull; *`/wallops`* `Text`::
........................................
Nachricht an alle User schicken die den 'w'-Mode gesetzt haben
zu sendender Text
........................................
&bull; *`/who`* `[Maske ["o"]]`::
........................................
Erstellung einer Anfrage die eine Anzahl von Informationen zurĂĽck gibt.
Maske: nur Information ĂĽber betreffende Nicknamen abfragen
o: nur Operatoren ausgeben, die dem Filter entsprechen
........................................
&bull; *`/whois`* `[server] nickname[,nickname]`::
........................................
Information ĂĽber User abfragen
server: Servername
nickname: Nickname (oder eine Maske)
........................................
&bull; *`/whowas`* `nickname [,nickname [,nickname ...]] [count [target]]`::
........................................
Informationen eines Nicknamen abfragen welcher nicht mehr existiert
Nickname: Nickname, welcher gesucht werden soll
count: maximale Anzahl an Antworten (negative Zahl für eine vollständige Liste)
target: Antwort soll auf diese Suchmaske zutreffen
........................................
+485
View File
@@ -0,0 +1,485 @@
* *irc.color.input_nick*
** Beschreibung: `Farbe des eigenen Nicknamens in der Eingabezeile`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `lightcyan`)
* *irc.color.item_away*
** Beschreibung: `Farbe des Abwesenheit-Textes in der Eingabezeile`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `yellow`)
* *irc.color.item_channel_modes*
** Beschreibung: `Farbe der Channel-Modes (neben dem Channelnamen)`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `default`)
* *irc.color.item_lag_counting*
** Beschreibung: `Farbe in der der Lag-Indikator dargestellt werden soll wenn auf Antwort gewartet wird ("pong" wurde vom Server nicht empfangen und die Verzögerungszeit wird erhöht)`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `default`)
* *irc.color.item_lag_finished*
** Beschreibung: `Farbe in der der Lag-Indikator dargestellt werden soll, falls ein "pong" vom Server empfangen wurde`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `yellow`)
* *irc.color.message_join*
** Beschreibung: `Textfarbe in der die Meldungen fĂĽr das Betreten eines Channels angezeigt werden soll`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `green`)
* *irc.color.message_quit*
** Beschreibung: `Textfarbe in der die Meldungen fĂĽr das Verlassen/Beenden eines Channels angezeigt werden soll`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `red`)
* *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 (Standardwert: `green`)
* *irc.color.nick_prefix_halfop*
** Beschreibung: `Textfarbe für den Nick-Präfix des halfop in einem Channel`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `lightmagenta`)
* *irc.color.nick_prefix_op*
** Beschreibung: `Textfarbe für den Nick-Präfix von op/admin/owner in einem Channel`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `lightgreen`)
* *irc.color.nick_prefix_user*
** Beschreibung: `Textfarbe für den Nick-Präfix eines Users in einem Channel`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `blue`)
* *irc.color.nick_prefix_voice*
** Beschreibung: `Textfarbe für den Nick-Präfix für einen User mit Voice Rechten in einem Channel`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `yellow`)
* *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 (Standardwert: `green`)
* *irc.color.notice*
** Beschreibung: `Farbe des "Notice"-Textes in Notizen`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `green`)
* *irc.color.reason_quit*
** Beschreibung: `Textfarbe in der die BegrĂĽndung einer part/quit Nachricht angezeigt werden soll`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `default`)
* *irc.look.color_nicks_in_server_messages*
** Beschreibung: `Nutze Nick-Farbe bei Nachrichten vom Server`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *irc.look.color_pv_nick_like_channel*
** Beschreibung: `Nutzt die selbe Farbe fĂĽr die Darstellung des Nicks im Channel als auch Privat`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *irc.look.display_away*
** Beschreibung: `Bei Abwesenheit und RĂĽckkehr eine Nachricht anzeigen`
** Typ: integer
** Werte: off, local, channel (Standardwert: `local`)
* *irc.look.display_ctcp_blocked*
** Beschreibung: `CTCP Nachrichten werden angezeigt, obwohl sie unterdrĂĽckt werden`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *irc.look.display_ctcp_reply*
** Beschreibung: `CTCP Antworten, die durch WeeChat versendet wurden, werden angezeigt`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *irc.look.display_ctcp_unknown*
** Beschreibung: `unbekannte CTCP Nachrichten werden angezeigt.`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *irc.look.display_host_join*
** Beschreibung: `Zeigt den Host in einer join Nachricht an`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *irc.look.display_host_join_local*
** Beschreibung: `Zeigt den Host in join Nachrichten des lokalen Client an`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *irc.look.display_host_quit*
** Beschreibung: `Zeigt den Host in einer part/quit Nachricht an`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *irc.look.display_old_topic*
** Beschreibung: `Zeige den alten Topic, falls der Channel-Topic geändert wurde`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *irc.look.display_pv_away_once*
** Beschreibung: `In einer privaten Unterhaltung nur einmal eine Abwesenheitsnachricht anzeigen`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *irc.look.display_pv_back*
** Beschreibung: `Es wird bei einer privaten Unterhaltung eine Mitteilung ausgegeben falls der User wieder zurĂĽck ist (falls der User sich beim Server abgemeldet hat)`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *irc.look.hide_nickserv_pwd*
** Beschreibung: `Von NickServ angezeigte Passwörter verstecken`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *irc.look.highlight_tags*
** Beschreibung: `Eine durch Kommata getrennte Liste von Tags die bei einer Nachricht selbige hervorhebt (Highlight). (normalerweise trifft dies auf jede Nachricht eines Users zu, ausgenommen Nachrichten vom Server,..)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"irc_privmsg,irc_notice"`)
* *irc.look.item_away_message*
** Beschreibung: `Abwesenheitsnachricht in der Away-Bar-Item anzeigen`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *irc.look.item_channel_modes*
** Beschreibung: `Zeige die Channel-Modi mittels "buffer_name" in der Bar-Item an`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *irc.look.item_channel_modes_hide_key*
** Beschreibung: `UnterdrĂĽckt Channel-Key falls die Modi in der Bar-Item mittels "buffer_name" dargestellt werden (diese Option unterdrĂĽckt alle Channel-Modi falls der Modus fĂĽr den Channel auf +k gesetzt wurde)`
** Typ: boolesch
** Werte: on, off (Standardwert: `off`)
* *irc.look.item_display_server*
** Beschreibung: `Name der Bar-Item in dem der IRC Server angezeigt wird (fĂĽr Status-Bar)`
** Typ: integer
** Werte: buffer_plugin, buffer_name (Standardwert: `buffer_plugin`)
* *irc.look.item_nick_modes*
** Beschreibung: `Zeige Nick-Modi in "input_prompt" Bar-Item`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *irc.look.item_nick_prefix*
** Beschreibung: `Der Nick-Präfix wird in "input_prompt" Bar-Item angezeigt`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *irc.look.msgbuffer_fallback*
** Beschreibung: `Standardbuffer der fĂĽr Ausgaben genutzt werden soll falls ein privater Buffer nicht gefunden wird.`
** Typ: integer
** Werte: current, server (Standardwert: `current`)
* *irc.look.new_channel_position*
** Beschreibung: `Ein öffentlicher Channel wird auf eine Position gezwungen (none = standardmäßige Position (sollte die letzte Position sein), next = aktueller Buffer + 1, near_server = nach letztem Channel/privaten Buffer des Servers)`
** Typ: integer
** Werte: none, next, near_server (Standardwert: `none`)
* *irc.look.new_pv_position*
** Beschreibung: `Ein privater Buffer wird auf eine Position gezwungen (none = standardmäßige Position (sollte die letzte Position sein), next = aktueller Buffer + 1, near_server = nach letztem Channel/privaten Buffer des Servers)`
** Typ: integer
** Werte: none, next, near_server (Standardwert: `none`)
* *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")`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
* *irc.look.nick_color_stop_chars*
** Beschreibung: `Zeichen die genutzt werden sollen damit bei der Generierung der Farbe fĂĽr einen Nicknamen abgebrochen wird. Es muss mindestens ein Zeichen im Nicknamen enthalten sein der nicht in dieser Liste aufgefĂĽhrt wird, damit eine Farbe fĂĽr den Nicknamen erstellt werden kann (Beispiel: Der Nickname lautet "|nick|abwesend" wobei das Zeichen "|" ignoriert werden soll. Die Farbe fĂĽr den Nicknamen wird nun fĂĽr "|nick" anstelle von "|nick|abwesend" erstellt).`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"_|["`)
* *irc.look.nick_completion_smart*
** Beschreibung: `Intelligente Vervollständigung von Nicknamen (vervollständigt zuerst den letzten Nick, mit dem gesprochen wurde)`
** Typ: integer
** Werte: off, speakers, speakers_highlights (Standardwert: `speakers`)
* *irc.look.nick_prefix*
** Beschreibung: `Text, der im Chatfenster vor dem Nickname erscheinen soll`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
* *irc.look.nick_suffix*
** Beschreibung: `Text, der im Chatfenster nach dem Nickname erscheinen soll`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
* *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)`
** Typ: integer
** Werte: auto, never, always (Standardwert: `auto`)
* *irc.look.notify_tags_ison*
** Beschreibung: `Durch Kommata getrennte Liste von Tags 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"`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"notify_message"`)
* *irc.look.notify_tags_whois*
** Beschreibung: `Durch Kommata getrennte Liste von Tags 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"`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"notify_message"`)
* *irc.look.part_closes_buffer*
** Beschreibung: `SchlieĂźt den Buffer wenn "/part" im Channel ausgefĂĽhrt wird`
** Typ: boolesch
** Werte: on, off (Standardwert: `off`)
* *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
** Werte: 0 .. 65535 (Standardwert: `256`)
* *irc.look.server_buffer*
** Beschreibung: `Server-Buffer zusammenlegen`
** Typ: integer
** Werte: merge_with_core, merge_without_core, independent (Standardwert: `merge_with_core`)
* *irc.look.smart_filter*
** Beschreibung: `Filtert join/part/quit Nachrichten fĂĽr einen Nick der einige Minuten im Channel inaktiv gewesen ist. Dazu muss ein Filter im tag "irc_smart_filter" erstellt werden.`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *irc.look.smart_filter_delay*
** Beschreibung: `Verzögerung, in Minuten, in denen join/part/quit Nachrichten gefiltert werden`
** Typ: integer
** Werte: 1 .. 10080 (Standardwert: `5`)
* *irc.look.smart_filter_join*
** Beschreibung: `aktiviert einen Filter fĂĽr "join" Nachrichten`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *irc.look.smart_filter_quit*
** Beschreibung: `aktiviert einen Filter fĂĽr "part" und "quit" Nachrichten`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *irc.look.topic_strip_colors*
** Beschreibung: `Farben werden im Topic gestrippt (wird nur genutzt wenn der Buffer-Titel angezeigt wird)`
** Typ: boolesch
** Werte: on, off (Standardwert: `off`)
* *irc.network.autoreconnect_delay_growing*
** Beschreibung: `Multiplikator für die Verzögerung bei der automatischen Wiederverbindung zum Server (1 = immer die selbe Verzögerung nutzen, 2 = Verzögerung*2 für jeden weiteren Versuch, ..)`
** Typ: integer
** Werte: 1 .. 100 (Standardwert: `2`)
* *irc.network.autoreconnect_delay_max*
** Beschreibung: `maximale Verzögerung bei der automatischen wiederverbindung zum Server (in Sekunden, 0 = keine Begrenzung)`
** Typ: integer
** Werte: 0 .. 86400 (Standardwert: `1800`)
* *irc.network.colors_receive*
** Beschreibung: `Falls deaktiviert, werden Farben-Codes von eingehenden Nachrichten ignoriert.`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *irc.network.colors_send*
** Beschreibung: `Erlaube Benutzern, spezielle Codes zu versenden (ctrl-c + Code und optional Farbe: b=fett, cxx=Farbe, cxx,yy=Farbe+Hintergrund, u=unterstrichen, r=invertiert)`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *irc.network.lag_check*
** Beschreibung: `Intervall zwischen zwei Lag-ĂśberprĂĽfungen (in Sekunden, 0 = keine ĂśberprĂĽfung)`
** Typ: integer
** Werte: 0 .. 604800 (Standardwert: `60`)
* *irc.network.lag_disconnect*
** Beschreibung: `Maximal-Lag bis zum Trennen der Verbindung (in Minuten - 0 = niemals trennen)`
** Typ: integer
** Werte: 0 .. 10080 (Standardwert: `0`)
* *irc.network.lag_min_show*
** Beschreibung: `geringste Verzögerungszeit (Lag) die angezeigt werden soll (in Millisekunden)`
** Typ: integer
** Werte: 0 .. 86400000 (Standardwert: `500`)
* *irc.network.lag_refresh_interval*
** Beschreibung: `Intervall zwischen zwei Aktualisierungen des Lag-Items, wenn die Verzögerungszeit sich erhöht (in Sekunden)`
** Typ: integer
** Werte: 1 .. 3600 (Standardwert: `1`)
* *irc.network.notify_check_ison*
** Beschreibung: `Intervall zwischen zwei notify ĂśberprĂĽfungen mit dem IRC Befehl "ison" (in Minuten)`
** Typ: integer
** Werte: 1 .. 10080 (Standardwert: `1`)
* *irc.network.notify_check_whois*
** Beschreibung: `Intervall zwischen zwei notify ĂśberprĂĽfungen mit dem IRC Befehl "whois" (in Minuten)`
** Typ: integer
** Werte: 1 .. 10080 (Standardwert: `5`)
* *irc.network.send_unknown_commands*
** Beschreibung: `Sende unbekannte Befehle an den Server`
** Typ: boolesch
** Werte: on, off (Standardwert: `off`)
* *irc.server_default.addresses*
** Beschreibung: `Liste der Hostnamen/Ports oder IP/Ports des Servers (durch Komma getrennt)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
* *irc.server_default.anti_flood_prio_high*
** Beschreibung: `Anti-Flood fĂĽr dringliche Inhalte: Zeit in Sekunden zwischen zwei Benutzernachrichten oder Befehlen die zum IRC Server versendet wurden (0 = Anti-Flood deaktivieren)`
** Typ: integer
** Werte: 0 .. 60 (Standardwert: `2`)
* *irc.server_default.anti_flood_prio_low*
** Beschreibung: `Anti-Flood fĂĽr weniger dringliche Inhalte: Zeit in Sekunden zwischen zwei Benutzernachrichten, die zum IRC Server versendet wurden. Beispiel: automatische CTCP Antworten. (0 = Anti-Flood deaktivieren)`
** Typ: integer
** Werte: 0 .. 60 (Standardwert: `2`)
* *irc.server_default.autoconnect*
** Beschreibung: `Beim Programmstart von Weechat automatisch mit dem Server verbinden`
** Typ: boolesch
** Werte: on, off (Standardwert: `off`)
* *irc.server_default.autojoin*
** Beschreibung: `Durch Kommata getrennte Liste der Channels, die beim Verbinden zum Server betreten werden sollen (Beispiel: "#chan1,#chan2,#chan3 key1,key2")`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
* *irc.server_default.autoreconnect*
** Beschreibung: `Nach einer Trennung vom Server die Verbindung automatisch wiederherstellen`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *irc.server_default.autoreconnect_delay*
** Beschreibung: `Zeit (in Sekunden) die gewartet werden soll bevor ein neuer Verbindungsaufbau durchgefĂĽhrt werden soll`
** Typ: integer
** Werte: 1 .. 65535 (Standardwert: `10`)
* *irc.server_default.autorejoin*
** Beschreibung: `Channels automatisch betreten, falls man ge-kickt wurde.`
** Typ: boolesch
** Werte: on, off (Standardwert: `off`)
* *irc.server_default.autorejoin_delay*
** Beschreibung: `Wartezeit, in Sekunden, die verstreichen soll bevor man den Channel automatisch erneut betritt (nachdem man ge-kickt wurde)`
** Typ: integer
** Werte: 0 .. 86400 (Standardwert: `30`)
* *irc.server_default.away_check*
** Beschreibung: `ĂśberprĂĽft die Abwesenheit (/away) der Nutzer, in dem angegebenen Intervall (in Minuten, 0 = nicht ĂĽberprĂĽfen)`
** Typ: integer
** Werte: 0 .. 10080 (Standardwert: `0`)
* *irc.server_default.away_check_max_nicks*
** Beschreibung: `Die Abwesenheit von Nutzern in Channels wird nicht überprüft wenn die Anzahl der Nutzer höher ist, als der angegebene Wert (0 = unbegrenzte Anzahl an Nutzern im Channel)`
** Typ: integer
** Werte: 0 .. 1000000 (Standardwert: `25`)
* *irc.server_default.command*
** Beschreibung: `Enthält Befehle die nach der Verbindung zum Server ausgeführt werden sollen. Mehrere Befehle müssen durch ein ";" getrennt werden. Möchte man ein Semikolon schreiben muss man "\;" verwenden. Die speziellen Variablen $nick, $channel und $server werden dabei durch den jeweiligen Wert ersetzt`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
* *irc.server_default.command_delay*
** Beschreibung: `Wartezeit in Sekunden nach Ausführung des Befehls, um z.B. eine Authentifizierung zu ermöglichen`
** Typ: integer
** Werte: 0 .. 3600 (Standardwert: `0`)
* *irc.server_default.connection_timeout*
** Beschreibung: `Wartezeit (in Sekunden) zwischen einer TCP Verbindung mit dem Server und des Empfanges der message 001. Falls die Wartezeit verstreichen sollte bevor die message 001 empfangen wurde dann wird WeeChat die Verbindung zum Server trennen.`
** Typ: integer
** Werte: 1 .. 3600 (Standardwert: `60`)
* *irc.server_default.default_msg_part*
** Beschreibung: `Standardnachricht beim Verlassen eines Channels ("%v": wird durch die WeeChat-Version ersetzt)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"WeeChat %v"`)
* *irc.server_default.default_msg_quit*
** Beschreibung: `Standardnachricht beim Beenden (Verbindung zum Server trennen) ("%v": wird durch die WeeChat-Version ersetzt)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"WeeChat %v"`)
* *irc.server_default.ipv6*
** Beschreibung: `Server ĂĽber IPv6 ansprechen`
** Typ: boolesch
** Werte: on, off (Standardwert: `off`)
* *irc.server_default.local_hostname*
** Beschreibung: `benutzerdefinierter lokaler Hostname bzw. IP-Adresse fĂĽr den entsprechenden Server (optional). Falls kein Eintrag vorhanden sein sollte wird der lokale Hostname verwendet`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
* *irc.server_default.nicks*
** Beschreibung: `Nicknamen, die auf dem IRC-Server benutzt werden sollen (durch Komma getrennt)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
* *irc.server_default.notify*
** Beschreibung: `Liste mit Benachrichtigung für Server (diese Option sollte nicht direkt verändert werden. Dazu sollte der Befehl /notify genutzt werden)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
* *irc.server_default.password*
** Beschreibung: `Passwort fĂĽr den Server`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
* *irc.server_default.proxy*
** Beschreibung: `Proxy, der fĂĽr diesen Server verwendet wird (optional)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
* *irc.server_default.realname*
** Beschreibung: `Realen Namen bei diesem Server nutzen`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
* *irc.server_default.sasl_mechanism*
** Beschreibung: `Vorrichtung zur SASL Authentifizierung`
** Typ: integer
** Werte: plain, dh-blowfish (Standardwert: `plain`)
* *irc.server_default.sasl_password*
** Beschreibung: `Passwort fĂĽr SASL Authentifizierung`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
* *irc.server_default.sasl_timeout*
** Beschreibung: `ZeitĂĽberschreitung (in Sekunden) bis zum Abbruch der SASL Authentifizierung`
** Typ: integer
** Werte: 1 .. 3600 (Standardwert: `15`)
* *irc.server_default.sasl_username*
** Beschreibung: `Username fĂĽr SASL Authentifizierung`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
* *irc.server_default.ssl*
** Beschreibung: `Server ĂĽber SSL ansprechen`
** Typ: boolesch
** Werte: on, off (Standardwert: `off`)
* *irc.server_default.ssl_cert*
** Beschreibung: `Datei fĂĽr ssl Zertifikat um automatisch den eigenen Nick zu identifizieren ("%h" wird durch das WeeChat Verzeichnis ersetzt, Standardverzeichnis: "~/.weechat")`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
* *irc.server_default.ssl_dhkey_size*
** Beschreibung: `Größe des Schlüssels der während des Diffie-Hellman-Schlüsselaustausches genutzt wurde`
** Typ: integer
** Werte: 0 .. 2147483647 (Standardwert: `2048`)
* *irc.server_default.ssl_verify*
** Beschreibung: `ĂśberprĂĽfe ob die SSL-Verbindung vertrauenswĂĽrdig ist`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *irc.server_default.username*
** Beschreibung: `Benutzername fĂĽr diesen Server`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
+32
View File
@@ -0,0 +1,32 @@
&bull; *`/logger`* `[list | set level | disable]`::
........................................
Konfiguration fĂĽr "logger" Erweiterung (dient zum protokollieren der Buffer)
list: zeigt, für geöffnete Buffer, den Status der Protokollierung an
set: legt den Level fest, nach dem der aktuelle Buffer protokolliert werden soll
level: legt fest, welche Nachrichten protokolliert werden sollen (0 = nichts protokollieren, 1 = nur die wichtigsten Nachrichten protokollieren .. 9 = protokolliere alle Nachrichten)
disable: die Protokollierung wird fĂĽr den aktuellen Buffer ausgeschaltet (der Level wird auf 0 gestellt)
Die Optionen "logger.level.*" und "logger.mask.*" können genutzt werden um den Level der Protokollierung festzulegen und um eine Maske für einen oder mehrere Buffer zu definieren.
Level der Protokollierung, die die IRC Erweiterung unterstĂĽtzt:
1: Nachrichten von Usern, private Nachrichten und Bemerkungen
2: Wechsel von Nicks (/nick)
3: Nachrichten vom Server
4: join/part/quit Nachrichten
9: alle Nachrichten
Beispiele:
Stellt den Level fĂĽr den aktuellen Buffer auf 5 ein:
/logger set 5
Die Protokollierung fĂĽr den aktuellen Buffer wird ausgeschaltet:
/logger disable
Stellt den Level fĂĽr alle IRC-Buffer auf 3 ein:
/set logger.level.irc 3
Die Protokollierung, fĂĽr den WeeChat Haupt-Buffer, wird deaktiviert:
/set logger.level.core.weechat 0
FĂĽr jeden IRC-Server wird ein separates Verzeichnis erstellt und darin eine eigene Protokoll-Datei, fĂĽr jeden Channel:
/set logger.mask.irc "$server/$channel.weechatlog"
........................................
+40
View File
@@ -0,0 +1,40 @@
* *logger.file.auto_log*
** Beschreibung: `Speichert automatisch den Inhalt eines Buffers in eine Datei (sofern das Protokollieren fĂĽr den Buffer nicht deaktiviert sein sollte)`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *logger.file.info_lines*
** Beschreibung: `FĂĽgt eine Information in die Protokoll-Datei ein, falls die Protokollierung gestartet oder beendet wird`
** Typ: boolesch
** Werte: on, off (Standardwert: `off`)
* *logger.file.mask*
** Beschreibung: `Standardmaske für Protokolldateien (Format: "Verzeichnis/zu/Datei" oder "Datei", ohne ein führendes "/", da die "Verzeichnis" Option genutzt wird um vollständige Verzeichnisstrukturen zu erstellen); lokale Buffer Variablen und Datumsspezifikationen (siehe: man strftime) sind zulässig`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"$plugin.$name.weechatlog"`)
* *logger.file.name_lower_case*
** Beschreibung: `Benutze ausschlieĂźlich Kleinschreibung fĂĽr Protokoll-Dateien`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *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
** Werte: beliebige Zeichenkette (Standardwert: `"%h/logs/"`)
* *logger.file.replacement_char*
** Beschreibung: `Ersatzzeichen fĂĽr Dateinamen, falls der Dateiname Sonderzeichen beinhaltet (z.B. das Trennzeichen bei Verzeichnissen "/")`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"_"`)
* *logger.file.time_format*
** Beschreibung: `Zeitstempel in Protokoll-Datei nutzen (bitte dazu die Anleitung zu "strftime" (man strftime) durchlesen)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"%Y-%m-%d %H:%M:%S"`)
* *logger.look.backlog*
** Beschreibung: `maximale Anzahl der Zeilen die aus der Protokoll-Datei dargestellt werden sollen, wenn ein Buffer geöffnet wird (0 = kein Darstellung)`
** Typ: integer
** Werte: 0 .. 2147483647 (Standardwert: `20`)
+11
View File
@@ -0,0 +1,11 @@
&bull; *`/lua`* `[list [Name]] | [listfull [Name]] | [load Dateiname] | [autoload] | [reload [Name]] | [unload [Name]]`::
........................................
auflisten/installieren/deinstallieren von Skripten
filename: Skript/Datei welches geladen werden soll
name: Name des Skripts
Wird der Befehl ohne Argumente aufgerufen werden alle geladenen Skripten aufgelistet.
........................................
+11
View File
@@ -0,0 +1,11 @@
&bull; *`/perl`* `[list [Name]] | [listfull [Name]] | [load Dateiname] | [autoload] | [reload [Name]] | [unload [Name]]`::
........................................
auflisten/installieren/deinstallieren von Skripten
filename: Skript/Datei welches geladen werden soll
name: Name des Skripts
Wird der Befehl ohne Argumente aufgerufen werden alle geladenen Skripten aufgelistet.
........................................
+11
View File
@@ -0,0 +1,11 @@
&bull; *`/python`* `[list [Name]] | [listfull [Name]] | [load Dateiname] | [autoload] | [reload [Name]] | [unload [Name]]`::
........................................
auflisten/installieren/deinstallieren von Skripten
filename: Skript/Datei welches geladen werden soll
name: Name des Skripts
Wird der Befehl ohne Argumente aufgerufen werden alle geladenen Skripten aufgelistet.
........................................
+23
View File
@@ -0,0 +1,23 @@
&bull; *`/relay`* `[list | listfull | add protocol.name port | del protocol.name | raw]`::
........................................
Relay-Kontrolle
list: Auflistung der Relay-Clients (nur aktive Relays)
listfull: detaillierte Auflistung der Relay-Clients (alle Relays)
listrelay: Auflistung der Relays (Name und Port)
add: fĂĽge ein Relay, fĂĽr ein Protokoll + Name, hinzu
del: entferne Relay fĂĽr ein Protokoll + Name
protocol.name: Protokoll und Name des Relays
zur Zeit wird ausschlieĂźlich das "irc" Protokoll unterstĂĽtzt
Beispiel: irc.freenode
port: Port den der Relay nutzen soll
raw: öffnet Buffer mit RAW-Relay Daten
Ohne Angabe von Argumenten werden alle Relay-Clients in einem neuen Buffer dargestellt.
Beispiel:
IRC Proxy fĂĽr Server "freenode":
/relay add irc.freenode 8000
........................................
+65
View File
@@ -0,0 +1,65 @@
* *relay.color.status_active*
** Beschreibung: `Textfarbe fĂĽr Status: "Verbindung hergestellt"`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `lightblue`)
* *relay.color.status_auth_failed*
** Beschreibung: `Textfarbe fĂĽr Status: "Authentifizierung gescheitert"`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `lightred`)
* *relay.color.status_connecting*
** Beschreibung: `Textfarbe fĂĽr Status: "verbinde"`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `yellow`)
* *relay.color.status_disconnected*
** Beschreibung: `Textfarbe fĂĽr Status: "Verbindung getrennt"`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `lightred`)
* *relay.color.status_waiting_auth*
** Beschreibung: `Textfarbe fĂĽr Status: "warte auf Authentifizierung"`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `brown`)
* *relay.color.text*
** Beschreibung: `Textfarbe`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `default`)
* *relay.color.text_bg*
** Beschreibung: `Hintergrundfarbe`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `default`)
* *relay.color.text_selected*
** Beschreibung: `Textfarbe fĂĽr selektierten Client-Linie`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `white`)
* *relay.look.auto_open_buffer*
** Beschreibung: `Ă–ffnet automatisch einen Relay-Buffer, falls eine Verbindung zu einem neuen Client hergestellt wird`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *relay.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
** Werte: 0 .. 65535 (Standardwert: `256`)
* *relay.network.bind_address*
** Beschreibung: `Adresse für Bind (falls nicht gesetzt ist eine Verbindung zu allen Interfaces möglich. Wird die Adresse "127.0.0.1" genutzt kann nur eine Verbindung mit dem lokalen Rechner hergestellt werden)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
* *relay.network.max_clients*
** Beschreibung: `Maximale Anzahl an Clients die mit einem Port verbunden sein dĂĽrfen`
** Typ: integer
** Werte: 1 .. 1024 (Standardwert: `5`)
* *relay.network.password*
** Beschreibung: `Passwort wird von Clients benötigt um Zugriff auf dieses Relay zu erhalten (kein Eintrag bedeutet dass kein Passwort benötigt wird)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
@@ -0,0 +1,25 @@
&bull; *`/rmodifier`* `[list] | [listdefault] | [add name modifiers groups regex] | [del name|-all [name...]] | [default -yes]`::
........................................
wandelt Schlüsselwörter mit regulären Ausdrücken (regelt die Sichtbarkeit von Texten in WeeChat)
list: zeigt alle rmodifier an
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 zu verbergen
regex: regulärer Ausdruck
del: löscht einen rmodifier Eintrag
-all: löscht alle rmodifiers Einträge
default: setzt die rmodifier auf Standardwerte zurĂĽck
Beispiele:
verbirgt die Eingabe nach dem Befehl /passwort:
/rmodifier add passwort input_text_display 1,2* ^(/passwort +)(.*)
lösche rmodifier "passwort":
/rmodifier del passwort
lösche alle rmodifiers:
/rmodifier del -all
........................................
@@ -0,0 +1,5 @@
* *rmodifier.look.hide_char*
** Beschreibung: `Zeichen welches benutzt werden soll um die Eingabe einer Zeichenkette zu verbergen`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"*"`)
+11
View File
@@ -0,0 +1,11 @@
&bull; *`/ruby`* `[list [Name]] | [listfull [Name]] | [load Dateiname] | [autoload] | [reload [Name]] | [unload [Name]]`::
........................................
auflisten/installieren/deinstallieren von Skripten
filename: Skript/Datei welches geladen werden soll
name: Name des Skripts
Wird der Befehl ohne Argumente aufgerufen werden alle geladenen Skripten aufgelistet.
........................................
+11
View File
@@ -0,0 +1,11 @@
&bull; *`/tcl`* `[list [Name]] | [listfull [Name]] | [load Dateiname] | [autoload] | [reload [Name]] | [unload [Name]]`::
........................................
auflisten/installieren/deinstallieren von Skripten
filename: Skript/Datei welches geladen werden soll
name: Name des Skripts
Wird der Befehl ohne Argumente aufgerufen werden alle geladenen Skripten aufgelistet.
........................................
+482
View File
@@ -0,0 +1,482 @@
&bull; *`/away`* `[-all] [message]`::
........................................
Abwesenheitsstatus ein-/ausschalten
-all: Abwesenheitszustand auf allen Servern ändern
message: Abwesenheitsnachricht (ohne eine Nachricht wird der Abwesenheitszustand deaktivieren)
........................................
&bull; *`/bar`* `[add barname type[,cond1,cond2,...] position size separator item1,item2,...] | [default] | [del barname|-all] | [set barname option value] | [hide|show|toggle barname] | [scroll barname buffer scroll_value] | [list] | [listfull] | [listitems]`::
........................................
Infobars verwalten
add: fĂĽge eine neue Infobar hinzu
barname: Name der Infobar (muss einmalig sein)
type: root: auĂźerhalb des Fensters,
window: innerhalb des Fensters, mit optionalen Merkmalen (siehe unten)
cond1,...: Merkmal(e) fĂĽr eine Infobar (nur nutzbar mit der Type-Option "window"):
active: in einem aktiven Fenster
inactive: in einem inaktiven Fenster
nicklist: in Fenstern mit einer Nickliste
werden keine Merkmale angegeben, ist die Infobar immer sichtbar
position: bottom (unten), top (oben), left (links) oder right (rechts)
size: Größe der Infobar (in Zeichen)
separator: 1 um eine Trennlinien zu zeichnen, 0 (oder keine Angabe) es wird keine Trennlinien gezeichnet
item1,...: Items die in der Infobar genutzt werden sollen (Items können durch Kommata oder Leerzeichen getrennt werden ("+" (verbindet Items))
default: erstellt standardisierte Infobars
del: entfernt eine Infobar (alle Infobars können mit der Option "-all" entfernt werden).
set: setzt einen Wert fĂĽr Infobar
option: Optionen die geändert werden (für eine List der möglichen Optionen, bitte folgenden Befehl nutzen: /set weechat.bar.<barname>.*)
value: neuer Wert fĂĽr Option
hide: verbirgt eine Infobar
show: zeigt eine verborgene Infobar an
toggle: zeigt/versteckt eine Infobar
scroll: scrollt Infobar hoch/runter
buffer: Name des Buffer der gescrollt werden soll ('*' fĂĽr aktuellen Buffer, man sollte '*' fĂĽr root-Infobars nutzen)
scroll_value: Werte für Scroll-Funktion: 'x' oder 'y', gefolgt von '+', '-', 'b' (Beginn) oder 'e' (Ende), Wert (für +/-), und Optional %% (zum Scrollen für %% der Breite/Höhe, ansonsten wird der Wert als Anzahl der Zeichen interpretiert um die gescrollt werden soll)
list: listet alle Infobars auf
listfull: listet alle Infobars detailliert auf (Standardaufruf)
listitems: listet alle Items auf, die in den Infobars genutzt werden
Beispiele:
erstellt eine Infobar mit den Items: time, buffer number + name, und Vervollständigung:
/bar add mybar root bottom 1 0 [time],buffer_number+:+buffer_name,completion
versteckt die Infobar (meinebar):
/bar hide meinebar
scrollt die Nickliste im aktuellen Buffer um 10 Zeilen nach unten:
/bar scroll nicklist * y+10
scrollt die Nickliste im Buffer #weechat eine ganze Seite nach oben:
/bar scroll nicklist #weechat y-100%
scrollt zum Ende der Nicklist im aktuellen Buffer:
/bar scroll nicklist * ye
........................................
&bull; *`/buffer`* `[clear [number | -merged | -all] | move number | merge number | unmerge [number] | close [n1[-n2]] | list | notify level | localvar | set property value | get property | number | name]`::
........................................
Buffer verwalten
clear: leert den Bufferinhalt. Entweder durch Angabe der Buffer-Nummer, -merged für zusammengefügte Buffer, -all für alle Buffer. Ohne Angabe eines Arguments wird der aktuelle Buffer gelöscht
move: Buffer in der Liste verschieben (kann auch relativ sein, z.B. -1)
merge: fĂĽgt den aktuellen Buffer mit einem anderen Buffer zusammen (bei einem Chat-Buffer entsteht ein Mix aus beiden Buffern
(Bei der Standardtastenbelegung kann mittels "CTRL-x" zwischen zusammengefĂĽgten Buffern umgeschaltet werden)
unmerge: trennt Buffer wieder voneinander, falls zwei Buffer die selbe Nummer teilen
close: Buffer schlieĂźen (Nummer oder Bereich ist optional)
list: alle geöffneten Buffer werden aufgelistet (Standardvorgabe)
notify: setzt Benachrichtigung-Status für aktuellen Buffer. Folgende Möglichkeiten bestimmen den Grad der Benachrichtigung:
none: keine Benachrichtigung
highlight: Benachrichtigung bei hervorgehobenen Nachrichten (Highlights)
message: Benachrichtigung bei Nachrichten von Usern + Highlights
all: Benachrichtigung bei allen Nachrichten
reset: auf Standardwert zurĂĽck setzen (all)
localvar: zeigt die lokalen Variablen fĂĽr den aktuellen Buffer an
set: setzt eine Eigenschaft fĂĽr aktuellen Buffer
get: zeigt eine Eigenschaft fĂĽr den aktuellen Buffer an
number: Sprung von einem Buffer zu einem anderen, mögliche Optionen:
'+': relativer Sprung um 'n'-Buffer
'-': relativer Sprung, um 'n'-Buffer
'*': springt zum Buffer mit der Nummer 'n', nutzt die interne Option "weechat.look.jump_current_to_previous_buffer"
name: springt zum Buffer mit dem Namen 'xyz'
Beispiele:
leert den aktuellen Buffer:
/buffer clear
verschiebt Buffer auf Position 5:
/buffer move 5
verbindet Buffer mit dem Core-Buffer:
/buffer merge 1
trennt Buffer voneinander:
/buffer unmerge
schlieĂźt aktuellen Buffer:
/buffer close
schlieĂźt Buffer 5 bis 7:
/buffer close 5-7
wechselt zum Buffer: #weechat:
/buffer #weechat
wechselt zum nächsten Buffer:
/buffer +1
........................................
&bull; *`/color`* `[add pair [alias] [fg,bg]] | [del pair] | switch`::
........................................
erstellt benutzerdefinierte Farben und stellt die Farbpalette dar
add: fĂĽgt ein Farbpaar hinzu
del: entfernt ein Farbpaar
switch: wechselt die Farben von WeeChat/Terminal
pair: Wert fĂĽr Farbpaar (>= 1)
alias: Alias fĂĽr Farbe (zum Beispiel: "orange")
fg,bg: Vordergrund- und Hintergrundfarbe (-1 setzt fĂĽr den Vorder- oder Hintergrund die standard Terminalfarbe)
Ohne Angabe von Argumenten öffnet der Befehl einen neuen Buffer, in welchem die Farbpalette dargestellt wird.
Beispiele:
fĂĽgt die Farbe 214 mit dem Alias "orange" hinzu:
/color add 214 orange
fĂĽgt die Farbe 250 mit dem Alias Orange auf Blau hinzu:
/color add 250 214,4 orange_blau
löscht die Farbe 214:
/color del 214
........................................
&bull; *`/command`* `Erweiterungs-Befehl`::
........................................
fĂĽhre explizit einen WeeChat Befehl oder eine Erweiterung aus
Erweiterung: Name der Erweiterung ('weechat' fĂĽr interne WeeChat Befehle)
Befehl: auszufĂĽhrender Befehl (es wird automatisch ein '/' vorangestellt, falls dieser nicht angegeben wurde)
........................................
&bull; *`/debug`* `[list | set plugin level | dump [plugin] | buffer | windows | term]`::
........................................
Debug-Kontrolle fĂĽr Hauptprogramm und/oder Erweiterung
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)
dump: Speicherabbild in die WeeChat Protokolldatei schreiben (wie bei einem Programmabsturz)
buffer: speichert den Bufferinhalt als hexadezimale Ausgabe in die Protokolldatei
windows: zeigt die Fensterstruktur an
term: gibt Informationen ĂĽber das Terminal und verfĂĽgbare Farben aus.
........................................
&bull; *`/filter`* `[list] | [enable|disable|toggle [name]] | [add name plugin.buffer tags regex] | [del name|-all]`::
........................................
Filterfunktion um Nachrichten in Buffern zu verbergen oder anzuzeigen, dazu können Tags oder regulären Ausdrücken verwendet werden
list: alle Filter auflisten
enable: Filter aktivieren (Filter werden standardmässig aktiviert)
disable: Filter deaktivieren
toggle: Filter de-/aktivieren
name: Name des Filters
add: Filter hinzufĂĽgen
del: Filter entfernen
-all: entfernt alle Filter
plugin.buffer: Erweiterungen und Buffer in denen die Filterfunktion aktiviert ist ("*" fĂĽr alle Buffer)
tags: durch Kommata getrennte Liste mit Tags. Zum Beispiel: "irc_join,irc_part,irc_quit"
regex: regulärer Ausdruck um in einer Zeile zu suchen
- das Präfix wird mittels '\t' von der Nachricht getrennt. Sonderzeichen wie '|' müssen mit einer Escapesequenz : '\|' eingebunden werden)
- wird ein regulärer Ausdruck mit '!' eingeleitet dann wird das übereinstimmende Ergebnis umgekehrt (nutze '\!' um mit '!' zu beginnen)
Hinweis: Es werden zwei reguläre Ausdrücke erstellt. Der erste für den Präfix und der zweite für die Nachricht
Die Tastenvoreinstellung alt+'=' schaltet die Filterfunktion an/aus.
Die am häufigsten gebrauchten Tags lauten:
no_filter, no_highlight, no_log, log0..log9 (log Level),
notify_message, notify_private, notify_highlight,
nick_xxx (xxx ist durch den Nicknamen zu ersetzen),
irc_xxx (xxx ist durch einen IRC Befehl oder die IRC Nummer zu ersetzen, siehe /server raw)
irc_numeric, irc_error, irc_action, irc_ctcp, irc_ctcp_reply, irc_smart_filter, away_info.
Beispiele:
aktiviert einen einfachen IRC Filter fĂĽr join/part/quit Nachrichten:
/filter add irc_smart * irc_smart_filter *
filtert alle IRC join/part/quit Nachrichten:
/filter add joinquit * irc_join,irc_part,irc_quit *
filtert Nicks wenn diese den Channel betreten oder durch den Befehl "/names:" angezeigt werden:
/filter add nicks * irc_366 *
filtert Nick "toto" im IRC Channel #weechat:
/filter add toto irc.freenode.#weechat * toto\t
nur der Nick "tutu" wird im IRC Channel #test angezeigt:
/filter add tutu irc.freenode.#test * !tutu\t
filtert Zeilen die das Wort "spam" enthalten:
/filter add filterspam * * spam
filtert Zeilen die "weechat sucks" im IRC Channel #weechat enthalten:
/filter add sucks irc.freenode.#weechat * weechat sucks
........................................
&bull; *`/help`* `[command | option]`::
........................................
Zeigt eine Hilfe fĂĽr Befehle und Optionen an
command: Name des Befehls
option: Name der Option (verwende /set um eine Liste der Optionen anzuzeigen)
........................................
&bull; *`/history`* `[clear | value]`::
........................................
Zeigt den Befehlsverlauf des Buffers
clear: löscht den Befehlsverlauf
value: Anzahl der gewünschten Einträgen im Befehlsverlauf anzeigen
........................................
&bull; *`/input`* `return | complete_next | complete_previous | search_next | delete_previous_char | delete_next_char | delete_previous_word | delete_next_word | delete_beginning_of_line | delete_end_of_line | delete_line | clipboard_paste | transpose_chars | undo | redo | move_beginning_of_line | move_end_of_line | move_previous_char | move_next_char | move_previous_word | move_next_word | history_previous | history_next | history_global_previous | history_global_next | jump_smart | jump_last_buffer | jump_previously_visited_buffer | jump_next_visited_buffer | hotlist_clear | grab_key | grab_key_command | scroll_unread | set_unread | set_unread_current_buffer | switch_active_buffer | switch_active_buffer_previous | insert [args]`::
........................................
Funktionen fĂĽr die Befehlszeile
Dieser Befehl wird von Tastenbelegungen oder Erweiterungen verwendet
........................................
&bull; *`/key`* `[list | listdefault | listdiff] | [bind key [command [args]]] | [unbind key] | [reset key] | [resetall -yes] | [missing]`::
........................................
Einer Taste einen Befehl zuordnen oder entfernen
list: zeigt die aktuelle Tastenbelegungen an (Standardaufruf)
listdefault: zeigt die Standardeinstellung der Tastenbelegung an
listdiff: zeigt die Unterschiede zwischen der aktuell genutzten Tastaturbelegung und der Standardbelegung an (hinzugefügte/verändert/gelöschte Tastenbelegungen)
bind: belegt eine Taste mit einem Befehl oder zeigt an welcher Befehl auf eine Taste gelegt wurde
unbind: hebt eine Tastenbelegung auf
reset: die Tastenbelegung wird für die ausgewählte Taste auf die Standardeinstellung zurück gesetzt
resetall: die Tastenbelegung wird auf die Standardeinstellungen zurück gesetzt. Dies löscht ALLE persönlichen Tastenbelegungen (Vorsicht!)
missing: fĂĽgt fehlende Tastenbelegungen hinzu (dazu wird die Standardbelegung genutzt). Dies kann sinnvoll sein wenn man auf eine neue WeeChat Version umgestiegen ist
Falls einer Taste ein Befehl zugeordnet werden soll ist es ratsam dies mittels alt+k (oder Esc und k) zu machen um dann die Taste auszuwählen, die belegt werden soll. Durch diesen Schritt wird der entsprechende Tasten-Code in die Befehlszeile übernommen.
Beispiele:
Mit der Tastenkombination "alt-x" kann die Nicklist-Bar an-und aus geschaltet werden:
/key bind meta-x /bar toggle nicklist
Mit der Tastenkombination "alt-r" wird direkt zum IRC #weechat Buffer gewechselt:
/key bind meta-r /buffer #weechat
Die Tastenkombination "alt-r" wird auf die Standardfunktion zurĂĽckgesetzt:
/key reset meta-r
........................................
&bull; *`/layout`* `[[save | apply | reset] [buffers | windows]]`::
........................................
Layout fĂĽr Buffer und Fenster speichern, anwenden oder zurĂĽcksetzen
save: speichert das aktuelle Layout
apply: das gespeicherte Layout anwenden
reset: das gespeicherte Layout entfernen
buffers: speichert/verwendet nur Buffer (Reihenfolge der Buffer)
windows: speichert/verwendet nur Fenster (Buffer welche im jeweiligen Fenster dargestellt werden)
Wird der Befehl ohne Argumente aufgerufen wird das gespeicherte Layout dargestellt.
........................................
&bull; *`/mute`* `[-current | -buffer name | -all] command`::
........................................
FĂĽhrt einen Befehl ohne Textausgabe aus
-current: Ausgabe im aktuellen Buffer wird unterdrĂĽckt
-buffer: Ausgabe im ausgewählten Buffer wird unterdrückt
name: vollständiger Buffername (Beispiel: "irc.server.freenode", "irc.freenode.#weechat")
-all: Ausgabe wird in ALLEN Buffern unterdrĂĽckt
command: Ein Befehl der ohne Textausgabe ausgeführt werden soll (das Präfix, '/', wird automatisch hinzugefügt, falls es dem Befehl nicht vorangestellt wurde)
Wird kein Buffer ausgewählt (-current, -buffer oder -all), dann wird lediglich die Textausgabe im WeeChat Core Buffer unterdrückt.
Beispiele:
Speichern der Konfiguration:
/mute save
Nachricht in den aktuellen Channel senden:
/mute -current msg * hi!
Nachricht an den #weechat Channel senden:
/mute -buffer irc.freenode.#weechat msg #weechat hi!
........................................
&bull; *`/plugin`* `[list [Name]] | [listfull [Name]] | [load Dateiname] | [autoload] | [reload [Name]] | [unload [Name]]`::
........................................
Erweiterungen verwalten (auflisten/installieren/deinstallieren)
list: installierte Erweiterungen werden aufgelistet
listfull: detaillierte Auflistung aller installierten Erweiterungen
load: installiert eine Erweiterung
autoload: installiert automatisch alle Erweiterungen aus System- oder Benutzerverzeichnis
reload: installiert eine Erweiterung erneut (falls kein Name angegeben wird, werden alle Erweiterungen entfernt und dann neu installiert)
unload: deinstalliere eine oder alle Erweiterungen
Ohne Angabe eines Argumentes listet /plugin alle geladenen Erweiterungen auf.
........................................
&bull; *`/proxy`* `[add proxyname type address port [username [password]]] | [del proxyname|-all] | [set proxyname option value] | [list]`::
........................................
Proxies verwalten
add: fĂĽgt neuen Proxy hinzu
proxyname: Name des neuen Proxy (der Name darf nur einmal genutzt werden)
type: http, socks4 oder socks5
address: IP oder Hostname
port: Port
username: Username (optional)
password: Passwort (optional)
del: entfernt einen Proxy (-all um alle Proxies zu entfernen)
set: setzt einen Wert fĂĽr Proxy
option: Optionen die geändert werden (für eine Liste der möglichen Optionen, bitte folgenden Befehl nutzen: /set weechat.proxy.<proxyname>.*)
value: neuer Wert fĂĽr Option
list: listet alle Proxies auf
Beispiele:
erstellt einen HTTP-Proxy, der auf einem lokalen Host läuft und den Port 8888 nutzt:
/proxy add local http 127.0.0.1 8888
erstellt einen HTTP-Proxy der das IPv6 Protokoll nutzt:
/proxy add local http 127.0.0.1 8888
/proxy set local ipv6 on
erstellt einen socks5-Proxy, mit Username und Passwort:
/proxy add myproxy socks5 sample.host.org 3128 myuser mypass
entferne einen Proxy:
/proxy del myproxy
........................................
&bull; *`/quit`* `[-yes] [arguments]`::
........................................
WeeChat beenden
-yes: Option muĂź genutzt werden falls weechat.look.confirm_quit aktiviert sein sollte
arguments: Text der beim Signal "quit" verschickt wird
(zum Beispiel sendet die IRC Erweiterung diesen Text als Quit-Nachricht an den Server)
........................................
&bull; *`/reload`* `[Datei [Datei...]]`::
........................................
Konfiguration neu laden
Datei: Konfigurationsdatei die erneut geladen werden soll
wird keine Datei angegeben, werden alle Konfigurationen (WeeChat und Erweiterungen) neu geladen.
........................................
&bull; *`/save`* `[Datei [Datei...]]`::
........................................
Konfiguration abspeichern
Datei: Konfigurationsdatei die gesichert werden soll
sollte keine Datei angegeben werden, dann werden alle Konfigurationen (WeeChat und Erweiterungen) gesichert.
........................................
&bull; *`/set`* `[Option [Wert]]`::
........................................
Konfigurationsparameter setzen
option: Name der zu ändernden Option
value: neuer Wert, den die Option erhalten soll
Abhängig von der ausgewählten Option, kann die Variable folgenden Inhalt haben:
boolean: on, off oder toggle
integer: Anzahl, ++Anzahl oder --Anzahl
string : jede Zeichenkette ("" fĂĽr eine leere Zeichenkette)
color : Name einer Farbe, ++Anzahl oder --Anzahl
Für alle Typen von Variablen kann die Zeichenkette "null" (ohne "") genutzt werden um den Wert der Option zu löschen (undefinierter Wert). Dies kann nur bei einigen Erweiterungen genutzt werden.
........................................
&bull; *`/unset`* `[Option]`::
........................................
Konfigurationsparameter freigeben/zurĂĽcksetzen
Option: Name einer Option (darf mit Joker ("*") beginnen oder enden um viele Optionen zu resetten. Nutzen Sie diese Funktion mit viel Sorgfalt!)
Gemäß der jeweiligen Option wird diese resettet (bei Standard-Optionen) oder komplett entfernt (bei optionalen Einstellungen, wie zum Beispiel bei der Server-Einstellung).
........................................
&bull; *`/upgrade`* `[Pfad_zur_Binärdatei]`::
........................................
Aktualisiert WeeChat ohne die Verbindung zum Server zu trennen
Pfad_zur_Binärdatei: Pfad zu einer ausführbaren WeeChat Version (Standardeinstellung ist die aktuell ausführbare Datei)
Dieser Befehl startet eine weitere WeeChat-Binärdatei. Aus diesem Grund muss diese kompiliert oder mit einem Paketmanager installiert sein bevor der Befehl ausgeführt wird.
Der Upgrade Vorgang besteht aus vier Schritten:
1. Speicherung der Session in Dateien fĂĽr Core und Erweiterungen (buffers, history, ..)
2. alle Erweiterungen werden ausgeschaltet (Konfigurationen *.conf werden gesichert)
3. Speicherung der WeeChat Konfiguration (weechat.conf)
4. ausfĂĽhren einer neuen WeeChat Session.
........................................
&bull; *`/uptime`* `[-o | -ol]`::
........................................
Zeigt die Uptime von Weechat an
-o: sendet die WeeChat Laufzeit in den aktuellen Buffer (englisch)
-ol: sendet die WeeChat Laufzeit in den aktuellen Buffer (in der voreingestellten Landessprache)
........................................
&bull; *`/version`* `[-o | -ol]`::
........................................
Zeigt die WeeChat-Version und das Datum der Kompilierung an
-o: sendet die WeeChat Version in den aktuellen Buffer (englisch)
-ol: sendet die WeeChat Version in den aktuellen Buffer (in der Voreingestellten Landessprache)
........................................
&bull; *`/wait`* `Zeit[Einheit] Befehl`::
........................................
Terminiere einen Befehl der ausgefĂĽhrt werden soll
Zeit: die Zeit, die gewartet werden soll (dies muss eine natĂĽrlich Zahl sein)
Einheit: mögliche Werte (optional):
ms: Millisekunden
s: Sekunden (Vorgabewert)
m: Minuten
h: Stunden
Befehl: Befehl der ausgefĂĽhrt werden soll (ohne das fĂĽhrende '/') oder ein Text der in dem Buffer ausgegeben werden soll
Hinweis: Der Befehl der zeit verzögert gestartet werden soll wird in dem Buffer ausgeführt in dem der /wait Befehl aufgerufen wurde. Falls dieser Buffer nicht gefunden werden sollte, z.B. weil er in der Zwischenzeit geschlossen wurde, wird der Befehl im WeeChat Core-Buffer ausgeführt.
Beispiele:
Betritt nach 10 Sekunden den Channel #test:
/wait 10 /join #test
Setzt nach 15 Minuten eine globale Abwesenheit:
/wait 15m /away -all Bin dann mal eben weg
Versendet nach zwei Minuten den Text 'Hallo':
/wait 2m Hallo
........................................
&bull; *`/window`* `[list | -1 | +1 | b# | up | down | left | right | splith [pct] | splitv [pct] | resize pct | merge [all] | page_up | page_down | refresh | scroll | scroll_up | scroll_down | scroll_top | scroll_bottom | scroll_previous_highlight | scroll_next_highlight | zoom]`::
........................................
Fenster verwalten
list: listet die geöffneten Fenster (ohne Angabe von Parametern wird diese Funktion aufgerufen)
-1: springt zum vorherigen Fenster
+1: springt zum nächsten Fenster
b#: springt zum nächsten Fenster, welches die Buffer Nummer # besitzt
up: wechselt zum Fenster ĂĽber dem aktuellen
down: wechselt zum Fenster unter dem aktuellen
left: wechselt zum linken Fenster
right: wechselt zum rechten Fenster
splith: teilt das aktuelle Fenster horizontal
splitv: teilt das aktuelle Fenster vertikal
resize: verändert die Größe des aktuellen Fensters. Die neue Größe des Fensters ist prozentual <pct> zum Stammfensters groß
merge: vereinigt Fenster miteinander (all = alle Fenster vereinigen)
page_up: Scrollt eine Seite nach oben
page_down: Scrollt eine Seite nach unten
refresh: Seite wird neu aufgebaut
scroll: Scrollt eine Anzahl an Zeilen (+/-N) oder zu einer gewissen Zeit: s=Sekunden, m=Minuten, h=Stunden, d=Tage, M=Monate, y=Jahre
scroll_up: Scrollt ein paar Zeilen nach oben
scroll_down: Scrollt ein paar Zeilen nach unten
scroll_top: Scrollt zum Anfang des Buffers
scroll_bottom: Scrollt zum Ende des Buffers
scroll_previous_highlight: Scrollt zum vorherigen Hightlight
scroll_next_highlight: Scrollt zum nächsten Highlight
zoom: vergrößert auf Fenster
Bei splith und splitv gibt "pct" die neue Größe des Fensters im Verhältnis zur aktuellen Größe an. Zum Beispiel würde der Wert 25 bedeuten, dass das neue Fenster nur noch ein Viertel der Größe des alten Fensters hat.
Beispiele:
Springt zum Fenster mit dem Buffer #1:
/window b1
Scrollt zwei Zeilen hoch:
/window scroll -2
Scrollt zwei Tage hoch: /window scroll -2d
/window scroll -2d
Scrollt zum Beginn des aktuellen Tages:
/window scroll -d
........................................
+595
View File
@@ -0,0 +1,595 @@
* *weechat.color.bar_more*
** Beschreibung: `Farbe des '+' beim verschieben der InfoBars`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `lightmagenta`)
* *weechat.color.chat*
** Beschreibung: `Farbe vom Chat-Text`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `default`)
* *weechat.color.chat_bg*
** Beschreibung: `Hintergrundfarbe des Chats`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `default`)
* *weechat.color.chat_buffer*
** Beschreibung: `Textfarbe fĂĽr den Namen des Buffers`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `white`)
* *weechat.color.chat_channel*
** Beschreibung: `Farbe der Channel-Namens`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `white`)
* *weechat.color.chat_delimiters*
** Beschreibung: `Farbe der Infobar-Trennzeichen`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `green`)
* *weechat.color.chat_highlight*
** Beschreibung: `Textfarbe für Highlight-Präfix`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `yellow`)
* *weechat.color.chat_highlight_bg*
** Beschreibung: `Hintergrundfarbe für Highlight-Präfix`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `magenta`)
* *weechat.color.chat_host*
** Beschreibung: `Textfarbe fĂĽr Host-Namen`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `cyan`)
* *weechat.color.chat_nick*
** Beschreibung: `Farbe fĂĽr Nicks im Chat-Fenster`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `lightcyan`)
* *weechat.color.chat_nick_colors*
** Beschreibung: `Textfarbe fĂĽr Nicks (durch Kommata getrennte Liste von Farben)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"cyan,magenta,green,brown,lightblue,default,lightcyan,lightmagenta,lightgreen,blue"`)
* *weechat.color.chat_nick_other*
** Beschreibung: `Farbe des anderen Nicknamens in einem privaten Buffer`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `cyan`)
* *weechat.color.chat_nick_self*
** Beschreibung: `Textfarbe fĂĽr den eigenen Nicknamen, im lokalen Chat-Fenster.`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `white`)
* *weechat.color.chat_prefix_action*
** Beschreibung: `Textfarbe für Aktions-Präfix`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `white`)
* *weechat.color.chat_prefix_buffer*
** Beschreibung: `Textfarbe des Buffer-Namens (vor dem Präfix, wenn mehrere Buffer mit der selben Zahl zusammengefügt worden sind)`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `brown`)
* *weechat.color.chat_prefix_error*
** Beschreibung: `Textfarbe für Fehler-Präfix`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `yellow`)
* *weechat.color.chat_prefix_join*
** Beschreibung: `Textfarbe für Join-Präfix`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `lightgreen`)
* *weechat.color.chat_prefix_more*
** Beschreibung: `Farbe des '+' falls Präfix zu lang sein sollte`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `lightmagenta`)
* *weechat.color.chat_prefix_network*
** Beschreibung: `Textfarbe für Netzwerk-Präfix`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `magenta`)
* *weechat.color.chat_prefix_quit*
** Beschreibung: `Textfarbe für Quit-Präfix`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `lightred`)
* *weechat.color.chat_prefix_suffix*
** Beschreibung: `Textfarbe fĂĽr den Suffix (senkrechter Strich)`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `green`)
* *weechat.color.chat_read_marker*
** Beschreibung: `Farbe in der das Lesezeichen angezeigt werden soll`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `magenta`)
* *weechat.color.chat_read_marker_bg*
** Beschreibung: `Hintergrundfarbe in der das Lesezeichen angezeigt werden soll`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `default`)
* *weechat.color.chat_server*
** Beschreibung: `Textfarbe fĂĽr den Namen des Servers`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `brown`)
* *weechat.color.chat_text_found*
** Beschreibung: `Farbe zur Hervorhebung des gesuchten Textes in einer Zeile`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `yellow`)
* *weechat.color.chat_text_found_bg*
** Beschreibung: `Hintergrundfarbe zur Hervorhebung des gesuchten Textes in einer Zeile`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `lightmagenta`)
* *weechat.color.chat_time*
** Beschreibung: `Textfarbe der Zeit im Chatfenster`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `default`)
* *weechat.color.chat_time_delimiters*
** Beschreibung: `Farbe des Zeit-Trennzeichen`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `brown`)
* *weechat.color.chat_value*
** Beschreibung: `Farbe fĂĽr Werte`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `cyan`)
* *weechat.color.input_actions*
** Beschreibung: `Textfarbe in der Eingabezeile bei Aktivität`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `lightgreen`)
* *weechat.color.input_text_not_found*
** Beschreibung: `Textfarbe in der Eingabezeile bei einer erfolglosen Textsuche `
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `red`)
* *weechat.color.nicklist_away*
** Beschreibung: `Textfarbe von abwesenden Nicknamen`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `cyan`)
* *weechat.color.nicklist_group*
** Beschreibung: `Textfarbe fĂĽr Gruppen in Nickliste`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `green`)
* *weechat.color.nicklist_offline*
** Beschreibung: `Textfarbe von Nicknamen die Offline sind`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `blue`)
* *weechat.color.separator*
** Beschreibung: `Hintergrundfarbe der Fenster-Separatoren im Chatfenster (bei geteiltem Bildschirm)`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `blue`)
* *weechat.color.status_data_highlight*
** Beschreibung: `Farbe eines Buffers mit Highlight-Nachricht (Statusbar)`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `lightmagenta`)
* *weechat.color.status_data_msg*
** Beschreibung: `Farbe eines Buffers der neue Nachrichten enthält (Statusbar)`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `yellow`)
* *weechat.color.status_data_other*
** Beschreibung: `Farbe eines Buffers mit neuen Daten (nicht Nachrichten in der Statusbar)`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `default`)
* *weechat.color.status_data_private*
** Beschreibung: `Farbe eines Bufffers mit privater Nachricht (Statusbar)`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `lightgreen`)
* *weechat.color.status_filter*
** Beschreibung: `Farbe des Filterkennzeichens in der Statuszeile`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `green`)
* *weechat.color.status_more*
** Beschreibung: `Farbe eines Buffers mit neuen Daten (Statusbar)`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `yellow`)
* *weechat.color.status_name*
** Beschreibung: `Farbe des aktuellen Buffer-Namens in der Statuszeile`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `white`)
* *weechat.color.status_name_ssl*
** Beschreibung: `Farbe in der der aktuelle Buffer-Name in der Statuszeile angezeigt werden soll falls die Verbindung durch ein Protokoll z.B. SSL geschĂĽtzt ist`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `lightgreen`)
* *weechat.color.status_number*
** Beschreibung: `Farbe des aktuellen Channels in der Statuszeile`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `yellow`)
* *weechat.color.status_time*
** Beschreibung: `Textfarbe fĂĽr die Uhrzeit (Statusbar)`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `default`)
* *weechat.completion.default_template*
** Beschreibung: `Standardvorlage für die automatische Vervollständigung (in der Dokumentation finden Sie die vorgegebenen Codes und Werte)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"%(nicks)|%(irc_channels)"`)
* *weechat.completion.nick_add_space*
** Beschreibung: `Füge ein Leerzeichen hinter die Nick-Vervollständigung ein (sofern der Nickname nicht das erste Wort in einer Kommandozeile darstellt)`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *weechat.completion.nick_completer*
** Beschreibung: `Nach Nick-Vervollständigung anzufügende Zeichenfolge`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `":"`)
* *weechat.completion.nick_first_only*
** Beschreibung: `Nur mit dem ersten, passendem Nick-Namen vervollständigen`
** Typ: boolesch
** Werte: on, off (Standardwert: `off`)
* *weechat.completion.nick_ignore_chars*
** Beschreibung: `Zeichen, die bei der Vervollständigung von Nicks ignoriert werden`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"[]-^"`)
* *weechat.completion.partial_completion_alert*
** Beschreibung: `Informiert User wenn eine teilweise Vervollständigung auftritt`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *weechat.completion.partial_completion_command*
** Beschreibung: `teilweise Vervollständigung von Befehlen (stoppt falls zu viele Befehle mit dem selben Buchstaben beginnen)`
** Typ: boolesch
** Werte: on, off (Standardwert: `off`)
* *weechat.completion.partial_completion_command_arg*
** Beschreibung: `teilweise Vervollständigung von Befehls-Argumenten (stoppt falls zu viele Befehle mit dem selben Präfix beginnen)`
** Typ: boolesch
** Werte: on, off (Standardwert: `off`)
* *weechat.completion.partial_completion_count*
** Beschreibung: `Zeigt bei einer teilweisen Vervollständigung die Anzahl der jeweiligen Möglichkeiten in der Bar-Item an`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *weechat.completion.partial_completion_other*
** Beschreibung: `teilweise Vervollständigung von externen Befehlen (stoppt falls zu viele Befehle mit dem selben Buchstaben beginnen)`
** Typ: boolesch
** Werte: on, off (Standardwert: `off`)
* *weechat.history.display_default*
** Beschreibung: `Wert fĂĽr die maximale Anzahl der angezeigten Befehle im Verlaufsspeicher, die mittels /history angezeigt werden (0: unbegrenzt)`
** Typ: integer
** Werte: 0 .. 2147483647 (Standardwert: `5`)
* *weechat.history.max_commands*
** Beschreibung: `maximale Anzahl an Befehlen im Verlauf (0: kein Begrenzung)`
** Typ: integer
** Werte: 0 .. 2147483647 (Standardwert: `100`)
* *weechat.history.max_lines*
** Beschreibung: `maximale Anzahl an Zeilen im Verlaufsspeicher. Dies gilt pro Buffer (0: keine Zeilenbegrenzung)`
** Typ: integer
** Werte: 0 .. 2147483647 (Standardwert: `4096`)
* *weechat.history.max_visited_buffers*
** Beschreibung: `maximale Anzahl an besuchten Buffern welche im Speicher gehalten werden sollen`
** Typ: integer
** Werte: 0 .. 1000 (Standardwert: `50`)
* *weechat.look.align_end_of_lines*
** Beschreibung: `Einstellung bei einem Zeilenumbruch (betrifft alle Zeilen, außer der ersten Zeile). Die Darstellung der nachfolgenden Zeile beginnt unter: (Zeit = time, Buffer = buffer, Präfix = prefix, Suffix = suffix, Nachricht = message (Standardwert))`
** Typ: integer
** Werte: time, buffer, prefix, suffix, message (Standardwert: `message`)
* *weechat.look.buffer_notify_default*
** Beschreibung: `Standardeinstellung der Benachrichtigungsstufe fĂĽr Buffer (dies wird genutzt um WeeChat mitzuteilen ob der Buffer in der Hotlist angezeigt werden soll oder nicht, entsprechend der Wichtigkeit der Nachricht): all=alle Nachrichten (Standard), message=Nachrichten+Highlights, highlights=nur Highlights, none=Hotlist wird niemals angezeigt.`
** Typ: integer
** Werte: none, highlight, message, all (Standardwert: `all`)
* *weechat.look.buffer_time_format*
** Beschreibung: `Format für die Zeitanzeige welche in jeder Zeile eines Buffers dargestellt wird (siehe man strftime für Datum/Zeit Platzhalter). Durch das Format "${Farbe}" ist es möglich eine Farbauswahl zu treffen, zum Beispiel eine französische Uhr: "${lightblue}%H${white}%M${lightred}%S"`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"%H:%M:%S"`)
* *weechat.look.color_real_white*
** Beschreibung: `Falls diese Option aktiviert ist, wird echtes weiĂź als Farbe genutzt. In der Standardeinstellung ist diese Option allerdings deaktiviert damit es zu keinen Problemen mit Terminals kommt die einen weiĂźen Hintergrund nutzen (falls man keinen weiĂźen Hintergrund nutzen sollte dann ist es ratsam diese Option zu aktivieren, andernfalls wird die voreingestellte Vordergrundfarbe des Terminals genutzt)`
** Typ: boolesch
** Werte: on, off (Standardwert: `off`)
* *weechat.look.command_chars*
** Beschreibung: `Bestimmt ein- oder mehrere Zeichen mit denen man ebenfalls einen Befehl ausführen kann. Zum Beispiel mittels ".$". Der Schrägstrich (slash: "/") ist ein reserviertes Zeichen und kann immer genutzt werden.`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
* *weechat.look.confirm_quit*
** Beschreibung: `Falls diese Option aktiviert ist muss der "/quit" Befehl mit der Option "-yes" ausgefĂĽhrt werden (siehe /help quit)`
** Typ: boolesch
** Werte: on, off (Standardwert: `off`)
* *weechat.look.day_change*
** Beschreibung: `Wenn ein neuer Tag beginnt wird eine entsprechende Nachricht angezeigt`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *weechat.look.day_change_time_format*
** Beschreibung: `Format fĂĽr die Uhrzeit und das Datum, dass beim Datumswechsel angezeigt werden soll`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"%a, %d %b %Y"`)
* *weechat.look.highlight*
** Beschreibung: `Durch Kommata getrennte Liste der hervorzuhebenden Wörter (Groß-/Kleinschreibung wird nicht beachtet, die Wörter können mit "*" als Joker beginnen oder enden)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
* *weechat.look.highlight_regex*
** Beschreibung: `Suchmuster (regulärer Ausdrück) dass genutzt werden soll um zu überprüfen ob eine Nachricht ein Highlight enthält oder nicht. Mindestens eine Zeichenkette muss dabei auf das Suchmuster passen (alphanumerisch, "-", "_" oder "|"), das Suchmuster unterscheidet zwischen Groß-und Kleinschreibung. Beispiel: "FlashCode|flashy"`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
* *weechat.look.hline_char*
** Beschreibung: `Das angegebene Zeichen wird genutzt um damit die horizontalen Linien zu zeichnen. Hinweis: Ein leerer Wert bewirkt das ncurses eine durchgezogene Linie zeichnet. Dies kann aber bei einigen Terminals, in URL Sektionen, zu Fehlern fĂĽhren.`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"-"`)
* *weechat.look.hotlist_names_count*
** Beschreibung: `Maximale Anzahl an Namen in der Hotlist (0 = keine Namen, nur die Anzahl der Buffer)`
** Typ: integer
** Werte: 0 .. 32 (Standardwert: `3`)
* *weechat.look.hotlist_names_length*
** Beschreibung: `maximale Länge der Namen in der Hotlist (0: kein Limit)`
** Typ: integer
** Werte: 0 .. 32 (Standardwert: `0`)
* *weechat.look.hotlist_names_level*
** Beschreibung: `Level fĂĽr Namensanzeige in der Hotlist (Kombination aus: 1=join/part, 2=Nachricht, 4=Query, 8=Highlight, z.B. 12=Query+Highlight)`
** Typ: integer
** Werte: 1 .. 15 (Standardwert: `12`)
* *weechat.look.hotlist_names_merged_buffers*
** Beschreibung: `Falls diese Option aktiviert ist, werden die Namen der zusammengefĂĽgten Buffer auf jeden Fall dargestellt`
** Typ: boolesch
** Werte: on, off (Standardwert: `off`)
* *weechat.look.hotlist_short_names*
** Beschreibung: `Falls diese Option aktiviert ist, wird der Kurzname der zusammengefĂĽgten Buffer in der Hotlist dargestellt (die Darstellung geschieht nach dem ersten '.' im Namen)`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *weechat.look.hotlist_sort*
** Beschreibung: `Sortierung der Hotlist (group_time_asc (Standardwert), group_time_desc, group_number_asc, group_number_desc, number_asc, number_desc)`
** Typ: integer
** Werte: group_time_asc, group_time_desc, group_number_asc, group_number_desc, number_asc, number_desc (Standardwert: `group_time_asc`)
* *weechat.look.hotlist_unique_numbers*
** Beschreibung: `Es wird nur jeweils einmal die Nummer des Buffers in der Hotlist angezeigt (diese Option kommt nur zum Tragen sofern KEINE Buffernamen angezeigt werden)`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *weechat.look.input_share*
** Beschreibung: `Mit dieser Option kann man den Inhalt der Eingabezeile in allen Buffern verwenden. Es können dabei nur Befehle (commands), nur Text (text), beides (all) berücksichtigt werden (Der Befehlsverlauf der einzelnen Buffer bleibt hierbei erhalten)`
** Typ: integer
** Werte: none, commands, text, all (Standardwert: `none`)
* *weechat.look.input_share_overwrite*
** Beschreibung: `Falls diese Option aktiviert ist und die Eingabezeile fĂĽr alle Buffer genutzt wird dann wird ggf. der Inhalt im Zielbuffer ĂĽberschrieben`
** Typ: boolesch
** Werte: on, off (Standardwert: `off`)
* *weechat.look.input_undo_max*
** Beschreibung: `maximale Anzahl für "Zurücknahme" von Befehlen im Verlauf, pro Buffer (0: Rückgängig machen deaktiviert)`
** Typ: integer
** Werte: 0 .. 65535 (Standardwert: `32`)
* *weechat.look.item_time_format*
** Beschreibung: `Format der Zeit fĂĽr das Bar-Item "time" (siehe man strftime fĂĽr Datum/Zeit Platzhalter)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"%H:%M"`)
* *weechat.look.jump_current_to_previous_buffer*
** Beschreibung: `Wechselt zum vorher genutzten Buffer falls man mit dem Befehl /buffer *N (N ist die Buffer-Nummer) zum aktuellen Buffer gewechselt hat. Dies dient dazu um zwischen zwei Buffern einfach hin- und her zu springen.`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *weechat.look.jump_previous_buffer_when_closing*
** Beschreibung: `Wechselt zum vorher genutzten Buffer falls der aktuelle Buffer geschlossen wird (wenn diese Funktion deaktiviert ist wird zum Buffer gewechselt der die Position -1 einnimmt)`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *weechat.look.nickmode*
** Beschreibung: `Nickmode ((half)op/voice [@%+]) vor dem Nicknamen anzeigen`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *weechat.look.nickmode_empty*
** Beschreibung: `Leerzeichen anzeigen wenn Nickmode nicht (half)op/voice (@%+) ist`
** Typ: boolesch
** Werte: on, off (Standardwert: `off`)
* *weechat.look.paste_max_lines*
** Beschreibung: `maximale Anzahl der Zeilen die eingefĂĽgt werden dĂĽrfen ohne dass der User gefragt wird (0 = schaltet diese Funktion ab)`
** Typ: integer
** Werte: 0 .. 2147483647 (Standardwert: `3`)
* *weechat.look.prefix_action*
** Beschreibung: `Präfix für Action-Nachrichten`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `" *"`)
* *weechat.look.prefix_align*
** Beschreibung: `Einstellung für Präfix (keine = none, links = left, rechts = right (Standard))`
** Typ: integer
** Werte: none, left, right (Standardwert: `right`)
* *weechat.look.prefix_align_max*
** Beschreibung: `maximale Größe des Präfix (0 = keine maximale Länge)`
** Typ: integer
** Werte: 0 .. 128 (Standardwert: `0`)
* *weechat.look.prefix_align_min*
** Beschreibung: `minimale Größe des Präfix`
** Typ: integer
** Werte: 0 .. 128 (Standardwert: `0`)
* *weechat.look.prefix_align_more*
** Beschreibung: `Anzeige von '+' falls das Präfix abgeschnitten ist`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *weechat.look.prefix_buffer_align*
** Beschreibung: `Einstellung des Präfix für den Buffer-Namen falls viele Buffer zu einem Buffer zusammengefügt wurden (keine = none, links = left, rechts = right (Standardwert))`
** Typ: integer
** Werte: none, left, right (Standardwert: `right`)
* *weechat.look.prefix_buffer_align_max*
** Beschreibung: `maximale Größe für einen Buffer-Namen falls mehrere Buffer zusammengefügt worden sind (0 = keine Größenbegrenzung)`
** Typ: integer
** Werte: 0 .. 128 (Standardwert: `0`)
* *weechat.look.prefix_buffer_align_more*
** Beschreibung: `Stellt das Symbol '+' dar falls der Buffername gekĂĽrzt wurde (wenn mehrere Buffer zusammengefĂĽgt wurden und diese somit die selbe Nummer besitzen)`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *weechat.look.prefix_error*
** Beschreibung: `Präfix für Fehlermeldungen`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"=!="`)
* *weechat.look.prefix_join*
** Beschreibung: `Präfix für Join-Nachrichten`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"-->"`)
* *weechat.look.prefix_network*
** Beschreibung: `Präfix für Netzwerkmeldungen`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"--"`)
* *weechat.look.prefix_quit*
** Beschreibung: `Präfix für Quit-Nachrichten`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"<--"`)
* *weechat.look.prefix_suffix*
** Beschreibung: `Nach dem Präfix anzufügende Zeichenfolge`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"|"`)
* *weechat.look.read_marker*
** Beschreibung: `Nutzt eine Linie oder ein Zeichen um die erste ungelesene Nachricht in einem Buffer zu markieren`
** Typ: integer
** Werte: none, line, dotted-line, char (Standardwert: `dotted-line`)
* *weechat.look.read_marker_always_show*
** Beschreibung: `Das Lesezeichen wird immer dargestellt auch wenn noch keine neue Nachricht im Buffer geschrieben wurde`
** Typ: boolesch
** Werte: on, off (Standardwert: `off`)
* *weechat.look.save_config_on_exit*
** Beschreibung: `Konfiguration beim Beenden abspeichern`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *weechat.look.save_layout_on_exit*
** Beschreibung: `Beim Beenden wird das Layout gespeichert (Buffer, Fenster oder beides)`
** Typ: integer
** Werte: none, buffers, windows, all (Standardwert: `none`)
* *weechat.look.scroll_amount*
** Beschreibung: `Anzahl der zu scrollenden Zeilen wenn Seitenweise geblättert wird (Bild hoch/runter)`
** Typ: integer
** Werte: 1 .. 2147483647 (Standardwert: `3`)
* *weechat.look.scroll_page_percent*
** Beschreibung: `Angabe in Prozent, die die Seite hoch oder runter gescrollt werden soll (Beispiel: 100 fĂĽr eine ganze Seite, 50 fĂĽr eine halbe Seite)`
** Typ: integer
** Werte: 1 .. 100 (Standardwert: `100`)
* *weechat.look.search_text_not_found_alert*
** Beschreibung: `Informiert den Anwender falls der gesuchte Text nicht in dem Buffer gefunden wurde`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *weechat.look.set_title*
** Beschreibung: `Fenstertitel setzen (oder Terminal-Titel im Curses-GUI) mit Name und Version`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *weechat.look.time_format*
** Beschreibung: `Zeitstempel fĂĽr das Datum. Dieser wird in eine Zeichenkette umgewandelt und in Nachrichten dargestellt.`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"%a, %d %b %Y %T"`)
* *weechat.network.gnutls_ca_file*
** Beschreibung: `Datei beinhaltet die digitalen Zertifikate ("%h" wird durch das WeeChat Verzeichnis ersetzt, Standardverzeichnis: "~/.weechat")`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"%h/ssl/CAs.pem"`)
* *weechat.network.gnutls_handshake_timeout*
** Beschreibung: `ZeitĂĽberschreitung (in Sekunden) fĂĽr gnutls handshake`
** Typ: integer
** Werte: 1 .. 2147483647 (Standardwert: `30`)
* *weechat.plugin.autoload*
** Beschreibung: `Eine durch Kommata getrennte Liste der Erweiterungen die beim Programmstart automatisch geladen werden sollen, "*" lädt alle gefundenen 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: `"*"`)
* *weechat.plugin.debug*
** Beschreibung: `aktiviere Debug-Nachrichten für alle Erweiterungen (diese Option ist standardmäßig deaktiviert und das ist auch gut so)`
** Typ: boolesch
** Werte: on, off (Standardwert: `off`)
* *weechat.plugin.extension*
** Beschreibung: `Standard Dateinamenserweiterung (Beispiel: ".so" unter Linux oder ".dll" unter Microsoft Windows)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `".so"`)
* *weechat.plugin.path*
** Beschreibung: `Suchpfad fĂĽr Erweiterungen ("%h"' wird durch das WeeChat-Basisverzeichnis ersetzt, voreingestellt ist "~/.weechat")`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"%h/plugins"`)
* *weechat.plugin.save_config_on_unload*
** Beschreibung: `Speichere Konfiguration falls Erweiterungen deinstalliert werden`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *weechat.startup.command_after_plugins*
** Beschreibung: `Nach dem Start von WeeChat wird dieser Befehl aufgerufen. Dies geschieht, nachdem die Erweiterungen geladen worden sind (mehrere Befehle sind durch ";" zu trennen)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
* *weechat.startup.command_before_plugins*
** Beschreibung: `Nach dem Start von WeeChat wird dieser Befehl aufgerufen. Dies geschieht, bevor die Erweiterungen geladen werden (mehrere Befehle sind durch ";" zu trennen)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
* *weechat.startup.display_logo*
** Beschreibung: `WeeChat-Logo beim Start anzeigen`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *weechat.startup.display_version*
** Beschreibung: `WeeChat-Version beim Start anzeigen`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
+19
View File
@@ -0,0 +1,19 @@
&bull; *`/me`* `Nachricht`::
........................................
Sendet CTCP Aktion an entfernten Host
Message: zu sendende Nachricht
........................................
&bull; *`/xfer`* `[list | listfull]`::
........................................
Transfer-Steuerung
list: zeigt Liste der Ăśbertragungen
listfull: zeigt eine ausfĂĽhrliche Liste der Ăśbertragungen
Ohne Angabe von Argumenten wird ein Buffer, mit Übertragungsliste, geöffnet.
........................................
+125
View File
@@ -0,0 +1,125 @@
* *xfer.color.status_aborted*
** Beschreibung: `Textfarbe fĂĽr Status: "abgebrochen"`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `lightred`)
* *xfer.color.status_active*
** Beschreibung: `Textfarbe fĂĽr Status: "aktiv"`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `lightblue`)
* *xfer.color.status_connecting*
** Beschreibung: `Textfarbe fĂĽr Status: "verbinde"`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `yellow`)
* *xfer.color.status_done*
** Beschreibung: `Textfarbe fĂĽr Status: "fertig"`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `lightgreen`)
* *xfer.color.status_failed*
** Beschreibung: `Textfarbe fĂĽr Status: "fehlgeschlagen"`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `lightred`)
* *xfer.color.status_waiting*
** Beschreibung: `Textfarbe fĂĽr Status: "wartend"`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `lightcyan`)
* *xfer.color.text*
** Beschreibung: `Textfarbe`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `default`)
* *xfer.color.text_bg*
** Beschreibung: `Hintergrundfarbe`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `default`)
* *xfer.color.text_selected*
** Beschreibung: `Farbe der selektierten Transfer-Zeile`
** Typ: Farbe
** Werte: ein Farbname (Standardwert: `white`)
* *xfer.file.auto_accept_chats*
** Beschreibung: `Die Annahme einer Chat-Anfrage wird automatisch akzeptiert (Vorsicht!)`
** Typ: boolesch
** Werte: on, off (Standardwert: `off`)
* *xfer.file.auto_accept_files*
** Beschreibung: `Die Annahme von Daten wird automatisch akzeptiert (Vorsicht!)`
** Typ: boolesch
** Werte: on, off (Standardwert: `off`)
* *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
** Werte: on, off (Standardwert: `on`)
* *xfer.file.auto_resume*
** Beschreibung: `Abgebrochene Ăśbertragungen automatisch fortsetzen, falls die Verbindung getrennt wurde`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *xfer.file.convert_spaces*
** Beschreibung: `Ein Leerzeichen wird in einen Unterstrich gewandelt wenn Daten versendet werden`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *xfer.file.download_path*
** Beschreibung: `Pfad in welchem die ankommenden Dateien gespeichert werden ("%h" wird durch das WeeChat Verzeichnis ersetzt, Standardverzeichnis: "~/.weechat")`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"%h/xfer"`)
* *xfer.file.upload_path*
** Beschreibung: `Pfad in welchem sich die Quelldatei befindet (falls vom Anwender kein Pfad angegeben wurde) ("%h" wird durch das WeeChat Verzeichnis ersetzt, Standardverzeichnis: "~/.weechat")`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"~"`)
* *xfer.file.use_nick_in_filename*
** Beschreibung: `Nutzt den Nick des Versenders als Präfix für Dateinamen, wenn Daten empfangen werden`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *xfer.look.auto_open_buffer*
** Beschreibung: `öffnet automatisch den Übertragungs-Buffer falls eine neue Übertragung hinzugefügt wird`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *xfer.look.progress_bar_size*
** Beschreibung: `Größe des Fortschrittsbalkens, in Zeichen (0, falls Fortschrittsbalken deaktiviert sein soll)`
** Typ: integer
** Werte: 0 .. 256 (Standardwert: `20`)
* *xfer.network.blocksize*
** Beschreibung: `Blockgröße für versendete Pakete (in Bytes)`
** Typ: integer
** Werte: 1024 .. 102400 (Standardwert: `65536`)
* *xfer.network.fast_send*
** Beschreibung: `Wartet beim Versenden von Dateien nicht auf das Bestätigungssignal (ACK)`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *xfer.network.own_ip*
** Beschreibung: `IP- oder DNS-Adresse fĂĽr ausgehenden Datentransfer/Chat (falls kein Wert angegeben ist, wird die IP des lokalen Interfaces benutzt)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
* *xfer.network.port_range*
** Beschreibung: `Schränkt den ausgehenden Datenversand bzw. Chats auf die ausschließliche Nutzung von Ports in einem vorgegebenen Bereich ein (hilfreich bei NAT) (Syntax: ein einzelner Port, z.B. 5000 oder ein Port-Bereich, z.B. 5000-5015. Es wird empfohlen Ports zu nutzen welche Größer als 1024 sind. Denn nur der User "root" kann auf den Port-Bereich <1024 zugreifen)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
* *xfer.network.speed_limit*
** Beschreibung: `Begrenzung der Ăśbertragungsgeschwindigkeit beim Versenden, in Kilo-Bytes pro Sekunde (0 = keine Begrenzung)`
** Typ: integer
** Werte: 0 .. 2147483647 (Standardwert: `0`)
* *xfer.network.timeout*
** Beschreibung: `ZeitĂĽberschreitung bei Transfer-Anfrage (in Sekunden)`
** Typ: integer
** Werte: 5 .. 2147483647 (Standardwert: `300`)
+432 -188
View File
@@ -1,237 +1,193 @@
WeeChat FAQ (Frequently Asked Questions)
========================================
FlashCode <flashcode@flashtux.org>
WeeChat FAQ (häufig gestellte Fragen)
=====================================
Sébastien Helleu <flashcode@flashtux.org>
[[general]]
Allgemein
---------
[[why_choose_weechat]]
Weshalb WeeChat? - X-Chat und Irssi sind sehr gut...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Weshalb WeeChat? - X-Chat und Irssi sind auch sehr gut...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Weil WeeChat schlank ist und neue Funktionen besitzt.
Einige Funktionen (Version > = 0.3.x):
* UnterstĂĽtzung mehrerer Protokolle durch Erweiterungen (IRC, Jabber)
* UnterstĂĽtzung verschiedener Protokolle durch Erweiterungen (IRC, Jabber)
* mehrere Remote GUIs als Ergänzung zu Curses (in Kürze)
* UnterstĂĽtzung von 256 Farben
* in mehreren Sprachen verfĂĽgbar
* Erweiterungsfähig durch Erweiterungen (C, Perl, Python, Ruby, Lua, Tcl)
* den eigenen BedĂĽrfnissen durch Erweiterungen anpassbar (C, Perl, Python, Ruby, Lua, Tcl)
* Buffer mit unabhängigem Inhalt
* Filterung der Anzeige mittels Tags und regulären Ausdrücken
* horizontale und vertikale Teilung der Fenster
* anpass- und erweiterbare Leisten
* horizontale und vertikale Einteilung der Fenster
* anpassbare und erweiterbare Leisten
* Nickliste in allen GUI's verfĂĽgbar
* IRC Proxy
* Umleitung von IRC Befehlen
* inkrementelle Textsuche in Buffern, zu Highlights springen
* FIFO Pipe fĂĽr Fernsteuerung
* UnterstĂĽtzung fĂĽr Aspell
* UnterstĂĽtzung von Aspell
* Doppelter Zeichensatz (Kodierung/Dekodierung)
* Neuentwicklung (basiert auf keinem anderem Programm)
* Lauffähig auf einer Vielzahl von Plattformen
* lauffähig auf einer Vielzahl von Plattformen
* 100% GPL und Frei
Weitere Informationen gibt es auf der folgenden Internetseite:
http://www.weechat.org/features
[[compilation_install]]
Kompilierung / Installation
---------------------------
[[gui]]
Ich habe gehört, es gibt mehrere GUIs für WeeChat. Wie kann ich diese kompilieren bzw nutzen?
Ich habe gehört es gibt mehrere GUIs für WeeChat. Wie kann ich diese kompilieren bzw. nutzen?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Zur Zeit ist nur die GUI fĂĽr Curses verfĂĽgbar.
Zur Zeit ist nur eine GUI fĂĽr Curses verfĂĽgbar.
Andere GUIs (zur Zeit in der Entwicklung) werden als Remote Clients verfĂĽgbar
sein.
[[compile_git]]
Ich kann WeeChat nach Cloning des git Repository nicht kompilieren - warum?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Ich kann WeeChat nach Cloning des git Repository nicht kompilieren - weshalb?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Der empfohlene Weg WeeChat zu komilieren ist die Nutzung von cmake.
Es wird empfohlen zum kompilieren von WeeChat, cmake zu nutzen.
Falls Du mit Hilfe der autotools kompilierst (also nicht cmake), stelle sicher,
dass Du die neueste Version von autoconf und automake besitzt (WeeChat wird mit
autoconf 2.61 und automake 1.10.1 entwickelt).
Falls Du WeeChat mit Hilfe der autotools kompilieren solltest (dich also nicht
fĂĽr cmake entscheidest), stelle sicher, dass Du die neueste Version von autoconf
und automake besitzt (WeeChat wird mit autoconf 2.61 und automake 1.10.1 entwickelt).
Der andere Weg ist, das "Entwickler-Paket" zu installieren, dieses hat weniger
Abhängigkeiten. Dieses Paket wird quasi täglich aus dem git Repository erstellt.
Beachte, dass dieses Paket nicht immer exakt mit dem git Repository ĂĽbereinstimmt
und daher auch weniger brauchbar sein kann als wenn man selbst das Repository
klont und daraus Updates installiert.
WeeChat anwenden
----------------
Die zweite Möglichkeit besteht darin das "Entwickler-Paket" zu installieren. Dies
besitzt weniger Abhängigkeiten. Das Paket wird quasi täglich aus dem git Repository erstellt.
Beachte, dass dieses Paket nicht immer exakt mit dem git Repository ĂĽbereinstimmen muss
und daher auch weniger brauchbar sein kann, im Gegensatz zu der Methode dass man selbst
das Repository klont und daraus Updates installiert.
[[lost]]
Ich habe WeeChat gestartet, komme aber nicht mehr weiter - was kann ich tun?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Um Hilfe zu erhalten, gebe `/help` ein. Hilfe zu einem Befehl erhälst Du durch
die Eingabe von: `help Befehlsname`.
Um Hilfe zu erhalten, nutze den `/help` Befehl. Eine Hilfe zu einem Befehl erhältst
Du durch die Eingabe von: `/help Befehlsname`.
Befehle sowie die Belegung der jeweiligen Tasten sind in der Dokumentation
aufgefĂĽhrt.
FIXME: (Tip: Mit den Tasten <Bild-hoch>/<Bild-runter> kannst Du die Anzeige
scrollen)
(Tipp: Mit den Tasten <Bild-hoch>/<Bild-runter> kannst Du die Anzeige blättern)
Neue Benutzer sollten unbedingt die 'quickstart'-Anleitung lesen (siehe
Dokumentation auf der Internetseite).
[[buffer_vs_window]]
Ich habe von "Buffern" und "Fenstern" gehört - was ist der Unterschied?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Ein 'Buffer' besteht aus einer Nummer, einem Namen, anzuzeigenden Zeilen (und
anderen Daten)
Ein 'Fenster' ist ein Bildschirmbereich der Buffer darstellt. Es ist möglich
den Bildschirm in mehrere Fenster aufzuteilen.
Jedes Fenster stellt einen Buffer dar. Ein Buffer kann unsichtbar sein (er wird
nicht durch ein Fenster angezeigt), oder durch ein sowie mehrere Fenster
angezeigt werden.
[[display]]
Anzeige
-------
[[charset]]
Teilweise fehlen bei Zeichen die Akzente, was kann ich tun?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Teilweise fehlen den Zeichen die Akzente. Wie kann ich das korrigieren?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Dies ist ein bekanntes Problem, bitte lese nachfolgendes sorgfältig und
prüfe *alle* aufgezeigten Lösungsmöglichkeiten.
Dies ist ein bekanntes Problem. Bitte lese deshalb die nachfolgende Erklärung
sorgfältig durch und überprüfe *alle* aufgezeigten Lösungsmöglichkeiten.
FĂĽr Versionen < 0.2.3, bitte auf die neueste stabile Version upgraden.
FĂĽr Versionen < 0.2.3: Bitte auf die neueste stabile Version von WeeChat wechseln.
FĂĽr Versionen > = 0.2.3:
* prüfe, dass weechat-curses mit libncursesw gelinkt ist (Warnung: nötig bei den
meiĂźten Distributionen - jedoch nicht bei allen):
`ldd /path/to/weechat-curses`
* prĂĽfe mit dem Befehl `/plugin`, dass die "Charset" Erweiterung geladen ist (falls
nicht, benötigst Du wahrscheinlich noch das Paket "weechat-plugins")
* prĂĽfe die Ausgabe des Befehls /charset (auf dem Server-Buffer). Du solltest
'ISO-XXXXXX' oder 'UTF-8' fĂĽr den Terminal Zeichensatz sehen. Falls Du
'ANSI_X3.4-1968' oder andere Werte siehst, ist Deine Einstellung der locale
möglicherweise falsch.
* setzen des globalen decode Wertes, z.B.:
* überprüfe, ob weechat-curses mit libncursesw verlinkt ist (Warnung: nötig bei den
meisten Distributionen - jedoch nicht bei allen): `ldd /path/to/weechat-curses`
* prĂĽfe mit dem Befehl `/plugin`, ob die "Charset" Erweiterung geladen ist (falls
dies nicht der Fall sein sollte benötigst Du wahrscheinlich noch das Paket "weechat-plugins")
* ĂĽberprĂĽfe die Ausgabe des `/charset` Befehls (im Server-Buffer). Du solltest
'ISO-XXXXXX' oder 'UTF-8' fĂĽr den Terminal Zeichensatz als Antwort erhalten. Falls Du
'ANSI_X3.4-1968' oder einen anderen Wert bekommen solltest, ist Deine Einstellung der
locale möglicherweise falsch.
* Einstellen des globalen decode Wertes, z.B.:
** WeeChat < = 0.2.6: `/setp charset.global.decode = ISO-8859-15`
** WeeChat > = 0.3.x: `/set charset.default.decode "ISO-8859-15"`
* Falls Du UTF-8 locale nutzt:
** prüfe, ob Dein Terminal UTF-8 fähig ist (der empfohlene Terminal für UTF-8
ist rxvt-unicode)
** Solltest Du screen nutzten, prüfe ob er im UTF-8 Modus läuft
("`defutf8 on`" in der Datei ~/.screenrc oder `screen -U` zum Sarten von
** Solltest Du screen nutzten, prüfe ob dieser im UTF-8 Modus läuft
("`defutf8 on`" in der Datei ~/.screenrc oder `screen -U` zum Starten von
screen)
[NOTE]
Die Nutzung der UTF-8 locale wird fĂĽr WeeChat empfohlen. Nutzt Du jedoch ISO
oder andere locale, bitte vergewissere Dich dann, dass *alle* Deine
Einstellungen (Terminal, screen, ...) sich auch auf ISO beziehen und *nicht* auf
UTF-8.
FĂĽr Weechat wird die Nutzung von UTF-8 locale empfohlen. Nutzt Du jedoch ISO
oder andere locale, bitte vergewissere Dich, dass *alle* Deine Einstellungen
(Terminal, screen, ...) sich auch auf ISO beziehen und *nicht* auf UTF-8.
[[bars_background]]
Leisten, z.B. Titel und Status sind nicht ausgefĂĽllt, die Hintergrundfarbe endet direkt nach dem Text, warum?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Bars, z.B. Titel und Status haben keine Hintergrundfarbe bzw. diese endet direkt nach dem Text, warum?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Dies kann durch einen falschen Wert der Variablen TERM Deiner Shell verursacht
werden (schaue Dir die Ausgabe von `echo $TERM` in Deinem Terminal an).
Dies kann durch einen falschen Wert in der Variablen TERM Deiner Shell verursacht
werden. Bitte ĂĽberprĂĽfe die Ausgabe von `echo $TERM` in Deinem Terminal.
Abhängig davon wo Du WeeChat startest, solltest Du folgenden Wert haben:
Abhängig davon von wo WeeChat startet wird, solltest Du folgenden Wert haben:
* falls WeeChat lokal oder auf einem entfernten Rechner läuft, je nach benutztem
Terminal: 'xterm', 'rxvt', ...
* falls WeeChat unter screen läuft, sollte der Wert 'screen' sein.
Wenn nötig korrigiere den Wert Deiner Variablen TERM: `export TERM="xxx"`.
Falls nötig korrigiere den Wert Deiner Variablen TERM: `export TERM="xxx"`.
[[screen_weird_chars]]
Wenn ich Weechat unter screen nutze, habe ich merkwĂĽrdige Zeichen, wie kann ich dies beheben?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Wenn ich Weechat mit screen nutze habe ich merkwĂĽrdige Zeichen, wie kann ich dies beheben?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Dies kann durch einen falschen Wert der Variablen TERM Deiner Shell verursacht
werden (schaue Dir die Ausgabe von `echo $TERM` in Deinem Terminal an).
Dies kann durch einen falschen Wert in der TERM-Variable Deiner Shell verursacht
werden. Bitte ĂĽberprĂĽfe die Ausgabe von `echo $TERM` in Deinem Terminal.
Als Beispiel, 'xterm-color' könnte solche merkwürdigen Zeichen produzieren,
nutzte stattdessen 'xterm' - die ist ok (wie mehrer andere Werte).
Als Beispiel, 'xterm-color' könnte solche merkwürdigen Zeichen produzieren.
Nutzte stattdessen lieber 'xterm'.
Wenn nötig korrigiere den Wert Deiner Variablen TERM: `export TERM="xxx"`.
Falls nötig korrigiere den Wert Deiner TERM-Variable: `export TERM="xxx"`.
[[key_bindings]]
Wie kann ich die Tastaturbelegung anpassen?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[[osx_display_broken]]
Ich habe WeeChat unter OS X kompiliert und erhalte nur "(null)" als Textausgabe. Was läuft da schief?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Die Tasten werden mit dem Befehl /key belegt.
Wenn Du ncursesw selber kompiliert haben solltest dann probiere einmal die Standard ncurses aus welche
mit dem System ausgeliefert wird.
Per Voreinstellung kannst Du mit der Tastenkombination Meta-k (normal Alt-k) den
Code der jeweiligen Taste herausfinden und in die Eingabezeile einfĂĽgen.
DarĂĽber hinaus ist es unter OS X ratsam WeeChat mittels dem Homebrew package manager zu installieren.
[[openbsd_plugins]]
Ich benutze BSD, und WeeChat lädt keine Erweiterungen - warum?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[[buffer_vs_window]]
Ich habe von "Buffern" und "Fenstern" gehört - Worin besteht der Unterschied?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Unter BSD Enden die Dateinamen der Erweiterungen mit ".so.0.0" (".so" bei Linux).
Ein 'Buffer' besteht aus einer Nummer, besitzt einem Namen, hat Zeilen die angezeigt
werden (und noch anderen Daten).
Um dies zu beheben muss folgendes konfiguriert werden:
Ein 'Fenster' ist ein Bildschirmbereich der Buffer darstellt. Es ist möglich
den Bildschirm in mehrere Fenster aufzuteilen.
* WeeChat < = 0.2.6: +
`/set plugins_extension = ".so.0.0"`
* WeeChat > = 0.3.x: +
`/set weechat.plugin.extension ".so.0.0"`
Danach: `/plugin autoload`.
[[scripts]]
Wie kann ich Perl/Python/Ruby/Lua/Tcl Skripten laden? Sind Skripten kompatibel zu anderen IRC-Clients?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Benutze die Befehle: `/perl`, `/python`, `/ruby`, `/lua` und `/tcl` um Skripten
zu laden (Voreingestellter Pfad zu den Skripten: '~/.weechat/<Skriptsprache>/').
Die Skripten sind mit den anderer IRC-Clients nicht kompatibel.
Anmerkung:
* Skripten, die sich unter '~/.weechat/<Skriptsprache>/autoload/' befinden, werden
beim Start von WeeChat automatisch geladen.
* Eine 'tcl' Erweiterung ist ab version > = 0.3.x verfĂĽgbar.
[[change_locale_without_quit]]
Ich möchte die Sprache der Meldungen, die WeeChat ausgibt, ändern ohne WeeChat zu verlassen. Ist dies möglich?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Ja, dazu kannst Du das Python-Skript shell.py verwenden (erhältlich auf der
Internetseite). Nach dem laden des Skripts fĂĽhre folgende Befehle aus:
/shell setenv LANG=en_US.UTF-8
/upgrade
Hierdurch erhält man für das Terminal englische, UTF-8 kodierte Meldungen.
Benutzer von ISO-Kodierungen können folgendes eingeben:
`/shell setenv LANG=en_US`.
Jedes Fenster stellt einen Buffer dar. Ein Buffer kann unsichtbar sein (er wird
in einem Fenster nicht angezeigt). Oder ein Buffer wird durch ein oder mehrere Fenster
angezeigt.
[[terminal_copy_paste]]
Wie kann ich einen Text kopieren und einfĂĽgen ohne das die Nickliste auch eingefĂĽgt wird?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Wie kann ich einen Text kopieren und einfĂĽgen ohne das die Nickliste mit eingefĂĽgt wird?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Du kannst hierzu ein Terminal nutzen, welches Block-Selektierung erlaubt
(wie rxvt-unicode, konsole, gnome-terminal, ...). Im Normalfall erfolgt diese
mittels der Tasten ctrl + alt in Verbindung mit der Auswahl durch die Maus.
Hierzu kannst Du ein Terminal nutzen welches Block-Auswahl erlaubt (wie z.B. rxvt-unicode,
konsole, gnome-terminal, ...). Im Normalfall erfolgt die Markierung mittels der Tasten
ctrl + alt in Verbindung mit der Auswahl durch die Maus.
Eine andere Lösung ist, die Nickliste nach oben oder unten zu verschieben, z.B.:
Eine weitere Möglichkeit besteht darin die Nickliste nach oben oder unten zu verschieben:
* WeeChat < = 0.2.6: +
`set look_nicklist_position = top`
@@ -240,13 +196,13 @@ Eine andere Lösung ist, die Nickliste nach oben oder unten zu verschieben, z.B.
[[urls]]
Wie kann ich eine URL aufrufen, die einen Zeilenumbruch besitzt?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Wie kann ich eine URL aufrufen die einen Zeilenumbruch besitzt?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Da WeeChat sowohl die Uhrzeit als auch einen Präfix für jede Zeile darstellt und
man optional auch noch Bars nutzen kann, die das Chatfenster zusätzlich
verkleinern, kann es passieren das sehr lange URLs abgeschnitten und nicht mehr
aufgerufen werden können.
Da WeeChat sowohl die Uhrzeit als auch einen Präfix in jeder Zeile darstellt
und ein Chatfenster durch die zusätzliche Nutzung von Bars verkleinert werden,
ist es möglich, dass überlange URLs abgeschnitten werden und diese dadurch
nicht mehr aufgerufen werden können.
Deshalb sollte man eines der folgenden Skripten nutzen:
@@ -261,34 +217,140 @@ tinyurl.py::
shortenurl.py::
URLs werden durch einen Internet-Dienst gekĂĽrzt.
Liste der Skripten die sich mit URLs befassen: http://www.weechat.org/scripts/stable/tag/url
Hier findet man eine Auflistung von Skripten die sich mit URLs befassen: http://www.weechat.org/scripts/stable/tag/url
[[highlight_notification]]
Wie kann ich informiert werden, wenn jemand in einem Channel highlightet
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[[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?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
((A.d.Ăś) highlight bedeutet, dass der eigene Nick z.B. im Channel genannt wird,
der Nick dessen der ihn schrieb wird farblich hervorgehoben)
Ja, dazu kannst Du das Python-Skript 'shell.py' verwenden (erhältlich auf der
Internetseite). Nach dem Laden des Skripts fĂĽhre folgende Befehle aus:
Abhängig der WeeChat Version:
----------------------------------------
/shell setenv LANG=de_DE.UTF-8
/upgrade
----------------------------------------
* WeeChat < = 0.2.6: nutze das Skript 'sound.pl' (verfĂĽgbar auf der Skript-Site),
und nehme Einstellungen fĂĽr einen System-Befehl (um einen Klang zu spielen,
eine Meldung anzuzeigen, ...) mit folgendem Befehl vor: +
`/setp perl.sound.cmd_highlight = "/path/to/command arguments"`
* WeeChat > = 0.3.x: nutze das Skript 'launcher.pl' (verfĂĽgbar auf der Skript-Site),
und nehme Einstellungen fĂĽr einen System-Befehl (um einen Klang zu spielen,
eine Meldung anzuzeigen, ...) mit folgendem Befehl vor: +
`/set plugins.var.perl.launcher.signal.weechat_highlight "/path/to/command arguments"`
Hierdurch erhält man für das Terminal englische, UTF-8 kodierte Meldungen.
Benutzer von ISO-Kodierungen können folgendes eingeben:
`/shell setenv LANG=en_US`.
Es gibt noch andere Skripten, die ĂĽber solche Ereignisse informieren , bitte
besuche dazu die Skripten-Webseite: http://www.weechat.org/scripts/
[[256_colors]]
Wie kann ich 256 Farben in WeeChat nutzen?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
WeeChat unterstĂĽtzt ab der Version 0.3.4, 256 Farben.
Zuerst sollte ĂĽberprĂĽft werden ob die 'TERM'-Umgebungsvariable korrekt hinterlegt
ist. Folgende Werte sind zu empfehlen:
* falls screen genutzt wird: 'screen-256color'
* screen wird nicht genutzt: 'xterm-256color', 'rxvt-256color', 'putty-256color',...
Sollte screen genutzt werden, fĂĽgt man folgende Zeile an das Ende der Datei
'~/.screenrc':
----------------------------------------
term screen-256color
----------------------------------------
Enthält die 'TERM'-Umgebungsvariable einen falschen Wert und WeeChat wird bereits
ausgeführt, keine Panik! Mittels dem Skript 'shell.py' kann eine Änderung der
Umgebungsvariable durchgefĂĽhrt werden, ohne das WeeChat neu gestartet werden muss:
----------------------------------------
/shell setenv TERM=screen-256color
/upgrade
----------------------------------------
Mit dem Befehl `/color` können die Farben ganz einfach in WeeChat angepasst werden.
Weiterführende Informationen zum Farbmanagement erhält man in der Benutzeranleitung.
[[key_bindings]]
Tastaturbelegung
----------------
[[meta_keys]]
Aus welchem Grund funktionieren manche Meta-Tasten (alt + Taste) nicht?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Wenn Du einen Terminal wie xterm oder uxterm nutzten solltest werden einige
Meta-Tasten standardmäßig nicht unterstützt.
In einem solchen Fall sollte folgende Zeile der Konfigurationsdatei '~/.Xresources'
hinzugefĂĽgt werden:
* fĂĽr xterm:
----------------------------------------
XTerm*metaSendsEscape: true
----------------------------------------
* fĂĽr uxterm:
----------------------------------------
UXTerm*metaSendsEscape: true
----------------------------------------
Danach muss resources neu geladen werden (`xrdb -override ~/.Xresources`) oder
man startet X neu.
[[customize_key_bindings]]
Wie kann ich die Tastaturbelegung anpassen?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Die Tasten werden mit dem Befehl `/key` belegt.
Mit der voreingestellten Tastenkombination Meta-k (normal Alt-k) kann man sich den
Code der jeweiligen Taste anzeigen lassen und in die Eingabezeile einfĂĽgen.
[[jump_to_buffer_11_or_higher]]
Mit welcher Tastenkombination kann ich zum Buffer 11 (oder höher) wechseln?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Die Tastenkombination lautet alt-j gefolgt von den zwei Ziffern des Buffers.
Zum Beispiel, "alt-j 1 1" um zum Buffer 11 zu wechseln.
Es kann auch eine neue Taste eingebunden werden um zu einem Buffer zu wechseln:
----------------------------------------
/key bind meta-q /buffer *11
----------------------------------------
Eine Auflistung der Standardtastenbelegung findet man in der Benutzeranleitung.
[[irc]]
IRC
---
[[ignore_vs_filter]]
Was ist der Unterschied zwischen dem Befehl /ignore und /filter?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Der Befehl `/ignore` ist ein IRC-Befehl und beeinflusst somit nur die IRC-Buffer
(Server und Channel).
Durch den Befehl kann man bestimmte Nicks oder Hostnamen von Usern eines Servers oder
von Channels ignorieren (Der Befehl wird nicht auf den Inhalt der Meldung angewandt).
Zutreffende Meldungen werden, bevor sie angezeigt werden, von der IRC-Erweiterung gelöscht
(Du wirst sie niemals zu Gesicht bekommen).
Der Befehl `/filter` ist ein Kern-Befehl (A.d.Ăś.: wird in WeeChat ausgefĂĽhrt und
nicht an den Server gesendet) und beeinflusst somit jeden Buffer.
Dieser Befehl eröffnet die Möglichkeit bestimmte Zeilen in Buffern, mittels Tags und
regulären Ausdrücken nach Präfix und Zeileninhalt zu filtern.
Die Zeilen werden dabei nicht gelöscht, lediglich die Darstellung im Buffer wird unterdrückt.
Die gefilterten Zeilen können zu jeder Zeit dargestellt werden indem man den Filter deaktiviert
(Voreinstellung zum aktivieren/deaktivieren der Filter: Alt-Taste + "=").
[[filter_irc_join_part_quit]]
Wie kann ich join/part/quit Meldungen der IRC Channels filtern (A.d.ĂĽ.: unterdrĂĽcken)?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Wie kann ich join/part/quit Meldungen in den IRC Channels filtern (A.d.ĂĽ.: unterdrĂĽcken)?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Entsprechend der WeeChat-Version:
@@ -309,70 +371,252 @@ Entsprechend der WeeChat-Version:
`/filter add jpk * irc_join,irc_part,irc_quit *` +
(Hilfe mit: `/help filter`)
[[ignore_vs_filter]]
Was ist der Unterschied zwischen den Befehlen /ignore und /filter?
[[filter_irc_join_channel_messages]]
Wie kann ich Nachrichten filtern wenn ich einen IRC Channel betrete?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Einige Tags die man zum filtern von Nachrichten nutzen kann:
* '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 Nachrichten kann man im IRC Raw-Server finden
(`/server raw`).
Beispiele:
* filtert die Auflistung der Namen die sich im Channel befinden:
----------------------------------------
/filter add irc_join_names * irc_366 *
----------------------------------------
* filtert das Topic (und das Datum) des Channels:
----------------------------------------
/filter add irc_join_topic_date * irc_332,irc_333 *
----------------------------------------
[[filter_voice_messages]]
Wie kann ich voice Nachrichten filtern (z.B. auf Bitlbee Servern)?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Der Befehl `/ignore` ist ein IRC-Befehl und beeinfluĂźt somit nur die IRC-Buffer
(Server und Channel).
Durch den Befehl kann man bestimmte Nicks oder Hostnamen von Usern eines Servers oder
Channels ignorieren (Der Befehl wird nicht auf den Inhalt der Meldung angewandt).
Passende Meldungen werden von dem IRC-Plugin vor der Anzeige gelöscht (Du wirst
sie niemals zu Gesicht bekommen).
Voice Nachrichten zu filtern ist nicht einfach da der Voice-Modus mit anderen
Modi in einer IRC Nachricht kombiniert werden kann.
Der Befehl `/filter` ist ein Kern-Befehl (A.d.Ăś.: wird in WeeChat ausgefĂĽhrt und
nicht an den Server gesendet) und beeinfluĂźt somit jeden Buffer.
Dieser Befehl eröffnet die Möglichkeit bestimmte Zeilen in Buffern, mittels Tags und
regulären Ausdrücken nach Präfix und Zeileninhalt zu filtern.
Gefilterte Zeilen werden nur unsichtbar - nicht gelöscht. Sehen kannst Du sie
wenn Du den Filter deaktivierst (Voreinstellung zum Aktivieren/Deaktivieren der
Filter: Alt-Taste + "=").
Möchte man Voice-Nachrichten z.B. bei Bitlbee unterdrücken, da diese dazu genutzt
werden um den Abwesenheitsstatus anderer User anzuzeigen (und man nicht von diesen
Mitteilungen überflutet werden möchte), kann man WeeChat anweisen abwesende Nicks
in einer anderen Farbe darzustellen.
Im Channel '&bitlbee':
----------------------------------------
set away_devoice false
----------------------------------------
Um in WeeChat anzeigen zu lassen welche Nicks abwesend sind siehe:
<<color_away_nicks,abwesende Nicks>>.
[[color_away_nicks]]
Wie kann ich Nicks in der Nickliste anzeigen lassen die abwesend sind?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Dazu weist man der Option 'irc.server_default.away_check' ein Zeitintervall
zu, in welchen Abständen eine Überprüfung stattfinden soll. Die Angabe des
Wertes erfolgt in Minuten.
Mittels der Option 'irc.server_default.away_check_max_nicks' kann festgelegt
werden in welchen Channels eine ĂśberprĂĽfung stattfinden soll. Hierbei stellt
der angegebene Wert die maximale Anzahl an Nicks in einem Channel dar die den
Channel gleichzeitig besuchen dĂĽrfen.
In folgendem Beispiel wird der Abwesenheitsstatus alle fĂĽnf Minuten ĂĽberprĂĽft.
Dabei werden aber nur solche Channels berĂĽcksichtigt die nicht mehr als 25
Teilnehmer haben:
----------------------------------------
/set irc.server_default.away_check 5
/set irc.server_default.away_check_max_nicks 25
----------------------------------------
[NOTE]
FĂĽr Weechat < = 0.3.3, lauten die Optionen 'irc.network.away_check' und
'irc.network.away_check_max_nicks'.
[[highlight_notification]]
Wie kann ich mich darĂĽber informieren lassen falls mich jemand in einem Channel highlighted
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
((A.d.Ăś) Highlight bedeutet, dass der eigene (Nick)Name im Channel genannt wird. Man wird
also direkt, persönlich, angesprochen. Der Nick, der Person die mich anschreibt wird dabei
farblich hervorgehoben)
Die Einstellung geschieht abhängig von der WeeChat Version:
* WeeChat < = 0.2.6: nutze das Skript 'sound.pl' (verfĂĽgbar auf der Skript-Seite),
und nehme Einstellungen fĂĽr einen System-Befehl (um einen Klang abzuspielen,
eine Meldung anzuzeigen, ...) mit folgendem Befehl vor: +
`/setp perl.sound.cmd_highlight = "/path/to/command arguments"`
* WeeChat > = 0.3.x: nutze das Skript 'launcher.pl' (verfĂĽgbar auf der Skript-Seite),
und nehme Einstellungen fĂĽr einen System-Befehl (um einen Klang abzuspielen,
eine Meldung anzuzeigen, ...) mit folgendem Befehl vor: +
`/set plugins.var.perl.launcher.signal.weechat_highlight "/path/to/command arguments"`
Es gibt noch andere Skripten, die ĂĽber verschiedene Ereignisse informieren , bitte
besuche dazu die Skripten-Webseite: http://www.weechat.org/scripts/
[[irc_ssl_connection]]
Es treten Probleme bei einer Serververbindung mittels SSL auf. Was kann ich tun?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Falls Fehlermeldungen auftreten sollten die besagen dass der gnutls Handshake
nicht geklappt hat dann sollte ein kleinerer Diffie-Hellman-SchlĂĽssel verwendet
werden (Standardgröße: 2048):
----------------------------------------
/set irc.server.freenode.ssl_dhkey_size 1024
----------------------------------------
Erscheint eine Fehlermeldung dass etwas mit dem Zertifikat nicht stimmen sollte dann
kann eine ĂśberprĂĽfung deaktiviert werden mittels "ssl_verify" (die Verbindung ist in
diesem Fall weniger sicher):
----------------------------------------
/set irc.server.freenode.ssl_verify off
----------------------------------------
[[plugins_scripts]]
Erweiterungen / Skripten
------------------------
[[openbsd_plugins]]
Ich benutze OpenBSD aber WeeChat lädt keine Erweiterungen - weshalb?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Unter OpenBSD enden die Dateinamen von Erweiterungen mit ".so.0.0" (".so" bei Linux).
Um dies zu beheben muss folgendes konfiguriert werden:
* WeeChat < = 0.2.6: +
`/set plugins_extension = ".so.0.0"`
* WeeChat > = 0.3.x: +
`/set weechat.plugin.extension ".so.0.0"`
Danach: `/plugin autoload`.
[[load_scripts]]
Wie kann ich Perl/Python/Ruby/Lua/Tcl Skripten laden? Sind Skripten kompatibel zu anderen IRC-Clients?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Die Skripten fĂĽr WeeChat sind mit anderer IRC-Clients nicht kompatibel und vice versa.
Um Skripten zu laden nutze den Befehl fĂĽr die jeweilige Skriptsprache:
`/perl`, `/python`, `/ruby`, `/lua` und `/tcl`
Anmerkung:
* Voreingestellter Pfad der Skripten: '~/.weechat/<Skriptsprache>/'
* Skripten die sich im Verzeichnis '~/.weechat/<Skriptsprache>/autoload/' befinden werden
beim Start von WeeChat automatisch geladen.
* Eine 'tcl' Erweiterung ist ab Version > = 0.3.0 verfĂĽgbar.
[[settings]]
Einstellungen
-------------
[[memory_usage]]
Wie kann ich WeeChat dazu bringen weniger Speicher zu verbrauchen?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Du kannst folgende Tipps umsetzen damit WeeChat weniger Speicher benötigt:
* nutze die aktuelle Version (man kann davon ausgehen das eine aktuelle Version
weniger Speicherlecks besitzt, als eine vorherige Version)
* lade keine Erweiterungen die Du nicht benötigst. Zum Beispiel: ASpell, Fifo,
Logger, Perl, Python, Ruby, Lua, Tcl, Xfer (wird für DCC benötigst)
* lade nur Skripten die Du auch benutzt
* nutze einen kleineren Wert fĂĽr die Option 'weechat.history.max_lines' (Anzahl
der Zeilen die fĂĽr jeden Buffer im Speicher gehalten werden soll)
* nutze einen kleineren Wert fĂĽr die Option 'weechat.history.max_commands' (Anzahl
des Verlaufsspeichers, fĂĽr Befehle, die im Speicher gehalten werden sollen)
[[development]]
Entwicklung
-----------
[[bug_task_patch]]
Was mache ich um Fehler zu melden, nach neuen Funktionen zu fragen oder Patches einzusenden?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Was kann ich machen falls ich einen Fehler gefunden habe, nach neuen Funktionen fragen oder Patches einsenden möchte?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Es gibt drei Möglichkeiten:
. Du kannst zu uns in den IRC kommen: 'irc.freenode.net', channel '#weechat'
. Du kannst die Internetseite savannah nutzen:
* Fehler melden: https://savannah.nongnu.org/bugs/?group=weechat
* Nach einer neuen Funktion fragen: https://savannah.nongnu.org/task/?group=weechat
* Patch senden: https://savannah.nongnu.org/patch/?group=weechat
* Einen Fehler melden: https://savannah.nongnu.org/bugs/?group=weechat
* Einen Verbesserungsvorschlag machen: https://savannah.nongnu.org/task/?group=weechat
* Einen Patch einsenden: https://savannah.nongnu.org/patch/?group=weechat
. Du kannst den Entwicklern mailen, entsprechende Mail-Adressen auf der Supportseite:
http://www.weechat.org/about
(Um emails an die "support" Mailing-Liste zu schicken, kannst Du diese abonnieren)
[[gdb_error_threads]]
Wenn man WeeChat in gdb startet kann ein Thread-Fehler auftreten. Was beudeutet das?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Falls man WeeChat in gdb ausfĂĽhrt kann folgende Fehlermeldung erscheinen:
----------------------------------------
gdb /Pfad/zu/weechat-curses
(gdb) run
[Thread debugging using libthread_db enabled]
Cannot find new threads: generic error
----------------------------------------
Um diesen Fehler zu beheben sollte man gdb wie folgt aufrufen (der Pfad zu
libpthread und WeeChat muss natĂĽrlich an das eigene System angepasst werden):
----------------------------------------
LD_PRELOAD=/lib/libpthread.so.0 gdb /Pfad/zu/weechat-curses
(gdb) run
----------------------------------------
[[supported_os]]
Auf welchen Plattformen läuft WeeChat? Wird es noch auf anderen Betriebssystemen portiert?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Auf welchen Plattformen läuft WeeChat? Wird es noch auf andere Betriebssystemen portiert?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Die gesamte Liste gibt es unter: http://www.weechat.org/download
Eine vollständige Liste der Portierungen findest Du unter: http://www.weechat.org/download
Wir geben unser Bestes um WeeChat auf möglichst vielen Plattformen lauffähig zu
machen. Um WeeChat auf Betriebssystemen zu testen, zu denen wir keinen Zugang
haben, ist Hilfe willkommenen.
Wir geben unser Bestes um WeeChat auf möglichst viele Plattformen zu portieren.
Aber um WeeChat auf Betriebssystemen zu testen, zu denen wir keinen Zugang haben,
ist Hilfe gerne gesehen.
[[help_developers]]
Ich möchte den Entwicklern von WeeChat helfen. Was kann ich tun?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Es gibt einiges zu tun z.B. Testen, Programmieren, Dokumentation, ...
Es gibt einiges zu tun z.B. testen, programmieren, Dokumentation, ...
Bitte kontaktiere uns via IRC oder email, schaue auf die Support-Seite:
http://www.weechat.org/about
[[donate]]
Kann ich Geld oder Anderes an die Entwickler von WeeChat spenden?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Kann ich Geld oder anderes an die WeeChat Entwickler spenden?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Du kannst uns Geld zur UnterstĂĽtzung der weitern Entwicklung spenden.
Du kannst uns Geld zur UnterstĂĽtzung der weiteren Entwicklung spenden.
Details hierzu gibt es auf: http://www.weechat.org/donate
+79 -78
View File
@@ -1,15 +1,15 @@
WeeChat Quick Start Guide
=========================
FlashCode <flashcode@flashtux.org>
WeeChat Quickstart Anleitung
============================
Sébastien Helleu <flashcode@flashtux.org>
[[start]]
Start von WeeChat
-----------------
Der bevorzugte Terminal-Emulator fĂĽr X (aber nicht obligatorisch) ist
rxvt-unicode (er hat eine gute UnterstĂĽtzung fĂĽr UTF-8 und keine Probleme mit der
Standard Tastaturbelegung).
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.
@@ -18,57 +18,57 @@ Starte "weechat-curses" aus Deiner shell.
Online-Hilfe / Optionen
-----------------------
WeeChat enthält Hilfetexte für alle Befehle, erreichbar über `/help`.
Um Hilfe zu einen bestimmten Befehl zu bekommen kann man einfach `/help Befehl`
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.
Um Optionen zu setzen benutzt man `/set config.section.option value`.
(dabei ist 'config' der Konfigurationsname ('weechat' fĂĽr den Kern von weechat,
oder ein Plugin-Name), 'section' ein Abschnitt dieser Konfiguration und 'option'
der Name der Option).
oder der Name einer Erweiterung), 'section' ein Abschnitt dieser Konfiguration und 'option'
der Name der betreffenden Option).
WeeChat benutzt den neuen Wert sofort (*Niemals* muss WeeChat neu gestartet
werden nach dem die Konfiguration geändert wurde).
WeeChat benutzt den neu eingestellten Wert umgehend (WeeChat muss also *niemals* neu gestartet
werden, nach dem die Konfiguration verändert wurde).
Du kannst die Option `/set` mit teilweise ausgeschriebenen Namen und dem
Platzhalter "*" am Beginn oder Ende verwenden um alle Optionen anzuzeigen, die
die Zeichenkette enthalten.
Platzhalter "*" am Beginn oder Ende verwenden um alle Optionen anzuzeigen die
diese Zeichenkette enthalten.
Zum Beispiel:
`/set`::
Anzeige aller Optionen (WeeChat und Plugins)
Anzeige aller Optionen (WeeChat und Erweiterungen)
`/set weechat.*`::
Anzeige der WeeChat Optionen
`/set irc.*`::
Anzeige der Optionen des IRC-Plugins
Anzeige der Optionen des IRC-Erweiterung
Du kannst mit `/help` Hilfe fĂĽr Optionen auflisten lassen, z.B.:
`/help weechat.look.highlight`.
Beim beenden von WeeChat werden alle Einstellungen gespeichert (mittels `/save`
kann das Schreiben der Optionen erzwungen werden).
Beim Beenden von WeeChat werden alle Einstellungen gespeichert (mittels `/save`
kann das Sichern der Optionen erzwungen werden).
Konfigurations-Dateien (*.conf) können auch per Hand editiert und mit dem Befehl
Konfigurationsdateien (*.conf) können auch per Hand editiert und mit dem Befehl
`/reload` neu eingelesen werden (falls man z.B. den `/set` Befehl nicht
verwenden möchte).
[[core_vs_plugins]]
Kern (Core) vs Plugins
----------------------
Kern (Core) vs Erweiterungen
----------------------------
Der Kern (core) von WeeChat ist ausschlieĂźlich dazu da, Daten auf dem Bildschirm
darzustellen um mit dem Benutzer zu interagieren, dies bedeutet, WeeChat an sich
-also nur WeeChat core- ohne jegliche Plugins ist unbrauchbar.
Der Kern (core) von WeeChat ist ausschlieĂźlich dazu da Daten auf dem Bildschirm
darzustellen um mit dem Benutzer zu interagieren. Dies bedeutet, WeeChat an sich
-also nur WeeChat core- ohne jegliche Erweiterung ist unbrauchbar.
(an die treuen User: IRC war ein Teil des Kerns bei Versionen <= 0.2.6)
Alle Netzwerkprotokolle, z.B. IRC, werden als separates Plugin bereit gestellt.
Alle Netzwerkprotokolle, z.B. IRC, werden als separate Erweiterung bereit gestellt.
Benutze den Befehl `/plugin` um alle Plugins aufzulisten, "irc" sowie andere
Plugins sollten aufgelistet werden.
Benutze den Befehl `/plugin` um alle Erweiterungen aufzulisten, "irc" sowie andere
Erweiterungen sollten aufgelistet werden.
[[create_irc_server]]
@@ -77,10 +77,10 @@ Einen IRC-Server erstellen
Du kannst einen IRC-Server mit dem Befehl `/server` hinzufĂĽgen, z.B.:
/server add oftc irc.oftc.org/6667
/server add oftc irc.oftc.net/6667
Wie immer, wenn Du nicht mehr weiter weiĂźt, kannst Du mit `/help server` Hilfe
erlangen.
Wie bei jedem Befehl kannst Du Dir, falls Du nicht mehr weiter kommst, mit
`/help server` einen Hilfstext anzeigen lassen.
[[irc_server_options]]
@@ -88,25 +88,26 @@ Setzen eigener IRC-Server Optionen
----------------------------------
WeeChat verwendet Vorgabewerte fĂĽr alle Server (so genannte "fall backs") falls
Du keine eigenen Werte fĂĽr entsprechende Server-Optionen bestimmst.
Diese Vorgabeoptionen sind "irc.server_default.*".
Du keine eigenen Werte fĂĽr entsprechende Server-Optionen bestimmt haben solltest.
Diese Vorgabeoptionen sind "irc.server_default.*".
FĂĽr jede Server-Option benutzt WeeChat den entsprechend gesetzten Wert - falls
definiert (nicht "null"). Andernfalls verwendet WeeChat Vorgabewerte
("irc.server_default.xxx").
("irc.server_default.xxx").
Als Beispiel erwähnt seien die Vorgabe (default) nicks, die auf dem Un*x Login
basieren. Diese können nun für oftc-Server mittels folgendem Befehl
Als Beispiel erwähnt ist die Vorgabe (default) nicks, die auf dem Un*x Login
basiert. Diese Vorgabe kann nun fĂĽr den oftc-Server mittels folgendem Befehl
ĂĽberschrieben werden:
/set irc.server.oftc.nicks "mynick1,mynick2,mynick3,mynick4,mynick5"
Um den User-Namen und wirklichen Namen zu setzen:
Um einen User- und realen Namen zu setzen:
/set irc.server.oftc.username "Mein User-Name"
/set irc.server.oftc.realname "Mein wirklicher Name"
Aktivieren des automatischen Verbindens mit dem Server beim Start von WeeChat:
Um beim Start von WeeChat automatisch eine Verbindung zu einem Server
herzustellen:
/set irc.server.oftc.autoconnect on
@@ -146,12 +147,12 @@ sich mit ihm zu verbinden ohne den Befehl `/server` zu benutzen (sollte ich
wiederholen, dass Du die Hilfe zu diesem Befehl mit `/help connect` aufrufen
kannst?).
Generell werden die Server-Puffer und der Puffer des Kerns von WeeChat -der
core-Puffer- zusammengelegt. Um zwischen den core-Puffer und den Server-Puffern
Standardmäßig werden die Server-Buffer und der Buffer des Kerns von WeeChat -der
core-Buffer- zusammengelegt. Um zwischen dem core-Buffer und den Server-Buffern
umzuschalten kannst Du ctrl-X benutzen.
Es ist möglich das automatische Zusammenlegen der Server-Puffer zu deaktivieren
um eigenständig Puffer zu haben:
Es ist möglich das automatische Zusammenlegen der Server-Buffer zu deaktivieren
um eigenständige Buffer zu haben:
/set irc.look.server_buffer independent
@@ -164,33 +165,33 @@ Betreten/verlassen der IRC-Channel
Einen Channel betreten
`/part [quit message]`::
Einen Channel verlassen (der Puffer bleibt geöffnet)
Einen Channel verlassen (der Buffer bleibt geöffnet)
`/close [quit message]`::
SchlieĂźen eines Server- oder Channel-Puffers (`/close` ist ein Alias fĂĽr `/buffer close`)
SchlieĂźen eines Server- oder Channel-Buffers (`/close` ist ein Alias fĂĽr `/buffer close`)
[[buffer_window]]
Puffer/Fenster Verwaltung
Buffer/Fenster Verwaltung
-------------------------
Ein Puffer ist eine, zu einem Plugin mit einer Nummer, einer Kategorie und einem
Namen, verbundene Komponente. Ein Puffer beinhaltet die auf dem Bildschirm
Ein Buffer ist eine, Erweiterung mit einer Nummer, einer Kategorie und einem
Namen, verbundene Komponente. Ein Buffer beinhaltet die auf dem Bildschirm
dargestellten Daten.
Ein Fenster ist die Ansicht eines Puffers. Standard ist ein Fenster, das einen
Puffer darstellt. Wenn Du den Bildschirm aufteilst, wirst Du mehrere Fenster mit
mehreren Puffer gleichzeitig sehen.
Ein Fenster ist die Ansicht eines Buffers. Standard ist ein Fenster, das einen
Buffer darstellt. Wenn Du den Bildschirm aufteilst wirst Du mehrere Fenster mit
mehreren Buffer gleichzeitig sehen.
Befehle, welche Puffer und Fenster verwalten:
Befehle, welche Buffer und Fenster verwalten:
/buffer
/window
(Ich will jetzt nicht wiederholen, dass Du zu diesen Befehlen Hilfe mit /help
erhalten kannst)
(Ich muss jetzt nicht wiederholen dass Du zu diesen Befehlen eine Hilfe mit /help
zu erhalten ist)
Ein Beispiel, um Deinen Bildschirm vertikal in ein kleines Fenster (1/3 Höhe)
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
@@ -200,25 +201,25 @@ und ein großes Fenster (2/3 Höhe) aufzuteilen, benutze diesen Befehl:
Tastaturbelegung
----------------
WeeChat verwendet viele Standardtasten. Alle diese Belegungen sind in der
Dokumentation beschrieben, doch solltest Du mindestens einige wesentliche
Belegungen kennen:
WeeChat verwendet viele Standardtasten. Alle Tastenbelegungen sind in der
Dokumentation beschrieben. Im folgenden werden die wichtigsten Tastenbelegungen
kurz erläutert:
- 'alt + linker/rechter Pfeil' (oder 'F5'/'F6'): umschalten zum
vorherigen/nächsten Puffer
vorherigen/nächsten Buffer
- 'F7'/'F8': umschalten zum vorherigen/nächsten Fenster (falls der Bildschirm
aufgeteilt ist)
- 'F9'/'F10': scrolle die Titleleiste
- 'F11'/'F12': scrolle die Liste der Nicks
- 'tab': komplettiere den Text in der Eingabeleiste, ähnlich Deiner shell
- 'Seite rauf/runter': scrolle den Text im aktiven Puffer
- 'alt + A': springe zum Puffer mit Aktivität (aus der Hotlist)
- 'F9'/'F10': scrollt die Titleleiste
- 'F11'/'F12': scrollt die Liste der Nicks
- 'tab': komplettiert den Text in der Eingabezeile, ähnlich Deiner shell
- 'Seite rauf/runter': scrollt den Text im aktiven Buffer
- 'alt + A': springt zum Buffer mit Aktivität (aus der Hotlist)
Gemäß Deiner Tastatur und/oder Deinen Bedürfnissen kannst Du jede Taste mittels
des Befehls `/key` neu mit einem Befehl belegen.
Gemäß Deiner Tastatur und/oder Deinen Bedürfnissen kann jede Taste mit Hilfe
des `/key` Befehls durch einen Befehl neu belegt werden.
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`:
Beispiel: Belegung von meta-y (alt-y) mit dem Befehl `/buffer close`:
/key bind (drĂĽcke meta-k) (drĂĽcke meta-y) /buffer close
@@ -232,27 +233,27 @@ Entfernen der Belegung:
[[plugins_scripts]]
Plugins/Scripte
---------------
Erweiterungen/Skripten
----------------------
Bei einige Distributionen wie Debian, sind Plugins ĂĽber separate Pakete
Bei einigen Distributionen wie z.B. Debian, sind die Erweiterungen ĂĽber separate Pakete
erhältlich (z.B. weechat-plugins).
Plugins werden -falls gefunden- automatisch geladen (Bitte beachte die
Dokumentation zum Laden/Entladen von Plugins oder Skripten).
Erweiterungen werden -sofern welche gefunden worden sind- automatisch geladen (Bitte beachte
die Dokumentation zum Laden/Entladen von Erweiterungen oder Skripten).
Einige Plugins ermöglichen die Verwendung von Scripten in WeeChat (in mehreren
Sprachen wie Perl, Python, Ruby, Lua und TCL). Diese Plugins mĂĽssen mit dem
Einige Erweiterungen ermöglichen die Verwendung von Skripten in WeeChat (unterstützte
Sprachen sind Perl, Python, Ruby, Lua und TCL). Diese Erweiterungen mĂĽssen mit dem
Befehl `/plugin` geladen werden und verfĂĽgen ihrerseits ĂĽber Befehle wie z.B.
`/perl` um Scripte zu laden.
`/perl` um Perl-Skripten zu laden.
Viele externe Plugins/Scripte (der Mitarbeitenden) sind fĂĽr WeeChat verfĂĽgbar,
Viele externe Erweiterungen/Skripten (der Mitarbeitenden) sind fĂĽr WeeChat verfĂĽgbar,
siehe: http://www.weechat.org/scripts
Der einfachste Weg um Scripte zu installieren ist die verwendung von 'weeget.py':
Der einfachste Weg um Skripten zu installieren ist die Verwendung von 'weeget.py':
werden
. herunterladen und kopieren von 'weeget.py' nach ~/.weechat/python/autoload/
. laden des Scriptes: `/python autoload`
. Liste der Scripte: `/weeget list` (Hilfe mit: `/help weeget`)
. laden des Skript: `/python autoload`
. Liste der Skripten: `/weeget list` (Hilfe mit: `/help weeget`)
[[more_doc]]
+817
View File
@@ -0,0 +1,817 @@
WeeChat Scripting Guide
=======================
Sébastien Helleu <flashcode@flashtux.org>
Diese Anleitung beschreibt den WeeChat Chat Client und ist Teil von WeeChat.
Die aktuelle Version dieser Anleitung finden Sie auf:
http://www.weechat.org/doc
[[introduction]]
Einleitung
----------
WeeChat (Wee Enhanced Environment for Chat) ist ein freier, schneller und
schlanker Chat-Client der fĂĽr viele Betriebssysteme entwickelt wird.
Diese Anleitung beschreibt die Vorgehensweise um Skripten fĂĽr WeeChat zu
erstellen. Dabei werden fĂĽnf Skriptsprachen unterstĂĽtzt: perl, python,
ruby, lua und tcl.
[NOTE]
Beinahe alle Beispiele in dieser Dokumentation beziehen sich auf Python.
Allerdings ist die API fĂĽr alle Skriptsprachen nahezu identisch.
[[scripts_in_weechat]]
Skripten in WeeChat
-------------------
[[languages_specifities]]
Besonderheiten der einzelnen Skriptsprachen
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Es existieren einige Besonderheiten fĂĽr jede Skriptsprache:
* perl:
** Funktionen werden im Format `weechat::xxx(arg1, arg2, ...);` ausgefĂĽhrt
* python:
** WeeChat muss als Modul eingebunden werden: `import weechat`
** Um die WeeChat Funktion `print*` nutzen zu können muss `prnt*` genutzt
werden ('print' ist ein reservierter Befehl von Python!)
** Funktionen werden im Format `weechat.xxx(arg1, arg2, ...)` ausgefĂĽhrt
* ruby:
** Es muss 'weechat_init' definiert und darin die Funktion 'register' ausgefĂĽhrt werden
** Funktionen werden im Format `Weechat.xxx(arg1, arg2, ...)` ausgefĂĽhrt
* tcl:
** Funktionen werden im Format `weechat::xxx arg1 arg2 ...` ausgefĂĽhrt
[[register_function]]
Die "Register" Funktion
~~~~~~~~~~~~~~~~~~~~~~~
Jedes WeeChat Skript muss sich bei WeeChat "registrieren". Die "register" Funktion
muss deshalb der erste WeeChat Befehl sein der durch das Skript genutzt wird.
Prototyp:
[source,python]
----------------------------------------
weechat.register(Name, Author, Version, Lizenz, Beschreibung, Shutdown_Funktion, Zeichensatz)
----------------------------------------
Argumente:
* 'name': interner Name des Skripts (String)
* 'author': Name des Authors (String)
* 'version': Version des Skripts (String)
* 'license': Lizenz fĂĽr das Skripts (String)
* 'description': kurze Beschreibung des Skripts (String)
* 'shutdown_function': Name der Funktion die beim Beenden des Skripts aufgerufen werden soll (String)
* 'charset': Skript Zeichensatz (optional, liegt das Skript im UTF-8 Format vor kann dieser Wert
leer bleiben. UTF-8 ist der Standardzeichensatz) (String)
Beispielskripten, fĂĽr jede Sprache:
* perl:
[source,perl]
----------------------------------------
weechat::register("test_perl", "FlashCode", "1.0", "GPL3", "Test Skript", "", "");
weechat::print("", "Hallo, von einem perl Skript!");
----------------------------------------
* python:
[source,python]
----------------------------------------
import weechat
weechat.register("test_python", "FlashCode", "1.0", "GPL3", "Test Skript", "", "")
weechat.prnt("", "Hallo, von einem python Skript!")
----------------------------------------
* ruby:
[source,ruby]
----------------------------------------
def weechat_init
Weechat.register("test_ruby", "FlashCode", "1.0", "GPL3", "Test Skript", "", "")
Weechat.print("", "Hallo, von einem ruby Skript!")
return Weechat::WEECHAT_RC_OK
end
----------------------------------------
* lua:
[source,lua]
----------------------------------------
weechat.register("test_lua", "FlashCode", "1.0", "GPL3", "Test Skript", "", "")
weechat.print("", "Hallo, von einem lua Skript!")
----------------------------------------
* tcl:
// [source,tcl]
----------------------------------------
weechat::register "test_tcl" "FlashCode" "1.0" "GPL3" "Test Skript" "" ""
weechat::print "" "Hallo, von einem tcl Skript!"
----------------------------------------
[[load_script]]
Laden von Skripten
~~~~~~~~~~~~~~~~~~
Der Befehl zum Laden von Skripten ist davon abhängig welche Skriptsprache
genutzt werden soll:
----------------------------------------
/perl load perl/skript.pl
/python load python/skript.py
/ruby load ruby/skript.rb
/lua load lua/skript.lua
/tcl load tcl/skript.tcl
----------------------------------------
Um Skripten automatisch beim Start von WeeChat zu laden kann man einen Link
in das Verzeichnis 'Skriptsprache/autoload' setzen.
Ein Beispiel fĂĽr ein Python-Skript:
----------------------------------------
$ cd ~/.weechat/python/autoload
$ ln -s ../script.py
----------------------------------------
[[differences_with_c_api]]
Unterschiede zur C API
----------------------
Die Skripten API ist nahezu identisch mit der API der C Erweiterung.
Um einen Ăśberblick ĂĽber alle API Funktionen (Prototyp, Argumente,
RĂĽckgabe werte, Beispiele) zu erhalten werfen Sie einen Blick in
die 'WeeChat Plugin API Reference'.
Es ist wichtig dass man zwischen einer 'Erweiterung' und einem 'Skript'
unterscheidet: Eine 'Erweiterung' ist eine Binärdatei die kompiliert wurde
und mittels `/plugin` geladen wird. Ein 'Skript' ist eine Textdatei welche
durch eine Erweiterung z.B. 'python' mittels dem Befehl `/python` geladen
wird.
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
........................................
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
........................................
[[pointers]]
Pointer
~~~~~~~
Wie Sie vermutlich wissen existieren in Skripten keine "Pointer". Sendet nun
die API Funktion einen Pointer als RĂĽckgabewert an das Skript, dann wird der
Pointer in einen String konvertiert.
Beispiel: Falls eine Funktion den Pointer 0x1234ab56 zurück gibt erhält das
Skript einen String in der Form "0x1234ab56".
Erwartet die API Funktion als Argument einen Pointer, dann muss das Skript diesen
Pointer als String ĂĽbergeben. Die C Erweiterung konvertiert den String in einen
echten Pointer bevor die C API Funktion ausgefĂĽhrt wird.
Ein leerer String oder "0x0" sind hierbei erlaubt. Beides wird in C als NULL interpretiert.
Im folgenden ein Beispiel um Daten im Core Buffer (WeeChat Hauptbuffer) auszugeben:
[source,python]
----------------------------------------
weechat.prnt("", "Hi!")
----------------------------------------
[WARNING]
Aus GrĂĽnden der Geschwindigkeit wird in vielen Funktionen darauf verzichtet
die Pointer auf ihre Korrektheit zu ĂĽberprĂĽfen. Es obliegt Ihrer Verantwortung
einen gĂĽltigen Pointer zu ĂĽbergeben. Sollten Sie dies nicht beachten dann werden
Sie mit einem netten Crash-Report belohnt ;)
[[callbacks]]
Callbacks
~~~~~~~~~
Beinahe alle WeeChat Callbacks mĂĽssen entweder WEECHAT_RC_OK oder WEECHAT_RC_ERROR als
Ergebnis zurĂĽck liefern. Eine Ausnahme bildet das modifier Callback, hier wird ein
String als RĂĽckgabewert erwartet.
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:
[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)
return weechat.WEECHAT_RC_OK
----------------------------------------
[[script_api]]
Skript API
----------
Um weiterfĂĽhrende Informationen zu den API Funktionen zu erhalten
lesen Sie bitte 'WeeChat Plugin API Reference'.
[[script_api_functions]]
Funktionen
~~~~~~~~~~
Liste der Skript API Funktionen:
[width="100%",cols="^1,10",options="header"]
|========================================
| Kategorie | Funktionen
| Allgemein |
register
| Erweiterungen |
plugin_get_name
| Strings |
charset_set, iconv_to_internal, iconv_from_internal, gettext, ngettext, +
string_match, string_has_highlight, string_mask_to_regex,
string_remove_color, string_is_command_char, string_input_for_buffer
| Verzeichnisse |
mkdir_home, mkdir, mkdir_parents
| sortierte Listen |
list_new, list_add, list_search, list_casesearch, list_get, list_set,
list_next, list_prev, list_string, list_size, list_remove, list_remove_all,
list_free
| Konfigurationsdatei |
config_new, config_new_section, config_search_section, config_new_option,
config_search_option, +
config_string_to_boolean, config_option_reset, config_option_set,
config_option_set_null, config_option_unset, config_option_rename,
config_option_is_null, config_option_default_is_null, +
config_boolean, config_boolean_default, config_integer, config_integer_default,
config_string, config_string_default, config_color, config_color_default, +
config_write_option, config_write_line, config_write, config_read,
config_reload, +
config_option_free, config_section_free_options, config_section_free,
config_free, +
config_get, config_get_plugin, config_is_set_plugin, config_set_plugin,
config_unset_plugin
| Ausgabe |
prefix, color, print (fĂĽr Python: prnt), print_date_tags (fĂĽr Python:
prnt_date_tags), print_y (fĂĽr Python: prnt_y), log_print
| Hooks |
hook_command, hook_command_run, hook_timer, hook_fd, hook_process,
hook_connect, hook_print, hook_signal, hook_signal_send, hook_hsignal,
hook_hsignal_send, hook_config, hook_completion, hook_completion_list_add,
hook_modifier, hook_modifier_exec, hook_info, hook_info_hashtable,
hook_infolist, unhook, unhook_all
| Buffer |
buffer_new, current_buffer, buffer_search, buffer_search_main, buffer_clear,
buffer_close, buffer_merge, buffer_unmerge, buffer_get_integer,
buffer_get_string, buffer_get_pointer, buffer_set,
buffer_string_replace_local_var
| Fenster |
current_window, window_get_integer, window_get_string, window_get_pointer,
window_set_title
| Nickliste |
nicklist_add_group, nicklist_search_group, nicklist_add_nick,
nicklist_search_nick, nicklist_remove_group, nicklist_remove_nick,
nicklist_remove_all, nicklist_group_get_integer, nicklist_group_get_string,
nicklist_group_get_pointer, nicklist_group_set, nicklist_nick_get_integer,
nicklist_nick_get_string, nicklist_nick_get_pointer, nicklist_nick_set
| Bars |
bar_item_search, bar_item_new, bar_item_update, bar_item_remove, bar_search,
bar_new, bar_set, bar_update, bar_remove
| Befehle |
command
| Informationen |
info_get, info_get_hashtable
| Infolisten |
infolist_new, infolist_new_item, infolist_new_var_integer,
infolist_new_var_string, infolist_new_var_pointer, infolist_new_var_time, +
infolist_get, infolist_next, infolist_prev, infolist_reset_item_cursor, +
infolist_fields, infolist_integer, infolist_string, infolist_pointer, +
infolist_time, infolist_free
| Upgrade |
upgrade_new, upgrade_write_object, upgrade_read, upgrade_close
|========================================
[[script_api_constants]]
Konstanten
~~~~~~~~~~
Liste der Konstanten in Skript API:
[width="100%",cols="^1,10",options="header"]
|========================================
| Kategorie | Konstanten
| return codes |
WEECHAT_RC_OK, WEECHAT_RC_OK_EAT, WEECHAT_RC_ERROR
| Konfigurationsdatei |
WEECHAT_CONFIG_READ_OK, WEECHAT_CONFIG_READ_MEMORY_ERROR,
WEECHAT_CONFIG_READ_FILE_NOT_FOUND, WEECHAT_CONFIG_WRITE_OK,
WEECHAT_CONFIG_WRITE_ERROR, WEECHAT_CONFIG_WRITE_MEMORY_ERROR, +
WEECHAT_CONFIG_OPTION_SET_OK_CHANGED, WEECHAT_CONFIG_OPTION_SET_OK_SAME_VALUE,
WEECHAT_CONFIG_OPTION_SET_ERROR, WEECHAT_CONFIG_OPTION_SET_OPTION_NOT_FOUND,
WEECHAT_CONFIG_OPTION_UNSET_OK_NO_RESET, WEECHAT_CONFIG_OPTION_UNSET_OK_RESET,
WEECHAT_CONFIG_OPTION_UNSET_OK_REMOVED, WEECHAT_CONFIG_OPTION_UNSET_ERROR
| sortierte Listen |
WEECHAT_LIST_POS_SORT, WEECHAT_LIST_POS_BEGINNING, WEECHAT_LIST_POS_END
| Hotlist |
WEECHAT_HOTLIST_LOW, WEECHAT_HOTLIST_MESSAGE, WEECHAT_HOTLIST_PRIVATE,
WEECHAT_HOTLIST_HIGHLIGHT
| hook Prozesse |
WEECHAT_HOOK_PROCESS_RUNNING, WEECHAT_HOOK_PROCESS_ERROR
| hook Connect |
WEECHAT_HOOK_CONNECT_OK, WEECHAT_HOOK_CONNECT_ADDRESS_NOT_FOUND,
WEECHAT_HOOK_CONNECT_IP_ADDRESS_NOT_FOUND, WEECHAT_HOOK_CONNECT_CONNECTION_REFUSED,
WEECHAT_HOOK_CONNECT_PROXY_ERROR, WEECHAT_HOOK_CONNECT_LOCAL_HOSTNAME_ERROR,
WEECHAT_HOOK_CONNECT_GNUTLS_INIT_ERROR, WEECHAT_HOOK_CONNECT_GNUTLS_HANDSHAKE_ERROR,
WEECHAT_HOOK_CONNECT_MEMORY_ERROR
| hook Signal |
WEECHAT_HOOK_SIGNAL_STRING, WEECHAT_HOOK_SIGNAL_INT, WEECHAT_HOOK_SIGNAL_POINTER
|========================================
[[common_tasks]]
Gemeinschaftsaufgabe
--------------------
Dieses Kapitel beinhaltet einige Aufgaben mit Lösungsbeispielen.
Die Skript API wird dabei nur sehr oberflächlich besprochen.Um eine vollständige
Ăśbersicht aller Befehle zu erhalten nutzen Sie bitte die 'WeeChat Plugin API Reference'.
[[buffers]]
Buffer
~~~~~~
[[buffers_display_messages]]
Nachrichten anzeigen
^^^^^^^^^^^^^^^^^^^^
Eine leere Zeichenkette wird häufig verwendet um den WeeChat Core Buffer zu nutzen.
Möchten Sie einen anderen Buffer nutzen dann muss der Pointer dieses Buffers verwendet
werden (Ăśbergabe als String, siehe <<pointers,Pointer>>).
Beispiele:
[source,python]
----------------------------------------
# Gibt den Text "Hallo" im Core Buffer aus
weechat.prnt("", "Hallo")
# Gibt den Text "Hallo" im Core Buffer aus, schreibt diesen aber nicht in die Protokolldatei
# (nur Version >= 0.3.3)
weechat.prnt_date_tags("", 0, "no_log", "hello")
# Gibt den Präfix "==>" gefolgt von dem Text "Hallo" im aktuellen Buffer aus
# (Präfix und Text müssen durch ein Tab getrennt werden)
weechat.prnt(weechat.current_buffer(), "==>\tHallo")
# Gibt eine Fehlermeldung im Core Buffer aus (mit Präfix für Fehler)
weechat.prnt("", "%sfalsche Anzahl an Argumenten" % weechat.prefix("error"))
# Gibt eine farbige Nachricht im Core Buffer aus
weechat.prnt("", "Text %sGeld auf Blau" % weechat.color("yellow,blue"))
# sucht einen bestimmten Buffer und gibt dort einen Text aus
# (der Name des Buffers muss folgendes Format besitzen Erweiterung.Name, Beispiel: "irc.freenode.#weechat")
buffer = weechat.buffer_search("irc", "freenode.#weechat")
weechat.prnt(buffer, "Nachricht im #weechat Channel")
# die zweite Möglichkeit einen Buffer zu suchen (empfohlen!)
# (bitte beachten Sie dass der Server- und Channelname durch ein Komma zu trennen sind)
buffer = weechat.info_get("irc_buffer", "freenode,#weechat")
weechat.prnt(buffer, "Nachricht im #weechat Channel")
----------------------------------------
[NOTE]
Die print Funktion heiĂźt in Perl/Ruby/Lua/Tcl `print`. In Python lautet die Funktion `prnt`.
[[buffers_send_text]]
Text in einen Buffer senden
^^^^^^^^^^^^^^^^^^^^^^^^^^^
Sie können einen Text oder einen Befehl zu einem Buffer senden. Dies entspricht exakt dem
Verhalten als ob Sie einen Text oder einen Befehl in der Befehlszeile eingeben und diesen
mit der [Enter] Taste bestätigen.
Beispiele:
[source,python]
----------------------------------------
# fĂĽhrt den Befehl "/help" im Core Buffer aus
weechat.command("", "/help")
# sendet den Text "Hallo" in den IRC Channel #weechat (die Teilnehmer des Channels sehen diese Nachricht)
buffer = weechat.info_get("irc_buffer", "freenode,#weechat")
weechat.command(buffer, "Hallo")
----------------------------------------
[[buffers_new]]
neuen Buffer öffnen
^^^^^^^^^^^^^^^^^^^
Sie können aus Ihrem Skript einen neuen Buffer öffnen um dort Nachrichten auszugeben.
Zwei Callbacks können aufgerufen werden (diese sind optional): der erste Callback dient dazu
eine Routine aufzurufen sobald ein Text eingegeben und mit [Enter] bestätigt wird. Der zweite
Callback ruft eine Routine auf die beim SchlieĂźen des Buffers ausgefĂĽhrt wird (zum Beispiel
wenn `/buffer close` genutzt wurde).
Beispiele:
[source,python]
----------------------------------------
# Callback falls Daten aus der Eingabezeile empfangen wurden
def buffer_input_cb(data, buffer, input_data):
# ...
return weechat.WEECHAT_RC_OK
# Callback falls der Buffer geschlossen wurde
def buffer_close_cb(data, buffer):
# ...
return weechat.WEECHAT_RC_OK
# neuen Buffer öffnen
buffer = weechat.buffer_new("Mein_Buffer", "buffer_input_cb", "", "buffer_close_cb", "")
# Ăśberschrift fĂĽr Buffer bestimmen
weechat.buffer_set(buffer, "Titel", "Dies ist die Ăśberschrift fĂĽr meinen Buffer")
# deaktiviert die Protokollierung. Dazu wird die lokale Variable "no_log" auf "1" gesetzt
weechat.buffer_set(buffer, "localvar_set_no_log", "1")
----------------------------------------
[[buffers_properties]]
Eigenschaften von Buffern
^^^^^^^^^^^^^^^^^^^^^^^^^
Die verschiedenen Eigenschaften von Buffern können in Form eines Strings, Integer oder als Pointer
vorliegen und gelesen werden.
Beispiele:
[source,python]
----------------------------------------
buffer = weechat.current_buffer()
nummer = weechat.buffer_get_integer(buffer, "number")
name = weechat.buffer_get_string(buffer, "name")
kurz_name = weechat.buffer_get_string(buffer, "short_name")
----------------------------------------
Es ist möglich lokale Variablen eines Buffers hinzuzufügen, zu
lesen oder zu löschen:
[source,python]
----------------------------------------
# lokale Variable hinzufĂĽgen
weechat.buffer_set(buffer, "localvar_set_meinevariable", "mit_meinem_Wert")
# lokale Variable lesen
meine_variable = weechat.buffer_get_string(buffer, "localvar_meinevariable")
# lokale Variable löschen
weechat.buffer_set(buffer, "localvar_del_meinevariable", "")
----------------------------------------
Um zu sehen welche lokalen Variablen fĂĽr einen Buffer gesetzt sind fĂĽhren Sie
bitte in WeeChat folgenden Befehl aus:
----------------------------------------
/buffer localvar
----------------------------------------
[[hooks]]
Hooks
~~~~~
[[hook_command]]
neuen Befehl hinzufĂĽgen
^^^^^^^^^^^^^^^^^^^^^^^
Erstellt mittels `hook_command` einen benutzerdefinierten Befehl. Dabei kann
eine benutzerdefinierte Vervollständigung der Argumente genutzt werden.
Beispiel:
[source,python]
----------------------------------------
def mein_befehl_cb(data, buffer, args):
# ...
return weechat.WEECHAT_RC_OK
hook = weechat.hook_command("meinfilter", "Beschreibung meines Filters",
"[list] | [enable|disable|toggle [name]] | [add name plugin.buffer tags regex] | [del name|-all]",
"Beschreibung der Argumente...",
"list"
" || enable %(filters_names)"
" || disable %(filters_names)"
" || toggle %(filters_names)"
" || add %(filters_names) %(buffers_plugins_names)|*"
" || del %(filters_names)|-all",
"mein_befehl_cb", "")
----------------------------------------
Der Befehl wird dann in WeeChat wie folgt genutzt:
----------------------------------------
/help meinfilter
/meinfilter Argumente...
----------------------------------------
[[hook_timer]]
Nutzung des Timers
^^^^^^^^^^^^^^^^^^
Mittels `hook_timer` wird eine Zeitfunktion implementiert.
Beispiele:
[source,python]
----------------------------------------
def timer_cb(data, remaining_calls):
# ...
return weechat.WEECHAT_RC_OK
# Timer wird jede Minute aufgerufen (wenn die Sekunden auf 00 springen)
weechat.hook_timer(60 * 1000, 60, 0, "timer_cb", "")
----------------------------------------
[[hook_process]]
Hintergrundprozesse
^^^^^^^^^^^^^^^^^^^
Mit der Funktion `hook_process` kann ein Hintergrundprozess gestartet werden.
Der Callback wird aufgerufen sobald der Hintergrundprozess abgearbeitet wurde.
Dies kann auch mehrfach der Fall sein.
FĂĽr den letzten Aufruf des Callback wird 'rc' auf 0 oder einen positiven Wert
gesetzt. Dies ist der Return Code des Befehls.
Beispiele:
[source,python]
----------------------------------------
# Zeigt die Versionen der Linux-Kerne.
kernel_txt = ""
def kernel_process_cb(data, command, rc, stdout, stderr):
""" Callback reading command output. """
global kernel_txt
if stdout != "":
kernel_txt += stdout
if int(rc) >= 0:
weechat.prnt("", kernel_txt)
return weechat.WEECHAT_RC_OK
weechat.hook_process("python -c \"import urllib; "
"print urllib.urlopen('http://www.kernel.org/kdist/finger_banner').read()\"",
10 * 1000, "kernel_process_cb", "")
----------------------------------------
[[config_options]]
Konfiguration / Optionen
~~~~~~~~~~~~~~~~~~~~~~~~
[[config_options_set_script]]
Optionen von Skripten setzen
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Die Funktion `config_is_set_plugin` wird dazu benutzt um zu testen ob eine Option
gesetzt ist oder nicht. Mit der Funktion `config_set_plugin` wird eine Option gesetzt.
Beispiele:
[source,python]
----------------------------------------
skript_optionen = {
"Option1" : "Wert1",
"Option2" : "Wert2",
"Option3" : "Wert3",
}
for option, default_value in skript_optionen.iteritems():
if not weechat.config_is_set_plugin(option):
weechat.config_set_plugin(option, standardwert)
----------------------------------------
[[config_options_detect_changes]]
Veränderungen bemerken
^^^^^^^^^^^^^^^^^^^^^^
Die Funktion `hook_config` wird dazu benutzt um festzustellen falls ein Anwender
eine Option des Skripts verändert hat.
Beispiele:
[source,python]
----------------------------------------
SKRIPT_NAME = "meinskript"
# ...
def config_cb(data, option, value):
""" Callback welcher genutzt wird wenn eine Option verändert wurde. """
# zum Beispiel werden hier alle Optionen des Skripts in die entsprechenden Variablen geschrieben...
# ...
return weechat.WEECHAT_RC_OK
# ...
weechat.hook_config("plugins.var.python." + SKRIPT_NAME + ".*", "config_cb", "")
# fĂĽr die jeweilige Programmiersprache muss "python" durch "perl", "ruby", "lua" oder "tcl" ersetzt werden.
----------------------------------------
[[config_options_weechat]]
WeeChat Optionen lesen
^^^^^^^^^^^^^^^^^^^^^^
Die Funktion `config_get` gibt einen Pointer zu einer Option zurück. Abhängig vom Typ der Option
muss entweder `config_string`, `config_boolean`, `config_integer` oder `config_color` genutzt werden.
[source,python]
----------------------------------------
# string
weechat.prnt("", "Wert der Option weechat.look.item_time_format ist: %s"
% (weechat.config_string(weechat.config_get("weechat.look.item_time_format"))))
# boolean
weechat.prnt("", "Wert der Option weechat.look.day_change ist: %d"
% (weechat.config_boolean(weechat.config_get("weechat.look.day_change"))))
# integer
weechat.prnt("", "Wert der Option weechat.look.scroll_page_percent ist: %d"
% (weechat.config_integer(weechat.config_get("weechat.look.scroll_page_percent"))))
# color
weechat.prnt("", "Wert der Option weechat.color.chat_delimiters ist: %s"
% (weechat.config_color(weechat.config_get("weechat.color.chat_delimiters"))))
----------------------------------------
[[irc]]
IRC
~~~
[[irc_catch_messages]]
Nachrichten abfangen
^^^^^^^^^^^^^^^^^^^^
Die IRC Erweiterung sendet zwei Signale wenn eine Nachricht empfangen wurde.
`xxx` ist der interne IRC Servername, `yyy` ist der IRC Befehl der empfangen
wurde (JOIN, QUIT, PRIVMSG, 301, ..):
xxxx,irc_in_yyy::
Signal wird gesendet bevor die Nachricht verarbeitet wurde.
xxx,irc_in2_yyy::
Signal wird gesendet nachdem die Nachricht verarbeitet wurde.
[source,python]
----------------------------------------
def join_cb(data, signal, signal_data):
# Das Signal lautet: "freenode,irc_in2_join"
# signal_data enthält die IRC Nachricht, zum Beispiel: ":nick!user@host JOIN :#channel"
nick = weechat.info_get("irc_nick_from_host", signal_data)
server = signal.split(",")[0]
channel = signal_data.split(":")[-1]
buffer = weechat.info_get("irc_buffer", "%s,%s" % (server, channel))
if buffer:
weechat.prnt(buffer, "Holla, %s hat den Channel betreten!" % nick)
return weechat.WEECHAT_RC_OK
# es ist sinnvoll als Server "*" anzugeben um alle JOIN Nachrichten von allen
# IRC Servern abzufangen
weechat.hook_signal("*,irc_in2_join", "join_cb", "")
----------------------------------------
[[irc_modify_messages]]
Modify messages
^^^^^^^^^^^^^^^
Die IRC Erweiterung verschickt einen "modifier" mit Namen "irc_in_xxx" ("xxx" steht fĂĽr den
Namen des IRC Befehls) um eine Nachricht zu empfangen die dann modifiziert werden kann.
[source,python]
----------------------------------------
def modifier_cb(data, modifier, modifier_data, string):
# fĂĽge den Namen des Server zu allen empfangenen Nachrichten hinzu
# (Okay dies ist nicht wirklich sinnvoll, aber es ist auch nur ein Beispiel!)
return "%s %s" % (string, modifier_data)
weechat.hook_modifier("irc_in_privmsg", "modifier_cb", "")
----------------------------------------
[WARNING]
Eine fehlerhafte Nachricht kann WeeChat zum Absturz bringen oder andere ernsthafte Probleme erzeugen!
[[irc_parse_message]]
Nachrichten parsen
^^^^^^^^^^^^^^^^^^
_Neu in Version 0.3.4._
Man kann IRC Nachrichten mittels einer info_hashtable mit dem Namen "irc_parse_message" parsen.
[source,python]
----------------------------------------
dict = weechat.info_get_hashtable("irc_parse_message",
{ "message": ":nick!user@host PRIVMSG #weechat :message here" })
weechat.prnt("", "dict: %s" % dict)
# output:
# dict: {'nick': 'nick', 'host': 'nick!user@host', 'command': 'PRIVMSG', 'arguments': '#weechat :message here', 'channel': '#weechat'}
----------------------------------------
[[infos]]
Infos
~~~~~
[[infos_weechat_version]]
WeeChat Version
^^^^^^^^^^^^^^^
Die sinnvollste Methode um die Version abzufragen ist die Nutzung
von "version_number". Das Ergebnis sollte mit einem hexadezimalen
Integer-Wert verglichen werden.
Beispiele:
[source,python]
----------------------------------------
version = weechat.info_get("version_number", "") or 0
if int(version) >= 0x00030200:
weechat.prnt("", "Es handelt sich um WeeChat 0.3.2 oder neuer")
else:
weechat.prnt("", "Es handelt sich um WeeChat 0.3.1 oder älter")
----------------------------------------
[NOTE]
Versionen < = 0.3.1.1 geben einen leeren String zurĂĽck wenn man 'info_get("version_number")'
aufruft. Deshalb mĂĽssen Sie prĂĽfen ob der RĂĽckgabe wert *nicht* leer ist.
Um die Version als String zu erhalten:
[source,python]
----------------------------------------
# Dies gibt z.B. "Version 0.3.2" im Core Buffer aus
weechat.prnt("", "Version %s" % weechat.info_get("version", ""))
----------------------------------------
[[infos_other]]
andere Informationen
^^^^^^^^^^^^^^^^^^^^
[source,python]
----------------------------------------
# WeeChat Hauptverzeichnis, zum Beispiel: "/home/xxxx/.weechat"
weechat.prnt("", "WeeChat Hauptverzeichnis: %s" % weechat.info_get("weechat_dir", ""))
# Inaktivität der Tastatur
weechat.prnt("", "Tastatur ist seit %s Sekunden nicht mehr betätigt worden" % weechat.info_get("inactivity", ""))
----------------------------------------
[[infolists]]
Infolisten
~~~~~~~~~~
[[infolists_read]]
Infoliste einlesen
^^^^^^^^^^^^^^^^^^
Es können Infolisten eingelesen werden die entweder von WeeChat oder von
Erweiterungen erstellt wurden.
Beispiele:
[source,python]
----------------------------------------
# Infoliste "buffer" einlesen, um eine Liste aller Buffer zu erhalten
infolist = weechat.infolist_get("buffer", "", "")
if infolist:
while weechat.infolist_next(infolist):
name = weechat.infolist_string(infolist, "name")
weechat.prnt("", "Buffer: %s" % name)
weechat.infolist_free(infolist)
----------------------------------------
[IMPORTANT]
Vergessen Sie bitte nicht `infolist_free` aufzurufen um den Speicher wieder
frei zu geben der durch die Infoliste belegt wurde. WeeChat gibt diesen Speicher
nicht von sich aus frei.
+33 -31
View File
@@ -1,6 +1,6 @@
WeeChat Tester's Guide
======================
FlashCode <flashcode@flashtux.org>
WeeChat Anleitung fĂĽr Testpersonen
==================================
Sébastien Helleu <flashcode@flashtux.org>
[[purpose]]
@@ -9,34 +9,36 @@ Intention
Viele dankbare Anwender fragen uns wie sie bei der Entwicklung von WeeChat
helfen können. Der einfachste (aber auch der kniffligste) Weg uns zu helfen ist:
Testen!
testen!
Testen ist ein sehr wichtiger Teil der Programmentwicklung und sollte daher
nicht unterbewertet werden. Wenn neue Features implementiert wurden, sollten sie
getestet werden. Für einige Features gibt es aber zu viele Möglichkeiten - oder
diese Möglichkeiten sind komplex und die Entwickler können nicht jede Variante
ausprobieren.
nicht unterbewertet werden. Wenn neue Funktionen implementiert wurden dann
mĂĽssen diese getestet werden. FĂĽr manche Funktionen gibt es sehr viele
verschiedene Problemstellungen, oder diese sind äußerst Umfangreich. Dadurch
können die Entwickler nicht jede einzelne Variante ausprobieren.
Ein Beispiel: Ein berĂĽchtigtes Zeichensatz-Plugin wurde in WeeChat 0.2.2
eingefĂĽhrt: Keiner von uns (Entwickler, Mithelfende und Tester) nutzen Channels
in den länderspezifische Zeichen in den Namen vorkamen, und als 0.2.2
freigegeben wurde, wurden wir ĂĽberschwemmt von russischen Usern, die uns dies
vorwarfen. Hätten wir mehr Tester, dann sollte so etwas nicht mehr passieren.
Ein Beispiel: Eine berĂĽchtigte Zeichensatz-Erweiterung wurde in WeeChat 0.2.2
eingefĂĽhrt. Keiner von uns, Entwickler, Mithelfende und Tester, nutzten Channels
in denen länderspezifische Zeichen im eigenen Namen Verwendung fanden. Somit wurde
die Version 0.2.2 freigegeben und wir bekamen daraufhin eine Flut von Beschwerden
durch russischen User, bei denen der Fehler sichtbar war. Hätten wir mehr Tester,
dann sollte so etwas nicht mehr passieren.
Eine stabile Version von WeeChat zu testen ist nutzlos, da die Entwickler
die ganze Zeit fleiĂźig neues Zeug implementieren (und alte Bugs fixen).
Eine stabile Version von WeeChat zu testen bringt uns leider nicht weiter da die
Entwickler in der Zwischenzeit neue Funktionen implementiert haben und vermutlich
alte Fehler schon behoben wurden.
[[prepare_system]]
Bereite Dein System vor
-----------------------
Sehr helfen wĂĽrde uns, wenn Du Linuxs 'core' Dateien aktivieren wĂĽrdest: wenn
WeeChat crasht wird Linux eine Datei Namens 'core' erzeugen. Diese Datei
Es wäre uns schon sehr damit geholfen wenn Du Linux 'core' Dateien aktivieren würdest.
Falls WeeChat abstĂĽrzen sollte wird eine Datei Namens 'core' erzeugt. Diese Datei
beinhaltet viele nĂĽtzliche Debug-Informationen um das genaue Problem in WeeChat
zu lokalisieren.
Falls Du die 'bash' als shell benutzt, ergänze Deine `~/.bashrc` mit folgender
Falls Du die 'bash' als shell benutzt, dann ergänze Deine `~/.bashrc` durch folgende
Zeile:
ulimit -c unlimited
@@ -46,15 +48,15 @@ Zeile:
Besorge Dir die Entwickler-Version
----------------------------------
Frischer Code (mit den letzten Bugs und Features) ist im GIT Repository
aktueller Programmcode (mit den aktuellen Fehlern und Funktionen) ist im GIT Repository
gespeichert.
Du könntest Dich ja dazu entscheiden es manuell zu bauen (empfohlen):
Du könntest Dich dazu entscheiden es manuell zu bauen (empfohlen):
* die GIT Version kann parallel zur stabilen Version gebaut und installiert
* die GIT Version kann parallel zur stabilen Version kompiliert und installiert
werden.
* Du benötigst keine Root-Rechte, und opfern brauchst Du Deine stabile Version
von WeeChat auch nicht.
von WeeChat auch nicht.
[[get_sources]]
Beschaffe und baue die Quellen
@@ -74,7 +76,7 @@ $ git clone git://git.sv.gnu.org/weechat.git
$ cd weechat
--------------------------------------------
NOTE: Um auf den neuesten Stand zukommen verwendest Du z.B. "`git pull`" in
NOTE: Um auf den aktuellen Stand zu kommen verwendest Du z.B. "`git pull`" in
diesem Ordner.
Ansonsten kannst Du das 'Entwickler-Paket' herunterladen und entpacken:
@@ -120,22 +122,22 @@ WeeChat starten
---------------
Es wird empfohlen WeeChat durch die Option `--dir` mit einem anderen Ordner zu
starten (nicht mit dem der stabilen Version).
starten (nicht mit dem Ordner der stabilen Version).
Die Befehlszeile lautet:
~/weechat-git/bin/weechat-curses --dir ~/.weechat-dev
Immer noch munter? Dann solltest Du jetzt das bekannte Interface sehen, und nun
Immer noch munter? Dann solltest Du jetzt das bekannte Interface sehen und nun
prahle vor Anderen, dass Du die neueste WeeChat-Version verwendest :)
Solltest Du nun ein merkwürdiges Verhalten bemerken (es könnte Probleme machen
oder crashen oder Dein Bier kochen) zögere nicht, komme in den Channel
`#weechat` auf `irc.freenode.net` (A.d.Ăś.: englischsprachig) und berichte uns
darĂĽber.
Solltest Du nun ein merkwürdiges Verhalten bemerken (es können diverse Probleme
oder Abstürze auftreten oder einfach Dein Bier überkochen) zögere nicht, komme
in den Channel `#weechat` auf `irc.freenode.net` (A.d.Ăś.: englischsprachig) und
berichte uns darĂĽber.
Auch wenn es nicht crasht - gib uns trotzdem Bescheid, wir brauchen Deine
RĂĽckmeldung!
Auch falls alles korrekt funktionieren sollte gib uns trotzdem Bescheid, wir
brauchen Deine RĂĽckmeldung!
[[links]]
NĂĽtzliche Links
File diff suppressed because it is too large Load Diff
+188 -39
View File
@@ -1,20 +1,23 @@
#
# Copyright (c) 2008-2010 by FlashCode <flashcode@flashtux.org>
# Copyright (C) 2008-2011 Sebastien Helleu <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# WeeChat is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
#
#
# Documentation generator for WeeChat: build include files with commands,
# options, infos and completions for WeeChat core and plugins.
#
@@ -28,8 +31,6 @@
# /docgen
# Files should be in ~/src/weechat/doc/xx/autogen/ (where xx is language)
#
# Script written on 2008-08-22 by FlashCode <flashcode@flashtux.org>
#
use strict;
@@ -53,7 +54,7 @@ my $version = "0.1";
my $default_path = "~/src/weechat/doc";
# list of locales for which we want to build XML doc files to include
my @locale_list = qw(en_US fr_FR it_IT);
my @all_locale_list = qw(en_US fr_FR it_IT de_DE);
# all commands/options/.. of following plugins will produce a file
# non-listed plugins will be ignored
@@ -62,14 +63,14 @@ my @locale_list = qw(en_US fr_FR it_IT);
# if plugin is listed without "c", that means plugin has only one command
# /name (where "name" # is name of plugin)
# Note: we consider core is a plugin called "weechat"
my %plugin_list = ("weechat" => "co", "alias" => "",
"aspell" => "o", "charset" => "co",
"demo" => "co", "fifo" => "co",
"irc" => "co", "logger" => "co",
"relay" => "co", "perl" => "",
"python" => "", "ruby" => "",
"lua" => "", "tcl" => "",
"xfer" => "co");
my %plugin_list = ("weechat" => "co", "alias" => "",
"aspell" => "o", "charset" => "co",
"demo" => "co", "fifo" => "co",
"irc" => "co", "logger" => "co",
"relay" => "co", "rmodifier" => "co",
"perl" => "", "python" => "",
"ruby" => "", "lua" => "",
"tcl" => "", "xfer" => "co");
# options to ignore
my @ignore_options = ("aspell\\.dict\\..*",
@@ -83,6 +84,8 @@ my @ignore_options = ("aspell\\.dict\\..*",
"logger\\.level\\..*",
"logger\\.mask\\..*",
"relay\\.port\\..*",
"rmodifier\\.modifier\\..*",
"weechat\\.palette\\..*",
"weechat\\.proxy\\..*",
"weechat\\.bar\\..*",
"weechat\\.debug\\..*",
@@ -91,24 +94,41 @@ my @ignore_options = ("aspell\\.dict\\..*",
# infos to ignore
my @ignore_infos_plugins = ();
# infos (hashtable) to ignore
my @ignore_infos_hashtable_plugins = ();
# infolists to ignore
my @ignore_infolists_plugins = ();
# completions to ignore
my @ignore_completions_plugins = ();
my @ignore_completions_items = ("jabber.*",
my @ignore_completions_items = ("docgen.*",
"jabber.*",
"weeget.*");
# for gettext
my $d;
# -------------------------------[ init ]--------------------------------------
weechat::register("docgen", "FlashCode <flashcode\@flashtux.org>", $version,
"GPL", "Doc generator for WeeChat 0.3.x", "", "");
weechat::hook_command("docgen", "Doc generator", "", "", "", "docgen", "");
weechat::register("docgen", "Sebastien Helleu <flashcode\@flashtux.org>", $version,
"GPL3", "Doc generator for WeeChat 0.3.x", "", "");
weechat::hook_command("docgen", "Doc generator",
"[locales]",
"locales: list of locales to build (by default build all locales)",
"%(docgen_locales)|%*", "docgen", "");
weechat::hook_completion("docgen_locales", "locales for docgen", "docgen_completion", "");
weechat::config_set_plugin("path", $default_path)
if (weechat::config_get_plugin("path") eq "");
# -----------------------------------------------------------------------------
# gettext
sub weechat_gettext
{
return $d->get($_[0]);
}
# get list of commands in a hash with 3 indexes: plugin, command, xxx
sub get_commands
{
@@ -165,6 +185,7 @@ sub get_options
$options{$config}{$section}{$option}{"default_value"} = weechat::infolist_string($infolist, "default_value");
$options{$config}{$section}{$option}{"min"} = weechat::infolist_integer($infolist, "min");
$options{$config}{$section}{$option}{"max"} = weechat::infolist_integer($infolist, "max");
$options{$config}{$section}{$option}{"null_value_allowed"} = weechat::infolist_integer($infolist, "null_value_allowed");
$options{$config}{$section}{$option}{"description"} = weechat::infolist_string($infolist, "description");
}
}
@@ -187,7 +208,7 @@ sub get_infos
my $plugin = weechat::infolist_string($infolist, "plugin_name");
$plugin = "weechat" if ($plugin eq "");
# check if infolist is ignored or not
# check if info is ignored or not
my $ignore = 0;
foreach my $mask (@ignore_infos_plugins)
{
@@ -197,6 +218,7 @@ sub get_infos
if ($ignore ne 1)
{
$infos{$plugin}{$info_name}{"description"} = weechat::infolist_string($infolist, "description");
$infos{$plugin}{$info_name}{"args_description"} = weechat::infolist_string($infolist, "args_description");
}
}
weechat::infolist_free($infolist);
@@ -204,6 +226,38 @@ sub get_infos
return %infos;
}
# get list of infos (hashtable) hooked by plugins in a hash with 3 indexes: plugin, name, xxx
sub get_infos_hashtable
{
my %infos_hashtable;
# get infos hooked
my $infolist = weechat::infolist_get("hook", "", "info_hashtable");
while (weechat::infolist_next($infolist))
{
my $info_name = weechat::infolist_string($infolist, "info_name");
my $plugin = weechat::infolist_string($infolist, "plugin_name");
$plugin = "weechat" if ($plugin eq "");
# check if info_hashtable is ignored or not
my $ignore = 0;
foreach my $mask (@ignore_infos_hashtable_plugins)
{
$ignore = 1 if ($plugin =~ /${mask}/);
}
if ($ignore ne 1)
{
$infos_hashtable{$plugin}{$info_name}{"description"} = weechat::infolist_string($infolist, "description");
$infos_hashtable{$plugin}{$info_name}{"args_description"} = weechat::infolist_string($infolist, "args_description");
$infos_hashtable{$plugin}{$info_name}{"output_description"} = weechat::infolist_string($infolist, "output_description");
}
}
weechat::infolist_free($infolist);
return %infos_hashtable;
}
# get list of infolists hooked by plugins in a hash with 3 indexes: plugin, name, xxx
sub get_infolists
{
@@ -227,6 +281,8 @@ sub get_infolists
if ($ignore ne 1)
{
$infolists{$plugin}{$infolist_name}{"description"} = weechat::infolist_string($infolist, "description");
$infolists{$plugin}{$infolist_name}{"pointer_description"} = weechat::infolist_string($infolist, "pointer_description");
$infolists{$plugin}{$infolist_name}{"args_description"} = weechat::infolist_string($infolist, "args_description");
}
}
weechat::infolist_free($infolist);
@@ -258,7 +314,7 @@ sub get_completions
$ignore = 1 if ($completion_item =~ /${mask}/);
}
if ($ignore ne 1)
if (($ignore ne 1) && ($completion_item ne ""))
{
$completions{$plugin}{$completion_item}{"description"} = weechat::infolist_string($infolist, "description");
}
@@ -285,9 +341,15 @@ sub escape_table
# build XML doc files (command /docgen)
sub docgen
{
my ($data, $buffer, $args) = ($_[0], $_[1], $_[2]);
my @locale_list = @all_locale_list;
@locale_list = split(/ /, $args) if ($args ne "");
my %plugin_commands = get_commands();
my %plugin_options = get_options();
my %plugin_infos = get_infos();
my %plugin_infos_hashtable = get_infos_hashtable();
my %plugin_infolists = get_infolists();
my %plugin_completions = get_completions();
@@ -301,6 +363,7 @@ sub docgen
my $num_files = 0;
my $num_files_updated = 0;
my $filename = "";
foreach my $locale (@locale_list)
{
my $num_files_commands = 0;
@@ -309,13 +372,15 @@ sub docgen
my $num_files_options_updated = 0;
my $num_files_infos = 0;
my $num_files_infos_updated = 0;
my $num_files_infos_hashtable = 0;
my $num_files_infos_hashtable_updated = 0;
my $num_files_infolists = 0;
my $num_files_infolists_updated = 0;
my $num_files_completions = 0;
my $num_files_completions_updated = 0;
setlocale(LC_MESSAGES, $locale.".UTF-8");
my $d = Locale::gettext->domain_raw("weechat");
$d = Locale::gettext->domain_raw("weechat");
$d->codeset("UTF-8");
$d->dir(weechat::info_get("weechat_localedir", ""));
@@ -391,6 +456,7 @@ sub docgen
my $default_value = $plugin_options{$config}{$section}{$option}{"default_value"};
my $min = $plugin_options{$config}{$section}{$option}{"min"};
my $max = $plugin_options{$config}{$section}{$option}{"max"};
my $null_value_allowed = $plugin_options{$config}{$section}{$option}{"null_value_allowed"};
my $description = $plugin_options{$config}{$section}{$option}{"description"};
$description = $d->get($description) if ($description ne "");
my $type_nls = $type;
@@ -414,21 +480,26 @@ sub docgen
}
if ($type eq "string")
{
$values = $d->get("any string") if ($max <= 0);
$values = $d->get("any char") if ($max == 1);
$values = $d->get("any string")." (".$d->get("max chars").": ".$max.")" if ($max > 1);
$values = weechat_gettext("any string") if ($max <= 0);
$values = weechat_gettext("any char") if ($max == 1);
$values = weechat_gettext("any string")." (".weechat_gettext("max chars").": ".$max.")" if ($max > 1);
$default_value = "\"".escape_string($default_value)."\"";
}
if ($type eq "color")
{
$values = $d->get("a color name");
$values = weechat_gettext("a color name");
}
print FILE "* *".$config.".".$section.".".$option."*\n";
print FILE "** ".$d->get("description").": ".$description."\n";
print FILE "** ".$d->get("type").": ".$type_nls."\n";
print FILE "** ".$d->get("values").": ".$values." "
."(".$d->get("default value").": ".$default_value.")\n\n";
print FILE "** ".weechat_gettext("description").": `".$description."`\n";
print FILE "** ".weechat_gettext("type").": ".$type_nls."\n";
print FILE "** ".weechat_gettext("values").": ".$values." "
."(".weechat_gettext("default value").": `".$default_value."`)\n";
if ($null_value_allowed eq 1)
{
print FILE "** ".weechat_gettext("undefined value allowed (null)")."\n";
}
print FILE "\n";
}
}
#weechat::print("", "docgen: file ok: '$filename'");
@@ -457,18 +528,22 @@ sub docgen
$filename = $dir."plugin_api/infos.txt";
if (open(FILE, ">".$filename.".tmp"))
{
print FILE "[width=\"65%\",cols=\"^1,^2,8\",options=\"header\"]\n";
print FILE "[width=\"100%\",cols=\"^1,^2,6,6\",options=\"header\"]\n";
print FILE "|========================================\n";
print FILE "| ".$d->get("Plugin")." | ".$d->get("Name")." | ".$d->get("Description")."\n";
print FILE "| ".weechat_gettext("Plugin")." | ".weechat_gettext("Name")
." | ".weechat_gettext("Description")." | ".weechat_gettext("Arguments")."\n\n";
foreach my $plugin (sort keys %plugin_infos)
{
foreach my $info (sort keys %{$plugin_infos{$plugin}})
{
my $description = $plugin_infos{$plugin}{$info}{"description"};
$description = $d->get($description) if ($description ne "");
my $args_description = $plugin_infos{$plugin}{$info}{"args_description"};
$args_description = $d->get($args_description) if ($args_description ne "");
$args_description = "-" if ($args_description eq "");
print FILE "| ".escape_table($plugin)." | ".escape_table($info)
." | ".escape_table($description)."\n\n";
." | ".escape_table($description)." | ".escape_table($args_description)."\n\n";
}
}
print FILE "|========================================\n";
@@ -493,22 +568,80 @@ sub docgen
weechat::print("", weechat::prefix("error")."docgen error: unable to write file '$filename'");
}
# write infos (hashtable) hooked
$filename = $dir."plugin_api/infos_hashtable.txt";
if (open(FILE, ">".$filename.".tmp"))
{
print FILE "[width=\"100%\",cols=\"^1,^2,6,6,6\",options=\"header\"]\n";
print FILE "|========================================\n";
print FILE "| ".weechat_gettext("Plugin")." | ".weechat_gettext("Name")
." | ".weechat_gettext("Description")." | ".weechat_gettext("Hashtable (input)")
." | ".weechat_gettext("Hashtable (output)")."\n\n";
foreach my $plugin (sort keys %plugin_infos_hashtable)
{
foreach my $info (sort keys %{$plugin_infos_hashtable{$plugin}})
{
my $description = $plugin_infos_hashtable{$plugin}{$info}{"description"};
$description = $d->get($description) if ($description ne "");
my $args_description = $plugin_infos_hashtable{$plugin}{$info}{"args_description"};
$args_description = $d->get($args_description) if ($args_description ne "");
$args_description = "-" if ($args_description eq "");
my $output_description = $plugin_infos_hashtable{$plugin}{$info}{"output_description"};
$output_description = $d->get($output_description) if ($output_description ne "");
$output_description = "-" if ($output_description eq "");
print FILE "| ".escape_table($plugin)." | ".escape_table($info)
." | ".escape_table($description)." | ".escape_table($args_description)
." | ".escape_table($output_description)."\n\n";
}
}
print FILE "|========================================\n";
#weechat::print("", "docgen: file ok: '$filename'");
my $rc = system("diff ".$filename." ".$filename.".tmp >/dev/null 2>&1");
if ($rc != 0)
{
system("mv -f ".$filename.".tmp ".$filename);
$num_files_updated++;
$num_files_infos_hashtable_updated++;
}
else
{
system("rm ".$filename.".tmp");
}
$num_files++;
$num_files_infos_hashtable++;
close(FILE);
}
else
{
weechat::print("", weechat::prefix("error")."docgen error: unable to write file '$filename'");
}
# write infolists hooked
$filename = $dir."plugin_api/infolists.txt";
if (open(FILE, ">".$filename.".tmp"))
{
print FILE "[width=\"65%\",cols=\"^1,^2,8\",options=\"header\"]\n";
print FILE "[width=\"100%\",cols=\"^1,^2,5,5,5\",options=\"header\"]\n";
print FILE "|========================================\n";
print FILE "| ".$d->get("Plugin")." | ".$d->get("Name")." | ".$d->get("Description")."\n";
print FILE "| ".weechat_gettext("Plugin")." | ".weechat_gettext("Name")
." | ".weechat_gettext("Description")." | ".weechat_gettext("Pointer")
." | ".weechat_gettext("Arguments")."\n\n";
foreach my $plugin (sort keys %plugin_infolists)
{
foreach my $infolist (sort keys %{$plugin_infolists{$plugin}})
{
my $description = $plugin_infolists{$plugin}{$infolist}{"description"};
$description = $d->get($description) if ($description ne "");
my $pointer_description = $plugin_infolists{$plugin}{$infolist}{"pointer_description"};
$pointer_description = $d->get($pointer_description) if ($pointer_description ne "");
$pointer_description = "-" if ($pointer_description eq "");
my $args_description = $plugin_infolists{$plugin}{$infolist}{"args_description"};
$args_description = $d->get($args_description) if ($args_description ne "");
$args_description = "-" if ($args_description eq "");
print FILE "| ".escape_table($plugin)." | ".escape_table($infolist)
." | ".escape_table($description)."\n\n";
." | ".escape_table($description)." | ".escape_table($pointer_description)
." | ".escape_table($args_description)."\n\n";
}
}
print FILE "|========================================\n";
@@ -539,7 +672,8 @@ sub docgen
{
print FILE "[width=\"65%\",cols=\"^1,^2,8\",options=\"header\"]\n";
print FILE "|========================================\n";
print FILE "| ".$d->get("Plugin")." | ".$d->get("Name")." | ".$d->get("Description")."\n";
print FILE "| ".weechat_gettext("Plugin")." | ".weechat_gettext("Name")
." | ".weechat_gettext("Description")."\n\n";
foreach my $plugin (sort keys %plugin_completions)
{
foreach my $completion_item (sort keys %{$plugin_completions{$plugin}})
@@ -578,20 +712,24 @@ sub docgen
weechat::print("", weechat::prefix("error")."docgen error: directory '$dir' does not exist");
}
my $total_files = $num_files_commands + $num_files_options
+ $num_files_infos + $num_files_infolists + $num_files_completions;
+ $num_files_infos + $num_files_infos_hashtable
+ $num_files_infolists + $num_files_completions;
my $total_files_updated = $num_files_commands_updated
+ $num_files_options_updated + $num_files_infos_updated
+ $num_files_infolists_updated + $num_files_completions_updated;
+ $num_files_infos_hashtable_updated + $num_files_infolists_updated
+ $num_files_completions_updated;
weechat::print("", "docgen: ".$locale.": ".$total_files." files ("
.$num_files_commands." cmd, "
.$num_files_options." opt, "
.$num_files_infos." infos, "
.$num_files_infos." infos (hashtable), "
.$num_files_infolists." infolists, "
.$num_files_completions." complt) -- "
.$total_files_updated." updated ("
.$num_files_commands_updated." cmd, "
.$num_files_options_updated." opt, "
.$num_files_infos_updated." infos, "
.$num_files_infos_hashtable_updated." infos (hashtable), "
.$num_files_infolists_updated." infolists, "
.$num_files_completions_updated." complt)");
}
@@ -601,3 +739,14 @@ sub docgen
return weechat::WEECHAT_RC_OK;
}
sub docgen_completion
{
my ($data, $completion_item, $buffer, $completion) = ($_[0], $_[1], $_[2], $_[3]);
foreach my $locale (@all_locale_list)
{
weechat::hook_completion_list_add($completion, $locale, 0, weechat::WEECHAT_LIST_POS_SORT);
}
return weechat::WEECHAT_RC_OK;
}
+13 -10
View File
@@ -1,23 +1,26 @@
# Copyright (c) 2003-2010 by FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# Copyright (C) 2003-2011 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# WeeChat is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
#
# user's guide
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.en.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a toclevels=3 -a date=`date "+%F"` -a revision="${VERSION}" -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.en.txt
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a toclevels=4 -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.en.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.en.txt
${CMAKE_CURRENT_SOURCE_DIR}/autogen/user/*.txt
@@ -29,7 +32,7 @@ INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.en.html DESTINATION ${SHA
# plugin API reference
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_plugin_api.en.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a toclevels=3 -a date=`date "+%F"` -a revision="${VERSION}" -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_plugin_api.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_plugin_api.en.txt
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a toclevels=4 -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_plugin_api.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_plugin_api.en.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_plugin_api.en.txt
${CMAKE_CURRENT_SOURCE_DIR}/autogen/plugin_api/*.txt
@@ -41,7 +44,7 @@ INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_plugin_api.en.html DESTINATION
# scripting guide
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.en.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a toclevels=3 -a date=`date "+%F"` -a revision="${VERSION}" -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_scripting.en.txt
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a toclevels=3 -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_scripting.en.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_scripting.en.txt
COMMENT "Building weechat_scripting.en.html"
@@ -52,7 +55,7 @@ INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.en.html DESTINATION
# FAQ
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.en.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a date=`date "+%F"` -a revision="${VERSION}" -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.en.txt
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.en.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.en.txt
COMMENT "Building weechat_faq.en.html"
@@ -63,7 +66,7 @@ INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.en.html DESTINATION ${SHAR
# quickstart
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.en.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a date=`date "+%F"` -a revision="${VERSION}" -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.en.txt
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.en.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.en.txt
COMMENT "Building weechat_quickstart.en.html"
@@ -74,7 +77,7 @@ INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.en.html DESTINATION
# tester's guide
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.en.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a date=`date "+%F"` -a revision="${VERSION}" -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.en.txt
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.en.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.en.txt
COMMENT "Building weechat_tester.en.html"
+22 -18
View File
@@ -1,30 +1,34 @@
# Copyright (c) 2003-2010 by FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# Copyright (C) 2003-2011 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2006 Julien Louis <ptitlouis@sysif.net>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# WeeChat is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
#
docdir = $(datadir)/doc/$(PACKAGE)
EXTRA_DIST = CMakeLists.txt \
weechat_user.en.txt \
weechat_plugin_api.en.txt \
weechat_scripting.en.txt \
weechat_faq.en.txt \
weechat_quickstart.en.txt \
weechat_tester.en.txt \
$(wildcard autogen/user/*.txt) \
$(wildcard autogen/plugin_api/*.txt)
weechat_user.en.txt \
weechat_plugin_api.en.txt \
weechat_scripting.en.txt \
weechat_faq.en.txt \
weechat_quickstart.en.txt \
weechat_tester.en.txt \
$(wildcard autogen/user/*.txt) \
$(wildcard autogen/plugin_api/*.txt)
all-local: weechat_user.en.html \
weechat_plugin_api.en.html \
@@ -35,27 +39,27 @@ all-local: weechat_user.en.html \
# user's guide
weechat_user.en.html: weechat_user.en.txt $(wildcard autogen/user/*.txt)
$(ASCIIDOC) -a toc -a toclevels=3 -a date=`date "+%F"` -a revision="$(VERSION)" -n -o weechat_user.en.html weechat_user.en.txt
$(ASCIIDOC) -a toc -a toclevels=3 -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=`pwd`/../asciidoc.css -n -o weechat_user.en.html weechat_user.en.txt
# plugin API reference
weechat_plugin_api.en.html: weechat_plugin_api.en.txt $(wildcard autogen/plugin_api/*.txt)
$(ASCIIDOC) -a toc -a toclevels=3 -a date=`date "+%F"` -a revision="$(VERSION)" -n -o weechat_plugin_api.en.html weechat_plugin_api.en.txt
$(ASCIIDOC) -a toc -a toclevels=4 -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=`pwd`/../asciidoc.css -n -o weechat_plugin_api.en.html weechat_plugin_api.en.txt
# scripting guide
weechat_scripting.en.html: weechat_scripting.en.txt
$(ASCIIDOC) -a toc -a toclevels=3 -a date=`date "+%F"` -a revision="$(VERSION)" -n -o weechat_scripting.en.html weechat_scripting.en.txt
$(ASCIIDOC) -a toc -a toclevels=3 -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=`pwd`/../asciidoc.css -n -o weechat_scripting.en.html weechat_scripting.en.txt
# FAQ
weechat_faq.en.html: weechat_faq.en.txt
$(ASCIIDOC) -a toc -a date=`date "+%F"` -a revision="$(VERSION)" -n -o weechat_faq.en.html weechat_faq.en.txt
$(ASCIIDOC) -a toc -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=`pwd`/../asciidoc.css -n -o weechat_faq.en.html weechat_faq.en.txt
# quickstart
weechat_quickstart.en.html: weechat_quickstart.en.txt
$(ASCIIDOC) -a toc -a date=`date "+%F"` -a revision="$(VERSION)" -n -o weechat_quickstart.en.html weechat_quickstart.en.txt
$(ASCIIDOC) -a toc -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=`pwd`/../asciidoc.css -n -o weechat_quickstart.en.html weechat_quickstart.en.txt
# tester's guide
weechat_tester.en.html: weechat_tester.en.txt
$(ASCIIDOC) -a toc -a date=`date "+%F"` -a revision="$(VERSION)" -n -o weechat_tester.en.html weechat_tester.en.txt
$(ASCIIDOC) -a toc -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=`pwd`/../asciidoc.css -n -o weechat_tester.en.html weechat_tester.en.txt
# install docs
+15
View File
@@ -1,8 +1,11 @@
[width="65%",cols="^1,^2,8",options="header"]
|========================================
| Plugin | Name | Description
| alias | alias | list of aliases
| alias | alias_value | value of alias
| aspell | aspell_langs | list of supported langs for aspell
| irc | irc_channel | current IRC channel
@@ -17,6 +20,8 @@
| irc | irc_msg_part | default part message for IRC channel
| irc | irc_notify_nicks | nicks in notify list
| irc | irc_privates | privates on all IRC servers
| irc | irc_server | current IRC server
@@ -45,6 +50,8 @@
| relay | relay_relays | protocol.name of current relays for relay plugin
| rmodifier | rmodifier | list of rmodifiers
| ruby | ruby_script | list of scripts
| tcl | tcl_script | list of scripts
@@ -53,12 +60,18 @@
| weechat | bars_options | options for bars
| weechat | buffer_properties_get | properties that can be read on a buffer
| weechat | buffer_properties_set | properties that can be set on a buffer
| weechat | buffers_names | names of buffers
| weechat | buffers_numbers | numbers of buffers
| weechat | buffers_plugins_names | names of buffers (including plugins names)
| weechat | color_pairs | color pairs
| weechat | commands | commands (weechat and plugins)
| weechat | config_files | configuration files
@@ -77,6 +90,8 @@
| weechat | keys_codes | key codes
| weechat | keys_codes_for_reset | key codes that can be reset (keys added, redefined or removed)
| weechat | nicks | nicks in nicklist of current buffer
| weechat | plugins_commands | commands defined by plugins
+34 -29
View File
@@ -1,58 +1,63 @@
[width="65%",cols="^1,^2,8",options="header"]
[width="100%",cols="^1,^2,5,5,5",options="header"]
|========================================
| Plugin | Name | Description
| alias | alias | list of aliases
| Plugin | Name | Description | Pointer | Arguments
| irc | irc_channel | list of channels for an IRC server
| alias | alias | list of aliases | alias pointer (optional) | alias name (can start or end with "*" as wildcard) (optional)
| irc | irc_ignore | list of IRC ignores
| irc | irc_channel | list of channels for an IRC server | channel pointer (optional) | server,channel (channel is optional)
| irc | irc_nick | list of nicks for an IRC channel
| irc | irc_ignore | list of IRC ignores | ignore pointer (optional) | -
| irc | irc_server | list of IRC servers
| irc | irc_nick | list of nicks for an IRC channel | nick pointer (optional) | server,channel,nick (channel and nick are optional)
| logger | logger_buffer | list of logger buffers
| irc | irc_notify | list of notify | notify pointer (optional) | server name (can start or end with "*" as wildcard) (optional)
| lua | lua_script | list of scripts
| irc | irc_server | list of IRC servers | server pointer (optional) | server name (can start or end with "*" as wildcard) (optional)
| perl | perl_script | list of scripts
| logger | logger_buffer | list of logger buffers | logger pointer (optional) | -
| python | python_script | list of scripts
| lua | lua_script | list of scripts | script pointer (optional) | script name (can start or end with "*" as wildcard) (optional)
| relay | relay | list of relay clients
| perl | perl_script | list of scripts | script pointer (optional) | script name (can start or end with "*" as wildcard) (optional)
| ruby | ruby_script | list of scripts
| python | python_script | list of scripts | script pointer (optional) | script name (can start or end with "*" as wildcard) (optional)
| tcl | tcl_script | list of scripts
| relay | relay | list of relay clients | relay pointer (optional) | -
| weechat | bar | list of bars
| rmodifier | rmodifier | list of rmodifiers | rmodifier pointer (optional) | rmodifier name (can start or end with "*" as joker) (optional)
| weechat | bar_item | list of bar items
| ruby | ruby_script | list of scripts | script pointer (optional) | script name (can start or end with "*" as wildcard) (optional)
| weechat | bar_window | list of bar windows
| tcl | tcl_script | list of scripts | script pointer (optional) | script name (can start or end with "*" as wildcard) (optional)
| weechat | buffer | list of buffers
| weechat | bar | list of bars | bar pointer (optional) | bar name (can start or end with "*" as wildcard) (optional)
| weechat | buffer_lines | lines of a buffer
| weechat | bar_item | list of bar items | bar item pointer (optional) | bar item name (can start or end with "*" as wildcard) (optional)
| weechat | filter | list of filters
| weechat | bar_window | list of bar windows | bar window pointer (optional) | -
| weechat | history | history of commands
| weechat | buffer | list of buffers | buffer pointer (optional) | buffer name (can start or end with "*" as wildcard) (optional)
| weechat | hook | list of hooks
| weechat | buffer_lines | lines of a buffer | buffer pointer | -
| weechat | hotlist | list of buffers in hotlist
| weechat | filter | list of filters | - | filter name (can start or end with "*" as wildcard) (optional)
| weechat | key | list of key bindings
| weechat | history | history of commands | buffer pointer (if not set, return global history) (optional) | -
| weechat | nicklist | nicks in nicklist for a buffer
| weechat | hook | list of hooks | - | hook type: command, timer, .. (optional)
| weechat | option | list of options
| weechat | hotlist | list of buffers in hotlist | - | -
| weechat | plugin | list of plugins
| weechat | key | list of key bindings | - | -
| weechat | window | list of windows
| weechat | nicklist | nicks in nicklist for a buffer | buffer pointer | nick_xxx or group_xxx to get only nick/group xxx (optional)
| xfer | xfer | list of xfer
| weechat | option | list of options | - | option name (can start or end with "*" as wildcard) (optional)
| weechat | plugin | list of plugins | plugin pointer (optional) | plugin name (can start or end with "*" as wildcard) (optional)
| weechat | window | list of windows | window pointer (optional) | window name (can start or end with "*" as wildcard) (optional)
| xfer | xfer | list of xfer | xfer pointer (optional) | -
|========================================
+36 -21
View File
@@ -1,42 +1,57 @@
[width="65%",cols="^1,^2,8",options="header"]
[width="100%",cols="^1,^2,6,6",options="header"]
|========================================
| Plugin | Name | Description
| fifo | fifo_filename | name of FIFO pipe
| Plugin | Name | Description | Arguments
| irc | irc_buffer | get buffer pointer for an IRC server/channel
| fifo | fifo_filename | name of FIFO pipe | -
| irc | irc_is_channel | 1 if string is an IRC channel
| irc | irc_buffer | get buffer pointer for an IRC server/channel/nick | server,channel,nick (channel and nicks are optional)
| irc | irc_nick | get current nick on a server
| irc | irc_is_channel | 1 if string is a valid IRC channel name | channel name
| irc | irc_nick_color | get nick color
| irc | irc_is_nick | 1 if string is a valid IRC nick name | nickname
| irc | irc_nick_from_host | get nick from IRC host
| irc | irc_nick | get current nick on a server | server name
| weechat | charset_internal | WeeChat internal charset
| irc | irc_nick_color | get nick color code | nickname
| weechat | charset_terminal | terminal charset
| irc | irc_nick_color_name | get nick color name | nickname
| weechat | date | WeeChat compilation date
| irc | irc_nick_from_host | get nick from IRC host | IRC host (like `:nick!name@server.com`)
| weechat | dir_separator | directory separator
| irc | irc_server_isupport | 1 if server supports this feature (from IRC message 005) | server,feature
| weechat | filters_enabled | 1 if filters are enabled
| irc | irc_server_isupport_value | value of feature, if supported by server (from IRC message 005) | server,feature
| weechat | inactivity | keyboard inactivity (seconds)
| python | python2_bin | path to python 2.x interpreter | -
| weechat | version | WeeChat version
| weechat | charset_internal | WeeChat internal charset | -
| weechat | weechat_dir | WeeChat directory
| weechat | charset_terminal | terminal charset | -
| weechat | weechat_libdir | WeeChat "lib" directory
| weechat | date | WeeChat compilation date | -
| weechat | weechat_localedir | WeeChat "locale" directory
| weechat | dir_separator | directory separator | -
| weechat | weechat_sharedir | WeeChat "share" directory
| weechat | filters_enabled | 1 if filters are enabled | -
| weechat | weechat_site | WeeChat site
| weechat | inactivity | keyboard inactivity (seconds) | -
| weechat | weechat_site_download | WeeChat site, download page
| weechat | version | WeeChat version | -
| weechat | version_number | WeeChat version (as number) | -
| weechat | weechat_dir | WeeChat directory | -
| weechat | weechat_libdir | WeeChat "lib" directory | -
| weechat | weechat_localedir | WeeChat "locale" directory | -
| weechat | weechat_sharedir | WeeChat "share" directory | -
| weechat | weechat_site | WeeChat site | -
| weechat | weechat_site_download | WeeChat site, download page | -
| weechat | weechat_upgrading | 1 if WeeChat is upgrading (command `/upgrade`) | -
|========================================
@@ -0,0 +1,7 @@
[width="100%",cols="^1,^2,6,6,6",options="header"]
|========================================
| Plugin | Name | Description | Hashtable (input) | Hashtable (output)
| irc | irc_parse_message | parse an IRC message | "message": IRC message | "nick": nick, "host": host, "command": command, "channel": channel, "arguments": arguments (includes channel)
|========================================
+12 -1
View File
@@ -1,8 +1,9 @@
&bull; *`/alias`* `[alias_name [command [arguments]]]`::
&bull; *`/alias`* `[[-completion completion] alias_name [command [arguments]]]`::
........................................
create an alias for a command
completion: completion for alias (optional, by default completion is done with target command)
alias_name: name of alias (can start or end with "*" for alias listing)
command: command name (many commands can be separated by semicolons)
arguments: arguments for command
@@ -19,5 +20,15 @@
$nick: current nick
$channel: current channel
$server: current server
To remove an alias, use command /unalias.
Examples:
alias /split to split window horizontally:
/alias split /window splith
alias /hello to say "hello" on all channels but not on #weechat:
/alias hello /allchan -exclude=#weechat msg * hello
alias /forcejoin to send IRC command "forcejoin" with completion of /sajoin:
/alias -completion %%sajoin forcejoin /quote forcejoin
........................................
+12 -12
View File
@@ -1,30 +1,30 @@
* *aspell.check.commands*
** description: comma separated list of commands for which spell checking is enabled (spell checking is disabled for all other commands)
** description: `comma separated list of commands for which spell checking is enabled (spell checking is disabled for all other commands)`
** type: string
** values: any string (default value: "ame,amsg,away,command,cycle,kick,kickban,me,msg,notice,part,query,quit,topic")
** values: any string (default value: `"ame,amsg,away,command,cycle,kick,kickban,me,msg,notice,part,query,quit,topic"`)
* *aspell.check.default_dict*
** description: default dictionary (or comma separated list of dictionaries) to use when buffer has no dictionary defined (leave blank to disable aspell on buffers for which you didn't explicitly enabled it)
** description: `default dictionary (or comma separated list of dictionaries) to use when buffer has no dictionary defined (leave blank to disable aspell on buffers for which you didn't explicitly enabled it)`
** type: string
** values: any string (default value: "")
** values: any string (default value: `""`)
* *aspell.check.during_search*
** description: check words during text search in buffer
** description: `check words during text search in buffer`
** type: boolean
** values: on, off (default value: off)
** values: on, off (default value: `off`)
* *aspell.check.real_time*
** description: real-time spell checking of words (slower, disabled by default: words are checked only if there's delimiter after)
** description: `real-time spell checking of words (slower, disabled by default: words are checked only if there's delimiter after)`
** type: boolean
** values: on, off (default value: off)
** values: on, off (default value: `off`)
* *aspell.check.word_min_length*
** description: minimum length for a word to be spell checked (use 0 to check all words)
** description: `minimum length for a word to be spell checked (use 0 to check all words)`
** type: integer
** values: 0 .. 2147483647 (default value: 2)
** values: 0 .. 2147483647 (default value: `2`)
* *aspell.look.color*
** description: color used for misspelled words
** description: `color used for misspelled words`
** type: color
** values: a color name (default value: lightred)
** values: a color name (default value: `lightred`)
+4 -4
View File
@@ -1,10 +1,10 @@
* *charset.default.decode*
** description: global decoding charset
** description: `global decoding charset`
** type: string
** values: any string (default value: "iso-8859-1")
** values: any string (default value: `"iso-8859-1"`)
* *charset.default.encode*
** description: global encoding charset
** description: `global encoding charset`
** type: string
** values: any string (default value: "")
** values: any string (default value: `""`)
+96 -39
View File
@@ -41,15 +41,6 @@
/allserv away I'm away
........................................
&bull; *`/away`* `[-all] [message]`::
........................................
toggle away status
-all: toggle away status on all connected servers
message: message for away (if no message is given, away status is removed)
........................................
&bull; *`/ban`* `[channel] [nickname [nickname ...]]`::
........................................
@@ -59,18 +50,20 @@
nickname: user or host to ban
........................................
&bull; *`/connect`* `[-all [-nojoin] | servername [servername ...] [-nojoin] | hostname[/port] [-option[=value]] [-nooption]]`::
&bull; *`/connect`* `[servername [servername ...] | hostname[/port] [-option[=value]] [-nooption] | -all | -open] [-nojoin] [-switch]`::
........................................
connect to IRC server(s)
-all: connect to all servers
servername: internal server name to connect (server must have been created by /server add)
-nojoin: do not join any channel (even if autojoin is enabled on server)
hostname: hostname (or IP) of a server
hostname: hostname (or IP) of a server (this will create a TEMPORARY server)
port: port for server (6667 by default)
option: set option for server (for boolean option, value can be omitted)
nooption: set boolean option to 'off' (for example: -nossl)
-all: connect to all servers defined in configuration
-open: connect to all opened servers that are not currently connected
-nojoin: do not join any channel (even if autojoin is enabled on server)
-switch: switch to next server address
Examples:
/connect freenode
@@ -78,15 +71,16 @@
/connect irc6.oftc.net/6667 -ipv6
/connect irc6.oftc.net/6697 -ipv6 -ssl
/connect my.server.org/6697 -ssl -password=test
/connect -switch
........................................
&bull; *`/ctcp`* `receiver type [arguments]`::
&bull; *`/ctcp`* `target type [arguments]`::
........................................
send a CTCP message (Client-To-Client Protocol)
receiver: nick or channel to send CTCP to
type: CTCP type (examples: "version", "ping", ..)
target: nick or channel to send CTCP to
type: CTCP type (examples: "version", "ping", ..)
arguments: arguments for CTCP
........................................
@@ -107,6 +101,12 @@
action: 'send' (file) or 'chat'
nickname: nickname to send file or chat
file: filename (on local host)
Examples:
chat with nick "toto":
/dcc chat toto
send file "/home/foo/bar.txt" to nick "toto":
/dcc send toto /home/foo/bar.txt
........................................
&bull; *`/dehalfop`* `[nickname [nickname]]`::
@@ -154,8 +154,8 @@
ignore nicks/hosts from servers or channels
list: list all ignores
add: add a ignore
del: del a ignore
add: add an ignore
del: delete an ignore
number: number of ignore to delete (look at list to find it)
-all: delete all ignores
nick/host: nick or host to ignore: syntax is "re:regex" or "mask" (a mask is a string with some "*" to replace one or more chars)
@@ -196,13 +196,19 @@
nickname: nickname
........................................
&bull; *`/join`* `[channel[,channel] [key[,key]]]`::
&bull; *`/join`* `[-server server] [channel1[,channel2[,channel3]] [key1[,key2]]]`::
........................................
join a channel
server: send to this server (internal name)
channel: channel name to join
key: key to join the channel
key: key to join the channel (channels with a key must be the first in list)
Examples:
/join #weechat
/join #protectedchan,#weechat key
/join -server freenode #weechat
........................................
&bull; *`/kick`* `[channel] nickname [comment]`::
@@ -224,9 +230,11 @@
nickname: nickname to kick and ban
comment: comment for kick
It is possible to kick/ban with a mask, nick will be extracted from mask and replaced by "*", for example:
/kickban toto!*@host.com
will ban "*!*@host.com" and then kick "toto".
It is possible to kick/ban with a mask, nick will be extracted from mask and replaced by "*".
Example:
ban "*!*@host.com" and then kick "toto":
/kickban toto!*@host.com
........................................
&bull; *`/kill`* `nickname comment`::
@@ -247,13 +255,22 @@
server_mask: list of servers must match this mask
........................................
&bull; *`/list`* `[channel[,channel] [server]]`::
&bull; *`/list`* `[channel[,channel] [server] [-re regexp]]`::
........................................
list channels and their topic
channel: channel to list (a regexp is allowed)
server: server name
channel: channel to list
server: server name
regexp: regular expression used to filter results
Examples:
list all channels on server (can be very slow on large networks):
/list
list channel #weechat:
/list #weechat
list all channels beginning with "#weechat" (can be very slow on large networks):
/list -re #weechat.*
........................................
&bull; *`/lusers`* `[mask [target]]`::
@@ -265,6 +282,12 @@
target: server for forwarding request
........................................
&bull; *`/map`*::
........................................
show a graphical map of the IRC network
........................................
&bull; *`/me`* `message`::
........................................
@@ -308,14 +331,14 @@
target: server name
........................................
&bull; *`/msg`* `[-server server] receiver[,receiver] text`::
&bull; *`/msg`* `[-server server] target[,target] text`::
........................................
send message to a nick or channel
server: send to this server (internal name)
receiver: nick or channel (may be mask, '*' = current channel)
text: text to send
server: send to this server (internal name)
target: nick or channel (may be mask, '*' = current channel)
text: text to send
........................................
&bull; *`/names`* `[channel[,channel]]`::
@@ -335,14 +358,37 @@
nickname: new nickname
........................................
&bull; *`/notice`* `[-server server] nickname text`::
&bull; *`/notice`* `[-server server] target text`::
........................................
send notice message to user
server: send to this server (internal name)
nickname: user to send notice to
text: text to send
server: send to this server (internal name)
target: nick or channel
text: text to send
........................................
&bull; *`/notify`* `[add nick [server [-away]]] | [del nick|-all [server]]`::
........................................
add a notification for presence or away status of nicks on servers
add: add a notification
nick: nickname
server: internal server name (by default current server)
-away: notify when away message is changed (by doing whois on nick)
del: delete a notification
-all: delete all notifications
Without argument, this command displays notifications for current server (or all servers if command is issued on core buffer).
Examples:
notify when "toto" joins/quits current server:
/notify add toto
notify when "toto" joins/quits freenode server:
/notify add toto freenode
notify when "toto" is away or back on freenode server:
/notify add toto freenode -away
........................................
&bull; *`/op`* `nickname [nickname]`::
@@ -402,17 +448,18 @@
send raw data to server without parsing
server: send to this server (internal name)
data: raw data to send
data: raw data to send
........................................
&bull; *`/reconnect`* `[-all [-nojoin] | servername [servername ...] [-nojoin]]`::
&bull; *`/reconnect`* `[servername [servername ...] | -all] [-nojoin] [-switch]`::
........................................
reconnect to server(s)
-all: reconnect to all servers
servername: server name to reconnect
-all: reconnect to all servers
-nojoin: do not join any channel (even if autojoin is enabled on server)
-switch: switch to next server address
........................................
&bull; *`/rehash`* `[option]`::
@@ -479,11 +526,11 @@
........................................
list, add or remove IRC servers
list: list servers (no parameter implies this list)
list: list servers (without argument, this list is displayed)
listfull: list servers with detailed info for each server
add: create a new server
servername: server name, for internal and display use
hostname: name or IP address of server, with optional port (default: 6667)
hostname: name or IP address of server, with optional port (default: 6667), many addresses can be separated by a comma
temp: create temporary server (not saved)
option: set option for server (for boolean option, value can be omitted)
nooption: set boolean option to 'off' (for example: -nossl)
@@ -500,6 +547,7 @@
/server add oftc irc.oftc.net/6697 -ssl -autoconnect
/server add oftc6 irc6.oftc.net/6697 -ipv6 -ssl
/server add freenode2 chat.eu.freenode.net/6667,chat.us.freenode.net/6667
/server add freenode3 irc.freenode.net -password=mypass
/server copy oftc oftcbis
/server rename oftc newoftc
/server del freenode
@@ -626,6 +674,15 @@
give voice to nickname(s)
........................................
&bull; *`/wallchops`* `[channel] text`::
........................................
send a notice to channel ops
channel: channel name
text: text to send
........................................
&bull; *`/wallops`* `text`::
........................................
+320 -150
View File
@@ -1,315 +1,485 @@
* *irc.color.input_nick*
** description: color for nick in input bar
** description: `color for nick in input bar`
** type: color
** values: a color name (default value: lightcyan)
** values: a color name (default value: `lightcyan`)
* *irc.color.item_away*
** description: color for away item
** description: `color for away item`
** type: color
** values: a color name (default value: yellow)
** values: a color name (default value: `yellow`)
* *irc.color.item_channel_modes*
** description: color for channel modes, near channel name
** description: `color for channel modes, near channel name`
** type: color
** values: a color name (default value: default)
** values: a color name (default value: `default`)
* *irc.color.item_lag_counting*
** description: `color for lag indicator, when counting (pong not received from server, lag is increasing)`
** type: color
** values: a color name (default value: `default`)
* *irc.color.item_lag_finished*
** description: `color for lag indicator, when pong has been received from server`
** type: color
** values: a color name (default value: `yellow`)
* *irc.color.message_join*
** description: color for text in join messages
** description: `color for text in join messages`
** type: color
** values: a color name (default value: green)
** values: a color name (default value: `green`)
* *irc.color.message_quit*
** description: color for text in part/quit messages
** description: `color for text in part/quit messages`
** type: color
** values: a color name (default value: red)
** values: a color name (default value: `red`)
* *irc.color.nick_prefix*
** description: `color for nick prefix (prefix is custom string displayed before nick)`
** type: color
** values: a color name (default value: `green`)
* *irc.color.nick_prefix_halfop*
** description: `color for prefix of nick which is halfop on channel`
** type: color
** values: a color name (default value: `lightmagenta`)
* *irc.color.nick_prefix_op*
** description: `color for prefix of nick which is op/admin/owner on channel`
** type: color
** values: a color name (default value: `lightgreen`)
* *irc.color.nick_prefix_user*
** description: `color for prefix of nick which is user on channel`
** type: color
** values: a color name (default value: `blue`)
* *irc.color.nick_prefix_voice*
** description: `color for prefix of nick which has voice on channel`
** type: color
** values: a color name (default value: `yellow`)
* *irc.color.nick_suffix*
** description: `color for nick suffix (suffix is custom string displayed after nick)`
** type: color
** values: a color name (default value: `green`)
* *irc.color.notice*
** description: color for text "Notice" in notices
** description: `color for text "Notice" in notices`
** type: color
** values: a color name (default value: green)
** values: a color name (default value: `green`)
* *irc.color.reason_quit*
** description: `color for reason in part/quit messages`
** type: color
** values: a color name (default value: `default`)
* *irc.look.color_nicks_in_server_messages*
** description: use nick color in messages from server
** description: `use nick color in messages from server`
** type: boolean
** values: on, off (default value: on)
** values: on, off (default value: `on`)
* *irc.look.color_pv_nick_like_channel*
** description: use same nick color for channel and private
** description: `use same nick color for channel and private`
** type: boolean
** values: on, off (default value: on)
** values: on, off (default value: `on`)
* *irc.look.display_away*
** description: display message when (un)marking as away
** description: `display message when (un)marking as away`
** type: integer
** values: off, local, channel (default value: local)
* *irc.look.display_channel_modes*
** description: display channel modes in "buffer_name" bar item
** type: boolean
** values: on, off (default value: on)
** values: off, local, channel (default value: `local`)
* *irc.look.display_ctcp_blocked*
** description: display CTCP message even if it is blocked
** description: `display CTCP message even if it is blocked`
** type: boolean
** values: on, off (default value: on)
** values: on, off (default value: `on`)
* *irc.look.display_ctcp_reply*
** description: display CTCP reply sent by WeeChat
** description: `display CTCP reply sent by WeeChat`
** type: boolean
** values: on, off (default value: on)
** values: on, off (default value: `on`)
* *irc.look.display_ctcp_unknown*
** description: display CTCP message even if it is unknown CTCP
** description: `display CTCP message even if it is unknown CTCP`
** type: boolean
** values: on, off (default value: on)
** values: on, off (default value: `on`)
* *irc.look.display_nick_modes*
** description: display nick modes in "input_prompt" bar item
* *irc.look.display_host_join*
** description: `display host in join messages`
** type: boolean
** values: on, off (default value: on)
** values: on, off (default value: `on`)
* *irc.look.display_host_join_local*
** description: `display host in join messages from local client`
** type: boolean
** values: on, off (default value: `on`)
* *irc.look.display_host_quit*
** description: `display host in part/quit messages`
** type: boolean
** values: on, off (default value: `on`)
* *irc.look.display_old_topic*
** description: display old topic when channel topic is changed
** description: `display old topic when channel topic is changed`
** type: boolean
** values: on, off (default value: on)
** values: on, off (default value: `on`)
* *irc.look.display_pv_away_once*
** description: `display remote away message only once in private`
** type: boolean
** values: on, off (default value: `on`)
* *irc.look.display_pv_back*
** description: `display a message in private when user is back (after quit on server)`
** type: boolean
** values: on, off (default value: `on`)
* *irc.look.hide_nickserv_pwd*
** description: hide password displayed by nickserv
** description: `hide password displayed by nickserv`
** type: boolean
** values: on, off (default value: on)
** values: on, off (default value: `on`)
* *irc.look.highlight_tags*
** description: comma separated list of tags for messages that may produce highlight (usually any message from another user, not server messages,..)
** description: `comma separated list of tags for messages that may produce highlight (usually any message from another user, not server messages,..)`
** type: string
** values: any string (default value: "irc_privmsg,irc_notice")
** values: any string (default value: `"irc_privmsg,irc_notice"`)
* *irc.look.item_away_message*
** description: `display server away message in away bar item`
** type: boolean
** values: on, off (default value: `on`)
* *irc.look.item_channel_modes*
** description: `display channel modes in "buffer_name" bar item`
** type: boolean
** values: on, off (default value: `on`)
* *irc.look.item_channel_modes_hide_key*
** description: `hide channel key if modes are displayed in "buffer_name" bar item (this will hide all channel modes arguments if mode +k is set on channel)`
** type: boolean
** values: on, off (default value: `off`)
* *irc.look.item_display_server*
** description: name of bar item where IRC server is displayed (for status bar)
** description: `name of bar item where IRC server is displayed (for status bar)`
** type: integer
** values: buffer_plugin, buffer_name (default value: buffer_plugin)
** values: buffer_plugin, buffer_name (default value: `buffer_plugin`)
* *irc.look.item_nick_modes*
** description: `display nick modes in "input_prompt" bar item`
** type: boolean
** values: on, off (default value: `on`)
* *irc.look.item_nick_prefix*
** description: `display nick prefix in "input_prompt" bar item`
** type: boolean
** values: on, off (default value: `on`)
* *irc.look.msgbuffer_fallback*
** description: default target buffer for msgbuffer options when target is private and that private buffer is not found
** description: `default target buffer for msgbuffer options when target is private and that private buffer is not found`
** type: integer
** values: current, server (default value: current)
** values: current, server (default value: `current`)
* *irc.look.new_channel_position*
** description: `force position of new channel in list of buffers (none = default position (should be last buffer)r, next = current buffer + 1, near_server = after last channel/pv of server)`
** type: integer
** values: none, next, near_server (default value: `none`)
* *irc.look.new_pv_position*
** description: `force position of new private in list of buffers (none = default position (should be last buffer)r, next = current buffer + 1, near_server = after last channel/pv of server)`
** type: integer
** values: none, next, near_server (default value: `none`)
* *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")`
** type: string
** values: any string (default value: `""`)
* *irc.look.nick_color_stop_chars*
** description: `chars used to stop in nick when computing color with letters of nick (at least one char outside this list must be in string before stopping) (example: nick "|nick|away" with "|" in chars will return color of nick "|nick")`
** type: string
** values: any string (default value: `"_|["`)
* *irc.look.nick_completion_smart*
** description: smart completion for nicks (completes first with last speakers)
** description: `smart completion for nicks (completes first with last speakers)`
** type: integer
** values: off, speakers, speakers_highlights (default value: speakers)
** values: off, speakers, speakers_highlights (default value: `speakers`)
* *irc.look.nick_prefix*
** description: text to display before nick in chat window
** description: `text to display before nick in chat window`
** type: string
** values: any string (default value: "")
** values: any string (default value: `""`)
* *irc.look.nick_suffix*
** description: text to display after nick in chat window
** description: `text to display after nick in chat window`
** type: string
** values: any string (default value: "")
** values: any string (default value: `""`)
* *irc.look.notice_as_pv*
** description: display notices as private messages (if auto, use private buffer if found)
** description: `display notices as private messages (if auto, use private buffer if found)`
** type: integer
** values: auto, never, always (default value: auto)
** values: auto, never, always (default value: `auto`)
* *irc.look.open_channel_near_server*
** description: open new channels near server
** type: boolean
** values: on, off (default value: off)
* *irc.look.notify_tags_ison*
** description: `comma separated list of tags used in messages printed by notify when a nick joins or quits server (result of command ison), for example: "notify_highlight", "notify_message" or "notify_private"`
** type: string
** values: any string (default value: `"notify_message"`)
* *irc.look.open_pv_near_server*
** description: open new privates near server
* *irc.look.notify_tags_whois*
** description: `comma separated list of tags used in messages printed by notify when a nick away status changes (result of command whois), for example: "notify_highlight", "notify_message" or "notify_private"`
** type: string
** values: any string (default value: `"notify_message"`)
* *irc.look.part_closes_buffer*
** description: `close buffer when /part is issued on a channel`
** type: boolean
** values: on, off (default value: off)
** values: on, off (default value: `off`)
* *irc.look.raw_messages*
** description: number of IRC raw messages to save in memory when raw data buffer is closed (messages will be displayed when opening raw data buffer)
** 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
** values: 0 .. 65535 (default value: 256)
** values: 0 .. 65535 (default value: `256`)
* *irc.look.server_buffer*
** description: merge server buffers
** description: `merge server buffers`
** type: integer
** values: merge_with_core, merge_without_core, independent (default value: merge_with_core)
* *irc.look.show_away_once*
** description: show remote away message only once in private
** type: boolean
** values: on, off (default value: on)
** values: merge_with_core, merge_without_core, independent (default value: `merge_with_core`)
* *irc.look.smart_filter*
** description: filter join/part/quit messages for a nick if not speaking for some minutes on channel (you must create a filter on tag "irc_smart_filter")
** description: `filter join/part/quit messages for a nick if not speaking for some minutes on channel (you must create a filter on tag "irc_smart_filter")`
** type: boolean
** values: on, off (default value: off)
** values: on, off (default value: `on`)
* *irc.look.smart_filter_delay*
** description: delay for filtering join/part/quit messages (in minutes)
** description: `delay for filtering join/part/quit messages (in minutes)`
** type: integer
** values: 1 .. 10080 (default value: 5)
** values: 1 .. 10080 (default value: `5`)
* *irc.look.smart_filter_join*
** description: `enable smart filter for "join" messages`
** type: boolean
** values: on, off (default value: `on`)
* *irc.look.smart_filter_quit*
** description: `enable smart filter for "part" and "quit" messages`
** type: boolean
** values: on, off (default value: `on`)
* *irc.look.topic_strip_colors*
** description: strip colors in topic (used only when displaying buffer title)
** description: `strip colors in topic (used only when displaying buffer title)`
** type: boolean
** values: on, off (default value: off)
** values: on, off (default value: `off`)
* *irc.network.anti_flood_prio_high*
** description: anti-flood for high priority queue: number of seconds between two user messages or commands sent to IRC server (0 = no anti-flood)
* *irc.network.autoreconnect_delay_growing*
** description: `growing factor for autoreconnect delay to server (1 = always same delay, 2 = delay*2 for each retry, ..)`
** type: integer
** values: 0 .. 60 (default value: 2)
** values: 1 .. 100 (default value: `2`)
* *irc.network.anti_flood_prio_low*
** description: anti-flood for low priority queue: number of seconds between two messages sent to IRC server (messages like automatic CTCP replies) (0 = no anti-flood)
* *irc.network.autoreconnect_delay_max*
** description: `maximum autoreconnect delay to server (in seconds, 0 = no maximum)`
** type: integer
** values: 0 .. 60 (default value: 2)
* *irc.network.away_check*
** description: interval between two checks for away (in minutes, 0 = never check)
** type: integer
** values: 0 .. 2147483647 (default value: 0)
* *irc.network.away_check_max_nicks*
** description: do not check away nicks on channels with high number of nicks (0 = unlimited)
** type: integer
** values: 0 .. 2147483647 (default value: 25)
** values: 0 .. 86400 (default value: `1800`)
* *irc.network.colors_receive*
** description: when off, colors codes are ignored in incoming messages
** description: `when off, colors codes are ignored in incoming messages`
** type: boolean
** values: on, off (default value: on)
** values: on, off (default value: `on`)
* *irc.network.colors_send*
** description: allow user to send colors with special codes (ctrl-c + a code and optional color: b=bold, cxx=color, cxx,yy=color+background, u=underline, r=reverse)
** description: `allow user to send colors with special codes (ctrl-c + a code and optional color: b=bold, cxx=color, cxx,yy=color+background, u=underline, r=reverse)`
** type: boolean
** values: on, off (default value: on)
* *irc.network.default_msg_part*
** description: default part message (leaving channel) ("%v" will be replaced by WeeChat version in string)
** type: string
** values: any string (default value: "WeeChat %v")
* *irc.network.default_msg_quit*
** description: default quit message (disconnecting from server) ("%v" will be replaced by WeeChat version in string)
** type: string
** values: any string (default value: "WeeChat %v")
** values: on, off (default value: `on`)
* *irc.network.lag_check*
** description: interval between two checks for lag (in seconds, 0 = never check)
** description: `interval between two checks for lag (in seconds, 0 = never check)`
** type: integer
** values: 0 .. 2147483647 (default value: 60)
** values: 0 .. 604800 (default value: `60`)
* *irc.network.lag_disconnect*
** description: disconnect after important lag (in minutes, 0 = never disconnect)
** description: `disconnect after important lag (in minutes, 0 = never disconnect)`
** type: integer
** values: 0 .. 2147483647 (default value: 0)
** values: 0 .. 10080 (default value: `0`)
* *irc.network.lag_min_show*
** description: minimum lag to show (in seconds)
** description: `minimum lag to show (in milliseconds)`
** type: integer
** values: 0 .. 2147483647 (default value: 1)
** values: 0 .. 86400000 (default value: `500`)
* *irc.network.lag_refresh_interval*
** description: `interval between two refreshs of lag item, when lag is increasing (in seconds)`
** type: integer
** values: 1 .. 3600 (default value: `1`)
* *irc.network.notify_check_ison*
** description: `interval between two checks for notify with IRC command "ison" (in minutes)`
** type: integer
** values: 1 .. 10080 (default value: `1`)
* *irc.network.notify_check_whois*
** description: `interval between two checks for notify with IRC command "whois" (in minutes)`
** type: integer
** values: 1 .. 10080 (default value: `5`)
* *irc.network.send_unknown_commands*
** description: send unknown commands to server
** description: `send unknown commands to server`
** type: boolean
** values: on, off (default value: off)
** values: on, off (default value: `off`)
* *irc.server_default.addresses*
** description: list of hostname/port or IP/port for server (separated by comma)
** description: `list of hostname/port or IP/port for server (separated by comma)`
** type: string
** values: any string (default value: "")
** values: any string (default value: `""`)
* *irc.server_default.anti_flood_prio_high*
** description: `anti-flood for high priority queue: number of seconds between two user messages or commands sent to IRC server (0 = no anti-flood)`
** type: integer
** values: 0 .. 60 (default value: `2`)
* *irc.server_default.anti_flood_prio_low*
** description: `anti-flood for low priority queue: number of seconds between two messages sent to IRC server (messages like automatic CTCP replies) (0 = no anti-flood)`
** type: integer
** values: 0 .. 60 (default value: `2`)
* *irc.server_default.autoconnect*
** description: automatically connect to server when WeeChat is starting
** description: `automatically connect to server when WeeChat is starting`
** type: boolean
** values: on, off (default value: off)
** values: on, off (default value: `off`)
* *irc.server_default.autojoin*
** description: comma separated list of channels to join when connected to server (example: "#chan1,#chan2,#chan3 key1,key2")
** description: `comma separated list of channels to join when connected to server (example: "#chan1,#chan2,#chan3 key1,key2")`
** type: string
** values: any string (default value: "")
** values: any string (default value: `""`)
* *irc.server_default.autoreconnect*
** description: automatically reconnect to server when disconnected
** description: `automatically reconnect to server when disconnected`
** type: boolean
** values: on, off (default value: on)
** values: on, off (default value: `on`)
* *irc.server_default.autoreconnect_delay*
** description: delay (in seconds) before trying again to reconnect to server
** description: `delay (in seconds) before trying again to reconnect to server`
** type: integer
** values: 0 .. 65535 (default value: 30)
** values: 1 .. 65535 (default value: `10`)
* *irc.server_default.autorejoin*
** description: automatically rejoin channels after kick
** description: `automatically rejoin channels after kick`
** type: boolean
** values: on, off (default value: off)
** values: on, off (default value: `off`)
* *irc.server_default.autorejoin_delay*
** description: delay (in seconds) before autorejoin (after kick)
** description: `delay (in seconds) before autorejoin (after kick)`
** type: integer
** values: 0 .. 86400 (default value: 30)
** values: 0 .. 86400 (default value: `30`)
* *irc.server_default.away_check*
** description: `interval between two checks for away (in minutes, 0 = never check)`
** type: integer
** values: 0 .. 10080 (default value: `0`)
* *irc.server_default.away_check_max_nicks*
** description: `do not check away nicks on channels with high number of nicks (0 = unlimited)`
** type: integer
** values: 0 .. 1000000 (default value: `25`)
* *irc.server_default.command*
** description: command(s) to run when connected to server (many commands should be separated by ";", use "\;" for a semicolon, special variables $nick, $channel and $server are replaced by their value)
** description: `command(s) to run when connected to server (many commands should be separated by ";", use "\;" for a semicolon, special variables $nick, $channel and $server are replaced by their value)`
** type: string
** values: any string (default value: "")
** values: any string (default value: `""`)
* *irc.server_default.command_delay*
** description: delay (in seconds) after command was executed (example: give some time for authentication)
** description: `delay (in seconds) after command was executed (example: give some time for authentication)`
** type: integer
** values: 0 .. 3600 (default value: 0)
** values: 0 .. 3600 (default value: `0`)
* *irc.server_default.connection_timeout*
** description: `timeout (in seconds) between TCP connection to server and message 001 received, if this timeout is reached before 001 message is received, WeeChat will disconnect from server`
** type: integer
** values: 1 .. 3600 (default value: `60`)
* *irc.server_default.default_msg_part*
** description: `default part message (leaving channel) ("%v" will be replaced by WeeChat version in string)`
** type: string
** values: any string (default value: `"WeeChat %v"`)
* *irc.server_default.default_msg_quit*
** description: `default quit message (disconnecting from server) ("%v" will be replaced by WeeChat version in string)`
** type: string
** values: any string (default value: `"WeeChat %v"`)
* *irc.server_default.ipv6*
** description: use IPv6 protocol for server communication
** description: `use IPv6 protocol for server communication`
** type: boolean
** values: on, off (default value: off)
** values: on, off (default value: `off`)
* *irc.server_default.local_hostname*
** description: custom local hostname/IP for server (optional, if empty local hostname is used)
** description: `custom local hostname/IP for server (optional, if empty local hostname is used)`
** type: string
** values: any string (default value: "")
** values: any string (default value: `""`)
* *irc.server_default.nicks*
** description: nicknames to use on server (separated by comma)
** description: `nicknames to use on server (separated by comma)`
** type: string
** values: any string (default value: "")
** values: any string (default value: `""`)
* *irc.server_default.notify*
** description: `notify list for server (you should not change this option but use /notify command instead)`
** type: string
** values: any string (default value: `""`)
* *irc.server_default.password*
** description: password for server
** description: `password for server`
** type: string
** values: any string (default value: "")
** values: any string (default value: `""`)
* *irc.server_default.proxy*
** description: proxy used for this server (optional)
** description: `proxy used for this server (optional)`
** type: string
** values: any string (default value: "")
** values: any string (default value: `""`)
* *irc.server_default.realname*
** description: real name to use on server
** description: `real name to use on server`
** type: string
** values: any string (default value: "")
** values: any string (default value: `""`)
* *irc.server_default.sasl_mechanism*
** description: `mechanism for SASL authentication`
** type: integer
** values: plain, dh-blowfish (default value: `plain`)
* *irc.server_default.sasl_password*
** description: `password for SASL authentication`
** type: string
** values: any string (default value: `""`)
* *irc.server_default.sasl_timeout*
** description: `timeout (in seconds) before giving up SASL authentication`
** type: integer
** values: 1 .. 3600 (default value: `15`)
* *irc.server_default.sasl_username*
** description: `username for SASL authentication`
** type: string
** values: any string (default value: `""`)
* *irc.server_default.ssl*
** description: use SSL for server communication
** description: `use SSL for server communication`
** type: boolean
** values: on, off (default value: off)
** values: on, off (default value: `off`)
* *irc.server_default.ssl_cert*
** description: ssl certificate file used to automatically identify your nick
** description: `ssl certificate file used to automatically identify your nick ("%h" will be replaced by WeeChat home, "~/.weechat" by default)`
** type: string
** values: any string (default value: "")
** values: any string (default value: `""`)
* *irc.server_default.ssl_dhkey_size*
** description: size of the key used during the Diffie-Hellman Key Exchange
** description: `size of the key used during the Diffie-Hellman Key Exchange`
** type: integer
** values: 0 .. 2147483647 (default value: 2048)
** values: 0 .. 2147483647 (default value: `2048`)
* *irc.server_default.ssl_verify*
** description: check that the ssl connection is fully trusted
** description: `check that the ssl connection is fully trusted`
** type: boolean
** values: on, off (default value: on)
** values: on, off (default value: `on`)
* *irc.server_default.username*
** description: user name to use on server
** description: `user name to use on server`
** type: string
** values: any string (default value: "")
** values: any string (default value: `""`)
+12 -13
View File
@@ -10,24 +10,23 @@
Options "logger.level.*" and "logger.mask.*" can be used to set level or mask for a buffer, or buffers beginning with name.
Examples:
set level to 5 for current buffer:
/logger set 5
disable logging for current buffer:
/logger disable
set level to 3 for all IRC buffers:
/set logger.level.irc 3
disable logging for main WeeChat buffer:
/set logger.level.core.weechat 0
use a directory per IRC server and a file per channel inside:
/set logger.mask.irc "$server/$channel.weechatlog"
Log levels used by IRC plugin:
1: user message, notice, private
2: nick change
3: server message
4: join/part/quit
9: all other messages
Examples:
set level to 5 for current buffer:
/logger set 5
disable logging for current buffer:
/logger disable
set level to 3 for all IRC buffers:
/set logger.level.irc 3
disable logging for main WeeChat buffer:
/set logger.level.core.weechat 0
use a directory per IRC server and a file per channel inside:
/set logger.mask.irc "$server/$channel.weechatlog"
........................................
+16 -16
View File
@@ -1,40 +1,40 @@
* *logger.file.auto_log*
** description: automatically save content of buffers to files (unless a buffer disables log)
** description: `automatically save content of buffers to files (unless a buffer disables log)`
** type: boolean
** values: on, off (default value: on)
** values: on, off (default value: `on`)
* *logger.file.info_lines*
** description: write information line in log file when log starts or ends for a buffer
** description: `write information line in log file when log starts or ends for a buffer`
** type: boolean
** values: on, off (default value: off)
** values: on, off (default value: `off`)
* *logger.file.mask*
** description: default file name mask for log files (format is "directory/to/file" or "file", without first "/" because "path" option is used to build complete path to file); local buffer variables are permitted
** description: `default file name mask for log files (format is "directory/to/file" or "file", without first "/" because "path" option is used to build complete path to file); local buffer variables are permitted; date specifiers are permitted (see man strftime)`
** type: string
** values: any string (default value: "$plugin.$name.weechatlog")
** values: any string (default value: `"$plugin.$name.weechatlog"`)
* *logger.file.name_lower_case*
** description: use only lower case for log filenames
** description: `use only lower case for log filenames`
** type: boolean
** values: on, off (default value: on)
** values: on, off (default value: `on`)
* *logger.file.path*
** description: path for WeeChat log files ("%h" will be replaced by WeeChat home, "~/.weechat" by default)
** description: `path for WeeChat log files; "%h" at beginning of string is replaced by WeeChat home ("~/.weechat" by default); date specifiers are permitted (see man strftime)`
** type: string
** values: any string (default value: "%h/logs/")
** values: any string (default value: `"%h/logs/"`)
* *logger.file.replacement_char*
** description: replacement char for special chars in filename built with mask (like directory delimiter)
** description: `replacement char for special chars in filename built with mask (like directory delimiter)`
** type: string
** values: any string (default value: "_")
** values: any string (default value: `"_"`)
* *logger.file.time_format*
** description: timestamp used in log files (see man strftime for date/time specifiers)
** description: `timestamp used in log files (see man strftime for date/time specifiers)`
** type: string
** values: any string (default value: "%Y-%m-%d %H:%M:%S")
** values: any string (default value: `"%Y-%m-%d %H:%M:%S"`)
* *logger.look.backlog*
** description: maximum number of lines to display from log file when creating new buffer (0 = no backlog)
** description: `maximum number of lines to display from log file when creating new buffer (0 = no backlog)`
** type: integer
** values: 0 .. 2147483647 (default value: 20)
** values: 0 .. 2147483647 (default value: `20`)
+1 -1
View File
@@ -1,4 +1,4 @@
&bull; *`/lua`* `[list [name]] | [listfull [name]] | [load filename] | [autoload] | [reload] | [unload [name]]`::
&bull; *`/lua`* `[list [name]] | [listfull [name]] | [load filename] | [autoload] | [reload [name]] | [unload [name]]`::
........................................
list/load/unload scripts
+1 -1
View File
@@ -1,4 +1,4 @@
&bull; *`/perl`* `[list [name]] | [listfull [name]] | [load filename] | [autoload] | [reload] | [unload [name]]`::
&bull; *`/perl`* `[list [name]] | [listfull [name]] | [load filename] | [autoload] | [reload [name]] | [unload [name]]`::
........................................
list/load/unload scripts
+1 -1
View File
@@ -1,4 +1,4 @@
&bull; *`/python`* `[list [name]] | [listfull [name]] | [load filename] | [autoload] | [reload] | [unload [name]]`::
&bull; *`/python`* `[list [name]] | [listfull [name]] | [load filename] | [autoload] | [reload [name]] | [unload [name]]`::
........................................
list/load/unload scripts
+7 -1
View File
@@ -1,4 +1,4 @@
&bull; *`/relay`* `[list | listfull | add protocol.name port | del protocol.name]`::
&bull; *`/relay`* `[list | listfull | add protocol.name port | del protocol.name | raw]`::
........................................
relay control
@@ -9,9 +9,15 @@
add: add relay for a protocol + name
del: remove relay for a protocol + name
protocol.name: protocol and name to relay
currently, only protocol "irc" is supported
for example: irc.freenode
port: port used for relay
raw: open buffer with raw Relay data
Without argument, this command opens buffer with list of relay clients.
Example:
irc proxy, for server "freenode":
/relay add irc.freenode 8000
........................................
+35 -20
View File
@@ -1,50 +1,65 @@
* *relay.color.status_active*
** description: text color for "connected" status
** description: `text color for "connected" status`
** type: color
** values: a color name (default value: lightblue)
** values: a color name (default value: `lightblue`)
* *relay.color.status_auth_failed*
** description: text color for "authentication failed" status
** description: `text color for "authentication failed" status`
** type: color
** values: a color name (default value: lightred)
** values: a color name (default value: `lightred`)
* *relay.color.status_connecting*
** description: text color for "connecting" status
** description: `text color for "connecting" status`
** type: color
** values: a color name (default value: yellow)
** values: a color name (default value: `yellow`)
* *relay.color.status_disconnected*
** description: text color for "disconnected" status
** description: `text color for "disconnected" status`
** type: color
** values: a color name (default value: lightred)
** values: a color name (default value: `lightred`)
* *relay.color.status_waiting_auth*
** description: text color for "waiting authentication" status
** description: `text color for "waiting authentication" status`
** type: color
** values: a color name (default value: brown)
** values: a color name (default value: `brown`)
* *relay.color.text*
** description: text color
** description: `text color`
** type: color
** values: a color name (default value: default)
** values: a color name (default value: `default`)
* *relay.color.text_bg*
** description: background color
** description: `background color`
** type: color
** values: a color name (default value: default)
** values: a color name (default value: `default`)
* *relay.color.text_selected*
** description: text color of selected client line
** description: `text color of selected client line`
** type: color
** values: a color name (default value: white)
** values: a color name (default value: `white`)
* *relay.look.auto_open_buffer*
** description: auto open relay buffer when a new client is connecting
** description: `auto open relay buffer when a new client is connecting`
** type: boolean
** values: on, off (default value: on)
** values: on, off (default value: `on`)
* *relay.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
** values: 0 .. 65535 (default value: `256`)
* *relay.network.bind_address*
** description: `address for bind (if empty, connection is possible on all interfaces, use "127.0.0.1" to allow connections from local machine only)`
** type: string
** values: any string (default value: `""`)
* *relay.network.max_clients*
** description: maximum number of clients connecting to a port
** description: `maximum number of clients connecting to a port`
** type: integer
** values: 1 .. 1024 (default value: 5)
** values: 1 .. 1024 (default value: `5`)
* *relay.network.password*
** description: `password required by clients to access this relay (empty value means no password required)`
** type: string
** values: any string (default value: `""`)
@@ -0,0 +1,25 @@
&bull; *`/rmodifier`* `[list] | [listdefault] | [add name modifiers groups regex] | [del name|-all [name...]] | [default -yes]`::
........................................
alter modifier strings with regular expressions
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 found: comma separated list of groups (from 1 to 9) with optional "*" after number to hide group
regex: regular expression
del: delete a rmodifier
-all: delete all rmodifiers
default: restore default rmodifiers
Examples:
hide everything typed after a command /password:
/rmodifier add password input_text_display 1,2* ^(/password +)(.*)
delete rmodifier "password":
/rmodifier del password
delete all rmodifiers:
/rmodifier del -all
........................................
@@ -0,0 +1,5 @@
* *rmodifier.look.hide_char*
** description: `char used to hide part of a string`
** type: string
** values: any string (default value: `"*"`)
+1 -1
View File
@@ -1,4 +1,4 @@
&bull; *`/ruby`* `[list [name]] | [listfull [name]] | [load filename] | [autoload] | [reload] | [unload [name]]`::
&bull; *`/ruby`* `[list [name]] | [listfull [name]] | [load filename] | [autoload] | [reload [name]] | [unload [name]]`::
........................................
list/load/unload scripts
+1 -1
View File
@@ -1,4 +1,4 @@
&bull; *`/tcl`* `[list [name]] | [listfull [name]] | [load filename] | [autoload] | [reload] | [unload [name]]`::
&bull; *`/tcl`* `[list [name]] | [listfull [name]] | [load filename] | [autoload] | [reload [name]] | [unload [name]]`::
........................................
list/load/unload scripts
+136 -33
View File
@@ -1,3 +1,12 @@
&bull; *`/away`* `[-all] [message]`::
........................................
toggle away status
-all: toggle away status on all connected servers
message: message for away (if no message is given, away status is removed)
........................................
&bull; *`/bar`* `[add barname type[,cond1,cond2,...] position size separator item1,item2,...] | [default] | [del barname|-all] | [set barname option value] | [hide|show|toggle barname] | [scroll barname buffer scroll_value] | [list] | [listfull] | [listitems]`::
........................................
@@ -44,7 +53,7 @@
/bar scroll nicklist * ye
........................................
&bull; *`/buffer`* `[clear [number | -merged | -all] | move number | merge number | unmerge [number] | close [n1[-n2]] | list | notify level | localvar | set property value | number | name]`::
&bull; *`/buffer`* `[clear [number | -merged | -all] | move number | merge number | unmerge [number] | close [n1[-n2]] | list | notify level | localvar | set property value | get property | number | name]`::
........................................
manage buffers
@@ -55,7 +64,7 @@
(by default ctrl-x switches between merged buffers)
unmerge: unmerge buffer from other buffers which have same number
close: close buffer (number/range is optional)
list: list buffers (no parameter implies this list)
list: list buffers (without argument, this list is displayed)
notify: set notify level for current buffer: this level determines whether buffer will be added to hotlist or not:
none: never
highlight: for highlights only
@@ -64,6 +73,7 @@
reset: reset to default value (all)
localvar: display local variables for current buffer
set: set a property for current buffer
get: display a property of current buffer
number: jump to buffer by number, possible prefix:
'+': relative jump, add number to current
'-': relative jump, sub number to current
@@ -71,15 +81,45 @@
name: jump to buffer by (partial) name
Examples:
clear current buffer: /buffer clear
clear all buffers: /buffer clear -all
move buffer: /buffer move 5
merge with core buffer: /buffer merge 1
unmerge buffer: /buffer unmerge
close current buffer: /buffer close
close buffers 5 to 7: /buffer close 5-7
jump to #weechat: /buffer #weechat
jump to next buffer: /buffer +1
clear current buffer:
/buffer clear
move buffer to number 5:
/buffer move 5
merge with core buffer:
/buffer merge 1
unmerge buffer:
/buffer unmerge
close current buffer:
/buffer close
close buffers 5 to 7:
/buffer close 5-7
jump to #weechat:
/buffer #weechat
jump to next buffer:
/buffer +1
........................................
&bull; *`/color`* `[add pair [alias] [fg,bg]] | [del pair] | switch`::
........................................
define custom colors and display palette of colors
add: add a color pair
del: delete a color pair
switch: switch WeeChat/terminal colors
pair: pair number (>= 1)
alias: alias name for color (for example: "orange")
fg,bg: foreground and background pair number (-1 for default terminal foreground or background)
Without argument, this command displays colors in a new buffer.
Examples:
add color 214 with alias "orange":
/color add 214 orange
add color 250 with orange on blue:
/color add 250 214,4 orange_blue
delete color 214:
/color del 214
........................................
&bull; *`/command`* `plugin command`::
@@ -91,7 +131,7 @@
command: command to execute (a '/' is automatically added if not found at beginning of command)
........................................
&bull; *`/debug`* `[list | set plugin level | dump | buffer | windows | term]`::
&bull; *`/debug`* `[list | set plugin level | dump [plugin] | buffer | windows | term]`::
........................................
control debug for core/plugins
@@ -120,17 +160,31 @@
-all: delete all filters
plugin.buffer: plugin and buffer where filter is active ("*" for all buffers)
tags: comma separated list of tags, for example: "irc_join,irc_part,irc_quit"
regex: regular expression to search in line (use \t to separate prefix from message, special chars like '|' must be escaped: '\|')
regex: regular expression to search in line
- use '\t' to separate prefix from message, special chars like '|' must be escaped: '\|'
- if regex starts with '!', then matching result is reversed (use '\!' to start with '!')
note: two regex are created: one for prefix and one for message
The default key alt+'=' toggles filtering on/off.
Tags most commonly used:
no_filter, no_highlight, no_log, log0..log9 (log level),
notify_message, notify_private, notify_highlight,
nick_xxx (xxx is nick in message),
irc_xxx (xxx is command name or number, see /server raw),
irc_numeric, irc_error, irc_action, irc_ctcp, irc_ctcp_reply, irc_smart_filter, away_info.
Examples:
use IRC smart filter for join/part/quit messages:
/filter add irc_smart * irc_smart_filter *
filter all IRC join/part/quit messages:
/filter add joinquit * irc_join,irc_part,irc_quit *
filter nicks displayed when joining channels or with /names:
/filter add nicks * irc_366 *
filter nick "toto" on IRC channel #weechat:
/filter add toto irc.freenode.#weechat * toto\t
keep only nick "titi" on IRC channel #test:
/filter add titi irc.freenode.#test * !titi\t
filter lines containing word "spam":
/filter add filterspam * * spam
filter lines containing "weechat sucks" on IRC channel #weechat:
@@ -155,7 +209,7 @@
value: number of history entries to show
........................................
&bull; *`/input`* `return | complete_next | complete_previous | search_next | delete_previous_char | delete_next_char | delete_previous_word | delete_next_word | delete_beginning_of_line | delete_end_of_line | delete_line | clipboard_paste | transpose_chars | move_beginning_of_line | move_end_of_line | move_previous_char | move_next_char | move_previous_word | move_next_word | history_previous | history_next | history_global_previous | history_global_next | jump_smart | jump_last_buffer | jump_previously_visited_buffer | jump_next_visited_buffer | hotlist_clear | grab_key | grab_key_command | scroll_unread | set_unread | set_unread_current_buffer | insert [args]`::
&bull; *`/input`* `return | complete_next | complete_previous | search_next | delete_previous_char | delete_next_char | delete_previous_word | delete_next_word | delete_beginning_of_line | delete_end_of_line | delete_line | clipboard_paste | transpose_chars | undo | redo | move_beginning_of_line | move_end_of_line | move_previous_char | move_next_char | move_previous_word | move_next_word | history_previous | history_next | history_global_previous | history_global_next | jump_smart | jump_last_buffer | jump_previously_visited_buffer | jump_next_visited_buffer | hotlist_clear | grab_key | grab_key_command | scroll_unread | set_unread | set_unread_current_buffer | switch_active_buffer | switch_active_buffer_previous | insert [args]`::
........................................
functions for command line
@@ -163,17 +217,29 @@
This command is used by key bindings or plugins.
........................................
&bull; *`/key`* `[bind key [command [args]]] | [unbind key] | [reset -yes] | [missing]`::
&bull; *`/key`* `[list | listdefault | listdiff] | [bind key [command [args]]] | [unbind key] | [reset key] | [resetall -yes] | [missing]`::
........................................
bind/unbind keys
bind: bind a command to a key or display command bound to key
unbind: remove a key binding
reset: restore bindings to the default values and delete ALL personal bindings (use carefully!)
missing: add missing keys (using default bindings)
list: list all current keys (without argument, this list is displayed)
listdefault: list default keys
listdiff: list differences between current and default keys (keys added, redefined or deleted)
bind: bind a command to a key or display command bound to key
unbind: remove a key binding
reset: reset a key to default binding
resetall: restore bindings to the default values and delete ALL personal bindings (use carefully!)
missing: add missing keys (using default bindings), useful after installing new WeeChat version
When binding a command to a key, it is recommended to use key alt+k (or Esc then k), and then press the key to bind: this will insert key code in command line.
Examples:
key alt-x to toggle nicklist bar:
/key bind meta-x /bar toggle nicklist
key alt-r to jump to #weechat IRC channel:
/key bind meta-r /buffer #weechat
restore default binding for key alt-r:
/key reset meta-r
........................................
&bull; *`/layout`* `[[save | apply | reset] [buffers | windows]]`::
@@ -190,6 +256,28 @@
Without argument, this command displays saved layout.
........................................
&bull; *`/mute`* `[-current | -buffer name | -all] command`::
........................................
execute a command silently
-current: no output on curent buffer
-buffer: no output on specified buffer
name: full buffer name (examples: "irc.server.freenode", "irc.freenode.#weechat")
-all: no output on ALL buffers
command: command to execute silently (a '/' is automatically added if not found at beginning of command)
If no target is specified (-current, -buffer or -all), then default is to mute WeeChat core buffer only.
Examples:
config save:
/mute save
message to current IRC channel:
/mute -current msg * hi!
message to #weechat channel:
/mute -buffer irc.freenode.#weechat msg #weechat hi!
........................................
&bull; *`/plugin`* `[list [name]] | [listfull [name]] | [load filename] | [autoload] | [reload [name]] | [unload [name]]`::
........................................
@@ -235,11 +323,12 @@
/proxy del myproxy
........................................
&bull; *`/quit`* `[arguments]`::
&bull; *`/quit`* `[-yes] [arguments]`::
........................................
quit WeeChat
-yes: required if option weechat.look.confirm_quit is enabled
arguments: text sent with signal "quit"
(for example irc plugin uses this text to send quit message to server)
........................................
@@ -299,22 +388,30 @@
path_to_binary: path to WeeChat binary (default is current binary)
This command run again a WeeChat binary, so it should have been compiled or installed with a package manager before running this command.
Upgrade process has 4 steps:
1. save session into files for core and plugins (buffers, history, ..)
2. unload all plugins (configs *.conf are saved)
3. save WeeChat config (weechat.conf)
4. exec new WeeChat binary.
........................................
&bull; *`/uptime`* `[-o]`::
&bull; *`/uptime`* `[-o | -ol]`::
........................................
show WeeChat uptime
-o: send uptime to current buffer as input
-o: send uptime to current buffer as input (english string)
-ol: send uptime to current buffer as input (translated string)
........................................
&bull; *`/version`* `[-o]`::
&bull; *`/version`* `[-o | -ol]`::
........................................
show WeeChat version and compilation date
-o: send version to current buffer as input
-o: send version to current buffer as input (english string)
-ol: send version to current buffer as input (translated string)
........................................
&bull; *`/wait`* `number[unit] command`::
@@ -333,9 +430,12 @@
Note: command is executed on buffer where /wait was executed (if buffer is not found (for example if it has been closed before execution of command), then command is executed on WeeChat core buffer).
Examples:
join channel in 10 sec: /wait 10 /join #test
set away in 15 min: /wait 15m /away -all I'm away
say 'hello' in 2 min: /wait 2m hello
join channel in 10 sec:
/wait 10 /join #test
set away in 15 min:
/wait 15m /away -all I'm away
say 'hello' in 2 min:
/wait 2m hello
........................................
&bull; *`/window`* `[list | -1 | +1 | b# | up | down | left | right | splith [pct] | splitv [pct] | resize pct | merge [all] | page_up | page_down | refresh | scroll | scroll_up | scroll_down | scroll_top | scroll_bottom | scroll_previous_highlight | scroll_next_highlight | zoom]`::
@@ -343,7 +443,7 @@
........................................
manage windows
list: list opened windows (no parameter implies this list)
list: list opened windows (without argument, this list is displayed)
-1: jump to previous window
+1: jump to next window
b#: jump to next window displaying buffer number #
@@ -355,7 +455,6 @@
splitv: split current window vertically
resize: resize window size, new size is <pct> percentage of parent window
merge: merge window with another (all = keep only one window)
page_up: scroll one page up
page_down: scroll one page down
refresh: refresh screen
@@ -371,9 +470,13 @@
For splith and splitv, pct is a percentage which represents size of new window, computed with current window as size reference. For example 25 means create a new window with size = current_size / 4
Examples:
jump to window displaying buffer #1: /window b1
scroll 2 lines up: /window scroll -2
scroll 2 days up: /window scroll -2d
scroll to beginning of current day: /window scroll -d
jump to window displaying buffer #1:
/window b1
scroll 2 lines up:
/window scroll -2
scroll 2 days up:
/window scroll -2d
scroll to beginning of current day:
/window scroll -d
........................................
+280 -295
View File
@@ -1,610 +1,595 @@
* *weechat.color.bar_more*
** description: text color for '+' when scrolling bars
** description: `text color for '+' when scrolling bars`
** type: color
** values: a color name (default value: lightmagenta)
** values: a color name (default value: `lightmagenta`)
* *weechat.color.chat*
** description: text color for chat
** description: `text color for chat`
** type: color
** values: a color name (default value: default)
** values: a color name (default value: `default`)
* *weechat.color.chat_bg*
** description: background color for chat
** description: `background color for chat`
** type: color
** values: a color name (default value: default)
** values: a color name (default value: `default`)
* *weechat.color.chat_buffer*
** description: text color for buffer names
** description: `text color for buffer names`
** type: color
** values: a color name (default value: white)
** values: a color name (default value: `white`)
* *weechat.color.chat_channel*
** description: text color for channel names
** description: `text color for channel names`
** type: color
** values: a color name (default value: white)
** values: a color name (default value: `white`)
* *weechat.color.chat_delimiters*
** description: text color for delimiters
** description: `text color for delimiters`
** type: color
** values: a color name (default value: green)
** values: a color name (default value: `green`)
* *weechat.color.chat_highlight*
** description: text color for highlighted prefix
** description: `text color for highlighted prefix`
** type: color
** values: a color name (default value: yellow)
** values: a color name (default value: `yellow`)
* *weechat.color.chat_highlight_bg*
** description: background color for highlighted prefix
** description: `background color for highlighted prefix`
** type: color
** values: a color name (default value: magenta)
** values: a color name (default value: `magenta`)
* *weechat.color.chat_host*
** description: text color for hostnames
** description: `text color for hostnames`
** type: color
** values: a color name (default value: cyan)
** values: a color name (default value: `cyan`)
* *weechat.color.chat_nick*
** description: text color for nicks in chat window
** description: `text color for nicks in chat window`
** type: color
** values: a color name (default value: lightcyan)
** values: a color name (default value: `lightcyan`)
* *weechat.color.chat_nick_color01*
** description: text color #1 for nick
** type: color
** values: a color name (default value: cyan)
* *weechat.color.chat_nick_color02*
** description: text color #2 for nick
** type: color
** values: a color name (default value: magenta)
* *weechat.color.chat_nick_color03*
** description: text color #3 for nick
** type: color
** values: a color name (default value: green)
* *weechat.color.chat_nick_color04*
** description: text color #4 for nick
** type: color
** values: a color name (default value: brown)
* *weechat.color.chat_nick_color05*
** description: text color #5 for nick
** type: color
** values: a color name (default value: lightblue)
* *weechat.color.chat_nick_color06*
** description: text color #6 for nick
** type: color
** values: a color name (default value: default)
* *weechat.color.chat_nick_color07*
** description: text color #7 for nick
** type: color
** values: a color name (default value: lightcyan)
* *weechat.color.chat_nick_color08*
** description: text color #8 for nick
** type: color
** values: a color name (default value: lightmagenta)
* *weechat.color.chat_nick_color09*
** description: text color #9 for nick
** type: color
** values: a color name (default value: lightgreen)
* *weechat.color.chat_nick_color10*
** description: text color #10 for nick
** type: color
** values: a color name (default value: blue)
* *weechat.color.chat_nick_colors*
** description: `text color for nicks (comma separated list of colors)`
** type: string
** values: any string (default value: `"cyan,magenta,green,brown,lightblue,default,lightcyan,lightmagenta,lightgreen,blue"`)
* *weechat.color.chat_nick_other*
** description: text color for other nick in private buffer
** description: `text color for other nick in private buffer`
** type: color
** values: a color name (default value: cyan)
** values: a color name (default value: `cyan`)
* *weechat.color.chat_nick_self*
** description: text color for local nick in chat window
** description: `text color for local nick in chat window`
** type: color
** values: a color name (default value: white)
** values: a color name (default value: `white`)
* *weechat.color.chat_prefix_action*
** description: text color for action prefix
** description: `text color for action prefix`
** type: color
** values: a color name (default value: white)
** values: a color name (default value: `white`)
* *weechat.color.chat_prefix_buffer*
** description: text color for buffer name (before prefix, when many buffers are merged with same number)
** description: `text color for buffer name (before prefix, when many buffers are merged with same number)`
** type: color
** values: a color name (default value: brown)
** values: a color name (default value: `brown`)
* *weechat.color.chat_prefix_error*
** description: text color for error prefix
** description: `text color for error prefix`
** type: color
** values: a color name (default value: yellow)
** values: a color name (default value: `yellow`)
* *weechat.color.chat_prefix_join*
** description: text color for join prefix
** description: `text color for join prefix`
** type: color
** values: a color name (default value: lightgreen)
** values: a color name (default value: `lightgreen`)
* *weechat.color.chat_prefix_more*
** description: text color for '+' when prefix is too long
** description: `text color for '+' when prefix is too long`
** type: color
** values: a color name (default value: lightmagenta)
** values: a color name (default value: `lightmagenta`)
* *weechat.color.chat_prefix_network*
** description: text color for network prefix
** description: `text color for network prefix`
** type: color
** values: a color name (default value: magenta)
** values: a color name (default value: `magenta`)
* *weechat.color.chat_prefix_quit*
** description: text color for quit prefix
** description: `text color for quit prefix`
** type: color
** values: a color name (default value: lightred)
** values: a color name (default value: `lightred`)
* *weechat.color.chat_prefix_suffix*
** description: text color for suffix (after prefix)
** description: `text color for suffix (after prefix)`
** type: color
** values: a color name (default value: green)
** values: a color name (default value: `green`)
* *weechat.color.chat_read_marker*
** description: text color for unread data marker
** description: `text color for unread data marker`
** type: color
** values: a color name (default value: magenta)
** values: a color name (default value: `magenta`)
* *weechat.color.chat_read_marker_bg*
** description: background color for unread data marker
** description: `background color for unread data marker`
** type: color
** values: a color name (default value: default)
** values: a color name (default value: `default`)
* *weechat.color.chat_server*
** description: text color for server names
** description: `text color for server names`
** type: color
** values: a color name (default value: brown)
** values: a color name (default value: `brown`)
* *weechat.color.chat_text_found*
** description: text color for marker on lines where text sought is found
** description: `text color for marker on lines where text sought is found`
** type: color
** values: a color name (default value: yellow)
** values: a color name (default value: `yellow`)
* *weechat.color.chat_text_found_bg*
** description: background color for marker on lines where text sought is found
** description: `background color for marker on lines where text sought is found`
** type: color
** values: a color name (default value: lightmagenta)
** values: a color name (default value: `lightmagenta`)
* *weechat.color.chat_time*
** description: text color for time in chat window
** description: `text color for time in chat window`
** type: color
** values: a color name (default value: default)
** values: a color name (default value: `default`)
* *weechat.color.chat_time_delimiters*
** description: text color for time delimiters
** description: `text color for time delimiters`
** type: color
** values: a color name (default value: brown)
** values: a color name (default value: `brown`)
* *weechat.color.chat_value*
** description: text color for values
** description: `text color for values`
** type: color
** values: a color name (default value: cyan)
** values: a color name (default value: `cyan`)
* *weechat.color.input_actions*
** description: text color for actions in input line
** description: `text color for actions in input line`
** type: color
** values: a color name (default value: lightgreen)
** values: a color name (default value: `lightgreen`)
* *weechat.color.input_text_not_found*
** description: text color for unsucessful text search in input line
** description: `text color for unsucessful text search in input line`
** type: color
** values: a color name (default value: red)
** values: a color name (default value: `red`)
* *weechat.color.nicklist_away*
** description: text color for away nicknames
** description: `text color for away nicknames`
** type: color
** values: a color name (default value: cyan)
** values: a color name (default value: `cyan`)
* *weechat.color.nicklist_group*
** description: text color for groups in nicklist
** description: `text color for groups in nicklist`
** type: color
** values: a color name (default value: green)
** values: a color name (default value: `green`)
* *weechat.color.nicklist_more*
** description: text color for '+' when scrolling nicks in nicklist
* *weechat.color.nicklist_offline*
** description: `text color for offline nicknames`
** type: color
** values: a color name (default value: lightmagenta)
* *weechat.color.nicklist_prefix1*
** description: text color for prefix #1 in nicklist
** type: color
** values: a color name (default value: lightgreen)
* *weechat.color.nicklist_prefix2*
** description: text color for prefix #2 in nicklist
** type: color
** values: a color name (default value: lightmagenta)
* *weechat.color.nicklist_prefix3*
** description: text color for prefix #3 in nicklist
** type: color
** values: a color name (default value: yellow)
* *weechat.color.nicklist_prefix4*
** description: text color for prefix #4 in nicklist
** type: color
** values: a color name (default value: blue)
* *weechat.color.nicklist_prefix5*
** description: text color for prefix #5 in nicklist
** type: color
** values: a color name (default value: brown)
** values: a color name (default value: `blue`)
* *weechat.color.separator*
** description: background color for window separators (when split)
** description: `background color for window separators (when split)`
** type: color
** values: a color name (default value: blue)
** values: a color name (default value: `blue`)
* *weechat.color.status_data_highlight*
** description: text color for buffer with highlight (status bar)
** description: `text color for buffer with highlight (status bar)`
** type: color
** values: a color name (default value: lightmagenta)
** values: a color name (default value: `lightmagenta`)
* *weechat.color.status_data_msg*
** description: text color for buffer with new messages (status bar)
** description: `text color for buffer with new messages (status bar)`
** type: color
** values: a color name (default value: yellow)
** values: a color name (default value: `yellow`)
* *weechat.color.status_data_other*
** description: text color for buffer with new data (not messages) (status bar)
** description: `text color for buffer with new data (not messages) (status bar)`
** type: color
** values: a color name (default value: default)
** values: a color name (default value: `default`)
* *weechat.color.status_data_private*
** description: text color for buffer with private message (status bar)
** description: `text color for buffer with private message (status bar)`
** type: color
** values: a color name (default value: lightgreen)
** values: a color name (default value: `lightgreen`)
* *weechat.color.status_filter*
** description: text color for filter indicator in status bar
** description: `text color for filter indicator in status bar`
** type: color
** values: a color name (default value: green)
** values: a color name (default value: `green`)
* *weechat.color.status_more*
** description: text color for buffer with new data (status bar)
** description: `text color for buffer with new data (status bar)`
** type: color
** values: a color name (default value: yellow)
** values: a color name (default value: `yellow`)
* *weechat.color.status_name*
** description: text color for current buffer name in status bar
** description: `text color for current buffer name in status bar`
** type: color
** values: a color name (default value: white)
** values: a color name (default value: `white`)
* *weechat.color.status_name_ssl*
** description: `text color for current buffer name in status bar, if data are secured with a protocol like SSL`
** type: color
** values: a color name (default value: `lightgreen`)
* *weechat.color.status_number*
** description: text color for current buffer number in status bar
** description: `text color for current buffer number in status bar`
** type: color
** values: a color name (default value: yellow)
** values: a color name (default value: `yellow`)
* *weechat.color.status_time*
** description: text color for time (status bar)
** description: `text color for time (status bar)`
** type: color
** values: a color name (default value: default)
** values: a color name (default value: `default`)
* *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)`
** type: string
** values: any string (default value: "%(nicks)|%(irc_channels)")
** values: any string (default value: `"%(nicks)|%(irc_channels)"`)
* *weechat.completion.nick_add_space*
** description: add space after nick completion (when nick is not first word on command line)
** description: `add space after nick completion (when nick is not first word on command line)`
** type: boolean
** values: on, off (default value: on)
** values: on, off (default value: `on`)
* *weechat.completion.nick_completer*
** description: string inserted after nick completion
** description: `string inserted after nick completion`
** type: string
** values: any string (default value: ":")
** values: any string (default value: `":"`)
* *weechat.completion.nick_first_only*
** description: complete only with first nick found
** description: `complete only with first nick found`
** type: boolean
** values: on, off (default value: off)
** values: on, off (default value: `off`)
* *weechat.completion.nick_ignore_chars*
** description: chars ignored for nick completion
** description: `chars ignored for nick completion`
** type: string
** values: any string (default value: "[]-^")
** values: any string (default value: `"[]-^"`)
* *weechat.completion.partial_completion_alert*
** description: alert user when a partial completion occurs
** description: `alert user when a partial completion occurs`
** type: boolean
** values: on, off (default value: on)
** values: on, off (default value: `on`)
* *weechat.completion.partial_completion_command*
** description: partially complete command names (stop when many commands found begin with same letters)
** description: `partially complete command names (stop when many commands found begin with same letters)`
** type: boolean
** values: on, off (default value: off)
** values: on, off (default value: `off`)
* *weechat.completion.partial_completion_command_arg*
** description: partially complete command arguments (stop when many arguments found begin with same prefix)
** description: `partially complete command arguments (stop when many arguments found begin with same prefix)`
** type: boolean
** values: on, off (default value: off)
** values: on, off (default value: `off`)
* *weechat.completion.partial_completion_count*
** description: display count for each partial completion in bar item
** description: `display count for each partial completion in bar item`
** type: boolean
** values: on, off (default value: on)
** values: on, off (default value: `on`)
* *weechat.completion.partial_completion_other*
** description: partially complete outside commands (stop when many words found begin with same letters)
** description: `partially complete outside commands (stop when many words found begin with same letters)`
** type: boolean
** values: on, off (default value: off)
** values: on, off (default value: `off`)
* *weechat.history.display_default*
** description: maximum number of commands to display by default in history listing (0 = unlimited)
** description: `maximum number of commands to display by default in history listing (0 = unlimited)`
** type: integer
** values: 0 .. 2147483647 (default value: 5)
** values: 0 .. 2147483647 (default value: `5`)
* *weechat.history.max_commands*
** description: maximum number of user commands in history (0 = unlimited)
** description: `maximum number of user commands in history (0 = unlimited)`
** type: integer
** values: 0 .. 2147483647 (default value: 100)
** values: 0 .. 2147483647 (default value: `100`)
* *weechat.history.max_lines*
** description: maximum number of lines in history per buffer (0 = unlimited)
** description: `maximum number of lines in history per buffer (0 = unlimited)`
** type: integer
** values: 0 .. 2147483647 (default value: 4096)
** values: 0 .. 2147483647 (default value: `4096`)
* *weechat.history.max_visited_buffers*
** description: maximum number of visited buffers to keep in memory
** description: `maximum number of visited buffers to keep in memory`
** type: integer
** values: 0 .. 1000 (default value: 50)
** values: 0 .. 1000 (default value: `50`)
* *weechat.look.align_end_of_lines*
** description: `alignment for end of lines (all lines after the first): they are starting under this data (time, buffer, prefix, suffix, message (default))`
** type: integer
** values: time, buffer, prefix, suffix, message (default value: `message`)
* *weechat.look.buffer_notify_default*
** description: default notify level for buffers (used to tell WeeChat if buffer must be displayed in hotlist or not, according to importance of message)
** description: `default notify level for buffers (used to tell WeeChat if buffer must be displayed in hotlist or not, according to importance of message): all=all messages (default), message=messages+highlights, highlight=highlights only, none=never display in hotlist`
** type: integer
** values: none, highlight, message, all (default value: all)
** values: none, highlight, message, all (default value: `all`)
* *weechat.look.buffer_time_format*
** description: time format for buffers
** description: `time format for each line displayed in buffers (see man strftime for date/time specifiers), colors are allowed with format "${color}", for example french time: "${lightblue}%H${white}%M${lightred}%S"`
** type: string
** values: any string (default value: "%H:%M:%S")
* *weechat.look.color_nicks_number*
** description: number of colors to use for nicks colors
** type: integer
** values: 1 .. 10 (default value: 10)
** values: any string (default value: `"%H:%M:%S"`)
* *weechat.look.color_real_white*
** description: if set, uses real white color, disabled by default for terms with white background (if you never use white background, you should turn on this option to see real white instead of default term foreground color)
** description: `if set, uses real white color, disabled by default for terms with white background (if you never use white background, you should turn on this option to see real white instead of default term foreground color)`
** type: boolean
** values: on, off (default value: off)
** values: on, off (default value: `off`)
* *weechat.look.command_chars*
** description: `chars used to determine if input string is a command or not: input must start with one of these chars; the slash ("/") is always considered as command prefix (example: ".$")`
** type: string
** values: any string (default value: `""`)
* *weechat.look.confirm_quit*
** description: `if set, /quit command must be confirmed with extra argument "-yes" (see /help quit)`
** type: boolean
** values: on, off (default value: `off`)
* *weechat.look.day_change*
** description: display special message when day changes
** description: `display special message when day changes`
** type: boolean
** values: on, off (default value: on)
** values: on, off (default value: `on`)
* *weechat.look.day_change_time_format*
** description: time format for date displayed when day changed
** description: `time format for date displayed when day changed`
** type: string
** values: any string (default value: "%a, %d %b %Y")
** values: any string (default value: `"%a, %d %b %Y"`)
* *weechat.look.highlight*
** description: comma separated list of words to highlight (case insensitive comparison, words may begin or end with "*" for partial match)
** description: `comma separated list of words to highlight (case insensitive comparison, words may begin or end with "*" for partial match)`
** type: string
** values: any string (default value: "")
** values: any string (default value: `""`)
* *weechat.look.highlight_regex*
** description: `regular expression used to check if a message has highlight or not, at least one match in string must be surrounded by word chars (alphanumeric, "-", "_" or "|"), regular expression is case sensitive, example: "FlashCode|flashy"`
** type: string
** values: any string (default value: `""`)
* *weechat.look.hline_char*
** description: char used to draw horizontal lines, note that empty value will draw a real line with ncurses, but may cause bugs with URL selection under some terminals
** description: `char used to draw horizontal lines, note that empty value will draw a real line with ncurses, but may cause bugs with URL selection under some terminals`
** type: string
** values: any string (default value: "-")
** values: any string (default value: `"-"`)
* *weechat.look.hotlist_names_count*
** description: max number of names in hotlist (0 = no name displayed, only buffer numbers)
** description: `max number of names in hotlist (0 = no name displayed, only buffer numbers)`
** type: integer
** values: 0 .. 32 (default value: 3)
** values: 0 .. 32 (default value: `3`)
* *weechat.look.hotlist_names_length*
** description: max length of names in hotlist (0 = no limit)
** description: `max length of names in hotlist (0 = no limit)`
** type: integer
** values: 0 .. 32 (default value: 0)
** values: 0 .. 32 (default value: `0`)
* *weechat.look.hotlist_names_level*
** description: level for displaying names in hotlist (combination of: 1=join/part, 2=message, 4=private, 8=highlight, for example: 12=private+highlight)
** description: `level for displaying names in hotlist (combination of: 1=join/part, 2=message, 4=private, 8=highlight, for example: 12=private+highlight)`
** type: integer
** values: 1 .. 15 (default value: 12)
** values: 1 .. 15 (default value: `12`)
* *weechat.look.hotlist_names_merged_buffers*
** description: if set, force display of names in hotlist for merged buffers
** description: `if set, force display of names in hotlist for merged buffers`
** type: boolean
** values: on, off (default value: off)
** values: on, off (default value: `off`)
* *weechat.look.hotlist_short_names*
** description: if set, uses short names to display buffer names in hotlist (start after first '.' in name)
** description: `if set, uses short names to display buffer names in hotlist (start after first '.' in name)`
** type: boolean
** values: on, off (default value: on)
** values: on, off (default value: `on`)
* *weechat.look.hotlist_sort*
** description: hotlist sort type (group_time_asc (default), group_time_desc, group_number_asc, group_number_desc, number_asc, number_desc)
** description: `hotlist sort type (group_time_asc (default), group_time_desc, group_number_asc, group_number_desc, number_asc, number_desc)`
** type: integer
** values: group_time_asc, group_time_desc, group_number_asc, group_number_desc, number_asc, number_desc (default value: group_time_asc)
** values: group_time_asc, group_time_desc, group_number_asc, group_number_desc, number_asc, number_desc (default value: `group_time_asc`)
* *weechat.look.hotlist_unique_numbers*
** description: `keep only unique numbers in hotlist (this applies only on hotlist items where name is NOT displayed after number)`
** type: boolean
** values: on, off (default value: `on`)
* *weechat.look.input_share*
** description: `share commands, text, or both in input for all buffers (there is still local history for each buffer)`
** type: integer
** values: none, commands, text, all (default value: `none`)
* *weechat.look.input_share_overwrite*
** description: `if set and input is shared, always overwrite input in target buffer`
** type: boolean
** values: on, off (default value: `off`)
* *weechat.look.input_undo_max*
** description: `max number of "undo" for command line, by buffer (0 = undo disabled)`
** type: integer
** values: 0 .. 65535 (default value: `32`)
* *weechat.look.item_time_format*
** description: time format for "time" bar item
** description: `time format for "time" bar item (see man strftime for date/time specifiers)`
** type: string
** values: any string (default value: "%H:%M")
** values: any string (default value: `"%H:%M"`)
* *weechat.look.jump_current_to_previous_buffer*
** description: jump to previous buffer displayed when jumping to current buffer number with /buffer *N (where N is a buffer number), to easily switch to another buffer, then come back to current buffer
** description: `jump to previous buffer displayed when jumping to current buffer number with /buffer *N (where N is a buffer number), to easily switch to another buffer, then come back to current buffer`
** type: boolean
** values: on, off (default value: on)
** values: on, off (default value: `on`)
* *weechat.look.jump_previous_buffer_when_closing*
** description: jump to previously visited buffer when closing a buffer (if disabled, then jump to buffer number - 1)
** description: `jump to previously visited buffer when closing a buffer (if disabled, then jump to buffer number - 1)`
** type: boolean
** values: on, off (default value: on)
** values: on, off (default value: `on`)
* *weechat.look.nickmode*
** description: display nick mode ((half)op/voice) before each nick
** description: `display nick mode ((half)op/voice) before each nick`
** type: boolean
** values: on, off (default value: on)
** values: on, off (default value: `on`)
* *weechat.look.nickmode_empty*
** description: display space if nick mode is not (half)op/voice
** description: `display space if nick mode is not (half)op/voice`
** type: boolean
** values: on, off (default value: off)
** values: on, off (default value: `off`)
* *weechat.look.paste_max_lines*
** description: max number of lines for paste without asking user (0 = disable this feature)
** description: `max number of lines for paste without asking user (0 = disable this feature)`
** type: integer
** values: 0 .. 2147483647 (default value: 3)
** values: 0 .. 2147483647 (default value: `3`)
* *weechat.look.prefix_action*
** description: prefix for action messages
** description: `prefix for action messages`
** type: string
** values: any string (default value: " *")
** values: any string (default value: `" *"`)
* *weechat.look.prefix_align*
** description: prefix alignment (none, left, right (default))
** description: `prefix alignment (none, left, right (default))`
** type: integer
** values: none, left, right (default value: right)
** values: none, left, right (default value: `right`)
* *weechat.look.prefix_align_max*
** description: max size for prefix (0 = no max size)
** description: `max size for prefix (0 = no max size)`
** type: integer
** values: 0 .. 128 (default value: 0)
** values: 0 .. 128 (default value: `0`)
* *weechat.look.prefix_align_min*
** description: `min size for prefix`
** type: integer
** values: 0 .. 128 (default value: `0`)
* *weechat.look.prefix_align_more*
** description: display '+' if prefix is truncated
** description: `display '+' if prefix is truncated`
** type: boolean
** values: on, off (default value: on)
** values: on, off (default value: `on`)
* *weechat.look.prefix_buffer_align*
** description: prefix alignment for buffer name, when many buffers are merged with same number (none, left, right (default))
** description: `prefix alignment for buffer name, when many buffers are merged with same number (none, left, right (default))`
** type: integer
** values: none, left, right (default value: right)
** values: none, left, right (default value: `right`)
* *weechat.look.prefix_buffer_align_max*
** description: max size for buffer name, when many buffers are merged with same number (0 = no max size)
** description: `max size for buffer name, when many buffers are merged with same number (0 = no max size)`
** type: integer
** values: 0 .. 128 (default value: 0)
** values: 0 .. 128 (default value: `0`)
* *weechat.look.prefix_buffer_align_more*
** description: display '+' if buffer name is truncated (when many buffers are merged with same number)
** description: `display '+' if buffer name is truncated (when many buffers are merged with same number)`
** type: boolean
** values: on, off (default value: on)
** values: on, off (default value: `on`)
* *weechat.look.prefix_error*
** description: prefix for error messages
** description: `prefix for error messages`
** type: string
** values: any string (default value: "=!=")
** values: any string (default value: `"=!="`)
* *weechat.look.prefix_join*
** description: prefix for join messages
** description: `prefix for join messages`
** type: string
** values: any string (default value: "-->")
** values: any string (default value: `"-->"`)
* *weechat.look.prefix_network*
** description: prefix for network messages
** description: `prefix for network messages`
** type: string
** values: any string (default value: "--")
** values: any string (default value: `"--"`)
* *weechat.look.prefix_quit*
** description: prefix for quit messages
** description: `prefix for quit messages`
** type: string
** values: any string (default value: "<--")
** values: any string (default value: `"<--"`)
* *weechat.look.prefix_suffix*
** description: string displayed after prefix
** description: `string displayed after prefix`
** type: string
** values: any string (default value: "|")
** values: any string (default value: `"|"`)
* *weechat.look.read_marker*
** description: use a marker (line or char) on buffers to show first unread line
** description: `use a marker (line or char) on buffers to show first unread line`
** type: integer
** values: none, line, dotted-line, char (default value: dotted-line)
** values: none, line, dotted-line, char (default value: `dotted-line`)
* *weechat.look.read_marker_always_show*
** description: `always show read marker, even if it is after last buffer line`
** type: boolean
** values: on, off (default value: `off`)
* *weechat.look.save_config_on_exit*
** description: save configuration file on exit
** description: `save configuration file on exit`
** type: boolean
** values: on, off (default value: on)
** values: on, off (default value: `on`)
* *weechat.look.save_layout_on_exit*
** description: save layout on exit (buffers, windows, or both)
** description: `save layout on exit (buffers, windows, or both)`
** type: integer
** values: none, buffers, windows, all (default value: none)
** values: none, buffers, windows, all (default value: `none`)
* *weechat.look.scroll_amount*
** description: how many lines to scroll by with scroll_up and scroll_down
** description: `how many lines to scroll by with scroll_up and scroll_down`
** type: integer
** values: 1 .. 2147483647 (default value: 3)
** values: 1 .. 2147483647 (default value: `3`)
* *weechat.look.scroll_page_percent*
** description: percent of screen to scroll when scrolling one page up or down (for example 100 means one page, 50 half-page)
** description: `percent of screen to scroll when scrolling one page up or down (for example 100 means one page, 50 half-page)`
** type: integer
** values: 1 .. 100 (default value: 100)
** values: 1 .. 100 (default value: `100`)
* *weechat.look.search_text_not_found_alert*
** description: alert user when text sought is not found in buffer
** description: `alert user when text sought is not found in buffer`
** type: boolean
** values: on, off (default value: on)
** values: on, off (default value: `on`)
* *weechat.look.set_title*
** description: set title for window (terminal for Curses GUI) with name and version
** description: `set title for window (terminal for Curses GUI) with name and version`
** type: boolean
** values: on, off (default value: on)
** values: on, off (default value: `on`)
* *weechat.look.time_format*
** description: `time format for dates converted to strings and displayed in messages`
** type: string
** values: any string (default value: `"%a, %d %b %Y %T"`)
* *weechat.network.gnutls_ca_file*
** description: file containing the certificate authorities
** description: `file containing the certificate authorities ("%h" will be replaced by WeeChat home, "~/.weechat" by default)`
** type: string
** values: any string (default value: "%h/ssl/CAs.pem")
** values: any string (default value: `"%h/ssl/CAs.pem"`)
* *weechat.network.gnutls_handshake_timeout*
** description: `timeout (in seconds) for gnutls handshake`
** type: integer
** values: 1 .. 2147483647 (default value: `30`)
* *weechat.plugin.autoload*
** description: comma separated list of plugins to load automatically at startup, "*" means all plugins found (names may be partial, for example "perl" is ok for "perl.so")
** description: `comma separated list of plugins to load automatically at startup, "*" means all plugins found, a name beginning with "!" is a negative value to prevent a plugin from being loaded, names can start or end with "*" to match several plugins (examples: "*" or "*,!lua,!tcl")`
** type: string
** values: any string (default value: "*")
** values: any string (default value: `"*"`)
* *weechat.plugin.debug*
** description: enable debug messages by default in all plugins (option disabled by default, which is highly recommended)
** description: `enable debug messages by default in all plugins (option disabled by default, which is highly recommended)`
** type: boolean
** values: on, off (default value: off)
** values: on, off (default value: `off`)
* *weechat.plugin.extension*
** description: standard plugins extension in filename (for example ".so" under Linux or ".dll" under Microsoft Windows)
** description: `standard plugins extension in filename (for example ".so" under Linux or ".dll" under Microsoft Windows)`
** type: string
** values: any string (default value: ".so")
** values: any string (default value: `".so"`)
* *weechat.plugin.path*
** description: path for searching plugins ("%h" will be replaced by WeeChat home, "~/.weechat" by default)
** description: `path for searching plugins ("%h" will be replaced by WeeChat home, "~/.weechat" by default)`
** type: string
** values: any string (default value: "%h/plugins")
** values: any string (default value: `"%h/plugins"`)
* *weechat.plugin.save_config_on_unload*
** description: save configuration files when unloading plugins
** description: `save configuration files when unloading plugins`
** type: boolean
** values: on, off (default value: on)
** values: on, off (default value: `on`)
* *weechat.startup.command_after_plugins*
** description: command executed when WeeChat starts, after loading plugins
** description: `command executed when WeeChat starts, after loading plugins`
** type: string
** values: any string (default value: "")
** values: any string (default value: `""`)
* *weechat.startup.command_before_plugins*
** description: command executed when WeeChat starts, before loading plugins
** description: `command executed when WeeChat starts, before loading plugins`
** type: string
** values: any string (default value: "")
** values: any string (default value: `""`)
* *weechat.startup.display_logo*
** description: display WeeChat logo at startup
** description: `display WeeChat logo at startup`
** type: boolean
** values: on, off (default value: on)
** values: on, off (default value: `on`)
* *weechat.startup.display_version*
** description: display WeeChat version at startup
** description: `display WeeChat version at startup`
** type: boolean
** values: on, off (default value: on)
* *weechat.startup.weechat_slogan*
** description: WeeChat slogan (if empty, slogan is not used)
** type: string
** values: any string (default value: "le client de discussion le plus geek !")
** values: on, off (default value: `on`)
+50 -50
View File
@@ -1,125 +1,125 @@
* *xfer.color.status_aborted*
** description: text color for "aborted" status
** description: `text color for "aborted" status`
** type: color
** values: a color name (default value: lightred)
** values: a color name (default value: `lightred`)
* *xfer.color.status_active*
** description: text color for "active" status
** description: `text color for "active" status`
** type: color
** values: a color name (default value: lightblue)
** values: a color name (default value: `lightblue`)
* *xfer.color.status_connecting*
** description: text color for "connecting" status
** description: `text color for "connecting" status`
** type: color
** values: a color name (default value: yellow)
** values: a color name (default value: `yellow`)
* *xfer.color.status_done*
** description: text color for "done" status
** description: `text color for "done" status`
** type: color
** values: a color name (default value: lightgreen)
** values: a color name (default value: `lightgreen`)
* *xfer.color.status_failed*
** description: text color for "failed" status
** description: `text color for "failed" status`
** type: color
** values: a color name (default value: lightred)
** values: a color name (default value: `lightred`)
* *xfer.color.status_waiting*
** description: text color for "waiting" status
** description: `text color for "waiting" status`
** type: color
** values: a color name (default value: lightcyan)
** values: a color name (default value: `lightcyan`)
* *xfer.color.text*
** description: text color
** description: `text color`
** type: color
** values: a color name (default value: default)
** values: a color name (default value: `default`)
* *xfer.color.text_bg*
** description: background color
** description: `background color`
** type: color
** values: a color name (default value: default)
** values: a color name (default value: `default`)
* *xfer.color.text_selected*
** description: text color of selected xfer line
** description: `text color of selected xfer line`
** type: color
** values: a color name (default value: white)
** values: a color name (default value: `white`)
* *xfer.file.auto_accept_chats*
** description: automatically accept chat requests (use carefully!)
** description: `automatically accept chat requests (use carefully!)`
** type: boolean
** values: on, off (default value: off)
** values: on, off (default value: `off`)
* *xfer.file.auto_accept_files*
** description: automatically accept incoming files (use carefully!)
** description: `automatically accept incoming files (use carefully!)`
** type: boolean
** values: on, off (default value: off)
** values: on, off (default value: `off`)
* *xfer.file.auto_rename*
** description: rename incoming files if already exists (add ".1", ".2", ...)
** description: `rename incoming files if already exists (add ".1", ".2", ...)`
** type: boolean
** values: on, off (default value: on)
** values: on, off (default value: `on`)
* *xfer.file.auto_resume*
** description: automatically resume file transfer if connection with remote host is lost
** description: `automatically resume file transfer if connection with remote host is lost`
** type: boolean
** values: on, off (default value: on)
** values: on, off (default value: `on`)
* *xfer.file.convert_spaces*
** description: convert spaces to underscores when sending files
** description: `convert spaces to underscores when sending files`
** type: boolean
** values: on, off (default value: on)
** values: on, off (default value: `on`)
* *xfer.file.download_path*
** description: path for writing incoming files
** description: `path for writing incoming files ("%h" will be replaced by WeeChat home, "~/.weechat" by default)`
** type: string
** values: any string (default value: "%h/xfer")
** values: any string (default value: `"%h/xfer"`)
* *xfer.file.upload_path*
** description: path for reading files when sending (when no path is specified by user)
** description: `path for reading files when sending (when no path is specified by user) ("%h" will be replaced by WeeChat home, "~/.weechat" by default)`
** type: string
** values: any string (default value: "~")
** values: any string (default value: `"~"`)
* *xfer.file.use_nick_in_filename*
** description: use remote nick as prefix in local filename when receiving a file
** description: `use remote nick as prefix in local filename when receiving a file`
** type: boolean
** values: on, off (default value: on)
** values: on, off (default value: `on`)
* *xfer.look.auto_open_buffer*
** description: auto open xfer buffer when a new xfer is added to list
** description: `auto open xfer buffer when a new xfer is added to list`
** type: boolean
** values: on, off (default value: on)
** values: on, off (default value: `on`)
* *xfer.look.progress_bar_size*
** description: size of progress bar, in chars (if 0, progress bar is disabled)
** description: `size of progress bar, in chars (if 0, progress bar is disabled)`
** type: integer
** values: 0 .. 256 (default value: 20)
** values: 0 .. 256 (default value: `20`)
* *xfer.network.blocksize*
** description: block size for sending packets, in bytes
** description: `block size for sending packets, in bytes`
** type: integer
** values: 1024 .. 102400 (default value: 65536)
** values: 1024 .. 102400 (default value: `65536`)
* *xfer.network.fast_send*
** description: does not wait for ACK when sending file
** description: `does not wait for ACK when sending file`
** type: boolean
** values: on, off (default value: on)
** values: on, off (default value: `on`)
* *xfer.network.own_ip*
** description: IP or DNS address used for sending files/chats (if empty, local interface IP is used)
** description: `IP or DNS address used for sending files/chats (if empty, local interface IP is used)`
** type: string
** values: any string (default value: "")
** values: any string (default value: `""`)
* *xfer.network.port_range*
** description: restricts outgoing files/chats to use only ports in the given range (useful for NAT) (syntax: a single port, ie. 5000 or a port range, ie. 5000-5015, empty value means any port, it's recommended to use ports greater than 1024, because only root can use ports below 1024)
** description: `restricts outgoing files/chats to use only ports in the given range (useful for NAT) (syntax: a single port, ie. 5000 or a port range, ie. 5000-5015, empty value means any port, it's recommended to use ports greater than 1024, because only root can use ports below 1024)`
** type: string
** values: any string (default value: "")
** values: any string (default value: `""`)
* *xfer.network.speed_limit*
** description: speed limit for sending files, in kilo-bytes by second (0 means no limit)
** description: `speed limit for sending files, in kilo-bytes by second (0 means no limit)`
** type: integer
** values: 0 .. 2147483647 (default value: 0)
** values: 0 .. 2147483647 (default value: `0`)
* *xfer.network.timeout*
** description: timeout for xfer request (in seconds)
** description: `timeout for xfer request (in seconds)`
** type: integer
** values: 5 .. 2147483647 (default value: 300)
** values: 5 .. 2147483647 (default value: `300`)
+325 -93
View File
@@ -1,8 +1,9 @@
WeeChat FAQ (Frequently Asked Questions)
========================================
FlashCode <flashcode@flashtux.org>
Sébastien Helleu <flashcode@flashtux.org>
[[general]]
General
-------
@@ -16,6 +17,7 @@ Some features (version > = 0.3.x):
* multi-protocol support via plugins (IRC, Jabber)
* many remote GUI's in addition to Curses (coming soon)
* 256 colors support
* available in many languages
* extensible with plugins (C, Perl, Python, Ruby, Lua, Tcl)
* buffers with free content
@@ -23,6 +25,8 @@ Some features (version > = 0.3.x):
* horizontal and vertical window split
* customizable and extensible bars
* nicklist available in all GUI's
* IRC proxy
* redirection of IRC commands
* incremental text search in buffers, jump to highlights
* FIFO pipe for remote control
* aspell support
@@ -34,6 +38,7 @@ Some features (version > = 0.3.x):
More info on this page: http://www.weechat.org/features
[[compilation_install]]
Compilation / install
---------------------
@@ -57,16 +62,12 @@ If you're compiling with autotools (and not cmake), check that you have latest
version of autoconf and automake (WeeChat is developed with autoconf 2.61 and
automake 1.10.1).
The other way is to install "devel package", which needs less dependencies.
The other way is to install the "devel package", which needs less dependencies.
This package is built almost every day using git repository. Note that this
package may not correspond exactly to git base and that it's less convenient
than git cloning for installing updates.
Using WeeChat
-------------
[[lost]]
I've launched WeeChat, but I'm lost, what can I do?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -78,18 +79,9 @@ It's recommended for new users to read the quickstart guide (see the doc page
on the website).
[[buffer_vs_window]]
I heard about "buffers" and "windows", what's the difference?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
A 'buffer' is composed by a number, a name, lines displayed (and some other
data).
A 'window' is a screen area which displays a buffer. It is possible to split
your screen into many windows.
Each window displays one buffer. A buffer can be hidden (not displayed by a
window) or displayed by one or more windows.
[[display]]
Display
-------
[[charset]]
@@ -153,60 +145,29 @@ which is ok (like many other values).
If needed, fix your TERM variable: `export TERM="xxx"`.
[[key_bindings]]
How can I customize key bindings?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[[osx_display_broken]]
I compiled WeeChat under OS X, and I see "(null)" everywhere on screen, what's wrong?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Key bindings are customizable with /key command.
If you compiled ncursesw yourself, try to use standard ncurses (that comes with
system).
Default key Meta-k (usually Alt-k) lets you grab key code and insert it in
command line.
Moreover, under OS X, it is recommended to install WeeChat with Homebrew package
manager.
[[openbsd_plugins]]
I'm using OpenBSD and WeeChat does not load any plugins, what's wrong?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[[buffer_vs_window]]
I heard about "buffers" and "windows", what's the difference?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Under OpenBSD, plugin filenames end with ".so.0.0" (".so" for Linux).
A 'buffer' is composed by a number, a name, lines displayed (and some other
data).
You must set that up:
A 'window' is a screen area which displays a buffer. It is possible to split
your screen into many windows.
* with WeeChat < = 0.2.6: +
`/set plugins_extension = ".so.0.0"`
* with WeeChat > = 0.3.x: +
`/set weechat.plugin.extension ".so.0.0"`
Then: `/plugin autoload`.
[[scripts]]
How can I load Perl/Python/Ruby/Lua/Tcl scripts? Are scripts compatible with other IRC clients?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
You can use the commands `/perl`, `/python`, `/ruby`, `/lua` and `/tcl` to load
scripts (default path for scripts is '~/.weechat/<language>/').
Scripts are not compatible with other IRC clients.
Notes:
* scripts in '~/.weechat/<language>/autoload/' are automatically loaded when
WeeChat is starting up.
* a 'tcl' plugin is available with version > = 0.3.x.
[[change_locale_without_quit]]
I want to change the language used by WeeChat for messages, but without exiting WeeChat, is it possible?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Yes, you have to use a python script, shell.py (available on WeeChat website)
and issue these commands when script is loaded:
/shell setenv LANG=en_US.UTF-8
/upgrade
To have english messages with UTF-8 encoding for terminal, for ISO users, you
can issue: `/shell setenv LANG=en_US`.
Each window displays one buffer. A buffer can be hidden (not displayed by a
window) or displayed by one or more windows.
[[terminal_copy_paste]]
@@ -247,23 +208,124 @@ shortenurl.py::
List of scripts about URLs: http://www.weechat.org/scripts/stable/tag/url
[[highlight_notification]]
How can I be warned when someone highlights me on a channel?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[[change_locale_without_quit]]
I want to change the language used by WeeChat for messages, but without exiting WeeChat, is it possible?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
According to WeeChat version:
Yes, you have to use a python script, 'shell.py' (available on WeeChat website)
and issue these commands when script is loaded:
* with WeeChat < = 0.2.6: use script 'sound.pl' (available on scripts page),
and then setup a system command (to play sound, display message, ..) with
this command: +
`/setp perl.sound.cmd_highlight = "/path/to/command arguments"`
* with WeeChat > = 0.3.x: use script 'launcher.pl' (available on scripts page),
and then setup a system command (to play sound, display message, ..) with
this command: +
`/set plugins.var.perl.launcher.signal.weechat_highlight "/path/to/command arguments"`
----------------------------------------
/shell setenv LANG=en_US.UTF-8
/upgrade
----------------------------------------
Many other scripts exist for notification, please look at plugins/scripts page:
http://www.weechat.org/scripts
To have english messages with UTF-8 encoding for terminal, for ISO users, you
can issue: `/shell setenv LANG=en_US`.
[[256_colors]]
How can I use 256 colors in WeeChat?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
256 colors are supported with WeeChat 0.3.4 or newer.
First check that your 'TERM' environment variable is correct, recommended values
are:
* under screen: 'screen-256color'
* outside screen: 'xterm-256color', 'rxvt-256color', 'putty-256color',...
If you are using screen, you can add this line to your '~/.screenrc':
----------------------------------------
term screen-256color
----------------------------------------
If your 'TERM' variable has wrong value and that WeeChat is already running,
don't panic! You can change it without restarting, thanks to script 'shell.py':
----------------------------------------
/shell setenv TERM=screen-256color
/upgrade
----------------------------------------
You can use command `/color` for easy setup of colors in WeeChat.
Please read user's guide for more information about colors management.
[[key_bindings]]
Key bindings
------------
[[meta_keys]]
Some meta keys (alt + key) are not working, why?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
If you're using some terminals like xterm or uxterm, some meta keys does not
work by default. You can add a line in file '~/.Xresources':
* for xterm:
----------------------------------------
XTerm*metaSendsEscape: true
----------------------------------------
* for uxterm:
----------------------------------------
UXTerm*metaSendsEscape: true
----------------------------------------
And then reload resources (`xrdb -override ~/.Xresources`) or restart X.
[[customize_key_bindings]]
How can I customize key bindings?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Key bindings are customizable with `/key` command.
Default key Meta-k (usually Alt-k) lets you grab key code and insert it in
command line.
[[jump_to_buffer_11_or_higher]]
What is the key to jump to buffer 11 (or higher number)?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The key is alt-j and then 2 digits, for example alt-j then 1, 1 to jump to
buffer 11.
You can bind a key, for example:
----------------------------------------
/key bind meta-q /buffer *11
----------------------------------------
List of default keys is in User's guide.
[[irc]]
IRC
---
[[ignore_vs_filter]]
What is the difference between the /ignore and /filter commands?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The `/ignore` command is an IRC command, so it applies only for IRC buffers
(servers and channels).
It lets you ignore some nicks or hostnames of users for a server or channel
(command will not apply on content of messages).
Matching messages are deleted by IRC plugin before display (so you'll
never see them).
The `/filter` command is a core command, so it applies to any buffer.
It lets you filter some lines in buffers with tags or regular expression for
prefix and content of line.
Filtered lines are only hidden, not deleted, and you can see them if you
disable filters (by default, the key alt + "=" toggles filters).
[[filter_irc_join_part_quit]]
@@ -290,24 +352,172 @@ According to WeeChat version:
(`/help filter` for help)
[[ignore_vs_filter]]
What is the difference between the /ignore and /filter commands?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[[filter_irc_join_channel_messages]]
How can I filter some messages displayed when I join an IRC channel?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The `/ignore` command is an IRC command, so it applies only for IRC buffers
(servers and channels).
It lets you ignore some nicks or hostnames of users for a server or channel
(command will not apply on content of messages).
Matching messages are deleted by IRC plugin before display (so you'll
never see them).
Some tags you can use to filter messages:
The `/filter` command is a core command, so it applies to any buffer.
It lets you filter some lines in buffers with tags or regular expression for
prefix and content of line.
Filtered lines are only hidden, not deleted, and you can see them if you
disable filters (by default, the key alt + "=" toggles filters).
* 'irc_366': names on channel
* 'irc_332,irc_333': channel topic/date
* 'irc_329': channel creation date
You can find tags for other messages by looking at IRC raw server
(`/server raw`).
Examples:
* filter names:
----------------------------------------
/filter add irc_join_names * irc_366 *
----------------------------------------
* filter topic (and date):
----------------------------------------
/filter add irc_join_topic_date * irc_332,irc_333 *
----------------------------------------
[[filter_voice_messages]]
How can I filter voice messages (eg on Bitlbee server)?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
It's not easy to filter voice messages, because voice mode can be set with other
modes in same IRC message.
If you want to do that, it's probably because Bitlbee is using voice to show
away users, and you are flooded with voice messages. Therefore, you can change
that and let WeeChat use a special color for away nicks in nicklist.
On channel '&bitlbee', do:
----------------------------------------
set away_devoice false
----------------------------------------
For checking away nicks in WeeChat, see question about
<<color_away_nicks,away nicks>>.
[[color_away_nicks]]
How can I see away nicks in nicklist?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
You have to set option 'irc.server_default.away_check' to a positive value
(minutes between each check of away nicks).
You can set option 'irc.server_default.away_check_max_nicks' to limit away check
on small channels only.
For example, check every 5 minutes for away nicks, for channels with max 25
nicks:
----------------------------------------
/set irc.server_default.away_check 5
/set irc.server_default.away_check_max_nicks 25
----------------------------------------
[NOTE]
For WeeChat < = 0.3.3, options are 'irc.network.away_check' and
'irc.network.away_check_max_nicks'.
[[highlight_notification]]
How can I be warned when someone highlights me on a channel?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
According to WeeChat version:
* with WeeChat < = 0.2.6: use script 'sound.pl' (available on scripts page),
and then setup a system command (to play sound, display message, ..) with
this command: +
`/setp perl.sound.cmd_highlight = "/path/to/command arguments"`
* with WeeChat > = 0.3.x: use script 'launcher.pl' (available on scripts page),
and then setup a system command (to play sound, display message, ..) with
this command: +
`/set plugins.var.perl.launcher.signal.weechat_highlight "/path/to/command arguments"`
Many other scripts exist for notification, please look at plugins/scripts page:
http://www.weechat.org/scripts
[[irc_ssl_connection]]
I have some problems when connecting to a server using SSL, what can I do?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
If you see errors about gnutls handshake, you can try to use a smaller
Diffie-Hellman key (default is 2048):
----------------------------------------
/set irc.server.freenode.ssl_dhkey_size 1024
----------------------------------------
If you see errors about certificate, you can disable "ssl_verify" (be careful,
connection will be less secure by doing that):
----------------------------------------
/set irc.server.freenode.ssl_verify off
----------------------------------------
[[plugins_scripts]]
Plugins / scripts
-----------------
[[openbsd_plugins]]
I'm using OpenBSD and WeeChat does not load any plugins, what's wrong?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Under OpenBSD, plugin filenames end with ".so.0.0" (".so" for Linux).
You must set that up:
* with WeeChat < = 0.2.6: +
`/set plugins_extension = ".so.0.0"`
* with WeeChat > = 0.3.x: +
`/set weechat.plugin.extension ".so.0.0"`
Then: `/plugin autoload`.
[[load_scripts]]
How can I load Perl/Python/Ruby/Lua/Tcl scripts? Are scripts compatible with other IRC clients?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
You can use the commands `/perl`, `/python`, `/ruby`, `/lua` and `/tcl` to load
scripts (default path for scripts is '~/.weechat/<language>/').
Scripts are not compatible with other IRC clients.
Notes:
* scripts in '~/.weechat/<language>/autoload/' are automatically loaded when
WeeChat is starting up.
* a 'tcl' plugin is available with version > = 0.3.0.
[[settings]]
Settings
--------
[[memory_usage]]
How can I tweak WeeChat to consume less memory?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
You can try following tips to consume less memory:
* use the latest stable version (it is supposed to have less memory leaks than
older versions)
* do not load some plugins if you don't use them, for example: aspell, fifo,
logger, perl, python, ruby, lua, tcl, xfer (used for DCC)
* load only scripts that you really need
* reduce value of option 'weechat.history.max_lines' (number of lines saved in
memory for each buffer)
* reduce value of option 'weechat.history.max_commands' (number of user commands
saved in memory)
[[development]]
Development
-----------
@@ -328,6 +538,28 @@ There are 3 ways:
(you can subscribe and send to "support" mailing list)
[[gdb_error_threads]]
When I run WeeChat under gdb, there is error about threads, what can I do?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
When you run WeeChat under gdb, you may have this error:
----------------------------------------
gdb /path/to/weechat-curses
(gdb) run
[Thread debugging using libthread_db enabled]
Cannot find new threads: generic error
----------------------------------------
To fix that, you can run gdb with this command (replace path to libpthread and
WeeChat with paths on your system):
----------------------------------------
LD_PRELOAD=/lib/libpthread.so.0 gdb /path/to/weechat-curses
(gdb) run
----------------------------------------
[[supported_os]]
What is the list of supported platforms for WeeChat? Will it be ported to other operating systems?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
File diff suppressed because it is too large Load Diff
+2 -2
View File
@@ -1,6 +1,6 @@
WeeChat Quick Start Guide
=========================
FlashCode <flashcode@flashtux.org>
Sébastien Helleu <flashcode@flashtux.org>
[[start]]
@@ -71,7 +71,7 @@ Create an IRC server
You can add an IRC server with `/server` command, for example:
/server add oftc irc.oftc.org/6667
/server add oftc irc.oftc.net/6667
As usual, help is available if you're lost: `/help server`
+569 -205
View File
@@ -1,6 +1,6 @@
WeeChat Scripting Guide
=======================
FlashCode <flashcode@flashtux.org>
Sébastien Helleu <flashcode@flashtux.org>
This manual documents WeeChat chat client, it is part of WeeChat.
@@ -46,9 +46,9 @@ Some things are specific to languages:
* tcl:
** functions are called with `weechat::xxx arg1 arg2 ...`
[[register]]
Register
~~~~~~~~
[[register_function]]
Register function
~~~~~~~~~~~~~~~~~
All WeeChat scripts must "register" themselves to WeeChat, and this must be
first WeeChat function called in script.
@@ -71,10 +71,6 @@ Arguments:
* 'charset': string, script charset (optional, if your script is UTF-8, you
can use blank value here, because UTF-8 is default charset)
[[script_example]]
Script example
~~~~~~~~~~~~~~
Example of script, for each language:
* perl:
@@ -139,11 +135,11 @@ You have to use command, depending on language:
You can make link in directory 'language/autoload' to autoload script when
WeeChat is starting.
For example with perl:
For example with Python:
----------------------------------------
$ cd ~/.weechat/perl/autoload
$ ln -s ../script.pl
$ cd ~/.weechat/python/autoload
$ ln -s ../script.py
----------------------------------------
[[differences_with_c_api]]
@@ -156,8 +152,8 @@ in API: prototype, arguments, return values, examples.
It's important to make difference between a 'plugin' and a 'script': a
'plugin' is a binary file compiled and loaded with command `/plugin`, whereas
a 'script' is a text file loaded with a plugin like 'perl' with command
`/perl`.
a 'script' is a text file loaded with a plugin like 'python' with command
`/python`.
When your script 'test.py' calls a WeeChat API function, path is like that:
@@ -176,6 +172,7 @@ previous path:
WeeChat core -------> python plugin (python.so) -------> test.py
........................................
[[pointers]]
Pointers
~~~~~~~~
@@ -202,6 +199,7 @@ In many functions, for speed reasons, WeeChat does not check if your pointer
is correct or not. It's your job to check you're giving a valid pointer,
otherwise you may see a nice crash report ;)
[[callbacks]]
Callbacks
~~~~~~~~~
@@ -230,206 +228,572 @@ Script API
For more information about functions in API, please read
'WeeChat Plugin API Reference'.
[[script_api_functions]]
Functions
~~~~~~~~~
List of functions in script API:
* general:
** 'register'
* plugins:
** 'plugin_get_name'
* strings:
** 'charset_set'
** 'iconv_to_internal'
** 'iconv_from_internal'
** 'gettext'
** 'ngettext'
** 'string_remove_color'
* directories:
** 'mkdir_home'
** 'mkdir'
** 'mkdir_parents'
* sorted lists:
** 'list_new'
** 'list_add'
** 'list_search'
** 'list_casesearch'
** 'list_get'
** 'list_set'
** 'list_next'
** 'list_prev'
** 'list_string'
** 'list_size'
** 'list_remove'
** 'list_remove_all'
** 'list_free'
* configuration files:
** 'config_new'
** 'config_new_section'
** 'config_search_section'
** 'config_new_option'
** 'config_search_option'
** 'config_string_to_boolean'
** 'config_option_reset'
** 'config_option_set'
** 'config_option_set_null'
** 'config_option_unset'
** 'config_option_rename'
** 'config_option_is_null'
** 'config_option_default_is_null'
** 'config_boolean'
** 'config_boolean_default'
** 'config_integer'
** 'config_integer_default'
** 'config_string'
** 'config_string_default'
** 'config_color'
** 'config_color_default'
** 'config_write_option'
** 'config_write_line'
** 'config_write'
** 'config_read'
** 'config_reload'
** 'config_option_free'
** 'config_section_free_options'
** 'config_section_free'
** 'config_free'
** 'config_get'
** 'config_get_plugin'
** 'config_is_set_plugin'
** 'config_set_plugin'
** 'config_unset_plugin'
* display:
** 'prefix'
** 'color'
** 'print' (for python: 'prnt')
** 'print_date_tags' (for python: 'prnt_date_tags')
** 'print_y' (for python: 'prnt_y')
** 'log_print'
* hooks:
** 'hook_command'
** 'hook_command_run'
** 'hook_timer'
** 'hook_fd'
** 'hook_process'
** 'hook_connect'
** 'hook_print'
** 'hook_signal'
** 'hook_signal_send'
** 'hook_config'
** 'hook_completion'
** 'hook_completion_list_add'
** 'hook_modifier'
** 'hook_modifier_exec'
** 'hook_info'
** 'hook_infolist'
** 'unhook'
** 'unhook_all'
* buffers:
** 'buffer_new'
** 'current_buffer'
** 'buffer_search'
** 'buffer_search_main'
** 'buffer_clear'
** 'buffer_close'
** 'buffer_merge'
** 'buffer_unmerge'
** 'buffer_get_integer'
** 'buffer_get_string'
** 'buffer_get_pointer'
** 'buffer_set'
** 'buffer_string_replace_local_var'
* windows:
** 'current_window'
** 'window_get_integer'
** 'window_get_pointer'
** 'window_set_title'
* nicklist:
** 'nicklist_add_group'
** 'nicklist_search_group'
** 'nicklist_add_nick'
** 'nicklist_search_nick'
** 'nicklist_remove_group'
** 'nicklist_remove_nick'
** 'nicklist_remove_all'
* bars:
** 'bar_item_search'
** 'bar_item_new'
** 'bar_item_update'
** 'bar_item_remove'
** 'bar_search'
** 'bar_new'
** 'bar_set'
** 'bar_update'
** 'bar_remove'
* commands:
** 'command'
* infos:
** 'info_get'
* infolists:
** 'infolist_new'
** 'infolist_new_item'
** 'infolist_new_var_integer'
** 'infolist_new_var_string'
** 'infolist_new_var_pointer'
** 'infolist_new_var_time'
** 'infolist_get'
** 'infolist_next'
** 'infolist_prev'
** 'infolist_reset_item_cursor'
** 'infolist_fields'
** 'infolist_integer'
** 'infolist_string'
** 'infolist_pointer'
** 'infolist_time'
** 'infolist_free'
* upgrade:
** 'upgrade_new'
** 'upgrade_write_object'
** 'upgrade_read'
** 'upgrade_close'
[width="100%",cols="^1,10",options="header"]
|========================================
| Category | Functions
| general |
register
| plugins |
plugin_get_name
| strings |
charset_set, iconv_to_internal, iconv_from_internal, gettext, ngettext, +
string_match, string_has_highlight, string_mask_to_regex,
string_remove_color, string_is_command_char, string_input_for_buffer
| directories |
mkdir_home, mkdir, mkdir_parents
| sorted lists |
list_new, list_add, list_search, list_casesearch, list_get, list_set,
list_next, list_prev, list_string, list_size, list_remove, list_remove_all,
list_free
| configuration files |
config_new, config_new_section, config_search_section, config_new_option,
config_search_option, +
config_string_to_boolean, config_option_reset, config_option_set,
config_option_set_null, config_option_unset, config_option_rename,
config_option_is_null, config_option_default_is_null, +
config_boolean, config_boolean_default, config_integer, config_integer_default,
config_string, config_string_default, config_color, config_color_default, +
config_write_option, config_write_line, config_write, config_read,
config_reload, +
config_option_free, config_section_free_options, config_section_free,
config_free, +
config_get, config_get_plugin, config_is_set_plugin, config_set_plugin,
config_unset_plugin
| display |
prefix, color, print (for python: prnt), print_date_tags (for python:
prnt_date_tags), print_y (for python: prnt_y), log_print
| hooks |
hook_command, hook_command_run, hook_timer, hook_fd, hook_process,
hook_connect, hook_print, hook_signal, hook_signal_send, hook_hsignal,
hook_hsignal_send, hook_config, hook_completion, hook_completion_list_add,
hook_modifier, hook_modifier_exec, hook_info, hook_info_hashtable,
hook_infolist, unhook, unhook_all
| buffers |
buffer_new, current_buffer, buffer_search, buffer_search_main, buffer_clear,
buffer_close, buffer_merge, buffer_unmerge, buffer_get_integer,
buffer_get_string, buffer_get_pointer, buffer_set,
buffer_string_replace_local_var
| windows |
current_window, window_get_integer, window_get_string, window_get_pointer,
window_set_title
| nicklist |
nicklist_add_group, nicklist_search_group, nicklist_add_nick,
nicklist_search_nick, nicklist_remove_group, nicklist_remove_nick,
nicklist_remove_all, nicklist_group_get_integer, nicklist_group_get_string,
nicklist_group_get_pointer, nicklist_group_set, nicklist_nick_get_integer,
nicklist_nick_get_string, nicklist_nick_get_pointer, nicklist_nick_set
| bars |
bar_item_search, bar_item_new, bar_item_update, bar_item_remove, bar_search,
bar_new, bar_set, bar_update, bar_remove
| commands |
command
| infos |
info_get, info_get_hashtable
| infolists |
infolist_new, infolist_new_item, infolist_new_var_integer,
infolist_new_var_string, infolist_new_var_pointer, infolist_new_var_time, +
infolist_get, infolist_next, infolist_prev, infolist_reset_item_cursor, +
infolist_fields, infolist_integer, infolist_string, infolist_pointer, +
infolist_time, infolist_free
| upgrade |
upgrade_new, upgrade_write_object, upgrade_read, upgrade_close
|========================================
[[script_api_constants]]
Constants
~~~~~~~~~
List of constants in script API:
* 'WEECHAT_RC_OK'
* 'WEECHAT_RC_OK_EAT'
* 'WEECHAT_RC_ERROR'
* 'WEECHAT_CONFIG_READ_OK'
* 'WEECHAT_CONFIG_READ_MEMORY_ERROR'
* 'WEECHAT_CONFIG_READ_FILE_NOT_FOUND'
* 'WEECHAT_CONFIG_WRITE_OK'
* 'WEECHAT_CONFIG_WRITE_ERROR'
* 'WEECHAT_CONFIG_WRITE_MEMORY_ERROR'
* 'WEECHAT_CONFIG_OPTION_SET_OK_CHANGED'
* 'WEECHAT_CONFIG_OPTION_SET_OK_SAME_VALUE'
* 'WEECHAT_CONFIG_OPTION_SET_ERROR'
* 'WEECHAT_CONFIG_OPTION_SET_OPTION_NOT_FOUND'
* 'WEECHAT_CONFIG_OPTION_UNSET_OK_NO_RESET'
* 'WEECHAT_CONFIG_OPTION_UNSET_OK_RESET'
* 'WEECHAT_CONFIG_OPTION_UNSET_OK_REMOVED'
* 'WEECHAT_CONFIG_OPTION_UNSET_ERROR'
* 'WEECHAT_LIST_POS_SORT'
* 'WEECHAT_LIST_POS_BEGINNING'
* 'WEECHAT_LIST_POS_END'
* 'WEECHAT_HOTLIST_LOW'
* 'WEECHAT_HOTLIST_MESSAGE'
* 'WEECHAT_HOTLIST_PRIVATE'
* 'WEECHAT_HOTLIST_HIGHLIGHT'
* 'WEECHAT_HOOK_PROCESS_RUNNING'
* 'WEECHAT_HOOK_PROCESS_ERROR'
* 'WEECHAT_HOOK_CONNECT_OK'
* 'WEECHAT_HOOK_CONNECT_ADDRESS_NOT_FOUND'
* 'WEECHAT_HOOK_CONNECT_IP_ADDRESS_NOT_FOUND'
* 'WEECHAT_HOOK_CONNECT_CONNECTION_REFUSED'
* 'WEECHAT_HOOK_CONNECT_PROXY_ERROR'
* 'WEECHAT_HOOK_CONNECT_LOCAL_HOSTNAME_ERROR'
* 'WEECHAT_HOOK_CONNECT_GNUTLS_INIT_ERROR'
* 'WEECHAT_HOOK_CONNECT_GNUTLS_HANDSHAKE_ERROR'
* 'WEECHAT_HOOK_CONNECT_MEMORY_ERROR'
* 'WEECHAT_HOOK_SIGNAL_STRING'
* 'WEECHAT_HOOK_SIGNAL_INT'
* 'WEECHAT_HOOK_SIGNAL_POINTER'
[width="100%",cols="^1,10",options="header"]
|========================================
| Category | Constants
| return codes |
WEECHAT_RC_OK, WEECHAT_RC_OK_EAT, WEECHAT_RC_ERROR
| configuration files |
WEECHAT_CONFIG_READ_OK, WEECHAT_CONFIG_READ_MEMORY_ERROR,
WEECHAT_CONFIG_READ_FILE_NOT_FOUND, WEECHAT_CONFIG_WRITE_OK,
WEECHAT_CONFIG_WRITE_ERROR, WEECHAT_CONFIG_WRITE_MEMORY_ERROR, +
WEECHAT_CONFIG_OPTION_SET_OK_CHANGED, WEECHAT_CONFIG_OPTION_SET_OK_SAME_VALUE,
WEECHAT_CONFIG_OPTION_SET_ERROR, WEECHAT_CONFIG_OPTION_SET_OPTION_NOT_FOUND,
WEECHAT_CONFIG_OPTION_UNSET_OK_NO_RESET, WEECHAT_CONFIG_OPTION_UNSET_OK_RESET,
WEECHAT_CONFIG_OPTION_UNSET_OK_REMOVED, WEECHAT_CONFIG_OPTION_UNSET_ERROR
| sorted lists |
WEECHAT_LIST_POS_SORT, WEECHAT_LIST_POS_BEGINNING, WEECHAT_LIST_POS_END
| hotlist |
WEECHAT_HOTLIST_LOW, WEECHAT_HOTLIST_MESSAGE, WEECHAT_HOTLIST_PRIVATE,
WEECHAT_HOTLIST_HIGHLIGHT
| hook process |
WEECHAT_HOOK_PROCESS_RUNNING, WEECHAT_HOOK_PROCESS_ERROR
| hook connect |
WEECHAT_HOOK_CONNECT_OK, WEECHAT_HOOK_CONNECT_ADDRESS_NOT_FOUND,
WEECHAT_HOOK_CONNECT_IP_ADDRESS_NOT_FOUND, WEECHAT_HOOK_CONNECT_CONNECTION_REFUSED,
WEECHAT_HOOK_CONNECT_PROXY_ERROR, WEECHAT_HOOK_CONNECT_LOCAL_HOSTNAME_ERROR,
WEECHAT_HOOK_CONNECT_GNUTLS_INIT_ERROR, WEECHAT_HOOK_CONNECT_GNUTLS_HANDSHAKE_ERROR,
WEECHAT_HOOK_CONNECT_MEMORY_ERROR
| hook signal |
WEECHAT_HOOK_SIGNAL_STRING, WEECHAT_HOOK_SIGNAL_INT, WEECHAT_HOOK_SIGNAL_POINTER
|========================================
[[common_tasks]]
Common tasks
------------
This chapter shows some common tasks, with examples.
Only partial things in API are used here, for full reference, see
'WeeChat Plugin API Reference'.
[[buffers]]
Buffers
~~~~~~~
[[buffers_display_messages]]
Display messages
^^^^^^^^^^^^^^^^
An empty string is often used to work with WeeChat core buffer. For other
buffers, you must give pointer (as string, see <<pointers,pointers>>).
Examples:
[source,python]
----------------------------------------
# display "hello" on core buffer
weechat.prnt("", "hello")
# display "hello" on core buffer, but do not write it to log file
# (version >= 0.3.3 only)
weechat.prnt_date_tags("", 0, "no_log", "hello")
# display prefix "==>" and message "hello" on current buffer
# (prefix and message must be separated by tab)
weechat.prnt(weechat.current_buffer(), "==>\thello")
# display error message on core buffer (with error prefix)
weechat.prnt("", "%swrong arguments" % weechat.prefix("error"))
# display message with color on core buffer
weechat.prnt("", "text %syellow on blue" % weechat.color("yellow,blue"))
# search buffer and display message
# (full name of buffer is plugin.name, for example: "irc.freenode.#weechat")
buffer = weechat.buffer_search("irc", "freenode.#weechat")
weechat.prnt(buffer, "message on #weechat channel")
# other solution to find an IRC buffer (better)
# (note that server and channel are separated by a comma)
buffer = weechat.info_get("irc_buffer", "freenode,#weechat")
weechat.prnt(buffer, "message on #weechat channel")
----------------------------------------
[NOTE]
Print function is called `print` in Perl/Ruby/Lua/Tcl and `prnt` in Python.
[[buffers_send_text]]
Send text to buffer
^^^^^^^^^^^^^^^^^^^
You can send text or command to a buffer. This is exactly like if you type text
on command line and press [Enter].
Examples:
[source,python]
----------------------------------------
# execute command "/help" on core buffer
weechat.command("", "/help")
# send "hello" to #weechat IRC channel (users on channel will see message)
buffer = weechat.info_get("irc_buffer", "freenode,#weechat")
weechat.command(buffer, "hello")
----------------------------------------
[[buffers_new]]
Create new buffer
^^^^^^^^^^^^^^^^^
You can create a new buffer in your script, then use it for displaying messages.
Two callbacks can be called (they are optional): one for input data (when you
type some text and press [Enter] on buffer), the other is called when buffer is
closed (for example by `/buffer close`).
Example:
[source,python]
----------------------------------------
# callback for data received in input
def buffer_input_cb(data, buffer, input_data):
# ...
return weechat.WEECHAT_RC_OK
# callback called when buffer is closed
def buffer_close_cb(data, buffer):
# ...
return weechat.WEECHAT_RC_OK
# create buffer
buffer = weechat.buffer_new("mybuffer", "buffer_input_cb", "", "buffer_close_cb", "")
# set title
weechat.buffer_set(buffer, "title", "This is title for my buffer.")
# disable logging, by setting local variable "no_log" to "1"
weechat.buffer_set(buffer, "localvar_set_no_log", "1")
----------------------------------------
[[buffers_properties]]
Buffer properties
^^^^^^^^^^^^^^^^^
You can read buffer properties, as string, integer or pointer.
Examples:
[source,python]
----------------------------------------
buffer = weechat.current_buffer()
number = weechat.buffer_get_integer(buffer, "number")
name = weechat.buffer_get_string(buffer, "name")
short_name = weechat.buffer_get_string(buffer, "short_name")
----------------------------------------
It is possible to add, read or delete local variables in buffer:
[source,python]
----------------------------------------
# add local variable
weechat.buffer_set(buffer, "localvar_set_myvar", "my_value")
# read local variable
myvar = weechat.buffer_get_string(buffer, "localvar_myvar")
# delete local variable
weechat.buffer_set(buffer, "localvar_del_myvar", "")
----------------------------------------
To see local variables of a buffer, do this command in WeeChat:
----------------------------------------
/buffer localvar
----------------------------------------
[[hooks]]
Hooks
~~~~~
[[hook_command]]
Add new command
^^^^^^^^^^^^^^^
Add a custom command with `hook_command`. You can use a custom completion
template to complete arguments of your command.
Example:
[source,python]
----------------------------------------
def my_command_cb(data, buffer, args):
# ...
return weechat.WEECHAT_RC_OK
hook = weechat.hook_command("myfilter", "description of myfilter",
"[list] | [enable|disable|toggle [name]] | [add name plugin.buffer tags regex] | [del name|-all]",
"description of arguments...",
"list"
" || enable %(filters_names)"
" || disable %(filters_names)"
" || toggle %(filters_names)"
" || add %(filters_names) %(buffers_plugins_names)|*"
" || del %(filters_names)|-all",
"my_command_cb", "")
----------------------------------------
And then in WeeChat:
----------------------------------------
/help myfilter
/myfilter arguments...
----------------------------------------
[[hook_timer]]
Add a timer
^^^^^^^^^^^
Add a timer with `hook_timer`.
Example:
[source,python]
----------------------------------------
def timer_cb(data, remaining_calls):
# ...
return weechat.WEECHAT_RC_OK
# timer called each minute when second is 00
weechat.hook_timer(60 * 1000, 60, 0, "timer_cb", "")
----------------------------------------
[[hook_process]]
Run a background process
^^^^^^^^^^^^^^^^^^^^^^^^
You can run a background process with `hook_process`. Your callback will be
called when data is ready. It may be called many times.
For the last call to your callback, 'rc' is set to 0 or positive value, it's
return code of command.
Example:
[source,python]
----------------------------------------
# Display versions of Linux kernels.
kernel_txt = ""
def kernel_process_cb(data, command, rc, stdout, stderr):
""" Callback reading command output. """
global kernel_txt
if stdout != "":
kernel_txt += stdout
if int(rc) >= 0:
weechat.prnt("", kernel_txt)
return weechat.WEECHAT_RC_OK
weechat.hook_process("python -c \"import urllib; "
"print urllib.urlopen('http://www.kernel.org/kdist/finger_banner').read()\"",
10 * 1000, "kernel_process_cb", "")
----------------------------------------
[[config_options]]
Config / options
~~~~~~~~~~~~~~~~
[[config_options_set_script]]
Set options for script
^^^^^^^^^^^^^^^^^^^^^^
Function `config_is_set_plugin` is used to check if an option is set or not,
and `config_set_plugin` to set option.
Example:
[source,python]
----------------------------------------
script_options = {
"option1" : "value1",
"option2" : "value2",
"option3" : "value3",
}
for option, default_value in script_options.iteritems():
if not weechat.config_is_set_plugin(option):
weechat.config_set_plugin(option, default_value)
----------------------------------------
[[config_options_detect_changes]]
Detect changes
^^^^^^^^^^^^^^
You must use `hook_config` to be notified if user changes some script options.
Example:
[source,python]
----------------------------------------
SCRIPT_NAME = "myscript"
# ...
def config_cb(data, option, value):
""" Callback called when a script option is changed. """
# for example, read all script options to script variables...
# ...
return weechat.WEECHAT_RC_OK
# ...
weechat.hook_config("plugins.var.python." + SCRIPT_NAME + ".*", "config_cb", "")
# for other languages, change "python" with your language ("perl", "ruby", "lua" or "tcl")
----------------------------------------
[[config_options_weechat]]
Read WeeChat options
^^^^^^^^^^^^^^^^^^^^
Function `config_get` returns pointer to option. Then, depending on option type,
you must call `config_string`, `config_boolean`, `config_integer` or
`config_color`.
[source,python]
----------------------------------------
# string
weechat.prnt("", "value of option weechat.look.item_time_format is: %s"
% (weechat.config_string(weechat.config_get("weechat.look.item_time_format"))))
# boolean
weechat.prnt("", "value of option weechat.look.day_change is: %d"
% (weechat.config_boolean(weechat.config_get("weechat.look.day_change"))))
# integer
weechat.prnt("", "value of option weechat.look.scroll_page_percent is: %d"
% (weechat.config_integer(weechat.config_get("weechat.look.scroll_page_percent"))))
# color
weechat.prnt("", "value of option weechat.color.chat_delimiters is: %s"
% (weechat.config_color(weechat.config_get("weechat.color.chat_delimiters"))))
----------------------------------------
[[irc]]
IRC
~~~
[[irc_catch_messages]]
Catch messages
^^^^^^^^^^^^^^
IRC plugin sends two signals for a message received (`xxx` is IRC internal
server name, `yyy` is IRC command name like JOIN, QUIT, PRIVMSG, 301, ..):
xxxx,irc_in_yyy::
signal sent before processing message
xxx,irc_in2_yyy::
signal sent after processing message
[source,python]
----------------------------------------
def join_cb(data, signal, signal_data):
# signal is for example: "freenode,irc_in2_join"
# signal_data is IRC message, for example: ":nick!user@host JOIN :#channel"
nick = weechat.info_get("irc_nick_from_host", signal_data)
server = signal.split(",")[0]
channel = signal_data.split(":")[-1]
buffer = weechat.info_get("irc_buffer", "%s,%s" % (server, channel))
if buffer:
weechat.prnt(buffer, "Eheh, %s has joined this channel!" % nick)
return weechat.WEECHAT_RC_OK
# it is useful here to use "*" as server, to catch JOIN messages on all IRC
# servers
weechat.hook_signal("*,irc_in2_join", "join_cb", "")
----------------------------------------
[[irc_modify_messages]]
Modify messages
^^^^^^^^^^^^^^^
IRC plugin sends a "modifier" called "irc_in_xxx" ("xxx" is IRC command) for a
message received, so that you can modify it.
[source,python]
----------------------------------------
def modifier_cb(data, modifier, modifier_data, string):
# add server name to all messages received
# (ok that's not very useful, but that's just an example!)
return "%s %s" % (string, modifier_data)
weechat.hook_modifier("irc_in_privmsg", "modifier_cb", "")
----------------------------------------
[WARNING]
A malformed message could crash WeeChat or cause severe problems!
[[irc_parse_message]]
Parse message
^^^^^^^^^^^^^
_New in version 0.3.4._
You can parse an IRC message with info_hashtable called "irc_parse_message".
[source,python]
----------------------------------------
dict = weechat.info_get_hashtable("irc_parse_message",
{ "message": ":nick!user@host PRIVMSG #weechat :message here" })
weechat.prnt("", "dict: %s" % dict)
# output:
# dict: {'nick': 'nick', 'host': 'nick!user@host', 'command': 'PRIVMSG', 'arguments': '#weechat :message here', 'channel': '#weechat'}
----------------------------------------
[[infos]]
Infos
~~~~~
[[infos_weechat_version]]
WeeChat version
^^^^^^^^^^^^^^^
The best way to check version is to ask "version_number" and make integer
comparison with hexidecimal version number.
Example:
[source,python]
----------------------------------------
version = weechat.info_get("version_number", "") or 0
if int(version) >= 0x00030200:
weechat.prnt("", "This is WeeChat 0.3.2 or newer")
else:
weechat.prnt("", "This is WeeChat 0.3.1 or older")
----------------------------------------
[NOTE]
Versions < = 0.3.1.1 return empty string for 'info_get("version_number")' so you
must check that value returned is *not* empty.
To get version as string:
[source,python]
----------------------------------------
# this will display for example "Version 0.3.2"
weechat.prnt("", "Version %s" % weechat.info_get("version", ""))
----------------------------------------
[[infos_other]]
Other infos
^^^^^^^^^^^
[source,python]
----------------------------------------
# WeeChat home directory, for example: "/home/xxxx/.weechat"
weechat.prnt("", "WeeChat home dir: %s" % weechat.info_get("weechat_dir", ""))
# keyboard inactivity
weechat.prnt("", "Inactivity since %s seconds" % weechat.info_get("inactivity", ""))
----------------------------------------
[[infolists]]
Infolists
~~~~~~~~~
[[infolists_read]]
Read an infolist
^^^^^^^^^^^^^^^^
You can read infolist built by WeeChat or other plugins.
Example:
[source,python]
----------------------------------------
# read infolist "buffer", to get list of buffers
infolist = weechat.infolist_get("buffer", "", "")
if infolist:
while weechat.infolist_next(infolist):
name = weechat.infolist_string(infolist, "name")
weechat.prnt("", "buffer: %s" % name)
weechat.infolist_free(infolist)
----------------------------------------
[IMPORTANT]
Don't forget to call `infolist_free` to free memory used by infolist, because
WeeChat will not automatically free memory.
+1 -1
View File
@@ -1,6 +1,6 @@
WeeChat Tester's Guide
======================
FlashCode <flashcode@flashtux.org>
Sébastien Helleu <flashcode@flashtux.org>
[[purpose]]

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