mirror of
https://github.com/weechat/weechat.git
synced 2026-06-12 14:14:48 +02:00
Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 6494deb29c | |||
| 05a9875f81 | |||
| f30d556e25 | |||
| f105c6f0b5 |
+5
-9
@@ -9,35 +9,31 @@ dist: trusty
|
||||
|
||||
env:
|
||||
- BUILDTOOL="cmake" BUILDARGS=""
|
||||
# - BUILDTOOL="cmake" BUILDARGS="-DENABLE_PYTHON3=ON"
|
||||
- BUILDTOOL="cmake" BUILDARGS="-DENABLE_PYTHON3=ON"
|
||||
- BUILDTOOL="cmake" BUILDARGS="-DENABLE_GNUTLS=OFF"
|
||||
- BUILDTOOL="autotools" BUILDARGS=""
|
||||
# - BUILDTOOL="autotools" BUILDARGS="--enable-python3"
|
||||
- BUILDTOOL="autotools" BUILDARGS="--enable-python3"
|
||||
- BUILDTOOL="autotools" BUILDARGS="--disable-gnutls"
|
||||
|
||||
before_script:
|
||||
# Workaround https://github.com/travis-ci/travis-ci/issues/5326
|
||||
# Workaround travis-ci/travis-ci#5326
|
||||
- export PATH=$(echo $PATH | tr ':' "\n" | sed '/\/opt\/python/d' | tr "\n" ":" | sed "s|::|:|g")
|
||||
- echo 'APT::Install-Recommends "false";' | sudo tee -a /etc/apt/apt.conf
|
||||
- sudo add-apt-repository -y ppa:ondrej/php
|
||||
- sudo apt-get update -qq
|
||||
- sudo apt-get -y install devscripts equivs python-pip libenchant-dev autopoint cmake pkg-config libncursesw5-dev gem2deb libperl-dev python-dev python3-dev libaspell-dev liblua5.1-0-dev tcl8.5-dev guile-2.0-dev libv8-dev libcurl4-gnutls-dev libgcrypt11-dev libgnutls-dev zlib1g-dev curl libcpputest-dev php7.0-dev libphp7.0-embed
|
||||
- sudo apt-get -y install devscripts equivs python-pip libenchant-dev autopoint cmake pkg-config libncursesw5-dev gem2deb libperl-dev python-dev python3-dev libaspell-dev liblua5.1-0-dev tcl8.5-dev guile-2.0-dev libv8-dev libcurl4-gnutls-dev libgcrypt11-dev libgnutls-dev zlib1g-dev curl libcpputest-dev
|
||||
- sudo gem install asciidoctor
|
||||
- sudo pip install msgcheck pylint
|
||||
- phpenv local system
|
||||
|
||||
script:
|
||||
- ./tools/build-test.sh
|
||||
- msgcheck po/*.po
|
||||
- pylint --version
|
||||
- pylint doc/docgen.py
|
||||
- pylint tests/scripts/python/testapigen.py
|
||||
- pylint tests/scripts/python/testapi.py
|
||||
- pylint tests/scripts/python/unparse.py
|
||||
|
||||
after_success:
|
||||
- weechat --help
|
||||
- weechat-curses --help
|
||||
- weechat -r "/debug libs;/quit"
|
||||
|
||||
matrix:
|
||||
fast_finish: true
|
||||
|
||||
@@ -15,7 +15,6 @@
|
||||
|
||||
Alphabetically:
|
||||
|
||||
* Adam Saponara (adsr)
|
||||
* Ailin Nemui (Nei)
|
||||
* Aleksey V Zapparov
|
||||
* Alex Tarkovsky
|
||||
@@ -28,7 +27,6 @@ Alphabetically:
|
||||
* Benoit Papillault (benoit)
|
||||
* Christian Heinz
|
||||
* Christopher O'Neill (deltafire)
|
||||
* coypoop
|
||||
* David Flatz
|
||||
* Dmitry Kobylin
|
||||
* Dominik Honnef
|
||||
@@ -40,7 +38,6 @@ Alphabetically:
|
||||
* Evgeny Shmarnev
|
||||
* Felix Eckhofer
|
||||
* Frank Zacharias
|
||||
* Grant Wu
|
||||
* Gu1ll4um3r0m41n
|
||||
* Guido Berhoerster
|
||||
* Gwenn
|
||||
@@ -50,7 +47,6 @@ Alphabetically:
|
||||
* JD Horelick (jdhore)
|
||||
* Jim Ramsay (lack)
|
||||
* Jiri Golembiovsky (GolemJ)
|
||||
* Joey Pabalinas (alyptik)
|
||||
* Juan Francisco Cantero Hurtado
|
||||
* Julien Louis (ptitlouis)
|
||||
* Karthik K
|
||||
@@ -59,7 +55,6 @@ Alphabetically:
|
||||
* Kyle Fuller (kylef)
|
||||
* Leonid Evdokimov
|
||||
* Lázaro A.
|
||||
* Linus Heckemann
|
||||
* Maarten de Vries
|
||||
* Mantas Mikulėnas (grawity)
|
||||
* Marco Paolone
|
||||
|
||||
@@ -93,7 +93,6 @@ option(ENABLE_BUFLIST "Enable Buflist plugin" ON)
|
||||
option(ENABLE_CHARSET "Enable Charset plugin" ON)
|
||||
option(ENABLE_EXEC "Enable Exec plugin" ON)
|
||||
option(ENABLE_FIFO "Enable FIFO plugin" ON)
|
||||
option(ENABLE_FSET "Enable Fast Set plugin" ON)
|
||||
option(ENABLE_IRC "Enable IRC plugin" ON)
|
||||
option(ENABLE_LOGGER "Enable Logger plugin" ON)
|
||||
option(ENABLE_RELAY "Enable Relay plugin" ON)
|
||||
@@ -107,7 +106,6 @@ option(ENABLE_LUA "Enable Lua scripting language" ON)
|
||||
option(ENABLE_TCL "Enable Tcl scripting language" ON)
|
||||
option(ENABLE_GUILE "Enable Scheme (guile) scripting language" ON)
|
||||
option(ENABLE_JAVASCRIPT "Enable JavaScript scripting language" ON)
|
||||
option(ENABLE_PHP "Enable PHP scripting language" ON)
|
||||
option(ENABLE_TRIGGER "Enable Trigger plugin" ON)
|
||||
option(ENABLE_XFER "Enable Xfer plugin" ON)
|
||||
option(ENABLE_MAN "Enable build of man page" OFF)
|
||||
|
||||
+6
-64
@@ -15,71 +15,13 @@ https://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes]
|
||||
(file _ReleaseNotes.adoc_ in sources).
|
||||
|
||||
|
||||
[[v2.0.1]]
|
||||
== Version 2.0.1 (2017-12-20)
|
||||
|
||||
Bug fixes::
|
||||
|
||||
* python: fix arguments status/gnutls_rc/sock in hook_connect() callback
|
||||
* python: fix argument fd in hook_fd() callback
|
||||
|
||||
[[v2.0]]
|
||||
== Version 2.0 (2017-12-03)
|
||||
|
||||
New features::
|
||||
|
||||
* core: add flag "input_get_empty" in buffer
|
||||
* core: add signals "buffer_filters_enabled" and "buffer_filters_disabled"
|
||||
* core: support loading of plugins from path in environment variable "WEECHAT_EXTRA_LIBDIR" (issue #971, issue #979)
|
||||
* alias: add infolist "alias_default" (list of default aliases)
|
||||
* buflist: add two new bar items ("buflist2" and "buflist3") using the same format configuration options (issue #990)
|
||||
* buflist: add option buflist.look.add_newline (issue #1027)
|
||||
* fset: new plugin "fset" (fast set of WeeChat and plugins options)
|
||||
* php: new plugin "php" (issue #909)
|
||||
|
||||
Improvements::
|
||||
|
||||
* core: make value optional in command /buffer set (issue #746, issue #1088)
|
||||
* core: allow floating point and hexadecimal numbers in comparison of evaluated values
|
||||
* core: add option weechat.look.save_config_with_fsync (issue #1083)
|
||||
* api: add support of prefix "quiet:" in function key_unbind() to quietly remove keys
|
||||
* api: add argument "recurse_subdirs" in function exec_on_files()
|
||||
* script: add local variable "filter" in the script buffer (issue #1037)
|
||||
|
||||
Bug fixes::
|
||||
|
||||
* core: do not change the chat prefix size when a filtered line is added (issue #1092)
|
||||
* core: fix display of nicks in nicklist when they are in a group with sub-groups (issue #1079)
|
||||
* core, plugins: check return code of strftime function
|
||||
* core: fix cast of time_t (to "long long" instead of "long") (issue #1051)
|
||||
* core: call the config hook when options are renamed or removed
|
||||
* api: change type of arguments status/gnutls_rc/sock in hook_connect() callback from string to integer (in scripts)
|
||||
* api: change type of argument fd in hook_fd() callback from string to integer (in scripts)
|
||||
* buflist: remove recursive evaluation of extra variables (issue #1060)
|
||||
* guile: return integer (0/1) instead of boolean in API functions
|
||||
* guile: fix return value of static strings in API functions
|
||||
* irc: do not clear nicklist when joining an already joined channel if the option irc.look.buffer_open_before_join is on (issue #1081)
|
||||
* irc: fix CTCP PING reply when the option irc.ctcp.ping is set to non-empty value
|
||||
* lua: fix boolean return value (as integer) in API functions
|
||||
* relay: fix parsing of CAP command without arguments in irc protocol, send ACK only if all capabilities received are OK and NAK otherwise (issue #1040)
|
||||
|
||||
Tests::
|
||||
|
||||
* scripts: add scripting API tests (issue #104)
|
||||
* unit: display an error if the required locale en_US.UTF-8 is not installed
|
||||
|
||||
Build::
|
||||
|
||||
* core: fix build with ncurses and separate tinfo (bug #41245, issue #1090)
|
||||
* javascript: fix detection of libv8 with autotools on Ubuntu Trusty
|
||||
|
||||
[[v1.9.1]]
|
||||
== Version 1.9.1 (2017-09-23)
|
||||
|
||||
Bug fixes::
|
||||
|
||||
* buflist: fix crash in auto-scroll of bar when the buflist item is not the first item in the bar
|
||||
* logger: call strftime before replacing buffer local variables (CVE-2017-14727)
|
||||
* logger: call strftime before replacing buffer local variables
|
||||
* relay: fix send of "PART" command in backlog (irc protocol)
|
||||
|
||||
[[v1.9]]
|
||||
@@ -352,8 +294,8 @@ Documentation::
|
||||
|
||||
Tests::
|
||||
|
||||
* unit: add a test to check if all plugins are loaded
|
||||
* unit: fix locale used to execute tests (issue #631)
|
||||
* add a test to check if all plugins are loaded
|
||||
* fix locale used to execute tests (issue #631)
|
||||
|
||||
Build::
|
||||
|
||||
@@ -430,7 +372,7 @@ New features::
|
||||
* core: add options weechat.look.word_chars_{highlight|input} (issue #55, task #9459)
|
||||
* irc: add support of "account-notify" capability (issue #11, issue #246)
|
||||
* irc: add support of "ecdsa-nist256p-challenge" SASL mechanism (issue #251)
|
||||
* javascript: new script plugin for JavaScript
|
||||
* javascript: new script plugin for javascript
|
||||
|
||||
Improvements::
|
||||
|
||||
@@ -586,7 +528,7 @@ Bug fixes::
|
||||
|
||||
Tests::
|
||||
|
||||
* unit: fix memory leak in tests launcher
|
||||
* fix memory leak in tests launcher
|
||||
|
||||
Build::
|
||||
|
||||
@@ -757,7 +699,7 @@ Build::
|
||||
|
||||
Tests::
|
||||
|
||||
* unit: add unit tests using CppUTest (issue #104)
|
||||
* add unit tests using CppUTest
|
||||
|
||||
[[v0.4.3]]
|
||||
== Version 0.4.3 (2014-02-09)
|
||||
|
||||
+4
-35
@@ -6,7 +6,7 @@
|
||||
|
||||
image:https://img.shields.io/badge/diaspora*-follow-blue.svg["Diaspora*", link="https://diasp.eu/u/weechat"]
|
||||
image:https://img.shields.io/badge/google%2B-follow-blue.svg["Google+", link="https://plus.google.com/+WeeChat"]
|
||||
image:https://img.shields.io/badge/devel%20blog-follow-blue.svg["Devel blog", link="https://weechat.org/blog/"]
|
||||
image:https://img.shields.io/badge/devel%20blog-follow-blue.svg["Devel blog", link="http://dev.weechat.org/"]
|
||||
image:https://img.shields.io/badge/slant-recommend-28acad.svg["Slant", link="http://www.slant.co/topics/1323/~irc-clients-for-linux"]
|
||||
image:https://img.shields.io/badge/paypal-donate%20%E2%9D%A4-yellow.svg["Paypal", link="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=4LSMSNLUAJWNS"]
|
||||
|
||||
@@ -25,7 +25,7 @@ Homepage: https://weechat.org/
|
||||
* *Multi-protocols*: WeeChat is designed to support multiple protocols by plugins, like IRC.
|
||||
* *Standards-compliant*: the IRC plugin is compliant with RFCs 1459, 2810, 2811, 2812 and 2813.
|
||||
* *Small, fast and very light*: the core is and should stay as light and fast as possible.
|
||||
* *Customizable and extensible*: there are a lot of options to customize WeeChat, and it is extensible with C plugins and scripts (Perl, Python, Ruby, Lua, Tcl, Scheme, JavaScript and PHP).
|
||||
* *Customizable and extensible*: there are a lot of options to customize WeeChat, and it is extensible with C plugins and scripts (Perl, Python, Ruby, Lua, Tcl, Scheme and Javascript).
|
||||
* *Fully documented*: there is comprehensive documentation, which is translated into several languages.
|
||||
* *Developed from scratch*: WeeChat was built from scratch and is not based on any other client.
|
||||
* *Free software*: WeeChat is released under GPLv3.
|
||||
@@ -51,7 +51,7 @@ Following packages are optional:
|
||||
* for i18n: gettext
|
||||
* for SSL: gnutls, ca-certificates
|
||||
* for spell checking: aspell
|
||||
* for scripting: python, perl, ruby, lua, tcl, guile, libv8 (javascript), php
|
||||
* for scripting: python, perl, ruby, lua, tcl, guile, libv8 (javascript)
|
||||
* for building doc and man page: asciidoctor
|
||||
* for building tests: C++ compiler, CppUTest
|
||||
|
||||
@@ -67,48 +67,17 @@ Only CMake is officially supported to build WeeChat. You should only use
|
||||
autotools if you are not able to use CMake. +
|
||||
Building with autotools requires more dependencies and is slower than with CMake.
|
||||
|
||||
* Installation in system directories (requires _root_ privileges):
|
||||
|
||||
----
|
||||
$ mkdir build
|
||||
$ cd build
|
||||
$ cmake ..
|
||||
$ make
|
||||
$ sudo make install
|
||||
----
|
||||
|
||||
* Installation in custom directory (for example your home):
|
||||
|
||||
----
|
||||
$ mkdir build
|
||||
$ cd build
|
||||
$ cmake .. -DCMAKE_INSTALL_PREFIX=/path/to/directory
|
||||
$ make
|
||||
$ make install
|
||||
$ make install (as root for installation in system directories)
|
||||
----
|
||||
|
||||
For more information or installation with autotools, please look at
|
||||
https://weechat.org/files/doc/devel/weechat_user.en.html#compile_with_autotools[user's guide].
|
||||
|
||||
=== Run tests
|
||||
|
||||
Following packages are *required* to compile tests:
|
||||
|
||||
* libcpputest-dev
|
||||
* C++ compiler
|
||||
|
||||
Tests must be enabled when compiling WeeChat:
|
||||
|
||||
----
|
||||
$ cmake .. -DENABLE_TESTS=ON
|
||||
----
|
||||
|
||||
They can be launched after compilation from the build directory:
|
||||
|
||||
----
|
||||
$ ctest -V
|
||||
----
|
||||
|
||||
== Copyright
|
||||
|
||||
Copyright (C) 2003-2017 Sébastien Helleu <flashcode@flashtux.org>
|
||||
|
||||
+1
-80
@@ -17,77 +17,6 @@ https://weechat.org/files/changelog/ChangeLog-devel.html[ChangeLog]
|
||||
(file _ChangeLog.adoc_ in sources).
|
||||
|
||||
|
||||
[[v2.0.1]]
|
||||
== Version 2.0.1 (2017-12-20)
|
||||
|
||||
Bug fix and maintenance release.
|
||||
|
||||
[[v2.0]]
|
||||
== Version 2.0 (2017-12-03)
|
||||
|
||||
[[v2.0_debian_packaging]]
|
||||
=== Split of scripting Debian packages
|
||||
|
||||
The Debian packaging has changed (for now only on weechat.org repositories,
|
||||
not in Debian official repositories). +
|
||||
The package `weechat-plugins` has been split into 9 packages:
|
||||
|
||||
- weechat-plugins (with only the following plugins: aspell, exec, fifo, relay,
|
||||
script, trigger)
|
||||
- weechat-python
|
||||
- weechat-perl
|
||||
- weechat-ruby
|
||||
- weechat-lua
|
||||
- weechat-tcl
|
||||
- weechat-guile
|
||||
- weechat-javascript
|
||||
- weechat-php.
|
||||
|
||||
If you are using the packages from weechat.org, you will have to install
|
||||
manually the scripting packages (according to the languages you'll use
|
||||
in WeeChat), for example Python/Perl only:
|
||||
|
||||
----
|
||||
sudo apt-get install weechat-python weechat-perl
|
||||
----
|
||||
|
||||
For development packages:
|
||||
|
||||
----
|
||||
sudo apt-get install weechat-devel-python weechat-devel-perl
|
||||
----
|
||||
|
||||
[[v2.0_buflist_eval]]
|
||||
=== Evaluation in buflist
|
||||
|
||||
The evaluation of expressions in buflist options is not recursive any more,
|
||||
to prevent too many evaluations, for example in buffer variables
|
||||
(see issue #1060 for more information). +
|
||||
If you are using custom variables/options containing evaluated expressions,
|
||||
like `${some.config.option}`, and if this option contains evaluated strings (`${...}`),
|
||||
you must evaluate them with: `${eval:${some.config.option}}`.
|
||||
|
||||
[NOTE]
|
||||
The default buflist formats (`${format_buffer}`, `${format_name}`,
|
||||
`${format_hotlist}`, ...) are automatically evaluated in options _buflist.format.buffer_,
|
||||
_buflist.format.buffer_current_ and _buflist.format.hotlist_.
|
||||
|
||||
[[v2.0_hook_connect]]
|
||||
=== Function hook_connect
|
||||
|
||||
In scripts, the arguments _status_, _gnutls_rc_ and _sock_ sent to the callback
|
||||
of _hook_connect_ are now integers (they were strings in older releases). +
|
||||
To be compatible with all versions, it is recommended to convert the argument
|
||||
to integer before using it, for example in Python: `int(sock)`.
|
||||
|
||||
[[v2.0_hook_fd]]
|
||||
=== Function hook_fd
|
||||
|
||||
In scripts, the argument _fd_ sent to the callback of _hook_fd_ is now
|
||||
an integer (it was a string in older releases). +
|
||||
To be compatible with all versions, it is recommended to convert the argument
|
||||
to integer before using it, for example in Python: `int(fd)`.
|
||||
|
||||
[[v1.9.1]]
|
||||
== Version 1.9.1 (2017-09-23)
|
||||
|
||||
@@ -100,8 +29,8 @@ No release note.
|
||||
|
||||
[[v1.8]]
|
||||
== Version 1.8 (2017-05-13)
|
||||
[[v1.8_options]]
|
||||
|
||||
[[v1.8_options]]
|
||||
=== Options
|
||||
|
||||
The option _script.scripts.url_force_https_ has been removed because now the
|
||||
@@ -612,14 +541,6 @@ the new default key is kbd:[Alt+l].
|
||||
Use command `/key missing` to add the key or `/key listdiff` to see differences
|
||||
between your current keys and WeeChat default keys.
|
||||
|
||||
[[v1.0_hook_print]]
|
||||
=== Function hook_print
|
||||
|
||||
In scripts, the arguments _displayed_ and _highlight_ sent to the callback of
|
||||
_hook_print_ are now integers (they were strings in older releases). +
|
||||
To be compatible with all versions, it is recommended to convert the argument
|
||||
to integer before testing it, for example in Python: `if int(highlight):`.
|
||||
|
||||
[[v0.4.3]]
|
||||
== Version 0.4.3 (2014-02-09)
|
||||
|
||||
|
||||
@@ -34,22 +34,12 @@ find_library(NCURSESW_LIBRARY
|
||||
)
|
||||
|
||||
if(NCURSESW_LIBRARY)
|
||||
find_package(PkgConfig QUIET)
|
||||
if(PKG_CONFIG_FOUND)
|
||||
pkg_search_module(NCURSES ncursesw)
|
||||
set(NCURSESW_LIBRARY ${NCURSES_LIBRARIES} ${NCURSES_CFLAGS_OTHER})
|
||||
endif()
|
||||
set(NCURSES_LIBRARY ${NCURSESW_LIBRARY})
|
||||
else()
|
||||
find_library(NCURSES_LIBRARY
|
||||
NAMES ncurses
|
||||
PATHS /lib /usr/lib /usr/local/lib /usr/pkg/lib
|
||||
)
|
||||
find_package(PkgConfig QUIET)
|
||||
if(PKG_CONFIG_FOUND)
|
||||
pkg_search_module(NCURSES ncurses)
|
||||
set(NCURSES_LIBRARY ${NCURSES_LIBRARIES} ${NCURSES_CFLAGS_OTHER})
|
||||
endif()
|
||||
if(NCURSES_LIBRARY)
|
||||
message("*** WARNING:\n"
|
||||
"*** ncursesw library not found! Falling back to \"ncurses\"\n"
|
||||
|
||||
@@ -1,61 +0,0 @@
|
||||
#
|
||||
# Copyright (C) 2003-2017 Adam Saponara <as@php.net>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
# WeeChat is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# 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/>.
|
||||
#
|
||||
|
||||
if(PHP_FOUND)
|
||||
set(PHP_FIND_QUIETLY TRUE)
|
||||
endif()
|
||||
|
||||
find_package(PkgConfig)
|
||||
if(PKG_CONFIG_FOUND)
|
||||
pkg_search_module(PHP php7)
|
||||
endif()
|
||||
|
||||
if(NOT PHP_FOUND)
|
||||
find_program(PHP_CONFIG_EXECUTABLE NAMES
|
||||
php-config7.2 php-config72
|
||||
php-config7.1 php-config71
|
||||
php-config7.0 php-config70
|
||||
php-config php-config7)
|
||||
if (PHP_CONFIG_EXECUTABLE)
|
||||
execute_process(COMMAND ${PHP_CONFIG_EXECUTABLE} --prefix OUTPUT_VARIABLE PHP_LIB_PREFIX OUTPUT_STRIP_TRAILING_WHITESPACE)
|
||||
execute_process(COMMAND ${PHP_CONFIG_EXECUTABLE} --includes OUTPUT_VARIABLE PHP_INCLUDE_DIRS OUTPUT_STRIP_TRAILING_WHITESPACE)
|
||||
execute_process(COMMAND ${PHP_CONFIG_EXECUTABLE} --libs OUTPUT_VARIABLE PHP_LIBS OUTPUT_STRIP_TRAILING_WHITESPACE)
|
||||
execute_process(COMMAND ${PHP_CONFIG_EXECUTABLE} --version OUTPUT_VARIABLE PHP_VERSION OUTPUT_STRIP_TRAILING_WHITESPACE)
|
||||
if(${PHP_VERSION} MATCHES "^7")
|
||||
find_library(PHP_LIB
|
||||
NAMES php7.2 php7.1 php7.0 php7
|
||||
HINTS ${PHP_LIB_PREFIX} ${PHP_LIB_PREFIX}/lib ${PHP_LIB_PREFIX}/lib64)
|
||||
if(PHP_LIB)
|
||||
get_filename_component(PHP_LIB_DIR ${PHP_LIB} DIRECTORY)
|
||||
string(REPLACE "-I" "" PHP_INCLUDE_DIRS ${PHP_INCLUDE_DIRS})
|
||||
SEPARATE_ARGUMENTS(PHP_INCLUDE_DIRS)
|
||||
set(PHP_LDFLAGS "-L${PHP_LIB_DIR} ${PHP_LIBS}")
|
||||
set(PHP_FOUND 1)
|
||||
endif()
|
||||
endif()
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(NOT PHP_FOUND)
|
||||
message(WARNING "Could not find libphp7. "
|
||||
"Ensure PHP >=7.0.0 development libraries are installed and compiled with `--enable-embed`. "
|
||||
"Ensure `php-config` is in `PATH`. "
|
||||
"You may set `-DCMAKE_LIBRARY_PATH=...` to the directory containing libphp7."
|
||||
)
|
||||
endif()
|
||||
+1
-1
@@ -17,7 +17,7 @@
|
||||
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
# - Find V8 (Google's JavaScript engine)
|
||||
# - Find V8 (Google's Javascript engine)
|
||||
# This module finds if libv8 is installed and determines where
|
||||
# the include files and libraries are.
|
||||
#
|
||||
|
||||
+6
-137
@@ -113,7 +113,6 @@ AH_VERBATIM([PLUGIN_BUFLIST], [#undef PLUGIN_BUFLIST])
|
||||
AH_VERBATIM([PLUGIN_CHARSET], [#undef PLUGIN_CHARSET])
|
||||
AH_VERBATIM([PLUGIN_EXEC], [#undef PLUGIN_EXEC])
|
||||
AH_VERBATIM([PLUGIN_FIFO], [#undef PLUGIN_FIFO])
|
||||
AH_VERBATIM([PLUGIN_FSET], [#undef PLUGIN_FSET])
|
||||
AH_VERBATIM([PLUGIN_IRC], [#undef PLUGIN_IRC])
|
||||
AH_VERBATIM([PLUGIN_LOGGER], [#undef PLUGIN_LOGGER])
|
||||
AH_VERBATIM([PLUGIN_RELAY], [#undef PLUGIN_RELAY])
|
||||
@@ -122,7 +121,6 @@ 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_PHP], [#undef PLUGIN_PHP])
|
||||
AH_VERBATIM([PLUGIN_TCL], [#undef PLUGIN_TCL])
|
||||
AH_VERBATIM([PLUGIN_GUILE], [#undef PLUGIN_GUILE])
|
||||
AH_VERBATIM([PLUGIN_JAVASCRIPT], [#undef PLUGIN_JAVASCRIPT])
|
||||
@@ -146,7 +144,6 @@ AC_ARG_ENABLE(buflist, [ --disable-buflist turn off Buflist plugin (
|
||||
AC_ARG_ENABLE(charset, [ --disable-charset turn off Charset plugin (default=compiled)],enable_charset=$enableval,enable_charset=yes)
|
||||
AC_ARG_ENABLE(exec, [ --disable-exec turn off Exec plugin (default=compiled)],enable_exec=$enableval,enable_exec=yes)
|
||||
AC_ARG_ENABLE(fifo, [ --disable-fifo turn off Fifo plugin (default=compiled)],enable_fifo=$enableval,enable_fifo=yes)
|
||||
AC_ARG_ENABLE(fset, [ --disable-fset turn off Fast Set plugin (default=compiled)],enable_fset=$enableval,enable_fset=yes)
|
||||
AC_ARG_ENABLE(irc, [ --disable-irc turn off IRC plugin (default=compiled)],enable_irc=$enableval,enable_irc=yes)
|
||||
AC_ARG_ENABLE(logger, [ --disable-logger turn off Logger plugin (default=compiled)],enable_logger=$enableval,enable_logger=yes)
|
||||
AC_ARG_ENABLE(relay, [ --disable-relay turn off Relay plugin (default=compiled)],enable_relay=$enableval,enable_relay=yes)
|
||||
@@ -159,8 +156,7 @@ AC_ARG_ENABLE(ruby, [ --disable-ruby turn off Ruby script plug
|
||||
AC_ARG_ENABLE(lua, [ --disable-lua turn off Lua script plugin (default=compiled if found)],enable_lua=$enableval,enable_lua=yes)
|
||||
AC_ARG_ENABLE(tcl, [ --disable-tcl turn off Tcl script plugin (default=compiled if found)],enable_tcl=$enableval,enable_tcl=yes)
|
||||
AC_ARG_ENABLE(guile, [ --disable-guile turn off Guile (scheme) script plugin (default=compiled if found)],enable_guile=$enableval,enable_guile=yes)
|
||||
AC_ARG_ENABLE(javascript, [ --disable-javascript turn off JavaScript script plugin (default=compiled if found)],enable_javascript=$enableval,enable_javascript=yes)
|
||||
AC_ARG_ENABLE(php, [ --disable-php turn off PHP script plugin (default=compiled if found)],enable_php=$enableval,enable_php=yes)
|
||||
AC_ARG_ENABLE(javascript, [ --disable-javascript turn off Javascript script plugin (default=compiled if found)],enable_javascript=$enableval,enable_javascript=yes)
|
||||
AC_ARG_ENABLE(trigger, [ --disable-trigger turn off Trigger plugin (default=compiled)],enable_trigger=$enableval,enable_trigger=yes)
|
||||
AC_ARG_ENABLE(xfer, [ --disable-xfer turn off Xfer (file transfer) plugin (default=compiled)],enable_xfer=$enableval,enable_xfer=yes)
|
||||
AC_ARG_WITH(tclconfig, [ --with-tclconfig=DIR directory containing tcl configuration (tclConfig.sh)],tclconfig=$withval,tclconfig='')
|
||||
@@ -294,7 +290,6 @@ if test "x$enable_scripts" = "xno" ; then
|
||||
enable_tcl="no"
|
||||
enable_guile="no"
|
||||
enable_javascript="no"
|
||||
enable_php="no"
|
||||
fi
|
||||
|
||||
# ---------------------------------- alias -------------------------------------
|
||||
@@ -426,14 +421,6 @@ else
|
||||
not_asked="$not_asked fifo"
|
||||
fi
|
||||
|
||||
# --------------------------------- fset ---------------------------------------
|
||||
|
||||
if test "x$enable_fset" = "xyes" ; then
|
||||
AC_DEFINE(PLUGIN_FSET)
|
||||
else
|
||||
not_asked="$not_asked fset"
|
||||
fi
|
||||
|
||||
# ----------------------------------- irc --------------------------------------
|
||||
|
||||
if test "x$enable_irc" = "xyes" ; then
|
||||
@@ -888,8 +875,8 @@ if test "x$enable_javascript" = "xyes" ; then
|
||||
AC_CHECK_HEADER(v8.h,ac_found_v8_header="yes",ac_found_v8_header="no")
|
||||
if test "x$ac_found_v8_header" = "xyes" ; then
|
||||
#AC_CHECK_LIB(v8,v8,ac_found_v8_lib="yes",ac_found_v8_lib="no")
|
||||
ac_save_LIBS="$LIBS"
|
||||
LIBS="$LIBS -lv8"
|
||||
ac_save_LDFLAGS="$LDFLAGS"
|
||||
LDFLAGS="$LDFLAGS -lv8"
|
||||
AC_MSG_CHECKING(for v8 usability in programs)
|
||||
AC_TRY_RUN([
|
||||
#include <v8.h>
|
||||
@@ -898,7 +885,7 @@ if test "x$enable_javascript" = "xyes" ; then
|
||||
const char *version = V8::GetVersion();
|
||||
return 0;
|
||||
}],ac_found_v8_lib="yes", ac_found_v8_lib="no", ac_found_v8_lib="assume-yes")
|
||||
LIBS="$ac_save_LIBS"
|
||||
LDFLAGS="$ac_save_LDFLAGS"
|
||||
if test "x$ac_found_v8_lib" = "xyes" ; then
|
||||
AC_MSG_RESULT(yes)
|
||||
v8_found="yes"
|
||||
@@ -908,14 +895,14 @@ if test "x$enable_javascript" = "xyes" ; then
|
||||
AC_MSG_RESULT(no)
|
||||
AC_MSG_WARN([
|
||||
*** V8 library couldn't be found on your system.
|
||||
*** WeeChat will be built without JavaScript support.])
|
||||
*** WeeChat will be built without Javascript support.])
|
||||
enable_javascript="no"
|
||||
not_found="$not_found javascript/v8"
|
||||
fi
|
||||
else
|
||||
AC_MSG_WARN([
|
||||
*** V8 header files couldn't be found on your system.
|
||||
*** WeeChat will be built without JavaScript support.])
|
||||
*** WeeChat will be built without Javascript support.])
|
||||
enable_javascript="no"
|
||||
not_found="$not_found javascript/v8"
|
||||
fi
|
||||
@@ -931,114 +918,6 @@ fi
|
||||
|
||||
AC_LANG_POP
|
||||
|
||||
# ---------------------------------- php --------------------------------------
|
||||
|
||||
PHP_VERSION=
|
||||
|
||||
if test "x$enable_php" = "xyes" ; then
|
||||
ac_save_CPPFLAGS="$CPPFLAGS"
|
||||
ac_save_CFLAGS="$CFLAGS"
|
||||
ac_save_LDFLAGS="$LDFLAGS"
|
||||
|
||||
PHP_CFLAGS=""
|
||||
PHP_LFLAGS=""
|
||||
|
||||
if test -n "$php_inc"; then
|
||||
CFLAGS="$CFLAGS -I$php_inc"
|
||||
CPPFLAGS="$CPPFLAGS -I$php_inc"
|
||||
fi
|
||||
if test -n "$php_lib"; then
|
||||
LDFLAGS="$LDFLAGS -L$php_lib"
|
||||
fi
|
||||
|
||||
if test "x$PHP_CFLAGS" = "x" -o "x$PHP_LFLAGS" = "x" ; then
|
||||
AC_MSG_CHECKING(for PHP headers and libraries with pkg-config)
|
||||
echo
|
||||
for l in "7.2" "72" "7.1" "71" "7.0" "70" "7" "$php_suffix" "" ; do
|
||||
pkgconfig_php_found=`$PKGCONFIG --exists php$l 2>/dev/null`
|
||||
if test "x$?" = "x0" ; then
|
||||
pkgconfig_php_found=`$PKGCONFIG --atleast-version=7 php$l 2>/dev/null`
|
||||
if test "x$?" = "x0" ; then
|
||||
PHP_VERSION=`$PKGCONFIG --modversion php$l`
|
||||
PHP_CFLAGS="$PHP_CFLAGS "`$PKGCONFIG --cflags php$l`
|
||||
PHP_LFLAGS="$PHP_LFLAGS "`$PKGCONFIG --libs php$l`
|
||||
break
|
||||
fi
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
if test "x$PHP_CFLAGS" = "x" -o "x$PHP_LFLAGS" = "x" ; then
|
||||
PHPCONFIG=""
|
||||
AC_MSG_CHECKING(for PHP headers and libraries with php-config)
|
||||
for l in "7.2" "72" "7.1" "71" "7.0" "70" "7" "$php_suffix" "" ; do
|
||||
AC_CHECK_PROG(PHPCONFIG, "php-config$l", "php-config$l")
|
||||
if test "x$PHPCONFIG" != "x" ; then
|
||||
php_config_version=`$PHPCONFIG --version`
|
||||
if test "x${php_config_version#7}" != "x${php_config_version}" ; then
|
||||
PHP_VERSION=$php_config_version
|
||||
PHP_CFLAGS=`$PHPCONFIG --includes`
|
||||
PHP_LFLAGS="-L$($PHPCONFIG --prefix)/lib/ $($PHPCONFIG --libs) -lphp$l"
|
||||
break
|
||||
fi
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
if test "x$PHP_CFLAGS" = "x" -o "x$PHP_LFLAGS" = "x" ; then
|
||||
AC_MSG_CHECKING(for PHP headers and libraries)
|
||||
echo
|
||||
AC_CHECK_HEADER(php.h,ac_found_php_header="yes",ac_found_php_header="no")
|
||||
if test "x$ac_found_php_header" = "xyes" ; then
|
||||
PHP_CFLAGS="$CFLAGS"
|
||||
fi
|
||||
for l in "7.2" "72" "7.1" "71" "7.0" "70" "7" "$php_suffix" "" ; do
|
||||
AC_CHECK_LIB(php$l,php_execute_script,ac_found_php_lib="yes",ac_found_php_lib="no")
|
||||
if test "x$ac_found_php_lib" = "xyes" ; then
|
||||
PHP_VERSION=">=7.0.0"
|
||||
|
||||
PHP_LFLAGS="$LDFLAGS -lphp7 -lm"
|
||||
|
||||
ac2_save_LDFLAGS="$LDFLAGS"
|
||||
LDFLAGS="$LDFLAGS -lphp7 -lm"
|
||||
|
||||
if echo "$host_os" | grep "^linux" 1>/dev/null 2>&1 ; then
|
||||
LDFLAGS="$LDFLAGS -ldl"
|
||||
fi
|
||||
|
||||
LDFLAGS="$ac2_save_LDFLAGS"
|
||||
break
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
AC_MSG_CHECKING(for PHP compiling and linking)
|
||||
PHP_TEST=`LT=phptest.c ; echo "#include <sapi/embed/php_embed.h>" > $LT; echo "int main() { php_embed_init(0, NULL); php_embed_shutdown(); return 0; }" >> $LT ; $CC -Wall $LT -o $LT.out $PHP_CFLAGS $PHP_LFLAGS $CFLAGS $LDFLAGS 1>/dev/null 2>&1 ; echo $?; rm -f $LT $LT.out 1>/dev/null 2>&1`
|
||||
if test "x$PHP_TEST" != "x0" ; then
|
||||
AC_MSG_RESULT(no)
|
||||
AC_MSG_WARN([
|
||||
*** PHP (>=7.0) headers and/or libraries couldn't be found on your system.
|
||||
*** Try to install libphp-embed with your software package manager.
|
||||
*** WeeChat will be built without PHP support.])
|
||||
enable_php="no"
|
||||
not_found="$not_found php"
|
||||
else
|
||||
AC_MSG_RESULT(yes)
|
||||
fi
|
||||
|
||||
CFLAGS="$ac_save_CFLAGS"
|
||||
CPPFLAGS="$ac_save_CPPFLAGS"
|
||||
LDFLAGS="$ac_save_LDFLAGS"
|
||||
else
|
||||
not_asked="$not_asked php"
|
||||
fi
|
||||
|
||||
if test "x$enable_php" = "xyes" ; then
|
||||
AC_SUBST(PHP_CFLAGS)
|
||||
AC_SUBST(PHP_LFLAGS)
|
||||
AC_DEFINE(PLUGIN_PHP)
|
||||
fi
|
||||
|
||||
# --------------------------------- trigger ------------------------------------
|
||||
|
||||
if test "x$enable_trigger" = "xyes" ; then
|
||||
@@ -1380,7 +1259,6 @@ AM_CONDITIONAL(PLUGIN_BUFLIST, test "$enable_buflist" = "yes")
|
||||
AM_CONDITIONAL(PLUGIN_CHARSET, test "$enable_charset" = "yes")
|
||||
AM_CONDITIONAL(PLUGIN_EXEC, test "$enable_exec" = "yes")
|
||||
AM_CONDITIONAL(PLUGIN_FIFO, test "$enable_fifo" = "yes")
|
||||
AM_CONDITIONAL(PLUGIN_FSET, test "$enable_fset" = "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")
|
||||
@@ -1392,7 +1270,6 @@ AM_CONDITIONAL(PLUGIN_LUA, test "$enable_lua" = "yes")
|
||||
AM_CONDITIONAL(PLUGIN_TCL, test "$enable_tcl" = "yes")
|
||||
AM_CONDITIONAL(PLUGIN_GUILE, test "$enable_guile" = "yes")
|
||||
AM_CONDITIONAL(PLUGIN_JAVASCRIPT, test "$enable_javascript" = "yes")
|
||||
AM_CONDITIONAL(PLUGIN_PHP, test "$enable_php" = "yes")
|
||||
AM_CONDITIONAL(PLUGIN_TRIGGER, test "$enable_trigger" = "yes")
|
||||
AM_CONDITIONAL(PLUGIN_XFER, test "$enable_xfer" = "yes")
|
||||
AM_CONDITIONAL(TESTS, test "$enable_tests" = "yes")
|
||||
@@ -1419,7 +1296,6 @@ AC_OUTPUT([Makefile
|
||||
src/plugins/charset/Makefile
|
||||
src/plugins/exec/Makefile
|
||||
src/plugins/fifo/Makefile
|
||||
src/plugins/fset/Makefile
|
||||
src/plugins/irc/Makefile
|
||||
src/plugins/logger/Makefile
|
||||
src/plugins/relay/Makefile
|
||||
@@ -1431,7 +1307,6 @@ AC_OUTPUT([Makefile
|
||||
src/plugins/tcl/Makefile
|
||||
src/plugins/guile/Makefile
|
||||
src/plugins/javascript/Makefile
|
||||
src/plugins/php/Makefile
|
||||
src/plugins/trigger/Makefile
|
||||
src/plugins/xfer/Makefile
|
||||
src/gui/Makefile
|
||||
@@ -1474,9 +1349,6 @@ fi
|
||||
if test "x$enable_fifo" = "xyes"; then
|
||||
listplugins="$listplugins fifo"
|
||||
fi
|
||||
if test "x$enable_fset" = "xyes"; then
|
||||
listplugins="$listplugins fset"
|
||||
fi
|
||||
if test "x$enable_irc" = "xyes" ; then
|
||||
listplugins="$listplugins irc"
|
||||
fi
|
||||
@@ -1510,9 +1382,6 @@ fi
|
||||
if test "x$enable_javascript" = "xyes"; then
|
||||
listplugins="$listplugins javascript/v8"
|
||||
fi
|
||||
if test "x$enable_php" = "xyes"; then
|
||||
listplugins="$listplugins php($PHP_VERSION)"
|
||||
fi
|
||||
if test "x$enable_trigger" = "xyes"; then
|
||||
listplugins="$listplugins trigger"
|
||||
fi
|
||||
|
||||
+7
-88
@@ -16,7 +16,6 @@ Build-Depends:
|
||||
tcl8.6-dev,
|
||||
guile-2.0-dev,
|
||||
libv8-dev [amd64 armel armhf hurd-i386 i386 kfreebsd-amd64 kfreebsd-i386 mips mipsel],
|
||||
php7.1-dev, libphp7.1-embed, libxml2-dev,
|
||||
libcurl4-gnutls-dev,
|
||||
libgcrypt20-dev,
|
||||
libgnutls28-dev,
|
||||
@@ -31,7 +30,7 @@ Architecture: all
|
||||
Depends: ${misc:Depends}, weechat-devel-curses (>= ${source:Version})
|
||||
Suggests: weechat-devel-doc (= ${source:Version})
|
||||
Conflicts: weechat
|
||||
Description: Fast, light and extensible chat client (metapackage)
|
||||
Description: Fast, light and extensible chat client
|
||||
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
|
||||
for many operating systems. Everything can be done with a keyboard.
|
||||
It is customizable and extensible with plugins/scripts, and includes:
|
||||
@@ -45,7 +44,7 @@ Description: Fast, light and extensible chat client (metapackage)
|
||||
- 256 colors support
|
||||
- incremental text search
|
||||
- dynamic filtering of buffer content
|
||||
- Perl, Python, Ruby, Lua, Tcl, Scheme, JavaScript and PHP scripting
|
||||
- Perl, Python, Ruby, Lua, Tcl, Scheme and Javascript scripting
|
||||
- scripts manager
|
||||
- spell checking
|
||||
- highly customizable and extensible
|
||||
@@ -71,7 +70,7 @@ Description: Fast, light and extensible chat client - console client
|
||||
- 256 colors support
|
||||
- incremental text search
|
||||
- dynamic filtering of buffer content
|
||||
- Perl, Python, Ruby, Lua, Tcl, Scheme, JavaScript and PHP scripting
|
||||
- Perl, Python, Ruby, Lua, Tcl, Scheme and Javascript scripting
|
||||
- scripts manager
|
||||
- spell checking
|
||||
- highly customizable and extensible
|
||||
@@ -89,8 +88,8 @@ Description: Fast, light and extensible chat client - core files
|
||||
for many operating systems. Everything can be done with a keyboard.
|
||||
.
|
||||
This package provides core plugins and locales files for WeeChat. It
|
||||
currently ships the following plugins: alias, buflist, charset, fset, irc,
|
||||
logger and xfer. It is useless without weechat-curses.
|
||||
currently ships the following plugins: alias, buflist, charset, irc, logger
|
||||
and xfer. It is useless without weechat-curses.
|
||||
|
||||
Package: weechat-devel-plugins
|
||||
Architecture: any
|
||||
@@ -102,93 +101,13 @@ Description: Fast, light and extensible chat client - plugins
|
||||
.
|
||||
This package provides some plugins to enhance WeeChat. It currently
|
||||
ships the following plugins:
|
||||
- Perl, Python, Ruby, Lua, Tcl, Scheme and Javascript scripting
|
||||
- scripts manager
|
||||
- Spell checking (thanks to aspell)
|
||||
- FIFO pipe for remote control
|
||||
- Relay (IRC proxy and WeeChat protocol)
|
||||
- IRC proxy
|
||||
- Trigger
|
||||
|
||||
Package: weechat-devel-python
|
||||
Architecture: any
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}, weechat-devel-curses (= ${binary:Version})
|
||||
Conflicts: weechat-python
|
||||
Description: Fast, light and extensible chat client - python plugin
|
||||
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
|
||||
for many operating systems. Everything can be done with a keyboard.
|
||||
.
|
||||
This package provides the Python scripting API plugin.
|
||||
|
||||
Package: weechat-devel-perl
|
||||
Architecture: any
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}, weechat-devel-curses (= ${binary:Version})
|
||||
Conflicts: weechat-perl
|
||||
Description: Fast, light and extensible chat client - perl plugin
|
||||
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
|
||||
for many operating systems. Everything can be done with a keyboard.
|
||||
.
|
||||
This package provides the Perl scripting API plugin.
|
||||
|
||||
Package: weechat-devel-ruby
|
||||
Architecture: any
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}, weechat-devel-curses (= ${binary:Version})
|
||||
Conflicts: weechat-ruby
|
||||
Description: Fast, light and extensible chat client - ruby plugin
|
||||
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
|
||||
for many operating systems. Everything can be done with a keyboard.
|
||||
.
|
||||
This package provides the Ruby scripting API plugin.
|
||||
|
||||
Package: weechat-devel-lua
|
||||
Architecture: any
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}, weechat-devel-curses (= ${binary:Version})
|
||||
Conflicts: weechat-lua
|
||||
Description: Fast, light and extensible chat client - lua plugin
|
||||
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
|
||||
for many operating systems. Everything can be done with a keyboard.
|
||||
.
|
||||
This package provides the Lua scripting API plugin.
|
||||
|
||||
Package: weechat-devel-tcl
|
||||
Architecture: any
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}, weechat-devel-curses (= ${binary:Version})
|
||||
Conflicts: weechat-tcl
|
||||
Description: Fast, light and extensible chat client - tcl plugin
|
||||
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
|
||||
for many operating systems. Everything can be done with a keyboard.
|
||||
.
|
||||
This package provides the TCL scripting API plugin.
|
||||
|
||||
Package: weechat-devel-guile
|
||||
Architecture: any
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}, weechat-devel-curses (= ${binary:Version})
|
||||
Conflicts: weechat-guile
|
||||
Description: Fast, light and extensible chat client - guile plugin
|
||||
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
|
||||
for many operating systems. Everything can be done with a keyboard.
|
||||
.
|
||||
This package provides the Guile scripting API plugin.
|
||||
|
||||
Package: weechat-devel-javascript
|
||||
Architecture: any
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}, weechat-devel-curses (= ${binary:Version})
|
||||
Conflicts: weechat-javascript
|
||||
Description: Fast, light and extensible chat client - javascript plugin
|
||||
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
|
||||
for many operating systems. Everything can be done with a keyboard.
|
||||
.
|
||||
This package provides the JavaScript scripting API plugin.
|
||||
|
||||
Package: weechat-devel-php
|
||||
Architecture: any
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}, weechat-devel-curses (= ${binary:Version}),
|
||||
libphp7.1-embed
|
||||
Conflicts: weechat-php
|
||||
Description: Fast, light and extensible chat client - php plugin
|
||||
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
|
||||
for many operating systems. Everything can be done with a keyboard.
|
||||
.
|
||||
This package provides the PHP scripting API plugin.
|
||||
|
||||
Package: weechat-devel-doc
|
||||
Section: doc
|
||||
Architecture: all
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
../debian-stable/weechat-guile.dirs
|
||||
@@ -1 +0,0 @@
|
||||
../debian-stable/weechat-guile.install
|
||||
@@ -1 +0,0 @@
|
||||
../debian-stable/weechat-javascript.dirs
|
||||
@@ -1 +0,0 @@
|
||||
../debian-stable/weechat-javascript.install
|
||||
@@ -1 +0,0 @@
|
||||
../debian-stable/weechat-lua.dirs
|
||||
@@ -1 +0,0 @@
|
||||
../debian-stable/weechat-lua.install
|
||||
@@ -1 +0,0 @@
|
||||
../debian-stable/weechat-perl.dirs
|
||||
@@ -1 +0,0 @@
|
||||
../debian-stable/weechat-perl.install
|
||||
@@ -1 +0,0 @@
|
||||
../debian-stable/weechat-php.dirs
|
||||
@@ -1 +0,0 @@
|
||||
../debian-stable/weechat-php.install
|
||||
@@ -1 +0,0 @@
|
||||
../debian-stable/weechat-python.dirs
|
||||
@@ -1 +0,0 @@
|
||||
../debian-stable/weechat-python.install
|
||||
@@ -1 +0,0 @@
|
||||
../debian-stable/weechat-ruby.dirs
|
||||
@@ -1 +0,0 @@
|
||||
../debian-stable/weechat-ruby.install
|
||||
@@ -1 +0,0 @@
|
||||
../debian-stable/weechat-tcl.dirs
|
||||
@@ -1 +0,0 @@
|
||||
../debian-stable/weechat-tcl.install
|
||||
+1
-1
@@ -13,7 +13,7 @@ weechat (0.3.1-1) unstable; urgency=low
|
||||
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:
|
||||
https://weechat.org/blog/post/2009/12/01/SSL-certificates
|
||||
http://dev.weechat.org/post/2009/12/01/SSL-certificates
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@debian.org> Mon, 25 Jan 2010 12:35:11 +0100
|
||||
|
||||
|
||||
+7
-80
@@ -16,7 +16,6 @@ Build-Depends:
|
||||
tcl8.6-dev,
|
||||
guile-2.0-dev,
|
||||
libv8-dev [amd64 armel armhf hurd-i386 i386 kfreebsd-amd64 kfreebsd-i386 mips mipsel],
|
||||
php7.1-dev, libphp7.1-embed, libxml2-dev,
|
||||
libcurl4-gnutls-dev,
|
||||
libgcrypt20-dev,
|
||||
libgnutls28-dev,
|
||||
@@ -30,7 +29,7 @@ Package: weechat
|
||||
Architecture: all
|
||||
Depends: ${misc:Depends}, weechat-curses (>= ${source:Version})
|
||||
Suggests: weechat-doc (= ${source:Version})
|
||||
Description: Fast, light and extensible chat client (metapackage)
|
||||
Description: Fast, light and extensible chat client
|
||||
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
|
||||
for many operating systems. Everything can be done with a keyboard.
|
||||
It is customizable and extensible with plugins/scripts, and includes:
|
||||
@@ -44,7 +43,7 @@ Description: Fast, light and extensible chat client (metapackage)
|
||||
- 256 colors support
|
||||
- incremental text search
|
||||
- dynamic filtering of buffer content
|
||||
- Perl, Python, Ruby, Lua, Tcl, Scheme, JavaScript and PHP scripting
|
||||
- Perl, Python, Ruby, Lua, Tcl, Scheme and Javascript scripting
|
||||
- scripts manager
|
||||
- spell checking
|
||||
- highly customizable and extensible
|
||||
@@ -71,7 +70,7 @@ Description: Fast, light and extensible chat client - console client
|
||||
- 256 colors support
|
||||
- incremental text search
|
||||
- dynamic filtering of buffer content
|
||||
- Perl, Python, Ruby, Lua, Tcl, Scheme, JavaScript and PHP scripting
|
||||
- Perl, Python, Ruby, Lua, Tcl, Scheme and Javascript scripting
|
||||
- scripts manager
|
||||
- spell checking
|
||||
- highly customizable and extensible
|
||||
@@ -89,8 +88,8 @@ Description: Fast, light and extensible chat client - core files
|
||||
for many operating systems. Everything can be done with a keyboard.
|
||||
.
|
||||
This package provides core plugins and locales files for WeeChat. It
|
||||
currently ships the following plugins: alias, buflist, charset, fset, irc,
|
||||
logger and xfer. It is useless without weechat-curses.
|
||||
currently ships the following plugins: alias, buflist, charset, irc, logger
|
||||
and xfer. It is useless without weechat-curses.
|
||||
|
||||
Package: weechat-plugins
|
||||
Architecture: any
|
||||
@@ -102,85 +101,13 @@ Description: Fast, light and extensible chat client - plugins
|
||||
.
|
||||
This package provides some plugins to enhance WeeChat. It currently
|
||||
ships the following plugins:
|
||||
- Perl, Python, Ruby, Lua, Tcl, Scheme and Javascript scripting
|
||||
- scripts manager
|
||||
- Spell checking (thanks to aspell)
|
||||
- FIFO pipe for remote control
|
||||
- Relay (IRC proxy and WeeChat protocol)
|
||||
- IRC proxy
|
||||
- Trigger
|
||||
|
||||
Package: weechat-python
|
||||
Architecture: any
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}, weechat-curses (= ${binary:Version})
|
||||
Description: Fast, light and extensible chat client - python plugin
|
||||
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
|
||||
for many operating systems. Everything can be done with a keyboard.
|
||||
.
|
||||
This package provides the Python scripting API plugin.
|
||||
|
||||
Package: weechat-perl
|
||||
Architecture: any
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}, weechat-curses (= ${binary:Version})
|
||||
Description: Fast, light and extensible chat client - perl plugin
|
||||
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
|
||||
for many operating systems. Everything can be done with a keyboard.
|
||||
.
|
||||
This package provides the Perl scripting API plugin.
|
||||
|
||||
Package: weechat-ruby
|
||||
Architecture: any
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}, weechat-curses (= ${binary:Version})
|
||||
Description: Fast, light and extensible chat client - ruby plugin
|
||||
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
|
||||
for many operating systems. Everything can be done with a keyboard.
|
||||
.
|
||||
This package provides the Ruby scripting API plugin.
|
||||
|
||||
Package: weechat-lua
|
||||
Architecture: any
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}, weechat-curses (= ${binary:Version})
|
||||
Description: Fast, light and extensible chat client - lua plugin
|
||||
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
|
||||
for many operating systems. Everything can be done with a keyboard.
|
||||
.
|
||||
This package provides the Lua scripting API plugin.
|
||||
|
||||
Package: weechat-tcl
|
||||
Architecture: any
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}, weechat-curses (= ${binary:Version})
|
||||
Description: Fast, light and extensible chat client - tcl plugin
|
||||
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
|
||||
for many operating systems. Everything can be done with a keyboard.
|
||||
.
|
||||
This package provides the TCL scripting API plugin.
|
||||
|
||||
Package: weechat-guile
|
||||
Architecture: any
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}, weechat-curses (= ${binary:Version})
|
||||
Description: Fast, light and extensible chat client - guile plugin
|
||||
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
|
||||
for many operating systems. Everything can be done with a keyboard.
|
||||
.
|
||||
This package provides the Guile scripting API plugin.
|
||||
|
||||
Package: weechat-javascript
|
||||
Architecture: any
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}, weechat-curses (= ${binary:Version})
|
||||
Description: Fast, light and extensible chat client - javascript plugin
|
||||
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
|
||||
for many operating systems. Everything can be done with a keyboard.
|
||||
.
|
||||
This package provides the JavaScript scripting API plugin.
|
||||
|
||||
Package: weechat-php
|
||||
Architecture: any
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}, weechat-curses (= ${binary:Version}),
|
||||
libphp7.1-embed
|
||||
Description: Fast, light and extensible chat client - php plugin
|
||||
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
|
||||
for many operating systems. Everything can be done with a keyboard.
|
||||
.
|
||||
This package provides the PHP scripting API plugin.
|
||||
|
||||
Package: weechat-doc
|
||||
Section: doc
|
||||
Architecture: all
|
||||
|
||||
@@ -2,7 +2,6 @@ usr/share/locale/
|
||||
usr/lib/weechat/plugins/alias.so
|
||||
usr/lib/weechat/plugins/buflist.so
|
||||
usr/lib/weechat/plugins/charset.so
|
||||
usr/lib/weechat/plugins/fset.so
|
||||
usr/lib/weechat/plugins/irc.so
|
||||
usr/lib/weechat/plugins/logger.so
|
||||
usr/lib/weechat/plugins/xfer.so
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
usr/lib
|
||||
@@ -1 +0,0 @@
|
||||
usr/lib/weechat/plugins/guile.so
|
||||
@@ -1 +0,0 @@
|
||||
usr/lib
|
||||
@@ -1,3 +0,0 @@
|
||||
#!/usr/bin/dh-exec
|
||||
|
||||
[amd64 armel armhf hurd-i386 i386 kfreebsd-amd64 kfreebsd-i386 mips mipsel] usr/lib/weechat/plugins/javascript.so
|
||||
@@ -1 +0,0 @@
|
||||
usr/lib
|
||||
@@ -1 +0,0 @@
|
||||
usr/lib/weechat/plugins/lua.so
|
||||
@@ -1 +0,0 @@
|
||||
usr/lib
|
||||
@@ -1 +0,0 @@
|
||||
usr/lib/weechat/plugins/perl.so
|
||||
@@ -1 +0,0 @@
|
||||
usr/lib
|
||||
@@ -1 +0,0 @@
|
||||
usr/lib/weechat/plugins/php.so
|
||||
Regular → Executable
+9
@@ -1,6 +1,15 @@
|
||||
#!/usr/bin/dh-exec
|
||||
|
||||
usr/lib/weechat/plugins/aspell.so
|
||||
usr/lib/weechat/plugins/exec.so
|
||||
usr/lib/weechat/plugins/fifo.so
|
||||
usr/lib/weechat/plugins/guile.so
|
||||
[amd64 armel armhf hurd-i386 i386 kfreebsd-amd64 kfreebsd-i386 mips mipsel] usr/lib/weechat/plugins/javascript.so
|
||||
usr/lib/weechat/plugins/lua.so
|
||||
usr/lib/weechat/plugins/perl.so
|
||||
usr/lib/weechat/plugins/python.so
|
||||
usr/lib/weechat/plugins/relay.so
|
||||
usr/lib/weechat/plugins/ruby.so
|
||||
usr/lib/weechat/plugins/script.so
|
||||
usr/lib/weechat/plugins/tcl.so
|
||||
usr/lib/weechat/plugins/trigger.so
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
usr/lib
|
||||
@@ -1 +0,0 @@
|
||||
usr/lib/weechat/plugins/python.so
|
||||
@@ -1 +0,0 @@
|
||||
usr/lib
|
||||
@@ -1 +0,0 @@
|
||||
usr/lib/weechat/plugins/ruby.so
|
||||
@@ -1 +0,0 @@
|
||||
usr/lib
|
||||
@@ -1 +0,0 @@
|
||||
usr/lib/weechat/plugins/tcl.so
|
||||
@@ -78,10 +78,6 @@ $HOME/.weechat/exec.conf::
|
||||
$HOME/.weechat/fifo.conf::
|
||||
configuration file for _fifo_ plugin
|
||||
|
||||
// TRANSLATION MISSING
|
||||
$HOME/.weechat/fset.conf::
|
||||
configuration file for _fset_ plugin
|
||||
|
||||
$HOME/.weechat/irc.conf::
|
||||
konfigurační soubor pro _irc_ plugin
|
||||
|
||||
|
||||
@@ -81,11 +81,12 @@ Všechna nastavení jsou uložena při ukončení WeeChatu (nebo použitím př
|
||||
// TRANSLATION MISSING
|
||||
[IMPORTANT]
|
||||
It is *not recommended* to edit configuration files by hand because WeeChat
|
||||
may write them at any time (for example on `/quit`) and after any change
|
||||
you must run the command `/reload` (with the risk of losing other changes
|
||||
that were not yet saved with `/save`). +
|
||||
You can use the command `/set`, which checks the value and applies immediately
|
||||
the changes.
|
||||
may write them at any time (for example on <<command_weechat_quit,/quit>>)
|
||||
and after any change you must run the command <<command_weechat_reload,/reload>>
|
||||
(with the risk of losing other changes that were not yet saved with
|
||||
<<command_weechat_save,/save>>). +
|
||||
You can use the command <<command_weechat_set,/set>>, which checks the value
|
||||
and applies immediately the changes.
|
||||
|
||||
[[core_vs_plugins]]
|
||||
== Jádro versus pluginy
|
||||
@@ -201,12 +202,6 @@ K automatickému připojení některých kanálů při připojování k serveru:
|
||||
/set irc.server.freenode.autojoin "#channel1,#channel2"
|
||||
----
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[TIP]
|
||||
You can complete name and value of options with the kbd:[Tab] key
|
||||
and kbd:[Shift+Tab] for a partial completion (useful for long words like
|
||||
the name of option).
|
||||
|
||||
K smazání hodnoty serverové volby a k použití výchozí hodnoty místo ní,
|
||||
například k požití výchozích přezdívek (irc.server_default.nicks):
|
||||
|
||||
@@ -374,7 +369,7 @@ stáhnout a nainstalovat scripty z repozitáře pomocí příkazu `/script`,
|
||||
například:
|
||||
|
||||
----
|
||||
/script install go.py
|
||||
/script install iset.pl
|
||||
----
|
||||
|
||||
Zkuste `/help script` pro více informací.
|
||||
|
||||
@@ -16,8 +16,6 @@
|
||||
|
||||
| exec | exec_commands_ids | IDs (Nummern und Namen) von ausgeführten Befehlen
|
||||
|
||||
| fset | fset_options | Konfigurationsdateien, Sektionen, Optionen und Worte von Optionen
|
||||
|
||||
| guile | guile_script | Liste der Skripten
|
||||
|
||||
| irc | irc_channel | aktueller IRC-Channel
|
||||
@@ -58,8 +56,6 @@
|
||||
|
||||
| perl | perl_script | Liste der Skripten
|
||||
|
||||
| php | php_script | Liste der Skripten
|
||||
|
||||
| python | python_script | Liste der Skripten
|
||||
|
||||
| relay | relay_free_port | erster freier Port für Relay-Erweiterung
|
||||
|
||||
@@ -8,27 +8,6 @@
|
||||
|===
|
||||
| Erweiterung | Name | Beschreibung | Listen | Variablen
|
||||
|
||||
| fset
|
||||
| [[hdata_fset_option]]<<hdata_fset_option,fset_option>>
|
||||
| fset Optionen
|
||||
| -
|
||||
| _index_ (integer) +
|
||||
_file_ (string) +
|
||||
_section_ (string) +
|
||||
_option_ (string) +
|
||||
_name_ (string) +
|
||||
_parent_name_ (string) +
|
||||
_type_ (integer) +
|
||||
_default_value_ (string) +
|
||||
_value_ (string) +
|
||||
_parent_value_ (string) +
|
||||
_min_ (string) +
|
||||
_max_ (string) +
|
||||
_description_ (string) +
|
||||
_string_values_ (string) +
|
||||
_marked_ (integer) +
|
||||
|
||||
|
||||
| guile
|
||||
| [[hdata_guile_script]]<<hdata_guile_script,guile_script>>
|
||||
| Liste der Skripten
|
||||
@@ -324,26 +303,6 @@ _prev_script_ (pointer, hdata: "perl_script") +
|
||||
_next_script_ (pointer, hdata: "perl_script") +
|
||||
|
||||
|
||||
| php
|
||||
| [[hdata_php_script]]<<hdata_php_script,php_script>>
|
||||
| Liste der Skripten
|
||||
| _scripts_ +
|
||||
_last_script_ +
|
||||
|
||||
| _filename_ (string) +
|
||||
_interpreter_ (pointer) +
|
||||
_name_ (string) +
|
||||
_author_ (string) +
|
||||
_version_ (string) +
|
||||
_license_ (string) +
|
||||
_description_ (string) +
|
||||
_shutdown_func_ (string) +
|
||||
_charset_ (string) +
|
||||
_unloading_ (integer) +
|
||||
_prev_script_ (pointer, hdata: "php_script") +
|
||||
_next_script_ (pointer, hdata: "php_script") +
|
||||
|
||||
|
||||
| python
|
||||
| [[hdata_python_script]]<<hdata_python_script,python_script>>
|
||||
| Liste der Skripten
|
||||
@@ -554,7 +513,6 @@ _input_callback_ (pointer) +
|
||||
_input_callback_pointer_ (pointer) +
|
||||
_input_callback_data_ (pointer) +
|
||||
_input_get_unknown_commands_ (integer) +
|
||||
_input_get_empty_ (integer) +
|
||||
_input_buffer_ (string) +
|
||||
_input_buffer_alloc_ (integer) +
|
||||
_input_buffer_size_ (integer) +
|
||||
|
||||
@@ -8,10 +8,6 @@
|
||||
|
||||
| alias | alias | Liste der Alias | Alias Pointer (optional) | Name des Alias (Platzhalter "*" kann verwendet werden) (optional)
|
||||
|
||||
| alias | alias_default | Liste der standardmäßigen Aliase | - | -
|
||||
|
||||
| fset | fset_option | Auflistung der fset Optionen | fset Option-Pointer (optional) | Name einer Einstellung (Platzhalter "*" kann verwendet werden) (optional)
|
||||
|
||||
| guile | guile_script | Liste der Skripten | Skript Pointer (optional) | Name des Skriptes (Platzhalter "*" kann verwendet werden) (optional)
|
||||
|
||||
| irc | irc_channel | Liste der Channels eines IRC-Servers | Channel Pointer (optional) | Server,Channel (Channel ist optional)
|
||||
@@ -34,8 +30,6 @@
|
||||
|
||||
| perl | perl_script | Liste der Skripten | Skript Pointer (optional) | Name des Skriptes (Platzhalter "*" kann verwendet werden) (optional)
|
||||
|
||||
| php | php_script | Liste der Skripten | Skript Pointer (optional) | Name des Skriptes (Platzhalter "*" kann verwendet werden) (optional)
|
||||
|
||||
| python | python_script | Liste der Skripten | Skript Pointer (optional) | Name des Skriptes (Platzhalter "*" kann verwendet werden) (optional)
|
||||
|
||||
| relay | relay | Liste der Relay-Clients | Relay Pointer (optional) | -
|
||||
|
||||
@@ -2,17 +2,16 @@
|
||||
// This file is auto-generated by script docgen.py.
|
||||
// DO NOT EDIT BY HAND!
|
||||
//
|
||||
. charset (15000)
|
||||
. logger (14000)
|
||||
. exec (13000)
|
||||
. trigger (12000)
|
||||
. aspell (11000)
|
||||
. alias (10000)
|
||||
. buflist (9000)
|
||||
. fifo (8000)
|
||||
. xfer (7000)
|
||||
. irc (6000)
|
||||
. relay (5000)
|
||||
. guile, javascript, lua, perl, php, python, ruby, tcl (4000)
|
||||
. script (3000)
|
||||
. fset (2000)
|
||||
. charset (14000)
|
||||
. logger (13000)
|
||||
. exec (12000)
|
||||
. trigger (11000)
|
||||
. aspell (10000)
|
||||
. alias (9000)
|
||||
. buflist (8000)
|
||||
. fifo (7000)
|
||||
. xfer (6000)
|
||||
. irc (5000)
|
||||
. relay (4000)
|
||||
. guile, javascript, lua, perl, python, ruby, tcl (3000)
|
||||
. script (2000)
|
||||
|
||||
@@ -1,42 +0,0 @@
|
||||
//
|
||||
// This file is auto-generated by script docgen.py.
|
||||
// DO NOT EDIT BY HAND!
|
||||
//
|
||||
[width="100%",cols="2m,5m,5",options="header"]
|
||||
|===
|
||||
| Alias | Befehl | Vervollständigung
|
||||
|
||||
| /AAWAY | /allserv /away | -
|
||||
| /AME | /allchan /me | -
|
||||
| /AMSG | /allchan /msg * | -
|
||||
| /ANICK | /allserv /nick | -
|
||||
| /BEEP | /print -beep | -
|
||||
| /BYE | /quit | -
|
||||
| /C | /buffer clear | -
|
||||
| /CL | /buffer clear | -
|
||||
| /CLOSE | /buffer close | -
|
||||
| /CHAT | /dcc chat | -
|
||||
| /EXIT | /quit | -
|
||||
| /IG | /ignore | -
|
||||
| /J | /join | -
|
||||
| /K | /kick | -
|
||||
| /KB | /kickban | -
|
||||
| /LEAVE | /part | -
|
||||
| /M | /msg | -
|
||||
| /MUB | /unban * | -
|
||||
| /MSGBUF | /command -buffer $1 * /input send $2- | %(buffers_plugins_names)
|
||||
| /N | /names | -
|
||||
| /Q | /query | -
|
||||
| /REDRAW | /window refresh | -
|
||||
| /SAY | /msg * | -
|
||||
| /SIGNOFF | /quit | -
|
||||
| /T | /topic | -
|
||||
| /UB | /unban | -
|
||||
| /UMODE | /mode $nick | -
|
||||
| /V | /command core version | -
|
||||
| /W | /who | -
|
||||
| /WC | /window merge | -
|
||||
| /WI | /whois | -
|
||||
| /WII | /whois $1 $1 | -
|
||||
| /WW | /whowas | -
|
||||
|===
|
||||
@@ -18,8 +18,6 @@ Jede Zeile die einen Buffer anzeigt wird mittels Zeichenketten-Evaluation darges
|
||||
- buflist.format.buffer_current: Format für den aktuell dargestellten Buffer
|
||||
|
||||
Die folgenden Variablen können in den obigen Optionen genutzt werden:
|
||||
- bar item data (siehe hdata "bar_item" in API Dokumentation für eine vollständige Liste), zum Beispiel:
|
||||
- ${bar_item.name}
|
||||
- buffer data (siehe hdata "buffer" in API Dokumentation für eine vollständige Liste), zum Beispiel:
|
||||
- ${buffer.number}
|
||||
- ${buffer.name}
|
||||
@@ -41,7 +39,7 @@ Die folgenden Variablen können in den obigen Optionen genutzt werden:
|
||||
- ${nick_prefix}: der Nick-Präfix für einen Channel (wird nur genutzt falls die Option buflist.look.nick_prefix aktiviert ist)
|
||||
- ${format_name}: der formatierte Name (evaluiert aus Option buflist.format.name)
|
||||
- ${name}: der Kurzname (falls einer gesetzt ist), Ersatzweise wird auf den Originalnamen zurückgegriffen
|
||||
- ${color_hotlist}: die Farbe mit der höchsten Priorität für den entsprechenden Buffer (evaluiert aus Option buflist.format.hotlist_xxx wobei xxx der entsprechende Level ist)
|
||||
- ${color_hotlist}: die Farbe mit der höchsten Priorität für den entsprechenden Buffer (evaluiert aus Option buflist.format.hotlist_xxx wobei xxx der entsprechende Level ist)
|
||||
- ${format_hotlist}: die formatierte Hotlist (evaluiert aus Option buflist.format.hotlist)
|
||||
- ${hotlist}: die Hotlist in der Rohform
|
||||
- ${hotlist_priority}: "none", "low", "message", "private" oder "highlight"
|
||||
|
||||
@@ -86,12 +86,6 @@
|
||||
** Werte: beliebige Zeichenkette
|
||||
** Standardwert: `+"${color:green}${number}${if:${number_displayed}?.: }"+`
|
||||
|
||||
* [[option_buflist.look.add_newline]] *buflist.look.add_newline*
|
||||
** Beschreibung: pass:none[fügt einen Zeilenumbruch zwischen die einzelnen Buffer hinzu um pro Zeile einen Buffer anzuzeigen (empfohlen); falls deaktiviert muss ein Zeilenumbruch manuell hinzugefügt werden, "${\\n}", des Weiteren ist die Mausunterstützung nicht mehr gegeben]
|
||||
** Typ: boolesch
|
||||
** Werte: on, off
|
||||
** Standardwert: `+on+`
|
||||
|
||||
* [[option_buflist.look.auto_scroll]] *buflist.look.auto_scroll*
|
||||
** Beschreibung: pass:none[scrollt automatisch die buflist-Bar um den aktuellen Buffer darzustellen (dies funktioniert ausschließlich wenn die Bar links/rechts positioniert ist und als Darstellung "vertical" verwendet wird); dieser Wert ist eine prozentuale Angabe wo der aktuelle Buffer angezeigt werden soll (-1 = deaktiviert); zum Beispiel wird bei einem Wert von 50 der Buffer in der Mitte der Bar angezeigt, bei 0 wird der Buffer oben und bei 100 am unteren Rand der Bar angezeigt]
|
||||
** Typ: integer
|
||||
|
||||
@@ -1,158 +0,0 @@
|
||||
//
|
||||
// This file is auto-generated by script docgen.py.
|
||||
// DO NOT EDIT BY HAND!
|
||||
//
|
||||
[[command_fset_fset]]
|
||||
* `+fset+`: Optionen von WeeChat und Erweiterungen schnell anpassen
|
||||
|
||||
----
|
||||
/fset -bar
|
||||
-refresh
|
||||
-up|-down [<number>]
|
||||
-left|-right [<percent>]
|
||||
-go <line>|end
|
||||
-toggle
|
||||
-add [<value>]
|
||||
-reset
|
||||
-unset
|
||||
-set
|
||||
-setnew
|
||||
-append
|
||||
-mark
|
||||
-format
|
||||
-export [-help|-nohelp] <filename>
|
||||
<filter>
|
||||
|
||||
-bar: fügt eine Hilfe in einer Bar hinzu
|
||||
-refresh: der Bildschirm wird neu gezeichnet (Befehl: /window refresh)
|
||||
-up: bewegt die ausgewählte Zeile um die Anzahl an Zeilen nach oben
|
||||
-down: bewegt die ausgewählte Zeile um die Anzahl an Zeilen nach unten
|
||||
-left: der fset Buffer wird wird prozentual entsprechend der Fensterbreite nach links verschoben
|
||||
-right: der fset Buffer wird wird prozentual entsprechend der Fensterbreite nach rechts verschoben
|
||||
-go: wählt eine Zeile mit der entsprechenden Nummer aus, die erste Zeile beginnt mit 0 (mit "end" wird die letzte Zeile ausgewählt)
|
||||
-toggle: der Wert einer Variable vom Typ boolean wird umgeschaltet
|
||||
-add: addiert den "Wert" (kann auch eine negative Zahl sein) bei Integer und Farbe, für andere Typen wird die Variable in die Eingabezeile kopiert und der Cursor positioniert (bei negativem Wert wird der Cursor an Beginn der Variable positioniert, bei positivem Wert wird der Cursor an das Ende gesetzt)
|
||||
-reset: löscht den Wert von der Option
|
||||
-unset: Option wird zurückgesetzt
|
||||
-set: der /set Befehl wird in die Eingabezeile kopiert um den Wert der Option zu editieren (der Cursor wird auf den Anfang des Wertes gesetzt)
|
||||
-setnew: der /set Befehl wird in die Eingabezeile kopiert um den Wert add the /set command in input to edit a new value for the option
|
||||
-append: der /set Befehl wird in die Eingabezeile kopiert um einen zusätzlichen Wert einzugeben (der Cursor wird an das Ende der Variable positioniert)
|
||||
-mark: Markierung umschalten
|
||||
-format: es wird zum nächsten verfügbaren Format gewechselt
|
||||
-export: exportiert die Optionen und Werte, welche angezeigt werden, in eine Datei (jede Zeile hat das Format: "/set Name Wert" oder "/unset Name")
|
||||
-help: der Hilfstext für eine Option wird in die exportierte Datei geschrieben (siehe /help fset.look.export_help_default)
|
||||
-nohelp: der Hilfetext für eine Option wird nicht in die exportierte Datei geschrieben (siehe /help fset.look.export_help_default)
|
||||
filter: setzt einen neuen Filter um nur ausgewählte Optionen anzuzeigen (die Filterfunktion kann direkt in der Eingabezeile eingegeben werden); mögliche Formate sind:
|
||||
* alle Optionen werden angezeigt (keine Filterung)
|
||||
xxx zeigt nur Optionen mit "xxx" im Namen
|
||||
f:xxx zeigt nur Konfigurationsdatei "xxx" an
|
||||
t:xxx zeigt nur Optionen des entsprechenden Typs, "xxx" (bool/int/str/col)
|
||||
d zeigt nur Optionen die verändert wurden
|
||||
d:xxx zeigt nur Optionen die verändert wurden und "xxx" im Namen haben
|
||||
d=xxx zeigt nur veränderte Optionen, die "xxx" als Wert haben
|
||||
d==xxx zeigt nur veränderte Optionen die exakt "xxx" als Wert haben
|
||||
=xxx zeigt nur Optionen mit "xxx" als Wert
|
||||
==xxx zeigt nur Optionen die exakt "xxx" als Wert haben
|
||||
c:xxx zeigt nur Optionen auf die die evaluierte Bedingung "xxx" zutrifft, folgende Variable können verwendet werden: file, section, option, name, parent_name, type, type_en, type_short (bool/int/str/col), type_tiny (b/i/s/c), default_value, default_value_undef, value, quoted_value, value_undef, value_changed, parent_value, min, max, description, description2, description_en, description_en2, string_values
|
||||
|
||||
Zeilen werden mittels evaluierten Ausdrücken dargestellt (siehe /help eval für das Format), dazu werden diese Optionen verwendet:
|
||||
- fset.format.option1: erstes Format für eine Option
|
||||
- fset.format.option2: zweites Format für eine Option
|
||||
|
||||
Die nachfolgenden Variablen können in den Optionen genutzt werden:
|
||||
- Optionsdaten, mit Farbe und durch Leerzeichen auf der rechten Seite aufgefüllt:
|
||||
- ${file}: Konfigurationsdatei (zum Beispiel "weechat" oder "irc")
|
||||
- ${section}: Sektion
|
||||
- ${option}: Name der Option
|
||||
- ${name}: vollständiger Name der Option (file.section.option)
|
||||
- ${parent_name}: übergeordneter Name der Option
|
||||
- ${type}: Optionstyp (übersetzt)
|
||||
- ${type_en}: Optionstyp (auf englisch)
|
||||
- ${type_short}: Optionstyp Kurzform (bool/int/str/col)
|
||||
- ${type_tiny}: Optionstyp klein (b/i/s/c)
|
||||
- ${default_value}: Standardwert einer Option
|
||||
- ${default_value_undef}: "1" falls Standardwert null ist, andernfalls "0"
|
||||
- ${value}: Optionswert
|
||||
- ${value_undef}: "1" wenn Wert null ist, andernfalls "0"
|
||||
- ${value_changed}: "1" wenn Wert abweichend vom Standardwert ist, andernfalls "0"
|
||||
- ${value2}: Optionswert, mit geerbtem Wert falls null
|
||||
- ${parent_value}: übergeordneter Optionswert
|
||||
- ${min}: minimaler Wert
|
||||
- ${max}: maximaler Wert
|
||||
- ${description}: Beschreibung der Option (übersetzt)
|
||||
- ${description2}: Beschreibung der Option (übersetzt), "(keine Beschreibung)" (übersetzt) falls keine Beschreibung vorhanden
|
||||
- ${description_en}: Beschreibung der Option (in englisch)
|
||||
- ${description_en2}: Beschreibung der Option (in englisch), "(keine Beschreibung)" falls keine Beschreibung vorhanden
|
||||
- ${string_values}: Zeichenketten sind für Integer Optionen erlaubt
|
||||
- ${marked}: "1" wenn Option markiert ist, andernfalls "0"
|
||||
- ${index}: Index der Option in der Liste
|
||||
- Optionsdaten, mit Farbe aber ohne Leerzeichen:
|
||||
- selbe Namen, vorangestellt mit Unterstrich, zum Beispiel: ${_name}, ${_type}, ...
|
||||
- Optionsdaten, Rohformat (keine Farben/Leerzeichen):
|
||||
- selbe Namen, mit zwei vorangestellten Unterstrichen, zum Beispiel: ${__name}, ${__type}, ...
|
||||
- Optionsdaten, nur Leerzeichen:
|
||||
- selbe Namen, mit vorangestelltem "empty_", zum Beispiel: ${empty_name}, ${empty_type}
|
||||
- andere Daten:
|
||||
- ${selected_line}: "1" wenn Zeile ausgewählt ist, andernfalls "0"
|
||||
- ${newline}: fügt einen Zeilenumbruch an diese Position, dadurch wird die Option über mehrere Zeilen angezeigt
|
||||
|
||||
Tasten und Eingaben um sich im fset Buffer zu bewegen:
|
||||
hoch eine Zeile nach oben
|
||||
runter eine Zeile nach unten
|
||||
pgup eine Seite nach oben
|
||||
pgdn eine Seite nach unten
|
||||
alt-home << springe zur ersten Zeile
|
||||
alt-end >> springe zur letzten Zeile
|
||||
F11 < horizontal nach links scrollen
|
||||
F12 > horizontal nach rechts scrollen
|
||||
|
||||
Tasten und Eingaben um Optionen im fset Buffer zu editieren:
|
||||
alt+space t boolean Werte umschalten
|
||||
alt+'-' - subtrahiert 1 vom Wert, bei Integer/Farboptionen, bei anderen Typen kann der Wert editiert werden
|
||||
alt+'+' + addiert 1 zum Wert, bei Integer/Farboptionen, bei anderen Typen kann der Wert editiert werden
|
||||
alt+f, alt+r r Wert resetten
|
||||
alt+f, alt+u u Wert zurücksetzen
|
||||
alt+enter s Wert setzen
|
||||
alt+f, alt+n n ein neuer Wert wird gesetzt, der alte Wert wird gelöscht
|
||||
alt+f, alt+a a dem Wert was hinzufügen
|
||||
alt+',' , markieren/demarkieren einer Option
|
||||
shift+hoch eine Zeile nach oben und markiert/demarkiert Option
|
||||
shift+runter markiert/demarkiert Option und geht eine Zeile nach unten
|
||||
m:xxx markiert Optionen welche angezeigt werden und auf die der Filter "xxx" zutrifft (jeder Filter für Option oder Wert ist erlaubt, siehe Filterung weiter oben)
|
||||
u:xxx demarkiert Optionen welche angezeigt werden und auf die der Filter "xxx" zutrifft (jeder Filter für Option oder Wert ist erlaubt, siehe Filterung weiter oben)
|
||||
|
||||
weitere Tasten und Eingaben im fset Buffer:
|
||||
ctrl+L der Bildschirm wird neu gezeichnet (Befehl: /fset -refresh)
|
||||
$ Optionen neu einlesen (markierte Optionen werden beibehalten)
|
||||
$$ Optionen neu einlesen (Markierungen von Optionen werden dabei gelöscht)
|
||||
alt+p p umschalten zwischen Beschreibung von Erweiterungen (plugins.desc.*)
|
||||
alt+v v Hilfe-Bar Ein-/Ausschalten
|
||||
s:x,y sortiert Optionen nach Bereichen x,y (siehe /help fset.look.sort)
|
||||
s: setzt Sortierung wieder auf Standardwerte (siehe /help fset.look.sort)
|
||||
w:xxx exportiert Optionen in Datei "xxx"
|
||||
w-:xxx exportiert Optionen in Datei "xxx", ohne Hilfstext
|
||||
w+:xxx exportiert Optionen in Datei "xxx", mit Hilfstext
|
||||
ctrl+X x umschalten zwischen der Darstellung von Optionen
|
||||
q schließt fset Buffer
|
||||
|
||||
Mausaktionen im fset Buffer:
|
||||
Mausrad hoch/runter Zeile hoch/runter
|
||||
linke Maustaste Zeile auswählen
|
||||
rechte Maustaste boolean umschalten (an/aus) oder editiere den Wert einer Option
|
||||
rechte Maustaste + links/rechts Integer/Farbwerte werden erhöht/verringert, andere Variabletypen werden in die Eingabezeile kopiert
|
||||
rechte Maustaste + hoch/runter markieren/demarkieren von mehreren Optionen
|
||||
|
||||
Hinweis: Leerzeichen am Anfang der Eingabezeile werden ignoriert und der folgende Text wird als Filter verwendet. Ein Beispiel: "q" schließt den fset Buffer wobei hingegen " q" alle Optionen anzeigt die ein "q" im Namen beinhalten.
|
||||
|
||||
Beispiele:
|
||||
zeigt alle IRC Optionen an die verändert wurden:
|
||||
/fset d:irc.*
|
||||
zeigt alle Optionen die "nicklist" im Namen tragen:
|
||||
/fset nicklist
|
||||
zeigt alle Werte die "red" beinhalten:
|
||||
/fset =red
|
||||
zeigt alle Werte die exakt "red" lauten:
|
||||
/fset ==red
|
||||
zeigt alle Integer-Optionen der IRC-Erweiterung:
|
||||
/fset c:${file} == irc && ${type_en} == integer
|
||||
----
|
||||
@@ -1,477 +0,0 @@
|
||||
//
|
||||
// This file is auto-generated by script docgen.py.
|
||||
// DO NOT EDIT BY HAND!
|
||||
//
|
||||
* [[option_fset.color.default_value]] *fset.color.default_value*
|
||||
** Beschreibung: pass:none[Farbe für Standardwert]
|
||||
** Typ: Farbe
|
||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
||||
** Standardwert: `+default+`
|
||||
|
||||
* [[option_fset.color.default_value_selected]] *fset.color.default_value_selected*
|
||||
** Beschreibung: pass:none[Farbe für den Standardwert bei der ausgewählten Zeile]
|
||||
** Typ: Farbe
|
||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
||||
** Standardwert: `+white+`
|
||||
|
||||
* [[option_fset.color.description]] *fset.color.description*
|
||||
** Beschreibung: pass:none[Farbe für Beschreibung]
|
||||
** Typ: Farbe
|
||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
||||
** Standardwert: `+default+`
|
||||
|
||||
* [[option_fset.color.description_selected]] *fset.color.description_selected*
|
||||
** Beschreibung: pass:none[Farbe für Beschreibung für die ausgewählte Zeile]
|
||||
** Typ: Farbe
|
||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
||||
** Standardwert: `+white+`
|
||||
|
||||
* [[option_fset.color.file]] *fset.color.file*
|
||||
** Beschreibung: pass:none[Farbe für Datei]
|
||||
** Typ: Farbe
|
||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
||||
** Standardwert: `+default+`
|
||||
|
||||
* [[option_fset.color.file_changed]] *fset.color.file_changed*
|
||||
** Beschreibung: pass:none[Farbei für Datei, falls der Wert abweichend 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 können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
||||
** Standardwert: `+brown+`
|
||||
|
||||
* [[option_fset.color.file_changed_selected]] *fset.color.file_changed_selected*
|
||||
** Beschreibung: pass:none[Farbe von Datei wenn Wert verändert ist, bei der ausgewählten Zeile]
|
||||
** Typ: Farbe
|
||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
||||
** Standardwert: `+yellow+`
|
||||
|
||||
* [[option_fset.color.file_selected]] *fset.color.file_selected*
|
||||
** Beschreibung: pass:none[Farbe der Datei für die ausgewählte Zeile]
|
||||
** Typ: Farbe
|
||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
||||
** Standardwert: `+white+`
|
||||
|
||||
* [[option_fset.color.help_default_value]] *fset.color.help_default_value*
|
||||
** Beschreibung: pass:none[Farbe für Standardwert in der Hilfe-Bar]
|
||||
** Typ: Farbe
|
||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
||||
** Standardwert: `+white+`
|
||||
|
||||
* [[option_fset.color.help_description]] *fset.color.help_description*
|
||||
** Beschreibung: pass:none[Farbe für die Beschreibung in der Hilfe-Bar]
|
||||
** Typ: Farbe
|
||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
||||
** Standardwert: `+default+`
|
||||
|
||||
* [[option_fset.color.help_name]] *fset.color.help_name*
|
||||
** Beschreibung: pass:none[Farbe für Namen in Hilfe-Bar]
|
||||
** Typ: Farbe
|
||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
||||
** Standardwert: `+white+`
|
||||
|
||||
* [[option_fset.color.help_quotes]] *fset.color.help_quotes*
|
||||
** Beschreibung: pass:none[Farbe der Anführungszeichen für Stringwerte]
|
||||
** Typ: Farbe
|
||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
||||
** Standardwert: `+darkgray+`
|
||||
|
||||
* [[option_fset.color.help_values]] *fset.color.help_values*
|
||||
** Beschreibung: pass:none[Farbe für erlaubte Werte]
|
||||
** Typ: Farbe
|
||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
||||
** Standardwert: `+default+`
|
||||
|
||||
* [[option_fset.color.index]] *fset.color.index*
|
||||
** Beschreibung: pass:none[Farbe für Index einer Option]
|
||||
** Typ: Farbe
|
||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
||||
** Standardwert: `+cyan+`
|
||||
|
||||
* [[option_fset.color.index_selected]] *fset.color.index_selected*
|
||||
** Beschreibung: pass:none[Farbe für Index der Option bei der ausgewählten Zeile]
|
||||
** Typ: Farbe
|
||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
||||
** Standardwert: `+lightcyan+`
|
||||
|
||||
* [[option_fset.color.line_marked_bg1]] *fset.color.line_marked_bg1*
|
||||
** Beschreibung: pass:none[Hintergrundfarbe für markierte Zeile (wird für das erste Format verwendet, siehe Option fset.format.option1)]
|
||||
** Typ: Farbe
|
||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
||||
** Standardwert: `+default+`
|
||||
|
||||
* [[option_fset.color.line_marked_bg2]] *fset.color.line_marked_bg2*
|
||||
** Beschreibung: pass:none[Hintergrundfarbe für markierte Zeile (wird für das zweite Format verwendet, siehe Option fset.format.option2)]
|
||||
** Typ: Farbe
|
||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
||||
** Standardwert: `+default+`
|
||||
|
||||
* [[option_fset.color.line_selected_bg1]] *fset.color.line_selected_bg1*
|
||||
** Beschreibung: pass:none[Hintergrundfarbe für ausgewählte Zeile (wird für das erste Format verwendet, siehe Option fset.format.option1)]
|
||||
** Typ: Farbe
|
||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
||||
** Standardwert: `+blue+`
|
||||
|
||||
* [[option_fset.color.line_selected_bg2]] *fset.color.line_selected_bg2*
|
||||
** Beschreibung: pass:none[Hintergrundfarbe für ausgewählte Zeile (wird für das zweite Format verwendet, siehe Option fset.format.option2)]
|
||||
** Typ: Farbe
|
||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
||||
** Standardwert: `+red+`
|
||||
|
||||
* [[option_fset.color.marked]] *fset.color.marked*
|
||||
** Beschreibung: pass:none[Farbe des Markierungssymbols]
|
||||
** Typ: Farbe
|
||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
||||
** Standardwert: `+brown+`
|
||||
|
||||
* [[option_fset.color.marked_selected]] *fset.color.marked_selected*
|
||||
** Beschreibung: pass:none[Farbe für das Markierungssymbol für die ausgewählte Zeile]
|
||||
** Typ: Farbe
|
||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
||||
** Standardwert: `+yellow+`
|
||||
|
||||
* [[option_fset.color.max]] *fset.color.max*
|
||||
** Beschreibung: pass:none[Farbe für Maximalwert]
|
||||
** Typ: Farbe
|
||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
||||
** Standardwert: `+default+`
|
||||
|
||||
* [[option_fset.color.max_selected]] *fset.color.max_selected*
|
||||
** Beschreibung: pass:none[Farbe für Maximalwert bei der ausgewählten Zeile]
|
||||
** Typ: Farbe
|
||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
||||
** Standardwert: `+white+`
|
||||
|
||||
* [[option_fset.color.min]] *fset.color.min*
|
||||
** Beschreibung: pass:none[Farbe für Minimalwert]
|
||||
** Typ: Farbe
|
||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
||||
** Standardwert: `+default+`
|
||||
|
||||
* [[option_fset.color.min_selected]] *fset.color.min_selected*
|
||||
** Beschreibung: pass:none[Farbe für Minimalwert, für ausgewählte Zeile]
|
||||
** Typ: Farbe
|
||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
||||
** Standardwert: `+white+`
|
||||
|
||||
* [[option_fset.color.name]] *fset.color.name*
|
||||
** Beschreibung: pass:none[Farbe für Name]
|
||||
** Typ: Farbe
|
||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
||||
** Standardwert: `+default+`
|
||||
|
||||
* [[option_fset.color.name_changed]] *fset.color.name_changed*
|
||||
** Beschreibung: pass:none[Farbe für Namen wenn Wert verändert 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 können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
||||
** Standardwert: `+brown+`
|
||||
|
||||
* [[option_fset.color.name_changed_selected]] *fset.color.name_changed_selected*
|
||||
** Beschreibung: pass:none[Farbe vom Namen, falls Wert verändert wurde bei der ausgewählten Zeile]
|
||||
** Typ: Farbe
|
||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
||||
** Standardwert: `+yellow+`
|
||||
|
||||
* [[option_fset.color.name_selected]] *fset.color.name_selected*
|
||||
** Beschreibung: pass:none[Farbe des Namens für die ausgewählte Zeile]
|
||||
** Typ: Farbe
|
||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
||||
** Standardwert: `+white+`
|
||||
|
||||
* [[option_fset.color.option]] *fset.color.option*
|
||||
** Beschreibung: pass:none[Farbe für Option]
|
||||
** Typ: Farbe
|
||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
||||
** Standardwert: `+default+`
|
||||
|
||||
* [[option_fset.color.option_changed]] *fset.color.option_changed*
|
||||
** Beschreibung: pass:none[Farbe der Option wenn Wert verändert 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 können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
||||
** Standardwert: `+brown+`
|
||||
|
||||
* [[option_fset.color.option_changed_selected]] *fset.color.option_changed_selected*
|
||||
** Beschreibung: pass:none[Farbe von Option, falls Wert verändert wurde bei der ausgewählten Zeile]
|
||||
** Typ: Farbe
|
||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
||||
** Standardwert: `+yellow+`
|
||||
|
||||
* [[option_fset.color.option_selected]] *fset.color.option_selected*
|
||||
** Beschreibung: pass:none[Farbe der Option für die ausgewählte Zeile]
|
||||
** Typ: Farbe
|
||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
||||
** Standardwert: `+white+`
|
||||
|
||||
* [[option_fset.color.parent_name]] *fset.color.parent_name*
|
||||
** Beschreibung: pass:none[Farbe des Namens für übergeordnete Option]
|
||||
** Typ: Farbe
|
||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
||||
** Standardwert: `+default+`
|
||||
|
||||
* [[option_fset.color.parent_name_selected]] *fset.color.parent_name_selected*
|
||||
** Beschreibung: pass:none[Farbe des Namens für übergeordnete Option, für ausgewählte Zeile]
|
||||
** Typ: Farbe
|
||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
||||
** Standardwert: `+white+`
|
||||
|
||||
* [[option_fset.color.parent_value]] *fset.color.parent_value*
|
||||
** Beschreibung: pass:none[Farbe des Wertes für übergeordnete Option]
|
||||
** Typ: Farbe
|
||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
||||
** Standardwert: `+cyan+`
|
||||
|
||||
* [[option_fset.color.parent_value_selected]] *fset.color.parent_value_selected*
|
||||
** Beschreibung: pass:none[Farbe des Wertes für übergeordnete Option, für ausgewählte Zeile]
|
||||
** Typ: Farbe
|
||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
||||
** Standardwert: `+lightcyan+`
|
||||
|
||||
* [[option_fset.color.quotes]] *fset.color.quotes*
|
||||
** Beschreibung: pass:none[Farbe der Anführungszeichen für Stringwerte]
|
||||
** Typ: Farbe
|
||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
||||
** Standardwert: `+darkgray+`
|
||||
|
||||
* [[option_fset.color.quotes_changed]] *fset.color.quotes_changed*
|
||||
** Beschreibung: pass:none[Farbe der Anführungszeichen um Zeichenketten wenn der Wert verändert 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 können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
||||
** Standardwert: `+default+`
|
||||
|
||||
* [[option_fset.color.quotes_changed_selected]] *fset.color.quotes_changed_selected*
|
||||
** Beschreibung: pass:none[Farbe der Anführungszeichen um Zeichenketten wenn der Wert verändert wurde, bei der ausgewählten Zeile]
|
||||
** Typ: Farbe
|
||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
||||
** Standardwert: `+white+`
|
||||
|
||||
* [[option_fset.color.quotes_selected]] *fset.color.quotes_selected*
|
||||
** Beschreibung: pass:none[Farbe der Anführungszeichen um Zeichenketten, bei der ausgewählten Zeile]
|
||||
** Typ: Farbe
|
||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
||||
** Standardwert: `+default+`
|
||||
|
||||
* [[option_fset.color.section]] *fset.color.section*
|
||||
** Beschreibung: pass:none[Farbe für Sektion]
|
||||
** Typ: Farbe
|
||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
||||
** Standardwert: `+default+`
|
||||
|
||||
* [[option_fset.color.section_changed]] *fset.color.section_changed*
|
||||
** Beschreibung: pass:none[Farbe der Sektion wenn Wert verändert 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 können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
||||
** Standardwert: `+brown+`
|
||||
|
||||
* [[option_fset.color.section_changed_selected]] *fset.color.section_changed_selected*
|
||||
** Beschreibung: pass:none[Farbe der aktuellen Zeile für Sektion, sofern Wert verändert 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 können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
||||
** Standardwert: `+yellow+`
|
||||
|
||||
* [[option_fset.color.section_selected]] *fset.color.section_selected*
|
||||
** Beschreibung: pass:none[Farbe der Sektion für ausgewählte Zeile]
|
||||
** Typ: Farbe
|
||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
||||
** Standardwert: `+white+`
|
||||
|
||||
* [[option_fset.color.string_values]] *fset.color.string_values*
|
||||
** Beschreibung: pass:none[Farbe für String-Werte]
|
||||
** Typ: Farbe
|
||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
||||
** Standardwert: `+default+`
|
||||
|
||||
* [[option_fset.color.string_values_selected]] *fset.color.string_values_selected*
|
||||
** Beschreibung: pass:none[Farbe für Werte von Zeichenketten, bei der ausgewählten Zeile]
|
||||
** Typ: Farbe
|
||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
||||
** Standardwert: `+white+`
|
||||
|
||||
* [[option_fset.color.title_count_options]] *fset.color.title_count_options*
|
||||
** Beschreibung: pass:none[Farbe für die Zahl die im Buffer-Titel anzeigt wie viele Optionen gefunden wurden]
|
||||
** Typ: Farbe
|
||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
||||
** Standardwert: `+cyan+`
|
||||
|
||||
* [[option_fset.color.title_current_option]] *fset.color.title_current_option*
|
||||
** Beschreibung: pass:none[Farbe in welcher die Ordnungszahl der ausgewählten Option im Title angegeben werden soll]
|
||||
** Typ: Farbe
|
||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
||||
** Standardwert: `+lightcyan+`
|
||||
|
||||
* [[option_fset.color.title_filter]] *fset.color.title_filter*
|
||||
** Beschreibung: pass:none[Farbe für Filter im Buffer-Titel]
|
||||
** Typ: Farbe
|
||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
||||
** Standardwert: `+yellow+`
|
||||
|
||||
* [[option_fset.color.title_marked_options]] *fset.color.title_marked_options*
|
||||
** Beschreibung: pass:none[Farbe für die Zahl die im Buffer-Titel anzeigt wie viele Optionen markiert sind]
|
||||
** Typ: Farbe
|
||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
||||
** Standardwert: `+lightgreen+`
|
||||
|
||||
* [[option_fset.color.title_sort]] *fset.color.title_sort*
|
||||
** Beschreibung: pass:none[Farbe für Sortierung im Buffer-Titel]
|
||||
** Typ: Farbe
|
||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
||||
** Standardwert: `+white+`
|
||||
|
||||
* [[option_fset.color.type]] *fset.color.type*
|
||||
** Beschreibung: pass:none[Farbe für den Variablentyp]
|
||||
** Typ: Farbe
|
||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
||||
** Standardwert: `+green+`
|
||||
|
||||
* [[option_fset.color.type_selected]] *fset.color.type_selected*
|
||||
** Beschreibung: pass:none[Farbe für den Variablentyp wenn Zeile angewählt wird]
|
||||
** Typ: Farbe
|
||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
||||
** Standardwert: `+lightgreen+`
|
||||
|
||||
* [[option_fset.color.unmarked]] *fset.color.unmarked*
|
||||
** Beschreibung: pass:none[Farbe für das Markierungssymbol wenn die Option nicht markiert 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 können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
||||
** Standardwert: `+default+`
|
||||
|
||||
* [[option_fset.color.unmarked_selected]] *fset.color.unmarked_selected*
|
||||
** Beschreibung: pass:none[Farbe für das Markierungssymbol wenn die Option in der ausgewählten Zeile nicht markiert 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 können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
||||
** Standardwert: `+white+`
|
||||
|
||||
* [[option_fset.color.value]] *fset.color.value*
|
||||
** Beschreibung: pass:none[Farbe für Wert]
|
||||
** Typ: Farbe
|
||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
||||
** Standardwert: `+cyan+`
|
||||
|
||||
* [[option_fset.color.value_changed]] *fset.color.value_changed*
|
||||
** Beschreibung: pass:none[Farbe für veränderten Wert (abweichend vom Standardwert)]
|
||||
** Typ: Farbe
|
||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
||||
** Standardwert: `+brown+`
|
||||
|
||||
* [[option_fset.color.value_changed_selected]] *fset.color.value_changed_selected*
|
||||
** Beschreibung: pass:none[Farbe für veränderten Wert (abweichend vom Standardwert) für die ausgewählte Zeile]
|
||||
** Typ: Farbe
|
||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
||||
** Standardwert: `+yellow+`
|
||||
|
||||
* [[option_fset.color.value_selected]] *fset.color.value_selected*
|
||||
** Beschreibung: pass:none[Farbe für Wert für die ausgewählte Zeile]
|
||||
** Typ: Farbe
|
||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
||||
** Standardwert: `+lightcyan+`
|
||||
|
||||
* [[option_fset.color.value_undef]] *fset.color.value_undef*
|
||||
** Beschreibung: pass:none[Farbe für undefinierten Wert]
|
||||
** Typ: Farbe
|
||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
||||
** Standardwert: `+magenta+`
|
||||
|
||||
* [[option_fset.color.value_undef_selected]] *fset.color.value_undef_selected*
|
||||
** Beschreibung: pass:none[Farbe für undefinierte Werte für die ausgewählte Zeile]
|
||||
** Typ: Farbe
|
||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
||||
** Standardwert: `+lightmagenta+`
|
||||
|
||||
* [[option_fset.format.export_help]] *fset.format.export_help*
|
||||
** Beschreibung: pass:none[Format für die Hilfezeile die vor jede Option geschrieben wird, wenn in eine Datei exportiert wird (Hinweis: Inhalt wird evaluiert, siehe /help fset)]
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette
|
||||
** Standardwert: `+"# ${description2}"+`
|
||||
|
||||
* [[option_fset.format.export_option]] *fset.format.export_option*
|
||||
** Beschreibung: pass:none[Format für jede Option die in eine Datei exportiert wird (Hinweis: Inhalt wird evaluiert, siehe /help fset)]
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette
|
||||
** Standardwert: `+"/set ${name} ${quoted_value}"+`
|
||||
|
||||
* [[option_fset.format.export_option_null]] *fset.format.export_option_null*
|
||||
** Beschreibung: pass:none[Format für jede Option die "null" als Wert hat und in eine Datei exportiert wird (Hinweis: Inhalt wird evaluiert, siehe /help fset)]
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette
|
||||
** Standardwert: `+"/unset ${name}"+`
|
||||
|
||||
* [[option_fset.format.option1]] *fset.format.option1*
|
||||
** Beschreibung: pass:none[erstes Format um Optionen anzuzeigen die weder markiert noch ausgewählt sind (Hinweis: der Inhalt ist evaluiert, siehe /help fset); eine leere Zeichenkette nutzt die Standardeinstellung ("${marked} ${name} ${type} ${value2}"), dies findet ohne eine Evaluierung statt, was wesentlich schneller ist; zwischen den Formaten kann mittels ctrl-X umgeschaltet werden]
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette
|
||||
** Standardwert: `+""+`
|
||||
|
||||
* [[option_fset.format.option2]] *fset.format.option2*
|
||||
** Beschreibung: pass:none[zweites Format um Optionen anzuzeigen die weder markiert noch ausgewählt sind (Hinweis: der Inhalt ist evaluiert, siehe /help fset); eine leere Zeichenkette nutzt die Standardeinstellung ("${marked} ${name} ${type} ${value2}"), dies findet ohne eine Evaluierung statt, was wesentlich schneller ist; zwischen den Formaten kann mittels ctrl-X umgeschaltet werden]
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette
|
||||
** Standardwert: `+"${marked} ${name} ${type} ${value2}${newline} ${empty_name} ${_default_value}${color:darkgray} -- ${min}..${max}${newline} ${empty_name} ${description}"+`
|
||||
|
||||
* [[option_fset.look.auto_unmark]] *fset.look.auto_unmark*
|
||||
** Beschreibung: pass:none[die Markierung wird automatisch für alle Optionen gelöscht, sobald eine Aktion bei einer markierten Option durchgeführt wird oder die Liste neu eingelesen wird]
|
||||
** Typ: boolesch
|
||||
** Werte: on, off
|
||||
** Standardwert: `+off+`
|
||||
|
||||
* [[option_fset.look.condition_catch_set]] *fset.look.condition_catch_set*
|
||||
** Beschreibung: pass:none[Bedingung um den /set Befehl abzufangen und die Ausgabe im fset Buffer darzustellen; folgende Variablen können verwendet werden: ${name} (Name der Option die dem /set Befehl übergeben wurde), ${count} (Anzahl der Optionen die mit /set gefunden wurden); eine leere Zeichenkette deaktiviert die Funktion; der Wert "1", nutzt immer den fset Buffer für die Ausgabe des /set Befehls]
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette
|
||||
** Standardwert: `+"${count} >= 1"+`
|
||||
|
||||
* [[option_fset.look.export_help_default]] *fset.look.export_help_default*
|
||||
** Beschreibung: pass:none[erstellt standardmäßig eine Hilfe für jede exportierte Option (dies kann mit dem Argumenten "-help" und "-nohelp" überschrieben werden wenn man den Befehl /fset -export nutzt)]
|
||||
** Typ: boolesch
|
||||
** Werte: on, off
|
||||
** Standardwert: `+on+`
|
||||
|
||||
* [[option_fset.look.format_number]] *fset.look.format_number*
|
||||
** Beschreibung: pass:none[Nummer welches Format genutzt werden soll um Optionen anzuzeigen; diese Option wird dynamisch geändert indem man ctrl-X im fset Buffer nutzt]
|
||||
** Typ: integer
|
||||
** Werte: 1 .. 2
|
||||
** Standardwert: `+1+`
|
||||
|
||||
* [[option_fset.look.marked_string]] *fset.look.marked_string*
|
||||
** Beschreibung: pass:none[Zeichenkette welche dargestellt wird wenn eine Option markiert wurde (um eine Aktion auf mehrere Optionen durchzuführen)]
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette
|
||||
** Standardwert: `+"*"+`
|
||||
|
||||
* [[option_fset.look.scroll_horizontal]] *fset.look.scroll_horizontal*
|
||||
** Beschreibung: pass:none[links/rechts im fset Buffer scrollen (prozentual zur Breite)]
|
||||
** Typ: integer
|
||||
** Werte: 1 .. 100
|
||||
** Standardwert: `+10+`
|
||||
|
||||
* [[option_fset.look.show_plugins_desc]] *fset.look.show_plugins_desc*
|
||||
** Beschreibung: pass:none[zeigt die zusätzlichen Optionen von Erweiterung an, die für die Beschreibung zuständig sind (plugins.desc.*)]
|
||||
** Typ: boolesch
|
||||
** Werte: on, off
|
||||
** Standardwert: `+off+`
|
||||
|
||||
* [[option_fset.look.sort]] *fset.look.sort*
|
||||
** Beschreibung: pass:none[durch Kommata getrennte Liste von Feldern um die Optionen zu sortieren (siehe /help fset um eine Auflistung der Felder zu erhalten); wird das "-" Zeichen vor einem Feld angewendet, wird die Ausgabe umgekehrt, um bei einem Vergleich nicht zwischen Groß- und Kleinschreibung zu unterscheiden wird das Zeichen "~" verwendet; Beispiel: "-~name" sortiert die Optionsnamen in umgekehrter Reihenfolge und es wird dabei nicht zwischen Groß-und Kleinschreibung unterschieden]
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette
|
||||
** Standardwert: `+"~name"+`
|
||||
|
||||
* [[option_fset.look.unmarked_string]] *fset.look.unmarked_string*
|
||||
** Beschreibung: pass:none[Zeichen welches angezeigt wird sofern eine Option nicht markiert ist]
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette
|
||||
** Standardwert: `+" "+`
|
||||
|
||||
* [[option_fset.look.use_color_value]] *fset.look.use_color_value*
|
||||
** Beschreibung: pass:none[Farbe die genutzt wird um Werte für Farboptionen darzustellen]
|
||||
** Typ: boolesch
|
||||
** Werte: on, off
|
||||
** Standardwert: `+off+`
|
||||
|
||||
* [[option_fset.look.use_keys]] *fset.look.use_keys*
|
||||
** Beschreibung: pass:none[nutzt die alt+X Tasten im fset Buffer um Aktionen durchzuführen; wenn deaktiviert sind nur Eingaben in der Eingabezeile erlaubt]
|
||||
** Typ: boolesch
|
||||
** Werte: on, off
|
||||
** Standardwert: `+on+`
|
||||
|
||||
* [[option_fset.look.use_mute]] *fset.look.use_mute*
|
||||
** Beschreibung: pass:none[nutzt /mute Befehl wenn eine Option geändert wird]
|
||||
** Typ: boolesch
|
||||
** Werte: on, off
|
||||
** Standardwert: `+off+`
|
||||
@@ -207,19 +207,19 @@
|
||||
** Standardwert: `+on+`
|
||||
|
||||
* [[option_irc.look.highlight_channel]] *irc.look.highlight_channel*
|
||||
** Beschreibung: pass:none[durch Kommata getrennte Liste von Wörtern die in Channel-Buffern als Highlight erscheinen sollen (zwischen Groß- und Kleinschreibung wird nicht unterschieden. Um zwischen Groß- und Kleinschreibung zu unterscheiden muss zu Beginn "(?-i)" genutzt werden; des Weiteren können folgende Variablen genutzt werden: $nick, $channel und $server). Wird ein Buffer geöffnet, dann werden die angegeben Wörter dem Buffer-Merkmal "highlight_words" hinzugefügt. Dies bedeutet, dass diese Einstellung keinen direkten Einfluss auf schon geöffnete Buffer hat. Eine leere Zeichenkette deaktiviert ein Highlight für den Nick. Beispiel: "$nick", "(?-i)$nick"]
|
||||
** Beschreibung: pass:none[durch Kommata getrennte Liste von Wörtern die in Channel-Buffern als Highlight erscheinen sollen (zwischen Groß- und Kleinschreibung wird nicht unterschieden. Um zwischen Groß- und Kleinschreibung zu unterscheiden muss zu Beginn "(?-i)" genutzt werden; des weiteren können folgende Variablen genutzt werden: $nick, $channel und $server). Wird ein Buffer geöffnet, dann werden die angegeben Wörter dem Buffer-Merkmal "highlight_words" hinzugefügt. Dies bedeutet, dass diese Einstellung keinen direkten Einfluss auf schon geöffnete Buffer hat. Eine leere Zeichenkette deaktiviert ein Highlight für den Nick. Beispiel: "$nick", "(?-i)$nick"]
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette
|
||||
** Standardwert: `+"$nick"+`
|
||||
|
||||
* [[option_irc.look.highlight_pv]] *irc.look.highlight_pv*
|
||||
** Beschreibung: pass:none[durch Kommata getrennte Liste von Wörtern die in einem privaten Buffer als Highlight erscheinen sollen (zwischen Groß- und Kleinschreibung wird nicht unterschieden. Um zwischen Groß- und Kleinschreibung zu unterscheiden muss zu Beginn "(?-i)" genutzt werden; des Weiteren können folgende Variablen genutzt werden: $nick, $channel und $server). Wird ein Buffer geöffnet, dann werden die angegeben Wörter dem Buffer-Merkmal "highlight_words" hinzugefügt. Dies bedeutet, dass diese Einstellung keinen direkten Einfluss auf schon geöffnete Buffer hat. Eine leere Zeichenkette deaktiviert ein Highlight für den Nick. Beispiel: "$nick", "(?-i)$nick"]
|
||||
** Beschreibung: pass:none[durch Kommata getrennte Liste von Wörtern die in einem privaten Buffer als Highlight erscheinen sollen (zwischen Groß- und Kleinschreibung wird nicht unterschieden. Um zwischen Groß- und Kleinschreibung zu unterscheiden muss zu Beginn "(?-i)" genutzt werden; des weiteren können folgende Variablen genutzt werden: $nick, $channel und $server). Wird ein Buffer geöffnet, dann werden die angegeben Wörter dem Buffer-Merkmal "highlight_words" hinzugefügt. Dies bedeutet, dass diese Einstellung keinen direkten Einfluss auf schon geöffnete Buffer hat. Eine leere Zeichenkette deaktiviert ein Highlight für den Nick. Beispiel: "$nick", "(?-i)$nick"]
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette
|
||||
** Standardwert: `+"$nick"+`
|
||||
|
||||
* [[option_irc.look.highlight_server]] *irc.look.highlight_server*
|
||||
** Beschreibung: pass:none[durch Kommata getrennte Liste von Wörtern die in Server-Buffern als Highlight erscheinen sollen (zwischen Groß- und Kleinschreibung wird nicht unterschieden. Um zwischen Groß- und Kleinschreibung zu unterscheiden muss zu Beginn "(?-i)" genutzt werden; des Weiteren können folgende Variablen genutzt werden: $nick, $channel und $server). Wird ein Buffer geöffnet, dann werden die angegeben Wörter dem Buffer-Merkmal "highlight_words" hinzugefügt. Dies bedeutet, dass diese Einstellung keinen direkten Einfluss auf schon geöffnete Buffer hat. Eine leere Zeichenkette deaktiviert ein Highlight für den Nick. Beispiel: "$nick", "(?-i)$nick"]
|
||||
** Beschreibung: pass:none[durch Kommata getrennte Liste von Wörtern die in Server-Buffern als Highlight erscheinen sollen (zwischen Groß- und Kleinschreibung wird nicht unterschieden. Um zwischen Groß- und Kleinschreibung zu unterscheiden muss zu Beginn "(?-i)" genutzt werden; des weiteren können folgende Variablen genutzt werden: $nick, $channel und $server). Wird ein Buffer geöffnet, dann werden die angegeben Wörter dem Buffer-Merkmal "highlight_words" hinzugefügt. Dies bedeutet, dass diese Einstellung keinen direkten Einfluss auf schon geöffnete Buffer hat. Eine leere Zeichenkette deaktiviert ein Highlight für den Nick. Beispiel: "$nick", "(?-i)$nick"]
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette
|
||||
** Standardwert: `+"$nick"+`
|
||||
@@ -309,7 +309,7 @@
|
||||
** Standardwert: `+auto+`
|
||||
|
||||
* [[option_irc.look.notice_welcome_redirect]] *irc.look.notice_welcome_redirect*
|
||||
** Beschreibung: pass:none[automatische Weiterleitung von Willkommen Nachrichten in den entsprechenden Channel-Buffer. Solche Nachrichten haben als Empfänger den entsprechenden Nick. Der Channelname wird aber der Nachricht vorangestellt. Eine solche ENTRYMSG Nachricht sieht auf dem Atheme IRC Server wie folgt aus: "[#channel\] Herzlich Willkommen in diesem Channel ..."]
|
||||
** Beschreibung: pass:none[automatische Weiterleitung von Willkommen-Nachrichten in den entsprechenden Channel-Buffer. Solche Nachrichten haben den Nick als Empfänger, der Channelnamen wird aber der Nachricht vorangestellt. Eine solche Nachricht sieht auf dem freenode Server wie folgt aus: "[#channel\] Herzlich Willkommen zum ..."]
|
||||
** Typ: boolesch
|
||||
** Werte: on, off
|
||||
** Standardwert: `+on+`
|
||||
|
||||
@@ -1,25 +0,0 @@
|
||||
//
|
||||
// This file is auto-generated by script docgen.py.
|
||||
// DO NOT EDIT BY HAND!
|
||||
//
|
||||
[[command_php_php]]
|
||||
* `+php+`: auflisten/installieren/beenden von Skripten
|
||||
|
||||
----
|
||||
/php list|listfull [<name>]
|
||||
load [-q] <filename>
|
||||
autoload
|
||||
reload|unload [-q] [<name>]
|
||||
|
||||
list: installierte Skripten werden aufgelistet
|
||||
listfull: detaillierte Auflistung aller installierten Skripten
|
||||
load: installiert ein Skript
|
||||
autoload: startet automatisch alle Skripten aus dem "autoload" Verzeichnis
|
||||
reload: ein Skript wird erneut gestartet (wird kein Name angegeben, dann werden alle Skripten beendet und erneut gestartet)
|
||||
unload: beendet ein Skript (wird kein Name angegeben, dann werden alle Skripten beendet)
|
||||
filename: Skript (Datei) welches geladen werden soll
|
||||
name: Name eines Skriptes (der Name der in der "register" Funktion der Skript-API genutzt wird)
|
||||
-q: unterdrückter Modus: Es werden keine Nachrichten ausgegeben
|
||||
|
||||
Ohne Angabe eines Argumentes listet dieser Befehl alle geladenen Skripten auf.
|
||||
----
|
||||
@@ -72,8 +72,8 @@ Mausbefehle innerhalb des Skripten-Buffer:
|
||||
|
||||
Beispiele:
|
||||
/script search url
|
||||
/script install go.py urlserver.py
|
||||
/script remove go.py
|
||||
/script install iset.pl buffers.pl
|
||||
/script remove iset.pl
|
||||
/script hold urlserver.py
|
||||
/script reload urlserver
|
||||
/script upgrade
|
||||
|
||||
@@ -225,7 +225,7 @@
|
||||
** Standardwert: `+30+`
|
||||
|
||||
* [[option_script.scripts.hold]] *script.scripts.hold*
|
||||
** Beschreibung: pass:none[Skripten welche "gehalten" werden sollen. Dies ist eine durch Kommata getrennte Liste von Skripten die weder aktualisiert noch entfernt werden können. Zum Beispiel: "go.py, urlserver.py"]
|
||||
** Beschreibung: pass:none[Skripten welche "gehalten" werden sollen. Dies ist eine durch Kommata getrennte Liste von Skripten die weder aktualisiert noch entfernt werden können. Zum Beispiel: "buffers.pl,iset.pl"]
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette
|
||||
** Standardwert: `+""+`
|
||||
|
||||
@@ -40,7 +40,7 @@ listdefault: zeigt die standardmäßig genutzen Trigger an
|
||||
focus: Name(n) für sichtbaren Bereich (erforderlich) (z.B. "chat" für Chatbereich)
|
||||
conditions: evaluierte Bedingungen für den Trigger
|
||||
regex: einer oder mehrere reguläre Ausdrücke um Zeichenketten in Variablen zu ersetzen
|
||||
command: Befehl welcher ausgeführt werden soll (mehrere Befehle müssen durch ";" voneinander getrennt werden)
|
||||
command: Befehl welcher ausgeführt werden soll (mehrere Befehle müssen durch ";" voneinander getrennt werden
|
||||
return_code: Rückgabewert für Callback (ok (standard), ok_eat, error)
|
||||
post_action: Aktion welche nach der Abarbeitung des Triggers ausgeführt werden soll (none (Standardwert), disable, delete)
|
||||
addinput: erstellt einen Trigger mit einer standardmäßigen Mustervorlage
|
||||
|
||||
@@ -81,7 +81,7 @@ Beispiele:
|
||||
close [<n1>[-<n2>]|<name>]
|
||||
notify <level>
|
||||
localvar
|
||||
set <property> [<value>]
|
||||
set <property> <value>
|
||||
get <property>
|
||||
<number>|-|+|<name>
|
||||
|
||||
@@ -277,11 +277,8 @@ expression: Ausdruck welcher verarbeitet werden soll. Variablen im Format ${vari
|
||||
=* stimmt mit Maske überein (Platzhalter "*" ist erlaubt)
|
||||
!* stimmt mit Maske NICHT überein (Platzhalter "*" ist erlaubt)
|
||||
|
||||
Ein Ausdruck gilt als "wahr" sofern das Ergebnis weder NULL, nicht leer und von "0" abweichend ist.
|
||||
Für einen Vergleich werden Fließkommazahlen genutzt sofern es sich bei beiden Ausdrücken um gültige Nummer handelt, die folgendes Format haben müssen:
|
||||
- Integer (Beispiele: 5, -7)
|
||||
- Fließkommazahl (Beispiele: 5.2, -7.5, 2.83e-2)
|
||||
- hexadezimale Zahl (Beispiele: 0xA3, -0xA3)
|
||||
Ein Ausdruck gilt als "wahr" sofern das Ergebnis weder NULL, leer und von "0" abweichend ist.
|
||||
Der Vergleich findet zwischen zwei Integer Werten statt, sofern die beiden Ausdrücke gültige Integer-Werte sind.
|
||||
Um einen Vergleich zwischen zwei Zeichenketten zu erzwingen, müssen die Ausdrücke in Anführungszeichen gesetzt werden, zum Beispiel:
|
||||
50 > 100 ==> 0
|
||||
"50" > "100" ==> 1
|
||||
@@ -333,7 +330,7 @@ Beispiele (Bedingungen):
|
||||
/eval -n -c abcd =~ (?-i)^ABC ==> 0
|
||||
/eval -n -c abcd =~ (?-i)^abc ==> 1
|
||||
/eval -n -c abcd !~ abc ==> 0
|
||||
/eval -n -c abcd =* a*d ==> 1
|
||||
/eval -n -c abcd =* a*d ==> 1
|
||||
----
|
||||
|
||||
[[command_weechat_filter]]
|
||||
@@ -516,7 +513,7 @@ listdefault: zeigt die Standardeinstellung der Tastenbelegung an
|
||||
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 ein Befehl einer Taste zugeordnet werden soll ist es ratsam zuerst mit der Tastenkombination alt+k (oder Esc + k) einen Fangmodus zu aktivieren um damit die zu belegende Taste zu ermitteln. Durch diesen Schritt wird der benötigte 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:Schlüssel". "area" kann folgende Werte habe:
|
||||
*: jedweder Bereich des Bildschirms
|
||||
@@ -785,7 +782,7 @@ passphrase: ändern der Passphrase (ohne Passphrase, werden die Daten in der Dat
|
||||
Ohne Angabe von Argumenten wird ein neuer Buffer geöffnet und die schutzwürdigen Informationen können dort eingesehen werden.
|
||||
|
||||
Tastenbefehle für den secure-Buffer:
|
||||
alt+v Werte werden ein-ausgeblendet
|
||||
alt+v Werte werden ein-ausgeblendet
|
||||
|
||||
Wird eine Passphrase verwendet (Daten liegen verschlüsselt vor), fragt WeeChat beim Start die Passphrase ab.
|
||||
Es ist möglich eine Umgebungsvariable "WEECHAT_PASSPHRASE" zu setzen um die Eingabeaufforderung beim Programmstart zu vermeiden (diese Variable wird auch von WeeChat beim /upgrade verwendet).
|
||||
@@ -817,7 +814,7 @@ Beispiele:
|
||||
diff [<option> [<option>...]]
|
||||
env [<variable> [<value>]]
|
||||
|
||||
option: Name der zu ändernden Einstellung (der Platzhalter "*" kann verwendet werden, um sich mehrere Einstellungen anzeigen zu lassen)
|
||||
option: Name der zu ändernden Einstellung (um mehrere Einstellungen anzuzeigen, kann der Platzhalter "*" verwendet werden)
|
||||
value: neuer Wert den die Einstellung erhalten soll. Abhängig von der ausgewählten Einstellung, kann die Variable folgenden Inhalt haben:
|
||||
boolean: on, off oder toggle
|
||||
integer: Nummer, ++Nummer oder --Nummer
|
||||
|
||||
@@ -951,7 +951,7 @@
|
||||
** Standardwert: `+10+`
|
||||
|
||||
* [[option_weechat.look.paste_max_lines]] *weechat.look.paste_max_lines*
|
||||
** Beschreibung: pass:none[maximale Anzahl an Zeilen die, ohne Rückfrage, eingefügt werden sollen (-1 = deaktiviert die Funktion); diese Option wird nur genutzt wenn das Bar-Item "input_paste" in mindestens einer Bar genutzt wird (Standardmäßig wird es in der "input" Bar verwendet)]
|
||||
** Beschreibung: pass:none[maximale Anzahl an Zeilen die eingefügt werden dürfen, ohne dass der Anwender gefragt wird (-1 = schaltet diese Funktion ab)]
|
||||
** Typ: integer
|
||||
** Werte: -1 .. 2147483647
|
||||
** Standardwert: `+1+`
|
||||
@@ -1094,12 +1094,6 @@
|
||||
** Werte: on, off
|
||||
** Standardwert: `+on+`
|
||||
|
||||
* [[option_weechat.look.save_config_with_fsync]] *weechat.look.save_config_with_fsync*
|
||||
** Beschreibung: pass:none[es wird fsync verwendet um die Konfigurationsdateien mit dem Datenträger zu synchronisieren (siehe man fsync); dies verlangsamt das Sichern der Daten, soll aber zum Beispiel bei einem Stromausfall dafür sorgen, dass keine Daten verloren gehen]
|
||||
** Typ: boolesch
|
||||
** Werte: on, off
|
||||
** Standardwert: `+off+`
|
||||
|
||||
* [[option_weechat.look.save_layout_on_exit]] *weechat.look.save_layout_on_exit*
|
||||
** Beschreibung: pass:none[beim Beenden wird das aktuelle Layout gesichert (Buffer, Fenster oder beides)]
|
||||
** Typ: integer
|
||||
|
||||
@@ -76,9 +76,6 @@ $HOME/.weechat/exec.conf::
|
||||
$HOME/.weechat/fifo.conf::
|
||||
Konfigurationsdatei für _fifo_ Erweiterung
|
||||
|
||||
$HOME/.weechat/fset.conf::
|
||||
Konfigurationsdatei für _fset_ Erweiterung
|
||||
|
||||
$HOME/.weechat/irc.conf::
|
||||
Konfigurationsdatei für _irc_ Erweiterung
|
||||
|
||||
|
||||
+32
-93
@@ -2,11 +2,9 @@
|
||||
:author: Sébastien Helleu
|
||||
:email: flashcode@flashtux.org
|
||||
:lang: de
|
||||
:toc: left
|
||||
:toc: macro
|
||||
:toc-title: Inhaltsverzeichnis
|
||||
:toclevels: 2
|
||||
:sectnums:
|
||||
:sectnumlevels: 2
|
||||
:docinfo1:
|
||||
|
||||
|
||||
@@ -90,13 +88,14 @@ Befehle sowie die Belegung der jeweiligen Tasten sind in der Dokumentation
|
||||
beschrieben. (Tipp: Mit den Tasten <Bild-hoch>/<Bild-runter> kann man seitenweise
|
||||
in den Buffern blättern)
|
||||
|
||||
Neuen Anwendern wird empfohlen die link:weechat_quickstart.de.html[Quickstart Anleitung] zu lesen.
|
||||
Neue Benutzer sollten unbedingt die quickstart-Anleitung lesen:
|
||||
https://weechat.org/doc
|
||||
|
||||
[[display]]
|
||||
== Anzeige
|
||||
|
||||
[[charset]]
|
||||
=== Bei einigen Zeichen fehlen die Akzente. Wie kann ich das beheben?
|
||||
=== Bei einigen Zeichen fehlen die Akzente. Wie kann ich das korrigieren?
|
||||
|
||||
Dies ist ein bekanntes Problem. Aus diesem Grund sollten die folgenden Punkte
|
||||
sorgfältig durchgelesen und *alle* aufgezeigten Lösungsmöglichkeiten überprüft
|
||||
@@ -109,9 +108,7 @@ werden:
|
||||
* überprüfe die Ausgabe des `/charset` Befehls (im Server-Buffer). Du solltest
|
||||
für den Terminal _ISO-XXXXXX_ oder _UTF-8_ als Antwort erhalten. Sollte hingegen
|
||||
_ANSI_X3.4-1968_ oder ein anderer Wert angezeigt werden, ist Deine lokale
|
||||
Einstellung möglicherweise falsch. +
|
||||
um die Lokalisation zu reparieren überprüfe selbige mittels `locale -a`
|
||||
und füge einen entsprechenden Wert in $LANG ein, zum Beispiel `export LANG=de_DE.UTF-8`
|
||||
Einstellung möglicherweise falsch.
|
||||
* Einstellen des globalen decode Wertes, z.B.:
|
||||
`/set charset.default.decode "ISO-8859-15"`
|
||||
* Falls Du UTF-8 lokal nutzt:
|
||||
@@ -193,36 +190,29 @@ angezeigt.
|
||||
[[buffers_list]]
|
||||
=== Wie kann ich eine Liste mit den Buffern z.B. auf der linken Seite anzeigen lassen?
|
||||
|
||||
Ab WeeChat ≥ 1.8 wird standardmäßig die "buflist" Erweiterung automatisch geladen und verwendet.
|
||||
|
||||
bei älteren Versionen kann das Skript _buffers.pl_ installiert werden:
|
||||
Nutze dazu das Skript _buffers.pl_:
|
||||
|
||||
----
|
||||
/script install buffers.pl
|
||||
----
|
||||
|
||||
Um die Größe der Bar zu reduzieren (ersetze "buflist" durch "buffers", wenn das
|
||||
Skript _buffers.pl_ genutzt wird):
|
||||
Um die Größe der Bar zu limitieren:
|
||||
|
||||
----
|
||||
/set weechat.bar.buflist.size_max 15
|
||||
/set weechat.bar.buffers.size_max 15
|
||||
----
|
||||
|
||||
Um die Bar an den unteren Rand zu bewegen:
|
||||
Um die Bar nach oben zu verschieben:
|
||||
|
||||
----
|
||||
/set weechat.bar.buflist.position bottom
|
||||
/set weechat.bar.buffers.position bottom
|
||||
----
|
||||
|
||||
Um in der Bar zu scollen; wenn die Maus aktiviert ist (Taste: kbd:[Alt+m]), kann
|
||||
mit dem Mausrad gescrollt werden.
|
||||
um den Inhalt der Bar zu scollen: sollte die Mausunterstützung aktiviert sein (Taste: kbd:[Alt+m]),
|
||||
kann man den Inhalt der Bar ganz einfach mit dem Mausrad vor- und zurück scrollen.
|
||||
|
||||
Standardtastenbelegung zum scrollen der _buflist_ Bar: kbd:[F1], kbd:[F2], kbd:[Alt+F1]
|
||||
und kbd:[Alt+F2].
|
||||
|
||||
Beim Skript _buffers.pl_ können entsprechende Tasten definiert werden die vergleichbar
|
||||
mit den vorhanden Tasten für die Nicklist sind +
|
||||
Um zum Beispiel folgende Tasten zu nutzen kbd:[F1], kbd:[F2], kbd:[Alt+F1] und kbd:[Alt+F2]:
|
||||
man kann aber auch Tastenbefehle nutzen, ähnlich den schon existierenden Tastenbefehlen mit welchen
|
||||
man die Nickliste vor- und zurück scrollen kann: kbd:[F1], kbd:[F2], kbd:[Alt+F1] und kbd:[Alt+F2]:
|
||||
|
||||
----
|
||||
/key bind meta-OP /bar scroll buffers * -100%
|
||||
@@ -279,8 +269,7 @@ Diese Farben können mit den Optionen __weechat.color.status_data_*__
|
||||
Weitere hotlist Eigenschaften können den Optionen __weechat.look.hotlist_*__
|
||||
verändert werden.
|
||||
|
||||
Siehe link:weechat_user.de.html#screen_layout[Benutzeranleitung / Screen layout] für
|
||||
weitere Informationen über die Hotlist.
|
||||
siehe Benutzeranleitung für weitere Informationen bezüglich der Hotlist (screen layout).
|
||||
|
||||
[[input_bar_size]]
|
||||
=== Wie kann man eine mehrzeilige Eingabezeile einstellen?
|
||||
@@ -345,23 +334,14 @@ Bildschirm zu positionieren:
|
||||
|
||||
Ab WeeChat ≥ 1.0 kann ein einfacher Anzeigemodus genutzt werden (Standardtastenbelegung: kbd:[Alt+l]).
|
||||
|
||||
Um URLs einfacher zu öffnen:
|
||||
|
||||
* die Nicklist an den oberen Bildschirmbereich positionieren:
|
||||
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 Benutzerliste z.B. am oberen Rand darstellen lassen und
|
||||
die Ausrichtung der Nicknamen entfernen:
|
||||
|
||||
----
|
||||
/set weechat.bar.nicklist.position top
|
||||
----
|
||||
|
||||
* die Ausrichtung bei einem Zeilenumbruch deaktivieren (WeeChat ≥ 1.7):
|
||||
|
||||
----
|
||||
/set weechat.look.align_multiline_words off
|
||||
----
|
||||
|
||||
* oder für alle Zeilenumbrüche:
|
||||
|
||||
----
|
||||
/set weechat.look.prefix_align none
|
||||
/set weechat.look.align_end_of_lines time
|
||||
----
|
||||
|
||||
@@ -439,8 +419,7 @@ Ab Version ≥ 0.3.5 kann in den Optionen für eine zu nutzende Farbe die entspr
|
||||
Zahl der Farbe eingetragen werden (optional: mit dem Befehl `/color` kann man einen Alias für
|
||||
eine Farbe definieren).
|
||||
|
||||
Bitte lese link:weechat_user.de.html#colors[Benutzeranleitung / Farben] für weitere
|
||||
Informationen die das Farbmanagement betreffen.
|
||||
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)?
|
||||
@@ -448,8 +427,7 @@ Informationen die das Farbmanagement betreffen.
|
||||
Die Standardtastenbelegung lautet kbd:[Ctrl+r] (der dazugehörige Befehl: `/input search_text_here`).
|
||||
und um zu Highlight-Nachrichten zu springen: kbd:[Alt+p] / kbd:[Alt+n].
|
||||
|
||||
siehe link:weechat_user.de.html#key_bindings[Benutzeranleitung / Tastenbelegungen] für weitere
|
||||
Informationen zu dieser Funktion.
|
||||
Siehe Benutzeranleitung für weitere Informationen zu dieser Funktion (Standardtastenbelegung).
|
||||
|
||||
[[terminal_focus]]
|
||||
=== Wie kann ich Befehle ausführen, wenn der Terminal (keinen) Fokus hat?
|
||||
@@ -531,8 +509,7 @@ Es kann auch eine neue Taste eingebunden werden um zu einem Buffer zu wechseln:
|
||||
/key bind meta-q /buffer *11
|
||||
----
|
||||
|
||||
Eine Auflistung der Standardtastenbelegung findet man in
|
||||
link:weechat_user.de.html#key_bindings[Benutzeranleitung / Tastenbelegungen].
|
||||
Eine Auflistung der Standardtastenbelegung findet man in der Benutzeranleitung.
|
||||
|
||||
[[global_history]]
|
||||
=== Wie kann ich den globalen Verlaufsspeicher (anstelle des Buffer eigenen) mit den Up-/Down-Tasten nutzen?
|
||||
@@ -876,42 +853,6 @@ Zum installieren und verwalten von Skripten kann der Befehl `/script` genutzt we
|
||||
|
||||
Die Skripten für WeeChat sind mit anderer IRC-Clients nicht kompatibel und vice versa.
|
||||
|
||||
[[scripts_update]]
|
||||
=== Der Befehl "/script update" liest die Skriptliste nicht ein, wie kann ich das beheben?
|
||||
|
||||
Als erstes sollte das Kapitel über SSL Verbindungen in dieser FAQ gelesen werden
|
||||
(besonders über die Option _weechat.network.gnutls_ca_file_).
|
||||
|
||||
Sollte das nicht helfen, sollte man manuell die Skriptliste löschen (in der shell):
|
||||
If still not working, try to manually delete the scripts file (in your shell):
|
||||
|
||||
----
|
||||
$ rm ~/.weechat/script/plugins.xml.gz
|
||||
----
|
||||
|
||||
danach sollte man noch mal versuchen die Datei herunter zu laden:
|
||||
|
||||
----
|
||||
/script update
|
||||
----
|
||||
|
||||
Tritt weiterhin der Fehler auf dann muss in WeeChat das automatische Update
|
||||
der Datei deaktiviert werden und die Datei muss manuell aus einer Shell
|
||||
herunter geladen werden (das bedeutet das man manuell für Updates zuständig ist):
|
||||
|
||||
* in WeeChat:
|
||||
|
||||
----
|
||||
/set script.scripts.cache_expire -1
|
||||
----
|
||||
|
||||
* in der Shell, mit installiertem curl:
|
||||
|
||||
----
|
||||
$ cd ~/.weechat/script
|
||||
$ curl -O https://weechat.org/files/plugins.xml.gz
|
||||
----
|
||||
|
||||
[[settings]]
|
||||
== Einstellungen
|
||||
|
||||
@@ -922,29 +863,27 @@ Das ist möglich, wird aber *NICHT* empfohlen.
|
||||
|
||||
Der interne WeeChat Befehl `/set` sollte genutzt werden:
|
||||
|
||||
* Mittels der kbd:[Tab] Taste kann man sehr einfach Namen und Werte von Optionen
|
||||
vervollständigen (oder mittels kbd:[Shift+Tab] kann eine teilweise Vervollständigung
|
||||
durchgeführt werden, was beim Namen nützlich ist).
|
||||
* der neue Wert wird auf Plausibilität geprüft und bei einem Fehler eine entsprechende Meldung ausgegeben
|
||||
* der neue Wert wird umgehend genutzt. Es ist nicht notwendig WeeChat neu zu starten oder Daten neu zu laden
|
||||
* da die TAB Vervollständigung unterstützt wird
|
||||
* der neue Wert wird auf Legalität geprüft und bei einem Fehler eine entsprechende Meldung ausgegeben
|
||||
* der neue Wert wird umgehend genutzt. Es ist nicht notwendig WeeChat neu zu starten oder irgendwelche Daten neu zu laden
|
||||
|
||||
Solltest Du die Dateien weiter händisch ändern wollen, dann solltest Du vorsichtig sein:
|
||||
|
||||
* wird ein ungültiger Wert eingetragen gibt WeeChat einen Fehler, beim Start, aus und
|
||||
der ungültigen Wert wird verworfen (der Standardwert für die entsprechende Option wird
|
||||
* wird ein ungültiger Wert eingetragen, gibt WeeChat einen Fehler beim Start aus und
|
||||
der ungültigen Wert wird verworfen (der Standardwert, für die entsprechende Option, wird
|
||||
dann genutzt)
|
||||
* sollte WeeChat laufen und man nutzt den `/reload` Befehl, aber Einstellungen wurden nicht
|
||||
* sollte WeeChat laufen und man nutzt den `/reload` Befehl aber Einstellungen wurden nicht
|
||||
vorher mit `/save` gesichert, ist ein Datenverlust unvermeidbar
|
||||
|
||||
[[memory_usage]]
|
||||
=== Wie kann ich erreichen, dass WeeChat weniger Speicher verbraucht?
|
||||
=== Wie kann ich WeeChat dazu bringen weniger Speicher zu verbrauchen?
|
||||
|
||||
Damit WeeChat weniger Speicher benötigt, solltest Du folgende Tipps umsetzen:
|
||||
|
||||
* nutze die aktuelle Version (man kann davon ausgehen das eine aktuelle Version
|
||||
weniger Speicherlecks besitzt, als eine vorherige Version)
|
||||
* lade keine Erweiterungen die Du nicht benötigst. Zum Beispiel: ASpell, Buflist,
|
||||
Fifo, Logger, Perl, Python, Ruby, Lua, Tcl, Guile, JavaScript, PHP, Xfer (wird für
|
||||
Fifo, Logger, Perl, Python, Ruby, Lua, Tcl, Guile, Javascript, Xfer (wird für
|
||||
DCC benötigst)
|
||||
* installiere ausschließlich Skripten die Du auch nutzt
|
||||
* falls man SSL *NICHT* nutzt, sollte kein Zertifikat geladen werden. In diesem
|
||||
@@ -970,7 +909,7 @@ und zusätzlich diese Tipps beherzigen:
|
||||
verhindert, dass auf die Datei _/etc/localtime_ häufig zugegriffen wird.
|
||||
|
||||
[[security]]
|
||||
=== Ich bin ein bisschen paranoid was Sicherheit betrifft. Welche Einstellungen kann ich vornehmen um noch mehr Privatsphäre zu erlangen?
|
||||
=== Ich bin ein bisschen Paranoid was Sicherheit betrifft. Welche Einstellungen kann ich vornehmen um noch mehr Privatsphäre zu erlangen?
|
||||
|
||||
Deaktiviere IRC part und quit Nachrichten:
|
||||
|
||||
|
||||
@@ -92,11 +92,11 @@ Befehls `/save` kann das Sichern der Optionen manuell durchgeführt werden).
|
||||
|
||||
[IMPORTANT]
|
||||
Es wird *nicht empfohlen* die Konfigurationsdateien manuell zu editieren, da WeeChat
|
||||
diese Dateien zu jeder Zeit überschreiben kann (zum Beispiel: `/quit`).
|
||||
Außerdem muß eine veränderte Datei manuell mit dem Befehl `/reload` neu
|
||||
diese Dateien zu jeder Zeit überschreiben kann (zum Beispiel: <<command_weechat_quit,/quit>>).
|
||||
Außerdem muß eine veränderte Datei manuell mit dem Befehl <<command_weechat_reload,/reload>> neu
|
||||
geladen werden (mit dem Risiko von Datenverlust da Optionen kommentarlos überschrieben werden,
|
||||
bevor man diese ggf. gesichert hat `/save`). +
|
||||
Aus diesen Gründen sollte immer der `/set` Befehl genutzt werden, da
|
||||
bevor man diese ggf. gesichert hat <<command_weechat_save,/save>>). +
|
||||
Aus diesen Gründen sollte immer der <<command_weechat_set,/set>> Befehl genutzt werden, da
|
||||
zusätzlich auch die Eingabe auf Plausibilität geprüft wird und Änderungen sofort wirksam werden.
|
||||
|
||||
[[core_vs_plugins]]
|
||||
@@ -215,12 +215,6 @@ eine Liste eingetragen werden:
|
||||
/set irc.server.freenode.autojoin "#channel1,#channel2"
|
||||
----
|
||||
|
||||
[TIP]
|
||||
Mittels der kbd:[Tab] Taste kann man sehr einfach Namen und Werte von Optionen
|
||||
vervollständigen und mittels kbd:[Shift+Tab] kann eine teilweise Vervollständigung
|
||||
durchgeführt werden (was bei langen Wörtern, wie z.B. der Name einer Option, nützlich
|
||||
sein kann).
|
||||
|
||||
Um einen Wert der Server-Optionen zu entfernen und stattdessen wieder den
|
||||
Vorgabewert zu nutzen, z.B. Nutzen der vorgegebenen Nicknamen
|
||||
(irc.server_default.nicks):
|
||||
@@ -393,7 +387,7 @@ Viele externe Skripten (von Drittprogrammierern) sind für WeeChat verfügbar. D
|
||||
Skripten können mittels des `/script` Befehls heruntergeladen und installiert werden:
|
||||
|
||||
----
|
||||
/script install go.py
|
||||
/script install iset.pl
|
||||
----
|
||||
|
||||
siehe `/help script` für weitere Informationen.
|
||||
|
||||
@@ -29,14 +29,13 @@ schlanker Chat-Client der für verschiedene Betriebssysteme entwickelt wird.
|
||||
Dieses Handbuch beschreibt wie man Skripten für WeeChat schreiben kann. Dabei
|
||||
werden folgende Programmiersprachen unterstützt:
|
||||
|
||||
* Python
|
||||
* Perl
|
||||
* Ruby
|
||||
* Lua
|
||||
* Tcl
|
||||
* Guile (Scheme)
|
||||
* JavaScript
|
||||
* PHP
|
||||
* python
|
||||
* perl
|
||||
* ruby
|
||||
* lua
|
||||
* tcl
|
||||
* guile (scheme)
|
||||
* javascript
|
||||
|
||||
[NOTE]
|
||||
Fast alle Beispiele in dieser Dokumentation sind für Python erstellt.
|
||||
@@ -81,7 +80,7 @@ Weechat.config_new_option(config, section, "name", "string", "description of opt
|
||||
|
||||
* Funktionen werden im Format `weechat::xxx arg1 arg2 ...` ausgeführt
|
||||
|
||||
==== Guile (Scheme)
|
||||
==== Guile (scheme)
|
||||
|
||||
* Funktionen werden im Format `(weechat:xxx arg1 arg2 ...)` ausgeführt
|
||||
* folgende Funktionen nutzen eine Liste von Argumente (anstelle von vielen
|
||||
@@ -91,14 +90,10 @@ Weechat.config_new_option(config, section, "name", "string", "description of opt
|
||||
** config_new_option
|
||||
** bar_new
|
||||
|
||||
==== JavaScript
|
||||
==== Javascript
|
||||
|
||||
* Funktionen werden im Format `weechat.xxx(arg1, arg2, ...);` ausgeführt
|
||||
|
||||
==== PHP
|
||||
|
||||
* Funktionen werden im Format `weechat_xxx(arg1, arg2, ...);` ausgeführt
|
||||
|
||||
[[register_function]]
|
||||
=== Die "Register" Funktion
|
||||
|
||||
@@ -171,7 +166,7 @@ weechat::register "test_tcl" "FlashCode" "1.0" "GPL3" "Test Skript" "" ""
|
||||
weechat::print "" "Hallo, von einem tcl Skript!"
|
||||
----
|
||||
|
||||
* Guile (Scheme):
|
||||
* Guile (scheme):
|
||||
|
||||
[source,lisp]
|
||||
----
|
||||
@@ -179,7 +174,7 @@ weechat::print "" "Hallo, von einem tcl Skript!"
|
||||
(weechat:print "" "Hallo, von einem scheme Skript!")
|
||||
----
|
||||
|
||||
* JavaScript:
|
||||
* Javascript:
|
||||
|
||||
[source,javascript]
|
||||
----
|
||||
@@ -187,14 +182,6 @@ weechat.register("test_js", "FlashCode", "1.0", "GPL3", "Test Skript", "", "");
|
||||
weechat.print("", "Hallo, von einem javascript Skript!");
|
||||
----
|
||||
|
||||
* PHP:
|
||||
|
||||
[source,php]
|
||||
----
|
||||
weechat_register('test_php', 'FlashCode', '1.0', 'GPL3', 'Test Skript', '', '');
|
||||
weechat_print('', 'Hallo, von einem PHP Skript!');
|
||||
----
|
||||
|
||||
[[load_script]]
|
||||
=== Laden von Skripten
|
||||
|
||||
@@ -209,7 +196,6 @@ nutzen, zum Beispiel:
|
||||
/script load script.tcl
|
||||
/script load script.scm
|
||||
/script load script.js
|
||||
/script load script.php
|
||||
----
|
||||
|
||||
Es besteht natürlich weiterhin die Möglichkeit, individuell für jede
|
||||
@@ -223,7 +209,6 @@ Skriptsprache, den entsprechenden Befehl zu nutzen:
|
||||
/tcl load script.tcl
|
||||
/guile load script.scm
|
||||
/javascript load script.js
|
||||
/php load script.php
|
||||
----
|
||||
|
||||
Um Skripten automatisch beim Start von WeeChat zu laden sollte man einen Link
|
||||
@@ -246,7 +231,7 @@ ein Link in das entsprechende _autoload_ Verzeichnis erzeugt.
|
||||
Die Skripten API ist nahezu identisch mit der API der C Erweiterung.
|
||||
Um einen Überblick über alle API Funktionen (Prototyp, Argumente,
|
||||
Rückgabe werte, Beispiele) zu erhalten werfen Sie einen Blick in
|
||||
die link:weechat_plugin_api.en.html[WeeChat Plugin API Reference] (Englisch).
|
||||
die _WeeChat Plugin API Reference_.
|
||||
Es ist wichtig das man zwischen einer _Erweiterung_ und einem _Skript_
|
||||
unterscheidet: Eine _Erweiterung_ ist eine Binärdatei die kompiliert wurde
|
||||
und mittels `/plugin` geladen wird. Ein _Skript_ ist eine Textdatei welche
|
||||
@@ -375,7 +360,7 @@ proc timer_cb { data remaining_calls } {
|
||||
weechat::hook_timer 1000 0 1 timer_cb test
|
||||
----
|
||||
|
||||
* Guile (Scheme):
|
||||
* Guile (scheme):
|
||||
|
||||
[source,lisp]
|
||||
----
|
||||
@@ -387,7 +372,7 @@ weechat::hook_timer 1000 0 1 timer_cb test
|
||||
(weechat:hook_timer 1000 0 1 "timer_cb" "test")
|
||||
----
|
||||
|
||||
* JavaScript:
|
||||
* Javascript:
|
||||
|
||||
[source,javascript]
|
||||
----
|
||||
@@ -399,23 +384,11 @@ function timer_cb(data, remaining_calls) {
|
||||
weechat.hook_timer(1000, 0, 1, "timer_cb", "test");
|
||||
----
|
||||
|
||||
* PHP:
|
||||
|
||||
[source,php]
|
||||
----
|
||||
$timer_cb = function ($data, $remaining_calls) {
|
||||
weechat_print('', 'timer! data=' . $data);
|
||||
return WEECHAT_RC_OK;
|
||||
};
|
||||
|
||||
weechat_hook_timer(1000, 0, 1, $timer_cb, 'test');
|
||||
----
|
||||
|
||||
[[script_api]]
|
||||
== Skript API
|
||||
|
||||
Um weiterführende Informationen zu den API Funktionen zu erhalten
|
||||
lesen Sie bitte link:weechat_plugin_api.en.html[WeeChat Plugin API Reference] (Englisch).
|
||||
lesen Sie bitte _WeeChat Plugin API Reference_.
|
||||
|
||||
[[script_api_functions]]
|
||||
=== Funktionen
|
||||
@@ -724,8 +697,7 @@ Liste der Konstanten in Skript API:
|
||||
|
||||
Dieses Kapitel beinhaltet einige Aufgaben mit Lösungsbeispielen.
|
||||
Die Skript API wird dabei nur sehr oberflächlich besprochen.Um eine vollständige
|
||||
Übersicht aller Befehle zu erhalten nutzen Sie bitte die
|
||||
link:weechat_plugin_api.en.html[WeeChat Plugin API Reference] (Englisch).
|
||||
Übersicht aller Befehle zu erhalten nutzen Sie bitte die _WeeChat Plugin API Reference_.
|
||||
|
||||
[[buffers]]
|
||||
=== Buffer
|
||||
@@ -770,7 +742,8 @@ weechat.prnt(buffer, "Nachricht im #weechat Channel")
|
||||
----
|
||||
|
||||
[NOTE]
|
||||
Die Print-Funktion lautet unter Python `prnt` und `print` in den anderen Sprachen.
|
||||
Die print Funktion heißt in Perl/Ruby/Lua/Tcl/Guile/Javascript `print`.
|
||||
In Python lautet die Funktion `prnt`.
|
||||
|
||||
[[buffers_send_text]]
|
||||
==== Text in einen Buffer senden
|
||||
@@ -992,9 +965,8 @@ weechat.hook_process_hashtable("url:https://weechat.org/files/src/weechat-devel.
|
||||
30 * 1000, "my_process_cb", "")
|
||||
----
|
||||
|
||||
Für weitere Informationen zum URL Transfer und verfügbare Optionen, siehe Funktionen
|
||||
`hook_process` und `hook_process_hashtable` in
|
||||
link:weechat_plugin_api.en.html#_hook_process[WeeChat plugin API reference] (Englisch).
|
||||
Für weiterführende Informationen zum URL Transfer und für die verfügbaren Optionen,
|
||||
siehe `hook_process` und `hook_process_hashtable` in der API Erweiterung Anleitung.
|
||||
|
||||
[[config_options]]
|
||||
=== Konfiguration / Optionen
|
||||
|
||||
+454
-619
File diff suppressed because it is too large
Load Diff
+1
-34
@@ -94,19 +94,17 @@ PLUGIN_LIST = {
|
||||
'charset': 'o',
|
||||
'exec': 'o',
|
||||
'fifo': 'o',
|
||||
'fset': 'o',
|
||||
'irc': 'co',
|
||||
'logger': 'o',
|
||||
'relay': 'o',
|
||||
'script': 'o',
|
||||
'perl': '',
|
||||
'python': '',
|
||||
'javascript': '',
|
||||
'ruby': '',
|
||||
'lua': '',
|
||||
'tcl': '',
|
||||
'guile': '',
|
||||
'javascript': '',
|
||||
'php': '',
|
||||
'trigger': 'o',
|
||||
'xfer': 'co',
|
||||
}
|
||||
@@ -395,22 +393,6 @@ def get_url_options():
|
||||
return url_options
|
||||
|
||||
|
||||
def get_default_aliases():
|
||||
"""
|
||||
Get list of default aliases as list of dictionaries.
|
||||
"""
|
||||
default_aliases = []
|
||||
infolist = weechat.infolist_get('alias_default', '', '')
|
||||
while weechat.infolist_next(infolist):
|
||||
default_aliases.append({
|
||||
'name': '/' + weechat.infolist_string(infolist, 'name'),
|
||||
'command': '/' + weechat.infolist_string(infolist, 'command'),
|
||||
'completion': weechat.infolist_string(infolist, 'completion'),
|
||||
})
|
||||
weechat.infolist_free(infolist)
|
||||
return default_aliases
|
||||
|
||||
|
||||
def get_irc_colors():
|
||||
"""
|
||||
Get list of IRC colors as list of dictionaries.
|
||||
@@ -460,7 +442,6 @@ def docgen_cmd_cb(data, buf, args):
|
||||
hdata = get_hdata()
|
||||
completions = get_completions()
|
||||
url_options = get_url_options()
|
||||
default_aliases = get_default_aliases()
|
||||
irc_colors = get_irc_colors()
|
||||
plugins_priority = get_plugins_priority()
|
||||
|
||||
@@ -583,20 +564,6 @@ def docgen_cmd_cb(data, buf, args):
|
||||
_('undefined value allowed (null)')))
|
||||
doc.update('options', num_files, num_files_updated)
|
||||
|
||||
# write default aliases
|
||||
doc = AutogenDoc(directory, 'user', 'alias_default_aliases')
|
||||
doc.write('[width="100%",cols="2m,5m,5",options="header"]\n')
|
||||
doc.write('|===\n')
|
||||
doc.write('| {0} | {1} | {2}\n\n'
|
||||
''.format(_('Alias'), _('Command'), _('Completion')))
|
||||
for alias in default_aliases:
|
||||
doc.write('| {0} | {1} | {2}\n'
|
||||
''.format(escape(alias['name']),
|
||||
escape(alias['command']),
|
||||
escape(alias['completion'] or '-')))
|
||||
doc.write('|===\n')
|
||||
doc.update('alias_default_aliases', num_files, num_files_updated)
|
||||
|
||||
# write IRC colors
|
||||
doc = AutogenDoc(directory, 'user', 'irc_colors')
|
||||
doc.write('[width="30%",cols="^2m,3",options="header"]\n')
|
||||
|
||||
@@ -16,8 +16,6 @@
|
||||
|
||||
| exec | exec_commands_ids | ids (numbers and names) of executed commands
|
||||
|
||||
| fset | fset_options | configuration files, sections, options and words of options
|
||||
|
||||
| guile | guile_script | list of scripts
|
||||
|
||||
| irc | irc_channel | current IRC channel
|
||||
@@ -58,8 +56,6 @@
|
||||
|
||||
| perl | perl_script | list of scripts
|
||||
|
||||
| php | php_script | list of scripts
|
||||
|
||||
| python | python_script | list of scripts
|
||||
|
||||
| relay | relay_free_port | first free port for relay plugin
|
||||
|
||||
@@ -8,27 +8,6 @@
|
||||
|===
|
||||
| Plugin | Name | Description | Lists | Variables
|
||||
|
||||
| fset
|
||||
| [[hdata_fset_option]]<<hdata_fset_option,fset_option>>
|
||||
| fset options
|
||||
| -
|
||||
| _index_ (integer) +
|
||||
_file_ (string) +
|
||||
_section_ (string) +
|
||||
_option_ (string) +
|
||||
_name_ (string) +
|
||||
_parent_name_ (string) +
|
||||
_type_ (integer) +
|
||||
_default_value_ (string) +
|
||||
_value_ (string) +
|
||||
_parent_value_ (string) +
|
||||
_min_ (string) +
|
||||
_max_ (string) +
|
||||
_description_ (string) +
|
||||
_string_values_ (string) +
|
||||
_marked_ (integer) +
|
||||
|
||||
|
||||
| guile
|
||||
| [[hdata_guile_script]]<<hdata_guile_script,guile_script>>
|
||||
| list of scripts
|
||||
@@ -324,26 +303,6 @@ _prev_script_ (pointer, hdata: "perl_script") +
|
||||
_next_script_ (pointer, hdata: "perl_script") +
|
||||
|
||||
|
||||
| php
|
||||
| [[hdata_php_script]]<<hdata_php_script,php_script>>
|
||||
| list of scripts
|
||||
| _scripts_ +
|
||||
_last_script_ +
|
||||
|
||||
| _filename_ (string) +
|
||||
_interpreter_ (pointer) +
|
||||
_name_ (string) +
|
||||
_author_ (string) +
|
||||
_version_ (string) +
|
||||
_license_ (string) +
|
||||
_description_ (string) +
|
||||
_shutdown_func_ (string) +
|
||||
_charset_ (string) +
|
||||
_unloading_ (integer) +
|
||||
_prev_script_ (pointer, hdata: "php_script") +
|
||||
_next_script_ (pointer, hdata: "php_script") +
|
||||
|
||||
|
||||
| python
|
||||
| [[hdata_python_script]]<<hdata_python_script,python_script>>
|
||||
| list of scripts
|
||||
@@ -554,7 +513,6 @@ _input_callback_ (pointer) +
|
||||
_input_callback_pointer_ (pointer) +
|
||||
_input_callback_data_ (pointer) +
|
||||
_input_get_unknown_commands_ (integer) +
|
||||
_input_get_empty_ (integer) +
|
||||
_input_buffer_ (string) +
|
||||
_input_buffer_alloc_ (integer) +
|
||||
_input_buffer_size_ (integer) +
|
||||
|
||||
@@ -8,10 +8,6 @@
|
||||
|
||||
| alias | alias | list of aliases | alias pointer (optional) | alias name (wildcard "*" is allowed) (optional)
|
||||
|
||||
| alias | alias_default | list of default aliases | - | -
|
||||
|
||||
| fset | fset_option | list of fset options | fset option pointer (optional) | option name (wildcard "*" is allowed) (optional)
|
||||
|
||||
| guile | guile_script | list of scripts | script pointer (optional) | script name (wildcard "*" is allowed) (optional)
|
||||
|
||||
| irc | irc_channel | list of channels for an IRC server | channel pointer (optional) | server,channel (channel is optional)
|
||||
@@ -34,8 +30,6 @@
|
||||
|
||||
| perl | perl_script | list of scripts | script pointer (optional) | script name (wildcard "*" is allowed) (optional)
|
||||
|
||||
| php | php_script | list of scripts | script pointer (optional) | script name (wildcard "*" is allowed) (optional)
|
||||
|
||||
| python | python_script | list of scripts | script pointer (optional) | script name (wildcard "*" is allowed) (optional)
|
||||
|
||||
| relay | relay | list of relay clients | relay pointer (optional) | -
|
||||
|
||||
@@ -2,17 +2,16 @@
|
||||
// This file is auto-generated by script docgen.py.
|
||||
// DO NOT EDIT BY HAND!
|
||||
//
|
||||
. charset (15000)
|
||||
. logger (14000)
|
||||
. exec (13000)
|
||||
. trigger (12000)
|
||||
. aspell (11000)
|
||||
. alias (10000)
|
||||
. buflist (9000)
|
||||
. fifo (8000)
|
||||
. xfer (7000)
|
||||
. irc (6000)
|
||||
. relay (5000)
|
||||
. guile, javascript, lua, perl, php, python, ruby, tcl (4000)
|
||||
. script (3000)
|
||||
. fset (2000)
|
||||
. charset (14000)
|
||||
. logger (13000)
|
||||
. exec (12000)
|
||||
. trigger (11000)
|
||||
. aspell (10000)
|
||||
. alias (9000)
|
||||
. buflist (8000)
|
||||
. fifo (7000)
|
||||
. xfer (6000)
|
||||
. irc (5000)
|
||||
. relay (4000)
|
||||
. guile, javascript, lua, perl, python, ruby, tcl (3000)
|
||||
. script (2000)
|
||||
|
||||
@@ -1,42 +0,0 @@
|
||||
//
|
||||
// This file is auto-generated by script docgen.py.
|
||||
// DO NOT EDIT BY HAND!
|
||||
//
|
||||
[width="100%",cols="2m,5m,5",options="header"]
|
||||
|===
|
||||
| Alias | Command | Completion
|
||||
|
||||
| /AAWAY | /allserv /away | -
|
||||
| /AME | /allchan /me | -
|
||||
| /AMSG | /allchan /msg * | -
|
||||
| /ANICK | /allserv /nick | -
|
||||
| /BEEP | /print -beep | -
|
||||
| /BYE | /quit | -
|
||||
| /C | /buffer clear | -
|
||||
| /CL | /buffer clear | -
|
||||
| /CLOSE | /buffer close | -
|
||||
| /CHAT | /dcc chat | -
|
||||
| /EXIT | /quit | -
|
||||
| /IG | /ignore | -
|
||||
| /J | /join | -
|
||||
| /K | /kick | -
|
||||
| /KB | /kickban | -
|
||||
| /LEAVE | /part | -
|
||||
| /M | /msg | -
|
||||
| /MUB | /unban * | -
|
||||
| /MSGBUF | /command -buffer $1 * /input send $2- | %(buffers_plugins_names)
|
||||
| /N | /names | -
|
||||
| /Q | /query | -
|
||||
| /REDRAW | /window refresh | -
|
||||
| /SAY | /msg * | -
|
||||
| /SIGNOFF | /quit | -
|
||||
| /T | /topic | -
|
||||
| /UB | /unban | -
|
||||
| /UMODE | /mode $nick | -
|
||||
| /V | /command core version | -
|
||||
| /W | /who | -
|
||||
| /WC | /window merge | -
|
||||
| /WI | /whois | -
|
||||
| /WII | /whois $1 $1 | -
|
||||
| /WW | /whowas | -
|
||||
|===
|
||||
@@ -10,7 +10,7 @@
|
||||
refresh
|
||||
|
||||
bar: add the "buflist" bar
|
||||
refresh: force the refresh of the bar items (buflist, buflist2 and buflist3)
|
||||
refresh: force the refresh of the "buflist" bar item
|
||||
|
||||
The lines with buffers are displayed using string evaluation (see /help eval for the format), with these options:
|
||||
- buflist.look.display_conditions: conditions to display a buffer in the list
|
||||
@@ -18,8 +18,6 @@ The lines with buffers are displayed using string evaluation (see /help eval for
|
||||
- buflist.format.buffer_current: format for the current buffer
|
||||
|
||||
The following variables can be used in these options:
|
||||
- bar item data (see hdata "bar_item" in API doc for a complete list), for example:
|
||||
- ${bar_item.name}
|
||||
- buffer data (see hdata "buffer" in API doc for a complete list), for example:
|
||||
- ${buffer.number}
|
||||
- ${buffer.name}
|
||||
|
||||
@@ -86,12 +86,6 @@
|
||||
** values: any string
|
||||
** default value: `+"${color:green}${number}${if:${number_displayed}?.: }"+`
|
||||
|
||||
* [[option_buflist.look.add_newline]] *buflist.look.add_newline*
|
||||
** description: pass:none[add newline between the buffers displayed, so each buffer is displayed on a separate line (recommended); if disabled, newlines must be manually added in the formats with "${\n}", and the mouse actions are not possible any more]
|
||||
** type: boolean
|
||||
** values: on, off
|
||||
** default value: `+on+`
|
||||
|
||||
* [[option_buflist.look.auto_scroll]] *buflist.look.auto_scroll*
|
||||
** description: pass:none[automatically scroll the buflist bar to always see the current buffer (this works only with a bar on the left/right position with a "vertical" filling); this value is the percent number of lines displayed before the current buffer when scrolling (-1 = disable scroll); for example 50 means that after a scroll, the current buffer is at the middle of bar, 0 means on top of bar, 100 means at bottom of bar]
|
||||
** type: integer
|
||||
|
||||
@@ -1,158 +0,0 @@
|
||||
//
|
||||
// This file is auto-generated by script docgen.py.
|
||||
// DO NOT EDIT BY HAND!
|
||||
//
|
||||
[[command_fset_fset]]
|
||||
* `+fset+`: fast set WeeChat and plugins options
|
||||
|
||||
----
|
||||
/fset -bar
|
||||
-refresh
|
||||
-up|-down [<number>]
|
||||
-left|-right [<percent>]
|
||||
-go <line>|end
|
||||
-toggle
|
||||
-add [<value>]
|
||||
-reset
|
||||
-unset
|
||||
-set
|
||||
-setnew
|
||||
-append
|
||||
-mark
|
||||
-format
|
||||
-export [-help|-nohelp] <filename>
|
||||
<filter>
|
||||
|
||||
-bar: add the help bar
|
||||
-refresh: refresh list of options, then whole screen (command: /window refresh)
|
||||
-up: move the selected line up by "number" lines
|
||||
-down: move the selected line down by "number" lines
|
||||
-left: scroll the fset buffer by "percent" of width on the left
|
||||
-right: scroll the fset buffer by "percent" of width on the right
|
||||
-go: select a line by number, first line number is 0 ("end" to select the last line)
|
||||
-toggle: toggle the boolean value
|
||||
-add: add "value" (which can be a negative number) for integers and colors, set/append to value for other types (set for a negative value, append for a positive value)
|
||||
-reset: reset the value of option
|
||||
-unset: unset the option
|
||||
-set: add the /set command in input to edit the value of option (move the cursor at the beginning of value)
|
||||
-setnew: add the /set command in input to edit a new value for the option
|
||||
-append: add the /set command to append something in the value of option (move the cursor at the end of value)
|
||||
-mark: toggle mark
|
||||
-format: switch to the next available format
|
||||
-export: export the options and values displayed in a file (each line has format: "/set name value" or "/unset name")
|
||||
-help: force writing of help on options in exported file (see /help fset.look.export_help_default)
|
||||
-nohelp: do not write help on options in exported file (see /help fset.look.export_help_default)
|
||||
filter: set a new filter to see only matching options (this filter can be used as input in fset buffer as well); allowed formats are:
|
||||
* show all options (no filter)
|
||||
xxx show only options with "xxx" in name
|
||||
f:xxx show only configuration file "xxx"
|
||||
t:xxx show only type "xxx" (bool/int/str/col)
|
||||
d show only changed options
|
||||
d:xxx show only changed options with "xxx" in name
|
||||
d=xxx show only changed options with "xxx" in value
|
||||
d==xxx show only changed options with exact value "xxx"
|
||||
=xxx show only options with "xxx" in value
|
||||
==xxx show only options with exact value "xxx"
|
||||
c:xxx show only options matching the evaluated condition "xxx", using following variables: file, section, option, name, parent_name, type, type_en, type_short (bool/int/str/col), type_tiny (b/i/s/c), default_value, default_value_undef, value, quoted_value, value_undef, value_changed, parent_value, min, max, description, description2, description_en, description_en2, string_values
|
||||
|
||||
The lines with options are displayed using string evaluation (see /help eval for the format), with these options:
|
||||
- fset.format.option1: first format for an option
|
||||
- fset.format.option2: second format for an option
|
||||
|
||||
The following variables can be used in these options:
|
||||
- option data, with color and padded by spaces on the right:
|
||||
- ${file}: configuration file (for example "weechat" or "irc")
|
||||
- ${section}: section
|
||||
- ${option}: option name
|
||||
- ${name}: full option name (file.section.option)
|
||||
- ${parent_name}: parent option name
|
||||
- ${type}: option type (translated)
|
||||
- ${type_en}: option type (in English)
|
||||
- ${type_short}: short option type (bool/int/str/col)
|
||||
- ${type_tiny}: tiny option type (b/i/s/c)
|
||||
- ${default_value}: option default value
|
||||
- ${default_value_undef}: "1" if default value is null, otherwise "0"
|
||||
- ${value}: option value
|
||||
- ${value_undef}: "1" if value is null, otherwise "0"
|
||||
- ${value_changed}: "1" if value is different from default value, otherwise "0"
|
||||
- ${value2}: option value, with inherited value if null
|
||||
- ${parent_value}: parent option value
|
||||
- ${min}: min value
|
||||
- ${max}: max value
|
||||
- ${description}: option description (translated)
|
||||
- ${description2}: option description (translated), "(no description)" (translated) if there's no description
|
||||
- ${description_en}: option description (in English)
|
||||
- ${description_en2}: option description (in English), "(no description)" if there's no description
|
||||
- ${string_values}: string values allowed for set of an integer option using strings
|
||||
- ${marked}: "1" if option is marked, otherwise "0"
|
||||
- ${index}: index of option in list
|
||||
- option data, with color but no spaces:
|
||||
- same names prefixed by underscore, for example: ${_name}, ${_type}, ...
|
||||
- option data, raw format (no colors/spaces):
|
||||
- same names prefixed by two underscores, for example: ${__name}, ${__type}, ...
|
||||
- option data, only spaces:
|
||||
- same names prefixed with "empty_", for example: ${empty_name}, ${empty_type}
|
||||
- other data:
|
||||
- ${selected_line}: "1" if the line is selected, otherwise "0"
|
||||
- ${newline}: insert a new line at point, so the option is displayed on multiple lines
|
||||
|
||||
Keys and input to move in on fset buffer:
|
||||
up move one line up
|
||||
down move one line down
|
||||
pgup move one page up
|
||||
pgdn move one page down
|
||||
alt-home << move to first line
|
||||
alt-end >> move to last line
|
||||
F11 < scroll horizontally on the left
|
||||
F12 > scroll horizontally on the right
|
||||
|
||||
Keys and input to set options on fset buffer:
|
||||
alt+space t toggle boolean value
|
||||
alt+'-' - subtract 1 from value for integer/color, set value for other types
|
||||
alt+'+' + add 1 to value for integer/color, append to value for other types
|
||||
alt+f, alt+r r reset value
|
||||
alt+f, alt+u u unset value
|
||||
alt+enter s set value
|
||||
alt+f, alt+n n set new value
|
||||
alt+f, alt+a a append to value
|
||||
alt+',' , mark/unmark option
|
||||
shift+up move one line up and mark/unmark option
|
||||
shift+down mark/unmark option and move one line down
|
||||
m:xxx mark options displayed that are matching filter "xxx" (any filter on option or value is allowed, see filters above)
|
||||
u:xxx unmark options displayed that are matching filter "xxx" (any filter on option or value is allowed, see filters above)
|
||||
|
||||
Other keys and input on fset buffer:
|
||||
ctrl+L refresh options and whole screen (command: /fset -refresh)
|
||||
$ refresh options (keep marked options)
|
||||
$$ refresh options (unmark all options)
|
||||
alt+p p toggle plugin description options (plugins.desc.*)
|
||||
alt+v v toggle help bar
|
||||
s:x,y sort options by fields x,y (see /help fset.look.sort)
|
||||
s: reset sort to its default value (see /help fset.look.sort)
|
||||
w:xxx export options in file "xxx"
|
||||
w-:xxx export options in file "xxx" without help
|
||||
w+:xxx export options in file "xxx" with help
|
||||
ctrl+X x switch the format used to display options
|
||||
q close fset buffer
|
||||
|
||||
Mouse actions on fset buffer:
|
||||
wheel up/down move line up/down
|
||||
left button move line here
|
||||
right button toggle boolean (on/off) or edit the option value
|
||||
right button + drag left/right increase/decrease value for integer/color, set/append to value for other types
|
||||
right button + drag up/down mark/unmark multiple options
|
||||
|
||||
Note: if input has one or more leading spaces, the following text is interpreted as a filter, without the spaces. For example " q" searches all options with "q" inside name while "q" closes the fset buffer.
|
||||
|
||||
Examples:
|
||||
show IRC options changed:
|
||||
/fset d:irc.*
|
||||
show all options with "nicklist" in name:
|
||||
/fset nicklist
|
||||
show all values which contain "red":
|
||||
/fset =red
|
||||
show all values which are exactly "red":
|
||||
/fset ==red
|
||||
show all integer options in irc plugin:
|
||||
/fset c:${file} == irc && ${type_en} == integer
|
||||
----
|
||||
@@ -1,477 +0,0 @@
|
||||
//
|
||||
// This file is auto-generated by script docgen.py.
|
||||
// DO NOT EDIT BY HAND!
|
||||
//
|
||||
* [[option_fset.color.default_value]] *fset.color.default_value*
|
||||
** description: pass:none[color for default value]
|
||||
** 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 italic, "_" for underline
|
||||
** default value: `+default+`
|
||||
|
||||
* [[option_fset.color.default_value_selected]] *fset.color.default_value_selected*
|
||||
** description: pass:none[color for default value on the selected line]
|
||||
** 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 italic, "_" for underline
|
||||
** default value: `+white+`
|
||||
|
||||
* [[option_fset.color.description]] *fset.color.description*
|
||||
** description: pass:none[color for description]
|
||||
** 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 italic, "_" for underline
|
||||
** default value: `+default+`
|
||||
|
||||
* [[option_fset.color.description_selected]] *fset.color.description_selected*
|
||||
** description: pass:none[color for description on the selected line]
|
||||
** 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 italic, "_" for underline
|
||||
** default value: `+white+`
|
||||
|
||||
* [[option_fset.color.file]] *fset.color.file*
|
||||
** description: pass:none[color for file]
|
||||
** 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 italic, "_" for underline
|
||||
** default value: `+default+`
|
||||
|
||||
* [[option_fset.color.file_changed]] *fset.color.file_changed*
|
||||
** description: pass:none[color for file if value is changed]
|
||||
** 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 italic, "_" for underline
|
||||
** default value: `+brown+`
|
||||
|
||||
* [[option_fset.color.file_changed_selected]] *fset.color.file_changed_selected*
|
||||
** description: pass:none[color for file if value is changed on the selected line]
|
||||
** 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 italic, "_" for underline
|
||||
** default value: `+yellow+`
|
||||
|
||||
* [[option_fset.color.file_selected]] *fset.color.file_selected*
|
||||
** description: pass:none[color for file on the selected line]
|
||||
** 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 italic, "_" for underline
|
||||
** default value: `+white+`
|
||||
|
||||
* [[option_fset.color.help_default_value]] *fset.color.help_default_value*
|
||||
** description: pass:none[color for default value in help bar]
|
||||
** 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 italic, "_" for underline
|
||||
** default value: `+white+`
|
||||
|
||||
* [[option_fset.color.help_description]] *fset.color.help_description*
|
||||
** description: pass:none[color for description in help bar]
|
||||
** 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 italic, "_" for underline
|
||||
** default value: `+default+`
|
||||
|
||||
* [[option_fset.color.help_name]] *fset.color.help_name*
|
||||
** description: pass:none[color for name in help bar]
|
||||
** 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 italic, "_" for underline
|
||||
** default value: `+white+`
|
||||
|
||||
* [[option_fset.color.help_quotes]] *fset.color.help_quotes*
|
||||
** description: pass:none[color for quotes around string values]
|
||||
** 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 italic, "_" for underline
|
||||
** default value: `+darkgray+`
|
||||
|
||||
* [[option_fset.color.help_values]] *fset.color.help_values*
|
||||
** description: pass:none[color for allowed values]
|
||||
** 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 italic, "_" for underline
|
||||
** default value: `+default+`
|
||||
|
||||
* [[option_fset.color.index]] *fset.color.index*
|
||||
** description: pass:none[color for index of option]
|
||||
** 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 italic, "_" for underline
|
||||
** default value: `+cyan+`
|
||||
|
||||
* [[option_fset.color.index_selected]] *fset.color.index_selected*
|
||||
** description: pass:none[color for index of option on the selected line]
|
||||
** 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 italic, "_" for underline
|
||||
** default value: `+lightcyan+`
|
||||
|
||||
* [[option_fset.color.line_marked_bg1]] *fset.color.line_marked_bg1*
|
||||
** description: pass:none[background color for a marked line (used with the first format, see option fset.format.option1)]
|
||||
** 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 italic, "_" for underline
|
||||
** default value: `+default+`
|
||||
|
||||
* [[option_fset.color.line_marked_bg2]] *fset.color.line_marked_bg2*
|
||||
** description: pass:none[background color for a marked line (used with the second format, see option fset.format.option2)]
|
||||
** 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 italic, "_" for underline
|
||||
** default value: `+default+`
|
||||
|
||||
* [[option_fset.color.line_selected_bg1]] *fset.color.line_selected_bg1*
|
||||
** description: pass:none[background color for the selected line (used with the first format, see option fset.format.option1)]
|
||||
** 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 italic, "_" for underline
|
||||
** default value: `+blue+`
|
||||
|
||||
* [[option_fset.color.line_selected_bg2]] *fset.color.line_selected_bg2*
|
||||
** description: pass:none[background color for the selected line (used with the second format, see option fset.format.option2)]
|
||||
** 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 italic, "_" for underline
|
||||
** default value: `+red+`
|
||||
|
||||
* [[option_fset.color.marked]] *fset.color.marked*
|
||||
** description: pass:none[color for mark indicator]
|
||||
** 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 italic, "_" for underline
|
||||
** default value: `+brown+`
|
||||
|
||||
* [[option_fset.color.marked_selected]] *fset.color.marked_selected*
|
||||
** description: pass:none[color for mark indicator on the selected line]
|
||||
** 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 italic, "_" for underline
|
||||
** default value: `+yellow+`
|
||||
|
||||
* [[option_fset.color.max]] *fset.color.max*
|
||||
** description: pass:none[color for max value]
|
||||
** 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 italic, "_" for underline
|
||||
** default value: `+default+`
|
||||
|
||||
* [[option_fset.color.max_selected]] *fset.color.max_selected*
|
||||
** description: pass:none[color for max value on the selected line]
|
||||
** 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 italic, "_" for underline
|
||||
** default value: `+white+`
|
||||
|
||||
* [[option_fset.color.min]] *fset.color.min*
|
||||
** description: pass:none[color for min value]
|
||||
** 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 italic, "_" for underline
|
||||
** default value: `+default+`
|
||||
|
||||
* [[option_fset.color.min_selected]] *fset.color.min_selected*
|
||||
** description: pass:none[color for min value on the selected line]
|
||||
** 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 italic, "_" for underline
|
||||
** default value: `+white+`
|
||||
|
||||
* [[option_fset.color.name]] *fset.color.name*
|
||||
** description: pass:none[color for name]
|
||||
** 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 italic, "_" for underline
|
||||
** default value: `+default+`
|
||||
|
||||
* [[option_fset.color.name_changed]] *fset.color.name_changed*
|
||||
** description: pass:none[color for name if value is changed]
|
||||
** 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 italic, "_" for underline
|
||||
** default value: `+brown+`
|
||||
|
||||
* [[option_fset.color.name_changed_selected]] *fset.color.name_changed_selected*
|
||||
** description: pass:none[color for name if value is changed on the selected line]
|
||||
** 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 italic, "_" for underline
|
||||
** default value: `+yellow+`
|
||||
|
||||
* [[option_fset.color.name_selected]] *fset.color.name_selected*
|
||||
** description: pass:none[color for name on the selected line]
|
||||
** 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 italic, "_" for underline
|
||||
** default value: `+white+`
|
||||
|
||||
* [[option_fset.color.option]] *fset.color.option*
|
||||
** description: pass:none[color for option]
|
||||
** 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 italic, "_" for underline
|
||||
** default value: `+default+`
|
||||
|
||||
* [[option_fset.color.option_changed]] *fset.color.option_changed*
|
||||
** description: pass:none[color for option if value is changed]
|
||||
** 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 italic, "_" for underline
|
||||
** default value: `+brown+`
|
||||
|
||||
* [[option_fset.color.option_changed_selected]] *fset.color.option_changed_selected*
|
||||
** description: pass:none[color for option if value is changed on the selected line]
|
||||
** 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 italic, "_" for underline
|
||||
** default value: `+yellow+`
|
||||
|
||||
* [[option_fset.color.option_selected]] *fset.color.option_selected*
|
||||
** description: pass:none[color for option on the selected line]
|
||||
** 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 italic, "_" for underline
|
||||
** default value: `+white+`
|
||||
|
||||
* [[option_fset.color.parent_name]] *fset.color.parent_name*
|
||||
** description: pass:none[color for name of parent option]
|
||||
** 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 italic, "_" for underline
|
||||
** default value: `+default+`
|
||||
|
||||
* [[option_fset.color.parent_name_selected]] *fset.color.parent_name_selected*
|
||||
** description: pass:none[color for name of parent option on the selected line]
|
||||
** 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 italic, "_" for underline
|
||||
** default value: `+white+`
|
||||
|
||||
* [[option_fset.color.parent_value]] *fset.color.parent_value*
|
||||
** description: pass:none[color for value of parent option]
|
||||
** 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 italic, "_" for underline
|
||||
** default value: `+cyan+`
|
||||
|
||||
* [[option_fset.color.parent_value_selected]] *fset.color.parent_value_selected*
|
||||
** description: pass:none[color for value of parent option on the selected line]
|
||||
** 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 italic, "_" for underline
|
||||
** default value: `+lightcyan+`
|
||||
|
||||
* [[option_fset.color.quotes]] *fset.color.quotes*
|
||||
** description: pass:none[color for quotes around string values]
|
||||
** 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 italic, "_" for underline
|
||||
** default value: `+darkgray+`
|
||||
|
||||
* [[option_fset.color.quotes_changed]] *fset.color.quotes_changed*
|
||||
** description: pass:none[color for quotes around string values which are changed]
|
||||
** 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 italic, "_" for underline
|
||||
** default value: `+default+`
|
||||
|
||||
* [[option_fset.color.quotes_changed_selected]] *fset.color.quotes_changed_selected*
|
||||
** description: pass:none[color for quotes around string values which are changed on the selected line]
|
||||
** 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 italic, "_" for underline
|
||||
** default value: `+white+`
|
||||
|
||||
* [[option_fset.color.quotes_selected]] *fset.color.quotes_selected*
|
||||
** description: pass:none[color for quotes around string values on the selected line]
|
||||
** 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 italic, "_" for underline
|
||||
** default value: `+default+`
|
||||
|
||||
* [[option_fset.color.section]] *fset.color.section*
|
||||
** description: pass:none[color for section]
|
||||
** 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 italic, "_" for underline
|
||||
** default value: `+default+`
|
||||
|
||||
* [[option_fset.color.section_changed]] *fset.color.section_changed*
|
||||
** description: pass:none[color for section if value is changed]
|
||||
** 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 italic, "_" for underline
|
||||
** default value: `+brown+`
|
||||
|
||||
* [[option_fset.color.section_changed_selected]] *fset.color.section_changed_selected*
|
||||
** description: pass:none[color for section if value is changed on the selected line]
|
||||
** 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 italic, "_" for underline
|
||||
** default value: `+yellow+`
|
||||
|
||||
* [[option_fset.color.section_selected]] *fset.color.section_selected*
|
||||
** description: pass:none[color for section on the selected line]
|
||||
** 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 italic, "_" for underline
|
||||
** default value: `+white+`
|
||||
|
||||
* [[option_fset.color.string_values]] *fset.color.string_values*
|
||||
** description: pass:none[color for string values]
|
||||
** 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 italic, "_" for underline
|
||||
** default value: `+default+`
|
||||
|
||||
* [[option_fset.color.string_values_selected]] *fset.color.string_values_selected*
|
||||
** description: pass:none[color for string values on the selected line]
|
||||
** 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 italic, "_" for underline
|
||||
** default value: `+white+`
|
||||
|
||||
* [[option_fset.color.title_count_options]] *fset.color.title_count_options*
|
||||
** description: pass:none[color for the count of options found with the current filter in title of buffer]
|
||||
** 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 italic, "_" for underline
|
||||
** default value: `+cyan+`
|
||||
|
||||
* [[option_fset.color.title_current_option]] *fset.color.title_current_option*
|
||||
** description: pass:none[color for current option number in title of buffer]
|
||||
** 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 italic, "_" for underline
|
||||
** default value: `+lightcyan+`
|
||||
|
||||
* [[option_fset.color.title_filter]] *fset.color.title_filter*
|
||||
** description: pass:none[color for filter in title of buffer]
|
||||
** 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 italic, "_" for underline
|
||||
** default value: `+yellow+`
|
||||
|
||||
* [[option_fset.color.title_marked_options]] *fset.color.title_marked_options*
|
||||
** description: pass:none[color for number of marked options in title of buffer]
|
||||
** 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 italic, "_" for underline
|
||||
** default value: `+lightgreen+`
|
||||
|
||||
* [[option_fset.color.title_sort]] *fset.color.title_sort*
|
||||
** description: pass:none[color for sort in title of buffer]
|
||||
** 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 italic, "_" for underline
|
||||
** default value: `+white+`
|
||||
|
||||
* [[option_fset.color.type]] *fset.color.type*
|
||||
** description: pass:none[color for type]
|
||||
** 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 italic, "_" for underline
|
||||
** default value: `+green+`
|
||||
|
||||
* [[option_fset.color.type_selected]] *fset.color.type_selected*
|
||||
** description: pass:none[color for type on the selected line]
|
||||
** 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 italic, "_" for underline
|
||||
** default value: `+lightgreen+`
|
||||
|
||||
* [[option_fset.color.unmarked]] *fset.color.unmarked*
|
||||
** description: pass:none[color for mark indicator when the option is not marked]
|
||||
** 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 italic, "_" for underline
|
||||
** default value: `+default+`
|
||||
|
||||
* [[option_fset.color.unmarked_selected]] *fset.color.unmarked_selected*
|
||||
** description: pass:none[color for mark indicator when the option is not marked on the selected line]
|
||||
** 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 italic, "_" for underline
|
||||
** default value: `+white+`
|
||||
|
||||
* [[option_fset.color.value]] *fset.color.value*
|
||||
** description: pass:none[color for value]
|
||||
** 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 italic, "_" for underline
|
||||
** default value: `+cyan+`
|
||||
|
||||
* [[option_fset.color.value_changed]] *fset.color.value_changed*
|
||||
** description: pass:none[color for value changed (different from default)]
|
||||
** 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 italic, "_" for underline
|
||||
** default value: `+brown+`
|
||||
|
||||
* [[option_fset.color.value_changed_selected]] *fset.color.value_changed_selected*
|
||||
** description: pass:none[color for value changed (different from default) on the selected line]
|
||||
** 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 italic, "_" for underline
|
||||
** default value: `+yellow+`
|
||||
|
||||
* [[option_fset.color.value_selected]] *fset.color.value_selected*
|
||||
** description: pass:none[color for value on the selected line]
|
||||
** 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 italic, "_" for underline
|
||||
** default value: `+lightcyan+`
|
||||
|
||||
* [[option_fset.color.value_undef]] *fset.color.value_undef*
|
||||
** description: pass:none[color for undefined value]
|
||||
** 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 italic, "_" for underline
|
||||
** default value: `+magenta+`
|
||||
|
||||
* [[option_fset.color.value_undef_selected]] *fset.color.value_undef_selected*
|
||||
** description: pass:none[color for undefined value on the selected line]
|
||||
** 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 italic, "_" for underline
|
||||
** default value: `+lightmagenta+`
|
||||
|
||||
* [[option_fset.format.export_help]] *fset.format.export_help*
|
||||
** description: pass:none[format of help line written before each option exported in a file (note: content is evaluated, see /help fset)]
|
||||
** type: string
|
||||
** values: any string
|
||||
** default value: `+"# ${description2}"+`
|
||||
|
||||
* [[option_fset.format.export_option]] *fset.format.export_option*
|
||||
** description: pass:none[format of each option exported in a file (note: content is evaluated, see /help fset)]
|
||||
** type: string
|
||||
** values: any string
|
||||
** default value: `+"/set ${name} ${quoted_value}"+`
|
||||
|
||||
* [[option_fset.format.export_option_null]] *fset.format.export_option_null*
|
||||
** description: pass:none[format of each option with "null" value exported in a file (note: content is evaluated, see /help fset)]
|
||||
** type: string
|
||||
** values: any string
|
||||
** default value: `+"/unset ${name}"+`
|
||||
|
||||
* [[option_fset.format.option1]] *fset.format.option1*
|
||||
** description: pass:none[first format of each line with an option which is not marked nor the selected one (note: content is evaluated, see /help fset); an empty string uses the default format ("${marked} ${name} ${type} ${value2}"), which is without evaluation of string and then much faster; formats can be switched with key ctrl+X]
|
||||
** type: string
|
||||
** values: any string
|
||||
** default value: `+""+`
|
||||
|
||||
* [[option_fset.format.option2]] *fset.format.option2*
|
||||
** description: pass:none[second format of each line with an option which is not marked not the selected one (note: content is evaluated, see /help fset); an empty string uses the default format ("${marked} ${name} ${type} ${value2}"), which is without evaluation of string and then much faster; formats can be switched with key ctrl+X]
|
||||
** type: string
|
||||
** values: any string
|
||||
** default value: `+"${marked} ${name} ${type} ${value2}${newline} ${empty_name} ${_default_value}${color:darkgray} -- ${min}..${max}${newline} ${empty_name} ${description}"+`
|
||||
|
||||
* [[option_fset.look.auto_unmark]] *fset.look.auto_unmark*
|
||||
** description: pass:none[automatically unmark all options after an action on marked options or after a refresh]
|
||||
** type: boolean
|
||||
** values: on, off
|
||||
** default value: `+off+`
|
||||
|
||||
* [[option_fset.look.condition_catch_set]] *fset.look.condition_catch_set*
|
||||
** description: pass:none[condition to catch /set command and display results in the fset buffer; following variables can be used: ${name} (name of option given for the /set command), ${count} (number of options found with the /set argument); an empty string disables the catch of /set command; with value "1", the fset buffer is always used with /set command]
|
||||
** type: string
|
||||
** values: any string
|
||||
** default value: `+"${count} >= 1"+`
|
||||
|
||||
* [[option_fset.look.export_help_default]] *fset.look.export_help_default*
|
||||
** description: pass:none[write help for each option exported by default (this can be overridden with arguments "-help" and "-nohelp" for command /fset -export)]
|
||||
** type: boolean
|
||||
** values: on, off
|
||||
** default value: `+on+`
|
||||
|
||||
* [[option_fset.look.format_number]] *fset.look.format_number*
|
||||
** description: pass:none[number of format used to display options; this is dynamically changed by the key ctrl-X on the fset buffer]
|
||||
** type: integer
|
||||
** values: 1 .. 2
|
||||
** default value: `+1+`
|
||||
|
||||
* [[option_fset.look.marked_string]] *fset.look.marked_string*
|
||||
** description: pass:none[string displayed when an option is marked (to do an action on multiple options)]
|
||||
** type: string
|
||||
** values: any string
|
||||
** default value: `+"*"+`
|
||||
|
||||
* [[option_fset.look.scroll_horizontal]] *fset.look.scroll_horizontal*
|
||||
** description: pass:none[left/right scroll in fset buffer (percent of width)]
|
||||
** type: integer
|
||||
** values: 1 .. 100
|
||||
** default value: `+10+`
|
||||
|
||||
* [[option_fset.look.show_plugins_desc]] *fset.look.show_plugins_desc*
|
||||
** description: pass:none[show the plugin description options (plugins.desc.*)]
|
||||
** type: boolean
|
||||
** values: on, off
|
||||
** default value: `+off+`
|
||||
|
||||
* [[option_fset.look.sort]] *fset.look.sort*
|
||||
** description: pass:none[comma-separated list of fields to sort options (see /help fset for a list of fields); char "-" can be used before field to reverse order, char "~" can be used to do a case insensitive comparison; example: "-~name" for case insensitive and reverse sort on option name]
|
||||
** type: string
|
||||
** values: any string
|
||||
** default value: `+"~name"+`
|
||||
|
||||
* [[option_fset.look.unmarked_string]] *fset.look.unmarked_string*
|
||||
** description: pass:none[string displayed when an option is not marked]
|
||||
** type: string
|
||||
** values: any string
|
||||
** default value: `+" "+`
|
||||
|
||||
* [[option_fset.look.use_color_value]] *fset.look.use_color_value*
|
||||
** description: pass:none[use the color to display value of color options]
|
||||
** type: boolean
|
||||
** values: on, off
|
||||
** default value: `+off+`
|
||||
|
||||
* [[option_fset.look.use_keys]] *fset.look.use_keys*
|
||||
** description: pass:none[use keys alt+X in fset buffer to do actions on options; if disabled, only the input is allowed]
|
||||
** type: boolean
|
||||
** values: on, off
|
||||
** default value: `+on+`
|
||||
|
||||
* [[option_fset.look.use_mute]] *fset.look.use_mute*
|
||||
** description: pass:none[use /mute command to set options]
|
||||
** type: boolean
|
||||
** values: on, off
|
||||
** default value: `+off+`
|
||||
@@ -309,7 +309,7 @@
|
||||
** default value: `+auto+`
|
||||
|
||||
* [[option_irc.look.notice_welcome_redirect]] *irc.look.notice_welcome_redirect*
|
||||
** description: pass:none[automatically redirect channel welcome notices to the channel buffer; such notices have the nick as target but a channel name in beginning of notice message, for example the ENTRYMSG notices sent by Atheme IRC Services which look like: "[#channel\] Welcome to this channel..."]
|
||||
** description: pass:none[automatically redirect channel welcome notices to the channel buffer; such notices have the nick as target but a channel name in beginning of notice message, for example notices sent by freenode server which look like: "[#channel\] Welcome to this channel..."]
|
||||
** type: boolean
|
||||
** values: on, off
|
||||
** default value: `+on+`
|
||||
|
||||
@@ -1,25 +0,0 @@
|
||||
//
|
||||
// This file is auto-generated by script docgen.py.
|
||||
// DO NOT EDIT BY HAND!
|
||||
//
|
||||
[[command_php_php]]
|
||||
* `+php+`: list/load/unload scripts
|
||||
|
||||
----
|
||||
/php list|listfull [<name>]
|
||||
load [-q] <filename>
|
||||
autoload
|
||||
reload|unload [-q] [<name>]
|
||||
|
||||
list: list loaded scripts
|
||||
listfull: list loaded scripts (verbose)
|
||||
load: load a script
|
||||
autoload: load all scripts in "autoload" directory
|
||||
reload: reload a script (if no name given, unload all scripts, then load all scripts in "autoload" directory)
|
||||
unload: unload a script (if no name given, unload all scripts)
|
||||
filename: script (file) to load
|
||||
name: a script name (name used in call to "register" function)
|
||||
-q: quiet mode: do not display messages
|
||||
|
||||
Without argument, this command lists all loaded scripts.
|
||||
----
|
||||
@@ -72,8 +72,8 @@ Mouse actions on script buffer:
|
||||
|
||||
Examples:
|
||||
/script search url
|
||||
/script install go.py urlserver.py
|
||||
/script remove go.py
|
||||
/script install iset.pl buffers.pl
|
||||
/script remove iset.pl
|
||||
/script hold urlserver.py
|
||||
/script reload urlserver
|
||||
/script upgrade
|
||||
|
||||
@@ -225,7 +225,7 @@
|
||||
** default value: `+30+`
|
||||
|
||||
* [[option_script.scripts.hold]] *script.scripts.hold*
|
||||
** description: pass:none[scripts to "hold": comma-separated list of scripts which will never been upgraded and can not be removed, for example: "go.py,urlserver.py"]
|
||||
** description: pass:none[scripts to "hold": comma-separated list of scripts which will never been upgraded and can not be removed, for example: "buffers.pl,iset.pl"]
|
||||
** type: string
|
||||
** values: any string
|
||||
** default value: `+""+`
|
||||
|
||||
@@ -40,7 +40,7 @@ listdefault: list default triggers
|
||||
focus: name(s) of area (required)
|
||||
conditions: evaluated conditions for the trigger
|
||||
regex: one or more regular expressions to replace strings in variables
|
||||
command: command to execute (many commands can be separated by ";")
|
||||
command: command to execute (many commands can be separated by ";"
|
||||
return_code: return code in callback (ok (default), ok_eat, error)
|
||||
post_action: action to take after execution (none (default), disable, delete)
|
||||
addinput: set input with default arguments to create a trigger
|
||||
|
||||
@@ -81,7 +81,7 @@ Examples:
|
||||
close [<n1>[-<n2>]|<name>]
|
||||
notify <level>
|
||||
localvar
|
||||
set <property> [<value>]
|
||||
set <property> <value>
|
||||
get <property>
|
||||
<number>|-|+|<name>
|
||||
|
||||
@@ -278,11 +278,8 @@ expression: expression to evaluate, variables with format ${variable} are replac
|
||||
!* is NOT matching mask (wildcard "*" is allowed)
|
||||
|
||||
An expression is considered as "true" if it is not NULL, not empty, and different from "0".
|
||||
The comparison is made using floating point numbers if the two expressions are valid numbers, with one of the following formats:
|
||||
- integer (examples: 5, -7)
|
||||
- floating point number (examples: 5.2, -7.5, 2.83e-2)
|
||||
- hexadecimal number (examples: 0xA3, -0xA3)
|
||||
To force a string comparison, you can add double quotes around each expression, for example:
|
||||
The comparison is made using integers if the two expressions are valid integers.
|
||||
To force a string comparison, add double quotes around each expression, for example:
|
||||
50 > 100 ==> 0
|
||||
"50" > "100" ==> 1
|
||||
|
||||
@@ -521,7 +518,7 @@ When binding a command to a key, it is recommended to use key alt+k (or Esc then
|
||||
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): chat area for buffer with name "xxx" (full name including plugin)
|
||||
chat(xxx): char area for buffer with name "xxx" (full name including plugin)
|
||||
bar(*): any bar
|
||||
bar(xxx): bar "xxx"
|
||||
item(*): any bar item
|
||||
@@ -817,7 +814,7 @@ Examples:
|
||||
diff [<option> [<option>...]]
|
||||
env [<variable> [<value>]]
|
||||
|
||||
option: name of an option (wildcard "*" is allowed to list options, if no value is specified)
|
||||
option: name of an option (wildcard "*" is allowed)
|
||||
value: new value for option, according to type:
|
||||
boolean: on, off or toggle
|
||||
integer: number, ++number or --number
|
||||
|
||||
@@ -951,7 +951,7 @@
|
||||
** default value: `+10+`
|
||||
|
||||
* [[option_weechat.look.paste_max_lines]] *weechat.look.paste_max_lines*
|
||||
** description: pass:none[max number of lines for paste without asking user (-1 = disable this feature); this option is used only if the bar item "input_paste" is used in at least one bar (by default it is used in "input" bar)]
|
||||
** description: pass:none[max number of lines for paste without asking user (-1 = disable this feature)]
|
||||
** type: integer
|
||||
** values: -1 .. 2147483647
|
||||
** default value: `+1+`
|
||||
@@ -1094,12 +1094,6 @@
|
||||
** values: on, off
|
||||
** default value: `+on+`
|
||||
|
||||
* [[option_weechat.look.save_config_with_fsync]] *weechat.look.save_config_with_fsync*
|
||||
** description: pass:none[use fsync to synchronize the configuration file with the storage device (see man fsync); this is slower but should prevent any data loss in case of power failure during the save of configuration file]
|
||||
** type: boolean
|
||||
** values: on, off
|
||||
** default value: `+off+`
|
||||
|
||||
* [[option_weechat.look.save_layout_on_exit]] *weechat.look.save_layout_on_exit*
|
||||
** description: pass:none[save layout on exit (buffers, windows, or both)]
|
||||
** type: integer
|
||||
|
||||
@@ -76,9 +76,6 @@ $HOME/.weechat/exec.conf::
|
||||
$HOME/.weechat/fifo.conf::
|
||||
configuration file for _fifo_ plugin
|
||||
|
||||
$HOME/.weechat/fset.conf::
|
||||
configuration file for _fset_ plugin
|
||||
|
||||
$HOME/.weechat/irc.conf::
|
||||
configuration file for _irc_ plugin
|
||||
|
||||
|
||||
+14
-37
@@ -72,14 +72,12 @@ The main WeeChat directories are:
|
||||
| charset/ | Charset plugin.
|
||||
| exec/ | Exec plugin.
|
||||
| fifo/ | Fifo plugin (FIFO pipe used to remotely send commands to WeeChat).
|
||||
| fset/ | Fset (Fast Set) plugin.
|
||||
| guile/ | Guile (scheme) scripting API.
|
||||
| irc/ | IRC (Internet Relay Chat) plugin.
|
||||
| javascript/ | JavaScript scripting API.
|
||||
| javascript/ | Javascript scripting API.
|
||||
| logger/ | Logger plugin (write messages displayed to files).
|
||||
| lua/ | Lua scripting API.
|
||||
| perl/ | Perl scripting API.
|
||||
| php/ | PHP scripting API.
|
||||
| python/ | Python scripting API.
|
||||
| relay/ | Relay plugin (irc proxy + relay for remote interfaces).
|
||||
| ruby/ | Ruby scripting API.
|
||||
@@ -88,8 +86,6 @@ The main WeeChat directories are:
|
||||
| trigger/ | Trigger plugin.
|
||||
| xfer/ | Xfer plugin (IRC DCC file/chat).
|
||||
| tests/ | Tests.
|
||||
| scripts/ | Scripting API tests.
|
||||
| python/ | Python scripts to generate and run the scripting API tests.
|
||||
| unit/ | Unit tests.
|
||||
| core/ | Unit tests for core functions.
|
||||
| doc/ | Documentation.
|
||||
@@ -217,16 +213,6 @@ WeeChat "core" is located in following directories:
|
||||
| fifo-command.c | Fifo commands.
|
||||
| fifo-config.c | Fifo config options (file fifo.conf).
|
||||
| fifo-info.c | Fifo info/infolists/hdata.
|
||||
| fset/ | Fset plugin.
|
||||
| fset.c | Main fset functions.
|
||||
| fset-bar-item.c | Fset bar items.
|
||||
| fset-buffer.c | Fset buffer.
|
||||
| fset-command.c | Fset commands.
|
||||
| fset-completion.c | Fset completions.
|
||||
| fset-config.c | Fset config options (file fset.conf).
|
||||
| fset-info.c | Fset info/infolists/hdata.
|
||||
| fset-mouse.c | Fset mouse actions.
|
||||
| fset-option.c | Fset options management.
|
||||
| guile/ | Guile (scheme) plugin.
|
||||
| weechat-guile.c | Main guile functions (load/unload scripts, execute guile code).
|
||||
| weechat-guile-api.c | Guile scripting API functions.
|
||||
@@ -255,10 +241,10 @@ WeeChat "core" is located in following directories:
|
||||
| irc-sasl.c | SASL authentication with IRC server.
|
||||
| irc-server.c | I/O communication with IRC server.
|
||||
| irc-upgrade.c | Save/restore of IRC data when upgrading WeeChat.
|
||||
| javascript/ | JavaScript plugin.
|
||||
| weechat-js.cpp | Main JavaScript functions (load/unload scripts, execute JavaScript code).
|
||||
| weechat-js-api.cpp | JavaScript scripting API functions.
|
||||
| weechat-js-v8.cpp | JavaScript v8 functions.
|
||||
| javascript/ | Javascript plugin.
|
||||
| weechat-js.cpp | Main javascript functions (load/unload scripts, execute javascript code).
|
||||
| weechat-js-api.cpp | Javascript scripting API functions.
|
||||
| weechat-js-v8.cpp | Javascript v8 functions.
|
||||
| logger/ | Logger plugin.
|
||||
| logger.c | Main logger functions.
|
||||
| logger-buffer.c | Logger buffer list management.
|
||||
@@ -271,9 +257,6 @@ WeeChat "core" is located in following directories:
|
||||
| perl/ | Perl plugin.
|
||||
| weechat-perl.c | Main perl functions (load/unload scripts, execute perl code).
|
||||
| weechat-perl-api.c | Perl scripting API functions.
|
||||
| php/ | PHP plugin.
|
||||
| weechat-php.c | Main PHP functions (load/unload scripts, execute PHP code).
|
||||
| weechat-php-api.c | PHP scripting API functions.
|
||||
| python/ | Python plugin.
|
||||
| weechat-python.c | Main python functions (load/unload scripts, execute python code).
|
||||
| weechat-python-api.c | Python scripting API functions.
|
||||
@@ -341,13 +324,7 @@ WeeChat "core" is located in following directories:
|
||||
|===
|
||||
| Path/file | Description
|
||||
| tests/ | Root of tests.
|
||||
| tests.cpp | Program used to run all tests.
|
||||
| scripts/ | Root of scripting API tests.
|
||||
| test-scripts.cpp | Program used to run the scripting API tests.
|
||||
| python/ | Python scripts to generate and run the scripting API tests.
|
||||
| testapigen.py | Python script generating scripts in all languages to test the scripting API.
|
||||
| testapi.py | Python script with scripting API tests, used by script testapigen.py.
|
||||
| unparse.py | Convert Python code to other languages, used by script testapigen.py.
|
||||
| tests.cpp | Program used to run tests.
|
||||
| unit/ | Root of unit tests.
|
||||
| core/ | Root of unit tests for core.
|
||||
| test-arraylist.cpp | Tests: arraylists.
|
||||
@@ -376,14 +353,14 @@ Documentation files:
|
||||
| XX/ | Documentation for language XX (languages: en, fr, de, it, ...).
|
||||
| cmdline_options.XX.adoc | Command-line options (file included in man page and user's guide).
|
||||
| weechat.1.XX.adoc | Man page (`man weechat`).
|
||||
| weechat_dev.XX.adoc | link:weechat_dev.en.html[Developer's guide] (this document).
|
||||
| weechat_faq.XX.adoc | link:weechat_faq.en.html[FAQ].
|
||||
| weechat_plugin_api.XX.adoc | link:weechat_plugin_api.en.html[Plugin API reference].
|
||||
| weechat_quickstart.XX.adoc | link:weechat_quickstart.en.html[Quickstart guide].
|
||||
| weechat_relay_protocol.XX.adoc | link:weechat_relay_protocol.en.html[Relay protocol] (for remote interfaces).
|
||||
| weechat_scripting.XX.adoc | link:weechat_scripting.en.html[Scripting guide].
|
||||
| weechat_tester.XX.adoc | link:weechat_tester.en.html[Tester's guide].
|
||||
| weechat_user.XX.adoc | link:weechat_user.en.html[User's guide].
|
||||
| weechat_dev.XX.adoc | Developer's guide (this document).
|
||||
| weechat_faq.XX.adoc | FAQ.
|
||||
| weechat_plugin_api.XX.adoc | Plugin API reference.
|
||||
| weechat_quickstart.XX.adoc | Quickstart guide.
|
||||
| weechat_relay_protocol.XX.adoc | Relay protocol (for remote interfaces).
|
||||
| weechat_scripting.XX.adoc | Scripting guide.
|
||||
| weechat_tester.XX.adoc | Tester's guide.
|
||||
| weechat_user.XX.adoc | User's guide.
|
||||
| autogen/ | Files auto-built with script docgen.py.
|
||||
| user/ | Files auto-built for user's guide (do *NEVER* update manually!).
|
||||
| plugin_api/ | Files auto-built for plugin API (do *NEVER* update manually!).
|
||||
|
||||
+21
-82
@@ -2,10 +2,8 @@
|
||||
:author: Sébastien Helleu
|
||||
:email: flashcode@flashtux.org
|
||||
:lang: en
|
||||
:toc: left
|
||||
:toclevels: 2
|
||||
:toc: macro
|
||||
:sectnums:
|
||||
:sectnumlevels: 2
|
||||
:docinfo1:
|
||||
|
||||
|
||||
@@ -77,8 +75,8 @@ brew install weechat --with-aspell --with-curl --with-python --with-perl --with-
|
||||
For help you can type `/help`. For help about a command, type `/help command`.
|
||||
Keys and commands are listed in documentation.
|
||||
|
||||
It's recommended for new users to read the
|
||||
link:weechat_quickstart.en.html[Quickstart guide].
|
||||
It's recommended for new users to read the quickstart guide:
|
||||
https://weechat.org/doc
|
||||
|
||||
[[display]]
|
||||
== Display
|
||||
@@ -94,9 +92,7 @@ It's common issue, please read carefully and check *ALL* solutions below:
|
||||
not, then you probably need the "weechat-plugins" package).
|
||||
* Check the output of command `/charset` (on core buffer). You should see
|
||||
_ISO-XXXXXX_ or _UTF-8_ for terminal charset. If you see _ANSI_X3.4-1968_ or
|
||||
other values, your locale is probably wrong. +
|
||||
To fix your locale, check the installed locales with `locale -a` and set
|
||||
an appropriate value in $LANG, for example: `export LANG=en_US.UTF-8`.
|
||||
other values, your locale is probably wrong (fix your $LANG).
|
||||
* Setup global decode value, for example:
|
||||
`/set charset.default.decode "ISO-8859-15"`.
|
||||
* If you are using UTF-8 locale:
|
||||
@@ -176,35 +172,28 @@ window) or displayed by one or more windows.
|
||||
[[buffers_list]]
|
||||
=== How to display the buffers list on the left side?
|
||||
|
||||
With WeeChat ≥ 1.8, the plugin "buflist" is loaded and enabled by default.
|
||||
|
||||
With an older version, you can install script _buffers.pl_:
|
||||
Use script _buffers.pl_:
|
||||
|
||||
----
|
||||
/script install buffers.pl
|
||||
----
|
||||
|
||||
To limit size of bar (replace "buflist" by "buffers" if you're using the script
|
||||
_buffers.pl_):
|
||||
To limit size of bar:
|
||||
|
||||
----
|
||||
/set weechat.bar.buflist.size_max 15
|
||||
/set weechat.bar.buffers.size_max 15
|
||||
----
|
||||
|
||||
To move bar to bottom:
|
||||
|
||||
----
|
||||
/set weechat.bar.buflist.position bottom
|
||||
/set weechat.bar.buffers.position bottom
|
||||
----
|
||||
|
||||
To scroll the bar: if mouse is enabled (key: kbd:[Alt+m]), you can scroll the
|
||||
bar with your mouse wheel.
|
||||
|
||||
Default keys to scroll _buflist_ bar are kbd:[F1], kbd:[F2], kbd:[Alt+F1]
|
||||
and kbd:[Alt+F2].
|
||||
|
||||
For script _buffers.pl_, you can define keys, similar to the existing keys to
|
||||
scroll nicklist. +
|
||||
Or you can define keys, similar to the existing keys to scroll nicklist.
|
||||
For example to use kbd:[F1], kbd:[F2], kbd:[Alt+F1] and kbd:[Alt+F2]:
|
||||
|
||||
----
|
||||
@@ -234,7 +223,7 @@ To remove nick alignment:
|
||||
----
|
||||
|
||||
[[status_hotlist]]
|
||||
=== What does the [H: 3(1,8), 2(4)] in status bar mean?
|
||||
=== What does mean the [H: 3(1,8), 2(4)] in status bar?
|
||||
|
||||
This is called the "hotlist", a list of buffers with the number of unread
|
||||
messages, by order: highlights, private messages, messages, other messages
|
||||
@@ -259,8 +248,7 @@ These colors can be changed with the options __weechat.color.status_data_*__
|
||||
(buffers) and __weechat.color.status_count_*__ (counters). +
|
||||
Other hotlist options can be changed with the options __weechat.look.hotlist_*__.
|
||||
|
||||
See link:weechat_user.en.html#screen_layout[User's guide / Screen layout] for
|
||||
more info about the hotlist.
|
||||
See user's guide for more info about the hotlist (screen layout).
|
||||
|
||||
[[input_bar_size]]
|
||||
=== How to use command line with more than one line?
|
||||
@@ -322,23 +310,13 @@ Another solution is to move nicklist to top or bottom, for example:
|
||||
|
||||
With WeeChat ≥ 1.0, you can use the bare display (default key: kbd:[Alt+l]).
|
||||
|
||||
To make opening URLs easier, you can:
|
||||
|
||||
* move nicklist to top:
|
||||
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:
|
||||
|
||||
----
|
||||
/set weechat.bar.nicklist.position top
|
||||
----
|
||||
|
||||
* disable alignment for multiline words (WeeChat ≥ 1.7):
|
||||
|
||||
----
|
||||
/set weechat.look.align_multiline_words off
|
||||
----
|
||||
|
||||
* or for all wrapped lines:
|
||||
|
||||
----
|
||||
/set weechat.look.prefix_align none
|
||||
/set weechat.look.align_end_of_lines time
|
||||
----
|
||||
|
||||
@@ -413,8 +391,7 @@ 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
|
||||
can add color aliases with command `/color`).
|
||||
|
||||
Please read the link:weechat_user.en.html#colors[User's guide / Colors] for more
|
||||
information about colors management.
|
||||
Please read user's guide for more information about colors management.
|
||||
|
||||
[[search_text]]
|
||||
=== How can I search text in buffer (like /lastlog in irssi)?
|
||||
@@ -422,8 +399,7 @@ information about colors management.
|
||||
The default key is kbd:[Ctrl+r] (command is: `/input search_text_here`).
|
||||
And jump to highlights: kbd:[Alt+p] / kbd:[Alt+n].
|
||||
|
||||
See link:weechat_user.en.html#key_bindings[User's guide / Key bindings] for more
|
||||
info about this feature.
|
||||
See user's guide for more info about this feature (default key bindings).
|
||||
|
||||
[[terminal_focus]]
|
||||
=== How can I execute commands when terminal gets/loses focus?
|
||||
@@ -500,8 +476,7 @@ You can bind a key, for example:
|
||||
/key bind meta-q /buffer *11
|
||||
----
|
||||
|
||||
List of default keys is in
|
||||
link:weechat_user.en.html#key_bindings[User's guide / Key bindings].
|
||||
List of default keys is in User's guide.
|
||||
|
||||
[[global_history]]
|
||||
=== How to use global history (instead of buffer history) with up and down keys?
|
||||
@@ -711,7 +686,7 @@ For help: `/help filter` and `/help irc.look.smart_filter`
|
||||
[[filter_irc_join_channel_messages]]
|
||||
=== How can I filter some messages displayed when I join an IRC channel?
|
||||
|
||||
With WeeChat ≥ 0.4.1, you can choose which messages are displayed when
|
||||
With WeeChat ≥ 0.4.1, you can choose which messages are displayed or not when
|
||||
joining a channel with the option _irc.look.display_join_message_ (see
|
||||
`/help irc.look.display_join_message` for more info).
|
||||
|
||||
@@ -828,41 +803,6 @@ You can use the command `/script` to install and manage scripts
|
||||
|
||||
Scripts are not compatible with other IRC clients.
|
||||
|
||||
[[scripts_update]]
|
||||
=== The command "/script update" can not read scripts, how to fix that?
|
||||
|
||||
First check questions about SSL connection in this FAQ
|
||||
(especially the option _weechat.network.gnutls_ca_file_).
|
||||
|
||||
If still not working, try to manually delete the scripts file (in your shell):
|
||||
|
||||
----
|
||||
$ rm ~/.weechat/script/plugins.xml.gz
|
||||
----
|
||||
|
||||
And update scripts again in WeeChat:
|
||||
|
||||
----
|
||||
/script update
|
||||
----
|
||||
|
||||
If you still have an error, then you must remove the automatic update of file
|
||||
in WeeChat and download the file manually outside WeeChat (that means you'll
|
||||
have to update manually the file yourself to get updates):
|
||||
|
||||
* in WeeChat:
|
||||
|
||||
----
|
||||
/set script.scripts.cache_expire -1
|
||||
----
|
||||
|
||||
* in your shell, with curl installed:
|
||||
|
||||
----
|
||||
$ cd ~/.weechat/script
|
||||
$ curl -O https://weechat.org/files/plugins.xml.gz
|
||||
----
|
||||
|
||||
[[settings]]
|
||||
== Settings
|
||||
|
||||
@@ -873,8 +813,7 @@ You can, but this is *NOT* recommended.
|
||||
|
||||
Command `/set` in WeeChat is recommended:
|
||||
|
||||
* You can complete the name and value of option with kbd:[Tab] key
|
||||
(or kbd:[Shift+Tab] for partial completion, useful for the name).
|
||||
* You can complete value with the Tab key.
|
||||
* The value is checked, a message is displayed in case of error.
|
||||
* The value is used immediately, you don't need to restart anything.
|
||||
|
||||
@@ -893,7 +832,7 @@ You can try following tips to consume less memory:
|
||||
* Use the latest stable version (it is supposed to have less memory leaks than
|
||||
older versions).
|
||||
* Do not load some plugins if you don't use them, for example: aspell, buflist,
|
||||
fifo, logger, perl, python, ruby, lua, tcl, guile, javascript, php,
|
||||
fifo, logger, perl, python, ruby, lua, tcl, guile, javascript,
|
||||
xfer (used for DCC).
|
||||
* Load only scripts that you really need.
|
||||
* Do not load certificates if SSL is *NOT* used: set empty string in option
|
||||
|
||||
+105
-197
@@ -41,15 +41,6 @@ The plugin has to include "weechat-plugin.h" file (available in WeeChat source
|
||||
code).
|
||||
This file defines structures and types used to communicate with WeeChat.
|
||||
|
||||
In order to call WeeChat functions in the format displayed in <<plugin_api>>,
|
||||
the following global pointer must be declared and initialized in the function
|
||||
<<_weechat_plugin_init,weechat_plugin_init>>:
|
||||
|
||||
[source,C]
|
||||
----
|
||||
struct t_weechat_plugin *weechat_plugin;
|
||||
----
|
||||
|
||||
[[macros]]
|
||||
=== Macros
|
||||
|
||||
@@ -92,8 +83,7 @@ int weechat_plugin_init (struct t_weechat_plugin *plugin,
|
||||
|
||||
Arguments:
|
||||
|
||||
* _plugin_: pointer to WeeChat plugin structure, used to initialize the
|
||||
convenience global pointer `weechat_plugin`
|
||||
* _plugin_: pointer to WeeChat plugin structure
|
||||
* _argc_: number of arguments for plugin (given on command line by user)
|
||||
* _argv_: arguments for plugin
|
||||
|
||||
@@ -428,7 +418,7 @@ Arguments:
|
||||
|
||||
Return value:
|
||||
|
||||
* translated string or _string_ if there is no translation available in local language
|
||||
* translated string
|
||||
|
||||
C example:
|
||||
|
||||
@@ -470,8 +460,7 @@ Arguments:
|
||||
|
||||
Return value:
|
||||
|
||||
* translated string or _string_ / _plural_ if there is no translation available
|
||||
in local language
|
||||
* translated string
|
||||
|
||||
C example:
|
||||
|
||||
@@ -1966,7 +1955,7 @@ str3 = weechat.string_input_for_buffer("//test") # "/test"
|
||||
|
||||
==== string_eval_expression
|
||||
|
||||
_WeeChat ≥ 0.4.0, updated in 0.4.2, 0.4.3, 1.0, 1.1, 1.2, 1.3, 1.6, 1.8 and 2.0._
|
||||
_WeeChat ≥ 0.4.0, updated in 0.4.2, 0.4.3, 1.0, 1.1, 1.2, 1.3, 1.6 and 1.8._
|
||||
|
||||
Evaluate an expression and return result as a string.
|
||||
Special variables with format `+${variable}+` are expanded (see table below).
|
||||
@@ -1987,8 +1976,7 @@ char *weechat_string_eval_expression (const char *expr,
|
||||
|
||||
Arguments:
|
||||
|
||||
* _expr_: the expression to evaluate (see <<eval_conditions,conditions>> and
|
||||
<<eval_variables,variables>>)
|
||||
* _expr_: the expression to evaluate (see table below)
|
||||
* _pointers_: hashtable with pointers (keys must be string, values must be
|
||||
pointer); pointers "window" and "buffer" are automatically added if they are
|
||||
not in hashtable (with pointer to current window/buffer) (can be NULL):
|
||||
@@ -2020,74 +2008,6 @@ Return value:
|
||||
* evaluated expression (must be freed by calling "free" after use), or NULL
|
||||
if problem (invalid expression or not enough memory)
|
||||
|
||||
C examples:
|
||||
|
||||
[source,C]
|
||||
----
|
||||
/* conditions */
|
||||
struct t_hashtable *options1 = weechat_hashtable_new (8,
|
||||
WEECHAT_HASHTABLE_STRING,
|
||||
WEECHAT_HASHTABLE_STRING,
|
||||
NULL,
|
||||
NULL);
|
||||
weechat_hashtable_set (options1, "type", "condition");
|
||||
char *str1 = weechat_string_eval_expression ("${window.win_width} > 100", NULL, NULL, options1); /* "1" */
|
||||
char *str2 = weechat_string_eval_expression ("abc =~ def", NULL, NULL, options1); /* "0" */
|
||||
|
||||
/* simple expression */
|
||||
char *str3 = weechat_string_eval_expression ("${buffer.full_name}", NULL, NULL, NULL); /* "core.weechat" */
|
||||
|
||||
/* replace with regex */
|
||||
struct t_hashtable *options2 = weechat_hashtable_new (8,
|
||||
WEECHAT_HASHTABLE_STRING,
|
||||
WEECHAT_HASHTABLE_STRING,
|
||||
NULL,
|
||||
NULL);
|
||||
/* add brackets around URLs */
|
||||
weechat_hashtable_set (options2, "regex", "\\w+://\\S+");
|
||||
weechat_hashtable_set (options2, "regex_replace", "[ ${re:0} ]");
|
||||
char *str4 = weechat_string_eval_expression ("test: https://weechat.org", NULL, NULL, NULL); /* "test: [ https://weechat.org ]" */
|
||||
|
||||
/* hide passwords */
|
||||
weechat_hashtable_set (options2, "regex", "(password=)(\\S+)");
|
||||
weechat_hashtable_set (options2, "regex_replace", "${re:1}${hide:*,${re:2}}");
|
||||
char *str5 = weechat_string_eval_expression ("password=abc password=def", NULL, NULL, NULL); /* "password=*** password=***" */
|
||||
----
|
||||
|
||||
Script (Python):
|
||||
|
||||
[source,python]
|
||||
----
|
||||
# prototype
|
||||
str = weechat.string_eval_expression(expr, pointers, extra_vars, options)
|
||||
|
||||
# examples
|
||||
|
||||
# conditions
|
||||
str1 = weechat.string_eval_expression("${window.win_width} > 100", {}, {}, {"type": "condition"}) # "1"
|
||||
str2 = weechat.string_eval_expression("abc =~ def", {}, {}, {"type": "condition"}) # "0"
|
||||
|
||||
# simple expression
|
||||
str3 = weechat.string_eval_expression("${buffer.full_name}", {}, {}, {}) # "core.weechat"
|
||||
|
||||
# replace with regex: add brackets around URLs
|
||||
options = {
|
||||
"regex": "\\w+://\\S+",
|
||||
"regex_replace": "[ ${re:0} ]",
|
||||
}
|
||||
str4 = weechat.string_eval_expression("test: https://weechat.org", {}, {}, options) # "test: [ https://weechat.org ]"
|
||||
|
||||
# replace with regex: hide passwords
|
||||
options = {
|
||||
"regex": "(password=)(\\S+)",
|
||||
"regex_replace": "${re:1}${hide:*,${re:2}}",
|
||||
}
|
||||
str5 = weechat.string_eval_expression("password=abc password=def", {}, {}, options) # "password=*** password=***"
|
||||
----
|
||||
|
||||
[[eval_conditions]]
|
||||
===== Conditions
|
||||
|
||||
List of logical operators that can be used in conditions (by order of priority,
|
||||
from first used to last):
|
||||
|
||||
@@ -2206,22 +2126,6 @@ from first used to last):
|
||||
`+1+`
|
||||
|===
|
||||
|
||||
The comparison is made using floating point numbers if the two expressions are
|
||||
valid numbers, with one of the following formats:
|
||||
|
||||
* integer (examples: 5, -7)
|
||||
* floating point number (examples: 5.2, -7.5, 2.83e-2) (_WeeChat ≥ 2.0_)
|
||||
* hexadecimal number (examples: 0xA3, -0xA3) (_WeeChat ≥ 2.0_)
|
||||
|
||||
To force a string comparison, you can add double quotes around each expression,
|
||||
for example:
|
||||
|
||||
* `50 > 100` returns 0 (number comparison)
|
||||
* `"50" > "100"` returns 1 (string comparison)
|
||||
|
||||
[[eval_variables]]
|
||||
===== Variables
|
||||
|
||||
List of variables expanded in expression (by order of priority, from first
|
||||
expanded to last):
|
||||
|
||||
@@ -2311,7 +2215,7 @@ expanded to last):
|
||||
Info from WeeChat or a plugin, see function
|
||||
<<_info_get,info_get>>. |
|
||||
`+${info:version}+` +
|
||||
`+${info:nick_color_name,foo}+` |
|
||||
`+${info:irc_nick_color_name,foo}+` |
|
||||
`+1.0+` +
|
||||
`+lightblue+`
|
||||
|
||||
@@ -2366,6 +2270,71 @@ expanded to last):
|
||||
`+1+`
|
||||
|===
|
||||
|
||||
C examples:
|
||||
|
||||
[source,C]
|
||||
----
|
||||
/* conditions */
|
||||
struct t_hashtable *options1 = weechat_hashtable_new (8,
|
||||
WEECHAT_HASHTABLE_STRING,
|
||||
WEECHAT_HASHTABLE_STRING,
|
||||
NULL,
|
||||
NULL);
|
||||
weechat_hashtable_set (options1, "type", "condition");
|
||||
char *str1 = weechat_string_eval_expression ("${window.win_width} > 100", NULL, NULL, options1); /* "1" */
|
||||
char *str2 = weechat_string_eval_expression ("abc =~ def", NULL, NULL, options1); /* "0" */
|
||||
|
||||
/* simple expression */
|
||||
char *str3 = weechat_string_eval_expression ("${buffer.full_name}", NULL, NULL, NULL); /* "core.weechat" */
|
||||
|
||||
/* replace with regex */
|
||||
struct t_hashtable *options2 = weechat_hashtable_new (8,
|
||||
WEECHAT_HASHTABLE_STRING,
|
||||
WEECHAT_HASHTABLE_STRING,
|
||||
NULL,
|
||||
NULL);
|
||||
/* add brackets around URLs */
|
||||
weechat_hashtable_set (options2, "regex", "\\w+://\\S+");
|
||||
weechat_hashtable_set (options2, "regex_replace", "[ ${re:0} ]");
|
||||
char *str4 = weechat_string_eval_expression ("test: https://weechat.org", NULL, NULL, NULL); /* "test: [ https://weechat.org ]" */
|
||||
|
||||
/* hide passwords */
|
||||
weechat_hashtable_set (options2, "regex", "(password=)(\\S+)");
|
||||
weechat_hashtable_set (options2, "regex_replace", "${re:1}${hide:*,${re:2}}");
|
||||
char *str5 = weechat_string_eval_expression ("password=abc password=def", NULL, NULL, NULL); /* "password=*** password=***" */
|
||||
----
|
||||
|
||||
Script (Python):
|
||||
|
||||
[source,python]
|
||||
----
|
||||
# prototype
|
||||
str = weechat.string_eval_expression(expr, pointers, extra_vars, options)
|
||||
|
||||
# examples
|
||||
|
||||
# conditions
|
||||
str1 = weechat.string_eval_expression("${window.win_width} > 100", {}, {}, {"type": "condition"}) # "1"
|
||||
str2 = weechat.string_eval_expression("abc =~ def", {}, {}, {"type": "condition"}) # "0"
|
||||
|
||||
# simple expression
|
||||
str3 = weechat.string_eval_expression("${buffer.full_name}", {}, {}, {}) # "core.weechat"
|
||||
|
||||
# replace with regex: add brackets around URLs
|
||||
options = {
|
||||
"regex": "\\w+://\\S+",
|
||||
"regex_replace": "[ ${re:0} ]",
|
||||
}
|
||||
str4 = weechat.string_eval_expression("test: https://weechat.org", {}, {}, options) # "test: [ https://weechat.org ]"
|
||||
|
||||
# replace with regex: hide passwords
|
||||
options = {
|
||||
"regex": "(password=)(\\S+)",
|
||||
"regex_replace": "${re:1}${hide:*,${re:2}}",
|
||||
}
|
||||
str5 = weechat.string_eval_expression("password=abc password=def", {}, {}, options) # "password=*** password=***"
|
||||
----
|
||||
|
||||
==== string_dyn_alloc
|
||||
|
||||
_WeeChat ≥ 1.8._
|
||||
@@ -2381,7 +2350,7 @@ Prototype:
|
||||
|
||||
[source,C]
|
||||
----
|
||||
char **weechat_string_dyn_alloc (int size_alloc);
|
||||
char **weechat_dyn_alloc (int size_alloc);
|
||||
----
|
||||
|
||||
Arguments:
|
||||
@@ -2396,7 +2365,7 @@ C example:
|
||||
|
||||
[source,C]
|
||||
----
|
||||
char **string = weechat_string_dyn_alloc (256);
|
||||
char **string = weechat_dyn_alloc (256);
|
||||
----
|
||||
|
||||
[NOTE]
|
||||
@@ -2415,7 +2384,7 @@ Prototype:
|
||||
|
||||
[source,C]
|
||||
----
|
||||
int weechat_string_dyn_copy (char **string, const char *new_string);
|
||||
int weechat_dyn_copy (char **string, const char *new_string);
|
||||
----
|
||||
|
||||
Arguments:
|
||||
@@ -2431,8 +2400,8 @@ C example:
|
||||
|
||||
[source,C]
|
||||
----
|
||||
char **string = weechat_string_dyn_alloc (256);
|
||||
if (weechat_string_dyn_copy (string, "test"))
|
||||
char **string = weechat_dyn_alloc (256);
|
||||
if (weechat_dyn_copy (string, "test"))
|
||||
{
|
||||
/* OK */
|
||||
}
|
||||
@@ -2458,7 +2427,7 @@ Prototype:
|
||||
|
||||
[source,C]
|
||||
----
|
||||
int weechat_string_dyn_concat (char **string, const char *add);
|
||||
int weechat_dyn_concat (char **string, const char *add);
|
||||
----
|
||||
|
||||
Arguments:
|
||||
@@ -2474,10 +2443,10 @@ C example:
|
||||
|
||||
[source,C]
|
||||
----
|
||||
char **string = weechat_string_dyn_alloc (256);
|
||||
if (weechat_string_dyn_copy (string, "test"))
|
||||
char **string = weechat_dyn_alloc (256);
|
||||
if (weechat_dyn_copy (string, "test"))
|
||||
{
|
||||
if (weechat_string_dyn_concat (string, "abc"))
|
||||
if (weechat_dyn_concat (string, "abc"))
|
||||
{
|
||||
/* ... */
|
||||
}
|
||||
@@ -2497,7 +2466,7 @@ Prototype:
|
||||
|
||||
[source,C]
|
||||
----
|
||||
char *weechat_string_dyn_free (char **string, int free_string);
|
||||
char *weechat_dyn_free (char **string, int free_string);
|
||||
----
|
||||
|
||||
Arguments:
|
||||
@@ -2514,8 +2483,8 @@ C example:
|
||||
|
||||
[source,C]
|
||||
----
|
||||
char **string = weechat_string_dyn_alloc (256);
|
||||
if (weechat_string_dyn_concat (string, "test"))
|
||||
char **string = weechat_dyn_alloc (256);
|
||||
if (weechat_dyn_concat (string, "test"))
|
||||
{
|
||||
/* OK */
|
||||
}
|
||||
@@ -2524,7 +2493,7 @@ else
|
||||
/* error */
|
||||
}
|
||||
/* ... */
|
||||
weechat_string_dyn_free (string, 1);
|
||||
weechat_dyn_free (string, 1);
|
||||
----
|
||||
|
||||
[NOTE]
|
||||
@@ -3202,7 +3171,7 @@ weechat.mkdir_parents("/tmp/my/dir", 0755)
|
||||
|
||||
==== exec_on_files
|
||||
|
||||
_Updated in 1.5, 2.0._
|
||||
_Updated in 1.5._
|
||||
|
||||
Find files in a directory and execute a callback on each file.
|
||||
|
||||
@@ -3211,7 +3180,6 @@ Prototype:
|
||||
[source,C]
|
||||
----
|
||||
void weechat_exec_on_files (const char *directory,
|
||||
int recurse_subdirs,
|
||||
int hidden_files,
|
||||
void (*callback)(void *data,
|
||||
const char *filename),
|
||||
@@ -3221,7 +3189,6 @@ void weechat_exec_on_files (const char *directory,
|
||||
Arguments:
|
||||
|
||||
* _directory_: directory for searching files
|
||||
* _recurse_subdirs_: 1 to recurse into sub-directories (_WeeChat ≥ 2.0_)
|
||||
* _hidden_files_: 1 to include hidden files, otherwise 0
|
||||
* _callback_: function called for each file found, arguments:
|
||||
** _void *data_: pointer
|
||||
@@ -3237,7 +3204,7 @@ void callback (void *data, const char *filename)
|
||||
/* ... */
|
||||
}
|
||||
...
|
||||
weechat_exec_on_files ("/tmp", 0, 0, &callback, NULL);
|
||||
weechat_exec_on_files ("/tmp", 0, &callback, NULL);
|
||||
----
|
||||
|
||||
[NOTE]
|
||||
@@ -5608,8 +5575,7 @@ option5 = weechat.config_new_option(config_file, section, "option5", "color",
|
||||
[NOTE]
|
||||
In Ruby, the 3 callbacks + data (6 strings) must be given in an array of 6
|
||||
strings (due to a Ruby limitation of 15 arguments by function), see the
|
||||
link:++weechat_scripting.en.html#_ruby++[WeeChat scripting guide] for more info
|
||||
_(fixed in version 0.4.1)_.
|
||||
_WeeChat Scripting Guide_ for more info _(fixed in version 0.4.1)_.
|
||||
|
||||
==== config_search_option
|
||||
|
||||
@@ -6107,8 +6073,6 @@ Arguments:
|
||||
|
||||
* _option_: option pointer
|
||||
* _property_: property name:
|
||||
** _config_name_: file name
|
||||
** _section_name_: section name
|
||||
** _name_: option name
|
||||
** _parent_name_: name of parent option
|
||||
** _type_: option type, one of:
|
||||
@@ -7354,7 +7318,7 @@ Arguments:
|
||||
** _cursor_: free movement of cursor on screen
|
||||
** _mouse_: keys for mouse events
|
||||
* _keys_: hashtable with key bindings; it can contain following special keys:
|
||||
** _{key_bind_quiet}_: do not display the keys added in _core_ buffer
|
||||
** _{key_bind_quiet}_: do not display the keys added in core buffer
|
||||
_(WeeChat ≥ 1.8)_
|
||||
|
||||
Return value:
|
||||
@@ -7396,7 +7360,7 @@ weechat.key_bind("mouse", keys)
|
||||
|
||||
==== key_unbind
|
||||
|
||||
_WeeChat ≥ 0.3.6, updated in 2.0._
|
||||
_WeeChat ≥ 0.3.6._
|
||||
|
||||
Remove key binding(s).
|
||||
|
||||
@@ -7414,8 +7378,7 @@ Arguments:
|
||||
|
||||
* _context_: context for keys (see <<_key_bind,key_bind>>)
|
||||
* _key_: key to remove or a special value "area:XXX" to remove all keys having
|
||||
_XXX_ as first or second area; if the key starts with "quiet:", the keys
|
||||
removed are not displayed in _core_ buffer (_WeeChat ≥ 2.0_).
|
||||
_XXX_ as first or second area
|
||||
|
||||
Return value:
|
||||
|
||||
@@ -7675,8 +7638,8 @@ Arguments:
|
||||
* _tags_: comma separated list of tags (NULL means no tags)
|
||||
* _message_: message to display
|
||||
|
||||
See the link:weechat_user.en.html#lines_tags[WeeChat user's guide / Lines tags]
|
||||
for a list of commonly used tags in WeeChat.
|
||||
See chapter about line tags in _WeeChat User's guide_ for a list of commonly
|
||||
used tags in WeeChat.
|
||||
|
||||
C example:
|
||||
|
||||
@@ -8308,7 +8271,7 @@ hook = weechat.hook_timer(20 * 1000, 0, 0, "my_timer_cb", "")
|
||||
|
||||
==== hook_fd
|
||||
|
||||
_Updated in 1.3, 1.5, 2.0._
|
||||
_Updated in 1.3, 1.5._
|
||||
|
||||
Hook a file descriptor (file or socket).
|
||||
|
||||
@@ -8351,12 +8314,6 @@ Return value:
|
||||
|
||||
* pointer to new hook, NULL if error occurred
|
||||
|
||||
[IMPORTANT]
|
||||
In scripts, with WeeChat ≥ 2.0, the callback argument _fd_ is an integer
|
||||
(with WeeChat ≤ 1.9, it was a string). +
|
||||
To be compatible with all versions, it is recommended to convert the argument
|
||||
to integer before using it, for example in Python: `int(fd)`.
|
||||
|
||||
C example:
|
||||
|
||||
[source,C]
|
||||
@@ -8648,14 +8605,13 @@ Arguments are the same as function <<_hook_process,hook_process>>, with an extra
|
||||
For a standard command (not beginning with "url:"), following options are
|
||||
available:
|
||||
|
||||
[width="100%",cols="^1,1,1,4",options="header"]
|
||||
[width="100%",cols="^1,1,3",options="header"]
|
||||
|===
|
||||
| Option | Value | Default | Description
|
||||
| Option | Value | Description
|
||||
|
||||
| argN (N ≥ 1) +
|
||||
_(WeeChat ≥ 0.4.0)_ |
|
||||
any string |
|
||||
no arguments |
|
||||
Arguments for command; if no argument is given with these options,
|
||||
the command is automatically split like the shell does (and then command
|
||||
arguments are read in the _command_ argument).
|
||||
@@ -8663,22 +8619,18 @@ available:
|
||||
| stdin +
|
||||
_(WeeChat ≥ 0.4.3)_ |
|
||||
(not used) |
|
||||
no stdin |
|
||||
Create a pipe for writing data on standard input (stdin) of child process
|
||||
(see function <<_hook_set,hook_set>>).
|
||||
|
||||
| buffer_flush +
|
||||
_(WeeChat ≥ 1.0)_ |
|
||||
number of bytes |
|
||||
65536 |
|
||||
Minimum number of bytes to flush stdout/stderr (to send output to callback),
|
||||
between 1 and 65536. With the value 1, the output is sent immediately to the
|
||||
callback.
|
||||
between 1 and 65536 (default); 1 = send any output immediately to the callback.
|
||||
|
||||
| detached +
|
||||
_(WeeChat ≥ 1.0)_ |
|
||||
(not used) |
|
||||
not detached |
|
||||
Run the process in a detached mode: stdout and stderr are redirected to
|
||||
_/dev/null_.
|
||||
|===
|
||||
@@ -8829,7 +8781,7 @@ hook3 = weechat.hook_process_hashtable("sh",
|
||||
|
||||
==== hook_connect
|
||||
|
||||
_Updated in 1.5, 2.0._
|
||||
_Updated in 1.5._
|
||||
|
||||
Hook a connection (background connection to a remote host).
|
||||
|
||||
@@ -8912,12 +8864,6 @@ Return value:
|
||||
|
||||
* pointer to new hook, NULL if error occurred
|
||||
|
||||
[IMPORTANT]
|
||||
In scripts, with WeeChat ≥ 2.0, the callback arguments _status_, _gnutls_rc_
|
||||
and _sock_ are integers (with WeeChat ≤ 1.9, they were strings). +
|
||||
To be compatible with all versions, it is recommended to convert the argument
|
||||
to integer before using it, for example in Python: `int(sock)`.
|
||||
|
||||
C example:
|
||||
|
||||
[source,C]
|
||||
@@ -9312,22 +9258,22 @@ List of signals sent by WeeChat and plugins:
|
||||
| javascript | javascript_script_loaded +
|
||||
_(WeeChat ≥ 1.2)_ |
|
||||
String: path to script. |
|
||||
JavaScript script loaded.
|
||||
Javascript script loaded.
|
||||
|
||||
| javascript | javascript_script_unloaded +
|
||||
_(WeeChat ≥ 1.2)_ |
|
||||
String: path to script. |
|
||||
JavaScript script unloaded.
|
||||
Javascript script unloaded.
|
||||
|
||||
| javascript | javascript_script_installed +
|
||||
_(WeeChat ≥ 1.2)_ |
|
||||
String: comma-separated list of paths to scripts installed. |
|
||||
JavaScript script(s) installed.
|
||||
Javascript script(s) installed.
|
||||
|
||||
| javascript | javascript_script_removed +
|
||||
_(WeeChat ≥ 1.2)_ |
|
||||
String: comma-separated list of scripts removed. |
|
||||
JavaScript script(s) removed.
|
||||
Javascript script(s) removed.
|
||||
|
||||
| logger | logger_start |
|
||||
Pointer: buffer. |
|
||||
@@ -9381,26 +9327,6 @@ List of signals sent by WeeChat and plugins:
|
||||
String: comma-separated list of scripts removed. |
|
||||
Perl script(s) removed.
|
||||
|
||||
| php | php_script_loaded +
|
||||
_(WeeChat ≥ 2.0)_ |
|
||||
String: path to script. |
|
||||
PHP script loaded.
|
||||
|
||||
| php | php_script_unloaded +
|
||||
_(WeeChat ≥ 2.0)_ |
|
||||
String: path to script. |
|
||||
PHP script unloaded.
|
||||
|
||||
| php | php_script_installed +
|
||||
_(WeeChat ≥ 2.0)_ |
|
||||
String: comma-separated list of paths to scripts installed. |
|
||||
PHP script(s) installed.
|
||||
|
||||
| php | php_script_removed +
|
||||
_(WeeChat ≥ 2.0)_ |
|
||||
String: comma-separated list of scripts removed. |
|
||||
PHP script(s) removed.
|
||||
|
||||
| python | python_script_loaded +
|
||||
_(WeeChat ≥ 0.3.9)_ |
|
||||
String: path to script. |
|
||||
@@ -9507,16 +9433,6 @@ List of signals sent by WeeChat and plugins:
|
||||
Pointer: buffer. |
|
||||
Buffer cleared.
|
||||
|
||||
| weechat | buffer_filters_enabled +
|
||||
_(WeeChat ≥ 2.0)_ |
|
||||
Pointer: buffer. |
|
||||
Filters enabled in buffer.
|
||||
|
||||
| weechat | buffer_filters_disabled +
|
||||
_(WeeChat ≥ 2.0)_ |
|
||||
Pointer: buffer. |
|
||||
Filters disabled in buffer.
|
||||
|
||||
| weechat | buffer_hidden |
|
||||
Pointer: buffer. |
|
||||
Buffer hidden.
|
||||
@@ -9955,7 +9871,6 @@ Five signals can be sent to install a script, according to language:
|
||||
* _tcl_script_install_
|
||||
* _guile_script_install_
|
||||
* _javascript_script_install_
|
||||
* _php_script_install_
|
||||
|
||||
The callback will do following actions when receiving signal:
|
||||
|
||||
@@ -9998,7 +9913,6 @@ Five signals can be sent to remove list of scripts, according to language:
|
||||
* _tcl_script_remove_
|
||||
* _guile_script_remove_
|
||||
* _javascript_script_remove_
|
||||
* _php_script_remove_
|
||||
|
||||
For each script in list, the callback will unload then remove script.
|
||||
|
||||
@@ -11856,7 +11770,6 @@ Arguments:
|
||||
** _input_: 1 if input is enabled, otherwise 0
|
||||
** _input_get_unknown_commands_: 1 if unknown commands are sent to input
|
||||
callback, otherwise 0
|
||||
** _input_get_empty_: 1 if empty input is sent to input callback, otherwise 0
|
||||
** _input_size_: input size (in bytes)
|
||||
** _input_length_: input length (number of chars)
|
||||
** _input_pos_: cursor position in buffer input
|
||||
@@ -12155,9 +12068,6 @@ Properties:
|
||||
get unknown commands, for example if user type "/unknowncmd", buffer will
|
||||
receive it (no error about unknown command).
|
||||
|
||||
| input_get_empty | "0" or "1" |
|
||||
"0" to disable empty input on this buffer (default behavior), "1" to get empty input.
|
||||
|
||||
| localvar_set_xxx | any string |
|
||||
Set new value for local variable _xxx_ (variable is created if it does not
|
||||
exist).
|
||||
@@ -13691,8 +13601,7 @@ Arguments:
|
||||
** _active_: bar is displayed in active window only
|
||||
** _inactive_: bar is displayed in inactive windows only
|
||||
** _nicklist_: bar is displayed in windows with nicklist
|
||||
** evaluated expression: see the
|
||||
link:weechat_user.en.html#bar_conditions[WeeChat user's guide / Bar conditions]
|
||||
** evaluated expression: see chapter about bars in _WeeChat User's guide_
|
||||
* _position_: _top_, _bottom_, _left_ or _right_
|
||||
* _filling_top_bottom_:
|
||||
** _horizontal_: items are filled horizontally (space after each item)
|
||||
@@ -14139,8 +14048,8 @@ if (hashtable_in)
|
||||
----
|
||||
|
||||
[NOTE]
|
||||
See the link:weechat_scripting.en.html#irc_message_parse[WeeChat scripting guide / Parse message]
|
||||
for more info about "irc_message_parse" output.
|
||||
See the _WeeChat Scripting Guide_ for more info about "irc_message_parse"
|
||||
output.
|
||||
|
||||
Script (Python):
|
||||
|
||||
@@ -15744,8 +15653,7 @@ Arguments:
|
||||
* _pointer_: pointer to a WeeChat/plugin object
|
||||
* _search_: expression to evaluate, default pointer in expression is the name of
|
||||
hdata (and this pointer changes for each element in list); for help on
|
||||
expression, see the
|
||||
link:weechat_user.en.html#command_weechat_eval[WeeChat user's guide / Command /eval]
|
||||
expression, see command `/eval` in _WeeChat User's guide_
|
||||
* _move_: number of jump(s) to execute after unsuccessful search (negative or
|
||||
positive integer, different from 0)
|
||||
|
||||
|
||||
@@ -80,11 +80,12 @@ a write of the options).
|
||||
|
||||
[IMPORTANT]
|
||||
It is *not recommended* to edit configuration files by hand because WeeChat
|
||||
may write them at any time (for example on `/quit`) and after any change
|
||||
you must run the command `/reload` (with the risk of losing other changes
|
||||
that were not yet saved with `/save`). +
|
||||
You can use the command `/set`, which checks the value and applies immediately
|
||||
the changes.
|
||||
may write them at any time (for example on <<command_weechat_quit,/quit>>)
|
||||
and after any change you must run the command <<command_weechat_reload,/reload>>
|
||||
(with the risk of losing other changes that were not yet saved with
|
||||
<<command_weechat_save,/save>>). +
|
||||
You can use the command <<command_weechat_set,/set>>, which checks the value
|
||||
and applies immediately the changes.
|
||||
|
||||
[[core_vs_plugins]]
|
||||
== Core vs plugins
|
||||
@@ -196,11 +197,6 @@ To auto-join some channels when connecting to server:
|
||||
/set irc.server.freenode.autojoin "#channel1,#channel2"
|
||||
----
|
||||
|
||||
[TIP]
|
||||
You can complete name and value of options with the kbd:[Tab] key
|
||||
and kbd:[Shift+Tab] for a partial completion (useful for long words like
|
||||
the name of option).
|
||||
|
||||
To remove a value of a server option, and use the default value instead,
|
||||
for example to use default nicks (irc.server_default.nicks):
|
||||
|
||||
@@ -366,7 +362,7 @@ download and install scripts from the repository with the `/script` command,
|
||||
for example:
|
||||
|
||||
----
|
||||
/script install go.py
|
||||
/script install iset.pl
|
||||
----
|
||||
|
||||
See `/help script` for more info.
|
||||
|
||||
@@ -67,17 +67,13 @@ _IRC proxy_ (not described in this document).
|
||||
[[commands]]
|
||||
== Commands (client → relay)
|
||||
|
||||
Commands have format:
|
||||
|
||||
----
|
||||
(id) command arguments\n
|
||||
----
|
||||
Commands have format: "(id) command arguments\n".
|
||||
|
||||
Fields are:
|
||||
|
||||
* _id_: optional message identifier that will be sent in answer from _relay_;
|
||||
it must be enclosed in parentheses, and must not start with an underscore
|
||||
(ids starting with underscore are reserved for WeeChat _event_ messages)
|
||||
("_") (ids starting with underscore are reserved for WeeChat _event_ messages)
|
||||
* _command_: a command (see table below)
|
||||
* _arguments_: optional arguments for command (many arguments are separated by
|
||||
spaces).
|
||||
@@ -93,8 +89,8 @@ List of available commands (detail in next chapters):
|
||||
| infolist | Request an _infolist_.
|
||||
| nicklist | Request a _nicklist_.
|
||||
| input | Send data to a buffer (text or command).
|
||||
| sync | Synchronize buffer(s): get updates for buffer(s).
|
||||
| desync | Desynchronize buffer(s): stop updates for buffer(s).
|
||||
| sync | Synchronize buffer(s) (get updates for buffer(s)).
|
||||
| desync | Desynchronize buffer(s) (stop updates for buffer(s)).
|
||||
| quit | Disconnect from _relay_.
|
||||
|===
|
||||
|
||||
@@ -528,7 +524,7 @@ There are two types of identifiers (_id_):
|
||||
|
||||
WeeChat reserved identifiers:
|
||||
|
||||
[width="100%",cols="5m,5,3,4,7",options="header"]
|
||||
[width="100%",cols="5,5,3,4,7",options="header"]
|
||||
|===
|
||||
| Identifier | Received with _sync_ | Data sent |
|
||||
Description | Recommended action in client
|
||||
|
||||
@@ -23,14 +23,13 @@ light, designed for many operating systems.
|
||||
This manual documents way to write scripts for WeeChat, using one of supported
|
||||
script languages:
|
||||
|
||||
* Python
|
||||
* Perl
|
||||
* Ruby
|
||||
* Lua
|
||||
* Tcl
|
||||
* Guile (Scheme)
|
||||
* JavaScript
|
||||
* PHP
|
||||
* python
|
||||
* perl
|
||||
* ruby
|
||||
* lua
|
||||
* tcl
|
||||
* guile (scheme)
|
||||
* javascript
|
||||
|
||||
[NOTE]
|
||||
Almost all examples in this doc are written in Python, but API is the same for
|
||||
@@ -75,7 +74,7 @@ Weechat.config_new_option(config, section, "name", "string", "description of opt
|
||||
|
||||
* Functions are called with `weechat::xxx arg1 arg2 ...`.
|
||||
|
||||
==== Guile (Scheme)
|
||||
==== Guile (scheme)
|
||||
|
||||
* Functions are called with `(weechat:xxx arg1 arg2 ...)`.
|
||||
* Following functions take one list of arguments (instead of many arguments
|
||||
@@ -85,14 +84,10 @@ Weechat.config_new_option(config, section, "name", "string", "description of opt
|
||||
** config_new_option
|
||||
** bar_new
|
||||
|
||||
==== JavaScript
|
||||
==== Javascript
|
||||
|
||||
* Functions are called with `weechat.xxx(arg1, arg2, ...);`.
|
||||
|
||||
==== PHP
|
||||
|
||||
* Functions are called with `weechat_xxx(arg1, arg2, ...);`.
|
||||
|
||||
[[register_function]]
|
||||
=== Register function
|
||||
|
||||
@@ -165,7 +160,7 @@ weechat::register "test_tcl" "FlashCode" "1.0" "GPL3" "Test script" "" ""
|
||||
weechat::print "" "Hello, from tcl script!"
|
||||
----
|
||||
|
||||
* Guile (Scheme):
|
||||
* Guile (scheme):
|
||||
|
||||
[source,lisp]
|
||||
----
|
||||
@@ -173,7 +168,7 @@ weechat::print "" "Hello, from tcl script!"
|
||||
(weechat:print "" "Hello, from scheme script!")
|
||||
----
|
||||
|
||||
* JavaScript:
|
||||
* Javascript:
|
||||
|
||||
[source,javascript]
|
||||
----
|
||||
@@ -181,14 +176,6 @@ weechat.register("test_js", "FlashCode", "1.0", "GPL3", "Test script", "", "");
|
||||
weechat.print("", "Hello, from javascript script!");
|
||||
----
|
||||
|
||||
* PHP:
|
||||
|
||||
[source,php]
|
||||
----
|
||||
weechat_register('test_php', 'FlashCode', '1.0', 'GPL3', 'Test script', '', '');
|
||||
weechat_print('', 'Hello, from PHP script!');
|
||||
----
|
||||
|
||||
[[load_script]]
|
||||
=== Load script
|
||||
|
||||
@@ -202,7 +189,6 @@ It is recommended to use the "script" plugin to load scripts, for example:
|
||||
/script load script.tcl
|
||||
/script load script.scm
|
||||
/script load script.js
|
||||
/script load script.php
|
||||
----
|
||||
|
||||
Each language has also its own command:
|
||||
@@ -215,7 +201,6 @@ Each language has also its own command:
|
||||
/tcl load script.tcl
|
||||
/guile load script.scm
|
||||
/javascript load script.js
|
||||
/php load script.php
|
||||
----
|
||||
|
||||
You can make link in directory _language/autoload_ to autoload script when
|
||||
@@ -236,8 +221,8 @@ directory is automatically created.
|
||||
== Differences with C API
|
||||
|
||||
Script API is almost the same as C plugin API.
|
||||
You can look at link:weechat_plugin_api.en.html[WeeChat plugin API reference]
|
||||
for detail about each function in API: prototype, arguments, return values, examples.
|
||||
You can look at _WeeChat Plugin API Reference_ for detail about each function
|
||||
in API: prototype, arguments, return values, examples.
|
||||
|
||||
It's important to make difference between a _plugin_ and a _script_: a
|
||||
_plugin_ is a binary file compiled and loaded with command `/plugin`, whereas
|
||||
@@ -362,7 +347,7 @@ proc timer_cb { data remaining_calls } {
|
||||
weechat::hook_timer 1000 0 1 timer_cb test
|
||||
----
|
||||
|
||||
* Guile (Scheme):
|
||||
* Guile (scheme):
|
||||
|
||||
[source,lisp]
|
||||
----
|
||||
@@ -374,7 +359,7 @@ weechat::hook_timer 1000 0 1 timer_cb test
|
||||
(weechat:hook_timer 1000 0 1 "timer_cb" "test")
|
||||
----
|
||||
|
||||
* JavaScript:
|
||||
* Javascript:
|
||||
|
||||
[source,javascript]
|
||||
----
|
||||
@@ -386,23 +371,11 @@ function timer_cb(data, remaining_calls) {
|
||||
weechat.hook_timer(1000, 0, 1, "timer_cb", "test");
|
||||
----
|
||||
|
||||
* PHP:
|
||||
|
||||
[source,php]
|
||||
----
|
||||
$timer_cb = function ($data, $remaining_calls) {
|
||||
weechat_print('', 'timer! data=' . $data);
|
||||
return WEECHAT_RC_OK;
|
||||
};
|
||||
|
||||
weechat_hook_timer(1000, 0, 1, $timer_cb, 'test');
|
||||
----
|
||||
|
||||
[[script_api]]
|
||||
== Script API
|
||||
|
||||
For more information about functions in API, please read the
|
||||
link:weechat_plugin_api.en.html[WeeChat plugin API reference].
|
||||
For more information about functions in API, please read
|
||||
_WeeChat Plugin API Reference_.
|
||||
|
||||
[[script_api_functions]]
|
||||
=== Functions
|
||||
@@ -710,8 +683,8 @@ List of constants in script API:
|
||||
== Common tasks
|
||||
|
||||
This chapter shows some common tasks, with examples.
|
||||
Only partial things in API are used here, for full reference, see the
|
||||
link:weechat_plugin_api.en.html[WeeChat plugin API reference].
|
||||
Only partial things in API are used here, for full reference, see
|
||||
_WeeChat Plugin API Reference_.
|
||||
|
||||
[[buffers]]
|
||||
=== Buffers
|
||||
@@ -755,7 +728,8 @@ weechat.prnt(buffer, "message on #weechat channel")
|
||||
----
|
||||
|
||||
[NOTE]
|
||||
Print function is called `prnt` in Python and `print` in other languages.
|
||||
Print function is called `print` in Perl/Ruby/Lua/Tcl/Guile/Javascript and
|
||||
`prnt` in Python.
|
||||
|
||||
[[buffers_send_text]]
|
||||
==== Send text to buffer
|
||||
@@ -971,8 +945,7 @@ weechat.hook_process_hashtable("url:https://weechat.org/files/src/weechat-devel.
|
||||
----
|
||||
|
||||
For more information about URL transfer and available options, see functions
|
||||
`hook_process` and `hook_process_hashtable` in
|
||||
link:weechat_plugin_api.en.html#_hook_process[WeeChat plugin API reference].
|
||||
`hook_process` and `hook_process_hashtable` in _WeeChat Plugin API Reference_.
|
||||
|
||||
[[config_options]]
|
||||
=== Config / options
|
||||
|
||||
+444
-614
File diff suppressed because it is too large
Load Diff
@@ -91,11 +91,12 @@ guardar todos los archivos de configuración.
|
||||
// TRANSLATION MISSING
|
||||
[IMPORTANT]
|
||||
It is *not recommended* to edit configuration files by hand because WeeChat
|
||||
may write them at any time (for example on `/quit`) and after any change
|
||||
you must run the command `/reload` (with the risk of losing other changes
|
||||
that were not yet saved with `/save`). +
|
||||
You can use the command `/set`, which checks the value and applies immediately
|
||||
the changes.
|
||||
may write them at any time (for example on <<command_weechat_quit,/quit>>)
|
||||
and after any change you must run the command <<command_weechat_reload,/reload>>
|
||||
(with the risk of losing other changes that were not yet saved with
|
||||
<<command_weechat_save,/save>>). +
|
||||
You can use the command <<command_weechat_set,/set>>, which checks the value
|
||||
and applies immediately the changes.
|
||||
|
||||
[[core_vs_plugins]]
|
||||
== Núcleo vs Plugins
|
||||
@@ -222,12 +223,6 @@ Para unirse automáticamente a canales cuando el servidor se conecte:
|
||||
/set irc.server.freenode.autojoin "#uncanal,#otrocanal"
|
||||
----
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[TIP]
|
||||
You can complete name and value of options with the kbd:[Tab] key
|
||||
and kbd:[Shift+Tab] for a partial completion (useful for long words like
|
||||
the name of option).
|
||||
|
||||
Para eliminar un valor asignado a una opción de servidor y usar los
|
||||
valores por defecto en su lugar, por ejemplo, usar el nick por defecto
|
||||
(irc.server_default.nicks):
|
||||
@@ -406,7 +401,7 @@ download and install scripts from the repository with the `/script` command,
|
||||
for example:
|
||||
|
||||
----
|
||||
/script install go.py
|
||||
/script install iset.pl
|
||||
----
|
||||
|
||||
// TRANSLATION MISSING
|
||||
|
||||
@@ -16,8 +16,6 @@
|
||||
|
||||
| exec | exec_commands_ids | ids (nombres et noms) des commandes exécutées
|
||||
|
||||
| fset | fset_options | fichiers de configuration, section, options et mots des options
|
||||
|
||||
| guile | guile_script | liste des scripts
|
||||
|
||||
| irc | irc_channel | canal IRC courant
|
||||
@@ -58,8 +56,6 @@
|
||||
|
||||
| perl | perl_script | liste des scripts
|
||||
|
||||
| php | php_script | liste des scripts
|
||||
|
||||
| python | python_script | liste des scripts
|
||||
|
||||
| relay | relay_free_port | premier port libre pour l'extension relay
|
||||
|
||||
@@ -8,27 +8,6 @@
|
||||
|===
|
||||
| Extension | Nom | Description | Listes | Variables
|
||||
|
||||
| fset
|
||||
| [[hdata_fset_option]]<<hdata_fset_option,fset_option>>
|
||||
| options fset
|
||||
| -
|
||||
| _index_ (integer) +
|
||||
_file_ (string) +
|
||||
_section_ (string) +
|
||||
_option_ (string) +
|
||||
_name_ (string) +
|
||||
_parent_name_ (string) +
|
||||
_type_ (integer) +
|
||||
_default_value_ (string) +
|
||||
_value_ (string) +
|
||||
_parent_value_ (string) +
|
||||
_min_ (string) +
|
||||
_max_ (string) +
|
||||
_description_ (string) +
|
||||
_string_values_ (string) +
|
||||
_marked_ (integer) +
|
||||
|
||||
|
||||
| guile
|
||||
| [[hdata_guile_script]]<<hdata_guile_script,guile_script>>
|
||||
| liste des scripts
|
||||
@@ -324,26 +303,6 @@ _prev_script_ (pointer, hdata: "perl_script") +
|
||||
_next_script_ (pointer, hdata: "perl_script") +
|
||||
|
||||
|
||||
| php
|
||||
| [[hdata_php_script]]<<hdata_php_script,php_script>>
|
||||
| liste des scripts
|
||||
| _scripts_ +
|
||||
_last_script_ +
|
||||
|
||||
| _filename_ (string) +
|
||||
_interpreter_ (pointer) +
|
||||
_name_ (string) +
|
||||
_author_ (string) +
|
||||
_version_ (string) +
|
||||
_license_ (string) +
|
||||
_description_ (string) +
|
||||
_shutdown_func_ (string) +
|
||||
_charset_ (string) +
|
||||
_unloading_ (integer) +
|
||||
_prev_script_ (pointer, hdata: "php_script") +
|
||||
_next_script_ (pointer, hdata: "php_script") +
|
||||
|
||||
|
||||
| python
|
||||
| [[hdata_python_script]]<<hdata_python_script,python_script>>
|
||||
| liste des scripts
|
||||
@@ -498,7 +457,7 @@ _gui_objects_ (pointer) +
|
||||
_prev_bar_window_ (pointer, hdata: "bar_window") +
|
||||
_next_bar_window_ (pointer, hdata: "bar_window") +
|
||||
|
||||
*Mise à jour autorisée :* +
|
||||
*Mise à jour autorisée :* +
|
||||
_scroll_x_ (integer) +
|
||||
_scroll_y_ (integer) +
|
||||
|
||||
@@ -554,7 +513,6 @@ _input_callback_ (pointer) +
|
||||
_input_callback_pointer_ (pointer) +
|
||||
_input_callback_data_ (pointer) +
|
||||
_input_get_unknown_commands_ (integer) +
|
||||
_input_get_empty_ (integer) +
|
||||
_input_buffer_ (string) +
|
||||
_input_buffer_alloc_ (integer) +
|
||||
_input_buffer_size_ (integer) +
|
||||
@@ -741,7 +699,7 @@ _last_gui_history_ +
|
||||
_next_history_ (pointer, hdata: "history") +
|
||||
_prev_history_ (pointer, hdata: "history") +
|
||||
|
||||
*Mise à jour autorisée :* +
|
||||
*Mise à jour autorisée :* +
|
||||
_{hdata_update_create}_ +
|
||||
_{hdata_update_delete}_ +
|
||||
|
||||
@@ -869,7 +827,7 @@ _prefix_ (shared_string) +
|
||||
_prefix_length_ (integer) +
|
||||
_message_ (string) +
|
||||
|
||||
*Mise à jour autorisée :* +
|
||||
*Mise à jour autorisée :* +
|
||||
_date_ (time) +
|
||||
_date_printed_ (time) +
|
||||
_tags_array_ (shared_string) +
|
||||
|
||||
@@ -8,10 +8,6 @@
|
||||
|
||||
| alias | alias | liste des alias | pointeur vers l'alias (optionnel) | nom d'alias (le caractère joker "*" est autorisé) (optionnel)
|
||||
|
||||
| alias | alias_default | liste des alias par défaut | - | -
|
||||
|
||||
| fset | fset_option | liste des options fset | pointeur vers l'option fset (optionnel) | nom d'option (le caractère joker "*" est autorisé) (optionnel)
|
||||
|
||||
| guile | guile_script | liste des scripts | pointeur vers le script (optionnel) | nom de script (le caractère joker "*" est autorisé) (optionnel)
|
||||
|
||||
| irc | irc_channel | liste des canaux pour un serveur IRC | pointeur vers le canal (optionnel) | serveur,canal (le canal est optionnel)
|
||||
@@ -34,8 +30,6 @@
|
||||
|
||||
| perl | perl_script | liste des scripts | pointeur vers le script (optionnel) | nom de script (le caractère joker "*" est autorisé) (optionnel)
|
||||
|
||||
| php | php_script | liste des scripts | pointeur vers le script (optionnel) | nom de script (le caractère joker "*" est autorisé) (optionnel)
|
||||
|
||||
| python | python_script | liste des scripts | pointeur vers le script (optionnel) | nom de script (le caractère joker "*" est autorisé) (optionnel)
|
||||
|
||||
| relay | relay | liste des clients pour le relai | pointeur vers le relay (optionnel) | -
|
||||
|
||||
@@ -2,17 +2,16 @@
|
||||
// This file is auto-generated by script docgen.py.
|
||||
// DO NOT EDIT BY HAND!
|
||||
//
|
||||
. charset (15000)
|
||||
. logger (14000)
|
||||
. exec (13000)
|
||||
. trigger (12000)
|
||||
. aspell (11000)
|
||||
. alias (10000)
|
||||
. buflist (9000)
|
||||
. fifo (8000)
|
||||
. xfer (7000)
|
||||
. irc (6000)
|
||||
. relay (5000)
|
||||
. guile, javascript, lua, perl, php, python, ruby, tcl (4000)
|
||||
. script (3000)
|
||||
. fset (2000)
|
||||
. charset (14000)
|
||||
. logger (13000)
|
||||
. exec (12000)
|
||||
. trigger (11000)
|
||||
. aspell (10000)
|
||||
. alias (9000)
|
||||
. buflist (8000)
|
||||
. fifo (7000)
|
||||
. xfer (6000)
|
||||
. irc (5000)
|
||||
. relay (4000)
|
||||
. guile, javascript, lua, perl, python, ruby, tcl (3000)
|
||||
. script (2000)
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user