mirror of
https://github.com/weechat/weechat.git
synced 2026-06-12 22:24:47 +02:00
Compare commits
122 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| ff6ae69c3f | |||
| c76b6c024e | |||
| 46a5e1d291 | |||
| 4d4b254d7a | |||
| 7d4da3f9e4 | |||
| 7caaf255b4 | |||
| c2a94d93c5 | |||
| 5adf94ffbe | |||
| 87932bcb57 | |||
| a511771802 | |||
| 4c05648faf | |||
| 54c7afa6e2 | |||
| 82da8a79c4 | |||
| c4c4f4d1ef | |||
| 5d43b5b80f | |||
| 6932810c70 | |||
| 6e09499163 | |||
| b38b2abe3b | |||
| c869aa3809 | |||
| 50415dfbb7 | |||
| b955b19388 | |||
| 7e547ee70b | |||
| 68bdc5fb09 | |||
| 5a681f3c5e | |||
| 1a34f87163 | |||
| 4d9fd4c4aa | |||
| 6d217ca8c5 | |||
| 73a4901fe1 | |||
| 507dfec781 | |||
| 7e0da4b68a | |||
| eb0828ec6c | |||
| 142d312ad7 | |||
| 98249ada86 | |||
| fec7d38e3d | |||
| 85ee15d4e2 | |||
| ada2994062 | |||
| a199d243ca | |||
| e847068a3c | |||
| 9d6ebeda0d | |||
| 09a124c226 | |||
| 7d442f8492 | |||
| a294b791a8 | |||
| 4fab6dcd05 | |||
| 1b26d0608f | |||
| 34a6fce134 | |||
| 6343924c16 | |||
| 1dae5827c6 | |||
| 0fe6adb269 | |||
| 8009094717 | |||
| c96e2f3593 | |||
| 8629bf4b06 | |||
| f8df26f57f | |||
| 2b0057239b | |||
| 169a84384c | |||
| 4912c46593 | |||
| b3b58f89a4 | |||
| f3db256ce4 | |||
| 237bf80920 | |||
| cf5aaec3be | |||
| d9849b4efe | |||
| c214ca603f | |||
| 1cd0fb4882 | |||
| 8964e994c6 | |||
| 4034d07d5a | |||
| 89f1f61458 | |||
| d6e4bbf244 | |||
| 342261d35b | |||
| 4712d0bb06 | |||
| d9fbf59c6b | |||
| f6498c14a0 | |||
| 4803cd62af | |||
| fc0a3ef10a | |||
| d8b2be8f91 | |||
| 968d4ce2af | |||
| b08155410d | |||
| d26380a9bb | |||
| 3c0f72d48b | |||
| d8fe89f7e9 | |||
| 4e9203bb7d | |||
| 916d99ad40 | |||
| c94a8f4c68 | |||
| ba9b087ca3 | |||
| af382ffb91 | |||
| 85d7c9b6c5 | |||
| b480c7e7c0 | |||
| 1355a26920 | |||
| ecd26fb678 | |||
| 34fd37fa50 | |||
| 638ed2ecf5 | |||
| 88adc5d703 | |||
| b2d9b2f0ba | |||
| 3766beb13e | |||
| c78f322c9e | |||
| 37a0cd0017 | |||
| 39abe2fcd9 | |||
| de8d640958 | |||
| 594917bff4 | |||
| 6cdcebed8c | |||
| 5d338fee4e | |||
| 0285ea785e | |||
| 5a132f06fd | |||
| dd0b3c5692 | |||
| fe586ae662 | |||
| ba3d805167 | |||
| d8ad7e6a8d | |||
| cb73c168b5 | |||
| dc7d99fa73 | |||
| 738535e7f6 | |||
| f02fc06dd0 | |||
| ed3f281ba9 | |||
| a8b6fa08b7 | |||
| 6d72868e15 | |||
| 8848b0e22a | |||
| 74a17d821f | |||
| d0ea801724 | |||
| 172736989a | |||
| 70c2e27110 | |||
| 3f067f2065 | |||
| a6a90aebff | |||
| 9121e5812c | |||
| c2a2146ad8 | |||
| 99ae73066c |
@@ -5,5 +5,4 @@ debian-devel export-ignore
|
||||
debian-stable export-ignore
|
||||
weechat.spec export-ignore
|
||||
.mailmap export-ignore
|
||||
tests/ubuntu/ export-ignore
|
||||
tools/build-debian.sh export-ignore
|
||||
|
||||
+8
-4
@@ -20,10 +20,10 @@ before_script:
|
||||
- export PATH=$(echo $PATH | tr ':' "\n" | sed '/\/opt\/python/d' | tr "\n" ":" | sed "s|::|:|g")
|
||||
- echo 'APT::Install-Recommends "false";' | sudo tee -a /etc/apt/apt.conf
|
||||
- sudo add-apt-repository -y ppa:ondrej/php
|
||||
- sudo apt-get update -qq
|
||||
- sudo apt-get -y install devscripts equivs python-pip libenchant-dev autopoint cmake pkg-config libncursesw5-dev gem2deb libperl-dev python-dev python3-dev libaspell-dev liblua5.1-0-dev tcl8.5-dev guile-2.0-dev libv8-dev libcurl4-gnutls-dev libgcrypt11-dev libgnutls-dev zlib1g-dev curl libcpputest-dev php7.0-dev libphp7.0-embed
|
||||
- sudo gem install asciidoctor
|
||||
- sudo pip install msgcheck pylint
|
||||
- travis_retry sudo apt-get update -qq
|
||||
- travis_retry sudo apt-get -y install devscripts equivs python-pip libenchant-dev autopoint cmake pkg-config libncursesw5-dev gem2deb libperl-dev python-dev python3-dev libaspell-dev liblua5.1-0-dev tcl8.5-dev guile-2.0-dev libv8-dev libcurl4-gnutls-dev libgcrypt11-dev libgnutls-dev zlib1g-dev curl libcpputest-dev php7.0-dev libphp7.0-embed
|
||||
- travis_retry sudo gem install asciidoctor
|
||||
- travis_retry sudo pip install msgcheck pylint
|
||||
- phpenv local system
|
||||
|
||||
script:
|
||||
@@ -39,6 +39,10 @@ script:
|
||||
after_success:
|
||||
- weechat --help
|
||||
- weechat-curses --help
|
||||
- weechat --colors
|
||||
- weechat --license
|
||||
- weechat --version
|
||||
- weechat --temp-dir --run-command "/debug dirs;/debug libs" --run-command "/quit"
|
||||
|
||||
matrix:
|
||||
fast_finish: true
|
||||
|
||||
@@ -95,6 +95,7 @@ Alphabetically:
|
||||
* Quentin Glidic (SardemFF7)
|
||||
* Quentin Pradet
|
||||
* Quico Noizeux
|
||||
* rafasc
|
||||
* Raghavendra Prabhu
|
||||
* raspbeguy
|
||||
* Rettub
|
||||
@@ -119,12 +120,14 @@ Alphabetically:
|
||||
* Tom Alsberg
|
||||
* Tomoe Mami
|
||||
* Tor Hveem (xt)
|
||||
* Trevor Bergeron
|
||||
* Valentin Lorentz (progval)
|
||||
* Vasco Almeida
|
||||
* Voroskoi
|
||||
* Wojciech Kwolek
|
||||
* W. Trevor King
|
||||
* Yannick Palanque
|
||||
* ZethJack
|
||||
* Ørjan Malde
|
||||
|
||||
== Contact
|
||||
|
||||
+4
-4
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2018 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2019 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2007-2008 Julien Louis <ptitlouis@sysif.net>
|
||||
# Copyright (C) 2008-2009 Emmanuel Bouthenot <kolter@openics.org>
|
||||
#
|
||||
@@ -16,7 +16,7 @@
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
cmake_minimum_required(VERSION 2.4)
|
||||
@@ -27,8 +27,8 @@ project(weechat C)
|
||||
set(CMAKE_VERBOSE_MAKEFILE OFF)
|
||||
set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake ${CMAKE_MODULE_PATH})
|
||||
set(CMAKE_SKIP_RPATH ON)
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Werror-implicit-function-declaration")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Werror-implicit-function-declaration")
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fsigned-char -Wall -Wextra -Werror-implicit-function-declaration")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsigned-char -Wall -Wextra -Werror-implicit-function-declaration")
|
||||
|
||||
# version
|
||||
execute_process(COMMAND ${CMAKE_SOURCE_DIR}/version.sh devel-major OUTPUT_VARIABLE VERSION_MAJOR)
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 3, 29 June 2007
|
||||
|
||||
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
||||
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
@@ -645,7 +645,7 @@ the "copyright" line and a pointer to where the full notice is found.
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
@@ -664,11 +664,11 @@ might be different; for a GUI interface, you would use an "about box".
|
||||
You should also get your employer (if you work as a programmer) or school,
|
||||
if any, to sign a "copyright disclaimer" for the program, if necessary.
|
||||
For more information on this, and how to apply and follow the GNU GPL, see
|
||||
<http://www.gnu.org/licenses/>.
|
||||
<https://www.gnu.org/licenses/>.
|
||||
|
||||
The GNU General Public License does not permit incorporating your program
|
||||
into proprietary programs. If your program is a subroutine library, you
|
||||
may consider it more useful to permit linking proprietary applications with
|
||||
the library. If this is what you want to do, use the GNU Lesser General
|
||||
Public License instead of this License. But first, please read
|
||||
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
|
||||
<https://www.gnu.org/philosophy/why-not-lgpl.html>.
|
||||
|
||||
+51
-18
@@ -15,12 +15,45 @@ https://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes]
|
||||
(file _ReleaseNotes.adoc_ in sources).
|
||||
|
||||
|
||||
[[v2.3.1]]
|
||||
== Version 2.3.1 (under dev)
|
||||
[[v2.4]]
|
||||
== Version 2.4 (2019-02-17)
|
||||
|
||||
New features::
|
||||
|
||||
* core: do not automatically add a space when completing "nick:" at the beginning of command line (the space can be added in option weechat.completion.nick_completer)
|
||||
* core: add default keys kbd:[Ctrl+F11]/kbd:[Ctrl+F12] to scroll up/down one page in nicklist (same action as kbd:[F11]/kbd:[F12])
|
||||
* core: add command line option "-t" (or "--temp-dir") to create a temporary WeeChat home (deleted on exit)
|
||||
* api: add functions string_base_encode and string_base_decode, remove functions string_encode_base64 and string_decode_base64
|
||||
* api: add support of Time-based One-Time Password (TOTP), add infos "totp_generate" and "totp_validate"
|
||||
* buflist: add default keys kbd:[Ctrl+F1]/kbd:[Ctrl+F2] to scroll up/down one page in buflist (same action as kbd:[F1]/kbd:[F2])
|
||||
* buflist: add variable ${number2}, always set with the indented buffer number
|
||||
* exec: add option exec.command.shell to customize the shell used with /exec -sh
|
||||
* relay: add support of close frame in websocket connection (issue #1281)
|
||||
* relay: add support of Time-based One-Time Password (TOTP) as second authentication factor in weechat protocol
|
||||
|
||||
Bug fixes::
|
||||
|
||||
* relay: fix crash when decoding a malformed websocket frame (CVE-2021-40516)
|
||||
* core: fix compilation of empty regular expression (not allowed on FreeBSD)
|
||||
* core: fix forced highlight on messages sent to other buffers (issue #1277)
|
||||
* aspell: look for suggestions only if the misspelled word has changed (issue #1175)
|
||||
* buflist: add alternate key codes for kbd:[F1]/kbd:[F2] and kbd:[Alt+F1]/kbd:[Alt+F2] (compatibility with terminals)
|
||||
* buflist: fix warning displayed when script buffers.pl is loaded (issue #1274)
|
||||
* irc: fix parsing of whois messages in notify
|
||||
* irc: fix parsing of MODE, 341 (invite) and CHGHOST commands when there are colons (issue #1296)
|
||||
* irc: return IRC color code instead of WeeChat color code when decoding a too short ANSI color sequence
|
||||
* irc: fix encoding of italic attribute when colors are removed
|
||||
* irc: fix parsing of "time" message tag on FreeBSD (issue #1289)
|
||||
* relay: fix crash on /upgrade when the real IP is not set (issue #1294)
|
||||
* relay: fix memory leak in connection of client
|
||||
|
||||
Tests::
|
||||
|
||||
* unit: fix UTF-8 and evaluation tests on FreeBSD
|
||||
* unit: add tests on IRC configuration and protocol functions
|
||||
|
||||
Build::
|
||||
|
||||
* core: add C compiler flag "-fsigned--char" to force "char" data type to be always signed (issue #1277)
|
||||
|
||||
[[v2.3]]
|
||||
== Version 2.3 (2018-10-21)
|
||||
@@ -30,8 +63,8 @@ New features::
|
||||
* core: add repeat of string in evaluation of expressions with "repeat:count,string" (issue #958)
|
||||
* core: allow specifying buffer number/name for /buffer localvar (issue #1259)
|
||||
* core: allow multiple arguments in command /buffer close
|
||||
* core: allow multiple options "-r" ("--run-command") in command line arguments (issue #1248)
|
||||
* core: add option "-P" (or "--plugins") to customize the plugins to load at startup
|
||||
* core: allow multiple options "-r" (or "--run-command") in command line arguments (issue #1248)
|
||||
* core: add command line option "-P" (or "--plugins") to customize the plugins to load at startup
|
||||
* core: allow partial buffer name in command /buffer close (issue #1226)
|
||||
* api: add function hook_line
|
||||
* irc: display a warning when the value of option irc.server.xxx.autojoin is set to an invalid value
|
||||
@@ -343,7 +376,7 @@ Bug fixes::
|
||||
|
||||
Build::
|
||||
|
||||
* core, irc, xfer: fix compilation on Mac OS X (add link with resolv) (issue #276)
|
||||
* core, irc, xfer: fix compilation on macOS (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
|
||||
|
||||
@@ -796,7 +829,7 @@ Bug fixes::
|
||||
* core: fix reset of attributes in bars when "resetcolor" is used (issue #41)
|
||||
* core: fix alignment of lines in merged buffers when options weechat.look.prefix_align and weechat.look.prefix_buffer_align are set to "none" (issue #43)
|
||||
* core: quit WeeChat on signal SIGHUP, remove signal "signal_sighup"
|
||||
* core: fix add of filter on OS X when regex for message is empty (filter regex ending with "\t")
|
||||
* core: fix add of filter on macOS when regex for message is empty (filter regex ending with "\t")
|
||||
* core: check validity of buffer pointer when data is sent to a buffer (command/text from user and API function command())
|
||||
* core: fix crash when buffer is closed during execution of multiple commands (issue #27)
|
||||
* core: fix compilation on SmartOS (bug #40981, issue #23)
|
||||
@@ -856,13 +889,13 @@ Bug fixes::
|
||||
* scripts: fix crash when a signal is received with type "int" and NULL pointer in signal_data
|
||||
* xfer: fix problem with option xfer.file.auto_accept_nicks when the server name contains dots
|
||||
* xfer: fix freeze/problems when sending empty files with DCC (issue #53)
|
||||
* xfer: fix connection to remote host in DCC receive on Mac OS X (issue #25)
|
||||
* xfer: fix connection to remote host in DCC receive on macOS (issue #25)
|
||||
* xfer: remove bind on xfer.network.own_ip (issue #5)
|
||||
|
||||
Build::
|
||||
|
||||
* core: fix cmake warning CMP0007 on "make uninstall" (bug #41528)
|
||||
* core: use glibtoolize on Mac OS X (autotools) (issue #22)
|
||||
* core: use glibtoolize on macOS (autotools) (issue #22)
|
||||
* ruby: add detection of Ruby 2.1
|
||||
|
||||
Tests::
|
||||
@@ -1097,7 +1130,7 @@ Bug fixes::
|
||||
* core: fix hidden lines for messages without date when option weechat.history.max_buffer_lines_minutes is set (bug #38197)
|
||||
* core: use default hash/comparison callback for keys of type integer/pointer/time in hashtable
|
||||
* api: do not display a warning by default when loading a script with a license different from GPL
|
||||
* api: fix connection to servers with hook_connect() on OS X (bug #38496)
|
||||
* api: fix connection to servers with hook_connect() on macOS (bug #38496)
|
||||
* api: fix bug in function string_match() when mask begins and ends with "*"
|
||||
* api: allow hashtable with keys that are not strings in function hashtable_add_to_infolist()
|
||||
* api: fix function string_mask_to_regex(): escape all special chars used in regex (bug #38398)
|
||||
@@ -1133,7 +1166,7 @@ Bug fixes::
|
||||
Build::
|
||||
|
||||
* core: install icon file (patch #7972)
|
||||
* core: fix detection of iconv with cmake on OS X (bug #38321)
|
||||
* core: fix detection of iconv with cmake on macOS (bug #38321)
|
||||
* guile: fix compilation with Guile 2.0
|
||||
* python: fix detection of Python on Ubuntu Raring
|
||||
* script: fix compilation on GNU/Hurd (patch #7977)
|
||||
@@ -1223,7 +1256,7 @@ Build::
|
||||
* core: add git version in build, display it in "weechat-curses --help" and /version
|
||||
* core: stop cmake if gcrypt lib is not found (bug #37671)
|
||||
* guile: fix detection of Guile in configure
|
||||
* script: fix compilation on OS X
|
||||
* script: fix compilation on macOS
|
||||
|
||||
[[v0.3.9.2]]
|
||||
== Version 0.3.9.2 (2012-11-18)
|
||||
@@ -1379,7 +1412,7 @@ Bug fixes::
|
||||
* irc: close server buffer when server is deleted
|
||||
* irc: add search for lower case nicks in option irc.look.nick_color_force
|
||||
* logger: fix charset of lines displayed in backlog when terminal charset is different from UTF-8 (bug #36379)
|
||||
* perl: fix crash on quit on OS X
|
||||
* perl: fix crash on quit on macOS
|
||||
* relay: keep spaces in beginning of "input" received from client (WeeChat protocol)
|
||||
* relay: fix crash on /upgrade when client is connected using WeeChat protocol
|
||||
* relay: redirect some irc messages from clients to hide output (messages: mode, ison, list, names, topic, who, whois, whowas, time, userhost) (bug #33516)
|
||||
@@ -1392,7 +1425,7 @@ Documentation::
|
||||
|
||||
Build::
|
||||
|
||||
* perl: fix compilation on OS X (bug #30701)
|
||||
* perl: fix compilation on macOS (bug #30701)
|
||||
|
||||
[[v0.3.7]]
|
||||
== Version 0.3.7 (2012-02-26)
|
||||
@@ -1476,7 +1509,7 @@ Build::
|
||||
* core: add library "pthread" in cmake file for link on OpenBSD
|
||||
* core: add WEECHAT_HOME option in cmake and configure to setup default WeeChat home (default is "~/.weechat") (task #11266)
|
||||
* core: fix compilation under OpenBSD 5.0 (lib utf8 not needed any more) (bug #34727)
|
||||
* core: fix compilation error with "pid_t" on Mac OS X (bug #34639)
|
||||
* core: fix compilation error with "pid_t" on macOS (bug #34639)
|
||||
|
||||
[[v0.3.6]]
|
||||
== Version 0.3.6 (2011-10-22)
|
||||
@@ -1568,7 +1601,7 @@ Bug fixes::
|
||||
|
||||
Build::
|
||||
|
||||
* core: fix compilation error (INSTALLPREFIX undeclared) on OS X and when compiling with included gettext (bug #26690)
|
||||
* core: fix compilation error (INSTALLPREFIX undeclared) on macOS and when compiling with included gettext (bug #26690)
|
||||
|
||||
[[v0.3.5]]
|
||||
== Version 0.3.5 (2011-05-15)
|
||||
@@ -1868,7 +1901,7 @@ New features::
|
||||
|
||||
Bug fixes::
|
||||
|
||||
* core: fix bug with script installation on BSD/OSX (patch #6980)
|
||||
* core: fix bug with script installation on BSD/macOS (patch #6980)
|
||||
* core: fix compilation under Cygwin (patch #6916)
|
||||
* core: fix plural form in translation files (bug #27430)
|
||||
* core: fix terminal title bug: do not reset it when option weechat.look.set_title is off (bug #27399)
|
||||
@@ -2515,7 +2548,7 @@ Bug fixes::
|
||||
|
||||
Build::
|
||||
|
||||
* WeeChat now OK under *BSD and Mac OS X
|
||||
* WeeChat now OK under *BSD and macOS
|
||||
|
||||
[[v0.1.1]]
|
||||
== Version 0.1.1 (2005-03-20)
|
||||
|
||||
+1
-1
@@ -65,7 +65,7 @@ instead.
|
||||
== Translations
|
||||
|
||||
Pull requests on GitHub for fixes or new translations are welcome at any
|
||||
time, for https://github.com/weechat/weechat[WeeChat] and the web site
|
||||
time, for https://github.com/weechat/weechat[WeeChat] and the website
|
||||
https://github.com/weechat/weechat.org[weechat.org].
|
||||
|
||||
To start a translation in a new language (not yet supported), please look at
|
||||
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2018 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2019 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2005 Julien Louis <ptitlouis@sysif.net>
|
||||
# Copyright (C) 2006-2009 Emmanuel Bouthenot <kolter@openics.org>
|
||||
#
|
||||
@@ -16,7 +16,7 @@
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
# This target will update file config-git.h with output of command "git describe"
|
||||
|
||||
+11
-11
@@ -7,7 +7,7 @@
|
||||
image:https://img.shields.io/badge/diaspora*-follow-blue.svg["Diaspora*", link="https://diasp.eu/u/weechat"]
|
||||
image:https://img.shields.io/badge/google%2B-follow-blue.svg["Google+", link="https://plus.google.com/+WeeChat"]
|
||||
image:https://img.shields.io/badge/devel%20blog-follow-blue.svg["Devel blog", link="https://weechat.org/blog/"]
|
||||
image:https://img.shields.io/badge/slant-recommend-28acad.svg["Slant", link="http://www.slant.co/topics/1323/~irc-clients-for-linux"]
|
||||
image:https://img.shields.io/badge/slant-recommend-28acad.svg["Slant", link="https://www.slant.co/topics/1323/~best-irc-clients-for-linux"]
|
||||
image:https://img.shields.io/badge/help-donate%20%E2%9D%A4-ff69b4.svg["Donate", link="https://weechat.org/donate/"]
|
||||
|
||||
image:https://travis-ci.org/weechat/weechat.svg?branch=master["Build Status", link="https://travis-ci.org/weechat/weechat"]
|
||||
@@ -20,19 +20,19 @@ Homepage: https://weechat.org/
|
||||
|
||||
== Features
|
||||
|
||||
* *Modular chat client*: WeeChat has a lightweight core and optional plugins. All plugins (including IRC) are independent and can be unloaded.
|
||||
* *Multi-platform*: WeeChat runs on GNU/Linux, *BSD, GNU/Hurd, Mac OS X and Windows (Bash/Ubuntu and Cygwin).
|
||||
* *Modular chat client*: WeeChat has a lightweight core and optional https://weechat.org/files/doc/stable/weechat_user.en.html#plugins[plugins]. All plugins (including https://weechat.org/files/doc/stable/weechat_user.en.html#irc_plugin[IRC]) are independent and can be unloaded.
|
||||
* *Multi-platform*: WeeChat runs on GNU/Linux, *BSD, GNU/Hurd, macOS and Windows (Bash/Ubuntu and Cygwin).
|
||||
* *Multi-protocols*: WeeChat is designed to support multiple protocols by plugins, like IRC.
|
||||
* *Standards-compliant*: the IRC plugin is compliant with RFCs 1459, 2810, 2811, 2812 and 2813.
|
||||
* *Standards-compliant*: the IRC plugin is compliant with RFCs https://tools.ietf.org/html/rfc1459[1459], https://tools.ietf.org/html/rfc2810[2810], https://tools.ietf.org/html/rfc2811[2811], https://tools.ietf.org/html/rfc2812[2812] and https://tools.ietf.org/html/rfc2813[2813].
|
||||
* *Small, fast and very light*: the core is and should stay as light and fast as possible.
|
||||
* *Customizable and extensible*: there are a lot of options to customize WeeChat, and it is extensible with C plugins and scripts (Perl, Python, Ruby, Lua, Tcl, Scheme, JavaScript and PHP).
|
||||
* *Fully documented*: there is comprehensive documentation, which is translated into several languages.
|
||||
* *Customizable and extensible*: there are a lot of options to customize WeeChat, and it is extensible with C plugins and https://weechat.org/scripts/[scripts] (https://weechat.org/scripts/stable/language/perl/[Perl], https://weechat.org/scripts/stable/language/python/[Python], https://weechat.org/scripts/stable/language/ruby[Ruby], https://weechat.org/scripts/stable/language/lua/[Lua], https://weechat.org/scripts/stable/language/tcl/[Tcl], https://weechat.org/scripts/stable/language/guile/[Scheme], https://weechat.org/scripts/stable/language/javascript/[JavaScript] and https://weechat.org/scripts/stable/language/php/[PHP]).
|
||||
* *Fully documented*: there is comprehensive https://weechat.org/doc/[documentation], which is https://weechat.org/files/doc/stable/weechat_dev.en.html#translations[translated] into several languages.
|
||||
* *Developed from scratch*: WeeChat was built from scratch and is not based on any other client.
|
||||
* *Free software*: WeeChat is released under GPLv3.
|
||||
* *Free software*: WeeChat is released under https://www.gnu.org/licenses/gpl-3.0.html[GPLv3].
|
||||
|
||||
image::https://weechat.org/media/images/screenshots/weechat/medium/weechat_2013-04-27_phlux_shadow.png[align="center"]
|
||||
|
||||
Other screenshots are on https://weechat.org/about/screenshots/[this page].
|
||||
On WeeChat's website you can find https://weechat.org/about/screenshots/[more screenshots].
|
||||
|
||||
== Install
|
||||
|
||||
@@ -60,7 +60,7 @@ https://weechat.org/files/doc/devel/weechat_user.en.html#dependencies[user's gui
|
||||
|
||||
=== Compile
|
||||
|
||||
WeeChat can be built with http://cmake.org/[CMake] (recommended) or autotools.
|
||||
WeeChat can be built with https://cmake.org/[CMake] (recommended) or autotools.
|
||||
|
||||
[NOTE]
|
||||
Only CMake is officially supported to build WeeChat. You should only use
|
||||
@@ -111,7 +111,7 @@ $ ctest -V
|
||||
|
||||
== Copyright
|
||||
|
||||
Copyright (C) 2003-2018 Sébastien Helleu <flashcode@flashtux.org>
|
||||
Copyright (C) 2003-2019 Sébastien Helleu <flashcode@flashtux.org>
|
||||
|
||||
This file is part of WeeChat, the extensible chat client.
|
||||
|
||||
@@ -126,4 +126,4 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
+33
-4
@@ -17,6 +17,39 @@ https://weechat.org/files/changelog/ChangeLog-devel.html[ChangeLog]
|
||||
(file _ChangeLog.adoc_ in sources).
|
||||
|
||||
|
||||
[[v2.4]]
|
||||
== Version 2.4 (2019-02-17)
|
||||
|
||||
[[v2.4_nick_completer]]
|
||||
=== Nick completer
|
||||
|
||||
A space is not added automatically any more when you complete a nick at the
|
||||
beginning of command line.
|
||||
|
||||
The default value of option `weechat.completion.nick_completer` has been changed
|
||||
to add the space by default, so you may have to run this command if you upgraded
|
||||
from an old version and want the space to be added automatically:
|
||||
|
||||
----
|
||||
/set weechat.completion.nick_completer ": "
|
||||
----
|
||||
|
||||
[[v2.4_api_base64_functions]]
|
||||
=== Base64 API functions
|
||||
|
||||
The functions to encode/decode base64 strings have been renamed and now support
|
||||
base 16, 32, and 64.
|
||||
|
||||
New functions in C API, supporting base 16, 32, and 64:
|
||||
|
||||
* string_base_encode
|
||||
* string_base_decode
|
||||
|
||||
Functions removed from C API:
|
||||
|
||||
* string_encode_base64
|
||||
* string_decode_base64
|
||||
|
||||
[[v2.3]]
|
||||
== Version 2.3 (2018-10-21)
|
||||
|
||||
@@ -1489,10 +1522,6 @@ Major differences:
|
||||
accordingly, scripts and plugins must have been designed for version 0.3.x to
|
||||
be loaded into WeeChat.
|
||||
|
||||
More information about new API is available on wiki:
|
||||
http://wiki.flashtux.org/wiki/WeeChat_0.3.0
|
||||
and http://wiki.flashtux.org/wiki/WeeChat_0.3.0_API
|
||||
|
||||
[[v0.2.6.3]]
|
||||
== Version 0.2.6.3 (2009-06-13)
|
||||
|
||||
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# Copyright (C) 2003-2018 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2019 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2005 Julien Louis <ptitlouis@sysif.net>
|
||||
# Copyright (C) 2005-2006 Emmanuel Bouthenot <kolter@openics.org>
|
||||
#
|
||||
@@ -17,7 +17,7 @@
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
###
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2018 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2019 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
@@ -14,7 +14,7 @@
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
# - Find Asciidoctor
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2018 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2019 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
@@ -14,7 +14,7 @@
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
# - Find Aspell
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2014-2018 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2014-2019 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
@@ -14,7 +14,7 @@
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
# - Find CppUTest
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2018 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2019 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
@@ -14,7 +14,7 @@
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
# - Find Gcrypt
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2018 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2019 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2007 Julien Louis <ptitlouis@sysif.net>
|
||||
# Copyright (C) 2009 Emmanuel Bouthenot <kolter@openics.org>
|
||||
#
|
||||
@@ -16,7 +16,7 @@
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
# - Find Gettext
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2018 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2019 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2009 Emmanuel Bouthenot <kolter@openics.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
@@ -15,7 +15,7 @@
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
# - Find GnuTLS
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2011-2018 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2011-2019 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
@@ -14,7 +14,7 @@
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
# - Find Guile
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2018 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2019 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
@@ -14,7 +14,7 @@
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
# - Find Iconv
|
||||
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2018 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2019 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
@@ -14,7 +14,7 @@
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
# - Find Lua
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2018 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2019 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
@@ -14,7 +14,7 @@
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
if(NCURSES_FOUND)
|
||||
|
||||
+1
-1
@@ -14,7 +14,7 @@
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
if(PHP_FOUND)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2018 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2019 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
@@ -14,7 +14,7 @@
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
# - Find Perl libraries
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2018 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2019 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2009 Julien Louis <ptitlouis@sysif.net>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
@@ -15,7 +15,7 @@
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
# - Find Python
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2018 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2019 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
@@ -14,7 +14,7 @@
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
# - Find Ruby
|
||||
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
#
|
||||
# Copyright (C) 2008 Julien Louis <ptitlouis@sysif.net>
|
||||
# Copyright (C) 2008-2018 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2008-2019 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
@@ -15,7 +15,7 @@
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
# - Find Tcl includes and libraries.
|
||||
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2015-2018 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2015-2019 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
@@ -14,7 +14,7 @@
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
# - Find V8 (Google's JavaScript engine)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2018 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2019 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
@@ -14,7 +14,7 @@
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
if(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt")
|
||||
|
||||
+4
-4
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2018 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2019 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>
|
||||
@@ -17,7 +17,7 @@
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
# -*- Autoconf -*-
|
||||
@@ -1206,7 +1206,7 @@ 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([
|
||||
*** zlib was not found. You may want to get it from http://zlib.net/
|
||||
*** zlib was not found. You may want to get it from https://zlib.net/
|
||||
*** or try to install zlib1g-dev with your software package manager.])
|
||||
else
|
||||
AC_MSG_RESULT(yes)
|
||||
@@ -1330,7 +1330,7 @@ AC_DEFINE_UNQUOTED(WEECHAT_SHAREDIR, "$WEECHAT_SHAREDIR")
|
||||
weechat_libdir=${libdir}/weechat
|
||||
AC_SUBST(weechat_libdir)
|
||||
|
||||
COMMON_CFLAGS="-Wall -Wextra -Werror-implicit-function-declaration"
|
||||
COMMON_CFLAGS="-fsigned-char -Wall -Wextra -Werror-implicit-function-declaration"
|
||||
AC_MSG_CHECKING([whether we have GNU assembler])
|
||||
GAS=`as --version < /dev/null 2>/dev/null | grep GNU`
|
||||
if test "$GAS"; then
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
11
|
||||
12
|
||||
|
||||
@@ -4,7 +4,7 @@ Priority: optional
|
||||
Maintainer: Sébastien Helleu <flashcode@flashtux.org>
|
||||
Build-Depends:
|
||||
asciidoctor (>= 1.5.4),
|
||||
debhelper (>= 11),
|
||||
debhelper (>= 12),
|
||||
cmake, pkg-config,
|
||||
libncursesw5-dev,
|
||||
gem2deb,
|
||||
@@ -21,7 +21,7 @@ Build-Depends:
|
||||
libgcrypt20-dev,
|
||||
libgnutls28-dev,
|
||||
zlib1g-dev
|
||||
Standards-Version: 4.1.5
|
||||
Standards-Version: 4.3.0
|
||||
Homepage: https://weechat.org/
|
||||
Vcs-Git: https://salsa.debian.org/kolter/weechat.git
|
||||
Vcs-Browser: https://salsa.debian.org/kolter/weechat
|
||||
|
||||
@@ -1 +1 @@
|
||||
11
|
||||
12
|
||||
|
||||
@@ -4,7 +4,7 @@ Priority: optional
|
||||
Maintainer: Emmanuel Bouthenot <kolter@debian.org>
|
||||
Build-Depends:
|
||||
asciidoctor (>= 1.5.4),
|
||||
debhelper (>= 11),
|
||||
debhelper (>= 12),
|
||||
cmake, pkg-config,
|
||||
libncursesw5-dev,
|
||||
gem2deb,
|
||||
@@ -21,7 +21,7 @@ Build-Depends:
|
||||
libgcrypt20-dev,
|
||||
libgnutls28-dev,
|
||||
zlib1g-dev
|
||||
Standards-Version: 4.1.5
|
||||
Standards-Version: 4.3.0
|
||||
Homepage: https://weechat.org/
|
||||
Vcs-Git: https://salsa.debian.org/kolter/weechat.git
|
||||
Vcs-Browser: https://salsa.debian.org/kolter/weechat
|
||||
|
||||
@@ -4,7 +4,7 @@ Upstream-Contact: Sébastien Helleu <flashcode@flashtux.org>
|
||||
Source: https://weechat.org/
|
||||
|
||||
Files: *
|
||||
Copyright: 2003-2018, Sébastien Helleu <flashcode@flashtux.org>
|
||||
Copyright: 2003-2019, Sébastien Helleu <flashcode@flashtux.org>
|
||||
License: GPL-3+
|
||||
|
||||
Files: src/core/wee-command.c
|
||||
@@ -165,7 +165,7 @@ License: GPL-3+
|
||||
General Public License for more details.
|
||||
.
|
||||
You should have received a copy of the GNU General Public License along
|
||||
with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
.
|
||||
On Debian systems, the complete text of the GNU General Public License,
|
||||
Version 3 can be found in the file /usr/share/common-licenses/GPL-3
|
||||
@@ -182,7 +182,7 @@ License: GPL-3-with-openssl-exception
|
||||
General Public License for more details.
|
||||
.
|
||||
You should have received a copy of the GNU General Public License along
|
||||
with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
.
|
||||
On Debian systems, the complete text of the GNU General Public License,
|
||||
Version 3 can be found in the file /usr/share/common-licenses/GPL-3
|
||||
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2018 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2019 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2009 Emmanuel Bouthenot <kolter@openics.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
@@ -15,7 +15,7 @@
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
if(ENABLE_MAN OR ENABLE_DOC)
|
||||
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2018 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2019 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2006 Julien Louis <ptitlouis@sysif.net>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
@@ -15,7 +15,7 @@
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
SUBDIRS = . cs de en es fr it ja pl ru
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2018 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2019 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
@@ -14,7 +14,7 @@
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
if(ENABLE_MAN)
|
||||
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2018 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2019 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
@@ -14,7 +14,7 @@
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
docdir = $(datadir)/doc/$(PACKAGE)
|
||||
|
||||
@@ -17,6 +17,18 @@
|
||||
Pokud tato volba není zadána, použije se promněná prostředí WEECHAT_HOME
|
||||
(pokud není prázdná)
|
||||
|
||||
// TRANSLATION MISSING
|
||||
*-t*, *--temp-dir*::
|
||||
Create a temporary WeeChat home directory and delete it on exit
|
||||
(incompatible with option "-d"). +
|
||||
The name of the directory is automatically built by WeeChat, with this
|
||||
template: "weechat_temp_XXXXXX" (where "XXXXXX" is random). It it created
|
||||
in the first available directory in this list: environment variable "TMPDIR",
|
||||
"/tmp" (may be different according to the operating system), environment
|
||||
variable "HOME", current directory. +
|
||||
The temporary home directory has permissions 0700 (only owner can read,
|
||||
write and execute).
|
||||
|
||||
*-h*, *--help*::
|
||||
Zobrazí nápovědu.
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
WeeChat je napsán Sébastienem Helleu a přispěvovateli (kompletní seznam je v
|
||||
souboru AUTHORS.adoc).
|
||||
|
||||
Copyright (C) 2003-2018 {author}
|
||||
Copyright (C) 2003-2019 {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
|
||||
|
||||
@@ -16,7 +16,7 @@ weechat-headless - the extensible chat client (headless version)
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[verse]
|
||||
*weechat-headless* [-a|--no-connect] [--daemon] [-d|--dir <path>] [-p|--no-plugin] [-P|--plugins <plugins>] [-r|--run-command <command>] [-s|--no-script] [--upgrade] [plugin:option...]
|
||||
*weechat-headless* [-a|--no-connect] [--daemon] [-d|--dir <path>] [-t|--temp-dir] [-p|--no-plugin] [-P|--plugins <plugins>] [-r|--run-command <command>] [-s|--no-script] [--upgrade] [plugin:option...]
|
||||
*weechat-headless* [-c|--colors]
|
||||
*weechat-headless* [-h|--help]
|
||||
*weechat-headless* [-l|--license]
|
||||
|
||||
@@ -15,7 +15,7 @@ weechat - the extensible chat client
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[verse]
|
||||
*weechat* [-a|--no-connect] [-d|--dir <path>] [-p|--no-plugin] [-P|--plugins <plugins>] [-r|--run-command <command>] [-s|--no-script] [--upgrade] [plugin:option...]
|
||||
*weechat* [-a|--no-connect] [-d|--dir <path>] [-t|--temp-dir] [-p|--no-plugin] [-P|--plugins <plugins>] [-r|--run-command <command>] [-s|--no-script] [--upgrade] [plugin:option...]
|
||||
*weechat* [-c|--colors]
|
||||
*weechat* [-h|--help]
|
||||
*weechat* [-l|--license]
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2018 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2019 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
@@ -14,7 +14,7 @@
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
if(ENABLE_MAN)
|
||||
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2018 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2019 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2006 Julien Louis <ptitlouis@sysif.net>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
@@ -15,7 +15,7 @@
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
docdir = $(datadir)/doc/$(PACKAGE)
|
||||
|
||||
@@ -112,6 +112,10 @@
|
||||
|
||||
| weechat | term_width | Breite des Terminals | -
|
||||
|
||||
| weechat | totp_generate | generiert ein Time-based One-Time Passwort (TOTP) | geheime Zeichenkette (in base32), Zeitstempel (optional, standardmäßig aktuelle Zeit), Anzahl an Zeichen (optional, zwischen 4 und 10, standardmäßig 6)
|
||||
|
||||
| weechat | totp_validate | validiert ein Time-based One-Time Passwort (TOTP): 1 falls TOTP korrekt ist, ansonsten 0 | geheim (in base32), einmaliges Passwort, Zeitstempel (optional, standardmäßig aktuelle Zeit), Anzahl der zu testenden Passwörtern vorher/nachher (optional, standardmäßig 0)
|
||||
|
||||
| weechat | uptime | Laufzeit von Weechat (Format: "days:hh:mm:ss") | "days" (Anzahl der Tage) oder "seconds" (Anzahl der Sekunden) (optional)
|
||||
|
||||
| weechat | version | WeeChat-Version | -
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
refresh
|
||||
|
||||
bar: fügt eine "buflist" Bar hinzu
|
||||
refresh: erzwingt eine Aktualisierung des "buflist" Bar-Item
|
||||
refresh: erzwingt eine Aktualisierung der Bar-Item (buflist, buflist2 und buflist3)
|
||||
|
||||
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
|
||||
@@ -33,14 +33,15 @@ Die folgenden Variablen können in den obigen Optionen genutzt werden:
|
||||
- ${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}: eingerückte Nummer, zum Beispiel " 1", falls die Anzahl der Buffer zwischen 10 und 99 liegt; bei zusammengefügten Buffern enthält die Variable für den ersten Buffer die entsprechende Nummer, die weiteren Buffer enthalten ein Leerzeichen anstelle der Nummer
|
||||
- ${number2}: 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
|
||||
- ${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
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
-list: zeigt laufende Befehle an
|
||||
-sh: es wird die shell verwendet um Befehle auszuführen, mehrere Befehle können dabei gepiped werden (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)(Standardverhalten)
|
||||
-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)
|
||||
-bg: führt Prozess im Hintergrund aus: es wird weder eine Prozessausgabe noch ein Rückgabewert ausgegeben (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)
|
||||
@@ -28,7 +28,7 @@
|
||||
-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)
|
||||
-nf: gibt die Ausgabe des Befehls in einem neuen Buffer, mit einem freien Inhalt, aus (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)
|
||||
@@ -67,7 +67,7 @@ Standardoptionen können in der Einstellung exec.command.default_options bestimm
|
||||
Beispiele:
|
||||
/exec -n ls -l /tmp
|
||||
/exec -sh -n ps xu | grep weechat
|
||||
/exec -n -norc url:http://pastebin.com/raw.php?i=xxxxxxxx
|
||||
/exec -n -norc url:https://pastebin.com/raw.php?i=xxxxxxxx
|
||||
/exec -nf -noln links -dump https://weechat.org/files/doc/devel/weechat_user.en.html
|
||||
/exec -o uptime
|
||||
/exec -pipe "/print Machine uptime:" uptime
|
||||
|
||||
@@ -25,3 +25,9 @@
|
||||
** Typ: integer
|
||||
** Werte: -1 .. 25920000
|
||||
** Standardwert: `+0+`
|
||||
|
||||
* [[option_exec.command.shell]] *exec.command.shell*
|
||||
** Beschreibung: pass:none[shell welche für den Befehl "/exec -sh" genutzt werden soll; hierbei kann es sich um den Namen der shell handeln der über PATH gefunden wird (zum Beispiel "bash") oder man nutzt eine absolute Pfadangabe zur Binärdatei (zum Beispiel "/bin/bash")]
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette
|
||||
** Standardwert: `+"sh"+`
|
||||
|
||||
@@ -160,7 +160,7 @@ Beispiele:
|
||||
|
||||
server: an diesen Server senden (interner Servername)
|
||||
target: Nick- oder Channelname an welchen eine CTCP-Nachricht geschickt werden soll ('*' = aktuellen Channel)
|
||||
type: CTCP-Nachricht (Beispiele: "version", "ping", ..)
|
||||
type: CTCP-Nachricht (Beispiele: "version", "ping", usw.)
|
||||
arguments: Argumente für CTCP
|
||||
|
||||
Beispiele:
|
||||
|
||||
@@ -363,7 +363,7 @@
|
||||
** Standardwert: `+256+`
|
||||
|
||||
* [[option_irc.look.server_buffer]] *irc.look.server_buffer*
|
||||
** Beschreibung: pass:none[Server-Buffer zusammenfügen]
|
||||
** Beschreibung: pass:none[fügt Serverbuffer zusammen; diese Option hat keine Auswirkung wenn ein Layout genutzt wird und mit dieser Option im Widerspruch steht (siehe /help layout)]
|
||||
** Typ: integer
|
||||
** Werte: merge_with_core, merge_without_core, independent
|
||||
** Standardwert: `+merge_with_core+`
|
||||
@@ -429,7 +429,7 @@
|
||||
** Standardwert: `+off+`
|
||||
|
||||
* [[option_irc.network.autoreconnect_delay_growing]] *irc.network.autoreconnect_delay_growing*
|
||||
** Beschreibung: pass:none[Multiplikator für die Verzögerung bei der automatischen Wiederverbindung zum Server (1 = immer die selbe Verzögerung nutzen, 2 = Verzögerung*2 für jeden weiteren Versuch, ..)]
|
||||
** Beschreibung: pass:none[Multiplikator für die Verzögerung bei der automatischen Wiederverbindung zum Server (1 = immer die selbe Verzögerung nutzen, 2 = Verzögerung*2 für jeden weiteren Versuch, usw.)]
|
||||
** Typ: integer
|
||||
** Werte: 1 .. 100
|
||||
** Standardwert: `+2+`
|
||||
|
||||
@@ -111,7 +111,7 @@
|
||||
** Standardwert: `+off+`
|
||||
|
||||
* [[option_relay.network.allowed_ips]] *relay.network.allowed_ips*
|
||||
** Beschreibung: pass:none[erweiterter regulärer POSIX Ausdruck für IPs die von relay akzeptiert werden (Groß- und Kleinschreibung wird ignoriert. Um zwischen Groß- und Kleinschreibung zu unterscheiden muss die Zeichenkette mit "(?-i)" eingeleitet werden), Beispiele: "^(123.45.67.89|192.160.*)$"]
|
||||
** Beschreibung: pass:none[erweiterter regulärer POSIX Ausdruck für IPs die von relay akzeptiert werden (Groß- und Kleinschreibung wird ignoriert. Um zwischen Groß- und Kleinschreibung zu unterscheiden muss die Zeichenkette mit "(?-i)" eingeleitet werden), Beispiele: "^(123\.45\.67\.89|192\.160\..*)$"]
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette
|
||||
** Standardwert: `+""+`
|
||||
@@ -164,8 +164,20 @@
|
||||
** Werte: beliebige Zeichenkette
|
||||
** Standardwert: `+"NORMAL:-VERS-SSL3.0"+`
|
||||
|
||||
* [[option_relay.network.websocket_allowed_origins]] *relay.network.websocket_allowed_origins*
|
||||
** Beschreibung: pass:none[erweiterter regulärer POSIX Ausdruck für Origins in WebSockets (Groß- und Kleinschreibung wird ignoriert. Um Groß- und Kleinschreibung zu unterscheiden muss "(?-i)" dem Origin vorangestellt werden), Beispiele: "^http://(www\.)?example\.(com|org)"]
|
||||
* [[option_relay.network.totp_secret]] *relay.network.totp_secret*
|
||||
** Beschreibung: pass:none[geheime Zeichenkette für die Erstellung des Time-based One-Time Passwort (TOTP), base32 enkodiert (ausschließlich Buchstaben und Zahlen zwischen 2 und 7); dient im WeeChat-Protokoll zur Zwei-Faktor-Authentifizierung, ergänzend zum eigentlichen Passwort (eine nicht gesetzte Option bedeutet, das TOTP nicht benötigt wird) (Hinweis: Inhalt wird evaluiert, siehe /help eval)]
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette
|
||||
** Standardwert: `+""+`
|
||||
|
||||
* [[option_relay.network.totp_window]] *relay.network.totp_window*
|
||||
** Beschreibung: pass:none[Anzahl der Time-based One-Time Passwörter die vor und nach dem aktuellen Passwort akzeptiert werden: 0 = nur das aktuelle Passwort wird akzeptiert, 1 = akzeptiert ein Passwort vorher, das aktuelle und ein Passwort danach, 2 = akzeptiert zwei Passwörter vorher, das aktuelle und zwei Passwörter danach, ...; umso höher die genutzte Zahl umso unsicherer das Verfahren (0 oder 1 sind empfohlene Werte)]
|
||||
** Typ: integer
|
||||
** Werte: 0 .. 256
|
||||
** Standardwert: `+0+`
|
||||
|
||||
* [[option_relay.network.websocket_allowed_origins]] *relay.network.websocket_allowed_origins*
|
||||
** Beschreibung: pass:none[erweiterter regulärer POSIX Ausdruck für Origins in WebSockets (Groß- und Kleinschreibung wird ignoriert. Um Groß- und Kleinschreibung zu unterscheiden kann "(?-i)" vorangestellt werden), Beispiel: ^https?://(www\.)?example\.(com|org)"]
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette
|
||||
** Standardwert: `+""+`
|
||||
|
||||
@@ -57,13 +57,13 @@ Tastenbefehle die im Skript-Buffer genutzt werden können:
|
||||
alt+v Skript anzeigen
|
||||
|
||||
Befehle die in der Eingabezeile des Skript-Buffers eingegeben werden können:
|
||||
i/r/l/L/u/h Aktionen die für ein Skript ausgeführt werden können (siehe Tastenbefehle, weiter oben)
|
||||
q schließt den Buffer
|
||||
$ Buffer wird aktualisiert
|
||||
s:x,y Buffer wird nach den Vorgaben x und y sortiert (siehe /help script.look.sort)
|
||||
s: die Sortierung des Buffers wird zurückgesetzt (Standardwerte werden genutzt)
|
||||
word(s) Skripten werden gefiltert: sucht nach einem oder mehreren Wörtern in den Skripten (der Beschreibung, in den Schlagwörtern, ...)
|
||||
* Filter wird zurückgesetzt
|
||||
i/r/l/L/u/A/h/v Aktionen die für ein Skript ausgeführt werden können (siehe Tastenbefehle, weiter oben)
|
||||
q schließt den Buffer
|
||||
$ Buffer wird aktualisiert
|
||||
s:x,y Buffer wird nach den Vorgaben x und y sortiert (siehe /help script.look.sort)
|
||||
s: die Sortierung des Buffers wird zurückgesetzt (Standardwerte werden genutzt)
|
||||
word(s) Skripten werden gefiltert: sucht nach einem oder mehreren Wörtern in den Skripten (der Beschreibung, in den Schlagwörtern, ...)
|
||||
* Filter wird zurückgesetzt
|
||||
|
||||
Mausbefehle innerhalb des Skripten-Buffer:
|
||||
Mausrad in der Liste scrollen
|
||||
|
||||
@@ -75,7 +75,7 @@ Wenn ein Trigger-Callback aufgerufen wird, dann wird folgende Befehlskette ausge
|
||||
|
||||
Beispiele (die standardmäßig, eingebauten Trigger kann man sich mit "/trigger listdefault" anzeigen lassen):
|
||||
fügt einer Nachricht die Textattribute *fett*, _unterstrichen_ und /kursiv/ hinzu:
|
||||
/trigger add effects modifier weechat_print "${tg_tag_nick}" "==\*(\S+)\*==*${color:bold}${re:1}${color:-bold}*== ==_(\S+)_==_${color:underline}${re:1}${color:-underline}_== ==/(\S+)/==/${color:italic}${re:1}${color:-italic}/"
|
||||
/trigger add effects modifier weechat_print "${tg_tag_nick}" "==\*([^ ]+)\*==*${color:bold}${re:1}${color:-bold}*== ==_([^ ]+)_==_${color:underline}${re:1}${color:-underline}_== ==/([^ ]+)/==/${color:italic}${re:1}${color:-italic}/"
|
||||
verbirgt die Nicklist auf kleineren Terminals:
|
||||
/trigger add resize_small signal signal_sigwinch "${info:term_width} < 100" "" "/bar hide nicklist"
|
||||
/trigger add resize_big signal signal_sigwinch "${info:term_width} >= 100" "" "/bar show nicklist"
|
||||
|
||||
@@ -658,7 +658,7 @@ Ohne Angabe eines Arguments werden alle installierten Erweiterungen angezeigt.
|
||||
-core: Alternativname für "-buffer core.weechat"
|
||||
-current: Text wird im aktuell genutzten Buffer ausgegeben
|
||||
-y: schreibt den Text in die angegebene Zeile (nur bei Buffern mit freiem Inhalt)
|
||||
line: Zeilennummer bei einem Buffer mit freiem Inhalt (erste Zeile ist 0, bei einer negative Zahl wird der Text nach der letzten Zeile eingefügt: -1 = nach der letzten Zeile, -2 = zwei Zeilen, nach der letzten Zeile, ...)
|
||||
line: Zeilennummer bei einem Buffer mit freiem Inhalt (erste Zeile ist 0, bei einer negative Zahl wird der Text nach der letzten Zeile eingefügt: -1 = nach der letzten Zeile, -2 = zwei Zeilen, nach der letzten Zeile, usw.)
|
||||
-escape: Escapesequenzen werden umgewandelt (zum Beispiel \a, \07, \x07)
|
||||
-date: Datum der Nachricht, mögliche Formatierung:
|
||||
-n: 'n' vor dem jetzigen Zeipunkt, in Sekunden
|
||||
@@ -667,7 +667,7 @@ Ohne Angabe eines Arguments werden alle installierten Erweiterungen angezeigt.
|
||||
date/time (ISO 8601): yyyy-mm-ddThh:mm:ss, Beispiel: 2014-01-19T04:32:55
|
||||
time: hh:mm:ss (Beispiel: 04:32:55)
|
||||
-tags: durch Kommata getrennte Liste von Tags (siehe /help filter für eine Liste von Tags die häufig genutzt werden)
|
||||
text: Text der ausgegeben werden soll (Präfix und Nachricht muss durch \t getrennt werden)
|
||||
text: Text der ausgegeben werden soll (Präfix und Nachricht muss durch \t getrennt werden, sollte der Text mit "-" beginnen, muss ein "\" vorangestellt werden)
|
||||
-stdout: Text wird an stdout geschickt (Escapesequenzen werden umgewandelt)
|
||||
-stderr: Text wird an stderr geschickt (Escapesequenzen werden umgewandelt)
|
||||
-beep: Alias für "-stderr \a"
|
||||
@@ -685,7 +685,7 @@ Beispiele:
|
||||
zeigt eine Nachricht im Core-Buffer mit dem Präfix "abc" an:
|
||||
/print -core abc\tmeine Nachricht
|
||||
es wird eine Nachricht im Channel #weechat ausgegeben:
|
||||
/print -buffer irc.freenode.#weechat Message on #weechat
|
||||
/print -buffer irc.freenode.#weechat Nachricht an #weechat
|
||||
gibt einen Schneemann aus (U+2603):
|
||||
/print -escape \u2603
|
||||
verschickt Alarm (BEL):
|
||||
@@ -799,10 +799,10 @@ passphrase: ändern der Passphrase (ohne Passphrase, werden die Daten in der Dat
|
||||
Ohne Angabe von Argumenten wird ein neuer Buffer geöffnet und die schutzwürdigen Informationen können dort eingesehen werden.
|
||||
|
||||
Tastenbefehle für den secure-Buffer:
|
||||
alt+v Werte werden ein-ausgeblendet
|
||||
alt+v Werte werden in Klartext angezeigt bzw. verborgen
|
||||
|
||||
Wird eine Passphrase verwendet (Daten liegen verschlüsselt vor), fragt WeeChat beim Start die Passphrase ab.
|
||||
Es ist möglich eine Umgebungsvariable "WEECHAT_PASSPHRASE" zu setzen um die Eingabeaufforderung beim Programmstart zu vermeiden (diese Variable wird auch von WeeChat beim /upgrade verwendet).
|
||||
Setzt man die Umgebungsvariable "WEECHAT_PASSPHRASE", kann die Eingabeaufforderung der Passphrase beim Programmstart vermieden werden (diese Variable wird von WeeChat auch beim /upgrade verwendet). Es ist auch möglich in der Option sec.crypt.passphrase_file eine Datei anzugeben die die Passphrase beinhaltet (siehe /help sec.crypt.passphrase_file)
|
||||
|
||||
schutzwürdige Daten mit dem Format ${sec.data.xxx} können wie folgt genutzt werden:
|
||||
- Befehl /eval.
|
||||
|
||||
@@ -420,7 +420,7 @@
|
||||
** 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
|
||||
** Werte: beliebige Zeichenkette
|
||||
** Standardwert: `+":"+`
|
||||
** Standardwert: `+": "+`
|
||||
|
||||
* [[option_weechat.completion.nick_first_only]] *weechat.completion.nick_first_only*
|
||||
** Beschreibung: pass:none[es wird ausschließlich mit dem ersten, passendem Nick-Namen vervollständigt]
|
||||
@@ -921,7 +921,7 @@
|
||||
** Standardwert: `+djb2+`
|
||||
|
||||
* [[option_weechat.look.nick_color_stop_chars]] *weechat.look.nick_color_stop_chars*
|
||||
** Beschreibung: pass:none[Zeichen die genutzt werden sollen damit bei der Generierung der Farbe für einen Nicknamen abgebrochen wird. Es muss mindestens ein Zeichen im Nicknamen enthalten sein der nicht in dieser Liste aufgeführt wird, damit eine Farbe für den Nicknamen erstellt werden kann (Beispiel: Der Nickname lautet "|nick|abwesend" wobei das Zeichen "|" ignoriert werden soll. Die Farbe für den Nicknamen wird nun für "|nick" anstelle von "|nick|abwesend" erstellt)]
|
||||
** Beschreibung: pass:none[Zeichen die genutzt werden sollen damit bei der Generierung der Farbe für einen Nicknamen abgebrochen wird. Es muss mindestens ein Zeichen im Nicknamen enthalten sein der nicht in dieser Liste aufgeführt wird, damit eine Farbe für den Nicknamen erstellt werden kann (Beispiel: Der Nickname lautet "|nick|abwesend" wobei das Zeichen "|" ignoriert werden soll. Die Farbe für den Nicknamen wird nun für "|nick" anstelle von "|nick|abwesend" erstellt); diese Option hat einen Einfluss auf die Option weechat.look.nick_color_force, dort aufgeführte Nicks sollten keine Zeichen haben, die von dieser Option ignoriert werden]
|
||||
** Typ: Zeichenkette
|
||||
** Werte: beliebige Zeichenkette
|
||||
** Standardwert: `+"_|["+`
|
||||
|
||||
@@ -15,6 +15,17 @@
|
||||
Wird diese Option nicht genutzt, wird die Umgebungsvariable WEECHAT_HOME genutzt
|
||||
(sofern diese vorhanden ist).
|
||||
|
||||
*-t*, *--temp-dir*::
|
||||
Erstellt ein temporäres WeeChat Heimatverzeichnis welches beim Beenden gelöscht wird
|
||||
(nicht nutzbar mit Option "-d"). +
|
||||
Der Name des Verzeichnisses wird automatisch durch WeeChat vergeben, die Vorgabe für
|
||||
den Namen lautet: "weechat_temp_XXXXXX" ("XXXXXX" ist dabei ein zufälliger Wert).
|
||||
Dieses Verzeichnis wird dann im ersten möglichen Verzeichnis angelegt und anhand folgender
|
||||
Reihenfolge bestimmt: Umgebungsvariable "TMPDIR", "/tmp" (kann abweichend sein, abhängig
|
||||
vom verwendeten Betriebssystem), Umgebungsvariable "HOME", aktuelles Verzeichnis. +
|
||||
Das temporäre Heimatverzeichnis besitzt die Berichtigung 0700 (nur Besitzer kann lesen,
|
||||
schreiben und ausführen).
|
||||
|
||||
*-h*, *--help*::
|
||||
zeigt einen Hilfstext an.
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
WeeChat wird programmiert von Sébastien Helleu und weiteren Beteiligten (eine vollständige Auflistung
|
||||
findet man in der AUTHORS.adoc Datei).
|
||||
|
||||
Copyright (C) 2003-2018 {author}
|
||||
Copyright (C) 2003-2019 {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
|
||||
|
||||
@@ -13,7 +13,7 @@ weechat-headless - der erweiterbare Chat Client (headless version)
|
||||
== SYNOPSIS
|
||||
|
||||
[verse]
|
||||
*weechat-headless* [-a|--no-connect] [--daemon] [-d|--dir <path>] [-p|--no-plugin] [-P|--plugins <plugins>] [-r|--run-command <command>] [-s|--no-script] [--upgrade] [plugin:option...]
|
||||
*weechat-headless* [-a|--no-connect] [--daemon] [-d|--dir <path>] [-t|--temp-dir] [-p|--no-plugin] [-P|--plugins <plugins>] [-r|--run-command <command>] [-s|--no-script] [--upgrade] [plugin:option...]
|
||||
*weechat-headless* [-c|--colors]
|
||||
*weechat-headless* [-h|--help]
|
||||
*weechat-headless* [-l|--license]
|
||||
|
||||
@@ -13,7 +13,7 @@ weechat - der erweiterbare Chat Client
|
||||
== SYNOPSIS
|
||||
|
||||
[verse]
|
||||
*weechat* [-a|--no-connect] [-d|--dir <path>] [-p|--no-plugin] [-P|--plugins <plugins>] [-r|--run-command <command>] [-s|--no-script] [--upgrade] [plugin:option...]
|
||||
*weechat* [-a|--no-connect] [-d|--dir <path>] [-t|--temp-dir] [-p|--no-plugin] [-P|--plugins <plugins>] [-r|--run-command <command>] [-s|--no-script] [--upgrade] [plugin:option...]
|
||||
*weechat* [-c|--colors]
|
||||
*weechat* [-h|--help]
|
||||
*weechat* [-l|--license]
|
||||
|
||||
+130
-52
@@ -36,10 +36,9 @@ Aber diese Bedeutung trifft nicht auf WeeChat zu!)
|
||||
[[why_choose_weechat]]
|
||||
=== Weshalb sollte man WeeChat nutzen? - X-Chat und Irssi sind doch auch sehr gut...
|
||||
|
||||
WeeChat ist sehr Speicher schonend und besticht durch innovative Funktionen.
|
||||
WeeChat ist sehr speicherschonend und besticht durch innovative Funktionen.
|
||||
|
||||
Weitere Informationen gibt es auf der folgenden Internetseite:
|
||||
https://weechat.org/about/features
|
||||
Weitere Informationen findet man auf der WeeChat Seite: https://weechat.org/about/features
|
||||
|
||||
[[compilation_install]]
|
||||
== Kompilierung / Installation
|
||||
@@ -53,11 +52,13 @@ https://weechat.org/about/interfaces
|
||||
[[compile_git]]
|
||||
=== Ich kann WeeChat nach Cloning des git Repository nicht kompilieren - weshalb?
|
||||
|
||||
Es wird empfohlen cmake zum kompilieren von WeeChat zu nutzen.
|
||||
Es wird empfohlen link:weechat_user.de.html#compile_with_cmake[cmake] zum
|
||||
kompilieren von WeeChat zu nutzen.
|
||||
|
||||
Falls Du WeeChat mit Hilfe der autotools kompilieren solltest (dich also nicht
|
||||
für cmake entscheidest), stelle sicher, dass Du die neueste Version von autoconf
|
||||
und automake besitzt.
|
||||
Falls Du WeeChat mit Hilfe der
|
||||
link:weechat_user.de.html#compile_with_autotools[autotools] kompilieren solltest
|
||||
(dich also nicht für cmake entscheidest), stelle sicher, dass Du die neueste
|
||||
Version von autoconf und automake besitzt.
|
||||
|
||||
Die zweite Möglichkeit besteht darin das "Entwickler-Paket" zu installieren, denn dies
|
||||
besitzt weniger Abhängigkeiten. Das Paket wird quasi täglich aus dem git Repository erstellt.
|
||||
@@ -65,10 +66,10 @@ Beachte, dass dieses Paket nicht immer exakt mit dem git Repository übereinstim
|
||||
und daher auch weniger brauchbar sein kann. Im Gegensatz zu der Möglichkeit, dass man selbst
|
||||
das Repository klont und daraus Updates installiert.
|
||||
|
||||
[[compile_osx]]
|
||||
=== Wie installiere ich WeeChat auf OS X?
|
||||
[[compile_macos]]
|
||||
=== Wie installiere ich WeeChat auf macOS?
|
||||
|
||||
Wir empfehlen, dass zur Installation http://brew.sh/[Homebrew] genutzt wird.
|
||||
Wir empfehlen, dass zur Installation https://brew.sh/[Homebrew] genutzt wird.
|
||||
Hilfe erhält man mittels:
|
||||
|
||||
----
|
||||
@@ -84,11 +85,11 @@ brew install weechat --with-aspell --with-curl --with-python --with-perl --with-
|
||||
[[lost]]
|
||||
=== Ich habe WeeChat gestartet, komme aber nicht mehr weiter - was kann ich tun?
|
||||
|
||||
Um Hilfe zu erhalten, nutze den `/help` Befehl. Eine Hilfe zu einem Befehl erhältst
|
||||
Du durch die Eingabe von: `/help Befehlsname`.
|
||||
Befehle sowie die Belegung der jeweiligen Tasten sind in der Dokumentation
|
||||
beschrieben. (Tipp: Mit den Tasten <Bild-hoch>/<Bild-runter> kann man seitenweise
|
||||
in den Buffern blättern)
|
||||
Um Hilfe zu erhalten, nutze den `/help` Befehl, denn jeder Befehl besitzt einen
|
||||
Hilfstext den man sich durch folgende Eingabe anzeigen lassen kann: `/help Befehlsname`.
|
||||
link:weechat_user.de.html#key_bindings[Benutzeranleitung / Tastenbelegungen] und
|
||||
link:weechat_user.de.html#commands_and_options[Befehle und Optionen] sind in der
|
||||
Dokumentation aufgeführt.
|
||||
|
||||
Neuen Anwendern wird empfohlen die link:weechat_quickstart.de.html[Quickstart Anleitung] zu lesen.
|
||||
|
||||
@@ -98,9 +99,8 @@ Neuen Anwendern wird empfohlen die link:weechat_quickstart.de.html[Quickstart An
|
||||
[[charset]]
|
||||
=== Bei einigen Zeichen fehlen die Akzente. Wie kann ich das beheben?
|
||||
|
||||
Dies ist ein bekanntes Problem. Aus diesem Grund sollten die folgenden Punkte
|
||||
sorgfältig durchgelesen und *alle* aufgezeigten Lösungsmöglichkeiten überprüft
|
||||
werden:
|
||||
Dies ist ein bekanntes Problem und kann viele Ursachen haben, deshalb ist wichtig
|
||||
das man *ALLE* Lösungsmöglichkeiten prüft:
|
||||
|
||||
* überprüfe, ob WeeChat mit libncursesw verlinkt ist (Warnung: Dies ist bei den
|
||||
meisten Distributionen nötig - jedoch nicht bei allen): `ldd /path/to/weechat`
|
||||
@@ -120,8 +120,9 @@ werden:
|
||||
** Solltest Du screen nutzten, prüfe ob screen im UTF-8 Modus läuft
|
||||
("`defutf8 on`" in der Datei ~/.screenrc oder `screen -U` zum starten von
|
||||
screen)
|
||||
* überprüfe die Option _weechat.look.eat_newline_glitch_ (diese Option kann zu
|
||||
Darstellungsfehlern führen, wenn sie aktiviert ist)
|
||||
* überprüfe die Option
|
||||
link:weechat_user.de.html#option_weechat.look.eat_newline_glitch[_weechat.look.eat_newline_glitch_]
|
||||
(diese Option kann schwerwiegenden Darstellungsfehler verursachen, wenn man die Option aktiviert hat)
|
||||
|
||||
[NOTE]
|
||||
Für Weechat wird die Nutzung von UTF-8 locale empfohlen. Nutzt Du jedoch ISO
|
||||
@@ -170,13 +171,13 @@ Falls notwendig korrigiere den Wert Deiner TERM-Variable: `export TERM="xxx"`.
|
||||
Wird das gnome-terminal genutzt sollte unter Bearbeiten/Profileinstellungen/Kompatibilität
|
||||
die Option "Zeichen mit unbekannter Breite" auf `schmal` stehen.
|
||||
|
||||
[[osx_display_broken]]
|
||||
=== Ich habe WeeChat unter OS X kompiliert und erhalte nur "(null)" als Textausgabe. Was läuft da schief?
|
||||
[[macos_display_broken]]
|
||||
=== Ich habe WeeChat unter macOS kompiliert und erhalte nur "(null)" als Textausgabe. Was läuft da schief?
|
||||
|
||||
Wenn Du ncursesw selber kompiliert haben solltest dann probiere einmal die Standard ncurses aus, welche
|
||||
mit dem System ausgeliefert wird.
|
||||
|
||||
Darüber hinaus ist es unter OS X ratsam WeeChat mittels des Homebrew package manager zu installieren.
|
||||
Darüber hinaus ist es unter macOS ratsam WeeChat mittels des Homebrew package manager zu installieren.
|
||||
|
||||
[[buffer_vs_window]]
|
||||
=== Ich habe von "Buffern" und "Fenstern" gehört - Worin besteht der Unterschied?
|
||||
@@ -187,14 +188,15 @@ In einem _Buffer_ werden Textzeilen angezeigt (und noch anderen Daten).
|
||||
Ein _Fenster_ ist ein Bildschirmbereich der Buffer darstellt. Es ist möglich
|
||||
den Bildschirm in mehrere Fenster aufzuteilen.
|
||||
|
||||
Jedes Fenster stellt einen Buffer dar. Ein Buffer kann unsichtbar sein (er wird
|
||||
in einem Fenster nicht angezeigt). Oder ein Buffer wird durch ein oder mehrere Fenster
|
||||
angezeigt.
|
||||
In jedem Fenster wird entweder ein Buffer oder ein zusammengefügter Buffer dargestellt.
|
||||
Ein Buffer kann entweder versteckt sein (wird nicht durch ein Fenster angezeigt) oder
|
||||
von einem oder mehreren Fenstern gleichzeitig angezeigt werden.
|
||||
|
||||
[[buffers_list]]
|
||||
=== Wie kann ich eine Liste mit den Buffern z.B. auf der linken Seite anzeigen lassen?
|
||||
|
||||
Ab WeeChat ≥ 1.8 wird standardmäßig die "buflist" Erweiterung automatisch geladen und verwendet.
|
||||
Ab WeeChat ≥ 1.8 wird standardmäßig die link:weechat_user.de.html#buflist_plugin[buflist]
|
||||
Erweiterung automatisch geladen und verwendet.
|
||||
|
||||
bei älteren Versionen kann das Skript _buffers.pl_ installiert werden:
|
||||
|
||||
@@ -256,21 +258,21 @@ um die Ausrichtung für Nicks zu entfernen:
|
||||
|
||||
Dabei handelt es sich um die sogenannte "hotlist", eine Auflistung der
|
||||
Buffer mit der Anzahl der ungelesenen Nachrichten. Die Reihenfolge ist:
|
||||
highlights, private Nachrichten, Nachrichten, Nachrichten mit niedriger
|
||||
Priorität (z.B. join/part). +
|
||||
highlights (hervorgehobene Nachrichten), private Nachrichten, Nachrichten,
|
||||
Nachrichten mit niedriger Priorität (z.B. join/part). +
|
||||
Die Anzahl der "ungelesen Nachrichten" ist die Anzahl der neuen Nachrichten
|
||||
die man empfangen hat bzw. angezeigt werden seitdem man den Buffer
|
||||
das letzte mal betreten hat.
|
||||
|
||||
Im Beispiel `[H: 3(1,8), 2(4)]`, handelt es sich um:
|
||||
|
||||
* eine highlight Nachricht und 8 ungelesene Nachrichten im Buffer #3
|
||||
* 1 highlight (hervorgehobene) Nachricht und 8 ungelesene Nachrichten im Buffer #3
|
||||
* 4 ungelesene Nachrichten im Buffer #2.
|
||||
|
||||
Die Farbe des Buffers/Zählers hängt ab um welche Art von Nachrichten es
|
||||
sich handelt. Standardfarben:
|
||||
|
||||
* highlight: `lightmagenta` / `magenta`
|
||||
* highlight (hervorgehobene Nachricht): `lightmagenta` / `magenta`
|
||||
* private Nachrichten: `lightgreen` / `green`
|
||||
* Nachrichten: `yellow` / `brown`
|
||||
* Nachrichten mit niedriger Priorität: `default` / `default` (Textfarbe des Terminal)
|
||||
@@ -328,7 +330,8 @@ werden sollte:
|
||||
[[terminal_copy_paste]]
|
||||
=== Wie kann ich einen Text kopieren und einfügen ohne das die Nickliste (Benutzerliste) mit kopiert wird?
|
||||
|
||||
Ab WeeChat ≥ 1.0 kann ein einfacher Anzeigemodus genutzt werden (Standardtastenbelegung: kbd:[Alt+l]).
|
||||
Seit WeeChat ≥ 1.0 gibt es einen neuen Anzeigemodus (Standardtastenbelegung: kbd:[Alt+l]), der dazu genutzt
|
||||
werden kann um den Inhalt des aktuellen Fensters ohne eine Formatierung anzeigen zu lassen.
|
||||
|
||||
Hierzu kannst Du ein Terminal nutzen welches Block-Auswahl erlaubt (wie z.B. rxvt-unicode,
|
||||
konsole, gnome-terminal, ...). Im Normalfall erfolgt die Markierung mittels der Tasten
|
||||
@@ -481,6 +484,12 @@ Zusätzlich sollten noch zwei Tastenbefehle eingebunden werden (der Befehl
|
||||
/key bind meta2-O /print -core unfocus
|
||||
----
|
||||
|
||||
Um zum Beispiel Buffer als gelesen zu markieren wenn das Terminal den Fokus verlieren sollte:
|
||||
|
||||
----
|
||||
/key bind meta2-O /input set_unread
|
||||
----
|
||||
|
||||
[[screen_paste]]
|
||||
=== Wird WeeChat in screen ausgeführt, kommt es vor das dem eingefügten Text in einem anderen screen Fenster ~0 und ~1 hinzugefügt wird, weshalb?
|
||||
|
||||
@@ -516,7 +525,7 @@ UXTerm*metaSendsEscape: true
|
||||
Danach muss resources neu geladen werden (`xrdb -override ~/.Xresources`) oder
|
||||
man startet X neu.
|
||||
|
||||
Sollte die Mac OS X Terminal Applikation genutzt werden, empfiehlt es sich
|
||||
Sollte die macOS Terminal Applikation genutzt werden, empfiehlt es sich
|
||||
die Option "Use option as meta key" in den Menü-Einstellungen zu aktivieren. Dadurch
|
||||
kann man die kbd:[Option] Taste als Meta-Taste verwenden.
|
||||
|
||||
@@ -623,7 +632,7 @@ einen Text im Terminal markieren oder einfügen, als sei die Mausunterstützung
|
||||
[[irc_ssl_connection]]
|
||||
=== Es treten Probleme bei einer Serververbindung mittels SSL auf. Was kann ich tun?
|
||||
|
||||
Falls Mac OS X genutzt wird muss mittels Homebrew `openssl` installiert werden.
|
||||
Falls macOS genutzt wird muss mittels Homebrew `openssl` installiert werden.
|
||||
Ein CA Datei wird mittels Zertifikaten vom Systemschlüssel geladen.
|
||||
Der Pfad zu den Zertifikaten kann in WeeChat eingestellt werden:
|
||||
|
||||
@@ -673,7 +682,7 @@ 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:
|
||||
Hinweis: Falls man homebrew openssl unter macOS installiert hat, empfiehlt sich:
|
||||
|
||||
----
|
||||
/set weechat.network.gnutls_ca_file "/usr/local/etc/openssl/cert.pem"
|
||||
@@ -724,6 +733,35 @@ werden um sich, vor dem Betreten von Channels, bei "nickserv" zu identifizieren:
|
||||
/set irc.server.freenode.command_delay 5
|
||||
----
|
||||
|
||||
[[edit_autojoin]]
|
||||
=== Wie kann ich Channels zur autojoin Option entfernen/hinzufügen?
|
||||
|
||||
Dazu kann der `/set` Befehl genutzt werden um die Liste der autojoin Channels
|
||||
zu editieren, zum Beispiel für den "freenode" Server:
|
||||
|
||||
----
|
||||
/set irc.server.freenode.autojoin [TAB]
|
||||
----
|
||||
|
||||
[NOTE]
|
||||
Man kann den Namen oder den Wert einer Option mit kbd:[Tab] vervollständigen
|
||||
(oder mittels kbd:[Shift+Tab] eine teilweise Vervollständigung durchführen,
|
||||
was bei Namen sinnvoll ist). + Damit braucht man nicht die komplette Liste
|
||||
der Channels schreiben.
|
||||
|
||||
Es kann auch der `/fset` Befehl verwendet werden um die Liste der Channels
|
||||
zu editieren:
|
||||
|
||||
----
|
||||
/fset autojoin
|
||||
----
|
||||
|
||||
oder man nutzt ein Skript:
|
||||
|
||||
----
|
||||
/script search autojoin
|
||||
----
|
||||
|
||||
[[ignore_vs_filter]]
|
||||
=== Was ist der Unterschied zwischen dem Befehl /ignore und /filter?
|
||||
|
||||
@@ -732,10 +770,10 @@ Der Befehl `/ignore` ist ein IRC-Befehl und beeinflusst somit nur die IRC-Buffer
|
||||
Durch den Befehl kann man bestimmte Nicks oder Hostnamen von Usern eines Servers oder
|
||||
von Channels ignorieren (Der Befehl wird nicht auf den Inhalt der Meldung angewandt).
|
||||
Zutreffende Meldungen werden, bevor sie angezeigt werden, von der IRC-Erweiterung gelöscht
|
||||
(Du wirst sie niemals zu Gesicht bekommen).
|
||||
(diese Nachrichten werden nicht angezeigt und können auch nicht rückwirkend angezeigt werden,
|
||||
auch wenn man die Ignorierung entfernt).
|
||||
|
||||
Der Befehl `/filter` ist ein Kern-Befehl (A.d.Ü.: wird in WeeChat ausgeführt und
|
||||
nicht an den Server gesendet) und beeinflusst somit jeden Buffer.
|
||||
Der `/filter` Befehl ist ein WeeChat core Befehl und findet somit Anwendung auf alle Buffer.
|
||||
Dieser Befehl eröffnet die Möglichkeit bestimmte Zeilen in Buffern, mittels Tags und
|
||||
regulären Ausdrücken nach Präfix und Zeileninhalt zu filtern.
|
||||
Die Zeilen werden dabei nicht gelöscht, lediglich die Darstellung im Buffer wird unterdrückt.
|
||||
@@ -743,7 +781,7 @@ Die gefilterten Zeilen können zu jeder Zeit dargestellt werden indem man den Fi
|
||||
(Voreinstellung zum aktivieren/deaktivieren der Filter: kbd:[Alt+=]).
|
||||
|
||||
[[filter_irc_join_part_quit]]
|
||||
=== Wie kann ich join/part/quit Meldungen in den IRC Channels filtern (A.d.ü.: unterdrücken)?
|
||||
=== Wie kann ich join/part/quit Meldungen in den IRC Channels filtern/unterdrücken?
|
||||
|
||||
Zum einen mit dem Smart-Filer (join/part/quit Meldungen werden von Usern angezeigt die kürzlich
|
||||
noch etwas geschrieben haben):
|
||||
@@ -760,7 +798,8 @@ zum anderen mit einer globalen Filterung (*alle* join/part/quit Nachrichten werd
|
||||
----
|
||||
|
||||
[NOTE]
|
||||
Für weitere Hilfe: `/help filter` und `/help irc.look.smart_filter`
|
||||
Für weitere Hilfe: `/help filter`, `/help irc.look.smart_filter` und
|
||||
link:weechat_user.de.html#irc_smart_filter_join_part_quit[Benutzeranleitung / einfacher Filter für join/part/quit Nachrichten].
|
||||
|
||||
[[filter_irc_join_channel_messages]]
|
||||
=== Wie kann ich Server-Nachrichten filtern wenn ich einen IRC Channel betrete?
|
||||
@@ -835,13 +874,13 @@ Für Weechat ≤ 0.3.3, lauten die Optionen _irc.network.away_check_ und
|
||||
_irc.network.away_check_max_nicks_.
|
||||
|
||||
[[highlight_notification]]
|
||||
=== Wie kann ich mich benachrichtigen lassen, falls mich jemand in einem Channel highlighted
|
||||
=== Wie kann ich mich benachrichtigen lassen, falls mich jemand in einem Channel direkt anspricht (highlight)?
|
||||
|
||||
Seit WeeChat ≥ 1.0 gibt es standardmäßig einen Trigger, "beep", der an das Terminal
|
||||
ein _BEL_ Signal schickt, sobald man eine highlight oder private Nachricht erhält.
|
||||
Nun muss man lediglich im Terminalprogramm (oder einem Multiplexer wie screen/tmux)
|
||||
einstellen welcher Befehl ausgeführt werden soll, sobald das Terminal das _BEL_
|
||||
Signal erhält.
|
||||
ein _BEL_ Signal schickt, sobald man eine highlight (hervorgehobene) oder private
|
||||
Nachricht erhält. Nun muss man lediglich im Terminalprogramm (oder einem Multiplexer
|
||||
wie screen/tmux) einstellen welcher Befehl ausgeführt werden soll, sobald das Terminal
|
||||
das _BEL_ Signal erhält.
|
||||
|
||||
Oder man führt im Trigger "beep" direkt einen Befehl aus:
|
||||
|
||||
@@ -864,6 +903,44 @@ andere Skripten die auch zu diesem Thema passen:
|
||||
/script search notify
|
||||
----
|
||||
|
||||
[[disable_highlights_for_specific_nicks]]
|
||||
=== Wie kann ich Highlights (Hervorhebungen) von bestimmten Nicks deaktivieren?
|
||||
|
||||
Ab WeeChat ≥ 0.3.4 kann man eine Eigenschaft
|
||||
link:weechat_user.en.html#max_hotlist_level_nicks[hotlist_max_level_nicks_add]
|
||||
für den entsprechenden Buffer setzen. Dies kann für einzelne Nicks, nach Buffer
|
||||
oder Gruppen von Buffer (z.B. IRC Server) gelten.
|
||||
|
||||
Um nun Highlights (Hervorhebungen) für bestimmte Nicks zu deaktivieren, muss
|
||||
man die entsprechende Eigenschaft auf 2 setzen:
|
||||
|
||||
----
|
||||
/buffer set hotlist_max_level_nicks_add joe:2,mike:2
|
||||
----
|
||||
|
||||
Diese Buffereigenschaft wird aber nicht permanent in der Konfiguration
|
||||
gespeichert. Um diese Eigenschaften permanent zu verwenden, muss man
|
||||
das Skript _buffer_autoset.py_ nutzen:
|
||||
|
||||
----
|
||||
/script install buffer_autoset.py
|
||||
----
|
||||
|
||||
Um zum Beispiel Highlights (Hervorhebungen) von Nick "mike" im Channel
|
||||
#weechat auf dem IRC Server freenode zu deaktivieren:
|
||||
|
||||
----
|
||||
/buffer_autoset add irc.freenode.#weechat hotlist_max_level_nicks_add mike:2
|
||||
----
|
||||
|
||||
Um dies auf den kompletten freenode Server anzuwenden:
|
||||
|
||||
----
|
||||
/buffer_autoset add irc.freenode hotlist_max_level_nicks_add mike:2
|
||||
----
|
||||
|
||||
für weitere Beispiele, siehe `/help buffer_autoset`.
|
||||
|
||||
[[irc_target_buffer]]
|
||||
=== Wie kann ich bei zusammengefügten Buffern den Zielbuffer ändern (z.B. bei einem Server-Buffer)?
|
||||
|
||||
@@ -887,8 +964,9 @@ Um dies zu beheben muss folgendes konfiguriert werden:
|
||||
[[install_scripts]]
|
||||
=== Wie kann ich Skripten installieren? Sind Skripten kompatibel mit anderen IRC Clients?
|
||||
|
||||
Zum installieren und verwalten von Skripten kann der Befehl `/script` genutzt werden
|
||||
(siehe `/help script` für eine Hilfe).
|
||||
Seit WeeChat ≥ 0.3.9 gibt es den Befehl `/script` um Skripten zu installieren und zu verwalten
|
||||
(siehe `/help script` um eine Hilfe zu erhalten). Nutzt man eine ältere Version von WeeChat
|
||||
kann man die Skripten weeget.py und script.pl nutzen.
|
||||
|
||||
Die Skripten für WeeChat sind mit anderer IRC-Clients nicht kompatibel und vice versa.
|
||||
|
||||
@@ -899,7 +977,6 @@ Als erstes sollte das Kapitel über SSL Verbindungen in dieser FAQ gelesen werde
|
||||
(besonders über die Option _weechat.network.gnutls_ca_file_).
|
||||
|
||||
Sollte das nicht helfen, sollte man manuell die Skriptliste löschen (in der shell):
|
||||
If still not working, try to manually delete the scripts file (in your shell):
|
||||
|
||||
----
|
||||
$ rm ~/.weechat/script/plugins.xml.gz
|
||||
@@ -911,9 +988,9 @@ danach sollte man noch mal versuchen die Datei herunter zu laden:
|
||||
/script update
|
||||
----
|
||||
|
||||
Tritt weiterhin der Fehler auf dann muss in WeeChat das automatische Update
|
||||
der Datei deaktiviert werden und die Datei muss manuell aus einer Shell
|
||||
herunter geladen werden (das bedeutet das man manuell für Updates zuständig ist):
|
||||
Sollte der Fehler noch immer auftreten, dann sollte man die automatische Updatefunktion
|
||||
in WeeChat deaktivieren und die Daten manuell runter laden (das bedeutet das man
|
||||
selber seine Skripten aktuell halten muss):
|
||||
|
||||
* in WeeChat:
|
||||
|
||||
@@ -970,7 +1047,7 @@ Damit WeeChat weniger Speicher benötigt, solltest Du folgende Tipps umsetzen:
|
||||
weniger Speicherlecks besitzt, als eine vorherige Version)
|
||||
* lade keine Erweiterungen die Du nicht benötigst. Zum Beispiel: ASpell, Buflist,
|
||||
Fifo, Logger, Perl, Python, Ruby, Lua, Tcl, Guile, JavaScript, PHP, Xfer (wird für
|
||||
DCC benötigst)
|
||||
DCC benötigst), siehe `/help weechat.plugin.autoload`.
|
||||
* 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:
|
||||
@@ -1027,6 +1104,7 @@ Definiere eine Passphrase und nutze ausschließlich geschützte Daten wann immer
|
||||
es möglich ist, wie z.B. bei Passwörtern: siehe `/help secure` und nutze `/help`
|
||||
bei der entsprechenden Option (falls man geschützte Daten nutzen kann, wird es
|
||||
im Hilfstext erwähnt).
|
||||
Siehe auch link:weechat_user.de.html#secured_data[Benutzeranleitung / sensible Daten].
|
||||
|
||||
Beispiel:
|
||||
|
||||
|
||||
@@ -123,7 +123,7 @@ Abhängig Deiner Linux Distribution:
|
||||
|
||||
* Debian: https://weechat.org/download/debian
|
||||
* Gentoo: https://weechat.org/download
|
||||
* ArchLinux: PKGBUILD von http://aur.archlinux.org/
|
||||
* ArchLinux: PKGBUILD von https://aur.archlinux.org/
|
||||
* andere: Wissen wir nicht! Eheh.
|
||||
|
||||
|
||||
|
||||
+56
-21
@@ -37,13 +37,13 @@ wesentliche Merkmale:
|
||||
* klein, schnell und schlank
|
||||
* den eigenen persönlichen Bedürfnissen anpassbar und durch Erweiterungen und Skripten in der Funktionalität erweiterbar
|
||||
* IRC RFCs konform
|
||||
http://tools.ietf.org/html/rfc1459[1459],
|
||||
http://tools.ietf.org/html/rfc2810[2810],
|
||||
http://tools.ietf.org/html/rfc2811[2811],
|
||||
http://tools.ietf.org/html/rfc2812[2812] und
|
||||
http://tools.ietf.org/html/rfc2813[2813]
|
||||
https://tools.ietf.org/html/rfc1459[1459],
|
||||
https://tools.ietf.org/html/rfc2810[2810],
|
||||
https://tools.ietf.org/html/rfc2811[2811],
|
||||
https://tools.ietf.org/html/rfc2812[2812] und
|
||||
https://tools.ietf.org/html/rfc2813[2813]
|
||||
* IRC proxy und relay für remote Schnittstellen
|
||||
* Betriebssystemunabhängig (GNU/Linux, *BSD, MacOS X, Windows und weitere)
|
||||
* Betriebssystemunabhängig (GNU/Linux, *BSD, macOS, Windows und weitere)
|
||||
* 100% GPL, freie Software
|
||||
|
||||
Die WeeChat Homepage findet man unter: https://weechat.org/
|
||||
@@ -88,7 +88,7 @@ wie man Pakete installiert.
|
||||
WeeChat kann mittels cmake oder autotools kompiliert werden (cmake sollte dabei die bevorzugte Methode sein).
|
||||
|
||||
[NOTE]
|
||||
Unter OS X kann http://brew.sh/[Homebrew] verwendet werden:
|
||||
Unter macOS kann https://brew.sh/[Homebrew] verwendet werden:
|
||||
`brew install weechat --with-python --with-perl`
|
||||
(für Hilfe: `brew info weechat`).
|
||||
|
||||
@@ -1672,8 +1672,10 @@ und um eine Hilfe zu erhalten wie man es nutzt: `/help buffer_autoset`.
|
||||
| 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:[F1] +
|
||||
kbd:[Ctrl+F1] | blättert eine Seite in der buflist hoch. | `/bar scroll buflist * -100%`
|
||||
| kbd:[F2] +
|
||||
kbd:[Ctrl+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+←] +
|
||||
@@ -1688,8 +1690,10 @@ und um eine Hilfe zu erhalten wie man es nutzt: `/help buffer_autoset`.
|
||||
| kbd:[F8] | zum nächsten Fenster wechseln. | `/window +1`
|
||||
| kbd:[F9] | Titel des Buffers nach links verschieben. | `+/bar scroll title * -30%+`
|
||||
| kbd:[F10] | Titel des Buffers nach rechts verschieben. | `+/bar scroll title * +30%+`
|
||||
| kbd:[F11] | Benutzerliste um eine Seite nach oben blättern. | `/bar scroll nicklist * -100%`
|
||||
| kbd:[F12] | Benutzerliste um eine Seite nach unten blättern. | `/bar scroll nicklist * +100%`
|
||||
| kbd:[F11] +
|
||||
kbd:[Ctrl+F11] | Benutzerliste um eine Seite nach oben blättern. | `/bar scroll nicklist * -100%`
|
||||
| kbd:[F12] +
|
||||
kbd:[Ctrl+F12] | Benutzerliste um eine Seite nach unten blättern. | `/bar scroll nicklist * +100%`
|
||||
| kbd:[Alt+F11] | springt zum Anfang der Benutzerliste. | `/bar scroll nicklist * b`
|
||||
| kbd:[Alt+F12] | springt zum Ende der Benutzerliste. | `/bar scroll nicklist * e`
|
||||
| kbd:[Alt+a] | wechselt zum nächsten Buffer mit Aktivität (nach Priorität: highlight, Nachricht, ...). | `/input jump_smart`
|
||||
@@ -2220,6 +2224,13 @@ Beispiel in einem französischen Channel:
|
||||
/aspell setdict fr
|
||||
----
|
||||
|
||||
Um einer Gruppe von Buffern das selbe Wörterbuch zuzuordnen, zum Beispiel das
|
||||
deutsche Wörterbuch für alle Channels auf dem freenode IRC Server:
|
||||
|
||||
----
|
||||
/set aspell.dict.irc.freenode de
|
||||
----
|
||||
|
||||
Für weitere Informationen, siehe den Befehl <<command_aspell_aspell,/aspell>>.
|
||||
|
||||
[[aspell_speller_options]]
|
||||
@@ -2618,7 +2629,7 @@ die Verbindung mit einer vorherigen Version (<0.3.1) funktioniert hat.
|
||||
|
||||
----
|
||||
$ mkdir -p ~/.weechat/ssl
|
||||
$ wget -O ~/.weechat/ssl/CAs.pem http://www.spi-inc.org/ca/spi-cacert.crt
|
||||
$ wget -O ~/.weechat/ssl/CAs.pem https://www.spi-inc.org/ca/spi-cacert.crt
|
||||
----
|
||||
|
||||
[NOTE]
|
||||
@@ -2664,10 +2675,6 @@ WeeChat unterstützt eine SASL Authentifikation, mittels verschiedener Mechanism
|
||||
* _dh-aes_: Passwort wird mittels AES verschlüsselt
|
||||
(*unsicher*, wird nicht empfohlen)
|
||||
|
||||
[NOTE]
|
||||
Die "gcrypt" Bibliothek wird beim kompilieren von WeeChat benötigt um
|
||||
"dh-blowfish"nutzen zu können (siehe <<dependencies,Abhängigkeiten>>).
|
||||
|
||||
Optionen für Server sind:
|
||||
|
||||
* _sasl_mechanism_: Mechanismus welcher genutzt werden soll (siehe oben)
|
||||
@@ -2771,7 +2778,7 @@ Zum Abschluss stellt man eine Verbindung zum Server her:
|
||||
----
|
||||
|
||||
Um mehr über Freenode und TOR zu erfahren:
|
||||
http://freenode.net/kb/answer/chat#accessing-freenode-via-tor
|
||||
https://freenode.net/kb/answer/chat#accessing-freenode-via-tor
|
||||
|
||||
[[irc_smart_filter_join_part_quit]]
|
||||
==== einfacher Filter für join/part/quit Nachrichten
|
||||
@@ -3233,6 +3240,34 @@ Es wird nachdrücklich Empfohlen ein Passwort für die Relay-Verbindung zu nutze
|
||||
Dieses Passwort wird sowohl für das _irc_ als auch für das _weechat_ Protokoll
|
||||
verwendet.
|
||||
|
||||
[[relay_totp]]
|
||||
==== TOTP
|
||||
|
||||
TOTP (Time-based One-Time Passwort) ist eine Zwei-Faktor-Authentifizierung
|
||||
für das _weechat_ Protokoll, als Ergänzung zum eigentlichen Passwort.
|
||||
|
||||
Diese Funktion is optional und erhöht den Sicherheitsgrad.
|
||||
|
||||
Ein Einmal-Passwort kann mit folgenden Anwendungen erstellt werden, zum Beispiel:
|
||||
|
||||
* FreeOTP:
|
||||
https://play.google.com/store/apps/details?id=org.fedorahosted.freeotp[Android],
|
||||
https://itunes.apple.com/fr/app/freeotp-authenticator/id872559395[iOS]
|
||||
(https://freeotp.github.io/[website])
|
||||
* Google Authenticator:
|
||||
https://play.google.com/store/apps/details?id=com.google.android.apps.authenticator2[Android],
|
||||
https://itunes.apple.com/fr/app/google-authenticator/id388497605[iOS]
|
||||
|
||||
Die geheime TOTP Zeichenkette muss in WeeChat und der Anwendung gesetzt werden, welches
|
||||
für die Erstellung des Einmal-Passwort zuständig ist.
|
||||
|
||||
Die Zeichenkette muss base32 enkodiert sein, ausschließlich Buchstaben und Zahlen zwischen 2 und 7
|
||||
sind erlaubt, zum Beispiel:
|
||||
|
||||
----
|
||||
/set relay.network.totp_secret "secretpasswordbase32"
|
||||
----
|
||||
|
||||
[[relay_ssl]]
|
||||
==== SSL
|
||||
|
||||
@@ -3317,7 +3352,7 @@ Nun kann man über den Port 9000 mittels einer Oberfläche und dem Passwort
|
||||
[[relay_websocket]]
|
||||
==== WebSocket
|
||||
|
||||
Das WebSocket Protokoll (http://tools.ietf.org/html/rfc6455[RFC 6455]) wird nun
|
||||
Das WebSocket Protokoll (https://tools.ietf.org/html/rfc6455[RFC 6455]) wird nun
|
||||
in der Relay Erweiterung unterstützt.
|
||||
|
||||
Der WebSocket Handshake wird automatisch erkannt und der Socket ist sofort
|
||||
@@ -3843,7 +3878,7 @@ Matching groups können in "replace" genutzt werden:
|
||||
Beispiel: nutzte Fettschrift zwischen dem Zeichen "*":
|
||||
|
||||
----
|
||||
/\*(\S+)\*/*${color:bold}${re:1}${color:-bold}*/
|
||||
/\*([^ ]+)\*/*${color:bold}${re:1}${color:-bold}*/
|
||||
----
|
||||
|
||||
Beispiel: der Standard-Trigger _server_pass_ nutzt folgenden regulären Ausdruck
|
||||
@@ -3851,7 +3886,7 @@ um ein Passwort in den Befehlen `/server` und `/connect` zu verbergen (die
|
||||
einzelnen Zeichen des Passwortes werden durch `+*+` ersetzt):
|
||||
|
||||
----
|
||||
==^(/(server|connect) .*-(sasl_)?password=)(\S+)(.*)==${re:1}${hide:*,${re:4}}${re:5}
|
||||
==^(/(server|connect) .*-(sasl_)?password=)([^ ]+)(.*)==${re:1}${hide:*,${re:4}}${re:5}
|
||||
----
|
||||
|
||||
[NOTE]
|
||||
@@ -4127,7 +4162,7 @@ Das Hashtable enthält alle Schlüssel/Werte (Typ: string/string).
|
||||
Zeigt URLs in grün an:
|
||||
|
||||
----
|
||||
/trigger add url_color modifier weechat_print "${tg_notify}" "==\S+://\S+==${color:green}${re:0}${color:reset}=="
|
||||
/trigger add url_color modifier weechat_print "${tg_notify}" "==[a-zA-Z0-9_]+://[^ ]+==${color:green}${re:0}${color:reset}=="
|
||||
----
|
||||
|
||||
[NOTE]
|
||||
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Copyright (C) 2008-2018 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2008-2019 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
|
||||
@@ -13,7 +13,7 @@
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
"""
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
<!--
|
||||
Custom styles for Asciidoctor
|
||||
Copyright (C) 2016-2018 Sébastien Helleu <flashcode@flashtux.org>
|
||||
Copyright (C) 2016-2019 Sébastien Helleu <flashcode@flashtux.org>
|
||||
-->
|
||||
<style>
|
||||
#header,#content,#footnotes,#footer {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2018 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2019 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
@@ -14,7 +14,7 @@
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
if(ENABLE_MAN)
|
||||
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2018 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2019 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2006 Julien Louis <ptitlouis@sysif.net>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
@@ -15,7 +15,7 @@
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
docdir = $(datadir)/doc/$(PACKAGE)
|
||||
|
||||
@@ -112,6 +112,10 @@
|
||||
|
||||
| weechat | term_width | width of terminal | -
|
||||
|
||||
| weechat | totp_generate | generate a Time-based One-Time Password (TOTP) | secret (in base32), timestamp (optional, current time by default), number of digits (optional, between 4 and 10, 6 by default)
|
||||
|
||||
| weechat | totp_validate | validate a Time-based One-Time Password (TOTP): 1 if TOTP is correct, otherwise 0 | secret (in base32), one-time password, timestamp (optional, current time by default), number of passwords before/after to test (optional, 0 by default)
|
||||
|
||||
| weechat | uptime | WeeChat uptime (format: "days:hh:mm:ss") | "days" (number of days) or "seconds" (number of seconds) (optional)
|
||||
|
||||
| weechat | version | WeeChat version | -
|
||||
|
||||
@@ -33,7 +33,8 @@ The following variables can be used in these options:
|
||||
- ${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}: indented number, for example " 1" if there are between 10 and 99 buffers; for merged buffers, this variable is set with number for the first buffer and spaces for the next buffers with same number
|
||||
- ${number2}: 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)
|
||||
|
||||
@@ -67,7 +67,7 @@ Default options can be set in the option exec.command.default_options.
|
||||
Examples:
|
||||
/exec -n ls -l /tmp
|
||||
/exec -sh -n ps xu | grep weechat
|
||||
/exec -n -norc url:http://pastebin.com/raw.php?i=xxxxxxxx
|
||||
/exec -n -norc url:https://pastebin.com/raw.php?i=xxxxxxxx
|
||||
/exec -nf -noln links -dump https://weechat.org/files/doc/devel/weechat_user.en.html
|
||||
/exec -o uptime
|
||||
/exec -pipe "/print Machine uptime:" uptime
|
||||
|
||||
@@ -25,3 +25,9 @@
|
||||
** type: integer
|
||||
** values: -1 .. 25920000
|
||||
** default value: `+0+`
|
||||
|
||||
* [[option_exec.command.shell]] *exec.command.shell*
|
||||
** description: pass:none[shell to use with command "/exec -sh"; it can be just the name of shell if it is in PATH (for example "bash") or the absolute path to the shell (for example "/bin/bash")]
|
||||
** type: string
|
||||
** values: any string
|
||||
** default value: `+"sh"+`
|
||||
|
||||
@@ -160,7 +160,7 @@ Examples:
|
||||
|
||||
server: send to this server (internal name)
|
||||
target: nick or channel ('*' = current channel)
|
||||
type: CTCP type (examples: "version", "ping", ..)
|
||||
type: CTCP type (examples: "version", "ping", etc.)
|
||||
arguments: arguments for CTCP
|
||||
|
||||
Examples:
|
||||
|
||||
@@ -363,7 +363,7 @@
|
||||
** default value: `+256+`
|
||||
|
||||
* [[option_irc.look.server_buffer]] *irc.look.server_buffer*
|
||||
** description: pass:none[merge server buffers]
|
||||
** description: pass:none[merge server buffers; this option has no effect if a layout is saved and is conflicting with this value (see /help layout)]
|
||||
** type: integer
|
||||
** values: merge_with_core, merge_without_core, independent
|
||||
** default value: `+merge_with_core+`
|
||||
@@ -429,7 +429,7 @@
|
||||
** default value: `+off+`
|
||||
|
||||
* [[option_irc.network.autoreconnect_delay_growing]] *irc.network.autoreconnect_delay_growing*
|
||||
** description: pass:none[growing factor for autoreconnect delay to server (1 = always same delay, 2 = delay*2 for each retry, ..)]
|
||||
** description: pass:none[growing factor for autoreconnect delay to server (1 = always same delay, 2 = delay*2 for each retry, etc.)]
|
||||
** type: integer
|
||||
** values: 1 .. 100
|
||||
** default value: `+2+`
|
||||
|
||||
@@ -111,7 +111,7 @@
|
||||
** default value: `+off+`
|
||||
|
||||
* [[option_relay.network.allowed_ips]] *relay.network.allowed_ips*
|
||||
** description: pass:none[POSIX extended regular expression with IPs allowed to use relay (case insensitive, use "(?-i)" at beginning to make it case sensitive), example: "^(123.45.67.89|192.160.*)$"]
|
||||
** description: pass:none[POSIX extended regular expression with IPs allowed to use relay (case insensitive, use "(?-i)" at beginning to make it case sensitive), example: "^(123\.45\.67\.89|192\.160\..*)$"]
|
||||
** type: string
|
||||
** values: any string
|
||||
** default value: `+""+`
|
||||
@@ -164,8 +164,20 @@
|
||||
** values: any string
|
||||
** default value: `+"NORMAL:-VERS-SSL3.0"+`
|
||||
|
||||
* [[option_relay.network.websocket_allowed_origins]] *relay.network.websocket_allowed_origins*
|
||||
** description: pass:none[POSIX extended regular expression with origins allowed in websockets (case insensitive, use "(?-i)" at beginning to make it case sensitive), example: "^http://(www\.)?example\.(com|org)"]
|
||||
* [[option_relay.network.totp_secret]] *relay.network.totp_secret*
|
||||
** description: pass:none[secret for the generation of the Time-based One-Time Password (TOTP), encoded in base32 (only letters and digits from 2 to 7); it is used as second factor in weechat protocol, in addition to the password, which must not be empty (empty value means no TOTP is required) (note: content is evaluated, see /help eval)]
|
||||
** type: string
|
||||
** values: any string
|
||||
** default value: `+""+`
|
||||
|
||||
* [[option_relay.network.totp_window]] *relay.network.totp_window*
|
||||
** description: pass:none[number of Time-based One-Time Passwords to accept before and after the current one: 0 = accept only the current password, 1 = accept one password before, the current, and one after, 2 = accept two passwords before, the current, and two after, ...; a high number reduces the security level (0 or 1 are recommended values)]
|
||||
** type: integer
|
||||
** values: 0 .. 256
|
||||
** default value: `+0+`
|
||||
|
||||
* [[option_relay.network.websocket_allowed_origins]] *relay.network.websocket_allowed_origins*
|
||||
** description: pass:none[POSIX extended regular expression with origins allowed in websockets (case insensitive, use "(?-i)" at beginning to make it case sensitive), example: "^https?://(www\.)?example\.(com|org)"]
|
||||
** type: string
|
||||
** values: any string
|
||||
** default value: `+""+`
|
||||
|
||||
@@ -57,13 +57,13 @@ Keys on script buffer:
|
||||
alt+v view script
|
||||
|
||||
Input allowed on script buffer:
|
||||
i/r/l/L/u/h action on script (same as keys above)
|
||||
q close buffer
|
||||
$ refresh buffer
|
||||
s:x,y sort buffer using keys x and y (see /help script.look.sort)
|
||||
s: reset sort (use default sort)
|
||||
word(s) filter scripts: search word(s) in scripts (description, tags, ...)
|
||||
* remove filter
|
||||
i/r/l/L/u/A/h/v action on script (same as keys above)
|
||||
q close buffer
|
||||
$ refresh buffer
|
||||
s:x,y sort buffer using keys x and y (see /help script.look.sort)
|
||||
s: reset sort (use default sort)
|
||||
word(s) filter scripts: search word(s) in scripts (description, tags, ...)
|
||||
* remove filter
|
||||
|
||||
Mouse actions on script buffer:
|
||||
wheel scroll list
|
||||
|
||||
@@ -75,7 +75,7 @@ When a trigger callback is called, following actions are performed, in this orde
|
||||
|
||||
Examples (you can also look at default triggers with /trigger listdefault):
|
||||
add text attributes *bold*, _underline_ and /italic/ (only in user messages):
|
||||
/trigger add effects modifier weechat_print "${tg_tag_nick}" "==\*(\S+)\*==*${color:bold}${re:1}${color:-bold}*== ==_(\S+)_==_${color:underline}${re:1}${color:-underline}_== ==/(\S+)/==/${color:italic}${re:1}${color:-italic}/"
|
||||
/trigger add effects modifier weechat_print "${tg_tag_nick}" "==\*([^ ]+)\*==*${color:bold}${re:1}${color:-bold}*== ==_([^ ]+)_==_${color:underline}${re:1}${color:-underline}_== ==/([^ ]+)/==/${color:italic}${re:1}${color:-italic}/"
|
||||
hide nicklist bar on small terminals:
|
||||
/trigger add resize_small signal signal_sigwinch "${info:term_width} < 100" "" "/bar hide nicklist"
|
||||
/trigger add resize_big signal signal_sigwinch "${info:term_width} >= 100" "" "/bar show nicklist"
|
||||
|
||||
@@ -658,7 +658,7 @@ Without argument, this command lists loaded plugins.
|
||||
-core: alias of "-buffer core.weechat"
|
||||
-current: display text on current buffer
|
||||
-y: display on a custom line (for buffer with free content only)
|
||||
line: line number for buffer with free content (first line is 0, a negative number displays after last line: -1 = after last line, -2 = two lines after last line, ...)
|
||||
line: line number for buffer with free content (first line is 0, a negative number displays after last line: -1 = after last line, -2 = two lines after last line, etc.)
|
||||
-escape: interpret escaped chars (for example \a, \07, \x07)
|
||||
-date: message date, format can be:
|
||||
-n: 'n' seconds before now
|
||||
@@ -802,7 +802,7 @@ Keys on secure buffer:
|
||||
alt+v toggle values
|
||||
|
||||
When a passphrase is used (data encrypted), it is asked by WeeChat on startup.
|
||||
It is possible to set environment variable "WEECHAT_PASSPHRASE" to prevent the prompt (this same variable is used by WeeChat on /upgrade).
|
||||
It is possible to set environment variable "WEECHAT_PASSPHRASE" to prevent the prompt (this same variable is used by WeeChat on /upgrade), or to set option sec.crypt.passphrase_file to read the passphrase from a file (see /help sec.crypt.passphrase_file).
|
||||
|
||||
Secured data with format ${sec.data.xxx} can be used in:
|
||||
- command /eval
|
||||
|
||||
@@ -420,7 +420,7 @@
|
||||
** description: pass:none[string inserted after nick completion (when nick is first word on command line)]
|
||||
** type: string
|
||||
** values: any string
|
||||
** default value: `+":"+`
|
||||
** default value: `+": "+`
|
||||
|
||||
* [[option_weechat.completion.nick_first_only]] *weechat.completion.nick_first_only*
|
||||
** description: pass:none[complete only with first nick found]
|
||||
@@ -921,7 +921,7 @@
|
||||
** default value: `+djb2+`
|
||||
|
||||
* [[option_weechat.look.nick_color_stop_chars]] *weechat.look.nick_color_stop_chars*
|
||||
** description: pass:none[chars used to stop in nick when computing color with letters of nick (at least one char outside this list must be in string before stopping) (example: nick "|nick|away" with "|" in chars will return color of nick "|nick")]
|
||||
** description: pass:none[chars used to stop in nick when computing color with letters of nick (at least one char outside this list must be in string before stopping) (example: nick "|nick|away" with "|" in chars will return color of nick "|nick"); this option has an impact on option weechat.look.nick_color_force, so the nick for the forced color must not contain the chars ignored by this option]
|
||||
** type: string
|
||||
** values: any string
|
||||
** default value: `+"_|["+`
|
||||
@@ -1185,13 +1185,13 @@
|
||||
** default value: `+""+`
|
||||
|
||||
* [[option_weechat.look.word_chars_highlight]] *weechat.look.word_chars_highlight*
|
||||
** description: pass:none[comma-separated list of chars (or range of chars) that are considered part or words for highlights; each item can be a single char, a range of chars (format: a-z), a class of wide character (for example "alnum", see man wctype); a "!" before the item makes it negative (ie the char is NOT considered part of words); the value "*" matches any char; unicode chars are allowed with the format \u1234, for example \u00A0 for unbreakable space (see /help print for supported formats)]
|
||||
** description: pass:none[comma-separated list of chars (or range of chars) that are considered part of words for highlights; each item can be a single char, a range of chars (format: a-z), a class of wide character (for example "alnum", see man wctype); a "!" before the item makes it negative (ie the char is NOT considered part of words); the value "*" matches any char; unicode chars are allowed with the format \u1234, for example \u00A0 for unbreakable space (see /help print for supported formats)]
|
||||
** type: string
|
||||
** values: any string
|
||||
** default value: `+"!\u00A0,-,_,|,alnum"+`
|
||||
|
||||
* [[option_weechat.look.word_chars_input]] *weechat.look.word_chars_input*
|
||||
** description: pass:none[comma-separated list of chars (or range of chars) that are considered part or words for command line; each item can be a single char, a range of chars (format: a-z), a class of wide character (for example "alnum", see man wctype); a "!" before the item makes it negative (ie the char is NOT considered part of words); the value "*" matches any char; unicode chars are allowed with the format \u1234, for example \u00A0 for unbreakable space (see /help print for supported formats)]
|
||||
** description: pass:none[comma-separated list of chars (or range of chars) that are considered part of words for command line; each item can be a single char, a range of chars (format: a-z), a class of wide character (for example "alnum", see man wctype); a "!" before the item makes it negative (ie the char is NOT considered part of words); the value "*" matches any char; unicode chars are allowed with the format \u1234, for example \u00A0 for unbreakable space (see /help print for supported formats)]
|
||||
** type: string
|
||||
** values: any string
|
||||
** default value: `+"!\u00A0,-,_,|,alnum"+`
|
||||
|
||||
@@ -15,6 +15,17 @@
|
||||
If this option is not given, the environment variable WEECHAT_HOME is used
|
||||
(if not empty).
|
||||
|
||||
*-t*, *--temp-dir*::
|
||||
Create a temporary WeeChat home directory and delete it on exit
|
||||
(incompatible with option "-d"). +
|
||||
The name of the directory is automatically built by WeeChat, with this
|
||||
template: "weechat_temp_XXXXXX" (where "XXXXXX" is random). It it created
|
||||
in the first available directory in this list: environment variable "TMPDIR",
|
||||
"/tmp" (may be different according to the operating system), environment
|
||||
variable "HOME", current directory. +
|
||||
The temporary home directory has permissions 0700 (only owner can read,
|
||||
write and execute).
|
||||
|
||||
*-h*, *--help*::
|
||||
Display help.
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
WeeChat is written by Sébastien Helleu and contributors (complete list is in
|
||||
the AUTHORS.adoc file).
|
||||
|
||||
Copyright (C) 2003-2018 {author}
|
||||
Copyright (C) 2003-2019 {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
|
||||
|
||||
@@ -13,7 +13,7 @@ weechat-headless - the extensible chat client (headless version)
|
||||
== SYNOPSIS
|
||||
|
||||
[verse]
|
||||
*weechat-headless* [-a|--no-connect] [--daemon] [-d|--dir <path>] [-p|--no-plugin] [-P|--plugins <plugins>] [-r|--run-command <command>] [-s|--no-script] [--upgrade] [plugin:option...]
|
||||
*weechat-headless* [-a|--no-connect] [--daemon] [-d|--dir <path>] [-t|--temp-dir] [-p|--no-plugin] [-P|--plugins <plugins>] [-r|--run-command <command>] [-s|--no-script] [--upgrade] [plugin:option...]
|
||||
*weechat-headless* [-c|--colors]
|
||||
*weechat-headless* [-h|--help]
|
||||
*weechat-headless* [-l|--license]
|
||||
|
||||
@@ -13,7 +13,7 @@ weechat - the extensible chat client
|
||||
== SYNOPSIS
|
||||
|
||||
[verse]
|
||||
*weechat* [-a|--no-connect] [-d|--dir <path>] [-p|--no-plugin] [-P|--plugins <plugins>] [-r|--run-command <command>] [-s|--no-script] [--upgrade] [plugin:option...]
|
||||
*weechat* [-a|--no-connect] [-d|--dir <path>] [-t|--temp-dir] [-p|--no-plugin] [-P|--plugins <plugins>] [-r|--run-command <command>] [-s|--no-script] [--upgrade] [plugin:option...]
|
||||
*weechat* [-c|--colors]
|
||||
*weechat* [-h|--help]
|
||||
*weechat* [-l|--license]
|
||||
|
||||
+54
-27
@@ -43,7 +43,7 @@ scripts::
|
||||
the _official_ scripts submitted on weechat.org
|
||||
|
||||
weechat.org::
|
||||
source of WeeChat web site: https://weechat.org/
|
||||
source of WeeChat website: https://weechat.org/
|
||||
|
||||
weercd::
|
||||
IRC testing server
|
||||
@@ -95,6 +95,9 @@ The main WeeChat directories are:
|
||||
| python/ | Python scripts to generate and run the scripting API tests.
|
||||
| unit/ | Unit tests.
|
||||
| core/ | Unit tests for core functions.
|
||||
| gui/ | Unit tests for interfaces functions.
|
||||
| plugins/ | Unit tests for plugins.
|
||||
| irc/ | Unit tests for IRC plugin.
|
||||
| doc/ | Documentation.
|
||||
| po/ | Translations files (gettext).
|
||||
| debian/ | Debian packaging.
|
||||
@@ -132,7 +135,9 @@ WeeChat "core" is located in following directories:
|
||||
| wee-log.c | Write to WeeChat log file (weechat.log).
|
||||
| wee-network.c | Network functions (connection to servers/proxies).
|
||||
| wee-proxy.c | Proxy management.
|
||||
| wee-secure.c | Secured data options (file sec.conf).
|
||||
| wee-secure.c | Secured data functions.
|
||||
| wee-secure-buffer.c | Secured data buffer.
|
||||
| wee-secure-config.c | Secured data options (file sec.conf).
|
||||
| wee-string.c | Functions on strings.
|
||||
| wee-upgrade-file.c | Internal upgrade system.
|
||||
| wee-upgrade.c | Upgrade for WeeChat core (buffers, lines, history, ...).
|
||||
@@ -206,6 +211,7 @@ WeeChat "core" is located in following directories:
|
||||
| plugins/ | Root of plugins.
|
||||
| plugin.c | Plugins management (load/unload dynamic C libraries).
|
||||
| plugin-api.c | Extra functions for plugin API (wrapper around WeeChat core functions).
|
||||
| plugin-api-info.c | Extra info/infolist functions for plugin API.
|
||||
| plugin-config.c | Plugin configuration options (file plugins.conf).
|
||||
| plugin-script.c | Common functions used by script plugins.
|
||||
| plugin-script-api.c | Script API functions: wrappers around some plugin API functions.
|
||||
@@ -368,27 +374,37 @@ WeeChat "core" is located in following directories:
|
||||
|
||||
[width="100%",cols="1m,3",options="header"]
|
||||
|===
|
||||
| Path/file | Description
|
||||
| tests/ | Root of tests.
|
||||
| tests.cpp | Program used to run all tests.
|
||||
| scripts/ | Root of scripting API tests.
|
||||
| test-scripts.cpp | Program used to run the scripting API tests.
|
||||
| python/ | Python scripts to generate and run the scripting API tests.
|
||||
| testapigen.py | Python script generating scripts in all languages to test the scripting API.
|
||||
| testapi.py | Python script with scripting API tests, used by script testapigen.py.
|
||||
| unparse.py | Convert Python code to other languages, used by script testapigen.py.
|
||||
| unit/ | Root of unit tests.
|
||||
| core/ | Root of unit tests for core.
|
||||
| test-arraylist.cpp | Tests: arraylists.
|
||||
| test-eval.cpp | Tests: evaluation of expressions.
|
||||
| test-hashtble.cpp | Tests: hashtables.
|
||||
| test-hdata.cpp | Tests: hdata.
|
||||
| test-infolist.cpp | Tests: infolists.
|
||||
| test-list.cpp | Tests: lists.
|
||||
| test-string.cpp | Tests: strings.
|
||||
| test-url.cpp | Tests: URLs.
|
||||
| test-utf8.cpp | Tests: UTF-8.
|
||||
| test-util.cpp | Tests: utility functions.
|
||||
| Path/file | Description
|
||||
| tests/ | Root of tests.
|
||||
| tests.cpp | Program used to run all tests.
|
||||
| scripts/ | Root of scripting API tests.
|
||||
| test-scripts.cpp | Program used to run the scripting API tests.
|
||||
| python/ | Python scripts to generate and run the scripting API tests.
|
||||
| testapigen.py | Python script generating scripts in all languages to test the scripting API.
|
||||
| testapi.py | Python script with scripting API tests, used by script testapigen.py.
|
||||
| unparse.py | Convert Python code to other languages, used by script testapigen.py.
|
||||
| unit/ | Root of unit tests.
|
||||
| test-plugins.cpp | Tests: plugins.
|
||||
| core/ | Root of unit tests for core.
|
||||
| test-core-arraylist.cpp | Tests: arraylists.
|
||||
| test-core-eval.cpp | Tests: evaluation of expressions.
|
||||
| test-core-hashtble.cpp | Tests: hashtables.
|
||||
| test-core-hdata.cpp | Tests: hdata.
|
||||
| test-core-hook.cpp | Tests: hooks.
|
||||
| test-core-infolist.cpp | Tests: infolists.
|
||||
| test-core-list.cpp | Tests: lists.
|
||||
| test-core-secure.cpp | Tests: secured data.
|
||||
| test-core-string.cpp | Tests: strings.
|
||||
| test-core-url.cpp | Tests: URLs.
|
||||
| test-core-utf8.cpp | Tests: UTF-8.
|
||||
| test-core-util.cpp | Tests: utility functions.
|
||||
| gui/ | Root of unit tests for interfaces.
|
||||
| test-gui-line.cpp | Tests: lines.
|
||||
| plugins/ | Root of unit tests for plugins.
|
||||
| irc/ | Root of unit tests for IRC plugin.
|
||||
| test-irc-config.cpp | Tests: IRC configuration.
|
||||
| test-irc-protocol.cpp | Tests: IRC protocol.
|
||||
|
||||
|===
|
||||
|
||||
[[documentation_translations]]
|
||||
@@ -451,7 +467,7 @@ Example in C:
|
||||
/*
|
||||
* weechat.c - core functions for WeeChat
|
||||
*
|
||||
* Copyright (C) 2018 Your Name <your@email.com>
|
||||
* Copyright (C) 2019 Your Name <your@email.com>
|
||||
*
|
||||
* This file is part of WeeChat, the extensible chat client.
|
||||
*
|
||||
@@ -466,7 +482,7 @@ Example in C:
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
----
|
||||
|
||||
@@ -666,7 +682,7 @@ new_hook_fd = malloc (sizeof (*new_hook_fd));
|
||||
[[coding_python_style]]
|
||||
=== Python style
|
||||
|
||||
See http://www.python.org/dev/peps/pep-0008/
|
||||
See https://www.python.org/dev/peps/pep-0008/
|
||||
|
||||
[[core_internals]]
|
||||
== Core internals
|
||||
@@ -692,7 +708,7 @@ Examples:
|
||||
| src/core/ | weechat.c, wee-backtrace.c, wee-command.c, ...
|
||||
| src/gui/ | gui-bar.c, gui-bar-item.c, gui-bar-window.c, ...
|
||||
| src/gui/curses/ | gui-curses-bar.c, gui-curses-bar-window.c, gui-curses-chat.c, ...
|
||||
| src/plugins/ | plugin.c, plugin-api.c, plugin-config.c, plugin-script.c, ...
|
||||
| src/plugins/ | plugin.c, plugin-api.c, plugin-api-info.c, plugin-config.c, plugin-script.c, ...
|
||||
| src/plugins/irc/ | irc.c, irc-bar-item.c, irc-buffer.c, ...
|
||||
| src/plugins/python/ | weechat-python.c, weechat-python-api.c, ...
|
||||
|===
|
||||
@@ -1093,6 +1109,15 @@ $ msginit -i weechat.pot -l nl_NL -o nl.po
|
||||
Base language for WeeChat is English, so you must of course perfectly understand
|
||||
English in order to translate to your language.
|
||||
|
||||
After changes in sources, you can regenerate all translations files: run this
|
||||
command in the CMake "build" directory:
|
||||
|
||||
----
|
||||
$ make translations && make update-po
|
||||
----
|
||||
|
||||
Then you can edit .po files (if you can translate in a language).
|
||||
|
||||
When done, you *have* to check your file with script _msgcheck.py_
|
||||
(https://github.com/flashcode/msgcheck):
|
||||
|
||||
@@ -1100,6 +1125,8 @@ When done, you *have* to check your file with script _msgcheck.py_
|
||||
$ msgcheck.py xx.po
|
||||
----
|
||||
|
||||
And then you can recompile WeeChat to use the new translations.
|
||||
|
||||
[[build_autogen_files]]
|
||||
===== Build auto-generated files
|
||||
|
||||
|
||||
+129
-48
@@ -32,13 +32,13 @@ apply to WeeChat!).
|
||||
|
||||
Because WeeChat is very light and brings innovating features.
|
||||
|
||||
More info on this page: https://weechat.org/about/features
|
||||
More info on the WeeChat features page: https://weechat.org/about/features
|
||||
|
||||
[[compilation_install]]
|
||||
== Compilation / install
|
||||
|
||||
[[gui]]
|
||||
=== I heard about many GUIs for WeeChat. How can I compile/use them?
|
||||
=== I've heard about many GUIs for WeeChat. How can I compile/use them?
|
||||
|
||||
Some remote GUIs are available, see the remote interfaces page:
|
||||
https://weechat.org/about/interfaces
|
||||
@@ -46,20 +46,21 @@ https://weechat.org/about/interfaces
|
||||
[[compile_git]]
|
||||
=== I can't compile WeeChat after cloning git repository, why?
|
||||
|
||||
The recommended way to compile WeeChat is with cmake.
|
||||
The recommended way to compile WeeChat is with
|
||||
link:weechat_user.en.html#compile_with_cmake[cmake].
|
||||
|
||||
If you're compiling with autotools (and not cmake), check that you have latest
|
||||
version of autoconf and automake.
|
||||
If you're compiling with link:weechat_user.en.html#compile_with_autotools[autotools]
|
||||
(and not cmake), check that you have latest version of autoconf and automake.
|
||||
|
||||
The other way is to install the "devel package", which needs less dependencies.
|
||||
This package is built almost every day using git repository. Note that this
|
||||
package may not correspond exactly to git base and that it's less convenient
|
||||
than git cloning for installing updates.
|
||||
|
||||
[[compile_osx]]
|
||||
=== How can I install WeeChat on OS X?
|
||||
[[compile_macos]]
|
||||
=== How can I install WeeChat on macOS?
|
||||
|
||||
It is recommended to use http://brew.sh/[Homebrew], you can get help with:
|
||||
It is recommended to use https://brew.sh/[Homebrew], you can get help with:
|
||||
|
||||
----
|
||||
brew info weechat
|
||||
@@ -75,7 +76,9 @@ brew install weechat --with-aspell --with-curl --with-python --with-perl --with-
|
||||
=== I've launched WeeChat, but I'm lost, what can I do?
|
||||
|
||||
For help you can type `/help`. For help about a command, type `/help command`.
|
||||
Keys and commands are listed in documentation.
|
||||
link:weechat_user.en.html#key_bindings[Keys] and
|
||||
link:weechat_user.en.html#commands_and_options[commands] are listed
|
||||
in documentation.
|
||||
|
||||
It's recommended for new users to read the
|
||||
link:weechat_quickstart.en.html[Quickstart guide].
|
||||
@@ -86,7 +89,8 @@ link:weechat_quickstart.en.html[Quickstart guide].
|
||||
[[charset]]
|
||||
=== I don't see some chars with accents, what can I do?
|
||||
|
||||
It's common issue, please read carefully and check *ALL* solutions below:
|
||||
It's a common issue with a variety of causes, please read carefully and check
|
||||
*ALL* solutions below:
|
||||
|
||||
* Check that weechat is linked to libncursesw (warning: needed on most
|
||||
distributions but not all): `ldd /path/to/weechat`.
|
||||
@@ -104,8 +108,9 @@ It's common issue, please read carefully and check *ALL* solutions below:
|
||||
rxvt-unicode).
|
||||
** If you are using screen, check that it is run with UTF-8 mode
|
||||
("`defutf8 on`" in ~/.screenrc or `screen -U` to run screen).
|
||||
* Check that option _weechat.look.eat_newline_glitch_ is off (this option may
|
||||
cause display bugs).
|
||||
* Check that option
|
||||
link:weechat_user.en.html#option_weechat.look.eat_newline_glitch[_weechat.look.eat_newline_glitch_]
|
||||
is off (this option may cause display bugs).
|
||||
|
||||
[NOTE]
|
||||
UTF-8 locale is recommended for WeeChat. If you're using ISO or other
|
||||
@@ -128,13 +133,13 @@ https://github.com/weechat/weechat/issues/79
|
||||
=== Bars like title and status are not filled, background color stops after text, why?
|
||||
|
||||
This may be caused by a bad value of the TERM variable in your shell (look at
|
||||
output of `echo $TERM` in your terminal).
|
||||
the output of `echo $TERM` in your terminal).
|
||||
|
||||
Depending on where you launch WeeChat, you should have:
|
||||
|
||||
* If WeeChat runs locally or on a remote machine without screen nor tmux, it
|
||||
depends on the terminal used: _xterm_, _xterm-256color_, _rxvt-unicode_,
|
||||
_rxvt-256color_, ...
|
||||
_rxvt-256color_, etc.
|
||||
* If WeeChat runs under screen, you should have _screen_ or _screen-256color_.
|
||||
* If WeeChat runs under tmux, you should have _tmux_, _tmux-256color_,
|
||||
_screen_ or _screen-256color_.
|
||||
@@ -154,17 +159,17 @@ If you are using gnome-terminal, check that the option
|
||||
"Ambiguous-width characters" in menu Preferences/Profile/Compatibility
|
||||
is set to `narrow`.
|
||||
|
||||
[[osx_display_broken]]
|
||||
=== I compiled WeeChat under OS X, and I see "(null)" everywhere on screen, what's wrong?
|
||||
[[macos_display_broken]]
|
||||
=== I compiled WeeChat under macOS, and I see "(null)" everywhere on screen, what's wrong?
|
||||
|
||||
If you compiled ncursesw yourself, try to use standard ncurses (that comes with
|
||||
system).
|
||||
|
||||
Moreover, under OS X, it is recommended to install WeeChat with Homebrew package
|
||||
manager.
|
||||
Moreover, under macOS, it is recommended to install WeeChat with Homebrew
|
||||
package manager.
|
||||
|
||||
[[buffer_vs_window]]
|
||||
=== I heard about "buffers" and "windows", what's the difference?
|
||||
=== I've heard about "buffers" and "windows", what's the difference?
|
||||
|
||||
A _buffer_ is composed by a number, a name, lines displayed (and some other
|
||||
data).
|
||||
@@ -172,13 +177,15 @@ data).
|
||||
A _window_ is a screen area which displays a buffer. It is possible to split
|
||||
your screen into many windows.
|
||||
|
||||
Each window displays one buffer. A buffer can be hidden (not displayed by a
|
||||
window) or displayed by one or more windows.
|
||||
Each window displays one buffer, or a set of merged buffers.
|
||||
A buffer can be hidden (not displayed by a window) or displayed by one or more
|
||||
windows.
|
||||
|
||||
[[buffers_list]]
|
||||
=== How to display the buffers list on the left side?
|
||||
|
||||
With WeeChat ≥ 1.8, the plugin "buflist" is loaded and enabled by default.
|
||||
With WeeChat ≥ 1.8, the plugin link:weechat_user.en.html#buflist_plugin[buflist]
|
||||
is loaded and enabled by default.
|
||||
|
||||
With an older version, you can install script _buffers.pl_:
|
||||
|
||||
@@ -246,7 +253,7 @@ since you visited the buffer.
|
||||
|
||||
In the example `[H: 3(1,8), 2(4)]`, there are:
|
||||
|
||||
* one highlight and 8 unread messages on buffer #3,
|
||||
* 1 highlight and 8 unread messages on buffer #3,
|
||||
* 4 unread messages on buffer #2.
|
||||
|
||||
The color of the buffer/counter depends on the type of message, default colors
|
||||
@@ -307,10 +314,12 @@ any bar:
|
||||
[[terminal_copy_paste]]
|
||||
=== How can I copy/paste text without pasting nicklist?
|
||||
|
||||
With WeeChat ≥ 1.0, you can use the bare display (default key: kbd:[Alt+l]).
|
||||
With WeeChat ≥ 1.0, you can use the bare display (default key: kbd:[Alt+l]),
|
||||
which will show just the contents of the currently selected window,
|
||||
without any formatting.
|
||||
|
||||
You can use a terminal with rectangular selection (like rxvt-unicode,
|
||||
konsole, gnome-terminal, ...). Key is usually kbd:[Ctrl] + kbd:[Alt] + mouse
|
||||
konsole, gnome-terminal, etc.). Key is usually kbd:[Ctrl] + kbd:[Alt] + mouse
|
||||
selection.
|
||||
|
||||
Another solution is to move nicklist to top or bottom, for example:
|
||||
@@ -402,7 +411,7 @@ If you are using screen, you can add this line to your _~/.screenrc_:
|
||||
term screen-256color
|
||||
----
|
||||
|
||||
If your _TERM_ variable has wrong value and that WeeChat is already running,
|
||||
If your _TERM_ variable has a wrong value and that WeeChat is already running,
|
||||
you can change it with these two commands (with WeeChat ≥ 1.0):
|
||||
|
||||
----
|
||||
@@ -455,6 +464,12 @@ commands of your choice):
|
||||
/key bind meta2-O /print -core unfocus
|
||||
----
|
||||
|
||||
For example to mark buffers as read when the terminal loses the focus:
|
||||
|
||||
----
|
||||
/key bind meta2-O /input set_unread
|
||||
----
|
||||
|
||||
[[screen_paste]]
|
||||
=== When WeeChat is running in screen, pasting text in another screen window adds ~0 and ~1 around text, why?
|
||||
|
||||
@@ -473,7 +488,7 @@ You can just disable bracketed paste mode:
|
||||
[[meta_keys]]
|
||||
=== Some meta keys (alt + key) are not working, why?
|
||||
|
||||
If you're using some terminals like xterm or uxterm, some meta keys does not
|
||||
If you're using some terminals like xterm or uxterm, some meta keys do not
|
||||
work by default. You can add a line in file _~/.Xresources_:
|
||||
|
||||
* For xterm:
|
||||
@@ -487,8 +502,8 @@ UXTerm*metaSendsEscape: true
|
||||
|
||||
And then reload resources (`xrdb -override ~/.Xresources`) or restart X.
|
||||
|
||||
If you are using the Mac OS X Terminal app, enable the option
|
||||
"Use option as meta key" in menu Settings/Keyboard. And then you can use the
|
||||
If you are using the macOS Terminal app, enable the option
|
||||
"Use option as meta key" in menu Settings/Keyboard after which you can use the
|
||||
kbd:[Option] key as meta key.
|
||||
|
||||
[[customize_key_bindings]]
|
||||
@@ -591,7 +606,7 @@ you have to use kbd:[Alt] instead of kbd:[Shift]).
|
||||
[[irc_ssl_connection]]
|
||||
=== I have some problems when connecting to a server using SSL, what can I do?
|
||||
|
||||
If you are using Mac OS X, you must install `openssl` from Homebrew.
|
||||
If you are using macOS, you must install `openssl` from Homebrew.
|
||||
A CA file will be bootstrapped using certificates from the system keychain.
|
||||
You can then set the path to certificates in WeeChat:
|
||||
|
||||
@@ -621,7 +636,7 @@ should be, you can specify the fingerprint (SHA-512, SHA-256 or SHA-1):
|
||||
----
|
||||
|
||||
[[irc_ssl_handshake_error]]
|
||||
=== When connecting to server with SSL, I see only error "TLS handshake failed", what can I do?
|
||||
=== When connecting to server with SSL, I only see the error "TLS handshake failed", what can I do?
|
||||
|
||||
You can try a different priority string (WeeChat ≥ 0.3.5 only), replace "xxx"
|
||||
by your server name:
|
||||
@@ -639,7 +654,7 @@ 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:
|
||||
Note: if you are running macOS with homebrew openssl installed, you can do:
|
||||
|
||||
----
|
||||
/set weechat.network.gnutls_ca_file "/usr/local/etc/openssl/cert.pem"
|
||||
@@ -675,21 +690,48 @@ and address by appropriate values):
|
||||
[[irc_sasl]]
|
||||
=== How can I be identified before joining channels?
|
||||
|
||||
If server supports SASL, you should use that instead of sending command for
|
||||
nickserv authentication, for example:
|
||||
If the server supports SASL, you should use that instead of sending the
|
||||
command for nickserv authentication, for example:
|
||||
|
||||
----
|
||||
/set irc.server.freenode.sasl_username "mynick"
|
||||
/set irc.server.freenode.sasl_password "xxxxxxx"
|
||||
----
|
||||
|
||||
If server does not support SASL, you can add a delay (between command and join
|
||||
of channels):
|
||||
If the server does not support SASL, you can add a delay (between command and
|
||||
join of channels):
|
||||
|
||||
----
|
||||
/set irc.server.freenode.command_delay 5
|
||||
----
|
||||
|
||||
[[edit_autojoin]]
|
||||
=== How can I add/remove channels from autojoin option?
|
||||
|
||||
You can use the `/set` command to edit the list of autojoin channels,
|
||||
for example for the "freenode" server:
|
||||
|
||||
----
|
||||
/set irc.server.freenode.autojoin [TAB]
|
||||
----
|
||||
|
||||
[NOTE]
|
||||
You can complete the name and value of option with the kbd:[Tab] key
|
||||
(or kbd:[Shift+Tab] for partial completion, useful for the name). +
|
||||
This way you don't have to type the whole list of channels.
|
||||
|
||||
You can also use the `/fset` command to edit the list of channels:
|
||||
|
||||
----
|
||||
/fset autojoin
|
||||
----
|
||||
|
||||
Another solution is to use a script:
|
||||
|
||||
----
|
||||
/script search autojoin
|
||||
----
|
||||
|
||||
[[ignore_vs_filter]]
|
||||
=== What is the difference between the /ignore and /filter commands?
|
||||
|
||||
@@ -698,9 +740,9 @@ The `/ignore` command is an IRC command, so it applies only for IRC buffers
|
||||
It lets you ignore some nicks or hostnames of users for a server or channel
|
||||
(command will not apply on content of messages).
|
||||
Matching messages are deleted by IRC plugin before display (so you'll
|
||||
never see them).
|
||||
never see them, and can't be recovered by removing the ignore).
|
||||
|
||||
The `/filter` command is a core command, so it applies to any buffer.
|
||||
The `/filter` command is a WeeChat core command, so it applies to any buffer.
|
||||
It lets you filter some lines in buffers with tags or regular expression for
|
||||
prefix and content of line.
|
||||
Filtered lines are only hidden, not deleted, and you can see them if you
|
||||
@@ -723,7 +765,8 @@ With a global filter (hide *all* join/part/quit):
|
||||
----
|
||||
|
||||
[NOTE]
|
||||
For help: `/help filter` and `/help irc.look.smart_filter`
|
||||
For help: `/help filter`, `/help irc.look.smart_filter` and see
|
||||
link:weechat_user.en.html#irc_smart_filter_join_part_quit[User's guide / Smart filter for join/part/quit messages].
|
||||
|
||||
[[filter_irc_join_channel_messages]]
|
||||
=== How can I filter some messages displayed when I join an IRC channel?
|
||||
@@ -746,13 +789,13 @@ If you want to do that, it's probably because Bitlbee is using voice to show
|
||||
away users, and you are flooded with voice messages. Therefore, you can change
|
||||
that and let WeeChat use a special color for away nicks in nicklist.
|
||||
|
||||
For Bitlbee ≥ 3, do that on channel _&bitlbee_:
|
||||
For Bitlbee ≥ 3, issue this on control channel _&bitlbee_:
|
||||
|
||||
----
|
||||
channel set show_users online,away
|
||||
----
|
||||
|
||||
For older version of Bitlbee, do that on channel _&bitlbee_:
|
||||
For older version of Bitlbee, issue this on control channel _&bitlbee_:
|
||||
|
||||
----
|
||||
set away_devoice false
|
||||
@@ -805,7 +848,7 @@ Or you can add a command in "beep" trigger:
|
||||
|
||||
With an older WeeChat, you can use a script like _beep.pl_ or _launcher.pl_.
|
||||
|
||||
For _launcher.pl_, you have to setup command:
|
||||
For _launcher.pl_, you have to setup a command:
|
||||
|
||||
----
|
||||
/set plugins.var.perl.launcher.signal.weechat_highlight "/path/to/command arguments"
|
||||
@@ -817,6 +860,43 @@ Other scripts on this subject:
|
||||
/script search notify
|
||||
----
|
||||
|
||||
[[disable_highlights_for_specific_nicks]]
|
||||
=== How can I disable highlights for specific nicks?
|
||||
|
||||
With WeeChat ≥ 0.3.4 you can use the
|
||||
link:weechat_user.en.html#max_hotlist_level_nicks[hotlist_max_level_nicks_add]
|
||||
buffer property to set the max hotlist level for some nicks, per buffer,
|
||||
or per group of buffers (like IRC servers).
|
||||
|
||||
To only disable highlights, you'd have to set it to 2:
|
||||
|
||||
----
|
||||
/buffer set hotlist_max_level_nicks_add joe:2,mike:2
|
||||
----
|
||||
|
||||
This buffer property isn't stored in the configuration though.
|
||||
To automatically reapply these buffer properties, you would need the
|
||||
_buffer_autoset.py_ script:
|
||||
|
||||
----
|
||||
/script install buffer_autoset.py
|
||||
----
|
||||
|
||||
For example, to permanently disable highlights from "mike" on #weechat
|
||||
on the IRC server freenode:
|
||||
|
||||
----
|
||||
/buffer_autoset add irc.freenode.#weechat hotlist_max_level_nicks_add mike:2
|
||||
----
|
||||
|
||||
To apply it to the entire freenode server instead:
|
||||
|
||||
----
|
||||
/buffer_autoset add irc.freenode hotlist_max_level_nicks_add mike:2
|
||||
----
|
||||
|
||||
For more examples, see `/help buffer_autoset`.
|
||||
|
||||
[[irc_target_buffer]]
|
||||
=== How can I change target buffer for commands on merged buffers (like buffer with servers)?
|
||||
|
||||
@@ -840,8 +920,8 @@ You must set that up:
|
||||
[[install_scripts]]
|
||||
=== How can I install scripts? Are scripts compatible with other IRC clients?
|
||||
|
||||
You can use the command `/script` to install and manage scripts
|
||||
(see `/help script` for help).
|
||||
With WeeChat ≥ 0.3.9 you can use the command `/script` to install and manage scripts
|
||||
(see `/help script` for help). For older versions there is weeget.py and script.pl.
|
||||
|
||||
Scripts are not compatible with other IRC clients.
|
||||
|
||||
@@ -863,7 +943,7 @@ And update scripts again in WeeChat:
|
||||
/script update
|
||||
----
|
||||
|
||||
If you still have an error, then you must remove the automatic update of file
|
||||
If you still have an error, then you must disable the automatic update of file
|
||||
in WeeChat and download the file manually outside WeeChat (that means you'll
|
||||
have to update manually the file yourself to get updates):
|
||||
|
||||
@@ -920,7 +1000,7 @@ You can try following tips to consume less memory:
|
||||
older versions).
|
||||
* Do not load some plugins if you don't use them, for example: aspell, buflist,
|
||||
fifo, logger, perl, python, ruby, lua, tcl, guile, javascript, php,
|
||||
xfer (used for DCC).
|
||||
xfer (used for DCC). See `/help weechat.plugin.autoload`.
|
||||
* 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_.
|
||||
@@ -973,6 +1053,7 @@ Unload and disable auto-loading of "xfer" plugin (used for IRC DCC):
|
||||
Define a passphrase and use secured data wherever you can for sensitive data
|
||||
like passwords: see `/help secure` and `/help` on options
|
||||
(if you can use secured data, it is written in the help).
|
||||
See also link:weechat_user.en.html#secured_data[User's guide / Secured data].
|
||||
|
||||
For example:
|
||||
|
||||
@@ -1006,7 +1087,7 @@ for more information about configuration files.
|
||||
See: https://weechat.org/about/support
|
||||
|
||||
[[gdb_error_threads]]
|
||||
=== When I run WeeChat under gdb, there is error about threads, what can I do?
|
||||
=== When I run WeeChat under gdb, there is an error about threads, what can I do?
|
||||
|
||||
When you run WeeChat under gdb, you may have this error:
|
||||
|
||||
@@ -1036,7 +1117,7 @@ some OS' we don't have, to test WeeChat.
|
||||
[[help_developers]]
|
||||
=== I want to help WeeChat developers. What can I do?
|
||||
|
||||
There's many tasks to do (testing, code, documentation, ...)
|
||||
There are many tasks to do (testing, code, documentation, etc.)
|
||||
|
||||
Please contact us via IRC or mail, look at support page:
|
||||
https://weechat.org/about/support
|
||||
|
||||
@@ -146,13 +146,13 @@ To compile a plugin which has one file "toto.c" (under GNU/Linux):
|
||||
|
||||
----
|
||||
$ gcc -fPIC -Wall -c toto.c
|
||||
$ gcc -shared -fPIC -o libtoto.so toto.o
|
||||
$ gcc -shared -fPIC -o toto.so toto.o
|
||||
----
|
||||
|
||||
[[load_plugin]]
|
||||
=== Load plugin
|
||||
|
||||
Copy file _libtoto.so_ into system plugins directory (for example
|
||||
Copy file _toto.so_ into system plugins directory (for example
|
||||
_/usr/local/lib/weechat/plugins_) or into user's plugins directory (for example
|
||||
_/home/xxx/.weechat/plugins_).
|
||||
|
||||
@@ -192,6 +192,7 @@ command_double_cb (const void *pointer, void *data,
|
||||
int argc, char **argv, char **argv_eol)
|
||||
{
|
||||
/* make C compiler happy */
|
||||
(void) pointer;
|
||||
(void) data;
|
||||
(void) buffer;
|
||||
(void) argv;
|
||||
@@ -1503,7 +1504,7 @@ _WeeChat ≥ 1.0._
|
||||
Split a string like the shell does for a command with arguments.
|
||||
|
||||
This function is a C conversion of Python class "shlex" (file: Lib/shlex.py in
|
||||
Python repository), see: http://docs.python.org/3/library/shlex.html.
|
||||
Python repository), see: https://docs.python.org/3/library/shlex.html.
|
||||
|
||||
Prototype:
|
||||
|
||||
@@ -1778,68 +1779,83 @@ str = weechat.string_remove_color(string, replacement)
|
||||
str = weechat.string_remove_color(my_string, "?")
|
||||
----
|
||||
|
||||
==== string_encode_base64
|
||||
==== string_base_encode
|
||||
|
||||
_WeeChat ≥ 0.3.2._
|
||||
_WeeChat ≥ 2.4._
|
||||
|
||||
Encode a string in base64.
|
||||
Encode a string in base 16, 32, or 64.
|
||||
|
||||
Prototype:
|
||||
|
||||
[source,C]
|
||||
----
|
||||
void weechat_string_encode_base64 (const char *from, int length, char *to);
|
||||
int weechat_string_base_encode (int base, const char *from, int length, char *to);
|
||||
----
|
||||
|
||||
Arguments:
|
||||
|
||||
* _base_: 16, 32, or 64
|
||||
* _from_: string to encode
|
||||
* _length_: length of string to encode (for example `strlen(from)`)
|
||||
* _to_: pointer to string to store result (must be long enough, result is
|
||||
longer than initial string)
|
||||
|
||||
Return value:
|
||||
|
||||
* length of string stored in _*to_ (does not count final `\0`), -1 if error
|
||||
|
||||
C example:
|
||||
|
||||
[source,C]
|
||||
----
|
||||
char *string = "abcdefgh", result[128];
|
||||
weechat_string_encode_base64 (string, strlen (string), result);
|
||||
/* result == "YWJjZGVmZ2g=" */
|
||||
int length;
|
||||
length = weechat_string_base_encode (16, string, strlen (string), result);
|
||||
/* length == 16, result == "6162636465666768" */
|
||||
length = weechat_string_base_encode (32, string, strlen (string), result);
|
||||
/* length == 16, result == "MFRGGZDFMZTWQ===" */
|
||||
length = weechat_string_base_encode (64, string, strlen (string), result);
|
||||
/* length == 12, result == "YWJjZGVmZ2g=" */
|
||||
----
|
||||
|
||||
[NOTE]
|
||||
This function is not available in scripting API.
|
||||
|
||||
==== string_decode_base64
|
||||
==== string_base_decode
|
||||
|
||||
_WeeChat ≥ 0.3.2._
|
||||
_WeeChat ≥ 2.4._
|
||||
|
||||
Decode a base64 string.
|
||||
Decode a string encoded in base 16, 32, or 64.
|
||||
|
||||
Prototype:
|
||||
|
||||
[source,C]
|
||||
----
|
||||
int weechat_string_decode_base64 (const char *from, char *to);
|
||||
int weechat_string_base_decode (int base, const char *from, char *to);
|
||||
----
|
||||
|
||||
Arguments:
|
||||
|
||||
* _base_: 16, 32, or 64
|
||||
* _from_: string to decode
|
||||
* _to_: pointer to string to store result (must be long enough, result is
|
||||
shorter than initial string)
|
||||
|
||||
Return value:
|
||||
|
||||
* length of string stored in _*to_ (does not count final _\0_)
|
||||
* length of string stored in _*to_ (does not count final `\0`), -1 if error
|
||||
|
||||
C example:
|
||||
|
||||
[source,C]
|
||||
----
|
||||
char *string = "YWJjZGVmZ2g=", result[128];
|
||||
char result[128];
|
||||
int length;
|
||||
length = weechat_string_decode_base64 (string, result);
|
||||
length = weechat_string_base_decode (16, "6162636465666768", result);
|
||||
/* length == 8, result == "abcdefgh" */
|
||||
length = weechat_string_base_decode (32, "MFRGGZDFMZTWQ===", result);
|
||||
/* length == 8, result == "abcdefgh" */
|
||||
length = weechat_string_base_decode (64, "YWJjZGVmZ2g=", result);
|
||||
/* length == 8, result == "abcdefgh" */
|
||||
----
|
||||
|
||||
@@ -2052,12 +2068,12 @@ struct t_hashtable *options2 = weechat_hashtable_new (8,
|
||||
NULL,
|
||||
NULL);
|
||||
/* add brackets around URLs */
|
||||
weechat_hashtable_set (options2, "regex", "\\w+://\\S+");
|
||||
weechat_hashtable_set (options2, "regex", "[a-zA-Z0-9_]+://[^ ]+");
|
||||
weechat_hashtable_set (options2, "regex_replace", "[ ${re:0} ]");
|
||||
char *str4 = weechat_string_eval_expression ("test: https://weechat.org", NULL, NULL, NULL); /* "test: [ https://weechat.org ]" */
|
||||
|
||||
/* hide passwords */
|
||||
weechat_hashtable_set (options2, "regex", "(password=)(\\S+)");
|
||||
weechat_hashtable_set (options2, "regex", "(password=)([^ ]+)");
|
||||
weechat_hashtable_set (options2, "regex_replace", "${re:1}${hide:*,${re:2}}");
|
||||
char *str5 = weechat_string_eval_expression ("password=abc password=def", NULL, NULL, NULL); /* "password=*** password=***" */
|
||||
----
|
||||
@@ -2080,14 +2096,14 @@ str3 = weechat.string_eval_expression("${buffer.full_name}", {}, {}, {}) # "core
|
||||
|
||||
# replace with regex: add brackets around URLs
|
||||
options = {
|
||||
"regex": "\\w+://\\S+",
|
||||
"regex": "[a-zA-Z0-9_]+://[^ ]+",
|
||||
"regex_replace": "[ ${re:0} ]",
|
||||
}
|
||||
str4 = weechat.string_eval_expression("test: https://weechat.org", {}, {}, options) # "test: [ https://weechat.org ]"
|
||||
|
||||
# replace with regex: hide passwords
|
||||
options = {
|
||||
"regex": "(password=)(\\S+)",
|
||||
"regex": "(password=)([^ ]+)",
|
||||
"regex_replace": "${re:1}${hide:*,${re:2}}",
|
||||
}
|
||||
str5 = weechat.string_eval_expression("password=abc password=def", {}, {}, options) # "password=*** password=***"
|
||||
@@ -8536,7 +8552,7 @@ Return value:
|
||||
When command has ended, or if timeout is reached, WeeChat will automatically
|
||||
unhook (and kill process if it is still running).
|
||||
|
||||
The command can be an URL with format: "url:http://www.example.com",
|
||||
The command can be an URL with format: "url:https://www.example.com",
|
||||
to download content of URL _(WeeChat ≥ 0.3.7)_. Options are possible for URL
|
||||
with function <<_hook_process_hashtable,hook_process_hashtable>>.
|
||||
|
||||
@@ -8551,7 +8567,7 @@ In scripting API, the function _name_ is called directly and its result
|
||||
|
||||
[TIP]
|
||||
If you want to retrieve infos about WeeChat (like current stable version,
|
||||
latest git commit, ...), you can use URLs on page https://weechat.org/dev/info
|
||||
latest git commit, etc.), you can use URLs on page https://weechat.org/dev/info
|
||||
|
||||
[NOTE]
|
||||
Buffer size for sending data to callback is 64KB (there are 2 buffers: one for
|
||||
|
||||
@@ -32,7 +32,7 @@ The _clients_ are connected to _relay_ like shown in this diagram:
|
||||
....
|
||||
┌──────────┐ Workstation
|
||||
┌────────┐ ┌───┤ client 1 │ (Linux, Windows,
|
||||
│ irc │◄──┐ ╔═══════════╤═══════╗ │ └──────────┘ BSD, Mac OS X ...)
|
||||
│ irc │◄──┐ ╔═══════════╤═══════╗ │ └──────────┘ BSD, macOS ...)
|
||||
└────────┘ └──╢ │ ║◄───┘ ┌──────────┐
|
||||
...... ║ WeeChat │ Relay ║◄───────┤ client 2 │ Mobile device
|
||||
┌────────┐ ┌──╢ │ ║◄───┐ └──────────┘ (Android, iPhone ...)
|
||||
@@ -114,8 +114,12 @@ init [<option>=<value>,[<option>=<value>,...]]
|
||||
Arguments:
|
||||
|
||||
* _option_: one of following options:
|
||||
** _password_: password used to authenticate on _relay_ (option
|
||||
_relay.network.password_ in WeeChat)
|
||||
** _password_: password used to authenticate on _relay_
|
||||
(option _relay.network.password_ in WeeChat)
|
||||
** _totp_: Time-based One-Time Password (TOTP) used as secondary authentication
|
||||
factor, in addition to the password
|
||||
(option _relay.network.totp_secret_ in WeeChat)
|
||||
_(WeeChat ≥ 2.4)_
|
||||
** _compression_: compression type:
|
||||
*** _zlib_: enable _zlib_ compression for messages sent by _relay_
|
||||
(enabled by default if _relay_ supports _zlib_ compression)
|
||||
@@ -134,6 +138,9 @@ init password=mypass
|
||||
# initialize with commas in the password (WeeChat ≥ 1.6)
|
||||
init password=mypass\,with\,commas
|
||||
|
||||
# initialize with password and TOTP (WeeChat ≥ 2.4)
|
||||
init password=mypass,totp=123456
|
||||
|
||||
# initialize and disable compression
|
||||
init password=mypass,compression=off
|
||||
----
|
||||
@@ -1339,7 +1346,7 @@ Objects are identified by 3 letters, called _type_. Following types are used:
|
||||
| chr | Signed char | 1 byte
|
||||
| int | Signed integer | 4 bytes
|
||||
| lon | Signed long integer | 1 byte + length of integer as string
|
||||
| str | String | 4 bytes + length of string (without final _\0_)
|
||||
| str | String | 4 bytes + length of string (without final `\0`)
|
||||
| buf | Buffer of bytes | 4 bytes + length of data
|
||||
| ptr | Pointer | 1 byte + length of pointer as string
|
||||
| tim | Time | 1 byte + length of time as string
|
||||
@@ -1409,7 +1416,7 @@ length '-' '1' '2' '3' '4' '5' '6' '7' '8' '9' '0'
|
||||
[[object_string]]
|
||||
==== String
|
||||
|
||||
A string is a length (integer on 4 bytes) + content of string (without final _\0_).
|
||||
A string is a length (integer on 4 bytes) + content of string (without final `\0`).
|
||||
|
||||
Example:
|
||||
|
||||
|
||||
@@ -109,7 +109,7 @@ According to your Linux distribution:
|
||||
|
||||
* Debian: https://weechat.org/download/debian
|
||||
* Gentoo: https://weechat.org/download
|
||||
* ArchLinux: PKGBUILD from http://aur.archlinux.org/
|
||||
* ArchLinux: PKGBUILD from https://aur.archlinux.org/
|
||||
* other: we don't know! Eheh.
|
||||
|
||||
|
||||
|
||||
+58
-23
@@ -31,13 +31,13 @@ Main features are:
|
||||
* small, fast and light
|
||||
* customizable and extensible with plugins and scripts
|
||||
* compliant with IRC RFCs
|
||||
http://tools.ietf.org/html/rfc1459[1459],
|
||||
http://tools.ietf.org/html/rfc2810[2810],
|
||||
http://tools.ietf.org/html/rfc2811[2811],
|
||||
http://tools.ietf.org/html/rfc2812[2812] and
|
||||
http://tools.ietf.org/html/rfc2813[2813]
|
||||
https://tools.ietf.org/html/rfc1459[1459],
|
||||
https://tools.ietf.org/html/rfc2810[2810],
|
||||
https://tools.ietf.org/html/rfc2811[2811],
|
||||
https://tools.ietf.org/html/rfc2812[2812] and
|
||||
https://tools.ietf.org/html/rfc2813[2813]
|
||||
* IRC proxy and relay for remote interfaces
|
||||
* multi-platform (GNU/Linux, *BSD, MacOS X, Windows and other)
|
||||
* multi-platform (GNU/Linux, *BSD, macOS, Windows and other)
|
||||
* 100% GPL, free software
|
||||
|
||||
WeeChat homepage is here: https://weechat.org/
|
||||
@@ -82,7 +82,7 @@ instructions.
|
||||
WeeChat can be compiled with cmake or autotools (cmake is recommended way).
|
||||
|
||||
[NOTE]
|
||||
On OS X, you can use http://brew.sh/[Homebrew]:
|
||||
On macOS, you can use https://brew.sh/[Homebrew]:
|
||||
`brew install weechat --with-python --with-perl`
|
||||
(for help: `brew info weechat`).
|
||||
|
||||
@@ -515,7 +515,7 @@ Some environment variables are used by WeeChat if they are defined:
|
||||
[width="100%",cols="1m,6",options="header"]
|
||||
|===
|
||||
| Name | Description
|
||||
| WEECHAT_HOME | The WeeChat home (with configuration files, logs, scripts, ...).
|
||||
| WEECHAT_HOME | The WeeChat home (with configuration files, logs, scripts, etc.).
|
||||
| WEECHAT_PASSPHRASE | The passphrase used to decrypt secured data.
|
||||
| WEECHAT_EXTRA_LIBDIR | An extra directory to load plugins (from the "plugins" directory in this path).
|
||||
|===
|
||||
@@ -1637,8 +1637,10 @@ with `/script install buffer_autoset.py` and get help with `/help buffer_autoset
|
||||
| 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:[F1] +
|
||||
kbd:[Ctrl+F1] | Scroll up one page in buflist. | `/bar scroll buflist * -100%`
|
||||
| kbd:[F2] +
|
||||
kbd:[Ctrl+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+←] +
|
||||
@@ -1653,8 +1655,10 @@ with `/script install buffer_autoset.py` and get help with `/help buffer_autoset
|
||||
| kbd:[F8] | Switch to next window. | `/window +1`
|
||||
| kbd:[F9] | Scroll buffer's title on the left. | `+/bar scroll title * -30%+`
|
||||
| kbd:[F10] | Scroll buffer's title on the right. | `+/bar scroll title * +30%+`
|
||||
| kbd:[F11] | Scroll up one page in nicklist. | `/bar scroll nicklist * -100%`
|
||||
| kbd:[F12] | Scroll down one page in nicklist. | `/bar scroll nicklist * +100%`
|
||||
| kbd:[F11] +
|
||||
kbd:[Ctrl+F11] | Scroll up one page in nicklist. | `/bar scroll nicklist * -100%`
|
||||
| kbd:[F12] +
|
||||
kbd:[Ctrl+F12] | Scroll down one page in nicklist. | `/bar scroll nicklist * +100%`
|
||||
| kbd:[Alt+F11] | Go to the beginning of nicklist. | `/bar scroll nicklist * b`
|
||||
| kbd:[Alt+F12] | Go to the end of nicklist. | `/bar scroll nicklist * e`
|
||||
| kbd:[Alt+a] | Switch to next buffer with activity (with priority: highlight, message, other). | `/input jump_smart`
|
||||
@@ -2173,6 +2177,13 @@ on a German channel:
|
||||
/aspell setdict de
|
||||
----
|
||||
|
||||
You can also specify a dictionary for a group of buffers, for example English
|
||||
for all channels on freenode IRC server:
|
||||
|
||||
----
|
||||
/set aspell.dict.irc.freenode en
|
||||
----
|
||||
|
||||
For more information, see the command <<command_aspell_aspell,/aspell>>.
|
||||
|
||||
[[aspell_speller_options]]
|
||||
@@ -2562,7 +2573,7 @@ even if it was OK with versions prior to 0.3.1.
|
||||
|
||||
----
|
||||
$ mkdir -p ~/.weechat/ssl
|
||||
$ wget -O ~/.weechat/ssl/CAs.pem http://www.spi-inc.org/ca/spi-cacert.crt
|
||||
$ wget -O ~/.weechat/ssl/CAs.pem https://www.spi-inc.org/ca/spi-cacert.crt
|
||||
----
|
||||
|
||||
[NOTE]
|
||||
@@ -2606,10 +2617,6 @@ WeeChat supports SASL authentication, using different mechanisms:
|
||||
* _dh-blowfish_: blowfish encrypted password (*insecure*, not recommended)
|
||||
* _dh-aes_: AES encrypted password (*insecure*, not recommended)
|
||||
|
||||
[NOTE]
|
||||
The "gcrypt" library is required when compiling WeeChat in order to use
|
||||
"dh-blowfish" and "dh-aes" mechanisms (see <<dependencies,dependencies>>).
|
||||
|
||||
Options in servers are:
|
||||
|
||||
* _sasl_mechanism_: mechanism to use (see above)
|
||||
@@ -2711,7 +2718,7 @@ And finally, connection to server:
|
||||
----
|
||||
|
||||
For more info about Freenode and TOR:
|
||||
http://freenode.net/kb/answer/chat#accessing-freenode-via-tor
|
||||
https://freenode.net/kb/answer/chat#accessing-freenode-via-tor
|
||||
|
||||
[[irc_smart_filter_join_part_quit]]
|
||||
==== Smart filter for join/part/quit messages
|
||||
@@ -3161,6 +3168,34 @@ It is highly recommended to set a password for relay, with command:
|
||||
|
||||
This password is used for _irc_ and _weechat_ protocols.
|
||||
|
||||
[[relay_totp]]
|
||||
==== TOTP
|
||||
|
||||
TOTP (Time-based One-Time Password) can be used as secondary authentication
|
||||
factor for _weechat_ protocol, in addition to the password.
|
||||
|
||||
This is optional and increases the security level.
|
||||
|
||||
One-time passwords can be generated with applications, for example:
|
||||
|
||||
* FreeOTP:
|
||||
https://play.google.com/store/apps/details?id=org.fedorahosted.freeotp[Android],
|
||||
https://itunes.apple.com/fr/app/freeotp-authenticator/id872559395[iOS]
|
||||
(https://freeotp.github.io/[website])
|
||||
* Google Authenticator:
|
||||
https://play.google.com/store/apps/details?id=com.google.android.apps.authenticator2[Android],
|
||||
https://itunes.apple.com/fr/app/google-authenticator/id388497605[iOS]
|
||||
|
||||
The TOTP secret must be set in WeeChat and the application used to generate
|
||||
one-time passwords.
|
||||
|
||||
It must be a string encoded in base32, with only letters and digits from 2 to 7,
|
||||
for example:
|
||||
|
||||
----
|
||||
/set relay.network.totp_secret "secretpasswordbase32"
|
||||
----
|
||||
|
||||
[[relay_ssl]]
|
||||
==== SSL
|
||||
|
||||
@@ -3237,7 +3272,7 @@ Now you can connect on port 9000 with a remote interface using password
|
||||
[[relay_websocket]]
|
||||
==== WebSocket
|
||||
|
||||
WebSocket protocol (http://tools.ietf.org/html/rfc6455[RFC 6455]) is supported
|
||||
WebSocket protocol (https://tools.ietf.org/html/rfc6455[RFC 6455]) is supported
|
||||
in Relay plugin for all protocols.
|
||||
|
||||
The WebSocket handshake is automatically detected and socket becomes ready for
|
||||
@@ -3480,7 +3515,7 @@ include::autogen/user/php_options.adoc[]
|
||||
=== Trigger
|
||||
|
||||
Trigger is the Swiss Army knife for WeeChat: it can hook many things (signal,
|
||||
modifier, print, ...), change the content of data, and execute one or more
|
||||
modifier, print, etc.), change the content of data, and execute one or more
|
||||
commands. A condition can be used to prevent the trigger to run in some
|
||||
circumstances.
|
||||
|
||||
@@ -3755,7 +3790,7 @@ Matching groups can be used in "replace":
|
||||
Example: use bold for words between "*":
|
||||
|
||||
----
|
||||
/\*(\S+)\*/*${color:bold}${re:1}${color:-bold}*/
|
||||
/\*([^ ]+)\*/*${color:bold}${re:1}${color:-bold}*/
|
||||
----
|
||||
|
||||
Example: default trigger _server_pass_ uses this regular expression to hide
|
||||
@@ -3763,7 +3798,7 @@ password in commands `/server` and `/connect` (chars in passwords are replaced
|
||||
by `+*+`):
|
||||
|
||||
----
|
||||
==^(/(server|connect) .*-(sasl_)?password=)(\S+)(.*)==${re:1}${hide:*,${re:4}}${re:5}
|
||||
==^(/(server|connect) .*-(sasl_)?password=)([^ ]+)(.*)==${re:1}${hide:*,${re:4}}${re:5}
|
||||
----
|
||||
|
||||
[NOTE]
|
||||
@@ -4037,7 +4072,7 @@ string/string).
|
||||
Display URLs in green:
|
||||
|
||||
----
|
||||
/trigger add url_color modifier weechat_print "${tg_notify}" "==\S+://\S+==${color:green}${re:0}${color:reset}=="
|
||||
/trigger add url_color modifier weechat_print "${tg_notify}" "==[a-zA-Z0-9_]+://[^ ]+==${color:green}${re:0}${color:reset}=="
|
||||
----
|
||||
|
||||
[NOTE]
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2012-2018 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2012-2019 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
@@ -14,7 +14,7 @@
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
if(ENABLE_DOC)
|
||||
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2012-2018 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2012-2019 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
@@ -14,7 +14,7 @@
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
docdir = $(datadir)/doc/$(PACKAGE)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2018 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2019 Sébastien Helleu <flashcode@flashtux.org>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
#
|
||||
@@ -14,7 +14,7 @@
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
if(ENABLE_MAN)
|
||||
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2003-2018 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2003-2019 Sébastien Helleu <flashcode@flashtux.org>
|
||||
# Copyright (C) 2006 Julien Louis <ptitlouis@sysif.net>
|
||||
#
|
||||
# This file is part of WeeChat, the extensible chat client.
|
||||
@@ -15,7 +15,7 @@
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
docdir = $(datadir)/doc/$(PACKAGE)
|
||||
|
||||
@@ -112,6 +112,10 @@
|
||||
|
||||
| weechat | term_width | largeur du terminal | -
|
||||
|
||||
| weechat | totp_generate | générer un mot de passe à usage unique basé sur le temps (TOTP) | secret (en base32), horodatage (optionnel, heure courante par défaut), nombre de chiffres (optionnal, entre 4 et 10, 6 par défaut)
|
||||
|
||||
| weechat | totp_validate | valider un mot de passe à usage unique basé sur le temps (TOTP) : 1 si le TOTP est correct, sinon 0 | secret (en base32), mot de passe à usage unique, horodatage (optionnel, heure courante par défaut), nombre de mots de passe avant/après à tester (optionnel, 0 par défaut)
|
||||
|
||||
| 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 | -
|
||||
|
||||
@@ -33,7 +33,8 @@ Les variables suivantes peuvent être utilisées dans ces options :
|
||||
- ${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} : numéro indenté, par exemple " 1" s'il y a entre 10 et 99 tampons ; pour les tampons mélangés, cette variable est définie avec le numéro pour le premier tampon et des espaces pour les tampons suivants avec le même numéro
|
||||
- ${number2} : 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)
|
||||
|
||||
@@ -67,7 +67,7 @@ Les options par défaut peuvent être définies dans l'option exec.command.defau
|
||||
Exemples :
|
||||
/exec -n ls -l /tmp
|
||||
/exec -sh -n ps xu | grep weechat
|
||||
/exec -n -norc url:http://pastebin.com/raw.php?i=xxxxxxxx
|
||||
/exec -n -norc url:https://pastebin.com/raw.php?i=xxxxxxxx
|
||||
/exec -nf -noln links -dump https://weechat.org/files/doc/devel/weechat_user.en.html
|
||||
/exec -o uptime
|
||||
/exec -pipe "/print Uptime de la machine :" uptime
|
||||
|
||||
@@ -25,3 +25,9 @@
|
||||
** type: entier
|
||||
** valeurs: -1 .. 25920000
|
||||
** valeur par défaut: `+0+`
|
||||
|
||||
* [[option_exec.command.shell]] *exec.command.shell*
|
||||
** description: pass:none[shell à utiliser avec la commande "/exec -sh" ; cela peut être seulement le nom du shell s'il est dans le PATH (par exemple "bash") ou le chemin absolu vers le shell (par exemple "/bin/bash")]
|
||||
** type: chaîne
|
||||
** valeurs: toute chaîne
|
||||
** valeur par défaut: `+"sh"+`
|
||||
|
||||
@@ -160,7 +160,7 @@ Exemples :
|
||||
|
||||
server : envoyer à ce serveur (nom interne)
|
||||
cible : pseudo ou nom de canal ('*' = canal courant)
|
||||
type : type de CTCP (exemples : "version", "ping", etc...)
|
||||
type : type de CTCP (exemples : "version", "ping", etc.)
|
||||
arguments : paramètres pour le CTCP
|
||||
|
||||
Exemples :
|
||||
|
||||
@@ -363,7 +363,7 @@
|
||||
** valeur par défaut: `+256+`
|
||||
|
||||
* [[option_irc.look.server_buffer]] *irc.look.server_buffer*
|
||||
** description: pass:none[mélanger les tampons de serveur]
|
||||
** description: pass:none[mélanger les tampons de serveur ; cette option n'a pas d'effet si une disposition est sauvée et qu'elle est en conflit avec cette valeur (voir /help layout)]
|
||||
** type: entier
|
||||
** valeurs: merge_with_core, merge_without_core, independent
|
||||
** valeur par défaut: `+merge_with_core+`
|
||||
@@ -429,7 +429,7 @@
|
||||
** valeur par défaut: `+off+`
|
||||
|
||||
* [[option_irc.network.autoreconnect_delay_growing]] *irc.network.autoreconnect_delay_growing*
|
||||
** description: pass:none[facteur de croissance du délai d'auto-reconnexion au serveur (1 = toujours le même délai, 2 = délai*2 pour chaque tentative, etc...)]
|
||||
** description: pass:none[facteur de croissance du délai d'auto-reconnexion au serveur (1 = toujours le même délai, 2 = délai*2 pour chaque tentative, etc.)]
|
||||
** type: entier
|
||||
** valeurs: 1 .. 100
|
||||
** valeur par défaut: `+2+`
|
||||
|
||||
@@ -111,7 +111,7 @@
|
||||
** valeur par défaut: `+off+`
|
||||
|
||||
* [[option_relay.network.allowed_ips]] *relay.network.allowed_ips*
|
||||
** description: pass:none[expression régulière POSIX étendue avec les IPs autorisées pour le relai (insensible à la casse, utilisez "(?-i)" en début de chaîne pour la rendre insensible à la casse), exemple : "^(123.45.67.89|192.160.*)$"]
|
||||
** description: pass:none[expression régulière POSIX étendue avec les IPs autorisées pour le relai (insensible à la casse, utilisez "(?-i)" en début de chaîne pour la rendre insensible à la casse), exemple : "^(123\.45\.67\.89|192\.160\..*)$"]
|
||||
** type: chaîne
|
||||
** valeurs: toute chaîne
|
||||
** valeur par défaut: `+""+`
|
||||
@@ -164,8 +164,20 @@
|
||||
** valeurs: toute chaîne
|
||||
** valeur par défaut: `+"NORMAL:-VERS-SSL3.0"+`
|
||||
|
||||
* [[option_relay.network.websocket_allowed_origins]] *relay.network.websocket_allowed_origins*
|
||||
** description: pass:none[expression régulière POSIX étendue avec les origines autorisées dans les websockets (insensible à la casse, utilisez "(?-i)" en début de chaîne pour la rendre sensible à la casse), exemple : "^http://(www\.)?example\.(com|org)"]
|
||||
* [[option_relay.network.totp_secret]] *relay.network.totp_secret*
|
||||
** description: pass:none[secret pour la génération du mot de passe à usage unique basé sur le temps (TOTP), encodé en base32 (seulement des lettres et chiffres de 2 à 7) ; il est utilisé comme second facteur d'authentification dans le protocole weechat, en plus du mot de passe, qui ne doit pas être vide (une valeur vide signifie que le TOTP n'est pas requis) (note : le contenu est évalué, voir /help eval)]
|
||||
** type: chaîne
|
||||
** valeurs: toute chaîne
|
||||
** valeur par défaut: `+""+`
|
||||
|
||||
* [[option_relay.network.totp_window]] *relay.network.totp_window*
|
||||
** description: pass:none[nombre de mots de passe à usage unique basés sur le temps à accepter avant et après le mot de passe courant ; 0 = accepter seulement le mot de passe courant, 1 = accepter un mot de passe avant, le courant et un après; 2 = accepter deux mots de passe avant, le courant et deux après, ... ; un nombre élevé réduit le niveau de sécurité (0 ou 1 sont les valeurs recommandées)]
|
||||
** type: entier
|
||||
** valeurs: 0 .. 256
|
||||
** valeur par défaut: `+0+`
|
||||
|
||||
* [[option_relay.network.websocket_allowed_origins]] *relay.network.websocket_allowed_origins*
|
||||
** description: pass:none[expression régulière POSIX étendue avec les origines autorisées dans les websockets (insensible à la casse, utilisez "(?-i)" en début de chaîne pour la rendre sensible à la casse), exemple : "^https?://(www\.)?example\.(com|org)"]
|
||||
** type: chaîne
|
||||
** valeurs: toute chaîne
|
||||
** valeur par défaut: `+""+`
|
||||
|
||||
@@ -57,13 +57,13 @@ Les touches sur le tampon des scripts :
|
||||
alt+v voir le script
|
||||
|
||||
Entrée autorisée sur le tampon des scripts :
|
||||
i/r/l/L/u/h action sur le script (identique aux touches ci-dessus)
|
||||
q fermer le tampon
|
||||
$ rafraîchir le tampon
|
||||
s:x,y trier le tampon en utilisant les clés x et y (voir /help script.look.sort)
|
||||
s: réinitialiser le tri (utiliser le tri par défaut)
|
||||
word(s) filtrer les scripts : recherche du/des mot(s) dans les scripts (description, étiquettes, ...)
|
||||
* supprimer le filtre
|
||||
i/r/l/L/u/A/h/v action sur le script (identique aux touches ci-dessus)
|
||||
q fermer le tampon
|
||||
$ rafraîchir le tampon
|
||||
s:x,y trier le tampon en utilisant les clés x et y (voir /help script.look.sort)
|
||||
s: réinitialiser le tri (utiliser le tri par défaut)
|
||||
word(s) filtrer les scripts : recherche du/des mot(s) dans les scripts (description, étiquettes, ...)
|
||||
* supprimer le filtre
|
||||
|
||||
Actions de la souris sur le tampon des scripts :
|
||||
roulette faire défiler la liste
|
||||
|
||||
@@ -75,7 +75,7 @@ Lorsqu'une fonction de rappel de trigger est appelée, les actions suivantes son
|
||||
|
||||
Exemples (vous pouvez aussi regarder les triggers par défaut avec /trigger listdefault) :
|
||||
ajouter des attributs *gras*, _souligné_ et /italique/ (seulement dans les messages d'utilisateurs) :
|
||||
/trigger add effects modifier weechat_print "${tg_tag_nick}" "==\*(\S+)\*==*${color:bold}${re:1}${color:-bold}*== ==_(\S+)_==_${color:underline}${re:1}${color:-underline}_== ==/(\S+)/==/${color:italic}${re:1}${color:-italic}/"
|
||||
/trigger add effects modifier weechat_print "${tg_tag_nick}" "==\*([^ ]+)\*==*${color:bold}${re:1}${color:-bold}*== ==_([^ ]+)_==_${color:underline}${re:1}${color:-underline}_== ==/([^ ]+)/==/${color:italic}${re:1}${color:-italic}/"
|
||||
cacher la barre de pseudos sur les petits terminaux :
|
||||
/trigger add resize_small signal signal_sigwinch "${info:term_width} < 100" "" "/bar hide nicklist"
|
||||
/trigger add resize_big signal signal_sigwinch "${info:term_width} >= 100" "" "/bar show nicklist"
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user