mirror of
https://github.com/weechat/weechat.git
synced 2026-06-28 05:46:38 +02:00
Compare commits
243 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 6a98f747e6 | |||
| dc034e2685 | |||
| a0bba1325a | |||
| 484f679e60 | |||
| fdb1ff3781 | |||
| 193aa0448f | |||
| 3932cf5a00 | |||
| 8555cf465e | |||
| 11f0d57dfd | |||
| 1fd5dd4c34 | |||
| 1fec7e8856 | |||
| 236d22e364 | |||
| 4d3a3c67ac | |||
| ae61137216 | |||
| 6bb4bed8bb | |||
| 92cdcee8f6 | |||
| b2b110f1a3 | |||
| 89400cbf7a | |||
| e0c117e14f | |||
| b978de5f84 | |||
| fd43ad6387 | |||
| 009a7821b1 | |||
| 5cfcec7212 | |||
| c6671fc9db | |||
| 8295ea6da8 | |||
| 9817372553 | |||
| 486df38a8d | |||
| 76d4cc7e3f | |||
| 135960859d | |||
| 9f62c4a842 | |||
| 7711ed95c5 | |||
| 26e6fdc645 | |||
| e7b6e8c60f | |||
| 4d74a89cfc | |||
| be6a29a596 | |||
| 34c043453b | |||
| 6f8aab186d | |||
| 201b24a02a | |||
| 01cf98e8fb | |||
| d7c0e896b2 | |||
| 389f9f436b | |||
| fe62d93dd0 | |||
| d5c285f0a6 | |||
| a00edcf50e | |||
| be7380f9b3 | |||
| 5284921701 | |||
| 36d2e7427e | |||
| 0df582c7c1 | |||
| a99fc17d40 | |||
| 2b2ba62600 | |||
| 21683def12 | |||
| 96c22c41ba | |||
| ba27ec8d65 | |||
| c6d8b54459 | |||
| 82f59d2a98 | |||
| 731f7e4243 | |||
| 2178440b7c | |||
| 57af62c1c0 | |||
| 742773e070 | |||
| ac646da4fb | |||
| 9cb68b13a9 | |||
| 5070a6330c | |||
| d5cbd6c49a | |||
| 2a32456f19 | |||
| b0bf2fbc97 | |||
| e8524ea2c4 | |||
| 7cf9399616 | |||
| 68ecfb16a1 | |||
| f5604510cd | |||
| 0090695f7d | |||
| e614410815 | |||
| fb14e67364 | |||
| a31de83a3c | |||
| b26fb7fba6 | |||
| 0f67f55098 | |||
| 1ce2d7f56d | |||
| 223eefef67 | |||
| aee3da5452 | |||
| d3b84eaf6c | |||
| ac50a5dda7 | |||
| a36fa2faea | |||
| 1e0d59a5e6 | |||
| 06b6f457d9 | |||
| 57c0a82557 | |||
| dd65938a85 | |||
| ff417f88ea | |||
| 2857b7b4b7 | |||
| a8080505f3 | |||
| bbe8afcbd4 | |||
| 25f25073b9 | |||
| d068fe0de5 | |||
| d91cddc909 | |||
| 9fd71067e7 | |||
| 441d532f15 | |||
| 57c9f371bc | |||
| 4fa278c2c3 | |||
| 0edae0d93d | |||
| fbc2e86d0e | |||
| 06622b5acb | |||
| 9bb903cbc8 | |||
| e9b8c9b6aa | |||
| b0eb3c9347 | |||
| 2102ef742b | |||
| 5d51e7286c | |||
| fe892460ba | |||
| 0bb7a34748 | |||
| ee1efedbd7 | |||
| 492a68b3de | |||
| 2bd3d32f0d | |||
| 6b28cc001f | |||
| 23707a12ea | |||
| a7364d055b | |||
| 4d4a6f99f9 | |||
| a4c73b9ae7 | |||
| 3bc0453cae | |||
| 2ed281af02 | |||
| 05abbac297 | |||
| 237c37e719 | |||
| 39f2b2f7b9 | |||
| 8f6395e889 | |||
| 53df45de48 | |||
| bcb8647aa4 | |||
| b1404b0277 | |||
| 1514570ff0 | |||
| 2475ba43a3 | |||
| d2c2f9e6cd | |||
| d8abdc57ee | |||
| e77ea9dc26 | |||
| 324f0aaa2d | |||
| ae273b2714 | |||
| 06a05fd674 | |||
| a50143fdf8 | |||
| 56b82fb115 | |||
| 9b4f52ac13 | |||
| 906ac1d1e1 | |||
| 2a145d7cc1 | |||
| 68ad24f2df | |||
| 1796634d83 | |||
| a37c46c21e | |||
| d43b9e99c1 | |||
| d5c4342bce | |||
| 569c93c6fb | |||
| 96ed471261 | |||
| 6b59fc8557 | |||
| b7441bd7a3 | |||
| 62e68f965f | |||
| 0440309cee | |||
| e057c16b36 | |||
| c4cade3550 | |||
| 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 |
@@ -5,7 +5,7 @@ on:
|
|||||||
- pull_request
|
- pull_request
|
||||||
|
|
||||||
env:
|
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 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:
|
jobs:
|
||||||
|
|
||||||
@@ -14,7 +14,7 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os:
|
os:
|
||||||
- ubuntu-20.04
|
- ubuntu-22.04
|
||||||
config:
|
config:
|
||||||
- { name: "cmake_gcc", cc: "gcc", cxx: "g++", tool: "cmake", args: "" }
|
- { name: "cmake_gcc", cc: "gcc", cxx: "g++", tool: "cmake", args: "" }
|
||||||
- { name: "cmake_gcc_ninja", cc: "gcc", cxx: "g++", tool: "cmake", args: "-G Ninja" }
|
- { name: "cmake_gcc_ninja", cc: "gcc", cxx: "g++", tool: "cmake", args: "-G Ninja" }
|
||||||
@@ -89,8 +89,8 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os:
|
os:
|
||||||
|
- macos-12
|
||||||
- macos-11
|
- macos-11
|
||||||
- macos-10.15
|
|
||||||
config:
|
config:
|
||||||
- { name: "cmake_gcc", cc: "gcc", cxx: "g++" }
|
- { name: "cmake_gcc", cc: "gcc", cxx: "g++" }
|
||||||
- { name: "cmake_clang", cc: "clang", cxx: "clang++" }
|
- { name: "cmake_clang", cc: "clang", cxx: "clang++" }
|
||||||
@@ -133,7 +133,7 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os:
|
os:
|
||||||
- ubuntu-20.04
|
- ubuntu-22.04
|
||||||
|
|
||||||
name: "Build Debian on ${{ matrix.os }}"
|
name: "Build Debian on ${{ matrix.os }}"
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
@@ -153,7 +153,7 @@ jobs:
|
|||||||
run: ./tools/build-debian.sh test-patches
|
run: ./tools/build-debian.sh test-patches
|
||||||
|
|
||||||
- name: Build Debian packages
|
- name: Build Debian packages
|
||||||
run: ./tools/build-debian.sh devel ubuntu/focal
|
run: ./tools/build-debian.sh devel ubuntu/jammy
|
||||||
|
|
||||||
- name: Install Debian packages
|
- name: Install Debian packages
|
||||||
run: sudo dpkg -i ../weechat-devel*.deb
|
run: sudo dpkg -i ../weechat-devel*.deb
|
||||||
|
|||||||
+2
-1
@@ -151,6 +151,8 @@ endif()
|
|||||||
|
|
||||||
add_definitions(-DHAVE_CONFIG_H)
|
add_definitions(-DHAVE_CONFIG_H)
|
||||||
|
|
||||||
|
include(FindPkgConfig)
|
||||||
|
|
||||||
include(CheckIncludeFiles)
|
include(CheckIncludeFiles)
|
||||||
include(CheckFunctionExists)
|
include(CheckFunctionExists)
|
||||||
include(CheckSymbolExists)
|
include(CheckSymbolExists)
|
||||||
@@ -198,7 +200,6 @@ list(APPEND EXTRA_LIBS gnutls)
|
|||||||
find_package(ZLIB REQUIRED)
|
find_package(ZLIB REQUIRED)
|
||||||
|
|
||||||
# Check for zstd
|
# Check for zstd
|
||||||
include(FindPkgConfig)
|
|
||||||
pkg_check_modules(LIBZSTD REQUIRED libzstd)
|
pkg_check_modules(LIBZSTD REQUIRED libzstd)
|
||||||
|
|
||||||
# Check for iconv
|
# Check for iconv
|
||||||
|
|||||||
+104
-5
@@ -15,6 +15,105 @@ https://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes]
|
|||||||
(file _ReleaseNotes.adoc_ in sources).
|
(file _ReleaseNotes.adoc_ in sources).
|
||||||
|
|
||||||
|
|
||||||
|
[[v3.7.1]]
|
||||||
|
== Version 3.7.1 (2022-10-21)
|
||||||
|
|
||||||
|
Bug fixes::
|
||||||
|
|
||||||
|
* trigger: execute trigger command on appropriate buffer for hooks command, command_run, line, modifier and print (issue #1841)
|
||||||
|
|
||||||
|
[[v3.7]]
|
||||||
|
== Version 3.7 (2022-10-09)
|
||||||
|
|
||||||
|
New features::
|
||||||
|
|
||||||
|
* core: add option `-save` in command `/upgrade` (issue #1630)
|
||||||
|
* core: add option weechat.look.highlight_disable_regex and buffer property "highlight_disable_regex" (issue #1798)
|
||||||
|
* core: sort filters by name (issue #1695)
|
||||||
|
* core: add key kbd:[Alt+Backspace] to delete previous word, change key kbd:[Ctrl+w] to delete previous word until whitespace (issue #559)
|
||||||
|
* api: rename function string_build_with_split_string to string_rebuild_split_string, add arguments "index_start" and "index_end"
|
||||||
|
* api: add info "uptime_current"
|
||||||
|
* api: add function crypto_hash_file
|
||||||
|
* api: add support of priority in function hook_line (issue #1821)
|
||||||
|
* api: add function string_parse_size
|
||||||
|
* api: add function file_compress
|
||||||
|
* buflist: add variable `${hotlist_priority_number}` (integer version of `${hotlist_priority}`)
|
||||||
|
* irc: display SETNAME command in channels and private buffers, add options irc.color.message_setname and irc.look.smart_filter_setname (issue #1805)
|
||||||
|
* irc: add option irc.look.display_pv_nick_change
|
||||||
|
* logger: add options to rotate and compress log files: logger.file.rotation_compression_level, logger.file.rotation_compression_type and logger.file.rotation_size_max (issue #314)
|
||||||
|
* spell: allow special dict value "-" to disable spell checking on a specific buffer (issue #1699)
|
||||||
|
* trigger: add elapsed time for trigger execution on monitor buffer when trigger debug is set, add option trigger.color.identifier (issue #1806)
|
||||||
|
* trigger: add variable `${tg_hook_type}` (issue #1765)
|
||||||
|
|
||||||
|
Bug fixes::
|
||||||
|
|
||||||
|
* core: fix wrong terminal title on terminal resize (issue #1702)
|
||||||
|
* core: fix page scroll in bare display (issue #1830)
|
||||||
|
* api: change type of argument remaining_calls in hook_timer callback from string to integer (in scripts)
|
||||||
|
* api: change type of argument object_id in upgrade_new callback from string to integer (in scripts)
|
||||||
|
* irc: fix duplicated channels in autojoin option when autojoin_dynamic is enabled (issue #1795)
|
||||||
|
* irc: fix display of TOPIC and QUIT messages with an empty trailing parameter (issue #1797)
|
||||||
|
* irc: fix parsing of messages with trailing spaces and no trailing parameter (issue #1803)
|
||||||
|
* irc: add missing tag "irc_numeric" in all numeric IRC commands (issue #1804)
|
||||||
|
* irc: display an error message when using command `/dcc` without xfer plugin loaded
|
||||||
|
* irc: display ACCOUNT and CHGHOST commands in private buffers
|
||||||
|
* irc: fix extract of isupport value when it is last in list and without value (issue #1807)
|
||||||
|
* irc: fix target buffer of generic errors when they contain a target nick (issue #1814)
|
||||||
|
* irc: fix display of message 350 (whois, gateway) (issue #1815)
|
||||||
|
* irc: replace chars "\01" by spaces in CTCP replies (issue #1819)
|
||||||
|
* irc: fix message when disconnecting from server in case of high lag when server option autoreconnect is off (issue #1708)
|
||||||
|
* irc: set local variable "filter" when doing `/server raw xxx` with raw buffer already opened (issue #1448)
|
||||||
|
* guile: fix function hdata_get_string
|
||||||
|
* javascript: fix return of long value in functions infolist_time, hdata_long and hdata_time
|
||||||
|
* php: fix function hdata_compare
|
||||||
|
* relay: fix parsing of IRC messages received from clients (issue #1796)
|
||||||
|
* relay: fix refresh of relay buffer after `/upgrade`
|
||||||
|
* ruby: fix function hdata_get_string
|
||||||
|
* scripts: fix issue with year ≥ 2038 in functions infolist_new_var_time, print_date_tags and print_y_date_tags (plugins: python/lua/tcl/guile/javascript)
|
||||||
|
* scripts: fix issue with long interval in function hook_timer (plugins: python/ruby/lua/tcl/guile/javascript/php)
|
||||||
|
* trigger: fix error on monitor buffer creation when trigger debug is >= 1 and monitor buffer is closed
|
||||||
|
* trigger: escape arguments with double quotes in output of `/trigger input|output|recreate` (issue #190)
|
||||||
|
* xfer: fix crash when closing DCC chat buffer
|
||||||
|
* xfer: disconnect all active DCC chats and files on `/upgrade`
|
||||||
|
* xfer: fix refresh of xfer buffer after `/upgrade`
|
||||||
|
* xfer: fix DCC file receive on Termux (issue #1811)
|
||||||
|
|
||||||
|
Tests::
|
||||||
|
|
||||||
|
* core: switch from Ubuntu 20.04 to 22.04 in CI
|
||||||
|
* core: remove macOS 10.15, add macOS 12 in CI
|
||||||
|
* core: add tests on filter functions
|
||||||
|
* scripts: add tests on hdata functions
|
||||||
|
* scripts: fix run of Guile test script
|
||||||
|
* xfer: add tests on file functions
|
||||||
|
|
||||||
|
[[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]]
|
[[v3.5]]
|
||||||
== Version 3.5 (2022-03-27)
|
== Version 3.5 (2022-03-27)
|
||||||
|
|
||||||
@@ -22,7 +121,7 @@ New features::
|
|||||||
|
|
||||||
* core: search in message tags when tags are displayed with `/debug tags`
|
* 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)
|
* 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)
|
* 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
|
* 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)
|
* trigger: add variables `${tg_tag_irc_xxx}` containing IRC message tags (issue #1680)
|
||||||
@@ -65,7 +164,7 @@ Build::
|
|||||||
|
|
||||||
Bug fixes::
|
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]]
|
[[v3.4]]
|
||||||
== Version 3.4 (2021-12-18)
|
== Version 3.4 (2021-12-18)
|
||||||
@@ -210,7 +309,7 @@ Bug fixes::
|
|||||||
* core: set server name when connecting to server with TLS (SNI extension) only if it's not an IPV4/IPv6 (issue #1635)
|
* core: set server name when connecting to server with TLS (SNI extension) only if it's not an IPV4/IPv6 (issue #1635)
|
||||||
* core: use function mallinfo2 instead of mallinfo when available (issue #1636)
|
* core: use function mallinfo2 instead of mallinfo when available (issue #1636)
|
||||||
* core: display a warning when the file with certificate authorities is not found (option weechat.network.gnutls_ca_file)
|
* core: display a warning when the file with certificate authorities is not found (option weechat.network.gnutls_ca_file)
|
||||||
* core: evaluate left/right part of comparison after split on the comparison operator in ${if:xxx} (issue #1627)
|
* core: evaluate left/right part of comparison after split on the comparison operator in `${if:xxx}` (issue #1627)
|
||||||
* core: prevent switching to start of visited buffers when jumping to next (issue #1591, issue #1592)
|
* core: prevent switching to start of visited buffers when jumping to next (issue #1591, issue #1592)
|
||||||
* core: recreate buflist and fset bars on `/reload` when WeeChat is started without configuration files (issue #1618)
|
* core: recreate buflist and fset bars on `/reload` when WeeChat is started without configuration files (issue #1618)
|
||||||
* buflist: fix comparison of hotlists in option buflist.look.sort (issue #1621)
|
* buflist: fix comparison of hotlists in option buflist.look.sort (issue #1621)
|
||||||
@@ -619,7 +718,7 @@ New features::
|
|||||||
* api: add functions string_base_encode and string_base_decode, remove functions string_encode_base64 and string_decode_base64
|
* api: add functions string_base_encode and string_base_decode, remove functions string_encode_base64 and string_decode_base64
|
||||||
* api: add support of Time-based One-Time Password (TOTP), add infos "totp_generate" and "totp_validate"
|
* api: add support of Time-based One-Time Password (TOTP), add infos "totp_generate" and "totp_validate"
|
||||||
* buflist: add default keys kbd:[Ctrl+F1]/kbd:[Ctrl+F2] to scroll up/down one page in buflist (same action as kbd:[F1]/kbd:[F2])
|
* buflist: add default keys kbd:[Ctrl+F1]/kbd:[Ctrl+F2] to scroll up/down one page in buflist (same action as kbd:[F1]/kbd:[F2])
|
||||||
* buflist: add variable ${number2}, always set with the indented buffer number
|
* buflist: add variable `${number2}`, always set with the indented buffer number
|
||||||
* exec: add option exec.command.shell to customize the shell used with `/exec -sh`
|
* exec: add option exec.command.shell to customize the shell used with `/exec -sh`
|
||||||
* relay: add support of close frame in websocket connection (issue #1281)
|
* relay: add support of close frame in websocket connection (issue #1281)
|
||||||
* relay: add support of Time-based One-Time Password (TOTP) as second authentication factor in weechat protocol
|
* relay: add support of Time-based One-Time Password (TOTP) as second authentication factor in weechat protocol
|
||||||
@@ -766,7 +865,7 @@ New features::
|
|||||||
* api: add hashtable with variables in plugin structure
|
* api: add hashtable with variables in plugin structure
|
||||||
* api: add time in info "date" (WeeChat compilation date/time) (issue #1138)
|
* api: add time in info "date" (WeeChat compilation date/time) (issue #1138)
|
||||||
* irc: add server option "split_msg_max_length"
|
* irc: add server option "split_msg_max_length"
|
||||||
* irc: allow ${irc_server.xxx} and ${server} in server evaluated options (issue #1144)
|
* irc: allow `${irc_server.xxx}` and `${server}` in server evaluated options (issue #1144)
|
||||||
* logger: add option logger.file.fsync (issue #1145)
|
* logger: add option logger.file.fsync (issue #1145)
|
||||||
* logger: add option logger.look.backlog_conditions (issue #1132)
|
* logger: add option logger.look.backlog_conditions (issue #1132)
|
||||||
* script: change default value of option script.look.sort from "p,n" to "i,p,n"
|
* script: change default value of option script.look.sort from "p,n" to "i,p,n"
|
||||||
|
|||||||
+4
-4
@@ -38,7 +38,7 @@ please include:
|
|||||||
problem here.
|
problem here.
|
||||||
* The *gdb's backtrace* (only for a crash): if you can reproduce the crash
|
* 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
|
(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 *actual result*.
|
||||||
* The *expected result*: the correct result you are expecting.
|
* 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].
|
https://github.com/weechat/weechat.org[weechat.org].
|
||||||
|
|
||||||
To start a translation in a new language (not yet supported), please look at
|
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.
|
in Developer's guide.
|
||||||
|
|
||||||
== Feature requests
|
== Feature requests
|
||||||
|
|
||||||
WeeChat is under active development, so your idea may already have been
|
WeeChat is under active development, so your idea may already have been
|
||||||
implemented, or scheduled for a future version (you can check in
|
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.
|
https://github.com/weechat/weechat/milestones[milestones] on GitHub.
|
||||||
|
|
||||||
Pull requests on GitHub are welcome for minor new features.
|
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_).
|
(server: _irc.libera.chat_, channel _#weechat_).
|
||||||
|
|
||||||
Before submitting any pull request, be sure you have read the
|
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
|
in Developer's guide, which contains info about styles used, naming convention
|
||||||
and other useful info.
|
and other useful info.
|
||||||
|
|||||||
+3
-3
@@ -23,13 +23,13 @@ Homepage: https://weechat.org/
|
|||||||
|
|
||||||
== Features
|
== 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-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.
|
* *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].
|
* *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.
|
* *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]).
|
* *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.
|
* *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].
|
* *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.
|
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
|
== Copyright
|
||||||
|
|
||||||
|
|||||||
+152
-48
@@ -17,6 +17,103 @@ https://weechat.org/files/changelog/ChangeLog-devel.html[ChangeLog]
|
|||||||
(file _ChangeLog.adoc_ in sources).
|
(file _ChangeLog.adoc_ in sources).
|
||||||
|
|
||||||
|
|
||||||
|
[[v3.7.1]]
|
||||||
|
== Version 3.7.1 (2022-10-21)
|
||||||
|
|
||||||
|
Bug fix and maintenance release.
|
||||||
|
|
||||||
|
[[v3.7]]
|
||||||
|
== Version 3.7 (2022-10-09)
|
||||||
|
|
||||||
|
[[v3.7_upgrade_new_callback_object_id]]
|
||||||
|
=== Argument "object_id" in callback of upgrade_new
|
||||||
|
|
||||||
|
In all script languages (except PHP), the argument "object_id" sent to the
|
||||||
|
callback of "upgrade_new" is now an integer (it was a string in older releases).
|
||||||
|
|
||||||
|
To be compatible with all versions, it is recommended to convert the argument
|
||||||
|
to integer before testing it, for example in Python:
|
||||||
|
|
||||||
|
[source,python]
|
||||||
|
----
|
||||||
|
if int(object_id) == 1:
|
||||||
|
# ...
|
||||||
|
----
|
||||||
|
|
||||||
|
[[v3.7_hook_timer_callback_remaining_calls]]
|
||||||
|
=== Argument "remaining_calls" in callback of hook_timer
|
||||||
|
|
||||||
|
In all script languages (except PHP), the argument "remaining_calls" sent to the
|
||||||
|
callback of "hook_timer" is now an integer (it was a string in older releases).
|
||||||
|
|
||||||
|
To be compatible with all versions, it is recommended to convert the argument
|
||||||
|
to integer before testing it, for example in Python:
|
||||||
|
|
||||||
|
[source,python]
|
||||||
|
----
|
||||||
|
if int(remaining_calls) > 0:
|
||||||
|
# ...
|
||||||
|
----
|
||||||
|
|
||||||
|
[[v3.7_delete_previous_word_whitespace]]
|
||||||
|
=== Delete previous word until whitespace
|
||||||
|
|
||||||
|
A new parameter `delete_previous_word_whitespace` has been added in `/input`
|
||||||
|
command to delete previous word until backspace. +
|
||||||
|
This is now bound by default to the key kbd:[Ctrl+w] (see issue #559).
|
||||||
|
|
||||||
|
A new key kbd:[Alt+Backspace] has been added to delete word, like kbd:[Ctrl+w]
|
||||||
|
did in previous releases.
|
||||||
|
|
||||||
|
You can get the new behavior for kbd:[Ctrl+w] with this command:
|
||||||
|
|
||||||
|
----
|
||||||
|
/key bind ctrl-W /input delete_previous_word_whitespace
|
||||||
|
----
|
||||||
|
|
||||||
|
And add the new key kbd:[Alt+Backspace] with this command:
|
||||||
|
|
||||||
|
----
|
||||||
|
/key missing
|
||||||
|
----
|
||||||
|
|
||||||
|
[[v3.7_api_string_rebuild_split_string]]
|
||||||
|
=== Function string_rebuild_split_string
|
||||||
|
|
||||||
|
The API function string_build_with_split_string has been renamed to
|
||||||
|
link:https://weechat.org/doc/plugin/#_string_rebuild_split_string[string_rebuild_split_string]
|
||||||
|
and two new arguments have been added: _index_start_ and _index_end_.
|
||||||
|
|
||||||
|
To stay compatible, the existing calls to the function must be done with the
|
||||||
|
new function name and these values:
|
||||||
|
|
||||||
|
* _index_start_: `0`
|
||||||
|
* _index_end_: `-1`
|
||||||
|
|
||||||
|
[[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]]
|
[[v3.5]]
|
||||||
== Version 3.5 (2022-03-27)
|
== Version 3.5 (2022-03-27)
|
||||||
|
|
||||||
@@ -28,11 +125,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`
|
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
|
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
|
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).
|
(it was deprecated since WeeChat 2.9).
|
||||||
|
|
||||||
The option relay.network.compression_level has been renamed to relay.network.compression
|
The option relay.network.compression_level has been renamed to relay.network.compression
|
||||||
@@ -67,11 +164,11 @@ You can restore the default triggers with the following command:
|
|||||||
=== New parameters in function hdata_search
|
=== New parameters in function hdata_search
|
||||||
|
|
||||||
New parameters have been added in function
|
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.
|
evaluation of expression.
|
||||||
|
|
||||||
New parameters are the same as function
|
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)
|
* pointers: hashtable with pointers (pointers)
|
||||||
* extra_vars: hashtable with extra variables (strings)
|
* extra_vars: hashtable with extra variables (strings)
|
||||||
@@ -93,7 +190,7 @@ WeeChat versions:
|
|||||||
|
|
||||||
Support of static array in hdata has been added.
|
Support of static array in hdata has been added.
|
||||||
For pointers to arrays, a prefix `*,` must be added in parameter `array_size`
|
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]]
|
[[v3.3]]
|
||||||
== Version 3.3 (2021-09-19)
|
== Version 3.3 (2021-09-19)
|
||||||
@@ -518,7 +615,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
|
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 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.
|
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
|
The following scripts are updated consequently to be compatible with all
|
||||||
@@ -584,8 +681,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
|
Therefore two functions have been renamed in API and moved to the new
|
||||||
"completion" category:
|
"completion" category:
|
||||||
|
|
||||||
* hook_completion_get_string => link:https://weechat.org/doc/plugin#_completion_get_string[completion_get_string]
|
* 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_list_add => link:https://weechat.org/doc/plugin/#_completion_list_add[completion_list_add]
|
||||||
|
|
||||||
[NOTE]
|
[NOTE]
|
||||||
The old names are still valid for compatibility reasons, but it is recommended
|
The old names are still valid for compatibility reasons, but it is recommended
|
||||||
@@ -683,7 +780,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
|
The client should send this command before the `init` to negotiate the way to
|
||||||
authenticate with the relay server.
|
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.
|
in Relay protocol doc for more information.
|
||||||
|
|
||||||
==== Server "nonce"
|
==== Server "nonce"
|
||||||
@@ -701,7 +798,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
|
This salt is now mandatory even for algorithms `SHA256` and `SHA512`; this is
|
||||||
a breaking change in protocol, needed for security reasons.
|
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.
|
in Relay protocol doc for more information.
|
||||||
|
|
||||||
[[v2.8]]
|
[[v2.8]]
|
||||||
@@ -712,7 +809,7 @@ in Relay protocol doc for more information.
|
|||||||
|
|
||||||
The command line option `-a` (or `--no-connect`), which can also be used in the
|
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`
|
`/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`
|
Therefore, the option is not sent any more to the function `weechat_plugin_init`
|
||||||
of plugins. +
|
of plugins. +
|
||||||
@@ -974,8 +1071,8 @@ base 16, 32, and 64.
|
|||||||
|
|
||||||
New functions in C API, supporting 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_encode[string_base_encode]
|
||||||
* link:https://weechat.org/doc/plugin#_string_base_decode[string_base_decode]
|
* link:https://weechat.org/doc/plugin/#_string_base_decode[string_base_decode]
|
||||||
|
|
||||||
Functions removed from C API:
|
Functions removed from C API:
|
||||||
|
|
||||||
@@ -1051,7 +1148,7 @@ See issue #787 for more information.
|
|||||||
|
|
||||||
[NOTE]
|
[NOTE]
|
||||||
It is recommended for plugins and scripts to use the WeeChat IRC parser:
|
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.
|
in the Plugin API reference.
|
||||||
|
|
||||||
Now the whole IRC message is received by the signal callback, for example:
|
Now the whole IRC message is received by the signal callback, for example:
|
||||||
@@ -1372,33 +1469,33 @@ reduce memory usage).
|
|||||||
|
|
||||||
Following functions are changed in the C API:
|
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/#_exec_on_files[exec_on_files]
|
||||||
* link:https://weechat.org/doc/plugin#_config_new[config_new]
|
* 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_section[config_new_section]
|
||||||
* link:https://weechat.org/doc/plugin#_config_new_option[config_new_option]
|
* 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[hook_command]
|
||||||
* link:https://weechat.org/doc/plugin#_hook_command_run[hook_command_run]
|
* 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_timer[hook_timer]
|
||||||
* link:https://weechat.org/doc/plugin#_hook_fd[hook_fd]
|
* 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[hook_process]
|
||||||
* link:https://weechat.org/doc/plugin#_hook_process_hashtable[hook_process_hashtable]
|
* 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_connect[hook_connect]
|
||||||
* link:https://weechat.org/doc/plugin#_hook_print[hook_print]
|
* 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_signal[hook_signal]
|
||||||
* link:https://weechat.org/doc/plugin#_hook_hsignal[hook_hsignal]
|
* 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_config[hook_config]
|
||||||
* link:https://weechat.org/doc/plugin#_hook_completion[hook_completion]
|
* 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_modifier[hook_modifier]
|
||||||
* link:https://weechat.org/doc/plugin#_hook_info[hook_info]
|
* 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_info_hashtable[hook_info_hashtable]
|
||||||
* link:https://weechat.org/doc/plugin#_hook_infolist[hook_infolist]
|
* 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_hdata[hook_hdata]
|
||||||
* link:https://weechat.org/doc/plugin#_hook_focus[hook_focus]
|
* 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/#_unhook_all[unhook_all]
|
||||||
* link:https://weechat.org/doc/plugin#_buffer_new[buffer_new]
|
* 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/#_bar_item_new[bar_item_new]
|
||||||
* link:https://weechat.org/doc/plugin#_upgrade_new[upgrade_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/#_upgrade_read[upgrade_read]
|
||||||
|
|
||||||
The function `unhook_all` has a new argument `const char *subplugin` to remove
|
The function `unhook_all` has a new argument `const char *subplugin` to remove
|
||||||
only hooks created by this "subplugin" (script).
|
only hooks created by this "subplugin" (script).
|
||||||
@@ -1569,7 +1666,7 @@ You can restore the default "beep" trigger with the following command:
|
|||||||
[[v1.1_commands_return_code]]
|
[[v1.1_commands_return_code]]
|
||||||
=== Return code of commands
|
=== 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.
|
now sends the value returned return by command callback.
|
||||||
|
|
||||||
WeeChat does not display any more an error when a command returns
|
WeeChat does not display any more an error when a command returns
|
||||||
@@ -1632,9 +1729,9 @@ the old behavior in command `/connect`:
|
|||||||
The API functions using timeval are now using or returning microseconds,
|
The API functions using timeval are now using or returning microseconds,
|
||||||
instead of milliseconds:
|
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
|
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.
|
the argument "interval" is now expressed in microseconds.
|
||||||
|
|
||||||
[[v1.0.1]]
|
[[v1.0.1]]
|
||||||
@@ -1742,9 +1839,16 @@ between your current keys and WeeChat default keys.
|
|||||||
=== Function hook_print
|
=== Function hook_print
|
||||||
|
|
||||||
In scripts, the arguments "displayed" and "highlight" sent to the callback of
|
In scripts, the arguments "displayed" and "highlight" sent to the callback of
|
||||||
"hook_print" are now integers (they were strings in older releases). +
|
"hook_print" are now integers (they were strings in older releases).
|
||||||
|
|
||||||
To be compatible with all versions, it is recommended to convert the argument
|
To be compatible with all versions, it is recommended to convert the argument
|
||||||
to integer before testing it, for example in Python: `if int(highlight):`.
|
to integer before testing it, for example in Python:
|
||||||
|
|
||||||
|
[source,python]
|
||||||
|
----
|
||||||
|
if int(highlight):
|
||||||
|
# ...
|
||||||
|
----
|
||||||
|
|
||||||
[[v0.4.3]]
|
[[v0.4.3]]
|
||||||
== Version 0.4.3 (2014-02-09)
|
== Version 0.4.3 (2014-02-09)
|
||||||
@@ -2131,7 +2235,7 @@ disable IPv6 in relay if you don't plan to use it at all:
|
|||||||
== Version 0.3.9.2 (2012-11-18)
|
== Version 0.3.9.2 (2012-11-18)
|
||||||
|
|
||||||
This version fixes a security vulnerability when a plugin/script gives
|
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]]
|
[[v0.3.9.1]]
|
||||||
== Version 0.3.9.1 (2012-11-09)
|
== Version 0.3.9.1 (2012-11-09)
|
||||||
|
|||||||
@@ -28,8 +28,6 @@
|
|||||||
# PYTHON_LIBRARIES = path to where libpython.so* can be found
|
# PYTHON_LIBRARIES = path to where libpython.so* can be found
|
||||||
# PYTHON_LDFLAGS = python compiler options for linking
|
# PYTHON_LDFLAGS = python compiler options for linking
|
||||||
|
|
||||||
include(FindPkgConfig)
|
|
||||||
|
|
||||||
if(ENABLE_PYTHON2)
|
if(ENABLE_PYTHON2)
|
||||||
pkg_check_modules(PYTHON python2 IMPORTED_TARGET GLOBAL)
|
pkg_check_modules(PYTHON python2 IMPORTED_TARGET GLOBAL)
|
||||||
else()
|
else()
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ Priority: optional
|
|||||||
Maintainer: Sébastien Helleu <flashcode@flashtux.org>
|
Maintainer: Sébastien Helleu <flashcode@flashtux.org>
|
||||||
Build-Depends:
|
Build-Depends:
|
||||||
asciidoctor (>= 1.5.4),
|
asciidoctor (>= 1.5.4),
|
||||||
|
ruby-pygments.rb,
|
||||||
debhelper (>= 12),
|
debhelper (>= 12),
|
||||||
cmake, pkg-config,
|
cmake, pkg-config,
|
||||||
libncursesw5-dev,
|
libncursesw5-dev,
|
||||||
|
|||||||
@@ -1,9 +1,42 @@
|
|||||||
|
weechat (3.6-1) unstable; urgency=medium
|
||||||
|
|
||||||
|
* New upstream release
|
||||||
|
* Bump Standards-Version to 4.6.1.0
|
||||||
|
|
||||||
|
-- Emmanuel Bouthenot <kolter@debian.org> Sat, 23 Jul 2022 09:56:24 +0000
|
||||||
|
|
||||||
|
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
|
weechat (3.4-2) unstable; urgency=medium
|
||||||
|
|
||||||
* Remove build dependency on ruby-pygments.rb (no longer required)
|
* Remove build dependency on ruby-pygments.rb (no longer required)
|
||||||
|
|
||||||
-- Emmanuel Bouthenot <kolter@debian.org> Sat, 08 Jan 2022 06:00:17 +0000
|
-- 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
|
weechat (3.3-1) unstable; urgency=medium
|
||||||
|
|
||||||
* New upstream release
|
* New upstream release
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ Priority: optional
|
|||||||
Maintainer: Emmanuel Bouthenot <kolter@debian.org>
|
Maintainer: Emmanuel Bouthenot <kolter@debian.org>
|
||||||
Build-Depends:
|
Build-Depends:
|
||||||
asciidoctor (>= 1.5.4),
|
asciidoctor (>= 1.5.4),
|
||||||
|
ruby-pygments.rb,
|
||||||
debhelper (>= 12),
|
debhelper (>= 12),
|
||||||
cmake, pkg-config,
|
cmake, pkg-config,
|
||||||
libncursesw5-dev,
|
libncursesw5-dev,
|
||||||
@@ -21,7 +22,7 @@ Build-Depends:
|
|||||||
libgnutls28-dev,
|
libgnutls28-dev,
|
||||||
libzstd-dev,
|
libzstd-dev,
|
||||||
zlib1g-dev
|
zlib1g-dev
|
||||||
Standards-Version: 4.6.0.1
|
Standards-Version: 4.6.1.0
|
||||||
Homepage: https://weechat.org/
|
Homepage: https://weechat.org/
|
||||||
Vcs-Git: https://salsa.debian.org/kolter/weechat.git
|
Vcs-Git: https://salsa.debian.org/kolter/weechat.git
|
||||||
Vcs-Browser: https://salsa.debian.org/kolter/weechat
|
Vcs-Browser: https://salsa.debian.org/kolter/weechat
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
// tag::plugin_options[]
|
// tag::plugin_options[]
|
||||||
Pro kompletní dokumentaci nastavení pluginů a jejich volby podívejte se na
|
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:
|
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
|
== 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
|
== 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
|
// TRANSLATION MISSING
|
||||||
[TIP]
|
The `/autojoin` command lets you configure the _autojoin_ option easily
|
||||||
You can complete name and value of options with the kbd:[Tab] key
|
(see `/help autojoin`).
|
||||||
and kbd:[Shift+Tab] for a partial completion (useful for long words like
|
|
||||||
the name of option).
|
// 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í,
|
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):
|
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
|
/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]]
|
[[connect_to_irc_server]]
|
||||||
== Připojení k IRC serveru
|
== Připojení k IRC serveru
|
||||||
|
|
||||||
@@ -389,14 +401,16 @@ například:
|
|||||||
|
|
||||||
Zkuste `/help script` pro více informací.
|
Zkuste `/help script` pro více informací.
|
||||||
|
|
||||||
|
// TRANSLATION MISSING
|
||||||
A seznam skriptů je dostupný v WeeChatu s příkazem `/script` nebo na této
|
A list of scripts is available in WeeChat with `/script` or on
|
||||||
adrese https://weechat.org/scripts
|
https://weechat.org/scripts/[this page ^↗^,window=_blank].
|
||||||
|
|
||||||
[[more_doc]]
|
[[more_doc]]
|
||||||
== Další dokumentace
|
== Další dokumentace
|
||||||
|
|
||||||
Nyní jste schopni používat WeeChat a můžete si přečíst FAQ/dokumentaci pro
|
// TRANSLATION MISSING
|
||||||
jakékoliv další otázky: https://weechat.org/doc
|
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!
|
Ať máte radost z použití WeeChatu!
|
||||||
|
|||||||
@@ -94,6 +94,8 @@
|
|||||||
|
|
||||||
| tcl | tcl_script | Liste der Skripten
|
| 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_arguments | Standardargumente für einen Hook
|
||||||
|
|
||||||
| trigger | trigger_hook_command | Standardbefehl 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 | 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_value | Wert einer Umgebungsvariable
|
||||||
|
|
||||||
| weechat | env_vars | Umgebungsvariablen
|
| weechat | env_vars | Umgebungsvariablen
|
||||||
|
|||||||
@@ -631,6 +631,8 @@ _text_search_input_ (string) +
|
|||||||
_highlight_words_ (string) +
|
_highlight_words_ (string) +
|
||||||
_highlight_regex_ (string) +
|
_highlight_regex_ (string) +
|
||||||
_highlight_regex_compiled_ (pointer) +
|
_highlight_regex_compiled_ (pointer) +
|
||||||
|
_highlight_disable_regex_ (string) +
|
||||||
|
_highlight_disable_regex_compiled_ (pointer) +
|
||||||
_highlight_tags_restrict_ (string) +
|
_highlight_tags_restrict_ (string) +
|
||||||
_highlight_tags_restrict_count_ (integer) +
|
_highlight_tags_restrict_count_ (integer) +
|
||||||
_highlight_tags_restrict_array_ (pointer, array_size: "highlight_tags_restrict_count") +
|
_highlight_tags_restrict_array_ (pointer, array_size: "highlight_tags_restrict_count") +
|
||||||
|
|||||||
@@ -128,6 +128,8 @@
|
|||||||
|
|
||||||
| weechat | uptime | Laufzeit von WeeChat (Format: "days:hh:mm:ss") | "days" (Anzahl der Tage) oder "seconds" (Anzahl der Sekunden) (optional)
|
| weechat | uptime | Laufzeit von WeeChat (Format: "days:hh:mm:ss") | "days" (Anzahl der Tage) oder "seconds" (Anzahl der Sekunden) (optional)
|
||||||
|
|
||||||
|
| weechat | uptime_current | WeeChat-Betriebszeit für den aktuellen Prozess (Upgrades mit /upgrade Befehlwerden ignoriert) (Format: "Tage:hh:mm:ss") | "days" (Anzahl der Tage) oder "seconds" (Anzahl der Sekunden) (optional)
|
||||||
|
|
||||||
| weechat | version | WeeChat-Version | -
|
| weechat | version | WeeChat-Version | -
|
||||||
|
|
||||||
| weechat | version_git | WeeChat Git Version (Ausgabe des Befehls "git describe", ausschließlich für eine Entwicklerversion. Eine stabile Version gibt keine Information zurück) | -
|
| weechat | version_git | WeeChat Git Version (Ausgabe des Befehls "git describe", ausschließlich für eine Entwicklerversion. Eine stabile Version gibt keine Information zurück) | -
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
// tag::url_options[]
|
// tag::url_options[]
|
||||||
[width="100%",cols="2,^1,7",options="header"]
|
[width="100%",cols="2,^1,7",options="header"]
|
||||||
|===
|
|===
|
||||||
| Einstellung | Type ^(1)^ | Konstanten ^(2)^
|
| Einstellung | Type ^(1)^ | Konstanten ^(2)^
|
||||||
|
|
||||||
| verbose | long |
|
| verbose | long |
|
||||||
|
|
||||||
|
|||||||
@@ -130,7 +130,7 @@ Beispiele:
|
|||||||
/autojoin add [<channel1> [<channel2>...]]
|
/autojoin add [<channel1> [<channel2>...]]
|
||||||
addraw <channel1>[,<channel2>...] [<key1>[,<key2>...]]
|
addraw <channel1>[,<channel2>...] [<key1>[,<key2>...]]
|
||||||
del [<channel1> [<channel2>...]]
|
del [<channel1> [<channel2>...]]
|
||||||
save
|
apply
|
||||||
sort
|
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
|
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
|
del: Löschen des aktuellen Kanals oder eine Liste von Kanälen aus der autoJoin-Option
|
||||||
channel: Kanalname
|
channel: Kanalname
|
||||||
key: Schlüssel für den Kanal
|
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
|
sort: sortiert die Kanäle alphabetisch in der autojoin Option
|
||||||
|
|
||||||
Beispiele:
|
Beispiele:
|
||||||
/autojoin add
|
/autojoin add
|
||||||
/autojoin add #test
|
/autojoin add #test
|
||||||
/autojoin add #chan1 #chan2
|
/autojoin add #chan1 #chan2
|
||||||
|
/allchan /autojoin add
|
||||||
/autojoin addraw #chan1,#chan2,#chan3 key1,key2
|
/autojoin addraw #chan1,#chan2,#chan3 key1,key2
|
||||||
/autojoin del
|
/autojoin del
|
||||||
/autojoin del #chan1
|
/autojoin del #chan1
|
||||||
/autojoin save
|
/autojoin apply
|
||||||
/autojoin sort
|
/autojoin sort
|
||||||
----
|
----
|
||||||
|
|
||||||
@@ -186,8 +187,14 @@ Fähigkeiten die von WeeChat unterstützt werden: account-notify, away-notify, c
|
|||||||
Fähigkeiten die standardmäßig genutzt werden sollen, können mit der Option irc.server_default.capabilities gesetzt werden (oder individuell für jeden Server mit der Option irc.server.xxx.capabilities).
|
Fähigkeiten die standardmäßig genutzt werden sollen, können mit der Option irc.server_default.capabilities gesetzt werden (oder individuell für jeden Server mit der Option irc.server.xxx.capabilities).
|
||||||
|
|
||||||
Beispiele:
|
Beispiele:
|
||||||
/cap
|
zeigt unterstützte und aktivierte Funktionen an:
|
||||||
/cap req multi-prefix away-notify
|
/cap
|
||||||
|
Fähigkeiten multi-prefix und away-notify anfordern:
|
||||||
|
/cap req multi-prefix away-notify
|
||||||
|
Fähigkeit extended-join anfordern, Fähigkeit multi-prefix entfernen:
|
||||||
|
/cap req extended-join -multi-prefix
|
||||||
|
Fähigkeit away-notify entfernen
|
||||||
|
/cap req -away-notify
|
||||||
----
|
----
|
||||||
|
|
||||||
[[command_irc_connect]]
|
[[command_irc_connect]]
|
||||||
@@ -1331,8 +1338,8 @@ Beispiele:
|
|||||||
----
|
----
|
||||||
/debug list
|
/debug list
|
||||||
set <plugin> <level>
|
set <plugin> <level>
|
||||||
dump [<plugin>]
|
dump|hooks [<plugin>]
|
||||||
buffer|color|infolists|libs|certs|memory|tags|term|windows
|
buffer|certs|color|dirs|infolists|libs|memory|tags|term|windows
|
||||||
mouse|cursor [verbose]
|
mouse|cursor [verbose]
|
||||||
hdata [free]
|
hdata [free]
|
||||||
time <command>
|
time <command>
|
||||||
@@ -1342,15 +1349,15 @@ Beispiele:
|
|||||||
plugin: Name der Erweiterung ("core" für den WeeChat Kern)
|
plugin: Name der Erweiterung ("core" für den WeeChat Kern)
|
||||||
level: Debuglevel der Erweiterung (0 = deaktiviert Debug)
|
level: Debuglevel der Erweiterung (0 = deaktiviert Debug)
|
||||||
dump: Speicherabbild in die WeeChat Protokolldatei schreiben (wie bei einem Programmabsturz)
|
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
|
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
|
color: zeigt Informationen über die aktuellen Farbpaarungen an
|
||||||
cursor: schaltet den debug-Modus für den Cursor-Modus ein/aus
|
cursor: schaltet den debug-Modus für den Cursor-Modus ein/aus
|
||||||
dirs: Verzeichnisse werden angezeigt
|
dirs: Verzeichnisse werden angezeigt
|
||||||
hdata: zeigt Informationen zu hdata an (mittels free werden alle hdata Informationen aus dem Speicher entfernt)
|
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
|
infolists: zeigt Information über die Infolists an
|
||||||
libs: zeigt an welche externen Bibliotheken verwendet werden
|
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
|
memory: gibt Informationen über den genutzten Speicher aus
|
||||||
mouse: schaltet den debug-Modus für den Maus-Modus ein/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
|
tags: zeigt für jede einzelne Zeile die dazugehörigen Schlagwörter an
|
||||||
@@ -1408,28 +1415,30 @@ Einige Variablen werden im Ausdruck mittels der Formatierung ${variable} ersetzt
|
|||||||
3. eine evaluierte Teilzeichenkette (Format: "eval:xxx")
|
3. eine evaluierte Teilzeichenkette (Format: "eval:xxx")
|
||||||
4. eine evaluierte Bedingung (Format: "eval_cond:xxx")
|
4. eine evaluierte Bedingung (Format: "eval_cond:xxx")
|
||||||
5. eine Zeichenkette mit Escapesequenzen (Format: "esc:xxx" oder "\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")
|
6. eine Zeichenfolge, die in Kleinbuchstaben umgewandelt wird (Format: "lower:xxx")
|
||||||
7. eine Zeichenkette mit einer maximalen Anzahl an Zeichen (Format: "cut:max,suffix,string" oder "cut:+max,suffix,string")
|
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")
|
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")
|
10. eine Zeichenkette umkehren (Format: "rev:xxx" oder "revscr:xxx")
|
||||||
9. eine Zeichenkette wiederholen (Format: "repeat:Anzahl,Zeichenkette")
|
11. eine Zeichenkette wiederholen (Format: "repeat:Anzahl,Zeichenkette")
|
||||||
10. Länge einer Zeichenkette (Format: "length:xxx" oder "lengthscr:xxx")
|
12. Länge einer Zeichenkette (Format: "length:xxx" oder "lengthscr:xxx")
|
||||||
11. Aufteilen einer Zeichenkette (Format: "split:Anzahl,Trennzeichen,Flags,xxx")
|
13. Aufteilen einer Zeichenkette (Format: "split:Anzahl,Trennzeichen,Flags,xxx")
|
||||||
12. Aufteilen von Shell-Argumenten (Format: "split_shell:Anzahl,xxx")
|
14. Aufteilen von Shell-Argumenten (Format: "split_shell:Anzahl,xxx")
|
||||||
13. eine Farbe (Format: "color:xxx", siehe "Anleitung für API Erweiterung", Funktion "color")
|
15. eine Farbe (Format: "color:xxx", siehe "Anleitung für API Erweiterung", Funktion "color")
|
||||||
14. zum modifizieren (Format: "modifier:name,data,string")
|
16. zum modifizieren (Format: "modifier:name,data,string")
|
||||||
15. eine Info (Format: "Info:Name,Argumente", Argumente sind optional)
|
17. 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")
|
18. 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")
|
19. aktuelles Datum/Uhrzeit (Format: "date" oder "date:format")
|
||||||
18. eine Umgebungsvariable (Format: "env:XXX")
|
20. eine Umgebungsvariable (Format: "env:XXX")
|
||||||
19. ein Dreifachoperand (Format: "if:Bedingung?Wert_falls_wahr:Wert_falls_unwahr")
|
21. ein Dreifachoperand (Format: "if:Bedingung?Wert_falls_wahr:Wert_falls_unwahr")
|
||||||
20. Ergebnis eines Ausdrucks mit Klammern und Operatoren + - * / // % ** (Format: "calc:xxx")
|
22. Ergebnis eines Ausdrucks mit Klammern und Operatoren + - * / // % ** (Format: "calc:xxx")
|
||||||
21. eine zufällige ganze Zahl (Format: "random:min,max")
|
23. eine zufällige ganze Zahl (Format: "random:min,max")
|
||||||
22. eine übersetzte Zeichenkette (Format: "translate:xxx")
|
24. eine übersetzte Zeichenkette (Format: "translate:xxx")
|
||||||
23. eine Benutzervariable definieren (Format: "define:Name,Wert")
|
25. eine Benutzervariable definieren (Format: "define:Name,Wert")
|
||||||
24. eine Option (Format: "file.section.option")
|
26. eine Option (Format: "file.section.option")
|
||||||
25. eine lokale Variable eines Buffers
|
27. 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.
|
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:
|
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.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:
|
hdata[list].var1.var2...: startet hdata mittels einer Liste, zum Beispiel:
|
||||||
@@ -1452,6 +1461,8 @@ Beispiele (einfache Zeichenketten):
|
|||||||
/eval -n ${window.buffer.full_name} ==> core.weechat
|
/eval -n ${window.buffer.full_name} ==> core.weechat
|
||||||
/eval -n ${window.buffer.number} ==> 1
|
/eval -n ${window.buffer.number} ==> 1
|
||||||
/eval -n ${\t} ==> <tab>
|
/eval -n ${\t} ==> <tab>
|
||||||
|
/eval -n ${lower:TEST} ==> test
|
||||||
|
/eval -n ${upper:test} ==> TEST
|
||||||
/eval -n ${hide:-,${relay.network.password}} ==> --------
|
/eval -n ${hide:-,${relay.network.password}} ==> --------
|
||||||
/eval -n ${cut:3,+,test} ==> tes+
|
/eval -n ${cut:3,+,test} ==> tes+
|
||||||
/eval -n ${cut:+3,+,test} ==> te+
|
/eval -n ${cut:+3,+,test} ==> te+
|
||||||
@@ -1497,7 +1508,7 @@ Beispiele (Bedingungen):
|
|||||||
add|addreplace <name> <buffer>[,<buffer>...] <tags> <regex>
|
add|addreplace <name> <buffer>[,<buffer>...] <tags> <regex>
|
||||||
rename <name> <new_name>
|
rename <name> <new_name>
|
||||||
recreate <name>
|
recreate <name>
|
||||||
del <name>|-all
|
del <name>|-all [<name>...]
|
||||||
|
|
||||||
list: alle Filter auflisten
|
list: alle Filter auflisten
|
||||||
enable: Filter wird aktiviert (Filter werden standardmäßig aktiviert)
|
enable: Filter wird aktiviert (Filter werden standardmäßig aktiviert)
|
||||||
@@ -1603,6 +1614,7 @@ Auflistung der möglichen Aktionen:
|
|||||||
delete_previous_char: entfernt vorheriges Zeichen
|
delete_previous_char: entfernt vorheriges Zeichen
|
||||||
delete_next_char: entfernt nächstes Zeichen
|
delete_next_char: entfernt nächstes Zeichen
|
||||||
delete_previous_word: entfernt vorheriges Wort
|
delete_previous_word: entfernt vorheriges Wort
|
||||||
|
delete_previous_word_whitespace: vorheriges Wort löschen (bis zum Leerzeichen)
|
||||||
delete_next_word: entfernt nächstes Wort
|
delete_next_word: entfernt nächstes Wort
|
||||||
delete_beginning_of_line: entfernt alle Zeichen ab Zeilenanfang bis zum Cursor
|
delete_beginning_of_line: entfernt alle Zeichen ab Zeilenanfang bis zum Cursor
|
||||||
delete_end_of_line: entfernt alle Zeichen ab Cursor bis zum Ende der Zeile
|
delete_end_of_line: entfernt alle Zeichen ab Cursor bis zum Ende der Zeile
|
||||||
@@ -1646,6 +1658,49 @@ Auflistung der möglichen Aktionen:
|
|||||||
Dieser Befehl wird sinnvollerweise mittels Tastenbelegungen oder Erweiterungen genutzt.
|
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]]
|
[[command_weechat_key]]
|
||||||
* `+key+`: Einer Taste einen Befehl zuordnen oder entfernen
|
* `+key+`: Einer Taste einen Befehl zuordnen oder entfernen
|
||||||
|
|
||||||
@@ -2068,20 +2123,23 @@ Beispiele:
|
|||||||
----
|
----
|
||||||
|
|
||||||
[[command_weechat_upgrade]]
|
[[command_weechat_upgrade]]
|
||||||
* `+upgrade+`: WeeChat Binärdatei neu laden, ohne die Verbindung zum Server zu trennen
|
* `+upgrade+`: Speichern der WeeChat-Sitzung und laden der WeeChat-Binärdatei, ohne die Verbindung zu Servern zu trennen
|
||||||
|
|
||||||
----
|
----
|
||||||
/upgrade [-yes] [<path_to_binary>|-quit]
|
/upgrade [-yes] [<path_to_binary>|-save|-quit]
|
||||||
|
|
||||||
-yes: wird benötigt, sobald Option "weechat.look.confirm_upgrade" aktiviert ist
|
-yes: wird benötigt, sobald Option "weechat.look.confirm_upgrade" aktiviert ist
|
||||||
path_to_binary: Pfad zu einer ausführbaren WeeChat Binärdatei (Standardeinstellung ist die aktuell ausführbare Datei)
|
path_to_binary: Pfad zu einer ausführbaren WeeChat Binärdatei (Standardeinstellung ist die aktuell ausführbare Datei)
|
||||||
-dummy: ohne Funktion (dient lediglich dazu, um nicht versehentlich die "-quit" Funktion auszuführen)
|
-dummy: ohne Funktion (dient lediglich dazu, um nicht versehentlich die "-quit" Funktion auszuführen)
|
||||||
|
-save: speichert nur die aktuelle Sitzung, WeeChat wird nicht beendet oder neu gestartet. DieKonfigurationsdateien werden hierbei nicht gespeichert (falls dies gewünscht wird, nutze vorher /save)
|
||||||
-quit: trennt *ALLE* Verbindungen, speichert die aktuelle Sitzung und beendet WeeChat, um den aktuellen Zustand später wiederherstellen (siehe unten)
|
-quit: trennt *ALLE* Verbindungen, speichert die aktuelle Sitzung und beendet WeeChat, um den aktuellen Zustand später wiederherstellen (siehe unten)
|
||||||
|
|
||||||
Dieser Befehl führt ein Upgrade von WeeChat durch und startet die laufende Sitzung neu. Bevor dieser Befehl ausgeführt wird, sollte eine neue Version von WeeChat entweder vorab kompiliert, oder mit einem Paketmanager installiert worden sein.
|
Dieser Befehl führt ein Upgrade von WeeChat durch und startet die laufende Sitzung neu. Bevor dieser Befehl ausgeführt wird, sollte eine neue Version von WeeChat entweder vorab kompiliert, oder mit einem Paketmanager installiert worden sein.
|
||||||
|
|
||||||
Hinweis: SSL Verbindungen werden während eines Upgrades unterbrochen, da diese Verbindungen zur Zeit nicht mit GnuTLS gehalten werden können. Nach einem erfolgten Upgrade findet eine automatische Verbindung zu diesen Servern statt.
|
Hinweis: SSL Verbindungen werden während eines Upgrades unterbrochen, da diese Verbindungen zur Zeit nicht mit GnuTLS gehalten werden können. Nach einem erfolgten Upgrade findet eine automatische Verbindung zu diesen Servern statt.
|
||||||
|
|
||||||
|
Wichtig: Die Verwendung der Option -save kann gefährlich sein. Für ein Standard-Upgrade oder einen Neustart wird empfohlen, nur den /upgrade (oder mit -quit) Befehl zu nutzen.Mit der Option -save kann eine Sitzung regelmäßig gespeichert und dann wiederhergestellt werden,falls Weechat abnormal beendet wird (Stromausfall, Absturz etc.)
|
||||||
|
|
||||||
Der Upgrade Vorgang besteht aus vier Schritten:
|
Der Upgrade Vorgang besteht aus vier Schritten:
|
||||||
1. Sicherung der Sitzung, in Dateien für Core und Erweiterungen (buffers, history, ..)
|
1. Sicherung der Sitzung, in Dateien für Core und Erweiterungen (buffers, history, ..)
|
||||||
2. alle Erweiterungen werden ausgeschaltet (Konfigurationen *.conf werden gesichert)
|
2. alle Erweiterungen werden ausgeschaltet (Konfigurationen *.conf werden gesichert)
|
||||||
@@ -2094,9 +2152,13 @@ Nutzt man die "-quit" Funktion ist die Abfolge geringfügig anders:
|
|||||||
3. alle Erweiterungen werden ausgeschaltet
|
3. alle Erweiterungen werden ausgeschaltet
|
||||||
4. die WeeChat Konfiguration wird gesichert
|
4. die WeeChat Konfiguration wird gesichert
|
||||||
5. WeeChat wird beendet
|
5. WeeChat wird beendet
|
||||||
Die Sitzung kann zu einem späteren Zeitpunkt wiederhergestellt werden: weechat --upgrade
|
|
||||||
WICHTIG: Die Sitzung muss mit exakt den selben Konfigurationsdateien wiederhergestellt werden (*.conf)
|
Mit der Option "-save" ist der Ablauf:
|
||||||
Es ist möglich, die WeeChat-Sitzung auf einem anderen Computer wiederherzustellen, wenn Sie den Inhalt der WeeChat Verzeichnisse kopieren (siehe / debug dirs).
|
1. Die Sitzung wird in Dateien (*.upgrade) gesichert, allerdings mit dem Status das IRC und Client Verbindungen unterbrochen sind (es findet aber keine Trennung der Verbindung statt!)
|
||||||
|
|
||||||
|
Durch nutzen von -quit oder -save kann eine Sitzung zu einem späteren Zeitpunkt wiederhergestellt werden:weechat --upgrade
|
||||||
|
WICHTIG: Die Sitzung muss mit exakt den selben Konfigurationsdateien wiederhergestellt werden (*.conf) und wenn möglich mit der selben Version von WeeChat (oder einer neueren Version).
|
||||||
|
Es ist möglich, die WeeChat-Sitzung auf einem anderen Computer wiederherzustellen, wenn Sie den Inhalt der WeeChat Verzeichnisse kopieren (siehe /debug dirs).
|
||||||
----
|
----
|
||||||
|
|
||||||
[[command_weechat_uptime]]
|
[[command_weechat_uptime]]
|
||||||
@@ -2280,6 +2342,7 @@ Die folgenden Variablen können in den obigen Optionen genutzt werden:
|
|||||||
- ${format_hotlist}: die formatierte Hotlist (evaluiert aus Option buflist.format.hotlist)
|
- ${format_hotlist}: die formatierte Hotlist (evaluiert aus Option buflist.format.hotlist)
|
||||||
- ${hotlist}: die Hotlist in der Rohform
|
- ${hotlist}: die Hotlist in der Rohform
|
||||||
- ${hotlist_priority}: "none", "low", "message", "private" oder "highlight"
|
- ${hotlist_priority}: "none", "low", "message", "private" oder "highlight"
|
||||||
|
- ${hotlist_priority_number}: -1 = keine, 0 = niedrig, 1 = Nachricht, 2 = private, 3 = Hervorhebungen
|
||||||
- ${format_lag}: die Verzögerung für einen IRC Server-Buffer, ist leer falls es keine Verzögerung gibt (evaluiert aus Option buflist.format.lag)
|
- ${format_lag}: die Verzögerung für einen IRC Server-Buffer, ist leer falls es keine Verzögerung gibt (evaluiert aus Option buflist.format.lag)
|
||||||
- ${format_tls_version}: Indikator der TLS Version für den Serverbuffer, Channels bleiben unberührt (evaluiert aus Option buflist.format.tls_version)
|
- ${format_tls_version}: Indikator der TLS Version für den Serverbuffer, Channels bleiben unberührt (evaluiert aus Option buflist.format.tls_version)
|
||||||
----
|
----
|
||||||
@@ -2846,7 +2909,7 @@ protocol.name: Protokoll und Name des Relay:
|
|||||||
- Protokoll "weechat" (es wird kein Name verwendet)
|
- 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 "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.
|
Ohne Angabe von Argumenten werden alle Relay-Clients in einem neuen Buffer dargestellt.
|
||||||
|
|
||||||
@@ -3001,7 +3064,7 @@ Beispiele:
|
|||||||
----
|
----
|
||||||
/spell enable|disable|toggle
|
/spell enable|disable|toggle
|
||||||
listdict
|
listdict
|
||||||
setdict <dict>[,<dict>...]
|
setdict -|<dict>[,<dict>...]
|
||||||
deldict
|
deldict
|
||||||
addword [<dict>] <word>
|
addword [<dict>] <word>
|
||||||
|
|
||||||
@@ -3009,7 +3072,7 @@ Beispiele:
|
|||||||
disable: Rechtschreibprüfung wird deaktiviert
|
disable: Rechtschreibprüfung wird deaktiviert
|
||||||
toggle: Funktionalität der Rechtschreibprüfung umschalten
|
toggle: Funktionalität der Rechtschreibprüfung umschalten
|
||||||
listdict: die, auf dem System, installierten Wörterbücher werden aufgelistet
|
listdict: die, auf dem System, installierten Wörterbücher werden aufgelistet
|
||||||
setdict: Wörterbuch für den aktuellen Buffer einstellen (mehrere Wörterbücher müssen durch Kommata getrennt werden)
|
setdict: Wörterbuch für den aktuellen Buffer einstellen (mehrere Wörterbücher müssen durch Kommata getrennt werden (spezieller Wert "-" deaktiviert die Rechtschreibprüfung für den aktuellen Buffer))
|
||||||
deldict: Wörterbuch für den aktuellen Buffer entfernen
|
deldict: Wörterbuch für den aktuellen Buffer entfernen
|
||||||
addword: fügt ein Wort in das persönliche Wörterbuch hinzu
|
addword: fügt ein Wort in das persönliche Wörterbuch hinzu
|
||||||
|
|
||||||
@@ -3117,7 +3180,7 @@ post_action: Aktion welche nach der Abarbeitung des Triggers ausgeführt werden
|
|||||||
restart: startet Trigger neu (Hook(s) werden neu erstellt)
|
restart: startet Trigger neu (Hook(s) werden neu erstellt)
|
||||||
show: zeigt detaillierte Informationen zu einem Trigger (inklusive einer kleinen Statistik)
|
show: zeigt detaillierte Informationen zu einem Trigger (inklusive einer kleinen Statistik)
|
||||||
del: entfernt einen Trigger
|
del: entfernt einen Trigger
|
||||||
-all: führt eine Aktion aus, die alle Trigger beinhaltet
|
-all: führt eine Aktion aus, die alle Trigger betrifft
|
||||||
restore: stellt Trigger mit Standardwerten wieder her (funktioniert nur bei vorgegebenen Triggern)
|
restore: stellt Trigger mit Standardwerten wieder her (funktioniert nur bei vorgegebenen Triggern)
|
||||||
default: stellt die standardmäßigen Trigger wieder her
|
default: stellt die standardmäßigen Trigger wieder her
|
||||||
monitor: öffnet den Trigger Monitor-Buffer, mit optionaler Filterfunktion:
|
monitor: öffnet den Trigger Monitor-Buffer, mit optionaler Filterfunktion:
|
||||||
@@ -3131,13 +3194,15 @@ Wenn ein Trigger-Callback aufgerufen wird, dann wird folgende Befehlskette ausge
|
|||||||
5. Aktion welche nach der Abarbeitung des Triggers ausgeführt werden soll
|
5. Aktion welche nach der Abarbeitung des Triggers ausgeführt werden soll
|
||||||
|
|
||||||
Beispiele (die standardmäßig verfügbaren Trigger kann man sich mit "/trigger listdefault" anzeigen lassen):
|
Beispiele (die standardmäßig verfügbaren Trigger kann man sich mit "/trigger listdefault" anzeigen lassen):
|
||||||
fügt einer Nachricht die Textattribute *fett*, _unterstrichen_ und /kursiv/ hinzu:
|
fügt einer Nachricht die Textattribute *fett*, _unterstrichen_ und /kursiv/ hinzu (nur in User-Nachrichten):
|
||||||
/trigger add effects modifier weechat_print "${tg_tag_nick}" "==\*([^ ]+)\*==*${color:bold}${re:1}${color:-bold}*== ==_([^ ]+)_==_${color:underline}${re:1}${color:-underline}_== ==/([^ ]+)/==/${color:italic}${re:1}${color:-italic}/"
|
/trigger add effects modifier weechat_print "${tg_tag_nick}" "==\*([^ ]+)\*==*${color:bold}${re:1}${color:-bold}*== ==_([^ ]+)_==_${color:underline}${re:1}${color:-underline}_== ==/([^ ]+)/==/${color:italic}${re:1}${color:-italic}/"
|
||||||
verbirgt die Nicklist auf kleineren Terminals:
|
verbirgt die Nicklist auf kleineren Terminals:
|
||||||
/trigger add resize_small signal signal_sigwinch "${info:term_width} < 100" "" "/bar hide nicklist"
|
/trigger add resize_small signal signal_sigwinch "${info:term_width} < 100" "" "/bar hide nicklist"
|
||||||
/trigger add resize_big signal signal_sigwinch "${info:term_width} >= 100" "" "/bar show nicklist"
|
/trigger add resize_big signal signal_sigwinch "${info:term_width} >= 100" "" "/bar show nicklist"
|
||||||
speichert die Konfiguration jede Stunde ab:
|
speichert die Konfiguration jede Stunde ab:
|
||||||
/trigger add cfgsave timer 3600000;0;0 "" "" "/mute /save"
|
/trigger add cfgsave timer 3600000;0;0 "" "" "/mute /save"
|
||||||
|
speichert, ohne Ausgabe von Text, eine Weechat-Sitzung um Mitternach (siehe /help upgrade):
|
||||||
|
/trigger add session_save signal day_changed "" "" "/mute /upgrade -save"
|
||||||
öffnet den Trigger Monitor und zeigt ausschließlich modifier und Trigger an, die mit "resize" im Namen beginnen:
|
öffnet den Trigger Monitor und zeigt ausschließlich modifier und Trigger an, die mit "resize" im Namen beginnen:
|
||||||
/trigger monitor @modifier,resize*
|
/trigger monitor @modifier,resize*
|
||||||
----
|
----
|
||||||
|
|||||||
@@ -750,6 +750,12 @@
|
|||||||
** Werte: beliebige Zeichenkette
|
** Werte: beliebige Zeichenkette
|
||||||
** Standardwert: `+""+`
|
** Standardwert: `+""+`
|
||||||
|
|
||||||
|
* [[option_weechat.look.highlight_disable_regex]] *weechat.look.highlight_disable_regex*
|
||||||
|
** Beschreibung: pass:none[Erweiterter regulärer POSIX-Ausdruck, der verwendet wird, um jede Hervorhebung von einer Nachricht zu verhindern: Diese Option hat eine höhere Priorität als andere Hervorhebungsoptionen (sofern die Zeichenkette in der Nachricht gefunden wird, die Hervorhebung deaktiviert ist und die andereOptionen ignoriert werden), bei regulären Ausdrücken wird die Groß-/Kleinschreibung nicht beachtet (verwenden Sie "(?-i)" am Anfang, um Groß- und Kleinschreibung zu beachten), Beispiele: "<flash.*>", "(?-i)<Flash.*>"]
|
||||||
|
** Typ: Zeichenkette
|
||||||
|
** Werte: beliebige Zeichenkette
|
||||||
|
** Standardwert: `+""+`
|
||||||
|
|
||||||
* [[option_weechat.look.highlight_regex]] *weechat.look.highlight_regex*
|
* [[option_weechat.look.highlight_regex]] *weechat.look.highlight_regex*
|
||||||
** Beschreibung: pass:none[Suchmuster (erweiterter regulärer POSIX Ausdruck) welches genutzt werden soll, um zu überprüfen ob eine Nachricht ein Highlight enthält oder nicht. Mindestens eine Zeichenkette muss dabei auf das Suchmuster passen (alphanumerisch, "-", "_" oder "|"). Das Suchmuster unterscheidet dabei nicht zwischen Groß-und Kleinschreibung (um zwischen Groß-und Kleinschreibung zu unterscheiden muss am Wortanfang "(?-i)" genutzt werden). Beispiele: "flashcode|flashy", "(?-i)FlashCode|flashy"]
|
** Beschreibung: pass:none[Suchmuster (erweiterter regulärer POSIX Ausdruck) welches genutzt werden soll, um zu überprüfen ob eine Nachricht ein Highlight enthält oder nicht. Mindestens eine Zeichenkette muss dabei auf das Suchmuster passen (alphanumerisch, "-", "_" oder "|"). Das Suchmuster unterscheidet dabei nicht zwischen Groß-und Kleinschreibung (um zwischen Groß-und Kleinschreibung zu unterscheiden muss am Wortanfang "(?-i)" genutzt werden). Beispiele: "flashcode|flashy", "(?-i)FlashCode|flashy"]
|
||||||
** Typ: Zeichenkette
|
** Typ: Zeichenkette
|
||||||
@@ -1397,7 +1403,7 @@
|
|||||||
** Standardwert: `+default+`
|
** Standardwert: `+default+`
|
||||||
|
|
||||||
* [[option_logger.file.auto_log]] *logger.file.auto_log*
|
* [[option_logger.file.auto_log]] *logger.file.auto_log*
|
||||||
** Beschreibung: pass:none[speichert automatisch den Inhalt eines Buffers in eine Datei (sofern das Protokollieren für den Buffer nicht deaktiviert sein sollte)]
|
** Beschreibung: pass:none[speichert automatisch den Inhalt eines Buffers in eine Datei (sofern das Protokollieren für den Buffer nicht deaktiviert sein sollte); Falls deaktiviert, wird die Protokollierung für alle Buffer deaktiviert]
|
||||||
** Typ: boolesch
|
** Typ: boolesch
|
||||||
** Werte: on, off
|
** Werte: on, off
|
||||||
** Standardwert: `+on+`
|
** Standardwert: `+on+`
|
||||||
@@ -1462,6 +1468,24 @@
|
|||||||
** Werte: beliebige Zeichenkette
|
** Werte: beliebige Zeichenkette
|
||||||
** Standardwert: `+"_"+`
|
** Standardwert: `+"_"+`
|
||||||
|
|
||||||
|
* [[option_logger.file.rotation_compression_level]] *logger.file.rotation_compression_level*
|
||||||
|
** Beschreibung: pass:none[Komprimierungsstufe für rotierende Protokolldateien (mit Dateierweiterung „.1“, „.2“,etc.), falls die Option logger.file.rotation_compression_type aktiviert ist: 1 = niedrigeKomprimierung / schnell ... 100 = beste Komprimierung / langsam; Der Wert des Prozentsatzes wird umgewandelt in 1-9 für gzip und 1-19 für zstd; der Standardwert wird hierbeiempfohlen, denn er bietet einen guten Kompromiss zwischen Komprimierung und Geschwindigkeit]
|
||||||
|
** Typ: integer
|
||||||
|
** Werte: 1 .. 100
|
||||||
|
** Standardwert: `+20+`
|
||||||
|
|
||||||
|
* [[option_logger.file.rotation_compression_type]] *logger.file.rotation_compression_type*
|
||||||
|
** Beschreibung: pass:none[Komprimierungstyp für rotierende Protokolldateien; wenn "none" genutzt wird, findet keine Komprimierung der Protokolldateien statt; WARNUNG: wenn die Rotation mit einer anderen Stufe der Komprimierung (oder gar keiner Komprimierung) aktiviert wurde, muss zuerst die Logger-Erweiterung beendet werden., dann de-komprimieren Sie die Dateien mit dem neuen Typ, danach muss die Option in der Datei logger.conf angepasst werden, bevor die Logger-Erweiterung neu geladen wird]
|
||||||
|
** Typ: integer
|
||||||
|
** Werte: none, gzip, zstd
|
||||||
|
** Standardwert: `+none+`
|
||||||
|
|
||||||
|
* [[option_logger.file.rotation_size_max]] *logger.file.rotation_size_max*
|
||||||
|
** Beschreibung: pass:none[Wenn diese Größe erreicht ist, wird eine Rotation der Protokolldateien durchgeführt: dievorhandene rotierte Protokolldateien werden umbenannt (.1 wird zu .2, .2 wird zu .3 usw.).Die aktuelle Datei erhält wird umbenannt und erhält .1 als Erweiterung; eine ganze Zahl mitSuffix ist erlaubt: b = Bytes (Standard, wenn keine Einheit angegeben ist), k = Kilobytes, m =Megabyte, g = Gigabyte, t = Terabyte; Beispiel: "2g" bewirkt eine Rotationsobald die Dateigröße > 2.000.000.000 Byte ist; wenn auf „0“ gesetzt, erfolgt keine Rotationder Dateien (unbegrenzte Protokollgröße); WARNUNG: Bevor Sie diese Option ändern,sollte sie zuerst den Komprimierungstyp über die Option logger.file festlegen.rotation_compression_type]
|
||||||
|
** Typ: Zeichenkette
|
||||||
|
** Werte: beliebige Zeichenkette
|
||||||
|
** Standardwert: `+"0"+`
|
||||||
|
|
||||||
* [[option_logger.file.time_format]] *logger.file.time_format*
|
* [[option_logger.file.time_format]] *logger.file.time_format*
|
||||||
** Beschreibung: pass:none[Zeitstempel in Protokoll-Datei nutzen (siehe man strftime, welche Platzhalter für das Datum und die Uhrzeit verwendet werden)]
|
** Beschreibung: pass:none[Zeitstempel in Protokoll-Datei nutzen (siehe man strftime, welche Platzhalter für das Datum und die Uhrzeit verwendet werden)]
|
||||||
** Typ: Zeichenkette
|
** Typ: Zeichenkette
|
||||||
@@ -1544,6 +1568,12 @@
|
|||||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
||||||
** Standardwert: `+lightmagenta+`
|
** Standardwert: `+lightmagenta+`
|
||||||
|
|
||||||
|
* [[option_trigger.color.identifier]] *trigger.color.identifier*
|
||||||
|
** Beschreibung: pass:none[Textfarbe für Trigger-Kontextkennung im Monitorbuffer]
|
||||||
|
** Typ: Farbe
|
||||||
|
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
||||||
|
** Standardwert: `+cyan+`
|
||||||
|
|
||||||
* [[option_trigger.color.regex]] *trigger.color.regex*
|
* [[option_trigger.color.regex]] *trigger.color.regex*
|
||||||
** Beschreibung: pass:none[Textfarbe für reguläre Ausdrücke]
|
** Beschreibung: pass:none[Textfarbe für reguläre Ausdrücke]
|
||||||
** Typ: Farbe
|
** Typ: Farbe
|
||||||
@@ -1771,7 +1801,7 @@
|
|||||||
** Standardwert: `+"${buffer.hidden}==0"+`
|
** Standardwert: `+"${buffer.hidden}==0"+`
|
||||||
|
|
||||||
* [[option_buflist.look.enabled]] *buflist.look.enabled*
|
* [[option_buflist.look.enabled]] *buflist.look.enabled*
|
||||||
** Beschreibung: pass:none[buflist aktivieren]
|
** Beschreibung: pass:none[Buflist aktivieren; Es wird empfohlen, diese Option zu verwenden, anstatt nur die Bar zu verstecken, da hiermit auch interne Hooks entfernt werden, die nicht benötigt werden, falls die Leiste ausgeblendet wird; Sie können auch den Befehl "/buflist toggle" verwenden oder die Standardtastenbelegung alt+shift+b]
|
||||||
** Typ: boolesch
|
** Typ: boolesch
|
||||||
** Werte: on, off
|
** Werte: on, off
|
||||||
** Standardwert: `+on+`
|
** Standardwert: `+on+`
|
||||||
@@ -2127,7 +2157,7 @@
|
|||||||
** Standardwert: `+cyan+`
|
** Standardwert: `+cyan+`
|
||||||
|
|
||||||
* [[option_irc.color.message_chghost]] *irc.color.message_chghost*
|
* [[option_irc.color.message_chghost]] *irc.color.message_chghost*
|
||||||
** Beschreibung: pass:none[Textfarbe in der chghost Nachrichten dargestellt werden]
|
** Beschreibung: pass:none[Textfarbe in der "chghost" Nachrichten dargestellt werden]
|
||||||
** Typ: Farbe
|
** Typ: Farbe
|
||||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
||||||
** Standardwert: `+brown+`
|
** Standardwert: `+brown+`
|
||||||
@@ -2150,6 +2180,12 @@
|
|||||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
||||||
** Standardwert: `+red+`
|
** Standardwert: `+red+`
|
||||||
|
|
||||||
|
* [[option_irc.color.message_setname]] *irc.color.message_setname*
|
||||||
|
** Beschreibung: pass:none[Textfarbe in der "setname" Nachrichten dargestellt werden]
|
||||||
|
** Typ: Farbe
|
||||||
|
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
||||||
|
** Standardwert: `+brown+`
|
||||||
|
|
||||||
* [[option_irc.color.mirc_remap]] *irc.color.mirc_remap*
|
* [[option_irc.color.mirc_remap]] *irc.color.mirc_remap*
|
||||||
** Beschreibung: pass:none[ersetzt mirc Farben in Nachrichten mittels einer Hashtabelle: Schlüssel sind "fg,bg" als Ganzzahl zwischen -1 (nicht näher bezeichnet) und 15. Als Wert ist der Farbname oder die Farbnummer von WeeChat möglich (Format: "1,-1:Farbe1;2,7:Farbe2"), Beispiel: "1,-1:darkgray;1,2:white,blue" ersetzt schwarz durch "darkgray" und schwarz auf blau durch "white,blue"; Tabelle der Standard-IRC-Farben von WeeChat (in Klammern der Farbname, wie er von WeeChat genutzt wird): 0=weiß (white), 1=schwarz (black), 2=blau (blue), 3=grün (green), 4=hellrot (lightred), 5=rot (red), 6=violett (magenta), 7=braun (brown), 8=gelb (yellow), 9= hell-grün (lightgreen), 10=türkis (cyan), 11=hell-türkis (lightcyan), 12=hellblau (lightblue), 13=hell-violett (lightmagenta), 14=dunkel-grau (darkgray), 15=grau (gray)]
|
** Beschreibung: pass:none[ersetzt mirc Farben in Nachrichten mittels einer Hashtabelle: Schlüssel sind "fg,bg" als Ganzzahl zwischen -1 (nicht näher bezeichnet) und 15. Als Wert ist der Farbname oder die Farbnummer von WeeChat möglich (Format: "1,-1:Farbe1;2,7:Farbe2"), Beispiel: "1,-1:darkgray;1,2:white,blue" ersetzt schwarz durch "darkgray" und schwarz auf blau durch "white,blue"; Tabelle der Standard-IRC-Farben von WeeChat (in Klammern der Farbname, wie er von WeeChat genutzt wird): 0=weiß (white), 1=schwarz (black), 2=blau (blue), 3=grün (green), 4=hellrot (lightred), 5=rot (red), 6=violett (magenta), 7=braun (brown), 8=gelb (yellow), 9= hell-grün (lightgreen), 10=türkis (cyan), 11=hell-türkis (lightcyan), 12=hellblau (lightblue), 13=hell-violett (lightmagenta), 14=dunkel-grau (darkgray), 15=grau (gray)]
|
||||||
** Typ: Zeichenkette
|
** Typ: Zeichenkette
|
||||||
@@ -2330,6 +2366,12 @@
|
|||||||
** Werte: on, off
|
** Werte: on, off
|
||||||
** Standardwert: `+on+`
|
** Standardwert: `+on+`
|
||||||
|
|
||||||
|
* [[option_irc.look.display_pv_nick_change]] *irc.look.display_pv_nick_change*
|
||||||
|
** Beschreibung: pass:none[Nickänderung im privaten Buffer anzeigen]
|
||||||
|
** Typ: boolesch
|
||||||
|
** Werte: on, off
|
||||||
|
** Standardwert: `+on+`
|
||||||
|
|
||||||
* [[option_irc.look.display_pv_warning_address]] *irc.look.display_pv_warning_address*
|
* [[option_irc.look.display_pv_warning_address]] *irc.look.display_pv_warning_address*
|
||||||
** Beschreibung: pass:none[zeigt eine Warnung in einem privaten Buffer an, sobald sich die Adresse eines Remote-Nick geändert hat; diese Option ist standardmäßig ausgeschaltet, da Server wie bitlbee eine solche Warnung unvermittelt auslösen (die Adresse des Remote-Nick ändert sich während eines Login mehrfach)]
|
** Beschreibung: pass:none[zeigt eine Warnung in einem privaten Buffer an, sobald sich die Adresse eines Remote-Nick geändert hat; diese Option ist standardmäßig ausgeschaltet, da Server wie bitlbee eine solche Warnung unvermittelt auslösen (die Adresse des Remote-Nick ändert sich während eines Login mehrfach)]
|
||||||
** Typ: boolesch
|
** Typ: boolesch
|
||||||
@@ -2546,6 +2588,12 @@
|
|||||||
** Werte: on, off
|
** Werte: on, off
|
||||||
** Standardwert: `+on+`
|
** Standardwert: `+on+`
|
||||||
|
|
||||||
|
* [[option_irc.look.smart_filter_setname]] *irc.look.smart_filter_setname*
|
||||||
|
** Beschreibung: pass:none[aktiviert einen intelligenten Filter für "setname" Nachrichten]
|
||||||
|
** Typ: boolesch
|
||||||
|
** Werte: on, off
|
||||||
|
** Standardwert: `+on+`
|
||||||
|
|
||||||
* [[option_irc.look.temporary_servers]] *irc.look.temporary_servers*
|
* [[option_irc.look.temporary_servers]] *irc.look.temporary_servers*
|
||||||
** Beschreibung: pass:none[aktiviert die Erstellung von temporären Servern mit dem Befehl /connect]
|
** Beschreibung: pass:none[aktiviert die Erstellung von temporären Servern mit dem Befehl /connect]
|
||||||
** Typ: boolesch
|
** Typ: boolesch
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
// tag::plugin_options[]
|
// tag::plugin_options[]
|
||||||
Um eine vollständige Dokumentation der Optionen zu erhalten, siehe
|
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,
|
Mittels der IRC Erweiterung kann man sich zu einen temporären Server verbinden lassen,
|
||||||
indem man eine URL verwendet:
|
indem man eine URL verwendet:
|
||||||
|
|||||||
@@ -63,4 +63,4 @@ include::includes/man.de.adoc[tag=copyright]
|
|||||||
|
|
||||||
== SUPPORT / FEHLER MELDEN
|
== 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
|
== 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.
|
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]]
|
[[compilation_install]]
|
||||||
== Kompilierung / Installation
|
== Kompilierung / Installation
|
||||||
@@ -46,17 +47,17 @@ Weitere Informationen findet man auf der WeeChat Seite: https://weechat.org/abou
|
|||||||
[[gui]]
|
[[gui]]
|
||||||
=== Ich habe gehört es gibt verschiedene GUIs für WeeChat. Wie kann ich diese kompilieren bzw. nutzen?
|
=== 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:
|
Einige Remote-GUIs sind verfügbar, siehe
|
||||||
https://weechat.org/about/interfaces
|
https://weechat.org/about/interfaces/[remote interfaces page ^↗^,window=_blank].
|
||||||
|
|
||||||
[[compile_git]]
|
[[compile_git]]
|
||||||
=== Ich kann WeeChat nach Cloning des git Repository nicht kompilieren - weshalb?
|
=== 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.
|
kompilieren von WeeChat zu nutzen.
|
||||||
|
|
||||||
Falls Du WeeChat mit Hilfe der
|
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
|
(dich also nicht für CMake entscheidest), stelle sicher, dass Du die neueste
|
||||||
Version von autoconf und automake besitzt.
|
Version von autoconf und automake besitzt.
|
||||||
|
|
||||||
@@ -69,7 +70,7 @@ das Repository klont und daraus Updates installiert.
|
|||||||
[[compile_macos]]
|
[[compile_macos]]
|
||||||
=== Wie installiere ich WeeChat auf 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:
|
Hilfe erhält man mittels:
|
||||||
|
|
||||||
----
|
----
|
||||||
@@ -87,12 +88,12 @@ brew install weechat
|
|||||||
|
|
||||||
Um Hilfe zu erhalten, nutze den `/help` Befehl.
|
Um Hilfe zu erhalten, nutze den `/help` Befehl.
|
||||||
Jeder Befehl besitzt einen Hilfstext, den man sich durch `/help Befehlsname` anzeigen lassen kann.
|
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
|
Die link:weechat_user.de.html#key_bindings[Standard Tastenbelegung ^↗^,window=_blank] sowie
|
||||||
link:weechat_user.de.html#commands_and_options[Befehle und Optionen] sind im
|
link:weechat_user.de.html#commands_and_options[Befehle und Optionen ^↗^,window=_blank] sind im
|
||||||
link:weechat_user.de.html[Benutzerhandbuch] aufgeführt.
|
link:weechat_user.de.html[Benutzerhandbuch ^↗^,window=_blank] aufgeführt.
|
||||||
|
|
||||||
Neuen Anwendern wird empfohlen,
|
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]]
|
[[display]]
|
||||||
== Anzeige
|
== 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
|
("`defutf8 on`" in der Datei ~/.screenrc oder `screen -U` beim Starten von
|
||||||
screen).
|
screen).
|
||||||
* Überprüfe die Option
|
* Ü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).
|
(diese Option kann schwerwiegenden Darstellungsfehler verursachen, wenn man die Option aktiviert hat).
|
||||||
|
|
||||||
[NOTE]
|
[NOTE]
|
||||||
@@ -141,10 +142,10 @@ Dieser Fehler sollte durch glibc 2.22 behoben sein (vielleicht ist diese Version
|
|||||||
verwendeten Distributionen noch nicht verfügbar).
|
verwendeten Distributionen noch nicht verfügbar).
|
||||||
|
|
||||||
Es gibt folgende Übergangslösung, um das Problem mit der _wcwidth_ zu umgehen:
|
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:
|
Siehe https://github.com/weechat/weechat/issues/79[bug report ^↗^,window=_blank]
|
||||||
https://github.com/weechat/weechat/issues/79
|
für weitere Informationen.
|
||||||
|
|
||||||
[[bars_background]]
|
[[bars_background]]
|
||||||
=== Weshalb haben Bars, z.B. Titel und Status, keine Hintergrundfarbe bzw. diese endet direkt nach dem Text?
|
=== 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]]
|
[[buffers_list]]
|
||||||
=== Wie kann ich eine Liste mit den Buffern z.B. auf der linken Seite anzeigen lassen?
|
=== 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.
|
automatisch geladen und verwendet.
|
||||||
|
|
||||||
Bei älteren Versionen kann stattdessen das Skript _buffers.pl_ installiert werden:
|
Bei älteren Versionen kann stattdessen das Skript _buffers.pl_ installiert werden:
|
||||||
@@ -247,7 +248,7 @@ finden folgende WeeChat-Befehle Anwendung:
|
|||||||
[NOTE]
|
[NOTE]
|
||||||
Die Tasten "meta-OP" und "meta-OQ" können im Hinblick auf das jeweils genutzte Terminal variieren.
|
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.
|
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]]
|
[[customize_buflist]]
|
||||||
=== Wie kann ich die Darstellung der Bufferliste anpassen, z.B. die Farbe des aktiven Buffers?
|
=== 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.
|
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:
|
Es gibt zusätzlich die https://github.com/weechat/weechat/wiki/buflist[wiki page ^↗^,window=_blank]
|
||||||
https://github.com/weechat/weechat/wiki/buflist
|
mit Beispielen für die erweiterte buflist Konfiguration.
|
||||||
|
|
||||||
[[customize_prefix]]
|
[[customize_prefix]]
|
||||||
=== Wie kann ich die Länge eines Nicknamens begrenzen oder die Ausrichtung des Nicks im Chatbereich entfernen?
|
=== 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_*__
|
Weitere hotlist Eigenschaften können mit Hilfe der Optionen __weechat.look.hotlist_*__
|
||||||
verändert werden.
|
verändert werden.
|
||||||
|
|
||||||
Siehe link:weechat_user.de.html#screen_layout[Benutzerhandbuch / Screen layout] für
|
Siehe link:weechat_user.de.html#screen_layout[Benutzerhandbuch / Screen layout ^↗^,window=_blank]
|
||||||
weitere Informationen zur Hotlist.
|
für weitere Informationen zur Hotlist.
|
||||||
|
|
||||||
[[input_bar_size]]
|
[[input_bar_size]]
|
||||||
=== Wie kann man eine mehrzeilige Eingabezeile einstellen?
|
=== 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
|
Zahl der Farbe eingetragen werden (optional: mit dem Befehl `/color` kann man einen Alias für
|
||||||
eine Farbe definieren).
|
eine Farbe definieren).
|
||||||
|
|
||||||
Bitte lese link:weechat_user.de.html#colors[Benutzerhandbuch / Farben] für weitere
|
Bitte lese link:weechat_user.de.html#colors[Benutzerhandbuch / Farben ^↗^,window=_blank]
|
||||||
Informationen die das Farbmanagement betreffen.
|
für weitere Informationen die das Farbmanagement betreffen.
|
||||||
|
|
||||||
[[search_text]]
|
[[search_text]]
|
||||||
=== Wie kann ich in einem Buffer nach einem Text suchen (vergleichbar /lastlog in irssi)?
|
=== 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:
|
Um zu Highlight-Nachrichten zu springen:
|
||||||
kbd:[Alt+p] für vorherige, kbd:[Alt+n] für die nächste Nachricht.
|
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
|
siehe link:weechat_user.de.html#key_bindings[Benutzerhandbuch / Standard Tastenbelegung ^↗^,window=_blank]
|
||||||
Informationen zu dieser Funktion.
|
für weitere Informationen zu dieser Funktion.
|
||||||
|
|
||||||
[[terminal_focus]]
|
[[terminal_focus]]
|
||||||
=== Wie kann ich Befehle ausführen, wenn der Terminal (keinen) Fokus hat?
|
=== 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
|
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
|
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:
|
werden um dann z.B. mit einem Kurzbefehl `/123` zum Buffer #123 zu springen:
|
||||||
@@ -865,7 +866,7 @@ ersetzt werden:
|
|||||||
----
|
----
|
||||||
|
|
||||||
[[irc_sasl]]
|
[[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,
|
Sollte der Server SASL unterstützen,
|
||||||
ist es ratsam auf diese Funktion zurückzugreifen
|
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,
|
Unterstützt der Server keine SASL Authentifizierung,
|
||||||
kann eine Verzögerung aktiviert werden,
|
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
|
/set irc.server.libera.command_delay 5
|
||||||
----
|
----
|
||||||
|
|
||||||
[[edit_autojoin]]
|
[[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,
|
Ab WeeChat ≥ 3.5 können Sie die Kanäle, denen Sie manuell betreten und verlassen,
|
||||||
automatisch aufzeichnen und die Serveroption „autojoin“ entsprechend anpassen.
|
automatisch aufzeichnen und die Serveroption „autojoin“ entsprechend anpassen.
|
||||||
@@ -893,18 +894,31 @@ automatisch aufzeichnen und die Serveroption „autojoin“ entsprechend anpasse
|
|||||||
Für alle Server:
|
Für alle Server:
|
||||||
|
|
||||||
----
|
----
|
||||||
/set irc.server_default.autojoin_record on
|
/set irc.server_default.autojoin_dynamic on
|
||||||
----
|
----
|
||||||
|
|
||||||
Für einen einzelnen Server:
|
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,
|
Ab WeeChat ≥ 3.5 kann man mit dem `/autojoin` Befehl den
|
||||||
kann der Befehl `/set` genutzt werden.
|
aktuellen Kanal in die Serveroption autojoin hinzufügen:
|
||||||
In folgendem Beispiel wird der "libera"-Server angepasst:
|
|
||||||
|
----
|
||||||
|
/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]
|
/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
|
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,
|
oder mittels kbd:[Shift+Tab] eine teilweise Vervollständigung durchführen,
|
||||||
was bei Namen sinnvoll ist, denn so braucht nicht die komplette Liste
|
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:
|
zu editieren:
|
||||||
|
|
||||||
----
|
----
|
||||||
/fset autojoin
|
/fset autojoin
|
||||||
----
|
----
|
||||||
|
|
||||||
oder man nutzt ein Skript:
|
Bis WeeChat ≤ 3.4 kann man auch ein Skript nutzen:
|
||||||
|
|
||||||
----
|
----
|
||||||
/script search autojoin
|
/script search autojoin
|
||||||
@@ -933,9 +947,9 @@ oder man nutzt ein Skript:
|
|||||||
=== Was ist der Unterschied zwischen dem Befehl /ignore und /filter?
|
=== Was ist der Unterschied zwischen dem Befehl /ignore und /filter?
|
||||||
|
|
||||||
Der Befehl `/ignore` ist ein (clientseitiger) IRC-Befehl und beeinflusst direkt,
|
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
|
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.
|
Der Befehl wird nicht auf den Inhalt eines IRC-Buffers angewandt.
|
||||||
Zutreffende Meldungen werden, bevor sie dem Buffer zugeführt werden,
|
Zutreffende Meldungen werden, bevor sie dem Buffer zugeführt werden,
|
||||||
von der "irc"-Erweiterung gelöscht. Es gibt somit keine Möglichkeit,
|
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+-].
|
aller Filter ist kbd:[Alt+-].
|
||||||
|
|
||||||
[[filter_irc_join_part_quit]]
|
[[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.
|
Zum einen mit dem Smart-Filter.
|
||||||
Bei dessen Anwendung werden join/part/quit-Meldungen von Usern angezeigt,
|
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]
|
[NOTE]
|
||||||
Für weitere Hilfe: `/help filter`, `+/help irc.look.smart_filter+` und
|
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]]
|
[[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
|
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
|
die Option _irc.look.display_join_message_ (für weitere Informationen, siehe
|
||||||
`+/help irc.look.display_join_message+`).
|
`+/help irc.look.display_join_message+`).
|
||||||
|
|
||||||
Um Nachrichten visuell zu verbergen, können diese gefiltert werden.
|
Um Nachrichten visuell zu verbergen, können diese gefiltert werden.
|
||||||
Dazu wird der Befehl `/filter` auf bestimmte Nachrichten-Tags angewandt.
|
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
|
Siehe `/help filter`, um weitere Informationen über die Filterfunktion zu
|
||||||
erhalten.
|
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,
|
und man nicht von diesen Mitteilungen überflutet werden möchte,
|
||||||
kann man WeeChat anweisen, abwesende Nicks in einer anderen Farbe darzustellen.
|
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
|
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
|
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.
|
Die Angabe des Wertes erfolgt in Minuten.
|
||||||
|
|
||||||
Mit der Option _irc.server_default.away_check_max_nicks_ kann festgelegt werden,
|
Mit der Option _irc.server_default.away_check_max_nicks_ kann festgelegt werden,
|
||||||
in welchen Channels eine Überprüfung stattfinden soll.
|
in welchen Kanälen eine Überprüfung stattfinden soll.
|
||||||
Hierbei stellt der angegebene Wert die maximale Anzahl an Nicks in einem Channel dar,
|
Hierbei stellt der angegebene Wert die maximale Anzahl an Nicks in einem Kanal dar,
|
||||||
die den Channel gleichzeitig besuchen dürfen.
|
die den Kanal gleichzeitig besuchen dürfen.
|
||||||
|
|
||||||
Im folgenden Beispiel wird der Abwesenheitsstatus alle fünf Minuten überprüft.
|
Im folgenden Beispiel wird der Abwesenheitsstatus alle fünf Minuten überprüft.
|
||||||
Dabei werden aber nur solche Channels berücksichtigt, die nicht mehr als 25
|
Dabei werden aber nur solche Kanäle berücksichtigt, die nicht mehr als 25
|
||||||
Teilnehmer haben:
|
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_.
|
_irc.network.away_check_max_nicks_.
|
||||||
|
|
||||||
[[highlight_notification]]
|
[[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",
|
Seit WeeChat ≥ 1.0 gibt es standardmäßig den Trigger "beep",
|
||||||
der an das Terminal ein _BEL_ Signal schickt,
|
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?
|
=== Wie kann ich Highlights (Hervorhebungen) von bestimmten Nicks deaktivieren?
|
||||||
|
|
||||||
Ab WeeChat ≥ 0.3.4 kann die Eigenschaft
|
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.
|
für den entsprechenden Buffer gesetzt werden.
|
||||||
Dies kann für einzelne Nicks,
|
Dies kann für einzelne Nicks,
|
||||||
einen Buffer oder eine Gruppe von Buffern (z.B. IRC Server) gelten.
|
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
|
/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:
|
#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`
|
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
|
bei der entsprechenden Option (falls man geschützte Daten nutzen kann, wird es
|
||||||
im Hilfstext erwähnt).
|
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:
|
Beispiel:
|
||||||
|
|
||||||
@@ -1320,7 +1334,7 @@ Ihrer Passphrase verschlüsselten Kennwörter enthält.
|
|||||||
Einige andere Dateien enthalten möglicherweise vertrauliche Informationen wie
|
Einige andere Dateien enthalten möglicherweise vertrauliche Informationen wie
|
||||||
Kennwörter (sofern sie nicht mit dem Befehl `/secure` in _sec.conf_ gesichert werden).
|
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.
|
für weitere Informationen über Konfigurationsdateien.
|
||||||
|
|
||||||
[[development]]
|
[[development]]
|
||||||
@@ -1329,7 +1343,7 @@ für weitere Informationen über Konfigurationsdateien.
|
|||||||
[[bug_task_patch]]
|
[[bug_task_patch]]
|
||||||
=== Was kann ich machen, falls ich einen Fehler gefunden habe, mich nach neuen Funktionen erkundigen oder Patches einsenden möchte?
|
=== 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]]
|
[[gdb_error_threads]]
|
||||||
=== Wenn man WeeChat in gdb startet, kann ein Thread-Fehler auftreten. Was beudeutet das?
|
=== 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, ...
|
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:
|
Bitte kontaktieren Sie uns per IRC oder Mail, siehe
|
||||||
https://weechat.org/about/support
|
https://weechat.org/about/support/[support page ^↗^,window=_blank].
|
||||||
|
|
||||||
[[donate]]
|
[[donate]]
|
||||||
=== Kann ich Geld oder anderes an die WeeChat Entwickler spenden?
|
=== Kann ich Geld oder anderes an die WeeChat Entwickler spenden?
|
||||||
|
|
||||||
Du kannst uns Geld zur Unterstützung der weiteren Entwicklung spenden.
|
Sie können uns Geld spenden, um die Entwicklung zu unterstützen.
|
||||||
Details hierzu gibt es auf: https://weechat.org/donate
|
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"
|
/set irc.server.libera.autojoin "#channel1,#channel2"
|
||||||
----
|
----
|
||||||
|
|
||||||
[TIP]
|
Mit dem `/autojoin` Befehl können die _autojoin_ Optionen einfach konfiguriert werden.
|
||||||
Mittels der kbd:[Tab] Taste kann man sehr einfach Namen und Werte von Optionen
|
(siehe `/help autojoin`).
|
||||||
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
|
WeeChat kann auch konfigurieren werden, dass die _autojoin_ Optionen automatisch aktualisiert werden
|
||||||
sein kann).
|
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.
|
Mit dem Befehl `/unset` können Server-Optionen zurückgesetzt werden.
|
||||||
Ist eine Server-Option zurückgesetzt, _wirkt_ der entsprechende Vorgabewert
|
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
|
/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]]
|
[[connect_to_irc_server]]
|
||||||
== Verbinden mit dem IRC-Server
|
== Verbinden mit dem IRC-Server
|
||||||
|
|
||||||
@@ -431,14 +441,14 @@ Zeige eine liste aller verfügbaren Skripten:
|
|||||||
/script
|
/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]]
|
[[more_doc]]
|
||||||
== Weitere Dokumentation
|
== Weitere Dokumentation
|
||||||
|
|
||||||
Mit dieser Quickstart-Anleitung wurden dir die wesentlichen
|
WeeChat kann nun verwendet werden und lesen Sie
|
||||||
Bedienungswerkzeuge von WeeChat nähergebracht.
|
https://weechat.org/doc/[FAQ/documentation ^↗^,window=_blank]
|
||||||
Für das eingehende Studium aller verfügbaren Funktionalitäten
|
falls Sie weitere Fragen haben.
|
||||||
sei dir unsere ausführliche FAQ/Dokumentation ans Herz gelegt: https://weechat.org/doc
|
|
||||||
|
|
||||||
Viel Spass mit WeeChat!
|
Viel Spass mit WeeChat!
|
||||||
|
|||||||
+133
-120
@@ -17,8 +17,8 @@
|
|||||||
|
|
||||||
Diese Anleitung beschreibt den WeeChat Chat Client und ist Teil von WeeChat.
|
Diese Anleitung beschreibt den WeeChat Chat Client und ist Teil von WeeChat.
|
||||||
|
|
||||||
Die aktuelle Version dieser Anleitung finden Sie auf:
|
Die neueste Version dieses Dokuments finden Sie unter
|
||||||
https://weechat.org/doc
|
https://weechat.org/doc/[this page ^↗^,window=_blank].
|
||||||
|
|
||||||
|
|
||||||
[[introduction]]
|
[[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. +
|
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
|
Wenn etwas in einem Hintergrundprozess ausgeführt werden soll, kann die Funktion
|
||||||
`+hook_process+` genutzt werden. Siehe Beispiele im Kapitel <<hook_process,Hintergrundprozesse>>
|
`+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]]
|
[[languages_specificities]]
|
||||||
=== Besonderheiten der einzelnen Skriptsprachen
|
=== 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`
|
WeeChat definiert ein `weechat` Module welches mittels `import weechat`
|
||||||
importiert werden muss. +
|
importiert werden muss. +
|
||||||
Ein Python-Stub für die WeeChat-API ist im Repository verfügbar:
|
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]]
|
[[python_functions]]
|
||||||
===== Funktionen
|
===== Funktionen
|
||||||
@@ -109,38 +109,38 @@ Liste ist nicht vollständig):
|
|||||||
|===
|
|===
|
||||||
| API Funktion | Argumente | Beispiele| Beschreibung
|
| API Funktion | Argumente | Beispiele| Beschreibung
|
||||||
|
|
||||||
| hook_modifier |
|
| hook_modifier
|
||||||
irc_in_yyy |
|
| irc_in_yyy
|
||||||
pass:[irc_in_privmsg] +
|
| pass:[irc_in_privmsg] +
|
||||||
pass:[irc_in_notice] |
|
pass:[irc_in_notice]
|
||||||
Eine Nachricht die von der IRC Erweiterung empfangen wurde und bevor sie nach UTF-8 dekodiert wurde (intern
|
| Eine Nachricht die von der IRC Erweiterung empfangen wurde und bevor sie nach UTF-8 dekodiert wurde (intern
|
||||||
verwendet). +
|
verwendet). +
|
||||||
+
|
+
|
||||||
Es wird empfohlen den Modifier `+irc_in2_yyy+` zu nutzen, da die empfangene Zeichenkette
|
Es wird empfohlen den Modifier `+irc_in2_yyy+` zu nutzen, da die empfangene Zeichenkette
|
||||||
immer UTF-8 gültig ist. +
|
immer UTF-8 gültig ist. +
|
||||||
siehe Funktion `+hook_modifier+` in der
|
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 |
|
| hook_signal
|
||||||
xxx,irc_out_yyy +
|
| xxx,irc_out_yyy +
|
||||||
xxx,irc_outtags_yyy |
|
xxx,irc_outtags_yyy
|
||||||
pass:[*,irc_out_privmsg] +
|
| pass:[*,irc_out_privmsg] +
|
||||||
pass:[*,irc_out_notice] +
|
pass:[*,irc_out_notice] +
|
||||||
pass:[*,irc_outtags_privmsg] +
|
pass:[*,irc_outtags_privmsg] +
|
||||||
pass:[*,irc_outtags_notice] |
|
pass:[*,irc_outtags_notice]
|
||||||
Eine Nachricht welche von der IRC Erweiterung versendet wurde, nachdem diese entsprechend
|
| Eine Nachricht welche von der IRC Erweiterung versendet wurde, nachdem diese entsprechend
|
||||||
der Benutzereinstellung `encode` Charset kodiert (falls abweichend von der `UTF-8` Standardeinstellung). +
|
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
|
Es wird empfohlen das Signal `+xxx,irc_out1_yyy+` zu nutzen, da die empfangene Zeichenkette
|
||||||
immer UTF-8 gültig ist. +
|
immer UTF-8 gültig ist. +
|
||||||
siehe Funktion `+hook_signal+` in der
|
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 +
|
||||||
hook_process_hashtable |
|
hook_process_hashtable
|
||||||
- |
|
| -
|
||||||
- |
|
| -
|
||||||
Ausgabe des Befehls, dass an den Callback gesendet wurde, kann ungültige UTF-8 Daten enthalten.
|
| 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.
|
Die Skripten API ist nahezu identisch mit der API der C Erweiterung.
|
||||||
Um einen Überblick über alle API Funktionen (Prototyp, Argumente,
|
Um einen Überblick über alle API Funktionen (Prototyp, Argumente,
|
||||||
Rückgabe werte, Beispiele) zu erhalten werfen Sie einen Blick in
|
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_
|
Es ist wichtig das man zwischen einer _Erweiterung_ und einem _Skript_
|
||||||
unterscheidet: Eine _Erweiterung_ ist eine Binärdatei die kompiliert wurde
|
unterscheidet: Eine _Erweiterung_ ist eine Binärdatei die kompiliert wurde
|
||||||
und mittels `/plugin` geladen wird. Ein _Skript_ ist eine Textdatei welche
|
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
|
== Skript API
|
||||||
|
|
||||||
Um weiterführende Informationen zu den API Funktionen zu erhalten
|
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]]
|
[[script_api_functions]]
|
||||||
=== Funktionen
|
=== Funktionen
|
||||||
@@ -570,14 +570,14 @@ Liste der Skript API Funktionen:
|
|||||||
|===
|
|===
|
||||||
| Kategorie | Funktionen
|
| Kategorie | Funktionen
|
||||||
|
|
||||||
| Allgemein |
|
| Allgemein
|
||||||
register
|
| register
|
||||||
|
|
||||||
| Erweiterungen |
|
| Erweiterungen
|
||||||
plugin_get_name
|
| plugin_get_name
|
||||||
|
|
||||||
| Strings |
|
| Strings
|
||||||
charset_set +
|
| charset_set +
|
||||||
iconv_to_internal +
|
iconv_to_internal +
|
||||||
iconv_from_internal +
|
iconv_from_internal +
|
||||||
gettext +
|
gettext +
|
||||||
@@ -589,6 +589,7 @@ Liste der Skript API Funktionen:
|
|||||||
string_has_highlight_regex +
|
string_has_highlight_regex +
|
||||||
string_mask_to_regex +
|
string_mask_to_regex +
|
||||||
string_format_size +
|
string_format_size +
|
||||||
|
string_parse_size +
|
||||||
string_color_code_size +
|
string_color_code_size +
|
||||||
string_remove_color +
|
string_remove_color +
|
||||||
string_is_command_char +
|
string_is_command_char +
|
||||||
@@ -596,13 +597,13 @@ Liste der Skript API Funktionen:
|
|||||||
string_eval_expression +
|
string_eval_expression +
|
||||||
string_eval_path_home
|
string_eval_path_home
|
||||||
|
|
||||||
| Verzeichnisse |
|
| Verzeichnisse
|
||||||
mkdir_home +
|
| mkdir_home +
|
||||||
mkdir +
|
mkdir +
|
||||||
mkdir_parents
|
mkdir_parents
|
||||||
|
|
||||||
| sortierte Listen |
|
| sortierte Listen
|
||||||
list_new +
|
| list_new +
|
||||||
list_add +
|
list_add +
|
||||||
list_search +
|
list_search +
|
||||||
list_search_pos +
|
list_search_pos +
|
||||||
@@ -618,8 +619,8 @@ Liste der Skript API Funktionen:
|
|||||||
list_remove_all +
|
list_remove_all +
|
||||||
list_free
|
list_free
|
||||||
|
|
||||||
| Konfigurationsdatei |
|
| Konfigurationsdatei
|
||||||
config_new +
|
| config_new +
|
||||||
config_new_section +
|
config_new_section +
|
||||||
config_search_section +
|
config_search_section +
|
||||||
config_new_option +
|
config_new_option +
|
||||||
@@ -656,12 +657,12 @@ Liste der Skript API Funktionen:
|
|||||||
config_set_desc_plugin +
|
config_set_desc_plugin +
|
||||||
config_unset_plugin
|
config_unset_plugin
|
||||||
|
|
||||||
| Tastenbelegung |
|
| Tastenbelegung
|
||||||
key_bind +
|
| key_bind +
|
||||||
key_unbind
|
key_unbind
|
||||||
|
|
||||||
| Ausgabe |
|
| Ausgabe
|
||||||
prefix +
|
| prefix +
|
||||||
color +
|
color +
|
||||||
print (für Python: prnt) +
|
print (für Python: prnt) +
|
||||||
print_date_tags (für Python: prnt_date_tags) +
|
print_date_tags (für Python: prnt_date_tags) +
|
||||||
@@ -669,8 +670,8 @@ Liste der Skript API Funktionen:
|
|||||||
print_y_date_tags (für Python: prnt_y_date_tags) +
|
print_y_date_tags (für Python: prnt_y_date_tags) +
|
||||||
log_print
|
log_print
|
||||||
|
|
||||||
| Hooks |
|
| Hooks
|
||||||
hook_command +
|
| hook_command +
|
||||||
hook_command_run +
|
hook_command_run +
|
||||||
hook_timer +
|
hook_timer +
|
||||||
hook_fd +
|
hook_fd +
|
||||||
@@ -695,8 +696,8 @@ Liste der Skript API Funktionen:
|
|||||||
unhook +
|
unhook +
|
||||||
unhook_all
|
unhook_all
|
||||||
|
|
||||||
| Buffer |
|
| Buffer
|
||||||
buffer_new +
|
| buffer_new +
|
||||||
buffer_new_props +
|
buffer_new_props +
|
||||||
current_buffer +
|
current_buffer +
|
||||||
buffer_search +
|
buffer_search +
|
||||||
@@ -712,16 +713,16 @@ Liste der Skript API Funktionen:
|
|||||||
buffer_string_replace_local_var +
|
buffer_string_replace_local_var +
|
||||||
buffer_match_list
|
buffer_match_list
|
||||||
|
|
||||||
| Fenster |
|
| Fenster
|
||||||
current_window +
|
| current_window +
|
||||||
window_search_with_buffer +
|
window_search_with_buffer +
|
||||||
window_get_integer +
|
window_get_integer +
|
||||||
window_get_string +
|
window_get_string +
|
||||||
window_get_pointer +
|
window_get_pointer +
|
||||||
window_set_title
|
window_set_title
|
||||||
|
|
||||||
| Nickliste |
|
| Nickliste
|
||||||
nicklist_add_group +
|
| nicklist_add_group +
|
||||||
nicklist_search_group +
|
nicklist_search_group +
|
||||||
nicklist_add_nick +
|
nicklist_add_nick +
|
||||||
nicklist_search_nick +
|
nicklist_search_nick +
|
||||||
@@ -737,8 +738,8 @@ Liste der Skript API Funktionen:
|
|||||||
nicklist_nick_get_pointer +
|
nicklist_nick_get_pointer +
|
||||||
nicklist_nick_set
|
nicklist_nick_set
|
||||||
|
|
||||||
| Bars |
|
| Bars
|
||||||
bar_item_search +
|
| bar_item_search +
|
||||||
bar_item_new +
|
bar_item_new +
|
||||||
bar_item_update +
|
bar_item_update +
|
||||||
bar_item_remove +
|
bar_item_remove +
|
||||||
@@ -748,23 +749,23 @@ Liste der Skript API Funktionen:
|
|||||||
bar_update +
|
bar_update +
|
||||||
bar_remove
|
bar_remove
|
||||||
|
|
||||||
| Befehle |
|
| Befehle
|
||||||
command +
|
| command +
|
||||||
command_options
|
command_options
|
||||||
|
|
||||||
| Vervollständigung |
|
| Vervollständigung
|
||||||
completion_new +
|
| completion_new +
|
||||||
completion_search +
|
completion_search +
|
||||||
completion_get_string +
|
completion_get_string +
|
||||||
completion_list_add +
|
completion_list_add +
|
||||||
completion_free
|
completion_free
|
||||||
|
|
||||||
| Informationen |
|
| Informationen
|
||||||
info_get +
|
| info_get +
|
||||||
info_get_hashtable
|
info_get_hashtable
|
||||||
|
|
||||||
| Infolisten |
|
| Infolisten
|
||||||
infolist_new +
|
| infolist_new +
|
||||||
infolist_new_item +
|
infolist_new_item +
|
||||||
infolist_new_var_integer +
|
infolist_new_var_integer +
|
||||||
infolist_new_var_string +
|
infolist_new_var_string +
|
||||||
@@ -782,8 +783,8 @@ Liste der Skript API Funktionen:
|
|||||||
infolist_time +
|
infolist_time +
|
||||||
infolist_free
|
infolist_free
|
||||||
|
|
||||||
| hdata |
|
| hdata
|
||||||
hdata_get +
|
| hdata_get +
|
||||||
hdata_get_var_offset +
|
hdata_get_var_offset +
|
||||||
hdata_get_var_type_string +
|
hdata_get_var_type_string +
|
||||||
hdata_get_var_array_size +
|
hdata_get_var_array_size +
|
||||||
@@ -804,8 +805,8 @@ Liste der Skript API Funktionen:
|
|||||||
hdata_update +
|
hdata_update +
|
||||||
hdata_get_string
|
hdata_get_string
|
||||||
|
|
||||||
| Upgrade |
|
| Upgrade
|
||||||
upgrade_new +
|
| upgrade_new +
|
||||||
upgrade_write_object +
|
upgrade_write_object +
|
||||||
upgrade_read +
|
upgrade_read +
|
||||||
upgrade_close
|
upgrade_close
|
||||||
@@ -820,13 +821,13 @@ Liste der Konstanten in Skript API:
|
|||||||
|===
|
|===
|
||||||
| Kategorie | Konstanten
|
| Kategorie | Konstanten
|
||||||
|
|
||||||
| return codes |
|
| return codes
|
||||||
`WEECHAT_RC_OK` (integer) +
|
| `WEECHAT_RC_OK` (integer) +
|
||||||
`WEECHAT_RC_OK_EAT` (integer) +
|
`WEECHAT_RC_OK_EAT` (integer) +
|
||||||
`WEECHAT_RC_ERROR` (integer)
|
`WEECHAT_RC_ERROR` (integer)
|
||||||
|
|
||||||
| Konfigurationsdatei |
|
| Konfigurationsdatei
|
||||||
`WEECHAT_CONFIG_READ_OK` (integer) +
|
| `WEECHAT_CONFIG_READ_OK` (integer) +
|
||||||
`WEECHAT_CONFIG_READ_MEMORY_ERROR` (integer) +
|
`WEECHAT_CONFIG_READ_MEMORY_ERROR` (integer) +
|
||||||
`WEECHAT_CONFIG_READ_FILE_NOT_FOUND` (integer) +
|
`WEECHAT_CONFIG_READ_FILE_NOT_FOUND` (integer) +
|
||||||
`WEECHAT_CONFIG_WRITE_OK` (integer) +
|
`WEECHAT_CONFIG_WRITE_OK` (integer) +
|
||||||
@@ -841,23 +842,23 @@ Liste der Konstanten in Skript API:
|
|||||||
`WEECHAT_CONFIG_OPTION_UNSET_OK_REMOVED` (integer) +
|
`WEECHAT_CONFIG_OPTION_UNSET_OK_REMOVED` (integer) +
|
||||||
`WEECHAT_CONFIG_OPTION_UNSET_ERROR` (integer)
|
`WEECHAT_CONFIG_OPTION_UNSET_ERROR` (integer)
|
||||||
|
|
||||||
| sortierte Listen |
|
| sortierte Listen
|
||||||
`WEECHAT_LIST_POS_SORT` (string) +
|
| `WEECHAT_LIST_POS_SORT` (string) +
|
||||||
`WEECHAT_LIST_POS_BEGINNING` (string) +
|
`WEECHAT_LIST_POS_BEGINNING` (string) +
|
||||||
`WEECHAT_LIST_POS_END` (string)
|
`WEECHAT_LIST_POS_END` (string)
|
||||||
|
|
||||||
| Hotlist |
|
| Hotlist
|
||||||
`WEECHAT_HOTLIST_LOW` (string) +
|
| `WEECHAT_HOTLIST_LOW` (string) +
|
||||||
`WEECHAT_HOTLIST_MESSAGE` (string) +
|
`WEECHAT_HOTLIST_MESSAGE` (string) +
|
||||||
`WEECHAT_HOTLIST_PRIVATE` (string) +
|
`WEECHAT_HOTLIST_PRIVATE` (string) +
|
||||||
`WEECHAT_HOTLIST_HIGHLIGHT` (string)
|
`WEECHAT_HOTLIST_HIGHLIGHT` (string)
|
||||||
|
|
||||||
| hook Prozesse |
|
| hook Prozesse
|
||||||
`WEECHAT_HOOK_PROCESS_RUNNING` (integer) +
|
| `WEECHAT_HOOK_PROCESS_RUNNING` (integer) +
|
||||||
`WEECHAT_HOOK_PROCESS_ERROR` (integer)
|
`WEECHAT_HOOK_PROCESS_ERROR` (integer)
|
||||||
|
|
||||||
| hook Connect |
|
| hook Connect
|
||||||
`WEECHAT_HOOK_CONNECT_OK` (integer) +
|
| `WEECHAT_HOOK_CONNECT_OK` (integer) +
|
||||||
`WEECHAT_HOOK_CONNECT_ADDRESS_NOT_FOUND` (integer) +
|
`WEECHAT_HOOK_CONNECT_ADDRESS_NOT_FOUND` (integer) +
|
||||||
`WEECHAT_HOOK_CONNECT_IP_ADDRESS_NOT_FOUND` (integer) +
|
`WEECHAT_HOOK_CONNECT_IP_ADDRESS_NOT_FOUND` (integer) +
|
||||||
`WEECHAT_HOOK_CONNECT_CONNECTION_REFUSED` (integer) +
|
`WEECHAT_HOOK_CONNECT_CONNECTION_REFUSED` (integer) +
|
||||||
@@ -869,8 +870,8 @@ Liste der Konstanten in Skript API:
|
|||||||
`WEECHAT_HOOK_CONNECT_TIMEOUT` (integer) +
|
`WEECHAT_HOOK_CONNECT_TIMEOUT` (integer) +
|
||||||
`WEECHAT_HOOK_CONNECT_SOCKET_ERROR` (integer)
|
`WEECHAT_HOOK_CONNECT_SOCKET_ERROR` (integer)
|
||||||
|
|
||||||
| hook Signal |
|
| hook Signal
|
||||||
`WEECHAT_HOOK_SIGNAL_STRING` (string) +
|
| `WEECHAT_HOOK_SIGNAL_STRING` (string) +
|
||||||
`WEECHAT_HOOK_SIGNAL_INT` (string) +
|
`WEECHAT_HOOK_SIGNAL_INT` (string) +
|
||||||
`WEECHAT_HOOK_SIGNAL_POINTER` (string)
|
`WEECHAT_HOOK_SIGNAL_POINTER` (string)
|
||||||
|===
|
|===
|
||||||
@@ -881,7 +882,7 @@ Liste der Konstanten in Skript API:
|
|||||||
Dieses Kapitel beinhaltet einige Aufgaben mit Lösungsbeispielen.
|
Dieses Kapitel beinhaltet einige Aufgaben mit Lösungsbeispielen.
|
||||||
Die Skript API wird dabei nur sehr oberflächlich besprochen.Um eine vollständige
|
Die Skript API wird dabei nur sehr oberflächlich besprochen.Um eine vollständige
|
||||||
Übersicht aller Befehle zu erhalten nutzen Sie bitte die
|
Ü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]]
|
[[buffers]]
|
||||||
=== Buffer
|
=== Buffer
|
||||||
@@ -1158,7 +1159,8 @@ weechat.hook_process("url:https://weechat.org/dev/info/stable/",
|
|||||||
----
|
----
|
||||||
|
|
||||||
[TIP]
|
[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
|
Beispiel eines URL Transfers, mit zusätzliche Optionen: Es wird das neuste
|
||||||
WeeChat Entwicklerpaket in die Datei _/tmp/weechat-devel.tar.gz_ gesichert:
|
WeeChat Entwicklerpaket in die Datei _/tmp/weechat-devel.tar.gz_ gesichert:
|
||||||
@@ -1177,7 +1179,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
|
Für weitere Informationen zum URL Transfer und verfügbare Optionen, siehe Funktionen
|
||||||
`+hook_process+` und `+hook_process_hashtable+` in
|
`+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]]
|
[[config_options]]
|
||||||
=== Konfiguration / Optionen
|
=== Konfiguration / Optionen
|
||||||
@@ -1333,63 +1335,71 @@ Das Ergebnis ist eine Hashtabelle mit folgenden Schlüsseln
|
|||||||
|
|
||||||
[width="100%",cols="3,^2,10,7",options="header"]
|
[width="100%",cols="3,^2,10,7",options="header"]
|
||||||
|===
|
|===
|
||||||
| Schlüssel | Seit WeeChat ^(1)^ | Beschreibung | Beispiel
|
| Schlüssel | Seit WeeChat ^(1)^ | Beschreibung | Beispiel
|
||||||
|
|
||||||
| Tags | 0.4.0 |
|
| Tags | 0.4.0
|
||||||
Tags in der Nachricht (kann leer sein). |
|
| Tags in der Nachricht (kann leer sein).
|
||||||
`+time=2015-06-27T16:40:35.000Z+`
|
| `+time=2015-06-27T16:40:35.000Z+`
|
||||||
|
|
||||||
| tag_xxx | 3.3 |
|
| tag_xxx | 3.3
|
||||||
Wert des Tags "xxx" ohne Escapezeichen (ein Schlüssel pro Tag). |
|
| Wert des Tags "xxx" ohne Escapezeichen (ein Schlüssel pro Tag).
|
||||||
`+2015-06-27T16:40:35.000Z+`
|
| `+2015-06-27T16:40:35.000Z+`
|
||||||
|
|
||||||
| message_without_tags | 0.4.0 |
|
| message_without_tags | 0.4.0
|
||||||
Die IRC Nachricht ohne Tags (wie eine Nachricht ohne Tags). |
|
| Die IRC Nachricht ohne Tags (wie eine Nachricht ohne Tags).
|
||||||
`+:nick!user@host PRIVMSG #weechat :hello!+`
|
| `+:nick!user@host PRIVMSG #weechat :hello!+`
|
||||||
|
|
||||||
| nick | 0.3.4 |
|
| nick | 0.3.4
|
||||||
der ursprüngliche Nick. |
|
| der ursprüngliche Nick.
|
||||||
`+nick+`
|
| `+nick+`
|
||||||
|
|
||||||
| user | 2.7 |
|
| user | 2.7
|
||||||
der ursprüngliche Benutzer. |
|
| der ursprüngliche Benutzer.
|
||||||
`+user+`
|
| `+user+`
|
||||||
|
|
||||||
| host | 0.3.4 |
|
| host | 0.3.4
|
||||||
der ursprüngliche Host (beinhaltet den Nick). |
|
| der ursprüngliche Host (beinhaltet den Nick).
|
||||||
`+nick!user@host+`
|
| `+nick!user@host+`
|
||||||
|
|
||||||
| command | 0.3.4 |
|
| command | 0.3.4
|
||||||
der Befehl (_PRIVMSG_, _NOTICE_, ...). |
|
| der Befehl (_PRIVMSG_, _NOTICE_, ...).
|
||||||
`+PRIVMSG+`
|
| `+PRIVMSG+`
|
||||||
|
|
||||||
| channel | 0.3.4 |
|
| channel | 0.3.4
|
||||||
der Zielchanne.l|
|
| der Zielchanne.l|
|
||||||
`+#weechat+`
|
`+#weechat+`
|
||||||
|
|
||||||
| arguments | 0.3.4 |
|
| arguments | 0.3.4
|
||||||
das Argument des Befehls (beinhaltet den Channel). |
|
| das Argument des Befehls (beinhaltet den Channel).
|
||||||
`+#weechat :hello!+`
|
| `+#weechat :hello!+`
|
||||||
|
|
||||||
| text | 1.3 |
|
| text | 1.3
|
||||||
der Text (zum Beispiel eine Nachricht eines Users). |
|
| der Text (zum Beispiel eine Nachricht eines Users).
|
||||||
`+hello!+`
|
| `+hello!+`
|
||||||
|
|
||||||
| pos_command | 1.3 |
|
| paramN | 3.4
|
||||||
Index von _command_ innerhalb einer Nachricht ("-1" falls _command_ nicht gefunden wird). |
|
| Befehlsparameter (von 1 bis N).
|
||||||
`+47+`
|
| `+#weechat+`
|
||||||
|
|
||||||
| pos_arguments | 1.3 |
|
| num_params | 3.4
|
||||||
Index von_arguments_ innerhalb einer Nachricht ("-1" falls _arguments_ nicht gefunden wird). |
|
| Anzahl der Befehlsparameter.
|
||||||
`+55+`
|
| `+2+`
|
||||||
|
|
||||||
| pos_channel | 1.3 |
|
| pos_command | 1.3
|
||||||
Index von _channel_ innerhalb einer Nachricht ("-1" falls _channel_ nicht gefunden wird). |
|
| Index von _command_ innerhalb einer Nachricht ("-1" falls _command_ nicht gefunden wird).
|
||||||
`+55+`
|
| `+47+`
|
||||||
|
|
||||||
| pos_text | 1.3 |
|
| pos_arguments | 1.3
|
||||||
Index von _text_ innerhalb einer Nachricht ("-1" falls _text_ nicht gefunden wird). |
|
| Index von_arguments_ innerhalb einer Nachricht ("-1" falls _arguments_ nicht gefunden wird).
|
||||||
`+65+`
|
| `+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+`
|
||||||
|===
|
|===
|
||||||
|
|
||||||
[NOTE]
|
[NOTE]
|
||||||
@@ -1413,6 +1423,9 @@ dict = weechat.info_get_hashtable(
|
|||||||
# "channel": "#weechat",
|
# "channel": "#weechat",
|
||||||
# "arguments": "#weechat :hello!",
|
# "arguments": "#weechat :hello!",
|
||||||
# "text": "hello!",
|
# "text": "hello!",
|
||||||
|
# "param1": "#weechat",
|
||||||
|
# "param2": "hello!",
|
||||||
|
# "num_params": "2",
|
||||||
# "pos_command": "65",
|
# "pos_command": "65",
|
||||||
# "pos_arguments": "73",
|
# "pos_arguments": "73",
|
||||||
# "pos_channel": "73",
|
# "pos_channel": "73",
|
||||||
|
|||||||
+857
-399
File diff suppressed because it is too large
Load Diff
+3
-2
@@ -487,7 +487,8 @@ class AutogenDoc():
|
|||||||
f'autogen_{name}.{self.locale[:2]}.adoc',
|
f'autogen_{name}.{self.locale[:2]}.adoc',
|
||||||
)
|
)
|
||||||
self.filename_tmp = f'{self.filename}.tmp'
|
self.filename_tmp = f'{self.filename}.tmp'
|
||||||
self._file = open(self.filename_tmp, 'w')
|
# pylint: disable=consider-using-with
|
||||||
|
self._file = open(self.filename_tmp, 'w', encoding='utf-8')
|
||||||
|
|
||||||
def write_autogen_files(self, weechat_doc):
|
def write_autogen_files(self, weechat_doc):
|
||||||
"""Write auto-generated files."""
|
"""Write auto-generated files."""
|
||||||
@@ -782,7 +783,7 @@ class AutogenDoc():
|
|||||||
self.write('// tag::url_options[]')
|
self.write('// tag::url_options[]')
|
||||||
self.write('[width="100%",cols="2,^1,7",options="header"]')
|
self.write('[width="100%",cols="2,^1,7",options="header"]')
|
||||||
self.write('|===')
|
self.write('|===')
|
||||||
self.write('| %s | %s ^(1)^ | %s ^(2)^\n',
|
self.write('| %s | %s ^(1)^ | %s ^(2)^\n',
|
||||||
_('Option'), _('Type'), _('Constants'))
|
_('Option'), _('Type'), _('Constants'))
|
||||||
for option in url_options:
|
for option in url_options:
|
||||||
constants = option['constants']
|
constants = option['constants']
|
||||||
|
|||||||
+9
-6
@@ -9,10 +9,11 @@
|
|||||||
@media (prefers-color-scheme: dark) {
|
@media (prefers-color-scheme: dark) {
|
||||||
/* dark theme */
|
/* dark theme */
|
||||||
:root {
|
:root {
|
||||||
|
color-scheme: dark;
|
||||||
--body-bg-color: #1a1a1a;
|
--body-bg-color: #1a1a1a;
|
||||||
--body-color: #ddd;
|
--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";
|
--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: #8aceff;
|
--link-color: #7abeef;
|
||||||
--table-thead-tfoot: #252525;
|
--table-thead-tfoot: #252525;
|
||||||
--th-color: #fff;
|
--th-color: #fff;
|
||||||
--toc-bg-color: #252525;
|
--toc-bg-color: #252525;
|
||||||
@@ -40,10 +41,11 @@
|
|||||||
@media (not (prefers-color-scheme: dark)), (prefers-color-scheme: light) {
|
@media (not (prefers-color-scheme: dark)), (prefers-color-scheme: light) {
|
||||||
/* light theme */
|
/* light theme */
|
||||||
:root {
|
:root {
|
||||||
|
color-scheme: light;
|
||||||
--body-bg-color: ##fff;
|
--body-bg-color: ##fff;
|
||||||
--body-color: #353535;
|
--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";
|
--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: #1d4b8f;
|
--link-color: #3d6baf;
|
||||||
--table-thead-tfoot: #f7f8f7;
|
--table-thead-tfoot: #f7f8f7;
|
||||||
--th-color: #000;
|
--th-color: #000;
|
||||||
--toc-bg-color: #f8f8f7;
|
--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 {
|
a:link, a:visited, #header .details span.email a {
|
||||||
color: var(--link-color);
|
color: var(--link-color);
|
||||||
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
table thead, table tfoot {
|
table thead, table tfoot {
|
||||||
@@ -224,8 +227,8 @@ h1, h2, h3, h4, h5 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.literalblock pre {
|
.literalblock pre {
|
||||||
font-family: monospace, 'Courier New', Courier;
|
font-family: "DejaVu Sans Mono", "Liberation Mono", "Lucida Console", monospace, 'Courier New', Courier;
|
||||||
line-height: normal;
|
line-height: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
kbd {
|
kbd {
|
||||||
|
|||||||
@@ -94,6 +94,8 @@
|
|||||||
|
|
||||||
| tcl | tcl_script | list of scripts
|
| 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_arguments | default arguments for a hook
|
||||||
|
|
||||||
| trigger | trigger_hook_command | default command 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 | 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_value | value of an environment variable
|
||||||
|
|
||||||
| weechat | env_vars | environment variables
|
| weechat | env_vars | environment variables
|
||||||
|
|||||||
@@ -631,6 +631,8 @@ _text_search_input_ (string) +
|
|||||||
_highlight_words_ (string) +
|
_highlight_words_ (string) +
|
||||||
_highlight_regex_ (string) +
|
_highlight_regex_ (string) +
|
||||||
_highlight_regex_compiled_ (pointer) +
|
_highlight_regex_compiled_ (pointer) +
|
||||||
|
_highlight_disable_regex_ (string) +
|
||||||
|
_highlight_disable_regex_compiled_ (pointer) +
|
||||||
_highlight_tags_restrict_ (string) +
|
_highlight_tags_restrict_ (string) +
|
||||||
_highlight_tags_restrict_count_ (integer) +
|
_highlight_tags_restrict_count_ (integer) +
|
||||||
_highlight_tags_restrict_array_ (pointer, array_size: "highlight_tags_restrict_count") +
|
_highlight_tags_restrict_array_ (pointer, array_size: "highlight_tags_restrict_count") +
|
||||||
|
|||||||
@@ -128,6 +128,8 @@
|
|||||||
|
|
||||||
| weechat | uptime | WeeChat uptime (format: "days:hh:mm:ss") | "days" (number of days) or "seconds" (number of seconds) (optional)
|
| weechat | uptime | WeeChat uptime (format: "days:hh:mm:ss") | "days" (number of days) or "seconds" (number of seconds) (optional)
|
||||||
|
|
||||||
|
| weechat | uptime_current | WeeChat uptime for the current process only (upgrades with /upgrade command are ignored) (format: "days:hh:mm:ss") | "days" (number of days) or "seconds" (number of seconds) (optional)
|
||||||
|
|
||||||
| weechat | version | WeeChat version | -
|
| weechat | version | WeeChat version | -
|
||||||
|
|
||||||
| weechat | version_git | WeeChat git version (output of command "git describe" for a development version only, empty for a stable release) | -
|
| weechat | version_git | WeeChat git version (output of command "git describe" for a development version only, empty for a stable release) | -
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
// tag::url_options[]
|
// tag::url_options[]
|
||||||
[width="100%",cols="2,^1,7",options="header"]
|
[width="100%",cols="2,^1,7",options="header"]
|
||||||
|===
|
|===
|
||||||
| Option | Type ^(1)^ | Constants ^(2)^
|
| Option | Type ^(1)^ | Constants ^(2)^
|
||||||
|
|
||||||
| verbose | long |
|
| verbose | long |
|
||||||
|
|
||||||
|
|||||||
@@ -130,7 +130,7 @@ Examples:
|
|||||||
/autojoin add [<channel1> [<channel2>...]]
|
/autojoin add [<channel1> [<channel2>...]]
|
||||||
addraw <channel1>[,<channel2>...] [<key1>[,<key2>...]]
|
addraw <channel1>[,<channel2>...] [<key1>[,<key2>...]]
|
||||||
del [<channel1> [<channel2>...]]
|
del [<channel1> [<channel2>...]]
|
||||||
save
|
apply
|
||||||
sort
|
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
|
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
|
del: delete current channel or a list of channels from the autojoin option
|
||||||
channel: channel name
|
channel: channel name
|
||||||
key: key for the channel
|
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
|
sort: sort alphabetically channels in the autojoin option
|
||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
/autojoin add
|
/autojoin add
|
||||||
/autojoin add #test
|
/autojoin add #test
|
||||||
/autojoin add #chan1 #chan2
|
/autojoin add #chan1 #chan2
|
||||||
|
/allchan /autojoin add
|
||||||
/autojoin addraw #chan1,#chan2,#chan3 key1,key2
|
/autojoin addraw #chan1,#chan2,#chan3 key1,key2
|
||||||
/autojoin del
|
/autojoin del
|
||||||
/autojoin del #chan1
|
/autojoin del #chan1
|
||||||
/autojoin save
|
/autojoin apply
|
||||||
/autojoin sort
|
/autojoin sort
|
||||||
----
|
----
|
||||||
|
|
||||||
@@ -175,7 +176,7 @@ Without argument, this command displays the ban list for current channel.
|
|||||||
|
|
||||||
ls: list the capabilities supported by the server
|
ls: list the capabilities supported by the server
|
||||||
list: list the capabilities currently enabled
|
list: list the capabilities currently enabled
|
||||||
req: request a capability
|
req: request a new capability or remove a capability (if starting with "-", for example: "-multi-prefix")
|
||||||
ack: acknowledge capabilities which require client-side acknowledgement
|
ack: acknowledge capabilities which require client-side acknowledgement
|
||||||
end: end the capability negotiation
|
end: end the capability negotiation
|
||||||
|
|
||||||
@@ -186,8 +187,14 @@ Capabilities supported by WeeChat are: account-notify, away-notify, cap-notify,
|
|||||||
The capabilities to automatically enable on servers can be set in option irc.server_default.capabilities (or by server in option irc.server.xxx.capabilities).
|
The capabilities to automatically enable on servers can be set in option irc.server_default.capabilities (or by server in option irc.server.xxx.capabilities).
|
||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
/cap
|
display supported and enabled capabilities:
|
||||||
/cap req multi-prefix away-notify
|
/cap
|
||||||
|
request capabilities multi-prefix and away-notify:
|
||||||
|
/cap req multi-prefix away-notify
|
||||||
|
request capability extended-join, remove capability multi-prefix:
|
||||||
|
/cap req extended-join -multi-prefix
|
||||||
|
remove capability away-notify:
|
||||||
|
/cap req -away-notify
|
||||||
----
|
----
|
||||||
|
|
||||||
[[command_irc_connect]]
|
[[command_irc_connect]]
|
||||||
@@ -1331,8 +1338,8 @@ Examples:
|
|||||||
----
|
----
|
||||||
/debug list
|
/debug list
|
||||||
set <plugin> <level>
|
set <plugin> <level>
|
||||||
dump [<plugin>]
|
dump|hooks [<plugin>]
|
||||||
buffer|color|infolists|libs|certs|memory|tags|term|windows
|
buffer|certs|color|dirs|infolists|libs|memory|tags|term|windows
|
||||||
mouse|cursor [verbose]
|
mouse|cursor [verbose]
|
||||||
hdata [free]
|
hdata [free]
|
||||||
time <command>
|
time <command>
|
||||||
@@ -1342,15 +1349,15 @@ Examples:
|
|||||||
plugin: name of plugin ("core" for WeeChat core)
|
plugin: name of plugin ("core" for WeeChat core)
|
||||||
level: debug level for plugin (0 = disable debug)
|
level: debug level for plugin (0 = disable debug)
|
||||||
dump: save memory dump in WeeChat log file (same dump is written when WeeChat crashes)
|
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
|
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
|
color: display infos about current color pairs
|
||||||
cursor: toggle debug for cursor mode
|
cursor: toggle debug for cursor mode
|
||||||
dirs: display directories
|
dirs: display directories
|
||||||
hdata: display infos about hdata (with free: remove all hdata in memory)
|
hdata: display infos about hdata (with free: remove all hdata in memory)
|
||||||
hooks: display infos about hooks
|
|
||||||
infolists: display infos about infolists
|
infolists: display infos about infolists
|
||||||
libs: display infos about external libraries used
|
libs: display infos about external libraries used
|
||||||
certs: display number of loaded trusted certificate authorities
|
|
||||||
memory: display infos about memory usage
|
memory: display infos about memory usage
|
||||||
mouse: toggle debug for mouse
|
mouse: toggle debug for mouse
|
||||||
tags: display tags for lines
|
tags: display tags for lines
|
||||||
@@ -1408,28 +1415,30 @@ Some variables are replaced in expression, using the format ${variable}, variabl
|
|||||||
3. an evaluated sub-string (format: "eval:xxx")
|
3. an evaluated sub-string (format: "eval:xxx")
|
||||||
4. an evaluated condition (format: "eval_cond:xxx")
|
4. an evaluated condition (format: "eval_cond:xxx")
|
||||||
5. a string with escaped chars (format: "esc:xxx" or "\xxx")
|
5. a string with escaped chars (format: "esc:xxx" or "\xxx")
|
||||||
6. a string with chars to hide (format: "hide:char,string")
|
6. a string converted to lower case (format: "lower:xxx")
|
||||||
7. a string with max chars (format: "cut:max,suffix,string" or "cut:+max,suffix,string")
|
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")
|
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")
|
10. a reversed string (format: "rev:xxx" or "revscr:xxx")
|
||||||
9. a repeated string (format: "repeat:count,string")
|
11. a repeated string (format: "repeat:count,string")
|
||||||
10. length of a string (format: "length:xxx" or "lengthscr:xxx")
|
12. length of a string (format: "length:xxx" or "lengthscr:xxx")
|
||||||
11. split of a string (format: "split:number,separators,flags,xxx")
|
13. split of a string (format: "split:number,separators,flags,xxx")
|
||||||
12. split of shell argmuents (format: "split_shell:number,xxx")
|
14. split of shell argmuents (format: "split_shell:number,xxx")
|
||||||
13. a color (format: "color:xxx", see "Plugin API reference", function "color")
|
15. a color (format: "color:xxx", see "Plugin API reference", function "color")
|
||||||
14. a modifier (format: "modifier:name,data,string")
|
16. a modifier (format: "modifier:name,data,string")
|
||||||
15. an info (format: "info:name,arguments", arguments are optional)
|
17. 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")
|
18. 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")
|
19. current date/time (format: "date" or "date:format")
|
||||||
18. an environment variable (format: "env:XXX")
|
20. an environment variable (format: "env:XXX")
|
||||||
19. a ternary operator (format: "if:condition?value_if_true:value_if_false")
|
21. a ternary operator (format: "if:condition?value_if_true:value_if_false")
|
||||||
20. result of an expression with parentheses and operators + - * / // % ** (format: "calc:xxx")
|
22. result of an expression with parentheses and operators + - * / // % ** (format: "calc:xxx")
|
||||||
21. a random integer number (format: "random:min,max")
|
23. a random integer number (format: "random:min,max")
|
||||||
22. a translated string (format: "translate:xxx")
|
24. a translated string (format: "translate:xxx")
|
||||||
23. define a user variable (format: "define:name,value")
|
25. define a user variable (format: "define:name,value")
|
||||||
24. an option (format: "file.section.option")
|
26. an option (format: "file.section.option")
|
||||||
25. a local variable in buffer
|
27. 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.
|
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:
|
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.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:
|
hdata[list].var1.var2...: start with a hdata using a list/pointer/pointer name, for example:
|
||||||
@@ -1452,6 +1461,8 @@ Examples (simple strings):
|
|||||||
/eval -n ${window.buffer.full_name} ==> core.weechat
|
/eval -n ${window.buffer.full_name} ==> core.weechat
|
||||||
/eval -n ${window.buffer.number} ==> 1
|
/eval -n ${window.buffer.number} ==> 1
|
||||||
/eval -n ${\t} ==> <tab>
|
/eval -n ${\t} ==> <tab>
|
||||||
|
/eval -n ${lower:TEST} ==> test
|
||||||
|
/eval -n ${upper:test} ==> TEST
|
||||||
/eval -n ${hide:-,${relay.network.password}} ==> --------
|
/eval -n ${hide:-,${relay.network.password}} ==> --------
|
||||||
/eval -n ${cut:3,+,test} ==> tes+
|
/eval -n ${cut:3,+,test} ==> tes+
|
||||||
/eval -n ${cut:+3,+,test} ==> te+
|
/eval -n ${cut:+3,+,test} ==> te+
|
||||||
@@ -1497,7 +1508,7 @@ Examples (conditions):
|
|||||||
add|addreplace <name> <buffer>[,<buffer>...] <tags> <regex>
|
add|addreplace <name> <buffer>[,<buffer>...] <tags> <regex>
|
||||||
rename <name> <new_name>
|
rename <name> <new_name>
|
||||||
recreate <name>
|
recreate <name>
|
||||||
del <name>|-all
|
del <name>|-all [<name>...]
|
||||||
|
|
||||||
list: list all filters
|
list: list all filters
|
||||||
enable: enable filters (filters are enabled by default)
|
enable: enable filters (filters are enabled by default)
|
||||||
@@ -1603,6 +1614,7 @@ list of actions:
|
|||||||
delete_previous_char: delete previous char
|
delete_previous_char: delete previous char
|
||||||
delete_next_char: delete next char
|
delete_next_char: delete next char
|
||||||
delete_previous_word: delete previous word
|
delete_previous_word: delete previous word
|
||||||
|
delete_previous_word_whitespace: delete previous word (until whitespace)
|
||||||
delete_next_word: delete next word
|
delete_next_word: delete next word
|
||||||
delete_beginning_of_line: delete from beginning of line until cursor
|
delete_beginning_of_line: delete from beginning of line until cursor
|
||||||
delete_end_of_line: delete from cursor until end of line
|
delete_end_of_line: delete from cursor until end of line
|
||||||
@@ -1646,6 +1658,49 @@ list of actions:
|
|||||||
This command is used by key bindings or plugins.
|
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]]
|
[[command_weechat_key]]
|
||||||
* `+key+`: bind/unbind keys
|
* `+key+`: bind/unbind keys
|
||||||
|
|
||||||
@@ -2068,19 +2123,22 @@ Examples:
|
|||||||
----
|
----
|
||||||
|
|
||||||
[[command_weechat_upgrade]]
|
[[command_weechat_upgrade]]
|
||||||
* `+upgrade+`: reload the WeeChat binary without disconnecting from servers
|
* `+upgrade+`: save WeeChat session and reload the WeeChat binary without disconnecting from servers
|
||||||
|
|
||||||
----
|
----
|
||||||
/upgrade [-yes] [<path_to_binary>|-quit]
|
/upgrade [-yes] [<path_to_binary>|-save|-quit]
|
||||||
|
|
||||||
-yes: required if option "weechat.look.confirm_upgrade" is enabled
|
-yes: required if option "weechat.look.confirm_upgrade" is enabled
|
||||||
path_to_binary: path to WeeChat binary (default is current binary)
|
path_to_binary: path to WeeChat binary (default is current binary)
|
||||||
-dummy: do nothing (option used to prevent accidental completion with "-quit")
|
-dummy: do nothing (option used to prevent accidental completion with "-quit")
|
||||||
|
-save: only save the session, do not quit nor reload WeeChat; the configuration files are not saved (if needed you can use /save before this command)
|
||||||
-quit: close *ALL* connections, save session and quit WeeChat, which makes possible a delayed restoration (see below)
|
-quit: close *ALL* connections, save session and quit WeeChat, which makes possible a delayed restoration (see below)
|
||||||
|
|
||||||
This command upgrades and reloads a running WeeChat session. The new WeeChat binary must have been compiled or installed with a package manager before running this command.
|
This command upgrades and reloads a running WeeChat session. The new WeeChat binary must have been compiled or installed with a package manager before running this command.
|
||||||
|
|
||||||
Note: SSL connections are lost during upgrade, because reload of SSL sessions is currently not possible with GnuTLS. There is automatic reconnection after upgrade.
|
Note: SSL connections are lost during upgrade (except with -save), because the reload of SSL sessions is currently not possible with GnuTLS. There is automatic reconnection after upgrade.
|
||||||
|
|
||||||
|
Important: use of option -save can be dangerous, it is recommended to use only /upgrade (or with -quit) for a standard upgrade and a restart; the option -save can be used to save the session regularly and restore it in case of after abnormal exit (power outage, crash, etc.)
|
||||||
|
|
||||||
Upgrade process has 4 steps:
|
Upgrade process has 4 steps:
|
||||||
1. save session into files for core and plugins (buffers, history, ..)
|
1. save session into files for core and plugins (buffers, history, ..)
|
||||||
@@ -2088,14 +2146,18 @@ Upgrade process has 4 steps:
|
|||||||
3. save WeeChat configuration (weechat.conf)
|
3. save WeeChat configuration (weechat.conf)
|
||||||
4. execute new WeeChat binary and reload session.
|
4. execute new WeeChat binary and reload session.
|
||||||
|
|
||||||
With option "-quit", the process is slightly different:
|
With option "-quit", the process is:
|
||||||
1. close *ALL* connections (irc, xfer, relay, ...)
|
1. close *ALL* connections (irc, xfer, relay, ...)
|
||||||
2. save session into files (*.upgrade)
|
2. save session into files (*.upgrade)
|
||||||
3. unload all plugins
|
3. unload all plugins
|
||||||
4. save WeeChat configuration
|
4. save WeeChat configuration
|
||||||
5. quit WeeChat
|
5. quit WeeChat
|
||||||
Then later you can restore session with command: weechat --upgrade
|
|
||||||
IMPORTANT: you must restore the session with exactly same configuration (files *.conf).
|
With option "-save", the process is:
|
||||||
|
1. save session into files (*.upgrade) with a disconnected state for IRC servers and Relay clients (but no disconnection is made)
|
||||||
|
|
||||||
|
With -quit or -save, you can restore the session later with this command: weechat --upgrade
|
||||||
|
IMPORTANT: you must restore the session with exactly same configuration (files *.conf) and if possible the same WeeChat version (or a more recent one).
|
||||||
It is possible to restore WeeChat session on another machine if you copy the content of WeeChat home directories (see /debug dirs).
|
It is possible to restore WeeChat session on another machine if you copy the content of WeeChat home directories (see /debug dirs).
|
||||||
----
|
----
|
||||||
|
|
||||||
@@ -2280,6 +2342,7 @@ The following variables can be used in these options:
|
|||||||
- ${format_hotlist}: the formatted hotlist (evaluation of option buflist.format.hotlist)
|
- ${format_hotlist}: the formatted hotlist (evaluation of option buflist.format.hotlist)
|
||||||
- ${hotlist}: the raw hotlist
|
- ${hotlist}: the raw hotlist
|
||||||
- ${hotlist_priority}: "none", "low", "message", "private" or "highlight"
|
- ${hotlist_priority}: "none", "low", "message", "private" or "highlight"
|
||||||
|
- ${hotlist_priority_number}: -1 = none, 0 = low, 1 = message, 2 = private, 3 = highlight
|
||||||
- ${format_lag}: the lag for an IRC server buffer, empty if there's no lag (evaluation of option buflist.format.lag)
|
- ${format_lag}: the lag for an IRC server buffer, empty if there's no lag (evaluation of option buflist.format.lag)
|
||||||
- ${format_tls_version}: indicator of TLS version for a server buffer, empty for channels (evaluation of option buflist.format.tls_version)
|
- ${format_tls_version}: indicator of TLS version for a server buffer, empty for channels (evaluation of option buflist.format.tls_version)
|
||||||
----
|
----
|
||||||
@@ -2846,7 +2909,7 @@ protocol.name: protocol and name to relay:
|
|||||||
- protocol "weechat" (name is not used)
|
- protocol "weechat" (name is not used)
|
||||||
|
|
||||||
The "irc" protocol allows any IRC client (including WeeChat itself) to connect on the port.
|
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.
|
Without argument, this command opens buffer with list of relay clients.
|
||||||
|
|
||||||
@@ -3001,7 +3064,7 @@ Examples:
|
|||||||
----
|
----
|
||||||
/spell enable|disable|toggle
|
/spell enable|disable|toggle
|
||||||
listdict
|
listdict
|
||||||
setdict <dict>[,<dict>...]
|
setdict -|<dict>[,<dict>...]
|
||||||
deldict
|
deldict
|
||||||
addword [<dict>] <word>
|
addword [<dict>] <word>
|
||||||
|
|
||||||
@@ -3009,7 +3072,7 @@ Examples:
|
|||||||
disable: disable spell checker
|
disable: disable spell checker
|
||||||
toggle: toggle spell checker
|
toggle: toggle spell checker
|
||||||
listdict: show installed dictionaries
|
listdict: show installed dictionaries
|
||||||
setdict: set dictionary for current buffer (multiple dictionaries can be separated by a comma)
|
setdict: set dictionary for current buffer (multiple dictionaries can be separated by a comma, the special value "-" disables spell checking on current buffer)
|
||||||
deldict: delete dictionary used on current buffer
|
deldict: delete dictionary used on current buffer
|
||||||
addword: add a word in personal dictionary
|
addword: add a word in personal dictionary
|
||||||
|
|
||||||
@@ -3138,6 +3201,8 @@ Examples (you can also look at default triggers with /trigger listdefault):
|
|||||||
/trigger add resize_big signal signal_sigwinch "${info:term_width} >= 100" "" "/bar show nicklist"
|
/trigger add resize_big signal signal_sigwinch "${info:term_width} >= 100" "" "/bar show nicklist"
|
||||||
silently save config each hour:
|
silently save config each hour:
|
||||||
/trigger add cfgsave timer 3600000;0;0 "" "" "/mute /save"
|
/trigger add cfgsave timer 3600000;0;0 "" "" "/mute /save"
|
||||||
|
silently save WeeChat session at midnight (see /help upgrade):
|
||||||
|
/trigger add session_save signal day_changed "" "" "/mute /upgrade -save"
|
||||||
open trigger monitor and show only modifiers and triggers whose name starts with "resize":
|
open trigger monitor and show only modifiers and triggers whose name starts with "resize":
|
||||||
/trigger monitor @modifier,resize*
|
/trigger monitor @modifier,resize*
|
||||||
----
|
----
|
||||||
|
|||||||
@@ -750,6 +750,12 @@
|
|||||||
** values: any string
|
** values: any string
|
||||||
** default value: `+""+`
|
** default value: `+""+`
|
||||||
|
|
||||||
|
* [[option_weechat.look.highlight_disable_regex]] *weechat.look.highlight_disable_regex*
|
||||||
|
** description: pass:none[POSIX extended regular expression used to prevent any highlight from a message: this option has higher priority over other highlight options (if the string is found in the message, the highlight is disabled and the other options are ignored), regular expression is case insensitive (use "(?-i)" at beginning to make it case sensitive), examples: "<flash.*>", "(?-i)<Flash.*>"]
|
||||||
|
** type: string
|
||||||
|
** values: any string
|
||||||
|
** default value: `+""+`
|
||||||
|
|
||||||
* [[option_weechat.look.highlight_regex]] *weechat.look.highlight_regex*
|
* [[option_weechat.look.highlight_regex]] *weechat.look.highlight_regex*
|
||||||
** description: pass:none[POSIX extended regular expression used to check if a message has highlight or not, at least one match in string must be surrounded by delimiters (chars different from: alphanumeric, "-", "_" and "|"), regular expression is case insensitive (use "(?-i)" at beginning to make it case sensitive), examples: "flashcode|flashy", "(?-i)FlashCode|flashy"]
|
** description: pass:none[POSIX extended regular expression used to check if a message has highlight or not, at least one match in string must be surrounded by delimiters (chars different from: alphanumeric, "-", "_" and "|"), regular expression is case insensitive (use "(?-i)" at beginning to make it case sensitive), examples: "flashcode|flashy", "(?-i)FlashCode|flashy"]
|
||||||
** type: string
|
** type: string
|
||||||
@@ -1397,7 +1403,7 @@
|
|||||||
** default value: `+default+`
|
** default value: `+default+`
|
||||||
|
|
||||||
* [[option_logger.file.auto_log]] *logger.file.auto_log*
|
* [[option_logger.file.auto_log]] *logger.file.auto_log*
|
||||||
** description: pass:none[automatically save content of buffers to files (unless a buffer disables log)]
|
** description: pass:none[automatically save content of buffers to files (unless a buffer disables log); if disabled, logging is disabled on all buffers]
|
||||||
** type: boolean
|
** type: boolean
|
||||||
** values: on, off
|
** values: on, off
|
||||||
** default value: `+on+`
|
** default value: `+on+`
|
||||||
@@ -1462,6 +1468,24 @@
|
|||||||
** values: any string
|
** values: any string
|
||||||
** default value: `+"_"+`
|
** default value: `+"_"+`
|
||||||
|
|
||||||
|
* [[option_logger.file.rotation_compression_level]] *logger.file.rotation_compression_level*
|
||||||
|
** description: pass:none[compression level for rotated log files (with extension ".1", ".2", etc.), if option logger.file.rotation_compression_type is enabled: 1 = low compression / fast ... 100 = best compression / slow; the value is a percentage converted to 1-9 for gzip and 1-19 for zstd; the default value is recommended, it offers a good compromise between compression and speed]
|
||||||
|
** type: integer
|
||||||
|
** values: 1 .. 100
|
||||||
|
** default value: `+20+`
|
||||||
|
|
||||||
|
* [[option_logger.file.rotation_compression_type]] *logger.file.rotation_compression_type*
|
||||||
|
** description: pass:none[compression type for rotated log files; if set to "none", rotated log files are not compressed; WARNING: if rotation was enabled with another type of compression (or no compression), you must first unload the logger plugin, compress files with the new type (or decompress files), then change the option in logger.conf, then load the logger plugin]
|
||||||
|
** type: integer
|
||||||
|
** values: none, gzip, zstd
|
||||||
|
** default value: `+none+`
|
||||||
|
|
||||||
|
* [[option_logger.file.rotation_size_max]] *logger.file.rotation_size_max*
|
||||||
|
** description: pass:none[when this size is reached, a rotation of log files is performed: the existing rotated log files are renamed (.1 becomes .2, .2 becomes .3, etc.) and the current file is renamed with extension .1; an integer number with a suffix is allowed: b = bytes (default if no unit given), k = kilobytes, m = megabytes, g = gigabytes, t = terabytes; example: "2g" causes a rotation if the file size is > 2,000,000,000 bytes; if set to "0", no rotation is performed (unlimited log size); WARNING: before changing this option, you should first set the compression type via option logger.file.rotation_compression_type]
|
||||||
|
** type: string
|
||||||
|
** values: any string
|
||||||
|
** default value: `+"0"+`
|
||||||
|
|
||||||
* [[option_logger.file.time_format]] *logger.file.time_format*
|
* [[option_logger.file.time_format]] *logger.file.time_format*
|
||||||
** description: pass:none[timestamp used in log files (see man strftime for date/time specifiers)]
|
** description: pass:none[timestamp used in log files (see man strftime for date/time specifiers)]
|
||||||
** type: string
|
** type: string
|
||||||
@@ -1544,6 +1568,12 @@
|
|||||||
** values: a WeeChat color name (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), a terminal color number or an alias; attributes are allowed before color (for text color only, not background): "*" for bold, "!" for reverse, "/" for italic, "_" for underline
|
** values: a WeeChat color name (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), a terminal color number or an alias; attributes are allowed before color (for text color only, not background): "*" for bold, "!" for reverse, "/" for italic, "_" for underline
|
||||||
** default value: `+lightmagenta+`
|
** default value: `+lightmagenta+`
|
||||||
|
|
||||||
|
* [[option_trigger.color.identifier]] *trigger.color.identifier*
|
||||||
|
** description: pass:none[text color for trigger context identifier in monitor buffer]
|
||||||
|
** type: color
|
||||||
|
** values: a WeeChat color name (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), a terminal color number or an alias; attributes are allowed before color (for text color only, not background): "*" for bold, "!" for reverse, "/" for italic, "_" for underline
|
||||||
|
** default value: `+cyan+`
|
||||||
|
|
||||||
* [[option_trigger.color.regex]] *trigger.color.regex*
|
* [[option_trigger.color.regex]] *trigger.color.regex*
|
||||||
** description: pass:none[text color for regular expressions]
|
** description: pass:none[text color for regular expressions]
|
||||||
** type: color
|
** type: color
|
||||||
@@ -1771,7 +1801,7 @@
|
|||||||
** default value: `+"${buffer.hidden}==0"+`
|
** default value: `+"${buffer.hidden}==0"+`
|
||||||
|
|
||||||
* [[option_buflist.look.enabled]] *buflist.look.enabled*
|
* [[option_buflist.look.enabled]] *buflist.look.enabled*
|
||||||
** description: pass:none[enable buflist]
|
** description: pass:none[enable buflist; it is recommended to use this option instead of just hiding the bar because it also removes some internal hooks that are not needed any more when the bar is hidden; you can also use the command "/buflist toggle" or use the default key alt+shift+b]
|
||||||
** type: boolean
|
** type: boolean
|
||||||
** values: on, off
|
** values: on, off
|
||||||
** default value: `+on+`
|
** default value: `+on+`
|
||||||
@@ -2127,7 +2157,7 @@
|
|||||||
** default value: `+cyan+`
|
** default value: `+cyan+`
|
||||||
|
|
||||||
* [[option_irc.color.message_chghost]] *irc.color.message_chghost*
|
* [[option_irc.color.message_chghost]] *irc.color.message_chghost*
|
||||||
** description: pass:none[color for text in chghost messages]
|
** description: pass:none[color for text in "chghost" messages]
|
||||||
** type: color
|
** type: color
|
||||||
** values: a WeeChat color name (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), a terminal color number or an alias; attributes are allowed before color (for text color only, not background): "*" for bold, "!" for reverse, "/" for italic, "_" for underline
|
** values: a WeeChat color name (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), a terminal color number or an alias; attributes are allowed before color (for text color only, not background): "*" for bold, "!" for reverse, "/" for italic, "_" for underline
|
||||||
** default value: `+brown+`
|
** default value: `+brown+`
|
||||||
@@ -2150,6 +2180,12 @@
|
|||||||
** values: a WeeChat color name (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), a terminal color number or an alias; attributes are allowed before color (for text color only, not background): "*" for bold, "!" for reverse, "/" for italic, "_" for underline
|
** values: a WeeChat color name (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), a terminal color number or an alias; attributes are allowed before color (for text color only, not background): "*" for bold, "!" for reverse, "/" for italic, "_" for underline
|
||||||
** default value: `+red+`
|
** default value: `+red+`
|
||||||
|
|
||||||
|
* [[option_irc.color.message_setname]] *irc.color.message_setname*
|
||||||
|
** description: pass:none[color for text in "setname" messages]
|
||||||
|
** type: color
|
||||||
|
** values: a WeeChat color name (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), a terminal color number or an alias; attributes are allowed before color (for text color only, not background): "*" for bold, "!" for reverse, "/" for italic, "_" for underline
|
||||||
|
** default value: `+brown+`
|
||||||
|
|
||||||
* [[option_irc.color.mirc_remap]] *irc.color.mirc_remap*
|
* [[option_irc.color.mirc_remap]] *irc.color.mirc_remap*
|
||||||
** description: pass:none[remap mirc colors in messages using a hashtable: keys are "fg,bg" as integers between -1 (not specified) and 15, values are WeeChat color names or numbers (format is: "1,-1:color1;2,7:color2"), example: "1,-1:darkgray;1,2:white,blue" to remap black to "darkgray" and black on blue to "white,blue"; default WeeChat colors for IRC codes: 0=white, 1=black, 2=blue, 3=green, 4=lightred, 5=red, 6=magenta, 7=brown, 8=yellow, 9=lightgreen, 10=cyan, 11=lightcyan, 12=lightblue, 13=lightmagenta, 14=darkgray, 15=gray]
|
** description: pass:none[remap mirc colors in messages using a hashtable: keys are "fg,bg" as integers between -1 (not specified) and 15, values are WeeChat color names or numbers (format is: "1,-1:color1;2,7:color2"), example: "1,-1:darkgray;1,2:white,blue" to remap black to "darkgray" and black on blue to "white,blue"; default WeeChat colors for IRC codes: 0=white, 1=black, 2=blue, 3=green, 4=lightred, 5=red, 6=magenta, 7=brown, 8=yellow, 9=lightgreen, 10=cyan, 11=lightcyan, 12=lightblue, 13=lightmagenta, 14=darkgray, 15=gray]
|
||||||
** type: string
|
** type: string
|
||||||
@@ -2330,6 +2366,12 @@
|
|||||||
** values: on, off
|
** values: on, off
|
||||||
** default value: `+on+`
|
** default value: `+on+`
|
||||||
|
|
||||||
|
* [[option_irc.look.display_pv_nick_change]] *irc.look.display_pv_nick_change*
|
||||||
|
** description: pass:none[display nick change in private]
|
||||||
|
** type: boolean
|
||||||
|
** values: on, off
|
||||||
|
** default value: `+on+`
|
||||||
|
|
||||||
* [[option_irc.look.display_pv_warning_address]] *irc.look.display_pv_warning_address*
|
* [[option_irc.look.display_pv_warning_address]] *irc.look.display_pv_warning_address*
|
||||||
** description: pass:none[display a warning in private buffer if the address of remote nick has changed; this option is disabled by default because servers like bitlbee are causing this warning to be displayed when it is not expected (the address of remote nick changes multiple times on login)]
|
** description: pass:none[display a warning in private buffer if the address of remote nick has changed; this option is disabled by default because servers like bitlbee are causing this warning to be displayed when it is not expected (the address of remote nick changes multiple times on login)]
|
||||||
** type: boolean
|
** type: boolean
|
||||||
@@ -2546,6 +2588,12 @@
|
|||||||
** values: on, off
|
** values: on, off
|
||||||
** default value: `+on+`
|
** default value: `+on+`
|
||||||
|
|
||||||
|
* [[option_irc.look.smart_filter_setname]] *irc.look.smart_filter_setname*
|
||||||
|
** description: pass:none[enable smart filter for "setname" messages]
|
||||||
|
** type: boolean
|
||||||
|
** values: on, off
|
||||||
|
** default value: `+on+`
|
||||||
|
|
||||||
* [[option_irc.look.temporary_servers]] *irc.look.temporary_servers*
|
* [[option_irc.look.temporary_servers]] *irc.look.temporary_servers*
|
||||||
** description: pass:none[enable automatic addition of temporary servers with command /connect]
|
** description: pass:none[enable automatic addition of temporary servers with command /connect]
|
||||||
** type: boolean
|
** type: boolean
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
// tag::plugin_options[]
|
// tag::plugin_options[]
|
||||||
For complete doc on plugin options, please look at plugins documentation in
|
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:
|
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
|
== 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
|
== 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/
|
||||||
|
|||||||
+75
-69
@@ -10,8 +10,8 @@
|
|||||||
|
|
||||||
This manual documents WeeChat chat client, it is part of WeeChat.
|
This manual documents WeeChat chat client, it is part of WeeChat.
|
||||||
|
|
||||||
Latest version of this document can be found on this page:
|
Latest version of this document can be found on
|
||||||
https://weechat.org/doc
|
https://weechat.org/doc/[this page ^↗^,window=_blank].
|
||||||
|
|
||||||
|
|
||||||
[[introduction]]
|
[[introduction]]
|
||||||
@@ -31,8 +31,8 @@ This manual documents WeeChat internals:
|
|||||||
[[repositories]]
|
[[repositories]]
|
||||||
== Repositories
|
== Repositories
|
||||||
|
|
||||||
WeeChat repositories are on GitHub organization "weechat":
|
WeeChat repositories are on GitHub organization
|
||||||
https://github.com/weechat
|
https://github.com/weechat[weechat ^↗^,window=_blank].
|
||||||
|
|
||||||
List of repositories:
|
List of repositories:
|
||||||
|
|
||||||
@@ -43,7 +43,7 @@ scripts::
|
|||||||
the _official_ scripts submitted on weechat.org
|
the _official_ scripts submitted on weechat.org
|
||||||
|
|
||||||
weechat.org::
|
weechat.org::
|
||||||
source of WeeChat website: https://weechat.org/
|
source of https://weechat.org/[WeeChat website ^↗^,window=_blank]
|
||||||
|
|
||||||
weercd::
|
weercd::
|
||||||
IRC testing server
|
IRC testing server
|
||||||
@@ -422,9 +422,12 @@ WeeChat "core" is located in following directories:
|
|||||||
| test-core-utf8.cpp | Tests: UTF-8.
|
| test-core-utf8.cpp | Tests: UTF-8.
|
||||||
| test-core-util.cpp | Tests: utility functions.
|
| test-core-util.cpp | Tests: utility functions.
|
||||||
| gui/ | Root of unit tests for interfaces.
|
| 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-buffer.cpp | Tests: buffer functions.
|
||||||
| test-gui-chat.cpp | Tests: chat functions.
|
| test-gui-chat.cpp | Tests: chat functions.
|
||||||
| test-gui-color.cpp | Tests: colors.
|
| test-gui-color.cpp | Tests: colors.
|
||||||
|
| test-gui-filter.cpp | Tests: filters.
|
||||||
|
| test-gui-input.cpp | Tests: input functions.
|
||||||
| test-gui-line.cpp | Tests: lines.
|
| test-gui-line.cpp | Tests: lines.
|
||||||
| test-gui-nick.cpp | Tests: nicks.
|
| test-gui-nick.cpp | Tests: nicks.
|
||||||
| plugins/ | Root of unit tests for plugins.
|
| plugins/ | Root of unit tests for plugins.
|
||||||
@@ -452,6 +455,9 @@ WeeChat "core" is located in following directories:
|
|||||||
| test-typing-status.cpp | Tests: typing status.
|
| test-typing-status.cpp | Tests: typing status.
|
||||||
| relay/ | Root of unit tests for Relay plugin.
|
| relay/ | Root of unit tests for Relay plugin.
|
||||||
| test-relay-auth.cpp | Tests: clients authentication.
|
| test-relay-auth.cpp | Tests: clients authentication.
|
||||||
|
| xfer/ | Root of unit tests for Xfer plugin.
|
||||||
|
| test-xfer-file.cpp | Tests: file functions.
|
||||||
|
| test-xfer-network.cpp | Tests: network functions.
|
||||||
|===
|
|===
|
||||||
|
|
||||||
[[documentation_translations]]
|
[[documentation_translations]]
|
||||||
@@ -467,13 +473,13 @@ Documentation files:
|
|||||||
| docgen.py | Python script to build auto-generated files in _includes/_ directory (see below).
|
| docgen.py | Python script to build auto-generated files in _includes/_ directory (see below).
|
||||||
| XX/ | Documentation for language XX (languages: en, fr, de, it, ...).
|
| XX/ | Documentation for language XX (languages: en, fr, de, it, ...).
|
||||||
| weechat.1.XX.adoc | Man page (`man weechat`).
|
| weechat.1.XX.adoc | Man page (`man weechat`).
|
||||||
| weechat_dev.XX.adoc | link:weechat_dev.en.html[Developer's guide] (this document).
|
| 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].
|
| 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].
|
| 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].
|
| 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] (for remote interfaces).
|
| 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].
|
| 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].
|
| weechat_user.XX.adoc | link:weechat_user.en.html[User's guide ^↗^,window=_blank].
|
||||||
| includes/ | Files included in documentation.
|
| includes/ | Files included in documentation.
|
||||||
| autogen_api_completions.XX.adoc | Auto-generated file for Plugin API reference: completions (do *NEVER* update manually!).
|
| 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!).
|
| autogen_api_hdata.XX.adoc | Auto-generated file for Plugin API reference: hdata (do *NEVER* update manually!).
|
||||||
@@ -738,7 +744,7 @@ new_hook_fd = malloc (sizeof (*new_hook_fd));
|
|||||||
[[coding_python_style]]
|
[[coding_python_style]]
|
||||||
=== 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]]
|
||||||
== Core internals
|
== Core internals
|
||||||
@@ -939,10 +945,10 @@ All combinations are summarized in this table:
|
|||||||
| [hex]#19# + `B` + `EXT` | [hex]#19# `+B@00124+` | chat + bars | Set background (extended color).
|
| [hex]#19# + `B` + `EXT` | [hex]#19# `+B@00124+` | chat + bars | Set background (extended color).
|
||||||
| [hex]#19# + `*` + `(ATTR)STD` | [hex]#19# `+*05+` | chat + bars | Set foreground (WeeChat color).
|
| [hex]#19# + `*` + `(ATTR)STD` | [hex]#19# `+*05+` | chat + bars | Set foreground (WeeChat color).
|
||||||
| [hex]#19# + `*` + `(ATTR)EXT` | [hex]#19# `+*@00214+` | chat + bars | Set foreground (extended color).
|
| [hex]#19# + `*` + `(ATTR)EXT` | [hex]#19# `+*@00214+` | chat + bars | Set foreground (extended color).
|
||||||
| [hex]#19# + `*` + `(ATTR)STD` + `,` + `STD` ^(1)^ | [hex]#19# `+*08,05+` | chat + bars | Set foreground/background (WeeChat colors).
|
| [hex]#19# + `*` + `(ATTR)STD` + `,` + `STD` ^(1)^ | [hex]#19# `+*08,05+` | chat + bars | Set foreground/background (WeeChat colors).
|
||||||
| [hex]#19# + `*` + `(ATTR)STD` + `,` + `EXT` ^(1)^ | [hex]#19# `+*01,@00214+` | chat + bars | Set foreground (WeeChat color) and background (extended color).
|
| [hex]#19# + `*` + `(ATTR)STD` + `,` + `EXT` ^(1)^ | [hex]#19# `+*01,@00214+` | chat + bars | Set foreground (WeeChat color) and background (extended color).
|
||||||
| [hex]#19# + `*` + `(ATTR)EXT` + `,` + `STD` ^(1)^ | [hex]#19# `+*@00214,05+` | chat + bars | Set foreground (extended color) and background (WeeChat color).
|
| [hex]#19# + `*` + `(ATTR)EXT` + `,` + `STD` ^(1)^ | [hex]#19# `+*@00214,05+` | chat + bars | Set foreground (extended color) and background (WeeChat color).
|
||||||
| [hex]#19# + `*` + `(ATTR)EXT` + `,` + `EXT` ^(1)^ | [hex]#19# `+*@00214,@00017+` | chat + bars | Set foreground/background (extended colors).
|
| [hex]#19# + `*` + `(ATTR)EXT` + `,` + `EXT` ^(1)^ | [hex]#19# `+*@00214,@00017+` | chat + bars | Set foreground/background (extended colors).
|
||||||
| [hex]#19# + `*` + `(ATTR)STD` + `~` + `STD` | [hex]#19# `+*08~05+` | chat + bars | Set foreground/background (WeeChat colors).
|
| [hex]#19# + `*` + `(ATTR)STD` + `~` + `STD` | [hex]#19# `+*08~05+` | chat + bars | Set foreground/background (WeeChat colors).
|
||||||
| [hex]#19# + `*` + `(ATTR)STD` + `~` + `EXT` | [hex]#19# `+*01~@00214+` | chat + bars | Set foreground (WeeChat color) and background (extended color).
|
| [hex]#19# + `*` + `(ATTR)STD` + `~` + `EXT` | [hex]#19# `+*01~@00214+` | chat + bars | Set foreground (WeeChat color) and background (extended color).
|
||||||
| [hex]#19# + `*` + `(ATTR)EXT` + `~` + `STD` | [hex]#19# `+*@00214~05+` | chat + bars | Set foreground (extended color) and background (WeeChat color).
|
| [hex]#19# + `*` + `(ATTR)EXT` + `~` + `STD` | [hex]#19# `+*@00214~05+` | chat + bars | Set foreground (extended color) and background (WeeChat color).
|
||||||
@@ -1114,7 +1120,7 @@ server->hook_timer_sasl = weechat_hook_timer (timeout * 1000,
|
|||||||
[[git_repository]]
|
[[git_repository]]
|
||||||
=== 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
|
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
|
is a GitHub pull request. A patch can also be sent by e-mail
|
||||||
@@ -1132,8 +1138,8 @@ Where _component_ is one of following:
|
|||||||
|===
|
|===
|
||||||
| Component | Files | Description
|
| Component | Files | Description
|
||||||
|
|
||||||
| core |
|
| core
|
||||||
AUTHORS.adoc +
|
| AUTHORS.adoc +
|
||||||
ChangeLog.adoc +
|
ChangeLog.adoc +
|
||||||
Contributing.adoc +
|
Contributing.adoc +
|
||||||
.github/FUNDING.yml +
|
.github/FUNDING.yml +
|
||||||
@@ -1145,76 +1151,76 @@ Where _component_ is one of following:
|
|||||||
src/core/* +
|
src/core/* +
|
||||||
src/gui/* +
|
src/gui/* +
|
||||||
version.sh +
|
version.sh +
|
||||||
weechat.desktop |
|
weechat.desktop
|
||||||
WeeChat core
|
| WeeChat core
|
||||||
|
|
||||||
| build |
|
| build
|
||||||
autogen.sh +
|
| autogen.sh +
|
||||||
CMakeLists.txt +
|
CMakeLists.txt +
|
||||||
cmake/* +
|
cmake/* +
|
||||||
configure.ac +
|
configure.ac +
|
||||||
Makefile.am +
|
Makefile.am +
|
||||||
tools/* +
|
tools/* +
|
||||||
weechat.cygport.in +
|
weechat.cygport.in +
|
||||||
weechat.spec |
|
weechat.spec
|
||||||
Build
|
| Build
|
||||||
|
|
||||||
| ci |
|
| ci
|
||||||
.github/workflows/* |
|
| .github/workflows/*
|
||||||
Continuous integration
|
| Continuous integration
|
||||||
|
|
||||||
| debian |
|
| debian
|
||||||
debian-devel/* +
|
| debian-devel/* +
|
||||||
debian-stable/* |
|
debian-stable/*
|
||||||
Debian packaging
|
| Debian packaging
|
||||||
|
|
||||||
| tests |
|
| tests
|
||||||
tests/* |
|
| tests/*
|
||||||
Tests
|
| Tests
|
||||||
|
|
||||||
| doc |
|
| doc
|
||||||
doc/* |
|
| doc/*
|
||||||
General doc updates, for example build
|
| General doc updates, for example build
|
||||||
|
|
||||||
| doc/man |
|
| doc/man
|
||||||
doc/xx/weechat.1.xx.adoc +
|
| doc/xx/weechat.1.xx.adoc +
|
||||||
doc/xx/weechat-headless.1.xx.adoc |
|
doc/xx/weechat-headless.1.xx.adoc
|
||||||
Man pages
|
| Man pages
|
||||||
|
|
||||||
| doc/faq |
|
| doc/faq
|
||||||
doc/xx/weechat_faq.xx.adoc |
|
| doc/xx/weechat_faq.xx.adoc
|
||||||
Frequently asked questions (FAQ)
|
| Frequently asked questions (FAQ)
|
||||||
|
|
||||||
| doc/quickstart |
|
| doc/quickstart
|
||||||
doc/xx/weechat_quickstart.xx.adoc |
|
| doc/xx/weechat_quickstart.xx.adoc
|
||||||
Quickstart guide
|
| Quickstart guide
|
||||||
|
|
||||||
| doc/user |
|
| doc/user
|
||||||
doc/xx/weechat_user.xx.adoc |
|
| doc/xx/weechat_user.xx.adoc
|
||||||
User's guide
|
| User's guide
|
||||||
|
|
||||||
| doc/scripting |
|
| doc/scripting
|
||||||
doc/xx/weechat_scripting.xx.adoc |
|
| doc/xx/weechat_scripting.xx.adoc
|
||||||
Scripting guide
|
| Scripting guide
|
||||||
|
|
||||||
| doc/api |
|
| doc/api
|
||||||
doc/xx/weechat_plugin_api.xx.adoc |
|
| doc/xx/weechat_plugin_api.xx.adoc
|
||||||
Plugin API reference
|
| Plugin API reference
|
||||||
|
|
||||||
| doc/relay |
|
| doc/relay
|
||||||
doc/xx/weechat_relay_protocol.xx.adoc |
|
| doc/xx/weechat_relay_protocol.xx.adoc
|
||||||
Relay protocol
|
| Relay protocol
|
||||||
|
|
||||||
| doc/dev |
|
| doc/dev
|
||||||
doc/xx/weechat_dev.en.adoc |
|
| doc/xx/weechat_dev.en.adoc
|
||||||
Developer's guide
|
| Developer's guide
|
||||||
|
|
||||||
| irc +
|
| irc +
|
||||||
python +
|
python +
|
||||||
relay +
|
relay +
|
||||||
… |
|
…
|
||||||
src/plugins/<name>/* |
|
| src/plugins/<name>/*
|
||||||
Plugin
|
| Plugin
|
||||||
|
|
||||||
|===
|
|===
|
||||||
|
|
||||||
@@ -1264,8 +1270,8 @@ $ make translations && make update-po
|
|||||||
|
|
||||||
Then you can edit .po files (if you can translate in a language).
|
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_
|
When done, you *have* to check your file with
|
||||||
(https://github.com/flashcode/msgcheck):
|
https://github.com/flashcode/msgcheck[msgcheck ^↗^,window=_blank]:
|
||||||
|
|
||||||
----
|
----
|
||||||
$ msgcheck.py xx.po
|
$ msgcheck.py xx.po
|
||||||
|
|||||||
+54
-37
@@ -32,7 +32,8 @@ apply to WeeChat!).
|
|||||||
|
|
||||||
Because WeeChat is very light and brings innovating features.
|
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]]
|
||||||
== Compilation / install
|
== Compilation / install
|
||||||
@@ -40,16 +41,17 @@ More info on the WeeChat features page: https://weechat.org/about/features
|
|||||||
[[gui]]
|
[[gui]]
|
||||||
=== I've heard about many GUIs for WeeChat. How can I compile/use them?
|
=== I've heard about many GUIs for WeeChat. How can I compile/use them?
|
||||||
|
|
||||||
Some remote GUIs are available, see the remote interfaces page:
|
Some remote GUIs are available, see the
|
||||||
https://weechat.org/about/interfaces
|
https://weechat.org/about/interfaces/[remote interfaces page ^↗^,window=_blank].
|
||||||
|
|
||||||
[[compile_git]]
|
[[compile_git]]
|
||||||
=== I can't compile WeeChat after cloning git repository, why?
|
=== I can't compile WeeChat after cloning git repository, why?
|
||||||
|
|
||||||
The recommended way to compile WeeChat is with
|
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.
|
(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.
|
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]]
|
[[compile_macos]]
|
||||||
=== How can I install WeeChat on 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
|
brew info weechat
|
||||||
@@ -76,12 +79,12 @@ brew install weechat
|
|||||||
=== I've launched WeeChat, but I'm lost, what can I do?
|
=== 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`.
|
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#key_bindings[Keys ^↗^,window=_blank] and
|
||||||
link:weechat_user.en.html#commands_and_options[commands] are listed
|
link:weechat_user.en.html#commands_and_options[commands ^↗^,window=_blank]
|
||||||
in documentation.
|
are listed in documentation.
|
||||||
|
|
||||||
It's recommended for new users to read the
|
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]]
|
||||||
== 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
|
** If you are using screen, check that it is run with UTF-8 mode
|
||||||
("`defutf8 on`" in ~/.screenrc or `screen -U` to run screen).
|
("`defutf8 on`" in ~/.screenrc or `screen -U` to run screen).
|
||||||
* Check that option
|
* 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).
|
is off (this option may cause display bugs).
|
||||||
|
|
||||||
[NOTE]
|
[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).
|
in glibc 2.22 (maybe not yet available in your distribution).
|
||||||
|
|
||||||
There is a workaround to use the fixed _wcwidth_ function:
|
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:
|
See this https://github.com/weechat/weechat/issues/79[bug report ^↗^,window=_blank]
|
||||||
https://github.com/weechat/weechat/issues/79
|
for more information.
|
||||||
|
|
||||||
[[bars_background]]
|
[[bars_background]]
|
||||||
=== Bars like title and status are not filled, background color stops after text, why?
|
=== Bars like title and status are not filled, background color stops after text, why?
|
||||||
@@ -184,7 +187,8 @@ windows.
|
|||||||
[[buffers_list]]
|
[[buffers_list]]
|
||||||
=== How to display the buffers list on the left side?
|
=== 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.
|
is loaded and enabled by default.
|
||||||
|
|
||||||
With an older version, you can install script _buffers.pl_:
|
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 buflist plugin provides lot of options that you can customize, please read
|
||||||
the help on each option.
|
the help on each option.
|
||||||
|
|
||||||
There's also a wiki page with examples of advanced buflist configuration:
|
There's also a https://github.com/weechat/weechat/wiki/buflist[wiki page ^↗^,window=_blank]
|
||||||
https://github.com/weechat/weechat/wiki/buflist
|
with examples of advanced buflist configuration.
|
||||||
|
|
||||||
[[customize_prefix]]
|
[[customize_prefix]]
|
||||||
=== How can I reduce length of nicks or remove nick alignment in chat area?
|
=== 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). +
|
(buffers) and __weechat.color.status_count_*__ (counters). +
|
||||||
Other hotlist options can be changed with the options __weechat.look.hotlist_*__.
|
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
|
See link:weechat_user.en.html#screen_layout[User's guide / Screen layout ^↗^,window=_blank]
|
||||||
more info about the hotlist.
|
for more info about the hotlist.
|
||||||
|
|
||||||
[[input_bar_size]]
|
[[input_bar_size]]
|
||||||
=== How to use command line with more than one line?
|
=== 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
|
For versions ≥ 0.3.5, you can use any color number in options (optional: you
|
||||||
can add color aliases with command `/color`).
|
can add color aliases with command `/color`).
|
||||||
|
|
||||||
Please read the link:weechat_user.en.html#colors[User's guide / Colors] for more
|
Please read the link:weechat_user.en.html#colors[User's guide / Colors ^↗^,window=_blank]
|
||||||
information about colors management.
|
for more information about colors management.
|
||||||
|
|
||||||
[[search_text]]
|
[[search_text]]
|
||||||
=== How can I search text in buffer (like /lastlog in irssi)?
|
=== 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+`).
|
The default key is kbd:[Ctrl+r] (command is: `+/input search_text_here+`).
|
||||||
And jump to highlights: kbd:[Alt+p] / kbd:[Alt+n].
|
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
|
See link:weechat_user.en.html#key_bindings[User's guide / Key bindings ^↗^,window=_blank]
|
||||||
info about this feature.
|
for more info about this feature.
|
||||||
|
|
||||||
[[terminal_focus]]
|
[[terminal_focus]]
|
||||||
=== How can I execute commands when terminal gets/loses 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
|
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
|
To jump to buffers with number ≥ 100, you could define a trigger and then use
|
||||||
commands like `/123` to jump to buffer #123:
|
commands like `/123` to jump to buffer #123:
|
||||||
@@ -835,17 +839,30 @@ join and part in the "autojoin" server option.
|
|||||||
For all servers:
|
For all servers:
|
||||||
|
|
||||||
----
|
----
|
||||||
/set irc.server_default.autojoin_record on
|
/set irc.server_default.autojoin_dynamic on
|
||||||
----
|
----
|
||||||
|
|
||||||
For a single server:
|
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,
|
With WeeChat ≥ 3.5, you can also add the current channel in the "autojoin"
|
||||||
for example for the "libera" server:
|
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]
|
/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
|
/fset autojoin
|
||||||
----
|
----
|
||||||
|
|
||||||
Another solution is to use a script:
|
With WeeChat ≤ 3.4, another solution is to use a script:
|
||||||
|
|
||||||
----
|
----
|
||||||
/script search autojoin
|
/script search autojoin
|
||||||
@@ -902,7 +919,7 @@ With a global filter (hide *all* join/part/quit):
|
|||||||
|
|
||||||
[NOTE]
|
[NOTE]
|
||||||
For help: `/help filter`, `+/help irc.look.smart_filter+` and see
|
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]]
|
[[filter_irc_join_channel_messages]]
|
||||||
=== How can I filter some messages displayed when I join an IRC channel?
|
=== 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?
|
=== How can I disable highlights for specific nicks?
|
||||||
|
|
||||||
With WeeChat ≥ 0.3.4 you can use the
|
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,
|
buffer property to set the max hotlist level for some nicks, per buffer,
|
||||||
or per group of buffers (like IRC servers).
|
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
|
Define a passphrase and use secured data wherever you can for sensitive data
|
||||||
like passwords: see `/help secure` and `/help` on options
|
like passwords: see `/help secure` and `/help` on options
|
||||||
(if you can use secured data, it is written in the help).
|
(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:
|
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
|
Some other files may contain sensitive info like passwords (if they are not
|
||||||
stored in _sec.conf_ with the `/secure` command).
|
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.
|
for more information about configuration files.
|
||||||
|
|
||||||
[[development]]
|
[[development]]
|
||||||
@@ -1233,7 +1250,7 @@ for more information about configuration files.
|
|||||||
[[bug_task_patch]]
|
[[bug_task_patch]]
|
||||||
=== How should I report bugs, ask for new features or send patches?
|
=== 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]]
|
[[gdb_error_threads]]
|
||||||
=== When I run WeeChat under gdb, there is an error about threads, what can I do?
|
=== 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.)
|
There are many tasks to do (testing, code, documentation, etc.)
|
||||||
|
|
||||||
Please contact us via IRC or mail, look at support page:
|
Please contact us via IRC or mail, look at
|
||||||
https://weechat.org/about/support
|
https://weechat.org/about/support/[support page ^↗^,window=_blank].
|
||||||
|
|
||||||
[[donate]]
|
[[donate]]
|
||||||
=== Can I give money or other things to WeeChat developers?
|
=== Can I give money or other things to WeeChat developers?
|
||||||
|
|
||||||
You can give us money to help development.
|
You can give us money to help development.
|
||||||
Details on https://weechat.org/donate
|
Details on https://weechat.org/donate/[donation page ^↗^,window=_blank].
|
||||||
|
|||||||
+1346
-1162
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"
|
/set irc.server.libera.autojoin "#channel1,#channel2"
|
||||||
----
|
----
|
||||||
|
|
||||||
[TIP]
|
The `/autojoin` command lets you configure the _autojoin_ option easily
|
||||||
You can complete name and value of options with the kbd:[Tab] key
|
(see `/help autojoin`).
|
||||||
and kbd:[Shift+Tab] for a partial completion (useful for long words like
|
|
||||||
the name of option).
|
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,
|
To remove a value of a server option, and use the default value instead,
|
||||||
for example to use default nicks (irc.server_default.nicks):
|
for example to use default nicks (irc.server_default.nicks):
|
||||||
@@ -213,6 +218,11 @@ option name):
|
|||||||
/set irc.server.libera.xxx value
|
/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]]
|
||||||
== Connect to IRC server
|
== Connect to IRC server
|
||||||
|
|
||||||
@@ -370,13 +380,14 @@ for example:
|
|||||||
|
|
||||||
See `/help script` for more info.
|
See `/help script` for more info.
|
||||||
|
|
||||||
A list of scripts is available in WeeChat with `/script` or at this URL:
|
A list of scripts is available in WeeChat with `/script` or on
|
||||||
https://weechat.org/scripts
|
https://weechat.org/scripts/[this page ^↗^,window=_blank].
|
||||||
|
|
||||||
[[more_doc]]
|
[[more_doc]]
|
||||||
== More documentation
|
== More documentation
|
||||||
|
|
||||||
You can now use WeeChat and read FAQ/documentation for any other questions:
|
You can now use WeeChat and read
|
||||||
https://weechat.org/doc
|
https://weechat.org/doc/[FAQ/documentation ^↗^,window=_blank]
|
||||||
|
for any other questions.
|
||||||
|
|
||||||
Enjoy using WeeChat!
|
Enjoy using WeeChat!
|
||||||
|
|||||||
@@ -132,9 +132,9 @@ Arguments:
|
|||||||
if compression is enabled, messages from _relay_ to client are compressed
|
if compression is enabled, messages from _relay_ to client are compressed
|
||||||
to save bandwidth; allowed values are:
|
to save bandwidth; allowed values are:
|
||||||
*** _off_: no compression (default if option is not given)
|
*** _off_: no compression (default if option is not given)
|
||||||
*** _zlib_: compress with https://zlib.net/[zlib] _(WeeChat ≥ 0.3.7)_
|
*** _zlib_: compress with https://zlib.net/[zlib ^↗^,window=_blank] _(WeeChat ≥ 0.3.7)_
|
||||||
*** _zstd_: compress with https://facebook.github.io/zstd/[Zstandard]: better
|
*** _zstd_: compress with https://facebook.github.io/zstd/[Zstandard ^↗^,window=_blank]:
|
||||||
compression and much faster than _zlib_ for both compression and decompression
|
better compression and much faster than _zlib_ for both compression and decompression
|
||||||
_(WeeChat ≥ 3.5)_
|
_(WeeChat ≥ 3.5)_
|
||||||
|
|
||||||
Notes about option _password_hash_algo_:
|
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)
|
in the password hash algorithm)
|
||||||
* _compression_: compression type:
|
* _compression_: compression type:
|
||||||
** _off_: messages are not compressed
|
** _off_: messages are not compressed
|
||||||
** _zlib_: messages are compressed with https://zlib.net/[zlib]
|
** _zlib_: messages are compressed with https://zlib.net/[zlib ^↗^,window=_blank]
|
||||||
** _zstd_: messages are compressed with https://facebook.github.io/zstd/[Zstandard]
|
** _zstd_: messages are compressed with https://facebook.github.io/zstd/[Zstandard ^↗^,window=_blank]
|
||||||
|
|
||||||
[TIP]
|
[TIP]
|
||||||
With WeeChat ≤ 2.8, the command _handshake_ is not implemented, WeeChat silently
|
With WeeChat ≤ 2.8, the command _handshake_ is not implemented, WeeChat silently
|
||||||
@@ -278,7 +278,7 @@ htb: {
|
|||||||
[[command_init]]
|
[[command_init]]
|
||||||
=== 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_.
|
Authenticate with _relay_.
|
||||||
|
|
||||||
@@ -691,6 +691,8 @@ inl:
|
|||||||
text_search_found: 0
|
text_search_found: 0
|
||||||
text_search_input: None
|
text_search_input: None
|
||||||
highlight_words: None
|
highlight_words: None
|
||||||
|
highlight_disable_regex: None
|
||||||
|
highlight_disable_regex_compiled: '0x0'
|
||||||
highlight_regex: None
|
highlight_regex: None
|
||||||
highlight_regex_compiled: '0x0'
|
highlight_regex_compiled: '0x0'
|
||||||
highlight_tags_restrict: None
|
highlight_tags_restrict: None
|
||||||
@@ -1380,8 +1382,8 @@ Messages are sent as binary data, using following format (with size in bytes):
|
|||||||
(including this field)
|
(including this field)
|
||||||
* _compression_ (byte): flag:
|
* _compression_ (byte): flag:
|
||||||
** _0x00_: following data is not compressed
|
** _0x00_: following data is not compressed
|
||||||
** _0x01_: following data is compressed with https://zlib.net/[zlib]
|
** _0x01_: following data is compressed with https://zlib.net/[zlib ^↗^,window=_blank]
|
||||||
** _0x02_: following data is compressed with https://facebook.github.io/zstd/[Zstandard]
|
** _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
|
* _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
|
empty (string with zero length and no content) if no identifier was given in
|
||||||
command
|
command
|
||||||
@@ -1392,7 +1394,8 @@ Messages are sent as binary data, using following format (with size in bytes):
|
|||||||
=== Compression
|
=== Compression
|
||||||
|
|
||||||
If flag _compression_ is equal to 0x01 or 0x02, then *all* data after is compressed
|
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.
|
and therefore must be uncompressed before being processed.
|
||||||
|
|
||||||
[[message_identifier]]
|
[[message_identifier]]
|
||||||
@@ -1408,68 +1411,68 @@ WeeChat reserved identifiers:
|
|||||||
|
|
||||||
[width="100%",cols="5m,5,3,4,7",options="header"]
|
[width="100%",cols="5m,5,3,4,7",options="header"]
|
||||||
|===
|
|===
|
||||||
| Identifier | Received with _sync_ | Data sent |
|
| Identifier | Received with _sync_ | Data sent
|
||||||
Description | Recommended action in client
|
| Description | Recommended action in client
|
||||||
|
|
||||||
| _buffer_opened | buffers / buffer | hdata: buffer |
|
| _buffer_opened | buffers / buffer | hdata: buffer
|
||||||
Buffer opened. | Open buffer.
|
| Buffer opened. | Open buffer.
|
||||||
|
|
||||||
| _buffer_type_changed | buffers / buffer | hdata: buffer |
|
| _buffer_type_changed | buffers / buffer | hdata: buffer
|
||||||
Type of buffer changed. | Change type of buffer.
|
| Type of buffer changed. | Change type of buffer.
|
||||||
|
|
||||||
| _buffer_moved | buffers / buffer | hdata: buffer |
|
| _buffer_moved | buffers / buffer | hdata: buffer
|
||||||
Buffer moved. | Move buffer.
|
| Buffer moved. | Move buffer.
|
||||||
|
|
||||||
| _buffer_merged | buffers / buffer | hdata: buffer |
|
| _buffer_merged | buffers / buffer | hdata: buffer
|
||||||
Buffer merged. | Merge buffer.
|
| Buffer merged. | Merge buffer.
|
||||||
|
|
||||||
| _buffer_unmerged | buffers / buffer | hdata: buffer |
|
| _buffer_unmerged | buffers / buffer | hdata: buffer
|
||||||
Buffer unmerged. | Unmerge buffer.
|
| Buffer unmerged. | Unmerge buffer.
|
||||||
|
|
||||||
| _buffer_hidden | buffers / buffer | hdata: buffer |
|
| _buffer_hidden | buffers / buffer | hdata: buffer
|
||||||
Buffer hidden. | Hide buffer.
|
| Buffer hidden. | Hide buffer.
|
||||||
|
|
||||||
| _buffer_unhidden | buffers / buffer | hdata: buffer |
|
| _buffer_unhidden | buffers / buffer | hdata: buffer
|
||||||
Buffer unhidden. | Unhide buffer.
|
| Buffer unhidden. | Unhide buffer.
|
||||||
|
|
||||||
| _buffer_renamed | buffers / buffer | hdata: buffer |
|
| _buffer_renamed | buffers / buffer | hdata: buffer
|
||||||
Buffer renamed. | Rename buffer.
|
| Buffer renamed. | Rename buffer.
|
||||||
|
|
||||||
| _buffer_title_changed | buffers / buffer | hdata: buffer |
|
| _buffer_title_changed | buffers / buffer | hdata: buffer
|
||||||
Title of buffer changed. | Change title of buffer.
|
| Title of buffer changed. | Change title of buffer.
|
||||||
|
|
||||||
| _buffer_localvar_added | buffers / buffer | hdata: buffer |
|
| _buffer_localvar_added | buffers / buffer | hdata: buffer
|
||||||
Local variable added. | Add local variable in buffer.
|
| Local variable added. | Add local variable in buffer.
|
||||||
|
|
||||||
| _buffer_localvar_changed | buffers / buffer | hdata: buffer |
|
| _buffer_localvar_changed | buffers / buffer | hdata: buffer
|
||||||
Local variable changed. | Change local variable in buffer.
|
| Local variable changed. | Change local variable in buffer.
|
||||||
|
|
||||||
| _buffer_localvar_removed | buffers / buffer | hdata: buffer |
|
| _buffer_localvar_removed | buffers / buffer | hdata: buffer
|
||||||
Local variable removed. | Remove local variable from buffer.
|
| Local variable removed. | Remove local variable from buffer.
|
||||||
|
|
||||||
| _buffer_closing | buffers / buffer | hdata: buffer |
|
| _buffer_closing | buffers / buffer | hdata: buffer
|
||||||
Buffer closing. | Close buffer.
|
| Buffer closing. | Close buffer.
|
||||||
|
|
||||||
| _buffer_cleared | buffer | hdata: buffer |
|
| _buffer_cleared | buffer | hdata: buffer
|
||||||
Buffer cleared. | Clear buffer.
|
| Buffer cleared. | Clear buffer.
|
||||||
|
|
||||||
| _buffer_line_added | buffer | hdata: line |
|
| _buffer_line_added | buffer | hdata: line
|
||||||
Line added in buffer. | Display line in buffer.
|
| Line added in buffer. | Display line in buffer.
|
||||||
|
|
||||||
| _nicklist | nicklist | hdata: nicklist_item |
|
| _nicklist | nicklist | hdata: nicklist_item
|
||||||
Nicklist for a buffer. | Replace nicklist.
|
| Nicklist for a buffer. | Replace nicklist.
|
||||||
|
|
||||||
| _nicklist_diff | nicklist | hdata: nicklist_item |
|
| _nicklist_diff | nicklist | hdata: nicklist_item
|
||||||
Nicklist diffs for a buffer . | Update nicklist.
|
| Nicklist diffs for a buffer . | Update nicklist.
|
||||||
|
|
||||||
| _pong | (always) | string: ping arguments |
|
| _pong | (always) | string: ping arguments
|
||||||
Answer to a "ping". | Measure response time.
|
| Answer to a "ping". | Measure response time.
|
||||||
|
|
||||||
| _upgrade | upgrade | (empty) |
|
| _upgrade | upgrade | (empty)
|
||||||
WeeChat is upgrading. | Desync from WeeChat (or disconnect).
|
| WeeChat is upgrading. | Desync from WeeChat (or disconnect).
|
||||||
|
|
||||||
| _upgrade_ended | upgrade | (empty) |
|
| _upgrade_ended | upgrade | (empty)
|
||||||
Upgrade of WeeChat done. | Sync/resync with WeeChat.
|
| Upgrade of WeeChat done. | Sync/resync with WeeChat.
|
||||||
|===
|
|===
|
||||||
|
|
||||||
[[message_buffer_opened]]
|
[[message_buffer_opened]]
|
||||||
|
|||||||
+134
-121
@@ -11,8 +11,8 @@
|
|||||||
|
|
||||||
This manual documents WeeChat chat client, it is part of WeeChat.
|
This manual documents WeeChat chat client, it is part of WeeChat.
|
||||||
|
|
||||||
Latest version of this document can be found on this page:
|
Latest version of this document can be found on
|
||||||
https://weechat.org/doc
|
https://weechat.org/doc/[this page ^↗^,window=_blank].
|
||||||
|
|
||||||
|
|
||||||
[[introduction]]
|
[[introduction]]
|
||||||
@@ -61,7 +61,7 @@ function, this can crash WeeChat. +
|
|||||||
If something must be run in background, the function `+hook_process+` can be used.
|
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>>
|
See example in the chapter <<hook_process,Run a background process>>
|
||||||
and the documentation on the function `+hook_process+` in the
|
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]]
|
||||||
=== 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`. +
|
WeeChat defines a `weechat` module which must be imported with `import weechat`. +
|
||||||
A Python stub for WeeChat API is available in the repository:
|
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]]
|
[[python_functions]]
|
||||||
===== Functions
|
===== Functions
|
||||||
@@ -99,38 +99,38 @@ receive a string of type `str` or `bytes` (this list is not exhaustive):
|
|||||||
|===
|
|===
|
||||||
| API function | Arguments | Examples | Description
|
| API function | Arguments | Examples | Description
|
||||||
|
|
||||||
| hook_modifier |
|
| hook_modifier
|
||||||
irc_in_yyy |
|
| irc_in_yyy
|
||||||
pass:[irc_in_privmsg] +
|
| pass:[irc_in_privmsg] +
|
||||||
pass:[irc_in_notice] |
|
pass:[irc_in_notice]
|
||||||
A message received in IRC plugin, before it is decoded to UTF-8 (used
|
| A message received in IRC plugin, before it is decoded to UTF-8 (used
|
||||||
internally). +
|
internally). +
|
||||||
+
|
+
|
||||||
It is recommended to use modifier `+irc_in2_yyy+` instead, the string received
|
It is recommended to use modifier `+irc_in2_yyy+` instead, the string received
|
||||||
is always UTF-8 valid. +
|
is always UTF-8 valid. +
|
||||||
See function `+hook_modifier+` in the
|
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 |
|
| hook_signal
|
||||||
xxx,irc_out_yyy +
|
| xxx,irc_out_yyy +
|
||||||
xxx,irc_outtags_yyy |
|
xxx,irc_outtags_yyy
|
||||||
pass:[*,irc_out_privmsg] +
|
| pass:[*,irc_out_privmsg] +
|
||||||
pass:[*,irc_out_notice] +
|
pass:[*,irc_out_notice] +
|
||||||
pass:[*,irc_outtags_privmsg] +
|
pass:[*,irc_outtags_privmsg] +
|
||||||
pass:[*,irc_outtags_notice] |
|
pass:[*,irc_outtags_notice]
|
||||||
A message sent by IRC plugin, after it is encoded to the `encode` charset
|
| 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`). +
|
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
|
It is recommended to use signal `+xxx,irc_out1_yyy+` instead, the string received
|
||||||
is always UTF-8 valid. +
|
is always UTF-8 valid. +
|
||||||
See function `+hook_signal+` in the
|
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 +
|
||||||
hook_process_hashtable |
|
hook_process_hashtable
|
||||||
- |
|
| -
|
||||||
- |
|
| -
|
||||||
Output of the command, sent to the callback, can contain invalid UTF-8 data.
|
| 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
|
== Differences with C API
|
||||||
|
|
||||||
Script API is almost the same as C plugin 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.
|
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
|
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
|
== Script API
|
||||||
|
|
||||||
For more information about functions in API, please read the
|
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]]
|
[[script_api_functions]]
|
||||||
=== Functions
|
=== Functions
|
||||||
@@ -554,14 +554,14 @@ List of functions in script API:
|
|||||||
|===
|
|===
|
||||||
| Category | Functions
|
| Category | Functions
|
||||||
|
|
||||||
| general |
|
| general
|
||||||
register
|
| register
|
||||||
|
|
||||||
| plugins |
|
| plugins
|
||||||
plugin_get_name
|
| plugin_get_name
|
||||||
|
|
||||||
| strings |
|
| strings
|
||||||
charset_set +
|
| charset_set +
|
||||||
iconv_to_internal +
|
iconv_to_internal +
|
||||||
iconv_from_internal +
|
iconv_from_internal +
|
||||||
gettext +
|
gettext +
|
||||||
@@ -573,6 +573,7 @@ List of functions in script API:
|
|||||||
string_has_highlight_regex +
|
string_has_highlight_regex +
|
||||||
string_mask_to_regex +
|
string_mask_to_regex +
|
||||||
string_format_size +
|
string_format_size +
|
||||||
|
string_parse_size +
|
||||||
string_color_code_size +
|
string_color_code_size +
|
||||||
string_remove_color +
|
string_remove_color +
|
||||||
string_is_command_char +
|
string_is_command_char +
|
||||||
@@ -580,13 +581,13 @@ List of functions in script API:
|
|||||||
string_eval_expression +
|
string_eval_expression +
|
||||||
string_eval_path_home
|
string_eval_path_home
|
||||||
|
|
||||||
| directories |
|
| directories
|
||||||
mkdir_home +
|
| mkdir_home +
|
||||||
mkdir +
|
mkdir +
|
||||||
mkdir_parents
|
mkdir_parents
|
||||||
|
|
||||||
| sorted lists |
|
| sorted lists
|
||||||
list_new +
|
| list_new +
|
||||||
list_add +
|
list_add +
|
||||||
list_search +
|
list_search +
|
||||||
list_search_pos +
|
list_search_pos +
|
||||||
@@ -602,8 +603,8 @@ List of functions in script API:
|
|||||||
list_remove_all +
|
list_remove_all +
|
||||||
list_free
|
list_free
|
||||||
|
|
||||||
| configuration files |
|
| configuration files
|
||||||
config_new +
|
| config_new +
|
||||||
config_new_section +
|
config_new_section +
|
||||||
config_search_section +
|
config_search_section +
|
||||||
config_new_option +
|
config_new_option +
|
||||||
@@ -640,12 +641,12 @@ List of functions in script API:
|
|||||||
config_set_desc_plugin +
|
config_set_desc_plugin +
|
||||||
config_unset_plugin
|
config_unset_plugin
|
||||||
|
|
||||||
| key bindings |
|
| key bindings
|
||||||
key_bind +
|
| key_bind +
|
||||||
key_unbind
|
key_unbind
|
||||||
|
|
||||||
| display |
|
| display
|
||||||
prefix +
|
| prefix +
|
||||||
color +
|
color +
|
||||||
print (for python: prnt) +
|
print (for python: prnt) +
|
||||||
print_date_tags (for python: prnt_date_tags) +
|
print_date_tags (for python: prnt_date_tags) +
|
||||||
@@ -653,8 +654,8 @@ List of functions in script API:
|
|||||||
print_y_date_tags (for python: prnt_y_date_tags) +
|
print_y_date_tags (for python: prnt_y_date_tags) +
|
||||||
log_print
|
log_print
|
||||||
|
|
||||||
| hooks |
|
| hooks
|
||||||
hook_command +
|
| hook_command +
|
||||||
hook_command_run +
|
hook_command_run +
|
||||||
hook_timer +
|
hook_timer +
|
||||||
hook_fd +
|
hook_fd +
|
||||||
@@ -679,8 +680,8 @@ List of functions in script API:
|
|||||||
unhook +
|
unhook +
|
||||||
unhook_all
|
unhook_all
|
||||||
|
|
||||||
| buffers |
|
| buffers
|
||||||
buffer_new +
|
| buffer_new +
|
||||||
buffer_new_props +
|
buffer_new_props +
|
||||||
current_buffer +
|
current_buffer +
|
||||||
buffer_search +
|
buffer_search +
|
||||||
@@ -696,16 +697,16 @@ List of functions in script API:
|
|||||||
buffer_string_replace_local_var +
|
buffer_string_replace_local_var +
|
||||||
buffer_match_list
|
buffer_match_list
|
||||||
|
|
||||||
| windows |
|
| windows
|
||||||
current_window +
|
| current_window +
|
||||||
window_search_with_buffer +
|
window_search_with_buffer +
|
||||||
window_get_integer +
|
window_get_integer +
|
||||||
window_get_string +
|
window_get_string +
|
||||||
window_get_pointer +
|
window_get_pointer +
|
||||||
window_set_title
|
window_set_title
|
||||||
|
|
||||||
| nicklist |
|
| nicklist
|
||||||
nicklist_add_group +
|
| nicklist_add_group +
|
||||||
nicklist_search_group +
|
nicklist_search_group +
|
||||||
nicklist_add_nick +
|
nicklist_add_nick +
|
||||||
nicklist_search_nick +
|
nicklist_search_nick +
|
||||||
@@ -721,8 +722,8 @@ List of functions in script API:
|
|||||||
nicklist_nick_get_pointer +
|
nicklist_nick_get_pointer +
|
||||||
nicklist_nick_set
|
nicklist_nick_set
|
||||||
|
|
||||||
| bars |
|
| bars
|
||||||
bar_item_search +
|
| bar_item_search +
|
||||||
bar_item_new +
|
bar_item_new +
|
||||||
bar_item_update +
|
bar_item_update +
|
||||||
bar_item_remove +
|
bar_item_remove +
|
||||||
@@ -732,23 +733,23 @@ List of functions in script API:
|
|||||||
bar_update +
|
bar_update +
|
||||||
bar_remove
|
bar_remove
|
||||||
|
|
||||||
| commands |
|
| commands
|
||||||
command +
|
| command +
|
||||||
command_options
|
command_options
|
||||||
|
|
||||||
| completion |
|
| completion
|
||||||
completion_new +
|
| completion_new +
|
||||||
completion_search +
|
completion_search +
|
||||||
completion_get_string +
|
completion_get_string +
|
||||||
completion_list_add +
|
completion_list_add +
|
||||||
completion_free
|
completion_free
|
||||||
|
|
||||||
| infos |
|
| infos
|
||||||
info_get +
|
| info_get +
|
||||||
info_get_hashtable
|
info_get_hashtable
|
||||||
|
|
||||||
| infolists |
|
| infolists
|
||||||
infolist_new +
|
| infolist_new +
|
||||||
infolist_new_item +
|
infolist_new_item +
|
||||||
infolist_new_var_integer +
|
infolist_new_var_integer +
|
||||||
infolist_new_var_string +
|
infolist_new_var_string +
|
||||||
@@ -766,8 +767,8 @@ List of functions in script API:
|
|||||||
infolist_time +
|
infolist_time +
|
||||||
infolist_free
|
infolist_free
|
||||||
|
|
||||||
| hdata |
|
| hdata
|
||||||
hdata_get +
|
| hdata_get +
|
||||||
hdata_get_var_offset +
|
hdata_get_var_offset +
|
||||||
hdata_get_var_type_string +
|
hdata_get_var_type_string +
|
||||||
hdata_get_var_array_size +
|
hdata_get_var_array_size +
|
||||||
@@ -788,8 +789,8 @@ List of functions in script API:
|
|||||||
hdata_update +
|
hdata_update +
|
||||||
hdata_get_string
|
hdata_get_string
|
||||||
|
|
||||||
| upgrade |
|
| upgrade
|
||||||
upgrade_new +
|
| upgrade_new +
|
||||||
upgrade_write_object +
|
upgrade_write_object +
|
||||||
upgrade_read +
|
upgrade_read +
|
||||||
upgrade_close
|
upgrade_close
|
||||||
@@ -804,13 +805,13 @@ List of constants in script API:
|
|||||||
|===
|
|===
|
||||||
| Category | Constants
|
| Category | Constants
|
||||||
|
|
||||||
| return codes |
|
| return codes
|
||||||
`WEECHAT_RC_OK` (integer) +
|
| `WEECHAT_RC_OK` (integer) +
|
||||||
`WEECHAT_RC_OK_EAT` (integer) +
|
`WEECHAT_RC_OK_EAT` (integer) +
|
||||||
`WEECHAT_RC_ERROR` (integer)
|
`WEECHAT_RC_ERROR` (integer)
|
||||||
|
|
||||||
| configuration files |
|
| configuration files
|
||||||
`WEECHAT_CONFIG_READ_OK` (integer) +
|
| `WEECHAT_CONFIG_READ_OK` (integer) +
|
||||||
`WEECHAT_CONFIG_READ_MEMORY_ERROR` (integer) +
|
`WEECHAT_CONFIG_READ_MEMORY_ERROR` (integer) +
|
||||||
`WEECHAT_CONFIG_READ_FILE_NOT_FOUND` (integer) +
|
`WEECHAT_CONFIG_READ_FILE_NOT_FOUND` (integer) +
|
||||||
`WEECHAT_CONFIG_WRITE_OK` (integer) +
|
`WEECHAT_CONFIG_WRITE_OK` (integer) +
|
||||||
@@ -825,23 +826,23 @@ List of constants in script API:
|
|||||||
`WEECHAT_CONFIG_OPTION_UNSET_OK_REMOVED` (integer) +
|
`WEECHAT_CONFIG_OPTION_UNSET_OK_REMOVED` (integer) +
|
||||||
`WEECHAT_CONFIG_OPTION_UNSET_ERROR` (integer)
|
`WEECHAT_CONFIG_OPTION_UNSET_ERROR` (integer)
|
||||||
|
|
||||||
| sorted lists |
|
| sorted lists
|
||||||
`WEECHAT_LIST_POS_SORT` (string) +
|
| `WEECHAT_LIST_POS_SORT` (string) +
|
||||||
`WEECHAT_LIST_POS_BEGINNING` (string) +
|
`WEECHAT_LIST_POS_BEGINNING` (string) +
|
||||||
`WEECHAT_LIST_POS_END` (string)
|
`WEECHAT_LIST_POS_END` (string)
|
||||||
|
|
||||||
| hotlist |
|
| hotlist
|
||||||
`WEECHAT_HOTLIST_LOW` (string) +
|
| `WEECHAT_HOTLIST_LOW` (string) +
|
||||||
`WEECHAT_HOTLIST_MESSAGE` (string) +
|
`WEECHAT_HOTLIST_MESSAGE` (string) +
|
||||||
`WEECHAT_HOTLIST_PRIVATE` (string) +
|
`WEECHAT_HOTLIST_PRIVATE` (string) +
|
||||||
`WEECHAT_HOTLIST_HIGHLIGHT` (string)
|
`WEECHAT_HOTLIST_HIGHLIGHT` (string)
|
||||||
|
|
||||||
| hook process |
|
| hook process
|
||||||
`WEECHAT_HOOK_PROCESS_RUNNING` (integer) +
|
| `WEECHAT_HOOK_PROCESS_RUNNING` (integer) +
|
||||||
`WEECHAT_HOOK_PROCESS_ERROR` (integer)
|
`WEECHAT_HOOK_PROCESS_ERROR` (integer)
|
||||||
|
|
||||||
| hook connect |
|
| hook connect
|
||||||
`WEECHAT_HOOK_CONNECT_OK` (integer) +
|
| `WEECHAT_HOOK_CONNECT_OK` (integer) +
|
||||||
`WEECHAT_HOOK_CONNECT_ADDRESS_NOT_FOUND` (integer) +
|
`WEECHAT_HOOK_CONNECT_ADDRESS_NOT_FOUND` (integer) +
|
||||||
`WEECHAT_HOOK_CONNECT_IP_ADDRESS_NOT_FOUND` (integer) +
|
`WEECHAT_HOOK_CONNECT_IP_ADDRESS_NOT_FOUND` (integer) +
|
||||||
`WEECHAT_HOOK_CONNECT_CONNECTION_REFUSED` (integer) +
|
`WEECHAT_HOOK_CONNECT_CONNECTION_REFUSED` (integer) +
|
||||||
@@ -853,8 +854,8 @@ List of constants in script API:
|
|||||||
`WEECHAT_HOOK_CONNECT_TIMEOUT` (integer) +
|
`WEECHAT_HOOK_CONNECT_TIMEOUT` (integer) +
|
||||||
`WEECHAT_HOOK_CONNECT_SOCKET_ERROR` (integer)
|
`WEECHAT_HOOK_CONNECT_SOCKET_ERROR` (integer)
|
||||||
|
|
||||||
| hook signal |
|
| hook signal
|
||||||
`WEECHAT_HOOK_SIGNAL_STRING` (string) +
|
| `WEECHAT_HOOK_SIGNAL_STRING` (string) +
|
||||||
`WEECHAT_HOOK_SIGNAL_INT` (string) +
|
`WEECHAT_HOOK_SIGNAL_INT` (string) +
|
||||||
`WEECHAT_HOOK_SIGNAL_POINTER` (string)
|
`WEECHAT_HOOK_SIGNAL_POINTER` (string)
|
||||||
|===
|
|===
|
||||||
@@ -864,7 +865,7 @@ List of constants in script API:
|
|||||||
|
|
||||||
This chapter shows some common tasks, with examples.
|
This chapter shows some common tasks, with examples.
|
||||||
Only partial things in API are used here, for full reference, see the
|
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]]
|
||||||
=== Buffers
|
=== Buffers
|
||||||
@@ -1133,7 +1134,8 @@ weechat.hook_process("url:https://weechat.org/dev/info/stable/",
|
|||||||
----
|
----
|
||||||
|
|
||||||
[TIP]
|
[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
|
Example of URL transfer with an option: download latest WeeChat development
|
||||||
package in file _/tmp/weechat-devel.tar.gz_:
|
package in file _/tmp/weechat-devel.tar.gz_:
|
||||||
@@ -1152,7 +1154,7 @@ weechat.hook_process_hashtable("url:https://weechat.org/files/src/weechat-devel.
|
|||||||
|
|
||||||
For more information about URL transfer and available options, see functions
|
For more information about URL transfer and available options, see functions
|
||||||
`+hook_process+` and `+hook_process_hashtable+` in
|
`+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]]
|
||||||
=== Config / options
|
=== Config / options
|
||||||
@@ -1306,63 +1308,71 @@ The result is a hashtable with following keys
|
|||||||
|
|
||||||
[width="100%",cols="3,^2,10,7",options="header"]
|
[width="100%",cols="3,^2,10,7",options="header"]
|
||||||
|===
|
|===
|
||||||
| Key | Since WeeChat ^(1)^ | Description | Example
|
| Key | Since WeeChat ^(1)^ | Description | Example
|
||||||
|
|
||||||
| tags | 0.4.0 |
|
| tags | 0.4.0
|
||||||
The tags in message (can be empty). |
|
| The tags in message (can be empty).
|
||||||
`+time=2015-06-27T16:40:35.000Z+`
|
| `+time=2015-06-27T16:40:35.000Z+`
|
||||||
|
|
||||||
| tag_xxx | 3.3 |
|
| tag_xxx | 3.3
|
||||||
Unescaped value of tag "xxx" (one key per tag). |
|
| Unescaped value of tag "xxx" (one key per tag).
|
||||||
`+2015-06-27T16:40:35.000Z+`
|
| `+2015-06-27T16:40:35.000Z+`
|
||||||
|
|
||||||
| message_without_tags | 0.4.0 |
|
| message_without_tags | 0.4.0
|
||||||
The message without the tags (the same as message if there are no tags). |
|
| The message without the tags (the same as message if there are no tags).
|
||||||
`+:nick!user@host PRIVMSG #weechat :hello!+`
|
| `+:nick!user@host PRIVMSG #weechat :hello!+`
|
||||||
|
|
||||||
| nick | 0.3.4 |
|
| nick | 0.3.4
|
||||||
The origin nick. |
|
| The origin nick.
|
||||||
`+nick+`
|
| `+nick+`
|
||||||
|
|
||||||
| user | 2.7 |
|
| user | 2.7
|
||||||
The origin user. |
|
| The origin user.
|
||||||
`+user+`
|
| `+user+`
|
||||||
|
|
||||||
| host | 0.3.4 |
|
| host | 0.3.4
|
||||||
The origin host (includes the nick). |
|
| The origin host (includes the nick).
|
||||||
`+nick!user@host+`
|
| `+nick!user@host+`
|
||||||
|
|
||||||
| command | 0.3.4 |
|
| command | 0.3.4
|
||||||
The command (_PRIVMSG_, _NOTICE_, ...). |
|
| The command (_PRIVMSG_, _NOTICE_, ...).
|
||||||
`+PRIVMSG+`
|
| `+PRIVMSG+`
|
||||||
|
|
||||||
| channel | 0.3.4 |
|
| channel | 0.3.4
|
||||||
The target channel. |
|
| The target channel.
|
||||||
`+#weechat+`
|
| `+#weechat+`
|
||||||
|
|
||||||
| arguments | 0.3.4 |
|
| arguments | 0.3.4
|
||||||
The command arguments (includes the channel). |
|
| The command arguments (includes the channel).
|
||||||
`+#weechat :hello!+`
|
| `+#weechat :hello!+`
|
||||||
|
|
||||||
| text | 1.3 |
|
| text | 1.3
|
||||||
The text (for example user message). |
|
| The text (for example user message).
|
||||||
`+hello!+`
|
| `+hello!+`
|
||||||
|
|
||||||
| pos_command | 1.3 |
|
| paramN | 3.4
|
||||||
The index of _command_ in message ("-1" if _command_ was not found). |
|
| Command parameter (from 1 to N).
|
||||||
`+47+`
|
| `+#weechat+`
|
||||||
|
|
||||||
| pos_arguments | 1.3 |
|
| num_params | 3.4
|
||||||
The index of _arguments_ in message ("-1" if _arguments_ was not found). |
|
| Number of command parameters.
|
||||||
`+55+`
|
| `+2+`
|
||||||
|
|
||||||
| pos_channel | 1.3 |
|
| pos_command | 1.3
|
||||||
The index of _channel_ in message ("-1" if _channel_ was not found). |
|
| The index of _command_ in message ("-1" if _command_ was not found).
|
||||||
`+55+`
|
| `+47+`
|
||||||
|
|
||||||
| pos_text | 1.3 |
|
| pos_arguments | 1.3
|
||||||
The index of _text_ in message ("-1" if _text_ was not found). |
|
| The index of _arguments_ in message ("-1" if _arguments_ was not found).
|
||||||
`+65+`
|
| `+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+`
|
||||||
|===
|
|===
|
||||||
|
|
||||||
[NOTE]
|
[NOTE]
|
||||||
@@ -1386,6 +1396,9 @@ dict = weechat.info_get_hashtable(
|
|||||||
# "channel": "#weechat",
|
# "channel": "#weechat",
|
||||||
# "arguments": "#weechat :hello!",
|
# "arguments": "#weechat :hello!",
|
||||||
# "text": "hello!",
|
# "text": "hello!",
|
||||||
|
# "param1": "#weechat",
|
||||||
|
# "param2": "hello!",
|
||||||
|
# "num_params": "2",
|
||||||
# "pos_command": "65",
|
# "pos_command": "65",
|
||||||
# "pos_arguments": "73",
|
# "pos_arguments": "73",
|
||||||
# "pos_channel": "73",
|
# "pos_channel": "73",
|
||||||
|
|||||||
+807
-360
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.
|
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]]
|
[[compilation_install]]
|
||||||
== Compilación / instalación
|
== Compilación / instalación
|
||||||
@@ -44,16 +46,17 @@ Más información de las funcionalidades de WeeChat en la página: https://weech
|
|||||||
[[gui]]
|
[[gui]]
|
||||||
=== ¿He oido que hay muchas interfaces gráficas de susuario (GUI) para WeeChat. ¿Cómo puedo compilarlas o usarlas?
|
=== ¿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:
|
// TRANSLATION MISSING
|
||||||
https://weechat.org/about/interfaces
|
Some remote GUIs are available, see the
|
||||||
|
https://weechat.org/about/interfaces/[remote interfaces page ^↗^,window=_blank].
|
||||||
|
|
||||||
[[compile_git]]
|
[[compile_git]]
|
||||||
=== No puedo compilar WeeChat después de haber clonado el repositorio git, ¿por qué?
|
=== No puedo compilar WeeChat después de haber clonado el repositorio git, ¿por qué?
|
||||||
|
|
||||||
La manera recomendada para compilar WeeChat es con
|
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.
|
(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.
|
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]]
|
[[compile_macos]]
|
||||||
=== ¿Cómo puedo instalar WeeChat en 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
|
brew info weechat
|
||||||
@@ -80,12 +84,12 @@ brew install weechat
|
|||||||
=== He lanzado WeeChat, pero estoy perdido, ¿qué puedo hacer?
|
=== He lanzado WeeChat, pero estoy perdido, ¿qué puedo hacer?
|
||||||
|
|
||||||
Para consultar la ayuda, escriba `/help`. Para buscar ayuda con un comando, escriba `/help comando`.
|
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#key_bindings[Las teclas ^↗^,window=_blank] y
|
||||||
link:weechat_user.en.html#commands_and_options[comandos] aparecen listados
|
link:weechat_user.en.html#commands_and_options[comandos ^↗^,window=_blank] aparecen listados
|
||||||
en la documentación.
|
en la documentación.
|
||||||
|
|
||||||
Se recomienda a las personas recién llegadas leer la
|
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]]
|
[[display]]
|
||||||
== Visualización
|
== 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
|
** 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).
|
("`defutf8 on`" en ~/.screenrc o `screen -U` al ejecutar screen).
|
||||||
* Compruebe si la opción
|
* 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).
|
está en off (esta opción puede causar errores a la hora de mostrar el texto).
|
||||||
|
|
||||||
[NOTE]
|
[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).
|
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:
|
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:
|
// TRANSLATION MISSING
|
||||||
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_background]]
|
||||||
=== Las barras del título y de estado no aparecen rellenadas, el color de fondo desaparece después del texto, ¿por qué?
|
=== 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]]
|
[[buffers_list]]
|
||||||
=== ¿Cómo mostrar un listado de los buffers en la parte izquierda?
|
=== ¿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.
|
está cargado y habilitado de manera predeterminada.
|
||||||
|
|
||||||
Con versiones anteriores, puede instalar el script _buffers.pl_:
|
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
|
El complemento del listado de buffers _buflist_ ofrece múltiples opciones que puede configurar, por favor lea
|
||||||
la ayuda de cada opción.
|
la ayuda de cada opción.
|
||||||
|
|
||||||
También hay una página wiki con ejemplos de configuraciones más completas:
|
// TRANSLATION MISSING
|
||||||
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]]
|
[[customize_prefix]]
|
||||||
=== ¿Cómo puedo reducir la longitud de los apodos o eliminar la alineación de los apodos en el área del chat?
|
=== ¿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). +
|
(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_*__.
|
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.
|
más información sobre este tema.
|
||||||
|
|
||||||
[[input_bar_size]]
|
[[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
|
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`).
|
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.
|
información sobre la gestión de los colores.
|
||||||
|
|
||||||
[[search_text]]
|
[[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í+`).
|
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].
|
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
|
Vea la link:weechat_user.en.html#key_bindings[Guía del usuario / Atajos de teclado ^↗^,window=_blank]
|
||||||
información sobre esta funcionalidad.
|
para más información sobre esta funcionalidad.
|
||||||
|
|
||||||
[[terminal_focus]]
|
[[terminal_focus]]
|
||||||
=== ¿Cómo puedo ejecutar comandos cuando la terminal tiene o pierde el foco?
|
=== ¿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
|
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
|
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:
|
comandos como `/123` para saltar al buffer #123:
|
||||||
@@ -840,18 +846,34 @@ join and part in the "autojoin" server option.
|
|||||||
For all servers:
|
For all servers:
|
||||||
|
|
||||||
----
|
----
|
||||||
/set irc.server_default.autojoin_record on
|
/set irc.server_default.autojoin_dynamic on
|
||||||
----
|
----
|
||||||
|
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
For a single server:
|
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,
|
// TRANSLATION MISSING
|
||||||
por ejemplo, para el servidor "libera":
|
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]
|
/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
|
/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
|
/script search autojoin
|
||||||
@@ -908,7 +931,7 @@ Con un filtro global (oculta *todos* los mensajes join/part/quit):
|
|||||||
|
|
||||||
[NOTE]
|
[NOTE]
|
||||||
Para más ayuda: `/help filter`, `+/help irc.look.smart_filter+` y vea la
|
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]]
|
[[filter_irc_join_channel_messages]]
|
||||||
=== ¿Cómo puedo filtrar algunos mensajes mostrados cuando me uno a un canal IRC?
|
=== ¿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?
|
=== ¿Cómo puedo inhabilitar las menciones de unos apodos específicos?
|
||||||
|
|
||||||
Con WeeChat ≥ 0.3.4 puede utilizar
|
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,
|
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).
|
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
|
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
|
como contraseñas: vea `/help secure` y `/help` en las opciones
|
||||||
(si puede utilice datos seguros, está escrito en la ayuda).
|
(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:
|
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
|
Algunos otros archivos pueden contener información sensible como contraseñas (si no están
|
||||||
almacenadas en _sec.conf_ con el comando `/secure`).
|
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.
|
para más información relacionada con los archivos de configuración.
|
||||||
|
|
||||||
[[development]]
|
[[development]]
|
||||||
@@ -1240,7 +1263,8 @@ para más información relacionada con los archivos de configuración.
|
|||||||
[[bug_task_patch]]
|
[[bug_task_patch]]
|
||||||
=== ¿Cómo podría informar de errores, pedir nuevas funcionalidades o enviar parches?
|
=== ¿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]]
|
[[gdb_error_threads]]
|
||||||
=== Cuando ejecuto WeeChat bajo gdb, hay un error con la muestra de las conversaciones, ¿qué puedo hacer?
|
=== 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.)
|
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:
|
// TRANSLATION MISSING
|
||||||
https://weechat.org/about/support
|
Please contact us via IRC or mail, look at
|
||||||
|
https://weechat.org/about/support/[support page ^↗^,window=_blank].
|
||||||
|
|
||||||
[[donate]]
|
[[donate]]
|
||||||
=== ¿Puedo donar dinero u otras cosas a las personas que desarrollan WeeChat?
|
=== ¿Puedo donar dinero u otras cosas a las personas que desarrollan WeeChat?
|
||||||
|
|
||||||
Puede donar dinero para ayudar en el desarrollo.
|
// TRANSLATION MISSING
|
||||||
Más detalles en https://weechat.org/donate
|
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"
|
/set irc.server.libera.autojoin "#uncanal,#otrocanal"
|
||||||
----
|
----
|
||||||
|
|
||||||
[TIP]
|
// TRANSLATION MISSING
|
||||||
Puede completar el nombre y el valor de las opciones con la tecla kbd:[Tab]
|
The `/autojoin` command lets you configure the _autojoin_ option easily
|
||||||
y kbd:[Shift+Tab] para un autocompletado parcial (útil para palabras largas como
|
(see `/help autojoin`).
|
||||||
el nombre de la opción).
|
|
||||||
|
// 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
|
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
|
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
|
/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]]
|
[[connect_to_irc_server]]
|
||||||
== Conectarse a un servidor IRC
|
== Conectarse a un servidor IRC
|
||||||
|
|
||||||
@@ -390,13 +402,16 @@ por ejemplo:
|
|||||||
|
|
||||||
Vea `/help script` para obtener más información.
|
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:
|
// TRANSLATION MISSING
|
||||||
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_doc]]
|
||||||
== Más documentación
|
== Más documentación
|
||||||
|
|
||||||
Ahora puede usar WeeChat y leer las FAQ/documentación para cada pregunta
|
// TRANSLATION MISSING
|
||||||
en: https://weechat.org/doc
|
You can now use WeeChat and read
|
||||||
|
https://weechat.org/doc/[FAQ/documentation ^↗^,window=_blank]
|
||||||
|
for any other questions.
|
||||||
|
|
||||||
¡Disfrute de WeeChat!
|
¡Disfrute de WeeChat!
|
||||||
|
|||||||
@@ -94,6 +94,8 @@
|
|||||||
|
|
||||||
| tcl | tcl_script | liste des scripts
|
| 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_arguments | paramètres par défaut pour un hook
|
||||||
|
|
||||||
| trigger | trigger_hook_command | commande 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 | 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_value | valeur d'une variable d'environnement
|
||||||
|
|
||||||
| weechat | env_vars | variables d'environnement
|
| weechat | env_vars | variables d'environnement
|
||||||
|
|||||||
@@ -631,6 +631,8 @@ _text_search_input_ (string) +
|
|||||||
_highlight_words_ (string) +
|
_highlight_words_ (string) +
|
||||||
_highlight_regex_ (string) +
|
_highlight_regex_ (string) +
|
||||||
_highlight_regex_compiled_ (pointer) +
|
_highlight_regex_compiled_ (pointer) +
|
||||||
|
_highlight_disable_regex_ (string) +
|
||||||
|
_highlight_disable_regex_compiled_ (pointer) +
|
||||||
_highlight_tags_restrict_ (string) +
|
_highlight_tags_restrict_ (string) +
|
||||||
_highlight_tags_restrict_count_ (integer) +
|
_highlight_tags_restrict_count_ (integer) +
|
||||||
_highlight_tags_restrict_array_ (pointer, array_size: "highlight_tags_restrict_count") +
|
_highlight_tags_restrict_array_ (pointer, array_size: "highlight_tags_restrict_count") +
|
||||||
|
|||||||
@@ -128,6 +128,8 @@
|
|||||||
|
|
||||||
| weechat | uptime | Durée de fonctionnement de WeeChat (format : "jours:hh:mm:ss") | "days" (nombre de jours) ou "seconds" (nombre de secondes) (optionnel)
|
| weechat | uptime | Durée de fonctionnement de WeeChat (format : "jours:hh:mm:ss") | "days" (nombre de jours) ou "seconds" (nombre de secondes) (optionnel)
|
||||||
|
|
||||||
|
| weechat | uptime_current | Durée de fonctionnement de WeeChat pour le processus actuel seulement (les mises à jour par la commande /upgrade sont ignorées) (format : "jours:hh:mm:ss") | "days" (nombre de jours) ou "seconds" (nombre de secondes) (optionnel)
|
||||||
|
|
||||||
| weechat | version | version de WeeChat | -
|
| weechat | version | version de WeeChat | -
|
||||||
|
|
||||||
| weechat | version_git | version git de WeeChat (sortie de la commande "git describe" pour une version de développement seulement, vide pour une version stable) | -
|
| weechat | version_git | version git de WeeChat (sortie de la commande "git describe" pour une version de développement seulement, vide pour une version stable) | -
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
// tag::url_options[]
|
// tag::url_options[]
|
||||||
[width="100%",cols="2,^1,7",options="header"]
|
[width="100%",cols="2,^1,7",options="header"]
|
||||||
|===
|
|===
|
||||||
| Option | Type ^(1)^ | Constantes ^(2)^
|
| Option | Type ^(1)^ | Constantes ^(2)^
|
||||||
|
|
||||||
| verbose | long |
|
| verbose | long |
|
||||||
|
|
||||||
|
|||||||
@@ -130,7 +130,7 @@ Exemples :
|
|||||||
/autojoin add [<canal1> [<canal2>...]]
|
/autojoin add [<canal1> [<canal2>...]]
|
||||||
addraw <canal1>[,<canal2>...] [<clé1>[,<clé2>...]]
|
addraw <canal1>[,<canal2>...] [<clé1>[,<clé2>...]]
|
||||||
del [<canal1> [<canal2>...]]
|
del [<canal1> [<canal2>...]]
|
||||||
save
|
apply
|
||||||
sort
|
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
|
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
|
del : supprimer le canal courant ou une liste de canaux de l'option autojoin
|
||||||
channel : nom du canal
|
channel : nom du canal
|
||||||
key : clé pour le 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
|
sort : trier les canaux de l'option autojoin par ordre alphabétique
|
||||||
|
|
||||||
Exemples :
|
Exemples :
|
||||||
/autojoin add
|
/autojoin add
|
||||||
/autojoin add #test
|
/autojoin add #test
|
||||||
/autojoin add #chan1 #chan2
|
/autojoin add #chan1 #chan2
|
||||||
|
/allchan /autojoin add
|
||||||
/autojoin addraw #chan1,#chan2,#chan3 key1,key2
|
/autojoin addraw #chan1,#chan2,#chan3 key1,key2
|
||||||
/autojoin del
|
/autojoin del
|
||||||
/autojoin del #chan1
|
/autojoin del #chan1
|
||||||
/autojoin save
|
/autojoin apply
|
||||||
/autojoin sort
|
/autojoin sort
|
||||||
----
|
----
|
||||||
|
|
||||||
@@ -175,7 +176,7 @@ Sans paramètre, cette commande affiche la liste des bannissements pour le canal
|
|||||||
|
|
||||||
ls : lister les capacités supportées par le serveur
|
ls : lister les capacités supportées par le serveur
|
||||||
list : lister les capacités actuellement activées
|
list : lister les capacités actuellement activées
|
||||||
req : demander une capacité
|
req : demander une nouvelle capacité ou supprimer une capacité (si elle commence par "-", par exemple : "-multi-prefix")
|
||||||
ack : accuser réception de capacités qui nécessitent un accusé de réception du client
|
ack : accuser réception de capacités qui nécessitent un accusé de réception du client
|
||||||
end : terminer la négociation de capacité
|
end : terminer la négociation de capacité
|
||||||
|
|
||||||
@@ -186,8 +187,14 @@ Les capacités supportées par WeeChat sont : account-notify, away-notify, cap-
|
|||||||
Les capacités à activer automatiquement sur les serveurs peuvent être définies dans l'option irc.server_default.capabilities (ou par serveur dans l'option irc.server.xxx.capabilities).
|
Les capacités à activer automatiquement sur les serveurs peuvent être définies dans l'option irc.server_default.capabilities (ou par serveur dans l'option irc.server.xxx.capabilities).
|
||||||
|
|
||||||
Exemples :
|
Exemples :
|
||||||
/cap
|
afficher les capacités supportées et activées :
|
||||||
/cap req multi-prefix away-notify
|
/cap
|
||||||
|
demander les capacités multi-prefix et away-notify :
|
||||||
|
/cap req multi-prefix away-notify
|
||||||
|
demander la capacité extended-join, supprimer la capacité multi-prefix :
|
||||||
|
/cap req extended-join -multi-prefix
|
||||||
|
supprimer la capacité away-notify :
|
||||||
|
/cap req -away-notify
|
||||||
----
|
----
|
||||||
|
|
||||||
[[command_irc_connect]]
|
[[command_irc_connect]]
|
||||||
@@ -1331,8 +1338,8 @@ Exemples :
|
|||||||
----
|
----
|
||||||
/debug list
|
/debug list
|
||||||
set <extension> <niveau>
|
set <extension> <niveau>
|
||||||
dump [<extension>]
|
dump|hooks [<extension>]
|
||||||
buffer|color|infolists|libs|certs|memory|tags|term|windows
|
buffer|certs|color|dirs|infolists|libs|memory|tags|term|windows
|
||||||
cursor|mouse [verbose]
|
cursor|mouse [verbose]
|
||||||
hdata [free]
|
hdata [free]
|
||||||
time <commande>
|
time <commande>
|
||||||
@@ -1342,15 +1349,15 @@ Exemples :
|
|||||||
extension : nom de l'extension ("core" pour le cœur de WeeChat)
|
extension : nom de l'extension ("core" pour le cœur de WeeChat)
|
||||||
niveau : niveau de debug pour l'extension
|
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)
|
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
|
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
|
color : afficher des infos sur les paires de couleur courantes
|
||||||
cursor : activer/désactiver le debug pour le mode curseur
|
cursor : activer/désactiver le debug pour le mode curseur
|
||||||
dirs : afficher les répertoires
|
dirs : afficher les répertoires
|
||||||
hdata : afficher des infos sur les hdata (avec free : supprimer tous les hdata en mémoire)
|
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
|
infolists : afficher des infos sur les infolists
|
||||||
libs : afficher des infos sur les bibliothèques externes utilisées
|
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
|
memory : afficher des infos sur l'utilisation de la mémoire
|
||||||
mouse : activer/désactiver le debug pour la souris
|
mouse : activer/désactiver le debug pour la souris
|
||||||
tags : afficher les étiquettes pour les lignes
|
tags : afficher les étiquettes pour les lignes
|
||||||
@@ -1408,28 +1415,30 @@ Des variables sont remplacées dans l'expression, en utilisant le format ${varia
|
|||||||
3. une sous-chaîne évaluée (format : "eval:xxx")
|
3. une sous-chaîne évaluée (format : "eval:xxx")
|
||||||
4. une condition évaluée (format : "eval_cond: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")
|
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")
|
6. une chaîne convertie en minuscules (format : "lower:xxx")
|
||||||
7. une chaîne avec un maximum de caractères (format : "cut:max,suffixe,chaîne" ou "cut:+max,suffixe,chaîne")
|
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")
|
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")
|
10. une chaîne inversée (format : "rev:xxx" ou "revscr:xxx")
|
||||||
9. une chaîne répétée (format : "repeat:nombre,chaîne")
|
11. une chaîne répétée (format : "repeat:nombre,chaîne")
|
||||||
10. longueur d'une chaîne (format : "length:xxx" ou "lengthscr:xxx")
|
12. 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")
|
13. 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")
|
14. 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")
|
15. une couleur (format : "color:xxx", voir la "Référence API extension", fonction "color")
|
||||||
14. un modificateur (format : "modifier:nom,données,chaîne")
|
16. un modificateur (format : "modifier:nom,données,chaîne")
|
||||||
15. une info (format : "info:nom,paramètres", les paramètres sont optionnels)
|
17. 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")
|
18. 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")
|
19. la date/heure courante (format : "date" ou "date:format")
|
||||||
18. une variable d'environnement (format : "env:XXX")
|
20. une variable d'environnement (format : "env:XXX")
|
||||||
19. un opérateur ternaire (format : "if:condition?valeur_si_vrai:valeur_si_faux")
|
21. 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")
|
22. 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")
|
23. un nombre entier aléatoire (format : "random:min,max")
|
||||||
22. une chaîne traduite (format : "translate:xxx")
|
24. une chaîne traduite (format : "translate:xxx")
|
||||||
23. déclaration d'une variable utilisateur (format : "define:nom,valeur")
|
25. déclaration d'une variable utilisateur (format : "define:nom,valeur")
|
||||||
24. une option (format : "fichier.section.option")
|
26. une option (format : "fichier.section.option")
|
||||||
25. une variable locale du tampon
|
27. 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.
|
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 :
|
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.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 :
|
hdata[liste].var1.var2... : démarrer avec un hdata en utilisant une liste/pointeur/nom de pointeur, par exemple :
|
||||||
@@ -1452,6 +1461,8 @@ Exemples (chaînes simples) :
|
|||||||
/eval -n ${window.buffer.full_name} ==> core.weechat
|
/eval -n ${window.buffer.full_name} ==> core.weechat
|
||||||
/eval -n ${window.buffer.number} ==> 1
|
/eval -n ${window.buffer.number} ==> 1
|
||||||
/eval -n ${\t} ==> <tab>
|
/eval -n ${\t} ==> <tab>
|
||||||
|
/eval -n ${lower:TEST} ==> test
|
||||||
|
/eval -n ${upper:test} ==> TEST
|
||||||
/eval -n ${hide:-,${relay.network.password}} ==> --------
|
/eval -n ${hide:-,${relay.network.password}} ==> --------
|
||||||
/eval -n ${cut:3,+,test} ==> tes+
|
/eval -n ${cut:3,+,test} ==> tes+
|
||||||
/eval -n ${cut:+3,+,test} ==> te+
|
/eval -n ${cut:+3,+,test} ==> te+
|
||||||
@@ -1497,7 +1508,7 @@ Exemples (conditions) :
|
|||||||
add|addreplace <nom> <tampon>[,<tampon>...] <étiquettes> <regex>
|
add|addreplace <nom> <tampon>[,<tampon>...] <étiquettes> <regex>
|
||||||
rename <nom> <nouveau_nom>
|
rename <nom> <nouveau_nom>
|
||||||
recreate <nom>
|
recreate <nom>
|
||||||
del <nom>|-all
|
del <nom>|-all [<nom>...]
|
||||||
|
|
||||||
list : lister tous les filtres
|
list : lister tous les filtres
|
||||||
enable : activer les filtres (par défaut les filtres sont activés)
|
enable : activer les filtres (par défaut les filtres sont activés)
|
||||||
@@ -1603,6 +1614,7 @@ liste des actions :
|
|||||||
delete_previous_char : effacer le caractère précédent
|
delete_previous_char : effacer le caractère précédent
|
||||||
delete_next_char : effacer le caractère suivant
|
delete_next_char : effacer le caractère suivant
|
||||||
delete_previous_word : effacer le mot précédent
|
delete_previous_word : effacer le mot précédent
|
||||||
|
delete_previous_word_whitespace : effacer le mot précédent (jusqu'à un espace)
|
||||||
delete_next_word : effacer le mot suivant
|
delete_next_word : effacer le mot suivant
|
||||||
delete_beginning_of_line : effacer du début de la ligne jusqu'au curseur
|
delete_beginning_of_line : effacer du début de la ligne jusqu'au curseur
|
||||||
delete_end_of_line : effacer du curseur jusqu'à la fin de la ligne
|
delete_end_of_line : effacer du curseur jusqu'à la fin de la ligne
|
||||||
@@ -1646,6 +1658,49 @@ liste des actions :
|
|||||||
Cette commande est utilisé par les associations de touches ou les extensions.
|
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]]
|
[[command_weechat_key]]
|
||||||
* `+key+`: associer/libérer des touches
|
* `+key+`: associer/libérer des touches
|
||||||
|
|
||||||
@@ -2068,34 +2123,41 @@ Exemples :
|
|||||||
----
|
----
|
||||||
|
|
||||||
[[command_weechat_upgrade]]
|
[[command_weechat_upgrade]]
|
||||||
* `+upgrade+`: relancer le binaire WeeChat sans se déconnecter des serveurs
|
* `+upgrade+`: sauvegarder la session WeeChat et relancer le binaire WeeChat sans se déconnecter des serveurs
|
||||||
|
|
||||||
----
|
----
|
||||||
/upgrade [-yes] [<chemin_vers_binaire>|-quit]
|
/upgrade [-yes] [<chemin_vers_binaire>|-save|-quit]
|
||||||
|
|
||||||
-yes : requis si l'option "weechat.look.confirm_upgrade" est activée
|
-yes : requis si l'option "weechat.look.confirm_upgrade" est activée
|
||||||
chemin_vers_binaire : chemin vers le binaire WeeChat (par défaut le binaire courant)
|
chemin_vers_binaire : chemin vers le binaire WeeChat (par défaut le binaire courant)
|
||||||
-dummy : ne rien faire (option utilisée pour éviter une complétion accidentelle avec "-quit")
|
-dummy : ne rien faire (option utilisée pour éviter une complétion accidentelle avec "-quit")
|
||||||
-quit : fermer *TOUTES* les connexions, sauver la session et quitter, ce qui rend possible une restauration différée (voir ci-dessous)
|
-save : sauvegarder seulement la session, ne pas quitter ni relancer WeeChat ; les fichiers de configuration ne sont pas sauvegardés (si besoin vous pouvez utiliser /save avant cette commande)
|
||||||
|
-quit : fermer *TOUTES* les connexions, sauvegarder la session et quitter, ce qui rend possible une restauration différée (voir ci-dessous)
|
||||||
|
|
||||||
Cette commande met à jour et recharge une session de WeeChat qui tourne. Le nouveau binaire WeeChat doit avoir été compilé ou installé via un gestionnaire de paquet avant de lancer cette commande.
|
Cette commande met à jour et recharge une session de WeeChat qui tourne. Le nouveau binaire WeeChat doit avoir été compilé ou installé via un gestionnaire de paquet avant de lancer cette commande.
|
||||||
|
|
||||||
Note : les connexions SSL sont perdues durant la mise à jour, car le rechargement de session SSL n'est pas possible actuellement avec GnuTLS. Il y a une reconnexion automatique après la mise à jour.
|
Note : les connexions SSL sont perdues durant la mise à jour, car le rechargement de session SSL n'est pas possible actuellement avec GnuTLS. Il y a une reconnexion automatique après la mise à jour.
|
||||||
|
|
||||||
|
Important : l'utilisation de l'option -save peut être dangereuse, il est recommandé d'utiliser seulement /upgrade (ou avec -quit) pour une mise à jour standard et un redémarrage ; l'option -save peut être utilisée pour sauvegarder régulièrement la session et la restaurer en cas de sortie anormale (panne de courant, crash, etc.).
|
||||||
|
|
||||||
Le processus de mise à jour comporte 4 étapes :
|
Le processus de mise à jour comporte 4 étapes :
|
||||||
1. sauvegarder la session pour le cœur et les extensions (tampons, historique, ...)
|
1. sauvegarder la session pour le cœur et les extensions (tampons, historique, ...)
|
||||||
2. décharger toutes les extensions (les fichiers de configuration (*.conf) sont écrits sur disque)
|
2. décharger toutes les extensions (les fichiers de configuration (*.conf) sont écrits sur disque)
|
||||||
3. sauvegarder la configuration WeeChat (weechat.conf)
|
3. sauvegarder la configuration WeeChat (weechat.conf)
|
||||||
4. exécuter le nouveau binaire WeeChat et recharger la session.
|
4. exécuter le nouveau binaire WeeChat et recharger la session.
|
||||||
|
|
||||||
Avec l'option "-quit", le processus est légèrement différent :
|
Avec l'option "-quit", le processus est le suivant :
|
||||||
1. fermer *TOUTES* les connexions
|
1. fermer *TOUTES* les connexions
|
||||||
2. sauvegarder la session (fichiers *.upgrade)
|
2. sauvegarder la session (fichiers *.upgrade)
|
||||||
3. décharger les extensions
|
3. décharger les extensions
|
||||||
4. sauvegarder la configuration WeeChat
|
4. sauvegarder la configuration WeeChat
|
||||||
5. quitter WeeChat
|
5. quitter WeeChat
|
||||||
Et plus tard vous pouvez restaurer la session avec la commande : weechat --upgrade
|
|
||||||
IMPORTANT : vous devez restaurer la session avec exactement la même configuration (fichiers *.conf).
|
Avec l'option "-save", le processus est le suivant :
|
||||||
|
1. sauvegarder la session (fichiers *.upgrade) avec un état déconnecté pour les serveurs IRC et les clients Relay (mais aucune déconnexion n'est faite)
|
||||||
|
|
||||||
|
Avec "-quit" ou "-save", vous pouvez restaurer la session plus tard avec cette commande : weechat --upgrade
|
||||||
|
IMPORTANT : vous devez restaurer la session avec exactement la même configuration (fichiers *.conf) et si possible la même version de WeeChat (ou une plus récente).
|
||||||
Il est également possible de restaurer la session WeeChat sur une autre machine si vous y copiez le contenu des répertoires personnels de WeeChat (voir /debug dirs).
|
Il est également possible de restaurer la session WeeChat sur une autre machine si vous y copiez le contenu des répertoires personnels de WeeChat (voir /debug dirs).
|
||||||
----
|
----
|
||||||
|
|
||||||
@@ -2280,6 +2342,7 @@ Les variables suivantes peuvent être utilisées dans ces options :
|
|||||||
- ${format_hotlist} : la hotlist formatée (évaluation de l'option buflist.format.hotlist)
|
- ${format_hotlist} : la hotlist formatée (évaluation de l'option buflist.format.hotlist)
|
||||||
- ${hotlist} : la hotlist brute
|
- ${hotlist} : la hotlist brute
|
||||||
- ${hotlist_priority} : "none", "low", "message", "private" ou "highlight"
|
- ${hotlist_priority} : "none", "low", "message", "private" ou "highlight"
|
||||||
|
- ${hotlist_priority_number} : -1 = none, 0 = low, 1 = message, 2 = private, 3 = highlight
|
||||||
- ${format_lag} : le lag pour un tampon de serveur IRC, vide s'il n'y a pas de lag (évaluation de l'option buflist.format.lag)
|
- ${format_lag} : le lag pour un tampon de serveur IRC, vide s'il n'y a pas de lag (évaluation de l'option buflist.format.lag)
|
||||||
- ${format_tls_version}: indicateur de la version de TLS pour le serveur courant, vide pour les canaux (évaluation de l'option buflist.format.tls_version)
|
- ${format_tls_version}: indicateur de la version de TLS pour le serveur courant, vide pour les canaux (évaluation de l'option buflist.format.tls_version)
|
||||||
----
|
----
|
||||||
@@ -2846,7 +2909,7 @@ protocole.nom : protocole et nom à relayer :
|
|||||||
- protocole "weechat" (le nom n'est pas utilisé)
|
- 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 "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.
|
Sans paramètre, cette commande ouvre le tampon avec la liste des clients pour le relai.
|
||||||
|
|
||||||
@@ -3001,7 +3064,7 @@ Exemples :
|
|||||||
----
|
----
|
||||||
/spell enable|disable|toggle
|
/spell enable|disable|toggle
|
||||||
listdict
|
listdict
|
||||||
setdict <dict>[,<dict>...]
|
setdict -|<dict>[,<dict>...]
|
||||||
deldict
|
deldict
|
||||||
addword [<dict>] <mot>
|
addword [<dict>] <mot>
|
||||||
|
|
||||||
@@ -3009,7 +3072,7 @@ Exemples :
|
|||||||
disable : désactiver le vérificateur d'orthographe
|
disable : désactiver le vérificateur d'orthographe
|
||||||
toggle : activer/désactiver le vérificateur d'orthographe
|
toggle : activer/désactiver le vérificateur d'orthographe
|
||||||
listdict : afficher les dictionnaires installés
|
listdict : afficher les dictionnaires installés
|
||||||
setdict : définir le dictionnaire pour le tampon courant (plusieurs dictionnaires peuvent être séparés par une virgule)
|
setdict : définir le dictionnaire pour le tampon courant (plusieurs dictionnaires peuvent être séparés par une virgule, la valeur spéciale "-" désactive la vérification orthographique sur le tampon courant)
|
||||||
deldict : supprimer le dictionnaire utilisé sur le tampon courant
|
deldict : supprimer le dictionnaire utilisé sur le tampon courant
|
||||||
addword : ajouter un mot dans le dictionnaire personnel
|
addword : ajouter un mot dans le dictionnaire personnel
|
||||||
|
|
||||||
@@ -3136,8 +3199,10 @@ Exemples (vous pouvez aussi regarder les triggers par défaut avec /trigger list
|
|||||||
cacher la barre de pseudos sur les petits terminaux :
|
cacher la barre de pseudos sur les petits terminaux :
|
||||||
/trigger add resize_small signal signal_sigwinch "${info:term_width} < 100" "" "/bar hide nicklist"
|
/trigger add resize_small signal signal_sigwinch "${info:term_width} < 100" "" "/bar hide nicklist"
|
||||||
/trigger add resize_big signal signal_sigwinch "${info:term_width} >= 100" "" "/bar show nicklist"
|
/trigger add resize_big signal signal_sigwinch "${info:term_width} >= 100" "" "/bar show nicklist"
|
||||||
sauver la configuration chaque heure (de manière silencieuse) :
|
sauver silencieusement la configuration chaque heure :
|
||||||
/trigger add cfgsave timer 3600000;0;0 "" "" "/mute /save"
|
/trigger add cfgsave timer 3600000;0;0 "" "" "/mute /save"
|
||||||
|
sauver silencieusement la session WeeChat à minuit (voir /help upgrade) :
|
||||||
|
/trigger add session_save signal day_changed "" "" "/mute /upgrade -save"
|
||||||
ouvrir le tampon moniteur des triggers et afficher seulement les modificateurs et les triggers dont le nom commence par "resize" :
|
ouvrir le tampon moniteur des triggers et afficher seulement les modificateurs et les triggers dont le nom commence par "resize" :
|
||||||
/trigger monitor @modifier,resize*
|
/trigger monitor @modifier,resize*
|
||||||
----
|
----
|
||||||
|
|||||||
@@ -750,6 +750,12 @@
|
|||||||
** valeurs: toute chaîne
|
** valeurs: toute chaîne
|
||||||
** valeur par défaut: `+""+`
|
** valeur par défaut: `+""+`
|
||||||
|
|
||||||
|
* [[option_weechat.look.highlight_disable_regex]] *weechat.look.highlight_disable_regex*
|
||||||
|
** description: pass:none[expression régulière POSIX étendue utilisée pour empêcher un highlight sur un message : cette option a une priorité plus élevée sur les autres options de highlight (si la chaîne est trouvée dans le message, le highlight est désactivé et les autres options sont ignorées), l'expression régulière est insensible à la casse (utilisez "(?-i)" au début pour la rendre sensible à la casse), exemples : "<flash.*>", "(?-i)<Flash.*>"]
|
||||||
|
** type: chaîne
|
||||||
|
** valeurs: toute chaîne
|
||||||
|
** valeur par défaut: `+""+`
|
||||||
|
|
||||||
* [[option_weechat.look.highlight_regex]] *weechat.look.highlight_regex*
|
* [[option_weechat.look.highlight_regex]] *weechat.look.highlight_regex*
|
||||||
** description: pass:none[expression régulière POSIX étendue utilisée pour vérifier si un message a un "highlight" ou non, au moins une correspondance dans la chaîne doit être entourée de délimiteurs (caractères différents de : alphanumérique, "-", "_" et "|"), l'expression régulière est insensible à la casse (utilisez "(?-i)" au début pour la rendre sensible à la casse), exemples : "flashcode|flashy", "(?-i)FlashCode|flashy"]
|
** description: pass:none[expression régulière POSIX étendue utilisée pour vérifier si un message a un "highlight" ou non, au moins une correspondance dans la chaîne doit être entourée de délimiteurs (caractères différents de : alphanumérique, "-", "_" et "|"), l'expression régulière est insensible à la casse (utilisez "(?-i)" au début pour la rendre sensible à la casse), exemples : "flashcode|flashy", "(?-i)FlashCode|flashy"]
|
||||||
** type: chaîne
|
** type: chaîne
|
||||||
@@ -1397,7 +1403,7 @@
|
|||||||
** valeur par défaut: `+default+`
|
** valeur par défaut: `+default+`
|
||||||
|
|
||||||
* [[option_logger.file.auto_log]] *logger.file.auto_log*
|
* [[option_logger.file.auto_log]] *logger.file.auto_log*
|
||||||
** description: pass:none[sauve automatiquement le contenu des tampons dans des fichiers (sauf si un tampon désactive le log)]
|
** description: pass:none[sauve automatiquement le contenu des tampons dans des fichiers (sauf si un tampon désactive le log) ; si désactivé, l'enregistrement est désactivé sur tous les tampons]
|
||||||
** type: booléen
|
** type: booléen
|
||||||
** valeurs: on, off
|
** valeurs: on, off
|
||||||
** valeur par défaut: `+on+`
|
** valeur par défaut: `+on+`
|
||||||
@@ -1462,6 +1468,24 @@
|
|||||||
** valeurs: toute chaîne
|
** valeurs: toute chaîne
|
||||||
** valeur par défaut: `+"_"+`
|
** valeur par défaut: `+"_"+`
|
||||||
|
|
||||||
|
* [[option_logger.file.rotation_compression_level]] *logger.file.rotation_compression_level*
|
||||||
|
** description: pass:none[niveau de compression pour les fichiers de log qui tournent (avec extension ".1", ".2", etc.), si l'option logger.file.rotation_compression_type est activée ; 1 = peu de compression / rapide ... 100 = meilleure compression / lent ; la valeur est un pourcentage converti de 1 à 9 pour gzip et de 1 à 19 pour zstd ; la valeur par défaut est recommandée, elle offre un bon compromis compression/vitesse]
|
||||||
|
** type: entier
|
||||||
|
** valeurs: 1 .. 100
|
||||||
|
** valeur par défaut: `+20+`
|
||||||
|
|
||||||
|
* [[option_logger.file.rotation_compression_type]] *logger.file.rotation_compression_type*
|
||||||
|
** description: pass:none[type de compression pour les fichiers de log qui tournent ; si défini à "none", les fichiers de logs qui tournent ne sont pas compressés ; ATTENTION : si la rotation est activée avec un autre type de compression (ou pas de compression), vous devez d'abord décharger l'extension logger, compresser les fichiers avec le nouveau type (ou décompresser les fichiers), puis changer l'option dans logger.conf, puis charger l'extension logger]
|
||||||
|
** type: entier
|
||||||
|
** valeurs: none, gzip, zstd
|
||||||
|
** valeur par défaut: `+none+`
|
||||||
|
|
||||||
|
* [[option_logger.file.rotation_size_max]] *logger.file.rotation_size_max*
|
||||||
|
** description: pass:none[lorsque cette taille est atteinte, une rotation des fichiers est effectuée : les fichiers de log existants sont renommés (.1 devient .2, .2 devient .3, etc.) et le fichier courant est renommé avec l'extension .1 ; un nombre entier avec un suffixe est accepté : b = octets (par défaut si pas d'unité spécifiée), k = kilo-octets, m = méga-octets, g = giga-octets, t = téra-octets ; exemple : "2g" provoque une rotation si la taille du fichier est > 2 000 000 000 octets ; si défini à "0", aucune rotation n'est effectuée (taille de log illimitée) ; ATTENTION : avant de changer cette option, vous devriez d'abord définir le type de compression via l'option logger.file.rotation_compression_type]
|
||||||
|
** type: chaîne
|
||||||
|
** valeurs: toute chaîne
|
||||||
|
** valeur par défaut: `+"0"+`
|
||||||
|
|
||||||
* [[option_logger.file.time_format]] *logger.file.time_format*
|
* [[option_logger.file.time_format]] *logger.file.time_format*
|
||||||
** description: pass:none[format de date/heure utilisé dans les fichiers log (voir man strftime pour le format de date/heure)]
|
** description: pass:none[format de date/heure utilisé dans les fichiers log (voir man strftime pour le format de date/heure)]
|
||||||
** type: chaîne
|
** type: chaîne
|
||||||
@@ -1544,6 +1568,12 @@
|
|||||||
** valeurs: un nom de couleur WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), un numéro de couleur du terminal ou un alias ; des attributs sont autorisés avant la couleur (seulement pour la couleur du texte, pas le fond) : "*" pour le gras, "!" pour la vidéo inverse, "/" pour l'italique, "_" pour le souligné
|
** valeurs: un nom de couleur WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), un numéro de couleur du terminal ou un alias ; des attributs sont autorisés avant la couleur (seulement pour la couleur du texte, pas le fond) : "*" pour le gras, "!" pour la vidéo inverse, "/" pour l'italique, "_" pour le souligné
|
||||||
** valeur par défaut: `+lightmagenta+`
|
** valeur par défaut: `+lightmagenta+`
|
||||||
|
|
||||||
|
* [[option_trigger.color.identifier]] *trigger.color.identifier*
|
||||||
|
** description: pass:none[couleur du texte pour l'identifiant de contexte du trigger dans le tampon moniteur]
|
||||||
|
** type: couleur
|
||||||
|
** valeurs: un nom de couleur WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), un numéro de couleur du terminal ou un alias ; des attributs sont autorisés avant la couleur (seulement pour la couleur du texte, pas le fond) : "*" pour le gras, "!" pour la vidéo inverse, "/" pour l'italique, "_" pour le souligné
|
||||||
|
** valeur par défaut: `+cyan+`
|
||||||
|
|
||||||
* [[option_trigger.color.regex]] *trigger.color.regex*
|
* [[option_trigger.color.regex]] *trigger.color.regex*
|
||||||
** description: pass:none[couleur du texte pour les expressions régulières]
|
** description: pass:none[couleur du texte pour les expressions régulières]
|
||||||
** type: couleur
|
** type: couleur
|
||||||
@@ -1771,7 +1801,7 @@
|
|||||||
** valeur par défaut: `+"${buffer.hidden}==0"+`
|
** valeur par défaut: `+"${buffer.hidden}==0"+`
|
||||||
|
|
||||||
* [[option_buflist.look.enabled]] *buflist.look.enabled*
|
* [[option_buflist.look.enabled]] *buflist.look.enabled*
|
||||||
** description: pass:none[activer buflist]
|
** description: pass:none[activer buflist ; il est recommandé d'utiliser cette option plutôt que de juste cacher la barre car cela supprime également des hooks internes qui ne sont plus nécessaires lorsque la barre est cachée ; vous pouvez aussi utiliser la commande "/buflist toggle" ou la touche par défaut key alt+shift+b]
|
||||||
** type: booléen
|
** type: booléen
|
||||||
** valeurs: on, off
|
** valeurs: on, off
|
||||||
** valeur par défaut: `+on+`
|
** valeur par défaut: `+on+`
|
||||||
@@ -2127,7 +2157,7 @@
|
|||||||
** valeur par défaut: `+cyan+`
|
** valeur par défaut: `+cyan+`
|
||||||
|
|
||||||
* [[option_irc.color.message_chghost]] *irc.color.message_chghost*
|
* [[option_irc.color.message_chghost]] *irc.color.message_chghost*
|
||||||
** description: pass:none[couleur pour le texte dans les messages chghost]
|
** description: pass:none[couleur pour le texte dans les messages "chghost"]
|
||||||
** type: couleur
|
** type: couleur
|
||||||
** valeurs: un nom de couleur WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), un numéro de couleur du terminal ou un alias ; des attributs sont autorisés avant la couleur (seulement pour la couleur du texte, pas le fond) : "*" pour le gras, "!" pour la vidéo inverse, "/" pour l'italique, "_" pour le souligné
|
** valeurs: un nom de couleur WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), un numéro de couleur du terminal ou un alias ; des attributs sont autorisés avant la couleur (seulement pour la couleur du texte, pas le fond) : "*" pour le gras, "!" pour la vidéo inverse, "/" pour l'italique, "_" pour le souligné
|
||||||
** valeur par défaut: `+brown+`
|
** valeur par défaut: `+brown+`
|
||||||
@@ -2150,6 +2180,12 @@
|
|||||||
** valeurs: un nom de couleur WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), un numéro de couleur du terminal ou un alias ; des attributs sont autorisés avant la couleur (seulement pour la couleur du texte, pas le fond) : "*" pour le gras, "!" pour la vidéo inverse, "/" pour l'italique, "_" pour le souligné
|
** valeurs: un nom de couleur WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), un numéro de couleur du terminal ou un alias ; des attributs sont autorisés avant la couleur (seulement pour la couleur du texte, pas le fond) : "*" pour le gras, "!" pour la vidéo inverse, "/" pour l'italique, "_" pour le souligné
|
||||||
** valeur par défaut: `+red+`
|
** valeur par défaut: `+red+`
|
||||||
|
|
||||||
|
* [[option_irc.color.message_setname]] *irc.color.message_setname*
|
||||||
|
** description: pass:none[couleur pour le texte dans les messages "setname"]
|
||||||
|
** type: couleur
|
||||||
|
** valeurs: un nom de couleur WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), un numéro de couleur du terminal ou un alias ; des attributs sont autorisés avant la couleur (seulement pour la couleur du texte, pas le fond) : "*" pour le gras, "!" pour la vidéo inverse, "/" pour l'italique, "_" pour le souligné
|
||||||
|
** valeur par défaut: `+brown+`
|
||||||
|
|
||||||
* [[option_irc.color.mirc_remap]] *irc.color.mirc_remap*
|
* [[option_irc.color.mirc_remap]] *irc.color.mirc_remap*
|
||||||
** description: pass:none[réassigner les couleurs mirc dans les messages en utilisant une table de hachage : les clés sont "fg,bg" sous forme d'entiers entre -1 (non spécifié) et 15, les valeurs sont des noms de couleur WeeChat ou nombres (le format est : "1,-1:couleur1;2,7:couleur2"), exemple : "1,-1:darkgray;1,2:white,blue" pour réassigner le noir en "darkgray" et le noir sur bleu en "white,blue" ; les couleurs WeeChat par défaut pour les codes IRC sont : 0=white, 1=black, 2=blue, 3=green, 4=lightred, 5=red, 6=magenta, 7=brown, 8=yellow, 9=lightgreen, 10=cyan, 11=lightcyan, 12=lightblue, 13=lightmagenta, 14=darkgray, 15=gray]
|
** description: pass:none[réassigner les couleurs mirc dans les messages en utilisant une table de hachage : les clés sont "fg,bg" sous forme d'entiers entre -1 (non spécifié) et 15, les valeurs sont des noms de couleur WeeChat ou nombres (le format est : "1,-1:couleur1;2,7:couleur2"), exemple : "1,-1:darkgray;1,2:white,blue" pour réassigner le noir en "darkgray" et le noir sur bleu en "white,blue" ; les couleurs WeeChat par défaut pour les codes IRC sont : 0=white, 1=black, 2=blue, 3=green, 4=lightred, 5=red, 6=magenta, 7=brown, 8=yellow, 9=lightgreen, 10=cyan, 11=lightcyan, 12=lightblue, 13=lightmagenta, 14=darkgray, 15=gray]
|
||||||
** type: chaîne
|
** type: chaîne
|
||||||
@@ -2330,6 +2366,12 @@
|
|||||||
** valeurs: on, off
|
** valeurs: on, off
|
||||||
** valeur par défaut: `+on+`
|
** valeur par défaut: `+on+`
|
||||||
|
|
||||||
|
* [[option_irc.look.display_pv_nick_change]] *irc.look.display_pv_nick_change*
|
||||||
|
** description: pass:none[afficher le changement de pseudo en privé]
|
||||||
|
** type: booléen
|
||||||
|
** valeurs: on, off
|
||||||
|
** valeur par défaut: `+on+`
|
||||||
|
|
||||||
* [[option_irc.look.display_pv_warning_address]] *irc.look.display_pv_warning_address*
|
* [[option_irc.look.display_pv_warning_address]] *irc.look.display_pv_warning_address*
|
||||||
** description: pass:none[afficher un avertissement dans le tampon privé si l'adresse du pseudo distant a changé ; cette option est désactivée par défaut car les serveurs comme bitlbee causent un affichage de cet avertissement à tort (l'adresse du pseudo distant change plusieurs fois à la connexion)]
|
** description: pass:none[afficher un avertissement dans le tampon privé si l'adresse du pseudo distant a changé ; cette option est désactivée par défaut car les serveurs comme bitlbee causent un affichage de cet avertissement à tort (l'adresse du pseudo distant change plusieurs fois à la connexion)]
|
||||||
** type: booléen
|
** type: booléen
|
||||||
@@ -2546,6 +2588,12 @@
|
|||||||
** valeurs: on, off
|
** valeurs: on, off
|
||||||
** valeur par défaut: `+on+`
|
** valeur par défaut: `+on+`
|
||||||
|
|
||||||
|
* [[option_irc.look.smart_filter_setname]] *irc.look.smart_filter_setname*
|
||||||
|
** description: pass:none[activer le filtre intelligent pour les messages "setname"]
|
||||||
|
** type: booléen
|
||||||
|
** valeurs: on, off
|
||||||
|
** valeur par défaut: `+on+`
|
||||||
|
|
||||||
* [[option_irc.look.temporary_servers]] *irc.look.temporary_servers*
|
* [[option_irc.look.temporary_servers]] *irc.look.temporary_servers*
|
||||||
** description: pass:none[activer l'ajout automatique des serveurs temporaires avec la commande /connect]
|
** description: pass:none[activer l'ajout automatique des serveurs temporaires avec la commande /connect]
|
||||||
** type: booléen
|
** type: booléen
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
// tag::plugin_options[]
|
// tag::plugin_options[]
|
||||||
Pour une documentation complète sur les options des extensions, merci de
|
Pour une documentation complète sur les options des extensions, merci de
|
||||||
consulter la documentation des extensions dans le
|
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
|
Avec l'extension irc, vous pouvez vous connecter à un serveur de manière
|
||||||
temporaire avec une URL, comme ceci :
|
temporaire avec une URL, comme ceci :
|
||||||
|
|||||||
@@ -62,4 +62,4 @@ include::includes/man.fr.adoc[tag=copyright]
|
|||||||
|
|
||||||
== SUPPORT / SIGNALER DES BUGS
|
== 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
|
== 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/
|
||||||
|
|||||||
+76
-70
@@ -12,8 +12,8 @@
|
|||||||
Ce manuel documente le client de messagerie instantanée WeeChat, il fait
|
Ce manuel documente le client de messagerie instantanée WeeChat, il fait
|
||||||
partie de WeeChat.
|
partie de WeeChat.
|
||||||
|
|
||||||
La dernière version de ce document peut être téléchargée sur cette page :
|
La dernière version de ce document peut être téléchargée sur
|
||||||
https://weechat.org/doc
|
https://weechat.org/doc/[cette page ^↗^,window=_blank].
|
||||||
|
|
||||||
|
|
||||||
[[introduction]]
|
[[introduction]]
|
||||||
@@ -33,8 +33,8 @@ Ce manuel documente l'intérieur de WeeChat :
|
|||||||
[[repositories]]
|
[[repositories]]
|
||||||
== Dépôts
|
== Dépôts
|
||||||
|
|
||||||
Les dépôts de WeeChat sont dans l'organisation "weechat" de GitHub :
|
Les dépôts de WeeChat sont dans l'organisation
|
||||||
https://github.com/weechat
|
https://github.com/weechat[weechat ^↗^,window=_blank] de GitHub.
|
||||||
|
|
||||||
Liste des dépôts :
|
Liste des dépôts :
|
||||||
|
|
||||||
@@ -45,7 +45,7 @@ scripts::
|
|||||||
les scripts _officiels_ soumis sur weechat.org
|
les scripts _officiels_ soumis sur weechat.org
|
||||||
|
|
||||||
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::
|
weercd::
|
||||||
serveur de test IRC
|
serveur de test IRC
|
||||||
@@ -424,9 +424,12 @@ Le cœur de WeeChat est situé dans les répertoires suivants :
|
|||||||
| test-core-utf8.cpp | Tests : UTF-8.
|
| test-core-utf8.cpp | Tests : UTF-8.
|
||||||
| test-core-util.cpp | Tests : fonctions utiles.
|
| test-core-util.cpp | Tests : fonctions utiles.
|
||||||
| gui/ | Racine des tests unitaires pour les interfaces.
|
| 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-chat.cpp | Tests : fonctions de discussion.
|
||||||
| test-gui-color.cpp | Tests : couleurs.
|
| test-gui-color.cpp | Tests : couleurs.
|
||||||
|
| test-gui-filter.cpp | Tests : filtres.
|
||||||
|
| test-gui-input.cpp | Tests : fonctions d'entrée.
|
||||||
| test-gui-line.cpp | Tests : lignes.
|
| test-gui-line.cpp | Tests : lignes.
|
||||||
| test-gui-nick.cpp | Tests : pseudos.
|
| test-gui-nick.cpp | Tests : pseudos.
|
||||||
| plugins/ | Racine des tests unitaires pour les extensions.
|
| plugins/ | Racine des tests unitaires pour les extensions.
|
||||||
@@ -454,6 +457,9 @@ Le cœur de WeeChat est situé dans les répertoires suivants :
|
|||||||
| test-typing-status.cpp | Tests : statut d'écriture.
|
| test-typing-status.cpp | Tests : statut d'écriture.
|
||||||
| relay/ | Racine des tests unitaires pour l'extension Relay.
|
| relay/ | Racine des tests unitaires pour l'extension Relay.
|
||||||
| test-relay-auth.cpp | Tests : authentification des clients.
|
| test-relay-auth.cpp | Tests : authentification des clients.
|
||||||
|
| xfer/ | Racine des tests unitaires pour l'extension Xfer.
|
||||||
|
| test-xfer-file.cpp | Tests : fonctions sur les fichiers.
|
||||||
|
| test-xfer-network.cpp | Tests : fonctions réseau.
|
||||||
|===
|
|===
|
||||||
|
|
||||||
[[documentation_translations]]
|
[[documentation_translations]]
|
||||||
@@ -469,13 +475,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).
|
| 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, ...).
|
| XX/ | Documentation pour la langue XX (langues : en, fr, de, it, ...).
|
||||||
| weechat.1.XX.adoc | Page de manuel (`man weechat`).
|
| 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_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] (questions fréquemment posées).
|
| 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].
|
| 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].
|
| 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 (pour les interfaces distantes)].
|
| 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].
|
| 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].
|
| weechat_user.XX.adoc | link:weechat_user.fr.html[Guide utilisateur ^↗^,window=_blank].
|
||||||
| includes/ | Fichiers inclus dans la documentation.
|
| 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_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 !).
|
| 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 +755,7 @@ new_hook_fd = malloc (sizeof (*new_hook_fd));
|
|||||||
[[coding_python_style]]
|
[[coding_python_style]]
|
||||||
=== Style Python
|
=== 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]]
|
[[core_internals]]
|
||||||
== Intérieur du cœur
|
== Intérieur du cœur
|
||||||
@@ -955,10 +961,10 @@ Toutes les combinaisons sont résumées dans ce tableau :
|
|||||||
| [hex]#19# + `B` + `EXT` | [hex]#19# `+B@00124+` | chat + barres | Définir le couleur de fond (couleur étendue).
|
| [hex]#19# + `B` + `EXT` | [hex]#19# `+B@00124+` | chat + barres | Définir le couleur de fond (couleur étendue).
|
||||||
| [hex]#19# + `*` + `(ATTR)STD` | [hex]#19# `+*05+` | chat + barres | Définir la couleur de texte (couleur WeeChat).
|
| [hex]#19# + `*` + `(ATTR)STD` | [hex]#19# `+*05+` | chat + barres | Définir la couleur de texte (couleur WeeChat).
|
||||||
| [hex]#19# + `*` + `(ATTR)EXT` | [hex]#19# `+*@00214+` | chat + barres | Définir la couleur de texte (couleur étendue).
|
| [hex]#19# + `*` + `(ATTR)EXT` | [hex]#19# `+*@00214+` | chat + barres | Définir la couleur de texte (couleur étendue).
|
||||||
| [hex]#19# + `*` + `(ATTR)STD` + `,` + `STD` ^(1)^ | [hex]#19# `+*08,05+` | chat + barres | Définir la couleur de texte/fond (couleurs WeeChat).
|
| [hex]#19# + `*` + `(ATTR)STD` + `,` + `STD` ^(1)^ | [hex]#19# `+*08,05+` | chat + barres | Définir la couleur de texte/fond (couleurs WeeChat).
|
||||||
| [hex]#19# + `*` + `(ATTR)STD` + `,` + `EXT` ^(1)^ | [hex]#19# `+*01,@00214+` | chat + barres | Définir la couleur de texte (couleur WeeChat) et de fond (couleur étendue).
|
| [hex]#19# + `*` + `(ATTR)STD` + `,` + `EXT` ^(1)^ | [hex]#19# `+*01,@00214+` | chat + barres | Définir la couleur de texte (couleur WeeChat) et de fond (couleur étendue).
|
||||||
| [hex]#19# + `*` + `(ATTR)EXT` + `,` + `STD` ^(1)^ | [hex]#19# `+*@00214,05+` | chat + barres | Définir la couleur de texte (couleur étendue) et de fond (couleur WeeChat).
|
| [hex]#19# + `*` + `(ATTR)EXT` + `,` + `STD` ^(1)^ | [hex]#19# `+*@00214,05+` | chat + barres | Définir la couleur de texte (couleur étendue) et de fond (couleur WeeChat).
|
||||||
| [hex]#19# + `*` + `(ATTR)EXT` + `,` + `EXT` ^(1)^ | [hex]#19# `+*@00214,@00017+` | chat + barres | Définir la couleur de texte/fond (couleurs étendues).
|
| [hex]#19# + `*` + `(ATTR)EXT` + `,` + `EXT` ^(1)^ | [hex]#19# `+*@00214,@00017+` | chat + barres | Définir la couleur de texte/fond (couleurs étendues).
|
||||||
| [hex]#19# + `*` + `(ATTR)STD` + `~` + `STD` | [hex]#19# `+*08~05+` | chat + barres | Définir la couleur de texte/fond (couleurs WeeChat).
|
| [hex]#19# + `*` + `(ATTR)STD` + `~` + `STD` | [hex]#19# `+*08~05+` | chat + barres | Définir la couleur de texte/fond (couleurs WeeChat).
|
||||||
| [hex]#19# + `*` + `(ATTR)STD` + `~` + `EXT` | [hex]#19# `+*01~@00214+` | chat + barres | Définir la couleur de texte (couleur WeeChat) et de fond (couleur étendue).
|
| [hex]#19# + `*` + `(ATTR)STD` + `~` + `EXT` | [hex]#19# `+*01~@00214+` | chat + barres | Définir la couleur de texte (couleur WeeChat) et de fond (couleur étendue).
|
||||||
| [hex]#19# + `*` + `(ATTR)EXT` + `~` + `STD` | [hex]#19# `+*@00214~05+` | chat + barres | Définir la couleur de texte (couleur étendue) et de fond (couleur WeeChat).
|
| [hex]#19# + `*` + `(ATTR)EXT` + `~` + `STD` | [hex]#19# `+*@00214~05+` | chat + barres | Définir la couleur de texte (couleur étendue) et de fond (couleur WeeChat).
|
||||||
@@ -1133,7 +1139,7 @@ server->hook_timer_sasl = weechat_hook_timer (timeout * 1000,
|
|||||||
[[git_repository]]
|
[[git_repository]]
|
||||||
=== Dépôt Git
|
=== 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
|
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
|
branche master, le format préféré étant une "pull request" sur GitHub. Un patch
|
||||||
@@ -1152,8 +1158,8 @@ Où _composant_ est :
|
|||||||
|===
|
|===
|
||||||
| Composant | Fichiers | Description
|
| Composant | Fichiers | Description
|
||||||
|
|
||||||
| core |
|
| core
|
||||||
AUTHORS.adoc +
|
| AUTHORS.adoc +
|
||||||
ChangeLog.adoc +
|
ChangeLog.adoc +
|
||||||
Contributing.adoc +
|
Contributing.adoc +
|
||||||
.github/FUNDING.yml +
|
.github/FUNDING.yml +
|
||||||
@@ -1165,76 +1171,76 @@ Où _composant_ est :
|
|||||||
src/core/* +
|
src/core/* +
|
||||||
src/gui/* +
|
src/gui/* +
|
||||||
version.sh +
|
version.sh +
|
||||||
weechat.desktop |
|
weechat.desktop
|
||||||
cœur de WeeChat
|
| cœur de WeeChat
|
||||||
|
|
||||||
| build |
|
| build
|
||||||
autogen.sh +
|
| autogen.sh +
|
||||||
CMakeLists.txt +
|
CMakeLists.txt +
|
||||||
cmake/* +
|
cmake/* +
|
||||||
configure.ac +
|
configure.ac +
|
||||||
Makefile.am +
|
Makefile.am +
|
||||||
tools/* +
|
tools/* +
|
||||||
weechat.cygport.in +
|
weechat.cygport.in +
|
||||||
weechat.spec |
|
weechat.spec
|
||||||
Construction
|
| Construction
|
||||||
|
|
||||||
| ci |
|
| ci
|
||||||
.github/workflows/* |
|
| .github/workflows/*
|
||||||
Intégration continue
|
| Intégration continue
|
||||||
|
|
||||||
| debian |
|
| debian
|
||||||
debian-devel/* +
|
| debian-devel/* +
|
||||||
debian-stable/* |
|
debian-stable/*
|
||||||
Empaquetage Debian
|
| Empaquetage Debian
|
||||||
|
|
||||||
| tests |
|
| tests
|
||||||
tests/* |
|
| tests/*
|
||||||
Tests
|
| Tests
|
||||||
|
|
||||||
| doc |
|
| doc
|
||||||
doc/* |
|
| doc/*
|
||||||
Mises à jour générales sur la documentation, par exemple la construction
|
| Mises à jour générales sur la documentation, par exemple la construction
|
||||||
|
|
||||||
| doc/man |
|
| doc/man
|
||||||
doc/xx/weechat.1.xx.adoc +
|
| doc/xx/weechat.1.xx.adoc +
|
||||||
doc/xx/weechat-headless.1.xx.adoc |
|
doc/xx/weechat-headless.1.xx.adoc
|
||||||
Pages de manuel
|
| Pages de manuel
|
||||||
|
|
||||||
| doc/faq |
|
| doc/faq
|
||||||
doc/xx/weechat_faq.xx.adoc |
|
| doc/xx/weechat_faq.xx.adoc
|
||||||
Questions fréquemment posées (FAQ)
|
| Questions fréquemment posées (FAQ)
|
||||||
|
|
||||||
| doc/quickstart |
|
| doc/quickstart
|
||||||
doc/xx/weechat_quickstart.xx.adoc |
|
| doc/xx/weechat_quickstart.xx.adoc
|
||||||
Guide de démarrage rapide
|
| Guide de démarrage rapide
|
||||||
|
|
||||||
| doc/user |
|
| doc/user
|
||||||
doc/xx/weechat_user.xx.adoc |
|
| doc/xx/weechat_user.xx.adoc
|
||||||
Guide utilisateur
|
| Guide utilisateur
|
||||||
|
|
||||||
| doc/scripting |
|
| doc/scripting
|
||||||
doc/xx/weechat_scripting.xx.adoc |
|
| doc/xx/weechat_scripting.xx.adoc
|
||||||
Guide pour scripts
|
| Guide pour scripts
|
||||||
|
|
||||||
| doc/api |
|
| doc/api
|
||||||
doc/xx/weechat_plugin_api.xx.adoc |
|
| doc/xx/weechat_plugin_api.xx.adoc
|
||||||
Référence extension API
|
| Référence extension API
|
||||||
|
|
||||||
| doc/relay |
|
| doc/relay
|
||||||
doc/xx/weechat_relay_protocol.xx.adoc |
|
| doc/xx/weechat_relay_protocol.xx.adoc
|
||||||
Protocole relay
|
| Protocole relay
|
||||||
|
|
||||||
| doc/dev |
|
| doc/dev
|
||||||
doc/xx/weechat_dev.en.adoc |
|
| doc/xx/weechat_dev.en.adoc
|
||||||
Guide du développeur
|
| Guide du développeur
|
||||||
|
|
||||||
| irc +
|
| irc +
|
||||||
python +
|
python +
|
||||||
relay +
|
relay +
|
||||||
… |
|
…
|
||||||
src/plugins/<name>/* |
|
| src/plugins/<name>/*
|
||||||
Extension
|
| Extension
|
||||||
|
|
||||||
|===
|
|===
|
||||||
|
|
||||||
@@ -1285,8 +1291,8 @@ $ make translations && make update-po
|
|||||||
Vous pouvez alors éditer les fichiers .po (si vous pouvez traduire dans une
|
Vous pouvez alors éditer les fichiers .po (si vous pouvez traduire dans une
|
||||||
langue).
|
langue).
|
||||||
|
|
||||||
Une fois terminé, vous *devez* vérifier votre fichier avec le script
|
Une fois terminé, vous *devez* vérifier votre fichier avec
|
||||||
_msgcheck.py_ (https://github.com/flashcode/msgcheck) :
|
https://github.com/flashcode/msgcheck[msgcheck ^↗^,window=_blank] :
|
||||||
|
|
||||||
----
|
----
|
||||||
$ msgcheck.py xx.po
|
$ 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.
|
Parce que WeeChat est très léger et apporte des fonctionnalités innovantes.
|
||||||
|
|
||||||
Plus d'infos sur la page des fonctionnalités WeeChat :
|
Plus d'infos sur la
|
||||||
https://weechat.org/about/features
|
https://weechat.org/about/features/[page des fonctionnalités ^↗^,window=_blank]
|
||||||
|
WeeChat.
|
||||||
|
|
||||||
|
|
||||||
[[compilation_install]]
|
[[compilation_install]]
|
||||||
== Compilation / installation
|
== Compilation / installation
|
||||||
@@ -41,16 +43,16 @@ https://weechat.org/about/features
|
|||||||
[[gui]]
|
[[gui]]
|
||||||
=== J'ai entendu parler de plusieurs interfaces pour WeeChat. Comment puis-je les compiler/utiliser ?
|
=== 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
|
Des interfaces distantes sont disponibles, voir la
|
||||||
distantes : https://weechat.org/about/interfaces
|
https://weechat.org/about/interfaces/[page avec les interfaces distantes ^↗^,window=_blank].
|
||||||
|
|
||||||
[[compile_git]]
|
[[compile_git]]
|
||||||
=== Je ne peux pas compiler WeeChat après avoir cloné la base git, pourquoi ?
|
=== 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
|
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
|
(et non CMake), vérifiez que vous avez bien la dernière version d'autoconf et
|
||||||
automake.
|
automake.
|
||||||
|
|
||||||
@@ -63,8 +65,8 @@ mises à jour.
|
|||||||
[[compile_macos]]
|
[[compile_macos]]
|
||||||
=== Comment puis-je installer WeeChat sous macOS ?
|
=== Comment puis-je installer WeeChat sous macOS ?
|
||||||
|
|
||||||
Il est recommandé d'utiliser https://brew.sh/[Homebrew], vous pouvez avoir de
|
Il est recommandé d'utiliser https://brew.sh/[Homebrew ^↗^,window=_blank],
|
||||||
l'aide avec :
|
vous pouvez avoir de l'aide avec :
|
||||||
|
|
||||||
----
|
----
|
||||||
brew info weechat
|
brew info weechat
|
||||||
@@ -80,12 +82,12 @@ brew install weechat
|
|||||||
=== J'ai lancé WeeChat, mais je suis perdu, que puis-je faire ?
|
=== 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
|
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
|
`/help commande`. Les link:weechat_user.fr.html#key_bindings[touches ^↗^,window=_blank] et
|
||||||
link:weechat_user.fr.html#commands_and_options[commandes] sont listées dans la
|
link:weechat_user.fr.html#commands_and_options[commandes ^↗^,window=_blank] sont listées dans la
|
||||||
documentation.
|
documentation.
|
||||||
|
|
||||||
Il est recommandé pour les nouveaux utilisateurs de lire le
|
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]]
|
[[display]]
|
||||||
== Affichage
|
== 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
|
** Si vous utilisez screen, vérifiez qu'il est lancé en mode UTF-8
|
||||||
("`defutf8 on`" dans ~/.screenrc ou `screen -U` pour lancer screen).
|
("`defutf8 on`" dans ~/.screenrc ou `screen -U` pour lancer screen).
|
||||||
* Vérifiez que l'option
|
* 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).
|
est désactivée (cette option peut causer des problèmes d'affichage).
|
||||||
|
|
||||||
[NOTE]
|
[NOTE]
|
||||||
@@ -133,10 +135,10 @@ devrait être corrigé dans la glibc 2.22 (peut-être pas encore disponible dans
|
|||||||
votre distribution).
|
votre distribution).
|
||||||
|
|
||||||
Il y a un moyen de contournement pour utiliser la fonction _wcwidth_ corrigée :
|
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 :
|
Voir ce https://github.com/weechat/weechat/issues/79[rapport de bug ^↗^,window=_blank]
|
||||||
https://github.com/weechat/weechat/issues/79
|
pour plus d'informations.
|
||||||
|
|
||||||
[[bars_background]]
|
[[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 ?
|
=== 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]]
|
[[buffers_list]]
|
||||||
=== Comment afficher la liste des tampons sur la gauche ?
|
=== 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.
|
est chargée et activée par défaut.
|
||||||
|
|
||||||
Avec une version plus ancienne, vous pouvez installer le script _buffers.pl_ :
|
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,
|
L'extension buflist met à disposition beaucoup d'options que vous pouvez changer,
|
||||||
merci de lire l'aide sur chaque option.
|
merci de lire l'aide sur chaque option.
|
||||||
|
|
||||||
Il y a aussi une page wiki avec des examples avancés de configuration buflist :
|
Il y a aussi une https://github.com/weechat/weechat/wiki/buflist[page wiki ^↗^,window=_blank]
|
||||||
https://github.com/weechat/weechat/wiki/buflist
|
avec des exemples avancés de configuration buflist.
|
||||||
|
|
||||||
[[customize_prefix]]
|
[[customize_prefix]]
|
||||||
=== Comment puis-je réduire la longueur des pseudos ou supprimer l'alignement des pseudos dans la zone de discussion ?
|
=== 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
|
Les autres options pour la "hotlist" peuvent être changées via les options
|
||||||
__weechat.look.hotlist_*__.
|
__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".
|
pour plus d'information sur la "hotlist".
|
||||||
|
|
||||||
[[input_bar_size]]
|
[[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
|
options (facultatif : vous pouvez ajouter des alias de couleurs avec la commande
|
||||||
`/color`).
|
`/color`).
|
||||||
|
|
||||||
Merci de lire le link:weechat_user.fr.html#colors[Guide utilisateur / Couleurs] pour
|
Merci de lire le link:weechat_user.fr.html#colors[Guide utilisateur / Couleurs ^↗^,window=_blank]
|
||||||
plus d'information sur la gestion des couleurs.
|
pour plus d'information sur la gestion des couleurs.
|
||||||
|
|
||||||
[[search_text]]
|
[[search_text]]
|
||||||
=== Comment puis-je chercher du texte dans le tampon (comme /lastlog dans irssi) ?
|
=== 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+`).
|
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].
|
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é.
|
pour plus d'information sur cette fonctionnalité.
|
||||||
|
|
||||||
[[terminal_focus]]
|
[[terminal_focus]]
|
||||||
@@ -667,7 +669,7 @@ Vous pouvez définir une touche, par exemple :
|
|||||||
----
|
----
|
||||||
|
|
||||||
La liste des touches par défaut est dans le
|
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
|
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 :
|
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 :
|
Pour tous les serveurs :
|
||||||
|
|
||||||
----
|
----
|
||||||
/set irc.server_default.autojoin_record on
|
/set irc.server_default.autojoin_dynamic on
|
||||||
----
|
----
|
||||||
|
|
||||||
Pour un seul serveur :
|
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
|
Avec WeeChat ≥ 3.5, vous pouvez aussi ajouter le canal coucant dans l'option
|
||||||
l'autojoin, par exemple pour le serveur libera :
|
"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]
|
/set irc.server.libera.autojoin [TAB]
|
||||||
@@ -889,7 +904,7 @@ des canaux :
|
|||||||
/fset autojoin
|
/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
|
/script search autojoin
|
||||||
@@ -933,7 +948,7 @@ Avec un filtre global (pour cacher *tous* les join/part/quit) :
|
|||||||
|
|
||||||
[NOTE]
|
[NOTE]
|
||||||
Pour l'aide : `/help filter`, `+/help irc.look.smart_filter+` et voir
|
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]]
|
[[filter_irc_join_channel_messages]]
|
||||||
=== Comment puis-je filtrer certains messages affichés quand je rejoins un canal IRC ?
|
=== 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 ?
|
=== 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
|
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,
|
pour définir le niveau maximum de hotlist pour certains pseudos, par tampon,
|
||||||
ou groupe de tampons (comme des serveurs IRC).
|
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
|
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
|
`/help secure` et `/help` sur les options (si vous pouvez utiliser les données
|
||||||
sécurisées, cela est mentionné dans l'aide).
|
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 :
|
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
|
des mots de passes (s'ils ne sont pas stockés dans _sec.conf_ avec la commande
|
||||||
`/secure`).
|
`/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.
|
pour plus d'informations sur les fichiers de configuration.
|
||||||
|
|
||||||
[[development]]
|
[[development]]
|
||||||
@@ -1282,7 +1297,7 @@ pour plus d'informations sur les fichiers de configuration.
|
|||||||
[[bug_task_patch]]
|
[[bug_task_patch]]
|
||||||
=== Comment puis-je reporter un bug, demander une nouvelle fonctionnalité ou envoyer un 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]]
|
[[gdb_error_threads]]
|
||||||
=== Quand je lance WeeChat sous gdb, il y a une erreur à propos des threads, que puis-je faire ?
|
=== 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.)
|
Il y a plusieurs choses à faire (test, code, documentation, etc.)
|
||||||
|
|
||||||
Merci de prendre contact avec nous par IRC ou mail, consultez la page
|
Merci de prendre contact avec nous par IRC ou mail, consultez la
|
||||||
support : https://weechat.org/about/support
|
https://weechat.org/about/support/[page support ^↗^,window=_blank].
|
||||||
|
|
||||||
[[donate]]
|
[[donate]]
|
||||||
=== Puis-je donner de l'argent ou d'autres choses aux développeurs WeeChat ?
|
=== 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.
|
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].
|
||||||
|
|||||||
+1358
-1174
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"
|
/set irc.server.libera.autojoin "#canal1,#canal2"
|
||||||
----
|
----
|
||||||
|
|
||||||
[TIP]
|
La commande `/autojoin` vous permet de configurer l'option _autojoin_ facilement
|
||||||
Vous pouvez compléter le nom et la valeur des options avec la touche kbd:[Tab]
|
(voir `/help autojoin`).
|
||||||
et kbd:[Shift+Tab] pour une complétion partielle (utile pour les mots longs
|
|
||||||
comme le nom de l'option).
|
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
|
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
|
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
|
/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]]
|
[[connect_to_irc_server]]
|
||||||
== Se connecter au serveur IRC
|
== Se connecter au serveur IRC
|
||||||
|
|
||||||
@@ -380,13 +390,14 @@ par exemple :
|
|||||||
|
|
||||||
Voir `/help script` pour plus d'infos.
|
Voir `/help script` pour plus d'infos.
|
||||||
|
|
||||||
Une liste des scripts est disponible avec `/script` ou à cette URL :
|
Une liste des scripts est disponible avec `/script` ou sur
|
||||||
https://weechat.org/scripts
|
https://weechat.org/scripts/[cette page ^↗^,window=_blank].
|
||||||
|
|
||||||
[[more_doc]]
|
[[more_doc]]
|
||||||
== Plus de documentation
|
== Plus de documentation
|
||||||
|
|
||||||
Vous pouvez maintenant utiliser WeeChat et lire la FAQ/documentation pour
|
Vous pouvez maintenant utiliser WeeChat et lire la
|
||||||
toute autre question : https://weechat.org/doc
|
https://weechat.org/doc/[FAQ/documentation ^↗^,window=_blank]
|
||||||
|
pour toute autre question.
|
||||||
|
|
||||||
Bon WeeChat !
|
Bon WeeChat !
|
||||||
|
|||||||
@@ -139,8 +139,8 @@ Paramètres :
|
|||||||
le client sont compressés pour économiser de la bande passante ;
|
le client sont compressés pour économiser de la bande passante ;
|
||||||
les valeurs autorisées sont :
|
les valeurs autorisées sont :
|
||||||
*** _off_ : pas de compression (par défaut si l'option n'est pas donnée)
|
*** _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)_
|
*** _zlib_ : compresser avec https://zlib.net/[zlib ^↗^,window=_blank] _(WeeChat ≥ 0.3.7)_
|
||||||
*** _zstd_ : compresser avec https://facebook.github.io/zstd/[Zstandard] :
|
*** _zstd_ : compresser avec https://facebook.github.io/zstd/[Zstandard ^↗^,window=_blank] :
|
||||||
meilleure compression et bien plus rapide que _zlib_ pour la compression et
|
meilleure compression et bien plus rapide que _zlib_ pour la compression et
|
||||||
la décompression _(WeeChat ≥ 3.5)_
|
la décompression _(WeeChat ≥ 3.5)_
|
||||||
|
|
||||||
@@ -185,8 +185,8 @@ suivantes :
|
|||||||
hachage du mot de passe)
|
hachage du mot de passe)
|
||||||
* _compression_ : type de compression :
|
* _compression_ : type de compression :
|
||||||
** _off_ : les messages ne sont pas compressés
|
** _off_ : les messages ne sont pas compressés
|
||||||
** _zlib_ : les messages sont compressés avec https://zlib.net/[zlib]
|
** _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]
|
** _zstd_ : les messages sont compressés avec https://facebook.github.io/zstd/[Zstandard ^↗^,window=_blank]
|
||||||
|
|
||||||
[TIP]
|
[TIP]
|
||||||
Avec WeeChat ≤ 2.8, la commande _handshake_ n'est pas implémentée, WeeChat ignore
|
Avec WeeChat ≤ 2.8, la commande _handshake_ n'est pas implémentée, WeeChat ignore
|
||||||
@@ -287,7 +287,7 @@ htb: {
|
|||||||
[[command_init]]
|
[[command_init]]
|
||||||
=== 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_.
|
S'authentifier avec _relay_.
|
||||||
|
|
||||||
@@ -704,6 +704,8 @@ inl:
|
|||||||
text_search_found: 0
|
text_search_found: 0
|
||||||
text_search_input: None
|
text_search_input: None
|
||||||
highlight_words: None
|
highlight_words: None
|
||||||
|
highlight_disable_regex: None
|
||||||
|
highlight_disable_regex_compiled: '0x0'
|
||||||
highlight_regex: None
|
highlight_regex: None
|
||||||
highlight_regex_compiled: '0x0'
|
highlight_regex_compiled: '0x0'
|
||||||
highlight_tags_restrict: None
|
highlight_tags_restrict: None
|
||||||
@@ -1401,8 +1403,8 @@ suivant (avec la taille en octets) :
|
|||||||
(en incluant ce champ)
|
(en incluant ce champ)
|
||||||
* _compression_ (octet) : drapeau :
|
* _compression_ (octet) : drapeau :
|
||||||
** _0x00_ : les données qui suivent ne sont pas compressées
|
** _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]
|
** _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]
|
** _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
|
* _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
|
(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
|
de zéro sans contenu) si l'identifiant n'était pas donné dans la commande
|
||||||
@@ -1413,7 +1415,8 @@ suivant (avec la taille en octets) :
|
|||||||
=== Compression
|
=== Compression
|
||||||
|
|
||||||
Si le drapeau de _compression_ est égal à 0x01 ou 0x02, alors *toutes* les données
|
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.
|
et par conséquent doivent être décompressées avant d'être utilisées.
|
||||||
|
|
||||||
[[message_identifier]]
|
[[message_identifier]]
|
||||||
@@ -1431,68 +1434,68 @@ Les identifiants réservés par WeeChat :
|
|||||||
|
|
||||||
[width="100%",cols="5m,5,3,4,7",options="header"]
|
[width="100%",cols="5m,5,3,4,7",options="header"]
|
||||||
|===
|
|===
|
||||||
| Identifiant | Reçu avec _sync_ | Données envoyées |
|
| Identifiant | Reçu avec _sync_ | Données envoyées
|
||||||
Description | Action recommandée dans le client
|
| Description | Action recommandée dans le client
|
||||||
|
|
||||||
| _buffer_opened | buffers / buffer | hdata : buffer |
|
| _buffer_opened | buffers / buffer | hdata : buffer
|
||||||
Tampon ouvert. | Ouvrir le tampon.
|
| Tampon ouvert. | Ouvrir le tampon.
|
||||||
|
|
||||||
| _buffer_type_changed | buffers / buffer | hdata : buffer |
|
| _buffer_type_changed | buffers / buffer | hdata : buffer
|
||||||
Type de tampon changé. | Changer le type de tampon.
|
| Type de tampon changé. | Changer le type de tampon.
|
||||||
|
|
||||||
| _buffer_moved | buffers / buffer | hdata : buffer |
|
| _buffer_moved | buffers / buffer | hdata : buffer
|
||||||
Tampon déplacé. | Déplacer le tampon.
|
| Tampon déplacé. | Déplacer le tampon.
|
||||||
|
|
||||||
| _buffer_merged | buffers / buffer | hdata : buffer |
|
| _buffer_merged | buffers / buffer | hdata : buffer
|
||||||
Tampon mélangé. | Mélanger le tampon.
|
| Tampon mélangé. | Mélanger le tampon.
|
||||||
|
|
||||||
| _buffer_unmerged | buffers / buffer | hdata : buffer |
|
| _buffer_unmerged | buffers / buffer | hdata : buffer
|
||||||
Tampon sorti du mélange. | Sortir le tampon du mélange.
|
| Tampon sorti du mélange. | Sortir le tampon du mélange.
|
||||||
|
|
||||||
| _buffer_hidden | buffers / buffer | hdata : buffer |
|
| _buffer_hidden | buffers / buffer | hdata : buffer
|
||||||
Tampon masqué. | Masquer le le tampon.
|
| Tampon masqué. | Masquer le le tampon.
|
||||||
|
|
||||||
| _buffer_unmerged | buffers / buffer | hdata : buffer |
|
| _buffer_unmerged | buffers / buffer | hdata : buffer
|
||||||
Tampon démasqué. | Démasquer le tampon.
|
| Tampon démasqué. | Démasquer le tampon.
|
||||||
|
|
||||||
| _buffer_renamed | buffers / buffer | hdata : buffer |
|
| _buffer_renamed | buffers / buffer | hdata : buffer
|
||||||
Tampon renommé. | Renommer le tampon.
|
| Tampon renommé. | Renommer le tampon.
|
||||||
|
|
||||||
| _buffer_title_changed | buffers / buffer | hdata : buffer |
|
| _buffer_title_changed | buffers / buffer | hdata : buffer
|
||||||
Titre du tampon changé. | Changer le titre du tampon.
|
| Titre du tampon changé. | Changer le titre du tampon.
|
||||||
|
|
||||||
| _buffer_localvar_added | buffers / buffer | hdata : buffer |
|
| _buffer_localvar_added | buffers / buffer | hdata : buffer
|
||||||
Variable locale ajoutée. | Ajouter la variable locale dans le tampon.
|
| Variable locale ajoutée. | Ajouter la variable locale dans le tampon.
|
||||||
|
|
||||||
| _buffer_localvar_changed | buffers / buffer | hdata : buffer |
|
| _buffer_localvar_changed | buffers / buffer | hdata : buffer
|
||||||
Variable locale changée. | Changer la variable locale dans le tampon.
|
| Variable locale changée. | Changer la variable locale dans le tampon.
|
||||||
|
|
||||||
| _buffer_localvar_removed | buffers / buffer | hdata : buffer |
|
| _buffer_localvar_removed | buffers / buffer | hdata : buffer
|
||||||
Variable locale supprimée. | Supprimer la variable locale du tampon.
|
| Variable locale supprimée. | Supprimer la variable locale du tampon.
|
||||||
|
|
||||||
| _buffer_closing | buffers / buffer | hdata : buffer |
|
| _buffer_closing | buffers / buffer | hdata : buffer
|
||||||
Tampon qui se ferme. | Fermer le tampon.
|
| Tampon qui se ferme. | Fermer le tampon.
|
||||||
|
|
||||||
| _buffer_cleared | buffer | hdata : buffer |
|
| _buffer_cleared | buffer | hdata : buffer
|
||||||
Tampon qui est vidé. | Vider le tampon.
|
| Tampon qui est vidé. | Vider le tampon.
|
||||||
|
|
||||||
| _buffer_line_added | buffer | hdata : line |
|
| _buffer_line_added | buffer | hdata : line
|
||||||
Ligne ajoutée dans le tampon. | Afficher la ligne dans le tampon.
|
| Ligne ajoutée dans le tampon. | Afficher la ligne dans le tampon.
|
||||||
|
|
||||||
| _nicklist | nicklist | hdata : nicklist_item |
|
| _nicklist | nicklist | hdata : nicklist_item
|
||||||
Liste de pseudos pour un tampon. | Remplacer la liste de pseudos.
|
| Liste de pseudos pour un tampon. | Remplacer la liste de pseudos.
|
||||||
|
|
||||||
| _nicklist_diff | nicklist | hdata : nicklist_item |
|
| _nicklist_diff | nicklist | hdata : nicklist_item
|
||||||
Différence de liste de pseudos pour un tampon . | Mettre à jour la liste de pseudos.
|
| Différence de liste de pseudos pour un tampon . | Mettre à jour la liste de pseudos.
|
||||||
|
|
||||||
| _pong | (always) | chaîne : paramètres du ping |
|
| _pong | (always) | chaîne : paramètres du ping
|
||||||
Réponse à un "ping". | Mesurer le temps de réponse.
|
| Réponse à un "ping". | Mesurer le temps de réponse.
|
||||||
|
|
||||||
| _upgrade | upgrade | (vide) |
|
| _upgrade | upgrade | (vide)
|
||||||
WeeChat se met à jour. | Se désynchroniser de WeeChat (ou quitter).
|
| WeeChat se met à jour. | Se désynchroniser de WeeChat (ou quitter).
|
||||||
|
|
||||||
| _upgrade_ended | upgrade | (vide) |
|
| _upgrade_ended | upgrade | (vide)
|
||||||
WeeChat a été mis à jour. | (Re)synchroniser avec WeeChat.
|
| WeeChat a été mis à jour. | (Re)synchroniser avec WeeChat.
|
||||||
|===
|
|===
|
||||||
|
|
||||||
[[message_buffer_opened]]
|
[[message_buffer_opened]]
|
||||||
|
|||||||
+135
-123
@@ -13,8 +13,8 @@
|
|||||||
Ce manuel documente le client de messagerie instantanée WeeChat, il fait
|
Ce manuel documente le client de messagerie instantanée WeeChat, il fait
|
||||||
partie de WeeChat.
|
partie de WeeChat.
|
||||||
|
|
||||||
La dernière version de ce document peut être téléchargée sur cette page :
|
La dernière version de ce document peut être téléchargée sur
|
||||||
https://weechat.org/doc
|
https://weechat.org/doc/[cette page ^↗^,window=_blank].
|
||||||
|
|
||||||
|
|
||||||
[[introduction]]
|
[[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
|
peut être utilisée. Voir l'exemple dans le chapitre
|
||||||
<<hook_process,Lancer un processus en tâche de fond>> et la documentation sur
|
<<hook_process,Lancer un processus en tâche de fond>> et la documentation sur
|
||||||
la fonction `+hook_process+` dans la
|
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]]
|
[[languages_specificities]]
|
||||||
=== Spécificités des langages
|
=== 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`. +
|
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 :
|
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]]
|
[[python_functions]]
|
||||||
===== Fonctions
|
===== Fonctions
|
||||||
@@ -107,38 +107,38 @@ pas exhaustive) :
|
|||||||
|===
|
|===
|
||||||
| Fonction API | Paramètres | Exemples | Description
|
| Fonction API | Paramètres | Exemples | Description
|
||||||
|
|
||||||
| hook_modifier |
|
| hook_modifier
|
||||||
irc_in_yyy |
|
| irc_in_yyy
|
||||||
pass:[irc_in_privmsg] +
|
| pass:[irc_in_privmsg] +
|
||||||
pass:[irc_in_notice] |
|
pass:[irc_in_notice]
|
||||||
Un message reçu dans l'extension IRC, avant qu'il ne soit décodé vers UTF-8. +
|
| 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
|
Il est recommandé d'utiliser plutôt le modificateur `+irc_in2_yyy+`, la chaîne
|
||||||
reçue sera toujours valide UTF-8. +
|
reçue sera toujours valide UTF-8. +
|
||||||
Voir la fonction `+hook_modifier+` dans la
|
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 |
|
| hook_signal
|
||||||
xxx,irc_out_yyy +
|
| xxx,irc_out_yyy +
|
||||||
xxx,irc_outtags_yyy |
|
xxx,irc_outtags_yyy
|
||||||
pass:[*,irc_out_privmsg] +
|
| pass:[*,irc_out_privmsg] +
|
||||||
pass:[*,irc_out_notice] +
|
pass:[*,irc_out_notice] +
|
||||||
pass:[*,irc_outtags_privmsg] +
|
pass:[*,irc_outtags_privmsg] +
|
||||||
pass:[*,irc_outtags_notice] |
|
pass:[*,irc_outtags_notice]
|
||||||
Un message envoyé par l'extension IRC, après encodage vers le jeu de caractères
|
| 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
|
`encode` défini par l'utilisateur (si différent de `UTF-8`, qui est la valeur
|
||||||
par défaut). +
|
par défaut). +
|
||||||
+
|
+
|
||||||
Il est recommandé d'utiliser plutôt le signal `+xxx,irc_out1_yyy+`, la chaîne
|
Il est recommandé d'utiliser plutôt le signal `+xxx,irc_out1_yyy+`, la chaîne
|
||||||
reçue sera toujours valide UTF-8. +
|
reçue sera toujours valide UTF-8. +
|
||||||
Voir la fonction `+hook_signal+` dans la
|
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 +
|
||||||
hook_process_hashtable |
|
hook_process_hashtable
|
||||||
- |
|
| -
|
||||||
- |
|
| -
|
||||||
La sortie de la commande, envoyée à la fonction de rappel, peut contenir des
|
| La sortie de la commande, envoyée à la fonction de rappel, peut contenir des
|
||||||
données invalides UTF-8.
|
données invalides UTF-8.
|
||||||
|
|
||||||
|===
|
|===
|
||||||
@@ -389,7 +389,7 @@ dans le répertoire _autoload_ est automatiquement créé.
|
|||||||
== Différences avec l'API C
|
== Différences avec l'API C
|
||||||
|
|
||||||
L'API script est quasiment identique à 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
|
pour le détail de chaque fonction de l'API : prototype, paramètres, valeurs
|
||||||
de retour, exemples.
|
de retour, exemples.
|
||||||
|
|
||||||
@@ -563,7 +563,7 @@ weechat_hook_timer(1000, 0, 1, $timer_cb, 'test');
|
|||||||
== API script
|
== API script
|
||||||
|
|
||||||
Pour plus d'informations sur les fonctions de l'API, merci de consulter la
|
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]]
|
[[script_api_functions]]
|
||||||
=== Fonctions
|
=== Fonctions
|
||||||
@@ -574,14 +574,14 @@ Liste des fonctions de l'API script :
|
|||||||
|===
|
|===
|
||||||
| Catégorie | Fonctions
|
| Catégorie | Fonctions
|
||||||
|
|
||||||
| général |
|
| général
|
||||||
register
|
| register
|
||||||
|
|
||||||
| extensions |
|
| extensions
|
||||||
plugin_get_name
|
| plugin_get_name
|
||||||
|
|
||||||
| chaînes |
|
| chaînes
|
||||||
charset_set +
|
| charset_set +
|
||||||
iconv_to_internal +
|
iconv_to_internal +
|
||||||
iconv_from_internal +
|
iconv_from_internal +
|
||||||
gettext +
|
gettext +
|
||||||
@@ -593,6 +593,7 @@ Liste des fonctions de l'API script :
|
|||||||
string_has_highlight_regex +
|
string_has_highlight_regex +
|
||||||
string_mask_to_regex +
|
string_mask_to_regex +
|
||||||
string_format_size +
|
string_format_size +
|
||||||
|
string_parse_size +
|
||||||
string_color_code_size +
|
string_color_code_size +
|
||||||
string_remove_color +
|
string_remove_color +
|
||||||
string_is_command_char +
|
string_is_command_char +
|
||||||
@@ -600,13 +601,13 @@ Liste des fonctions de l'API script :
|
|||||||
string_eval_expression +
|
string_eval_expression +
|
||||||
string_eval_path_home
|
string_eval_path_home
|
||||||
|
|
||||||
| répertoires |
|
| répertoires
|
||||||
mkdir_home +
|
| mkdir_home +
|
||||||
mkdir +
|
mkdir +
|
||||||
mkdir_parents
|
mkdir_parents
|
||||||
|
|
||||||
| listes triées |
|
| listes triées
|
||||||
list_new +
|
| list_new +
|
||||||
list_add +
|
list_add +
|
||||||
list_search +
|
list_search +
|
||||||
list_search_pos +
|
list_search_pos +
|
||||||
@@ -622,8 +623,8 @@ Liste des fonctions de l'API script :
|
|||||||
list_remove_all +
|
list_remove_all +
|
||||||
list_free
|
list_free
|
||||||
|
|
||||||
| fichiers de configuration |
|
| fichiers de configuration
|
||||||
config_new +
|
| config_new +
|
||||||
config_new_section +
|
config_new_section +
|
||||||
config_search_section +
|
config_search_section +
|
||||||
config_new_option +
|
config_new_option +
|
||||||
@@ -660,12 +661,12 @@ Liste des fonctions de l'API script :
|
|||||||
config_set_desc_plugin +
|
config_set_desc_plugin +
|
||||||
config_unset_plugin
|
config_unset_plugin
|
||||||
|
|
||||||
| associations de touches |
|
| associations de touches
|
||||||
key_bind +
|
| key_bind +
|
||||||
key_unbind
|
key_unbind
|
||||||
|
|
||||||
| affichage |
|
| affichage
|
||||||
prefix +
|
| prefix +
|
||||||
color +
|
color +
|
||||||
print (pour python : prnt) +
|
print (pour python : prnt) +
|
||||||
print_date_tags (pour python : prnt_date_tags) +
|
print_date_tags (pour python : prnt_date_tags) +
|
||||||
@@ -673,8 +674,8 @@ Liste des fonctions de l'API script :
|
|||||||
print_y_date_tags (pour python : prnt_y_date_tags) +
|
print_y_date_tags (pour python : prnt_y_date_tags) +
|
||||||
log_print
|
log_print
|
||||||
|
|
||||||
| hooks |
|
| hooks
|
||||||
hook_command +
|
| hook_command +
|
||||||
hook_command_run +
|
hook_command_run +
|
||||||
hook_timer +
|
hook_timer +
|
||||||
hook_fd +
|
hook_fd +
|
||||||
@@ -699,8 +700,8 @@ Liste des fonctions de l'API script :
|
|||||||
unhook +
|
unhook +
|
||||||
unhook_all
|
unhook_all
|
||||||
|
|
||||||
| tampons |
|
| tampons
|
||||||
buffer_new +
|
| buffer_new +
|
||||||
buffer_new_props +
|
buffer_new_props +
|
||||||
current_buffer +
|
current_buffer +
|
||||||
buffer_search +
|
buffer_search +
|
||||||
@@ -716,16 +717,16 @@ Liste des fonctions de l'API script :
|
|||||||
buffer_string_replace_local_var +
|
buffer_string_replace_local_var +
|
||||||
buffer_match_list
|
buffer_match_list
|
||||||
|
|
||||||
| fenêtres |
|
| fenêtres
|
||||||
current_window +
|
| current_window +
|
||||||
window_search_with_buffer +
|
window_search_with_buffer +
|
||||||
window_get_integer +
|
window_get_integer +
|
||||||
window_get_string +
|
window_get_string +
|
||||||
window_get_pointer +
|
window_get_pointer +
|
||||||
window_set_title
|
window_set_title
|
||||||
|
|
||||||
| liste des pseudos |
|
| liste des pseudos
|
||||||
nicklist_add_group +
|
| nicklist_add_group +
|
||||||
nicklist_search_group +
|
nicklist_search_group +
|
||||||
nicklist_add_nick +
|
nicklist_add_nick +
|
||||||
nicklist_search_nick +
|
nicklist_search_nick +
|
||||||
@@ -741,8 +742,8 @@ Liste des fonctions de l'API script :
|
|||||||
nicklist_nick_get_pointer +
|
nicklist_nick_get_pointer +
|
||||||
nicklist_nick_set
|
nicklist_nick_set
|
||||||
|
|
||||||
| barres |
|
| barres
|
||||||
bar_item_search +
|
| bar_item_search +
|
||||||
bar_item_new +
|
bar_item_new +
|
||||||
bar_item_update +
|
bar_item_update +
|
||||||
bar_item_remove +
|
bar_item_remove +
|
||||||
@@ -752,23 +753,23 @@ Liste des fonctions de l'API script :
|
|||||||
bar_update +
|
bar_update +
|
||||||
bar_remove
|
bar_remove
|
||||||
|
|
||||||
| commandes |
|
| commandes
|
||||||
command +
|
| command +
|
||||||
command_options
|
command_options
|
||||||
|
|
||||||
| complétion |
|
| complétion
|
||||||
completion_new +
|
| completion_new +
|
||||||
completion_search +
|
completion_search +
|
||||||
completion_get_string +
|
completion_get_string +
|
||||||
completion_list_add +
|
completion_list_add +
|
||||||
completion_free
|
completion_free
|
||||||
|
|
||||||
| infos |
|
| infos
|
||||||
info_get +
|
| info_get +
|
||||||
info_get_hashtable
|
info_get_hashtable
|
||||||
|
|
||||||
| infolists |
|
| infolists
|
||||||
infolist_new +
|
| infolist_new +
|
||||||
infolist_new_item +
|
infolist_new_item +
|
||||||
infolist_new_var_integer +
|
infolist_new_var_integer +
|
||||||
infolist_new_var_string +
|
infolist_new_var_string +
|
||||||
@@ -786,8 +787,8 @@ Liste des fonctions de l'API script :
|
|||||||
infolist_time +
|
infolist_time +
|
||||||
infolist_free
|
infolist_free
|
||||||
|
|
||||||
| hdata |
|
| hdata
|
||||||
hdata_get +
|
| hdata_get +
|
||||||
hdata_get_var_offset +
|
hdata_get_var_offset +
|
||||||
hdata_get_var_type_string +
|
hdata_get_var_type_string +
|
||||||
hdata_get_var_array_size +
|
hdata_get_var_array_size +
|
||||||
@@ -808,8 +809,8 @@ Liste des fonctions de l'API script :
|
|||||||
hdata_update +
|
hdata_update +
|
||||||
hdata_get_string
|
hdata_get_string
|
||||||
|
|
||||||
| mise à jour |
|
| mise à jour
|
||||||
upgrade_new +
|
| upgrade_new +
|
||||||
upgrade_write_object +
|
upgrade_write_object +
|
||||||
upgrade_read +
|
upgrade_read +
|
||||||
upgrade_close
|
upgrade_close
|
||||||
@@ -825,13 +826,13 @@ Liste des constantes de l'API script :
|
|||||||
|
|
||||||
| Catégorie | Constantes
|
| Catégorie | Constantes
|
||||||
|
|
||||||
| codes retour |
|
| codes retour
|
||||||
`WEECHAT_RC_OK` (entier) +
|
| `WEECHAT_RC_OK` (entier) +
|
||||||
`WEECHAT_RC_OK_EAT` (entier) +
|
`WEECHAT_RC_OK_EAT` (entier) +
|
||||||
`WEECHAT_RC_ERROR` (entier)
|
`WEECHAT_RC_ERROR` (entier)
|
||||||
|
|
||||||
| fichiers de configuration |
|
| fichiers de configuration
|
||||||
`WEECHAT_CONFIG_READ_OK` (entier) +
|
| `WEECHAT_CONFIG_READ_OK` (entier) +
|
||||||
`WEECHAT_CONFIG_READ_MEMORY_ERROR` (entier) +
|
`WEECHAT_CONFIG_READ_MEMORY_ERROR` (entier) +
|
||||||
`WEECHAT_CONFIG_READ_FILE_NOT_FOUND` (entier) +
|
`WEECHAT_CONFIG_READ_FILE_NOT_FOUND` (entier) +
|
||||||
`WEECHAT_CONFIG_WRITE_OK` (entier) +
|
`WEECHAT_CONFIG_WRITE_OK` (entier) +
|
||||||
@@ -846,23 +847,23 @@ Liste des constantes de l'API script :
|
|||||||
`WEECHAT_CONFIG_OPTION_UNSET_OK_REMOVED` (entier) +
|
`WEECHAT_CONFIG_OPTION_UNSET_OK_REMOVED` (entier) +
|
||||||
`WEECHAT_CONFIG_OPTION_UNSET_ERROR` (entier)
|
`WEECHAT_CONFIG_OPTION_UNSET_ERROR` (entier)
|
||||||
|
|
||||||
| listes triées |
|
| listes triées
|
||||||
`WEECHAT_LIST_POS_SORT` (chaîne) +
|
| `WEECHAT_LIST_POS_SORT` (chaîne) +
|
||||||
`WEECHAT_LIST_POS_BEGINNING` (chaîne) +
|
`WEECHAT_LIST_POS_BEGINNING` (chaîne) +
|
||||||
`WEECHAT_LIST_POS_END` (chaîne)
|
`WEECHAT_LIST_POS_END` (chaîne)
|
||||||
|
|
||||||
| hotlist |
|
| hotlist
|
||||||
`WEECHAT_HOTLIST_LOW` (chaîne) +
|
| `WEECHAT_HOTLIST_LOW` (chaîne) +
|
||||||
`WEECHAT_HOTLIST_MESSAGE` (chaîne) +
|
`WEECHAT_HOTLIST_MESSAGE` (chaîne) +
|
||||||
`WEECHAT_HOTLIST_PRIVATE` (chaîne) +
|
`WEECHAT_HOTLIST_PRIVATE` (chaîne) +
|
||||||
`WEECHAT_HOTLIST_HIGHLIGHT` (chaîne)
|
`WEECHAT_HOTLIST_HIGHLIGHT` (chaîne)
|
||||||
|
|
||||||
| hook process |
|
| hook process
|
||||||
`WEECHAT_HOOK_PROCESS_RUNNING` (entier) +
|
| `WEECHAT_HOOK_PROCESS_RUNNING` (entier) +
|
||||||
`WEECHAT_HOOK_PROCESS_ERROR` (entier)
|
`WEECHAT_HOOK_PROCESS_ERROR` (entier)
|
||||||
|
|
||||||
| hook connect |
|
| hook connect
|
||||||
`WEECHAT_HOOK_CONNECT_OK` (entier) +
|
| `WEECHAT_HOOK_CONNECT_OK` (entier) +
|
||||||
`WEECHAT_HOOK_CONNECT_ADDRESS_NOT_FOUND` (entier) +
|
`WEECHAT_HOOK_CONNECT_ADDRESS_NOT_FOUND` (entier) +
|
||||||
`WEECHAT_HOOK_CONNECT_IP_ADDRESS_NOT_FOUND` (entier) +
|
`WEECHAT_HOOK_CONNECT_IP_ADDRESS_NOT_FOUND` (entier) +
|
||||||
`WEECHAT_HOOK_CONNECT_CONNECTION_REFUSED` (entier) +
|
`WEECHAT_HOOK_CONNECT_CONNECTION_REFUSED` (entier) +
|
||||||
@@ -874,8 +875,8 @@ Liste des constantes de l'API script :
|
|||||||
`WEECHAT_HOOK_CONNECT_TIMEOUT` (entier) +
|
`WEECHAT_HOOK_CONNECT_TIMEOUT` (entier) +
|
||||||
`WEECHAT_HOOK_CONNECT_SOCKET_ERROR` (entier)
|
`WEECHAT_HOOK_CONNECT_SOCKET_ERROR` (entier)
|
||||||
|
|
||||||
| hook signal |
|
| hook signal
|
||||||
`WEECHAT_HOOK_SIGNAL_STRING` (chaîne) +
|
| `WEECHAT_HOOK_SIGNAL_STRING` (chaîne) +
|
||||||
`WEECHAT_HOOK_SIGNAL_INT` (chaîne) +
|
`WEECHAT_HOOK_SIGNAL_INT` (chaîne) +
|
||||||
`WEECHAT_HOOK_SIGNAL_POINTER` (chaîne)
|
`WEECHAT_HOOK_SIGNAL_POINTER` (chaîne)
|
||||||
|===
|
|===
|
||||||
@@ -885,7 +886,7 @@ Liste des constantes de l'API script :
|
|||||||
|
|
||||||
Ce chapitre montre quelques tâches courantes, avec des exemples.
|
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
|
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]]
|
[[buffers]]
|
||||||
=== Tampons
|
=== Tampons
|
||||||
@@ -1163,8 +1164,8 @@ weechat.hook_process("url:https://weechat.org/dev/info/stable/",
|
|||||||
----
|
----
|
||||||
|
|
||||||
[TIP]
|
[TIP]
|
||||||
Toutes les infos disponibles à propos de WeeChat sont sur la page
|
Toutes les infos disponibles à propos de WeeChat sont sur
|
||||||
https://weechat.org/dev/info
|
https://weechat.org/dev/info/[cette page ^↗^,window=_blank].
|
||||||
|
|
||||||
Exemple de transfert d'URL avec une option : télécharger le dernier paquet de
|
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_ :
|
développement WeeChat dans le fichier _/tmp/weechat-devel.tar.gz_ :
|
||||||
@@ -1183,7 +1184,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
|
Pour plus d'information sur le transfert d'URL et les options disponibles, voir
|
||||||
les fonctions `+hook_process+` et `+hook_process_hashtable+` dans la
|
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]]
|
||||||
=== Config / options
|
=== Config / options
|
||||||
@@ -1344,64 +1345,72 @@ Le résultat est une table de hachage avec les clés suivantes
|
|||||||
|
|
||||||
[width="100%",cols="3,^2,10,7",options="header"]
|
[width="100%",cols="3,^2,10,7",options="header"]
|
||||||
|===
|
|===
|
||||||
| Clé | Depuis WeeChat ^(1)^ | Description | Exemple
|
| Clé | Depuis WeeChat ^(1)^ | Description | Exemple
|
||||||
|
|
||||||
| tags | 0.4.0 |
|
| tags | 0.4.0
|
||||||
Les étiquettes dans le message (peut être vide). |
|
| Les étiquettes dans le message (peut être vide).
|
||||||
`+time=2015-06-27T16:40:35.000Z+`
|
| `+time=2015-06-27T16:40:35.000Z+`
|
||||||
|
|
||||||
| tag_xxx | 3.3 |
|
| tag_xxx | 3.3
|
||||||
Valeur de l'étiquette "xxx" sans les échappements (une clé par étiquette). |
|
| Valeur de l'étiquette "xxx" sans les échappements (une clé par étiquette).
|
||||||
`+2015-06-27T16:40:35.000Z+`
|
| `+2015-06-27T16:40:35.000Z+`
|
||||||
|
|
||||||
| message_without_tags | 0.4.0 |
|
| message_without_tags | 0.4.0
|
||||||
Le message sans les étiquettes (la même chose que le message s'il n'y a pas
|
| Le message sans les étiquettes (la même chose que le message s'il n'y a pas
|
||||||
d'étiquettes). |
|
d'étiquettes).
|
||||||
`+:nick!user@host PRIVMSG #weechat :hello!+`
|
| `+:nick!user@host PRIVMSG #weechat :hello!+`
|
||||||
|
|
||||||
| nick | 0.3.4 |
|
| nick | 0.3.4
|
||||||
Le pseudo d'origine. |
|
| Le pseudo d'origine.
|
||||||
`+nick+`
|
| `+nick+`
|
||||||
|
|
||||||
| user | 2.7 |
|
| user | 2.7
|
||||||
L'utilisateur d'origine. |
|
| L'utilisateur d'origine.
|
||||||
`+user+`
|
| `+user+`
|
||||||
|
|
||||||
| host | 0.3.4 |
|
| host | 0.3.4
|
||||||
L'hôte d'origine (incluant le pseudo). |
|
| L'hôte d'origine (incluant le pseudo).
|
||||||
`+nick!user@host+`
|
| `+nick!user@host+`
|
||||||
|
|
||||||
| command | 0.3.4 |
|
| command | 0.3.4
|
||||||
La commande (_PRIVMSG_, _NOTICE_, ...). |
|
| La commande (_PRIVMSG_, _NOTICE_, ...).
|
||||||
`+PRIVMSG+`
|
| `+PRIVMSG+`
|
||||||
|
|
||||||
| channel | 0.3.4 |
|
| channel | 0.3.4
|
||||||
Le canal cible. |
|
| Le canal cible.
|
||||||
`+#weechat+`
|
| `+#weechat+`
|
||||||
|
|
||||||
| arguments | 0.3.4 |
|
| arguments | 0.3.4
|
||||||
Les paramètres de la commande (incluant le canal). |
|
| Les paramètres de la commande (incluant le canal).
|
||||||
`+#weechat :hello!+`
|
| `+#weechat :hello!+`
|
||||||
|
|
||||||
| text | 1.3 |
|
| text | 1.3
|
||||||
Le texte (par exemple un message utilisateur). |
|
| Le texte (par exemple un message utilisateur).
|
||||||
`+hello!+`
|
| `+hello!+`
|
||||||
|
|
||||||
| pos_command | 1.3 |
|
| paramN | 3.4
|
||||||
La position de _command_ dans le message ("-1" si _command_ n'a pas été trouvé). |
|
| Paramètre de commande (de 1 à N).
|
||||||
`+47+`
|
| `+#weechat+`
|
||||||
|
|
||||||
| pos_arguments | 1.3 |
|
| num_params | 3.4
|
||||||
La position de _arguments_ dans le message ("-1" si _arguments_ n'a pas été trouvé). |
|
| Nombre de paramètres de commande.
|
||||||
`+55+`
|
| `+2+`
|
||||||
|
|
||||||
| pos_channel | 1.3 |
|
| pos_command | 1.3
|
||||||
La position de _channel_ dans le message ("-1" si _channel_ n'a pas été trouvé). |
|
| La position de _command_ dans le message ("-1" si _command_ n'a pas été trouvé).
|
||||||
`+55+`
|
| `+47+`
|
||||||
|
|
||||||
| pos_text | 1.3 |
|
| pos_arguments | 1.3
|
||||||
La position de _text_ dans le message ("-1" si _text_ n'a pas été trouvé). |
|
| La position de _arguments_ dans le message ("-1" si _arguments_ n'a pas été trouvé).
|
||||||
`+65+`
|
| `+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+`
|
||||||
|===
|
|===
|
||||||
|
|
||||||
[NOTE]
|
[NOTE]
|
||||||
@@ -1425,6 +1434,9 @@ dict = weechat.info_get_hashtable(
|
|||||||
# "channel": "#weechat",
|
# "channel": "#weechat",
|
||||||
# "arguments": "#weechat :hello!",
|
# "arguments": "#weechat :hello!",
|
||||||
# "text": "hello!",
|
# "text": "hello!",
|
||||||
|
# "param1": "#weechat",
|
||||||
|
# "param2": "hello!",
|
||||||
|
# "num_params": "2",
|
||||||
# "pos_command": "65",
|
# "pos_command": "65",
|
||||||
# "pos_arguments": "73",
|
# "pos_arguments": "73",
|
||||||
# "pos_channel": "73",
|
# "pos_channel": "73",
|
||||||
|
|||||||
+821
-366
File diff suppressed because it is too large
Load Diff
@@ -94,6 +94,8 @@
|
|||||||
|
|
||||||
| tcl | tcl_script | elenco degli script
|
| 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_arguments | default arguments for a hook
|
||||||
|
|
||||||
| trigger | trigger_hook_command | default command 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 | 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_value | value of an environment variable
|
||||||
|
|
||||||
| weechat | env_vars | environment variables
|
| weechat | env_vars | environment variables
|
||||||
|
|||||||
@@ -631,6 +631,8 @@ _text_search_input_ (string) +
|
|||||||
_highlight_words_ (string) +
|
_highlight_words_ (string) +
|
||||||
_highlight_regex_ (string) +
|
_highlight_regex_ (string) +
|
||||||
_highlight_regex_compiled_ (pointer) +
|
_highlight_regex_compiled_ (pointer) +
|
||||||
|
_highlight_disable_regex_ (string) +
|
||||||
|
_highlight_disable_regex_compiled_ (pointer) +
|
||||||
_highlight_tags_restrict_ (string) +
|
_highlight_tags_restrict_ (string) +
|
||||||
_highlight_tags_restrict_count_ (integer) +
|
_highlight_tags_restrict_count_ (integer) +
|
||||||
_highlight_tags_restrict_array_ (pointer, array_size: "highlight_tags_restrict_count") +
|
_highlight_tags_restrict_array_ (pointer, array_size: "highlight_tags_restrict_count") +
|
||||||
|
|||||||
@@ -128,6 +128,8 @@
|
|||||||
|
|
||||||
| weechat | uptime | WeeChat uptime (format: "days:hh:mm:ss") | "days" (number of days) or "seconds" (number of seconds) (optional)
|
| weechat | uptime | WeeChat uptime (format: "days:hh:mm:ss") | "days" (number of days) or "seconds" (number of seconds) (optional)
|
||||||
|
|
||||||
|
| weechat | uptime_current | WeeChat uptime for the current process only (upgrades with /upgrade command are ignored) (format: "days:hh:mm:ss") | "days" (number of days) or "seconds" (number of seconds) (optional)
|
||||||
|
|
||||||
| weechat | version | versione di WeeChat | -
|
| weechat | version | versione di WeeChat | -
|
||||||
|
|
||||||
| weechat | version_git | Versione git di weechat (output del comando "git describe" solo per la versione di sviluppo, vuoto per una release stabile) | -
|
| weechat | version_git | Versione git di weechat (output del comando "git describe" solo per la versione di sviluppo, vuoto per una release stabile) | -
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
// tag::url_options[]
|
// tag::url_options[]
|
||||||
[width="100%",cols="2,^1,7",options="header"]
|
[width="100%",cols="2,^1,7",options="header"]
|
||||||
|===
|
|===
|
||||||
| Opzione | Tipo ^(1)^ | Costanti ^(2)^
|
| Opzione | Tipo ^(1)^ | Costanti ^(2)^
|
||||||
|
|
||||||
| verbose | long |
|
| verbose | long |
|
||||||
|
|
||||||
|
|||||||
@@ -130,7 +130,7 @@ Examples:
|
|||||||
/autojoin add [<channel1> [<channel2>...]]
|
/autojoin add [<channel1> [<channel2>...]]
|
||||||
addraw <channel1>[,<channel2>...] [<key1>[,<key2>...]]
|
addraw <channel1>[,<channel2>...] [<key1>[,<key2>...]]
|
||||||
del [<channel1> [<channel2>...]]
|
del [<channel1> [<channel2>...]]
|
||||||
save
|
apply
|
||||||
sort
|
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
|
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
|
del: delete current channel or a list of channels from the autojoin option
|
||||||
channel: channel name
|
channel: channel name
|
||||||
key: key for the channel
|
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
|
sort: sort alphabetically channels in the autojoin option
|
||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
/autojoin add
|
/autojoin add
|
||||||
/autojoin add #test
|
/autojoin add #test
|
||||||
/autojoin add #chan1 #chan2
|
/autojoin add #chan1 #chan2
|
||||||
|
/allchan /autojoin add
|
||||||
/autojoin addraw #chan1,#chan2,#chan3 key1,key2
|
/autojoin addraw #chan1,#chan2,#chan3 key1,key2
|
||||||
/autojoin del
|
/autojoin del
|
||||||
/autojoin del #chan1
|
/autojoin del #chan1
|
||||||
/autojoin save
|
/autojoin apply
|
||||||
/autojoin sort
|
/autojoin sort
|
||||||
----
|
----
|
||||||
|
|
||||||
@@ -175,7 +176,7 @@ Without argument, this command displays the ban list for current channel.
|
|||||||
|
|
||||||
ls: list the capabilities supported by the server
|
ls: list the capabilities supported by the server
|
||||||
list: list the capabilities currently enabled
|
list: list the capabilities currently enabled
|
||||||
req: request a capability
|
req: request a new capability or remove a capability (if starting with "-", for example: "-multi-prefix")
|
||||||
ack: acknowledge capabilities which require client-side acknowledgement
|
ack: acknowledge capabilities which require client-side acknowledgement
|
||||||
end: end the capability negotiation
|
end: end the capability negotiation
|
||||||
|
|
||||||
@@ -186,8 +187,14 @@ Capabilities supported by WeeChat are: account-notify, away-notify, cap-notify,
|
|||||||
The capabilities to automatically enable on servers can be set in option irc.server_default.capabilities (or by server in option irc.server.xxx.capabilities).
|
The capabilities to automatically enable on servers can be set in option irc.server_default.capabilities (or by server in option irc.server.xxx.capabilities).
|
||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
/cap
|
display supported and enabled capabilities:
|
||||||
/cap req multi-prefix away-notify
|
/cap
|
||||||
|
request capabilities multi-prefix and away-notify:
|
||||||
|
/cap req multi-prefix away-notify
|
||||||
|
request capability extended-join, remove capability multi-prefix:
|
||||||
|
/cap req extended-join -multi-prefix
|
||||||
|
remove capability away-notify:
|
||||||
|
/cap req -away-notify
|
||||||
----
|
----
|
||||||
|
|
||||||
[[command_irc_connect]]
|
[[command_irc_connect]]
|
||||||
@@ -1331,8 +1338,8 @@ Examples:
|
|||||||
----
|
----
|
||||||
/debug list
|
/debug list
|
||||||
set <plugin> <level>
|
set <plugin> <level>
|
||||||
dump [<plugin>]
|
dump|hooks [<plugin>]
|
||||||
buffer|color|infolists|libs|certs|memory|tags|term|windows
|
buffer|certs|color|dirs|infolists|libs|memory|tags|term|windows
|
||||||
mouse|cursor [verbose]
|
mouse|cursor [verbose]
|
||||||
hdata [free]
|
hdata [free]
|
||||||
time <command>
|
time <command>
|
||||||
@@ -1342,15 +1349,15 @@ Examples:
|
|||||||
plugin: name of plugin ("core" for WeeChat core)
|
plugin: name of plugin ("core" for WeeChat core)
|
||||||
level: debug level for plugin (0 = disable debug)
|
level: debug level for plugin (0 = disable debug)
|
||||||
dump: save memory dump in WeeChat log file (same dump is written when WeeChat crashes)
|
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
|
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
|
color: display infos about current color pairs
|
||||||
cursor: toggle debug for cursor mode
|
cursor: toggle debug for cursor mode
|
||||||
dirs: display directories
|
dirs: display directories
|
||||||
hdata: display infos about hdata (with free: remove all hdata in memory)
|
hdata: display infos about hdata (with free: remove all hdata in memory)
|
||||||
hooks: display infos about hooks
|
|
||||||
infolists: display infos about infolists
|
infolists: display infos about infolists
|
||||||
libs: display infos about external libraries used
|
libs: display infos about external libraries used
|
||||||
certs: display number of loaded trusted certificate authorities
|
|
||||||
memory: display infos about memory usage
|
memory: display infos about memory usage
|
||||||
mouse: toggle debug for mouse
|
mouse: toggle debug for mouse
|
||||||
tags: display tags for lines
|
tags: display tags for lines
|
||||||
@@ -1408,28 +1415,30 @@ Some variables are replaced in expression, using the format ${variable}, variabl
|
|||||||
3. an evaluated sub-string (format: "eval:xxx")
|
3. an evaluated sub-string (format: "eval:xxx")
|
||||||
4. an evaluated condition (format: "eval_cond:xxx")
|
4. an evaluated condition (format: "eval_cond:xxx")
|
||||||
5. a string with escaped chars (format: "esc:xxx" or "\xxx")
|
5. a string with escaped chars (format: "esc:xxx" or "\xxx")
|
||||||
6. a string with chars to hide (format: "hide:char,string")
|
6. a string converted to lower case (format: "lower:xxx")
|
||||||
7. a string with max chars (format: "cut:max,suffix,string" or "cut:+max,suffix,string")
|
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")
|
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")
|
10. a reversed string (format: "rev:xxx" or "revscr:xxx")
|
||||||
9. a repeated string (format: "repeat:count,string")
|
11. a repeated string (format: "repeat:count,string")
|
||||||
10. length of a string (format: "length:xxx" or "lengthscr:xxx")
|
12. length of a string (format: "length:xxx" or "lengthscr:xxx")
|
||||||
11. split of a string (format: "split:number,separators,flags,xxx")
|
13. split of a string (format: "split:number,separators,flags,xxx")
|
||||||
12. split of shell argmuents (format: "split_shell:number,xxx")
|
14. split of shell argmuents (format: "split_shell:number,xxx")
|
||||||
13. a color (format: "color:xxx", see "Plugin API reference", function "color")
|
15. a color (format: "color:xxx", see "Plugin API reference", function "color")
|
||||||
14. a modifier (format: "modifier:name,data,string")
|
16. a modifier (format: "modifier:name,data,string")
|
||||||
15. an info (format: "info:name,arguments", arguments are optional)
|
17. 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")
|
18. 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")
|
19. current date/time (format: "date" or "date:format")
|
||||||
18. an environment variable (format: "env:XXX")
|
20. an environment variable (format: "env:XXX")
|
||||||
19. a ternary operator (format: "if:condition?value_if_true:value_if_false")
|
21. a ternary operator (format: "if:condition?value_if_true:value_if_false")
|
||||||
20. result of an expression with parentheses and operators + - * / // % ** (format: "calc:xxx")
|
22. result of an expression with parentheses and operators + - * / // % ** (format: "calc:xxx")
|
||||||
21. a random integer number (format: "random:min,max")
|
23. a random integer number (format: "random:min,max")
|
||||||
22. a translated string (format: "translate:xxx")
|
24. a translated string (format: "translate:xxx")
|
||||||
23. define a user variable (format: "define:name,value")
|
25. define a user variable (format: "define:name,value")
|
||||||
24. an option (format: "file.section.option")
|
26. an option (format: "file.section.option")
|
||||||
25. a local variable in buffer
|
27. 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.
|
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:
|
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.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:
|
hdata[list].var1.var2...: start with a hdata using a list/pointer/pointer name, for example:
|
||||||
@@ -1452,6 +1461,8 @@ Examples (simple strings):
|
|||||||
/eval -n ${window.buffer.full_name} ==> core.weechat
|
/eval -n ${window.buffer.full_name} ==> core.weechat
|
||||||
/eval -n ${window.buffer.number} ==> 1
|
/eval -n ${window.buffer.number} ==> 1
|
||||||
/eval -n ${\t} ==> <tab>
|
/eval -n ${\t} ==> <tab>
|
||||||
|
/eval -n ${lower:TEST} ==> test
|
||||||
|
/eval -n ${upper:test} ==> TEST
|
||||||
/eval -n ${hide:-,${relay.network.password}} ==> --------
|
/eval -n ${hide:-,${relay.network.password}} ==> --------
|
||||||
/eval -n ${cut:3,+,test} ==> tes+
|
/eval -n ${cut:3,+,test} ==> tes+
|
||||||
/eval -n ${cut:+3,+,test} ==> te+
|
/eval -n ${cut:+3,+,test} ==> te+
|
||||||
@@ -1497,7 +1508,7 @@ Examples (conditions):
|
|||||||
add|addreplace <name> <buffer>[,<buffer>...] <tags> <regex>
|
add|addreplace <name> <buffer>[,<buffer>...] <tags> <regex>
|
||||||
rename <name> <new_name>
|
rename <name> <new_name>
|
||||||
recreate <name>
|
recreate <name>
|
||||||
del <name>|-all
|
del <name>|-all [<name>...]
|
||||||
|
|
||||||
list: list all filters
|
list: list all filters
|
||||||
enable: enable filters (filters are enabled by default)
|
enable: enable filters (filters are enabled by default)
|
||||||
@@ -1603,6 +1614,7 @@ list of actions:
|
|||||||
delete_previous_char: delete previous char
|
delete_previous_char: delete previous char
|
||||||
delete_next_char: delete next char
|
delete_next_char: delete next char
|
||||||
delete_previous_word: delete previous word
|
delete_previous_word: delete previous word
|
||||||
|
delete_previous_word_whitespace: delete previous word (until whitespace)
|
||||||
delete_next_word: delete next word
|
delete_next_word: delete next word
|
||||||
delete_beginning_of_line: delete from beginning of line until cursor
|
delete_beginning_of_line: delete from beginning of line until cursor
|
||||||
delete_end_of_line: delete from cursor until end of line
|
delete_end_of_line: delete from cursor until end of line
|
||||||
@@ -1646,6 +1658,49 @@ list of actions:
|
|||||||
This command is used by key bindings or plugins.
|
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]]
|
[[command_weechat_key]]
|
||||||
* `+key+`: associa/disassocia tasti
|
* `+key+`: associa/disassocia tasti
|
||||||
|
|
||||||
@@ -2068,19 +2123,22 @@ Examples:
|
|||||||
----
|
----
|
||||||
|
|
||||||
[[command_weechat_upgrade]]
|
[[command_weechat_upgrade]]
|
||||||
* `+upgrade+`: reload the WeeChat binary without disconnecting from servers
|
* `+upgrade+`: save WeeChat session and reload the WeeChat binary without disconnecting from servers
|
||||||
|
|
||||||
----
|
----
|
||||||
/upgrade [-yes] [<path_to_binary>|-quit]
|
/upgrade [-yes] [<path_to_binary>|-save|-quit]
|
||||||
|
|
||||||
-yes: required if option "weechat.look.confirm_upgrade" is enabled
|
-yes: required if option "weechat.look.confirm_upgrade" is enabled
|
||||||
path_to_binary: path to WeeChat binary (default is current binary)
|
path_to_binary: path to WeeChat binary (default is current binary)
|
||||||
-dummy: do nothing (option used to prevent accidental completion with "-quit")
|
-dummy: do nothing (option used to prevent accidental completion with "-quit")
|
||||||
|
-save: only save the session, do not quit nor reload WeeChat; the configuration files are not saved (if needed you can use /save before this command)
|
||||||
-quit: close *ALL* connections, save session and quit WeeChat, which makes possible a delayed restoration (see below)
|
-quit: close *ALL* connections, save session and quit WeeChat, which makes possible a delayed restoration (see below)
|
||||||
|
|
||||||
This command upgrades and reloads a running WeeChat session. The new WeeChat binary must have been compiled or installed with a package manager before running this command.
|
This command upgrades and reloads a running WeeChat session. The new WeeChat binary must have been compiled or installed with a package manager before running this command.
|
||||||
|
|
||||||
Note: SSL connections are lost during upgrade, because reload of SSL sessions is currently not possible with GnuTLS. There is automatic reconnection after upgrade.
|
Note: SSL connections are lost during upgrade (except with -save), because the reload of SSL sessions is currently not possible with GnuTLS. There is automatic reconnection after upgrade.
|
||||||
|
|
||||||
|
Important: use of option -save can be dangerous, it is recommended to use only /upgrade (or with -quit) for a standard upgrade and a restart; the option -save can be used to save the session regularly and restore it in case of after abnormal exit (power outage, crash, etc.)
|
||||||
|
|
||||||
Upgrade process has 4 steps:
|
Upgrade process has 4 steps:
|
||||||
1. save session into files for core and plugins (buffers, history, ..)
|
1. save session into files for core and plugins (buffers, history, ..)
|
||||||
@@ -2088,14 +2146,18 @@ Upgrade process has 4 steps:
|
|||||||
3. save WeeChat configuration (weechat.conf)
|
3. save WeeChat configuration (weechat.conf)
|
||||||
4. execute new WeeChat binary and reload session.
|
4. execute new WeeChat binary and reload session.
|
||||||
|
|
||||||
With option "-quit", the process is slightly different:
|
With option "-quit", the process is:
|
||||||
1. close *ALL* connections (irc, xfer, relay, ...)
|
1. close *ALL* connections (irc, xfer, relay, ...)
|
||||||
2. save session into files (*.upgrade)
|
2. save session into files (*.upgrade)
|
||||||
3. unload all plugins
|
3. unload all plugins
|
||||||
4. save WeeChat configuration
|
4. save WeeChat configuration
|
||||||
5. quit WeeChat
|
5. quit WeeChat
|
||||||
Then later you can restore session with command: weechat --upgrade
|
|
||||||
IMPORTANT: you must restore the session with exactly same configuration (files *.conf).
|
With option "-save", the process is:
|
||||||
|
1. save session into files (*.upgrade) with a disconnected state for IRC servers and Relay clients (but no disconnection is made)
|
||||||
|
|
||||||
|
With -quit or -save, you can restore the session later with this command: weechat --upgrade
|
||||||
|
IMPORTANT: you must restore the session with exactly same configuration (files *.conf) and if possible the same WeeChat version (or a more recent one).
|
||||||
It is possible to restore WeeChat session on another machine if you copy the content of WeeChat home directories (see /debug dirs).
|
It is possible to restore WeeChat session on another machine if you copy the content of WeeChat home directories (see /debug dirs).
|
||||||
----
|
----
|
||||||
|
|
||||||
@@ -2280,6 +2342,7 @@ The following variables can be used in these options:
|
|||||||
- ${format_hotlist}: the formatted hotlist (evaluation of option buflist.format.hotlist)
|
- ${format_hotlist}: the formatted hotlist (evaluation of option buflist.format.hotlist)
|
||||||
- ${hotlist}: the raw hotlist
|
- ${hotlist}: the raw hotlist
|
||||||
- ${hotlist_priority}: "none", "low", "message", "private" or "highlight"
|
- ${hotlist_priority}: "none", "low", "message", "private" or "highlight"
|
||||||
|
- ${hotlist_priority_number}: -1 = none, 0 = low, 1 = message, 2 = private, 3 = highlight
|
||||||
- ${format_lag}: the lag for an IRC server buffer, empty if there's no lag (evaluation of option buflist.format.lag)
|
- ${format_lag}: the lag for an IRC server buffer, empty if there's no lag (evaluation of option buflist.format.lag)
|
||||||
- ${format_tls_version}: indicator of TLS version for a server buffer, empty for channels (evaluation of option buflist.format.tls_version)
|
- ${format_tls_version}: indicator of TLS version for a server buffer, empty for channels (evaluation of option buflist.format.tls_version)
|
||||||
----
|
----
|
||||||
@@ -2846,7 +2909,7 @@ protocol.name: protocol and name to relay:
|
|||||||
- protocol "weechat" (name is not used)
|
- protocol "weechat" (name is not used)
|
||||||
|
|
||||||
The "irc" protocol allows any IRC client (including WeeChat itself) to connect on the port.
|
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.
|
Without argument, this command opens buffer with list of relay clients.
|
||||||
|
|
||||||
@@ -3001,15 +3064,15 @@ Examples:
|
|||||||
----
|
----
|
||||||
/spell enable|disable|toggle
|
/spell enable|disable|toggle
|
||||||
listdict
|
listdict
|
||||||
setdict <dizionario>[,<dizionario>...]
|
setdict -|<dict>[,<dict>...]
|
||||||
deldict
|
deldict
|
||||||
addword [<dizionario>] <parola>
|
addword [<dict>] <word>
|
||||||
|
|
||||||
enable: enable spell checker
|
enable: enable spell checker
|
||||||
disable: disable spell checker
|
disable: disable spell checker
|
||||||
toggle: toggle spell checker
|
toggle: toggle spell checker
|
||||||
listdict: show installed dictionaries
|
listdict: show installed dictionaries
|
||||||
setdict: set dictionary for current buffer (multiple dictionaries can be separated by a comma)
|
setdict: set dictionary for current buffer (multiple dictionaries can be separated by a comma, the special value "-" disables spell checking on current buffer)
|
||||||
deldict: delete dictionary used on current buffer
|
deldict: delete dictionary used on current buffer
|
||||||
addword: add a word in personal dictionary
|
addword: add a word in personal dictionary
|
||||||
|
|
||||||
@@ -3138,6 +3201,8 @@ Examples (you can also look at default triggers with /trigger listdefault):
|
|||||||
/trigger add resize_big signal signal_sigwinch "${info:term_width} >= 100" "" "/bar show nicklist"
|
/trigger add resize_big signal signal_sigwinch "${info:term_width} >= 100" "" "/bar show nicklist"
|
||||||
silently save config each hour:
|
silently save config each hour:
|
||||||
/trigger add cfgsave timer 3600000;0;0 "" "" "/mute /save"
|
/trigger add cfgsave timer 3600000;0;0 "" "" "/mute /save"
|
||||||
|
silently save WeeChat session at midnight (see /help upgrade):
|
||||||
|
/trigger add session_save signal day_changed "" "" "/mute /upgrade -save"
|
||||||
open trigger monitor and show only modifiers and triggers whose name starts with "resize":
|
open trigger monitor and show only modifiers and triggers whose name starts with "resize":
|
||||||
/trigger monitor @modifier,resize*
|
/trigger monitor @modifier,resize*
|
||||||
----
|
----
|
||||||
|
|||||||
@@ -750,6 +750,12 @@
|
|||||||
** valori: qualsiasi stringa
|
** valori: qualsiasi stringa
|
||||||
** valore predefinito: `+""+`
|
** valore predefinito: `+""+`
|
||||||
|
|
||||||
|
* [[option_weechat.look.highlight_disable_regex]] *weechat.look.highlight_disable_regex*
|
||||||
|
** descrizione: pass:none[POSIX extended regular expression used to prevent any highlight from a message: this option has higher priority over other highlight options (if the string is found in the message, the highlight is disabled and the other options are ignored), regular expression is case insensitive (use "(?-i)" at beginning to make it case sensitive), examples: "<flash.*>", "(?-i)<Flash.*>"]
|
||||||
|
** tipo: stringa
|
||||||
|
** valori: qualsiasi stringa
|
||||||
|
** valore predefinito: `+""+`
|
||||||
|
|
||||||
* [[option_weechat.look.highlight_regex]] *weechat.look.highlight_regex*
|
* [[option_weechat.look.highlight_regex]] *weechat.look.highlight_regex*
|
||||||
** descrizione: pass:none[POSIX extended regular expression used to check if a message has highlight or not, at least one match in string must be surrounded by delimiters (chars different from: alphanumeric, "-", "_" and "|"), regular expression is case insensitive (use "(?-i)" at beginning to make it case sensitive), examples: "flashcode|flashy", "(?-i)FlashCode|flashy"]
|
** descrizione: pass:none[POSIX extended regular expression used to check if a message has highlight or not, at least one match in string must be surrounded by delimiters (chars different from: alphanumeric, "-", "_" and "|"), regular expression is case insensitive (use "(?-i)" at beginning to make it case sensitive), examples: "flashcode|flashy", "(?-i)FlashCode|flashy"]
|
||||||
** tipo: stringa
|
** tipo: stringa
|
||||||
@@ -1397,7 +1403,7 @@
|
|||||||
** valore predefinito: `+default+`
|
** valore predefinito: `+default+`
|
||||||
|
|
||||||
* [[option_logger.file.auto_log]] *logger.file.auto_log*
|
* [[option_logger.file.auto_log]] *logger.file.auto_log*
|
||||||
** descrizione: pass:none[salva automaticamente il contenuto dei buffer su file (a meno che un buffer disabiliti il log)]
|
** descrizione: pass:none[automatically save content of buffers to files (unless a buffer disables log); if disabled, logging is disabled on all buffers]
|
||||||
** tipo: bool
|
** tipo: bool
|
||||||
** valori: on, off
|
** valori: on, off
|
||||||
** valore predefinito: `+on+`
|
** valore predefinito: `+on+`
|
||||||
@@ -1462,6 +1468,24 @@
|
|||||||
** valori: qualsiasi stringa
|
** valori: qualsiasi stringa
|
||||||
** valore predefinito: `+"_"+`
|
** valore predefinito: `+"_"+`
|
||||||
|
|
||||||
|
* [[option_logger.file.rotation_compression_level]] *logger.file.rotation_compression_level*
|
||||||
|
** descrizione: pass:none[compression level for rotated log files (with extension ".1", ".2", etc.), if option logger.file.rotation_compression_type is enabled: 1 = low compression / fast ... 100 = best compression / slow; the value is a percentage converted to 1-9 for gzip and 1-19 for zstd; the default value is recommended, it offers a good compromise between compression and speed]
|
||||||
|
** tipo: intero
|
||||||
|
** valori: 1 .. 100
|
||||||
|
** valore predefinito: `+20+`
|
||||||
|
|
||||||
|
* [[option_logger.file.rotation_compression_type]] *logger.file.rotation_compression_type*
|
||||||
|
** descrizione: pass:none[compression type for rotated log files; if set to "none", rotated log files are not compressed; WARNING: if rotation was enabled with another type of compression (or no compression), you must first unload the logger plugin, compress files with the new type (or decompress files), then change the option in logger.conf, then load the logger plugin]
|
||||||
|
** tipo: intero
|
||||||
|
** valori: none, gzip, zstd
|
||||||
|
** valore predefinito: `+none+`
|
||||||
|
|
||||||
|
* [[option_logger.file.rotation_size_max]] *logger.file.rotation_size_max*
|
||||||
|
** descrizione: pass:none[when this size is reached, a rotation of log files is performed: the existing rotated log files are renamed (.1 becomes .2, .2 becomes .3, etc.) and the current file is renamed with extension .1; an integer number with a suffix is allowed: b = bytes (default if no unit given), k = kilobytes, m = megabytes, g = gigabytes, t = terabytes; example: "2g" causes a rotation if the file size is > 2,000,000,000 bytes; if set to "0", no rotation is performed (unlimited log size); WARNING: before changing this option, you should first set the compression type via option logger.file.rotation_compression_type]
|
||||||
|
** tipo: stringa
|
||||||
|
** valori: qualsiasi stringa
|
||||||
|
** valore predefinito: `+"0"+`
|
||||||
|
|
||||||
* [[option_logger.file.time_format]] *logger.file.time_format*
|
* [[option_logger.file.time_format]] *logger.file.time_format*
|
||||||
** descrizione: pass:none[data e ora usati nei file di log (consultare man strftime per gli specificatori di data/ora)]
|
** descrizione: pass:none[data e ora usati nei file di log (consultare man strftime per gli specificatori di data/ora)]
|
||||||
** tipo: stringa
|
** tipo: stringa
|
||||||
@@ -1544,6 +1568,12 @@
|
|||||||
** valori: a WeeChat color name (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), a terminal color number or an alias; attributes are allowed before color (for text color only, not background): "*" for bold, "!" for reverse, "/" for italic, "_" for underline
|
** valori: a WeeChat color name (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), a terminal color number or an alias; attributes are allowed before color (for text color only, not background): "*" for bold, "!" for reverse, "/" for italic, "_" for underline
|
||||||
** valore predefinito: `+lightmagenta+`
|
** valore predefinito: `+lightmagenta+`
|
||||||
|
|
||||||
|
* [[option_trigger.color.identifier]] *trigger.color.identifier*
|
||||||
|
** descrizione: pass:none[text color for trigger context identifier in monitor buffer]
|
||||||
|
** tipo: colore
|
||||||
|
** valori: a WeeChat color name (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), a terminal color number or an alias; attributes are allowed before color (for text color only, not background): "*" for bold, "!" for reverse, "/" for italic, "_" for underline
|
||||||
|
** valore predefinito: `+cyan+`
|
||||||
|
|
||||||
* [[option_trigger.color.regex]] *trigger.color.regex*
|
* [[option_trigger.color.regex]] *trigger.color.regex*
|
||||||
** descrizione: pass:none[text color for regular expressions]
|
** descrizione: pass:none[text color for regular expressions]
|
||||||
** tipo: colore
|
** tipo: colore
|
||||||
@@ -1771,7 +1801,7 @@
|
|||||||
** valore predefinito: `+"${buffer.hidden}==0"+`
|
** valore predefinito: `+"${buffer.hidden}==0"+`
|
||||||
|
|
||||||
* [[option_buflist.look.enabled]] *buflist.look.enabled*
|
* [[option_buflist.look.enabled]] *buflist.look.enabled*
|
||||||
** descrizione: pass:none[enable buflist]
|
** descrizione: pass:none[enable buflist; it is recommended to use this option instead of just hiding the bar because it also removes some internal hooks that are not needed any more when the bar is hidden; you can also use the command "/buflist toggle" or use the default key alt+shift+b]
|
||||||
** tipo: bool
|
** tipo: bool
|
||||||
** valori: on, off
|
** valori: on, off
|
||||||
** valore predefinito: `+on+`
|
** valore predefinito: `+on+`
|
||||||
@@ -2127,7 +2157,7 @@
|
|||||||
** valore predefinito: `+cyan+`
|
** valore predefinito: `+cyan+`
|
||||||
|
|
||||||
* [[option_irc.color.message_chghost]] *irc.color.message_chghost*
|
* [[option_irc.color.message_chghost]] *irc.color.message_chghost*
|
||||||
** descrizione: pass:none[color for text in chghost messages]
|
** descrizione: pass:none[color for text in "chghost" messages]
|
||||||
** tipo: colore
|
** tipo: colore
|
||||||
** valori: a WeeChat color name (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), a terminal color number or an alias; attributes are allowed before color (for text color only, not background): "*" for bold, "!" for reverse, "/" for italic, "_" for underline
|
** valori: a WeeChat color name (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), a terminal color number or an alias; attributes are allowed before color (for text color only, not background): "*" for bold, "!" for reverse, "/" for italic, "_" for underline
|
||||||
** valore predefinito: `+brown+`
|
** valore predefinito: `+brown+`
|
||||||
@@ -2150,6 +2180,12 @@
|
|||||||
** valori: a WeeChat color name (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), a terminal color number or an alias; attributes are allowed before color (for text color only, not background): "*" for bold, "!" for reverse, "/" for italic, "_" for underline
|
** valori: a WeeChat color name (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), a terminal color number or an alias; attributes are allowed before color (for text color only, not background): "*" for bold, "!" for reverse, "/" for italic, "_" for underline
|
||||||
** valore predefinito: `+red+`
|
** valore predefinito: `+red+`
|
||||||
|
|
||||||
|
* [[option_irc.color.message_setname]] *irc.color.message_setname*
|
||||||
|
** descrizione: pass:none[color for text in "setname" messages]
|
||||||
|
** tipo: colore
|
||||||
|
** valori: a WeeChat color name (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), a terminal color number or an alias; attributes are allowed before color (for text color only, not background): "*" for bold, "!" for reverse, "/" for italic, "_" for underline
|
||||||
|
** valore predefinito: `+brown+`
|
||||||
|
|
||||||
* [[option_irc.color.mirc_remap]] *irc.color.mirc_remap*
|
* [[option_irc.color.mirc_remap]] *irc.color.mirc_remap*
|
||||||
** descrizione: pass:none[remap mirc colors in messages using a hashtable: keys are "fg,bg" as integers between -1 (not specified) and 15, values are WeeChat color names or numbers (format is: "1,-1:color1;2,7:color2"), example: "1,-1:darkgray;1,2:white,blue" to remap black to "darkgray" and black on blue to "white,blue"; default WeeChat colors for IRC codes: 0=white, 1=black, 2=blue, 3=green, 4=lightred, 5=red, 6=magenta, 7=brown, 8=yellow, 9=lightgreen, 10=cyan, 11=lightcyan, 12=lightblue, 13=lightmagenta, 14=darkgray, 15=gray]
|
** descrizione: pass:none[remap mirc colors in messages using a hashtable: keys are "fg,bg" as integers between -1 (not specified) and 15, values are WeeChat color names or numbers (format is: "1,-1:color1;2,7:color2"), example: "1,-1:darkgray;1,2:white,blue" to remap black to "darkgray" and black on blue to "white,blue"; default WeeChat colors for IRC codes: 0=white, 1=black, 2=blue, 3=green, 4=lightred, 5=red, 6=magenta, 7=brown, 8=yellow, 9=lightgreen, 10=cyan, 11=lightcyan, 12=lightblue, 13=lightmagenta, 14=darkgray, 15=gray]
|
||||||
** tipo: stringa
|
** tipo: stringa
|
||||||
@@ -2330,6 +2366,12 @@
|
|||||||
** valori: on, off
|
** valori: on, off
|
||||||
** valore predefinito: `+on+`
|
** valore predefinito: `+on+`
|
||||||
|
|
||||||
|
* [[option_irc.look.display_pv_nick_change]] *irc.look.display_pv_nick_change*
|
||||||
|
** descrizione: pass:none[display nick change in private]
|
||||||
|
** tipo: bool
|
||||||
|
** valori: on, off
|
||||||
|
** valore predefinito: `+on+`
|
||||||
|
|
||||||
* [[option_irc.look.display_pv_warning_address]] *irc.look.display_pv_warning_address*
|
* [[option_irc.look.display_pv_warning_address]] *irc.look.display_pv_warning_address*
|
||||||
** descrizione: pass:none[display a warning in private buffer if the address of remote nick has changed; this option is disabled by default because servers like bitlbee are causing this warning to be displayed when it is not expected (the address of remote nick changes multiple times on login)]
|
** descrizione: pass:none[display a warning in private buffer if the address of remote nick has changed; this option is disabled by default because servers like bitlbee are causing this warning to be displayed when it is not expected (the address of remote nick changes multiple times on login)]
|
||||||
** tipo: bool
|
** tipo: bool
|
||||||
@@ -2546,6 +2588,12 @@
|
|||||||
** valori: on, off
|
** valori: on, off
|
||||||
** valore predefinito: `+on+`
|
** valore predefinito: `+on+`
|
||||||
|
|
||||||
|
* [[option_irc.look.smart_filter_setname]] *irc.look.smart_filter_setname*
|
||||||
|
** descrizione: pass:none[enable smart filter for "setname" messages]
|
||||||
|
** tipo: bool
|
||||||
|
** valori: on, off
|
||||||
|
** valore predefinito: `+on+`
|
||||||
|
|
||||||
* [[option_irc.look.temporary_servers]] *irc.look.temporary_servers*
|
* [[option_irc.look.temporary_servers]] *irc.look.temporary_servers*
|
||||||
** descrizione: pass:none[enable automatic addition of temporary servers with command /connect]
|
** descrizione: pass:none[enable automatic addition of temporary servers with command /connect]
|
||||||
** tipo: bool
|
** tipo: bool
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
// tag::plugin_options[]
|
// tag::plugin_options[]
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
For complete doc on plugin options, please look at plugins documentation in
|
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:
|
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
|
== SUPPORT / REPORTING BUGS
|
||||||
|
|
||||||
// TRANSLATION MISSING
|
// 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
|
== SUPPORT / REPORTING BUGS
|
||||||
|
|
||||||
// TRANSLATION MISSING
|
// 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.
|
Because WeeChat is very light and brings innovating features.
|
||||||
|
|
||||||
// TRANSLATION MISSING
|
// 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]]
|
[[compilation_install]]
|
||||||
== Compilazione / installazione
|
== 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?
|
=== Ho sentito parlare di molte interfacce per WeeChat. Come si possono compilare/utilizzare?
|
||||||
|
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
Some remote GUIs are available, see the remote interfaces page:
|
Some remote GUIs are available, see the
|
||||||
https://weechat.org/about/interfaces
|
https://weechat.org/about/interfaces/[remote interfaces page ^↗^,window=_blank].
|
||||||
|
|
||||||
[[compile_git]]
|
[[compile_git]]
|
||||||
=== Non è possibile compilare WeeChat dopo aver clonato il repository git, perché?
|
=== Non è possibile compilare WeeChat dopo aver clonato il repository git, perché?
|
||||||
|
|
||||||
Il metodo raccomandato per compilare WeeChat è utilizzando
|
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
|
(e non CMake), verificare che siano installate le ultime versioni di autoconf e
|
||||||
automake.
|
automake.
|
||||||
|
|
||||||
@@ -73,7 +74,8 @@ per l'installazione degli aggiornamenti.
|
|||||||
=== How can I install WeeChat on macOS?
|
=== How can I install WeeChat on macOS?
|
||||||
|
|
||||||
// TRANSLATION MISSING
|
// 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
|
brew info weechat
|
||||||
@@ -91,13 +93,13 @@ brew install weechat
|
|||||||
|
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
Per l'aiuto digitare `/help`. Per l'aiuto su un comando, digitare `/help comando`.
|
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#key_bindings[Keys ^↗^,window=_blank] and
|
||||||
link:weechat_user.it.html#commands_and_options[commands] are listed
|
link:weechat_user.it.html#commands_and_options[commands ^↗^,window=_blank] are listed
|
||||||
in documentation.
|
in documentation.
|
||||||
|
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
It's recommended for new users to read the
|
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]]
|
[[display]]
|
||||||
== Visualizzare
|
== Visualizzare
|
||||||
@@ -130,7 +132,7 @@ It's a common issue with a variety of causes, please read carefully and check
|
|||||||
screen)
|
screen)
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
* check that option
|
* 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)
|
is off (this option may cause display bugs)
|
||||||
|
|
||||||
[NOTE]
|
[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).
|
in glibc 2.22 (maybe not yet available in your distribution).
|
||||||
|
|
||||||
There is a workaround to use the fixed _wcwidth_ function:
|
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:
|
See this https://github.com/weechat/weechat/issues/79[bug report ^↗^,window=_blank]
|
||||||
https://github.com/weechat/weechat/issues/79
|
for more information.
|
||||||
|
|
||||||
[[bars_background]]
|
[[bars_background]]
|
||||||
=== Barre come quella del titolo e di stato non sono complete, il colore di sfondo si ferma dopo il testo, perché?
|
=== 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]]
|
[[buffers_list]]
|
||||||
=== Come si può visualizzare la lista dei buffer sulla sinistra?
|
=== 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.
|
is loaded and enabled by default.
|
||||||
|
|
||||||
With an older version, you can install script _buffers.pl_:
|
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 buflist plugin provides lot of options that you can customize, please read
|
||||||
the help on each option.
|
the help on each option.
|
||||||
|
|
||||||
There's also a wiki page with examples of advanced buflist configuration:
|
There's also a https://github.com/weechat/weechat/wiki/buflist[wiki page ^↗^,window=_blank]
|
||||||
https://github.com/weechat/weechat/wiki/buflist
|
with examples of advanced buflist configuration.
|
||||||
|
|
||||||
[[customize_prefix]]
|
[[customize_prefix]]
|
||||||
=== Come si può ridurre la lunghezza dei nick o rimuovere l'allineamento nella finestra di chat?
|
=== 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). +
|
(buffers) and __weechat.color.status_count_*__ (counters). +
|
||||||
Other hotlist options can be changed with the options __weechat.look.hotlist_*__.
|
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
|
See link:weechat_user.it.html#screen_layout[User's guide / Screen layout ^↗^,window=_blank]
|
||||||
more info about the hotlist.
|
for more info about the hotlist.
|
||||||
|
|
||||||
[[input_bar_size]]
|
[[input_bar_size]]
|
||||||
=== Come posso usare la riga di comando con più di una riga?
|
=== 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`).
|
opzioni (opzionale: si possono aggiungere gli alias ai colori con il comando `/color`).
|
||||||
|
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
Please read the link:weechat_user.it.html#colors[User's guide / Colors] for more
|
Please read the link:weechat_user.it.html#colors[User's guide / Colors ^↗^,window=_blank]
|
||||||
information about colors management.
|
for more information about colors management.
|
||||||
|
|
||||||
[[search_text]]
|
[[search_text]]
|
||||||
=== Come posso cercare testo nel buffer (come /lastlog con irssi)?
|
=== 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].
|
E per passare alle notifiche: kbd:[Alt+p] / kbd:[Alt+n].
|
||||||
|
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
See link:weechat_user.it.html#key_bindings[User's guide / Key bindings] for more
|
See link:weechat_user.it.html#key_bindings[User's guide / Key bindings ^↗^,window=_blank]
|
||||||
info about this feature.
|
for more info about this feature.
|
||||||
|
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
[[terminal_focus]]
|
[[terminal_focus]]
|
||||||
@@ -705,7 +707,7 @@ kbd:[1] per passare al buffer 11.
|
|||||||
|
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
List of default keys is in
|
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
|
// TRANSLATION MISSING
|
||||||
To jump to buffers with number ≥ 100, you could define a trigger and then use
|
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:
|
For all servers:
|
||||||
|
|
||||||
----
|
----
|
||||||
/set irc.server_default.autojoin_record on
|
/set irc.server_default.autojoin_dynamic on
|
||||||
----
|
----
|
||||||
|
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
For a single server:
|
For a single server:
|
||||||
|
|
||||||
----
|
----
|
||||||
/set irc.server.libera.autojoin_record on
|
/set irc.server.libera.autojoin_dynamic on
|
||||||
----
|
----
|
||||||
|
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
You can use the `/set` command to edit the list of autojoin channels,
|
With WeeChat ≥ 3.5, you can also add the current channel in the "autojoin"
|
||||||
for example for the "libera" server:
|
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]
|
/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
|
// TRANSLATION MISSING
|
||||||
Another solution is to use a script:
|
With WeeChat ≤ 3.4, another solution is to use a script:
|
||||||
|
|
||||||
----
|
----
|
||||||
/script search autojoin
|
/script search autojoin
|
||||||
@@ -984,7 +1001,7 @@ Con un filtro globale (nasconde *tutti* entrata/uscita/abbandono):
|
|||||||
|
|
||||||
[NOTE]
|
[NOTE]
|
||||||
Per aiuto: `/help filter`, `+/help irc.look.smart_filter+` e
|
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]]
|
[[filter_irc_join_channel_messages]]
|
||||||
=== Come posso filtrare i messaggi visualizzati all'ingresso su un canale IRC?
|
=== 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?
|
=== How can I disable highlights for specific nicks?
|
||||||
|
|
||||||
With WeeChat ≥ 0.3.4 you can use the
|
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,
|
buffer property to set the max hotlist level for some nicks, per buffer,
|
||||||
or per group of buffers (like IRC servers).
|
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
|
Define a passphrase and use secured data wherever you can for sensitive data
|
||||||
like passwords: see `/help secure` and `/help` on options
|
like passwords: see `/help secure` and `/help` on options
|
||||||
(if you can use secured data, it is written in the help).
|
(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:
|
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
|
Some other files may contain sensitive info like passwords (if they are not
|
||||||
stored in _sec.conf_ with the `/secure` command).
|
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.
|
for more information about configuration files.
|
||||||
|
|
||||||
[[development]]
|
[[development]]
|
||||||
@@ -1344,7 +1361,7 @@ for more information about configuration files.
|
|||||||
=== Come posso segnalare bug, richiedere nuove funzionalità o inviare patch?
|
=== Come posso segnalare bug, richiedere nuove funzionalità o inviare patch?
|
||||||
|
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
See: https://weechat.org/about/support
|
See https://weechat.org/about/support/[this page ^↗^,window=_blank].
|
||||||
|
|
||||||
[[gdb_error_threads]]
|
[[gdb_error_threads]]
|
||||||
=== Quando eseguo WeeChat in gdb, c'è un errore riguardo ai thread, cosa posso fare?
|
=== 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, ...)
|
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:
|
// TRANSLATION MISSING
|
||||||
https://weechat.org/about/support
|
Please contact us via IRC or mail, look at
|
||||||
|
https://weechat.org/about/support/[support page ^↗^,window=_blank].
|
||||||
|
|
||||||
[[donate]]
|
[[donate]]
|
||||||
=== Posso donare denaro o altre cose agli sviluppatori di WeeChat?
|
=== Posso donare denaro o altre cose agli sviluppatori di WeeChat?
|
||||||
|
|
||||||
È possibile donare denaro per aiutare lo sviluppo.
|
// TRANSLATION MISSING
|
||||||
Maggiori dettagli su https://weechat.org/donate
|
You can give us money to help development.
|
||||||
|
Details on https://weechat.org/donate/[donation page ^↗^,window=_blank].
|
||||||
|
|||||||
+1345
-1144
File diff suppressed because it is too large
Load Diff
@@ -222,10 +222,16 @@ al server:
|
|||||||
----
|
----
|
||||||
|
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
[TIP]
|
The `/autojoin` command lets you configure the _autojoin_ option easily
|
||||||
You can complete name and value of options with the kbd:[Tab] key
|
(see `/help autojoin`).
|
||||||
and kbd:[Shift+Tab] for a partial completion (useful for long words like
|
|
||||||
the name of option).
|
// 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
|
Per eliminare il valore di un'opzione del server, e usare invece il valore
|
||||||
predefinito, per esempio per utilizzare i nick predefiniti
|
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
|
/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]]
|
[[connect_to_irc_server]]
|
||||||
== Connessione al server IRC
|
== Connessione al server IRC
|
||||||
|
|
||||||
@@ -415,14 +427,15 @@ for example:
|
|||||||
See `/help script` for more info.
|
See `/help script` for more info.
|
||||||
|
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
A list of scripts is available in WeeChat with `/script` or at this URL:
|
A list of scripts is available in WeeChat with `/script` or on
|
||||||
https://weechat.org/scripts
|
https://weechat.org/scripts/[this page ^↗^,window=_blank].
|
||||||
|
|
||||||
[[more_doc]]
|
[[more_doc]]
|
||||||
== Ulteriore documentazione
|
== Ulteriore documentazione
|
||||||
|
|
||||||
È ora possibilie usare WeeChat e leggere FAQ/documentazione per ogni altra
|
// TRANSLATION MISSING
|
||||||
domanda:
|
You can now use WeeChat and read
|
||||||
https://weechat.org/doc
|
https://weechat.org/doc/[FAQ/documentation ^↗^,window=_blank]
|
||||||
|
for any other questions.
|
||||||
|
|
||||||
Buon WeeChat!
|
Buon WeeChat!
|
||||||
|
|||||||
+138
-122
@@ -19,8 +19,9 @@ Translators:
|
|||||||
Questo manuale documenta il client di chat WeeChat, ed è parte
|
Questo manuale documenta il client di chat WeeChat, ed è parte
|
||||||
del programma stesso.
|
del programma stesso.
|
||||||
|
|
||||||
La versione più recente di questo documento si trova qui:
|
// TRANSLATION MISSING
|
||||||
https://weechat.org/doc
|
Latest version of this document can be found on
|
||||||
|
https://weechat.org/doc/[this page ^↗^,window=_blank].
|
||||||
|
|
||||||
|
|
||||||
[[introduction]]
|
[[introduction]]
|
||||||
@@ -70,7 +71,7 @@ function, this can crash WeeChat. +
|
|||||||
If something must be run in background, the function `+hook_process+` can be used.
|
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>>
|
See example in the chapter <<hook_process,Eseguire un processo in background>>
|
||||||
and the documentation on the function `+hook_process+` in the
|
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]]
|
[[languages_specificities]]
|
||||||
=== Specifiche per i linguaggi
|
=== 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`. +
|
WeeChat defines a `weechat` module which must be imported with `import weechat`. +
|
||||||
A Python stub for WeeChat API is available in the repository:
|
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
|
// TRANSLATION MISSING
|
||||||
[[python_functions]]
|
[[python_functions]]
|
||||||
@@ -111,38 +112,38 @@ receive a string of type `str` or `bytes` (this list is not exhaustive):
|
|||||||
|===
|
|===
|
||||||
| API function | Arguments | Examples | Description
|
| API function | Arguments | Examples | Description
|
||||||
|
|
||||||
| hook_modifier |
|
| hook_modifier
|
||||||
irc_in_yyy |
|
| irc_in_yyy
|
||||||
pass:[irc_in_privmsg] +
|
| pass:[irc_in_privmsg] +
|
||||||
pass:[irc_in_notice] |
|
pass:[irc_in_notice]
|
||||||
A message received in IRC plugin, before it is decoded to UTF-8 (used
|
| A message received in IRC plugin, before it is decoded to UTF-8 (used
|
||||||
internally). +
|
internally). +
|
||||||
+
|
+
|
||||||
It is recommended to use modifier `+irc_in2_yyy+` instead, the string received
|
It is recommended to use modifier `+irc_in2_yyy+` instead, the string received
|
||||||
is always UTF-8 valid. +
|
is always UTF-8 valid. +
|
||||||
See function `+hook_modifier+` in the
|
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 |
|
| hook_signal
|
||||||
xxx,irc_out_yyy +
|
| xxx,irc_out_yyy +
|
||||||
xxx,irc_outtags_yyy |
|
xxx,irc_outtags_yyy
|
||||||
pass:[*,irc_out_privmsg] +
|
| pass:[*,irc_out_privmsg] +
|
||||||
pass:[*,irc_out_notice] +
|
pass:[*,irc_out_notice] +
|
||||||
pass:[*,irc_outtags_privmsg] +
|
pass:[*,irc_outtags_privmsg] +
|
||||||
pass:[*,irc_outtags_notice] |
|
pass:[*,irc_outtags_notice]
|
||||||
A message sent by IRC plugin, after it is encoded to the `encode` charset
|
| 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`). +
|
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
|
It is recommended to use signal `+xxx,irc_out1_yyy+` instead, the string received
|
||||||
is always UTF-8 valid. +
|
is always UTF-8 valid. +
|
||||||
See function `+hook_signal+` in the
|
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 +
|
||||||
hook_process_hashtable |
|
hook_process_hashtable
|
||||||
- |
|
| -
|
||||||
- |
|
| -
|
||||||
Output of the command, sent to the callback, can contain invalid UTF-8 data.
|
| 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
|
// TRANSLATION MISSING
|
||||||
Script API is almost the same as C plugin API.
|
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.
|
for detail about each function in API: prototype, arguments, return values, examples.
|
||||||
|
|
||||||
È importante fare la differenza tra un _plugin_ ed uno _script_:
|
È 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
|
// TRANSLATION MISSING
|
||||||
For more information about functions in API, please read the
|
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]]
|
[[script_api_functions]]
|
||||||
=== Funzioni
|
=== Funzioni
|
||||||
@@ -583,14 +584,14 @@ Elenco di funzioni nelle API per gli script:
|
|||||||
|===
|
|===
|
||||||
| Categoria | Funzioni
|
| Categoria | Funzioni
|
||||||
|
|
||||||
| generale |
|
| generale
|
||||||
register
|
| register
|
||||||
|
|
||||||
| plugin |
|
| plugin
|
||||||
plugin_get_name
|
| plugin_get_name
|
||||||
|
|
||||||
| stringhe |
|
| stringhe
|
||||||
charset_set +
|
| charset_set +
|
||||||
iconv_to_internal +
|
iconv_to_internal +
|
||||||
iconv_from_internal +
|
iconv_from_internal +
|
||||||
gettext +
|
gettext +
|
||||||
@@ -602,6 +603,7 @@ Elenco di funzioni nelle API per gli script:
|
|||||||
string_has_highlight_regex +
|
string_has_highlight_regex +
|
||||||
string_mask_to_regex +
|
string_mask_to_regex +
|
||||||
string_format_size +
|
string_format_size +
|
||||||
|
string_parse_size +
|
||||||
string_color_code_size +
|
string_color_code_size +
|
||||||
string_remove_color +
|
string_remove_color +
|
||||||
string_is_command_char +
|
string_is_command_char +
|
||||||
@@ -609,13 +611,13 @@ Elenco di funzioni nelle API per gli script:
|
|||||||
string_eval_expression +
|
string_eval_expression +
|
||||||
string_eval_path_home
|
string_eval_path_home
|
||||||
|
|
||||||
| directory |
|
| directory
|
||||||
mkdir_home +
|
| mkdir_home +
|
||||||
mkdir +
|
mkdir +
|
||||||
mkdir_parents
|
mkdir_parents
|
||||||
|
|
||||||
| liste ordinate |
|
| liste ordinate
|
||||||
list_new +
|
| list_new +
|
||||||
list_add +
|
list_add +
|
||||||
list_search +
|
list_search +
|
||||||
list_search_pos +
|
list_search_pos +
|
||||||
@@ -631,8 +633,8 @@ Elenco di funzioni nelle API per gli script:
|
|||||||
list_remove_all +
|
list_remove_all +
|
||||||
list_free
|
list_free
|
||||||
|
|
||||||
| file di configurazione |
|
| file di configurazione
|
||||||
config_new +
|
| config_new +
|
||||||
config_new_section +
|
config_new_section +
|
||||||
config_search_section +
|
config_search_section +
|
||||||
config_new_option +
|
config_new_option +
|
||||||
@@ -669,12 +671,12 @@ Elenco di funzioni nelle API per gli script:
|
|||||||
config_set_desc_plugin +
|
config_set_desc_plugin +
|
||||||
config_unset_plugin
|
config_unset_plugin
|
||||||
|
|
||||||
| combinazione tasti |
|
| combinazione tasti
|
||||||
key_bind +
|
| key_bind +
|
||||||
key_unbind
|
key_unbind
|
||||||
|
|
||||||
| visualizzazione |
|
| visualizzazione
|
||||||
prefix +
|
| prefix +
|
||||||
color +
|
color +
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
print (for python: prnt) +
|
print (for python: prnt) +
|
||||||
@@ -686,8 +688,8 @@ Elenco di funzioni nelle API per gli script:
|
|||||||
print_y_date_tags (for python: prnt_y_date_tags) +
|
print_y_date_tags (for python: prnt_y_date_tags) +
|
||||||
log_print
|
log_print
|
||||||
|
|
||||||
| hook |
|
| hook
|
||||||
hook_command +
|
| hook_command +
|
||||||
hook_command_run +
|
hook_command_run +
|
||||||
hook_timer +
|
hook_timer +
|
||||||
hook_fd +
|
hook_fd +
|
||||||
@@ -712,8 +714,8 @@ Elenco di funzioni nelle API per gli script:
|
|||||||
unhook +
|
unhook +
|
||||||
unhook_all
|
unhook_all
|
||||||
|
|
||||||
| buffer |
|
| buffer
|
||||||
buffer_new +
|
| buffer_new +
|
||||||
buffer_new_props +
|
buffer_new_props +
|
||||||
current_buffer +
|
current_buffer +
|
||||||
buffer_search +
|
buffer_search +
|
||||||
@@ -729,16 +731,16 @@ Elenco di funzioni nelle API per gli script:
|
|||||||
buffer_string_replace_local_var +
|
buffer_string_replace_local_var +
|
||||||
buffer_match_list
|
buffer_match_list
|
||||||
|
|
||||||
| finestre |
|
| finestre
|
||||||
current_window +
|
| current_window +
|
||||||
window_search_with_buffer +
|
window_search_with_buffer +
|
||||||
window_get_integer +
|
window_get_integer +
|
||||||
window_get_string +
|
window_get_string +
|
||||||
window_get_pointer +
|
window_get_pointer +
|
||||||
window_set_title
|
window_set_title
|
||||||
|
|
||||||
| lista nick |
|
| lista nick
|
||||||
nicklist_add_group +
|
| nicklist_add_group +
|
||||||
nicklist_search_group +
|
nicklist_search_group +
|
||||||
nicklist_add_nick +
|
nicklist_add_nick +
|
||||||
nicklist_search_nick +
|
nicklist_search_nick +
|
||||||
@@ -754,8 +756,8 @@ Elenco di funzioni nelle API per gli script:
|
|||||||
nicklist_nick_get_pointer +
|
nicklist_nick_get_pointer +
|
||||||
nicklist_nick_set
|
nicklist_nick_set
|
||||||
|
|
||||||
| barre |
|
| barre
|
||||||
bar_item_search +
|
| bar_item_search +
|
||||||
bar_item_new +
|
bar_item_new +
|
||||||
bar_item_update +
|
bar_item_update +
|
||||||
bar_item_remove +
|
bar_item_remove +
|
||||||
@@ -765,24 +767,24 @@ Elenco di funzioni nelle API per gli script:
|
|||||||
bar_update +
|
bar_update +
|
||||||
bar_remove
|
bar_remove
|
||||||
|
|
||||||
| comandi |
|
| comandi
|
||||||
command +
|
| command +
|
||||||
command_options
|
command_options
|
||||||
|
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
| completion |
|
| completion
|
||||||
completion_new +
|
| completion_new +
|
||||||
completion_search +
|
completion_search +
|
||||||
completion_get_string +
|
completion_get_string +
|
||||||
completion_list_add +
|
completion_list_add +
|
||||||
completion_free
|
completion_free
|
||||||
|
|
||||||
| info |
|
| info
|
||||||
info_get +
|
| info_get +
|
||||||
info_get_hashtable
|
info_get_hashtable
|
||||||
|
|
||||||
| liste info |
|
| liste info
|
||||||
infolist_new +
|
| infolist_new +
|
||||||
infolist_new_item +
|
infolist_new_item +
|
||||||
infolist_new_var_integer +
|
infolist_new_var_integer +
|
||||||
infolist_new_var_string +
|
infolist_new_var_string +
|
||||||
@@ -800,8 +802,8 @@ Elenco di funzioni nelle API per gli script:
|
|||||||
infolist_time +
|
infolist_time +
|
||||||
infolist_free
|
infolist_free
|
||||||
|
|
||||||
| hdata |
|
| hdata
|
||||||
hdata_get +
|
| hdata_get +
|
||||||
hdata_get_var_offset +
|
hdata_get_var_offset +
|
||||||
hdata_get_var_type_string +
|
hdata_get_var_type_string +
|
||||||
hdata_get_var_array_size +
|
hdata_get_var_array_size +
|
||||||
@@ -822,8 +824,8 @@ Elenco di funzioni nelle API per gli script:
|
|||||||
hdata_update +
|
hdata_update +
|
||||||
hdata_get_string
|
hdata_get_string
|
||||||
|
|
||||||
| aggiornamento |
|
| aggiornamento
|
||||||
upgrade_new +
|
| upgrade_new +
|
||||||
upgrade_write_object +
|
upgrade_write_object +
|
||||||
upgrade_read +
|
upgrade_read +
|
||||||
upgrade_close
|
upgrade_close
|
||||||
@@ -839,14 +841,14 @@ Elenco di costanti nelle API per gli script:
|
|||||||
| Categoria | Costanti
|
| Categoria | Costanti
|
||||||
|
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
| codici restituiti |
|
| codici restituiti
|
||||||
`WEECHAT_RC_OK` (integer) +
|
| `WEECHAT_RC_OK` (integer) +
|
||||||
`WEECHAT_RC_OK_EAT` (integer) +
|
`WEECHAT_RC_OK_EAT` (integer) +
|
||||||
`WEECHAT_RC_ERROR` (integer)
|
`WEECHAT_RC_ERROR` (integer)
|
||||||
|
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
| file di configurazione |
|
| file di configurazione
|
||||||
`WEECHAT_CONFIG_READ_OK` (integer) +
|
| `WEECHAT_CONFIG_READ_OK` (integer) +
|
||||||
`WEECHAT_CONFIG_READ_MEMORY_ERROR` (integer) +
|
`WEECHAT_CONFIG_READ_MEMORY_ERROR` (integer) +
|
||||||
`WEECHAT_CONFIG_READ_FILE_NOT_FOUND` (integer) +
|
`WEECHAT_CONFIG_READ_FILE_NOT_FOUND` (integer) +
|
||||||
`WEECHAT_CONFIG_WRITE_OK` (integer) +
|
`WEECHAT_CONFIG_WRITE_OK` (integer) +
|
||||||
@@ -862,26 +864,26 @@ Elenco di costanti nelle API per gli script:
|
|||||||
`WEECHAT_CONFIG_OPTION_UNSET_ERROR` (integer)
|
`WEECHAT_CONFIG_OPTION_UNSET_ERROR` (integer)
|
||||||
|
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
| liste ordinate |
|
| liste ordinate
|
||||||
`WEECHAT_LIST_POS_SORT` (string) +
|
| `WEECHAT_LIST_POS_SORT` (string) +
|
||||||
`WEECHAT_LIST_POS_BEGINNING` (string) +
|
`WEECHAT_LIST_POS_BEGINNING` (string) +
|
||||||
`WEECHAT_LIST_POS_END` (string)
|
`WEECHAT_LIST_POS_END` (string)
|
||||||
|
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
| hotlist |
|
| hotlist
|
||||||
`WEECHAT_HOTLIST_LOW` (string) +
|
| `WEECHAT_HOTLIST_LOW` (string) +
|
||||||
`WEECHAT_HOTLIST_MESSAGE` (string) +
|
`WEECHAT_HOTLIST_MESSAGE` (string) +
|
||||||
`WEECHAT_HOTLIST_PRIVATE` (string) +
|
`WEECHAT_HOTLIST_PRIVATE` (string) +
|
||||||
`WEECHAT_HOTLIST_HIGHLIGHT` (string)
|
`WEECHAT_HOTLIST_HIGHLIGHT` (string)
|
||||||
|
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
| hook su processo |
|
| hook su processo
|
||||||
`WEECHAT_HOOK_PROCESS_RUNNING` (integer) +
|
| `WEECHAT_HOOK_PROCESS_RUNNING` (integer) +
|
||||||
`WEECHAT_HOOK_PROCESS_ERROR` (integer)
|
`WEECHAT_HOOK_PROCESS_ERROR` (integer)
|
||||||
|
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
| hook su connessione |
|
| hook su connessione
|
||||||
`WEECHAT_HOOK_CONNECT_OK` (integer) +
|
| `WEECHAT_HOOK_CONNECT_OK` (integer) +
|
||||||
`WEECHAT_HOOK_CONNECT_ADDRESS_NOT_FOUND` (integer) +
|
`WEECHAT_HOOK_CONNECT_ADDRESS_NOT_FOUND` (integer) +
|
||||||
`WEECHAT_HOOK_CONNECT_IP_ADDRESS_NOT_FOUND` (integer) +
|
`WEECHAT_HOOK_CONNECT_IP_ADDRESS_NOT_FOUND` (integer) +
|
||||||
`WEECHAT_HOOK_CONNECT_CONNECTION_REFUSED` (integer) +
|
`WEECHAT_HOOK_CONNECT_CONNECTION_REFUSED` (integer) +
|
||||||
@@ -894,8 +896,8 @@ Elenco di costanti nelle API per gli script:
|
|||||||
`WEECHAT_HOOK_CONNECT_SOCKET_ERROR` (integer)
|
`WEECHAT_HOOK_CONNECT_SOCKET_ERROR` (integer)
|
||||||
|
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
| hook su segnale |
|
| hook su segnale
|
||||||
`WEECHAT_HOOK_SIGNAL_STRING` (string) +
|
| `WEECHAT_HOOK_SIGNAL_STRING` (string) +
|
||||||
`WEECHAT_HOOK_SIGNAL_INT` (string) +
|
`WEECHAT_HOOK_SIGNAL_INT` (string) +
|
||||||
`WEECHAT_HOOK_SIGNAL_POINTER` (string)
|
`WEECHAT_HOOK_SIGNAL_POINTER` (string)
|
||||||
|===
|
|===
|
||||||
@@ -906,7 +908,7 @@ Elenco di costanti nelle API per gli script:
|
|||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
This chapter shows some common tasks, with examples.
|
This chapter shows some common tasks, with examples.
|
||||||
Only partial things in API are used here, for full reference, see the
|
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]]
|
[[buffers]]
|
||||||
=== Buffer
|
=== Buffer
|
||||||
@@ -1185,8 +1187,9 @@ weechat.hook_process("url:https://weechat.org/dev/info/stable/",
|
|||||||
----
|
----
|
||||||
|
|
||||||
[TIP]
|
[TIP]
|
||||||
Tutte le informazioni disponibili su WeeChat sono sulla pagina
|
// TRANSLATION MISSING
|
||||||
https://weechat.org/dev/info
|
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
|
Esempio di trasferimento di un URL con un'opzione: scaricare l'ultimo pacchetto
|
||||||
di sviluppo di WeeChat nel file _/tmp/weechat-devel.tar.gz_:
|
di sviluppo di WeeChat nel file _/tmp/weechat-devel.tar.gz_:
|
||||||
@@ -1206,7 +1209,7 @@ weechat.hook_process_hashtable("url:https://weechat.org/files/src/weechat-devel.
|
|||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
For more information about URL transfer and available options, see functions
|
For more information about URL transfer and available options, see functions
|
||||||
`+hook_process+` and `+hook_process_hashtable+` in
|
`+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]]
|
[[config_options]]
|
||||||
=== Configurazione / opzioni
|
=== Configurazione / opzioni
|
||||||
@@ -1372,65 +1375,75 @@ The result is a hashtable with following keys
|
|||||||
|
|
||||||
[width="100%",cols="3,^2,10,7",options="header"]
|
[width="100%",cols="3,^2,10,7",options="header"]
|
||||||
|===
|
|===
|
||||||
| Key | Since WeeChat ^(1)^ | Description | Example
|
| Key | Since WeeChat ^(1)^ | Description | Example
|
||||||
|
|
||||||
| tags | 0.4.0 |
|
| tags | 0.4.0
|
||||||
The tags in message (can be empty). |
|
| The tags in message (can be empty).
|
||||||
`+time=2015-06-27T16:40:35.000Z+`
|
| `+time=2015-06-27T16:40:35.000Z+`
|
||||||
|
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
| tag_xxx | 3.3 |
|
| tag_xxx | 3.3
|
||||||
Unescaped value of tag "xxx" (one key per tag). |
|
| Unescaped value of tag "xxx" (one key per tag).
|
||||||
`+2015-06-27T16:40:35.000Z+`
|
| `+2015-06-27T16:40:35.000Z+`
|
||||||
|
|
||||||
| message_without_tags | 0.4.0 |
|
| message_without_tags | 0.4.0
|
||||||
The message without the tags (the same as message if there are no tags). |
|
| The message without the tags (the same as message if there are no tags).
|
||||||
`+:nick!user@host PRIVMSG #weechat :hello!+`
|
| `+:nick!user@host PRIVMSG #weechat :hello!+`
|
||||||
|
|
||||||
| nick | 0.3.4 |
|
| nick | 0.3.4
|
||||||
The origin nick. |
|
| The origin nick.
|
||||||
`+nick+`
|
| `+nick+`
|
||||||
|
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
| user | 2.7 |
|
| user | 2.7
|
||||||
The origin user. |
|
| The origin user.
|
||||||
`+user+`
|
| `+user+`
|
||||||
|
|
||||||
| host | 0.3.4 |
|
| host | 0.3.4
|
||||||
The origin host (includes the nick). |
|
| The origin host (includes the nick).
|
||||||
`+nick!user@host+`
|
| `+nick!user@host+`
|
||||||
|
|
||||||
| command | 0.3.4 |
|
| command | 0.3.4
|
||||||
The command (_PRIVMSG_, _NOTICE_, ...). |
|
| The command (_PRIVMSG_, _NOTICE_, ...).
|
||||||
`+PRIVMSG+`
|
| `+PRIVMSG+`
|
||||||
|
|
||||||
| channel | 0.3.4 |
|
| channel | 0.3.4
|
||||||
The target channel. |
|
| The target channel.
|
||||||
`+#weechat+`
|
| `+#weechat+`
|
||||||
|
|
||||||
| arguments | 0.3.4 |
|
| arguments | 0.3.4
|
||||||
The command arguments (includes the channel). |
|
| The command arguments (includes the channel).
|
||||||
`+#weechat :hello!+`
|
| `+#weechat :hello!+`
|
||||||
|
|
||||||
| text | 1.3 |
|
| text | 1.3
|
||||||
The text (for example user message). |
|
| The text (for example user message).
|
||||||
`+hello!+`
|
| `+hello!+`
|
||||||
|
|
||||||
| pos_command | 1.3 |
|
// TRANSLATION MISSING
|
||||||
The index of _command_ in message ("-1" if _command_ was not found). |
|
| paramN | 3.4
|
||||||
`+47+`
|
| Command parameter (from 1 to N).
|
||||||
|
| `+#weechat+`
|
||||||
|
|
||||||
| pos_arguments | 1.3 |
|
// TRANSLATION MISSING
|
||||||
The index of _arguments_ in message ("-1" if _arguments_ was not found). |
|
| num_params | 3.4
|
||||||
`+55+`
|
| Number of command parameters.
|
||||||
|
| `+2+`
|
||||||
|
|
||||||
| pos_channel | 1.3 |
|
| pos_command | 1.3
|
||||||
The index of _channel_ in message ("-1" if _channel_ was not found). |
|
| The index of _command_ in message ("-1" if _command_ was not found).
|
||||||
`+55+`
|
| `+47+`
|
||||||
|
|
||||||
| pos_text | 1.3 |
|
| pos_arguments | 1.3
|
||||||
The index of _text_ in message ("-1" if _text_ was not found). |
|
| The index of _arguments_ in message ("-1" if _arguments_ was not found).
|
||||||
`+65+`
|
| `+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+`
|
||||||
|===
|
|===
|
||||||
|
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
@@ -1455,6 +1468,9 @@ dict = weechat.info_get_hashtable(
|
|||||||
# "channel": "#weechat",
|
# "channel": "#weechat",
|
||||||
# "arguments": "#weechat :hello!",
|
# "arguments": "#weechat :hello!",
|
||||||
# "text": "hello!",
|
# "text": "hello!",
|
||||||
|
# "param1": "#weechat",
|
||||||
|
# "param2": "hello!",
|
||||||
|
# "num_params": "2",
|
||||||
# "pos_command": "65",
|
# "pos_command": "65",
|
||||||
# "pos_arguments": "73",
|
# "pos_arguments": "73",
|
||||||
# "pos_channel": "73",
|
# "pos_channel": "73",
|
||||||
|
|||||||
+822
-359
File diff suppressed because it is too large
Load Diff
@@ -94,6 +94,8 @@
|
|||||||
|
|
||||||
| tcl | tcl_script | スクリプトのリスト
|
| 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_arguments | フックに対するデフォルト引数
|
||||||
|
|
||||||
| trigger | trigger_hook_command | フックに対するデフォルトコマンド
|
| trigger | trigger_hook_command | フックに対するデフォルトコマンド
|
||||||
@@ -148,6 +150,14 @@
|
|||||||
|
|
||||||
| weechat | cursor_areas | カーソルを自由に動かせるエリア ("chat" またはバーの名前)
|
| 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_value | 環境変数の値
|
||||||
|
|
||||||
| weechat | env_vars | 環境変数
|
| weechat | env_vars | 環境変数
|
||||||
|
|||||||
@@ -631,6 +631,8 @@ _text_search_input_ (string) +
|
|||||||
_highlight_words_ (string) +
|
_highlight_words_ (string) +
|
||||||
_highlight_regex_ (string) +
|
_highlight_regex_ (string) +
|
||||||
_highlight_regex_compiled_ (pointer) +
|
_highlight_regex_compiled_ (pointer) +
|
||||||
|
_highlight_disable_regex_ (string) +
|
||||||
|
_highlight_disable_regex_compiled_ (pointer) +
|
||||||
_highlight_tags_restrict_ (string) +
|
_highlight_tags_restrict_ (string) +
|
||||||
_highlight_tags_restrict_count_ (integer) +
|
_highlight_tags_restrict_count_ (integer) +
|
||||||
_highlight_tags_restrict_array_ (pointer, array_size: "highlight_tags_restrict_count") +
|
_highlight_tags_restrict_array_ (pointer, array_size: "highlight_tags_restrict_count") +
|
||||||
|
|||||||
@@ -128,6 +128,8 @@
|
|||||||
|
|
||||||
| weechat | uptime | WeeChat 連続稼働時間 (書式: "days:hh:mm:ss") | "days" (日数) または "seconds" (秒数) (任意)
|
| weechat | uptime | WeeChat 連続稼働時間 (書式: "days:hh:mm:ss") | "days" (日数) または "seconds" (秒数) (任意)
|
||||||
|
|
||||||
|
| weechat | uptime_current | WeeChat uptime for the current process only (upgrades with /upgrade command are ignored) (format: "days:hh:mm:ss") | "days" (日数) または "seconds" (秒数) (任意)
|
||||||
|
|
||||||
| weechat | version | WeeChat のバージョン | -
|
| weechat | version | WeeChat のバージョン | -
|
||||||
|
|
||||||
| weechat | version_git | WeeChat の git バージョン (開発バージョンではコマンド "git describe" の出力、安定版リリースでは空文字が出力されます) | -
|
| weechat | version_git | WeeChat の git バージョン (開発バージョンではコマンド "git describe" の出力、安定版リリースでは空文字が出力されます) | -
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
// tag::url_options[]
|
// tag::url_options[]
|
||||||
[width="100%",cols="2,^1,7",options="header"]
|
[width="100%",cols="2,^1,7",options="header"]
|
||||||
|===
|
|===
|
||||||
| オプション | タイプ ^(1)^ | 定数 ^(2)^
|
| オプション | タイプ ^(1)^ | 定数 ^(2)^
|
||||||
|
|
||||||
| verbose | long |
|
| verbose | long |
|
||||||
|
|
||||||
|
|||||||
@@ -130,7 +130,7 @@ Examples:
|
|||||||
/autojoin add [<channel1> [<channel2>...]]
|
/autojoin add [<channel1> [<channel2>...]]
|
||||||
addraw <channel1>[,<channel2>...] [<key1>[,<key2>...]]
|
addraw <channel1>[,<channel2>...] [<key1>[,<key2>...]]
|
||||||
del [<channel1> [<channel2>...]]
|
del [<channel1> [<channel2>...]]
|
||||||
save
|
apply
|
||||||
sort
|
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
|
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
|
del: delete current channel or a list of channels from the autojoin option
|
||||||
channel: channel name
|
channel: channel name
|
||||||
key: key for the channel
|
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
|
sort: sort alphabetically channels in the autojoin option
|
||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
/autojoin add
|
/autojoin add
|
||||||
/autojoin add #test
|
/autojoin add #test
|
||||||
/autojoin add #chan1 #chan2
|
/autojoin add #chan1 #chan2
|
||||||
|
/allchan /autojoin add
|
||||||
/autojoin addraw #chan1,#chan2,#chan3 key1,key2
|
/autojoin addraw #chan1,#chan2,#chan3 key1,key2
|
||||||
/autojoin del
|
/autojoin del
|
||||||
/autojoin del #chan1
|
/autojoin del #chan1
|
||||||
/autojoin save
|
/autojoin apply
|
||||||
/autojoin sort
|
/autojoin sort
|
||||||
----
|
----
|
||||||
|
|
||||||
@@ -175,7 +176,7 @@ channel: チャンネル名
|
|||||||
|
|
||||||
ls: list the capabilities supported by the server
|
ls: list the capabilities supported by the server
|
||||||
list: list the capabilities currently enabled
|
list: list the capabilities currently enabled
|
||||||
req: request a capability
|
req: request a new capability or remove a capability (if starting with "-", for example: "-multi-prefix")
|
||||||
ack: acknowledge capabilities which require client-side acknowledgement
|
ack: acknowledge capabilities which require client-side acknowledgement
|
||||||
end: end the capability negotiation
|
end: end the capability negotiation
|
||||||
|
|
||||||
@@ -186,8 +187,14 @@ Capabilities supported by WeeChat are: account-notify, away-notify, cap-notify,
|
|||||||
The capabilities to automatically enable on servers can be set in option irc.server_default.capabilities (or by server in option irc.server.xxx.capabilities).
|
The capabilities to automatically enable on servers can be set in option irc.server_default.capabilities (or by server in option irc.server.xxx.capabilities).
|
||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
/cap
|
display supported and enabled capabilities:
|
||||||
/cap req multi-prefix away-notify
|
/cap
|
||||||
|
request capabilities multi-prefix and away-notify:
|
||||||
|
/cap req multi-prefix away-notify
|
||||||
|
request capability extended-join, remove capability multi-prefix:
|
||||||
|
/cap req extended-join -multi-prefix
|
||||||
|
remove capability away-notify:
|
||||||
|
/cap req -away-notify
|
||||||
----
|
----
|
||||||
|
|
||||||
[[command_irc_connect]]
|
[[command_irc_connect]]
|
||||||
@@ -1331,8 +1338,8 @@ Examples:
|
|||||||
----
|
----
|
||||||
/debug list
|
/debug list
|
||||||
set <plugin> <level>
|
set <plugin> <level>
|
||||||
dump [<plugin>]
|
dump|hooks [<plugin>]
|
||||||
buffer|color|infolists|libs|certs|memory|tags|term|windows
|
buffer|certs|color|dirs|infolists|libs|memory|tags|term|windows
|
||||||
mouse|cursor [verbose]
|
mouse|cursor [verbose]
|
||||||
hdata [free]
|
hdata [free]
|
||||||
time <command>
|
time <command>
|
||||||
@@ -1342,15 +1349,15 @@ Examples:
|
|||||||
plugin: name of plugin ("core" for WeeChat core)
|
plugin: name of plugin ("core" for WeeChat core)
|
||||||
level: debug level for plugin (0 = disable debug)
|
level: debug level for plugin (0 = disable debug)
|
||||||
dump: save memory dump in WeeChat log file (same dump is written when WeeChat crashes)
|
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
|
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
|
color: display infos about current color pairs
|
||||||
cursor: toggle debug for cursor mode
|
cursor: toggle debug for cursor mode
|
||||||
dirs: display directories
|
dirs: display directories
|
||||||
hdata: display infos about hdata (with free: remove all hdata in memory)
|
hdata: display infos about hdata (with free: remove all hdata in memory)
|
||||||
hooks: display infos about hooks
|
|
||||||
infolists: display infos about infolists
|
infolists: display infos about infolists
|
||||||
libs: display infos about external libraries used
|
libs: display infos about external libraries used
|
||||||
certs: display number of loaded trusted certificate authorities
|
|
||||||
memory: display infos about memory usage
|
memory: display infos about memory usage
|
||||||
mouse: toggle debug for mouse
|
mouse: toggle debug for mouse
|
||||||
tags: display tags for lines
|
tags: display tags for lines
|
||||||
@@ -1408,28 +1415,30 @@ Some variables are replaced in expression, using the format ${variable}, variabl
|
|||||||
3. an evaluated sub-string (format: "eval:xxx")
|
3. an evaluated sub-string (format: "eval:xxx")
|
||||||
4. an evaluated condition (format: "eval_cond:xxx")
|
4. an evaluated condition (format: "eval_cond:xxx")
|
||||||
5. a string with escaped chars (format: "esc:xxx" or "\xxx")
|
5. a string with escaped chars (format: "esc:xxx" or "\xxx")
|
||||||
6. a string with chars to hide (format: "hide:char,string")
|
6. a string converted to lower case (format: "lower:xxx")
|
||||||
7. a string with max chars (format: "cut:max,suffix,string" or "cut:+max,suffix,string")
|
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")
|
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")
|
10. a reversed string (format: "rev:xxx" or "revscr:xxx")
|
||||||
9. a repeated string (format: "repeat:count,string")
|
11. a repeated string (format: "repeat:count,string")
|
||||||
10. length of a string (format: "length:xxx" or "lengthscr:xxx")
|
12. length of a string (format: "length:xxx" or "lengthscr:xxx")
|
||||||
11. split of a string (format: "split:number,separators,flags,xxx")
|
13. split of a string (format: "split:number,separators,flags,xxx")
|
||||||
12. split of shell argmuents (format: "split_shell:number,xxx")
|
14. split of shell argmuents (format: "split_shell:number,xxx")
|
||||||
13. a color (format: "color:xxx", see "Plugin API reference", function "color")
|
15. a color (format: "color:xxx", see "Plugin API reference", function "color")
|
||||||
14. a modifier (format: "modifier:name,data,string")
|
16. a modifier (format: "modifier:name,data,string")
|
||||||
15. an info (format: "info:name,arguments", arguments are optional)
|
17. 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")
|
18. 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")
|
19. current date/time (format: "date" or "date:format")
|
||||||
18. an environment variable (format: "env:XXX")
|
20. an environment variable (format: "env:XXX")
|
||||||
19. a ternary operator (format: "if:condition?value_if_true:value_if_false")
|
21. a ternary operator (format: "if:condition?value_if_true:value_if_false")
|
||||||
20. result of an expression with parentheses and operators + - * / // % ** (format: "calc:xxx")
|
22. result of an expression with parentheses and operators + - * / // % ** (format: "calc:xxx")
|
||||||
21. a random integer number (format: "random:min,max")
|
23. a random integer number (format: "random:min,max")
|
||||||
22. a translated string (format: "translate:xxx")
|
24. a translated string (format: "translate:xxx")
|
||||||
23. define a user variable (format: "define:name,value")
|
25. define a user variable (format: "define:name,value")
|
||||||
24. an option (format: "file.section.option")
|
26. an option (format: "file.section.option")
|
||||||
25. a local variable in buffer
|
27. 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.
|
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:
|
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.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:
|
hdata[list].var1.var2...: start with a hdata using a list/pointer/pointer name, for example:
|
||||||
@@ -1452,6 +1461,8 @@ Examples (simple strings):
|
|||||||
/eval -n ${window.buffer.full_name} ==> core.weechat
|
/eval -n ${window.buffer.full_name} ==> core.weechat
|
||||||
/eval -n ${window.buffer.number} ==> 1
|
/eval -n ${window.buffer.number} ==> 1
|
||||||
/eval -n ${\t} ==> <tab>
|
/eval -n ${\t} ==> <tab>
|
||||||
|
/eval -n ${lower:TEST} ==> test
|
||||||
|
/eval -n ${upper:test} ==> TEST
|
||||||
/eval -n ${hide:-,${relay.network.password}} ==> --------
|
/eval -n ${hide:-,${relay.network.password}} ==> --------
|
||||||
/eval -n ${cut:3,+,test} ==> tes+
|
/eval -n ${cut:3,+,test} ==> tes+
|
||||||
/eval -n ${cut:+3,+,test} ==> te+
|
/eval -n ${cut:+3,+,test} ==> te+
|
||||||
@@ -1497,7 +1508,7 @@ Examples (conditions):
|
|||||||
add|addreplace <name> <buffer>[,<buffer>...] <tags> <regex>
|
add|addreplace <name> <buffer>[,<buffer>...] <tags> <regex>
|
||||||
rename <name> <new_name>
|
rename <name> <new_name>
|
||||||
recreate <name>
|
recreate <name>
|
||||||
del <name>|-all
|
del <name>|-all [<name>...]
|
||||||
|
|
||||||
list: list all filters
|
list: list all filters
|
||||||
enable: enable filters (filters are enabled by default)
|
enable: enable filters (filters are enabled by default)
|
||||||
@@ -1603,6 +1614,7 @@ list of actions:
|
|||||||
delete_previous_char: delete previous char
|
delete_previous_char: delete previous char
|
||||||
delete_next_char: delete next char
|
delete_next_char: delete next char
|
||||||
delete_previous_word: delete previous word
|
delete_previous_word: delete previous word
|
||||||
|
delete_previous_word_whitespace: delete previous word (until whitespace)
|
||||||
delete_next_word: delete next word
|
delete_next_word: delete next word
|
||||||
delete_beginning_of_line: delete from beginning of line until cursor
|
delete_beginning_of_line: delete from beginning of line until cursor
|
||||||
delete_end_of_line: delete from cursor until end of line
|
delete_end_of_line: delete from cursor until end of line
|
||||||
@@ -1646,6 +1658,49 @@ list of actions:
|
|||||||
This command is used by key bindings or plugins.
|
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]]
|
[[command_weechat_key]]
|
||||||
* `+key+`: キーの割り当てと割り当て解除
|
* `+key+`: キーの割り当てと割り当て解除
|
||||||
|
|
||||||
@@ -2068,19 +2123,22 @@ option: オプションの名前
|
|||||||
----
|
----
|
||||||
|
|
||||||
[[command_weechat_upgrade]]
|
[[command_weechat_upgrade]]
|
||||||
* `+upgrade+`: サーバとの接続を維持して WeeChat 実行バイナリを再読込
|
* `+upgrade+`: save WeeChat session and reload the WeeChat binary without disconnecting from servers
|
||||||
|
|
||||||
----
|
----
|
||||||
/upgrade [-yes] [<path_to_binary>|-quit]
|
/upgrade [-yes] [<path_to_binary>|-save|-quit]
|
||||||
|
|
||||||
-yes: required if option "weechat.look.confirm_upgrade" is enabled
|
-yes: required if option "weechat.look.confirm_upgrade" is enabled
|
||||||
path_to_binary: path to WeeChat binary (default is current binary)
|
path_to_binary: path to WeeChat binary (default is current binary)
|
||||||
-dummy: do nothing (option used to prevent accidental completion with "-quit")
|
-dummy: do nothing (option used to prevent accidental completion with "-quit")
|
||||||
|
-save: only save the session, do not quit nor reload WeeChat; the configuration files are not saved (if needed you can use /save before this command)
|
||||||
-quit: close *ALL* connections, save session and quit WeeChat, which makes possible a delayed restoration (see below)
|
-quit: close *ALL* connections, save session and quit WeeChat, which makes possible a delayed restoration (see below)
|
||||||
|
|
||||||
This command upgrades and reloads a running WeeChat session. The new WeeChat binary must have been compiled or installed with a package manager before running this command.
|
This command upgrades and reloads a running WeeChat session. The new WeeChat binary must have been compiled or installed with a package manager before running this command.
|
||||||
|
|
||||||
Note: SSL connections are lost during upgrade, because reload of SSL sessions is currently not possible with GnuTLS. There is automatic reconnection after upgrade.
|
Note: SSL connections are lost during upgrade (except with -save), because the reload of SSL sessions is currently not possible with GnuTLS. There is automatic reconnection after upgrade.
|
||||||
|
|
||||||
|
Important: use of option -save can be dangerous, it is recommended to use only /upgrade (or with -quit) for a standard upgrade and a restart; the option -save can be used to save the session regularly and restore it in case of after abnormal exit (power outage, crash, etc.)
|
||||||
|
|
||||||
Upgrade process has 4 steps:
|
Upgrade process has 4 steps:
|
||||||
1. save session into files for core and plugins (buffers, history, ..)
|
1. save session into files for core and plugins (buffers, history, ..)
|
||||||
@@ -2088,14 +2146,18 @@ Upgrade process has 4 steps:
|
|||||||
3. save WeeChat configuration (weechat.conf)
|
3. save WeeChat configuration (weechat.conf)
|
||||||
4. execute new WeeChat binary and reload session.
|
4. execute new WeeChat binary and reload session.
|
||||||
|
|
||||||
With option "-quit", the process is slightly different:
|
With option "-quit", the process is:
|
||||||
1. close *ALL* connections (irc, xfer, relay, ...)
|
1. close *ALL* connections (irc, xfer, relay, ...)
|
||||||
2. save session into files (*.upgrade)
|
2. save session into files (*.upgrade)
|
||||||
3. unload all plugins
|
3. unload all plugins
|
||||||
4. save WeeChat configuration
|
4. save WeeChat configuration
|
||||||
5. quit WeeChat
|
5. quit WeeChat
|
||||||
Then later you can restore session with command: weechat --upgrade
|
|
||||||
IMPORTANT: you must restore the session with exactly same configuration (files *.conf).
|
With option "-save", the process is:
|
||||||
|
1. save session into files (*.upgrade) with a disconnected state for IRC servers and Relay clients (but no disconnection is made)
|
||||||
|
|
||||||
|
With -quit or -save, you can restore the session later with this command: weechat --upgrade
|
||||||
|
IMPORTANT: you must restore the session with exactly same configuration (files *.conf) and if possible the same WeeChat version (or a more recent one).
|
||||||
It is possible to restore WeeChat session on another machine if you copy the content of WeeChat home directories (see /debug dirs).
|
It is possible to restore WeeChat session on another machine if you copy the content of WeeChat home directories (see /debug dirs).
|
||||||
----
|
----
|
||||||
|
|
||||||
@@ -2280,6 +2342,7 @@ The following variables can be used in these options:
|
|||||||
- ${format_hotlist}: the formatted hotlist (evaluation of option buflist.format.hotlist)
|
- ${format_hotlist}: the formatted hotlist (evaluation of option buflist.format.hotlist)
|
||||||
- ${hotlist}: the raw hotlist
|
- ${hotlist}: the raw hotlist
|
||||||
- ${hotlist_priority}: "none", "low", "message", "private" or "highlight"
|
- ${hotlist_priority}: "none", "low", "message", "private" or "highlight"
|
||||||
|
- ${hotlist_priority_number}: -1 = none, 0 = low, 1 = message, 2 = private, 3 = highlight
|
||||||
- ${format_lag}: the lag for an IRC server buffer, empty if there's no lag (evaluation of option buflist.format.lag)
|
- ${format_lag}: the lag for an IRC server buffer, empty if there's no lag (evaluation of option buflist.format.lag)
|
||||||
- ${format_tls_version}: indicator of TLS version for a server buffer, empty for channels (evaluation of option buflist.format.tls_version)
|
- ${format_tls_version}: indicator of TLS version for a server buffer, empty for channels (evaluation of option buflist.format.tls_version)
|
||||||
----
|
----
|
||||||
@@ -2846,7 +2909,7 @@ protocol.name: protocol and name to relay:
|
|||||||
- protocol "weechat" (name is not used)
|
- protocol "weechat" (name is not used)
|
||||||
|
|
||||||
The "irc" protocol allows any IRC client (including WeeChat itself) to connect on the port.
|
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.
|
Without argument, this command opens buffer with list of relay clients.
|
||||||
|
|
||||||
@@ -3001,27 +3064,27 @@ Examples:
|
|||||||
----
|
----
|
||||||
/spell enable|disable|toggle
|
/spell enable|disable|toggle
|
||||||
listdict
|
listdict
|
||||||
setdict <dict>[,<dict>...]
|
setdict -|<dict>[,<dict>...]
|
||||||
deldict
|
deldict
|
||||||
addword [<dict>] <word>
|
addword [<dict>] <word>
|
||||||
|
|
||||||
enable: スペルチェックの有効化
|
enable: enable spell checker
|
||||||
disable: スペルチェックの無効化
|
disable: disable spell checker
|
||||||
toggle: スペルチェックの有効無効を切り替え
|
toggle: toggle spell checker
|
||||||
listdict: インストール済み辞書を表示
|
listdict: show installed dictionaries
|
||||||
setdict: 現在のバッファ用の辞書を設定 (コンマで区切れば複数の辞書を指定可能)
|
setdict: set dictionary for current buffer (multiple dictionaries can be separated by a comma, the special value "-" disables spell checking on current buffer)
|
||||||
deldict: 現在のバッファ用の辞書を削除
|
deldict: delete dictionary used on current buffer
|
||||||
addword: 個人辞書に単語を追加
|
addword: add a word in personal dictionary
|
||||||
|
|
||||||
一部のコマンドを除いて '/' で始まる入力行はチェックされません (/set spell.check.commands を参照してください)。
|
Input line beginning with a '/' is not checked, except for some commands (see /set spell.check.commands).
|
||||||
|
|
||||||
全てのバッファでスペルチェックを有効化するには、"default_dict" オプションを設定した後に、スペルチェックを有効化してください。例:
|
To enable spell checker on all buffers, use option "default_dict", then enable spell checker, for example:
|
||||||
/set spell.check.default_dict "en"
|
/set spell.check.default_dict "en"
|
||||||
/spell enable
|
/spell enable
|
||||||
|
|
||||||
バーの中にスペル候補リストを表示するには、"spell_suggest" 要素を使ってください。
|
To display a list of suggestions in a bar, use item "spell_suggest".
|
||||||
|
|
||||||
スペルチェックの有効無効を切り替えるデフォルトのキーは alt-s です。
|
Default key to toggle spell checker is alt-s.
|
||||||
----
|
----
|
||||||
// end::spell_commands[]
|
// end::spell_commands[]
|
||||||
|
|
||||||
@@ -3138,6 +3201,8 @@ Examples (you can also look at default triggers with /trigger listdefault):
|
|||||||
/trigger add resize_big signal signal_sigwinch "${info:term_width} >= 100" "" "/bar show nicklist"
|
/trigger add resize_big signal signal_sigwinch "${info:term_width} >= 100" "" "/bar show nicklist"
|
||||||
silently save config each hour:
|
silently save config each hour:
|
||||||
/trigger add cfgsave timer 3600000;0;0 "" "" "/mute /save"
|
/trigger add cfgsave timer 3600000;0;0 "" "" "/mute /save"
|
||||||
|
silently save WeeChat session at midnight (see /help upgrade):
|
||||||
|
/trigger add session_save signal day_changed "" "" "/mute /upgrade -save"
|
||||||
open trigger monitor and show only modifiers and triggers whose name starts with "resize":
|
open trigger monitor and show only modifiers and triggers whose name starts with "resize":
|
||||||
/trigger monitor @modifier,resize*
|
/trigger monitor @modifier,resize*
|
||||||
----
|
----
|
||||||
|
|||||||
@@ -750,6 +750,12 @@
|
|||||||
** 値: 未制約文字列
|
** 値: 未制約文字列
|
||||||
** デフォルト値: `+""+`
|
** デフォルト値: `+""+`
|
||||||
|
|
||||||
|
* [[option_weechat.look.highlight_disable_regex]] *weechat.look.highlight_disable_regex*
|
||||||
|
** 説明: pass:none[POSIX extended regular expression used to prevent any highlight from a message: this option has higher priority over other highlight options (if the string is found in the message, the highlight is disabled and the other options are ignored), regular expression is case insensitive (use "(?-i)" at beginning to make it case sensitive), examples: "<flash.*>", "(?-i)<Flash.*>"]
|
||||||
|
** タイプ: 文字列
|
||||||
|
** 値: 未制約文字列
|
||||||
|
** デフォルト値: `+""+`
|
||||||
|
|
||||||
* [[option_weechat.look.highlight_regex]] *weechat.look.highlight_regex*
|
* [[option_weechat.look.highlight_regex]] *weechat.look.highlight_regex*
|
||||||
** 説明: pass:none[メッセージ中のハイライトの有無を判断する POSIX 拡張正規表現、マッチ部分は必ず区切り文字 (アルファベット、"-"、"_"、"|" 以外の文字) で囲まれていなければいけない、正規表現は大文字小文字を区別しない (最初に "(?-i)" がある場合は区別する)、例: "flashcode|flashy"、"(?-i)FlashCode|flashy"]
|
** 説明: pass:none[メッセージ中のハイライトの有無を判断する POSIX 拡張正規表現、マッチ部分は必ず区切り文字 (アルファベット、"-"、"_"、"|" 以外の文字) で囲まれていなければいけない、正規表現は大文字小文字を区別しない (最初に "(?-i)" がある場合は区別する)、例: "flashcode|flashy"、"(?-i)FlashCode|flashy"]
|
||||||
** タイプ: 文字列
|
** タイプ: 文字列
|
||||||
@@ -1397,7 +1403,7 @@
|
|||||||
** デフォルト値: `+default+`
|
** デフォルト値: `+default+`
|
||||||
|
|
||||||
* [[option_logger.file.auto_log]] *logger.file.auto_log*
|
* [[option_logger.file.auto_log]] *logger.file.auto_log*
|
||||||
** 説明: pass:none[バッファの内容をファイルに自動的に保存 (バッファのログ保存が無効化されていない限り)]
|
** 説明: pass:none[automatically save content of buffers to files (unless a buffer disables log); if disabled, logging is disabled on all buffers]
|
||||||
** タイプ: ブール
|
** タイプ: ブール
|
||||||
** 値: on, off
|
** 値: on, off
|
||||||
** デフォルト値: `+on+`
|
** デフォルト値: `+on+`
|
||||||
@@ -1462,6 +1468,24 @@
|
|||||||
** 値: 未制約文字列
|
** 値: 未制約文字列
|
||||||
** デフォルト値: `+"_"+`
|
** デフォルト値: `+"_"+`
|
||||||
|
|
||||||
|
* [[option_logger.file.rotation_compression_level]] *logger.file.rotation_compression_level*
|
||||||
|
** 説明: pass:none[compression level for rotated log files (with extension ".1", ".2", etc.), if option logger.file.rotation_compression_type is enabled: 1 = low compression / fast ... 100 = best compression / slow; the value is a percentage converted to 1-9 for gzip and 1-19 for zstd; the default value is recommended, it offers a good compromise between compression and speed]
|
||||||
|
** タイプ: 整数
|
||||||
|
** 値: 1 .. 100
|
||||||
|
** デフォルト値: `+20+`
|
||||||
|
|
||||||
|
* [[option_logger.file.rotation_compression_type]] *logger.file.rotation_compression_type*
|
||||||
|
** 説明: pass:none[compression type for rotated log files; if set to "none", rotated log files are not compressed; WARNING: if rotation was enabled with another type of compression (or no compression), you must first unload the logger plugin, compress files with the new type (or decompress files), then change the option in logger.conf, then load the logger plugin]
|
||||||
|
** タイプ: 整数
|
||||||
|
** 値: none, gzip, zstd
|
||||||
|
** デフォルト値: `+none+`
|
||||||
|
|
||||||
|
* [[option_logger.file.rotation_size_max]] *logger.file.rotation_size_max*
|
||||||
|
** 説明: pass:none[when this size is reached, a rotation of log files is performed: the existing rotated log files are renamed (.1 becomes .2, .2 becomes .3, etc.) and the current file is renamed with extension .1; an integer number with a suffix is allowed: b = bytes (default if no unit given), k = kilobytes, m = megabytes, g = gigabytes, t = terabytes; example: "2g" causes a rotation if the file size is > 2,000,000,000 bytes; if set to "0", no rotation is performed (unlimited log size); WARNING: before changing this option, you should first set the compression type via option logger.file.rotation_compression_type]
|
||||||
|
** タイプ: 文字列
|
||||||
|
** 値: 未制約文字列
|
||||||
|
** デフォルト値: `+"0"+`
|
||||||
|
|
||||||
* [[option_logger.file.time_format]] *logger.file.time_format*
|
* [[option_logger.file.time_format]] *logger.file.time_format*
|
||||||
** 説明: pass:none[ログファイルで使用するタイムスタンプ (日付/時間指定子は strftime の man 参照)]
|
** 説明: pass:none[ログファイルで使用するタイムスタンプ (日付/時間指定子は strftime の man 参照)]
|
||||||
** タイプ: 文字列
|
** タイプ: 文字列
|
||||||
@@ -1544,6 +1568,12 @@
|
|||||||
** 値: WeeChat の色名 (default、black、(dark)gray、white、(light)red、(light)green、brown、yellow、(light)blue、(light)magenta、(light)cyan) 、端末色番号またはその別名; 色の前に属性を置くことができます (テキスト前景色のみ、背景色は出来ません): 太字は "*"、反転は "!"、イタリックは "/"、下線は "_"
|
** 値: WeeChat の色名 (default、black、(dark)gray、white、(light)red、(light)green、brown、yellow、(light)blue、(light)magenta、(light)cyan) 、端末色番号またはその別名; 色の前に属性を置くことができます (テキスト前景色のみ、背景色は出来ません): 太字は "*"、反転は "!"、イタリックは "/"、下線は "_"
|
||||||
** デフォルト値: `+lightmagenta+`
|
** デフォルト値: `+lightmagenta+`
|
||||||
|
|
||||||
|
* [[option_trigger.color.identifier]] *trigger.color.identifier*
|
||||||
|
** 説明: pass:none[text color for trigger context identifier in monitor buffer]
|
||||||
|
** タイプ: 色
|
||||||
|
** 値: WeeChat の色名 (default、black、(dark)gray、white、(light)red、(light)green、brown、yellow、(light)blue、(light)magenta、(light)cyan) 、端末色番号またはその別名; 色の前に属性を置くことができます (テキスト前景色のみ、背景色は出来ません): 太字は "*"、反転は "!"、イタリックは "/"、下線は "_"
|
||||||
|
** デフォルト値: `+cyan+`
|
||||||
|
|
||||||
* [[option_trigger.color.regex]] *trigger.color.regex*
|
* [[option_trigger.color.regex]] *trigger.color.regex*
|
||||||
** 説明: pass:none[正規表現に対するテキスト色]
|
** 説明: pass:none[正規表現に対するテキスト色]
|
||||||
** タイプ: 色
|
** タイプ: 色
|
||||||
@@ -1771,7 +1801,7 @@
|
|||||||
** デフォルト値: `+"${buffer.hidden}==0"+`
|
** デフォルト値: `+"${buffer.hidden}==0"+`
|
||||||
|
|
||||||
* [[option_buflist.look.enabled]] *buflist.look.enabled*
|
* [[option_buflist.look.enabled]] *buflist.look.enabled*
|
||||||
** 説明: pass:none[buflist を有効化します]
|
** 説明: pass:none[enable buflist; it is recommended to use this option instead of just hiding the bar because it also removes some internal hooks that are not needed any more when the bar is hidden; you can also use the command "/buflist toggle" or use the default key alt+shift+b]
|
||||||
** タイプ: ブール
|
** タイプ: ブール
|
||||||
** 値: on, off
|
** 値: on, off
|
||||||
** デフォルト値: `+on+`
|
** デフォルト値: `+on+`
|
||||||
@@ -2127,7 +2157,7 @@
|
|||||||
** デフォルト値: `+cyan+`
|
** デフォルト値: `+cyan+`
|
||||||
|
|
||||||
* [[option_irc.color.message_chghost]] *irc.color.message_chghost*
|
* [[option_irc.color.message_chghost]] *irc.color.message_chghost*
|
||||||
** 説明: pass:none[chghost メッセージの色]
|
** 説明: pass:none[color for text in "chghost" messages]
|
||||||
** タイプ: 色
|
** タイプ: 色
|
||||||
** 値: WeeChat の色名 (default、black、(dark)gray、white、(light)red、(light)green、brown、yellow、(light)blue、(light)magenta、(light)cyan) 、端末色番号またはその別名; 色の前に属性を置くことができます (テキスト前景色のみ、背景色は出来ません): 太字は "*"、反転は "!"、イタリックは "/"、下線は "_"
|
** 値: WeeChat の色名 (default、black、(dark)gray、white、(light)red、(light)green、brown、yellow、(light)blue、(light)magenta、(light)cyan) 、端末色番号またはその別名; 色の前に属性を置くことができます (テキスト前景色のみ、背景色は出来ません): 太字は "*"、反転は "!"、イタリックは "/"、下線は "_"
|
||||||
** デフォルト値: `+brown+`
|
** デフォルト値: `+brown+`
|
||||||
@@ -2150,6 +2180,12 @@
|
|||||||
** 値: WeeChat の色名 (default、black、(dark)gray、white、(light)red、(light)green、brown、yellow、(light)blue、(light)magenta、(light)cyan) 、端末色番号またはその別名; 色の前に属性を置くことができます (テキスト前景色のみ、背景色は出来ません): 太字は "*"、反転は "!"、イタリックは "/"、下線は "_"
|
** 値: WeeChat の色名 (default、black、(dark)gray、white、(light)red、(light)green、brown、yellow、(light)blue、(light)magenta、(light)cyan) 、端末色番号またはその別名; 色の前に属性を置くことができます (テキスト前景色のみ、背景色は出来ません): 太字は "*"、反転は "!"、イタリックは "/"、下線は "_"
|
||||||
** デフォルト値: `+red+`
|
** デフォルト値: `+red+`
|
||||||
|
|
||||||
|
* [[option_irc.color.message_setname]] *irc.color.message_setname*
|
||||||
|
** 説明: pass:none[color for text in "setname" messages]
|
||||||
|
** タイプ: 色
|
||||||
|
** 値: WeeChat の色名 (default、black、(dark)gray、white、(light)red、(light)green、brown、yellow、(light)blue、(light)magenta、(light)cyan) 、端末色番号またはその別名; 色の前に属性を置くことができます (テキスト前景色のみ、背景色は出来ません): 太字は "*"、反転は "!"、イタリックは "/"、下線は "_"
|
||||||
|
** デフォルト値: `+brown+`
|
||||||
|
|
||||||
* [[option_irc.color.mirc_remap]] *irc.color.mirc_remap*
|
* [[option_irc.color.mirc_remap]] *irc.color.mirc_remap*
|
||||||
** 説明: pass:none[メッセージに含まれる mirc の定義する色に対するマッピングをハッシュテーブルで変更: キーは "fg,bg" で -1 (指定無し) から 15 までの整数、値は WeeChat 色名か色番号 (書式: "1,-1:color1;2,7:color2")、例: "1,-1:darkgray;1,2:white,blue" はテキスト色が黒のものを "darkgray" に、背景色が青でテキスト色が黒のものを "white,blue" に変更; IRC コードに対するデフォルトの WeeChat 色は、0=白、1=黒、2=青、3=緑、4=ライトレッド、5=赤、6=赤紫、7=茶色、8=黄色、9=ライトグリーン、10=シアン、11=ライトシアン、12=ライトブルー、13=ライトマゼンタ、14=暗い灰色、15=灰色]
|
** 説明: pass:none[メッセージに含まれる mirc の定義する色に対するマッピングをハッシュテーブルで変更: キーは "fg,bg" で -1 (指定無し) から 15 までの整数、値は WeeChat 色名か色番号 (書式: "1,-1:color1;2,7:color2")、例: "1,-1:darkgray;1,2:white,blue" はテキスト色が黒のものを "darkgray" に、背景色が青でテキスト色が黒のものを "white,blue" に変更; IRC コードに対するデフォルトの WeeChat 色は、0=白、1=黒、2=青、3=緑、4=ライトレッド、5=赤、6=赤紫、7=茶色、8=黄色、9=ライトグリーン、10=シアン、11=ライトシアン、12=ライトブルー、13=ライトマゼンタ、14=暗い灰色、15=灰色]
|
||||||
** タイプ: 文字列
|
** タイプ: 文字列
|
||||||
@@ -2330,6 +2366,12 @@
|
|||||||
** 値: on, off
|
** 値: on, off
|
||||||
** デフォルト値: `+on+`
|
** デフォルト値: `+on+`
|
||||||
|
|
||||||
|
* [[option_irc.look.display_pv_nick_change]] *irc.look.display_pv_nick_change*
|
||||||
|
** 説明: pass:none[display nick change in private]
|
||||||
|
** タイプ: ブール
|
||||||
|
** 値: on, off
|
||||||
|
** デフォルト値: `+on+`
|
||||||
|
|
||||||
* [[option_irc.look.display_pv_warning_address]] *irc.look.display_pv_warning_address*
|
* [[option_irc.look.display_pv_warning_address]] *irc.look.display_pv_warning_address*
|
||||||
** 説明: pass:none[display a warning in private buffer if the address of remote nick has changed; this option is disabled by default because servers like bitlbee are causing this warning to be displayed when it is not expected (the address of remote nick changes multiple times on login)]
|
** 説明: pass:none[display a warning in private buffer if the address of remote nick has changed; this option is disabled by default because servers like bitlbee are causing this warning to be displayed when it is not expected (the address of remote nick changes multiple times on login)]
|
||||||
** タイプ: ブール
|
** タイプ: ブール
|
||||||
@@ -2546,6 +2588,12 @@
|
|||||||
** 値: on, off
|
** 値: on, off
|
||||||
** デフォルト値: `+on+`
|
** デフォルト値: `+on+`
|
||||||
|
|
||||||
|
* [[option_irc.look.smart_filter_setname]] *irc.look.smart_filter_setname*
|
||||||
|
** 説明: pass:none[enable smart filter for "setname" messages]
|
||||||
|
** タイプ: ブール
|
||||||
|
** 値: on, off
|
||||||
|
** デフォルト値: `+on+`
|
||||||
|
|
||||||
* [[option_irc.look.temporary_servers]] *irc.look.temporary_servers*
|
* [[option_irc.look.temporary_servers]] *irc.look.temporary_servers*
|
||||||
** 説明: pass:none[/connect コマンドによる一時的なサーバの自動追加を有効化する]
|
** 説明: pass:none[/connect コマンドによる一時的なサーバの自動追加を有効化する]
|
||||||
** タイプ: ブール
|
** タイプ: ブール
|
||||||
|
|||||||
@@ -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/
|
||||||
|
|||||||
+65
-50
@@ -16,8 +16,9 @@
|
|||||||
|
|
||||||
このマニュアルは WeeChat チャットクライアントについての文書で、これは WeeChat の一部です。
|
このマニュアルは WeeChat チャットクライアントについての文書で、これは WeeChat の一部です。
|
||||||
|
|
||||||
この文書の最新版は以下のページにあります:
|
// TRANSLATION MISSING
|
||||||
https://weechat.org/doc
|
Latest version of this document can be found on
|
||||||
|
https://weechat.org/doc/[this page ^↗^,window=_blank].
|
||||||
|
|
||||||
|
|
||||||
[[introduction]]
|
[[introduction]]
|
||||||
@@ -37,8 +38,7 @@ WeeChat (Wee Enhanced Environment for Chat)
|
|||||||
[[repositories]]
|
[[repositories]]
|
||||||
== リポジトリ
|
== リポジトリ
|
||||||
|
|
||||||
WeeChat リポジトリは GitHub organization の "weechat" にあります:
|
WeeChat リポジトリは GitHub organization の https://github.com/weechat[weechat ^↗^,window=_blank] にあります:
|
||||||
https://github.com/weechat
|
|
||||||
|
|
||||||
リポジトリのリスト:
|
リポジトリのリスト:
|
||||||
|
|
||||||
@@ -48,8 +48,9 @@ weechat::
|
|||||||
scripts::
|
scripts::
|
||||||
weechat.org に投稿された _公式_ スクリプト
|
weechat.org に投稿された _公式_ スクリプト
|
||||||
|
|
||||||
|
// TRANSLATION MISSING
|
||||||
weechat.org::
|
weechat.org::
|
||||||
WeeChat ウェブサイトのソースコード: https://weechat.org/
|
source of https://weechat.org/[WeeChat website ^↗^,window=_blank]
|
||||||
|
|
||||||
weercd::
|
weercd::
|
||||||
IRC テストサーバ
|
IRC テストサーバ
|
||||||
@@ -450,11 +451,17 @@ WeeChat "core" は以下のディレクトリに配置されています:
|
|||||||
| test-core-util.cpp | テスト: ユーティリティ関数
|
| test-core-util.cpp | テスト: ユーティリティ関数
|
||||||
| gui/ | インターフェースの単体テストを収める最上位ディレクトリ
|
| gui/ | インターフェースの単体テストを収める最上位ディレクトリ
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
|
| test-gui-bar-window.cpp | Tests: bar window functions.
|
||||||
|
// TRANSLATION MISSING
|
||||||
| test-gui-buffer.cpp | Tests: buffer functions.
|
| test-gui-buffer.cpp | Tests: buffer functions.
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
| test-gui-chat.cpp | Tests: chat functions.
|
| test-gui-chat.cpp | Tests: chat functions.
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
| test-gui-color.cpp | Tests: colors.
|
| test-gui-color.cpp | Tests: colors.
|
||||||
|
// TRANSLATION MISSING
|
||||||
|
| test-gui-filter.cpp | Tests: filters.
|
||||||
|
// TRANSLATION MISSING
|
||||||
|
| test-gui-input.cpp | Tests: input functions.
|
||||||
| test-gui-line.cpp | テスト: 行
|
| test-gui-line.cpp | テスト: 行
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
| test-gui-nick.cpp | テスト: nicks
|
| test-gui-nick.cpp | テスト: nicks
|
||||||
@@ -503,6 +510,12 @@ WeeChat "core" は以下のディレクトリに配置されています:
|
|||||||
| relay/ | Root of unit tests for Relay plugin.
|
| relay/ | Root of unit tests for Relay plugin.
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
| test-relay-auth.cpp | Tests: clients authentication.
|
| test-relay-auth.cpp | Tests: clients authentication.
|
||||||
|
// TRANSLATION MISSING
|
||||||
|
| xfer/ | Root of unit tests for Xfer plugin.
|
||||||
|
// TRANSLATION MISSING
|
||||||
|
| test-xfer-file.cpp | Tests: file functions.
|
||||||
|
// TRANSLATION MISSING
|
||||||
|
| test-xfer-network.cpp | Tests: network functions.
|
||||||
|===
|
|===
|
||||||
|
|
||||||
[[documentation_translations]]
|
[[documentation_translations]]
|
||||||
@@ -519,13 +532,13 @@ WeeChat "core" は以下のディレクトリに配置されています:
|
|||||||
| docgen.py | Python script to build auto-generated files in _includes/_ directory (see below).
|
| docgen.py | Python script to build auto-generated files in _includes/_ directory (see below).
|
||||||
| XX/ | 言語コード XX (言語コード: en、fr、de、it、...) 用のディレクトリ
|
| XX/ | 言語コード XX (言語コード: en、fr、de、it、...) 用のディレクトリ
|
||||||
| weechat.1.XX.adoc | man ページ (`man weechat`)
|
| weechat.1.XX.adoc | man ページ (`man weechat`)
|
||||||
| weechat_dev.XX.adoc | link:weechat_dev.ja.html[開発者リファレンス] (この文書)
|
| weechat_dev.XX.adoc | link:weechat_dev.ja.html[開発者リファレンス ^↗^,window=_blank] (この文書)
|
||||||
| weechat_faq.XX.adoc | link:weechat_faq.ja.html[FAQ]
|
| weechat_faq.XX.adoc | link:weechat_faq.ja.html[FAQ ^↗^,window=_blank]
|
||||||
| weechat_plugin_api.XX.adoc | link:weechat_plugin_api.ja.html[プラグイン API リファレンス]
|
| weechat_plugin_api.XX.adoc | link:weechat_plugin_api.ja.html[プラグイン API リファレンス ^↗^,window=_blank]
|
||||||
| weechat_quickstart.XX.adoc | link:weechat_quickstart.ja.html[クイックスタートガイド]
|
| weechat_quickstart.XX.adoc | link:weechat_quickstart.ja.html[クイックスタートガイド ^↗^,window=_blank]
|
||||||
| weechat_relay_protocol.XX.adoc | link:weechat_relay_protocol.ja.html[リレープロトコル] (リモートインターフェース用)
|
| weechat_relay_protocol.XX.adoc | link:weechat_relay_protocol.ja.html[リレープロトコル ^↗^,window=_blank] (リモートインターフェース用)
|
||||||
| weechat_scripting.XX.adoc | link:weechat_scripting.ja.html[スクリプト作成ガイド]
|
| weechat_scripting.XX.adoc | link:weechat_scripting.ja.html[スクリプト作成ガイド ^↗^,window=_blank]
|
||||||
| weechat_user.XX.adoc | link:weechat_user.ja.html[ユーザーズガイド]
|
| weechat_user.XX.adoc | link:weechat_user.ja.html[ユーザーズガイド ^↗^,window=_blank]
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
| includes/ | Files included in documentation.
|
| includes/ | Files included in documentation.
|
||||||
| autogen_api_completions.XX.adoc | Auto-generated file for Plugin API reference: completions (do *NEVER* update manually!).
|
| autogen_api_completions.XX.adoc | Auto-generated file for Plugin API reference: completions (do *NEVER* update manually!).
|
||||||
@@ -789,7 +802,7 @@ new_hook_fd = malloc (sizeof (*new_hook_fd));
|
|||||||
[[coding_python_style]]
|
[[coding_python_style]]
|
||||||
=== Python スタイル
|
=== Python スタイル
|
||||||
|
|
||||||
https://www.python.org/dev/peps/pep-0008/ を参照
|
https://www.python.org/dev/peps/pep-0008/[PEP 8 ^↗^,window=_blank] を参照
|
||||||
|
|
||||||
[[core_internals]]
|
[[core_internals]]
|
||||||
== コアの構造
|
== コアの構造
|
||||||
@@ -997,10 +1010,10 @@ WeeChat は文字列中に独自の色コードを使うことで、属性
|
|||||||
| [hex]#19# + `B` + `EXT` | [hex]#19# `+B@00124+` | chat + bars | 背景色 (拡張色) を設定
|
| [hex]#19# + `B` + `EXT` | [hex]#19# `+B@00124+` | chat + bars | 背景色 (拡張色) を設定
|
||||||
| [hex]#19# + `*` + `(ATTR)STD` | [hex]#19# `+*05+` | chat + bars | 文字色(WeeChat 色) を設定
|
| [hex]#19# + `*` + `(ATTR)STD` | [hex]#19# `+*05+` | chat + bars | 文字色(WeeChat 色) を設定
|
||||||
| [hex]#19# + `*` + `(ATTR)EXT` | [hex]#19# `+*@00214+` | chat + bars | 文字色 (拡張色) を設定
|
| [hex]#19# + `*` + `(ATTR)EXT` | [hex]#19# `+*@00214+` | chat + bars | 文字色 (拡張色) を設定
|
||||||
| [hex]#19# + `*` + `(ATTR)STD` + `,` + `STD` ^(1)^ | [hex]#19# `+*08,05+` | chat + bars | 文字色および背景色 (WeeChat 色) を設定
|
| [hex]#19# + `*` + `(ATTR)STD` + `,` + `STD` ^(1)^ | [hex]#19# `+*08,05+` | chat + bars | 文字色および背景色 (WeeChat 色) を設定
|
||||||
| [hex]#19# + `*` + `(ATTR)STD` + `,` + `EXT` ^(1)^ | [hex]#19# `+*01,@00214+` | chat + bars | 文字色 (WeeChat 色) と背景色 (拡張色) を設定
|
| [hex]#19# + `*` + `(ATTR)STD` + `,` + `EXT` ^(1)^ | [hex]#19# `+*01,@00214+` | chat + bars | 文字色 (WeeChat 色) と背景色 (拡張色) を設定
|
||||||
| [hex]#19# + `*` + `(ATTR)EXT` + `,` + `STD` ^(1)^ | [hex]#19# `+*@00214,05+` | chat + bars | 文字色 (拡張色) と背景色 (WeeChat 色) を設定
|
| [hex]#19# + `*` + `(ATTR)EXT` + `,` + `STD` ^(1)^ | [hex]#19# `+*@00214,05+` | chat + bars | 文字色 (拡張色) と背景色 (WeeChat 色) を設定
|
||||||
| [hex]#19# + `*` + `(ATTR)EXT` + `,` + `EXT` ^(1)^ | [hex]#19# `+*@00214,@00017+` | chat + bars | 文字色および背景色 (拡張色) を設定
|
| [hex]#19# + `*` + `(ATTR)EXT` + `,` + `EXT` ^(1)^ | [hex]#19# `+*@00214,@00017+` | chat + bars | 文字色および背景色 (拡張色) を設定
|
||||||
| [hex]#19# + `*` + `(ATTR)STD` + `~` + `STD` | [hex]#19# `+*08~05+` | chat + bars | 文字色および背景色 (WeeChat 色) を設定
|
| [hex]#19# + `*` + `(ATTR)STD` + `~` + `STD` | [hex]#19# `+*08~05+` | chat + bars | 文字色および背景色 (WeeChat 色) を設定
|
||||||
| [hex]#19# + `*` + `(ATTR)STD` + `~` + `EXT` | [hex]#19# `+*01~@00214+` | chat + bars | 文字色 (WeeChat 色) と背景色 (拡張色) を設定
|
| [hex]#19# + `*` + `(ATTR)STD` + `~` + `EXT` | [hex]#19# `+*01~@00214+` | chat + bars | 文字色 (WeeChat 色) と背景色 (拡張色) を設定
|
||||||
| [hex]#19# + `*` + `(ATTR)EXT` + `~` + `STD` | [hex]#19# `+*@00214~05+` | chat + bars | 文字色 (拡張色) と背景色 (WeeChat 色) を設定
|
| [hex]#19# + `*` + `(ATTR)EXT` + `~` + `STD` | [hex]#19# `+*@00214~05+` | chat + bars | 文字色 (拡張色) と背景色 (WeeChat 色) を設定
|
||||||
@@ -1173,7 +1186,8 @@ server->hook_timer_sasl = weechat_hook_timer (timeout * 1000,
|
|||||||
[[git_repository]]
|
[[git_repository]]
|
||||||
=== Git リポジトリ
|
=== 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
|
バグや新機能のパッチは必ず master ブランチに対して適用できるものを作成し、GitHub の pull
|
||||||
リクエストを使って提出することを推奨します。パッチは電子メールで送信することも可能です
|
リクエストを使って提出することを推奨します。パッチは電子メールで送信することも可能です
|
||||||
@@ -1193,8 +1207,8 @@ _component_ には以下から 1 つ選んで記入してください:
|
|||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
| Component | Files | Description
|
| Component | Files | Description
|
||||||
|
|
||||||
| core |
|
| core
|
||||||
AUTHORS.adoc +
|
| AUTHORS.adoc +
|
||||||
ChangeLog.adoc +
|
ChangeLog.adoc +
|
||||||
Contributing.adoc +
|
Contributing.adoc +
|
||||||
.github/FUNDING.yml +
|
.github/FUNDING.yml +
|
||||||
@@ -1210,8 +1224,8 @@ _component_ には以下から 1 つ選んで記入してください:
|
|||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
WeeChat core
|
WeeChat core
|
||||||
|
|
||||||
| build |
|
| build
|
||||||
autogen.sh +
|
| autogen.sh +
|
||||||
CMakeLists.txt +
|
CMakeLists.txt +
|
||||||
cmake/* +
|
cmake/* +
|
||||||
configure.ac +
|
configure.ac +
|
||||||
@@ -1222,73 +1236,73 @@ _component_ には以下から 1 つ選んで記入してください:
|
|||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
Build
|
Build
|
||||||
|
|
||||||
| ci |
|
| ci
|
||||||
.github/workflows/* |
|
| .github/workflows/* |
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
Continuous integration
|
Continuous integration
|
||||||
|
|
||||||
| debian |
|
| debian
|
||||||
debian-devel/* +
|
| debian-devel/* +
|
||||||
debian-stable/* |
|
debian-stable/* |
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
Debian packaging
|
Debian packaging
|
||||||
|
|
||||||
| tests |
|
| tests
|
||||||
tests/* |
|
| tests/* |
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
Tests
|
Tests
|
||||||
|
|
||||||
| doc |
|
| doc
|
||||||
doc/* |
|
| doc/* |
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
General doc updates, for example build
|
General doc updates, for example build
|
||||||
|
|
||||||
| doc/man |
|
| doc/man
|
||||||
doc/xx/weechat.1.xx.adoc +
|
| doc/xx/weechat.1.xx.adoc +
|
||||||
doc/xx/weechat-headless.1.xx.adoc |
|
doc/xx/weechat-headless.1.xx.adoc |
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
Man pages
|
Man pages
|
||||||
|
|
||||||
| doc/faq |
|
| doc/faq
|
||||||
doc/xx/weechat_faq.xx.adoc |
|
| doc/xx/weechat_faq.xx.adoc |
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
Frequently asked questions (FAQ)
|
Frequently asked questions (FAQ)
|
||||||
|
|
||||||
| doc/quickstart |
|
| doc/quickstart
|
||||||
doc/xx/weechat_quickstart.xx.adoc |
|
| doc/xx/weechat_quickstart.xx.adoc |
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
Quickstart guide
|
Quickstart guide
|
||||||
|
|
||||||
| doc/user |
|
| doc/user
|
||||||
doc/xx/weechat_user.xx.adoc |
|
| doc/xx/weechat_user.xx.adoc |
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
User's guide
|
User's guide
|
||||||
|
|
||||||
| doc/scripting |
|
| doc/scripting
|
||||||
doc/xx/weechat_scripting.xx.adoc |
|
| doc/xx/weechat_scripting.xx.adoc |
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
Scripting guide
|
Scripting guide
|
||||||
|
|
||||||
| doc/api |
|
| doc/api
|
||||||
doc/xx/weechat_plugin_api.xx.adoc |
|
| doc/xx/weechat_plugin_api.xx.adoc |
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
Plugin API reference
|
Plugin API reference
|
||||||
|
|
||||||
| doc/relay |
|
| doc/relay
|
||||||
doc/xx/weechat_relay_protocol.xx.adoc |
|
| doc/xx/weechat_relay_protocol.xx.adoc |
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
Relay protocol
|
Relay protocol
|
||||||
|
|
||||||
| doc/dev |
|
| doc/dev
|
||||||
doc/xx/weechat_dev.en.adoc |
|
| doc/xx/weechat_dev.en.adoc |
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
Developer's guide
|
Developer's guide
|
||||||
|
|
||||||
| irc +
|
| irc +
|
||||||
python +
|
python +
|
||||||
relay +
|
relay +
|
||||||
… |
|
…
|
||||||
src/plugins/<name>/* |
|
| src/plugins/<name>/* |
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
Plugin
|
Plugin
|
||||||
|
|
||||||
@@ -1340,8 +1354,9 @@ $ make translations && make update-po
|
|||||||
|
|
||||||
その後翻訳できるならば .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
|
$ msgcheck.py xx.po
|
||||||
|
|||||||
+56
-32
@@ -37,7 +37,9 @@ WeeChat とは関係ありませんよ!)。
|
|||||||
|
|
||||||
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]]
|
[[compilation_install]]
|
||||||
== コンパイル / インストール
|
== コンパイル / インストール
|
||||||
@@ -45,16 +47,17 @@ WeeChat の機能に関するより詳しい情報: https://weechat.org/about/fe
|
|||||||
[[gui]]
|
[[gui]]
|
||||||
=== WeeChat には多くの GUI があると聞きました。コンパイル/利用方法を教えてください。
|
=== WeeChat には多くの GUI があると聞きました。コンパイル/利用方法を教えてください。
|
||||||
|
|
||||||
いくつかのリモート GUI が利用可能です、以下のリモートインターフェースに関するページを参照してください:
|
// TRANSLATION MISSING
|
||||||
https://weechat.org/about/interfaces
|
Some remote GUIs are available, see the
|
||||||
|
https://weechat.org/about/interfaces/[remote interfaces page ^↗^,window=_blank].
|
||||||
|
|
||||||
[[compile_git]]
|
[[compile_git]]
|
||||||
=== git リポジトリをクローンした後に WeeChat をコンパイルできません。
|
=== 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 を使ってください。
|
コンパイルする場合、最新の autoconf と automake を使ってください。
|
||||||
|
|
||||||
他には「開発パッケージ」をインストール方法があります。この場合、インストールするのに必要なパッケージの数が減ります。このパッケージは
|
他には「開発パッケージ」をインストール方法があります。この場合、インストールするのに必要なパッケージの数が減ります。このパッケージは
|
||||||
@@ -65,7 +68,7 @@ git をクローンする方法よりも不便であることに注意してく
|
|||||||
[[compile_macos]]
|
[[compile_macos]]
|
||||||
=== どうすれば macOS に WeeChat をインストールできますか?
|
=== どうすれば macOS に WeeChat をインストールできますか?
|
||||||
|
|
||||||
https://brew.sh/[Homebrew] を使うことをお勧めします、ヘルプを見るには:
|
https://brew.sh/[Homebrew ^↗^,window=_blank] を使うことをお勧めします、ヘルプを見るには:
|
||||||
|
|
||||||
----
|
----
|
||||||
brew info weechat
|
brew info weechat
|
||||||
@@ -81,9 +84,9 @@ brew install weechat
|
|||||||
=== WeeChat を起動しました。でも何をすればいいかわかりません。
|
=== WeeChat を起動しました。でも何をすればいいかわかりません。
|
||||||
|
|
||||||
ヘルプを見るには、`/help` と入力してください。コマンドに関するヘルプを見るには、`/help command`
|
ヘルプを見るには、`/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]]
|
[[display]]
|
||||||
== 表示
|
== 表示
|
||||||
@@ -109,7 +112,7 @@ brew install weechat
|
|||||||
rxvt-unicode を推奨)
|
rxvt-unicode を推奨)
|
||||||
** screen を使っている場合は、UTF-8 モードで起動されていることを確認
|
** screen を使っている場合は、UTF-8 モードで起動されていることを確認
|
||||||
(~/.screenrc に "`defutf8 on`" の記述があるかまたは `screen -U` のようにして起動)。
|
(~/.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 であることを確認してください (このオプションは表示上のバグを引き起こす可能性があります)
|
オプションが off であることを確認してください (このオプションは表示上のバグを引き起こす可能性があります)
|
||||||
|
|
||||||
[NOTE]
|
[NOTE]
|
||||||
@@ -124,10 +127,11 @@ WeeChat は UTF-8 ロケールを推奨します。ISO
|
|||||||
で修正されているはずです (使用中のディストリビューションではまだ提供されていないかもしれません)
|
で修正されているはずです (使用中のディストリビューションではまだ提供されていないかもしれません)
|
||||||
|
|
||||||
次の回避方法を使えば、修正済みの _wcwidth_ 関数を使う事が可能です:
|
次の回避方法を使えば、修正済みの _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].
|
||||||
|
|
||||||
より詳しい情報を得るにはバグ報告を参照してください:
|
// TRANSLATION MISSING
|
||||||
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_background]]
|
||||||
=== タイトルやステータスバー等の背景色が行末ではなくテキストの最後で終わってしまいます。
|
=== タイトルやステータスバー等の背景色が行末ではなくテキストの最後で終わってしまいます。
|
||||||
@@ -184,7 +188,7 @@ _ウィンドウ_
|
|||||||
[[buffers_list]]
|
[[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_ スクリプトをインストールしてください:
|
バージョン 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 buflist plugin provides lot of options that you can customize, please read
|
||||||
the help on each option.
|
the help on each option.
|
||||||
|
|
||||||
There's also a wiki page with examples of advanced buflist configuration:
|
There's also a https://github.com/weechat/weechat/wiki/buflist[wiki page ^↗^,window=_blank]
|
||||||
https://github.com/weechat/weechat/wiki/buflist
|
with examples of advanced buflist configuration.
|
||||||
|
|
||||||
[[customize_prefix]]
|
[[customize_prefix]]
|
||||||
=== どうすればチャットエリア内のニックネームの最大長さを短く、またはニックネーム整列機能を無効化できますか。
|
=== どうすればチャットエリア内のニックネームの最大長さを短く、またはニックネーム整列機能を無効化できますか。
|
||||||
@@ -295,7 +299,7 @@ https://github.com/weechat/weechat/wiki/buflist
|
|||||||
および __weechat.color.status_count_*__ オプション (カウンタ) を設定します。 +
|
および __weechat.color.status_count_*__ オプション (カウンタ) を設定します。 +
|
||||||
その他のホットリスト関連オプションは __weechat.look.hotlist_*__ オプションを使って変更します。
|
その他のホットリスト関連オプションは __weechat.look.hotlist_*__ オプションを使って変更します。
|
||||||
|
|
||||||
ホットリストに関する詳しい情報はlink:weechat_user.ja.html#screen_layout[ユーザーズガイド / 画面レイアウト]を参照してください
|
ホットリストに関する詳しい情報はlink:weechat_user.ja.html#screen_layout[ユーザーズガイド / 画面レイアウト ^↗^,window=_blank]を参照してください
|
||||||
|
|
||||||
[[input_bar_size]]
|
[[input_bar_size]]
|
||||||
=== コマンドラインの行数を増やすにはどうすればいいですか。
|
=== コマンドラインの行数を増やすにはどうすればいいですか。
|
||||||
@@ -464,7 +468,7 @@ WeeChat バージョン 0.3.4 の場合、新しい色を追加するには `/co
|
|||||||
WeeChat バージョン 0.3.5 以上の場合、任意の色番号を利用できます (オプション:
|
WeeChat バージョン 0.3.5 以上の場合、任意の色番号を利用できます (オプション:
|
||||||
色の別名を追加するには `/color` コマンドを使ってください)。
|
色の別名を追加するには `/color` コマンドを使ってください)。
|
||||||
|
|
||||||
色管理に関するより詳しい情報はlink:weechat_user.ja.html#colors[ユーザーズガイド / 色]を参照してください
|
色管理に関するより詳しい情報はlink:weechat_user.ja.html#colors[ユーザーズガイド / 色 ^↗^,window=_blank]を参照してください
|
||||||
|
|
||||||
[[search_text]]
|
[[search_text]]
|
||||||
=== どうすればバッファ内の文字列を検索できますか (irssi の /lastlog の様に)。
|
=== どうすればバッファ内の文字列を検索できますか (irssi の /lastlog の様に)。
|
||||||
@@ -472,7 +476,7 @@ WeeChat バージョン 0.3.5 以上の場合、任意の色番号を利用で
|
|||||||
デフォルトのキーは kbd:[Ctrl+r] です (コマンドは: `+/input search_text_here+`)。
|
デフォルトのキーは kbd:[Ctrl+r] です (コマンドは: `+/input search_text_here+`)。
|
||||||
ハイライト部分へのジャンプは: kbd:[Alt+p] / kbd:[Alt+n]
|
ハイライト部分へのジャンプは: kbd:[Alt+p] / kbd:[Alt+n]
|
||||||
|
|
||||||
この機能に関するより詳しい情報はlink:weechat_user.ja.html#key_bindings[ユーザーズガイド / デフォルトのキー割り当て]を参照してください
|
この機能に関するより詳しい情報はlink:weechat_user.ja.html#key_bindings[ユーザーズガイド / デフォルトのキー割り当て ^↗^,window=_blank]を参照してください
|
||||||
|
|
||||||
[[terminal_focus]]
|
[[terminal_focus]]
|
||||||
=== どうすれば端末にフォーカスが合った時や外れた時にコマンドを実行できますか。
|
=== どうすれば端末にフォーカスが合った時や外れた時にコマンドを実行できますか。
|
||||||
@@ -648,7 +652,7 @@ macOS のターミナル.app を使っている場合、設定メニューのキ
|
|||||||
/key bind meta-q /buffer *11
|
/key bind meta-q /buffer *11
|
||||||
----
|
----
|
||||||
|
|
||||||
デフォルトキー割り当てのリストはlink:weechat_user.ja.html#key_bindings[ユーザーズガイド / デフォルトのキー割り当て]を参照してください
|
デフォルトキー割り当てのリストはlink:weechat_user.ja.html#key_bindings[ユーザーズガイド / デフォルトのキー割り当て ^↗^,window=_blank]を参照してください
|
||||||
|
|
||||||
番号 100 以上のバッファにジャンプするには、以下のトリガを定義してください。こうすることでコマンド
|
番号 100 以上のバッファにジャンプするには、以下のトリガを定義してください。こうすることでコマンド
|
||||||
`/123` でバッファ #123 にジャンプできるようになります:
|
`/123` でバッファ #123 にジャンプできるようになります:
|
||||||
@@ -842,17 +846,33 @@ join and part in the "autojoin" server option.
|
|||||||
For all servers:
|
For all servers:
|
||||||
|
|
||||||
----
|
----
|
||||||
/set irc.server_default.autojoin_record on
|
/set irc.server_default.autojoin_dynamic on
|
||||||
----
|
----
|
||||||
|
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
For a single server:
|
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
|
/fset autojoin
|
||||||
----
|
----
|
||||||
|
|
||||||
専用のスクリプトを使うこともできます:
|
// TRANSLATION MISSING
|
||||||
|
With WeeChat ≤ 3.4, 専用のスクリプトを使うこともできます:
|
||||||
|
|
||||||
----
|
----
|
||||||
/script search autojoin
|
/script search autojoin
|
||||||
@@ -910,7 +931,7 @@ WeeChat
|
|||||||
|
|
||||||
[NOTE]
|
[NOTE]
|
||||||
ヘルプを見るには `/help filter`、`+/help irc.look.smart_filter+`、link:weechat_user.ja.html#irc_smart_filter_join_part_quit[ユーザーズガイド
|
ヘルプを見るには `/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]]
|
[[filter_irc_join_channel_messages]]
|
||||||
=== どうすれば IRC チャンネルに参加した際に表示される一部のメッセージをフィルタできますか。
|
=== どうすれば IRC チャンネルに参加した際に表示される一部のメッセージをフィルタできますか。
|
||||||
@@ -1007,7 +1028,7 @@ _launcher.pl_ の場合、コマンドの設定が必要です:
|
|||||||
[[disable_highlights_for_specific_nicks]]
|
[[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 サーバ単位) でホットリストレベルの最大値を設定できます。
|
(IRC サーバ単位) でホットリストレベルの最大値を設定できます。
|
||||||
|
|
||||||
@@ -1214,7 +1235,7 @@ IRC の退出および終了メッセージを無効化します:
|
|||||||
パスフレーズを定義してパスワードなどの保護したいデータの使用時は常にセキュアデータを使います:
|
パスフレーズを定義してパスワードなどの保護したいデータの使用時は常にセキュアデータを使います:
|
||||||
`/help secure` およびセキュアデータを使用したいオプションの `/help` を参照してください
|
`/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
|
Some other files may contain sensitive info like passwords (if they are not
|
||||||
stored in _sec.conf_ with the `/secure` command).
|
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]]
|
[[development]]
|
||||||
== 開発
|
== 開発
|
||||||
@@ -1245,7 +1266,8 @@ stored in _sec.conf_ with the `/secure` command).
|
|||||||
[[bug_task_patch]]
|
[[bug_task_patch]]
|
||||||
=== どのようにバグ報告、新機能のリクエスト、パッチ送信すればよいですか。
|
=== どのようにバグ報告、新機能のリクエスト、パッチ送信すればよいですか。
|
||||||
|
|
||||||
以下のページを参照してください: https://weechat.org/about/support
|
// TRANSLATION MISSING
|
||||||
|
See https://weechat.org/about/support/[this page ^↗^,window=_blank].
|
||||||
|
|
||||||
[[gdb_error_threads]]
|
[[gdb_error_threads]]
|
||||||
=== gdb で WeeChat を実行する場合、スレッドに関するエラーが発生します。
|
=== gdb で WeeChat を実行する場合、スレッドに関するエラーが発生します。
|
||||||
@@ -1282,11 +1304,13 @@ OS で WeeChat をテストすることを歓迎します。
|
|||||||
|
|
||||||
多くの課題があります (テスト、コード、ドキュメント作成、...)。
|
多くの課題があります (テスト、コード、ドキュメント作成、...)。
|
||||||
|
|
||||||
IRC かメールで連絡を取り、サポートページを確認してください:
|
// TRANSLATION MISSING
|
||||||
https://weechat.org/about/support
|
Please contact us via IRC or mail, look at
|
||||||
|
https://weechat.org/about/support/[support page ^↗^,window=_blank].
|
||||||
|
|
||||||
[[donate]]
|
[[donate]]
|
||||||
=== WeeChat 開発者にお金か何かを贈りたいのですが。
|
=== WeeChat 開発者にお金か何かを贈りたいのですが。
|
||||||
|
|
||||||
開発補助のためお金を贈ることができます。詳しいことは
|
// TRANSLATION MISSING
|
||||||
https://weechat.org/donate に載っています。
|
You can give us money to help development.
|
||||||
|
Details on https://weechat.org/donate/[donation page ^↗^,window=_blank].
|
||||||
|
|||||||
+1348
-1132
File diff suppressed because it is too large
Load Diff
@@ -200,10 +200,17 @@ _command_ オプションに複数のコマンドを含める場合は `;` (セ
|
|||||||
/set irc.server.libera.autojoin "#channel1,#channel2"
|
/set irc.server.libera.autojoin "#channel1,#channel2"
|
||||||
----
|
----
|
||||||
|
|
||||||
[TIP]
|
// TRANSLATION MISSING
|
||||||
オプションの名前と値を補完するには kbd:[Tab] キーを使います。さらに
|
The `/autojoin` command lets you configure the _autojoin_ option easily
|
||||||
kbd:[Shift+Tab] キーを使えば部分的に補完することも可能です
|
(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) を使用する場合:
|
(irc.server_default.nicks) を使用する場合:
|
||||||
@@ -219,6 +226,11 @@ kbd:[Shift+Tab] キーを使えば部分的に補完することも可能です
|
|||||||
/set irc.server.libera.xxx value
|
/set irc.server.libera.xxx value
|
||||||
----
|
----
|
||||||
|
|
||||||
|
[TIP]
|
||||||
|
オプションの名前と値を補完するには kbd:[Tab] キーを使います。さらに
|
||||||
|
kbd:[Shift+Tab] キーを使えば部分的に補完することも可能です
|
||||||
|
(これは オプション名などの長い単語を補完する際に役立ちます)。
|
||||||
|
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
[[connect_to_irc_server]]
|
[[connect_to_irc_server]]
|
||||||
== Connect to IRC server
|
== Connect to IRC server
|
||||||
@@ -376,13 +388,16 @@ WeeChat では多くの外部スクリプト (貢献者の作った)
|
|||||||
|
|
||||||
より詳しい情報を参照するには `/help script` を使ってください。
|
より詳しい情報を参照するには `/help script` を使ってください。
|
||||||
|
|
||||||
スクリプトの一覧を参照するには WeeChat から `/script` を実行するか、以下の URL にアクセスしてください:
|
// TRANSLATION MISSING
|
||||||
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_doc]]
|
||||||
== 詳しいドキュメント情報
|
== 詳しいドキュメント情報
|
||||||
|
|
||||||
FAQ やその他の質問に関するドキュメントはこちらで参照できます:
|
// TRANSLATION MISSING
|
||||||
https://weechat.org/doc
|
You can now use WeeChat and read
|
||||||
|
https://weechat.org/doc/[FAQ/documentation ^↗^,window=_blank]
|
||||||
|
for any other questions.
|
||||||
|
|
||||||
WeeChat をお楽しみください!
|
WeeChat をお楽しみください!
|
||||||
|
|||||||
@@ -142,8 +142,8 @@ Arguments:
|
|||||||
if compression is enabled, messages from _relay_ to client are compressed
|
if compression is enabled, messages from _relay_ to client are compressed
|
||||||
to save bandwidth; allowed values are:
|
to save bandwidth; allowed values are:
|
||||||
*** _off_: no compression (default if option is not given)
|
*** _off_: no compression (default if option is not given)
|
||||||
*** _zlib_: compress with https://zlib.net/[zlib] _(WeeChat ≥ 0.3.7)_
|
*** _zlib_: compress with https://zlib.net/[zlib ^↗^,window=_blank] _(WeeChat ≥ 0.3.7)_
|
||||||
*** _zstd_: compress with https://facebook.github.io/zstd/[Zstandard]: better
|
*** _zstd_: compress with https://facebook.github.io/zstd/[Zstandard ^↗^,window=_blank]: better
|
||||||
compression and much faster than _zlib_ for both compression and decompression
|
compression and much faster than _zlib_ for both compression and decompression
|
||||||
_(WeeChat ≥ 3.5)_
|
_(WeeChat ≥ 3.5)_
|
||||||
|
|
||||||
@@ -185,8 +185,8 @@ WeeChat replies with a hashtable containing the following keys and values:
|
|||||||
in the password hash algorithm)
|
in the password hash algorithm)
|
||||||
* _compression_: compression type:
|
* _compression_: compression type:
|
||||||
** _off_: messages are not compressed
|
** _off_: messages are not compressed
|
||||||
** _zlib_: messages are compressed with https://zlib.net/[zlib]
|
** _zlib_: messages are compressed with https://zlib.net/[zlib ^↗^,window=_blank]
|
||||||
** _zstd_: messages are compressed with https://facebook.github.io/zstd/[Zstandard]
|
** _zstd_: messages are compressed with https://facebook.github.io/zstd/[Zstandard ^↗^,window=_blank]
|
||||||
|
|
||||||
[TIP]
|
[TIP]
|
||||||
With WeeChat ≤ 2.8, the command _handshake_ is not implemented, WeeChat silently
|
With WeeChat ≤ 2.8, the command _handshake_ is not implemented, WeeChat silently
|
||||||
@@ -289,7 +289,7 @@ htb: {
|
|||||||
=== init
|
=== init
|
||||||
|
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
_Updated in versions 2.4, 2.8, 2.9._
|
_Updated in versions 2.4, 2.8, 2.9, 3.5._
|
||||||
|
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
Authenticate with _relay_.
|
Authenticate with _relay_.
|
||||||
@@ -710,6 +710,8 @@ inl:
|
|||||||
text_search_found: 0
|
text_search_found: 0
|
||||||
text_search_input: None
|
text_search_input: None
|
||||||
highlight_words: None
|
highlight_words: None
|
||||||
|
highlight_disable_regex: None
|
||||||
|
highlight_disable_regex_compiled: '0x0'
|
||||||
highlight_regex: None
|
highlight_regex: None
|
||||||
highlight_regex_compiled: '0x0'
|
highlight_regex_compiled: '0x0'
|
||||||
highlight_tags_restrict: None
|
highlight_tags_restrict: None
|
||||||
@@ -1411,8 +1413,8 @@ quit
|
|||||||
(このフィールドを含む)
|
(このフィールドを含む)
|
||||||
* _compression_ (バイト型): フラグ:
|
* _compression_ (バイト型): フラグ:
|
||||||
** _0x00_: これ以降のデータは圧縮されていません
|
** _0x00_: これ以降のデータは圧縮されていません
|
||||||
** _0x01_: これ以降のデータは https://zlib.net/[zlib] で圧縮されています
|
** _0x01_: これ以降のデータは https://zlib.net/[zlib ^↗^,window=_blank] で圧縮されています
|
||||||
** _0x02_: これ以降のデータは https://facebook.github.io/zstd/[Zstandard] で圧縮されています
|
** _0x02_: これ以降のデータは https://facebook.github.io/zstd/[Zstandard ^↗^,window=_blank] で圧縮されています
|
||||||
* _id_ (文字列型、4 バイト + 内容): クライアントが送信した識別子 (コマンド名の前につけられる);
|
* _id_ (文字列型、4 バイト + 内容): クライアントが送信した識別子 (コマンド名の前につけられる);
|
||||||
コマンドに識別子が含まれない場合は空文字列でも可
|
コマンドに識別子が含まれない場合は空文字列でも可
|
||||||
(内容を含まない長さゼロの文字列)
|
(内容を含まない長さゼロの文字列)
|
||||||
@@ -1424,7 +1426,8 @@ quit
|
|||||||
|
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
If flag _compression_ is equal to 0x01 or 0x02, then *all* data after is compressed
|
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.
|
and therefore must be uncompressed before being processed.
|
||||||
|
|
||||||
[[message_identifier]]
|
[[message_identifier]]
|
||||||
@@ -1440,68 +1443,68 @@ WeeChat の予約識別子:
|
|||||||
|
|
||||||
[width="100%",cols="5m,5,3,4,7",options="header"]
|
[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 |
|
| _pong | (常に) | string: ping arguments
|
||||||
"ping" に対する応答 | 応答時間の測定
|
| "ping" に対する応答 | 応答時間の測定
|
||||||
|
|
||||||
| _upgrade | upgrade | (空) |
|
| _upgrade | upgrade | (空)
|
||||||
WeeChat のアップグレード中 | WeeChat との同期を中止 (または切断)
|
| WeeChat のアップグレード中 | WeeChat との同期を中止 (または切断)
|
||||||
|
|
||||||
| _upgrade_ended | upgrade | (空) |
|
| _upgrade_ended | upgrade | (空)
|
||||||
WeeChat のアップグレード終了 | WeeChat との同期および再同期
|
| WeeChat のアップグレード終了 | WeeChat との同期および再同期
|
||||||
|===
|
|===
|
||||||
|
|
||||||
[[message_buffer_opened]]
|
[[message_buffer_opened]]
|
||||||
|
|||||||
+138
-121
@@ -17,8 +17,9 @@
|
|||||||
|
|
||||||
このマニュアルは WeeChat チャットクライアントについて説明しており、WeeChat の一部です。
|
このマニュアルは WeeChat チャットクライアントについて説明しており、WeeChat の一部です。
|
||||||
|
|
||||||
このマニュアルの最新版は以下のページを参照してください:
|
// TRANSLATION MISSING
|
||||||
https://weechat.org/doc
|
Latest version of this document can be found on
|
||||||
|
https://weechat.org/doc/[this page ^↗^,window=_blank].
|
||||||
|
|
||||||
|
|
||||||
[[introduction]]
|
[[introduction]]
|
||||||
@@ -66,7 +67,7 @@ WeeChat がクラッシュするため、スクリプトで fork したりスレ
|
|||||||
されています。これが必要な場合には専用 API 関数を使ってください。 +
|
されています。これが必要な場合には専用 API 関数を使ってください。 +
|
||||||
どうしてもバックグラウンド実行を避けられない場合には `+hook_process+`
|
どうしてもバックグラウンド実行を避けられない場合には `+hook_process+`
|
||||||
関数を使ってください。<<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+` 関数の文書を参照してください。
|
`+hook_process+` 関数の文書を参照してください。
|
||||||
|
|
||||||
[[languages_specificities]]
|
[[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`. +
|
WeeChat defines a `weechat` module which must be imported with `import weechat`. +
|
||||||
A Python stub for WeeChat API is available in the repository:
|
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
|
// TRANSLATION MISSING
|
||||||
[[python_functions]]
|
[[python_functions]]
|
||||||
@@ -108,38 +109,38 @@ receive a string of type `str` or `bytes` (this list is not exhaustive):
|
|||||||
|===
|
|===
|
||||||
| API function | Arguments | Examples | Description
|
| API function | Arguments | Examples | Description
|
||||||
|
|
||||||
| hook_modifier |
|
| hook_modifier
|
||||||
irc_in_yyy |
|
| irc_in_yyy
|
||||||
pass:[irc_in_privmsg] +
|
| pass:[irc_in_privmsg] +
|
||||||
pass:[irc_in_notice] |
|
pass:[irc_in_notice]
|
||||||
A message received in IRC plugin, before it is decoded to UTF-8 (used
|
| A message received in IRC plugin, before it is decoded to UTF-8 (used
|
||||||
internally). +
|
internally). +
|
||||||
+
|
+
|
||||||
It is recommended to use modifier `+irc_in2_yyy+` instead, the string received
|
It is recommended to use modifier `+irc_in2_yyy+` instead, the string received
|
||||||
is always UTF-8 valid. +
|
is always UTF-8 valid. +
|
||||||
See function `+hook_modifier+` in the
|
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 |
|
| hook_signal
|
||||||
xxx,irc_out_yyy +
|
| xxx,irc_out_yyy +
|
||||||
xxx,irc_outtags_yyy |
|
xxx,irc_outtags_yyy
|
||||||
pass:[*,irc_out_privmsg] +
|
| pass:[*,irc_out_privmsg] +
|
||||||
pass:[*,irc_out_notice] +
|
pass:[*,irc_out_notice] +
|
||||||
pass:[*,irc_outtags_privmsg] +
|
pass:[*,irc_outtags_privmsg] +
|
||||||
pass:[*,irc_outtags_notice] |
|
pass:[*,irc_outtags_notice]
|
||||||
A message sent by IRC plugin, after it is encoded to the `encode` charset
|
| 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`). +
|
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
|
It is recommended to use signal `+xxx,irc_out1_yyy+` instead, the string received
|
||||||
is always UTF-8 valid. +
|
is always UTF-8 valid. +
|
||||||
See function `+hook_signal+` in the
|
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 +
|
||||||
hook_process_hashtable |
|
hook_process_hashtable
|
||||||
- |
|
| -
|
||||||
- |
|
| -
|
||||||
Output of the command, sent to the callback, can contain invalid UTF-8 data.
|
| 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
|
スクリプト API は C 言語プラグイン API とほぼ同じです。API
|
||||||
に含まれる各関数の詳細 (プロトタイプ、引数、戻り値、例) については
|
に含まれる各関数の詳細 (プロトタイプ、引数、戻り値、例) については
|
||||||
link:weechat_plugin_api.ja.html[WeeChat プラグイン API リファレンス]を参照してください。
|
link:weechat_plugin_api.ja.html[WeeChat プラグイン API リファレンス ^↗^,window=_blank]を参照してください。
|
||||||
|
|
||||||
_プラグイン_ と _スクリプト_ の違いを理解することは重要です:
|
_プラグイン_ と _スクリプト_ の違いを理解することは重要です:
|
||||||
_プラグイン_ とはコンパイル済みバイナリファイルで `/plugin` コマンドを使ってロードします、これに対して
|
_プラグイン_ とはコンパイル済みバイナリファイルで `/plugin` コマンドを使ってロードします、これに対して
|
||||||
@@ -565,7 +566,7 @@ weechat_hook_timer(1000, 0, 1, $timer_cb, 'test');
|
|||||||
== スクリプト API
|
== スクリプト API
|
||||||
|
|
||||||
API に含まれる関数の詳しい情報は
|
API に含まれる関数の詳しい情報は
|
||||||
link:weechat_plugin_api.ja.html[WeeChat プラグイン API リファレンス]を参照してください。
|
link:weechat_plugin_api.ja.html[WeeChat プラグイン API リファレンス ^↗^,window=_blank]を参照してください。
|
||||||
|
|
||||||
[[script_api_functions]]
|
[[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_to_internal +
|
||||||
iconv_from_internal +
|
iconv_from_internal +
|
||||||
gettext +
|
gettext +
|
||||||
@@ -595,6 +596,7 @@ link:weechat_plugin_api.ja.html[WeeChat プラグイン API リファレンス]
|
|||||||
string_has_highlight_regex +
|
string_has_highlight_regex +
|
||||||
string_mask_to_regex +
|
string_mask_to_regex +
|
||||||
string_format_size +
|
string_format_size +
|
||||||
|
string_parse_size +
|
||||||
string_color_code_size +
|
string_color_code_size +
|
||||||
string_remove_color +
|
string_remove_color +
|
||||||
string_is_command_char +
|
string_is_command_char +
|
||||||
@@ -602,13 +604,13 @@ link:weechat_plugin_api.ja.html[WeeChat プラグイン API リファレンス]
|
|||||||
string_eval_expression +
|
string_eval_expression +
|
||||||
string_eval_path_home
|
string_eval_path_home
|
||||||
|
|
||||||
| ディレクトリ操作 |
|
| ディレクトリ操作
|
||||||
mkdir_home +
|
| mkdir_home +
|
||||||
mkdir +
|
mkdir +
|
||||||
mkdir_parents
|
mkdir_parents
|
||||||
|
|
||||||
| ソート済みリスト |
|
| ソート済みリスト
|
||||||
list_new +
|
| list_new +
|
||||||
list_add +
|
list_add +
|
||||||
list_search +
|
list_search +
|
||||||
list_search_pos +
|
list_search_pos +
|
||||||
@@ -624,8 +626,8 @@ link:weechat_plugin_api.ja.html[WeeChat プラグイン API リファレンス]
|
|||||||
list_remove_all +
|
list_remove_all +
|
||||||
list_free
|
list_free
|
||||||
|
|
||||||
| 設定ファイル |
|
| 設定ファイル
|
||||||
config_new +
|
| config_new +
|
||||||
config_new_section +
|
config_new_section +
|
||||||
config_search_section +
|
config_search_section +
|
||||||
config_new_option +
|
config_new_option +
|
||||||
@@ -662,12 +664,12 @@ link:weechat_plugin_api.ja.html[WeeChat プラグイン API リファレンス]
|
|||||||
config_set_desc_plugin +
|
config_set_desc_plugin +
|
||||||
config_unset_plugin
|
config_unset_plugin
|
||||||
|
|
||||||
| キー割り当て |
|
| キー割り当て
|
||||||
key_bind +
|
| key_bind +
|
||||||
key_unbind
|
key_unbind
|
||||||
|
|
||||||
| 表示 |
|
| 表示
|
||||||
prefix +
|
| prefix +
|
||||||
color +
|
color +
|
||||||
print (python では prnt) +
|
print (python では prnt) +
|
||||||
print_date_tags (python では prnt_date_tags) +
|
print_date_tags (python では prnt_date_tags) +
|
||||||
@@ -675,8 +677,8 @@ link:weechat_plugin_api.ja.html[WeeChat プラグイン API リファレンス]
|
|||||||
print_y_date_tags (python では prnt_y_date_tags) +
|
print_y_date_tags (python では prnt_y_date_tags) +
|
||||||
log_print
|
log_print
|
||||||
|
|
||||||
| フック |
|
| フック
|
||||||
hook_command +
|
| hook_command +
|
||||||
hook_command_run +
|
hook_command_run +
|
||||||
hook_timer +
|
hook_timer +
|
||||||
hook_fd +
|
hook_fd +
|
||||||
@@ -701,8 +703,8 @@ link:weechat_plugin_api.ja.html[WeeChat プラグイン API リファレンス]
|
|||||||
unhook +
|
unhook +
|
||||||
unhook_all
|
unhook_all
|
||||||
|
|
||||||
| バッファ |
|
| バッファ
|
||||||
buffer_new +
|
| buffer_new +
|
||||||
buffer_new_props +
|
buffer_new_props +
|
||||||
current_buffer +
|
current_buffer +
|
||||||
buffer_search +
|
buffer_search +
|
||||||
@@ -718,16 +720,16 @@ link:weechat_plugin_api.ja.html[WeeChat プラグイン API リファレンス]
|
|||||||
buffer_string_replace_local_var +
|
buffer_string_replace_local_var +
|
||||||
buffer_match_list
|
buffer_match_list
|
||||||
|
|
||||||
| ウィンドウ |
|
| ウィンドウ
|
||||||
current_window +
|
| current_window +
|
||||||
window_search_with_buffer +
|
window_search_with_buffer +
|
||||||
window_get_integer +
|
window_get_integer +
|
||||||
window_get_string +
|
window_get_string +
|
||||||
window_get_pointer +
|
window_get_pointer +
|
||||||
window_set_title
|
window_set_title
|
||||||
|
|
||||||
| ニックネームリスト |
|
| ニックネームリスト
|
||||||
nicklist_add_group +
|
| nicklist_add_group +
|
||||||
nicklist_search_group +
|
nicklist_search_group +
|
||||||
nicklist_add_nick +
|
nicklist_add_nick +
|
||||||
nicklist_search_nick +
|
nicklist_search_nick +
|
||||||
@@ -743,8 +745,8 @@ link:weechat_plugin_api.ja.html[WeeChat プラグイン API リファレンス]
|
|||||||
nicklist_nick_get_pointer +
|
nicklist_nick_get_pointer +
|
||||||
nicklist_nick_set
|
nicklist_nick_set
|
||||||
|
|
||||||
| バー |
|
| バー
|
||||||
bar_item_search +
|
| bar_item_search +
|
||||||
bar_item_new +
|
bar_item_new +
|
||||||
bar_item_update +
|
bar_item_update +
|
||||||
bar_item_remove +
|
bar_item_remove +
|
||||||
@@ -754,24 +756,24 @@ link:weechat_plugin_api.ja.html[WeeChat プラグイン API リファレンス]
|
|||||||
bar_update +
|
bar_update +
|
||||||
bar_remove
|
bar_remove
|
||||||
|
|
||||||
| コマンド |
|
| コマンド
|
||||||
command +
|
| command +
|
||||||
command_options
|
command_options
|
||||||
|
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
| completion |
|
| completion
|
||||||
completion_new +
|
| completion_new +
|
||||||
completion_search +
|
completion_search +
|
||||||
completion_get_string +
|
completion_get_string +
|
||||||
completion_list_add +
|
completion_list_add +
|
||||||
completion_free
|
completion_free
|
||||||
|
|
||||||
| インフォ |
|
| インフォ
|
||||||
info_get +
|
| info_get +
|
||||||
info_get_hashtable
|
info_get_hashtable
|
||||||
|
|
||||||
| インフォリスト |
|
| インフォリスト
|
||||||
infolist_new +
|
| infolist_new +
|
||||||
infolist_new_item +
|
infolist_new_item +
|
||||||
infolist_new_var_integer +
|
infolist_new_var_integer +
|
||||||
infolist_new_var_string +
|
infolist_new_var_string +
|
||||||
@@ -789,8 +791,8 @@ link:weechat_plugin_api.ja.html[WeeChat プラグイン API リファレンス]
|
|||||||
infolist_time +
|
infolist_time +
|
||||||
infolist_free
|
infolist_free
|
||||||
|
|
||||||
| hdata |
|
| hdata
|
||||||
hdata_get +
|
| hdata_get +
|
||||||
hdata_get_var_offset +
|
hdata_get_var_offset +
|
||||||
hdata_get_var_type_string +
|
hdata_get_var_type_string +
|
||||||
hdata_get_var_array_size +
|
hdata_get_var_array_size +
|
||||||
@@ -811,8 +813,8 @@ link:weechat_plugin_api.ja.html[WeeChat プラグイン API リファレンス]
|
|||||||
hdata_update +
|
hdata_update +
|
||||||
hdata_get_string
|
hdata_get_string
|
||||||
|
|
||||||
| アップグレード |
|
| アップグレード
|
||||||
upgrade_new +
|
| upgrade_new +
|
||||||
upgrade_write_object +
|
upgrade_write_object +
|
||||||
upgrade_read +
|
upgrade_read +
|
||||||
upgrade_close
|
upgrade_close
|
||||||
@@ -828,14 +830,14 @@ link:weechat_plugin_api.ja.html[WeeChat プラグイン API リファレンス]
|
|||||||
| カテゴリ | 定数
|
| カテゴリ | 定数
|
||||||
|
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
| リターンコード |
|
| リターンコード
|
||||||
`WEECHAT_RC_OK` (integer) +
|
| `WEECHAT_RC_OK` (integer) +
|
||||||
`WEECHAT_RC_OK_EAT` (integer) +
|
`WEECHAT_RC_OK_EAT` (integer) +
|
||||||
`WEECHAT_RC_ERROR` (integer)
|
`WEECHAT_RC_ERROR` (integer)
|
||||||
|
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
| 設定ファイル |
|
| 設定ファイル
|
||||||
`WEECHAT_CONFIG_READ_OK` (integer) +
|
| `WEECHAT_CONFIG_READ_OK` (integer) +
|
||||||
`WEECHAT_CONFIG_READ_MEMORY_ERROR` (integer) +
|
`WEECHAT_CONFIG_READ_MEMORY_ERROR` (integer) +
|
||||||
`WEECHAT_CONFIG_READ_FILE_NOT_FOUND` (integer) +
|
`WEECHAT_CONFIG_READ_FILE_NOT_FOUND` (integer) +
|
||||||
`WEECHAT_CONFIG_WRITE_OK` (integer) +
|
`WEECHAT_CONFIG_WRITE_OK` (integer) +
|
||||||
@@ -851,26 +853,26 @@ link:weechat_plugin_api.ja.html[WeeChat プラグイン API リファレンス]
|
|||||||
`WEECHAT_CONFIG_OPTION_UNSET_ERROR` (integer)
|
`WEECHAT_CONFIG_OPTION_UNSET_ERROR` (integer)
|
||||||
|
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
| ソート済みリスト |
|
| ソート済みリスト
|
||||||
`WEECHAT_LIST_POS_SORT` (string) +
|
| `WEECHAT_LIST_POS_SORT` (string) +
|
||||||
`WEECHAT_LIST_POS_BEGINNING` (string) +
|
`WEECHAT_LIST_POS_BEGINNING` (string) +
|
||||||
`WEECHAT_LIST_POS_END` (string)
|
`WEECHAT_LIST_POS_END` (string)
|
||||||
|
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
| ホットリスト |
|
| ホットリスト
|
||||||
`WEECHAT_HOTLIST_LOW` (string) +
|
| `WEECHAT_HOTLIST_LOW` (string) +
|
||||||
`WEECHAT_HOTLIST_MESSAGE` (string) +
|
`WEECHAT_HOTLIST_MESSAGE` (string) +
|
||||||
`WEECHAT_HOTLIST_PRIVATE` (string) +
|
`WEECHAT_HOTLIST_PRIVATE` (string) +
|
||||||
`WEECHAT_HOTLIST_HIGHLIGHT` (string)
|
`WEECHAT_HOTLIST_HIGHLIGHT` (string)
|
||||||
|
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
| プロセスのフック |
|
| プロセスのフック
|
||||||
`WEECHAT_HOOK_PROCESS_RUNNING` (integer) +
|
| `WEECHAT_HOOK_PROCESS_RUNNING` (integer) +
|
||||||
`WEECHAT_HOOK_PROCESS_ERROR` (integer)
|
`WEECHAT_HOOK_PROCESS_ERROR` (integer)
|
||||||
|
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
| 接続のフック |
|
| 接続のフック
|
||||||
`WEECHAT_HOOK_CONNECT_OK` (integer) +
|
| `WEECHAT_HOOK_CONNECT_OK` (integer) +
|
||||||
`WEECHAT_HOOK_CONNECT_ADDRESS_NOT_FOUND` (integer) +
|
`WEECHAT_HOOK_CONNECT_ADDRESS_NOT_FOUND` (integer) +
|
||||||
`WEECHAT_HOOK_CONNECT_IP_ADDRESS_NOT_FOUND` (integer) +
|
`WEECHAT_HOOK_CONNECT_IP_ADDRESS_NOT_FOUND` (integer) +
|
||||||
`WEECHAT_HOOK_CONNECT_CONNECTION_REFUSED` (integer) +
|
`WEECHAT_HOOK_CONNECT_CONNECTION_REFUSED` (integer) +
|
||||||
@@ -883,8 +885,8 @@ link:weechat_plugin_api.ja.html[WeeChat プラグイン API リファレンス]
|
|||||||
`WEECHAT_HOOK_CONNECT_SOCKET_ERROR` (integer)
|
`WEECHAT_HOOK_CONNECT_SOCKET_ERROR` (integer)
|
||||||
|
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
| シグナルのフック |
|
| シグナルのフック
|
||||||
`WEECHAT_HOOK_SIGNAL_STRING` (string) +
|
| `WEECHAT_HOOK_SIGNAL_STRING` (string) +
|
||||||
`WEECHAT_HOOK_SIGNAL_INT` (string) +
|
`WEECHAT_HOOK_SIGNAL_INT` (string) +
|
||||||
`WEECHAT_HOOK_SIGNAL_POINTER` (string)
|
`WEECHAT_HOOK_SIGNAL_POINTER` (string)
|
||||||
|===
|
|===
|
||||||
@@ -894,7 +896,7 @@ link:weechat_plugin_api.ja.html[WeeChat プラグイン API リファレンス]
|
|||||||
|
|
||||||
この章ではいくつかの良くあるタスクを例を交えて紹介します。ここでは
|
この章ではいくつかの良くあるタスクを例を交えて紹介します。ここでは
|
||||||
API の一部の機能を使っています。完全なリファレンスは
|
API の一部の機能を使っています。完全なリファレンスは
|
||||||
link:weechat_plugin_api.ja.html[WeeChat プラグイン API リファレンス]を参照してください。
|
link:weechat_plugin_api.ja.html[WeeChat プラグイン API リファレンス ^↗^,window=_blank]を参照してください。
|
||||||
|
|
||||||
[[buffers]]
|
[[buffers]]
|
||||||
=== バッファ
|
=== バッファ
|
||||||
@@ -1165,7 +1167,9 @@ weechat.hook_process("url:https://weechat.org/dev/info/stable/",
|
|||||||
----
|
----
|
||||||
|
|
||||||
[TIP]
|
[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 開発パッケージをファイル
|
オプション有りの URL 転送の例: 最新の WeeChat 開発パッケージをファイル
|
||||||
_/tmp/weechat-devel.tar.gz_ にダウンロード:
|
_/tmp/weechat-devel.tar.gz_ にダウンロード:
|
||||||
@@ -1183,7 +1187,7 @@ weechat.hook_process_hashtable("url:https://weechat.org/files/src/weechat-devel.
|
|||||||
----
|
----
|
||||||
|
|
||||||
URL 転送に関するより詳しい情報と利用可能なオプションは
|
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+` を参照してください。
|
`+hook_process+` と `+hook_process_hashtable+` を参照してください。
|
||||||
|
|
||||||
[[config_options]]
|
[[config_options]]
|
||||||
@@ -1347,65 +1351,75 @@ _WeeChat バージョン 0.3.4 以上で利用可。_
|
|||||||
[width="100%",cols="3,^2,10,7",options="header"]
|
[width="100%",cols="3,^2,10,7",options="header"]
|
||||||
|===
|
|===
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
| キー | Since WeeChat ^(1)^ | 説明 | 例
|
| キー | Since WeeChat ^(1)^ | 説明 | 例
|
||||||
|
|
||||||
| tags | 0.4.0 |
|
| tags | 0.4.0
|
||||||
メッセージに付けられたタグ (空にすることも可) |
|
| メッセージに付けられたタグ (空にすることも可)
|
||||||
`+time=2015-06-27T16:40:35.000Z+`
|
| `+time=2015-06-27T16:40:35.000Z+`
|
||||||
|
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
| tag_xxx | 3.3 |
|
| tag_xxx | 3.3
|
||||||
Unescaped value of tag "xxx" (one key per tag). |
|
| Unescaped value of tag "xxx" (one key per tag).
|
||||||
`+2015-06-27T16:40:35.000Z+`
|
| `+2015-06-27T16:40:35.000Z+`
|
||||||
|
|
||||||
| message_without_tags | 0.4.0 |
|
| message_without_tags | 0.4.0
|
||||||
タグを除いたメッセージ (タグが付けられていなければメッセージと同じ) |
|
| タグを除いたメッセージ (タグが付けられていなければメッセージと同じ)
|
||||||
`+:nick!user@host PRIVMSG #weechat :hello!+`
|
| `+:nick!user@host PRIVMSG #weechat :hello!+`
|
||||||
|
|
||||||
| nick | 0.3.4 |
|
| nick | 0.3.4
|
||||||
発信者のニックネーム |
|
| 発信者のニックネーム
|
||||||
`+nick+`
|
| `+nick+`
|
||||||
|
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
| user | 2.7 |
|
| user | 2.7
|
||||||
The origin user. |
|
| The origin user.
|
||||||
`+user+`
|
| `+user+`
|
||||||
|
|
||||||
| host | 0.3.4 |
|
| host | 0.3.4
|
||||||
発信者のホスト (ニックネームを含む) |
|
| 発信者のホスト (ニックネームを含む)
|
||||||
`+nick!user@host+`
|
| `+nick!user@host+`
|
||||||
|
|
||||||
| command | 0.3.4 |
|
| command | 0.3.4
|
||||||
コマンド (_PRIVMSG_、_NOTICE_、...) |
|
| コマンド (_PRIVMSG_、_NOTICE_、...)
|
||||||
`+PRIVMSG+`
|
| `+PRIVMSG+`
|
||||||
|
|
||||||
| channel | 0.3.4 |
|
| channel | 0.3.4
|
||||||
送信先チャンネル |
|
| 送信先チャンネル
|
||||||
`+#weechat+`
|
| `+#weechat+`
|
||||||
|
|
||||||
| arguments | 0.3.4 |
|
| arguments | 0.3.4
|
||||||
コマンド引数 (チャンネルを含む) |
|
| コマンド引数 (チャンネルを含む)
|
||||||
`+#weechat :hello!+`
|
| `+#weechat :hello!+`
|
||||||
|
|
||||||
| text | 1.3 |
|
| text | 1.3
|
||||||
テキスト (ユーザメッセージなど) |
|
| テキスト (ユーザメッセージなど)
|
||||||
`+hello!+`
|
| `+hello!+`
|
||||||
|
|
||||||
| pos_command | 1.3 |
|
// TRANSLATION MISSING
|
||||||
メッセージ内における _command_ のインデックス (_command_ が見つからない場合 "-1") |
|
| paramN | 3.4
|
||||||
`+47+`
|
| Command parameter (from 1 to N).
|
||||||
|
| `+#weechat+`
|
||||||
|
|
||||||
| pos_arguments | 1.3 |
|
// TRANSLATION MISSING
|
||||||
メッセージ内における _arguments_ のインデックス (_arguments_ が見つからない場合 "-1") |
|
| num_params | 3.4
|
||||||
`+55+`
|
| Number of command parameters.
|
||||||
|
| `+2+`
|
||||||
|
|
||||||
| pos_channel | 1.3 |
|
| pos_command | 1.3
|
||||||
メッセージ内における _channel_ のインデックス (_channel_ が見つからない場合 "-1") |
|
| メッセージ内における _command_ のインデックス (_command_ が見つからない場合 "-1")
|
||||||
`+55+`
|
| `+47+`
|
||||||
|
|
||||||
| pos_text | 1.3 |
|
| pos_arguments | 1.3
|
||||||
メッセージ内における _text_ のインデックス (_text_ が見つからない場合 "-1") |
|
| メッセージ内における _arguments_ のインデックス (_arguments_ が見つからない場合 "-1")
|
||||||
`+65+`
|
| `+55+`
|
||||||
|
|
||||||
|
| pos_channel | 1.3
|
||||||
|
| メッセージ内における _channel_ のインデックス (_channel_ が見つからない場合 "-1")
|
||||||
|
| `+55+`
|
||||||
|
|
||||||
|
| pos_text | 1.3
|
||||||
|
| メッセージ内における _text_ のインデックス (_text_ が見つからない場合 "-1")
|
||||||
|
| `+65+`
|
||||||
|===
|
|===
|
||||||
|
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
@@ -1430,6 +1444,9 @@ dict = weechat.info_get_hashtable(
|
|||||||
# "channel": "#weechat",
|
# "channel": "#weechat",
|
||||||
# "arguments": "#weechat :hello!",
|
# "arguments": "#weechat :hello!",
|
||||||
# "text": "hello!",
|
# "text": "hello!",
|
||||||
|
# "param1": "#weechat",
|
||||||
|
# "param2": "hello!",
|
||||||
|
# "num_params": "2",
|
||||||
# "pos_command": "65",
|
# "pos_command": "65",
|
||||||
# "pos_arguments": "73",
|
# "pos_arguments": "73",
|
||||||
# "pos_channel": "73",
|
# "pos_channel": "73",
|
||||||
|
|||||||
+824
-359
File diff suppressed because it is too large
Load Diff
@@ -94,6 +94,8 @@
|
|||||||
|
|
||||||
| tcl | tcl_script | lista skryptów
|
| 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_arguments | domyślne argumenty dla hooka
|
||||||
|
|
||||||
| trigger | trigger_hook_command | domyślna komenda 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 | 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_value | wartość zmiennej środowiskowej
|
||||||
|
|
||||||
| weechat | env_vars | zmienne środowiskowe
|
| weechat | env_vars | zmienne środowiskowe
|
||||||
|
|||||||
@@ -631,6 +631,8 @@ _text_search_input_ (string) +
|
|||||||
_highlight_words_ (string) +
|
_highlight_words_ (string) +
|
||||||
_highlight_regex_ (string) +
|
_highlight_regex_ (string) +
|
||||||
_highlight_regex_compiled_ (pointer) +
|
_highlight_regex_compiled_ (pointer) +
|
||||||
|
_highlight_disable_regex_ (string) +
|
||||||
|
_highlight_disable_regex_compiled_ (pointer) +
|
||||||
_highlight_tags_restrict_ (string) +
|
_highlight_tags_restrict_ (string) +
|
||||||
_highlight_tags_restrict_count_ (integer) +
|
_highlight_tags_restrict_count_ (integer) +
|
||||||
_highlight_tags_restrict_array_ (pointer, array_size: "highlight_tags_restrict_count") +
|
_highlight_tags_restrict_array_ (pointer, array_size: "highlight_tags_restrict_count") +
|
||||||
|
|||||||
@@ -128,6 +128,8 @@
|
|||||||
|
|
||||||
| weechat | uptime | Uptime WeeChat (format: "dni:hh:mm:ss") | "dni" (ilość dni) lub "sekundy" (ilość sekund) (opcjonalne)
|
| weechat | uptime | Uptime WeeChat (format: "dni:hh:mm:ss") | "dni" (ilość dni) lub "sekundy" (ilość sekund) (opcjonalne)
|
||||||
|
|
||||||
|
| weechat | uptime_current | WeeChat uptime for the current process only (upgrades with /upgrade command are ignored) (format: "days:hh:mm:ss") | "dni" (ilość dni) lub "sekundy" (ilość sekund) (opcjonalne)
|
||||||
|
|
||||||
| weechat | version | Wersja WeeChat | -
|
| weechat | version | Wersja WeeChat | -
|
||||||
|
|
||||||
| weechat | version_git | Wersja git WeeChat (wyjście komendy "git describe" dla tylko dla wersji rozwojowej, puste dla wersji stabilnej) | -
|
| weechat | version_git | Wersja git WeeChat (wyjście komendy "git describe" dla tylko dla wersji rozwojowej, puste dla wersji stabilnej) | -
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
// tag::url_options[]
|
// tag::url_options[]
|
||||||
[width="100%",cols="2,^1,7",options="header"]
|
[width="100%",cols="2,^1,7",options="header"]
|
||||||
|===
|
|===
|
||||||
| Opcja | Typ ^(1)^ | Stałe ^(2)^
|
| Opcja | Typ ^(1)^ | Stałe ^(2)^
|
||||||
|
|
||||||
| verbose | long |
|
| verbose | long |
|
||||||
|
|
||||||
|
|||||||
@@ -130,7 +130,7 @@ Przykłady:
|
|||||||
/autojoin add [<channel1> [<channel2>...]]
|
/autojoin add [<channel1> [<channel2>...]]
|
||||||
addraw <channel1>[,<channel2>...] [<key1>[,<key2>...]]
|
addraw <channel1>[,<channel2>...] [<key1>[,<key2>...]]
|
||||||
del [<channel1> [<channel2>...]]
|
del [<channel1> [<channel2>...]]
|
||||||
save
|
apply
|
||||||
sort
|
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
|
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
|
del: delete current channel or a list of channels from the autojoin option
|
||||||
channel: channel name
|
channel: channel name
|
||||||
key: key for the channel
|
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
|
sort: sort alphabetically channels in the autojoin option
|
||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
/autojoin add
|
/autojoin add
|
||||||
/autojoin add #test
|
/autojoin add #test
|
||||||
/autojoin add #chan1 #chan2
|
/autojoin add #chan1 #chan2
|
||||||
|
/allchan /autojoin add
|
||||||
/autojoin addraw #chan1,#chan2,#chan3 key1,key2
|
/autojoin addraw #chan1,#chan2,#chan3 key1,key2
|
||||||
/autojoin del
|
/autojoin del
|
||||||
/autojoin del #chan1
|
/autojoin del #chan1
|
||||||
/autojoin save
|
/autojoin apply
|
||||||
/autojoin sort
|
/autojoin sort
|
||||||
----
|
----
|
||||||
|
|
||||||
@@ -173,21 +174,27 @@ Bez podania argumentu komenda wyświetla listę banów na obecnym kanale.
|
|||||||
req|ack [<opcja> [<opcja>...]]
|
req|ack [<opcja> [<opcja>...]]
|
||||||
end
|
end
|
||||||
|
|
||||||
ls: wyświetla opcje wspierane przez serwer
|
ls: list the capabilities supported by the server
|
||||||
list: wyświetla obecnie włączone opcje
|
list: list the capabilities currently enabled
|
||||||
req: żądanie opcji
|
req: request a new capability or remove a capability (if starting with "-", for example: "-multi-prefix")
|
||||||
ack: potwierdzenie opcji wymagających potwierdzenia po stronie klienta
|
ack: acknowledge capabilities which require client-side acknowledgement
|
||||||
end: kończy negocjacje opcji
|
end: end the capability negotiation
|
||||||
|
|
||||||
Bez argumentu, wysyłane są "ls" i "list".
|
Without argument, "ls" and "list" are sent.
|
||||||
|
|
||||||
Opcje wspierane przez WeeChat to: account-notify, away-notify, cap-notify, chghost, extended-join, invite-notify, message-tags, multi-prefix, server-time, setname, userhost-in-names.
|
Capabilities supported by WeeChat are: account-notify, away-notify, cap-notify, chghost, extended-join, invite-notify, message-tags, multi-prefix, server-time, setname, userhost-in-names.
|
||||||
|
|
||||||
Opcje automatycznie włączane na serwerach można ustawić za pomocą opcji irc.server_default.capabilities (albo dla konkretnego serwera, opcja irc.server.xxx.capabilities).
|
The capabilities to automatically enable on servers can be set in option irc.server_default.capabilities (or by server in option irc.server.xxx.capabilities).
|
||||||
|
|
||||||
Przykłady:
|
Examples:
|
||||||
/cap
|
display supported and enabled capabilities:
|
||||||
/cap req multi-prefix away-notify
|
/cap
|
||||||
|
request capabilities multi-prefix and away-notify:
|
||||||
|
/cap req multi-prefix away-notify
|
||||||
|
request capability extended-join, remove capability multi-prefix:
|
||||||
|
/cap req extended-join -multi-prefix
|
||||||
|
remove capability away-notify:
|
||||||
|
/cap req -away-notify
|
||||||
----
|
----
|
||||||
|
|
||||||
[[command_irc_connect]]
|
[[command_irc_connect]]
|
||||||
@@ -1330,32 +1337,32 @@ Przykłady:
|
|||||||
----
|
----
|
||||||
/debug list
|
/debug list
|
||||||
set <wtyczka> <poziom>
|
set <wtyczka> <poziom>
|
||||||
dump [<wtyczka>]
|
dump|hooks [<wtyczka>]
|
||||||
buffer|color|infolists|libs|certs|memory|tags|term|windows
|
buffer|certs|color|dirs|infolists|libs|memory|tags|term|windows
|
||||||
mouse|cursor [verbose]
|
mouse|cursor [verbose]
|
||||||
hdata [free]
|
hdata [free]
|
||||||
time <komenda>
|
time <komenda>
|
||||||
|
|
||||||
list: wyświetla wtyczki z poziomem debugowania
|
list: list plugins with debug levels
|
||||||
set: ustawia poziom debugowania dla wtyczki
|
set: set debug level for plugin
|
||||||
plugin: nazwa wtyczki ("core" dla rdzenia WeeChat)
|
plugin: name of plugin ("core" for WeeChat core)
|
||||||
poziom: poziom debugowania wtyczki (0 = wyłączony)
|
level: debug level for plugin (0 = disable debug)
|
||||||
dump: zachowuje zrzut pamięci w pliku z logiem WeeChat (taki sam zrzut jest zapisywany podczas awarii WeeChat)
|
dump: save memory dump in WeeChat log file (same dump is written when WeeChat crashes)
|
||||||
buffer: zrzuca zawartość bufora z wartościami heksadecymalnymi do pliku z logiem
|
hooks: display infos about hooks (with a plugin: display detailed info about hooks created by the plugin)
|
||||||
color: wyświetla informacje na temat obecnych par kolorów
|
buffer: dump buffer content with hexadecimal values in log file
|
||||||
cursor: przełącza debugowanie dla trybu kursora
|
certs: display number of loaded trusted certificate authorities
|
||||||
dirs: wyświetla katalogi
|
color: display infos about current color pairs
|
||||||
hdata: wyświetla informacje o hdata (z free: usuwa wszystkie hdata z pamięci)
|
cursor: toggle debug for cursor mode
|
||||||
hooks: wyświetla informacje o hooks
|
dirs: display directories
|
||||||
infolists: wyświetla informacje o infolistach
|
hdata: display infos about hdata (with free: remove all hdata in memory)
|
||||||
libs: wyświetla informacje o użytych zewnętrznych bibliotekach
|
infolists: display infos about infolists
|
||||||
certs: wyświetla ilość załadowanych zaufanych centrów certyfikacyjnych
|
libs: display infos about external libraries used
|
||||||
memory: wyświetla informacje o zużyciu pamięci
|
memory: display infos about memory usage
|
||||||
mouse: przełącza debugowanie myszy
|
mouse: toggle debug for mouse
|
||||||
tags: wyświetla tagi dla linii
|
tags: display tags for lines
|
||||||
term: wyświetla informacje o terminalu
|
term: display infos about terminal
|
||||||
windows: wyświetla drzewo okien
|
windows: display windows tree
|
||||||
time: mierzy czas do wykonania komendy lub wysłania tekstu do obecnego bufora
|
time: measure time to execute a command or to send text to the current buffer
|
||||||
----
|
----
|
||||||
|
|
||||||
[[command_weechat_eval]]
|
[[command_weechat_eval]]
|
||||||
@@ -1365,100 +1372,104 @@ infolists: wyświetla informacje o infolistach
|
|||||||
/eval [-n|-s] [-d] <wyrażenie>
|
/eval [-n|-s] [-d] <wyrażenie>
|
||||||
[-n] [-d [-d]] -c <wyrażenie1> <operator> <wyrażenie2>
|
[-n] [-d [-d]] -c <wyrażenie1> <operator> <wyrażenie2>
|
||||||
|
|
||||||
-n: wyświetla wynik bez wysyłania go do buforu (tryb debugowania)
|
-n: display result without sending it to buffer (debug mode)
|
||||||
-s: podziel wyrażenie przed przetworzeniem go (wiele komend może być oddzielonych średnikami)
|
-s: split expression before evaluating it (many commands can be separated by semicolons)
|
||||||
-d: wyświetl wyjście debugowe po ewaluacji (drugie -d wyświetli więcej informacji)
|
-d: display debug output after evaluation (with two -d: more verbose debug)
|
||||||
-c: przetwarza jako warunek: użyj operatorów i nawiasów, zwraca wartość logiczną ("0" lub "1")
|
-c: evaluate as condition: use operators and parentheses, return a boolean value ("0" or "1")
|
||||||
wyrażenie: wyrażenie do przetworzenia, zmienne o formacie ${zmienna} są zastępowane (zobacz niżej); wiele komend można oddzielić średnikami
|
expression: expression to evaluate, variables with format ${variable} are replaced (see below); many commands can be separated by semicolons
|
||||||
operator: operator logiczny lub porównania:
|
operator: a logical or comparison operator:
|
||||||
- operatory logiczne:
|
- logical operators:
|
||||||
&& logiczne „i”
|
&& boolean "and"
|
||||||
|| logiczne „lub”
|
|| boolean "or"
|
||||||
- operatory porównania:
|
- comparison operators:
|
||||||
== równy
|
== equal
|
||||||
!= różny
|
!= not equal
|
||||||
<= mniejszy lub równy
|
<= less or equal
|
||||||
< mniejszy
|
< less
|
||||||
>= większy lub równy
|
>= greater or equal
|
||||||
> większy
|
> greater
|
||||||
=~ pasuje do rozszerzonego wyrażenia regularnego POSIX
|
=~ is matching POSIX extended regex
|
||||||
!~ NIE pasuje do rozszerzonego wyrażenia regularnego POSIX
|
!~ is NOT matching POSIX extended regex
|
||||||
==* pasuje do maski, rozróżnia wielkość znaków (dzika karta „*” dozwolona)
|
==* is matching mask, case sensitive (wildcard "*" is allowed)
|
||||||
!!* NIE pasuje do maski, rozróżnia wielkość znaków (dzika karta „*” dozwolona)
|
!!* is NOT matching mask, case sensitive (wildcard "*" is allowed)
|
||||||
=* pasuje do maski, nie rozróżnia wielkość znaków (dzika karta „*” dozwolona)
|
=* is matching mask, case insensitive (wildcard "*" is allowed)
|
||||||
!* NIE pasuje do maski, nie rozróżnia wielkość znaków (dzika karta „*” dozwolona)
|
!* is NOT matching mask, case insensitive (wildcard "*" is allowed)
|
||||||
==- jest zawarte, rozróżnia wielkość znaków
|
==- is included, case sensitive
|
||||||
!!- NIE jest zawarte,rozróżnia wielkość znaków
|
!!- is NOT included, case sensitive
|
||||||
=- jest zawarte, nie rozróżnia wielkość znaków
|
=- is included, case insensitive
|
||||||
!- NIE jest zawarte, nie rozróżnia wielkość znaków
|
!- 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”.
|
An expression is considered as "true" if it is not NULL, not empty, and different from "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:
|
The comparison is made using floating point numbers if the two expressions are valid numbers, with one of the following formats:
|
||||||
- liczby całkowite (przykłady: 5, -7)
|
- integer (examples: 5, -7)
|
||||||
- liczby zmiennoprzecinkowe (przykłady: 5.2, -7.5, 2.83e-2)
|
- floating point number (examples: 5.2, -7.5, 2.83e-2)
|
||||||
- liczby szesnastkowe (przykłady: 0xA3, -0xA3)
|
- hexadecimal number (examples: 0xA3, -0xA3)
|
||||||
W celu wymuszenia porównywania ciągów, należy umieścić każde wyrażenie w cudzysłowie, na przykład:
|
To force a string comparison, you can add double quotes around each expression, for example:
|
||||||
50 > 100 ==> 0
|
50 > 100 ==> 0
|
||||||
"50" > "100" ==> 1
|
"50" > "100" ==> 1
|
||||||
|
|
||||||
Niektóre zmienne w wyrażeniach są zamieniane, poprzez zastosowanie formatu ${zmienna}, według priorytetu zmienną może być:
|
Some variables are replaced in expression, using the format ${variable}, variable can be, by order of priority:
|
||||||
1. nieprzetworzony ciąg (format: "raw:xxx")
|
1. the string itself without evaluation (format: "raw:xxx")
|
||||||
2. zmienna zdefiniowana przez użytkownika (format: "name")
|
2. a user-defined variable (format: "name")
|
||||||
3. przetworzony ciąg (format: "eval:xxx")
|
3. an evaluated sub-string (format: "eval:xxx")
|
||||||
4. przetworzony warunek (format: "eval_cond:xxx")
|
4. an evaluated condition (format: "eval_cond:xxx")
|
||||||
5. ciąg z wyescapowanymi znakami (format: "esc:xxx" lub "\xxx")
|
5. a string with escaped chars (format: "esc:xxx" or "\xxx")
|
||||||
6. ciąg ze znakami do ukrycia (format: "hide:char,string")
|
6. a string converted to lower case (format: "lower:xxx")
|
||||||
7. ciąg o maksymalnej długości (format: "cut:max,suffix,string" lub "cut:+max,suffix,string")
|
7. a string converted to upper case (format: "upper:xxx")
|
||||||
lub maksymalna ilość znaków wyświetlanych na ekranie (format: "cutscr:max,suffix,string" lub "cutscr:+max,suffix,string")
|
8. a string with chars to hide (format: "hide:char,string")
|
||||||
8. odwrócony ciąg (format: "rev:xxx")
|
9. a string with max chars (format: "cut:max,suffix,string" or "cut:+max,suffix,string")
|
||||||
9. powtórzony ciąg (format: "repeat:ilość,ciąg")
|
or max chars displayed on screen (format: "cutscr:max,suffix,string" or "cutscr:+max,suffix,string")
|
||||||
10. długość ciągu (format: "length:xxx" or "lengthscr:xxx")
|
10. a reversed string (format: "rev:xxx" or "revscr:xxx")
|
||||||
11. podział ciągu (format: "split:number,separators,flags,xxx")
|
11. a repeated string (format: "repeat:count,string")
|
||||||
12. podział argumentów powłoki (format: "split_shell:number,xxx")
|
12. length of a string (format: "length:xxx" or "lengthscr:xxx")
|
||||||
13. kolor (format "color:xxx", zobacz „Opis API wtyczek”, funkcja "color")
|
13. split of a string (format: "split:number,separators,flags,xxx")
|
||||||
14. modyfikator (format: "modifier:name,data,string")
|
14. split of shell argmuents (format: "split_shell:number,xxx")
|
||||||
15. informacja (format: "info:nazwa,argumenty", argumenty są opcjonalne)
|
15. a color (format: "color:xxx", see "Plugin API reference", function "color")
|
||||||
16. ciąg zakodowany/zdekodowany z base 16/32/64 (format: "base_encode:base,xxx" lub "base_decode:base,xxx")
|
16. a modifier (format: "modifier:name,data,string")
|
||||||
17. obecna data/czas (format: "date" lub "date:format")
|
17. an info (format: "info:name,arguments", arguments are optional)
|
||||||
18. zmienna środowiskowa (format: "env:XXX")
|
18. a base 16/32/64 encoded/decoded string (format: "base_encode:base,xxx" or "base_decode:base,xxx")
|
||||||
19. wyrażenie warunkowe (format: "if:warunek?wartość_jeśli_prawda:wartość_jeśli_fałsz")
|
19. current date/time (format: "date" or "date:format")
|
||||||
20. wynik wyrażenia z nawiasami i operatorami + - * / // % ** (format: "calc:xxx")
|
20. an environment variable (format: "env:XXX")
|
||||||
21. losowa liczba całkowita (format: "random:min,max")
|
21. a ternary operator (format: "if:condition?value_if_true:value_if_false")
|
||||||
22. przetłumaczony ciąg (format: "translate:xxx")
|
22. result of an expression with parentheses and operators + - * / // % ** (format: "calc:xxx")
|
||||||
23. definiowanie zmiennej użytkownika (format: "define:nazwa,wartość")
|
23. a random integer number (format: "random:min,max")
|
||||||
24. opcja (format: plik.sekcja.opcja)
|
24. a translated string (format: "translate:xxx")
|
||||||
25. zmienna lokalna w buforze
|
25. define a user variable (format: "define:name,value")
|
||||||
26. nazwa hdatay/zmiennej (wartość jest automatycznie konwertowana na ciąg znaków), domyślnie „window” i „buffer” wskazują na aktualne okno/bufor.
|
26. an option (format: "file.section.option")
|
||||||
Format dla hdata może być jednym z poniższych:
|
27. a local variable in buffer
|
||||||
hdata.zmienna1.zmienna2...: inicjuje hdata (wskaźnik musi być znany), następnie wypytuje zmienne jedna po drugiej (inne hdata mogą być następne)
|
28. a hdata name/variable (the value is automatically converted to string), by default "window" and "buffer" point to current window/buffer.
|
||||||
hdata[list].zmienna1.zmienna2...: inicjuje hdata z wykorzystaniem listy, na przykład:
|
Format for hdata can be one of following:
|
||||||
${buffer[gui_buffers].full_name}: pełna nazwa buforu w połączonej liście buforów
|
hdata.var1.var2...: start with a hdata (pointer must be known), and ask variables one after one (other hdata can be followed)
|
||||||
${plugin[weechat_plugins].name}: nazwa pierwszej wtyczki w połączonej liście wtyczek
|
hdata[list].var1.var2...: start with a hdata using a list/pointer/pointer name, for example:
|
||||||
hdata[wskaźnik].zmienna1.zmienna2...: zacznij z hdata używając wskaźnika, na przykład:
|
${buffer[gui_buffers].full_name}: full name of first buffer in linked list of buffers
|
||||||
${buffer[0x1234abcd].full_name}: pełna nazwa buforu z tym wskaźnikiem (może zostać użyte w triggerach)
|
${plugin[weechat_plugins].name}: name of first plugin in linked list of plugins
|
||||||
${buffer[my_pointer].full_name}: pełna nazwa buforu z jego wskaźnikiem (może zostać użyte w triggerach)
|
hdata[pointer].var1.var2...: start with a hdata using a pointer, for example:
|
||||||
Nazwy hdata i zmiennych, można znaleźć w „Opisie API wtyczek”, funkcja "weechat_hdata_get".
|
${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):
|
Examples (simple strings):
|
||||||
/eval -n ${raw:${info:version}} ==> ${info:version}
|
/eval -n ${raw:${info:version}} ==> ${info:version}
|
||||||
/eval -n ${eval_cond:${window.win_width}>100} ==> 1
|
/eval -n ${eval_cond:${window.win_width}>100} ==> 1
|
||||||
/eval -n ${info:version} ==> 0.4.3
|
/eval -n ${info:version} ==> 0.4.3
|
||||||
/eval -n ${env:HOME} ==> /home/user
|
/eval -n ${env:HOME} ==> /home/user
|
||||||
/eval -n ${weechat.look.scroll_amount} ==> 3
|
/eval -n ${weechat.look.scroll_amount} ==> 3
|
||||||
/eval -n ${sec.data.password} ==> secret
|
/eval -n ${sec.data.password} ==> secret
|
||||||
/eval -n ${window} ==> 0x2549aa0
|
/eval -n ${window} ==> 0x2549aa0
|
||||||
/eval -n ${window.buffer} ==> 0x2549320
|
/eval -n ${window.buffer} ==> 0x2549320
|
||||||
/eval -n ${window.buffer.full_name} ==> core.weechat
|
/eval -n ${window.buffer.full_name} ==> core.weechat
|
||||||
/eval -n ${window.buffer.number} ==> 1
|
/eval -n ${window.buffer.number} ==> 1
|
||||||
/eval -n ${\t} ==> <tab>
|
/eval -n ${\t} ==> <tab>
|
||||||
/eval -n ${hide:-,${relay.network.password}} ==> --------
|
/eval -n ${lower:TEST} ==> test
|
||||||
/eval -n ${cut:3,+,test} ==> tes+
|
/eval -n ${upper:test} ==> TEST
|
||||||
/eval -n ${cut:+3,+,test} ==> te+
|
/eval -n ${hide:-,${relay.network.password}} ==> --------
|
||||||
/eval -n ${date:%H:%M:%S} ==> 07:46:40
|
/eval -n ${cut:3,+,test} ==> tes+
|
||||||
/eval -n ${if:${info:term_width}>80?big:small} ==> big
|
/eval -n ${cut:+3,+,test} ==> te+
|
||||||
/eval -n ${rev:Hello} ==> olleH
|
/eval -n ${date:%H:%M:%S} ==> 07:46:40
|
||||||
/eval -n ${repeat:5,-} ==> -----
|
/eval -n ${if:${info:term_width}>80?big:small} ==> big
|
||||||
/eval -n ${length:test} ==> 4
|
/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} ==> abc
|
||||||
/eval -n ${split:-1,,,abc,def,ghi} ==> ghi
|
/eval -n ${split:-1,,,abc,def,ghi} ==> ghi
|
||||||
/eval -n ${split:count,,,abc,def,ghi} ==> 3
|
/eval -n ${split:count,,,abc,def,ghi} ==> 3
|
||||||
@@ -1467,14 +1478,14 @@ Przykłady (proste ciągi):
|
|||||||
/eval -n ${split_shell:-1,"arg 1" arg2} ==> arg2
|
/eval -n ${split_shell:-1,"arg 1" arg2} ==> arg2
|
||||||
/eval -n ${split_shell:count,"arg 1" arg2} ==> 2
|
/eval -n ${split_shell:count,"arg 1" arg2} ==> 2
|
||||||
/eval -n ${split_shell:random,"arg 1" arg2} ==> arg2
|
/eval -n ${split_shell:random,"arg 1" arg2} ==> arg2
|
||||||
/eval -n ${calc:(5+2)*3} ==> 21
|
/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 ${random:0,10} ==> 3
|
/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.buffer.number} > 2 ==> 0
|
||||||
/eval -n -c ${window.win_width} > 100 ==> 1
|
/eval -n -c ${window.win_width} > 100 ==> 1
|
||||||
/eval -n -c (8 > 12) || (5 > 2) ==> 1
|
/eval -n -c (8 > 12) || (5 > 2) ==> 1
|
||||||
@@ -1492,11 +1503,11 @@ Przykłady (warunki):
|
|||||||
|
|
||||||
----
|
----
|
||||||
/filter list
|
/filter list
|
||||||
enable|disable|toggle [<nazwa>|@]
|
enable|disable|toggle [<name>|@]
|
||||||
add|addreplace<nazwa> <bufor>[,<bufor>...] <tagi> <regex>
|
add|addreplace <name> <buffer>[,<buffer>...] <tags> <regex>
|
||||||
rename <nazwa> <nowa_nazwa>
|
rename <name> <new_name>
|
||||||
recreate <nazwa>
|
recreate <name>
|
||||||
del <nazwa>|-all
|
del <name>|-all [<name>...]
|
||||||
|
|
||||||
list: wyświetla wszystkie filtry
|
list: wyświetla wszystkie filtry
|
||||||
enable: włącza filtry (filtry są domyślnie włączone)
|
enable: włącza filtry (filtry są domyślnie włączone)
|
||||||
@@ -1586,63 +1597,107 @@ Wartość: ilość elementów historii do pokazania
|
|||||||
----
|
----
|
||||||
/input <akcja> [<argumenty>]
|
/input <akcja> [<argumenty>]
|
||||||
|
|
||||||
lista akcji:
|
list of actions:
|
||||||
return: symuluje klawisz "enter"
|
return: simulate key "enter"
|
||||||
complete_next: dopełnia słowo następnym dopełnieniem
|
complete_next: complete word with next completion
|
||||||
complete_previous: dopełnia słowo poprzednim dopełnieniem
|
complete_previous: complete word with previous completion
|
||||||
search_text_here: szuka testu w obecnej pozycji w buforze
|
search_text_here: search text in buffer at current position
|
||||||
search_text: szuka tekstu w buforze
|
search_text: search text in buffer
|
||||||
search_switch_case: przełącza na dokładne dopasowanie przy szukaniu
|
search_switch_case: switch exact case for search
|
||||||
search_switch_regex: przełącza typy wyszukiwania ciąg/wyrażenie regularne
|
search_switch_regex: switch search type: string/regular expression
|
||||||
search_switch_where: zmienia miejsce przeszukiwania na wiadomości/przedrostki
|
search_switch_where: switch search in messages/prefixes
|
||||||
search_previous: szuka poprzednich linii
|
search_previous: search previous line
|
||||||
search_next: szuka następnych linii
|
search_next: search next line
|
||||||
search_stop_here: zatrzymuje wyszukiwanie na obecnej pozycji
|
search_stop_here: stop search at current position
|
||||||
search_stop: zatrzymuje wyszukiwanie
|
search_stop: stop search
|
||||||
delete_previous_char: usuwa poprzedni znak
|
delete_previous_char: delete previous char
|
||||||
delete_next_char: usuwa następny znak
|
delete_next_char: delete next char
|
||||||
delete_previous_word: usuwa poprzednie słowo
|
delete_previous_word: delete previous word
|
||||||
delete_next_word: usuwa następne słowo
|
delete_previous_word_whitespace: delete previous word (until whitespace)
|
||||||
delete_beginning_of_line: usuwa od początku linii do kursora
|
delete_next_word: delete next word
|
||||||
delete_end_of_line: usuwa od kursora do końca linii
|
delete_beginning_of_line: delete from beginning of line until cursor
|
||||||
delete_line: usuwa cała linię
|
delete_end_of_line: delete from cursor until end of line
|
||||||
clipboard_paste: wkleja ze schowka
|
delete_line: delete entire line
|
||||||
transpose_chars: zamienia dwa znaki
|
clipboard_paste: paste from the internal clipboard
|
||||||
undo: cofa ostatnia akcję w linii poleceń
|
transpose_chars: transpose two chars
|
||||||
redo: ponownie wykonuje cofniętą akcję w linii poleceń
|
undo: undo last command line action
|
||||||
move_beginning_of_line: przesuwa kursor na początek linii
|
redo: redo last command line action
|
||||||
move_end_of_line: przesuwa kursor na koniec linii
|
move_beginning_of_line: move cursor to beginning of line
|
||||||
move_previous_char: przesuwa kursor do poprzedniego znaku
|
move_end_of_line: move cursor to end of line
|
||||||
move_next_char: przesuwa kursor do następnego znaku
|
move_previous_char: move cursor to previous char
|
||||||
move_previous_word: przesuwa kursor do poprzedniego słowa
|
move_next_char: move cursor to next char
|
||||||
move_next_word: przesuwa kursor do następnego słowa
|
move_previous_word: move cursor to previous word
|
||||||
history_previous: przywołuje poprzednia komendę z historii obecnego bufora
|
move_next_word: move cursor to next word
|
||||||
history_next: przywołuje następną komendę z historii obecnego bufora
|
history_previous: recall previous command in current buffer history
|
||||||
history_global_previous: przywołuje poprzednią komendę z globalnej historii
|
history_next: recall next command in current buffer history
|
||||||
history_global_next: przywołuje następną komendę z globalnej historii
|
history_global_previous: recall previous command in global history
|
||||||
jump_smart: przechodzi do następnego bufora z aktywnością
|
history_global_next: recall next command in global history
|
||||||
jump_last_buffer_displayed: przechodzi do ostatnio wyświetlanego bufora (przed ostatnim przeskoczeniem do bufora)
|
jump_smart: jump to next buffer with activity
|
||||||
jump_previously_visited_buffer: przeskakuje do poprzedniego bufora
|
jump_last_buffer_displayed: jump to last buffer displayed (before last jump to a buffer)
|
||||||
jump_next_visited_buffer: przeskakuje to następnego bufora
|
jump_previously_visited_buffer: jump to previously visited buffer
|
||||||
hotlist_clear: czyści hotlistę (opcjonaly argument: "lowest" czyści najniższy poziom na hotliście, "highest" czyści najwyższy poziom na hotliście, albo maska poziomu: liczba będąca kombinacją 1=join/part, 2=wiadomość, 4=prywatny, 8=podświetlenie)
|
jump_next_visited_buffer: jump to next visited buffer
|
||||||
hotlist_remove_buffer: usuwa obecny bufor z hotlisty
|
hotlist_clear: clear hotlist (optional argument: "lowest" to clear only lowest level in hotlist, "highest" to clear only highest level in hotlist, or level mask: integer which is a combination of 1=join/part, 2=message, 4=private, 8=highlight)
|
||||||
hotlist_restore_buffer: przywraca ostatnią usuniętą hotlistę w obecnym buforze
|
hotlist_remove_buffer: remove current buffer from hotlist
|
||||||
hotlist_restore_all: przywraca ostatnią usuniętą hotlistę we wszystkich buforach
|
hotlist_restore_buffer: restore latest hotlist removed in the current buffer
|
||||||
grab_key: przechwytuje klawisz (opcjonalny argument: opóźnienie końca przechwycenia, domyślnie jest to 500 milisekund)
|
hotlist_restore_all: restore latest hotlist removed in all buffers
|
||||||
grab_key_command: przechwytuje klawisz z przypisaną komendą (opcjonalny argument: opóźnienie końca przechwycenia, domyślnie jest to 500 milisekund)
|
grab_key: grab a key (optional argument: delay for end of grab, default is 500 milliseconds)
|
||||||
grab_mouse: przechwytuje kod zdarzenia myszy
|
grab_key_command: grab a key with its associated command (optional argument: delay for end of grab, default is 500 milliseconds)
|
||||||
grab_mouse_area: przechwytuje kod zdarzenia myszy z obszarem
|
grab_mouse: grab mouse event code
|
||||||
set_unread: ustawia znacznik nie przeczytania dla wszystkich buforów
|
grab_mouse_area: grab mouse event code with area
|
||||||
set_unread_current_buffer: ustawia znacznik nie przeczytania dla obecnego bufora
|
set_unread: set unread marker for all buffers
|
||||||
switch_active_buffer: przełącza do następnego połączonego buforu
|
set_unread_current_buffer: set unread marker for current buffer
|
||||||
switch_active_buffer_previous: przełącza do poprzedniego połączonego buforu
|
switch_active_buffer: switch to next merged buffer
|
||||||
zoom_merged_buffer: zoom na połączony bufor
|
switch_active_buffer_previous: switch to previous merged buffer
|
||||||
insert: wkleja tekst do linii poleceń (dozwolone są wyescapowane znaki, zobacz /help print)
|
zoom_merged_buffer: zoom on merged buffer
|
||||||
send: wysyła tekst do bufora
|
insert: insert text in command line (escaped chars are allowed, see /help print)
|
||||||
paste_start: zaczyna wklejanie (tryb z rozpoznawaniem wklejanego tekstu)
|
send: send text to the buffer
|
||||||
paste_stop: kończy wklejanie (tryb z rozpoznawaniem wklejanego tekstu)
|
paste_start: start paste (bracketed paste mode)
|
||||||
|
paste_stop: stop paste (bracketed paste mode)
|
||||||
|
|
||||||
Ta komenda jest używana do przypisywania klawiszy lub przez wtyczki.
|
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]]
|
[[command_weechat_key]]
|
||||||
@@ -2067,35 +2122,42 @@ Przykłady:
|
|||||||
----
|
----
|
||||||
|
|
||||||
[[command_weechat_upgrade]]
|
[[command_weechat_upgrade]]
|
||||||
* `+upgrade+`: przeładowanie pliku binarnego WeeChat bez rozłączania z serwerami
|
* `+upgrade+`: save WeeChat session and reload the WeeChat binary without disconnecting from servers
|
||||||
|
|
||||||
----
|
----
|
||||||
/upgrade [-yes] [<ścieżka_do_binarki>|-quit]
|
/upgrade [-yes] [<path_to_binary>|-save|-quit]
|
||||||
|
|
||||||
-yes: wymagane, jeśli "weechat.look.confirm_upgrade" jest włączona
|
-yes: required if option "weechat.look.confirm_upgrade" is enabled
|
||||||
ścieżka_do_binarki: ścieżka do pliku binarnego WeeChat (domyślnie jest to obecny plik)
|
path_to_binary: path to WeeChat binary (default is current binary)
|
||||||
-dummy: nic nie rób (opcja użyta w celu zapobiegnięcia przypadkowego dopełnienia za pomocą"-quit")
|
-dummy: do nothing (option used to prevent accidental completion with "-quit")
|
||||||
-quit: zamyka *WSZYSTKIE* połączenia, zapisuje sesję i wyłącza WeeChat, umożliwia to późniejsze przywrócenie (zobacz niżej)
|
-save: only save the session, do not quit nor reload WeeChat; the configuration files are not saved (if needed you can use /save before this command)
|
||||||
|
-quit: close *ALL* connections, save session and quit WeeChat, which makes possible a delayed restoration (see below)
|
||||||
|
|
||||||
Ta komenda uaktualnia i przeładowuje działającą sesję WeeChat. Nowy plik binarny WeeChat powinien zostać skompilowany lub zainstalowany za pomocą managera pakietów przed uruchomieniem tej komendy.
|
This command upgrades and reloads a running WeeChat session. The new WeeChat binary must have been compiled or installed with a package manager before running this command.
|
||||||
|
|
||||||
Uwaga: połączenia SSL są przerywane podczas uaktualniania, ponieważ przeładowanie sesji SSL nie jest obecnie możliwe za pomocą GnuTLS. Po uaktualnieniu nastąpi ponowne ich połączenie.
|
Note: SSL connections are lost during upgrade (except with -save), because the reload of SSL sessions is currently not possible with GnuTLS. There is automatic reconnection after upgrade.
|
||||||
|
|
||||||
Proces uaktualnienia składa się z 4 kroków:
|
Important: use of option -save can be dangerous, it is recommended to use only /upgrade (or with -quit) for a standard upgrade and a restart; the option -save can be used to save the session regularly and restore it in case of after abnormal exit (power outage, crash, etc.)
|
||||||
1. zapisania sesji do plików dla rdzenia i wtyczek (bufory, historia, ..)
|
|
||||||
2. wyładowanie wszystkich wtyczek (zapisanie plików konfiguracyjnych *.conf)
|
|
||||||
3. zapisanie konfiguracji WeeChat (weechat.conf)
|
|
||||||
4. uruchomienie nowego pliku binarnego WeeChat i przeładowanie sesji.
|
|
||||||
|
|
||||||
Z opcją "-quit", proces przebiega inaczej:
|
Upgrade process has 4 steps:
|
||||||
1. zamknięcie *WSZYSTKICH* połączeń (irc, xfer, relay, ...)
|
1. save session into files for core and plugins (buffers, history, ..)
|
||||||
2. zapisanie sesji do pliku (*.upgrade)
|
2. unload all plugins (configuration files (*.conf) are written on disk)
|
||||||
3. wyładowanie wszystkich wtyczek
|
3. save WeeChat configuration (weechat.conf)
|
||||||
4. zapisanie konfiguracji WeeChat
|
4. execute new WeeChat binary and reload session.
|
||||||
5. wyłączenie WeeChat
|
|
||||||
Następnie można przywrócić sesję za pomocą komendy: weechat --upgrade
|
With option "-quit", the process is:
|
||||||
WAŻNE: należy przywracać sesję z identyczną konfiguracją (pliki *.conf).
|
1. close *ALL* connections (irc, xfer, relay, ...)
|
||||||
Jest możliwe przywrócenie sesji WeeChat na innej maszynie, jeśli skopiujemy zawartość katalogów domowych WeeChat (zobacz /debug dirs).
|
2. save session into files (*.upgrade)
|
||||||
|
3. unload all plugins
|
||||||
|
4. save WeeChat configuration
|
||||||
|
5. quit WeeChat
|
||||||
|
|
||||||
|
With option "-save", the process is:
|
||||||
|
1. save session into files (*.upgrade) with a disconnected state for IRC servers and Relay clients (but no disconnection is made)
|
||||||
|
|
||||||
|
With -quit or -save, you can restore the session later with this command: weechat --upgrade
|
||||||
|
IMPORTANT: you must restore the session with exactly same configuration (files *.conf) and if possible the same WeeChat version (or a more recent one).
|
||||||
|
It is possible to restore WeeChat session on another machine if you copy the content of WeeChat home directories (see /debug dirs).
|
||||||
----
|
----
|
||||||
|
|
||||||
[[command_weechat_uptime]]
|
[[command_weechat_uptime]]
|
||||||
@@ -2236,51 +2298,52 @@ Przykłady:
|
|||||||
bar
|
bar
|
||||||
refresh
|
refresh
|
||||||
|
|
||||||
enable: włącza buflist
|
enable: enable buflist
|
||||||
disable: wyłącza buflist
|
disable: disable buflist
|
||||||
toggle: przełącza buflist
|
toggle: toggle buflist
|
||||||
bar: dodaje pasek "buflist"
|
bar: add the "buflist" bar
|
||||||
refresh: wymusza odświeżenie elementów paska (buflist, buflist2 oraz buflist3)
|
refresh: force the refresh of the bar items (buflist, buflist2 and buflist3)
|
||||||
|
|
||||||
Linie z buforami są wyświetlane za pomocą przetwarzania ciągów (zobacz /help eval żeby poznać format), za pomocą tych opcji:
|
The lines with buffers are displayed using string evaluation (see /help eval for the format), with these options:
|
||||||
- buflist.look.display_conditions: warunki wyświetlenia buforu na liście
|
- buflist.look.display_conditions: conditions to display a buffer in the list
|
||||||
- buflist.format.buffer: format dla buforu nie będącego obecnym buforem
|
- buflist.format.buffer: format for a buffer which is not current buffer
|
||||||
- buflist.format.buffer_current: format format dla obecnego buforu
|
- buflist.format.buffer_current: format for the current buffer
|
||||||
|
|
||||||
Następujące zmienne mogą być użyte w powyższych opcjach:
|
The following variables can be used in these options:
|
||||||
- dane elementu paska (pełną listę można znaleźć w dokumentacji API dla hdata "bar_item"), na przykład:
|
- bar item data (see hdata "bar_item" in API doc for a complete list), for example:
|
||||||
- ${bar_item.name}
|
- ${bar_item.name}
|
||||||
- dane okna, w którym element paska jest wyświetlany (okna nie ma w głównych paskach, zobacz hdata "window" w dokumentacji API dla pełnej listy zmiennych), na przykład:
|
- window data, where the bar item is displayed (there's no window in root bars, see hdata "window" in API doc for a complete list), for example:
|
||||||
- ${window.number}
|
- ${window.number}
|
||||||
- ${window.buffer.full_name}
|
- ${window.buffer.full_name}
|
||||||
- dane buforu (zobacz hdata "buffer" w dokumentacji API dla pełnej listy zmiennych), na przykład:
|
- buffer data (see hdata "buffer" in API doc for a complete list), for example:
|
||||||
- ${buffer.number}
|
- ${buffer.number}
|
||||||
- ${buffer.name}
|
- ${buffer.name}
|
||||||
- ${buffer.full_name}
|
- ${buffer.full_name}
|
||||||
- ${buffer.short_name}
|
- ${buffer.short_name}
|
||||||
- ${buffer.nicklist_nicks_count}
|
- ${buffer.nicklist_nicks_count}
|
||||||
- irc_server: dane serwera IRC, zdefiniowane tylko w buforze IRC (zobacz hdata "irc_server" w dokumentacji API)
|
- irc_server: IRC server data, defined only on an IRC buffer (see hdata "irc_server" in API doc)
|
||||||
- irc_channel: dane kanału IRC, zdefiniowane tylko w buforze kanału IRC (zobacz hdata "irc_channel" w dokumentacji API)
|
- irc_channel: IRC channel data, defined only on an IRC channel buffer (see hdata "irc_channel" in API doc)
|
||||||
- dodatkowe zmienne dodane dla wygody przez listę buforów:
|
- extra variables added by buflist for convenience:
|
||||||
- ${format_buffer}: przetworzona wartość opcji buflist.format.buffer; może to zostać użyte w opcji buflist.format.buffer_current na przykład do zmiany koloru tła
|
- ${format_buffer}: the evaluated value of option buflist.format.buffer; this can be used in option buflist.format.buffer_current to just change the background color for example
|
||||||
- ${current_buffer}: boolowskie ("0" lub "1"), "1" jeśli jest to obecny bufor; może zostać użyte w warunku: ${if: ${current_buffer}?...:...}
|
- ${current_buffer}: a boolean ("0" or "1"), "1" if this is the current buffer; it can be used in a condition: ${if:${current_buffer}?...:...}
|
||||||
- ${merged}: boolowskie ("0" lub "1"), "1" jeśli bufor jest połączony z przynajmniej jednym innym buforem; może zostać użyte w warunku: ${if:${merged}?...:...}
|
- ${merged}: a boolean ("0" or "1"), "1" if the buffer is merged with at least another buffer; it can be used in a condition: ${if:${merged}?...:...}
|
||||||
- ${format_number}: wyrównany numer z separatorem (przetworzona opcja buflist.format.number)
|
- ${format_number}: indented number with separator (evaluation of option buflist.format.number)
|
||||||
- ${number}: wyrównany numer, na przykład " 1" jeśli buforów jest między 10 a 99
|
- ${number}: indented number, for example " 1" if there are between 10 and 99 buffers; for merged buffers, this variable is set with number for the first buffer and spaces for the next buffers with same number
|
||||||
- ${number2}: wyrównany numer, na przykład " 1" jeśli buforów jest między 10 a 99
|
- ${number2}: indented number, for example " 1" if there are between 10 and 99 buffers
|
||||||
- ${number_displayed}: "1" jeśli numer jest wyświetlany, w przeciwnym wypadku "0"
|
- ${number_displayed}: "1" if the number is displayed, otherwise "0"
|
||||||
- ${indent}: wyrównanie dla nazwy (kanały i bufory prywatne są wyrównywane) (przetworzona opcja buflist.format.indent)
|
- ${indent}: indentation for name (channel and private buffers are indented) (evaluation of option buflist.format.indent)
|
||||||
- ${format_nick_prefix}: kolorowy prefiks nicka dla kanału (przetworzona opcja buflist.format.nick_prefix)
|
- ${format_nick_prefix}: colored nick prefix for a channel (evaluation of option buflist.format.nick_prefix)
|
||||||
- ${color_nick_prefix}: kolor prefiksu nicka dla kanału (ustawiany, jeśli opcja buflist.look.nick_prefix jest włączona)
|
- ${color_nick_prefix}: color of nick prefix for a channel (set only if the option buflist.look.nick_prefix is enabled)
|
||||||
- ${nick_prefix}: prefix nicka dla kanału (ustawiany, jeśli opcja buflist.look.nick_prefix jest włączona)
|
- ${nick_prefix}: nick prefix for a channel (set only if the option buflist.look.nick_prefix is enabled)
|
||||||
- ${format_name}: sformatowana nazwa (przetworzona opcja buflist.format.name)
|
- ${format_name}: formatted name (evaluation of option buflist.format.name)
|
||||||
- ${name}: skrócona nazwa (jeśli ustawiona inaczej zwraca pełną nazwę)
|
- ${name}: the short name (if set), with a fallback on the name
|
||||||
- ${color_hotlist}: kolor zależący od najwyższego poziomu hotlisty dla bufora (przetworzona opcja buflist.format.hotlist_xxx, gdzie xxx to poziom)
|
- ${color_hotlist}: the color depending on the highest hotlist level for the buffer (evaluation of option buflist.format.hotlist_xxx where xxx is the level)
|
||||||
- ${format_hotlist}: sformatowana hotlista (przetworzenie opcji buflist.format.hotlist)
|
- ${format_hotlist}: the formatted hotlist (evaluation of option buflist.format.hotlist)
|
||||||
- ${hotlist}: niesformatowana hotlista
|
- ${hotlist}: the raw hotlist
|
||||||
- ${hotlist_priority}: "none", "low", "message", "private" lub "highlight"
|
- ${hotlist_priority}: "none", "low", "message", "private" or "highlight"
|
||||||
- ${format_lag}: opóźnienie buforu serwera IRC, puste jeśli nie ma opóźnienia (przetworzona opcja buflist.format.lag)
|
- ${hotlist_priority_number}: -1 = none, 0 = low, 1 = message, 2 = private, 3 = highlight
|
||||||
- ${format_tls_version}: wskaźnik wersji TLS w buforze serwera, pusty dla kanałów (wynik przetworzenia opcji buflist.format.tls_version)
|
- ${format_lag}: the lag for an IRC server buffer, empty if there's no lag (evaluation of option buflist.format.lag)
|
||||||
|
- ${format_tls_version}: indicator of TLS version for a server buffer, empty for channels (evaluation of option buflist.format.tls_version)
|
||||||
----
|
----
|
||||||
// end::buflist_commands[]
|
// end::buflist_commands[]
|
||||||
|
|
||||||
@@ -2845,7 +2908,7 @@ protokół.nazwa: protokół i nazwa do przekazywania:
|
|||||||
- protokół "weechat" (nazwa nie jest używana)
|
- 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ół "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.
|
Bez argumentu komenda otwiera bufor z listą klientów.
|
||||||
|
|
||||||
@@ -3000,27 +3063,27 @@ Przykłady:
|
|||||||
----
|
----
|
||||||
/spell enable|disable|toggle
|
/spell enable|disable|toggle
|
||||||
listdict
|
listdict
|
||||||
setdict <język>[,<język>...]
|
setdict -|<dict>[,<dict>...]
|
||||||
deldict
|
deldict
|
||||||
addword [<język>] <słowo>
|
addword [<dict>] <word>
|
||||||
|
|
||||||
enable: włącza sprawdzanie pisowni
|
enable: enable spell checker
|
||||||
disable: wyłącza sprawdzanie pisowni
|
disable: disable spell checker
|
||||||
toggle: przełącza sprawdzanie pisowni
|
toggle: toggle spell checker
|
||||||
listdict: pokazuje zainstalowane słowniki
|
listdict: show installed dictionaries
|
||||||
setdict: ustawia słownik dla obecnego buforu (kilka słowników może być podanych po przecinku)
|
setdict: set dictionary for current buffer (multiple dictionaries can be separated by a comma, the special value "-" disables spell checking on current buffer)
|
||||||
deldict: usuwa słownik używany w obecnym buforze
|
deldict: delete dictionary used on current buffer
|
||||||
addword: dodaje słowo do osobistego słownika
|
addword: add a word in personal dictionary
|
||||||
|
|
||||||
Jeśli wprowadzany tekst zaczyna się od '/' nie będzie on sprawdzany, za wyjątkiem kilku komend (zobacz /set spell.check.commands).
|
Input line beginning with a '/' is not checked, except for some commands (see /set spell.check.commands).
|
||||||
|
|
||||||
W celu włączenia sprawdzania pisowni dla wszystkich buforów, należy użyć opcji "default_dict", następnie włączyć sprawdzanie pisowni, na przykład:
|
To enable spell checker on all buffers, use option "default_dict", then enable spell checker, for example:
|
||||||
/set spell.check.default_dict "en"
|
/set spell.check.default_dict "en"
|
||||||
/spell enable
|
/spell enable
|
||||||
|
|
||||||
W celu wyświetlenia listy sugestii na pasku, użyj elementu "spell_suggest".
|
To display a list of suggestions in a bar, use item "spell_suggest".
|
||||||
|
|
||||||
Domyślny skrót klawiszowy przełączający sprawdzanie pisowni to alt-s.
|
Default key to toggle spell checker is alt-s.
|
||||||
----
|
----
|
||||||
// end::spell_commands[]
|
// end::spell_commands[]
|
||||||
|
|
||||||
@@ -3074,70 +3137,72 @@ Bez argumentów ta komenda wyświetli wszystkie załadowane wtyczki.
|
|||||||
default -yes
|
default -yes
|
||||||
monitor [<filtr>]
|
monitor [<filtr>]
|
||||||
|
|
||||||
list: lista triggerów (jeśli nie podano argumentu, wyświetli się ta lista)
|
list: list triggers (without argument, this list is displayed)
|
||||||
listfull: lista triggerów ze szczegółowymi informacjami
|
listfull: list triggers with detailed info for each trigger
|
||||||
listdefault: lista domyślnych triggerów
|
listdefault: list default triggers
|
||||||
add: dodaje trigger
|
add: add a trigger
|
||||||
addoff: dodaje trigger (wyłączony)
|
addoff: add a trigger (disabled)
|
||||||
addreplace: dodaje lub zastępuje istniejący trigger
|
addreplace: add or replace an existing trigger
|
||||||
nazwa: nazwa triggera
|
name: name of trigger
|
||||||
hook: signal, hsignal, modifier, line, print, command, command_run, timer, config, focus, info, info_hashtable
|
hook: signal, hsignal, modifier, line, print, command, command_run, timer, config, focus, info, info_hashtable
|
||||||
argumenty: argumenty dla uchwytu, w zależności od jego typu (oddzielone średnikami):
|
arguments: arguments for the hook, depending on hook (separated by semicolons):
|
||||||
signal: nazwa(-y) signal (wymagane)
|
signal: name(s) of signal (required)
|
||||||
hsignal: nazwa(-y) hsignal (wymagane)
|
hsignal: name(s) of hsignal (required)
|
||||||
modifier: nazwa(-y) modifier (wymagane)
|
modifier: name(s) of modifier (required)
|
||||||
line: typ bufora("formatted", "free" lub "*"), lista mask buforów, tagi
|
line: buffer type ("formatted", "free" or "*"), list of buffer masks, tags
|
||||||
print: bufor, tagi, wiadomość, pomiń kolory
|
print: buffer, tags, message, strip colors
|
||||||
command: komenda (wymagane), opis, argumenty, opis argumentów, dopełnienie (wszystkie argumenty poza komendą są przetwarzane, "${tg_trigger_name}" jest zastępowane przez nazwę triggera, zobacz /help eval)
|
command: command (required), description, arguments, description of arguments, completion (all arguments except command are evaluated, "${tg_trigger_name}" is replaced by the trigger name, see /help eval)
|
||||||
command_run: komenda(-y) (wymagane)
|
command_run: command(s) (required)
|
||||||
timer: interwał (wymagane), wyrównanie sekund, ilość wywołań
|
timer: interval (required), align on second, max calls
|
||||||
config: nazwa(-y) opcji (wymagane)
|
config: name(s) of option (required)
|
||||||
focus: nazwa(-y) obszarów (wymagane)
|
focus: name(s) of area (required)
|
||||||
info: nazwa(y) informacji (wymagane)
|
info: name(s) of info (required)
|
||||||
info_hashtable: nazwa(y) informacji (wymagane)
|
info_hashtable: name(s) of info (required)
|
||||||
warunki: przetwarzane warunki dla triggera
|
conditions: evaluated conditions for the trigger
|
||||||
regex: jedno lub więcej wyrażeń regularnych do zastępowania ciągów w zmiennych
|
regex: one or more regular expressions to replace strings in variables
|
||||||
komenda: komenda do wykonania (wiele komend można oddzielić ";")
|
command: command to execute (many commands can be separated by ";")
|
||||||
zwracany_kod: kod zwracany w callbacku (ok (domyślne), ok_eat, error)
|
return_code: return code in callback (ok (default), ok_eat, error)
|
||||||
post_action: akcja do wykonania po zakończeniu (none (domyślne), disable, delete)
|
post_action: action to take after execution (none (default), disable, delete)
|
||||||
addinput: ustawia wejście z domyślnymi argumentami do stworzenia triggera
|
addinput: set input with default arguments to create a trigger
|
||||||
input: ustawia wejście z komendą użytą do stworzenia triggera
|
input: set input with the command used to create the trigger
|
||||||
output: wysyła komendę do stworzenia triggera do buforu
|
output: send the command to create the trigger on the buffer
|
||||||
recreate: tak samo jak "input", z opcją "addreplace" zamiast "add"
|
recreate: same as "input", with option "addreplace" instead of "add"
|
||||||
set: ustawia opcje triggera
|
set: set an option in a trigger
|
||||||
opcja: nazwa opcji: name, hook, arguments, conditions, regex, command, return_code
|
option: name of option: name, hook, arguments, conditions, regex, command, return_code
|
||||||
(aby uzyskać pomoc na temat opcji możesz wpisać: /help trigger.trigger.<nazwa>.<opcja>)
|
(for help on option, you can type: /help trigger.trigger.<name>.<option>)
|
||||||
wartość: nowa wartość dla opcji
|
value: new value for the option
|
||||||
rename: zmienia nazwę triggera
|
rename: rename a trigger
|
||||||
copy: kopiuje trigger
|
copy: copy a trigger
|
||||||
enable: włącza trigger(y) (bez argumentów: włącza triggery globalnie)
|
enable: enable trigger(s) (without arguments: enable triggers globally)
|
||||||
disable: wyłącza trigger(y) (bez argumentów: wyłącza triggery globalnie)
|
disable: disable trigger(s) (without arguments: disable triggers globally)
|
||||||
toggle: zmienia stan triggera(-ów) (bez argumentów: zmienia stan triggerów globalnie)
|
toggle: toggle trigger(s) (without arguments: toggle triggers globally)
|
||||||
restart: restartuje trigger(y) (tworzy na nowo uchwyty)
|
restart: restart trigger(s) (recreate the hooks)
|
||||||
show: pokazuje szczegółowe informacje o triggerze (z niektórymi statystykami)
|
show: show detailed info on a trigger (with some stats)
|
||||||
del: usuwa trigger
|
del: delete a trigger
|
||||||
-all: wykonaj akcję na wszystkich triggerach
|
-all: do action on all triggers
|
||||||
restore: przywraca trigger(y) z domyślnymi wartościami (działa tylko dla domyślnych triggerów)
|
restore: restore trigger(s) with the default values (works only for default triggers)
|
||||||
default: przywraca domyślne triggery
|
default: delete all triggers and restore default ones
|
||||||
monitor: otwiera bufor monitorowania triggerów, z opcjonalnym filtrem:
|
monitor: open the trigger monitor buffer, with optional filter:
|
||||||
filtr: filtruje uchwyty/triggery do wyświetlenia (uchwyt musi się zaczynać od "@", na przykład "@signal"), wiele filtrów może być oddzielonych przecinkiem; dzika karta "*" jest dozwolona w nazwie każdego triggera
|
filter: filter hooks/triggers to display (a hook must start with "@", for example "@signal"), many filters can be separated by commas; wildcard "*" is allowed in each trigger name
|
||||||
|
|
||||||
Kiedy callback triggera jest wywoływany, wykonywane są następujące akcje, w kolejności:
|
When a trigger callback is called, following actions are performed, in this order:
|
||||||
1. sprawdzenie warunków; jeśli nie są spełnione, wyjście
|
1. check conditions; if false, exit
|
||||||
2. zastąpienie tekstu za pomocą rozszerzonych wyrażeń regularnych POSIX (jeśli zdefiniowane)
|
2. replace text using POSIX extended regular expression(s) (if defined in trigger)
|
||||||
3. wykonanie komend(y) (jeśli zdefiniowane)
|
3. execute command(s) (if defined in trigger)
|
||||||
4. wyjście z kodem wyjścia (poza modifiers i focus)
|
4. exit with a return code (except for modifier, line, focus, info and info_hashtable)
|
||||||
5. wykonanie akcji kończącej
|
5. perform post action
|
||||||
|
|
||||||
Przykłady (możesz też spojrzeć na domyślne triggery za pomocą /trigger listdefault):
|
Examples (you can also look at default triggers with /trigger listdefault):
|
||||||
dodaje atrybuty tekstu *bold*, _underline_ i /italic/ (tylko w wiadomościach użytkowników):
|
add text attributes *bold*, _underline_ and /italic/ (only in user messages):
|
||||||
/trigger add effects modifier weechat_print "${tg_tag_nick}" "==\*([^ ]+)\*==*${color:bold}${re:1}${color:-bold}*== ==_([^ ]+)_==_${color:underline}${re:1}${color:-underline}_== ==/([^ ]+)/==/${color:italic}${re:1}${color:-italic}/"
|
/trigger add effects modifier weechat_print "${tg_tag_nick}" "==\*([^ ]+)\*==*${color:bold}${re:1}${color:-bold}*== ==_([^ ]+)_==_${color:underline}${re:1}${color:-underline}_== ==/([^ ]+)/==/${color:italic}${re:1}${color:-italic}/"
|
||||||
ukrywa pasek z nickami na małych terminalach:
|
hide nicklist bar on small terminals:
|
||||||
/trigger add resize_small signal signal_sigwinch "${info:term_width} < 100" "" "/bar hide nicklist"
|
/trigger add resize_small signal signal_sigwinch "${info:term_width} < 100" "" "/bar hide nicklist"
|
||||||
/trigger add resize_big signal signal_sigwinch "${info:term_width} >= 100" "" "/bar show nicklist"
|
/trigger add resize_big signal signal_sigwinch "${info:term_width} >= 100" "" "/bar show nicklist"
|
||||||
cichy zapis plików konfiguracyjnych co każdą godzinę:
|
silently save config each hour:
|
||||||
/trigger add cfgsave timer 3600000;0;0 "" "" "/mute /save"
|
/trigger add cfgsave timer 3600000;0;0 "" "" "/mute /save"
|
||||||
otwiera monitor triggerów i pokazuje tylko modifiers i triggery, których nazwa zaczyna się od "resize":
|
silently save WeeChat session at midnight (see /help upgrade):
|
||||||
|
/trigger add session_save signal day_changed "" "" "/mute /upgrade -save"
|
||||||
|
open trigger monitor and show only modifiers and triggers whose name starts with "resize":
|
||||||
/trigger monitor @modifier,resize*
|
/trigger monitor @modifier,resize*
|
||||||
----
|
----
|
||||||
// end::trigger_commands[]
|
// end::trigger_commands[]
|
||||||
|
|||||||
@@ -750,6 +750,12 @@
|
|||||||
** wartości: dowolny ciąg
|
** wartości: dowolny ciąg
|
||||||
** domyślna wartość: `+""+`
|
** domyślna wartość: `+""+`
|
||||||
|
|
||||||
|
* [[option_weechat.look.highlight_disable_regex]] *weechat.look.highlight_disable_regex*
|
||||||
|
** opis: pass:none[POSIX extended regular expression used to prevent any highlight from a message: this option has higher priority over other highlight options (if the string is found in the message, the highlight is disabled and the other options are ignored), regular expression is case insensitive (use "(?-i)" at beginning to make it case sensitive), examples: "<flash.*>", "(?-i)<Flash.*>"]
|
||||||
|
** typ: ciąg
|
||||||
|
** wartości: dowolny ciąg
|
||||||
|
** domyślna wartość: `+""+`
|
||||||
|
|
||||||
* [[option_weechat.look.highlight_regex]] *weechat.look.highlight_regex*
|
* [[option_weechat.look.highlight_regex]] *weechat.look.highlight_regex*
|
||||||
** opis: pass:none[Rozszerzone wyrażenie regularne POSIX używane do sprawdzenia, czy wiadomość posiada podświetlenie czy nie, przynajmniej jedno dopasowanie w ciąg musi być otoczone separatorami (znaki inne niż: alfanumeryczne, "-", "_" lub "|"), wielkość znaków nie ma wpływu na wyrażenie (użyj "(?-i)" na początku, aby wielkość znaków miała znaczenie), przykłady: "flashcode|flashy", "(?-i)FlashCode|flashy"]
|
** opis: pass:none[Rozszerzone wyrażenie regularne POSIX używane do sprawdzenia, czy wiadomość posiada podświetlenie czy nie, przynajmniej jedno dopasowanie w ciąg musi być otoczone separatorami (znaki inne niż: alfanumeryczne, "-", "_" lub "|"), wielkość znaków nie ma wpływu na wyrażenie (użyj "(?-i)" na początku, aby wielkość znaków miała znaczenie), przykłady: "flashcode|flashy", "(?-i)FlashCode|flashy"]
|
||||||
** typ: ciąg
|
** typ: ciąg
|
||||||
@@ -1397,7 +1403,7 @@
|
|||||||
** domyślna wartość: `+default+`
|
** domyślna wartość: `+default+`
|
||||||
|
|
||||||
* [[option_logger.file.auto_log]] *logger.file.auto_log*
|
* [[option_logger.file.auto_log]] *logger.file.auto_log*
|
||||||
** opis: pass:none[automatycznie zapisuj zawartość buforów do plików (chyba, że bufor ma wyłączone logowanie)]
|
** opis: pass:none[automatically save content of buffers to files (unless a buffer disables log); if disabled, logging is disabled on all buffers]
|
||||||
** typ: bool
|
** typ: bool
|
||||||
** wartości: on, off
|
** wartości: on, off
|
||||||
** domyślna wartość: `+on+`
|
** domyślna wartość: `+on+`
|
||||||
@@ -1462,6 +1468,24 @@
|
|||||||
** wartości: dowolny ciąg
|
** wartości: dowolny ciąg
|
||||||
** domyślna wartość: `+"_"+`
|
** domyślna wartość: `+"_"+`
|
||||||
|
|
||||||
|
* [[option_logger.file.rotation_compression_level]] *logger.file.rotation_compression_level*
|
||||||
|
** opis: pass:none[compression level for rotated log files (with extension ".1", ".2", etc.), if option logger.file.rotation_compression_type is enabled: 1 = low compression / fast ... 100 = best compression / slow; the value is a percentage converted to 1-9 for gzip and 1-19 for zstd; the default value is recommended, it offers a good compromise between compression and speed]
|
||||||
|
** typ: liczba
|
||||||
|
** wartości: 1 .. 100
|
||||||
|
** domyślna wartość: `+20+`
|
||||||
|
|
||||||
|
* [[option_logger.file.rotation_compression_type]] *logger.file.rotation_compression_type*
|
||||||
|
** opis: pass:none[compression type for rotated log files; if set to "none", rotated log files are not compressed; WARNING: if rotation was enabled with another type of compression (or no compression), you must first unload the logger plugin, compress files with the new type (or decompress files), then change the option in logger.conf, then load the logger plugin]
|
||||||
|
** typ: liczba
|
||||||
|
** wartości: none, gzip, zstd
|
||||||
|
** domyślna wartość: `+none+`
|
||||||
|
|
||||||
|
* [[option_logger.file.rotation_size_max]] *logger.file.rotation_size_max*
|
||||||
|
** opis: pass:none[when this size is reached, a rotation of log files is performed: the existing rotated log files are renamed (.1 becomes .2, .2 becomes .3, etc.) and the current file is renamed with extension .1; an integer number with a suffix is allowed: b = bytes (default if no unit given), k = kilobytes, m = megabytes, g = gigabytes, t = terabytes; example: "2g" causes a rotation if the file size is > 2,000,000,000 bytes; if set to "0", no rotation is performed (unlimited log size); WARNING: before changing this option, you should first set the compression type via option logger.file.rotation_compression_type]
|
||||||
|
** typ: ciąg
|
||||||
|
** wartości: dowolny ciąg
|
||||||
|
** domyślna wartość: `+"0"+`
|
||||||
|
|
||||||
* [[option_logger.file.time_format]] *logger.file.time_format*
|
* [[option_logger.file.time_format]] *logger.file.time_format*
|
||||||
** opis: pass:none[format czasu użyty w plikach z logami (zobacz man strftime dla specyfikatorów daty/czasu)]
|
** opis: pass:none[format czasu użyty w plikach z logami (zobacz man strftime dla specyfikatorów daty/czasu)]
|
||||||
** typ: ciąg
|
** typ: ciąg
|
||||||
@@ -1544,6 +1568,12 @@
|
|||||||
** wartości: nazwa koloru WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), numer koloru terminala albo alias; atrybuty dozwolone przed kolorem (tylko dla kolorów testu, nie tła): "*" pogrubienie, "!" odwrócenie, "/" pochylenie, "_" podkreślenie
|
** wartości: nazwa koloru WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), numer koloru terminala albo alias; atrybuty dozwolone przed kolorem (tylko dla kolorów testu, nie tła): "*" pogrubienie, "!" odwrócenie, "/" pochylenie, "_" podkreślenie
|
||||||
** domyślna wartość: `+lightmagenta+`
|
** domyślna wartość: `+lightmagenta+`
|
||||||
|
|
||||||
|
* [[option_trigger.color.identifier]] *trigger.color.identifier*
|
||||||
|
** opis: pass:none[text color for trigger context identifier in monitor buffer]
|
||||||
|
** typ: kolor
|
||||||
|
** wartości: nazwa koloru WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), numer koloru terminala albo alias; atrybuty dozwolone przed kolorem (tylko dla kolorów testu, nie tła): "*" pogrubienie, "!" odwrócenie, "/" pochylenie, "_" podkreślenie
|
||||||
|
** domyślna wartość: `+cyan+`
|
||||||
|
|
||||||
* [[option_trigger.color.regex]] *trigger.color.regex*
|
* [[option_trigger.color.regex]] *trigger.color.regex*
|
||||||
** opis: pass:none[kolor tekstu dla wyrażeń regularnych]
|
** opis: pass:none[kolor tekstu dla wyrażeń regularnych]
|
||||||
** typ: kolor
|
** typ: kolor
|
||||||
@@ -1771,7 +1801,7 @@
|
|||||||
** domyślna wartość: `+"${buffer.hidden}==0"+`
|
** domyślna wartość: `+"${buffer.hidden}==0"+`
|
||||||
|
|
||||||
* [[option_buflist.look.enabled]] *buflist.look.enabled*
|
* [[option_buflist.look.enabled]] *buflist.look.enabled*
|
||||||
** opis: pass:none[włącz liste buforów]
|
** opis: pass:none[enable buflist; it is recommended to use this option instead of just hiding the bar because it also removes some internal hooks that are not needed any more when the bar is hidden; you can also use the command "/buflist toggle" or use the default key alt+shift+b]
|
||||||
** typ: bool
|
** typ: bool
|
||||||
** wartości: on, off
|
** wartości: on, off
|
||||||
** domyślna wartość: `+on+`
|
** domyślna wartość: `+on+`
|
||||||
@@ -2127,7 +2157,7 @@
|
|||||||
** domyślna wartość: `+cyan+`
|
** domyślna wartość: `+cyan+`
|
||||||
|
|
||||||
* [[option_irc.color.message_chghost]] *irc.color.message_chghost*
|
* [[option_irc.color.message_chghost]] *irc.color.message_chghost*
|
||||||
** opis: pass:none[kolor tekstu w wiadomościach o zmianie hosta]
|
** opis: pass:none[color for text in "chghost" messages]
|
||||||
** typ: kolor
|
** typ: kolor
|
||||||
** wartości: nazwa koloru WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), numer koloru terminala albo alias; atrybuty dozwolone przed kolorem (tylko dla kolorów testu, nie tła): "*" pogrubienie, "!" odwrócenie, "/" pochylenie, "_" podkreślenie
|
** wartości: nazwa koloru WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), numer koloru terminala albo alias; atrybuty dozwolone przed kolorem (tylko dla kolorów testu, nie tła): "*" pogrubienie, "!" odwrócenie, "/" pochylenie, "_" podkreślenie
|
||||||
** domyślna wartość: `+brown+`
|
** domyślna wartość: `+brown+`
|
||||||
@@ -2150,6 +2180,12 @@
|
|||||||
** wartości: nazwa koloru WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), numer koloru terminala albo alias; atrybuty dozwolone przed kolorem (tylko dla kolorów testu, nie tła): "*" pogrubienie, "!" odwrócenie, "/" pochylenie, "_" podkreślenie
|
** wartości: nazwa koloru WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), numer koloru terminala albo alias; atrybuty dozwolone przed kolorem (tylko dla kolorów testu, nie tła): "*" pogrubienie, "!" odwrócenie, "/" pochylenie, "_" podkreślenie
|
||||||
** domyślna wartość: `+red+`
|
** domyślna wartość: `+red+`
|
||||||
|
|
||||||
|
* [[option_irc.color.message_setname]] *irc.color.message_setname*
|
||||||
|
** opis: pass:none[color for text in "setname" messages]
|
||||||
|
** typ: kolor
|
||||||
|
** wartości: nazwa koloru WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), numer koloru terminala albo alias; atrybuty dozwolone przed kolorem (tylko dla kolorów testu, nie tła): "*" pogrubienie, "!" odwrócenie, "/" pochylenie, "_" podkreślenie
|
||||||
|
** domyślna wartość: `+brown+`
|
||||||
|
|
||||||
* [[option_irc.color.mirc_remap]] *irc.color.mirc_remap*
|
* [[option_irc.color.mirc_remap]] *irc.color.mirc_remap*
|
||||||
** opis: pass:none[zamień kolory mirca w wiadomościach używając tablicy hashy: klucze to "fg,bg" przyjmują one wartości pomiędzy -1 (nie określono) a 15, wartości to nazwy lub numery kolorów WeeChat (format: "1,-1:kolor1;2,7:kolor2"), przykład: "1,-1:darkgray;1,2:white,blue" w celu przemapowania czarnego na "darkgray" oraz czarnego na niebieskim tle na "white,blue"; domyślne kolory WeeChat dla kodów IRC: 0=white, 1=black, 2=blue, 3=green, 4=lightred, 5=red, 6=magenta, 7=brown, 8=yellow, 9=lightgreen, 10=cyan, 11=lightcyan, 12=lightblue, 13=lightmagenta, 14=darkgray, 15=gray]
|
** opis: pass:none[zamień kolory mirca w wiadomościach używając tablicy hashy: klucze to "fg,bg" przyjmują one wartości pomiędzy -1 (nie określono) a 15, wartości to nazwy lub numery kolorów WeeChat (format: "1,-1:kolor1;2,7:kolor2"), przykład: "1,-1:darkgray;1,2:white,blue" w celu przemapowania czarnego na "darkgray" oraz czarnego na niebieskim tle na "white,blue"; domyślne kolory WeeChat dla kodów IRC: 0=white, 1=black, 2=blue, 3=green, 4=lightred, 5=red, 6=magenta, 7=brown, 8=yellow, 9=lightgreen, 10=cyan, 11=lightcyan, 12=lightblue, 13=lightmagenta, 14=darkgray, 15=gray]
|
||||||
** typ: ciąg
|
** typ: ciąg
|
||||||
@@ -2330,6 +2366,12 @@
|
|||||||
** wartości: on, off
|
** wartości: on, off
|
||||||
** domyślna wartość: `+on+`
|
** domyślna wartość: `+on+`
|
||||||
|
|
||||||
|
* [[option_irc.look.display_pv_nick_change]] *irc.look.display_pv_nick_change*
|
||||||
|
** opis: pass:none[display nick change in private]
|
||||||
|
** typ: bool
|
||||||
|
** wartości: on, off
|
||||||
|
** domyślna wartość: `+on+`
|
||||||
|
|
||||||
* [[option_irc.look.display_pv_warning_address]] *irc.look.display_pv_warning_address*
|
* [[option_irc.look.display_pv_warning_address]] *irc.look.display_pv_warning_address*
|
||||||
** opis: pass:none[wyświetl ostrzeżenie w prywatnym buforze jeśli adres zdalnego nicka uległ zmianie; ta opcja jest domyślnie wyłączona ponieważ serwery jak bitlbee powodują wyświetlanie tego ostrzeżenia, kiedy nie powinny (adres zdalnego nicka zmienia się wiele razy przy logowaniu)]
|
** opis: pass:none[wyświetl ostrzeżenie w prywatnym buforze jeśli adres zdalnego nicka uległ zmianie; ta opcja jest domyślnie wyłączona ponieważ serwery jak bitlbee powodują wyświetlanie tego ostrzeżenia, kiedy nie powinny (adres zdalnego nicka zmienia się wiele razy przy logowaniu)]
|
||||||
** typ: bool
|
** typ: bool
|
||||||
@@ -2546,6 +2588,12 @@
|
|||||||
** wartości: on, off
|
** wartości: on, off
|
||||||
** domyślna wartość: `+on+`
|
** domyślna wartość: `+on+`
|
||||||
|
|
||||||
|
* [[option_irc.look.smart_filter_setname]] *irc.look.smart_filter_setname*
|
||||||
|
** opis: pass:none[enable smart filter for "setname" messages]
|
||||||
|
** typ: bool
|
||||||
|
** wartości: on, off
|
||||||
|
** domyślna wartość: `+on+`
|
||||||
|
|
||||||
* [[option_irc.look.temporary_servers]] *irc.look.temporary_servers*
|
* [[option_irc.look.temporary_servers]] *irc.look.temporary_servers*
|
||||||
** opis: pass:none[włącza tworzenie tymczasowych serwerów za pomocą komendy /connect]
|
** opis: pass:none[włącza tworzenie tymczasowych serwerów za pomocą komendy /connect]
|
||||||
** typ: bool
|
** typ: bool
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
// tag::plugin_options[]
|
// tag::plugin_options[]
|
||||||
Kompletna dokumentacja na temat opcji wtyczek dostępna jest
|
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ą
|
Dzięki wtyczce irc możliwe jest połączenie z serwerami tymczasowymi za pomocą
|
||||||
URLi jak:
|
URLi jak:
|
||||||
|
|||||||
@@ -63,4 +63,4 @@ include::includes/man.pl.adoc[tag=copyright]
|
|||||||
|
|
||||||
== WSPARCIE / ZGŁASZANIE BŁĘDÓW
|
== 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/
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user