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

Compare commits

...

104 Commits

Author SHA1 Message Date
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
405 changed files with 17071 additions and 4902 deletions
+2 -2
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
+11 -6
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-2010 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,7 +33,7 @@ ENDIF(PREFIX)
SET(VERSION_MAJOR "0")
SET(VERSION_MINOR "3")
SET(VERSION_PATCH "2-rc1")
SET(VERSION_PATCH "3-rc3")
SET(VERSION ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH})
SET(LICENSE "GPL3")
SET(PKG_STRING "${PROJECT_NAME} ${VERSION}")
@@ -115,7 +120,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})
+61 -4
View File
@@ -1,10 +1,64 @@
WeeChat ChangeLog
=================
FlashCode <flashcode@flashtux.org>
v0.3.2-dev, 2010-04-05
Sébastien Helleu <flashcode@flashtux.org>
v0.3.3-dev, 2010-08-03
Version 0.3.2 (under dev!)
Version 0.3.3 (under dev!)
--------------------------
* core: use "!" to reverse a regex in a filter (to keep lines matching regex
and hide other lines)
* core: add keys for undo/redo changes on command line
(default: ctrl/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 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
@@ -12,7 +66,7 @@ Version 0.3.2 (under dev!)
* 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 joker and "!" to prevent a plugin from being autoloaded
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)
@@ -57,6 +111,9 @@ Version 0.3.2 (under dev!)
* scripts: fix bug with callbacks when loading a script already loaded
* 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)
+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-2010 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 \
+13 -3
View File
@@ -1,10 +1,20 @@
WeeChat News
============
FlashCode <flashcode@flashtux.org>
v0.3.2-dev, 2010-04-04
Sébastien Helleu <flashcode@flashtux.org>
v0.3.3-dev, 2010-07-06
Version 0.3.2 (under dev!)
Version 0.3.3 (under dev!)
--------------------------
Important release notes:
* if you are using `/upgrade` from a previous release, then you must reconnect
to IRC servers in order to use new command /wallchops.
* option 'irc.network.lag_min_show' is now in milliseconds, you should set new
value: your current value multiplied by 1000 (new default value is 500).
Version 0.3.2 (2010-04-18)
--------------------------
If you are using `/upgrade` from a previous release, then you must execute this
+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-2010 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
+8 -4
View File
@@ -1,19 +1,23 @@
#!/bin/sh
#
# Copyright (c) 2003-2010 by FlashCode <flashcode@flashtux.org>
# Copyright (C) 2003-2010 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/>.
#
###
+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-2010 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
+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-2010 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
+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-2010 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 Gcrypt
+9 -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-2010 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
+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-2010 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
+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-2010 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
+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-2010 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
+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-2010 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)
+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-2010 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
+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-2010 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
+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-2010 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
+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-2010 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
+20
View File
@@ -1,3 +1,23 @@
#
# Copyright (C) 2008 Julien Louis <ptitlouis@sysif.net>
# Copyright (C) 2008-2010 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
+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-2010 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-2010 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@
+12 -6
View File
@@ -1,27 +1,33 @@
# Copyright (c) 2003-2010 by FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# Copyright (C) 2003-2010 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.2-rc1, flashcode@flashtux.org)
AC_INIT(WeeChat, 0.3.3-rc3, flashcode@flashtux.org)
AC_CONFIG_SRCDIR([src/core/weechat.c])
AM_CONFIG_HEADER(config.h)
AM_INIT_AUTOMAKE([weechat], [0.3.2-rc1])
AM_INIT_AUTOMAKE([weechat], [0.3.3-rc3])
LICENSE="GPL3"
# Checks for programs
+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
@@ -1,10 +1,10 @@
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) (2003-2010) Sebastien Helleu <flashcode@flashtux.org>
Copyright (C) (2005-2010) Emmanuel Bouthenot <kolter@openics.org>
Copyright (C) (2008-2010) Dmitry Kobylin <fnfal@academ.tsc.ru> (tcl plugin)
+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-2010 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)
+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-2010 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
+19 -4
View File
@@ -1,19 +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-2010 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=3 -a toc-title='Inhaltsverzeichnis' -a date=`date "+%F"` -a revision="${VERSION}" -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})
# FAQ
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.de.html
+15 -5
View File
@@ -1,30 +1,40 @@
# Copyright (c) 2003-2010 by FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# Copyright (C) 2003-2010 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.de.txt \
weechat_faq.de.txt \
weechat_quickstart.de.txt \
weechat_tester.de.txt
all-local: weechat_faq.de.html \
all-local: weechat_user.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)" -n -o weechat_user.de.html weechat_user.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
+101
View File
@@ -0,0 +1,101 @@
[width="65%",cols="^1,^2,8",options="header"]
|========================================
| Erweiterung | Name | Beschreibung
| alias | alias | Liste der 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_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
| 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 | 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
|========================================
+59
View File
@@ -0,0 +1,59 @@
[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) | Servername
| 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_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) | -
| 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 | xfer Pointer (optional) | -
|========================================
+53
View File
@@ -0,0 +1,53 @@
[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
| 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 | -
|========================================
+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
........................................
+693
View File
@@ -0,0 +1,693 @@
&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`* `[-all [-nojoin] | -open [-nojoin] | servername [servername ...] [-nojoin] | hostname[/port] [-option[=value]] [-nooption]]`::
........................................
Mit IRC-Server(n) verbinden
-all: Verbindet mit allen Servern
-open: stellt eine Verbindung zu allen geöffneten Servern her, zu denen es aktuell keine Verbindung gibt
servername: intern genutzter Servername, mit dem verbunden werden soll (Der Server muss zuerst mittels "/server add" angelegt werden)
-nojoin: betrete (/join) keinen Channel (auch wenn die Funktion "autojoin" aktiviert sein sollte)
hostname: Hostname, oder IP, eines Servers
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)
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
........................................
&bull; *`/ctcp`* `Empfänger Typ [Argumente]`::
........................................
CTCP-Nachricht verschicken
Empfänger: User, an den die CTCP-Nachricht geschickt werden soll
Typ: Typ der CTCP-Nachricht (z.B. "version", "ping", ..)
Argumente: 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üge eine Ignorierung hinzu
del: entferne eine Ignorierung
number: Nummer der Ignorierung die entfernt werden soll (nutze "list" )
-all: entfernt alle Einträge
nick/host: Nick oder Host der ignoriert werden soll: Syntax ist "re:regex" oder "mask" (mask ist eine Zeichenkette in der mittels "*" (Joker) 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":
/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`* `[channel1[,channel2[,channel3]] [key1[,key2]]]`::
........................................
einen Channel betreten
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)
Examples:
/join #weechat
/join #geschützterChannel,#weechat Zugriffsschlüssel
........................................
&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] receiver[,Empfänger] Text`::
........................................
Nachricht an Nick/Channel verschicken
Server: schicke an diesen Server (interner Servername)
Empfänger: 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] Nickname Text`::
........................................
Mitteilung (notice) an einen User verschicken
server: sende an diesen Server (interner Servername)
Nickname: Empfänger der Nachricht
Text: zu sendender Text
........................................
&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)
data: unbearbeitete Daten die gesendet werden sollen
........................................
&bull; *`/reconnect`* `[-all [-nojoin] | Servername [Servername ...] [-nojoin]]`::
........................................
Mit einem oder mehreren Server(n) erneut verbinden
-all: mit allen Servern neu verbinden
Servername: Servername mit welchem verbunden werden soll
-nojoin: Channels werden nicht betreten (selbst wenn autojoin für diesen Server aktiv ist)
........................................
&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
........................................
+440
View File
@@ -0,0 +1,440 @@
* *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_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.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 diese dann 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_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.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.open_channel_near_server*
** Beschreibung: Öffne neue Channels neben dem Server-Buffer
** Typ: boolesch
** Werte: on, off (Standardwert: off)
* *irc.look.open_pv_near_server*
** Beschreibung: Öffne neue private Channels neben dem Server-Buffer
** Typ: boolesch
** Werte: on, off (Standardwert: off)
* *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, wenn ein 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.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.network.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.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.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.network.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.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.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.network.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.network.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.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.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.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.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.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.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: SSL-Zertifikat Datei wurde genutzt um automatisch Deinen Nick zu identifizieren.
** 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.
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"
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
........................................
+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
Dateiname: Skript (Datei) die 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
Dateiname: Skript (Datei) die 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
Dateiname: Skript (Datei) die geladen werden soll
Name: Name des Skripts
Wird der Befehl ohne Argumente aufgerufen werden alle geladenen Skripten aufgelistet.
........................................
+17
View File
@@ -0,0 +1,17 @@
&bull; *`/relay`* `[list | listfull | add protocol.name port | del protocol.name]`::
........................................
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
Beispiel: irc.freenode
port: Port den der Relay nutzen soll
Ohne Angabe von Argumenten werden alle Relay-Clients, in einem neuen Buffer, dargestellt.
........................................
+50
View File
@@ -0,0 +1,50 @@
* *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.network.max_clients*
** Beschreibung: Maximale Anzahl an Clients die mit einem Port verbunden sein dürfen
** Typ: integer
** Werte: 1 .. 1024 (Standardwert: 5)
+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
Dateiname: Skript (Datei) die 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
Dateiname: Skript (Datei) die geladen werden soll
Name: Name des Skripts
Wird der Befehl ohne Argumente aufgerufen werden alle geladenen Skripten aufgelistet.
........................................
+450
View File
@@ -0,0 +1,450 @@
&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 offenen Buffer auflisten (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
verbindetn 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; *`/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 | 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: aktiviert den Filter (Filter sind standardmäßig aktiviert)
disable: deaktiviert den Filter
toggle: Filterfunktion ein-/ausschalten
name: Filtername
add: fügt einen Filter hinzu
del: entfernt einen Filter
-all: entfernt alle Filter
plugin.buffer: Erweiterung und Buffer in denen die Filterfunktion aktiviert ist ("*" betrifft alle Buffer)
tags: durch Kommata getrennte Liste mit Tags, Beispiel: "irc_join,irc_part,irc_quit"
regex: regulärer Ausdruck um in einer Zeile zu suchen
- nutze '\t' um Präfix von Nachricht zu trennen. Sonderzeichen wie '|' müssen in einer Escapesequenz : '\|' eingebunden werden)
- falls ein regulärer Ausdruck mit '!' beginnt dann wird das übereinstimmende Ergebnis umgekehrt (nutze '\!' um mit '!' zu beginnen)
Die Tastenvoreinstellung alt+'=' schaltet die Filterfunktion an/aus.
Die am häufigsten gebrauchten Tags lauten:
no_filter, no_highlight, log0..log9 (log level),
notify_message, notify_private, notify_highlight,
irc_xxx (xxx ist der IRC Befehl oder die IRC Nummer, 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: zeigt die gewünschte Anzahl an Einträgen im Befehlsverlauf
........................................
&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 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: speichere/verwende nur Buffer (Reihenfolge der Buffer)
windows: speichere/verwende 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üge neuen Proxy hinzu
proxyname: Name des neuen Proxy (der Name muss einmalig sein)
type: http, socks4 oder socks5
address: IP oder Hostname
port: port
username: Username (optional)
password: Passwort (optional)
del: entfernt einen Proxy (alle Proxies werden mittels -all entfernt)
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: zeige alle Proxies an
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.
........................................
&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 Befehl /wait gestartet wurde. Falls dieser Buffer nicht gefunden werden sollte, z.B. weil er in der Zwischenzeit geschlossen wurde, wird der Befehl im WeeChat Haupt-Buffer gestartet.
Beispiele:
Betritt einen Channel in 10 Sekunden:
/wait 10 /join #test
Setzt eine Abwesenheit in 15 Minuten:
/wait 15m /away -all Bin dann mal eben weg
Schickt den Text 'Hallo' nach zwei Minuten ab:
/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
........................................
+615
View File
@@ -0,0 +1,615 @@
* *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_color01*
** Beschreibung: Textfarbe #1 für Nick
** Typ: Farbe
** Werte: ein Farbname (Standardwert: cyan)
* *weechat.color.chat_nick_color02*
** Beschreibung: Textfarbe #2 für Nick
** Typ: Farbe
** Werte: ein Farbname (Standardwert: magenta)
* *weechat.color.chat_nick_color03*
** Beschreibung: Textfarbe #3 für Nick
** Typ: Farbe
** Werte: ein Farbname (Standardwert: green)
* *weechat.color.chat_nick_color04*
** Beschreibung: Textfarbe #4 für Nick
** Typ: Farbe
** Werte: ein Farbname (Standardwert: brown)
* *weechat.color.chat_nick_color05*
** Beschreibung: Textfarbe #5 für Nick
** Typ: Farbe
** Werte: ein Farbname (Standardwert: lightblue)
* *weechat.color.chat_nick_color06*
** Beschreibung: Textfarbe #6 für Nick
** Typ: Farbe
** Werte: ein Farbname (Standardwert: default)
* *weechat.color.chat_nick_color07*
** Beschreibung: Textfarbe #7 für Nick
** Typ: Farbe
** Werte: ein Farbname (Standardwert: lightcyan)
* *weechat.color.chat_nick_color08*
** Beschreibung: Textfarbe #8 für Nick
** Typ: Farbe
** Werte: ein Farbname (Standardwert: lightmagenta)
* *weechat.color.chat_nick_color09*
** Beschreibung: Textfarbe #9 für Nick
** Typ: Farbe
** Werte: ein Farbname (Standardwert: lightgreen)
* *weechat.color.chat_nick_color10*
** Beschreibung: Textfarbe #10 für Nick
** Typ: Farbe
** Werte: ein Farbname (Standardwert: 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: Zeige einen Zähler für jede teilweise, automatische Vervollständigung 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, die 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)
** Typ: integer
** Werte: none, highlight, message, all (Standardwert: all)
* *weechat.look.buffer_time_format*
** Beschreibung: Format für die Uhrzeit die am Anfang jeder Zeile in einem Buffer dargestellt wird
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: "%H:%M:%S")
* *weechat.look.color_nicks_number*
** Beschreibung: Anzahl der Farben die für die Nicknamen genutzt werden sollen
** Typ: integer
** Werte: 1 .. 10 (Standardwert: 10)
* *weechat.look.color_real_white*
** Beschreibung: Falls eingeschaltet, 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 Einstellung 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.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 von: 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 gesetzt, 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 gesetzt, 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.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: Zeitformatierung für die "time" Option in der Infobar
** 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 Länge für Präfixe (0 = keine maximale Länge)
** 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 zu lang sein sollte (falls viele Buffer zusammengefügt wurden und die somit 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 enthält die Zertifizierungsstellen.
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: "%h/ssl/CAs.pem")
* *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 automatisch umbenennen, um Überschreiben zu vermeiden (fügt dabei '.1', '.2', ... dem Dateinamen hinzu)
** 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: Beim Verschicken von Dateien, Leerzeichen in Unterstrich umwandeln
** Typ: boolesch
** Werte: on, off (Standardwert: on)
* *xfer.file.download_path*
** Beschreibung: Zielpfad für eingehende Dateien
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: "%h/xfer")
* *xfer.file.upload_path*
** Beschreibung: Quellpfad, aus dem Dateien standardmäßig gelesen werden (falls keine explizite Angabe für einen Pfad angegeben worden ist)
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: "~")
* *xfer.file.use_nick_in_filename*
** Beschreibung: Nutze 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: Warte beim Verschicken 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 wird, wird die IP des lokalen Interfaces benutzt)
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: "")
* *xfer.network.port_range*
** Beschreibung: Schränkt ausgehende Daten/Chats auf die ausschließliche Benutzung 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 die 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)
+1 -1
View File
@@ -1,6 +1,6 @@
WeeChat FAQ (häufig gestellte Fragen)
=====================================
FlashCode <flashcode@flashtux.org>
Sébastien Helleu <flashcode@flashtux.org>
[[general]]
+2 -2
View File
@@ -1,6 +1,6 @@
WeeChat Quick Start Guide
=========================
FlashCode <flashcode@flashtux.org>
Sébastien Helleu <flashcode@flashtux.org>
[[start]]
@@ -77,7 +77,7 @@ 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.
+1 -1
View File
@@ -1,6 +1,6 @@
WeeChat Tester's Guide
======================
FlashCode <flashcode@flashtux.org>
Sébastien Helleu <flashcode@flashtux.org>
[[purpose]]
File diff suppressed because it is too large Load Diff
+10 -9
View File
@@ -1,20 +1,23 @@
#
# Copyright (c) 2008-2010 by FlashCode <flashcode@flashtux.org>
# Copyright (C) 2008-2010 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 @all_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
@@ -105,7 +106,7 @@ my $d;
# -------------------------------[ init ]--------------------------------------
weechat::register("docgen", "FlashCode <flashcode\@flashtux.org>", $version,
weechat::register("docgen", "Sebastien Helleu <flashcode\@flashtux.org>", $version,
"GPL3", "Doc generator for WeeChat 0.3.x", "", "");
weechat::hook_command("docgen", "Doc generator",
"[locales]",
@@ -275,7 +276,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");
}
+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-2010 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
+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-2010 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)
+14 -14
View File
@@ -2,7 +2,7 @@
|========================================
| Plugin | Name | Description | Pointer | Arguments
| alias | alias | list of aliases | alias pointer (optional) | alias name (can start or end with "*" as joker) (optional)
| alias | alias | list of aliases | alias pointer (optional) | alias name (can start or end with "*" as wildcard) (optional)
| irc | irc_channel | list of channels for an IRC server | channel pointer (optional) | server name
@@ -10,33 +10,33 @@
| irc | irc_nick | list of nicks for an IRC channel | nick pointer (optional) | server,channel,nick (channel and nick are optional)
| irc | irc_server | list of IRC servers | server pointer (optional) | server name (can start or end with "*" as joker) (optional)
| irc | irc_server | list of IRC servers | server pointer (optional) | server name (can start or end with "*" as wildcard) (optional)
| logger | logger_buffer | list of logger buffers | logger pointer (optional) | -
| lua | lua_script | list of scripts | script pointer (optional) | script name (can start or end with "*" as joker) (optional)
| lua | lua_script | list of scripts | script pointer (optional) | script name (can start or end with "*" as wildcard) (optional)
| perl | perl_script | list of scripts | script pointer (optional) | script name (can start or end with "*" as joker) (optional)
| perl | perl_script | list of scripts | script pointer (optional) | script name (can start or end with "*" as wildcard) (optional)
| python | python_script | list of scripts | script pointer (optional) | script name (can start or end with "*" as joker) (optional)
| python | python_script | list of scripts | script pointer (optional) | script name (can start or end with "*" as wildcard) (optional)
| relay | relay | list of relay clients | relay pointer (optional) | -
| ruby | ruby_script | list of scripts | script pointer (optional) | script name (can start or end with "*" as joker) (optional)
| ruby | ruby_script | list of scripts | script pointer (optional) | script name (can start or end with "*" as wildcard) (optional)
| tcl | tcl_script | list of scripts | script pointer (optional) | script name (can start or end with "*" as joker) (optional)
| tcl | tcl_script | list of scripts | script pointer (optional) | script name (can start or end with "*" as wildcard) (optional)
| weechat | bar | list of bars | bar pointer (optional) | bar name (can start or end with "*" as joker) (optional)
| weechat | bar | list of bars | bar pointer (optional) | bar name (can start or end with "*" as wildcard) (optional)
| weechat | bar_item | list of bar items | bar item pointer (optional) | bar item name (can start or end with "*" as joker) (optional)
| weechat | bar_item | list of bar items | bar item pointer (optional) | bar item name (can start or end with "*" as wildcard) (optional)
| weechat | bar_window | list of bar windows | bar window pointer (optional) | -
| weechat | buffer | list of buffers | buffer pointer (optional) | buffer name (can start or end with "*" as joker) (optional)
| weechat | buffer | list of buffers | buffer pointer (optional) | buffer name (can start or end with "*" as wildcard) (optional)
| weechat | buffer_lines | lines of a buffer | buffer pointer | -
| weechat | filter | list of filters | - | filter name (can start or end with "*" as joker) (optional)
| weechat | filter | list of filters | - | filter name (can start or end with "*" as wildcard) (optional)
| weechat | history | history of commands | buffer pointer (if not set, return global history) (optional) | -
@@ -48,11 +48,11 @@
| weechat | nicklist | nicks in nicklist for a buffer | buffer pointer | nick_xxx or group_xxx to get only nick/group xxx (optional)
| weechat | option | list of options | - | option name (can start or end with "*" as joker) (optional)
| 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 joker) (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 joker) (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) | -
+7 -1
View File
@@ -12,10 +12,16 @@
| irc | irc_nick | get current nick on a server | server name
| irc | irc_nick_color | get nick color | nickname
| irc | irc_nick_color | get nick color code | nickname
| irc | irc_nick_color_name | get nick color name | nickname
| irc | irc_nick_from_host | get nick from IRC host | IRC host (like `:nick!name@server.com`)
| irc | irc_server_isupport | 1 if server supports this feature (from IRC message 005) | server,feature
| irc | irc_server_isupport_value | value of feature, if supported by server (from IRC message 005) | server,feature
| weechat | charset_internal | WeeChat internal charset | -
| weechat | charset_terminal | terminal charset | -
+15 -2
View File
@@ -194,13 +194,17 @@
nickname: nickname
........................................
&bull; *`/join`* `[channel[,channel] [key[,key]]]`::
&bull; *`/join`* `[channel1[,channel2[,channel3]] [key1[,key2]]]`::
........................................
join a channel
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
........................................
&bull; *`/kick`* `[channel] nickname [comment]`::
@@ -642,6 +646,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`::
........................................
+87 -12
View File
@@ -13,6 +13,16 @@
** type: color
** 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
** type: color
@@ -23,11 +33,36 @@
** type: color
** values: a color name (default value: red)
* *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.notice*
** description: color for text "Notice" in notices
** type: color
** 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
** type: boolean
@@ -58,11 +93,36 @@
** type: boolean
** values: on, off (default value: on)
* *irc.look.display_host_join*
** description: display host in join messages
** type: boolean
** 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
** type: boolean
** 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
** type: boolean
@@ -103,6 +163,11 @@
** type: integer
** values: current, server (default value: current)
* *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)
** type: integer
@@ -148,11 +213,6 @@
** 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)
* *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")
** type: boolean
@@ -188,15 +248,25 @@
** type: integer
** values: 0 .. 60 (default value: 2)
* *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: 1 .. 100 (default value: 2)
* *irc.network.autoreconnect_delay_max*
** description: maximum autoreconnect delay to server (in seconds, 0 = no maximum)
** type: integer
** values: 0 .. 86400 (default value: 1800)
* *irc.network.away_check*
** description: interval between two checks for away (in minutes, 0 = never check)
** type: integer
** values: 0 .. 2147483647 (default value: 0)
** values: 0 .. 10080 (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 .. 1000000 (default value: 25)
* *irc.network.colors_receive*
** description: when off, colors codes are ignored in incoming messages
@@ -226,17 +296,22 @@
* *irc.network.lag_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)
** 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.send_unknown_commands*
** description: send unknown commands to server
@@ -266,7 +341,7 @@
* *irc.server_default.autoreconnect_delay*
** 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
+8 -3
View File
@@ -137,7 +137,9 @@
-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 '!')
The default key alt+'=' toggles filtering on/off.
@@ -155,6 +157,8 @@
/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:
@@ -179,7 +183,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 | switch_active_buffer | switch_active_buffer_previous | 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
@@ -293,11 +297,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)
........................................
+20 -25
View File
@@ -213,31 +213,6 @@
** type: color
** values: a color name (default value: blue)
* *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)
* *weechat.color.separator*
** description: background color for window separators (when split)
** type: color
@@ -278,6 +253,11 @@
** type: color
** 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
** type: color
@@ -358,6 +338,11 @@
** type: integer
** 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)
** type: integer
@@ -383,6 +368,11 @@
** 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
** type: boolean
@@ -433,6 +423,11 @@
** type: integer
** values: group_time_asc, group_time_desc, group_number_asc, group_number_desc, number_asc, number_desc (default value: group_time_asc)
* *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
** type: string
+1 -1
View File
@@ -1,6 +1,6 @@
WeeChat FAQ (Frequently Asked Questions)
========================================
FlashCode <flashcode@flashtux.org>
Sébastien Helleu <flashcode@flashtux.org>
[[general]]
+579 -4
View File
@@ -1,6 +1,6 @@
WeeChat Plugin API Reference
============================
FlashCode <flashcode@flashtux.org>
Sébastien Helleu <flashcode@flashtux.org>
This manual documents WeeChat chat client, it is part of WeeChat.
@@ -153,7 +153,7 @@ very useful, but that's just an example!):
WEECHAT_PLUGIN_NAME("double");
WEECHAT_PLUGIN_DESCRIPTION("Test plugin for WeeChat");
WEECHAT_PLUGIN_AUTHOR("FlashCode <flashcode@flashtux.org>");
WEECHAT_PLUGIN_AUTHOR("Sebastien Helleu <flashcode@flashtux.org>");
WEECHAT_PLUGIN_VERSION("0.1");
WEECHAT_PLUGIN_LICENSE("GPL3");
@@ -584,6 +584,38 @@ C example:
int diff = weechat_strcasecmp ("aaa", "CCC"); /* == -2 */
----------------------------------------
weechat_strncasecmp
^^^^^^^^^^^^^^^^^^^
Locale and case independent string comparison, for 'max' chars.
Prototype:
[source,C]
----------------------------------------
int weechat_strncasecmp (const char *string1, const char *string2, int max);
----------------------------------------
Arguments:
* 'string1': first string for comparison
* 'string2': second string for comparison
* 'max': max chars to compare
Return value:
* difference between two strings:
** negative if string1 < string2
** zero if string1 == string2
** positive if string1 > string2
C example:
[source,C]
----------------------------------------
int diff = weechat_strncasecmp ("aabb", "aacc", 2); /* == 0 */
----------------------------------------
weechat_strcmp_ignore_chars
^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -728,6 +760,40 @@ char *str = weechat_string_replace ("test", "s", "x"); /* result: "text" */
free (str);
----------------------------------------
weechat_string_expand_home
^^^^^^^^^^^^^^^^^^^^^^^^^^
_New in version 0.3.3._
Replace leading `~` by string with home directory. If string does not start
with `~`, then same string is returned.
Prototype:
[source,C]
----------------------------------------
char *weechat_string_expand_home (const char *path);
----------------------------------------
Arguments:
* 'path': path
Return value:
* path with leading `~` replaced by home directory (must be freed by calling
"free" after use)
C example:
[source,C]
----------------------------------------
char *str = weechat_string_expand_home ("~/file.txt");
/* result: "/home/xxx/file.txt" */
/* ... */
free (str);
----------------------------------------
weechat_string_remove_quotes
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -1150,6 +1216,8 @@ str = weechat.string_remove_color(my_string, "?")
weechat_string_encode_base64
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_New in version 0.3.2._
Encode a string in base64.
Prototype:
@@ -1178,6 +1246,8 @@ weechat_string_encode_base64 (string, strlen (string), result);
weechat_string_decode_base64
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_New in version 0.3.2._
Decode a base64 string.
Prototype:
@@ -1210,6 +1280,8 @@ length = weechat_string_decode_base64 (string, result);
weechat_string_is_command_char
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_New in version 0.3.2._
Check if first char of string is a command char (default command char is '/').
Prototype:
@@ -1250,6 +1322,8 @@ command_char2 = weechat.string_is_command_char("test") # == 0
weechat_string_input_for_buffer
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_New in version 0.3.2._
Return pointer to input text for buffer (pointer inside "string" argument), or
NULL if it's a command.
@@ -1443,6 +1517,33 @@ C example:
char *next_char = weechat_utf8_next_char (string);
----------------------------------------
weechat_utf8_char_int
^^^^^^^^^^^^^^^^^^^^^
Return UTF-8 char as integer.
Prototype:
[source,C]
----------------------------------------
int weechat_utf8_char_int (const char *string);
----------------------------------------
Arguments:
* 'string': string
Return value:
* UTF-8 char as integer
C example:
[source,C]
----------------------------------------
int char_int = weechat_utf8_char_int ("être"); /* "ê" as integer */
----------------------------------------
weechat_utf8_char_size
^^^^^^^^^^^^^^^^^^^^^^
@@ -1552,6 +1653,37 @@ C example:
int length_on_screen = weechat_utf8_strlen_screen ("é"); /* == 1 */
----------------------------------------
weechat_utf8_charcmp
^^^^^^^^^^^^^^^^^^^^
Compare two UTF-8 chars.
Prototype:
[source,C]
----------------------------------------
int weechat_utf8_charcmp (const char *string1, const char *string2);
----------------------------------------
Arguments:
* 'string1': first string for comparison
* 'string2': second string for comparison
Return value:
* difference between first char of each string:
** negative if char1 < char2
** zero if char1 == char2
** positive if char1 > char2
C example:
[source,C]
----------------------------------------
int diff = weechat_utf8_charcmp ("aaa", "ccc"); /* == -2 */
----------------------------------------
weechat_utf8_charcasecmp
^^^^^^^^^^^^^^^^^^^^^^^^
@@ -1894,6 +2026,39 @@ void callback (void *data, const char *filename)
weechat_exec_on_files ("/tmp", 0, NULL, &callback);
----------------------------------------
weechat_file_get_content
^^^^^^^^^^^^^^^^^^^^^^^^
_New in version 0.3.1._
Get content of text file in a string.
Prototype:
[source,C]
----------------------------------------
char *weechat_file_get_content (const char *filename);
----------------------------------------
Arguments:
* 'filename': path and file name
Return value:
* content of file as string (must be freed by calling "free" after use)
C example:
[source,C]
----------------------------------------
char *content;
content = weechat_file_get_content ("/tmp/test.txt");
/* ... */
free (content);
----------------------------------------
[[util]]
Util
~~~~
@@ -1988,6 +2153,8 @@ weechat_util_timeval_add (&tv, 2000); /* add 2 seconds */
weechat_util_get_time_string
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_New in version 0.3.2._
Get date/time as a string built with "strftime".
Prototype:
@@ -2509,6 +2676,366 @@ weechat.list_free(list)
weechat.list_free(list)
----------------------------------------
[[hashtables]]
Hashtables
~~~~~~~~~~
Hashtable functions.
weechat_hashtable_new
^^^^^^^^^^^^^^^^^^^^^
_New in version 0.3.3._
Create a new hashtable.
Prototype:
[source,C]
----------------------------------------
struct t_hashtable *weechat_hashtable_new (int size,
const char *type_keys,
const char *type_values,
unsigned int (*callback_hash_key)(struct t_hashtable *hashtable,
const void *key),
int (*callback_keycmp)(struct t_hashtable *hashtable,
const void *key1,
const void *key2));
----------------------------------------
Arguments:
* 'size': size of internal array to store hashed keys, a high value uses more
memory, but has better performance (this is *not* a limit for number of items
in hashtable)
* 'type_keys': type for keys in hashtable:
** 'WEECHAT_HASHTABLE_INTEGER'
** 'WEECHAT_HASHTABLE_STRING'
** 'WEECHAT_HASHTABLE_POINTER'
** 'WEECHAT_HASHTABLE_BUFFER'
** 'WEECHAT_HASHTABLE_TIME'
* 'type_values': type for values in hashtable:
** 'WEECHAT_HASHTABLE_INTEGER'
** 'WEECHAT_HASHTABLE_STRING'
** 'WEECHAT_HASHTABLE_POINTER'
** 'WEECHAT_HASHTABLE_BUFFER'
** 'WEECHAT_HASHTABLE_TIME'
* 'callback_hash_key': callback used to "hash" a key (key as integer value), can
be NULL if key type is "string" (a default function is used for strings, and
only for strings)
* 'callback_keycmp': callback used to compare two keys, can be NULL if value
type is "string" (a default comparison function is used for strings, and only
for strings)
Return value:
* pointer to new hashtable, NULL if an error occured
C example:
[source,C]
----------------------------------------
struct t_hashtable *hashtable = weechat_hashtable_new (8,
WEECHAT_HASHTABLE_STRING,
WEECHAT_HASHTABLE_STRING,
NULL,
NULL);
----------------------------------------
weechat_hashtable_set_with_size
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_New in version 0.3.3._
Add or update item in a hashtable with size for key and value.
Prototype:
[source,C]
----------------------------------------
int weechat_hashtable_set_with_size (struct t_hashtable *hashtable,
void *key, int key_size,
void *value, int value_size);
----------------------------------------
Arguments:
* 'hashtable': hashtable pointer
* 'key': key pointer
* 'key_size': size of key (in bytes), used only if type of keys in hashtable
is "buffer"
* 'value': value pointer
* 'value_size': size of value (in bytes), used only if type of values in
hashtable is "buffer"
Return value:
* 1 if ok, 0 if error
C example:
[source,C]
----------------------------------------
weechat_hashtable_set_with_size (hashtable, "my_key", 0,
my_buffer, sizeof (my_buffer_struct));
----------------------------------------
weechat_hashtable_set
^^^^^^^^^^^^^^^^^^^^^
_New in version 0.3.3._
Add or update item in a hashtable.
Prototype:
[source,C]
----------------------------------------
int weechat_hashtable_set (struct t_hashtable *hashtable,
void *key, void *value);
----------------------------------------
Arguments:
* 'hashtable': hashtable pointer
* 'key': key pointer
* 'value': value pointer
Return value:
* 1 if ok, 0 if error
C example:
[source,C]
----------------------------------------
weechat_hashtable_set (hashtable, "my_key", "my_value");
----------------------------------------
weechat_hashtable_get
^^^^^^^^^^^^^^^^^^^^^
_New in version 0.3.3._
Get value associated with a key in a hashtable.
Prototype:
[source,C]
----------------------------------------
void *weechat_hashtable_get (struct t_hashtable *hashtable, void *key);
----------------------------------------
Arguments:
* 'hashtable': hashtable pointer
* 'key': key pointer
Return value:
* value for key, NULL if key is not found
C example:
[source,C]
----------------------------------------
void *value = weechat_hashtable_get (hashtable, "my_key");
----------------------------------------
weechat_hashtable_map
^^^^^^^^^^^^^^^^^^^^^
_New in version 0.3.3._
Call a function on all hashtable entries.
Prototype:
[source,C]
----------------------------------------
void hashtable_map (struct t_hashlist *hashlist,
int (*callback_map)(void *data,
struct t_hashtable *hashtable,
const void *key,
const void *value),
void *callback_map_data);
----------------------------------------
Arguments:
* 'hashtable': hashtable pointer
* 'callback_map': function called for each entry in hashtable
* 'callback_map_data': pointer given to map callback when it is called
C example:
[source,C]
----------------------------------------
void
map_cb (void *data, struct t_hashtable *hashtable,
const void *key, const void *value)
{
/* display key and value (they are both strings here) */
weechat_printf (NULL, "key: '%s', value: '%s'",
(const char *)key,
(const char *)value);
}
/* ... */
weechat_hashtable_map (hashtable, &map_cb, NULL);
----------------------------------------
weechat_hashtable_get_integer
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_New in version 0.3.3._
Return integer value of a hashtable property.
Prototype:
[source,C]
----------------------------------------
int weechat_hashtable_get_integer (struct t_hashtable *hashtable,
void *property);
----------------------------------------
Arguments:
* 'hashtable': hashtable pointer
* 'property': property name:
** 'size': size of internal array "htable" in hashtable
** 'items_count': number of items in hashtable
Return value:
* integer value of property
C example:
[source,C]
----------------------------------------
int items_count = weechat_hashtable_get_integer (hashtable, "items_count");
----------------------------------------
weechat_hashtable_add_to_infolist
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_New in version 0.3.3._
Add hashtable items to an infolist item.
Prototype:
[source,C]
----------------------------------------
int weechat_hashtable_add_to_infolist (struct t_hashtable *hashtable,
struct t_infolist_item *infolist_item,
const char *prefix);
----------------------------------------
Arguments:
* 'hashtable': hashtable pointer
* 'infolist_item': infolist item pointer
* 'prefix': string used as prefix for names in infolist
Return value:
* 1 if ok, 0 if error
C example:
[source,C]
----------------------------------------
weechat_hashtable_add_to_infolist (hashtable, infolist_item, "testhash");
/* if hashtable contains:
"key1" => "value 1"
"key2" => "value 2"
then following variables will be added to infolist item:
"testhash_name_00001" = "key1"
"testhash_value_00001" = "value 1"
"testhash_name_00002" = "key2"
"testhash_value_00002" = "value 2"
*/
----------------------------------------
weechat_hashtable_remove
^^^^^^^^^^^^^^^^^^^^^^^^
_New in version 0.3.3._
Remove an item in a hashtable.
Prototype:
[source,C]
----------------------------------------
void weechat_hashtable_remove (struct t_hashtable *hashtable, const void *key);
----------------------------------------
Arguments:
* 'hashtable': hashtable pointer
* 'key': key pointer
C example:
[source,C]
----------------------------------------
weechat_hashtable_remove (hashtable, "my_key");
----------------------------------------
weechat_hashtable_remove_all
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_New in version 0.3.3._
Remove all items in a hashtable.
Prototype:
[source,C]
----------------------------------------
void weechat_hashtable_remove_all (struct t_hashtable *hashtable);
----------------------------------------
Arguments:
* 'hashtable': hashtable pointer
C example:
[source,C]
----------------------------------------
weechat_hashtable_remove_all (hashtable);
----------------------------------------
weechat_hashtable_free
^^^^^^^^^^^^^^^^^^^^^^
_New in version 0.3.3._
Free a hashtable.
Prototype:
[source,C]
----------------------------------------
void weechat_hashtable_free (struct t_hashtable *hashtable);
----------------------------------------
Arguments:
* 'hashtable': hashtable pointer
C example:
[source,C]
----------------------------------------
weechat_hashtable_free (hashtable);
----------------------------------------
[[configuration_files]]
Configuration files
~~~~~~~~~~~~~~~~~~~
@@ -3090,6 +3617,54 @@ option = weechat.config_search_option(config_file, section, option_name)
option = weechat.config_search_option(config_file, section, "option")
----------------------------------------
weechat_config_search_section_option
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Search a section and an option in a configuration file or section.
Prototype:
[source,C]
----------------------------------------
void weechat_config_search_section_option (struct t_config_file *config_file,
struct t_config_section *section,
const char *option_name,
struct t_config_section **section_found,
struct t_config_option **option_found);
----------------------------------------
Arguments:
* 'config_file': configuration file pointer
* 'section': section pointer
* 'option_name': option name
* 'section_found': pointer to section pointer, will be set to section of option,
if found
* 'option_found': pointer to an option pointer, will be set to option pointer,
if found
C example:
[source,C]
----------------------------------------
struct t_config_section *ptr_section;
struct t_config_option *ptr_option;
weechat_config_search_section_option(config_file,
section,
"option",
&ptr_section,
&ptr_option);
if (ptr_option)
{
/* option found */
}
else
{
/* option not found */
}
----------------------------------------
weechat_config_search_with_string
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -5072,7 +5647,7 @@ struct t_hook *weechat_hook_command_run (const char *command,
Arguments:
* 'command': command to hook, can start or end with "*" as joker
* 'command': command to hook, can start or end with "*" as wildcard
* 'callback': function called when command is run, arguments:
** 'void *data': pointer
** 'struct t_gui_buffer *buffer': buffer where command is executed
@@ -5975,7 +6550,7 @@ Arguments:
a command hooked (argument 'completion')
* 'description': description of completion
* 'callback': function called when completion item is used (user is completing
something using this item), artuments:
something using this item), arguments:
** 'void *data': pointer
** 'const char *completion_item': name of completion item
** 'struct t_gui_buffer *buffer': buffer where completion is made
+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`
+5 -1
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.
@@ -363,6 +363,10 @@ Examples:
# 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")
+1 -1
View File
@@ -1,6 +1,6 @@
WeeChat Tester's Guide
======================
FlashCode <flashcode@flashtux.org>
Sébastien Helleu <flashcode@flashtux.org>
[[purpose]]
+36 -23
View File
@@ -1,6 +1,6 @@
WeeChat User's Guide
====================
FlashCode <flashcode@flashtux.org>
Sébastien Helleu <flashcode@flashtux.org>
This manual documents WeeChat chat client, it is part of WeeChat.
@@ -234,29 +234,34 @@ in '/home/xxx/', then run gdb with this command:
gdb /usr/bin/weechat-curses /home/xxx/core
----------------------------------------
Then under gdb, use command `bt` to display backtrace.
[NOTE]
If you installed binary package 'weechat-dbg' (for example under Debian), then
you can use this path for WeeChat binary: '/usr/lib/debug/usr/bin/weechat-curses'
Then under gdb, use command `bt full` to display backtrace.
You will see something like that:
----------------------------------------
(gdb) bt
#0 0xffffe424 in __kernel_vsyscall ()
#1 0xb76208e0 in raise () from /lib/i686/cmov/libc.so.6
#2 0xb7623e15 in abort () from /lib/i686/cmov/libc.so.6
#3 0x08083940 in weechat_shutdown (return_code=1, crash=1) at /some_path/src/core/weechat.c:357
#4 0x08098aaa in debug_sigsegv () at /some_path/src/core/wee-debug.c:155
#5 <signal handler called>
#6 0xb7656681 in vsnprintf () from /lib/i686/cmov/libc.so.6
#7 0xb763dd22 in snprintf () from /lib/i686/cmov/libc.so.6
#8 0xb7258674 in irc_protocol_cmd_join (server=0x8165138, command=0xb727c187 "join", argc=3, argv=0x889e840, argv_eol=0x889e858)
at /some_path/src/plugins/irc/irc-protocol.c:520
#9 0xb7265c6e in irc_protocol_recv_command (server=0x8165138, entire_line=0x889e7e0 ":nick!nick@127.0.0.1 JOIN :#test",
command=0x889d080 "JOIN") at /some_path/src/plugins/irc/irc-protocol.c:4077
#10 0xb726a2c6 in irc_server_msgq_flush () at /some_path/src/plugins/irc/irc-server.c:1614
#11 0xb726a4da in irc_server_recv_cb (data=0x8165138, fd=8) at /some_path/src/plugins/irc/irc-server.c:1691
#12 0x0809a797 in hook_fd_exec (read_fds=0xbfcf8074, write_fds=0xbfcf7ff4, exception_fds=0xbfcf7f74)
at /some_path/src/core/wee-hook.c:1133
#13 0x08060af0 in gui_main_loop () at /some_path/src/gui/curses/gui-curses-main.c:330
#14 0x08083b10 in main (argc=3, argv=0xbfcf81d4) at /some_path/src/core/weechat.c:419
(gdb) bt full
#0 0x00007f9dfb04a465 in raise () from /lib/libc.so.6
#1 0x00007f9dfb04b8e6 in abort () from /lib/libc.so.6
#2 0x0000000000437f66 in weechat_shutdown (return_code=1, crash=1) at /some_path/src/core/weechat.c:351
#3 <signal handler called>
#4 0x000000000044cb24 in hook_process_timer_cb (arg_hook_process=0x254eb90, remaining_calls=<value optimized out>)
at /some_path/src/core/wee-hook.c:1364
hook_process = 0x254eb90
status = <value optimized out>
#5 0x000000000044cc7d in hook_timer_exec () at /some_path/src/core/wee-hook.c:1025
tv_time = {tv_sec = 1272693881, tv_usec = 212665}
ptr_hook = 0x2811f40
next_hook = 0x0
#6 0x000000000041b5b0 in gui_main_loop () at /some_path/src/gui/curses/gui-curses-main.c:319
hook_fd_keyboard = 0x173b600
tv_timeout = {tv_sec = 0, tv_usec = 0}
read_fds = {fds_bits = {0 <repeats 16 times>}}
write_fds = {fds_bits = {0 <repeats 16 times>}}
except_fds = {fds_bits = {0 <repeats 16 times>}}
max_fd = <value optimized out>
----------------------------------------
You must report this trace to developers, and tell them what action caused this
@@ -529,6 +534,14 @@ Keys for command line
Paste clipboard content +
`/input clipboard_paste`
| Ctrl + _ |
Undo last action on command line +
`/input undo`
| Alt + _ |
Redo last action on command line +
`/input redo`
| Tab |
Complete command or nick (Tab again: find next completion) +
`/input complete_next`
@@ -1609,14 +1622,14 @@ Authors
Developers
~~~~~~~~~~
FlashCode (Sébastien Helleu)::
Sébastien Helleu (FlashCode)::
main developer
[[contributors]]
Contributors
~~~~~~~~~~~~
Kolter (Emmanuel Bouthenot)::
Emmanuel Bouthenot (kolter)::
debian packager
Ptitlouis::
+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-2010 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
+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-2010 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)
+7 -1
View File
@@ -12,10 +12,16 @@
| irc | irc_nick | retourne le pseudo utilisé actuellement sur un serveur | nom de serveur
| irc | irc_nick_color | retourne la couleur du pseudo | pseudo
| irc | irc_nick_color | retourne le code couleur du pseudo | pseudo
| irc | irc_nick_color_name | retourne le nom de la couleur du pseudo | pseudo
| irc | irc_nick_from_host | retourne le pseudo à partir d'un host IRC | host IRC (comme `:pseudo!nom@serveur.com`)
| irc | irc_server_isupport | 1 si le serveur supporte cette fonctionnalité (du message IRC 005) | serveur,fonctionnalité
| irc | irc_server_isupport_value | valeur de la fonctionnalité, si supportée par le serveur (du message IRC 005) | serveur,fonctionnalité
| weechat | charset_internal | charset interne à WeeChat | -
| weechat | charset_terminal | charset du terminal | -
+15 -2
View File
@@ -194,13 +194,17 @@
pseudo: pseudo
........................................
&bull; *`/join`* `[canal[,canal] [clé[,clé]]]`::
&bull; *`/join`* `[canal1[,canal2[,canal3]] [clé1[,clé2]]]`::
........................................
joindre un canal
canal: nom du canal à rejoindre
clé: clé pour rejoindre le canal
clé: clé pour rejoindre le canal (les canaux avec une clé doivent être les premiers dans la liste)
Exemples:
/join #weechat
/join #protectedchan,#weechat key
........................................
&bull; *`/kick`* `[canal] pseudo [commentaire]`::
@@ -642,6 +646,15 @@
donne la voix à/aux pseudo(s)
........................................
&bull; *`/wallchops`* `[canal] texte`::
........................................
envoyer une notice aux opérateurs du canal
canal: nom du canal
texte: texte à envoyer
........................................
&bull; *`/wallops`* `texte`::
........................................
+87 -12
View File
@@ -13,6 +13,16 @@
** type: couleur
** valeurs: un nom de couleur (valeur par défaut: default)
* *irc.color.item_lag_counting*
** description: couleur pour l'indicateur de lag, lorsque le décompte est en cours (pong non reçu du serveur, le lag augmente)
** type: couleur
** valeurs: un nom de couleur (valeur par défaut: default)
* *irc.color.item_lag_finished*
** description: couleur pour l'indicateur de lag, lorsque le pong a été reçu du serveur
** type: couleur
** valeurs: un nom de couleur (valeur par défaut: yellow)
* *irc.color.message_join*
** description: couleur pour le texte dans les messages join
** type: couleur
@@ -23,11 +33,36 @@
** type: couleur
** valeurs: un nom de couleur (valeur par défaut: red)
* *irc.color.nick_prefix_halfop*
** description: couleur pour le préfixe d'un pseudo qui est halfop sur le canal
** type: couleur
** valeurs: un nom de couleur (valeur par défaut: lightmagenta)
* *irc.color.nick_prefix_op*
** description: couleur pour le préfixe d'un pseudo qui est op/admin/owner sur le canal
** type: couleur
** valeurs: un nom de couleur (valeur par défaut: lightgreen)
* *irc.color.nick_prefix_user*
** description: couleur pour le préfixe d'un pseudo qui est user sur le canal
** type: couleur
** valeurs: un nom de couleur (valeur par défaut: blue)
* *irc.color.nick_prefix_voice*
** description: couleur pour le préfixe d'un pseudo qui a le voice sur le canal
** type: couleur
** valeurs: un nom de couleur (valeur par défaut: yellow)
* *irc.color.notice*
** description: couleur pour le texte "Notice" dans les notices
** type: couleur
** valeurs: un nom de couleur (valeur par défaut: green)
* *irc.color.reason_quit*
** description: couleur pour la raison dans les messages part/quit
** type: couleur
** valeurs: un nom de couleur (valeur par défaut: default)
* *irc.look.color_nicks_in_server_messages*
** description: utiliser la couleur du pseudo dans les messages du serveur
** type: booléen
@@ -58,11 +93,36 @@
** type: booléen
** valeurs: on, off (valeur par défaut: on)
* *irc.look.display_host_join*
** description: afficher le nom d'hôte dans les messages join
** type: booléen
** valeurs: on, off (valeur par défaut: on)
* *irc.look.display_host_join_local*
** description: afficher le nom d'hôte dans les messages join du client local
** type: booléen
** valeurs: on, off (valeur par défaut: on)
* *irc.look.display_host_quit*
** description: afficher le nom d'hôte dans les messages part/quit
** type: booléen
** valeurs: on, off (valeur par défaut: on)
* *irc.look.display_old_topic*
** description: afficher l'ancien titre lorsque le titre du canal est changé
** type: booléen
** valeurs: on, off (valeur par défaut: on)
* *irc.look.display_pv_away_once*
** description: afficher le message d'absence distant une seule fois en privé
** type: booléen
** valeurs: on, off (valeur par défaut: on)
* *irc.look.display_pv_back*
** description: afficher un message en privé lorsque l'utilisateur est de retour (après avoir quitté le serveur)
** type: booléen
** valeurs: on, off (valeur par défaut: on)
* *irc.look.hide_nickserv_pwd*
** description: masquer le mot de passe affiché par nickserv
** type: booléen
@@ -103,6 +163,11 @@
** type: entier
** valeurs: current, server (valeur par défaut: current)
* *irc.look.nick_color_stop_chars*
** description: caractères utilisés pour l'arrêt dans le pseudo lors du calcul de la couleur avec les lettres du pseudo (au moins un caractère en dehors de cette liste doit être dans la chaîne avant de s'arrêter) (exemple: le pseudo "|nick|away" avec "|" dans les caractères retournera la couleur du pseudo "|nick")
** type: chaîne
** valeurs: toute chaîne (valeur par défaut: "_|[")
* *irc.look.nick_completion_smart*
** description: complétion intelligente pour les pseudos (complète d'abord avec les personnes qui ont parlé récemment)
** type: entier
@@ -148,11 +213,6 @@
** type: entier
** valeurs: merge_with_core, merge_without_core, independent (valeur par défaut: merge_with_core)
* *irc.look.show_away_once*
** description: voir le message d'absence distant une seule fois en privé
** type: booléen
** valeurs: on, off (valeur par défaut: on)
* *irc.look.smart_filter*
** description: filtrer les messages join/part/quit pour un pseudo s'il n'a pas parlé pendant quelques minutes sur le canal (vous devez créer un filtre sur le tag "irc_smart_filter")
** type: booléen
@@ -188,15 +248,25 @@
** type: entier
** valeurs: 0 .. 60 (valeur par défaut: 2)
* *irc.network.autoreconnect_delay_growing*
** description: facteur de croissance du délai d'autoreconnection au serveur (1 = toujours le même délai, 2 = délai*2 pour chaque tentative, etc...)
** type: entier
** valeurs: 1 .. 100 (valeur par défaut: 2)
* *irc.network.autoreconnect_delay_max*
** description: délai maximum d'autoreconnection au serveur (en secondes, 0 = pas de maximum)
** type: entier
** valeurs: 0 .. 86400 (valeur par défaut: 1800)
* *irc.network.away_check*
** description: intervalle entre deux vérifications des absences (en minutes, 0 = ne jamais vérifier)
** type: entier
** valeurs: 0 .. 2147483647 (valeur par défaut: 0)
** valeurs: 0 .. 10080 (valeur par défaut: 0)
* *irc.network.away_check_max_nicks*
** description: ne pas vérifier les pseudos absents lorsqu'il y a un nombre important de pseudos (0 = pas de limite)
** type: entier
** valeurs: 0 .. 2147483647 (valeur par défaut: 25)
** valeurs: 0 .. 1000000 (valeur par défaut: 25)
* *irc.network.colors_receive*
** description: si désactivé, les codes couleurs des messages entrants sont ignorés
@@ -226,17 +296,22 @@
* *irc.network.lag_check*
** description: intervalle entre deux vérifications du lag (en secondes, 0 = ne jamais vérifier)
** type: entier
** valeurs: 0 .. 2147483647 (valeur par défaut: 60)
** valeurs: 0 .. 604800 (valeur par défaut: 60)
* *irc.network.lag_disconnect*
** description: déconnexion après un lag important (en minutes, 0 = ne jamais se déconnecter)
** type: entier
** valeurs: 0 .. 2147483647 (valeur par défaut: 0)
** valeurs: 0 .. 10080 (valeur par défaut: 0)
* *irc.network.lag_min_show*
** description: lag minimum à afficher (en secondes)
** description: lag minimum à afficher (en millisecondes)
** type: entier
** valeurs: 0 .. 2147483647 (valeur par défaut: 1)
** valeurs: 0 .. 86400000 (valeur par défaut: 500)
* *irc.network.lag_refresh_interval*
** description: intervalle entre deux rafraichissements du lag, lorsque le lag augmente (en secondes)
** type: entier
** valeurs: 1 .. 3600 (valeur par défaut: 1)
* *irc.network.send_unknown_commands*
** description: envoie les commandes inconnues au serveur
@@ -266,7 +341,7 @@
* *irc.server_default.autoreconnect_delay*
** description: délai (en secondes) avant de tenter une reconnexion au serveur
** type: entier
** valeurs: 0 .. 65535 (valeur par défaut: 30)
** valeurs: 1 .. 65535 (valeur par défaut: 10)
* *irc.server_default.autorejoin*
** description: rejoindre automatiquement les canaux après un "kick"
+8 -3
View File
@@ -137,7 +137,9 @@
-all: supprime tous les filtres
extension.tampon: extension et tampon où le filtre est actif ("*" pour tous les tampons)
tags: liste de tags, séparés par des virgules, par exemple: "irc_join,irc_part,irc_quit"
regex: expressoin régulière à rechercher dans la ligne (utiliser \t pour séparer le préfixe du message, les caractères spéciaux comme '|' doivent être échappés: '\|')
regex: expression régulière à rechercher dans la ligne
- utiliser '\t' pour séparer le préfixe du message, les caractères spéciaux comme '|' doivent être échappés: '\|'
- si l'expression régulière commence par '!' alors le résultat est inversé (utiliser '\!' pour démarrer par '!')
La touche par défaut alt+'=' active/désactive le filtrage.
@@ -155,6 +157,8 @@
/filter add nicks * irc_366 *
filtrer le pseudo "toto" sur le canal IRC #weechat:
/filter add toto irc.freenode.#weechat * toto\t
garder uniquement le pseudo "titi" sur le canal IRC #test:
/filter add titi irc.freenode.#test * !titi\t
filtrer les lignes contenant le mot "spam":
/filter add filtrespam * * spam
filtrer les lignes contenant "weechat sucks" sur le canal IRC #weechat:
@@ -179,7 +183,7 @@
valeur: nombre d'entrées dans l'historique à afficher
........................................
&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 | switch_active_buffer | switch_active_buffer_previous | 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]`::
........................................
fonctions pour la ligne de commande
@@ -293,11 +297,12 @@
/proxy del myproxy
........................................
&bull; *`/quit`* `[paramètres]`::
&bull; *`/quit`* `[-yes] [paramètres]`::
........................................
quitter WeeChat
-yes: requis si l'option weechat.look.confirm_quit est activée
paramètres: texte envoyé avec le signal "quit"
(par exemple l'extension irc utilise ce texte pour envoyer le message de quit au serveur)
........................................
+20 -25
View File
@@ -213,31 +213,6 @@
** type: couleur
** valeurs: un nom de couleur (valeur par défaut: blue)
* *weechat.color.nicklist_prefix1*
** description: couleur du texte pour le préfixe n°1 de la liste des pseudos
** type: couleur
** valeurs: un nom de couleur (valeur par défaut: lightgreen)
* *weechat.color.nicklist_prefix2*
** description: couleur du texte pour le préfixe n°2 de la liste des pseudos
** type: couleur
** valeurs: un nom de couleur (valeur par défaut: lightmagenta)
* *weechat.color.nicklist_prefix3*
** description: couleur du texte pour le préfixe n°3 de la liste des pseudos
** type: couleur
** valeurs: un nom de couleur (valeur par défaut: yellow)
* *weechat.color.nicklist_prefix4*
** description: couleur du texte pour le préfixe n°4 de la liste des pseudos
** type: couleur
** valeurs: un nom de couleur (valeur par défaut: blue)
* *weechat.color.nicklist_prefix5*
** description: couleur du texte pour le préfixe n°5 de la liste des pseudos
** type: couleur
** valeurs: un nom de couleur (valeur par défaut: brown)
* *weechat.color.separator*
** description: couleur du fond pour les séparateurs de fenêtres (quand divisé)
** type: couleur
@@ -278,6 +253,11 @@
** type: couleur
** valeurs: un nom de couleur (valeur par défaut: white)
* *weechat.color.status_name_ssl*
** description: couleur du texte pour le nom du tampon courant dans la barre de statut, si les données sont sécurisées avec un protocole tel que SSL
** type: couleur
** valeurs: un nom de couleur (valeur par défaut: lightgreen)
* *weechat.color.status_number*
** description: couleur du texte pour le numéro du tampon courant dans la barre de statut
** type: couleur
@@ -358,6 +338,11 @@
** type: entier
** valeurs: 0 .. 1000 (valeur par défaut: 50)
* *weechat.look.align_end_of_lines*
** description: alignement pour la fin des lignes (toutes les lignes après la première): elles démarrent sous cette donnée (time, buffer, prefix, suffix, message (par défaut))
** type: entier
** valeurs: time, buffer, prefix, suffix, message (valeur par défaut: message)
* *weechat.look.buffer_notify_default*
** description: niveau de notification par défaut pour les tampons (utilisé pour dire à WeeChat si le tampon doit être affiché dans la hotlist ou non, selon l'importance du message)
** type: entier
@@ -383,6 +368,11 @@
** type: chaîne
** valeurs: toute chaîne (valeur par défaut: "")
* *weechat.look.confirm_quit*
** description: si activé, la commande /quit doit être confirmée par le paramètre supplémentaire "-yes" (voir /help quit)
** type: booléen
** valeurs: on, off (valeur par défaut: off)
* *weechat.look.day_change*
** description: affiche un message quand le jour change
** type: booléen
@@ -433,6 +423,11 @@
** type: entier
** valeurs: group_time_asc, group_time_desc, group_number_asc, group_number_desc, number_asc, number_desc (valeur par défaut: group_time_asc)
* *weechat.look.input_undo_max*
** description: nombre maximum de "undo" pour la ligne de commande, par tampon (0 = undo désactivé)
** type: entier
** valeurs: 0 .. 65535 (valeur par défaut: 32)
* *weechat.look.item_time_format*
** description: format de date/heure pour l'objet de barre "time"
** type: chaîne
+1 -1
View File
@@ -1,6 +1,6 @@
WeeChat FAQ (Questions Fréquemment Posées)
==========================================
FlashCode <flashcode@flashtux.org>
Sébastien Helleu <flashcode@flashtux.org>
Général
+595 -14
View File
@@ -1,6 +1,6 @@
Référence API Extension WeeChat
===============================
FlashCode <flashcode@flashtux.org>
Sébastien Helleu <flashcode@flashtux.org>
Ce manuel documente le client de messagerie instantanée WeeChat, il fait
@@ -156,7 +156,7 @@ fois les paramètres sur le tampon courant, ou exécute deux fois une commande
WEECHAT_PLUGIN_NAME("double");
WEECHAT_PLUGIN_DESCRIPTION("Extension de test pour WeeChat");
WEECHAT_PLUGIN_AUTHOR("FlashCode <flashcode@flashtux.org>");
WEECHAT_PLUGIN_AUTHOR("Sebastien Helleu <flashcode@flashtux.org>");
WEECHAT_PLUGIN_VERSION("0.1");
WEECHAT_PLUGIN_LICENSE("GPL3");
@@ -591,6 +591,39 @@ Exemple en C :
int diff = weechat_strcasecmp ("aaa", "CCC"); /* == -2 */
----------------------------------------
weechat_strncasecmp
^^^^^^^^^^^^^^^^^^^
Comparaison de chaînes indépendante de la locale et de la casse, pour 'max'
caractères.
Prototype :
[source,C]
----------------------------------------
int weechat_strncasecmp (const char *string1, const char *string2, int max);
----------------------------------------
Paramètres :
* 'string1' : première chaîne à comparer
* 'string2' : seconde chaîne à comparer
* 'max' : nombre maximum de caractères à comparer
Valeur de retour :
* différence entre les deux chaînes :
** négative si string1 < string2
** zéro si string1 == string2
** positive si string1 > string2
Exemple en C :
[source,C]
----------------------------------------
int diff = weechat_strncasecmp ("aabb", "aacc", 2); /* == 0 */
----------------------------------------
weechat_strcmp_ignore_chars
^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -735,6 +768,40 @@ char *str = weechat_string_replace ("test, test", "s", "x"); /* résultat : "tex
free (str);
----------------------------------------
weechat_string_expand_home
^^^^^^^^^^^^^^^^^^^^^^^^^^
_Nouveau dans la version 0.3.3._
Remplace le `~` en début de chaîne par le répertoire "home". Si la chaîne ne
débute pas par `~`, alors une chaîne identique est retournée.
Prototype :
[source,C]
----------------------------------------
char *weechat_string_expand_home (const char *path);
----------------------------------------
Paramètres :
* 'path': chemin
Valeur de retour :
* chemin avec le `~` en début remplacé par le répertoire "home" (doit être
libéré par un appel à "free" après utilisation)
Exemple en C :
[source,C]
----------------------------------------
char *str = weechat_string_expand_home ("~/fichier.txt");
/* résultat: "/home/xxx/fichier.txt" */
/* ... */
free (str);
----------------------------------------
weechat_string_remove_quotes
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -1164,6 +1231,8 @@ str = weechat.string_remove_color(ma_chaine, "?")
weechat_string_encode_base64
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_Nouveau dans la version 0.3.2._
Encode une chaîne en base64.
Prototype :
@@ -1192,6 +1261,8 @@ weechat_string_encode_base64 (string, strlen (string), result);
weechat_string_decode_base64
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_Nouveau dans la version 0.3.2._
Décode une chaîne base64.
Prototype :
@@ -1224,6 +1295,8 @@ length = weechat_string_decode_base64 (string, result);
weechat_string_is_command_char
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_Nouveau dans la version 0.3.2._
Vérifie si le premier caractère de la chaîne est un caractère de commande (le
caractère par défaut de commande est '/').
@@ -1265,6 +1338,8 @@ command_char2 = weechat.string_is_command_char("test") # == 0
weechat_string_input_for_buffer
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_Nouveau dans la version 0.3.2._
Retourne un pointeur vers le texte envoyé vers le tampon (pointeur à
l'intérieur du paramètre "string"), ou NULL si c'est une commande.
@@ -1462,6 +1537,33 @@ Exemple en C :
char *next_char = weechat_utf8_next_char (string);
----------------------------------------
weechat_utf8_char_int
^^^^^^^^^^^^^^^^^^^^^
Retourne un caractère UTF-8 sous forme d'entier.
Prototype :
[source,C]
----------------------------------------
int weechat_utf8_char_int (const char *string);
----------------------------------------
Paramètres :
* 'string' : chaîne
Valeur de retour :
* caractère UTF-8 sous forme d'entier
Exemple en C :
[source,C]
----------------------------------------
int char_int = weechat_utf8_char_int ("être"); /* "ê" comme entier */
----------------------------------------
weechat_utf8_char_size
^^^^^^^^^^^^^^^^^^^^^^
@@ -1573,6 +1675,37 @@ Exemple en C :
int length_on_screen = weechat_utf8_strlen_screen ("é"); /* == 1 */
----------------------------------------
weechat_utf8_charcmp
^^^^^^^^^^^^^^^^^^^^
Compare deux caractères UTF-8.
Prototype :
[source,C]
----------------------------------------
int weechat_utf8_charcmp (const char *string1, const char *string2);
----------------------------------------
Paramètres :
* 'string1' : première chaîne pour la comparaison
* 'string2' : seconde chaîne pour la comparaison
Valeur de retour :
* différence entre le premier caractère de chaque chaîne :
** négative si char1 < char2
** zéro si char1 == char2
** positive si char1 > char2
Exemple en C :
[source,C]
----------------------------------------
int diff = weechat_utf8_charcmp ("aaa", "ccc"); /* == -2 */
----------------------------------------
weechat_utf8_charcasecmp
^^^^^^^^^^^^^^^^^^^^^^^^
@@ -1918,14 +2051,48 @@ void callback (void *data, const char *filename)
weechat_exec_on_files ("/tmp", 0, NULL, &callback);
----------------------------------------
weechat_file_get_content
^^^^^^^^^^^^^^^^^^^^^^^^
_Nouveau dans la version 0.3.1._
Lit le contenu d'un fichier texte dans une chaîne de caractères.
Prototype :
[source,C]
----------------------------------------
char *weechat_file_get_content (const char *filename);
----------------------------------------
Paramètres :
* 'filename': chemin et nom du fichier
Valeur de retour :
* contenu du fichier sous forme de chaîne (doit être libérée par un appel à
"free" après utilisation)
Exemple en C :
[source,C]
----------------------------------------
char *contenu;
contenu = weechat_file_get_content ("/tmp/test.txt");
/* ... */
free (contenu);
----------------------------------------
[[util]]
Util
~~~~
Quelques fonctions utiles.
weechat_timeval_cmp
^^^^^^^^^^^^^^^^^^^
weechat_util_timeval_cmp
^^^^^^^^^^^^^^^^^^^^^^^^
Compare deux structures "timeval".
@@ -1933,7 +2100,7 @@ Prototype :
[source,C]
----------------------------------------
int weechat_timeval_cmp (struct timeval *tv1, struct timeval *tv2);
int weechat_util_timeval_cmp (struct timeval *tv1, struct timeval *tv2);
----------------------------------------
Paramètres :
@@ -1951,14 +2118,14 @@ Exemple en C :
[source,C]
----------------------------------------
if (weechat_timeval_cmp (&tv1, &tv2) > 0)
if (weechat_util_timeval_cmp (&tv1, &tv2) > 0)
{
/* tv1 > tv2 */
}
----------------------------------------
weechat_timeval_diff
^^^^^^^^^^^^^^^^^^^^
weechat_util_timeval_diff
^^^^^^^^^^^^^^^^^^^^^^^^^
Retourne la différence (en millisecondes) entre deux structures "timeval".
@@ -1966,7 +2133,7 @@ Prototype :
[source,C]
----------------------------------------
long weechat_timeval_diff (struct timeval *tv1, struct timeval *tv2);
long weechat_util_timeval_diff (struct timeval *tv1, struct timeval *tv2);
----------------------------------------
Paramètres :
@@ -1982,11 +2149,11 @@ Exemple en C :
[source,C]
----------------------------------------
long diff = weechat_timeval_diff (&tv1, &tv2);
long diff = weechat_util_timeval_diff (&tv1, &tv2);
----------------------------------------
weechat_timeval_add
^^^^^^^^^^^^^^^^^^^
weechat_util_timeval_add
^^^^^^^^^^^^^^^^^^^^^^^^
Ajoute un intervalle (en millisecondes) à une structure "timeval".
@@ -1994,7 +2161,7 @@ Prototype :
[source,C]
----------------------------------------
void weechat_timeval_add (struct timeval *tv, long interval);
void weechat_util_timeval_add (struct timeval *tv, long interval);
----------------------------------------
Paramètres :
@@ -2006,12 +2173,14 @@ Exemple en C :
[source,C]
----------------------------------------
weechat_timeval_add (&tv, 2000); /* ajoute 2 secondes */
weechat_util_timeval_add (&tv, 2000); /* ajoute 2 secondes */
----------------------------------------
weechat_util_get_time_string
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_Nouveau dans la version 0.3.2._
Retourne la date/heure sous forme de chaîne construite avec "strftime".
Prototype :
@@ -2535,6 +2704,369 @@ weechat.list_free(list)
weechat.list_free(list)
----------------------------------------
[[hashtables]]
Hashtables
~~~~~~~~~~
Fonctions pour les hashtables.
weechat_hashtable_new
^^^^^^^^^^^^^^^^^^^^^
_Nouveau dans la version 0.3.3._
Crée une nouvelle hashtable.
Prototype :
[source,C]
----------------------------------------
struct t_hashtable *weechat_hashtable_new (int size,
const char *type_keys,
const char *type_values,
unsigned int (*callback_hash_key)(struct t_hashtable *hashtable,
const void *key),
int (*callback_keycmp)(struct t_hashtable *hashtable,
const void *key1,
const void *key2));
----------------------------------------
Paramètres :
* 'size' : taille du tableau interne pour stocker les clés sous forme de "hash",
une grande valeur utilise plus de mémoire mais présente une meilleure
performance (cela n'est *pas* une limite sur le nombre d'entrées de la
hashtable)
* 'type_keys' : type pour les clés dans la hashtable :
** 'WEECHAT_HASHTABLE_INTEGER'
** 'WEECHAT_HASHTABLE_STRING'
** 'WEECHAT_HASHTABLE_POINTER'
** 'WEECHAT_HASHTABLE_BUFFER'
** 'WEECHAT_HASHTABLE_TIME'
* 'type_values' : type pour les valeurs dans la hashtable :
** 'WEECHAT_HASHTABLE_INTEGER'
** 'WEECHAT_HASHTABLE_STRING'
** 'WEECHAT_HASHTABLE_POINTER'
** 'WEECHAT_HASHTABLE_BUFFER'
** 'WEECHAT_HASHTABLE_TIME'
* 'callback_hash_key' : fonction appelée pour rendre le "hash" d'une clé (la clé
sous forme de nombre entier), peut être NULL si le type de clé est "string"
(une fonction par défaut est utilisée pour les chaînes, et seulement pour les
chaînes)
* 'callback_keycmp' : fonction appelée pour comparer deux clés, peut être NULL
si le type de valeur est "string" (une fonction par défaut est utilisée pour
les chaînes, et seulement pour les chaînes)
Valeur de retour :
* pointeur vers la nouvelle hashtable, NULL en cas d'erreur
Exemple en C :
[source,C]
----------------------------------------
struct t_hashtable *hashtable = weechat_hashtable_new (8,
WEECHAT_HASHTABLE_STRING,
WEECHAT_HASHTABLE_STRING,
NULL,
NULL);
----------------------------------------
weechat_hashtable_set_with_size
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_Nouveau dans la version 0.3.3._
Ajoute ou met à jour une entrée dans une hashtable avec une taille pour la clé
et la valeur.
Prototype :
[source,C]
----------------------------------------
int weechat_hashtable_set_with_size (struct t_hashtable *hashtable,
void *key, int key_size,
void *value, int value_size);
----------------------------------------
Paramètres :
* 'hashtable' : pointeur vers la hashtable
* 'key' : pointeur vers la clé
* 'key_size' : taille de la clé (en octets), utilisée seulement si le type de
clés dans la hashtable est "buffer"
* 'value' : pointeur vers la valeur
* 'value_size' : taille de la valeur (en octets), utilisée seulement si le type
de valeurs dans la hashtable est "buffer"
Valeur de retour :
* 1 si ok, 0 en cas d'erreur
Exemple en C :
[source,C]
----------------------------------------
weechat_hashtable_set_with_size (hashtable, "ma_cle", 0,
my_buffer, sizeof (my_buffer_struct));
----------------------------------------
weechat_hashtable_set
^^^^^^^^^^^^^^^^^^^^^
_Nouveau dans la version 0.3.3._
Ajoute ou met à jour une entrée dans la hashtable.
Prototype :
[source,C]
----------------------------------------
int weechat_hashtable_set (struct t_hashtable *hashtable,
void *key, void *value);
----------------------------------------
Paramètres :
* 'hashtable' : pointeur vers la hashtable
* 'key' : pointeur vers la clé
* 'value' : pointeur vers la valeur
Valeur de retour :
* 1 si ok, 0 en cas d'erreur
Exemple en C :
[source,C]
----------------------------------------
weechat_hashtable_set (hashtable, "ma_cle", "ma_valeur");
----------------------------------------
weechat_hashtable_get
^^^^^^^^^^^^^^^^^^^^^
_Nouveau dans la version 0.3.3._
Retourne la valeur associée à une clé dans une hashtable.
Prototype :
[source,C]
----------------------------------------
void *weechat_hashtable_get (struct t_hashtable *hashtable, void *key);
----------------------------------------
Paramètres :
* 'hashtable' : pointeur vers la hashtable
* 'key' : pointeur vers la clé
Valeur en retour :
* valeur pour la clé, NULL si la clé n'est pas trouvée
Exemple en C :
[source,C]
----------------------------------------
void *value = weechat_hashtable_get (hashtable, "ma_cle");
----------------------------------------
weechat_hashtable_map
^^^^^^^^^^^^^^^^^^^^^
_Nouveau dans la version 0.3.3._
Appelle une fonction pour chaque entrée d'une hashtable.
Prototype :
[source,C]
----------------------------------------
void hashtable_map (struct t_hashlist *hashlist,
int (*callback_map)(void *data,
struct t_hashtable *hashtable,
const void *key,
const void *value),
void *callback_map_data);
----------------------------------------
Paramètres :
* 'hashtable' : pointeur vers la hashtable
* 'callback_map' : fonction appelée pour chaque entrée de la hashtable
* 'callback_map_data' : pointeur donné au "callback" lorsqu'il est appelé
Exemple en C :
[source,C]
----------------------------------------
void
map_cb (void *data, struct t_hashtable *hashtable,
const void *key, const void *value)
{
/* afficher la clé et la valeur (elles sont des chaînes ici) */
weechat_printf (NULL, "clé: '%s', valeur: '%s'",
(const char *)key,
(const char *)value);
}
/* ... */
weechat_hashtable_map (hashtable, &map_cb, NULL);
----------------------------------------
weechat_hashtable_get_integer
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_Nouveau dans la version 0.3.3._
Retourne une valeur entière pour une propriété d'une hashtable.
Prototype :
[source,C]
----------------------------------------
int weechat_hashtable_get_integer (struct t_hashtable *hashtable,
void *property);
----------------------------------------
Paramètres :
* 'hashtable' : pointeur vers la hashtable
* 'property' : nom de propriété :
** 'size' : taille du tableau interne "htable" dans la hashtable
** 'items_count' : nombre d'éléments dans la hashtable
Valeur en retour :
* valeur entière de l'option
Exemple en C :
[source,C]
----------------------------------------
int items_count = weechat_hashtable_get_integer (hashtable, "items_count");
----------------------------------------
weechat_hashtable_add_to_infolist
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_Nouveau dans la version 0.3.3._
Ajoute les éléments d'une hashtable dans un objet infolist.
Prototype :
[source,C]
----------------------------------------
int weechat_hashtable_add_to_infolist (struct t_hashtable *hashtable,
struct t_infolist_item *infolist_item,
const char *prefix);
----------------------------------------
Paramètres :
* 'hashtable' : pointeur vers la hashtable
* 'infolist_item' : pointeur vers l'objet de l'infolist
* 'prefix' : chaîne utilisée comme préfixe pour les noms dans l'infolist
Valeur en retour :
* 1 si ok, 0 en cas d'erreur
Exemple en C :
[source,C]
----------------------------------------
weechat_hashtable_add_to_infolist (hashtable, infolist_item, "testhash");
/* si la hashtable contient :
"cle1" => "valeur 1"
"cle2" => "valeur 2"
alors les variables suivantes seront ajoutées dans l'objet de l'infolist :
"testhash_name_00001" = "cle1"
"testhash_value_00001" = "valeur 1"
"testhash_name_00002" = "cle2"
"testhash_value_00002" = "valeur 2"
*/
----------------------------------------
weechat_hashtable_remove
^^^^^^^^^^^^^^^^^^^^^^^^
_Nouveau dans la version 0.3.3._
Supprime un élément d'une hashtable.
Prototype :
[source,C]
----------------------------------------
void weechat_hashtable_remove (struct t_hashtable *hashtable, const void *key);
----------------------------------------
Paramètres :
* 'hashtable' : pointeur vers la hashtable
* 'key' : pointeur vers la clé
Exemple en C :
[source,C]
----------------------------------------
weechat_hashtable_remove (hashtable, "ma_cle");
----------------------------------------
weechat_hashtable_remove_all
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_Nouveau dans la version 0.3.3._
Supprime tous les éléments d'une hashtable.
Prototype :
[source,C]
----------------------------------------
void weechat_hashtable_remove_all (struct t_hashtable *hashtable);
----------------------------------------
Paramètres :
* 'hashtable' : pointeur vers la hashtable
Exemple en C :
[source,C]
----------------------------------------
weechat_hashtable_remove_all (hashtable);
----------------------------------------
weechat_hashtable_free
^^^^^^^^^^^^^^^^^^^^^^
_Nouveau dans la version 0.3.3._
Supprime une hashtable.
Prototype :
[source,C]
----------------------------------------
void weechat_hashtable_free (struct t_hashtable *hashtable);
----------------------------------------
Paramètres :
* 'hashtable' : pointeur vers la hashtable
Exemple en C :
[source,C]
----------------------------------------
weechat_hashtable_free (hashtable);
----------------------------------------
[[configuration_files]]
Fichiers de configuration
~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -3127,6 +3659,55 @@ option = weechat.config_search_option(config_file, section, option_name)
option = weechat.config_search_option(config_file, section, "option")
----------------------------------------
weechat_config_search_section_option
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Recherche une section et une option dans un fichier de configuration ou une
section.
Prototype :
[source,C]
----------------------------------------
void weechat_config_search_section_option (struct t_config_file *config_file,
struct t_config_section *section,
const char *option_name,
struct t_config_section **section_found,
struct t_config_option **option_found);
----------------------------------------
Paramètres :
* 'config_file' : pointeur vers le fichier de configuration
* 'section' : pointeur vers la section
* 'option_name' : nom de l'option
* 'section' : pointeur vers un pointeur sur une section, sera alimenté avec le
pointeur vers la section de l'option trouvée
* 'option' : pointeur vers un pointeur sur une option, sera alimenté avec le
pointeur vers l'option trouvée
Exemple en C :
[source,C]
----------------------------------------
struct t_config_section *ptr_section;
struct t_config_option *ptr_option;
weechat_config_search_section_option (config_file,
section,
"option",
&ptr_section,
&ptr_option);
if (ptr_option)
{
/* option trouvée */
}
else
{
/* option non trouvée */
}
----------------------------------------
weechat_config_search_with_string
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+2 -2
View File
@@ -1,6 +1,6 @@
Guide de Démarrage Rapide WeeChat
=================================
FlashCode <flashcode@flashtux.org>
Sébastien Helleu <flashcode@flashtux.org>
[[start]]
@@ -75,7 +75,7 @@ Créer un serveur IRC
Vous pouvez ajouter un serveur IRC par la commande `/server`, par exemple :
/server add oftc irc.oftc.org/6667
/server add oftc irc.oftc.net/6667
Comme d'habitude, de l'aide est disponible si vous êtes perdus :
`/help server`
+5 -1
View File
@@ -1,6 +1,6 @@
WeeChat Guide pour Scripts
==========================
FlashCode <flashcode@flashtux.org>
Sébastien Helleu <flashcode@flashtux.org>
Ce manuel documente le client de messagerie instantanée WeeChat, il fait
@@ -373,6 +373,10 @@ Exemples :
# afficher "bonjour" sur le tampon core
weechat.prnt("", "bonjour")
# afficher "bonjour" sur le tampon core, mais ne pas l'écrire dans le fichier de log
# (version >= 0.3.3 seulement)
weechat.prnt_date_tags("", 0, "no_log", "bonjour")
# afficher le préfixe "==>" et le message "bonjour" sur le tampon courant
# (le préfixe et le message doivent être séparés par une tabulation)
weechat.prnt(weechat.current_buffer(), "==>\tbonjour")
+1 -1
View File
@@ -1,6 +1,6 @@
Guide du testeur WeeChat
========================
FlashCode <flashcode@flashtux.org>
Sébastien Helleu <flashcode@flashtux.org>
[[purpose]]
+37 -23
View File
@@ -1,6 +1,6 @@
Guide Utilisateur WeeChat
=========================
FlashCode <flashcode@flashtux.org>
Sébastien Helleu <flashcode@flashtux.org>
Ce manuel documente le client de messagerie instantanée WeeChat, il fait
@@ -239,29 +239,35 @@ Par exemple si 'weechat-curses' est installé dans '/usr/bin/' et que le fichier
gdb /usr/bin/weechat-curses /home/xxx/core
----------------------------------------
Puis sous gdb, utilisez la commande `bt` pour afficher la trace.
[NOTE]
Si vous avez installé le paquet binaire 'weechat-dbg' (par exemple sous Debian),
alors vous pouvez utiliser ce chemin pour l'exécutable WeeChat :
'/usr/lib/debug/usr/bin/weechat-curses'
Puis sous gdb, utilisez la commande `bt full` pour afficher la trace.
Vous verrez quelque chose comme ceci :
----------------------------------------
(gdb) bt
#0 0xffffe424 in __kernel_vsyscall ()
#1 0xb76208e0 in raise () from /lib/i686/cmov/libc.so.6
#2 0xb7623e15 in abort () from /lib/i686/cmov/libc.so.6
#3 0x08083940 in weechat_shutdown (return_code=1, crash=1) at /some_path/src/core/weechat.c:357
#4 0x08098aaa in debug_sigsegv () at /some_path/src/core/wee-debug.c:155
#5 <signal handler called>
#6 0xb7656681 in vsnprintf () from /lib/i686/cmov/libc.so.6
#7 0xb763dd22 in snprintf () from /lib/i686/cmov/libc.so.6
#8 0xb7258674 in irc_protocol_cmd_join (server=0x8165138, command=0xb727c187 "join", argc=3, argv=0x889e840, argv_eol=0x889e858)
at /some_path/src/plugins/irc/irc-protocol.c:520
#9 0xb7265c6e in irc_protocol_recv_command (server=0x8165138, entire_line=0x889e7e0 ":nick!nick@127.0.0.1 JOIN :#test",
command=0x889d080 "JOIN") at /some_path/src/plugins/irc/irc-protocol.c:4077
#10 0xb726a2c6 in irc_server_msgq_flush () at /some_path/src/plugins/irc/irc-server.c:1614
#11 0xb726a4da in irc_server_recv_cb (data=0x8165138, fd=8) at /some_path/src/plugins/irc/irc-server.c:1691
#12 0x0809a797 in hook_fd_exec (read_fds=0xbfcf8074, write_fds=0xbfcf7ff4, exception_fds=0xbfcf7f74)
at /some_path/src/core/wee-hook.c:1133
#13 0x08060af0 in gui_main_loop () at /some_path/src/gui/curses/gui-curses-main.c:330
#14 0x08083b10 in main (argc=3, argv=0xbfcf81d4) at /some_path/src/core/weechat.c:419
(gdb) bt full
#0 0x00007f9dfb04a465 in raise () from /lib/libc.so.6
#1 0x00007f9dfb04b8e6 in abort () from /lib/libc.so.6
#2 0x0000000000437f66 in weechat_shutdown (return_code=1, crash=1) at /some_path/src/core/weechat.c:351
#3 <signal handler called>
#4 0x000000000044cb24 in hook_process_timer_cb (arg_hook_process=0x254eb90, remaining_calls=<value optimized out>)
at /some_path/src/core/wee-hook.c:1364
hook_process = 0x254eb90
status = <value optimized out>
#5 0x000000000044cc7d in hook_timer_exec () at /some_path/src/core/wee-hook.c:1025
tv_time = {tv_sec = 1272693881, tv_usec = 212665}
ptr_hook = 0x2811f40
next_hook = 0x0
#6 0x000000000041b5b0 in gui_main_loop () at /some_path/src/gui/curses/gui-curses-main.c:319
hook_fd_keyboard = 0x173b600
tv_timeout = {tv_sec = 0, tv_usec = 0}
read_fds = {fds_bits = {0 <repeats 16 times>}}
write_fds = {fds_bits = {0 <repeats 16 times>}}
except_fds = {fds_bits = {0 <repeats 16 times>}}
max_fd = <value optimized out>
----------------------------------------
Vous devez envoyer cette trace aux développeurs, et leur indiquer quelle action
@@ -541,6 +547,14 @@ Touches pour la ligne de commande
Coller le contenu du presse-papiers +
`/input clipboard_paste`
| Ctrl + _ |
Défaire la dernière action sur la ligne de commande +
`/input undo`
| Alt + _ |
Refaire la dernière action sur la ligne de commande +
`/input redo`
| Tab |
Compléter la commande ou le pseudo (Tab de nouveau : trouver la complétion
suivante) +
@@ -1655,14 +1669,14 @@ Auteurs
Développeurs
~~~~~~~~~~~~
FlashCode (Sébastien Helleu)::
Sébastien Helleu (FlashCode)::
développeur principal
[[contributors]]
Contributeurs
~~~~~~~~~~~~~
Kolter (Emmanuel Bouthenot)::
Emmanuel Bouthenot (kolter)::
empaqueteur debian
Ptitlouis::
+18 -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-2010 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
@@ -38,6 +41,17 @@ ADD_CUSTOM_COMMAND(
ADD_CUSTOM_TARGET(doc-plugin-api-it ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_plugin_api.it.html)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_plugin_api.it.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
# scripting guide
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.it.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a toclevels=3 -a toc-title='Indice' -a date=`date "+%F"` -a revision="${VERSION}" -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.it.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_scripting.it.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_scripting.it.txt
COMMENT "Building weechat_scripting.it.html"
)
ADD_CUSTOM_TARGET(doc-scripting-it ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.it.html)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.it.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
# FAQ
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.it.html
+13 -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-2010 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/>.
#
docdir = $(datadir)/doc/$(PACKAGE)
@@ -19,6 +22,7 @@ docdir = $(datadir)/doc/$(PACKAGE)
EXTRA_DIST = CMakeLists.txt \
weechat_user.it.txt \
weechat_plugin_api.it.txt \
weechat_scripting.it.txt \
weechat_faq.it.txt \
weechat_quickstart.it.txt \
weechat_tester.it.txt \
@@ -27,6 +31,7 @@ EXTRA_DIST = CMakeLists.txt \
all-local: weechat_user.it.html \
weechat_plugin_api.it.html \
weechat_scripting.it.html \
weechat_faq.it.html \
weechat_quickstart.it.html \
weechat_tester.it.html
@@ -39,6 +44,10 @@ weechat_user.it.html: weechat_user.it.txt $(wildcard autogen/user/*.txt)
weechat_plugin_api.it.html: weechat_plugin_api.it.txt $(wildcard autogen/plugin_api/*.txt)
$(ASCIIDOC) -a toc -a toclevels=3 -a toc-title='Indice' -a date=`date "+%F"` -a revision="$(VERSION)" -n -o weechat_plugin_api.it.html weechat_plugin_api.it.txt
# scripting guide
weechat_scripting.it.html: weechat_scripting.it.txt
$(ASCIIDOC) -a toc -a toclevels=3 -a toc-title='Indice' -a date=`date "+%F"` -a revision="$(VERSION)" -n -o weechat_scripting.it.html weechat_scripting.it.txt
# FAQ
weechat_faq.it.html: weechat_faq.it.txt
$(ASCIIDOC) -a toc -a toc-title='Indice' -a date=`date "+%F"` -a revision="$(VERSION)" -n -o weechat_faq.it.html weechat_faq.it.txt
+1 -1
View File
@@ -10,7 +10,7 @@
| irc | irc_nick | elenco dei nick per un canale IRC | puntatore al nick (opzionale) | server,canale,nick (canale e nick sono opzionali)
| irc | irc_server | elenco di server IRC | puntatore al server (opzionale) | nome server (può iniziare o terminare con "*" come carattere jolly)
| irc | irc_server | elenco di server IRC | puntatore al server (opzionale) | nome server (può iniziare o terminare con "*" come carattere jolly) (opzionale)
| logger | logger_buffer | elenco dei buffer logger | puntatore al logger (opzionale) | -
+7 -1
View File
@@ -12,10 +12,16 @@
| irc | irc_nick | ottiene nick corrente su un server | nome server
| irc | irc_nick_color | riceve colore del nick | nick
| irc | irc_nick_color | ottiene il codice del colore del nick | nick
| irc | irc_nick_color_name | ottiene il nome del colore del nick | nick
| irc | irc_nick_from_host | ottiene nick dall'host IRC | host IRC (come `:nick!nome@server.com`)
| irc | irc_server_isupport | 1 se il server supporta questa caratteristica (dal messaggio IRC 005) | server,caratteristica
| irc | irc_server_isupport_value | valore della caratteristica, se supportata dal servre (dal messaggio IRC 005) | server,caratteristica
| weechat | charset_internal | set caratteri interno di WeeChat | -
| weechat | charset_terminal | set caratteri terminale | -
+17 -4
View File
@@ -194,13 +194,17 @@
nick: nick
........................................
&bull; *`/join`* `[canale[,canale ] [chiave[,chiave]]]`::
&bull; *`/join`* `[canale1[,canale2[,canale3]] [chiave1[,chiave2]]]`::
........................................
entra in un canale
canale: nome del canale in cui entrare
chiave: chiave per entrare nel canale
chiave: chiave per entrare nel canale (i canali con una chiave devono essere primi nella lista)
Esempi:
/join #weechat
/join #canaleprotetto,#weechat chiave
........................................
&bull; *`/kick`* `[canale] nick [commento]`::
@@ -423,7 +427,7 @@
&bull; *`/reconnect`* `[-all [-nojoin] | nome_server [nome_server ...] [-nojoin]]`::
........................................
riconnetti a uno (o più) server
riconnette a uno (o più) server
-all: riconnetti a tutti i server
nome_server: nome del server a cui riconnettersi
@@ -508,7 +512,7 @@
del: elimina un server
deloutq: elimina i messaggi fuori coda per tutti i server (tutti i messaggi che WeeChat sta inviando)
jump: passa al buffer del server
raw: apri buffer con dati grezzi IRC
raw: apri buffer con dati grezzi IRC
Esempi:
/server listfull
@@ -642,6 +646,15 @@
concede il voice ad uno (o più) utenti
........................................
&bull; *`/wallchops`* `[canale] testo`::
........................................
invia una notifica agli operatori del canale
canale: nome del canale
testo: testo da inviare
........................................
&bull; *`/wallops`* `testo`::
........................................
+87 -12
View File
@@ -13,6 +13,16 @@
** tipo: colore
** valori: un nome colore (valore predefinito: default)
* *irc.color.item_lag_counting*
** descrizione: colore per l'indicatore del lag, durante il conteggio (pong non ricevuto dal server, lag in aumento)
** tipo: colore
** valori: un nome colore (valore predefinito: default)
* *irc.color.item_lag_finished*
** descrizione: colore per l'indicatore di ritardo, quando il pong viene ricevuto dal server
** tipo: colore
** valori: un nome colore (valore predefinito: yellow)
* *irc.color.message_join*
** descrizione: colore per il testo nei messaggi di entrata
** tipo: colore
@@ -23,11 +33,36 @@
** tipo: colore
** valori: un nome colore (valore predefinito: red)
* *irc.color.nick_prefix_halfop*
** descrizione: colore per il prefisso del nick che è halfop sul canale
** tipo: colore
** valori: un nome colore (valore predefinito: lightmagenta)
* *irc.color.nick_prefix_op*
** descrizione: colore per il prefisso del nick che è operatore/amministratore/proprietario del canale
** tipo: colore
** valori: un nome colore (valore predefinito: lightgreen)
* *irc.color.nick_prefix_user*
** descrizione: colore per il prefisso del nick che è utente sul canale
** tipo: colore
** valori: un nome colore (valore predefinito: blue)
* *irc.color.nick_prefix_voice*
** descrizione: colore per il prefisso del nick che ha il voice sul canale
** tipo: colore
** valori: un nome colore (valore predefinito: yellow)
* *irc.color.notice*
** descrizione: colore per il testo "Notifica" nelle notifiche
** tipo: colore
** valori: un nome colore (valore predefinito: green)
* *irc.color.reason_quit*
** descrizione: colore per il motivo nei messaggi di uscita/abbandono
** tipo: colore
** valori: un nome colore (valore predefinito: default)
* *irc.look.color_nicks_in_server_messages*
** descrizione: utilizza i colori dei nick nei messaggi dal server
** tipo: bool
@@ -58,11 +93,36 @@
** tipo: bool
** valori: on, off (valore predefinito: on)
* *irc.look.display_host_join*
** descrizione: visualizza l'host nei messaggi di entrata
** tipo: bool
** valori: on, off (valore predefinito: on)
* *irc.look.display_host_join_local*
** descrizione: visualizza l'host nei messaggi di entrata dal client locale
** tipo: bool
** valori: on, off (valore predefinito: on)
* *irc.look.display_host_quit*
** descrizione: visualizza host nei messaggi di uscita/abbandono
** tipo: bool
** valori: on, off (valore predefinito: on)
* *irc.look.display_old_topic*
** descrizione: visualizza l'argomento del canale precedente quando viene cambiato
** tipo: bool
** valori: on, off (valore predefinito: on)
* *irc.look.display_pv_away_once*
** descrizione: mostra il messaggio di assenza remota una sola volta in privato
** tipo: bool
** valori: on, off (valore predefinito: on)
* *irc.look.display_pv_back*
** descrizione: visualizza un messaggio in privato quando l'utente è tornato (dopo l'uscita dal server)
** tipo: bool
** valori: on, off (valore predefinito: on)
* *irc.look.hide_nickserv_pwd*
** descrizione: nascondi password visualizzata da nickserv
** tipo: bool
@@ -103,6 +163,11 @@
** tipo: intero
** valori: current, server (valore predefinito: current)
* *irc.look.nick_color_stop_chars*
** descrizione: caratteri usati per fermare il calcolo del colore con le lettere del nick (almeno un carattere al di fuori di questa lista deve essere nella lista prima di fermarlo) (esempio: nick "|nick|away" con "|" nei caratteri restituisce il colore del nick "|nick")
** tipo: stringa
** valori: qualsiasi stringa (valore predefinito: "_|[")
* *irc.look.nick_completion_smart*
** descrizione: completamento intelligente per i nick (usando prima chi ha parlato per ultimo)
** tipo: intero
@@ -148,11 +213,6 @@
** tipo: intero
** valori: merge_with_core, merge_without_core, independent (valore predefinito: merge_with_core)
* *irc.look.show_away_once*
** descrizione: mostra il messaggio di assenza remoto solo una volta in privato
** tipo: bool
** valori: on, off (valore predefinito: on)
* *irc.look.smart_filter*
** descrizione: filtra i messaggi di entrata/uscita/abbandono per un nick se inattivo per alcuni minuti sul canale (è necessario creare un filtro sul tag "irc_smart_filter")
** tipo: bool
@@ -188,15 +248,25 @@
** tipo: intero
** valori: 0 .. 60 (valore predefinito: 2)
* *irc.network.autoreconnect_delay_growing*
** descrizione: fattore di crescita per il ritardo della riconnessione automatica al server (1 = sempre identico, 2 = ritardo*2 per ogni tentativo, ...)
** tipo: intero
** valori: 1 .. 100 (valore predefinito: 2)
* *irc.network.autoreconnect_delay_max*
** descrizione: ritardo massimo per la riconnessione automatica al server (in secondi, 0 = nessun massimo)
** tipo: intero
** valori: 0 .. 86400 (valore predefinito: 1800)
* *irc.network.away_check*
** descrizione: intervallo tra le due verifiche per l'assenza (in minuti, 0 = nessun check)
** tipo: intero
** valori: 0 .. 2147483647 (valore predefinito: 0)
** valori: 0 .. 10080 (valore predefinito: 0)
* *irc.network.away_check_max_nicks*
** descrizione: non verificare l'assenza su canali con un elevato numero di nick (0 = illimitato)
** tipo: intero
** valori: 0 .. 2147483647 (valore predefinito: 25)
** valori: 0 .. 1000000 (valore predefinito: 25)
* *irc.network.colors_receive*
** descrizione: se disabilitato, i codici colori vengono ignorati nei messaggi in entrata
@@ -226,17 +296,22 @@
* *irc.network.lag_check*
** descrizione: intervallo tra due controlli per il ritardo (in secondi, 0 = nessun controllo)
** tipo: intero
** valori: 0 .. 2147483647 (valore predefinito: 60)
** valori: 0 .. 604800 (valore predefinito: 60)
* *irc.network.lag_disconnect*
** descrizione: disconnetti dopo un ritardo eccessivo (in minuti, 0 = nessuna disconnessione)
** tipo: intero
** valori: 0 .. 2147483647 (valore predefinito: 0)
** valori: 0 .. 10080 (valore predefinito: 0)
* *irc.network.lag_min_show*
** descrizione: ritardo minimo da visualizzare (in secondi)
** descrizione: ritardo minimo da visualizzare (in millisecondi)
** tipo: intero
** valori: 0 .. 2147483647 (valore predefinito: 1)
** valori: 0 .. 86400000 (valore predefinito: 500)
* *irc.network.lag_refresh_interval*
** descrizione: intervallo tra due aggiornamenti per l'elemento ritardo, quando è in aumento (in secondi)
** tipo: intero
** valori: 1 .. 3600 (valore predefinito: 1)
* *irc.network.send_unknown_commands*
** descrizione: invia comandi sconosciuti al server
@@ -266,7 +341,7 @@
* *irc.server_default.autoreconnect_delay*
** descrizione: ritardo (in secondi) prima di effettuare una nuova connessione al server
** tipo: intero
** valori: 0 .. 65535 (valore predefinito: 30)
** valori: 1 .. 65535 (valore predefinito: 10)
* *irc.server_default.autorejoin*
** descrizione: rientra automaticamente nei canali dopo il kick
+13 -8
View File
@@ -137,7 +137,9 @@
-all: elimina tutti i filtri
plugin.buffer: plugin e buffer in cui il filtro è attivo ("*" per tutti i buffer)
tag: elenco di tag separati da virgole, per esempio: "irc_join,irc_part,irc_quit"
regex: espressione regolare da cercare nella riga (utilizzare \t per separare il prefisso dal messaggio, caratteri speciali come "|" devono essere preceduti dal carattere escape: '\|')
regex: espressione regolare da cercare nella riga
- utilizzare ' ' per separare il prefisso dal messaggio, caratteri speciali come "|" devono essere preceduti dal carattere escape: '\|')
- se l'espressione regolare inizia con '!', il risultato corrispondente viene invertito (usare '\!' per iniziare con '!')
Il tasto predefinito alt+'=' abilita/disabilita il filtro.
@@ -155,6 +157,8 @@
/filter add nicks * irc_366 *
filtra il nick "tizio" sul canale IRC #weechat
/filter add tizio irc.freenode.#esempio * tizio\t
filtra solo il nick "caio" sul canale IRC #test:
/filter add caio irc.freenode.#test * !caio\t
filtra le righe contententi la parola "spam":
/filter add filterspam * * spam
filtra le righe contententi "weechat fa schifo" sul canale IRC #weechat:
@@ -179,7 +183,7 @@
valore: numero delle voci nella cronologia da mostrare
........................................
&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 | switch_active_buffer | switch_active_buffer_previous | 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]`::
........................................
funzioni per la riga di comando
@@ -215,7 +219,7 @@
&bull; *`/layout`* `[[save | apply | reset] [buffers | windows]]`::
........................................
salva/applica/resetta il layout per i buffer e le finestre
salva/applica/ripristina il layout per i buffer e le finestre
save: salva il layout corrente
apply: applica il layout salvato
@@ -293,11 +297,12 @@
/proxy del mioproxy
........................................
&bull; *`/quit`* `[argomenti]`::
&bull; *`/quit`* `[-yes] [argomenti]`::
........................................
esci da WeeChat
esce da WeeChat
-yes: richiesto se l'opzione option weechat.look.confirm_quit è abilitata
argomenti: testo inviato con il segnale "quit"
(ad esempio il plugin irc usa questo testo per inviare il messaggio di uscita al server)
........................................
@@ -342,11 +347,11 @@
&bull; *`/unset`* `[opzione]`::
........................................
annulla/resetta opzione
annulla/ripristina opzione
opzione: nome di un'opzione (può cominciare o finire con "*" per il reset di più opzioni, attenzione!)
opzione: nome di un'opzione (può cominciare o finire con "*" per il ripristino di più opzioni, attenzione!)
A seconda dell'opzione, viene resettata (per le opzioni standard) o rimossa (per le impostazioni opzionali, come i valori del server)
A seconda dell'opzione, essa viene ripristinata (per le opzioni standard) o rimossa (per le impostazioni opzionali, come i valori del server)
........................................
&bull; *`/upgrade`* `[percorso_del_binario]`::
+20 -25
View File
@@ -213,31 +213,6 @@
** tipo: colore
** valori: un nome colore (valore predefinito: blue)
* *weechat.color.nicklist_prefix1*
** descrizione: colore del testo per il prefisso #1 nella nicklist
** tipo: colore
** valori: un nome colore (valore predefinito: lightgreen)
* *weechat.color.nicklist_prefix2*
** descrizione: colore del testo per il prefisso #2 nella nicklist
** tipo: colore
** valori: un nome colore (valore predefinito: lightmagenta)
* *weechat.color.nicklist_prefix3*
** descrizione: colore del testo per il prefisso #3 nella nicklist
** tipo: colore
** valori: un nome colore (valore predefinito: yellow)
* *weechat.color.nicklist_prefix4*
** descrizione: colore del testo per il prefisso #4 nella nicklist
** tipo: colore
** valori: un nome colore (valore predefinito: blue)
* *weechat.color.nicklist_prefix5*
** descrizione: colore del testo per il prefisso #5 nella nicklist
** tipo: colore
** valori: un nome colore (valore predefinito: brown)
* *weechat.color.separator*
** descrizione: colore di sfondo per i separatori delle finestre (quando divise)
** tipo: colore
@@ -278,6 +253,11 @@
** tipo: colore
** valori: un nome colore (valore predefinito: white)
* *weechat.color.status_name_ssl*
** descrizione: colore del testo per il nome del buffer corrente nella barra di stato, se i dati sono messi al sicuro con un protocollo come SSL
** tipo: colore
** valori: un nome colore (valore predefinito: lightgreen)
* *weechat.color.status_number*
** descrizione: colore del testo per il numero del buffer corrente nella barra di stato
** tipo: colore
@@ -358,6 +338,11 @@
** tipo: intero
** valori: 0 .. 1000 (valore predefinito: 50)
* *weechat.look.align_end_of_lines*
** descrizione: allineamento per la fine delle righe (tutte le righe tranne la prima): iniziano al di sotto di questi dati (data, buffer, prefissio, suffisso, messaggio (predefinito))
** tipo: intero
** valori: time, buffer, prefix, suffix, message (valore predefinito: message)
* *weechat.look.buffer_notify_default*
** descrizione: livello predefinito di notifica per i buffer (utilizzato per comunicare a WeeChat se il buffer deve essere visualizzato nella hotlist oppure no, a seconda dell'importanza del messaggio)
** tipo: intero
@@ -383,6 +368,11 @@
** tipo: stringa
** valori: qualsiasi stringa (valore predefinito: "")
* *weechat.look.confirm_quit*
** descrizione: se impostata, il comando /quit deve essere confermato con l'argomento extra "-yes" (consultare /help quit)
** tipo: bool
** valori: on, off (valore predefinito: off)
* *weechat.look.day_change*
** descrizione: mostra un messaggio speciale al cambio di data
** tipo: bool
@@ -433,6 +423,11 @@
** tipo: intero
** valori: group_time_asc, group_time_desc, group_number_asc, group_number_desc, number_asc, number_desc (valore predefinito: group_time_asc)
* *weechat.look.input_undo_max*
** descrizione: numero massimo di righe nella cronologia per buffer (0 = nessun limite)
** tipo: intero
** valori: 0 .. 65535 (valore predefinito: 32)
* *weechat.look.item_time_format*
** descrizione: formato dell'ora per l'elemento della barra "tempo"
** tipo: stringa
+1 -1
View File
@@ -1,6 +1,6 @@
FAQ di WeeChat (Domande Frequenti)
==================================
FlashCode <flashcode@flashtux.org>
Sébastien Helleu <flashcode@flashtux.org>
[[general]]
+606 -27
View File
@@ -1,6 +1,6 @@
Referenze API per Plugin di WeeChat
===================================
FlashCode <flashcode@flashtux.org>
Sébastien Helleu <flashcode@flashtux.org>
Questo manuale documenta il client di chat WeeChat, ed è parte
@@ -159,7 +159,7 @@ comando due volte (ok, non sarà molto utile, ma è solo un esempio!):
WEECHAT_PLUGIN_NAME("double");
WEECHAT_PLUGIN_DESCRIPTION("Test plugin for WeeChat");
WEECHAT_PLUGIN_AUTHOR("FlashCode <flashcode@flashtux.org>");
WEECHAT_PLUGIN_AUTHOR("Sebastien Helleu <flashcode@flashtux.org>");
WEECHAT_PLUGIN_VERSION("0.1");
WEECHAT_PLUGIN_LICENSE("GPL3");
@@ -193,11 +193,11 @@ weechat_plugin_init (struct t_weechat_plugin *plugin,
weechat_plugin = plugin;
weechat_hook_command ("double",
"Visualizza due volte un messaggio "
"oppure esegue un comando due volte",
"messaggio | comando",
"messaggio: messaggio da visualizzare due volte\n"
"comando: comando da eseguire due volte",
"Visualizza due volte un messaggio "
"oppure esegue un comando due volte",
"messaggio | comando",
"messaggio: messaggio da visualizzare due volte\n"
"comando: comando da eseguire due volte",
NULL,
&command_double_cb, NULL);
@@ -601,6 +601,39 @@ Esempio in C:
int diff = weechat_strcasecmp ("aaa", "CCC"); /* == -2 */
----------------------------------------
weechat_strncasecmp
^^^^^^^^^^^^^^^^^^^
Confronta stringa indipendente da caso (maiuscole o minuscole) e da locale, per
un numero 'max' di caratteri.
Prototipo:
[source,C]
----------------------------------------
int weechat_strncasecmp (const char *string1, const char *string2, int max);
----------------------------------------
Argomenti:
* 'string1': prima stringa da comparare
* 'string2': seconda stringa da comparare
* 'max': numero massimo di caratteri da comparare
Valore restituito:
* differenze tra le due stringhe:
** negativa se stringa1 < stringa2
** zero se stringa1 == stringa1
** positiva se stringa1 > stringa2
Esempio in C:
[source,C]
----------------------------------------
int diff = weechat_strncasecmp ("aabb", "aacc", 2); /* == 0 */
----------------------------------------
weechat_strcmp_ignore_chars
^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -747,6 +780,40 @@ char *str = weechat_string_replace ("test", "s", "x"); /* result: "text" */
free (str);
----------------------------------------
weechat_string_expand_home
^^^^^^^^^^^^^^^^^^^^^^^^^^
_Novità nella versione 0.3.3._
Sostituisce la `~` iniziale con la stringa con la cartella home. Se la stringa
non inizia con `~`, viene restituita la stessa stringa.
Prototipo:
[source,C]
----------------------------------------
char *weechat_string_expand_home (const char *path);
----------------------------------------
Argomenti:
* 'path': percorso
Valore restituito:
* percorso con la `~` iniziale sostituita dalla cartella home (deve essere
liberata chiamando "free" dopo l'uso)
Esempio in C:
[source,C]
----------------------------------------
char *str = weechat_string_expand_home ("~/file.txt");
/* result: "/home/xxx/file.txt" */
/* ... */
free (str);
----------------------------------------
weechat_string_remove_quotes
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -840,7 +907,7 @@ Esempio in C:
[source,C]
----------------------------------------
int hl = weechat_string_has_highlight ("mia stringa di test", "test,word2"); /* == 1 */
int hl = weechat_string_has_highlight ("my test string", "test,word2"); /* == 1 */
----------------------------------------
Script (Python):
@@ -851,7 +918,7 @@ Script (Python):
highlight = weechat.string_has_highlight(string, highlight_words)
# esempio
highlight = weechat.string_has_highlight("mia stringa di test", "test,word2") # 1
highlight = weechat.string_has_highlight("my test string", "test,word2") # 1
----------------------------------------
weechat_string_mask_to_regex
@@ -1150,12 +1217,12 @@ Esempi:
[source,C]
----------------------------------------
/* rimuove i codici colore */
char *str = weechat_string_remove_color (mia_stringa1, NULL);
char *str = weechat_string_remove_color (my_string1, NULL);
/* ... */
free (str);
/* sostituisce i codici colore con "?" */
char *str = weechat_string_remove_color (mia_stringa2, "?");
char *str = weechat_string_remove_color (my_string2, "?");
/* ... */
free (str);
----------------------------------------
@@ -1168,12 +1235,14 @@ Script (Python):
str = weechat.string_remove_color(string, replacement)
# esempio
str = weechat.string_remove_color(mia_stringa, "?")
str = weechat.string_remove_color(my_string, "?")
----------------------------------------
weechat_string_encode_base64
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_Novità nella versione 0.3.2._
Codifica una stringa in base64.
Prototype:
@@ -1202,16 +1271,18 @@ weechat_string_encode_base64 (string, strlen (string), result);
weechat_string_decode_base64
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Decodifca una stringa in base64.
_Novità nella versione 0.3.2._
Prototype:
Decodifica una stringa in base64.
Prototipo:
[source,C]
----------------------------------------
int weechat_string_decode_base64 (const char *from, char *to);
----------------------------------------
Arguments:
Argomenti:
* 'from': stringa da decodificare
* 'to': puntatore alla stringa per memorizzare il risultato (deve essere
@@ -1234,6 +1305,8 @@ length = weechat_string_decode_base64 (string, result);
weechat_string_is_command_char
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_Novità nella versione 0.3.2._
Verifica che il primo carattere della stringa sia un carattere comando
(il comando carattere predefinito è '/').
@@ -1276,6 +1349,8 @@ command_char2 = weechat.string_is_command_char("test") # == 0
weechat_string_input_for_buffer
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_Novità nella versione 0.3.2._
Restituisce il puntatore al testo in input per il buffer (puntatore all'interno
dell'argomento "string"), oppure NULL se è un comando.
@@ -1472,6 +1547,33 @@ Esempio in C:
char *next_char = weechat_utf8_next_char (string);
----------------------------------------
weechat_utf8_char_int
^^^^^^^^^^^^^^^^^^^^^
Restituisce un carattere UTF-8 come intero.
Prototipo:
[source,C]
----------------------------------------
int weechat_utf8_char_int (const char *string);
----------------------------------------
Argomenti:
* 'string': stringa
Valore restituito:
* carattere UTF-8 come intero
Esempio in C:
[source,C]
----------------------------------------
int char_int = weechat_utf8_char_int ("être"); /* "ê" come intero */
----------------------------------------
weechat_utf8_char_size
^^^^^^^^^^^^^^^^^^^^^^
@@ -1584,6 +1686,37 @@ Esempio in C:
int length_on_screen = weechat_utf8_strlen_screen ("é"); /* == 1 */
----------------------------------------
weechat_utf8_charcmp
^^^^^^^^^^^^^^^^^^^^
Confronta due caratteri UTF-8.
Prototipo:
[source,C]
----------------------------------------
int weechat_utf8_charcmp (const char *string1, const char *string2);
----------------------------------------
Argomenti:
* 'string1': prima stringa da comparare
* 'string2': seconda stringa da comparare
Valore restituito:
* differenza tra i primi caratteri di ogni stringa:
** negativa se char1 < char2
** zero se char1 == char2
** positivao se char1 > char2
Esempio in C:
[source,C]
----------------------------------------
int diff = weechat_utf8_charcmp ("aaa", "ccc"); /* == -2 */
----------------------------------------
weechat_utf8_charcasecmp
^^^^^^^^^^^^^^^^^^^^^^^^
@@ -1874,7 +2007,7 @@ Esempio in C:
[source,C]
----------------------------------------
if (!weechat_mkdir_parents ("/tmp/mia/cartella", 0755))
if (!weechat_mkdir_parents ("/tmp/my/dir", 0755))
{
/* errore */
}
@@ -1928,6 +2061,40 @@ void callback (void *data, const char *filename)
weechat_exec_on_files ("/tmp", 0, NULL, &callback);
----------------------------------------
weechat_file_get_content
^^^^^^^^^^^^^^^^^^^^^^^^
_Novità nella versione 0.3.1._
Ottiene il contenuto del file di testo in una stringa.
Prototipo:
[source,C]
----------------------------------------
char *weechat_file_get_content (const char *filename);
----------------------------------------
Argomenti:
* 'filename': percorso e nome file
Valore restituito:
* contenuto del file come stringa (deve essere liberata chiamando "free dopo
l'uso)
Esempio in C:
[source,C]
----------------------------------------
char *content;
content = weechat_file_get_content ("/tmp/test.txt");
/* ... */
free (content);
----------------------------------------
[[util]]
Utilità
~~~~~~~
@@ -2022,6 +2189,8 @@ weechat_util_timeval_add (&tv, 2000); /* aggiunge 2 secondi */
weechat_util_get_time_string
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_Novità nella versione 0.3.2._
Riceve data/ora come stringa compilata con "strftime".
Prototipo:
@@ -2129,7 +2298,7 @@ Script (Python):
item = weechat.list_add(list, data, where, user_data)
# esempio
item = weechat.list_add(list, "miei dati", weechat.WEECHAT_LIST_POS_SORT, "")
item = weechat.list_add(list, "my data", weechat.WEECHAT_LIST_POS_SORT, "")
----------------------------------------
weechat_list_search
@@ -2169,7 +2338,7 @@ Script (Python):
item = weechat.list_search(list, data)
# esempio
item = weechat.list_search(list, "miei dati")
item = weechat.list_search(list, "my data")
----------------------------------------
weechat_list_casesearch
@@ -2547,6 +2716,368 @@ weechat.list_free(list)
weechat.list_free(list)
----------------------------------------
[[hashtables]]
Tabelle hash
~~~~~~~~~~~~
Funzioni per le tabelle hash.
weechat_hashtable_new
^^^^^^^^^^^^^^^^^^^^^
_Novità nella versione 0.3.3._
Crea una nuova tabella hash.
Prototipo:
[source,C]
----------------------------------------
struct t_hashtable *weechat_hashtable_new (int size,
const char *type_keys,
const char *type_values,
unsigned int (*callback_hash_key)(struct t_hashtable *hashtable,
const void *key),
int (*callback_keycmp)(struct t_hashtable *hashtable,
const void *key1,
const void *key2));
----------------------------------------
Arguments:
* 'size': dimensione dell'array interno per memorizzare le chiavi con hash, un
valore più alto usa più memoria, ma ha migliori performance. (questo *non* è
un limite per il numero di elementi nella tabella hash)
* 'type_keys': tipo per le chiavi nella tabella hash:
** 'WEECHAT_HASHTABLE_INTEGER'
** 'WEECHAT_HASHTABLE_STRING'
** 'WEECHAT_HASHTABLE_POINTER'
** 'WEECHAT_HASHTABLE_BUFFER'
** 'WEECHAT_HASHTABLE_TIME'
* 'type_values': tipo per i valori nella tabella hash:
** 'WEECHAT_HASHTABLE_INTEGER'
** 'WEECHAT_HASHTABLE_STRING'
** 'WEECHAT_HASHTABLE_POINTER'
** 'WEECHAT_HASHTABLE_BUFFER'
** 'WEECHAT_HASHTABLE_TIME'
* 'callback_hash_key': callback utilizzata per effettuare un "hash" di una
chiave (chiave come valore intero), può essere NULL se il tipo della chiave è
"string" (viene usata una funzione predefinita per le stringhe, e solo per le
stringhe)
* 'callback_keycmp': callback utilizzata per comparare due chiavi, può essere
NULL se il tipo di valore è "string" (una funzione di confronto predefinita è
usata per le stringhe e solo per le stringhe)
Valore restituito:
* puntatore alla nuova tabella hash, NULL in caso di errore
Esempio in C:
[source,C]
----------------------------------------
struct t_hashtable *hashtable = weechat_hashtable_new (8,
WEECHAT_HASHTABLE_STRING,
WEECHAT_HASHTABLE_STRING,
NULL,
NULL);
----------------------------------------
weechat_hashtable_set_with_size
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_Novità nella versione 0.3.3._
Aggiunge o aggiorna un elemento nella tabella hash con la dimensione per la
chiave ed il valore.
Prototipo:
[source,C]
----------------------------------------
int weechat_hashtable_set_with_size (struct t_hashtable *hashtable,
void *key, int key_size,
void *value, int value_size);
----------------------------------------
Arguments:
* 'hashtable': puntatore alla tabella hash
* 'key': puntatore alla chiave
* 'key_size': dimensione della chiave (in byte), usata solo se il tipo delle
chiavi nella tabella hash è "buffer"
* 'value': puntatore al valore
* 'value_size': dimensione del valore (in byte), utilizzata solo se il tipo dei
valori nella tabella è "buffer"
Valore restituito:
* 1 se ok, 0 in caso di errore
Esempio in C:
[source,C]
----------------------------------------
weechat_hashtable_set_with_size (hashtable, "my_key", 0,
my_buffer, sizeof (my_buffer_struct));
----------------------------------------
weechat_hashtable_set
^^^^^^^^^^^^^^^^^^^^^
_Novità nella versione 0.3.3._
Aggiunge o aggiorna un elemento nella tabella hash.
Prototipo:
[source,C]
----------------------------------------
int weechat_hashtable_set (struct t_hashtable *hashtable,
void *key, void *value);
----------------------------------------
Argomenti:
* 'hashtable': puntatore alla tabella hash
* 'key': puntatore alla chiave
* 'value': puntatore al valore
Valore restituito:
* 1 se ok, 0 in caso di errore
Esempio in C:
[source,C]
----------------------------------------
weechat_hashtable_set (hashtable, "my_key", "my_value");
----------------------------------------
weechat_hashtable_get
^^^^^^^^^^^^^^^^^^^^^
_Novità nella versione 0.3.3._
Ottiene il valore associato ad una chiave in una tabella hash.
Prototipo:
[source,C]
----------------------------------------
void *weechat_hashtable_get (struct t_hashtable *hashtable, void *key);
----------------------------------------
Argomenti:
* 'hashtable': puntatore alla tabella hash
* 'key': puntatore alla chiave
Valore restituito:
* valore per la chiave, NULL se non trovata
Esempio in C:
[source,C]
----------------------------------------
void *value = weechat_hashtable_get (hashtable, "my_key");
----------------------------------------
weechat_hashtable_map
^^^^^^^^^^^^^^^^^^^^^
_Novità nella versione 0.3.3._
Chiama una funzione su tutte le voci della tabella hash.
Prototipo:
[source,C]
----------------------------------------
void hashtable_map (struct t_hashlist *hashlist,
int (*callback_map)(void *data,
struct t_hashtable *hashtable,
const void *key,
const void *value),
void *callback_map_data);
----------------------------------------
Argomenti:
* 'hashtable': puntatore alla tabella hash
* 'callback_map': funzione chiamata per ogni voce nella tabella hash
* 'callback_map_data': puntatore fornito alla mappa di callback quando chiamata
Esempio in C:
[source,C]
----------------------------------------
void
map_cb (void *data, struct t_hashtable *hashtable,
const void *key, const void *value)
{
/* display key and value (they are both strings here) */
weechat_printf (NULL, "key: '%s', value: '%s'",
(const char *)key,
(const char *)value);
}
/* ... */
weechat_hashtable_map (hashtable, &map_cb, NULL);
----------------------------------------
weechat_hashtable_get_integer
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_Novità nella versione 0.3.3._
Restituisce un valore intero per la proprietà di una tabella hash.
Prototipo:
[source,C]
----------------------------------------
int weechat_hashtable_get_integer (struct t_hashtable *hashtable,
void *property);
----------------------------------------
Argomenti:
* 'hashtable': puntatore alla tabella hash
* 'property': nome della proprietà:
** 'size': dimensione dell'array interno "htable" nella tabella hash
** 'items_count': numero di elementi nella tabella hash
Valore restituito:
* valore intero della proprietà
Esempio in C:
[source,C]
----------------------------------------
int items_count = weechat_hashtable_get_integer (hashtable, "items_count");
----------------------------------------
weechat_hashtable_add_to_infolist
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_Novità nella versione 0.3.3._
Aggiunge elementi della tabella hash ad un elemento della lista info.
Prototipo:
[source,C]
----------------------------------------
int weechat_hashtable_add_to_infolist (struct t_hashtable *hashtable,
struct t_infolist_item *infolist_item,
const char *prefix);
----------------------------------------
Argomenti:
* 'hashtable': puntatore alla tabella hash
* 'infolist_item': puntatore all'elemento della lista info
* 'prefix': stringa usata come prefisso per i nomi nella lista info
Valore restituito:
* 1 se ok, 0 in caso di errore
Esempio in C:
[source,C]
----------------------------------------
weechat_hashtable_add_to_infolist (hashtable, infolist_item, "testhash");
/* se la tabella hash contiene:
"key1" => "value 1"
"key2" => "value 2"
allora le seguenti variabili verranno aggiunti all'elemento della lista info:
"testhash_name_00001" = "key1"
"testhash_value_00001" = "value 1"
"testhash_name_00002" = "key2"
"testhash_value_00002" = "value 2"
*/
----------------------------------------
weechat_hashtable_remove
^^^^^^^^^^^^^^^^^^^^^^^^
_Novità nella versione 0.3.3._
Rimuove un elemento in una tabella hash.
Prototipo:
[source,C]
----------------------------------------
void weechat_hashtable_remove (struct t_hashtable *hashtable, const void *key);
----------------------------------------
Argomenti:
* 'hashtable': puntatore alla tabella hash
* 'key': puntatore alla chiave
Esempio in C:
[source,C]
----------------------------------------
weechat_hashtable_remove (hashtable, "my_key");
----------------------------------------
weechat_hashtable_remove_all
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_Novità nella versione 0.3.3._
Rimuove tutti gli elementi in una tabella hash.
Prototipo:
[source,C]
----------------------------------------
void weechat_hashtable_remove_all (struct t_hashtable *hashtable);
----------------------------------------
Argomenti:
* 'hashtable': puntatore alla tabella hash
Esempio in C:
[source,C]
----------------------------------------
weechat_hashtable_remove_all (hashtable);
----------------------------------------
weechat_hashtable_free
^^^^^^^^^^^^^^^^^^^^^^
_Novità nella versione 0.3.3._
Libera una tabella hash.
Prototipo:
[source,C]
----------------------------------------
void weechat_hashtable_free (struct t_hashtable *hashtable);
----------------------------------------
Argomenti:
* 'hashtable': puntatore alla tabella hash
Esempio in C:
[source,C]
----------------------------------------
weechat_hashtable_free (hashtable);
----------------------------------------
[[configuration_files]]
File di configurazione
~~~~~~~~~~~~~~~~~~~~~~
@@ -3128,6 +3659,54 @@ option = weechat.config_search_option(config_file, section, option_name)
option = weechat.config_search_option(config_file, section, "option")
----------------------------------------
weechat_config_search_section_option
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Cerca una sezione ed un'opzione in un file di configurazione o sezione.
Prototipo:
[source,C]
----------------------------------------
void weechat_config_search_section_option (struct t_config_file *config_file,
struct t_config_section *section,
const char *option_name,
struct t_config_section **section_found,
struct t_config_option **option_found);
----------------------------------------
Arguments:
* 'config_file': puntatore al file di configurazione
* 'section': puntatore alla sezione
* 'option_name': nome dell'opzione
* 'section_found': puntatore al puntatore della sezione, sarà impostato alla
sezione dell'opzione, se viene trovata
* 'option_found': puntatore al puntatore dell'opzione, sarà impostato al
puntatore di un'opzione, se viene trovata
Esempio in C:
[source,C]
----------------------------------------
struct t_config_section *ptr_section;
struct t_config_option *ptr_option;
weechat_config_search_section_option(config_file,
section,
"option",
&ptr_section,
&ptr_option);
if (ptr_option)
{
/* opzione trovata */
}
else
{
/* opzione non trovata */
}
----------------------------------------
weechat_config_search_with_string
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -5150,7 +5729,7 @@ my_command_run_cb (void *data, struct t_gui_buffer *buffer,
const char *command)
{
weechat_printf (NULL,
"Vuoi completare? Sto mangiando il completamento, ahah!);
"Vuoi completare? Sto mangiando il completamento, ahah!);
return WEECHAT_RC_OK_EAT;
}
@@ -9060,7 +9639,7 @@ Esempio in C:
[source,C]
----------------------------------------
weechat_printf (NULL, "integer = %d",
weechat_infolist_integer (infolist, "mio_intero"));
weechat_infolist_integer (infolist, "my_integer"));
----------------------------------------
Script (Python):
@@ -9071,7 +9650,7 @@ Script (Python):
value = weechat.infolist_integer(infolist, var)
# esempio
weechat.prnt("", "integer = %d" % weechat.infolist_integer(infolist, "mio_intero"))
weechat.prnt("", "integer = %d" % weechat.infolist_integer(infolist, "my_integer"))
----------------------------------------
weechat_infolist_string
@@ -9101,7 +9680,7 @@ Esempio in C:
[source,C]
----------------------------------------
weechat_printf (NULL, "string = %s",
weechat_infolist_string (infolist, "mia_stringa"));
weechat_infolist_string (infolist, "my_string"));
----------------------------------------
Script (Python):
@@ -9112,7 +9691,7 @@ Script (Python):
value = weechat.infolist_string(infolist, var)
# esempio
weechat.prnt("", "string = %s" % weechat.infolist_string(infolist, "mia_stringa"))
weechat.prnt("", "string = %s" % weechat.infolist_string(infolist, "my_string"))
----------------------------------------
weechat_infolist_pointer
@@ -9142,7 +9721,7 @@ Esempio in C:
[source,C]
----------------------------------------
weechat_printf (NULL, "pointer = 0x%lx",
weechat_infolist_pointer (infolist, "mio_puntatore"));
weechat_infolist_pointer (infolist, "my_pointer"));
----------------------------------------
Script (Python):
@@ -9153,7 +9732,7 @@ Script (Python):
value = weechat.infolist_pointer(infolist, var)
# esempio
weechat.prnt("", "pointer = 0x%lx" % weechat.infolist_pointer(infolist, "mio_puntatore"))
weechat.prnt("", "pointer = 0x%lx" % weechat.infolist_pointer(infolist, "my_pointer"))
----------------------------------------
weechat_infolist_buffer
@@ -9300,7 +9879,7 @@ Esempio in C:
[source,C]
----------------------------------------
struct t_upgrade_file *upgrade_file = weechat_upgrade_new ("mio_file", 1);
struct t_upgrade_file *upgrade_file = weechat_upgrade_new ("my_file", 1);
----------------------------------------
Script (Python):
@@ -9311,7 +9890,7 @@ Script (Python):
upgrade_file = weechat.upgrade_new(filename, write)
# esempio
upgrade_file = weechat.upgrade_new("mio_file", 1)
upgrade_file = weechat.upgrade_new("my_file", 1)
----------------------------------------
weechat_upgrade_write_object
+2 -2
View File
@@ -1,6 +1,6 @@
Guida Rapida a WeeChat
======================
FlashCode <flashcode@flashtux.org>
Sébastien Helleu <flashcode@flashtux.org>
[[start]]
@@ -74,7 +74,7 @@ Creare un server IRC
Si può aggiungere un server IRC con il comando `/server`, per esempio:
/server add oftc irc.oftc.org/6667
/server add oftc irc.oftc.net/6667
Come al solito, è disponibile l'aiuto se c'è qualche problema: `/help server`.
+777
View File
@@ -0,0 +1,777 @@
Guida allo Scripting di WeeChat
===============================
Sébastien Helleu <flashcode@flashtux.org>
Questo manuale documenta il client di chat WeeChat, ed è parte
del programma stesso.
La versione più recente di questo documento si trova qui:
http://www.weechat.org/doc
[[introduction]]
Introduzione
------------
WeeChat (Wee Enhanced Environment for Chat) è un client di chat libero,
veloce e leggero, realizzato per molti sistemi operativi.
Questo manuale documenta i metodi per la realizzazione di script per
WeeChat, utilizzando uno dei cinque linguaggi di script supportati: perl,
python, ruby, lua o tcl.
[NOTE]
Quasi tutti gli esempi in questo manuale sono scritti in Python, ma l'API
è identica per gli altri linguaggi.
[[scripts_in_weechat]]
Script in WeeChat
-----------------
[[languages_specifities]]
Specifiche per i linguaggi
~~~~~~~~~~~~~~~~~~~~~~~~~~
Alcune cose sono specifiche per i linguaggi:
* perl:
** le funzioni sono chiamate con `weechat::xxx(arg1, arg2, ...);`
* python:
** è necessario `import weechat`
** le funzioni `print*` sono chiamate `prnt*` in python (dato che 'print'
è una parola riservata)
** le funzioni sono chiamate con `weechat.xxx(arg1, arg2, ...)`
* ruby:
** è necessario definire 'weechat_init' e chiamare 'register' all'interno
** le funzioni sono chiamate con `Weechat.xxx(arg1, arg2, ...)`
* tcl:
** le funzioni sono chiamate con `weechat::xxx arg1 arg2 ...`
[[register_function]]
Registrare una funzione
~~~~~~~~~~~~~~~~~~~~~~~
Tutti gli script WeeChat devono "registrare" loro stessi in WeeChat, e questo
deve essere la prima funzione chiamata nello script di WeeChat.
Prototipo:
[source,python]
----------------------------------------
weechat.register(name, author, version, license, description, shutdown_function, charset)
----------------------------------------
Argomenti:
* 'name': stringa, nome interno dello script
* 'author': stringa, nome dell'autore
* 'version': stringa, versione dello script
* 'license': stringa, licenza dello script
* 'description': stringa, breve descrizione dello script
* 'shutdown_function': stringa, nome della funzione chiamata quando lo script
viene disattivato
* 'charset': stringa, set caratteri dello script (opzionale, se il proprio script è in UTF-8,
è possibile utilizzare un valore nullo qui, dato che UTF-8 è il set caratteri predefinito)
Esempio di script, per ogni linguaggio:
* perl:
[source,perl]
----------------------------------------
weechat::register("test_perl", "FlashCode", "1.0", "GPL3", "Test script", "", "");
weechat::print("", "Hello, from perl script!");
----------------------------------------
* python:
[source,python]
----------------------------------------
import weechat
weechat.register("test_python", "FlashCode", "1.0", "GPL3", "Test script", "", "")
weechat.prnt("", "Hello, from python script!")
----------------------------------------
* ruby:
[source,ruby]
----------------------------------------
def weechat_init
Weechat.register("test_ruby", "FlashCode", "1.0", "GPL3", "Test script", "", "")
Weechat.print("", "Hello, from ruby script!")
return Weechat::WEECHAT_RC_OK
end
----------------------------------------
* lua:
[source,lua]
----------------------------------------
weechat.register("test_lua", "FlashCode", "1.0", "GPL3", "Test script", "", "")
weechat.print("", "Hello, from lua script!")
----------------------------------------
* tcl:
// [source,tcl]
----------------------------------------
weechat::register "test_tcl" "FlashCode" "1.0" "GPL3" "Test script" "" ""
weechat::print "" "Hello, from tcl script!"
----------------------------------------
[[load_script]]
Caricare uno script
~~~~~~~~~~~~~~~~~~~
Il comando da utilizzare, in base al linguaggio:
----------------------------------------
/perl load perl/script.pl
/python load python/script.py
/ruby load ruby/script.rb
/lua load lua/script.lua
/tcl load tcl/script.tcl
----------------------------------------
È possibile creare un link nella cartella 'linguaggio/autoload' per attivare
automaticamente gli script all'avvio di WeeChat.
Ad esempio con Python:
----------------------------------------
$ cd ~/.weechat/python/autoload
$ ln -s ../script.py
----------------------------------------
[[differences_with_c_api]]
Differenze con le API in C
--------------------------
Le API per gli script sono quasi identiche di quelle per i plugin C.
È possibile consultare '*' per i dettagli su ogni funzione nelle API:
prototipo, argomenti, valori restituiti, esempi.
È importante fare la differenza tra un 'plugin' ed uno 'script':
un plugin è un file binario compilato ed attivato con il comando
`plugin`, mentre uno 'script' è un file di testo caricato tramite
un plugin come 'python' con il comando `python`.
Quando il proprio script 'test.py' chiama una funzione delle API di
Weechat, il percorso è simile a questo:
........................................
(script API) (C API)
\/ \/
test.py -------> python plugin (python.so) -------> core di WeeChat
........................................
Quando WeeChat chiama una callback nel proprio script 'test.py', è
l'opposto del percorso precedente:
........................................
(C API) (script API)
\/ \/
WeeChat core -------> python plugin (python.so) -------> test.py
........................................
[[pointers]]
Puntatori
~~~~~~~~~
Come è già noto probabilmente, non esistono realmente i "puntatori"
negli script. Quando le funzioni API restituiscono un puntatore, viene
covertito in una stringa per lo script.
Ad esempio, se la funzione restituisce il puntatore 0x1234ab56, lo
script riceverà la stringa "0x1234ab56".
E quando una funzione API si aspetta un puntatore nell'argomento, lo script
deve fornire quel valore stringa. Il plugin C lo convertirà in un puntatore reale
prima di chiamare la funzione API in C.
Sono consentite stringhe vuote oppure "0x0", valgono come NULL in C.
Ad esempio, per stampare dei dati sul buffer core (il buffer principale di
WeeChat), è possibile fare questo:
[source,python]
----------------------------------------
weechat.prnt("", "hi!")
----------------------------------------
[WARNING]
In molte funzioni, per motivi legati alla velocità, WeeChat non verifica se
il puntatore è corretto oppure no. È il proprio lavoro controllare che si
stia fornendo un puntatore valido, altrimenti potrebbe comparire una
bella segnalazione per un errore ;)
[[callbacks]]
Callback
~~~~~~~~
Quasi tutte le callback di WeeChat devono restituire WEECHAT_RC_OK
oppure WEECHAT_RC_ERROR (l'eccezione è la callback modifier, che
restituisce una stringa).
Le callback in C utilizzano un argomento "data", che è un puntatore.
Nelle API per gli script, questo "data" è una stringa con un qualsiasi
valore (non è un puntatore).
Ad esempio:
[source,python]
----------------------------------------
weechat.hook_timer(1000, 0, 1, "my_timer_cb", "my data")
def my_timer_cb(data, remaining_calls):
# this will display: "my data"
weechat.prnt("", data)
return weechat.WEECHAT_RC_OK
----------------------------------------
[[script_api]]
Script API
----------
Per maggiori informazioni sulle funzioni nelle API,
consultare 'Referenze API per Plugin di WeeChat'.
[[script_api_functions]]
Funzioni
~~~~~~~~
Elenco di funzioni nelle API per gli script:
[width="100%",cols="^1,10",options="header"]
|========================================
| Categoria | Funzioni
| generale |
register
| plugin |
plugin_get_name
| stringhe |
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
| cartelle |
mkdir_home, mkdir, mkdir_parents
| liste ordinate |
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
| file di configurazione |
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
| visualizzazione |
prefix, color, print (for python: prnt), print_date_tags (for python:
prnt_date_tags), print_y (for python: prnt_y), log_print
| hook |
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
| 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
| finestre |
current_window, window_get_integer, window_get_string, window_get_pointer,
window_set_title
| lista nick |
nicklist_add_group, nicklist_search_group, nicklist_add_nick,
nicklist_search_nick, nicklist_remove_group, nicklist_remove_nick,
nicklist_remove_all
| barre |
bar_item_search, bar_item_new, bar_item_update, bar_item_remove, bar_search,
bar_new, bar_set, bar_update, bar_remove
| comandi |
comando
| info |
info_get
| liste info |
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_fields, infolist_integer,
infolist_string, infolist_pointer, infolist_time, infolist_free
| aggiornamento |
upgrade_new, upgrade_write_object, upgrade_read, upgrade_close
|========================================
[[script_api_constants]]
Costanti
~~~~~~~~
Elenco di costanti nelle API per gli script:
[width="100%",cols="^1,10",options="header"]
|========================================
| Categoria | Costanti
| codici restituiti |
WEECHAT_RC_OK, WEECHAT_RC_OK_EAT, WEECHAT_RC_ERROR
| file di configurazione |
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
| liste ordinate |
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 su processo |
WEECHAT_HOOK_PROCESS_RUNNING, WEECHAT_HOOK_PROCESS_ERROR
| hook su connessione |
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 su segnale |
WEECHAT_HOOK_SIGNAL_STRING, WEECHAT_HOOK_SIGNAL_INT, WEECHAT_HOOK_SIGNAL_POINTER
|========================================
[[common_tasks]]
Compiti comuni
--------------
Questo capitolo spiega alcuni compiti comuni, con degli esempi.
Verranno utilizzati soltanto degli elementi parziali contenuti
nelle API, per un riferimento completo consultare
'Referenze API per Plugin di WeeChat'.
[[buffers]]
Buffer
~~~~~~
[[buffers_display_messages]]
Visualizzare messaggi
^^^^^^^^^^^^^^^^^^^^^
Una stringa vuota è utilizzata spesso per lavorare con il buffer core di
WeeChat. Per gli altri buffer, è necessario fornire un puntatore (come
stringa, consultare <<pointers,pointers>>).
Esempi:
[source,python]
----------------------------------------
# visualizza "hello" sul buffer core
weechat.prnt("", "hello")
# visualizza "hello" sul buffer core, ma non salva sul file di log
# (solo versioni >= 0.3.3)
weechat.prnt_date_tags("", 0, "no_log", "hello")
# visualizza il prefisso "==>" ed il messaggio "hello" sul buffer corrente
# (prefisso e messaggio vanno separati da una tabulazione)
weechat.prnt(weechat.current_buffer(), "==>\thello")
# visualizza un messaggio di errore sul buffer core (con il prefisso di errore)
weechat.prnt("", "%swrong arguments" % weechat.prefix("error"))
# visualizza messaggio con il colore sul buffer core
weechat.prnt("", "text %syellow on blue" % weechat.color("yellow,blue"))
# cerca buffer e visualizza messaggiosearch buffer and display message
# (il nome completo del buffer è plugin.nome, ad esempio: "irc.freenode.#weechat")
buffer = weechat.buffer_search("irc", "freenode.#weechat")
weechat.prnt(buffer, "message on #weechat channel")
# altra soluzione per cercare un buffer IRC (migliore)
# (nota: server e canale sono separati da virgola)
buffer = weechat.info_get("irc_buffer", "freenode,#weechat")
weechat.prnt(buffer, "message on #weechat channel")
----------------------------------------
[NOTE]
La funzione print si chiama `print` in Perl/Ruby/Lua/Tcl e `prnt` in Python.
[[buffers_send_text]]
Invia testo al buffer
^^^^^^^^^^^^^^^^^^^^^
È possibile inviare del testo o un comando ad un buffer. È esattamente come
se si digitasse del testo o un comando, seguiti da [Enter].
Esempi:
[source,python]
----------------------------------------
# esegue il comando "/help" sul buffer core
weechat.command("", "/help")
# invia "hello" sul canale IRC #weechat (gli utenti sul canale vedranno il messaggio)
buffer = weechat.info_get("irc_buffer", "freenode,#weechat")
weechat.command(buffer, "hello")
----------------------------------------
[[buffers_new]]
Creare un nuovo buffer
^^^^^^^^^^^^^^^^^^^^^^
È possibile creare un nuovo buffer nel proprio script, per poi utilizzarlo per
visualizzare i messaggi.
Possono essere chiamate due callback (sono opzionali): una per i dati in
input (quando viene digitato del testo e premuto [Enter] sul buffer), l'altra
quando il buffer viene chiuso (ad esempio con `/buffer close`).
Esempio:
[source,python]
----------------------------------------
# callback per i dati ricevuti in input
def buffer_input_cb(data, buffer, input_data):
# ...
return weechat.WEECHAT_RC_OK
# callback chiamata alla chiusura del buffer
def buffer_close_cb(data, buffer):
# ...
return weechat.WEECHAT_RC_OK
# crea un buffer
buffer = weechat.buffer_new("mybuffer", "buffer_input_cb", "", "buffer_close_cb", "")
# imposta titolo
weechat.buffer_set(buffer, "title", "Questo titolo è per il mio buffer.")
# disabilita il logging, impostando la variabile locale "no_log" ad "1"
weechat.buffer_set(buffer, "localvar_set_no_log", "1")
----------------------------------------
[[buffers_properties]]
Proprietà dei buffer
^^^^^^^^^^^^^^^^^^^^
Si possono leggere le proprietà del buffer, come stringa, intero o puntatore.
Esempi:
[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")
----------------------------------------
È possibile aggiungere, leggere o eliminare le variabili locali nel buffer:
[source,python]
----------------------------------------
# aggiunge la variabile locale
weechat.buffer_set(buffer, "localvar_set_myvar", "my_value")
# legge la variabile locale
myvar = weechat.buffer_get_string(buffer, "localvar_myvar")
# elimina la variabile locale
weechat.buffer_set(buffer, "localvar_del_myvar", "")
----------------------------------------
Per impostare le variabili locali di un buffer, digitare questo comando
in WeeChat:
----------------------------------------
/buffer localvar
----------------------------------------
[[hooks]]
Hook
~~~~
[[hook_command]]
Aggiungere un nuovo comando
^^^^^^^^^^^^^^^^^^^^^^^^^^^
Aggiunge un comando personalizzato con `hook_command`. Si può fare uso di
un template di completamento personalizzato per completare gli argomenti
del proprio comando.
Esempio:
[source,python]
----------------------------------------
def my_command_cb(data, buffer, args):
# ...
return weechat.WEECHAT_RC_OK
hook = weechat.hook_command("myfilter", "descrizione di myfilter",
"[list] | [enable|disable|toggle [name]] | [add name plugin.buffer tags regex] | [del name|-all]",
"descrizione degli argomenti...",
"list"
" || enable %(filters_names)"
" || disable %(filters_names)"
" || toggle %(filters_names)"
" || add %(filters_names) %(buffers_plugins_names)|*"
" || del %(filters_names)|-all",
"my_command_cb", "")
----------------------------------------
E poi in WeeChat:
----------------------------------------
/help myfilter
/myfilter arguments...
----------------------------------------
[[hook_timer]]
Aggiungere un timer
^^^^^^^^^^^^^^^^^^^
Aggiungere un timer con `hook_timer`.
Esempio:
[source,python]
----------------------------------------
def timer_cb(data, remaining_calls):
# ...
return weechat.WEECHAT_RC_OK
# timer chiamato ogni minuto quandi i secondi sono 00
weechat.hook_timer(60 * 1000, 60, 0, "timer_cb", "")
----------------------------------------
[[hook_process]]
Eseguire un processo in background
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
È possibile eseguire un processo in background con `hook_process`. La
callback verrà chiamata quando i dati sono pronti. Può essere chiamata
più volte.
Per l'ultima chiamata alla callback, 'rc' è impostato a zero o su un
valore positivo, è il codice restituito dal comando.
Esempio:
[source,python]
----------------------------------------
# Visualizza le versioni dei kernel di Linux.
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]]
Configurazione / opzioni
~~~~~~~~~~~~~~~~~~~~~~~~
[[config_options_set_script]]
Impostare l'opzione per lo script
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
La funzione `config_is_set_plugin` viene utilizzare per verificare se un'opzione
è impostata oppure no, e `config_set_plugin` per impostare l'opzione.
Esempio:
[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]]
Rilevare le modifiche
^^^^^^^^^^^^^^^^^^^^^
È necessario utilizzare `hook_config` per essere notificati se l'utente dovesse
modificare alcune opzioni dello script.
Esempio:
[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]]
Leggere le opzioni di WeeChat
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
La funzione `config_get` restituisce il puntatore all'opzione. Poi, in base al tipo
di opzione, è necessario chiamare `config_string`, `config_boolean`,
`config_integer` oppure `config_color`.
[source,python]
----------------------------------------
# stringa
weechat.prnt("", "value of option weechat.look.item_time_format is: %s"
% (weechat.config_string(weechat.config_get("weechat.look.item_time_format"))))
# bool
weechat.prnt("", "value of option weechat.look.day_change is: %d"
% (weechat.config_boolean(weechat.config_get("weechat.look.day_change"))))
# intero
weechat.prnt("", "value of option weechat.look.scroll_page_percent is: %d"
% (weechat.config_integer(weechat.config_get("weechat.look.scroll_page_percent"))))
# colore
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]]
Catturare messaggi
^^^^^^^^^^^^^^^^^^
Il plugin IRC invia due segnali per un messaggio ricevuto (`xxx` è il nome
interno del server IRC, `yyy` è il nome del comando IRC come JOIN, QUIT,
PRIVMSG, 301, ..):
xxxx,irc_in_yyy::
segnale inviato prima di esaminare il messaggio
xxx,irc_in2_yyy::
segnale inviato dopo aver esaminato il messaggio
[source,python]
----------------------------------------
def join_cb(data, signal, signal_data):
# signal è per esempio: "freenode,irc_in2_join"
# signal_data è il messaggio IRC message, ad esempio: ":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
# può essere utile qui utilizzare "*" come server, per catturare
# i messaggi JOIN su tutti i server IRC
weechat.hook_signal("*,irc_in2_join", "join_cb", "")
----------------------------------------
[[infos]]
Info
~~~~
[[infos_weechat_version]]
Versione di WeeChat
^^^^^^^^^^^^^^^^^^^
Il modo migliore per verificare la versione è richiedere "version_number" e
comparare l'intero con il numero di versione esadecimale.
Esempio:
[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]
Le versioni < = 0.3.1.1 restituiscono una stringa vuota per
'info_get("version_number")', per cui bisogna verificare che
il valore restituito *non* sia vuoto.
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]]
Altre informazioni
^^^^^^^^^^^^^^^^^^
[source,python]
----------------------------------------
# la cartella home di WeeChat, ad esempio: "/home/xxxx/.weechat"
weechat.prnt("", "WeeChat home dir: %s" % weechat.info_get("weechat_dir", ""))
# inattività della tastiera
weechat.prnt("", "Inactivity since %s seconds" % weechat.info_get("inactivity", ""))
----------------------------------------
[[infolists]]
Liste info
~~~~~~~~~~
[[infolists_read]]
Leggere una lista info
^^^^^^^^^^^^^^^^^^^^^^
È possibile leggere una lista info compilata da WeeChat
o da altri plugin.
Esempio:
[source,python]
----------------------------------------
# legge la lista info "buffer", per ottenere la lista dei buffer
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]
Non dimenticare di chiamare `infolist_free` per liberare la memoria
utilizzata dalla lista info, perché WeeChat non libererà automaticamente
la memoria.
+1 -1
View File
@@ -1,6 +1,6 @@
Guida al Tester di WeeChat
==========================
FlashCode <flashcode@flashtux.org>
Sébastien Helleu <flashcode@flashtux.org>
[[purpose]]
+37 -23
View File
@@ -1,6 +1,6 @@
Guida per l'Utente di WeeChat
=============================
FlashCode <flashcode@flashtux.org>
Sébastien Helleu <flashcode@flashtux.org>
Questo manuale documenta il client di chat WeeChat, ed è parte
@@ -240,29 +240,35 @@ si trova in '/home/xxx/', allora eseguire gdb con questo comando:
gdb /usr/bin/weechat-curses /home/xxx/core
----------------------------------------
All'interno di gdb, usare il comando `bt` per visualizzare
[NOTE]
Se è stato installato il pacchetto binario 'weechat-dbg' (ad esempio in Debian), è
possibile usare questo percorso per il binario di WeeChat:
'/usr/lib/debug/usr/bin/weechat-curses'
All'interno di gdb, usare il comando `bt full` per visualizzare
il backtrace. Verrà mostrato qualcosa di simile a questo:
----------------------------------------
(gdb) bt
#0 0xffffe424 in __kernel_vsyscall ()
#1 0xb76208e0 in raise () from /lib/i686/cmov/libc.so.6
#2 0xb7623e15 in abort () from /lib/i686/cmov/libc.so.6
#3 0x08083940 in weechat_shutdown (return_code=1, crash=1) at /some_path/src/core/weechat.c:357
#4 0x08098aaa in debug_sigsegv () at /some_path/src/core/wee-debug.c:155
#5 <signal handler called>
#6 0xb7656681 in vsnprintf () from /lib/i686/cmov/libc.so.6
#7 0xb763dd22 in snprintf () from /lib/i686/cmov/libc.so.6
#8 0xb7258674 in irc_protocol_cmd_join (server=0x8165138, command=0xb727c187 "join", argc=3, argv=0x889e840, argv_eol=0x889e858)
at /some_path/src/plugins/irc/irc-protocol.c:520
#9 0xb7265c6e in irc_protocol_recv_command (server=0x8165138, entire_line=0x889e7e0 ":nick!nick@127.0.0.1 JOIN :#test",
command=0x889d080 "JOIN") at /some_path/src/plugins/irc/irc-protocol.c:4077
#10 0xb726a2c6 in irc_server_msgq_flush () at /some_path/src/plugins/irc/irc-server.c:1614
#11 0xb726a4da in irc_server_recv_cb (data=0x8165138, fd=8) at /some_path/src/plugins/irc/irc-server.c:1691
#12 0x0809a797 in hook_fd_exec (read_fds=0xbfcf8074, write_fds=0xbfcf7ff4, exception_fds=0xbfcf7f74)
at /some_path/src/core/wee-hook.c:1133
#13 0x08060af0 in gui_main_loop () at /some_path/src/gui/curses/gui-curses-main.c:330
#14 0x08083b10 in main (argc=3, argv=0xbfcf81d4) at /some_path/src/core/weechat.c:419
(gdb) bt full
#0 0x00007f9dfb04a465 in raise () from /lib/libc.so.6
#1 0x00007f9dfb04b8e6 in abort () from /lib/libc.so.6
#2 0x0000000000437f66 in weechat_shutdown (return_code=1, crash=1) at /some_path/src/core/weechat.c:351
#3 <signal handler called>
#4 0x000000000044cb24 in hook_process_timer_cb (arg_hook_process=0x254eb90, remaining_calls=<value optimized out>)
at /some_path/src/core/wee-hook.c:1364
hook_process = 0x254eb90
status = <value optimized out>
#5 0x000000000044cc7d in hook_timer_exec () at /some_path/src/core/wee-hook.c:1025
tv_time = {tv_sec = 1272693881, tv_usec = 212665}
ptr_hook = 0x2811f40
next_hook = 0x0
#6 0x000000000041b5b0 in gui_main_loop () at /some_path/src/gui/curses/gui-curses-main.c:319
hook_fd_keyboard = 0x173b600
tv_timeout = {tv_sec = 0, tv_usec = 0}
read_fds = {fds_bits = {0 <repeats 16 times>}}
write_fds = {fds_bits = {0 <repeats 16 times>}}
except_fds = {fds_bits = {0 <repeats 16 times>}}
max_fd = <value optimized out>
----------------------------------------
Bisogna riportare l'errore agli sviluppatori, e specificare quale azione ha causato
@@ -538,6 +544,14 @@ Tasti per la riga di comando
Incolla il contenuto degli appunti +
`/input clipboard_paste`
| Ctrl + _ |
Annulla l'ultima azione sulla riga di comando +
`/input undo`
| Alt + _ |
Ripete l'ultima azione sulla riga di comando +
`/input redo`
| Tab |
Completa comando o nick (Tab di nuovo: trova prossimo completamento) +
`/input complete_next`
@@ -1645,14 +1659,14 @@ Autori
Sviluppatori
~~~~~~~~~~~~
FlashCode (Sébastien Helleu)::
Sébastien Helleu (FlashCode)::
sviluppatore principale
[[contributors]]
Contributori
~~~~~~~~~~~~
Kolter (Emmanuel Bouthenot)::
Emmanuel Bouthenot (kolter)::
packager debian
Ptitlouis::

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