mirror of
https://github.com/weechat/weechat.git
synced 2026-06-19 09:34:47 +02:00
Compare commits
254 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 6d103c62f9 | |||
| 64a38756b6 | |||
| 484900adfd | |||
| 590668013e | |||
| 661f651048 | |||
| 90ab543ce2 | |||
| 0a2c938dae | |||
| e26553fd9b | |||
| 395674c724 | |||
| c161d704f7 | |||
| 2ed8974d2f | |||
| 40d8e61118 | |||
| ac7c27949b | |||
| 0bbddad6a6 | |||
| 5c694363e8 | |||
| dabcf293c9 | |||
| 452382db26 | |||
| 3f5d865d64 | |||
| 430d1643cc | |||
| 2af9c4ba92 | |||
| 298fde23fe | |||
| 53b339fb35 | |||
| 2c87a641e7 | |||
| ddbdb3e657 | |||
| b2b585de69 | |||
| b9dd668d90 | |||
| 971e464e86 | |||
| 875112756c | |||
| ecba10eab2 | |||
| 67726a9451 | |||
| 58c32e4249 | |||
| 9206036233 | |||
| e93647db95 | |||
| f2879b0572 | |||
| 55a5b3f8d9 | |||
| cf598e8447 | |||
| f89cecf71d | |||
| 01327b1b8f | |||
| dab231a9a3 | |||
| 77f02aed29 | |||
| 05d0435e1e | |||
| ca5c2947a4 | |||
| 613b53fa8b | |||
| 0440ff7c89 | |||
| 5ae4ef715a | |||
| 677a1b26b2 | |||
| d0f41efeb7 | |||
| a8c22c11fc | |||
| 072d526023 | |||
| b45a5af0f3 | |||
| fb5d40951c | |||
| 7998e60498 | |||
| 734ced6af8 | |||
| 867bad2d72 | |||
| 83a7305bae | |||
| 420ce7522a | |||
| 490c821997 | |||
| e2cccb9a62 | |||
| f238e5dd42 | |||
| e5bc75bcd4 | |||
| b937d836d7 | |||
| 893485ba5f | |||
| 0602bc105b | |||
| a2c42afaf7 | |||
| 25e1e6e23d | |||
| 3146a6c65c | |||
| be137ba3fc | |||
| 209ff8bd2e | |||
| 8bcf825526 | |||
| a1b9a8926f | |||
| 0cdcbcc35f | |||
| a260039d01 | |||
| f92b7f9573 | |||
| f843f904bc | |||
| e411d14b7a | |||
| 8eb116c23a | |||
| ce0a81fe20 | |||
| 8cc9b3ced6 | |||
| dcdf63931a | |||
| da73437304 | |||
| 97a2e4f713 | |||
| 26f95e8752 | |||
| 328b8b2fb9 | |||
| 47ac88b3f5 | |||
| 88c58cb1b7 | |||
| 1f71b5f2ef | |||
| 5e6e3de553 | |||
| 832a089d3d | |||
| d040fe1b88 | |||
| 4853a530b6 | |||
| ebf72c7eda | |||
| c356b16322 | |||
| 8d20b217d4 | |||
| 9a299e1ab3 | |||
| 6e9c14dd61 | |||
| ae7571a497 | |||
| 8fd1d48723 | |||
| 67a9f942e7 | |||
| 6c5bdb36d3 | |||
| 44f2b7caf4 | |||
| 221fff960e | |||
| 8f7f672946 | |||
| 65d1450e27 | |||
| 27afc1e7d2 | |||
| 223e7f8452 | |||
| aa948c76a3 | |||
| 885e0d9374 | |||
| 4f6639c98c | |||
| 4df0edbe34 | |||
| df69add970 | |||
| 168b1dd2b0 | |||
| 4d9e8668bb | |||
| 6c24da222c | |||
| 832d30b665 | |||
| a234bc90ad | |||
| 8f0e0307c5 | |||
| 9070021a54 | |||
| 39d7a98f02 | |||
| 58c7ab3997 | |||
| 4749915e5f | |||
| 19d6c0532d | |||
| d89115d4db | |||
| eee81cfe9c | |||
| 1c62702758 | |||
| 1ca036e8d9 | |||
| 84d097a022 | |||
| 1a9e15c5a6 | |||
| ab986baa05 | |||
| 5073cd3476 | |||
| dd4863d67c | |||
| 08f13b3965 | |||
| ae2c061350 | |||
| 15d78a45a8 | |||
| 2c20426577 | |||
| cc3a4834d0 | |||
| 1cb7c6a6c5 | |||
| fb4c1ed1e9 | |||
| 7ebb91f69b | |||
| 3398c9c65b | |||
| d80706b5f0 | |||
| fab23f8bc4 | |||
| f841333609 | |||
| fe9aee25a5 | |||
| 40c5eb207d | |||
| 0a6682314f | |||
| 38fd5bfa51 | |||
| ede9a96eb9 | |||
| 370769f759 | |||
| 9313edec34 | |||
| b9d614e7de | |||
| 339d33181d | |||
| 6b4416042b | |||
| 37d70899d3 | |||
| 625a264a44 | |||
| 34a9221d8f | |||
| 8d2c23209f | |||
| 4919a943fd | |||
| 982db541ec | |||
| d27c459c1d | |||
| 02532973e9 | |||
| 05bcd9d9e7 | |||
| 6442302f3f | |||
| d7a46135ee | |||
| a66ad95126 | |||
| fd8a4c6761 | |||
| 8137c2cf9a | |||
| 2460699343 | |||
| c96499c817 | |||
| 4ed5ff86fd | |||
| cbdf4a4ae1 | |||
| 7ef99737d0 | |||
| 6be3b3d064 | |||
| 217e9683d2 | |||
| 95b179dd08 | |||
| ca3c1e2636 | |||
| 5059743dd2 | |||
| 382a1ad942 | |||
| bb39455591 | |||
| 47b9c2b9e2 | |||
| ba37caca69 | |||
| dc8daef33d | |||
| a56c1097dc | |||
| 54a6f42de5 | |||
| dfd7ed5457 | |||
| db86b84218 | |||
| e0ef10ee47 | |||
| fd35bbeb72 | |||
| 51ef22c284 | |||
| 17037e32d8 | |||
| d41f7c3140 | |||
| 6a6bc40df7 | |||
| 6bbe3be63f | |||
| ec12579f47 | |||
| 224d54f6ce | |||
| 93909b4840 | |||
| e0781f0390 | |||
| 2fec843144 | |||
| 5d5d2ce4d1 | |||
| 10024571ef | |||
| e0e32284a9 | |||
| 35a3df0a7a | |||
| 8459eb7bda | |||
| b888881288 | |||
| 0fdcb7387f | |||
| 47822ce80e | |||
| 1f027dbeb1 | |||
| db261576b4 | |||
| 201ee104e7 | |||
| cb4e0d0076 | |||
| cd5b216e0f | |||
| 2b821b8b06 | |||
| 3bea55b2f0 | |||
| 5250b68d0a | |||
| 0f5b4dbecb | |||
| 56a39bc8c8 | |||
| a6873b725f | |||
| 19bc95b961 | |||
| 2a630031fd | |||
| 6defc05f0a | |||
| ebac36d075 | |||
| 0a09a336dd | |||
| 9858927b34 | |||
| aaaf575db6 | |||
| d8b15bc6a3 | |||
| f4d802f4ff | |||
| d6ef66d006 | |||
| d47be1f303 | |||
| 76a39cb0cd | |||
| 589f57c409 | |||
| 6015f51b33 | |||
| 52d7770ff1 | |||
| 49f7b5d701 | |||
| 478c6f73a4 | |||
| 8046d91f5c | |||
| 1e71196aee | |||
| 00ab6400b8 | |||
| c8b2a6a084 | |||
| 756252b95c | |||
| 4126187574 | |||
| 35120b633c | |||
| 60bba82150 | |||
| 92b88e6599 | |||
| d99fe2babd | |||
| dbfcd7ec72 | |||
| dbe3514cd6 | |||
| e90f19c891 | |||
| 2d38d07661 | |||
| ab5ecd4bda | |||
| e3e20f2b60 | |||
| bd1db541f7 | |||
| 3a0cf4b4db | |||
| 9c08484107 | |||
| c37b65bba4 | |||
| 4a16de553c |
+1
-1
@@ -33,7 +33,7 @@ ENDIF(PREFIX)
|
||||
|
||||
SET(VERSION_MAJOR "0")
|
||||
SET(VERSION_MINOR "3")
|
||||
SET(VERSION_PATCH "5")
|
||||
SET(VERSION_PATCH "6")
|
||||
SET(VERSION ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH})
|
||||
SET(LICENSE "GPL3")
|
||||
SET(PKG_STRING "${PROJECT_NAME} ${VERSION}")
|
||||
|
||||
@@ -1,9 +1,138 @@
|
||||
WeeChat ChangeLog
|
||||
=================
|
||||
Sébastien Helleu <flashcode@flashtux.org>
|
||||
v0.3.5, 2011-05-15
|
||||
v0.3.6, 2011-10-22
|
||||
|
||||
|
||||
Version 0.3.6 (2011-10-22)
|
||||
--------------------------
|
||||
|
||||
* core: fix freeze when calling function util_file_get_content with a directory
|
||||
instead of a filename
|
||||
* core: add color attribute "|" (keep attributes) and value "resetcolor" for
|
||||
function weechat_color in plugin API (used by irc plugin to keep
|
||||
bold/reverse/underlined in message when changing color) (bug #34550)
|
||||
* core: fix compilation error (INSTALLPREFIX undeclared) on OS X and when
|
||||
compiling with included gettext (bug #26690)
|
||||
* core: display timeout for hook_process command only if debug for core is
|
||||
enabled (task #11401)
|
||||
* core: bufferize lines displayed before core buffer is created, to display them
|
||||
in buffer when it is created
|
||||
* core: fix display of background color in chat area after line feed
|
||||
* core: fix paste detection (problem with end of lines)
|
||||
* core: add new option weechat.look.color_basic_force_bold, off by default: bold
|
||||
is used only if terminal has less than 16 colors (patch #7621)
|
||||
* core: add default key "meta2-[E" (F5) for linux console
|
||||
* core: fix display of paste multi-line prompt with a root input bar
|
||||
(bug #34305)
|
||||
* core: add "inactive" colors for inactive windows and lines in merged buffers,
|
||||
new options: weechat.look.color_inactive_window,
|
||||
weechat.look.color_inactive_buffer, weechat.look.color_inactive_message,
|
||||
weechat.look.color_inactive_prefix, weechat.look.color_inactive_prefix_buffer,
|
||||
weechat.look.color_inactive_time, weechat.color.chat_inactive_line,
|
||||
weechat.color.chat_inactive_window,
|
||||
weechat.color.chat_prefix_buffer_inactive_line
|
||||
* core: do automatic zoom on current window when terminal becomes too small
|
||||
for windows
|
||||
* core: add new options weechat.look.bar_more_left/right/up/down
|
||||
* core: add new option weechat.look.item_buffer_filter
|
||||
* core: change default value of option weechat.network.gnutls_ca_file to
|
||||
"/etc/ssl/certs/ca-certificates.crt"
|
||||
* core: replace deprecated gnutls function
|
||||
gnutls_certificate_client_set_retrieve_function by new function
|
||||
gnutls_certificate_set_retrieve_function (gnutls >= 2.11.0)
|
||||
* core: use dynamic buffer size for calls to vsnprintf
|
||||
* core: fix memory leak in unhook of hook_connect
|
||||
* core: fix memory leak in display of empty bar items
|
||||
* core: fix input of wide UTF-8 chars under Cygwin (bug #34061)
|
||||
* core: allow name of buffer for command /buffer clear (task #11269)
|
||||
* core: add new command /repeat (execute a command several times)
|
||||
* core: save and restore layout for buffers and windows on /upgrade
|
||||
* core: fix bugs with automatic layout (bug #26110), add support of merged
|
||||
buffers in layout (task #10893)
|
||||
* core: add option -all for command /buffer unmerge
|
||||
* core: fix crash when invalid UTF-8 chars are inserted in command line
|
||||
(bug #33471)
|
||||
* core: stop horizontal bar scroll at the end of content (for bars with
|
||||
horizontal filling) (bug #27908)
|
||||
* core: fix crash when building hashtable string with keys and values
|
||||
* core: add number in windows (add optional argument "-window" so some actions
|
||||
for command /window)
|
||||
* core: replace buffer name by window number in /bar scroll
|
||||
* core: allow buffer name in /buffer close
|
||||
* core: add support of mouse: new command /mouse, new key context "mouse",
|
||||
new options weechat.look.mouse and weechat.look.mouse_timer_delay (task #5435)
|
||||
* core: add command /cursor (free movement of cursor on screen), with key
|
||||
context "cursor"
|
||||
* core: automatic scroll direction in /bar scroll (x/y is now optional)
|
||||
* core: add optional delay for key grab (commands /input grab_key and
|
||||
/input grab_key_command, default is 500 milliseconds)
|
||||
* core: fix bugs with key "^" (bug #32072, bug #21381)
|
||||
* core: allow plugin name in command /buffer name
|
||||
* core: fix bugs with bar windows: do not create bar windows for hidden bars
|
||||
* core: fix completion bug when two words for completion are equal but with
|
||||
different case
|
||||
* core: fix completion for command arguments when same command exists in many
|
||||
plugins (bug #33753)
|
||||
* core: add context "search" for keys (to define keys used during search in
|
||||
buffer with ctrl+"r")
|
||||
* core: add new option weechat.look.separator_vertical, rename option
|
||||
weechat.look.hline_char to weechat.look.separator_horizontal
|
||||
* core: fix freeze when hook_fd is called with a bad file/socket (bug #33619)
|
||||
* core: fix bug with option weechat.look.hotlist_count_max (value+1 was used)
|
||||
* core: add local variable "highlight_regex" in buffers
|
||||
* core: add "hdata" (direct access to WeeChat/plugin data)
|
||||
* core: add option weechat.look.eat_newline_glitch (do not add new line at end
|
||||
of each line displayed)
|
||||
* core: add options "infolists", "hdata" and "tags" for command /debug
|
||||
* core: add horizontal scrolling for buffers with free content (command
|
||||
/window scroll_horiz) (task #11112)
|
||||
* api: use arguments for infolist "window" to return only one window by number
|
||||
* api: add info "cursor_mode"
|
||||
* api: add new functions key_bind, key_unbind, hook_focus, hdata_new,
|
||||
hdata_new_var, hdata_new_list, hdata_get, hdata_get_var_offset,
|
||||
hdata_get_var_type, hdata_get_var_type_string, hdata_get_var_hdata,
|
||||
hdata_get_var, hdata_get_var_at_offset, hdata_get_list, hdata_move,
|
||||
hdata_integer, hdata_string, hdata_pointer, hdata_time, hdata_get_string
|
||||
* api: fix bug with function config_set_desc_plugin (use immediately
|
||||
description for option when function is called)
|
||||
* scripts: fix crash with scripts not auto-loaded having a buffer opened after
|
||||
/upgrade (input/close callbacks for buffer not set properly)
|
||||
* irc: fix display of items "away" and "lag" in root bars, refresh all irc bar
|
||||
items on signal "buffer_switch" (bug #34466)
|
||||
* irc: fix crash on malformed irc notice received (without message after target)
|
||||
* irc: add missing messages for whois: 223, 264, 343
|
||||
* irc: use high priority queue for sending modes and wallchops messages
|
||||
* irc: allow reason for command /disconnect
|
||||
* irc: allow server name for commands /die and /restart
|
||||
* irc: add new info_hashtable "irc_message_split"
|
||||
* irc: improve split of privmsg message (keep ctcp), add split of ison, join,
|
||||
notice, wallops, 005, 353 (bug #29879, bug #33448, bug #33592)
|
||||
* irc: rename info_hashtable "irc_parse_message" to "irc_message_parse"
|
||||
* irc: use color "default" for any invalid color in option
|
||||
weechat.color.chat_nick_colors
|
||||
* irc: send WHO command to check away nicks only if channel was not parted
|
||||
* irc: fix crash when malformed IRC message 352 (WHO) is received (bug #33790)
|
||||
* irc: fix crash when command "/buffer close" is used in a server command to
|
||||
close server buffer during connection (bug #33763)
|
||||
* irc: fix crash when /join command is executed on a non-irc buffer (bug #33742)
|
||||
* irc: fix bug with comma in irc color code: do not strip comma if it is not
|
||||
followed by a digit (bug #33662)
|
||||
* irc: add prefix "#" for all channels on join (if no prefix given)
|
||||
* irc: switch to buffer on /join #channel if channel buffer already exists
|
||||
* irc: set host for nick on each channel message and nick change (if not already
|
||||
set)
|
||||
* irc: update host of nicks on manual /who
|
||||
* irc: fix memory leak on plugin unload (free ignores)
|
||||
* irc: fix memory leak in message parser (when called from other plugins like
|
||||
relay) (bug #33387)
|
||||
* relay: fix bug with self nick when someone changes its nick on channel
|
||||
(bug #33739)
|
||||
* relay: fix memory leak (free some parsed messages) (bug #33387)
|
||||
* relay: fix memory leak on plugin load (free raw messages)
|
||||
* logger: add option logger.file.flush_delay (task #11118)
|
||||
* perl: replace calls to SvPV by SvPV_nolen (patch #7436)
|
||||
|
||||
Version 0.3.5 (2011-05-15)
|
||||
--------------------------
|
||||
|
||||
@@ -187,6 +316,7 @@ Version 0.3.4 (2011-01-16)
|
||||
* irc: add signal "irc_input_send"
|
||||
* rmodifier: new plugin "rmodifier": alter modifier strings with regular
|
||||
expressions (bug #26964)
|
||||
* relay: split of messages sent to clients of irc proxy
|
||||
* relay: beta version of IRC proxy, now relay plugin is compiled by default
|
||||
* scripts: add missing function "infolist_reset_item_cursor" in API (bug #31057)
|
||||
* python: add info "python2_bin" (path to python 2.x interpreter)
|
||||
|
||||
@@ -1,9 +1,20 @@
|
||||
WeeChat News
|
||||
============
|
||||
Sébastien Helleu <flashcode@flashtux.org>
|
||||
v0.3.5, 2011-05-15
|
||||
v0.3.6, 2011-10-22
|
||||
|
||||
|
||||
Version 0.3.6 (2011-10-22)
|
||||
--------------------------
|
||||
|
||||
Important release notes:
|
||||
|
||||
* bold is not used any more for basic colors (used only if terminal has less
|
||||
than 16 colors), a new option has been added to force bold if needed:
|
||||
'weechat.look.color_basic_force_bold'
|
||||
* option 'weechat.look.hline_char' has been renamed to
|
||||
'weechat.look.separator_horizontal'
|
||||
|
||||
Version 0.3.5 (2011-05-15)
|
||||
--------------------------
|
||||
|
||||
|
||||
@@ -23,7 +23,9 @@ ENDIF(NCURSES_FOUND)
|
||||
|
||||
FIND_PATH(NCURSES_INCLUDE_PATH
|
||||
NAMES ncurses.h curses.h
|
||||
PATHS /usr/include /usr/local/include /usr/pkg/include
|
||||
PATHS /usr/include/ncursesw /usr/include/ncurses /usr/include
|
||||
/usr/local/include/ncursesw /usr/local/include/ncuses /usr/local/include
|
||||
/usr/pkg/include/ncursesw /usr/pkg/include/ncurses /usr/pkg/include
|
||||
)
|
||||
|
||||
FIND_LIBRARY(NCURSESW_LIBRARY
|
||||
|
||||
@@ -22,6 +22,7 @@
|
||||
#cmakedefine ICONV_2ARG_IS_CONST 1
|
||||
#cmakedefine HAVE_TCL_CREATE_NS
|
||||
#cmakedefine HAVE_MALLINFO
|
||||
#cmakedefine HAVE_EAT_NEWLINE_GLITCH
|
||||
#define PACKAGE_VERSION "@VERSION@"
|
||||
#define PACKAGE "@PROJECT_NAME@"
|
||||
#define PACKAGE_NAME "@PROJECT_NAME@"
|
||||
|
||||
+69
-48
@@ -24,10 +24,10 @@
|
||||
# Process this file with autoconf to produce a configure script.
|
||||
|
||||
AC_PREREQ(2.56)
|
||||
AC_INIT(WeeChat, 0.3.5, flashcode@flashtux.org)
|
||||
AC_INIT(WeeChat, 0.3.6, flashcode@flashtux.org)
|
||||
AC_CONFIG_SRCDIR([src/core/weechat.c])
|
||||
AM_CONFIG_HEADER(config.h)
|
||||
AM_INIT_AUTOMAKE([weechat], [0.3.5])
|
||||
AM_INIT_AUTOMAKE([weechat], [0.3.6])
|
||||
LICENSE="GPL3"
|
||||
|
||||
# Checks for programs
|
||||
@@ -59,7 +59,7 @@ esac
|
||||
|
||||
# Gettext
|
||||
ALL_LINGUAS="fr es cs hu de ru pl it pt_BR"
|
||||
AM_GNU_GETTEXT([use-libtool])
|
||||
AM_GNU_GETTEXT
|
||||
AM_GNU_GETTEXT_VERSION([0.15])
|
||||
|
||||
# Checks for libraries
|
||||
@@ -100,28 +100,29 @@ AC_CHECK_FUNCS([gethostbyname gethostname getsockname gettimeofday inet_ntoa mem
|
||||
|
||||
# Variables in config.h
|
||||
|
||||
AH_VERBATIM([PREFIX], [#undef PREFIX])
|
||||
AH_VERBATIM([WEECHAT_LIBDIR], [#undef WEECHAT_LIBDIR])
|
||||
AH_VERBATIM([WEECHAT_SHAREDIR], [#undef WEECHAT_SHAREDIR])
|
||||
AH_VERBATIM([HAVE_GCRYPT], [#undef HAVE_GCRYPT])
|
||||
AH_VERBATIM([HAVE_GNUTLS], [#undef HAVE_GNUTLS])
|
||||
AH_VERBATIM([HAVE_FLOCK], [#undef HAVE_FLOCK])
|
||||
AH_VERBATIM([PLUGIN_ALIAS], [#undef PLUGIN_ALIAS])
|
||||
AH_VERBATIM([PLUGIN_ASPELL], [#undef PLUGIN_ASPELL])
|
||||
AH_VERBATIM([PLUGIN_CHARSET], [#undef PLUGIN_CHARSET])
|
||||
AH_VERBATIM([PLUGIN_DEMO], [#undef PLUGIN_DEMO])
|
||||
AH_VERBATIM([PLUGIN_FIFO], [#undef PLUGIN_FIFO])
|
||||
AH_VERBATIM([PLUGIN_IRC], [#undef PLUGIN_IRC])
|
||||
AH_VERBATIM([PLUGIN_LOGGER], [#undef PLUGIN_LOGGER])
|
||||
AH_VERBATIM([PLUGIN_RELAY], [#undef PLUGIN_RELAY])
|
||||
AH_VERBATIM([PLUGIN_RMODIFIER], [#undef PLUGIN_RMODIFIER])
|
||||
AH_VERBATIM([PLUGIN_PERL], [#undef PLUGIN_PERL])
|
||||
AH_VERBATIM([PLUGIN_PYTHON], [#undef PLUGIN_PYTHON])
|
||||
AH_VERBATIM([PLUGIN_RUBY], [#undef PLUGIN_RUBY])
|
||||
AH_VERBATIM([PLUGIN_LUA], [#undef PLUGIN_LUA])
|
||||
AH_VERBATIM([PLUGIN_TCL], [#undef PLUGIN_TCL])
|
||||
AH_VERBATIM([PLUGIN_XFER], [#undef PLUGIN_XFER])
|
||||
AH_VERBATIM([DOC], [#undef DOC])
|
||||
AH_VERBATIM([PREFIX], [#undef PREFIX])
|
||||
AH_VERBATIM([WEECHAT_LIBDIR], [#undef WEECHAT_LIBDIR])
|
||||
AH_VERBATIM([WEECHAT_SHAREDIR], [#undef WEECHAT_SHAREDIR])
|
||||
AH_VERBATIM([HAVE_GCRYPT], [#undef HAVE_GCRYPT])
|
||||
AH_VERBATIM([HAVE_GNUTLS], [#undef HAVE_GNUTLS])
|
||||
AH_VERBATIM([HAVE_FLOCK], [#undef HAVE_FLOCK])
|
||||
AH_VERBATIM([HAVE_EAT_NEWLINE_GLITCH], [#undef HAVE_EAT_NEWLINE_GLITCH])
|
||||
AH_VERBATIM([PLUGIN_ALIAS], [#undef PLUGIN_ALIAS])
|
||||
AH_VERBATIM([PLUGIN_ASPELL], [#undef PLUGIN_ASPELL])
|
||||
AH_VERBATIM([PLUGIN_CHARSET], [#undef PLUGIN_CHARSET])
|
||||
AH_VERBATIM([PLUGIN_DEMO], [#undef PLUGIN_DEMO])
|
||||
AH_VERBATIM([PLUGIN_FIFO], [#undef PLUGIN_FIFO])
|
||||
AH_VERBATIM([PLUGIN_IRC], [#undef PLUGIN_IRC])
|
||||
AH_VERBATIM([PLUGIN_LOGGER], [#undef PLUGIN_LOGGER])
|
||||
AH_VERBATIM([PLUGIN_RELAY], [#undef PLUGIN_RELAY])
|
||||
AH_VERBATIM([PLUGIN_RMODIFIER], [#undef PLUGIN_RMODIFIER])
|
||||
AH_VERBATIM([PLUGIN_PERL], [#undef PLUGIN_PERL])
|
||||
AH_VERBATIM([PLUGIN_PYTHON], [#undef PLUGIN_PYTHON])
|
||||
AH_VERBATIM([PLUGIN_RUBY], [#undef PLUGIN_RUBY])
|
||||
AH_VERBATIM([PLUGIN_LUA], [#undef PLUGIN_LUA])
|
||||
AH_VERBATIM([PLUGIN_TCL], [#undef PLUGIN_TCL])
|
||||
AH_VERBATIM([PLUGIN_XFER], [#undef PLUGIN_XFER])
|
||||
AH_VERBATIM([DOC], [#undef DOC])
|
||||
|
||||
# Arguments for ./configure
|
||||
|
||||
@@ -864,6 +865,25 @@ if test "x$debug" != "x0" ; then
|
||||
fi
|
||||
fi
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
# eat_newline_glitch
|
||||
# ------------------------------------------------------------------------------
|
||||
|
||||
enable_eatnewlineglitch="no"
|
||||
AC_CACHE_CHECK([for eat_newline_glitch support], ac_have_eatnewlineglitch, [
|
||||
AC_COMPILE_IFELSE([AC_LANG_PROGRAM(
|
||||
[[ #include <term.h> ]],
|
||||
[[ eat_newline_glitch = 0; ]])],
|
||||
[ ac_have_eatnewlineglitch="yes" ],
|
||||
[ ac_have_eatnewlineglitch="no" ])])
|
||||
|
||||
if test "x$ac_have_eatnewlineglitch" = "xyes"; then
|
||||
enable_eatnewlineglitch="yes"
|
||||
AC_DEFINE(HAVE_EAT_NEWLINE_GLITCH)
|
||||
else
|
||||
not_found="$not_found eat_newline_glitch"
|
||||
fi
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
# documentation
|
||||
# ------------------------------------------------------------------------------
|
||||
@@ -981,29 +1001,30 @@ CFLAGS="$CFLAGS -DWEECHAT_VERSION=\\\"$VERSION\\\" -DWEECHAT_LICENSE=\\\"$LICENS
|
||||
# output Makefiles
|
||||
# ------------------------------------------------------------------------------
|
||||
|
||||
AM_CONDITIONAL(HAVE_GCRYPT, test "$enable_gcrypt" = "yes")
|
||||
AM_CONDITIONAL(HAVE_GNUTLS, test "$enable_gnutls" = "yes")
|
||||
AM_CONDITIONAL(HAVE_FLOCK, test "$enable_flock" = "yes")
|
||||
AM_CONDITIONAL(GUI_NCURSES, test "$enable_ncurses" = "yes")
|
||||
AM_CONDITIONAL(GUI_WXWIDGETS, test "$enable_wxwidgets" = "yes")
|
||||
AM_CONDITIONAL(GUI_GTK, test "$enable_gtk" = "yes")
|
||||
AM_CONDITIONAL(GUI_QT, test "$enable_qt" = "yes")
|
||||
AM_CONDITIONAL(PLUGIN_ALIAS, test "$enable_alias" = "yes")
|
||||
AM_CONDITIONAL(PLUGIN_ASPELL, test "$enable_aspell" = "yes")
|
||||
AM_CONDITIONAL(PLUGIN_CHARSET, test "$enable_charset" = "yes")
|
||||
AM_CONDITIONAL(PLUGIN_DEMO, test "$enable_demo" = "yes")
|
||||
AM_CONDITIONAL(PLUGIN_FIFO, test "$enable_fifo" = "yes")
|
||||
AM_CONDITIONAL(PLUGIN_IRC, test "$enable_irc" = "yes")
|
||||
AM_CONDITIONAL(PLUGIN_LOGGER, test "$enable_logger" = "yes")
|
||||
AM_CONDITIONAL(PLUGIN_RELAY, test "$enable_relay" = "yes")
|
||||
AM_CONDITIONAL(PLUGIN_RMODIFIER, test "$enable_rmodifier" = "yes")
|
||||
AM_CONDITIONAL(PLUGIN_PERL, test "$enable_perl" = "yes")
|
||||
AM_CONDITIONAL(PLUGIN_PYTHON, test "$enable_python" = "yes")
|
||||
AM_CONDITIONAL(PLUGIN_RUBY, test "$enable_ruby" = "yes")
|
||||
AM_CONDITIONAL(PLUGIN_LUA, test "$enable_lua" = "yes")
|
||||
AM_CONDITIONAL(PLUGIN_TCL, test "$enable_tcl" = "yes")
|
||||
AM_CONDITIONAL(PLUGIN_XFER, test "$enable_xfer" = "yes")
|
||||
AM_CONDITIONAL(DOC, test "$enable_doc" = "yes")
|
||||
AM_CONDITIONAL(HAVE_GCRYPT, test "$enable_gcrypt" = "yes")
|
||||
AM_CONDITIONAL(HAVE_GNUTLS, test "$enable_gnutls" = "yes")
|
||||
AM_CONDITIONAL(HAVE_FLOCK, test "$enable_flock" = "yes")
|
||||
AM_CONDITIONAL(HAVE_EAT_NEWLINE_GLITCH, test "$enable_eatnewlineglitch" = "yes")
|
||||
AM_CONDITIONAL(GUI_NCURSES, test "$enable_ncurses" = "yes")
|
||||
AM_CONDITIONAL(GUI_WXWIDGETS, test "$enable_wxwidgets" = "yes")
|
||||
AM_CONDITIONAL(GUI_GTK, test "$enable_gtk" = "yes")
|
||||
AM_CONDITIONAL(GUI_QT, test "$enable_qt" = "yes")
|
||||
AM_CONDITIONAL(PLUGIN_ALIAS, test "$enable_alias" = "yes")
|
||||
AM_CONDITIONAL(PLUGIN_ASPELL, test "$enable_aspell" = "yes")
|
||||
AM_CONDITIONAL(PLUGIN_CHARSET, test "$enable_charset" = "yes")
|
||||
AM_CONDITIONAL(PLUGIN_DEMO, test "$enable_demo" = "yes")
|
||||
AM_CONDITIONAL(PLUGIN_FIFO, test "$enable_fifo" = "yes")
|
||||
AM_CONDITIONAL(PLUGIN_IRC, test "$enable_irc" = "yes")
|
||||
AM_CONDITIONAL(PLUGIN_LOGGER, test "$enable_logger" = "yes")
|
||||
AM_CONDITIONAL(PLUGIN_RELAY, test "$enable_relay" = "yes")
|
||||
AM_CONDITIONAL(PLUGIN_RMODIFIER, test "$enable_rmodifier" = "yes")
|
||||
AM_CONDITIONAL(PLUGIN_PERL, test "$enable_perl" = "yes")
|
||||
AM_CONDITIONAL(PLUGIN_PYTHON, test "$enable_python" = "yes")
|
||||
AM_CONDITIONAL(PLUGIN_RUBY, test "$enable_ruby" = "yes")
|
||||
AM_CONDITIONAL(PLUGIN_LUA, test "$enable_lua" = "yes")
|
||||
AM_CONDITIONAL(PLUGIN_TCL, test "$enable_tcl" = "yes")
|
||||
AM_CONDITIONAL(PLUGIN_XFER, test "$enable_xfer" = "yes")
|
||||
AM_CONDITIONAL(DOC, test "$enable_doc" = "yes")
|
||||
|
||||
AC_OUTPUT([Makefile
|
||||
doc/Makefile
|
||||
|
||||
Vendored
+11
-1
@@ -1,9 +1,19 @@
|
||||
weechat (0.3.1-1) unstable; urgency=low
|
||||
|
||||
This release introduces important changes with the usage of SSL. There
|
||||
are stronger checks while connecting with SSL. By default, if a connection
|
||||
is not fully trusted it will fail.
|
||||
You can find more information on how to handle this new behaviour here:
|
||||
http://dev.weechat.org/post/2009/12/01/SSL-certificates
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@debian.org> Mon, 25 Jan 2010 12:35:11 +0100
|
||||
|
||||
weechat (0.3.0-1) unstable; urgency=low
|
||||
|
||||
This release introduces major changes. Large part of code was
|
||||
rewritten without keeping compatibility with older versions.
|
||||
|
||||
Please refer to the file /usr/share/doc/weechat-core/UPGRADE_0.3
|
||||
for more informations on upgrade from a version 0.2.x to 0.3.x.
|
||||
for more information on upgrade from a version 0.2.x to 0.3.x.
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@openics.org> Tue, 15 Sep 2009 20:59:42 +0000
|
||||
|
||||
Vendored
+110
-9
@@ -1,3 +1,104 @@
|
||||
weechat (0.3.5-1) unstable; urgency=low
|
||||
|
||||
* New upstream release
|
||||
- Fix usage of deprecated _set_priority GnuTLS functions (Closes: #624055)
|
||||
* Remove patch added to fix crash when completing /part command
|
||||
* Bump Standards-Version to 3.9.2
|
||||
* Update debian/copyright, switch to DEP5 format
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@debian.org> Mon, 16 May 2011 11:40:09 +0000
|
||||
|
||||
weechat (0.3.4-2) unstable; urgency=low
|
||||
|
||||
* Add a patch which fix a crash when completing /part command on a
|
||||
non-irc buffer.
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@debian.org> Sun, 13 Feb 2011 21:13:35 +0000
|
||||
|
||||
weechat (0.3.4-1) unstable; urgency=low
|
||||
|
||||
* New upstream release (add relay and rmodifier plugins).
|
||||
* Update Build depends (tcl-dev, ruby-dev, asciidoc).
|
||||
* Remove the patch to make weechat aware of python 2.7 (merged upstream).
|
||||
* Remove the backported patch which fix the bug with hostmasks in IRC
|
||||
command /ignore.
|
||||
* Update lintian override on weechat-curses.
|
||||
* Update long descriptions regarding the new features.
|
||||
* Add source/local-options file.
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@debian.org> Sun, 16 Jan 2011 11:54:55 +0000
|
||||
|
||||
weechat (0.3.3-3) unstable; urgency=low
|
||||
|
||||
* Upload to unstable.
|
||||
* Downgrade tcl-dev dependency to 8.4 until tcl 8.5 hit unstable.
|
||||
* Add a patch to make cmake aware of python 2.7 (Closes: #606989).
|
||||
Thanks to Matthias Klose.
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@debian.org> Mon, 27 Dec 2010 23:29:46 +0000
|
||||
|
||||
weechat (0.3.3-2) experimental; urgency=low
|
||||
|
||||
* Switch to dpkg-source 3.0 (quilt) format
|
||||
* Add a patch to fix bug with hostmasks in IRC command /ignore
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@debian.org> Fri, 20 Aug 2010 20:39:06 +0000
|
||||
|
||||
weechat (0.3.3-1) experimental; urgency=low
|
||||
|
||||
* New upstream release
|
||||
* Add new doc-base files (German translations).
|
||||
* Update Standards-Version to 3.9.1
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@debian.org> Tue, 10 Aug 2010 11:23:14 +0000
|
||||
|
||||
weechat (0.3.2-2) experimental; urgency=low
|
||||
|
||||
* Fix Vcs-Browser url (Closes: #580859).
|
||||
* Rebuild against tcl-dev (>= 8.5) (Closes: #582588).
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@debian.org> Sun, 23 May 2010 08:32:37 +0000
|
||||
|
||||
weechat (0.3.2-1) unstable; urgency=low
|
||||
|
||||
* New upstream release
|
||||
- Add SASL authentication support (Closes: #574053)
|
||||
- Add Build-Depend on libgcrypt11-dev (needed by SASL auth.)
|
||||
* Fix build dependency against asciidoc (>=8.4 is needed). Thanks
|
||||
to Michal Suchanek who spotted this bug (Closes: #574050).
|
||||
* Update Standards-Version to 3.8.4
|
||||
* Add debian/source/format to make lintian happy.
|
||||
* Update lintian-override for weechat-curses manpage.
|
||||
* Add new doc-base files (italian translations).
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@debian.org> Sat, 20 Mar 2010 18:09:38 +0100
|
||||
|
||||
weechat (0.3.1.1-1) unstable; urgency=low
|
||||
|
||||
* New upstream release
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@debian.org> Sun, 31 Jan 2010 19:18:42 +0000
|
||||
|
||||
weechat (0.3.1-1) unstable; urgency=low
|
||||
|
||||
* New upstream release:
|
||||
- Add ssl client certificate support (Closes: #453348)
|
||||
- Fix a color bug in status line (Closes: #512957)
|
||||
* Remove patch 'fix_ftbfs_kfreebsd' (fixed upstream)
|
||||
* Maintainer became Debian Developer: adjust email, VCS and DM fields.
|
||||
* Update doc-base files:
|
||||
- Remove not needed asciidoc templates
|
||||
- Add new translations
|
||||
* Update debian/NEWS about new SSL behaviour.
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@debian.org> Sat, 16 Jan 2010 12:16:26 +0100
|
||||
|
||||
weechat (0.3.0-2) unstable; urgency=low
|
||||
|
||||
* Add a patch to fix a FTBFS on GNU/kFreeBSD.
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@openics.org> Sat, 03 Oct 2009 13:22:10 +0000
|
||||
|
||||
weechat (0.3.0-1) unstable; urgency=low
|
||||
|
||||
* New (final) upstream release.
|
||||
@@ -288,52 +389,52 @@ weechat (0.0.9-1) unstable; urgency=low
|
||||
|
||||
* WeeChat version 0.0.9, see ChangeLog for detail.
|
||||
|
||||
-- Sebastien Helleu <flashcode@flashtux.org> Sat, 01 Jan 2005 13:00:00 +0200
|
||||
-- FlashCode <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.
|
||||
|
||||
-- Sebastien Helleu <flashcode@flashtux.org> Sat, 30 Oct 2004 11:40:00 +0200
|
||||
-- FlashCode <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.
|
||||
|
||||
-- Sebastien Helleu <flashcode@flashtux.org> Sat, 08 Aug 2004 21:00:00 +0200
|
||||
-- FlashCode <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.
|
||||
|
||||
-- Sebastien Helleu <flashcode@flashtux.org> Sat, 05 Jun 2004 11:30:00 +0200
|
||||
-- FlashCode <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.
|
||||
|
||||
-- Sebastien Helleu <flashcode@flashtux.org> Sat, 07 Feb 2004 20:30:00 +0200
|
||||
-- FlashCode <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.
|
||||
|
||||
-- Sebastien Helleu <flashcode@flashtux.org> Thu, 01 Jan 2004 13:00:00 +0200
|
||||
-- FlashCode <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.
|
||||
|
||||
-- Sebastien Helleu <flashcode@flashtux.org> Mon, 03 Nov 2003 23:15:00 +0200
|
||||
-- FlashCode <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.
|
||||
|
||||
-- Sebastien Helleu <flashcode@flashtux.org> Sun, 05 Oct 2003 12:00:00 +0200
|
||||
-- FlashCode <flashcode@flashtux.org> Sun, 05 Oct 2003 12:00:00 +0200
|
||||
|
||||
weechat (0.0.1-1) unstable; urgency=low
|
||||
|
||||
* First version.
|
||||
|
||||
-- Sebastien Helleu <flashcode@flashtux.org> Sat, 27 Sep 2003 12:00:00 +0200
|
||||
-- FlashCode <flashcode@flashtux.org> Sat, 27 Sep 2003 12:00:00 +0200
|
||||
|
||||
Vendored
+22
-11
@@ -1,16 +1,15 @@
|
||||
Source: weechat
|
||||
Section: net
|
||||
Priority: optional
|
||||
Maintainer: Emmanuel Bouthenot <kolter@openics.org>
|
||||
Build-Depends-Indep: asciidoc (>= 8.5.0), source-highlight
|
||||
Maintainer: Emmanuel Bouthenot <kolter@debian.org>
|
||||
Build-Depends-Indep: asciidoc (>= 8.5), source-highlight
|
||||
Build-Depends: debhelper (>= 7.0.50), cmake, libncursesw5-dev,
|
||||
ruby, ruby1.8-dev, libperl-dev, python-dev, libaspell-dev, liblua5.1-0-dev,
|
||||
tcl8.5-dev, libgnutls-dev, dpkg-dev (>= 1.13.19), pkg-config
|
||||
Standards-Version: 3.8.3
|
||||
ruby1.9.1, ruby1.9.1-dev, libperl-dev, python-dev, libaspell-dev, liblua5.1-0-dev,
|
||||
tcl8.5-dev, libgcrypt11-dev, libgnutls-dev, dpkg-dev (>= 1.13.19), pkg-config
|
||||
Standards-Version: 3.9.2
|
||||
Homepage: http://weechat.org/
|
||||
Vcs-Git: git://git.debian.org/users/kolter-guest/weechat.git
|
||||
Vcs-Browser: http://git.debian.org/git/users/kolter-guest/weechat.git
|
||||
DM-Upload-Allowed: yes
|
||||
Vcs-Git: git://git.debian.org/users/kolter/weechat.git
|
||||
Vcs-Browser: http://git.debian.org/?p=users/kolter/weechat.git
|
||||
|
||||
Package: weechat
|
||||
Architecture: all
|
||||
@@ -21,10 +20,15 @@ Description: Fast, light and extensible chat client
|
||||
It is customizable and extensible with plugins/scripts, and includes:
|
||||
- nicklist
|
||||
- smart hotlist
|
||||
- infobar with highlight notification
|
||||
- horizontal and vertical split
|
||||
- double charset support (decode/encode)
|
||||
- FIFO pipe for remote control
|
||||
- 256 colors support
|
||||
- incremental text search
|
||||
- dynamic filtering of buffer content
|
||||
- Perl, Python, Ruby, Lua, and Tcl scripting
|
||||
- spell checking
|
||||
- highly customizable and extensible
|
||||
- and much more!
|
||||
|
||||
Package: weechat-curses
|
||||
@@ -39,10 +43,15 @@ Description: Fast, light and extensible chat client - console client
|
||||
It is customizable and extensible with plugins/scripts, and includes:
|
||||
- nicklist
|
||||
- smart hotlist
|
||||
- infobar with highlight notification
|
||||
- horizontal and vertical split
|
||||
- double charset support (decode/encode)
|
||||
- FIFO pipe for remote control
|
||||
- 256 colors support
|
||||
- incremental text search
|
||||
- dynamic filtering of buffer content
|
||||
- Perl, Python, Ruby, Lua, and Tcl scripting
|
||||
- spell checking
|
||||
- highly customizable and extensible
|
||||
- and much more!
|
||||
.
|
||||
This package provides the console client (ncurses).
|
||||
@@ -72,7 +81,9 @@ Description: Fast, light and extensible chat client - plugins
|
||||
ships the following plugins:
|
||||
- Perl, Python, Ruby, Lua, and Tcl scripting
|
||||
- Spell checking (thanks to aspell)
|
||||
- And many others (Fifo, ...)
|
||||
- FIFO pipe for remote control
|
||||
- IRC proxy
|
||||
- Realtime input/output changes through regular expressions
|
||||
|
||||
Package: weechat-doc
|
||||
Section: doc
|
||||
|
||||
Vendored
+29
-19
@@ -1,22 +1,32 @@
|
||||
This package was debianized by Sebastien Helleu <flashcode@flashtux.org> on
|
||||
Sat, 21 May 2005 08:00:00 +0200.
|
||||
Format: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=174
|
||||
Upstream-Name: weechat
|
||||
Upstream-Contact: Sebastien Helleu <flashcode@flashtux.org>
|
||||
Source: http://weechat.org/
|
||||
|
||||
It was downloaded from http://weechat.org/files/src/
|
||||
Files: *
|
||||
Copyright: 2003-2011, Sebastien Helleu <flashcode@flashtux.org>
|
||||
2005-2009, Emmanuel Bouthenot <kolter@openics.org>
|
||||
2008-2009, Dmitry Kobylin <fnfal@academ.tsc.ru>
|
||||
License: GPL-3+
|
||||
|
||||
Copyright:
|
||||
Copyright (C) (2003-2011) Sebastien Helleu <flashcode@flashtux.org>
|
||||
Copyright (C) (2005-2011) Emmanuel Bouthenot <kolter@openics.org>
|
||||
Copyright (C) (2008-2010) Dmitry Kobylin <fnfal@academ.tsc.ru> (tcl plugin)
|
||||
Files: debian/*
|
||||
Copyright: 2005-2008, Julien Louis <ptitlouis@sysif.net>
|
||||
2008-2011, Emmanuel Bouthenot <kolter@openics.org>
|
||||
License: GPL-3+
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 3 of the License, or (at
|
||||
your option) any later version.
|
||||
|
||||
On Debian systems, the complete text of the GNU General Public
|
||||
License, Version 3 can be found in the file
|
||||
/usr/share/common-licenses/GPL-3
|
||||
|
||||
Debian packaging (licensed under the GPLv3):
|
||||
Copyright(C) 2005-2008, Julien Louis <ptitlouis@sysif.net>
|
||||
Copyright(C) 2008-2011, Emmanuel Bouthenot <kolter@openics.org>
|
||||
License: GPL-3+
|
||||
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 this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
.
|
||||
On Debian systems, the complete text of the GNU General Public License,
|
||||
Version 3 can be found in the file /usr/share/common-licenses/GPL-3
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
weechat-curses: manpage-has-errors-from-man usr/share/man/man1/weechat-curses.1.gz 54: warning [p 1, 8.2i]: cannot adjust line
|
||||
weechat-curses: manpage-has-errors-from-man usr/share/man/man1/weechat-curses.1.gz 61: warning [p 1, 9.0i]: cannot adjust line
|
||||
|
||||
Vendored
+10
@@ -0,0 +1,10 @@
|
||||
Document: weechat-faq-de
|
||||
Title: WeeChat FAQ (German)
|
||||
Author: Sebastien Helleu
|
||||
Abstract: This document answers frequently asked questions
|
||||
about the WeeChat IRC client (German version).
|
||||
Section: Network/Communication
|
||||
|
||||
Format: HTML
|
||||
Index: /usr/share/doc/weechat-doc/weechat_faq.de.html
|
||||
Files: /usr/share/doc/weechat-doc/weechat_faq.de.html
|
||||
Vendored
-3
@@ -5,9 +5,6 @@ Abstract: This document answers frequently asked questions
|
||||
about the WeeChat IRC client (English version).
|
||||
Section: Network/Communication
|
||||
|
||||
Format: text
|
||||
Files: /usr/share/doc/weechat-doc/weechat_faq.en.txt.gz
|
||||
|
||||
Format: HTML
|
||||
Index: /usr/share/doc/weechat-doc/weechat_faq.en.html
|
||||
Files: /usr/share/doc/weechat-doc/weechat_faq.en.html
|
||||
|
||||
Vendored
-3
@@ -5,9 +5,6 @@ Abstract: This document answers frequently asked questions
|
||||
about the WeeChat IRC client (French version).
|
||||
Section: Network/Communication
|
||||
|
||||
Format: text
|
||||
Files: /usr/share/doc/weechat-doc/weechat_faq.fr.txt.gz
|
||||
|
||||
Format: HTML
|
||||
Index: /usr/share/doc/weechat-doc/weechat_faq.fr.html
|
||||
Files: /usr/share/doc/weechat-doc/weechat_faq.fr.html
|
||||
|
||||
Vendored
+10
@@ -0,0 +1,10 @@
|
||||
Document: weechat-faq-it
|
||||
Title: WeeChat FAQ (Italian)
|
||||
Author: Sebastien Helleu
|
||||
Abstract: This document answers frequently asked questions
|
||||
about the WeeChat IRC client (Italian version).
|
||||
Section: Network/Communication
|
||||
|
||||
Format: HTML
|
||||
Index: /usr/share/doc/weechat-doc/weechat_faq.it.html
|
||||
Files: /usr/share/doc/weechat-doc/weechat_faq.it.html
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
Document: weechat-plugin-it
|
||||
Title: WeeChat plugins API (Italian)
|
||||
Author: Sebastien Helleu
|
||||
Abstract: This document describes the API to create plugins
|
||||
for WeeChat (Italian version).
|
||||
Section: Network/Communication
|
||||
|
||||
Format: HTML
|
||||
Index: /usr/share/doc/weechat-doc/weechat_plugin_api.it.html
|
||||
Files: /usr/share/doc/weechat-doc/weechat_plugin_api.it.html
|
||||
-3
@@ -4,9 +4,6 @@ Author: Sebastien Helleu
|
||||
Abstract: A short HowTo for new WeeChat users (English version).
|
||||
Section: Network/Communication
|
||||
|
||||
Format: text
|
||||
Files: /usr/share/doc/weechat-doc/weechat_quickstart.en.txt.gz
|
||||
|
||||
Format: HTML
|
||||
Index: /usr/share/doc/weechat-doc/weechat_quickstart.en.html
|
||||
Files: /usr/share/doc/weechat-doc/weechat_quickstart.en.html
|
||||
|
||||
-3
@@ -4,9 +4,6 @@ Author: Sebastien Helleu
|
||||
Abstract: A short HowTo for new WeeChat users (French version).
|
||||
Section: Network/Communication
|
||||
|
||||
Format: text
|
||||
Files: /usr/share/doc/weechat-doc/weechat_quickstart.fr.txt.gz
|
||||
|
||||
Format: HTML
|
||||
Index: /usr/share/doc/weechat-doc/weechat_quickstart.fr.html
|
||||
Files: /usr/share/doc/weechat-doc/weechat_quickstart.fr.html
|
||||
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
Document: weechat-quickstart-it
|
||||
Title: WeeChat Quickstart (Italian)
|
||||
Author: Sebastien Helleu
|
||||
Abstract: A short HowTo for new WeeChat users (Italian version).
|
||||
Section: Network/Communication
|
||||
|
||||
Format: HTML
|
||||
Index: /usr/share/doc/weechat-doc/weechat_quickstart.it.html
|
||||
Files: /usr/share/doc/weechat-doc/weechat_quickstart.it.html
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
Document: weechat-quickstart-ja
|
||||
Title: WeeChat Quickstart (Japanese)
|
||||
Author: Sebastien Helleu
|
||||
Abstract: A short HowTo for new WeeChat users (Japanese version).
|
||||
Section: Network/Communication
|
||||
|
||||
Format: HTML
|
||||
Index: /usr/share/doc/weechat-doc/weechat_quickstart.ja.html
|
||||
Files: /usr/share/doc/weechat-doc/weechat_quickstart.ja.html
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
Document: weechat-scripting-de
|
||||
Title: WeeChat Scripting Guide (German)
|
||||
Author: Sebastien Helleu
|
||||
Abstract: This document describes the API to create scripts
|
||||
for WeeChat (German version).
|
||||
Section: Network/Communication
|
||||
|
||||
Format: HTML
|
||||
Index: /usr/share/doc/weechat-doc/weechat_scripting.de.html
|
||||
Files: /usr/share/doc/weechat-doc/weechat_scripting.de.html
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
Document: weechat-scripting-it
|
||||
Title: WeeChat Scripting Guide (Italian)
|
||||
Author: Sebastien Helleu
|
||||
Abstract: This document describes the API to create scripts
|
||||
for WeeChat (Italian version).
|
||||
Section: Network/Communication
|
||||
|
||||
Format: HTML
|
||||
Index: /usr/share/doc/weechat-doc/weechat_scripting.it.html
|
||||
Files: /usr/share/doc/weechat-doc/weechat_scripting.it.html
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
Document: weechat-tester-de
|
||||
Title: WeeChat Tester's Guide (German)
|
||||
Author: Sebastien Helleu
|
||||
Abstract: This document describes how to test and report
|
||||
bugs against the WeeChat IRC Client (German version).
|
||||
Section: Network/Communication
|
||||
|
||||
Format: HTML
|
||||
Index: /usr/share/doc/weechat-doc/weechat_tester.de.html
|
||||
Files: /usr/share/doc/weechat-doc/weechat_tester.de.html
|
||||
-3
@@ -5,9 +5,6 @@ Abstract: This document describes how to test and report
|
||||
bugs against the WeeChat IRC Client (English version).
|
||||
Section: Network/Communication
|
||||
|
||||
Format: text
|
||||
Files: /usr/share/doc/weechat-doc/weechat_tester.en.txt.gz
|
||||
|
||||
Format: HTML
|
||||
Index: /usr/share/doc/weechat-doc/weechat_tester.en.html
|
||||
Files: /usr/share/doc/weechat-doc/weechat_tester.en.html
|
||||
|
||||
-3
@@ -5,9 +5,6 @@ Abstract: This document describes how to test and report
|
||||
bugs against the WeeChat IRC Client (French version).
|
||||
Section: Network/Communication
|
||||
|
||||
Format: text
|
||||
Files: /usr/share/doc/weechat-doc/weechat_tester.fr.txt.gz
|
||||
|
||||
Format: HTML
|
||||
Index: /usr/share/doc/weechat-doc/weechat_tester.fr.html
|
||||
Files: /usr/share/doc/weechat-doc/weechat_tester.fr.html
|
||||
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
Document: weechat-tester-it
|
||||
Title: WeeChat Tester's Guide (Italian)
|
||||
Author: Sebastien Helleu
|
||||
Abstract: This document describes how to test and report
|
||||
bugs against the WeeChat IRC Client (Italian version).
|
||||
Section: Network/Communication
|
||||
|
||||
Format: HTML
|
||||
Index: /usr/share/doc/weechat-doc/weechat_tester.it.html
|
||||
Files: /usr/share/doc/weechat-doc/weechat_tester.it.html
|
||||
Vendored
+10
@@ -0,0 +1,10 @@
|
||||
Document: weechat-user-de
|
||||
Title: WeeChat User's Guide (German)
|
||||
Author: Sebastien Helleu
|
||||
Abstract: This manual describes how to use the WeeChat
|
||||
IRC client (German version).
|
||||
Section: Network/Communication
|
||||
|
||||
Format: HTML
|
||||
Index: /usr/share/doc/weechat-doc/weechat_user.de.html
|
||||
Files: /usr/share/doc/weechat-doc/weechat_user.de.html
|
||||
Vendored
+10
@@ -0,0 +1,10 @@
|
||||
Document: weechat-user-it
|
||||
Title: WeeChat User's Guide (Italian)
|
||||
Author: Sebastien Helleu
|
||||
Abstract: This manual describes how to use the WeeChat
|
||||
IRC client (Italian version).
|
||||
Section: Network/Communication
|
||||
|
||||
Format: HTML
|
||||
Index: /usr/share/doc/weechat-doc/weechat_user.it.html
|
||||
Files: /usr/share/doc/weechat-doc/weechat_user.it.html
|
||||
Vendored
-6
@@ -1,6 +0,0 @@
|
||||
doc/en/weechat_faq.en.txt
|
||||
doc/en/weechat_quickstart.en.txt
|
||||
doc/en/weechat_tester.en.txt
|
||||
doc/fr/weechat_faq.fr.txt
|
||||
doc/fr/weechat_quickstart.fr.txt
|
||||
doc/fr/weechat_tester.fr.txt
|
||||
+4
-1
@@ -22,4 +22,7 @@ SUBDIRS = . en fr pl de ru ja it
|
||||
|
||||
man_MANS = weechat-curses.1
|
||||
|
||||
EXTRA_DIST = $(man_MANS) docgen.pl CMakeLists.txt asciidoc.conf asciidoc.css
|
||||
EXTRA_DIST = $(man_MANS) docgen.py CMakeLists.txt asciidoc.conf asciidoc.css
|
||||
|
||||
uninstall-hook:
|
||||
-rmdir $(DESTDIR)$(datadir)/doc/$(PACKAGE)
|
||||
|
||||
@@ -1,8 +1,12 @@
|
||||
[replacements]
|
||||
@k\(C-\)=<span class="key ctrl">Ctrl</span><span class="keyplus">+</span>
|
||||
@k\(-C-\)=<span class="key ctrl">Ctrl</span>
|
||||
@k\(A-\)=<span class="key alt">Alt</span><span class="keyplus">+</span>
|
||||
@k\(-A-\)=<span class="key alt">Alt</span>
|
||||
@k\(S-\)=<span class="key shift">Shift</span><span class="keyplus">+</span>
|
||||
@k\(-S-\)=<span class="key shift">Shift</span>
|
||||
@k\(l\)=<span class="key">l</span><span class="keyplus"> (L)</span>
|
||||
@k\(([A-Za-z0-9_&\=])\)=<span class="key">\1</span>
|
||||
@k\(([a-z0-9_&\=][^)]*)\)=<span class="key">\1</span>
|
||||
@k\(([^)]+)\)=<span class="key other">\1</span>
|
||||
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
body {
|
||||
margin: 1em 2em 1em 2em;
|
||||
}
|
||||
div.sectionbody {
|
||||
font-family: serif,Helvetica,arial;
|
||||
}
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
# user's guide
|
||||
ADD_CUSTOM_COMMAND(
|
||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.de.html
|
||||
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a toclevels=4 -a toc-title='Inhaltsverzeichnis' -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.de.txt
|
||||
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a lang=de -a toc -a toclevels=4 -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -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
|
||||
@@ -32,7 +32,7 @@ INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.de.html DESTINATION ${SHA
|
||||
# scripting guide
|
||||
ADD_CUSTOM_COMMAND(
|
||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.de.html
|
||||
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a toclevels=3 -a toc-title='Inhaltsverzeichnis' -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_scripting.de.txt
|
||||
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a lang=de -a toc -a toclevels=3 -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_scripting.de.txt
|
||||
DEPENDS
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/weechat_scripting.de.txt
|
||||
COMMENT "Building weechat_scripting.de.html"
|
||||
@@ -43,7 +43,7 @@ INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.de.html DESTINATION
|
||||
# FAQ
|
||||
ADD_CUSTOM_COMMAND(
|
||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.de.html
|
||||
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a toc-title='Inhaltsverzeichnis' -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.de.txt
|
||||
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a lang=de -a toc -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.de.txt
|
||||
DEPENDS
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.de.txt
|
||||
COMMENT "Building weechat_faq.de.html"
|
||||
@@ -54,7 +54,7 @@ INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.de.html DESTINATION ${SHAR
|
||||
# quickstart
|
||||
ADD_CUSTOM_COMMAND(
|
||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.de.html
|
||||
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a toc-title='Inhaltsverzeichnis' -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.de.txt
|
||||
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a lang=de -a toc -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.de.txt
|
||||
DEPENDS
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.de.txt
|
||||
COMMENT "Building weechat_quickstart.de.html"
|
||||
@@ -65,7 +65,7 @@ INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.de.html DESTINATION
|
||||
# tester's guide
|
||||
ADD_CUSTOM_COMMAND(
|
||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.de.html
|
||||
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a toc-title='Inhaltsverzeichnis' -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.de.txt
|
||||
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a lang=de -a toc -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.de.txt
|
||||
DEPENDS
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.de.txt
|
||||
COMMENT "Building weechat_tester.de.html"
|
||||
|
||||
+11
-5
@@ -36,23 +36,23 @@ all-local: weechat_user.de.html \
|
||||
|
||||
# user's guide
|
||||
weechat_user.de.html: weechat_user.de.txt $(wildcard autogen/user/*.txt)
|
||||
$(ASCIIDOC) -a toc -a toclevels=3 -a toc-title='Inhaltsverzeichnis' -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_user.de.html weechat_user.de.txt
|
||||
$(ASCIIDOC) -a lang=de -a toc -a toclevels=3 -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_user.de.html $(abs_top_srcdir)/doc/de/weechat_user.de.txt
|
||||
|
||||
# scripting guide
|
||||
weechat_scripting.de.html: weechat_scripting.de.txt
|
||||
$(ASCIIDOC) -a toc -a toclevels=3 -a toc-title='Inhaltsverzeichnis' -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_scripting.de.html weechat_scripting.de.txt
|
||||
$(ASCIIDOC) -a lang=de -a toc -a toclevels=3 -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_scripting.de.html $(abs_top_srcdir)/doc/de/weechat_scripting.de.txt
|
||||
|
||||
# FAQ
|
||||
weechat_faq.de.html: weechat_faq.de.txt
|
||||
$(ASCIIDOC) -a toc -a toc-title='Inhaltsverzeichnis' -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_faq.de.html weechat_faq.de.txt
|
||||
$(ASCIIDOC) -a lang=de -a toc -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_faq.de.html $(abs_top_srcdir)/doc/de/weechat_faq.de.txt
|
||||
|
||||
# quickstart
|
||||
weechat_quickstart.de.html: weechat_quickstart.de.txt
|
||||
$(ASCIIDOC) -a toc -a toc-title='Inhaltsverzeichnis' -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_quickstart.de.html weechat_quickstart.de.txt
|
||||
$(ASCIIDOC) -a lang=de -a toc -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_quickstart.de.html $(abs_top_srcdir)/doc/de/weechat_quickstart.de.txt
|
||||
|
||||
# tester's guide
|
||||
weechat_tester.de.html: weechat_tester.de.txt
|
||||
$(ASCIIDOC) -a toc -a toc-title='Inhaltsverzeichnis' -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_tester.de.html weechat_tester.de.txt
|
||||
$(ASCIIDOC) -a lang=de -a toc -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_tester.de.html $(abs_top_srcdir)/doc/de/weechat_tester.de.txt
|
||||
|
||||
# install docs
|
||||
|
||||
@@ -60,6 +60,12 @@ install-data-hook:
|
||||
$(mkinstalldirs) $(DESTDIR)$(docdir)/
|
||||
$(INSTALL_DATA) *.html $(DESTDIR)$(docdir)/
|
||||
|
||||
# uninstall docs
|
||||
|
||||
uninstall-hook:
|
||||
$(RM) $(DESTDIR)$(docdir)/*.de.html
|
||||
-rmdir $(DESTDIR)$(docdir)
|
||||
|
||||
# clean
|
||||
|
||||
clean-local:
|
||||
|
||||
@@ -78,6 +78,8 @@
|
||||
|
||||
| weechat | config_options | Konfigurationsoptionen
|
||||
|
||||
| weechat | cursor_areas | Bereiche ("chat" oder Name einer Bar) in denen der Cursor frei bewegt werden kann
|
||||
|
||||
| weechat | filename | Dateinamen
|
||||
|
||||
| weechat | filters_names | Liste der Filter
|
||||
@@ -90,6 +92,8 @@
|
||||
|
||||
| weechat | keys_codes_for_reset | Tastenbelegungen die zurückgesetzt werden können (hinzugefügte/verändert/gelöschte Tastenbelegungen)
|
||||
|
||||
| weechat | keys_contexts | Tastaturkontext
|
||||
|
||||
| weechat | nicks | Nicks in Nickliste des aktuellen Buffers
|
||||
|
||||
| weechat | palette_colors | Farbpalette
|
||||
@@ -104,6 +108,8 @@
|
||||
|
||||
| weechat | weechat_commands | WeeChat Befehle
|
||||
|
||||
| weechat | windows_numbers | Nummern der Fenster
|
||||
|
||||
| xfer | nick | Nicks vom DCC Chat
|
||||
|
||||
|========================================
|
||||
|
||||
@@ -0,0 +1,556 @@
|
||||
[width="100%",cols="^1,^2,5,5,5",options="header"]
|
||||
|========================================
|
||||
| Erweiterung | Name | Beschreibung | Variablen | Listen
|
||||
|
||||
| irc | irc_channel | IRC-Channel |
|
||||
'type' (integer) +
|
||||
'name' (string) +
|
||||
'topic' (string) +
|
||||
'modes' (string) +
|
||||
'limit' (integer) +
|
||||
'key' (string) +
|
||||
'checking_away' (integer) +
|
||||
'away_message' (string) +
|
||||
'has_quit_server' (integer) +
|
||||
'cycle' (integer) +
|
||||
'part' (integer) +
|
||||
'display_creation_date' (integer) +
|
||||
'nick_completion_reset' (integer) +
|
||||
'pv_remote_nick_color' (string) +
|
||||
'hook_autorejoin' (pointer) +
|
||||
'nicks_count' (integer) +
|
||||
'nicks' (pointer, hdata: 'irc_nick') +
|
||||
'last_nick' (pointer, hdata: 'irc_nick') +
|
||||
'nicks_speaking' (pointer) +
|
||||
'nicks_speaking_time' (pointer, hdata: 'irc_channel_speaking') +
|
||||
'last_nick_speaking_time' (pointer, hdata: 'irc_channel_speaking') +
|
||||
'buffer' (pointer, hdata: 'buffer') +
|
||||
'buffer_as_string' (string) +
|
||||
'prev_channel' (pointer, hdata: 'irc_channel') +
|
||||
'next_channel' (pointer, hdata: 'irc_channel') |
|
||||
-
|
||||
|
||||
| irc | irc_channel_speaking | IRC channel_speaking |
|
||||
'nick' (string) +
|
||||
'time_last_message' (time) +
|
||||
'prev_nick' (pointer, hdata: 'irc_channel_speaking') +
|
||||
'next_nick' (pointer, hdata: 'irc_channel_speaking') |
|
||||
-
|
||||
|
||||
| irc | irc_ignore | IRC ignorieren |
|
||||
'number' (integer) +
|
||||
'mask' (string) +
|
||||
'regex_mask' (pointer) +
|
||||
'server' (string) +
|
||||
'channel' (string) +
|
||||
'prev_ignore' (pointer, hdata: 'irc_ignore') +
|
||||
'next_ignore' (pointer, hdata: 'irc_ignore') |
|
||||
'irc_ignore_list' +
|
||||
'last_irc_ignore'
|
||||
|
||||
| irc | irc_nick | IRC-Nick |
|
||||
'name' (string) +
|
||||
'host' (string) +
|
||||
'prefixes' (string) +
|
||||
'prefix' (string) +
|
||||
'away' (integer) +
|
||||
'color' (string) +
|
||||
'prev_nick' (pointer, hdata: 'irc_nick') +
|
||||
'next_nick' (pointer, hdata: 'irc_nick') |
|
||||
-
|
||||
|
||||
| irc | irc_notify | IRC-Benachrichtigungen |
|
||||
'server' (pointer, hdata: 'irc_server') +
|
||||
'nick' (string) +
|
||||
'check_away' (integer) +
|
||||
'is_on_server' (integer) +
|
||||
'away_message' (string) +
|
||||
'ison_received' (integer) +
|
||||
'prev_notify' (pointer, hdata: 'irc_notify') +
|
||||
'next_notify' (pointer, hdata: 'irc_notify') |
|
||||
-
|
||||
|
||||
| irc | irc_redirect | IRC Umlenkung |
|
||||
'server' (pointer, hdata: 'irc_server') +
|
||||
'pattern' (string) +
|
||||
'signal' (string) +
|
||||
'count' (integer) +
|
||||
'current_count' (integer) +
|
||||
'string' (string) +
|
||||
'timeout' (integer) +
|
||||
'command' (string) +
|
||||
'start_time' (time) +
|
||||
'cmd_start' (pointer) +
|
||||
'cmd_stop' (pointer) +
|
||||
'cmd_extra' (pointer) +
|
||||
'cmd_start_received' (integer) +
|
||||
'cmd_stop_received' (integer) +
|
||||
'cmd_filter' (pointer) +
|
||||
'output' (string) +
|
||||
'output_size' (integer) +
|
||||
'prev_redirect' (pointer, hdata: 'irc_redirect') +
|
||||
'next_redirect' (pointer, hdata: 'irc_redirect') |
|
||||
-
|
||||
|
||||
| irc | irc_redirect_pattern | Muster für IRC Umlenkung |
|
||||
'name' (string) +
|
||||
'temp_pattern' (integer) +
|
||||
'timeout' (integer) +
|
||||
'cmd_start' (string) +
|
||||
'cmd_stop' (string) +
|
||||
'cmd_extra' (string) +
|
||||
'prev_redirect' (pointer, hdata: 'irc_redirect_pattern') +
|
||||
'next_redirect' (pointer, hdata: 'irc_redirect_pattern') |
|
||||
'irc_redirect_patterns' +
|
||||
'last_irc_redirect_pattern'
|
||||
|
||||
| irc | irc_server | IRC-Server |
|
||||
'name' (string) +
|
||||
'options' (pointer) +
|
||||
'temp_server' (integer) +
|
||||
'reloading_from_config' (integer) +
|
||||
'reloaded_from_config' (integer) +
|
||||
'addresses_count' (integer) +
|
||||
'addresses_array' (pointer) +
|
||||
'ports_array' (pointer) +
|
||||
'index_current_address' (integer) +
|
||||
'current_address' (string) +
|
||||
'current_ip' (string) +
|
||||
'current_port' (integer) +
|
||||
'sock' (integer) +
|
||||
'hook_connect' (pointer, hdata: 'hook') +
|
||||
'hook_fd' (pointer, hdata: 'hook') +
|
||||
'hook_timer_connection' (pointer, hdata: 'hook') +
|
||||
'hook_timer_sasl' (pointer, hdata: 'hook') +
|
||||
'is_connected' (integer) +
|
||||
'ssl_connected' (integer) +
|
||||
'gnutls_sess' (other) +
|
||||
'tls_cert' (other) +
|
||||
'tls_cert_key' (other) +
|
||||
'unterminated_message' (string) +
|
||||
'nicks_count' (integer) +
|
||||
'nicks_array' (pointer) +
|
||||
'nick_first_tried' (integer) +
|
||||
'nick' (string) +
|
||||
'nick_modes' (string) +
|
||||
'isupport' (string) +
|
||||
'prefix_modes' (string) +
|
||||
'prefix_chars' (string) +
|
||||
'nick_max_length' (integer) +
|
||||
'reconnect_delay' (integer) +
|
||||
'reconnect_start' (time) +
|
||||
'command_time' (time) +
|
||||
'reconnect_join' (integer) +
|
||||
'disable_autojoin' (integer) +
|
||||
'is_away' (integer) +
|
||||
'away_message' (string) +
|
||||
'away_time' (time) +
|
||||
'lag' (integer) +
|
||||
'lag_check_time' (other) +
|
||||
'lag_next_check' (time) +
|
||||
'lag_last_refresh' (time) +
|
||||
'cmd_list_regexp' (pointer) +
|
||||
'last_user_message' (time) +
|
||||
'last_away_check' (time) +
|
||||
'outqueue' (pointer) +
|
||||
'last_outqueue' (pointer) +
|
||||
'redirects' (pointer, hdata: 'irc_redirect') +
|
||||
'last_redirect' (pointer, hdata: 'irc_redirect') +
|
||||
'notify_list' (pointer, hdata: 'irc_notify') +
|
||||
'last_notify' (pointer, hdata: 'irc_notify') +
|
||||
'manual_joins' (pointer) +
|
||||
'buffer' (pointer, hdata: 'buffer') +
|
||||
'buffer_as_string' (string) +
|
||||
'channels' (pointer, hdata: 'irc_channel') +
|
||||
'last_channel' (pointer, hdata: 'irc_channel') +
|
||||
'prev_server' (pointer, hdata: 'irc_server') +
|
||||
'next_server' (pointer, hdata: 'irc_server') |
|
||||
'irc_servers' +
|
||||
'last_irc_server'
|
||||
|
||||
| weechat | bar | Bar |
|
||||
'name' (string) +
|
||||
'options' (pointer) +
|
||||
'conditions_count' (integer) +
|
||||
'conditions_array' (pointer) +
|
||||
'items_count' (integer) +
|
||||
'items_subcount' (pointer) +
|
||||
'items_array' (pointer) +
|
||||
'items_prefix' (pointer) +
|
||||
'items_name' (pointer) +
|
||||
'items_suffix' (pointer) +
|
||||
'bar_window' (pointer, hdata: 'bar_window') +
|
||||
'bar_refresh_needed' (integer) +
|
||||
'prev_bar' (pointer, hdata: 'bar') +
|
||||
'next_bar' (pointer, hdata: 'bar') |
|
||||
'gui_bars' +
|
||||
'last_gui_bar'
|
||||
|
||||
| weechat | bar_item | Bar-Item |
|
||||
'plugin' (pointer, hdata: 'plugin') +
|
||||
'name' (string) +
|
||||
'build_callback' (pointer) +
|
||||
'build_callback_data' (pointer) +
|
||||
'prev_item' (pointer, hdata: 'bar_item') +
|
||||
'next_item' (pointer, hdata: 'bar_item') |
|
||||
'gui_bar_items' +
|
||||
'last_gui_bar_item'
|
||||
|
||||
| weechat | bar_window | Bar-Fenster |
|
||||
'bar' (pointer, hdata: 'bar') +
|
||||
'x' (integer) +
|
||||
'y' (integer) +
|
||||
'width' (integer) +
|
||||
'height' (integer) +
|
||||
'scroll_x' (integer) +
|
||||
'scroll_y' (integer) +
|
||||
'cursor_x' (integer) +
|
||||
'cursor_y' (integer) +
|
||||
'current_size' (integer) +
|
||||
'items_count' (integer) +
|
||||
'items_subcount' (pointer) +
|
||||
'items_content' (pointer) +
|
||||
'items_num_lines' (pointer) +
|
||||
'items_refresh_needed' (pointer) +
|
||||
'screen_col_size' (integer) +
|
||||
'coords_count' (integer) +
|
||||
'coords' (pointer) +
|
||||
'gui_objects' (pointer) +
|
||||
'prev_bar_window' (pointer, hdata: 'bar_window') +
|
||||
'next_bar_window' (pointer, hdata: 'bar_window') |
|
||||
-
|
||||
|
||||
| weechat | buffer | Buffer |
|
||||
'plugin' (pointer, hdata: 'plugin') +
|
||||
'plugin_name_for_upgrade' (string) +
|
||||
'number' (integer) +
|
||||
'layout_number' (integer) +
|
||||
'layout_number_merge_order' (integer) +
|
||||
'name' (string) +
|
||||
'short_name' (string) +
|
||||
'type' (integer) +
|
||||
'notify' (integer) +
|
||||
'num_displayed' (integer) +
|
||||
'active' (integer) +
|
||||
'print_hooks_enabled' (integer) +
|
||||
'close_callback' (pointer) +
|
||||
'close_callback_data' (pointer) +
|
||||
'title' (string) +
|
||||
'own_lines' (pointer, hdata: 'lines') +
|
||||
'mixed_lines' (pointer, hdata: 'lines') +
|
||||
'lines' (pointer, hdata: 'lines') +
|
||||
'time_for_each_line' (integer) +
|
||||
'chat_refresh_needed' (integer) +
|
||||
'nicklist' (integer) +
|
||||
'nicklist_case_sensitive' (integer) +
|
||||
'nicklist_root' (pointer, hdata: 'nick_group') +
|
||||
'nicklist_max_length' (integer) +
|
||||
'nicklist_display_groups' (integer) +
|
||||
'nicklist_visible_count' (integer) +
|
||||
'input' (integer) +
|
||||
'input_callback' (pointer) +
|
||||
'input_callback_data' (pointer) +
|
||||
'input_get_unknown_commands' (integer) +
|
||||
'input_buffer' (string) +
|
||||
'input_buffer_alloc' (integer) +
|
||||
'input_buffer_size' (integer) +
|
||||
'input_buffer_length' (integer) +
|
||||
'input_buffer_pos' (integer) +
|
||||
'input_buffer_1st_display' (integer) +
|
||||
'input_undo_snap' (pointer, hdata: 'input_undo') +
|
||||
'input_undo' (pointer, hdata: 'input_undo') +
|
||||
'last_input_undo' (pointer, hdata: 'input_undo') +
|
||||
'ptr_input_undo' (pointer, hdata: 'input_undo') +
|
||||
'input_undo_count' (integer) +
|
||||
'completion' (pointer, hdata: 'completion') +
|
||||
'history' (pointer, hdata: 'history') +
|
||||
'last_history' (pointer, hdata: 'history') +
|
||||
'ptr_history' (pointer, hdata: 'history') +
|
||||
'num_history' (integer) +
|
||||
'text_search' (integer) +
|
||||
'text_search_exact' (integer) +
|
||||
'text_search_found' (integer) +
|
||||
'text_search_input' (string) +
|
||||
'highlight_words' (string) +
|
||||
'highlight_regex' (string) +
|
||||
'highlight_regex_compiled' (pointer) +
|
||||
'highlight_tags' (string) +
|
||||
'highlight_tags_count' (integer) +
|
||||
'highlight_tags_array' (pointer) +
|
||||
'hotlist_max_level_nicks' (pointer) +
|
||||
'keys' (pointer, hdata: 'key') +
|
||||
'last_key' (pointer, hdata: 'key') +
|
||||
'keys_count' (integer) +
|
||||
'local_variables' (pointer) +
|
||||
'prev_buffer' (pointer, hdata: 'buffer') +
|
||||
'next_buffer' (pointer, hdata: 'buffer') |
|
||||
'gui_buffers' +
|
||||
'last_gui_buffer'
|
||||
|
||||
| weechat | completion | Struktur mit Vervollständigung |
|
||||
'buffer' (pointer, hdata: 'buffer') +
|
||||
'context' (integer) +
|
||||
'base_command' (string) +
|
||||
'base_command_arg_index' (integer) +
|
||||
'base_word' (string) +
|
||||
'base_word_pos' (integer) +
|
||||
'position' (integer) +
|
||||
'args' (string) +
|
||||
'direction' (integer) +
|
||||
'add_space' (integer) +
|
||||
'force_partial_completion' (integer) +
|
||||
'completion_list' (pointer) +
|
||||
'word_found' (string) +
|
||||
'word_found_is_nick' (integer) +
|
||||
'position_replace' (integer) +
|
||||
'diff_size' (integer) +
|
||||
'diff_length' (integer) +
|
||||
'partial_completion_list' (pointer, hdata: 'completion_partial') +
|
||||
'last_partial_completion' (pointer, hdata: 'completion_partial') |
|
||||
-
|
||||
|
||||
| weechat | completion_partial | Struktur mit teilweise Vervollständigung |
|
||||
'word' (string) +
|
||||
'count' (integer) +
|
||||
'prev_item' (pointer, hdata: 'completion_partial') +
|
||||
'next_item' (pointer, hdata: 'completion_partial') |
|
||||
-
|
||||
|
||||
| weechat | config_file | Konfigurationsdatei |
|
||||
'plugin' (pointer, hdata: 'plugin') +
|
||||
'name' (string) +
|
||||
'filename' (string) +
|
||||
'file' (pointer) +
|
||||
'callback_reload' (pointer) +
|
||||
'callback_reload_data' (pointer) +
|
||||
'sections' (pointer, hdata: 'config_section') +
|
||||
'last_section' (pointer, hdata: 'config_section') +
|
||||
'prev_config' (pointer, hdata: 'config_file') +
|
||||
'next_config' (pointer, hdata: 'config_file') |
|
||||
'config_files' +
|
||||
'last_config_file'
|
||||
|
||||
| weechat | config_option | Konfigurationsoptionen |
|
||||
'config_file' (pointer, hdata: 'config_file') +
|
||||
'section' (pointer, hdata: 'config_section') +
|
||||
'name' (string) +
|
||||
'type' (integer) +
|
||||
'description' (string) +
|
||||
'string_values' (pointer) +
|
||||
'min' (integer) +
|
||||
'max' (integer) +
|
||||
'default_value' (pointer) +
|
||||
'value' (pointer) +
|
||||
'null_value_allowed' (integer) +
|
||||
'callback_check_value' (pointer) +
|
||||
'callback_check_value_data' (pointer) +
|
||||
'callback_change' (pointer) +
|
||||
'callback_change_data' (pointer) +
|
||||
'callback_delete' (pointer) +
|
||||
'callback_delete_data' (pointer) +
|
||||
'loaded' (integer) +
|
||||
'prev_option' (pointer, hdata: 'config_option') +
|
||||
'next_option' (pointer, hdata: 'config_option') |
|
||||
-
|
||||
|
||||
| weechat | config_section | Konfigurationssektion |
|
||||
'config_file' (pointer, hdata: 'config_file') +
|
||||
'name' (string) +
|
||||
'user_can_add_options' (integer) +
|
||||
'user_can_delete_options' (integer) +
|
||||
'callback_read' (pointer) +
|
||||
'callback_read_data' (pointer) +
|
||||
'callback_write' (pointer) +
|
||||
'callback_write_data' (pointer) +
|
||||
'callback_write_default' (pointer) +
|
||||
'callback_write_default_data' (pointer) +
|
||||
'callback_create_option' (pointer) +
|
||||
'callback_create_option_data' (pointer) +
|
||||
'callback_delete_option' (pointer) +
|
||||
'callback_delete_option_data' (pointer) +
|
||||
'options' (pointer, hdata: 'config_option') +
|
||||
'last_option' (pointer, hdata: 'config_option') +
|
||||
'prev_section' (pointer, hdata: 'config_section') +
|
||||
'next_section' (pointer, hdata: 'config_section') |
|
||||
-
|
||||
|
||||
| weechat | filter | Filter |
|
||||
'enabled' (integer) +
|
||||
'name' (string) +
|
||||
'buffer_name' (string) +
|
||||
'num_buffers' (integer) +
|
||||
'buffers' (pointer) +
|
||||
'tags' (string) +
|
||||
'tags_count' (integer) +
|
||||
'tags_array' (pointer) +
|
||||
'regex' (string) +
|
||||
'regex_prefix' (pointer) +
|
||||
'regex_message' (pointer) +
|
||||
'prev_filter' (pointer, hdata: 'filter') +
|
||||
'next_filter' (pointer, hdata: 'filter') |
|
||||
'gui_filters' +
|
||||
'last_gui_filter'
|
||||
|
||||
| weechat | history | Verlaufspeicher von Befehlen in einem Buffer |
|
||||
'text' (string) +
|
||||
'next_history' (pointer, hdata: 'history') +
|
||||
'prev_history' (pointer, hdata: 'history') |
|
||||
-
|
||||
|
||||
| weechat | input_undo | Struktur der Rücknahmen für die Befehlszeile |
|
||||
'data' (string) +
|
||||
'pos' (integer) +
|
||||
'prev_undo' (pointer, hdata: 'input_undo') +
|
||||
'next_undo' (pointer, hdata: 'input_undo') |
|
||||
-
|
||||
|
||||
| weechat | key | Tastenbelegung (Tastaturkurzbefehl) |
|
||||
'key' (string) +
|
||||
'area_type' (pointer) +
|
||||
'area_name' (pointer) +
|
||||
'area_key' (string) +
|
||||
'command' (string) +
|
||||
'prev_key' (pointer, hdata: 'key') +
|
||||
'next_key' (pointer, hdata: 'key') |
|
||||
'gui_default_keys' +
|
||||
'gui_default_keys_cursor' +
|
||||
'gui_default_keys_mouse' +
|
||||
'gui_default_keys_search' +
|
||||
'gui_keys' +
|
||||
'gui_keys_cursor' +
|
||||
'gui_keys_mouse' +
|
||||
'gui_keys_search' +
|
||||
'last_gui_default_key' +
|
||||
'last_gui_default_key_cursor' +
|
||||
'last_gui_default_key_mouse' +
|
||||
'last_gui_default_key_search' +
|
||||
'last_gui_key' +
|
||||
'last_gui_key_cursor' +
|
||||
'last_gui_key_mouse' +
|
||||
'last_gui_key_search'
|
||||
|
||||
| weechat | line | Struktur mit einer Zeile |
|
||||
'data' (pointer, hdata: 'line_data') +
|
||||
'prev_line' (pointer, hdata: 'line') +
|
||||
'next_line' (pointer, hdata: 'line') |
|
||||
-
|
||||
|
||||
| weechat | line_data | Struktur mit einzeiligen Daten |
|
||||
'buffer' (pointer, hdata: 'buffer') +
|
||||
'y' (integer) +
|
||||
'date' (time) +
|
||||
'date_printed' (time) +
|
||||
'str_time' (string) +
|
||||
'tags_count' (integer) +
|
||||
'tags_array' (pointer) +
|
||||
'displayed' (integer) +
|
||||
'highlight' (integer) +
|
||||
'refresh_needed' (integer) +
|
||||
'prefix' (string) +
|
||||
'prefix_length' (integer) +
|
||||
'message' (string) |
|
||||
-
|
||||
|
||||
| weechat | lines | Struktur mit Zeilen |
|
||||
'first_line' (pointer, hdata: 'line') +
|
||||
'last_line' (pointer, hdata: 'line') +
|
||||
'last_read_line' (pointer, hdata: 'line') +
|
||||
'lines_count' (integer) +
|
||||
'first_line_not_read' (integer) +
|
||||
'lines_hidden' (integer) +
|
||||
'buffer_max_length' (integer) +
|
||||
'prefix_max_length' (integer) |
|
||||
-
|
||||
|
||||
| weechat | nick | Nick in Nickliste |
|
||||
'group' (pointer, hdata: 'nick_group') +
|
||||
'name' (string) +
|
||||
'color' (string) +
|
||||
'prefix' (string) +
|
||||
'prefix_color' (string) +
|
||||
'visible' (integer) +
|
||||
'prev_nick' (pointer, hdata: 'nick') +
|
||||
'next_nick' (pointer, hdata: 'nick') |
|
||||
-
|
||||
|
||||
| weechat | nick_group | Gruppen in Nickliste |
|
||||
'name' (string) +
|
||||
'color' (string) +
|
||||
'visible' (integer) +
|
||||
'level' (integer) +
|
||||
'parent' (pointer, hdata: 'nick_group') +
|
||||
'childs' (pointer, hdata: 'nick_group') +
|
||||
'last_child' (pointer, hdata: 'nick_group') +
|
||||
'nicks' (pointer, hdata: 'nick') +
|
||||
'last_nick' (pointer, hdata: 'nick') +
|
||||
'prev_group' (pointer, hdata: 'nick_group') +
|
||||
'next_group' (pointer, hdata: 'nick_group') |
|
||||
-
|
||||
|
||||
| weechat | plugin | Erweiterung |
|
||||
'filename' (string) +
|
||||
'handle' (pointer) +
|
||||
'name' (string) +
|
||||
'description' (string) +
|
||||
'author' (string) +
|
||||
'version' (string) +
|
||||
'license' (string) +
|
||||
'charset' (string) +
|
||||
'debug' (integer) +
|
||||
'prev_plugin' (pointer, hdata: 'plugin') +
|
||||
'next_plugin' (pointer, hdata: 'plugin') |
|
||||
'last_weechat_plugin' +
|
||||
'weechat_plugins'
|
||||
|
||||
| weechat | window | Fenster |
|
||||
'number' (integer) +
|
||||
'win_x' (integer) +
|
||||
'win_y' (integer) +
|
||||
'win_width' (integer) +
|
||||
'win_height' (integer) +
|
||||
'win_width_pct' (integer) +
|
||||
'win_height_pct' (integer) +
|
||||
'win_chat_x' (integer) +
|
||||
'win_chat_y' (integer) +
|
||||
'win_chat_width' (integer) +
|
||||
'win_chat_height' (integer) +
|
||||
'win_chat_cursor_x' (integer) +
|
||||
'win_chat_cursor_y' (integer) +
|
||||
'bar_windows' (pointer, hdata: 'bar_window') +
|
||||
'last_bar_window' (pointer, hdata: 'bar_window') +
|
||||
'refresh_needed' (integer) +
|
||||
'gui_objects' (pointer) +
|
||||
'buffer' (pointer, hdata: 'buffer') +
|
||||
'layout_plugin_name' (string) +
|
||||
'layout_buffer_name' (string) +
|
||||
'scroll' (pointer, hdata: 'window_scroll') +
|
||||
'ptr_tree' (pointer, hdata: 'window_tree') +
|
||||
'prev_window' (pointer, hdata: 'window') +
|
||||
'next_window' (pointer, hdata: 'window') |
|
||||
'gui_current_window' +
|
||||
'gui_windows' +
|
||||
'last_gui_window'
|
||||
|
||||
| weechat | window_scroll | Scroll-Info in Fenstern |
|
||||
'buffer' (pointer, hdata: 'buffer') +
|
||||
'first_line_displayed' (integer) +
|
||||
'start_line' (pointer, hdata: 'line') +
|
||||
'start_line_pos' (integer) +
|
||||
'scrolling' (integer) +
|
||||
'start_col' (integer) +
|
||||
'lines_after' (integer) +
|
||||
'reset_allowed' (integer) +
|
||||
'prev_scroll' (pointer, hdata: 'window_scroll') +
|
||||
'next_scroll' (pointer, hdata: 'window_scroll') |
|
||||
-
|
||||
|
||||
| weechat | window_tree | Baumstruktur der Fenster |
|
||||
'parent_node' (pointer, hdata: 'window_tree') +
|
||||
'split_pct' (integer) +
|
||||
'split_horizontal' (integer) +
|
||||
'child1' (pointer, hdata: 'window_tree') +
|
||||
'child2' (pointer, hdata: 'window_tree') +
|
||||
'window' (pointer, hdata: 'window') |
|
||||
'gui_windows_tree'
|
||||
|
||||
|========================================
|
||||
@@ -48,7 +48,7 @@
|
||||
|
||||
| weechat | hotlist | Liste der Buffer in Hotlist | - | -
|
||||
|
||||
| weechat | key | Auflistung der Tastenzuweisungen | - | -
|
||||
| weechat | key | Auflistung der Tastenzuweisungen | - | Kontext ("default", "search", "cursor" oder "mouse") (optional)
|
||||
|
||||
| weechat | nicklist | Nicks in Nickliste für einen Buffer | Buffer Pointer | nick_xxx oder group_xxx um nur den Nick/Group xxx abzufragen (optional)
|
||||
|
||||
@@ -56,7 +56,7 @@
|
||||
|
||||
| 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)
|
||||
| weechat | window | Auflistung der Windows | Fenster Pointer (optional) | "current" für aktuelles Fenster oder die Nummer eines Fensters (optional)
|
||||
|
||||
| xfer | xfer | Transfer-Liste | Transfer-Pointer (optional) | -
|
||||
|
||||
|
||||
@@ -28,6 +28,8 @@
|
||||
|
||||
| weechat | charset_terminal | Terminal Zeichensatz | -
|
||||
|
||||
| weechat | cursor_mode | 1, falls Cursor-Modus aktiviert ist | -
|
||||
|
||||
| weechat | date | Datum der WeeChat Kompilierung | -
|
||||
|
||||
| weechat | dir_separator | Verzeichnis-Trennzeichen | -
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
|========================================
|
||||
| Erweiterung | Name | Beschreibung | Hashtable (Eingabe) | Hashtable (Ausgabe)
|
||||
|
||||
| irc | irc_parse_message | Parse eine IRC Nachricht | "message": IRC Nachricht | "nick": nick, "host": host, "command": command, "channel": channel, "arguments": arguments (beinhaltet Channel)
|
||||
| irc | irc_message_parse | Parse eine IRC Nachricht | "message": IRC Nachricht | "nick": nick, "host": host, "command": command, "channel": channel, "arguments": arguments (beinhaltet Channel)
|
||||
|
||||
| irc | irc_message_split | dient zum Aufteilen einer überlangen IRC Nachricht (in maximal 512 Bytes große Nachrichten) | "message": IRC Nachricht, "server": Servername (optional) | "msg1" ... "msgN": Nachrichten die versendet werden sollen (ohne abschließendes "\r\n"), "args1" ... "argsN": Argumente für Nachrichten, "count": Anzahl der Nachrichten
|
||||
|
||||
|========================================
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
[[command_alias_alias]]
|
||||
[command]*`alias`* Einem Befehl wird ein Alias zugewiesen::
|
||||
........................................
|
||||
/alias [-completion <completion>] <alias> [<command> [<arguments>]]
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
[[command_aspell_aspell]]
|
||||
[command]*`aspell`* Konfiguration für Aspell-Erweiterung::
|
||||
........................................
|
||||
/aspell dictlist
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
[[command_charset_charset]]
|
||||
[command]*`charset`* ändere Zeichensatz für aktuellen Buffer::
|
||||
........................................
|
||||
/charset decode|encode <charset>
|
||||
|
||||
@@ -1,8 +1,10 @@
|
||||
[[command_demo_demo_buffer]]
|
||||
[command]*`demo_buffer`* Öffne einen neuen Buffer::
|
||||
........................................
|
||||
/demo_buffer <name>
|
||||
........................................
|
||||
|
||||
[[command_demo_demo_info]]
|
||||
[command]*`demo_info`* Hole eine Info und zeige sie an::
|
||||
........................................
|
||||
/demo_info <info> [<arguments>]
|
||||
@@ -13,6 +15,7 @@ Argumente: optionale Argumente für Info
|
||||
Wird der Befehl ohne Argumente aufgerufen werden alle verfügbaren Informationen angezeigt
|
||||
........................................
|
||||
|
||||
[[command_demo_demo_infolist]]
|
||||
[command]*`demo_infolist`* Hole eine Infolist und zeige sie an::
|
||||
........................................
|
||||
/demo_infolist <infolist> [<arguments>]
|
||||
@@ -23,6 +26,7 @@ Argumente: optionale Argumente für Infoliste
|
||||
Wird der Befehl ohne Argumente aufgerufen werden alle verfügbaren Informationen der Infoliste angezeigt
|
||||
........................................
|
||||
|
||||
[[command_demo_demo_printf]]
|
||||
[command]*`demo_printf`* Gibt ein paar Nachrichten im aktuellen Buffer aus::
|
||||
........................................
|
||||
/demo_printf <text>
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
[[command_irc_admin]]
|
||||
[command]*`admin`* Information über den Server-Administrator abfragen::
|
||||
........................................
|
||||
/admin [<target>]
|
||||
@@ -5,6 +6,7 @@
|
||||
Ziel: Server
|
||||
........................................
|
||||
|
||||
[[command_irc_allchan]]
|
||||
[command]*`allchan`* Führt einen Befehl aus der an alle Channels gesendet wird, die mit einem Server verbunden sind::
|
||||
........................................
|
||||
/allchan [-current] [-exclude=<channel>[,<channel>...]] <command> [<arguments>]
|
||||
@@ -23,6 +25,7 @@ Beispiele:
|
||||
/allchan -exclude=#weechat,#linux* msg * Hallo Welt
|
||||
........................................
|
||||
|
||||
[[command_irc_allserv]]
|
||||
[command]*`allserv`* Führt einen Befehl aus, der zu allen verbundenen Server gesendet wird::
|
||||
........................................
|
||||
/allserv [-exclude=<server>[,<server>...]] <command> [<arguments>]
|
||||
@@ -38,14 +41,18 @@ Beispiele:
|
||||
/allserv away I'm away
|
||||
........................................
|
||||
|
||||
[[command_irc_ban]]
|
||||
[command]*`ban`* Nicknamen oder Hosts sperren/verbannen::
|
||||
........................................
|
||||
/ban [<channel>] [<nick> [<nick>...]]
|
||||
|
||||
channel: Channel für die Sperre
|
||||
nick: zu sperrender User oder Host
|
||||
channel: Channel in dem der Bann ausgeführt werden soll
|
||||
nick: User oder Host für den der Bann gelten soll
|
||||
|
||||
Ohne Angabe von Argumenten wird die Ban-Liste für den aktuellen Channel angezeigt.
|
||||
........................................
|
||||
|
||||
[[command_irc_connect]]
|
||||
[command]*`connect`* Mit IRC-Server(n) verbinden::
|
||||
........................................
|
||||
/connect [<server> [<server>...] | <hostname>[/<port>]] [-<option>[=<value>]] [-no<option>] [-nojoin] [-switch]
|
||||
@@ -70,6 +77,7 @@ Beispiele:
|
||||
/connect -switch
|
||||
........................................
|
||||
|
||||
[[command_irc_ctcp]]
|
||||
[command]*`ctcp`* CTCP-Nachricht verschicken::
|
||||
........................................
|
||||
/ctcp <target> <type> [<arguments>]
|
||||
@@ -79,6 +87,7 @@ Beispiele:
|
||||
arguments: Argumente für CTCP
|
||||
........................................
|
||||
|
||||
[[command_irc_cycle]]
|
||||
[command]*`cycle`* Einen Channel verlassen und wieder betreten::
|
||||
........................................
|
||||
/cycle [<channel>[,<channel>...]] [<message>]
|
||||
@@ -87,6 +96,7 @@ channel: Name des Channels
|
||||
message: Nachricht beim Verlassen des Channels (die den anderen Usern angezeigt wird)
|
||||
........................................
|
||||
|
||||
[[command_irc_dcc]]
|
||||
[command]*`dcc`* Startet DCC (Datentransfer oder einen Direktchat)::
|
||||
........................................
|
||||
/dcc chat <nick>
|
||||
@@ -102,39 +112,49 @@ Beispiel:
|
||||
/dcc send toto /home/foo/bar.txt
|
||||
........................................
|
||||
|
||||
[[command_irc_dehalfop]]
|
||||
[command]*`dehalfop`* halb-Operator-Privilegien einem oder mehreren Nick(s) entziehen::
|
||||
........................................
|
||||
/dehalfop <nick> [<nick>...]
|
||||
........................................
|
||||
|
||||
[[command_irc_deop]]
|
||||
[command]*`deop`* Operator-Privilegien einem oder mehreren Nicknamen entziehen::
|
||||
........................................
|
||||
/deop <nick> [<nick>...]
|
||||
........................................
|
||||
|
||||
[[command_irc_devoice]]
|
||||
[command]*`devoice`* Voice-Privilegien einem oder mehreren Nicknamen entziehen::
|
||||
........................................
|
||||
/devoice <nick> [<nick>...]
|
||||
........................................
|
||||
|
||||
[[command_irc_die]]
|
||||
[command]*`die`* Server herunterfahren::
|
||||
........................................
|
||||
/die [<target>]
|
||||
|
||||
Ziel: Servername
|
||||
........................................
|
||||
|
||||
[command]*`disconnect`* Verbindung, zu einem oder mehreren IRC-Server(n), trennen::
|
||||
[[command_irc_disconnect]]
|
||||
[command]*`disconnect`* Verbindung zu einem oder mehreren IRC-Server(n) trennen::
|
||||
........................................
|
||||
/disconnect <server> [<server>...]
|
||||
-all
|
||||
/disconnect [<server>|-all [<reason>]]
|
||||
|
||||
server: server name to disconnect
|
||||
-all: disconnect from all servers
|
||||
server: Name des Servers zu dem die Verbindung getrennt werden soll
|
||||
-all: Verbindung zu allen Servern trennen
|
||||
reason: Begründung der Trennung
|
||||
........................................
|
||||
|
||||
[[command_irc_halfop]]
|
||||
[command]*`halfop`* halb-Operator Status an Nick(s) vergeben::
|
||||
........................................
|
||||
/halfop <nick> [<nick>...]
|
||||
........................................
|
||||
|
||||
[[command_irc_ignore]]
|
||||
[command]*`ignore`* Ignoriert Nicks/Hosts von Channels oder Servern::
|
||||
........................................
|
||||
/ignore list
|
||||
@@ -143,11 +163,10 @@ server: server name to disconnect
|
||||
|
||||
list: zeigt alle Ignorierungen an
|
||||
add: fügt eine Ignorierung hinzu
|
||||
nick: Nick oder Hostname (kann ein regulärer Ausdruck sein, sofern "re:" angegeben wird)
|
||||
nick: Nick oder Hostname (dies kann ein regulärer Ausdruck sein, sofern "re:" angegeben wird oder eine Maske mittels "*" genutzt wird um ein oder mehrere Zeichen zu ersetzen)
|
||||
del: entfernt eine Ignorierung
|
||||
number: Nummer der Ignorierung die entfernt werden soll (nutze "list" um den entsprechenden Eintrag zu finden)
|
||||
-all: entfernt alle Einträge
|
||||
nick/host: Nick oder Host der ignoriert werden soll: Syntax ist "re:regex" oder "mask" (Eine Maske ist eine Zeichenkette in der mittels "*" ein- oder mehrere Zeichen ersetzt werden können)
|
||||
server: interner Name des Server auf welchem die Ignorierung statt finden soll
|
||||
channel: Name des Channel, in dem die Ignorierung statt finden soll
|
||||
|
||||
@@ -160,6 +179,7 @@ Beispiele:
|
||||
/ignore add toto*@*.domain.com freenode #weechat
|
||||
........................................
|
||||
|
||||
[[command_irc_info]]
|
||||
[command]*`info`* Information über den Server abfragen::
|
||||
........................................
|
||||
/info [<target>]
|
||||
@@ -167,6 +187,7 @@ Beispiele:
|
||||
Ziel: Servername
|
||||
........................................
|
||||
|
||||
[[command_irc_invite]]
|
||||
[command]*`invite`* Jemanden in einen Channel einladen::
|
||||
........................................
|
||||
/invite <nick> <channel>
|
||||
@@ -175,6 +196,7 @@ Ziel: Servername
|
||||
channel: Channel für den die Einladung gelten soll
|
||||
........................................
|
||||
|
||||
[[command_irc_ison]]
|
||||
[command]*`ison`* Überprüft ob ein Nick gegenwärtig auf IRC angemeldet ist::
|
||||
........................................
|
||||
/ison <nick> [<nick>...]
|
||||
@@ -182,6 +204,7 @@ channel: Channel für den die Einladung gelten soll
|
||||
nick: nick
|
||||
........................................
|
||||
|
||||
[[command_irc_join]]
|
||||
[command]*`join`* einen Channel betreten::
|
||||
........................................
|
||||
/join [-server <server>] [<channel1>[,<channel2>...]] [<key1>[,<key2>...]]
|
||||
@@ -196,6 +219,7 @@ Beispiele:
|
||||
/join -server freenode #weechat
|
||||
........................................
|
||||
|
||||
[[command_irc_kick]]
|
||||
[command]*`kick`* Einen User aus einem Channel herauskicken::
|
||||
........................................
|
||||
/kick [<channel>] <nick> [<reason>]
|
||||
@@ -205,6 +229,7 @@ channel: Channel in dem der Benutzers sich befindet
|
||||
reason: Begründung für den Rauswurf
|
||||
........................................
|
||||
|
||||
[[command_irc_kickban]]
|
||||
[command]*`kickban`* Kickt und verbannt jemanden aus einem Channel::
|
||||
........................................
|
||||
/kickban [<channel>] <nick> [<reason>]
|
||||
@@ -220,6 +245,7 @@ Beispiel:
|
||||
/kickban toto!*@host.com
|
||||
........................................
|
||||
|
||||
[[command_irc_kill]]
|
||||
[command]*`kill`* Jemanden vom Server werfen::
|
||||
........................................
|
||||
/kill <nick> <reason>
|
||||
@@ -228,6 +254,7 @@ Beispiel:
|
||||
reason: Begründung für den Rauswurf
|
||||
........................................
|
||||
|
||||
[[command_irc_links]]
|
||||
[command]*`links`* Alle dem antwortenden Server bekannten Servernamen auflisten::
|
||||
........................................
|
||||
/links [[<server>] <server_mask>]
|
||||
@@ -236,6 +263,7 @@ reason: Begründung für den Rauswurf
|
||||
Servermaske: die aufzulistenden Server sollen diesem Muster entsprechen
|
||||
........................................
|
||||
|
||||
[[command_irc_list]]
|
||||
[command]*`list`* Channels mit ihrem Thema auflisten::
|
||||
........................................
|
||||
/list [<channel>[,<channel>...]] [<server>] [-re <regex>]
|
||||
@@ -253,6 +281,7 @@ Beispiele:
|
||||
/list -re #weechat.*
|
||||
........................................
|
||||
|
||||
[[command_irc_lusers]]
|
||||
[command]*`lusers`* Statistik über die Größe dieses IRC-Netzwerks abfragen::
|
||||
........................................
|
||||
/lusers [<mask> [<target>]]
|
||||
@@ -261,10 +290,12 @@ Beispiele:
|
||||
Ziel: Server, der die Anfrage weiterleiten soll
|
||||
........................................
|
||||
|
||||
[[command_irc_map]]
|
||||
[command]*`map`* Zeigt das IRC Netzwerk, in Form einer Baumstruktur, an::
|
||||
........................................
|
||||
........................................
|
||||
|
||||
[[command_irc_me]]
|
||||
[command]*`me`* Eine CTCP ACTION an den aktuellen Channel senden::
|
||||
........................................
|
||||
/me <message>
|
||||
@@ -272,6 +303,7 @@ Ziel: Server, der die Anfrage weiterleiten soll
|
||||
Message: zu sendende Nachricht
|
||||
........................................
|
||||
|
||||
[[command_irc_mode]]
|
||||
[command]*`mode`* Modus von einem Channel oder User ändern::
|
||||
........................................
|
||||
/mode [<channel>] [+|-]o|p|s|i|t|n|b|v [<arguments>]
|
||||
@@ -307,6 +339,7 @@ Beispiele:
|
||||
/mode nick +i
|
||||
........................................
|
||||
|
||||
[[command_irc_motd]]
|
||||
[command]*`motd`* Die "Mitteilung des Tages" abfragen::
|
||||
........................................
|
||||
/motd [<target>]
|
||||
@@ -314,6 +347,7 @@ Beispiele:
|
||||
Ziel: Servername
|
||||
........................................
|
||||
|
||||
[[command_irc_msg]]
|
||||
[command]*`msg`* Nachricht an Nick/Channel verschicken::
|
||||
........................................
|
||||
/msg [-server <server>] <target>[,<target>...] <text>
|
||||
@@ -323,6 +357,7 @@ target: Nick oder Channel (darf eine Maske sein, '*' = aktueller Channel)
|
||||
text: zu sendender Text
|
||||
........................................
|
||||
|
||||
[[command_irc_names]]
|
||||
[command]*`names`* Nicknamen in Channels auflisten::
|
||||
........................................
|
||||
/names [<channel>[,<channel>...]]
|
||||
@@ -330,6 +365,7 @@ target: Nick oder Channel (darf eine Maske sein, '*' = aktueller Channel)
|
||||
Channel: Channelname
|
||||
........................................
|
||||
|
||||
[[command_irc_nick]]
|
||||
[command]*`nick`* Aktuellen Nicknamen ändern::
|
||||
........................................
|
||||
/nick [-all] <nick>
|
||||
@@ -338,6 +374,7 @@ Channel: Channelname
|
||||
nick: neuer Nickname
|
||||
........................................
|
||||
|
||||
[[command_irc_notice]]
|
||||
[command]*`notice`* Mitteilung (notice) an einen User verschicken::
|
||||
........................................
|
||||
/notice [-server <server>] <target> <text>
|
||||
@@ -347,6 +384,7 @@ target: Nickname oder Channel
|
||||
text: zu sendender Text
|
||||
........................................
|
||||
|
||||
[[command_irc_notify]]
|
||||
[command]*`notify`* Fügt eine Benachrichtigung für An- oder Abwesenheit von Nicks auf Servern hinzu::
|
||||
........................................
|
||||
/notify add <nick> [<server> [-away]]
|
||||
@@ -370,11 +408,13 @@ Beispiele:
|
||||
/notify add toto freenode -away
|
||||
........................................
|
||||
|
||||
[[command_irc_op]]
|
||||
[command]*`op`* Channel-Operator Status an Nicknamen vergeben::
|
||||
........................................
|
||||
/op <nick> [<nick>...]
|
||||
........................................
|
||||
|
||||
[[command_irc_oper]]
|
||||
[command]*`oper`* Operator Privilegien anfordern::
|
||||
........................................
|
||||
/oper <user> <password>
|
||||
@@ -383,6 +423,7 @@ Beispiele:
|
||||
password: Passwort
|
||||
........................................
|
||||
|
||||
[[command_irc_part]]
|
||||
[command]*`part`* Einen Channel verlassen::
|
||||
........................................
|
||||
/part [<channel>[,<channel>...]] [<message>]
|
||||
@@ -391,6 +432,7 @@ channel: Name des Channels welcher verlassen werden soll
|
||||
message: Abschiedsnachricht (wird anderen Usern angezeigt)
|
||||
........................................
|
||||
|
||||
[[command_irc_ping]]
|
||||
[command]*`ping`* sendet einen Ping an den Server::
|
||||
........................................
|
||||
/ping <server1> [<server2>]
|
||||
@@ -399,6 +441,7 @@ server1: Server
|
||||
server2: Ping an diesen Server weiterleiten
|
||||
........................................
|
||||
|
||||
[[command_irc_pong]]
|
||||
[command]*`pong`* Auf Ping antworten::
|
||||
........................................
|
||||
/pong <daemon> [<daemon2>]
|
||||
@@ -407,6 +450,7 @@ server2: Ping an diesen Server weiterleiten
|
||||
Daemon2: Nachricht an diesen Daemon weiterleiten
|
||||
........................................
|
||||
|
||||
[[command_irc_query]]
|
||||
[command]*`query`* Eine private Nachricht an einen Nick schicken::
|
||||
........................................
|
||||
/query [-server <server>] <nick> [<text>]
|
||||
@@ -416,6 +460,7 @@ server: an diesen Server senden (interner Name)
|
||||
text: Text der gesendet werden soll
|
||||
........................................
|
||||
|
||||
[[command_irc_quote]]
|
||||
[command]*`quote`* Daten direkt an Server senden (siehe RFC 2812)::
|
||||
........................................
|
||||
/quote [-server <server>] <data>
|
||||
@@ -424,6 +469,7 @@ server: an diesen Server senden (interner Name wird genutzt)
|
||||
data: unbearbeitete (RAW) Daten die gesendet werden sollen
|
||||
........................................
|
||||
|
||||
[[command_irc_reconnect]]
|
||||
[command]*`reconnect`* Mit einem oder mehreren Server(n) erneut verbinden::
|
||||
........................................
|
||||
/reconnect <server> [<server>...] [-nojoin] [-switch]
|
||||
@@ -435,6 +481,7 @@ data: unbearbeitete (RAW) Daten die gesendet werden sollen
|
||||
-switch: wechselt zur nächsten Server-Adresse
|
||||
........................................
|
||||
|
||||
[[command_irc_rehash]]
|
||||
[command]*`rehash`* Den Server dazu bringen seine Konfigurationsdatei neu zu laden::
|
||||
........................................
|
||||
/rehash [<option>]
|
||||
@@ -442,10 +489,15 @@ data: unbearbeitete (RAW) Daten die gesendet werden sollen
|
||||
option: zusätzliche Option, die von manchen Servern berücksichtigt wird.
|
||||
........................................
|
||||
|
||||
[[command_irc_restart]]
|
||||
[command]*`restart`* Den Server dazu bringen sich selbst neu zu starten::
|
||||
........................................
|
||||
/restart [<target>]
|
||||
|
||||
Ziel: Servername
|
||||
........................................
|
||||
|
||||
[[command_irc_sajoin]]
|
||||
[command]*`sajoin`* Zwingt einen User einen oder mehrere Channel zu betreten::
|
||||
........................................
|
||||
/sajoin <nick> <channel>[,<channel>...]
|
||||
@@ -454,6 +506,7 @@ option: zusätzliche Option, die von manchen Servern berücksichtigt wird.
|
||||
channel: Name des Channels
|
||||
........................................
|
||||
|
||||
[[command_irc_samode]]
|
||||
[command]*`samode`* Ändert den Modus des Channels ohne das Operator-Privilegien vorliegen::
|
||||
........................................
|
||||
/samode <channel> <mode>
|
||||
@@ -462,6 +515,7 @@ Channel: Name des Channel
|
||||
Mode: neuer Modus für Channel
|
||||
........................................
|
||||
|
||||
[[command_irc_sanick]]
|
||||
[command]*`sanick`* Zwingt einen User den Nick zu ändern::
|
||||
........................................
|
||||
/sanick <nick> <new_nick>
|
||||
@@ -470,6 +524,7 @@ Channel: Name des Channel
|
||||
new_nick: neuer Nickname
|
||||
........................................
|
||||
|
||||
[[command_irc_sapart]]
|
||||
[command]*`sapart`* Zwingt einen User den/die Channel(s) zu verlassen::
|
||||
........................................
|
||||
/sapart <nick> <channel>[,<channel>...]
|
||||
@@ -478,6 +533,7 @@ new_nick: neuer Nickname
|
||||
channel: Name des Channels
|
||||
........................................
|
||||
|
||||
[[command_irc_saquit]]
|
||||
[command]*`saquit`* Zwingt einen User den Server zu verlassen, mit Begründung::
|
||||
........................................
|
||||
/saquit <nick> <reason>
|
||||
@@ -486,6 +542,7 @@ channel: Name des Channels
|
||||
reason: Grund der Abmeldung
|
||||
........................................
|
||||
|
||||
[[command_irc_server]]
|
||||
[command]*`server`* Auflisten, Hinzufügen oder Entfernen von IRC-Servern::
|
||||
........................................
|
||||
/server list|listfull [<server>]
|
||||
@@ -522,6 +579,7 @@ Beispiele:
|
||||
/server deloutq
|
||||
........................................
|
||||
|
||||
[[command_irc_service]]
|
||||
[command]*`service`* Einen neuen Service eintragen::
|
||||
........................................
|
||||
/service <nick> <reserved> <distribution> <type> <reserved> <info>
|
||||
@@ -530,6 +588,7 @@ distribution: Sichtbarkeit des Services
|
||||
type: für spätere Verwendung reserviert
|
||||
........................................
|
||||
|
||||
[[command_irc_servlist]]
|
||||
[command]*`servlist`* Zur Zeit verbundene Services auflisten::
|
||||
........................................
|
||||
/servlist [<mask> [<type>]]
|
||||
@@ -538,6 +597,7 @@ mask: nur zutreffende Services auflisten
|
||||
type: nur Services von diesem Typ auflisten
|
||||
........................................
|
||||
|
||||
[[command_irc_squery]]
|
||||
[command]*`squery`* Nachricht an einen Service senden::
|
||||
........................................
|
||||
/squery <service> <text>
|
||||
@@ -546,6 +606,7 @@ service: Name des Service
|
||||
text: zu sendender Text
|
||||
........................................
|
||||
|
||||
[[command_irc_squit]]
|
||||
[command]*`squit`* Serververbindungen trennen::
|
||||
........................................
|
||||
/squit <server> <comment>
|
||||
@@ -554,6 +615,7 @@ service: Name des Service
|
||||
comment: Trennungsgrund
|
||||
........................................
|
||||
|
||||
[[command_irc_stats]]
|
||||
[command]*`stats`* Serverstatistik abfragen::
|
||||
........................................
|
||||
/stats [<query> [<server>]]
|
||||
@@ -562,6 +624,7 @@ comment: Trennungsgrund
|
||||
server: Name des Servers
|
||||
........................................
|
||||
|
||||
[[command_irc_summon]]
|
||||
[command]*`summon`* Nutzer die auf dem IRC-Server arbeiten darum bitten auf den IRC-Server zu kommen::
|
||||
........................................
|
||||
/summon <user> [<target> [<channel>]]
|
||||
@@ -571,6 +634,7 @@ server: Name des Servers
|
||||
channel: Channelname
|
||||
........................................
|
||||
|
||||
[[command_irc_time]]
|
||||
[command]*`time`* Ortszeit des Servers abfragen::
|
||||
........................................
|
||||
/time [<target>]
|
||||
@@ -578,6 +642,7 @@ channel: Channelname
|
||||
Ziel: Zeit des angegebenen Servers abfragen.
|
||||
........................................
|
||||
|
||||
[[command_irc_topic]]
|
||||
[command]*`topic`* Thema des Channels abfragen/setzen::
|
||||
........................................
|
||||
/topic [<channel>] [<topic>|-delete]
|
||||
@@ -587,6 +652,7 @@ channel: Name des Channels
|
||||
-delete: entfernt das Thema des Channels
|
||||
........................................
|
||||
|
||||
[[command_irc_trace]]
|
||||
[command]*`trace`* Route zum angegebenen Server ermitteln::
|
||||
........................................
|
||||
/trace [<target>]
|
||||
@@ -594,6 +660,7 @@ channel: Name des Channels
|
||||
Ziel: Server
|
||||
........................................
|
||||
|
||||
[[command_irc_unban]]
|
||||
[command]*`unban`* Bann aufheben (Nicks oder Hosts)::
|
||||
........................................
|
||||
/unban [<channel>] <nick> [<nick>...]
|
||||
@@ -602,6 +669,7 @@ channel: Channel in dem der Bann aufzuheben ist
|
||||
nick: User oder Host für den der Bann aufzuheben ist
|
||||
........................................
|
||||
|
||||
[[command_irc_userhost]]
|
||||
[command]*`userhost`* Zeigt Informationen zu Nicknamen an::
|
||||
........................................
|
||||
/userhost <nick> [<nick>...]
|
||||
@@ -609,6 +677,7 @@ channel: Channel in dem der Bann aufzuheben ist
|
||||
nick: nick
|
||||
........................................
|
||||
|
||||
[[command_irc_users]]
|
||||
[command]*`users`* Auflistung der User die bei dem Server angemeldet sind::
|
||||
........................................
|
||||
/users [<target>]
|
||||
@@ -616,6 +685,7 @@ nick: nick
|
||||
Ziel: Server
|
||||
........................................
|
||||
|
||||
[[command_irc_version]]
|
||||
[command]*`version`* Versionsinformation des Nicknamen oder Servers ermitteln (des aktuellen oder angegebenen Nick/Server)::
|
||||
........................................
|
||||
/version [<server>|<nick>]
|
||||
@@ -624,11 +694,13 @@ server: Servername
|
||||
nick: Nickname
|
||||
........................................
|
||||
|
||||
[[command_irc_voice]]
|
||||
[command]*`voice`* Voice an Nick(s) vergeben::
|
||||
........................................
|
||||
/voice <nick> [<nick>...]
|
||||
........................................
|
||||
|
||||
[[command_irc_wallchops]]
|
||||
[command]*`wallchops`* Nachricht an Channel-Operator verschicken::
|
||||
........................................
|
||||
/wallchops [<channel>] <text>
|
||||
@@ -637,6 +709,7 @@ channel: Name des Channel
|
||||
text: Text der versendet werden soll
|
||||
........................................
|
||||
|
||||
[[command_irc_wallops]]
|
||||
[command]*`wallops`* Nachricht an alle User schicken die den 'w'-Mode gesetzt haben::
|
||||
........................................
|
||||
/wallops <text>
|
||||
@@ -644,6 +717,7 @@ channel: Name des Channel
|
||||
text: Text der gesendet werden soll
|
||||
........................................
|
||||
|
||||
[[command_irc_who]]
|
||||
[command]*`who`* Erstellung einer Anfrage die eine Anzahl von Informationen zurück gibt.::
|
||||
........................................
|
||||
/who [<mask> [o]]
|
||||
@@ -652,6 +726,7 @@ Maske: nur Information über betreffende Nicknamen abfragen
|
||||
o: nur Operatoren ausgeben, die dem Filter entsprechen
|
||||
........................................
|
||||
|
||||
[[command_irc_whois]]
|
||||
[command]*`whois`* Information über User abfragen::
|
||||
........................................
|
||||
/whois [<server>] <nick>[,<nick>...]
|
||||
@@ -660,6 +735,7 @@ server: Servername
|
||||
nick: Nickname (oder eine Maske)
|
||||
........................................
|
||||
|
||||
[[command_irc_whowas]]
|
||||
[command]*`whowas`* Informationen über einem Nicknamen abfragen welcher nicht mehr angemeldet ist::
|
||||
........................................
|
||||
/whowas <nick>[,<nick>...] [<count> [<target>]]
|
||||
|
||||
@@ -14,12 +14,12 @@
|
||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute werden vor einer Farbe gesetzt (ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "_" für unterstrichen (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)`
|
||||
** Beschreibung: `Farbe in der die Anzeige für die Verzögerung (Lag) dargestellt werden soll, sobald auf Antwort gewartet wird ("pong" wurde vom Server nicht empfangen und die Verzögerungszeit wird erhöht)`
|
||||
** Typ: Farbe
|
||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute werden vor einer Farbe gesetzt (ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "_" für unterstrichen (Standardwert: `default`)
|
||||
|
||||
* *irc.color.item_lag_finished*
|
||||
** Beschreibung: `Farbe in der der Lag-Indikator dargestellt werden soll, falls ein "pong" vom Server empfangen wurde`
|
||||
** Beschreibung: `Farbe in der die Anzeige für die Verzögerung (Lag) dargestellt werden soll, sobald ein "pong" vom Server empfangen wurde`
|
||||
** Typ: Farbe
|
||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute werden vor einer Farbe gesetzt (ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "_" für unterstrichen (Standardwert: `yellow`)
|
||||
|
||||
@@ -194,12 +194,12 @@
|
||||
** Werte: current, server (Standardwert: `current`)
|
||||
|
||||
* *irc.look.new_channel_position*
|
||||
** Beschreibung: `Ein öffentlicher Channel wird auf eine Position gezwungen (none = standardmäßige Position (sollte die letzte Position sein), next = aktueller Buffer + 1, near_server = nach letztem Channel/privaten Buffer des Servers)`
|
||||
** Beschreibung: `Ein neu geöffneter Channel wird auf eine Position gezwungen (none = standardmäßige Position (sollte der letzte Buffer in der Liste sein), next = aktueller Buffer + 1, near_server = nach dem letztem Channel/privaten Buffer des jeweiligen Servers)`
|
||||
** Typ: integer
|
||||
** Werte: none, next, near_server (Standardwert: `none`)
|
||||
|
||||
* *irc.look.new_pv_position*
|
||||
** Beschreibung: `Ein privater Buffer wird auf eine Position gezwungen (none = standardmäßige Position (sollte die letzte Position sein), next = aktueller Buffer + 1, near_server = nach letztem Channel/privaten Buffer des Servers)`
|
||||
** Beschreibung: `Ein neuer privater Buffer wird auf eine Position gezwungen (none = standardmäßige Position (sollte der letzte Buffer in der Liste sein), next = aktueller Buffer + 1, near_server = nach dem letztem Channel/privaten Buffer des jeweiligen Servers)`
|
||||
** Typ: integer
|
||||
** Werte: none, next, near_server (Standardwert: `none`)
|
||||
|
||||
@@ -309,12 +309,12 @@
|
||||
** Werte: on, off (Standardwert: `on`)
|
||||
|
||||
* *irc.network.lag_check*
|
||||
** Beschreibung: `Intervall zwischen zwei Lag-Überprüfungen (in Sekunden, 0 = keine Überprüfung)`
|
||||
** Beschreibung: `Intervall zwischen zwei Überprüfungen auf Verfügbarkeit (Lag) des Servers (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)`
|
||||
** Beschreibung: `Maximal Verzögerung (Lag) bis zum Trennen der Verbindung (in Minuten - 0 = niemals trennen)`
|
||||
** Typ: integer
|
||||
** Werte: 0 .. 10080 (Standardwert: `0`)
|
||||
|
||||
@@ -324,7 +324,7 @@
|
||||
** 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)`
|
||||
** Beschreibung: `Intervall zwischen zwei Aktualisierungen der Verzögerungsanzeige (Lag-Item), wenn die Verzögerungszeit sich erhöht (in Sekunden)`
|
||||
** Typ: integer
|
||||
** Werte: 1 .. 3600 (Standardwert: `1`)
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
[[command_logger_logger]]
|
||||
[command]*`logger`* Konfiguration für "logger" Erweiterung (dient zum protokollieren der Buffer)::
|
||||
........................................
|
||||
/logger list
|
||||
|
||||
@@ -3,6 +3,11 @@
|
||||
** Typ: boolesch
|
||||
** Werte: on, off (Standardwert: `on`)
|
||||
|
||||
* *logger.file.flush_delay*
|
||||
** Beschreibung: `Zeit, in Sekunden, die verstreicht bis eine Protokolldatei gesichert werden soll (0 = Protokolldatei wird unmittelbar gesichert, nachdem eine neue Zeile dargestellt wurde)`
|
||||
** Typ: integer
|
||||
** Werte: 0 .. 3600 (Standardwert: `120`)
|
||||
|
||||
* *logger.file.info_lines*
|
||||
** Beschreibung: `Fügt eine Information in die Protokoll-Datei ein, falls die Protokollierung gestartet oder beendet wird`
|
||||
** Typ: boolesch
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
[[command_lua_lua]]
|
||||
[command]*`lua`* auflisten/installieren/deinstallieren von Skripten::
|
||||
........................................
|
||||
/lua list|listfull [<name>]
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
[[command_perl_perl]]
|
||||
[command]*`perl`* auflisten/installieren/deinstallieren von Skripten::
|
||||
........................................
|
||||
/perl list|listfull [<name>]
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
[[command_python_python]]
|
||||
[command]*`python`* auflisten/installieren/deinstallieren von Skripten::
|
||||
........................................
|
||||
/python list|listfull [<name>]
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
[[command_relay_relay]]
|
||||
[command]*`relay`* Relay-Kontrolle::
|
||||
........................................
|
||||
/relay list|listfull|listrelay
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
[[command_rmodifier_rmodifier]]
|
||||
[command]*`rmodifier`* wandelt Schlüsselwörter mit regulären Ausdrücken (regelt die Sichtbarkeit von Texten in WeeChat)::
|
||||
........................................
|
||||
/rmodifier list|listdefault
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
[[command_ruby_ruby]]
|
||||
[command]*`ruby`* auflisten/installieren/deinstallieren von Skripten::
|
||||
........................................
|
||||
/ruby list|listfull [<name>]
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
[[command_tcl_tcl]]
|
||||
[command]*`tcl`* auflisten/installieren/deinstallieren von Skripten::
|
||||
........................................
|
||||
/tcl list|listfull [<name>]
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
[[command_weechat_away]]
|
||||
[command]*`away`* Abwesenheitsstatus ein-/ausschalten::
|
||||
........................................
|
||||
/away [-all] [<message>]
|
||||
@@ -6,6 +7,7 @@
|
||||
message: Abwesenheitsnachricht (ohne eine Nachricht wird der Abwesenheitszustand deaktivieren)
|
||||
........................................
|
||||
|
||||
[[command_weechat_bar]]
|
||||
[command]*`bar`* Infobars verwalten::
|
||||
........................................
|
||||
/bar list|listfull|listitems
|
||||
@@ -14,7 +16,7 @@ message: Abwesenheitsnachricht (ohne eine Nachricht wird der Abwesenheitszustand
|
||||
del <name>|-all
|
||||
set <name> <option> <value>
|
||||
hide|show|toggle <name>
|
||||
scroll <name> <buffer> <scroll_value>
|
||||
scroll <name> <window> <scroll_value>
|
||||
|
||||
list: listet alle Infobars auf
|
||||
listfull: listet alle Infobars detailliert auf (Standardaufruf)
|
||||
@@ -35,14 +37,14 @@ message: Abwesenheitsnachricht (ohne eine Nachricht wird der Abwesenheitszustand
|
||||
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>.*)
|
||||
option: Option die verändert werden soll (für eine Liste aller möglichen Optionen, bitte folgenden Befehl nutzen: /set weechat.bar.<barname>.*)
|
||||
value: neuer Wert für Option
|
||||
hide: Infobar wird ausgeblendet
|
||||
show: zeigt eine ausgeblendete 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)
|
||||
window: Nummer des Fensters (nutze '*' für aktuelles Fenster oder für die Root-Bars)
|
||||
scroll_value: Werte für Scroll-Funktion: 'x' oder 'y', gefolgt von '+', '-', 'b' (Beginn) oder 'e' (Ende), Wert (für +/-), und optional % (zum scrollen der Breite/Höhe in %, ansonsten wird dieser Wert als Anzahl der Zeichen interpretiert um die gescrollt werden soll)
|
||||
|
||||
Beispiele:
|
||||
erstellt eine Infobar mit den Items: time, buffer number + name, und Vervollständigung:
|
||||
@@ -57,13 +59,14 @@ Beispiele:
|
||||
/bar scroll nicklist * ye
|
||||
........................................
|
||||
|
||||
[[command_weechat_buffer]]
|
||||
[command]*`buffer`* Buffer verwalten::
|
||||
........................................
|
||||
/buffer list
|
||||
clear [<number>|-merged|-all]
|
||||
clear [<number>|<name>|-merged|-all]
|
||||
move|merge <number>
|
||||
unmerge [<number>]
|
||||
close [<n1>[-<n2>]]
|
||||
unmerge [<number>|-all]
|
||||
close [<n1>[-<n2>]|<name>]
|
||||
notify <level>
|
||||
localvar
|
||||
set <property> <value>
|
||||
@@ -93,31 +96,32 @@ localvar: zeigt die lokalen Variablen für den aktuellen Buffer an
|
||||
name: springt zum Buffer mit dem Namen 'xyz'
|
||||
|
||||
Beispiele:
|
||||
leert den aktuellen Buffer:
|
||||
/buffer clear
|
||||
verschiebt Buffer auf Position 5:
|
||||
/buffer move 5
|
||||
verbindet Buffer mit dem Core-Buffer:
|
||||
/buffer merge 1
|
||||
trennt Buffer voneinander:
|
||||
/buffer unmerge
|
||||
schließt aktuellen Buffer:
|
||||
/buffer close
|
||||
schließt Buffer 5 bis 7:
|
||||
/buffer close 5-7
|
||||
wechselt zum Buffer: #weechat:
|
||||
/buffer #weechat
|
||||
leert den aktuellen Buffer:
|
||||
/buffer clear
|
||||
verschiebt Buffer auf Position 5:
|
||||
/buffer move 5
|
||||
verbindet Buffer mit dem Core-Buffer:
|
||||
/buffer merge 1
|
||||
trennt Buffer voneinander:
|
||||
/buffer unmerge
|
||||
schließt aktuellen Buffer:
|
||||
/buffer close
|
||||
schließt Buffer 5 bis 7:
|
||||
/buffer close 5-7
|
||||
wechselt zum Buffer: #weechat:
|
||||
/buffer #weechat
|
||||
wechselt zum nächsten Buffer:
|
||||
/buffer +1
|
||||
/buffer +1
|
||||
........................................
|
||||
|
||||
[[command_weechat_color]]
|
||||
[command]*`color`* definiert Farbaliase und stellt eine Palette der möglichen Farben dar::
|
||||
........................................
|
||||
/color alias <color> <name>
|
||||
unalias <color>
|
||||
reset
|
||||
|
||||
alias: weißt einer Farbzahl einen Namen zu
|
||||
alias: weist einer Farbzahl einen Namen zu
|
||||
unalias: entfernt einen Namen
|
||||
color: Farbnummer (>= 0, maximale Anzahl ist abhängig vom Terminal, üblicherweise 63 oder 255 Farben)
|
||||
name: Aliasname für eine Farbe (zum Beispiel: "orange")
|
||||
@@ -132,6 +136,7 @@ Beispiele:
|
||||
/color unalias 214
|
||||
........................................
|
||||
|
||||
[[command_weechat_command]]
|
||||
[command]*`command`* führe explizit einen WeeChat Befehl oder eine Erweiterung aus::
|
||||
........................................
|
||||
/command <plugin> <command>
|
||||
@@ -140,25 +145,56 @@ Erweiterung: Name der Erweiterung ('weechat' für interne WeeChat Befehle)
|
||||
Befehl: auszuführender Befehl (es wird automatisch ein '/' vorangestellt, falls dieser nicht angegeben wurde)
|
||||
........................................
|
||||
|
||||
[[command_weechat_cursor]]
|
||||
[command]*`cursor`* Cursor kann frei auf dem Bildschirm bewegt werden um Aktionen in bestimmten Arealen auszuführen::
|
||||
........................................
|
||||
/cursor go chat|<bar>|<x>,<y>
|
||||
move up|down|left|right|area_up|area_down|area_left|area_right
|
||||
stop
|
||||
|
||||
go: setzt den Cursor in den Chat Bereich, in eine Bar (Name der Bar muss angegeben werden) oder auf die Koordinaten "x,y"
|
||||
move: Cursor wird in die entsprechende Richtung bewegt
|
||||
stop: beendet den Cursor-Modus
|
||||
|
||||
Ohne Angabe von Argumenten wird der Cursor-Modus umgeschaltet.
|
||||
|
||||
Ist die Mausfunktion aktiviert (siehe /help mouse), aktiviert man den Cursor-Modus man mit der mittleren Maustaste und positioniert den Cursor an diesen Punkt.
|
||||
|
||||
Beispiele:
|
||||
gehe zur Nickliste:
|
||||
/cursor go nicklist
|
||||
gehe zu den Koordinaten x=10, y=5:
|
||||
/cursor go 10,5
|
||||
........................................
|
||||
|
||||
[[command_weechat_debug]]
|
||||
[command]*`debug`* Debug-Kontrolle für Hauptprogramm und/oder Erweiterung::
|
||||
........................................
|
||||
/debug list
|
||||
set <plugin> <level>
|
||||
dump [<plugin>]
|
||||
buffer|color|memory|term|windows
|
||||
buffer|color|infolists|memory|tags|term|windows
|
||||
mouse|cursor [verbose]
|
||||
hdata [free]
|
||||
|
||||
list: zeigt alle Erweiterungen mit Debuglevel an
|
||||
set: setzt den Level der Protokollierung für eine Erweiterung
|
||||
plugin: Name der Erweiterung ("core" für den WeeChat Kern)
|
||||
level: Debuglevel der Erweiterung (0 = deaktiviert das Debug)
|
||||
dump: Speicherabbild in die WeeChat Protokolldatei schreiben (wie bei einem Programmabsturz)
|
||||
buffer: speichert den Bufferinhalt als hexadezimale Ausgabe in die Protokolldatei
|
||||
color: zeigt Informationen über die aktuellen Farbpaarungen an
|
||||
memory: gibt Informationen über den genutzten Speicher aus
|
||||
term: gibt Informationen über das Terminal und verfügbare Farben aus
|
||||
windows: zeigt die Fensterstruktur an
|
||||
list: zeigt alle Erweiterungen mit Debuglevel an
|
||||
set: setzt den Level der Protokollierung für eine Erweiterung
|
||||
plugin: Name der Erweiterung ("core" für den WeeChat Kern)
|
||||
level: Debuglevel der Erweiterung (0 = deaktiviert das Debug)
|
||||
dump: Speicherabbild in die WeeChat Protokolldatei schreiben (wie bei einem Programmabsturz)
|
||||
buffer: speichert den Bufferinhalt als hexadezimale Ausgabe in die Protokolldatei
|
||||
color: zeigt Informationen über die aktuellen Farbpaarungen an
|
||||
cursor: schaltet den debug-Modus für den Cursor-Modus ein/aus
|
||||
hdata: zeigt Informationen zu hdata an (mittels free werden alle hdata Informationen aus dem Speicher entfernt)
|
||||
infolists: zeigt Information über die Infolists an
|
||||
memory: gibt Informationen über den genutzten Speicher aus
|
||||
mouse: schaltet den debug-Modus für den Maus-Modus ein/aus
|
||||
tags: zeigt für jede einzelne Zeile die dazugehörigen Tags an
|
||||
term: gibt Informationen über das Terminal und verfügbare Farben aus
|
||||
windows: zeigt die Fensterstruktur an
|
||||
........................................
|
||||
|
||||
[[command_weechat_filter]]
|
||||
[command]*`filter`* Filterfunktion um Nachrichten in Buffern zu aus- oder einzublenden, dazu können Tags oder regulären Ausdrücken verwendet werden::
|
||||
........................................
|
||||
/filter list
|
||||
@@ -193,6 +229,7 @@ Die am häufigsten gebrauchten Tags lauten:
|
||||
nick_xxx (xxx ist durch den Nicknamen zu ersetzen),
|
||||
irc_xxx (xxx ist durch einen IRC-Befehl/-Nummer zu ersetzen, siehe /server raw)
|
||||
irc_numeric, irc_error, irc_action, irc_ctcp, irc_ctcp_reply, irc_smart_filter, away_info.
|
||||
Um sich die Tags jeder einzelnen Zeile darstellen zu lassen: /debug tags
|
||||
|
||||
Beispiele:
|
||||
aktiviert einen einfachen IRC Filter für join/part/quit/nick Nachrichten für alle Buffer:
|
||||
@@ -213,6 +250,7 @@ Beispiele:
|
||||
/filter add sucks irc.freenode.#weechat * weechat sucks
|
||||
........................................
|
||||
|
||||
[[command_weechat_help]]
|
||||
[command]*`help`* Zeigt einen Hilfstext für Befehle und Optionen an::
|
||||
........................................
|
||||
/help -list|-listfull [<plugin> [<plugin>...]]
|
||||
@@ -226,6 +264,7 @@ Beispiele:
|
||||
option: Name einer Option (nutze /set um Optionen anzeigen zu lassen)
|
||||
........................................
|
||||
|
||||
[[command_weechat_history]]
|
||||
[command]*`history`* Zeigt den Befehlsverlauf des Buffers::
|
||||
........................................
|
||||
/history clear
|
||||
@@ -235,15 +274,20 @@ clear: löscht den Befehlsverlauf
|
||||
value: Anzahl der gewünschten Einträgen im Befehlsverlauf anzeigen
|
||||
........................................
|
||||
|
||||
[[command_weechat_input]]
|
||||
[command]*`input`* Funktionen für die Befehlszeile::
|
||||
........................................
|
||||
/input <action> [<arguments>]
|
||||
|
||||
Liste der Aktionen:
|
||||
Auflistung der Aktionen:
|
||||
return: simuliert die "enter" Taste
|
||||
complete_next: vervollständigt Word mit nächster Komplettierung
|
||||
complete_next: vervollständigt Wort mit nächster Komplettierung
|
||||
complete_previous: vervollständigt Word mit vorheriger Komplettierung
|
||||
search_text: sucht nach Text im Buffer
|
||||
search_switch_case: schaltet Groß-/Kleinschreibung ein und aus
|
||||
search_previous: sucht vorheriger Zeile
|
||||
search_next: sucht nächste Zeile
|
||||
search_stop: suche stoppen
|
||||
delete_previous_char: entfernt vorheriges Zeichen
|
||||
delete_next_char: entfernt nächstes Zeichen
|
||||
delete_previous_word: entfernt vorheriges Wort
|
||||
@@ -270,8 +314,10 @@ Liste der Aktionen:
|
||||
jump_previously_visited_buffer: springt zum letzten besuchten Buffer
|
||||
jump_next_visited_buffer: springt zum nächsten besuchten Buffer
|
||||
hotlist_clear: löscht Hotliste (Aktivitätsanzeige für die Buffer)
|
||||
grab_key: fängt eine Taste
|
||||
grab_key_command: zeigt den Tastencode (inklusive des eingebundenen Befehls) einer Tastenkombination an und fügt ihn in die Befehlszeile ein
|
||||
grab_key: fängt eine Taste (optionales Argument: Verzögerung um eine Taste einzufangen. Standard sind 500 Millisekunden)
|
||||
grab_key_command: zeigt den Tastencode (inklusive des eingebundenen Befehls) einer Tastenkombination an und fügt ihn in die Befehlszeile ein (optionales Argument: Verzögerung um eine Taste einzufangen. Standard sind 500 Millisekunden)
|
||||
grab_mouse: fängt den Code einer Maus Aktivität
|
||||
grab_mouse_area: fängt den Code einer Maus Aktivität mit Bereich
|
||||
scroll_unread: springe zur ersten ungelesenen Zeile im Buffer
|
||||
set_unread: setzt die ungelesen Markierung für alle Buffer
|
||||
set_unread_current_buffer: setzt die ungelesen Markierung für den aktuellen Buffer
|
||||
@@ -279,38 +325,63 @@ Liste der Aktionen:
|
||||
switch_active_buffer_previous: springt zum vorherigen zusammengefügten Buffer
|
||||
insert: fügt einen Text in die Eingabezeile ein
|
||||
|
||||
This command is used by key bindings or plugins.
|
||||
Dieser Befehl wird durch Tastenbelegungen oder Erweiterungen genutzt.
|
||||
........................................
|
||||
|
||||
[[command_weechat_key]]
|
||||
[command]*`key`* Einer Taste einen Befehl zuordnen oder entfernen::
|
||||
........................................
|
||||
/key list|listdefault|listdiff
|
||||
/key list|listdefault|listdiff [<context>]
|
||||
bind <key> [<command> [<args>]]
|
||||
bindctxt <context> <key> [<command> [<args>]]
|
||||
unbind <key>
|
||||
unbindctxt <context> <key>
|
||||
reset <key>
|
||||
resetall -yes
|
||||
missing
|
||||
resetctxt <context> <key>
|
||||
resetall -yes [<context>]
|
||||
missing [<context>]
|
||||
|
||||
list: zeigt die aktuelle Tastenbelegungen an (Standardaufruf)
|
||||
listdefault: zeigt die Standardeinstellung der Tastenbelegung an
|
||||
listdiff: zeigt die Unterschiede zwischen der aktuell genutzten Tastaturbelegung und der Standardbelegung an (hinzugefügte/verändert/gelöschte Tastenbelegungen)
|
||||
bind: belegt eine Taste mit einem Befehl oder zeigt an welcher Befehl auf eine Taste gelegt wurde
|
||||
unbind: hebt eine Tastenbelegung auf
|
||||
reset: die Tastenbelegung wird für die ausgewählte Taste auf die Standardeinstellung zurück gesetzt
|
||||
context: Name des Kontextes ("default" oder "search")
|
||||
bind: belegt eine Taste mit einem Befehl oder zeigt an welcher Befehl auf eine Taste gelegt wurde (für Kontext "default")
|
||||
bindctxt: belegt eine Taste mit einem Befehl oder zeigt an welcher Befehl auf eine Taste gelegt wurde, dies trifft für Kontext definierte Tasten zu
|
||||
unbind: hebt eine Tastenbelegung auf (für Kontext "default")
|
||||
unbindctxt: hebt eine Tastenbelegung für den angegebenen Kontext auf
|
||||
reset: die Tastenbelegung wird für die ausgewählte Taste auf die Standardeinstellung zurück gesetzt (für Kontext "default")
|
||||
resetctxt: die Tastenbelegung wird für die ausgewählte Taste auf die Standardeinstellung zurück gesetzt, dies trifft für den ausgewählten Kontext zu
|
||||
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.
|
||||
Falls einer Taste ein Befehl zugeordnet werden soll ist es ratsam zuerst mit der Tastenkombination alt+k (oder Esc + k) einen Fangmodus zu aktivieren um damit die neu zu belegende Taste zu greifen. Durch diesen Schritt wird der entsprechende Tasten-Code in die Befehlszeile übernommen.
|
||||
|
||||
Für Kontext "mouse" (Kontext "cursor" ist auch möglich), hat der zu verwendende Schlüssel folgendes Format: "@area:Schlüssel" oder "@area1>area2:Schlussel". "area" kann folgende Werte habe:
|
||||
*: jedweder Bereich des Bildschirms
|
||||
chat: Chatbereich (für jeden Buffer)
|
||||
chat(xxx): Chatbereich für einen Buffer mit dem Namen "xxx" (vollständiger Name mit Erweiterung. Beispiel: chat(perl.iset):)
|
||||
bar(*): beliebige Bar
|
||||
bar(xxx): Bar mit dem Namen "xxx"
|
||||
item(*): beliebiges Bar-Item
|
||||
item(xxx): Bar-Item mit Namen "xxx"
|
||||
Der zu nutzende Schlüssel kann mit '*' beginnen oder enden um mehrere unterschiedliche Mausereignisse auszuwählen.
|
||||
Für den Kontext "mouse" kann ein besonderer Übergabewert für den zu nutzenden Befehl verwendet werden, "hsignal:name". Dieses sendet das hsignal "name" und als Inhalt ein Hashtable als Argument.
|
||||
Ein weiterer Übergabewert ist "-" und kann genutzt werden um einen Schlüssel zu deaktivieren (der Schlüssel wird bei der Durchführung übersprungen).
|
||||
|
||||
Beispiele:
|
||||
Mit der Tastenkombination "alt-x" kann die Nicklist-Bar an-und aus geschaltet werden:
|
||||
Mit der Tastenkombination "alt-x" wird die Nicklist-Bar an-und aus geschaltet:
|
||||
/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
|
||||
"Tab"-Taste nutzen um im Kontext "search" die Suche innerhalb eines Buffers zu beenden:
|
||||
/key bindctxt search ctrl-I /input search_stop
|
||||
Auswahl eines Nicknamens mittels mittlerem Mausknopf zeigt zusätzliche Informationen zu dem Nick an:
|
||||
/key bindctxt mouse @item(buffer_nicklist):button3 /msg nickserv info ${nick}
|
||||
........................................
|
||||
|
||||
[[command_weechat_layout]]
|
||||
[command]*`layout`* Layout für Buffer und Fenster speichern, anwenden oder zurücksetzen::
|
||||
........................................
|
||||
/layout save [buffers|windows]
|
||||
@@ -326,6 +397,27 @@ windows: speichert/verwendet nur Fenster (Buffer welche im jeweiligen Fenster da
|
||||
Wird der Befehl ohne Argumente aufgerufen wird das gespeicherte Layout dargestellt.
|
||||
........................................
|
||||
|
||||
[[command_weechat_mouse]]
|
||||
[command]*`mouse`* Maussteuerung::
|
||||
........................................
|
||||
/mouse enable|disable|toggle [<delay>]
|
||||
|
||||
enable: aktiviert Maus
|
||||
disable: deaktiviert Maus
|
||||
toggle: umschalten der Mausunterstützung
|
||||
delay: Verzögerung (in Sekunden) nach der der ursprüngliche Status wiederhergestellt wird (nützlich um zeitgesteuert die Mausunterstützung zu deaktivieren)
|
||||
|
||||
Um die Mausunterstützung beim Programmstart ein-/auszuschalten:
|
||||
/set weechat.look.mouse on/off
|
||||
|
||||
Beispiele:
|
||||
Mausunterstützung aktivieren:
|
||||
/mouse enable
|
||||
Mausunterstützung für 5 Sekunden umschalten:
|
||||
/mouse toggle 5
|
||||
........................................
|
||||
|
||||
[[command_weechat_mute]]
|
||||
[command]*`mute`* Führt einen Befehl ohne Textausgabe aus::
|
||||
........................................
|
||||
/mute [-current | -buffer <name> | -all] command
|
||||
@@ -347,6 +439,7 @@ Beispiele:
|
||||
/mute -buffer irc.freenode.#weechat msg #weechat hi!
|
||||
........................................
|
||||
|
||||
[[command_weechat_plugin]]
|
||||
[command]*`plugin`* Erweiterungen verwalten (auflisten/installieren/deinstallieren)::
|
||||
........................................
|
||||
/plugin list|listfull [<name>]
|
||||
@@ -357,13 +450,16 @@ Beispiele:
|
||||
list: installierte Erweiterungen werden aufgelistet
|
||||
listfull: detaillierte Auflistung aller installierten Erweiterungen
|
||||
load: installiert eine Erweiterung
|
||||
autoload: installiert automatisch alle Erweiterungen aus System- oder Benutzerverzeichnis
|
||||
autoload: installiert automatisch alle Erweiterungen aus dem System- oder Benutzerverzeichnis
|
||||
reload: installiert eine Erweiterung erneut (falls kein Name angegeben wird, werden alle Erweiterungen entfernt und neu installiert)
|
||||
unload: deinstalliere eine oder alle Erweiterungen (falls kein Name angegeben wird werden alle Erweiterung entfernt)
|
||||
unload: deinstalliere eine oder alle Erweiterungen (wird kein Name angegeben dann werden alle Erweiterung entfernt)
|
||||
filename: Erweiterung (Datei) welche installiert werden soll
|
||||
name: Name einer Erweiterung
|
||||
|
||||
Ohne Angabe eines Arguments werden alle installierten Erweiterungen angezeigt.
|
||||
........................................
|
||||
|
||||
[[command_weechat_proxy]]
|
||||
[command]*`proxy`* Proxies verwalten::
|
||||
........................................
|
||||
/proxy list
|
||||
@@ -396,6 +492,7 @@ Beispiele:
|
||||
/proxy del myproxy
|
||||
........................................
|
||||
|
||||
[[command_weechat_quit]]
|
||||
[command]*`quit`* WeeChat beenden::
|
||||
........................................
|
||||
/quit [-yes] [<arguments>]
|
||||
@@ -405,6 +502,7 @@ arguments: Text der beim Signal "quit" verschickt wird
|
||||
(zum Beispiel sendet die IRC Erweiterung diesen Text als Quit-Nachricht an den Server)
|
||||
........................................
|
||||
|
||||
[[command_weechat_reload]]
|
||||
[command]*`reload`* Konfiguration neu laden::
|
||||
........................................
|
||||
/reload [<file> [<file>...]]
|
||||
@@ -414,6 +512,23 @@ file: Konfigurationsdatei die erneut geladen werden soll (ohne Dateinamenserweit
|
||||
Ohne Angabe von Argumenten werden alle Konfigurationen (WeeChat und Erweiterungen) neu geladen.
|
||||
........................................
|
||||
|
||||
[[command_weechat_repeat]]
|
||||
[command]*`repeat`* Führt einen Befehl mehrfach aus::
|
||||
........................................
|
||||
/repeat [-interval <delay>] <count> <command>
|
||||
|
||||
delay: Verzögerung zwischen dem Ausführen der Befehle (in Millisekunden)
|
||||
count: Anzahl wie oft der Befehl ausgeführt werden soll
|
||||
command: Befehl welcher ausgeführt werden soll (das Befehlszeichen '/' wird automatisch hinzugefügt, falls es zum Befehlsbeginn nicht gefunden werden sollte)
|
||||
|
||||
Alle Befehle werden in dem Buffer ausgeführt, in welchem dieser Befehl genutzt wird.
|
||||
|
||||
Beispiel:
|
||||
scrolle zwei Seiten hoch:
|
||||
/repeat 2 /window page_up
|
||||
........................................
|
||||
|
||||
[[command_weechat_save]]
|
||||
[command]*`save`* Konfiguration abspeichern::
|
||||
........................................
|
||||
/save [<file> [<file>...]]
|
||||
@@ -423,6 +538,7 @@ file: Konfigurationsdatei die gesichert werden soll (ohne Dateinamenserweiterung
|
||||
Wird keine Datei angegeben dann werden alle Konfigurationen (WeeChat und Erweiterungen) gesichert.
|
||||
........................................
|
||||
|
||||
[[command_weechat_set]]
|
||||
[command]*`set`* Konfigurationsparameter setzen::
|
||||
........................................
|
||||
/set [<option> [<value>]]
|
||||
@@ -445,6 +561,7 @@ Beispiele:
|
||||
/set weechat.look.highlight "word"
|
||||
........................................
|
||||
|
||||
[[command_weechat_unset]]
|
||||
[command]*`unset`* Konfigurationsparameter freigeben/zurücksetzen::
|
||||
........................................
|
||||
/unset <option>
|
||||
@@ -460,13 +577,16 @@ Beispiele:
|
||||
/unset weechat.color.*
|
||||
........................................
|
||||
|
||||
[[command_weechat_upgrade]]
|
||||
[command]*`upgrade`* Aktualisiert WeeChat ohne die Verbindung zum Server zu trennen::
|
||||
........................................
|
||||
/upgrade [<path_to_binary>]
|
||||
|
||||
path_to_binary: Pfad zu einer ausführbaren WeeChat Version (Standardeinstellung ist die aktuell ausführbare Datei)
|
||||
path_to_binary: Pfad zu einer ausführbaren WeeChat Binärdatei (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.
|
||||
Dieser Befehl führt ein Upgrade von WeeChat durch und startet die laufende Sitzung neu. Die neue Version von WeeChat muss deshalb vorab kompiliert oder mit einem Paketmanager installiert worden sein, bevor der Befehl ausgeführt werden kann.
|
||||
|
||||
Hinweis: SSL Verbindungen werden während eines Upgrades unterbrochen, da solche Verbindungen zur Zeit nicht mit GnuTLS gehalten werden können. Nach einem erfolgten Upgrade findet eine automatische Verbindung zu diesen Servern statt.
|
||||
|
||||
Der Upgrade Vorgang besteht aus vier Schritten:
|
||||
1. Speicherung der Session in Dateien für Core und Erweiterungen (buffers, history, ..)
|
||||
@@ -475,6 +595,7 @@ Der Upgrade Vorgang besteht aus vier Schritten:
|
||||
4. ausführen einer neuen WeeChat Session.
|
||||
........................................
|
||||
|
||||
[[command_weechat_uptime]]
|
||||
[command]*`uptime`* Zeigt die Uptime von Weechat an::
|
||||
........................................
|
||||
/uptime [-o | -ol]
|
||||
@@ -483,6 +604,7 @@ Der Upgrade Vorgang besteht aus vier Schritten:
|
||||
-ol: sendet die WeeChat Laufzeit in den aktuellen Buffer (in der voreingestellten Landessprache)
|
||||
........................................
|
||||
|
||||
[[command_weechat_version]]
|
||||
[command]*`version`* Zeigt die WeeChat-Version und das Datum der Kompilierung an::
|
||||
........................................
|
||||
/version [-o | -ol]
|
||||
@@ -491,6 +613,7 @@ Der Upgrade Vorgang besteht aus vier Schritten:
|
||||
-ol: sendet die WeeChat Version in den aktuellen Buffer (in der Voreingestellten Landessprache)
|
||||
........................................
|
||||
|
||||
[[command_weechat_wait]]
|
||||
[command]*`wait`* Terminiere einen Befehl der ausgeführt werden soll::
|
||||
........................................
|
||||
/wait <number>[<unit>] <command>
|
||||
@@ -514,19 +637,23 @@ Beispiele:
|
||||
/wait 2m Hallo
|
||||
........................................
|
||||
|
||||
[[command_weechat_window]]
|
||||
[command]*`window`* Fenster verwalten::
|
||||
........................................
|
||||
/window list
|
||||
-1|+1|b#|up|down|left|right
|
||||
splith|splitv [<pct>]
|
||||
resize [+/-]<pct>
|
||||
-1|+1|b#|up|down|left|right [-window <number>]
|
||||
<number>
|
||||
splith|splitv [-window <number>] [<pct>]
|
||||
resize [-window <number>] [+/-]<pct>
|
||||
balance
|
||||
merge [all]
|
||||
page_up|page_down
|
||||
merge [-window <number>] [all]
|
||||
page_up|page_down [-window <number>]
|
||||
refresh
|
||||
scroll|scroll_up|scroll_down|scroll_top|scroll_bottom|scroll_previous_highlight|scroll_next_highlight
|
||||
swap [up|down|left|right]
|
||||
zoom
|
||||
scroll [-window <number>] [+/-]<value>[s|m|h|d|M|y]
|
||||
scroll_horiz [-window <number>] [+/-]<value>[%]
|
||||
scroll_up|scroll_down|scroll_top|scroll_bottom|scroll_previous_highlight|scroll_next_highlight [-window <number>]
|
||||
swap [-window <number>] [up|down|left|right]
|
||||
zoom[-window <number>]
|
||||
|
||||
list: listet die geöffneten Fenster (ohne Angabe von Parametern wird diese Funktion aufgerufen)
|
||||
-1: springt zum vorherigen Fenster
|
||||
@@ -536,6 +663,7 @@ Beispiele:
|
||||
down: wechselt zum Fenster unter dem aktuellen
|
||||
left: wechselt zum linken Fenster
|
||||
right: wechselt zum rechten Fenster
|
||||
number: Nummer des Fensters (siehe /window list)
|
||||
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ß
|
||||
@@ -545,6 +673,7 @@ Beispiele:
|
||||
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_horiz: scrollt horizontal eine Anzahl an Spalten (+/-N) oder prozentual von der Fenstergröße ausgehend (dieses scrolling ist nur in Buffern möglich die über einen freien Inhalt verfügen)
|
||||
scroll_up: scrollt ein paar Zeilen nach oben
|
||||
scroll_down: scrollt ein paar Zeilen nach unten
|
||||
scroll_top: scrollt zum Anfang des Buffers
|
||||
@@ -552,18 +681,20 @@ scroll_bottom: scrollt zum Ende des Buffers
|
||||
scroll_previous_highlight: scrollt zum vorherigen Hightlight
|
||||
scroll_next_highlight: scrollt zum nächsten Highlight
|
||||
swap: tauscht die Buffer von zwei Fenstern (mit optionaler Angabe für das Zielfenster)
|
||||
zoom: vergrößert auf Fenster
|
||||
zoom: vergrößert ein Fenster auf 100%
|
||||
|
||||
Bei splith und splitv gibt "pct" die neue Größe des Fensters im Verhältnis zur aktuellen Größe an. Zum Beispiel würde ein Wert von 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:
|
||||
springt zum Fenster mit dem Buffer #1:
|
||||
/window b1
|
||||
Scrollt zwei Zeilen hoch:
|
||||
scrollt zwei Zeilen hoch:
|
||||
/window scroll -2
|
||||
Scrollt zwei Tage hoch: /window scroll -2d
|
||||
scrollt zwei Tage hoch: /window scroll -2d
|
||||
/window scroll -2d
|
||||
Scrollt zum Beginn des aktuellen Tages:
|
||||
scrollt zum Beginn des aktuellen Tages:
|
||||
/window scroll -d
|
||||
Fenster #2 wird vergrößert:
|
||||
/window zoom -window 2
|
||||
........................................
|
||||
|
||||
|
||||
@@ -43,6 +43,16 @@
|
||||
** Typ: Farbe
|
||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute werden vor einer Farbe gesetzt (ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "_" für unterstrichen (Standardwert: `cyan`)
|
||||
|
||||
* *weechat.color.chat_inactive_buffer*
|
||||
** Beschreibung: `Textfarbe für inaktive Zeilen im Chatfenster (Buffer wurde mit anderen Buffern zusammengefügt und der Buffer ist nicht aktiv)`
|
||||
** Typ: Farbe
|
||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute werden vor einer Farbe gesetzt (ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "_" für unterstrichen (Standardwert: `darkgray`)
|
||||
|
||||
* *weechat.color.chat_inactive_window*
|
||||
** Beschreibung: `Textfarbe für Chat wenn das Fenster inaktiv ist (betrifft nicht das aktuell ausgewählte Fenster)`
|
||||
** Typ: Farbe
|
||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute werden vor einer Farbe gesetzt (ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "_" für unterstrichen (Standardwert: `darkgray`)
|
||||
|
||||
* *weechat.color.chat_nick*
|
||||
** Beschreibung: `Farbe für Nicks im Chat-Fenster`
|
||||
** Typ: Farbe
|
||||
@@ -73,6 +83,11 @@
|
||||
** Typ: Farbe
|
||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute werden vor einer Farbe gesetzt (ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "_" für unterstrichen (Standardwert: `brown`)
|
||||
|
||||
* *weechat.color.chat_prefix_buffer_inactive_buffer*
|
||||
** Beschreibung: `Textfarbe für den inaktiven Namen des Buffer (vor dem Präfix, falls mehrere Buffer zu einem zusammengefügt worden sind und der Buffer nicht ausgewählt ist)`
|
||||
** Typ: Farbe
|
||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute werden vor einer Farbe gesetzt (ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "_" für unterstrichen (Standardwert: `darkgray`)
|
||||
|
||||
* *weechat.color.chat_prefix_error*
|
||||
** Beschreibung: `Textfarbe für Fehler-Präfix`
|
||||
** Typ: Farbe
|
||||
@@ -118,6 +133,11 @@
|
||||
** Typ: Farbe
|
||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute werden vor einer Farbe gesetzt (ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "_" für unterstrichen (Standardwert: `brown`)
|
||||
|
||||
* *weechat.color.chat_tags*
|
||||
** Beschreibung: `Textfarbe für die Anzeige der Tags nach der jeweiligen Nachricht (wird durch den Befehl "/debug tags" angezeigt)`
|
||||
** Typ: Farbe
|
||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute werden vor einer Farbe gesetzt (ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "_" für unterstrichen (Standardwert: `red`)
|
||||
|
||||
* *weechat.color.chat_text_found*
|
||||
** Beschreibung: `Farbe zur Hervorhebung des gesuchten Textes in einer Zeile`
|
||||
** Typ: Farbe
|
||||
@@ -144,7 +164,7 @@
|
||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute werden vor einer Farbe gesetzt (ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "_" für unterstrichen (Standardwert: `cyan`)
|
||||
|
||||
* *weechat.color.input_actions*
|
||||
** Beschreibung: `Textfarbe in der Eingabezeile bei Aktivität`
|
||||
** Beschreibung: `Textfarbe in der Eingabezeile bei Aktivität (z.B. beim Einfügen von Zeilen)`
|
||||
** Typ: Farbe
|
||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute werden vor einer Farbe gesetzt (ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "_" für unterstrichen (Standardwert: `lightgreen`)
|
||||
|
||||
@@ -318,6 +338,26 @@
|
||||
** Typ: integer
|
||||
** Werte: time, buffer, prefix, suffix, message (Standardwert: `message`)
|
||||
|
||||
* *weechat.look.bar_more_down*
|
||||
** Beschreibung: `Zeichen welches anzeigt, dass die Bar nach unten gescrollt werden kann (dies trifft nur auf Bars zu bei denen die Option "/set *.filling_*" nicht auf "horizontal" eingestellt ist).`
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette (Standardwert: `"++"`)
|
||||
|
||||
* *weechat.look.bar_more_left*
|
||||
** Beschreibung: `Zeichen welches anzeigt, dass die Bar nach links gescrollt werden kann (dies trifft nur auf Bars zu bei denen die Option "/set *.filling_*" nicht auf "horizontal" eingestellt ist).`
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette (Standardwert: `"<<"`)
|
||||
|
||||
* *weechat.look.bar_more_right*
|
||||
** Beschreibung: `Zeichen welches anzeigt, dass die Bar nach rechts gescrollt werden kann (dies trifft nur auf Bars zu bei denen die Option "/set *.filling_*" nicht auf "horizontal" eingestellt ist).`
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette (Standardwert: `">>"`)
|
||||
|
||||
* *weechat.look.bar_more_up*
|
||||
** Beschreibung: `Zeichen welches anzeigt, dass die Bar nach oben gescrollt werden kann (dies trifft nur auf Bars zu bei denen die Option "/set *.filling_*" nicht auf "horizontal" eingestellt ist).`
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette (Standardwert: `"--"`)
|
||||
|
||||
* *weechat.look.buffer_notify_default*
|
||||
** Beschreibung: `Standardeinstellung der Benachrichtigungsstufe für Buffer (dies wird genutzt um WeeChat mitzuteilen ob der Buffer in der Hotlist angezeigt werden soll oder nicht, entsprechend der Wichtigkeit der Nachricht): all=alle Nachrichten (Standard), message=Nachrichten+Highlights, highlights=nur Highlights, none=Hotlist wird niemals angezeigt.`
|
||||
** Typ: integer
|
||||
@@ -328,6 +368,41 @@
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette (Standardwert: `"%H:%M:%S"`)
|
||||
|
||||
* *weechat.look.color_basic_force_bold*
|
||||
** Beschreibung: `erzwingt das Textattribut "fett" für helle Farben und "darkgray" um diese Farben stärker hervorzuheben (diese Option ist standardmäßig deaktiviert: "fett" findet ausschließlich dann Verwendung falls das Terminal weniger als 16 Farben zur Verfügung stellt)`
|
||||
** Typ: boolesch
|
||||
** Werte: on, off (Standardwert: `off`)
|
||||
|
||||
* *weechat.look.color_inactive_buffer*
|
||||
** Beschreibung: `Textfarbe der Zeilen in einem inaktiven Buffer (betrifft Zeilen in einem zusammengefügt Buffer, welcher nicht aktiv ist)`
|
||||
** Typ: boolesch
|
||||
** Werte: on, off (Standardwert: `off`)
|
||||
|
||||
* *weechat.look.color_inactive_message*
|
||||
** Beschreibung: `nutzt eine andere Farbe um die inaktiven Nachrichten darzustellen (Fenster ist nicht das aktuelle Fenster oder die Zeile des zusammengefügten Buffers ist nicht aktiv)`
|
||||
** Typ: boolesch
|
||||
** Werte: on, off (Standardwert: `on`)
|
||||
|
||||
* *weechat.look.color_inactive_prefix*
|
||||
** Beschreibung: `nutzt eine andere Farbe um den inaktiven Prefix darzustellen (Fenster ist nicht das aktuelle Fenster oder die Zeile des zusammengefügten Buffers ist nicht aktiv)`
|
||||
** Typ: boolesch
|
||||
** Werte: on, off (Standardwert: `on`)
|
||||
|
||||
* *weechat.look.color_inactive_prefix_buffer*
|
||||
** Beschreibung: `nutzt eine andere Farbe um den inaktiven BUffernamen im Prefix (Fenster ist nicht das aktuelle Fenster oder die Zeile des zusammengefügten Buffers ist nicht aktiv)`
|
||||
** Typ: boolesch
|
||||
** Werte: on, off (Standardwert: `on`)
|
||||
|
||||
* *weechat.look.color_inactive_time*
|
||||
** Beschreibung: `nutzt eine andere Farbe um die inaktive Zeitangabe darzustellen (Fenster ist nicht das aktuelle Fenster oder die Zeile des zusammengefügten Buffers ist nicht aktiv)`
|
||||
** Typ: boolesch
|
||||
** Werte: on, off (Standardwert: `off`)
|
||||
|
||||
* *weechat.look.color_inactive_window*
|
||||
** Beschreibung: `Textfarbe der Zeilen in einem inaktiven Fenster (betrifft das Fenster, welches nicht aktiv ist)`
|
||||
** Typ: boolesch
|
||||
** Werte: on, off (Standardwert: `off`)
|
||||
|
||||
* *weechat.look.color_pairs_auto_reset*
|
||||
** Beschreibung: `automatischer Reset der Farbpaarungen sobald die verfügbare Anzahl an Paaren kleiner oder gleich der hier angegebenen Anzahl ist (-1 = deaktiviert den automatischen Reset, dann ist ein manueller Reset mittels "/color reset" notwendig falls alle Farbpaarungen belegt sind)`
|
||||
** Typ: integer
|
||||
@@ -358,6 +433,11 @@
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette (Standardwert: `"%a, %d %b %Y"`)
|
||||
|
||||
* *weechat.look.eat_newline_glitch*
|
||||
** Beschreibung: `aktiviert man diese Option, dann wird "eat_newline_glitch" auf 0 gesetzt; dies bedeutet, dass am Ende einer Zeile kein Zeilenumbruch angehangen wird und somit der Text beim kopieren aus WeeChat und beim einfügen in einer anderen Applikation nicht umgebrochen wird (diese Option ist standardmäßig deaktiviert, da es zu schwerwiegenden Grafikfehlern kommen kann)`
|
||||
** Typ: boolesch
|
||||
** Werte: on, off (Standardwert: `off`)
|
||||
|
||||
* *weechat.look.highlight*
|
||||
** Beschreibung: `Durch Kommata getrennte Liste der hervorzuhebenden Wörter (Groß-/Kleinschreibung wird nicht beachtet. Die Schlagwörter können mit "*", als Joker, beginnen oder enden)`
|
||||
** Typ: Zeichenkette
|
||||
@@ -373,11 +453,6 @@
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette (Standardwert: `""`)
|
||||
|
||||
* *weechat.look.hline_char*
|
||||
** Beschreibung: `Das angegebene Zeichen wird genutzt um damit die horizontalen Linien zu zeichnen. Wird kein Zeichen angegeben zeichnet ncurses eine durchgezogene Linie. Dies kann allerdings bei einigen Terminals zu Fehlern führen, falls die URL Auswahl genutzt wird. Wide Chars sind für diese Option NICHT erlaubt.`
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette (Standardwert: `"-"`)
|
||||
|
||||
* *weechat.look.hotlist_add_buffer_if_away*
|
||||
** Beschreibung: `fügt einen beliebigen Buffer zur Hotlist hinzu (dies schließt den aktuellen oder jeden anderen sichtbaren Buffer ein) sofern die lokale Variable "away" für den Buffer gesetzt wurde`
|
||||
** Typ: boolesch
|
||||
@@ -449,10 +524,15 @@
|
||||
** Werte: on, off (Standardwert: `off`)
|
||||
|
||||
* *weechat.look.input_undo_max*
|
||||
** Beschreibung: `maximale Anzahl für "Zurücknahme" von Befehlen im Verlauf, pro Buffer (0: deaktiviert die Funktion)`
|
||||
** Beschreibung: `maximale Anzahl von "Rücknahmen" für Befehle im Verlauf, pro Buffer (0: deaktiviert die Funktion)`
|
||||
** Typ: integer
|
||||
** Werte: 0 .. 65535 (Standardwert: `32`)
|
||||
|
||||
* *weechat.look.item_buffer_filter*
|
||||
** Beschreibung: `Zeichen mit welchem in der Bar-Item ("buffer_filter") signalisiert wird ob im aktuellen Buffer die Filterfunktion eingeschaltet ist.`
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette (Standardwert: `"*"`)
|
||||
|
||||
* *weechat.look.item_time_format*
|
||||
** Beschreibung: `Format für die Zeitanzeige, "time", in der Bar-Item (siehe man strftime für Datum/Zeit Platzhalter)`
|
||||
** Typ: Zeichenkette
|
||||
@@ -468,6 +548,16 @@
|
||||
** Typ: boolesch
|
||||
** Werte: on, off (Standardwert: `on`)
|
||||
|
||||
* *weechat.look.mouse*
|
||||
** Beschreibung: `Mausunterstützung beim Start aktivieren (um die Funktion direkt zu aktivieren, siehe /help mouse)`
|
||||
** Typ: boolesch
|
||||
** Werte: on, off (Standardwert: `off`)
|
||||
|
||||
* *weechat.look.mouse_timer_delay*
|
||||
** Beschreibung: `Verzögerung (in Millisekunden) um ein Mauskommado zu fangen: WeeChat wartet zuerst diese Verzögerung ab bevor das Kommando verarbeitet wird`
|
||||
** Typ: integer
|
||||
** Werte: 1 .. 10000 (Standardwert: `100`)
|
||||
|
||||
* *weechat.look.nickmode*
|
||||
** Beschreibung: `Nickmode ((half)op/voice [@%+]) vor dem Nicknamen anzeigen`
|
||||
** Typ: boolesch
|
||||
@@ -588,6 +678,16 @@
|
||||
** Typ: boolesch
|
||||
** Werte: on, off (Standardwert: `on`)
|
||||
|
||||
* *weechat.look.separator_horizontal*
|
||||
** Beschreibung: `Das angegebene Zeichen wird genutzt um damit die horizontalen Linien zu zeichnen. Wird kein Zeichen angegeben zeichnet ncurses eine durchgezogene Linie. Dies kann allerdings bei einigen Terminals zu Fehlern führen, falls die URL Auswahl genutzt wird. Wide Chars sind für diese Option NICHT erlaubt.`
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette (Standardwert: `"-"`)
|
||||
|
||||
* *weechat.look.separator_vertical*
|
||||
** Beschreibung: `Das angegebene Zeichen wird genutzt um damit die vertikale Linien zu zeichnen. Wird kein Zeichen angegeben zeichnet ncurses eine durchgezogene Linie. Wide Chars sind für diese Option NICHT erlaubt.`
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette (Standardwert: `""`)
|
||||
|
||||
* *weechat.look.set_title*
|
||||
** Beschreibung: `setzen des Fenstertitels (oder Terminal-Titel im Curses-GUI), mit Name und Version`
|
||||
** Typ: boolesch
|
||||
@@ -601,7 +701,7 @@
|
||||
* *weechat.network.gnutls_ca_file*
|
||||
** Beschreibung: `Datei beinhaltet die digitalen Zertifikate ("%h" wird durch das WeeChat Verzeichnis ersetzt, Standardverzeichnis: "~/.weechat")`
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette (Standardwert: `"%h/ssl/CAs.pem"`)
|
||||
** Werte: beliebige Zeichenkette (Standardwert: `"/etc/ssl/certs/ca-certificates.crt"`)
|
||||
|
||||
* *weechat.network.gnutls_handshake_timeout*
|
||||
** Beschreibung: `Zeitüberschreitung (in Sekunden) für gnutls handshake`
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
[[command_xfer_me]]
|
||||
[command]*`me`* Sendet CTCP Aktion an entfernten Host::
|
||||
........................................
|
||||
/me <message>
|
||||
@@ -5,6 +6,7 @@
|
||||
Message: zu sendende Nachricht
|
||||
........................................
|
||||
|
||||
[[command_xfer_xfer]]
|
||||
[command]*`xfer`* Transfer-Steuerung::
|
||||
........................................
|
||||
/xfer [list|listfull]
|
||||
|
||||
+237
-116
@@ -3,6 +3,10 @@ WeeChat FAQ (häufig gestellte Fragen)
|
||||
Sébastien Helleu <flashcode@flashtux.org>
|
||||
|
||||
|
||||
[NOTE]
|
||||
Diese Dokumentation beschreibt ausschließlich WeeChat Versionen ≥ 0.3.0.
|
||||
|
||||
|
||||
[[general]]
|
||||
Allgemein
|
||||
---------
|
||||
@@ -13,18 +17,18 @@ Woher kommt eigentlich der Name "WeeChat"?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
"Wee" ist ein sich selbst nutzendes Akronym und bedeutet "Wee Enhanced Environment".
|
||||
Somit lautet de vollständige Name "Wee Enhanced Environment for Chat".
|
||||
Somit lautet der vollständige Name "Wee Enhanced Environment for Chat".
|
||||
|
||||
"Wee" bedeutet außerdem "sehr klein" (und ja, es gibt noch eine andere Bedeutung des Wortes.
|
||||
Aber dieses trifft nicht auf WeeChat zu!)
|
||||
|
||||
|
||||
[[why_choose_weechat]]
|
||||
Weshalb WeeChat? - X-Chat und Irssi sind auch sehr gut...
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
Weshalb sollte man WeeChat nutzen? - X-Chat und Irssi sind doch auch sehr gut...
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Weil WeeChat schlank ist und neue Funktionen besitzt.
|
||||
Einige Funktionen (Version > = 0.3.x):
|
||||
Einige Funktionen (Version ≥ 0.3.x):
|
||||
|
||||
* Unterstützung verschiedener Protokolle durch Erweiterungen (IRC, Jabber)
|
||||
* mehrere Remote GUIs als Ergänzung zu Curses (in Kürze)
|
||||
@@ -35,14 +39,15 @@ Einige Funktionen (Version > = 0.3.x):
|
||||
* Filterung der Anzeige mittels Tags und regulären Ausdrücken
|
||||
* horizontale und vertikale Einteilung der Fenster
|
||||
* anpassbare und erweiterbare Leisten
|
||||
* Nickliste in allen GUI's verfügbar
|
||||
* native Nickliste
|
||||
* Auflistung von Buffern (mittels dem Skript buffers.pl)
|
||||
* IRC Proxy
|
||||
* Umleitung von IRC Befehlen
|
||||
* inkrementelle Textsuche in Buffern, zu Highlights springen
|
||||
* FIFO Pipe für Fernsteuerung
|
||||
* Unterstützung von Aspell
|
||||
* Doppelter Zeichensatz (Kodierung/Dekodierung)
|
||||
* Neuentwicklung (basiert auf keinem anderem Programm)
|
||||
* Neuentwicklung (basiert auf keinem anderen Programm)
|
||||
* lauffähig auf einer Vielzahl von Plattformen
|
||||
* 100% GPL und Frei
|
||||
|
||||
@@ -59,7 +64,7 @@ Kompilierung / Installation
|
||||
Ich habe gehört es gibt mehrere GUIs für WeeChat. Wie kann ich diese kompilieren bzw. nutzen?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Zur Zeit ist nur eine GUI für Curses verfügbar.
|
||||
Zur Zeit ist nur eine GUI, für Curses, verfügbar.
|
||||
|
||||
Andere GUIs (zur Zeit in der Entwicklung) werden als Remote Clients verfügbar
|
||||
sein.
|
||||
@@ -69,16 +74,16 @@ sein.
|
||||
Ich kann WeeChat nach Cloning des git Repository nicht kompilieren - weshalb?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Es wird empfohlen zum kompilieren von WeeChat, cmake zu nutzen.
|
||||
Es wird empfohlen cmake zum kompilieren von WeeChat zu nutzen.
|
||||
|
||||
Falls Du WeeChat mit Hilfe der autotools kompilieren solltest (dich also nicht
|
||||
für cmake entscheidest), stelle sicher, dass Du die neueste Version von autoconf
|
||||
und automake besitzt.
|
||||
|
||||
Die zweite Möglichkeit besteht darin das "Entwickler-Paket" zu installieren. Dies
|
||||
Die zweite Möglichkeit besteht darin das "Entwickler-Paket" zu installieren, denn dies
|
||||
besitzt weniger Abhängigkeiten. Das Paket wird quasi täglich aus dem git Repository erstellt.
|
||||
Beachte, dass dieses Paket nicht immer exakt mit dem git Repository übereinstimmen muss
|
||||
und daher auch weniger brauchbar sein kann, im Gegensatz zu der Methode dass man selbst
|
||||
und daher auch weniger brauchbar sein kann. Im Gegensatz zu der Möglichkeit, dass man selbst
|
||||
das Repository klont und daraus Updates installiert.
|
||||
|
||||
|
||||
@@ -89,8 +94,8 @@ Ich habe WeeChat gestartet, komme aber nicht mehr weiter - was kann ich tun?
|
||||
Um Hilfe zu erhalten, nutze den `/help` Befehl. Eine Hilfe zu einem Befehl erhältst
|
||||
Du durch die Eingabe von: `/help Befehlsname`.
|
||||
Befehle sowie die Belegung der jeweiligen Tasten sind in der Dokumentation
|
||||
aufgeführt.
|
||||
(Tipp: Mit den Tasten <Bild-hoch>/<Bild-runter> kannst Du die Anzeige blättern)
|
||||
aufgeführt. (Tipp: Mit den Tasten <Bild-hoch>/<Bild-runter> kann man seitenweise
|
||||
in den Buffern blättern)
|
||||
|
||||
Neue Benutzer sollten unbedingt die 'quickstart'-Anleitung lesen (siehe
|
||||
Dokumentation auf der Internetseite).
|
||||
@@ -105,26 +110,22 @@ Anzeige
|
||||
Teilweise fehlen den Zeichen die Akzente. Wie kann ich das korrigieren?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Dies ist ein bekanntes Problem. Bitte lese deshalb die nachfolgende Erklärung
|
||||
sorgfältig durch und überprüfe *alle* aufgezeigten Lösungsmöglichkeiten.
|
||||
Dies ist ein bekanntes Problem. Aus diesem Grund sollte der nachfolgende Text
|
||||
sorgfältig durchgelesen und *alle* aufgezeigten Lösungsmöglichkeiten durchgeführt
|
||||
werden:
|
||||
|
||||
Für Versionen < 0.2.3: Bitte auf die neueste stabile Version von WeeChat wechseln.
|
||||
|
||||
Für Versionen > = 0.2.3:
|
||||
|
||||
* überprüfe, ob weechat-curses mit libncursesw verlinkt ist (Warnung: nötig bei den
|
||||
meisten Distributionen - jedoch nicht bei allen): `ldd /path/to/weechat-curses`
|
||||
* überprüfe, ob weechat-curses mit libncursesw verlinkt ist (Warnung: Dies ist bei den
|
||||
meisten Distributionen nötig - jedoch nicht bei allen): `ldd /path/to/weechat-curses`
|
||||
* prüfe mit dem Befehl `/plugin`, ob die "Charset" Erweiterung geladen ist (falls
|
||||
dies nicht der Fall sein sollte benötigst Du wahrscheinlich noch das Paket "weechat-plugins")
|
||||
* überprüfe die Ausgabe des `/charset` Befehls (im Server-Buffer). Du solltest
|
||||
'ISO-XXXXXX' oder 'UTF-8' für den Terminal Zeichensatz als Antwort erhalten. Falls Du
|
||||
'ANSI_X3.4-1968' oder einen anderen Wert bekommen solltest, ist Deine Einstellung der
|
||||
'ANSI_X3.4-1968' oder einen anderen Wert angezeigt bekommen solltest, ist Deine Einstellung der
|
||||
locale möglicherweise falsch.
|
||||
* Einstellen des globalen decode Wertes, z.B.:
|
||||
** WeeChat < = 0.2.6: `/setp charset.global.decode = ISO-8859-15`
|
||||
** WeeChat > = 0.3.x: `/set charset.default.decode "ISO-8859-15"`
|
||||
`/set charset.default.decode "ISO-8859-15"`
|
||||
* Falls Du UTF-8 locale nutzt:
|
||||
** prüfe, ob Dein Terminal UTF-8 fähig ist (der empfohlene Terminal für UTF-8
|
||||
** prüfe, ob Dein Terminal überhaupt UTF-8 fähig ist (der empfohlene Terminal für UTF-8
|
||||
ist rxvt-unicode)
|
||||
** Solltest Du screen nutzten, prüfe ob dieser im UTF-8 Modus läuft
|
||||
("`defutf8 on`" in der Datei ~/.screenrc oder `screen -U` zum Starten von
|
||||
@@ -137,42 +138,42 @@ oder andere locale, bitte vergewissere Dich, dass *alle* Deine Einstellungen
|
||||
|
||||
|
||||
[[bars_background]]
|
||||
Bars, z.B. Titel und Status haben keine Hintergrundfarbe bzw. diese endet direkt nach dem Text, warum?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
Weshalb haben Bars, z.B. Titel und Status, keine Hintergrundfarbe bzw. diese endet direkt nach dem Text?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Dies kann durch einen falschen Wert in der Variablen TERM Deiner Shell verursacht
|
||||
werden. Bitte überprüfe die Ausgabe von `echo $TERM` in Deinem Terminal.
|
||||
|
||||
Abhängig davon von wo WeeChat startet wird, solltest Du folgenden Wert haben:
|
||||
Abhängig davon von wo WeeChat gestartet wird, solltest Du folgenden Wert haben:
|
||||
|
||||
* falls WeeChat lokal oder auf einem entfernten Rechner läuft, je nach benutztem
|
||||
Terminal: 'xterm', 'rxvt', ...
|
||||
* falls WeeChat unter screen läuft, sollte der Wert 'screen' sein.
|
||||
Terminal: 'xterm', 'xterm-256color', 'rxvt-unicode', 'rxvt-256color', ...
|
||||
* falls WeeChat unter screen läuft, sollte der Wert 'screen' oder 'screen-256color' lauten.
|
||||
|
||||
Falls nötig korrigiere den Wert Deiner Variablen TERM: `export TERM="xxx"`.
|
||||
|
||||
|
||||
[[screen_weird_chars]]
|
||||
Wenn ich Weechat mit screen nutze habe ich merkwürdige Zeichen, wie kann ich dies beheben?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
Wenn ich Weechat mit screen/tmux nutze habe ich merkwürdige Zeichen, wie kann ich dies beheben?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Dies kann durch einen falschen Wert in der TERM-Variable Deiner Shell verursacht
|
||||
werden. Bitte überprüfe die Ausgabe von `echo $TERM` in Deinem Terminal.
|
||||
Dies kann durch einen falschen Wert in der TERM-Variable Deiner Shell hervorgerufen
|
||||
werden. Bitte überprüfe die Ausgabe von `echo $TERM` in Deinem Terminal (*außerhalb von screen/tmux*).
|
||||
|
||||
Als Beispiel, 'xterm-color' könnte solche merkwürdigen Zeichen produzieren.
|
||||
Nutzte stattdessen lieber 'xterm'.
|
||||
|
||||
Falls nötig korrigiere den Wert Deiner TERM-Variable: `export TERM="xxx"`.
|
||||
Falls notwendig korrigiere den Wert Deiner TERM-Variable: `export TERM="xxx"`.
|
||||
|
||||
|
||||
[[osx_display_broken]]
|
||||
Ich habe WeeChat unter OS X kompiliert und erhalte nur "(null)" als Textausgabe. Was läuft da schief?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Wenn Du ncursesw selber kompiliert haben solltest dann probiere einmal die Standard ncurses aus welche
|
||||
Wenn Du ncursesw selber kompiliert haben solltest dann probiere einmal die Standard ncurses aus, welche
|
||||
mit dem System ausgeliefert wird.
|
||||
|
||||
Darüber hinaus ist es unter OS X ratsam WeeChat mittels dem Homebrew package manager zu installieren.
|
||||
Darüber hinaus ist es unter OS X ratsam WeeChat mittels des Homebrew package manager zu installieren.
|
||||
|
||||
|
||||
[[buffer_vs_window]]
|
||||
@@ -190,12 +191,48 @@ in einem Fenster nicht angezeigt). Oder ein Buffer wird durch ein oder mehrere F
|
||||
angezeigt.
|
||||
|
||||
|
||||
[[buffers_list]]
|
||||
Wie kann ich eine Liste mit den Buffern z.B. auf der linken Seite anzeigen lassen?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Nutze dazu das Skript 'buffers.pl'.
|
||||
|
||||
Um die Größe der Bar zu limitieren:
|
||||
|
||||
----------------------------------------
|
||||
/set weechat.bar.buffers.size_max 15
|
||||
----------------------------------------
|
||||
|
||||
Um die Bar nach oben zu verschieben:
|
||||
|
||||
----------------------------------------
|
||||
/set weechat.bar.buffers.position bottom
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[customize_prefix]]
|
||||
Wie kann ich die Länge eines Nicknamens begrenzen oder die Ausrichtung des Nicks im Chatbereich entfernen?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Um die Länge des Nicknamens im Chatbereich auf eine maximale Größe (z.B. 15 Zeichen) zu begrenzen:
|
||||
|
||||
----------------------------------------
|
||||
/set weechat.look.prefix_align_max 15
|
||||
----------------------------------------
|
||||
|
||||
um die Ausrichtung für Nicks zu entfernen:
|
||||
|
||||
----------------------------------------
|
||||
/set weechat.look.prefix_align none
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[one_input_root_bar]]
|
||||
Ist es möglich nur eine Eingabezeile für alle Fenster zu nutzen (auch falls diese geteilt sind)?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Ja, dazu muss eine Bar des Typs "root" erstellt werden (dass ein Item besitzt, dass anzeigt
|
||||
in welchem Fenster man sich befindet) und die aktuelle Eingabezeile gelöscht werden.
|
||||
Ja, dazu muss eine Bar des Typs "root" erstellt werden (dies muss ein Item besitzen, welches anzeigt
|
||||
in welchem Fenster man sich befindet) und die aktuelle Eingabezeile muss gelöscht werden.
|
||||
|
||||
Zum Beispiel:
|
||||
|
||||
@@ -223,22 +260,38 @@ konsole, gnome-terminal, ...). Im Normalfall erfolgt die Markierung mittels der
|
||||
|
||||
Eine weitere Möglichkeit besteht darin die Nickliste nach oben oder unten zu verschieben:
|
||||
|
||||
* WeeChat < = 0.2.6: +
|
||||
`set look_nicklist_position = top`
|
||||
* WeeChat > = 0.3.x: +
|
||||
`/bar set nicklist position top`
|
||||
----------------------------------------
|
||||
/set weechat.bar.nicklist.position top
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[urls]]
|
||||
Wie kann ich eine URL aufrufen die einen Zeilenumbruch besitzt?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Da WeeChat sowohl die Uhrzeit als auch einen Präfix in jeder Zeile darstellt
|
||||
und ein Chatfenster durch die zusätzliche Nutzung von Bars verkleinert werden,
|
||||
ist es möglich, dass überlange URLs abgeschnitten werden und diese dadurch
|
||||
nicht mehr aufgerufen werden können.
|
||||
WeeChat stellt standardmäßig die Uhrzeit als auch einen Präfix in jeder
|
||||
Zeile dar. Optional können zusätzlich auch Bars im Chatfenster dargestellt
|
||||
werden. Man kann die Nickliste z.B. am oberen Rand darstellen lassen und
|
||||
die Ausrichtung der Nicknamen entfernen:
|
||||
|
||||
Deshalb sollte man eines der folgenden Skripten nutzen:
|
||||
----------------------------------------
|
||||
/set weechat.bar.nicklist.position top
|
||||
/set weechat.look.prefix_align none
|
||||
----------------------------------------
|
||||
|
||||
Ab der WeeChat Version ≥ 0.3.6, kann die Option "eat_newline_glitch" aktiviert
|
||||
werden. Damit wird das Zeichen für einen Zeilenumbruch nicht an die dargestellten
|
||||
Zeilen angefügt (dies führt dazu, dass URLs beim Markieren korrekt erkannt werden):
|
||||
|
||||
----------------------------------------
|
||||
/set weechat.look.eat_newline_glitch on
|
||||
----------------------------------------
|
||||
|
||||
[IMPORTANT]
|
||||
Bei der Nutzung dieser Option kann es zu Darstellungsfehlern kommen. Sollte dies
|
||||
auftreten, sollte diese Option wieder deaktiviert werden.
|
||||
|
||||
Eine weitere Möglichkeit ist, eines der folgenden Skripten zu nutzen:
|
||||
|
||||
urlbar.py::
|
||||
stellt die URL in einer Bar dar.
|
||||
@@ -266,16 +319,16 @@ Internetseite). Nach dem Laden des Skripts führe folgende Befehle aus:
|
||||
/upgrade
|
||||
----------------------------------------
|
||||
|
||||
Hierdurch erhält man für das Terminal englische, UTF-8 kodierte Meldungen.
|
||||
Hierdurch erhält man für das Terminal deutsche, UTF-8 kodierte Meldungen.
|
||||
Benutzer von ISO-Kodierungen können folgendes eingeben:
|
||||
`/shell setenv LANG=en_US`.
|
||||
`/shell setenv LANG=de_DE`.
|
||||
|
||||
|
||||
[[256_colors]]
|
||||
Wie kann ich 256 Farben in WeeChat nutzen?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
WeeChat unterstützt 256 Farben, ab der Version 0.3.4.
|
||||
256 Farben werden ab der WeeChat Version ≥ 0.3.4 unterstützt.
|
||||
|
||||
Zuerst sollte überprüft werden ob die 'TERM'-Umgebungsvariable korrekt hinterlegt
|
||||
ist. Folgende Werte sind zu empfehlen:
|
||||
@@ -288,14 +341,14 @@ Es sollte das Paket "ncurses-term" installiert werden um die Werte der 'TERM'
|
||||
Variable nutzen zu können.
|
||||
|
||||
Sollte screen genutzt werden, fügt man folgende Zeile an das Ende der Datei
|
||||
'~/.screenrc':
|
||||
'~/.screenrc' ein:
|
||||
|
||||
----------------------------------------
|
||||
term screen-256color
|
||||
----------------------------------------
|
||||
|
||||
Enthält die 'TERM'-Umgebungsvariable einen falschen Wert und WeeChat wird bereits
|
||||
ausgeführt, keine Panik! Mittels dem Skript 'shell.py' kann eine Änderung der
|
||||
ausgeführt, keine Panik! Mit dem Skript 'shell.py' kann eine Änderung der
|
||||
Umgebungsvariable durchgeführt werden, ohne das WeeChat neu gestartet werden muss:
|
||||
|
||||
----------------------------------------
|
||||
@@ -303,15 +356,25 @@ Umgebungsvariable durchgeführt werden, ohne das WeeChat neu gestartet werden mu
|
||||
/upgrade
|
||||
----------------------------------------
|
||||
|
||||
Mit Version 0.3.4 muss der Befehl `/color` genutzt werden um neue Farben zu erstellen.
|
||||
Mit der WeeChat Version 0.3.4 muss der Befehl `/color` genutzt werden, um neue Farben zu erstellen.
|
||||
|
||||
Ab Version > = 0.3.5 kann in den Optionen für eine zu nutzende Farbe die entsprechende
|
||||
Zahl eingetragen werden (optional: mit dem Befehl `/color` kann man einen Alias für
|
||||
Ab Version ≥ 0.3.5 kann in den Optionen für eine zu nutzende Farbe die entsprechende
|
||||
Zahl der Farbe eingetragen werden (optional: mit dem Befehl `/color` kann man einen Alias für
|
||||
eine Farbe definieren).
|
||||
|
||||
Weiterführende Informationen zum Farbmanagement erhält man in der Benutzeranleitung.
|
||||
|
||||
|
||||
[[search_text]]
|
||||
Wie kann ich in einem Buffer nach einem Text suchen (vergleichbar /lastlog in irssi)?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Die Standardtastenbelegung lautet @k(C-)@k(r) (der dazugehörige Befehl: `/input search_text`).
|
||||
und um zu Highlight-Nachrichten zu springen: @k(A-)@k(p)/@k(n).
|
||||
|
||||
Siehe Benutzeranleitung für weitere Informationen zu dieser Funktion (Standardtastenbelegung).
|
||||
|
||||
|
||||
[[key_bindings]]
|
||||
Tastaturbelegung
|
||||
----------------
|
||||
@@ -384,6 +447,55 @@ Die Tasten "meta2-A" und "meta2-B" können nach dem jeweils genutzten Terminal v
|
||||
korrekten Tasten zu finden sollte man @k(A-)@k(k) und dann (Up- oder die Down-Taste) drücken.
|
||||
|
||||
|
||||
[[mouse]]
|
||||
Mausunterstützung
|
||||
-----------------
|
||||
|
||||
|
||||
[[mouse_not_working]]
|
||||
Die Mausunterstützung funktioniert nicht, was kann ich tun?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Eine Unterstützung von Mausfunktionen ist seit WeeChat ≥ 0.3.6 verfügbar.
|
||||
|
||||
Als erstes sollte man die Mausunterstützung einschalten:
|
||||
|
||||
----------------------------------------
|
||||
/mouse enable
|
||||
----------------------------------------
|
||||
|
||||
Falls die Maus von WeeChat nicht erkannt werden sollte muss die TERM Variable
|
||||
der Konsole überprüft werden (die geschieht im Terminal mittels `echo $TERM`).
|
||||
Entsprechend der ausgegebenen Information, wird ggf. eine Maus nicht unterstützt.
|
||||
|
||||
Um zu testen ob eine Mausunterstützung vom Terminal bereitgestellt wird, sollte
|
||||
man folgende Zeile im Terminal eingeben:
|
||||
|
||||
----------------------------------------
|
||||
$ printf '\033[?1002h'
|
||||
----------------------------------------
|
||||
|
||||
Und nun klickt man mit der Maus auf das erste Zeichen im Terminal (linke obere
|
||||
Ecke). Als Ergebnis sollte man folgende Zeichenkette erhalten: " !!#!!".
|
||||
|
||||
Um die Mausunterstützung im Terminal zu beenden:
|
||||
|
||||
----------------------------------------
|
||||
$ printf '\033[?1002l'
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[mouse_coords]]
|
||||
Mausunterstützung funktioniert nicht falls x/y Koordinaten größer 94 Pixel sind, weshalb?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Einige Terminals senden ausschließlich ISO Zeichen für die Mauskoordinaten. Deshalb ist eine
|
||||
Nutzung über 94 Pixel hinausgehend, sowohl in den x- wie auch den y-Koordinaten, nicht gegeben.
|
||||
|
||||
Dann muss man einen Terminl nutzen der eine Unterstützung von UTF-8 Koordinaten für die Maus
|
||||
bietet, zum Beispiel rxvt-unicode.
|
||||
|
||||
|
||||
[[irc]]
|
||||
IRC
|
||||
---
|
||||
@@ -413,37 +525,35 @@ Die gefilterten Zeilen können zu jeder Zeit dargestellt werden indem man den Fi
|
||||
Wie kann ich join/part/quit Meldungen in den IRC Channels filtern (A.d.ü.: unterdrücken)?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Entsprechend der WeeChat-Version:
|
||||
Zum einen mit dem Smart-Filer (join/part/quit Meldungen werden von Usern angezeigt die kürzlich
|
||||
noch etwas geschrieben haben):
|
||||
|
||||
* WeeChat < = 0.2.6: +
|
||||
`/ignore * join #weechat freenode` +
|
||||
`/ignore * part #weechat freenode` +
|
||||
`/ignore * quit #weechat freenode` +
|
||||
(Channel und/oder Server können durch "*" ersetzt werden, Hilfe mit: `/help ignore`)
|
||||
----------------------------------------
|
||||
/set irc.look.smart_filter on
|
||||
/filter add irc_smart * irc_smart_filter *
|
||||
----------------------------------------
|
||||
|
||||
* WeeChat > = 0.3.x:
|
||||
zum anderen mit einer globalen Filterung (*alle* join/part/quit Nachrichten werden unterdrückt):
|
||||
|
||||
** Intelligenter Filter (erhalte join/part/quit der User, mit denen Du kürzlich gesprochen hast): +
|
||||
`/set irc.look.smart_filter on` +
|
||||
`/filter add irc_smart * irc_smart_filter *` +
|
||||
(Hilfe mit: `/help irc.look.smart_filter` und `/help filter`)
|
||||
----------------------------------------
|
||||
/filter add jpk * irc_join,irc_part,irc_quit *
|
||||
----------------------------------------
|
||||
|
||||
** globaler Filter (unterdrückt *alle* join/part/quit): +
|
||||
`/filter add jpk * irc_join,irc_part,irc_quit *` +
|
||||
(Hilfe mit: `/help filter`)
|
||||
[NOTE]
|
||||
Für weitere Hilfe: `/help filter` und `/help irc.look.smart_filter`
|
||||
|
||||
|
||||
[[filter_irc_join_channel_messages]]
|
||||
Wie kann ich Nachrichten filtern wenn ich einen IRC Channel betrete?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Einige Tags die man zum filtern von Nachrichten nutzen kann:
|
||||
Es folgen einige Tags die man zum filtern von Nachrichten nutzen kann:
|
||||
|
||||
* 'irc_366': Auflistung der Namen die sich im Channel befinden
|
||||
* 'irc_332,irc_333': Channel Topic/Datum
|
||||
* 'irc_329': Wann der Channel erstellt wurde
|
||||
|
||||
Tags von anderen Nachrichten kann man im IRC Raw-Server finden
|
||||
Tags von anderen Server-Mitteilungen kann man im IRC Raw-Server finden
|
||||
(`/server raw`).
|
||||
|
||||
Beispiele:
|
||||
@@ -470,14 +580,29 @@ werden um den Abwesenheitsstatus anderer User anzuzeigen (und man nicht von dies
|
||||
Mitteilungen überflutet werden möchte), kann man WeeChat anweisen abwesende Nicks
|
||||
in einer anderen Farbe darzustellen.
|
||||
|
||||
Im Channel '&bitlbee':
|
||||
Nutzt man Bitlbee ≥ 3, sollte man im '&bitlbee' Channel folgendes eingeben:
|
||||
|
||||
----------------------------------------
|
||||
channel set show_users online,away
|
||||
----------------------------------------
|
||||
|
||||
für ältere Versionen von Bitlbee gibt man im '&bitlbee' Channel ein:
|
||||
|
||||
----------------------------------------
|
||||
set away_devoice false
|
||||
----------------------------------------
|
||||
|
||||
Um in WeeChat anzeigen zu lassen welche Nicks abwesend sind siehe:
|
||||
Um sich in WeeChat anzeigen zu lassen welche Nicks abwesend sind siehe:
|
||||
<<color_away_nicks,abwesende Nicks>>.
|
||||
|
||||
Wenn man wirklich Voice-Nachrichten filtern möchte kann folgender Befehl angewandt
|
||||
werden. Allerdings ist diese Lösung nicht perfekt, da bei mehren Modi als erstes
|
||||
der Voice Modus aufgeführt sein muss):
|
||||
|
||||
----------------------------------------
|
||||
/filter add hidevoices * irc_mode \(\+\|\-\)v
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[color_away_nicks]]
|
||||
Wie kann ich Nicks in der Nickliste anzeigen lassen die abwesend sind?
|
||||
@@ -492,7 +617,7 @@ werden in welchen Channels eine Überprüfung stattfinden soll. Hierbei stellt
|
||||
der angegebene Wert die maximale Anzahl an Nicks in einem Channel dar die den
|
||||
Channel gleichzeitig besuchen dürfen.
|
||||
|
||||
In folgendem Beispiel wird der Abwesenheitsstatus alle fünf Minuten überprüft.
|
||||
Im folgenden Beispiel wird der Abwesenheitsstatus alle fünf Minuten überprüft.
|
||||
Dabei werden aber nur solche Channels berücksichtigt die nicht mehr als 25
|
||||
Teilnehmer haben:
|
||||
|
||||
@@ -502,7 +627,7 @@ Teilnehmer haben:
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
Für Weechat < = 0.3.3, lauten die Optionen 'irc.network.away_check' und
|
||||
Für Weechat ≤ 0.3.3, lauten die Optionen 'irc.network.away_check' und
|
||||
'irc.network.away_check_max_nicks'.
|
||||
|
||||
|
||||
@@ -510,40 +635,32 @@ Für Weechat < = 0.3.3, lauten die Optionen 'irc.network.away_check' und
|
||||
Wie kann ich mich darüber informieren lassen falls mich jemand in einem Channel highlighted
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
((A.d.Ü) Highlight bedeutet, dass der eigene (Nick)Name im Channel genannt wird. Man wird
|
||||
also direkt, persönlich, angesprochen. Der Nick, der Person die mich anschreibt wird dabei
|
||||
farblich hervorgehoben)
|
||||
Dazu kann man ein Skript nutzen wie z.B. 'beep.pl' oder 'launcher.pl'.
|
||||
|
||||
Die Einstellung geschieht abhängig von der WeeChat Version:
|
||||
Beim Skript 'launcher.pl' müssen noch die Befehle angepasst werden:
|
||||
|
||||
* WeeChat < = 0.2.6: nutze das Skript 'sound.pl' (verfügbar auf der Skript-Seite),
|
||||
und nehme Einstellungen für einen System-Befehl (um einen Klang abzuspielen,
|
||||
eine Meldung anzuzeigen, ...) mit folgendem Befehl vor: +
|
||||
`/setp perl.sound.cmd_highlight = "/path/to/command arguments"`
|
||||
* WeeChat > = 0.3.x: nutze das Skript 'launcher.pl' (verfügbar auf der Skript-Seite),
|
||||
und nehme Einstellungen für einen System-Befehl (um einen Klang abzuspielen,
|
||||
eine Meldung anzuzeigen, ...) mit folgendem Befehl vor: +
|
||||
`/set plugins.var.perl.launcher.signal.weechat_highlight "/path/to/command arguments"`
|
||||
----------------------------------------
|
||||
/set plugins.var.perl.launcher.signal.weechat_highlight "/Pfad/zum/Befehl Argumente"
|
||||
----------------------------------------
|
||||
|
||||
Es gibt noch andere Skripten, die über verschiedene Ereignisse informieren , bitte
|
||||
besuche dazu die Skripten-Webseite: http://www.weechat.org/scripts/
|
||||
andere Skripten die auch zu diesem Thema passen: http://www.weechat.org/scripts/stable/tag/notify/
|
||||
|
||||
|
||||
[[irc_ssl_connection]]
|
||||
Es treten Probleme bei einer Serververbindung mittels SSL auf. Was kann ich tun?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Falls Fehlermeldungen auftreten sollten die besagen dass der gnutls Handshake
|
||||
nicht geklappt hat dann sollte ein kleinerer Diffie-Hellman-Schlüssel verwendet
|
||||
Falls Fehlermeldungen auftreten sollten die besagen, dass der gnutls Handshake
|
||||
nicht geklappt hat, sollte ein kleinerer Diffie-Hellman-Schlüssel verwendet
|
||||
werden (Standardgröße: 2048):
|
||||
|
||||
----------------------------------------
|
||||
/set irc.server.freenode.ssl_dhkey_size 1024
|
||||
----------------------------------------
|
||||
|
||||
Erscheint eine Fehlermeldung dass etwas mit dem Zertifikat nicht stimmen sollte dann
|
||||
kann eine Überprüfung deaktiviert werden mittels "ssl_verify" (die Verbindung ist in
|
||||
diesem Fall weniger sicher):
|
||||
Erscheint eine Fehlermeldung, dass etwas mit dem Zertifikat nicht stimmen sollte dann
|
||||
kann eine "ssl_verify" Überprüfung deaktiviert werden (die Verbindung ist in diesem
|
||||
Fall weniger sicher):
|
||||
|
||||
----------------------------------------
|
||||
/set irc.server.freenode.ssl_verify off
|
||||
@@ -554,19 +671,18 @@ diesem Fall weniger sicher):
|
||||
Wie kann ich eine SSL gesicherte Verbindung zum freenode Server herstellen?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Zuerst muss ein Zertifikat heruntergeladen werden, dieses muss konvertiert
|
||||
und dann in WeeChat hinzugefügt werden:
|
||||
Die Option 'weechat.network.gnutls_ca_file' sollte auf die Zertifikationsdatei zeigen:
|
||||
|
||||
----------------------------------------
|
||||
$ cd /tmp
|
||||
$ wget http://crt.gandi.net/GandiStandardSSLCA.crt
|
||||
$ openssl x509 -inform der -outform pem < GandiStandardSSLCA.crt > GandiStandardSSLCA.pem
|
||||
$ mkdir ~/.weechat/ssl
|
||||
$ cat GandiStandardSSLCA.pem >>~/.weechat/ssl/CAs.pem
|
||||
/set weechat.network.gnutls_ca_file "/etc/ssl/certs/ca-certificates.crt"
|
||||
----------------------------------------
|
||||
|
||||
In WeeChat muss nun der Serverport, SSL und dhkey_size eingerichtet werden um
|
||||
eine Verbindung herzustellen:
|
||||
[NOTE]
|
||||
Überprüfe, ob die Zertifikationsdatei auf Deinem System installiert wurde (üblicherweise wird
|
||||
diese Datei durch das Paket "ca-certificates" bereitgestellt)
|
||||
|
||||
Konfiguration des Servers, Port, SSL, dhkey_size und dann einen
|
||||
Connect durchführen:
|
||||
|
||||
----------------------------------------
|
||||
/set irc.server.freenode.addresses "chat.freenode.net/7000"
|
||||
@@ -576,6 +692,13 @@ eine Verbindung herzustellen:
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[irc_target_buffer]]
|
||||
Wie kann ich bei zusammengefügten Buffern den Zielbuffer ändern (z.B. bei einem Server-Buffer)?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Die Standardtastenkombination lautet @k(C-)@k(x) (der dazugehörige Befehl: `/input switch_active_buffer`).
|
||||
|
||||
|
||||
[[plugins_scripts]]
|
||||
Erweiterungen / Skripten
|
||||
------------------------
|
||||
@@ -589,17 +712,15 @@ Unter OpenBSD enden die Dateinamen von Erweiterungen mit ".so.0.0" (".so" bei Li
|
||||
|
||||
Um dies zu beheben muss folgendes konfiguriert werden:
|
||||
|
||||
* WeeChat < = 0.2.6: +
|
||||
`/set plugins_extension = ".so.0.0"`
|
||||
* WeeChat > = 0.3.x: +
|
||||
`/set weechat.plugin.extension ".so.0.0"`
|
||||
|
||||
Danach: `/plugin autoload`.
|
||||
----------------------------------------
|
||||
/set weechat.plugin.extension ".so.0.0"
|
||||
/plugin autoload
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[load_scripts]]
|
||||
Wie kann ich Perl/Python/Ruby/Lua/Tcl Skripten laden? Sind Skripten kompatibel zu anderen IRC-Clients?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
Wie kann ich Perl/Python/Ruby/Lua/Tcl Skripten laden und sind Skripten von anderen IRC-Clients kompatibel?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Die Skripten für WeeChat sind mit anderer IRC-Clients nicht kompatibel und vice versa.
|
||||
|
||||
@@ -612,7 +733,7 @@ Anmerkung:
|
||||
* Voreingestellter Pfad der Skripten: '~/.weechat/<Skriptsprache>/'
|
||||
* Skripten die sich im Verzeichnis '~/.weechat/<Skriptsprache>/autoload/' befinden werden
|
||||
beim Start von WeeChat automatisch geladen.
|
||||
* Eine 'tcl' Erweiterung ist ab Version > = 0.3.0 verfügbar.
|
||||
* Eine 'tcl' Erweiterung ist ab Version ≥ 0.3.0 verfügbar.
|
||||
|
||||
|
||||
[[settings]]
|
||||
@@ -624,7 +745,7 @@ Einstellungen
|
||||
Wie kann ich WeeChat dazu bringen weniger Speicher zu verbrauchen?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Du kannst folgende Tipps umsetzen damit WeeChat weniger Speicher benötigt:
|
||||
Damit WeeChat weniger Speicher benötigt, solltest Du folgende Tipps umsetzen:
|
||||
|
||||
* nutze die aktuelle Version (man kann davon ausgehen das eine aktuelle Version
|
||||
weniger Speicherlecks besitzt, als eine vorherige Version)
|
||||
@@ -681,13 +802,13 @@ $ LD_PRELOAD=/lib/libpthread.so.0 gdb /Pfad/zu/weechat-curses
|
||||
|
||||
|
||||
[[supported_os]]
|
||||
Auf welchen Plattformen läuft WeeChat? Wird es noch auf andere Betriebssystemen portiert?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
Auf welchen Plattformen läuft WeeChat und wird es noch auf andere Betriebssystemen portiert?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Eine vollständige Liste der Portierungen findest Du unter: http://www.weechat.org/download
|
||||
|
||||
Wir geben unser Bestes um WeeChat auf möglichst viele Plattformen zu portieren.
|
||||
Aber um WeeChat auf Betriebssystemen zu testen, zu denen wir keinen Zugang haben,
|
||||
Aber um WeeChat auf fremden Betriebssystemen zu testen, zu denen wir keinen Zugang haben,
|
||||
ist Hilfe gerne gesehen.
|
||||
|
||||
|
||||
|
||||
@@ -63,7 +63,7 @@ Kern (Core) vs Erweiterungen
|
||||
Der Kern (core) von WeeChat ist ausschließlich dazu da Daten auf dem Bildschirm
|
||||
darzustellen um mit dem Benutzer zu interagieren. Dies bedeutet, WeeChat an sich
|
||||
-also nur WeeChat core- ohne jegliche Erweiterung ist unbrauchbar.
|
||||
(an die treuen User: IRC war ein Teil des Kerns bei Versionen <= 0.2.6)
|
||||
(an die treuen User: IRC war ein Teil des Kerns bei Versionen ≤ 0.2.6)
|
||||
|
||||
Alle Netzwerkprotokolle, z.B. IRC, werden als separate Erweiterung bereit gestellt.
|
||||
|
||||
|
||||
@@ -250,14 +250,15 @@ Liste der Skript API Funktionen:
|
||||
plugin_get_name
|
||||
| Strings |
|
||||
charset_set, iconv_to_internal, iconv_from_internal, gettext, ngettext, +
|
||||
string_match, string_has_highlight, string_mask_to_regex,
|
||||
string_remove_color, string_is_command_char, string_input_for_buffer
|
||||
string_match, string_has_highlight, string_has_highlight_regex,
|
||||
string_mask_to_regex, string_remove_color, string_is_command_char,
|
||||
string_input_for_buffer
|
||||
| Verzeichnisse |
|
||||
mkdir_home, mkdir, mkdir_parents
|
||||
| sortierte Listen |
|
||||
list_new, list_add, list_search, list_casesearch, list_get, list_set,
|
||||
list_next, list_prev, list_string, list_size, list_remove, list_remove_all,
|
||||
list_free
|
||||
list_new, list_add, list_search, list_search_pos, list_casesearch,
|
||||
list_casesearch_pos, list_get, list_set, list_next, list_prev, list_string,
|
||||
list_size, list_remove, list_remove_all, list_free
|
||||
| Konfigurationsdatei |
|
||||
config_new, config_new_section, config_search_section, config_new_option,
|
||||
config_search_option, +
|
||||
@@ -271,7 +272,10 @@ Liste der Skript API Funktionen:
|
||||
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
|
||||
config_set_desc_plugin, config_unset_plugin
|
||||
// TRANSLATION MISSING
|
||||
| key bindings |
|
||||
key_bind, key_unbind
|
||||
| Ausgabe |
|
||||
prefix, color, print (für Python: prnt), print_date_tags (für Python:
|
||||
prnt_date_tags), print_y (für Python: prnt_y), log_print
|
||||
@@ -280,15 +284,15 @@ Liste der Skript API Funktionen:
|
||||
hook_connect, hook_print, hook_signal, hook_signal_send, hook_hsignal,
|
||||
hook_hsignal_send, hook_config, hook_completion, hook_completion_list_add,
|
||||
hook_modifier, hook_modifier_exec, hook_info, hook_info_hashtable,
|
||||
hook_infolist, unhook, unhook_all
|
||||
hook_infolist, hook_focus, 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
|
||||
buffer_string_replace_local_var, buffer_match_list
|
||||
| Fenster |
|
||||
current_window, window_get_integer, window_get_string, window_get_pointer,
|
||||
window_set_title
|
||||
current_window, window_search_with_buffer, window_get_integer,
|
||||
window_get_string, window_get_pointer, window_set_title
|
||||
| Nickliste |
|
||||
nicklist_add_group, nicklist_search_group, nicklist_add_nick,
|
||||
nicklist_search_nick, nicklist_remove_group, nicklist_remove_nick,
|
||||
@@ -308,6 +312,10 @@ Liste der Skript API Funktionen:
|
||||
infolist_get, infolist_next, infolist_prev, infolist_reset_item_cursor, +
|
||||
infolist_fields, infolist_integer, infolist_string, infolist_pointer, +
|
||||
infolist_time, infolist_free
|
||||
| hdata |
|
||||
hdata_get, hdata_get_var_offset, hdata_get_var_type_string,
|
||||
hdata_get_var_hdata, hdata_get_list, hdata_move, hdata_integer, hdata_long,
|
||||
hdata_string, hdata_pointer, hdata_time, hdata_get_string
|
||||
| Upgrade |
|
||||
upgrade_new, upgrade_write_object, upgrade_read, upgrade_close
|
||||
|========================================
|
||||
@@ -582,7 +590,7 @@ def kernel_process_cb(data, command, rc, stdout, stderr):
|
||||
weechat.prnt("", kernel_txt)
|
||||
return weechat.WEECHAT_RC_OK
|
||||
|
||||
weechat.hook_process("python -c \"import urllib; "
|
||||
weechat.hook_process("python -c \"import urllib; " \
|
||||
"print urllib.urlopen('http://www.kernel.org/kdist/finger_banner').read()\"",
|
||||
10 * 1000, "kernel_process_cb", "")
|
||||
----------------------------------------
|
||||
@@ -607,7 +615,7 @@ skript_optionen = {
|
||||
"Option2" : "Wert2",
|
||||
"Option3" : "Wert3",
|
||||
}
|
||||
for option, default_value in skript_optionen.iteritems():
|
||||
for option, standardwert in skript_optionen.iteritems():
|
||||
if not weechat.config_is_set_plugin(option):
|
||||
weechat.config_set_plugin(option, standardwert)
|
||||
----------------------------------------
|
||||
@@ -721,17 +729,17 @@ weechat.hook_modifier("irc_in_privmsg", "modifier_cb", "")
|
||||
[WARNING]
|
||||
Eine fehlerhafte Nachricht kann WeeChat zum Absturz bringen oder andere ernsthafte Probleme erzeugen!
|
||||
|
||||
[[irc_parse_message]]
|
||||
[[irc_message_parse]]
|
||||
Nachrichten parsen
|
||||
^^^^^^^^^^^^^^^^^^
|
||||
|
||||
_Neu in Version 0.3.4._
|
||||
|
||||
Man kann IRC Nachrichten mittels einer info_hashtable mit dem Namen "irc_parse_message" parsen.
|
||||
Man kann IRC Nachrichten mittels einer info_hashtable mit dem Namen "irc_message_parse" parsen.
|
||||
|
||||
[source,python]
|
||||
----------------------------------------
|
||||
dict = weechat.info_get_hashtable("irc_parse_message",
|
||||
dict = weechat.info_get_hashtable("irc_message_parse",
|
||||
{ "message": ":nick!user@host PRIVMSG #weechat :message here" })
|
||||
weechat.prnt("", "dict: %s" % dict)
|
||||
|
||||
@@ -763,7 +771,7 @@ else:
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
Versionen < = 0.3.1.1 geben einen leeren String zurück wenn man 'info_get("version_number")'
|
||||
Versionen ≤ 0.3.1.1 geben einen leeren String zurück wenn man 'info_get("version_number")'
|
||||
aufruft. Deshalb müssen Sie prüfen ob der Rückgabe wert *nicht* leer ist.
|
||||
|
||||
Um die Version als String zu erhalten:
|
||||
|
||||
+356
-75
@@ -88,19 +88,21 @@ welche Pakete optional genutzt werden können.
|
||||
|
||||
[width="80%",cols="4,^2,13",options="header"]
|
||||
|========================================
|
||||
| Paket ^(1)^ | benötigt | Funktion
|
||||
| cmake | *ja* | zum kompilieren (autotools ist möglich. cmake wird aber empfohlen)
|
||||
| libncursesw5-dev ^(2)^ | *ja* | ncurses Oberfläche
|
||||
| libgcrypt11-dev | nein | SASL Authentifikation am IRC Server mittels DH-BLOWFISH Methode
|
||||
| libgnutls-dev (>= 2.2.0) | nein | SSL Verbindung zu einem IRC Server
|
||||
| libaspell-dev | nein | aspell Erweiterung
|
||||
| libperl-dev | nein | perl Erweiterung
|
||||
| python-dev | nein | python Erweiterung
|
||||
| ruby1.8-dev | nein | ruby Erweiterung
|
||||
| liblua5.1-0-dev | nein | lua Erweiterung
|
||||
| tcl-dev (>= 8.5) | nein | tcl Erweiterung
|
||||
| asciidoc (>= 8.5.0) | nein | erstellt Dokumentation (HTML Dateien)
|
||||
| source-highlight | nein | Syntax highlight für Quelltext in HTML Dokumentation
|
||||
| Paket ^(1)^ | benötigt | Funktion
|
||||
| cmake | *ja* | zum kompilieren (autotools ist möglich. cmake wird aber empfohlen)
|
||||
| libncursesw5-dev ^(2)^ | *ja* | ncurses Oberfläche
|
||||
| gettext | nein | Internationalisierung (Übersetzung der Mitteilungen; Hauptsprache ist englisch)
|
||||
| libgcrypt11-dev | nein | SASL Authentifikation am IRC Server mittels DH-BLOWFISH Methode
|
||||
| libgnutls-dev (≥ 2.2.0) | nein | SSL Verbindung zu einem IRC Server
|
||||
| ca-certificates | nein | Zertifikate für SSL Verbindungen
|
||||
| libaspell-dev | nein | aspell Erweiterung
|
||||
| libperl-dev | nein | perl Erweiterung
|
||||
| python-dev | nein | python Erweiterung
|
||||
| ruby1.8-dev | nein | ruby Erweiterung
|
||||
| liblua5.1-0-dev | nein | lua Erweiterung
|
||||
| tcl-dev (≥ 8.5) | nein | tcl Erweiterung
|
||||
| asciidoc (≥ 8.5.0) | nein | erstellt Dokumentation (HTML Dateien)
|
||||
| source-highlight | nein | Syntax highlight für Quelltext in HTML Dokumentation
|
||||
|========================================
|
||||
|
||||
[NOTE]
|
||||
@@ -267,6 +269,24 @@ Diese Fehlermeldung senden Sie bitte an den Entwickler und beschreiben was den F
|
||||
|
||||
Danke für Ihre Mithilfe!
|
||||
|
||||
[[debug_running_weechat]]
|
||||
Eine laufende Session von WeeChat debuggen
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
Um eine laufende Session von WeeChat zu debuggen (zum Beispiel wenn WeeChat nicht
|
||||
mehr reagieren sollte) sollte man gdb mit der Prozess-ID starten ('12345' muss durch
|
||||
die PID des laufenden weechat-curses Prozesses ersetzt werden):
|
||||
|
||||
----------------------------------------
|
||||
gdb /usr/bin/weechat-curses 12345
|
||||
----------------------------------------
|
||||
|
||||
Sollte WeeChat abgestürzt sein, muss der Befehl `bt full` genutzt werden:
|
||||
|
||||
----------------------------------------
|
||||
(gdb) bt full
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[usage]]
|
||||
Nutzung
|
||||
@@ -409,20 +429,20 @@ Standard Tastenbelegung
|
||||
Tastenbefehle für die Befehlszeile
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
[width="100%",cols="^.^3,.^10,.^5m",options="header"]
|
||||
[width="100%",cols="^.^3,.^10,.^5l",options="header"]
|
||||
|========================================
|
||||
| Taste | Beschreibung | Befehl
|
||||
| @k(←) .2+| setzt den Cursor eine Position nach links .2+| /input move_previous_char
|
||||
| @k(←) .2+| setzt den Cursor eine Position nach links .2+| /input move_previous_char
|
||||
| @k(C-)@k(b)
|
||||
| @k(→) .2+| setzt den Cursor eine Position nach rechts .2+| /input move_next_char
|
||||
| @k(→) .2+| setzt den Cursor eine Position nach rechts .2+| /input move_next_char
|
||||
| @k(C-)@k(f)
|
||||
| @k(C-)@k(←) .2+| springt in der Befehlszeile zum Anfang des vorherigen Wortes .2+| /input move_previous_word
|
||||
| @k(C-)@k(←) .2+| springt in der Befehlszeile zum Anfang des vorherigen Wortes .2+| /input move_previous_word
|
||||
| @k(A-)@k(b)
|
||||
| @k(C-)@k(→) .2+| springt in der Befehlszeile zum Anfang des nächsten Wortes .2+| /input move_next_word
|
||||
| @k(C-)@k(→) .2+| springt in der Befehlszeile zum Anfang des nächsten Wortes .2+| /input move_next_word
|
||||
| @k(A-)@k(f)
|
||||
| @k(Home) .2+| springt zum Anfang der Befehlszeile .2+| /input move_beginning_of_line
|
||||
| @k(Home) .2+| springt zum Anfang der Befehlszeile .2+| /input move_beginning_of_line
|
||||
| @k(C-)@k(a)
|
||||
| @k(End) .2+| springt ans Ende der Befehlszeile .2+| /input move_end_of_line
|
||||
| @k(End) .2+| springt ans Ende der Befehlszeile .2+| /input move_end_of_line
|
||||
| @k(C-)@k(e)
|
||||
| @k(C-)@k(c) , @k(b) | fügt Steuerzeichen für fett geschrieben Text ein | /input insert \x02
|
||||
| @k(C-)@k(c) , @k(c) | fügt Steuerzeichen für Textfarbe ein | /input insert \x03
|
||||
@@ -430,12 +450,12 @@ Tastenbefehle für die Befehlszeile
|
||||
| @k(C-)@k(c) , @k(o) | fügt Steuerzeichen für Standardfarbe ein | /input insert \x0F
|
||||
| @k(C-)@k(c) , @k(r) | fügt Steuerzeichen für Hintergrundfarbe ein | /input insert \x12
|
||||
| @k(C-)@k(c) , @k(u) | fügt Steuerzeichen für unterstrichenen Text ein | /input insert \x15
|
||||
| @k(Del) .2+| entfernt in der Befehlszeile das nächste Zeichen .2+| /input delete_next_char
|
||||
| @k(Del) .2+| entfernt in der Befehlszeile das nächste Zeichen .2+| /input delete_next_char
|
||||
| @k(C-)@k(d)
|
||||
| @k(Backsp.) .2+| entfernt in der Befehlszeile das vorherige Zeichen .2+| /input delete_previous_char
|
||||
| @k(Backsp.) .2+| entfernt in der Befehlszeile das vorherige Zeichen .2+| /input delete_previous_char
|
||||
| @k(C-)@k(h)
|
||||
| @k(C-)@k(k) | entfernt alle Zeichen vom Cursor bis zum Ende der Zeile (Zeichenkette wird in Zwischenablage kopiert) | /input delete_end_of_line
|
||||
| @k(C-)@k(r) | Textsuche im Verlaufsspeicher des Buffers (zweimaliges Drücken: exakte Textsuche), @k(↑): vorheriges, @k(↓): nächstes, @k(Enter): beenden | /input search_text
|
||||
| @k(C-)@k(r) | Textsuche im Verlaufsspeicher des Buffers (siehe <<key_bindings_search_context,Tasten für Such-Kontext>>) | /input search_text
|
||||
| @k(C-)@k(t) | Zeichen austauschen | /input transpose_chars
|
||||
| @k(C-)@k(u) | entfernt alle Zeichen vom Cursor bis zum Anfang der Zeile (Zeichenkette wird in Zwischenablage kopiert) | /input delete_beginning_of_line
|
||||
| @k(C-)@k(w) | entfernt das Wort links vom Cursor (entferntes Wort wird in Zwischenablage kopiert) | /input delete_previous_word
|
||||
@@ -444,7 +464,7 @@ Tastenbefehle für die Befehlszeile
|
||||
| @k(A-)@k(_) | Wiederherstellen der letzten Aktion, in der Befehlszeile | /input redo
|
||||
| @k(Tab) | Vervollständigung von Befehlen oder Nicks (nochmaliges @k(Tab): findet nächste Vervollständigung) | /input complete_next
|
||||
| @k(S-)@k(Tab) | ohne Vervollständigung: führt eine teilweise Vervollständigung durch. Bei unerledigter Vervollständigung : wird die vorherige Vervollständigung genutzt | /input complete_previous
|
||||
| @k(Enter) .3+| führt einen Befehl aus oder sendet den Text (im Such-Modus: stoppt Suche) .3+| /input return
|
||||
| @k(Enter) .3+| führt einen Befehl aus oder sendet den Text (im Such-Modus: stoppt Suche) .3+| /input return
|
||||
| @k(C-)@k(j)
|
||||
| @k(C-)@k(m)
|
||||
| @k(↑) | ruft vorherigen Befehl oder Nachricht aus dem Verlaufsspeicher auf (im Such-Modus: rückwärts suchen) | /input history_previous
|
||||
@@ -460,7 +480,7 @@ Tastenbefehle für die Befehlszeile
|
||||
Tastenbefehle für Buffer / Fenster
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
[width="100%",cols="^.^3,.^10,.^5m",options="header"]
|
||||
[width="100%",cols="^.^3,.^10,.^5l",options="header"]
|
||||
|========================================
|
||||
| Taste | Beschreibung | Befehl
|
||||
| @k(C-)@k(l) | Fenster wird neu gezeichnet | /window refresh
|
||||
@@ -472,28 +492,30 @@ Tastenbefehle für Buffer / Fenster
|
||||
| @k(A-)@k(PgDn) | einige Zeilen im Verlaufsspeicher des Buffer nach unten blättern | /window scroll_down
|
||||
| @k(A-)@k(Home) | springt zur ersten Zeile des Verlaufsspeichers des aktuellen Buffers| /window scroll_top
|
||||
| @k(A-)@k(End) | springt zur letzten Zeile des Verlaufsspeichers des aktuellen Buffers | /window scroll_bottom
|
||||
| @k(A-)@k(←) .4+| zum vorherigen Buffer springen .4+| /buffer -1
|
||||
| @k(A-)@k(←) .4+| zum vorherigen Buffer springen .4+| /buffer -1
|
||||
| @k(A-)@k(↑)
|
||||
| @k(C-)@k(p)
|
||||
| @k(F5)
|
||||
| @k(A-)@k(→) .4+| zum nächsten Buffer springen .4+| /buffer +1
|
||||
| @k(A-)@k(→) .4+| zum nächsten Buffer springen .4+| /buffer +1
|
||||
| @k(A-)@k(↓)
|
||||
| @k(C-)@k(n)
|
||||
| @k(F6)
|
||||
| @k(F7) | zum vorherigen Fenster wechseln | /window -1
|
||||
| @k(F8) | zum nächsten Fenster wechseln | /window +1
|
||||
| @k(F9) | Titel des Buffers nach links verschieben | /bar scroll title * x-50%
|
||||
| @k(F10) | Titel des Buffers nach rechts verschieben | /bar scroll title * x+50%
|
||||
| @k(F11) | Nickliste um eine Seite nach oben blättern | /bar scroll nicklist * y-100%
|
||||
| @k(F12) | Nickliste um eine Seite nach unten blättern | /bar scroll nicklist * y+100%
|
||||
| @k(A-)@k(F11) | springt zum Anfang der Nickliste | /bar scroll nicklist * yb
|
||||
| @k(A-)@k(F12) | springt zum Ende der Nickliste | /bar scroll nicklist * ye
|
||||
| @k(F9) | Titel des Buffers nach links verschieben | /bar scroll title * -30%
|
||||
| @k(F10) | Titel des Buffers nach rechts verschieben | /bar scroll title * +30%
|
||||
| @k(F11) | Nickliste um eine Seite nach oben blättern | /bar scroll nicklist * -100%
|
||||
| @k(F12) | Nickliste um eine Seite nach unten blättern | /bar scroll nicklist * +100%
|
||||
| @k(A-)@k(F11) | springt zum Anfang der Nickliste | /bar scroll nicklist * b
|
||||
| @k(A-)@k(F12) | springt zum Ende der Nickliste | /bar scroll nicklist * e
|
||||
| @k(A-)@k(a) | wechselt zum nächsten Buffer mit Aktivität (nach Priorität: highlight, Nachricht, ...) | /input jump_smart
|
||||
| @k(A-)@k(h) | löscht Hotliste (Aktivitätsanzeige für die Buffer) | /input hotlist_clear
|
||||
| @k(A-)@k(j) , @k(A-)@k(l) | wechselt zum letzten Buffer | /input jump_last_buffer
|
||||
| @k(A-)@k(j) , @k(A-)@k(r) | wechselt zum IRC RAW Buffer | /server raw
|
||||
| @k(A-)@k(j) , @k(A-)@k(s) | wechselt zum IRC Server Buffer | /server jump
|
||||
| @k(A-)@k(0...9) | wechselt zum Buffer mit der Nummer (0 = 10) | /buffer *N
|
||||
| @k(A-)@k(j) , @k(01...99) | wechselt zum Buffer mit der angegeben Nummer | /buffer NN
|
||||
| @k(A-)@k(m) | schaltet Mausfunktion ein/aus | /mouse toggle
|
||||
| @k(A-)@k(n) | springt zur nächsten Highlight Nachricht | /window scroll_next_highlight
|
||||
| @k(A-)@k(p) | springt zur vorherigen Highlight Nachricht | /window scroll_previous_highlight
|
||||
| @k(A-)@k(u) | springt zur ersten ungelesenen Zeile im Buffer | /input scroll_unread
|
||||
@@ -506,19 +528,197 @@ Tastenbefehle für Buffer / Fenster
|
||||
| @k(A-)@k(z) | Zoom für aktuelles Fenster (nochmals @k(A-)@k(z): stellt die vorherigen Einstellungen wieder her) | /window zoom
|
||||
| @k(A-)@k(<) | springt zum letzten besuchten Buffer | /input jump_previously_visited_buffer
|
||||
| @k(A-)@k(>) | springt zum nächsten besuchten Buffer | /input jump_next_visited_buffer
|
||||
| @k(A-)@k(=) | schaltet Filterfunktion an/aus | /filter toggle
|
||||
|========================================
|
||||
|
||||
[[key_bindings_other]]
|
||||
andere Tastenbefehle
|
||||
^^^^^^^^^^^^^^^^^^^^
|
||||
[[key_bindings_search_context]]
|
||||
Tasten für "Suchen"-Kontext
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
[width="100%",cols="^.^3,.^10,.^5m",options="header"]
|
||||
Diese Tasten werden im Kontext "search" verwendet (wenn @k(C-)@k(r) genutzt wird um
|
||||
in einem Buffer nach einem Text zu suchen).
|
||||
|
||||
[width="100%",cols="^.^3,.^10,.^5l",options="header"]
|
||||
|========================================
|
||||
| Taste | Beschreibung | Befehl
|
||||
| @k(A-)@k(h) | löscht Hotliste (Aktivitätsanzeige für die Buffer) | /input hotlist_clear
|
||||
| @k(A-)@k(=) | schaltet Filterfunktion an/aus | /filter toggle
|
||||
| Taste | Beschreibung | Befehl
|
||||
| @k(C-)@k(r) | auf Groß-/Kleinschreibung umschalten | /input search_switch_case
|
||||
| @k(↑) | sucht vorheriger Zeile | /input search_previous
|
||||
| @k(↓) | sucht nächste Zeile | /input search_next
|
||||
| @k(Enter) .3+| Suche abbrechen .3+| /input search_stop
|
||||
| @k(C-)@k(j)
|
||||
| @k(C-)@k(m)
|
||||
|========================================
|
||||
|
||||
[[key_bindings_cursor_context]]
|
||||
Tasten für "Cursor"-Kontext
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
Diese Tasten werden im Kontext "cursor" verwendet (Cursor kann frei auf dem Bildschirm bewegt werden)
|
||||
|
||||
[width="100%",cols="^.^3,^.^3,.^10,.^8l",options="header"]
|
||||
|========================================
|
||||
| Taste | Bereich | Beschreibung | Befehl
|
||||
| @k(↑) | - | bewegt Cursor eine Zeile nach oben | /cursor move up
|
||||
| @k(↓) | - | bewegt Cursor eine Zeile nach unten | /cursor move down
|
||||
| @k(←) | - | bewegt Cursor eine Spalte nach links | /cursor move left
|
||||
| @k(→) | - | bewegt Cursor eine Spalte nach rechts | /cursor move right
|
||||
| @k(A-)@k(↑) | - | bewegt Cursor einen Bereich nach oben | /cursor move area_up
|
||||
| @k(A-)@k(↓) | - | bewegt Cursor einen Bereich nach unten | /cursor move area_down
|
||||
| @k(A-)@k(←) | - | bewegt Cursor einen Bereich nach links | /cursor move area_left
|
||||
| @k(A-)@k(→) | - | bewegt Cursor einen Bereich nach rechts | /cursor move area_right
|
||||
| @k(m) | Chat | quotet Nachricht | hsignal:chat_quote_message;/cursor stop
|
||||
| @k(q) | Chat | quotet prefix + Nachricht | hsignal:chat_quote_prefix_message;/cursor stop
|
||||
| @k(Q) | Chat | quotet Uhrzeit + prefix + Nachricht | hsignal:chat_quote_time_prefix_message;/cursor stop
|
||||
| @k(b) | Nickliste | verbannt nick (Ban) | /window ${_window_number};/ban ${nick}
|
||||
| @k(k) | Nickliste | kickt nick | /window ${_window_number};/kick ${nick}
|
||||
| @k(K) | Nickliste | kickt und verbannt nick | /window ${_window_number};/kickban ${nick}
|
||||
| @k(q) | Nickliste | öffnet privaten Chat mit Nick | /window ${_window_number};/query ${nick};/cursor stop
|
||||
| @k(w) | Nickliste | führt einen whois für Nick aus | /window ${_window_number};/whois ${nick}
|
||||
| @k(Enter) .3+| - .3+| beendet den Cursor-Modus .3+| /cursor stop
|
||||
| @k(C-)@k(j)
|
||||
| @k(C-)@k(m)
|
||||
|========================================
|
||||
|
||||
[[key_bindings_mouse_context]]
|
||||
Tasten für "mouse"-Kontext
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
Diese Tasten werden im Kontext "mouse" verwendet, wenn eine Mausfunktion genutzt worden ist.
|
||||
|
||||
[width="100%",cols="^.^3,^.^3,^.^3,.^10,.^8l",options="header"]
|
||||
|========================================
|
||||
| Maustaste | Mausgeste | Bereich | Beschreibung | Befehl
|
||||
| ◾◽◽ | - | Chat | wechselt zum Fenster | /window ${_window_number}
|
||||
| ◾◽◽ | links | Chat | zum vorherigen Buffer springen | /window ${_window_number};/buffer +1
|
||||
| ◾◽◽ | rechts | Chat | zum nächsten Buffer springen | /window ${_window_number};/buffer +1
|
||||
| ◾◽◽ | links(lang) | Chat | Switch to first buffer | /window ${_window_number};/buffer 1
|
||||
| ◾◽◽ | rechts(lang) | Chat | wechselt zum letzten Buffer | /window ${_window_number};/input jump_last_buffer
|
||||
| Mausrad ⇑ | - | Chat | einige Zeilen im Verlaufsspeicher des Buffer nach oben blättern | /window scroll_up -window ${_window_number}
|
||||
| Mausrad ⇓ | - | Chat | einige Zeilen im Verlaufsspeicher des Buffer nach unten blättern | /window scroll_down -window ${_window_number}
|
||||
| ◾◽◽ | hoch | Nickliste | Nickliste um eine Seite nach oben blättern | /bar scroll nicklist ${_window_number} -100%
|
||||
| ◾◽◽ | runter | Nickliste | Nickliste um eine Seite nach unten blättern | /bar scroll nicklist ${_window_number} +100%
|
||||
| ◾◽◽ | hoch(lang) | Nickliste | springt zum Anfang der Nickliste | /bar scroll nicklist ${_window_number} b
|
||||
| ◾◽◽ | runter(lang) | Nickliste | springt zum Ende der Nickliste | /bar scroll nicklist ${_window_number} e
|
||||
| ◾◽◽ | - | Nickliste | öffnet privaten Chat mit Nick | /window ${_window_number};/query ${nick}
|
||||
| ◽◽◾ | - | Nickliste | führt einen whois für Nick aus | /window ${_window_number};/whois ${nick}
|
||||
| ◾◽◽ | links | Nickliste | kickt Nick | /window ${_window_number};/kick ${nick}
|
||||
| ◾◽◽ | links(lang) | Nickliste | kickt und verbannt Nick | /window ${_window_number};/kickban ${nick}
|
||||
| ◽◽◾ | links | Nickliste | verbannt Nick | /window ${_window_number};/ban ${nick}
|
||||
| ◽◽◾ | - | Input | fängt ein Mausereignis und fügt dieses in die Befehlszeile ein | /input grab_mouse_area
|
||||
| Mausrad ⇑ | - | jede Bar | blättert Bar um 10% nach oben | /bar scroll ${_bar_name} ${_window_number} -20%
|
||||
| Mausrad ⇓ | - | jede Bar | blättert Bar um 10% nach unten | /bar scroll ${_bar_name} ${_window_number} +20%
|
||||
| ◽◾◽ | - | überall | aktiviert den Cursor-Modus an dieser Position | /cursor go ${_x},${_y}
|
||||
|========================================
|
||||
|
||||
[[mouse]]
|
||||
Mausunterstützung
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
WeeChat unterstützt Maustasten als auch Mausgesten. Dies funktioniert sowohl im
|
||||
lokalen Terminal wie auch über eine Remote Verbindung via SSH.
|
||||
|
||||
[[mouse_enable]]
|
||||
Mausunterstützung aktivieren
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
Um die Mausunterstützung beim Programmstart zu aktivieren:
|
||||
|
||||
----------------------------------------
|
||||
/set weechat.look.mouse on
|
||||
----------------------------------------
|
||||
|
||||
Um die Mausunterstützung direkt zu aktivieren, kann man den Tastenkurzbefehl
|
||||
@k(A-)@k(m) nutzen oder folgenden Befehl ausführen:
|
||||
|
||||
----------------------------------------
|
||||
/mouse enable
|
||||
----------------------------------------
|
||||
|
||||
Es ist möglich die Mausunterstützung kurzzeitig zu deaktivieren und dies auf
|
||||
einen Tastenkurzbefehl zu legen. Zum Beispiel soll über den Tastenkurzbefehl
|
||||
@k(A-)@k(x) die Mausunterstützung für 10 Sekunden deaktiviert werden:
|
||||
|
||||
----------------------------------------
|
||||
/key bind meta-x /mouse toggle 10
|
||||
----------------------------------------
|
||||
|
||||
Ist die Mausunterstützung aktiviert kann man mittels gedrückter "Shift"-Taste (Umschalttaste)
|
||||
Text im Terminal markieren oder einfügen, als ob die Mausunterstützung deaktiviert sei (bei
|
||||
einigen Terminals muss die "Alt"-Taste anstelle der "Shift"-Taste gedrückt werden.
|
||||
|
||||
[NOTE]
|
||||
Sollten Probleme bei der Mausunterstützung auftreten, dann sollte Bitte die 'WeeChat FAQ' gelesen werden.
|
||||
|
||||
[[mouse_bind_events]]
|
||||
Einem Maus-Event, Befehle zuweisen
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
Es gibt eine Anzahl von Maus-Events die schon standardmäßig durch
|
||||
WeeChat definiert sind (siehe <<key_bindings_mouse_context,Tasten für "mouse"-Kontext>>).
|
||||
|
||||
Man kann mit dem Befehl `/key` im Kontext "mouse" aber auch eigene Befehle zuweisen
|
||||
und löschen (für die Syntax, siehe <<command_weechat_key,/key Befehl>>).
|
||||
|
||||
Der Name eines Events besteht aus einem Modifier (optional), einer Maustaste/Mausrad
|
||||
und der Mausgeste (optional). Die unterschiedlichen Elemente werden durch ein "-" getrennt.
|
||||
|
||||
Liste der Modifiers:
|
||||
|
||||
[width="50%",cols="3m,4",options="header"]
|
||||
|========================================
|
||||
| Modifier | Beschreibung
|
||||
| ctrl | Taste @k(-C-)
|
||||
| alt | Taste @k(-A-)
|
||||
| ctrl-alt | Taste @k(-C-) und @k(-A-)
|
||||
|========================================
|
||||
|
||||
Liste der Maustasten/Mausrad:
|
||||
|
||||
[width="50%",cols="3m,4",options="header"]
|
||||
|========================================
|
||||
| Maustaste/-rad | Beschreibung
|
||||
| button1 | linker Mausknopf wird gedrückt
|
||||
| button2 | rechter Mausknopf wird gedrückt
|
||||
| button3 | mittlerer Mausknopf wird gedrückt (häufig der Druck auf das Mausrad)
|
||||
| button4 ... button9 | ein zusätzlicher Mausknopf wird gedrückt
|
||||
| wheelup | Mausrad wird nach oben gescrollt
|
||||
| wheeldown | Mausrad wird nach unten gescrollt
|
||||
|========================================
|
||||
|
||||
Liste der Mausgesten (nur für Maustasten, nicht für das Mausrad, anwendbar):
|
||||
|
||||
[width="50%",cols="3m,4",options="header"]
|
||||
|========================================
|
||||
| Mausgeste | Distanz
|
||||
| Bewegung hoch | 3 ... 19
|
||||
| Bewegung hoch (lang) | ≥ 20
|
||||
| Bewegung runter | 3 ... 19
|
||||
| Bewegung runter (lang) | ≥ 20
|
||||
| Bewegung links | 3 ... 39
|
||||
| Bewegung links (lang) | ≥ 40
|
||||
| Bewegung rechts | 3 ... 39
|
||||
| Bewegung rechts (lang) | ≥ 40
|
||||
|========================================
|
||||
|
||||
Bespiele von Ereignissen:
|
||||
|
||||
* `button1`
|
||||
* `ctrl-button1`
|
||||
* `button1-gesture-right`
|
||||
* `alt-button2-gesture-down-long`
|
||||
* `wheelup`
|
||||
* `ctrl-alt-wheeldown`
|
||||
|
||||
[TIP]
|
||||
Wird eine Funktion im "mouse"-Kontext hinzufügt ist es möglich mehrere Mausereignisse
|
||||
mittels `*` abzufangen. Zum Beispiel fängt `button1-gesture-*` alle Mausgesten ab, die
|
||||
mit der linken Maustaste eingeleitet werden.
|
||||
|
||||
[TIP]
|
||||
Den Namen eines Mausereignisses kann man mittels des Befehls `/input grab_mouse` erfragen.
|
||||
Man führt den Befehl in der Eingabezeile aus und startet das Ereignis. Als Ergebnis erhält
|
||||
man in der Eingabezeile den Namen des ausgeführten Mausereignisses.
|
||||
|
||||
[[command_line]]
|
||||
Befehlszeile
|
||||
~~~~~~~~~~~~
|
||||
@@ -611,18 +811,6 @@ und "an alle" rot und unterstrichen dargestellt.
|
||||
^Cc12^CbHallo ^Cb^Cc04^Cuan alle^Cu^Cc!
|
||||
----------------------------------------
|
||||
|
||||
[[weechat_options]]
|
||||
WeeChat Optionen (weechat.conf)
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
include::autogen/user/weechat_options.txt[]
|
||||
|
||||
[[weechat_commands]]
|
||||
WeeChat Befehle
|
||||
~~~~~~~~~~~~~~~
|
||||
|
||||
include::autogen/user/weechat_commands.txt[]
|
||||
|
||||
[[colors]]
|
||||
Farben
|
||||
~~~~~~
|
||||
@@ -752,9 +940,12 @@ Attribute
|
||||
Er ist möglich einer Farbe ein Attribut hinzuzufügen. Dazu wird dem
|
||||
Farbnamen oder der Farbnummer ein- oder mehrere Attribute vorangestellt.
|
||||
|
||||
* "*": fett
|
||||
* "!": invertierte Darstellung
|
||||
* "_": unterstrichen
|
||||
* `*` : fett
|
||||
* `!` : invertierte Darstellung
|
||||
* `_` : unterstrichen
|
||||
// TRANSLATION MISSING
|
||||
* `|` : keep attributes: do not reset bold/reverse/underlined when changing
|
||||
color
|
||||
|
||||
Um zum Beispiel dem eigenen Nick die Farbe weiß und unterstrichen
|
||||
zuzuordnen:
|
||||
@@ -780,6 +971,18 @@ Um der Vordergrundfarbe des Terminals das Attribut "fett" zuzuordnen:
|
||||
/set weechat.color.status_time *99999
|
||||
----------------------------------------
|
||||
|
||||
[[weechat_options]]
|
||||
WeeChat Optionen (weechat.conf)
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
include::autogen/user/weechat_options.txt[]
|
||||
|
||||
[[weechat_commands]]
|
||||
WeeChat Befehle
|
||||
~~~~~~~~~~~~~~~
|
||||
|
||||
include::autogen/user/weechat_commands.txt[]
|
||||
|
||||
|
||||
[[plugins]]
|
||||
Erweiterungen
|
||||
@@ -822,22 +1025,22 @@ Standarderweiterungen:
|
||||
|
||||
[width="50%",cols="^1,5",options="header"]
|
||||
|========================================
|
||||
| Erweit. | Beschreibung
|
||||
| alias | definiert Alias für Befehle
|
||||
| aspell | Rechtschreibprüfung für Befehlszeile
|
||||
| charset | Zeichensatz (de)-kodierung in Buffern
|
||||
| demo | Demo Erweiterung (nicht standardmäßig kompiliert)
|
||||
| fifo | FIFO Pipe die zur Fernsteuerung von WeeChat genutzt werden kann
|
||||
| irc | IRC Chat-Protokoll
|
||||
| logger | erstellt Protokolldateien von Buffern
|
||||
| relay | Daten via Netzwerk übermitteln (IRC Proxy)
|
||||
| rmodifier | wandelt Schlüsselwörter mit regulären Ausdrücken
|
||||
| perl | Perl-Skript API
|
||||
| python | Python-Skript API
|
||||
| ruby | Ruby-Skript API
|
||||
| lua | Lua-Skript API
|
||||
| tcl | Tcl-Skript API
|
||||
| xfer | Datentransfer und Direktchat
|
||||
| Erweiterung | Beschreibung
|
||||
| alias | definiert Alias für Befehle
|
||||
| aspell | Rechtschreibprüfung für Befehlszeile
|
||||
| charset | Zeichensatz (de)-kodierung in Buffern
|
||||
| demo | Demo Erweiterung (nicht standardmäßig kompiliert)
|
||||
| fifo | FIFO Pipe die zur Fernsteuerung von WeeChat genutzt werden kann
|
||||
| irc | IRC Chat-Protokoll
|
||||
| logger | erstellt Protokolldateien von Buffern
|
||||
| relay | Daten via Netzwerk übermitteln (IRC Proxy)
|
||||
| rmodifier | wandelt Schlüsselwörter mit regulären Ausdrücken
|
||||
| perl | Perl-Skript API
|
||||
| python | Python-Skript API
|
||||
| ruby | Ruby-Skript API
|
||||
| lua | Lua-Skript API
|
||||
| tcl | Tcl-Skript API
|
||||
| xfer | Datentransfer und Direktchat
|
||||
|========================================
|
||||
|
||||
[[alias_plugin]]
|
||||
@@ -1076,7 +1279,7 @@ Kommandozeilen Befehle
|
||||
Es ist möglich eine oder mehrere URL von IRC Servern zu übergeben:
|
||||
|
||||
----------------------------------------
|
||||
irc[6][s]://[pseudo[:mot_passe]@]irc.example.org[:port][/channel][,channel[...]
|
||||
irc[6][s]://[nick[:password]@]irc.example.org[:port][/channel][,channel[...]]
|
||||
----------------------------------------
|
||||
|
||||
Beispiel: Anmelden beim Server 'irc.freenode.net' mit dem Nick 'nono' und betreten
|
||||
@@ -1168,6 +1371,83 @@ $ cat nick.cer nick.key > ~/.weechat/ssl/nick.pem
|
||||
|
||||
Für weiterreichende Informationen lesen Sie bitte: http://www.oftc.net/oftc/NickServ/CertFP
|
||||
|
||||
[[irc_sasl_authentication]]
|
||||
SASL Authentifizierung
|
||||
^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
WeeChat unterstützt zwei Möglichkeiten der SASL Authentifizierung:
|
||||
"plain" (standard) oder "dh-blowfish" (verschlüsseltes Passwort).
|
||||
|
||||
Optionen für Server sind:
|
||||
|
||||
* 'sasl_mechanism': Mechanismus welcher genutzt werden soll ("plain" oder "dh-blowfish")
|
||||
* 'sasl_timeout': Zeitüberschreitung (in Sekunden) für Authentifizierung
|
||||
* 'sasl_username': Username (Nickname)
|
||||
* 'sasl_password': Passwort
|
||||
|
||||
Soll "dh-blowfish" standardmäßig auf allen Servern genutzt werden:
|
||||
|
||||
----------------------------------------
|
||||
/set irc.server_default.sasl_mechanism dh-blowfish
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
Die "gcrypt" Bibliothek wird beim kompilieren von WeeChat benötigt um
|
||||
"dh-blowfish"nutzen zu können (siehe <<dependencies,Abhängigkeiten>>).
|
||||
|
||||
[[irc_tor_freenode]]
|
||||
Verbindung zu Freenode mittels TOR/SASL herstellen
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
Neben der Möglichkeit eine Verbindung zum Freenode Server mittels SSL aufzubauen,
|
||||
kann man außerdem eine Verbindung via TOR (https://www.torproject.org/) herstellen.
|
||||
Dies dient dazu die eigene Privatsphäre und Sicherheit im Internet zu erhöhen.
|
||||
|
||||
Zuerst sollte man sicher gehen, dass WeeChat mit <<dependencies,libgcrypt11-dev>> kompiliert
|
||||
wurde (sofern WeeChat aus den Quellen erstellt wurde); es ist nicht verpflichtend, allerdings
|
||||
bietet "dh-blowfish" eine größere Sicherheit als eine "plain" Authentifikation mittels SASL.
|
||||
|
||||
Im ersten Schritt muss TOR installiert werden. Für Debian (und Derivate):
|
||||
|
||||
----------------------------------------
|
||||
$ sudo apt-get install tor
|
||||
----------------------------------------
|
||||
|
||||
In WeeChat muss nun ein socks5 Proxy für den TOR Service erstellt werden (Hostname/IP
|
||||
und Port müssen dabei an die eigene TOR Konfiguration angepasst werden):
|
||||
|
||||
----------------------------------------
|
||||
/proxy add tor socks5 127.0.0.1 9050
|
||||
----------------------------------------
|
||||
|
||||
Nun erstellt man einen neuen Server, zum Beispiel:
|
||||
|
||||
----------------------------------------
|
||||
/server add freenode-tor p4fsi4ockecnea7l.onion
|
||||
----------------------------------------
|
||||
|
||||
Der Proxy muss für TOR angelegt werden:
|
||||
|
||||
----------------------------------------
|
||||
/set irc.server.freenode-tor.proxy "tor"
|
||||
----------------------------------------
|
||||
|
||||
Die SASL Authentifikation einstellen:
|
||||
|
||||
----------------------------------------
|
||||
/set irc.server.freenode-tor.sasl_mechanism dh-blowfish
|
||||
/set irc.server.freenode-tor.sasl_username "your_nickname"
|
||||
/set irc.server.freenode-tor.sasl_password "your_password"
|
||||
----------------------------------------
|
||||
|
||||
Zum Abschluss stellt man eine Verbindung zum Server her:
|
||||
|
||||
----------------------------------------
|
||||
/connect freenode-tor
|
||||
----------------------------------------
|
||||
|
||||
Um mehr über Freenode und TOR zu erfahren: http://freenode.net/irc_servers.shtml#tor
|
||||
|
||||
[[irc_smart_filter_join_part_quit]]
|
||||
einfacher Filter für join/part/quit Nachrichten
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
@@ -1308,7 +1588,7 @@ Unvollständige Liste der IRC Nachrichten bzw. Alias die angepasst werden könne
|
||||
|
||||
[width="60%",cols="^1m,^3m,8",options="header"]
|
||||
|========================================
|
||||
| Nachricht | alias | Beschreibung
|
||||
| Nachricht | Alias | Beschreibung
|
||||
| error | | Fehler
|
||||
| invite | | Einladung in einen Channel
|
||||
| join | | join
|
||||
@@ -1351,6 +1631,7 @@ Unvollständige Liste der IRC Nachrichten bzw. Alias die angepasst werden könne
|
||||
| 335 | whois | whois (ist ein Bot auf)
|
||||
| 338 | whois | whois (Host)
|
||||
| 341 | | inviting
|
||||
| 343 | whois | whois (ist opered als)
|
||||
| 344 | reop | channel reop
|
||||
| 345 | reop | channel reop (Ende)
|
||||
| 346 | invitelist | Einladung list
|
||||
@@ -1605,7 +1886,7 @@ Mittels der Rmodifer Erweiterung kann man Schlüsselwörter mittels regulären A
|
||||
wandeln. Ein typischer Anwendungsfall ist das Passwörter bei der Eingabe verborgen werden,
|
||||
oder das WeeChat diese verbirgt wenn sie im Befehlsverlauf gesichert werden.
|
||||
Ein einfaches Anwendungsbeispiel. Es ist möglich jedes einzelne Zeichen eines Passwortes
|
||||
durch das Zeichen "*" zu ersetzen.
|
||||
durch das Zeichen `*` zu ersetzen.
|
||||
|
||||
[[rmodifier_options]]
|
||||
Optionen (rmodifier.conf)
|
||||
@@ -1635,7 +1916,7 @@ Erweiterung genutzt werden siehe ''WeeChat Plugin API Reference', Funktion 'weec
|
||||
Für jede erkannte Gruppe sind folgende Aktionen möglich:
|
||||
|
||||
* Gruppe wird in der vorliegenden Form beibehalten (wenn man die Gruppennummer nutzt)
|
||||
* alle Zeichen der Gruppe werden ersetzt um deren Inhalt zu verbergen (Gruppennummer + "*")
|
||||
* alle Zeichen der Gruppe werden ersetzt um deren Inhalt zu verbergen (Gruppennummer + `*`)
|
||||
* Gruppe wird entfernt (falls Gruppe nicht in Zeichenkette genutzt wird)
|
||||
|
||||
Beispiel der rmodifier-Standardeinstellung für den Befehl `/oper`:
|
||||
|
||||
-764
@@ -1,764 +0,0 @@
|
||||
#
|
||||
# Copyright (C) 2008-2011 Sebastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
# WeeChat is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# WeeChat is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
#
|
||||
# Documentation generator for WeeChat: build include files with commands,
|
||||
# options, infos and completions for WeeChat core and plugins.
|
||||
#
|
||||
# Instructions to build config files yourself in WeeChat directories (replace
|
||||
# all paths with your path to WeeChat):
|
||||
# 1. run WeeChat and load this script, with following command:
|
||||
# /perl load ~/src/weechat/doc/docgen.pl
|
||||
# 2. change path to build in your doc/ directory:
|
||||
# /set plugins.var.perl.docgen.path "~/src/weechat/doc"
|
||||
# 3. run docgen command:
|
||||
# /docgen
|
||||
# Files should be in ~/src/weechat/doc/xx/autogen/ (where xx is language)
|
||||
#
|
||||
|
||||
use strict;
|
||||
|
||||
use POSIX; # needed for setlocale()
|
||||
use Locale::gettext;
|
||||
use File::Basename;
|
||||
|
||||
my $version = "0.1";
|
||||
|
||||
# -------------------------------[ config ]------------------------------------
|
||||
|
||||
# default path where doc XML files will be written (should be doc/ in sources
|
||||
# package tree)
|
||||
# path must have subdirectories with languages and autogen directory:
|
||||
# path
|
||||
# |-- en
|
||||
# | |-- autogen
|
||||
# |-- fr
|
||||
# | |-- autogen
|
||||
# ...
|
||||
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 de_DE);
|
||||
|
||||
# all commands/options/.. of following plugins will produce a file
|
||||
# non-listed plugins will be ignored
|
||||
# value: "c" = plugin may have many commands
|
||||
# "o" = write config options for plugin
|
||||
# if plugin is listed without "c", that means plugin has only one command
|
||||
# /name (where "name" # is name of plugin)
|
||||
# Note: we consider core is a plugin called "weechat"
|
||||
my %plugin_list = ("weechat" => "co", "alias" => "",
|
||||
"aspell" => "o", "charset" => "co",
|
||||
"demo" => "co", "fifo" => "co",
|
||||
"irc" => "co", "logger" => "co",
|
||||
"relay" => "co", "rmodifier" => "co",
|
||||
"perl" => "", "python" => "",
|
||||
"ruby" => "", "lua" => "",
|
||||
"tcl" => "", "xfer" => "co");
|
||||
|
||||
# options to ignore
|
||||
my @ignore_options = ("aspell\\.dict\\..*",
|
||||
"aspell\\.option\\..*",
|
||||
"charset\\.decode\\..*",
|
||||
"charset\\.encode\\..*",
|
||||
"irc\\.msgbuffer\\..*",
|
||||
"irc\\.ctcp\\..*",
|
||||
"irc\\.ignore\\..*",
|
||||
"irc\\.server\\..*",
|
||||
"jabber\\.server\\..*",
|
||||
"logger\\.level\\..*",
|
||||
"logger\\.mask\\..*",
|
||||
"relay\\.port\\..*",
|
||||
"rmodifier\\.modifier\\..*",
|
||||
"weechat\\.palette\\..*",
|
||||
"weechat\\.proxy\\..*",
|
||||
"weechat\\.bar\\..*",
|
||||
"weechat\\.debug\\..*",
|
||||
"weechat\\.notify\\..*");
|
||||
|
||||
# infos to ignore
|
||||
my @ignore_infos_plugins = ();
|
||||
|
||||
# infos (hashtable) to ignore
|
||||
my @ignore_infos_hashtable_plugins = ();
|
||||
|
||||
# infolists to ignore
|
||||
my @ignore_infolists_plugins = ();
|
||||
|
||||
# completions to ignore
|
||||
my @ignore_completions_plugins = ();
|
||||
my @ignore_completions_items = ("docgen.*",
|
||||
"jabber.*",
|
||||
"weeget.*");
|
||||
|
||||
# for gettext
|
||||
my $d;
|
||||
|
||||
# -------------------------------[ init ]--------------------------------------
|
||||
|
||||
weechat::register("docgen", "Sebastien Helleu <flashcode\@flashtux.org>", $version,
|
||||
"GPL3", "Doc generator for WeeChat 0.3.x", "", "");
|
||||
weechat::hook_command("docgen", "Doc generator",
|
||||
"[locales]",
|
||||
"locales: list of locales to build (by default build all locales)",
|
||||
"%(docgen_locales)|%*", "docgen", "");
|
||||
weechat::hook_completion("docgen_locales", "locales for docgen", "docgen_completion", "");
|
||||
weechat::config_set_plugin("path", $default_path)
|
||||
if (weechat::config_get_plugin("path") eq "");
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
|
||||
# gettext
|
||||
sub weechat_gettext
|
||||
{
|
||||
return $d->get($_[0]);
|
||||
}
|
||||
|
||||
# get list of commands in a hash with 3 indexes: plugin, command, xxx
|
||||
sub get_commands
|
||||
{
|
||||
my %commands;
|
||||
|
||||
my $infolist = weechat::infolist_get("hook", "", "command");
|
||||
while (weechat::infolist_next($infolist))
|
||||
{
|
||||
my $command = weechat::infolist_string($infolist, "command");
|
||||
my $plugin = weechat::infolist_string($infolist, "plugin_name");
|
||||
$plugin = "weechat" if ($plugin eq "");
|
||||
if (exists($plugin_list{$plugin}))
|
||||
{
|
||||
if (($command eq $plugin) || ($plugin_list{$plugin} =~ /c/))
|
||||
{
|
||||
$commands{$plugin}{$command}{"description"} = weechat::infolist_string($infolist, "description");
|
||||
$commands{$plugin}{$command}{"args"} = weechat::infolist_string($infolist, "args");
|
||||
$commands{$plugin}{$command}{"args_description"} = weechat::infolist_string($infolist, "args_description");
|
||||
$commands{$plugin}{$command}{"completion"} = weechat::infolist_string($infolist, "completion");
|
||||
}
|
||||
}
|
||||
}
|
||||
weechat::infolist_free($infolist);
|
||||
|
||||
return %commands;
|
||||
}
|
||||
|
||||
# get list of config options in a hash with 4 indexes: config, section, option, xxx
|
||||
sub get_options
|
||||
{
|
||||
my %options;
|
||||
|
||||
my $infolist = weechat::infolist_get("option", "", "");
|
||||
while (weechat::infolist_next($infolist))
|
||||
{
|
||||
my $full_name = weechat::infolist_string($infolist, "full_name");
|
||||
|
||||
# check if option is ignored or not
|
||||
my $ignore = 0;
|
||||
foreach my $mask (@ignore_options)
|
||||
{
|
||||
$ignore = 1 if ($full_name =~ /${mask}/);
|
||||
}
|
||||
|
||||
if ($ignore ne 1)
|
||||
{
|
||||
my $config = weechat::infolist_string($infolist, "config_name");
|
||||
my $section = weechat::infolist_string($infolist, "section_name");
|
||||
my $option = weechat::infolist_string($infolist, "option_name");
|
||||
if (defined $plugin_list{$config} && ($plugin_list{$config} =~ /o/))
|
||||
{
|
||||
$options{$config}{$section}{$option}{"type"} = weechat::infolist_string($infolist, "type");
|
||||
$options{$config}{$section}{$option}{"string_values"} = weechat::infolist_string($infolist, "string_values");
|
||||
$options{$config}{$section}{$option}{"default_value"} = weechat::infolist_string($infolist, "default_value");
|
||||
$options{$config}{$section}{$option}{"min"} = weechat::infolist_integer($infolist, "min");
|
||||
$options{$config}{$section}{$option}{"max"} = weechat::infolist_integer($infolist, "max");
|
||||
$options{$config}{$section}{$option}{"null_value_allowed"} = weechat::infolist_integer($infolist, "null_value_allowed");
|
||||
$options{$config}{$section}{$option}{"description"} = weechat::infolist_string($infolist, "description");
|
||||
}
|
||||
}
|
||||
}
|
||||
weechat::infolist_free($infolist);
|
||||
|
||||
return %options;
|
||||
}
|
||||
|
||||
# get list of infos hooked by plugins in a hash with 3 indexes: plugin, name, xxx
|
||||
sub get_infos
|
||||
{
|
||||
my %infos;
|
||||
|
||||
# get infos hooked
|
||||
my $infolist = weechat::infolist_get("hook", "", "info");
|
||||
while (weechat::infolist_next($infolist))
|
||||
{
|
||||
my $info_name = weechat::infolist_string($infolist, "info_name");
|
||||
my $plugin = weechat::infolist_string($infolist, "plugin_name");
|
||||
$plugin = "weechat" if ($plugin eq "");
|
||||
|
||||
# check if info is ignored or not
|
||||
my $ignore = 0;
|
||||
foreach my $mask (@ignore_infos_plugins)
|
||||
{
|
||||
$ignore = 1 if ($plugin =~ /${mask}/);
|
||||
}
|
||||
|
||||
if ($ignore ne 1)
|
||||
{
|
||||
$infos{$plugin}{$info_name}{"description"} = weechat::infolist_string($infolist, "description");
|
||||
$infos{$plugin}{$info_name}{"args_description"} = weechat::infolist_string($infolist, "args_description");
|
||||
}
|
||||
}
|
||||
weechat::infolist_free($infolist);
|
||||
|
||||
return %infos;
|
||||
}
|
||||
|
||||
# get list of infos (hashtable) hooked by plugins in a hash with 3 indexes: plugin, name, xxx
|
||||
sub get_infos_hashtable
|
||||
{
|
||||
my %infos_hashtable;
|
||||
|
||||
# get infos hooked
|
||||
my $infolist = weechat::infolist_get("hook", "", "info_hashtable");
|
||||
while (weechat::infolist_next($infolist))
|
||||
{
|
||||
my $info_name = weechat::infolist_string($infolist, "info_name");
|
||||
my $plugin = weechat::infolist_string($infolist, "plugin_name");
|
||||
$plugin = "weechat" if ($plugin eq "");
|
||||
|
||||
# check if info_hashtable is ignored or not
|
||||
my $ignore = 0;
|
||||
foreach my $mask (@ignore_infos_hashtable_plugins)
|
||||
{
|
||||
$ignore = 1 if ($plugin =~ /${mask}/);
|
||||
}
|
||||
|
||||
if ($ignore ne 1)
|
||||
{
|
||||
$infos_hashtable{$plugin}{$info_name}{"description"} = weechat::infolist_string($infolist, "description");
|
||||
$infos_hashtable{$plugin}{$info_name}{"args_description"} = weechat::infolist_string($infolist, "args_description");
|
||||
$infos_hashtable{$plugin}{$info_name}{"output_description"} = weechat::infolist_string($infolist, "output_description");
|
||||
}
|
||||
}
|
||||
weechat::infolist_free($infolist);
|
||||
|
||||
return %infos_hashtable;
|
||||
}
|
||||
|
||||
# get list of infolists hooked by plugins in a hash with 3 indexes: plugin, name, xxx
|
||||
sub get_infolists
|
||||
{
|
||||
my %infolists;
|
||||
|
||||
# get infolists hooked
|
||||
my $infolist = weechat::infolist_get("hook", "", "infolist");
|
||||
while (weechat::infolist_next($infolist))
|
||||
{
|
||||
my $infolist_name = weechat::infolist_string($infolist, "infolist_name");
|
||||
my $plugin = weechat::infolist_string($infolist, "plugin_name");
|
||||
$plugin = "weechat" if ($plugin eq "");
|
||||
|
||||
# check if infolist is ignored or not
|
||||
my $ignore = 0;
|
||||
foreach my $mask (@ignore_infolists_plugins)
|
||||
{
|
||||
$ignore = 1 if ($plugin =~ /${mask}/);
|
||||
}
|
||||
|
||||
if ($ignore ne 1)
|
||||
{
|
||||
$infolists{$plugin}{$infolist_name}{"description"} = weechat::infolist_string($infolist, "description");
|
||||
$infolists{$plugin}{$infolist_name}{"pointer_description"} = weechat::infolist_string($infolist, "pointer_description");
|
||||
$infolists{$plugin}{$infolist_name}{"args_description"} = weechat::infolist_string($infolist, "args_description");
|
||||
}
|
||||
}
|
||||
weechat::infolist_free($infolist);
|
||||
|
||||
return %infolists;
|
||||
}
|
||||
|
||||
# get list of completions hooked by plugins in a hash with 3 indexes: plugin, item, xxx
|
||||
sub get_completions
|
||||
{
|
||||
my %completions;
|
||||
|
||||
# get completions hooked
|
||||
my $infolist = weechat::infolist_get("hook", "", "completion");
|
||||
while (weechat::infolist_next($infolist))
|
||||
{
|
||||
my $completion_item = weechat::infolist_string($infolist, "completion_item");
|
||||
my $plugin = weechat::infolist_string($infolist, "plugin_name");
|
||||
$plugin = "weechat" if ($plugin eq "");
|
||||
|
||||
# check if completion item is ignored or not
|
||||
my $ignore = 0;
|
||||
foreach my $mask (@ignore_completions_plugins)
|
||||
{
|
||||
$ignore = 1 if ($plugin =~ /${mask}/);
|
||||
}
|
||||
foreach my $mask (@ignore_completions_items)
|
||||
{
|
||||
$ignore = 1 if ($completion_item =~ /${mask}/);
|
||||
}
|
||||
|
||||
if (($ignore ne 1) && ($completion_item ne ""))
|
||||
{
|
||||
$completions{$plugin}{$completion_item}{"description"} = weechat::infolist_string($infolist, "description");
|
||||
}
|
||||
}
|
||||
weechat::infolist_free($infolist);
|
||||
|
||||
return %completions;
|
||||
}
|
||||
|
||||
sub escape_string
|
||||
{
|
||||
my $str = $_[0];
|
||||
$str =~ s/"/\\"/g;
|
||||
return $str;
|
||||
}
|
||||
|
||||
sub escape_table
|
||||
{
|
||||
my $str = $_[0];
|
||||
$str =~ s/\|/\\|/g;
|
||||
return $str;
|
||||
}
|
||||
|
||||
# build XML doc files (command /docgen)
|
||||
sub docgen
|
||||
{
|
||||
my ($data, $buffer, $args) = ($_[0], $_[1], $_[2]);
|
||||
|
||||
my @locale_list = @all_locale_list;
|
||||
@locale_list = split(/ /, $args) if ($args ne "");
|
||||
|
||||
my %plugin_commands = get_commands();
|
||||
my %plugin_options = get_options();
|
||||
my %plugin_infos = get_infos();
|
||||
my %plugin_infos_hashtable = get_infos_hashtable();
|
||||
my %plugin_infolists = get_infolists();
|
||||
my %plugin_completions = get_completions();
|
||||
|
||||
# get path and replace ~ by home if needed
|
||||
my $path = weechat::config_get_plugin("path");
|
||||
$path =~ s/^~\//$ENV{"HOME"}\//;
|
||||
|
||||
my $old_locale = setlocale(LC_MESSAGES);
|
||||
|
||||
# write to doc files, by locale
|
||||
my $num_files = 0;
|
||||
my $num_files_updated = 0;
|
||||
my $filename = "";
|
||||
|
||||
foreach my $locale (@locale_list)
|
||||
{
|
||||
my $num_files_commands = 0;
|
||||
my $num_files_commands_updated = 0;
|
||||
my $num_files_options = 0;
|
||||
my $num_files_options_updated = 0;
|
||||
my $num_files_infos = 0;
|
||||
my $num_files_infos_updated = 0;
|
||||
my $num_files_infos_hashtable = 0;
|
||||
my $num_files_infos_hashtable_updated = 0;
|
||||
my $num_files_infolists = 0;
|
||||
my $num_files_infolists_updated = 0;
|
||||
my $num_files_completions = 0;
|
||||
my $num_files_completions_updated = 0;
|
||||
|
||||
setlocale(LC_MESSAGES, $locale.".UTF-8");
|
||||
$d = Locale::gettext->domain_raw("weechat");
|
||||
$d->codeset("UTF-8");
|
||||
$d->dir(weechat::info_get("weechat_localedir", ""));
|
||||
|
||||
my $dir = $path."/".substr($locale, 0, 2)."/autogen/";
|
||||
if (-d $dir)
|
||||
{
|
||||
# write commands
|
||||
foreach my $plugin (keys %plugin_commands)
|
||||
{
|
||||
$filename = $dir."user/".$plugin."_commands.txt";
|
||||
if (open(FILE, ">".$filename.".tmp"))
|
||||
{
|
||||
foreach my $command (sort keys %{$plugin_commands{$plugin}})
|
||||
{
|
||||
my $args = $plugin_commands{$plugin}{$command}{"args"};
|
||||
$args = $d->get($args) if ($args ne "");
|
||||
my @args_formats = split(/ \|\| /, $args);
|
||||
my $description = $plugin_commands{$plugin}{$command}{"description"};
|
||||
$description = $d->get($description) if ($description ne "");
|
||||
my $args_description = $plugin_commands{$plugin}{$command}{"args_description"};
|
||||
$args_description = $d->get($args_description) if ($args_description ne "");
|
||||
|
||||
print FILE "[command]*`".$command."`* ".$description."::\n";
|
||||
print FILE "........................................\n";
|
||||
my $prefix = "/".$command." ";
|
||||
foreach my $format (@args_formats)
|
||||
{
|
||||
print FILE $prefix.$format."\n";
|
||||
$prefix = " " x length($prefix);
|
||||
}
|
||||
if ($args_description ne "")
|
||||
{
|
||||
print FILE "\n";
|
||||
my @lines = split(/\n/, $args_description);
|
||||
foreach my $line (@lines)
|
||||
{
|
||||
print FILE $line."\n";
|
||||
}
|
||||
}
|
||||
print FILE "........................................\n\n";
|
||||
|
||||
}
|
||||
#weechat::print("", "docgen: file ok: '$filename'");
|
||||
my $rc = system("diff ".$filename." ".$filename.".tmp >/dev/null 2>&1");
|
||||
if ($rc != 0)
|
||||
{
|
||||
system("mv -f ".$filename.".tmp ".$filename);
|
||||
$num_files_updated++;
|
||||
$num_files_commands_updated++;
|
||||
}
|
||||
else
|
||||
{
|
||||
system("rm ".$filename.".tmp");
|
||||
}
|
||||
$num_files++;
|
||||
$num_files_commands++;
|
||||
close(FILE);
|
||||
}
|
||||
else
|
||||
{
|
||||
weechat::print("", weechat::prefix("error")."docgen error: unable to write file '$filename'");
|
||||
}
|
||||
}
|
||||
|
||||
# write config options
|
||||
foreach my $config (keys %plugin_options)
|
||||
{
|
||||
$filename = $dir."user/".$config."_options.txt";
|
||||
if (open(FILE, ">".$filename.".tmp"))
|
||||
{
|
||||
foreach my $section (sort keys %{$plugin_options{$config}})
|
||||
{
|
||||
foreach my $option (sort keys %{$plugin_options{$config}{$section}})
|
||||
{
|
||||
my $type = $plugin_options{$config}{$section}{$option}{"type"};
|
||||
my $string_values = $plugin_options{$config}{$section}{$option}{"string_values"};
|
||||
my $default_value = $plugin_options{$config}{$section}{$option}{"default_value"};
|
||||
my $min = $plugin_options{$config}{$section}{$option}{"min"};
|
||||
my $max = $plugin_options{$config}{$section}{$option}{"max"};
|
||||
my $null_value_allowed = $plugin_options{$config}{$section}{$option}{"null_value_allowed"};
|
||||
my $description = $plugin_options{$config}{$section}{$option}{"description"};
|
||||
$description = $d->get($description) if ($description ne "");
|
||||
my $type_nls = $type;
|
||||
$type_nls = $d->get($type_nls) if ($type_nls ne "");
|
||||
my $values = "";
|
||||
if ($type eq "boolean")
|
||||
{
|
||||
$values = "on, off";
|
||||
}
|
||||
if ($type eq "integer")
|
||||
{
|
||||
if ($string_values ne "")
|
||||
{
|
||||
$string_values =~ s/\|/, /g;
|
||||
$values = $string_values;
|
||||
}
|
||||
else
|
||||
{
|
||||
$values = $min." .. ".$max;
|
||||
}
|
||||
}
|
||||
if ($type eq "string")
|
||||
{
|
||||
$values = weechat_gettext("any string") if ($max <= 0);
|
||||
$values = weechat_gettext("any char") if ($max == 1);
|
||||
$values = weechat_gettext("any string")." (".weechat_gettext("max chars").": ".$max.")" if ($max > 1);
|
||||
$default_value = "\"".escape_string($default_value)."\"";
|
||||
}
|
||||
if ($type eq "color")
|
||||
{
|
||||
$values = weechat_gettext("a WeeChat color name (default, black, "
|
||||
."(dark)gray, white, (light)red, (light)green, "
|
||||
."brown, yellow, (light)blue, (light)magenta, "
|
||||
."(light)cyan), a terminal color number or "
|
||||
."an alias; attributes are allowed before "
|
||||
."color (for text color only, not "
|
||||
."background): \"*\" for bold, \"!\" for "
|
||||
."reverse, \"_\" for underline");
|
||||
}
|
||||
|
||||
print FILE "* *".$config.".".$section.".".$option."*\n";
|
||||
print FILE "** ".weechat_gettext("description").": `".$description."`\n";
|
||||
print FILE "** ".weechat_gettext("type").": ".$type_nls."\n";
|
||||
print FILE "** ".weechat_gettext("values").": ".$values." "
|
||||
."(".weechat_gettext("default value").": `".$default_value."`)\n";
|
||||
if ($null_value_allowed eq 1)
|
||||
{
|
||||
print FILE "** ".weechat_gettext("undefined value allowed (null)")."\n";
|
||||
}
|
||||
print FILE "\n";
|
||||
}
|
||||
}
|
||||
#weechat::print("", "docgen: file ok: '$filename'");
|
||||
my $rc = system("diff ".$filename." ".$filename.".tmp >/dev/null 2>&1");
|
||||
if ($rc != 0)
|
||||
{
|
||||
system("mv -f ".$filename.".tmp ".$filename);
|
||||
$num_files_updated++;
|
||||
$num_files_options_updated++;
|
||||
}
|
||||
else
|
||||
{
|
||||
system("rm ".$filename.".tmp");
|
||||
}
|
||||
$num_files++;
|
||||
$num_files_options++;
|
||||
close(FILE);
|
||||
}
|
||||
else
|
||||
{
|
||||
weechat::print("", weechat::prefix("error")."docgen error: unable to write file '$filename'");
|
||||
}
|
||||
}
|
||||
|
||||
# write infos hooked
|
||||
$filename = $dir."plugin_api/infos.txt";
|
||||
if (open(FILE, ">".$filename.".tmp"))
|
||||
{
|
||||
print FILE "[width=\"100%\",cols=\"^1,^2,6,6\",options=\"header\"]\n";
|
||||
print FILE "|========================================\n";
|
||||
print FILE "| ".weechat_gettext("Plugin")." | ".weechat_gettext("Name")
|
||||
." | ".weechat_gettext("Description")." | ".weechat_gettext("Arguments")."\n\n";
|
||||
foreach my $plugin (sort keys %plugin_infos)
|
||||
{
|
||||
foreach my $info (sort keys %{$plugin_infos{$plugin}})
|
||||
{
|
||||
my $description = $plugin_infos{$plugin}{$info}{"description"};
|
||||
$description = $d->get($description) if ($description ne "");
|
||||
my $args_description = $plugin_infos{$plugin}{$info}{"args_description"};
|
||||
$args_description = $d->get($args_description) if ($args_description ne "");
|
||||
$args_description = "-" if ($args_description eq "");
|
||||
|
||||
print FILE "| ".escape_table($plugin)." | ".escape_table($info)
|
||||
." | ".escape_table($description)." | ".escape_table($args_description)."\n\n";
|
||||
}
|
||||
}
|
||||
print FILE "|========================================\n";
|
||||
#weechat::print("", "docgen: file ok: '$filename'");
|
||||
my $rc = system("diff ".$filename." ".$filename.".tmp >/dev/null 2>&1");
|
||||
if ($rc != 0)
|
||||
{
|
||||
system("mv -f ".$filename.".tmp ".$filename);
|
||||
$num_files_updated++;
|
||||
$num_files_infos_updated++;
|
||||
}
|
||||
else
|
||||
{
|
||||
system("rm ".$filename.".tmp");
|
||||
}
|
||||
$num_files++;
|
||||
$num_files_infos++;
|
||||
close(FILE);
|
||||
}
|
||||
else
|
||||
{
|
||||
weechat::print("", weechat::prefix("error")."docgen error: unable to write file '$filename'");
|
||||
}
|
||||
|
||||
# write infos (hashtable) hooked
|
||||
$filename = $dir."plugin_api/infos_hashtable.txt";
|
||||
if (open(FILE, ">".$filename.".tmp"))
|
||||
{
|
||||
print FILE "[width=\"100%\",cols=\"^1,^2,6,6,6\",options=\"header\"]\n";
|
||||
print FILE "|========================================\n";
|
||||
print FILE "| ".weechat_gettext("Plugin")." | ".weechat_gettext("Name")
|
||||
." | ".weechat_gettext("Description")." | ".weechat_gettext("Hashtable (input)")
|
||||
." | ".weechat_gettext("Hashtable (output)")."\n\n";
|
||||
foreach my $plugin (sort keys %plugin_infos_hashtable)
|
||||
{
|
||||
foreach my $info (sort keys %{$plugin_infos_hashtable{$plugin}})
|
||||
{
|
||||
my $description = $plugin_infos_hashtable{$plugin}{$info}{"description"};
|
||||
$description = $d->get($description) if ($description ne "");
|
||||
my $args_description = $plugin_infos_hashtable{$plugin}{$info}{"args_description"};
|
||||
$args_description = $d->get($args_description) if ($args_description ne "");
|
||||
$args_description = "-" if ($args_description eq "");
|
||||
my $output_description = $plugin_infos_hashtable{$plugin}{$info}{"output_description"};
|
||||
$output_description = $d->get($output_description) if ($output_description ne "");
|
||||
$output_description = "-" if ($output_description eq "");
|
||||
|
||||
print FILE "| ".escape_table($plugin)." | ".escape_table($info)
|
||||
." | ".escape_table($description)." | ".escape_table($args_description)
|
||||
." | ".escape_table($output_description)."\n\n";
|
||||
}
|
||||
}
|
||||
print FILE "|========================================\n";
|
||||
#weechat::print("", "docgen: file ok: '$filename'");
|
||||
my $rc = system("diff ".$filename." ".$filename.".tmp >/dev/null 2>&1");
|
||||
if ($rc != 0)
|
||||
{
|
||||
system("mv -f ".$filename.".tmp ".$filename);
|
||||
$num_files_updated++;
|
||||
$num_files_infos_hashtable_updated++;
|
||||
}
|
||||
else
|
||||
{
|
||||
system("rm ".$filename.".tmp");
|
||||
}
|
||||
$num_files++;
|
||||
$num_files_infos_hashtable++;
|
||||
close(FILE);
|
||||
}
|
||||
else
|
||||
{
|
||||
weechat::print("", weechat::prefix("error")."docgen error: unable to write file '$filename'");
|
||||
}
|
||||
|
||||
# write infolists hooked
|
||||
$filename = $dir."plugin_api/infolists.txt";
|
||||
if (open(FILE, ">".$filename.".tmp"))
|
||||
{
|
||||
print FILE "[width=\"100%\",cols=\"^1,^2,5,5,5\",options=\"header\"]\n";
|
||||
print FILE "|========================================\n";
|
||||
print FILE "| ".weechat_gettext("Plugin")." | ".weechat_gettext("Name")
|
||||
." | ".weechat_gettext("Description")." | ".weechat_gettext("Pointer")
|
||||
." | ".weechat_gettext("Arguments")."\n\n";
|
||||
foreach my $plugin (sort keys %plugin_infolists)
|
||||
{
|
||||
foreach my $infolist (sort keys %{$plugin_infolists{$plugin}})
|
||||
{
|
||||
my $description = $plugin_infolists{$plugin}{$infolist}{"description"};
|
||||
$description = $d->get($description) if ($description ne "");
|
||||
my $pointer_description = $plugin_infolists{$plugin}{$infolist}{"pointer_description"};
|
||||
$pointer_description = $d->get($pointer_description) if ($pointer_description ne "");
|
||||
$pointer_description = "-" if ($pointer_description eq "");
|
||||
my $args_description = $plugin_infolists{$plugin}{$infolist}{"args_description"};
|
||||
$args_description = $d->get($args_description) if ($args_description ne "");
|
||||
$args_description = "-" if ($args_description eq "");
|
||||
|
||||
print FILE "| ".escape_table($plugin)." | ".escape_table($infolist)
|
||||
." | ".escape_table($description)." | ".escape_table($pointer_description)
|
||||
." | ".escape_table($args_description)."\n\n";
|
||||
}
|
||||
}
|
||||
print FILE "|========================================\n";
|
||||
#weechat::print("", "docgen: file ok: '$filename'");
|
||||
my $rc = system("diff ".$filename." ".$filename.".tmp >/dev/null 2>&1");
|
||||
if ($rc != 0)
|
||||
{
|
||||
system("mv -f ".$filename.".tmp ".$filename);
|
||||
$num_files_updated++;
|
||||
$num_files_infolists_updated++;
|
||||
}
|
||||
else
|
||||
{
|
||||
system("rm ".$filename.".tmp");
|
||||
}
|
||||
$num_files++;
|
||||
$num_files_infolists++;
|
||||
close(FILE);
|
||||
}
|
||||
else
|
||||
{
|
||||
weechat::print("", weechat::prefix("error")."docgen error: unable to write file '$filename'");
|
||||
}
|
||||
|
||||
# write completions hooked
|
||||
$filename = $dir."plugin_api/completions.txt";
|
||||
if (open(FILE, ">".$filename.".tmp"))
|
||||
{
|
||||
print FILE "[width=\"65%\",cols=\"^1,^2,8\",options=\"header\"]\n";
|
||||
print FILE "|========================================\n";
|
||||
print FILE "| ".weechat_gettext("Plugin")." | ".weechat_gettext("Name")
|
||||
." | ".weechat_gettext("Description")."\n\n";
|
||||
foreach my $plugin (sort keys %plugin_completions)
|
||||
{
|
||||
foreach my $completion_item (sort keys %{$plugin_completions{$plugin}})
|
||||
{
|
||||
my $description = $plugin_completions{$plugin}{$completion_item}{"description"};
|
||||
$description = $d->get($description) if ($description ne "");
|
||||
|
||||
print FILE "| ".escape_table($plugin)." | ".escape_table($completion_item)
|
||||
." | ".escape_table($description)."\n\n";
|
||||
}
|
||||
}
|
||||
print FILE "|========================================\n";
|
||||
#weechat::print("", "docgen: file ok: '$filename'");
|
||||
my $rc = system("diff ".$filename." ".$filename.".tmp >/dev/null 2>&1");
|
||||
if ($rc != 0)
|
||||
{
|
||||
system("mv -f ".$filename.".tmp ".$filename);
|
||||
$num_files_updated++;
|
||||
$num_files_completions_updated++;
|
||||
}
|
||||
else
|
||||
{
|
||||
system("rm ".$filename.".tmp");
|
||||
}
|
||||
$num_files++;
|
||||
$num_files_completions++;
|
||||
close(FILE);
|
||||
}
|
||||
else
|
||||
{
|
||||
weechat::print("", weechat::prefix("error")."docgen error: unable to write file '$filename'");
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
weechat::print("", weechat::prefix("error")."docgen error: directory '$dir' does not exist");
|
||||
}
|
||||
my $total_files = $num_files_commands + $num_files_options
|
||||
+ $num_files_infos + $num_files_infos_hashtable
|
||||
+ $num_files_infolists + $num_files_completions;
|
||||
my $total_files_updated = $num_files_commands_updated
|
||||
+ $num_files_options_updated + $num_files_infos_updated
|
||||
+ $num_files_infos_hashtable_updated + $num_files_infolists_updated
|
||||
+ $num_files_completions_updated;
|
||||
weechat::print("", "docgen: ".$locale.": ".$total_files." files ("
|
||||
.$num_files_commands." cmd, "
|
||||
.$num_files_options." opt, "
|
||||
.$num_files_infos." infos, "
|
||||
.$num_files_infos." infos (hashtable), "
|
||||
.$num_files_infolists." infolists, "
|
||||
.$num_files_completions." complt) -- "
|
||||
.$total_files_updated." updated ("
|
||||
.$num_files_commands_updated." cmd, "
|
||||
.$num_files_options_updated." opt, "
|
||||
.$num_files_infos_updated." infos, "
|
||||
.$num_files_infos_hashtable_updated." infos (hashtable), "
|
||||
.$num_files_infolists_updated." infolists, "
|
||||
.$num_files_completions_updated." complt)");
|
||||
}
|
||||
weechat::print("", "docgen: total: ".$num_files." files (".$num_files_updated." updated)");
|
||||
|
||||
setlocale(LC_MESSAGES, $old_locale);
|
||||
|
||||
return weechat::WEECHAT_RC_OK;
|
||||
}
|
||||
|
||||
sub docgen_completion
|
||||
{
|
||||
my ($data, $completion_item, $buffer, $completion) = ($_[0], $_[1], $_[2], $_[3]);
|
||||
|
||||
foreach my $locale (@all_locale_list)
|
||||
{
|
||||
weechat::hook_completion_list_add($completion, $locale, 0, weechat::WEECHAT_LIST_POS_SORT);
|
||||
}
|
||||
return weechat::WEECHAT_RC_OK;
|
||||
}
|
||||
+529
@@ -0,0 +1,529 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Copyright (C) 2008-2011 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# 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,
|
||||
# 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/>.
|
||||
#
|
||||
|
||||
#
|
||||
# Documentation generator for WeeChat: build include files with commands,
|
||||
# options, infos, infolists, hdata and completions for WeeChat core and plugins.
|
||||
#
|
||||
# Instructions to build config files yourself in WeeChat directories (replace
|
||||
# all paths with your path to WeeChat):
|
||||
# 1. run WeeChat and load this script, with following command:
|
||||
# /python load ~/src/weechat/doc/docgen.py
|
||||
# 2. change path to build in your doc/ directory:
|
||||
# /set plugins.var.python.docgen.path "~/src/weechat/doc"
|
||||
# 3. run docgen command:
|
||||
# /docgen
|
||||
# (it is recommended to load only this script when building doc)
|
||||
# Files should be in ~/src/weechat/doc/xx/autogen/ (where xx is language)
|
||||
#
|
||||
|
||||
SCRIPT_NAME = 'docgen'
|
||||
SCRIPT_AUTHOR = 'Sébastien Helleu <flashcode@flashtux.org>'
|
||||
SCRIPT_VERSION = '0.1'
|
||||
SCRIPT_LICENSE = 'GPL3'
|
||||
SCRIPT_DESC = 'Documentation generator for WeeChat'
|
||||
|
||||
SCRIPT_COMMAND = 'docgen'
|
||||
|
||||
import_ok = True
|
||||
|
||||
try:
|
||||
import weechat
|
||||
except ImportError:
|
||||
print('This script must be run under WeeChat.')
|
||||
print('Get WeeChat now at: http://www.weechat.org/')
|
||||
import_ok = False
|
||||
|
||||
try:
|
||||
import os, gettext, re, hashlib
|
||||
from collections import defaultdict
|
||||
from operator import itemgetter
|
||||
except ImportError, message:
|
||||
print('Missing package(s) for %s: %s' % (SCRIPT_NAME, message))
|
||||
import_ok = False
|
||||
|
||||
# default path where doc files will be written (should be doc/ in sources
|
||||
# package tree)
|
||||
# path must have subdirectories with languages and autogen directory:
|
||||
# path
|
||||
# |-- en
|
||||
# | |-- autogen
|
||||
# |-- fr
|
||||
# | |-- autogen
|
||||
# ...
|
||||
DEFAULT_PATH = '~/src/weechat/doc'
|
||||
|
||||
# list of locales for which we want to build doc files to include
|
||||
locale_list = ('en_US', 'fr_FR', 'it_IT', 'de_DE')
|
||||
|
||||
# all commands/options/.. of following plugins will produce a file
|
||||
# non-listed plugins will be ignored
|
||||
# value: "c" = plugin may have many commands
|
||||
# "o" = write config options for plugin
|
||||
# if plugin is listed without "c", that means plugin has only one command
|
||||
# /name (where "name" is name of plugin)
|
||||
# Note: we consider core is a plugin called "weechat"
|
||||
plugin_list = { 'weechat' : 'co',
|
||||
'alias' : '',
|
||||
'aspell' : 'o',
|
||||
'charset' : 'co',
|
||||
'demo' : 'co',
|
||||
'fifo' : 'co',
|
||||
'irc' : 'co',
|
||||
'logger' : 'co',
|
||||
'relay' : 'co',
|
||||
'rmodifier': 'co',
|
||||
'perl' : '',
|
||||
'python' : '',
|
||||
'ruby' : '',
|
||||
'lua' : '',
|
||||
'tcl' : '',
|
||||
'xfer' : 'co' }
|
||||
|
||||
# options to ignore
|
||||
ignore_options = ( 'aspell\.dict\..*',
|
||||
'aspell\.option\..*',
|
||||
'charset\.decode\..*',
|
||||
'charset\.encode\..*',
|
||||
'irc\.msgbuffer\..*',
|
||||
'irc\.ctcp\..*',
|
||||
'irc\.ignore\..*',
|
||||
'irc\.server\..*',
|
||||
'jabber\.server\..*',
|
||||
'logger\.level\..*',
|
||||
'logger\.mask\..*',
|
||||
'relay\.port\..*',
|
||||
'rmodifier\.modifier\..*',
|
||||
'weechat\.palette\..*',
|
||||
'weechat\.proxy\..*',
|
||||
'weechat\.bar\..*',
|
||||
'weechat\.debug\..*',
|
||||
'weechat\.notify\..*' )
|
||||
|
||||
# completions to ignore
|
||||
ignore_completions_items = ( 'docgen.*',
|
||||
'jabber.*',
|
||||
'weeget.*' )
|
||||
|
||||
def get_commands():
|
||||
"""Get list of commands in a dict with 3 indexes: plugin, command, xxx."""
|
||||
global plugin_list
|
||||
commands = defaultdict(lambda: defaultdict(defaultdict))
|
||||
infolist = weechat.infolist_get('hook', '', 'command')
|
||||
while weechat.infolist_next(infolist):
|
||||
plugin = weechat.infolist_string(infolist, 'plugin_name') or 'weechat'
|
||||
if plugin in plugin_list:
|
||||
command = weechat.infolist_string(infolist, 'command')
|
||||
if command == plugin or 'c' in plugin_list[plugin]:
|
||||
for key in ('description', 'args', 'args_description', 'completion'):
|
||||
commands[plugin][command][key] = weechat.infolist_string(infolist, key)
|
||||
weechat.infolist_free(infolist)
|
||||
return commands
|
||||
|
||||
def get_options():
|
||||
"""Get list of config options in a dict with 4 indexes: config, section, option, xxx."""
|
||||
global plugin_list, ignore_options
|
||||
options = defaultdict(lambda: defaultdict(lambda: defaultdict(defaultdict)))
|
||||
infolist = weechat.infolist_get('option', '', '')
|
||||
while weechat.infolist_next(infolist):
|
||||
full_name = weechat.infolist_string(infolist, 'full_name')
|
||||
if not re.search('|'.join(ignore_options), full_name):
|
||||
config = weechat.infolist_string(infolist, 'config_name')
|
||||
if config in plugin_list and 'o' in plugin_list[config]:
|
||||
section = weechat.infolist_string(infolist, 'section_name')
|
||||
option = weechat.infolist_string(infolist, 'option_name')
|
||||
for key in ('type', 'string_values', 'default_value', 'description'):
|
||||
options[config][section][option][key] = weechat.infolist_string(infolist, key)
|
||||
for key in ('min', 'max', 'null_value_allowed'):
|
||||
options[config][section][option][key] = weechat.infolist_integer(infolist, key)
|
||||
weechat.infolist_free(infolist)
|
||||
return options
|
||||
|
||||
def get_infos():
|
||||
"""Get list of infos hooked by plugins in a dict with 3 indexes: plugin, name, xxx."""
|
||||
infos = defaultdict(lambda: defaultdict(defaultdict))
|
||||
infolist = weechat.infolist_get('hook', '', 'info')
|
||||
while weechat.infolist_next(infolist):
|
||||
info_name = weechat.infolist_string(infolist, 'info_name')
|
||||
plugin = weechat.infolist_string(infolist, 'plugin_name') or 'weechat'
|
||||
for key in ('description', 'args_description'):
|
||||
infos[plugin][info_name][key] = weechat.infolist_string(infolist, key)
|
||||
weechat.infolist_free(infolist)
|
||||
return infos
|
||||
|
||||
def get_infos_hashtable():
|
||||
"""Get list of infos (hashtable) hooked by plugins in a dict with 3 indexes: plugin, name, xxx."""
|
||||
infos_hashtable = defaultdict(lambda: defaultdict(defaultdict))
|
||||
infolist = weechat.infolist_get('hook', '', 'info_hashtable')
|
||||
while weechat.infolist_next(infolist):
|
||||
info_name = weechat.infolist_string(infolist, 'info_name')
|
||||
plugin = weechat.infolist_string(infolist, 'plugin_name') or 'weechat'
|
||||
for key in ('description', 'args_description', 'output_description'):
|
||||
infos_hashtable[plugin][info_name][key] = weechat.infolist_string(infolist, key)
|
||||
weechat.infolist_free(infolist)
|
||||
return infos_hashtable
|
||||
|
||||
def get_infolists():
|
||||
"""Get list of infolists hooked by plugins in a dict with 3 indexes: plugin, name, xxx."""
|
||||
infolists = defaultdict(lambda: defaultdict(defaultdict))
|
||||
infolist = weechat.infolist_get('hook', '', 'infolist')
|
||||
while weechat.infolist_next(infolist):
|
||||
infolist_name = weechat.infolist_string(infolist, 'infolist_name')
|
||||
plugin = weechat.infolist_string(infolist, 'plugin_name') or 'weechat'
|
||||
for key in ('description', 'pointer_description', 'args_description'):
|
||||
infolists[plugin][infolist_name][key] = weechat.infolist_string(infolist, key)
|
||||
weechat.infolist_free(infolist)
|
||||
return infolists
|
||||
|
||||
def get_hdata():
|
||||
"""Get list of hdata hooked by plugins in a dict with 3 indexes: plugin, name, xxx."""
|
||||
hdata = defaultdict(lambda: defaultdict(defaultdict))
|
||||
infolist = weechat.infolist_get('hook', '', 'hdata')
|
||||
while weechat.infolist_next(infolist):
|
||||
hdata_name = weechat.infolist_string(infolist, 'hdata_name')
|
||||
plugin = weechat.infolist_string(infolist, 'plugin_name') or 'weechat'
|
||||
hdata[plugin][hdata_name]['description'] = weechat.infolist_string(infolist, 'description')
|
||||
variables = ''
|
||||
lists = ''
|
||||
ptr_hdata = weechat.hdata_get(hdata_name)
|
||||
if ptr_hdata:
|
||||
hdata2 = []
|
||||
string = weechat.hdata_get_string(ptr_hdata, 'var_keys_values')
|
||||
if string:
|
||||
for item in string.split(','):
|
||||
(key, value) = item.split(':')
|
||||
var_type = int(value) >> 16
|
||||
var_offset = int(value) & 0xFFFF
|
||||
var_hdata = weechat.hdata_get_var_hdata(ptr_hdata, key)
|
||||
if var_hdata:
|
||||
var_hdata = ', hdata: \'%s\'' % var_hdata
|
||||
hdata2.append({'offset': var_offset,
|
||||
'text': '\'%s\' (%s%s)' % (key,
|
||||
weechat.hdata_get_var_type_string(ptr_hdata, key),
|
||||
var_hdata)})
|
||||
hdata2 = sorted(hdata2, key=itemgetter('offset'))
|
||||
for item in hdata2:
|
||||
if variables:
|
||||
variables += ' +\n'
|
||||
variables += ' %s' % item['text']
|
||||
hdata[plugin][hdata_name]['vars'] = '\n%s' % variables
|
||||
|
||||
string = weechat.hdata_get_string(ptr_hdata, 'list_keys')
|
||||
if string:
|
||||
for item in sorted(string.split(',')):
|
||||
if lists:
|
||||
lists += ' +\n'
|
||||
lists += ' \'%s\'' % item
|
||||
lists = '\n%s' % lists
|
||||
else:
|
||||
lists = '\n -'
|
||||
hdata[plugin][hdata_name]['lists'] = lists
|
||||
weechat.infolist_free(infolist)
|
||||
return hdata
|
||||
|
||||
def get_completions():
|
||||
"""Get list of completions hooked by plugins in a dict with 3 indexes: plugin, item, xxx."""
|
||||
global ignore_completions_items
|
||||
completions = defaultdict(lambda: defaultdict(defaultdict))
|
||||
infolist = weechat.infolist_get('hook', '', 'completion')
|
||||
while weechat.infolist_next(infolist):
|
||||
completion_item = weechat.infolist_string(infolist, 'completion_item')
|
||||
if not re.search('|'.join(ignore_completions_items), completion_item):
|
||||
plugin = weechat.infolist_string(infolist, 'plugin_name') or 'weechat'
|
||||
completions[plugin][completion_item]['description'] = weechat.infolist_string(infolist, 'description')
|
||||
weechat.infolist_free(infolist)
|
||||
return completions
|
||||
|
||||
def update_file(oldfile, newfile, num_files, num_files_updated, obj):
|
||||
"""Update a doc file."""
|
||||
shaold = hashlib.sha224(open(oldfile, 'r').read()).hexdigest()
|
||||
shanew = hashlib.sha224(open(newfile, 'r').read()).hexdigest()
|
||||
if shaold != shanew:
|
||||
os.unlink(oldfile)
|
||||
os.rename(newfile, oldfile)
|
||||
num_files_updated['total1'] += 1
|
||||
num_files_updated['total2'] += 1
|
||||
num_files_updated[obj] += 1
|
||||
else:
|
||||
os.unlink(newfile)
|
||||
num_files['total1'] += 1
|
||||
num_files['total2'] += 1
|
||||
num_files[obj] += 1
|
||||
|
||||
def docgen_cmd_cb(data, buffer, args):
|
||||
"""Callback for /docgen command."""
|
||||
global locale_list
|
||||
if args:
|
||||
locales = args.split(' ')
|
||||
else:
|
||||
locales = locale_list
|
||||
commands = get_commands()
|
||||
options = get_options()
|
||||
infos = get_infos()
|
||||
infos_hashtable = get_infos_hashtable()
|
||||
infolists = get_infolists()
|
||||
hdata = get_hdata()
|
||||
completions = get_completions()
|
||||
|
||||
# get path and replace ~ by home if needed
|
||||
path = weechat.config_get_plugin('path')
|
||||
if path.startswith('~'):
|
||||
path = '%s%s' % (os.environ['HOME'], path[1:])
|
||||
|
||||
# write to doc files, by locale
|
||||
num_files = defaultdict(int)
|
||||
num_files_updated = defaultdict(int)
|
||||
|
||||
translate = lambda s: (s and _(s)) or s
|
||||
escape = lambda s: s.replace('|', '\\|')
|
||||
|
||||
for locale in locales:
|
||||
for key in num_files:
|
||||
if key != 'total2':
|
||||
num_files[key] = 0
|
||||
num_files_updated[key] = 0
|
||||
t = gettext.translation('weechat', weechat.info_get('weechat_localedir', ''),
|
||||
languages=['%s.UTF-8' % locale], fallback=True)
|
||||
t.install()
|
||||
directory = '%s/%s/autogen' % (path, locale[0:2])
|
||||
if not os.path.isdir(directory):
|
||||
weechat.prnt('', '%sdocgen error: directory "%s" does not exist' % (weechat.prefix('error'),
|
||||
directory))
|
||||
continue
|
||||
# write commands
|
||||
for plugin in commands:
|
||||
filename = '%s/user/%s_commands.txt' % (directory, plugin)
|
||||
tmpfilename = '%s.tmp' % filename
|
||||
f = open(tmpfilename, 'w')
|
||||
for command in sorted(commands[plugin]):
|
||||
args = translate(commands[plugin][command]['args'])
|
||||
args_formats = args.split(' || ')
|
||||
description = translate(commands[plugin][command]['description'])
|
||||
args_description = translate(commands[plugin][command]['args_description'])
|
||||
f.write('[[command_%s_%s]]\n' % (plugin, command))
|
||||
f.write('[command]*`%s`* %s::\n' % (command, description))
|
||||
f.write('........................................\n')
|
||||
prefix = '/%s ' % command
|
||||
if args_formats != ['']:
|
||||
for fmt in args_formats:
|
||||
f.write('%s%s\n' % (prefix, fmt))
|
||||
prefix = ' ' * len(prefix)
|
||||
if args_description:
|
||||
f.write('\n')
|
||||
for line in args_description.split('\n'):
|
||||
f.write('%s\n' % line)
|
||||
f.write('........................................\n\n')
|
||||
f.close()
|
||||
update_file(filename, tmpfilename, num_files, num_files_updated, 'commands')
|
||||
|
||||
# write config options
|
||||
for config in options:
|
||||
filename = '%s/user/%s_options.txt' % (directory, config)
|
||||
tmpfilename = '%s.tmp' % filename
|
||||
f = open(tmpfilename, 'w')
|
||||
for section in sorted(options[config]):
|
||||
for option in sorted(options[config][section]):
|
||||
opt_type = options[config][section][option]['type']
|
||||
string_values = options[config][section][option]['string_values']
|
||||
default_value = options[config][section][option]['default_value']
|
||||
opt_min = options[config][section][option]['min']
|
||||
opt_max = options[config][section][option]['max']
|
||||
null_value_allowed = options[config][section][option]['null_value_allowed']
|
||||
description = translate(options[config][section][option]['description'])
|
||||
type_nls = translate(opt_type)
|
||||
values = ''
|
||||
if opt_type == 'boolean':
|
||||
values = 'on, off'
|
||||
elif opt_type == 'integer':
|
||||
if string_values:
|
||||
values = string_values.replace('|', ', ')
|
||||
else:
|
||||
values = '%d .. %d' % (opt_min, opt_max)
|
||||
elif opt_type == 'string':
|
||||
if opt_max <= 0:
|
||||
values = _('any string')
|
||||
elif opt_max == 1:
|
||||
values = _('any char')
|
||||
elif opt_max > 1:
|
||||
values = '%s (%s: %d)' % (_('any string'),
|
||||
_('max chars'),
|
||||
opt_max)
|
||||
else:
|
||||
values = _('any string')
|
||||
default_value = '"%s"' % default_value.replace('"', '\\"')
|
||||
elif opt_type == 'color':
|
||||
values = _('a WeeChat color name (default, black, '
|
||||
'(dark)gray, white, (light)red, (light)green, '
|
||||
'brown, yellow, (light)blue, (light)magenta, '
|
||||
'(light)cyan), a terminal color number or '
|
||||
'an alias; attributes are allowed before '
|
||||
'color (for text color only, not '
|
||||
'background): \"*\" for bold, \"!\" for '
|
||||
'reverse, \"_\" for underline')
|
||||
f.write('* *%s.%s.%s*\n' % (config, section, option))
|
||||
f.write('** %s: `%s`\n' % (_('description'), description))
|
||||
f.write('** %s: %s\n' % (_('type'), type_nls))
|
||||
f.write('** %s: %s (%s: `%s`)\n' % (_('values'), values,
|
||||
_('default value'), default_value))
|
||||
if null_value_allowed:
|
||||
f.write('** %s\n' % _('undefined value allowed (null)'))
|
||||
f.write('\n')
|
||||
f.close()
|
||||
update_file(filename, tmpfilename, num_files, num_files_updated, 'options')
|
||||
|
||||
# write infos hooked
|
||||
filename = '%s/plugin_api/infos.txt' % directory
|
||||
tmpfilename = '%s.tmp' % filename
|
||||
f = open(tmpfilename, 'w')
|
||||
f.write('[width="100%",cols="^1,^2,6,6",options="header"]\n')
|
||||
f.write('|========================================\n')
|
||||
f.write('| %s | %s | %s | %s\n\n' % (_('Plugin'), _('Name'), _('Description'), _('Arguments')))
|
||||
for plugin in sorted(infos):
|
||||
for info in sorted(infos[plugin]):
|
||||
description = translate(infos[plugin][info]['description'])
|
||||
args_description = translate(infos[plugin][info]['args_description']) or '-'
|
||||
f.write('| %s | %s | %s | %s\n\n' % (escape(plugin),
|
||||
escape(info),
|
||||
escape(description),
|
||||
escape(args_description)))
|
||||
f.write('|========================================\n')
|
||||
f.close()
|
||||
update_file(filename, tmpfilename, num_files, num_files_updated, 'infos')
|
||||
|
||||
# write infos (hashtable) hooked
|
||||
filename = '%s/plugin_api/infos_hashtable.txt' % directory
|
||||
tmpfilename = '%s.tmp' % filename
|
||||
f = open(tmpfilename, 'w')
|
||||
f.write('[width="100%",cols="^1,^2,6,6,6",options="header"]\n')
|
||||
f.write('|========================================\n')
|
||||
f.write('| %s | %s | %s | %s | %s\n\n' % (_('Plugin'), _('Name'), _('Description'),
|
||||
_('Hashtable (input)'), _('Hashtable (output)')))
|
||||
for plugin in sorted(infos_hashtable):
|
||||
for info in sorted(infos_hashtable[plugin]):
|
||||
description = translate(infos_hashtable[plugin][info]['description'])
|
||||
args_description = translate(infos_hashtable[plugin][info]['args_description'])
|
||||
output_description = translate(infos_hashtable[plugin][info]['output_description']) or '-'
|
||||
f.write('| %s | %s | %s | %s | %s\n\n' % (escape(plugin),
|
||||
escape(info),
|
||||
escape(description),
|
||||
escape(args_description),
|
||||
escape(output_description)))
|
||||
f.write('|========================================\n')
|
||||
f.close()
|
||||
update_file(filename, tmpfilename, num_files, num_files_updated, 'infos_hashtable')
|
||||
|
||||
# write infolists hooked
|
||||
filename = '%s/plugin_api/infolists.txt' % directory
|
||||
tmpfilename = '%s.tmp' % filename
|
||||
f = open(tmpfilename, 'w')
|
||||
f.write('[width="100%",cols="^1,^2,5,5,5",options="header"]\n')
|
||||
f.write('|========================================\n')
|
||||
f.write('| %s | %s | %s | %s | %s\n\n' % (_('Plugin'), _('Name'), _('Description'),
|
||||
_('Pointer'), _('Arguments')))
|
||||
for plugin in sorted(infolists):
|
||||
for infolist in sorted(infolists[plugin]):
|
||||
description = translate(infolists[plugin][infolist]['description'])
|
||||
pointer_description = translate(infolists[plugin][infolist]['pointer_description']) or '-'
|
||||
args_description = translate(infolists[plugin][infolist]['args_description']) or '-'
|
||||
f.write('| %s | %s | %s | %s | %s\n\n' % (escape(plugin),
|
||||
escape(infolist),
|
||||
escape(description),
|
||||
escape(pointer_description),
|
||||
escape(args_description)))
|
||||
f.write('|========================================\n')
|
||||
f.close()
|
||||
update_file(filename, tmpfilename, num_files, num_files_updated, 'infolists')
|
||||
|
||||
# write hdata hooked
|
||||
filename = '%s/plugin_api/hdata.txt' % directory
|
||||
tmpfilename = '%s.tmp' % filename
|
||||
f = open(tmpfilename, 'w')
|
||||
f.write('[width="100%",cols="^1,^2,5,5,5",options="header"]\n')
|
||||
f.write('|========================================\n')
|
||||
f.write('| %s | %s | %s | %s | %s\n\n' % (_('Plugin'), _('Name'), _('Description'),
|
||||
_('Variables'), _('Lists')))
|
||||
for plugin in sorted(hdata):
|
||||
for hdata_name in sorted(hdata[plugin]):
|
||||
description = translate(hdata[plugin][hdata_name]['description'])
|
||||
variables = hdata[plugin][hdata_name]['vars']
|
||||
lists = hdata[plugin][hdata_name]['lists']
|
||||
f.write('| %s | %s | %s |%s |%s\n\n' % (escape(plugin),
|
||||
escape(hdata_name),
|
||||
escape(description),
|
||||
escape(variables),
|
||||
escape(lists)))
|
||||
f.write('|========================================\n')
|
||||
f.close()
|
||||
update_file(filename, tmpfilename, num_files, num_files_updated, 'hdata')
|
||||
|
||||
# write completions hooked
|
||||
filename = '%s/plugin_api/completions.txt' % directory
|
||||
tmpfilename = '%s.tmp' % filename
|
||||
f = open(tmpfilename, 'w')
|
||||
f.write('[width="65%",cols="^1,^2,8",options="header"]\n')
|
||||
f.write('|========================================\n')
|
||||
f.write('| %s | %s | %s\n\n' % (_('Plugin'), _('Name'), _('Description')))
|
||||
for plugin in sorted(completions):
|
||||
for completion_item in sorted(completions[plugin]):
|
||||
description = translate(completions[plugin][completion_item]['description'])
|
||||
f.write('| %s | %s | %s\n\n' % (escape(plugin),
|
||||
escape(completion_item),
|
||||
escape(description)))
|
||||
f.write('|========================================\n')
|
||||
f.close()
|
||||
update_file(filename, tmpfilename, num_files, num_files_updated, 'completions')
|
||||
|
||||
# write counters
|
||||
weechat.prnt('',
|
||||
'docgen: %s: %3d files (%2d cmd, %2d opt, %2d infos, '
|
||||
'%2d infos_hash, %2d infolists, %2d hdata, %2d complt)'
|
||||
% (locale, num_files['total1'],
|
||||
num_files['commands'], num_files['options'],
|
||||
num_files['infos'], num_files['infos_hashtable'],
|
||||
num_files['infolists'], num_files['hdata'],
|
||||
num_files['completions']))
|
||||
weechat.prnt('',
|
||||
' %3d updated (%2d cmd, %2d opt, %2d infos, '
|
||||
'%2d infos_hash, %2d infolists, %2d hdata, %2d complt)'
|
||||
% (num_files_updated['total1'], num_files_updated['commands'],
|
||||
num_files_updated['options'], num_files_updated['infos'],
|
||||
num_files_updated['infos_hashtable'], num_files_updated['infolists'],
|
||||
num_files_updated['hdata'], num_files_updated['completions']))
|
||||
weechat.prnt('',
|
||||
'docgen: total: %d files, %d updated' % (num_files['total2'], num_files_updated['total2']))
|
||||
return weechat.WEECHAT_RC_OK
|
||||
|
||||
def docgen_completion_cb(data, completion_item, buffer, completion):
|
||||
"""Callback for completion."""
|
||||
global locale_list
|
||||
for locale in locale_list:
|
||||
weechat.hook_completion_list_add(completion, locale, 0, weechat.WEECHAT_LIST_POS_SORT)
|
||||
return weechat.WEECHAT_RC_OK
|
||||
|
||||
if __name__ == '__main__' and import_ok:
|
||||
if weechat.register(SCRIPT_NAME, SCRIPT_AUTHOR, SCRIPT_VERSION, SCRIPT_LICENSE,
|
||||
SCRIPT_DESC, '', ''):
|
||||
weechat.hook_command(SCRIPT_COMMAND,
|
||||
'Documentation generator.',
|
||||
'[locales]',
|
||||
'locales: list of locales to build (by default build all locales)',
|
||||
'%(docgen_locales)|%*',
|
||||
'docgen_cmd_cb', '')
|
||||
weechat.hook_completion('docgen_locales', 'locales for docgen', 'docgen_completion_cb', '')
|
||||
if not weechat.config_is_set_plugin('path'):
|
||||
weechat.config_set_plugin('path', DEFAULT_PATH)
|
||||
+12
-6
@@ -39,27 +39,27 @@ all-local: weechat_user.en.html \
|
||||
|
||||
# user's guide
|
||||
weechat_user.en.html: weechat_user.en.txt $(wildcard autogen/user/*.txt)
|
||||
$(ASCIIDOC) -a toc -a toclevels=3 -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_user.en.html weechat_user.en.txt
|
||||
$(ASCIIDOC) -a toc -a toclevels=3 -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_user.en.html $(abs_top_srcdir)/doc/en/weechat_user.en.txt
|
||||
|
||||
# plugin API reference
|
||||
weechat_plugin_api.en.html: weechat_plugin_api.en.txt $(wildcard autogen/plugin_api/*.txt)
|
||||
$(ASCIIDOC) -a toc -a toclevels=4 -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_plugin_api.en.html weechat_plugin_api.en.txt
|
||||
$(ASCIIDOC) -a toc -a toclevels=4 -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_plugin_api.en.html $(abs_top_srcdir)/doc/en/weechat_plugin_api.en.txt
|
||||
|
||||
# scripting guide
|
||||
weechat_scripting.en.html: weechat_scripting.en.txt
|
||||
$(ASCIIDOC) -a toc -a toclevels=3 -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_scripting.en.html weechat_scripting.en.txt
|
||||
$(ASCIIDOC) -a toc -a toclevels=3 -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_scripting.en.html $(abs_top_srcdir)/doc/en/weechat_scripting.en.txt
|
||||
|
||||
# FAQ
|
||||
weechat_faq.en.html: weechat_faq.en.txt
|
||||
$(ASCIIDOC) -a toc -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_faq.en.html weechat_faq.en.txt
|
||||
$(ASCIIDOC) -a toc -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_faq.en.html $(abs_top_srcdir)/doc/en/weechat_faq.en.txt
|
||||
|
||||
# quickstart
|
||||
weechat_quickstart.en.html: weechat_quickstart.en.txt
|
||||
$(ASCIIDOC) -a toc -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_quickstart.en.html weechat_quickstart.en.txt
|
||||
$(ASCIIDOC) -a toc -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_quickstart.en.html $(abs_top_srcdir)/doc/en/weechat_quickstart.en.txt
|
||||
|
||||
# tester's guide
|
||||
weechat_tester.en.html: weechat_tester.en.txt
|
||||
$(ASCIIDOC) -a toc -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_tester.en.html weechat_tester.en.txt
|
||||
$(ASCIIDOC) -a toc -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_tester.en.html $(abs_top_srcdir)/doc/en/weechat_tester.en.txt
|
||||
|
||||
# install docs
|
||||
|
||||
@@ -67,6 +67,12 @@ install-data-hook:
|
||||
$(mkinstalldirs) $(DESTDIR)$(docdir)/
|
||||
$(INSTALL_DATA) *.html $(DESTDIR)$(docdir)/
|
||||
|
||||
# uninstall docs
|
||||
|
||||
uninstall-hook:
|
||||
$(RM) $(DESTDIR)$(docdir)/*.en.html
|
||||
-rmdir $(DESTDIR)$(docdir)
|
||||
|
||||
# clean
|
||||
|
||||
clean-local:
|
||||
|
||||
@@ -78,6 +78,8 @@
|
||||
|
||||
| weechat | config_options | configuration options
|
||||
|
||||
| weechat | cursor_areas | areas ("chat" or bar name) for free cursor movement
|
||||
|
||||
| weechat | filename | filename
|
||||
|
||||
| weechat | filters_names | names of filters
|
||||
@@ -90,6 +92,8 @@
|
||||
|
||||
| weechat | keys_codes_for_reset | key codes that can be reset (keys added, redefined or removed)
|
||||
|
||||
| weechat | keys_contexts | key contexts
|
||||
|
||||
| weechat | nicks | nicks in nicklist of current buffer
|
||||
|
||||
| weechat | palette_colors | palette colors
|
||||
@@ -104,6 +108,8 @@
|
||||
|
||||
| weechat | weechat_commands | weechat commands
|
||||
|
||||
| weechat | windows_numbers | numbers of windows
|
||||
|
||||
| xfer | nick | nicks of DCC chat
|
||||
|
||||
|========================================
|
||||
|
||||
@@ -0,0 +1,556 @@
|
||||
[width="100%",cols="^1,^2,5,5,5",options="header"]
|
||||
|========================================
|
||||
| Plugin | Name | Description | Variables | Lists
|
||||
|
||||
| irc | irc_channel | irc channel |
|
||||
'type' (integer) +
|
||||
'name' (string) +
|
||||
'topic' (string) +
|
||||
'modes' (string) +
|
||||
'limit' (integer) +
|
||||
'key' (string) +
|
||||
'checking_away' (integer) +
|
||||
'away_message' (string) +
|
||||
'has_quit_server' (integer) +
|
||||
'cycle' (integer) +
|
||||
'part' (integer) +
|
||||
'display_creation_date' (integer) +
|
||||
'nick_completion_reset' (integer) +
|
||||
'pv_remote_nick_color' (string) +
|
||||
'hook_autorejoin' (pointer) +
|
||||
'nicks_count' (integer) +
|
||||
'nicks' (pointer, hdata: 'irc_nick') +
|
||||
'last_nick' (pointer, hdata: 'irc_nick') +
|
||||
'nicks_speaking' (pointer) +
|
||||
'nicks_speaking_time' (pointer, hdata: 'irc_channel_speaking') +
|
||||
'last_nick_speaking_time' (pointer, hdata: 'irc_channel_speaking') +
|
||||
'buffer' (pointer, hdata: 'buffer') +
|
||||
'buffer_as_string' (string) +
|
||||
'prev_channel' (pointer, hdata: 'irc_channel') +
|
||||
'next_channel' (pointer, hdata: 'irc_channel') |
|
||||
-
|
||||
|
||||
| irc | irc_channel_speaking | irc channel_speaking |
|
||||
'nick' (string) +
|
||||
'time_last_message' (time) +
|
||||
'prev_nick' (pointer, hdata: 'irc_channel_speaking') +
|
||||
'next_nick' (pointer, hdata: 'irc_channel_speaking') |
|
||||
-
|
||||
|
||||
| irc | irc_ignore | irc ignore |
|
||||
'number' (integer) +
|
||||
'mask' (string) +
|
||||
'regex_mask' (pointer) +
|
||||
'server' (string) +
|
||||
'channel' (string) +
|
||||
'prev_ignore' (pointer, hdata: 'irc_ignore') +
|
||||
'next_ignore' (pointer, hdata: 'irc_ignore') |
|
||||
'irc_ignore_list' +
|
||||
'last_irc_ignore'
|
||||
|
||||
| irc | irc_nick | irc nick |
|
||||
'name' (string) +
|
||||
'host' (string) +
|
||||
'prefixes' (string) +
|
||||
'prefix' (string) +
|
||||
'away' (integer) +
|
||||
'color' (string) +
|
||||
'prev_nick' (pointer, hdata: 'irc_nick') +
|
||||
'next_nick' (pointer, hdata: 'irc_nick') |
|
||||
-
|
||||
|
||||
| irc | irc_notify | irc notify |
|
||||
'server' (pointer, hdata: 'irc_server') +
|
||||
'nick' (string) +
|
||||
'check_away' (integer) +
|
||||
'is_on_server' (integer) +
|
||||
'away_message' (string) +
|
||||
'ison_received' (integer) +
|
||||
'prev_notify' (pointer, hdata: 'irc_notify') +
|
||||
'next_notify' (pointer, hdata: 'irc_notify') |
|
||||
-
|
||||
|
||||
| irc | irc_redirect | irc redirect |
|
||||
'server' (pointer, hdata: 'irc_server') +
|
||||
'pattern' (string) +
|
||||
'signal' (string) +
|
||||
'count' (integer) +
|
||||
'current_count' (integer) +
|
||||
'string' (string) +
|
||||
'timeout' (integer) +
|
||||
'command' (string) +
|
||||
'start_time' (time) +
|
||||
'cmd_start' (pointer) +
|
||||
'cmd_stop' (pointer) +
|
||||
'cmd_extra' (pointer) +
|
||||
'cmd_start_received' (integer) +
|
||||
'cmd_stop_received' (integer) +
|
||||
'cmd_filter' (pointer) +
|
||||
'output' (string) +
|
||||
'output_size' (integer) +
|
||||
'prev_redirect' (pointer, hdata: 'irc_redirect') +
|
||||
'next_redirect' (pointer, hdata: 'irc_redirect') |
|
||||
-
|
||||
|
||||
| irc | irc_redirect_pattern | pattern for irc redirect |
|
||||
'name' (string) +
|
||||
'temp_pattern' (integer) +
|
||||
'timeout' (integer) +
|
||||
'cmd_start' (string) +
|
||||
'cmd_stop' (string) +
|
||||
'cmd_extra' (string) +
|
||||
'prev_redirect' (pointer, hdata: 'irc_redirect_pattern') +
|
||||
'next_redirect' (pointer, hdata: 'irc_redirect_pattern') |
|
||||
'irc_redirect_patterns' +
|
||||
'last_irc_redirect_pattern'
|
||||
|
||||
| irc | irc_server | irc server |
|
||||
'name' (string) +
|
||||
'options' (pointer) +
|
||||
'temp_server' (integer) +
|
||||
'reloading_from_config' (integer) +
|
||||
'reloaded_from_config' (integer) +
|
||||
'addresses_count' (integer) +
|
||||
'addresses_array' (pointer) +
|
||||
'ports_array' (pointer) +
|
||||
'index_current_address' (integer) +
|
||||
'current_address' (string) +
|
||||
'current_ip' (string) +
|
||||
'current_port' (integer) +
|
||||
'sock' (integer) +
|
||||
'hook_connect' (pointer, hdata: 'hook') +
|
||||
'hook_fd' (pointer, hdata: 'hook') +
|
||||
'hook_timer_connection' (pointer, hdata: 'hook') +
|
||||
'hook_timer_sasl' (pointer, hdata: 'hook') +
|
||||
'is_connected' (integer) +
|
||||
'ssl_connected' (integer) +
|
||||
'gnutls_sess' (other) +
|
||||
'tls_cert' (other) +
|
||||
'tls_cert_key' (other) +
|
||||
'unterminated_message' (string) +
|
||||
'nicks_count' (integer) +
|
||||
'nicks_array' (pointer) +
|
||||
'nick_first_tried' (integer) +
|
||||
'nick' (string) +
|
||||
'nick_modes' (string) +
|
||||
'isupport' (string) +
|
||||
'prefix_modes' (string) +
|
||||
'prefix_chars' (string) +
|
||||
'nick_max_length' (integer) +
|
||||
'reconnect_delay' (integer) +
|
||||
'reconnect_start' (time) +
|
||||
'command_time' (time) +
|
||||
'reconnect_join' (integer) +
|
||||
'disable_autojoin' (integer) +
|
||||
'is_away' (integer) +
|
||||
'away_message' (string) +
|
||||
'away_time' (time) +
|
||||
'lag' (integer) +
|
||||
'lag_check_time' (other) +
|
||||
'lag_next_check' (time) +
|
||||
'lag_last_refresh' (time) +
|
||||
'cmd_list_regexp' (pointer) +
|
||||
'last_user_message' (time) +
|
||||
'last_away_check' (time) +
|
||||
'outqueue' (pointer) +
|
||||
'last_outqueue' (pointer) +
|
||||
'redirects' (pointer, hdata: 'irc_redirect') +
|
||||
'last_redirect' (pointer, hdata: 'irc_redirect') +
|
||||
'notify_list' (pointer, hdata: 'irc_notify') +
|
||||
'last_notify' (pointer, hdata: 'irc_notify') +
|
||||
'manual_joins' (pointer) +
|
||||
'buffer' (pointer, hdata: 'buffer') +
|
||||
'buffer_as_string' (string) +
|
||||
'channels' (pointer, hdata: 'irc_channel') +
|
||||
'last_channel' (pointer, hdata: 'irc_channel') +
|
||||
'prev_server' (pointer, hdata: 'irc_server') +
|
||||
'next_server' (pointer, hdata: 'irc_server') |
|
||||
'irc_servers' +
|
||||
'last_irc_server'
|
||||
|
||||
| weechat | bar | bar |
|
||||
'name' (string) +
|
||||
'options' (pointer) +
|
||||
'conditions_count' (integer) +
|
||||
'conditions_array' (pointer) +
|
||||
'items_count' (integer) +
|
||||
'items_subcount' (pointer) +
|
||||
'items_array' (pointer) +
|
||||
'items_prefix' (pointer) +
|
||||
'items_name' (pointer) +
|
||||
'items_suffix' (pointer) +
|
||||
'bar_window' (pointer, hdata: 'bar_window') +
|
||||
'bar_refresh_needed' (integer) +
|
||||
'prev_bar' (pointer, hdata: 'bar') +
|
||||
'next_bar' (pointer, hdata: 'bar') |
|
||||
'gui_bars' +
|
||||
'last_gui_bar'
|
||||
|
||||
| weechat | bar_item | bar item |
|
||||
'plugin' (pointer, hdata: 'plugin') +
|
||||
'name' (string) +
|
||||
'build_callback' (pointer) +
|
||||
'build_callback_data' (pointer) +
|
||||
'prev_item' (pointer, hdata: 'bar_item') +
|
||||
'next_item' (pointer, hdata: 'bar_item') |
|
||||
'gui_bar_items' +
|
||||
'last_gui_bar_item'
|
||||
|
||||
| weechat | bar_window | bar window |
|
||||
'bar' (pointer, hdata: 'bar') +
|
||||
'x' (integer) +
|
||||
'y' (integer) +
|
||||
'width' (integer) +
|
||||
'height' (integer) +
|
||||
'scroll_x' (integer) +
|
||||
'scroll_y' (integer) +
|
||||
'cursor_x' (integer) +
|
||||
'cursor_y' (integer) +
|
||||
'current_size' (integer) +
|
||||
'items_count' (integer) +
|
||||
'items_subcount' (pointer) +
|
||||
'items_content' (pointer) +
|
||||
'items_num_lines' (pointer) +
|
||||
'items_refresh_needed' (pointer) +
|
||||
'screen_col_size' (integer) +
|
||||
'coords_count' (integer) +
|
||||
'coords' (pointer) +
|
||||
'gui_objects' (pointer) +
|
||||
'prev_bar_window' (pointer, hdata: 'bar_window') +
|
||||
'next_bar_window' (pointer, hdata: 'bar_window') |
|
||||
-
|
||||
|
||||
| weechat | buffer | buffer |
|
||||
'plugin' (pointer, hdata: 'plugin') +
|
||||
'plugin_name_for_upgrade' (string) +
|
||||
'number' (integer) +
|
||||
'layout_number' (integer) +
|
||||
'layout_number_merge_order' (integer) +
|
||||
'name' (string) +
|
||||
'short_name' (string) +
|
||||
'type' (integer) +
|
||||
'notify' (integer) +
|
||||
'num_displayed' (integer) +
|
||||
'active' (integer) +
|
||||
'print_hooks_enabled' (integer) +
|
||||
'close_callback' (pointer) +
|
||||
'close_callback_data' (pointer) +
|
||||
'title' (string) +
|
||||
'own_lines' (pointer, hdata: 'lines') +
|
||||
'mixed_lines' (pointer, hdata: 'lines') +
|
||||
'lines' (pointer, hdata: 'lines') +
|
||||
'time_for_each_line' (integer) +
|
||||
'chat_refresh_needed' (integer) +
|
||||
'nicklist' (integer) +
|
||||
'nicklist_case_sensitive' (integer) +
|
||||
'nicklist_root' (pointer, hdata: 'nick_group') +
|
||||
'nicklist_max_length' (integer) +
|
||||
'nicklist_display_groups' (integer) +
|
||||
'nicklist_visible_count' (integer) +
|
||||
'input' (integer) +
|
||||
'input_callback' (pointer) +
|
||||
'input_callback_data' (pointer) +
|
||||
'input_get_unknown_commands' (integer) +
|
||||
'input_buffer' (string) +
|
||||
'input_buffer_alloc' (integer) +
|
||||
'input_buffer_size' (integer) +
|
||||
'input_buffer_length' (integer) +
|
||||
'input_buffer_pos' (integer) +
|
||||
'input_buffer_1st_display' (integer) +
|
||||
'input_undo_snap' (pointer, hdata: 'input_undo') +
|
||||
'input_undo' (pointer, hdata: 'input_undo') +
|
||||
'last_input_undo' (pointer, hdata: 'input_undo') +
|
||||
'ptr_input_undo' (pointer, hdata: 'input_undo') +
|
||||
'input_undo_count' (integer) +
|
||||
'completion' (pointer, hdata: 'completion') +
|
||||
'history' (pointer, hdata: 'history') +
|
||||
'last_history' (pointer, hdata: 'history') +
|
||||
'ptr_history' (pointer, hdata: 'history') +
|
||||
'num_history' (integer) +
|
||||
'text_search' (integer) +
|
||||
'text_search_exact' (integer) +
|
||||
'text_search_found' (integer) +
|
||||
'text_search_input' (string) +
|
||||
'highlight_words' (string) +
|
||||
'highlight_regex' (string) +
|
||||
'highlight_regex_compiled' (pointer) +
|
||||
'highlight_tags' (string) +
|
||||
'highlight_tags_count' (integer) +
|
||||
'highlight_tags_array' (pointer) +
|
||||
'hotlist_max_level_nicks' (pointer) +
|
||||
'keys' (pointer, hdata: 'key') +
|
||||
'last_key' (pointer, hdata: 'key') +
|
||||
'keys_count' (integer) +
|
||||
'local_variables' (pointer) +
|
||||
'prev_buffer' (pointer, hdata: 'buffer') +
|
||||
'next_buffer' (pointer, hdata: 'buffer') |
|
||||
'gui_buffers' +
|
||||
'last_gui_buffer'
|
||||
|
||||
| weechat | completion | structure with completion |
|
||||
'buffer' (pointer, hdata: 'buffer') +
|
||||
'context' (integer) +
|
||||
'base_command' (string) +
|
||||
'base_command_arg_index' (integer) +
|
||||
'base_word' (string) +
|
||||
'base_word_pos' (integer) +
|
||||
'position' (integer) +
|
||||
'args' (string) +
|
||||
'direction' (integer) +
|
||||
'add_space' (integer) +
|
||||
'force_partial_completion' (integer) +
|
||||
'completion_list' (pointer) +
|
||||
'word_found' (string) +
|
||||
'word_found_is_nick' (integer) +
|
||||
'position_replace' (integer) +
|
||||
'diff_size' (integer) +
|
||||
'diff_length' (integer) +
|
||||
'partial_completion_list' (pointer, hdata: 'completion_partial') +
|
||||
'last_partial_completion' (pointer, hdata: 'completion_partial') |
|
||||
-
|
||||
|
||||
| weechat | completion_partial | structure with partial completion |
|
||||
'word' (string) +
|
||||
'count' (integer) +
|
||||
'prev_item' (pointer, hdata: 'completion_partial') +
|
||||
'next_item' (pointer, hdata: 'completion_partial') |
|
||||
-
|
||||
|
||||
| weechat | config_file | config file |
|
||||
'plugin' (pointer, hdata: 'plugin') +
|
||||
'name' (string) +
|
||||
'filename' (string) +
|
||||
'file' (pointer) +
|
||||
'callback_reload' (pointer) +
|
||||
'callback_reload_data' (pointer) +
|
||||
'sections' (pointer, hdata: 'config_section') +
|
||||
'last_section' (pointer, hdata: 'config_section') +
|
||||
'prev_config' (pointer, hdata: 'config_file') +
|
||||
'next_config' (pointer, hdata: 'config_file') |
|
||||
'config_files' +
|
||||
'last_config_file'
|
||||
|
||||
| weechat | config_option | config option |
|
||||
'config_file' (pointer, hdata: 'config_file') +
|
||||
'section' (pointer, hdata: 'config_section') +
|
||||
'name' (string) +
|
||||
'type' (integer) +
|
||||
'description' (string) +
|
||||
'string_values' (pointer) +
|
||||
'min' (integer) +
|
||||
'max' (integer) +
|
||||
'default_value' (pointer) +
|
||||
'value' (pointer) +
|
||||
'null_value_allowed' (integer) +
|
||||
'callback_check_value' (pointer) +
|
||||
'callback_check_value_data' (pointer) +
|
||||
'callback_change' (pointer) +
|
||||
'callback_change_data' (pointer) +
|
||||
'callback_delete' (pointer) +
|
||||
'callback_delete_data' (pointer) +
|
||||
'loaded' (integer) +
|
||||
'prev_option' (pointer, hdata: 'config_option') +
|
||||
'next_option' (pointer, hdata: 'config_option') |
|
||||
-
|
||||
|
||||
| weechat | config_section | config section |
|
||||
'config_file' (pointer, hdata: 'config_file') +
|
||||
'name' (string) +
|
||||
'user_can_add_options' (integer) +
|
||||
'user_can_delete_options' (integer) +
|
||||
'callback_read' (pointer) +
|
||||
'callback_read_data' (pointer) +
|
||||
'callback_write' (pointer) +
|
||||
'callback_write_data' (pointer) +
|
||||
'callback_write_default' (pointer) +
|
||||
'callback_write_default_data' (pointer) +
|
||||
'callback_create_option' (pointer) +
|
||||
'callback_create_option_data' (pointer) +
|
||||
'callback_delete_option' (pointer) +
|
||||
'callback_delete_option_data' (pointer) +
|
||||
'options' (pointer, hdata: 'config_option') +
|
||||
'last_option' (pointer, hdata: 'config_option') +
|
||||
'prev_section' (pointer, hdata: 'config_section') +
|
||||
'next_section' (pointer, hdata: 'config_section') |
|
||||
-
|
||||
|
||||
| weechat | filter | filter |
|
||||
'enabled' (integer) +
|
||||
'name' (string) +
|
||||
'buffer_name' (string) +
|
||||
'num_buffers' (integer) +
|
||||
'buffers' (pointer) +
|
||||
'tags' (string) +
|
||||
'tags_count' (integer) +
|
||||
'tags_array' (pointer) +
|
||||
'regex' (string) +
|
||||
'regex_prefix' (pointer) +
|
||||
'regex_message' (pointer) +
|
||||
'prev_filter' (pointer, hdata: 'filter') +
|
||||
'next_filter' (pointer, hdata: 'filter') |
|
||||
'gui_filters' +
|
||||
'last_gui_filter'
|
||||
|
||||
| weechat | history | history of commands in buffer |
|
||||
'text' (string) +
|
||||
'next_history' (pointer, hdata: 'history') +
|
||||
'prev_history' (pointer, hdata: 'history') |
|
||||
-
|
||||
|
||||
| weechat | input_undo | structure with undo for input line |
|
||||
'data' (string) +
|
||||
'pos' (integer) +
|
||||
'prev_undo' (pointer, hdata: 'input_undo') +
|
||||
'next_undo' (pointer, hdata: 'input_undo') |
|
||||
-
|
||||
|
||||
| weechat | key | a key (keyboard shortcut) |
|
||||
'key' (string) +
|
||||
'area_type' (pointer) +
|
||||
'area_name' (pointer) +
|
||||
'area_key' (string) +
|
||||
'command' (string) +
|
||||
'prev_key' (pointer, hdata: 'key') +
|
||||
'next_key' (pointer, hdata: 'key') |
|
||||
'gui_default_keys' +
|
||||
'gui_default_keys_cursor' +
|
||||
'gui_default_keys_mouse' +
|
||||
'gui_default_keys_search' +
|
||||
'gui_keys' +
|
||||
'gui_keys_cursor' +
|
||||
'gui_keys_mouse' +
|
||||
'gui_keys_search' +
|
||||
'last_gui_default_key' +
|
||||
'last_gui_default_key_cursor' +
|
||||
'last_gui_default_key_mouse' +
|
||||
'last_gui_default_key_search' +
|
||||
'last_gui_key' +
|
||||
'last_gui_key_cursor' +
|
||||
'last_gui_key_mouse' +
|
||||
'last_gui_key_search'
|
||||
|
||||
| weechat | line | structure with one line |
|
||||
'data' (pointer, hdata: 'line_data') +
|
||||
'prev_line' (pointer, hdata: 'line') +
|
||||
'next_line' (pointer, hdata: 'line') |
|
||||
-
|
||||
|
||||
| weechat | line_data | structure with one line data |
|
||||
'buffer' (pointer, hdata: 'buffer') +
|
||||
'y' (integer) +
|
||||
'date' (time) +
|
||||
'date_printed' (time) +
|
||||
'str_time' (string) +
|
||||
'tags_count' (integer) +
|
||||
'tags_array' (pointer) +
|
||||
'displayed' (integer) +
|
||||
'highlight' (integer) +
|
||||
'refresh_needed' (integer) +
|
||||
'prefix' (string) +
|
||||
'prefix_length' (integer) +
|
||||
'message' (string) |
|
||||
-
|
||||
|
||||
| weechat | lines | structure with lines |
|
||||
'first_line' (pointer, hdata: 'line') +
|
||||
'last_line' (pointer, hdata: 'line') +
|
||||
'last_read_line' (pointer, hdata: 'line') +
|
||||
'lines_count' (integer) +
|
||||
'first_line_not_read' (integer) +
|
||||
'lines_hidden' (integer) +
|
||||
'buffer_max_length' (integer) +
|
||||
'prefix_max_length' (integer) |
|
||||
-
|
||||
|
||||
| weechat | nick | nick in nicklist |
|
||||
'group' (pointer, hdata: 'nick_group') +
|
||||
'name' (string) +
|
||||
'color' (string) +
|
||||
'prefix' (string) +
|
||||
'prefix_color' (string) +
|
||||
'visible' (integer) +
|
||||
'prev_nick' (pointer, hdata: 'nick') +
|
||||
'next_nick' (pointer, hdata: 'nick') |
|
||||
-
|
||||
|
||||
| weechat | nick_group | group in nicklist |
|
||||
'name' (string) +
|
||||
'color' (string) +
|
||||
'visible' (integer) +
|
||||
'level' (integer) +
|
||||
'parent' (pointer, hdata: 'nick_group') +
|
||||
'childs' (pointer, hdata: 'nick_group') +
|
||||
'last_child' (pointer, hdata: 'nick_group') +
|
||||
'nicks' (pointer, hdata: 'nick') +
|
||||
'last_nick' (pointer, hdata: 'nick') +
|
||||
'prev_group' (pointer, hdata: 'nick_group') +
|
||||
'next_group' (pointer, hdata: 'nick_group') |
|
||||
-
|
||||
|
||||
| weechat | plugin | plugin |
|
||||
'filename' (string) +
|
||||
'handle' (pointer) +
|
||||
'name' (string) +
|
||||
'description' (string) +
|
||||
'author' (string) +
|
||||
'version' (string) +
|
||||
'license' (string) +
|
||||
'charset' (string) +
|
||||
'debug' (integer) +
|
||||
'prev_plugin' (pointer, hdata: 'plugin') +
|
||||
'next_plugin' (pointer, hdata: 'plugin') |
|
||||
'last_weechat_plugin' +
|
||||
'weechat_plugins'
|
||||
|
||||
| weechat | window | window |
|
||||
'number' (integer) +
|
||||
'win_x' (integer) +
|
||||
'win_y' (integer) +
|
||||
'win_width' (integer) +
|
||||
'win_height' (integer) +
|
||||
'win_width_pct' (integer) +
|
||||
'win_height_pct' (integer) +
|
||||
'win_chat_x' (integer) +
|
||||
'win_chat_y' (integer) +
|
||||
'win_chat_width' (integer) +
|
||||
'win_chat_height' (integer) +
|
||||
'win_chat_cursor_x' (integer) +
|
||||
'win_chat_cursor_y' (integer) +
|
||||
'bar_windows' (pointer, hdata: 'bar_window') +
|
||||
'last_bar_window' (pointer, hdata: 'bar_window') +
|
||||
'refresh_needed' (integer) +
|
||||
'gui_objects' (pointer) +
|
||||
'buffer' (pointer, hdata: 'buffer') +
|
||||
'layout_plugin_name' (string) +
|
||||
'layout_buffer_name' (string) +
|
||||
'scroll' (pointer, hdata: 'window_scroll') +
|
||||
'ptr_tree' (pointer, hdata: 'window_tree') +
|
||||
'prev_window' (pointer, hdata: 'window') +
|
||||
'next_window' (pointer, hdata: 'window') |
|
||||
'gui_current_window' +
|
||||
'gui_windows' +
|
||||
'last_gui_window'
|
||||
|
||||
| weechat | window_scroll | scroll info in window |
|
||||
'buffer' (pointer, hdata: 'buffer') +
|
||||
'first_line_displayed' (integer) +
|
||||
'start_line' (pointer, hdata: 'line') +
|
||||
'start_line_pos' (integer) +
|
||||
'scrolling' (integer) +
|
||||
'start_col' (integer) +
|
||||
'lines_after' (integer) +
|
||||
'reset_allowed' (integer) +
|
||||
'prev_scroll' (pointer, hdata: 'window_scroll') +
|
||||
'next_scroll' (pointer, hdata: 'window_scroll') |
|
||||
-
|
||||
|
||||
| weechat | window_tree | tree of windows |
|
||||
'parent_node' (pointer, hdata: 'window_tree') +
|
||||
'split_pct' (integer) +
|
||||
'split_horizontal' (integer) +
|
||||
'child1' (pointer, hdata: 'window_tree') +
|
||||
'child2' (pointer, hdata: 'window_tree') +
|
||||
'window' (pointer, hdata: 'window') |
|
||||
'gui_windows_tree'
|
||||
|
||||
|========================================
|
||||
@@ -48,7 +48,7 @@
|
||||
|
||||
| weechat | hotlist | list of buffers in hotlist | - | -
|
||||
|
||||
| weechat | key | list of key bindings | - | -
|
||||
| weechat | key | list of key bindings | - | context ("default", "search", "cursor" or "mouse") (optional)
|
||||
|
||||
| weechat | nicklist | nicks in nicklist for a buffer | buffer pointer | nick_xxx or group_xxx to get only nick/group xxx (optional)
|
||||
|
||||
@@ -56,7 +56,7 @@
|
||||
|
||||
| weechat | plugin | list of plugins | plugin pointer (optional) | plugin name (can start or end with "*" as wildcard) (optional)
|
||||
|
||||
| weechat | window | list of windows | window pointer (optional) | window name (can start or end with "*" as wildcard) (optional)
|
||||
| weechat | window | list of windows | window pointer (optional) | "current" for current window or a window number (optional)
|
||||
|
||||
| xfer | xfer | list of xfer | xfer pointer (optional) | -
|
||||
|
||||
|
||||
@@ -28,6 +28,8 @@
|
||||
|
||||
| weechat | charset_terminal | terminal charset | -
|
||||
|
||||
| weechat | cursor_mode | 1 if cursor mode is enabled | -
|
||||
|
||||
| weechat | date | WeeChat compilation date | -
|
||||
|
||||
| weechat | dir_separator | directory separator | -
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
|========================================
|
||||
| Plugin | Name | Description | Hashtable (input) | Hashtable (output)
|
||||
|
||||
| irc | irc_parse_message | parse an IRC message | "message": IRC message | "nick": nick, "host": host, "command": command, "channel": channel, "arguments": arguments (includes channel)
|
||||
| irc | irc_message_parse | parse an IRC message | "message": IRC message | "nick": nick, "host": host, "command": command, "channel": channel, "arguments": arguments (includes channel)
|
||||
|
||||
| irc | irc_message_split | split an IRC message (to fit in 512 bytes) | "message": IRC message, "server": server name (optional) | "msg1" ... "msgN": messages to send (without final "\r\n"), "args1" ... "argsN": arguments of messages, "count": number of messages
|
||||
|
||||
|========================================
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
[[command_alias_alias]]
|
||||
[command]*`alias`* create an alias for a command::
|
||||
........................................
|
||||
/alias [-completion <completion>] <alias> [<command> [<arguments>]]
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
[[command_aspell_aspell]]
|
||||
[command]*`aspell`* aspell plugin configuration::
|
||||
........................................
|
||||
/aspell dictlist
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
[[command_charset_charset]]
|
||||
[command]*`charset`* change charset for current buffer::
|
||||
........................................
|
||||
/charset decode|encode <charset>
|
||||
|
||||
@@ -1,8 +1,10 @@
|
||||
[[command_demo_demo_buffer]]
|
||||
[command]*`demo_buffer`* open a new buffer::
|
||||
........................................
|
||||
/demo_buffer <name>
|
||||
........................................
|
||||
|
||||
[[command_demo_demo_info]]
|
||||
[command]*`demo_info`* get and display an info::
|
||||
........................................
|
||||
/demo_info <info> [<arguments>]
|
||||
@@ -13,6 +15,7 @@ arguments: optional arguments for info
|
||||
Without argument, this command displays list of available infos
|
||||
........................................
|
||||
|
||||
[[command_demo_demo_infolist]]
|
||||
[command]*`demo_infolist`* get and display an infolist::
|
||||
........................................
|
||||
/demo_infolist <infolist> [<arguments>]
|
||||
@@ -23,6 +26,7 @@ arguments: optional arguments for infolist
|
||||
Without argument, this command displays list of available infolists
|
||||
........................................
|
||||
|
||||
[[command_demo_demo_printf]]
|
||||
[command]*`demo_printf`* print some messages on current buffer::
|
||||
........................................
|
||||
/demo_printf <text>
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
[[command_irc_admin]]
|
||||
[command]*`admin`* find information about the administrator of the server::
|
||||
........................................
|
||||
/admin [<target>]
|
||||
@@ -5,6 +6,7 @@
|
||||
target: server
|
||||
........................................
|
||||
|
||||
[[command_irc_allchan]]
|
||||
[command]*`allchan`* execute a command on all channels of all connected servers::
|
||||
........................................
|
||||
/allchan [-current] [-exclude=<channel>[,<channel>...]] <command> [<arguments>]
|
||||
@@ -23,6 +25,7 @@ Examples:
|
||||
/allchan -exclude=#weechat,#linux* msg * hello
|
||||
........................................
|
||||
|
||||
[[command_irc_allserv]]
|
||||
[command]*`allserv`* execute a command on all connected servers::
|
||||
........................................
|
||||
/allserv [-exclude=<server>[,<server>...]] <command> [<arguments>]
|
||||
@@ -38,14 +41,18 @@ Examples:
|
||||
/allserv away I'm away
|
||||
........................................
|
||||
|
||||
[[command_irc_ban]]
|
||||
[command]*`ban`* ban nicks or hosts::
|
||||
........................................
|
||||
/ban [<channel>] [<nick> [<nick>...]]
|
||||
|
||||
channel: channel for ban
|
||||
nick: user or host to ban
|
||||
|
||||
Without argument, this command display ban list for current channel.
|
||||
........................................
|
||||
|
||||
[[command_irc_connect]]
|
||||
[command]*`connect`* connect to IRC server(s)::
|
||||
........................................
|
||||
/connect [<server> [<server>...] | <hostname>[/<port>]] [-<option>[=<value>]] [-no<option>] [-nojoin] [-switch]
|
||||
@@ -70,6 +77,7 @@ Examples:
|
||||
/connect -switch
|
||||
........................................
|
||||
|
||||
[[command_irc_ctcp]]
|
||||
[command]*`ctcp`* send a CTCP message (Client-To-Client Protocol)::
|
||||
........................................
|
||||
/ctcp <target> <type> [<arguments>]
|
||||
@@ -79,6 +87,7 @@ Examples:
|
||||
arguments: arguments for CTCP
|
||||
........................................
|
||||
|
||||
[[command_irc_cycle]]
|
||||
[command]*`cycle`* leave and rejoin a channel::
|
||||
........................................
|
||||
/cycle [<channel>[,<channel>...]] [<message>]
|
||||
@@ -87,6 +96,7 @@ channel: channel name for cycle
|
||||
message: part message (displayed to other users)
|
||||
........................................
|
||||
|
||||
[[command_irc_dcc]]
|
||||
[command]*`dcc`* start a DCC (file transfer or direct chat)::
|
||||
........................................
|
||||
/dcc chat <nick>
|
||||
@@ -102,39 +112,49 @@ Examples:
|
||||
/dcc send toto /home/foo/bar.txt
|
||||
........................................
|
||||
|
||||
[[command_irc_dehalfop]]
|
||||
[command]*`dehalfop`* remove channel half-operator status from nick(s)::
|
||||
........................................
|
||||
/dehalfop <nick> [<nick>...]
|
||||
........................................
|
||||
|
||||
[[command_irc_deop]]
|
||||
[command]*`deop`* remove channel operator status from nick(s)::
|
||||
........................................
|
||||
/deop <nick> [<nick>...]
|
||||
........................................
|
||||
|
||||
[[command_irc_devoice]]
|
||||
[command]*`devoice`* remove voice from nick(s)::
|
||||
........................................
|
||||
/devoice <nick> [<nick>...]
|
||||
........................................
|
||||
|
||||
[[command_irc_die]]
|
||||
[command]*`die`* shutdown the server::
|
||||
........................................
|
||||
/die [<target>]
|
||||
|
||||
target: server name
|
||||
........................................
|
||||
|
||||
[command]*`disconnect`* disconnect from IRC server(s)::
|
||||
[[command_irc_disconnect]]
|
||||
[command]*`disconnect`* disconnect from one or all IRC servers::
|
||||
........................................
|
||||
/disconnect <server> [<server>...]
|
||||
-all
|
||||
/disconnect [<server>|-all [<reason>]]
|
||||
|
||||
server: server name to disconnect
|
||||
-all: disconnect from all servers
|
||||
reason: reason for quit
|
||||
........................................
|
||||
|
||||
[[command_irc_halfop]]
|
||||
[command]*`halfop`* give channel half-operator status to nick(s)::
|
||||
........................................
|
||||
/halfop <nick> [<nick>...]
|
||||
........................................
|
||||
|
||||
[[command_irc_ignore]]
|
||||
[command]*`ignore`* ignore nicks/hosts from servers or channels::
|
||||
........................................
|
||||
/ignore list
|
||||
@@ -143,11 +163,10 @@ server: server name to disconnect
|
||||
|
||||
list: list all ignores
|
||||
add: add an ignore
|
||||
nick: nick or hostname (can be regular expression if "re:" is given)
|
||||
nick: nick or hostname (can be regular expression if "re:" is given or a mask using "*" to replace one or more chars)
|
||||
del: delete an ignore
|
||||
number: number of ignore to delete (look at list to find it)
|
||||
-all: delete all ignores
|
||||
nick/host: nick or host to ignore: syntax is "re:regex" or "mask" (a mask is a string with some "*" to replace one or more chars)
|
||||
server: internal server name where ignore is working
|
||||
channel: channel name where ignore is working
|
||||
|
||||
@@ -160,6 +179,7 @@ Examples:
|
||||
/ignore add toto*@*.domain.com freenode #weechat
|
||||
........................................
|
||||
|
||||
[[command_irc_info]]
|
||||
[command]*`info`* get information describing the server::
|
||||
........................................
|
||||
/info [<target>]
|
||||
@@ -167,6 +187,7 @@ Examples:
|
||||
target: server name
|
||||
........................................
|
||||
|
||||
[[command_irc_invite]]
|
||||
[command]*`invite`* invite a nick on a channel::
|
||||
........................................
|
||||
/invite <nick> <channel>
|
||||
@@ -175,6 +196,7 @@ target: server name
|
||||
channel: channel to invite
|
||||
........................................
|
||||
|
||||
[[command_irc_ison]]
|
||||
[command]*`ison`* check if a nick is currently on IRC::
|
||||
........................................
|
||||
/ison <nick> [<nick>...]
|
||||
@@ -182,6 +204,7 @@ channel: channel to invite
|
||||
nick: nick
|
||||
........................................
|
||||
|
||||
[[command_irc_join]]
|
||||
[command]*`join`* join a channel::
|
||||
........................................
|
||||
/join [-server <server>] [<channel1>[,<channel2>...]] [<key1>[,<key2>...]]
|
||||
@@ -196,6 +219,7 @@ Examples:
|
||||
/join -server freenode #weechat
|
||||
........................................
|
||||
|
||||
[[command_irc_kick]]
|
||||
[command]*`kick`* forcibly remove a user from a channel::
|
||||
........................................
|
||||
/kick [<channel>] <nick> [<reason>]
|
||||
@@ -205,6 +229,7 @@ channel: channel where user is
|
||||
reason: reason for kick
|
||||
........................................
|
||||
|
||||
[[command_irc_kickban]]
|
||||
[command]*`kickban`* kicks and bans a nick from a channel::
|
||||
........................................
|
||||
/kickban [<channel>] <nick> [<reason>]
|
||||
@@ -220,6 +245,7 @@ Example:
|
||||
/kickban toto!*@host.com
|
||||
........................................
|
||||
|
||||
[[command_irc_kill]]
|
||||
[command]*`kill`* close client-server connection::
|
||||
........................................
|
||||
/kill <nick> <reason>
|
||||
@@ -228,6 +254,7 @@ Example:
|
||||
reason: reason for kill
|
||||
........................................
|
||||
|
||||
[[command_irc_links]]
|
||||
[command]*`links`* list all servernames which are known by the server answering the query::
|
||||
........................................
|
||||
/links [[<server>] <server_mask>]
|
||||
@@ -236,6 +263,7 @@ reason: reason for kill
|
||||
server_mask: list of servers must match this mask
|
||||
........................................
|
||||
|
||||
[[command_irc_list]]
|
||||
[command]*`list`* list channels and their topic::
|
||||
........................................
|
||||
/list [<channel>[,<channel>...]] [<server>] [-re <regex>]
|
||||
@@ -253,6 +281,7 @@ Examples:
|
||||
/list -re #weechat.*
|
||||
........................................
|
||||
|
||||
[[command_irc_lusers]]
|
||||
[command]*`lusers`* get statistics about the size of the IRC network::
|
||||
........................................
|
||||
/lusers [<mask> [<target>]]
|
||||
@@ -261,10 +290,12 @@ Examples:
|
||||
target: server for forwarding request
|
||||
........................................
|
||||
|
||||
[[command_irc_map]]
|
||||
[command]*`map`* show a graphical map of the IRC network::
|
||||
........................................
|
||||
........................................
|
||||
|
||||
[[command_irc_me]]
|
||||
[command]*`me`* send a CTCP action to the current channel::
|
||||
........................................
|
||||
/me <message>
|
||||
@@ -272,6 +303,7 @@ target: server for forwarding request
|
||||
message: message to send
|
||||
........................................
|
||||
|
||||
[[command_irc_mode]]
|
||||
[command]*`mode`* change channel or user mode::
|
||||
........................................
|
||||
/mode [<channel>] [+|-]o|p|s|i|t|n|b|v [<arguments>]
|
||||
@@ -307,6 +339,7 @@ Examples:
|
||||
/mode nick +i
|
||||
........................................
|
||||
|
||||
[[command_irc_motd]]
|
||||
[command]*`motd`* get the "Message Of The Day"::
|
||||
........................................
|
||||
/motd [<target>]
|
||||
@@ -314,6 +347,7 @@ Examples:
|
||||
target: server name
|
||||
........................................
|
||||
|
||||
[[command_irc_msg]]
|
||||
[command]*`msg`* send message to a nick or channel::
|
||||
........................................
|
||||
/msg [-server <server>] <target>[,<target>...] <text>
|
||||
@@ -323,6 +357,7 @@ target: nick or channel (may be mask, '*' = current channel)
|
||||
text: text to send
|
||||
........................................
|
||||
|
||||
[[command_irc_names]]
|
||||
[command]*`names`* list nicks on channels::
|
||||
........................................
|
||||
/names [<channel>[,<channel>...]]
|
||||
@@ -330,6 +365,7 @@ target: nick or channel (may be mask, '*' = current channel)
|
||||
channel: channel name
|
||||
........................................
|
||||
|
||||
[[command_irc_nick]]
|
||||
[command]*`nick`* change current nick::
|
||||
........................................
|
||||
/nick [-all] <nick>
|
||||
@@ -338,6 +374,7 @@ channel: channel name
|
||||
nick: new nick
|
||||
........................................
|
||||
|
||||
[[command_irc_notice]]
|
||||
[command]*`notice`* send notice message to user::
|
||||
........................................
|
||||
/notice [-server <server>] <target> <text>
|
||||
@@ -347,6 +384,7 @@ target: nick or channel
|
||||
text: text to send
|
||||
........................................
|
||||
|
||||
[[command_irc_notify]]
|
||||
[command]*`notify`* add a notification for presence or away status of nicks on servers::
|
||||
........................................
|
||||
/notify add <nick> [<server> [-away]]
|
||||
@@ -370,11 +408,13 @@ Examples:
|
||||
/notify add toto freenode -away
|
||||
........................................
|
||||
|
||||
[[command_irc_op]]
|
||||
[command]*`op`* give channel operator status to nick(s)::
|
||||
........................................
|
||||
/op <nick> [<nick>...]
|
||||
........................................
|
||||
|
||||
[[command_irc_oper]]
|
||||
[command]*`oper`* get operator privileges::
|
||||
........................................
|
||||
/oper <user> <password>
|
||||
@@ -383,6 +423,7 @@ Examples:
|
||||
password: password
|
||||
........................................
|
||||
|
||||
[[command_irc_part]]
|
||||
[command]*`part`* leave a channel::
|
||||
........................................
|
||||
/part [<channel>[,<channel>...]] [<message>]
|
||||
@@ -391,6 +432,7 @@ channel: channel name to leave
|
||||
message: part message (displayed to other users)
|
||||
........................................
|
||||
|
||||
[[command_irc_ping]]
|
||||
[command]*`ping`* send a ping to server::
|
||||
........................................
|
||||
/ping <server1> [<server2>]
|
||||
@@ -399,6 +441,7 @@ server1: server
|
||||
server2: forward ping to this server
|
||||
........................................
|
||||
|
||||
[[command_irc_pong]]
|
||||
[command]*`pong`* answer to a ping message::
|
||||
........................................
|
||||
/pong <daemon> [<daemon2>]
|
||||
@@ -407,6 +450,7 @@ server2: forward ping to this server
|
||||
daemon2: forward message to this daemon
|
||||
........................................
|
||||
|
||||
[[command_irc_query]]
|
||||
[command]*`query`* send a private message to a nick::
|
||||
........................................
|
||||
/query [-server <server>] <nick> [<text>]
|
||||
@@ -416,6 +460,7 @@ server: send to this server (internal name)
|
||||
text: text to send
|
||||
........................................
|
||||
|
||||
[[command_irc_quote]]
|
||||
[command]*`quote`* send raw data to server without parsing::
|
||||
........................................
|
||||
/quote [-server <server>] <data>
|
||||
@@ -424,6 +469,7 @@ server: send to this server (internal name)
|
||||
data: raw data to send
|
||||
........................................
|
||||
|
||||
[[command_irc_reconnect]]
|
||||
[command]*`reconnect`* reconnect to server(s)::
|
||||
........................................
|
||||
/reconnect <server> [<server>...] [-nojoin] [-switch]
|
||||
@@ -435,6 +481,7 @@ server: send to this server (internal name)
|
||||
-switch: switch to next server address
|
||||
........................................
|
||||
|
||||
[[command_irc_rehash]]
|
||||
[command]*`rehash`* tell the server to reload its config file::
|
||||
........................................
|
||||
/rehash [<option>]
|
||||
@@ -442,10 +489,15 @@ server: send to this server (internal name)
|
||||
option: extra option, for some servers
|
||||
........................................
|
||||
|
||||
[[command_irc_restart]]
|
||||
[command]*`restart`* tell the server to restart itself::
|
||||
........................................
|
||||
/restart [<target>]
|
||||
|
||||
target: server name
|
||||
........................................
|
||||
|
||||
[[command_irc_sajoin]]
|
||||
[command]*`sajoin`* force a user to join channel(s)::
|
||||
........................................
|
||||
/sajoin <nick> <channel>[,<channel>...]
|
||||
@@ -454,6 +506,7 @@ option: extra option, for some servers
|
||||
channel: channel name
|
||||
........................................
|
||||
|
||||
[[command_irc_samode]]
|
||||
[command]*`samode`* change mode on channel, without having operator status::
|
||||
........................................
|
||||
/samode <channel> <mode>
|
||||
@@ -462,6 +515,7 @@ channel: channel name
|
||||
mode: mode for channel
|
||||
........................................
|
||||
|
||||
[[command_irc_sanick]]
|
||||
[command]*`sanick`* force a user to use another nick::
|
||||
........................................
|
||||
/sanick <nick> <new_nick>
|
||||
@@ -470,6 +524,7 @@ channel: channel name
|
||||
new_nick: new nick
|
||||
........................................
|
||||
|
||||
[[command_irc_sapart]]
|
||||
[command]*`sapart`* force a user to leave channel(s)::
|
||||
........................................
|
||||
/sapart <nick> <channel>[,<channel>...]
|
||||
@@ -478,6 +533,7 @@ new_nick: new nick
|
||||
channel: channel name
|
||||
........................................
|
||||
|
||||
[[command_irc_saquit]]
|
||||
[command]*`saquit`* force a user to quit server with a reason::
|
||||
........................................
|
||||
/saquit <nick> <reason>
|
||||
@@ -486,6 +542,7 @@ channel: channel name
|
||||
reason: reason
|
||||
........................................
|
||||
|
||||
[[command_irc_server]]
|
||||
[command]*`server`* list, add or remove IRC servers::
|
||||
........................................
|
||||
/server list|listfull [<server>]
|
||||
@@ -522,6 +579,7 @@ Examples:
|
||||
/server deloutq
|
||||
........................................
|
||||
|
||||
[[command_irc_service]]
|
||||
[command]*`service`* register a new service::
|
||||
........................................
|
||||
/service <nick> <reserved> <distribution> <type> <reserved> <info>
|
||||
@@ -530,6 +588,7 @@ distribution: visibility of service
|
||||
type: reserved for future usage
|
||||
........................................
|
||||
|
||||
[[command_irc_servlist]]
|
||||
[command]*`servlist`* list services currently connected to the network::
|
||||
........................................
|
||||
/servlist [<mask> [<type>]]
|
||||
@@ -538,6 +597,7 @@ mask: list only services matching this mask
|
||||
type: list only services of this type
|
||||
........................................
|
||||
|
||||
[[command_irc_squery]]
|
||||
[command]*`squery`* deliver a message to a service::
|
||||
........................................
|
||||
/squery <service> <text>
|
||||
@@ -546,6 +606,7 @@ service: name of service
|
||||
text: text to send
|
||||
........................................
|
||||
|
||||
[[command_irc_squit]]
|
||||
[command]*`squit`* disconnect server links::
|
||||
........................................
|
||||
/squit <server> <comment>
|
||||
@@ -554,6 +615,7 @@ service: name of service
|
||||
comment: comment for quit
|
||||
........................................
|
||||
|
||||
[[command_irc_stats]]
|
||||
[command]*`stats`* query statistics about server::
|
||||
........................................
|
||||
/stats [<query> [<server>]]
|
||||
@@ -562,6 +624,7 @@ comment: comment for quit
|
||||
server: server name
|
||||
........................................
|
||||
|
||||
[[command_irc_summon]]
|
||||
[command]*`summon`* give users who are on a host running an IRC server a message asking them to please join IRC::
|
||||
........................................
|
||||
/summon <user> [<target> [<channel>]]
|
||||
@@ -571,6 +634,7 @@ server: server name
|
||||
channel: channel name
|
||||
........................................
|
||||
|
||||
[[command_irc_time]]
|
||||
[command]*`time`* query local time from server::
|
||||
........................................
|
||||
/time [<target>]
|
||||
@@ -578,6 +642,7 @@ channel: channel name
|
||||
target: query time from specified server
|
||||
........................................
|
||||
|
||||
[[command_irc_topic]]
|
||||
[command]*`topic`* get/set channel topic::
|
||||
........................................
|
||||
/topic [<channel>] [<topic>|-delete]
|
||||
@@ -587,6 +652,7 @@ channel: channel name
|
||||
-delete: delete channel topic
|
||||
........................................
|
||||
|
||||
[[command_irc_trace]]
|
||||
[command]*`trace`* find the route to specific server::
|
||||
........................................
|
||||
/trace [<target>]
|
||||
@@ -594,6 +660,7 @@ channel: channel name
|
||||
target: server
|
||||
........................................
|
||||
|
||||
[[command_irc_unban]]
|
||||
[command]*`unban`* unban nicks or hosts::
|
||||
........................................
|
||||
/unban [<channel>] <nick> [<nick>...]
|
||||
@@ -602,6 +669,7 @@ channel: channel for unban
|
||||
nick: user or host to unban
|
||||
........................................
|
||||
|
||||
[[command_irc_userhost]]
|
||||
[command]*`userhost`* return a list of information about nicks::
|
||||
........................................
|
||||
/userhost <nick> [<nick>...]
|
||||
@@ -609,6 +677,7 @@ channel: channel for unban
|
||||
nick: nick
|
||||
........................................
|
||||
|
||||
[[command_irc_users]]
|
||||
[command]*`users`* list of users logged into the server::
|
||||
........................................
|
||||
/users [<target>]
|
||||
@@ -616,6 +685,7 @@ nick: nick
|
||||
target: server
|
||||
........................................
|
||||
|
||||
[[command_irc_version]]
|
||||
[command]*`version`* give the version info of nick or server (current or specified)::
|
||||
........................................
|
||||
/version [<server>|<nick>]
|
||||
@@ -624,11 +694,13 @@ server: server name
|
||||
nick: nick
|
||||
........................................
|
||||
|
||||
[[command_irc_voice]]
|
||||
[command]*`voice`* give voice to nick(s)::
|
||||
........................................
|
||||
/voice <nick> [<nick>...]
|
||||
........................................
|
||||
|
||||
[[command_irc_wallchops]]
|
||||
[command]*`wallchops`* send a notice to channel ops::
|
||||
........................................
|
||||
/wallchops [<channel>] <text>
|
||||
@@ -637,6 +709,7 @@ channel: channel name
|
||||
text: text to send
|
||||
........................................
|
||||
|
||||
[[command_irc_wallops]]
|
||||
[command]*`wallops`* send a message to all currently connected users who have set the 'w' user mode for themselves::
|
||||
........................................
|
||||
/wallops <text>
|
||||
@@ -644,6 +717,7 @@ channel: channel name
|
||||
text: text to send
|
||||
........................................
|
||||
|
||||
[[command_irc_who]]
|
||||
[command]*`who`* generate a query which returns a list of information::
|
||||
........................................
|
||||
/who [<mask> [o]]
|
||||
@@ -652,6 +726,7 @@ mask: only information which match this mask
|
||||
o: only operators are returned according to the mask supplied
|
||||
........................................
|
||||
|
||||
[[command_irc_whois]]
|
||||
[command]*`whois`* query information about user(s)::
|
||||
........................................
|
||||
/whois [<server>] <nick>[,<nick>...]
|
||||
@@ -660,6 +735,7 @@ server: server name
|
||||
nick: nick (may be a mask)
|
||||
........................................
|
||||
|
||||
[[command_irc_whowas]]
|
||||
[command]*`whowas`* ask for information about a nick which no longer exists::
|
||||
........................................
|
||||
/whowas <nick>[,<nick>...] [<count> [<target>]]
|
||||
|
||||
@@ -194,12 +194,12 @@
|
||||
** values: current, server (default value: `current`)
|
||||
|
||||
* *irc.look.new_channel_position*
|
||||
** description: `force position of new channel in list of buffers (none = default position (should be last buffer)r, next = current buffer + 1, near_server = after last channel/pv of server)`
|
||||
** description: `force position of new channel in list of buffers (none = default position (should be last buffer), next = current buffer + 1, near_server = after last channel/pv of server)`
|
||||
** type: integer
|
||||
** values: none, next, near_server (default value: `none`)
|
||||
|
||||
* *irc.look.new_pv_position*
|
||||
** description: `force position of new private in list of buffers (none = default position (should be last buffer)r, next = current buffer + 1, near_server = after last channel/pv of server)`
|
||||
** description: `force position of new private in list of buffers (none = default position (should be last buffer), next = current buffer + 1, near_server = after last channel/pv of server)`
|
||||
** type: integer
|
||||
** values: none, next, near_server (default value: `none`)
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
[[command_logger_logger]]
|
||||
[command]*`logger`* logger plugin configuration::
|
||||
........................................
|
||||
/logger list
|
||||
|
||||
@@ -3,6 +3,11 @@
|
||||
** type: boolean
|
||||
** values: on, off (default value: `on`)
|
||||
|
||||
* *logger.file.flush_delay*
|
||||
** description: `number of seconds between flush of log files (0 = write in log files immediately for each line printed)`
|
||||
** type: integer
|
||||
** values: 0 .. 3600 (default value: `120`)
|
||||
|
||||
* *logger.file.info_lines*
|
||||
** description: `write information line in log file when log starts or ends for a buffer`
|
||||
** type: boolean
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
[[command_lua_lua]]
|
||||
[command]*`lua`* list/load/unload scripts::
|
||||
........................................
|
||||
/lua list|listfull [<name>]
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
[[command_perl_perl]]
|
||||
[command]*`perl`* list/load/unload scripts::
|
||||
........................................
|
||||
/perl list|listfull [<name>]
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
[[command_python_python]]
|
||||
[command]*`python`* list/load/unload scripts::
|
||||
........................................
|
||||
/python list|listfull [<name>]
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
[[command_relay_relay]]
|
||||
[command]*`relay`* relay control::
|
||||
........................................
|
||||
/relay list|listfull|listrelay
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
[[command_rmodifier_rmodifier]]
|
||||
[command]*`rmodifier`* alter modifier strings with regular expressions::
|
||||
........................................
|
||||
/rmodifier list|listdefault
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
[[command_ruby_ruby]]
|
||||
[command]*`ruby`* list/load/unload scripts::
|
||||
........................................
|
||||
/ruby list|listfull [<name>]
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
[[command_tcl_tcl]]
|
||||
[command]*`tcl`* list/load/unload scripts::
|
||||
........................................
|
||||
/tcl list|listfull [<name>]
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
[[command_weechat_away]]
|
||||
[command]*`away`* toggle away status::
|
||||
........................................
|
||||
/away [-all] [<message>]
|
||||
@@ -6,6 +7,7 @@
|
||||
message: message for away (if no message is given, away status is removed)
|
||||
........................................
|
||||
|
||||
[[command_weechat_bar]]
|
||||
[command]*`bar`* manage bars::
|
||||
........................................
|
||||
/bar list|listfull|listitems
|
||||
@@ -14,7 +16,7 @@ message: message for away (if no message is given, away status is removed)
|
||||
del <name>|-all
|
||||
set <name> <option> <value>
|
||||
hide|show|toggle <name>
|
||||
scroll <name> <buffer> <scroll_value>
|
||||
scroll <name> <window> <scroll_value>
|
||||
|
||||
list: list all bars
|
||||
listfull: list all bars (verbose)
|
||||
@@ -41,8 +43,8 @@ message: message for away (if no message is given, away status is removed)
|
||||
show: show an hidden bar
|
||||
toggle: hide/show a bar
|
||||
scroll: scroll bar
|
||||
buffer: name of buffer to scroll ('*' means current buffer, you should use '*' for root bars)
|
||||
scroll_value: value for scroll: 'x' or 'y', followed by '+', '-', 'b' (beginning) or 'e' (end), value (for +/-), and optional %% (to scroll by %% of width/height, otherwise value is number of chars)
|
||||
window: window number (use '*' for current window or for root bars)
|
||||
scroll_value: value for scroll: 'x' or 'y' (optional), followed by '+', '-', 'b' (beginning) or 'e' (end), value (for +/-), and optional % (to scroll by % of width/height, otherwise value is number of chars)
|
||||
|
||||
Examples:
|
||||
create a bar with time, buffer number + name, and completion:
|
||||
@@ -57,13 +59,14 @@ Examples:
|
||||
/bar scroll nicklist * ye
|
||||
........................................
|
||||
|
||||
[[command_weechat_buffer]]
|
||||
[command]*`buffer`* manage buffers::
|
||||
........................................
|
||||
/buffer list
|
||||
clear [<number>|-merged|-all]
|
||||
clear [<number>|<name>|-merged|-all]
|
||||
move|merge <number>
|
||||
unmerge [<number>]
|
||||
close [<n1>[-<n2>]]
|
||||
unmerge [<number>|-all]
|
||||
close [<n1>[-<n2>]|<name>]
|
||||
notify <level>
|
||||
localvar
|
||||
set <property> <value>
|
||||
@@ -76,7 +79,7 @@ Examples:
|
||||
merge: merge current buffer to another buffer (chat area will be mix of both buffers)
|
||||
(by default ctrl-x switches between merged buffers)
|
||||
unmerge: unmerge buffer from other buffers which have same number
|
||||
close: close buffer (number/range is optional)
|
||||
close: close buffer (number/range or name is optional)
|
||||
notify: set notify level for current buffer: this level determines whether buffer will be added to hotlist or not:
|
||||
none: never
|
||||
highlight: for highlights only
|
||||
@@ -111,6 +114,7 @@ Examples:
|
||||
/buffer +1
|
||||
........................................
|
||||
|
||||
[[command_weechat_color]]
|
||||
[command]*`color`* define color aliases and display palette of colors::
|
||||
........................................
|
||||
/color alias <color> <name>
|
||||
@@ -119,7 +123,7 @@ Examples:
|
||||
|
||||
alias: add an alias for a color
|
||||
unalias: delete an alias
|
||||
color: color number (>= 0, max depends on terminal, commonly 63 or 255)
|
||||
color: color number (greater than or equal to 0, max depends on terminal, commonly 63 or 255)
|
||||
name: alias name for color (for example: "orange")
|
||||
reset: reset all color pairs (required when no more color pairs are available if automatic reset is disabled, see option weechat.look.color_pairs_auto_reset)
|
||||
|
||||
@@ -132,6 +136,7 @@ Examples:
|
||||
/color unalias 214
|
||||
........................................
|
||||
|
||||
[[command_weechat_command]]
|
||||
[command]*`command`* launch explicit WeeChat or plugin command::
|
||||
........................................
|
||||
/command <plugin> <command>
|
||||
@@ -140,25 +145,56 @@ Examples:
|
||||
command: command to execute (a '/' is automatically added if not found at beginning of command)
|
||||
........................................
|
||||
|
||||
[[command_weechat_cursor]]
|
||||
[command]*`cursor`* free movement of cursor on screen to execute actions on specific areas of screen::
|
||||
........................................
|
||||
/cursor go chat|<bar>|<x>,<y>
|
||||
move up|down|left|right|area_up|area_down|area_left|area_right
|
||||
stop
|
||||
|
||||
go: move cursor to chat area, a bar (using bar name) or coordinates "x,y"
|
||||
move: move cursor with direction
|
||||
stop: stop cursor mode
|
||||
|
||||
Without argument, this command toggles cursor mode.
|
||||
|
||||
When mouse is enabled (see /help mouse), by default a middle click will start cursor mode at this point.
|
||||
|
||||
Examples:
|
||||
go to nicklist:
|
||||
/cursor go nicklist
|
||||
go to coordinates x=10, y=5:
|
||||
/cursor go 10,5
|
||||
........................................
|
||||
|
||||
[[command_weechat_debug]]
|
||||
[command]*`debug`* control debug for core/plugins::
|
||||
........................................
|
||||
/debug list
|
||||
set <plugin> <level>
|
||||
dump [<plugin>]
|
||||
buffer|color|memory|term|windows
|
||||
buffer|color|infolists|memory|tags|term|windows
|
||||
mouse|cursor [verbose]
|
||||
hdata [free]
|
||||
|
||||
list: list plugins with debug levels
|
||||
set: set debug level for plugin
|
||||
plugin: name of plugin ("core" for WeeChat core)
|
||||
level: debug level for plugin (0 = disable debug)
|
||||
dump: save memory dump in WeeChat log file (same dump is written when WeeChat crashes)
|
||||
buffer: dump buffer content with hexadecimal values in log file
|
||||
color: display infos about current color pairs
|
||||
memory: display infos about memory usage
|
||||
term: display infos about terminal
|
||||
windows: display windows tree
|
||||
list: list plugins with debug levels
|
||||
set: set debug level for plugin
|
||||
plugin: name of plugin ("core" for WeeChat core)
|
||||
level: debug level for plugin (0 = disable debug)
|
||||
dump: save memory dump in WeeChat log file (same dump is written when WeeChat crashes)
|
||||
buffer: dump buffer content with hexadecimal values in log file
|
||||
color: display infos about current color pairs
|
||||
cursor: toggle debug for cursor mode
|
||||
hdata: display infos about hdata (with free: remove all hdata in memory)
|
||||
infolists: display infos about infolists
|
||||
memory: display infos about memory usage
|
||||
mouse: toggle debug for mouse
|
||||
tags: display tags for lines
|
||||
term: display infos about terminal
|
||||
windows: display windows tree
|
||||
........................................
|
||||
|
||||
[[command_weechat_filter]]
|
||||
[command]*`filter`* filter messages in buffers, to hide/show them according to tags or regex::
|
||||
........................................
|
||||
/filter list
|
||||
@@ -193,6 +229,7 @@ Tags most commonly used:
|
||||
nick_xxx (xxx is nick in message),
|
||||
irc_xxx (xxx is command name or number, see /server raw),
|
||||
irc_numeric, irc_error, irc_action, irc_ctcp, irc_ctcp_reply, irc_smart_filter, away_info.
|
||||
To see tags for lines in buffers: /debug tags
|
||||
|
||||
Examples:
|
||||
use IRC smart filter on all buffers:
|
||||
@@ -213,6 +250,7 @@ Examples:
|
||||
/filter add sucks irc.freenode.#weechat * weechat sucks
|
||||
........................................
|
||||
|
||||
[[command_weechat_help]]
|
||||
[command]*`help`* display help about commands and options::
|
||||
........................................
|
||||
/help -list|-listfull [<plugin> [<plugin>...]]
|
||||
@@ -226,6 +264,7 @@ Examples:
|
||||
option: an option name (use /set to see list)
|
||||
........................................
|
||||
|
||||
[[command_weechat_history]]
|
||||
[command]*`history`* show buffer command history::
|
||||
........................................
|
||||
/history clear
|
||||
@@ -235,6 +274,7 @@ clear: clear history
|
||||
value: number of history entries to show
|
||||
........................................
|
||||
|
||||
[[command_weechat_input]]
|
||||
[command]*`input`* functions for command line::
|
||||
........................................
|
||||
/input <action> [<arguments>]
|
||||
@@ -244,6 +284,10 @@ list of actions:
|
||||
complete_next: complete word with next completion
|
||||
complete_previous: complete word with previous completion
|
||||
search_text: search text in buffer
|
||||
search_switch_case: switch exact case for search
|
||||
search_previous: search previous line
|
||||
search_next: search next line
|
||||
search_stop: stop search
|
||||
delete_previous_char: delete previous char
|
||||
delete_next_char: delete next char
|
||||
delete_previous_word: delete previous word
|
||||
@@ -270,8 +314,10 @@ list of actions:
|
||||
jump_previously_visited_buffer: jump to previously visited buffer
|
||||
jump_next_visited_buffer: jump to next visited buffer
|
||||
hotlist_clear: clear hotlist
|
||||
grab_key: grab a key
|
||||
grab_key_command: grab a key with its associated command
|
||||
grab_key: grab a key (optional argument: delay for end of grab, default is 500 milliseconds)
|
||||
grab_key_command: grab a key with its associated command (optional argument: delay for end of grab, default is 500 milliseconds)
|
||||
grab_mouse: grab mouse event code
|
||||
grab_mouse_area: grab mouse event code with area
|
||||
scroll_unread: scroll to unread marker
|
||||
set_unread: set unread marker for all buffers
|
||||
set_unread_current_buffer: set unread marker for current buffer
|
||||
@@ -282,26 +328,46 @@ list of actions:
|
||||
This command is used by key bindings or plugins.
|
||||
........................................
|
||||
|
||||
[[command_weechat_key]]
|
||||
[command]*`key`* bind/unbind keys::
|
||||
........................................
|
||||
/key list|listdefault|listdiff
|
||||
/key list|listdefault|listdiff [<context>]
|
||||
bind <key> [<command> [<args>]]
|
||||
bindctxt <context> <key> [<command> [<args>]]
|
||||
unbind <key>
|
||||
unbindctxt <context> <key>
|
||||
reset <key>
|
||||
resetall -yes
|
||||
missing
|
||||
resetctxt <context> <key>
|
||||
resetall -yes [<context>]
|
||||
missing [<context>]
|
||||
|
||||
list: list all current keys (without argument, this list is displayed)
|
||||
listdefault: list default keys
|
||||
listdiff: list differences between current and default keys (keys added, redefined or deleted)
|
||||
bind: bind a command to a key or display command bound to key
|
||||
unbind: remove a key binding
|
||||
reset: reset a key to default binding
|
||||
context: name of context ("default" or "search")
|
||||
bind: bind a command to a key or display command bound to key (for context "default")
|
||||
bindctxt: bind a command to a key or display command bound to key, for given context
|
||||
unbind: remove a key binding (for context "default")
|
||||
unbindctxt: remove a key binding for given context
|
||||
reset: reset a key to default binding (for context "default")
|
||||
resetctxt: reset a key to default binding, for given context
|
||||
resetall: restore bindings to the default values and delete ALL personal bindings (use carefully!)
|
||||
missing: add missing keys (using default bindings), useful after installing new WeeChat version
|
||||
|
||||
When binding a command to a key, it is recommended to use key alt+k (or Esc then k), and then press the key to bind: this will insert key code in command line.
|
||||
|
||||
For context "mouse" (possible in context "cursor" too), key has format: "@area:key" or "@area1>area2:key" where area can be:
|
||||
*: any area on screen
|
||||
chat: chat area (any buffer)
|
||||
chat(xxx): char area for buffer with name "xxx" (full name including plugin)
|
||||
bar(*): any bar
|
||||
bar(xxx): bar "xxx"
|
||||
item(*): any bar item
|
||||
item(xxx): bar item "xxx"
|
||||
The key can start or end with '*' to match many mouse events.
|
||||
A special value for command with format "hsignal:name" can be used for context mouse, this will send the hsignal "name" with the focus hashtable as argument.
|
||||
Another special value "-" can be used to disable key (it will be ignored when looking for keys).
|
||||
|
||||
Examples:
|
||||
key alt-x to toggle nicklist bar:
|
||||
/key bind meta-x /bar toggle nicklist
|
||||
@@ -309,8 +375,13 @@ Examples:
|
||||
/key bind meta-r /buffer #weechat
|
||||
restore default binding for key alt-r:
|
||||
/key reset meta-r
|
||||
key "tab" to stop search in buffer:
|
||||
/key bindctxt search ctrl-I /input search_stop
|
||||
middle button of mouse on a nick to retrieve info on nick:
|
||||
/key bindctxt mouse @item(buffer_nicklist):button3 /msg nickserv info ${nick}
|
||||
........................................
|
||||
|
||||
[[command_weechat_layout]]
|
||||
[command]*`layout`* save/apply/reset layout for buffers and windows::
|
||||
........................................
|
||||
/layout save [buffers|windows]
|
||||
@@ -326,6 +397,27 @@ windows: save/apply only windows (buffer displayed by each window)
|
||||
Without argument, this command displays saved layout.
|
||||
........................................
|
||||
|
||||
[[command_weechat_mouse]]
|
||||
[command]*`mouse`* mouse control::
|
||||
........................................
|
||||
/mouse enable|disable|toggle [<delay>]
|
||||
|
||||
enable: enable mouse
|
||||
disable: disable mouse
|
||||
toggle: toggle mouse
|
||||
delay: delay (in seconds) after which initial mouse state is restored (useful to temporarily disable mouse)
|
||||
|
||||
To enable/disable mouse at startup, use:
|
||||
/set weechat.look.mouse on/off
|
||||
|
||||
Examples:
|
||||
enable mouse:
|
||||
/mouse enable
|
||||
toggle mouse for 5 seconds:
|
||||
/mouse toggle 5
|
||||
........................................
|
||||
|
||||
[[command_weechat_mute]]
|
||||
[command]*`mute`* execute a command silently::
|
||||
........................................
|
||||
/mute [-current | -buffer <name> | -all] command
|
||||
@@ -347,6 +439,7 @@ Examples:
|
||||
/mute -buffer irc.freenode.#weechat msg #weechat hi!
|
||||
........................................
|
||||
|
||||
[[command_weechat_plugin]]
|
||||
[command]*`plugin`* list/load/unload plugins::
|
||||
........................................
|
||||
/plugin list|listfull [<name>]
|
||||
@@ -360,10 +453,13 @@ listfull: list loaded plugins (verbose)
|
||||
autoload: autoload plugins in system or user directory
|
||||
reload: reload a plugin (if no name given, unload all plugins, then autoload plugins)
|
||||
unload: unload a plugin (if no name given, unload all plugins)
|
||||
filename: plugin (file) to load
|
||||
name: a plugin name
|
||||
|
||||
Without argument, this command lists loaded plugins.
|
||||
........................................
|
||||
|
||||
[[command_weechat_proxy]]
|
||||
[command]*`proxy`* manage proxies::
|
||||
........................................
|
||||
/proxy list
|
||||
@@ -396,6 +492,7 @@ Examples:
|
||||
/proxy del myproxy
|
||||
........................................
|
||||
|
||||
[[command_weechat_quit]]
|
||||
[command]*`quit`* quit WeeChat::
|
||||
........................................
|
||||
/quit [-yes] [<arguments>]
|
||||
@@ -405,6 +502,7 @@ arguments: text sent with signal "quit"
|
||||
(for example irc plugin uses this text to send quit message to server)
|
||||
........................................
|
||||
|
||||
[[command_weechat_reload]]
|
||||
[command]*`reload`* reload configuration files from disk::
|
||||
........................................
|
||||
/reload [<file> [<file>...]]
|
||||
@@ -414,6 +512,23 @@ file: configuration file to reload (without extension ".conf")
|
||||
Without argument, all files (WeeChat and plugins) are reloaded.
|
||||
........................................
|
||||
|
||||
[[command_weechat_repeat]]
|
||||
[command]*`repeat`* execute a command several times::
|
||||
........................................
|
||||
/repeat [-interval <delay>] <count> <command>
|
||||
|
||||
delay: delay between execution of commands (in milliseconds)
|
||||
count: number of times to execute command
|
||||
command: command to execute (a '/' is automatically added if not found at beginning of command)
|
||||
|
||||
All commands are executed on buffer where this command was issued.
|
||||
|
||||
Example:
|
||||
scroll 2 pages up:
|
||||
/repeat 2 /window page_up
|
||||
........................................
|
||||
|
||||
[[command_weechat_save]]
|
||||
[command]*`save`* save configuration files to disk::
|
||||
........................................
|
||||
/save [<file> [<file>...]]
|
||||
@@ -423,6 +538,7 @@ file: configuration file to save (without extension ".conf")
|
||||
Without argument, all files (WeeChat and plugins) are saved.
|
||||
........................................
|
||||
|
||||
[[command_weechat_set]]
|
||||
[command]*`set`* set config options::
|
||||
........................................
|
||||
/set [<option> [<value>]]
|
||||
@@ -445,6 +561,7 @@ Examples:
|
||||
/set weechat.look.highlight "word"
|
||||
........................................
|
||||
|
||||
[[command_weechat_unset]]
|
||||
[command]*`unset`* unset/reset config options::
|
||||
........................................
|
||||
/unset <option>
|
||||
@@ -460,13 +577,16 @@ Examples:
|
||||
/unset weechat.color.*
|
||||
........................................
|
||||
|
||||
[[command_weechat_upgrade]]
|
||||
[command]*`upgrade`* upgrade WeeChat without disconnecting from servers::
|
||||
........................................
|
||||
/upgrade [<path_to_binary>]
|
||||
|
||||
path_to_binary: path to WeeChat binary (default is current binary)
|
||||
|
||||
This command run again a WeeChat binary, so it should have been compiled or installed with a package manager before running this command.
|
||||
This command upgrades and reloads a running WeeChat session. The new WeeChat binary must have been compiled or installed with a package manager before running this command.
|
||||
|
||||
Note: SSL connections are lost during upgrade, because reload of SSL sessions is currently not possible with GnuTLS. There is automatic reconnection after upgrade.
|
||||
|
||||
Upgrade process has 4 steps:
|
||||
1. save session into files for core and plugins (buffers, history, ..)
|
||||
@@ -475,6 +595,7 @@ Upgrade process has 4 steps:
|
||||
4. execute new WeeChat binary and reload session.
|
||||
........................................
|
||||
|
||||
[[command_weechat_uptime]]
|
||||
[command]*`uptime`* show WeeChat uptime::
|
||||
........................................
|
||||
/uptime [-o | -ol]
|
||||
@@ -483,6 +604,7 @@ Upgrade process has 4 steps:
|
||||
-ol: send uptime to current buffer as input (translated string)
|
||||
........................................
|
||||
|
||||
[[command_weechat_version]]
|
||||
[command]*`version`* show WeeChat version and compilation date::
|
||||
........................................
|
||||
/version [-o | -ol]
|
||||
@@ -491,6 +613,7 @@ Upgrade process has 4 steps:
|
||||
-ol: send version to current buffer as input (translated string)
|
||||
........................................
|
||||
|
||||
[[command_weechat_wait]]
|
||||
[command]*`wait`* schedule a command execution in future::
|
||||
........................................
|
||||
/wait <number>[<unit>] <command>
|
||||
@@ -514,19 +637,23 @@ Examples:
|
||||
/wait 2m hello
|
||||
........................................
|
||||
|
||||
[[command_weechat_window]]
|
||||
[command]*`window`* manage windows::
|
||||
........................................
|
||||
/window list
|
||||
-1|+1|b#|up|down|left|right
|
||||
splith|splitv [<pct>]
|
||||
resize [+/-]<pct>
|
||||
-1|+1|b#|up|down|left|right [-window <number>]
|
||||
<number>
|
||||
splith|splitv [-window <number>] [<pct>]
|
||||
resize [-window <number>] [+/-]<pct>
|
||||
balance
|
||||
merge [all]
|
||||
page_up|page_down
|
||||
merge [-window <number>] [all]
|
||||
page_up|page_down [-window <number>]
|
||||
refresh
|
||||
scroll|scroll_up|scroll_down|scroll_top|scroll_bottom|scroll_previous_highlight|scroll_next_highlight
|
||||
swap [up|down|left|right]
|
||||
zoom
|
||||
scroll [-window <number>] [+/-]<value>[s|m|h|d|M|y]
|
||||
scroll_horiz [-window <number>] [+/-]<value>[%]
|
||||
scroll_up|scroll_down|scroll_top|scroll_bottom|scroll_previous_highlight|scroll_next_highlight [-window <number>]
|
||||
swap [-window <number>] [up|down|left|right]
|
||||
zoom[-window <number>]
|
||||
|
||||
list: list opened windows (without argument, this list is displayed)
|
||||
-1: jump to previous window
|
||||
@@ -536,6 +663,7 @@ Examples:
|
||||
down: switch to window below current one
|
||||
left: switch to window on the left
|
||||
right: switch to window on the right
|
||||
number: window number (see /window list)
|
||||
splith: split current window horizontally
|
||||
splitv: split current window vertically
|
||||
resize: resize window size, new size is <pct> percentage of parent window
|
||||
@@ -544,7 +672,8 @@ Examples:
|
||||
page_up: scroll one page up
|
||||
page_down: scroll one page down
|
||||
refresh: refresh screen
|
||||
scroll: scroll number of lines (+/-N) or with time: s=seconds, m=minutes, h=hours, d=days, M=months, y=years
|
||||
scroll: scroll a number of lines (+/-N) or with time: s=seconds, m=minutes, h=hours, d=days, M=months, y=years
|
||||
scroll_horiz: scroll horizontally a number of columns (+/-N) or percentage of window size (this scrolling is possible only on buffers with free content)
|
||||
scroll_up: scroll a few lines up
|
||||
scroll_down: scroll a few lines down
|
||||
scroll_top: scroll to top of buffer
|
||||
@@ -565,5 +694,7 @@ Examples:
|
||||
/window scroll -2d
|
||||
scroll to beginning of current day:
|
||||
/window scroll -d
|
||||
zoom on window #2:
|
||||
/window zoom -window 2
|
||||
........................................
|
||||
|
||||
|
||||
@@ -43,6 +43,16 @@
|
||||
** type: color
|
||||
** values: a WeeChat color name (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), a terminal color number or an alias; attributes are allowed before color (for text color only, not background): "*" for bold, "!" for reverse, "_" for underline (default value: `cyan`)
|
||||
|
||||
* *weechat.color.chat_inactive_buffer*
|
||||
** description: `text color for chat when line is inactive (buffer is merged with other buffers and is not selected)`
|
||||
** type: color
|
||||
** values: a WeeChat color name (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), a terminal color number or an alias; attributes are allowed before color (for text color only, not background): "*" for bold, "!" for reverse, "_" for underline (default value: `darkgray`)
|
||||
|
||||
* *weechat.color.chat_inactive_window*
|
||||
** description: `text color for chat when window is inactive (not current selected window)`
|
||||
** type: color
|
||||
** values: a WeeChat color name (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), a terminal color number or an alias; attributes are allowed before color (for text color only, not background): "*" for bold, "!" for reverse, "_" for underline (default value: `darkgray`)
|
||||
|
||||
* *weechat.color.chat_nick*
|
||||
** description: `text color for nicks in chat window`
|
||||
** type: color
|
||||
@@ -73,6 +83,11 @@
|
||||
** type: color
|
||||
** values: a WeeChat color name (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), a terminal color number or an alias; attributes are allowed before color (for text color only, not background): "*" for bold, "!" for reverse, "_" for underline (default value: `brown`)
|
||||
|
||||
* *weechat.color.chat_prefix_buffer_inactive_buffer*
|
||||
** description: `text color for inactive buffer name (before prefix, when many buffers are merged with same number and if buffer is not selected)`
|
||||
** type: color
|
||||
** values: a WeeChat color name (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), a terminal color number or an alias; attributes are allowed before color (for text color only, not background): "*" for bold, "!" for reverse, "_" for underline (default value: `darkgray`)
|
||||
|
||||
* *weechat.color.chat_prefix_error*
|
||||
** description: `text color for error prefix`
|
||||
** type: color
|
||||
@@ -118,6 +133,11 @@
|
||||
** type: color
|
||||
** values: a WeeChat color name (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), a terminal color number or an alias; attributes are allowed before color (for text color only, not background): "*" for bold, "!" for reverse, "_" for underline (default value: `brown`)
|
||||
|
||||
* *weechat.color.chat_tags*
|
||||
** description: `text color for tags after messages (displayed with command /debug tags)`
|
||||
** type: color
|
||||
** values: a WeeChat color name (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), a terminal color number or an alias; attributes are allowed before color (for text color only, not background): "*" for bold, "!" for reverse, "_" for underline (default value: `red`)
|
||||
|
||||
* *weechat.color.chat_text_found*
|
||||
** description: `text color for marker on lines where text sought is found`
|
||||
** type: color
|
||||
@@ -318,6 +338,26 @@
|
||||
** type: integer
|
||||
** values: time, buffer, prefix, suffix, message (default value: `message`)
|
||||
|
||||
* *weechat.look.bar_more_down*
|
||||
** description: `string displayed when bar can be scrolled down (for bars with filling different from "horizontal")`
|
||||
** type: string
|
||||
** values: any string (default value: `"++"`)
|
||||
|
||||
* *weechat.look.bar_more_left*
|
||||
** description: `string displayed when bar can be scrolled to the left (for bars with filling "horizontal")`
|
||||
** type: string
|
||||
** values: any string (default value: `"<<"`)
|
||||
|
||||
* *weechat.look.bar_more_right*
|
||||
** description: `string displayed when bar can be scrolled to the right (for bars with filling "horizontal")`
|
||||
** type: string
|
||||
** values: any string (default value: `">>"`)
|
||||
|
||||
* *weechat.look.bar_more_up*
|
||||
** description: `string displayed when bar can be scrolled up (for bars with filling different from "horizontal")`
|
||||
** type: string
|
||||
** values: any string (default value: `"--"`)
|
||||
|
||||
* *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): all=all messages (default), message=messages+highlights, highlight=highlights only, none=never display in hotlist`
|
||||
** type: integer
|
||||
@@ -328,6 +368,41 @@
|
||||
** type: string
|
||||
** values: any string (default value: `"%H:%M:%S"`)
|
||||
|
||||
* *weechat.look.color_basic_force_bold*
|
||||
** description: `force "bold" attribute for light colors and "darkgray" in basic colors (this option is disabled by default: bold is used only if terminal has less than 16 colors)`
|
||||
** type: boolean
|
||||
** values: on, off (default value: `off`)
|
||||
|
||||
* *weechat.look.color_inactive_buffer*
|
||||
** description: `use a different color for lines in inactive buffer (when line is from a merged buffer not selected)`
|
||||
** type: boolean
|
||||
** values: on, off (default value: `off`)
|
||||
|
||||
* *weechat.look.color_inactive_message*
|
||||
** description: `use a different color for inactive message (when window is not current window, or if line is from a merged buffer not selected)`
|
||||
** type: boolean
|
||||
** values: on, off (default value: `on`)
|
||||
|
||||
* *weechat.look.color_inactive_prefix*
|
||||
** description: `use a different color for inactive prefix (when window is not current window, or if line is from a merged buffer not selected)`
|
||||
** type: boolean
|
||||
** values: on, off (default value: `on`)
|
||||
|
||||
* *weechat.look.color_inactive_prefix_buffer*
|
||||
** description: `use a different color for inactive buffer name in prefix (when window is not current window, or if line is from a merged buffer not selected)`
|
||||
** type: boolean
|
||||
** values: on, off (default value: `on`)
|
||||
|
||||
* *weechat.look.color_inactive_time*
|
||||
** description: `use a different color for inactive time (when window is not current window, or if line is from a merged buffer not selected)`
|
||||
** type: boolean
|
||||
** values: on, off (default value: `off`)
|
||||
|
||||
* *weechat.look.color_inactive_window*
|
||||
** description: `use a different color for lines in inactive window (when window is not current window)`
|
||||
** type: boolean
|
||||
** values: on, off (default value: `off`)
|
||||
|
||||
* *weechat.look.color_pairs_auto_reset*
|
||||
** description: `automatically reset table of color pairs when number of available pairs is lower or equal to this number (-1 = disable automatic reset, and then a manual "/color reset" is needed when table is full)`
|
||||
** type: integer
|
||||
@@ -358,6 +433,11 @@
|
||||
** type: string
|
||||
** values: any string (default value: `"%a, %d %b %Y"`)
|
||||
|
||||
* *weechat.look.eat_newline_glitch*
|
||||
** description: `if set, the eat_newline_glitch will be set to 0; this is used to not add new line char at end of each line, and then not break text when you copy/paste text from WeeChat to another application (this option is disabled by default because it can cause serious display bugs)`
|
||||
** type: boolean
|
||||
** values: on, off (default value: `off`)
|
||||
|
||||
* *weechat.look.highlight*
|
||||
** description: `comma separated list of words to highlight (case insensitive comparison, words may begin or end with "*" for partial match)`
|
||||
** type: string
|
||||
@@ -373,11 +453,6 @@
|
||||
** type: string
|
||||
** values: any string (default value: `""`)
|
||||
|
||||
* *weechat.look.hline_char*
|
||||
** description: `char used to draw horizontal separators around bars (empty value will draw a real line with ncurses, but may cause bugs with URL selection under some terminals), wide chars are NOT allowed here`
|
||||
** type: string
|
||||
** values: any string (default value: `"-"`)
|
||||
|
||||
* *weechat.look.hotlist_add_buffer_if_away*
|
||||
** description: `add any buffer to hotlist (including current or visible buffers) if local variable "away" is set on buffer`
|
||||
** type: boolean
|
||||
@@ -453,6 +528,11 @@
|
||||
** type: integer
|
||||
** values: 0 .. 65535 (default value: `32`)
|
||||
|
||||
* *weechat.look.item_buffer_filter*
|
||||
** description: `string used to show that some lines are filtered in current buffer (bar item "buffer_filter")`
|
||||
** type: string
|
||||
** values: any string (default value: `"*"`)
|
||||
|
||||
* *weechat.look.item_time_format*
|
||||
** description: `time format for "time" bar item (see man strftime for date/time specifiers)`
|
||||
** type: string
|
||||
@@ -468,6 +548,16 @@
|
||||
** type: boolean
|
||||
** values: on, off (default value: `on`)
|
||||
|
||||
* *weechat.look.mouse*
|
||||
** description: `enable mouse support at startup (to enable it now, see /help mouse)`
|
||||
** type: boolean
|
||||
** values: on, off (default value: `off`)
|
||||
|
||||
* *weechat.look.mouse_timer_delay*
|
||||
** description: `delay (in milliseconds) to grab a mouse event: WeeChat will wait this delay before processing event`
|
||||
** type: integer
|
||||
** values: 1 .. 10000 (default value: `100`)
|
||||
|
||||
* *weechat.look.nickmode*
|
||||
** description: `display nick mode ((half)op/voice) before each nick`
|
||||
** type: boolean
|
||||
@@ -588,6 +678,16 @@
|
||||
** type: boolean
|
||||
** values: on, off (default value: `on`)
|
||||
|
||||
* *weechat.look.separator_horizontal*
|
||||
** description: `char used to draw horizontal separators around bars (empty value will draw a real line with ncurses, but may cause bugs with URL selection under some terminals), wide chars are NOT allowed here`
|
||||
** type: string
|
||||
** values: any string (default value: `"-"`)
|
||||
|
||||
* *weechat.look.separator_vertical*
|
||||
** description: `char used to draw vertical separators around bars (empty value will draw a real line with ncurses), wide chars are NOT allowed here`
|
||||
** type: string
|
||||
** values: any string (default value: `""`)
|
||||
|
||||
* *weechat.look.set_title*
|
||||
** description: `set title for window (terminal for Curses GUI) with name and version`
|
||||
** type: boolean
|
||||
@@ -601,7 +701,7 @@
|
||||
* *weechat.network.gnutls_ca_file*
|
||||
** description: `file containing the certificate authorities ("%h" will be replaced by WeeChat home, "~/.weechat" by default)`
|
||||
** type: string
|
||||
** values: any string (default value: `"%h/ssl/CAs.pem"`)
|
||||
** values: any string (default value: `"/etc/ssl/certs/ca-certificates.crt"`)
|
||||
|
||||
* *weechat.network.gnutls_handshake_timeout*
|
||||
** description: `timeout (in seconds) for gnutls handshake`
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
[[command_xfer_me]]
|
||||
[command]*`me`* send a CTCP action to remote host::
|
||||
........................................
|
||||
/me <message>
|
||||
@@ -5,6 +6,7 @@
|
||||
message: message to send
|
||||
........................................
|
||||
|
||||
[[command_xfer_xfer]]
|
||||
[command]*`xfer`* xfer control::
|
||||
........................................
|
||||
/xfer [list|listfull]
|
||||
|
||||
+187
-64
@@ -3,6 +3,10 @@ WeeChat FAQ (Frequently Asked Questions)
|
||||
Sébastien Helleu <flashcode@flashtux.org>
|
||||
|
||||
|
||||
[NOTE]
|
||||
This document is written for WeeChat versions ≥ 0.3.0.
|
||||
|
||||
|
||||
[[general]]
|
||||
General
|
||||
-------
|
||||
@@ -24,7 +28,7 @@ Why choose WeeChat? X-Chat and Irssi are so good...
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Because WeeChat is very light and has new features.
|
||||
Some features (version > = 0.3.x):
|
||||
Some features (version ≥ 0.3.x):
|
||||
|
||||
* multi-protocol support via plugins (IRC, Jabber)
|
||||
* many remote GUI's in addition to Curses (coming soon)
|
||||
@@ -35,7 +39,8 @@ Some features (version > = 0.3.x):
|
||||
* display filtering by tags and regular expressions
|
||||
* horizontal and vertical window split
|
||||
* customizable and extensible bars
|
||||
* nicklist available in all GUI's
|
||||
* native nicklist
|
||||
* list of buffers (script buffers.pl)
|
||||
* IRC proxy
|
||||
* redirection of IRC commands
|
||||
* incremental text search in buffers, jump to highlights
|
||||
@@ -98,11 +103,7 @@ Display
|
||||
I don't see some chars with accents, what can I do?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
It's common issue, please read carefully and check *ALL* solutions below.
|
||||
|
||||
For versions < 0.2.3, please upgrade to the latest stable version.
|
||||
|
||||
For versions > = 0.2.3:
|
||||
It's common issue, please read carefully and check *ALL* solutions below:
|
||||
|
||||
* check that weechat-curses is linked to libncursesw (warning: needed on most
|
||||
distributions but not all): `ldd /path/to/weechat-curses`
|
||||
@@ -112,8 +113,7 @@ For versions > = 0.2.3:
|
||||
'UTF-8' for terminal charset. If you see 'ANSI_X3.4-1968' or other values,
|
||||
your locale is probably wrong.
|
||||
* setup global decode value, for example:
|
||||
** with WeeChat < = 0.2.6: `/setp charset.global.decode = ISO-8859-15`
|
||||
** with WeeChat > = 0.3.x: `/set charset.default.decode "ISO-8859-15"`
|
||||
`/set charset.default.decode "ISO-8859-15"`
|
||||
* if you are using UTF-8 locale:
|
||||
** check that your terminal is UTF-8 ready (terminal recommended for UTF-8 is
|
||||
rxvt-unicode)
|
||||
@@ -136,18 +136,19 @@ output of `echo $TERM` in your terminal).
|
||||
Depending on where you launch WeeChat, you should have:
|
||||
|
||||
* if WeeChat runs locally or on a remote machine without screen, it depends on
|
||||
the terminal used: 'xterm', 'rxvt', ..
|
||||
* if WeeChat runs under screen, you should have 'screen'.
|
||||
the terminal used: 'xterm', 'xterm-256color', 'rxvt-unicode',
|
||||
'rxvt-256color', ...
|
||||
* if WeeChat runs under screen, you should have 'screen' or 'screen-256color'.
|
||||
|
||||
If needed, fix your TERM variable: `export TERM="xxx"`.
|
||||
|
||||
|
||||
[[screen_weird_chars]]
|
||||
When I'm using weechat under screen, I have weird random chars, how do I fix that?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
When I'm using weechat under screen/tmux, I have weird random chars, how do I fix that?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
This may be caused by bad value of the TERM variable in your shell (look at
|
||||
output of `echo $TERM` in your terminal).
|
||||
output of `echo $TERM` in your terminal, *outside screen/tmux*).
|
||||
|
||||
For example, 'xterm-color' may display such weird chars, you can use 'xterm'
|
||||
which is ok (like many other values).
|
||||
@@ -180,6 +181,42 @@ Each window displays one buffer. A buffer can be hidden (not displayed by a
|
||||
window) or displayed by one or more windows.
|
||||
|
||||
|
||||
[[buffers_list]]
|
||||
How to display the buffers list on the left side?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Use script 'buffers.pl'.
|
||||
|
||||
To limit size of bar:
|
||||
|
||||
----------------------------------------
|
||||
/set weechat.bar.buffers.size_max 15
|
||||
----------------------------------------
|
||||
|
||||
To move bar to bottom:
|
||||
|
||||
----------------------------------------
|
||||
/set weechat.bar.buffers.position bottom
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[customize_prefix]]
|
||||
How can I reduce length of nicks or remove nick alignment in chat area?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
To reduce max length of nicks in chat area:
|
||||
|
||||
----------------------------------------
|
||||
/set weechat.look.prefix_align_max 15
|
||||
----------------------------------------
|
||||
|
||||
To remove nick alignment:
|
||||
|
||||
----------------------------------------
|
||||
/set weechat.look.prefix_align none
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[one_input_root_bar]]
|
||||
Is it possible to display only one input bar for all windows (after split)?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -212,20 +249,37 @@ konsole, gnome-terminal, ...). Key is usually @k(C-)@k(A-) mouse selection.
|
||||
|
||||
Another solution is to move nicklist to top or bottom, for example:
|
||||
|
||||
* with WeeChat < = 0.2.6: +
|
||||
`set look_nicklist_position = top`
|
||||
* with WeeChat > = 0.3.x: +
|
||||
`/bar set nicklist position top`
|
||||
----------------------------------------
|
||||
/set weechat.bar.nicklist.position top
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[urls]]
|
||||
How can I click on long URLs (more than one line)?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
WeeChat displays time and prefix for each line and optional bars around chat
|
||||
area, so it is not possible to display long URLs without truncating them.
|
||||
By default, WeeChat displays time and prefix for each line and optional bars
|
||||
around chat area. To make easier url click, you can move nicklist to top and
|
||||
remove alignment on nick:
|
||||
|
||||
You can use one of following scripts:
|
||||
----------------------------------------
|
||||
/set weechat.bar.nicklist.position top
|
||||
/set weechat.look.prefix_align none
|
||||
----------------------------------------
|
||||
|
||||
With WeeChat ≥ 0.3.6, you can enable option "eat_newline_glitch", so that
|
||||
new line char is not added at the end of each line displayed (it will not break
|
||||
url selection):
|
||||
|
||||
----------------------------------------
|
||||
/set weechat.look.eat_newline_glitch on
|
||||
----------------------------------------
|
||||
|
||||
[IMPORTANT]
|
||||
This option may cause display bugs. If you experience such problem, you must
|
||||
turn off this option.
|
||||
|
||||
Other solution is to use one of following scripts:
|
||||
|
||||
urlbar.py::
|
||||
display URLs in a bar
|
||||
@@ -261,7 +315,7 @@ can issue: `/shell setenv LANG=en_US`.
|
||||
How can I use 256 colors in WeeChat?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
256 colors are supported with WeeChat 0.3.4 or newer.
|
||||
256 colors are supported with WeeChat ≥ 0.3.4.
|
||||
|
||||
First check that your 'TERM' environment variable is correct, recommended values
|
||||
are:
|
||||
@@ -289,12 +343,22 @@ don't panic! You can change it without restarting, thanks to script 'shell.py':
|
||||
|
||||
For version 0.3.4, you must use command `/color` to add new colors.
|
||||
|
||||
For versions > = 0.3.5, you can use any color number in options (optional: you
|
||||
For versions ≥ 0.3.5, you can use any color number in options (optional: you
|
||||
can add color aliases with command `/color`).
|
||||
|
||||
Please read user's guide for more information about colors management.
|
||||
|
||||
|
||||
[[search_text]]
|
||||
How can I search text in buffer (like /lastlog in irssi)?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
The default key is @k(C-)@k(r) (command is: `/input search_text`).
|
||||
And jump to highlights: @k(A-)@k(p)/@k(n).
|
||||
|
||||
See user's guide for more info about this feature (default key bindings).
|
||||
|
||||
|
||||
[[key_bindings]]
|
||||
Key bindings
|
||||
------------
|
||||
@@ -363,6 +427,53 @@ Keys "meta2-A" and "meta2-B" may be different in your terminal. To find key
|
||||
code press @k(A-)@k(k) then key (up or down).
|
||||
|
||||
|
||||
[[mouse]]
|
||||
Mouse
|
||||
-----
|
||||
|
||||
|
||||
[[mouse_not_working]]
|
||||
Mouse is not working at all, what can I do?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Mouse is supported with WeeChat ≥ 0.3.6.
|
||||
|
||||
First try to enable mouse:
|
||||
|
||||
----------------------------------------
|
||||
/mouse enable
|
||||
----------------------------------------
|
||||
|
||||
If mouse is still not working, check the TERM variable in your shell (look at
|
||||
output of `echo $TERM` in your terminal).
|
||||
According to terminfo used, mouse may not be supported.
|
||||
|
||||
You can test mouse support in terminal:
|
||||
|
||||
----------------------------------------
|
||||
$ printf '\033[?1002h'
|
||||
----------------------------------------
|
||||
|
||||
And then click on first char of terminal (upper left). You should see " !!#!!".
|
||||
|
||||
To disable mouse in terminal:
|
||||
|
||||
----------------------------------------
|
||||
$ printf '\033[?1002l'
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[mouse_coords]]
|
||||
Mouse does nothing for X or Y greater than 94, why?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Some terminals are sending only ISO chars for mouse coordinates, so it does not
|
||||
work for X/Y greater than 94.
|
||||
|
||||
You should use a terminal that supports UTF-8 coordinates for mouse, like
|
||||
rxvt-unicode.
|
||||
|
||||
|
||||
[[irc]]
|
||||
IRC
|
||||
---
|
||||
@@ -390,24 +501,21 @@ disable filters (by default, the key @k(A-)@k(=) toggles filters).
|
||||
How can I filter join/part/quit messages on IRC channels?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
According to WeeChat version:
|
||||
With smart filter (keep join/part/quit from users who spoke recently):
|
||||
|
||||
* with WeeChat < = 0.2.6: +
|
||||
`/ignore * join #weechat freenode` +
|
||||
`/ignore * part #weechat freenode` +
|
||||
`/ignore * quit #weechat freenode` +
|
||||
(channel and/or server may be "*", `/help ignore` for help)
|
||||
----------------------------------------
|
||||
/set irc.look.smart_filter on
|
||||
/filter add irc_smart * irc_smart_filter *
|
||||
----------------------------------------
|
||||
|
||||
* with WeeChat > = 0.3.x:
|
||||
With a global filter (hide *all* join/part/quit):
|
||||
|
||||
** smart filter (keep join/part/quit from users who spoke recently): +
|
||||
`/set irc.look.smart_filter on` +
|
||||
`/filter add irc_smart * irc_smart_filter *` +
|
||||
(`/help irc.look.smart_filter` and `/help filter` for help)
|
||||
----------------------------------------
|
||||
/filter add jpk * irc_join,irc_part,irc_quit *
|
||||
----------------------------------------
|
||||
|
||||
** global filter (hide *all* join/part/quit): +
|
||||
`/filter add jpk * irc_join,irc_part,irc_quit *` +
|
||||
(`/help filter` for help)
|
||||
[NOTE]
|
||||
For help: `/help filter` and `/help irc.look.smart_filter`
|
||||
|
||||
|
||||
[[filter_irc_join_channel_messages]]
|
||||
@@ -446,7 +554,14 @@ If you want to do that, it's probably because Bitlbee is using voice to show
|
||||
away users, and you are flooded with voice messages. Therefore, you can change
|
||||
that and let WeeChat use a special color for away nicks in nicklist.
|
||||
|
||||
On channel '&bitlbee', do:
|
||||
For Bitlbee ≥ 3, do that on channel '&bitlbee':
|
||||
|
||||
----------------------------------------
|
||||
channel set show_users online,away
|
||||
----------------------------------------
|
||||
|
||||
For older version of Bitlbee, do that on channel '&bitlbee':
|
||||
|
||||
----------------------------------------
|
||||
set away_devoice false
|
||||
----------------------------------------
|
||||
@@ -454,6 +569,13 @@ set away_devoice false
|
||||
For checking away nicks in WeeChat, see question about
|
||||
<<color_away_nicks,away nicks>>.
|
||||
|
||||
If you really want to filter voice messages, you can use this command, but this
|
||||
is not perfect (will work only if first mode changed is voice):
|
||||
|
||||
----------------------------------------
|
||||
/filter add hidevoices * irc_mode \(\+\|\-\)v
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[color_away_nicks]]
|
||||
How can I see away nicks in nicklist?
|
||||
@@ -474,7 +596,7 @@ nicks:
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
For WeeChat < = 0.3.3, options are 'irc.network.away_check' and
|
||||
For WeeChat ≤ 0.3.3, options are 'irc.network.away_check' and
|
||||
'irc.network.away_check_max_nicks'.
|
||||
|
||||
|
||||
@@ -482,19 +604,15 @@ For WeeChat < = 0.3.3, options are 'irc.network.away_check' and
|
||||
How can I be warned when someone highlights me on a channel?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
According to WeeChat version:
|
||||
You can use a script like 'beep.pl' or 'launcher.pl'.
|
||||
|
||||
* with WeeChat < = 0.2.6: use script 'sound.pl' (available on scripts page),
|
||||
and then setup a system command (to play sound, display message, ..) with
|
||||
this command: +
|
||||
`/setp perl.sound.cmd_highlight = "/path/to/command arguments"`
|
||||
* with WeeChat > = 0.3.x: use script 'launcher.pl' (available on scripts page),
|
||||
and then setup a system command (to play sound, display message, ..) with
|
||||
this command: +
|
||||
`/set plugins.var.perl.launcher.signal.weechat_highlight "/path/to/command arguments"`
|
||||
For 'launcher.pl', you have to setup command:
|
||||
|
||||
Many other scripts exist for notification, please look at plugins/scripts page:
|
||||
http://www.weechat.org/scripts
|
||||
----------------------------------------
|
||||
/set plugins.var.perl.launcher.signal.weechat_highlight "/path/to/command arguments"
|
||||
----------------------------------------
|
||||
|
||||
Other scripts on this subject: http://www.weechat.org/scripts/stable/tag/notify/
|
||||
|
||||
|
||||
[[irc_ssl_connection]]
|
||||
@@ -520,17 +638,17 @@ connection will be less secure by doing that):
|
||||
How can I connect to freenode server using SSL?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
You must download certificate, convert it, then add it in WeeChat:
|
||||
Set option 'weechat.network.gnutls_ca_file' to file with certificates:
|
||||
|
||||
----------------------------------------
|
||||
$ cd /tmp
|
||||
$ wget http://crt.gandi.net/GandiStandardSSLCA.crt
|
||||
$ openssl x509 -inform der -outform pem < GandiStandardSSLCA.crt > GandiStandardSSLCA.pem
|
||||
$ mkdir ~/.weechat/ssl
|
||||
$ cat GandiStandardSSLCA.pem >>~/.weechat/ssl/CAs.pem
|
||||
/set weechat.network.gnutls_ca_file "/etc/ssl/certs/ca-certificates.crt"
|
||||
----------------------------------------
|
||||
|
||||
Under WeeChat, setup server port, SSL, dhkey_size, then connect:
|
||||
[NOTE]
|
||||
Check that you have this file on your system (commonly brought by package
|
||||
"ca-certificates").
|
||||
|
||||
Setup server port, SSL, dhkey_size, then connect:
|
||||
|
||||
----------------------------------------
|
||||
/set irc.server.freenode.addresses "chat.freenode.net/7000"
|
||||
@@ -540,6 +658,13 @@ Under WeeChat, setup server port, SSL, dhkey_size, then connect:
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[irc_target_buffer]]
|
||||
How can I change target buffer for commands on merged buffers (like buffer with servers)?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
The default key is @k(C-)@k(x) (command is: `/input switch_active_buffer`).
|
||||
|
||||
|
||||
[[plugins_scripts]]
|
||||
Plugins / scripts
|
||||
-----------------
|
||||
@@ -553,12 +678,10 @@ Under OpenBSD, plugin filenames end with ".so.0.0" (".so" for Linux).
|
||||
|
||||
You must set that up:
|
||||
|
||||
* with WeeChat < = 0.2.6: +
|
||||
`/set plugins_extension = ".so.0.0"`
|
||||
* with WeeChat > = 0.3.x: +
|
||||
`/set weechat.plugin.extension ".so.0.0"`
|
||||
|
||||
Then: `/plugin autoload`.
|
||||
----------------------------------------
|
||||
/set weechat.plugin.extension ".so.0.0"
|
||||
/plugin autoload
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[load_scripts]]
|
||||
@@ -574,7 +697,7 @@ Notes:
|
||||
|
||||
* scripts in '~/.weechat/<language>/autoload/' are automatically loaded when
|
||||
WeeChat is starting up.
|
||||
* a 'tcl' plugin is available with version > = 0.3.0.
|
||||
* a 'tcl' plugin is available with version ≥ 0.3.0.
|
||||
|
||||
|
||||
[[settings]]
|
||||
|
||||
+1281
-14
File diff suppressed because it is too large
Load Diff
@@ -57,7 +57,7 @@ Core vs plugins
|
||||
|
||||
WeeChat "core" is only used to display data on screen and interact with
|
||||
the user, that means weechat core without plugins is useless
|
||||
(faithful users: IRC was part of core for versions < = 0.2.6).
|
||||
(faithful users: IRC was part of core for versions ≤ 0.2.6).
|
||||
|
||||
All network protocols like IRC are provided in separate plugins.
|
||||
|
||||
|
||||
@@ -243,14 +243,15 @@ List of functions in script API:
|
||||
plugin_get_name
|
||||
| strings |
|
||||
charset_set, iconv_to_internal, iconv_from_internal, gettext, ngettext, +
|
||||
string_match, string_has_highlight, string_mask_to_regex,
|
||||
string_remove_color, string_is_command_char, string_input_for_buffer
|
||||
string_match, string_has_highlight, string_has_highlight_regex,
|
||||
string_mask_to_regex, string_remove_color, string_is_command_char,
|
||||
string_input_for_buffer
|
||||
| directories |
|
||||
mkdir_home, mkdir, mkdir_parents
|
||||
| sorted lists |
|
||||
list_new, list_add, list_search, list_casesearch, list_get, list_set,
|
||||
list_next, list_prev, list_string, list_size, list_remove, list_remove_all,
|
||||
list_free
|
||||
list_new, list_add, list_search, list_search_pos, list_casesearch,
|
||||
list_casesearch_pos, list_get, list_set, list_next, list_prev, list_string,
|
||||
list_size, list_remove, list_remove_all, list_free
|
||||
| configuration files |
|
||||
config_new, config_new_section, config_search_section, config_new_option,
|
||||
config_search_option, +
|
||||
@@ -264,7 +265,9 @@ List of functions in script API:
|
||||
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
|
||||
config_set_desc_plugin, config_unset_plugin
|
||||
| key bindings |
|
||||
key_bind, key_unbind
|
||||
| display |
|
||||
prefix, color, print (for python: prnt), print_date_tags (for python:
|
||||
prnt_date_tags), print_y (for python: prnt_y), log_print
|
||||
@@ -273,15 +276,15 @@ List of functions in script API:
|
||||
hook_connect, hook_print, hook_signal, hook_signal_send, hook_hsignal,
|
||||
hook_hsignal_send, hook_config, hook_completion, hook_completion_list_add,
|
||||
hook_modifier, hook_modifier_exec, hook_info, hook_info_hashtable,
|
||||
hook_infolist, unhook, unhook_all
|
||||
hook_infolist, hook_focus, unhook, unhook_all
|
||||
| buffers |
|
||||
buffer_new, current_buffer, buffer_search, buffer_search_main, buffer_clear,
|
||||
buffer_close, buffer_merge, buffer_unmerge, buffer_get_integer,
|
||||
buffer_get_string, buffer_get_pointer, buffer_set,
|
||||
buffer_string_replace_local_var
|
||||
buffer_string_replace_local_var, buffer_match_list
|
||||
| windows |
|
||||
current_window, window_get_integer, window_get_string, window_get_pointer,
|
||||
window_set_title
|
||||
current_window, window_search_with_buffer, window_get_integer,
|
||||
window_get_string, window_get_pointer, window_set_title
|
||||
| nicklist |
|
||||
nicklist_add_group, nicklist_search_group, nicklist_add_nick,
|
||||
nicklist_search_nick, nicklist_remove_group, nicklist_remove_nick,
|
||||
@@ -301,6 +304,10 @@ List of functions in script API:
|
||||
infolist_get, infolist_next, infolist_prev, infolist_reset_item_cursor, +
|
||||
infolist_fields, infolist_integer, infolist_string, infolist_pointer, +
|
||||
infolist_time, infolist_free
|
||||
| hdata |
|
||||
hdata_get, hdata_get_var_offset, hdata_get_var_type_string,
|
||||
hdata_get_var_hdata, hdata_get_list, hdata_move, hdata_integer, hdata_long,
|
||||
hdata_string, hdata_pointer, hdata_time, hdata_get_string
|
||||
| upgrade |
|
||||
upgrade_new, upgrade_write_object, upgrade_read, upgrade_close
|
||||
|========================================
|
||||
@@ -706,17 +713,17 @@ weechat.hook_modifier("irc_in_privmsg", "modifier_cb", "")
|
||||
[WARNING]
|
||||
A malformed message could crash WeeChat or cause severe problems!
|
||||
|
||||
[[irc_parse_message]]
|
||||
[[irc_message_parse]]
|
||||
Parse message
|
||||
^^^^^^^^^^^^^
|
||||
|
||||
_New in version 0.3.4._
|
||||
|
||||
You can parse an IRC message with info_hashtable called "irc_parse_message".
|
||||
You can parse an IRC message with info_hashtable called "irc_message_parse".
|
||||
|
||||
[source,python]
|
||||
----------------------------------------
|
||||
dict = weechat.info_get_hashtable("irc_parse_message",
|
||||
dict = weechat.info_get_hashtable("irc_message_parse",
|
||||
{ "message": ":nick!user@host PRIVMSG #weechat :message here" })
|
||||
weechat.prnt("", "dict: %s" % dict)
|
||||
|
||||
@@ -747,7 +754,7 @@ else:
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
Versions < = 0.3.1.1 return empty string for 'info_get("version_number")' so you
|
||||
Versions ≤ 0.3.1.1 return empty string for 'info_get("version_number")' so you
|
||||
must check that value returned is *not* empty.
|
||||
|
||||
To get version as string:
|
||||
|
||||
+335
-58
@@ -88,19 +88,21 @@ compile WeeChat.
|
||||
|
||||
[width="80%",cols="4,^2,13",options="header"]
|
||||
|========================================
|
||||
| Package ^(1)^ | Required | Feature
|
||||
| cmake | *yes* | build (autotools still possible, but cmake is recommended)
|
||||
| libncursesw5-dev ^(2)^ | *yes* | ncurses interface
|
||||
| libgcrypt11-dev | no | SASL authentication with IRC server using DH-BLOWFISH mechanism
|
||||
| libgnutls-dev (>= 2.2.0) | no | SSL connection to IRC server
|
||||
| libaspell-dev | no | aspell plugin
|
||||
| libperl-dev | no | perl plugin
|
||||
| python-dev | no | python plugin
|
||||
| ruby1.8-dev | no | ruby plugin
|
||||
| liblua5.1-0-dev | no | lua plugin
|
||||
| tcl-dev (>= 8.5) | no | tcl plugin
|
||||
| asciidoc (>= 8.5.0) | no | build documentation (HTML files)
|
||||
| source-highlight | no | syntax highlight for sources in HTML documentation
|
||||
| Package ^(1)^ | Required | Feature
|
||||
| cmake | *yes* | build (autotools still possible, but cmake is recommended)
|
||||
| libncursesw5-dev ^(2)^ | *yes* | ncurses interface
|
||||
| gettext | no | internationalization (translation of messages; base language is english)
|
||||
| libgcrypt11-dev | no | SASL authentication with IRC server using DH-BLOWFISH mechanism
|
||||
| libgnutls-dev (≥ 2.2.0) | no | SSL connection to IRC server
|
||||
| ca-certificates | no | certificates for SSL connections
|
||||
| libaspell-dev | no | aspell plugin
|
||||
| libperl-dev | no | perl plugin
|
||||
| python-dev | no | python plugin
|
||||
| ruby1.8-dev | no | ruby plugin
|
||||
| liblua5.1-0-dev | no | lua plugin
|
||||
| tcl-dev (≥ 8.5) | no | tcl plugin
|
||||
| asciidoc (≥ 8.5.0) | no | build documentation (HTML files)
|
||||
| source-highlight | no | syntax highlight for sources in HTML documentation
|
||||
|========================================
|
||||
|
||||
[NOTE]
|
||||
@@ -269,6 +271,23 @@ crash.
|
||||
|
||||
Thank you for your help!
|
||||
|
||||
[[debug_running_weechat]]
|
||||
Debug a running WeeChat
|
||||
^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
To debug a running WeeChat (for example if WeeChat seems blocked), you can use
|
||||
gdb with process id (replace '12345' with PID of weechat-curses process):
|
||||
|
||||
----------------------------------------
|
||||
gdb /usr/bin/weechat-curses 12345
|
||||
----------------------------------------
|
||||
|
||||
Then like for a crash, use command `bt full`:
|
||||
|
||||
----------------------------------------
|
||||
(gdb) bt full
|
||||
----------------------------------------
|
||||
|
||||
|
||||
[[usage]]
|
||||
Usage
|
||||
@@ -411,20 +430,20 @@ Default key bindings
|
||||
Keys for command line
|
||||
^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
[width="100%",cols="^.^3,.^10,.^5m",options="header"]
|
||||
[width="100%",cols="^.^3,.^10,.^5l",options="header"]
|
||||
|========================================
|
||||
| Key | Description | Command
|
||||
| @k(←) .2+| Go to previous char in command line .2+| /input move_previous_char
|
||||
| @k(←) .2+| Go to previous char in command line .2+| /input move_previous_char
|
||||
| @k(C-)@k(b)
|
||||
| @k(→) .2+| Go to next char in command line .2+| /input move_next_char
|
||||
| @k(→) .2+| Go to next char in command line .2+| /input move_next_char
|
||||
| @k(C-)@k(f)
|
||||
| @k(C-)@k(←) .2+| Go to previous word in command line .2+| /input move_previous_word
|
||||
| @k(C-)@k(←) .2+| Go to previous word in command line .2+| /input move_previous_word
|
||||
| @k(A-)@k(b)
|
||||
| @k(C-)@k(→) .2+| Go to next word in command line .2+| /input move_next_word
|
||||
| @k(C-)@k(→) .2+| Go to next word in command line .2+| /input move_next_word
|
||||
| @k(A-)@k(f)
|
||||
| @k(Home) .2+| Go to the beginning of command line .2+| /input move_beginning_of_line
|
||||
| @k(Home) .2+| Go to the beginning of command line .2+| /input move_beginning_of_line
|
||||
| @k(C-)@k(a)
|
||||
| @k(End) .2+| Go to the end of command line .2+| /input move_end_of_line
|
||||
| @k(End) .2+| Go to the end of command line .2+| /input move_end_of_line
|
||||
| @k(C-)@k(e)
|
||||
| @k(C-)@k(c) , @k(b) | Insert code for bold text | /input insert \x02
|
||||
| @k(C-)@k(c) , @k(c) | Insert code for colored text | /input insert \x03
|
||||
@@ -432,12 +451,12 @@ Keys for command line
|
||||
| @k(C-)@k(c) , @k(o) | Insert code for color reset | /input insert \x0F
|
||||
| @k(C-)@k(c) , @k(r) | Insert code for reverse color | /input insert \x12
|
||||
| @k(C-)@k(c) , @k(u) | Insert code for underlined text | /input insert \x15
|
||||
| @k(Del) .2+| Delete next char in command line .2+| /input delete_next_char
|
||||
| @k(Del) .2+| Delete next char in command line .2+| /input delete_next_char
|
||||
| @k(C-)@k(d)
|
||||
| @k(Backsp.) .2+| Delete previous char in command line .2+| /input delete_previous_char
|
||||
| @k(Backsp.) .2+| Delete previous char in command line .2+| /input delete_previous_char
|
||||
| @k(C-)@k(h)
|
||||
| @k(C-)@k(k) | Delete from cursor until end of command line (deleted string is copied to clipboard) | /input delete_end_of_line
|
||||
| @k(C-)@k(r) | Search for text in buffer history (two times: search exact text), @k(↑): previous, @k(↓): next, @k(Enter): stop | /input search_text
|
||||
| @k(C-)@k(r) | Search for text in buffer history (see <<key_bindings_search_context,keys for search context>>) | /input search_text
|
||||
| @k(C-)@k(t) | Transpose chars | /input transpose_chars
|
||||
| @k(C-)@k(u) | Delete from cursor until beginning of command line (deleted string is copied to clipboard) | /input delete_beginning_of_line
|
||||
| @k(C-)@k(w) | Delete previous word of command line (deleted string is copied to clipboard) | /input delete_previous_word
|
||||
@@ -446,7 +465,7 @@ Keys for command line
|
||||
| @k(A-)@k(_) | Redo last action on command line | /input redo
|
||||
| @k(Tab) | Complete command or nick (@k(Tab) again: find next completion) | /input complete_next
|
||||
| @k(S-)@k(Tab) | Without completion: do a partial completion, with pending completion: complete with previous completion | /input complete_previous
|
||||
| @k(Enter) .3+| Execute command or send message (in search mode: stop search) .3+| /input return
|
||||
| @k(Enter) .3+| Execute command or send message (in search mode: stop search) .3+| /input return
|
||||
| @k(C-)@k(j)
|
||||
| @k(C-)@k(m)
|
||||
| @k(↑) | Call previous command/message (in search mode: search up) | /input history_previous
|
||||
@@ -462,7 +481,7 @@ Keys for command line
|
||||
Keys for buffers / windows
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
[width="100%",cols="^.^3,.^10,.^5m",options="header"]
|
||||
[width="100%",cols="^.^3,.^10,.^5l",options="header"]
|
||||
|========================================
|
||||
| Key | Description | Command
|
||||
| @k(C-)@k(l) | Redraw whole window | /window refresh
|
||||
@@ -474,28 +493,30 @@ Keys for buffers / windows
|
||||
| @k(A-)@k(PgDn) | Scroll down a few lines in buffer history | /window scroll_down
|
||||
| @k(A-)@k(Home) | Scroll to top of buffer | /window scroll_top
|
||||
| @k(A-)@k(End) | Scroll to bottom of buffer | /window scroll_bottom
|
||||
| @k(A-)@k(←) .4+| Switch to previous buffer .4+| /buffer -1
|
||||
| @k(A-)@k(←) .4+| Switch to previous buffer .4+| /buffer -1
|
||||
| @k(A-)@k(↑)
|
||||
| @k(C-)@k(p)
|
||||
| @k(F5)
|
||||
| @k(A-)@k(→) .4+| Switch to next buffer .4+| /buffer +1
|
||||
| @k(A-)@k(→) .4+| Switch to next buffer .4+| /buffer +1
|
||||
| @k(A-)@k(↓)
|
||||
| @k(C-)@k(n)
|
||||
| @k(F6)
|
||||
| @k(F7) | Switch to previous window | /window -1
|
||||
| @k(F8) | Switch to next window | /window +1
|
||||
| @k(F9) | Scroll buffer's title on the left | /bar scroll title * x-50%
|
||||
| @k(F10) | Scroll buffer's title on the right | /bar scroll title * x+50%
|
||||
| @k(F11) | Scroll up one page in nicklist | /bar scroll nicklist * y-100%
|
||||
| @k(F12) | Scroll down one page in nicklist | /bar scroll nicklist * y+100%
|
||||
| @k(A-)@k(F11) | Go to the beginning of nicklist | /bar scroll nicklist * yb
|
||||
| @k(A-)@k(F12) | Go to the end of nicklist | /bar scroll nicklist * ye
|
||||
| @k(F9) | Scroll buffer's title on the left | /bar scroll title * -30%
|
||||
| @k(F10) | Scroll buffer's title on the right | /bar scroll title * +30%
|
||||
| @k(F11) | Scroll up one page in nicklist | /bar scroll nicklist * -100%
|
||||
| @k(F12) | Scroll down one page in nicklist | /bar scroll nicklist * +100%
|
||||
| @k(A-)@k(F11) | Go to the beginning of nicklist | /bar scroll nicklist * b
|
||||
| @k(A-)@k(F12) | Go to the end of nicklist | /bar scroll nicklist * e
|
||||
| @k(A-)@k(a) | Switch to next buffer with activity (with priority: highlight, message, other) | /input jump_smart
|
||||
| @k(A-)@k(h) | Clear hotlist (activity notification on other buffers) | /input hotlist_clear
|
||||
| @k(A-)@k(j) , @k(A-)@k(l) | Switch to last buffer | /input jump_last_buffer
|
||||
| @k(A-)@k(j) , @k(A-)@k(r) | Switch to IRC raw buffer | /server raw
|
||||
| @k(A-)@k(j) , @k(A-)@k(s) | Switch to IRC server buffer | /server jump
|
||||
| @k(A-)@k(0...9) | Switch to buffer by number (0 = 10) | /buffer *N
|
||||
| @k(A-)@k(j) , @k(01...99) | Switch to buffer by number | /buffer NN
|
||||
| @k(A-)@k(m) | Toggle mouse | /mouse toggle
|
||||
| @k(A-)@k(n) | Scroll to next highlight | /window scroll_next_highlight
|
||||
| @k(A-)@k(p) | Scroll to previous highlight | /window scroll_previous_highlight
|
||||
| @k(A-)@k(u) | Scroll to first unread line in buffer | /input scroll_unread
|
||||
@@ -508,19 +529,195 @@ Keys for buffers / windows
|
||||
| @k(A-)@k(z) | Zoom on current window (@k(A-)@k(z) again: restore initial windows state, before zoom) | /window zoom
|
||||
| @k(A-)@k(<) | Switch to previous buffer in list of visited buffers | /input jump_previously_visited_buffer
|
||||
| @k(A-)@k(>) | Switch to next buffer in list of visited buffers | /input jump_next_visited_buffer
|
||||
| @k(A-)@k(=) | Toggle filters on/off | /filter toggle
|
||||
|========================================
|
||||
|
||||
[[key_bindings_other]]
|
||||
Other keys
|
||||
^^^^^^^^^^
|
||||
[[key_bindings_search_context]]
|
||||
Keys for "search" context
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
[width="100%",cols="^.^3,.^10,.^5m",options="header"]
|
||||
These keys are used in context "search" (when @k(C-)@k(r) is pressed to search
|
||||
text in buffer).
|
||||
|
||||
[width="100%",cols="^.^3,.^10,.^5l",options="header"]
|
||||
|========================================
|
||||
| Key | Description | Command
|
||||
| @k(A-)@k(h) | Clear hotlist (activity notification on other buffers) | /input hotlist_clear
|
||||
| @k(A-)@k(=) | Toggle filters on/off | /filter toggle
|
||||
| Key | Description | Command
|
||||
| @k(C-)@k(r) | Switch exact case for search | /input search_switch_case
|
||||
| @k(↑) | Search previous line | /input search_previous
|
||||
| @k(↓) | Search next line | /input search_next
|
||||
| @k(Enter) .3+| Stop search .3+| /input search_stop
|
||||
| @k(C-)@k(j)
|
||||
| @k(C-)@k(m)
|
||||
|========================================
|
||||
|
||||
[[key_bindings_cursor_context]]
|
||||
Keys for "cursor" context
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
These keys are used in context "cursor" (free movement of cursor on screen).
|
||||
|
||||
[width="100%",cols="^.^3,^.^3,.^10,.^8l",options="header"]
|
||||
|========================================
|
||||
| Key | Area | Description | Command
|
||||
| @k(↑) | - | Move cursor one line up | /cursor move up
|
||||
| @k(↓) | - | Move cursor one line down | /cursor move down
|
||||
| @k(←) | - | Move cursor one column left | /cursor move left
|
||||
| @k(→) | - | Move cursor one column right | /cursor move right
|
||||
| @k(A-)@k(↑) | - | Move cursor one area up | /cursor move area_up
|
||||
| @k(A-)@k(↓) | - | Move cursor one area down | /cursor move area_down
|
||||
| @k(A-)@k(←) | - | Move cursor one area left | /cursor move area_left
|
||||
| @k(A-)@k(→) | - | Move cursor one area right | /cursor move area_right
|
||||
| @k(m) | chat | Quote message | hsignal:chat_quote_message;/cursor stop
|
||||
| @k(q) | chat | Quote prefix + message | hsignal:chat_quote_prefix_message;/cursor stop
|
||||
| @k(Q) | chat | Quote time + prefix + message | hsignal:chat_quote_time_prefix_message;/cursor stop
|
||||
| @k(b) | nicklist | Ban nick | /window ${_window_number};/ban ${nick}
|
||||
| @k(k) | nicklist | Kick nick | /window ${_window_number};/kick ${nick}
|
||||
| @k(K) | nicklist | Kick and ban nick | /window ${_window_number};/kickban ${nick}
|
||||
| @k(q) | nicklist | Open query with nick | /window ${_window_number};/query ${nick};/cursor stop
|
||||
| @k(w) | nicklist | Do a whois on nick | /window ${_window_number};/whois ${nick}
|
||||
| @k(Enter) .3+| - .3+| Stop cursor mode .3+| /cursor stop
|
||||
| @k(C-)@k(j)
|
||||
| @k(C-)@k(m)
|
||||
|========================================
|
||||
|
||||
[[key_bindings_mouse_context]]
|
||||
Keys for "mouse" context
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
These keys are used in context "mouse", namely when a mouse event occurs.
|
||||
|
||||
[width="100%",cols="^.^3,^.^3,^.^3,.^10,.^8l",options="header"]
|
||||
|========================================
|
||||
| Button | Gesture | Area | Description | Command
|
||||
| ◾◽◽ | - | chat | Switch to window | /window ${_window_number}
|
||||
| ◾◽◽ | left | chat | Switch to previous buffer | /window ${_window_number};/buffer +1
|
||||
| ◾◽◽ | right | chat | Switch to next buffer | /window ${_window_number};/buffer +1
|
||||
| ◾◽◽ | left (long) | chat | Switch to first buffer | /window ${_window_number};/buffer 1
|
||||
| ◾◽◽ | right (long) | chat | Switch to last buffer | /window ${_window_number};/input jump_last_buffer
|
||||
| wheel ⇑ | - | chat | Scroll up a few lines in buffer history | /window scroll_up -window ${_window_number}
|
||||
| wheel ⇓ | - | chat | Scroll down a few lines in buffer history | /window scroll_down -window ${_window_number}
|
||||
| ◾◽◽ | up | nicklist | Scroll up one page in nicklist | /bar scroll nicklist ${_window_number} -100%
|
||||
| ◾◽◽ | down | nicklist | Scroll down one page in nicklist | /bar scroll nicklist ${_window_number} +100%
|
||||
| ◾◽◽ | up (long) | nicklist | Go to the beginning of nicklist | /bar scroll nicklist ${_window_number} b
|
||||
| ◾◽◽ | down (long) | nicklist | Go to the end of nicklist | /bar scroll nicklist ${_window_number} e
|
||||
| ◾◽◽ | - | nicklist | Open query with nick | /window ${_window_number};/query ${nick}
|
||||
| ◽◽◾ | - | nicklist | Do a whois on nick | /window ${_window_number};/whois ${nick}
|
||||
| ◾◽◽ | left | nicklist | Kick nick | /window ${_window_number};/kick ${nick}
|
||||
| ◾◽◽ | left (long) | nicklist | Kick and ban nick | /window ${_window_number};/kickban ${nick}
|
||||
| ◽◽◾ | left | nicklist | Ban nick | /window ${_window_number};/ban ${nick}
|
||||
| ◽◽◾ | - | input | Grab a mouse event and insert its code in command line | /input grab_mouse_area
|
||||
| wheel ⇑ | - | any bar | Scroll bar by -10% | /bar scroll ${_bar_name} ${_window_number} -20%
|
||||
| wheel ⇓ | - | any bar | Scroll bar by +10% | /bar scroll ${_bar_name} ${_window_number} +20%
|
||||
| ◽◾◽ | - | anywhere | Start cursor mode at this point | /cursor go ${_x},${_y}
|
||||
|========================================
|
||||
|
||||
[[mouse]]
|
||||
Mouse support
|
||||
~~~~~~~~~~~~~
|
||||
|
||||
WeeChat supports mouse clicks and gestures. It is working with local terminal,
|
||||
and remotely via ssh connection with or without screen/tmux.
|
||||
|
||||
[[mouse_enable]]
|
||||
Enable mouse
|
||||
^^^^^^^^^^^^
|
||||
|
||||
To enable mouse at startup:
|
||||
|
||||
----------------------------------------
|
||||
/set weechat.look.mouse on
|
||||
----------------------------------------
|
||||
|
||||
To enable mouse now, press @k(A-)@k(m) or do following command:
|
||||
|
||||
----------------------------------------
|
||||
/mouse enable
|
||||
----------------------------------------
|
||||
|
||||
It is possible to temporarily disable mouse, and bind that on a key. For example
|
||||
key @k(A-)@k(x) to disable mouse for 10 seconds:
|
||||
|
||||
----------------------------------------
|
||||
/key bind meta-x /mouse toggle 10
|
||||
----------------------------------------
|
||||
|
||||
When mouse is enabled in WeeChat, you can use "shift" modifier to select or
|
||||
click in terminal, as if the mouse was disabled (on some terminals like iTerm,
|
||||
you have to use "alt" instead of "shift").
|
||||
|
||||
[NOTE]
|
||||
For any problem with mouse, please look at 'WeeChat FAQ'.
|
||||
|
||||
[[mouse_bind_events]]
|
||||
Bind mouse events to commands
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
Many default mouse events are already defined by WeeChat (see
|
||||
<<key_bindings_mouse_context,keys for "mouse" context>>).
|
||||
|
||||
You can change or add bindings with the command `/key` using context "mouse"
|
||||
(for syntax, see <<command_weechat_key,command /key>>).
|
||||
|
||||
Event name consists of a modifier (optional), a button/wheel name and a gesture
|
||||
(optional). Different elements are separated by "-".
|
||||
|
||||
List of modifiers:
|
||||
|
||||
[width="50%",cols="3m,4",options="header"]
|
||||
|========================================
|
||||
| Modifier | Description
|
||||
| ctrl | key @k(-C-)
|
||||
| alt | key @k(-A-)
|
||||
| ctrl-alt | keys @k(-C-) and @k(-A-)
|
||||
|========================================
|
||||
|
||||
List of buttons/wheel:
|
||||
|
||||
[width="50%",cols="3m,4",options="header"]
|
||||
|========================================
|
||||
| Button/wheel | Description
|
||||
| button1 | click on left button
|
||||
| button2 | click on right button
|
||||
| button3 | click on middle button (often click on wheel)
|
||||
| button4 ... button9 | click on extra buttons
|
||||
| wheelup | wheel (up)
|
||||
| wheeldown | wheel (down)
|
||||
|========================================
|
||||
|
||||
List of gestures (only for buttons, not wheel):
|
||||
|
||||
[width="50%",cols="3m,4",options="header"]
|
||||
|========================================
|
||||
| Gesture | Distance
|
||||
| gesture-up | 3 ... 19
|
||||
| gesture-up-long | ≥ 20
|
||||
| gesture-down | 3 ... 19
|
||||
| gesture-down-long | ≥ 20
|
||||
| gesture-left | 3 ... 39
|
||||
| gesture-left-long | ≥ 40
|
||||
| gesture-right | 3 ... 39
|
||||
| gesture-right-long | ≥ 40
|
||||
|========================================
|
||||
|
||||
Example of events:
|
||||
|
||||
* `button1`
|
||||
* `ctrl-button1`
|
||||
* `button1-gesture-right`
|
||||
* `alt-button2-gesture-down-long`
|
||||
* `wheelup`
|
||||
* `ctrl-alt-wheeldown`
|
||||
* ...
|
||||
|
||||
[TIP]
|
||||
When binding a key in context "mouse", it's possible to match many events using
|
||||
`*` at beginning or end of name, for example `button1-gesture-*` will match any
|
||||
gesture made using left button.
|
||||
|
||||
[TIP]
|
||||
You can find an event name with command `/input grab_mouse` then doing event
|
||||
with mouse. This will insert event name on command line.
|
||||
|
||||
[[command_line]]
|
||||
Command line
|
||||
~~~~~~~~~~~~
|
||||
@@ -612,18 +809,6 @@ Example: display of "hello everybody!" with "hello" in light blue bold and
|
||||
^Cc12^Cbhello ^Cb^Cc04^Cueverybody^Cu^Cc!
|
||||
----------------------------------------
|
||||
|
||||
[[weechat_options]]
|
||||
WeeChat options (weechat.conf)
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
include::autogen/user/weechat_options.txt[]
|
||||
|
||||
[[weechat_commands]]
|
||||
WeeChat commands
|
||||
~~~~~~~~~~~~~~~~
|
||||
|
||||
include::autogen/user/weechat_commands.txt[]
|
||||
|
||||
[[colors]]
|
||||
Colors
|
||||
~~~~~~
|
||||
@@ -747,9 +932,11 @@ Attributes
|
||||
It is possible to use some attributes for colors. One or more attributes can be
|
||||
added before color name or number:
|
||||
|
||||
* "*": bold text
|
||||
* "!": reverse video
|
||||
* "_": underlined text
|
||||
* `*` : bold text
|
||||
* `!` : reverse video
|
||||
* `_` : underlined text
|
||||
* `|` : keep attributes: do not reset bold/reverse/underlined when changing
|
||||
color
|
||||
|
||||
For example if you want self nick as white underlined, do:
|
||||
|
||||
@@ -772,6 +959,18 @@ Example of bold with terminal foreground color:
|
||||
/set weechat.color.status_time *99999
|
||||
----------------------------------------
|
||||
|
||||
[[weechat_options]]
|
||||
WeeChat options (weechat.conf)
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
include::autogen/user/weechat_options.txt[]
|
||||
|
||||
[[weechat_commands]]
|
||||
WeeChat commands
|
||||
~~~~~~~~~~~~~~~~
|
||||
|
||||
include::autogen/user/weechat_commands.txt[]
|
||||
|
||||
|
||||
[[plugins]]
|
||||
Plugins
|
||||
@@ -1064,7 +1263,7 @@ Command line options
|
||||
It is possible to give URL for one or many IRC servers, as follow:
|
||||
|
||||
----------------------------------------
|
||||
irc[6][s]://[pseudo[:mot_passe]@]irc.example.org[:port][/channel][,channel[...]
|
||||
irc[6][s]://[nick[:password]@]irc.example.org[:port][/channel][,channel[...]]
|
||||
----------------------------------------
|
||||
|
||||
Example to join '#weechat' and '#toto' on server 'irc.freenode.net' server,
|
||||
@@ -1153,6 +1352,83 @@ $ cat nick.cer nick.key > ~/.weechat/ssl/nick.pem
|
||||
|
||||
For more information, look at http://www.oftc.net/oftc/NickServ/CertFP
|
||||
|
||||
[[irc_sasl_authentication]]
|
||||
SASL authentication
|
||||
^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
WeeChat supports SASL authentication, using two mechanisms: "plain" (default)
|
||||
or "dh-blowfish" (crypted password).
|
||||
|
||||
Options in servers are:
|
||||
|
||||
* 'sasl_mechanism': mechanism to use ("plain" or "dh-blowfish")
|
||||
* 'sasl_timeout': timeout (in seconds) for authentication
|
||||
* 'sasl_username': username (nick)
|
||||
* 'sasl_password': password
|
||||
|
||||
If you want to use "dh-blowfish" by default for all servers:
|
||||
|
||||
----------------------------------------
|
||||
/set irc.server_default.sasl_mechanism dh-blowfish
|
||||
----------------------------------------
|
||||
|
||||
[NOTE]
|
||||
The "gcrypt" library is required when compiling WeeChat in order to use
|
||||
"dh-blowfish" mechanism (see <<dependencies,dependencies>>).
|
||||
|
||||
[[irc_tor_freenode]]
|
||||
Connect to Freenode with TOR/SASL
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
In addition to SSL, Freenode servers support connections with TOR
|
||||
(https://www.torproject.org/), a network of virtual tunnels that allows people
|
||||
and groups to improve their privacy and security on the Internet.
|
||||
|
||||
First, make sure to have WeeChat compiled with <<dependencies,libgcrypt11-dev>>
|
||||
(if built from sources); it's not mandatory, but "dh-blowfish" ensures stronger
|
||||
security compared to "plain" authentication system with SASL.
|
||||
|
||||
In first place, install TOR. For Debian (and derivated):
|
||||
|
||||
----------------------------------------
|
||||
$ sudo apt-get install tor
|
||||
----------------------------------------
|
||||
|
||||
In WeeChat you need to create a socks5 proxy for TOR service (hostname/IP and
|
||||
port depend on your TOR configuration):
|
||||
|
||||
----------------------------------------
|
||||
/proxy add tor socks5 127.0.0.1 9050
|
||||
----------------------------------------
|
||||
|
||||
Now, create a new server, for example:
|
||||
|
||||
----------------------------------------
|
||||
/server add freenode-tor p4fsi4ockecnea7l.onion
|
||||
----------------------------------------
|
||||
|
||||
Set proxy for TOR:
|
||||
|
||||
----------------------------------------
|
||||
/set irc.server.freenode-tor.proxy "tor"
|
||||
----------------------------------------
|
||||
|
||||
Set SASL authentication:
|
||||
|
||||
----------------------------------------
|
||||
/set irc.server.freenode-tor.sasl_mechanism dh-blowfish
|
||||
/set irc.server.freenode-tor.sasl_username "your_nickname"
|
||||
/set irc.server.freenode-tor.sasl_password "your_password"
|
||||
----------------------------------------
|
||||
|
||||
And finally, connection to server:
|
||||
|
||||
----------------------------------------
|
||||
/connect freenode-tor
|
||||
----------------------------------------
|
||||
|
||||
For more info about Freenode and TOR: http://freenode.net/irc_servers.shtml#tor
|
||||
|
||||
[[irc_smart_filter_join_part_quit]]
|
||||
Smart filter for join/part/quit messages
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
@@ -1333,6 +1609,7 @@ Non-comprehensive list of IRC messages or alias that you can customize:
|
||||
| 335 | whois | whois (is a bot on)
|
||||
| 338 | whois | whois (host)
|
||||
| 341 | | inviting
|
||||
| 343 | whois | whois (is opered as)
|
||||
| 344 | reop | channel reop
|
||||
| 345 | reop | channel reop (end)
|
||||
| 346 | invitelist | invite list
|
||||
@@ -1579,7 +1856,7 @@ Rmodifier plugin
|
||||
The Rmodifier plugin lets you alter modifier strings using regular expressions.
|
||||
Typical use is to hide password when you type them, or when WeeChat saves
|
||||
them in command history. For example, it is possible to replace each char in
|
||||
these passwords by "*".
|
||||
these passwords by `*`.
|
||||
|
||||
[[rmodifier_options]]
|
||||
Options (rmodifier.conf)
|
||||
@@ -1610,7 +1887,7 @@ For list of modifiers used by WeeChat or plugins, see
|
||||
For each captured group, following actions are possible:
|
||||
|
||||
* keep group as-is (by using group number)
|
||||
* replace all chars in group to hide content (group number + "*")
|
||||
* replace all chars in group to hide content (group number + `*`)
|
||||
* remove group (if group is not used in string)
|
||||
|
||||
Example of default rmodifier for command `/oper`:
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
# user's guide
|
||||
ADD_CUSTOM_COMMAND(
|
||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.fr.html
|
||||
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a toclevels=4 -a toc-title='Table des matières' -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.fr.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.fr.txt
|
||||
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a lang=fr -a toc -a toclevels=4 -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.fr.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.fr.txt
|
||||
DEPENDS
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.fr.txt
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/autogen/user/*.txt
|
||||
@@ -32,7 +32,7 @@ INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.fr.html DESTINATION ${SHA
|
||||
# plugin API reference
|
||||
ADD_CUSTOM_COMMAND(
|
||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_plugin_api.fr.html
|
||||
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a toclevels=4 -a toc-title='Table des matières' -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_plugin_api.fr.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_plugin_api.fr.txt
|
||||
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a lang=fr -a toc -a toclevels=4 -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_plugin_api.fr.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_plugin_api.fr.txt
|
||||
DEPENDS
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/weechat_plugin_api.fr.txt
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/autogen/plugin_api/*.txt
|
||||
@@ -44,7 +44,7 @@ INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_plugin_api.fr.html DESTINATION
|
||||
# scripting guide
|
||||
ADD_CUSTOM_COMMAND(
|
||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.fr.html
|
||||
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a toclevels=3 -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.fr.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_scripting.fr.txt
|
||||
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a lang=fr -a toc -a toclevels=3 -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.fr.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_scripting.fr.txt
|
||||
DEPENDS
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/weechat_scripting.fr.txt
|
||||
COMMENT "Building weechat_scripting.fr.html"
|
||||
@@ -55,7 +55,7 @@ INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.fr.html DESTINATION
|
||||
# FAQ
|
||||
ADD_CUSTOM_COMMAND(
|
||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.fr.html
|
||||
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a toc-title='Table des matières' -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.fr.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.fr.txt
|
||||
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a lang=fr -a toc -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.fr.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.fr.txt
|
||||
DEPENDS
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.fr.txt
|
||||
COMMENT "Building weechat_faq.fr.html"
|
||||
@@ -66,7 +66,7 @@ INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.fr.html DESTINATION ${SHAR
|
||||
# quickstart
|
||||
ADD_CUSTOM_COMMAND(
|
||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.fr.html
|
||||
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a toc-title='Table des matières' -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.fr.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.fr.txt
|
||||
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a lang=fr -a toc -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.fr.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.fr.txt
|
||||
DEPENDS
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.fr.txt
|
||||
COMMENT "Building weechat_quickstart.fr.html"
|
||||
@@ -77,7 +77,7 @@ INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.fr.html DESTINATION
|
||||
# tester's guide
|
||||
ADD_CUSTOM_COMMAND(
|
||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.fr.html
|
||||
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a toc-title='Table des matières' -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.fr.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.fr.txt
|
||||
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a lang=fr -a toc -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.fr.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.fr.txt
|
||||
DEPENDS
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.fr.txt
|
||||
COMMENT "Building weechat_tester.fr.html"
|
||||
|
||||
+12
-6
@@ -39,27 +39,27 @@ all-local: weechat_user.fr.html \
|
||||
|
||||
# user's guide
|
||||
weechat_user.fr.html: weechat_user.fr.txt $(wildcard autogen/user/*.txt)
|
||||
$(ASCIIDOC) -a toc -a toclevels=3 -a toc-title='Table des matières' -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_user.fr.html weechat_user.fr.txt
|
||||
$(ASCIIDOC) -a lang=fr -a toc -a toclevels=3 -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_user.fr.html $(abs_top_srcdir)/doc/fr/weechat_user.fr.txt
|
||||
|
||||
# plugin API reference
|
||||
weechat_plugin_api.fr.html: weechat_plugin_api.fr.txt $(wildcard autogen/plugin_api/*.txt)
|
||||
$(ASCIIDOC) -a toc -a toclevels=4 -a toc-title='Table des matières' -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_plugin_api.fr.html weechat_plugin_api.fr.txt
|
||||
$(ASCIIDOC) -a lang=fr -a toc -a toclevels=4 -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_plugin_api.fr.html $(abs_top_srcdir)/doc/fr/weechat_plugin_api.fr.txt
|
||||
|
||||
# scripting guide
|
||||
weechat_scripting.fr.html: weechat_scripting.fr.txt
|
||||
$(ASCIIDOC) -a toc -a toclevels=3 -a toc-title='Table des matières' -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_scripting.fr.html weechat_scripting.fr.txt
|
||||
$(ASCIIDOC) -a lang=fr -a toc -a toclevels=3 -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_scripting.fr.html $(abs_top_srcdir)/doc/fr/weechat_scripting.fr.txt
|
||||
|
||||
# FAQ
|
||||
weechat_faq.fr.html: weechat_faq.fr.txt
|
||||
$(ASCIIDOC) -a toc -a toc-title='Table des matières' -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_faq.fr.html weechat_faq.fr.txt
|
||||
$(ASCIIDOC) -a lang=fr -a toc -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_faq.fr.html $(abs_top_srcdir)/doc/fr/weechat_faq.fr.txt
|
||||
|
||||
# quickstart
|
||||
weechat_quickstart.fr.html: weechat_quickstart.fr.txt
|
||||
$(ASCIIDOC) -a toc -a toc-title='Table des matières' -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_quickstart.fr.html weechat_quickstart.fr.txt
|
||||
$(ASCIIDOC) -a lang=fr -a toc -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_quickstart.fr.html $(abs_top_srcdir)/doc/fr/weechat_quickstart.fr.txt
|
||||
|
||||
# tester's guide
|
||||
weechat_tester.fr.html: weechat_tester.fr.txt
|
||||
$(ASCIIDOC) -a toc -a toc-title='Table des matières' -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_tester.fr.html weechat_tester.fr.txt
|
||||
$(ASCIIDOC) -a lang=fr -a toc -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_tester.fr.html $(abs_top_srcdir)/doc/fr/weechat_tester.fr.txt
|
||||
|
||||
# install docs
|
||||
|
||||
@@ -67,6 +67,12 @@ install-data-hook:
|
||||
$(mkinstalldirs) $(DESTDIR)$(docdir)/
|
||||
$(INSTALL_DATA) *.html $(DESTDIR)$(docdir)/
|
||||
|
||||
# uninstall docs
|
||||
|
||||
uninstall-hook:
|
||||
$(RM) $(DESTDIR)$(docdir)/*.fr.html
|
||||
-rmdir $(DESTDIR)$(docdir)
|
||||
|
||||
# clean
|
||||
|
||||
clean-local:
|
||||
|
||||
@@ -78,6 +78,8 @@
|
||||
|
||||
| weechat | config_options | options de configuration
|
||||
|
||||
| weechat | cursor_areas | zones ("chat" ou un nom de barre) pour le mouvement libre du curseur
|
||||
|
||||
| weechat | filename | nom de fichier
|
||||
|
||||
| weechat | filters_names | noms des filtres
|
||||
@@ -90,6 +92,8 @@
|
||||
|
||||
| weechat | keys_codes_for_reset | codes des touches pouvant être réinitialisées (touches ajoutées, redéfinies ou supprimées)
|
||||
|
||||
| weechat | keys_contexts | contextes de touches
|
||||
|
||||
| weechat | nicks | pseudos dans la liste des pseudos du tampon courant
|
||||
|
||||
| weechat | palette_colors | couleurs de la palette
|
||||
@@ -104,6 +108,8 @@
|
||||
|
||||
| weechat | weechat_commands | commandes weechat
|
||||
|
||||
| weechat | windows_numbers | numéros des fenêtres
|
||||
|
||||
| xfer | nick | pseudos de la discussion DCC
|
||||
|
||||
|========================================
|
||||
|
||||
@@ -0,0 +1,556 @@
|
||||
[width="100%",cols="^1,^2,5,5,5",options="header"]
|
||||
|========================================
|
||||
| Extension | Nom | Description | Variables | Listes
|
||||
|
||||
| irc | irc_channel | canal irc |
|
||||
'type' (integer) +
|
||||
'name' (string) +
|
||||
'topic' (string) +
|
||||
'modes' (string) +
|
||||
'limit' (integer) +
|
||||
'key' (string) +
|
||||
'checking_away' (integer) +
|
||||
'away_message' (string) +
|
||||
'has_quit_server' (integer) +
|
||||
'cycle' (integer) +
|
||||
'part' (integer) +
|
||||
'display_creation_date' (integer) +
|
||||
'nick_completion_reset' (integer) +
|
||||
'pv_remote_nick_color' (string) +
|
||||
'hook_autorejoin' (pointer) +
|
||||
'nicks_count' (integer) +
|
||||
'nicks' (pointer, hdata: 'irc_nick') +
|
||||
'last_nick' (pointer, hdata: 'irc_nick') +
|
||||
'nicks_speaking' (pointer) +
|
||||
'nicks_speaking_time' (pointer, hdata: 'irc_channel_speaking') +
|
||||
'last_nick_speaking_time' (pointer, hdata: 'irc_channel_speaking') +
|
||||
'buffer' (pointer, hdata: 'buffer') +
|
||||
'buffer_as_string' (string) +
|
||||
'prev_channel' (pointer, hdata: 'irc_channel') +
|
||||
'next_channel' (pointer, hdata: 'irc_channel') |
|
||||
-
|
||||
|
||||
| irc | irc_channel_speaking | channel_speaking irc |
|
||||
'nick' (string) +
|
||||
'time_last_message' (time) +
|
||||
'prev_nick' (pointer, hdata: 'irc_channel_speaking') +
|
||||
'next_nick' (pointer, hdata: 'irc_channel_speaking') |
|
||||
-
|
||||
|
||||
| irc | irc_ignore | ignore irc |
|
||||
'number' (integer) +
|
||||
'mask' (string) +
|
||||
'regex_mask' (pointer) +
|
||||
'server' (string) +
|
||||
'channel' (string) +
|
||||
'prev_ignore' (pointer, hdata: 'irc_ignore') +
|
||||
'next_ignore' (pointer, hdata: 'irc_ignore') |
|
||||
'irc_ignore_list' +
|
||||
'last_irc_ignore'
|
||||
|
||||
| irc | irc_nick | pseudo irc |
|
||||
'name' (string) +
|
||||
'host' (string) +
|
||||
'prefixes' (string) +
|
||||
'prefix' (string) +
|
||||
'away' (integer) +
|
||||
'color' (string) +
|
||||
'prev_nick' (pointer, hdata: 'irc_nick') +
|
||||
'next_nick' (pointer, hdata: 'irc_nick') |
|
||||
-
|
||||
|
||||
| irc | irc_notify | notify irc |
|
||||
'server' (pointer, hdata: 'irc_server') +
|
||||
'nick' (string) +
|
||||
'check_away' (integer) +
|
||||
'is_on_server' (integer) +
|
||||
'away_message' (string) +
|
||||
'ison_received' (integer) +
|
||||
'prev_notify' (pointer, hdata: 'irc_notify') +
|
||||
'next_notify' (pointer, hdata: 'irc_notify') |
|
||||
-
|
||||
|
||||
| irc | irc_redirect | redirection irc |
|
||||
'server' (pointer, hdata: 'irc_server') +
|
||||
'pattern' (string) +
|
||||
'signal' (string) +
|
||||
'count' (integer) +
|
||||
'current_count' (integer) +
|
||||
'string' (string) +
|
||||
'timeout' (integer) +
|
||||
'command' (string) +
|
||||
'start_time' (time) +
|
||||
'cmd_start' (pointer) +
|
||||
'cmd_stop' (pointer) +
|
||||
'cmd_extra' (pointer) +
|
||||
'cmd_start_received' (integer) +
|
||||
'cmd_stop_received' (integer) +
|
||||
'cmd_filter' (pointer) +
|
||||
'output' (string) +
|
||||
'output_size' (integer) +
|
||||
'prev_redirect' (pointer, hdata: 'irc_redirect') +
|
||||
'next_redirect' (pointer, hdata: 'irc_redirect') |
|
||||
-
|
||||
|
||||
| irc | irc_redirect_pattern | modèle pour une redirection irc |
|
||||
'name' (string) +
|
||||
'temp_pattern' (integer) +
|
||||
'timeout' (integer) +
|
||||
'cmd_start' (string) +
|
||||
'cmd_stop' (string) +
|
||||
'cmd_extra' (string) +
|
||||
'prev_redirect' (pointer, hdata: 'irc_redirect_pattern') +
|
||||
'next_redirect' (pointer, hdata: 'irc_redirect_pattern') |
|
||||
'irc_redirect_patterns' +
|
||||
'last_irc_redirect_pattern'
|
||||
|
||||
| irc | irc_server | serveur irc |
|
||||
'name' (string) +
|
||||
'options' (pointer) +
|
||||
'temp_server' (integer) +
|
||||
'reloading_from_config' (integer) +
|
||||
'reloaded_from_config' (integer) +
|
||||
'addresses_count' (integer) +
|
||||
'addresses_array' (pointer) +
|
||||
'ports_array' (pointer) +
|
||||
'index_current_address' (integer) +
|
||||
'current_address' (string) +
|
||||
'current_ip' (string) +
|
||||
'current_port' (integer) +
|
||||
'sock' (integer) +
|
||||
'hook_connect' (pointer, hdata: 'hook') +
|
||||
'hook_fd' (pointer, hdata: 'hook') +
|
||||
'hook_timer_connection' (pointer, hdata: 'hook') +
|
||||
'hook_timer_sasl' (pointer, hdata: 'hook') +
|
||||
'is_connected' (integer) +
|
||||
'ssl_connected' (integer) +
|
||||
'gnutls_sess' (other) +
|
||||
'tls_cert' (other) +
|
||||
'tls_cert_key' (other) +
|
||||
'unterminated_message' (string) +
|
||||
'nicks_count' (integer) +
|
||||
'nicks_array' (pointer) +
|
||||
'nick_first_tried' (integer) +
|
||||
'nick' (string) +
|
||||
'nick_modes' (string) +
|
||||
'isupport' (string) +
|
||||
'prefix_modes' (string) +
|
||||
'prefix_chars' (string) +
|
||||
'nick_max_length' (integer) +
|
||||
'reconnect_delay' (integer) +
|
||||
'reconnect_start' (time) +
|
||||
'command_time' (time) +
|
||||
'reconnect_join' (integer) +
|
||||
'disable_autojoin' (integer) +
|
||||
'is_away' (integer) +
|
||||
'away_message' (string) +
|
||||
'away_time' (time) +
|
||||
'lag' (integer) +
|
||||
'lag_check_time' (other) +
|
||||
'lag_next_check' (time) +
|
||||
'lag_last_refresh' (time) +
|
||||
'cmd_list_regexp' (pointer) +
|
||||
'last_user_message' (time) +
|
||||
'last_away_check' (time) +
|
||||
'outqueue' (pointer) +
|
||||
'last_outqueue' (pointer) +
|
||||
'redirects' (pointer, hdata: 'irc_redirect') +
|
||||
'last_redirect' (pointer, hdata: 'irc_redirect') +
|
||||
'notify_list' (pointer, hdata: 'irc_notify') +
|
||||
'last_notify' (pointer, hdata: 'irc_notify') +
|
||||
'manual_joins' (pointer) +
|
||||
'buffer' (pointer, hdata: 'buffer') +
|
||||
'buffer_as_string' (string) +
|
||||
'channels' (pointer, hdata: 'irc_channel') +
|
||||
'last_channel' (pointer, hdata: 'irc_channel') +
|
||||
'prev_server' (pointer, hdata: 'irc_server') +
|
||||
'next_server' (pointer, hdata: 'irc_server') |
|
||||
'irc_servers' +
|
||||
'last_irc_server'
|
||||
|
||||
| weechat | bar | barre |
|
||||
'name' (string) +
|
||||
'options' (pointer) +
|
||||
'conditions_count' (integer) +
|
||||
'conditions_array' (pointer) +
|
||||
'items_count' (integer) +
|
||||
'items_subcount' (pointer) +
|
||||
'items_array' (pointer) +
|
||||
'items_prefix' (pointer) +
|
||||
'items_name' (pointer) +
|
||||
'items_suffix' (pointer) +
|
||||
'bar_window' (pointer, hdata: 'bar_window') +
|
||||
'bar_refresh_needed' (integer) +
|
||||
'prev_bar' (pointer, hdata: 'bar') +
|
||||
'next_bar' (pointer, hdata: 'bar') |
|
||||
'gui_bars' +
|
||||
'last_gui_bar'
|
||||
|
||||
| weechat | bar_item | objet de barre |
|
||||
'plugin' (pointer, hdata: 'plugin') +
|
||||
'name' (string) +
|
||||
'build_callback' (pointer) +
|
||||
'build_callback_data' (pointer) +
|
||||
'prev_item' (pointer, hdata: 'bar_item') +
|
||||
'next_item' (pointer, hdata: 'bar_item') |
|
||||
'gui_bar_items' +
|
||||
'last_gui_bar_item'
|
||||
|
||||
| weechat | bar_window | fenêtre de barre |
|
||||
'bar' (pointer, hdata: 'bar') +
|
||||
'x' (integer) +
|
||||
'y' (integer) +
|
||||
'width' (integer) +
|
||||
'height' (integer) +
|
||||
'scroll_x' (integer) +
|
||||
'scroll_y' (integer) +
|
||||
'cursor_x' (integer) +
|
||||
'cursor_y' (integer) +
|
||||
'current_size' (integer) +
|
||||
'items_count' (integer) +
|
||||
'items_subcount' (pointer) +
|
||||
'items_content' (pointer) +
|
||||
'items_num_lines' (pointer) +
|
||||
'items_refresh_needed' (pointer) +
|
||||
'screen_col_size' (integer) +
|
||||
'coords_count' (integer) +
|
||||
'coords' (pointer) +
|
||||
'gui_objects' (pointer) +
|
||||
'prev_bar_window' (pointer, hdata: 'bar_window') +
|
||||
'next_bar_window' (pointer, hdata: 'bar_window') |
|
||||
-
|
||||
|
||||
| weechat | buffer | tampon |
|
||||
'plugin' (pointer, hdata: 'plugin') +
|
||||
'plugin_name_for_upgrade' (string) +
|
||||
'number' (integer) +
|
||||
'layout_number' (integer) +
|
||||
'layout_number_merge_order' (integer) +
|
||||
'name' (string) +
|
||||
'short_name' (string) +
|
||||
'type' (integer) +
|
||||
'notify' (integer) +
|
||||
'num_displayed' (integer) +
|
||||
'active' (integer) +
|
||||
'print_hooks_enabled' (integer) +
|
||||
'close_callback' (pointer) +
|
||||
'close_callback_data' (pointer) +
|
||||
'title' (string) +
|
||||
'own_lines' (pointer, hdata: 'lines') +
|
||||
'mixed_lines' (pointer, hdata: 'lines') +
|
||||
'lines' (pointer, hdata: 'lines') +
|
||||
'time_for_each_line' (integer) +
|
||||
'chat_refresh_needed' (integer) +
|
||||
'nicklist' (integer) +
|
||||
'nicklist_case_sensitive' (integer) +
|
||||
'nicklist_root' (pointer, hdata: 'nick_group') +
|
||||
'nicklist_max_length' (integer) +
|
||||
'nicklist_display_groups' (integer) +
|
||||
'nicklist_visible_count' (integer) +
|
||||
'input' (integer) +
|
||||
'input_callback' (pointer) +
|
||||
'input_callback_data' (pointer) +
|
||||
'input_get_unknown_commands' (integer) +
|
||||
'input_buffer' (string) +
|
||||
'input_buffer_alloc' (integer) +
|
||||
'input_buffer_size' (integer) +
|
||||
'input_buffer_length' (integer) +
|
||||
'input_buffer_pos' (integer) +
|
||||
'input_buffer_1st_display' (integer) +
|
||||
'input_undo_snap' (pointer, hdata: 'input_undo') +
|
||||
'input_undo' (pointer, hdata: 'input_undo') +
|
||||
'last_input_undo' (pointer, hdata: 'input_undo') +
|
||||
'ptr_input_undo' (pointer, hdata: 'input_undo') +
|
||||
'input_undo_count' (integer) +
|
||||
'completion' (pointer, hdata: 'completion') +
|
||||
'history' (pointer, hdata: 'history') +
|
||||
'last_history' (pointer, hdata: 'history') +
|
||||
'ptr_history' (pointer, hdata: 'history') +
|
||||
'num_history' (integer) +
|
||||
'text_search' (integer) +
|
||||
'text_search_exact' (integer) +
|
||||
'text_search_found' (integer) +
|
||||
'text_search_input' (string) +
|
||||
'highlight_words' (string) +
|
||||
'highlight_regex' (string) +
|
||||
'highlight_regex_compiled' (pointer) +
|
||||
'highlight_tags' (string) +
|
||||
'highlight_tags_count' (integer) +
|
||||
'highlight_tags_array' (pointer) +
|
||||
'hotlist_max_level_nicks' (pointer) +
|
||||
'keys' (pointer, hdata: 'key') +
|
||||
'last_key' (pointer, hdata: 'key') +
|
||||
'keys_count' (integer) +
|
||||
'local_variables' (pointer) +
|
||||
'prev_buffer' (pointer, hdata: 'buffer') +
|
||||
'next_buffer' (pointer, hdata: 'buffer') |
|
||||
'gui_buffers' +
|
||||
'last_gui_buffer'
|
||||
|
||||
| weechat | completion | structure avec une complétion |
|
||||
'buffer' (pointer, hdata: 'buffer') +
|
||||
'context' (integer) +
|
||||
'base_command' (string) +
|
||||
'base_command_arg_index' (integer) +
|
||||
'base_word' (string) +
|
||||
'base_word_pos' (integer) +
|
||||
'position' (integer) +
|
||||
'args' (string) +
|
||||
'direction' (integer) +
|
||||
'add_space' (integer) +
|
||||
'force_partial_completion' (integer) +
|
||||
'completion_list' (pointer) +
|
||||
'word_found' (string) +
|
||||
'word_found_is_nick' (integer) +
|
||||
'position_replace' (integer) +
|
||||
'diff_size' (integer) +
|
||||
'diff_length' (integer) +
|
||||
'partial_completion_list' (pointer, hdata: 'completion_partial') +
|
||||
'last_partial_completion' (pointer, hdata: 'completion_partial') |
|
||||
-
|
||||
|
||||
| weechat | completion_partial | structure avec une complétion partielle |
|
||||
'word' (string) +
|
||||
'count' (integer) +
|
||||
'prev_item' (pointer, hdata: 'completion_partial') +
|
||||
'next_item' (pointer, hdata: 'completion_partial') |
|
||||
-
|
||||
|
||||
| weechat | config_file | fichier de configuration |
|
||||
'plugin' (pointer, hdata: 'plugin') +
|
||||
'name' (string) +
|
||||
'filename' (string) +
|
||||
'file' (pointer) +
|
||||
'callback_reload' (pointer) +
|
||||
'callback_reload_data' (pointer) +
|
||||
'sections' (pointer, hdata: 'config_section') +
|
||||
'last_section' (pointer, hdata: 'config_section') +
|
||||
'prev_config' (pointer, hdata: 'config_file') +
|
||||
'next_config' (pointer, hdata: 'config_file') |
|
||||
'config_files' +
|
||||
'last_config_file'
|
||||
|
||||
| weechat | config_option | option de configuration |
|
||||
'config_file' (pointer, hdata: 'config_file') +
|
||||
'section' (pointer, hdata: 'config_section') +
|
||||
'name' (string) +
|
||||
'type' (integer) +
|
||||
'description' (string) +
|
||||
'string_values' (pointer) +
|
||||
'min' (integer) +
|
||||
'max' (integer) +
|
||||
'default_value' (pointer) +
|
||||
'value' (pointer) +
|
||||
'null_value_allowed' (integer) +
|
||||
'callback_check_value' (pointer) +
|
||||
'callback_check_value_data' (pointer) +
|
||||
'callback_change' (pointer) +
|
||||
'callback_change_data' (pointer) +
|
||||
'callback_delete' (pointer) +
|
||||
'callback_delete_data' (pointer) +
|
||||
'loaded' (integer) +
|
||||
'prev_option' (pointer, hdata: 'config_option') +
|
||||
'next_option' (pointer, hdata: 'config_option') |
|
||||
-
|
||||
|
||||
| weechat | config_section | section de configuration |
|
||||
'config_file' (pointer, hdata: 'config_file') +
|
||||
'name' (string) +
|
||||
'user_can_add_options' (integer) +
|
||||
'user_can_delete_options' (integer) +
|
||||
'callback_read' (pointer) +
|
||||
'callback_read_data' (pointer) +
|
||||
'callback_write' (pointer) +
|
||||
'callback_write_data' (pointer) +
|
||||
'callback_write_default' (pointer) +
|
||||
'callback_write_default_data' (pointer) +
|
||||
'callback_create_option' (pointer) +
|
||||
'callback_create_option_data' (pointer) +
|
||||
'callback_delete_option' (pointer) +
|
||||
'callback_delete_option_data' (pointer) +
|
||||
'options' (pointer, hdata: 'config_option') +
|
||||
'last_option' (pointer, hdata: 'config_option') +
|
||||
'prev_section' (pointer, hdata: 'config_section') +
|
||||
'next_section' (pointer, hdata: 'config_section') |
|
||||
-
|
||||
|
||||
| weechat | filter | filtre |
|
||||
'enabled' (integer) +
|
||||
'name' (string) +
|
||||
'buffer_name' (string) +
|
||||
'num_buffers' (integer) +
|
||||
'buffers' (pointer) +
|
||||
'tags' (string) +
|
||||
'tags_count' (integer) +
|
||||
'tags_array' (pointer) +
|
||||
'regex' (string) +
|
||||
'regex_prefix' (pointer) +
|
||||
'regex_message' (pointer) +
|
||||
'prev_filter' (pointer, hdata: 'filter') +
|
||||
'next_filter' (pointer, hdata: 'filter') |
|
||||
'gui_filters' +
|
||||
'last_gui_filter'
|
||||
|
||||
| weechat | history | historique des commandes dans le tampon |
|
||||
'text' (string) +
|
||||
'next_history' (pointer, hdata: 'history') +
|
||||
'prev_history' (pointer, hdata: 'history') |
|
||||
-
|
||||
|
||||
| weechat | input_undo | structure avec le "undo" pour la ligne de commande |
|
||||
'data' (string) +
|
||||
'pos' (integer) +
|
||||
'prev_undo' (pointer, hdata: 'input_undo') +
|
||||
'next_undo' (pointer, hdata: 'input_undo') |
|
||||
-
|
||||
|
||||
| weechat | key | une touche (un raccourci clavier) |
|
||||
'key' (string) +
|
||||
'area_type' (pointer) +
|
||||
'area_name' (pointer) +
|
||||
'area_key' (string) +
|
||||
'command' (string) +
|
||||
'prev_key' (pointer, hdata: 'key') +
|
||||
'next_key' (pointer, hdata: 'key') |
|
||||
'gui_default_keys' +
|
||||
'gui_default_keys_cursor' +
|
||||
'gui_default_keys_mouse' +
|
||||
'gui_default_keys_search' +
|
||||
'gui_keys' +
|
||||
'gui_keys_cursor' +
|
||||
'gui_keys_mouse' +
|
||||
'gui_keys_search' +
|
||||
'last_gui_default_key' +
|
||||
'last_gui_default_key_cursor' +
|
||||
'last_gui_default_key_mouse' +
|
||||
'last_gui_default_key_search' +
|
||||
'last_gui_key' +
|
||||
'last_gui_key_cursor' +
|
||||
'last_gui_key_mouse' +
|
||||
'last_gui_key_search'
|
||||
|
||||
| weechat | line | structure avec une ligne |
|
||||
'data' (pointer, hdata: 'line_data') +
|
||||
'prev_line' (pointer, hdata: 'line') +
|
||||
'next_line' (pointer, hdata: 'line') |
|
||||
-
|
||||
|
||||
| weechat | line_data | structure avec les données d'une ligne |
|
||||
'buffer' (pointer, hdata: 'buffer') +
|
||||
'y' (integer) +
|
||||
'date' (time) +
|
||||
'date_printed' (time) +
|
||||
'str_time' (string) +
|
||||
'tags_count' (integer) +
|
||||
'tags_array' (pointer) +
|
||||
'displayed' (integer) +
|
||||
'highlight' (integer) +
|
||||
'refresh_needed' (integer) +
|
||||
'prefix' (string) +
|
||||
'prefix_length' (integer) +
|
||||
'message' (string) |
|
||||
-
|
||||
|
||||
| weechat | lines | structure avec des lignes |
|
||||
'first_line' (pointer, hdata: 'line') +
|
||||
'last_line' (pointer, hdata: 'line') +
|
||||
'last_read_line' (pointer, hdata: 'line') +
|
||||
'lines_count' (integer) +
|
||||
'first_line_not_read' (integer) +
|
||||
'lines_hidden' (integer) +
|
||||
'buffer_max_length' (integer) +
|
||||
'prefix_max_length' (integer) |
|
||||
-
|
||||
|
||||
| weechat | nick | pseudo dans la liste de pseudos |
|
||||
'group' (pointer, hdata: 'nick_group') +
|
||||
'name' (string) +
|
||||
'color' (string) +
|
||||
'prefix' (string) +
|
||||
'prefix_color' (string) +
|
||||
'visible' (integer) +
|
||||
'prev_nick' (pointer, hdata: 'nick') +
|
||||
'next_nick' (pointer, hdata: 'nick') |
|
||||
-
|
||||
|
||||
| weechat | nick_group | groupe dans la liste de pseudos |
|
||||
'name' (string) +
|
||||
'color' (string) +
|
||||
'visible' (integer) +
|
||||
'level' (integer) +
|
||||
'parent' (pointer, hdata: 'nick_group') +
|
||||
'childs' (pointer, hdata: 'nick_group') +
|
||||
'last_child' (pointer, hdata: 'nick_group') +
|
||||
'nicks' (pointer, hdata: 'nick') +
|
||||
'last_nick' (pointer, hdata: 'nick') +
|
||||
'prev_group' (pointer, hdata: 'nick_group') +
|
||||
'next_group' (pointer, hdata: 'nick_group') |
|
||||
-
|
||||
|
||||
| weechat | plugin | extension |
|
||||
'filename' (string) +
|
||||
'handle' (pointer) +
|
||||
'name' (string) +
|
||||
'description' (string) +
|
||||
'author' (string) +
|
||||
'version' (string) +
|
||||
'license' (string) +
|
||||
'charset' (string) +
|
||||
'debug' (integer) +
|
||||
'prev_plugin' (pointer, hdata: 'plugin') +
|
||||
'next_plugin' (pointer, hdata: 'plugin') |
|
||||
'last_weechat_plugin' +
|
||||
'weechat_plugins'
|
||||
|
||||
| weechat | window | fenêtre |
|
||||
'number' (integer) +
|
||||
'win_x' (integer) +
|
||||
'win_y' (integer) +
|
||||
'win_width' (integer) +
|
||||
'win_height' (integer) +
|
||||
'win_width_pct' (integer) +
|
||||
'win_height_pct' (integer) +
|
||||
'win_chat_x' (integer) +
|
||||
'win_chat_y' (integer) +
|
||||
'win_chat_width' (integer) +
|
||||
'win_chat_height' (integer) +
|
||||
'win_chat_cursor_x' (integer) +
|
||||
'win_chat_cursor_y' (integer) +
|
||||
'bar_windows' (pointer, hdata: 'bar_window') +
|
||||
'last_bar_window' (pointer, hdata: 'bar_window') +
|
||||
'refresh_needed' (integer) +
|
||||
'gui_objects' (pointer) +
|
||||
'buffer' (pointer, hdata: 'buffer') +
|
||||
'layout_plugin_name' (string) +
|
||||
'layout_buffer_name' (string) +
|
||||
'scroll' (pointer, hdata: 'window_scroll') +
|
||||
'ptr_tree' (pointer, hdata: 'window_tree') +
|
||||
'prev_window' (pointer, hdata: 'window') +
|
||||
'next_window' (pointer, hdata: 'window') |
|
||||
'gui_current_window' +
|
||||
'gui_windows' +
|
||||
'last_gui_window'
|
||||
|
||||
| weechat | window_scroll | info de défilement dans la fenêtre |
|
||||
'buffer' (pointer, hdata: 'buffer') +
|
||||
'first_line_displayed' (integer) +
|
||||
'start_line' (pointer, hdata: 'line') +
|
||||
'start_line_pos' (integer) +
|
||||
'scrolling' (integer) +
|
||||
'start_col' (integer) +
|
||||
'lines_after' (integer) +
|
||||
'reset_allowed' (integer) +
|
||||
'prev_scroll' (pointer, hdata: 'window_scroll') +
|
||||
'next_scroll' (pointer, hdata: 'window_scroll') |
|
||||
-
|
||||
|
||||
| weechat | window_tree | arbre des fenêtres |
|
||||
'parent_node' (pointer, hdata: 'window_tree') +
|
||||
'split_pct' (integer) +
|
||||
'split_horizontal' (integer) +
|
||||
'child1' (pointer, hdata: 'window_tree') +
|
||||
'child2' (pointer, hdata: 'window_tree') +
|
||||
'window' (pointer, hdata: 'window') |
|
||||
'gui_windows_tree'
|
||||
|
||||
|========================================
|
||||
@@ -48,7 +48,7 @@
|
||||
|
||||
| weechat | hotlist | liste des tampons dans la hotlist | - | -
|
||||
|
||||
| weechat | key | liste des associations de touches | - | -
|
||||
| weechat | key | liste des associations de touches | - | contexte ("default", "search", "cursor" ou "mouse") (optionnel)
|
||||
|
||||
| weechat | nicklist | pseudos dans la liste des pseudos pour un tampon | pointeur vers le tampon | nick_xxx ou group_xxx pour avoir seulement le pseudo/groupe xxx (optionnel)
|
||||
|
||||
@@ -56,7 +56,7 @@
|
||||
|
||||
| weechat | plugin | liste des extensions | pointeur vers l'extension (optionnel) | nom d'extension (peut démarrer ou se terminer par "*" comme joker) (optionnel)
|
||||
|
||||
| weechat | window | liste des fenêtres | pointeur vers la fenêtre (optionnel) | nom de fenêtre (peut démarrer ou se terminer par "*" comme joker) (optionnel)
|
||||
| weechat | window | liste des fenêtres | pointeur vers la fenêtre (optionnel) | "current" pour la fenêtre courante ou un numéro de fenêtre (optionnel)
|
||||
|
||||
| xfer | xfer | liste des xfer | pointeur vers le xfer (optionnel) | -
|
||||
|
||||
|
||||
@@ -28,6 +28,8 @@
|
||||
|
||||
| weechat | charset_terminal | charset du terminal | -
|
||||
|
||||
| weechat | cursor_mode | 1 si le mode curseur est activé | -
|
||||
|
||||
| weechat | date | date de compilation de WeeChat | -
|
||||
|
||||
| weechat | dir_separator | séparateur de répertoire | -
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
|========================================
|
||||
| Extension | Nom | Description | Hashtable (entrée) | Hashtable (sortie)
|
||||
|
||||
| irc | irc_parse_message | analyse un message IRC | "message": message IRC | "nick": pseudo, "host": nom d'hôte, "command": commande, "channel": canal, "arguments": paramètres (inclut le canal)
|
||||
| irc | irc_message_parse | analyse un message IRC | "message": message IRC | "nick": pseudo, "host": nom d'hôte, "command": commande, "channel": canal, "arguments": paramètres (inclut le canal)
|
||||
|
||||
| irc | irc_message_split | découper un message IRC (pour tenir dans les 512 octets) | "message": message IRC, "server": nom du serveur (optionnel) | "msg1" ... "msgN": messages à envoyer (sans le "\r\n" final), "args1" ... "argsN": paramètres des messages, "count": nombre de messages
|
||||
|
||||
|========================================
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
[[command_alias_alias]]
|
||||
[command]*`alias`* créer un alias pour une commande::
|
||||
........................................
|
||||
/alias [-completion <complétion>] alias [<commande> [<paramètres>]]
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user