mirror of
https://github.com/weechat/weechat.git
synced 2026-06-17 08:34:46 +02:00
Compare commits
102 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| e5a159c74f | |||
| b74aa71442 | |||
| 8fb7987633 | |||
| bb76a5d266 | |||
| db21a0da90 | |||
| 7508337240 | |||
| 98375b8ffc | |||
| d6d83474c7 | |||
| 43bafa59d8 | |||
| e8c255770f | |||
| 59a4142b00 | |||
| dbc59965ac | |||
| 6ffebec1a6 | |||
| 1c7b431bc8 | |||
| 749bc26926 | |||
| 9ac9dc7023 | |||
| bbf55b734c | |||
| 2095887be9 | |||
| fa05f75b74 | |||
| a96d2c28fb | |||
| 4a115fdedd | |||
| 3a0e54d236 | |||
| 24fe646c4e | |||
| 8cf5848116 | |||
| 3e1a5b4447 | |||
| 1fb82b4062 | |||
| d4dc1467c9 | |||
| c64bdeaed3 | |||
| 37ed420108 | |||
| b825ce49c2 | |||
| 33bf2dec43 | |||
| 0fe3661eab | |||
| aee4d283c9 | |||
| d3cdccc274 | |||
| 42a0a19828 | |||
| 8788fcedc8 | |||
| 84e6e84347 | |||
| 38efd63012 | |||
| 031819173b | |||
| de3d670ca7 | |||
| d2394f6432 | |||
| 2c4bad8120 | |||
| 8ac67ff540 | |||
| b8ef7e2f65 | |||
| 21ca625f10 | |||
| 9644df21ad | |||
| 17ae43aa03 | |||
| 487406cfd9 | |||
| cd4db84feb | |||
| 55a796f30b | |||
| d81813cd6a | |||
| 2006c2c940 | |||
| f3d2f9bbe1 | |||
| 2c61a24413 | |||
| 10501a34fe | |||
| 99dcdae5b0 | |||
| 86f110db98 | |||
| a1a9303b14 | |||
| 5ef4731c62 | |||
| 007958e82c | |||
| 5876a8335f | |||
| cefed25912 | |||
| 79438c72e1 | |||
| d99fe0bc76 | |||
| 540ff62c60 | |||
| 3e8580b5e5 | |||
| 0f1f9bc87f | |||
| f0572474d4 | |||
| d4d8117461 | |||
| 4d8df89bb5 | |||
| b7f3127bf8 | |||
| f69ef840e0 | |||
| e46d2567ea | |||
| 8be5759ef7 | |||
| 78317f8b55 | |||
| d16640130e | |||
| 95cf2aa956 | |||
| dc367a83f6 | |||
| 2a2428902b | |||
| 51ed9ec93e | |||
| 46033a7ee9 | |||
| a2e43a732e | |||
| 674f52bf58 | |||
| 0af960dbde | |||
| 07b54a9932 | |||
| 9fceaa465d | |||
| 94555e043c | |||
| f02b172716 | |||
| 9b1184e180 | |||
| f39553152f | |||
| 89f49040f3 | |||
| 95d0b89d1d | |||
| 01f9bcbaba | |||
| 6fb6fad7e9 | |||
| 0e6497612c | |||
| a794bf39bb | |||
| 5f543f26cc | |||
| 0d8ced6c32 | |||
| db28e2133d | |||
| bab175f5b4 | |||
| d3b42fae83 | |||
| ef41998179 |
@@ -5,7 +5,7 @@ on:
|
||||
- pull_request
|
||||
|
||||
env:
|
||||
WEECHAT_DEPENDENCIES: devscripts equivs python3-pip libenchant-dev autopoint cmake ninja-build lcov pkg-config libncursesw5-dev gem2deb libperl-dev python2-dev python3-dev libaspell-dev liblua5.3-dev tcl8.6-dev guile-2.2-dev libv8-dev libcurl4-gnutls-dev libgcrypt20-dev libgnutls28-dev libzstd-dev zlib1g-dev curl libcpputest-dev php8.0-dev libphp8.0-embed libargon2-dev libsodium-dev pylint python3-bandit asciidoctor
|
||||
WEECHAT_DEPENDENCIES: devscripts equivs python3-pip libenchant-dev autopoint cmake ninja-build lcov pkg-config libncursesw5-dev gem2deb libperl-dev python2-dev python3-dev libaspell-dev liblua5.3-dev tcl8.6-dev guile-2.2-dev libv8-dev libcurl4-gnutls-dev libgcrypt20-dev libgnutls28-dev libzstd-dev zlib1g-dev curl libcpputest-dev php8.0-dev libphp8.0-embed libargon2-dev libsodium-dev pylint python3-bandit asciidoctor ruby-pygments.rb
|
||||
|
||||
jobs:
|
||||
|
||||
|
||||
@@ -11,7 +11,9 @@ Sébastien Helleu <flashcode@flashtux.org> <flashcode>
|
||||
Sébastien Helleu <flashcode@flashtux.org> <uid67137>
|
||||
Nils Görs <weechatter@arcor.de>
|
||||
Ryuunosuke Ayanokouzi <i38w7i3@yahoo.co.jp>
|
||||
Krzysztof Korościk <soltys1@gmail.com> <soltys@szluug.org> <soltys@soltys.info>
|
||||
Krzysztof Korościk <soltys@soltys.info>
|
||||
Krzysztof Korościk <soltys@soltys.info> <soltys1@gmail.com>
|
||||
Krzysztof Korościk <soltys@soltys.info> <soltys@szluug.org>
|
||||
Marco Paolone <marcopaolone@gmail.com>
|
||||
<marcopaolone@gmail.com> <marco@DrB4tch.sitecomwl601>
|
||||
<mikaela.suomalainen@outlook.com> <mkaysi@outlook.com>
|
||||
|
||||
+44
-17
@@ -15,14 +15,41 @@ https://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes]
|
||||
(file _ReleaseNotes.adoc_ in sources).
|
||||
|
||||
|
||||
[[v3.6]]
|
||||
== Version 3.6 (2022-07-10)
|
||||
|
||||
New features::
|
||||
|
||||
* core: add command `/item` to create custom bar items (issue #808)
|
||||
* core: add bar item "spacer" (issue #1700)
|
||||
* core: add case conversion in evaluation of expressions with `lower:string` and `upper:string` (issue #1778)
|
||||
* core: move detailed list of hooks from command `/plugin listfull` to `/debug hooks <plugin>`
|
||||
* core: allow to remove multiple filters at once with command `/filter del`
|
||||
* api: allow to catch multiple signals in functions hook_signal and hook_hsignal (issue #1780)
|
||||
* irc: rename option `save` to `apply` in command `/autojoin`
|
||||
* irc: add support of RPL_HELPSTART, RPL_HELPTXT and RPL_ENDOFHELP (messages 524, 704, 705, 706) (issue #1772)
|
||||
* php: add support of PHP 8.2 (issue #1787)
|
||||
|
||||
Bug fixes::
|
||||
|
||||
* core: fix bad window size on startup with some terminals like https://github.com/kovidgoyal/kitty[kitty] (issue #1769)
|
||||
* api: run hook_print callback also on empty messages
|
||||
* buflist: fix memory leak when reading config and changing option buflist.look.sort
|
||||
* irc: remove channel from autojoin option when manually closing a buffer with `/buffer close` or `/close`
|
||||
* irc: fix add of channel to autojoin option when joining a channel with a buffer still opened
|
||||
* relay: fix save of channels in autojoin option when JOIN and PART commands are received from an IRC relay client (issue #1771)
|
||||
* trigger: add `${buffer.notify} > 0` in conditions of default trigger "beep"
|
||||
* trigger: fix completion of command `/trigger add` when there are spaces in the following arguments
|
||||
* trigger: fix memory leak in command `/trigger addinput`
|
||||
|
||||
[[v3.5]]
|
||||
== Version 3.5 (under dev)
|
||||
== Version 3.5 (2022-03-27)
|
||||
|
||||
New features::
|
||||
|
||||
* core: search in message tags when tags are displayed with `/debug tags`
|
||||
* core: add support of date and tags in messages displayed in buffers with free content, add function printf_y_date_tags (issue #1746)
|
||||
* irc: add command /autojoin, add server option "autojoin_dynamic"
|
||||
* irc: add command `/autojoin`, add server option "autojoin_dynamic"
|
||||
* irc: add IRC message tags in messages displayed (issue #1680)
|
||||
* relay: add `zstd` (https://facebook.github.io/zstd/[Zstandard]) compression in weechat protocol, remove option `compression` from `init` command, rename option relay.network.compression_level to relay.network.compression
|
||||
* trigger: add variables `${tg_tag_irc_xxx}` containing IRC message tags (issue #1680)
|
||||
@@ -65,7 +92,7 @@ Build::
|
||||
|
||||
Bug fixes::
|
||||
|
||||
* core: set again TLS verification functions after options weechat.network.gnutls_ca_system and weechat.network.gnutls_ca_user are changed (issue #1763)
|
||||
* core: set again TLS verification functions after options weechat.network.gnutls_ca_system and weechat.network.gnutls_ca_user are changed (issue #1763, CVE-2022-28352)
|
||||
|
||||
[[v3.4]]
|
||||
== Version 3.4 (2021-12-18)
|
||||
@@ -729,7 +756,7 @@ Bug fixes::
|
||||
* lua: fix macros used to return values
|
||||
* php: fix return code of functions config_write_option and config_write_line
|
||||
* php: fix memory leak in 72 functions returning allocated strings
|
||||
* python: fix crash when loading a script with Python >= 3.7 (issue #1219)
|
||||
* python: fix crash when loading a script with Python ≥ 3.7 (issue #1219)
|
||||
* relay: fix socket creation for relay server on OpenBSD (issue #1213)
|
||||
* ruby: fix memory leak in 7 functions returning allocated strings
|
||||
* script: fix memory leak in case of invalid XML content in list of scripts
|
||||
@@ -962,7 +989,7 @@ Bug fixes::
|
||||
* irc: fix close of server channels which are waiting for the JOIN when the server buffer is closed (issue #873)
|
||||
* irc: fix buffer switching on manual join for forwarded channels (issue #876)
|
||||
* irc: add missing tags on CTCP message sent
|
||||
* lua: fix integers returned in Lua >= 5.3 (issue #834)
|
||||
* lua: fix integers returned in Lua ≥ 5.3 (issue #834)
|
||||
* relay: make HTTP headers case-insensitive for WebSocket connections (issue #888)
|
||||
* relay: set status to "authentication failed" and close immediately connection in case of authentication failure in weechat and irc protocols (issue #825)
|
||||
* script: reload a script after upgrade only if it was loaded, set autoload only if the script was auto-loaded (issue #855)
|
||||
@@ -1299,7 +1326,7 @@ Bug fixes::
|
||||
Build::
|
||||
|
||||
* core: fix compilation of man pages with autotools in source directory
|
||||
* core: fix compilation of plugins with CMake >= 3.1 (issue #287)
|
||||
* core: fix compilation of plugins with CMake ≥ 3.1 (issue #287)
|
||||
* lua: add detection of Lua 5.2
|
||||
* python: fix Python detection with Homebrew (issue #217)
|
||||
* tests: fix compilation of tests with clang (issue #275)
|
||||
@@ -1331,7 +1358,7 @@ Build::
|
||||
|
||||
* aspell: fix compilation with Enchant < 1.6.0 (issue #192)
|
||||
* guile: fix compilation with Guile < 2.0.4 (issue #198)
|
||||
* perl: fix detection of Perl >= 5.20 with autotools
|
||||
* perl: fix detection of Perl ≥ 5.20 with autotools
|
||||
* tests: fix build of tests when the build directory is outside source tree (issue #178)
|
||||
|
||||
[[v1.0]]
|
||||
@@ -1513,7 +1540,7 @@ New features::
|
||||
* core: add infos "term_width" and "term_height"
|
||||
* core: add bar item "buffer_zoom", add signals "buffer_{zoomed|unzoomed}" (patch #8204)
|
||||
* core: add default keys kbd:[Alt+Home] / kbd:[Alt+End] (`meta2-1;3H` / `meta2-1;3F`) and kbd:[Alt+F11] / kbd:[Alt+F12] (`meta2-23;3~` / `meta2-24;3~`) for xterm
|
||||
* core: add support of italic text (requires ncurses >= 5.9 patch 20130831)
|
||||
* core: add support of italic text (requires ncurses ≥ 5.9 patch 20130831)
|
||||
* core: add options to customize default text search in buffers: weechat.look.buffer_search_{case_sensitive|force_default|regex|where}
|
||||
* core: add support of UTF-8 chars in horizontal/vertical separators (options weechat.look.separator_{horizontal|vertical})
|
||||
* core: add support of logical and/or for argument "tags" in function hook_print
|
||||
@@ -1579,9 +1606,9 @@ Bug fixes::
|
||||
* logger: fix memory leaks in backlog
|
||||
* logger: replace backslashs in name by logger replacement char under Cygwin (bug #41207)
|
||||
* lua: fix crash on calls to callbacks during load of script
|
||||
* python: fix load of scripts with Python >= 3.3
|
||||
* python: fix load of scripts with Python ≥ 3.3
|
||||
* relay: fix memory leak on unload of relay plugin
|
||||
* ruby: fix ruby init with Ruby >= 2.0 (bug #41115)
|
||||
* ruby: fix ruby init with Ruby ≥ 2.0 (bug #41115)
|
||||
* scripts: fix script interpreter used after register during load of script in python/perl/ruby/lua/guile plugins (bug #41345)
|
||||
* xfer: use same infolist for hook and signals (patch #7974)
|
||||
|
||||
@@ -1728,7 +1755,7 @@ Bug fixes::
|
||||
* api: allow hashtable with keys that are not strings in function hashtable_add_to_infolist
|
||||
* api: fix function string_mask_to_regex: escape all special chars used in regex (bug #38398)
|
||||
* guile: fix crash in function hdata_move
|
||||
* guile: fix arguments given to callbacks (separate arguments instead of one list with arguments inside), Guile >= 2.0 is now required (bug #38350)
|
||||
* guile: fix arguments given to callbacks (separate arguments instead of one list with arguments inside), Guile ≥ 2.0 is now required (bug #38350)
|
||||
* guile: fix crash on calls to callbacks during load of script (bug #38343)
|
||||
* irc: fix name of server buffer after `/server rename` (set name "server.name" instead of "name")
|
||||
* irc: fix uncontrolled format string when sending unknown irc commands (if option irc.network.send_unknown_commands is on)
|
||||
@@ -1817,7 +1844,7 @@ Bug fixes::
|
||||
* core: use high priority (50000) for commands `/command` and `/input` so that an alias will not take precedence over these commands (bug #36353)
|
||||
* core: execute command with higher priority when many commands with same name are found with different priorities
|
||||
* core: fix display of combining chars (bug #37775)
|
||||
* core: fix display of zoomed/merged buffer (with number >= 2) after switching to it (bug #37593)
|
||||
* core: fix display of zoomed/merged buffer (with number ≥ 2) after switching to it (bug #37593)
|
||||
* core: fix display problem when option weechat.look.prefix_same_nick is set (problem with nick displayed in first line of screen) (bug #37556)
|
||||
* core: fix wrapping of words with wide chars (the break was made before the correct position)
|
||||
* api: do not call shell to execute command in hook_process (fix security problem when a plugin/script gives untrusted command) (bug #37764)
|
||||
@@ -1986,7 +2013,7 @@ Bug fixes::
|
||||
* core: fix display bug with prefix when length is greater than max and prefix is ending with a wide char (bug #36032)
|
||||
* core: fix lost scroll when switching to a buffer with a pending search
|
||||
* core: fix display of wide chars on last column of chat area (patch #7733)
|
||||
* api: display warning in scripts when invalid pointers (malformed strings) are given to plugin API functions (warning displayed if debug for plugin is >= 1)
|
||||
* api: display warning in scripts when invalid pointers (malformed strings) are given to plugin API functions (warning displayed if debug for plugin is ≥ 1)
|
||||
* scripts: fix type of argument "rc" in callback of hook_process (from string to integer)
|
||||
* guile: fix crash on ARM when loading guile plugin (bug #36479)
|
||||
* guile: add missing function hook_process_hashtable in API
|
||||
@@ -2152,7 +2179,7 @@ Bug fixes::
|
||||
* core: fix display of background color in chat area after line feed
|
||||
* core: fix paste detection (problem with end of lines)
|
||||
* core: fix display of paste multi-line prompt with a root input bar (bug #34305)
|
||||
* core: replace deprecated GnuTLS function gnutls_certificate_client_set_retrieve_function by new function gnutls_certificate_set_retrieve_function (GnuTLS >= 2.11.0)
|
||||
* core: replace deprecated GnuTLS function gnutls_certificate_client_set_retrieve_function by new function gnutls_certificate_set_retrieve_function (GnuTLS ≥ 2.11.0)
|
||||
* core: use dynamic buffer size for calls to vsnprintf
|
||||
* core: fix memory leak in unhook of hook_connect
|
||||
* core: fix memory leak in display of empty bar items
|
||||
@@ -2373,7 +2400,7 @@ Bug fixes::
|
||||
* core: fix display bug with attributes like underlined in bars (bug #29889)
|
||||
* api: fix bug with replacement char in function string_remove_color (bug #30296)
|
||||
* irc: fix bug in parser when no argument is received after command, no callback was called, and message was silently ignored (bug #30640)
|
||||
* irc: fix import of certificates created by OpenSSL >= 1.0.0 (bug #30316)
|
||||
* irc: fix import of certificates created by OpenSSL ≥ 1.0.0 (bug #30316)
|
||||
* irc: fix display of local SSL certificate when it is sent to server (patch #7218)
|
||||
* irc: use empty real name by default in config, instead of reading real name in /etc/passwd (bug #30111)
|
||||
* irc: fix bug with command line option "irc://" (bug #29990), new format for port and channels
|
||||
@@ -2519,7 +2546,7 @@ Bug fixes::
|
||||
Build::
|
||||
|
||||
* core: fix CMake directories: let user customize lib, share, locale and include directories (patch #6922)
|
||||
* ruby: add support of Ruby >= 1.9.1 (patch #6989)
|
||||
* ruby: add support of Ruby ≥ 1.9.1 (patch #6989)
|
||||
|
||||
[[v0.3.0]]
|
||||
== Version 0.3.0 (2009-09-06)
|
||||
@@ -2781,7 +2808,7 @@ Bug fixes::
|
||||
* fix bug with ignore: now any IRC command is allowed
|
||||
* fix crash with kbd:[Ctrl+t] (transpose) and one char on line (bug #18153)
|
||||
* fix bug on ignore with "mode" IRC command (bug #18058)
|
||||
* fix crash when loading ruby script if file does not exist, with Ruby >= 1.9 only (bug #18064)
|
||||
* fix crash when loading ruby script if file does not exist, with Ruby ≥ 1.9 only (bug #18064)
|
||||
* mode changes with `/op`, `/deop`, `/voice`, `/devoice`, `/halfop`, `/dehalfop` are now sent in one mode command to server (task #5968)
|
||||
* fix bug with `/alias` and arguments (like $1), now text after argument(s) is used (bug #17944)
|
||||
* fix minor display bug with special chars on some arch like PPC
|
||||
|
||||
+4
-4
@@ -38,7 +38,7 @@ please include:
|
||||
problem here.
|
||||
* The *gdb's backtrace* (only for a crash): if you can reproduce the crash
|
||||
(or if you have a core file), please include the backtrace from gdb (look at
|
||||
https://weechat.org/doc/user#report_crashes[User's guide] for more info).
|
||||
https://weechat.org/doc/user/#report_crashes[User's guide] for more info).
|
||||
* The *actual result*.
|
||||
* The *expected result*: the correct result you are expecting.
|
||||
|
||||
@@ -68,14 +68,14 @@ time, for https://github.com/weechat/weechat[WeeChat] and the website
|
||||
https://github.com/weechat/weechat.org[weechat.org].
|
||||
|
||||
To start a translation in a new language (not yet supported), please look at
|
||||
https://weechat.org/doc/dev#translations[translations]
|
||||
https://weechat.org/doc/dev/#translations[translations]
|
||||
in Developer's guide.
|
||||
|
||||
== Feature requests
|
||||
|
||||
WeeChat is under active development, so your idea may already have been
|
||||
implemented, or scheduled for a future version (you can check in
|
||||
https://weechat.org/dev[roadmap] or
|
||||
https://weechat.org/dev/[roadmap] or
|
||||
https://github.com/weechat/weechat/milestones[milestones] on GitHub.
|
||||
|
||||
Pull requests on GitHub are welcome for minor new features.
|
||||
@@ -84,6 +84,6 @@ For major new features, it's better to discuss about it in IRC
|
||||
(server: _irc.libera.chat_, channel _#weechat_).
|
||||
|
||||
Before submitting any pull request, be sure you have read the
|
||||
https://weechat.org/doc/dev#coding_rules[coding rules]
|
||||
https://weechat.org/doc/dev/#coding_rules[coding rules]
|
||||
in Developer's guide, which contains info about styles used, naming convention
|
||||
and other useful info.
|
||||
|
||||
+3
-3
@@ -23,13 +23,13 @@ Homepage: https://weechat.org/
|
||||
|
||||
== Features
|
||||
|
||||
* *Modular chat client*: WeeChat has a lightweight core and optional https://weechat.org/doc/user#plugins[plugins]. All plugins (including https://weechat.org/doc/user#irc[IRC]) are independent and can be unloaded.
|
||||
* *Modular chat client*: WeeChat has a lightweight core and optional https://weechat.org/doc/user/#plugins[plugins]. All plugins (including https://weechat.org/doc/user/#irc[IRC]) are independent and can be unloaded.
|
||||
* *Multi-platform*: WeeChat runs on GNU/Linux, *BSD, GNU/Hurd, Haiku, macOS and Windows (Bash/Ubuntu and Cygwin).
|
||||
* *Multi-protocols*: WeeChat is designed to support multiple protocols by plugins, like IRC.
|
||||
* *Standards-compliant*: the IRC plugin is compliant with RFCs https://tools.ietf.org/html/rfc1459[1459], https://tools.ietf.org/html/rfc2810[2810], https://tools.ietf.org/html/rfc2811[2811], https://tools.ietf.org/html/rfc2812[2812], and https://tools.ietf.org/html/rfc2813[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 https://weechat.org/scripts/[scripts] (https://weechat.org/scripts/language/perl/[Perl], https://weechat.org/scripts/language/python/[Python], https://weechat.org/scripts/language/ruby[Ruby], https://weechat.org/scripts/language/lua/[Lua], https://weechat.org/scripts/language/tcl/[Tcl], https://weechat.org/scripts/language/guile/[Scheme], https://weechat.org/scripts/language/javascript/[JavaScript] and https://weechat.org/scripts/language/php/[PHP]).
|
||||
* *Fully documented*: there is comprehensive https://weechat.org/doc/[documentation], which is https://weechat.org/doc/dev#translations[translated] into several languages.
|
||||
* *Fully documented*: there is comprehensive https://weechat.org/doc/[documentation], which is https://weechat.org/doc/dev/#translations[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 https://www.gnu.org/licenses/gpl-3.0.html[GPLv3].
|
||||
|
||||
@@ -41,7 +41,7 @@ On WeeChat's website you can find https://weechat.org/about/screenshots/[more sc
|
||||
|
||||
WeeChat can be installed using your favorite package manager (recommended) or by compiling it yourself.
|
||||
|
||||
For detailed instructions, please check the https://weechat.org/doc/user#install[WeeChat user's guide].
|
||||
For detailed instructions, please check the https://weechat.org/doc/user/#install[WeeChat user's guide].
|
||||
|
||||
== Copyright
|
||||
|
||||
|
||||
+71
-47
@@ -17,8 +17,32 @@ https://weechat.org/files/changelog/ChangeLog-devel.html[ChangeLog]
|
||||
(file _ChangeLog.adoc_ in sources).
|
||||
|
||||
|
||||
[[v3.6]]
|
||||
== Version 3.6 (2022-07-10)
|
||||
|
||||
[[v3.6_hook_print_empty_messages]]
|
||||
=== Hook print on empty messages
|
||||
|
||||
The "hook_print" callback is now called even when an empty message is displayed
|
||||
(with or without prefix).
|
||||
|
||||
This was a bug, but is mentioned here just in case some scripts callbacks
|
||||
would be surprised to be called with such empty messages.
|
||||
|
||||
[[v3.6_trigger_beep]]
|
||||
=== Default trigger "beep"
|
||||
|
||||
The command of "beep" trigger is now executed only if the buffer notify is NOT
|
||||
set to `none` (in addition to existing conditions).
|
||||
|
||||
You can restore the default trigger "beep" with the following command:
|
||||
|
||||
----
|
||||
/trigger restore beep
|
||||
----
|
||||
|
||||
[[v3.5]]
|
||||
== Version 3.5 (under dev)
|
||||
== Version 3.5 (2022-03-27)
|
||||
|
||||
[[v3.5_relay_weechat_compression_zstd]]
|
||||
=== Compression "zstandard" in relay
|
||||
@@ -28,11 +52,11 @@ which allows better compression and is much faster than zlib for both compressio
|
||||
|
||||
The new compression type is `zstd`, and the default compression is now `off`
|
||||
instead of `zlib`: the compression must now be explicitly given in the
|
||||
link:https://weechat.org/doc/relay#command_handshake[handshake] command.
|
||||
link:https://weechat.org/doc/relay/#command_handshake[handshake] command.
|
||||
|
||||
The option `compression` in link:https://weechat.org/doc/relay#command_handshake[init]
|
||||
The option `compression` in link:https://weechat.org/doc/relay/#command_handshake[init]
|
||||
command has been removed, it is now ignored and must be given in the
|
||||
link:https://weechat.org/doc/relay#command_handshake[handshake] command
|
||||
link:https://weechat.org/doc/relay/#command_handshake[handshake] command
|
||||
(it was deprecated since WeeChat 2.9).
|
||||
|
||||
The option relay.network.compression_level has been renamed to relay.network.compression
|
||||
@@ -67,11 +91,11 @@ You can restore the default triggers with the following command:
|
||||
=== New parameters in function hdata_search
|
||||
|
||||
New parameters have been added in function
|
||||
link:https://weechat.org/doc/plugin#_hdata_search[hdata_search], used for the
|
||||
link:https://weechat.org/doc/plugin/#_hdata_search[hdata_search], used for the
|
||||
evaluation of expression.
|
||||
|
||||
New parameters are the same as function
|
||||
link:https://weechat.org/doc/plugin#_string_eval_expression[string_eval_expression]:
|
||||
link:https://weechat.org/doc/plugin/#_string_eval_expression[string_eval_expression]:
|
||||
|
||||
* pointers: hashtable with pointers (pointers)
|
||||
* extra_vars: hashtable with extra variables (strings)
|
||||
@@ -93,7 +117,7 @@ WeeChat versions:
|
||||
|
||||
Support of static array in hdata has been added.
|
||||
For pointers to arrays, a prefix `*,` must be added in parameter `array_size`
|
||||
of API function link:https://weechat.org/doc/plugin#_hdata_new_var[hdata_new_var].
|
||||
of API function link:https://weechat.org/doc/plugin/#_hdata_new_var[hdata_new_var].
|
||||
|
||||
[[v3.3]]
|
||||
== Version 3.3 (2021-09-19)
|
||||
@@ -518,7 +542,7 @@ bars, so if you want to use the new default settings, you can do:
|
||||
If you changed the option "color_bg" in some bars, you should also adjust
|
||||
the new option "color_bg_inactive", depending on your needs.
|
||||
|
||||
The function link:https://weechat.org/doc/plugin#_bar_new[bar_new] in API is updated,
|
||||
The function link:https://weechat.org/doc/plugin/#_bar_new[bar_new] in API is updated,
|
||||
so this is an incompatible change: all plugins and scripts calling this function must be updated.
|
||||
|
||||
The following scripts are updated consequently to be compatible with all
|
||||
@@ -584,8 +608,8 @@ plugins/scripts to complete a string, without using the buffer input.
|
||||
Therefore two functions have been renamed in API and moved to the new
|
||||
"completion" category:
|
||||
|
||||
* hook_completion_get_string => link:https://weechat.org/doc/plugin#_completion_get_string[completion_get_string]
|
||||
* hook_completion_list_add => link:https://weechat.org/doc/plugin#_completion_list_add[completion_list_add]
|
||||
* hook_completion_get_string => link:https://weechat.org/doc/plugin/#_completion_get_string[completion_get_string]
|
||||
* hook_completion_list_add => link:https://weechat.org/doc/plugin/#_completion_list_add[completion_list_add]
|
||||
|
||||
[NOTE]
|
||||
The old names are still valid for compatibility reasons, but it is recommended
|
||||
@@ -683,7 +707,7 @@ A `handshake` command has been added in weechat relay protocol. +
|
||||
The client should send this command before the `init` to negotiate the way to
|
||||
authenticate with the relay server.
|
||||
|
||||
See the link:https://weechat.org/doc/relay#command_handshake[handshake command]
|
||||
See the link:https://weechat.org/doc/relay/#command_handshake[handshake command]
|
||||
in Relay protocol doc for more information.
|
||||
|
||||
==== Server "nonce"
|
||||
@@ -701,7 +725,7 @@ So the hash is computed on: (`server nonce` + `client nonce` + `password`).
|
||||
This salt is now mandatory even for algorithms `SHA256` and `SHA512`; this is
|
||||
a breaking change in protocol, needed for security reasons.
|
||||
|
||||
See the link:https://weechat.org/doc/relay#command_init[init command]
|
||||
See the link:https://weechat.org/doc/relay/#command_init[init command]
|
||||
in Relay protocol doc for more information.
|
||||
|
||||
[[v2.8]]
|
||||
@@ -712,7 +736,7 @@ in Relay protocol doc for more information.
|
||||
|
||||
The command line option `-a` (or `--no-connect`), which can also be used in the
|
||||
`/plugin` command, is now used to set a new info called `auto_connect`
|
||||
(see the function link:https://weechat.org/doc/plugin#_info_get[info_get] in the Plugin API reference).
|
||||
(see the function link:https://weechat.org/doc/plugin/#_info_get[info_get] in the Plugin API reference).
|
||||
|
||||
Therefore, the option is not sent any more to the function `weechat_plugin_init`
|
||||
of plugins. +
|
||||
@@ -974,8 +998,8 @@ base 16, 32, and 64.
|
||||
|
||||
New functions in C API, supporting base 16, 32, and 64:
|
||||
|
||||
* link:https://weechat.org/doc/plugin#_string_base_encode[string_base_encode]
|
||||
* link:https://weechat.org/doc/plugin#_string_base_decode[string_base_decode]
|
||||
* link:https://weechat.org/doc/plugin/#_string_base_encode[string_base_encode]
|
||||
* link:https://weechat.org/doc/plugin/#_string_base_decode[string_base_decode]
|
||||
|
||||
Functions removed from C API:
|
||||
|
||||
@@ -1051,7 +1075,7 @@ See issue #787 for more information.
|
||||
|
||||
[NOTE]
|
||||
It is recommended for plugins and scripts to use the WeeChat IRC parser:
|
||||
see the function link:https://weechat.org/doc/plugin#_info_get_hashtable[info_get_hashtable]
|
||||
see the function link:https://weechat.org/doc/plugin/#_info_get_hashtable[info_get_hashtable]
|
||||
in the Plugin API reference.
|
||||
|
||||
Now the whole IRC message is received by the signal callback, for example:
|
||||
@@ -1372,33 +1396,33 @@ reduce memory usage).
|
||||
|
||||
Following functions are changed in the C API:
|
||||
|
||||
* link:https://weechat.org/doc/plugin#_exec_on_files[exec_on_files]
|
||||
* link:https://weechat.org/doc/plugin#_config_new[config_new]
|
||||
* link:https://weechat.org/doc/plugin#_config_new_section[config_new_section]
|
||||
* link:https://weechat.org/doc/plugin#_config_new_option[config_new_option]
|
||||
* link:https://weechat.org/doc/plugin#_hook_command[hook_command]
|
||||
* link:https://weechat.org/doc/plugin#_hook_command_run[hook_command_run]
|
||||
* link:https://weechat.org/doc/plugin#_hook_timer[hook_timer]
|
||||
* link:https://weechat.org/doc/plugin#_hook_fd[hook_fd]
|
||||
* link:https://weechat.org/doc/plugin#_hook_process[hook_process]
|
||||
* link:https://weechat.org/doc/plugin#_hook_process_hashtable[hook_process_hashtable]
|
||||
* link:https://weechat.org/doc/plugin#_hook_connect[hook_connect]
|
||||
* link:https://weechat.org/doc/plugin#_hook_print[hook_print]
|
||||
* link:https://weechat.org/doc/plugin#_hook_signal[hook_signal]
|
||||
* link:https://weechat.org/doc/plugin#_hook_hsignal[hook_hsignal]
|
||||
* link:https://weechat.org/doc/plugin#_hook_config[hook_config]
|
||||
* link:https://weechat.org/doc/plugin#_hook_completion[hook_completion]
|
||||
* link:https://weechat.org/doc/plugin#_hook_modifier[hook_modifier]
|
||||
* link:https://weechat.org/doc/plugin#_hook_info[hook_info]
|
||||
* link:https://weechat.org/doc/plugin#_hook_info_hashtable[hook_info_hashtable]
|
||||
* link:https://weechat.org/doc/plugin#_hook_infolist[hook_infolist]
|
||||
* link:https://weechat.org/doc/plugin#_hook_hdata[hook_hdata]
|
||||
* link:https://weechat.org/doc/plugin#_hook_focus[hook_focus]
|
||||
* link:https://weechat.org/doc/plugin#_unhook_all[unhook_all]
|
||||
* link:https://weechat.org/doc/plugin#_buffer_new[buffer_new]
|
||||
* link:https://weechat.org/doc/plugin#_bar_item_new[bar_item_new]
|
||||
* link:https://weechat.org/doc/plugin#_upgrade_new[upgrade_new]
|
||||
* link:https://weechat.org/doc/plugin#_upgrade_read[upgrade_read]
|
||||
* link:https://weechat.org/doc/plugin/#_exec_on_files[exec_on_files]
|
||||
* link:https://weechat.org/doc/plugin/#_config_new[config_new]
|
||||
* link:https://weechat.org/doc/plugin/#_config_new_section[config_new_section]
|
||||
* link:https://weechat.org/doc/plugin/#_config_new_option[config_new_option]
|
||||
* link:https://weechat.org/doc/plugin/#_hook_command[hook_command]
|
||||
* link:https://weechat.org/doc/plugin/#_hook_command_run[hook_command_run]
|
||||
* link:https://weechat.org/doc/plugin/#_hook_timer[hook_timer]
|
||||
* link:https://weechat.org/doc/plugin/#_hook_fd[hook_fd]
|
||||
* link:https://weechat.org/doc/plugin/#_hook_process[hook_process]
|
||||
* link:https://weechat.org/doc/plugin/#_hook_process_hashtable[hook_process_hashtable]
|
||||
* link:https://weechat.org/doc/plugin/#_hook_connect[hook_connect]
|
||||
* link:https://weechat.org/doc/plugin/#_hook_print[hook_print]
|
||||
* link:https://weechat.org/doc/plugin/#_hook_signal[hook_signal]
|
||||
* link:https://weechat.org/doc/plugin/#_hook_hsignal[hook_hsignal]
|
||||
* link:https://weechat.org/doc/plugin/#_hook_config[hook_config]
|
||||
* link:https://weechat.org/doc/plugin/#_hook_completion[hook_completion]
|
||||
* link:https://weechat.org/doc/plugin/#_hook_modifier[hook_modifier]
|
||||
* link:https://weechat.org/doc/plugin/#_hook_info[hook_info]
|
||||
* link:https://weechat.org/doc/plugin/#_hook_info_hashtable[hook_info_hashtable]
|
||||
* link:https://weechat.org/doc/plugin/#_hook_infolist[hook_infolist]
|
||||
* link:https://weechat.org/doc/plugin/#_hook_hdata[hook_hdata]
|
||||
* link:https://weechat.org/doc/plugin/#_hook_focus[hook_focus]
|
||||
* link:https://weechat.org/doc/plugin/#_unhook_all[unhook_all]
|
||||
* link:https://weechat.org/doc/plugin/#_buffer_new[buffer_new]
|
||||
* link:https://weechat.org/doc/plugin/#_bar_item_new[bar_item_new]
|
||||
* link:https://weechat.org/doc/plugin/#_upgrade_new[upgrade_new]
|
||||
* link:https://weechat.org/doc/plugin/#_upgrade_read[upgrade_read]
|
||||
|
||||
The function `unhook_all` has a new argument `const char *subplugin` to remove
|
||||
only hooks created by this "subplugin" (script).
|
||||
@@ -1569,7 +1593,7 @@ You can restore the default "beep" trigger with the following command:
|
||||
[[v1.1_commands_return_code]]
|
||||
=== Return code of commands
|
||||
|
||||
The API function link:https://weechat.org/doc/plugin#_command[command]
|
||||
The API function link:https://weechat.org/doc/plugin/#_command[command]
|
||||
now sends the value returned return by command callback.
|
||||
|
||||
WeeChat does not display any more an error when a command returns
|
||||
@@ -1632,9 +1656,9 @@ the old behavior in command `/connect`:
|
||||
The API functions using timeval are now using or returning microseconds,
|
||||
instead of milliseconds:
|
||||
|
||||
* function link:https://weechat.org/doc/plugin#_util_timeval_diff[util_timeval_diff]:
|
||||
* function link:https://weechat.org/doc/plugin/#_util_timeval_diff[util_timeval_diff]:
|
||||
returns microseconds
|
||||
* function link:https://weechat.org/doc/plugin#_util_timeval_add[util_timeval_add]:
|
||||
* function link:https://weechat.org/doc/plugin/#_util_timeval_add[util_timeval_add]:
|
||||
the argument "interval" is now expressed in microseconds.
|
||||
|
||||
[[v1.0.1]]
|
||||
@@ -2131,7 +2155,7 @@ disable IPv6 in relay if you don't plan to use it at all:
|
||||
== Version 0.3.9.2 (2012-11-18)
|
||||
|
||||
This version fixes a security vulnerability when a plugin/script gives
|
||||
untrusted command to API function link:https://weechat.org/doc/plugin#_hook_process[hook_process].
|
||||
untrusted command to API function link:https://weechat.org/doc/plugin/#_hook_process[hook_process].
|
||||
|
||||
[[v0.3.9.1]]
|
||||
== Version 0.3.9.1 (2012-11-09)
|
||||
|
||||
@@ -4,6 +4,7 @@ Priority: optional
|
||||
Maintainer: Sébastien Helleu <flashcode@flashtux.org>
|
||||
Build-Depends:
|
||||
asciidoctor (>= 1.5.4),
|
||||
ruby-pygments.rb,
|
||||
debhelper (>= 12),
|
||||
cmake, pkg-config,
|
||||
libncursesw5-dev,
|
||||
|
||||
@@ -1,3 +1,35 @@
|
||||
weechat (3.5-1) unstable; urgency=medium
|
||||
|
||||
* New upstream release
|
||||
* Add build dependency on libzstd-dev
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@debian.org> Thu, 31 Mar 2022 11:36:01 +0000
|
||||
|
||||
weechat (3.4.1-1) unstable; urgency=medium
|
||||
|
||||
* New upstream release
|
||||
- Fix a possible man-in-the-middle attack in TLS connection to servers
|
||||
* Update build dependency from libargon2-0-dev to libargon2-dev
|
||||
(libargon2-0-dev is now virtual package) (Closes: #1005703)
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@debian.org> Tue, 22 Mar 2022 05:55:14 +0000
|
||||
|
||||
weechat (3.4-2) unstable; urgency=medium
|
||||
|
||||
* Remove build dependency on ruby-pygments.rb (no longer required)
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@debian.org> Sat, 08 Jan 2022 06:00:17 +0000
|
||||
|
||||
weechat (3.4-1) unstable; urgency=medium
|
||||
|
||||
* New upstream release (Closes: #1001654, #1001245)
|
||||
* Remove tester's guide from weechat-doc (according to upstream changes)
|
||||
* Refresh ASCII Doctor options patch
|
||||
* Update lintian override on weechat-plugins
|
||||
* Update copyright (new year)
|
||||
|
||||
-- Emmanuel Bouthenot <kolter@debian.org> Fri, 07 Jan 2022 23:03:49 +0000
|
||||
|
||||
weechat (3.3-1) unstable; urgency=medium
|
||||
|
||||
* New upstream release
|
||||
|
||||
@@ -4,6 +4,7 @@ Priority: optional
|
||||
Maintainer: Emmanuel Bouthenot <kolter@debian.org>
|
||||
Build-Depends:
|
||||
asciidoctor (>= 1.5.4),
|
||||
ruby-pygments.rb,
|
||||
debhelper (>= 12),
|
||||
cmake, pkg-config,
|
||||
libncursesw5-dev,
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// tag::plugin_options[]
|
||||
Pro kompletní dokumentaci nastavení pluginů a jejich volby podívejte se na
|
||||
https://weechat.org/doc[WeeChat user's guide].
|
||||
https://weechat.org/doc/[WeeChat user's guide].
|
||||
|
||||
S irc pluginem se můžete doččasně připojit na server s URL jako:
|
||||
|
||||
|
||||
@@ -67,4 +67,4 @@ include::includes/man.cs.adoc[tag=copyright]
|
||||
|
||||
== PODPORA / HLÁŠENÍ CHYB
|
||||
|
||||
Pro pomoc nebo hlášení chyb https://weechat.org/about/support
|
||||
Pro pomoc nebo hlášení chyb https://weechat.org/about/support/
|
||||
|
||||
@@ -62,4 +62,4 @@ include::includes/man.cs.adoc[tag=copyright]
|
||||
|
||||
== PODPORA / HLÁŠENÍ CHYB
|
||||
|
||||
Pro pomoc nebo hlášení chyb https://weechat.org/about/support
|
||||
Pro pomoc nebo hlášení chyb https://weechat.org/about/support/
|
||||
|
||||
@@ -208,10 +208,16 @@ K automatickému připojení některých kanálů při připojování k serveru:
|
||||
----
|
||||
|
||||
// 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).
|
||||
The `/autojoin` command lets you configure the _autojoin_ option easily
|
||||
(see `/help autojoin`).
|
||||
|
||||
// TRANSLATION MISSING
|
||||
You can also configure WeeChat to automatically update the _autojoin_ option
|
||||
when you join or leave channels:
|
||||
|
||||
----
|
||||
/set irc.server_default.autojoin_dynamic on
|
||||
----
|
||||
|
||||
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):
|
||||
@@ -227,6 +233,12 @@ název volby):
|
||||
/set irc.server.libera.xxx value
|
||||
----
|
||||
|
||||
// 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).
|
||||
|
||||
[[connect_to_irc_server]]
|
||||
== Připojení k IRC serveru
|
||||
|
||||
@@ -389,14 +401,16 @@ například:
|
||||
|
||||
Zkuste `/help script` pro více informací.
|
||||
|
||||
|
||||
A seznam skriptů je dostupný v WeeChatu s příkazem `/script` nebo na této
|
||||
adrese https://weechat.org/scripts
|
||||
// TRANSLATION MISSING
|
||||
A list of scripts is available in WeeChat with `/script` or on
|
||||
https://weechat.org/scripts/[this page ^↗^,window=_blank].
|
||||
|
||||
[[more_doc]]
|
||||
== Další dokumentace
|
||||
|
||||
Nyní jste schopni používat WeeChat a můžete si přečíst FAQ/dokumentaci pro
|
||||
jakékoliv další otázky: https://weechat.org/doc
|
||||
// TRANSLATION MISSING
|
||||
You can now use WeeChat and read
|
||||
https://weechat.org/doc/[FAQ/documentation ^↗^,window=_blank]
|
||||
for any other questions.
|
||||
|
||||
Ať máte radost z použití WeeChatu!
|
||||
|
||||
@@ -94,6 +94,8 @@
|
||||
|
||||
| tcl | tcl_script | Liste der Skripten
|
||||
|
||||
| trigger | trigger_add_arguments | Argumente für den Befehl, der einen Trigger hinzufügt: Name des Triggers, Hooks, Hook-Argumente, Hook-Bedingungen, Hook-Regex, Hook-Befehl, Hook-Rückgabecode, nachfolgende Aktionen
|
||||
|
||||
| trigger | trigger_hook_arguments | Standardargumente für einen Hook
|
||||
|
||||
| trigger | trigger_hook_command | Standardbefehl für einen Hook
|
||||
@@ -148,6 +150,14 @@
|
||||
|
||||
| weechat | cursor_areas | Bereiche in denen der Cursor frei bewegt werden kann ("chat" oder Name einer Bar)
|
||||
|
||||
| weechat | custom_bar_item_add_arguments | Argumente für den Befehl, der ein benutzerdefiniertes Bar-Item hinzufügt: Elementname, Bedingungen,Inhalt
|
||||
|
||||
| weechat | custom_bar_item_conditions | Bedingungen für benutzerdefinierte Bar-Items
|
||||
|
||||
| weechat | custom_bar_item_contents | Inhalte für benutzerdefinierte Bar-Items
|
||||
|
||||
| weechat | custom_bar_items_names | Namen der benutzerdefinierten Bar-Items
|
||||
|
||||
| weechat | env_value | Wert einer Umgebungsvariable
|
||||
|
||||
| weechat | env_vars | Umgebungsvariablen
|
||||
|
||||
@@ -130,7 +130,7 @@ Beispiele:
|
||||
/autojoin add [<channel1> [<channel2>...]]
|
||||
addraw <channel1>[,<channel2>...] [<key1>[,<key2>...]]
|
||||
del [<channel1> [<channel2>...]]
|
||||
save
|
||||
apply
|
||||
sort
|
||||
|
||||
add: Hinzufügen des aktuellen Kanals oder einer Liste von Kanälen (mit optionalen Schlüsseln) zur autojoin-Option; Wenn Sie sich in dem Kanal befinden und der Schlüssel nicht übergeben wird, wird der Schlüssel im Kanal gelesen
|
||||
@@ -138,17 +138,18 @@ Beispiele:
|
||||
del: Löschen des aktuellen Kanals oder eine Liste von Kanälen aus der autoJoin-Option
|
||||
channel: Kanalname
|
||||
key: Schlüssel für den Kanal
|
||||
save: Speichert die aktuell besuchten Kanäle in der autojoin-Option
|
||||
apply: fügt die aktuell besuchten Kanäle in der autojoin-Option hinzu
|
||||
sort: sortiert die Kanäle alphabetisch in der autojoin Option
|
||||
|
||||
Beispiele:
|
||||
/autojoin add
|
||||
/autojoin add #test
|
||||
/autojoin add #chan1 #chan2
|
||||
/allchan /autojoin add
|
||||
/autojoin addraw #chan1,#chan2,#chan3 key1,key2
|
||||
/autojoin del
|
||||
/autojoin del #chan1
|
||||
/autojoin save
|
||||
/autojoin apply
|
||||
/autojoin sort
|
||||
----
|
||||
|
||||
@@ -1331,8 +1332,8 @@ Beispiele:
|
||||
----
|
||||
/debug list
|
||||
set <plugin> <level>
|
||||
dump [<plugin>]
|
||||
buffer|color|infolists|libs|certs|memory|tags|term|windows
|
||||
dump|hooks [<plugin>]
|
||||
buffer|certs|color|dirs|infolists|libs|memory|tags|term|windows
|
||||
mouse|cursor [verbose]
|
||||
hdata [free]
|
||||
time <command>
|
||||
@@ -1342,15 +1343,15 @@ Beispiele:
|
||||
plugin: Name der Erweiterung ("core" für den WeeChat Kern)
|
||||
level: Debuglevel der Erweiterung (0 = deaktiviert Debug)
|
||||
dump: Speicherabbild in die WeeChat Protokolldatei schreiben (wie bei einem Programmabsturz)
|
||||
hooks: zeigt die aktiven Hooks an (bei einer Erweiterung: detaillierte Informationen über Hooks werden angezeigt, die von der Erweiterung erstellt wurden)
|
||||
buffer: speichert den Bufferinhalt als hexadezimale Ausgabe in die Protokolldatei
|
||||
certs: gibt die Anzahl geladener vertrauenswürdiger Zertifizierungsstellen aus
|
||||
color: zeigt Informationen über die aktuellen Farbpaarungen an
|
||||
cursor: schaltet den debug-Modus für den Cursor-Modus ein/aus
|
||||
dirs: Verzeichnisse werden angezeigt
|
||||
hdata: zeigt Informationen zu hdata an (mittels free werden alle hdata Informationen aus dem Speicher entfernt)
|
||||
hooks: zeigt die aktiven Hooks an
|
||||
infolists: zeigt Information über die Infolists an
|
||||
libs: zeigt an welche externen Bibliotheken verwendet werden
|
||||
certs: gibt die Anzahl geladener vertrauenswürdiger Zertifizierungsstellen aus
|
||||
memory: gibt Informationen über den genutzten Speicher aus
|
||||
mouse: schaltet den debug-Modus für den Maus-Modus ein/aus
|
||||
tags: zeigt für jede einzelne Zeile die dazugehörigen Schlagwörter an
|
||||
@@ -1408,28 +1409,30 @@ Einige Variablen werden im Ausdruck mittels der Formatierung ${variable} ersetzt
|
||||
3. eine evaluierte Teilzeichenkette (Format: "eval:xxx")
|
||||
4. eine evaluierte Bedingung (Format: "eval_cond:xxx")
|
||||
5. eine Zeichenkette mit Escapesequenzen (Format: "esc:xxx" oder "\xxx")
|
||||
6. Zeichen, die in einer Zeichenkette nicht dargestellt werden sollen (Format: "hide:Zeichen,Zeichenkette")
|
||||
7. eine Zeichenkette mit einer maximalen Anzahl an Zeichen (Format: "cut:max,suffix,string" oder "cut:+max,suffix,string")
|
||||
6. eine Zeichenfolge, die in Kleinbuchstaben umgewandelt wird (Format: "lower:xxx")
|
||||
7. eine Zeichenfolge, die in Großbuchstaben umgewandelt wird (Format: "upper:xxx")
|
||||
8. Zeichen, die in einer Zeichenkette nicht dargestellt werden sollen (Format: "hide:Zeichen,Zeichenkette")
|
||||
9. eine Zeichenkette mit einer maximalen Anzahl an Zeichen (Format: "cut:max,suffix,string" oder "cut:+max,suffix,string")
|
||||
oder maximale Anzahl an Zeichen die auf dem Bildschirm angezeigt werden sollen (Format: "cutscr:Max,Suffix,Zeichenkette oder "cutscr:+Max,Suffix,Zeichenkette")
|
||||
8. eine Zeichenkette umkehren (Format: "rev:xxx" oder "revscr:xxx")
|
||||
9. eine Zeichenkette wiederholen (Format: "repeat:Anzahl,Zeichenkette")
|
||||
10. Länge einer Zeichenkette (Format: "length:xxx" oder "lengthscr:xxx")
|
||||
11. Aufteilen einer Zeichenkette (Format: "split:Anzahl,Trennzeichen,Flags,xxx")
|
||||
12. Aufteilen von Shell-Argumenten (Format: "split_shell:Anzahl,xxx")
|
||||
13. eine Farbe (Format: "color:xxx", siehe "Anleitung für API Erweiterung", Funktion "color")
|
||||
14. zum modifizieren (Format: "modifier:name,data,string")
|
||||
15. eine Info (Format: "Info:Name,Argumente", Argumente sind optional)
|
||||
16. eine Basis 16/32/64 kodierte / dekodierte Zeichenfolge (Format: "base_encode:base,xxx" oder "base_decode:base,xxx")
|
||||
17. aktuelles Datum/Uhrzeit (Format: "date" oder "date:format")
|
||||
18. eine Umgebungsvariable (Format: "env:XXX")
|
||||
19. ein Dreifachoperand (Format: "if:Bedingung?Wert_falls_wahr:Wert_falls_unwahr")
|
||||
20. Ergebnis eines Ausdrucks mit Klammern und Operatoren + - * / // % ** (Format: "calc:xxx")
|
||||
21. eine zufällige ganze Zahl (Format: "random:min,max")
|
||||
22. eine übersetzte Zeichenkette (Format: "translate:xxx")
|
||||
23. eine Benutzervariable definieren (Format: "define:Name,Wert")
|
||||
24. eine Option (Format: "file.section.option")
|
||||
25. eine lokale Variable eines Buffers
|
||||
26. ein(e) hdata - Name/Variable (der Wert wird automatisch in eine Zeichenkette konvertiert), standardmäßig wird für "window" und "buffer" das aktuelle Fenster/Buffer verwendet.
|
||||
10. eine Zeichenkette umkehren (Format: "rev:xxx" oder "revscr:xxx")
|
||||
11. eine Zeichenkette wiederholen (Format: "repeat:Anzahl,Zeichenkette")
|
||||
12. Länge einer Zeichenkette (Format: "length:xxx" oder "lengthscr:xxx")
|
||||
13. Aufteilen einer Zeichenkette (Format: "split:Anzahl,Trennzeichen,Flags,xxx")
|
||||
14. Aufteilen von Shell-Argumenten (Format: "split_shell:Anzahl,xxx")
|
||||
15. eine Farbe (Format: "color:xxx", siehe "Anleitung für API Erweiterung", Funktion "color")
|
||||
16. zum modifizieren (Format: "modifier:name,data,string")
|
||||
17. eine Info (Format: "Info:Name,Argumente", Argumente sind optional)
|
||||
18. eine Basis 16/32/64 kodierte / dekodierte Zeichenfolge (Format: "base_encode:base,xxx" oder "base_decode:base,xxx")
|
||||
19. aktuelles Datum/Uhrzeit (Format: "date" oder "date:format")
|
||||
20. eine Umgebungsvariable (Format: "env:XXX")
|
||||
21. ein Dreifachoperand (Format: "if:Bedingung?Wert_falls_wahr:Wert_falls_unwahr")
|
||||
22. Ergebnis eines Ausdrucks mit Klammern und Operatoren + - * / // % ** (Format: "calc:xxx")
|
||||
23. eine zufällige ganze Zahl (Format: "random:min,max")
|
||||
24. eine übersetzte Zeichenkette (Format: "translate:xxx")
|
||||
25. eine Benutzervariable definieren (Format: "define:Name,Wert")
|
||||
26. eine Option (Format: "file.section.option")
|
||||
27. eine lokale Variable eines Buffers
|
||||
28. ein(e) hdata - Name/Variable (der Wert wird automatisch in eine Zeichenkette konvertiert), standardmäßig wird für "window" und "buffer" das aktuelle Fenster/Buffer verwendet.
|
||||
Das Format für hdata kann wie folgt aufgebaut sein:
|
||||
hdata.var1.var2...: startet mit hdata (der Pointer muss bekannt sein) und fragt eine Variable nach der anderen ab (weitere hdata können folgen)
|
||||
hdata[list].var1.var2...: startet hdata mittels einer Liste, zum Beispiel:
|
||||
@@ -1452,6 +1455,8 @@ Beispiele (einfache Zeichenketten):
|
||||
/eval -n ${window.buffer.full_name} ==> core.weechat
|
||||
/eval -n ${window.buffer.number} ==> 1
|
||||
/eval -n ${\t} ==> <tab>
|
||||
/eval -n ${lower:TEST} ==> test
|
||||
/eval -n ${upper:test} ==> TEST
|
||||
/eval -n ${hide:-,${relay.network.password}} ==> --------
|
||||
/eval -n ${cut:3,+,test} ==> tes+
|
||||
/eval -n ${cut:+3,+,test} ==> te+
|
||||
@@ -1497,7 +1502,7 @@ Beispiele (Bedingungen):
|
||||
add|addreplace <name> <buffer>[,<buffer>...] <tags> <regex>
|
||||
rename <name> <new_name>
|
||||
recreate <name>
|
||||
del <name>|-all
|
||||
del <name>|-all [<name>...]
|
||||
|
||||
list: alle Filter auflisten
|
||||
enable: Filter wird aktiviert (Filter werden standardmäßig aktiviert)
|
||||
@@ -1646,6 +1651,49 @@ Auflistung der möglichen Aktionen:
|
||||
Dieser Befehl wird sinnvollerweise mittels Tastenbelegungen oder Erweiterungen genutzt.
|
||||
----
|
||||
|
||||
[[command_weechat_item]]
|
||||
* `+item+`: Verwalten von benutzerdefinierten Bar-Items
|
||||
|
||||
----
|
||||
/item list
|
||||
add|addreplace <name> "<conditions>" "<content>"
|
||||
rename <name> <new_name>
|
||||
refresh <name> [<name>...]
|
||||
recreate <name>
|
||||
del <name>|-all
|
||||
|
||||
list: zeigt eine Liste aller benutzerdefinierten Bar-Items
|
||||
add: fügt ein benutzerdefiniertes Bar-Item hinzu
|
||||
addreplace: erzeugt neues Bar-Item oder ersetzt ein schon existierendes Bar-Item
|
||||
name: benutzerdefinierter Name des Bar-Items
|
||||
conditions: evaluierte Bedingungen um ein Bar-Item anzuzeigen (zum Beispiel um ein Bar-Item nur in einem bestimmten Buffer anzuzeigen)
|
||||
content: Inhalt (evaluiert, siehe /help eval)
|
||||
rename: Umbenennen eines benutzerdefinierten Bar-Items
|
||||
refresh: aktualisiert den Inhalt des Items in allen Bars, in denen das Item angezeigt wird; jedes Item kann aktualisiert werden: standard/Erweiterung/benutzerdefiniertes Bar-Item
|
||||
recreate: kopiert den Befehl in die Eingabezeile um das benutzerdefinierte Bar-Item zu editieren
|
||||
del: entfernt ein benutzerdefiniertes Bar-Item
|
||||
-all: entfernt alle benutzerdefinierten Bar-Items
|
||||
|
||||
Beispiele:
|
||||
Item welches die Terminalgröße anzeigt wird hinzugefügt, aber nur in Buffern mit Nummer angezeigt = 1:
|
||||
/item add terminfo "${buffer.number} == 1" "term:${info:term_width}x${info:term_height}"
|
||||
fügt ein Item hinzu, welches Informationen über den Buffer anzeigt:
|
||||
/item add bufinfo "" "${buffer.number}:${buffer.name}${if:${buffer.zoomed}?(Z)}"
|
||||
fügt ein Item mit Datum/Uhrzeit hinzu, dabei wird das Format "Dec 25, 12:34 +0100" verwendet, aktualisiert, jede Minute:
|
||||
/item add datetime "" "${date:%b %d, %H:%M %z}"
|
||||
/trigger add datetime_refresh timer "60000;60" "" "" "/item refresh datetime"
|
||||
fügt ein Item mit der Anzahl der Zeilen in dem Buffer hinzu (sichtbar/total), jeweils aktualisiertwenn eine neue Zeile dargestellt wird oder wenn sich der Status der gefilterten Zeilen geändert hat:
|
||||
/item add lines_count "" "${calc:${buffer.lines.lines_count}-${buffer.lines.lines_hidden}}/${buffer.lines.lines_count} lines"
|
||||
/trigger add lines_count_refresh_print print "" "" "" "/item refresh lines_count"
|
||||
/trigger add lines_count_refresh_signal signal "window_switch;buffer_switch;buffer_lines_hidden;filters_*" "" "" "/item refresh lines_count"
|
||||
erzwingt die Aktualisierung des Items "lines_count":
|
||||
/item refresh lines_count
|
||||
erstellt das Item "lines_count", mit anderen Bedingungen oder Inhalten, neu:
|
||||
/item recreate lines_count
|
||||
entfernt das Item "lines_count":
|
||||
/item del lines_count
|
||||
----
|
||||
|
||||
[[command_weechat_key]]
|
||||
* `+key+`: Einer Taste einen Befehl zuordnen oder entfernen
|
||||
|
||||
@@ -2846,7 +2894,7 @@ protocol.name: Protokoll und Name des Relay:
|
||||
- Protokoll "weechat" (es wird kein Name verwendet)
|
||||
|
||||
Das "irc" Protokoll dient dazu eine Verbindung zu einem anderen IRC Client (oder zu einem zweiten WeeChat) herzustellen.
|
||||
Das "weechat" Protokoll wird von einem Remote-Interface genutzt um eine Verbindung auf dem Port herzustellen. Siehe https://weechat.org/about/interfaces
|
||||
Das "weechat" Protokoll wird von einem Remote-Interface genutzt um eine Verbindung auf dem Port herzustellen. Siehe https://weechat.org/about/interfaces/
|
||||
|
||||
Ohne Angabe von Argumenten werden alle Relay-Clients in einem neuen Buffer dargestellt.
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// tag::plugin_options[]
|
||||
Um eine vollständige Dokumentation der Optionen zu erhalten, siehe
|
||||
https://weechat.org/doc[WeeChat user's guide].
|
||||
https://weechat.org/doc/[WeeChat user's guide].
|
||||
|
||||
Mittels der IRC Erweiterung kann man sich zu einen temporären Server verbinden lassen,
|
||||
indem man eine URL verwendet:
|
||||
|
||||
@@ -63,4 +63,4 @@ include::includes/man.de.adoc[tag=copyright]
|
||||
|
||||
== SUPPORT / FEHLER MELDEN
|
||||
|
||||
für Hilfe oder um einen Fehler zu melden: https://weechat.org/about/support
|
||||
für Hilfe oder um einen Fehler zu melden: https://weechat.org/about/support/
|
||||
|
||||
@@ -59,4 +59,4 @@ include::includes/man.de.adoc[tag=copyright]
|
||||
|
||||
== SUPPORT / FEHLER MELDEN
|
||||
|
||||
für Hilfe oder um einen Fehler zu melden: https://weechat.org/about/support
|
||||
für Hilfe oder um einen Fehler zu melden: https://weechat.org/about/support/
|
||||
|
||||
+73
-59
@@ -38,7 +38,8 @@ Aber diese Bedeutung trifft nicht auf WeeChat zu!)
|
||||
|
||||
WeeChat ist sehr speicherschonend und besticht durch innovative Funktionen.
|
||||
|
||||
Weitere Informationen findet man auf der WeeChat Seite: https://weechat.org/about/features
|
||||
Weitere Infomationen über Weechat
|
||||
https://weechat.org/about/features/[features page ^↗^,window=_blank].
|
||||
|
||||
[[compilation_install]]
|
||||
== Kompilierung / Installation
|
||||
@@ -46,17 +47,17 @@ Weitere Informationen findet man auf der WeeChat Seite: https://weechat.org/abou
|
||||
[[gui]]
|
||||
=== Ich habe gehört es gibt verschiedene GUIs für WeeChat. Wie kann ich diese kompilieren bzw. nutzen?
|
||||
|
||||
Es sind einige Remote-Oberflächen verfügbar. Diese findet man auf der Homepage:
|
||||
https://weechat.org/about/interfaces
|
||||
Einige Remote-GUIs sind verfügbar, siehe
|
||||
https://weechat.org/about/interfaces/[remote interfaces page ^↗^,window=_blank].
|
||||
|
||||
[[compile_git]]
|
||||
=== Ich kann WeeChat nach Cloning des git Repository nicht kompilieren - weshalb?
|
||||
|
||||
Es wird empfohlen link:weechat_user.de.html#compile_with_cmake[CMake] zum
|
||||
Es wird empfohlen link:weechat_user.de.html#compile_with_cmake[CMake ^↗^,window=_blank] zum
|
||||
kompilieren von WeeChat zu nutzen.
|
||||
|
||||
Falls Du WeeChat mit Hilfe der
|
||||
link:weechat_user.de.html#compile_with_autotools[autotools] kompilieren solltest
|
||||
link:weechat_user.de.html#compile_with_autotools[autotools ^↗^,window=_blank] kompilieren solltest
|
||||
(dich also nicht für CMake entscheidest), stelle sicher, dass Du die neueste
|
||||
Version von autoconf und automake besitzt.
|
||||
|
||||
@@ -69,7 +70,7 @@ das Repository klont und daraus Updates installiert.
|
||||
[[compile_macos]]
|
||||
=== Wie installiere ich WeeChat auf macOS?
|
||||
|
||||
Wir empfehlen, dass zur Installation https://brew.sh/[Homebrew] genutzt wird.
|
||||
Wir empfehlen, dass zur Installation https://brew.sh/[Homebrew ^↗^,window=_blank] genutzt wird.
|
||||
Hilfe erhält man mittels:
|
||||
|
||||
----
|
||||
@@ -87,12 +88,12 @@ brew install weechat
|
||||
|
||||
Um Hilfe zu erhalten, nutze den `/help` Befehl.
|
||||
Jeder Befehl besitzt einen Hilfstext, den man sich durch `/help Befehlsname` anzeigen lassen kann.
|
||||
Die link:weechat_user.de.html#key_bindings[Standard Tastenbelegung] sowie
|
||||
link:weechat_user.de.html#commands_and_options[Befehle und Optionen] sind im
|
||||
link:weechat_user.de.html[Benutzerhandbuch] aufgeführt.
|
||||
Die link:weechat_user.de.html#key_bindings[Standard Tastenbelegung ^↗^,window=_blank] sowie
|
||||
link:weechat_user.de.html#commands_and_options[Befehle und Optionen ^↗^,window=_blank] sind im
|
||||
link:weechat_user.de.html[Benutzerhandbuch ^↗^,window=_blank] aufgeführt.
|
||||
|
||||
Neuen Anwendern wird empfohlen,
|
||||
die link:weechat_quickstart.de.html[Quickstart Anleitung] zu lesen.
|
||||
die link:weechat_quickstart.de.html[Quickstart Anleitung ^↗^,window=_blank] zu lesen.
|
||||
|
||||
[[display]]
|
||||
== Anzeige
|
||||
@@ -125,7 +126,7 @@ Es ist deshalb wichtig, *ALLE* der folgenden Lösungsmöglichkeiten zu prüfen:
|
||||
("`defutf8 on`" in der Datei ~/.screenrc oder `screen -U` beim Starten von
|
||||
screen).
|
||||
* Überprüfe die Option
|
||||
link:weechat_user.de.html#option_weechat.look.eat_newline_glitch[_weechat.look.eat_newline_glitch_]
|
||||
link:weechat_user.de.html#option_weechat.look.eat_newline_glitch[_weechat.look.eat_newline_glitch_ ^↗^,window=_blank]
|
||||
(diese Option kann schwerwiegenden Darstellungsfehler verursachen, wenn man die Option aktiviert hat).
|
||||
|
||||
[NOTE]
|
||||
@@ -141,10 +142,10 @@ Dieser Fehler sollte durch glibc 2.22 behoben sein (vielleicht ist diese Version
|
||||
verwendeten Distributionen noch nicht verfügbar).
|
||||
|
||||
Es gibt folgende Übergangslösung, um das Problem mit der _wcwidth_ zu umgehen:
|
||||
https://blog.nytsoi.net/2015/05/04/emoji-support-for-weechat
|
||||
https://blog.nytsoi.net/2015/05/04/emoji-support-for-weechat[https://blog.nytsoi.net/2015/05/04/emoji-support-for-weechat ^↗^,window=_blank].
|
||||
|
||||
Siehe auch diese Fehlermeldung für weitere Informationen:
|
||||
https://github.com/weechat/weechat/issues/79
|
||||
Siehe https://github.com/weechat/weechat/issues/79[bug report ^↗^,window=_blank]
|
||||
für weitere Informationen.
|
||||
|
||||
[[bars_background]]
|
||||
=== Weshalb haben Bars, z.B. Titel und Status, keine Hintergrundfarbe bzw. diese endet direkt nach dem Text?
|
||||
@@ -199,7 +200,7 @@ von einem oder mehreren Fenstern gleichzeitig angezeigt werden.
|
||||
[[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 link:weechat_user.de.html#buflist_plugin["buflist"-Erweiterung]
|
||||
Ab WeeChat ≥ 1.8 wird standardmäßig die link:weechat_user.de.html#buflist[buflist-Erweiterung ^↗^,window=_blank]
|
||||
automatisch geladen und verwendet.
|
||||
|
||||
Bei älteren Versionen kann stattdessen das Skript _buffers.pl_ installiert werden:
|
||||
@@ -247,7 +248,7 @@ finden folgende WeeChat-Befehle Anwendung:
|
||||
[NOTE]
|
||||
Die Tasten "meta-OP" und "meta-OQ" können im Hinblick auf das jeweils genutzte Terminal variieren.
|
||||
Um die korrekten Tasten zu finden, sollte man mit kbd:[Alt+k] die gewünschte Tastenkombination einfangen.
|
||||
Siehe auch: link:weechat_user.de.html#key_bindings_command_line[Benutzerhandbuch / Tastenbelegung].
|
||||
Siehe auch: link:weechat_user.de.html#key_bindings_command_line[Benutzerhandbuch / Tastenbelegung ^↗^,window=_blank].
|
||||
|
||||
[[customize_buflist]]
|
||||
=== Wie kann ich die Darstellung der Bufferliste anpassen, z.B. die Farbe des aktiven Buffers?
|
||||
@@ -271,8 +272,8 @@ Es kann auch eine beliebige numerische Farbe anstelle von "Rot" verwendet werden
|
||||
|
||||
Die Buflist-Erweiterung bietet viele Optionen, zum individualisieren. Bitte lesen Sie dazu die Hilfe von jeder Option.
|
||||
|
||||
Es gibt auch eine Wiki-Seite mit Beispielen, wie eine erweiterte Konfiguration aussehen kann:
|
||||
https://github.com/weechat/weechat/wiki/buflist
|
||||
Es gibt zusätzlich die https://github.com/weechat/weechat/wiki/buflist[wiki page ^↗^,window=_blank]
|
||||
mit Beispielen für die erweiterte buflist Konfiguration.
|
||||
|
||||
[[customize_prefix]]
|
||||
=== Wie kann ich die Länge eines Nicknamens begrenzen oder die Ausrichtung des Nicks im Chatbereich entfernen?
|
||||
@@ -318,8 +319,8 @@ Diese Farben können mit den Optionen __weechat.color.status_data_*__
|
||||
Weitere hotlist Eigenschaften können mit Hilfe der Optionen __weechat.look.hotlist_*__
|
||||
verändert werden.
|
||||
|
||||
Siehe link:weechat_user.de.html#screen_layout[Benutzerhandbuch / Screen layout] für
|
||||
weitere Informationen zur Hotlist.
|
||||
Siehe link:weechat_user.de.html#screen_layout[Benutzerhandbuch / Screen layout ^↗^,window=_blank]
|
||||
für weitere Informationen zur Hotlist.
|
||||
|
||||
[[input_bar_size]]
|
||||
=== Wie kann man eine mehrzeilige Eingabezeile einstellen?
|
||||
@@ -494,8 +495,8 @@ 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[Benutzerhandbuch / Farben] für weitere
|
||||
Informationen die das Farbmanagement betreffen.
|
||||
Bitte lese link:weechat_user.de.html#colors[Benutzerhandbuch / Farben ^↗^,window=_blank]
|
||||
für weitere Informationen die das Farbmanagement betreffen.
|
||||
|
||||
[[search_text]]
|
||||
=== Wie kann ich in einem Buffer nach einem Text suchen (vergleichbar /lastlog in irssi)?
|
||||
@@ -505,8 +506,8 @@ Die Standardtastenbelegung lautet kbd:[Ctrl+r]
|
||||
Um zu Highlight-Nachrichten zu springen:
|
||||
kbd:[Alt+p] für vorherige, kbd:[Alt+n] für die nächste Nachricht.
|
||||
|
||||
siehe link:weechat_user.de.html#key_bindings[Benutzerhandbuch / Standard Tastenbelegung] für weitere
|
||||
Informationen zu dieser Funktion.
|
||||
siehe link:weechat_user.de.html#key_bindings[Benutzerhandbuch / Standard Tastenbelegung ^↗^,window=_blank]
|
||||
für weitere Informationen zu dieser Funktion.
|
||||
|
||||
[[terminal_focus]]
|
||||
=== Wie kann ich Befehle ausführen, wenn der Terminal (keinen) Fokus hat?
|
||||
@@ -686,7 +687,7 @@ Es kann auch eine neue Taste eingebunden werden um zu einem Buffer zu wechseln:
|
||||
----
|
||||
|
||||
Eine Auflistung der Standardtastenbelegung findet man in
|
||||
link:weechat_user.de.html#key_bindings[Benutzerhandbuch / Standard Tastenbelegung].
|
||||
link:weechat_user.de.html#key_bindings[Benutzerhandbuch / Standard Tastenbelegung ^↗^,window=_blank].
|
||||
|
||||
Um zu Buffern zu wechseln die an Position ≥ 100 sind kann ein Trigger definiert
|
||||
werden um dann z.B. mit einem Kurzbefehl `/123` zum Buffer #123 zu springen:
|
||||
@@ -865,7 +866,7 @@ ersetzt werden:
|
||||
----
|
||||
|
||||
[[irc_sasl]]
|
||||
=== Wie kann ich mich vor dem Betreten von Channels identifizieren?
|
||||
=== Wie kann ich mich vor dem Betreten von Kanälen identifizieren?
|
||||
|
||||
Sollte der Server SASL unterstützen,
|
||||
ist es ratsam auf diese Funktion zurückzugreifen
|
||||
@@ -878,14 +879,14 @@ und sich nicht mittels "nickserv" zu authentifizieren:
|
||||
|
||||
Unterstützt der Server keine SASL Authentifizierung,
|
||||
kann eine Verzögerung aktiviert werden,
|
||||
um sich vor dem Betreten von Channels bei "nickserv" zu identifizieren:
|
||||
um sich vor dem Betreten von Kanälen bei "nickserv" zu identifizieren:
|
||||
|
||||
----
|
||||
/set irc.server.libera.command_delay 5
|
||||
----
|
||||
|
||||
[[edit_autojoin]]
|
||||
=== Wie kann ich Channels zur autojoin Option entfernen/hinzufügen?
|
||||
=== Wie kann ich Kanäle zur autojoin Option hinzufügen oder entfernen?
|
||||
|
||||
Ab WeeChat ≥ 3.5 können Sie die Kanäle, denen Sie manuell betreten und verlassen,
|
||||
automatisch aufzeichnen und die Serveroption „autojoin“ entsprechend anpassen.
|
||||
@@ -893,18 +894,31 @@ automatisch aufzeichnen und die Serveroption „autojoin“ entsprechend anpasse
|
||||
Für alle Server:
|
||||
|
||||
----
|
||||
/set irc.server_default.autojoin_record on
|
||||
/set irc.server_default.autojoin_dynamic on
|
||||
----
|
||||
|
||||
Für einen einzelnen Server:
|
||||
|
||||
----
|
||||
/set irc.server.libera.autojoin_record on
|
||||
/set irc.server.libera.autojoin_dynamic on
|
||||
----
|
||||
|
||||
Um die Liste der autojoin Channels zu editieren,
|
||||
kann der Befehl `/set` genutzt werden.
|
||||
In folgendem Beispiel wird der "libera"-Server angepasst:
|
||||
Ab WeeChat ≥ 3.5 kann man mit dem `/autojoin` Befehl den
|
||||
aktuellen Kanal in die Serveroption autojoin hinzufügen:
|
||||
|
||||
----
|
||||
/autojoin add
|
||||
----
|
||||
|
||||
oder einen beliebigen Kanal:
|
||||
|
||||
----
|
||||
/autojoin add #test
|
||||
----
|
||||
|
||||
Bis WeeChat ≤ 3.4, wird der `/set` Befehl verwendet, um die
|
||||
Liste der autojoin-Kanäle zu editieren. In folgendem Beispiel
|
||||
wird der "libera"-Server angepasst:
|
||||
|
||||
----
|
||||
/set irc.server.libera.autojoin [TAB]
|
||||
@@ -914,16 +928,16 @@ In folgendem Beispiel wird der "libera"-Server angepasst:
|
||||
Man kann den Namen oder den Wert einer Option mit kbd:[Tab] vervollständigen
|
||||
oder mittels kbd:[Shift+Tab] eine teilweise Vervollständigung durchführen,
|
||||
was bei Namen sinnvoll ist, denn so braucht nicht die komplette Liste
|
||||
der Channels neu geschrieben werden.
|
||||
der Kanäle neu geschrieben werden.
|
||||
|
||||
Es kann auch der `/fset` Befehl verwendet werden, um die Liste der Channels
|
||||
Es kann auch der `/fset` Befehl verwendet werden, um die Liste der Kanäle
|
||||
zu editieren:
|
||||
|
||||
----
|
||||
/fset autojoin
|
||||
----
|
||||
|
||||
oder man nutzt ein Skript:
|
||||
Bis WeeChat ≤ 3.4 kann man auch ein Skript nutzen:
|
||||
|
||||
----
|
||||
/script search autojoin
|
||||
@@ -933,9 +947,9 @@ oder man nutzt ein Skript:
|
||||
=== Was ist der Unterschied zwischen dem Befehl /ignore und /filter?
|
||||
|
||||
Der Befehl `/ignore` ist ein (clientseitiger) IRC-Befehl und beeinflusst direkt,
|
||||
welche vom Server empfangenen Nachrichten im IRC-Buffer (Server und Channel) landen.
|
||||
welche vom Server empfangenen Nachrichten im IRC-Buffer (Server und Kanäle) landen.
|
||||
Durch diesen Befehl können bestimmte Nicks oder Hostnamen von bestimmten Servern
|
||||
oder Channels ignoriert werden.
|
||||
oder Kanäle ignoriert werden.
|
||||
Der Befehl wird nicht auf den Inhalt eines IRC-Buffers angewandt.
|
||||
Zutreffende Meldungen werden, bevor sie dem Buffer zugeführt werden,
|
||||
von der "irc"-Erweiterung gelöscht. Es gibt somit keine Möglichkeit,
|
||||
@@ -956,7 +970,7 @@ Die voreingestellte Tastenkombination zum Aktivieren bzw. Deaktivieren
|
||||
aller Filter ist kbd:[Alt+-].
|
||||
|
||||
[[filter_irc_join_part_quit]]
|
||||
=== Wie kann ich join/part/quit Meldungen in den IRC Channels filtern/unterdrücken?
|
||||
=== Wie kann ich join/part/quit Meldungen in den IRC Kanälen filtern/unterdrücken?
|
||||
|
||||
Zum einen mit dem Smart-Filter.
|
||||
Bei dessen Anwendung werden join/part/quit-Meldungen von Usern angezeigt,
|
||||
@@ -976,19 +990,19 @@ Dabei werden *alle* join/part/quit Nachrichten unterdrückt:
|
||||
|
||||
[NOTE]
|
||||
Für weitere Hilfe: `/help filter`, `+/help irc.look.smart_filter+` und
|
||||
link:weechat_user.de.html#irc_smart_filter_join_part_quit[Benutzerhandbuch / einfacher Filter für join/part/quit Nachrichten].
|
||||
link:weechat_user.de.html#irc_smart_filter_join_part_quit[Benutzerhandbuch / einfacher Filter für join/part/quit Nachrichten ^↗^,window=_blank].
|
||||
|
||||
[[filter_irc_join_channel_messages]]
|
||||
=== Wie kann ich Server-Nachrichten filtern, wenn ich einen IRC Channel betrete?
|
||||
=== Wie kann ich Server-Nachrichten filtern, wenn ich einen IRC Kanal betrete?
|
||||
|
||||
Ab WeeChat ≥ 0.4.1 kann man auswählen, welche Server-Nachrichten beim Betreten
|
||||
eines Channels angezeigt und welche verborgen werden sollen. Dazu nutzt man
|
||||
eines Kanals angezeigt und welche verborgen werden sollen. Dazu nutzt man
|
||||
die Option _irc.look.display_join_message_ (für weitere Informationen, siehe
|
||||
`+/help irc.look.display_join_message+`).
|
||||
|
||||
Um Nachrichten visuell zu verbergen, können diese gefiltert werden.
|
||||
Dazu wird der Befehl `/filter` auf bestimmte Nachrichten-Tags angewandt.
|
||||
Das Tag _irc_329_ kennzeichnet beispielsweise das Erstellungsdatum des Channels.
|
||||
Das Tag _irc_329_ kennzeichnet beispielsweise das Erstellungsdatum des Kanals.
|
||||
Siehe `/help filter`, um weitere Informationen über die Filterfunktion zu
|
||||
erhalten.
|
||||
|
||||
@@ -1003,13 +1017,13 @@ da diese dazu genutzt werden um den Abwesenheitsstatus anderer User anzuzeigen
|
||||
und man nicht von diesen Mitteilungen überflutet werden möchte,
|
||||
kann man WeeChat anweisen, abwesende Nicks in einer anderen Farbe darzustellen.
|
||||
|
||||
Nutzt man Bitlbee ≥ 3, sollte man im _&bitlbee_ Channel folgendes eingeben:
|
||||
Nutzt man Bitlbee ≥ 3, sollte man im _&bitlbee_ Kanal folgendes eingeben:
|
||||
|
||||
----
|
||||
channel set show_users online,away
|
||||
----
|
||||
|
||||
für ältere Versionen von Bitlbee gibt man im _&bitlbee_ Channel ein:
|
||||
für ältere Versionen von Bitlbee gibt man im _&bitlbee_ Kanal ein:
|
||||
|
||||
----
|
||||
set away_devoice false
|
||||
@@ -1035,12 +1049,12 @@ in welchem Zeitintervall die Überprüfungen auf Abwesenheit stattfinden sollen.
|
||||
Die Angabe des Wertes erfolgt in Minuten.
|
||||
|
||||
Mit der Option _irc.server_default.away_check_max_nicks_ kann festgelegt werden,
|
||||
in welchen Channels eine Überprüfung stattfinden soll.
|
||||
Hierbei stellt der angegebene Wert die maximale Anzahl an Nicks in einem Channel dar,
|
||||
die den Channel gleichzeitig besuchen dürfen.
|
||||
in welchen Kanälen eine Überprüfung stattfinden soll.
|
||||
Hierbei stellt der angegebene Wert die maximale Anzahl an Nicks in einem Kanal dar,
|
||||
die den Kanal gleichzeitig besuchen dürfen.
|
||||
|
||||
Im folgenden Beispiel wird der Abwesenheitsstatus alle fünf Minuten überprüft.
|
||||
Dabei werden aber nur solche Channels berücksichtigt, die nicht mehr als 25
|
||||
Dabei werden aber nur solche Kanäle berücksichtigt, die nicht mehr als 25
|
||||
Teilnehmer haben:
|
||||
|
||||
----
|
||||
@@ -1053,7 +1067,7 @@ Für WeeChat ≤ 0.3.3, lauten die Optionen _irc.network.away_check_ und
|
||||
_irc.network.away_check_max_nicks_.
|
||||
|
||||
[[highlight_notification]]
|
||||
=== Wie kann ich mich benachrichtigen lassen, falls mich jemand in einem Channel direkt anspricht (highlight)?
|
||||
=== Wie kann ich mich benachrichtigen lassen, falls mich jemand in einem Kanal direkt anspricht (highlight)?
|
||||
|
||||
Seit WeeChat ≥ 1.0 gibt es standardmäßig den Trigger "beep",
|
||||
der an das Terminal ein _BEL_ Signal schickt,
|
||||
@@ -1086,7 +1100,7 @@ Es gibt weitere Skripten, die auch zu diesem Thema passen:
|
||||
=== Wie kann ich Highlights (Hervorhebungen) von bestimmten Nicks deaktivieren?
|
||||
|
||||
Ab WeeChat ≥ 0.3.4 kann die Eigenschaft
|
||||
link:weechat_user.de.html#max_hotlist_level_nicks[hotlist_max_level_nicks_add]
|
||||
link:weechat_user.de.html#max_hotlist_level_nicks[hotlist_max_level_nicks_add ^↗^,window=_blank]
|
||||
für den entsprechenden Buffer gesetzt werden.
|
||||
Dies kann für einzelne Nicks,
|
||||
einen Buffer oder eine Gruppe von Buffern (z.B. IRC Server) gelten.
|
||||
@@ -1106,7 +1120,7 @@ das Skript _buffer_autoset.py_ nutzen:
|
||||
/script install buffer_autoset.py
|
||||
----
|
||||
|
||||
Um zum Beispiel Highlights (Hervorhebungen) von Nick "mike" im Channel
|
||||
Um zum Beispiel Highlights (Hervorhebungen) von Nick "mike" im Kanal
|
||||
#weechat auf dem IRC Server libera zu deaktivieren:
|
||||
|
||||
----
|
||||
@@ -1299,7 +1313,7 @@ Definiere eine Passphrase und nutze ausschließlich geschützte Daten wann immer
|
||||
es möglich ist, wie z.B. bei Passwörtern: siehe `/help secure` und nutze `/help`
|
||||
bei der entsprechenden Option (falls man geschützte Daten nutzen kann, wird es
|
||||
im Hilfstext erwähnt).
|
||||
Siehe auch link:weechat_user.de.html#secured_data[Benutzerhandbuch / sensible Daten].
|
||||
Siehe auch link:weechat_user.de.html#secured_data[Benutzerhandbuch / sensible Daten ^↗^,window=_blank].
|
||||
|
||||
Beispiel:
|
||||
|
||||
@@ -1320,7 +1334,7 @@ Ihrer Passphrase verschlüsselten Kennwörter enthält.
|
||||
Einige andere Dateien enthalten möglicherweise vertrauliche Informationen wie
|
||||
Kennwörter (sofern sie nicht mit dem Befehl `/secure` in _sec.conf_ gesichert werden).
|
||||
|
||||
Siehe link:weechat_user.de.html#files_and_directories[Benutzerhandbuch / Dateien und Verzeichnisse]
|
||||
Siehe link:weechat_user.de.html#files_and_directories[Benutzerhandbuch / Dateien und Verzeichnisse ^↗^,window=_blank]
|
||||
für weitere Informationen über Konfigurationsdateien.
|
||||
|
||||
[[development]]
|
||||
@@ -1329,7 +1343,7 @@ für weitere Informationen über Konfigurationsdateien.
|
||||
[[bug_task_patch]]
|
||||
=== Was kann ich machen, falls ich einen Fehler gefunden habe, mich nach neuen Funktionen erkundigen oder Patches einsenden möchte?
|
||||
|
||||
siehe: https://weechat.org/about/support
|
||||
siehe https://weechat.org/about/support/[this page ^↗^,window=_blank].
|
||||
|
||||
[[gdb_error_threads]]
|
||||
=== Wenn man WeeChat in gdb startet, kann ein Thread-Fehler auftreten. Was beudeutet das?
|
||||
@@ -1367,11 +1381,11 @@ Das Gleiche gilt für Systeme, zu denen wir keinen Zugang haben.
|
||||
|
||||
Es gibt einiges zu tun - z.B. testen, programmieren, dokumentieren, ...
|
||||
|
||||
Bitte kontaktiere uns via IRC oder E-Mail, wirf einen Blick auf die Support-Seite:
|
||||
https://weechat.org/about/support
|
||||
Bitte kontaktieren Sie uns per IRC oder Mail, siehe
|
||||
https://weechat.org/about/support/[support page ^↗^,window=_blank].
|
||||
|
||||
[[donate]]
|
||||
=== Kann ich Geld oder anderes an die WeeChat Entwickler spenden?
|
||||
|
||||
Du kannst uns Geld zur Unterstützung der weiteren Entwicklung spenden.
|
||||
Details hierzu gibt es auf: https://weechat.org/donate
|
||||
Sie können uns Geld spenden, um die Entwicklung zu unterstützen.
|
||||
Details dazu, unter https://weechat.org/donate/[donation page ^↗^,window=_blank].
|
||||
|
||||
@@ -223,11 +223,15 @@ in folgender Option erreicht werden:
|
||||
/set irc.server.libera.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. dem Namen einer Option, nützlich
|
||||
sein kann).
|
||||
Mit dem `/autojoin` Befehl können die _autojoin_ Optionen einfach konfiguriert werden.
|
||||
(siehe `/help autojoin`).
|
||||
|
||||
WeeChat kann auch konfigurieren werden, dass die _autojoin_ Optionen automatisch aktualisiert werden
|
||||
sobald man Kanäle betritt oder verlässt:
|
||||
|
||||
----
|
||||
/set irc.server_default.autojoin_dynamic on
|
||||
----
|
||||
|
||||
Mit dem Befehl `/unset` können Server-Optionen zurückgesetzt werden.
|
||||
Ist eine Server-Option zurückgesetzt, _wirkt_ der entsprechende Vorgabewert
|
||||
@@ -246,6 +250,12 @@ Werte anderer Server-Optionen (`xxx`) können festgelegt werden mit:
|
||||
/set irc.server.libera.xxx Wert
|
||||
----
|
||||
|
||||
[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. dem Namen einer Option, nützlich
|
||||
sein kann).
|
||||
|
||||
[[connect_to_irc_server]]
|
||||
== Verbinden mit dem IRC-Server
|
||||
|
||||
@@ -431,14 +441,14 @@ Zeige eine liste aller verfügbaren Skripten:
|
||||
/script
|
||||
----
|
||||
|
||||
Auf *weechat.org* von Drittanbietern bereitgestellte Scripten: https://weechat.org/scripts
|
||||
Eine Liste von Skripten ist in WeeChat mittels `/script` oder auf
|
||||
https://weechat.org/scripts/[this page ^↗^,window=_blank] verfügbar.
|
||||
|
||||
[[more_doc]]
|
||||
== Weitere Dokumentation
|
||||
|
||||
Mit dieser Quickstart-Anleitung wurden dir die wesentlichen
|
||||
Bedienungswerkzeuge von WeeChat nähergebracht.
|
||||
Für das eingehende Studium aller verfügbaren Funktionalitäten
|
||||
sei dir unsere ausführliche FAQ/Dokumentation ans Herz gelegt: https://weechat.org/doc
|
||||
WeeChat kann nun verwendet werden und lesen Sie
|
||||
https://weechat.org/doc/[FAQ/documentation ^↗^,window=_blank]
|
||||
falls Sie weitere Fragen haben.
|
||||
|
||||
Viel Spass mit WeeChat!
|
||||
|
||||
+121
-120
@@ -17,8 +17,8 @@
|
||||
|
||||
Diese Anleitung beschreibt den WeeChat Chat Client und ist Teil von WeeChat.
|
||||
|
||||
Die aktuelle Version dieser Anleitung finden Sie auf:
|
||||
https://weechat.org/doc
|
||||
Die neueste Version dieses Dokuments finden Sie unter
|
||||
https://weechat.org/doc/[this page ^↗^,window=_blank].
|
||||
|
||||
|
||||
[[introduction]]
|
||||
@@ -67,7 +67,7 @@ Ein Skript darf *NIEMALS* einen fork nutzen oder einen eigenen Thread erstellen,
|
||||
dafür gibt es explizit eine API Funktion, andernfalls kann WeeChat abstürzen. +
|
||||
Wenn etwas in einem Hintergrundprozess ausgeführt werden soll, kann die Funktion
|
||||
`+hook_process+` genutzt werden. Siehe Beispiele im Kapitel <<hook_process,Hintergrundprozesse>>
|
||||
und die Dokumentation für die Funktion `+hook_process+` in link:weechat_plugin_api.en.html#_hook_process[WeeChat plugin API reference] (Englisch).
|
||||
und die Dokumentation für die Funktion `+hook_process+` in link:weechat_plugin_api.en.html#_hook_process[WeeChat plugin API reference ^↗^,window=_blank] (Englisch).
|
||||
|
||||
[[languages_specificities]]
|
||||
=== Besonderheiten der einzelnen Skriptsprachen
|
||||
@@ -81,7 +81,7 @@ und die Dokumentation für die Funktion `+hook_process+` in link:weechat_plugin_
|
||||
WeeChat definiert ein `weechat` Module welches mittels `import weechat`
|
||||
importiert werden muss. +
|
||||
Ein Python-Stub für die WeeChat-API ist im Repository verfügbar:
|
||||
https://raw.githubusercontent.com/weechat/weechat/master/src/plugins/python/weechat.pyi[weechat.pyi].
|
||||
https://raw.githubusercontent.com/weechat/weechat/master/src/plugins/python/weechat.pyi[weechat.pyi ^↗^,window=_blank].
|
||||
|
||||
[[python_functions]]
|
||||
===== Funktionen
|
||||
@@ -109,38 +109,38 @@ Liste ist nicht vollständig):
|
||||
|===
|
||||
| API Funktion | Argumente | Beispiele| Beschreibung
|
||||
|
||||
| hook_modifier |
|
||||
irc_in_yyy |
|
||||
pass:[irc_in_privmsg] +
|
||||
pass:[irc_in_notice] |
|
||||
Eine Nachricht die von der IRC Erweiterung empfangen wurde und bevor sie nach UTF-8 dekodiert wurde (intern
|
||||
| hook_modifier
|
||||
| irc_in_yyy
|
||||
| pass:[irc_in_privmsg] +
|
||||
pass:[irc_in_notice]
|
||||
| Eine Nachricht die von der IRC Erweiterung empfangen wurde und bevor sie nach UTF-8 dekodiert wurde (intern
|
||||
verwendet). +
|
||||
+
|
||||
Es wird empfohlen den Modifier `+irc_in2_yyy+` zu nutzen, da die empfangene Zeichenkette
|
||||
immer UTF-8 gültig ist. +
|
||||
siehe Funktion `+hook_modifier+` in der
|
||||
link:weechat_plugin_api.en.html#_hook_modifier[WeeChat Anleitung für API Erweiterung].
|
||||
link:weechat_plugin_api.en.html#_hook_modifier[WeeChat Anleitung für API Erweiterung ^↗^,window=_blank].
|
||||
|
||||
| hook_signal |
|
||||
xxx,irc_out_yyy +
|
||||
xxx,irc_outtags_yyy |
|
||||
pass:[*,irc_out_privmsg] +
|
||||
| hook_signal
|
||||
| xxx,irc_out_yyy +
|
||||
xxx,irc_outtags_yyy
|
||||
| pass:[*,irc_out_privmsg] +
|
||||
pass:[*,irc_out_notice] +
|
||||
pass:[*,irc_outtags_privmsg] +
|
||||
pass:[*,irc_outtags_notice] |
|
||||
Eine Nachricht welche von der IRC Erweiterung versendet wurde, nachdem diese entsprechend
|
||||
pass:[*,irc_outtags_notice]
|
||||
| Eine Nachricht welche von der IRC Erweiterung versendet wurde, nachdem diese entsprechend
|
||||
der Benutzereinstellung `encode` Charset kodiert (falls abweichend von der `UTF-8` Standardeinstellung). +
|
||||
+
|
||||
Es wird empfohlen das Signal `+xxx,irc_out1_yyy+` zu nutzen, da die empfangene Zeichenkette
|
||||
immer UTF-8 gültig ist. +
|
||||
siehe Funktion `+hook_signal+` in der
|
||||
link:weechat_plugin_api.en.html#_hook_signal[WeeChat Anleitung für API Erweiterung].
|
||||
link:weechat_plugin_api.en.html#_hook_signal[WeeChat Anleitung für API Erweiterung ^↗^,window=_blank].
|
||||
|
||||
| hook_process +
|
||||
hook_process_hashtable |
|
||||
- |
|
||||
- |
|
||||
Ausgabe des Befehls, dass an den Callback gesendet wurde, kann ungültige UTF-8 Daten enthalten.
|
||||
hook_process_hashtable
|
||||
| -
|
||||
| -
|
||||
| Ausgabe des Befehls, dass an den Callback gesendet wurde, kann ungültige UTF-8 Daten enthalten.
|
||||
|
||||
|===
|
||||
|
||||
@@ -390,7 +390,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 link:weechat_plugin_api.en.html[WeeChat Plugin API Reference ^↗^,window=_blank] (Englisch).
|
||||
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
|
||||
@@ -559,7 +559,7 @@ weechat_hook_timer(1000, 0, 1, $timer_cb, 'test');
|
||||
== 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 link:weechat_plugin_api.en.html[WeeChat Plugin API Reference ^↗^,window=_blank] (Englisch).
|
||||
|
||||
[[script_api_functions]]
|
||||
=== Funktionen
|
||||
@@ -570,14 +570,14 @@ Liste der Skript API Funktionen:
|
||||
|===
|
||||
| Kategorie | Funktionen
|
||||
|
||||
| Allgemein |
|
||||
register
|
||||
| Allgemein
|
||||
| register
|
||||
|
||||
| Erweiterungen |
|
||||
plugin_get_name
|
||||
| Erweiterungen
|
||||
| plugin_get_name
|
||||
|
||||
| Strings |
|
||||
charset_set +
|
||||
| Strings
|
||||
| charset_set +
|
||||
iconv_to_internal +
|
||||
iconv_from_internal +
|
||||
gettext +
|
||||
@@ -596,13 +596,13 @@ Liste der Skript API Funktionen:
|
||||
string_eval_expression +
|
||||
string_eval_path_home
|
||||
|
||||
| Verzeichnisse |
|
||||
mkdir_home +
|
||||
| Verzeichnisse
|
||||
| mkdir_home +
|
||||
mkdir +
|
||||
mkdir_parents
|
||||
|
||||
| sortierte Listen |
|
||||
list_new +
|
||||
| sortierte Listen
|
||||
| list_new +
|
||||
list_add +
|
||||
list_search +
|
||||
list_search_pos +
|
||||
@@ -618,8 +618,8 @@ Liste der Skript API Funktionen:
|
||||
list_remove_all +
|
||||
list_free
|
||||
|
||||
| Konfigurationsdatei |
|
||||
config_new +
|
||||
| Konfigurationsdatei
|
||||
| config_new +
|
||||
config_new_section +
|
||||
config_search_section +
|
||||
config_new_option +
|
||||
@@ -656,12 +656,12 @@ Liste der Skript API Funktionen:
|
||||
config_set_desc_plugin +
|
||||
config_unset_plugin
|
||||
|
||||
| Tastenbelegung |
|
||||
key_bind +
|
||||
| Tastenbelegung
|
||||
| key_bind +
|
||||
key_unbind
|
||||
|
||||
| Ausgabe |
|
||||
prefix +
|
||||
| Ausgabe
|
||||
| prefix +
|
||||
color +
|
||||
print (für Python: prnt) +
|
||||
print_date_tags (für Python: prnt_date_tags) +
|
||||
@@ -669,8 +669,8 @@ Liste der Skript API Funktionen:
|
||||
print_y_date_tags (für Python: prnt_y_date_tags) +
|
||||
log_print
|
||||
|
||||
| Hooks |
|
||||
hook_command +
|
||||
| Hooks
|
||||
| hook_command +
|
||||
hook_command_run +
|
||||
hook_timer +
|
||||
hook_fd +
|
||||
@@ -695,8 +695,8 @@ Liste der Skript API Funktionen:
|
||||
unhook +
|
||||
unhook_all
|
||||
|
||||
| Buffer |
|
||||
buffer_new +
|
||||
| Buffer
|
||||
| buffer_new +
|
||||
buffer_new_props +
|
||||
current_buffer +
|
||||
buffer_search +
|
||||
@@ -712,16 +712,16 @@ Liste der Skript API Funktionen:
|
||||
buffer_string_replace_local_var +
|
||||
buffer_match_list
|
||||
|
||||
| Fenster |
|
||||
current_window +
|
||||
| Fenster
|
||||
| current_window +
|
||||
window_search_with_buffer +
|
||||
window_get_integer +
|
||||
window_get_string +
|
||||
window_get_pointer +
|
||||
window_set_title
|
||||
|
||||
| Nickliste |
|
||||
nicklist_add_group +
|
||||
| Nickliste
|
||||
| nicklist_add_group +
|
||||
nicklist_search_group +
|
||||
nicklist_add_nick +
|
||||
nicklist_search_nick +
|
||||
@@ -737,8 +737,8 @@ Liste der Skript API Funktionen:
|
||||
nicklist_nick_get_pointer +
|
||||
nicklist_nick_set
|
||||
|
||||
| Bars |
|
||||
bar_item_search +
|
||||
| Bars
|
||||
| bar_item_search +
|
||||
bar_item_new +
|
||||
bar_item_update +
|
||||
bar_item_remove +
|
||||
@@ -748,23 +748,23 @@ Liste der Skript API Funktionen:
|
||||
bar_update +
|
||||
bar_remove
|
||||
|
||||
| Befehle |
|
||||
command +
|
||||
| Befehle
|
||||
| command +
|
||||
command_options
|
||||
|
||||
| Vervollständigung |
|
||||
completion_new +
|
||||
| Vervollständigung
|
||||
| completion_new +
|
||||
completion_search +
|
||||
completion_get_string +
|
||||
completion_list_add +
|
||||
completion_free
|
||||
|
||||
| Informationen |
|
||||
info_get +
|
||||
| Informationen
|
||||
| info_get +
|
||||
info_get_hashtable
|
||||
|
||||
| Infolisten |
|
||||
infolist_new +
|
||||
| Infolisten
|
||||
| infolist_new +
|
||||
infolist_new_item +
|
||||
infolist_new_var_integer +
|
||||
infolist_new_var_string +
|
||||
@@ -782,8 +782,8 @@ Liste der Skript API Funktionen:
|
||||
infolist_time +
|
||||
infolist_free
|
||||
|
||||
| hdata |
|
||||
hdata_get +
|
||||
| hdata
|
||||
| hdata_get +
|
||||
hdata_get_var_offset +
|
||||
hdata_get_var_type_string +
|
||||
hdata_get_var_array_size +
|
||||
@@ -804,8 +804,8 @@ Liste der Skript API Funktionen:
|
||||
hdata_update +
|
||||
hdata_get_string
|
||||
|
||||
| Upgrade |
|
||||
upgrade_new +
|
||||
| Upgrade
|
||||
| upgrade_new +
|
||||
upgrade_write_object +
|
||||
upgrade_read +
|
||||
upgrade_close
|
||||
@@ -820,13 +820,13 @@ Liste der Konstanten in Skript API:
|
||||
|===
|
||||
| Kategorie | Konstanten
|
||||
|
||||
| return codes |
|
||||
`WEECHAT_RC_OK` (integer) +
|
||||
| return codes
|
||||
| `WEECHAT_RC_OK` (integer) +
|
||||
`WEECHAT_RC_OK_EAT` (integer) +
|
||||
`WEECHAT_RC_ERROR` (integer)
|
||||
|
||||
| Konfigurationsdatei |
|
||||
`WEECHAT_CONFIG_READ_OK` (integer) +
|
||||
| Konfigurationsdatei
|
||||
| `WEECHAT_CONFIG_READ_OK` (integer) +
|
||||
`WEECHAT_CONFIG_READ_MEMORY_ERROR` (integer) +
|
||||
`WEECHAT_CONFIG_READ_FILE_NOT_FOUND` (integer) +
|
||||
`WEECHAT_CONFIG_WRITE_OK` (integer) +
|
||||
@@ -841,23 +841,23 @@ Liste der Konstanten in Skript API:
|
||||
`WEECHAT_CONFIG_OPTION_UNSET_OK_REMOVED` (integer) +
|
||||
`WEECHAT_CONFIG_OPTION_UNSET_ERROR` (integer)
|
||||
|
||||
| sortierte Listen |
|
||||
`WEECHAT_LIST_POS_SORT` (string) +
|
||||
| sortierte Listen
|
||||
| `WEECHAT_LIST_POS_SORT` (string) +
|
||||
`WEECHAT_LIST_POS_BEGINNING` (string) +
|
||||
`WEECHAT_LIST_POS_END` (string)
|
||||
|
||||
| Hotlist |
|
||||
`WEECHAT_HOTLIST_LOW` (string) +
|
||||
| Hotlist
|
||||
| `WEECHAT_HOTLIST_LOW` (string) +
|
||||
`WEECHAT_HOTLIST_MESSAGE` (string) +
|
||||
`WEECHAT_HOTLIST_PRIVATE` (string) +
|
||||
`WEECHAT_HOTLIST_HIGHLIGHT` (string)
|
||||
|
||||
| hook Prozesse |
|
||||
`WEECHAT_HOOK_PROCESS_RUNNING` (integer) +
|
||||
| hook Prozesse
|
||||
| `WEECHAT_HOOK_PROCESS_RUNNING` (integer) +
|
||||
`WEECHAT_HOOK_PROCESS_ERROR` (integer)
|
||||
|
||||
| hook Connect |
|
||||
`WEECHAT_HOOK_CONNECT_OK` (integer) +
|
||||
| hook Connect
|
||||
| `WEECHAT_HOOK_CONNECT_OK` (integer) +
|
||||
`WEECHAT_HOOK_CONNECT_ADDRESS_NOT_FOUND` (integer) +
|
||||
`WEECHAT_HOOK_CONNECT_IP_ADDRESS_NOT_FOUND` (integer) +
|
||||
`WEECHAT_HOOK_CONNECT_CONNECTION_REFUSED` (integer) +
|
||||
@@ -869,8 +869,8 @@ Liste der Konstanten in Skript API:
|
||||
`WEECHAT_HOOK_CONNECT_TIMEOUT` (integer) +
|
||||
`WEECHAT_HOOK_CONNECT_SOCKET_ERROR` (integer)
|
||||
|
||||
| hook Signal |
|
||||
`WEECHAT_HOOK_SIGNAL_STRING` (string) +
|
||||
| hook Signal
|
||||
| `WEECHAT_HOOK_SIGNAL_STRING` (string) +
|
||||
`WEECHAT_HOOK_SIGNAL_INT` (string) +
|
||||
`WEECHAT_HOOK_SIGNAL_POINTER` (string)
|
||||
|===
|
||||
@@ -881,7 +881,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).
|
||||
link:weechat_plugin_api.en.html[WeeChat Plugin API Reference ^↗^,window=_blank] (Englisch).
|
||||
|
||||
[[buffers]]
|
||||
=== Buffer
|
||||
@@ -901,7 +901,7 @@ Beispiele:
|
||||
weechat.prnt("", "Hallo")
|
||||
|
||||
# Gibt den Text "Hallo" im Core Buffer aus, schreibt diesen aber nicht in die Protokolldatei
|
||||
# (nur Version >= 0.3.3)
|
||||
# (nur Version ≥ 0.3.3)
|
||||
weechat.prnt_date_tags("", 0, "no_log", "hello")
|
||||
|
||||
# Gibt den Präfix "==>" gefolgt von dem Text "Hallo" im aktuellen Buffer aus
|
||||
@@ -1158,7 +1158,8 @@ weechat.hook_process("url:https://weechat.org/dev/info/stable/",
|
||||
----
|
||||
|
||||
[TIP]
|
||||
Alle Informationen die WeeChat betreffen findet man auf: https://weechat.org/dev/info
|
||||
Alle verfügbaren Informationen über WeeChat findet man unter
|
||||
https://weechat.org/dev/info/[this page ^↗^,window=_blank].
|
||||
|
||||
Beispiel eines URL Transfers, mit zusätzliche Optionen: Es wird das neuste
|
||||
WeeChat Entwicklerpaket in die Datei _/tmp/weechat-devel.tar.gz_ gesichert:
|
||||
@@ -1177,7 +1178,7 @@ weechat.hook_process_hashtable("url:https://weechat.org/files/src/weechat-devel.
|
||||
|
||||
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).
|
||||
link:weechat_plugin_api.en.html#_hook_process[WeeChat plugin API reference ^↗^,window=_blank] (Englisch).
|
||||
|
||||
[[config_options]]
|
||||
=== Konfiguration / Optionen
|
||||
@@ -1335,61 +1336,61 @@ Das Ergebnis ist eine Hashtabelle mit folgenden Schlüsseln
|
||||
|===
|
||||
| Schlüssel | Seit WeeChat ^(1)^ | Beschreibung | Beispiel
|
||||
|
||||
| Tags | 0.4.0 |
|
||||
Tags in der Nachricht (kann leer sein). |
|
||||
`+time=2015-06-27T16:40:35.000Z+`
|
||||
| Tags | 0.4.0
|
||||
| Tags in der Nachricht (kann leer sein).
|
||||
| `+time=2015-06-27T16:40:35.000Z+`
|
||||
|
||||
| tag_xxx | 3.3 |
|
||||
Wert des Tags "xxx" ohne Escapezeichen (ein Schlüssel pro Tag). |
|
||||
`+2015-06-27T16:40:35.000Z+`
|
||||
| tag_xxx | 3.3
|
||||
| Wert des Tags "xxx" ohne Escapezeichen (ein Schlüssel pro Tag).
|
||||
| `+2015-06-27T16:40:35.000Z+`
|
||||
|
||||
| message_without_tags | 0.4.0 |
|
||||
Die IRC Nachricht ohne Tags (wie eine Nachricht ohne Tags). |
|
||||
`+:nick!user@host PRIVMSG #weechat :hello!+`
|
||||
| message_without_tags | 0.4.0
|
||||
| Die IRC Nachricht ohne Tags (wie eine Nachricht ohne Tags).
|
||||
| `+:nick!user@host PRIVMSG #weechat :hello!+`
|
||||
|
||||
| nick | 0.3.4 |
|
||||
der ursprüngliche Nick. |
|
||||
`+nick+`
|
||||
| nick | 0.3.4
|
||||
| der ursprüngliche Nick.
|
||||
| `+nick+`
|
||||
|
||||
| user | 2.7 |
|
||||
der ursprüngliche Benutzer. |
|
||||
`+user+`
|
||||
| user | 2.7
|
||||
| der ursprüngliche Benutzer.
|
||||
| `+user+`
|
||||
|
||||
| host | 0.3.4 |
|
||||
der ursprüngliche Host (beinhaltet den Nick). |
|
||||
`+nick!user@host+`
|
||||
| host | 0.3.4
|
||||
| der ursprüngliche Host (beinhaltet den Nick).
|
||||
| `+nick!user@host+`
|
||||
|
||||
| command | 0.3.4 |
|
||||
der Befehl (_PRIVMSG_, _NOTICE_, ...). |
|
||||
`+PRIVMSG+`
|
||||
| command | 0.3.4
|
||||
| der Befehl (_PRIVMSG_, _NOTICE_, ...).
|
||||
| `+PRIVMSG+`
|
||||
|
||||
| channel | 0.3.4 |
|
||||
der Zielchanne.l|
|
||||
| channel | 0.3.4
|
||||
| der Zielchanne.l|
|
||||
`+#weechat+`
|
||||
|
||||
| arguments | 0.3.4 |
|
||||
das Argument des Befehls (beinhaltet den Channel). |
|
||||
`+#weechat :hello!+`
|
||||
| arguments | 0.3.4
|
||||
| das Argument des Befehls (beinhaltet den Channel).
|
||||
| `+#weechat :hello!+`
|
||||
|
||||
| text | 1.3 |
|
||||
der Text (zum Beispiel eine Nachricht eines Users). |
|
||||
`+hello!+`
|
||||
| text | 1.3
|
||||
| der Text (zum Beispiel eine Nachricht eines Users).
|
||||
| `+hello!+`
|
||||
|
||||
| pos_command | 1.3 |
|
||||
Index von _command_ innerhalb einer Nachricht ("-1" falls _command_ nicht gefunden wird). |
|
||||
`+47+`
|
||||
| pos_command | 1.3
|
||||
| Index von _command_ innerhalb einer Nachricht ("-1" falls _command_ nicht gefunden wird).
|
||||
| `+47+`
|
||||
|
||||
| pos_arguments | 1.3 |
|
||||
Index von_arguments_ innerhalb einer Nachricht ("-1" falls _arguments_ nicht gefunden wird). |
|
||||
`+55+`
|
||||
| pos_arguments | 1.3
|
||||
| Index von_arguments_ innerhalb einer Nachricht ("-1" falls _arguments_ nicht gefunden wird).
|
||||
| `+55+`
|
||||
|
||||
| pos_channel | 1.3 |
|
||||
Index von _channel_ innerhalb einer Nachricht ("-1" falls _channel_ nicht gefunden wird). |
|
||||
`+55+`
|
||||
| pos_channel | 1.3
|
||||
| Index von _channel_ innerhalb einer Nachricht ("-1" falls _channel_ nicht gefunden wird).
|
||||
| `+55+`
|
||||
|
||||
| pos_text | 1.3 |
|
||||
Index von _text_ innerhalb einer Nachricht ("-1" falls _text_ nicht gefunden wird). |
|
||||
`+65+`
|
||||
| pos_text | 1.3
|
||||
| Index von _text_ innerhalb einer Nachricht ("-1" falls _text_ nicht gefunden wird).
|
||||
| `+65+`
|
||||
|===
|
||||
|
||||
[NOTE]
|
||||
|
||||
+697
-336
File diff suppressed because it is too large
Load Diff
+9
-6
@@ -9,10 +9,11 @@
|
||||
@media (prefers-color-scheme: dark) {
|
||||
/* dark theme */
|
||||
:root {
|
||||
color-scheme: dark;
|
||||
--body-bg-color: #1a1a1a;
|
||||
--body-color: #ddd;
|
||||
--body-font: system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans","Liberation Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
|
||||
--link-color: #8aceff;
|
||||
--body-font: system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans","Liberation Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
|
||||
--link-color: #7abeef;
|
||||
--table-thead-tfoot: #252525;
|
||||
--th-color: #fff;
|
||||
--toc-bg-color: #252525;
|
||||
@@ -40,10 +41,11 @@
|
||||
@media (not (prefers-color-scheme: dark)), (prefers-color-scheme: light) {
|
||||
/* light theme */
|
||||
:root {
|
||||
color-scheme: light;
|
||||
--body-bg-color: ##fff;
|
||||
--body-color: #353535;
|
||||
--body-font: system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans","Liberation Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
|
||||
--link-color: #1d4b8f;
|
||||
--body-font: system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans","Liberation Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
|
||||
--link-color: #3d6baf;
|
||||
--table-thead-tfoot: #f7f8f7;
|
||||
--th-color: #000;
|
||||
--toc-bg-color: #f8f8f7;
|
||||
@@ -88,6 +90,7 @@ h1, h2, h3, #toctitle, .sidebarblock > .content > .title, h4, h5, h6 {
|
||||
|
||||
a:link, a:visited, #header .details span.email a {
|
||||
color: var(--link-color);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
table thead, table tfoot {
|
||||
@@ -224,8 +227,8 @@ h1, h2, h3, h4, h5 {
|
||||
}
|
||||
|
||||
.literalblock pre {
|
||||
font-family: monospace, 'Courier New', Courier;
|
||||
line-height: normal;
|
||||
font-family: "DejaVu Sans Mono", "Liberation Mono", "Lucida Console", monospace, 'Courier New', Courier;
|
||||
line-height: inherit;
|
||||
}
|
||||
|
||||
kbd {
|
||||
|
||||
@@ -94,6 +94,8 @@
|
||||
|
||||
| tcl | tcl_script | list of scripts
|
||||
|
||||
| trigger | trigger_add_arguments | arguments for command that adds a trigger: trigger name, hooks, hook arguments, hook conditions, hook regex, hook command, hook return code, post actions
|
||||
|
||||
| trigger | trigger_hook_arguments | default arguments for a hook
|
||||
|
||||
| trigger | trigger_hook_command | default command for a hook
|
||||
@@ -148,6 +150,14 @@
|
||||
|
||||
| weechat | cursor_areas | areas ("chat" or bar name) for free cursor movement
|
||||
|
||||
| weechat | custom_bar_item_add_arguments | arguments for command that adds a custom bar item: item name, conditions, content
|
||||
|
||||
| weechat | custom_bar_item_conditions | conditions for custom bar item
|
||||
|
||||
| weechat | custom_bar_item_contents | contents for custom bar item
|
||||
|
||||
| weechat | custom_bar_items_names | names of custom bar items
|
||||
|
||||
| weechat | env_value | value of an environment variable
|
||||
|
||||
| weechat | env_vars | environment variables
|
||||
|
||||
@@ -130,7 +130,7 @@ Examples:
|
||||
/autojoin add [<channel1> [<channel2>...]]
|
||||
addraw <channel1>[,<channel2>...] [<key1>[,<key2>...]]
|
||||
del [<channel1> [<channel2>...]]
|
||||
save
|
||||
apply
|
||||
sort
|
||||
|
||||
add: add current channel or a list of channels (with optional keys) to the autojoin option; if you are on the channel and the key is not provided, the key is read in the channel
|
||||
@@ -138,17 +138,18 @@ Examples:
|
||||
del: delete current channel or a list of channels from the autojoin option
|
||||
channel: channel name
|
||||
key: key for the channel
|
||||
save: save currently joined channels in the autojoin option
|
||||
apply: set currently joined channels in the autojoin option
|
||||
sort: sort alphabetically channels in the autojoin option
|
||||
|
||||
Examples:
|
||||
/autojoin add
|
||||
/autojoin add #test
|
||||
/autojoin add #chan1 #chan2
|
||||
/allchan /autojoin add
|
||||
/autojoin addraw #chan1,#chan2,#chan3 key1,key2
|
||||
/autojoin del
|
||||
/autojoin del #chan1
|
||||
/autojoin save
|
||||
/autojoin apply
|
||||
/autojoin sort
|
||||
----
|
||||
|
||||
@@ -1331,8 +1332,8 @@ Examples:
|
||||
----
|
||||
/debug list
|
||||
set <plugin> <level>
|
||||
dump [<plugin>]
|
||||
buffer|color|infolists|libs|certs|memory|tags|term|windows
|
||||
dump|hooks [<plugin>]
|
||||
buffer|certs|color|dirs|infolists|libs|memory|tags|term|windows
|
||||
mouse|cursor [verbose]
|
||||
hdata [free]
|
||||
time <command>
|
||||
@@ -1342,15 +1343,15 @@ Examples:
|
||||
plugin: name of plugin ("core" for WeeChat core)
|
||||
level: debug level for plugin (0 = disable debug)
|
||||
dump: save memory dump in WeeChat log file (same dump is written when WeeChat crashes)
|
||||
hooks: display infos about hooks (with a plugin: display detailed info about hooks created by the plugin)
|
||||
buffer: dump buffer content with hexadecimal values in log file
|
||||
certs: display number of loaded trusted certificate authorities
|
||||
color: display infos about current color pairs
|
||||
cursor: toggle debug for cursor mode
|
||||
dirs: display directories
|
||||
hdata: display infos about hdata (with free: remove all hdata in memory)
|
||||
hooks: display infos about hooks
|
||||
infolists: display infos about infolists
|
||||
libs: display infos about external libraries used
|
||||
certs: display number of loaded trusted certificate authorities
|
||||
memory: display infos about memory usage
|
||||
mouse: toggle debug for mouse
|
||||
tags: display tags for lines
|
||||
@@ -1408,28 +1409,30 @@ Some variables are replaced in expression, using the format ${variable}, variabl
|
||||
3. an evaluated sub-string (format: "eval:xxx")
|
||||
4. an evaluated condition (format: "eval_cond:xxx")
|
||||
5. a string with escaped chars (format: "esc:xxx" or "\xxx")
|
||||
6. a string with chars to hide (format: "hide:char,string")
|
||||
7. a string with max chars (format: "cut:max,suffix,string" or "cut:+max,suffix,string")
|
||||
6. a string converted to lower case (format: "lower:xxx")
|
||||
7. a string converted to upper case (format: "upper:xxx")
|
||||
8. a string with chars to hide (format: "hide:char,string")
|
||||
9. a string with max chars (format: "cut:max,suffix,string" or "cut:+max,suffix,string")
|
||||
or max chars displayed on screen (format: "cutscr:max,suffix,string" or "cutscr:+max,suffix,string")
|
||||
8. a reversed string (format: "rev:xxx" or "revscr:xxx")
|
||||
9. a repeated string (format: "repeat:count,string")
|
||||
10. length of a string (format: "length:xxx" or "lengthscr:xxx")
|
||||
11. split of a string (format: "split:number,separators,flags,xxx")
|
||||
12. split of shell argmuents (format: "split_shell:number,xxx")
|
||||
13. a color (format: "color:xxx", see "Plugin API reference", function "color")
|
||||
14. a modifier (format: "modifier:name,data,string")
|
||||
15. an info (format: "info:name,arguments", arguments are optional)
|
||||
16. a base 16/32/64 encoded/decoded string (format: "base_encode:base,xxx" or "base_decode:base,xxx")
|
||||
17. current date/time (format: "date" or "date:format")
|
||||
18. an environment variable (format: "env:XXX")
|
||||
19. a ternary operator (format: "if:condition?value_if_true:value_if_false")
|
||||
20. result of an expression with parentheses and operators + - * / // % ** (format: "calc:xxx")
|
||||
21. a random integer number (format: "random:min,max")
|
||||
22. a translated string (format: "translate:xxx")
|
||||
23. define a user variable (format: "define:name,value")
|
||||
24. an option (format: "file.section.option")
|
||||
25. a local variable in buffer
|
||||
26. a hdata name/variable (the value is automatically converted to string), by default "window" and "buffer" point to current window/buffer.
|
||||
10. a reversed string (format: "rev:xxx" or "revscr:xxx")
|
||||
11. a repeated string (format: "repeat:count,string")
|
||||
12. length of a string (format: "length:xxx" or "lengthscr:xxx")
|
||||
13. split of a string (format: "split:number,separators,flags,xxx")
|
||||
14. split of shell argmuents (format: "split_shell:number,xxx")
|
||||
15. a color (format: "color:xxx", see "Plugin API reference", function "color")
|
||||
16. a modifier (format: "modifier:name,data,string")
|
||||
17. an info (format: "info:name,arguments", arguments are optional)
|
||||
18. a base 16/32/64 encoded/decoded string (format: "base_encode:base,xxx" or "base_decode:base,xxx")
|
||||
19. current date/time (format: "date" or "date:format")
|
||||
20. an environment variable (format: "env:XXX")
|
||||
21. a ternary operator (format: "if:condition?value_if_true:value_if_false")
|
||||
22. result of an expression with parentheses and operators + - * / // % ** (format: "calc:xxx")
|
||||
23. a random integer number (format: "random:min,max")
|
||||
24. a translated string (format: "translate:xxx")
|
||||
25. define a user variable (format: "define:name,value")
|
||||
26. an option (format: "file.section.option")
|
||||
27. a local variable in buffer
|
||||
28. a hdata name/variable (the value is automatically converted to string), by default "window" and "buffer" point to current window/buffer.
|
||||
Format for hdata can be one of following:
|
||||
hdata.var1.var2...: start with a hdata (pointer must be known), and ask variables one after one (other hdata can be followed)
|
||||
hdata[list].var1.var2...: start with a hdata using a list/pointer/pointer name, for example:
|
||||
@@ -1452,6 +1455,8 @@ Examples (simple strings):
|
||||
/eval -n ${window.buffer.full_name} ==> core.weechat
|
||||
/eval -n ${window.buffer.number} ==> 1
|
||||
/eval -n ${\t} ==> <tab>
|
||||
/eval -n ${lower:TEST} ==> test
|
||||
/eval -n ${upper:test} ==> TEST
|
||||
/eval -n ${hide:-,${relay.network.password}} ==> --------
|
||||
/eval -n ${cut:3,+,test} ==> tes+
|
||||
/eval -n ${cut:+3,+,test} ==> te+
|
||||
@@ -1497,7 +1502,7 @@ Examples (conditions):
|
||||
add|addreplace <name> <buffer>[,<buffer>...] <tags> <regex>
|
||||
rename <name> <new_name>
|
||||
recreate <name>
|
||||
del <name>|-all
|
||||
del <name>|-all [<name>...]
|
||||
|
||||
list: list all filters
|
||||
enable: enable filters (filters are enabled by default)
|
||||
@@ -1646,6 +1651,49 @@ list of actions:
|
||||
This command is used by key bindings or plugins.
|
||||
----
|
||||
|
||||
[[command_weechat_item]]
|
||||
* `+item+`: manage custom bar items
|
||||
|
||||
----
|
||||
/item list
|
||||
add|addreplace <name> "<conditions>" "<content>"
|
||||
rename <name> <new_name>
|
||||
refresh <name> [<name>...]
|
||||
recreate <name>
|
||||
del <name>|-all
|
||||
|
||||
list: list all custom bar items
|
||||
add: add a custom bar item
|
||||
addreplace: add or replace an existing custom bar item
|
||||
name: custom bar item name
|
||||
conditions: evaluated conditions to display the bar item (for example to display the bar item only in specific buffers)
|
||||
content: content (evaluated, see /help eval)
|
||||
rename: rename a custom bar item
|
||||
refresh: update content of item in all bars where the item is displayed; any item can be refreshed: default/plugin/custom bar items
|
||||
recreate: set input with the command used to edit the custom bar item
|
||||
del: delete a custom bar item
|
||||
-all: delete all custom bar items
|
||||
|
||||
Examples:
|
||||
add item with terminal size, displayed only in buffers with number = 1:
|
||||
/item add terminfo "${buffer.number} == 1" "term:${info:term_width}x${info:term_height}"
|
||||
add item with buffer info:
|
||||
/item add bufinfo "" "${buffer.number}:${buffer.name}${if:${buffer.zoomed}?(Z)}"
|
||||
add item with date/time using format "Dec 25, 12:34 +0100", refreshed every minute:
|
||||
/item add datetime "" "${date:%b %d, %H:%M %z}"
|
||||
/trigger add datetime_refresh timer "60000;60" "" "" "/item refresh datetime"
|
||||
add item with number of lines in buffer (displayed/total), refreshed each time a new line is displayed or if filtered lines have changed:
|
||||
/item add lines_count "" "${calc:${buffer.lines.lines_count}-${buffer.lines.lines_hidden}}/${buffer.lines.lines_count} lines"
|
||||
/trigger add lines_count_refresh_print print "" "" "" "/item refresh lines_count"
|
||||
/trigger add lines_count_refresh_signal signal "window_switch;buffer_switch;buffer_lines_hidden;filters_*" "" "" "/item refresh lines_count"
|
||||
force refresh of item "lines_count":
|
||||
/item refresh lines_count
|
||||
recreate item "lines_count" with different conditions or content:
|
||||
/item recreate lines_count
|
||||
delete item "lines_count":
|
||||
/item del lines_count
|
||||
----
|
||||
|
||||
[[command_weechat_key]]
|
||||
* `+key+`: bind/unbind keys
|
||||
|
||||
@@ -2846,7 +2894,7 @@ protocol.name: protocol and name to relay:
|
||||
- protocol "weechat" (name is not used)
|
||||
|
||||
The "irc" protocol allows any IRC client (including WeeChat itself) to connect on the port.
|
||||
The "weechat" protocol allows a remote interface to connect on the port, see the list here: https://weechat.org/about/interfaces
|
||||
The "weechat" protocol allows a remote interface to connect on the port, see the list here: https://weechat.org/about/interfaces/
|
||||
|
||||
Without argument, this command opens buffer with list of relay clients.
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// tag::plugin_options[]
|
||||
For complete doc on plugin options, please look at plugins documentation in
|
||||
https://weechat.org/doc[WeeChat user's guide].
|
||||
https://weechat.org/doc/[WeeChat user's guide].
|
||||
|
||||
With irc plugin, you can connect to temporary server with an URL like:
|
||||
|
||||
|
||||
@@ -60,4 +60,4 @@ include::includes/man.en.adoc[tag=copyright]
|
||||
|
||||
== SUPPORT / REPORTING BUGS
|
||||
|
||||
For help or a bug report: https://weechat.org/about/support
|
||||
For help or a bug report: https://weechat.org/about/support/
|
||||
|
||||
@@ -57,4 +57,4 @@ include::includes/man.en.adoc[tag=copyright]
|
||||
|
||||
== SUPPORT / REPORTING BUGS
|
||||
|
||||
For help or a bug report: https://weechat.org/about/support
|
||||
For help or a bug report: https://weechat.org/about/support/
|
||||
|
||||
+66
-65
@@ -10,8 +10,8 @@
|
||||
|
||||
This manual documents WeeChat chat client, it is part of WeeChat.
|
||||
|
||||
Latest version of this document can be found on this page:
|
||||
https://weechat.org/doc
|
||||
Latest version of this document can be found on
|
||||
https://weechat.org/doc/[this page ^↗^,window=_blank].
|
||||
|
||||
|
||||
[[introduction]]
|
||||
@@ -31,8 +31,8 @@ This manual documents WeeChat internals:
|
||||
[[repositories]]
|
||||
== Repositories
|
||||
|
||||
WeeChat repositories are on GitHub organization "weechat":
|
||||
https://github.com/weechat
|
||||
WeeChat repositories are on GitHub organization
|
||||
https://github.com/weechat[weechat ^↗^,window=_blank].
|
||||
|
||||
List of repositories:
|
||||
|
||||
@@ -43,7 +43,7 @@ scripts::
|
||||
the _official_ scripts submitted on weechat.org
|
||||
|
||||
weechat.org::
|
||||
source of WeeChat website: https://weechat.org/
|
||||
source of https://weechat.org/[WeeChat website ^↗^,window=_blank]
|
||||
|
||||
weercd::
|
||||
IRC testing server
|
||||
@@ -422,6 +422,7 @@ WeeChat "core" is located in following directories:
|
||||
| test-core-utf8.cpp | Tests: UTF-8.
|
||||
| test-core-util.cpp | Tests: utility functions.
|
||||
| gui/ | Root of unit tests for interfaces.
|
||||
| test-gui-bar-window.cpp | Tests: bar window functions.
|
||||
| test-gui-buffer.cpp | Tests: buffer functions.
|
||||
| test-gui-chat.cpp | Tests: chat functions.
|
||||
| test-gui-color.cpp | Tests: colors.
|
||||
@@ -467,13 +468,13 @@ Documentation files:
|
||||
| docgen.py | Python script to build auto-generated files in _includes/_ directory (see below).
|
||||
| XX/ | Documentation for language XX (languages: en, fr, de, it, ...).
|
||||
| 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_user.XX.adoc | link:weechat_user.en.html[User's guide].
|
||||
| weechat_dev.XX.adoc | link:weechat_dev.en.html[Developer's guide ^↗^,window=_blank] (this document).
|
||||
| weechat_faq.XX.adoc | link:weechat_faq.en.html[FAQ ^↗^,window=_blank].
|
||||
| weechat_plugin_api.XX.adoc | link:weechat_plugin_api.en.html[Plugin API reference ^↗^,window=_blank].
|
||||
| weechat_quickstart.XX.adoc | link:weechat_quickstart.en.html[Quickstart guide ^↗^,window=_blank].
|
||||
| weechat_relay_protocol.XX.adoc | link:weechat_relay_protocol.en.html[Relay protocol ^↗^,window=_blank] (for remote interfaces).
|
||||
| weechat_scripting.XX.adoc | link:weechat_scripting.en.html[Scripting guide ^↗^,window=_blank].
|
||||
| weechat_user.XX.adoc | link:weechat_user.en.html[User's guide ^↗^,window=_blank].
|
||||
| includes/ | Files included in documentation.
|
||||
| autogen_api_completions.XX.adoc | Auto-generated file for Plugin API reference: completions (do *NEVER* update manually!).
|
||||
| autogen_api_hdata.XX.adoc | Auto-generated file for Plugin API reference: hdata (do *NEVER* update manually!).
|
||||
@@ -738,7 +739,7 @@ new_hook_fd = malloc (sizeof (*new_hook_fd));
|
||||
[[coding_python_style]]
|
||||
=== Python style
|
||||
|
||||
See https://www.python.org/dev/peps/pep-0008/
|
||||
See https://www.python.org/dev/peps/pep-0008/[PEP 8 ^↗^,window=_blank].
|
||||
|
||||
[[core_internals]]
|
||||
== Core internals
|
||||
@@ -1114,7 +1115,7 @@ server->hook_timer_sasl = weechat_hook_timer (timeout * 1000,
|
||||
[[git_repository]]
|
||||
=== Git repository
|
||||
|
||||
Git repository is at this URL: https://github.com/weechat/weechat
|
||||
Git repository is on https://github.com/weechat/weechat[GitHub ^↗^,window=_blank].
|
||||
|
||||
Any patch for bug or new feature must be done on master branch, preferred way
|
||||
is a GitHub pull request. A patch can also be sent by e-mail
|
||||
@@ -1132,8 +1133,8 @@ Where _component_ is one of following:
|
||||
|===
|
||||
| Component | Files | Description
|
||||
|
||||
| core |
|
||||
AUTHORS.adoc +
|
||||
| core
|
||||
| AUTHORS.adoc +
|
||||
ChangeLog.adoc +
|
||||
Contributing.adoc +
|
||||
.github/FUNDING.yml +
|
||||
@@ -1145,76 +1146,76 @@ Where _component_ is one of following:
|
||||
src/core/* +
|
||||
src/gui/* +
|
||||
version.sh +
|
||||
weechat.desktop |
|
||||
WeeChat core
|
||||
weechat.desktop
|
||||
| WeeChat core
|
||||
|
||||
| build |
|
||||
autogen.sh +
|
||||
| build
|
||||
| autogen.sh +
|
||||
CMakeLists.txt +
|
||||
cmake/* +
|
||||
configure.ac +
|
||||
Makefile.am +
|
||||
tools/* +
|
||||
weechat.cygport.in +
|
||||
weechat.spec |
|
||||
Build
|
||||
weechat.spec
|
||||
| Build
|
||||
|
||||
| ci |
|
||||
.github/workflows/* |
|
||||
Continuous integration
|
||||
| ci
|
||||
| .github/workflows/*
|
||||
| Continuous integration
|
||||
|
||||
| debian |
|
||||
debian-devel/* +
|
||||
debian-stable/* |
|
||||
Debian packaging
|
||||
| debian
|
||||
| debian-devel/* +
|
||||
debian-stable/*
|
||||
| Debian packaging
|
||||
|
||||
| tests |
|
||||
tests/* |
|
||||
Tests
|
||||
| tests
|
||||
| tests/*
|
||||
| Tests
|
||||
|
||||
| doc |
|
||||
doc/* |
|
||||
General doc updates, for example build
|
||||
| doc
|
||||
| doc/*
|
||||
| General doc updates, for example build
|
||||
|
||||
| doc/man |
|
||||
doc/xx/weechat.1.xx.adoc +
|
||||
doc/xx/weechat-headless.1.xx.adoc |
|
||||
Man pages
|
||||
| doc/man
|
||||
| doc/xx/weechat.1.xx.adoc +
|
||||
doc/xx/weechat-headless.1.xx.adoc
|
||||
| Man pages
|
||||
|
||||
| doc/faq |
|
||||
doc/xx/weechat_faq.xx.adoc |
|
||||
Frequently asked questions (FAQ)
|
||||
| doc/faq
|
||||
| doc/xx/weechat_faq.xx.adoc
|
||||
| Frequently asked questions (FAQ)
|
||||
|
||||
| doc/quickstart |
|
||||
doc/xx/weechat_quickstart.xx.adoc |
|
||||
Quickstart guide
|
||||
| doc/quickstart
|
||||
| doc/xx/weechat_quickstart.xx.adoc
|
||||
| Quickstart guide
|
||||
|
||||
| doc/user |
|
||||
doc/xx/weechat_user.xx.adoc |
|
||||
User's guide
|
||||
| doc/user
|
||||
| doc/xx/weechat_user.xx.adoc
|
||||
| User's guide
|
||||
|
||||
| doc/scripting |
|
||||
doc/xx/weechat_scripting.xx.adoc |
|
||||
Scripting guide
|
||||
| doc/scripting
|
||||
| doc/xx/weechat_scripting.xx.adoc
|
||||
| Scripting guide
|
||||
|
||||
| doc/api |
|
||||
doc/xx/weechat_plugin_api.xx.adoc |
|
||||
Plugin API reference
|
||||
| doc/api
|
||||
| doc/xx/weechat_plugin_api.xx.adoc
|
||||
| Plugin API reference
|
||||
|
||||
| doc/relay |
|
||||
doc/xx/weechat_relay_protocol.xx.adoc |
|
||||
Relay protocol
|
||||
| doc/relay
|
||||
| doc/xx/weechat_relay_protocol.xx.adoc
|
||||
| Relay protocol
|
||||
|
||||
| doc/dev |
|
||||
doc/xx/weechat_dev.en.adoc |
|
||||
Developer's guide
|
||||
| doc/dev
|
||||
| doc/xx/weechat_dev.en.adoc
|
||||
| Developer's guide
|
||||
|
||||
| irc +
|
||||
python +
|
||||
relay +
|
||||
… |
|
||||
src/plugins/<name>/* |
|
||||
Plugin
|
||||
…
|
||||
| src/plugins/<name>/*
|
||||
| Plugin
|
||||
|
||||
|===
|
||||
|
||||
@@ -1264,8 +1265,8 @@ $ make translations && make update-po
|
||||
|
||||
Then you can edit .po files (if you can translate in a language).
|
||||
|
||||
When done, you *have* to check your file with script _msgcheck.py_
|
||||
(https://github.com/flashcode/msgcheck):
|
||||
When done, you *have* to check your file with
|
||||
https://github.com/flashcode/msgcheck[msgcheck ^↗^,window=_blank]:
|
||||
|
||||
----
|
||||
$ msgcheck.py xx.po
|
||||
|
||||
+54
-37
@@ -32,7 +32,8 @@ apply to WeeChat!).
|
||||
|
||||
Because WeeChat is very light and brings innovating features.
|
||||
|
||||
More info on the WeeChat features page: https://weechat.org/about/features
|
||||
More info on the WeeChat
|
||||
https://weechat.org/about/features/[features page ^↗^,window=_blank].
|
||||
|
||||
[[compilation_install]]
|
||||
== Compilation / install
|
||||
@@ -40,16 +41,17 @@ More info on the WeeChat features page: https://weechat.org/about/features
|
||||
[[gui]]
|
||||
=== I've heard about many GUIs for WeeChat. How can I compile/use them?
|
||||
|
||||
Some remote GUIs are available, see the remote interfaces page:
|
||||
https://weechat.org/about/interfaces
|
||||
Some remote GUIs are available, see the
|
||||
https://weechat.org/about/interfaces/[remote interfaces page ^↗^,window=_blank].
|
||||
|
||||
[[compile_git]]
|
||||
=== I can't compile WeeChat after cloning git repository, why?
|
||||
|
||||
The recommended way to compile WeeChat is with
|
||||
link:weechat_user.en.html#compile_with_cmake[CMake].
|
||||
link:weechat_user.en.html#compile_with_cmake[CMake ^↗^,window=_blank].
|
||||
|
||||
If you're compiling with link:weechat_user.en.html#compile_with_autotools[autotools]
|
||||
If you're compiling with
|
||||
link:weechat_user.en.html#compile_with_autotools[autotools ^↗^,window=_blank]
|
||||
(and not CMake), check that you have latest version of autoconf and automake.
|
||||
|
||||
The other way is to install the "devel package", which needs less dependencies.
|
||||
@@ -60,7 +62,8 @@ than git cloning for installing updates.
|
||||
[[compile_macos]]
|
||||
=== How can I install WeeChat on macOS?
|
||||
|
||||
It is recommended to use https://brew.sh/[Homebrew], you can get help with:
|
||||
It is recommended to use https://brew.sh/[Homebrew ^↗^,window=_blank],
|
||||
you can get help with:
|
||||
|
||||
----
|
||||
brew info weechat
|
||||
@@ -76,12 +79,12 @@ brew install weechat
|
||||
=== I've launched WeeChat, but I'm lost, what can I do?
|
||||
|
||||
For help you can type `/help`. For help about a command, type `/help command`.
|
||||
link:weechat_user.en.html#key_bindings[Keys] and
|
||||
link:weechat_user.en.html#commands_and_options[commands] are listed
|
||||
in documentation.
|
||||
link:weechat_user.en.html#key_bindings[Keys ^↗^,window=_blank] and
|
||||
link:weechat_user.en.html#commands_and_options[commands ^↗^,window=_blank]
|
||||
are listed in documentation.
|
||||
|
||||
It's recommended for new users to read the
|
||||
link:weechat_quickstart.en.html[Quickstart guide].
|
||||
link:weechat_quickstart.en.html[Quickstart guide ^↗^,window=_blank].
|
||||
|
||||
[[display]]
|
||||
== Display
|
||||
@@ -109,7 +112,7 @@ It's a common issue with a variety of causes, please read carefully and check
|
||||
** If you are using screen, check that it is run with UTF-8 mode
|
||||
("`defutf8 on`" in ~/.screenrc or `screen -U` to run screen).
|
||||
* Check that option
|
||||
link:weechat_user.en.html#option_weechat.look.eat_newline_glitch[_weechat.look.eat_newline_glitch_]
|
||||
link:weechat_user.en.html#option_weechat.look.eat_newline_glitch[_weechat.look.eat_newline_glitch_ ^↗^,window=_blank]
|
||||
is off (this option may cause display bugs).
|
||||
|
||||
[NOTE]
|
||||
@@ -124,10 +127,10 @@ This may be caused by a libc bug in function _wcwidth_, which should be fixed
|
||||
in glibc 2.22 (maybe not yet available in your distribution).
|
||||
|
||||
There is a workaround to use the fixed _wcwidth_ function:
|
||||
https://blog.nytsoi.net/2015/05/04/emoji-support-for-weechat
|
||||
https://blog.nytsoi.net/2015/05/04/emoji-support-for-weechat[https://blog.nytsoi.net/2015/05/04/emoji-support-for-weechat ^↗^,window=_blank]
|
||||
|
||||
See this bug report for more information:
|
||||
https://github.com/weechat/weechat/issues/79
|
||||
See this https://github.com/weechat/weechat/issues/79[bug report ^↗^,window=_blank]
|
||||
for more information.
|
||||
|
||||
[[bars_background]]
|
||||
=== Bars like title and status are not filled, background color stops after text, why?
|
||||
@@ -184,7 +187,8 @@ windows.
|
||||
[[buffers_list]]
|
||||
=== How to display the buffers list on the left side?
|
||||
|
||||
With WeeChat ≥ 1.8, the plugin link:weechat_user.en.html#buflist_plugin[buflist]
|
||||
With WeeChat ≥ 1.8, the plugin
|
||||
link:weechat_user.en.html#buflist[buflist ^↗^,window=_blank]
|
||||
is loaded and enabled by default.
|
||||
|
||||
With an older version, you can install script _buffers.pl_:
|
||||
@@ -252,8 +256,8 @@ like `237` for dark gray.
|
||||
The buflist plugin provides lot of options that you can customize, please read
|
||||
the help on each option.
|
||||
|
||||
There's also a wiki page with examples of advanced buflist configuration:
|
||||
https://github.com/weechat/weechat/wiki/buflist
|
||||
There's also a https://github.com/weechat/weechat/wiki/buflist[wiki page ^↗^,window=_blank]
|
||||
with examples of advanced buflist configuration.
|
||||
|
||||
[[customize_prefix]]
|
||||
=== How can I reduce length of nicks or remove nick alignment in chat area?
|
||||
@@ -296,8 +300,8 @@ 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 link:weechat_user.en.html#screen_layout[User's guide / Screen layout ^↗^,window=_blank]
|
||||
for more info about the hotlist.
|
||||
|
||||
[[input_bar_size]]
|
||||
=== How to use command line with more than one line?
|
||||
@@ -462,8 +466,8 @@ 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 the link:weechat_user.en.html#colors[User's guide / Colors ^↗^,window=_blank]
|
||||
for more information about colors management.
|
||||
|
||||
[[search_text]]
|
||||
=== How can I search text in buffer (like /lastlog in irssi)?
|
||||
@@ -471,8 +475,8 @@ 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 link:weechat_user.en.html#key_bindings[User's guide / Key bindings ^↗^,window=_blank]
|
||||
for more info about this feature.
|
||||
|
||||
[[terminal_focus]]
|
||||
=== How can I execute commands when terminal gets/loses focus?
|
||||
@@ -645,7 +649,7 @@ You can bind a key, for example:
|
||||
----
|
||||
|
||||
List of default keys is in
|
||||
link:weechat_user.en.html#key_bindings[User's guide / Key bindings].
|
||||
link:weechat_user.en.html#key_bindings[User's guide / Key bindings ^↗^,window=_blank].
|
||||
|
||||
To jump to buffers with number ≥ 100, you could define a trigger and then use
|
||||
commands like `/123` to jump to buffer #123:
|
||||
@@ -835,17 +839,30 @@ join and part in the "autojoin" server option.
|
||||
For all servers:
|
||||
|
||||
----
|
||||
/set irc.server_default.autojoin_record on
|
||||
/set irc.server_default.autojoin_dynamic on
|
||||
----
|
||||
|
||||
For a single server:
|
||||
|
||||
----
|
||||
/set irc.server.libera.autojoin_record on
|
||||
/set irc.server.libera.autojoin_dynamic on
|
||||
----
|
||||
|
||||
You can use the `/set` command to edit the list of autojoin channels,
|
||||
for example for the "libera" server:
|
||||
With WeeChat ≥ 3.5, you can also add the current channel in the "autojoin"
|
||||
server option using the `/autojoin` command:
|
||||
|
||||
----
|
||||
/autojoin add
|
||||
----
|
||||
|
||||
Or another channel:
|
||||
|
||||
----
|
||||
/autojoin add #test
|
||||
----
|
||||
|
||||
With WeeChat ≤ 3.4, you can use the `/set` command to edit the list of autojoin
|
||||
channels, for example for the "libera" server:
|
||||
|
||||
----
|
||||
/set irc.server.libera.autojoin [TAB]
|
||||
@@ -862,7 +879,7 @@ You can also use the `/fset` command to edit the list of channels:
|
||||
/fset autojoin
|
||||
----
|
||||
|
||||
Another solution is to use a script:
|
||||
With WeeChat ≤ 3.4, another solution is to use a script:
|
||||
|
||||
----
|
||||
/script search autojoin
|
||||
@@ -902,7 +919,7 @@ With a global filter (hide *all* join/part/quit):
|
||||
|
||||
[NOTE]
|
||||
For help: `/help filter`, `+/help irc.look.smart_filter+` and see
|
||||
link:weechat_user.en.html#irc_smart_filter_join_part_quit[User's guide / Smart filter for join/part/quit messages].
|
||||
link:weechat_user.en.html#irc_smart_filter_join_part_quit[User's guide / Smart filter for join/part/quit messages ^↗^,window=_blank].
|
||||
|
||||
[[filter_irc_join_channel_messages]]
|
||||
=== How can I filter some messages displayed when I join an IRC channel?
|
||||
@@ -1000,7 +1017,7 @@ Other scripts on this subject:
|
||||
=== How can I disable highlights for specific nicks?
|
||||
|
||||
With WeeChat ≥ 0.3.4 you can use the
|
||||
link:weechat_user.en.html#max_hotlist_level_nicks[hotlist_max_level_nicks_add]
|
||||
link:weechat_user.en.html#max_hotlist_level_nicks[hotlist_max_level_nicks_add ^↗^,window=_blank]
|
||||
buffer property to set the max hotlist level for some nicks, per buffer,
|
||||
or per group of buffers (like IRC servers).
|
||||
|
||||
@@ -1203,7 +1220,7 @@ Unload and disable auto-loading of "xfer" plugin (used for IRC DCC):
|
||||
Define a passphrase and use secured data wherever you can for sensitive data
|
||||
like passwords: see `/help secure` and `/help` on options
|
||||
(if you can use secured data, it is written in the help).
|
||||
See also link:weechat_user.en.html#secured_data[User's guide / Secured data].
|
||||
See also link:weechat_user.en.html#secured_data[User's guide / Secured data ^↗^,window=_blank].
|
||||
|
||||
For example:
|
||||
|
||||
@@ -1224,7 +1241,7 @@ contains your passwords ciphered with your passphrase.
|
||||
Some other files may contain sensitive info like passwords (if they are not
|
||||
stored in _sec.conf_ with the `/secure` command).
|
||||
|
||||
See the link:weechat_user.en.html#files_and_directories[User's guide / Files and directories]
|
||||
See the link:weechat_user.en.html#files_and_directories[User's guide / Files and directories ^↗^,window=_blank]
|
||||
for more information about configuration files.
|
||||
|
||||
[[development]]
|
||||
@@ -1233,7 +1250,7 @@ for more information about configuration files.
|
||||
[[bug_task_patch]]
|
||||
=== How should I report bugs, ask for new features or send patches?
|
||||
|
||||
See: https://weechat.org/about/support
|
||||
See https://weechat.org/about/support/[this page ^↗^,window=_blank].
|
||||
|
||||
[[gdb_error_threads]]
|
||||
=== When I run WeeChat under gdb, there is an error about threads, what can I do?
|
||||
@@ -1269,11 +1286,11 @@ some OS' we don't have, to test WeeChat.
|
||||
|
||||
There are many tasks to do (testing, code, documentation, etc.)
|
||||
|
||||
Please contact us via IRC or mail, look at support page:
|
||||
https://weechat.org/about/support
|
||||
Please contact us via IRC or mail, look at
|
||||
https://weechat.org/about/support/[support page ^↗^,window=_blank].
|
||||
|
||||
[[donate]]
|
||||
=== Can I give money or other things to WeeChat developers?
|
||||
|
||||
You can give us money to help development.
|
||||
Details on https://weechat.org/donate
|
||||
Details on https://weechat.org/donate/[donation page ^↗^,window=_blank].
|
||||
|
||||
+1083
-1068
File diff suppressed because it is too large
Load Diff
@@ -194,10 +194,15 @@ To auto-join some channels when connecting to server:
|
||||
/set irc.server.libera.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).
|
||||
The `/autojoin` command lets you configure the _autojoin_ option easily
|
||||
(see `/help autojoin`).
|
||||
|
||||
You can also configure WeeChat to automatically update the _autojoin_ option
|
||||
when you join or leave channels:
|
||||
|
||||
----
|
||||
/set irc.server_default.autojoin_dynamic on
|
||||
----
|
||||
|
||||
To remove a value of a server option, and use the default value instead,
|
||||
for example to use default nicks (irc.server_default.nicks):
|
||||
@@ -213,6 +218,11 @@ option name):
|
||||
/set irc.server.libera.xxx value
|
||||
----
|
||||
|
||||
[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).
|
||||
|
||||
[[connect_to_irc_server]]
|
||||
== Connect to IRC server
|
||||
|
||||
@@ -370,13 +380,14 @@ for example:
|
||||
|
||||
See `/help script` for more info.
|
||||
|
||||
A list of scripts is available in WeeChat with `/script` or at this URL:
|
||||
https://weechat.org/scripts
|
||||
A list of scripts is available in WeeChat with `/script` or on
|
||||
https://weechat.org/scripts/[this page ^↗^,window=_blank].
|
||||
|
||||
[[more_doc]]
|
||||
== More documentation
|
||||
|
||||
You can now use WeeChat and read FAQ/documentation for any other questions:
|
||||
https://weechat.org/doc
|
||||
You can now use WeeChat and read
|
||||
https://weechat.org/doc/[FAQ/documentation ^↗^,window=_blank]
|
||||
for any other questions.
|
||||
|
||||
Enjoy using WeeChat!
|
||||
|
||||
@@ -132,9 +132,9 @@ Arguments:
|
||||
if compression is enabled, messages from _relay_ to client are compressed
|
||||
to save bandwidth; allowed values are:
|
||||
*** _off_: no compression (default if option is not given)
|
||||
*** _zlib_: compress with https://zlib.net/[zlib] _(WeeChat ≥ 0.3.7)_
|
||||
*** _zstd_: compress with https://facebook.github.io/zstd/[Zstandard]: better
|
||||
compression and much faster than _zlib_ for both compression and decompression
|
||||
*** _zlib_: compress with https://zlib.net/[zlib ^↗^,window=_blank] _(WeeChat ≥ 0.3.7)_
|
||||
*** _zstd_: compress with https://facebook.github.io/zstd/[Zstandard ^↗^,window=_blank]:
|
||||
better compression and much faster than _zlib_ for both compression and decompression
|
||||
_(WeeChat ≥ 3.5)_
|
||||
|
||||
Notes about option _password_hash_algo_:
|
||||
@@ -175,8 +175,8 @@ WeeChat replies with a hashtable containing the following keys and values:
|
||||
in the password hash algorithm)
|
||||
* _compression_: compression type:
|
||||
** _off_: messages are not compressed
|
||||
** _zlib_: messages are compressed with https://zlib.net/[zlib]
|
||||
** _zstd_: messages are compressed with https://facebook.github.io/zstd/[Zstandard]
|
||||
** _zlib_: messages are compressed with https://zlib.net/[zlib ^↗^,window=_blank]
|
||||
** _zstd_: messages are compressed with https://facebook.github.io/zstd/[Zstandard ^↗^,window=_blank]
|
||||
|
||||
[TIP]
|
||||
With WeeChat ≤ 2.8, the command _handshake_ is not implemented, WeeChat silently
|
||||
@@ -278,7 +278,7 @@ htb: {
|
||||
[[command_init]]
|
||||
=== init
|
||||
|
||||
_Updated in versions 2.4, 2.8, 2.9._
|
||||
_Updated in versions 2.4, 2.8, 2.9, 3.5._
|
||||
|
||||
Authenticate with _relay_.
|
||||
|
||||
@@ -1380,8 +1380,8 @@ Messages are sent as binary data, using following format (with size in bytes):
|
||||
(including this field)
|
||||
* _compression_ (byte): flag:
|
||||
** _0x00_: following data is not compressed
|
||||
** _0x01_: following data is compressed with https://zlib.net/[zlib]
|
||||
** _0x02_: following data is compressed with https://facebook.github.io/zstd/[Zstandard]
|
||||
** _0x01_: following data is compressed with https://zlib.net/[zlib ^↗^,window=_blank]
|
||||
** _0x02_: following data is compressed with https://facebook.github.io/zstd/[Zstandard ^↗^,window=_blank]
|
||||
* _id_ (string, 4 bytes + content): identifier sent by client (before command name); it can be
|
||||
empty (string with zero length and no content) if no identifier was given in
|
||||
command
|
||||
@@ -1392,7 +1392,8 @@ Messages are sent as binary data, using following format (with size in bytes):
|
||||
=== Compression
|
||||
|
||||
If flag _compression_ is equal to 0x01 or 0x02, then *all* data after is compressed
|
||||
with https://zlib.net/[zlib] or https://facebook.github.io/zstd/[Zstandard],
|
||||
with https://zlib.net/[zlib ^↗^,window=_blank] or
|
||||
https://facebook.github.io/zstd/[Zstandard ^↗^,window=_blank],
|
||||
and therefore must be uncompressed before being processed.
|
||||
|
||||
[[message_identifier]]
|
||||
@@ -1408,68 +1409,68 @@ WeeChat reserved identifiers:
|
||||
|
||||
[width="100%",cols="5m,5,3,4,7",options="header"]
|
||||
|===
|
||||
| Identifier | Received with _sync_ | Data sent |
|
||||
Description | Recommended action in client
|
||||
| Identifier | Received with _sync_ | Data sent
|
||||
| Description | Recommended action in client
|
||||
|
||||
| _buffer_opened | buffers / buffer | hdata: buffer |
|
||||
Buffer opened. | Open buffer.
|
||||
| _buffer_opened | buffers / buffer | hdata: buffer
|
||||
| Buffer opened. | Open buffer.
|
||||
|
||||
| _buffer_type_changed | buffers / buffer | hdata: buffer |
|
||||
Type of buffer changed. | Change type of buffer.
|
||||
| _buffer_type_changed | buffers / buffer | hdata: buffer
|
||||
| Type of buffer changed. | Change type of buffer.
|
||||
|
||||
| _buffer_moved | buffers / buffer | hdata: buffer |
|
||||
Buffer moved. | Move buffer.
|
||||
| _buffer_moved | buffers / buffer | hdata: buffer
|
||||
| Buffer moved. | Move buffer.
|
||||
|
||||
| _buffer_merged | buffers / buffer | hdata: buffer |
|
||||
Buffer merged. | Merge buffer.
|
||||
| _buffer_merged | buffers / buffer | hdata: buffer
|
||||
| Buffer merged. | Merge buffer.
|
||||
|
||||
| _buffer_unmerged | buffers / buffer | hdata: buffer |
|
||||
Buffer unmerged. | Unmerge buffer.
|
||||
| _buffer_unmerged | buffers / buffer | hdata: buffer
|
||||
| Buffer unmerged. | Unmerge buffer.
|
||||
|
||||
| _buffer_hidden | buffers / buffer | hdata: buffer |
|
||||
Buffer hidden. | Hide buffer.
|
||||
| _buffer_hidden | buffers / buffer | hdata: buffer
|
||||
| Buffer hidden. | Hide buffer.
|
||||
|
||||
| _buffer_unhidden | buffers / buffer | hdata: buffer |
|
||||
Buffer unhidden. | Unhide buffer.
|
||||
| _buffer_unhidden | buffers / buffer | hdata: buffer
|
||||
| Buffer unhidden. | Unhide buffer.
|
||||
|
||||
| _buffer_renamed | buffers / buffer | hdata: buffer |
|
||||
Buffer renamed. | Rename buffer.
|
||||
| _buffer_renamed | buffers / buffer | hdata: buffer
|
||||
| Buffer renamed. | Rename buffer.
|
||||
|
||||
| _buffer_title_changed | buffers / buffer | hdata: buffer |
|
||||
Title of buffer changed. | Change title of buffer.
|
||||
| _buffer_title_changed | buffers / buffer | hdata: buffer
|
||||
| Title of buffer changed. | Change title of buffer.
|
||||
|
||||
| _buffer_localvar_added | buffers / buffer | hdata: buffer |
|
||||
Local variable added. | Add local variable in buffer.
|
||||
| _buffer_localvar_added | buffers / buffer | hdata: buffer
|
||||
| Local variable added. | Add local variable in buffer.
|
||||
|
||||
| _buffer_localvar_changed | buffers / buffer | hdata: buffer |
|
||||
Local variable changed. | Change local variable in buffer.
|
||||
| _buffer_localvar_changed | buffers / buffer | hdata: buffer
|
||||
| Local variable changed. | Change local variable in buffer.
|
||||
|
||||
| _buffer_localvar_removed | buffers / buffer | hdata: buffer |
|
||||
Local variable removed. | Remove local variable from buffer.
|
||||
| _buffer_localvar_removed | buffers / buffer | hdata: buffer
|
||||
| Local variable removed. | Remove local variable from buffer.
|
||||
|
||||
| _buffer_closing | buffers / buffer | hdata: buffer |
|
||||
Buffer closing. | Close buffer.
|
||||
| _buffer_closing | buffers / buffer | hdata: buffer
|
||||
| Buffer closing. | Close buffer.
|
||||
|
||||
| _buffer_cleared | buffer | hdata: buffer |
|
||||
Buffer cleared. | Clear buffer.
|
||||
| _buffer_cleared | buffer | hdata: buffer
|
||||
| Buffer cleared. | Clear buffer.
|
||||
|
||||
| _buffer_line_added | buffer | hdata: line |
|
||||
Line added in buffer. | Display line in buffer.
|
||||
| _buffer_line_added | buffer | hdata: line
|
||||
| Line added in buffer. | Display line in buffer.
|
||||
|
||||
| _nicklist | nicklist | hdata: nicklist_item |
|
||||
Nicklist for a buffer. | Replace nicklist.
|
||||
| _nicklist | nicklist | hdata: nicklist_item
|
||||
| Nicklist for a buffer. | Replace nicklist.
|
||||
|
||||
| _nicklist_diff | nicklist | hdata: nicklist_item |
|
||||
Nicklist diffs for a buffer . | Update nicklist.
|
||||
| _nicklist_diff | nicklist | hdata: nicklist_item
|
||||
| Nicklist diffs for a buffer . | Update nicklist.
|
||||
|
||||
| _pong | (always) | string: ping arguments |
|
||||
Answer to a "ping". | Measure response time.
|
||||
| _pong | (always) | string: ping arguments
|
||||
| Answer to a "ping". | Measure response time.
|
||||
|
||||
| _upgrade | upgrade | (empty) |
|
||||
WeeChat is upgrading. | Desync from WeeChat (or disconnect).
|
||||
| _upgrade | upgrade | (empty)
|
||||
| WeeChat is upgrading. | Desync from WeeChat (or disconnect).
|
||||
|
||||
| _upgrade_ended | upgrade | (empty) |
|
||||
Upgrade of WeeChat done. | Sync/resync with WeeChat.
|
||||
| _upgrade_ended | upgrade | (empty)
|
||||
| Upgrade of WeeChat done. | Sync/resync with WeeChat.
|
||||
|===
|
||||
|
||||
[[message_buffer_opened]]
|
||||
|
||||
+122
-121
@@ -11,8 +11,8 @@
|
||||
|
||||
This manual documents WeeChat chat client, it is part of WeeChat.
|
||||
|
||||
Latest version of this document can be found on this page:
|
||||
https://weechat.org/doc
|
||||
Latest version of this document can be found on
|
||||
https://weechat.org/doc/[this page ^↗^,window=_blank].
|
||||
|
||||
|
||||
[[introduction]]
|
||||
@@ -61,7 +61,7 @@ function, this can crash WeeChat. +
|
||||
If something must be run in background, the function `+hook_process+` can be used.
|
||||
See example in the chapter <<hook_process,Run a background process>>
|
||||
and the documentation on the function `+hook_process+` in the
|
||||
link:weechat_plugin_api.en.html#_hook_process[WeeChat plugin API reference].
|
||||
link:weechat_plugin_api.en.html#_hook_process[WeeChat plugin API reference ^↗^,window=_blank].
|
||||
|
||||
[[languages_specificities]]
|
||||
=== Languages specificities
|
||||
@@ -74,7 +74,7 @@ link:weechat_plugin_api.en.html#_hook_process[WeeChat plugin API reference].
|
||||
|
||||
WeeChat defines a `weechat` module which must be imported with `import weechat`. +
|
||||
A Python stub for WeeChat API is available in the repository:
|
||||
https://raw.githubusercontent.com/weechat/weechat/master/src/plugins/python/weechat.pyi[weechat.pyi].
|
||||
https://raw.githubusercontent.com/weechat/weechat/master/src/plugins/python/weechat.pyi[weechat.pyi ^↗^,window=_blank].
|
||||
|
||||
[[python_functions]]
|
||||
===== Functions
|
||||
@@ -99,38 +99,38 @@ receive a string of type `str` or `bytes` (this list is not exhaustive):
|
||||
|===
|
||||
| API function | Arguments | Examples | Description
|
||||
|
||||
| hook_modifier |
|
||||
irc_in_yyy |
|
||||
pass:[irc_in_privmsg] +
|
||||
pass:[irc_in_notice] |
|
||||
A message received in IRC plugin, before it is decoded to UTF-8 (used
|
||||
| hook_modifier
|
||||
| irc_in_yyy
|
||||
| pass:[irc_in_privmsg] +
|
||||
pass:[irc_in_notice]
|
||||
| A message received in IRC plugin, before it is decoded to UTF-8 (used
|
||||
internally). +
|
||||
+
|
||||
It is recommended to use modifier `+irc_in2_yyy+` instead, the string received
|
||||
is always UTF-8 valid. +
|
||||
See function `+hook_modifier+` in the
|
||||
link:weechat_plugin_api.en.html#_hook_modifier[WeeChat plugin API reference].
|
||||
link:weechat_plugin_api.en.html#_hook_modifier[WeeChat plugin API reference ^↗^,window=_blank].
|
||||
|
||||
| hook_signal |
|
||||
xxx,irc_out_yyy +
|
||||
xxx,irc_outtags_yyy |
|
||||
pass:[*,irc_out_privmsg] +
|
||||
| hook_signal
|
||||
| xxx,irc_out_yyy +
|
||||
xxx,irc_outtags_yyy
|
||||
| pass:[*,irc_out_privmsg] +
|
||||
pass:[*,irc_out_notice] +
|
||||
pass:[*,irc_outtags_privmsg] +
|
||||
pass:[*,irc_outtags_notice] |
|
||||
A message sent by IRC plugin, after it is encoded to the `encode` charset
|
||||
pass:[*,irc_outtags_notice]
|
||||
| A message sent by IRC plugin, after it is encoded to the `encode` charset
|
||||
defined by the user (if different from the default `UTF-8`). +
|
||||
+
|
||||
It is recommended to use signal `+xxx,irc_out1_yyy+` instead, the string received
|
||||
is always UTF-8 valid. +
|
||||
See function `+hook_signal+` in the
|
||||
link:weechat_plugin_api.en.html#_hook_signal[WeeChat plugin API reference].
|
||||
link:weechat_plugin_api.en.html#_hook_signal[WeeChat plugin API reference ^↗^,window=_blank].
|
||||
|
||||
| hook_process +
|
||||
hook_process_hashtable |
|
||||
- |
|
||||
- |
|
||||
Output of the command, sent to the callback, can contain invalid UTF-8 data.
|
||||
hook_process_hashtable
|
||||
| -
|
||||
| -
|
||||
| Output of the command, sent to the callback, can contain invalid UTF-8 data.
|
||||
|
||||
|===
|
||||
|
||||
@@ -376,7 +376,7 @@ 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]
|
||||
You can look at link:weechat_plugin_api.en.html[WeeChat plugin API reference ^↗^,window=_blank]
|
||||
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
|
||||
@@ -543,7 +543,7 @@ weechat_hook_timer(1000, 0, 1, $timer_cb, 'test');
|
||||
== Script API
|
||||
|
||||
For more information about functions in API, please read the
|
||||
link:weechat_plugin_api.en.html[WeeChat plugin API reference].
|
||||
link:weechat_plugin_api.en.html[WeeChat plugin API reference ^↗^,window=_blank].
|
||||
|
||||
[[script_api_functions]]
|
||||
=== Functions
|
||||
@@ -554,14 +554,14 @@ List of functions in script API:
|
||||
|===
|
||||
| Category | Functions
|
||||
|
||||
| general |
|
||||
register
|
||||
| general
|
||||
| register
|
||||
|
||||
| plugins |
|
||||
plugin_get_name
|
||||
| plugins
|
||||
| plugin_get_name
|
||||
|
||||
| strings |
|
||||
charset_set +
|
||||
| strings
|
||||
| charset_set +
|
||||
iconv_to_internal +
|
||||
iconv_from_internal +
|
||||
gettext +
|
||||
@@ -580,13 +580,13 @@ List of functions in script API:
|
||||
string_eval_expression +
|
||||
string_eval_path_home
|
||||
|
||||
| directories |
|
||||
mkdir_home +
|
||||
| directories
|
||||
| mkdir_home +
|
||||
mkdir +
|
||||
mkdir_parents
|
||||
|
||||
| sorted lists |
|
||||
list_new +
|
||||
| sorted lists
|
||||
| list_new +
|
||||
list_add +
|
||||
list_search +
|
||||
list_search_pos +
|
||||
@@ -602,8 +602,8 @@ List of functions in script API:
|
||||
list_remove_all +
|
||||
list_free
|
||||
|
||||
| configuration files |
|
||||
config_new +
|
||||
| configuration files
|
||||
| config_new +
|
||||
config_new_section +
|
||||
config_search_section +
|
||||
config_new_option +
|
||||
@@ -640,12 +640,12 @@ List of functions in script API:
|
||||
config_set_desc_plugin +
|
||||
config_unset_plugin
|
||||
|
||||
| key bindings |
|
||||
key_bind +
|
||||
| key bindings
|
||||
| key_bind +
|
||||
key_unbind
|
||||
|
||||
| display |
|
||||
prefix +
|
||||
| display
|
||||
| prefix +
|
||||
color +
|
||||
print (for python: prnt) +
|
||||
print_date_tags (for python: prnt_date_tags) +
|
||||
@@ -653,8 +653,8 @@ List of functions in script API:
|
||||
print_y_date_tags (for python: prnt_y_date_tags) +
|
||||
log_print
|
||||
|
||||
| hooks |
|
||||
hook_command +
|
||||
| hooks
|
||||
| hook_command +
|
||||
hook_command_run +
|
||||
hook_timer +
|
||||
hook_fd +
|
||||
@@ -679,8 +679,8 @@ List of functions in script API:
|
||||
unhook +
|
||||
unhook_all
|
||||
|
||||
| buffers |
|
||||
buffer_new +
|
||||
| buffers
|
||||
| buffer_new +
|
||||
buffer_new_props +
|
||||
current_buffer +
|
||||
buffer_search +
|
||||
@@ -696,16 +696,16 @@ List of functions in script API:
|
||||
buffer_string_replace_local_var +
|
||||
buffer_match_list
|
||||
|
||||
| windows |
|
||||
current_window +
|
||||
| windows
|
||||
| current_window +
|
||||
window_search_with_buffer +
|
||||
window_get_integer +
|
||||
window_get_string +
|
||||
window_get_pointer +
|
||||
window_set_title
|
||||
|
||||
| nicklist |
|
||||
nicklist_add_group +
|
||||
| nicklist
|
||||
| nicklist_add_group +
|
||||
nicklist_search_group +
|
||||
nicklist_add_nick +
|
||||
nicklist_search_nick +
|
||||
@@ -721,8 +721,8 @@ List of functions in script API:
|
||||
nicklist_nick_get_pointer +
|
||||
nicklist_nick_set
|
||||
|
||||
| bars |
|
||||
bar_item_search +
|
||||
| bars
|
||||
| bar_item_search +
|
||||
bar_item_new +
|
||||
bar_item_update +
|
||||
bar_item_remove +
|
||||
@@ -732,23 +732,23 @@ List of functions in script API:
|
||||
bar_update +
|
||||
bar_remove
|
||||
|
||||
| commands |
|
||||
command +
|
||||
| commands
|
||||
| command +
|
||||
command_options
|
||||
|
||||
| completion |
|
||||
completion_new +
|
||||
| completion
|
||||
| completion_new +
|
||||
completion_search +
|
||||
completion_get_string +
|
||||
completion_list_add +
|
||||
completion_free
|
||||
|
||||
| infos |
|
||||
info_get +
|
||||
| infos
|
||||
| info_get +
|
||||
info_get_hashtable
|
||||
|
||||
| infolists |
|
||||
infolist_new +
|
||||
| infolists
|
||||
| infolist_new +
|
||||
infolist_new_item +
|
||||
infolist_new_var_integer +
|
||||
infolist_new_var_string +
|
||||
@@ -766,8 +766,8 @@ List of functions in script API:
|
||||
infolist_time +
|
||||
infolist_free
|
||||
|
||||
| hdata |
|
||||
hdata_get +
|
||||
| hdata
|
||||
| hdata_get +
|
||||
hdata_get_var_offset +
|
||||
hdata_get_var_type_string +
|
||||
hdata_get_var_array_size +
|
||||
@@ -788,8 +788,8 @@ List of functions in script API:
|
||||
hdata_update +
|
||||
hdata_get_string
|
||||
|
||||
| upgrade |
|
||||
upgrade_new +
|
||||
| upgrade
|
||||
| upgrade_new +
|
||||
upgrade_write_object +
|
||||
upgrade_read +
|
||||
upgrade_close
|
||||
@@ -804,13 +804,13 @@ List of constants in script API:
|
||||
|===
|
||||
| Category | Constants
|
||||
|
||||
| return codes |
|
||||
`WEECHAT_RC_OK` (integer) +
|
||||
| return codes
|
||||
| `WEECHAT_RC_OK` (integer) +
|
||||
`WEECHAT_RC_OK_EAT` (integer) +
|
||||
`WEECHAT_RC_ERROR` (integer)
|
||||
|
||||
| configuration files |
|
||||
`WEECHAT_CONFIG_READ_OK` (integer) +
|
||||
| configuration files
|
||||
| `WEECHAT_CONFIG_READ_OK` (integer) +
|
||||
`WEECHAT_CONFIG_READ_MEMORY_ERROR` (integer) +
|
||||
`WEECHAT_CONFIG_READ_FILE_NOT_FOUND` (integer) +
|
||||
`WEECHAT_CONFIG_WRITE_OK` (integer) +
|
||||
@@ -825,23 +825,23 @@ List of constants in script API:
|
||||
`WEECHAT_CONFIG_OPTION_UNSET_OK_REMOVED` (integer) +
|
||||
`WEECHAT_CONFIG_OPTION_UNSET_ERROR` (integer)
|
||||
|
||||
| sorted lists |
|
||||
`WEECHAT_LIST_POS_SORT` (string) +
|
||||
| sorted lists
|
||||
| `WEECHAT_LIST_POS_SORT` (string) +
|
||||
`WEECHAT_LIST_POS_BEGINNING` (string) +
|
||||
`WEECHAT_LIST_POS_END` (string)
|
||||
|
||||
| hotlist |
|
||||
`WEECHAT_HOTLIST_LOW` (string) +
|
||||
| hotlist
|
||||
| `WEECHAT_HOTLIST_LOW` (string) +
|
||||
`WEECHAT_HOTLIST_MESSAGE` (string) +
|
||||
`WEECHAT_HOTLIST_PRIVATE` (string) +
|
||||
`WEECHAT_HOTLIST_HIGHLIGHT` (string)
|
||||
|
||||
| hook process |
|
||||
`WEECHAT_HOOK_PROCESS_RUNNING` (integer) +
|
||||
| hook process
|
||||
| `WEECHAT_HOOK_PROCESS_RUNNING` (integer) +
|
||||
`WEECHAT_HOOK_PROCESS_ERROR` (integer)
|
||||
|
||||
| hook connect |
|
||||
`WEECHAT_HOOK_CONNECT_OK` (integer) +
|
||||
| hook connect
|
||||
| `WEECHAT_HOOK_CONNECT_OK` (integer) +
|
||||
`WEECHAT_HOOK_CONNECT_ADDRESS_NOT_FOUND` (integer) +
|
||||
`WEECHAT_HOOK_CONNECT_IP_ADDRESS_NOT_FOUND` (integer) +
|
||||
`WEECHAT_HOOK_CONNECT_CONNECTION_REFUSED` (integer) +
|
||||
@@ -853,8 +853,8 @@ List of constants in script API:
|
||||
`WEECHAT_HOOK_CONNECT_TIMEOUT` (integer) +
|
||||
`WEECHAT_HOOK_CONNECT_SOCKET_ERROR` (integer)
|
||||
|
||||
| hook signal |
|
||||
`WEECHAT_HOOK_SIGNAL_STRING` (string) +
|
||||
| hook signal
|
||||
| `WEECHAT_HOOK_SIGNAL_STRING` (string) +
|
||||
`WEECHAT_HOOK_SIGNAL_INT` (string) +
|
||||
`WEECHAT_HOOK_SIGNAL_POINTER` (string)
|
||||
|===
|
||||
@@ -864,7 +864,7 @@ List of constants in script API:
|
||||
|
||||
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].
|
||||
link:weechat_plugin_api.en.html[WeeChat plugin API reference ^↗^,window=_blank].
|
||||
|
||||
[[buffers]]
|
||||
=== Buffers
|
||||
@@ -883,7 +883,7 @@ Examples:
|
||||
weechat.prnt("", "hello")
|
||||
|
||||
# display "hello" on core buffer, but do not write it to log file
|
||||
# (version >= 0.3.3 only)
|
||||
# (version ≥ 0.3.3 only)
|
||||
weechat.prnt_date_tags("", 0, "no_log", "hello")
|
||||
|
||||
# display prefix "==>" and message "hello" on current buffer
|
||||
@@ -1133,7 +1133,8 @@ weechat.hook_process("url:https://weechat.org/dev/info/stable/",
|
||||
----
|
||||
|
||||
[TIP]
|
||||
All infos available about WeeChat are on page https://weechat.org/dev/info
|
||||
All infos available about WeeChat are on
|
||||
https://weechat.org/dev/info/[this page ^↗^,window=_blank].
|
||||
|
||||
Example of URL transfer with an option: download latest WeeChat development
|
||||
package in file _/tmp/weechat-devel.tar.gz_:
|
||||
@@ -1152,7 +1153,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].
|
||||
link:weechat_plugin_api.en.html#_hook_process[WeeChat plugin API reference ^↗^,window=_blank].
|
||||
|
||||
[[config_options]]
|
||||
=== Config / options
|
||||
@@ -1308,61 +1309,61 @@ The result is a hashtable with following keys
|
||||
|===
|
||||
| Key | Since WeeChat ^(1)^ | Description | Example
|
||||
|
||||
| tags | 0.4.0 |
|
||||
The tags in message (can be empty). |
|
||||
`+time=2015-06-27T16:40:35.000Z+`
|
||||
| tags | 0.4.0
|
||||
| The tags in message (can be empty).
|
||||
| `+time=2015-06-27T16:40:35.000Z+`
|
||||
|
||||
| tag_xxx | 3.3 |
|
||||
Unescaped value of tag "xxx" (one key per tag). |
|
||||
`+2015-06-27T16:40:35.000Z+`
|
||||
| tag_xxx | 3.3
|
||||
| Unescaped value of tag "xxx" (one key per tag).
|
||||
| `+2015-06-27T16:40:35.000Z+`
|
||||
|
||||
| message_without_tags | 0.4.0 |
|
||||
The message without the tags (the same as message if there are no tags). |
|
||||
`+:nick!user@host PRIVMSG #weechat :hello!+`
|
||||
| message_without_tags | 0.4.0
|
||||
| The message without the tags (the same as message if there are no tags).
|
||||
| `+:nick!user@host PRIVMSG #weechat :hello!+`
|
||||
|
||||
| nick | 0.3.4 |
|
||||
The origin nick. |
|
||||
`+nick+`
|
||||
| nick | 0.3.4
|
||||
| The origin nick.
|
||||
| `+nick+`
|
||||
|
||||
| user | 2.7 |
|
||||
The origin user. |
|
||||
`+user+`
|
||||
| user | 2.7
|
||||
| The origin user.
|
||||
| `+user+`
|
||||
|
||||
| host | 0.3.4 |
|
||||
The origin host (includes the nick). |
|
||||
`+nick!user@host+`
|
||||
| host | 0.3.4
|
||||
| The origin host (includes the nick).
|
||||
| `+nick!user@host+`
|
||||
|
||||
| command | 0.3.4 |
|
||||
The command (_PRIVMSG_, _NOTICE_, ...). |
|
||||
`+PRIVMSG+`
|
||||
| command | 0.3.4
|
||||
| The command (_PRIVMSG_, _NOTICE_, ...).
|
||||
| `+PRIVMSG+`
|
||||
|
||||
| channel | 0.3.4 |
|
||||
The target channel. |
|
||||
`+#weechat+`
|
||||
| channel | 0.3.4
|
||||
| The target channel.
|
||||
| `+#weechat+`
|
||||
|
||||
| arguments | 0.3.4 |
|
||||
The command arguments (includes the channel). |
|
||||
`+#weechat :hello!+`
|
||||
| arguments | 0.3.4
|
||||
| The command arguments (includes the channel).
|
||||
| `+#weechat :hello!+`
|
||||
|
||||
| text | 1.3 |
|
||||
The text (for example user message). |
|
||||
`+hello!+`
|
||||
| text | 1.3
|
||||
| The text (for example user message).
|
||||
| `+hello!+`
|
||||
|
||||
| pos_command | 1.3 |
|
||||
The index of _command_ in message ("-1" if _command_ was not found). |
|
||||
`+47+`
|
||||
| pos_command | 1.3
|
||||
| The index of _command_ in message ("-1" if _command_ was not found).
|
||||
| `+47+`
|
||||
|
||||
| pos_arguments | 1.3 |
|
||||
The index of _arguments_ in message ("-1" if _arguments_ was not found). |
|
||||
`+55+`
|
||||
| pos_arguments | 1.3
|
||||
| The index of _arguments_ in message ("-1" if _arguments_ was not found).
|
||||
| `+55+`
|
||||
|
||||
| pos_channel | 1.3 |
|
||||
The index of _channel_ in message ("-1" if _channel_ was not found). |
|
||||
`+55+`
|
||||
| pos_channel | 1.3
|
||||
| The index of _channel_ in message ("-1" if _channel_ was not found).
|
||||
| `+55+`
|
||||
|
||||
| pos_text | 1.3 |
|
||||
The index of _text_ in message ("-1" if _text_ was not found). |
|
||||
`+65+`
|
||||
| pos_text | 1.3
|
||||
| The index of _text_ in message ("-1" if _text_ was not found).
|
||||
| `+65+`
|
||||
|===
|
||||
|
||||
[NOTE]
|
||||
|
||||
+661
-310
File diff suppressed because it is too large
Load Diff
+61
-35
@@ -36,7 +36,9 @@ no se aplican a WeeChat!).
|
||||
|
||||
Porque WeeChat es muy ligero y ofrece funcionalidades innovadoras.
|
||||
|
||||
Más información de las funcionalidades de WeeChat en la página: https://weechat.org/about/features
|
||||
// TRANSLATION MISSING
|
||||
More info on the WeeChat
|
||||
https://weechat.org/about/features/[features page ^↗^,window=_blank].
|
||||
|
||||
[[compilation_install]]
|
||||
== Compilación / instalación
|
||||
@@ -44,16 +46,17 @@ Más información de las funcionalidades de WeeChat en la página: https://weech
|
||||
[[gui]]
|
||||
=== ¿He oido que hay muchas interfaces gráficas de susuario (GUI) para WeeChat. ¿Cómo puedo compilarlas o usarlas?
|
||||
|
||||
Hay disponibles algunas GUIs, eche un vistazo a la página de interfaces remotas:
|
||||
https://weechat.org/about/interfaces
|
||||
// TRANSLATION MISSING
|
||||
Some remote GUIs are available, see the
|
||||
https://weechat.org/about/interfaces/[remote interfaces page ^↗^,window=_blank].
|
||||
|
||||
[[compile_git]]
|
||||
=== No puedo compilar WeeChat después de haber clonado el repositorio git, ¿por qué?
|
||||
|
||||
La manera recomendada para compilar WeeChat es con
|
||||
link:weechat_user.en.html#compile_with_cmake[CMake].
|
||||
link:weechat_user.en.html#compile_with_cmake[CMake ^↗^,window=_blank].
|
||||
|
||||
Si lo está compilando con link:weechat_user.en.html#compile_with_autotools[autotools]
|
||||
Si lo está compilando con link:weechat_user.en.html#compile_with_autotools[autotools ^↗^,window=_blank]
|
||||
(y no con CMake), compruebe que tiene la versión más reciente de autoconf y automake.
|
||||
|
||||
Otra forma es instalar "devel package", que necesita menos dependencias.
|
||||
@@ -64,7 +67,8 @@ que la opción de clonar el repositorio de git a la hora de instalar actualizaci
|
||||
[[compile_macos]]
|
||||
=== ¿Cómo puedo instalar WeeChat en macOS?
|
||||
|
||||
Se recomienda utilizar https://brew.sh/[Homebrew], puede obtener ayuda con el comando:
|
||||
Se recomienda utilizar https://brew.sh/[Homebrew ^↗^,window=_blank],
|
||||
puede obtener ayuda con el comando:
|
||||
|
||||
----
|
||||
brew info weechat
|
||||
@@ -80,12 +84,12 @@ brew install weechat
|
||||
=== He lanzado WeeChat, pero estoy perdido, ¿qué puedo hacer?
|
||||
|
||||
Para consultar la ayuda, escriba `/help`. Para buscar ayuda con un comando, escriba `/help comando`.
|
||||
link:weechat_user.en.html#key_bindings[Las teclas] y
|
||||
link:weechat_user.en.html#commands_and_options[comandos] aparecen listados
|
||||
link:weechat_user.en.html#key_bindings[Las teclas ^↗^,window=_blank] y
|
||||
link:weechat_user.en.html#commands_and_options[comandos ^↗^,window=_blank] aparecen listados
|
||||
en la documentación.
|
||||
|
||||
Se recomienda a las personas recién llegadas leer la
|
||||
link:weechat_quickstart.es.html[guía rápida].
|
||||
link:weechat_quickstart.es.html[guía rápida ^↗^,window=_blank].
|
||||
|
||||
[[display]]
|
||||
== Visualización
|
||||
@@ -113,7 +117,7 @@ Es un problema común con una variedad de causas, por favor lea detenidamente y
|
||||
** Si está utilizando el multiplexador screen, compruebe que lo está ejecuando con el modo UTF-8
|
||||
("`defutf8 on`" en ~/.screenrc o `screen -U` al ejecutar screen).
|
||||
* Compruebe si la opción
|
||||
link:weechat_user.en.html#option_weechat.look.eat_newline_glitch[_weechat.look.eat_newline_glitch_]
|
||||
link:weechat_user.en.html#option_weechat.look.eat_newline_glitch[_weechat.look.eat_newline_glitch_ ^↗^,window=_blank]
|
||||
está en off (esta opción puede causar errores a la hora de mostrar el texto).
|
||||
|
||||
[NOTE]
|
||||
@@ -128,10 +132,11 @@ Esto puede estar causado por un error en libc en la función _wcwidth_, que debe
|
||||
en glibc 2.22 (quizás todavía no está disponible en su distribución).
|
||||
|
||||
Hay una solución temporal que es utilizar una función de _wcwidth_ sin ese error:
|
||||
https://blog.nytsoi.net/2015/05/04/emoji-support-for-weechat
|
||||
https://blog.nytsoi.net/2015/05/04/emoji-support-for-weechat[https://blog.nytsoi.net/2015/05/04/emoji-support-for-weechat ^↗^,window=_blank].
|
||||
|
||||
Vea este reporte de error para más información:
|
||||
https://github.com/weechat/weechat/issues/79
|
||||
// TRANSLATION MISSING
|
||||
See this https://github.com/weechat/weechat/issues/79[bug report ^↗^,window=_blank]
|
||||
for more information.
|
||||
|
||||
[[bars_background]]
|
||||
=== Las barras del título y de estado no aparecen rellenadas, el color de fondo desaparece después del texto, ¿por qué?
|
||||
@@ -188,7 +193,7 @@ ventanas.
|
||||
[[buffers_list]]
|
||||
=== ¿Cómo mostrar un listado de los buffers en la parte izquierda?
|
||||
|
||||
Con WeeChat ≥ 1.8, el complemento link:weechat_user.en.html#buflist_plugin[buflist]
|
||||
Con WeeChat ≥ 1.8, el complemento link:weechat_user.en.html#buflist[buflist ^↗^,window=_blank]
|
||||
está cargado y habilitado de manera predeterminada.
|
||||
|
||||
Con versiones anteriores, puede instalar el script _buffers.pl_:
|
||||
@@ -256,8 +261,9 @@ como `237` para gris oscuro.
|
||||
El complemento del listado de buffers _buflist_ ofrece múltiples opciones que puede configurar, por favor lea
|
||||
la ayuda de cada opción.
|
||||
|
||||
También hay una página wiki con ejemplos de configuraciones más completas:
|
||||
https://github.com/weechat/weechat/wiki/buflist
|
||||
// TRANSLATION MISSING
|
||||
There's also a https://github.com/weechat/weechat/wiki/buflist[wiki page ^↗^,window=_blank]
|
||||
with examples of advanced buflist configuration.
|
||||
|
||||
[[customize_prefix]]
|
||||
=== ¿Cómo puedo reducir la longitud de los apodos o eliminar la alineación de los apodos en el área del chat?
|
||||
@@ -300,7 +306,7 @@ Estos colores pueden ser cambiados con las opciones __weechat.color.status_data_
|
||||
(buffers) y __weechat.color.status_count_*__ (contadores). +
|
||||
Otras opciones de la lista rápida o _hotlist_ pueden ser cambiadas con las opciones __weechat.look.hotlist_*__.
|
||||
|
||||
Vea la link:weechat_user.en.html#screen_layout[Guía de usuario / diseño de la pantalla] para
|
||||
Vea la link:weechat_user.en.html#screen_layout[Guía de usuario / diseño de la pantalla ^↗^,window=_blank] para
|
||||
más información sobre este tema.
|
||||
|
||||
[[input_bar_size]]
|
||||
@@ -465,7 +471,7 @@ Para la versión 0.3.4, deberá utilizar el comando `/color` para añadir nuevos
|
||||
Para versiones ≥ 0.3.5, puede utilizar cualquier número de color en las opciones (opcional: puede
|
||||
añadir alias al color con el comando `/color`).
|
||||
|
||||
Por favor lea la link:weechat_user.en.html#colors[Guía del usuario / Colores] para más
|
||||
Por favor lea la link:weechat_user.en.html#colors[Guía del usuario / Colores ^↗^,window=_blank] para más
|
||||
información sobre la gestión de los colores.
|
||||
|
||||
[[search_text]]
|
||||
@@ -474,8 +480,8 @@ información sobre la gestión de los colores.
|
||||
La tecla predeterminada es kbd:[Ctrl+r] (el comando es: `+/input texto_a_buscar_aquí+`).
|
||||
Y para saltar a los textos resaltados: kbd:[Alt+p] / kbd:[Alt+n].
|
||||
|
||||
Vea la link:weechat_user.en.html#key_bindings[Guía del usuario / Atajos de teclado] para más
|
||||
información sobre esta funcionalidad.
|
||||
Vea la link:weechat_user.en.html#key_bindings[Guía del usuario / Atajos de teclado ^↗^,window=_blank]
|
||||
para más información sobre esta funcionalidad.
|
||||
|
||||
[[terminal_focus]]
|
||||
=== ¿Cómo puedo ejecutar comandos cuando la terminal tiene o pierde el foco?
|
||||
@@ -648,7 +654,7 @@ Puede crear un atajo de teclado, por ejemplo:
|
||||
----
|
||||
|
||||
Tiene una lista de las teclas predeterminadas en la
|
||||
link:weechat_user.en.html#key_bindings[Guía del usuario / Atajos de teclado].
|
||||
link:weechat_user.en.html#key_bindings[Guía del usuario / Atajos de teclado ^↗^,window=_blank].
|
||||
|
||||
Para saltar a un buffer mayor de 100, podría definir un disparador y después utilizar
|
||||
comandos como `/123` para saltar al buffer #123:
|
||||
@@ -840,18 +846,34 @@ join and part in the "autojoin" server option.
|
||||
For all servers:
|
||||
|
||||
----
|
||||
/set irc.server_default.autojoin_record on
|
||||
/set irc.server_default.autojoin_dynamic on
|
||||
----
|
||||
|
||||
// TRANSLATION MISSING
|
||||
For a single server:
|
||||
|
||||
----
|
||||
/set irc.server.libera.autojoin_record on
|
||||
/set irc.server.libera.autojoin_dynamic on
|
||||
----
|
||||
|
||||
Puede utilizar el comando `/set` para editar la lista de canales con autojoin,
|
||||
por ejemplo, para el servidor "libera":
|
||||
// TRANSLATION MISSING
|
||||
With WeeChat ≥ 3.5, you can also add the current channel in the "autojoin"
|
||||
server option using the `/autojoin` command:
|
||||
|
||||
----
|
||||
/autojoin add
|
||||
----
|
||||
|
||||
// TRANSLATION MISSING
|
||||
Or another channel:
|
||||
|
||||
----
|
||||
/autojoin add #test
|
||||
----
|
||||
|
||||
// TRANSLATION MISSING
|
||||
With WeeChat ≤ 3.4, puede utilizar el comando `/set` para editar la lista de
|
||||
canales con autojoin, por ejemplo, para el servidor "libera":
|
||||
|
||||
----
|
||||
/set irc.server.libera.autojoin [TAB]
|
||||
@@ -868,7 +890,8 @@ También puede utilizar el comando `/fset` para editar la lista de canales:
|
||||
/fset autojoin
|
||||
----
|
||||
|
||||
Otra solución es utilizar un script:
|
||||
// TRANSLATION MISSING
|
||||
With WeeChat ≤ 3.4, otra solución es utilizar un script:
|
||||
|
||||
----
|
||||
/script search autojoin
|
||||
@@ -908,7 +931,7 @@ Con un filtro global (oculta *todos* los mensajes join/part/quit):
|
||||
|
||||
[NOTE]
|
||||
Para más ayuda: `/help filter`, `+/help irc.look.smart_filter+` y vea la
|
||||
link:weechat_user.en.html#irc_smart_filter_join_part_quit[Guía del usuario / Filtros inteligente para mensajes join/part/quit].
|
||||
link:weechat_user.en.html#irc_smart_filter_join_part_quit[Guía del usuario / Filtros inteligente para mensajes join/part/quit ^↗^,window=_blank].
|
||||
|
||||
[[filter_irc_join_channel_messages]]
|
||||
=== ¿Cómo puedo filtrar algunos mensajes mostrados cuando me uno a un canal IRC?
|
||||
@@ -1006,7 +1029,7 @@ Otros scripts para este tema:
|
||||
=== ¿Cómo puedo inhabilitar las menciones de unos apodos específicos?
|
||||
|
||||
Con WeeChat ≥ 0.3.4 puede utilizar
|
||||
link:weechat_user.en.html#max_hotlist_level_nicks[hotlist_max_level_nicks_add]
|
||||
link:weechat_user.en.html#max_hotlist_level_nicks[hotlist_max_level_nicks_add ^↗^,window=_blank]
|
||||
esta propiedad del buffer para configurar el nivel máximo de la hotlist para algunos apodos, por buffer,
|
||||
o por grupo de buffers (como servidores IRC).
|
||||
|
||||
@@ -1210,7 +1233,7 @@ Elimine de la memoria e inhabilite la carga automática del complemento "xfer" (
|
||||
Defina una frase de paso y utilice datos seguros cada vez que pueda para datos sensibles
|
||||
como contraseñas: vea `/help secure` y `/help` en las opciones
|
||||
(si puede utilice datos seguros, está escrito en la ayuda).
|
||||
Ver también link:weechat_user.en.html#secured_data[Guía del usuario / Datos seguros].
|
||||
Ver también link:weechat_user.en.html#secured_data[Guía del usuario / Datos seguros ^↗^,window=_blank].
|
||||
|
||||
Por ejemplo:
|
||||
|
||||
@@ -1231,7 +1254,7 @@ contiene sus contraseñas cifradas con su frase de paso.
|
||||
Algunos otros archivos pueden contener información sensible como contraseñas (si no están
|
||||
almacenadas en _sec.conf_ con el comando `/secure`).
|
||||
|
||||
Vea la link:weechat_user.en.html#files_and_directories[Guía del usuario / Archivos y directorios]
|
||||
Vea la link:weechat_user.en.html#files_and_directories[Guía del usuario / Archivos y directorios ^↗^,window=_blank]
|
||||
para más información relacionada con los archivos de configuración.
|
||||
|
||||
[[development]]
|
||||
@@ -1240,7 +1263,8 @@ para más información relacionada con los archivos de configuración.
|
||||
[[bug_task_patch]]
|
||||
=== ¿Cómo podría informar de errores, pedir nuevas funcionalidades o enviar parches?
|
||||
|
||||
Vea: https://weechat.org/about/support
|
||||
// TRANSLATION MISSING
|
||||
See https://weechat.org/about/support/[this page ^↗^,window=_blank].
|
||||
|
||||
[[gdb_error_threads]]
|
||||
=== Cuando ejecuto WeeChat bajo gdb, hay un error con la muestra de las conversaciones, ¿qué puedo hacer?
|
||||
@@ -1276,11 +1300,13 @@ algunos sistemas operativos en los que no podemos probar WeeChat.
|
||||
|
||||
Hay muchas tareas que hacer (probar, escribir código, documentación, etc.)
|
||||
|
||||
Por favor, contacte con nosotros mediante IRC o correo electrónico, eche un vistazo a la página de soporte:
|
||||
https://weechat.org/about/support
|
||||
// TRANSLATION MISSING
|
||||
Please contact us via IRC or mail, look at
|
||||
https://weechat.org/about/support/[support page ^↗^,window=_blank].
|
||||
|
||||
[[donate]]
|
||||
=== ¿Puedo donar dinero u otras cosas a las personas que desarrollan WeeChat?
|
||||
|
||||
Puede donar dinero para ayudar en el desarrollo.
|
||||
Más detalles en https://weechat.org/donate
|
||||
// TRANSLATION MISSING
|
||||
You can give us money to help development.
|
||||
Details on https://weechat.org/donate/[donation page ^↗^,window=_blank].
|
||||
|
||||
@@ -207,10 +207,17 @@ Para unirse automáticamente a canales cuando el servidor se conecte:
|
||||
/set irc.server.libera.autojoin "#uncanal,#otrocanal"
|
||||
----
|
||||
|
||||
[TIP]
|
||||
Puede completar el nombre y el valor de las opciones con la tecla kbd:[Tab]
|
||||
y kbd:[Shift+Tab] para un autocompletado parcial (útil para palabras largas como
|
||||
el nombre de la opción).
|
||||
// TRANSLATION MISSING
|
||||
The `/autojoin` command lets you configure the _autojoin_ option easily
|
||||
(see `/help autojoin`).
|
||||
|
||||
// TRANSLATION MISSING
|
||||
You can also configure WeeChat to automatically update the _autojoin_ option
|
||||
when you join or leave channels:
|
||||
|
||||
----
|
||||
/set irc.server_default.autojoin_dynamic on
|
||||
----
|
||||
|
||||
Para eliminar un valor asignado a una opción de servidor y usar los
|
||||
valores predeterminados en su lugar, por ejemplo, usar el nick predeterminado
|
||||
@@ -227,6 +234,11 @@ donde "xxx" es el nombre de la opción.
|
||||
/set irc.server.libera.xxx valor
|
||||
----
|
||||
|
||||
[TIP]
|
||||
Puede completar el nombre y el valor de las opciones con la tecla kbd:[Tab]
|
||||
y kbd:[Shift+Tab] para un autocompletado parcial (útil para palabras largas como
|
||||
el nombre de la opción).
|
||||
|
||||
[[connect_to_irc_server]]
|
||||
== Conectarse a un servidor IRC
|
||||
|
||||
@@ -390,13 +402,16 @@ por ejemplo:
|
||||
|
||||
Vea `/help script` para obtener más información.
|
||||
|
||||
Hay una lista de scripts disponibles en WeeChat mediante el comando `/script` o en este enlace:
|
||||
https://weechat.org/scripts
|
||||
// TRANSLATION MISSING
|
||||
A list of scripts is available in WeeChat with `/script` or on
|
||||
https://weechat.org/scripts/[this page ^↗^,window=_blank].
|
||||
|
||||
[[more_doc]]
|
||||
== Más documentación
|
||||
|
||||
Ahora puede usar WeeChat y leer las FAQ/documentación para cada pregunta
|
||||
en: https://weechat.org/doc
|
||||
// TRANSLATION MISSING
|
||||
You can now use WeeChat and read
|
||||
https://weechat.org/doc/[FAQ/documentation ^↗^,window=_blank]
|
||||
for any other questions.
|
||||
|
||||
¡Disfrute de WeeChat!
|
||||
|
||||
@@ -94,6 +94,8 @@
|
||||
|
||||
| tcl | tcl_script | liste des scripts
|
||||
|
||||
| trigger | trigger_add_arguments | paramètres pour la commande qui ajoute un trigger : nom du trigger, hooks, paramètres du hook, conditions du hook, regex du hook, commande du hook, code retour du hook, actions "post"
|
||||
|
||||
| trigger | trigger_hook_arguments | paramètres par défaut pour un hook
|
||||
|
||||
| trigger | trigger_hook_command | commande par défaut pour un hook
|
||||
@@ -148,6 +150,14 @@
|
||||
|
||||
| weechat | cursor_areas | zones ("chat" ou un nom de barre) pour le mouvement libre du curseur
|
||||
|
||||
| weechat | custom_bar_item_add_arguments | paramètres pour la commande qui ajoute un objet de barre personnalisé : nom de l'objet, conditions, contenu
|
||||
|
||||
| weechat | custom_bar_item_conditions | conditions pour l'objet de barre personnalisé
|
||||
|
||||
| weechat | custom_bar_item_contents | contenus pour l'objet de barre personnalisé
|
||||
|
||||
| weechat | custom_bar_items_names | noms des objets de barre personnalisés
|
||||
|
||||
| weechat | env_value | valeur d'une variable d'environnement
|
||||
|
||||
| weechat | env_vars | variables d'environnement
|
||||
|
||||
@@ -130,7 +130,7 @@ Exemples :
|
||||
/autojoin add [<canal1> [<canal2>...]]
|
||||
addraw <canal1>[,<canal2>...] [<clé1>[,<clé2>...]]
|
||||
del [<canal1> [<canal2>...]]
|
||||
save
|
||||
apply
|
||||
sort
|
||||
|
||||
add : ajouter le canal courant ou une liste de canaux (avec clés facultatives) dans l'option autojoin ; si vous êtes sur le canal et que la clé n'est pas fournie, la clé est lue sur ce canal
|
||||
@@ -138,17 +138,18 @@ Exemples :
|
||||
del : supprimer le canal courant ou une liste de canaux de l'option autojoin
|
||||
channel : nom du canal
|
||||
key : clé pour le canal
|
||||
save : sauver les canaux actuellement joints dans l'option autojoin
|
||||
apply : définir les canaux actuellement joints dans l'option autojoin
|
||||
sort : trier les canaux de l'option autojoin par ordre alphabétique
|
||||
|
||||
Exemples :
|
||||
/autojoin add
|
||||
/autojoin add #test
|
||||
/autojoin add #chan1 #chan2
|
||||
/allchan /autojoin add
|
||||
/autojoin addraw #chan1,#chan2,#chan3 key1,key2
|
||||
/autojoin del
|
||||
/autojoin del #chan1
|
||||
/autojoin save
|
||||
/autojoin apply
|
||||
/autojoin sort
|
||||
----
|
||||
|
||||
@@ -1331,8 +1332,8 @@ Exemples :
|
||||
----
|
||||
/debug list
|
||||
set <extension> <niveau>
|
||||
dump [<extension>]
|
||||
buffer|color|infolists|libs|certs|memory|tags|term|windows
|
||||
dump|hooks [<extension>]
|
||||
buffer|certs|color|dirs|infolists|libs|memory|tags|term|windows
|
||||
cursor|mouse [verbose]
|
||||
hdata [free]
|
||||
time <commande>
|
||||
@@ -1342,15 +1343,15 @@ Exemples :
|
||||
extension : nom de l'extension ("core" pour le cœur de WeeChat)
|
||||
niveau : niveau de debug pour l'extension
|
||||
dump : afficher les variables mémoire WeeChat dans le fichier log (les mêmes messages sont affichés lorsque WeeChat plante)
|
||||
hooks : afficher des infos sur les hooks (avec une extension : afficher les infos détaillées sur les hooks créés par l'extension)
|
||||
buffer : afficher le contenu du tampon en valeurs hexadécimales dans le fichier log
|
||||
certs : afficher le nombre de certificats des autorités de certification chargés
|
||||
color : afficher des infos sur les paires de couleur courantes
|
||||
cursor : activer/désactiver le debug pour le mode curseur
|
||||
dirs : afficher les répertoires
|
||||
hdata : afficher des infos sur les hdata (avec free : supprimer tous les hdata en mémoire)
|
||||
hooks : afficher des infos sur les hooks
|
||||
infolists : afficher des infos sur les infolists
|
||||
libs : afficher des infos sur les bibliothèques externes utilisées
|
||||
certs : afficher le nombre de certificats des autorités de certification chargés
|
||||
memory : afficher des infos sur l'utilisation de la mémoire
|
||||
mouse : activer/désactiver le debug pour la souris
|
||||
tags : afficher les étiquettes pour les lignes
|
||||
@@ -1408,28 +1409,30 @@ Des variables sont remplacées dans l'expression, en utilisant le format ${varia
|
||||
3. une sous-chaîne évaluée (format : "eval:xxx")
|
||||
4. une condition évaluée (format : "eval_cond:xxx")
|
||||
5. une chaîne avec les caractères échappés (format : "esc:xxx" ou "\xxx")
|
||||
6. une chaîne avec des caractères à cacher (format : "hide:caractère,chaîne")
|
||||
7. une chaîne avec un maximum de caractères (format : "cut:max,suffixe,chaîne" ou "cut:+max,suffixe,chaîne")
|
||||
6. une chaîne convertie en minuscules (format : "lower:xxx")
|
||||
7. une chaîne convertie en majuscules (format : "upper:xxx")
|
||||
8. une chaîne avec des caractères à cacher (format : "hide:caractère,chaîne")
|
||||
9. une chaîne avec un maximum de caractères (format : "cut:max,suffixe,chaîne" ou "cut:+max,suffixe,chaîne")
|
||||
ou un maximum de caractères affichés à l'écran (format : "cutscr:max,suffixe,chaîne" ou "cutscr:+max,suffixe,chaîne")
|
||||
8. une chaîne inversée (format : "rev:xxx" ou "revscr:xxx")
|
||||
9. une chaîne répétée (format : "repeat:nombre,chaîne")
|
||||
10. longueur d'une chaîne (format : "length:xxx" ou "lengthscr:xxx")
|
||||
11. découpage d'une chaîne (format : "split:nombre,séparateurs,flags,xxx")
|
||||
12. découpage de paramètres shell (format : "split_shell:nombre,xxx")
|
||||
13. une couleur (format : "color:xxx", voir la "Référence API extension", fonction "color")
|
||||
14. un modificateur (format : "modifier:nom,données,chaîne")
|
||||
15. une info (format : "info:nom,paramètres", les paramètres sont optionnels)
|
||||
16. une chaîne encodée/decodée en base 16, 32 ou 64 (format : "base_encode:base,xxx" ou "base_decode:base,xxx")
|
||||
17. la date/heure courante (format : "date" ou "date:format")
|
||||
18. une variable d'environnement (format : "env:XXX")
|
||||
19. un opérateur ternaire (format : "if:condition?valeur_si_vrai:valeur_si_faux")
|
||||
20. le résultat d'une expression avec parenthèses et les opérateurs + - * / // % ** (format : "calc:xxx")
|
||||
21. un nombre entier aléatoire (format : "random:min,max")
|
||||
22. une chaîne traduite (format : "translate:xxx")
|
||||
23. déclaration d'une variable utilisateur (format : "define:nom,valeur")
|
||||
24. une option (format : "fichier.section.option")
|
||||
25. une variable locale du tampon
|
||||
26. un hdata/variable (la valeur est automatiquement convertie en chaîne), par défaut "window" et "buffer" pointent vers la fenêtre et le tampon courants.
|
||||
10. une chaîne inversée (format : "rev:xxx" ou "revscr:xxx")
|
||||
11. une chaîne répétée (format : "repeat:nombre,chaîne")
|
||||
12. longueur d'une chaîne (format : "length:xxx" ou "lengthscr:xxx")
|
||||
13. découpage d'une chaîne (format : "split:nombre,séparateurs,flags,xxx")
|
||||
14. découpage de paramètres shell (format : "split_shell:nombre,xxx")
|
||||
15. une couleur (format : "color:xxx", voir la "Référence API extension", fonction "color")
|
||||
16. un modificateur (format : "modifier:nom,données,chaîne")
|
||||
17. une info (format : "info:nom,paramètres", les paramètres sont optionnels)
|
||||
18. une chaîne encodée/decodée en base 16, 32 ou 64 (format : "base_encode:base,xxx" ou "base_decode:base,xxx")
|
||||
19. la date/heure courante (format : "date" ou "date:format")
|
||||
20. une variable d'environnement (format : "env:XXX")
|
||||
21. un opérateur ternaire (format : "if:condition?valeur_si_vrai:valeur_si_faux")
|
||||
22. le résultat d'une expression avec parenthèses et les opérateurs + - * / // % ** (format : "calc:xxx")
|
||||
23. un nombre entier aléatoire (format : "random:min,max")
|
||||
24. une chaîne traduite (format : "translate:xxx")
|
||||
25. déclaration d'une variable utilisateur (format : "define:nom,valeur")
|
||||
26. une option (format : "fichier.section.option")
|
||||
27. une variable locale du tampon
|
||||
28. un hdata/variable (la valeur est automatiquement convertie en chaîne), par défaut "window" et "buffer" pointent vers la fenêtre et le tampon courants.
|
||||
Le format du hdata peut être le suivant :
|
||||
hdata.var1.var2... : démarrer avec un hdata (le pointeur doit être connu), et demander les variables l'une après l'autre (d'autres hdata peuvent être suivis)
|
||||
hdata[liste].var1.var2... : démarrer avec un hdata en utilisant une liste/pointeur/nom de pointeur, par exemple :
|
||||
@@ -1452,6 +1455,8 @@ Exemples (chaînes simples) :
|
||||
/eval -n ${window.buffer.full_name} ==> core.weechat
|
||||
/eval -n ${window.buffer.number} ==> 1
|
||||
/eval -n ${\t} ==> <tab>
|
||||
/eval -n ${lower:TEST} ==> test
|
||||
/eval -n ${upper:test} ==> TEST
|
||||
/eval -n ${hide:-,${relay.network.password}} ==> --------
|
||||
/eval -n ${cut:3,+,test} ==> tes+
|
||||
/eval -n ${cut:+3,+,test} ==> te+
|
||||
@@ -1497,7 +1502,7 @@ Exemples (conditions) :
|
||||
add|addreplace <nom> <tampon>[,<tampon>...] <étiquettes> <regex>
|
||||
rename <nom> <nouveau_nom>
|
||||
recreate <nom>
|
||||
del <nom>|-all
|
||||
del <nom>|-all [<nom>...]
|
||||
|
||||
list : lister tous les filtres
|
||||
enable : activer les filtres (par défaut les filtres sont activés)
|
||||
@@ -1646,6 +1651,49 @@ liste des actions :
|
||||
Cette commande est utilisé par les associations de touches ou les extensions.
|
||||
----
|
||||
|
||||
[[command_weechat_item]]
|
||||
* `+item+`: gestion des objets de barre personnalisés
|
||||
|
||||
----
|
||||
/item list
|
||||
add|addreplace <nom> "<conditions>" "<contenu>"
|
||||
rename <nom> <nouveau_nom>
|
||||
refresh <nom> [<nom>...]
|
||||
recreate <nom>
|
||||
del <nom>|-all
|
||||
|
||||
list : lister tous les objets de barre personnalisés
|
||||
add : ajouter un objet de barre personnalisé
|
||||
addreplace : ajouter ou remplacer un objet de barre personnalisé existant
|
||||
nom : nom de l'objet de barre personnalisé
|
||||
conditions : conditions évaluées pour afficher l'objet de barre (par exemple pour afficher l'objet de barre seulement sur certains tampons)
|
||||
contenu : contenu (évalué, voir /help eval)
|
||||
rename : renommer un objet de barre personnalisé
|
||||
refresh : mettre à jour le contenu d'un objet de barre personnalisé dans toutes les barres où l'objet est affiché ; tout objet peut être rafraîchi : défaut/extension/objets de barre personnalisés
|
||||
recreate : définir la ligne de commande utilisée pour éditer l'objet de barre personnalisé
|
||||
del : supprimer un objet de barre personnalisé
|
||||
-all : supprimer tous les objets de barre personnalisés
|
||||
|
||||
Exemples :
|
||||
ajouter un objet avec la taille du terminal, affiché seulement sur les tampons avec numéro = 1 :
|
||||
/item add terminfo "${buffer.number} == 1" "term:${info:term_width}x${info:term_height}"
|
||||
ajouter un objet avec des informations sur le tampon :
|
||||
/item add bufinfo "" "${buffer.number}:${buffer.name}${if:${buffer.zoomed}?(Z)}"
|
||||
ajouter un objet avec la date/heure en utilisant le format "Dec 25, 12:34 +0100", rafraîchi chaque minute :
|
||||
/item add datetime "" "${date:%b %d, %H:%M %z}"
|
||||
/trigger add datetime_refresh timer "60000;60" "" "" "/item refresh datetime"
|
||||
ajouter un objet avec le nombre de lignes dans le tampon (affichées/total), rafraîchi à chaque nouvelle ligne affichée ou si les lignes filtrées ont changé :
|
||||
/item add lines_count "" "${calc:${buffer.lines.lines_count}-${buffer.lines.lines_hidden}}/${buffer.lines.lines_count} lines"
|
||||
/trigger add lines_count_refresh_print print "" "" "" "/item refresh lines_count"
|
||||
/trigger add lines_count_refresh_signal signal "window_switch;buffer_switch;buffer_lines_hidden;filters_*" "" "" "/item refresh lines_count"
|
||||
forcer le rafraîchissement de l'objet "lines_count" :
|
||||
/item refresh lines_count
|
||||
recréer l'objet "lines_count" avec différentes conditions ou contenu :
|
||||
/item recreate lines_count
|
||||
supprimer l'objet "lines_count" :
|
||||
/item del lines_count
|
||||
----
|
||||
|
||||
[[command_weechat_key]]
|
||||
* `+key+`: associer/libérer des touches
|
||||
|
||||
@@ -2846,7 +2894,7 @@ protocole.nom : protocole et nom à relayer :
|
||||
- protocole "weechat" (le nom n'est pas utilisé)
|
||||
|
||||
Le protocole "irc" permet à n'importe quel client IRC (incluant WeeChat lui-même) de se connecter sur le port.
|
||||
Le protocole "weechat" permet à une interface distante de se connecter sur le port, voir la liste ici : https://weechat.org/about/interfaces
|
||||
Le protocole "weechat" permet à une interface distante de se connecter sur le port, voir la liste ici : https://weechat.org/about/interfaces/
|
||||
|
||||
Sans paramètre, cette commande ouvre le tampon avec la liste des clients pour le relai.
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// tag::plugin_options[]
|
||||
Pour une documentation complète sur les options des extensions, merci de
|
||||
consulter la documentation des extensions dans le
|
||||
https://weechat.org/doc[guide utilisateur de WeeChat].
|
||||
https://weechat.org/doc/[guide utilisateur de WeeChat].
|
||||
|
||||
Avec l'extension irc, vous pouvez vous connecter à un serveur de manière
|
||||
temporaire avec une URL, comme ceci :
|
||||
|
||||
@@ -62,4 +62,4 @@ include::includes/man.fr.adoc[tag=copyright]
|
||||
|
||||
== SUPPORT / SIGNALER DES BUGS
|
||||
|
||||
Pour de l'aide ou signaler un bug : https://weechat.org/about/support
|
||||
Pour de l'aide ou signaler un bug : https://weechat.org/about/support/
|
||||
|
||||
@@ -58,4 +58,4 @@ include::includes/man.fr.adoc[tag=copyright]
|
||||
|
||||
== SUPPORT / SIGNALER DES BUGS
|
||||
|
||||
Pour de l'aide ou signaler un bug : https://weechat.org/about/support
|
||||
Pour de l'aide ou signaler un bug : https://weechat.org/about/support/
|
||||
|
||||
+67
-66
@@ -12,8 +12,8 @@
|
||||
Ce manuel documente le client de messagerie instantanée WeeChat, il fait
|
||||
partie de WeeChat.
|
||||
|
||||
La dernière version de ce document peut être téléchargée sur cette page :
|
||||
https://weechat.org/doc
|
||||
La dernière version de ce document peut être téléchargée sur
|
||||
https://weechat.org/doc/[cette page ^↗^,window=_blank].
|
||||
|
||||
|
||||
[[introduction]]
|
||||
@@ -33,8 +33,8 @@ Ce manuel documente l'intérieur de WeeChat :
|
||||
[[repositories]]
|
||||
== Dépôts
|
||||
|
||||
Les dépôts de WeeChat sont dans l'organisation "weechat" de GitHub :
|
||||
https://github.com/weechat
|
||||
Les dépôts de WeeChat sont dans l'organisation
|
||||
https://github.com/weechat[weechat ^↗^,window=_blank] de GitHub.
|
||||
|
||||
Liste des dépôts :
|
||||
|
||||
@@ -45,7 +45,7 @@ scripts::
|
||||
les scripts _officiels_ soumis sur weechat.org
|
||||
|
||||
weechat.org::
|
||||
le code source du site de WeeChat : https://weechat.org/
|
||||
le code source du https://weechat.org/[site de WeeChat ^↗^,window=_blank]
|
||||
|
||||
weercd::
|
||||
serveur de test IRC
|
||||
@@ -424,7 +424,8 @@ Le cœur de WeeChat est situé dans les répertoires suivants :
|
||||
| test-core-utf8.cpp | Tests : UTF-8.
|
||||
| test-core-util.cpp | Tests : fonctions utiles.
|
||||
| gui/ | Racine des tests unitaires pour les interfaces.
|
||||
| test-gui-buffer.cpp | Tests : tampons.
|
||||
| test-gui-bar-window.cpp | Tests : fonctions de fenêtres de barre.
|
||||
| test-gui-buffer.cpp | Tests : fonctions de tampons.
|
||||
| test-gui-chat.cpp | Tests : fonctions de discussion.
|
||||
| test-gui-color.cpp | Tests : couleurs.
|
||||
| test-gui-line.cpp | Tests : lignes.
|
||||
@@ -469,13 +470,13 @@ Fichiers de documentation :
|
||||
| docgen.py | Script Python pour construire les fichiers auto-générés dans le répertoire _includes/_ (voir ci-dessous).
|
||||
| XX/ | Documentation pour la langue XX (langues : en, fr, de, it, ...).
|
||||
| weechat.1.XX.adoc | Page de manuel (`man weechat`).
|
||||
| weechat_dev.XX.adoc | link:weechat_dev.fr.html[Guide du développeur] (ce document).
|
||||
| weechat_faq.XX.adoc | link:weechat_faq.fr.html[FAQ] (questions fréquemment posées).
|
||||
| weechat_plugin_api.XX.adoc | link:weechat_plugin_api.fr.html[Référence API extension].
|
||||
| weechat_quickstart.XX.adoc | link:weechat_quickstart.fr.html[Guide de démarrage].
|
||||
| weechat_relay_protocol.XX.adoc | link:weechat_relay_protocol.fr.html[Protocole Relay (pour les interfaces distantes)].
|
||||
| weechat_scripting.XX.adoc | link:weechat_scripting.fr.html[Guide pour scripts].
|
||||
| weechat_user.XX.adoc | link:weechat_user.fr.html[Guide utilisateur].
|
||||
| weechat_dev.XX.adoc | link:weechat_dev.fr.html[Guide du développeur ^↗^,window=_blank] (ce document).
|
||||
| weechat_faq.XX.adoc | link:weechat_faq.fr.html[FAQ ^↗^,window=_blank] (questions fréquemment posées).
|
||||
| weechat_plugin_api.XX.adoc | link:weechat_plugin_api.fr.html[Référence API extension ^↗^,window=_blank].
|
||||
| weechat_quickstart.XX.adoc | link:weechat_quickstart.fr.html[Guide de démarrage ^↗^,window=_blank].
|
||||
| weechat_relay_protocol.XX.adoc | link:weechat_relay_protocol.fr.html[Protocole Relay ^↗^,window=_blank] (pour les interfaces distantes).
|
||||
| weechat_scripting.XX.adoc | link:weechat_scripting.fr.html[Guide pour scripts ^↗^,window=_blank].
|
||||
| weechat_user.XX.adoc | link:weechat_user.fr.html[Guide utilisateur ^↗^,window=_blank].
|
||||
| includes/ | Fichiers inclus dans la documentation.
|
||||
| autogen_api_completions.XX.adoc | Fichier auto-généré pour la Référence API extension : complétions (ne *JAMAIS* mettre à jour manuellement !).
|
||||
| autogen_api_hdata.XX.adoc | Fichier auto-généré pour la Référence API extension : hdata (ne *JAMAIS* mettre à jour manuellement !).
|
||||
@@ -749,7 +750,7 @@ new_hook_fd = malloc (sizeof (*new_hook_fd));
|
||||
[[coding_python_style]]
|
||||
=== Style Python
|
||||
|
||||
Voir https://www.python.org/dev/peps/pep-0008/
|
||||
Voir https://www.python.org/dev/peps/pep-0008/[PEP 8 ^↗^,window=_blank].
|
||||
|
||||
[[core_internals]]
|
||||
== Intérieur du cœur
|
||||
@@ -1133,7 +1134,7 @@ server->hook_timer_sasl = weechat_hook_timer (timeout * 1000,
|
||||
[[git_repository]]
|
||||
=== Dépôt Git
|
||||
|
||||
Le dépôt Git est à cette URL : https://github.com/weechat/weechat
|
||||
Le dépôt Git est sur https://github.com/weechat/weechat[GitHub ^↗^,window=_blank].
|
||||
|
||||
Tout patch pour un bug ou une nouvelle fonctionnalité doit être effectué sur la
|
||||
branche master, le format préféré étant une "pull request" sur GitHub. Un patch
|
||||
@@ -1152,8 +1153,8 @@ Où _composant_ est :
|
||||
|===
|
||||
| Composant | Fichiers | Description
|
||||
|
||||
| core |
|
||||
AUTHORS.adoc +
|
||||
| core
|
||||
| AUTHORS.adoc +
|
||||
ChangeLog.adoc +
|
||||
Contributing.adoc +
|
||||
.github/FUNDING.yml +
|
||||
@@ -1165,76 +1166,76 @@ Où _composant_ est :
|
||||
src/core/* +
|
||||
src/gui/* +
|
||||
version.sh +
|
||||
weechat.desktop |
|
||||
cœur de WeeChat
|
||||
weechat.desktop
|
||||
| cœur de WeeChat
|
||||
|
||||
| build |
|
||||
autogen.sh +
|
||||
| build
|
||||
| autogen.sh +
|
||||
CMakeLists.txt +
|
||||
cmake/* +
|
||||
configure.ac +
|
||||
Makefile.am +
|
||||
tools/* +
|
||||
weechat.cygport.in +
|
||||
weechat.spec |
|
||||
Construction
|
||||
weechat.spec
|
||||
| Construction
|
||||
|
||||
| ci |
|
||||
.github/workflows/* |
|
||||
Intégration continue
|
||||
| ci
|
||||
| .github/workflows/*
|
||||
| Intégration continue
|
||||
|
||||
| debian |
|
||||
debian-devel/* +
|
||||
debian-stable/* |
|
||||
Empaquetage Debian
|
||||
| debian
|
||||
| debian-devel/* +
|
||||
debian-stable/*
|
||||
| Empaquetage Debian
|
||||
|
||||
| tests |
|
||||
tests/* |
|
||||
Tests
|
||||
| tests
|
||||
| tests/*
|
||||
| Tests
|
||||
|
||||
| doc |
|
||||
doc/* |
|
||||
Mises à jour générales sur la documentation, par exemple la construction
|
||||
| doc
|
||||
| doc/*
|
||||
| Mises à jour générales sur la documentation, par exemple la construction
|
||||
|
||||
| doc/man |
|
||||
doc/xx/weechat.1.xx.adoc +
|
||||
doc/xx/weechat-headless.1.xx.adoc |
|
||||
Pages de manuel
|
||||
| doc/man
|
||||
| doc/xx/weechat.1.xx.adoc +
|
||||
doc/xx/weechat-headless.1.xx.adoc
|
||||
| Pages de manuel
|
||||
|
||||
| doc/faq |
|
||||
doc/xx/weechat_faq.xx.adoc |
|
||||
Questions fréquemment posées (FAQ)
|
||||
| doc/faq
|
||||
| doc/xx/weechat_faq.xx.adoc
|
||||
| Questions fréquemment posées (FAQ)
|
||||
|
||||
| doc/quickstart |
|
||||
doc/xx/weechat_quickstart.xx.adoc |
|
||||
Guide de démarrage rapide
|
||||
| doc/quickstart
|
||||
| doc/xx/weechat_quickstart.xx.adoc
|
||||
| Guide de démarrage rapide
|
||||
|
||||
| doc/user |
|
||||
doc/xx/weechat_user.xx.adoc |
|
||||
Guide utilisateur
|
||||
| doc/user
|
||||
| doc/xx/weechat_user.xx.adoc
|
||||
| Guide utilisateur
|
||||
|
||||
| doc/scripting |
|
||||
doc/xx/weechat_scripting.xx.adoc |
|
||||
Guide pour scripts
|
||||
| doc/scripting
|
||||
| doc/xx/weechat_scripting.xx.adoc
|
||||
| Guide pour scripts
|
||||
|
||||
| doc/api |
|
||||
doc/xx/weechat_plugin_api.xx.adoc |
|
||||
Référence extension API
|
||||
| doc/api
|
||||
| doc/xx/weechat_plugin_api.xx.adoc
|
||||
| Référence extension API
|
||||
|
||||
| doc/relay |
|
||||
doc/xx/weechat_relay_protocol.xx.adoc |
|
||||
Protocole relay
|
||||
| doc/relay
|
||||
| doc/xx/weechat_relay_protocol.xx.adoc
|
||||
| Protocole relay
|
||||
|
||||
| doc/dev |
|
||||
doc/xx/weechat_dev.en.adoc |
|
||||
Guide du développeur
|
||||
| doc/dev
|
||||
| doc/xx/weechat_dev.en.adoc
|
||||
| Guide du développeur
|
||||
|
||||
| irc +
|
||||
python +
|
||||
relay +
|
||||
… |
|
||||
src/plugins/<name>/* |
|
||||
Extension
|
||||
…
|
||||
| src/plugins/<name>/*
|
||||
| Extension
|
||||
|
||||
|===
|
||||
|
||||
@@ -1285,8 +1286,8 @@ $ make translations && make update-po
|
||||
Vous pouvez alors éditer les fichiers .po (si vous pouvez traduire dans une
|
||||
langue).
|
||||
|
||||
Une fois terminé, vous *devez* vérifier votre fichier avec le script
|
||||
_msgcheck.py_ (https://github.com/flashcode/msgcheck) :
|
||||
Une fois terminé, vous *devez* vérifier votre fichier avec
|
||||
https://github.com/flashcode/msgcheck[msgcheck ^↗^,window=_blank] :
|
||||
|
||||
----
|
||||
$ msgcheck.py xx.po
|
||||
|
||||
+51
-36
@@ -32,8 +32,10 @@ mais elle ne s'applique pas à WeeChat !).
|
||||
|
||||
Parce que WeeChat est très léger et apporte des fonctionnalités innovantes.
|
||||
|
||||
Plus d'infos sur la page des fonctionnalités WeeChat :
|
||||
https://weechat.org/about/features
|
||||
Plus d'infos sur la
|
||||
https://weechat.org/about/features/[page des fonctionnalités ^↗^,window=_blank]
|
||||
WeeChat.
|
||||
|
||||
|
||||
[[compilation_install]]
|
||||
== Compilation / installation
|
||||
@@ -41,16 +43,16 @@ https://weechat.org/about/features
|
||||
[[gui]]
|
||||
=== J'ai entendu parler de plusieurs interfaces pour WeeChat. Comment puis-je les compiler/utiliser ?
|
||||
|
||||
Des interfaces distantes sont disponibles, voir la page avec les interfaces
|
||||
distantes : https://weechat.org/about/interfaces
|
||||
Des interfaces distantes sont disponibles, voir la
|
||||
https://weechat.org/about/interfaces/[page avec les interfaces distantes ^↗^,window=_blank].
|
||||
|
||||
[[compile_git]]
|
||||
=== Je ne peux pas compiler WeeChat après avoir cloné la base git, pourquoi ?
|
||||
|
||||
La méthode recommandée pour compiler WeeChat est d'utiliser
|
||||
link:weechat_user.fr.html#compile_with_cmake[CMake].
|
||||
link:weechat_user.fr.html#compile_with_cmake[CMake ^↗^,window=_blank].
|
||||
|
||||
Si vous compilez avec les link:weechat_user.fr.html#compile_with_autotools[autotools]
|
||||
Si vous compilez avec les link:weechat_user.fr.html#compile_with_autotools[autotools ^↗^,window=_blank]
|
||||
(et non CMake), vérifiez que vous avez bien la dernière version d'autoconf et
|
||||
automake.
|
||||
|
||||
@@ -63,8 +65,8 @@ mises à jour.
|
||||
[[compile_macos]]
|
||||
=== Comment puis-je installer WeeChat sous macOS ?
|
||||
|
||||
Il est recommandé d'utiliser https://brew.sh/[Homebrew], vous pouvez avoir de
|
||||
l'aide avec :
|
||||
Il est recommandé d'utiliser https://brew.sh/[Homebrew ^↗^,window=_blank],
|
||||
vous pouvez avoir de l'aide avec :
|
||||
|
||||
----
|
||||
brew info weechat
|
||||
@@ -80,12 +82,12 @@ brew install weechat
|
||||
=== J'ai lancé WeeChat, mais je suis perdu, que puis-je faire ?
|
||||
|
||||
Pour obtenir de l'aide tapez `/help`. Pour de l'aide sur une commande, tapez
|
||||
`/help commande`. Les link:weechat_user.fr.html#key_bindings[touches] et
|
||||
link:weechat_user.fr.html#commands_and_options[commandes] sont listées dans la
|
||||
`/help commande`. Les link:weechat_user.fr.html#key_bindings[touches ^↗^,window=_blank] et
|
||||
link:weechat_user.fr.html#commands_and_options[commandes ^↗^,window=_blank] sont listées dans la
|
||||
documentation.
|
||||
|
||||
Il est recommandé pour les nouveaux utilisateurs de lire le
|
||||
link:weechat_quickstart.fr.html[Guide de démarrage rapide].
|
||||
link:weechat_quickstart.fr.html[Guide de démarrage rapide ^↗^,window=_blank].
|
||||
|
||||
[[display]]
|
||||
== Affichage
|
||||
@@ -117,7 +119,7 @@ attentivement et vérifier *TOUS* les points ci-dessous :
|
||||
** Si vous utilisez screen, vérifiez qu'il est lancé en mode UTF-8
|
||||
("`defutf8 on`" dans ~/.screenrc ou `screen -U` pour lancer screen).
|
||||
* Vérifiez que l'option
|
||||
link:weechat_user.fr.html#option_weechat.look.eat_newline_glitch[_weechat.look.eat_newline_glitch_]
|
||||
link:weechat_user.fr.html#option_weechat.look.eat_newline_glitch[_weechat.look.eat_newline_glitch_ ^↗^,window=_blank]
|
||||
est désactivée (cette option peut causer des problèmes d'affichage).
|
||||
|
||||
[NOTE]
|
||||
@@ -133,10 +135,10 @@ devrait être corrigé dans la glibc 2.22 (peut-être pas encore disponible dans
|
||||
votre distribution).
|
||||
|
||||
Il y a un moyen de contournement pour utiliser la fonction _wcwidth_ corrigée :
|
||||
https://blog.nytsoi.net/2015/05/04/emoji-support-for-weechat
|
||||
https://blog.nytsoi.net/2015/05/04/emoji-support-for-weechat[https://blog.nytsoi.net/2015/05/04/emoji-support-for-weechat ^↗^,window=_blank].
|
||||
|
||||
Voir ce rapport de bug pour plus d'informations :
|
||||
https://github.com/weechat/weechat/issues/79
|
||||
Voir ce https://github.com/weechat/weechat/issues/79[rapport de bug ^↗^,window=_blank]
|
||||
pour plus d'informations.
|
||||
|
||||
[[bars_background]]
|
||||
=== Des barres telles que le titre et le statut ne sont pas remplies, la couleur de fond s'arrête après le texte, pourquoi ?
|
||||
@@ -194,7 +196,7 @@ fenêtres.
|
||||
[[buffers_list]]
|
||||
=== Comment afficher la liste des tampons sur la gauche ?
|
||||
|
||||
Avec WeeChat ≥ 1.8, l'extension link:weechat_user.fr.html#buflist_plugin[buflist]
|
||||
Avec WeeChat ≥ 1.8, l'extension link:weechat_user.fr.html#buflist[buflist ^↗^,window=_blank]
|
||||
est chargée et activée par défaut.
|
||||
|
||||
Avec une version plus ancienne, vous pouvez installer le script _buffers.pl_ :
|
||||
@@ -262,8 +264,8 @@ Vous pouvez aussi utiliser une couleur numérique à la place de `red`, comme
|
||||
L'extension buflist met à disposition beaucoup d'options que vous pouvez changer,
|
||||
merci de lire l'aide sur chaque option.
|
||||
|
||||
Il y a aussi une page wiki avec des examples avancés de configuration buflist :
|
||||
https://github.com/weechat/weechat/wiki/buflist
|
||||
Il y a aussi une https://github.com/weechat/weechat/wiki/buflist[page wiki ^↗^,window=_blank]
|
||||
avec des exemples avancés de configuration buflist.
|
||||
|
||||
[[customize_prefix]]
|
||||
=== Comment puis-je réduire la longueur des pseudos ou supprimer l'alignement des pseudos dans la zone de discussion ?
|
||||
@@ -307,7 +309,7 @@ Ces couleurs peuvent être changées via les options __weechat.color.status_data
|
||||
Les autres options pour la "hotlist" peuvent être changées via les options
|
||||
__weechat.look.hotlist_*__.
|
||||
|
||||
Voir le link:weechat_user.fr.html#screen_layout[Guide utilisateur / Organisation de l'écran]
|
||||
Voir le link:weechat_user.fr.html#screen_layout[Guide utilisateur / Organisation de l'écran ^↗^,window=_blank]
|
||||
pour plus d'information sur la "hotlist".
|
||||
|
||||
[[input_bar_size]]
|
||||
@@ -481,8 +483,8 @@ Pour les versions ≥ 0.3.5, vous pouvez utiliser un numéro de couleur dans les
|
||||
options (facultatif : vous pouvez ajouter des alias de couleurs avec la commande
|
||||
`/color`).
|
||||
|
||||
Merci de lire le link:weechat_user.fr.html#colors[Guide utilisateur / Couleurs] pour
|
||||
plus d'information sur la gestion des couleurs.
|
||||
Merci de lire le link:weechat_user.fr.html#colors[Guide utilisateur / Couleurs ^↗^,window=_blank]
|
||||
pour plus d'information sur la gestion des couleurs.
|
||||
|
||||
[[search_text]]
|
||||
=== Comment puis-je chercher du texte dans le tampon (comme /lastlog dans irssi) ?
|
||||
@@ -490,7 +492,7 @@ plus d'information sur la gestion des couleurs.
|
||||
La touche par défaut est kbd:[Ctrl+r] (la commande est : `+/input search_text_here+`).
|
||||
Et sauter aux highlights : kbd:[Alt+p] / kbd:[Alt+n].
|
||||
|
||||
Voir le link:weechat_user.fr.html#key_bindings[Guide utilisateur / Raccourcis clavier par défaut]
|
||||
Voir le link:weechat_user.fr.html#key_bindings[Guide utilisateur / Raccourcis clavier par défaut ^↗^,window=_blank]
|
||||
pour plus d'information sur cette fonctionnalité.
|
||||
|
||||
[[terminal_focus]]
|
||||
@@ -667,7 +669,7 @@ Vous pouvez définir une touche, par exemple :
|
||||
----
|
||||
|
||||
La liste des touches par défaut est dans le
|
||||
link:weechat_user.fr.html#key_bindings[Guide utilisateur / Raccourcis clavier par défaut].
|
||||
link:weechat_user.fr.html#key_bindings[Guide utilisateur / Raccourcis clavier par défaut ^↗^,window=_blank].
|
||||
|
||||
Pour sauter vers les tampons ayant un numéro ≥ 100, vous pouvez définir un trigger
|
||||
et utiliser les commandes comme `/123` pour sauter au tampon n°123 :
|
||||
@@ -861,17 +863,30 @@ vous rejoignez et quittez manuellement dans l'option "autojoin" du serveur.
|
||||
Pour tous les serveurs :
|
||||
|
||||
----
|
||||
/set irc.server_default.autojoin_record on
|
||||
/set irc.server_default.autojoin_dynamic on
|
||||
----
|
||||
|
||||
Pour un seul serveur :
|
||||
|
||||
----
|
||||
/set irc.server.libera.autojoin_record on
|
||||
/set irc.server.libera.autojoin_dynamic on
|
||||
----
|
||||
|
||||
Vous pouvez utiliser la commande `/set` pour éditer la liste des canaux de
|
||||
l'autojoin, par exemple pour le serveur libera :
|
||||
Avec WeeChat ≥ 3.5, vous pouvez aussi ajouter le canal coucant dans l'option
|
||||
"autojoin" du serveur avec la commande `/autojoin` :
|
||||
|
||||
----
|
||||
/autojoin add
|
||||
----
|
||||
|
||||
Ou un autre canal :
|
||||
|
||||
----
|
||||
/autojoin add #test
|
||||
----
|
||||
|
||||
Avec WeeChat ≤ 3.4, vous pouvez utiliser la commande `/set` pour éditer la liste
|
||||
des canaux de l'autojoin, par exemple pour le serveur libera :
|
||||
|
||||
----
|
||||
/set irc.server.libera.autojoin [TAB]
|
||||
@@ -889,7 +904,7 @@ des canaux :
|
||||
/fset autojoin
|
||||
----
|
||||
|
||||
Une autre solution est d'utiliser un script :
|
||||
Avec WeeChat ≤ 3.4, une autre solution est d'utiliser un script :
|
||||
|
||||
----
|
||||
/script search autojoin
|
||||
@@ -933,7 +948,7 @@ Avec un filtre global (pour cacher *tous* les join/part/quit) :
|
||||
|
||||
[NOTE]
|
||||
Pour l'aide : `/help filter`, `+/help irc.look.smart_filter+` et voir
|
||||
link:weechat_user.fr.html#irc_smart_filter_join_part_quit[Guide utilisateur / Filtre intelligent pour les messages join/part/quit].
|
||||
link:weechat_user.fr.html#irc_smart_filter_join_part_quit[Guide utilisateur / Filtre intelligent pour les messages join/part/quit ^↗^,window=_blank].
|
||||
|
||||
[[filter_irc_join_channel_messages]]
|
||||
=== Comment puis-je filtrer certains messages affichés quand je rejoins un canal IRC ?
|
||||
@@ -1035,7 +1050,7 @@ Autres scripts sur ce sujet :
|
||||
=== Comment puis-je désactiver le highlight pour des pseudos spécifiques ?
|
||||
|
||||
Avec WeeChat ≥ 0.3.4 vous pouvez utiliser la propriété de tampon
|
||||
link:weechat_user.en.html#max_hotlist_level_nicks[hotlist_max_level_nicks_add]
|
||||
link:weechat_user.en.html#max_hotlist_level_nicks[hotlist_max_level_nicks_add ^↗^,window=_blank]
|
||||
pour définir le niveau maximum de hotlist pour certains pseudos, par tampon,
|
||||
ou groupe de tampons (comme des serveurs IRC).
|
||||
|
||||
@@ -1250,7 +1265,7 @@ Définissez une phrase de chiffrement et utilisez les données sécurisées part
|
||||
où vous le pouvez pour les données sensibles comme les mots de passe : voir
|
||||
`/help secure` et `/help` sur les options (si vous pouvez utiliser les données
|
||||
sécurisées, cela est mentionné dans l'aide).
|
||||
Voir aussi link:weechat_user.fr.html#secured_data[Guide utilisateur / Données sécurisées].
|
||||
Voir aussi link:weechat_user.fr.html#secured_data[Guide utilisateur / Données sécurisées ^↗^,window=_blank].
|
||||
|
||||
Par exemple :
|
||||
|
||||
@@ -1273,7 +1288,7 @@ Quelques autres fichiers peuvent contenir des informations sensibles comme
|
||||
des mots de passes (s'ils ne sont pas stockés dans _sec.conf_ avec la commande
|
||||
`/secure`).
|
||||
|
||||
Voir le link:weechat_user.fr.html#files_and_directories[Guide utilisateur / Fichiers et répertoires]
|
||||
Voir le link:weechat_user.fr.html#files_and_directories[Guide utilisateur / Fichiers et répertoires ^↗^,window=_blank]
|
||||
pour plus d'informations sur les fichiers de configuration.
|
||||
|
||||
[[development]]
|
||||
@@ -1282,7 +1297,7 @@ pour plus d'informations sur les fichiers de configuration.
|
||||
[[bug_task_patch]]
|
||||
=== Comment puis-je reporter un bug, demander une nouvelle fonctionnalité ou envoyer un patch ?
|
||||
|
||||
Voir : https://weechat.org/about/support
|
||||
Voir https://weechat.org/about/support/[cette page ^↗^,window=_blank].
|
||||
|
||||
[[gdb_error_threads]]
|
||||
=== Quand je lance WeeChat sous gdb, il y a une erreur à propos des threads, que puis-je faire ?
|
||||
@@ -1319,11 +1334,11 @@ tester WeeChat.
|
||||
|
||||
Il y a plusieurs choses à faire (test, code, documentation, etc.)
|
||||
|
||||
Merci de prendre contact avec nous par IRC ou mail, consultez la page
|
||||
support : https://weechat.org/about/support
|
||||
Merci de prendre contact avec nous par IRC ou mail, consultez la
|
||||
https://weechat.org/about/support/[page support ^↗^,window=_blank].
|
||||
|
||||
[[donate]]
|
||||
=== Puis-je donner de l'argent ou d'autres choses aux développeurs WeeChat ?
|
||||
|
||||
Vous pouvez donner de l'argent pour aider le développement.
|
||||
Plus de détails sur https://weechat.org/donate
|
||||
Plus de détails sur https://weechat.org/donate/[la page de dons ^↗^,window=_blank].
|
||||
|
||||
+1083
-1071
File diff suppressed because it is too large
Load Diff
@@ -202,10 +202,15 @@ Pour rejoindre automatiquement des canaux lors de la connexion au serveur :
|
||||
/set irc.server.libera.autojoin "#canal1,#canal2"
|
||||
----
|
||||
|
||||
[TIP]
|
||||
Vous pouvez compléter le nom et la valeur des options avec la touche kbd:[Tab]
|
||||
et kbd:[Shift+Tab] pour une complétion partielle (utile pour les mots longs
|
||||
comme le nom de l'option).
|
||||
La commande `/autojoin` vous permet de configurer l'option _autojoin_ facilement
|
||||
(voir `/help autojoin`).
|
||||
|
||||
Vous pouvez aussi configurer WeeChat pour automatiquement mettre à jour l'option
|
||||
_autojoin_ lorsque vous rejoignez ou quittez des canaux :
|
||||
|
||||
----
|
||||
/set irc.server_default.autojoin_dynamic on
|
||||
----
|
||||
|
||||
Pour supprimer la valeur d'une option du serveur et utiliser sa valeur par
|
||||
défaut à la place, par exemple pour utiliser les pseudos par défaut
|
||||
@@ -222,6 +227,11 @@ suivante ("xxx" est le nom d'une option) :
|
||||
/set irc.server.libera.xxx valeur
|
||||
----
|
||||
|
||||
[TIP]
|
||||
Vous pouvez compléter le nom et la valeur des options avec la touche kbd:[Tab]
|
||||
et kbd:[Shift+Tab] pour une complétion partielle (utile pour les mots longs
|
||||
comme le nom de l'option).
|
||||
|
||||
[[connect_to_irc_server]]
|
||||
== Se connecter au serveur IRC
|
||||
|
||||
@@ -380,13 +390,14 @@ par exemple :
|
||||
|
||||
Voir `/help script` pour plus d'infos.
|
||||
|
||||
Une liste des scripts est disponible avec `/script` ou à cette URL :
|
||||
https://weechat.org/scripts
|
||||
Une liste des scripts est disponible avec `/script` ou sur
|
||||
https://weechat.org/scripts/[cette page ^↗^,window=_blank].
|
||||
|
||||
[[more_doc]]
|
||||
== Plus de documentation
|
||||
|
||||
Vous pouvez maintenant utiliser WeeChat et lire la FAQ/documentation pour
|
||||
toute autre question : https://weechat.org/doc
|
||||
Vous pouvez maintenant utiliser WeeChat et lire la
|
||||
https://weechat.org/doc/[FAQ/documentation ^↗^,window=_blank]
|
||||
pour toute autre question.
|
||||
|
||||
Bon WeeChat !
|
||||
|
||||
@@ -139,8 +139,8 @@ Paramètres :
|
||||
le client sont compressés pour économiser de la bande passante ;
|
||||
les valeurs autorisées sont :
|
||||
*** _off_ : pas de compression (par défaut si l'option n'est pas donnée)
|
||||
*** _zlib_ : compresser avec https://zlib.net/[zlib] _(WeeChat ≥ 0.3.7)_
|
||||
*** _zstd_ : compresser avec https://facebook.github.io/zstd/[Zstandard] :
|
||||
*** _zlib_ : compresser avec https://zlib.net/[zlib ^↗^,window=_blank] _(WeeChat ≥ 0.3.7)_
|
||||
*** _zstd_ : compresser avec https://facebook.github.io/zstd/[Zstandard ^↗^,window=_blank] :
|
||||
meilleure compression et bien plus rapide que _zlib_ pour la compression et
|
||||
la décompression _(WeeChat ≥ 3.5)_
|
||||
|
||||
@@ -185,8 +185,8 @@ suivantes :
|
||||
hachage du mot de passe)
|
||||
* _compression_ : type de compression :
|
||||
** _off_ : les messages ne sont pas compressés
|
||||
** _zlib_ : les messages sont compressés avec https://zlib.net/[zlib]
|
||||
** _zstd_ : les messages sont compressés avec https://facebook.github.io/zstd/[Zstandard]
|
||||
** _zlib_ : les messages sont compressés avec https://zlib.net/[zlib ^↗^,window=_blank]
|
||||
** _zstd_ : les messages sont compressés avec https://facebook.github.io/zstd/[Zstandard ^↗^,window=_blank]
|
||||
|
||||
[TIP]
|
||||
Avec WeeChat ≤ 2.8, la commande _handshake_ n'est pas implémentée, WeeChat ignore
|
||||
@@ -287,7 +287,7 @@ htb: {
|
||||
[[command_init]]
|
||||
=== init
|
||||
|
||||
_Mis à jour dans les versions 2.4, 2.8, 2.9._
|
||||
_Mis à jour dans les versions 2.4, 2.8, 2.9, 3.5._
|
||||
|
||||
S'authentifier avec _relay_.
|
||||
|
||||
@@ -1401,8 +1401,8 @@ suivant (avec la taille en octets) :
|
||||
(en incluant ce champ)
|
||||
* _compression_ (octet) : drapeau :
|
||||
** _0x00_ : les données qui suivent ne sont pas compressées
|
||||
** _0x01_ : les données qui suivent sont compressées avec https://zlib.net/[zlib]
|
||||
** _0x02_ : les données qui suivent sont compressées avec https://facebook.github.io/zstd/[Zstandard]
|
||||
** _0x01_ : les données qui suivent sont compressées avec https://zlib.net/[zlib ^↗^,window=_blank]
|
||||
** _0x02_ : les données qui suivent sont compressées avec https://facebook.github.io/zstd/[Zstandard ^↗^,window=_blank]
|
||||
* _id_ (chaîne, 4 octets + contenu) : l'identifiant envoyé par le client
|
||||
(avant le nom de la commande) ; il peut être vide (chaîne avec une longueur
|
||||
de zéro sans contenu) si l'identifiant n'était pas donné dans la commande
|
||||
@@ -1413,7 +1413,8 @@ suivant (avec la taille en octets) :
|
||||
=== Compression
|
||||
|
||||
Si le drapeau de _compression_ est égal à 0x01 ou 0x02, alors *toutes* les données
|
||||
après sont compressées avec https://zlib.net/[zlib] ou https://facebook.github.io/zstd/[Zstandard],
|
||||
après sont compressées avec https://zlib.net/[zlib ^↗^,window=_blank] ou
|
||||
https://facebook.github.io/zstd/[Zstandard ^↗^,window=_blank],
|
||||
et par conséquent doivent être décompressées avant d'être utilisées.
|
||||
|
||||
[[message_identifier]]
|
||||
@@ -1431,68 +1432,68 @@ Les identifiants réservés par WeeChat :
|
||||
|
||||
[width="100%",cols="5m,5,3,4,7",options="header"]
|
||||
|===
|
||||
| Identifiant | Reçu avec _sync_ | Données envoyées |
|
||||
Description | Action recommandée dans le client
|
||||
| Identifiant | Reçu avec _sync_ | Données envoyées
|
||||
| Description | Action recommandée dans le client
|
||||
|
||||
| _buffer_opened | buffers / buffer | hdata : buffer |
|
||||
Tampon ouvert. | Ouvrir le tampon.
|
||||
| _buffer_opened | buffers / buffer | hdata : buffer
|
||||
| Tampon ouvert. | Ouvrir le tampon.
|
||||
|
||||
| _buffer_type_changed | buffers / buffer | hdata : buffer |
|
||||
Type de tampon changé. | Changer le type de tampon.
|
||||
| _buffer_type_changed | buffers / buffer | hdata : buffer
|
||||
| Type de tampon changé. | Changer le type de tampon.
|
||||
|
||||
| _buffer_moved | buffers / buffer | hdata : buffer |
|
||||
Tampon déplacé. | Déplacer le tampon.
|
||||
| _buffer_moved | buffers / buffer | hdata : buffer
|
||||
| Tampon déplacé. | Déplacer le tampon.
|
||||
|
||||
| _buffer_merged | buffers / buffer | hdata : buffer |
|
||||
Tampon mélangé. | Mélanger le tampon.
|
||||
| _buffer_merged | buffers / buffer | hdata : buffer
|
||||
| Tampon mélangé. | Mélanger le tampon.
|
||||
|
||||
| _buffer_unmerged | buffers / buffer | hdata : buffer |
|
||||
Tampon sorti du mélange. | Sortir le tampon du mélange.
|
||||
| _buffer_unmerged | buffers / buffer | hdata : buffer
|
||||
| Tampon sorti du mélange. | Sortir le tampon du mélange.
|
||||
|
||||
| _buffer_hidden | buffers / buffer | hdata : buffer |
|
||||
Tampon masqué. | Masquer le le tampon.
|
||||
| _buffer_hidden | buffers / buffer | hdata : buffer
|
||||
| Tampon masqué. | Masquer le le tampon.
|
||||
|
||||
| _buffer_unmerged | buffers / buffer | hdata : buffer |
|
||||
Tampon démasqué. | Démasquer le tampon.
|
||||
| _buffer_unmerged | buffers / buffer | hdata : buffer
|
||||
| Tampon démasqué. | Démasquer le tampon.
|
||||
|
||||
| _buffer_renamed | buffers / buffer | hdata : buffer |
|
||||
Tampon renommé. | Renommer le tampon.
|
||||
| _buffer_renamed | buffers / buffer | hdata : buffer
|
||||
| Tampon renommé. | Renommer le tampon.
|
||||
|
||||
| _buffer_title_changed | buffers / buffer | hdata : buffer |
|
||||
Titre du tampon changé. | Changer le titre du tampon.
|
||||
| _buffer_title_changed | buffers / buffer | hdata : buffer
|
||||
| Titre du tampon changé. | Changer le titre du tampon.
|
||||
|
||||
| _buffer_localvar_added | buffers / buffer | hdata : buffer |
|
||||
Variable locale ajoutée. | Ajouter la variable locale dans le tampon.
|
||||
| _buffer_localvar_added | buffers / buffer | hdata : buffer
|
||||
| Variable locale ajoutée. | Ajouter la variable locale dans le tampon.
|
||||
|
||||
| _buffer_localvar_changed | buffers / buffer | hdata : buffer |
|
||||
Variable locale changée. | Changer la variable locale dans le tampon.
|
||||
| _buffer_localvar_changed | buffers / buffer | hdata : buffer
|
||||
| Variable locale changée. | Changer la variable locale dans le tampon.
|
||||
|
||||
| _buffer_localvar_removed | buffers / buffer | hdata : buffer |
|
||||
Variable locale supprimée. | Supprimer la variable locale du tampon.
|
||||
| _buffer_localvar_removed | buffers / buffer | hdata : buffer
|
||||
| Variable locale supprimée. | Supprimer la variable locale du tampon.
|
||||
|
||||
| _buffer_closing | buffers / buffer | hdata : buffer |
|
||||
Tampon qui se ferme. | Fermer le tampon.
|
||||
| _buffer_closing | buffers / buffer | hdata : buffer
|
||||
| Tampon qui se ferme. | Fermer le tampon.
|
||||
|
||||
| _buffer_cleared | buffer | hdata : buffer |
|
||||
Tampon qui est vidé. | Vider le tampon.
|
||||
| _buffer_cleared | buffer | hdata : buffer
|
||||
| Tampon qui est vidé. | Vider le tampon.
|
||||
|
||||
| _buffer_line_added | buffer | hdata : line |
|
||||
Ligne ajoutée dans le tampon. | Afficher la ligne dans le tampon.
|
||||
| _buffer_line_added | buffer | hdata : line
|
||||
| Ligne ajoutée dans le tampon. | Afficher la ligne dans le tampon.
|
||||
|
||||
| _nicklist | nicklist | hdata : nicklist_item |
|
||||
Liste de pseudos pour un tampon. | Remplacer la liste de pseudos.
|
||||
| _nicklist | nicklist | hdata : nicklist_item
|
||||
| Liste de pseudos pour un tampon. | Remplacer la liste de pseudos.
|
||||
|
||||
| _nicklist_diff | nicklist | hdata : nicklist_item |
|
||||
Différence de liste de pseudos pour un tampon . | Mettre à jour la liste de pseudos.
|
||||
| _nicklist_diff | nicklist | hdata : nicklist_item
|
||||
| Différence de liste de pseudos pour un tampon . | Mettre à jour la liste de pseudos.
|
||||
|
||||
| _pong | (always) | chaîne : paramètres du ping |
|
||||
Réponse à un "ping". | Mesurer le temps de réponse.
|
||||
| _pong | (always) | chaîne : paramètres du ping
|
||||
| Réponse à un "ping". | Mesurer le temps de réponse.
|
||||
|
||||
| _upgrade | upgrade | (vide) |
|
||||
WeeChat se met à jour. | Se désynchroniser de WeeChat (ou quitter).
|
||||
| _upgrade | upgrade | (vide)
|
||||
| WeeChat se met à jour. | Se désynchroniser de WeeChat (ou quitter).
|
||||
|
||||
| _upgrade_ended | upgrade | (vide) |
|
||||
WeeChat a été mis à jour. | (Re)synchroniser avec WeeChat.
|
||||
| _upgrade_ended | upgrade | (vide)
|
||||
| WeeChat a été mis à jour. | (Re)synchroniser avec WeeChat.
|
||||
|===
|
||||
|
||||
[[message_buffer_opened]]
|
||||
|
||||
+123
-123
@@ -13,8 +13,8 @@
|
||||
Ce manuel documente le client de messagerie instantanée WeeChat, il fait
|
||||
partie de WeeChat.
|
||||
|
||||
La dernière version de ce document peut être téléchargée sur cette page :
|
||||
https://weechat.org/doc
|
||||
La dernière version de ce document peut être téléchargée sur
|
||||
https://weechat.org/doc/[cette page ^↗^,window=_blank].
|
||||
|
||||
|
||||
[[introduction]]
|
||||
@@ -67,7 +67,7 @@ Si quelque chose doit être lancé en arrière-plan, la fonction `+hook_process+
|
||||
peut être utilisée. Voir l'exemple dans le chapitre
|
||||
<<hook_process,Lancer un processus en tâche de fond>> et la documentation sur
|
||||
la fonction `+hook_process+` dans la
|
||||
link:weechat_plugin_api.en.html#_hook_process[Référence API extension WeeChat].
|
||||
link:weechat_plugin_api.en.html#_hook_process[Référence API extension WeeChat ^↗^,window=_blank].
|
||||
|
||||
[[languages_specificities]]
|
||||
=== Spécificités des langages
|
||||
@@ -80,7 +80,7 @@ link:weechat_plugin_api.en.html#_hook_process[Référence API extension WeeChat]
|
||||
|
||||
WeeChat définit un module `weechat` qui doit être importé avec `import weechat`. +
|
||||
Un "stub" Python pour l'API WeeChat est disponible dans le dépôt :
|
||||
https://raw.githubusercontent.com/weechat/weechat/master/src/plugins/python/weechat.pyi[weechat.pyi].
|
||||
https://raw.githubusercontent.com/weechat/weechat/master/src/plugins/python/weechat.pyi[weechat.pyi ^↗^,window=_blank].
|
||||
|
||||
[[python_functions]]
|
||||
===== Fonctions
|
||||
@@ -107,38 +107,38 @@ pas exhaustive) :
|
||||
|===
|
||||
| Fonction API | Paramètres | Exemples | Description
|
||||
|
||||
| hook_modifier |
|
||||
irc_in_yyy |
|
||||
pass:[irc_in_privmsg] +
|
||||
pass:[irc_in_notice] |
|
||||
Un message reçu dans l'extension IRC, avant qu'il ne soit décodé vers UTF-8. +
|
||||
| hook_modifier
|
||||
| irc_in_yyy
|
||||
| pass:[irc_in_privmsg] +
|
||||
pass:[irc_in_notice]
|
||||
| Un message reçu dans l'extension IRC, avant qu'il ne soit décodé vers UTF-8. +
|
||||
+
|
||||
Il est recommandé d'utiliser plutôt le modificateur `+irc_in2_yyy+`, la chaîne
|
||||
reçue sera toujours valide UTF-8. +
|
||||
Voir la fonction `+hook_modifier+` dans la
|
||||
link:weechat_plugin_api.fr.html#_hook_modifier[Référence API extension WeeChat].
|
||||
link:weechat_plugin_api.fr.html#_hook_modifier[Référence API extension WeeChat ^↗^,window=_blank].
|
||||
|
||||
| hook_signal |
|
||||
xxx,irc_out_yyy +
|
||||
xxx,irc_outtags_yyy |
|
||||
pass:[*,irc_out_privmsg] +
|
||||
| hook_signal
|
||||
| xxx,irc_out_yyy +
|
||||
xxx,irc_outtags_yyy
|
||||
| pass:[*,irc_out_privmsg] +
|
||||
pass:[*,irc_out_notice] +
|
||||
pass:[*,irc_outtags_privmsg] +
|
||||
pass:[*,irc_outtags_notice] |
|
||||
Un message envoyé par l'extension IRC, après encodage vers le jeu de caractères
|
||||
pass:[*,irc_outtags_notice]
|
||||
| Un message envoyé par l'extension IRC, après encodage vers le jeu de caractères
|
||||
`encode` défini par l'utilisateur (si différent de `UTF-8`, qui est la valeur
|
||||
par défaut). +
|
||||
+
|
||||
Il est recommandé d'utiliser plutôt le signal `+xxx,irc_out1_yyy+`, la chaîne
|
||||
reçue sera toujours valide UTF-8. +
|
||||
Voir la fonction `+hook_signal+` dans la
|
||||
link:weechat_plugin_api.fr.html#_hook_signal[Référence API extension WeeChat].
|
||||
link:weechat_plugin_api.fr.html#_hook_signal[Référence API extension WeeChat ^↗^,window=_blank].
|
||||
|
||||
| hook_process +
|
||||
hook_process_hashtable |
|
||||
- |
|
||||
- |
|
||||
La sortie de la commande, envoyée à la fonction de rappel, peut contenir des
|
||||
hook_process_hashtable
|
||||
| -
|
||||
| -
|
||||
| La sortie de la commande, envoyée à la fonction de rappel, peut contenir des
|
||||
données invalides UTF-8.
|
||||
|
||||
|===
|
||||
@@ -389,7 +389,7 @@ dans le répertoire _autoload_ est automatiquement créé.
|
||||
== Différences avec l'API C
|
||||
|
||||
L'API script est quasiment identique à l'API C.
|
||||
Vous pouvez consulter la link:weechat_plugin_api.fr.html[Référence API extension WeeChat]
|
||||
Vous pouvez consulter la link:weechat_plugin_api.fr.html[Référence API extension WeeChat ^↗^,window=_blank]
|
||||
pour le détail de chaque fonction de l'API : prototype, paramètres, valeurs
|
||||
de retour, exemples.
|
||||
|
||||
@@ -563,7 +563,7 @@ weechat_hook_timer(1000, 0, 1, $timer_cb, 'test');
|
||||
== API script
|
||||
|
||||
Pour plus d'informations sur les fonctions de l'API, merci de consulter la
|
||||
link:weechat_plugin_api.fr.html[Référence API extension WeeChat].
|
||||
link:weechat_plugin_api.fr.html[Référence API extension WeeChat ^↗^,window=_blank].
|
||||
|
||||
[[script_api_functions]]
|
||||
=== Fonctions
|
||||
@@ -574,14 +574,14 @@ Liste des fonctions de l'API script :
|
||||
|===
|
||||
| Catégorie | Fonctions
|
||||
|
||||
| général |
|
||||
register
|
||||
| général
|
||||
| register
|
||||
|
||||
| extensions |
|
||||
plugin_get_name
|
||||
| extensions
|
||||
| plugin_get_name
|
||||
|
||||
| chaînes |
|
||||
charset_set +
|
||||
| chaînes
|
||||
| charset_set +
|
||||
iconv_to_internal +
|
||||
iconv_from_internal +
|
||||
gettext +
|
||||
@@ -600,13 +600,13 @@ Liste des fonctions de l'API script :
|
||||
string_eval_expression +
|
||||
string_eval_path_home
|
||||
|
||||
| répertoires |
|
||||
mkdir_home +
|
||||
| répertoires
|
||||
| mkdir_home +
|
||||
mkdir +
|
||||
mkdir_parents
|
||||
|
||||
| listes triées |
|
||||
list_new +
|
||||
| listes triées
|
||||
| list_new +
|
||||
list_add +
|
||||
list_search +
|
||||
list_search_pos +
|
||||
@@ -622,8 +622,8 @@ Liste des fonctions de l'API script :
|
||||
list_remove_all +
|
||||
list_free
|
||||
|
||||
| fichiers de configuration |
|
||||
config_new +
|
||||
| fichiers de configuration
|
||||
| config_new +
|
||||
config_new_section +
|
||||
config_search_section +
|
||||
config_new_option +
|
||||
@@ -660,12 +660,12 @@ Liste des fonctions de l'API script :
|
||||
config_set_desc_plugin +
|
||||
config_unset_plugin
|
||||
|
||||
| associations de touches |
|
||||
key_bind +
|
||||
| associations de touches
|
||||
| key_bind +
|
||||
key_unbind
|
||||
|
||||
| affichage |
|
||||
prefix +
|
||||
| affichage
|
||||
| prefix +
|
||||
color +
|
||||
print (pour python : prnt) +
|
||||
print_date_tags (pour python : prnt_date_tags) +
|
||||
@@ -673,8 +673,8 @@ Liste des fonctions de l'API script :
|
||||
print_y_date_tags (pour python : prnt_y_date_tags) +
|
||||
log_print
|
||||
|
||||
| hooks |
|
||||
hook_command +
|
||||
| hooks
|
||||
| hook_command +
|
||||
hook_command_run +
|
||||
hook_timer +
|
||||
hook_fd +
|
||||
@@ -699,8 +699,8 @@ Liste des fonctions de l'API script :
|
||||
unhook +
|
||||
unhook_all
|
||||
|
||||
| tampons |
|
||||
buffer_new +
|
||||
| tampons
|
||||
| buffer_new +
|
||||
buffer_new_props +
|
||||
current_buffer +
|
||||
buffer_search +
|
||||
@@ -716,16 +716,16 @@ Liste des fonctions de l'API script :
|
||||
buffer_string_replace_local_var +
|
||||
buffer_match_list
|
||||
|
||||
| fenêtres |
|
||||
current_window +
|
||||
| fenêtres
|
||||
| current_window +
|
||||
window_search_with_buffer +
|
||||
window_get_integer +
|
||||
window_get_string +
|
||||
window_get_pointer +
|
||||
window_set_title
|
||||
|
||||
| liste des pseudos |
|
||||
nicklist_add_group +
|
||||
| liste des pseudos
|
||||
| nicklist_add_group +
|
||||
nicklist_search_group +
|
||||
nicklist_add_nick +
|
||||
nicklist_search_nick +
|
||||
@@ -741,8 +741,8 @@ Liste des fonctions de l'API script :
|
||||
nicklist_nick_get_pointer +
|
||||
nicklist_nick_set
|
||||
|
||||
| barres |
|
||||
bar_item_search +
|
||||
| barres
|
||||
| bar_item_search +
|
||||
bar_item_new +
|
||||
bar_item_update +
|
||||
bar_item_remove +
|
||||
@@ -752,23 +752,23 @@ Liste des fonctions de l'API script :
|
||||
bar_update +
|
||||
bar_remove
|
||||
|
||||
| commandes |
|
||||
command +
|
||||
| commandes
|
||||
| command +
|
||||
command_options
|
||||
|
||||
| complétion |
|
||||
completion_new +
|
||||
| complétion
|
||||
| completion_new +
|
||||
completion_search +
|
||||
completion_get_string +
|
||||
completion_list_add +
|
||||
completion_free
|
||||
|
||||
| infos |
|
||||
info_get +
|
||||
| infos
|
||||
| info_get +
|
||||
info_get_hashtable
|
||||
|
||||
| infolists |
|
||||
infolist_new +
|
||||
| infolists
|
||||
| infolist_new +
|
||||
infolist_new_item +
|
||||
infolist_new_var_integer +
|
||||
infolist_new_var_string +
|
||||
@@ -786,8 +786,8 @@ Liste des fonctions de l'API script :
|
||||
infolist_time +
|
||||
infolist_free
|
||||
|
||||
| hdata |
|
||||
hdata_get +
|
||||
| hdata
|
||||
| hdata_get +
|
||||
hdata_get_var_offset +
|
||||
hdata_get_var_type_string +
|
||||
hdata_get_var_array_size +
|
||||
@@ -808,8 +808,8 @@ Liste des fonctions de l'API script :
|
||||
hdata_update +
|
||||
hdata_get_string
|
||||
|
||||
| mise à jour |
|
||||
upgrade_new +
|
||||
| mise à jour
|
||||
| upgrade_new +
|
||||
upgrade_write_object +
|
||||
upgrade_read +
|
||||
upgrade_close
|
||||
@@ -825,13 +825,13 @@ Liste des constantes de l'API script :
|
||||
|
||||
| Catégorie | Constantes
|
||||
|
||||
| codes retour |
|
||||
`WEECHAT_RC_OK` (entier) +
|
||||
| codes retour
|
||||
| `WEECHAT_RC_OK` (entier) +
|
||||
`WEECHAT_RC_OK_EAT` (entier) +
|
||||
`WEECHAT_RC_ERROR` (entier)
|
||||
|
||||
| fichiers de configuration |
|
||||
`WEECHAT_CONFIG_READ_OK` (entier) +
|
||||
| fichiers de configuration
|
||||
| `WEECHAT_CONFIG_READ_OK` (entier) +
|
||||
`WEECHAT_CONFIG_READ_MEMORY_ERROR` (entier) +
|
||||
`WEECHAT_CONFIG_READ_FILE_NOT_FOUND` (entier) +
|
||||
`WEECHAT_CONFIG_WRITE_OK` (entier) +
|
||||
@@ -846,23 +846,23 @@ Liste des constantes de l'API script :
|
||||
`WEECHAT_CONFIG_OPTION_UNSET_OK_REMOVED` (entier) +
|
||||
`WEECHAT_CONFIG_OPTION_UNSET_ERROR` (entier)
|
||||
|
||||
| listes triées |
|
||||
`WEECHAT_LIST_POS_SORT` (chaîne) +
|
||||
| listes triées
|
||||
| `WEECHAT_LIST_POS_SORT` (chaîne) +
|
||||
`WEECHAT_LIST_POS_BEGINNING` (chaîne) +
|
||||
`WEECHAT_LIST_POS_END` (chaîne)
|
||||
|
||||
| hotlist |
|
||||
`WEECHAT_HOTLIST_LOW` (chaîne) +
|
||||
| hotlist
|
||||
| `WEECHAT_HOTLIST_LOW` (chaîne) +
|
||||
`WEECHAT_HOTLIST_MESSAGE` (chaîne) +
|
||||
`WEECHAT_HOTLIST_PRIVATE` (chaîne) +
|
||||
`WEECHAT_HOTLIST_HIGHLIGHT` (chaîne)
|
||||
|
||||
| hook process |
|
||||
`WEECHAT_HOOK_PROCESS_RUNNING` (entier) +
|
||||
| hook process
|
||||
| `WEECHAT_HOOK_PROCESS_RUNNING` (entier) +
|
||||
`WEECHAT_HOOK_PROCESS_ERROR` (entier)
|
||||
|
||||
| hook connect |
|
||||
`WEECHAT_HOOK_CONNECT_OK` (entier) +
|
||||
| hook connect
|
||||
| `WEECHAT_HOOK_CONNECT_OK` (entier) +
|
||||
`WEECHAT_HOOK_CONNECT_ADDRESS_NOT_FOUND` (entier) +
|
||||
`WEECHAT_HOOK_CONNECT_IP_ADDRESS_NOT_FOUND` (entier) +
|
||||
`WEECHAT_HOOK_CONNECT_CONNECTION_REFUSED` (entier) +
|
||||
@@ -874,8 +874,8 @@ Liste des constantes de l'API script :
|
||||
`WEECHAT_HOOK_CONNECT_TIMEOUT` (entier) +
|
||||
`WEECHAT_HOOK_CONNECT_SOCKET_ERROR` (entier)
|
||||
|
||||
| hook signal |
|
||||
`WEECHAT_HOOK_SIGNAL_STRING` (chaîne) +
|
||||
| hook signal
|
||||
| `WEECHAT_HOOK_SIGNAL_STRING` (chaîne) +
|
||||
`WEECHAT_HOOK_SIGNAL_INT` (chaîne) +
|
||||
`WEECHAT_HOOK_SIGNAL_POINTER` (chaîne)
|
||||
|===
|
||||
@@ -885,7 +885,7 @@ Liste des constantes de l'API script :
|
||||
|
||||
Ce chapitre montre quelques tâches courantes, avec des exemples.
|
||||
Seule une partie de l'API est utilisée ici, pour une référence complète, voir la
|
||||
link:weechat_plugin_api.fr.html[Référence API extension WeeChat].
|
||||
link:weechat_plugin_api.fr.html[Référence API extension WeeChat ^↗^,window=_blank].
|
||||
|
||||
[[buffers]]
|
||||
=== Tampons
|
||||
@@ -905,7 +905,7 @@ Exemples :
|
||||
weechat.prnt("", "bonjour")
|
||||
|
||||
# afficher "bonjour" sur le tampon core, mais ne pas l'écrire dans le fichier de log
|
||||
# (version >= 0.3.3 seulement)
|
||||
# (version ≥ 0.3.3 seulement)
|
||||
weechat.prnt_date_tags("", 0, "no_log", "bonjour")
|
||||
|
||||
# afficher le préfixe "==>" et le message "bonjour" sur le tampon courant
|
||||
@@ -1163,8 +1163,8 @@ weechat.hook_process("url:https://weechat.org/dev/info/stable/",
|
||||
----
|
||||
|
||||
[TIP]
|
||||
Toutes les infos disponibles à propos de WeeChat sont sur la page
|
||||
https://weechat.org/dev/info
|
||||
Toutes les infos disponibles à propos de WeeChat sont sur
|
||||
https://weechat.org/dev/info/[cette page ^↗^,window=_blank].
|
||||
|
||||
Exemple de transfert d'URL avec une option : télécharger le dernier paquet de
|
||||
développement WeeChat dans le fichier _/tmp/weechat-devel.tar.gz_ :
|
||||
@@ -1183,7 +1183,7 @@ weechat.hook_process_hashtable("url:https://weechat.org/files/src/weechat-devel.
|
||||
|
||||
Pour plus d'information sur le transfert d'URL et les options disponibles, voir
|
||||
les fonctions `+hook_process+` et `+hook_process_hashtable+` dans la
|
||||
link:weechat_plugin_api.fr.html#_hook_process[Référence API extension WeeChat].
|
||||
link:weechat_plugin_api.fr.html#_hook_process[Référence API extension WeeChat ^↗^,window=_blank].
|
||||
|
||||
[[config_options]]
|
||||
=== Config / options
|
||||
@@ -1346,62 +1346,62 @@ Le résultat est une table de hachage avec les clés suivantes
|
||||
|===
|
||||
| Clé | Depuis WeeChat ^(1)^ | Description | Exemple
|
||||
|
||||
| tags | 0.4.0 |
|
||||
Les étiquettes dans le message (peut être vide). |
|
||||
`+time=2015-06-27T16:40:35.000Z+`
|
||||
| tags | 0.4.0
|
||||
| Les étiquettes dans le message (peut être vide).
|
||||
| `+time=2015-06-27T16:40:35.000Z+`
|
||||
|
||||
| tag_xxx | 3.3 |
|
||||
Valeur de l'étiquette "xxx" sans les échappements (une clé par étiquette). |
|
||||
`+2015-06-27T16:40:35.000Z+`
|
||||
| tag_xxx | 3.3
|
||||
| Valeur de l'étiquette "xxx" sans les échappements (une clé par étiquette).
|
||||
| `+2015-06-27T16:40:35.000Z+`
|
||||
|
||||
| message_without_tags | 0.4.0 |
|
||||
Le message sans les étiquettes (la même chose que le message s'il n'y a pas
|
||||
d'étiquettes). |
|
||||
`+:nick!user@host PRIVMSG #weechat :hello!+`
|
||||
| message_without_tags | 0.4.0
|
||||
| Le message sans les étiquettes (la même chose que le message s'il n'y a pas
|
||||
d'étiquettes).
|
||||
| `+:nick!user@host PRIVMSG #weechat :hello!+`
|
||||
|
||||
| nick | 0.3.4 |
|
||||
Le pseudo d'origine. |
|
||||
`+nick+`
|
||||
| nick | 0.3.4
|
||||
| Le pseudo d'origine.
|
||||
| `+nick+`
|
||||
|
||||
| user | 2.7 |
|
||||
L'utilisateur d'origine. |
|
||||
`+user+`
|
||||
| user | 2.7
|
||||
| L'utilisateur d'origine.
|
||||
| `+user+`
|
||||
|
||||
| host | 0.3.4 |
|
||||
L'hôte d'origine (incluant le pseudo). |
|
||||
`+nick!user@host+`
|
||||
| host | 0.3.4
|
||||
| L'hôte d'origine (incluant le pseudo).
|
||||
| `+nick!user@host+`
|
||||
|
||||
| command | 0.3.4 |
|
||||
La commande (_PRIVMSG_, _NOTICE_, ...). |
|
||||
`+PRIVMSG+`
|
||||
| command | 0.3.4
|
||||
| La commande (_PRIVMSG_, _NOTICE_, ...).
|
||||
| `+PRIVMSG+`
|
||||
|
||||
| channel | 0.3.4 |
|
||||
Le canal cible. |
|
||||
`+#weechat+`
|
||||
| channel | 0.3.4
|
||||
| Le canal cible.
|
||||
| `+#weechat+`
|
||||
|
||||
| arguments | 0.3.4 |
|
||||
Les paramètres de la commande (incluant le canal). |
|
||||
`+#weechat :hello!+`
|
||||
| arguments | 0.3.4
|
||||
| Les paramètres de la commande (incluant le canal).
|
||||
| `+#weechat :hello!+`
|
||||
|
||||
| text | 1.3 |
|
||||
Le texte (par exemple un message utilisateur). |
|
||||
`+hello!+`
|
||||
| text | 1.3
|
||||
| Le texte (par exemple un message utilisateur).
|
||||
| `+hello!+`
|
||||
|
||||
| pos_command | 1.3 |
|
||||
La position de _command_ dans le message ("-1" si _command_ n'a pas été trouvé). |
|
||||
`+47+`
|
||||
| pos_command | 1.3
|
||||
| La position de _command_ dans le message ("-1" si _command_ n'a pas été trouvé).
|
||||
| `+47+`
|
||||
|
||||
| pos_arguments | 1.3 |
|
||||
La position de _arguments_ dans le message ("-1" si _arguments_ n'a pas été trouvé). |
|
||||
`+55+`
|
||||
| pos_arguments | 1.3
|
||||
| La position de _arguments_ dans le message ("-1" si _arguments_ n'a pas été trouvé).
|
||||
| `+55+`
|
||||
|
||||
| pos_channel | 1.3 |
|
||||
La position de _channel_ dans le message ("-1" si _channel_ n'a pas été trouvé). |
|
||||
`+55+`
|
||||
| pos_channel | 1.3
|
||||
| La position de _channel_ dans le message ("-1" si _channel_ n'a pas été trouvé).
|
||||
| `+55+`
|
||||
|
||||
| pos_text | 1.3 |
|
||||
La position de _text_ dans le message ("-1" si _text_ n'a pas été trouvé). |
|
||||
`+65+`
|
||||
| pos_text | 1.3
|
||||
| La position de _text_ dans le message ("-1" si _text_ n'a pas été trouvé).
|
||||
| `+65+`
|
||||
|===
|
||||
|
||||
[NOTE]
|
||||
|
||||
+673
-316
File diff suppressed because it is too large
Load Diff
@@ -94,6 +94,8 @@
|
||||
|
||||
| tcl | tcl_script | elenco degli script
|
||||
|
||||
| trigger | trigger_add_arguments | arguments for command that adds a trigger: trigger name, hooks, hook arguments, hook conditions, hook regex, hook command, hook return code, post actions
|
||||
|
||||
| trigger | trigger_hook_arguments | default arguments for a hook
|
||||
|
||||
| trigger | trigger_hook_command | default command for a hook
|
||||
@@ -148,6 +150,14 @@
|
||||
|
||||
| weechat | cursor_areas | aree ("chat" o nome barra) per il movimento libero del cursore
|
||||
|
||||
| weechat | custom_bar_item_add_arguments | arguments for command that adds a custom bar item: item name, conditions, content
|
||||
|
||||
| weechat | custom_bar_item_conditions | conditions for custom bar item
|
||||
|
||||
| weechat | custom_bar_item_contents | contents for custom bar item
|
||||
|
||||
| weechat | custom_bar_items_names | names of custom bar items
|
||||
|
||||
| weechat | env_value | value of an environment variable
|
||||
|
||||
| weechat | env_vars | environment variables
|
||||
|
||||
@@ -130,7 +130,7 @@ Examples:
|
||||
/autojoin add [<channel1> [<channel2>...]]
|
||||
addraw <channel1>[,<channel2>...] [<key1>[,<key2>...]]
|
||||
del [<channel1> [<channel2>...]]
|
||||
save
|
||||
apply
|
||||
sort
|
||||
|
||||
add: add current channel or a list of channels (with optional keys) to the autojoin option; if you are on the channel and the key is not provided, the key is read in the channel
|
||||
@@ -138,17 +138,18 @@ Examples:
|
||||
del: delete current channel or a list of channels from the autojoin option
|
||||
channel: channel name
|
||||
key: key for the channel
|
||||
save: save currently joined channels in the autojoin option
|
||||
apply: set currently joined channels in the autojoin option
|
||||
sort: sort alphabetically channels in the autojoin option
|
||||
|
||||
Examples:
|
||||
/autojoin add
|
||||
/autojoin add #test
|
||||
/autojoin add #chan1 #chan2
|
||||
/allchan /autojoin add
|
||||
/autojoin addraw #chan1,#chan2,#chan3 key1,key2
|
||||
/autojoin del
|
||||
/autojoin del #chan1
|
||||
/autojoin save
|
||||
/autojoin apply
|
||||
/autojoin sort
|
||||
----
|
||||
|
||||
@@ -1331,8 +1332,8 @@ Examples:
|
||||
----
|
||||
/debug list
|
||||
set <plugin> <level>
|
||||
dump [<plugin>]
|
||||
buffer|color|infolists|libs|certs|memory|tags|term|windows
|
||||
dump|hooks [<plugin>]
|
||||
buffer|certs|color|dirs|infolists|libs|memory|tags|term|windows
|
||||
mouse|cursor [verbose]
|
||||
hdata [free]
|
||||
time <command>
|
||||
@@ -1342,15 +1343,15 @@ Examples:
|
||||
plugin: name of plugin ("core" for WeeChat core)
|
||||
level: debug level for plugin (0 = disable debug)
|
||||
dump: save memory dump in WeeChat log file (same dump is written when WeeChat crashes)
|
||||
hooks: display infos about hooks (with a plugin: display detailed info about hooks created by the plugin)
|
||||
buffer: dump buffer content with hexadecimal values in log file
|
||||
certs: display number of loaded trusted certificate authorities
|
||||
color: display infos about current color pairs
|
||||
cursor: toggle debug for cursor mode
|
||||
dirs: display directories
|
||||
hdata: display infos about hdata (with free: remove all hdata in memory)
|
||||
hooks: display infos about hooks
|
||||
infolists: display infos about infolists
|
||||
libs: display infos about external libraries used
|
||||
certs: display number of loaded trusted certificate authorities
|
||||
memory: display infos about memory usage
|
||||
mouse: toggle debug for mouse
|
||||
tags: display tags for lines
|
||||
@@ -1408,28 +1409,30 @@ Some variables are replaced in expression, using the format ${variable}, variabl
|
||||
3. an evaluated sub-string (format: "eval:xxx")
|
||||
4. an evaluated condition (format: "eval_cond:xxx")
|
||||
5. a string with escaped chars (format: "esc:xxx" or "\xxx")
|
||||
6. a string with chars to hide (format: "hide:char,string")
|
||||
7. a string with max chars (format: "cut:max,suffix,string" or "cut:+max,suffix,string")
|
||||
6. a string converted to lower case (format: "lower:xxx")
|
||||
7. a string converted to upper case (format: "upper:xxx")
|
||||
8. a string with chars to hide (format: "hide:char,string")
|
||||
9. a string with max chars (format: "cut:max,suffix,string" or "cut:+max,suffix,string")
|
||||
or max chars displayed on screen (format: "cutscr:max,suffix,string" or "cutscr:+max,suffix,string")
|
||||
8. a reversed string (format: "rev:xxx" or "revscr:xxx")
|
||||
9. a repeated string (format: "repeat:count,string")
|
||||
10. length of a string (format: "length:xxx" or "lengthscr:xxx")
|
||||
11. split of a string (format: "split:number,separators,flags,xxx")
|
||||
12. split of shell argmuents (format: "split_shell:number,xxx")
|
||||
13. a color (format: "color:xxx", see "Plugin API reference", function "color")
|
||||
14. a modifier (format: "modifier:name,data,string")
|
||||
15. an info (format: "info:name,arguments", arguments are optional)
|
||||
16. a base 16/32/64 encoded/decoded string (format: "base_encode:base,xxx" or "base_decode:base,xxx")
|
||||
17. current date/time (format: "date" or "date:format")
|
||||
18. an environment variable (format: "env:XXX")
|
||||
19. a ternary operator (format: "if:condition?value_if_true:value_if_false")
|
||||
20. result of an expression with parentheses and operators + - * / // % ** (format: "calc:xxx")
|
||||
21. a random integer number (format: "random:min,max")
|
||||
22. a translated string (format: "translate:xxx")
|
||||
23. define a user variable (format: "define:name,value")
|
||||
24. an option (format: "file.section.option")
|
||||
25. a local variable in buffer
|
||||
26. a hdata name/variable (the value is automatically converted to string), by default "window" and "buffer" point to current window/buffer.
|
||||
10. a reversed string (format: "rev:xxx" or "revscr:xxx")
|
||||
11. a repeated string (format: "repeat:count,string")
|
||||
12. length of a string (format: "length:xxx" or "lengthscr:xxx")
|
||||
13. split of a string (format: "split:number,separators,flags,xxx")
|
||||
14. split of shell argmuents (format: "split_shell:number,xxx")
|
||||
15. a color (format: "color:xxx", see "Plugin API reference", function "color")
|
||||
16. a modifier (format: "modifier:name,data,string")
|
||||
17. an info (format: "info:name,arguments", arguments are optional)
|
||||
18. a base 16/32/64 encoded/decoded string (format: "base_encode:base,xxx" or "base_decode:base,xxx")
|
||||
19. current date/time (format: "date" or "date:format")
|
||||
20. an environment variable (format: "env:XXX")
|
||||
21. a ternary operator (format: "if:condition?value_if_true:value_if_false")
|
||||
22. result of an expression with parentheses and operators + - * / // % ** (format: "calc:xxx")
|
||||
23. a random integer number (format: "random:min,max")
|
||||
24. a translated string (format: "translate:xxx")
|
||||
25. define a user variable (format: "define:name,value")
|
||||
26. an option (format: "file.section.option")
|
||||
27. a local variable in buffer
|
||||
28. a hdata name/variable (the value is automatically converted to string), by default "window" and "buffer" point to current window/buffer.
|
||||
Format for hdata can be one of following:
|
||||
hdata.var1.var2...: start with a hdata (pointer must be known), and ask variables one after one (other hdata can be followed)
|
||||
hdata[list].var1.var2...: start with a hdata using a list/pointer/pointer name, for example:
|
||||
@@ -1452,6 +1455,8 @@ Examples (simple strings):
|
||||
/eval -n ${window.buffer.full_name} ==> core.weechat
|
||||
/eval -n ${window.buffer.number} ==> 1
|
||||
/eval -n ${\t} ==> <tab>
|
||||
/eval -n ${lower:TEST} ==> test
|
||||
/eval -n ${upper:test} ==> TEST
|
||||
/eval -n ${hide:-,${relay.network.password}} ==> --------
|
||||
/eval -n ${cut:3,+,test} ==> tes+
|
||||
/eval -n ${cut:+3,+,test} ==> te+
|
||||
@@ -1497,7 +1502,7 @@ Examples (conditions):
|
||||
add|addreplace <name> <buffer>[,<buffer>...] <tags> <regex>
|
||||
rename <name> <new_name>
|
||||
recreate <name>
|
||||
del <name>|-all
|
||||
del <name>|-all [<name>...]
|
||||
|
||||
list: list all filters
|
||||
enable: enable filters (filters are enabled by default)
|
||||
@@ -1646,6 +1651,49 @@ list of actions:
|
||||
This command is used by key bindings or plugins.
|
||||
----
|
||||
|
||||
[[command_weechat_item]]
|
||||
* `+item+`: manage custom bar items
|
||||
|
||||
----
|
||||
/item list
|
||||
add|addreplace <name> "<conditions>" "<content>"
|
||||
rename <name> <new_name>
|
||||
refresh <name> [<name>...]
|
||||
recreate <name>
|
||||
del <name>|-all
|
||||
|
||||
list: list all custom bar items
|
||||
add: add a custom bar item
|
||||
addreplace: add or replace an existing custom bar item
|
||||
name: custom bar item name
|
||||
conditions: evaluated conditions to display the bar item (for example to display the bar item only in specific buffers)
|
||||
content: content (evaluated, see /help eval)
|
||||
rename: rename a custom bar item
|
||||
refresh: update content of item in all bars where the item is displayed; any item can be refreshed: default/plugin/custom bar items
|
||||
recreate: set input with the command used to edit the custom bar item
|
||||
del: delete a custom bar item
|
||||
-all: delete all custom bar items
|
||||
|
||||
Examples:
|
||||
add item with terminal size, displayed only in buffers with number = 1:
|
||||
/item add terminfo "${buffer.number} == 1" "term:${info:term_width}x${info:term_height}"
|
||||
add item with buffer info:
|
||||
/item add bufinfo "" "${buffer.number}:${buffer.name}${if:${buffer.zoomed}?(Z)}"
|
||||
add item with date/time using format "Dec 25, 12:34 +0100", refreshed every minute:
|
||||
/item add datetime "" "${date:%b %d, %H:%M %z}"
|
||||
/trigger add datetime_refresh timer "60000;60" "" "" "/item refresh datetime"
|
||||
add item with number of lines in buffer (displayed/total), refreshed each time a new line is displayed or if filtered lines have changed:
|
||||
/item add lines_count "" "${calc:${buffer.lines.lines_count}-${buffer.lines.lines_hidden}}/${buffer.lines.lines_count} lines"
|
||||
/trigger add lines_count_refresh_print print "" "" "" "/item refresh lines_count"
|
||||
/trigger add lines_count_refresh_signal signal "window_switch;buffer_switch;buffer_lines_hidden;filters_*" "" "" "/item refresh lines_count"
|
||||
force refresh of item "lines_count":
|
||||
/item refresh lines_count
|
||||
recreate item "lines_count" with different conditions or content:
|
||||
/item recreate lines_count
|
||||
delete item "lines_count":
|
||||
/item del lines_count
|
||||
----
|
||||
|
||||
[[command_weechat_key]]
|
||||
* `+key+`: associa/disassocia tasti
|
||||
|
||||
@@ -2846,7 +2894,7 @@ protocol.name: protocol and name to relay:
|
||||
- protocol "weechat" (name is not used)
|
||||
|
||||
The "irc" protocol allows any IRC client (including WeeChat itself) to connect on the port.
|
||||
The "weechat" protocol allows a remote interface to connect on the port, see the list here: https://weechat.org/about/interfaces
|
||||
The "weechat" protocol allows a remote interface to connect on the port, see the list here: https://weechat.org/about/interfaces/
|
||||
|
||||
Without argument, this command opens buffer with list of relay clients.
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// tag::plugin_options[]
|
||||
// TRANSLATION MISSING
|
||||
For complete doc on plugin options, please look at plugins documentation in
|
||||
https://weechat.org/doc[WeeChat user's guide].
|
||||
https://weechat.org/doc/[WeeChat user's guide].
|
||||
|
||||
With irc plugin, you can connect to temporary server with an URL like:
|
||||
|
||||
|
||||
@@ -73,4 +73,4 @@ include::includes/man.it.adoc[tag=copyright]
|
||||
== SUPPORT / REPORTING BUGS
|
||||
|
||||
// TRANSLATION MISSING
|
||||
For help or a bug report: https://weechat.org/about/support
|
||||
For help or a bug report: https://weechat.org/about/support/
|
||||
|
||||
@@ -69,4 +69,4 @@ include::includes/man.it.adoc[tag=copyright]
|
||||
== SUPPORT / REPORTING BUGS
|
||||
|
||||
// TRANSLATION MISSING
|
||||
For help or a bug report: https://weechat.org/about/support
|
||||
For help or a bug report: https://weechat.org/about/support/
|
||||
|
||||
+56
-37
@@ -40,7 +40,8 @@ non c'entra con WeeChat!).
|
||||
Because WeeChat is very light and brings innovating features.
|
||||
|
||||
// TRANSLATION MISSING
|
||||
More info on the WeeChat features page: https://weechat.org/about/features
|
||||
More info on the WeeChat
|
||||
https://weechat.org/about/features/[features page ^↗^,window=_blank].
|
||||
|
||||
[[compilation_install]]
|
||||
== Compilazione / installazione
|
||||
@@ -49,16 +50,16 @@ More info on the WeeChat features page: https://weechat.org/about/features
|
||||
=== Ho sentito parlare di molte interfacce per WeeChat. Come si possono compilare/utilizzare?
|
||||
|
||||
// TRANSLATION MISSING
|
||||
Some remote GUIs are available, see the remote interfaces page:
|
||||
https://weechat.org/about/interfaces
|
||||
Some remote GUIs are available, see the
|
||||
https://weechat.org/about/interfaces/[remote interfaces page ^↗^,window=_blank].
|
||||
|
||||
[[compile_git]]
|
||||
=== Non è possibile compilare WeeChat dopo aver clonato il repository git, perché?
|
||||
|
||||
Il metodo raccomandato per compilare WeeChat è utilizzando
|
||||
link:weechat_user.it.html#compile_with_cmake[CMake].
|
||||
link:weechat_user.it.html#compile_with_cmake[CMake ^↗^,window=_blank].
|
||||
|
||||
Se si sta compilando con link:weechat_user.it.html#compile_with_autotools[autotools]
|
||||
Se si sta compilando con link:weechat_user.it.html#compile_with_autotools[autotools ^↗^,window=_blank]
|
||||
(e non CMake), verificare che siano installate le ultime versioni di autoconf e
|
||||
automake.
|
||||
|
||||
@@ -73,7 +74,8 @@ per l'installazione degli aggiornamenti.
|
||||
=== How can I install WeeChat on macOS?
|
||||
|
||||
// TRANSLATION MISSING
|
||||
It is recommended to use https://brew.sh/[Homebrew], you can get help with:
|
||||
It is recommended to use https://brew.sh/[Homebrew ^↗^,window=_blank],
|
||||
you can get help with:
|
||||
|
||||
----
|
||||
brew info weechat
|
||||
@@ -91,13 +93,13 @@ brew install weechat
|
||||
|
||||
// TRANSLATION MISSING
|
||||
Per l'aiuto digitare `/help`. Per l'aiuto su un comando, digitare `/help comando`.
|
||||
link:weechat_user.it.html#key_bindings[Keys] and
|
||||
link:weechat_user.it.html#commands_and_options[commands] are listed
|
||||
link:weechat_user.it.html#key_bindings[Keys ^↗^,window=_blank] and
|
||||
link:weechat_user.it.html#commands_and_options[commands ^↗^,window=_blank] are listed
|
||||
in documentation.
|
||||
|
||||
// TRANSLATION MISSING
|
||||
It's recommended for new users to read the
|
||||
link:weechat_quickstart.it.html[Quickstart guide].
|
||||
link:weechat_quickstart.it.html[Quickstart guide ^↗^,window=_blank].
|
||||
|
||||
[[display]]
|
||||
== Visualizzare
|
||||
@@ -130,7 +132,7 @@ It's a common issue with a variety of causes, please read carefully and check
|
||||
screen)
|
||||
// TRANSLATION MISSING
|
||||
* check that option
|
||||
link:weechat_user.it.html#option_weechat.look.eat_newline_glitch[_weechat.look.eat_newline_glitch_]
|
||||
link:weechat_user.it.html#option_weechat.look.eat_newline_glitch[_weechat.look.eat_newline_glitch_ ^↗^,window=_blank]
|
||||
is off (this option may cause display bugs)
|
||||
|
||||
[NOTE]
|
||||
@@ -146,10 +148,10 @@ This may be caused by a libc bug in function _wcwidth_, which should be fixed
|
||||
in glibc 2.22 (maybe not yet available in your distribution).
|
||||
|
||||
There is a workaround to use the fixed _wcwidth_ function:
|
||||
https://blog.nytsoi.net/2015/05/04/emoji-support-for-weechat
|
||||
https://blog.nytsoi.net/2015/05/04/emoji-support-for-weechat[https://blog.nytsoi.net/2015/05/04/emoji-support-for-weechat ^↗^,window=_blank].
|
||||
|
||||
See this bug report for more information:
|
||||
https://github.com/weechat/weechat/issues/79
|
||||
See this https://github.com/weechat/weechat/issues/79[bug report ^↗^,window=_blank]
|
||||
for more information.
|
||||
|
||||
[[bars_background]]
|
||||
=== Barre come quella del titolo e di stato non sono complete, il colore di sfondo si ferma dopo il testo, perché?
|
||||
@@ -213,7 +215,7 @@ windows.
|
||||
[[buffers_list]]
|
||||
=== Come si può visualizzare la lista dei buffer sulla sinistra?
|
||||
|
||||
With WeeChat ≥ 1.8, the plugin link:weechat_user.it.html#buflist_plugin[buflist]
|
||||
With WeeChat ≥ 1.8, the plugin link:weechat_user.it.html#buflist[buflist ^↗^,window=_blank]
|
||||
is loaded and enabled by default.
|
||||
|
||||
With an older version, you can install script _buffers.pl_:
|
||||
@@ -282,8 +284,8 @@ like `237` for dark gray.
|
||||
The buflist plugin provides lot of options that you can customize, please read
|
||||
the help on each option.
|
||||
|
||||
There's also a wiki page with examples of advanced buflist configuration:
|
||||
https://github.com/weechat/weechat/wiki/buflist
|
||||
There's also a https://github.com/weechat/weechat/wiki/buflist[wiki page ^↗^,window=_blank]
|
||||
with examples of advanced buflist configuration.
|
||||
|
||||
[[customize_prefix]]
|
||||
=== Come si può ridurre la lunghezza dei nick o rimuovere l'allineamento nella finestra di chat?
|
||||
@@ -328,8 +330,8 @@ 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.it.html#screen_layout[User's guide / Screen layout] for
|
||||
more info about the hotlist.
|
||||
See link:weechat_user.it.html#screen_layout[User's guide / Screen layout ^↗^,window=_blank]
|
||||
for more info about the hotlist.
|
||||
|
||||
[[input_bar_size]]
|
||||
=== Come posso usare la riga di comando con più di una riga?
|
||||
@@ -511,8 +513,8 @@ Per le versioni ≥ 0.3.5, è possibile usare qualsiasi numero di colore nelle
|
||||
opzioni (opzionale: si possono aggiungere gli alias ai colori con il comando `/color`).
|
||||
|
||||
// TRANSLATION MISSING
|
||||
Please read the link:weechat_user.it.html#colors[User's guide / Colors] for more
|
||||
information about colors management.
|
||||
Please read the link:weechat_user.it.html#colors[User's guide / Colors ^↗^,window=_blank]
|
||||
for more information about colors management.
|
||||
|
||||
[[search_text]]
|
||||
=== Come posso cercare testo nel buffer (come /lastlog con irssi)?
|
||||
@@ -521,8 +523,8 @@ Il tasto predefinito è kbd:[Ctrl+r] (il comando è: `+/input search_text_here+`
|
||||
E per passare alle notifiche: kbd:[Alt+p] / kbd:[Alt+n].
|
||||
|
||||
// TRANSLATION MISSING
|
||||
See link:weechat_user.it.html#key_bindings[User's guide / Key bindings] for more
|
||||
info about this feature.
|
||||
See link:weechat_user.it.html#key_bindings[User's guide / Key bindings ^↗^,window=_blank]
|
||||
for more info about this feature.
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[[terminal_focus]]
|
||||
@@ -705,7 +707,7 @@ kbd:[1] per passare al buffer 11.
|
||||
|
||||
// TRANSLATION MISSING
|
||||
List of default keys is in
|
||||
link:weechat_user.it.html#key_bindings[User's guide / Key bindings].
|
||||
link:weechat_user.it.html#key_bindings[User's guide / Key bindings ^↗^,window=_blank].
|
||||
|
||||
// TRANSLATION MISSING
|
||||
To jump to buffers with number ≥ 100, you could define a trigger and then use
|
||||
@@ -907,19 +909,34 @@ join and part in the "autojoin" server option.
|
||||
For all servers:
|
||||
|
||||
----
|
||||
/set irc.server_default.autojoin_record on
|
||||
/set irc.server_default.autojoin_dynamic on
|
||||
----
|
||||
|
||||
// TRANSLATION MISSING
|
||||
For a single server:
|
||||
|
||||
----
|
||||
/set irc.server.libera.autojoin_record on
|
||||
/set irc.server.libera.autojoin_dynamic on
|
||||
----
|
||||
|
||||
// TRANSLATION MISSING
|
||||
You can use the `/set` command to edit the list of autojoin channels,
|
||||
for example for the "libera" server:
|
||||
With WeeChat ≥ 3.5, you can also add the current channel in the "autojoin"
|
||||
server option using the `/autojoin` command:
|
||||
|
||||
----
|
||||
/autojoin add
|
||||
----
|
||||
|
||||
// TRANSLATION MISSING
|
||||
Or another channel:
|
||||
|
||||
----
|
||||
/autojoin add #test
|
||||
----
|
||||
|
||||
// TRANSLATION MISSING
|
||||
With WeeChat ≤ 3.4, you can use the `/set` command to edit the list of autojoin
|
||||
channels, for example for the "libera" server:
|
||||
|
||||
----
|
||||
/set irc.server.libera.autojoin [TAB]
|
||||
@@ -939,7 +956,7 @@ You can also use the `/fset` command to edit the list of channels:
|
||||
----
|
||||
|
||||
// TRANSLATION MISSING
|
||||
Another solution is to use a script:
|
||||
With WeeChat ≤ 3.4, another solution is to use a script:
|
||||
|
||||
----
|
||||
/script search autojoin
|
||||
@@ -984,7 +1001,7 @@ Con un filtro globale (nasconde *tutti* entrata/uscita/abbandono):
|
||||
|
||||
[NOTE]
|
||||
Per aiuto: `/help filter`, `+/help irc.look.smart_filter+` e
|
||||
link:weechat_user.it.html#irc_smart_filter_join_part_quit[Guida per l’Utente / Filtro smart per i messaggi di entrata/uscita/disconnessione].
|
||||
link:weechat_user.it.html#irc_smart_filter_join_part_quit[Guida per l’Utente / Filtro smart per i messaggi di entrata/uscita/disconnessione ^↗^,window=_blank].
|
||||
|
||||
[[filter_irc_join_channel_messages]]
|
||||
=== Come posso filtrare i messaggi visualizzati all'ingresso su un canale IRC?
|
||||
@@ -1090,7 +1107,7 @@ Altri script correlati:
|
||||
=== How can I disable highlights for specific nicks?
|
||||
|
||||
With WeeChat ≥ 0.3.4 you can use the
|
||||
link:weechat_user.en.html#max_hotlist_level_nicks[hotlist_max_level_nicks_add]
|
||||
link:weechat_user.en.html#max_hotlist_level_nicks[hotlist_max_level_nicks_add ^↗^,window=_blank]
|
||||
buffer property to set the max hotlist level for some nicks, per buffer,
|
||||
or per group of buffers (like IRC servers).
|
||||
|
||||
@@ -1312,7 +1329,7 @@ Unload and disable auto-loading of "xfer" plugin (used for IRC DCC):
|
||||
Define a passphrase and use secured data wherever you can for sensitive data
|
||||
like passwords: see `/help secure` and `/help` on options
|
||||
(if you can use secured data, it is written in the help).
|
||||
See also link:weechat_user.it.html#secured_data[Guida per l’Utente / Secured data].
|
||||
See also link:weechat_user.it.html#secured_data[Guida per l’Utente / Secured data ^↗^,window=_blank].
|
||||
|
||||
For example:
|
||||
|
||||
@@ -1334,7 +1351,7 @@ contains your passwords ciphered with your passphrase.
|
||||
Some other files may contain sensitive info like passwords (if they are not
|
||||
stored in _sec.conf_ with the `/secure` command).
|
||||
|
||||
See the link:weechat_user.it.html#files_and_directories[User's guide / Files and directories]
|
||||
See the link:weechat_user.it.html#files_and_directories[User's guide / Files and directories ^↗^,window=_blank]
|
||||
for more information about configuration files.
|
||||
|
||||
[[development]]
|
||||
@@ -1344,7 +1361,7 @@ for more information about configuration files.
|
||||
=== Come posso segnalare bug, richiedere nuove funzionalità o inviare patch?
|
||||
|
||||
// TRANSLATION MISSING
|
||||
See: https://weechat.org/about/support
|
||||
See https://weechat.org/about/support/[this page ^↗^,window=_blank].
|
||||
|
||||
[[gdb_error_threads]]
|
||||
=== Quando eseguo WeeChat in gdb, c'è un errore riguardo ai thread, cosa posso fare?
|
||||
@@ -1382,11 +1399,13 @@ per gli OS che non abbiamo, e su cui testare WeeChat, è ben accetto.
|
||||
|
||||
Ci sono molti compiti da fare (testing, scrittura del codice, documentazione, ...)
|
||||
|
||||
Per favore contattateci su IRC o via mail e consultate la pagina di supporto:
|
||||
https://weechat.org/about/support
|
||||
// TRANSLATION MISSING
|
||||
Please contact us via IRC or mail, look at
|
||||
https://weechat.org/about/support/[support page ^↗^,window=_blank].
|
||||
|
||||
[[donate]]
|
||||
=== Posso donare denaro o altre cose agli sviluppatori di WeeChat?
|
||||
|
||||
È possibile donare denaro per aiutare lo sviluppo.
|
||||
Maggiori dettagli su https://weechat.org/donate
|
||||
// TRANSLATION MISSING
|
||||
You can give us money to help development.
|
||||
Details on https://weechat.org/donate/[donation page ^↗^,window=_blank].
|
||||
|
||||
+1076
-1056
File diff suppressed because it is too large
Load Diff
@@ -222,10 +222,16 @@ al server:
|
||||
----
|
||||
|
||||
// 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).
|
||||
The `/autojoin` command lets you configure the _autojoin_ option easily
|
||||
(see `/help autojoin`).
|
||||
|
||||
// TRANSLATION MISSING
|
||||
You can also configure WeeChat to automatically update the _autojoin_ option
|
||||
when you join or leave channels:
|
||||
|
||||
----
|
||||
/set irc.server_default.autojoin_dynamic on
|
||||
----
|
||||
|
||||
Per eliminare il valore di un'opzione del server, e usare invece il valore
|
||||
predefinito, per esempio per utilizzare i nick predefiniti
|
||||
@@ -242,6 +248,12 @@ Altre opzioni: è possibile impostare altre opzioni con il seguente comando
|
||||
/set irc.server.libera.xxx value
|
||||
----
|
||||
|
||||
// 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).
|
||||
|
||||
[[connect_to_irc_server]]
|
||||
== Connessione al server IRC
|
||||
|
||||
@@ -415,14 +427,15 @@ for example:
|
||||
See `/help script` for more info.
|
||||
|
||||
// TRANSLATION MISSING
|
||||
A list of scripts is available in WeeChat with `/script` or at this URL:
|
||||
https://weechat.org/scripts
|
||||
A list of scripts is available in WeeChat with `/script` or on
|
||||
https://weechat.org/scripts/[this page ^↗^,window=_blank].
|
||||
|
||||
[[more_doc]]
|
||||
== Ulteriore documentazione
|
||||
|
||||
È ora possibilie usare WeeChat e leggere FAQ/documentazione per ogni altra
|
||||
domanda:
|
||||
https://weechat.org/doc
|
||||
// TRANSLATION MISSING
|
||||
You can now use WeeChat and read
|
||||
https://weechat.org/doc/[FAQ/documentation ^↗^,window=_blank]
|
||||
for any other questions.
|
||||
|
||||
Buon WeeChat!
|
||||
|
||||
+124
-122
@@ -19,8 +19,9 @@ Translators:
|
||||
Questo manuale documenta il client di chat WeeChat, ed è parte
|
||||
del programma stesso.
|
||||
|
||||
La versione più recente di questo documento si trova qui:
|
||||
https://weechat.org/doc
|
||||
// TRANSLATION MISSING
|
||||
Latest version of this document can be found on
|
||||
https://weechat.org/doc/[this page ^↗^,window=_blank].
|
||||
|
||||
|
||||
[[introduction]]
|
||||
@@ -70,7 +71,7 @@ function, this can crash WeeChat. +
|
||||
If something must be run in background, the function `+hook_process+` can be used.
|
||||
See example in the chapter <<hook_process,Eseguire un processo in background>>
|
||||
and the documentation on the function `+hook_process+` in the
|
||||
link:weechat_plugin_api.it.html#_hook_process[WeeChat plugin API reference].
|
||||
link:weechat_plugin_api.it.html#_hook_process[WeeChat plugin API reference ^↗^,window=_blank].
|
||||
|
||||
[[languages_specificities]]
|
||||
=== Specifiche per i linguaggi
|
||||
@@ -84,7 +85,7 @@ link:weechat_plugin_api.it.html#_hook_process[WeeChat plugin API reference].
|
||||
|
||||
WeeChat defines a `weechat` module which must be imported with `import weechat`. +
|
||||
A Python stub for WeeChat API is available in the repository:
|
||||
https://raw.githubusercontent.com/weechat/weechat/master/src/plugins/python/weechat.pyi[weechat.pyi].
|
||||
https://raw.githubusercontent.com/weechat/weechat/master/src/plugins/python/weechat.pyi[weechat.pyi ^↗^,window=_blank].
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[[python_functions]]
|
||||
@@ -111,38 +112,38 @@ receive a string of type `str` or `bytes` (this list is not exhaustive):
|
||||
|===
|
||||
| API function | Arguments | Examples | Description
|
||||
|
||||
| hook_modifier |
|
||||
irc_in_yyy |
|
||||
pass:[irc_in_privmsg] +
|
||||
pass:[irc_in_notice] |
|
||||
A message received in IRC plugin, before it is decoded to UTF-8 (used
|
||||
| hook_modifier
|
||||
| irc_in_yyy
|
||||
| pass:[irc_in_privmsg] +
|
||||
pass:[irc_in_notice]
|
||||
| A message received in IRC plugin, before it is decoded to UTF-8 (used
|
||||
internally). +
|
||||
+
|
||||
It is recommended to use modifier `+irc_in2_yyy+` instead, the string received
|
||||
is always UTF-8 valid. +
|
||||
See function `+hook_modifier+` in the
|
||||
link:weechat_plugin_api.it.html#_hook_modifier[WeeChat plugin API reference].
|
||||
link:weechat_plugin_api.it.html#_hook_modifier[WeeChat plugin API reference ^↗^,window=_blank].
|
||||
|
||||
| hook_signal |
|
||||
xxx,irc_out_yyy +
|
||||
xxx,irc_outtags_yyy |
|
||||
pass:[*,irc_out_privmsg] +
|
||||
| hook_signal
|
||||
| xxx,irc_out_yyy +
|
||||
xxx,irc_outtags_yyy
|
||||
| pass:[*,irc_out_privmsg] +
|
||||
pass:[*,irc_out_notice] +
|
||||
pass:[*,irc_outtags_privmsg] +
|
||||
pass:[*,irc_outtags_notice] |
|
||||
A message sent by IRC plugin, after it is encoded to the `encode` charset
|
||||
pass:[*,irc_outtags_notice]
|
||||
| A message sent by IRC plugin, after it is encoded to the `encode` charset
|
||||
defined by the user (if different from the default `UTF-8`). +
|
||||
+
|
||||
It is recommended to use signal `+xxx,irc_out1_yyy+` instead, the string received
|
||||
is always UTF-8 valid. +
|
||||
See function `+hook_signal+` in the
|
||||
link:weechat_plugin_api.it.html#_hook_signal[WeeChat plugin API reference].
|
||||
link:weechat_plugin_api.it.html#_hook_signal[WeeChat plugin API reference ^↗^,window=_blank].
|
||||
|
||||
| hook_process +
|
||||
hook_process_hashtable |
|
||||
- |
|
||||
- |
|
||||
Output of the command, sent to the callback, can contain invalid UTF-8 data.
|
||||
hook_process_hashtable
|
||||
| -
|
||||
| -
|
||||
| Output of the command, sent to the callback, can contain invalid UTF-8 data.
|
||||
|
||||
|===
|
||||
|
||||
@@ -398,7 +399,7 @@ directory _autoload_ viene creato automaticamente'.
|
||||
|
||||
// TRANSLATION MISSING
|
||||
Script API is almost the same as C plugin API.
|
||||
You can look at link:weechat_plugin_api.it.html[WeeChat plugin API reference]
|
||||
You can look at link:weechat_plugin_api.it.html[WeeChat plugin API reference ^↗^,window=_blank]
|
||||
for detail about each function in API: prototype, arguments, return values, examples.
|
||||
|
||||
È importante fare la differenza tra un _plugin_ ed uno _script_:
|
||||
@@ -572,7 +573,7 @@ weechat_hook_timer(1000, 0, 1, $timer_cb, 'test');
|
||||
|
||||
// TRANSLATION MISSING
|
||||
For more information about functions in API, please read the
|
||||
link:weechat_plugin_api.it.html[WeeChat plugin API reference].
|
||||
link:weechat_plugin_api.it.html[WeeChat plugin API reference ^↗^,window=_blank].
|
||||
|
||||
[[script_api_functions]]
|
||||
=== Funzioni
|
||||
@@ -583,14 +584,14 @@ Elenco di funzioni nelle API per gli script:
|
||||
|===
|
||||
| Categoria | Funzioni
|
||||
|
||||
| generale |
|
||||
register
|
||||
| generale
|
||||
| register
|
||||
|
||||
| plugin |
|
||||
plugin_get_name
|
||||
| plugin
|
||||
| plugin_get_name
|
||||
|
||||
| stringhe |
|
||||
charset_set +
|
||||
| stringhe
|
||||
| charset_set +
|
||||
iconv_to_internal +
|
||||
iconv_from_internal +
|
||||
gettext +
|
||||
@@ -609,13 +610,13 @@ Elenco di funzioni nelle API per gli script:
|
||||
string_eval_expression +
|
||||
string_eval_path_home
|
||||
|
||||
| directory |
|
||||
mkdir_home +
|
||||
| directory
|
||||
| mkdir_home +
|
||||
mkdir +
|
||||
mkdir_parents
|
||||
|
||||
| liste ordinate |
|
||||
list_new +
|
||||
| liste ordinate
|
||||
| list_new +
|
||||
list_add +
|
||||
list_search +
|
||||
list_search_pos +
|
||||
@@ -631,8 +632,8 @@ Elenco di funzioni nelle API per gli script:
|
||||
list_remove_all +
|
||||
list_free
|
||||
|
||||
| file di configurazione |
|
||||
config_new +
|
||||
| file di configurazione
|
||||
| config_new +
|
||||
config_new_section +
|
||||
config_search_section +
|
||||
config_new_option +
|
||||
@@ -669,12 +670,12 @@ Elenco di funzioni nelle API per gli script:
|
||||
config_set_desc_plugin +
|
||||
config_unset_plugin
|
||||
|
||||
| combinazione tasti |
|
||||
key_bind +
|
||||
| combinazione tasti
|
||||
| key_bind +
|
||||
key_unbind
|
||||
|
||||
| visualizzazione |
|
||||
prefix +
|
||||
| visualizzazione
|
||||
| prefix +
|
||||
color +
|
||||
// TRANSLATION MISSING
|
||||
print (for python: prnt) +
|
||||
@@ -686,8 +687,8 @@ Elenco di funzioni nelle API per gli script:
|
||||
print_y_date_tags (for python: prnt_y_date_tags) +
|
||||
log_print
|
||||
|
||||
| hook |
|
||||
hook_command +
|
||||
| hook
|
||||
| hook_command +
|
||||
hook_command_run +
|
||||
hook_timer +
|
||||
hook_fd +
|
||||
@@ -712,8 +713,8 @@ Elenco di funzioni nelle API per gli script:
|
||||
unhook +
|
||||
unhook_all
|
||||
|
||||
| buffer |
|
||||
buffer_new +
|
||||
| buffer
|
||||
| buffer_new +
|
||||
buffer_new_props +
|
||||
current_buffer +
|
||||
buffer_search +
|
||||
@@ -729,16 +730,16 @@ Elenco di funzioni nelle API per gli script:
|
||||
buffer_string_replace_local_var +
|
||||
buffer_match_list
|
||||
|
||||
| finestre |
|
||||
current_window +
|
||||
| finestre
|
||||
| current_window +
|
||||
window_search_with_buffer +
|
||||
window_get_integer +
|
||||
window_get_string +
|
||||
window_get_pointer +
|
||||
window_set_title
|
||||
|
||||
| lista nick |
|
||||
nicklist_add_group +
|
||||
| lista nick
|
||||
| nicklist_add_group +
|
||||
nicklist_search_group +
|
||||
nicklist_add_nick +
|
||||
nicklist_search_nick +
|
||||
@@ -754,8 +755,8 @@ Elenco di funzioni nelle API per gli script:
|
||||
nicklist_nick_get_pointer +
|
||||
nicklist_nick_set
|
||||
|
||||
| barre |
|
||||
bar_item_search +
|
||||
| barre
|
||||
| bar_item_search +
|
||||
bar_item_new +
|
||||
bar_item_update +
|
||||
bar_item_remove +
|
||||
@@ -765,24 +766,24 @@ Elenco di funzioni nelle API per gli script:
|
||||
bar_update +
|
||||
bar_remove
|
||||
|
||||
| comandi |
|
||||
command +
|
||||
| comandi
|
||||
| command +
|
||||
command_options
|
||||
|
||||
// TRANSLATION MISSING
|
||||
| completion |
|
||||
completion_new +
|
||||
| completion
|
||||
| completion_new +
|
||||
completion_search +
|
||||
completion_get_string +
|
||||
completion_list_add +
|
||||
completion_free
|
||||
|
||||
| info |
|
||||
info_get +
|
||||
| info
|
||||
| info_get +
|
||||
info_get_hashtable
|
||||
|
||||
| liste info |
|
||||
infolist_new +
|
||||
| liste info
|
||||
| infolist_new +
|
||||
infolist_new_item +
|
||||
infolist_new_var_integer +
|
||||
infolist_new_var_string +
|
||||
@@ -800,8 +801,8 @@ Elenco di funzioni nelle API per gli script:
|
||||
infolist_time +
|
||||
infolist_free
|
||||
|
||||
| hdata |
|
||||
hdata_get +
|
||||
| hdata
|
||||
| hdata_get +
|
||||
hdata_get_var_offset +
|
||||
hdata_get_var_type_string +
|
||||
hdata_get_var_array_size +
|
||||
@@ -822,8 +823,8 @@ Elenco di funzioni nelle API per gli script:
|
||||
hdata_update +
|
||||
hdata_get_string
|
||||
|
||||
| aggiornamento |
|
||||
upgrade_new +
|
||||
| aggiornamento
|
||||
| upgrade_new +
|
||||
upgrade_write_object +
|
||||
upgrade_read +
|
||||
upgrade_close
|
||||
@@ -839,14 +840,14 @@ Elenco di costanti nelle API per gli script:
|
||||
| Categoria | Costanti
|
||||
|
||||
// TRANSLATION MISSING
|
||||
| codici restituiti |
|
||||
`WEECHAT_RC_OK` (integer) +
|
||||
| codici restituiti
|
||||
| `WEECHAT_RC_OK` (integer) +
|
||||
`WEECHAT_RC_OK_EAT` (integer) +
|
||||
`WEECHAT_RC_ERROR` (integer)
|
||||
|
||||
// TRANSLATION MISSING
|
||||
| file di configurazione |
|
||||
`WEECHAT_CONFIG_READ_OK` (integer) +
|
||||
| file di configurazione
|
||||
| `WEECHAT_CONFIG_READ_OK` (integer) +
|
||||
`WEECHAT_CONFIG_READ_MEMORY_ERROR` (integer) +
|
||||
`WEECHAT_CONFIG_READ_FILE_NOT_FOUND` (integer) +
|
||||
`WEECHAT_CONFIG_WRITE_OK` (integer) +
|
||||
@@ -862,26 +863,26 @@ Elenco di costanti nelle API per gli script:
|
||||
`WEECHAT_CONFIG_OPTION_UNSET_ERROR` (integer)
|
||||
|
||||
// TRANSLATION MISSING
|
||||
| liste ordinate |
|
||||
`WEECHAT_LIST_POS_SORT` (string) +
|
||||
| liste ordinate
|
||||
| `WEECHAT_LIST_POS_SORT` (string) +
|
||||
`WEECHAT_LIST_POS_BEGINNING` (string) +
|
||||
`WEECHAT_LIST_POS_END` (string)
|
||||
|
||||
// TRANSLATION MISSING
|
||||
| hotlist |
|
||||
`WEECHAT_HOTLIST_LOW` (string) +
|
||||
| hotlist
|
||||
| `WEECHAT_HOTLIST_LOW` (string) +
|
||||
`WEECHAT_HOTLIST_MESSAGE` (string) +
|
||||
`WEECHAT_HOTLIST_PRIVATE` (string) +
|
||||
`WEECHAT_HOTLIST_HIGHLIGHT` (string)
|
||||
|
||||
// TRANSLATION MISSING
|
||||
| hook su processo |
|
||||
`WEECHAT_HOOK_PROCESS_RUNNING` (integer) +
|
||||
| hook su processo
|
||||
| `WEECHAT_HOOK_PROCESS_RUNNING` (integer) +
|
||||
`WEECHAT_HOOK_PROCESS_ERROR` (integer)
|
||||
|
||||
// TRANSLATION MISSING
|
||||
| hook su connessione |
|
||||
`WEECHAT_HOOK_CONNECT_OK` (integer) +
|
||||
| hook su connessione
|
||||
| `WEECHAT_HOOK_CONNECT_OK` (integer) +
|
||||
`WEECHAT_HOOK_CONNECT_ADDRESS_NOT_FOUND` (integer) +
|
||||
`WEECHAT_HOOK_CONNECT_IP_ADDRESS_NOT_FOUND` (integer) +
|
||||
`WEECHAT_HOOK_CONNECT_CONNECTION_REFUSED` (integer) +
|
||||
@@ -894,8 +895,8 @@ Elenco di costanti nelle API per gli script:
|
||||
`WEECHAT_HOOK_CONNECT_SOCKET_ERROR` (integer)
|
||||
|
||||
// TRANSLATION MISSING
|
||||
| hook su segnale |
|
||||
`WEECHAT_HOOK_SIGNAL_STRING` (string) +
|
||||
| hook su segnale
|
||||
| `WEECHAT_HOOK_SIGNAL_STRING` (string) +
|
||||
`WEECHAT_HOOK_SIGNAL_INT` (string) +
|
||||
`WEECHAT_HOOK_SIGNAL_POINTER` (string)
|
||||
|===
|
||||
@@ -906,7 +907,7 @@ Elenco di costanti nelle API per gli script:
|
||||
// TRANSLATION MISSING
|
||||
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.it.html[WeeChat plugin API reference].
|
||||
link:weechat_plugin_api.it.html[WeeChat plugin API reference ^↗^,window=_blank].
|
||||
|
||||
[[buffers]]
|
||||
=== Buffer
|
||||
@@ -926,7 +927,7 @@ Esempi:
|
||||
weechat.prnt("", "hello")
|
||||
|
||||
# visualizza "hello" sul buffer core, ma non salva sul file di log
|
||||
# (solo versioni >= 0.3.3)
|
||||
# (solo versioni ≥ 0.3.3)
|
||||
weechat.prnt_date_tags("", 0, "no_log", "hello")
|
||||
|
||||
# visualizza il prefisso "==>" ed il messaggio "hello" sul buffer corrente
|
||||
@@ -1185,8 +1186,9 @@ weechat.hook_process("url:https://weechat.org/dev/info/stable/",
|
||||
----
|
||||
|
||||
[TIP]
|
||||
Tutte le informazioni disponibili su WeeChat sono sulla pagina
|
||||
https://weechat.org/dev/info
|
||||
// TRANSLATION MISSING
|
||||
All infos available about WeeChat are on
|
||||
https://weechat.org/dev/info/[this page ^↗^,window=_blank].
|
||||
|
||||
Esempio di trasferimento di un URL con un'opzione: scaricare l'ultimo pacchetto
|
||||
di sviluppo di WeeChat nel file _/tmp/weechat-devel.tar.gz_:
|
||||
@@ -1206,7 +1208,7 @@ weechat.hook_process_hashtable("url:https://weechat.org/files/src/weechat-devel.
|
||||
// TRANSLATION MISSING
|
||||
For more information about URL transfer and available options, see functions
|
||||
`+hook_process+` and `+hook_process_hashtable+` in
|
||||
link:weechat_plugin_api.it.html#_hook_process[WeeChat plugin API reference].
|
||||
link:weechat_plugin_api.it.html#_hook_process[WeeChat plugin API reference ^↗^,window=_blank].
|
||||
|
||||
[[config_options]]
|
||||
=== Configurazione / opzioni
|
||||
@@ -1374,63 +1376,63 @@ The result is a hashtable with following keys
|
||||
|===
|
||||
| Key | Since WeeChat ^(1)^ | Description | Example
|
||||
|
||||
| tags | 0.4.0 |
|
||||
The tags in message (can be empty). |
|
||||
`+time=2015-06-27T16:40:35.000Z+`
|
||||
| tags | 0.4.0
|
||||
| The tags in message (can be empty).
|
||||
| `+time=2015-06-27T16:40:35.000Z+`
|
||||
|
||||
// TRANSLATION MISSING
|
||||
| tag_xxx | 3.3 |
|
||||
Unescaped value of tag "xxx" (one key per tag). |
|
||||
`+2015-06-27T16:40:35.000Z+`
|
||||
| tag_xxx | 3.3
|
||||
| Unescaped value of tag "xxx" (one key per tag).
|
||||
| `+2015-06-27T16:40:35.000Z+`
|
||||
|
||||
| message_without_tags | 0.4.0 |
|
||||
The message without the tags (the same as message if there are no tags). |
|
||||
`+:nick!user@host PRIVMSG #weechat :hello!+`
|
||||
| message_without_tags | 0.4.0
|
||||
| The message without the tags (the same as message if there are no tags).
|
||||
| `+:nick!user@host PRIVMSG #weechat :hello!+`
|
||||
|
||||
| nick | 0.3.4 |
|
||||
The origin nick. |
|
||||
`+nick+`
|
||||
| nick | 0.3.4
|
||||
| The origin nick.
|
||||
| `+nick+`
|
||||
|
||||
// TRANSLATION MISSING
|
||||
| user | 2.7 |
|
||||
The origin user. |
|
||||
`+user+`
|
||||
| user | 2.7
|
||||
| The origin user.
|
||||
| `+user+`
|
||||
|
||||
| host | 0.3.4 |
|
||||
The origin host (includes the nick). |
|
||||
`+nick!user@host+`
|
||||
| host | 0.3.4
|
||||
| The origin host (includes the nick).
|
||||
| `+nick!user@host+`
|
||||
|
||||
| command | 0.3.4 |
|
||||
The command (_PRIVMSG_, _NOTICE_, ...). |
|
||||
`+PRIVMSG+`
|
||||
| command | 0.3.4
|
||||
| The command (_PRIVMSG_, _NOTICE_, ...).
|
||||
| `+PRIVMSG+`
|
||||
|
||||
| channel | 0.3.4 |
|
||||
The target channel. |
|
||||
`+#weechat+`
|
||||
| channel | 0.3.4
|
||||
| The target channel.
|
||||
| `+#weechat+`
|
||||
|
||||
| arguments | 0.3.4 |
|
||||
The command arguments (includes the channel). |
|
||||
`+#weechat :hello!+`
|
||||
| arguments | 0.3.4
|
||||
| The command arguments (includes the channel).
|
||||
| `+#weechat :hello!+`
|
||||
|
||||
| text | 1.3 |
|
||||
The text (for example user message). |
|
||||
`+hello!+`
|
||||
| text | 1.3
|
||||
| The text (for example user message).
|
||||
| `+hello!+`
|
||||
|
||||
| pos_command | 1.3 |
|
||||
The index of _command_ in message ("-1" if _command_ was not found). |
|
||||
`+47+`
|
||||
| pos_command | 1.3
|
||||
| The index of _command_ in message ("-1" if _command_ was not found).
|
||||
| `+47+`
|
||||
|
||||
| pos_arguments | 1.3 |
|
||||
The index of _arguments_ in message ("-1" if _arguments_ was not found). |
|
||||
`+55+`
|
||||
| pos_arguments | 1.3
|
||||
| The index of _arguments_ in message ("-1" if _arguments_ was not found).
|
||||
| `+55+`
|
||||
|
||||
| pos_channel | 1.3 |
|
||||
The index of _channel_ in message ("-1" if _channel_ was not found). |
|
||||
`+55+`
|
||||
| pos_channel | 1.3
|
||||
| The index of _channel_ in message ("-1" if _channel_ was not found).
|
||||
| `+55+`
|
||||
|
||||
| pos_text | 1.3 |
|
||||
The index of _text_ in message ("-1" if _text_ was not found). |
|
||||
`+65+`
|
||||
| pos_text | 1.3
|
||||
| The index of _text_ in message ("-1" if _text_ was not found).
|
||||
| `+65+`
|
||||
|===
|
||||
|
||||
// TRANSLATION MISSING
|
||||
|
||||
+671
-309
File diff suppressed because it is too large
Load Diff
@@ -94,6 +94,8 @@
|
||||
|
||||
| tcl | tcl_script | スクリプトのリスト
|
||||
|
||||
| trigger | trigger_add_arguments | arguments for command that adds a trigger: trigger name, hooks, hook arguments, hook conditions, hook regex, hook command, hook return code, post actions
|
||||
|
||||
| trigger | trigger_hook_arguments | フックに対するデフォルト引数
|
||||
|
||||
| trigger | trigger_hook_command | フックに対するデフォルトコマンド
|
||||
@@ -148,6 +150,14 @@
|
||||
|
||||
| weechat | cursor_areas | カーソルを自由に動かせるエリア ("chat" またはバーの名前)
|
||||
|
||||
| weechat | custom_bar_item_add_arguments | arguments for command that adds a custom bar item: item name, conditions, content
|
||||
|
||||
| weechat | custom_bar_item_conditions | conditions for custom bar item
|
||||
|
||||
| weechat | custom_bar_item_contents | contents for custom bar item
|
||||
|
||||
| weechat | custom_bar_items_names | names of custom bar items
|
||||
|
||||
| weechat | env_value | 環境変数の値
|
||||
|
||||
| weechat | env_vars | 環境変数
|
||||
|
||||
@@ -130,7 +130,7 @@ Examples:
|
||||
/autojoin add [<channel1> [<channel2>...]]
|
||||
addraw <channel1>[,<channel2>...] [<key1>[,<key2>...]]
|
||||
del [<channel1> [<channel2>...]]
|
||||
save
|
||||
apply
|
||||
sort
|
||||
|
||||
add: add current channel or a list of channels (with optional keys) to the autojoin option; if you are on the channel and the key is not provided, the key is read in the channel
|
||||
@@ -138,17 +138,18 @@ Examples:
|
||||
del: delete current channel or a list of channels from the autojoin option
|
||||
channel: channel name
|
||||
key: key for the channel
|
||||
save: save currently joined channels in the autojoin option
|
||||
apply: set currently joined channels in the autojoin option
|
||||
sort: sort alphabetically channels in the autojoin option
|
||||
|
||||
Examples:
|
||||
/autojoin add
|
||||
/autojoin add #test
|
||||
/autojoin add #chan1 #chan2
|
||||
/allchan /autojoin add
|
||||
/autojoin addraw #chan1,#chan2,#chan3 key1,key2
|
||||
/autojoin del
|
||||
/autojoin del #chan1
|
||||
/autojoin save
|
||||
/autojoin apply
|
||||
/autojoin sort
|
||||
----
|
||||
|
||||
@@ -1331,8 +1332,8 @@ Examples:
|
||||
----
|
||||
/debug list
|
||||
set <plugin> <level>
|
||||
dump [<plugin>]
|
||||
buffer|color|infolists|libs|certs|memory|tags|term|windows
|
||||
dump|hooks [<plugin>]
|
||||
buffer|certs|color|dirs|infolists|libs|memory|tags|term|windows
|
||||
mouse|cursor [verbose]
|
||||
hdata [free]
|
||||
time <command>
|
||||
@@ -1342,15 +1343,15 @@ Examples:
|
||||
plugin: name of plugin ("core" for WeeChat core)
|
||||
level: debug level for plugin (0 = disable debug)
|
||||
dump: save memory dump in WeeChat log file (same dump is written when WeeChat crashes)
|
||||
hooks: display infos about hooks (with a plugin: display detailed info about hooks created by the plugin)
|
||||
buffer: dump buffer content with hexadecimal values in log file
|
||||
certs: display number of loaded trusted certificate authorities
|
||||
color: display infos about current color pairs
|
||||
cursor: toggle debug for cursor mode
|
||||
dirs: display directories
|
||||
hdata: display infos about hdata (with free: remove all hdata in memory)
|
||||
hooks: display infos about hooks
|
||||
infolists: display infos about infolists
|
||||
libs: display infos about external libraries used
|
||||
certs: display number of loaded trusted certificate authorities
|
||||
memory: display infos about memory usage
|
||||
mouse: toggle debug for mouse
|
||||
tags: display tags for lines
|
||||
@@ -1408,28 +1409,30 @@ Some variables are replaced in expression, using the format ${variable}, variabl
|
||||
3. an evaluated sub-string (format: "eval:xxx")
|
||||
4. an evaluated condition (format: "eval_cond:xxx")
|
||||
5. a string with escaped chars (format: "esc:xxx" or "\xxx")
|
||||
6. a string with chars to hide (format: "hide:char,string")
|
||||
7. a string with max chars (format: "cut:max,suffix,string" or "cut:+max,suffix,string")
|
||||
6. a string converted to lower case (format: "lower:xxx")
|
||||
7. a string converted to upper case (format: "upper:xxx")
|
||||
8. a string with chars to hide (format: "hide:char,string")
|
||||
9. a string with max chars (format: "cut:max,suffix,string" or "cut:+max,suffix,string")
|
||||
or max chars displayed on screen (format: "cutscr:max,suffix,string" or "cutscr:+max,suffix,string")
|
||||
8. a reversed string (format: "rev:xxx" or "revscr:xxx")
|
||||
9. a repeated string (format: "repeat:count,string")
|
||||
10. length of a string (format: "length:xxx" or "lengthscr:xxx")
|
||||
11. split of a string (format: "split:number,separators,flags,xxx")
|
||||
12. split of shell argmuents (format: "split_shell:number,xxx")
|
||||
13. a color (format: "color:xxx", see "Plugin API reference", function "color")
|
||||
14. a modifier (format: "modifier:name,data,string")
|
||||
15. an info (format: "info:name,arguments", arguments are optional)
|
||||
16. a base 16/32/64 encoded/decoded string (format: "base_encode:base,xxx" or "base_decode:base,xxx")
|
||||
17. current date/time (format: "date" or "date:format")
|
||||
18. an environment variable (format: "env:XXX")
|
||||
19. a ternary operator (format: "if:condition?value_if_true:value_if_false")
|
||||
20. result of an expression with parentheses and operators + - * / // % ** (format: "calc:xxx")
|
||||
21. a random integer number (format: "random:min,max")
|
||||
22. a translated string (format: "translate:xxx")
|
||||
23. define a user variable (format: "define:name,value")
|
||||
24. an option (format: "file.section.option")
|
||||
25. a local variable in buffer
|
||||
26. a hdata name/variable (the value is automatically converted to string), by default "window" and "buffer" point to current window/buffer.
|
||||
10. a reversed string (format: "rev:xxx" or "revscr:xxx")
|
||||
11. a repeated string (format: "repeat:count,string")
|
||||
12. length of a string (format: "length:xxx" or "lengthscr:xxx")
|
||||
13. split of a string (format: "split:number,separators,flags,xxx")
|
||||
14. split of shell argmuents (format: "split_shell:number,xxx")
|
||||
15. a color (format: "color:xxx", see "Plugin API reference", function "color")
|
||||
16. a modifier (format: "modifier:name,data,string")
|
||||
17. an info (format: "info:name,arguments", arguments are optional)
|
||||
18. a base 16/32/64 encoded/decoded string (format: "base_encode:base,xxx" or "base_decode:base,xxx")
|
||||
19. current date/time (format: "date" or "date:format")
|
||||
20. an environment variable (format: "env:XXX")
|
||||
21. a ternary operator (format: "if:condition?value_if_true:value_if_false")
|
||||
22. result of an expression with parentheses and operators + - * / // % ** (format: "calc:xxx")
|
||||
23. a random integer number (format: "random:min,max")
|
||||
24. a translated string (format: "translate:xxx")
|
||||
25. define a user variable (format: "define:name,value")
|
||||
26. an option (format: "file.section.option")
|
||||
27. a local variable in buffer
|
||||
28. a hdata name/variable (the value is automatically converted to string), by default "window" and "buffer" point to current window/buffer.
|
||||
Format for hdata can be one of following:
|
||||
hdata.var1.var2...: start with a hdata (pointer must be known), and ask variables one after one (other hdata can be followed)
|
||||
hdata[list].var1.var2...: start with a hdata using a list/pointer/pointer name, for example:
|
||||
@@ -1452,6 +1455,8 @@ Examples (simple strings):
|
||||
/eval -n ${window.buffer.full_name} ==> core.weechat
|
||||
/eval -n ${window.buffer.number} ==> 1
|
||||
/eval -n ${\t} ==> <tab>
|
||||
/eval -n ${lower:TEST} ==> test
|
||||
/eval -n ${upper:test} ==> TEST
|
||||
/eval -n ${hide:-,${relay.network.password}} ==> --------
|
||||
/eval -n ${cut:3,+,test} ==> tes+
|
||||
/eval -n ${cut:+3,+,test} ==> te+
|
||||
@@ -1497,7 +1502,7 @@ Examples (conditions):
|
||||
add|addreplace <name> <buffer>[,<buffer>...] <tags> <regex>
|
||||
rename <name> <new_name>
|
||||
recreate <name>
|
||||
del <name>|-all
|
||||
del <name>|-all [<name>...]
|
||||
|
||||
list: list all filters
|
||||
enable: enable filters (filters are enabled by default)
|
||||
@@ -1646,6 +1651,49 @@ list of actions:
|
||||
This command is used by key bindings or plugins.
|
||||
----
|
||||
|
||||
[[command_weechat_item]]
|
||||
* `+item+`: manage custom bar items
|
||||
|
||||
----
|
||||
/item list
|
||||
add|addreplace <name> "<conditions>" "<content>"
|
||||
rename <name> <new_name>
|
||||
refresh <name> [<name>...]
|
||||
recreate <name>
|
||||
del <name>|-all
|
||||
|
||||
list: list all custom bar items
|
||||
add: add a custom bar item
|
||||
addreplace: add or replace an existing custom bar item
|
||||
name: custom bar item name
|
||||
conditions: evaluated conditions to display the bar item (for example to display the bar item only in specific buffers)
|
||||
content: content (evaluated, see /help eval)
|
||||
rename: rename a custom bar item
|
||||
refresh: update content of item in all bars where the item is displayed; any item can be refreshed: default/plugin/custom bar items
|
||||
recreate: set input with the command used to edit the custom bar item
|
||||
del: delete a custom bar item
|
||||
-all: delete all custom bar items
|
||||
|
||||
Examples:
|
||||
add item with terminal size, displayed only in buffers with number = 1:
|
||||
/item add terminfo "${buffer.number} == 1" "term:${info:term_width}x${info:term_height}"
|
||||
add item with buffer info:
|
||||
/item add bufinfo "" "${buffer.number}:${buffer.name}${if:${buffer.zoomed}?(Z)}"
|
||||
add item with date/time using format "Dec 25, 12:34 +0100", refreshed every minute:
|
||||
/item add datetime "" "${date:%b %d, %H:%M %z}"
|
||||
/trigger add datetime_refresh timer "60000;60" "" "" "/item refresh datetime"
|
||||
add item with number of lines in buffer (displayed/total), refreshed each time a new line is displayed or if filtered lines have changed:
|
||||
/item add lines_count "" "${calc:${buffer.lines.lines_count}-${buffer.lines.lines_hidden}}/${buffer.lines.lines_count} lines"
|
||||
/trigger add lines_count_refresh_print print "" "" "" "/item refresh lines_count"
|
||||
/trigger add lines_count_refresh_signal signal "window_switch;buffer_switch;buffer_lines_hidden;filters_*" "" "" "/item refresh lines_count"
|
||||
force refresh of item "lines_count":
|
||||
/item refresh lines_count
|
||||
recreate item "lines_count" with different conditions or content:
|
||||
/item recreate lines_count
|
||||
delete item "lines_count":
|
||||
/item del lines_count
|
||||
----
|
||||
|
||||
[[command_weechat_key]]
|
||||
* `+key+`: キーの割り当てと割り当て解除
|
||||
|
||||
@@ -2846,7 +2894,7 @@ protocol.name: protocol and name to relay:
|
||||
- protocol "weechat" (name is not used)
|
||||
|
||||
The "irc" protocol allows any IRC client (including WeeChat itself) to connect on the port.
|
||||
The "weechat" protocol allows a remote interface to connect on the port, see the list here: https://weechat.org/about/interfaces
|
||||
The "weechat" protocol allows a remote interface to connect on the port, see the list here: https://weechat.org/about/interfaces/
|
||||
|
||||
Without argument, this command opens buffer with list of relay clients.
|
||||
|
||||
|
||||
@@ -62,4 +62,4 @@ include::includes/man.ja.adoc[tag=copyright]
|
||||
|
||||
== サポート / バグ報告
|
||||
|
||||
手助けを受けたりバグを報告するには: https://weechat.org/about/support
|
||||
手助けを受けたりバグを報告するには: https://weechat.org/about/support/
|
||||
|
||||
@@ -59,4 +59,4 @@ include::includes/man.ja.adoc[tag=copyright]
|
||||
|
||||
== サポート / バグ報告
|
||||
|
||||
手助けを受けたりバグを報告するには: https://weechat.org/about/support
|
||||
手助けを受けたりバグを報告するには: https://weechat.org/about/support/
|
||||
|
||||
+51
-46
@@ -16,8 +16,9 @@
|
||||
|
||||
このマニュアルは WeeChat チャットクライアントについての文書で、これは WeeChat の一部です。
|
||||
|
||||
この文書の最新版は以下のページにあります:
|
||||
https://weechat.org/doc
|
||||
// TRANSLATION MISSING
|
||||
Latest version of this document can be found on
|
||||
https://weechat.org/doc/[this page ^↗^,window=_blank].
|
||||
|
||||
|
||||
[[introduction]]
|
||||
@@ -37,8 +38,7 @@ WeeChat (Wee Enhanced Environment for Chat)
|
||||
[[repositories]]
|
||||
== リポジトリ
|
||||
|
||||
WeeChat リポジトリは GitHub organization の "weechat" にあります:
|
||||
https://github.com/weechat
|
||||
WeeChat リポジトリは GitHub organization の https://github.com/weechat[weechat ^↗^,window=_blank] にあります:
|
||||
|
||||
リポジトリのリスト:
|
||||
|
||||
@@ -48,8 +48,9 @@ weechat::
|
||||
scripts::
|
||||
weechat.org に投稿された _公式_ スクリプト
|
||||
|
||||
// TRANSLATION MISSING
|
||||
weechat.org::
|
||||
WeeChat ウェブサイトのソースコード: https://weechat.org/
|
||||
source of https://weechat.org/[WeeChat website ^↗^,window=_blank]
|
||||
|
||||
weercd::
|
||||
IRC テストサーバ
|
||||
@@ -450,6 +451,8 @@ WeeChat "core" は以下のディレクトリに配置されています:
|
||||
| test-core-util.cpp | テスト: ユーティリティ関数
|
||||
| gui/ | インターフェースの単体テストを収める最上位ディレクトリ
|
||||
// TRANSLATION MISSING
|
||||
| test-gui-bar-window.cpp | Tests: bar window functions.
|
||||
// TRANSLATION MISSING
|
||||
| test-gui-buffer.cpp | Tests: buffer functions.
|
||||
// TRANSLATION MISSING
|
||||
| test-gui-chat.cpp | Tests: chat functions.
|
||||
@@ -519,13 +522,13 @@ WeeChat "core" は以下のディレクトリに配置されています:
|
||||
| docgen.py | Python script to build auto-generated files in _includes/_ directory (see below).
|
||||
| XX/ | 言語コード XX (言語コード: en、fr、de、it、...) 用のディレクトリ
|
||||
| weechat.1.XX.adoc | man ページ (`man weechat`)
|
||||
| weechat_dev.XX.adoc | link:weechat_dev.ja.html[開発者リファレンス] (この文書)
|
||||
| weechat_faq.XX.adoc | link:weechat_faq.ja.html[FAQ]
|
||||
| weechat_plugin_api.XX.adoc | link:weechat_plugin_api.ja.html[プラグイン API リファレンス]
|
||||
| weechat_quickstart.XX.adoc | link:weechat_quickstart.ja.html[クイックスタートガイド]
|
||||
| weechat_relay_protocol.XX.adoc | link:weechat_relay_protocol.ja.html[リレープロトコル] (リモートインターフェース用)
|
||||
| weechat_scripting.XX.adoc | link:weechat_scripting.ja.html[スクリプト作成ガイド]
|
||||
| weechat_user.XX.adoc | link:weechat_user.ja.html[ユーザーズガイド]
|
||||
| weechat_dev.XX.adoc | link:weechat_dev.ja.html[開発者リファレンス ^↗^,window=_blank] (この文書)
|
||||
| weechat_faq.XX.adoc | link:weechat_faq.ja.html[FAQ ^↗^,window=_blank]
|
||||
| weechat_plugin_api.XX.adoc | link:weechat_plugin_api.ja.html[プラグイン API リファレンス ^↗^,window=_blank]
|
||||
| weechat_quickstart.XX.adoc | link:weechat_quickstart.ja.html[クイックスタートガイド ^↗^,window=_blank]
|
||||
| weechat_relay_protocol.XX.adoc | link:weechat_relay_protocol.ja.html[リレープロトコル ^↗^,window=_blank] (リモートインターフェース用)
|
||||
| weechat_scripting.XX.adoc | link:weechat_scripting.ja.html[スクリプト作成ガイド ^↗^,window=_blank]
|
||||
| weechat_user.XX.adoc | link:weechat_user.ja.html[ユーザーズガイド ^↗^,window=_blank]
|
||||
// TRANSLATION MISSING
|
||||
| includes/ | Files included in documentation.
|
||||
| autogen_api_completions.XX.adoc | Auto-generated file for Plugin API reference: completions (do *NEVER* update manually!).
|
||||
@@ -789,7 +792,7 @@ new_hook_fd = malloc (sizeof (*new_hook_fd));
|
||||
[[coding_python_style]]
|
||||
=== Python スタイル
|
||||
|
||||
https://www.python.org/dev/peps/pep-0008/ を参照
|
||||
https://www.python.org/dev/peps/pep-0008/[PEP 8 ^↗^,window=_blank] を参照
|
||||
|
||||
[[core_internals]]
|
||||
== コアの構造
|
||||
@@ -1173,7 +1176,8 @@ server->hook_timer_sasl = weechat_hook_timer (timeout * 1000,
|
||||
[[git_repository]]
|
||||
=== Git リポジトリ
|
||||
|
||||
Git リポジトリはこの URL にあります: https://github.com/weechat/weechat
|
||||
// TRANSLATION MISSING
|
||||
Git repository is on https://github.com/weechat/weechat[GitHub ^↗^,window=_blank].
|
||||
|
||||
バグや新機能のパッチは必ず master ブランチに対して適用できるものを作成し、GitHub の pull
|
||||
リクエストを使って提出することを推奨します。パッチは電子メールで送信することも可能です
|
||||
@@ -1193,8 +1197,8 @@ _component_ には以下から 1 つ選んで記入してください:
|
||||
// TRANSLATION MISSING
|
||||
| Component | Files | Description
|
||||
|
||||
| core |
|
||||
AUTHORS.adoc +
|
||||
| core
|
||||
| AUTHORS.adoc +
|
||||
ChangeLog.adoc +
|
||||
Contributing.adoc +
|
||||
.github/FUNDING.yml +
|
||||
@@ -1210,8 +1214,8 @@ _component_ には以下から 1 つ選んで記入してください:
|
||||
// TRANSLATION MISSING
|
||||
WeeChat core
|
||||
|
||||
| build |
|
||||
autogen.sh +
|
||||
| build
|
||||
| autogen.sh +
|
||||
CMakeLists.txt +
|
||||
cmake/* +
|
||||
configure.ac +
|
||||
@@ -1222,73 +1226,73 @@ _component_ には以下から 1 つ選んで記入してください:
|
||||
// TRANSLATION MISSING
|
||||
Build
|
||||
|
||||
| ci |
|
||||
.github/workflows/* |
|
||||
| ci
|
||||
| .github/workflows/* |
|
||||
// TRANSLATION MISSING
|
||||
Continuous integration
|
||||
|
||||
| debian |
|
||||
debian-devel/* +
|
||||
| debian
|
||||
| debian-devel/* +
|
||||
debian-stable/* |
|
||||
// TRANSLATION MISSING
|
||||
Debian packaging
|
||||
|
||||
| tests |
|
||||
tests/* |
|
||||
| tests
|
||||
| tests/* |
|
||||
// TRANSLATION MISSING
|
||||
Tests
|
||||
|
||||
| doc |
|
||||
doc/* |
|
||||
| doc
|
||||
| doc/* |
|
||||
// TRANSLATION MISSING
|
||||
General doc updates, for example build
|
||||
|
||||
| doc/man |
|
||||
doc/xx/weechat.1.xx.adoc +
|
||||
| doc/man
|
||||
| doc/xx/weechat.1.xx.adoc +
|
||||
doc/xx/weechat-headless.1.xx.adoc |
|
||||
// TRANSLATION MISSING
|
||||
Man pages
|
||||
|
||||
| doc/faq |
|
||||
doc/xx/weechat_faq.xx.adoc |
|
||||
| doc/faq
|
||||
| doc/xx/weechat_faq.xx.adoc |
|
||||
// TRANSLATION MISSING
|
||||
Frequently asked questions (FAQ)
|
||||
|
||||
| doc/quickstart |
|
||||
doc/xx/weechat_quickstart.xx.adoc |
|
||||
| doc/quickstart
|
||||
| doc/xx/weechat_quickstart.xx.adoc |
|
||||
// TRANSLATION MISSING
|
||||
Quickstart guide
|
||||
|
||||
| doc/user |
|
||||
doc/xx/weechat_user.xx.adoc |
|
||||
| doc/user
|
||||
| doc/xx/weechat_user.xx.adoc |
|
||||
// TRANSLATION MISSING
|
||||
User's guide
|
||||
|
||||
| doc/scripting |
|
||||
doc/xx/weechat_scripting.xx.adoc |
|
||||
| doc/scripting
|
||||
| doc/xx/weechat_scripting.xx.adoc |
|
||||
// TRANSLATION MISSING
|
||||
Scripting guide
|
||||
|
||||
| doc/api |
|
||||
doc/xx/weechat_plugin_api.xx.adoc |
|
||||
| doc/api
|
||||
| doc/xx/weechat_plugin_api.xx.adoc |
|
||||
// TRANSLATION MISSING
|
||||
Plugin API reference
|
||||
|
||||
| doc/relay |
|
||||
doc/xx/weechat_relay_protocol.xx.adoc |
|
||||
| doc/relay
|
||||
| doc/xx/weechat_relay_protocol.xx.adoc |
|
||||
// TRANSLATION MISSING
|
||||
Relay protocol
|
||||
|
||||
| doc/dev |
|
||||
doc/xx/weechat_dev.en.adoc |
|
||||
| doc/dev
|
||||
| doc/xx/weechat_dev.en.adoc |
|
||||
// TRANSLATION MISSING
|
||||
Developer's guide
|
||||
|
||||
| irc +
|
||||
python +
|
||||
relay +
|
||||
… |
|
||||
src/plugins/<name>/* |
|
||||
…
|
||||
| src/plugins/<name>/* |
|
||||
// TRANSLATION MISSING
|
||||
Plugin
|
||||
|
||||
@@ -1340,8 +1344,9 @@ $ make translations && make update-po
|
||||
|
||||
その後翻訳できるならば .po ファイルを編集します。
|
||||
|
||||
翻訳が完了したら、*必ず* _msgcheck.py_ (https://github.com/flashcode/msgcheck)
|
||||
スクリプトを使ってファイルの内容を確認してください:
|
||||
// TRANSLATION MISSING
|
||||
When done, you *have* to check your file with
|
||||
https://github.com/flashcode/msgcheck[msgcheck ^↗^,window=_blank]:
|
||||
|
||||
----
|
||||
$ msgcheck.py xx.po
|
||||
|
||||
+56
-32
@@ -37,7 +37,9 @@ WeeChat とは関係ありませんよ!)。
|
||||
|
||||
WeeChat は非常に軽く、革新的な機能を備えているからです。
|
||||
|
||||
WeeChat の機能に関するより詳しい情報: https://weechat.org/about/features
|
||||
// TRANSLATION MISSING
|
||||
More info on the WeeChat
|
||||
https://weechat.org/about/features/[features page ^↗^,window=_blank].
|
||||
|
||||
[[compilation_install]]
|
||||
== コンパイル / インストール
|
||||
@@ -45,16 +47,17 @@ WeeChat の機能に関するより詳しい情報: https://weechat.org/about/fe
|
||||
[[gui]]
|
||||
=== WeeChat には多くの GUI があると聞きました。コンパイル/利用方法を教えてください。
|
||||
|
||||
いくつかのリモート GUI が利用可能です、以下のリモートインターフェースに関するページを参照してください:
|
||||
https://weechat.org/about/interfaces
|
||||
// TRANSLATION MISSING
|
||||
Some remote GUIs are available, see the
|
||||
https://weechat.org/about/interfaces/[remote interfaces page ^↗^,window=_blank].
|
||||
|
||||
[[compile_git]]
|
||||
=== git リポジトリをクローンした後に WeeChat をコンパイルできません。
|
||||
|
||||
WeeChat をコンパイルするには link:weechat_user.ja.html#compile_with_cmake[CMake]
|
||||
WeeChat をコンパイルするには link:weechat_user.ja.html#compile_with_cmake[CMake ^↗^,window=_blank]
|
||||
を使うことが推奨されています。
|
||||
|
||||
link:weechat_user.ja.html#compile_with_autotools[autotools] を使って (CMake を使わずに)
|
||||
link:weechat_user.ja.html#compile_with_autotools[autotools ^↗^,window=_blank] を使って (CMake を使わずに)
|
||||
コンパイルする場合、最新の autoconf と automake を使ってください。
|
||||
|
||||
他には「開発パッケージ」をインストール方法があります。この場合、インストールするのに必要なパッケージの数が減ります。このパッケージは
|
||||
@@ -65,7 +68,7 @@ git をクローンする方法よりも不便であることに注意してく
|
||||
[[compile_macos]]
|
||||
=== どうすれば macOS に WeeChat をインストールできますか?
|
||||
|
||||
https://brew.sh/[Homebrew] を使うことをお勧めします、ヘルプを見るには:
|
||||
https://brew.sh/[Homebrew ^↗^,window=_blank] を使うことをお勧めします、ヘルプを見るには:
|
||||
|
||||
----
|
||||
brew info weechat
|
||||
@@ -81,9 +84,9 @@ brew install weechat
|
||||
=== WeeChat を起動しました。でも何をすればいいかわかりません。
|
||||
|
||||
ヘルプを見るには、`/help` と入力してください。コマンドに関するヘルプを見るには、`/help command`
|
||||
と入力してください。link:weechat_user.ja.html#key_bindings[キー]とlink:weechat_user.ja.html#commands_and_options[コマンド]は文書中で説明されています。
|
||||
と入力してください。link:weechat_user.ja.html#key_bindings[キー ^↗^,window=_blank]とlink:weechat_user.ja.html#commands_and_options[コマンド ^↗^,window=_blank]は文書中で説明されています。
|
||||
|
||||
新しいユーザはlink:weechat_quickstart.ja.html[クイックスタートガイド]を読むことをお勧めします
|
||||
新しいユーザはlink:weechat_quickstart.ja.html[クイックスタートガイド ^↗^,window=_blank]を読むことをお勧めします
|
||||
|
||||
[[display]]
|
||||
== 表示
|
||||
@@ -109,7 +112,7 @@ brew install weechat
|
||||
rxvt-unicode を推奨)
|
||||
** screen を使っている場合は、UTF-8 モードで起動されていることを確認
|
||||
(~/.screenrc に "`defutf8 on`" の記述があるかまたは `screen -U` のようにして起動)。
|
||||
* link:weechat_user.ja.html#option_weechat.look.eat_newline_glitch[_weechat.look.eat_newline_glitch_]
|
||||
* link:weechat_user.ja.html#option_weechat.look.eat_newline_glitch[_weechat.look.eat_newline_glitch_ ^↗^,window=_blank]
|
||||
オプションが off であることを確認してください (このオプションは表示上のバグを引き起こす可能性があります)
|
||||
|
||||
[NOTE]
|
||||
@@ -124,10 +127,11 @@ WeeChat は UTF-8 ロケールを推奨します。ISO
|
||||
で修正されているはずです (使用中のディストリビューションではまだ提供されていないかもしれません)
|
||||
|
||||
次の回避方法を使えば、修正済みの _wcwidth_ 関数を使う事が可能です:
|
||||
https://blog.nytsoi.net/2015/05/04/emoji-support-for-weechat
|
||||
https://blog.nytsoi.net/2015/05/04/emoji-support-for-weechat[https://blog.nytsoi.net/2015/05/04/emoji-support-for-weechat ^↗^,window=_blank].
|
||||
|
||||
より詳しい情報を得るにはバグ報告を参照してください:
|
||||
https://github.com/weechat/weechat/issues/79
|
||||
// TRANSLATION MISSING
|
||||
See this https://github.com/weechat/weechat/issues/79[bug report ^↗^,window=_blank]
|
||||
for more information.
|
||||
|
||||
[[bars_background]]
|
||||
=== タイトルやステータスバー等の背景色が行末ではなくテキストの最後で終わってしまいます。
|
||||
@@ -184,7 +188,7 @@ _ウィンドウ_
|
||||
[[buffers_list]]
|
||||
=== どうすれば左側にバッファリストを表示できますか。
|
||||
|
||||
WeeChat バージョン 1.8 以上の場合、link:weechat_user.ja.html#buflist_plugin[buflist]
|
||||
WeeChat バージョン 1.8 以上の場合、link:weechat_user.ja.html#buflist[buflist ^↗^,window=_blank]
|
||||
プラグインがロードされ、デフォルトで有効化されます。
|
||||
|
||||
バージョン 1.8 よりも古い WeeChat をお使いなら、以下の方法で _buffers.pl_ スクリプトをインストールしてください:
|
||||
@@ -253,8 +257,8 @@ like `237` for dark gray.
|
||||
The buflist plugin provides lot of options that you can customize, please read
|
||||
the help on each option.
|
||||
|
||||
There's also a wiki page with examples of advanced buflist configuration:
|
||||
https://github.com/weechat/weechat/wiki/buflist
|
||||
There's also a https://github.com/weechat/weechat/wiki/buflist[wiki page ^↗^,window=_blank]
|
||||
with examples of advanced buflist configuration.
|
||||
|
||||
[[customize_prefix]]
|
||||
=== どうすればチャットエリア内のニックネームの最大長さを短く、またはニックネーム整列機能を無効化できますか。
|
||||
@@ -295,7 +299,7 @@ https://github.com/weechat/weechat/wiki/buflist
|
||||
および __weechat.color.status_count_*__ オプション (カウンタ) を設定します。 +
|
||||
その他のホットリスト関連オプションは __weechat.look.hotlist_*__ オプションを使って変更します。
|
||||
|
||||
ホットリストに関する詳しい情報はlink:weechat_user.ja.html#screen_layout[ユーザーズガイド / 画面レイアウト]を参照してください
|
||||
ホットリストに関する詳しい情報はlink:weechat_user.ja.html#screen_layout[ユーザーズガイド / 画面レイアウト ^↗^,window=_blank]を参照してください
|
||||
|
||||
[[input_bar_size]]
|
||||
=== コマンドラインの行数を増やすにはどうすればいいですか。
|
||||
@@ -464,7 +468,7 @@ WeeChat バージョン 0.3.4 の場合、新しい色を追加するには `/co
|
||||
WeeChat バージョン 0.3.5 以上の場合、任意の色番号を利用できます (オプション:
|
||||
色の別名を追加するには `/color` コマンドを使ってください)。
|
||||
|
||||
色管理に関するより詳しい情報はlink:weechat_user.ja.html#colors[ユーザーズガイド / 色]を参照してください
|
||||
色管理に関するより詳しい情報はlink:weechat_user.ja.html#colors[ユーザーズガイド / 色 ^↗^,window=_blank]を参照してください
|
||||
|
||||
[[search_text]]
|
||||
=== どうすればバッファ内の文字列を検索できますか (irssi の /lastlog の様に)。
|
||||
@@ -472,7 +476,7 @@ WeeChat バージョン 0.3.5 以上の場合、任意の色番号を利用で
|
||||
デフォルトのキーは kbd:[Ctrl+r] です (コマンドは: `+/input search_text_here+`)。
|
||||
ハイライト部分へのジャンプは: kbd:[Alt+p] / kbd:[Alt+n]
|
||||
|
||||
この機能に関するより詳しい情報はlink:weechat_user.ja.html#key_bindings[ユーザーズガイド / デフォルトのキー割り当て]を参照してください
|
||||
この機能に関するより詳しい情報はlink:weechat_user.ja.html#key_bindings[ユーザーズガイド / デフォルトのキー割り当て ^↗^,window=_blank]を参照してください
|
||||
|
||||
[[terminal_focus]]
|
||||
=== どうすれば端末にフォーカスが合った時や外れた時にコマンドを実行できますか。
|
||||
@@ -648,7 +652,7 @@ macOS のターミナル.app を使っている場合、設定メニューのキ
|
||||
/key bind meta-q /buffer *11
|
||||
----
|
||||
|
||||
デフォルトキー割り当てのリストはlink:weechat_user.ja.html#key_bindings[ユーザーズガイド / デフォルトのキー割り当て]を参照してください
|
||||
デフォルトキー割り当てのリストはlink:weechat_user.ja.html#key_bindings[ユーザーズガイド / デフォルトのキー割り当て ^↗^,window=_blank]を参照してください
|
||||
|
||||
番号 100 以上のバッファにジャンプするには、以下のトリガを定義してください。こうすることでコマンド
|
||||
`/123` でバッファ #123 にジャンプできるようになります:
|
||||
@@ -842,17 +846,33 @@ join and part in the "autojoin" server option.
|
||||
For all servers:
|
||||
|
||||
----
|
||||
/set irc.server_default.autojoin_record on
|
||||
/set irc.server_default.autojoin_dynamic on
|
||||
----
|
||||
|
||||
// TRANSLATION MISSING
|
||||
For a single server:
|
||||
|
||||
----
|
||||
/set irc.server.libera.autojoin_record on
|
||||
/set irc.server.libera.autojoin_dynamic on
|
||||
----
|
||||
|
||||
`/set` コマンドを使って、自動参加チャンネルのリストを編集してください。"libera"
|
||||
// TRANSLATION MISSING
|
||||
With WeeChat ≥ 3.5, you can also add the current channel in the "autojoin"
|
||||
server option using the `/autojoin` command:
|
||||
|
||||
----
|
||||
/autojoin add
|
||||
----
|
||||
|
||||
// TRANSLATION MISSING
|
||||
Or another channel:
|
||||
|
||||
----
|
||||
/autojoin add #test
|
||||
----
|
||||
|
||||
// TRANSLATION MISSING
|
||||
With WeeChat ≤ 3.4, `/set` コマンドを使って、自動参加チャンネルのリストを編集してください。"libera"
|
||||
サーバに対してこれを実行するには以下のようにします:
|
||||
|
||||
----
|
||||
@@ -870,7 +890,8 @@ kbd:[Tab] キーを使うことで、オプションの名前と値を補完で
|
||||
/fset autojoin
|
||||
----
|
||||
|
||||
専用のスクリプトを使うこともできます:
|
||||
// TRANSLATION MISSING
|
||||
With WeeChat ≤ 3.4, 専用のスクリプトを使うこともできます:
|
||||
|
||||
----
|
||||
/script search autojoin
|
||||
@@ -910,7 +931,7 @@ WeeChat
|
||||
|
||||
[NOTE]
|
||||
ヘルプを見るには `/help filter`、`+/help irc.look.smart_filter+`、link:weechat_user.ja.html#irc_smart_filter_join_part_quit[ユーザーズガイド
|
||||
/ 参加/退出/終了メッセージに対するスマートフィルタ] を使ってください。
|
||||
/ 参加/退出/終了メッセージに対するスマートフィルタ ^↗^,window=_blank] を使ってください。
|
||||
|
||||
[[filter_irc_join_channel_messages]]
|
||||
=== どうすれば IRC チャンネルに参加した際に表示される一部のメッセージをフィルタできますか。
|
||||
@@ -1007,7 +1028,7 @@ _launcher.pl_ の場合、コマンドの設定が必要です:
|
||||
[[disable_highlights_for_specific_nicks]]
|
||||
=== 特定のニックネームのみハイライトを無効化する方法を教えてください。
|
||||
|
||||
WeeChat バージョン 0.3.4 以上の場合、link:weechat_user.en.html#max_hotlist_level_nicks[hotlist_max_level_nicks_add]
|
||||
WeeChat バージョン 0.3.4 以上の場合、link:weechat_user.en.html#max_hotlist_level_nicks[hotlist_max_level_nicks_add ^↗^,window=_blank]
|
||||
バッファプロパティを使うことで、ニックネーム単位、バッファ単位、バッファグループ単位
|
||||
(IRC サーバ単位) でホットリストレベルの最大値を設定できます。
|
||||
|
||||
@@ -1214,7 +1235,7 @@ IRC の退出および終了メッセージを無効化します:
|
||||
パスフレーズを定義してパスワードなどの保護したいデータの使用時は常にセキュアデータを使います:
|
||||
`/help secure` およびセキュアデータを使用したいオプションの `/help` を参照してください
|
||||
(セキュアデータを使うことが可能なオプションのヘルプにはこの点が明記されています)。
|
||||
link:weechat_user.ja.html#secured_data[ユーザーズガイド / 暗号化データ] を参照してください。
|
||||
link:weechat_user.ja.html#secured_data[ユーザーズガイド / 暗号化データ ^↗^,window=_blank] を参照してください。
|
||||
|
||||
例:
|
||||
|
||||
@@ -1237,7 +1258,7 @@ contains your passwords ciphered with your passphrase.
|
||||
Some other files may contain sensitive info like passwords (if they are not
|
||||
stored in _sec.conf_ with the `/secure` command).
|
||||
|
||||
設定ファイルに関する詳しい情報はlink:weechat_user.ja.html#files_and_directories[ユーザーズガイド / ファイルとディレクトリ]を参照してください。
|
||||
設定ファイルに関する詳しい情報はlink:weechat_user.ja.html#files_and_directories[ユーザーズガイド / ファイルとディレクトリ ^↗^,window=_blank]を参照してください。
|
||||
|
||||
[[development]]
|
||||
== 開発
|
||||
@@ -1245,7 +1266,8 @@ stored in _sec.conf_ with the `/secure` command).
|
||||
[[bug_task_patch]]
|
||||
=== どのようにバグ報告、新機能のリクエスト、パッチ送信すればよいですか。
|
||||
|
||||
以下のページを参照してください: https://weechat.org/about/support
|
||||
// TRANSLATION MISSING
|
||||
See https://weechat.org/about/support/[this page ^↗^,window=_blank].
|
||||
|
||||
[[gdb_error_threads]]
|
||||
=== gdb で WeeChat を実行する場合、スレッドに関するエラーが発生します。
|
||||
@@ -1282,11 +1304,13 @@ OS で WeeChat をテストすることを歓迎します。
|
||||
|
||||
多くの課題があります (テスト、コード、ドキュメント作成、...)。
|
||||
|
||||
IRC かメールで連絡を取り、サポートページを確認してください:
|
||||
https://weechat.org/about/support
|
||||
// TRANSLATION MISSING
|
||||
Please contact us via IRC or mail, look at
|
||||
https://weechat.org/about/support/[support page ^↗^,window=_blank].
|
||||
|
||||
[[donate]]
|
||||
=== WeeChat 開発者にお金か何かを贈りたいのですが。
|
||||
|
||||
開発補助のためお金を贈ることができます。詳しいことは
|
||||
https://weechat.org/donate に載っています。
|
||||
// TRANSLATION MISSING
|
||||
You can give us money to help development.
|
||||
Details on https://weechat.org/donate/[donation page ^↗^,window=_blank].
|
||||
|
||||
+1077
-1055
File diff suppressed because it is too large
Load Diff
@@ -200,10 +200,17 @@ _command_ オプションに複数のコマンドを含める場合は `;` (セ
|
||||
/set irc.server.libera.autojoin "#channel1,#channel2"
|
||||
----
|
||||
|
||||
[TIP]
|
||||
オプションの名前と値を補完するには kbd:[Tab] キーを使います。さらに
|
||||
kbd:[Shift+Tab] キーを使えば部分的に補完することも可能です
|
||||
(これは オプション名などの長い単語を補完する際に役立ちます)。
|
||||
// TRANSLATION MISSING
|
||||
The `/autojoin` command lets you configure the _autojoin_ option easily
|
||||
(see `/help autojoin`).
|
||||
|
||||
// TRANSLATION MISSING
|
||||
You can also configure WeeChat to automatically update the _autojoin_ option
|
||||
when you join or leave channels:
|
||||
|
||||
----
|
||||
/set irc.server_default.autojoin_dynamic on
|
||||
----
|
||||
|
||||
サーバオプションの代わりにデフォルトの値を使用する、例えばデフォルトのニックネーム
|
||||
(irc.server_default.nicks) を使用する場合:
|
||||
@@ -219,6 +226,11 @@ kbd:[Shift+Tab] キーを使えば部分的に補完することも可能です
|
||||
/set irc.server.libera.xxx value
|
||||
----
|
||||
|
||||
[TIP]
|
||||
オプションの名前と値を補完するには kbd:[Tab] キーを使います。さらに
|
||||
kbd:[Shift+Tab] キーを使えば部分的に補完することも可能です
|
||||
(これは オプション名などの長い単語を補完する際に役立ちます)。
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[[connect_to_irc_server]]
|
||||
== Connect to IRC server
|
||||
@@ -376,13 +388,16 @@ WeeChat では多くの外部スクリプト (貢献者の作った)
|
||||
|
||||
より詳しい情報を参照するには `/help script` を使ってください。
|
||||
|
||||
スクリプトの一覧を参照するには WeeChat から `/script` を実行するか、以下の URL にアクセスしてください:
|
||||
https://weechat.org/scripts
|
||||
// TRANSLATION MISSING
|
||||
A list of scripts is available in WeeChat with `/script` or on
|
||||
https://weechat.org/scripts/[this page ^↗^,window=_blank].
|
||||
|
||||
[[more_doc]]
|
||||
== 詳しいドキュメント情報
|
||||
|
||||
FAQ やその他の質問に関するドキュメントはこちらで参照できます:
|
||||
https://weechat.org/doc
|
||||
// TRANSLATION MISSING
|
||||
You can now use WeeChat and read
|
||||
https://weechat.org/doc/[FAQ/documentation ^↗^,window=_blank]
|
||||
for any other questions.
|
||||
|
||||
WeeChat をお楽しみください!
|
||||
|
||||
@@ -142,8 +142,8 @@ Arguments:
|
||||
if compression is enabled, messages from _relay_ to client are compressed
|
||||
to save bandwidth; allowed values are:
|
||||
*** _off_: no compression (default if option is not given)
|
||||
*** _zlib_: compress with https://zlib.net/[zlib] _(WeeChat ≥ 0.3.7)_
|
||||
*** _zstd_: compress with https://facebook.github.io/zstd/[Zstandard]: better
|
||||
*** _zlib_: compress with https://zlib.net/[zlib ^↗^,window=_blank] _(WeeChat ≥ 0.3.7)_
|
||||
*** _zstd_: compress with https://facebook.github.io/zstd/[Zstandard ^↗^,window=_blank]: better
|
||||
compression and much faster than _zlib_ for both compression and decompression
|
||||
_(WeeChat ≥ 3.5)_
|
||||
|
||||
@@ -185,8 +185,8 @@ WeeChat replies with a hashtable containing the following keys and values:
|
||||
in the password hash algorithm)
|
||||
* _compression_: compression type:
|
||||
** _off_: messages are not compressed
|
||||
** _zlib_: messages are compressed with https://zlib.net/[zlib]
|
||||
** _zstd_: messages are compressed with https://facebook.github.io/zstd/[Zstandard]
|
||||
** _zlib_: messages are compressed with https://zlib.net/[zlib ^↗^,window=_blank]
|
||||
** _zstd_: messages are compressed with https://facebook.github.io/zstd/[Zstandard ^↗^,window=_blank]
|
||||
|
||||
[TIP]
|
||||
With WeeChat ≤ 2.8, the command _handshake_ is not implemented, WeeChat silently
|
||||
@@ -289,7 +289,7 @@ htb: {
|
||||
=== init
|
||||
|
||||
// TRANSLATION MISSING
|
||||
_Updated in versions 2.4, 2.8, 2.9._
|
||||
_Updated in versions 2.4, 2.8, 2.9, 3.5._
|
||||
|
||||
// TRANSLATION MISSING
|
||||
Authenticate with _relay_.
|
||||
@@ -1411,8 +1411,8 @@ quit
|
||||
(このフィールドを含む)
|
||||
* _compression_ (バイト型): フラグ:
|
||||
** _0x00_: これ以降のデータは圧縮されていません
|
||||
** _0x01_: これ以降のデータは https://zlib.net/[zlib] で圧縮されています
|
||||
** _0x02_: これ以降のデータは https://facebook.github.io/zstd/[Zstandard] で圧縮されています
|
||||
** _0x01_: これ以降のデータは https://zlib.net/[zlib ^↗^,window=_blank] で圧縮されています
|
||||
** _0x02_: これ以降のデータは https://facebook.github.io/zstd/[Zstandard ^↗^,window=_blank] で圧縮されています
|
||||
* _id_ (文字列型、4 バイト + 内容): クライアントが送信した識別子 (コマンド名の前につけられる);
|
||||
コマンドに識別子が含まれない場合は空文字列でも可
|
||||
(内容を含まない長さゼロの文字列)
|
||||
@@ -1424,7 +1424,8 @@ quit
|
||||
|
||||
// TRANSLATION MISSING
|
||||
If flag _compression_ is equal to 0x01 or 0x02, then *all* data after is compressed
|
||||
with https://zlib.net/[zlib] or https://facebook.github.io/zstd/[Zstandard],
|
||||
with https://zlib.net/[zlib ^↗^,window=_blank] or
|
||||
https://facebook.github.io/zstd/[Zstandard ^↗^,window=_blank],
|
||||
and therefore must be uncompressed before being processed.
|
||||
|
||||
[[message_identifier]]
|
||||
@@ -1440,68 +1441,68 @@ WeeChat の予約識別子:
|
||||
|
||||
[width="100%",cols="5m,5,3,4,7",options="header"]
|
||||
|===
|
||||
| 識別子 | _sync_ で受信 | 送信されるデータ |
|
||||
説明 | 推奨するクライアントの挙動
|
||||
| 識別子 | _sync_ で受信 | 送信されるデータ
|
||||
| 説明 | 推奨するクライアントの挙動
|
||||
|
||||
| _buffer_opened | buffers / buffer | hdata: buffer |
|
||||
バッファのオープン | バッファを開く
|
||||
| _buffer_opened | buffers / buffer | hdata: buffer
|
||||
| バッファのオープン | バッファを開く
|
||||
|
||||
| _buffer_type_changed | buffers / buffer | hdata: buffer |
|
||||
バッファの種類変更 | バッファの種類を変更
|
||||
| _buffer_type_changed | buffers / buffer | hdata: buffer
|
||||
| バッファの種類変更 | バッファの種類を変更
|
||||
|
||||
| _buffer_moved | buffers / buffer | hdata: buffer |
|
||||
バッファの移動 | バッファを移動
|
||||
| _buffer_moved | buffers / buffer | hdata: buffer
|
||||
| バッファの移動 | バッファを移動
|
||||
|
||||
| _buffer_merged | buffers / buffer | hdata: buffer |
|
||||
バッファのマージ | バッファをマージ
|
||||
| _buffer_merged | buffers / buffer | hdata: buffer
|
||||
| バッファのマージ | バッファをマージ
|
||||
|
||||
| _buffer_unmerged | buffers / buffer | hdata: buffer |
|
||||
バッファのアンマージ | バッファをアンマージ
|
||||
| _buffer_unmerged | buffers / buffer | hdata: buffer
|
||||
| バッファのアンマージ | バッファをアンマージ
|
||||
|
||||
| _buffer_hidden | buffers / buffer | hdata: buffer |
|
||||
バッファを隠す | バッファを隠す
|
||||
| _buffer_hidden | buffers / buffer | hdata: buffer
|
||||
| バッファを隠す | バッファを隠す
|
||||
|
||||
| _buffer_unhidden | buffers / buffer | hdata: buffer |
|
||||
バッファを隠すことを止める | バッファを隠すことを止める
|
||||
| _buffer_unhidden | buffers / buffer | hdata: buffer
|
||||
| バッファを隠すことを止める | バッファを隠すことを止める
|
||||
|
||||
| _buffer_renamed | buffers / buffer | hdata: buffer |
|
||||
バッファのリネーム | バッファをリネーム
|
||||
| _buffer_renamed | buffers / buffer | hdata: buffer
|
||||
| バッファのリネーム | バッファをリネーム
|
||||
|
||||
| _buffer_title_changed | buffers / buffer | hdata: buffer |
|
||||
バッファのタイトル変更 | バッファのタイトルを変更
|
||||
| _buffer_title_changed | buffers / buffer | hdata: buffer
|
||||
| バッファのタイトル変更 | バッファのタイトルを変更
|
||||
|
||||
| _buffer_localvar_added | buffers / buffer | hdata: buffer |
|
||||
ローカル変数の追加 | バッファに対するローカル変数を追加
|
||||
| _buffer_localvar_added | buffers / buffer | hdata: buffer
|
||||
| ローカル変数の追加 | バッファに対するローカル変数を追加
|
||||
|
||||
| _buffer_localvar_changed | buffers / buffer | hdata: buffer |
|
||||
ローカル変数の変更 | バッファに対するローカル変数を変更
|
||||
| _buffer_localvar_changed | buffers / buffer | hdata: buffer
|
||||
| ローカル変数の変更 | バッファに対するローカル変数を変更
|
||||
|
||||
| _buffer_localvar_removed | buffers / buffer | hdata: buffer |
|
||||
ローカル変数を削除 | バッファからローカル変数を削除
|
||||
| _buffer_localvar_removed | buffers / buffer | hdata: buffer
|
||||
| ローカル変数を削除 | バッファからローカル変数を削除
|
||||
|
||||
| _buffer_closing | buffers / buffer | hdata: buffer |
|
||||
バッファのクローズ | バッファを閉じる
|
||||
| _buffer_closing | buffers / buffer | hdata: buffer
|
||||
| バッファのクローズ | バッファを閉じる
|
||||
|
||||
| _buffer_cleared | buffer | hdata: buffer |
|
||||
バッファのクリア | バッファをクリア
|
||||
| _buffer_cleared | buffer | hdata: buffer
|
||||
| バッファのクリア | バッファをクリア
|
||||
|
||||
| _buffer_line_added | buffer | hdata: line |
|
||||
バッファへの行追加 | バッファに行を表示
|
||||
| _buffer_line_added | buffer | hdata: line
|
||||
| バッファへの行追加 | バッファに行を表示
|
||||
|
||||
| _nicklist | nicklist | hdata: nicklist_item |
|
||||
バッファのニックネームリスト | ニックネームリストを置換
|
||||
| _nicklist | nicklist | hdata: nicklist_item
|
||||
| バッファのニックネームリスト | ニックネームリストを置換
|
||||
|
||||
| _nicklist_diff | nicklist | hdata: nicklist_item |
|
||||
バッファに対するニックネームの差分 | ニックネームリストを更新
|
||||
| _nicklist_diff | nicklist | hdata: nicklist_item
|
||||
| バッファに対するニックネームの差分 | ニックネームリストを更新
|
||||
|
||||
| _pong | (常に) | string: ping arguments |
|
||||
"ping" に対する応答 | 応答時間の測定
|
||||
| _pong | (常に) | string: ping arguments
|
||||
| "ping" に対する応答 | 応答時間の測定
|
||||
|
||||
| _upgrade | upgrade | (空) |
|
||||
WeeChat のアップグレード中 | WeeChat との同期を中止 (または切断)
|
||||
| _upgrade | upgrade | (空)
|
||||
| WeeChat のアップグレード中 | WeeChat との同期を中止 (または切断)
|
||||
|
||||
| _upgrade_ended | upgrade | (空) |
|
||||
WeeChat のアップグレード終了 | WeeChat との同期および再同期
|
||||
| _upgrade_ended | upgrade | (空)
|
||||
| WeeChat のアップグレード終了 | WeeChat との同期および再同期
|
||||
|===
|
||||
|
||||
[[message_buffer_opened]]
|
||||
|
||||
+123
-120
@@ -17,8 +17,9 @@
|
||||
|
||||
このマニュアルは WeeChat チャットクライアントについて説明しており、WeeChat の一部です。
|
||||
|
||||
このマニュアルの最新版は以下のページを参照してください:
|
||||
https://weechat.org/doc
|
||||
// TRANSLATION MISSING
|
||||
Latest version of this document can be found on
|
||||
https://weechat.org/doc/[this page ^↗^,window=_blank].
|
||||
|
||||
|
||||
[[introduction]]
|
||||
@@ -66,7 +67,7 @@ WeeChat がクラッシュするため、スクリプトで fork したりスレ
|
||||
されています。これが必要な場合には専用 API 関数を使ってください。 +
|
||||
どうしてもバックグラウンド実行を避けられない場合には `+hook_process+`
|
||||
関数を使ってください。<<hook_process,バックグラウンドプロセスの実行>>の例および
|
||||
link:weechat_plugin_api.ja.html#_hook_process[WeeChat プラグイン API リファレンス]内の
|
||||
link:weechat_plugin_api.ja.html#_hook_process[WeeChat プラグイン API リファレンス ^↗^,window=_blank]内の
|
||||
`+hook_process+` 関数の文書を参照してください。
|
||||
|
||||
[[languages_specificities]]
|
||||
@@ -81,7 +82,7 @@ link:weechat_plugin_api.ja.html#_hook_process[WeeChat プラグイン API リフ
|
||||
|
||||
WeeChat defines a `weechat` module which must be imported with `import weechat`. +
|
||||
A Python stub for WeeChat API is available in the repository:
|
||||
https://raw.githubusercontent.com/weechat/weechat/master/src/plugins/python/weechat.pyi[weechat.pyi].
|
||||
https://raw.githubusercontent.com/weechat/weechat/master/src/plugins/python/weechat.pyi[weechat.pyi ^↗^,window=_blank].
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[[python_functions]]
|
||||
@@ -108,38 +109,38 @@ receive a string of type `str` or `bytes` (this list is not exhaustive):
|
||||
|===
|
||||
| API function | Arguments | Examples | Description
|
||||
|
||||
| hook_modifier |
|
||||
irc_in_yyy |
|
||||
pass:[irc_in_privmsg] +
|
||||
pass:[irc_in_notice] |
|
||||
A message received in IRC plugin, before it is decoded to UTF-8 (used
|
||||
| hook_modifier
|
||||
| irc_in_yyy
|
||||
| pass:[irc_in_privmsg] +
|
||||
pass:[irc_in_notice]
|
||||
| A message received in IRC plugin, before it is decoded to UTF-8 (used
|
||||
internally). +
|
||||
+
|
||||
It is recommended to use modifier `+irc_in2_yyy+` instead, the string received
|
||||
is always UTF-8 valid. +
|
||||
See function `+hook_modifier+` in the
|
||||
link:weechat_plugin_api.ja.html#_hook_modifier[WeeChat plugin API reference].
|
||||
link:weechat_plugin_api.ja.html#_hook_modifier[WeeChat plugin API reference ^↗^,window=_blank].
|
||||
|
||||
| hook_signal |
|
||||
xxx,irc_out_yyy +
|
||||
xxx,irc_outtags_yyy |
|
||||
pass:[*,irc_out_privmsg] +
|
||||
| hook_signal
|
||||
| xxx,irc_out_yyy +
|
||||
xxx,irc_outtags_yyy
|
||||
| pass:[*,irc_out_privmsg] +
|
||||
pass:[*,irc_out_notice] +
|
||||
pass:[*,irc_outtags_privmsg] +
|
||||
pass:[*,irc_outtags_notice] |
|
||||
A message sent by IRC plugin, after it is encoded to the `encode` charset
|
||||
pass:[*,irc_outtags_notice]
|
||||
| A message sent by IRC plugin, after it is encoded to the `encode` charset
|
||||
defined by the user (if different from the default `UTF-8`). +
|
||||
+
|
||||
It is recommended to use signal `+xxx,irc_out1_yyy+` instead, the string received
|
||||
is always UTF-8 valid. +
|
||||
See function `+hook_signal+` in the
|
||||
link:weechat_plugin_api.ja.html#_hook_signal[WeeChat plugin API reference].
|
||||
link:weechat_plugin_api.ja.html#_hook_signal[WeeChat plugin API reference ^↗^,window=_blank].
|
||||
|
||||
| hook_process +
|
||||
hook_process_hashtable |
|
||||
- |
|
||||
- |
|
||||
Output of the command, sent to the callback, can contain invalid UTF-8 data.
|
||||
hook_process_hashtable
|
||||
| -
|
||||
| -
|
||||
| Output of the command, sent to the callback, can contain invalid UTF-8 data.
|
||||
|
||||
|===
|
||||
|
||||
@@ -396,7 +397,7 @@ $ ln -s ../script.py
|
||||
|
||||
スクリプト API は C 言語プラグイン API とほぼ同じです。API
|
||||
に含まれる各関数の詳細 (プロトタイプ、引数、戻り値、例) については
|
||||
link:weechat_plugin_api.ja.html[WeeChat プラグイン API リファレンス]を参照してください。
|
||||
link:weechat_plugin_api.ja.html[WeeChat プラグイン API リファレンス ^↗^,window=_blank]を参照してください。
|
||||
|
||||
_プラグイン_ と _スクリプト_ の違いを理解することは重要です:
|
||||
_プラグイン_ とはコンパイル済みバイナリファイルで `/plugin` コマンドを使ってロードします、これに対して
|
||||
@@ -565,7 +566,7 @@ weechat_hook_timer(1000, 0, 1, $timer_cb, 'test');
|
||||
== スクリプト API
|
||||
|
||||
API に含まれる関数の詳しい情報は
|
||||
link:weechat_plugin_api.ja.html[WeeChat プラグイン API リファレンス]を参照してください。
|
||||
link:weechat_plugin_api.ja.html[WeeChat プラグイン API リファレンス ^↗^,window=_blank]を参照してください。
|
||||
|
||||
[[script_api_functions]]
|
||||
=== 関数
|
||||
@@ -576,14 +577,14 @@ link:weechat_plugin_api.ja.html[WeeChat プラグイン API リファレンス]
|
||||
|===
|
||||
| カテゴリ | 関数
|
||||
|
||||
| 一般 |
|
||||
register
|
||||
| 一般
|
||||
| register
|
||||
|
||||
| プラグイン |
|
||||
plugin_get_name
|
||||
| プラグイン
|
||||
| plugin_get_name
|
||||
|
||||
| 設定 |
|
||||
charset_set +
|
||||
| 設定
|
||||
| charset_set +
|
||||
iconv_to_internal +
|
||||
iconv_from_internal +
|
||||
gettext +
|
||||
@@ -602,13 +603,13 @@ link:weechat_plugin_api.ja.html[WeeChat プラグイン API リファレンス]
|
||||
string_eval_expression +
|
||||
string_eval_path_home
|
||||
|
||||
| ディレクトリ操作 |
|
||||
mkdir_home +
|
||||
| ディレクトリ操作
|
||||
| mkdir_home +
|
||||
mkdir +
|
||||
mkdir_parents
|
||||
|
||||
| ソート済みリスト |
|
||||
list_new +
|
||||
| ソート済みリスト
|
||||
| list_new +
|
||||
list_add +
|
||||
list_search +
|
||||
list_search_pos +
|
||||
@@ -624,8 +625,8 @@ link:weechat_plugin_api.ja.html[WeeChat プラグイン API リファレンス]
|
||||
list_remove_all +
|
||||
list_free
|
||||
|
||||
| 設定ファイル |
|
||||
config_new +
|
||||
| 設定ファイル
|
||||
| config_new +
|
||||
config_new_section +
|
||||
config_search_section +
|
||||
config_new_option +
|
||||
@@ -662,12 +663,12 @@ link:weechat_plugin_api.ja.html[WeeChat プラグイン API リファレンス]
|
||||
config_set_desc_plugin +
|
||||
config_unset_plugin
|
||||
|
||||
| キー割り当て |
|
||||
key_bind +
|
||||
| キー割り当て
|
||||
| key_bind +
|
||||
key_unbind
|
||||
|
||||
| 表示 |
|
||||
prefix +
|
||||
| 表示
|
||||
| prefix +
|
||||
color +
|
||||
print (python では prnt) +
|
||||
print_date_tags (python では prnt_date_tags) +
|
||||
@@ -675,8 +676,8 @@ link:weechat_plugin_api.ja.html[WeeChat プラグイン API リファレンス]
|
||||
print_y_date_tags (python では prnt_y_date_tags) +
|
||||
log_print
|
||||
|
||||
| フック |
|
||||
hook_command +
|
||||
| フック
|
||||
| hook_command +
|
||||
hook_command_run +
|
||||
hook_timer +
|
||||
hook_fd +
|
||||
@@ -701,8 +702,8 @@ link:weechat_plugin_api.ja.html[WeeChat プラグイン API リファレンス]
|
||||
unhook +
|
||||
unhook_all
|
||||
|
||||
| バッファ |
|
||||
buffer_new +
|
||||
| バッファ
|
||||
| buffer_new +
|
||||
buffer_new_props +
|
||||
current_buffer +
|
||||
buffer_search +
|
||||
@@ -718,16 +719,16 @@ link:weechat_plugin_api.ja.html[WeeChat プラグイン API リファレンス]
|
||||
buffer_string_replace_local_var +
|
||||
buffer_match_list
|
||||
|
||||
| ウィンドウ |
|
||||
current_window +
|
||||
| ウィンドウ
|
||||
| current_window +
|
||||
window_search_with_buffer +
|
||||
window_get_integer +
|
||||
window_get_string +
|
||||
window_get_pointer +
|
||||
window_set_title
|
||||
|
||||
| ニックネームリスト |
|
||||
nicklist_add_group +
|
||||
| ニックネームリスト
|
||||
| nicklist_add_group +
|
||||
nicklist_search_group +
|
||||
nicklist_add_nick +
|
||||
nicklist_search_nick +
|
||||
@@ -743,8 +744,8 @@ link:weechat_plugin_api.ja.html[WeeChat プラグイン API リファレンス]
|
||||
nicklist_nick_get_pointer +
|
||||
nicklist_nick_set
|
||||
|
||||
| バー |
|
||||
bar_item_search +
|
||||
| バー
|
||||
| bar_item_search +
|
||||
bar_item_new +
|
||||
bar_item_update +
|
||||
bar_item_remove +
|
||||
@@ -754,24 +755,24 @@ link:weechat_plugin_api.ja.html[WeeChat プラグイン API リファレンス]
|
||||
bar_update +
|
||||
bar_remove
|
||||
|
||||
| コマンド |
|
||||
command +
|
||||
| コマンド
|
||||
| command +
|
||||
command_options
|
||||
|
||||
// TRANSLATION MISSING
|
||||
| completion |
|
||||
completion_new +
|
||||
| completion
|
||||
| completion_new +
|
||||
completion_search +
|
||||
completion_get_string +
|
||||
completion_list_add +
|
||||
completion_free
|
||||
|
||||
| インフォ |
|
||||
info_get +
|
||||
| インフォ
|
||||
| info_get +
|
||||
info_get_hashtable
|
||||
|
||||
| インフォリスト |
|
||||
infolist_new +
|
||||
| インフォリスト
|
||||
| infolist_new +
|
||||
infolist_new_item +
|
||||
infolist_new_var_integer +
|
||||
infolist_new_var_string +
|
||||
@@ -789,8 +790,8 @@ link:weechat_plugin_api.ja.html[WeeChat プラグイン API リファレンス]
|
||||
infolist_time +
|
||||
infolist_free
|
||||
|
||||
| hdata |
|
||||
hdata_get +
|
||||
| hdata
|
||||
| hdata_get +
|
||||
hdata_get_var_offset +
|
||||
hdata_get_var_type_string +
|
||||
hdata_get_var_array_size +
|
||||
@@ -811,8 +812,8 @@ link:weechat_plugin_api.ja.html[WeeChat プラグイン API リファレンス]
|
||||
hdata_update +
|
||||
hdata_get_string
|
||||
|
||||
| アップグレード |
|
||||
upgrade_new +
|
||||
| アップグレード
|
||||
| upgrade_new +
|
||||
upgrade_write_object +
|
||||
upgrade_read +
|
||||
upgrade_close
|
||||
@@ -828,14 +829,14 @@ link:weechat_plugin_api.ja.html[WeeChat プラグイン API リファレンス]
|
||||
| カテゴリ | 定数
|
||||
|
||||
// TRANSLATION MISSING
|
||||
| リターンコード |
|
||||
`WEECHAT_RC_OK` (integer) +
|
||||
| リターンコード
|
||||
| `WEECHAT_RC_OK` (integer) +
|
||||
`WEECHAT_RC_OK_EAT` (integer) +
|
||||
`WEECHAT_RC_ERROR` (integer)
|
||||
|
||||
// TRANSLATION MISSING
|
||||
| 設定ファイル |
|
||||
`WEECHAT_CONFIG_READ_OK` (integer) +
|
||||
| 設定ファイル
|
||||
| `WEECHAT_CONFIG_READ_OK` (integer) +
|
||||
`WEECHAT_CONFIG_READ_MEMORY_ERROR` (integer) +
|
||||
`WEECHAT_CONFIG_READ_FILE_NOT_FOUND` (integer) +
|
||||
`WEECHAT_CONFIG_WRITE_OK` (integer) +
|
||||
@@ -851,26 +852,26 @@ link:weechat_plugin_api.ja.html[WeeChat プラグイン API リファレンス]
|
||||
`WEECHAT_CONFIG_OPTION_UNSET_ERROR` (integer)
|
||||
|
||||
// TRANSLATION MISSING
|
||||
| ソート済みリスト |
|
||||
`WEECHAT_LIST_POS_SORT` (string) +
|
||||
| ソート済みリスト
|
||||
| `WEECHAT_LIST_POS_SORT` (string) +
|
||||
`WEECHAT_LIST_POS_BEGINNING` (string) +
|
||||
`WEECHAT_LIST_POS_END` (string)
|
||||
|
||||
// TRANSLATION MISSING
|
||||
| ホットリスト |
|
||||
`WEECHAT_HOTLIST_LOW` (string) +
|
||||
| ホットリスト
|
||||
| `WEECHAT_HOTLIST_LOW` (string) +
|
||||
`WEECHAT_HOTLIST_MESSAGE` (string) +
|
||||
`WEECHAT_HOTLIST_PRIVATE` (string) +
|
||||
`WEECHAT_HOTLIST_HIGHLIGHT` (string)
|
||||
|
||||
// TRANSLATION MISSING
|
||||
| プロセスのフック |
|
||||
`WEECHAT_HOOK_PROCESS_RUNNING` (integer) +
|
||||
| プロセスのフック
|
||||
| `WEECHAT_HOOK_PROCESS_RUNNING` (integer) +
|
||||
`WEECHAT_HOOK_PROCESS_ERROR` (integer)
|
||||
|
||||
// TRANSLATION MISSING
|
||||
| 接続のフック |
|
||||
`WEECHAT_HOOK_CONNECT_OK` (integer) +
|
||||
| 接続のフック
|
||||
| `WEECHAT_HOOK_CONNECT_OK` (integer) +
|
||||
`WEECHAT_HOOK_CONNECT_ADDRESS_NOT_FOUND` (integer) +
|
||||
`WEECHAT_HOOK_CONNECT_IP_ADDRESS_NOT_FOUND` (integer) +
|
||||
`WEECHAT_HOOK_CONNECT_CONNECTION_REFUSED` (integer) +
|
||||
@@ -883,8 +884,8 @@ link:weechat_plugin_api.ja.html[WeeChat プラグイン API リファレンス]
|
||||
`WEECHAT_HOOK_CONNECT_SOCKET_ERROR` (integer)
|
||||
|
||||
// TRANSLATION MISSING
|
||||
| シグナルのフック |
|
||||
`WEECHAT_HOOK_SIGNAL_STRING` (string) +
|
||||
| シグナルのフック
|
||||
| `WEECHAT_HOOK_SIGNAL_STRING` (string) +
|
||||
`WEECHAT_HOOK_SIGNAL_INT` (string) +
|
||||
`WEECHAT_HOOK_SIGNAL_POINTER` (string)
|
||||
|===
|
||||
@@ -894,7 +895,7 @@ link:weechat_plugin_api.ja.html[WeeChat プラグイン API リファレンス]
|
||||
|
||||
この章ではいくつかの良くあるタスクを例を交えて紹介します。ここでは
|
||||
API の一部の機能を使っています。完全なリファレンスは
|
||||
link:weechat_plugin_api.ja.html[WeeChat プラグイン API リファレンス]を参照してください。
|
||||
link:weechat_plugin_api.ja.html[WeeChat プラグイン API リファレンス ^↗^,window=_blank]を参照してください。
|
||||
|
||||
[[buffers]]
|
||||
=== バッファ
|
||||
@@ -1165,7 +1166,9 @@ weechat.hook_process("url:https://weechat.org/dev/info/stable/",
|
||||
----
|
||||
|
||||
[TIP]
|
||||
WeeChat に関して利用できる情報は全て https://weechat.org/dev/info にあります
|
||||
// TRANSLATION MISSING
|
||||
All infos available about WeeChat are on
|
||||
https://weechat.org/dev/info/[this page ^↗^,window=_blank].
|
||||
|
||||
オプション有りの URL 転送の例: 最新の WeeChat 開発パッケージをファイル
|
||||
_/tmp/weechat-devel.tar.gz_ にダウンロード:
|
||||
@@ -1183,7 +1186,7 @@ weechat.hook_process_hashtable("url:https://weechat.org/files/src/weechat-devel.
|
||||
----
|
||||
|
||||
URL 転送に関するより詳しい情報と利用可能なオプションは
|
||||
link:weechat_plugin_api.ja.html#_hook_process[WeeChat プラグイン API リファレンス]の
|
||||
link:weechat_plugin_api.ja.html#_hook_process[WeeChat プラグイン API リファレンス ^↗^,window=_blank]の
|
||||
`+hook_process+` と `+hook_process_hashtable+` を参照してください。
|
||||
|
||||
[[config_options]]
|
||||
@@ -1349,63 +1352,63 @@ _WeeChat バージョン 0.3.4 以上で利用可。_
|
||||
// TRANSLATION MISSING
|
||||
| キー | Since WeeChat ^(1)^ | 説明 | 例
|
||||
|
||||
| tags | 0.4.0 |
|
||||
メッセージに付けられたタグ (空にすることも可) |
|
||||
`+time=2015-06-27T16:40:35.000Z+`
|
||||
| tags | 0.4.0
|
||||
| メッセージに付けられたタグ (空にすることも可)
|
||||
| `+time=2015-06-27T16:40:35.000Z+`
|
||||
|
||||
// TRANSLATION MISSING
|
||||
| tag_xxx | 3.3 |
|
||||
Unescaped value of tag "xxx" (one key per tag). |
|
||||
`+2015-06-27T16:40:35.000Z+`
|
||||
| tag_xxx | 3.3
|
||||
| Unescaped value of tag "xxx" (one key per tag).
|
||||
| `+2015-06-27T16:40:35.000Z+`
|
||||
|
||||
| message_without_tags | 0.4.0 |
|
||||
タグを除いたメッセージ (タグが付けられていなければメッセージと同じ) |
|
||||
`+:nick!user@host PRIVMSG #weechat :hello!+`
|
||||
| message_without_tags | 0.4.0
|
||||
| タグを除いたメッセージ (タグが付けられていなければメッセージと同じ)
|
||||
| `+:nick!user@host PRIVMSG #weechat :hello!+`
|
||||
|
||||
| nick | 0.3.4 |
|
||||
発信者のニックネーム |
|
||||
`+nick+`
|
||||
| nick | 0.3.4
|
||||
| 発信者のニックネーム
|
||||
| `+nick+`
|
||||
|
||||
// TRANSLATION MISSING
|
||||
| user | 2.7 |
|
||||
The origin user. |
|
||||
`+user+`
|
||||
| user | 2.7
|
||||
| The origin user.
|
||||
| `+user+`
|
||||
|
||||
| host | 0.3.4 |
|
||||
発信者のホスト (ニックネームを含む) |
|
||||
`+nick!user@host+`
|
||||
| host | 0.3.4
|
||||
| 発信者のホスト (ニックネームを含む)
|
||||
| `+nick!user@host+`
|
||||
|
||||
| command | 0.3.4 |
|
||||
コマンド (_PRIVMSG_、_NOTICE_、...) |
|
||||
`+PRIVMSG+`
|
||||
| command | 0.3.4
|
||||
| コマンド (_PRIVMSG_、_NOTICE_、...)
|
||||
| `+PRIVMSG+`
|
||||
|
||||
| channel | 0.3.4 |
|
||||
送信先チャンネル |
|
||||
`+#weechat+`
|
||||
| channel | 0.3.4
|
||||
| 送信先チャンネル
|
||||
| `+#weechat+`
|
||||
|
||||
| arguments | 0.3.4 |
|
||||
コマンド引数 (チャンネルを含む) |
|
||||
`+#weechat :hello!+`
|
||||
| arguments | 0.3.4
|
||||
| コマンド引数 (チャンネルを含む)
|
||||
| `+#weechat :hello!+`
|
||||
|
||||
| text | 1.3 |
|
||||
テキスト (ユーザメッセージなど) |
|
||||
`+hello!+`
|
||||
| text | 1.3
|
||||
| テキスト (ユーザメッセージなど)
|
||||
| `+hello!+`
|
||||
|
||||
| pos_command | 1.3 |
|
||||
メッセージ内における _command_ のインデックス (_command_ が見つからない場合 "-1") |
|
||||
`+47+`
|
||||
| pos_command | 1.3
|
||||
| メッセージ内における _command_ のインデックス (_command_ が見つからない場合 "-1")
|
||||
| `+47+`
|
||||
|
||||
| pos_arguments | 1.3 |
|
||||
メッセージ内における _arguments_ のインデックス (_arguments_ が見つからない場合 "-1") |
|
||||
`+55+`
|
||||
| pos_arguments | 1.3
|
||||
| メッセージ内における _arguments_ のインデックス (_arguments_ が見つからない場合 "-1")
|
||||
| `+55+`
|
||||
|
||||
| pos_channel | 1.3 |
|
||||
メッセージ内における _channel_ のインデックス (_channel_ が見つからない場合 "-1") |
|
||||
`+55+`
|
||||
| pos_channel | 1.3
|
||||
| メッセージ内における _channel_ のインデックス (_channel_ が見つからない場合 "-1")
|
||||
| `+55+`
|
||||
|
||||
| pos_text | 1.3 |
|
||||
メッセージ内における _text_ のインデックス (_text_ が見つからない場合 "-1") |
|
||||
`+65+`
|
||||
| pos_text | 1.3
|
||||
| メッセージ内における _text_ のインデックス (_text_ が見つからない場合 "-1")
|
||||
| `+65+`
|
||||
|===
|
||||
|
||||
// TRANSLATION MISSING
|
||||
|
||||
+672
-309
File diff suppressed because it is too large
Load Diff
@@ -94,6 +94,8 @@
|
||||
|
||||
| tcl | tcl_script | lista skryptów
|
||||
|
||||
| trigger | trigger_add_arguments | arguments for command that adds a trigger: trigger name, hooks, hook arguments, hook conditions, hook regex, hook command, hook return code, post actions
|
||||
|
||||
| trigger | trigger_hook_arguments | domyślne argumenty dla hooka
|
||||
|
||||
| trigger | trigger_hook_command | domyślna komenda dla hooka
|
||||
@@ -148,6 +150,14 @@
|
||||
|
||||
| weechat | cursor_areas | obszary ("chat" albo nazwa paska) dla wolnego przemieszczania się kursora
|
||||
|
||||
| weechat | custom_bar_item_add_arguments | arguments for command that adds a custom bar item: item name, conditions, content
|
||||
|
||||
| weechat | custom_bar_item_conditions | conditions for custom bar item
|
||||
|
||||
| weechat | custom_bar_item_contents | contents for custom bar item
|
||||
|
||||
| weechat | custom_bar_items_names | names of custom bar items
|
||||
|
||||
| weechat | env_value | wartość zmiennej środowiskowej
|
||||
|
||||
| weechat | env_vars | zmienne środowiskowe
|
||||
|
||||
@@ -130,7 +130,7 @@ Przykłady:
|
||||
/autojoin add [<channel1> [<channel2>...]]
|
||||
addraw <channel1>[,<channel2>...] [<key1>[,<key2>...]]
|
||||
del [<channel1> [<channel2>...]]
|
||||
save
|
||||
apply
|
||||
sort
|
||||
|
||||
add: add current channel or a list of channels (with optional keys) to the autojoin option; if you are on the channel and the key is not provided, the key is read in the channel
|
||||
@@ -138,17 +138,18 @@ Przykłady:
|
||||
del: delete current channel or a list of channels from the autojoin option
|
||||
channel: channel name
|
||||
key: key for the channel
|
||||
save: save currently joined channels in the autojoin option
|
||||
apply: set currently joined channels in the autojoin option
|
||||
sort: sort alphabetically channels in the autojoin option
|
||||
|
||||
Examples:
|
||||
/autojoin add
|
||||
/autojoin add #test
|
||||
/autojoin add #chan1 #chan2
|
||||
/allchan /autojoin add
|
||||
/autojoin addraw #chan1,#chan2,#chan3 key1,key2
|
||||
/autojoin del
|
||||
/autojoin del #chan1
|
||||
/autojoin save
|
||||
/autojoin apply
|
||||
/autojoin sort
|
||||
----
|
||||
|
||||
@@ -1330,32 +1331,32 @@ Przykłady:
|
||||
----
|
||||
/debug list
|
||||
set <wtyczka> <poziom>
|
||||
dump [<wtyczka>]
|
||||
buffer|color|infolists|libs|certs|memory|tags|term|windows
|
||||
dump|hooks [<wtyczka>]
|
||||
buffer|certs|color|dirs|infolists|libs|memory|tags|term|windows
|
||||
mouse|cursor [verbose]
|
||||
hdata [free]
|
||||
time <komenda>
|
||||
|
||||
list: wyświetla wtyczki z poziomem debugowania
|
||||
set: ustawia poziom debugowania dla wtyczki
|
||||
plugin: nazwa wtyczki ("core" dla rdzenia WeeChat)
|
||||
poziom: poziom debugowania wtyczki (0 = wyłączony)
|
||||
dump: zachowuje zrzut pamięci w pliku z logiem WeeChat (taki sam zrzut jest zapisywany podczas awarii WeeChat)
|
||||
buffer: zrzuca zawartość bufora z wartościami heksadecymalnymi do pliku z logiem
|
||||
color: wyświetla informacje na temat obecnych par kolorów
|
||||
cursor: przełącza debugowanie dla trybu kursora
|
||||
dirs: wyświetla katalogi
|
||||
hdata: wyświetla informacje o hdata (z free: usuwa wszystkie hdata z pamięci)
|
||||
hooks: wyświetla informacje o hooks
|
||||
infolists: wyświetla informacje o infolistach
|
||||
libs: wyświetla informacje o użytych zewnętrznych bibliotekach
|
||||
certs: wyświetla ilość załadowanych zaufanych centrów certyfikacyjnych
|
||||
memory: wyświetla informacje o zużyciu pamięci
|
||||
mouse: przełącza debugowanie myszy
|
||||
tags: wyświetla tagi dla linii
|
||||
term: wyświetla informacje o terminalu
|
||||
windows: wyświetla drzewo okien
|
||||
time: mierzy czas do wykonania komendy lub wysłania tekstu do obecnego bufora
|
||||
list: list plugins with debug levels
|
||||
set: set debug level for plugin
|
||||
plugin: name of plugin ("core" for WeeChat core)
|
||||
level: debug level for plugin (0 = disable debug)
|
||||
dump: save memory dump in WeeChat log file (same dump is written when WeeChat crashes)
|
||||
hooks: display infos about hooks (with a plugin: display detailed info about hooks created by the plugin)
|
||||
buffer: dump buffer content with hexadecimal values in log file
|
||||
certs: display number of loaded trusted certificate authorities
|
||||
color: display infos about current color pairs
|
||||
cursor: toggle debug for cursor mode
|
||||
dirs: display directories
|
||||
hdata: display infos about hdata (with free: remove all hdata in memory)
|
||||
infolists: display infos about infolists
|
||||
libs: display infos about external libraries used
|
||||
memory: display infos about memory usage
|
||||
mouse: toggle debug for mouse
|
||||
tags: display tags for lines
|
||||
term: display infos about terminal
|
||||
windows: display windows tree
|
||||
time: measure time to execute a command or to send text to the current buffer
|
||||
----
|
||||
|
||||
[[command_weechat_eval]]
|
||||
@@ -1365,100 +1366,104 @@ infolists: wyświetla informacje o infolistach
|
||||
/eval [-n|-s] [-d] <wyrażenie>
|
||||
[-n] [-d [-d]] -c <wyrażenie1> <operator> <wyrażenie2>
|
||||
|
||||
-n: wyświetla wynik bez wysyłania go do buforu (tryb debugowania)
|
||||
-s: podziel wyrażenie przed przetworzeniem go (wiele komend może być oddzielonych średnikami)
|
||||
-d: wyświetl wyjście debugowe po ewaluacji (drugie -d wyświetli więcej informacji)
|
||||
-c: przetwarza jako warunek: użyj operatorów i nawiasów, zwraca wartość logiczną ("0" lub "1")
|
||||
wyrażenie: wyrażenie do przetworzenia, zmienne o formacie ${zmienna} są zastępowane (zobacz niżej); wiele komend można oddzielić średnikami
|
||||
operator: operator logiczny lub porównania:
|
||||
- operatory logiczne:
|
||||
&& logiczne „i”
|
||||
|| logiczne „lub”
|
||||
- operatory porównania:
|
||||
== równy
|
||||
!= różny
|
||||
<= mniejszy lub równy
|
||||
< mniejszy
|
||||
>= większy lub równy
|
||||
> większy
|
||||
=~ pasuje do rozszerzonego wyrażenia regularnego POSIX
|
||||
!~ NIE pasuje do rozszerzonego wyrażenia regularnego POSIX
|
||||
==* pasuje do maski, rozróżnia wielkość znaków (dzika karta „*” dozwolona)
|
||||
!!* NIE pasuje do maski, rozróżnia wielkość znaków (dzika karta „*” dozwolona)
|
||||
=* pasuje do maski, nie rozróżnia wielkość znaków (dzika karta „*” dozwolona)
|
||||
!* NIE pasuje do maski, nie rozróżnia wielkość znaków (dzika karta „*” dozwolona)
|
||||
==- jest zawarte, rozróżnia wielkość znaków
|
||||
!!- NIE jest zawarte,rozróżnia wielkość znaków
|
||||
=- jest zawarte, nie rozróżnia wielkość znaków
|
||||
!- NIE jest zawarte, nie rozróżnia wielkość znaków
|
||||
-n: display result without sending it to buffer (debug mode)
|
||||
-s: split expression before evaluating it (many commands can be separated by semicolons)
|
||||
-d: display debug output after evaluation (with two -d: more verbose debug)
|
||||
-c: evaluate as condition: use operators and parentheses, return a boolean value ("0" or "1")
|
||||
expression: expression to evaluate, variables with format ${variable} are replaced (see below); many commands can be separated by semicolons
|
||||
operator: a logical or comparison operator:
|
||||
- logical operators:
|
||||
&& boolean "and"
|
||||
|| boolean "or"
|
||||
- comparison operators:
|
||||
== equal
|
||||
!= not equal
|
||||
<= less or equal
|
||||
< less
|
||||
>= greater or equal
|
||||
> greater
|
||||
=~ is matching POSIX extended regex
|
||||
!~ is NOT matching POSIX extended regex
|
||||
==* is matching mask, case sensitive (wildcard "*" is allowed)
|
||||
!!* is NOT matching mask, case sensitive (wildcard "*" is allowed)
|
||||
=* is matching mask, case insensitive (wildcard "*" is allowed)
|
||||
!* is NOT matching mask, case insensitive (wildcard "*" is allowed)
|
||||
==- is included, case sensitive
|
||||
!!- is NOT included, case sensitive
|
||||
=- is included, case insensitive
|
||||
!- is NOT included, case insensitive
|
||||
|
||||
Wyrażenie jest uznawane za „prawdziwe” jeśli nie jest NULL, nie jest puste, oraz różni się od „0”.
|
||||
Porównania dokonuje się z użyciem liczb całkowitych jeśli oba wyrażenia są liczbami całkowitymi, w jednym z następujących formatów:
|
||||
- liczby całkowite (przykłady: 5, -7)
|
||||
- liczby zmiennoprzecinkowe (przykłady: 5.2, -7.5, 2.83e-2)
|
||||
- liczby szesnastkowe (przykłady: 0xA3, -0xA3)
|
||||
W celu wymuszenia porównywania ciągów, należy umieścić każde wyrażenie w cudzysłowie, na przykład:
|
||||
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:
|
||||
50 > 100 ==> 0
|
||||
"50" > "100" ==> 1
|
||||
|
||||
Niektóre zmienne w wyrażeniach są zamieniane, poprzez zastosowanie formatu ${zmienna}, według priorytetu zmienną może być:
|
||||
1. nieprzetworzony ciąg (format: "raw:xxx")
|
||||
2. zmienna zdefiniowana przez użytkownika (format: "name")
|
||||
3. przetworzony ciąg (format: "eval:xxx")
|
||||
4. przetworzony warunek (format: "eval_cond:xxx")
|
||||
5. ciąg z wyescapowanymi znakami (format: "esc:xxx" lub "\xxx")
|
||||
6. ciąg ze znakami do ukrycia (format: "hide:char,string")
|
||||
7. ciąg o maksymalnej długości (format: "cut:max,suffix,string" lub "cut:+max,suffix,string")
|
||||
lub maksymalna ilość znaków wyświetlanych na ekranie (format: "cutscr:max,suffix,string" lub "cutscr:+max,suffix,string")
|
||||
8. odwrócony ciąg (format: "rev:xxx")
|
||||
9. powtórzony ciąg (format: "repeat:ilość,ciąg")
|
||||
10. długość ciągu (format: "length:xxx" or "lengthscr:xxx")
|
||||
11. podział ciągu (format: "split:number,separators,flags,xxx")
|
||||
12. podział argumentów powłoki (format: "split_shell:number,xxx")
|
||||
13. kolor (format "color:xxx", zobacz „Opis API wtyczek”, funkcja "color")
|
||||
14. modyfikator (format: "modifier:name,data,string")
|
||||
15. informacja (format: "info:nazwa,argumenty", argumenty są opcjonalne)
|
||||
16. ciąg zakodowany/zdekodowany z base 16/32/64 (format: "base_encode:base,xxx" lub "base_decode:base,xxx")
|
||||
17. obecna data/czas (format: "date" lub "date:format")
|
||||
18. zmienna środowiskowa (format: "env:XXX")
|
||||
19. wyrażenie warunkowe (format: "if:warunek?wartość_jeśli_prawda:wartość_jeśli_fałsz")
|
||||
20. wynik wyrażenia z nawiasami i operatorami + - * / // % ** (format: "calc:xxx")
|
||||
21. losowa liczba całkowita (format: "random:min,max")
|
||||
22. przetłumaczony ciąg (format: "translate:xxx")
|
||||
23. definiowanie zmiennej użytkownika (format: "define:nazwa,wartość")
|
||||
24. opcja (format: plik.sekcja.opcja)
|
||||
25. zmienna lokalna w buforze
|
||||
26. nazwa hdatay/zmiennej (wartość jest automatycznie konwertowana na ciąg znaków), domyślnie „window” i „buffer” wskazują na aktualne okno/bufor.
|
||||
Format dla hdata może być jednym z poniższych:
|
||||
hdata.zmienna1.zmienna2...: inicjuje hdata (wskaźnik musi być znany), następnie wypytuje zmienne jedna po drugiej (inne hdata mogą być następne)
|
||||
hdata[list].zmienna1.zmienna2...: inicjuje hdata z wykorzystaniem listy, na przykład:
|
||||
${buffer[gui_buffers].full_name}: pełna nazwa buforu w połączonej liście buforów
|
||||
${plugin[weechat_plugins].name}: nazwa pierwszej wtyczki w połączonej liście wtyczek
|
||||
hdata[wskaźnik].zmienna1.zmienna2...: zacznij z hdata używając wskaźnika, na przykład:
|
||||
${buffer[0x1234abcd].full_name}: pełna nazwa buforu z tym wskaźnikiem (może zostać użyte w triggerach)
|
||||
${buffer[my_pointer].full_name}: pełna nazwa buforu z jego wskaźnikiem (może zostać użyte w triggerach)
|
||||
Nazwy hdata i zmiennych, można znaleźć w „Opisie API wtyczek”, funkcja "weechat_hdata_get".
|
||||
Some variables are replaced in expression, using the format ${variable}, variable can be, by order of priority:
|
||||
1. the string itself without evaluation (format: "raw:xxx")
|
||||
2. a user-defined variable (format: "name")
|
||||
3. an evaluated sub-string (format: "eval:xxx")
|
||||
4. an evaluated condition (format: "eval_cond:xxx")
|
||||
5. a string with escaped chars (format: "esc:xxx" or "\xxx")
|
||||
6. a string converted to lower case (format: "lower:xxx")
|
||||
7. a string converted to upper case (format: "upper:xxx")
|
||||
8. a string with chars to hide (format: "hide:char,string")
|
||||
9. a string with max chars (format: "cut:max,suffix,string" or "cut:+max,suffix,string")
|
||||
or max chars displayed on screen (format: "cutscr:max,suffix,string" or "cutscr:+max,suffix,string")
|
||||
10. a reversed string (format: "rev:xxx" or "revscr:xxx")
|
||||
11. a repeated string (format: "repeat:count,string")
|
||||
12. length of a string (format: "length:xxx" or "lengthscr:xxx")
|
||||
13. split of a string (format: "split:number,separators,flags,xxx")
|
||||
14. split of shell argmuents (format: "split_shell:number,xxx")
|
||||
15. a color (format: "color:xxx", see "Plugin API reference", function "color")
|
||||
16. a modifier (format: "modifier:name,data,string")
|
||||
17. an info (format: "info:name,arguments", arguments are optional)
|
||||
18. a base 16/32/64 encoded/decoded string (format: "base_encode:base,xxx" or "base_decode:base,xxx")
|
||||
19. current date/time (format: "date" or "date:format")
|
||||
20. an environment variable (format: "env:XXX")
|
||||
21. a ternary operator (format: "if:condition?value_if_true:value_if_false")
|
||||
22. result of an expression with parentheses and operators + - * / // % ** (format: "calc:xxx")
|
||||
23. a random integer number (format: "random:min,max")
|
||||
24. a translated string (format: "translate:xxx")
|
||||
25. define a user variable (format: "define:name,value")
|
||||
26. an option (format: "file.section.option")
|
||||
27. a local variable in buffer
|
||||
28. a hdata name/variable (the value is automatically converted to string), by default "window" and "buffer" point to current window/buffer.
|
||||
Format for hdata can be one of following:
|
||||
hdata.var1.var2...: start with a hdata (pointer must be known), and ask variables one after one (other hdata can be followed)
|
||||
hdata[list].var1.var2...: start with a hdata using a list/pointer/pointer name, for example:
|
||||
${buffer[gui_buffers].full_name}: full name of first buffer in linked list of buffers
|
||||
${plugin[weechat_plugins].name}: name of first plugin in linked list of plugins
|
||||
hdata[pointer].var1.var2...: start with a hdata using a pointer, for example:
|
||||
${buffer[0x1234abcd].full_name}: full name of the buffer with this pointer (can be used in triggers)
|
||||
${buffer[my_pointer].full_name}: full name of the buffer with this pointer name (can be used in triggers)
|
||||
For name of hdata and variables, please look at "Plugin API reference", function "weechat_hdata_get".
|
||||
|
||||
Przykłady (proste ciągi):
|
||||
/eval -n ${raw:${info:version}} ==> ${info:version}
|
||||
/eval -n ${eval_cond:${window.win_width}>100} ==> 1
|
||||
/eval -n ${info:version} ==> 0.4.3
|
||||
/eval -n ${env:HOME} ==> /home/user
|
||||
/eval -n ${weechat.look.scroll_amount} ==> 3
|
||||
/eval -n ${sec.data.password} ==> secret
|
||||
/eval -n ${window} ==> 0x2549aa0
|
||||
/eval -n ${window.buffer} ==> 0x2549320
|
||||
/eval -n ${window.buffer.full_name} ==> core.weechat
|
||||
/eval -n ${window.buffer.number} ==> 1
|
||||
/eval -n ${\t} ==> <tab>
|
||||
/eval -n ${hide:-,${relay.network.password}} ==> --------
|
||||
/eval -n ${cut:3,+,test} ==> tes+
|
||||
/eval -n ${cut:+3,+,test} ==> te+
|
||||
/eval -n ${date:%H:%M:%S} ==> 07:46:40
|
||||
/eval -n ${if:${info:term_width}>80?big:small} ==> big
|
||||
/eval -n ${rev:Hello} ==> olleH
|
||||
/eval -n ${repeat:5,-} ==> -----
|
||||
/eval -n ${length:test} ==> 4
|
||||
Examples (simple strings):
|
||||
/eval -n ${raw:${info:version}} ==> ${info:version}
|
||||
/eval -n ${eval_cond:${window.win_width}>100} ==> 1
|
||||
/eval -n ${info:version} ==> 0.4.3
|
||||
/eval -n ${env:HOME} ==> /home/user
|
||||
/eval -n ${weechat.look.scroll_amount} ==> 3
|
||||
/eval -n ${sec.data.password} ==> secret
|
||||
/eval -n ${window} ==> 0x2549aa0
|
||||
/eval -n ${window.buffer} ==> 0x2549320
|
||||
/eval -n ${window.buffer.full_name} ==> core.weechat
|
||||
/eval -n ${window.buffer.number} ==> 1
|
||||
/eval -n ${\t} ==> <tab>
|
||||
/eval -n ${lower:TEST} ==> test
|
||||
/eval -n ${upper:test} ==> TEST
|
||||
/eval -n ${hide:-,${relay.network.password}} ==> --------
|
||||
/eval -n ${cut:3,+,test} ==> tes+
|
||||
/eval -n ${cut:+3,+,test} ==> te+
|
||||
/eval -n ${date:%H:%M:%S} ==> 07:46:40
|
||||
/eval -n ${if:${info:term_width}>80?big:small} ==> big
|
||||
/eval -n ${rev:Hello} ==> olleH
|
||||
/eval -n ${repeat:5,-} ==> -----
|
||||
/eval -n ${length:test} ==> 4
|
||||
/eval -n ${split:1,,,abc,def,ghi} ==> abc
|
||||
/eval -n ${split:-1,,,abc,def,ghi} ==> ghi
|
||||
/eval -n ${split:count,,,abc,def,ghi} ==> 3
|
||||
@@ -1467,14 +1472,14 @@ Przykłady (proste ciągi):
|
||||
/eval -n ${split_shell:-1,"arg 1" arg2} ==> arg2
|
||||
/eval -n ${split_shell:count,"arg 1" arg2} ==> 2
|
||||
/eval -n ${split_shell:random,"arg 1" arg2} ==> arg2
|
||||
/eval -n ${calc:(5+2)*3} ==> 21
|
||||
/eval -n ${random:0,10} ==> 3
|
||||
/eval -n ${base_encode:64,test} ==> dGVzdA==
|
||||
/eval -n ${base_decode:64,dGVzdA==} ==> test
|
||||
/eval -n ${translate:Plugin} ==> Wtyczka
|
||||
/eval -n ${calc:(5+2)*3} ==> 21
|
||||
/eval -n ${random:0,10} ==> 3
|
||||
/eval -n ${base_encode:64,test} ==> dGVzdA==
|
||||
/eval -n ${base_decode:64,dGVzdA==} ==> test
|
||||
/eval -n ${translate:Plugin} ==> Extension
|
||||
/eval -n ${define:len,${calc:5+3}}${len}x${len} ==> 8x8
|
||||
|
||||
Przykłady (warunki):
|
||||
Examples (conditions):
|
||||
/eval -n -c ${window.buffer.number} > 2 ==> 0
|
||||
/eval -n -c ${window.win_width} > 100 ==> 1
|
||||
/eval -n -c (8 > 12) || (5 > 2) ==> 1
|
||||
@@ -1492,11 +1497,11 @@ Przykłady (warunki):
|
||||
|
||||
----
|
||||
/filter list
|
||||
enable|disable|toggle [<nazwa>|@]
|
||||
add|addreplace<nazwa> <bufor>[,<bufor>...] <tagi> <regex>
|
||||
rename <nazwa> <nowa_nazwa>
|
||||
recreate <nazwa>
|
||||
del <nazwa>|-all
|
||||
enable|disable|toggle [<name>|@]
|
||||
add|addreplace <name> <buffer>[,<buffer>...] <tags> <regex>
|
||||
rename <name> <new_name>
|
||||
recreate <name>
|
||||
del <name>|-all [<name>...]
|
||||
|
||||
list: wyświetla wszystkie filtry
|
||||
enable: włącza filtry (filtry są domyślnie włączone)
|
||||
@@ -1645,6 +1650,49 @@ lista akcji:
|
||||
Ta komenda jest używana do przypisywania klawiszy lub przez wtyczki.
|
||||
----
|
||||
|
||||
[[command_weechat_item]]
|
||||
* `+item+`: manage custom bar items
|
||||
|
||||
----
|
||||
/item list
|
||||
add|addreplace <name> "<conditions>" "<content>"
|
||||
rename <name> <new_name>
|
||||
refresh <name> [<name>...]
|
||||
recreate <name>
|
||||
del <name>|-all
|
||||
|
||||
list: list all custom bar items
|
||||
add: add a custom bar item
|
||||
addreplace: add or replace an existing custom bar item
|
||||
name: custom bar item name
|
||||
conditions: evaluated conditions to display the bar item (for example to display the bar item only in specific buffers)
|
||||
content: content (evaluated, see /help eval)
|
||||
rename: rename a custom bar item
|
||||
refresh: update content of item in all bars where the item is displayed; any item can be refreshed: default/plugin/custom bar items
|
||||
recreate: set input with the command used to edit the custom bar item
|
||||
del: delete a custom bar item
|
||||
-all: delete all custom bar items
|
||||
|
||||
Examples:
|
||||
add item with terminal size, displayed only in buffers with number = 1:
|
||||
/item add terminfo "${buffer.number} == 1" "term:${info:term_width}x${info:term_height}"
|
||||
add item with buffer info:
|
||||
/item add bufinfo "" "${buffer.number}:${buffer.name}${if:${buffer.zoomed}?(Z)}"
|
||||
add item with date/time using format "Dec 25, 12:34 +0100", refreshed every minute:
|
||||
/item add datetime "" "${date:%b %d, %H:%M %z}"
|
||||
/trigger add datetime_refresh timer "60000;60" "" "" "/item refresh datetime"
|
||||
add item with number of lines in buffer (displayed/total), refreshed each time a new line is displayed or if filtered lines have changed:
|
||||
/item add lines_count "" "${calc:${buffer.lines.lines_count}-${buffer.lines.lines_hidden}}/${buffer.lines.lines_count} lines"
|
||||
/trigger add lines_count_refresh_print print "" "" "" "/item refresh lines_count"
|
||||
/trigger add lines_count_refresh_signal signal "window_switch;buffer_switch;buffer_lines_hidden;filters_*" "" "" "/item refresh lines_count"
|
||||
force refresh of item "lines_count":
|
||||
/item refresh lines_count
|
||||
recreate item "lines_count" with different conditions or content:
|
||||
/item recreate lines_count
|
||||
delete item "lines_count":
|
||||
/item del lines_count
|
||||
----
|
||||
|
||||
[[command_weechat_key]]
|
||||
* `+key+`: dodaj/usuń przypisanie klawiszy
|
||||
|
||||
@@ -2845,7 +2893,7 @@ protokół.nazwa: protokół i nazwa do przekazywania:
|
||||
- protokół "weechat" (nazwa nie jest używana)
|
||||
|
||||
Protokół "irc" pozwala dowolnemu klientowi IRC (włączając w to WeeChat) połączyć się na ustawionym porcie.
|
||||
Protokół "weechat" pozwala na połączenie się zdalnym interfejsem, lista dostępna pod adresem: https://weechat.org/about/interfaces
|
||||
Protokół "weechat" pozwala na połączenie się zdalnym interfejsem, lista dostępna pod adresem: https://weechat.org/about/interfaces/
|
||||
|
||||
Bez argumentu komenda otwiera bufor z listą klientów.
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// tag::plugin_options[]
|
||||
Kompletna dokumentacja na temat opcji wtyczek dostępna jest
|
||||
w https://weechat.org/doc[WeeChat user's guide].
|
||||
w https://weechat.org/doc/[WeeChat user's guide].
|
||||
|
||||
Dzięki wtyczce irc możliwe jest połączenie z serwerami tymczasowymi za pomocą
|
||||
URLi jak:
|
||||
|
||||
@@ -63,4 +63,4 @@ include::includes/man.pl.adoc[tag=copyright]
|
||||
|
||||
== WSPARCIE / ZGŁASZANIE BŁĘDÓW
|
||||
|
||||
W celu uzyskania pomocy, lub zgłoszenia błędu zajrzyj na: https://weechat.org/about/support
|
||||
W celu uzyskania pomocy, lub zgłoszenia błędu zajrzyj na: https://weechat.org/about/support/
|
||||
|
||||
@@ -59,4 +59,4 @@ include::includes/man.pl.adoc[tag=copyright]
|
||||
|
||||
== WSPARCIE / ZGŁASZANIE BŁĘDÓW
|
||||
|
||||
W celu uzyskania pomocy, lub zgłoszenia błędu zajrzyj na: https://weechat.org/about/support
|
||||
W celu uzyskania pomocy, lub zgłoszenia błędu zajrzyj na: https://weechat.org/about/support/
|
||||
|
||||
+59
-34
@@ -37,7 +37,9 @@ pasuje ono do WeeChat!).
|
||||
|
||||
Ponieważ WeeChat jest bardzo lekki i posiada innowacyjne funkcje.
|
||||
|
||||
Więcej informacji o moliwościach WeeChat można znaleźć tutaj: https://weechat.org/about/features
|
||||
// TRANSLATION MISSING
|
||||
More info on the WeeChat
|
||||
https://weechat.org/about/features/[features page ^↗^,window=_blank].
|
||||
|
||||
[[compilation_install]]
|
||||
== Kompilacja / instalacja
|
||||
@@ -45,16 +47,17 @@ Więcej informacji o moliwościach WeeChat można znaleźć tutaj: https://weech
|
||||
[[gui]]
|
||||
=== Słyszałem o wielu GUI dla WeeChat. Jak mogę je skompilować/użyć?
|
||||
|
||||
Dostępne są zdalne interfejsy, możesz o nich poczytać na tej stronie:
|
||||
https://weechat.org/about/interfaces
|
||||
// TRANSLATION MISSING
|
||||
Some remote GUIs are available, see the
|
||||
https://weechat.org/about/interfaces/[remote interfaces page ^↗^,window=_blank].
|
||||
|
||||
[[compile_git]]
|
||||
=== Nie mogę skompilować WeeChat po sklonowaniu repozytorium git, dlaczego?
|
||||
|
||||
Zalecaną metodą kompilacji WeeChat jest użycie
|
||||
link:weechat_user.pl.html#compile_with_cmake[CMake].
|
||||
link:weechat_user.pl.html#compile_with_cmake[CMake ^↗^,window=_blank].
|
||||
|
||||
Jeśli kompilujesz używając link:weechat_user.pl.html#compile_with_autotools[autotools]
|
||||
Jeśli kompilujesz używając link:weechat_user.pl.html#compile_with_autotools[autotools ^↗^,window=_blank]
|
||||
(nie CMake), upewnij się, że posiadasz najnowszą wersję autoconf i automake.
|
||||
|
||||
Innym sposobem jest zainstalowanie "paczki deweloperskiej", która wymaga mniej
|
||||
@@ -65,7 +68,7 @@ przy aktualizowaniu jak klonowanie z gita.
|
||||
[[compile_macos]]
|
||||
=== Jak zainstalować WeeChat na macOS?
|
||||
|
||||
Zaleca się użycie https://brew.sh/[Homebrew], pomoc uzyskasz za pomocą komendy:
|
||||
Zaleca się użycie https://brew.sh/[Homebrew ^↗^,window=_blank], pomoc uzyskasz za pomocą komendy:
|
||||
|
||||
----
|
||||
brew info weechat
|
||||
@@ -81,11 +84,11 @@ brew install weechat
|
||||
=== Uruchomiłem WeeChat, ale czuję się zagubiony, co robić?
|
||||
|
||||
Dla pomocy wpisz `/help`. Aby uzyskać pomoc dla komendy wpisz `/help komenda`.
|
||||
link:weechat_user.pl.html#key_bindings[Keys] i
|
||||
link:weechat_user.pl.html#commands_and_options[commands] są opisane w dokumentacji.
|
||||
link:weechat_user.pl.html#key_bindings[Keys ^↗^,window=_blank] i
|
||||
link:weechat_user.pl.html#commands_and_options[commands ^↗^,window=_blank] są opisane w dokumentacji.
|
||||
|
||||
Nowym użytkowniką zaleca się przeczytanie dokumentu
|
||||
link:weechat_quickstart.pl.html[Szybki start].
|
||||
link:weechat_quickstart.pl.html[Szybki start ^↗^,window=_blank].
|
||||
|
||||
[[display]]
|
||||
== Wyświetlanie
|
||||
@@ -113,7 +116,7 @@ Jest to częsty problem powodowany przez wiele rzeczy, przeczytaj uważnie i spr
|
||||
** jeśli korzystasz ze screena, sprawdź czy jest uruchomiony z trybem UTF-8
|
||||
("`defutf8 on`" w ~/.screenrc lub `screen -U` uruchamiając screena)
|
||||
* sprawdź czy opcja
|
||||
link:weechat_user.pl.html#option_weechat.look.eat_newline_glitch[_weechat.look.eat_newline_glitch_]
|
||||
link:weechat_user.pl.html#option_weechat.look.eat_newline_glitch[_weechat.look.eat_newline_glitch_ ^↗^,window=_blank]
|
||||
jest wyłączona (ta opcja może powodować błędy wyświetlania)
|
||||
|
||||
[NOTE]
|
||||
@@ -128,10 +131,11 @@ Może to być spowodowane przez błąd libc w funkcji _wcwidth_, który powinien
|
||||
naprawiony w glibc 2.22 (może jeszcze nie być dostępny w twojej dystrybucji).
|
||||
|
||||
Istnieje sposób na obejście błędu funkcji _wcwidth_:
|
||||
https://blog.nytsoi.net/2015/05/04/emoji-support-for-weechat
|
||||
https://blog.nytsoi.net/2015/05/04/emoji-support-for-weechat[https://blog.nytsoi.net/2015/05/04/emoji-support-for-weechat ^↗^,window=_blank].
|
||||
|
||||
Więcej informacji można znaleźć w zgłoszeniu błędu:
|
||||
https://github.com/weechat/weechat/issues/79
|
||||
// TRANSLATION MISSING
|
||||
See this https://github.com/weechat/weechat/issues/79[bug report ^↗^,window=_blank]
|
||||
for more information.
|
||||
|
||||
[[bars_background]]
|
||||
=== Paski jak tytuł i status nie są filtrowane, kolor tła zatrzymuje się po tekście, czemu?
|
||||
@@ -187,7 +191,7 @@ kilku oknach.
|
||||
[[buffers_list]]
|
||||
=== Jak wyświetlić listę z buforami po lewej stronie?
|
||||
|
||||
W wersji WeeChat ≥ 1.8, wtyczka link:weechat_user.pl.html#buflist_plugin[buflist]
|
||||
W wersji WeeChat ≥ 1.8, wtyczka link:weechat_user.pl.html#buflist[buflist ^↗^,window=_blank]
|
||||
jest domyślnie włączona i załadowana.
|
||||
|
||||
W starszych wersjach możesz zainstalować skrypt _buffers.pl_:
|
||||
@@ -255,8 +259,9 @@ jak `237` dla ciemnego szarego.
|
||||
Wtyczka buflist posiada wiele opcji, które można personalizować, zapoznaj się
|
||||
z opisem dla każdej z nich.
|
||||
|
||||
Istnieje również strona wiki z przykładami zaawansowanej konfiguracji:
|
||||
https://github.com/weechat/weechat/wiki/buflist
|
||||
// TRANSLATION MISSING
|
||||
There's also a https://github.com/weechat/weechat/wiki/buflist[wiki page ^↗^,window=_blank]
|
||||
with examples of advanced buflist configuration.
|
||||
|
||||
[[customize_prefix]]
|
||||
=== Jak mogę ograniczyć długość wyświetlanych nicków lub usunąć wyrównanie w oknie rozmowy?
|
||||
@@ -299,7 +304,7 @@ Kolory można zmienić za pomocą opcji __weechat.color.status_data_*__
|
||||
Pozostałe opcje hotlist można zmienić za pomocą opcji __weechat.look.hotlist_*__.
|
||||
|
||||
Więcej informacji na temat hotlity można znaleźć w
|
||||
link:weechat_user.pl.html#screen_layout[Poradniku użytkownika / Układ ekranu].
|
||||
link:weechat_user.pl.html#screen_layout[Poradniku użytkownika / Układ ekranu ^↗^,window=_blank].
|
||||
|
||||
[[input_bar_size]]
|
||||
=== Jak używać linii poleceń z więcej niż jednym wierszem?
|
||||
@@ -465,7 +470,7 @@ Dla wersji ≥ 0.3.5, można używać dowolnego numeru koloru w opcjach (opcjona
|
||||
można stworzyć alias dla koloru za pomocą komendy `/color`).
|
||||
|
||||
Więcej informacji o zarządzaniu kolorami można znaleźć w
|
||||
link:weechat_user.pl.html#colors[Poradniku użytkownika / Kolory].
|
||||
link:weechat_user.pl.html#colors[Poradniku użytkownika / Kolory ^↗^,window=_blank].
|
||||
|
||||
[[search_text]]
|
||||
=== Jak mogę wyszukać tekst w buforze (jak za pomocą /lastlog w irssi)?
|
||||
@@ -475,7 +480,7 @@ Domyślny skrót klawiszowy to kbd:[Ctrl+r] (komenda: `+/input search_text_here+
|
||||
Poruszanie się między podświetleniami: kbd:[Alt+p] / kbd:[Alt+n].
|
||||
|
||||
Więcej informacji o skrótach klawiszowych można znaleźć w
|
||||
link:weechat_user.pl.html#key_bindings[Poradniku użytkownika / Domyślne skróty klawiszowe].
|
||||
link:weechat_user.pl.html#key_bindings[Poradniku użytkownika / Domyślne skróty klawiszowe ^↗^,window=_blank].
|
||||
|
||||
[[terminal_focus]]
|
||||
=== Jak mogę wykonywać komendy, kiedy terminal stanie się/przestanie być aktywny?
|
||||
@@ -648,7 +653,7 @@ Można również samemu stworzyć skrót, na przykład:
|
||||
----
|
||||
|
||||
Listę domyślnych skrótów klawiszowych można znależć w
|
||||
link:weechat_user.pl.html#key_bindings[Poradniku uzytkownika / Domyślne skróty klawiszowe].
|
||||
link:weechat_user.pl.html#key_bindings[Poradniku uzytkownika / Domyślne skróty klawiszowe ^↗^,window=_blank].
|
||||
|
||||
Aby przesjść do bufora o numerze ≥ 100, możesz zdefiniować trigger i następnie użyć
|
||||
komendy w stylu `/123` żeby przejść do bufora #123:
|
||||
@@ -841,18 +846,34 @@ join and part in the "autojoin" server option.
|
||||
For all servers:
|
||||
|
||||
----
|
||||
/set irc.server_default.autojoin_record on
|
||||
/set irc.server_default.autojoin_dynamic on
|
||||
----
|
||||
|
||||
// TRANSLATION MISSING
|
||||
For a single server:
|
||||
|
||||
----
|
||||
/set irc.server.libera.autojoin_record on
|
||||
/set irc.server.libera.autojoin_dynamic on
|
||||
----
|
||||
|
||||
Możesz użyć komendy `/set` do edytowania tej listy, na przykład dla serwera
|
||||
"libera":
|
||||
// TRANSLATION MISSING
|
||||
With WeeChat ≥ 3.5, you can also add the current channel in the "autojoin"
|
||||
server option using the `/autojoin` command:
|
||||
|
||||
----
|
||||
/autojoin add
|
||||
----
|
||||
|
||||
// TRANSLATION MISSING
|
||||
Or another channel:
|
||||
|
||||
----
|
||||
/autojoin add #test
|
||||
----
|
||||
|
||||
// TRANSLATION MISSING
|
||||
With WeeChat ≤ 3.4, możesz użyć komendy `/set` do edytowania tej listy, na
|
||||
przykład dla serwera "libera":
|
||||
|
||||
----
|
||||
/set irc.server.libera.autojoin [TAB]
|
||||
@@ -869,7 +890,8 @@ Możesz w tym celu u żyć także komendy `/fset`:
|
||||
/fset autojoin
|
||||
----
|
||||
|
||||
Innym rozwiązaniem jest użycie skryptu:
|
||||
// TRANSLATION MISSING
|
||||
With WeeChat ≤ 3.4, innym rozwiązaniem jest użycie skryptu:
|
||||
|
||||
----
|
||||
/script search autojoin
|
||||
@@ -910,7 +932,7 @@ Za pomocą globalnego filtru (ukrywa *wszystkie* wejścia/opuszczenia/wyjścia):
|
||||
|
||||
[NOTE]
|
||||
+For help: `/help filter`, `+/help irc.look.smart_filter+` and see
|
||||
+link:weechat_user.pl.html#irc_smart_filter_join_part_quit[Poradniku użytkownika / Inteligentne filtry dla wiadomości].
|
||||
+link:weechat_user.pl.html#irc_smart_filter_join_part_quit[Poradniku użytkownika / Inteligentne filtry dla wiadomości ^↗^,window=_blank].
|
||||
|
||||
[[filter_irc_join_channel_messages]]
|
||||
=== Jak mogę filtrować wyświetlane wiadomości podczas wejścia na kanał IRC?
|
||||
@@ -1009,7 +1031,7 @@ Inne podobne skrypty:
|
||||
=== Jak mogę wyłączyć podświetlenia dla konkretnych nicków?
|
||||
|
||||
Od wersji WeeChat ≥ 0.3.4 możesz użyć właściwości bufora
|
||||
link:weechat_user.en.html#max_hotlist_level_nicks[hotlist_max_level_nicks_add]
|
||||
link:weechat_user.en.html#max_hotlist_level_nicks[hotlist_max_level_nicks_add ^↗^,window=_blank]
|
||||
maksymalnego poziomu hotlisty dla niektórych nicków dla pojedynzego lub grupy
|
||||
buforów (jak serwery IRC).
|
||||
|
||||
@@ -1212,7 +1234,7 @@ Wyładuj i wyłącz automatyczne ładowanie wtyczki "xfer" (używanej przez IRC
|
||||
Zdefiniuj hasło i używaj bezpiecznych danych wszędzie gdzie możesz dla danych wrażliwych
|
||||
jak hasła: zobacz `/help secure` oraz `/help` na opcjach
|
||||
(czy możesz użyć bezpiecznych danych, jest to zaznaczone w pomocy).
|
||||
Zobacz również link:weechat_user.pl.html#secured_data[Poradniku użytkownika / Zabezpieczone dane].
|
||||
Zobacz również link:weechat_user.pl.html#secured_data[Poradniku użytkownika / Zabezpieczone dane ^↗^,window=_blank].
|
||||
|
||||
Na przykład:
|
||||
|
||||
@@ -1234,7 +1256,7 @@ zawiera hasla zaszyfrowane twoim kluczem.
|
||||
Niektóre inne pliki mogą zawierać poufne informacje jak hasła (jeśli nie są przetrzymywane
|
||||
w _sec.conf_ za pomocą komendy `/secure`).
|
||||
|
||||
Przejrzyj link:weechat_user.pl.html#files_and_directories[Poradnik użytkownika / Pliki i foldery],
|
||||
Przejrzyj link:weechat_user.pl.html#files_and_directories[Poradnik użytkownika / Pliki i foldery ^↗^,window=_blank],
|
||||
gdzie znajdziesz więcej informacji o plikach konfiguracyjnych.
|
||||
|
||||
[[development]]
|
||||
@@ -1243,7 +1265,8 @@ gdzie znajdziesz więcej informacji o plikach konfiguracyjnych.
|
||||
[[bug_task_patch]]
|
||||
=== Jak zgłaszać błędy, prosić o nowe możliwości lub wysyłać patche?
|
||||
|
||||
Zobacz: https://weechat.org/about/support
|
||||
// TRANSLATION MISSING
|
||||
See https://weechat.org/about/support/[this page ^↗^,window=_blank].
|
||||
|
||||
[[gdb_error_threads]]
|
||||
=== Kiedy uruchamiam WeeChat pod gdb dostaję komunikat o wątkach, co mogę z tym zrobić?
|
||||
@@ -1279,11 +1302,13 @@ możliwe. Mile widziana jest pomoc w testowaniu dla systemów, których nie mamy
|
||||
|
||||
Jest wiele zadań do zrobienia (testowanie, kod, dokumentacja, ...)
|
||||
|
||||
Skontaktuj się z nami na IRC lub mailowo, szczegóły:
|
||||
https://weechat.org/about/support
|
||||
// TRANSLATION MISSING
|
||||
Please contact us via IRC or mail, look at
|
||||
https://weechat.org/about/support/[support page ^↗^,window=_blank].
|
||||
|
||||
[[donate]]
|
||||
=== Czy mogę dać pieniądze albo inne rzeczy deweloperom WeeChat?
|
||||
|
||||
Tak możesz dać nam pieniądze, aby wspomóc rozwój.
|
||||
Szczegóły na https://weechat.org/donate
|
||||
// TRANSLATION MISSING
|
||||
You can give us money to help development.
|
||||
Details on https://weechat.org/donate/[donation page ^↗^,window=_blank].
|
||||
|
||||
@@ -200,10 +200,17 @@ Aby automatycznie wejść na kanały po połączeniu z serwerem:
|
||||
/set irc.server.libera.autojoin "#kanał1,#kanał2"
|
||||
----
|
||||
|
||||
[TIP]
|
||||
Możesz dopełnić nazwę lub wartość opzji za pomocą klawisza kbd:[Tab] oraz
|
||||
kbd:[Shift+Tab] dla częściowego dopełnienia (przydatne dla długich nazw jak
|
||||
nazwy opcji).
|
||||
// TRANSLATION MISSING
|
||||
The `/autojoin` command lets you configure the _autojoin_ option easily
|
||||
(see `/help autojoin`).
|
||||
|
||||
// TRANSLATION MISSING
|
||||
You can also configure WeeChat to automatically update the _autojoin_ option
|
||||
when you join or leave channels:
|
||||
|
||||
----
|
||||
/set irc.server_default.autojoin_dynamic on
|
||||
----
|
||||
|
||||
Aby usunąć wartość dla opcji serwera, używając w zamian wartości domyślnej,
|
||||
na przykład, aby używać domyślnych nicków (irc.server_default.nicks):
|
||||
@@ -219,6 +226,11 @@ nazwa opcji):
|
||||
/set irc.server.libera.xxx wartość
|
||||
----
|
||||
|
||||
[TIP]
|
||||
Możesz dopełnić nazwę lub wartość opzji za pomocą klawisza kbd:[Tab] oraz
|
||||
kbd:[Shift+Tab] dla częściowego dopełnienia (przydatne dla długich nazw jak
|
||||
nazwy opcji).
|
||||
|
||||
[[connect_to_irc_server]]
|
||||
== Łączenie z serwerem IRC
|
||||
|
||||
@@ -375,13 +387,16 @@ i zainstalować za pomocą komendy `/script`, na przykład:
|
||||
|
||||
Więcej informacji można uzyskać wykonując komendę `/help script`.
|
||||
|
||||
Listę skryptów dostepnych dla WeeChat można uzyskać wywołując komendę `/script`
|
||||
lub pod adresem https://weechat.org/scripts
|
||||
// TRANSLATION MISSING
|
||||
A list of scripts is available in WeeChat with `/script` or on
|
||||
https://weechat.org/scripts/[this page ^↗^,window=_blank].
|
||||
|
||||
[[more_doc]]
|
||||
== Więcej dokumentacji
|
||||
|
||||
Możesz teraz używać WeeChat oraz przeczytać FAQ/dokumentację w razie innych pytań:
|
||||
https://weechat.org/doc
|
||||
// TRANSLATION MISSING
|
||||
You can now use WeeChat and read
|
||||
https://weechat.org/doc/[FAQ/documentation ^↗^,window=_blank]
|
||||
for any other questions.
|
||||
|
||||
Miłej pracy z WeeChat!
|
||||
|
||||
+124
-121
@@ -17,8 +17,9 @@ Tłumaczenie:
|
||||
|
||||
Ten dokument opisuje klienta rozmów WeeChat, który jest częścią WeeChat.
|
||||
|
||||
Najnowsza wersja tego dokumentu znajduje się na tej stronie:
|
||||
https://weechat.org/doc
|
||||
// TRANSLATION MISSING
|
||||
Latest version of this document can be found on
|
||||
https://weechat.org/doc/[this page ^↗^,window=_blank].
|
||||
|
||||
|
||||
[[introduction]]
|
||||
@@ -67,7 +68,7 @@ funkcji API, może to prowadzić to awarii WeeChat. +
|
||||
Jeśli coś musi zostać wykonane w tle, można użyć funkcji `+hook_process+`.
|
||||
Zobacz przykład w rozdziale <<hook_process,Wykonanie procesu w tle>> oraz
|
||||
dokumentację do funkcji `+hook_process+` w
|
||||
link:weechat_plugin_api.en.html#_hook_process[Opisu API wtyczek WeeChat] (Angielski).
|
||||
link:weechat_plugin_api.en.html#_hook_process[Opisu API wtyczek WeeChat ^↗^,window=_blank] (Angielski).
|
||||
|
||||
[[languages_specificities]]
|
||||
=== Specyfika języków
|
||||
@@ -80,7 +81,7 @@ link:weechat_plugin_api.en.html#_hook_process[Opisu API wtyczek WeeChat] (Angiel
|
||||
|
||||
WeeChat definiuje moduł `weechat`, który należy zaimportowac poprzez `import weechat`. +
|
||||
Szkielet API WeeChat dla języka Python dostępny jest w repozytorium:
|
||||
https://raw.githubusercontent.com/weechat/weechat/master/src/plugins/python/weechat.pyi[weechat.pyi].
|
||||
https://raw.githubusercontent.com/weechat/weechat/master/src/plugins/python/weechat.pyi[weechat.pyi ^↗^,window=_blank].
|
||||
|
||||
[[python_functions]]
|
||||
===== Funkcje
|
||||
@@ -104,38 +105,38 @@ dlatego callback może otrzymać ciąc typu `str` lub `bytes` (lista nie jest pe
|
||||
|===
|
||||
| Funkcja API | Argumenty | Przykłady | Opis
|
||||
|
||||
| hook_modifier |
|
||||
irc_in_yyy |
|
||||
pass:[irc_in_privmsg] +
|
||||
pass:[irc_in_notice] |
|
||||
Wiadomość otrzymana przez wtyczkę IRC, zanim jest zdekodowana do UTF-8
|
||||
| hook_modifier
|
||||
| irc_in_yyy
|
||||
| pass:[irc_in_privmsg] +
|
||||
pass:[irc_in_notice]
|
||||
| Wiadomość otrzymana przez wtyczkę IRC, zanim jest zdekodowana do UTF-8
|
||||
(używana wewnętrznie) +
|
||||
+
|
||||
Zalecane jest używanie w zamian modyfikatora `+irc_in2_yyy+`, otrzymany ciąg
|
||||
jest zawsze poprawnym UTF-8. +
|
||||
Zobacz funkcję `+hook_modifier+` w
|
||||
link:weechat_plugin_api.en.html#_hook_modifier[Opiie API wtyczek WeeChat].
|
||||
link:weechat_plugin_api.en.html#_hook_modifier[Opiie API wtyczek WeeChat ^↗^,window=_blank].
|
||||
|
||||
| hook_signal |
|
||||
xxx,irc_out_yyy +
|
||||
xxx,irc_outtags_yyy |
|
||||
pass:[*,irc_out_privmsg] +
|
||||
| hook_signal
|
||||
| xxx,irc_out_yyy +
|
||||
xxx,irc_outtags_yyy
|
||||
| pass:[*,irc_out_privmsg] +
|
||||
pass:[*,irc_out_notice] +
|
||||
pass:[*,irc_outtags_privmsg] +
|
||||
pass:[*,irc_outtags_notice] |
|
||||
Wiadomość wysłana przez serwer IRC po zakodowaniu na kodowanie `encode`
|
||||
pass:[*,irc_outtags_notice]
|
||||
| Wiadomość wysłana przez serwer IRC po zakodowaniu na kodowanie `encode`
|
||||
zdefiniowane przez użytkownika (jeśli inne niż `UTF-8`). +
|
||||
+
|
||||
Zaleca się użycie w zamian sygnału `+xxx,irc_out1_yyy+`,otrzymany ciąg jest
|
||||
zawsze poprawnym UTF-8. +
|
||||
Zobacz funkcję `+hook_signal+` w
|
||||
link:weechat_plugin_api.en.html#_hook_modifier[Opiie API wtyczek WeeChat].
|
||||
link:weechat_plugin_api.en.html#_hook_modifier[Opiie API wtyczek WeeChat ^↗^,window=_blank].
|
||||
|
||||
| hook_process +
|
||||
hook_process_hashtable |
|
||||
- |
|
||||
- |
|
||||
Wynik komendy wysyłany do callbacka, może zawierać niepoprawne dane UTF-8.
|
||||
hook_process_hashtable
|
||||
| -
|
||||
| -
|
||||
| Wynik komendy wysyłany do callbacka, może zawierać niepoprawne dane UTF-8.
|
||||
|
||||
|===
|
||||
|
||||
@@ -382,7 +383,7 @@ dowiązanie w katalogu _autoload_.
|
||||
== Różnice pomiędzy API dla C
|
||||
|
||||
API skryptów jest prawie takie same jak API dla wtyczek pisanych w C.
|
||||
Możesz zajrzeć do link:weechat_plugin_api.en.html[Opisu API wtyczek WeeChat] (Angielski)
|
||||
Możesz zajrzeć do link:weechat_plugin_api.en.html[Opisu API wtyczek WeeChat ^↗^,window=_blank] (Angielski)
|
||||
po więcej informacji na temat każdej z funkcji API: prototyp, argumenty,
|
||||
zwracane wartości, przykłady.
|
||||
|
||||
@@ -549,7 +550,7 @@ weechat_hook_timer(1000, 0, 1, $timer_cb, 'test');
|
||||
== API skryptów
|
||||
|
||||
Więcej informacji o funkcjach w API, znajdziesz w
|
||||
link:weechat_plugin_api.en.html[Opisu API wtyczek WeeChat] (Angielski).
|
||||
link:weechat_plugin_api.en.html[Opisu API wtyczek WeeChat ^↗^,window=_blank] (Angielski).
|
||||
|
||||
[[script_api_functions]]
|
||||
=== Fukcje
|
||||
@@ -560,14 +561,14 @@ Lista funkcji w API skryptów:
|
||||
|===
|
||||
| Kategoria | Funkcje
|
||||
|
||||
| ogólne |
|
||||
register
|
||||
| ogólne
|
||||
| register
|
||||
|
||||
| wtyczki |
|
||||
plugin_get_name
|
||||
| wtyczki
|
||||
| plugin_get_name
|
||||
|
||||
| ciągi |
|
||||
charset_set +
|
||||
| ciągi
|
||||
| charset_set +
|
||||
iconv_to_internal +
|
||||
iconv_from_internal +
|
||||
gettext +
|
||||
@@ -586,13 +587,13 @@ Lista funkcji w API skryptów:
|
||||
string_eval_expression +
|
||||
string_eval_path_home
|
||||
|
||||
| katalogi |
|
||||
mkdir_home +
|
||||
| katalogi
|
||||
| mkdir_home +
|
||||
mkdir +
|
||||
mkdir_parents
|
||||
|
||||
| przechowywane listy |
|
||||
list_new +
|
||||
| przechowywane listy
|
||||
| list_new +
|
||||
list_add +
|
||||
list_search +
|
||||
list_search_pos +
|
||||
@@ -608,8 +609,8 @@ Lista funkcji w API skryptów:
|
||||
list_remove_all +
|
||||
list_free
|
||||
|
||||
| pliki konfiguracyjne |
|
||||
config_new +
|
||||
| pliki konfiguracyjne
|
||||
| config_new +
|
||||
config_new_section +
|
||||
config_search_section +
|
||||
config_new_option +
|
||||
@@ -646,12 +647,12 @@ Lista funkcji w API skryptów:
|
||||
config_set_desc_plugin +
|
||||
config_unset_plugin
|
||||
|
||||
| przypisania klawiszy |
|
||||
key_bind +
|
||||
| przypisania klawiszy
|
||||
| key_bind +
|
||||
key_unbind
|
||||
|
||||
| wyświetlanie |
|
||||
prefix +
|
||||
| wyświetlanie
|
||||
| prefix +
|
||||
color +
|
||||
print (dla pythona: prnt) +
|
||||
print_date_tags (dla pythona: prnt_date_tags) +
|
||||
@@ -659,8 +660,8 @@ Lista funkcji w API skryptów:
|
||||
print_y_date_tags (dla pythona: prnt_y_date_tags) +
|
||||
log_print
|
||||
|
||||
| hooks |
|
||||
hook_command +
|
||||
| hooks
|
||||
| hook_command +
|
||||
hook_command_run +
|
||||
hook_timer +
|
||||
hook_fd +
|
||||
@@ -685,8 +686,8 @@ Lista funkcji w API skryptów:
|
||||
unhook +
|
||||
unhook_all
|
||||
|
||||
| bufory |
|
||||
buffer_new +
|
||||
| bufory
|
||||
| buffer_new +
|
||||
buffer_new_props +
|
||||
current_buffer +
|
||||
buffer_search +
|
||||
@@ -702,16 +703,16 @@ Lista funkcji w API skryptów:
|
||||
buffer_string_replace_local_var +
|
||||
buffer_match_list
|
||||
|
||||
| okna |
|
||||
current_window +
|
||||
| okna
|
||||
| current_window +
|
||||
window_search_with_buffer +
|
||||
window_get_integer +
|
||||
window_get_string +
|
||||
window_get_pointer +
|
||||
window_set_title
|
||||
|
||||
| lista nicków |
|
||||
nicklist_add_group +
|
||||
| lista nicków
|
||||
| nicklist_add_group +
|
||||
nicklist_search_group +
|
||||
nicklist_add_nick +
|
||||
nicklist_search_nick +
|
||||
@@ -727,8 +728,8 @@ Lista funkcji w API skryptów:
|
||||
nicklist_nick_get_pointer +
|
||||
nicklist_nick_set
|
||||
|
||||
| paski |
|
||||
bar_item_search +
|
||||
| paski
|
||||
| bar_item_search +
|
||||
bar_item_new +
|
||||
bar_item_update +
|
||||
bar_item_remove +
|
||||
@@ -738,23 +739,23 @@ Lista funkcji w API skryptów:
|
||||
bar_update +
|
||||
bar_remove
|
||||
|
||||
| komendy |
|
||||
command +
|
||||
| komendy
|
||||
| command +
|
||||
command_options
|
||||
|
||||
| dopełnienia |
|
||||
completion_new +
|
||||
| dopełnienia
|
||||
| completion_new +
|
||||
completion_search +
|
||||
completion_get_string +
|
||||
completion_list_add +
|
||||
completion_free
|
||||
|
||||
| informacje |
|
||||
info_get +
|
||||
| informacje
|
||||
| info_get +
|
||||
info_get_hashtable
|
||||
|
||||
| infolisty |
|
||||
infolist_new +
|
||||
| infolisty
|
||||
| infolist_new +
|
||||
infolist_new_item +
|
||||
infolist_new_var_integer +
|
||||
infolist_new_var_string +
|
||||
@@ -772,8 +773,8 @@ Lista funkcji w API skryptów:
|
||||
infolist_time +
|
||||
infolist_free
|
||||
|
||||
| hdata |
|
||||
hdata_get +
|
||||
| hdata
|
||||
| hdata_get +
|
||||
hdata_get_var_offset +
|
||||
hdata_get_var_type_string +
|
||||
hdata_get_var_array_size +
|
||||
@@ -794,8 +795,8 @@ Lista funkcji w API skryptów:
|
||||
hdata_update +
|
||||
hdata_get_string
|
||||
|
||||
| uaktualnienie |
|
||||
upgrade_new +
|
||||
| uaktualnienie
|
||||
| upgrade_new +
|
||||
upgrade_write_object +
|
||||
upgrade_read +
|
||||
upgrade_close
|
||||
@@ -810,13 +811,13 @@ Lista stałych w API skryptów:
|
||||
|===
|
||||
| Kategoria | Stałe
|
||||
|
||||
| zwracane kody |
|
||||
`WEECHAT_RC_OK` (liczba całkowita) +
|
||||
| zwracane kody
|
||||
| `WEECHAT_RC_OK` (liczba całkowita) +
|
||||
`WEECHAT_RC_OK_EAT` (liczba całkowita) +
|
||||
`WEECHAT_RC_ERROR` (liczba całkowita)
|
||||
|
||||
| pliki konfiguracyjne |
|
||||
`WEECHAT_CONFIG_READ_OK` (liczba całkowita) +
|
||||
| pliki konfiguracyjne
|
||||
| `WEECHAT_CONFIG_READ_OK` (liczba całkowita) +
|
||||
`WEECHAT_CONFIG_READ_MEMORY_ERROR` (liczba całkowita) +
|
||||
`WEECHAT_CONFIG_READ_FILE_NOT_FOUND` (liczba całkowita) +
|
||||
`WEECHAT_CONFIG_WRITE_OK` (liczba całkowita) +
|
||||
@@ -831,23 +832,23 @@ Lista stałych w API skryptów:
|
||||
`WEECHAT_CONFIG_OPTION_UNSET_OK_REMOVED` (liczba całkowita) +
|
||||
`WEECHAT_CONFIG_OPTION_UNSET_ERROR` (liczba całkowita)
|
||||
|
||||
| posortowane listy |
|
||||
`WEECHAT_LIST_POS_SORT` (ciąg) +
|
||||
| posortowane listy
|
||||
| `WEECHAT_LIST_POS_SORT` (ciąg) +
|
||||
`WEECHAT_LIST_POS_BEGINNING` (ciąg) +
|
||||
`WEECHAT_LIST_POS_END` (ciąg)
|
||||
|
||||
| hotlisty |
|
||||
`WEECHAT_HOTLIST_LOW` (ciąg) +
|
||||
| hotlisty
|
||||
| `WEECHAT_HOTLIST_LOW` (ciąg) +
|
||||
`WEECHAT_HOTLIST_MESSAGE` (ciąg) +
|
||||
`WEECHAT_HOTLIST_PRIVATE` (ciąg) +
|
||||
`WEECHAT_HOTLIST_HIGHLIGHT` (ciąg)
|
||||
|
||||
| hook process |
|
||||
`WEECHAT_HOOK_PROCESS_RUNNING` (liczba całkowita) +
|
||||
| hook process
|
||||
| `WEECHAT_HOOK_PROCESS_RUNNING` (liczba całkowita) +
|
||||
`WEECHAT_HOOK_PROCESS_ERROR` (liczba całkowita)
|
||||
|
||||
| hook connect |
|
||||
`WEECHAT_HOOK_CONNECT_OK` (liczba całkowita) +
|
||||
| hook connect
|
||||
| `WEECHAT_HOOK_CONNECT_OK` (liczba całkowita) +
|
||||
`WEECHAT_HOOK_CONNECT_ADDRESS_NOT_FOUND` (liczba całkowita) +
|
||||
`WEECHAT_HOOK_CONNECT_IP_ADDRESS_NOT_FOUND` (liczba całkowita) +
|
||||
`WEECHAT_HOOK_CONNECT_CONNECTION_REFUSED` (liczba całkowita) +
|
||||
@@ -859,8 +860,8 @@ Lista stałych w API skryptów:
|
||||
`WEECHAT_HOOK_CONNECT_TIMEOUT` (liczba całkowita) +
|
||||
`WEECHAT_HOOK_CONNECT_SOCKET_ERROR` (liczba całkowita)
|
||||
|
||||
| hook signal |
|
||||
`WEECHAT_HOOK_SIGNAL_STRING` (ciąg) +
|
||||
| hook signal
|
||||
| `WEECHAT_HOOK_SIGNAL_STRING` (ciąg) +
|
||||
`WEECHAT_HOOK_SIGNAL_INT` (ciąg) +
|
||||
`WEECHAT_HOOK_SIGNAL_POINTER` (ciąg)
|
||||
|===
|
||||
@@ -870,7 +871,7 @@ Lista stałych w API skryptów:
|
||||
|
||||
Ten rozdział przedstawia część częstych zadań z przykładami.
|
||||
Użyto tu tylko część rzeczy dostępnych w API, dokładne informacje można znaleźć
|
||||
w link:weechat_plugin_api.en.html[Opisu API wtyczek WeeChat] (Angielski).
|
||||
w link:weechat_plugin_api.en.html[Opisu API wtyczek WeeChat ^↗^,window=_blank] (Angielski).
|
||||
|
||||
[[buffers]]
|
||||
=== Bufory
|
||||
@@ -889,7 +890,7 @@ Przykłady:
|
||||
weechat.prnt("", "witaj")
|
||||
|
||||
# wyświetl "witaj" w głównym buforze, ale nie zapisuj tego do pliku z logiem
|
||||
# (tylko wersje >= 0.3.3)
|
||||
# (tylko wersje ≥ 0.3.3)
|
||||
weechat.prnt_date_tags("", 0, "no_log", "witaj")
|
||||
|
||||
# wyświetl "==>" przed wiadomością "witaj" w obecnym buforze
|
||||
@@ -1141,7 +1142,9 @@ weechat.hook_process("url:https://weechat.org/dev/info/stable/",
|
||||
----
|
||||
|
||||
[TIP]
|
||||
Wszystkie informacje o WeeChat dostępne są na stronie https://weechat.org/dev/info
|
||||
// TRANSLATION MISSING
|
||||
All infos available about WeeChat are on
|
||||
https://weechat.org/dev/info/[this page ^↗^,window=_blank].
|
||||
|
||||
Przykładowy transfer URL z opcją: pobranie najnowszej wersji rozwojowej WeeChat
|
||||
do pliku _/tmp/weechat-devel.tar.gz_:
|
||||
@@ -1160,7 +1163,7 @@ weechat.hook_process_hashtable("url:https://weechat.org/files/src/weechat-devel.
|
||||
|
||||
Więcej informacji o transferach URL i dostępnych opcjach dla funkcji
|
||||
`+hook_process+` oraz `+hook_process_hashtable+` można znaleźć w
|
||||
link:weechat_plugin_api.en.html#_hook_process[Opisu API wtyczek WeeChat] (Angielski).
|
||||
link:weechat_plugin_api.en.html#_hook_process[Opisu API wtyczek WeeChat ^↗^,window=_blank] (Angielski).
|
||||
|
||||
[[config_options]]
|
||||
=== Konfiguracja / opcje
|
||||
@@ -1318,61 +1321,61 @@ Wynik jest tabela hashy z następującymi kluczami
|
||||
|===
|
||||
| Klucz | Od wersji ^(1)^ | Opis | Przykład
|
||||
|
||||
| tags | 0.4.0 |
|
||||
Tagi w wiadomości (mogą byc puste). |
|
||||
`+time=2015-06-27T16:40:35.000Z+`
|
||||
| tags | 0.4.0
|
||||
| Tagi w wiadomości (mogą byc puste).
|
||||
| `+time=2015-06-27T16:40:35.000Z+`
|
||||
|
||||
| tag_xxx | 3.3 |
|
||||
Niewyescapowana wartość tagu "xxx" (jeden klucz per tag). |
|
||||
`+2015-06-27T16:40:35.000Z+`
|
||||
| tag_xxx | 3.3
|
||||
| Niewyescapowana wartość tagu "xxx" (jeden klucz per tag).
|
||||
| `+2015-06-27T16:40:35.000Z+`
|
||||
|
||||
| message_without_tags | 0.4.0 |
|
||||
Wiadomość bez tagów (jeśli nie ma tagów jest to to samo co wiadomość). |
|
||||
`+:nick!user@host PRIVMSG #weechat :hello!+`
|
||||
| message_without_tags | 0.4.0
|
||||
| Wiadomość bez tagów (jeśli nie ma tagów jest to to samo co wiadomość).
|
||||
| `+:nick!user@host PRIVMSG #weechat :hello!+`
|
||||
|
||||
| nick | 0.3.4 |
|
||||
Nick żródła. |
|
||||
`+nick+`
|
||||
| nick | 0.3.4
|
||||
| Nick żródła.
|
||||
| `+nick+`
|
||||
|
||||
| user | 2.7 |
|
||||
Oryginalny użytkownik. |
|
||||
`+user+`
|
||||
| user | 2.7
|
||||
| Oryginalny użytkownik.
|
||||
| `+user+`
|
||||
|
||||
| host | 0.3.4 |
|
||||
Host żródła (zawiera nick). |
|
||||
`+nick!user@host+`
|
||||
| host | 0.3.4
|
||||
| Host żródła (zawiera nick).
|
||||
| `+nick!user@host+`
|
||||
|
||||
| command | 0.3.4 |
|
||||
Komenda (_PRIVMSG_, _NOTICE_, ...). |
|
||||
`+PRIVMSG+`
|
||||
| command | 0.3.4
|
||||
| Komenda (_PRIVMSG_, _NOTICE_, ...).
|
||||
| `+PRIVMSG+`
|
||||
|
||||
| channel | 0.3.4 |
|
||||
Docelowy kanał. |
|
||||
`+#weechat+`
|
||||
| channel | 0.3.4
|
||||
| Docelowy kanał.
|
||||
| `+#weechat+`
|
||||
|
||||
| arguments | 0.3.4 |
|
||||
Argumenty komendy (zawierają kanał). |
|
||||
`+#weechat :hello!+`
|
||||
| arguments | 0.3.4
|
||||
| Argumenty komendy (zawierają kanał).
|
||||
| `+#weechat :hello!+`
|
||||
|
||||
| text | 1.3 |
|
||||
Tekst (na przykład wiadomość użytkownika). |
|
||||
`+hello!+`
|
||||
| text | 1.3
|
||||
| Tekst (na przykład wiadomość użytkownika).
|
||||
| `+hello!+`
|
||||
|
||||
| pos_command | 1.3 |
|
||||
The index of _command_ in message ("-1" if _command_ was not found). |
|
||||
`+47+`
|
||||
| pos_command | 1.3
|
||||
| The index of _command_ in message ("-1" if _command_ was not found).
|
||||
| `+47+`
|
||||
|
||||
| pos_arguments | 1.3 |
|
||||
The index of _arguments_ in message ("-1" if _arguments_ was not found). |
|
||||
`+55+`
|
||||
| pos_arguments | 1.3
|
||||
| The index of _arguments_ in message ("-1" if _arguments_ was not found).
|
||||
| `+55+`
|
||||
|
||||
| pos_channel | 1.3 |
|
||||
The index of _channel_ in message ("-1" if _channel_ was not found). |
|
||||
`+55+`
|
||||
| pos_channel | 1.3
|
||||
| The index of _channel_ in message ("-1" if _channel_ was not found).
|
||||
| `+55+`
|
||||
|
||||
| pos_text | 1.3 |
|
||||
The index of _text_ in message ("-1" if _text_ was not found). |
|
||||
`+65+`
|
||||
| pos_text | 1.3
|
||||
| The index of _text_ in message ("-1" if _text_ was not found).
|
||||
| `+65+`
|
||||
|===
|
||||
|
||||
[NOTE]
|
||||
|
||||
+692
-313
File diff suppressed because it is too large
Load Diff
+2
-2
@@ -39,7 +39,7 @@ from typing import Dict
|
||||
"""
|
||||
|
||||
CONSTANT_RE = (
|
||||
r" `(?P<constant>WEECHAT_[A-Z0-9_]+)` "
|
||||
r"( |\|) `(?P<constant>WEECHAT_[A-Z0-9_]+)` "
|
||||
r"\((?P<type>(string|integer))\)(?: \+)?"
|
||||
)
|
||||
|
||||
@@ -68,7 +68,7 @@ def print_stub_functions() -> None:
|
||||
with open(DOC_DIR / "weechat_plugin_api.en.adoc") as api_doc_file:
|
||||
api_doc = api_doc_file.read()
|
||||
for match in function_pattern.finditer(api_doc):
|
||||
url = f'https://weechat.org/doc/api#_{match["function"]}'
|
||||
url = f'https://weechat.org/doc/api/#_{match["function"]}'
|
||||
print(
|
||||
f"""\n
|
||||
def {match["function"]}{match["args"]}{match["return"]}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// tag::plugin_options[]
|
||||
Полное описание параметров плагинов доступно в документации по плагинам в
|
||||
https://weechat.org/doc[Руководстве пользователя WeeChat].
|
||||
https://weechat.org/doc/[Руководстве пользователя WeeChat].
|
||||
|
||||
С помощью плагина irc можно присоединиться ко временному серверу, используя URL вроде:
|
||||
|
||||
|
||||
@@ -68,4 +68,4 @@ include::includes/man.ru.adoc[tag=copyright]
|
||||
|
||||
== ПОДДЕРЖКА / СООБЩЕНИЯ ОБ ОШИБКАХ
|
||||
|
||||
Получить помощь или сообщить об ошибке: https://weechat.org/about/support
|
||||
Получить помощь или сообщить об ошибке: https://weechat.org/about/support/
|
||||
|
||||
@@ -63,4 +63,4 @@ include::includes/man.ru.adoc[tag=copyright]
|
||||
|
||||
== ПОДДЕРЖКА / СООБЩЕНИЯ ОБ ОШИБКАХ
|
||||
|
||||
Получить помощь или сообщить об ошибке: https://weechat.org/about/support
|
||||
Получить помощь или сообщить об ошибке: https://weechat.org/about/support/
|
||||
|
||||
@@ -214,10 +214,16 @@ are _irc.server.libera.xxx_.
|
||||
----
|
||||
|
||||
// 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).
|
||||
The `/autojoin` command lets you configure the _autojoin_ option easily
|
||||
(see `/help autojoin`).
|
||||
|
||||
// TRANSLATION MISSING
|
||||
You can also configure WeeChat to automatically update the _autojoin_ option
|
||||
when you join or leave channels:
|
||||
|
||||
----
|
||||
/set irc.server_default.autojoin_dynamic on
|
||||
----
|
||||
|
||||
Для очистки параметра из группы _server_ и установки значения по умолчанию
|
||||
используется следующая конструкция, например, для возврата к псевдонимам по
|
||||
@@ -234,6 +240,12 @@ the name of option).
|
||||
/set irc.server.libera.xxx value
|
||||
----
|
||||
|
||||
// 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).
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[[connect_to_irc_server]]
|
||||
== Connect to IRC server
|
||||
@@ -396,14 +408,16 @@ _foo_):
|
||||
|
||||
Для получения дополнительной информации введите команду `/help script`.
|
||||
|
||||
Список скриптов, доступных в WeeChat, можно просмотреть, введя команду `/script`, или на сайте:
|
||||
https://weechat.org/scripts
|
||||
// TRANSLATION MISSING
|
||||
A list of scripts is available in WeeChat with `/script` or on
|
||||
https://weechat.org/scripts/[this page ^↗^,window=_blank].
|
||||
|
||||
[[more_doc]]
|
||||
== Документация для дальнейшего чтения
|
||||
|
||||
Теперь вы можете пользоваться WeeChat и консультироваться с FAQ/documentation
|
||||
по возникающим вопросам:
|
||||
https://weechat.org/doc
|
||||
// TRANSLATION MISSING
|
||||
You can now use WeeChat and read
|
||||
https://weechat.org/doc/[FAQ/documentation ^↗^,window=_blank]
|
||||
for any other questions.
|
||||
|
||||
Приятной работы с WeeChat!
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
|
||||
| irc | irc_channels | канали на свим IRC серверима
|
||||
|
||||
| irc | irc_channels_autojoin | channels automatically joined on the current server (option "autojoin")
|
||||
| irc | irc_channels_autojoin | канали на текућем серверу којима се аутоматски приступа (опција „autojoin”)
|
||||
|
||||
| irc | irc_ignores_numbers | бројеви за дефинисана игнорисања
|
||||
|
||||
@@ -94,6 +94,8 @@
|
||||
|
||||
| tcl | tcl_script | листа скрипти
|
||||
|
||||
| trigger | trigger_add_arguments | аргументи за команду која додаје окидач: име окидача, куке, аргументи куке, услови куке, регуларни израз куке, команда куке, повратни кôд куке, накнадне акције
|
||||
|
||||
| trigger | trigger_hook_arguments | подразумевани аргументи за куку
|
||||
|
||||
| trigger | trigger_hook_command | подразумевана команда за куку
|
||||
@@ -148,6 +150,14 @@
|
||||
|
||||
| weechat | cursor_areas | површине („chat” или име траке) за слободно померање курсора
|
||||
|
||||
| weechat | custom_bar_item_add_arguments | аргументи за команду која додаје прилагођену ставку траке: име ставке, услови, садржај
|
||||
|
||||
| weechat | custom_bar_item_conditions | услови за прилагођену ставку траке
|
||||
|
||||
| weechat | custom_bar_item_contents | садржај за прилагођену ставку траке
|
||||
|
||||
| weechat | custom_bar_items_names | имена прилагођених ставки траке
|
||||
|
||||
| weechat | env_value | вредност променљиве окружења
|
||||
|
||||
| weechat | env_vars | променљиве окружења
|
||||
|
||||
@@ -124,31 +124,32 @@
|
||||
----
|
||||
|
||||
[[command_irc_autojoin]]
|
||||
* `+autojoin+`: configure the "autojoin" server option
|
||||
* `+autojoin+`: конфигурисање „autojoin” (аутоприступ) серверске опције
|
||||
|
||||
----
|
||||
/autojoin add [<channel1> [<channel2>...]]
|
||||
addraw <channel1>[,<channel2>...] [<key1>[,<key2>...]]
|
||||
del [<channel1> [<channel2>...]]
|
||||
save
|
||||
/autojoin add [<канал1> [<канал2>...]]
|
||||
addraw <канал1>[,<канал2>...] [<кључ1>[,<кључ2>...]]
|
||||
del [<канал1> [<канал2>...]]
|
||||
apply
|
||||
sort
|
||||
|
||||
add: add current channel or a list of channels (with optional keys) to the autojoin option; if you are on the channel and the key is not provided, the key is read in the channel
|
||||
addraw: use the IRC raw format (same as /join command): all channels separated by commas, optional keys separated by commas
|
||||
del: delete current channel or a list of channels from the autojoin option
|
||||
channel: channel name
|
||||
key: key for the channel
|
||||
save: save currently joined channels in the autojoin option
|
||||
sort: sort alphabetically channels in the autojoin option
|
||||
add: додаје текући канал или листу канала (са необавезним кључевима) у autojoin опцију; ако се налазите на каналу и не наведете кључ, он се чита са канала
|
||||
addraw: користи се IRC сирови формат (исто као за /join команду): сви канали су раздвојени запетама, небавезни кључеви су раздвојени запетама
|
||||
del: брише текући канал или листу канала из autojoin опције
|
||||
канал: име канала
|
||||
кључ: кључ за канал
|
||||
apply: поставља канале на које сте тренутно пријављени у autojoin опцију
|
||||
sort: сортира по абецеди канале у autojoin опцији
|
||||
|
||||
Examples:
|
||||
/autojoin add
|
||||
/autojoin add #test
|
||||
/autojoin add #chan1 #chan2
|
||||
/allchan /autojoin add
|
||||
/autojoin addraw #chan1,#chan2,#chan3 key1,key2
|
||||
/autojoin del
|
||||
/autojoin del #chan1
|
||||
/autojoin save
|
||||
/autojoin apply
|
||||
/autojoin sort
|
||||
----
|
||||
|
||||
@@ -1331,8 +1332,8 @@ stop: зауставља режим померања курсора
|
||||
----
|
||||
/debug list
|
||||
set <додатак> <ниво>
|
||||
dump [<додатак>]
|
||||
buffer|color|infolists|libs|certs|memory|tags|term|windows
|
||||
dump|hooks [<додатак>]
|
||||
buffer|certs|color|dirs|infolists|libs|memory|tags|term|windows
|
||||
mouse|cursor [verbose]
|
||||
hdata [free]
|
||||
time <команда>
|
||||
@@ -1342,15 +1343,15 @@ stop: зауставља режим померања курсора
|
||||
додатак: име додатка („core” за WeeChat језгро)
|
||||
ниво: дибаг ниво за додатак (0 = искључује дибаг)
|
||||
dump: чува садржај меморије у WeeChat лог фајл (исти садржај се записује када се програм WeeChat сруши)
|
||||
hooks: исписује инфо о кукама (са додатком: приказује детаљне информације о кукама које креира додатак)
|
||||
buffer: уписује у лог фајл садржај бафера као хексадецималне вредности
|
||||
certs: приказује број учитаних ауторитета сертификата којима се верује
|
||||
color: приказује инфо о тренутним паровима боја
|
||||
cursor: пребацује дибаг за режим померања курсора
|
||||
dirs: исписује директоријуме
|
||||
hdata: исписује инфо о hdata (са free: уклања све hdata из меморије)
|
||||
hooks: исписује инфо о кукама
|
||||
infolists: исписује инфо о инфолистама
|
||||
libs: исписује инфо о коришћеним спољним библиотекама
|
||||
certs: приказује број учитаних ауторитета сертификата којима се верује
|
||||
memory: исписује инфо о употреби меморије
|
||||
mouse: пребацује дибаг за миша
|
||||
tags: исписује ознаке за линије
|
||||
@@ -1408,28 +1409,30 @@ infolists: исписује инфо о инфолистама
|
||||
3. израчунати под-стринг (формат: „eval:xxx”)
|
||||
4. израчунати услов (формат: „eval_cond:xxx”)
|
||||
5. стринг са означеним карактерима (формат: „esc:xxx” или „\xxx”)
|
||||
6. стринг са карактерима за сакривање (формат: „hide:кар,стринг”)
|
||||
7. стринг са највише карактера (формат: „cut:макс,суфикс,стринг” или „cut:+макс,суфикс,стринг")
|
||||
6. стринг конвертован у мала слова (формат: "lower:xxx")
|
||||
7. стринг конвертован у велика слова (формат: "upper:xxx")
|
||||
8. стринг са карактерима за сакривање (формат: „hide:кар,стринг”)
|
||||
9. стринг са највише карактера (формат: „cut:макс,суфикс,стринг” или „cut:+макс,суфикс,стринг")
|
||||
или макс број карактера који се приказује на екрану (формат: „cutscr:макс,суфикс,стринг” или „cutscr:+макс,суфикс,стринг”)
|
||||
8. обрнути стринг (формат: „rev:xxx” или „revscr:xxx”)
|
||||
9. поновљени стринг (формат: „repeat:број,стринг”)
|
||||
10. дужина стринга (формат: „length:xxx” или „lengthscr:xxx”)
|
||||
11. подела стринга (формат: „split:број,сепаратори,заставице,xxx”)
|
||||
12. подела аргумената љуске (формат: „split_shell:број,xxx”)
|
||||
13. боја (формат: „color:xxx”, погледајте „Референтни приручник API додатака”, функција „color”)
|
||||
14. модификатор (формат: „modifier:име,подаци,стринг”)
|
||||
15. инфо (формат: „info:име,аргументи”, аргументи нису обавезни)
|
||||
16. base 16/32/64 шифриран/дешифрован стринг (формат: „base_encode:основа,xxx” или „base_decode:основа,xxx”)
|
||||
17. текући датум/време (формат: „date” или „date:формат”)
|
||||
18. променљива окружења (формат: „env:XXX”)
|
||||
19. тернарни оператор (формат: „if:услов?вредност_ако_је_тачно:вредност_ако_је_нетачно”)
|
||||
20. резултат израза са заградама и операторима + - * / // % ** (формат: „calc:xxx”)
|
||||
21. случајни целобројни број (формат: „random:мин,макс”)
|
||||
22. преведени стринг (формат: „translate:xxx”)
|
||||
23. дефиниција корисничке промонљиве (формат: „define:име,вредност”)
|
||||
24. опција (формат: „фајл.секција.опција”)
|
||||
25. локална променљива у баферу
|
||||
26. hdata име/променљива (вредност се аутоматски конвертује у стринг), „window” и „buffer” подразумевано показују на текући прозор/бафер.
|
||||
10. обрнути стринг (формат: „rev:xxx” или „revscr:xxx”)
|
||||
11. поновљени стринг (формат: „repeat:број,стринг”)
|
||||
12. дужина стринга (формат: „length:xxx” или „lengthscr:xxx”)
|
||||
13. подела стринга (формат: „split:број,сепаратори,заставице,xxx”)
|
||||
14. подела аргумената љуске (формат: „split_shell:број,xxx”)
|
||||
15. боја (формат: „color:xxx”, погледајте „Референтни приручник API додатака”, функција „color”)
|
||||
16. модификатор (формат: „modifier:име,подаци,стринг”)
|
||||
17. инфо (формат: „info:име,аргументи”, аргументи нису обавезни)
|
||||
18. base 16/32/64 шифриран/дешифрован стринг (формат: „base_encode:основа, xxx” или „base_decode:основа,xxx”)
|
||||
19. текући датум/време (формат: „date” или „date:формат”)
|
||||
20. променљива окружења (формат: „env:XXX”)
|
||||
21. тернарни оператор (формат: „if:услов?вредност_ако_је_тачно:вредност_ако_је_нетачно”)
|
||||
22. резултат израза са заградама и операторима + - * / // % ** (формат: „calc:xxx”)
|
||||
23. случајни целобројни број (формат: „random:мин,макс”)
|
||||
24. преведени стринг (формат: „translate:xxx”)
|
||||
25. дефиниција корисничке промонљиве (формат: „define:име,вредност”)
|
||||
26. опција (формат: „фајл.секција.опција”)
|
||||
27. локална променљива у баферу
|
||||
28. hdata име/променљива (вредност се аутоматски конвертује у стринг), „window” и „buffer” подразумевано показују на текући прозор/бафер.
|
||||
Формат за hdata може да буде једно од следећег:
|
||||
hdata.пром1.пром2...: почиње са hdata (показивач мора да буде познат), и пита променљиве једну за другом (могу да следе и остала hdata)
|
||||
hdata[листа].пром1.пром2...: почиње са hdata користећи листу/показивач/име показивача, на пример:
|
||||
@@ -1452,6 +1455,8 @@ infolists: исписује инфо о инфолистама
|
||||
/eval -n ${window.buffer.full_name} ==> core.weechat
|
||||
/eval -n ${window.buffer.number} ==> 1
|
||||
/eval -n ${\t} ==> <tab>
|
||||
/eval -n ${lower:TEST} ==> test
|
||||
/eval -n ${upper:test} ==> TEST
|
||||
/eval -n ${hide:-,${relay.network.password}} ==> --------
|
||||
/eval -n ${cut:3,+,test} ==> tes+
|
||||
/eval -n ${cut:+3,+,test} ==> te+
|
||||
@@ -1497,7 +1502,7 @@ infolists: исписује инфо о инфолистама
|
||||
add|addreplace <име> <бафер>[,<бафер>...] <ознаке> <регуларни_израз>
|
||||
rename <име> <ново_име>
|
||||
recreate <име>
|
||||
del <име>|-all
|
||||
del <име>|-all [<име>...]
|
||||
|
||||
list: исписује све филтере
|
||||
enable: укључује филтере (филтери су подразумевано укључени)
|
||||
@@ -1646,6 +1651,49 @@ addreplace: додаје или замењује постојећи филтер
|
||||
Ову команду користе тастерске пречице или додаци.
|
||||
----
|
||||
|
||||
[[command_weechat_item]]
|
||||
* `+item+`: управљање прилагођеним ставкама траке
|
||||
|
||||
----
|
||||
/item list
|
||||
add|addreplace <име> "<услови>" "<садржај>"
|
||||
rename <име> <ново_име>
|
||||
refresh <име> [<име>...]
|
||||
recreate <име>
|
||||
del <име>|-all
|
||||
|
||||
list: приказује све прилагођене ставке траке
|
||||
add: додаје прилагођену ставку траке
|
||||
addreplace: додаје или мења постојећу прилагођену ставку траке
|
||||
име: име прилагођене ставке траке
|
||||
услови: израчунати услови под којима се ставка траке приказује (на пример да се ставка траке прикаже само у одређеним баферима)
|
||||
садржај: садржај (израчунат, погледајте /help eval)
|
||||
rename: мења име прилагођене ставке траке
|
||||
refresh: ажурира садржај ставке у свим тракама у којима се ставка приказује; може да се освежи било која ставка: подразумеване ставке/ставке додатака/прилагођене ставке
|
||||
recreate: поставља унос командом која је употребљена да се уреди прилагођена ставка траке
|
||||
del: брише прилагођену ставку траке
|
||||
-all: брише све прилагођене ставке траке
|
||||
|
||||
Примери:
|
||||
додавање ставке са величином терминала, приказаном само у баферу чији је број = 1:
|
||||
/item add terminfo "${buffer.number} == 1" "term:${info:term_width}x${info:term_height}"
|
||||
додавање ставке са информацијама о баферу:
|
||||
/item add bufinfo "" "${buffer.number}:${buffer.name}${if:${buffer.zoomed}?(Z)}"
|
||||
додавање ставке са датумом/временом у формату „Дец 25, 12:34 +0100”, која се освежава сваки минут:
|
||||
/item add datetime "" "${date:%b %d, %H:%M %z}"
|
||||
/trigger add datetime_refresh timer "60000;60" "" "" "/item refresh datetime"
|
||||
додавање ставке са бројем линија у баферу (приказаних/укупно), која се освежава сваки пут када се прикаже нова линија или ако се промене филтриране линије:
|
||||
/item add lines_count "" "${calc:${buffer.lines.lines_count}-${buffer.lines.lines_hidden}}/${buffer.lines.lines_count} lines"
|
||||
/trigger add lines_count_refresh_print print "" "" "" "/item refresh lines_count"
|
||||
/trigger add lines_count_refresh_signal signal "window_switch;buffer_switch;buffer_lines_hidden;filters_*" "" "" "/item refresh lines_count"
|
||||
форсирано освежавање ставке „lines_count”:
|
||||
/item refresh lines_count
|
||||
рекреирање ставке „lines_count” са другачијим условима или садржајем:
|
||||
/item recreate lines_count
|
||||
брисање ставке „lines_count”:
|
||||
/item del lines_count
|
||||
----
|
||||
|
||||
[[command_weechat_key]]
|
||||
* `+key+`: везивање/развезивање тастера
|
||||
|
||||
@@ -2846,7 +2894,7 @@ autoload: учитавање свих скрипти из „autoload” дир
|
||||
- протокол „weechat” (име се не користи)
|
||||
|
||||
„irc” протокол дозвољава да се било који IRC клијент (укључујући и сам WeeChat) повеже на порт.
|
||||
„weechat” протокол дозвољава да се на порт повеже удаљени интерфејс, погледајте листу овде: https://weechat.org/about/interfaces
|
||||
„weechat” протокол дозвољава да се на порт повеже удаљени интерфејс, погледајте листу овде: https://weechat.org/about/interfaces/
|
||||
|
||||
Без аргумента ова команда отвара бафер са листом релеј клијената.
|
||||
|
||||
|
||||
@@ -2691,7 +2691,7 @@
|
||||
** подразумевана вредност: `+""+`
|
||||
|
||||
* [[option_irc.server_default.autojoin_dynamic]] *irc.server_default.autojoin_dynamic*
|
||||
** опис: pass:none[set automatically the "autojoin" option according to the channels you manually join and part with commands /join and /part]
|
||||
** опис: pass:none[аутоматско постављање опције „autojoin” према каналима којима ручно приступате и које науштате командама /join и /part]
|
||||
** тип: логичка
|
||||
** вредности: on, off
|
||||
** подразумевана вредност: `+off+`
|
||||
@@ -3919,7 +3919,7 @@
|
||||
** подразумевана вредност: `+off+`
|
||||
|
||||
* [[option_fset.look.condition_catch_set]] *fset.look.condition_catch_set*
|
||||
** опис: pass:none[услов којим се хвата /set команда и приказују резултати у fset баферу; могу да се користе следеће променљиве: ${name} (име опције које се даје /set команди), ${count} (број аргумената пронађених у аргументу команде /set ); празан стринг искључује хватање /set команде; ако је вредност „1”, fset бафер се увек користи са /set командом]
|
||||
** опис: pass:none[услов којим се хвата /set команда и приказују резултати у fset баферу; могу да се користе следеће променљиве: ${name} (име опције које се даје /set команди), ${count} (број аргумената пронађених у аргументу команде /set); празан стринг искључује хватање /set команде; ако је вредност „1”, fset бафер се увек користи са /set командом]
|
||||
** тип: стринг
|
||||
** вредности: било који стринг
|
||||
** подразумевана вредност: `+"${count} >= 1"+`
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// tag::plugin_options[]
|
||||
За комплетну документацију у вези опција додатака, молимо вас да погледате документацију за додатке у https://weechat.org/doc[WeeChat корисничком упутству].
|
||||
За комплетну документацију у вези опција додатака, молимо вас да погледате документацију за додатке у https://weechat.org/doc/[WeeChat корисничком упутству].
|
||||
|
||||
irc додатком се овако повезујете са привременим сервером датим URL адресом:
|
||||
|
||||
|
||||
@@ -57,4 +57,4 @@ include::includes/man.sr.adoc[tag=copyright]
|
||||
|
||||
== ПОДРШКА / ПРИЈАВА БАГОВА
|
||||
|
||||
За помоћ или пријаву бага: https://weechat.org/about/support
|
||||
За помоћ или пријаву бага: https://weechat.org/about/support/
|
||||
|
||||
@@ -55,4 +55,4 @@ include::includes/man.sr.adoc[tag=copyright]
|
||||
|
||||
== ПОДРШКА / ПРИЈАВА БАГОВА
|
||||
|
||||
За помоћ или пријаву бага: https://weechat.org/about/support
|
||||
За помоћ или пријаву бага: https://weechat.org/about/support/
|
||||
|
||||
+73
-76
@@ -15,7 +15,8 @@
|
||||
|
||||
Ово упутство описује WeeChat чет клијент и део је програма WeeChat.
|
||||
|
||||
Последња верзија овог документа може да се нађе на следећој страници: https://weechat.org/doc
|
||||
Последња верзија овог документа може да се пронађе на
|
||||
https://weechat.org/doc/[овој страници ^↗^,window=_blank].
|
||||
|
||||
|
||||
[[introduction]]
|
||||
@@ -34,7 +35,8 @@ WeeChat (Wee Enhanced Environment for Chat) је бесплатни чет кл
|
||||
[[repositories]]
|
||||
== Репозиторијуми
|
||||
|
||||
WeeChat репозиторијуми се налазе на GitHub организацији „weechat”: https://github.com/weechat
|
||||
WeeChat репозиторијуми се налазе на GitHub организацији
|
||||
https://github.com/weechat[weechat ^↗^,window=_blank].
|
||||
|
||||
Листа репозиторијума:
|
||||
|
||||
@@ -45,7 +47,7 @@ scripts::
|
||||
_званичне_ скрипте које су предате на weechat.org
|
||||
|
||||
weechat.org::
|
||||
извор WeeChat веб сајта: https://weechat.org/
|
||||
изворни кôд https://weechat.org/[WeeChat вебсајта ^↗^,window=_blank]
|
||||
|
||||
weercd::
|
||||
IRC сервер за тестирање
|
||||
@@ -284,8 +286,7 @@ WeeChat „језгро” се налази у следећим директо
|
||||
| irc-ignore.c | IRC Ignore.
|
||||
| irc-info.c | IRC info/infolists/hdata.
|
||||
| irc-input.c | Унос команди/текста.
|
||||
// TRANSLATION MISSING
|
||||
| irc-join.c | Functions for list of channels to join.
|
||||
| irc-join.c | Функције за листе канала којима се приступа.
|
||||
| irc-message.c | Функције за манипулисање IRC порукама.
|
||||
| irc-mode.c | Функције у вези режима канала/надимка.
|
||||
| irc-modelist.c | Листе режима IRC канала (+b, +e, +I, ...).
|
||||
@@ -298,8 +299,7 @@ WeeChat „језгро” се налази у следећим директо
|
||||
| irc-sasl.c | SASL аутентификација са IRC сервером.
|
||||
| irc-server.c | У/И комуникација са IRC сервером.
|
||||
| irc-tag.c | Функције за манипулацију ознакама IRC порука.
|
||||
// TRANSLATION MISSING
|
||||
| irc-typing.c | Typing status.
|
||||
| irc-typing.c | Статус куцања.
|
||||
| irc-upgrade.c | Чување/обнављање IRC података када се ажурира програм WeeChat.
|
||||
| javascript/ | JavaScript додатак.
|
||||
| weechat-js.cpp | Главне JavaScript функције (учитавање/уклањање скрипти, извршавање JavaScript кода).
|
||||
@@ -424,8 +424,8 @@ WeeChat „језгро” се налази у следећим директо
|
||||
| test-core-utf8.cpp | Тестови: UTF-8.
|
||||
| test-core-util.cpp | Тестови: помоћне функције.
|
||||
| gui/ | Корен unit тестова интерфејса.
|
||||
// TRANSLATION MISSING
|
||||
| test-gui-buffer.cpp | Tests: buffer functions.
|
||||
| test-gui-bar-window.cpp | Тестови: функције прозора траке.
|
||||
| test-gui-buffer.cpp | Тестови: бафер функције.
|
||||
| test-gui-chat.cpp | Тестови: чет функције.
|
||||
| test-gui-color.cpp | Тестови: боје.
|
||||
| test-gui-line.cpp | Тестови: линије.
|
||||
@@ -437,20 +437,16 @@ WeeChat „језгро” се налази у следећим директо
|
||||
| test-irc-color.cpp | Тестови: IRC боје.
|
||||
| test-irc-config.cpp | Тестови: IRC конфигурација.
|
||||
| test-irc-ignore.cpp | Тестови: IRC игнорисања.
|
||||
// TRANSLATION MISSING
|
||||
| test-irc-join.cpp | Tests: IRC join functions.
|
||||
| test-irc-join.cpp | Тестови: IRC функције приступања.
|
||||
| test-irc-message.cpp | Тестови: IRC поруке.
|
||||
| test-irc-mode.cpp | Тестови: IRC режими.
|
||||
| test-irc-nick.cpp | Тестови: IRC надимци.
|
||||
| test-irc-protocol.cpp | Тестови: IRC протокол.
|
||||
| test-irc-sasl.cpp | Тестови: SASL аутентификација са IRC протоколом.
|
||||
| test-irc-server.cpp | Тестови: IRC сервер.
|
||||
// TRANSLATION MISSING
|
||||
| test-irc-tag.cpp | Tests: IRC message tags.
|
||||
// TRANSLATION MISSING
|
||||
| logger/ | Root of unit tests for logger plugin.
|
||||
// TRANSLATION MISSING
|
||||
| test-logger-backlog.cpp | Tests: logger backlog.
|
||||
| test-irc-tag.cpp | Тестови: IRC ознаке порука.
|
||||
| logger/ | Корен unit тестива за logger додатак.
|
||||
| test-logger-backlog.cpp | Тестови: logger заостатак.
|
||||
| trigger/ | Корен unit тестова за окидач додатак.
|
||||
| test-trigger.cpp | Тестови: окидачи.
|
||||
| test-trigger-config.cpp | Тестови: конфигурација окидача.
|
||||
@@ -474,13 +470,13 @@ WeeChat „језгро” се налази у следећим директо
|
||||
| docgen.py | Python скрипта која изграђује ауто-генерисане фајлу у директоријуму _includes/_ (погледајте ниже).
|
||||
| XX/ | Документација за језик XX (језици: en, fr, de, it, ...).
|
||||
| weechat.1.XX.adoc | Man страница(`man weechat`).
|
||||
| weechat_dev.XX.adoc | link:weechat_dev.sr.html[Водич за програмере] (овај документ).
|
||||
| weechat_faq.XX.adoc | link:weechat_faq.sr.html[ЧПП].
|
||||
| weechat_plugin_api.XX.adoc | link:weechat_plugin_api.sr.html[Референца за API додатака].
|
||||
| weechat_quickstart.XX.adoc | link:weechat_quickstart.sr.html[Водич за брзи почетак].
|
||||
| weechat_relay_protocol.XX.adoc | link:weechat_relay_protocol.sr.html[Релеј протокол] (за удаљене интерфејсе).
|
||||
| weechat_scripting.XX.adoc | link:weechat_scripting.sr.html[Водич за скриптовање].
|
||||
| weechat_user.XX.adoc | link:weechat_user.sr.html[Корисничко упутство].
|
||||
| weechat_dev.XX.adoc | link:weechat_dev.sr.html[Водич за програмере ^↗^,window=_blank] (овај документ).
|
||||
| weechat_faq.XX.adoc | link:weechat_faq.sr.html[ЧПП ^↗^,window=_blank].
|
||||
| weechat_plugin_api.XX.adoc | link:weechat_plugin_api.sr.html[Референца за API додатака ^↗^,window=_blank].
|
||||
| weechat_quickstart.XX.adoc | link:weechat_quickstart.sr.html[Водич за брзи почетак ^↗^,window=_blank].
|
||||
| weechat_relay_protocol.XX.adoc | link:weechat_relay_protocol.sr.html[Релеј протокол ^↗^,window=_blank] (за удаљене интерфејсе).
|
||||
| weechat_scripting.XX.adoc | link:weechat_scripting.sr.html[Водич за скриптовање ^↗^,window=_blank].
|
||||
| weechat_user.XX.adoc | link:weechat_user.sr.html[Корисничко упутство ^↗^,window=_blank].
|
||||
| includes/ | Фајлови укључени у документацију.
|
||||
| autogen_api_completions.XX.adoc | Ауто-генерисани фајл за Референцу API додатака: довршавања (*НИКАДА* не ажурирајте ручно!).
|
||||
| autogen_api_hdata.XX.adoc | Ауто-генерисани фајл за Референцу API додатака: hdata (*НИКАДА* не ажурирајте ручно!).
|
||||
@@ -735,7 +731,7 @@ new_hook_fd = malloc (sizeof (*new_hook_fd));
|
||||
[[coding_python_style]]
|
||||
=== Python стил
|
||||
|
||||
Погледајте https://www.python.org/dev/peps/pep-0008/
|
||||
Погледајте https://www.python.org/dev/peps/pep-0008/[PEP 8 ^↗^,window=_blank].
|
||||
|
||||
[[core_internals]]
|
||||
== Интерне ствари језгра
|
||||
@@ -1090,7 +1086,7 @@ server->hook_timer_sasl = weechat_hook_timer (timeout * 1000,
|
||||
[[git_repository]]
|
||||
=== Git репозиторијум
|
||||
|
||||
Git репозиторијум се налази на следећој URL адреси: https://github.com/weechat/weechat
|
||||
Гит репозиторијум се налази на https://github.com/weechat/weechat[GitHub ^↗^,window=_blank].
|
||||
|
||||
Било каква закрпа бага или нова могућност мора да да се уради над мастер граном, пожељно је преко GitHub pull захтева. Закрпа такође може да се пошаље и имејлом (направљена са `git diff` или `git format-patch`).
|
||||
|
||||
@@ -1106,8 +1102,8 @@ Git репозиторијум се налази на следећој URL ад
|
||||
|===
|
||||
| Компонента | Фајлови | Опис
|
||||
|
||||
| core |
|
||||
AUTHORS.adoc +
|
||||
| core
|
||||
| AUTHORS.adoc +
|
||||
ChangeLog.adoc +
|
||||
Contributing.adoc +
|
||||
.github/FUNDING.yml +
|
||||
@@ -1119,76 +1115,76 @@ Git репозиторијум се налази на следећој URL ад
|
||||
src/core/* +
|
||||
src/gui/* +
|
||||
version.sh +
|
||||
weechat.desktop |
|
||||
WeeChat језгро
|
||||
weechat.desktop
|
||||
| WeeChat језгро
|
||||
|
||||
| build |
|
||||
autogen.sh +
|
||||
| build
|
||||
| autogen.sh +
|
||||
CMakeLists.txt +
|
||||
cmake/* +
|
||||
configure.ac +
|
||||
Makefile.am +
|
||||
tools/* +
|
||||
weechat.cygport.in +
|
||||
weechat.spec |
|
||||
Изградња
|
||||
weechat.spec
|
||||
| Изградња
|
||||
|
||||
| ci |
|
||||
.github/workflows/* |
|
||||
Непрекидна интеграција
|
||||
| ci
|
||||
| .github/workflows/*
|
||||
| Непрекидна интеграција
|
||||
|
||||
| debian |
|
||||
debian-devel/* +
|
||||
debian-stable/* |
|
||||
Debian паковање
|
||||
| debian
|
||||
| debian-devel/* +
|
||||
debian-stable/*
|
||||
| Debian паковање
|
||||
|
||||
| tests |
|
||||
tests/* |
|
||||
Тестови
|
||||
| tests
|
||||
| tests/*
|
||||
| Тестови
|
||||
|
||||
| doc |
|
||||
doc/* |
|
||||
Општа ажурирања документације, на пример за изградњу
|
||||
| doc
|
||||
| doc/*
|
||||
| Општа ажурирања документације, на пример за изградњу
|
||||
|
||||
| doc/man |
|
||||
doc/xx/weechat.1.xx.adoc +
|
||||
doc/xx/weechat-headless.1.xx.adoc |
|
||||
Man странице
|
||||
| doc/man
|
||||
| doc/xx/weechat.1.xx.adoc +
|
||||
doc/xx/weechat-headless.1.xx.adoc
|
||||
| Man странице
|
||||
|
||||
| doc/faq |
|
||||
doc/xx/weechat_faq.xx.adoc |
|
||||
Често постављана питања (ЧПП)
|
||||
| doc/faq
|
||||
| doc/xx/weechat_faq.xx.adoc
|
||||
| Често постављана питања (ЧПП)
|
||||
|
||||
| doc/quickstart |
|
||||
doc/xx/weechat_quickstart.xx.adoc |
|
||||
Водич за брзи почетак
|
||||
| doc/quickstart
|
||||
| doc/xx/weechat_quickstart.xx.adoc
|
||||
| Водич за брзи почетак
|
||||
|
||||
| doc/user |
|
||||
doc/xx/weechat_user.xx.adoc |
|
||||
Корисничко упутство
|
||||
| doc/user
|
||||
| doc/xx/weechat_user.xx.adoc
|
||||
| Корисничко упутство
|
||||
|
||||
| doc/scripting |
|
||||
doc/xx/weechat_scripting.xx.adoc |
|
||||
Водич за скриптовање
|
||||
| doc/scripting
|
||||
| doc/xx/weechat_scripting.xx.adoc
|
||||
| Водич за скриптовање
|
||||
|
||||
| doc/api |
|
||||
doc/xx/weechat_plugin_api.xx.adoc |
|
||||
Референтни приручник API додатака
|
||||
| doc/api
|
||||
| doc/xx/weechat_plugin_api.xx.adoc
|
||||
| Референтни приручник API додатака
|
||||
|
||||
| doc/relay |
|
||||
doc/xx/weechat_relay_protocol.xx.adoc |
|
||||
Релеј протокол
|
||||
| doc/relay
|
||||
| doc/xx/weechat_relay_protocol.xx.adoc
|
||||
| Релеј протокол
|
||||
|
||||
| doc/dev |
|
||||
doc/xx/weechat_dev.en.adoc |
|
||||
Водич за програмере
|
||||
| doc/dev
|
||||
| doc/xx/weechat_dev.en.adoc
|
||||
| Водич за програмере
|
||||
|
||||
| irc +
|
||||
python +
|
||||
relay +
|
||||
… |
|
||||
src/plugins/<име>/* |
|
||||
Додатак
|
||||
…
|
||||
| src/plugins/<име>/*
|
||||
| Додатак
|
||||
|
||||
|===
|
||||
|
||||
@@ -1233,7 +1229,8 @@ $ make translations && make update-po
|
||||
|
||||
Затим можете да уређујте .po фајлове (ако можете да преводите на језик).
|
||||
|
||||
Када завршите, *морате* да проверите свој фајл скриптом _msgcheck.py_ (https://github.com/flashcode/msgcheck):
|
||||
Када завршите, *морате* да проверите свој фајл са
|
||||
https://github.com/flashcode/msgcheck[msgcheck ^↗^,window=_blank]:
|
||||
|
||||
----
|
||||
$ msgcheck.py xx.po
|
||||
|
||||
+49
-34
@@ -34,7 +34,8 @@ toc::[]
|
||||
|
||||
Јер WeeChat уопште не оптерећује систем и доноси иновативне могућности.
|
||||
|
||||
Више информација на WeeChat страници са могућностима: https://weechat.org/about/features
|
||||
Више информација у вези са WeeChat је на
|
||||
https://weechat.org/about/features/[страници са могућностима ^↗^,window=_blank].
|
||||
|
||||
[[compilation_install]]
|
||||
== Компајлирање / инсталација
|
||||
@@ -42,21 +43,22 @@ toc::[]
|
||||
[[gui]]
|
||||
=== Чуо сам о многим ГКИ за WeeChat. Како да их компајлирам/користим?
|
||||
|
||||
Доступни су неки удаљени ГКИ, погледајте страницу са удаљеним интерфејсима: https://weechat.org/about/interfaces
|
||||
Доступни су неки удаљени ГКИ, погледајте
|
||||
https://weechat.org/about/interfaces/[страницу са удаљеним ГКИ ^↗^,window=_blank].
|
||||
|
||||
[[compile_git]]
|
||||
=== Након клонирања git репозиторијума не могу да компајлирам програм WeeChat, зашто?
|
||||
|
||||
Препоручени начин да за компајлирање програма WeeChat је помоћу link:weechat_user.sr.html#compile_with_cmake[CMake].
|
||||
Препоручени начин да за компајлирање програма WeeChat је помоћу link:weechat_user.sr.html#compile_with_cmake[CMake ^↗^,window=_blank].
|
||||
|
||||
Ако компајлирате са link:weechat_user.sr.html#compile_with_autotools[autotools] (а не са CMake), проверите да ли поседујете најновију верзију пакета autoconf и automake.
|
||||
Ако компајлирате са link:weechat_user.sr.html#compile_with_autotools[autotools ^↗^,window=_blank] (а не са CMake), проверите да ли поседујете најновију верзију пакета autoconf и automake.
|
||||
|
||||
Други начин је да се инсталира „devel package”, што тражи мање зависности. Овај пакет се се изграђује скоро свакодневно користећи git репозиторијум. Приметите да овај пакет можда није потпуно исти као git база, као и да је инсталирање ажурирања компликованије него просто git клонирање.
|
||||
|
||||
[[compile_macos]]
|
||||
=== Како да инсталирам програм WeeChat на macOS систем?
|
||||
|
||||
Препоручује се употребите https://brew.sh/[Homebrew], помоћ можете добити са:
|
||||
Препоручује се употребите https://brew.sh/[Homebrew ^↗^,window=_blank], помоћ можете добити са:
|
||||
|
||||
----
|
||||
brew info weechat
|
||||
@@ -71,9 +73,9 @@ brew install weechat
|
||||
[[lost]]
|
||||
=== Покренуо сам програм WeeChat, али не знам шта даље?
|
||||
|
||||
За помоћ можете да откуцате `/help`. За помоћ у вези команде, откуцајте `/help команда`. link:weechat_user.sr.html#key_bindings[Тастери] и link:weechat_user.sr.html#commands_and_options[команде] су наведени у документацији.
|
||||
За помоћ можете да откуцате `/help`. За помоћ у вези команде, откуцајте `/help команда`. link:weechat_user.sr.html#key_bindings[Тастери ^↗^,window=_blank] и link:weechat_user.sr.html#commands_and_options[команде ^↗^,window=_blank] су наведени у документацији.
|
||||
|
||||
Препоручује се да нови корисници прочитају link:weechat_quickstart.sr.html[Водич за брзи почетак].
|
||||
Препоручује се да нови корисници прочитају link:weechat_quickstart.sr.html[Водич за брзи почетак ^↗^,window=_blank].
|
||||
|
||||
[[display]]
|
||||
== Приказ
|
||||
@@ -91,7 +93,7 @@ brew install weechat
|
||||
* Ако користите UTF-8 локале:
|
||||
** Проверите да ли ваш терминал подржава UTF-8 (препоручени терминал за UTF-8 је rxvt-unicode).
|
||||
** Ако користите screen, проверите да се извршава у UTF-8 режиму („`defutf8 on`” у ~/.screenrc или покрените screen са `screen -U`).
|
||||
* Проверите да је опција link:weechat_user.sr.html#option_weechat.look.eat_newline_glitch[_weechat.look.eat_newline_glitch_] искључена (ова опција може да изазове багове у приказу).
|
||||
* Проверите да је опција link:weechat_user.sr.html#option_weechat.look.eat_newline_glitch[_weechat.look.eat_newline_glitch_ ^↗^,window=_blank] искључена (ова опција може да изазове багове у приказу).
|
||||
|
||||
[NOTE]
|
||||
За програм WeeChat се препоручује UTF-8 локале. Ако користите ISO или неки други локале, молимо вас да проверите ли су *сва* ваша подешавања (терминал, screen, ...) ISO, а *не* UTF-8.
|
||||
@@ -101,9 +103,9 @@ brew install weechat
|
||||
|
||||
Узрок овом проблему може бити libc баг у функцији _wcwidth_, који би требало да је исправљен у glibc 2.22 (можда још увек није доступна у вашој дистрибуцији).
|
||||
|
||||
Постоји решење да се користи исправљена _wcwidth_ функција: https://blog.nytsoi.net/2015/05/04/emoji-support-for-weechat
|
||||
Постоји решење да се користи исправљена _wcwidth_ функција: https://blog.nytsoi.net/2015/05/04/emoji-support-for-weechat[https://blog.nytsoi.net/2015/05/04/emoji-support-for-weechat ^↗^,window=_blank].
|
||||
|
||||
За више информација, погледајте овај извештај о багу: https://github.com/weechat/weechat/issues/79
|
||||
За више информација, погледајте овај https://github.com/weechat/weechat/issues/79[извештај о багу ^↗^,window=_blank].
|
||||
|
||||
[[bars_background]]
|
||||
=== Траке као што су насловна и статусна нису испуњене, боја позадине се прекида након текста, зашто?
|
||||
@@ -146,7 +148,7 @@ _прозор_ је површина екрана која приказује б
|
||||
[[buffers_list]]
|
||||
=== Како да се са леве стране прикаже листа бафера?
|
||||
|
||||
У WeeChat ≥ 1.8, додатак link:weechat_user.sr.html#buflist_plugin[buflist] се подразумевано учитава и укључује.
|
||||
У WeeChat ≥ 1.8, додатак link:weechat_user.sr.html#buflist[buflist ^↗^,window=_blank] се подразумевано учитава и укључује.
|
||||
|
||||
У старијој верзији можете инсталирате скрипту _buffers.pl_:
|
||||
|
||||
@@ -204,7 +206,8 @@ _прозор_ је површина екрана која приказује б
|
||||
|
||||
Додатак buflist обезбеђује доста опција које можете да прилагодите својим потребама, молимо вас да прочитате помоћ у вези сваке опције.
|
||||
|
||||
Постоји и вики страница са примерима напредне buflist конфигурације: https://github.com/weechat/weechat/wiki/buflist
|
||||
Такође постоји и https://github.com/weechat/weechat/wiki/buflist[вики страница ^↗^,window=_blank]
|
||||
са примерима напредне конфигурације додатка buflist.
|
||||
|
||||
[[customize_prefix]]
|
||||
=== Како да скратим дужину надимака или да уклоним поравнање надимка у простору за разговор?
|
||||
@@ -242,7 +245,7 @@ _прозор_ је површина екрана која приказује б
|
||||
Ове боје могу да се промене опцијама __weechat.color.status_data_*__ (бафери) и __weechat.color.status_count_*__ (бројачи). +
|
||||
Остале опције вруће листе могу да се промене опцијама __weechat.look.hotlist_*__.
|
||||
|
||||
За више информација у вези вруће листе, погледајте link:weechat_user.sr.html#screen_layout[Корисничко упутство / Распоред екрана].
|
||||
За више информација у вези вруће листе, погледајте link:weechat_user.sr.html#screen_layout[Корисничко упутство / Распоред екрана ^↗^,window=_blank].
|
||||
|
||||
[[input_bar_size]]
|
||||
=== Како се користи командна линија са више од једне линије?
|
||||
@@ -390,14 +393,14 @@ term screen-256color
|
||||
|
||||
У верзијама ≥ 0.3.5 можете да користите било који број боје у опцијама (није обавезно: командом `/color` можете да дефинишете алијасе боја).
|
||||
|
||||
За више информација у вези управљања бојама, молимо вас да прочитате link:weechat_user.sr.html#colors[Корисничко упутство / Боје].
|
||||
За више информација у вези управљања бојама, молимо вас да прочитате link:weechat_user.sr.html#colors[Корисничко упутство / Боје ^↗^,window=_blank].
|
||||
|
||||
[[search_text]]
|
||||
=== Како могу да претражујем текст у баферу (као /lastlog у програму irssi)?
|
||||
|
||||
Подразумевани тастер је kbd:[Ctrl+r] (команда је: `+/input овде_текст_претраге+`). И скок на истицања: kbd:[Alt+p] / kbd:[Alt+n].
|
||||
|
||||
За више о овој могућности, погледајте link:weechat_user.sr.html#key_bindings[Корисничко упутство / Тастерске пречице].
|
||||
За више о овој могућности, погледајте link:weechat_user.sr.html#key_bindings[Корисничко упутство / Тастерске пречице ^↗^,window=_blank].
|
||||
|
||||
[[terminal_focus]]
|
||||
=== Како могу да извршим команде када терминал добије/изгуби фокус?
|
||||
@@ -561,7 +564,7 @@ UXTerm*metaSendsEscape: true
|
||||
/key bind meta-q /buffer *11
|
||||
----
|
||||
|
||||
Листа подразумеваних тастера је у link:weechat_user.sr.html#key_bindings[Корисничко упутство / Тастерске пречице].
|
||||
Листа подразумеваних тастера је у link:weechat_user.sr.html#key_bindings[Корисничко упутство / Тастерске пречице ^↗^,window=_blank].
|
||||
|
||||
Ако желите да скочите на бафере са бројем ≥ 100, можете да дефинишете окидач па да онда користите команде као што је `/123` за скок на бафер #123:
|
||||
|
||||
@@ -726,25 +729,35 @@ oauth је једноставно лозинка која има вреднос
|
||||
[[edit_autojoin]]
|
||||
=== Како да додам/уклоним канале из autojoin опције?
|
||||
|
||||
// TRANSLATION MISSING
|
||||
With WeeChat ≥ 3.5, you can automatically record the channels you manually
|
||||
join and part in the "autojoin" server option.
|
||||
У WeeChat ≥ 3.5, можете аутоматски да забележите канале којима ручно приступате и које
|
||||
напуштате у „autojoin” серверској опцији.
|
||||
|
||||
// TRANSLATION MISSING
|
||||
For all servers:
|
||||
За све сервере:
|
||||
|
||||
----
|
||||
/set irc.server_default.autojoin_record on
|
||||
/set irc.server_default.autojoin_dynamic on
|
||||
----
|
||||
|
||||
// TRANSLATION MISSING
|
||||
For a single server:
|
||||
За један сервер:
|
||||
|
||||
----
|
||||
/set irc.server.libera.autojoin_record on
|
||||
/set irc.server.libera.autojoin_dynamic on
|
||||
----
|
||||
|
||||
Можете да употребите команду `/set` и да уредите листу autojoin канала, на пример за „libera” сервер:
|
||||
Са WeeChat ≥ 3.5, текући канал можете да додате у „autojoin” серверску опцију и
|
||||
употребом `/autojoin` команде:
|
||||
|
||||
----
|
||||
/autojoin add
|
||||
----
|
||||
|
||||
Или неки други канал:
|
||||
|
||||
----
|
||||
/autojoin add #test
|
||||
----
|
||||
|
||||
Са WeeChat ≤ 3.4, можете да употребите команду `/set` и да уредите листу autojoin канала, на пример за „libera” сервер:
|
||||
|
||||
----
|
||||
/set irc.server.libera.autojoin [TAB]
|
||||
@@ -760,7 +773,7 @@ For a single server:
|
||||
/fset autojoin
|
||||
----
|
||||
|
||||
Друго решење је да употребите скрипту:
|
||||
Са WeeChat ≤ 3.4, друго решење је да употребите скрипту:
|
||||
|
||||
----
|
||||
/script search autojoin
|
||||
@@ -790,7 +803,7 @@ For a single server:
|
||||
----
|
||||
|
||||
[NOTE]
|
||||
За помоћ: `/help filter`, `+/help irc.look.smart_filter+` и погледајте link:weechat_user.sr.html#irc_smart_filter_join_part_quit[Корисничко упутство / Паметни филтер за join/part/quit поруке].
|
||||
За помоћ: `/help filter`, `+/help irc.look.smart_filter+` и погледајте link:weechat_user.sr.html#irc_smart_filter_join_part_quit[Корисничко упутство / Паметни филтер за join/part/quit поруке ^↗^,window=_blank].
|
||||
|
||||
[[filter_irc_join_channel_messages]]
|
||||
=== Како да филтрирам неке поруке које се приказују када приступим IRC каналу?
|
||||
@@ -871,7 +884,7 @@ set away_devoice false
|
||||
[[disable_highlights_for_specific_nicks]]
|
||||
=== Како могу да искључим истицање за одређене надимке?
|
||||
|
||||
У програму WeeChat верзије ≥ 0.3.4 можете да употребите link:weechat_user.sr.html#max_hotlist_level_nicks[hotlist_max_level_nicks_add] особину бафера да поставите максимални ниво вруће листе за неке надимке, за сваки бафер посебно, или за групу бафера (као што су IRC сервери).
|
||||
У програму WeeChat верзије ≥ 0.3.4 можете да употребите link:weechat_user.sr.html#max_hotlist_level_nicks[hotlist_max_level_nicks_add ^↗^,window=_blank] особину бафера да поставите максимални ниво вруће листе за неке надимке, за сваки бафер посебно, или за групу бафера (као што су IRC сервери).
|
||||
|
||||
Ако само желите да искључите истицања, треба да је поставите на 2:
|
||||
|
||||
@@ -1051,7 +1064,7 @@ export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES
|
||||
/set weechat.plugin.autoload "*,!xfer"
|
||||
----
|
||||
|
||||
Дефинишите тајну реченицу и где год можете користите обезбеђене податке за осетљиве ствари као што су лозинке: погледајте `/help secure` и `/help` за опције (ако можете да користите обезбеђене податке, написано је у помоћи). Погледајте такође link:weechat_user.sr.html#secured_data[Корисничко упутство / Обезбеђени подаци].
|
||||
Дефинишите тајну реченицу и где год можете користите обезбеђене податке за осетљиве ствари као што су лозинке: погледајте `/help secure` и `/help` за опције (ако можете да користите обезбеђене податке, написано је у помоћи). Погледајте такође link:weechat_user.sr.html#secured_data[Корисничко упутство / Обезбеђени подаци ^↗^,window=_blank].
|
||||
|
||||
На пример:
|
||||
|
||||
@@ -1070,7 +1083,7 @@ export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES
|
||||
|
||||
И неки други фајлови могу да садрже осетљиве осетљиве информације као што су лозинке (у случају да нису сачуване у _sec.conf_ командом `/secure`).
|
||||
|
||||
Погледајте link:weechat_user.sr.html#files_and_directories[Корисничко упутство / Фајлови и директоријуми] за више информација о конфигурационим фајловима.
|
||||
Погледајте link:weechat_user.sr.html#files_and_directories[Корисничко упутство / Фајлови и директоријуми ^↗^,window=_blank] за више информација о конфигурационим фајловима.
|
||||
|
||||
[[development]]
|
||||
== Развој
|
||||
@@ -1078,7 +1091,7 @@ export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES
|
||||
[[bug_task_patch]]
|
||||
=== Како би требало да пријавим багове, тражим нове могућности, или пошаљем закрпе?
|
||||
|
||||
Погледајте: https://weechat.org/about/support
|
||||
Погледајте https://weechat.org/about/support/[ови страницу ^↗^,window=_blank].
|
||||
|
||||
[[gdb_error_threads]]
|
||||
=== Када програм WeeChat покренем под gdb, појави се грешка везана за нити, шта могу да урадим?
|
||||
@@ -1111,9 +1124,11 @@ WeeChat се лепо извршава на већини Linux/BSD дистри
|
||||
|
||||
Постоји много задатака који могу да се ураде (тестирање, програмирање, документација, итд.)
|
||||
|
||||
Молимо вас да нас контактирате преко IRC или имејла, погледајте страну о подршки: https://weechat.org/about/support
|
||||
Молимо вас да нас контактирате преко IRC или мејла, погледајте
|
||||
https://weechat.org/about/support/[страницу подршке ^↗^,window=_blank].
|
||||
|
||||
[[donate]]
|
||||
=== Могу ли програмерима програма WeeChat да дам новац или нешто друго?
|
||||
|
||||
Можете нам донирати новац као подршку развоја. Детаљи се налазе на страници https://weechat.org/donate
|
||||
Можете нам послати новац и помогнете развој програма.
|
||||
Детаљи се налазе на https://weechat.org/donate/[страници донација ^↗^,window=_blank].
|
||||
|
||||
+1078
-1064
File diff suppressed because it is too large
Load Diff
@@ -175,8 +175,15 @@ IRC сервер можете додати командом `/server`, на пр
|
||||
/set irc.server.libera.autojoin "#канал1,#канал2"
|
||||
----
|
||||
|
||||
[TIP]
|
||||
Име и вредност опција можете да довршите тастером kbd:[Tab] и kbd:[Shift+Tab] за делимично довршавање (корисно је за дугачке речи као што је име опције).
|
||||
`/autojoin` команда вам омогућава да једноставно конфигуришете _autojoin_ опцију
|
||||
(погледајте `/help autojoin`).
|
||||
|
||||
WeeChat такође можете подесити да аутоматски ажурира _autojoin_ опцију када
|
||||
приступите каналу, или када га напустите:
|
||||
|
||||
----
|
||||
/set irc.server_default.autojoin_dynamic on
|
||||
----
|
||||
|
||||
Ако желите да уклоните вредност опције сервера и да уместо ње користите подразумевану вредност, на пример, да се користе подразумевани надимци (irc.server_default.nicks):
|
||||
|
||||
@@ -190,6 +197,9 @@ IRC сервер можете додати командом `/server`, на пр
|
||||
/set irc.server.libera.xxx вредност
|
||||
----
|
||||
|
||||
[TIP]
|
||||
Име и вредност опција можете да довршите тастером kbd:[Tab] и kbd:[Shift+Tab] за делимично довршавање (корисно је за дугачке речи као што је име опције).
|
||||
|
||||
[[connect_to_irc_server]]
|
||||
== Повезивање са IRC сервером
|
||||
|
||||
@@ -329,11 +339,14 @@ IRC сервер можете додати командом `/server`, на пр
|
||||
|
||||
За више детаља погледајте `/help script`.
|
||||
|
||||
Листа скрипти је доступна у програму WeeChat командом `/script` или на URL адреси: https://weechat.org/scripts
|
||||
Листа скрипти је доступна у WeeChat са `/script` или на
|
||||
https://weechat.org/scripts/[овој страници ^↗^,window=_blank].
|
||||
|
||||
[[more_doc]]
|
||||
== Још документације
|
||||
|
||||
Сада можете почети са коришћењем програма WeeChat и ако имате нека друга питања, прочитајте ЧПП/документацију: https://weechat.org/doc
|
||||
Сада можете почети да користите WeeChat и ако имате било каквих питања
|
||||
прочитате
|
||||
https://weechat.org/doc/[ЧПП/документацију ^↗^,window=_blank].
|
||||
|
||||
Уживајте у коришћењу програма WeeChat!
|
||||
|
||||
@@ -123,8 +123,8 @@ _WeeChat ≥ 2.9, ажурирано у верзији 3.5._
|
||||
ако је компресија укључена, поруке од _релеја_ ка клијетну се компресују
|
||||
у циљу штедње пропусног опсега; дозвољене су следеће вредности:
|
||||
*** _off_: без компресије (подразумевано ако се опција не наведе)
|
||||
*** _zlib_: компресија са https://zlib.net/[zlib] _(WeeChat ≥ 0.3.7)_
|
||||
*** _zstd_: компресија са https://facebook.github.io/zstd/[Zstandard]: боља
|
||||
*** _zlib_: компресија са https://zlib.net/[zlib ^↗^,window=_blank] _(WeeChat ≥ 0.3.7)_
|
||||
*** _zstd_: компресија са https://facebook.github.io/zstd/[Zstandard ^↗^,window=_blank]: боља
|
||||
компресија, као и много бржа компресија и декомпресија у односу на _zlib_
|
||||
_(WeeChat ≥ 3.5)_
|
||||
|
||||
@@ -154,8 +154,8 @@ _WeeChat ≥ 2.9, ажурирано у верзији 3.5._
|
||||
* _nonce_: бафер бајтова који не могу да се предвиде, послат као хексадецимална вредност, којом се спречавају replay напади; ако је _password_hash_algo_ хеш алгоритам, клијент мора да израчуна хеш лозинке над овим нонсом, спојено са клијентовим нонсом и корисничком лозинком (_релеј_ нонс + _клијент_ нонс је со која се користи у алгоритму хеширања лозинке)
|
||||
* _compression_: тип компресије:
|
||||
** _off_: поруке се не компресују
|
||||
** _zlib_: поруке су компресоване са https://zlib.net/[zlib]
|
||||
** _zstd_: поруке су компресоване са https://facebook.github.io/zstd/[Zstandard]
|
||||
** _zlib_: поруке су компресоване са https://zlib.net/[zlib ^↗^,window=_blank]
|
||||
** _zstd_: поруке су компресоване са https://facebook.github.io/zstd/[Zstandard ^↗^,window=_blank]
|
||||
|
||||
[TIP]
|
||||
У програму WeeChat верзије ≤ 2.8, команда _handshake_ није имплементирана, програм WeeChat једноставно игнорише ову команду, чак и ако се пошаље пре _init_ команде. +
|
||||
@@ -252,7 +252,7 @@ htb: {
|
||||
[[command_init]]
|
||||
=== init
|
||||
|
||||
_Ажурирано у верзијама 2.4, 2.8, 2.9._
|
||||
_Ажурирано у верзијама 2.4, 2.8, 2.9, 3.5._
|
||||
|
||||
Аутентификација са _релејем_.
|
||||
|
||||
@@ -1296,8 +1296,8 @@ quit
|
||||
* _дужина_ (неозначени цео број, 4 бајта): број бајтова у целој поруци (заједно са овим пољем)
|
||||
* _компресија_ (бајт): заставица:
|
||||
** _0x00_: подаци који следе нису компресовани
|
||||
** _0x01_: подаци који следе су компресовани са https://zlib.net/[zlib]
|
||||
** _0x02_: подаци који следе су компресовани са https://facebook.github.io/zstd/[Zstandard]
|
||||
** _0x01_: подаци који следе су компресовани са https://zlib.net/[zlib ^↗^,window=_blank]
|
||||
** _0x02_: подаци који следе су компресовани са https://facebook.github.io/zstd/[Zstandard ^↗^,window=_blank]
|
||||
* _id_ (стринг, 4 бајта + садржај): идентификатор који послао клијент (пре имена команде); може бити и празан (стринг дужине нула и без садржаја) ако у команди није био наведен идентификатор
|
||||
* _тип_ (3 карактера): тип: 3 слова (погледајте табелу испод)
|
||||
* _објект_: објекат (погледајте табелу испод)
|
||||
@@ -1306,7 +1306,7 @@ quit
|
||||
=== Компресија
|
||||
|
||||
Ако заставица _compression_ има вредност 0x01 или 0x02, онда се *сви* подаци након ње
|
||||
компресују са https://zlib.net/[zlib] или https://facebook.github.io/zstd/[Zstandard],
|
||||
компресују са https://zlib.net/[zlib ^↗^,window=_blank] или https://facebook.github.io/zstd/[Zstandard ^↗^,window=_blank],
|
||||
па стога морају бити некомпресовани пре обраде.
|
||||
|
||||
[[message_identifier]]
|
||||
@@ -1321,68 +1321,68 @@ WeeChat резервисани идентификатори:
|
||||
|
||||
[width="100%", cols="5m,5,3,4,7", options="header"]
|
||||
|===
|
||||
| Идентификатор | Примљен са _sync_ | Послати подаци |
|
||||
Опис | Препоручена акција у клијенту
|
||||
| Идентификатор | Примљен са _sync_ | Послати подаци
|
||||
| Опис | Препоручена акција у клијенту
|
||||
|
||||
| _buffer_opened | buffers / buffer | hdata: buffer |
|
||||
Бафер је отворен. | Отварање бафера.
|
||||
| _buffer_opened | buffers / buffer | hdata: buffer
|
||||
| Бафер је отворен. | Отварање бафера.
|
||||
|
||||
| _buffer_type_changed | buffers / buffer | hdata: buffer |
|
||||
Промењен је тип бафера. | Измена типа бафера.
|
||||
| _buffer_type_changed | buffers / buffer | hdata: buffer
|
||||
| Промењен је тип бафера. | Измена типа бафера.
|
||||
|
||||
| _buffer_moved | buffers / buffer | hdata: buffer |
|
||||
Buffer је премештен. | Премештање бафера.
|
||||
| _buffer_moved | buffers / buffer | hdata: buffer
|
||||
| Buffer је премештен. | Премештање бафера.
|
||||
|
||||
| _buffer_merged | buffers / buffer | hdata: buffer |
|
||||
Buffer је спојен. | Спајање бафера.
|
||||
| _buffer_merged | buffers / buffer | hdata: buffer
|
||||
| Buffer је спојен. | Спајање бафера.
|
||||
|
||||
| _buffer_unmerged | buffers / buffer | hdata: buffer |
|
||||
Бафер је раздвојен. | Раздвајање бафера.
|
||||
| _buffer_unmerged | buffers / buffer | hdata: buffer
|
||||
| Бафер је раздвојен. | Раздвајање бафера.
|
||||
|
||||
| _buffer_hidden | buffers / buffer | hdata: buffer |
|
||||
Бафер је сакривен. | Скривање бафера.
|
||||
| _buffer_hidden | buffers / buffer | hdata: buffer
|
||||
| Бафер је сакривен. | Скривање бафера.
|
||||
|
||||
| _buffer_unhidden | buffers / buffer | hdata: buffer |
|
||||
Бафер је откривен. | Откривање бафера.
|
||||
| _buffer_unhidden | buffers / buffer | hdata: buffer
|
||||
| Бафер је откривен. | Откривање бафера.
|
||||
|
||||
| _buffer_renamed | buffers / buffer | hdata: buffer |
|
||||
Баферу је промењено име. | Промена имена бафера.
|
||||
| _buffer_renamed | buffers / buffer | hdata: buffer
|
||||
| Баферу је промењено име. | Промена имена бафера.
|
||||
|
||||
| _buffer_title_changed | buffers / buffer | hdata: buffer |
|
||||
Промењен је наслов бафера. | Промена наслова бафера.
|
||||
| _buffer_title_changed | buffers / buffer | hdata: buffer
|
||||
| Промењен је наслов бафера. | Промена наслова бафера.
|
||||
|
||||
| _buffer_localvar_added | buffers / buffer | hdata: buffer |
|
||||
Додата је локална променљива. | Додавање локалне променљиве.
|
||||
| _buffer_localvar_added | buffers / buffer | hdata: buffer
|
||||
| Додата је локална променљива. | Додавање локалне променљиве.
|
||||
|
||||
| _buffer_localvar_changed | buffers / buffer | hdata: buffer |
|
||||
Локална променљива је измењена. | Измена локалне променљиве у баферу.
|
||||
| _buffer_localvar_changed | buffers / buffer | hdata: buffer
|
||||
| Локална променљива је измењена. | Измена локалне променљиве у баферу.
|
||||
|
||||
| _buffer_localvar_removed | buffers / buffer | hdata: buffer |
|
||||
Уклоњена је локална променљива. | Уклањање локалне променљиве из бафера.
|
||||
| _buffer_localvar_removed | buffers / buffer | hdata: buffer
|
||||
| Уклоњена је локална променљива. | Уклањање локалне променљиве из бафера.
|
||||
|
||||
| _buffer_closing | buffers / buffer | hdata: buffer |
|
||||
Бафер је затворен. | Затварање бафера.
|
||||
| _buffer_closing | buffers / buffer | hdata: buffer
|
||||
| Бафер је затворен. | Затварање бафера.
|
||||
|
||||
| _buffer_cleared | buffer | hdata: buffer |
|
||||
Бафер је очишћен. | Чишћење бафера.
|
||||
| _buffer_cleared | buffer | hdata: buffer
|
||||
| Бафер је очишћен. | Чишћење бафера.
|
||||
|
||||
| _buffer_line_added | buffer | hdata: line |
|
||||
У бафер је додата линија. | Приказ линије у баферу.
|
||||
| _buffer_line_added | buffer | hdata: line
|
||||
| У бафер је додата линија. | Приказ линије у баферу.
|
||||
|
||||
| _nicklist | nicklist | hdata: nicklist_item |
|
||||
Листа надимака за бафер. | Замена листе надимака.
|
||||
| _nicklist | nicklist | hdata: nicklist_item
|
||||
| Листа надимака за бафер. | Замена листе надимака.
|
||||
|
||||
| _nicklist_diff | nicklist | hdata: nicklist_item |
|
||||
Разлике листе надимака за бафер. | Ажурирање листе надимака.
|
||||
| _nicklist_diff | nicklist | hdata: nicklist_item
|
||||
| Разлике листе надимака за бафер. | Ажурирање листе надимака.
|
||||
|
||||
| _pong | (always) | стринг: ping аргументи |
|
||||
Одговор на „ping”. | Мерење времена одговора.
|
||||
| _pong | (always) | стринг: ping аргументи
|
||||
| Одговор на „ping”. | Мерење времена одговора.
|
||||
|
||||
| _upgrade | upgrade | (празно) |
|
||||
Програм WeeChat се ажурира. | Десинхронизација са програмом WeeChat (или прекид везе).
|
||||
| _upgrade | upgrade | (празно)
|
||||
| Програм WeeChat се ажурира. | Десинхронизација са програмом WeeChat (или прекид везе).
|
||||
|
||||
| _upgrade_ended | upgrade | (празно) |
|
||||
Завршено је ажурирање програма WeeChat. | Синхро/ресинхро са програмом WeeChat.
|
||||
| _upgrade_ended | upgrade | (празно)
|
||||
| Завршено је ажурирање програма WeeChat. | Синхро/ресинхро са програмом WeeChat.
|
||||
|===
|
||||
|
||||
[[message_buffer_opened]]
|
||||
|
||||
+126
-125
@@ -16,7 +16,8 @@
|
||||
|
||||
Ово упутство описује WeeChat чет клијент и део је програма WeeChat.
|
||||
|
||||
Последња верзија овог документа може да се нађе на следећој страници: https://weechat.org/doc
|
||||
Последња верзија овог документа се налази на
|
||||
https://weechat.org/doc/[овој страници ^↗^,window=_blank].
|
||||
|
||||
|
||||
[[introduction]]
|
||||
@@ -55,7 +56,7 @@ Almost all examples in this doc are written in Python, but API is the same for o
|
||||
|
||||
[IMPORTANT]
|
||||
Скрипта *НИКАДА* не сме да се рачва или да креира нити без употребе одговарајуће API функције, то може да сруши програм WeeChat. +
|
||||
Ако нешто мора да се извршава у позадини, употребите функцију `+hook_process+`. Погледајте пример у поглављу <<hook_process,Покретање процеса у позадини>> као и документацију функције `+hook_process+` у link:weechat_plugin_api.sr.html#_hook_process[WeeChat референтном приручнику API додатака].
|
||||
Ако нешто мора да се извршава у позадини, употребите функцију `+hook_process+`. Погледајте пример у поглављу <<hook_process,Покретање процеса у позадини>> као и документацију функције `+hook_process+` у link:weechat_plugin_api.sr.html#_hook_process[WeeChat референтном приручнику API додатака ^↗^,window=_blank].
|
||||
|
||||
[[languages_specificities]]
|
||||
=== Језичке специфичности
|
||||
@@ -67,7 +68,7 @@ Almost all examples in this doc are written in Python, but API is the same for o
|
||||
===== Модул
|
||||
|
||||
Програм WeeChat дефинише `weechat` модул који мора да се увезе командом `import weechat`. +
|
||||
Python стаб за WeeChat API је соступан у репозиторијуму: https://raw.githubusercontent.com/weechat/weechat/master/src/plugins/python/weechat.pyi[weechat.pyi].
|
||||
Python стаб за WeeChat API је соступан у репозиторијуму: https://raw.githubusercontent.com/weechat/weechat/master/src/plugins/python/weechat.pyi[weechat.pyi ^↗^,window=_blank].
|
||||
|
||||
[[python_functions]]
|
||||
===== Функције
|
||||
@@ -87,38 +88,38 @@ Python стаб за WeeChat API је соступан у репозиториј
|
||||
|===
|
||||
| API фунцкија | Аргументи | Примери | Опис
|
||||
|
||||
| hook_modifier |
|
||||
irc_in_yyy |
|
||||
pass:[irc_in_privmsg] +
|
||||
pass:[irc_in_notice] |
|
||||
Порука која се прими у IRC додатку, пре него што се декодира у UTF-8 (користи
|
||||
| hook_modifier
|
||||
| irc_in_yyy
|
||||
| pass:[irc_in_privmsg] +
|
||||
pass:[irc_in_notice]
|
||||
| Порука која се прими у IRC додатку, пре него што се декодира у UTF-8 (користи
|
||||
се интерно). +
|
||||
+
|
||||
Препоручује се да се уместо ње користи модификатор `+irc_in2_yyy+`, примљени
|
||||
стринг је увек валидан UTF-8. +
|
||||
Погледајте функцију `+hook_modifier+` у
|
||||
link:weechat_plugin_api.sr.html#_hook_modifier[WeeChat референтном приручнику API додатака].
|
||||
link:weechat_plugin_api.sr.html#_hook_modifier[WeeChat референтном приручнику API додатака ^↗^,window=_blank].
|
||||
|
||||
| hook_signal |
|
||||
xxx,irc_out_yyy +
|
||||
xxx,irc_outtags_yyy |
|
||||
pass:[*,irc_out_privmsg] +
|
||||
| hook_signal
|
||||
| xxx,irc_out_yyy +
|
||||
xxx,irc_outtags_yyy
|
||||
| pass:[*,irc_out_privmsg] +
|
||||
pass:[*,irc_out_notice] +
|
||||
pass:[*,irc_outtags_privmsg] +
|
||||
pass:[*,irc_outtags_notice] |
|
||||
Порука коју шаље IRC додатак, након што се кодира у `encode` скуп карактера
|
||||
pass:[*,irc_outtags_notice]
|
||||
| Порука коју шаље IRC додатак, након што се кодира у `encode` скуп карактера
|
||||
који је дефинисао корисник (у случају да се разликује од подразумеваног `UTF-8`). +
|
||||
+
|
||||
Препоручује се да се уместо њега користи сигнал `+xxx,irc_out1_yyy+`, стринг који
|
||||
се прима је увек валидан UTF-8. +
|
||||
Погледајте функцију `+hook_signal+` у
|
||||
link:weechat_plugin_api.sr.html#_hook_signal[WeeChat референтном приручнику API додатака].
|
||||
link:weechat_plugin_api.sr.html#_hook_signal[WeeChat референтном приручнику API додатака ^↗^,window=_blank].
|
||||
|
||||
| hook_process +
|
||||
hook_process_hashtable |
|
||||
- |
|
||||
- |
|
||||
Излаз команде који се шаље функцији повратног позива може да садржи неважеће UTF-8 податке.
|
||||
hook_process_hashtable
|
||||
| -
|
||||
| -
|
||||
| Излаз команде који се шаље функцији повратног позива може да садржи неважеће UTF-8 податке.
|
||||
|
||||
|===
|
||||
|
||||
@@ -177,12 +178,11 @@ Weechat.bar_new("name", "off", "0", "window", "", "left", "vertical", "vertical"
|
||||
|
||||
Функције се позивају са `+weechat::xxx арг1 арг2 ...+`.
|
||||
|
||||
// TRANSLATION MISSING
|
||||
Since Tcl only has string types, there's no null type to pass as an argument
|
||||
when a function accepts null values. To overcome this you can use the constant
|
||||
`$::weechat::WEECHAT_NULL` which acts as a null value. This constant is defined
|
||||
as `\uFFFF\uFFFF\uFFFFWEECHAT_NULL\uFFFF\uFFFF\uFFFF`, so it's very unlikely to
|
||||
appear unintentionally.
|
||||
Пошто Tcl има само стринг типове, не постоји null тип који се прослеђује као
|
||||
аргумент када функција прихвата null вредности. Ако то желите да заобиђете,
|
||||
употребите константу `$::weechat::WEECHAT_NULL` која се има улогу null вредности.
|
||||
Ова константа је дефинисана као `\uFFFF\uFFFF\uFFFFWEECHAT_NULL\uFFFF\uFFFF\uFFFF`,
|
||||
тако да је скоро немогуће да се појави без намере.
|
||||
|
||||
[[language_guile]]
|
||||
==== Guile (Scheme)
|
||||
@@ -502,7 +502,7 @@ weechat_hook_timer(1000, 0, 1, $timer_cb, 'test');
|
||||
[[script_api]]
|
||||
== API скриптовања
|
||||
|
||||
За више информација о функцијама које постоје у API, молимо вас да прочитате link:weechat_plugin_api.sr.html[WeeChat референтни приручник API додатака].
|
||||
За више информација о функцијама које постоје у API, молимо вас да прочитате link:weechat_plugin_api.sr.html[WeeChat референтни приручник API додатака ^↗^,window=_blank].
|
||||
|
||||
[[script_api_functions]]
|
||||
=== Функције
|
||||
@@ -513,14 +513,14 @@ weechat_hook_timer(1000, 0, 1, $timer_cb, 'test');
|
||||
|===
|
||||
| Категорија | Функције
|
||||
|
||||
| опште |
|
||||
register
|
||||
| опште
|
||||
| register
|
||||
|
||||
| додаци |
|
||||
plugin_get_name
|
||||
| додаци
|
||||
| plugin_get_name
|
||||
|
||||
| стрингови |
|
||||
charset_set +
|
||||
| стрингови
|
||||
| charset_set +
|
||||
iconv_to_internal +
|
||||
iconv_from_internal +
|
||||
gettext +
|
||||
@@ -539,13 +539,13 @@ weechat_hook_timer(1000, 0, 1, $timer_cb, 'test');
|
||||
string_eval_expression +
|
||||
string_eval_path_home
|
||||
|
||||
| директоријуми |
|
||||
mkdir_home +
|
||||
| директоријуми
|
||||
| mkdir_home +
|
||||
mkdir +
|
||||
mkdir_parents
|
||||
|
||||
| сортиране листе |
|
||||
list_new +
|
||||
| сортиране листе
|
||||
| list_new +
|
||||
list_add +
|
||||
list_search +
|
||||
list_search_pos +
|
||||
@@ -561,8 +561,8 @@ weechat_hook_timer(1000, 0, 1, $timer_cb, 'test');
|
||||
list_remove_all +
|
||||
list_free
|
||||
|
||||
| кофнигурациони фајлови |
|
||||
config_new +
|
||||
| кофнигурациони фајлови
|
||||
| config_new +
|
||||
config_new_section +
|
||||
config_search_section +
|
||||
config_new_option +
|
||||
@@ -599,12 +599,12 @@ weechat_hook_timer(1000, 0, 1, $timer_cb, 'test');
|
||||
config_set_desc_plugin +
|
||||
config_unset_plugin
|
||||
|
||||
| тастерске пречице |
|
||||
key_bind +
|
||||
| тастерске пречице
|
||||
| key_bind +
|
||||
key_unbind
|
||||
|
||||
| приказ |
|
||||
prefix +
|
||||
| приказ
|
||||
| prefix +
|
||||
color +
|
||||
print (за python: prnt) +
|
||||
print_date_tags (за python: prnt_date_tags) +
|
||||
@@ -612,8 +612,8 @@ weechat_hook_timer(1000, 0, 1, $timer_cb, 'test');
|
||||
print_y_date_tags (за python: prnt_y_date_tags) +
|
||||
log_print
|
||||
|
||||
| куке |
|
||||
hook_command +
|
||||
| куке
|
||||
| hook_command +
|
||||
hook_command_run +
|
||||
hook_timer +
|
||||
hook_fd +
|
||||
@@ -638,8 +638,8 @@ weechat_hook_timer(1000, 0, 1, $timer_cb, 'test');
|
||||
unhook +
|
||||
unhook_all
|
||||
|
||||
| бафери |
|
||||
buffer_new +
|
||||
| бафери
|
||||
| buffer_new +
|
||||
buffer_new_props +
|
||||
current_buffer +
|
||||
buffer_search +
|
||||
@@ -655,16 +655,16 @@ weechat_hook_timer(1000, 0, 1, $timer_cb, 'test');
|
||||
buffer_string_replace_local_var +
|
||||
buffer_match_list
|
||||
|
||||
| прозори |
|
||||
current_window +
|
||||
| прозори
|
||||
| current_window +
|
||||
window_search_with_buffer +
|
||||
window_get_integer +
|
||||
window_get_string +
|
||||
window_get_pointer +
|
||||
window_set_title
|
||||
|
||||
| листа надимака |
|
||||
nicklist_add_group +
|
||||
| листа надимака
|
||||
| nicklist_add_group +
|
||||
nicklist_search_group +
|
||||
nicklist_add_nick +
|
||||
nicklist_search_nick +
|
||||
@@ -680,8 +680,8 @@ weechat_hook_timer(1000, 0, 1, $timer_cb, 'test');
|
||||
nicklist_nick_get_pointer +
|
||||
nicklist_nick_set
|
||||
|
||||
| траке |
|
||||
bar_item_search +
|
||||
| траке
|
||||
| bar_item_search +
|
||||
bar_item_new +
|
||||
bar_item_update +
|
||||
bar_item_remove +
|
||||
@@ -691,23 +691,23 @@ weechat_hook_timer(1000, 0, 1, $timer_cb, 'test');
|
||||
bar_update +
|
||||
bar_remove
|
||||
|
||||
| команде |
|
||||
command +
|
||||
| команде
|
||||
| command +
|
||||
command_options
|
||||
|
||||
| довршавање |
|
||||
completion_new +
|
||||
| довршавање
|
||||
| completion_new +
|
||||
completion_search +
|
||||
completion_get_string +
|
||||
completion_list_add +
|
||||
completion_free
|
||||
|
||||
| infos |
|
||||
info_get +
|
||||
| infos
|
||||
| info_get +
|
||||
info_get_hashtable
|
||||
|
||||
| infolists |
|
||||
infolist_new +
|
||||
| infolists
|
||||
| infolist_new +
|
||||
infolist_new_item +
|
||||
infolist_new_var_integer +
|
||||
infolist_new_var_string +
|
||||
@@ -725,8 +725,8 @@ weechat_hook_timer(1000, 0, 1, $timer_cb, 'test');
|
||||
infolist_time +
|
||||
infolist_free
|
||||
|
||||
| hdata |
|
||||
hdata_get +
|
||||
| hdata
|
||||
| hdata_get +
|
||||
hdata_get_var_offset +
|
||||
hdata_get_var_type_string +
|
||||
hdata_get_var_array_size +
|
||||
@@ -747,8 +747,8 @@ weechat_hook_timer(1000, 0, 1, $timer_cb, 'test');
|
||||
hdata_update +
|
||||
hdata_get_string
|
||||
|
||||
| ажурирање |
|
||||
upgrade_new +
|
||||
| ажурирање
|
||||
| upgrade_new +
|
||||
upgrade_write_object +
|
||||
upgrade_read +
|
||||
upgrade_close
|
||||
@@ -763,13 +763,13 @@ weechat_hook_timer(1000, 0, 1, $timer_cb, 'test');
|
||||
|===
|
||||
| Категорија | Константе
|
||||
|
||||
| повратни кодови |
|
||||
`WEECHAT_RC_OK` (цео број) +
|
||||
| повратни кодови
|
||||
| `WEECHAT_RC_OK` (цео број) +
|
||||
`WEECHAT_RC_OK_EAT` (цео број) +
|
||||
`WEECHAT_RC_ERROR` (цео број)
|
||||
|
||||
| конфигурациони фајлови |
|
||||
`WEECHAT_CONFIG_READ_OK` (цео број) +
|
||||
| конфигурациони фајлови
|
||||
| `WEECHAT_CONFIG_READ_OK` (цео број) +
|
||||
`WEECHAT_CONFIG_READ_MEMORY_ERROR` (цео број) +
|
||||
`WEECHAT_CONFIG_READ_FILE_NOT_FOUND` (цео број) +
|
||||
`WEECHAT_CONFIG_WRITE_OK` (цео број) +
|
||||
@@ -784,23 +784,23 @@ weechat_hook_timer(1000, 0, 1, $timer_cb, 'test');
|
||||
`WEECHAT_CONFIG_OPTION_UNSET_OK_REMOVED` (цео број) +
|
||||
`WEECHAT_CONFIG_OPTION_UNSET_ERROR` (цео број)
|
||||
|
||||
| сортиране листе |
|
||||
`WEECHAT_LIST_POS_SORT` (стринг) +
|
||||
| сортиране листе
|
||||
| `WEECHAT_LIST_POS_SORT` (стринг) +
|
||||
`WEECHAT_LIST_POS_BEGINNING` (стринг) +
|
||||
`WEECHAT_LIST_POS_END` (стринг)
|
||||
|
||||
| врућа листа |
|
||||
`WEECHAT_HOTLIST_LOW` (стринг) +
|
||||
| врућа листа
|
||||
| `WEECHAT_HOTLIST_LOW` (стринг) +
|
||||
`WEECHAT_HOTLIST_MESSAGE` (стринг) +
|
||||
`WEECHAT_HOTLIST_PRIVATE` (стринг) +
|
||||
`WEECHAT_HOTLIST_HIGHLIGHT` (стринг)
|
||||
|
||||
| кука process |
|
||||
`WEECHAT_HOOK_PROCESS_RUNNING` (цео број) +
|
||||
| кука process
|
||||
| `WEECHAT_HOOK_PROCESS_RUNNING` (цео број) +
|
||||
`WEECHAT_HOOK_PROCESS_ERROR` (цео број)
|
||||
|
||||
| кука connect |
|
||||
`WEECHAT_HOOK_CONNECT_OK` (цео број) +
|
||||
| кука connect
|
||||
| `WEECHAT_HOOK_CONNECT_OK` (цео број) +
|
||||
`WEECHAT_HOOK_CONNECT_ADDRESS_NOT_FOUND` (цео број) +
|
||||
`WEECHAT_HOOK_CONNECT_IP_ADDRESS_NOT_FOUND` (цео број) +
|
||||
`WEECHAT_HOOK_CONNECT_CONNECTION_REFUSED` (цео број) +
|
||||
@@ -812,8 +812,8 @@ weechat_hook_timer(1000, 0, 1, $timer_cb, 'test');
|
||||
`WEECHAT_HOOK_CONNECT_TIMEOUT` (цео број) +
|
||||
`WEECHAT_HOOK_CONNECT_SOCKET_ERROR` (цео број)
|
||||
|
||||
| кука signal |
|
||||
`WEECHAT_HOOK_SIGNAL_STRING` (стринг) +
|
||||
| кука signal
|
||||
| `WEECHAT_HOOK_SIGNAL_STRING` (стринг) +
|
||||
`WEECHAT_HOOK_SIGNAL_INT` (стринг) +
|
||||
`WEECHAT_HOOK_SIGNAL_POINTER` (стринг)
|
||||
|===
|
||||
@@ -821,7 +821,7 @@ weechat_hook_timer(1000, 0, 1, $timer_cb, 'test');
|
||||
[[common_tasks]]
|
||||
== Уобичајени задаци
|
||||
|
||||
Ово поглавље приказује неке уобичајене задатке, уз примере. Овде се користе само делимичне ствари из API, за потпуно упутство, погледајте link:weechat_plugin_api.sr.html[WeeChat референтни приручник API додатака].
|
||||
Ово поглавље приказује неке уобичајене задатке, уз примере. Овде се користе само делимичне ствари из API, за потпуно упутство, погледајте link:weechat_plugin_api.sr.html[WeeChat референтни приручник API додатака ^↗^,window=_blank].
|
||||
|
||||
[[buffers]]
|
||||
=== Бафери
|
||||
@@ -839,7 +839,7 @@ weechat_hook_timer(1000, 0, 1, $timer_cb, 'test');
|
||||
weechat.prnt("", "здраво")
|
||||
|
||||
# приказ „здраво” у баферу језгра, али без уписа у лог фајл
|
||||
# (само у верзијама >= 0.3.3)
|
||||
# (само у верзијама ≥ 0.3.3)
|
||||
weechat.prnt_date_tags("", 0, "no_log", "здраво")
|
||||
|
||||
# приказ префикса „==>” и поруке „здраво” у текућем баферу
|
||||
@@ -1081,7 +1081,8 @@ weechat.hook_process("url:https://weechat.org/dev/info/stable/",
|
||||
----
|
||||
|
||||
[TIP]
|
||||
Све доступне информације у вези програма WeeChat се налазе на страници https://weechat.org/dev/info
|
||||
Све информације у вези програма WeeChat се налазе на
|
||||
https://weechat.org/dev/info/[овој страници ^↗^,window=_blank].
|
||||
|
||||
Пример URL преноса са опцијом: преузимање најновијег WeeChat развојног пакета у фајл _/tmp/weechat-devel.tar.gz_:
|
||||
|
||||
@@ -1097,7 +1098,7 @@ weechat.hook_process_hashtable("url:https://weechat.org/files/src/weechat-devel.
|
||||
30 * 1000, "my_process_cb", "")
|
||||
----
|
||||
|
||||
За више информација у вези URL преноса, као и за доступне опције, погледајте функције `+hook_process+` и `+hook_process_hashtable+` у link:weechat_plugin_api.sr.html#_hook_process[WeeChat референтни приручник API додатака].
|
||||
За више информација у вези URL преноса, као и за доступне опције, погледајте функције `+hook_process+` и `+hook_process_hashtable+` у link:weechat_plugin_api.sr.html#_hook_process[WeeChat референтни приручник API додатака ^↗^,window=_blank].
|
||||
|
||||
[[config_options]]
|
||||
=== Конфигурација / опције
|
||||
@@ -1244,61 +1245,61 @@ IRC поруку можете да парсирате са info_hashtable под
|
||||
|===
|
||||
| Кључ | Од WeeChat ^(1)^ | Опис | Пример
|
||||
|
||||
| tags | 0.4.0 |
|
||||
Ознаке у поруци (може бити празно). |
|
||||
`+time=2015-06-27T16:40:35.000Z+`
|
||||
| tags | 0.4.0
|
||||
| Ознаке у поруци (може бити празно).
|
||||
| `+time=2015-06-27T16:40:35.000Z+`
|
||||
|
||||
| tag_xxx | 3.3 |
|
||||
Неозначена вредност ознаке "xxx" (један кључ по ознаци). |
|
||||
`+2015-06-27T16:40:35.000Z+`
|
||||
| tag_xxx | 3.3
|
||||
| Неозначена вредност ознаке "xxx" (један кључ по ознаци).
|
||||
| `+2015-06-27T16:40:35.000Z+`
|
||||
|
||||
| message_without_tags | 0.4.0 |
|
||||
Порука без ознака (иста као оригинална ако нема ознака у њој). |
|
||||
`+:nick!user@host PRIVMSG #weechat :здраво!+`
|
||||
| message_without_tags | 0.4.0
|
||||
| Порука без ознака (иста као оригинална ако нема ознака у њој).
|
||||
| `+:nick!user@host PRIVMSG #weechat :здраво!+`
|
||||
|
||||
| nick | 0.3.4 |
|
||||
Надимак порекла. |
|
||||
`+nick+`
|
||||
| nick | 0.3.4
|
||||
| Надимак порекла.
|
||||
| `+nick+`
|
||||
|
||||
| user | 2.7 |
|
||||
Корисник порекла. |
|
||||
`+user+`
|
||||
| user | 2.7
|
||||
| Корисник порекла.
|
||||
| `+user+`
|
||||
|
||||
| host | 0.3.4 |
|
||||
Хост порекла (укључујући и надимак). |
|
||||
`+nick!user@host+`
|
||||
| host | 0.3.4
|
||||
| Хост порекла (укључујући и надимак).
|
||||
| `+nick!user@host+`
|
||||
|
||||
| command | 0.3.4 |
|
||||
Команда (_PRIVMSG_, _NOTICE_, ...). |
|
||||
`+PRIVMSG+`
|
||||
| command | 0.3.4
|
||||
| Команда (_PRIVMSG_, _NOTICE_, ...).
|
||||
| `+PRIVMSG+`
|
||||
|
||||
| channel | 0.3.4 |
|
||||
Циљни канал. |
|
||||
`+#weechat+`
|
||||
| channel | 0.3.4
|
||||
| Циљни канал.
|
||||
| `+#weechat+`
|
||||
|
||||
| arguments | 0.3.4 |
|
||||
Аргументи команде (укључујући и канал). |
|
||||
`+#weechat :здраво!+`
|
||||
| arguments | 0.3.4
|
||||
| Аргументи команде (укључујући и канал).
|
||||
| `+#weechat :здраво!+`
|
||||
|
||||
| text | 1.3 |
|
||||
Текст (на пример, корисникова порука). |
|
||||
`+здраво!+`
|
||||
| text | 1.3
|
||||
| Текст (на пример, корисникова порука).
|
||||
| `+здраво!+`
|
||||
|
||||
| pos_command | 1.3 |
|
||||
Индекс _command_ у поруци („-1” ако се _command_ не пронађе). |
|
||||
`+47+`
|
||||
| pos_command | 1.3
|
||||
| Индекс _command_ у поруци („-1” ако се _command_ не пронађе).
|
||||
| `+47+`
|
||||
|
||||
| pos_arguments | 1.3 |
|
||||
Индекс _arguments_ у поруци („-1” ако се _arguments_ не пронађе). |
|
||||
`+55+`
|
||||
| pos_arguments | 1.3
|
||||
| Индекс _arguments_ у поруци („-1” ако се _arguments_ не пронађе).
|
||||
| `+55+`
|
||||
|
||||
| pos_channel | 1.3 |
|
||||
Индекс _channel_ у поруци („-1” ако се _channel_ не пронађе). |
|
||||
`+55+`
|
||||
| pos_channel | 1.3
|
||||
| Индекс _channel_ у поруци („-1” ако се _channel_ не пронађе).
|
||||
| `+55+`
|
||||
|
||||
| pos_text | 1.3 |
|
||||
Индекс _text_ у поруци („-1” ако се _text_ не пронађе). |
|
||||
`+65+`
|
||||
| pos_text | 1.3
|
||||
| Индекс _text_ у поруци („-1” ако се _text_ не пронађе).
|
||||
| `+65+`
|
||||
|===
|
||||
|
||||
[NOTE]
|
||||
|
||||
+633
-271
File diff suppressed because it is too large
Load Diff
@@ -116,6 +116,8 @@
|
||||
./src/gui/gui-bar.h
|
||||
./src/gui/gui-bar-item.c
|
||||
./src/gui/gui-bar-item.h
|
||||
./src/gui/gui-bar-item-custom.c
|
||||
./src/gui/gui-bar-item-custom.h
|
||||
./src/gui/gui-bar-window.c
|
||||
./src/gui/gui-bar-window.h
|
||||
./src/gui/gui-buffer.c
|
||||
|
||||
@@ -21,8 +21,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2022-03-11 19:30+0100\n"
|
||||
"PO-Revision-Date: 2022-01-28 09:35+0100\n"
|
||||
"POT-Creation-Date: 2022-06-18 16:05+0200\n"
|
||||
"PO-Revision-Date: 2022-06-18 16:11+0200\n"
|
||||
"Last-Translator: Ondřej Súkup <mimi.vx@gmail.com>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
"Language: cs\n"
|
||||
@@ -244,7 +244,7 @@ msgid ""
|
||||
"If you are discovering WeeChat, it is recommended to read at least the "
|
||||
"quickstart guide, and the user's guide if you have some time; they explain "
|
||||
"main WeeChat concepts.\n"
|
||||
"All WeeChat docs are available at: https://weechat.org/doc\n"
|
||||
"All WeeChat docs are available at: https://weechat.org/doc/\n"
|
||||
"\n"
|
||||
"Moreover, there is inline help with /help on all commands and options (use "
|
||||
"Tab key to complete the name).\n"
|
||||
@@ -258,7 +258,8 @@ msgstr ""
|
||||
"Pokud objevujete WeeChat je doporučeno si prečíst alespoň \"quickstart\" "
|
||||
"průvodce, a pokud máte trochu času tak uživatelskou příručku, oboje vám "
|
||||
"vyvětlí hlavní koncepty WeeChatu.\n"
|
||||
"Veškerá dokumentace WeeChatu je dostupná na adrese: https://weechat.org/doc\n"
|
||||
"Veškerá dokumentace WeeChatu je dostupná na adrese: https://weechat.org/"
|
||||
"doc/\n"
|
||||
"\n"
|
||||
"Navíc je zde dostupná integrovaná nápověda /help fungující na všech "
|
||||
"příkazech a nastaveních ( použijte Tab klávesu pro doplňování názvů).\n"
|
||||
@@ -553,6 +554,63 @@ msgstr "%sNení dostupná žádná nápověda, \"%s\" není příkaz nebo volba"
|
||||
msgid "Buffer command history:"
|
||||
msgstr "Historie příkazů bufferu:"
|
||||
|
||||
#, fuzzy
|
||||
#| msgid "List of bar items:"
|
||||
msgid "Custom bar items:"
|
||||
msgstr "Seznam položek polí:"
|
||||
|
||||
#, fuzzy, c-format
|
||||
#| msgid "options %s%s%s"
|
||||
msgid " conditions: %s\"%s%s%s\"%s"
|
||||
msgstr "možnosti %s%s%s"
|
||||
|
||||
#, fuzzy, c-format
|
||||
#| msgid "%s error: %s%s%s%s"
|
||||
msgid " content: %s\"%s%s%s\"%s"
|
||||
msgstr "%s chyba: %s%s%s%s"
|
||||
|
||||
#, fuzzy
|
||||
#| msgid "No bar item defined"
|
||||
msgid "No custom bar item defined"
|
||||
msgstr "Žádné položky pole nejsou definovány"
|
||||
|
||||
#, fuzzy, c-format
|
||||
#| msgid "Bar \"%s\" updated"
|
||||
msgid "Custom bar item \"%s\" updated"
|
||||
msgstr "Pole \"%s\" zaktualizováno"
|
||||
|
||||
#, fuzzy, c-format
|
||||
msgid "Custom bar item \"%s\" added"
|
||||
msgstr "Žádné položky pole nejsou definovány"
|
||||
|
||||
#, fuzzy, c-format
|
||||
msgid "%sUnable to add custom bar item \"%s\""
|
||||
msgstr "%sChyba: nemohu posunout pole \"%s\""
|
||||
|
||||
#, fuzzy, c-format
|
||||
msgid "%sCustom bar item \"%s\" not found"
|
||||
msgstr "%sChyba: kontext \"%s\" nenalezen"
|
||||
|
||||
#, fuzzy, c-format
|
||||
#| msgid "Filter \"%s\" renamed to \"%s\""
|
||||
msgid "Custom bar item \"%s\" renamed to \"%s\""
|
||||
msgstr "Filtr \"%s\" přejmenován na \"%s\""
|
||||
|
||||
#, fuzzy, c-format
|
||||
msgid "%sUnable to rename custom bar item \"%s\" to \"%s\""
|
||||
msgstr "%sChyba: nemohu přejmenovat filter \"%s\" na \"%s\""
|
||||
|
||||
#, fuzzy
|
||||
#| msgid "All bars have been deleted"
|
||||
msgid "All custom bar items have been deleted"
|
||||
msgstr "Všechny pole byly smazány"
|
||||
|
||||
# bar = pole - radek ci sloupec
|
||||
#, fuzzy, c-format
|
||||
#| msgid "Bar \"%s\" deleted"
|
||||
msgid "Custom bar item \"%s\" deleted"
|
||||
msgstr "Pole \"%s\" smazáno"
|
||||
|
||||
msgid "default command:"
|
||||
msgstr "výchozí příkaz:"
|
||||
|
||||
@@ -701,98 +759,6 @@ msgstr "Načtené pluginy:"
|
||||
msgid " written by \"%s\", license: %s"
|
||||
msgstr " napsal \"%s\", licence: %s"
|
||||
|
||||
msgid " commands hooked:"
|
||||
msgstr " napojené příkazy:"
|
||||
|
||||
msgid " command_run hooked:"
|
||||
msgstr " napojení command_run:"
|
||||
|
||||
msgid " timers hooked:"
|
||||
msgstr " napojené časovače:"
|
||||
|
||||
#, c-format
|
||||
msgid " %d %s (%d calls remaining)"
|
||||
msgstr " %d %s (%d zbývajících volání)"
|
||||
|
||||
msgid "second"
|
||||
msgid_plural "seconds"
|
||||
msgstr[0] "sekunda"
|
||||
msgstr[1] "sekundy"
|
||||
msgstr[2] "sekund"
|
||||
|
||||
msgid "millisecond"
|
||||
msgid_plural "milliseconds"
|
||||
msgstr[0] "milisekunda"
|
||||
msgstr[1] "milisekundy"
|
||||
msgstr[2] "milisekund"
|
||||
|
||||
#, c-format
|
||||
msgid " %d %s (no call limit)"
|
||||
msgstr " %d %s (žádný limit počtu volání)"
|
||||
|
||||
msgid " fd hooked:"
|
||||
msgstr " napojené popisovače souborů:"
|
||||
|
||||
#, c-format
|
||||
msgid " %d (flags: 0x%x:%s%s%s)"
|
||||
msgstr " %d (příznaky: 0x%x:%s%s%s)"
|
||||
|
||||
msgid " read"
|
||||
msgstr " čtení"
|
||||
|
||||
msgid " write"
|
||||
msgstr " zápis"
|
||||
|
||||
msgid " exception"
|
||||
msgstr " vyjímka"
|
||||
|
||||
msgid " process hooked:"
|
||||
msgstr " napojené procesy:"
|
||||
|
||||
#, c-format
|
||||
msgid " command: '%s', child pid: %d"
|
||||
msgstr " příkaz: '%s', pid potomka: %d"
|
||||
|
||||
msgid " connect hooked:"
|
||||
msgstr " napojené spojení:"
|
||||
|
||||
#, c-format
|
||||
msgid " socket: %d, address: %s, port: %d, child pid: %d"
|
||||
msgstr " soket: %d, adresa: %s, port: %d, pid potomka: %d"
|
||||
|
||||
msgid " prints hooked:"
|
||||
msgstr " napojené tisky:"
|
||||
|
||||
#, c-format
|
||||
msgid " buffer: %s, message: \"%s\""
|
||||
msgstr " buffer: %s, zpráva: \"%s\""
|
||||
|
||||
msgid "(none)"
|
||||
msgstr "(žádné)"
|
||||
|
||||
#, c-format
|
||||
msgid " message: \"%s\""
|
||||
msgstr " zpráva: \"%s\""
|
||||
|
||||
msgid " signals hooked:"
|
||||
msgstr " napojené signály:"
|
||||
|
||||
#, c-format
|
||||
msgid " signal: %s"
|
||||
msgstr " signál: %s"
|
||||
|
||||
msgid "(all)"
|
||||
msgstr "(všechny)"
|
||||
|
||||
msgid " configuration options hooked:"
|
||||
msgstr " napojené konfigurační možnosti:"
|
||||
|
||||
msgid " completions hooked:"
|
||||
msgstr " napojené doplňování:"
|
||||
|
||||
msgid " modifiers hooked:"
|
||||
msgstr " napojené modifikátory:"
|
||||
|
||||
msgid "No plugin found"
|
||||
msgstr "Plugin nenalezen"
|
||||
|
||||
@@ -811,6 +777,9 @@ msgstr "Seznam proxy:"
|
||||
msgid " %s%s%s: %s, %s/%d (%s), username: %s, password: %s"
|
||||
msgstr " %s%s%s: %s, %s/%d (%s), uživatelské jméno: %s, heslo: %s"
|
||||
|
||||
msgid "(none)"
|
||||
msgstr "(žádné)"
|
||||
|
||||
msgid "No proxy defined"
|
||||
msgstr "Proxy nejsou definovány"
|
||||
|
||||
@@ -1494,9 +1463,9 @@ msgstr "ladící funkce"
|
||||
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"list || set <plugin> <level> || dump [<plugin>] || buffer|color|infolists|"
|
||||
"libs|certs|memory|tags|term|windows || mouse|cursor [verbose] || hdata "
|
||||
"[free] || time <command>"
|
||||
"list || set <plugin> <level> || dump|hooks [<plugin>] || buffer|certs|color|"
|
||||
"dirs|infolists|libs|memory|tags|term|windows || mouse|cursor [verbose] || "
|
||||
"hdata [free] || time <command>"
|
||||
msgstr ""
|
||||
"list || set <plugin> <level> || dump [<plugin>] || buffer|color|memory|term|"
|
||||
"windows"
|
||||
@@ -1509,16 +1478,17 @@ msgid ""
|
||||
" level: debug level for plugin (0 = disable debug)\n"
|
||||
" dump: save memory dump in WeeChat log file (same dump is written when "
|
||||
"WeeChat crashes)\n"
|
||||
" hooks: display infos about hooks (with a plugin: display detailed info "
|
||||
"about hooks created by the plugin)\n"
|
||||
" buffer: dump buffer content with hexadecimal values in log file\n"
|
||||
" certs: display number of loaded trusted certificate authorities\n"
|
||||
" color: display infos about current color pairs\n"
|
||||
" cursor: toggle debug for cursor mode\n"
|
||||
" dirs: display directories\n"
|
||||
" hdata: display infos about hdata (with free: remove all hdata in "
|
||||
"memory)\n"
|
||||
" hooks: display infos about hooks\n"
|
||||
"infolists: display infos about infolists\n"
|
||||
" libs: display infos about external libraries used\n"
|
||||
" certs: display number of loaded trusted certificate authorities\n"
|
||||
" memory: display infos about memory usage\n"
|
||||
" mouse: toggle debug for mouse\n"
|
||||
" tags: display tags for lines\n"
|
||||
@@ -1603,34 +1573,36 @@ msgid ""
|
||||
" 3. an evaluated sub-string (format: \"eval:xxx\")\n"
|
||||
" 4. an evaluated condition (format: \"eval_cond:xxx\")\n"
|
||||
" 5. a string with escaped chars (format: \"esc:xxx\" or \"\\xxx\")\n"
|
||||
" 6. a string with chars to hide (format: \"hide:char,string\")\n"
|
||||
" 7. a string with max chars (format: \"cut:max,suffix,string\" or \"cut:"
|
||||
" 6. a string converted to lower case (format: \"lower:xxx\")\n"
|
||||
" 7. a string converted to upper case (format: \"upper:xxx\")\n"
|
||||
" 8. a string with chars to hide (format: \"hide:char,string\")\n"
|
||||
" 9. a string with max chars (format: \"cut:max,suffix,string\" or \"cut:"
|
||||
"+max,suffix,string\")\n"
|
||||
" or max chars displayed on screen (format: \"cutscr:max,suffix,string\" "
|
||||
"or \"cutscr:+max,suffix,string\")\n"
|
||||
" 8. a reversed string (format: \"rev:xxx\" or \"revscr:xxx\")\n"
|
||||
" 9. a repeated string (format: \"repeat:count,string\")\n"
|
||||
" 10. length of a string (format: \"length:xxx\" or \"lengthscr:xxx\")\n"
|
||||
" 11. split of a string (format: \"split:number,separators,flags,xxx\")\n"
|
||||
" 12. split of shell argmuents (format: \"split_shell:number,xxx\")\n"
|
||||
" 13. a color (format: \"color:xxx\", see \"Plugin API reference\", function "
|
||||
" 10. a reversed string (format: \"rev:xxx\" or \"revscr:xxx\")\n"
|
||||
" 11. a repeated string (format: \"repeat:count,string\")\n"
|
||||
" 12. length of a string (format: \"length:xxx\" or \"lengthscr:xxx\")\n"
|
||||
" 13. split of a string (format: \"split:number,separators,flags,xxx\")\n"
|
||||
" 14. split of shell argmuents (format: \"split_shell:number,xxx\")\n"
|
||||
" 15. a color (format: \"color:xxx\", see \"Plugin API reference\", function "
|
||||
"\"color\")\n"
|
||||
" 14. a modifier (format: \"modifier:name,data,string\")\n"
|
||||
" 15. an info (format: \"info:name,arguments\", arguments are optional)\n"
|
||||
" 16. a base 16/32/64 encoded/decoded string (format: \"base_encode:base,"
|
||||
" 16. a modifier (format: \"modifier:name,data,string\")\n"
|
||||
" 17. an info (format: \"info:name,arguments\", arguments are optional)\n"
|
||||
" 18. a base 16/32/64 encoded/decoded string (format: \"base_encode:base,"
|
||||
"xxx\" or \"base_decode:base,xxx\")\n"
|
||||
" 17. current date/time (format: \"date\" or \"date:format\")\n"
|
||||
" 18. an environment variable (format: \"env:XXX\")\n"
|
||||
" 19. a ternary operator (format: \"if:condition?value_if_true:"
|
||||
" 19. current date/time (format: \"date\" or \"date:format\")\n"
|
||||
" 20. an environment variable (format: \"env:XXX\")\n"
|
||||
" 21. a ternary operator (format: \"if:condition?value_if_true:"
|
||||
"value_if_false\")\n"
|
||||
" 20. result of an expression with parentheses and operators + - * / // % ** "
|
||||
" 22. result of an expression with parentheses and operators + - * / // % ** "
|
||||
"(format: \"calc:xxx\")\n"
|
||||
" 21. a random integer number (format: \"random:min,max\")\n"
|
||||
" 22. a translated string (format: \"translate:xxx\")\n"
|
||||
" 23. define a user variable (format: \"define:name,value\")\n"
|
||||
" 24. an option (format: \"file.section.option\")\n"
|
||||
" 25. a local variable in buffer\n"
|
||||
" 26. a hdata name/variable (the value is automatically converted to "
|
||||
" 23. a random integer number (format: \"random:min,max\")\n"
|
||||
" 24. a translated string (format: \"translate:xxx\")\n"
|
||||
" 25. define a user variable (format: \"define:name,value\")\n"
|
||||
" 26. an option (format: \"file.section.option\")\n"
|
||||
" 27. a local variable in buffer\n"
|
||||
" 28. a hdata name/variable (the value is automatically converted to "
|
||||
"string), by default \"window\" and \"buffer\" point to current window/"
|
||||
"buffer.\n"
|
||||
"Format for hdata can be one of following:\n"
|
||||
@@ -1663,6 +1635,8 @@ msgid ""
|
||||
" /eval -n ${window.buffer.full_name} ==> core.weechat\n"
|
||||
" /eval -n ${window.buffer.number} ==> 1\n"
|
||||
" /eval -n ${\\t} ==> <tab>\n"
|
||||
" /eval -n ${lower:TEST} ==> test\n"
|
||||
" /eval -n ${upper:test} ==> TEST\n"
|
||||
" /eval -n ${hide:-,${relay.network.password}} ==> --------\n"
|
||||
" /eval -n ${cut:3,+,test} ==> tes+\n"
|
||||
" /eval -n ${cut:+3,+,test} ==> te+\n"
|
||||
@@ -1709,7 +1683,7 @@ msgstr ""
|
||||
msgid ""
|
||||
"list || enable|disable|toggle [<name>|@] || add|addreplace <name> <buffer>[,"
|
||||
"<buffer>...] <tags> <regex> || rename <name> <new_name> || recreate <name> "
|
||||
"|| del <name>|-all"
|
||||
"|| del <name>|-all [<name>...]"
|
||||
msgstr ""
|
||||
"list || enable|disable|toggle [<jméno>] || add <jméno> <buffer>[,"
|
||||
"<buffer>...] <tags> <regex> || del <jméno>|-all"
|
||||
@@ -1935,6 +1909,64 @@ msgstr ""
|
||||
"\n"
|
||||
"Tento příkaz je používaný napojenými klávesami nebo pluginy."
|
||||
|
||||
#, fuzzy
|
||||
#| msgid "list of bar items"
|
||||
msgid "manage custom bar items"
|
||||
msgstr "seznam položek polí"
|
||||
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"list || add|addreplace <name> \"<conditions>\" \"<content>\" || rename "
|
||||
"<name> <new_name> || refresh <name> [<name>...] || recreate <name> || del "
|
||||
"<name>|-all"
|
||||
msgstr ""
|
||||
"list || enable|disable|toggle [<jméno>] || add <jméno> <buffer>[,"
|
||||
"<buffer>...] <tags> <regex> || del <jméno>|-all"
|
||||
|
||||
msgid ""
|
||||
" list: list all custom bar items\n"
|
||||
" add: add a custom bar item\n"
|
||||
"addreplace: add or replace an existing custom bar item\n"
|
||||
" name: custom bar item name\n"
|
||||
"conditions: evaluated conditions to display the bar item (for example to "
|
||||
"display the bar item only in specific buffers)\n"
|
||||
" content: content (evaluated, see /help eval)\n"
|
||||
" rename: rename a custom bar item\n"
|
||||
" refresh: update content of item in all bars where the item is displayed; "
|
||||
"any item can be refreshed: default/plugin/custom bar items\n"
|
||||
" recreate: set input with the command used to edit the custom bar item\n"
|
||||
" del: delete a custom bar item\n"
|
||||
" -all: delete all custom bar items\n"
|
||||
"\n"
|
||||
"Examples:\n"
|
||||
" add item with terminal size, displayed only in buffers with number = 1:\n"
|
||||
" /item add terminfo \"${buffer.number} == 1\" \"term:${info:term_width}"
|
||||
"x${info:term_height}\"\n"
|
||||
" add item with buffer info:\n"
|
||||
" /item add bufinfo \"\" \"${buffer.number}:${buffer.name}${if:${buffer."
|
||||
"zoomed}?(Z)}\"\n"
|
||||
" add item with date/time using format \"Dec 25, 12:34 +0100\", refreshed "
|
||||
"every minute:\n"
|
||||
" /item add datetime \"\" \"${date:%b %d, %H:%M %z}\"\n"
|
||||
" /trigger add datetime_refresh timer \"60000;60\" \"\" \"\" \"/item "
|
||||
"refresh datetime\"\n"
|
||||
" add item with number of lines in buffer (displayed/total), refreshed each "
|
||||
"time a new line is displayed or if filtered lines have changed:\n"
|
||||
" /item add lines_count \"\" \"${calc:${buffer.lines.lines_count}-${buffer."
|
||||
"lines.lines_hidden}}/${buffer.lines.lines_count} lines\"\n"
|
||||
" /trigger add lines_count_refresh_print print \"\" \"\" \"\" \"/item "
|
||||
"refresh lines_count\"\n"
|
||||
" /trigger add lines_count_refresh_signal signal \"window_switch;"
|
||||
"buffer_switch;buffer_lines_hidden;filters_*\" \"\" \"\" \"/item refresh "
|
||||
"lines_count\"\n"
|
||||
" force refresh of item \"lines_count\":\n"
|
||||
" /item refresh lines_count\n"
|
||||
" recreate item \"lines_count\" with different conditions or content:\n"
|
||||
" /item recreate lines_count\n"
|
||||
" delete item \"lines_count\":\n"
|
||||
" /item del lines_count"
|
||||
msgstr ""
|
||||
|
||||
msgid "bind/unbind keys"
|
||||
msgstr "napojit/odpojit klávesy"
|
||||
|
||||
@@ -2921,6 +2953,24 @@ msgstr ""
|
||||
msgid "names of bars"
|
||||
msgstr "jména polí"
|
||||
|
||||
#, fuzzy
|
||||
#| msgid "names of bars"
|
||||
msgid "names of custom bar items"
|
||||
msgstr "jména polí"
|
||||
|
||||
#, fuzzy
|
||||
#| msgid "functions for command line"
|
||||
msgid "conditions for custom bar item"
|
||||
msgstr "funkce pro příkazovou řádku"
|
||||
|
||||
msgid "contents for custom bar item"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"arguments for command that adds a custom bar item: item name, conditions, "
|
||||
"content"
|
||||
msgstr ""
|
||||
|
||||
msgid "values for a configuration option"
|
||||
msgstr "hodnoty pro konfigurační nastavení"
|
||||
|
||||
@@ -4781,6 +4831,16 @@ msgstr "%s-VÍCE(%d)-"
|
||||
msgid "away"
|
||||
msgstr "pryč"
|
||||
|
||||
#, fuzzy
|
||||
msgid "condition(s) to display the bar item (evaluated, see /help eval)"
|
||||
msgstr ""
|
||||
"uživatelské jméno pro proxy server(pozn.: obsah je vykonán, viz /help eval)"
|
||||
|
||||
#, fuzzy
|
||||
msgid "content of bar item (evaluated, see /help eval)"
|
||||
msgstr ""
|
||||
"uživatelské jméno pro proxy server(pozn.: obsah je vykonán, viz /help eval)"
|
||||
|
||||
#, fuzzy, c-format
|
||||
msgid "Notify changed for \"%s%s%s\": \"%s%s%s\" to \"%s%s%s\""
|
||||
msgstr "%s%s%s%s změnil téma pro %s%s%s na \"%s%s%s\""
|
||||
@@ -6558,6 +6618,12 @@ msgstr "nepřipojen"
|
||||
msgid " (fake)"
|
||||
msgstr ""
|
||||
|
||||
msgid "second"
|
||||
msgid_plural "seconds"
|
||||
msgstr[0] "sekunda"
|
||||
msgstr[1] "sekundy"
|
||||
msgstr[2] "sekund"
|
||||
|
||||
msgid "minute"
|
||||
msgid_plural "minutes"
|
||||
msgstr[0] "minuta"
|
||||
@@ -6837,7 +6903,7 @@ msgstr "konfigurační nastavení"
|
||||
|
||||
msgid ""
|
||||
"add [<channel1> [<channel2>...]] || addraw <channel1>[,<channel2>...] "
|
||||
"[<key1>[,<key2>...]] || del [<channel1> [<channel2>...]] || save || sort"
|
||||
"[<key1>[,<key2>...]] || del [<channel1> [<channel2>...]] || apply || sort"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
@@ -6850,17 +6916,18 @@ msgid ""
|
||||
"option\n"
|
||||
"channel: channel name\n"
|
||||
" key: key for the channel\n"
|
||||
" save: save currently joined channels in the autojoin option\n"
|
||||
" apply: set currently joined channels in the autojoin option\n"
|
||||
" sort: sort alphabetically channels in the autojoin option\n"
|
||||
"\n"
|
||||
"Examples:\n"
|
||||
" /autojoin add\n"
|
||||
" /autojoin add #test\n"
|
||||
" /autojoin add #chan1 #chan2\n"
|
||||
" /allchan /autojoin add\n"
|
||||
" /autojoin addraw #chan1,#chan2,#chan3 key1,key2\n"
|
||||
" /autojoin del\n"
|
||||
" /autojoin del #chan1\n"
|
||||
" /autojoin save\n"
|
||||
" /autojoin apply\n"
|
||||
" /autojoin sort"
|
||||
msgstr ""
|
||||
|
||||
@@ -11225,7 +11292,7 @@ msgid ""
|
||||
"The \"irc\" protocol allows any IRC client (including WeeChat itself) to "
|
||||
"connect on the port.\n"
|
||||
"The \"weechat\" protocol allows a remote interface to connect on the port, "
|
||||
"see the list here: https://weechat.org/about/interfaces\n"
|
||||
"see the list here: https://weechat.org/about/interfaces/\n"
|
||||
"\n"
|
||||
"Without argument, this command opens buffer with list of relay clients.\n"
|
||||
"\n"
|
||||
@@ -12843,6 +12910,12 @@ msgstr "výchozí barva textu pro pole"
|
||||
msgid "trigger post actions"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"arguments for command that adds a trigger: trigger name, hooks, hook "
|
||||
"arguments, hook conditions, hook regex, hook command, hook return code, post "
|
||||
"actions"
|
||||
msgstr ""
|
||||
|
||||
#, c-format
|
||||
msgid ""
|
||||
"%s%s: invalid format for option \"regex\", see /help trigger.trigger.%s.regex"
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user