mirror of
https://github.com/weechat/weechat.git
synced 2026-06-18 17:14:47 +02:00
Compare commits
408 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 6494deb29c | |||
| 05a9875f81 | |||
| f30d556e25 | |||
| f105c6f0b5 | |||
| 1206a7bbe4 | |||
| 77d1175026 | |||
| 49b70911b0 | |||
| 3976fa33a1 | |||
| 6a8d2e5044 | |||
| a78d97e2d9 | |||
| 1318f1b72e | |||
| ceb5351eb8 | |||
| b3dd47edd8 | |||
| 5a9269ba20 | |||
| 4827ede798 | |||
| c15c30770e | |||
| fadee50664 | |||
| 48a3baedd5 | |||
| 22d69953d4 | |||
| 5e62af427b | |||
| 29f90fb80e | |||
| 54517dbf4f | |||
| 227776f8b9 | |||
| 383652aa2a | |||
| fbbb72c44d | |||
| cab29dd47f | |||
| 92a40052af | |||
| fbf7156b1b | |||
| ee2f09fb13 | |||
| 8dbd2cf83d | |||
| 3dc72b2e5f | |||
| 46f409d463 | |||
| 54bf589d7d | |||
| 8c8a0c0826 | |||
| f2d250a78f | |||
| ad9c75f234 | |||
| 3af24d9739 | |||
| be47805597 | |||
| a9f87e7e56 | |||
| f962ba1c6c | |||
| 46b27bff4e | |||
| 964481aaeb | |||
| 0c249b14c9 | |||
| 493ecfb388 | |||
| 5352702213 | |||
| fc12a34f19 | |||
| d924eff930 | |||
| 193ff0db37 | |||
| 0094be17a8 | |||
| 5997660bb5 | |||
| f140a9198e | |||
| e2589aaaca | |||
| 111962c65a | |||
| e09dc5f63b | |||
| 1e22a96a10 | |||
| fa3a4355ce | |||
| 4947ed6d31 | |||
| fc6c165c49 | |||
| a195fa2af5 | |||
| 43451e8481 | |||
| 4492547204 | |||
| 2508f0acea | |||
| 55e7090cde | |||
| 7ab6731efe | |||
| dab0792029 | |||
| e5f67894be | |||
| 90936d8478 | |||
| 824610d28b | |||
| ab3806e320 | |||
| 7a0bbd802b | |||
| dcef2a8e0d | |||
| 996aaf0613 | |||
| ec13a66af3 | |||
| 824e6603cc | |||
| 832316df0c | |||
| e5fe9c34c3 | |||
| da8f19bcee | |||
| 240a2fc2ca | |||
| b8684b01cc | |||
| b67b6f3834 | |||
| 3176fd4f09 | |||
| 345c46133d | |||
| d9336d52b3 | |||
| 6e33f286f1 | |||
| 2da9b35acb | |||
| 593eee869f | |||
| eff373e73b | |||
| 840ebc9ac9 | |||
| d320b72d89 | |||
| ab6ca6b065 | |||
| 8a25ac7875 | |||
| cdbf83c764 | |||
| d0b47b5c47 | |||
| e6a6cc971e | |||
| 7621939a7a | |||
| f6a8c28d2d | |||
| f131b9f7de | |||
| a0f1f3fd68 | |||
| b53741e8f4 | |||
| 90e6dca386 | |||
| 65b1edf5b5 | |||
| 4a1dd35b69 | |||
| a603c5e476 | |||
| b9fdcb0193 | |||
| 8062ed6e75 | |||
| 0e8254e25b | |||
| 07ddd31c44 | |||
| 323a19d73a | |||
| 02b1fe9926 | |||
| 28e5018835 | |||
| f12ed55117 | |||
| a87e3908cf | |||
| c88d578d2d | |||
| 23ec19b8dd | |||
| 066cc258b9 | |||
| 67c09d799e | |||
| 68864606e1 | |||
| 925e8b79a8 | |||
| 455a0e501c | |||
| 1bace336bc | |||
| 2ba333d478 | |||
| 999de96b2a | |||
| b522060cef | |||
| 138af6e7dd | |||
| 2eebde035a | |||
| 33ccc29a3f | |||
| 60c324eac5 | |||
| f56b38c34e | |||
| 03a8fbc834 | |||
| 53d95cbbef | |||
| cfc550a20a | |||
| b7d5392771 | |||
| 3cd0960255 | |||
| 664cb6598a | |||
| 5ba10f4141 | |||
| 769decc98c | |||
| 5631e30182 | |||
| 71dc89d057 | |||
| 9b8cc5d130 | |||
| 65368c003e | |||
| 8644ad0d4e | |||
| 9df72e5d53 | |||
| dd2580a1fa | |||
| 505f5be3fe | |||
| d4259a3c9d | |||
| 93361c95d2 | |||
| 36187a240a | |||
| 070249ca3e | |||
| 1921fd4700 | |||
| 9a03e554e3 | |||
| f7c3463c31 | |||
| a8a3fa9f15 | |||
| e5fd20fd25 | |||
| 2867dcc45f | |||
| b87a59701d | |||
| df00926d35 | |||
| 19c2e14c47 | |||
| 90a9a1fb96 | |||
| b58d9910e3 | |||
| 07b7be0357 | |||
| ca9e4697f5 | |||
| 1ed169cb2b | |||
| b9d4fc7e18 | |||
| 0537fe0a83 | |||
| cac3546fcb | |||
| d73b54758c | |||
| 676c8ccaa2 | |||
| b7a6d6813f | |||
| 90752a0458 | |||
| 00eddd3a00 | |||
| 1afa19a6ee | |||
| ec11a59552 | |||
| b3073054a4 | |||
| 1fc06ba0ac | |||
| c491241989 | |||
| 1329dfb57a | |||
| a9f6c34fae | |||
| b297c2d56e | |||
| 9ccb798bcd | |||
| 0655d2d9c4 | |||
| 4a2ad84230 | |||
| 497dc3cd44 | |||
| 9de17f0cb4 | |||
| cd3908ccd2 | |||
| 5b78cb2a7b | |||
| a21a31e3ca | |||
| ef7851ab5c | |||
| 8edca0dd75 | |||
| 4049c6c8a2 | |||
| a10b2bc36a | |||
| 49cdbaab38 | |||
| 2a43f45947 | |||
| a96d27f236 | |||
| 112bebcddf | |||
| 0470a71af9 | |||
| cce2954263 | |||
| 671c216eb3 | |||
| 2606b8a5a3 | |||
| ffdf0ec687 | |||
| 10917530d5 | |||
| 3038380d25 | |||
| 46ff6ba794 | |||
| d4f83a11e9 | |||
| 94355e2e38 | |||
| 572678100b | |||
| 2756da028c | |||
| 2fb346f25f | |||
| 628313a663 | |||
| 90029f9abd | |||
| 2c6985c7e7 | |||
| 061f33b9b8 | |||
| 0a11184984 | |||
| 5a8fb043ab | |||
| 669ca77c41 | |||
| c946b3e361 | |||
| 91c517bbf1 | |||
| c3b85da2d0 | |||
| 084f9d7b52 | |||
| 1e98c9f1c2 | |||
| 67fe4beb70 | |||
| 442940942a | |||
| 45de475c74 | |||
| a4dffb1915 | |||
| e7edebfaee | |||
| fab7a8bdfd | |||
| 2ab0b3b0a9 | |||
| a0e45f67f1 | |||
| aae36f4641 | |||
| 36661af744 | |||
| f12ab59a78 | |||
| a86a32334a | |||
| 4c8d37e09f | |||
| 4a23309f22 | |||
| efea57365c | |||
| c652598ad7 | |||
| 20bb762e28 | |||
| 6948d22e40 | |||
| e6db6185a7 | |||
| b29f18d7ea | |||
| 6ab7af705e | |||
| af138840b3 | |||
| f855b6b0f3 | |||
| d61dfac5b5 | |||
| 2ab3015114 | |||
| 92fc469247 | |||
| 36eb3ee343 | |||
| 85bb23f8cb | |||
| bb00b6b8fb | |||
| f0c8da2f05 | |||
| 467f482ea6 | |||
| 0436fff31b | |||
| 454a4b14b2 | |||
| eb2d0ac58a | |||
| 3045021430 | |||
| ee82ba7461 | |||
| 0fbca41d88 | |||
| f99c866f35 | |||
| f37ecbfefd | |||
| 7d47652c99 | |||
| 86128bdc87 | |||
| 532216e760 | |||
| 7ceacabd46 | |||
| df833d9ba8 | |||
| d4618e45cb | |||
| 24fd69e42c | |||
| 5ce678bf75 | |||
| 9d0ae31fce | |||
| 9816c8cbce | |||
| 370fbeb5a3 | |||
| fb66eeec79 | |||
| f54ed11f1d | |||
| 98487253ca | |||
| 887362dfd9 | |||
| 6f46f65c73 | |||
| e113fe2440 | |||
| 6b8c5381d4 | |||
| 64a8c6d2ae | |||
| b77e0a2c6f | |||
| 7f69f88468 | |||
| 1963191700 | |||
| d31e4f1d9a | |||
| 9a8ec36cbd | |||
| db0ecc07fe | |||
| a8bf5eb7ba | |||
| 4ef8e61ca5 | |||
| 77af4e0a87 | |||
| da0fea8a60 | |||
| c18be9da21 | |||
| ce5dafa6dc | |||
| abbfc9664a | |||
| edfeb60e32 | |||
| 83117f8d2a | |||
| 07d16903f3 | |||
| a5b00ec979 | |||
| 97ca653a43 | |||
| 9e0d103ff7 | |||
| d4c27aa7e2 | |||
| f15ea72da3 | |||
| 70d110026c | |||
| 0d059add9a | |||
| eebb0547e2 | |||
| 8648ee651e | |||
| 45e30f9c82 | |||
| 184891fd7b | |||
| 3fd8012729 | |||
| e4e18d106e | |||
| 5661b4da74 | |||
| b372a34b71 | |||
| 60a40c2ba2 | |||
| 155fa5c1e3 | |||
| 3293070499 | |||
| 77b229ab64 | |||
| f4c2328abf | |||
| e6d5d791cd | |||
| e52400841a | |||
| a54e40ea14 | |||
| 1c9446e594 | |||
| 12e2d9995c | |||
| e1eeb22945 | |||
| 51b2352786 | |||
| 06d73e4b96 | |||
| ffcf135593 | |||
| 1adb6075fa | |||
| cf1010e177 | |||
| 8282567d40 | |||
| 7fbdc08f3a | |||
| ac007a1efd | |||
| d7f72c2a1c | |||
| 0fd8c00b92 | |||
| b8a399ced9 | |||
| 50b0fa1cb1 | |||
| e76471a2e0 | |||
| dd440b6805 | |||
| d6977490d0 | |||
| 0586413ede | |||
| 2437107e35 | |||
| 0ef979a54a | |||
| 24a15e8b95 | |||
| 71b6db5583 | |||
| 661c8b9900 | |||
| 78429c549a | |||
| 27e949d974 | |||
| 8971f001b4 | |||
| 658b166a41 | |||
| e8e7a6392e | |||
| d3da29ba51 | |||
| 8e160c31fe | |||
| 9ed4f2a9a6 | |||
| 0e0d665671 | |||
| 3c29cff2a5 | |||
| 9a35a07d86 | |||
| 19504d30e5 | |||
| f250f72208 | |||
| 49fb896a96 | |||
| 459f58f6aa | |||
| 1b23cd3a47 | |||
| 2f2b04e139 | |||
| 761ac58aa2 | |||
| 9eafa1e461 | |||
| c51aa7960c | |||
| 9cdc75abd4 | |||
| fb1a0231b7 | |||
| 96499ad34a | |||
| 5280b7d095 | |||
| 42ac70899a | |||
| 57ffa846f4 | |||
| 5cc4005231 | |||
| 9b5da2f11f | |||
| 65ff49f01e | |||
| 1361602ea5 | |||
| b547bf6bbb | |||
| 7cd4a23cdc | |||
| 52908c86f7 | |||
| 42da33e625 | |||
| c7c15fe743 | |||
| a915d1f398 | |||
| d154b39990 | |||
| d2b8c2883b | |||
| add0be28d9 | |||
| 18833a8c93 | |||
| 04fc35c050 | |||
| e6465d7041 | |||
| 8976000345 | |||
| fe7f92c4d8 | |||
| 59202e3e02 | |||
| 5429381cb6 | |||
| 7c5ae208fd | |||
| f60593e890 | |||
| a031f15f38 | |||
| 65ac711c10 | |||
| 088a74911c | |||
| 0309753406 | |||
| 990c0bc121 | |||
| e01ed80669 | |||
| 501437af07 | |||
| 3886855b05 | |||
| 914bda1a74 | |||
| 28125942d4 | |||
| 2087ec28e3 | |||
| c9fbb917e0 | |||
| 3752e97be1 | |||
| 994b71f58c | |||
| 705d86e684 | |||
| b30c6786b4 | |||
| 668bb3a4ad | |||
| c205aae269 | |||
| 2ef5d654dc | |||
| e1f296857e |
@@ -61,7 +61,9 @@ Alphabetically:
|
||||
* Mateusz Poszwa
|
||||
* Matt Robinson
|
||||
* Max Anton Teufel
|
||||
* Miroslav Koskar
|
||||
* Murilo Opsfelder Araujo
|
||||
* Neui
|
||||
* Nick (SolitaryCipher)
|
||||
* Nicolas Cavigneaux
|
||||
* Nils Görs (nils_2)
|
||||
@@ -80,8 +82,10 @@ Alphabetically:
|
||||
* Quentin Pradet
|
||||
* Quico Noizeux
|
||||
* Raghavendra Prabhu
|
||||
* raspbeguy
|
||||
* Rettub
|
||||
* Rob Campbell
|
||||
* Romero B. de S. Malaquias
|
||||
* Rudolf Polzer (divVerent)
|
||||
* Ryuunosuke Ayanokouzi
|
||||
* scumjr
|
||||
@@ -95,6 +99,8 @@ Alphabetically:
|
||||
* Stfn
|
||||
* Sven Knurr (Cthulhux)
|
||||
* Tim D. Smith
|
||||
* Tim Harder
|
||||
* Tobias Stoeckmann
|
||||
* Tom Alsberg
|
||||
* Tomoe Mami
|
||||
* Tor Hveem (xt)
|
||||
|
||||
+3
-2
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2016 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2017 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2007-2008 Julien Louis <ptitlouis@sysif.net>
|
||||
# Copyright (C) 2008-2009 Emmanuel Bouthenot <kolter@openics.org>
|
||||
#
|
||||
@@ -89,6 +89,7 @@ option(ENABLE_LARGEFILE "Enable Large File Support" ON)
|
||||
option(ENABLE_ALIAS "Enable Alias plugin" ON)
|
||||
option(ENABLE_ASPELL "Enable Aspell plugin" ON)
|
||||
option(ENABLE_ENCHANT "Enable Enchant lib for Aspell plugin" OFF)
|
||||
option(ENABLE_BUFLIST "Enable Buflist plugin" ON)
|
||||
option(ENABLE_CHARSET "Enable Charset plugin" ON)
|
||||
option(ENABLE_EXEC "Enable Exec plugin" ON)
|
||||
option(ENABLE_FIFO "Enable FIFO plugin" ON)
|
||||
@@ -237,7 +238,7 @@ add_custom_target(uninstall
|
||||
"${CMAKE_COMMAND}" -P "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake")
|
||||
|
||||
add_custom_target(dist
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/makedist.sh" "${VERSION}" "HEAD" "${CMAKE_CURRENT_BINARY_DIR}"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/tools/makedist.sh" "${VERSION}" "HEAD" "${CMAKE_CURRENT_BINARY_DIR}"
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
|
||||
|
||||
# pkgconfig file
|
||||
|
||||
+115
-11
@@ -15,17 +15,114 @@ https://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes]
|
||||
(file _ReleaseNotes.adoc_ in sources).
|
||||
|
||||
|
||||
[[v1.9.1]]
|
||||
== Version 1.9.1 (2017-09-23)
|
||||
|
||||
Bug fixes::
|
||||
|
||||
* buflist: fix crash in auto-scroll of bar when the buflist item is not the first item in the bar
|
||||
* logger: call strftime before replacing buffer local variables
|
||||
* relay: fix send of "PART" command in backlog (irc protocol)
|
||||
|
||||
[[v1.9]]
|
||||
== Version 1.9 (2017-06-25)
|
||||
|
||||
New features::
|
||||
|
||||
* api: allow update of variables "scroll_x" and "scroll_y" in bar_window with function hdata_update
|
||||
* api: add functions config_option_get_string() and hdata_compare()
|
||||
* buflist: add option buflist.look.auto_scroll (issue #332)
|
||||
* buflist: add keys kbd:[F1]/kbd:[F2], kbd:[Alt+F1]/kbd:[Alt+F2] to scroll the buflist bar
|
||||
|
||||
Improvements::
|
||||
|
||||
* core: improve speed of nicklist bar item callback
|
||||
* core: allow index for hdata arrays in evaluation of expressions
|
||||
* buflist: display a warning when the script "buffers.pl" is loaded
|
||||
* buflist: add support of char "~" in option buflist.look.sort for case insensitive comparison
|
||||
* buflist: add variable `${format_name}` in bar item evaluation and option buflist.format.name (issue #1020)
|
||||
* buflist: add variables `${current_buffer}` and `${merged}` (booleans "0" / "1") in bar item evaluation
|
||||
* relay: add option "start" in command /relay
|
||||
* trigger: add "irc_server" and "irc_channel" pointers in data for IRC signal/modifier hooks
|
||||
|
||||
Bug fixes::
|
||||
|
||||
* core: fix bind of keys with space key, like kbd:[Alt+Space] (bug #32133)
|
||||
* core: fix infinite loop when the terminal is closed on the secure password prompt (issue #1010)
|
||||
* buflist: fix long mouse gestures
|
||||
* buflist: fix slow switch of buffer when there are a lot of buffers opened (issue #998)
|
||||
* buflist: add option "bar" in command /buflist, do not automatically add the "buflist" bar when the option buflist.look.enabled is off (issue #994)
|
||||
* buflist: fix crash on drag & drop of buffers
|
||||
* irc: don't reset nick properties (prefixes/away/account/realname) on /names when the nick already exists (issue #1019)
|
||||
* irc: fix memory leak in case of error in "ecdsa-nist256p-challenge" SASL mechanism
|
||||
* relay: rebind on address after option relay.network.bind_address is changed
|
||||
* relay: fix parsing of CAP command arguments in irc protocol (issue #995)
|
||||
|
||||
[[v1.8]]
|
||||
== Version 1.8 (2017-05-13)
|
||||
|
||||
New features::
|
||||
|
||||
* core: add option weechat.completion.nick_case_sensitive (issue #981)
|
||||
* core: add wilcard matching operator (`+=*+` and `+!*+`) in evaluation of expressions (issue #611)
|
||||
* core: add cut of string in evaluation of expressions with "cut:" (number of chars) and "cutscr:" (number of chars displayed on screen)
|
||||
* core: add ternary operator (condition) in evaluation of expressions (`${if:condition?value_if_true:value_if_false}`)
|
||||
* core: add resize of window parents with /window resize [h/v]size (task #11461, issue #893)
|
||||
* api: add arraylist functions: arraylist_new(), arraylist_size(), arraylist_get(), arraylist_search(), arraylist_insert(), arraylist_add(), arraylist_remove(), arraylist_clear(), arraylist_free()
|
||||
* api: add dynamic string functions: string_dyn_alloc(), string_dyn_copy(), string_dyn_concat(), string_dyn_free()
|
||||
* aspell: add options to control delimiters in suggestions: aspell.color.suggestion_delimiter_{dict|word} and aspell.look.suggestion_delimiter_{dict|word} (issue #940)
|
||||
* buflist: new plugin "buflist" (bar item with list of buffers)
|
||||
* irc: add option "open" in command /server (issue #966)
|
||||
* irc: send signal "irc_server_lag_changed" and store the lag in the server buffer (local variable)
|
||||
|
||||
Improvements::
|
||||
|
||||
* core: add hotlist pointer in buffer structure
|
||||
* core: add last start date in output of command /version after at least one /upgrade (issue #903)
|
||||
* api: add special key "__quiet" in hashtable for function key_bind()
|
||||
* api: add `${re:#}` to get the index of last group captured in function string_eval_expression()
|
||||
* irc: send multiple masks by message in commands /ban, /unban, /quiet and /unquiet, use ban mask default for nicks in /quiet and /unquiet, display an error if /quiet and /unquiet are not supported by server (issue #579, issue #15, issue #577)
|
||||
* irc: add option "-include" in commands /allchan, /allpv and /allserv (issue #572)
|
||||
* irc: don't smart filter modes given to you (issue #530, issue #897)
|
||||
* script: remove option script.scripts.url_force_https, use HTTPS by default in option script.scripts.url
|
||||
|
||||
Bug fixes::
|
||||
|
||||
* core: fix memory leak in display of mouse event debug info
|
||||
* core: fix command /cursor stop (do not toggle cursor mode) (issue #964)
|
||||
* core: fix delayed refresh when the signal SIGWINCH is received (terminal resized), send signal "signal_sigwinch" after refreshes (issue #902)
|
||||
* irc: fix update of server addresses on reconnection when the evaluated content has changed (issue #925)
|
||||
* irc: fix crash in case of invalid server reply during SASL authentication with dh-blowfish or dh-aes mechanism
|
||||
* irc: fix double decoding of IRC colors in messages sent/displayed by commands /msg and /query (issue #943)
|
||||
* irc: fix parsing of message 324 (modes) when there is a colon before the modes (issue #913)
|
||||
* relay: check buffer pointer received in "sync" and "desync" commands (weechat protocol) (issue #936)
|
||||
* relay: remove buffer from synchronized buffers when it is closed (fix memory leak)
|
||||
|
||||
Build::
|
||||
|
||||
* core: fix compilation on FreeBSD with autotools (issue #276)
|
||||
* python: add detection of Python 3.6
|
||||
* ruby: add detection of Ruby 2.4 (issue #895)
|
||||
|
||||
[[v1.7.1]]
|
||||
== Version 1.7.1 (2017-04-22)
|
||||
|
||||
Bug fixes::
|
||||
|
||||
* irc: fix parsing of DCC filename (CVE-2017-8073)
|
||||
|
||||
[[v1.7]]
|
||||
== Version 1.7 (under dev)
|
||||
== Version 1.7 (2017-01-15)
|
||||
|
||||
New features::
|
||||
|
||||
* core: add option weechat.look.align_multiline_words (issue #411, issue #802)
|
||||
* core: add optional command prefix in completion templates "commands", "plugins_commands" and ""weechat_commands"
|
||||
* core: add optional command prefix in completion templates "commands", "plugins_commands" and "weechat_commands"
|
||||
* core: add optional arguments in completion template, sent to the callback
|
||||
* core: add option "time" in command /debug
|
||||
* api: add info "uptime" (WeeChat uptime)
|
||||
* api: add info "pid" (WeeChat PID) (issue #850)
|
||||
* fifo: add file fifo.conf and option fifo.file.path to customize FIFO pipe path/filename (issue #850)
|
||||
* fifo: add file fifo.conf and option fifo.file.path to customize FIFO pipe path/filename (issue #850, issue #122)
|
||||
* irc: add server option "usermode" (issue #377, issue #820)
|
||||
* irc: add tag "self_msg" on self messages (issue #840)
|
||||
|
||||
@@ -35,8 +132,9 @@ Improvements::
|
||||
* core: add a slash before commands completed in arguments of /command, /debug time, /key bind, /key bindctxt, /mute, /repeat, /wait
|
||||
* core: add a warning in header of configuration files to not edit by hand (issue #851)
|
||||
* alias: add a slash before commands completed in arguments of /alias
|
||||
* exec: add option "-oc" in command /exec to execute commands in process output, don't execute commands by default with "-o" (issue #877)
|
||||
* irc: evaluate content of server option "ssl_fingerprint" (issue #858)
|
||||
* irc: change default value of option irc.network.lag_reconnect to 300 (issue #818)
|
||||
* irc: change default value of option irc.network.lag_reconnect from 0 to 300 (issue #818)
|
||||
* trigger: do not hide email in command "/msg nickserv register password email" (issue #849)
|
||||
|
||||
Bug fixes::
|
||||
@@ -44,15 +142,21 @@ Bug fixes::
|
||||
* core: fix deadlock when quitting after a signal SIGHUP/SIGQUIT/SIGTERM is received (issue #32)
|
||||
* core: fix display of empty lines in search mode (issue #829)
|
||||
* api: fix crash in function string_expand_home() when the HOME environment variable is not set (issue #827)
|
||||
* exec: fix memory leak in display of process output
|
||||
* irc: fix option "-temp" in command /server (issue #880)
|
||||
* irc: fix close of server channels which are waiting for the JOIN when the server buffer is closed (issue #873)
|
||||
* irc: fix buffer switching on manual join for forwarded channels (issue #876)
|
||||
* irc: add missing tags on CTCP message sent
|
||||
* lua: fix integers returned in Lua >= 5.3 (issue #834)
|
||||
* relay: make HTTP headers case-insensitive for WebSocket connections (issue #888)
|
||||
* relay: set status to "authentication failed" and close immediately connection in case of authentication failure in weechat and irc protocols (issue #825)
|
||||
* script: reload a script after upgrade only if it was loaded, set autoload only if the script was auto-loaded (issue #855)
|
||||
|
||||
Build::
|
||||
|
||||
* core: fix compilation on Mac OS X (add link with resolv) (issue #276)
|
||||
* core, irc, xfer: fix compilation on Mac OS X (add link with resolv) (issue #276)
|
||||
* core: add build of xz package with make dist (cmake)
|
||||
* tests: fix compilation of tests on FreeBSD 11.0
|
||||
|
||||
[[v1.6]]
|
||||
== Version 1.6 (2016-10-02)
|
||||
@@ -970,14 +1074,14 @@ Build::
|
||||
|
||||
Bug fixes::
|
||||
|
||||
* core: do not call shell to execute command in hook_process() (fix security problem when a plugin/script gives untrusted command) (bug #37764)
|
||||
* core: do not call shell to execute command in hook_process() (fix security problem when a plugin/script gives untrusted command) (bug #37764, CVE-2012-5534)
|
||||
|
||||
[[v0.3.9.1]]
|
||||
== Version 0.3.9.1 (2012-11-09)
|
||||
|
||||
Bug fixes::
|
||||
|
||||
* irc: fix crash when decoding IRC colors in strings (bug #37704)
|
||||
* irc: fix crash when decoding IRC colors in strings (bug #37704, CVE-2012-5854)
|
||||
|
||||
[[v0.3.9]]
|
||||
== Version 0.3.9 (2012-09-29)
|
||||
@@ -1373,7 +1477,7 @@ Bug fixes::
|
||||
* core: fix bug with repeat of last completion ("%*"), which failed when many templates are used in completion
|
||||
* core: reload file with certificate authorities when option weechat.network.gnutls_ca_file is changed
|
||||
* core: rebuild bar content when items are changed in an hidden bar
|
||||
* core: fix verification of SSL certificates by calling GnuTLS verify callback (patch #7459)
|
||||
* core: fix verification of SSL certificates by calling GnuTLS verify callback (patch #7459, CVE-2011-1428)
|
||||
* core: fix crash when using column filling in bars with some empty items (bug #32565)
|
||||
* core: fix terminal title when $TERM starts with "screen"
|
||||
* plugins: fix memory leaks when setting buffer callbacks after /upgrade (plugins: irc, relay, xfer, scripts)
|
||||
@@ -1744,7 +1848,7 @@ Bug fixes::
|
||||
|
||||
Bug fixes::
|
||||
|
||||
* fix crash with some special chars in IRC messages (bug #25862)
|
||||
* fix crash with some special chars in IRC messages (bug #25862, CVE-2009-0661)
|
||||
|
||||
[[v0.2.6]]
|
||||
== Version 0.2.6 (2007-09-06)
|
||||
@@ -1999,7 +2103,7 @@ Bug fixes::
|
||||
* fix bug with spaces in script names (bug #16957)
|
||||
* fix random crash when "MODE #chan -l" is received
|
||||
* fix bug in IRC parser (random crash with malformed IRC messages)
|
||||
* fix refresh bugs when terminal is resized: too many refreshs, display bug with split windows
|
||||
* fix refresh bugs when terminal is resized: too many refreshes, display bug with split windows
|
||||
* case ignored for channel names in charset options (bug #16858)
|
||||
* fix crash when setting look_one_server_buffer to ON (bug #16932)
|
||||
* fix display bug with special char (bug #16732)
|
||||
@@ -2232,7 +2336,7 @@ Bug fixes::
|
||||
* fix FIFO pipe (command now authorized on a buffer not connected to an IRC server)
|
||||
* topic completion now decodes UTF-8 string
|
||||
* fix bug with IRC URL on command line (irc://)
|
||||
* fix some curses refreshs
|
||||
* fix some curses refreshes
|
||||
|
||||
[[v0.1.3]]
|
||||
== Version 0.1.3 (2005-07-02)
|
||||
|
||||
@@ -40,6 +40,8 @@ please include:
|
||||
(or if you have a core file), please include the backtrace from gdb (look at
|
||||
https://weechat.org/files/doc/devel/weechat_user.en.html#report_crashes[User's guide]
|
||||
for more info).
|
||||
* The *actual result*.
|
||||
* The *expected result*: the correct result you are expecting.
|
||||
|
||||
[IMPORTANT]
|
||||
Most of times, the WeeChat crash log file (_weechat_crash_YYYYMMDD_xxx.log_) is
|
||||
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2016 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2017 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2005 Julien Louis <ptitlouis@sysif.net>
|
||||
# Copyright (C) 2006-2009 Emmanuel Bouthenot <kolter@openics.org>
|
||||
#
|
||||
@@ -39,7 +39,6 @@ EXTRA_DIST = AUTHORS.adoc \
|
||||
CMakeLists.txt \
|
||||
config.rpath \
|
||||
config.h.cmake \
|
||||
makedist.sh \
|
||||
cmake/CMakeParseArguments.cmake \
|
||||
cmake/FindAsciidoctor.cmake \
|
||||
cmake/FindAspell.cmake \
|
||||
@@ -65,6 +64,7 @@ EXTRA_DIST = AUTHORS.adoc \
|
||||
po/srcfiles.cmake \
|
||||
tools/build-test.sh \
|
||||
tools/git-version.sh \
|
||||
tools/makedist.sh \
|
||||
version.sh \
|
||||
weechat.png \
|
||||
weechat.pc.in \
|
||||
|
||||
+3
-2
@@ -4,13 +4,14 @@
|
||||
:lang: en
|
||||
|
||||
|
||||
image:https://travis-ci.org/weechat/weechat.svg?branch=master["Build Status", link="https://travis-ci.org/weechat/weechat"]
|
||||
image:https://img.shields.io/badge/diaspora*-follow-blue.svg["Diaspora*", link="https://diasp.eu/u/weechat"]
|
||||
image:https://img.shields.io/badge/google%2B-follow-blue.svg["Google+", link="https://plus.google.com/+WeeChat"]
|
||||
image:https://img.shields.io/badge/devel%20blog-follow-blue.svg["Devel blog", link="http://dev.weechat.org/"]
|
||||
image:https://img.shields.io/badge/slant-recommend-28acad.svg["Slant", link="http://www.slant.co/topics/1323/~irc-clients-for-linux"]
|
||||
image:https://img.shields.io/badge/paypal-donate%20%E2%9D%A4-yellow.svg["Paypal", link="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=4LSMSNLUAJWNS"]
|
||||
|
||||
image:https://travis-ci.org/weechat/weechat.svg?branch=master["Build Status", link="https://travis-ci.org/weechat/weechat"]
|
||||
|
||||
WeeChat (Wee Enhanced Environment for Chat) is a free chat client, fast and
|
||||
light, designed for many operating systems.
|
||||
It is highly customizable and extensible with scripts.
|
||||
@@ -79,7 +80,7 @@ https://weechat.org/files/doc/devel/weechat_user.en.html#compile_with_autotools[
|
||||
|
||||
== Copyright
|
||||
|
||||
Copyright (C) 2003-2016 Sébastien Helleu <flashcode@flashtux.org>
|
||||
Copyright (C) 2003-2017 Sébastien Helleu <flashcode@flashtux.org>
|
||||
|
||||
This file is part of WeeChat, the extensible chat client.
|
||||
|
||||
|
||||
+63
-1
@@ -17,8 +17,70 @@ https://weechat.org/files/changelog/ChangeLog-devel.html[ChangeLog]
|
||||
(file _ChangeLog.adoc_ in sources).
|
||||
|
||||
|
||||
[[v1.9.1]]
|
||||
== Version 1.9.1 (2017-09-23)
|
||||
|
||||
Bug fix and maintenance release.
|
||||
|
||||
[[v1.9]]
|
||||
== Version 1.9 (2017-06-25)
|
||||
|
||||
No release note.
|
||||
|
||||
[[v1.8]]
|
||||
== Version 1.8 (2017-05-13)
|
||||
|
||||
[[v1.8_options]]
|
||||
=== Options
|
||||
|
||||
The option _script.scripts.url_force_https_ has been removed because now the
|
||||
site weechat.org can only be used with HTTPS. +
|
||||
Both HTTP and HTTPS protocols are allowed in the option _script.scripts.url_.
|
||||
For http://weechat.org an automatic redirection to https://weechat.org will
|
||||
occur, so you should check that the CA certificates are properly installed
|
||||
on your machine.
|
||||
|
||||
Aspell option with color for suggestion on a misspelled word has been renamed:
|
||||
|
||||
* _aspell.color.suggestions_ has been renamed to _aspell.color.suggestion_
|
||||
|
||||
[[v1.8_buflist_plugin]]
|
||||
=== Buflist plugin
|
||||
|
||||
A new plugin called "buflist" has been added, it replaces the script "buffers.pl".
|
||||
|
||||
If the script is installed, you will see two sidebars with list of buffers.
|
||||
|
||||
If you fell in love with buflist and that the script buffers.pl is installed,
|
||||
you can uninstall the script and remove its bar with these commands:
|
||||
|
||||
----
|
||||
/script remove buffers.pl
|
||||
/bar del buffers
|
||||
----
|
||||
|
||||
If you don't want the list of buffers, you can disable buflist:
|
||||
|
||||
----
|
||||
/set buflist.look.enabled off
|
||||
----
|
||||
|
||||
To save extra memory, you can even unload the buflist plugin, remove the bar and
|
||||
prevent the plugin from loading on next startup:
|
||||
|
||||
----
|
||||
/plugin unload buflist
|
||||
/bar del buflist
|
||||
/set weechat.plugin.autoload "*,!buflist"
|
||||
----
|
||||
|
||||
[[v1.7.1]]
|
||||
== Version 1.7.1 (2017-04-22)
|
||||
|
||||
Bug fix and maintenance release.
|
||||
|
||||
[[v1.7]]
|
||||
== Version 1.7 (under dev)
|
||||
== Version 1.7 (2017-01-15)
|
||||
|
||||
[[v1.7_fifo_options]]
|
||||
=== FIFO options
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# Copyright (C) 2003-2016 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2017 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2005 Julien Louis <ptitlouis@sysif.net>
|
||||
# Copyright (C) 2005-2006 Emmanuel Bouthenot <kolter@openics.org>
|
||||
#
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2016 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2017 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2016 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2017 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2014-2016 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2014-2017 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2016 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2017 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2016 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2017 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2007 Julien Louis <ptitlouis@sysif.net>
|
||||
# Copyright (C) 2009 Emmanuel Bouthenot <kolter@openics.org>
|
||||
#
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2016 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2017 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2009 Emmanuel Bouthenot <kolter@openics.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2011-2016 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2011-2017 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2016 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2017 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2016 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2017 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2016 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2017 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2016 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2017 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2016 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2017 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2009 Julien Louis <ptitlouis@sysif.net>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
@@ -35,7 +35,7 @@ endif()
|
||||
|
||||
if(ENABLE_PYTHON3)
|
||||
find_program(PYTHON_EXECUTABLE
|
||||
NAMES python3.5 python3.4 python3.3 python3.2 python3.1 python3.0 python3 python2.7 python2.6 python2.5 python
|
||||
NAMES python3.6 python3.5 python3.4 python3.3 python3.2 python3.1 python3.0 python3 python2.7 python2.6 python2.5 python
|
||||
PATHS /usr/bin /usr/local/bin /usr/pkg/bin
|
||||
)
|
||||
else()
|
||||
@@ -67,7 +67,7 @@ if(PYTHON_EXECUTABLE)
|
||||
)
|
||||
if(ENABLE_PYTHON3)
|
||||
find_library(PYTHON_LIBRARY
|
||||
NAMES python3.5 python3.4 python3.3 python3.2 python3.1 python3.0 python3 python2.7 python2.6 python2.5 python
|
||||
NAMES python3.6 python3.5 python3.4 python3.3 python3.2 python3.1 python3.0 python3 python2.7 python2.6 python2.5 python
|
||||
HINTS ${PYTHON_POSSIBLE_LIB_PATH}
|
||||
)
|
||||
else()
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2016 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2017 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
@@ -33,7 +33,7 @@ endif()
|
||||
|
||||
find_package(PkgConfig)
|
||||
if(PKG_CONFIG_FOUND)
|
||||
pkg_search_module(RUBY ruby-2.3 ruby-2.2 ruby-2.1 ruby-2.0 ruby-1.9 ruby-1.8)
|
||||
pkg_search_module(RUBY ruby-2.4 ruby-2.3 ruby-2.2 ruby-2.1 ruby-2.0 ruby-1.9 ruby-1.8)
|
||||
endif()
|
||||
|
||||
if(RUBY_FOUND)
|
||||
@@ -41,7 +41,7 @@ if(RUBY_FOUND)
|
||||
mark_as_advanced(RUBY_LIB)
|
||||
else()
|
||||
find_program(RUBY_EXECUTABLE
|
||||
NAMES ruby2.3.0 ruby230 ruby2.3 ruby23 ruby2.2.3 ruby223 ruby2.2.2 ruby222 ruby2.2.1 ruby221 ruby2.2.0 ruby220 ruby2.2 ruby22 ruby2.1.7 ruby217 ruby2.1.6 ruby216 ruby2.1.5 ruby215 ruby2.1.4 ruby214 ruby2.1.3 ruby213 ruby2.1.2 ruby212 ruby2.1.1 ruby211 ruby2.1.0 ruby210 ruby2.1 ruby21 ruby2.0 ruby20 ruby1.9.3 ruby193 ruby1.9.2 ruby192 ruby1.9.1 ruby191 ruby1.9 ruby19 ruby1.8 ruby18 ruby
|
||||
NAMES ruby2.4.0 ruby240 ruby2.4 ruby2.3.0 ruby230 ruby2.3 ruby23 ruby2.2.3 ruby223 ruby2.2.2 ruby222 ruby2.2.1 ruby221 ruby2.2.0 ruby220 ruby2.2 ruby22 ruby2.1.7 ruby217 ruby2.1.6 ruby216 ruby2.1.5 ruby215 ruby2.1.4 ruby214 ruby2.1.3 ruby213 ruby2.1.2 ruby212 ruby2.1.1 ruby211 ruby2.1.0 ruby210 ruby2.1 ruby21 ruby2.0 ruby20 ruby1.9.3 ruby193 ruby1.9.2 ruby192 ruby1.9.1 ruby191 ruby1.9 ruby19 ruby1.8 ruby18 ruby
|
||||
PATHS /usr/bin /usr/local/bin /usr/pkg/bin
|
||||
)
|
||||
if(RUBY_EXECUTABLE)
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
#
|
||||
# Copyright (C) 2008 Julien Louis <ptitlouis@sysif.net>
|
||||
# Copyright (C) 2008-2016 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2008-2017 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2015-2016 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2015-2017 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2016 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2017 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
|
||||
+28
-13
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2016 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2017 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2005 Benoit Papillault <benoit.papillault@free.fr>
|
||||
# Copyright (C) 2005-2006 Julien Louis <ptitlouis@sysif.net>
|
||||
# Copyright (C) 2005-2009 Emmanuel Bouthenot <kolter@openics.org>
|
||||
@@ -109,6 +109,7 @@ AH_VERBATIM([HAVE_ENCHANT_GET_VERSION], [#undef HAVE_ENCHANT_GET_VERSION])
|
||||
AH_VERBATIM([HAVE_GUILE_GMP_MEMORY_FUNCTIONS], [#undef HAVE_GUILE_GMP_MEMORY_FUNCTIONS])
|
||||
AH_VERBATIM([PLUGIN_ALIAS], [#undef PLUGIN_ALIAS])
|
||||
AH_VERBATIM([PLUGIN_ASPELL], [#undef PLUGIN_ASPELL])
|
||||
AH_VERBATIM([PLUGIN_BUFLIST], [#undef PLUGIN_BUFLIST])
|
||||
AH_VERBATIM([PLUGIN_CHARSET], [#undef PLUGIN_CHARSET])
|
||||
AH_VERBATIM([PLUGIN_EXEC], [#undef PLUGIN_EXEC])
|
||||
AH_VERBATIM([PLUGIN_FIFO], [#undef PLUGIN_FIFO])
|
||||
@@ -139,7 +140,8 @@ AC_ARG_ENABLE(largefile, [ --disable-largefile turn off Large File Suppo
|
||||
AC_ARG_ENABLE(alias, [ --disable-alias turn off Alias plugin (default=compiled)],enable_alias=$enableval,enable_alias=yes)
|
||||
AC_ARG_ENABLE(aspell, [ --disable-aspell turn off Aspell plugin (default=compiled)],enable_aspell=$enableval,enable_aspell=yes)
|
||||
AC_ARG_ENABLE(enchant, [ --enable-enchant turn on Enchant lib for Aspell plugin (default=off)],enable_enchant=$enableval,enable_enchant=no)
|
||||
AC_ARG_ENABLE(charset, [ --disable-charset turn off Charset plugin (default=compiled if found)],enable_charset=$enableval,enable_charset=yes)
|
||||
AC_ARG_ENABLE(buflist, [ --disable-buflist turn off Buflist plugin (default=compiled)],enable_buflist=$enableval,enable_buflist=yes)
|
||||
AC_ARG_ENABLE(charset, [ --disable-charset turn off Charset plugin (default=compiled)],enable_charset=$enableval,enable_charset=yes)
|
||||
AC_ARG_ENABLE(exec, [ --disable-exec turn off Exec plugin (default=compiled)],enable_exec=$enableval,enable_exec=yes)
|
||||
AC_ARG_ENABLE(fifo, [ --disable-fifo turn off Fifo plugin (default=compiled)],enable_fifo=$enableval,enable_fifo=yes)
|
||||
AC_ARG_ENABLE(irc, [ --disable-irc turn off IRC plugin (default=compiled)],enable_irc=$enableval,enable_irc=yes)
|
||||
@@ -156,7 +158,7 @@ AC_ARG_ENABLE(tcl, [ --disable-tcl turn off Tcl script plugi
|
||||
AC_ARG_ENABLE(guile, [ --disable-guile turn off Guile (scheme) script plugin (default=compiled if found)],enable_guile=$enableval,enable_guile=yes)
|
||||
AC_ARG_ENABLE(javascript, [ --disable-javascript turn off Javascript script plugin (default=compiled if found)],enable_javascript=$enableval,enable_javascript=yes)
|
||||
AC_ARG_ENABLE(trigger, [ --disable-trigger turn off Trigger plugin (default=compiled)],enable_trigger=$enableval,enable_trigger=yes)
|
||||
AC_ARG_ENABLE(xfer, [ --disable-xfer turn off Xfer (file transfer) plugin (default=compiled if found)],enable_xfer=$enableval,enable_xfer=yes)
|
||||
AC_ARG_ENABLE(xfer, [ --disable-xfer turn off Xfer (file transfer) plugin (default=compiled)],enable_xfer=$enableval,enable_xfer=yes)
|
||||
AC_ARG_WITH(tclconfig, [ --with-tclconfig=DIR directory containing tcl configuration (tclConfig.sh)],tclconfig=$withval,tclconfig='')
|
||||
AC_ARG_WITH(debug, [ --with-debug debugging: 0=no debug, 1=debug compilation (default=1)],debug=$withval,debug=1)
|
||||
AC_ARG_ENABLE(tests, [ --enable-tests turn on build of tests (default=not built)],enable_tests=$enableval,enable_tests=no)
|
||||
@@ -336,7 +338,7 @@ if test "x$enable_aspell" = "xyes" ; then
|
||||
AC_CHECK_HEADER(aspell.h,ac_found_aspell_header="yes",ac_found_aspell_header="no")
|
||||
AC_CHECK_LIB(aspell,new_aspell_speller,ac_found_aspell_lib="yes",ac_found_aspell_lib="no")
|
||||
|
||||
AC_MSG_CHECKING(for aspell headers and librairies)
|
||||
AC_MSG_CHECKING(for aspell headers and libraries)
|
||||
if test "x$ac_found_aspell_header" = "xno" -o "x$ac_found_aspell_lib" = "xno" ; then
|
||||
AC_MSG_RESULT(no)
|
||||
AC_MSG_WARN([
|
||||
@@ -375,6 +377,14 @@ if test "x$enable_aspell" = "xyes" ; then
|
||||
AC_DEFINE(PLUGIN_ASPELL)
|
||||
fi
|
||||
|
||||
# --------------------------------- buflist ------------------------------------
|
||||
|
||||
if test "x$enable_buflist" = "xyes" ; then
|
||||
AC_DEFINE(PLUGIN_BUFLIST)
|
||||
else
|
||||
not_asked="$not_asked buflist"
|
||||
fi
|
||||
|
||||
# --------------------------------- charset ------------------------------------
|
||||
|
||||
if test "x$enable_charset" = "xyes" ; then
|
||||
@@ -657,7 +667,7 @@ if test "x$enable_lua" = "xyes" ; then
|
||||
fi
|
||||
|
||||
if test "x$LUA_CFLAGS" = "x" -o "x$LUA_LFLAGS" = "x" ; then
|
||||
AC_MSG_CHECKING(for Lua headers and librairies with pkg-config)
|
||||
AC_MSG_CHECKING(for Lua headers and libraries with pkg-config)
|
||||
echo
|
||||
for l in "$lua_suffix" "" "52" "5.2" "51" "5.1" "50" "5.0" ; do
|
||||
pkgconfig_lua_found=`$PKGCONFIG --exists lua$l 2>/dev/null`
|
||||
@@ -680,7 +690,7 @@ if test "x$enable_lua" = "xyes" ; then
|
||||
LUACONFIG=""
|
||||
AC_CHECK_PROGS(LUACONFIG, lua-config lua-config52 lua-config5.2 lua-config51 lua-config5.1 lua-config50 lua-config5.0)
|
||||
if test "x$LUACONFIG" != "x" ; then
|
||||
AC_MSG_CHECKING(for Lua headers and librairies with lua-config)
|
||||
AC_MSG_CHECKING(for Lua headers and libraries with lua-config)
|
||||
echo
|
||||
LUA_CFLAGS=`$LUACONFIG --include`
|
||||
LUA_LFLAGS=`$LUACONFIG --libs`
|
||||
@@ -689,7 +699,7 @@ if test "x$enable_lua" = "xyes" ; then
|
||||
fi
|
||||
|
||||
if test "x$LUA_CFLAGS" = "x" -o "x$LUA_LFLAGS" = "x" ; then
|
||||
AC_MSG_CHECKING(for Lua headers and librairies)
|
||||
AC_MSG_CHECKING(for Lua headers and libraries)
|
||||
echo
|
||||
AC_CHECK_HEADER(lua.h,ac_found_lua_header="yes",ac_found_lua_header="no")
|
||||
AC_CHECK_HEADER(lualib.h,ac_found_liblua_header="yes",ac_found_liblua_header="no")
|
||||
@@ -734,7 +744,7 @@ if test "x$enable_lua" = "xyes" ; then
|
||||
if test "x$LUA52_TEST" != "x0" ; then
|
||||
AC_MSG_RESULT(no)
|
||||
AC_MSG_WARN([
|
||||
*** Lua (>=5.0) headers and/or librairies couldn't be found on your system.
|
||||
*** Lua (>=5.0) headers and/or libraries couldn't be found on your system.
|
||||
*** Try to install liblua, liblualib and liblua-dev with your software package manager.
|
||||
*** WeeChat will be built without Lua support.])
|
||||
enable_lua="no"
|
||||
@@ -807,7 +817,7 @@ if test "x$enable_guile" = "xyes" ; then
|
||||
enable_plugins="yes"
|
||||
|
||||
guile_found="no"
|
||||
AC_MSG_CHECKING(for Guile headers and librairies)
|
||||
AC_MSG_CHECKING(for Guile headers and libraries)
|
||||
echo
|
||||
for v in "2.0" ; do
|
||||
pkgconfig_guile_found=`$PKGCONFIG --exists guile-$v 2>/dev/null`
|
||||
@@ -939,7 +949,7 @@ fi
|
||||
AC_CHECK_HEADER(gcrypt.h,ac_found_gcrypt_header="yes",ac_found_gcrypt_header="no")
|
||||
AC_CHECK_LIB(gcrypt,gcry_check_version,ac_found_gcrypt_lib="yes",ac_found_gcrypt_lib="no")
|
||||
|
||||
AC_MSG_CHECKING(for gcrypt headers and librairies)
|
||||
AC_MSG_CHECKING(for gcrypt headers and libraries)
|
||||
if test "x$ac_found_gcrypt_header" = "xno" -o "x$ac_found_gcrypt_lib" = "xno" ; then
|
||||
AC_MSG_RESULT(no)
|
||||
AC_MSG_ERROR([
|
||||
@@ -961,7 +971,7 @@ if test "x$enable_gnutls" = "xyes" ; then
|
||||
AC_CHECK_HEADER(gnutls/gnutls.h,ac_found_gnutls_header="yes",ac_found_gnutls_header="no")
|
||||
AC_CHECK_LIB(gnutls,gnutls_global_init,ac_found_gnutls_lib="yes",ac_found_gnutls_lib="no")
|
||||
|
||||
AC_MSG_CHECKING(for gnutls headers and librairies)
|
||||
AC_MSG_CHECKING(for gnutls headers and libraries)
|
||||
if test "x$ac_found_gnutls_header" = "xno" -o "x$ac_found_gnutls_lib" = "xno" ; then
|
||||
AC_MSG_RESULT(no)
|
||||
AC_MSG_WARN([
|
||||
@@ -1057,7 +1067,7 @@ fi
|
||||
AC_CHECK_HEADER(zlib.h,ac_found_zlib_header="yes",ac_found_zlib_header="no")
|
||||
AC_CHECK_LIB(z,compress2,ac_found_zlib_lib="yes",ac_found_zlib_lib="no")
|
||||
|
||||
AC_MSG_CHECKING(for zlib headers and librairies)
|
||||
AC_MSG_CHECKING(for zlib headers and libraries)
|
||||
if test "x$ac_found_zlib_header" = "xno" -o "x$ac_found_zlib_lib" = "xno" ; then
|
||||
AC_MSG_RESULT(no)
|
||||
AC_MSG_ERROR([
|
||||
@@ -1092,7 +1102,7 @@ AC_SUBST(CURL_LFLAGS)
|
||||
|
||||
if test "x$enable_tests" = "xyes" ; then
|
||||
cpputest_found="no"
|
||||
AC_MSG_CHECKING(for CppUTest headers and librairies)
|
||||
AC_MSG_CHECKING(for CppUTest headers and libraries)
|
||||
echo
|
||||
pkgconfig_cpputest_found=`$PKGCONFIG --exists cpputest 2>/dev/null`
|
||||
if test "x$?" = "x0" ; then
|
||||
@@ -1245,6 +1255,7 @@ AM_CONDITIONAL(HAVE_EAT_NEWLINE_GLITCH, test "$enable_eatnewlineglitch" = "yes")
|
||||
AM_CONDITIONAL(GUI_NCURSES, test "$enable_ncurses" = "yes")
|
||||
AM_CONDITIONAL(PLUGIN_ALIAS, test "$enable_alias" = "yes")
|
||||
AM_CONDITIONAL(PLUGIN_ASPELL, test "$enable_aspell" = "yes")
|
||||
AM_CONDITIONAL(PLUGIN_BUFLIST, test "$enable_buflist" = "yes")
|
||||
AM_CONDITIONAL(PLUGIN_CHARSET, test "$enable_charset" = "yes")
|
||||
AM_CONDITIONAL(PLUGIN_EXEC, test "$enable_exec" = "yes")
|
||||
AM_CONDITIONAL(PLUGIN_FIFO, test "$enable_fifo" = "yes")
|
||||
@@ -1281,6 +1292,7 @@ AC_OUTPUT([Makefile
|
||||
src/plugins/Makefile
|
||||
src/plugins/alias/Makefile
|
||||
src/plugins/aspell/Makefile
|
||||
src/plugins/buflist/Makefile
|
||||
src/plugins/charset/Makefile
|
||||
src/plugins/exec/Makefile
|
||||
src/plugins/fifo/Makefile
|
||||
@@ -1325,6 +1337,9 @@ fi
|
||||
if test "x$enable_aspell" = "xyes"; then
|
||||
listplugins="$listplugins aspell($ASPELL_LIB_USED)"
|
||||
fi
|
||||
if test "x$enable_buflist" = "xyes"; then
|
||||
listplugins="$listplugins buflist"
|
||||
fi
|
||||
if test "x$enable_charset" = "xyes"; then
|
||||
listplugins="$listplugins charset"
|
||||
fi
|
||||
|
||||
@@ -88,8 +88,8 @@ Description: Fast, light and extensible chat client - core files
|
||||
for many operating systems. Everything can be done with a keyboard.
|
||||
.
|
||||
This package provides core plugins and locales files for WeeChat. It
|
||||
currently ships the following plugins: alias, xfer, irc, charset and
|
||||
logger. It is useless without weechat-curses.
|
||||
currently ships the following plugins: alias, buflist, charset, irc, logger
|
||||
and xfer. It is useless without weechat-curses.
|
||||
|
||||
Package: weechat-devel-plugins
|
||||
Architecture: any
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
../debian-stable/weechat.xpm
|
||||
@@ -0,0 +1,397 @@
|
||||
/* XPM */
|
||||
static char * C:\temp\weechat_xpm[] = {
|
||||
"32 32 362 2",
|
||||
" c None",
|
||||
". c #117529",
|
||||
"+ c #0E7527",
|
||||
"@ c #0A7424",
|
||||
"# c #057323",
|
||||
"$ c #016F20",
|
||||
"% c #5DAA58",
|
||||
"& c #5DB059",
|
||||
"* c #5AB158",
|
||||
"= c #57B157",
|
||||
"- c #54AF55",
|
||||
"; c #4FAE53",
|
||||
"> c #4BAE52",
|
||||
", c #48AD50",
|
||||
"' c #44AC4E",
|
||||
") c #3FAB4C",
|
||||
"! c #3BA849",
|
||||
"~ c #36A646",
|
||||
"{ c #30A343",
|
||||
"] c #2CA040",
|
||||
"^ c #279D3D",
|
||||
"/ c #229A3A",
|
||||
"( c #1D9837",
|
||||
"_ c #189534",
|
||||
": c #129232",
|
||||
"< c #0D8F2E",
|
||||
"[ c #088D2C",
|
||||
"} c #03691F",
|
||||
"| c #64AB5B",
|
||||
"1 c #6FC468",
|
||||
"2 c #6AC265",
|
||||
"3 c #66BF62",
|
||||
"4 c #62BC5F",
|
||||
"5 c #5DBA5D",
|
||||
"6 c #58B85A",
|
||||
"7 c #54B557",
|
||||
"8 c #4FB254",
|
||||
"9 c #4AB052",
|
||||
"0 c #45AD4F",
|
||||
"a c #40AB4C",
|
||||
"b c #3CA849",
|
||||
"c c #37A647",
|
||||
"d c #32A344",
|
||||
"e c #2DA041",
|
||||
"f c #289D3D",
|
||||
"g c #239A3B",
|
||||
"h c #1E9838",
|
||||
"i c #199535",
|
||||
"j c #139232",
|
||||
"k c #0F8F2F",
|
||||
"l c #098B2B",
|
||||
"m c #035018",
|
||||
"n c #68AE5E",
|
||||
"o c #76C96B",
|
||||
"p c #70C568",
|
||||
"q c #6CC365",
|
||||
"r c #67C062",
|
||||
"s c #62BD60",
|
||||
"t c #5FBC5E",
|
||||
"u c #5ABA5B",
|
||||
"v c #55B859",
|
||||
"w c #51B656",
|
||||
"x c #4CB354",
|
||||
"y c #47B051",
|
||||
"z c #42AD4E",
|
||||
"A c #3EAA4B",
|
||||
"B c #38A647",
|
||||
"C c #32A243",
|
||||
"D c #2E9D40",
|
||||
"E c #28993C",
|
||||
"F c #239439",
|
||||
"G c #1E9036",
|
||||
"H c #188C32",
|
||||
"I c #13882F",
|
||||
"J c #0F842C",
|
||||
"K c #0A7C27",
|
||||
"L c #629F57",
|
||||
"M c #7BCC6F",
|
||||
"N c #76C86B",
|
||||
"O c #71C569",
|
||||
"P c #6DC366",
|
||||
"Q c #69C163",
|
||||
"R c #65C162",
|
||||
"S c #57AC56",
|
||||
"T c #3E803F",
|
||||
"U c #377539",
|
||||
"V c #316E34",
|
||||
"W c #2C6830",
|
||||
"X c #28602C",
|
||||
"Y c #225928",
|
||||
"Z c #1D5124",
|
||||
"` c #1A4E22",
|
||||
" . c #184C20",
|
||||
".. c #81CF72",
|
||||
"+. c #7CCB6E",
|
||||
"@. c #77C86C",
|
||||
"#. c #72C76A",
|
||||
"$. c #6EC467",
|
||||
"%. c #69C164",
|
||||
"&. c #549F51",
|
||||
"*. c #71B062",
|
||||
"=. c #84D274",
|
||||
"-. c #7FCF71",
|
||||
";. c #7ACD6F",
|
||||
">. c #76CB6C",
|
||||
",. c #72C869",
|
||||
"'. c #6CC465",
|
||||
"). c #1F391D",
|
||||
"!. c #558DC1",
|
||||
"~. c #568EC3",
|
||||
"{. c #568FC5",
|
||||
"]. c #5790C7",
|
||||
"^. c #5892C8",
|
||||
"/. c #538ABE",
|
||||
"(. c #5B98D0",
|
||||
"_. c #5C99D2",
|
||||
":. c #5E9CD5",
|
||||
"<. c #609FDB",
|
||||
"[. c #61A1DC",
|
||||
"}. c #497440",
|
||||
"|. c #3F6638",
|
||||
"1. c #355930",
|
||||
"2. c #2C4A28",
|
||||
"3. c #213B1F",
|
||||
"4. c #609ED9",
|
||||
"5. c #63A4E2",
|
||||
"6. c #63A4E1",
|
||||
"7. c #5B96CE",
|
||||
"8. c #64A6E4",
|
||||
"9. c #4878A4",
|
||||
"0. c #426E96",
|
||||
"a. c #4F83B3",
|
||||
"b. c #4E82B2",
|
||||
"c. c #62A3DF",
|
||||
"d. c #64A6E3",
|
||||
"e. c #274159",
|
||||
"f. c #44729C",
|
||||
"g. c #5B97CF",
|
||||
"h. c #5B97D0",
|
||||
"i. c #5C98D0",
|
||||
"j. c #5C98D1",
|
||||
"k. c #5B97CE",
|
||||
"l. c #64A5E2",
|
||||
"m. c #36597B",
|
||||
"n. c #64A4E2",
|
||||
"o. c #5A95CD",
|
||||
"p. c #5993CB",
|
||||
"q. c #64A5E3",
|
||||
"r. c #45729C",
|
||||
"s. c #63A4E3",
|
||||
"t. c #62A2E1",
|
||||
"u. c #62A1E1",
|
||||
"v. c #61A1E1",
|
||||
"w. c #609FE0",
|
||||
"x. c #5993D4",
|
||||
"y. c #5D9BDF",
|
||||
"z. c #5D99DF",
|
||||
"A. c #5C99DF",
|
||||
"B. c #5B98DE",
|
||||
"C. c #4878B1",
|
||||
"D. c #63A3E5",
|
||||
"E. c #609EE0",
|
||||
"F. c #5F9DE0",
|
||||
"G. c #5F9DDF",
|
||||
"H. c #5E9BDF",
|
||||
"I. c #5C99DC",
|
||||
"J. c #2B4666",
|
||||
"K. c #4D7FBD",
|
||||
"L. c #5A96DF",
|
||||
"M. c #5A94DE",
|
||||
"N. c #5993DD",
|
||||
"O. c #5992DD",
|
||||
"P. c #5993E1",
|
||||
"Q. c #4069A0",
|
||||
"R. c #365A8E",
|
||||
"S. c #568EDF",
|
||||
"T. c #548ADB",
|
||||
"U. c #5489DB",
|
||||
"V. c #5389DB",
|
||||
"W. c #5287DA",
|
||||
"X. c #2E4D7C",
|
||||
"Y. c #4C7DC1",
|
||||
"Z. c #5891DE",
|
||||
"`. c #568FDC",
|
||||
" + c #568EDC",
|
||||
".+ c #568DDC",
|
||||
"++ c #558CDC",
|
||||
"@+ c #4F82CD",
|
||||
"#+ c #4D7ECD",
|
||||
"$+ c #5185DA",
|
||||
"%+ c #5085DA",
|
||||
"&+ c #5084DA",
|
||||
"*+ c #4F82D9",
|
||||
"=+ c #5185DF",
|
||||
"-+ c #121E31",
|
||||
";+ c #4370C2",
|
||||
">+ c #4C7CD9",
|
||||
",+ c #4A7BD7",
|
||||
"'+ c #4A7AD7",
|
||||
")+ c #4978D7",
|
||||
"!+ c #4877D6",
|
||||
"~+ c #4E82D9",
|
||||
"{+ c #4E81D9",
|
||||
"]+ c #4E80D9",
|
||||
"^+ c #4E7FD9",
|
||||
"/+ c #4D7ED8",
|
||||
"(+ c #4C7DDA",
|
||||
"_+ c #395FA4",
|
||||
":+ c #4775D2",
|
||||
"<+ c #4876D6",
|
||||
"[+ c #4775D6",
|
||||
"}+ c #4773D6",
|
||||
"|+ c #4674D7",
|
||||
"1+ c #3B62B7",
|
||||
"2+ c #436ED6",
|
||||
"3+ c #416CD4",
|
||||
"4+ c #416AD3",
|
||||
"5+ c #4069D3",
|
||||
"6+ c #406AD6",
|
||||
"7+ c #304FA2",
|
||||
"8+ c #375BA8",
|
||||
"9+ c #4673D5",
|
||||
"0+ c #4572D5",
|
||||
"a+ c #4571D5",
|
||||
"b+ c #4470D5",
|
||||
"c+ c #436FD4",
|
||||
"d+ c #4470D9",
|
||||
"e+ c #14213E",
|
||||
"f+ c #3150A3",
|
||||
"g+ c #4069D4",
|
||||
"h+ c #3E67D3",
|
||||
"i+ c #3E66D2",
|
||||
"j+ c #3D64D2",
|
||||
"k+ c #3D64D3",
|
||||
"l+ c #243C7F",
|
||||
"m+ c #2F4DAC",
|
||||
"n+ c #395ED1",
|
||||
"o+ c #385CD0",
|
||||
"p+ c #375AD0",
|
||||
"q+ c #365ACF",
|
||||
"r+ c #375AD5",
|
||||
"s+ c #111C41",
|
||||
"t+ c #3558B8",
|
||||
"u+ c #3C63D2",
|
||||
"v+ c #3C62D2",
|
||||
"w+ c #3B61D1",
|
||||
"x+ c #3A60D2",
|
||||
"y+ c #3658C2",
|
||||
"z+ c #3455C4",
|
||||
"A+ c #3659CF",
|
||||
"B+ c #3557CF",
|
||||
"C+ c #3556CF",
|
||||
"D+ c #3354CF",
|
||||
"E+ c #3151C5",
|
||||
"F+ c #101A3E",
|
||||
"G+ c #2C49C0",
|
||||
"H+ c #2F4DCC",
|
||||
"I+ c #2E4CCC",
|
||||
"J+ c #2D4ACB",
|
||||
"K+ c #2D49CB",
|
||||
"L+ c #2741B7",
|
||||
"M+ c #3353C6",
|
||||
"N+ c #3455CF",
|
||||
"O+ c #3454CE",
|
||||
"P+ c #3353CE",
|
||||
"Q+ c #3252CD",
|
||||
"R+ c #3151CE",
|
||||
"S+ c #304FCC",
|
||||
"T+ c #162467",
|
||||
"U+ c #1F318C",
|
||||
"V+ c #2E4BCF",
|
||||
"W+ c #2C47CB",
|
||||
"X+ c #2B47CA",
|
||||
"Y+ c #2A45CA",
|
||||
"Z+ c #2943C8",
|
||||
"`+ c #2841C5",
|
||||
" @ c #2942CB",
|
||||
".@ c #2841CB",
|
||||
"+@ c #273EC9",
|
||||
"@@ c #263DC9",
|
||||
"#@ c #253BC8",
|
||||
"$@ c #243AC7",
|
||||
"%@ c #2339C9",
|
||||
"&@ c #172583",
|
||||
"*@ c #1D2F86",
|
||||
"=@ c #2D49CE",
|
||||
"-@ c #2B46CB",
|
||||
";@ c #2B46CA",
|
||||
">@ c #2A44CA",
|
||||
",@ c #2943CA",
|
||||
"'@ c #2841C9",
|
||||
")@ c #2740C9",
|
||||
"!@ c #2840CC",
|
||||
"~@ c #273FCA",
|
||||
"{@ c #263DCA",
|
||||
"]@ c #243AC8",
|
||||
"^@ c #2339C7",
|
||||
"/@ c #2338C7",
|
||||
"(@ c #2237C7",
|
||||
"_@ c #2135C6",
|
||||
":@ c #2034C6",
|
||||
"<@ c #2033C6",
|
||||
"[@ c #1E31C5",
|
||||
"}@ c #1E30C5",
|
||||
"|@ c #1D2EC4",
|
||||
"1@ c #1C2DC4",
|
||||
"2@ c #1B2CC4",
|
||||
"3@ c #1A2AC3",
|
||||
"4@ c #1928C0",
|
||||
"5@ c #0C1258",
|
||||
"6@ c #1B2C97",
|
||||
"7@ c #233AC9",
|
||||
"8@ c #2238C7",
|
||||
"9@ c #2136C7",
|
||||
"0@ c #1F32C6",
|
||||
"a@ c #1D2FC5",
|
||||
"b@ c #1C2EC5",
|
||||
"c@ c #1B2BC4",
|
||||
"d@ c #1A2AC4",
|
||||
"e@ c #1929C3",
|
||||
"f@ c #1827C3",
|
||||
"g@ c #1826C3",
|
||||
"h@ c #1724C2",
|
||||
"i@ c #1623C2",
|
||||
"j@ c #1522C1",
|
||||
"k@ c #1420C2",
|
||||
"l@ c #141FC2",
|
||||
"m@ c #121EC1",
|
||||
"n@ c #111CC2",
|
||||
"o@ c #111AC1",
|
||||
"p@ c #0E17B2",
|
||||
"q@ c #1A2AC1",
|
||||
"r@ c #1929C4",
|
||||
"s@ c #1927C4",
|
||||
"t@ c #1724C3",
|
||||
"u@ c #1623C3",
|
||||
"v@ c #1522C4",
|
||||
"w@ c #1520C3",
|
||||
"x@ c #131FC3",
|
||||
"y@ c #131DC3",
|
||||
"z@ c #111CC0",
|
||||
"A@ c #111ABB",
|
||||
"B@ c #0F19B6",
|
||||
"C@ c #0F17B1",
|
||||
"D@ c #0D15AD",
|
||||
"E@ c #0D14A9",
|
||||
"F@ c #0C13A7",
|
||||
"G@ c #0B11A4",
|
||||
"H@ c #0A1099",
|
||||
"I@ c #080D8B",
|
||||
"J@ c #070B7A",
|
||||
"K@ c #060968",
|
||||
"L@ c #0F179E",
|
||||
"M@ c #0E16AA",
|
||||
"N@ c #0E15AF",
|
||||
"O@ c #0C13A9",
|
||||
"P@ c #0C129C",
|
||||
"Q@ c #0A108F",
|
||||
"R@ c #090E80",
|
||||
"S@ c #080C72",
|
||||
"T@ c #070B63",
|
||||
"U@ c #060957",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" . + @ # $ ",
|
||||
" % & * = - ; > , ' ) ! ~ { ] ^ / ( _ : < [ } ",
|
||||
" | 1 2 3 4 5 6 7 8 9 0 a b c d e f g h i j k l m ",
|
||||
" n o p q r s t u v w x y z A B C D E F G H I J K ",
|
||||
" L M N O P Q R S T U V W X Y Z ` . ",
|
||||
" ..+.@.#.$.%.&. ",
|
||||
" *.=.-.;.>.,.'.). !.~.{.].^. /.(._.:.<.[. ",
|
||||
" }.|.1.2.3. 4.5.6.6.6.7. [.6.6.6.8.9. ",
|
||||
" 0.8.6.6.6.6.a. b.c.6.6.6.d.e. ",
|
||||
" f.g.h.i.j._.{. k.l.6.6.6.l.m. !.n.6.6.6.o. ",
|
||||
" p.l.6.6.6.q.r. s.t.t.u.v.w. x.y.z.A.B.C. ",
|
||||
" D.E.F.G.H.I.J. K.L.M.N.O.P.Q. R.S.T.U.V.W.X. ",
|
||||
" Y.Z.`. +.+++@+ #+$+%+&+*+=+-+ ;+>+,+'+)+!+ ",
|
||||
" ~+{+]+^+/+(+_+ :+<+[+}+|+1+ 2+3+4+5+6+7+ ",
|
||||
" 8+9+0+a+b+c+d+e+ f+g+h+i+j+k+l+ m+n+o+p+q+r+s+ ",
|
||||
" t+j+u+v+w+x+y+ z+A+B+C+D+E+F+ G+H+I+J+K+L+ ",
|
||||
" M+N+O+P+Q+R+S+T+ U+V+K+W+X+Y+Z+`+ @.@+@@@#@$@%@&@ ",
|
||||
"*@=@-@;@>@,@'@)@!@~@{@]@^@/@(@_@:@<@[@}@|@1@2@3@4@5@ ",
|
||||
"6@7@8@9@_@:@0@[@a@b@1@c@d@e@f@g@h@i@j@k@l@m@n@o@p@ ",
|
||||
" q@r@s@g@t@u@v@w@x@y@z@A@B@C@D@E@F@G@H@I@J@K@ ",
|
||||
" L@M@N@O@P@Q@R@S@T@U@ ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" "};
|
||||
@@ -88,8 +88,8 @@ Description: Fast, light and extensible chat client - core files
|
||||
for many operating systems. Everything can be done with a keyboard.
|
||||
.
|
||||
This package provides core plugins and locales files for WeeChat. It
|
||||
currently ships the following plugins: alias, xfer, irc, charset and
|
||||
logger. It is useless without weechat-curses.
|
||||
currently ships the following plugins: alias, buflist, charset, irc, logger
|
||||
and xfer. It is useless without weechat-curses.
|
||||
|
||||
Package: weechat-plugins
|
||||
Architecture: any
|
||||
|
||||
@@ -4,7 +4,7 @@ Upstream-Contact: Sébastien Helleu <flashcode@flashtux.org>
|
||||
Source: https://weechat.org/
|
||||
|
||||
Files: *
|
||||
Copyright: 2003-2016, Sébastien Helleu <flashcode@flashtux.org>
|
||||
Copyright: 2003-2017, Sébastien Helleu <flashcode@flashtux.org>
|
||||
2005-2009, Emmanuel Bouthenot <kolter@openics.org>
|
||||
2008-2009, Dmitry Kobylin <fnfal@academ.tsc.ru>
|
||||
License: GPL-3+
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
usr/share/locale/
|
||||
usr/lib/weechat/plugins/alias.so
|
||||
usr/lib/weechat/plugins/xfer.so
|
||||
usr/lib/weechat/plugins/irc.so
|
||||
usr/lib/weechat/plugins/buflist.so
|
||||
usr/lib/weechat/plugins/charset.so
|
||||
usr/lib/weechat/plugins/irc.so
|
||||
usr/lib/weechat/plugins/logger.so
|
||||
usr/lib/weechat/plugins/xfer.so
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2016 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2017 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2009 Emmanuel Bouthenot <kolter@openics.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2016 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2017 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2006 Julien Louis <ptitlouis@sysif.net>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2016 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2017 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2016 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2017 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
|
||||
@@ -22,9 +22,10 @@ weechat - the extensible chat client
|
||||
|
||||
== POPIS
|
||||
|
||||
WeeChat (Wee Enhanced Environment for Chat) je svobodný chatovací klient, rychlý
|
||||
a lehký, připraven pro mnoho operačních systémů.
|
||||
Je velmi připůsobitelný a rozšiřitelný s skripty.
|
||||
WeeChat (Wee Enhanced Environment for Chat) je svobodný chatovací klient.
|
||||
Je lehký, plně konfigurovatelný a lehce rozšiřitelný pomocí pluginů a scriptů
|
||||
v obvyklých sciptovacích jazycích.
|
||||
|
||||
|
||||
== VOLBY
|
||||
|
||||
@@ -64,12 +65,19 @@ $HOME/.weechat/alias.conf::
|
||||
$HOME/.weechat/aspell.conf::
|
||||
konfigurační soubor pro _aspell_ plugin
|
||||
|
||||
$HOME/.weechat/buflist.conf::
|
||||
konfigurační soubor pro _buflist_ plugin
|
||||
|
||||
$HOME/.weechat/charset.conf::
|
||||
konfigurační soubor pro _charset_ plugin
|
||||
|
||||
$HOME/.weechat/exec.conf::
|
||||
konfigurační soubor pro _exec_ plugin
|
||||
|
||||
// TRANSLATION MISSING
|
||||
$HOME/.weechat/fifo.conf::
|
||||
configuration file for _fifo_ plugin
|
||||
|
||||
$HOME/.weechat/irc.conf::
|
||||
konfigurační soubor pro _irc_ plugin
|
||||
|
||||
@@ -101,9 +109,9 @@ Tato manuálová stránka byla přeložena Ondřejem Súkupem.
|
||||
WeeChat je napsán Sébastienem Helleu a přispěvovateli (kompletní seznam je v
|
||||
souboru AUTHORS.adoc).
|
||||
|
||||
Copyright (C) 2003-2016 {author}
|
||||
Copyright (C) 2003-2017 {author}
|
||||
|
||||
WeeChat je svobodný software; you can redistribute it and/or modify
|
||||
WeeChat is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2016 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2017 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2016 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2017 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2006 Julien Louis <ptitlouis@sysif.net>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
|
||||
@@ -168,6 +168,7 @@ _options_ (pointer) +
|
||||
_temp_server_ (integer) +
|
||||
_reloading_from_config_ (integer) +
|
||||
_reloaded_from_config_ (integer) +
|
||||
_addresses_eval_ (string) +
|
||||
_addresses_count_ (integer) +
|
||||
_addresses_array_ (string, array_size: "addresses_count") +
|
||||
_ports_array_ (integer, array_size: "addresses_count") +
|
||||
@@ -456,6 +457,9 @@ _gui_objects_ (pointer) +
|
||||
_prev_bar_window_ (pointer, hdata: "bar_window") +
|
||||
_next_bar_window_ (pointer, hdata: "bar_window") +
|
||||
|
||||
*Update erlaubt:* +
|
||||
_scroll_x_ (integer) +
|
||||
_scroll_y_ (integer) +
|
||||
|
||||
| weechat
|
||||
| [[hdata_buffer]]<<hdata_buffer,buffer>>
|
||||
@@ -541,6 +545,7 @@ _highlight_tags_restrict_array_ (pointer, array_size: "highlight_tags_restric
|
||||
_highlight_tags_ (string) +
|
||||
_highlight_tags_count_ (integer) +
|
||||
_highlight_tags_array_ (pointer, array_size: "highlight_tags_count") +
|
||||
_hotlist_ (pointer, hdata: "hotlist") +
|
||||
_hotlist_max_level_nicks_ (hashtable) +
|
||||
_keys_ (pointer, hdata: "key") +
|
||||
_last_key_ (pointer, hdata: "key") +
|
||||
|
||||
@@ -64,6 +64,8 @@
|
||||
|
||||
| weechat | term_width | Breite des Terminals | -
|
||||
|
||||
| weechat | uptime | Laufzeit von Weechat (Format: "days:hh:mm:ss") | "days" (Anzahl der Tage) oder "seconds" (Anzahl der Sekunden) (optional)
|
||||
|
||||
| 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) | -
|
||||
|
||||
@@ -2,12 +2,13 @@
|
||||
// This file is auto-generated by script docgen.py.
|
||||
// DO NOT EDIT BY HAND!
|
||||
//
|
||||
. charset (13000)
|
||||
. logger (12000)
|
||||
. exec (11000)
|
||||
. trigger (10000)
|
||||
. aspell (9000)
|
||||
. alias (8000)
|
||||
. charset (14000)
|
||||
. logger (13000)
|
||||
. exec (12000)
|
||||
. trigger (11000)
|
||||
. aspell (10000)
|
||||
. alias (9000)
|
||||
. buflist (8000)
|
||||
. fifo (7000)
|
||||
. xfer (6000)
|
||||
. irc (5000)
|
||||
|
||||
@@ -18,19 +18,23 @@
|
||||
|
||||
| failonerror | long |
|
||||
|
||||
| keep_sending_on_error | long |
|
||||
|
||||
| proxy | string |
|
||||
|
||||
| proxyport | long |
|
||||
|
||||
| port | long |
|
||||
|
||||
| pre_proxy | string |
|
||||
|
||||
| httpproxytunnel | long |
|
||||
|
||||
| interface | string |
|
||||
|
||||
| dns_cache_timeout | long |
|
||||
|
||||
| proxytype | long | http, socks4, socks5, socks4a, socks5_hostname, http_1_0
|
||||
| proxytype | long | http, socks4, socks5, socks4a, socks5_hostname, http_1_0, https
|
||||
|
||||
| buffersize | long |
|
||||
|
||||
@@ -278,7 +282,7 @@
|
||||
|
||||
| sslcert | string |
|
||||
|
||||
| sslversion | long | default, tlsv1, sslv2, sslv3
|
||||
| sslversion | long | default, tlsv1, sslv2, sslv3, tlsv1_0, tlsv1_1, tlsv1_2, tlsv1_3
|
||||
|
||||
| ssl_verifypeer | long |
|
||||
|
||||
@@ -330,6 +334,38 @@
|
||||
|
||||
| ssl_falsestart | long |
|
||||
|
||||
| proxy_cainfo | string |
|
||||
|
||||
| proxy_capath | string |
|
||||
|
||||
| proxy_crlfile | string |
|
||||
|
||||
| proxy_keypasswd | string |
|
||||
|
||||
| proxy_pinnedpublickey | string |
|
||||
|
||||
| proxy_sslcert | string |
|
||||
|
||||
| proxy_sslcerttype | string |
|
||||
|
||||
| proxy_sslkey | string |
|
||||
|
||||
| proxy_sslkeytype | string |
|
||||
|
||||
| proxy_sslversion | long | default, tlsv1, sslv2, sslv3, tlsv1_0, tlsv1_1, tlsv1_2, tlsv1_3
|
||||
|
||||
| proxy_ssl_options | long | allow_beast, no_revoke
|
||||
|
||||
| proxy_ssl_verifyhost | long |
|
||||
|
||||
| proxy_ssl_verifypeer | long |
|
||||
|
||||
| proxy_tlsauth_password | string |
|
||||
|
||||
| proxy_tlsauth_type | string |
|
||||
|
||||
| proxy_tlsauth_username | string |
|
||||
|
||||
| ssh_auth_types | mask | none, policy_flag, flag
|
||||
|
||||
| ssh_public_keyfile | string |
|
||||
|
||||
@@ -50,8 +50,32 @@
|
||||
** 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: `+lightred+`
|
||||
|
||||
* [[option_aspell.color.suggestions]] *aspell.color.suggestions*
|
||||
** Beschreibung: pass:none[Textfarbe für die Vorschläge der Rechtsschreibkorrektur (Statusbar)]
|
||||
* [[option_aspell.color.suggestion]] *aspell.color.suggestion*
|
||||
** Beschreibung: pass:none[Textfarbe für die Vorschläge der Rechtsschreibkorrektur in der Bar-Item "aspell_suggest"]
|
||||
** Typ: Farbe
|
||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
||||
** Standardwert: `+default+`
|
||||
|
||||
* [[option_aspell.color.suggestion_delimiter_dict]] *aspell.color.suggestion_delimiter_dict*
|
||||
** Beschreibung: pass:none[Textfarbe für das Trennzeichen, im Bar-Item "aspell_suggest", welches zwischen zwei Wörterbücher dargestellt wird]
|
||||
** Typ: Farbe
|
||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
||||
** Standardwert: `+cyan+`
|
||||
|
||||
* [[option_aspell.color.suggestion_delimiter_word]] *aspell.color.suggestion_delimiter_word*
|
||||
** Beschreibung: pass:none[Textfarbe für das Trennzeichen zwischen zwei Wörtern in der Bar-Item "aspell_suggest"]
|
||||
** 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_aspell.look.suggestion_delimiter_dict]] *aspell.look.suggestion_delimiter_dict*
|
||||
** Beschreibung: pass:none[Trennzeichen, im Bar-Item "aspell_suggest", welches zwischen zwei Wörterbücher dargestellt wird]
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette
|
||||
** Standardwert: `+" / "+`
|
||||
|
||||
* [[option_aspell.look.suggestion_delimiter_word]] *aspell.look.suggestion_delimiter_word*
|
||||
** Beschreibung: pass:none[Trennzeichen, im Bar-Item "aspell_suggest", welches zwischen zwei Wörtern dargestellt wird]
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette
|
||||
** Standardwert: `+","+`
|
||||
|
||||
@@ -0,0 +1,47 @@
|
||||
//
|
||||
// This file is auto-generated by script docgen.py.
|
||||
// DO NOT EDIT BY HAND!
|
||||
//
|
||||
[[command_buflist_buflist]]
|
||||
* `+buflist+`: Bar-Item mit der Liste von Buffern
|
||||
|
||||
----
|
||||
/buflist bar
|
||||
refresh
|
||||
|
||||
bar: fügt eine "buflist" Bar hinzu
|
||||
refresh: erzwingt eine Aktualisierung des "buflist" Bar-Item
|
||||
|
||||
Jede Zeile die einen Buffer anzeigt wird mittels Zeichenketten-Evaluation dargestellt (siehe /help eval für das Format), dazu werden folgende Optionen genutzt:
|
||||
- buflist.look.display_conditions: Bedingungen um einen Buffer in der Liste darzustellen
|
||||
- buflist.format.buffer: Format für den Buffer, der nicht der aktuell dargestellte Buffer ist
|
||||
- buflist.format.buffer_current: Format für den aktuell dargestellten Buffer
|
||||
|
||||
Die folgenden Variablen können in den obigen Optionen genutzt werden:
|
||||
- buffer data (siehe hdata "buffer" in API Dokumentation für eine vollständige Liste), zum Beispiel:
|
||||
- ${buffer.number}
|
||||
- ${buffer.name}
|
||||
- ${buffer.full_name}
|
||||
- ${buffer.short_name}
|
||||
- ${buffer.nicklist_nicks_count}
|
||||
- irc_server: IRC Serverdaten, ausschließlich genutzt bei einem IRC Buffer (siehe hdata "irc_server" in API Dokumentation)
|
||||
- irc_channel: IRC Channeldaten, ausschließlich genutzt bei einem IRC Channel Buffer (siehe hdata "irc_channel" in API Dokumentation)
|
||||
- zusätzliche Variablen die durch buflist bereitgestellt werden:
|
||||
- ${format_buffer}: der evaluierte Wert der Option buflist.format.buffer; dies kann in der Option buflist.format.buffer_current genutzt werden um zum Beispiel die Hintergrundfarbe zu verändern
|
||||
- ${current_buffer}: ein Boolean ("0" oder "1"), "1" falls es sich um den aktuellen Buffer handelt; dies kann in einer Bedingung verwendet werden: ${if:${current_buffer}?...:...}
|
||||
- ${merged}: ein Boolean ("0" oder "1"), "1" wenn der Buffer mit einem anderen zusammengefügt ist; kann innerhalb einer Bedingung genutzt werden: ${if:${merged}?...:...}
|
||||
- ${format_number}: eingerückte Numer mit Trennzeichen (evaluiert aus Option buflist.format.number)
|
||||
- ${number}: eingerückte Nummer, zum Beispiel " 1", falls die Anzahl der Buffer zwischen 10 und 99 liegt
|
||||
- ${number_displayed}: "1" falls Nummer angezeigt wird, ansonsten "0"
|
||||
- ${indent}: Einrückung für Name (Channel und private Buffer werden eingerückt) (evaluiert aus Option buflist.format.indent)
|
||||
- ${format_nick_prefix}: Nick-Präfix mit entsprechender Farbe für einen Channel (evaluiert aus Option buflist.format.nick_prefix)
|
||||
- ${color_nick_prefix}: Farbe für den Nick-Präfix von einem Channel (wird nur genutzt wenn die Option buflist.look.nick_prefix aktiviert ist)
|
||||
- ${nick_prefix}: der Nick-Präfix für einen Channel (wird nur genutzt falls die Option buflist.look.nick_prefix aktiviert ist)
|
||||
- ${format_name}: der formatierte Name (evaluiert aus Option buflist.format.name)
|
||||
- ${name}: der Kurzname (falls einer gesetzt ist), Ersatzweise wird auf den Originalnamen zurückgegriffen
|
||||
- ${color_hotlist}: die Farbe mit der höchsten Priorität für den entsprechenden Buffer (evaluiert aus Option buflist.format.hotlist_xxx wobei xxx der entsprechende Level ist)
|
||||
- ${format_hotlist}: die formatierte Hotlist (evaluiert aus Option buflist.format.hotlist)
|
||||
- ${hotlist}: die Hotlist in der Rohform
|
||||
- ${hotlist_priority}: "none", "low", "message", "private" oder "highlight"
|
||||
- ${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)
|
||||
----
|
||||
@@ -0,0 +1,147 @@
|
||||
//
|
||||
// This file is auto-generated by script docgen.py.
|
||||
// DO NOT EDIT BY HAND!
|
||||
//
|
||||
* [[option_buflist.format.buffer]] *buflist.format.buffer*
|
||||
** Beschreibung: pass:none[Format für eine Zeile mit einem Buffer (Hinweis: Inhalt wird evaluiert, siehe /help buflist)]
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette
|
||||
** Standardwert: `+"${format_number}${indent}${format_nick_prefix}${color_hotlist}${format_name}"+`
|
||||
|
||||
* [[option_buflist.format.buffer_current]] *buflist.format.buffer_current*
|
||||
** Beschreibung: pass:none[Format für die Zeile mit dem ausgewählten Buffer (Hinweis: Inhalt wird evaluiert, siehe /help buflist)]
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette
|
||||
** Standardwert: `+"${color:,blue}${format_buffer}"+`
|
||||
|
||||
* [[option_buflist.format.hotlist]] *buflist.format.hotlist*
|
||||
** Beschreibung: pass:none[Format der Hotlist (Hinweis: Inhalt wird evaluiert, siehe /help buflist)]
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette
|
||||
** Standardwert: `+" ${color:green}(${hotlist}${color:green})"+`
|
||||
|
||||
* [[option_buflist.format.hotlist_highlight]] *buflist.format.hotlist_highlight*
|
||||
** Beschreibung: pass:none[Format für Buffer mit der Benachrichtungsstufe "highlight" (Hinweis: Inhalt wird evaluiert, siehe /help buflist)]
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette
|
||||
** Standardwert: `+"${color:magenta}"+`
|
||||
|
||||
* [[option_buflist.format.hotlist_low]] *buflist.format.hotlist_low*
|
||||
** Beschreibung: pass:none[Format für Buffer mit der Benachrichtungsstufe "low" (Hinweis: Inhalt wird evaluiert, siehe /help buflist)]
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette
|
||||
** Standardwert: `+"${color:white}"+`
|
||||
|
||||
* [[option_buflist.format.hotlist_message]] *buflist.format.hotlist_message*
|
||||
** Beschreibung: pass:none[Format für Buffer mit der Benachrichtungsstufe "message" (Hinweis: Inhalt wird evaluiert, siehe /help buflist)]
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette
|
||||
** Standardwert: `+"${color:brown}"+`
|
||||
|
||||
* [[option_buflist.format.hotlist_none]] *buflist.format.hotlist_none*
|
||||
** Beschreibung: pass:none[Format für Buffer die nicht in der Hotlist angezeigt werden (Hinweis: Inhalt wird evaluiert, siehe /help buflist)]
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette
|
||||
** Standardwert: `+"${color:default}"+`
|
||||
|
||||
* [[option_buflist.format.hotlist_private]] *buflist.format.hotlist_private*
|
||||
** Beschreibung: pass:none[Format für Buffer mit der Benachrichtungsstufe "private" (Hinweis: Inhalt wird evaluiert, siehe /help buflist)]
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette
|
||||
** Standardwert: `+"${color:green}"+`
|
||||
|
||||
* [[option_buflist.format.hotlist_separator]] *buflist.format.hotlist_separator*
|
||||
** Beschreibung: pass:none[Trennzeichen for counts in hotlist (Hinweis: Inhalt wird evaluiert, siehe /help buflist)]
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette
|
||||
** Standardwert: `+"${color:default},"+`
|
||||
|
||||
* [[option_buflist.format.indent]] *buflist.format.indent*
|
||||
** Beschreibung: pass:none[Zeichenkette die beim Einrücken von Channel und privaten Buffern angezeigt wird (Hinweis: Inhalt wird evaluiert, siehe /help buflist)]
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette
|
||||
** Standardwert: `+" "+`
|
||||
|
||||
* [[option_buflist.format.lag]] *buflist.format.lag*
|
||||
** Beschreibung: pass:none[Format für die Anzeige der Verzögerungsanzeige für IRC Serverbuffer (Hinweis: Inhalt wird evaluiert, siehe /help buflist)]
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette
|
||||
** Standardwert: `+" ${color:green}[${color:brown}${lag}${color:green}]"+`
|
||||
|
||||
* [[option_buflist.format.name]] *buflist.format.name*
|
||||
** Beschreibung: pass:none[Format für den Namen eines Buffers (Hinweis: Inhalt wird evaluiert, siehe /help buflist)]
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette
|
||||
** Standardwert: `+"${name}"+`
|
||||
|
||||
* [[option_buflist.format.nick_prefix]] *buflist.format.nick_prefix*
|
||||
** Beschreibung: pass:none[Format des Nick-Präfix für einen Channel (Hinweis: Inhalt wird evaluiert, siehe /help buflist)]
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette
|
||||
** Standardwert: `+"${color_nick_prefix}${nick_prefix}"+`
|
||||
|
||||
* [[option_buflist.format.number]] *buflist.format.number*
|
||||
** Beschreibung: pass:none[Format für die Darstellung der Buffernummer, hierbei ist die Variable ${number} die eingerückte Nummer (Hinweis: Inhalt wird evaluiert, siehe /help buflist)]
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette
|
||||
** Standardwert: `+"${color:green}${number}${if:${number_displayed}?.: }"+`
|
||||
|
||||
* [[option_buflist.look.auto_scroll]] *buflist.look.auto_scroll*
|
||||
** Beschreibung: pass:none[scrollt automatisch die buflist-Bar um den aktuellen Buffer darzustellen (dies funktioniert ausschließlich wenn die Bar links/rechts positioniert ist und als Darstellung "vertical" verwendet wird); dieser Wert ist eine prozentuale Angabe wo der aktuelle Buffer angezeigt werden soll (-1 = deaktiviert); zum Beispiel wird bei einem Wert von 50 der Buffer in der Mitte der Bar angezeigt, bei 0 wird der Buffer oben und bei 100 am unteren Rand der Bar angezeigt]
|
||||
** Typ: integer
|
||||
** Werte: -1 .. 100
|
||||
** Standardwert: `+50+`
|
||||
|
||||
* [[option_buflist.look.display_conditions]] *buflist.look.display_conditions*
|
||||
** Beschreibung: pass:none[Bedingungen wann ein Buffer dargestellt werden soll (Hinweis: Inhalt ist evaluiert, siehe /help buflist); Beispielsweise werden Server-Buffer versteckt, sofern sie mit dem Core-Buffer zusammengefügt worden sind: "${buffer.hidden}==0 && ((${type}!=server && ${buffer.full_name}!=core.weechat) || ${buffer.active}==1)"]
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette
|
||||
** Standardwert: `+"${buffer.hidden}==0"+`
|
||||
|
||||
* [[option_buflist.look.enabled]] *buflist.look.enabled*
|
||||
** Beschreibung: pass:none[buflist aktivieren]
|
||||
** Typ: boolesch
|
||||
** Werte: on, off
|
||||
** Standardwert: `+on+`
|
||||
|
||||
* [[option_buflist.look.mouse_jump_visited_buffer]] *buflist.look.mouse_jump_visited_buffer*
|
||||
** Beschreibung: pass:none[ist diese Einstellung aktiviert, kann mit der linken/rechten Maustaste auf dem aktuellen Buffer zum vorherigen/nächsten Buffer gesprungen werden]
|
||||
** Typ: boolesch
|
||||
** Werte: on, off
|
||||
** Standardwert: `+off+`
|
||||
|
||||
* [[option_buflist.look.mouse_move_buffer]] *buflist.look.mouse_move_buffer*
|
||||
** Beschreibung: pass:none[ist diese Einstellung aktiviert, kann mit Mausgesten (Drag & Drop) ein Buffer in der Liste verschoben werden]
|
||||
** Typ: boolesch
|
||||
** Werte: on, off
|
||||
** Standardwert: `+on+`
|
||||
|
||||
* [[option_buflist.look.mouse_wheel]] *buflist.look.mouse_wheel*
|
||||
** Beschreibung: pass:none[ist diese Einstellung aktiviert, kann mit dem Mausrad hoch/runter zum nächsten/vorherigen Buffer in der Liste gesprungen werden]
|
||||
** Typ: boolesch
|
||||
** Werte: on, off
|
||||
** Standardwert: `+on+`
|
||||
|
||||
* [[option_buflist.look.nick_prefix]] *buflist.look.nick_prefix*
|
||||
** Beschreibung: pass:none[holt den Nick-Präfix und die dazugehörige Farbe aus der Nicklist um diese mit der Variable ${nick_prefix} zu nutzen; diese Option ist standardmäßig deaktiviert, da bei einer umfangreichen Nickliste es zu Verzögerungen kommen kann]
|
||||
** Typ: boolesch
|
||||
** Werte: on, off
|
||||
** Standardwert: `+off+`
|
||||
|
||||
* [[option_buflist.look.nick_prefix_empty]] *buflist.look.nick_prefix_empty*
|
||||
** Beschreibung: pass:none[falls der Nick-Präfix aktiviert ist, wird ein Leerzeichen genutzt falls kein Nick-Präfix für den Buffer existiert]
|
||||
** Typ: boolesch
|
||||
** Werte: on, off
|
||||
** Standardwert: `+on+`
|
||||
|
||||
* [[option_buflist.look.signals_refresh]] *buflist.look.signals_refresh*
|
||||
** Beschreibung: pass:none[durch Kommata getrennte Liste von zusätzlichen Signalen die dafür sorgen das die Buffer-Liste aktualisiert wird; dies kann nützlich sein falls benutzerdefinierte Variablen genutzt werden und dadurch eine Aktualisierung erforderlich wird]
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette
|
||||
** Standardwert: `+""+`
|
||||
|
||||
* [[option_buflist.look.sort]] *buflist.look.sort*
|
||||
** Beschreibung: pass:none[durch Kommata getrennte Liste von Feldern um die Buffer zu sortieren; jedes Feld ist entweder eine hdata Variable von Buffer ("var"), eine hdata Variable vom Typ IRC Server ("irc_server.var") oder eine hdata Variable vom Typ IRC Channel ("irc_channel.var"); wird das "-" Zeichen vor einem Feld angewendet, wird die Ausgabe umgekehrt, um bei einem Vergleich nicht zwischen Groß- und Kleinschreibung zu unterscheiden wird das Zeichen "~" verwendet; Beispiel: "-~short_name" sortiert die Buffer nach ihrem Kurznamen, wobei dies invertierte passiert und nicht zwischen Groß-oder Kleinschreibung unterschieden wird]
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette
|
||||
** Standardwert: `+"number,-active"+`
|
||||
@@ -19,15 +19,16 @@
|
||||
-list: zeigt laufende Befehle an
|
||||
-sh: es wird die shell verwendet um Befehle auszuführen (WARNUNG: Dieses Argument sollte nur verwendet werden, falls alle Argumente unbedenklich sind, siehe Argument -nosh)
|
||||
-nosh: die shell wird nicht verwendet um Befehle auszuführen (wird benötigt, falls der Befehl mit sensiblen Daten hantiert. Zum Beispiel der Inhalt einer Nachricht eines anderen Users)
|
||||
-bg: führt Prozess im Hintergrund aus: gibt weder eine Prozessausgabe noch einen Rückgabewert aus (nicht kompatibel mit Argumenten -o/-n)
|
||||
-bg: führt Prozess im Hintergrund aus: gibt weder eine Prozessausgabe noch einen Rückgabewert aus (nicht kompatibel mit Argumenten -o/-oc/-n/-nf/-pipe/-hsignal)
|
||||
-nobg: gibt Prozessausgabe und Rückgabewert aus (Standardverhalten)
|
||||
-stdin: erstellt eine PIPE um Daten zu dem Prozess zu senden (mittels /exec -in/-inclose)
|
||||
-nostdin: es wird keine PIPE für stdin erstellt (Standardverhalten)
|
||||
-buffer: zeigt/sendet Ausgabe des Befehls an diesen Buffer (wird der angegebene Buffer nicht gefunden wird ein neuer Buffer mit dem Namen "exec.exec.xxx" erstellt)
|
||||
-l: gibt die Ausgabe des Befehls lokal im Buffer aus (Standardverhalten)
|
||||
-o: gibt die Ausgabe des Befehls im Buffer aus (nicht kompatibel mit Argument -bg)
|
||||
-n: gibt die Ausgabe des Befehls in einem neuen Buffer aus (nicht kompatibel mit Argument -bg)
|
||||
-nf: gibt die Ausgabe des Befehls in einem neuen Buffer, mit einem freien Inhalt (kein Zeilenumbruch, keine Limitierung in der Anzahl der Zeilen), aus (nicht kompatibel mit Argument -bg)
|
||||
-o: gibt die Ausgabe des Befehls im Buffer aus (nicht kompatibel mit Argumenten -bg/-pipe/-hsignal)
|
||||
-oc: gibt die Ausgabe des Befehls im Buffer aus und führt diesen dann aus (betrifft Zeilen die mit "/" beginnen bzw. das benutzerdefinierte Befehlszeichen verwenden) (nicht kompatibel mit Argumenten -bg/-pipe/-hsignal)
|
||||
-n: gibt die Ausgabe des Befehls in einem neuen Buffer aus (nicht kompatibel mit Argumenten -bg/-pipe/-hsignal)
|
||||
-nf: gibt die Ausgabe des Befehls in einem neuen Buffer, mit einem freien Inhalt (kein Zeilenumbruch, keine Limitierung in der Anzahl der Zeilen), aus (nicht kompatibel mit Argument -bg/-pipe/-hsignal)
|
||||
-cl: der neue Buffer wird vor einer Ausgabe gelöscht
|
||||
-nocl: Ausgabe wird an neuen Buffer angehangen, ohne diesen vorher zu löschen (Standardverhalten)
|
||||
-sw: es wird zum Ausgabebuffer gewechselt (Standardverhalten)
|
||||
@@ -46,8 +47,8 @@
|
||||
-norc: der Rückgabewert wird unterdrückt
|
||||
-timeout: gibt eine Zeitbeschränkung für den auszuführenden Befehl an (in Sekunden)
|
||||
-name: dem Befehl wird ein Name zugewiesen (um den Befehl später mittels /exec zu nutzen)
|
||||
-pipe: sendet die Ausgabe an einen Befehl von WeeChat/Erweiterung (Zeile für Zeile); sollen Leerzeichen im Befehl/Argument verwendet werden, müssen diese mit Anführungszeichen eingeschlossen werden; Variable $line wird durch die entsprechende Zeile ersetzt (standardmäßig wird die Zeile, getrennt durch ein Leerzeichen, dem Befehl nachgestellt (nicht kompatibel mit den Argumenten -bg/-o/-n)
|
||||
-hsignal: sendet die Ausgabe als hsignal (um es z.B. mittels /trigger zu verwenden) (nicht kompatibel mit den Argumenten -bg/-o/-n)
|
||||
-pipe: sendet die Ausgabe an einen Befehl von WeeChat/Erweiterung (Zeile für Zeile); sollen Leerzeichen im Befehl/Argument verwendet werden, müssen diese mit Anführungszeichen eingeschlossen werden; Variable $line wird durch die entsprechende Zeile ersetzt (standardmäßig wird die Zeile, getrennt durch ein Leerzeichen, dem Befehl nachgestellt (nicht kompatibel mit den Argumenten -bg/-o/-oc/-n/-nf)
|
||||
-hsignal: sendet die Ausgabe als hsignal (um es z.B. mittels /trigger zu verwenden) (nicht kompatibel mit den Argumenten -bg/-o/-oc/-n/-nf)
|
||||
command: Befehl der ausgeführt werden soll; beginnt der Befehl mit "url:", wird die shell deaktiviert und der Inhalt der URL wird heruntergeladen und im Buffer ausgegeben
|
||||
id: identifiziert eindeutig einen Befehl: entweder durch eine Nummer oder einen Namen (sofern ein Name mittels "-name xxx" zugewiesen wurde)
|
||||
-in: sendet Text an die Standardeingabe des Prozesses
|
||||
|
||||
@@ -16,11 +16,13 @@ target: Servername
|
||||
|
||||
----
|
||||
/allchan [-current] [-exclude=<channel>[,<channel>...]] <command> [<arguments>]
|
||||
[-current] -include=<channel>[,<channel>...] <command> [<arguments>]
|
||||
|
||||
-current: führt einen Befehl aus der an alle Channels des aktuellen Servers gesendet wird
|
||||
-exclude: dient zum Ausschluss ausgewählter Channels (Platzhalter "*" kann verwendet werden)
|
||||
-include: findet Anwendung für ausgewählte Channels (Platzhalter "*" kann verwendet werden)\n
|
||||
command: Befehl der ausgeführt werden soll
|
||||
arguments: Argumente für Befehl (Variablen die genutzt werden können und durch das Äquivalent ersetzt wird: $nick, $channel und $server)
|
||||
arguments: Argumente für Befehl (Variablen die genutzt werden können und durch den entsprechenden Wert ersetzt werden: $nick, $channel und $server)
|
||||
|
||||
Beispiele:
|
||||
führe den Befehl '/me Ich teste gerade etwas...' für alle Channels aus:
|
||||
@@ -29,6 +31,8 @@ Beispiele:
|
||||
/allchan -exclude=#weechat msg * Hallo Welt
|
||||
schicke 'Hallo Welt' an jeden Channel, ausgenommen an den #weechat Channel und Channels die mit #linux beginnen:
|
||||
/allchan -exclude=#weechat,#linux* msg * Hallo Welt
|
||||
schickt den Text 'Hallo' an alle Channels die mit #linux beginnen:
|
||||
/allchan -include=#linux* msg * Hallo
|
||||
----
|
||||
|
||||
[[command_irc_allpv]]
|
||||
@@ -36,19 +40,23 @@ Beispiele:
|
||||
|
||||
----
|
||||
/allpv [-current] [-exclude=<nick>[,<nick>...]] <command> [<arguments>]
|
||||
[-current] -include=<nick>[,<nick>...] <command> [<arguments>]
|
||||
|
||||
-current: führt einen Befehl aus der für alle privaten Buffer, des aktuellen Servers, Anwendung findet
|
||||
-exclude: dient zum Ausschluss ausgewählter Nicks (Platzhalter "*" kann verwendet werden)
|
||||
-include: findet Anwendung für ausgewählte Nicks (Platzhalter "*" kann verwendet werden)
|
||||
command: Befehl der ausgeführt werden soll
|
||||
arguments: Argumente für Befehl (Variablen die genutzt werden können und durch das Äquivalent ersetzt wird: $nick, $channel und $server)
|
||||
arguments: Argumente für Befehl (Variablen die genutzt werden können und durch den entsprechenden Wert ersetzt werden: $nick, $channel und $server)
|
||||
|
||||
Beispiele:
|
||||
führe den Befehl '/me Ich teste gerade etwas...' für alle privaten Buffer aus:
|
||||
/allpv me Ich teste gerade etwas...
|
||||
schicke 'Hallo' an alle, ausgenommen an Nick foo:
|
||||
/allpv -exclude=foo msg * Hallo
|
||||
schicke 'Hallo' an alle, ausgenommen für Nick foo und Nicks die mit bar beginnen:
|
||||
schicke den Text 'Hallo' an alle, ausgenommen für Nick foo und Nicks die mit bar beginnen:
|
||||
/allpv -exclude=foo,bar* msg * Hallo
|
||||
schicke den Text 'Hallo' an alle Nicks die mit bar beginnen:
|
||||
/allpv -include=bar* msg * Hallo
|
||||
schließe alle privaten Buffer:
|
||||
/allpv close
|
||||
----
|
||||
@@ -58,15 +66,17 @@ Beispiele:
|
||||
|
||||
----
|
||||
/allserv [-exclude=<server>[,<server>...]] <command> [<arguments>]
|
||||
-include=<server>[,<server>...] <command> [<arguments>]
|
||||
|
||||
-exclude: dient zum Ausschluss ausgewählter Server (Platzhalter "*" kann verwendet werden)
|
||||
-include: findet Anwendung für ausgewählte Server (Platzhalter "*" kann verwendet werden)
|
||||
command: Befehl der ausgeführt werden soll
|
||||
arguments: Argumente für Befehl (Variablen die genutzt werden können und durch das Äquivalent ersetzt wird: $nick, $channel und $server)
|
||||
arguments: Argumente für Befehl (Variablen die genutzt werden können und durch den entsprechenden Wert ersetzt werden: $nick, $channel und $server)
|
||||
|
||||
Beispiele:
|
||||
ändere den Nick auf allen Servern:
|
||||
/allserv nick newnick
|
||||
setzt den Status, auf allen Servern,auf abwesend:
|
||||
setzt den Status, auf allen Servern, auf abwesend:
|
||||
/allserv away I'm away
|
||||
führt ein whois mit meinem nick auf allen Servern aus:
|
||||
/allserv whois $nick
|
||||
@@ -713,6 +723,7 @@ reason: Grund der Abmeldung
|
||||
add <server> <hostname>[/<port>] [-temp] [-<option>[=<value>]] [-no<option>]
|
||||
copy|rename <server> <new_name>
|
||||
reorder <server> [<server>...]
|
||||
open <server>|-all [<server>...]
|
||||
del|keep <server>
|
||||
deloutq|jump|raw
|
||||
|
||||
@@ -721,12 +732,13 @@ listfull: listet alle Server auf, mit detaillierten Informationen zu jedem einze
|
||||
add: erstellt einen neuen Server
|
||||
server: Servername, dient der internen Nutzung und zur Darstellung
|
||||
hostname: Name oder IP-Adresse des Servers. Optional kann zusätzlich der Port festgelegt werden (Standard-Port: 6667). Verschiedene Ports können durch Kommata getrennt werden
|
||||
temp: erstellt temporären Server (wird nicht gespeichert)
|
||||
-temp: erstellt temporären Server (wird nicht gespeichert)
|
||||
option: legt die Optionen für den Server fest (die Boolean-Optionen können weggelassen werden)
|
||||
nooption: stellt die Boolean Einstellung auf 'off' (Beispiel: -nossl)
|
||||
copy: erstellt eine Kopie des Servers
|
||||
rename: benennt den Server um
|
||||
reorder: Anordnung der Server ändern
|
||||
open: öffnen den Serverbuffer, ohne eine Verbindung herzustellen
|
||||
keep: übernimmt den Server in die Konfigurationsdatei (nur sinnvoll bei temporär angelegten Servern)
|
||||
del: entfernt einen Server
|
||||
deloutq: löscht bei allen Servern alle ausgehende Nachrichten, die in der Warteschlange stehen (dies betrifft alle Nachrichten die WeeChat gerade sendet)
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
----
|
||||
/relay list|listfull|listrelay
|
||||
add <name> <port>
|
||||
del|stop|restart <name>
|
||||
del|start|restart|stop <name>
|
||||
raw
|
||||
sslcertkey
|
||||
|
||||
@@ -17,8 +17,9 @@
|
||||
listrelay: Auflistung der Relays (Name und Port)
|
||||
add: fügt ein Relay, für ein Protokoll + Name, hinzu
|
||||
del: entfernt Relay für ein Protokoll + Name
|
||||
stop: schließt den Server Socket (Clients bleiben verbunden)
|
||||
start: lausche am Port
|
||||
restart: beendet den Server Socket und lauscht erneut am Port (Clients bleiben verbunden)
|
||||
stop: schließt den Server Socket (Clients bleiben verbunden)
|
||||
name: Name des Relays (siehe Format weiter unten)
|
||||
port: Port der für Relay genutzt werden soll
|
||||
raw: öffnet einen Buffer mit Relay-Rohdaten
|
||||
|
||||
@@ -237,13 +237,7 @@
|
||||
** Standardwert: `+"%h/script"+`
|
||||
|
||||
* [[option_script.scripts.url]] *script.scripts.url*
|
||||
** Beschreibung: pass:none[URL mit dem Dateinamen, welches die Liste der Skripten enthält; standardmäßig wird HTTPS genutzt, siehe Option script.scripts.url_force_https]
|
||||
** Beschreibung: pass:none[URL für Datei mit der Auflistung aller Skripten]
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette
|
||||
** Standardwert: `+"http://weechat.org/files/plugins.xml.gz"+`
|
||||
|
||||
* [[option_script.scripts.url_force_https]] *script.scripts.url_force_https*
|
||||
** Beschreibung: pass:none[HTTPS wird für das Herunterladen der Indexdatei und der Skripten bevorzugt; diese Einstellung sollte nur deaktiviert werden falls Probleme beim Herunterladen auftreten]
|
||||
** Typ: boolesch
|
||||
** Werte: on, off
|
||||
** Standardwert: `+on+`
|
||||
** Standardwert: `+"https://weechat.org/files/plugins.xml.gz"+`
|
||||
|
||||
@@ -72,7 +72,7 @@ Beispiele:
|
||||
clear [<number>|<name>|-merged|-all [<number>|<name>...]]
|
||||
move <number>|-|+
|
||||
swap <number1>|<name1> [<number2>|<name2>]
|
||||
cycle <number>|<name> [<number>|<name>...]]
|
||||
cycle <number>|<name> [<number>|<name>...]
|
||||
merge <number>
|
||||
unmerge [<number>|-all]
|
||||
hide [<number>|<name>|-all [<number>|<name>...]]
|
||||
@@ -274,6 +274,8 @@ expression: Ausdruck welcher verarbeitet werden soll. Variablen im Format ${vari
|
||||
> größer
|
||||
=~ stimmt mit regulärem POSIX Ausdruck überein
|
||||
!~ stimmt NICHT mit regulärem POSIX Ausdruck überein
|
||||
=* stimmt mit Maske überein (Platzhalter "*" ist erlaubt)
|
||||
!* stimmt mit Maske NICHT überein (Platzhalter "*" ist erlaubt)
|
||||
|
||||
Ein Ausdruck gilt als "wahr" sofern das Ergebnis weder NULL, leer und von "0" abweichend ist.
|
||||
Der Vergleich findet zwischen zwei Integer Werten statt, sofern die beiden Ausdrücke gültige Integer-Werte sind.
|
||||
@@ -282,16 +284,19 @@ Um einen Vergleich zwischen zwei Zeichenketten zu erzwingen, müssen die Ausdrü
|
||||
"50" > "100" ==> 1
|
||||
|
||||
Einige Variablen werden im Ausdruck, mittels der Formatierung ${Variable}, ersetzt. Mögliche Variablen sind, nach Reihenfolge ihrer Priorität:
|
||||
1. eine Zeichenkette mit Escapesequenzen (Format: "esc:xxx" oder "\xxx")
|
||||
2. eine Zeichenkette welche Escape-Zeichen besitzt (Format: "esc:xxx" oder "\xxx")
|
||||
1. eine evaluierte Teilzeichenkette (Format: "eval:xxx")
|
||||
2. eine Zeichenkette mit Escapesequenzen (Format: "esc:xxx" oder "\xxx")
|
||||
3. Zeichen welche in einer Zeichenkette nicht dargestellt werden sollen (Format: "hide:Zeichen,Zeichenkette")
|
||||
4. eine Farbe (Format: color:xxx)
|
||||
5. eine Info (Format: "info:name,arguments", Argumente sind optional)
|
||||
6. aktuelles Datum/Uhrzeit (Format: "date" oder "date:format")
|
||||
7. eine Umgebungsvariable (Format: "env:XXX")
|
||||
8. der Name einer Programmoption (Format: file.section.option)
|
||||
9. der Name einer lokalen Variablen eines Buffer
|
||||
10. ein hdata Name/Variable (der Wert wird automatisch als Zeichenkette konvertiert), standardmäßig wird für "window" und "buffer" das aktuelle Fenster/Buffer verwendet.
|
||||
4. eine Zeichenkette mit einer maximalen Anzahl an Zeichen (Format: "cut:+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")
|
||||
5. eine Farbe (Format: "color:xxx", siehe "Anleitung für API Erweiterung", Funktion "color")\n
|
||||
6. eine Info (Format: "info:Name,Argumente", Argumente sind optional)
|
||||
7. aktuelles Datum/Uhrzeit (Format: "date" oder "date:format")
|
||||
8. eine Umgebungsvariable (Format: "env:XXX")
|
||||
9. ein Dreifachoperand (Format: "if:Bedingung?Wert_falls_wahr:Wert_falls_unwahr")
|
||||
10. eine Option (Format: "file.section.option")
|
||||
11. der Name einer lokalen Variablen eines Buffer
|
||||
12. ein hdata Name/Variable (der Wert wird automatisch in eine Zeichenkette konvertiert), standardmäßig wird für "window" und "buffer" das aktuelle Fenster/Buffer verwendet.
|
||||
Das Format für hdata kann wie folgt aufgebaut sein:
|
||||
hdata.var1.var2...: startet mit hdata (der Pointer muss bekannt sein) und fragt eine Variable nach der anderen ab (weitere hdata können folgen)
|
||||
hdata[list].var1.var2...: startet hdata mittels einer Liste, zum Beispiel:
|
||||
@@ -302,16 +307,19 @@ Das Format für hdata kann wie folgt aufgebaut sein:
|
||||
Die vorhandenen Namen für hdata und Variablen sind in der "Anleitung für API Erweiterung", Bereich "weechat_hdata_get". beschrieben
|
||||
|
||||
Beispiele (einfache Zeichenketten):
|
||||
/eval -n ${info:version} ==> 0.4.3
|
||||
/eval -n ${env:HOME} ==> /home/user
|
||||
/eval -n ${weechat.look.scroll_amount} ==> 3
|
||||
/eval -n ${window} ==> 0x2549aa0
|
||||
/eval -n ${window.buffer} ==> 0x2549320
|
||||
/eval -n ${window.buffer.full_name} ==> core.weechat
|
||||
/eval -n ${window.buffer.number} ==> 1
|
||||
/eval -n ${\t} ==> <tab>
|
||||
/eval -n ${hide:-,${relay.network.password}} ==> --------
|
||||
/eval -n ${date:%H:%M:%S} ==> 07:46:40
|
||||
/eval -n ${info:version} ==> 0.4.3
|
||||
/eval -n ${env:HOME} ==> /home/user
|
||||
/eval -n ${weechat.look.scroll_amount} ==> 3
|
||||
/eval -n ${window} ==> 0x2549aa0
|
||||
/eval -n ${window.buffer} ==> 0x2549320
|
||||
/eval -n ${window.buffer.full_name} ==> core.weechat
|
||||
/eval -n ${window.buffer.number} ==> 1
|
||||
/eval -n ${\t} ==> <tab>
|
||||
/eval -n ${hide:-,${relay.network.password}} ==> --------
|
||||
/eval -n ${cut:3,+,test} ==> tes+
|
||||
/eval -n ${cut:+3,+,test} ==> te+
|
||||
/eval -n ${date:%H:%M:%S} ==> 07:46:40
|
||||
/eval -n ${if:${info:term_width}>80?big:small} ==> big
|
||||
|
||||
Beispiele (Bedingungen):
|
||||
/eval -n -c ${window.buffer.number} > 2 ==> 0
|
||||
@@ -322,6 +330,7 @@ Beispiele (Bedingungen):
|
||||
/eval -n -c abcd =~ (?-i)^ABC ==> 0
|
||||
/eval -n -c abcd =~ (?-i)^abc ==> 1
|
||||
/eval -n -c abcd !~ abc ==> 0
|
||||
/eval -n -c abcd =* a*d ==> 1
|
||||
----
|
||||
|
||||
[[command_weechat_filter]]
|
||||
@@ -515,7 +524,7 @@ Für Kontext "mouse" (Kontext "cursor" ist auch möglich), hat der zu verwendend
|
||||
item(*): beliebiges Bar-Item
|
||||
item(xxx): Bar-Item mit Namen "xxx"
|
||||
Der Platzhalter "*" kann verwendet werden um mehrere unterschiedliche Mausereignisse auszuwählen.
|
||||
Für den Kontext "mouse" kann ein besonderer Übergabewert für den zu nutzenden Befehl verwendet werden, "hsignal:name". Dieses sendet das hsignal "name" und als Inhalt ein Hashtable als Argument.
|
||||
Für den Kontext "mouse" kann ein besonderer Übergabewert für den zu nutzenden Befehl verwendet werden, "hsignal:name". Dieses sendet das hsignal "name" und als Inhalt ein Hashtable als Argument.
|
||||
Ein weiterer Übergabewert ist "-" und kann genutzt werden um einen Schlüssel zu deaktivieren (der Schlüssel wird bei der Durchführung übersprungen).
|
||||
|
||||
Beispiele:
|
||||
@@ -939,13 +948,13 @@ Beispiele:
|
||||
-1|+1|b#|up|down|left|right [-window <number>]
|
||||
<number>
|
||||
splith|splitv [-window <number>] [<pct>]
|
||||
resize [-window <number>] [+/-]<pct>
|
||||
resize [-window <number>] [h|v][+|-]<pct>
|
||||
balance
|
||||
merge [-window <number>] [all]
|
||||
page_up|page_down [-window <number>]
|
||||
refresh
|
||||
scroll [-window <number>] [+/-]<value>[s|m|h|d|M|y]
|
||||
scroll_horiz [-window <number>] [+/-]<value>[%]
|
||||
scroll [-window <number>] [+|-]<value>[s|m|h|d|M|y]
|
||||
scroll_horiz [-window <number>] [+|-]<value>[%]
|
||||
scroll_up|scroll_down|scroll_top|scroll_bottom|scroll_beyond_end|scroll_previous_highlight|scroll_next_highlight|scroll_unread [-window <number>]
|
||||
swap [-window <number>] [up|down|left|right]
|
||||
zoom [-window <number>]
|
||||
@@ -963,6 +972,7 @@ Beispiele:
|
||||
splith: teilt das aktuelle Fenster horizontal (um den Vorgang rückgängig zu machen: /window merge)
|
||||
splitv: teilt das aktuelle Fenster vertikal (um den Vorgang rückgängig zu machen: /window merge)
|
||||
resize: verändert die Größe des aktuellen Fensters. Die neue Größe des Fensters ist prozentual <pct> zum Stammfensters groß
|
||||
wird "h" oder "v" angegeben, findet eine Größenanpassung des Stammfenster statt, sofern es vom selben Typ ist (horizontal/vertikal)
|
||||
balance: passt die Größe aller Fenster an
|
||||
merge: vereinigt Fenster miteinander (all = alle Fenster vereinigen)
|
||||
page_up: scrollt eine Seite nach oben
|
||||
@@ -979,7 +989,7 @@ scroll_previous_highlight: scrollt zum vorherigen Hightlight
|
||||
scroll_next_highlight: scrollt zum nächsten Highlight
|
||||
scroll_unread: springt zur ersten ungelesenen Zeile in einem Buffer
|
||||
swap: tauscht die Buffer von zwei Fenstern (mit optionaler Angabe für das Zielfenster)
|
||||
zoom: vergrößert ein Fenster auf 100%%
|
||||
zoom: vergrößert ein Fenster auf 100%
|
||||
bare: wechselt zum einfachen Anzeigemodus (optional kann eine Wartezeit, in Sekunden, angegeben werden, wann zum Standardmodus zurück gewechselt werden soll)
|
||||
|
||||
Bei splith und splitv gibt "pct" die neue Größe des Fensters im Verhältnis zur aktuellen Größe an. Zum Beispiel würde ein Wert von 25 bedeuten, dass das neue Fenster nur noch ein Viertel der Größe des alten Fensters besitzt.
|
||||
@@ -995,8 +1005,12 @@ Beispiele:
|
||||
/window scroll -d
|
||||
Fenster #2 wird vergrößert:
|
||||
/window zoom -window 2
|
||||
teilt das Fenster horizontal, wobei das obere Fenster 30%% an Platz zugeteilt bekommt:
|
||||
teilt das Fenster horizontal, wobei das obere Fenster 30% an Platz zugeteilt bekommt:
|
||||
/window splith 30
|
||||
ändert die Größe auf 75% des Stammfensters:
|
||||
/window resize 75
|
||||
die vertikale Aufteilung um 10% vergrößern:
|
||||
/window resize v+10
|
||||
eine Teilung wird rückgängig gemacht:
|
||||
/window merge
|
||||
aktiviert den einfachen Anzeigemodus für zwei Sekunden:
|
||||
|
||||
@@ -410,6 +410,12 @@
|
||||
** Werte: on, off
|
||||
** Standardwert: `+on+`
|
||||
|
||||
* [[option_weechat.completion.nick_case_sensitive]] *weechat.completion.nick_case_sensitive*
|
||||
** Beschreibung: pass:none[Groß-und Kleinschreibung wird bei Vervollständigung von Nicks berücksichtigt]
|
||||
** Typ: boolesch
|
||||
** Werte: on, off
|
||||
** Standardwert: `+off+`
|
||||
|
||||
* [[option_weechat.completion.nick_completer]] *weechat.completion.nick_completer*
|
||||
** Beschreibung: pass:none[fügt eine Zeichenkette hinter die Nick-Vervollständigung ein (sofern ein Nickname das erste Wort in der Kommandozeile ist)]
|
||||
** Typ: Zeichenkette
|
||||
|
||||
@@ -64,12 +64,18 @@ $HOME/.weechat/alias.conf::
|
||||
$HOME/.weechat/aspell.conf::
|
||||
Konfigurationsdatei für _aspell_ Erweiterung
|
||||
|
||||
$HOME/.weechat/buflist.conf::
|
||||
Konfigurationsdatei für _buflist_ Erweiterung
|
||||
|
||||
$HOME/.weechat/charset.conf::
|
||||
Konfigurationsdatei für _charset_ Erweiterung
|
||||
|
||||
$HOME/.weechat/exec.conf::
|
||||
Konfigurationsdatei für _exec_ Erweiterung
|
||||
|
||||
$HOME/.weechat/fifo.conf::
|
||||
Konfigurationsdatei für _fifo_ Erweiterung
|
||||
|
||||
$HOME/.weechat/irc.conf::
|
||||
Konfigurationsdatei für _irc_ Erweiterung
|
||||
|
||||
@@ -102,7 +108,7 @@ Diese manpage wurde von {author} geschrieben.
|
||||
WeeChat wird programmiert von Sébastien Helleu und weiteren Beteiligten (eine vollständige Auflistung
|
||||
findet man in der AUTHORS.adoc Datei).
|
||||
|
||||
Copyright (C) 2003-2016 {author}
|
||||
Copyright (C) 2003-2017 {author}
|
||||
|
||||
WeeChat is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
||||
@@ -634,6 +634,12 @@ Die Option _weechat.network.gnutls_ca_file_ sollte auf die Zertifikationsdatei z
|
||||
/set weechat.network.gnutls_ca_file "/etc/ssl/certs/ca-certificates.crt"
|
||||
----
|
||||
|
||||
Hinweis: Falls man homebrew openssl unter OS X installiert hat, empfiehlt sich:
|
||||
|
||||
----
|
||||
/set weechat.network.gnutls_ca_file "/usr/local/etc/openssl/cert.pem"
|
||||
----
|
||||
|
||||
[NOTE]
|
||||
Überprüfe, ob die Zertifikationsdatei auf Deinem System installiert wurde (üblicherweise wird
|
||||
diese Datei durch das Paket "ca-certificates" bereitgestellt)
|
||||
@@ -876,9 +882,9 @@ Damit WeeChat weniger Speicher benötigt, solltest Du folgende Tipps umsetzen:
|
||||
|
||||
* nutze die aktuelle Version (man kann davon ausgehen das eine aktuelle Version
|
||||
weniger Speicherlecks besitzt, als eine vorherige Version)
|
||||
* lade keine Erweiterungen die Du nicht benötigst. Zum Beispiel: ASpell, Fifo,
|
||||
Logger, Perl, Python, Ruby, Lua, Tcl, Guile, Javascript, Xfer (wird für DCC
|
||||
benötigst)
|
||||
* lade keine Erweiterungen die Du nicht benötigst. Zum Beispiel: ASpell, Buflist,
|
||||
Fifo, Logger, Perl, Python, Ruby, Lua, Tcl, Guile, Javascript, Xfer (wird für
|
||||
DCC benötigst)
|
||||
* installiere ausschließlich Skripten die Du auch nutzt
|
||||
* falls man SSL *NICHT* nutzt, sollte kein Zertifikat geladen werden. In diesem
|
||||
Fall, einfach den Eintrag in folgender Option leer lassen:
|
||||
|
||||
@@ -92,20 +92,20 @@ Befehls `/save` kann das Sichern der Optionen manuell durchgeführt werden).
|
||||
|
||||
[IMPORTANT]
|
||||
Es wird *nicht empfohlen* die Konfigurationsdateien manuell zu editieren, da WeeChat
|
||||
diese Dateien zu jeder Zeit überschreiben kann (zum Beispiel: <<command_weechat_quit,/quit>>)
|
||||
und man eine veränderte Datei mit dem Befehl <<command_weechat_reload,/reload>> neu
|
||||
laden muss (mit dem Risiko von Datenverlust da Daten kommentarlos überschrieben werden,
|
||||
diese Dateien zu jeder Zeit überschreiben kann (zum Beispiel: <<command_weechat_quit,/quit>>).
|
||||
Außerdem muß eine veränderte Datei manuell mit dem Befehl <<command_weechat_reload,/reload>> neu
|
||||
geladen werden (mit dem Risiko von Datenverlust da Optionen kommentarlos überschrieben werden,
|
||||
bevor man diese ggf. gesichert hat <<command_weechat_save,/save>>). +
|
||||
Man sollte immer den <<command_weechat_set,/set>> Befehl nutzen, da der Befehl die
|
||||
Eingabe prüft und Änderungen sofort wirksam werden.
|
||||
Aus diesen Gründen sollte immer der <<command_weechat_set,/set>> Befehl genutzt werden, da
|
||||
zusätzlich auch die Eingabe auf Plausibilität geprüft wird und Änderungen sofort wirksam werden.
|
||||
|
||||
[[core_vs_plugins]]
|
||||
== Kern (Core) vs Erweiterungen
|
||||
|
||||
Der Kern (core) von WeeChat ist ausschließlich dazu da, Daten auf dem Bildschirm
|
||||
darzustellen, um mit dem Benutzer zu interagieren. Dies bedeutet, WeeChat an sich
|
||||
-also nur WeeChat core- ohne jegliche Erweiterung ist unbrauchbar.
|
||||
(an die treuen User: IRC war ein Teil des Kerns der Versionen ≤ 0.2.6)
|
||||
Der Kern (core) von WeeChat dient ausschließlich dazu um Daten auf dem Bildschirm
|
||||
auszugeben und um mit dem Benutzer zu interagieren. Dies bedeutet das WeeChat,
|
||||
-also der WeeChat core-, ohne jedwede Erweiterung, unbrauchbar ist.
|
||||
(an die treuen User: IRC war Teil des Kerns in den Versionen ≤ 0.2.6)
|
||||
|
||||
Alle Netzwerkprotokolle, z.B. IRC, werden als separate Erweiterung bereit gestellt.
|
||||
|
||||
@@ -131,17 +131,16 @@ Falls man nicht mehr weiter weiß, einfach die Hilfe verwenden:
|
||||
[[irc_server_options]]
|
||||
== Setzen eigener IRC-Server Optionen
|
||||
|
||||
WeeChat verwendet Vorgabewerte für alle Server (so genannte "fall backs"), falls
|
||||
Du keine eigenen Werte für entsprechende Server-Optionen bestimmt haben solltest.
|
||||
Diese Vorgabewerte sind in "irc.server_default.*" hinterlegt.
|
||||
WeeChat verwendet Vorgabewerte für alle Server (so genannte "fall backs"), sofern
|
||||
keine individuellen Werte für die entsprechenden Server-Optionen gesetzt worden sind.
|
||||
Die Vorgabewerte sind in "irc.server_default.*" hinterlegt.
|
||||
|
||||
Für jede Server-Option benutzt WeeChat den entsprechend gesetzten Wert - falls
|
||||
definiert (nicht "null"). Andernfalls verwendet WeeChat die Vorgabewerte
|
||||
Für jede Server-Option benutzt WeeChat den individuellen Wert - falls einer
|
||||
definiert ist (nicht "null"). Andernfalls verwendet WeeChat die Vorgabewerte
|
||||
("irc.server_default.xxx").
|
||||
|
||||
Als Beispiel erwähnt ist die Vorgabe für Nicks, die auf den Un*x Login
|
||||
zurückgreift. Diese Vorgabe kann nun für den freenode-Server mittels folgendem Befehl
|
||||
überschrieben werden:
|
||||
Beispielsweise werden Standard Nicks verwendet (basierend auf dem Un*x Login). Um
|
||||
dies nun für den freenode-Server anzupassen, kann folgender Befehl genutzt werden:
|
||||
|
||||
----
|
||||
/set irc.server.freenode.nicks "meinNick,meinNick2,meinNick3,meinNick4,meinNick5"
|
||||
|
||||
@@ -490,8 +490,7 @@ Liste der Skript API Funktionen:
|
||||
prefix +
|
||||
color +
|
||||
print (für Python: prnt) +
|
||||
print_date_tags (für Python:
|
||||
prnt_date_tags) +
|
||||
print_date_tags (für Python: prnt_date_tags) +
|
||||
print_y (für Python: prnt_y) +
|
||||
log_print
|
||||
|
||||
@@ -510,6 +509,7 @@ Liste der Skript API Funktionen:
|
||||
hook_hsignal_send +
|
||||
hook_config +
|
||||
hook_completion +
|
||||
hook_completion_get_string +
|
||||
hook_completion_list_add +
|
||||
hook_modifier +
|
||||
hook_modifier_exec +
|
||||
@@ -591,6 +591,7 @@ Liste der Skript API Funktionen:
|
||||
infolist_next +
|
||||
infolist_prev +
|
||||
infolist_reset_item_cursor +
|
||||
infolist_search_var +
|
||||
infolist_fields +
|
||||
infolist_integer +
|
||||
infolist_string +
|
||||
@@ -616,6 +617,7 @@ Liste der Skript API Funktionen:
|
||||
hdata_pointer +
|
||||
hdata_time +
|
||||
hdata_hashtable +
|
||||
hdata_compare +
|
||||
hdata_update +
|
||||
hdata_get_string
|
||||
|
||||
@@ -1061,12 +1063,11 @@ xxx,irc_in2_yyy::
|
||||
def join_cb(data, signal, signal_data):
|
||||
# Das Signal lautet: "freenode,irc_in2_join"
|
||||
# signal_data enthält die IRC Nachricht, zum Beispiel: ":nick!user@host JOIN :#channel"
|
||||
nick = weechat.info_get("irc_nick_from_host", signal_data)
|
||||
server = signal.split(",")[0]
|
||||
channel = signal_data.split(":")[-1]
|
||||
buffer = weechat.info_get("irc_buffer", "%s,%s" % (server, channel))
|
||||
msg = weechat.info_get_hashtable("irc_message_parse", {"message": signal_data})
|
||||
buffer = weechat.info_get("irc_buffer", "%s,%s" % (server, msg["channel"]))
|
||||
if buffer:
|
||||
weechat.prnt(buffer, "Holla, %s hat den Channel betreten!" % nick)
|
||||
weechat.prnt(buffer, "%s (%s) ist dem Channel beigetreten!" % (msg["nick"], msg["host"]))
|
||||
return weechat.WEECHAT_RC_OK
|
||||
|
||||
# es ist sinnvoll als Server "*" anzugeben um alle JOIN Nachrichten von allen
|
||||
|
||||
+82
-24
@@ -129,9 +129,10 @@ zu kompilieren und welche Pakete optional genutzt werden können.
|
||||
[NOTE]
|
||||
^(1)^ Paketnamen wurden von der Debian GNU/Linux Distribution übernommen.
|
||||
Versionen und Paketnamen können für andere Distributionen abweichend sein. +
|
||||
^(2)^ WeeChat kann auch mit libncurses5-dev kompiliert werden. Dies wird aber
|
||||
*NICHT* empfohlen (es treten dabei Darstellungsfehler mit breiten Zeichen
|
||||
auf). +
|
||||
^(2)^ Es wird empfohlen WeeChat mit libncurses**w**5-dev (das *w* ist
|
||||
entscheidend) zu kompilieren. Eine Kompilierung kann auch mit libncurses5-dev erfolgen,
|
||||
aber dies wird *NICHT* empfohlen:
|
||||
Es können Darstellungsfehler mit breiten Zeichen auftreten. +
|
||||
^(3)^ Gnutls ≥ 3.0.21 wird benötigt um eine IRC SASL Authentifizierung mittels
|
||||
ECDSA-NIST256P-CHALLENGE durchzuführen. +
|
||||
^(4)^ Die empfohlene Version ist 2.7 (alle Skripten laufen mit der Version 2.7,
|
||||
@@ -198,6 +199,9 @@ Liste von häufig verwendeten Optionen:
|
||||
| ENABLE_ASPELL | `ON`, `OFF` | ON |
|
||||
kompiliert <<aspell_plugin,Aspell Erweiterung>>.
|
||||
|
||||
| ENABLE_BUFLIST | `ON`, `OFF` | ON |
|
||||
kompiliert <<buflist_plugin,Buflist Erweiterung>>.
|
||||
|
||||
| ENABLE_CHARSET | `ON`, `OFF` | ON |
|
||||
kompiliert <<charset_plugin,Charset Erweiterung>>.
|
||||
|
||||
@@ -527,8 +531,10 @@ Folgende Dateien findet man im Heimatverzeichnis:
|
||||
| plugins.conf | Konfigurationsdatei für Erweiterungen | möglich, hängt von der Erweiterung/Skript ab.
|
||||
| alias.conf | Konfigurationsdatei: Alias-Erweiterung | möglich, hängt von den Aliases ab.
|
||||
| aspell.conf | Konfiguration für _aspell_-Erweiterung | Nein.
|
||||
| buflist.conf | Konfiguration für _buflist_-Erweiterung | Nein.
|
||||
| charset.conf | Konfiguration für _charset_-Erweiterung | Nein.
|
||||
| exec.conf | Konfiguration für _exec_-Erweiterung | Nein.
|
||||
| fifo.conf | Konfiguration für _fifo_-Erweiterung | Nein.
|
||||
| irc.conf | Konfiguration für _irc_-Erweiterung | *Ja*: Datei kann Passwörter für Server, Nickserv oder Channels enthalten (sofern diese nicht in `sec.conf` gesichert sind).
|
||||
| logger.conf | Konfiguration für _logger_-Erweiterung | Nein.
|
||||
| relay.conf | Konfiguration für _relay_-Erweiterung | Nein.
|
||||
@@ -1479,7 +1485,7 @@ beinhalten. + Diese "tags" können mit dem Befehl `/debug tags` dargestellt werd
|
||||
|
||||
Um Tags als Highlights zu nutzen wird folgende Option verwendet:
|
||||
<<option_weechat.look.highlight_tags,weechat.look.highlight_tags>>.
|
||||
Tags werden durch Kommata getrennt und mehrere Tags können mit
|
||||
Tags werden durch Kommata getrennt und mehrere Tags können mit
|
||||
"+" genutzt werden um ein logischen "und" zu erstellen.
|
||||
|
||||
Zum Beispiel um alle Nachrichten vom Nick "FlashCode" und alle notice-Nachrichten
|
||||
@@ -1584,6 +1590,10 @@ und um eine Hilfe zu erhalten wie man es nutzt: `/help autosetbuffer`.
|
||||
| kbd:[Alt+PgDn] | einige Zeilen im Verlaufsspeicher des Buffer nach unten blättern. | `/window scroll_down`
|
||||
| kbd:[Alt+Home] | springt zur ersten Zeile des Verlaufsspeichers des aktuellen Buffer.s| `/window scroll_top`
|
||||
| kbd:[Alt+End] | springt zur letzten Zeile des Verlaufsspeichers des aktuellen Buffers. | `/window scroll_bottom`
|
||||
| kbd:[F1] | blättert eine Seite in der buflist hoch. | `/bar scroll buflist * -100%`
|
||||
| kbd:[F2] | blättert eine Seite in der buflist runter. | `/bar scroll buflist * +100%`
|
||||
| kbd:[Alt+F1] | springt zum Anfang der buflist. | `/bar scroll buflist * b`
|
||||
| kbd:[Alt+F2] | springt zum Ende der buflist. | `/bar scroll buflist * e`
|
||||
| kbd:[Alt+←] +
|
||||
kbd:[Alt+↑] +
|
||||
kbd:[Ctrl+p] +
|
||||
@@ -1708,6 +1718,12 @@ Diese Tasten werden im Kontext "mouse" verwendet, wenn eine Mausfunktion genutzt
|
||||
| ⇓ | - | chat (script buffer) | fünf Zeilen nach unten blättern, im Script-Buffer. | `/script down 5`
|
||||
| kbd:[Ctrl+⇑] | - | chat | horizontal, nach links scrollen. | `/window scroll_horiz -window ${_window_number} -10%`
|
||||
| kbd:[Ctrl+⇓] | - | chat | horizontal, nach rechts scrollen. | `/window scroll_horiz -window ${_window_number} +10%`
|
||||
| ◾◽◽ | up / left | buflist | verschiebt Buffer in der Reihenfolge nach unten. | Signal `buflist_mouse`.
|
||||
| ◾◽◽ | down / right | buflist | verschiebt Buffer in der Reihenfolge nach oben. | Signal `buflist_mouse`.
|
||||
| ◾◽◽ | - | buflist | wechselt zum Buffer (oder zum vorherigen Buffer, falls der aktuell genutzte Buffer angewählt wurde). | Signal `buflist_mouse`.
|
||||
| ◽◽◾ | - | buflist | wechselt zum nächsten Buffer, falls der aktuell genutzte Buffer angewählt wurde. | Signal `buflist_mouse`.
|
||||
| kbd:[Ctrl+⇑] | - | buflist | wechselt zum vorherigen Buffer. | Signal `buflist_mouse`.
|
||||
| kbd:[Ctrl+⇓] | - | buflist | wechselt zum nächsten Buffer. | Signal `buflist_mouse`.
|
||||
| ◾◽◽ | hoch | Benutzerliste | Benutzerliste um eine Seite nach oben blättern. | `/bar scroll nicklist ${_window_number} -100%`
|
||||
| ◾◽◽ | runter | Benutzerliste | Benutzerliste um eine Seite nach unten blättern. | `/bar scroll nicklist ${_window_number} +100%`
|
||||
| ◾◽◽ | hoch(lang) | Benutzerliste | springt zum Anfang der Benutzerliste. | `/bar scroll nicklist ${_window_number} b`
|
||||
@@ -2033,6 +2049,7 @@ Standarderweiterungen:
|
||||
| Erweiterung | Beschreibung
|
||||
| alias | definiert Alias für Befehle.
|
||||
| aspell | Rechtschreibprüfung für Befehlszeile.
|
||||
| buflist | Bar-Item mit der Liste aller Buffern.
|
||||
| charset | Zeichensatz (de)-kodierung in Buffern.
|
||||
| exec | ausführen von externen Befehlen aus WeeChat heraus.
|
||||
| fifo | FIFO Pipe die zur Fernsteuerung von WeeChat genutzt werden kann.
|
||||
@@ -2082,6 +2099,7 @@ Sektionen:
|
||||
| check | /set aspell.check.* | Optionen um Einstellungen an der Rechtschreibprüfung vorzunehmen.
|
||||
| dict | <<command_aspell_aspell,/aspell setdict>> +
|
||||
/set aspell.dict.* | Wörterbücher für Buffer (Optionen können in Sektion hinzugefügt/entfernt werden).
|
||||
| look | /set aspell.look.* | Erscheinungsbild.
|
||||
| option | /set aspell.option.* | <<aspell_speller_options,Optionen für Rechtschreibprüfung>> (Optionen können in Sektion hinzugefügt/entfernt werden).
|
||||
|===
|
||||
|
||||
@@ -2140,6 +2158,34 @@ Beispiel der Rechtschreibkorrektur, mit zwei Wörterbüchern (`en,de`):
|
||||
└─────────────────────────────────────────────────────────────────────────────────┘
|
||||
....
|
||||
|
||||
[[buflist_plugin]]
|
||||
=== Buflist Erweiterung
|
||||
|
||||
Die Buflist-Erweiterung dient dazu eine Liste der Buffer in einer Bar-Item mit Namen "buflist"
|
||||
darzustellen. +
|
||||
Eine Standardbar, "buflist", wird beim Start automatisch erstellt, mit folgendem Inhalt.
|
||||
|
||||
[[buflist_options]]
|
||||
==== Options (buflist.conf)
|
||||
|
||||
Sektionen:
|
||||
|
||||
[width="100%",cols="3m,6m,16",options="header"]
|
||||
|===
|
||||
| Sektion | Steuerbefehl | Beschreibung
|
||||
| format | /set buflist.format.* | Format für die Darstellung der Bufferliste.
|
||||
| look | /set buflist.look.* | Erscheinungsbild.
|
||||
|===
|
||||
|
||||
Optionen:
|
||||
|
||||
include::autogen/user/buflist_options.adoc[]
|
||||
|
||||
[[buflist_commands]]
|
||||
==== Befehle
|
||||
|
||||
include::autogen/user/buflist_commands.adoc[]
|
||||
|
||||
[[charset_plugin]]
|
||||
=== Charset Erweiterung
|
||||
|
||||
@@ -2468,7 +2514,7 @@ $ openssl req -nodes -newkey rsa:2048 -keyout nick.pem -x509 -days 365 -out nick
|
||||
/msg nickserv cert add
|
||||
----
|
||||
|
||||
Für weiterreichende Informationen lesen Sie bitte: http://www.oftc.net/oftc/NickServ/CertFP
|
||||
Für weiterreichende Informationen lesen Sie bitte: https://www.oftc.net/NickServ/CertFP
|
||||
|
||||
[[irc_sasl_authentication]]
|
||||
==== SASL Authentifizierung
|
||||
@@ -2564,7 +2610,7 @@ und Port müssen dabei an die eigene TOR Konfiguration angepasst werden):
|
||||
Jetzt muss der neue Server hinzufügt werden, zum Beispiel:
|
||||
|
||||
----
|
||||
/server add freenode-tor p4fsi4ockecnea7l.onion
|
||||
/server add freenode-tor freenodeok2gncmy.onion
|
||||
----
|
||||
|
||||
Einen Proxy für TOR anlegen:
|
||||
@@ -2573,11 +2619,14 @@ Einen Proxy für TOR anlegen:
|
||||
/set irc.server.freenode-tor.proxy "tor"
|
||||
----
|
||||
|
||||
Die SASL Authentifikation einstellen:
|
||||
SASL Authentifikation mit ECDSA-NIST256P-CHALLENGE nutzen (siehe Kapitel
|
||||
<<irc_sasl_ecdsa_nist256p_challenge,SASL ECDSA-NIST256P-CHALLENGE>> um einen
|
||||
privaten Schlüssel zu generieren):
|
||||
|
||||
----
|
||||
/set irc.server.freenode-tor.sasl_mechanism ecdsa-nist256p-challenge
|
||||
/set irc.server.freenode-tor.sasl_username "your_nickname"
|
||||
/set irc.server.freenode-tor.sasl_password "your_password"
|
||||
/set irc.server.freenode-tor.sasl_key "%h/ecdsa.pem"
|
||||
----
|
||||
|
||||
Zum Abschluss stellt man eine Verbindung zum Server her:
|
||||
@@ -2586,7 +2635,8 @@ Zum Abschluss stellt man eine Verbindung zum Server her:
|
||||
/connect freenode-tor
|
||||
----
|
||||
|
||||
Um mehr über Freenode und TOR zu erfahren: http://freenode.net/irc_servers.shtml#tor
|
||||
Um mehr über Freenode und TOR zu erfahren:
|
||||
http://freenode.net/kb/answer/chat#accessing-freenode-via-tor
|
||||
|
||||
[[irc_smart_filter_join_part_quit]]
|
||||
==== einfacher Filter für join/part/quit Nachrichten
|
||||
@@ -3001,7 +3051,12 @@ Die Relay-Erweiterung wird genutzt um Daten, mittels unterschiedlicher Protokoll
|
||||
* _irc_: IRC Proxy: um mittels einem oder mehreren IRC-Clients eine Verbindung zu
|
||||
IRC Servern zu unterhalten.
|
||||
* _weechat_: Protokoll welches es erlaubt die Daten mit einer externen Oberfläche
|
||||
zu teilen (zum Beispiel QWeeChat)
|
||||
zu teilen, zum Beispiel:
|
||||
** Glowing Bear (HTML5): https://www.glowing-bear.org/
|
||||
** QWeeChat (Qt): https://weechat.org/download
|
||||
** WeeChat-Android (Android): https://github.com/ubergeek42/weechat-android
|
||||
** weechat.el (Emacs): https://github.com/the-kenny/weechat.el
|
||||
** WeeCloud (Javascript): https://github.com/eirikb/weecloud
|
||||
|
||||
[[relay_options]]
|
||||
==== Optionen (relay.conf)
|
||||
@@ -3528,20 +3583,22 @@ und die Daten in einer Hashtable gesichert:
|
||||
|
||||
[width="100%",cols="3m,2,14",options="header"]
|
||||
|===
|
||||
| Variable | Typ | Beschreibung
|
||||
| server | string | Name des Server (Beispiel: "freenode").
|
||||
| tags | string | Tags in Nachricht (findet selten Verwendung).
|
||||
| message_without_tags | string | Nachricht ohne Tags.
|
||||
| nick | string | Nick.
|
||||
| host | string | Hostname.
|
||||
| command | string | IRC Befehl (Beispiel: "PRIVMSG", "NOTICE", ...).
|
||||
| channel | string | IRC Channel.
|
||||
| arguments | string | Argumente des Befehls (Beinhaltet Wert von _channel_).
|
||||
| text | string | Text (zum Beipiel eine Nachricht eines Users).
|
||||
| pos_command | string | Index von _command_ innerhalb einer Nachricht ("-1" falls _command_ nicht gefunden wird).
|
||||
| pos_arguments | string | Index von_arguments_ innerhalb einer Nachricht ("-1" falls _arguments_ nicht gefunden wird).
|
||||
| pos_channel | string | Index von _channel_ innerhalb einer Nachricht ("-1" falls _channel_ nicht gefunden wird).
|
||||
| pos_text | string | Index von _text_ innerhalb einer Nachricht ("-1" falls _text_ nicht gefunden wird).
|
||||
| Variable | Typ | Beschreibung
|
||||
| irc_server | pointer | Pointer auf IRC Server (Variable in hdata vom Typ "irc_server" kann verwendet werden, wie `${irc_server.name}`).
|
||||
| irc_channel | pointer | Pointer auf IRC Channel (Variable in hdata vom Typ "irc_channel" kann verwendet werden, wie `${irc_channel.name}`).
|
||||
| server | string | Name des Server (Beispiel: "freenode").
|
||||
| tags | string | Tags in Nachricht (findet selten Verwendung).
|
||||
| message_without_tags | string | Nachricht ohne Tags.
|
||||
| nick | string | Nick.
|
||||
| host | string | Hostname.
|
||||
| command | string | IRC Befehl (Beispiel: "PRIVMSG", "NOTICE", ...).
|
||||
| channel | string | IRC Channel.
|
||||
| arguments | string | Argumente des Befehls (Beinhaltet Wert von _channel_).
|
||||
| text | string | Text (zum Beipiel eine Nachricht eines Users).
|
||||
| pos_command | string | Index von _command_ innerhalb einer Nachricht ("-1" falls _command_ nicht gefunden wird).
|
||||
| pos_arguments | string | Index von_arguments_ innerhalb einer Nachricht ("-1" falls _arguments_ nicht gefunden wird).
|
||||
| pos_channel | string | Index von _channel_ innerhalb einer Nachricht ("-1" falls _channel_ nicht gefunden wird).
|
||||
| pos_text | string | Index von _text_ innerhalb einer Nachricht ("-1" falls _text_ nicht gefunden wird).
|
||||
|===
|
||||
|
||||
Sofern es sich bei den Daten um einen Pointer handelt, kann die Variable `tg_signal_data`
|
||||
@@ -3805,5 +3862,6 @@ Unterstützung im IRC findet man auf dem Server _chat.freenode.net_:
|
||||
** _#weechat-fr_ (französisch)
|
||||
* kein offizieller Channel:
|
||||
** _#weechat-de_ (deutsch)
|
||||
** _#weechat-fi_ (finnisch)
|
||||
|
||||
Weitere Möglichkeiten, um mit den Entwicklern in Kontakt zu treten, siehe: https://weechat.org/dev/support
|
||||
|
||||
+2
-1
@@ -1,6 +1,6 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Copyright (C) 2008-2016 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2008-2017 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
@@ -90,6 +90,7 @@ PLUGIN_LIST = {
|
||||
'weechat': 'co',
|
||||
'alias': '',
|
||||
'aspell': 'o',
|
||||
'buflist': 'co',
|
||||
'charset': 'o',
|
||||
'exec': 'o',
|
||||
'fifo': 'o',
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
<!--
|
||||
Custom styles for Asciidoctor
|
||||
(C) 2016 Sébastien Helleu <flashcode@flashtux.org>
|
||||
Copyright (C) 2016-2017 Sébastien Helleu <flashcode@flashtux.org>
|
||||
-->
|
||||
<style>
|
||||
#header,#content,#footnotes,#footer {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2016 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2017 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2016 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2017 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2006 Julien Louis <ptitlouis@sysif.net>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
|
||||
@@ -168,6 +168,7 @@ _options_ (pointer) +
|
||||
_temp_server_ (integer) +
|
||||
_reloading_from_config_ (integer) +
|
||||
_reloaded_from_config_ (integer) +
|
||||
_addresses_eval_ (string) +
|
||||
_addresses_count_ (integer) +
|
||||
_addresses_array_ (string, array_size: "addresses_count") +
|
||||
_ports_array_ (integer, array_size: "addresses_count") +
|
||||
@@ -456,6 +457,9 @@ _gui_objects_ (pointer) +
|
||||
_prev_bar_window_ (pointer, hdata: "bar_window") +
|
||||
_next_bar_window_ (pointer, hdata: "bar_window") +
|
||||
|
||||
*Update allowed:* +
|
||||
_scroll_x_ (integer) +
|
||||
_scroll_y_ (integer) +
|
||||
|
||||
| weechat
|
||||
| [[hdata_buffer]]<<hdata_buffer,buffer>>
|
||||
@@ -541,6 +545,7 @@ _highlight_tags_restrict_array_ (pointer, array_size: "highlight_tags_restric
|
||||
_highlight_tags_ (string) +
|
||||
_highlight_tags_count_ (integer) +
|
||||
_highlight_tags_array_ (pointer, array_size: "highlight_tags_count") +
|
||||
_hotlist_ (pointer, hdata: "hotlist") +
|
||||
_hotlist_max_level_nicks_ (hashtable) +
|
||||
_keys_ (pointer, hdata: "key") +
|
||||
_last_key_ (pointer, hdata: "key") +
|
||||
|
||||
@@ -64,6 +64,8 @@
|
||||
|
||||
| weechat | term_width | width of terminal | -
|
||||
|
||||
| weechat | uptime | WeeChat uptime (format: "days:hh:mm:ss") | "days" (number of days) or "seconds" (number of seconds) (optional)
|
||||
|
||||
| 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) | -
|
||||
|
||||
@@ -2,12 +2,13 @@
|
||||
// This file is auto-generated by script docgen.py.
|
||||
// DO NOT EDIT BY HAND!
|
||||
//
|
||||
. charset (13000)
|
||||
. logger (12000)
|
||||
. exec (11000)
|
||||
. trigger (10000)
|
||||
. aspell (9000)
|
||||
. alias (8000)
|
||||
. charset (14000)
|
||||
. logger (13000)
|
||||
. exec (12000)
|
||||
. trigger (11000)
|
||||
. aspell (10000)
|
||||
. alias (9000)
|
||||
. buflist (8000)
|
||||
. fifo (7000)
|
||||
. xfer (6000)
|
||||
. irc (5000)
|
||||
|
||||
@@ -18,19 +18,23 @@
|
||||
|
||||
| failonerror | long |
|
||||
|
||||
| keep_sending_on_error | long |
|
||||
|
||||
| proxy | string |
|
||||
|
||||
| proxyport | long |
|
||||
|
||||
| port | long |
|
||||
|
||||
| pre_proxy | string |
|
||||
|
||||
| httpproxytunnel | long |
|
||||
|
||||
| interface | string |
|
||||
|
||||
| dns_cache_timeout | long |
|
||||
|
||||
| proxytype | long | http, socks4, socks5, socks4a, socks5_hostname, http_1_0
|
||||
| proxytype | long | http, socks4, socks5, socks4a, socks5_hostname, http_1_0, https
|
||||
|
||||
| buffersize | long |
|
||||
|
||||
@@ -278,7 +282,7 @@
|
||||
|
||||
| sslcert | string |
|
||||
|
||||
| sslversion | long | default, tlsv1, sslv2, sslv3
|
||||
| sslversion | long | default, tlsv1, sslv2, sslv3, tlsv1_0, tlsv1_1, tlsv1_2, tlsv1_3
|
||||
|
||||
| ssl_verifypeer | long |
|
||||
|
||||
@@ -330,6 +334,38 @@
|
||||
|
||||
| ssl_falsestart | long |
|
||||
|
||||
| proxy_cainfo | string |
|
||||
|
||||
| proxy_capath | string |
|
||||
|
||||
| proxy_crlfile | string |
|
||||
|
||||
| proxy_keypasswd | string |
|
||||
|
||||
| proxy_pinnedpublickey | string |
|
||||
|
||||
| proxy_sslcert | string |
|
||||
|
||||
| proxy_sslcerttype | string |
|
||||
|
||||
| proxy_sslkey | string |
|
||||
|
||||
| proxy_sslkeytype | string |
|
||||
|
||||
| proxy_sslversion | long | default, tlsv1, sslv2, sslv3, tlsv1_0, tlsv1_1, tlsv1_2, tlsv1_3
|
||||
|
||||
| proxy_ssl_options | long | allow_beast, no_revoke
|
||||
|
||||
| proxy_ssl_verifyhost | long |
|
||||
|
||||
| proxy_ssl_verifypeer | long |
|
||||
|
||||
| proxy_tlsauth_password | string |
|
||||
|
||||
| proxy_tlsauth_type | string |
|
||||
|
||||
| proxy_tlsauth_username | string |
|
||||
|
||||
| ssh_auth_types | mask | none, policy_flag, flag
|
||||
|
||||
| ssh_public_keyfile | string |
|
||||
|
||||
@@ -50,8 +50,32 @@
|
||||
** 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: `+lightred+`
|
||||
|
||||
* [[option_aspell.color.suggestions]] *aspell.color.suggestions*
|
||||
** description: pass:none[text color for suggestions on a misspelled word (status bar)]
|
||||
* [[option_aspell.color.suggestion]] *aspell.color.suggestion*
|
||||
** description: pass:none[text color for suggestion on a misspelled word in bar item "aspell_suggest"]
|
||||
** type: color
|
||||
** values: a WeeChat color name (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), a terminal color number or an alias; attributes are allowed before color (for text color only, not background): "*" for bold, "!" for reverse, "/" for italic, "_" for underline
|
||||
** default value: `+default+`
|
||||
|
||||
* [[option_aspell.color.suggestion_delimiter_dict]] *aspell.color.suggestion_delimiter_dict*
|
||||
** description: pass:none[text color for delimiters displayed between two dictionaries in bar item "aspell_suggest"]
|
||||
** 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_aspell.color.suggestion_delimiter_word]] *aspell.color.suggestion_delimiter_word*
|
||||
** description: pass:none[text color for delimiters displayed between two words in bar item "aspell_suggest"]
|
||||
** 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_aspell.look.suggestion_delimiter_dict]] *aspell.look.suggestion_delimiter_dict*
|
||||
** description: pass:none[delimiter displayed between two dictionaries in bar item "aspell_suggest"]
|
||||
** type: string
|
||||
** values: any string
|
||||
** default value: `+" / "+`
|
||||
|
||||
* [[option_aspell.look.suggestion_delimiter_word]] *aspell.look.suggestion_delimiter_word*
|
||||
** description: pass:none[delimiter displayed between two words in bar item "aspell_suggest"]
|
||||
** type: string
|
||||
** values: any string
|
||||
** default value: `+","+`
|
||||
|
||||
@@ -0,0 +1,47 @@
|
||||
//
|
||||
// This file is auto-generated by script docgen.py.
|
||||
// DO NOT EDIT BY HAND!
|
||||
//
|
||||
[[command_buflist_buflist]]
|
||||
* `+buflist+`: bar item with list of buffers
|
||||
|
||||
----
|
||||
/buflist bar
|
||||
refresh
|
||||
|
||||
bar: add the "buflist" bar
|
||||
refresh: force the refresh of the "buflist" bar item
|
||||
|
||||
The lines with buffers are displayed using string evaluation (see /help eval for the format), with these options:
|
||||
- buflist.look.display_conditions: conditions to display a buffer in the list
|
||||
- buflist.format.buffer: format for a buffer which is not current buffer
|
||||
- buflist.format.buffer_current: format for the current buffer
|
||||
|
||||
The following variables can be used in these options:
|
||||
- buffer data (see hdata "buffer" in API doc for a complete list), for example:
|
||||
- ${buffer.number}
|
||||
- ${buffer.name}
|
||||
- ${buffer.full_name}
|
||||
- ${buffer.short_name}
|
||||
- ${buffer.nicklist_nicks_count}
|
||||
- irc_server: IRC server data, defined only on an IRC buffer (see hdata "irc_server" in API doc)
|
||||
- irc_channel: IRC channel data, defined only on an IRC channel buffer (see hdata "irc_channel" in API doc)
|
||||
- extra variables added by buflist for convenience:
|
||||
- ${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}: a boolean ("0" or "1"), "1" if this is the current buffer; it can be used in a condition: ${if:${current_buffer}?...:...}
|
||||
- ${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}: indented number with separator (evaluation of option buflist.format.number)
|
||||
- ${number}: indented number, for example " 1" if there are between 10 and 99 buffers
|
||||
- ${number_displayed}: "1" if the number is displayed, otherwise "0"
|
||||
- ${indent}: indentation for name (channel and private buffers are indented) (evaluation of option buflist.format.indent)
|
||||
- ${format_nick_prefix}: colored nick prefix for a channel (evaluation of option buflist.format.nick_prefix)
|
||||
- ${color_nick_prefix}: color of nick prefix for a channel (set only if the option buflist.look.nick_prefix is enabled)
|
||||
- ${nick_prefix}: nick prefix for a channel (set only if the option buflist.look.nick_prefix is enabled)
|
||||
- ${format_name}: formatted name (evaluation of option buflist.format.name)
|
||||
- ${name}: the short name (if set), with a fallback on the name
|
||||
- ${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}: the formatted hotlist (evaluation of option buflist.format.hotlist)
|
||||
- ${hotlist}: the raw hotlist
|
||||
- ${hotlist_priority}: "none", "low", "message", "private" or "highlight"
|
||||
- ${format_lag}: the lag for an IRC server buffer, empty if there's no lag (evaluation of option buflist.format.lag)
|
||||
----
|
||||
@@ -0,0 +1,147 @@
|
||||
//
|
||||
// This file is auto-generated by script docgen.py.
|
||||
// DO NOT EDIT BY HAND!
|
||||
//
|
||||
* [[option_buflist.format.buffer]] *buflist.format.buffer*
|
||||
** description: pass:none[format of each line with a buffer (note: content is evaluated, see /help buflist)]
|
||||
** type: string
|
||||
** values: any string
|
||||
** default value: `+"${format_number}${indent}${format_nick_prefix}${color_hotlist}${format_name}"+`
|
||||
|
||||
* [[option_buflist.format.buffer_current]] *buflist.format.buffer_current*
|
||||
** description: pass:none[format for the line with current buffer (note: content is evaluated, see /help buflist)]
|
||||
** type: string
|
||||
** values: any string
|
||||
** default value: `+"${color:,blue}${format_buffer}"+`
|
||||
|
||||
* [[option_buflist.format.hotlist]] *buflist.format.hotlist*
|
||||
** description: pass:none[format for hotlist (note: content is evaluated, see /help buflist)]
|
||||
** type: string
|
||||
** values: any string
|
||||
** default value: `+" ${color:green}(${hotlist}${color:green})"+`
|
||||
|
||||
* [[option_buflist.format.hotlist_highlight]] *buflist.format.hotlist_highlight*
|
||||
** description: pass:none[format for a buffer with hotlist level "highlight" (note: content is evaluated, see /help buflist)]
|
||||
** type: string
|
||||
** values: any string
|
||||
** default value: `+"${color:magenta}"+`
|
||||
|
||||
* [[option_buflist.format.hotlist_low]] *buflist.format.hotlist_low*
|
||||
** description: pass:none[format for a buffer with hotlist level "low" (note: content is evaluated, see /help buflist)]
|
||||
** type: string
|
||||
** values: any string
|
||||
** default value: `+"${color:white}"+`
|
||||
|
||||
* [[option_buflist.format.hotlist_message]] *buflist.format.hotlist_message*
|
||||
** description: pass:none[format for a buffer with hotlist level "message" (note: content is evaluated, see /help buflist)]
|
||||
** type: string
|
||||
** values: any string
|
||||
** default value: `+"${color:brown}"+`
|
||||
|
||||
* [[option_buflist.format.hotlist_none]] *buflist.format.hotlist_none*
|
||||
** description: pass:none[format for a buffer not in hotlist (note: content is evaluated, see /help buflist)]
|
||||
** type: string
|
||||
** values: any string
|
||||
** default value: `+"${color:default}"+`
|
||||
|
||||
* [[option_buflist.format.hotlist_private]] *buflist.format.hotlist_private*
|
||||
** description: pass:none[format for a buffer with hotlist level "private" (note: content is evaluated, see /help buflist)]
|
||||
** type: string
|
||||
** values: any string
|
||||
** default value: `+"${color:green}"+`
|
||||
|
||||
* [[option_buflist.format.hotlist_separator]] *buflist.format.hotlist_separator*
|
||||
** description: pass:none[separator for counts in hotlist (note: content is evaluated, see /help buflist)]
|
||||
** type: string
|
||||
** values: any string
|
||||
** default value: `+"${color:default},"+`
|
||||
|
||||
* [[option_buflist.format.indent]] *buflist.format.indent*
|
||||
** description: pass:none[string displayed to indent channel and private buffers (note: content is evaluated, see /help buflist)]
|
||||
** type: string
|
||||
** values: any string
|
||||
** default value: `+" "+`
|
||||
|
||||
* [[option_buflist.format.lag]] *buflist.format.lag*
|
||||
** description: pass:none[format for lag on an IRC server buffer (note: content is evaluated, see /help buflist)]
|
||||
** type: string
|
||||
** values: any string
|
||||
** default value: `+" ${color:green}[${color:brown}${lag}${color:green}]"+`
|
||||
|
||||
* [[option_buflist.format.name]] *buflist.format.name*
|
||||
** description: pass:none[format for buffer name (note: content is evaluated, see /help buflist)]
|
||||
** type: string
|
||||
** values: any string
|
||||
** default value: `+"${name}"+`
|
||||
|
||||
* [[option_buflist.format.nick_prefix]] *buflist.format.nick_prefix*
|
||||
** description: pass:none[format for nick prefix on a channel (note: content is evaluated, see /help buflist)]
|
||||
** type: string
|
||||
** values: any string
|
||||
** default value: `+"${color_nick_prefix}${nick_prefix}"+`
|
||||
|
||||
* [[option_buflist.format.number]] *buflist.format.number*
|
||||
** description: pass:none[format for buffer number, ${number} is the indented number (note: content is evaluated, see /help buflist)]
|
||||
** type: string
|
||||
** values: any string
|
||||
** default value: `+"${color:green}${number}${if:${number_displayed}?.: }"+`
|
||||
|
||||
* [[option_buflist.look.auto_scroll]] *buflist.look.auto_scroll*
|
||||
** description: pass:none[automatically scroll the buflist bar to always see the current buffer (this works only with a bar on the left/right position with a "vertical" filling); this value is the percent number of lines displayed before the current buffer when scrolling (-1 = disable scroll); for example 50 means that after a scroll, the current buffer is at the middle of bar, 0 means on top of bar, 100 means at bottom of bar]
|
||||
** type: integer
|
||||
** values: -1 .. 100
|
||||
** default value: `+50+`
|
||||
|
||||
* [[option_buflist.look.display_conditions]] *buflist.look.display_conditions*
|
||||
** description: pass:none[conditions to display a buffer (note: content is evaluated, see /help buflist); for example to hide server buffers if they are merged with core buffer: "${buffer.hidden}==0 && ((${type}!=server && ${buffer.full_name}!=core.weechat) || ${buffer.active}==1)"]
|
||||
** type: string
|
||||
** values: any string
|
||||
** default value: `+"${buffer.hidden}==0"+`
|
||||
|
||||
* [[option_buflist.look.enabled]] *buflist.look.enabled*
|
||||
** description: pass:none[enable buflist]
|
||||
** type: boolean
|
||||
** values: on, off
|
||||
** default value: `+on+`
|
||||
|
||||
* [[option_buflist.look.mouse_jump_visited_buffer]] *buflist.look.mouse_jump_visited_buffer*
|
||||
** description: pass:none[if enabled, clicks with left/right buttons on the line with current buffer jump to previous/next visited buffer]
|
||||
** type: boolean
|
||||
** values: on, off
|
||||
** default value: `+off+`
|
||||
|
||||
* [[option_buflist.look.mouse_move_buffer]] *buflist.look.mouse_move_buffer*
|
||||
** description: pass:none[if enabled, mouse gestures (drag & drop) move buffers in list]
|
||||
** type: boolean
|
||||
** values: on, off
|
||||
** default value: `+on+`
|
||||
|
||||
* [[option_buflist.look.mouse_wheel]] *buflist.look.mouse_wheel*
|
||||
** description: pass:none[if enabled, mouse wheel up/down actions jump to previous/next buffer in list]
|
||||
** type: boolean
|
||||
** values: on, off
|
||||
** default value: `+on+`
|
||||
|
||||
* [[option_buflist.look.nick_prefix]] *buflist.look.nick_prefix*
|
||||
** description: pass:none[get the nick prefix and its color from nicklist so that ${nick_prefix} can be used in format; this can be slow on buffers with lot of nicks in nicklist, so this option is disabled by default]
|
||||
** type: boolean
|
||||
** values: on, off
|
||||
** default value: `+off+`
|
||||
|
||||
* [[option_buflist.look.nick_prefix_empty]] *buflist.look.nick_prefix_empty*
|
||||
** description: pass:none[when the nick prefix is enabled, display a space instead if there is no nick prefix on the buffer]
|
||||
** type: boolean
|
||||
** values: on, off
|
||||
** default value: `+on+`
|
||||
|
||||
* [[option_buflist.look.signals_refresh]] *buflist.look.signals_refresh*
|
||||
** description: pass:none[comma-separated list of extra signals that are hooked and trigger the refresh of buffers list; this can be useful if some custom variables are used in formats and need specific refresh]
|
||||
** type: string
|
||||
** values: any string
|
||||
** default value: `+""+`
|
||||
|
||||
* [[option_buflist.look.sort]] *buflist.look.sort*
|
||||
** description: pass:none[comma-separated list of fields to sort buffers; each field is a hdata variable of buffer ("var"), a hdata variable of IRC server ("irc_server.var") or a hdata variable of IRC channel ("irc_channel.var"); char "-" can be used before field to reverse order, char "~" can be used to do a case insensitive comparison; example: "-~short_name" for case insensitive and reverse sort on buffer short name]
|
||||
** type: string
|
||||
** values: any string
|
||||
** default value: `+"number,-active"+`
|
||||
@@ -19,15 +19,16 @@
|
||||
-list: list commands
|
||||
-sh: use the shell to execute the command (WARNING: use this option ONLY if all arguments are safe, see option -nosh)
|
||||
-nosh: do not use the shell to execute the command (required if the command has some unsafe data, for example the content of a message from another user) (default)
|
||||
-bg: run process in background: do not display process output neither return code (not compatible with options -o/-n)
|
||||
-bg: run process in background: do not display process output neither return code (not compatible with options -o/-oc/-n/-nf/-pipe/-hsignal)
|
||||
-nobg: catch process output and display return code (default)
|
||||
-stdin: create a pipe for sending data to the process (with /exec -in/-inclose)
|
||||
-nostdin: do not create a pipe for stdin (default)
|
||||
-buffer: display/send output of command on this buffer (if the buffer is not found, a new buffer with name "exec.exec.xxx" is created)
|
||||
-l: display locally output of command on buffer (default)
|
||||
-o: send output of command to the buffer (not compatible with option -bg)
|
||||
-n: display output of command in a new buffer (not compatible with option -bg)
|
||||
-nf: display output of command in a new buffer with free content (no word-wrap, no limit on number of lines) (not compatible with option -bg)
|
||||
-o: send output of command to the buffer without executing commands (not compatible with options -bg/-pipe/-hsignal)
|
||||
-oc: send output of command to the buffer and execute commands (lines starting with "/" or another custom command char) (not compatible with options -bg/-pipe/-hsignal)
|
||||
-n: display output of command in a new buffer (not compatible with options -bg/-pipe/-hsignal)
|
||||
-nf: display output of command in a new buffer with free content (no word-wrap, no limit on number of lines) (not compatible with options -bg/-pipe/-hsignal)
|
||||
-cl: clear the new buffer before displaying output
|
||||
-nocl: append to the new buffer without clear (default)
|
||||
-sw: switch to the output buffer (default)
|
||||
@@ -46,8 +47,8 @@
|
||||
-norc: don't display return code
|
||||
-timeout: set a timeout for the command (in seconds)
|
||||
-name: set a name for the command (to name it later with /exec)
|
||||
-pipe: send the output to a WeeChat/plugin command (line by line); if there are spaces in command/arguments, enclose them with double quotes; variable $line is replaced by the line (by default the line is added after the command, separated by a space) (not compatible with options -bg/-o/-n)
|
||||
-hsignal: send the output as a hsignal (to be used for example in a trigger) (not compatible with options -bg/-o/-n)
|
||||
-pipe: send the output to a WeeChat/plugin command (line by line); if there are spaces in command/arguments, enclose them with double quotes; variable $line is replaced by the line (by default the line is added after the command, separated by a space) (not compatible with options -bg/-o/-oc/-n/-nf)
|
||||
-hsignal: send the output as a hsignal (to be used for example in a trigger) (not compatible with options -bg/-o/-oc/-n/-nf)
|
||||
command: the command to execute; if beginning with "url:", the shell is disabled and the content of URL is downloaded and sent as output
|
||||
id: command identifier: either its number or name (if set with "-name xxx")
|
||||
-in: send text on standard input of process
|
||||
|
||||
@@ -16,9 +16,11 @@ target: server name
|
||||
|
||||
----
|
||||
/allchan [-current] [-exclude=<channel>[,<channel>...]] <command> [<arguments>]
|
||||
[-current] -include=<channel>[,<channel>...] <command> [<arguments>]
|
||||
|
||||
-current: execute command for channels of current server only
|
||||
-exclude: exclude some channels (wildcard "*" is allowed)
|
||||
-include: include only some channels (wildcard "*" is allowed)
|
||||
command: command to execute
|
||||
arguments: arguments for command (special variables $nick, $channel and $server are replaced by their value)
|
||||
|
||||
@@ -29,6 +31,8 @@ Examples:
|
||||
/allchan -exclude=#weechat msg * hello
|
||||
say 'hello' everywhere but not on #weechat and channels beginning with #linux:
|
||||
/allchan -exclude=#weechat,#linux* msg * hello
|
||||
say 'hello' on all channels beginning with #linux:
|
||||
/allchan -include=#linux* msg * hello
|
||||
----
|
||||
|
||||
[[command_irc_allpv]]
|
||||
@@ -36,9 +40,11 @@ Examples:
|
||||
|
||||
----
|
||||
/allpv [-current] [-exclude=<nick>[,<nick>...]] <command> [<arguments>]
|
||||
[-current] -include=<nick>[,<nick>...] <command> [<arguments>]
|
||||
|
||||
-current: execute command for private buffers of current server only
|
||||
-exclude: exclude some nicks (wildcard "*" is allowed)
|
||||
-include: include only some nicks (wildcard "*" is allowed)
|
||||
command: command to execute
|
||||
arguments: arguments for command (special variables $nick, $channel and $server are replaced by their value)
|
||||
|
||||
@@ -49,6 +55,8 @@ Examples:
|
||||
/allpv -exclude=foo msg * hello
|
||||
say 'hello' everywhere but not for nick foo and nicks beginning with bar:
|
||||
/allpv -exclude=foo,bar* msg * hello
|
||||
say 'hello' for all nicks beginning with bar:
|
||||
/allpv -include=bar* msg * hello
|
||||
close all private buffers:
|
||||
/allpv close
|
||||
----
|
||||
@@ -58,8 +66,10 @@ Examples:
|
||||
|
||||
----
|
||||
/allserv [-exclude=<server>[,<server>...]] <command> [<arguments>]
|
||||
-include=<server>[,<server>...] <command> [<arguments>]
|
||||
|
||||
-exclude: exclude some servers (wildcard "*" is allowed)
|
||||
-include: include only some servers (wildcard "*" is allowed)
|
||||
command: command to execute
|
||||
arguments: arguments for command (special variables $nick, $channel and $server are replaced by their value)
|
||||
|
||||
@@ -713,6 +723,7 @@ reason: reason
|
||||
add <server> <hostname>[/<port>] [-temp] [-<option>[=<value>]] [-no<option>]
|
||||
copy|rename <server> <new_name>
|
||||
reorder <server> [<server>...]
|
||||
open <server>|-all [<server>...]
|
||||
del|keep <server>
|
||||
deloutq|jump|raw
|
||||
|
||||
@@ -721,12 +732,13 @@ listfull: list servers with detailed info for each server
|
||||
add: add a new server
|
||||
server: server name, for internal and display use
|
||||
hostname: name or IP address of server, with optional port (default: 6667), many addresses can be separated by a comma
|
||||
temp: add a temporary server (not saved)
|
||||
-temp: add a temporary server (not saved)
|
||||
option: set option for server (for boolean option, value can be omitted)
|
||||
nooption: set boolean option to 'off' (for example: -nossl)
|
||||
copy: duplicate a server
|
||||
rename: rename a server
|
||||
reorder: reorder list of servers
|
||||
open: open the server buffer without connecting
|
||||
keep: keep server in config file (for temporary servers only)
|
||||
del: delete a server
|
||||
deloutq: delete messages out queue for all servers (all messages WeeChat is currently sending)
|
||||
|
||||
@@ -477,7 +477,7 @@
|
||||
** default value: `+300+`
|
||||
|
||||
* [[option_irc.network.lag_refresh_interval]] *irc.network.lag_refresh_interval*
|
||||
** description: pass:none[interval between two refreshs of lag item, when lag is increasing (in seconds)]
|
||||
** description: pass:none[interval between two refreshes of lag item, when lag is increasing (in seconds)]
|
||||
** type: integer
|
||||
** values: 1 .. 3600
|
||||
** default value: `+1+`
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
----
|
||||
/relay list|listfull|listrelay
|
||||
add <name> <port>
|
||||
del|stop|restart <name>
|
||||
del|start|restart|stop <name>
|
||||
raw
|
||||
sslcertkey
|
||||
|
||||
@@ -17,8 +17,9 @@
|
||||
listrelay: list relays (name and port)
|
||||
add: add a relay (listen on a port)
|
||||
del: remove a relay (clients remain connected)
|
||||
stop: close the server socket (clients remain connected)
|
||||
start: listen on port
|
||||
restart: close the server socket and listen again on port (clients remain connected)
|
||||
stop: close the server socket (clients remain connected)
|
||||
name: relay name (see format below)
|
||||
port: port used for relay
|
||||
raw: open buffer with raw Relay data
|
||||
|
||||
@@ -237,13 +237,7 @@
|
||||
** default value: `+"%h/script"+`
|
||||
|
||||
* [[option_script.scripts.url]] *script.scripts.url*
|
||||
** description: pass:none[URL for file with list of scripts; by default HTTPS is forced, see option script.scripts.url_force_https]
|
||||
** description: pass:none[URL for file with list of scripts]
|
||||
** type: string
|
||||
** values: any string
|
||||
** default value: `+"http://weechat.org/files/plugins.xml.gz"+`
|
||||
|
||||
* [[option_script.scripts.url_force_https]] *script.scripts.url_force_https*
|
||||
** description: pass:none[force use of HTTPS for downloads (index and scripts); you should disable this option only if you have problems with the downloads]
|
||||
** type: boolean
|
||||
** values: on, off
|
||||
** default value: `+on+`
|
||||
** default value: `+"https://weechat.org/files/plugins.xml.gz"+`
|
||||
|
||||
@@ -72,7 +72,7 @@ Examples:
|
||||
clear [<number>|<name>|-merged|-all [<number>|<name>...]]
|
||||
move <number>|-|+
|
||||
swap <number1>|<name1> [<number2>|<name2>]
|
||||
cycle <number>|<name> [<number>|<name>...]]
|
||||
cycle <number>|<name> [<number>|<name>...]
|
||||
merge <number>
|
||||
unmerge [<number>|-all]
|
||||
hide [<number>|<name>|-all [<number>|<name>...]]
|
||||
@@ -274,6 +274,8 @@ expression: expression to evaluate, variables with format ${variable} are replac
|
||||
> greater
|
||||
=~ is matching POSIX extended regex
|
||||
!~ is NOT matching POSIX extended regex
|
||||
=* is matching mask (wildcard "*" is allowed)
|
||||
!* is NOT matching mask (wildcard "*" is allowed)
|
||||
|
||||
An expression is considered as "true" if it is not NULL, not empty, and different from "0".
|
||||
The comparison is made using integers if the two expressions are valid integers.
|
||||
@@ -285,13 +287,16 @@ Some variables are replaced in expression, using the format ${variable}, variabl
|
||||
1. an evaluated sub-string (format: "eval:xxx")
|
||||
2. a string with escaped chars (format: "esc:xxx" or "\xxx")
|
||||
3. a string with chars to hide (format: "hide:char,string")
|
||||
4. a color (format: "color:xxx")
|
||||
5. an info (format: "info:name,arguments", arguments are optional)
|
||||
6. current date/time (format: "date" or "date:format")
|
||||
7. an environment variable (format: "env:XXX")
|
||||
8. an option (format: "file.section.option")
|
||||
9. a local variable in buffer
|
||||
10. a hdata name/variable (the value is automatically converted to string), by default "window" and "buffer" point to current window/buffer.
|
||||
4. 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")
|
||||
5. a color (format: "color:xxx", see "Plugin API reference", function "color")
|
||||
6. an info (format: "info:name,arguments", arguments are optional)
|
||||
7. current date/time (format: "date" or "date:format")
|
||||
8. an environment variable (format: "env:XXX")
|
||||
9. a ternary operator (format: "if:condition?value_if_true:value_if_false")
|
||||
10. an option (format: "file.section.option")
|
||||
11. a local variable in buffer
|
||||
12. a hdata name/variable (the value is automatically converted to string), by default "window" and "buffer" point to current window/buffer.
|
||||
Format for hdata can be one of following:
|
||||
hdata.var1.var2...: start with a hdata (pointer must be known), and ask variables one after one (other hdata can be followed)
|
||||
hdata[list].var1.var2...: start with a hdata using a list, for example:
|
||||
@@ -302,16 +307,19 @@ Format for hdata can be one of following:
|
||||
For name of hdata and variables, please look at "Plugin API reference", function "weechat_hdata_get".
|
||||
|
||||
Examples (simple strings):
|
||||
/eval -n ${info:version} ==> 0.4.3
|
||||
/eval -n ${env:HOME} ==> /home/user
|
||||
/eval -n ${weechat.look.scroll_amount} ==> 3
|
||||
/eval -n ${window} ==> 0x2549aa0
|
||||
/eval -n ${window.buffer} ==> 0x2549320
|
||||
/eval -n ${window.buffer.full_name} ==> core.weechat
|
||||
/eval -n ${window.buffer.number} ==> 1
|
||||
/eval -n ${\t} ==> <tab>
|
||||
/eval -n ${hide:-,${relay.network.password}} ==> --------
|
||||
/eval -n ${date:%H:%M:%S} ==> 07:46:40
|
||||
/eval -n ${info:version} ==> 0.4.3
|
||||
/eval -n ${env:HOME} ==> /home/user
|
||||
/eval -n ${weechat.look.scroll_amount} ==> 3
|
||||
/eval -n ${window} ==> 0x2549aa0
|
||||
/eval -n ${window.buffer} ==> 0x2549320
|
||||
/eval -n ${window.buffer.full_name} ==> core.weechat
|
||||
/eval -n ${window.buffer.number} ==> 1
|
||||
/eval -n ${\t} ==> <tab>
|
||||
/eval -n ${hide:-,${relay.network.password}} ==> --------
|
||||
/eval -n ${cut:3,+,test} ==> tes+
|
||||
/eval -n ${cut:+3,+,test} ==> te+
|
||||
/eval -n ${date:%H:%M:%S} ==> 07:46:40
|
||||
/eval -n ${if:${info:term_width}>80?big:small} ==> big
|
||||
|
||||
Examples (conditions):
|
||||
/eval -n -c ${window.buffer.number} > 2 ==> 0
|
||||
@@ -322,6 +330,7 @@ Examples (conditions):
|
||||
/eval -n -c abcd =~ (?-i)^ABC ==> 0
|
||||
/eval -n -c abcd =~ (?-i)^abc ==> 1
|
||||
/eval -n -c abcd !~ abc ==> 0
|
||||
/eval -n -c abcd =* a*d ==> 1
|
||||
----
|
||||
|
||||
[[command_weechat_filter]]
|
||||
@@ -939,13 +948,13 @@ Examples:
|
||||
-1|+1|b#|up|down|left|right [-window <number>]
|
||||
<number>
|
||||
splith|splitv [-window <number>] [<pct>]
|
||||
resize [-window <number>] [+/-]<pct>
|
||||
resize [-window <number>] [h|v][+|-]<pct>
|
||||
balance
|
||||
merge [-window <number>] [all]
|
||||
page_up|page_down [-window <number>]
|
||||
refresh
|
||||
scroll [-window <number>] [+/-]<value>[s|m|h|d|M|y]
|
||||
scroll_horiz [-window <number>] [+/-]<value>[%]
|
||||
scroll [-window <number>] [+|-]<value>[s|m|h|d|M|y]
|
||||
scroll_horiz [-window <number>] [+|-]<value>[%]
|
||||
scroll_up|scroll_down|scroll_top|scroll_bottom|scroll_beyond_end|scroll_previous_highlight|scroll_next_highlight|scroll_unread [-window <number>]
|
||||
swap [-window <number>] [up|down|left|right]
|
||||
zoom [-window <number>]
|
||||
@@ -963,6 +972,7 @@ Examples:
|
||||
splith: split current window horizontally (to undo: /window merge)
|
||||
splitv: split current window vertically (to undo: /window merge)
|
||||
resize: resize window size, new size is <pct> percentage of parent window
|
||||
if "h" or "v" is specified, the resize affects the nearest parent window with a split of this type (horizontal/vertical)
|
||||
balance: balance the sizes of all windows
|
||||
merge: merge window with another (all = keep only one window)
|
||||
page_up: scroll one page up
|
||||
@@ -995,8 +1005,12 @@ Examples:
|
||||
/window scroll -d
|
||||
zoom on window #2:
|
||||
/window zoom -window 2
|
||||
split window horizontally using 30%% of space for the window on top:
|
||||
split window horizontally using 30% of space for the window on top:
|
||||
/window splith 30
|
||||
resize window to 75% of the parent window size:
|
||||
/window resize 75
|
||||
resize vertical split, add 10% in size:
|
||||
/window resize v+10
|
||||
remove the split:
|
||||
/window merge
|
||||
enable bare display for 2 seconds:
|
||||
|
||||
@@ -410,6 +410,12 @@
|
||||
** values: on, off
|
||||
** default value: `+on+`
|
||||
|
||||
* [[option_weechat.completion.nick_case_sensitive]] *weechat.completion.nick_case_sensitive*
|
||||
** description: pass:none[case sensitive completion for nicks]
|
||||
** type: boolean
|
||||
** values: on, off
|
||||
** default value: `+off+`
|
||||
|
||||
* [[option_weechat.completion.nick_completer]] *weechat.completion.nick_completer*
|
||||
** description: pass:none[string inserted after nick completion (when nick is first word on command line)]
|
||||
** type: string
|
||||
|
||||
@@ -64,12 +64,18 @@ $HOME/.weechat/alias.conf::
|
||||
$HOME/.weechat/aspell.conf::
|
||||
configuration file for _aspell_ plugin
|
||||
|
||||
$HOME/.weechat/buflist.conf::
|
||||
configuration file for _buflist_ plugin
|
||||
|
||||
$HOME/.weechat/charset.conf::
|
||||
configuration file for _charset_ plugin
|
||||
|
||||
$HOME/.weechat/exec.conf::
|
||||
configuration file for _exec_ plugin
|
||||
|
||||
$HOME/.weechat/fifo.conf::
|
||||
configuration file for _fifo_ plugin
|
||||
|
||||
$HOME/.weechat/irc.conf::
|
||||
configuration file for _irc_ plugin
|
||||
|
||||
@@ -100,7 +106,7 @@ This manpage was written by {author}.
|
||||
WeeChat is written by Sébastien Helleu and contributors (complete list is in
|
||||
the AUTHORS.adoc file).
|
||||
|
||||
Copyright (C) 2003-2016 {author}
|
||||
Copyright (C) 2003-2017 {author}
|
||||
|
||||
WeeChat is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
||||
@@ -68,6 +68,7 @@ The main WeeChat directories are:
|
||||
| plugins/ | Plugin and scripting API.
|
||||
| alias/ | Alias plugin.
|
||||
| aspell/ | Aspell plugin.
|
||||
| buflist/ | Buflist plugin.
|
||||
| charset/ | Charset plugin.
|
||||
| exec/ | Exec plugin.
|
||||
| fifo/ | Fifo plugin (FIFO pipe used to remotely send commands to WeeChat).
|
||||
@@ -193,6 +194,12 @@ WeeChat "core" is located in following directories:
|
||||
| weechat-aspell-config.c | Aspell config options (file aspell.conf).
|
||||
| weechat-aspell-info.c | Aspell info/infolists/hdata.
|
||||
| weechat-aspell-speller.c | Spellers management.
|
||||
| buflist/ | Buflist plugin.
|
||||
| buflist.c | Main buflist functions.
|
||||
| buflist-bar-item.c | Buflist bar items.
|
||||
| buflist-command.c | Buflist commands.
|
||||
| buflist-config.c | Buflist config options (file buflist.conf).
|
||||
| buflist-mouse.c | Buflist mouse actions.
|
||||
| charset/ | Charset plugin.
|
||||
| charset.c | Charset functions.
|
||||
| exec/ | Exec plugin.
|
||||
@@ -284,6 +291,7 @@ WeeChat "core" is located in following directories:
|
||||
| script-completion.c | Completions for scripts manager.
|
||||
| script-config.c | Config options for scripts manager (file script.conf).
|
||||
| script-info.c | Script manager info/infolists/hdata.
|
||||
| script-mouse.c | Script mouse actions.
|
||||
| script-repo.c | Download and read repository file.
|
||||
| tcl/ | Tcl plugin.
|
||||
| weechat-tcl.c | Main tcl functions (load/unload scripts, execute tcl code).
|
||||
@@ -391,7 +399,7 @@ Example in C:
|
||||
/*
|
||||
* weechat.c - core functions for WeeChat
|
||||
*
|
||||
* Copyright (C) 2016 Your Name <your@email.com>
|
||||
* Copyright (C) 2017 Your Name <your@email.com>
|
||||
*
|
||||
* This file is part of WeeChat, the extensible chat client.
|
||||
*
|
||||
|
||||
@@ -597,6 +597,12 @@ Set option _weechat.network.gnutls_ca_file_ to file with certificates:
|
||||
/set weechat.network.gnutls_ca_file "/etc/ssl/certs/ca-certificates.crt"
|
||||
----
|
||||
|
||||
Note: if you are running OS X with homebrew openssl installed, you can do:
|
||||
|
||||
----
|
||||
/set weechat.network.gnutls_ca_file "/usr/local/etc/openssl/cert.pem"
|
||||
----
|
||||
|
||||
[NOTE]
|
||||
Check that you have this file on your system (commonly brought by package
|
||||
"ca-certificates").
|
||||
@@ -825,8 +831,9 @@ You can try following tips to consume less memory:
|
||||
|
||||
* Use the latest stable version (it is supposed to have less memory leaks than
|
||||
older versions).
|
||||
* Do not load some plugins if you don't use them, for example: aspell, fifo,
|
||||
logger, perl, python, ruby, lua, tcl, guile, javascript, xfer (used for DCC).
|
||||
* Do not load some plugins if you don't use them, for example: aspell, buflist,
|
||||
fifo, logger, perl, python, ruby, lua, tcl, guile, javascript,
|
||||
xfer (used for DCC).
|
||||
* Load only scripts that you really need.
|
||||
* Do not load certificates if SSL is *NOT* used: set empty string in option
|
||||
_weechat.network.gnutls_ca_file_.
|
||||
|
||||
@@ -1955,7 +1955,7 @@ str3 = weechat.string_input_for_buffer("//test") # "/test"
|
||||
|
||||
==== string_eval_expression
|
||||
|
||||
_WeeChat ≥ 0.4.0, updated in 0.4.2, 1.0, 1.1, 1.2 and 1.3._
|
||||
_WeeChat ≥ 0.4.0, updated in 0.4.2, 0.4.3, 1.0, 1.1, 1.2, 1.3, 1.6 and 1.8._
|
||||
|
||||
Evaluate an expression and return result as a string.
|
||||
Special variables with format `+${variable}+` are expanded (see table below).
|
||||
@@ -1996,7 +1996,7 @@ Arguments:
|
||||
** _extra_: default behavior is to just replace extra variables (_extra_vars_),
|
||||
other behavior can be selected:
|
||||
*** _eval_: extra variables (_extra_vars_) are evaluated themselves before
|
||||
replacing
|
||||
replacing (_WeeChat ≥ 1.6_)
|
||||
** _regex_: a regex used to replace text in _expr_ (which is then not
|
||||
evaluated)
|
||||
** _regex_replace_: the replacement text to use with _regex_, to replace
|
||||
@@ -2008,6 +2008,124 @@ Return value:
|
||||
* evaluated expression (must be freed by calling "free" after use), or NULL
|
||||
if problem (invalid expression or not enough memory)
|
||||
|
||||
List of logical operators that can be used in conditions (by order of priority,
|
||||
from first used to last):
|
||||
|
||||
[width="100%",cols="2,8,4,4",options="header"]
|
||||
|===
|
||||
| Operator | Description | Examples | Results
|
||||
|
||||
| `+&&+` |
|
||||
Logical "and" |
|
||||
`+25 && 77+` +
|
||||
`+25 && 0+` |
|
||||
`+1+` +
|
||||
`+0+`
|
||||
|
||||
| `+\|\|+` |
|
||||
Logical "or" |
|
||||
`+25 \|\| 0+` +
|
||||
`+0 \|\| 0+` |
|
||||
`+1+` +
|
||||
`+0+`
|
||||
|===
|
||||
|
||||
List of comparison operators that can be used in conditions (by order of priority,
|
||||
from first used to last):
|
||||
|
||||
[width="100%",cols="2,8,4,4",options="header"]
|
||||
|===
|
||||
| Operator | Description | Examples | Results
|
||||
|
||||
| `+=~+` |
|
||||
Is matching POSIX extended regex (optional flags are allowed, see function <<_string_regcomp,string_regcomp>>) |
|
||||
`+abc def =~ ab.*ef+` +
|
||||
`+abc def =~ y.*z+` |
|
||||
`+1+` +
|
||||
`+0+`
|
||||
|
||||
| `+!~+` |
|
||||
Is NOT matching POSIX extended regex (optional flags are allowed, see function <<_string_regcomp,string_regcomp>>) |
|
||||
`+abc def !~ ab.*ef+` +
|
||||
`+abc def !~ y.*z+` |
|
||||
`+0+` +
|
||||
`+1+`
|
||||
|
||||
| `+=*+` +
|
||||
(_WeeChat ≥ 1.8_) |
|
||||
Is matching mask where "*" is allowed (see function <<_string_match,string_match>>) |
|
||||
`+abc def =* a*f+` +
|
||||
`+abc def =* y*z+` |
|
||||
`+1+` +
|
||||
`+0+`
|
||||
|
||||
| `+!*+` +
|
||||
(_WeeChat ≥ 1.8_) |
|
||||
Is NOT wildcard mask where "*" is allowed (see function <<_string_match,string_match>>) |
|
||||
`+abc def !* a*f+` +
|
||||
`+abc def !* y*z+` |
|
||||
`+0+` +
|
||||
`+1+`
|
||||
|
||||
| `+==+` |
|
||||
Equal |
|
||||
`+test == test+` +
|
||||
`+test == string+` |
|
||||
`+1+` +
|
||||
`+0+`
|
||||
|
||||
| `+!=+` |
|
||||
Not equal |
|
||||
`+test != test+` +
|
||||
`+test != string+` |
|
||||
`+0+` +
|
||||
`+1+`
|
||||
|
||||
| `+<=+` |
|
||||
Less or equal |
|
||||
`+abc <= defghi+` +
|
||||
`+abc <= abc+` +
|
||||
`+defghi <= abc+` +
|
||||
`+15 <= 2+` |
|
||||
`+1+` +
|
||||
`+1+` +
|
||||
`+0+` +
|
||||
`+0+`
|
||||
|
||||
| `+<+` |
|
||||
Less |
|
||||
`+abc < defghi+` +
|
||||
`+abc < abc+` +
|
||||
`+defghi < abc+` +
|
||||
`+15 < 2+` |
|
||||
`+1+` +
|
||||
`+0+` +
|
||||
`+0+` +
|
||||
`+0+`
|
||||
|
||||
| `+>=+` |
|
||||
Greater or equal |
|
||||
`+defghi >= abc+` +
|
||||
`+abc >= abc+` +
|
||||
`+abc >= defghi+` +
|
||||
`+15 >= 2+` |
|
||||
`+1+` +
|
||||
`+1+` +
|
||||
`+0+` +
|
||||
`+1+`
|
||||
|
||||
| `+>+` |
|
||||
Greater |
|
||||
`+defghi > abc+` +
|
||||
`+abc > abc+` +
|
||||
`+abc > defghi+` +
|
||||
`+15 > 2+` |
|
||||
`+1+` +
|
||||
`+0+` +
|
||||
`+0+` +
|
||||
`+1+`
|
||||
|===
|
||||
|
||||
List of variables expanded in expression (by order of priority, from first
|
||||
expanded to last):
|
||||
|
||||
@@ -2028,25 +2146,62 @@ expanded to last):
|
||||
weechat.look.buffer_time_format)
|
||||
|
||||
| `+${esc:xxx}+` +
|
||||
`+${\xxx}+` |
|
||||
`+${\xxx}+` +
|
||||
(_WeeChat ≥ 1.0_) |
|
||||
String with escaped chars. |
|
||||
`+${esc:prefix\tmessage}+` +
|
||||
`+${\ua9}+` |
|
||||
`+prefix<TAB>message+` +
|
||||
`+©+`
|
||||
|
||||
| `+${hide:x,value}+` |
|
||||
String with hidden chars (all chars in `value` replaced by `x`). |
|
||||
| `+${hide:x,string}+` +
|
||||
(_WeeChat ≥ 1.1_) |
|
||||
String with hidden chars (all chars in `string` replaced by `x`). |
|
||||
`+${hide:*,password}+` |
|
||||
`+********+`
|
||||
|
||||
| `+${re:N}+` |
|
||||
Regex captured group: `0` = whole string matching, `1` to `99` = group
|
||||
captured, `+++` = last group captured. |
|
||||
`+${re:1}+` |
|
||||
`+test+`
|
||||
| `+${cut:max,suffix,string}+` +
|
||||
`+${cut:+max,suffix,string}+` +
|
||||
(_WeeChat ≥ 1.8_) |
|
||||
String with `max` chars, and optional `suffix` if string is cut. +
|
||||
With the format `+max`, the suffix is counted in max length. |
|
||||
`+${cut:4,…,this is a test}+` +
|
||||
`+${cut:+4,…,this is a test}+` +
|
||||
`+${cut:2,>>,こんにちは世界}+` |
|
||||
`+this…+` +
|
||||
`+t…+` +
|
||||
`+こん>>+`
|
||||
|
||||
| `+${color:name}+` |
|
||||
| `+${cutscr:max,suffix,string}+` +
|
||||
`+${cutscr:+max,suffix,string}+` +
|
||||
(_WeeChat ≥ 1.8_) |
|
||||
String with `max` chars displayed on screen, and optional `suffix` if string is cut. +
|
||||
With the format `+max`, the suffix is counted in max length. |
|
||||
`+${cutscr:4,…,this is a test}+` +
|
||||
`+${cutscr:+4,…,this is a test}+` +
|
||||
`+${cutscr:2,>>,こんにちは世界}+` |
|
||||
`+this…+` +
|
||||
`+thi…+` +
|
||||
`+こ>>+`
|
||||
|
||||
| `+${re:N}+` +
|
||||
(_WeeChat ≥ 1.1_) |
|
||||
Regex captured group: `0` = whole string matching, `1` to `99` = group
|
||||
captured, `+++` = last group captured,
|
||||
`#` = index of last group captured (_WeeChat ≥ 1.8_). |
|
||||
`+${re:0}+` +
|
||||
`+${re:1}+` +
|
||||
`+${re:2}+` +
|
||||
`+${re:+++}+` +
|
||||
`+${re:#}+` |
|
||||
`+test1 test2+` +
|
||||
`+test1+` +
|
||||
`+test2+` +
|
||||
`+test2+` +
|
||||
`+2+`
|
||||
|
||||
| `+${color:name}+` +
|
||||
(_WeeChat ≥ 0.4.2_) |
|
||||
WeeChat color code (the name of color has optional attributes),
|
||||
see function <<_color,color>> for supported formats. |
|
||||
`+${color:red}red text+` +
|
||||
@@ -2055,7 +2210,8 @@ expanded to last):
|
||||
`+bold orange text+` (in bold orange)
|
||||
|
||||
| `+${info:name}+` +
|
||||
`+${info:name,arguments}+` |
|
||||
`+${info:name,arguments}+` +
|
||||
(_WeeChat ≥ 0.4.3_) |
|
||||
Info from WeeChat or a plugin, see function
|
||||
<<_info_get,info_get>>. |
|
||||
`+${info:version}+` +
|
||||
@@ -2079,6 +2235,16 @@ expanded to last):
|
||||
`+${env:HOME}+` |
|
||||
`+/home/user+`
|
||||
|
||||
| `+${if:condition}+` +
|
||||
`+${if:condition?true}+`
|
||||
`+${if:condition?true:false}+`
|
||||
(_WeeChat ≥ 1.8_) |
|
||||
Ternary operator with a condition, a value if the condition is true (optional)
|
||||
and another value if the condition is false (optional). If values are not
|
||||
given, "1" or "0" are returned, according to the result of the condition. |
|
||||
`+${if:${info:term_width}>80?big:small}+` |
|
||||
`+big+`
|
||||
|
||||
| `+${sec.data.name}+` |
|
||||
Value of the secured data `name`. |
|
||||
`+${sec.data.freenode_pass}+` |
|
||||
@@ -2169,6 +2335,170 @@ options = {
|
||||
str5 = weechat.string_eval_expression("password=abc password=def", {}, {}, options) # "password=*** password=***"
|
||||
----
|
||||
|
||||
==== string_dyn_alloc
|
||||
|
||||
_WeeChat ≥ 1.8._
|
||||
|
||||
Allocate a dynamic string, with a variable length. +
|
||||
Internally, a structure is allocated with the string pointer, the allocated size
|
||||
and current length of string.
|
||||
|
||||
Only the pointer to string pointer (_**string_) is used in all the
|
||||
_pass:[string_dyn_*]_ functions.
|
||||
|
||||
Prototype:
|
||||
|
||||
[source,C]
|
||||
----
|
||||
char **weechat_dyn_alloc (int size_alloc);
|
||||
----
|
||||
|
||||
Arguments:
|
||||
|
||||
* _size_alloc_: the initial allocated size (must be greater than zero)
|
||||
|
||||
Return value:
|
||||
|
||||
* pointer to the dynamic string
|
||||
|
||||
C example:
|
||||
|
||||
[source,C]
|
||||
----
|
||||
char **string = weechat_dyn_alloc (256);
|
||||
----
|
||||
|
||||
[NOTE]
|
||||
This function is not available in scripting API.
|
||||
|
||||
==== string_dyn_copy
|
||||
|
||||
_WeeChat ≥ 1.8._
|
||||
|
||||
Copy a string in a dynamic string.
|
||||
|
||||
The pointer _*string_ can change if the string is reallocated (if there is
|
||||
not enough space to copy the string).
|
||||
|
||||
Prototype:
|
||||
|
||||
[source,C]
|
||||
----
|
||||
int weechat_dyn_copy (char **string, const char *new_string);
|
||||
----
|
||||
|
||||
Arguments:
|
||||
|
||||
* _string_: pointer to dynamic string
|
||||
* _new_string_: the string to copy
|
||||
|
||||
Return value:
|
||||
|
||||
* 1 if OK, 0 if error
|
||||
|
||||
C example:
|
||||
|
||||
[source,C]
|
||||
----
|
||||
char **string = weechat_dyn_alloc (256);
|
||||
if (weechat_dyn_copy (string, "test"))
|
||||
{
|
||||
/* OK */
|
||||
}
|
||||
else
|
||||
{
|
||||
/* error */
|
||||
}
|
||||
----
|
||||
|
||||
[NOTE]
|
||||
This function is not available in scripting API.
|
||||
|
||||
==== string_dyn_concat
|
||||
|
||||
_WeeChat ≥ 1.8._
|
||||
|
||||
Concatenate a string to a dynamic string.
|
||||
|
||||
The pointer _*string_ can change if the string is reallocated (if there is
|
||||
not enough space to concatenate the string).
|
||||
|
||||
Prototype:
|
||||
|
||||
[source,C]
|
||||
----
|
||||
int weechat_dyn_concat (char **string, const char *add);
|
||||
----
|
||||
|
||||
Arguments:
|
||||
|
||||
* _string_: pointer to dynamic string
|
||||
* _add_: the string to add
|
||||
|
||||
Return value:
|
||||
|
||||
* 1 if OK, 0 if error
|
||||
|
||||
C example:
|
||||
|
||||
[source,C]
|
||||
----
|
||||
char **string = weechat_dyn_alloc (256);
|
||||
if (weechat_dyn_copy (string, "test"))
|
||||
{
|
||||
if (weechat_dyn_concat (string, "abc"))
|
||||
{
|
||||
/* ... */
|
||||
}
|
||||
}
|
||||
----
|
||||
|
||||
[NOTE]
|
||||
This function is not available in scripting API.
|
||||
|
||||
==== string_dyn_free
|
||||
|
||||
_WeeChat ≥ 1.8._
|
||||
|
||||
Free a dynamic string.
|
||||
|
||||
Prototype:
|
||||
|
||||
[source,C]
|
||||
----
|
||||
char *weechat_dyn_free (char **string, int free_string);
|
||||
----
|
||||
|
||||
Arguments:
|
||||
|
||||
* _string_: pointer to dynamic string
|
||||
* _free_string_: free the string itself; if 0, the content of _*string_ remains
|
||||
valid after the call to this function
|
||||
|
||||
Return value:
|
||||
|
||||
* string pointer if _free_string_ is 0, otherwise NULL
|
||||
|
||||
C example:
|
||||
|
||||
[source,C]
|
||||
----
|
||||
char **string = weechat_dyn_alloc (256);
|
||||
if (weechat_dyn_concat (string, "test"))
|
||||
{
|
||||
/* OK */
|
||||
}
|
||||
else
|
||||
{
|
||||
/* error */
|
||||
}
|
||||
/* ... */
|
||||
weechat_dyn_free (string, 1);
|
||||
----
|
||||
|
||||
[NOTE]
|
||||
This function is not available in scripting API.
|
||||
|
||||
[[utf-8]]
|
||||
=== UTF-8
|
||||
|
||||
@@ -3652,6 +3982,348 @@ weechat.list_free(list)
|
||||
weechat.list_free(list)
|
||||
----
|
||||
|
||||
[[array_lists]]
|
||||
=== Array lists
|
||||
|
||||
Array list functions.
|
||||
|
||||
An array list is a list of pointers with a dynamic size and optional sort.
|
||||
|
||||
==== arraylist_new
|
||||
|
||||
_WeeChat ≥ 1.8._
|
||||
|
||||
Create a new array list.
|
||||
|
||||
Prototype:
|
||||
|
||||
[source,C]
|
||||
----
|
||||
struct t_arraylist *weechat_arraylist_new (int initial_size,
|
||||
int sorted,
|
||||
int allow_duplicates,
|
||||
int (*callback_cmp)(void *data,
|
||||
struct t_arraylist *arraylist,
|
||||
void *pointer1,
|
||||
void *pointer2),
|
||||
void *callback_cmp_data,
|
||||
void (*callback_free)(void *data,
|
||||
struct t_arraylist *arraylist,
|
||||
void *pointer),
|
||||
void *callback_free_data);
|
||||
----
|
||||
|
||||
Arguments:
|
||||
|
||||
* _initial_size_: initial size of the array list (not the number of items)
|
||||
* _sorted_: 1 to sort the array list, 0 for no sort
|
||||
* _allow_duplicates_: 1 to allow duplicate entries, 0 to prevent a same entry
|
||||
to be added again
|
||||
* _callback_cmp_: callback used to compare two items (optional), arguments and
|
||||
return value:
|
||||
** _void *data_: pointer
|
||||
** _struct t_arraylist *arraylist_: array list pointer
|
||||
** _void *pointer1_: pointer to first item
|
||||
** _void *pointer2_: pointer to second item
|
||||
** return value:
|
||||
*** negative number if first item is less than second item
|
||||
*** 0 if first item equals second item
|
||||
*** positive number if first item is greater than second item
|
||||
* _callback_cmp_data_: pointer given to callback when it is called by WeeChat
|
||||
* _callback_free_: callback used to free an item (optional), arguments:
|
||||
** _void *data_: pointer
|
||||
** _struct t_arraylist *arraylist_: array list pointer
|
||||
** _void *pointer_: pointer to item
|
||||
* _callback_free_data_: pointer given to callback when it is called by WeeChat
|
||||
|
||||
Return value:
|
||||
|
||||
* pointer to new array list
|
||||
|
||||
C example:
|
||||
|
||||
[source,C]
|
||||
----
|
||||
int
|
||||
cmp_cb (void *data, struct t_arraylist *arraylist,
|
||||
void *pointer1, void *pointer2)
|
||||
{
|
||||
if (...)
|
||||
return -1;
|
||||
else if (...)
|
||||
return 1;
|
||||
else
|
||||
return 0;
|
||||
}
|
||||
|
||||
struct t_arraylist *list = weechat_arraylist_new (32, 1, 1,
|
||||
&cmp_cb, NULL, NULL, NULL);
|
||||
----
|
||||
|
||||
[NOTE]
|
||||
This function is not available in scripting API.
|
||||
|
||||
==== arraylist_size
|
||||
|
||||
_WeeChat ≥ 1.8._
|
||||
|
||||
Return size of array list (number of item pointers).
|
||||
|
||||
Prototype:
|
||||
|
||||
[source,C]
|
||||
----
|
||||
int weechat_list_size (struct t_arraylist *arraylist);
|
||||
----
|
||||
|
||||
Arguments:
|
||||
|
||||
* _arraylist_: array list pointer
|
||||
|
||||
Return value:
|
||||
|
||||
* size of array list (number of items), 0 if array list is empty
|
||||
|
||||
C example:
|
||||
|
||||
[source,C]
|
||||
----
|
||||
weechat_printf (NULL, "size of array list: %d", weechat_arraylist_size (arraylist));
|
||||
----
|
||||
|
||||
[NOTE]
|
||||
This function is not available in scripting API.
|
||||
|
||||
==== arraylist_get
|
||||
|
||||
_WeeChat ≥ 1.8._
|
||||
|
||||
Return an item pointer by position.
|
||||
|
||||
Prototype:
|
||||
|
||||
[source,C]
|
||||
----
|
||||
void *weechat_arraylist_get (struct t_arraylist *arraylist, int index);
|
||||
----
|
||||
|
||||
Arguments:
|
||||
|
||||
* _arraylist_: array list pointer
|
||||
* _index_: index in list (first pointer is 0)
|
||||
|
||||
Return value:
|
||||
|
||||
* pointer found, NULL if pointer was not found
|
||||
|
||||
C example:
|
||||
|
||||
[source,C]
|
||||
----
|
||||
void *pointer = weechat_arraylist_get (arraylist, 0); /* first item */
|
||||
----
|
||||
|
||||
[NOTE]
|
||||
This function is not available in scripting API.
|
||||
|
||||
==== arraylist_search
|
||||
|
||||
_WeeChat ≥ 1.8._
|
||||
|
||||
Search an item in an array list.
|
||||
|
||||
Prototype:
|
||||
|
||||
[source,C]
|
||||
----
|
||||
void *weechat_arraylist_search (struct t_arraylist *arraylist, void *pointer,
|
||||
int *index, int *index_insert);
|
||||
----
|
||||
|
||||
Arguments:
|
||||
|
||||
* _arraylist_: array list pointer
|
||||
* _pointer_: pointer to the item to search in array list
|
||||
* _index_: pointer to integer that will be set to the index found, or -1 if not found
|
||||
(optional)
|
||||
* _index_insert_: pointer to integer that will be set with the index that must be
|
||||
used to insert the element in the arraylist (to keep arraylist sorted) (optional)
|
||||
|
||||
Return value:
|
||||
|
||||
* pointer to item found, NULL if item was not found
|
||||
|
||||
C example:
|
||||
|
||||
[source,C]
|
||||
----
|
||||
int index, index_insert;
|
||||
void *item = weechat_arraylist_search (arraylist, pointer, &index, &index_insert);
|
||||
----
|
||||
|
||||
[NOTE]
|
||||
This function is not available in scripting API.
|
||||
|
||||
==== arraylist_insert
|
||||
|
||||
_WeeChat ≥ 1.8._
|
||||
|
||||
Insert an item in an array list.
|
||||
|
||||
Prototype:
|
||||
|
||||
[source,C]
|
||||
----
|
||||
int weechat_arraylist_insert (struct t_arraylist *arraylist, int index, void *pointer);
|
||||
----
|
||||
|
||||
Arguments:
|
||||
|
||||
* _arraylist_: array list pointer
|
||||
* _index_: position of the item in array list or -1 to add at the end
|
||||
(this argument is used only if the array list is not sorted, it is ignored if
|
||||
the array list is sorted)
|
||||
* _pointer_: pointer to the item to insert
|
||||
|
||||
Return value:
|
||||
|
||||
* index of new item (>= 0), -1 if error.
|
||||
|
||||
C example:
|
||||
|
||||
[source,C]
|
||||
----
|
||||
int index = weechat_arraylist_insert (arraylist, -1, pointer); /* insert at the end if not sorted */
|
||||
----
|
||||
|
||||
[NOTE]
|
||||
This function is not available in scripting API.
|
||||
|
||||
==== arraylist_add
|
||||
|
||||
_WeeChat ≥ 1.8._
|
||||
|
||||
Add an item in an array list.
|
||||
|
||||
Prototype:
|
||||
|
||||
[source,C]
|
||||
----
|
||||
int weechat_arraylist_add (struct t_arraylist *arraylist, void *pointer);
|
||||
----
|
||||
|
||||
Arguments:
|
||||
|
||||
* _arraylist_: array list pointer
|
||||
* _pointer_: pointer to the item to add
|
||||
|
||||
Return value:
|
||||
|
||||
* index of new item (>= 0), -1 if error.
|
||||
|
||||
C example:
|
||||
|
||||
[source,C]
|
||||
----
|
||||
int index = weechat_arraylist_add (arraylist, pointer);
|
||||
----
|
||||
|
||||
[NOTE]
|
||||
This function is not available in scripting API.
|
||||
|
||||
==== arraylist_remove
|
||||
|
||||
_WeeChat ≥ 1.8._
|
||||
|
||||
Remove an item from an array list.
|
||||
|
||||
Prototype:
|
||||
|
||||
[source,C]
|
||||
----
|
||||
int weechat_arraylist_remove (struct t_arraylist *arraylist, int index);
|
||||
----
|
||||
|
||||
Arguments:
|
||||
|
||||
* _arraylist_: array list pointer
|
||||
* _index_: index of the item to remove
|
||||
|
||||
Return value:
|
||||
|
||||
* index of item removed, -1 if error.
|
||||
|
||||
C example:
|
||||
|
||||
[source,C]
|
||||
----
|
||||
int index_removed = weechat_arraylist_remove (arraylist, index);
|
||||
----
|
||||
|
||||
[NOTE]
|
||||
This function is not available in scripting API.
|
||||
|
||||
==== arraylist_clear
|
||||
|
||||
_WeeChat ≥ 1.8._
|
||||
|
||||
Remove all items from an array list.
|
||||
|
||||
Prototype:
|
||||
|
||||
[source,C]
|
||||
----
|
||||
int weechat_arraylist_clear (struct t_arraylist *arraylist);
|
||||
----
|
||||
|
||||
Arguments:
|
||||
|
||||
* _arraylist_: array list pointer
|
||||
|
||||
Return value:
|
||||
|
||||
* 1 if OK, 0 if error
|
||||
|
||||
C example:
|
||||
|
||||
[source,C]
|
||||
----
|
||||
if (weechat_arraylist_clear (arraylist))
|
||||
{
|
||||
/* OK */
|
||||
}
|
||||
----
|
||||
|
||||
[NOTE]
|
||||
This function is not available in scripting API.
|
||||
|
||||
==== arraylist_free
|
||||
|
||||
_WeeChat ≥ 1.8._
|
||||
|
||||
Free an array list.
|
||||
|
||||
Prototype:
|
||||
|
||||
[source,C]
|
||||
----
|
||||
void weechat_arraylist_free (struct t_arraylist *arraylist);
|
||||
----
|
||||
|
||||
Arguments:
|
||||
|
||||
* _arraylist_: array list pointer
|
||||
|
||||
C example:
|
||||
|
||||
[source,C]
|
||||
----
|
||||
weechat_arraylist_free (arraylist);
|
||||
----
|
||||
|
||||
[NOTE]
|
||||
This function is not available in scripting API.
|
||||
|
||||
[[hashtables]]
|
||||
=== Hashtables
|
||||
|
||||
@@ -5172,7 +5844,13 @@ int weechat_config_option_set (struct t_config_option *option,
|
||||
Arguments:
|
||||
|
||||
* _option_: option pointer
|
||||
* _value_: new value for option
|
||||
* _value_: new value for option, special values are possible according to the
|
||||
type of option:
|
||||
** _boolean_:
|
||||
*** `toggle`: toggle the current value
|
||||
** _integer_ or _color_:
|
||||
*** `++N`: add `N` (any integer) to the current value
|
||||
*** `--N`: subtract `N` (any integer) from the current value
|
||||
* _run_callback_: 1 for calling change callback if value of option is changed,
|
||||
otherwise 0
|
||||
|
||||
@@ -5377,6 +6055,47 @@ weechat.config_option_rename(option, new_name)
|
||||
weechat.config_option_rename(option, "new_name")
|
||||
----
|
||||
|
||||
==== config_option_get_string
|
||||
|
||||
_WeeChat ≥ 1.9._
|
||||
|
||||
Return string value of an option property.
|
||||
|
||||
Prototype:
|
||||
|
||||
[source,C]
|
||||
----
|
||||
const char *weechat_config_option_get_string (struct t_config_option *option,
|
||||
const char *property);
|
||||
----
|
||||
|
||||
Arguments:
|
||||
|
||||
* _option_: option pointer
|
||||
* _property_: property name:
|
||||
** _name_: option name
|
||||
** _parent_name_: name of parent option
|
||||
** _type_: option type, one of:
|
||||
*** _boolean_
|
||||
*** _integer_
|
||||
*** _string_
|
||||
*** _color_
|
||||
** _description_: option description
|
||||
|
||||
Return value:
|
||||
|
||||
* string value of property
|
||||
|
||||
C example:
|
||||
|
||||
[source,C]
|
||||
----
|
||||
const char *type = weechat_config_option_get_string (option, "type");
|
||||
----
|
||||
|
||||
[NOTE]
|
||||
This function is not available in scripting API.
|
||||
|
||||
==== config_option_get_pointer
|
||||
|
||||
Return a pointer on an option property.
|
||||
@@ -6574,7 +7293,7 @@ Functions for key bindings.
|
||||
|
||||
==== key_bind
|
||||
|
||||
_WeeChat ≥ 0.3.6._
|
||||
_WeeChat ≥ 0.3.6, updated in 1.8._
|
||||
|
||||
Add new key bindings.
|
||||
|
||||
@@ -6589,6 +7308,8 @@ Prototype:
|
||||
int weechat_key_bind (const char *context, struct t_hashtable *keys);
|
||||
----
|
||||
|
||||
:key_bind_quiet: __quiet
|
||||
|
||||
Arguments:
|
||||
|
||||
* _context_: context for keys:
|
||||
@@ -6596,7 +7317,9 @@ Arguments:
|
||||
** _search_: search context (when searching text in buffer)
|
||||
** _cursor_: free movement of cursor on screen
|
||||
** _mouse_: keys for mouse events
|
||||
* _keys_: hashtable with key bindings
|
||||
* _keys_: hashtable with key bindings; it can contain following special keys:
|
||||
** _{key_bind_quiet}_: do not display the keys added in core buffer
|
||||
_(WeeChat ≥ 1.8)_
|
||||
|
||||
Return value:
|
||||
|
||||
@@ -7428,17 +8151,13 @@ Arguments:
|
||||
** _const char *command_: the command executed, with its arguments
|
||||
** return value:
|
||||
*** _WEECHAT_RC_OK_
|
||||
*** _WEECHAT_RC_OK_EAT_
|
||||
*** _WEECHAT_RC_OK_EAT_: command will not be executed by WeeChat after callback
|
||||
*** _WEECHAT_RC_ERROR_
|
||||
* _callback_pointer_: pointer given to callback when it is called by WeeChat
|
||||
* _callback_data_: pointer given to callback when it is called by WeeChat;
|
||||
if not NULL, it must have been allocated with malloc (or similar function)
|
||||
and it is automatically freed when the hook is deleted
|
||||
|
||||
[NOTE]
|
||||
Callback can return _WEECHAT_RC_OK_ or _WEECHAT_RC_OK_EAT_ (command will not
|
||||
be executed by WeeChat after callback).
|
||||
|
||||
Return value:
|
||||
|
||||
* pointer to new hook, NULL if error occurred
|
||||
@@ -8498,6 +9217,11 @@ List of signals sent by WeeChat and plugins:
|
||||
String: server name. |
|
||||
Disconnected from server.
|
||||
|
||||
| irc | irc_server_lag_changed +
|
||||
_(WeeChat ≥ 1.8)_ |
|
||||
String: server name. |
|
||||
Lag changed on the server.
|
||||
|
||||
| irc | irc_ignore_removing |
|
||||
Pointer: ignore. |
|
||||
Removing ignore.
|
||||
@@ -11369,7 +12093,7 @@ weechat_buffer_set (my_buffer, "name", "my_new_name");
|
||||
weechat_buffer_set (my_buffer, "localvar_set_toto", "abc");
|
||||
|
||||
/* remove local variable "toto" */
|
||||
weechat_buffer_set (my_buffer, "localvar_del_toto", NULL);
|
||||
weechat_buffer_set (my_buffer, "localvar_del_toto", "");
|
||||
----
|
||||
|
||||
Script (Python):
|
||||
@@ -15310,6 +16034,59 @@ for key in hash:
|
||||
weechat.prnt("", " %s == %s" % (key, hash[key]))
|
||||
----
|
||||
|
||||
==== hdata_compare
|
||||
|
||||
_WeeChat ≥ 1.9._
|
||||
|
||||
Compare a hdata variable of two objects.
|
||||
|
||||
Prototype:
|
||||
|
||||
[source,C]
|
||||
----
|
||||
int weechat_hdata_compare (struct t_hdata *hdata, void *pointer1, void *pointer2, const char *name, int case_sensitive);
|
||||
----
|
||||
|
||||
Arguments:
|
||||
|
||||
* _hdata_: hdata pointer
|
||||
* _pointer1_: pointer to first WeeChat/plugin object
|
||||
* _pointer2_: pointer to second WeeChat/plugin object
|
||||
* _name_: variable name; for arrays, the name can be "N|name" where N is
|
||||
the index in array (starting at 0), for example: "2|name"
|
||||
* _case_sensitive_: 1 for case sensitive comparison of strings, otherwise 0
|
||||
|
||||
Return value:
|
||||
|
||||
* -1 if variable1 < variable2
|
||||
* 0 if variable1 == variable2
|
||||
* 1 if variable1 > variable2
|
||||
|
||||
C example:
|
||||
|
||||
[source,C]
|
||||
----
|
||||
struct t_hdata *hdata = weechat_hdata_get ("buffer");
|
||||
struct t_gui_buffer *buffer1 = weechat_buffer_search ("irc", "freenode.#weechat");
|
||||
struct t_gui_buffer *buffer2 = weechat_buffer_search ("irc", "freenode.#weechat-fr");
|
||||
weechat_printf (NULL, "number comparison = %d",
|
||||
weechat_hdata_compare (hdata, buffer1, buffer2, "number", 0));
|
||||
----
|
||||
|
||||
Script (Python):
|
||||
|
||||
[source,python]
|
||||
----
|
||||
# prototype
|
||||
rc = weechat.hdata_compare(hdata, pointer1, pointer2, name, case_sensitive)
|
||||
|
||||
# example
|
||||
hdata = weechat.hdata_get("buffer")
|
||||
buffer1 = weechat.buffer_search("irc", "freenode.#weechat")
|
||||
buffer2 = weechat.buffer_search("irc", "freenode.#weechat-fr")
|
||||
weechat.prnt("", "number comparison = %d" % weechat.hdata_compare(hdata, buffer1, buffer2, "number", 0))
|
||||
----
|
||||
|
||||
==== hdata_set
|
||||
|
||||
_WeeChat ≥ 0.3.9._
|
||||
|
||||
@@ -477,8 +477,7 @@ List of functions in script API:
|
||||
prefix +
|
||||
color +
|
||||
print (for python: prnt) +
|
||||
print_date_tags (for python:
|
||||
prnt_date_tags) +
|
||||
print_date_tags (for python: prnt_date_tags) +
|
||||
print_y (for python: prnt_y) +
|
||||
log_print
|
||||
|
||||
@@ -497,6 +496,7 @@ List of functions in script API:
|
||||
hook_hsignal_send +
|
||||
hook_config +
|
||||
hook_completion +
|
||||
hook_completion_get_string +
|
||||
hook_completion_list_add +
|
||||
hook_modifier +
|
||||
hook_modifier_exec +
|
||||
@@ -578,6 +578,7 @@ List of functions in script API:
|
||||
infolist_next +
|
||||
infolist_prev +
|
||||
infolist_reset_item_cursor +
|
||||
infolist_search_var +
|
||||
infolist_fields +
|
||||
infolist_integer +
|
||||
infolist_string +
|
||||
@@ -603,6 +604,7 @@ List of functions in script API:
|
||||
hdata_pointer +
|
||||
hdata_time +
|
||||
hdata_hashtable +
|
||||
hdata_compare +
|
||||
hdata_update +
|
||||
hdata_get_string
|
||||
|
||||
@@ -1039,12 +1041,11 @@ xxx,irc_in2_yyy::
|
||||
def join_cb(data, signal, signal_data):
|
||||
# signal is for example: "freenode,irc_in2_join"
|
||||
# signal_data is IRC message, for example: ":nick!user@host JOIN :#channel"
|
||||
nick = weechat.info_get("irc_nick_from_host", signal_data)
|
||||
server = signal.split(",")[0]
|
||||
channel = signal_data.split(":")[-1]
|
||||
buffer = weechat.info_get("irc_buffer", "%s,%s" % (server, channel))
|
||||
msg = weechat.info_get_hashtable("irc_message_parse", {"message": signal_data})
|
||||
buffer = weechat.info_get("irc_buffer", "%s,%s" % (server, msg["channel"]))
|
||||
if buffer:
|
||||
weechat.prnt(buffer, "Eheh, %s has joined this channel!" % nick)
|
||||
weechat.prnt(buffer, "%s (%s) has joined this channel!" % (msg["nick"], msg["host"]))
|
||||
return weechat.WEECHAT_RC_OK
|
||||
|
||||
# it is useful here to use "*" as server, to catch JOIN messages on all IRC
|
||||
|
||||
+79
-22
@@ -123,8 +123,9 @@ compile WeeChat.
|
||||
[NOTE]
|
||||
^(1)^ Name comes from the Debian GNU/Linux distribution, versions and package
|
||||
names may be different in different distributions and versions. +
|
||||
^(2)^ WeeChat can compile with libncurses5-dev, but it is *NOT* recommended (you
|
||||
will have display bugs with wide chars). +
|
||||
^(2)^ It is recommended to compile with libncurses**w**5-dev (the *w* is
|
||||
important). WeeChat can compile with libncurses5-dev, but it is *NOT* recommended:
|
||||
you may experience display bugs with wide chars. +
|
||||
^(3)^ Gnutls ≥ 3.0.21 is required for IRC SASL authentication with mechanism
|
||||
ECDSA-NIST256P-CHALLENGE. +
|
||||
^(4)^ Recommended Python version is 2.7 (all scripts run fine with version 2.7,
|
||||
@@ -190,6 +191,9 @@ List of commonly used options:
|
||||
| ENABLE_ASPELL | `ON`, `OFF` | ON |
|
||||
Compile <<aspell_plugin,Aspell plugin>>.
|
||||
|
||||
| ENABLE_BUFLIST | `ON`, `OFF` | ON |
|
||||
Compile <<buflist_plugin,Buflist plugin>>.
|
||||
|
||||
| ENABLE_CHARSET | `ON`, `OFF` | ON |
|
||||
Compile <<charset_plugin,Charset plugin>>.
|
||||
|
||||
@@ -519,8 +523,10 @@ The files in home directory are:
|
||||
| plugins.conf | Plugins configuration file | Possible, depends on plugins/scripts.
|
||||
| alias.conf | Configuration file for _alias_ plugin | Possible, depends on aliases.
|
||||
| aspell.conf | Configuration file for _aspell_ plugin | No.
|
||||
| buflist.conf | Configuration file for _buflist_ plugin | No.
|
||||
| charset.conf | Configuration file for _charset_ plugin | No.
|
||||
| exec.conf | Configuration file for _exec_ plugin | No.
|
||||
| fifo.conf | Configuration file for _fifo_ plugin | No.
|
||||
| irc.conf | Configuration file for _irc_ plugin | *Yes*: it can contain passwords for servers, nickserv and channels (if not stored in `sec.conf`).
|
||||
| logger.conf | Configuration file for _logger_ plugin | No.
|
||||
| relay.conf | Configuration file for _relay_ plugin | No.
|
||||
@@ -1547,6 +1553,10 @@ with `/script install buffer_autoset.py` and get help with `/help autosetbuffer`
|
||||
| kbd:[Alt+PgDn] | Scroll down a few lines in buffer history. | `/window scroll_down`
|
||||
| kbd:[Alt+Home] | Scroll to top of buffer. | `/window scroll_top`
|
||||
| kbd:[Alt+End] | Scroll to bottom of buffer. | `/window scroll_bottom`
|
||||
| kbd:[F1] | Scroll up one page in buflist. | `/bar scroll buflist * -100%`
|
||||
| kbd:[F2] | Scroll down one page in buflist. | `/bar scroll buflist * +100%`
|
||||
| kbd:[Alt+F1] | Go to the beginning of buflist. | `/bar scroll buflist * b`
|
||||
| kbd:[Alt+F2] | Go to the end of buflist. | `/bar scroll buflist * e`
|
||||
| kbd:[Alt+←] +
|
||||
kbd:[Alt+↑] +
|
||||
kbd:[Ctrl+p] +
|
||||
@@ -1671,6 +1681,12 @@ These keys are used in context "mouse", namely when a mouse event occurs.
|
||||
| ⇓ | - | chat (script buffer) | Move 5 lines down in script buffer. | `/script down 5`
|
||||
| kbd:[Ctrl+⇑] | - | chat | Scroll horizontally to the left. | `/window scroll_horiz -window ${_window_number} -10%`
|
||||
| kbd:[Ctrl+⇓] | - | chat | Scroll horizontally to the right. | `/window scroll_horiz -window ${_window_number} +10%`
|
||||
| ◾◽◽ | up / left | buflist | Move buffer to a lower number. | Signal `buflist_mouse`.
|
||||
| ◾◽◽ | down / right | buflist | Move buffer to a higher number. | Signal `buflist_mouse`.
|
||||
| ◾◽◽ | - | buflist | Switch to buffer (previously visited buffer if the buffer is the current one). | Signal `buflist_mouse`.
|
||||
| ◽◽◾ | - | buflist | Switch to next visited buffer if the buffer is the current one. | Signal `buflist_mouse`.
|
||||
| kbd:[Ctrl+⇑] | - | buflist | Switch to previous buffer. | Signal `buflist_mouse`.
|
||||
| kbd:[Ctrl+⇓] | - | buflist | Switch to next buffer. | Signal `buflist_mouse`.
|
||||
| ◾◽◽ | up | nicklist | Scroll up one page in nicklist. | `/bar scroll nicklist ${_window_number} -100%`
|
||||
| ◾◽◽ | down | nicklist | Scroll down one page in nicklist. | `/bar scroll nicklist ${_window_number} +100%`
|
||||
| ◾◽◽ | up (long) | nicklist | Go to the beginning of nicklist. | `/bar scroll nicklist ${_window_number} b`
|
||||
@@ -1984,6 +2000,7 @@ Default plugins are:
|
||||
| Plugin | Description
|
||||
| alias | Define alias for commands.
|
||||
| aspell | Spell checking for command line.
|
||||
| buflist | Bar item with list of buffers.
|
||||
| charset | Charset decoding/encoding for buffers.
|
||||
| exec | Execution of external commands in WeeChat.
|
||||
| fifo | FIFO pipe used to remotely send commands to WeeChat.
|
||||
@@ -2034,6 +2051,7 @@ Sections:
|
||||
| check | /set aspell.check.* | Options to control spell checking.
|
||||
| dict | <<command_aspell_aspell,/aspell setdict>> +
|
||||
/set aspell.dict.* | Dictionaries used by buffer (options can be added/removed in section).
|
||||
| look | /set aspell.look.* | Look and feel.
|
||||
| option | /set aspell.option.* | <<aspell_speller_options,Speller options>> (options can be added/removed in section).
|
||||
|===
|
||||
|
||||
@@ -2090,6 +2108,33 @@ Example of suggestions with English and French dictionaries (`en,fr`):
|
||||
└─────────────────────────────────────────────────────────────────────────────────┘
|
||||
....
|
||||
|
||||
[[buflist_plugin]]
|
||||
=== Buflist plugin
|
||||
|
||||
Buflist plugin displays a list of buffers in a bar item called "buflist". +
|
||||
A default bar "buflist" is created on startup with this item.
|
||||
|
||||
[[buflist_options]]
|
||||
==== Options (buflist.conf)
|
||||
|
||||
Sections:
|
||||
|
||||
[width="100%",cols="3m,6m,16",options="header"]
|
||||
|===
|
||||
| Section | Control command | Description
|
||||
| format | /set buflist.format.* | Formats used to display list of buffers.
|
||||
| look | /set buflist.look.* | Look and feel.
|
||||
|===
|
||||
|
||||
Options:
|
||||
|
||||
include::autogen/user/buflist_options.adoc[]
|
||||
|
||||
[[buflist_commands]]
|
||||
==== Commands
|
||||
|
||||
include::autogen/user/buflist_commands.adoc[]
|
||||
|
||||
[[charset_plugin]]
|
||||
=== Charset plugin
|
||||
|
||||
@@ -2410,7 +2455,7 @@ $ openssl req -nodes -newkey rsa:2048 -keyout nick.pem -x509 -days 365 -out nick
|
||||
/msg nickserv cert add
|
||||
----
|
||||
|
||||
For more information, look at http://www.oftc.net/oftc/NickServ/CertFP
|
||||
For more information, look at https://www.oftc.net/NickServ/CertFP
|
||||
|
||||
[[irc_sasl_authentication]]
|
||||
==== SASL authentication
|
||||
@@ -2502,7 +2547,7 @@ port depend on your TOR configuration):
|
||||
Now, add a new server, for example:
|
||||
|
||||
----
|
||||
/server add freenode-tor p4fsi4ockecnea7l.onion
|
||||
/server add freenode-tor freenodeok2gncmy.onion
|
||||
----
|
||||
|
||||
Set proxy for TOR:
|
||||
@@ -2511,11 +2556,14 @@ Set proxy for TOR:
|
||||
/set irc.server.freenode-tor.proxy "tor"
|
||||
----
|
||||
|
||||
Set SASL authentication:
|
||||
Set SASL authentication with ECDSA-NIST256P-CHALLENGE (see the chapter
|
||||
<<irc_sasl_ecdsa_nist256p_challenge,SASL ECDSA-NIST256P-CHALLENGE>> to generate
|
||||
a private key):
|
||||
|
||||
----
|
||||
/set irc.server.freenode-tor.sasl_mechanism ecdsa-nist256p-challenge
|
||||
/set irc.server.freenode-tor.sasl_username "your_nickname"
|
||||
/set irc.server.freenode-tor.sasl_password "your_password"
|
||||
/set irc.server.freenode-tor.sasl_key "%h/ecdsa.pem"
|
||||
----
|
||||
|
||||
And finally, connection to server:
|
||||
@@ -2524,7 +2572,8 @@ And finally, connection to server:
|
||||
/connect freenode-tor
|
||||
----
|
||||
|
||||
For more info about Freenode and TOR: http://freenode.net/irc_servers.shtml#tor
|
||||
For more info about Freenode and TOR:
|
||||
http://freenode.net/kb/answer/chat#accessing-freenode-via-tor
|
||||
|
||||
[[irc_smart_filter_join_part_quit]]
|
||||
==== Smart filter for join/part/quit messages
|
||||
@@ -2928,7 +2977,12 @@ The Relay plugin is used to relay data via network, using different protocols:
|
||||
* _irc_: IRC proxy: used to share connections to IRC servers with one or many
|
||||
other IRC clients
|
||||
* _weechat_: protocol used by remote interfaces to display and interact with
|
||||
WeeChat (for example QWeeChat or weechat-android)
|
||||
WeeChat, for example:
|
||||
** Glowing Bear (HTML5): https://www.glowing-bear.org/
|
||||
** QWeeChat (Qt): https://weechat.org/download
|
||||
** WeeChat-Android (Android): https://github.com/ubergeek42/weechat-android
|
||||
** weechat.el (Emacs): https://github.com/the-kenny/weechat.el
|
||||
** WeeCloud (Javascript): https://github.com/eirikb/weecloud
|
||||
|
||||
[[relay_options]]
|
||||
==== Options (relay.conf)
|
||||
@@ -3435,20 +3489,22 @@ is added in hashtable:
|
||||
|
||||
[width="100%",cols="3m,2,14",options="header"]
|
||||
|===
|
||||
| Variable | Type | Description
|
||||
| server | string | Name of server (example: "freenode").
|
||||
| tags | string | Tags in message (rarely used).
|
||||
| message_without_tags | string | Message without tags.
|
||||
| nick | string | Nick.
|
||||
| host | string | Hostname.
|
||||
| command | string | IRC command (example: "PRIVMSG", "NOTICE", ...).
|
||||
| channel | string | IRC channel.
|
||||
| arguments | string | Arguments of command (includes value of _channel_).
|
||||
| text | string | Text (for example user message).
|
||||
| pos_command | string | The index of _command_ in message ("-1" if _command_ was not found).
|
||||
| pos_arguments | string | The index of _arguments_ in message ("-1" if _arguments_ was not found).
|
||||
| pos_channel | string | The index of _channel_ in message ("-1" if _channel_ was not found).
|
||||
| pos_text | string | The index of _text_ in message ("-1" if _text_ was not found).
|
||||
| Variable | Type | Description
|
||||
| irc_server | pointer | Pointer to IRC server (variables in hdata of type "irc_server" can be used, like `${irc_server.name}`).
|
||||
| irc_channel | pointer | Pointer to IRC channel (variables in hdata of type "irc_channel" can be used, like `${irc_channel.name}`).
|
||||
| server | string | Name of server (example: "freenode").
|
||||
| tags | string | Tags in message (rarely used).
|
||||
| message_without_tags | string | Message without tags.
|
||||
| nick | string | Nick.
|
||||
| host | string | Hostname.
|
||||
| command | string | IRC command (example: "PRIVMSG", "NOTICE", ...).
|
||||
| channel | string | IRC channel.
|
||||
| arguments | string | Arguments of command (includes value of _channel_).
|
||||
| text | string | Text (for example user message).
|
||||
| pos_command | string | The index of _command_ in message ("-1" if _command_ was not found).
|
||||
| pos_arguments | string | The index of _arguments_ in message ("-1" if _arguments_ was not found).
|
||||
| pos_channel | string | The index of _channel_ in message ("-1" if _channel_ was not found).
|
||||
| pos_text | string | The index of _text_ in message ("-1" if _text_ was not found).
|
||||
|===
|
||||
|
||||
When the data is a pointer, the variable `tg_signal_data` can be used like this
|
||||
@@ -3712,5 +3768,6 @@ For support with IRC, on server _chat.freenode.net_:
|
||||
** _#weechat-fr_ (French)
|
||||
* non-official channels:
|
||||
** _#weechat-de_ (German)
|
||||
** _#weechat-fi_ (Finnish)
|
||||
|
||||
For other ways of support, see: https://weechat.org/dev/support
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2012-2016 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2012-2017 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2012-2016 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2012-2017 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2016 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2017 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2016 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2017 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2006 Julien Louis <ptitlouis@sysif.net>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
|
||||
@@ -168,6 +168,7 @@ _options_ (pointer) +
|
||||
_temp_server_ (integer) +
|
||||
_reloading_from_config_ (integer) +
|
||||
_reloaded_from_config_ (integer) +
|
||||
_addresses_eval_ (string) +
|
||||
_addresses_count_ (integer) +
|
||||
_addresses_array_ (string, array_size: "addresses_count") +
|
||||
_ports_array_ (integer, array_size: "addresses_count") +
|
||||
@@ -456,6 +457,9 @@ _gui_objects_ (pointer) +
|
||||
_prev_bar_window_ (pointer, hdata: "bar_window") +
|
||||
_next_bar_window_ (pointer, hdata: "bar_window") +
|
||||
|
||||
*Mise à jour autorisée :* +
|
||||
_scroll_x_ (integer) +
|
||||
_scroll_y_ (integer) +
|
||||
|
||||
| weechat
|
||||
| [[hdata_buffer]]<<hdata_buffer,buffer>>
|
||||
@@ -541,6 +545,7 @@ _highlight_tags_restrict_array_ (pointer, array_size: "highlight_tags_restric
|
||||
_highlight_tags_ (string) +
|
||||
_highlight_tags_count_ (integer) +
|
||||
_highlight_tags_array_ (pointer, array_size: "highlight_tags_count") +
|
||||
_hotlist_ (pointer, hdata: "hotlist") +
|
||||
_hotlist_max_level_nicks_ (hashtable) +
|
||||
_keys_ (pointer, hdata: "key") +
|
||||
_last_key_ (pointer, hdata: "key") +
|
||||
|
||||
@@ -64,6 +64,8 @@
|
||||
|
||||
| weechat | term_width | largeur du terminal | -
|
||||
|
||||
| weechat | uptime | Uptime de WeeChat (format : "jours:hh:mm:ss") | "days" (nombre de jours) ou "seconds" (nombre de secondes) (optionnel)
|
||||
|
||||
| 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) | -
|
||||
|
||||
@@ -2,12 +2,13 @@
|
||||
// This file is auto-generated by script docgen.py.
|
||||
// DO NOT EDIT BY HAND!
|
||||
//
|
||||
. charset (13000)
|
||||
. logger (12000)
|
||||
. exec (11000)
|
||||
. trigger (10000)
|
||||
. aspell (9000)
|
||||
. alias (8000)
|
||||
. charset (14000)
|
||||
. logger (13000)
|
||||
. exec (12000)
|
||||
. trigger (11000)
|
||||
. aspell (10000)
|
||||
. alias (9000)
|
||||
. buflist (8000)
|
||||
. fifo (7000)
|
||||
. xfer (6000)
|
||||
. irc (5000)
|
||||
|
||||
@@ -18,19 +18,23 @@
|
||||
|
||||
| failonerror | long |
|
||||
|
||||
| keep_sending_on_error | long |
|
||||
|
||||
| proxy | string |
|
||||
|
||||
| proxyport | long |
|
||||
|
||||
| port | long |
|
||||
|
||||
| pre_proxy | string |
|
||||
|
||||
| httpproxytunnel | long |
|
||||
|
||||
| interface | string |
|
||||
|
||||
| dns_cache_timeout | long |
|
||||
|
||||
| proxytype | long | http, socks4, socks5, socks4a, socks5_hostname, http_1_0
|
||||
| proxytype | long | http, socks4, socks5, socks4a, socks5_hostname, http_1_0, https
|
||||
|
||||
| buffersize | long |
|
||||
|
||||
@@ -278,7 +282,7 @@
|
||||
|
||||
| sslcert | string |
|
||||
|
||||
| sslversion | long | default, tlsv1, sslv2, sslv3
|
||||
| sslversion | long | default, tlsv1, sslv2, sslv3, tlsv1_0, tlsv1_1, tlsv1_2, tlsv1_3
|
||||
|
||||
| ssl_verifypeer | long |
|
||||
|
||||
@@ -330,6 +334,38 @@
|
||||
|
||||
| ssl_falsestart | long |
|
||||
|
||||
| proxy_cainfo | string |
|
||||
|
||||
| proxy_capath | string |
|
||||
|
||||
| proxy_crlfile | string |
|
||||
|
||||
| proxy_keypasswd | string |
|
||||
|
||||
| proxy_pinnedpublickey | string |
|
||||
|
||||
| proxy_sslcert | string |
|
||||
|
||||
| proxy_sslcerttype | string |
|
||||
|
||||
| proxy_sslkey | string |
|
||||
|
||||
| proxy_sslkeytype | string |
|
||||
|
||||
| proxy_sslversion | long | default, tlsv1, sslv2, sslv3, tlsv1_0, tlsv1_1, tlsv1_2, tlsv1_3
|
||||
|
||||
| proxy_ssl_options | long | allow_beast, no_revoke
|
||||
|
||||
| proxy_ssl_verifyhost | long |
|
||||
|
||||
| proxy_ssl_verifypeer | long |
|
||||
|
||||
| proxy_tlsauth_password | string |
|
||||
|
||||
| proxy_tlsauth_type | string |
|
||||
|
||||
| proxy_tlsauth_username | string |
|
||||
|
||||
| ssh_auth_types | mask | none, policy_flag, flag
|
||||
|
||||
| ssh_public_keyfile | string |
|
||||
|
||||
@@ -50,8 +50,32 @@
|
||||
** 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: `+lightred+`
|
||||
|
||||
* [[option_aspell.color.suggestions]] *aspell.color.suggestions*
|
||||
** description: pass:none[couleur du texte pour les suggestions sur un mot mal orthographié (barre de statut)]
|
||||
* [[option_aspell.color.suggestion]] *aspell.color.suggestion*
|
||||
** description: pass:none[couleur du texte pour la suggestion sur un mot mal orthographié dans l'objet de barre "aspell_suggest"]
|
||||
** 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: `+default+`
|
||||
|
||||
* [[option_aspell.color.suggestion_delimiter_dict]] *aspell.color.suggestion_delimiter_dict*
|
||||
** description: pass:none[couleur du texte pour les séparateurs affichés entre deux dictionnaires dans l'objet de barre "aspell_suggest"]
|
||||
** 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_aspell.color.suggestion_delimiter_word]] *aspell.color.suggestion_delimiter_word*
|
||||
** description: pass:none[couleur du texte pour les séparateurs affichés entre deux mots dans l'objet de barre "aspell_suggest"]
|
||||
** 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_aspell.look.suggestion_delimiter_dict]] *aspell.look.suggestion_delimiter_dict*
|
||||
** description: pass:none[séparateur affiché entre deux dictionnaires dans l'objet de barre "aspell_suggest"]
|
||||
** type: chaîne
|
||||
** valeurs: toute chaîne
|
||||
** valeur par défaut: `+" / "+`
|
||||
|
||||
* [[option_aspell.look.suggestion_delimiter_word]] *aspell.look.suggestion_delimiter_word*
|
||||
** description: pass:none[séparateur affiché entre deux mots dans l'objet de barre "aspell_suggest"]
|
||||
** type: chaîne
|
||||
** valeurs: toute chaîne
|
||||
** valeur par défaut: `+","+`
|
||||
|
||||
@@ -0,0 +1,47 @@
|
||||
//
|
||||
// This file is auto-generated by script docgen.py.
|
||||
// DO NOT EDIT BY HAND!
|
||||
//
|
||||
[[command_buflist_buflist]]
|
||||
* `+buflist+`: objet de barre avec la liste des tampons
|
||||
|
||||
----
|
||||
/buflist bar
|
||||
refresh
|
||||
|
||||
bar : ajouter la barre "buflist"
|
||||
refresh : forcer le rafraichissement de l'objet de barre "buflist"
|
||||
|
||||
Les lignes avec les tampons sont affichées en utilisant l'évaluation de chaînes (voir /help eval pour le format), avec ces options :
|
||||
- buflist.look.display_conditions : conditions pour afficher un tampon dans la liste
|
||||
- buflist.format.buffer : format pour un tampon qui n'est pas le tampon courant
|
||||
- buflist.format.buffer_current: format pour le tampon courant
|
||||
|
||||
Les variables suivantes peuvent être utilisées dans ces options :
|
||||
- données du tampon (voir le hdata "buffer" dans la doc API pour une liste complète), par exemple :
|
||||
- ${buffer.number}
|
||||
- ${buffer.name}
|
||||
- ${buffer.full_name}
|
||||
- ${buffer.short_name}
|
||||
- ${buffer.nicklist_nicks_count}
|
||||
- irc_server: données du serveur IRC, défini seulement sur un tampon IRC (voir le hdata "irc_server" dans la doc API)
|
||||
- irc_channel: données du canal IRC, défini seulement sur un tampon de canal IRC (voir le hdata "irc_channel" dans la doc API)
|
||||
- variables additionnelles ajoutées par buflist pour des raisons pratiques :
|
||||
- ${format_buffer} : la valeur évaluée de l'option buflist.format.buffer ; peut être utilisée dans l'option buflist.format.buffer_current pour juste changer la couleur de fond par exemple
|
||||
- ${current_buffer} : un booléen ("0" ou "1"), "1" s'il s'agit du tampon courant ; cela peut être utilisé dans une condition : ${if:${current_buffer}?...:...}
|
||||
- ${merged} : un booléen ("0" ou "1"), "1" si le tampon est mélangé avec au moins un autre tampon ; cela peut être utilisé dans une condition : ${if:${merged}?...:...}
|
||||
- ${format_number} : numéro indenté avec un séparateur (évaluation de l'option buflist.format.number)
|
||||
- ${number} : numéro indenté, par exemple " 1" s'il y a entre 10 et 99 tampons
|
||||
- ${number_displayed} : "1" si le numéro est affiché, sinon "0"
|
||||
- ${indent} : indentation pour le nom (les tampons de canaux ou privés sont indentés) (évaluation de l'option buflist.format.indent)
|
||||
- ${format_nick_prefix} : le préfixe du pseudo en couleur pour un canal (évaluation de l'option buflist.format.nick_prefix)
|
||||
- ${color_nick_prefix} : la couleur du préfixe du pseudo pour un canal (défini seulement si l'option buflist.look.nick_prefix est activée)
|
||||
- ${nick_prefix} : le préfixe du pseudo pour un canal (défini seulement si l'option buflist.look.nick_prefix est activée)
|
||||
- ${format_name} : le nom formaté (évaluation de l'option buflist.format.name)
|
||||
- ${name} : le nom court (si défini), sinon le nom
|
||||
- ${color_hotlist} : la couleur qui dépend du niveau de hotlist le plus élevé pour le tampon (évaluation de l'option buflist.format.hotlist_xxx où xxx est le niveau)
|
||||
- ${format_hotlist} : la hotlist formatée (évaluation de l'option buflist.format.hotlist)
|
||||
- ${hotlist} : la hotlist brute
|
||||
- ${hotlist_priority} : "none", "low", "message", "private" ou "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)
|
||||
----
|
||||
@@ -0,0 +1,147 @@
|
||||
//
|
||||
// This file is auto-generated by script docgen.py.
|
||||
// DO NOT EDIT BY HAND!
|
||||
//
|
||||
* [[option_buflist.format.buffer]] *buflist.format.buffer*
|
||||
** description: pass:none[format pour chaque ligne avec un tampon (note : le contenu est évalué, voir /help buflist)]
|
||||
** type: chaîne
|
||||
** valeurs: toute chaîne
|
||||
** valeur par défaut: `+"${format_number}${indent}${format_nick_prefix}${color_hotlist}${format_name}"+`
|
||||
|
||||
* [[option_buflist.format.buffer_current]] *buflist.format.buffer_current*
|
||||
** description: pass:none[format pour la ligne avec le tampon courant (note : le contenu est évalué, voir /help buflist)]
|
||||
** type: chaîne
|
||||
** valeurs: toute chaîne
|
||||
** valeur par défaut: `+"${color:,blue}${format_buffer}"+`
|
||||
|
||||
* [[option_buflist.format.hotlist]] *buflist.format.hotlist*
|
||||
** description: pass:none[format pour la hotlist (note : le contenu est évalué, voir /help buflist)]
|
||||
** type: chaîne
|
||||
** valeurs: toute chaîne
|
||||
** valeur par défaut: `+" ${color:green}(${hotlist}${color:green})"+`
|
||||
|
||||
* [[option_buflist.format.hotlist_highlight]] *buflist.format.hotlist_highlight*
|
||||
** description: pass:none[format pour un tampon avec la hotlist de niveau "highlight" (note : le contenu est évalué, voir /help buflist)]
|
||||
** type: chaîne
|
||||
** valeurs: toute chaîne
|
||||
** valeur par défaut: `+"${color:magenta}"+`
|
||||
|
||||
* [[option_buflist.format.hotlist_low]] *buflist.format.hotlist_low*
|
||||
** description: pass:none[format pour un tampon avec la hotlist de niveau "low" (note : le contenu est évalué, voir /help buflist)]
|
||||
** type: chaîne
|
||||
** valeurs: toute chaîne
|
||||
** valeur par défaut: `+"${color:white}"+`
|
||||
|
||||
* [[option_buflist.format.hotlist_message]] *buflist.format.hotlist_message*
|
||||
** description: pass:none[format pour un tampon avec la hotlist de niveau "message" (note : le contenu est évalué, voir /help buflist)]
|
||||
** type: chaîne
|
||||
** valeurs: toute chaîne
|
||||
** valeur par défaut: `+"${color:brown}"+`
|
||||
|
||||
* [[option_buflist.format.hotlist_none]] *buflist.format.hotlist_none*
|
||||
** description: pass:none[format pour un tampon qui n'est pas dans la hotlist (note : le contenu est évalué, voir /help buflist)]
|
||||
** type: chaîne
|
||||
** valeurs: toute chaîne
|
||||
** valeur par défaut: `+"${color:default}"+`
|
||||
|
||||
* [[option_buflist.format.hotlist_private]] *buflist.format.hotlist_private*
|
||||
** description: pass:none[format pour un tampon avec la hotlist de niveau "private" (note : le contenu est évalué, voir /help buflist)]
|
||||
** type: chaîne
|
||||
** valeurs: toute chaîne
|
||||
** valeur par défaut: `+"${color:green}"+`
|
||||
|
||||
* [[option_buflist.format.hotlist_separator]] *buflist.format.hotlist_separator*
|
||||
** description: pass:none[séparateur pour les compteurs dans la hotlist (note : le contenu est évalué, voir /help buflist)]
|
||||
** type: chaîne
|
||||
** valeurs: toute chaîne
|
||||
** valeur par défaut: `+"${color:default},"+`
|
||||
|
||||
* [[option_buflist.format.indent]] *buflist.format.indent*
|
||||
** description: pass:none[chaîne affichée pour indenter un tampon de canal ou privé (note : le contenu est évalué, voir /help buflist)]
|
||||
** type: chaîne
|
||||
** valeurs: toute chaîne
|
||||
** valeur par défaut: `+" "+`
|
||||
|
||||
* [[option_buflist.format.lag]] *buflist.format.lag*
|
||||
** description: pass:none[format pour le lag sur un tampon de serveur IRC (note : le contenu est évalué, voir /help buflist)]
|
||||
** type: chaîne
|
||||
** valeurs: toute chaîne
|
||||
** valeur par défaut: `+" ${color:green}[${color:brown}${lag}${color:green}]"+`
|
||||
|
||||
* [[option_buflist.format.name]] *buflist.format.name*
|
||||
** description: pass:none[format pour le nom du tampon (note : le contenu est évalué, voir /help buflist)]
|
||||
** type: chaîne
|
||||
** valeurs: toute chaîne
|
||||
** valeur par défaut: `+"${name}"+`
|
||||
|
||||
* [[option_buflist.format.nick_prefix]] *buflist.format.nick_prefix*
|
||||
** description: pass:none[format pour un préfixe de pseudo sur un canal (note : le contenu est évalué, voir /help buflist)]
|
||||
** type: chaîne
|
||||
** valeurs: toute chaîne
|
||||
** valeur par défaut: `+"${color_nick_prefix}${nick_prefix}"+`
|
||||
|
||||
* [[option_buflist.format.number]] *buflist.format.number*
|
||||
** description: pass:none[format pour un numéro de tampon, ${number} est le numéro indenté (note : le contenu est évalué, voir /help buflist)]
|
||||
** type: chaîne
|
||||
** valeurs: toute chaîne
|
||||
** valeur par défaut: `+"${color:green}${number}${if:${number_displayed}?.: }"+`
|
||||
|
||||
* [[option_buflist.look.auto_scroll]] *buflist.look.auto_scroll*
|
||||
** description: pass:none[faire défiler automatiquement la barre buflist pour toujours voir le tampon courant (cela fonctionne seulement avec une barre en position gauche/droite avec un remplissage "vertical") ; cette valeur est un pourcentage de lignes affichées avant le tampon courant lors du défilement (-1 = désactiver le défilement) ; par exemple 50 signifie qu'après un défilement, le tampon courant est au milieu de la barre, 0 signifie en haut de la barre et 100 signifie en bas de la barre]
|
||||
** type: entier
|
||||
** valeurs: -1 .. 100
|
||||
** valeur par défaut: `+50+`
|
||||
|
||||
* [[option_buflist.look.display_conditions]] *buflist.look.display_conditions*
|
||||
** description: pass:none[conditions pour afficher un tampon (note : le contenu est évalué, voir /help buflist) ; par exemple pour cacher les tampons de serveurs s'ils sont fusionnés avec le tampon "core" : "${buffer.hidden}==0 && ((${type}!=server && ${buffer.full_name}!=core.weechat) || ${buffer.active}==1)"]
|
||||
** type: chaîne
|
||||
** valeurs: toute chaîne
|
||||
** valeur par défaut: `+"${buffer.hidden}==0"+`
|
||||
|
||||
* [[option_buflist.look.enabled]] *buflist.look.enabled*
|
||||
** description: pass:none[activer buflist]
|
||||
** type: booléen
|
||||
** valeurs: on, off
|
||||
** valeur par défaut: `+on+`
|
||||
|
||||
* [[option_buflist.look.mouse_jump_visited_buffer]] *buflist.look.mouse_jump_visited_buffer*
|
||||
** description: pass:none[si activé, les clics avec les boutons gauche/droit sur la ligne avec le tampon courant sautent au tampon visité avant/après]
|
||||
** type: booléen
|
||||
** valeurs: on, off
|
||||
** valeur par défaut: `+off+`
|
||||
|
||||
* [[option_buflist.look.mouse_move_buffer]] *buflist.look.mouse_move_buffer*
|
||||
** description: pass:none[si activé, les gestes de souris (glisser/déposer) déplacent les tampons dans la liste]
|
||||
** type: booléen
|
||||
** valeurs: on, off
|
||||
** valeur par défaut: `+on+`
|
||||
|
||||
* [[option_buflist.look.mouse_wheel]] *buflist.look.mouse_wheel*
|
||||
** description: pass:none[si activé, les actions de roulette de souris haut/bas sautent au tampon précédent/suivant dans la liste]
|
||||
** type: booléen
|
||||
** valeurs: on, off
|
||||
** valeur par défaut: `+on+`
|
||||
|
||||
* [[option_buflist.look.nick_prefix]] *buflist.look.nick_prefix*
|
||||
** description: pass:none[obtenir le préfixe du pseudo et sa couleur depuis la liste de pseudos de telle sorte que ${nick_prefix} puisse être utilisé dans le format ; cela peut être lent sur les tampons avec beaucoup de pseudos dans la liste, donc cette option est désactivée par défaut]
|
||||
** type: booléen
|
||||
** valeurs: on, off
|
||||
** valeur par défaut: `+off+`
|
||||
|
||||
* [[option_buflist.look.nick_prefix_empty]] *buflist.look.nick_prefix_empty*
|
||||
** description: pass:none[lorsque le préfixe de pseudo est activé, afficher un espace à la place s'il n'y a pas de préfixe de pseudo sur le tampon]
|
||||
** type: booléen
|
||||
** valeurs: on, off
|
||||
** valeur par défaut: `+on+`
|
||||
|
||||
* [[option_buflist.look.signals_refresh]] *buflist.look.signals_refresh*
|
||||
** description: pass:none[liste de signaux séparés par des virgules qui sont accrochés et déclenchent l'affichage de la liste des tampons ; cela peut être utile si certaines variables personnalisées sont utilisées dans les formats et nécessitent un rafraîchissement particulier]
|
||||
** type: chaîne
|
||||
** valeurs: toute chaîne
|
||||
** valeur par défaut: `+""+`
|
||||
|
||||
* [[option_buflist.look.sort]] *buflist.look.sort*
|
||||
** description: pass:none[liste de champs séparés par des virgules pour trier les tampons ; chaque champ est une variable hdata du tampon ("var"), une variable hdata du serveur IRC ("irc_server.var") ou une variable hdata du canal IRC ("irc_channel.var") ; le caractère "-" peut être utilisé pour inverser l'ordre, le caractère "~" peut être utilisé pour effectuer une comparaison insensible à la casse ; exemple : "-~short_name" pour un tri inverse insensible à la casse sur le nom court du tampon]
|
||||
** type: chaîne
|
||||
** valeurs: toute chaîne
|
||||
** valeur par défaut: `+"number,-active"+`
|
||||
@@ -19,15 +19,16 @@
|
||||
-list : lister les commandes
|
||||
-sh : utiliser le shell pour exécuter la commande (ATTENTION : utilisez cette option SEULEMENT si tous les paramètres sont fiables, voir l'option -nosh)
|
||||
-nosh : ne pas utiliser le shell pour exécuter la commande (requis si la commande a des données non fiables, par exemple le contenu d'un message d'un autre utilisateur) (par défaut)
|
||||
-bg : lancer le processus en tâche de fond : ne pas afficher la sortie ni le code retour (non compatible avec les options -o/-n)
|
||||
-bg : lancer le processus en tâche de fond : ne pas afficher la sortie ni le code retour (non compatible avec les options -o/-oc/-n/-nf/-pipe/-hsignal)
|
||||
-nobg : capturer la sortie du processus et afficher le code retour (par défaut)
|
||||
-stdin : créer un tuyau pour envoyer des données sur l'entrée standard du processus (avec /exec -in/-inclose)
|
||||
-nostdin : ne pas créer de tuyau pour l'entrée standard (par défaut)
|
||||
-buffer : afficher/envoyer la sortie de la commande sur ce tampon (si le tampon n'est pas trouvé, un nouveau tampon avec le nom "exec.exec.xxx" est créé)
|
||||
-l : afficher localement la sortie de la commande sur le tampon (par défaut)
|
||||
-o : envoyer la sortie de la commande au tampon (non compatible avec l'option -bg)
|
||||
-n : afficher la sortie de la commande dans un nouveau tampon (non compatible avec l'option -bg)
|
||||
-nf : afficher la sortie de la commande dans un nouveau tampon avec contenu libre (pas de coupure des mots, pas de limite sur le nombre de lignes) (non compatible avec l'option -bg)
|
||||
-o : envoyer la sortie de la commande au tampon sans exécuter les commandes (non compatible avec les options -bg/-pipe/-hsignal)
|
||||
-oc : envoyer la sortie de la commande au tampon et exécuter les commandes (lignes commençant par "/" ou un caractère personnalisé de commande) (non compatible avec les options -bg/-pipe/-hsignal)
|
||||
-n : afficher la sortie de la commande dans un nouveau tampon (non compatible avec les options -bg/-pipe/-hsignal)
|
||||
-nf : afficher la sortie de la commande dans un nouveau tampon avec contenu libre (pas de coupure des mots, pas de limite sur le nombre de lignes) (non compatible avec les options -bg/-pipe/-hsignal)
|
||||
-cl : effacer le nouveau tampon avant d'afficher la sortie
|
||||
-nocl : ajouter au nouveau tampon sans effacer (par défaut)
|
||||
-sw : basculer vers le tampon de sortie (par défaut)
|
||||
@@ -46,8 +47,8 @@
|
||||
-norc : ne pas afficher le code retour
|
||||
-timeout : définir un délai maximum pour la commande (en secondes)
|
||||
-name : définir un nom pour la commande (pour la nommer plus tard avec /exec)
|
||||
-pipe : envoyer la sortie vers une commande WeeChat/extension (ligne par ligne) ; s'il y a des espaces dans la commande/paramètres, entourez les de guillemets ; la variable $line est remplacée par la ligne (par défaut la ligne est ajoutée après la commande, séparée par un espace) (non compatible avec les options -bg/-o/-n)
|
||||
-hsignal : envoyer la sortie sous forme de hsignal (pour être utilisé par exemple dans un trigger) (non compatible avec les options -bg/-o/-n)
|
||||
-pipe : envoyer la sortie vers une commande WeeChat/extension (ligne par ligne) ; s'il y a des espaces dans la commande/paramètres, entourez les de guillemets ; la variable $line est remplacée par la ligne (par défaut la ligne est ajoutée après la commande, séparée par un espace) (non compatible avec les options -bg/-o/-oc/-n/-nf)
|
||||
-hsignal : envoyer la sortie sous forme de hsignal (pour être utilisé par exemple dans un trigger) (non compatible avec les options -bg/-o/-oc/-n/-nf)
|
||||
commande : la commande à exécuter ; si elle commence par "url:", le shell est désactivé et le contenu de l'URL est téléchargé et envoyé comme sortie
|
||||
id : identifiant de commande : soit le numéro ou le nom (si défini avec "-name xxx")
|
||||
-in : envoyer le texte sur l'entrée standard du processus
|
||||
|
||||
@@ -16,9 +16,11 @@ cible : nom du serveur
|
||||
|
||||
----
|
||||
/allchan [-current] [-exclude=<canal>[,<canal>...]] <commande> [<paramètres>]
|
||||
[-current] [-include=<canal>[,<canal>...]] <commande> [<paramètres>]
|
||||
|
||||
-current : exécuter la commande pour les canaux du serveur courant seulement
|
||||
-exclude : exclure certains canaux (le caractère joker "*" est autorisé)
|
||||
-include : inclure seulement certains canaux (le caractère joker "*" est autorisé)
|
||||
commande : commande à exécuter
|
||||
paramètres : paramètres pour la commande (les variables spéciales $nick, $channel et $server sont remplacées par leur valeur)
|
||||
|
||||
@@ -29,6 +31,8 @@ Exemples :
|
||||
/allchan -exclude=#weechat msg * bonjour
|
||||
dire 'bonjour' partout sauf sur #weechat et les canaux commençant par #linux :
|
||||
/allchan -exclude=#weechat,#linux* msg * bonjour
|
||||
dire 'bonjour' sur tous les canaux commençant par #linux :
|
||||
/allchan -include=#linux* msg * bonjour
|
||||
----
|
||||
|
||||
[[command_irc_allpv]]
|
||||
@@ -36,9 +40,11 @@ Exemples :
|
||||
|
||||
----
|
||||
/allpv [-current] [-exclude=<pseudo>[,<pseudo>...]] <commande> [<paramètres>]
|
||||
[-current] [-include=<pseudo>[,<pseudo>...]] <commande> [<paramètres>]
|
||||
|
||||
-current : exécuter la commande pour les tampons privés du serveur courant seulement
|
||||
-exclude : exclure certains pseudos (le caractère joker "*" est autorisé)
|
||||
-include : inclure seulement certains pseudos (le caractère joker "*" est autorisé)
|
||||
commande : commande à exécuter
|
||||
paramètres : paramètres pour la commande (les variables spéciales $nick, $channel et $server sont remplacées par leur valeur)
|
||||
|
||||
@@ -49,6 +55,8 @@ Exemples :
|
||||
/allpv -exclude=foo msg * bonjour
|
||||
dire 'bonjour' partout sauf pour le pseudo foo et les pseudos commençant par bar :
|
||||
/allpv -exclude=foo,bar* msg * bonjour
|
||||
dire 'bonjour' pour tous les pseudos commençant par bar :
|
||||
/allpv -include=bar* msg * bonjour
|
||||
fermer tous les tampons privés :
|
||||
/allpv close
|
||||
----
|
||||
@@ -58,8 +66,10 @@ Exemples :
|
||||
|
||||
----
|
||||
/allserv [-exclude=<serveur>[,<serveur>...]] <commande> [<paramètres>]
|
||||
[-include=<serveur>[,<serveur>...]] <commande> [<paramètres>]
|
||||
|
||||
-exclude : exclude certains serveurs (le caractère joker "*" est autorisé)
|
||||
-exclude : exclure certains serveurs (le caractère joker "*" est autorisé)
|
||||
-include : inclure seulement certains serveurs (le caractère joker "*" est autorisé)
|
||||
commande : commande à exécuter
|
||||
paramètres : paramètres pour la commande (les variables spéciales $nick, $channel et $server sont remplacées par leur valeur)
|
||||
|
||||
@@ -713,6 +723,7 @@ raison : raison
|
||||
add <serveur> <nom>[/<port>] [-temp] [-<option>[=<valeur>]] [-no<option>]
|
||||
copy|rename <serveur> <nouveau_nom>
|
||||
reorder <serveur> [<serveur>...]
|
||||
open <serveur>|-all [<serveur>...]
|
||||
del|keep <serveur>
|
||||
deloutq|jump|raw
|
||||
|
||||
@@ -721,12 +732,13 @@ listfull : afficher les serveurs avec de l'info détaillée pour chaque
|
||||
add : ajouter un nouveau serveur
|
||||
serveur : nom du serveur, pour usage interne et affichage
|
||||
nom : nom ou adresse IP du serveur avec port en option (défaut : 6667), plusieurs adresses peuvent être séparées par une virgule
|
||||
temp : ajouter un serveur temporaire (non sauvé)
|
||||
-temp : ajouter un serveur temporaire (non sauvé)
|
||||
option : définir l'option pour le serveur (pour une option booléenne, la valeur peut être omise)
|
||||
nooption : définir l'option booléenne à 'off' (par exemple : -nossl)
|
||||
copy : dupliquer un serveur
|
||||
rename : renommer un serveur
|
||||
reorder : réordonner la liste des serveurs
|
||||
open : ouvrir le tampon du serveur sans s'y connecter
|
||||
keep : garder le serveur dans le fichier de configuration (pour les serveurs temporaires seulement)
|
||||
del : supprimer un serveur
|
||||
deloutq : supprimer la file d'attente des messages sortants pour tous les serveurs (tous les messages que WeeChat est actuellement en train d'envoyer)
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
----
|
||||
/relay list|listfull|listrelay
|
||||
add <nom> <port>
|
||||
del|stop|restart <nom>
|
||||
del|start|restart|stop <nom>
|
||||
raw
|
||||
sslcertkey
|
||||
|
||||
@@ -17,8 +17,9 @@
|
||||
listrelay : lister les relais (nom et port)
|
||||
add : ajouter un relai (écouter sur un port)
|
||||
del : supprimer un relai (les clients restent connectés)
|
||||
stop : fermer le socket serveur (les clients restent connectés)
|
||||
start : écouter sur le port
|
||||
restart : fermer le socket serveur et écouter à nouveau sur le port (les clients restent connectés)
|
||||
stop : fermer le socket serveur (les clients restent connectés)
|
||||
nom : nom du relai (voir le format ci-dessous)
|
||||
port : port utilisé pour le relai
|
||||
raw : ouvrir le tampon avec les données brutes Relay
|
||||
|
||||
@@ -237,13 +237,7 @@
|
||||
** valeur par défaut: `+"%h/script"+`
|
||||
|
||||
* [[option_script.scripts.url]] *script.scripts.url*
|
||||
** description: pass:none[URL pour le fichier avec la liste des scripts ; par défaut HTTPS est forcé, voir l'option script.scripts.url_force_https]
|
||||
** description: pass:none[URL pour le fichier avec la liste des scripts]
|
||||
** type: chaîne
|
||||
** valeurs: toute chaîne
|
||||
** valeur par défaut: `+"http://weechat.org/files/plugins.xml.gz"+`
|
||||
|
||||
* [[option_script.scripts.url_force_https]] *script.scripts.url_force_https*
|
||||
** description: pass:none[forcer l'utilisation de HTTPS pour les téléchargements (index et scripts) ; vous ne devriez désactiver cette option que si vous avez des problèmes avec les téléchargements]
|
||||
** type: booléen
|
||||
** valeurs: on, off
|
||||
** valeur par défaut: `+on+`
|
||||
** valeur par défaut: `+"https://weechat.org/files/plugins.xml.gz"+`
|
||||
|
||||
@@ -44,7 +44,7 @@ message : message pour l'absence (si pas de message donné, le statut d'absence
|
||||
default : créer une barre par défaut (toutes les barres par défaut si aucun nom de barre n'est donné)
|
||||
del : supprimer une barre (ou toutes les barres avec -all)
|
||||
set : changer la valeur d'une propriété de la barre
|
||||
option : option à modifier (pour la liste des options, voir /set weechat.bar.<nombarre>.*
|
||||
option : option à modifier (pour la liste des options, voir /set weechat.bar.<nombarre>.*)
|
||||
valeur : nouvelle valeur pour l'option
|
||||
hide : cacher la barre
|
||||
show : montrer une barre cachée
|
||||
@@ -274,6 +274,8 @@ expression : expression à évaluer, les variables avec le format ${variable} s
|
||||
> supérieur
|
||||
=~ correspond à l'expression régulière POSIX étendue
|
||||
!~ ne correspond PAS à l'expression régulière POSIX étendue
|
||||
=* correspond au masque (le caractère joker "*" est autorisé)
|
||||
!= ne correspond PAS au masque (le caractère joker "*" est autorisé)
|
||||
|
||||
Une expression est considérée comme "vraie" si elle est non NULL, non vide, et différente de "0".
|
||||
La comparaison est faite en utilisant des entiers si les deux expressions sont des entiers valides.
|
||||
@@ -285,13 +287,16 @@ Des variables sont remplacées dans l'expression, en utilisant le format ${varia
|
||||
1. une sous-chaîne évaluée (format : "eval:xxx")
|
||||
2. une chaîne avec les caractères échappés (format : "esc:xxx" ou "\xxx")
|
||||
3. une chaîne avec des caractères à cacher (format : "hide:caractère,chaîne")
|
||||
4. une couleur (format : "color:xxx")
|
||||
5. une info (format : "info:nom,paramètres", les paramètres sont optionnels)
|
||||
6. la date/heure courante (format : "date" ou "date:format")
|
||||
7. une variable d'environnement (format : "env:XXX")
|
||||
8. une option (format : "fichier.section.option")
|
||||
9. une variable locale du tampon
|
||||
10. 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.
|
||||
4. 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")
|
||||
5. une couleur (format : "color:xxx", voir la "Référence API extension", fonction "color")
|
||||
6. une info (format : "info:nom,paramètres", les paramètres sont optionnels)
|
||||
7. la date/heure courante (format : "date" ou "date:format")
|
||||
8. une variable d'environnement (format : "env:XXX")
|
||||
9. un opérateur ternaire (format : "if:condition?valeur_si_vrai:valeur_si_faux")
|
||||
10. une option (format : "fichier.section.option")
|
||||
11. une variable locale du tampon
|
||||
12. un hdata/variable (la valeur est automatiquement convertie en chaîne), par défaut "window" et "buffer" pointent vers la fenêtre et le tampon courants.
|
||||
Le format du hdata peut être le suivant :
|
||||
hdata.var1.var2... : démarrer avec un hdata (le pointeur doit être connu), et demander les variables l'une après l'autre (d'autres hdata peuvent être suivis)
|
||||
hdata[liste].var1.var2... : démarrer avec un hdata en utilisant une liste, par exemple :
|
||||
@@ -302,16 +307,19 @@ Le format du hdata peut être le suivant :
|
||||
Pour le nom du hdata et des variables, voir la "Référence API extension", fonction "weechat_hdata_get".
|
||||
|
||||
Exemples (chaînes simples) :
|
||||
/eval -n ${info:version} ==> 0.4.3
|
||||
/eval -n ${env:HOME} ==> /home/user
|
||||
/eval -n ${weechat.look.scroll_amount} ==> 3
|
||||
/eval -n ${window} ==> 0x2549aa0
|
||||
/eval -n ${window.buffer} ==> 0x2549320
|
||||
/eval -n ${window.buffer.full_name} ==> core.weechat
|
||||
/eval -n ${window.buffer.number} ==> 1
|
||||
/eval -n ${\t} ==> <tab>
|
||||
/eval -n ${hide:-,${relay.network.password}} ==> --------
|
||||
/eval -n ${date:%H:%M:%S} ==> 07:46:40
|
||||
/eval -n ${info:version} ==> 0.4.3
|
||||
/eval -n ${env:HOME} ==> /home/user
|
||||
/eval -n ${weechat.look.scroll_amount} ==> 3
|
||||
/eval -n ${window} ==> 0x2549aa0
|
||||
/eval -n ${window.buffer} ==> 0x2549320
|
||||
/eval -n ${window.buffer.full_name} ==> core.weechat
|
||||
/eval -n ${window.buffer.number} ==> 1
|
||||
/eval -n ${\t} ==> <tab>
|
||||
/eval -n ${hide:-,${relay.network.password}} ==> --------
|
||||
/eval -n ${cut:3,+,test} ==> tes+
|
||||
/eval -n ${cut:+3,+,test} ==> te+
|
||||
/eval -n ${date:%H:%M:%S} ==> 07:46:40
|
||||
/eval -n ${if:${info:term_width}>80?big:small} ==> big
|
||||
|
||||
Exemples (conditions) :
|
||||
/eval -n -c ${window.buffer.number} > 2 ==> 0
|
||||
@@ -322,6 +330,7 @@ Exemples (conditions) :
|
||||
/eval -n -c abcd =~ (?-i)^ABC ==> 0
|
||||
/eval -n -c abcd =~ (?-i)^abc ==> 1
|
||||
/eval -n -c abcd !~ abc ==> 0
|
||||
/eval -n -c abcd =* a*d ==> 1
|
||||
----
|
||||
|
||||
[[command_weechat_filter]]
|
||||
@@ -939,13 +948,13 @@ Exemples :
|
||||
-1|+1|b#|up|down|left|right [-window <numéro>]
|
||||
<numéro>
|
||||
splith|splitv [-window <numéro>] [<pct>]
|
||||
resize [-window <numéro>] [+/-]<pct>
|
||||
resize [-window <numéro>] [h|v][+|-]<pct>
|
||||
balance
|
||||
merge [-window <numéro>] [all]
|
||||
page_up|page_down [-window <numéro>]
|
||||
refresh
|
||||
scroll [-window <numéro>] [+/-]<valeur>[s|m|h|d|M|y]
|
||||
scroll_horiz [-window <numéro>] [+/-]<valeur>[%]
|
||||
scroll [-window <numéro>] [+|-]<valeur>[s|m|h|d|M|y]
|
||||
scroll_horiz [-window <numéro>] [+|-]<valeur>[%]
|
||||
scroll_up|scroll_down|scroll_top|scroll_bottom|scroll_beyond_end|scroll_previous_highlight|scroll_next_highlight|scroll_unread [-window <numéro>]
|
||||
swap [-window <numéro>] [up|down|left|right]
|
||||
zoom [-window <numéro>]
|
||||
@@ -962,7 +971,8 @@ Exemples :
|
||||
numéro : numéro de fenêtre (voir /window list)
|
||||
splith : éclater la fenêtre en deux horizontalement (pour défaire : /window merge)
|
||||
splitv : éclater la fenêtre en deux verticalement (pour défaire : /window merge)
|
||||
resize : redimensionner une fenêtre, la nouvelle taille est <pct> pourcentage de la fenêtre parent
|
||||
resize : redimensionner une fenêtre, la nouvelle taille est <pct> pourcentage de la fenêtre parente
|
||||
si "h" ou "v" est spécifié, le redimensionnement affecte la fenêtre parente la plus proche avec un découpage de ce type (horizontal/vertical)
|
||||
balance : équilibrer la taille de toutes les fenêtres
|
||||
merge : fusionner la fenêtre avec une autre
|
||||
page_up : faire défiler d'une page vers le haut
|
||||
@@ -995,8 +1005,12 @@ Exemples :
|
||||
/window scroll -d
|
||||
zoom sur la fenêtre numéro 2 :
|
||||
/window zoom -window 2
|
||||
éclater la fenêtre horizontalement en utilisant 30%% de l'espace pour la fenêtre du haut :
|
||||
éclater la fenêtre horizontalement en utilisant 30% de l'espace pour la fenêtre du haut :
|
||||
/window splith 30
|
||||
redimensionner la fenêtre à 75% de la taille de la fenêtre parente :
|
||||
/window resize 75
|
||||
redimensionner le découpage vertical, ajouter 10% dans la taille :
|
||||
/window resize v+10
|
||||
supprimer l'éclatement :
|
||||
/window merge
|
||||
activer le mode d'affichage dépouillé pendant 2 secondes :
|
||||
|
||||
@@ -410,6 +410,12 @@
|
||||
** valeurs: on, off
|
||||
** valeur par défaut: `+on+`
|
||||
|
||||
* [[option_weechat.completion.nick_case_sensitive]] *weechat.completion.nick_case_sensitive*
|
||||
** description: pass:none[complétion sensible à la casse pour les pseudos]
|
||||
** type: booléen
|
||||
** valeurs: on, off
|
||||
** valeur par défaut: `+off+`
|
||||
|
||||
* [[option_weechat.completion.nick_completer]] *weechat.completion.nick_completer*
|
||||
** description: pass:none[chaîne insérée après la complétion du pseudo (quand le pseudo est le premier mot sur la ligne de commande)]
|
||||
** type: chaîne
|
||||
|
||||
@@ -66,12 +66,18 @@ $HOME/.weechat/alias.conf::
|
||||
$HOME/.weechat/aspell.conf::
|
||||
fichier de configuration pour l'extension _aspell_
|
||||
|
||||
$HOME/.weechat/buflist.conf::
|
||||
fichier de configuration pour l'extension _buflist_
|
||||
|
||||
$HOME/.weechat/charset.conf::
|
||||
fichier de configuration pour l'extension _charset_
|
||||
|
||||
$HOME/.weechat/exec.conf::
|
||||
fichier de configuration pour l'extension _exec_
|
||||
|
||||
$HOME/.weechat/fifo.conf::
|
||||
fichier de configuration pour l'extension _fifo_
|
||||
|
||||
$HOME/.weechat/irc.conf::
|
||||
fichier de configuration pour l'extension _irc_
|
||||
|
||||
@@ -102,7 +108,7 @@ Cette page de manuel a été écrite par {author}.
|
||||
WeeChat est écrit par Sébastien Helleu et des contributeurs (la liste complète
|
||||
est dans le fichier AUTHORS.adoc).
|
||||
|
||||
Copyright (C) 2003-2016 {author}
|
||||
Copyright (C) 2003-2017 {author}
|
||||
|
||||
WeeChat est un logiciel libre; vous pouvez le redistribuer et/ou le modifier
|
||||
sous les termes de la GNU General Public License telle que publiée par la
|
||||
|
||||
@@ -70,6 +70,7 @@ Les répertoires principaux de WeeChat sont :
|
||||
| plugins/ | API extension/script.
|
||||
| alias/ | Extension Alias.
|
||||
| aspell/ | Extension Aspell.
|
||||
| buflist/ | Extension Buflist.
|
||||
| charset/ | Extension Charset.
|
||||
| exec/ | Extension Exec.
|
||||
| fifo/ | Extension Fifo (tube FIFO utilisé pour envoyer des commandes à WeeChat).
|
||||
@@ -175,7 +176,7 @@ Le cœur de WeeChat est situé dans les répertoires suivants :
|
||||
|===
|
||||
| Chemin/fichier | Description
|
||||
| plugins/ | Racine des extensions.
|
||||
| plugin.c | Gestion des extensions (chargement/déchargement des librairies C dynamiques).
|
||||
| plugin.c | Gestion des extensions (chargement/déchargement des bibliothèques C dynamiques).
|
||||
| plugin-api.c | Fonctions supplémentaires pour l'API extension (enveloppes autour des fonctions du cœur de WeeChat).
|
||||
| plugin-config.c | Options de configuration des extensions (fichier plugins.conf).
|
||||
| plugin-script.c | Fonctions communes utilisés par les extensions pour les scripts.
|
||||
@@ -195,6 +196,12 @@ Le cœur de WeeChat est situé dans les répertoires suivants :
|
||||
| weechat-aspell-config.c | Options de configuration pour Aspell (fichier aspell.conf).
|
||||
| weechat-aspell-info.c | Info/infolists/hdata pour Aspell.
|
||||
| weechat-aspell-speller.c | Gestion des correcteurs orthographiques.
|
||||
| buflist/ | Extension Buflist.
|
||||
| buflist.c | Fonctions principales de Buflist.
|
||||
| buflist-bar-item.c | Objets de barre Buflist.
|
||||
| buflist-command.c | Commandes pour Buflist.
|
||||
| buflist-config.c | Options de configuration pour Buflist (fichier buflist.conf).
|
||||
| buflist-mouse.c | Actions souris pour Buflist.
|
||||
| charset/ | Extension Charset.
|
||||
| charset.c | Fonctions pour Charset.
|
||||
| exec/ | Extension Exec.
|
||||
@@ -286,6 +293,7 @@ Le cœur de WeeChat est situé dans les répertoires suivants :
|
||||
| script-completion.c | Complétions pour le gestionnaire de scripts.
|
||||
| script-config.c | Options de configuration pour le gestionnaire de scripts (fichier script.conf).
|
||||
| script-info.c | Info/infolists/hdata pour le gestionnaire de scripts.
|
||||
| script-mouse.c | Actions souris pour le gestionnaire de scripts.
|
||||
| script-repo.c | Téléchargement et lecture du dépôt de scripts.
|
||||
| tcl/ | Extension Tcl.
|
||||
| weechat-tcl.c | Fonctions principales pour Tcl (chargement/déchargement des scripts, exécution de code Tcl).
|
||||
@@ -393,7 +401,7 @@ Exemple en C :
|
||||
/*
|
||||
* weechat.c - core functions for WeeChat
|
||||
*
|
||||
* Copyright (C) 2016 Your Name <your@email.com>
|
||||
* Copyright (C) 2017 Your Name <your@email.com>
|
||||
*
|
||||
* This file is part of WeeChat, the extensible chat client.
|
||||
*
|
||||
|
||||
@@ -626,6 +626,13 @@ certificats :
|
||||
/set weechat.network.gnutls_ca_file "/etc/ssl/certs/ca-certificates.crt"
|
||||
----
|
||||
|
||||
Note : si vous êtes sous OS X avec le paquet homebrew openssl installé, vous
|
||||
pouvez lancer :
|
||||
|
||||
----
|
||||
/set weechat.network.gnutls_ca_file "/usr/local/etc/openssl/cert.pem"
|
||||
----
|
||||
|
||||
[NOTE]
|
||||
Vérifiez que vous avez bien ce fichier (fourni généralement par le paquet
|
||||
"ca-certificates").
|
||||
@@ -867,8 +874,8 @@ Vous pouvez essayer les astuces suivantes pour consommer moins de mémoire :
|
||||
* Utiliser la dernière version stable (elle est supposée avoir moins de fuites
|
||||
de mémoire que les versions plus anciennes).
|
||||
* Ne pas charger les extensions si vous ne les utilisez pas, par exemple :
|
||||
aspell, fifo, logger, perl, python, ruby, lua, tcl, guile, javascript,
|
||||
xfer (utilisé pour les DCC).
|
||||
aspell, buflist, fifo, logger, perl, python, ruby, lua, tcl, guile,
|
||||
javascript, xfer (utilisé pour les DCC).
|
||||
* Charger uniquement les scripts dont vous avez vraiment besoin.
|
||||
* Ne pas charger les certificats si SSL n'est *PAS* utilisé : affecter une
|
||||
chaîne vide pour l'option _weechat.network.gnutls_ca_file_.
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user