mirror of
https://github.com/weechat/weechat.git
synced 2026-06-29 22:36:38 +02:00
Compare commits
134 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 7477845205 | |||
| ea139e7fdb | |||
| 2d2d349d3c | |||
| 948caf0857 | |||
| f24538646f | |||
| 1beebdf01e | |||
| 8bb4549494 | |||
| 63902ef52d | |||
| 93775de7ff | |||
| 62944b7168 | |||
| f0001ed670 | |||
| e11f6e3046 | |||
| 68d6f1b415 | |||
| f0685dd1b1 | |||
| 0884c9b33c | |||
| 3938328375 | |||
| 16592fdbbb | |||
| bad8db720e | |||
| 61c5d08320 | |||
| 04162214d4 | |||
| 2fa33b102b | |||
| 1e7232b8c2 | |||
| 608ec9f483 | |||
| 21dca71ee0 | |||
| 7f62985f89 | |||
| 80f103b68a | |||
| 156d855787 | |||
| bf21ca072d | |||
| a3e8163f37 | |||
| ceb579653f | |||
| 39e5b0574c | |||
| 05744f3b61 | |||
| 783aebfd53 | |||
| c411ee475a | |||
| a409080d8b | |||
| b1ae6ad1c6 | |||
| 0957231d30 | |||
| 464d31155a | |||
| 5f1b895f27 | |||
| dfcbb6b058 | |||
| dd133af522 | |||
| befa97ea81 | |||
| a906afc3d7 | |||
| b4215ee466 | |||
| 210e864899 | |||
| 47010dd9c6 | |||
| b6cc5ef70f | |||
| 59ba378eec | |||
| 0bf5a5ae9c | |||
| 4fa62a83f1 | |||
| 067f237ec3 | |||
| fbc022a77a | |||
| c46255b1d0 | |||
| d79e0cbd31 | |||
| 28d79d0c93 | |||
| 478ca22054 | |||
| 1f52101a41 | |||
| 9be225b201 | |||
| 07878046d2 | |||
| 2e07121457 | |||
| f8b8669d2e | |||
| f3426f4388 | |||
| ad64fd16e1 | |||
| 99bb662bc5 | |||
| 8bc5725278 | |||
| 8897e04c0d | |||
| 4744c3fa41 | |||
| ad7d16a5b3 | |||
| b8d69307ee | |||
| 015ec85f10 | |||
| acbf021330 | |||
| 93cd05bdd8 | |||
| 5eeb98e40c | |||
| f6bc6fec2e | |||
| c463b84421 | |||
| 6461aefcae | |||
| 643376fc1d | |||
| 26c0b1270f | |||
| ccaf99ff40 | |||
| 0fdf2c13a5 | |||
| fd592c2323 | |||
| 82a92bd4e9 | |||
| 162ca1fade | |||
| e56c7e8c9b | |||
| 5e9efeb2e3 | |||
| 965173ded5 | |||
| 768c0d9acc | |||
| 15ce4b2be5 | |||
| 789fa972f8 | |||
| 179b00b4a3 | |||
| 45fc8f1012 | |||
| c99dd0f611 | |||
| ab81128a7a | |||
| f9b6f359dd | |||
| a9a1066e63 | |||
| d540ea91ae | |||
| b1ab2a0c50 | |||
| 33ee803609 | |||
| 1d6714e428 | |||
| 98b5e90469 | |||
| b0ad684f6b | |||
| ca73fabc72 | |||
| f15a24b2ec | |||
| e5f963f78a | |||
| 087d4c7af3 | |||
| 07a8c4a0ec | |||
| eb2535982c | |||
| fe90a5ed4e | |||
| 60c61c3962 | |||
| 0d9b7ec954 | |||
| 9178156354 | |||
| 866a29c7e6 | |||
| 95cbf3a48b | |||
| b6c304ac87 | |||
| 31d0742aed | |||
| 7d24dd5a6c | |||
| 6c114bbba7 | |||
| 4b90549b86 | |||
| 04fd587fff | |||
| eb216de9b8 | |||
| 4d8785289d | |||
| 4ea193c981 | |||
| 7aa82db471 | |||
| f065b43b71 | |||
| 96d1276446 | |||
| 5988d17d2d | |||
| 980d26956f | |||
| 5910bcf3c8 | |||
| c7b242ffd9 | |||
| bf1462d7a1 | |||
| f5f6cf028c | |||
| d392b406c5 | |||
| 08719963de | |||
| d12e29620b |
+6
-4
@@ -8,11 +8,11 @@ compiler:
|
|||||||
|
|
||||||
env:
|
env:
|
||||||
- BUILDTOOL="cmake" BUILDARGS=""
|
- BUILDTOOL="cmake" BUILDARGS=""
|
||||||
# - BUILDTOOL="cmake" BUILDARGS="-DENABLE_PYTHON3=ON"
|
- BUILDTOOL="cmake" BUILDARGS="-DENABLE_PYTHON2=ON"
|
||||||
- BUILDTOOL="cmake" BUILDARGS="-DENABLE_GNUTLS=OFF"
|
- BUILDTOOL="cmake" BUILDARGS="-DENABLE_GNUTLS=OFF"
|
||||||
- BUILDTOOL="cmake" BUILDARGS="-DENABLE_CODE_COVERAGE=ON" CODECOVERAGE="1"
|
- BUILDTOOL="cmake" BUILDARGS="-DENABLE_CODE_COVERAGE=ON" CODECOVERAGE="1"
|
||||||
- BUILDTOOL="autotools" BUILDARGS=""
|
- BUILDTOOL="autotools" BUILDARGS=""
|
||||||
# - BUILDTOOL="autotools" BUILDARGS="--enable-python3"
|
- BUILDTOOL="autotools" BUILDARGS="--enable-python2"
|
||||||
- BUILDTOOL="autotools" BUILDARGS="--disable-gnutls"
|
- BUILDTOOL="autotools" BUILDARGS="--disable-gnutls"
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
@@ -22,14 +22,16 @@ matrix:
|
|||||||
env: BUILDTOOL="cmake" BUILDARGS="-DENABLE_CODE_COVERAGE=ON" CODECOVERAGE="1"
|
env: BUILDTOOL="cmake" BUILDARGS="-DENABLE_CODE_COVERAGE=ON" CODECOVERAGE="1"
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
# Workaround https://github.com/travis-ci/travis-ci/issues/5326
|
- rm -rf "$HOME/.pyenv"
|
||||||
- export PATH=$(echo $PATH | tr ':' "\n" | sed '/\/opt\/python/d' | tr "\n" ":" | sed "s|::|:|g")
|
- sudo rm -rf /opt/pyenv
|
||||||
- echo 'APT::Install-Recommends "false";' | sudo tee -a /etc/apt/apt.conf
|
- echo 'APT::Install-Recommends "false";' | sudo tee -a /etc/apt/apt.conf
|
||||||
- travis_retry sudo apt-get update -qq
|
- travis_retry sudo apt-get update -qq
|
||||||
- travis_retry sudo apt-get -y install devscripts equivs python-pip libenchant-dev autopoint cmake lcov pkg-config libncursesw5-dev gem2deb libperl-dev python-dev python3-dev libaspell-dev liblua5.3-dev tcl8.6-dev guile-2.0-dev libv8-dev libcurl4-gnutls-dev libgcrypt20-dev libgnutls-dev zlib1g-dev curl libcpputest-dev php7.0-dev libphp7.0-embed
|
- travis_retry sudo apt-get -y install devscripts equivs python-pip libenchant-dev autopoint cmake lcov pkg-config libncursesw5-dev gem2deb libperl-dev python-dev python3-dev libaspell-dev liblua5.3-dev tcl8.6-dev guile-2.0-dev libv8-dev libcurl4-gnutls-dev libgcrypt20-dev libgnutls-dev zlib1g-dev curl libcpputest-dev php7.0-dev libphp7.0-embed
|
||||||
- travis_retry sudo gem install asciidoctor
|
- travis_retry sudo gem install asciidoctor
|
||||||
- travis_retry sudo -H pip install --ignore-installed msgcheck pylint
|
- travis_retry sudo -H pip install --ignore-installed msgcheck pylint
|
||||||
- phpenv local system
|
- phpenv local system
|
||||||
|
# work around broken travis environment variables, see https://github.com/travis-ci/travis-ci/issues/5301
|
||||||
|
- unset PYTHON_CFLAGS
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- ./tools/build-test.sh
|
- ./tools/build-test.sh
|
||||||
|
|||||||
@@ -36,6 +36,7 @@ Alphabetically:
|
|||||||
* Dominik Honnef
|
* Dominik Honnef
|
||||||
* Dominique Martinet
|
* Dominique Martinet
|
||||||
* Eduardo Elias
|
* Eduardo Elias
|
||||||
|
* Eli Schwartz
|
||||||
* Elizabeth Myers (Elizacat)
|
* Elizabeth Myers (Elizacat)
|
||||||
* Elián Hanisch (m4v)
|
* Elián Hanisch (m4v)
|
||||||
* Emanuele Giaquinta
|
* Emanuele Giaquinta
|
||||||
@@ -54,9 +55,11 @@ Alphabetically:
|
|||||||
* Jakub Jirutka
|
* Jakub Jirutka
|
||||||
* Jason A. Donenfeld (zx2c4)
|
* Jason A. Donenfeld (zx2c4)
|
||||||
* JD Horelick (jdhore)
|
* JD Horelick (jdhore)
|
||||||
|
* jesopo
|
||||||
* Jim Ramsay (lack)
|
* Jim Ramsay (lack)
|
||||||
* Jiri Golembiovsky (GolemJ)
|
* Jiri Golembiovsky (GolemJ)
|
||||||
* Joey Pabalinas (alyptik)
|
* Joey Pabalinas (alyptik)
|
||||||
|
* Johan Rylander
|
||||||
* Jos Ahrens
|
* Jos Ahrens
|
||||||
* Joseph Kichline
|
* Joseph Kichline
|
||||||
* Juan Francisco Cantero Hurtado
|
* Juan Francisco Cantero Hurtado
|
||||||
|
|||||||
+2
-2
@@ -28,7 +28,7 @@ set(CMAKE_VERBOSE_MAKEFILE OFF)
|
|||||||
set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake ${CMAKE_MODULE_PATH})
|
set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake ${CMAKE_MODULE_PATH})
|
||||||
set(CMAKE_SKIP_RPATH ON)
|
set(CMAKE_SKIP_RPATH ON)
|
||||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fsigned-char -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")
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsigned-char -Wall -Wextra")
|
||||||
|
|
||||||
# version
|
# version
|
||||||
execute_process(COMMAND ${CMAKE_SOURCE_DIR}/version.sh devel-major OUTPUT_VARIABLE VERSION_MAJOR)
|
execute_process(COMMAND ${CMAKE_SOURCE_DIR}/version.sh devel-major OUTPUT_VARIABLE VERSION_MAJOR)
|
||||||
@@ -102,7 +102,7 @@ option(ENABLE_SCRIPT "Enable Script plugin (script manager)" ON)
|
|||||||
option(ENABLE_SCRIPTS "Enable script plugins (perl, python, ...)" ON)
|
option(ENABLE_SCRIPTS "Enable script plugins (perl, python, ...)" ON)
|
||||||
option(ENABLE_PERL "Enable Perl scripting language" ON)
|
option(ENABLE_PERL "Enable Perl scripting language" ON)
|
||||||
option(ENABLE_PYTHON "Enable Python scripting language" ON)
|
option(ENABLE_PYTHON "Enable Python scripting language" ON)
|
||||||
option(ENABLE_PYTHON3 "Use Python 3.x if found (NOT recommended because many \"official\" scripts won't work)" OFF)
|
option(ENABLE_PYTHON2 "Use Python 2 instead of Python 3" OFF)
|
||||||
option(ENABLE_RUBY "Enable Ruby scripting language" ON)
|
option(ENABLE_RUBY "Enable Ruby scripting language" ON)
|
||||||
option(ENABLE_LUA "Enable Lua scripting language" ON)
|
option(ENABLE_LUA "Enable Lua scripting language" ON)
|
||||||
option(ENABLE_TCL "Enable Tcl scripting language" ON)
|
option(ENABLE_TCL "Enable Tcl scripting language" ON)
|
||||||
|
|||||||
+65
-17
@@ -15,6 +15,54 @@ https://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes]
|
|||||||
(file _ReleaseNotes.adoc_ in sources).
|
(file _ReleaseNotes.adoc_ in sources).
|
||||||
|
|
||||||
|
|
||||||
|
[[v2.6]]
|
||||||
|
== Version 2.6 (2019-09-08)
|
||||||
|
|
||||||
|
New features::
|
||||||
|
|
||||||
|
* core: add support of 32767 color pairs (issue #1343, issue #1345)
|
||||||
|
* core: add option "close" in command /window (issue #853)
|
||||||
|
* api: add infos "term_colors" and "term_color_pairs"
|
||||||
|
* api: add function list_user_data (issue #666)
|
||||||
|
* api: add argument "strip_items" in function string_split
|
||||||
|
* buflist: add infolist "buflist" with list of buffer pointers (issue #1375)
|
||||||
|
* exec: evaluate option exec.command.shell, change default value to "${env:SHELL}" (issue #1356)
|
||||||
|
* fset: add filters "h=xxx" and "he=xxx" to filter options by description (translated or in English)
|
||||||
|
* irc: make command char optional in server option "command" (issue #615)
|
||||||
|
* irc: add variables "user_max_length" and "host_max_length" in server structure (issue #1387)
|
||||||
|
|
||||||
|
Bug fixes::
|
||||||
|
|
||||||
|
* core: use fixed-width integer for computing nick and hashtable DJB2 key hashes, add values "djb2_32" and "sum_32" for option weechat.look.nick_color_hash (issue #1394)
|
||||||
|
* core: create or update option weechat.notify.xxx when function buffer_set is called with "notify" property (issue #1390)
|
||||||
|
* core: fix memory leak in case of error when building content of bar item for display (issue #1384)
|
||||||
|
* core: send command line parameter to plugins only if the name starts with the plugin name followed by a colon
|
||||||
|
* core: auto disable upgrade process (command line option "--upgrade") if the file weechat.upgrade is not found
|
||||||
|
* core: replace newlines by spaces in argument "completion" of function hook_command (issue #538)
|
||||||
|
* core: replace char "," by "~" in color codes to separate foreground from background (issue #1264)
|
||||||
|
* alias: remove default aliases /AME and /AMSG (issue #1355)
|
||||||
|
* buflist: use extra variables in option buflist.look.display_conditions (issue #1393)
|
||||||
|
* irc: fix parsing of messages 346 (invite list), 348 (exception list), 367 (ban list) and 728 (quiet list) when there is a colon before the timestamp (issue #1396)
|
||||||
|
* irc: fix memory leak when removing a server
|
||||||
|
* irc: fix length of user/nick/host in split of messages (issue #1387)
|
||||||
|
* irc: quote NICK command argument sent to the server only if there's a ":" in the nick (issue #1376, issue #1319)
|
||||||
|
* irc: return all arguments in the PONG response to a PING (issue #1369)
|
||||||
|
* irc: disable server reconnection when the server buffer is closed (issue #236)
|
||||||
|
* irc: strip spaces at beginning/end of addresses in server option "addresses" (issue #195)
|
||||||
|
* irc: fix display of enabled/disabled client capabilities received in command CAP ACK (issue #151)
|
||||||
|
* ruby: fix conversion of big integers on 32bit architecture (issue #1395)
|
||||||
|
|
||||||
|
Tests::
|
||||||
|
|
||||||
|
* unit: add tests on IRC ignore, message and nick functions
|
||||||
|
|
||||||
|
Build::
|
||||||
|
|
||||||
|
* core: fix compilation with autotools on FreeBSD 12.0
|
||||||
|
* debian: disable Javascript plugin on Debian Buster/Bullseye (issue #1374)
|
||||||
|
* python: compile with Python 3 by default
|
||||||
|
* python: use pkg-config to detect Python (issue #1382)
|
||||||
|
|
||||||
[[v2.5]]
|
[[v2.5]]
|
||||||
== Version 2.5 (2019-06-06)
|
== Version 2.5 (2019-06-06)
|
||||||
|
|
||||||
@@ -432,7 +480,7 @@ Bug fixes::
|
|||||||
Build::
|
Build::
|
||||||
|
|
||||||
* core, irc, xfer: fix compilation on macOS (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)
|
* core: add build of xz package with make dist (CMake)
|
||||||
* tests: fix compilation of tests on FreeBSD 11.0
|
* tests: fix compilation of tests on FreeBSD 11.0
|
||||||
|
|
||||||
[[v1.6]]
|
[[v1.6]]
|
||||||
@@ -618,7 +666,7 @@ Bug fixes::
|
|||||||
|
|
||||||
Documentation::
|
Documentation::
|
||||||
|
|
||||||
* replace PREFIX with CMAKE_INSTALL_PREFIX in cmake instructions (issue #354)
|
* replace PREFIX with CMAKE_INSTALL_PREFIX in CMake instructions (issue #354)
|
||||||
|
|
||||||
Build::
|
Build::
|
||||||
|
|
||||||
@@ -697,7 +745,7 @@ Bug fixes::
|
|||||||
|
|
||||||
Build::
|
Build::
|
||||||
|
|
||||||
* core: fix random error when creating symbolic link weechat-curses on make install with cmake (bug #40313)
|
* core: fix random error when creating symbolic link weechat-curses on make install with CMake (bug #40313)
|
||||||
|
|
||||||
[[v1.1]]
|
[[v1.1]]
|
||||||
== Version 1.1 (2015-01-11)
|
== Version 1.1 (2015-01-11)
|
||||||
@@ -761,7 +809,7 @@ Bug fixes::
|
|||||||
Build::
|
Build::
|
||||||
|
|
||||||
* core: fix compilation of man pages with autotools in source directory
|
* core: fix compilation of man pages with autotools in source directory
|
||||||
* core: fix compilation of plugins with cmake >= 3.1 (issue #287)
|
* core: fix compilation of plugins with CMake >= 3.1 (issue #287)
|
||||||
* lua: add detection of Lua 5.2
|
* lua: add detection of Lua 5.2
|
||||||
* python: fix Python detection with Homebrew (issue #217)
|
* python: fix Python detection with Homebrew (issue #217)
|
||||||
* tests: fix compilation of tests with clang (issue #275)
|
* tests: fix compilation of tests with clang (issue #275)
|
||||||
@@ -949,7 +997,7 @@ Bug fixes::
|
|||||||
|
|
||||||
Build::
|
Build::
|
||||||
|
|
||||||
* core: fix cmake warning CMP0007 on "make uninstall" (bug #41528)
|
* core: fix CMake warning CMP0007 on "make uninstall" (bug #41528)
|
||||||
* core: use glibtoolize on macOS (autotools) (issue #22)
|
* core: use glibtoolize on macOS (autotools) (issue #22)
|
||||||
* ruby: add detection of Ruby 2.1
|
* ruby: add detection of Ruby 2.1
|
||||||
|
|
||||||
@@ -1138,8 +1186,8 @@ Documentation::
|
|||||||
|
|
||||||
Build::
|
Build::
|
||||||
|
|
||||||
* core: add CA_FILE option in cmake and configure to setup default value of option weechat.network.gnutls_ca_file (default is "/etc/ssl/certs/ca-certificates.crt") (task #12725)
|
* core: add CA_FILE option in CMake and configure to setup default value of option weechat.network.gnutls_ca_file (default is "/etc/ssl/certs/ca-certificates.crt") (task #12725)
|
||||||
* core: disable build of doc by default, add cmake option ENABLE_MAN to compile man page (off by default)
|
* core: disable build of doc by default, add CMake option ENABLE_MAN to compile man page (off by default)
|
||||||
* xfer: fix compilation on OpenBSD (bug #39071)
|
* xfer: fix compilation on OpenBSD (bug #39071)
|
||||||
|
|
||||||
[[v0.4.1]]
|
[[v0.4.1]]
|
||||||
@@ -1221,7 +1269,7 @@ Bug fixes::
|
|||||||
Build::
|
Build::
|
||||||
|
|
||||||
* core: install icon file (patch #7972)
|
* core: install icon file (patch #7972)
|
||||||
* core: fix detection of iconv with cmake on macOS (bug #38321)
|
* core: fix detection of iconv with CMake on macOS (bug #38321)
|
||||||
* guile: fix compilation with Guile 2.0
|
* guile: fix compilation with Guile 2.0
|
||||||
* python: fix detection of Python on Ubuntu Raring
|
* python: fix detection of Python on Ubuntu Raring
|
||||||
* script: fix compilation on GNU/Hurd (patch #7977)
|
* script: fix compilation on GNU/Hurd (patch #7977)
|
||||||
@@ -1309,7 +1357,7 @@ Bug fixes::
|
|||||||
Build::
|
Build::
|
||||||
|
|
||||||
* core: add git version in build, display it in "weechat-curses --help" and /version
|
* 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)
|
* core: stop CMake if gcrypt lib is not found (bug #37671)
|
||||||
* guile: fix detection of Guile in configure
|
* guile: fix detection of Guile in configure
|
||||||
* script: fix compilation on macOS
|
* script: fix compilation on macOS
|
||||||
|
|
||||||
@@ -1407,10 +1455,10 @@ Documentation::
|
|||||||
|
|
||||||
Build::
|
Build::
|
||||||
|
|
||||||
* core: move the set of cmake policy CMP0003 in directory src (so it applies to all plugins) (bug #37311)
|
* core: move the set of CMake policy CMP0003 in directory src (so it applies to all plugins) (bug #37311)
|
||||||
* core: fix names of cache variables in configure.in (bug #36971)
|
* core: fix names of cache variables in configure.in (bug #36971)
|
||||||
* core: add cmake option "MANDIR" (bug #36776)
|
* core: add CMake option "MANDIR" (bug #36776)
|
||||||
* guile: fix path of Guile include dirs in cmake build (patch #7790)
|
* guile: fix path of Guile include dirs in CMake build (patch #7790)
|
||||||
* lua: add support of Lua 5.2
|
* lua: add support of Lua 5.2
|
||||||
* python: fix detection of Python (first try "python2.x" and then "python") (bug #36835)
|
* python: fix detection of Python (first try "python2.x" and then "python") (bug #36835)
|
||||||
* ruby: add detection of Ruby 1.9.3
|
* ruby: add detection of Ruby 1.9.3
|
||||||
@@ -1561,8 +1609,8 @@ Documentation::
|
|||||||
|
|
||||||
Build::
|
Build::
|
||||||
|
|
||||||
* core: add library "pthread" in cmake file for link on OpenBSD
|
* 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: 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 under OpenBSD 5.0 (lib utf8 not needed any more) (bug #34727)
|
||||||
* core: fix compilation error with "pid_t" on macOS (bug #34639)
|
* core: fix compilation error with "pid_t" on macOS (bug #34639)
|
||||||
|
|
||||||
@@ -1801,7 +1849,7 @@ Bug fixes::
|
|||||||
|
|
||||||
Build::
|
Build::
|
||||||
|
|
||||||
* core: add support of Python 2.7 in cmake and configure (debian #606989)
|
* core: add support of Python 2.7 in CMake and configure (debian #606989)
|
||||||
* ruby: fix compilation with Ruby 1.9.2 (patch #7316)
|
* ruby: fix compilation with Ruby 1.9.2 (patch #7316)
|
||||||
|
|
||||||
[[v0.3.3]]
|
[[v0.3.3]]
|
||||||
@@ -1980,7 +2028,7 @@ Bug fixes::
|
|||||||
|
|
||||||
Build::
|
Build::
|
||||||
|
|
||||||
* core: fix cmake directories: let user customize lib, share, locale and include directories (patch #6922)
|
* core: fix CMake directories: let user customize lib, share, locale and include directories (patch #6922)
|
||||||
* ruby: add support of Ruby >= 1.9.1 (patch #6989)
|
* ruby: add support of Ruby >= 1.9.1 (patch #6989)
|
||||||
|
|
||||||
[[v0.3.0]]
|
[[v0.3.0]]
|
||||||
@@ -2157,7 +2205,7 @@ Bug fixes::
|
|||||||
|
|
||||||
Build::
|
Build::
|
||||||
|
|
||||||
* add cmake for weechat compilation (patch #5943)
|
* add CMake for weechat compilation (patch #5943)
|
||||||
|
|
||||||
[[v0.2.4]]
|
[[v0.2.4]]
|
||||||
== Version 0.2.4 (2007-03-29)
|
== Version 0.2.4 (2007-03-29)
|
||||||
|
|||||||
+38
-3
@@ -17,6 +17,41 @@ https://weechat.org/files/changelog/ChangeLog-devel.html[ChangeLog]
|
|||||||
(file _ChangeLog.adoc_ in sources).
|
(file _ChangeLog.adoc_ in sources).
|
||||||
|
|
||||||
|
|
||||||
|
[[v2.6]]
|
||||||
|
== Version 2.6 (2019-09-08)
|
||||||
|
|
||||||
|
[[v2.6_python3_default]]
|
||||||
|
=== Python 3 by default
|
||||||
|
|
||||||
|
Python 3 is now used by default to compile the "python" plugin (no fallback
|
||||||
|
on Python 2).
|
||||||
|
|
||||||
|
The CMake option `ENABLE_PYTHON3` has been renamed to `ENABLE_PYTHON2`
|
||||||
|
(configure option `--enable-python2`). If this option is enabled, the "python"
|
||||||
|
plugin is built with Python 2 (no fallback on Python 3).
|
||||||
|
|
||||||
|
[[v2.6_nick_colors]]
|
||||||
|
=== Nick colors
|
||||||
|
|
||||||
|
The function to compute the colors based on the nick letters has been fixed
|
||||||
|
(now the function uses only a 64-bit integer even if the underlying architecture
|
||||||
|
is 32-bit).
|
||||||
|
|
||||||
|
If you're running WeeChat on a 32-bit architecture and want to keep same colors
|
||||||
|
as the previous releases, you can use one of the two new hash values.
|
||||||
|
|
||||||
|
If you were using "djb2", you can switch to "djb2_32":
|
||||||
|
|
||||||
|
----
|
||||||
|
/set weechat.look.nick_color_hash djb2_32
|
||||||
|
----
|
||||||
|
|
||||||
|
If you were using "sum", you can switch to "sum_32":
|
||||||
|
|
||||||
|
----
|
||||||
|
/set weechat.look.nick_color_hash sum_32
|
||||||
|
----
|
||||||
|
|
||||||
[[v2.5]]
|
[[v2.5]]
|
||||||
== Version 2.5 (2019-06-06)
|
== Version 2.5 (2019-06-06)
|
||||||
|
|
||||||
@@ -1076,17 +1111,17 @@ accordingly).
|
|||||||
|
|
||||||
[NOTE]
|
[NOTE]
|
||||||
For packagers: you should create the link `weechat-curses` -> `weechat` if it's
|
For packagers: you should create the link `weechat-curses` -> `weechat` if it's
|
||||||
not automatically created in the package (both cmake and configure are creating
|
not automatically created in the package (both CMake and configure are creating
|
||||||
this link on make install).
|
this link on make install).
|
||||||
|
|
||||||
[[v0.4.2_man_page_documentation]]
|
[[v0.4.2_man_page_documentation]]
|
||||||
=== Man page / documentation
|
=== Man page / documentation
|
||||||
|
|
||||||
Documentation is not built by default any more, you have to use option
|
Documentation is not built by default any more, you have to use option
|
||||||
`-DENABLE_DOC=ON` in cmake to enable it.
|
`-DENABLE_DOC=ON` in cmake command to enable it.
|
||||||
|
|
||||||
The man page is now built with asciidoc and translated in several
|
The man page is now built with asciidoc and translated in several
|
||||||
languages. A new cmake option `ENABLE_MAN` has been added to compile man page
|
languages. A new CMake option `ENABLE_MAN` has been added to compile man page
|
||||||
(`OFF` by default).
|
(`OFF` by default).
|
||||||
|
|
||||||
[[v0.4.2_aspell_colors]]
|
[[v0.4.2_aspell_colors]]
|
||||||
|
|||||||
@@ -23,9 +23,8 @@ endif()
|
|||||||
|
|
||||||
find_path(NCURSES_INCLUDE_PATH
|
find_path(NCURSES_INCLUDE_PATH
|
||||||
NAMES ncurses.h curses.h
|
NAMES ncurses.h curses.h
|
||||||
PATHS /usr/include/ncursesw /usr/include/ncurses /usr/include
|
PATH_SUFFIXES ncursesw ncurses
|
||||||
/usr/local/include/ncursesw /usr/local/include/ncurses /usr/local/include
|
PATHS /usr/include /usr/local/include /usr/pkg/include
|
||||||
/usr/pkg/include/ncursesw /usr/pkg/include/ncurses /usr/pkg/include
|
|
||||||
)
|
)
|
||||||
|
|
||||||
find_library(NCURSESW_LIBRARY
|
find_library(NCURSESW_LIBRARY
|
||||||
|
|||||||
+7
-73
@@ -24,80 +24,14 @@
|
|||||||
# code sets the following variables:
|
# code sets the following variables:
|
||||||
#
|
#
|
||||||
# PYTHON_EXECUTABLE = full path to the python binary
|
# PYTHON_EXECUTABLE = full path to the python binary
|
||||||
# PYTHON_INCLUDE_PATH = path to where python.h can be found
|
# PYTHON_INCLUDE_DIRS = path to where python.h can be found
|
||||||
# PYTHON_LIBRARY = path to where libpython.so* can be found
|
# PYTHON_LIBRARIES = path to where libpython.so* can be found
|
||||||
# PYTHON_LFLAGS = python compiler options for linking
|
# PYTHON_LDFLAGS = python compiler options for linking
|
||||||
|
|
||||||
if(PYTHON_FOUND)
|
include(FindPkgConfig)
|
||||||
# Already in cache, be silent
|
|
||||||
set(PYTHON_FIND_QUIETLY TRUE)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
if(ENABLE_PYTHON3)
|
if(ENABLE_PYTHON2)
|
||||||
find_program(PYTHON_EXECUTABLE
|
pkg_check_modules(PYTHON python2)
|
||||||
NAMES python3.7 python3.6 python3.5 python3.4 python3.3 python3.2 python3.1 python3.0 python3 python2.7 python2.6 python2.5 python
|
|
||||||
PATHS /usr/bin /usr/local/bin /usr/pkg/bin
|
|
||||||
)
|
|
||||||
else()
|
else()
|
||||||
find_program(PYTHON_EXECUTABLE
|
pkg_check_modules(PYTHON python3)
|
||||||
NAMES python2.7 python2.6 python2.5 python
|
|
||||||
PATHS /usr/bin /usr/local/bin /usr/pkg/bin
|
|
||||||
)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
if(PYTHON_EXECUTABLE)
|
|
||||||
execute_process(
|
|
||||||
COMMAND ${PYTHON_EXECUTABLE} -c "import sys; from distutils.sysconfig import *; sys.stdout.write(get_config_var('INCLUDEPY'))"
|
|
||||||
OUTPUT_VARIABLE PYTHON_INC_DIR
|
|
||||||
)
|
|
||||||
|
|
||||||
execute_process(
|
|
||||||
COMMAND ${PYTHON_EXECUTABLE} -c "import sys; from distutils.sysconfig import *; sys.stdout.write(get_config_var('LIBPL'))"
|
|
||||||
OUTPUT_VARIABLE PYTHON_POSSIBLE_LIB_PATH
|
|
||||||
)
|
|
||||||
|
|
||||||
execute_process(
|
|
||||||
COMMAND ${PYTHON_EXECUTABLE} -c "import sys; from distutils.sysconfig import *; sys.stdout.write(get_config_var('LIBS') + ' ' + get_config_var('LINKFORSHARED'))"
|
|
||||||
OUTPUT_VARIABLE PYTHON_LFLAGS
|
|
||||||
)
|
|
||||||
|
|
||||||
find_path(PYTHON_INCLUDE_PATH
|
|
||||||
NAMES Python.h
|
|
||||||
HINTS ${PYTHON_INC_DIR}
|
|
||||||
)
|
|
||||||
if(ENABLE_PYTHON3)
|
|
||||||
find_library(PYTHON_LIBRARY
|
|
||||||
NAMES python3.7 python3.6 python3.5 python3.4 python3.3 python3.2 python3.1 python3.0 python3 python2.7 python2.6 python2.5 python
|
|
||||||
HINTS ${PYTHON_POSSIBLE_LIB_PATH}
|
|
||||||
)
|
|
||||||
else()
|
|
||||||
find_library(PYTHON_LIBRARY
|
|
||||||
NAMES python2.7 python2.6 python2.5 python
|
|
||||||
HINTS ${PYTHON_POSSIBLE_LIB_PATH}
|
|
||||||
)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
if(PYTHON_LIBRARY AND PYTHON_INCLUDE_PATH)
|
|
||||||
execute_process(
|
|
||||||
COMMAND ${PYTHON_EXECUTABLE} -c "import sys; sys.stdout.write(sys.version[:3])"
|
|
||||||
OUTPUT_VARIABLE PYTHON_VERSION
|
|
||||||
)
|
|
||||||
execute_process(
|
|
||||||
COMMAND ${PYTHON_EXECUTABLE} -c "import sys; sys.stdout.write(str(sys.version_info < (2,5)))"
|
|
||||||
OUTPUT_VARIABLE PYTHON_OLD_VERSION
|
|
||||||
)
|
|
||||||
if(${PYTHON_OLD_VERSION} STREQUAL "True")
|
|
||||||
message("Python >= 2.5 is needed to build python plugin, version found: ${PYTHON_VERSION}")
|
|
||||||
else()
|
|
||||||
set(PYTHON_FOUND TRUE)
|
|
||||||
endif()
|
|
||||||
endif()
|
|
||||||
|
|
||||||
mark_as_advanced(
|
|
||||||
PYTHON_EXECUTABLE
|
|
||||||
PYTHON_INCLUDE_PATH
|
|
||||||
PYTHON_LIBRARY
|
|
||||||
PYTHON_LFLAGS
|
|
||||||
)
|
|
||||||
|
|
||||||
endif()
|
endif()
|
||||||
|
|||||||
+8
-54
@@ -37,6 +37,7 @@ AC_PROG_MAKE_SET
|
|||||||
AC_GNU_SOURCE
|
AC_GNU_SOURCE
|
||||||
AC_PROG_LN_S
|
AC_PROG_LN_S
|
||||||
AM_PROG_LIBTOOL
|
AM_PROG_LIBTOOL
|
||||||
|
PKG_PROG_PKG_CONFIG
|
||||||
|
|
||||||
# Files to generate
|
# Files to generate
|
||||||
AC_CONFIG_FILES([weechat.pc])
|
AC_CONFIG_FILES([weechat.pc])
|
||||||
@@ -153,7 +154,7 @@ AC_ARG_ENABLE(script, [ --disable-script turn off Script plugin (d
|
|||||||
AC_ARG_ENABLE(scripts, [ --disable-scripts turn off script plugins (perl, python, ...) (default=compiled if found)],enable_scripts=$enableval,enable_scripts=yes)
|
AC_ARG_ENABLE(scripts, [ --disable-scripts turn off script plugins (perl, python, ...) (default=compiled if found)],enable_scripts=$enableval,enable_scripts=yes)
|
||||||
AC_ARG_ENABLE(perl, [ --disable-perl turn off Perl script plugin (default=compiled if found)],enable_perl=$enableval,enable_perl=yes)
|
AC_ARG_ENABLE(perl, [ --disable-perl turn off Perl script plugin (default=compiled if found)],enable_perl=$enableval,enable_perl=yes)
|
||||||
AC_ARG_ENABLE(python, [ --disable-python turn off Python script plugin (default=compiled if found)],enable_python=$enableval,enable_python=yes)
|
AC_ARG_ENABLE(python, [ --disable-python turn off Python script plugin (default=compiled if found)],enable_python=$enableval,enable_python=yes)
|
||||||
AC_ARG_ENABLE(python3, [ --enable-python3 use Python 3.x if found (NOT recommended because many "official" scripts won't work) (default=off)],enable_python3=$enableval,enable_python3=no)
|
AC_ARG_ENABLE(python2, [ --enable-python2 use Python 2 instead of Python 3 (default=off)],enable_python2=$enableval,enable_python2=no)
|
||||||
AC_ARG_ENABLE(ruby, [ --disable-ruby turn off Ruby script plugin (default=compiled if found)],enable_ruby=$enableval,enable_ruby=yes)
|
AC_ARG_ENABLE(ruby, [ --disable-ruby turn off Ruby script plugin (default=compiled if found)],enable_ruby=$enableval,enable_ruby=yes)
|
||||||
AC_ARG_ENABLE(lua, [ --disable-lua turn off Lua script plugin (default=compiled if found)],enable_lua=$enableval,enable_lua=yes)
|
AC_ARG_ENABLE(lua, [ --disable-lua turn off Lua script plugin (default=compiled if found)],enable_lua=$enableval,enable_lua=yes)
|
||||||
AC_ARG_ENABLE(tcl, [ --disable-tcl turn off Tcl script plugin (default=compiled if found)],enable_tcl=$enableval,enable_tcl=yes)
|
AC_ARG_ENABLE(tcl, [ --disable-tcl turn off Tcl script plugin (default=compiled if found)],enable_tcl=$enableval,enable_tcl=yes)
|
||||||
@@ -473,66 +474,18 @@ fi
|
|||||||
PYTHON_VERSION=
|
PYTHON_VERSION=
|
||||||
|
|
||||||
if test "x$enable_python" = "xyes" ; then
|
if test "x$enable_python" = "xyes" ; then
|
||||||
if test "x$enable_python3" = "xyes" ; then
|
if test "x$enable_python2" = "xyes" ; then
|
||||||
AC_PATH_PROGS(PYTHON, python3.7 python3.6 python3.5 python3.4 python3.3 python3.2 python3.1 python3.0 python3 python2.7 python2.6 python2.5 python2 python)
|
PKG_CHECK_MODULES(PYTHON, [python2], [PYTHON_FOUND=yes; PYTHON_VERSION=`$PKGCONFIG --modversion python2`], [PYTHON_FOUND=no])
|
||||||
else
|
else
|
||||||
AC_PATH_PROGS(PYTHON, python2.7 python2.6 python2.5 python2 python)
|
PKG_CHECK_MODULES(PYTHON, [python3], [PYTHON_FOUND=yes; PYTHON_VERSION=`$PKGCONFIG --modversion python3`], [PYTHON_FOUND=no])
|
||||||
fi
|
fi
|
||||||
if test -z $PYTHON ; then
|
if test "x$PYTHON_FOUND" != "xyes" ; then
|
||||||
AC_MSG_WARN([
|
AC_MSG_WARN([
|
||||||
*** Python must be installed on your system but python interpreter couldn't be found in path.
|
*** Python must be installed on your system but python interpreter couldn't be found in path.
|
||||||
*** Please check that python is in path, or install it with your software package manager.
|
*** Please check that python is in path, or install it with your software package manager.
|
||||||
*** WeeChat will be built without Python support.])
|
*** WeeChat will be built without Python support.])
|
||||||
enable_python="no"
|
enable_python="no"
|
||||||
not_found="$not_found python"
|
not_found="$not_found python"
|
||||||
else
|
|
||||||
PYTHON_SYSPREFIX=`$PYTHON -c 'import sys; sys.stdout.write("%s" % sys.prefix)'`
|
|
||||||
PYTHON_VERSION=`$PYTHON -c 'import sys; sys.stdout.write(sys.version[[:3]])'`
|
|
||||||
PYTHON_INCLUDE=`$PYTHON -c "import sys, distutils.sysconfig, string; sys.stdout.write(distutils.sysconfig.get_config_var('INCLUDEPY'))"`
|
|
||||||
PYTHON_OLD_VERSION=`$PYTHON -c "import sys; sys.stdout.write(str(sys.version_info < (2,5)))"`
|
|
||||||
if test "x$PYTHON_OLD_VERSION" = "xTrue" ; then
|
|
||||||
AC_MSG_WARN([
|
|
||||||
*** Python >= 2.5 is needed to build Python plugin, version found: $PYTHON_VERSION.
|
|
||||||
*** WeeChat will be built without Python support.])
|
|
||||||
enable_python="no"
|
|
||||||
not_found="$not_found python"
|
|
||||||
else
|
|
||||||
AC_MSG_CHECKING(for Python header files)
|
|
||||||
if test -r "$PYTHON_INCLUDE/Python.h"; then
|
|
||||||
PYTHON_CFLAGS="-I$PYTHON_INCLUDE"
|
|
||||||
AC_MSG_RESULT(found)
|
|
||||||
PYTHON_LIB=`$PYTHON -c "import sys, distutils.sysconfig; sys.stdout.write(distutils.sysconfig.get_config_var('LIBPL'))"`
|
|
||||||
PYTHON_LFLAGS="-lpython$PYTHON_VERSION "`$PYTHON -c "import sys, distutils.sysconfig; sys.stdout.write(distutils.sysconfig.get_config_var('LIBS')+' '+distutils.sysconfig.get_config_var('SYSLIBS')+' '+distutils.sysconfig.get_config_var('LINKFORSHARED'))"`
|
|
||||||
AC_MSG_CHECKING(for Python library)
|
|
||||||
if test -r "$PYTHON_LIB/libpython$PYTHON_VERSION.so"; then
|
|
||||||
PYTHON_LFLAGS="-L$PYTHON_LIB $PYTHON_LFLAGS"
|
|
||||||
AC_MSG_RESULT(found)
|
|
||||||
elif test -r "$PYTHON_LIB/libpython$PYTHON_VERSION.a"; then
|
|
||||||
PYTHON_LFLAGS="-L$PYTHON_LIB $PYTHON_LFLAGS"
|
|
||||||
AC_MSG_RESULT(found)
|
|
||||||
elif test -r "$PYTHON_LIB/libpython$PYTHON_VERSION.dll.a"; then
|
|
||||||
PYTHON_LFLAGS="-L$PYTHON_LIB $PYTHON_LFLAGS"
|
|
||||||
AC_MSG_RESULT(found)
|
|
||||||
elif test -r "$PYTHON_SYSPREFIX/lib/libpython$PYTHON_VERSION.so"; then
|
|
||||||
PYTHON_LFLAGS="-L$PYTHON_SYSPREFIX/lib/ $PYTHON_LFLAGS"
|
|
||||||
AC_MSG_RESULT(found)
|
|
||||||
else
|
|
||||||
AC_MSG_WARN([
|
|
||||||
*** Python library couldn't be found on your system.
|
|
||||||
*** Try to install it with your software package manager.
|
|
||||||
*** WeeChat will be built without Python support.])
|
|
||||||
enable_python="no"
|
|
||||||
not_found="$not_found python"
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
AC_MSG_WARN([
|
|
||||||
*** Python header files couldn't be found on your system.
|
|
||||||
*** Try to install them with your software package manager.
|
|
||||||
*** WeeChat will be built without Python support.])
|
|
||||||
enable_python="no"
|
|
||||||
not_found="$not_found python"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
not_asked="$not_asked python"
|
not_asked="$not_asked python"
|
||||||
@@ -540,7 +493,8 @@ fi
|
|||||||
|
|
||||||
if test "x$enable_python" = "xyes" ; then
|
if test "x$enable_python" = "xyes" ; then
|
||||||
AC_SUBST(PYTHON_CFLAGS)
|
AC_SUBST(PYTHON_CFLAGS)
|
||||||
AC_SUBST(PYTHON_LFLAGS)
|
AC_SUBST(PYTHON_LIBS)
|
||||||
|
AC_SUBST(PYTHON_VERSION)
|
||||||
AC_DEFINE(PLUGIN_PYTHON)
|
AC_DEFINE(PLUGIN_PYTHON)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
@@ -9,9 +9,9 @@ Build-Depends:
|
|||||||
libncursesw5-dev,
|
libncursesw5-dev,
|
||||||
gem2deb,
|
gem2deb,
|
||||||
libperl-dev,
|
libperl-dev,
|
||||||
python-dev,
|
python3-dev,
|
||||||
libaspell-dev,
|
libaspell-dev,
|
||||||
liblua5.1-0-dev,
|
liblua5.3-dev,
|
||||||
tcl8.6-dev,
|
tcl8.6-dev,
|
||||||
guile-2.0-dev,
|
guile-2.0-dev,
|
||||||
libv8-dev [amd64 i386 armel armhf mips mipsel hurd-i386 kfreebsd-amd64 kfreebsd-i386],
|
libv8-dev [amd64 i386 armel armhf mips mipsel hurd-i386 kfreebsd-amd64 kfreebsd-i386],
|
||||||
@@ -162,11 +162,11 @@ Depends:
|
|||||||
${shlibs:Depends},
|
${shlibs:Depends},
|
||||||
weechat-devel-curses (= ${binary:Version}) | weechat-devel-headless (= ${binary:Version})
|
weechat-devel-curses (= ${binary:Version}) | weechat-devel-headless (= ${binary:Version})
|
||||||
Conflicts: weechat-python
|
Conflicts: weechat-python
|
||||||
Description: Fast, light and extensible chat client - Python plugin
|
Description: Fast, light and extensible chat client - Python 3 plugin
|
||||||
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
|
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
|
||||||
for many operating systems. Everything can be done with a keyboard.
|
for many operating systems. Everything can be done with a keyboard.
|
||||||
.
|
.
|
||||||
This package provides the Python scripting API plugin.
|
This package provides the Python 3 scripting API plugin.
|
||||||
|
|
||||||
Package: weechat-devel-perl
|
Package: weechat-devel-perl
|
||||||
Architecture: any
|
Architecture: any
|
||||||
|
|||||||
@@ -9,9 +9,9 @@ Build-Depends:
|
|||||||
libncursesw5-dev,
|
libncursesw5-dev,
|
||||||
gem2deb,
|
gem2deb,
|
||||||
libperl-dev,
|
libperl-dev,
|
||||||
python-dev,
|
python3-dev,
|
||||||
libaspell-dev,
|
libaspell-dev,
|
||||||
liblua5.1-0-dev,
|
liblua5.3-dev,
|
||||||
tcl8.6-dev,
|
tcl8.6-dev,
|
||||||
guile-2.0-dev,
|
guile-2.0-dev,
|
||||||
libv8-dev [amd64 i386 armel armhf mips mipsel hurd-i386 kfreebsd-amd64 kfreebsd-i386],
|
libv8-dev [amd64 i386 armel armhf mips mipsel hurd-i386 kfreebsd-amd64 kfreebsd-i386],
|
||||||
@@ -156,11 +156,11 @@ Depends:
|
|||||||
${misc:Depends},
|
${misc:Depends},
|
||||||
${shlibs:Depends},
|
${shlibs:Depends},
|
||||||
weechat-curses (= ${binary:Version}) | weechat-headless (= ${binary:Version})
|
weechat-curses (= ${binary:Version}) | weechat-headless (= ${binary:Version})
|
||||||
Description: Fast, light and extensible chat client - Python plugin
|
Description: Fast, light and extensible chat client - Python 3 plugin
|
||||||
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
|
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
|
||||||
for many operating systems. Everything can be done with a keyboard.
|
for many operating systems. Everything can be done with a keyboard.
|
||||||
.
|
.
|
||||||
This package provides the Python scripting API plugin.
|
This package provides the Python 3 scripting API plugin.
|
||||||
|
|
||||||
Package: weechat-perl
|
Package: weechat-perl
|
||||||
Architecture: any
|
Architecture: any
|
||||||
|
|||||||
@@ -252,6 +252,8 @@ _isupport_ (string) +
|
|||||||
_prefix_modes_ (string) +
|
_prefix_modes_ (string) +
|
||||||
_prefix_chars_ (string) +
|
_prefix_chars_ (string) +
|
||||||
_nick_max_length_ (integer) +
|
_nick_max_length_ (integer) +
|
||||||
|
_user_max_length_ (integer) +
|
||||||
|
_host_max_length_ (integer) +
|
||||||
_casemapping_ (integer) +
|
_casemapping_ (integer) +
|
||||||
_chantypes_ (string) +
|
_chantypes_ (string) +
|
||||||
_chanmodes_ (string) +
|
_chanmodes_ (string) +
|
||||||
@@ -970,6 +972,7 @@ _charset_ (string) +
|
|||||||
_priority_ (integer) +
|
_priority_ (integer) +
|
||||||
_initialized_ (integer) +
|
_initialized_ (integer) +
|
||||||
_debug_ (integer) +
|
_debug_ (integer) +
|
||||||
|
_upgrading_ (integer) +
|
||||||
_variables_ (hashtable) +
|
_variables_ (hashtable) +
|
||||||
_prev_plugin_ (pointer, hdata: "plugin") +
|
_prev_plugin_ (pointer, hdata: "plugin") +
|
||||||
_next_plugin_ (pointer, hdata: "plugin") +
|
_next_plugin_ (pointer, hdata: "plugin") +
|
||||||
|
|||||||
@@ -10,6 +10,8 @@
|
|||||||
|
|
||||||
| alias | alias_default | Liste der standardmäßigen Aliase | - | -
|
| alias | alias_default | Liste der standardmäßigen Aliase | - | -
|
||||||
|
|
||||||
|
| buflist | buflist | Liste der Buffer in buflist Bar-Item | - | buflist Bar-Item Name (optional)
|
||||||
|
|
||||||
| fset | fset_option | Auflistung der fset Optionen | fset Option-Pointer (optional) | Name einer Einstellung (Platzhalter "*" kann verwendet werden) (optional)
|
| fset | fset_option | Auflistung der fset Optionen | fset Option-Pointer (optional) | Name einer Einstellung (Platzhalter "*" kann verwendet werden) (optional)
|
||||||
|
|
||||||
| guile | guile_script | Liste der Skripten | Skript Pointer (optional) | Name des Skriptes (Platzhalter "*" kann verwendet werden) (optional)
|
| guile | guile_script | Liste der Skripten | Skript Pointer (optional) | Name des Skriptes (Platzhalter "*" kann verwendet werden) (optional)
|
||||||
|
|||||||
@@ -108,6 +108,10 @@
|
|||||||
|
|
||||||
| weechat | pid | WeeChat PID (Prozess-ID) | -
|
| weechat | pid | WeeChat PID (Prozess-ID) | -
|
||||||
|
|
||||||
|
| weechat | term_color_pairs | Anzahl der Farbpaare die durch das Terminal unterstützt werden | -
|
||||||
|
|
||||||
|
| weechat | term_colors | Anzahl der Farben die durch das Terminal unterstützt werden | -
|
||||||
|
|
||||||
| weechat | term_height | Höhe des Terminals | -
|
| weechat | term_height | Höhe des Terminals | -
|
||||||
|
|
||||||
| weechat | term_width | Breite des Terminals | -
|
| weechat | term_width | Breite des Terminals | -
|
||||||
|
|||||||
@@ -62,6 +62,8 @@
|
|||||||
|
|
||||||
| unix_socket_path | string |
|
| unix_socket_path | string |
|
||||||
|
|
||||||
|
| abstract_unix_socket | string |
|
||||||
|
|
||||||
| path_as_is | long |
|
| path_as_is | long |
|
||||||
|
|
||||||
| proxy_service_name | string |
|
| proxy_service_name | string |
|
||||||
@@ -72,15 +74,21 @@
|
|||||||
|
|
||||||
| tcp_fastopen | long |
|
| tcp_fastopen | long |
|
||||||
|
|
||||||
|
| socks5_auth | long |
|
||||||
|
|
||||||
|
| haproxyprotocol | long |
|
||||||
|
|
||||||
|
| doh_url | string |
|
||||||
|
|
||||||
| netrc | long | ignored, optional, required
|
| netrc | long | ignored, optional, required
|
||||||
|
|
||||||
| userpwd | string |
|
| userpwd | string |
|
||||||
|
|
||||||
| proxyuserpwd | string |
|
| proxyuserpwd | string |
|
||||||
|
|
||||||
| httpauth | mask | none, basic, digest, ntlm, any, anysafe, digest_ie, only, ntlm_wb, negotiate
|
| httpauth | mask | none, basic, digest, ntlm, any, anysafe, digest_ie, only, ntlm_wb, negotiate, gssapi, bearer
|
||||||
|
|
||||||
| proxyauth | mask | none, basic, digest, ntlm, any, anysafe, digest_ie, only, ntlm_wb, negotiate
|
| proxyauth | mask | none, basic, digest, ntlm, any, anysafe, digest_ie, only, ntlm_wb, negotiate, gssapi, bearer
|
||||||
|
|
||||||
| netrc_file | string |
|
| netrc_file | string |
|
||||||
|
|
||||||
@@ -104,6 +112,8 @@
|
|||||||
|
|
||||||
| login_options | string |
|
| login_options | string |
|
||||||
|
|
||||||
|
| disallow_username_in_url | long |
|
||||||
|
|
||||||
| autoreferer | long |
|
| autoreferer | long |
|
||||||
|
|
||||||
| followlocation | long |
|
| followlocation | long |
|
||||||
@@ -114,8 +124,6 @@
|
|||||||
|
|
||||||
| postfields | string |
|
| postfields | string |
|
||||||
|
|
||||||
| httppost | list |
|
|
||||||
|
|
||||||
| referer | string |
|
| referer | string |
|
||||||
|
|
||||||
| useragent | string |
|
| useragent | string |
|
||||||
@@ -170,6 +178,8 @@
|
|||||||
|
|
||||||
| stream_weight | long |
|
| stream_weight | long |
|
||||||
|
|
||||||
|
| request_target | string |
|
||||||
|
|
||||||
| mail_from | string |
|
| mail_from | string |
|
||||||
|
|
||||||
| mail_rcpt | list |
|
| mail_rcpt | list |
|
||||||
@@ -258,6 +268,10 @@
|
|||||||
|
|
||||||
| maxfilesize_large | long long |
|
| maxfilesize_large | long long |
|
||||||
|
|
||||||
|
| timevalue_large | long long |
|
||||||
|
|
||||||
|
| upload_buffersize | long |
|
||||||
|
|
||||||
| timeout | long |
|
| timeout | long |
|
||||||
|
|
||||||
| low_speed_limit | long |
|
| low_speed_limit | long |
|
||||||
@@ -300,9 +314,15 @@
|
|||||||
|
|
||||||
| connect_to | list |
|
| connect_to | list |
|
||||||
|
|
||||||
|
| happy_eyeballs_timeout_ms | long |
|
||||||
|
|
||||||
|
| dns_shuffle_addresses | long |
|
||||||
|
|
||||||
|
| upkeep_interval_ms | long |
|
||||||
|
|
||||||
| sslcert | string |
|
| sslcert | string |
|
||||||
|
|
||||||
| sslversion | long | default, tlsv1, sslv2, sslv3, tlsv1_0, tlsv1_1, tlsv1_2, tlsv1_3
|
| sslversion | long | default, tlsv1, sslv2, sslv3, tlsv1_0, tlsv1_1, tlsv1_2, tlsv1_3, max_default, max_none, max_tlsv1_0, max_tlsv1_1, max_tlsv1_2, max_tlsv1_3
|
||||||
|
|
||||||
| ssl_verifypeer | long |
|
| ssl_verifypeer | long |
|
||||||
|
|
||||||
@@ -342,7 +362,7 @@
|
|||||||
|
|
||||||
| gssapi_delegation | long | none, policy_flag, flag
|
| gssapi_delegation | long | none, policy_flag, flag
|
||||||
|
|
||||||
| ssl_options | long | allow_beast, no_revoke
|
| ssl_options | long | allow_beast, no_revoke, no_backends, ok, too_late, unknown_backend
|
||||||
|
|
||||||
| ssl_enable_alpn | long |
|
| ssl_enable_alpn | long |
|
||||||
|
|
||||||
@@ -372,11 +392,11 @@
|
|||||||
|
|
||||||
| proxy_sslkeytype | string |
|
| proxy_sslkeytype | string |
|
||||||
|
|
||||||
| proxy_sslversion | long | default, tlsv1, sslv2, sslv3, tlsv1_0, tlsv1_1, tlsv1_2, tlsv1_3
|
| proxy_sslversion | long | default, tlsv1, sslv2, sslv3, tlsv1_0, tlsv1_1, tlsv1_2, tlsv1_3, max_default, max_none, max_tlsv1_0, max_tlsv1_1, max_tlsv1_2, max_tlsv1_3
|
||||||
|
|
||||||
| proxy_ssl_cipher_list | list |
|
| proxy_ssl_cipher_list | list |
|
||||||
|
|
||||||
| proxy_ssl_options | long | allow_beast, no_revoke
|
| proxy_ssl_options | long | allow_beast, no_revoke, no_backends, ok, too_late, unknown_backend
|
||||||
|
|
||||||
| proxy_ssl_verifyhost | long |
|
| proxy_ssl_verifyhost | long |
|
||||||
|
|
||||||
@@ -388,6 +408,10 @@
|
|||||||
|
|
||||||
| proxy_tlsauth_username | string |
|
| proxy_tlsauth_username | string |
|
||||||
|
|
||||||
|
| tls13_ciphers | list |
|
||||||
|
|
||||||
|
| proxy_tls13_ciphers | list |
|
||||||
|
|
||||||
| ssh_auth_types | mask | none, policy_flag, flag
|
| ssh_auth_types | mask | none, policy_flag, flag
|
||||||
|
|
||||||
| ssh_public_keyfile | string |
|
| ssh_public_keyfile | string |
|
||||||
@@ -398,6 +422,8 @@
|
|||||||
|
|
||||||
| ssh_knownhosts | string |
|
| ssh_knownhosts | string |
|
||||||
|
|
||||||
|
| ssh_compression | long |
|
||||||
|
|
||||||
| new_file_perms | long |
|
| new_file_perms | long |
|
||||||
|
|
||||||
| new_directory_perms | long |
|
| new_directory_perms | long |
|
||||||
|
|||||||
@@ -7,8 +7,6 @@
|
|||||||
| Alias | Befehl | Vervollständigung
|
| Alias | Befehl | Vervollständigung
|
||||||
|
|
||||||
| /AAWAY | /allserv /away | -
|
| /AAWAY | /allserv /away | -
|
||||||
| /AME | /allchan /me | -
|
|
||||||
| /AMSG | /allchan /msg * | -
|
|
||||||
| /ANICK | /allserv /nick | -
|
| /ANICK | /allserv /nick | -
|
||||||
| /BEEP | /print -beep | -
|
| /BEEP | /print -beep | -
|
||||||
| /BYE | /quit | -
|
| /BYE | /quit | -
|
||||||
@@ -35,8 +33,9 @@
|
|||||||
| /UMODE | /mode $nick | -
|
| /UMODE | /mode $nick | -
|
||||||
| /V | /command core version | -
|
| /V | /command core version | -
|
||||||
| /W | /who | -
|
| /W | /who | -
|
||||||
| /WC | /window merge | -
|
| /WC | /window close | -
|
||||||
| /WI | /whois | -
|
| /WI | /whois | -
|
||||||
| /WII | /whois $1 $1 | -
|
| /WII | /whois $1 $1 | -
|
||||||
|
| /WM | /window merge | -
|
||||||
| /WW | /whowas | -
|
| /WW | /whowas | -
|
||||||
|===
|
|===
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ Die folgenden Variablen können in den obigen Optionen genutzt werden:
|
|||||||
- ${format_buffer}: der evaluierte Wert der Option buflist.format.buffer; dies kann in der Option buflist.format.buffer_current genutzt werden um zum Beispiel die Hintergrundfarbe zu verändern
|
- ${format_buffer}: der evaluierte Wert der Option buflist.format.buffer; dies kann in der Option buflist.format.buffer_current genutzt werden um zum Beispiel die Hintergrundfarbe zu verändern
|
||||||
- ${current_buffer}: ein Boolean ("0" oder "1"), "1" falls es sich um den aktuellen Buffer handelt; dies kann in einer Bedingung verwendet werden: ${if:${current_buffer}?...:...}
|
- ${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}?...:...}
|
- ${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)
|
- ${format_number}: eingerückte Nummer 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; 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
|
- ${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
|
- ${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"
|
- ${number_displayed}: "1" falls Nummer angezeigt wird, ansonsten "0"
|
||||||
|
|||||||
@@ -27,7 +27,7 @@
|
|||||||
** Standardwert: `+0+`
|
** Standardwert: `+0+`
|
||||||
|
|
||||||
* [[option_exec.command.shell]] *exec.command.shell*
|
* [[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")]
|
** 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"); wenn kein Wert angegeben ist, wird "sh" genutzt (Hinweis: Inhalt ist evaluiert, siehe /help eval)]
|
||||||
** Typ: Zeichenkette
|
** Typ: Zeichenkette
|
||||||
** Werte: beliebige Zeichenkette
|
** Werte: beliebige Zeichenkette
|
||||||
** Standardwert: `+"sh"+`
|
** Standardwert: `+"${env:SHELL}"+`
|
||||||
|
|||||||
@@ -51,6 +51,8 @@
|
|||||||
d:xxx zeigt nur Optionen die verändert wurden und "xxx" im Namen haben
|
d:xxx zeigt nur Optionen die verändert wurden und "xxx" im Namen haben
|
||||||
d=xxx zeigt nur veränderte Optionen, die "xxx" als Wert haben
|
d=xxx zeigt nur veränderte Optionen, die "xxx" als Wert haben
|
||||||
d==xxx zeigt nur veränderte Optionen die exakt "xxx" als Wert haben
|
d==xxx zeigt nur veränderte Optionen die exakt "xxx" als Wert haben
|
||||||
|
h=xxx zeigt alle Optionen, die den Text "xxx" in der Beschreibung enthalten (in der Übersetzung)
|
||||||
|
he=xxx zeigt alle Optionen, die den Text "xxx" in der Beschreibung enthalten (in der englischen Beschreibung)
|
||||||
=xxx zeigt nur Optionen mit "xxx" als Wert
|
=xxx zeigt nur Optionen mit "xxx" als Wert
|
||||||
==xxx zeigt nur Optionen die exakt "xxx" als Wert haben
|
==xxx zeigt nur Optionen die exakt "xxx" als Wert haben
|
||||||
c:xxx zeigt nur Optionen auf die die evaluierte Bedingung "xxx" zutrifft, folgende Variable können verwendet werden: file, section, option, name, parent_name, type, type_en, type_short (bool/int/str/col), type_tiny (b/i/s/c), default_value, default_value_undef, value, quoted_value, value_undef, value_changed, parent_value, min, max, description, description2, description_en, description_en2, string_values
|
c:xxx zeigt nur Optionen auf die die evaluierte Bedingung "xxx" zutrifft, folgende Variable können verwendet werden: file, section, option, name, parent_name, type, type_en, type_short (bool/int/str/col), type_tiny (b/i/s/c), default_value, default_value_undef, value, quoted_value, value_undef, value_changed, parent_value, min, max, description, description2, description_en, description_en2, string_values
|
||||||
@@ -60,14 +62,14 @@ Zeilen werden mittels evaluierten Ausdrücken dargestellt (siehe /help eval für
|
|||||||
- fset.format.option2: zweites Format für eine Option
|
- fset.format.option2: zweites Format für eine Option
|
||||||
|
|
||||||
Die nachfolgenden Variablen können in den Optionen genutzt werden:
|
Die nachfolgenden Variablen können in den Optionen genutzt werden:
|
||||||
- Optionsdaten, mit Farbe und durch Leerzeichen auf der rechten Seite aufgefüllt:
|
- Optionsdaten, mit Farbe und durch Leerzeichen auf der rechten Seite aufgefüllt:
|
||||||
- ${file}: Konfigurationsdatei (zum Beispiel "weechat" oder "irc")
|
- ${file}: Konfigurationsdatei (zum Beispiel "weechat" oder "irc")
|
||||||
- ${section}: Sektion
|
- ${section}: Sektion
|
||||||
- ${option}: Name der Option
|
- ${option}: Name der Option
|
||||||
- ${name}: vollständiger Name der Option (file.section.option)
|
- ${name}: vollständiger Name der Option (file.section.option)
|
||||||
- ${parent_name}: übergeordneter Name der Option
|
- ${parent_name}: übergeordneter Name der Option
|
||||||
- ${type}: Optionstyp (übersetzt)
|
- ${type}: Optionstyp (übersetzt)
|
||||||
- ${type_en}: Optionstyp (auf englisch)
|
- ${type_en}: Optionstyp (auf englisch)
|
||||||
- ${type_short}: Optionstyp Kurzform (bool/int/str/col)
|
- ${type_short}: Optionstyp Kurzform (bool/int/str/col)
|
||||||
- ${type_tiny}: Optionstyp klein (b/i/s/c)
|
- ${type_tiny}: Optionstyp klein (b/i/s/c)
|
||||||
- ${default_value}: Standardwert einer Option
|
- ${default_value}: Standardwert einer Option
|
||||||
@@ -145,7 +147,7 @@ Mausaktionen im fset Buffer:
|
|||||||
Hinweis: Leerzeichen am Anfang der Eingabezeile werden ignoriert und der folgende Text wird als Filter verwendet. Ein Beispiel: "q" schließt den fset Buffer wobei hingegen " q" alle Optionen anzeigt die ein "q" im Namen beinhalten.
|
Hinweis: Leerzeichen am Anfang der Eingabezeile werden ignoriert und der folgende Text wird als Filter verwendet. Ein Beispiel: "q" schließt den fset Buffer wobei hingegen " q" alle Optionen anzeigt die ein "q" im Namen beinhalten.
|
||||||
|
|
||||||
Beispiele:
|
Beispiele:
|
||||||
zeigt alle IRC Optionen an die verändert wurden:
|
zeigt alle IRC Optionen an, die verändert wurden:
|
||||||
/fset d:irc.*
|
/fset d:irc.*
|
||||||
zeigt alle Optionen die "nicklist" im Namen tragen:
|
zeigt alle Optionen die "nicklist" im Namen tragen:
|
||||||
/fset nicklist
|
/fset nicklist
|
||||||
|
|||||||
@@ -124,7 +124,7 @@ Beispiele:
|
|||||||
* `+connect+`: Mit IRC-Server(n) verbinden
|
* `+connect+`: Mit IRC-Server(n) verbinden
|
||||||
|
|
||||||
----
|
----
|
||||||
/connect <server> [<server>...] [-<option>[=<value>]] [-no<option>] [-nojoin] [-switch]
|
/connect [<server> [<server>...]] [-<option>[=<value>]] [-no<option>] [-nojoin] [-switch]
|
||||||
-all|-auto|-open [-nojoin] [-switch]
|
-all|-auto|-open [-nojoin] [-switch]
|
||||||
|
|
||||||
server: Name des Servers, folgende Möglichkeiten bestehen:
|
server: Name des Servers, folgende Möglichkeiten bestehen:
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
** Beschreibung: pass:none[durch Kommata getrennte Liste der Befehle, für die eine Rechtschreibprüfung gelten soll (Rechtschreibprüfung ist für andere Befehle deaktiviert)]
|
** Beschreibung: pass:none[durch Kommata getrennte Liste der Befehle, für die eine Rechtschreibprüfung gelten soll (Rechtschreibprüfung ist für andere Befehle deaktiviert)]
|
||||||
** Typ: Zeichenkette
|
** Typ: Zeichenkette
|
||||||
** Werte: beliebige Zeichenkette
|
** Werte: beliebige Zeichenkette
|
||||||
** Standardwert: `+"ame,amsg,away,command,cycle,kick,kickban,me,msg,notice,part,query,quit,topic"+`
|
** Standardwert: `+"away,command,cycle,kick,kickban,me,msg,notice,part,query,quit,topic"+`
|
||||||
|
|
||||||
* [[option_spell.check.default_dict]] *spell.check.default_dict*
|
* [[option_spell.check.default_dict]] *spell.check.default_dict*
|
||||||
** Beschreibung: pass:none[Voreingestelltes Wörterbuch (oder durch Kommata getrennte Liste der Wörterbücher) welche(s) genutzt werden soll, sofern kein Wörterbuch für einen Buffer definiert wurde (wird kein Wörterbuch angegeben dann ist die Rechtschreibprüfung in allen Buffer deaktiviert, außer es wird für einen Buffer explizit ein Wörterbuch angegeben)]
|
** Beschreibung: pass:none[Voreingestelltes Wörterbuch (oder durch Kommata getrennte Liste der Wörterbücher) welche(s) genutzt werden soll, sofern kein Wörterbuch für einen Buffer definiert wurde (wird kein Wörterbuch angegeben dann ist die Rechtschreibprüfung in allen Buffer deaktiviert, außer es wird für einen Buffer explizit ein Wörterbuch angegeben)]
|
||||||
|
|||||||
@@ -203,9 +203,9 @@ Ohne Angabe von Argumenten wird der Cursor-Modus umgeschaltet.
|
|||||||
Ist die Mausfunktion aktiviert (siehe /help mouse), startet man den Cursor-Modus mit der mittleren Maustaste und positioniert den Cursor auf diesen Punkt.
|
Ist die Mausfunktion aktiviert (siehe /help mouse), startet man den Cursor-Modus mit der mittleren Maustaste und positioniert den Cursor auf diesen Punkt.
|
||||||
|
|
||||||
Standardtastenbefehle im Chatbereich:
|
Standardtastenbefehle im Chatbereich:
|
||||||
m quote Nachricht
|
m zitiere Nachricht
|
||||||
q quote Präfix + Nachricht
|
q zitiere Präfix + Nachricht
|
||||||
Q quote Zeit + Präfix + Nachricht
|
Q zitiere Zeit + Präfix + Nachricht
|
||||||
|
|
||||||
Standardtastenbefehle in Nickliste:
|
Standardtastenbefehle in Nickliste:
|
||||||
b banne Nick (/ban)
|
b banne Nick (/ban)
|
||||||
@@ -214,6 +214,11 @@ Standardtastenbefehle in Nickliste:
|
|||||||
q öffne private Unterhaltung mit Nick (/query)
|
q öffne private Unterhaltung mit Nick (/query)
|
||||||
w hole Informationen über Anwender (/whois)
|
w hole Informationen über Anwender (/whois)
|
||||||
|
|
||||||
|
weitere Standardtasten im Cursor-Modus:
|
||||||
|
Pfeiltasten bewege Cursor
|
||||||
|
alt+Pfeiltasten bewege Cursor zum nächsten Bereich
|
||||||
|
enter beendet den Cursor-Modus
|
||||||
|
|
||||||
Beispiele:
|
Beispiele:
|
||||||
gehe zur Benutzerliste:
|
gehe zur Benutzerliste:
|
||||||
/cursor go nicklist
|
/cursor go nicklist
|
||||||
@@ -974,6 +979,7 @@ Beispiele:
|
|||||||
resize [-window <number>] [h|v][+|-]<pct>
|
resize [-window <number>] [h|v][+|-]<pct>
|
||||||
balance
|
balance
|
||||||
merge [-window <number>] [all]
|
merge [-window <number>] [all]
|
||||||
|
close [-window <number>]
|
||||||
page_up|page_down [-window <number>]
|
page_up|page_down [-window <number>]
|
||||||
refresh
|
refresh
|
||||||
scroll [-window <number>] [+|-]<value>[s|m|h|d|M|y]
|
scroll [-window <number>] [+|-]<value>[s|m|h|d|M|y]
|
||||||
@@ -998,6 +1004,7 @@ Beispiele:
|
|||||||
wird "h" oder "v" angegeben, findet eine Größenanpassung des Stammfenster statt, sofern es vom selben Typ ist (horizontal/vertikal)
|
wird "h" oder "v" angegeben, findet eine Größenanpassung des Stammfenster statt, sofern es vom selben Typ ist (horizontal/vertikal)
|
||||||
balance: passt die Größe aller Fenster an
|
balance: passt die Größe aller Fenster an
|
||||||
merge: vereinigt Fenster miteinander (all = alle Fenster vereinigen)
|
merge: vereinigt Fenster miteinander (all = alle Fenster vereinigen)
|
||||||
|
close: Fenster wird geschlossen
|
||||||
page_up: scrollt eine Seite nach oben
|
page_up: scrollt eine Seite nach oben
|
||||||
page_down: scrollt eine Seite nach unten
|
page_down: scrollt eine Seite nach unten
|
||||||
refresh: Seite wird neu aufgebaut
|
refresh: Seite wird neu aufgebaut
|
||||||
@@ -1010,19 +1017,19 @@ scroll_bottom: scrollt zum Ende des Buffers
|
|||||||
scroll_beyond_end: scrollt über das Ende des Buffers hinaus
|
scroll_beyond_end: scrollt über das Ende des Buffers hinaus
|
||||||
scroll_previous_highlight: scrollt zum vorherigen Hightlight
|
scroll_previous_highlight: scrollt zum vorherigen Hightlight
|
||||||
scroll_next_highlight: scrollt zum nächsten Highlight
|
scroll_next_highlight: scrollt zum nächsten Highlight
|
||||||
scroll_unread: springt zur ersten ungelesenen Zeile in einem Buffer
|
scroll_unread: scrollt zur ersten ungelesenen Zeile in einem Buffer
|
||||||
swap: tauscht die Buffer von zwei Fenstern (mit optionaler Angabe für das Zielfenster)
|
swap: tauscht die Buffer von zwei Fenstern (mit optionaler Angabe für das Zielfenster)
|
||||||
zoom: vergrößert ein Fenster auf 100%
|
zoom: vergrößert ein Fenster auf 100%
|
||||||
bare: wechselt zum einfachen Anzeigemodus (optional kann eine Wartezeit, in Sekunden, angegeben werden, wann zum Standardmodus zurück gewechselt werden soll)
|
bare: wechselt zum einfachen Anzeigemodus (optional kann eine Wartezeit in Sekunden angegeben werden, wann wieder zum Standardmodus zurück gewechselt werden soll)
|
||||||
|
|
||||||
Bei splith und splitv gibt "pct" die neue Größe des Fensters im Verhältnis zur aktuellen Größe an. Zum Beispiel würde ein Wert von 25 bedeuten, dass das neue Fenster nur noch ein Viertel der Größe des alten Fensters besitzt.
|
Für splith und splitv gibt "pct" die Größe des neuen Fensters im Verhältnis zur aktuellen Größe an. Zum Beispiel würde ein Wert von 25 bedeuten, dass das neue Fenster nur noch ein Viertel der Größe des alten Fensters besitzt.
|
||||||
|
|
||||||
Beispiele:
|
Beispiele:
|
||||||
springt zum Fenster mit dem Buffer #1:
|
springt zum Fenster mit dem Buffer #1:
|
||||||
/window b1
|
/window b1
|
||||||
scrollt zwei Zeilen hoch:
|
scrollt zwei Zeilen hoch:
|
||||||
/window scroll -2
|
/window scroll -2
|
||||||
scrollt zwei Tage hoch: /window scroll -2d
|
scrollt zwei Tage hoch:
|
||||||
/window scroll -2d
|
/window scroll -2d
|
||||||
scrollt zum Beginn des aktuellen Tages:
|
scrollt zum Beginn des aktuellen Tages:
|
||||||
/window scroll -d
|
/window scroll -d
|
||||||
@@ -1036,6 +1043,8 @@ Beispiele:
|
|||||||
/window resize v+10
|
/window resize v+10
|
||||||
eine Teilung wird rückgängig gemacht:
|
eine Teilung wird rückgängig gemacht:
|
||||||
/window merge
|
/window merge
|
||||||
|
das aktuelle Fenster wird geschlossen:
|
||||||
|
/window close
|
||||||
aktiviert den einfachen Anzeigemodus für zwei Sekunden:
|
aktiviert den einfachen Anzeigemodus für zwei Sekunden:
|
||||||
/window bare 2
|
/window bare 2
|
||||||
----
|
----
|
||||||
|
|||||||
@@ -921,9 +921,9 @@
|
|||||||
** Standardwert: `+""+`
|
** Standardwert: `+""+`
|
||||||
|
|
||||||
* [[option_weechat.look.nick_color_hash]] *weechat.look.nick_color_hash*
|
* [[option_weechat.look.nick_color_hash]] *weechat.look.nick_color_hash*
|
||||||
** Beschreibung: pass:none[Gibt an welcher Hash-Algorithmus zur Farbauswahl für Nicks genutzt werden soll: djb2 = Variante des djb2 (Position der Buchstaben innerhalb des Nicks werden berücksichtigt: Anagramme eines Nick erhalten eine andere Farbe), sum = hier ist nur die Anzahl der Buchstaben maßgeblich]
|
** Beschreibung: pass:none[Gibt an welcher Hash-Algorithmus zur Farbauswahl für Nicks genutzt werden soll: djb2 = Variante des djb2 (Position der Buchstaben innerhalb des Nicks werden berücksichtigt: Anagramme eines Nick erhalten eine andere Farbe), djb2_32 = Variante von djb2 wobei 32-Bit anstelle von 64-Bit Integer genutzt wird, sum = hier ist nur die Anzahl der Buchstaben maßgeblich, sum_32 = wie sum, nur das 32-Bit anstelle von 64-Bit Integer genutzt wird]
|
||||||
** Typ: integer
|
** Typ: integer
|
||||||
** Werte: djb2, sum
|
** Werte: djb2, sum, djb2_32, sum_32
|
||||||
** Standardwert: `+djb2+`
|
** Standardwert: `+djb2+`
|
||||||
|
|
||||||
* [[option_weechat.look.nick_color_stop_chars]] *weechat.look.nick_color_stop_chars*
|
* [[option_weechat.look.nick_color_stop_chars]] *weechat.look.nick_color_stop_chars*
|
||||||
|
|||||||
@@ -52,12 +52,12 @@ https://weechat.org/about/interfaces
|
|||||||
[[compile_git]]
|
[[compile_git]]
|
||||||
=== Ich kann WeeChat nach Cloning des git Repository nicht kompilieren - weshalb?
|
=== Ich kann WeeChat nach Cloning des git Repository nicht kompilieren - weshalb?
|
||||||
|
|
||||||
Es wird empfohlen link:weechat_user.de.html#compile_with_cmake[cmake] zum
|
Es wird empfohlen link:weechat_user.de.html#compile_with_cmake[CMake] zum
|
||||||
kompilieren von WeeChat zu nutzen.
|
kompilieren von WeeChat zu nutzen.
|
||||||
|
|
||||||
Falls Du WeeChat mit Hilfe der
|
Falls Du WeeChat mit Hilfe der
|
||||||
link:weechat_user.de.html#compile_with_autotools[autotools] kompilieren solltest
|
link:weechat_user.de.html#compile_with_autotools[autotools] kompilieren solltest
|
||||||
(dich also nicht für cmake entscheidest), stelle sicher, dass Du die neueste
|
(dich also nicht für CMake entscheidest), stelle sicher, dass Du die neueste
|
||||||
Version von autoconf und automake besitzt.
|
Version von autoconf und automake besitzt.
|
||||||
|
|
||||||
Die zweite Möglichkeit besteht darin das "Entwickler-Paket" zu installieren, denn dies
|
Die zweite Möglichkeit besteht darin das "Entwickler-Paket" zu installieren, denn dies
|
||||||
@@ -79,7 +79,7 @@ brew info weechat
|
|||||||
WeeChat kann durch folgenden Befehl installiert werden:
|
WeeChat kann durch folgenden Befehl installiert werden:
|
||||||
|
|
||||||
----
|
----
|
||||||
brew install weechat --with-aspell --with-curl --with-python --with-perl --with-ruby --with-lua --with-guile
|
brew install weechat
|
||||||
----
|
----
|
||||||
|
|
||||||
[[lost]]
|
[[lost]]
|
||||||
|
|||||||
@@ -97,7 +97,7 @@ $ tar xvjf weechat-devel.tar.bz2
|
|||||||
$ cd weechat-devel
|
$ cd weechat-devel
|
||||||
----
|
----
|
||||||
|
|
||||||
Um die Quellen zu übersetzen, wird cmake empfohlen:
|
Um die Quellen zu übersetzen, wird CMake empfohlen:
|
||||||
|
|
||||||
----
|
----
|
||||||
$ mkdir build
|
$ mkdir build
|
||||||
@@ -107,7 +107,7 @@ $ make
|
|||||||
$ make install
|
$ make install
|
||||||
----
|
----
|
||||||
|
|
||||||
Falls Du cmake nicht hast, ist es auch möglich die autotools zu nutzen:
|
Falls Du CMake nicht hast, ist es auch möglich die autotools zu nutzen:
|
||||||
|
|
||||||
----
|
----
|
||||||
$ ./autogen.sh
|
$ ./autogen.sh
|
||||||
|
|||||||
+54
-49
@@ -85,12 +85,11 @@ wie man Pakete installiert.
|
|||||||
[[source_package]]
|
[[source_package]]
|
||||||
=== Quellpakete
|
=== Quellpakete
|
||||||
|
|
||||||
WeeChat kann mittels cmake oder autotools kompiliert werden (cmake sollte dabei die bevorzugte Methode sein).
|
WeeChat kann mittels CMake oder autotools kompiliert werden (CMake sollte dabei die bevorzugte Methode sein).
|
||||||
|
|
||||||
[NOTE]
|
[NOTE]
|
||||||
Unter macOS kann https://brew.sh/[Homebrew] verwendet werden:
|
Unter macOS kann https://brew.sh/[Homebrew] verwendet werden:
|
||||||
`brew install weechat --with-python --with-perl`
|
`brew install weechat` (für Hilfe: `brew info weechat`).
|
||||||
(für Hilfe: `brew info weechat`).
|
|
||||||
|
|
||||||
[[dependencies]]
|
[[dependencies]]
|
||||||
==== Abhängigkeiten
|
==== Abhängigkeiten
|
||||||
@@ -104,7 +103,7 @@ zu kompilieren und welche Pakete optional genutzt werden können.
|
|||||||
| C compiler
|
| C compiler
|
||||||
(gcc, clang, ...) | | *ja* | zum Erstellen der Binärdatei.
|
(gcc, clang, ...) | | *ja* | zum Erstellen der Binärdatei.
|
||||||
| C++ compiler | | | zum Erstellen der Binärdatei und um Test auszuführen, JavaScript Erweiterung.
|
| C++ compiler | | | zum Erstellen der Binärdatei und um Test auszuführen, JavaScript Erweiterung.
|
||||||
| cmake | ≥ 3.0 | *ja* | zum kompilieren (autotools ist möglich. cmake wird aber empfohlen).
|
| cmake | ≥ 3.0 | *ja* | zum kompilieren (autotools ist möglich. CMake wird aber empfohlen).
|
||||||
| pkg-config | | *ja* | entdeckt installierte Bibliotheken.
|
| pkg-config | | *ja* | entdeckt installierte Bibliotheken.
|
||||||
| libncursesw5-dev ^(2)^ | | *ja* | Ncurses Oberfläche.
|
| libncursesw5-dev ^(2)^ | | *ja* | Ncurses Oberfläche.
|
||||||
| libcurl4-gnutls-dev | | *ja* | URL Transfer.
|
| libcurl4-gnutls-dev | | *ja* | URL Transfer.
|
||||||
@@ -115,7 +114,7 @@ zu kompilieren und welche Pakete optional genutzt werden können.
|
|||||||
| ca-certificates | | | Zertifikate für SSL Verbindungen.
|
| ca-certificates | | | Zertifikate für SSL Verbindungen.
|
||||||
| libaspell-dev
|
| libaspell-dev
|
||||||
∥ libenchant-dev | | | Spell Erweiterung.
|
∥ libenchant-dev | | | Spell Erweiterung.
|
||||||
| python-dev | ≥ 2.6 ^(4)^ | | Python Erweiterung.
|
| python3-dev | ^(4)^ | | Python Erweiterung.
|
||||||
| libperl-dev | | | Perl Erweiterung.
|
| libperl-dev | | | Perl Erweiterung.
|
||||||
| ruby2.5, ruby2.5-dev | ≥ 1.8 | | Ruby Erweiterung.
|
| ruby2.5, ruby2.5-dev | ≥ 1.8 | | Ruby Erweiterung.
|
||||||
| liblua5.3-dev | | | Lua Erweiterung.
|
| liblua5.3-dev | | | Lua Erweiterung.
|
||||||
@@ -139,8 +138,8 @@ aber dies wird *NICHT* empfohlen:
|
|||||||
Es können Darstellungsfehler mit breiten Zeichen auftreten. +
|
Es können Darstellungsfehler mit breiten Zeichen auftreten. +
|
||||||
^(3)^ GnuTLS ≥ 3.0.21 wird benötigt um eine IRC SASL Authentifizierung mittels
|
^(3)^ GnuTLS ≥ 3.0.21 wird benötigt um eine IRC SASL Authentifizierung mittels
|
||||||
ECDSA-NIST256P-CHALLENGE durchzuführen. +
|
ECDSA-NIST256P-CHALLENGE durchzuführen. +
|
||||||
^(4)^ Die empfohlene Version ist 2.7 (alle Skripten laufen mit der Version 2.7,
|
^(4)^ standardmäßig wird Python 3.x verwendet. Wird die Option `ENABLE_PYTHON2` aktiviert
|
||||||
aber nicht mit Version < 2.7 oder ≥ 3.0).
|
(siehe unten), sollte die Version 2.7 von Python genutzt werden.
|
||||||
|
|
||||||
Falls eine Debian/Ubuntu basierte Distribution genutzt wird und man einen
|
Falls eine Debian/Ubuntu basierte Distribution genutzt wird und man einen
|
||||||
"deb-src" Quelleintrag in _/etc/apt/sources.list_ eingetragen hat, dann ist
|
"deb-src" Quelleintrag in _/etc/apt/sources.list_ eingetragen hat, dann ist
|
||||||
@@ -152,7 +151,7 @@ installieren:
|
|||||||
----
|
----
|
||||||
|
|
||||||
[[compile_with_cmake]]
|
[[compile_with_cmake]]
|
||||||
==== Kompilieren mit cmake
|
==== Kompilieren mit CMake
|
||||||
|
|
||||||
* Installation in das Systemverzeichnis (benötigt _root_ Privilegien):
|
* Installation in das Systemverzeichnis (benötigt _root_ Privilegien):
|
||||||
|
|
||||||
@@ -174,7 +173,7 @@ $ make
|
|||||||
$ make install
|
$ make install
|
||||||
----
|
----
|
||||||
|
|
||||||
Optionen für cmake können mit dem Format, "-DOPTION=VALUE", genutzt werden.
|
Optionen für CMake können mit dem Format, "-DOPTION=VALUE", genutzt werden.
|
||||||
|
|
||||||
Liste von häufig verwendeten Optionen:
|
Liste von häufig verwendeten Optionen:
|
||||||
|
|
||||||
@@ -213,7 +212,7 @@ Liste von häufig verwendeten Optionen:
|
|||||||
erstellt die HTML Dokumentation.
|
erstellt die HTML Dokumentation.
|
||||||
|
|
||||||
| ENABLE_ENCHANT | `ON`, `OFF` | OFF |
|
| ENABLE_ENCHANT | `ON`, `OFF` | OFF |
|
||||||
kompiliert <<spell_plugin,Spell plugin>> mittels Enchant.
|
kompiliert <<spell_plugin,Spell Erweiterung>> mittels Enchant.
|
||||||
|
|
||||||
| ENABLE_EXEC | `ON`, `OFF` | ON |
|
| ENABLE_EXEC | `ON`, `OFF` | ON |
|
||||||
kompiliert <<exec_plugin,Exec Erweiterung>>.
|
kompiliert <<exec_plugin,Exec Erweiterung>>.
|
||||||
@@ -260,12 +259,8 @@ Liste von häufig verwendeten Optionen:
|
|||||||
| ENABLE_PYTHON | `ON`, `OFF` | ON |
|
| ENABLE_PYTHON | `ON`, `OFF` | ON |
|
||||||
kompiliert <<scripts_plugins,Python Erweiterung>>.
|
kompiliert <<scripts_plugins,Python Erweiterung>>.
|
||||||
|
|
||||||
| ENABLE_PYTHON3 | `ON`, `OFF` | OFF |
|
| ENABLE_PYTHON2 | `ON`, `OFF` | OFF |
|
||||||
kompiliert <<scripts_plugins,Python plugin>> mit Python 3. +
|
kompiliert <<scripts_plugins,Python Erweiterung>> nutzt Python 2 anstelle von Python 3.
|
||||||
Diese Option wird zur Zeit nicht empfohlen, da die meisten Skripten noch
|
|
||||||
nicht kompatible mit Python 3 sind. +
|
|
||||||
Den Fortschritt der Python 3 Unterstützung kann man auf dieser Seite verfolgen:
|
|
||||||
https://weechat.org/scripts/python3/
|
|
||||||
|
|
||||||
| ENABLE_RELAY | `ON`, `OFF` | ON |
|
| ENABLE_RELAY | `ON`, `OFF` | ON |
|
||||||
kompiliert <<relay_plugin,Relay Erweiterung>>.
|
kompiliert <<relay_plugin,Relay Erweiterung>>.
|
||||||
@@ -316,10 +311,10 @@ $ ccmake ..
|
|||||||
==== Kompilieren mit autotools
|
==== Kompilieren mit autotools
|
||||||
|
|
||||||
[WARNING]
|
[WARNING]
|
||||||
Ausschließlich das Kompilieren mittels cmake wird offiziell unterstützt. Autotools
|
Ausschließlich das Kompilieren mittels CMake wird offiziell unterstützt. Autotools
|
||||||
sollte nur verwendet werden falls man keine Möglichkeit hat cmake zu nutzen. +
|
sollte nur verwendet werden falls man keine Möglichkeit hat CMake zu nutzen. +
|
||||||
Für die Erstellung mittels autotools werden zusätzliche Pakete benötigt und es ist
|
Für die Erstellung mittels autotools werden zusätzliche Pakete benötigt und es ist
|
||||||
zeitintensiver als cmake.
|
zeitintensiver als CMake.
|
||||||
|
|
||||||
* Installation in das Systemverzeichnis (benötigt _root_ Privilegien):
|
* Installation in das Systemverzeichnis (benötigt _root_ Privilegien):
|
||||||
|
|
||||||
@@ -358,13 +353,13 @@ Folgende Pakete werden *benötigt* um Tests zu kompilieren:
|
|||||||
* libcpputest-dev
|
* libcpputest-dev
|
||||||
* C++ compiler
|
* C++ compiler
|
||||||
|
|
||||||
Tests muss aktiviert werden wenn WeeChat kompiliert wird (mittels cmake):
|
Tests muss aktiviert werden wenn WeeChat kompiliert wird (mittels CMake):
|
||||||
|
|
||||||
----
|
----
|
||||||
$ cmake .. -DENABLE_TESTS=ON
|
$ cmake .. -DENABLE_TESTS=ON
|
||||||
----
|
----
|
||||||
|
|
||||||
Nach der Kompilierung wird die Testumgebung im build-Verzeichnis (bei cmake) ausgeführt:
|
Nach der Kompilierung wird die Testumgebung im build-Verzeichnis (bei CMake) ausgeführt:
|
||||||
|
|
||||||
----
|
----
|
||||||
$ ctest -V
|
$ ctest -V
|
||||||
@@ -396,7 +391,7 @@ Falls WeeChat abgestürzt sein sollte und Sie diesen Fehler melden möchten:
|
|||||||
[[debug_info]]
|
[[debug_info]]
|
||||||
==== Debug info
|
==== Debug info
|
||||||
|
|
||||||
Bei der Kompilierung mit cmake muss folgende Option gesetzt werden:
|
Bei der Kompilierung mit CMake muss folgende Option gesetzt werden:
|
||||||
|
|
||||||
----
|
----
|
||||||
$ cmake .. -DCMAKE_BUILD_TYPE=Debug
|
$ cmake .. -DCMAKE_BUILD_TYPE=Debug
|
||||||
@@ -817,7 +812,7 @@ mittels der Option <<option_irc.color.mirc_remap,irc.color.mirc_remap>>.
|
|||||||
[[colors]]
|
[[colors]]
|
||||||
=== Farben
|
=== Farben
|
||||||
|
|
||||||
WeeChat kann bis zu 256 Farbpaarungen nutzen um einen Text in Bars oder im
|
WeeChat kann bis zu 32767 Farbpaarungen nutzen um einen Text in Bars oder im
|
||||||
Chatbereich darzustellen (der Terminal muss natürlich 256 Farben unterstützten).
|
Chatbereich darzustellen (der Terminal muss natürlich 256 Farben unterstützten).
|
||||||
|
|
||||||
Gemäß der Einstellung in der _TERM_-Umgebungsvariable bestehen folgende Einschränkungen
|
Gemäß der Einstellung in der _TERM_-Umgebungsvariable bestehen folgende Einschränkungen
|
||||||
@@ -826,12 +821,12 @@ was die Farbdarstellung in WeeChat betrifft:
|
|||||||
[width="50%",cols="8,>2,>2",options="header"]
|
[width="50%",cols="8,>2,>2",options="header"]
|
||||||
|===
|
|===
|
||||||
| $TERM | Farben | Paare
|
| $TERM | Farben | Paare
|
||||||
| "rxvt-unicode", "xterm", ... | 88 | 256
|
| "rxvt-unicode", "xterm", ... | 88 | 32767
|
||||||
| "rxvt-256color", "xterm-256color", ... | 256 | 256
|
| "rxvt-256color", "xterm-256color", ... | 256 | 32767
|
||||||
| "screen" | 8 | 64
|
| "screen" | 8 | 64
|
||||||
| "screen-256color" | 256 | 256
|
| "screen-256color" | 256 | 32767
|
||||||
| "tmux" | 8 | 64
|
| "tmux" | 8 | 64
|
||||||
| "tmux-256color" | 256 | 256
|
| "tmux-256color" | 256 | 32767
|
||||||
|===
|
|===
|
||||||
|
|
||||||
Mittels `weechat --colors` oder dem internen WeeChat-Befehl `/color` kann man sich
|
Mittels `weechat --colors` oder dem internen WeeChat-Befehl `/color` kann man sich
|
||||||
@@ -2659,9 +2654,13 @@ und Port müssen dabei an die eigene TOR Konfiguration angepasst werden):
|
|||||||
Jetzt muss der neue Server hinzufügt werden, zum Beispiel:
|
Jetzt muss der neue Server hinzufügt werden, zum Beispiel:
|
||||||
|
|
||||||
----
|
----
|
||||||
/server add freenode-tor freenodeok2gncmy.onion
|
/server add freenode-tor ajnvpgl6prmkb7yktvue6im5wiedlz2w32uhcwaamdiecdrfpwwgnlqd.onion
|
||||||
----
|
----
|
||||||
|
|
||||||
|
[NOTE]
|
||||||
|
Sollte eine alte Version (vor 0.3.5) von TOR verwendet werden, muss diese
|
||||||
|
Adresse, `freenodeok2gncmy.onion`, genutzt werden.
|
||||||
|
|
||||||
Einen Proxy für TOR anlegen:
|
Einen Proxy für TOR anlegen:
|
||||||
|
|
||||||
----
|
----
|
||||||
@@ -3057,16 +3056,21 @@ Datumsspezifikationen in der Maske genutzt werden (siehe
|
|||||||
Erstellt eine Struktur in folgender Form:
|
Erstellt eine Struktur in folgender Form:
|
||||||
|
|
||||||
....
|
....
|
||||||
~/.weechat/
|
~/.weechat
|
||||||
|--- logs/
|
└── logs
|
||||||
|--- 2010/
|
├── 2010
|
||||||
|--- 11/
|
│ ├── 11
|
||||||
| irc.server.freenode.weechatlog
|
│ │ ├── irc.server.freenode.weechatlog
|
||||||
| irc.freenode.#weechat.weechatlog
|
│ │ └── irc.freenode.#weechat.weechatlog
|
||||||
|--- 2010/
|
│ └── 12
|
||||||
|--- 12/
|
│ ├── irc.server.freenode.weechatlog
|
||||||
| irc.server.freenode.weechatlog
|
│ └── irc.freenode.#weechat.weechatlog
|
||||||
| irc.freenode.#weechat.weechatlog
|
├── 2011
|
||||||
|
│ ├── 01
|
||||||
|
│ │ ├── irc.server.freenode.weechatlog
|
||||||
|
│ │ └── irc.freenode.#weechat.weechatlog
|
||||||
|
│ ├── 02
|
||||||
|
...
|
||||||
....
|
....
|
||||||
|
|
||||||
[[logger_irc_files_by_server_channel]]
|
[[logger_irc_files_by_server_channel]]
|
||||||
@@ -3082,17 +3086,18 @@ einer Protokolldatei für jeden Channel:
|
|||||||
Erstellt eine Struktur in folgender Form:
|
Erstellt eine Struktur in folgender Form:
|
||||||
|
|
||||||
....
|
....
|
||||||
~/.weechat/
|
~/.weechat
|
||||||
|--- logs/
|
└── logs
|
||||||
|--- irc/
|
└── irc
|
||||||
|--- freenode/
|
├── freenode
|
||||||
| freenode.weechatlog
|
│ ├── freenode.weechatlog
|
||||||
| #weechat.weechatlog
|
│ ├── #weechat.weechatlog
|
||||||
| #mychan.weechatlog
|
│ └── #mychan.weechatlog
|
||||||
|--- oftc/
|
├── oftc
|
||||||
| oftc.weechatlog
|
│ ├── oftc.weechatlog
|
||||||
| #chan1.weechatlog
|
│ ├── #chan1.weechatlog
|
||||||
| #chan2.weechatlog
|
│ └── #chan2.weechatlog
|
||||||
|
...
|
||||||
....
|
....
|
||||||
|
|
||||||
[[logger_commands]]
|
[[logger_commands]]
|
||||||
|
|||||||
@@ -252,6 +252,8 @@ _isupport_ (string) +
|
|||||||
_prefix_modes_ (string) +
|
_prefix_modes_ (string) +
|
||||||
_prefix_chars_ (string) +
|
_prefix_chars_ (string) +
|
||||||
_nick_max_length_ (integer) +
|
_nick_max_length_ (integer) +
|
||||||
|
_user_max_length_ (integer) +
|
||||||
|
_host_max_length_ (integer) +
|
||||||
_casemapping_ (integer) +
|
_casemapping_ (integer) +
|
||||||
_chantypes_ (string) +
|
_chantypes_ (string) +
|
||||||
_chanmodes_ (string) +
|
_chanmodes_ (string) +
|
||||||
@@ -970,6 +972,7 @@ _charset_ (string) +
|
|||||||
_priority_ (integer) +
|
_priority_ (integer) +
|
||||||
_initialized_ (integer) +
|
_initialized_ (integer) +
|
||||||
_debug_ (integer) +
|
_debug_ (integer) +
|
||||||
|
_upgrading_ (integer) +
|
||||||
_variables_ (hashtable) +
|
_variables_ (hashtable) +
|
||||||
_prev_plugin_ (pointer, hdata: "plugin") +
|
_prev_plugin_ (pointer, hdata: "plugin") +
|
||||||
_next_plugin_ (pointer, hdata: "plugin") +
|
_next_plugin_ (pointer, hdata: "plugin") +
|
||||||
|
|||||||
@@ -10,6 +10,8 @@
|
|||||||
|
|
||||||
| alias | alias_default | list of default aliases | - | -
|
| alias | alias_default | list of default aliases | - | -
|
||||||
|
|
||||||
|
| buflist | buflist | list of buffers in a buflist bar item | - | buflist bar item name (optional)
|
||||||
|
|
||||||
| fset | fset_option | list of fset options | fset option pointer (optional) | option name (wildcard "*" is allowed) (optional)
|
| fset | fset_option | list of fset options | fset option pointer (optional) | option name (wildcard "*" is allowed) (optional)
|
||||||
|
|
||||||
| guile | guile_script | list of scripts | script pointer (optional) | script name (wildcard "*" is allowed) (optional)
|
| guile | guile_script | list of scripts | script pointer (optional) | script name (wildcard "*" is allowed) (optional)
|
||||||
|
|||||||
@@ -108,6 +108,10 @@
|
|||||||
|
|
||||||
| weechat | pid | WeeChat PID (process ID) | -
|
| weechat | pid | WeeChat PID (process ID) | -
|
||||||
|
|
||||||
|
| weechat | term_color_pairs | number of color pairs supported in terminal | -
|
||||||
|
|
||||||
|
| weechat | term_colors | number of colors supported in terminal | -
|
||||||
|
|
||||||
| weechat | term_height | height of terminal | -
|
| weechat | term_height | height of terminal | -
|
||||||
|
|
||||||
| weechat | term_width | width of terminal | -
|
| weechat | term_width | width of terminal | -
|
||||||
|
|||||||
@@ -62,6 +62,8 @@
|
|||||||
|
|
||||||
| unix_socket_path | string |
|
| unix_socket_path | string |
|
||||||
|
|
||||||
|
| abstract_unix_socket | string |
|
||||||
|
|
||||||
| path_as_is | long |
|
| path_as_is | long |
|
||||||
|
|
||||||
| proxy_service_name | string |
|
| proxy_service_name | string |
|
||||||
@@ -72,15 +74,21 @@
|
|||||||
|
|
||||||
| tcp_fastopen | long |
|
| tcp_fastopen | long |
|
||||||
|
|
||||||
|
| socks5_auth | long |
|
||||||
|
|
||||||
|
| haproxyprotocol | long |
|
||||||
|
|
||||||
|
| doh_url | string |
|
||||||
|
|
||||||
| netrc | long | ignored, optional, required
|
| netrc | long | ignored, optional, required
|
||||||
|
|
||||||
| userpwd | string |
|
| userpwd | string |
|
||||||
|
|
||||||
| proxyuserpwd | string |
|
| proxyuserpwd | string |
|
||||||
|
|
||||||
| httpauth | mask | none, basic, digest, ntlm, any, anysafe, digest_ie, only, ntlm_wb, negotiate
|
| httpauth | mask | none, basic, digest, ntlm, any, anysafe, digest_ie, only, ntlm_wb, negotiate, gssapi, bearer
|
||||||
|
|
||||||
| proxyauth | mask | none, basic, digest, ntlm, any, anysafe, digest_ie, only, ntlm_wb, negotiate
|
| proxyauth | mask | none, basic, digest, ntlm, any, anysafe, digest_ie, only, ntlm_wb, negotiate, gssapi, bearer
|
||||||
|
|
||||||
| netrc_file | string |
|
| netrc_file | string |
|
||||||
|
|
||||||
@@ -104,6 +112,8 @@
|
|||||||
|
|
||||||
| login_options | string |
|
| login_options | string |
|
||||||
|
|
||||||
|
| disallow_username_in_url | long |
|
||||||
|
|
||||||
| autoreferer | long |
|
| autoreferer | long |
|
||||||
|
|
||||||
| followlocation | long |
|
| followlocation | long |
|
||||||
@@ -114,8 +124,6 @@
|
|||||||
|
|
||||||
| postfields | string |
|
| postfields | string |
|
||||||
|
|
||||||
| httppost | list |
|
|
||||||
|
|
||||||
| referer | string |
|
| referer | string |
|
||||||
|
|
||||||
| useragent | string |
|
| useragent | string |
|
||||||
@@ -170,6 +178,8 @@
|
|||||||
|
|
||||||
| stream_weight | long |
|
| stream_weight | long |
|
||||||
|
|
||||||
|
| request_target | string |
|
||||||
|
|
||||||
| mail_from | string |
|
| mail_from | string |
|
||||||
|
|
||||||
| mail_rcpt | list |
|
| mail_rcpt | list |
|
||||||
@@ -258,6 +268,10 @@
|
|||||||
|
|
||||||
| maxfilesize_large | long long |
|
| maxfilesize_large | long long |
|
||||||
|
|
||||||
|
| timevalue_large | long long |
|
||||||
|
|
||||||
|
| upload_buffersize | long |
|
||||||
|
|
||||||
| timeout | long |
|
| timeout | long |
|
||||||
|
|
||||||
| low_speed_limit | long |
|
| low_speed_limit | long |
|
||||||
@@ -300,9 +314,15 @@
|
|||||||
|
|
||||||
| connect_to | list |
|
| connect_to | list |
|
||||||
|
|
||||||
|
| happy_eyeballs_timeout_ms | long |
|
||||||
|
|
||||||
|
| dns_shuffle_addresses | long |
|
||||||
|
|
||||||
|
| upkeep_interval_ms | long |
|
||||||
|
|
||||||
| sslcert | string |
|
| sslcert | string |
|
||||||
|
|
||||||
| sslversion | long | default, tlsv1, sslv2, sslv3, tlsv1_0, tlsv1_1, tlsv1_2, tlsv1_3
|
| sslversion | long | default, tlsv1, sslv2, sslv3, tlsv1_0, tlsv1_1, tlsv1_2, tlsv1_3, max_default, max_none, max_tlsv1_0, max_tlsv1_1, max_tlsv1_2, max_tlsv1_3
|
||||||
|
|
||||||
| ssl_verifypeer | long |
|
| ssl_verifypeer | long |
|
||||||
|
|
||||||
@@ -342,7 +362,7 @@
|
|||||||
|
|
||||||
| gssapi_delegation | long | none, policy_flag, flag
|
| gssapi_delegation | long | none, policy_flag, flag
|
||||||
|
|
||||||
| ssl_options | long | allow_beast, no_revoke
|
| ssl_options | long | allow_beast, no_revoke, no_backends, ok, too_late, unknown_backend
|
||||||
|
|
||||||
| ssl_enable_alpn | long |
|
| ssl_enable_alpn | long |
|
||||||
|
|
||||||
@@ -372,11 +392,11 @@
|
|||||||
|
|
||||||
| proxy_sslkeytype | string |
|
| proxy_sslkeytype | string |
|
||||||
|
|
||||||
| proxy_sslversion | long | default, tlsv1, sslv2, sslv3, tlsv1_0, tlsv1_1, tlsv1_2, tlsv1_3
|
| proxy_sslversion | long | default, tlsv1, sslv2, sslv3, tlsv1_0, tlsv1_1, tlsv1_2, tlsv1_3, max_default, max_none, max_tlsv1_0, max_tlsv1_1, max_tlsv1_2, max_tlsv1_3
|
||||||
|
|
||||||
| proxy_ssl_cipher_list | list |
|
| proxy_ssl_cipher_list | list |
|
||||||
|
|
||||||
| proxy_ssl_options | long | allow_beast, no_revoke
|
| proxy_ssl_options | long | allow_beast, no_revoke, no_backends, ok, too_late, unknown_backend
|
||||||
|
|
||||||
| proxy_ssl_verifyhost | long |
|
| proxy_ssl_verifyhost | long |
|
||||||
|
|
||||||
@@ -388,6 +408,10 @@
|
|||||||
|
|
||||||
| proxy_tlsauth_username | string |
|
| proxy_tlsauth_username | string |
|
||||||
|
|
||||||
|
| tls13_ciphers | list |
|
||||||
|
|
||||||
|
| proxy_tls13_ciphers | list |
|
||||||
|
|
||||||
| ssh_auth_types | mask | none, policy_flag, flag
|
| ssh_auth_types | mask | none, policy_flag, flag
|
||||||
|
|
||||||
| ssh_public_keyfile | string |
|
| ssh_public_keyfile | string |
|
||||||
@@ -398,6 +422,8 @@
|
|||||||
|
|
||||||
| ssh_knownhosts | string |
|
| ssh_knownhosts | string |
|
||||||
|
|
||||||
|
| ssh_compression | long |
|
||||||
|
|
||||||
| new_file_perms | long |
|
| new_file_perms | long |
|
||||||
|
|
||||||
| new_directory_perms | long |
|
| new_directory_perms | long |
|
||||||
|
|||||||
@@ -7,8 +7,6 @@
|
|||||||
| Alias | Command | Completion
|
| Alias | Command | Completion
|
||||||
|
|
||||||
| /AAWAY | /allserv /away | -
|
| /AAWAY | /allserv /away | -
|
||||||
| /AME | /allchan /me | -
|
|
||||||
| /AMSG | /allchan /msg * | -
|
|
||||||
| /ANICK | /allserv /nick | -
|
| /ANICK | /allserv /nick | -
|
||||||
| /BEEP | /print -beep | -
|
| /BEEP | /print -beep | -
|
||||||
| /BYE | /quit | -
|
| /BYE | /quit | -
|
||||||
@@ -35,8 +33,9 @@
|
|||||||
| /UMODE | /mode $nick | -
|
| /UMODE | /mode $nick | -
|
||||||
| /V | /command core version | -
|
| /V | /command core version | -
|
||||||
| /W | /who | -
|
| /W | /who | -
|
||||||
| /WC | /window merge | -
|
| /WC | /window close | -
|
||||||
| /WI | /whois | -
|
| /WI | /whois | -
|
||||||
| /WII | /whois $1 $1 | -
|
| /WII | /whois $1 $1 | -
|
||||||
|
| /WM | /window merge | -
|
||||||
| /WW | /whowas | -
|
| /WW | /whowas | -
|
||||||
|===
|
|===
|
||||||
|
|||||||
@@ -27,7 +27,7 @@
|
|||||||
** default value: `+0+`
|
** default value: `+0+`
|
||||||
|
|
||||||
* [[option_exec.command.shell]] *exec.command.shell*
|
* [[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")]
|
** 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"); if value is empty, "sh" is used (note: content is evaluated, see /help eval)]
|
||||||
** type: string
|
** type: string
|
||||||
** values: any string
|
** values: any string
|
||||||
** default value: `+"sh"+`
|
** default value: `+"${env:SHELL}"+`
|
||||||
|
|||||||
@@ -51,6 +51,8 @@
|
|||||||
d:xxx show only changed options with "xxx" in name
|
d:xxx show only changed options with "xxx" in name
|
||||||
d=xxx show only changed options with "xxx" in value
|
d=xxx show only changed options with "xxx" in value
|
||||||
d==xxx show only changed options with exact value "xxx"
|
d==xxx show only changed options with exact value "xxx"
|
||||||
|
h=xxx show only options with "xxx" in description (translated)
|
||||||
|
he=xxx show only options with "xxx" in description (in English)
|
||||||
=xxx show only options with "xxx" in value
|
=xxx show only options with "xxx" in value
|
||||||
==xxx show only options with exact value "xxx"
|
==xxx show only options with exact value "xxx"
|
||||||
c:xxx show only options matching the evaluated condition "xxx", using following variables: file, section, option, name, parent_name, type, type_en, type_short (bool/int/str/col), type_tiny (b/i/s/c), default_value, default_value_undef, value, quoted_value, value_undef, value_changed, parent_value, min, max, description, description2, description_en, description_en2, string_values
|
c:xxx show only options matching the evaluated condition "xxx", using following variables: file, section, option, name, parent_name, type, type_en, type_short (bool/int/str/col), type_tiny (b/i/s/c), default_value, default_value_undef, value, quoted_value, value_undef, value_changed, parent_value, min, max, description, description2, description_en, description_en2, string_values
|
||||||
|
|||||||
@@ -124,7 +124,7 @@ Examples:
|
|||||||
* `+connect+`: connect to IRC server(s)
|
* `+connect+`: connect to IRC server(s)
|
||||||
|
|
||||||
----
|
----
|
||||||
/connect <server> [<server>...] [-<option>[=<value>]] [-no<option>] [-nojoin] [-switch]
|
/connect [<server> [<server>...]] [-<option>[=<value>]] [-no<option>] [-nojoin] [-switch]
|
||||||
-all|-auto|-open [-nojoin] [-switch]
|
-all|-auto|-open [-nojoin] [-switch]
|
||||||
|
|
||||||
server: server name, which can be:
|
server: server name, which can be:
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
** description: pass:none[comma separated list of commands for which spell checking is enabled (spell checking is disabled for all other commands)]
|
** description: pass:none[comma separated list of commands for which spell checking is enabled (spell checking is disabled for all other commands)]
|
||||||
** type: string
|
** type: string
|
||||||
** values: any string
|
** values: any string
|
||||||
** default value: `+"ame,amsg,away,command,cycle,kick,kickban,me,msg,notice,part,query,quit,topic"+`
|
** default value: `+"away,command,cycle,kick,kickban,me,msg,notice,part,query,quit,topic"+`
|
||||||
|
|
||||||
* [[option_spell.check.default_dict]] *spell.check.default_dict*
|
* [[option_spell.check.default_dict]] *spell.check.default_dict*
|
||||||
** description: pass:none[default dictionary (or comma separated list of dictionaries) to use when buffer has no dictionary defined (leave blank to disable spell checker on buffers for which you didn't explicitly enabled it)]
|
** description: pass:none[default dictionary (or comma separated list of dictionaries) to use when buffer has no dictionary defined (leave blank to disable spell checker on buffers for which you didn't explicitly enabled it)]
|
||||||
|
|||||||
@@ -214,6 +214,11 @@ Default keys in cursor mode on nicklist:
|
|||||||
q open query with nick (/query)
|
q open query with nick (/query)
|
||||||
w query information about user (/whois)
|
w query information about user (/whois)
|
||||||
|
|
||||||
|
Other default keys in cursor mode:
|
||||||
|
arrow move cursor
|
||||||
|
alt+arrow move cursor to the next area
|
||||||
|
enter exit cursor mode
|
||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
go to nicklist:
|
go to nicklist:
|
||||||
/cursor go nicklist
|
/cursor go nicklist
|
||||||
@@ -974,6 +979,7 @@ Examples:
|
|||||||
resize [-window <number>] [h|v][+|-]<pct>
|
resize [-window <number>] [h|v][+|-]<pct>
|
||||||
balance
|
balance
|
||||||
merge [-window <number>] [all]
|
merge [-window <number>] [all]
|
||||||
|
close [-window <number>]
|
||||||
page_up|page_down [-window <number>]
|
page_up|page_down [-window <number>]
|
||||||
refresh
|
refresh
|
||||||
scroll [-window <number>] [+|-]<value>[s|m|h|d|M|y]
|
scroll [-window <number>] [+|-]<value>[s|m|h|d|M|y]
|
||||||
@@ -998,6 +1004,7 @@ Examples:
|
|||||||
if "h" or "v" is specified, the resize affects the nearest parent window with a split of this type (horizontal/vertical)
|
if "h" or "v" is specified, the resize affects the nearest parent window with a split of this type (horizontal/vertical)
|
||||||
balance: balance the sizes of all windows
|
balance: balance the sizes of all windows
|
||||||
merge: merge window with another (all = keep only one window)
|
merge: merge window with another (all = keep only one window)
|
||||||
|
close: close window
|
||||||
page_up: scroll one page up
|
page_up: scroll one page up
|
||||||
page_down: scroll one page down
|
page_down: scroll one page down
|
||||||
refresh: refresh screen
|
refresh: refresh screen
|
||||||
@@ -1034,8 +1041,10 @@ Examples:
|
|||||||
/window resize 75
|
/window resize 75
|
||||||
resize vertical split, add 10% in size:
|
resize vertical split, add 10% in size:
|
||||||
/window resize v+10
|
/window resize v+10
|
||||||
remove the split:
|
remove the split, keep the current window:
|
||||||
/window merge
|
/window merge
|
||||||
|
close the current window:
|
||||||
|
/window close
|
||||||
enable bare display for 2 seconds:
|
enable bare display for 2 seconds:
|
||||||
/window bare 2
|
/window bare 2
|
||||||
----
|
----
|
||||||
|
|||||||
@@ -921,9 +921,9 @@
|
|||||||
** default value: `+""+`
|
** default value: `+""+`
|
||||||
|
|
||||||
* [[option_weechat.look.nick_color_hash]] *weechat.look.nick_color_hash*
|
* [[option_weechat.look.nick_color_hash]] *weechat.look.nick_color_hash*
|
||||||
** description: pass:none[hash algorithm used to find the color for a nick: djb2 = variant of djb2 (position of letters matters: anagrams of a nick have different color), sum = sum of letters]
|
** description: pass:none[hash algorithm used to find the color for a nick: djb2 = variant of djb2 (position of letters matters: anagrams of a nick have different color), djb2_32 = variant of djb2 using 32-bit instead of 64-bit integer, sum = sum of letters, sum_32 = sum of letters using 32-bit instead of 64-bit integer]
|
||||||
** type: integer
|
** type: integer
|
||||||
** values: djb2, sum
|
** values: djb2, sum, djb2_32, sum_32
|
||||||
** default value: `+djb2+`
|
** default value: `+djb2+`
|
||||||
|
|
||||||
* [[option_weechat.look.nick_color_stop_chars]] *weechat.look.nick_color_stop_chars*
|
* [[option_weechat.look.nick_color_stop_chars]] *weechat.look.nick_color_stop_chars*
|
||||||
|
|||||||
+46
-27
@@ -236,6 +236,7 @@ WeeChat "core" is located in following directories:
|
|||||||
| buflist-bar-item.c | Buflist bar items.
|
| buflist-bar-item.c | Buflist bar items.
|
||||||
| buflist-command.c | Buflist commands.
|
| buflist-command.c | Buflist commands.
|
||||||
| buflist-config.c | Buflist config options (file buflist.conf).
|
| buflist-config.c | Buflist config options (file buflist.conf).
|
||||||
|
| buflist-info.c | Buflist info/infolists/hdata.
|
||||||
| buflist-mouse.c | Buflist mouse actions.
|
| buflist-mouse.c | Buflist mouse actions.
|
||||||
| charset/ | Charset plugin.
|
| charset/ | Charset plugin.
|
||||||
| charset.c | Charset functions.
|
| charset.c | Charset functions.
|
||||||
@@ -400,9 +401,15 @@ WeeChat "core" is located in following directories:
|
|||||||
| test-core-util.cpp | Tests: utility functions.
|
| test-core-util.cpp | Tests: utility functions.
|
||||||
| gui/ | Root of unit tests for interfaces.
|
| gui/ | Root of unit tests for interfaces.
|
||||||
| test-gui-line.cpp | Tests: lines.
|
| test-gui-line.cpp | Tests: lines.
|
||||||
|
| test-gui-nick.cpp | Tests: nicks.
|
||||||
| plugins/ | Root of unit tests for plugins.
|
| plugins/ | Root of unit tests for plugins.
|
||||||
| irc/ | Root of unit tests for IRC plugin.
|
| irc/ | Root of unit tests for IRC plugin.
|
||||||
|
| test-irc-color.cpp | Tests: IRC colors.
|
||||||
| test-irc-config.cpp | Tests: IRC configuration.
|
| test-irc-config.cpp | Tests: IRC configuration.
|
||||||
|
| test-irc-ignore.cpp | Tests: IRC ignores.
|
||||||
|
| test-irc-message.cpp | Tests: IRC messages.
|
||||||
|
| test-irc-mode.cpp | Tests: IRC modes.
|
||||||
|
| test-irc-nick.cpp | Tests: IRC nicks.
|
||||||
| test-irc-protocol.cpp | Tests: IRC protocol.
|
| test-irc-protocol.cpp | Tests: IRC protocol.
|
||||||
|
|
||||||
|===
|
|===
|
||||||
@@ -873,34 +880,46 @@ All combinations are summarized in this table:
|
|||||||
|
|
||||||
[width="100%",cols="4,2,2,8",options="header"]
|
[width="100%",cols="4,2,2,8",options="header"]
|
||||||
|===
|
|===
|
||||||
| Code | Example | Areas | Description
|
| Code | Example | Areas | Description
|
||||||
| [hex]#19# + STD | [hex]#19# `+01+` | chat + bars | Set attributes and color using option, see table below.
|
| [hex]#19# + STD | [hex]#19# `+01+` | chat + bars | Set attributes and color using option, see table below.
|
||||||
| [hex]#19# + EXT | [hex]#19# `+@00001+` | chat | Set color with a ncurses pair (used only on `/color` buffer).
|
| [hex]#19# + EXT | [hex]#19# `+@00001+` | chat | Set color with a ncurses pair (used only on `/color` buffer).
|
||||||
| [hex]#19# + "F" + (A)STD | [hex]#19# `+F*05+` | chat + bars | Set foreground (WeeChat color).
|
| [hex]#19# + "F" + (A)STD | [hex]#19# `+F*05+` | chat + bars | Set foreground (WeeChat color).
|
||||||
| [hex]#19# + "F" + (A)EXT | [hex]#19# `+F@00214+` | chat + bars | Set foreground (extended color).
|
| [hex]#19# + "F" + (A)EXT | [hex]#19# `+F@00214+` | chat + bars | Set foreground (extended color).
|
||||||
| [hex]#19# + "B" + STD | [hex]#19# `+B05+` | chat + bars | Set background (WeeChat color).
|
| [hex]#19# + "B" + STD | [hex]#19# `+B05+` | chat + bars | Set background (WeeChat color).
|
||||||
| [hex]#19# + "B" + EXT | [hex]#19# `+B@00124+` | chat + bars | Set background (extended color).
|
| [hex]#19# + "B" + EXT | [hex]#19# `+B@00124+` | chat + bars | Set background (extended color).
|
||||||
| [hex]#19# + "*" + (A)STD | [hex]#19# `+*05+` | chat + bars | Set foreground (WeeChat color).
|
| [hex]#19# + "*" + (A)STD | [hex]#19# `+*05+` | chat + bars | Set foreground (WeeChat color).
|
||||||
| [hex]#19# + "*" + (A)EXT | [hex]#19# `+*@00214+` | chat + bars | Set foreground (extended color).
|
| [hex]#19# + "*" + (A)EXT | [hex]#19# `+*@00214+` | chat + bars | Set foreground (extended color).
|
||||||
| [hex]#19# + "*" + (A)STD + "," + STD | [hex]#19# `+*08,05+` | chat + bars | Set foreground/background (WeeChat colors).
|
| [hex]#19# + "*" + (A)STD + "," + STD ^(1)^ | [hex]#19# `+*08,05+` | chat + bars | Set foreground/background (WeeChat colors).
|
||||||
| [hex]#19# + "*" + (A)STD + "," + EXT | [hex]#19# `+*01,@00214+` | chat + bars | Set foreground (WeeChat color) and background (extended color).
|
| [hex]#19# + "*" + (A)STD + "," + EXT ^(1)^ | [hex]#19# `+*01,@00214+` | chat + bars | Set foreground (WeeChat color) and background (extended color).
|
||||||
| [hex]#19# + "*" + (A)EXT + "," + STD | [hex]#19# `+*@00214,05+` | chat + bars | Set foreground (extended color) and background (WeeChat color).
|
| [hex]#19# + "*" + (A)EXT + "," + STD ^(1)^ | [hex]#19# `+*@00214,05+` | chat + bars | Set foreground (extended color) and background (WeeChat color).
|
||||||
| [hex]#19# + "*" + (A)EXT + "," + EXT | [hex]#19# `+*@00214,@00017+` | chat + bars | Set foreground/background (extended colors).
|
| [hex]#19# + "*" + (A)EXT + "," + EXT ^(1)^ | [hex]#19# `+*@00214,@00017+` | chat + bars | Set foreground/background (extended colors).
|
||||||
| [hex]#19# + "b" + "F" | [hex]#19# `+bF+` | bars | Set bar foreground color.
|
| [hex]#19# + "*" + (A)STD + "~" + STD | [hex]#19# `+*08~05+` | chat + bars | Set foreground/background (WeeChat colors).
|
||||||
| [hex]#19# + "b" + "D" | [hex]#19# `+bD+` | bars | Set bar delimiter color.
|
| [hex]#19# + "*" + (A)STD + "~" + EXT | [hex]#19# `+*01~@00214+` | chat + bars | Set foreground (WeeChat color) and background (extended color).
|
||||||
| [hex]#19# + "b" + "B" | [hex]#19# `+bB+` | bars | Set bar background color.
|
| [hex]#19# + "*" + (A)EXT + "~" + STD | [hex]#19# `+*@00214~05+` | chat + bars | Set foreground (extended color) and background (WeeChat color).
|
||||||
| [hex]#19# + "b" + "_" | [hex]#19# `+b_+` | input bar | Start input char (used only in item "input_text").
|
| [hex]#19# + "*" + (A)EXT + "~" + EXT | [hex]#19# `+*@00214~@00017+` | chat + bars | Set foreground/background (extended colors).
|
||||||
| [hex]#19# + "b" + "-" | [hex]#19# `+b-+` | input bar | Start input hidden char (used only in item "input_text").
|
| [hex]#19# + "b" + "F" | [hex]#19# `+bF+` | bars | Set bar foreground color.
|
||||||
| [hex]#19# + "b" + "#" | [hex]#19# `+b#+` | input bar | Move cursor char (used only in item "input_text").
|
| [hex]#19# + "b" + "D" | [hex]#19# `+bD+` | bars | Set bar delimiter color.
|
||||||
| [hex]#19# + "b" + "i" | [hex]#19# `+bi+` | bars | Start item.
|
| [hex]#19# + "b" + "B" | [hex]#19# `+bB+` | bars | Set bar background color.
|
||||||
| [hex]#19# + "b" + "l" (lower L) | [hex]#19# `+bl+` | bars | Start line item.
|
| [hex]#19# + "b" + "_" | [hex]#19# `+b_+` | input bar | Start input char (used only in item "input_text").
|
||||||
| [hex]#19# + "E" | [hex]#19# `+E+` | chat + bars | Emphasize text _(WeeChat ≥ 0.4.2)_.
|
| [hex]#19# + "b" + "-" | [hex]#19# `+b-+` | input bar | Start input hidden char (used only in item "input_text").
|
||||||
| [hex]#19# + [hex]#1C# | [hex]#19# [hex]#1C# | chat + bars | Reset color (keep attributes).
|
| [hex]#19# + "b" + "#" | [hex]#19# `+b#+` | input bar | Move cursor char (used only in item "input_text").
|
||||||
| [hex]#1A# + ATTR | [hex]#1A# `+*+` | chat + bars | Set attribute.
|
| [hex]#19# + "b" + "i" | [hex]#19# `+bi+` | bars | Start item.
|
||||||
| [hex]#1B# + ATTR | [hex]#1B# `+*+` | chat + bars | Remove attribute.
|
| [hex]#19# + "b" + "l" (lower L) | [hex]#19# `+bl+` | bars | Start line item.
|
||||||
| [hex]#1C# | [hex]#1C# | chat + bars | Reset attributes and color.
|
| [hex]#19# + "E" | [hex]#19# `+E+` | chat + bars | Emphasize text _(WeeChat ≥ 0.4.2)_.
|
||||||
|
| [hex]#19# + [hex]#1C# | [hex]#19# [hex]#1C# | chat + bars | Reset color (keep attributes).
|
||||||
|
| [hex]#1A# + ATTR | [hex]#1A# `+*+` | chat + bars | Set attribute.
|
||||||
|
| [hex]#1B# + ATTR | [hex]#1B# `+*+` | chat + bars | Remove attribute.
|
||||||
|
| [hex]#1C# | [hex]#1C# | chat + bars | Reset attributes and color.
|
||||||
|===
|
|===
|
||||||
|
|
||||||
|
[NOTE]
|
||||||
|
^(1)^ The use of comma as separator was used until WeeChat 2.5. +
|
||||||
|
With WeeChat ≥ 2.6, a tilde is used to separate foreground from background
|
||||||
|
color. If you are developing a WeeChat relay client and want to be compatible
|
||||||
|
with all WeeChat versions, you should support both separators (for example if a
|
||||||
|
user with WeeChat ≤ 2.5 runs `/upgrade` to a version ≥ 2.6, both separators
|
||||||
|
could be used at same time in buffers).
|
||||||
|
|
||||||
Color codes using options (see _t_gui_color_enum_, in file
|
Color codes using options (see _t_gui_color_enum_, in file
|
||||||
_src/gui/gui-color.h_):
|
_src/gui/gui-color.h_):
|
||||||
|
|
||||||
@@ -1086,7 +1105,7 @@ Examples of commit messages:
|
|||||||
irc: add command /unquiet (closes #36)
|
irc: add command /unquiet (closes #36)
|
||||||
core: add callback "nickcmp" for nick comparison in buffers
|
core: add callback "nickcmp" for nick comparison in buffers
|
||||||
irc: fix freeze when reading on socket with SSL enabled (bug #35097)
|
irc: fix freeze when reading on socket with SSL enabled (bug #35097)
|
||||||
ruby: add detection of ruby version 1.9.3 in cmake
|
ruby: add detection of ruby version 1.9.3 in CMake
|
||||||
python: fix crash when unloading a script without pointer to interpreter
|
python: fix crash when unloading a script without pointer to interpreter
|
||||||
core: update Japanese translations (patch #7783)
|
core: update Japanese translations (patch #7783)
|
||||||
----
|
----
|
||||||
|
|||||||
@@ -47,10 +47,10 @@ https://weechat.org/about/interfaces
|
|||||||
=== I can't compile WeeChat after cloning git repository, why?
|
=== I can't compile WeeChat after cloning git repository, why?
|
||||||
|
|
||||||
The recommended way to compile WeeChat is with
|
The recommended way to compile WeeChat is with
|
||||||
link:weechat_user.en.html#compile_with_cmake[cmake].
|
link:weechat_user.en.html#compile_with_cmake[CMake].
|
||||||
|
|
||||||
If you're compiling with link:weechat_user.en.html#compile_with_autotools[autotools]
|
If you're compiling with link:weechat_user.en.html#compile_with_autotools[autotools]
|
||||||
(and not cmake), check that you have latest version of autoconf and automake.
|
(and not CMake), check that you have latest version of autoconf and automake.
|
||||||
|
|
||||||
The other way is to install the "devel package", which needs less dependencies.
|
The other way is to install the "devel package", which needs less dependencies.
|
||||||
This package is built almost every day using git repository. Note that this
|
This package is built almost every day using git repository. Note that this
|
||||||
@@ -69,7 +69,7 @@ brew info weechat
|
|||||||
You can install WeeChat with this command:
|
You can install WeeChat with this command:
|
||||||
|
|
||||||
----
|
----
|
||||||
brew install weechat --with-aspell --with-curl --with-python --with-perl --with-ruby --with-lua --with-guile
|
brew install weechat
|
||||||
----
|
----
|
||||||
|
|
||||||
[[lost]]
|
[[lost]]
|
||||||
|
|||||||
@@ -94,14 +94,39 @@ Arguments:
|
|||||||
|
|
||||||
* _plugin_: pointer to WeeChat plugin structure, used to initialize the
|
* _plugin_: pointer to WeeChat plugin structure, used to initialize the
|
||||||
convenience global pointer `weechat_plugin`
|
convenience global pointer `weechat_plugin`
|
||||||
* _argc_: number of arguments for plugin (given on command line by user)
|
* _argc_: number of arguments for plugin
|
||||||
* _argv_: arguments for plugin
|
* _argv_: arguments for plugin (see below)
|
||||||
|
|
||||||
Return value:
|
Return value:
|
||||||
|
|
||||||
* _WEECHAT_RC_OK_ if successful (plugin will be loaded)
|
* _WEECHAT_RC_OK_ if successful (plugin will be loaded)
|
||||||
* _WEECHAT_RC_ERROR_ if error (plugin will NOT be loaded)
|
* _WEECHAT_RC_ERROR_ if error (plugin will NOT be loaded)
|
||||||
|
|
||||||
|
[[plugin_arguments]]
|
||||||
|
===== Plugin arguments
|
||||||
|
|
||||||
|
When the plugin is loaded by WeeChat, it receives the list of arguments
|
||||||
|
in parameter `argv` and the number of arguments in `argc`.
|
||||||
|
|
||||||
|
The arguments can be:
|
||||||
|
|
||||||
|
* command line arguments when running the WeeChat binary,
|
||||||
|
* arguments given to the command `/plugin load xxx`, when the plugin is manually
|
||||||
|
loaded by the user.
|
||||||
|
|
||||||
|
When the arguments come from the command line, only these arguments are sent to
|
||||||
|
the plugin:
|
||||||
|
|
||||||
|
*-a*, *--no-connect*::
|
||||||
|
Disable auto-connect to servers when WeeChat is starting.
|
||||||
|
|
||||||
|
*-s*, *--no-script*::
|
||||||
|
Disable scripts auto-load.
|
||||||
|
|
||||||
|
*plugin:option*::
|
||||||
|
Option for a plugin: only the plugin-related options are sent, for example
|
||||||
|
only the options starting with `irc:` are sent to the plugin called "irc".
|
||||||
|
|
||||||
[[plugin_priority]]
|
[[plugin_priority]]
|
||||||
===== Plugin priority
|
===== Plugin priority
|
||||||
|
|
||||||
@@ -248,6 +273,29 @@ For each function, we give:
|
|||||||
* C example,
|
* C example,
|
||||||
* example in Python script (syntax for other scripting languages is similar).
|
* example in Python script (syntax for other scripting languages is similar).
|
||||||
|
|
||||||
|
[[registering]]
|
||||||
|
=== Registering
|
||||||
|
|
||||||
|
Functions to register a script: used only by scripting API, not the C API.
|
||||||
|
|
||||||
|
==== register
|
||||||
|
|
||||||
|
Register the script.
|
||||||
|
|
||||||
|
For more information, see the
|
||||||
|
link:weechat_scripting.en.html#register_function[WeeChat scripting guide].
|
||||||
|
|
||||||
|
Script (Python):
|
||||||
|
|
||||||
|
[source,python]
|
||||||
|
----
|
||||||
|
# prototype
|
||||||
|
weechat.register(name, author, version, license, description, shutdown_function, charset)
|
||||||
|
----
|
||||||
|
|
||||||
|
[NOTE]
|
||||||
|
This function is not available in the C API.
|
||||||
|
|
||||||
[[plugins]]
|
[[plugins]]
|
||||||
=== Plugins
|
=== Plugins
|
||||||
|
|
||||||
@@ -1483,7 +1531,7 @@ This function is not available in scripting API.
|
|||||||
|
|
||||||
==== string_split
|
==== string_split
|
||||||
|
|
||||||
_Updated in 2.5._
|
_Updated in 2.5, 2.6._
|
||||||
|
|
||||||
Split a string according to one or more delimiter(s).
|
Split a string according to one or more delimiter(s).
|
||||||
|
|
||||||
@@ -1492,13 +1540,16 @@ Prototype:
|
|||||||
[source,C]
|
[source,C]
|
||||||
----
|
----
|
||||||
char **weechat_string_split (const char *string, const char *separators,
|
char **weechat_string_split (const char *string, const char *separators,
|
||||||
int flags, int num_items_max, int *num_items);
|
const char *strip_items, int flags,
|
||||||
|
int num_items_max, int *num_items);
|
||||||
----
|
----
|
||||||
|
|
||||||
Arguments:
|
Arguments:
|
||||||
|
|
||||||
* _string_: string to split
|
* _string_: string to split
|
||||||
* _separators_: delimiters used for split
|
* _separators_: delimiters used for split
|
||||||
|
* _strip_items_: chars to strip from returned items (left/right);
|
||||||
|
optional, can be NULL
|
||||||
* _flags_: combination values to change the default behavior; if the value is 0,
|
* _flags_: combination values to change the default behavior; if the value is 0,
|
||||||
the default behavior is used (no strip of separators at beginning/end of string,
|
the default behavior is used (no strip of separators at beginning/end of string,
|
||||||
multiple separators are kept as-is so empty strings can be returned);
|
multiple separators are kept as-is so empty strings can be returned);
|
||||||
@@ -1536,7 +1587,7 @@ C example:
|
|||||||
char **argv;
|
char **argv;
|
||||||
int argc;
|
int argc;
|
||||||
|
|
||||||
argv = weechat_string_split ("abc de fghi ", " ", 0, 0, &argc);
|
argv = weechat_string_split ("abc de fghi ", " ", NULL, 0, 0, &argc);
|
||||||
/* result: argv[0] == "abc"
|
/* result: argv[0] == "abc"
|
||||||
argv[1] == "de"
|
argv[1] == "de"
|
||||||
argv[2] == ""
|
argv[2] == ""
|
||||||
@@ -1547,7 +1598,7 @@ argv = weechat_string_split ("abc de fghi ", " ", 0, 0, &argc);
|
|||||||
*/
|
*/
|
||||||
weechat_string_free_split (argv);
|
weechat_string_free_split (argv);
|
||||||
|
|
||||||
argv = weechat_string_split ("abc de fghi ", " ",
|
argv = weechat_string_split ("abc de fghi ", " ", NULL,
|
||||||
WEECHAT_STRING_SPLIT_STRIP_LEFT
|
WEECHAT_STRING_SPLIT_STRIP_LEFT
|
||||||
| WEECHAT_STRING_SPLIT_STRIP_RIGHT
|
| WEECHAT_STRING_SPLIT_STRIP_RIGHT
|
||||||
| WEECHAT_STRING_SPLIT_COLLAPSE_SEPS,
|
| WEECHAT_STRING_SPLIT_COLLAPSE_SEPS,
|
||||||
@@ -1560,7 +1611,7 @@ argv = weechat_string_split ("abc de fghi ", " ",
|
|||||||
*/
|
*/
|
||||||
weechat_string_free_split (argv);
|
weechat_string_free_split (argv);
|
||||||
|
|
||||||
argv = weechat_string_split ("abc de fghi ", " ",
|
argv = weechat_string_split ("abc de fghi ", " ", NULL,
|
||||||
WEECHAT_STRING_SPLIT_STRIP_LEFT
|
WEECHAT_STRING_SPLIT_STRIP_LEFT
|
||||||
| WEECHAT_STRING_SPLIT_STRIP_RIGHT
|
| WEECHAT_STRING_SPLIT_STRIP_RIGHT
|
||||||
| WEECHAT_STRING_SPLIT_COLLAPSE_SEPS
|
| WEECHAT_STRING_SPLIT_COLLAPSE_SEPS
|
||||||
@@ -1574,7 +1625,7 @@ argv = weechat_string_split ("abc de fghi ", " ",
|
|||||||
*/
|
*/
|
||||||
weechat_string_free_split (argv);
|
weechat_string_free_split (argv);
|
||||||
|
|
||||||
argv = weechat_string_split ("abc de fghi ", " ",
|
argv = weechat_string_split ("abc de fghi ", " ", NULL,
|
||||||
WEECHAT_STRING_SPLIT_STRIP_LEFT
|
WEECHAT_STRING_SPLIT_STRIP_LEFT
|
||||||
| WEECHAT_STRING_SPLIT_COLLAPSE_SEPS
|
| WEECHAT_STRING_SPLIT_COLLAPSE_SEPS
|
||||||
| WEECHAT_STRING_SPLIT_KEEP_EOL,
|
| WEECHAT_STRING_SPLIT_KEEP_EOL,
|
||||||
@@ -1586,6 +1637,19 @@ argv = weechat_string_split ("abc de fghi ", " ",
|
|||||||
argc == 3
|
argc == 3
|
||||||
*/
|
*/
|
||||||
weechat_string_free_split (argv);
|
weechat_string_free_split (argv);
|
||||||
|
|
||||||
|
argv = weechat_string_split (" abc, de,, fghi ", ",", " ",
|
||||||
|
WEECHAT_STRING_SPLIT_STRIP_LEFT
|
||||||
|
| WEECHAT_STRING_SPLIT_STRIP_RIGHT
|
||||||
|
| WEECHAT_STRING_SPLIT_COLLAPSE_SEPS,
|
||||||
|
0, &argc);
|
||||||
|
/* result: argv[0] == "abc"
|
||||||
|
argv[1] == "de"
|
||||||
|
argv[2] == "fghi"
|
||||||
|
argv[3] == NULL
|
||||||
|
argc == 3
|
||||||
|
*/
|
||||||
|
weechat_string_free_split (argv);
|
||||||
----
|
----
|
||||||
|
|
||||||
[NOTE]
|
[NOTE]
|
||||||
@@ -4007,6 +4071,37 @@ value = weechat.list_string(item)
|
|||||||
weechat.prnt("", "value of item: %s" % weechat.list_string(item))
|
weechat.prnt("", "value of item: %s" % weechat.list_string(item))
|
||||||
----
|
----
|
||||||
|
|
||||||
|
==== list_user_data
|
||||||
|
|
||||||
|
_WeeChat ≥ 2.6._
|
||||||
|
|
||||||
|
Return pointer to the user data of an item.
|
||||||
|
|
||||||
|
Prototype:
|
||||||
|
|
||||||
|
[source,C]
|
||||||
|
----
|
||||||
|
void *weechat_list_user_data (struct t_weelist_item *item);
|
||||||
|
----
|
||||||
|
|
||||||
|
Arguments:
|
||||||
|
|
||||||
|
* _item_: item pointer
|
||||||
|
|
||||||
|
Return value:
|
||||||
|
|
||||||
|
* pointer to the user data of item
|
||||||
|
|
||||||
|
C example:
|
||||||
|
|
||||||
|
[source,C]
|
||||||
|
----
|
||||||
|
weechat_printf (NULL, "user data of item: 0x%lx", weechat_list_user_data (item));
|
||||||
|
----
|
||||||
|
|
||||||
|
[NOTE]
|
||||||
|
This function is not available in scripting API.
|
||||||
|
|
||||||
==== list_size
|
==== list_size
|
||||||
|
|
||||||
Return size of list (number of items).
|
Return size of list (number of items).
|
||||||
@@ -8928,7 +9023,7 @@ struct t_hashtable *options_url1 = weechat_hashtable_new (8,
|
|||||||
NULL);
|
NULL);
|
||||||
if (options_url1)
|
if (options_url1)
|
||||||
{
|
{
|
||||||
weechat_hashtable_set (options, "file_out", "/tmp/weechat.org.html");
|
weechat_hashtable_set (options_url1, "file_out", "/tmp/weechat.org.html");
|
||||||
struct t_hook *my_process_hook = weechat_hook_process_hashtable ("url:https://weechat.org/",
|
struct t_hook *my_process_hook = weechat_hook_process_hashtable ("url:https://weechat.org/",
|
||||||
options_url1,
|
options_url1,
|
||||||
20000,
|
20000,
|
||||||
@@ -8944,7 +9039,7 @@ struct t_hashtable *options_url2 = weechat_hashtable_new (8,
|
|||||||
NULL);
|
NULL);
|
||||||
if (options_url2)
|
if (options_url2)
|
||||||
{
|
{
|
||||||
weechat_hashtable_set (options, "httpheader",
|
weechat_hashtable_set (options_url2, "httpheader",
|
||||||
"Header1: value1\n"
|
"Header1: value1\n"
|
||||||
"Header2: value2");
|
"Header2: value2");
|
||||||
struct t_hook *my_process_hook = weechat_hook_process_hashtable ("url:http://localhost:8080/",
|
struct t_hook *my_process_hook = weechat_hook_process_hashtable ("url:http://localhost:8080/",
|
||||||
@@ -13032,8 +13127,8 @@ Prototype:
|
|||||||
|
|
||||||
[source,C]
|
[source,C]
|
||||||
----
|
----
|
||||||
int weechat_window_get_string (struct t_gui_window *window,
|
const char *weechat_window_get_string (struct t_gui_window *window,
|
||||||
const char *property);
|
const char *property);
|
||||||
----
|
----
|
||||||
|
|
||||||
Arguments:
|
Arguments:
|
||||||
@@ -13045,6 +13140,14 @@ Return value:
|
|||||||
|
|
||||||
* string value of property
|
* string value of property
|
||||||
|
|
||||||
|
Script (Python):
|
||||||
|
|
||||||
|
[source,python]
|
||||||
|
----
|
||||||
|
# prototype
|
||||||
|
value = weechat.window_get_string(window, property)
|
||||||
|
----
|
||||||
|
|
||||||
==== window_get_pointer
|
==== window_get_pointer
|
||||||
|
|
||||||
Return pointer value of a window property.
|
Return pointer value of a window property.
|
||||||
|
|||||||
@@ -83,7 +83,7 @@ $ tar xvjf weechat-devel.tar.bz2
|
|||||||
$ cd weechat-devel
|
$ cd weechat-devel
|
||||||
----
|
----
|
||||||
|
|
||||||
To build sources, cmake is recommended:
|
To build sources, CMake is recommended:
|
||||||
|
|
||||||
----
|
----
|
||||||
$ mkdir build
|
$ mkdir build
|
||||||
@@ -93,7 +93,7 @@ $ make
|
|||||||
$ make install
|
$ make install
|
||||||
----
|
----
|
||||||
|
|
||||||
If you don't have cmake, it's still possible to use autotools:
|
If you don't have CMake, it's still possible to use autotools:
|
||||||
|
|
||||||
----
|
----
|
||||||
$ ./autogen.sh
|
$ ./autogen.sh
|
||||||
|
|||||||
+53
-48
@@ -79,12 +79,11 @@ instructions.
|
|||||||
[[source_package]]
|
[[source_package]]
|
||||||
=== Source package
|
=== Source package
|
||||||
|
|
||||||
WeeChat can be compiled with cmake or autotools (cmake is recommended way).
|
WeeChat can be compiled with CMake or autotools (CMake is recommended way).
|
||||||
|
|
||||||
[NOTE]
|
[NOTE]
|
||||||
On macOS, you can use https://brew.sh/[Homebrew]:
|
On macOS, you can use https://brew.sh/[Homebrew]:
|
||||||
`brew install weechat --with-python --with-perl`
|
`brew install weechat` (for help: `brew info weechat`).
|
||||||
(for help: `brew info weechat`).
|
|
||||||
|
|
||||||
[[dependencies]]
|
[[dependencies]]
|
||||||
==== Dependencies
|
==== Dependencies
|
||||||
@@ -98,7 +97,7 @@ compile WeeChat.
|
|||||||
| C compiler
|
| C compiler
|
||||||
(gcc, clang, ...) | | *yes* | Build.
|
(gcc, clang, ...) | | *yes* | Build.
|
||||||
| C++ compiler | | | Build and run tests, JavaScript plugin.
|
| C++ compiler | | | Build and run tests, JavaScript plugin.
|
||||||
| cmake | ≥ 3.0 | *yes* | Build (autotools still possible, but cmake is recommended).
|
| cmake | ≥ 3.0 | *yes* | Build (autotools still possible, but CMake is recommended).
|
||||||
| pkg-config | | *yes* | Detect installed libraries.
|
| pkg-config | | *yes* | Detect installed libraries.
|
||||||
| libncursesw5-dev ^(2)^ | | *yes* | Ncurses interface.
|
| libncursesw5-dev ^(2)^ | | *yes* | Ncurses interface.
|
||||||
| libcurl4-gnutls-dev | | *yes* | URL transfer.
|
| libcurl4-gnutls-dev | | *yes* | URL transfer.
|
||||||
@@ -109,7 +108,7 @@ compile WeeChat.
|
|||||||
| ca-certificates | | | Certificates for SSL connections.
|
| ca-certificates | | | Certificates for SSL connections.
|
||||||
| libaspell-dev
|
| libaspell-dev
|
||||||
∥ libenchant-dev | | | Spell plugin.
|
∥ libenchant-dev | | | Spell plugin.
|
||||||
| python-dev | ≥ 2.6 ^(4)^ | | Python plugin.
|
| python3-dev | ^(4)^ | | Python plugin.
|
||||||
| libperl-dev | | | Perl plugin.
|
| libperl-dev | | | Perl plugin.
|
||||||
| ruby2.5, ruby2.5-dev | ≥ 1.8 | | Ruby plugin.
|
| ruby2.5, ruby2.5-dev | ≥ 1.8 | | Ruby plugin.
|
||||||
| liblua5.3-dev | | | Lua plugin.
|
| liblua5.3-dev | | | Lua plugin.
|
||||||
@@ -132,8 +131,8 @@ important). WeeChat can compile with libncurses5-dev, but it is *NOT* recommende
|
|||||||
you may experience display bugs with wide chars. +
|
you may experience display bugs with wide chars. +
|
||||||
^(3)^ GnuTLS ≥ 3.0.21 is required for IRC SASL authentication with mechanism
|
^(3)^ GnuTLS ≥ 3.0.21 is required for IRC SASL authentication with mechanism
|
||||||
ECDSA-NIST256P-CHALLENGE. +
|
ECDSA-NIST256P-CHALLENGE. +
|
||||||
^(4)^ Recommended Python version is 2.7 (all scripts run fine with version 2.7,
|
^(4)^ By default Python 3.x is used. If you enable option `ENABLE_PYTHON2` (see
|
||||||
but not with versions < 2.7 or ≥ 3.0).
|
below), only the version 2.7 of Python is recommended.
|
||||||
|
|
||||||
If you are using a Debian/Ubuntu based distribution, and if you have some
|
If you are using a Debian/Ubuntu based distribution, and if you have some
|
||||||
"deb-src" source entries in your file _/etc/apt/sources.list_, you can install
|
"deb-src" source entries in your file _/etc/apt/sources.list_, you can install
|
||||||
@@ -144,7 +143,7 @@ all dependencies with the command:
|
|||||||
----
|
----
|
||||||
|
|
||||||
[[compile_with_cmake]]
|
[[compile_with_cmake]]
|
||||||
==== Compile with cmake
|
==== Compile with CMake
|
||||||
|
|
||||||
* Installation in system directories (requires _root_ privileges):
|
* Installation in system directories (requires _root_ privileges):
|
||||||
|
|
||||||
@@ -166,7 +165,7 @@ $ make
|
|||||||
$ make install
|
$ make install
|
||||||
----
|
----
|
||||||
|
|
||||||
Options can be used for cmake, with format: "-DOPTION=VALUE".
|
Options can be used for CMake, with format: "-DOPTION=VALUE".
|
||||||
|
|
||||||
List of commonly used options:
|
List of commonly used options:
|
||||||
|
|
||||||
@@ -252,12 +251,8 @@ List of commonly used options:
|
|||||||
| ENABLE_PYTHON | `ON`, `OFF` | ON |
|
| ENABLE_PYTHON | `ON`, `OFF` | ON |
|
||||||
Compile <<scripts_plugins,Python plugin>>.
|
Compile <<scripts_plugins,Python plugin>>.
|
||||||
|
|
||||||
| ENABLE_PYTHON3 | `ON`, `OFF` | OFF |
|
| ENABLE_PYTHON2 | `ON`, `OFF` | OFF |
|
||||||
Compile <<scripts_plugins,Python plugin>> using Python 3. +
|
Compile <<scripts_plugins,Python plugin>> using Python 2 instead of Python 3.
|
||||||
This option is not recommended because many scripts are not yet compatible
|
|
||||||
with Python 3. +
|
|
||||||
You can follow the progress of Python 3 transition on this page:
|
|
||||||
https://weechat.org/scripts/python3/
|
|
||||||
|
|
||||||
| ENABLE_RELAY | `ON`, `OFF` | ON |
|
| ENABLE_RELAY | `ON`, `OFF` | ON |
|
||||||
Compile <<relay_plugin,Relay plugin>>.
|
Compile <<relay_plugin,Relay plugin>>.
|
||||||
@@ -308,9 +303,9 @@ $ ccmake ..
|
|||||||
==== Compile with autotools
|
==== Compile with autotools
|
||||||
|
|
||||||
[WARNING]
|
[WARNING]
|
||||||
Only cmake is officially supported to build WeeChat. You should use autotools
|
Only CMake is officially supported to build WeeChat. You should use autotools
|
||||||
only if you are not able to use cmake. +
|
only if you are not able to use CMake. +
|
||||||
Build with autotools requires more dependencies and is slower than with cmake.
|
Build with autotools requires more dependencies and is slower than with CMake.
|
||||||
|
|
||||||
* Installation in system directories (requires _root_ privileges):
|
* Installation in system directories (requires _root_ privileges):
|
||||||
|
|
||||||
@@ -349,13 +344,13 @@ Following packages are *required* to compile tests:
|
|||||||
* libcpputest-dev
|
* libcpputest-dev
|
||||||
* C++ compiler
|
* C++ compiler
|
||||||
|
|
||||||
Tests must be enabled when compiling WeeChat (with cmake):
|
Tests must be enabled when compiling WeeChat (with CMake):
|
||||||
|
|
||||||
----
|
----
|
||||||
$ cmake .. -DENABLE_TESTS=ON
|
$ cmake .. -DENABLE_TESTS=ON
|
||||||
----
|
----
|
||||||
|
|
||||||
They can be launched after compilation from the build directory (with cmake):
|
They can be launched after compilation from the build directory (with CMake):
|
||||||
|
|
||||||
----
|
----
|
||||||
$ ctest -V
|
$ ctest -V
|
||||||
@@ -389,7 +384,7 @@ you have to:
|
|||||||
[[debug_info]]
|
[[debug_info]]
|
||||||
==== Debug info
|
==== Debug info
|
||||||
|
|
||||||
If you're compiling with cmake:
|
If you're compiling with CMake:
|
||||||
|
|
||||||
----
|
----
|
||||||
$ cmake .. -DCMAKE_BUILD_TYPE=Debug
|
$ cmake .. -DCMAKE_BUILD_TYPE=Debug
|
||||||
@@ -809,7 +804,7 @@ In irc plugin, you can remap these colors using option
|
|||||||
[[colors]]
|
[[colors]]
|
||||||
=== Colors
|
=== Colors
|
||||||
|
|
||||||
WeeChat can use up to 256 color pairs to display text in bars and chat area
|
WeeChat can use up to 32767 color pairs to display text in bars and chat area
|
||||||
(your terminal must support 256 colors to use them in WeeChat).
|
(your terminal must support 256 colors to use them in WeeChat).
|
||||||
|
|
||||||
According to value of _TERM_ environment variable, you may have following limits
|
According to value of _TERM_ environment variable, you may have following limits
|
||||||
@@ -818,12 +813,12 @@ for colors in WeeChat:
|
|||||||
[width="50%",cols="8,>2,>2",options="header"]
|
[width="50%",cols="8,>2,>2",options="header"]
|
||||||
|===
|
|===
|
||||||
| $TERM | Colors | Pairs
|
| $TERM | Colors | Pairs
|
||||||
| "rxvt-unicode", "xterm", ... | 88 | 256
|
| "rxvt-unicode", "xterm", ... | 88 | 32767
|
||||||
| "rxvt-256color", "xterm-256color", ... | 256 | 256
|
| "rxvt-256color", "xterm-256color", ... | 256 | 32767
|
||||||
| "screen" | 8 | 64
|
| "screen" | 8 | 64
|
||||||
| "screen-256color" | 256 | 256
|
| "screen-256color" | 256 | 32767
|
||||||
| "tmux" | 8 | 64
|
| "tmux" | 8 | 64
|
||||||
| "tmux-256color" | 256 | 256
|
| "tmux-256color" | 256 | 32767
|
||||||
|===
|
|===
|
||||||
|
|
||||||
You can run `weechat --colors` or use command `/color` in WeeChat to
|
You can run `weechat --colors` or use command `/color` in WeeChat to
|
||||||
@@ -2602,9 +2597,13 @@ port depend on your TOR configuration):
|
|||||||
Now, add a new server, for example:
|
Now, add a new server, for example:
|
||||||
|
|
||||||
----
|
----
|
||||||
/server add freenode-tor freenodeok2gncmy.onion
|
/server add freenode-tor ajnvpgl6prmkb7yktvue6im5wiedlz2w32uhcwaamdiecdrfpwwgnlqd.onion
|
||||||
----
|
----
|
||||||
|
|
||||||
|
[NOTE]
|
||||||
|
If you are using an old version of TOR (before 0.3.5) you should use the address
|
||||||
|
`freenodeok2gncmy.onion` instead.
|
||||||
|
|
||||||
Set proxy for TOR:
|
Set proxy for TOR:
|
||||||
|
|
||||||
----
|
----
|
||||||
@@ -2991,16 +2990,21 @@ To have log files by date, you can use date/time specifiers in mask (see
|
|||||||
You'll have following files:
|
You'll have following files:
|
||||||
|
|
||||||
....
|
....
|
||||||
~/.weechat/
|
~/.weechat
|
||||||
|--- logs/
|
└── logs
|
||||||
|--- 2010/
|
├── 2010
|
||||||
|--- 11/
|
│ ├── 11
|
||||||
| irc.server.freenode.weechatlog
|
│ │ ├── irc.server.freenode.weechatlog
|
||||||
| irc.freenode.#weechat.weechatlog
|
│ │ └── irc.freenode.#weechat.weechatlog
|
||||||
|--- 2010/
|
│ └── 12
|
||||||
|--- 12/
|
│ ├── irc.server.freenode.weechatlog
|
||||||
| irc.server.freenode.weechatlog
|
│ └── irc.freenode.#weechat.weechatlog
|
||||||
| irc.freenode.#weechat.weechatlog
|
├── 2011
|
||||||
|
│ ├── 01
|
||||||
|
│ │ ├── irc.server.freenode.weechatlog
|
||||||
|
│ │ └── irc.freenode.#weechat.weechatlog
|
||||||
|
│ ├── 02
|
||||||
|
...
|
||||||
....
|
....
|
||||||
|
|
||||||
[[logger_irc_files_by_server_channel]]
|
[[logger_irc_files_by_server_channel]]
|
||||||
@@ -3015,17 +3019,18 @@ If you want one directory by IRC server and one file by channel inside:
|
|||||||
You'll have following files:
|
You'll have following files:
|
||||||
|
|
||||||
....
|
....
|
||||||
~/.weechat/
|
~/.weechat
|
||||||
|--- logs/
|
└── logs
|
||||||
|--- irc/
|
└── irc
|
||||||
|--- freenode/
|
├── freenode
|
||||||
| freenode.weechatlog
|
│ ├── freenode.weechatlog
|
||||||
| #weechat.weechatlog
|
│ ├── #weechat.weechatlog
|
||||||
| #mychan.weechatlog
|
│ └── #mychan.weechatlog
|
||||||
|--- oftc/
|
├── oftc
|
||||||
| oftc.weechatlog
|
│ ├── oftc.weechatlog
|
||||||
| #chan1.weechatlog
|
│ ├── #chan1.weechatlog
|
||||||
| #chan2.weechatlog
|
│ └── #chan2.weechatlog
|
||||||
|
...
|
||||||
....
|
....
|
||||||
|
|
||||||
[[logger_commands]]
|
[[logger_commands]]
|
||||||
|
|||||||
@@ -252,6 +252,8 @@ _isupport_ (string) +
|
|||||||
_prefix_modes_ (string) +
|
_prefix_modes_ (string) +
|
||||||
_prefix_chars_ (string) +
|
_prefix_chars_ (string) +
|
||||||
_nick_max_length_ (integer) +
|
_nick_max_length_ (integer) +
|
||||||
|
_user_max_length_ (integer) +
|
||||||
|
_host_max_length_ (integer) +
|
||||||
_casemapping_ (integer) +
|
_casemapping_ (integer) +
|
||||||
_chantypes_ (string) +
|
_chantypes_ (string) +
|
||||||
_chanmodes_ (string) +
|
_chanmodes_ (string) +
|
||||||
@@ -970,6 +972,7 @@ _charset_ (string) +
|
|||||||
_priority_ (integer) +
|
_priority_ (integer) +
|
||||||
_initialized_ (integer) +
|
_initialized_ (integer) +
|
||||||
_debug_ (integer) +
|
_debug_ (integer) +
|
||||||
|
_upgrading_ (integer) +
|
||||||
_variables_ (hashtable) +
|
_variables_ (hashtable) +
|
||||||
_prev_plugin_ (pointer, hdata: "plugin") +
|
_prev_plugin_ (pointer, hdata: "plugin") +
|
||||||
_next_plugin_ (pointer, hdata: "plugin") +
|
_next_plugin_ (pointer, hdata: "plugin") +
|
||||||
|
|||||||
@@ -10,6 +10,8 @@
|
|||||||
|
|
||||||
| alias | alias_default | liste des alias par défaut | - | -
|
| alias | alias_default | liste des alias par défaut | - | -
|
||||||
|
|
||||||
|
| buflist | buflist | liste des tampons dans un objet de barre buflist | - | nom d'objet de barre buflist (optionnel)
|
||||||
|
|
||||||
| fset | fset_option | liste des options fset | pointeur vers l'option fset (optionnel) | nom d'option (le caractère joker "*" est autorisé) (optionnel)
|
| fset | fset_option | liste des options fset | pointeur vers l'option fset (optionnel) | nom d'option (le caractère joker "*" est autorisé) (optionnel)
|
||||||
|
|
||||||
| guile | guile_script | liste des scripts | pointeur vers le script (optionnel) | nom de script (le caractère joker "*" est autorisé) (optionnel)
|
| guile | guile_script | liste des scripts | pointeur vers le script (optionnel) | nom de script (le caractère joker "*" est autorisé) (optionnel)
|
||||||
|
|||||||
@@ -108,6 +108,10 @@
|
|||||||
|
|
||||||
| weechat | pid | PID (ID de processus) de WeeChat | -
|
| weechat | pid | PID (ID de processus) de WeeChat | -
|
||||||
|
|
||||||
|
| weechat | term_color_pairs | nombre de paires de couleurs supportées dans le terminal | -
|
||||||
|
|
||||||
|
| weechat | term_colors | nombre de couleurs supportées dans le terminal | -
|
||||||
|
|
||||||
| weechat | term_height | hauteur du terminal | -
|
| weechat | term_height | hauteur du terminal | -
|
||||||
|
|
||||||
| weechat | term_width | largeur du terminal | -
|
| weechat | term_width | largeur du terminal | -
|
||||||
|
|||||||
@@ -62,6 +62,8 @@
|
|||||||
|
|
||||||
| unix_socket_path | string |
|
| unix_socket_path | string |
|
||||||
|
|
||||||
|
| abstract_unix_socket | string |
|
||||||
|
|
||||||
| path_as_is | long |
|
| path_as_is | long |
|
||||||
|
|
||||||
| proxy_service_name | string |
|
| proxy_service_name | string |
|
||||||
@@ -72,15 +74,21 @@
|
|||||||
|
|
||||||
| tcp_fastopen | long |
|
| tcp_fastopen | long |
|
||||||
|
|
||||||
|
| socks5_auth | long |
|
||||||
|
|
||||||
|
| haproxyprotocol | long |
|
||||||
|
|
||||||
|
| doh_url | string |
|
||||||
|
|
||||||
| netrc | long | ignored, optional, required
|
| netrc | long | ignored, optional, required
|
||||||
|
|
||||||
| userpwd | string |
|
| userpwd | string |
|
||||||
|
|
||||||
| proxyuserpwd | string |
|
| proxyuserpwd | string |
|
||||||
|
|
||||||
| httpauth | mask | none, basic, digest, ntlm, any, anysafe, digest_ie, only, ntlm_wb, negotiate
|
| httpauth | mask | none, basic, digest, ntlm, any, anysafe, digest_ie, only, ntlm_wb, negotiate, gssapi, bearer
|
||||||
|
|
||||||
| proxyauth | mask | none, basic, digest, ntlm, any, anysafe, digest_ie, only, ntlm_wb, negotiate
|
| proxyauth | mask | none, basic, digest, ntlm, any, anysafe, digest_ie, only, ntlm_wb, negotiate, gssapi, bearer
|
||||||
|
|
||||||
| netrc_file | string |
|
| netrc_file | string |
|
||||||
|
|
||||||
@@ -104,6 +112,8 @@
|
|||||||
|
|
||||||
| login_options | string |
|
| login_options | string |
|
||||||
|
|
||||||
|
| disallow_username_in_url | long |
|
||||||
|
|
||||||
| autoreferer | long |
|
| autoreferer | long |
|
||||||
|
|
||||||
| followlocation | long |
|
| followlocation | long |
|
||||||
@@ -114,8 +124,6 @@
|
|||||||
|
|
||||||
| postfields | string |
|
| postfields | string |
|
||||||
|
|
||||||
| httppost | list |
|
|
||||||
|
|
||||||
| referer | string |
|
| referer | string |
|
||||||
|
|
||||||
| useragent | string |
|
| useragent | string |
|
||||||
@@ -170,6 +178,8 @@
|
|||||||
|
|
||||||
| stream_weight | long |
|
| stream_weight | long |
|
||||||
|
|
||||||
|
| request_target | string |
|
||||||
|
|
||||||
| mail_from | string |
|
| mail_from | string |
|
||||||
|
|
||||||
| mail_rcpt | list |
|
| mail_rcpt | list |
|
||||||
@@ -258,6 +268,10 @@
|
|||||||
|
|
||||||
| maxfilesize_large | long long |
|
| maxfilesize_large | long long |
|
||||||
|
|
||||||
|
| timevalue_large | long long |
|
||||||
|
|
||||||
|
| upload_buffersize | long |
|
||||||
|
|
||||||
| timeout | long |
|
| timeout | long |
|
||||||
|
|
||||||
| low_speed_limit | long |
|
| low_speed_limit | long |
|
||||||
@@ -300,9 +314,15 @@
|
|||||||
|
|
||||||
| connect_to | list |
|
| connect_to | list |
|
||||||
|
|
||||||
|
| happy_eyeballs_timeout_ms | long |
|
||||||
|
|
||||||
|
| dns_shuffle_addresses | long |
|
||||||
|
|
||||||
|
| upkeep_interval_ms | long |
|
||||||
|
|
||||||
| sslcert | string |
|
| sslcert | string |
|
||||||
|
|
||||||
| sslversion | long | default, tlsv1, sslv2, sslv3, tlsv1_0, tlsv1_1, tlsv1_2, tlsv1_3
|
| sslversion | long | default, tlsv1, sslv2, sslv3, tlsv1_0, tlsv1_1, tlsv1_2, tlsv1_3, max_default, max_none, max_tlsv1_0, max_tlsv1_1, max_tlsv1_2, max_tlsv1_3
|
||||||
|
|
||||||
| ssl_verifypeer | long |
|
| ssl_verifypeer | long |
|
||||||
|
|
||||||
@@ -342,7 +362,7 @@
|
|||||||
|
|
||||||
| gssapi_delegation | long | none, policy_flag, flag
|
| gssapi_delegation | long | none, policy_flag, flag
|
||||||
|
|
||||||
| ssl_options | long | allow_beast, no_revoke
|
| ssl_options | long | allow_beast, no_revoke, no_backends, ok, too_late, unknown_backend
|
||||||
|
|
||||||
| ssl_enable_alpn | long |
|
| ssl_enable_alpn | long |
|
||||||
|
|
||||||
@@ -372,11 +392,11 @@
|
|||||||
|
|
||||||
| proxy_sslkeytype | string |
|
| proxy_sslkeytype | string |
|
||||||
|
|
||||||
| proxy_sslversion | long | default, tlsv1, sslv2, sslv3, tlsv1_0, tlsv1_1, tlsv1_2, tlsv1_3
|
| proxy_sslversion | long | default, tlsv1, sslv2, sslv3, tlsv1_0, tlsv1_1, tlsv1_2, tlsv1_3, max_default, max_none, max_tlsv1_0, max_tlsv1_1, max_tlsv1_2, max_tlsv1_3
|
||||||
|
|
||||||
| proxy_ssl_cipher_list | list |
|
| proxy_ssl_cipher_list | list |
|
||||||
|
|
||||||
| proxy_ssl_options | long | allow_beast, no_revoke
|
| proxy_ssl_options | long | allow_beast, no_revoke, no_backends, ok, too_late, unknown_backend
|
||||||
|
|
||||||
| proxy_ssl_verifyhost | long |
|
| proxy_ssl_verifyhost | long |
|
||||||
|
|
||||||
@@ -388,6 +408,10 @@
|
|||||||
|
|
||||||
| proxy_tlsauth_username | string |
|
| proxy_tlsauth_username | string |
|
||||||
|
|
||||||
|
| tls13_ciphers | list |
|
||||||
|
|
||||||
|
| proxy_tls13_ciphers | list |
|
||||||
|
|
||||||
| ssh_auth_types | mask | none, policy_flag, flag
|
| ssh_auth_types | mask | none, policy_flag, flag
|
||||||
|
|
||||||
| ssh_public_keyfile | string |
|
| ssh_public_keyfile | string |
|
||||||
@@ -398,6 +422,8 @@
|
|||||||
|
|
||||||
| ssh_knownhosts | string |
|
| ssh_knownhosts | string |
|
||||||
|
|
||||||
|
| ssh_compression | long |
|
||||||
|
|
||||||
| new_file_perms | long |
|
| new_file_perms | long |
|
||||||
|
|
||||||
| new_directory_perms | long |
|
| new_directory_perms | long |
|
||||||
|
|||||||
@@ -7,8 +7,6 @@
|
|||||||
| Alias | Commande | Complétion
|
| Alias | Commande | Complétion
|
||||||
|
|
||||||
| /AAWAY | /allserv /away | -
|
| /AAWAY | /allserv /away | -
|
||||||
| /AME | /allchan /me | -
|
|
||||||
| /AMSG | /allchan /msg * | -
|
|
||||||
| /ANICK | /allserv /nick | -
|
| /ANICK | /allserv /nick | -
|
||||||
| /BEEP | /print -beep | -
|
| /BEEP | /print -beep | -
|
||||||
| /BYE | /quit | -
|
| /BYE | /quit | -
|
||||||
@@ -35,8 +33,9 @@
|
|||||||
| /UMODE | /mode $nick | -
|
| /UMODE | /mode $nick | -
|
||||||
| /V | /command core version | -
|
| /V | /command core version | -
|
||||||
| /W | /who | -
|
| /W | /who | -
|
||||||
| /WC | /window merge | -
|
| /WC | /window close | -
|
||||||
| /WI | /whois | -
|
| /WI | /whois | -
|
||||||
| /WII | /whois $1 $1 | -
|
| /WII | /whois $1 $1 | -
|
||||||
|
| /WM | /window merge | -
|
||||||
| /WW | /whowas | -
|
| /WW | /whowas | -
|
||||||
|===
|
|===
|
||||||
|
|||||||
@@ -27,7 +27,7 @@
|
|||||||
** valeur par défaut: `+0+`
|
** valeur par défaut: `+0+`
|
||||||
|
|
||||||
* [[option_exec.command.shell]] *exec.command.shell*
|
* [[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")]
|
** 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"); si la valeur est vide, "sh" est utilisé (note : le contenu est évalué, voir /help eval)]
|
||||||
** type: chaîne
|
** type: chaîne
|
||||||
** valeurs: toute chaîne
|
** valeurs: toute chaîne
|
||||||
** valeur par défaut: `+"sh"+`
|
** valeur par défaut: `+"${env:SHELL}"+`
|
||||||
|
|||||||
@@ -51,6 +51,8 @@
|
|||||||
d:xxx afficher seulement les options changées avec "xxx" dans le nom
|
d:xxx afficher seulement les options changées avec "xxx" dans le nom
|
||||||
d=xxx afficher seulement les options changées avec "xxx" dans la valeur
|
d=xxx afficher seulement les options changées avec "xxx" dans la valeur
|
||||||
d==xxx afficher seulement les options changées avec la valeur exacte "xxx"
|
d==xxx afficher seulement les options changées avec la valeur exacte "xxx"
|
||||||
|
h=xxx afficher seulement les options avec "xxx" dans la description (traduite)
|
||||||
|
he=xxx afficher seulement les options avec "xxx" dans la description (en Anglais)
|
||||||
=xxx afficher seulement les options avec "xxx" dans la valeur
|
=xxx afficher seulement les options avec "xxx" dans la valeur
|
||||||
==xxx afficher seulement les options avec la valeur exacte "xxx"
|
==xxx afficher seulement les options avec la valeur exacte "xxx"
|
||||||
c:xxx afficher seulement les options qui correspondent à la condition évaluée "xxx", en utilisant les variables suivantes : file, section, option, name, parent_name, type, type_en, type_short (bool/int/str/col), type_tiny (b/i/s/c), default_value, default_value_undef, value, quoted_value, value_undef, value_changed, parent_value, min, max, description, description2, description_en, description_en2, string_values
|
c:xxx afficher seulement les options qui correspondent à la condition évaluée "xxx", en utilisant les variables suivantes : file, section, option, name, parent_name, type, type_en, type_short (bool/int/str/col), type_tiny (b/i/s/c), default_value, default_value_undef, value, quoted_value, value_undef, value_changed, parent_value, min, max, description, description2, description_en, description_en2, string_values
|
||||||
|
|||||||
@@ -124,7 +124,7 @@ Exemples :
|
|||||||
* `+connect+`: se connecter à un/plusieurs serveur(s) IRC
|
* `+connect+`: se connecter à un/plusieurs serveur(s) IRC
|
||||||
|
|
||||||
----
|
----
|
||||||
/connect [<serveur> [<serveur>...] [-<option>[=<valeur>]] [-no<option>] [-nojoin] [-switch]
|
/connect [<serveur> [<serveur>...]] [-<option>[=<valeur>]] [-no<option>] [-nojoin] [-switch]
|
||||||
-all|-auto|-open [-nojoin] [-switch]
|
-all|-auto|-open [-nojoin] [-switch]
|
||||||
|
|
||||||
serveur : nom du serveur, qui peut être :
|
serveur : nom du serveur, qui peut être :
|
||||||
@@ -274,8 +274,8 @@ pseudo : pseudo ou masque (le caractère joker "*" est autorisé)
|
|||||||
del : supprimer un ignore
|
del : supprimer un ignore
|
||||||
numéro : numéro du ignore à supprimer (voir la liste des ignore pour le trouver)
|
numéro : numéro du ignore à supprimer (voir la liste des ignore pour le trouver)
|
||||||
-all : supprimer tous les ignores
|
-all : supprimer tous les ignores
|
||||||
serveur : nom de serveur interne où le ignore fonctionnera
|
serveur : nom de serveur interne où l'ignore fonctionnera
|
||||||
canal : canal où le ignore fonctionnera
|
canal : canal où l'ignore fonctionnera
|
||||||
|
|
||||||
Note : l'expression régulière peut commencer par "(?-i)" pour devenir sensible à la casse.
|
Note : l'expression régulière peut commencer par "(?-i)" pour devenir sensible à la casse.
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
** description: pass:none[liste de commandes (séparées par des virgules) pour lesquelles la vérification orthographique est activée (la vérification est désactivée pour toutes les autres commandes)]
|
** description: pass:none[liste de commandes (séparées par des virgules) pour lesquelles la vérification orthographique est activée (la vérification est désactivée pour toutes les autres commandes)]
|
||||||
** type: chaîne
|
** type: chaîne
|
||||||
** valeurs: toute chaîne
|
** valeurs: toute chaîne
|
||||||
** valeur par défaut: `+"ame,amsg,away,command,cycle,kick,kickban,me,msg,notice,part,query,quit,topic"+`
|
** valeur par défaut: `+"away,command,cycle,kick,kickban,me,msg,notice,part,query,quit,topic"+`
|
||||||
|
|
||||||
* [[option_spell.check.default_dict]] *spell.check.default_dict*
|
* [[option_spell.check.default_dict]] *spell.check.default_dict*
|
||||||
** description: pass:none[dictionnaire par défaut (ou liste de dictionnaires séparés par une virgule) à utiliser quand le tampon courant n'a pas de dictionnaire défini (laissez blanc pour désactiver le vérificateur d'orthographe sur les tampons pour lesquels vous ne l'avez pas explicitement activé)]
|
** description: pass:none[dictionnaire par défaut (ou liste de dictionnaires séparés par une virgule) à utiliser quand le tampon courant n'a pas de dictionnaire défini (laissez blanc pour désactiver le vérificateur d'orthographe sur les tampons pour lesquels vous ne l'avez pas explicitement activé)]
|
||||||
|
|||||||
@@ -214,6 +214,11 @@ Touches par défaut dans le mode curseur sur la liste de pseudos :
|
|||||||
q ouvrir une discussion privée avec le pseudo (/query)
|
q ouvrir une discussion privée avec le pseudo (/query)
|
||||||
w demander les informations sur l'utilisateur (/whois)
|
w demander les informations sur l'utilisateur (/whois)
|
||||||
|
|
||||||
|
Autres touches par défaut dans le mode curseur :
|
||||||
|
flèche déplacer le curseur
|
||||||
|
alt+flèche déplacer le curseur vers la zone suivante
|
||||||
|
entrée sortir du mode curseur
|
||||||
|
|
||||||
Exemples :
|
Exemples :
|
||||||
aller dans la liste des pseudos :
|
aller dans la liste des pseudos :
|
||||||
/cursor go nicklist
|
/cursor go nicklist
|
||||||
@@ -974,6 +979,7 @@ Exemples :
|
|||||||
resize [-window <numéro>] [h|v][+|-]<pct>
|
resize [-window <numéro>] [h|v][+|-]<pct>
|
||||||
balance
|
balance
|
||||||
merge [-window <numéro>] [all]
|
merge [-window <numéro>] [all]
|
||||||
|
close [-window <numéro>]
|
||||||
page_up|page_down [-window <numéro>]
|
page_up|page_down [-window <numéro>]
|
||||||
refresh
|
refresh
|
||||||
scroll [-window <numéro>] [+|-]<valeur>[s|m|h|d|M|y]
|
scroll [-window <numéro>] [+|-]<valeur>[s|m|h|d|M|y]
|
||||||
@@ -998,6 +1004,7 @@ Exemples :
|
|||||||
si "h" ou "v" est spécifié, le redimensionnement affecte la fenêtre parente la plus proche avec un découpage de ce type (horizontal/vertical)
|
si "h" ou "v" est spécifié, le redimensionnement affecte la fenêtre parente la plus proche avec un découpage de ce type (horizontal/vertical)
|
||||||
balance : équilibrer la taille de toutes les fenêtres
|
balance : équilibrer la taille de toutes les fenêtres
|
||||||
merge : fusionner la fenêtre avec une autre
|
merge : fusionner la fenêtre avec une autre
|
||||||
|
close : fermer la fenêtre
|
||||||
page_up : faire défiler d'une page vers le haut
|
page_up : faire défiler d'une page vers le haut
|
||||||
page_down : faire défiler d'une page vers le bas
|
page_down : faire défiler d'une page vers le bas
|
||||||
refresh : redessiner l'écran
|
refresh : redessiner l'écran
|
||||||
@@ -1034,8 +1041,10 @@ Exemples :
|
|||||||
/window resize 75
|
/window resize 75
|
||||||
redimensionner le découpage vertical, ajouter 10% dans la taille :
|
redimensionner le découpage vertical, ajouter 10% dans la taille :
|
||||||
/window resize v+10
|
/window resize v+10
|
||||||
supprimer l'éclatement :
|
supprimer l'éclatement, garder la fenêtre courante :
|
||||||
/window merge
|
/window merge
|
||||||
|
fermer la fenêtre courante :
|
||||||
|
/window close
|
||||||
activer le mode d'affichage dépouillé pendant 2 secondes :
|
activer le mode d'affichage dépouillé pendant 2 secondes :
|
||||||
/window bare 2
|
/window bare 2
|
||||||
----
|
----
|
||||||
|
|||||||
@@ -921,9 +921,9 @@
|
|||||||
** valeur par défaut: `+""+`
|
** valeur par défaut: `+""+`
|
||||||
|
|
||||||
* [[option_weechat.look.nick_color_hash]] *weechat.look.nick_color_hash*
|
* [[option_weechat.look.nick_color_hash]] *weechat.look.nick_color_hash*
|
||||||
** description: pass:none[algorithme de hash utilisé pour trouver la couleur du pseudo : djb2 = variante de djb2 (la position des lettres compte : les anagrammes d'un pseudo ont une couleur différente), sum = somme des lettres]
|
** description: pass:none[algorithme de hash utilisé pour trouver la couleur du pseudo : djb2 = variante de djb2 (la position des lettres compte : les anagrammes d'un pseudo ont une couleur différente), sum = somme des lettres, djb2_32 = variante de djb2 en utilisant un entier sur 32 bits au lieu de 64 bits, sum_32 = somme des lettres en utilisant un entier sur 32 bits au lieu de 64 bits]
|
||||||
** type: entier
|
** type: entier
|
||||||
** valeurs: djb2, sum
|
** valeurs: djb2, sum, djb2_32, sum_32
|
||||||
** valeur par défaut: `+djb2+`
|
** valeur par défaut: `+djb2+`
|
||||||
|
|
||||||
* [[option_weechat.look.nick_color_stop_chars]] *weechat.look.nick_color_stop_chars*
|
* [[option_weechat.look.nick_color_stop_chars]] *weechat.look.nick_color_stop_chars*
|
||||||
|
|||||||
+48
-27
@@ -238,6 +238,7 @@ Le cœur de WeeChat est situé dans les répertoires suivants :
|
|||||||
| buflist-bar-item.c | Objets de barre Buflist.
|
| buflist-bar-item.c | Objets de barre Buflist.
|
||||||
| buflist-command.c | Commandes pour Buflist.
|
| buflist-command.c | Commandes pour Buflist.
|
||||||
| buflist-config.c | Options de configuration pour Buflist (fichier buflist.conf).
|
| buflist-config.c | Options de configuration pour Buflist (fichier buflist.conf).
|
||||||
|
| buflist-info.c | Info/infolists/hdata pour Buflist.
|
||||||
| buflist-mouse.c | Actions souris pour Buflist.
|
| buflist-mouse.c | Actions souris pour Buflist.
|
||||||
| charset/ | Extension Charset.
|
| charset/ | Extension Charset.
|
||||||
| charset.c | Fonctions pour Charset.
|
| charset.c | Fonctions pour Charset.
|
||||||
@@ -402,9 +403,15 @@ Le cœur de WeeChat est situé dans les répertoires suivants :
|
|||||||
| test-core-util.cpp | Tests : fonctions utiles.
|
| test-core-util.cpp | Tests : fonctions utiles.
|
||||||
| gui/ | Racine des tests unitaires pour les interfaces.
|
| gui/ | Racine des tests unitaires pour les interfaces.
|
||||||
| test-gui-line.cpp | Tests : lignes.
|
| test-gui-line.cpp | Tests : lignes.
|
||||||
|
| test-gui-nick.cpp | Tests : pseudos.
|
||||||
| plugins/ | Racine des tests unitaires pour les extensions.
|
| plugins/ | Racine des tests unitaires pour les extensions.
|
||||||
| irc/ | Racine des tests unitaires pour l'extension IRC.
|
| irc/ | Racine des tests unitaires pour l'extension IRC.
|
||||||
|
| test-irc-color.cpp | Tests : couleurs IRC.
|
||||||
| test-irc-config.cpp | Tests : configuration IRC.
|
| test-irc-config.cpp | Tests : configuration IRC.
|
||||||
|
| test-irc-ignore.cpp | Tests : ignores IRC.
|
||||||
|
| test-irc-message.cpp | Tests : messages IRC.
|
||||||
|
| test-irc-mode.cpp | Tests : modes IRC.
|
||||||
|
| test-irc-nick.cpp | Tests : pseudos IRC.
|
||||||
| test-irc-protocol.cpp | Tests : protocole IRC.
|
| test-irc-protocol.cpp | Tests : protocole IRC.
|
||||||
|===
|
|===
|
||||||
|
|
||||||
@@ -888,34 +895,48 @@ Toutes les combinaisons sont résumées dans ce tableau :
|
|||||||
|
|
||||||
[width="100%",cols="4,2,2,8",options="header"]
|
[width="100%",cols="4,2,2,8",options="header"]
|
||||||
|===
|
|===
|
||||||
| Code | Exemple | Aires | Description
|
| Code | Exemple | Aires | Description
|
||||||
| [hex]#19# + STD | [hex]#19# `+01+` | chat + barres | Définir les attributs et la couleur en utilisant une option, voir le tableau ci-dessous.
|
| [hex]#19# + STD | [hex]#19# `+01+` | chat + barres | Définir les attributs et la couleur en utilisant une option, voir le tableau ci-dessous.
|
||||||
| [hex]#19# + EXT | [hex]#19# `+@00001+` | chat | Définir une couleur avec la paire ncurses (utilisé seulement sur le tampon `/color`).
|
| [hex]#19# + EXT | [hex]#19# `+@00001+` | chat | Définir une couleur avec la paire ncurses (utilisé seulement sur le tampon `/color`).
|
||||||
| [hex]#19# + "F" + (A)STD | [hex]#19# `+F*05+` | chat + barres | Définir la couleur de texte (couleur WeeChat).
|
| [hex]#19# + "F" + (A)STD | [hex]#19# `+F*05+` | chat + barres | Définir la couleur de texte (couleur WeeChat).
|
||||||
| [hex]#19# + "F" + (A)EXT | [hex]#19# `+F@00214+` | chat + barres | Définir la couleur de texte (couleur étendue).
|
| [hex]#19# + "F" + (A)EXT | [hex]#19# `+F@00214+` | chat + barres | Définir la couleur de texte (couleur étendue).
|
||||||
| [hex]#19# + "B" + STD | [hex]#19# `+B05+` | chat + barres | Définir la couleur de fond (couleur WeeChat).
|
| [hex]#19# + "B" + STD | [hex]#19# `+B05+` | chat + barres | Définir la couleur de fond (couleur WeeChat).
|
||||||
| [hex]#19# + "B" + EXT | [hex]#19# `+B@00124+` | chat + barres | Définir le couleur de fond (couleur étendue).
|
| [hex]#19# + "B" + EXT | [hex]#19# `+B@00124+` | chat + barres | Définir le couleur de fond (couleur étendue).
|
||||||
| [hex]#19# + "*" + (A)STD | [hex]#19# `+*05+` | chat + barres | Définir la couleur de texte (couleur WeeChat).
|
| [hex]#19# + "*" + (A)STD | [hex]#19# `+*05+` | chat + barres | Définir la couleur de texte (couleur WeeChat).
|
||||||
| [hex]#19# + "*" + (A)EXT | [hex]#19# `+*@00214+` | chat + barres | Définir la couleur de texte (couleur étendue).
|
| [hex]#19# + "*" + (A)EXT | [hex]#19# `+*@00214+` | chat + barres | Définir la couleur de texte (couleur étendue).
|
||||||
| [hex]#19# + "*" + (A)STD + "," + STD | [hex]#19# `+*08,05+` | chat + barres | Définir la couleur de texte/fond (couleurs WeeChat).
|
| [hex]#19# + "*" + (A)STD + "," + STD ^(1)^ | [hex]#19# `+*08,05+` | chat + barres | Définir la couleur de texte/fond (couleurs WeeChat).
|
||||||
| [hex]#19# + "*" + (A)STD + "," + EXT | [hex]#19# `+*01,@00214+` | chat + barres | Définir la couleur de texte (couleur WeeChat) et de fond (couleur étendue).
|
| [hex]#19# + "*" + (A)STD + "," + EXT ^(1)^ | [hex]#19# `+*01,@00214+` | chat + barres | Définir la couleur de texte (couleur WeeChat) et de fond (couleur étendue).
|
||||||
| [hex]#19# + "*" + (A)EXT + "," + STD | [hex]#19# `+*@00214,05+` | chat + barres | Définir la couleur de texte (couleur étendue) et de fond (couleur WeeChat).
|
| [hex]#19# + "*" + (A)EXT + "," + STD ^(1)^ | [hex]#19# `+*@00214,05+` | chat + barres | Définir la couleur de texte (couleur étendue) et de fond (couleur WeeChat).
|
||||||
| [hex]#19# + "*" + (A)EXT + "," + EXT | [hex]#19# `+*@00214,@00017+` | chat + barres | Définir la couleur de texte/fond (couleurs étendues).
|
| [hex]#19# + "*" + (A)EXT + "," + EXT ^(1)^ | [hex]#19# `+*@00214,@00017+` | chat + barres | Définir la couleur de texte/fond (couleurs étendues).
|
||||||
| [hex]#19# + "b" + "F" | [hex]#19# `+bF+` | barres | Définir la couleur de texte de la barre.
|
| [hex]#19# + "*" + (A)STD + "~" + STD | [hex]#19# `+*08~05+` | chat + barres | Définir la couleur de texte/fond (couleurs WeeChat).
|
||||||
| [hex]#19# + "b" + "D" | [hex]#19# `+bD+` | barres | Définir la couleur du délimiteur de la barre.
|
| [hex]#19# + "*" + (A)STD + "~" + EXT | [hex]#19# `+*01~@00214+` | chat + barres | Définir la couleur de texte (couleur WeeChat) et de fond (couleur étendue).
|
||||||
| [hex]#19# + "b" + "B" | [hex]#19# `+bB+` | barres | Définir la couleur de fond de la barre.
|
| [hex]#19# + "*" + (A)EXT + "~" + STD | [hex]#19# `+*@00214~05+` | chat + barres | Définir la couleur de texte (couleur étendue) et de fond (couleur WeeChat).
|
||||||
| [hex]#19# + "b" + "_" | [hex]#19# `+b_+` | barre input | Caractère de démarrage dans l'entrée (utilisé seulement dans l'objet "input_text").
|
| [hex]#19# + "*" + (A)EXT + "~" + EXT | [hex]#19# `+*@00214~@00017+` | chat + barres | Définir la couleur de texte/fond (couleurs étendues).
|
||||||
| [hex]#19# + "b" + "-" | [hex]#19# `+b-+` | barre input | Caractère de démarrage caché dans l'entrée (utilisé seulement dans l'objet "input_text").
|
| [hex]#19# + "b" + "F" | [hex]#19# `+bF+` | barres | Définir la couleur de texte de la barre.
|
||||||
| [hex]#19# + "b" + "#" | [hex]#19# `+b#+` | barre input | Caractère de déplacement du curseur (utilisé seulement dans l'objet "input_text").
|
| [hex]#19# + "b" + "D" | [hex]#19# `+bD+` | barres | Définir la couleur du délimiteur de la barre.
|
||||||
| [hex]#19# + "b" + "i" | [hex]#19# `+bi+` | barres | Début d'objet.
|
| [hex]#19# + "b" + "B" | [hex]#19# `+bB+` | barres | Définir la couleur de fond de la barre.
|
||||||
| [hex]#19# + "b" + "l" (lower L) | [hex]#19# `+bl+` | barres | Ligne de démarrage d'objet.
|
| [hex]#19# + "b" + "_" | [hex]#19# `+b_+` | barre input | Caractère de démarrage dans l'entrée (utilisé seulement dans l'objet "input_text").
|
||||||
| [hex]#19# + "E" | [hex]#19# `+E+` | chat + barres | Texte mis en valeur _(WeeChat ≥ 0.4.2)_.
|
| [hex]#19# + "b" + "-" | [hex]#19# `+b-+` | barre input | Caractère de démarrage caché dans l'entrée (utilisé seulement dans l'objet "input_text").
|
||||||
| [hex]#19# + [hex]#1C# | [hex]#19# [hex]#1C# | chat + barres | Réinitialiser la couleur (garder les attributs).
|
| [hex]#19# + "b" + "#" | [hex]#19# `+b#+` | barre input | Caractère de déplacement du curseur (utilisé seulement dans l'objet "input_text").
|
||||||
| [hex]#1A# + ATTR | [hex]#1A# `+*+` | chat + barres | Activer un attribut.
|
| [hex]#19# + "b" + "i" | [hex]#19# `+bi+` | barres | Début d'objet.
|
||||||
| [hex]#1B# + ATTR | [hex]#1B# `+*+` | chat + barres | Supprimer un attribut.
|
| [hex]#19# + "b" + "l" (lower L) | [hex]#19# `+bl+` | barres | Ligne de démarrage d'objet.
|
||||||
| [hex]#1C# | [hex]#1C# | chat + barres | Réinitialiser les attributs et la couleur.
|
| [hex]#19# + "E" | [hex]#19# `+E+` | chat + barres | Texte mis en valeur _(WeeChat ≥ 0.4.2)_.
|
||||||
|
| [hex]#19# + [hex]#1C# | [hex]#19# [hex]#1C# | chat + barres | Réinitialiser la couleur (garder les attributs).
|
||||||
|
| [hex]#1A# + ATTR | [hex]#1A# `+*+` | chat + barres | Activer un attribut.
|
||||||
|
| [hex]#1B# + ATTR | [hex]#1B# `+*+` | chat + barres | Supprimer un attribut.
|
||||||
|
| [hex]#1C# | [hex]#1C# | chat + barres | Réinitialiser les attributs et la couleur.
|
||||||
|===
|
|===
|
||||||
|
|
||||||
|
[NOTE]
|
||||||
|
^(1)^ L'utilisation de virgule comme séparateur était utilisé jusqu'à
|
||||||
|
WeeChat 2.5. +
|
||||||
|
Avec WeeChat WeeChat ≥ 2.6, un tilde est utilisé pour séparer la
|
||||||
|
couleur du texte et du fond. Si vous développez un client WeeChat relay et
|
||||||
|
voulez être compatible avec toutes les versions de WeeChat, vous devriez
|
||||||
|
supporter les deux séparateurs (par exemple si un utilisateur avec WeeChat ≤ 2.5
|
||||||
|
lance `/upgrade` vers une version ≥ 2.6, les deux séparateurs pourront être
|
||||||
|
utilisés au même moment dans les tampons).
|
||||||
|
|
||||||
Les codes couleur utilisant des options (voir _t_gui_color_enum_, dans le
|
Les codes couleur utilisant des options (voir _t_gui_color_enum_, dans le
|
||||||
fichier _src/gui/gui-color.h_) :
|
fichier _src/gui/gui-color.h_) :
|
||||||
|
|
||||||
@@ -1102,7 +1123,7 @@ Exemples de messages de commit :
|
|||||||
irc: add command /unquiet (closes #36)
|
irc: add command /unquiet (closes #36)
|
||||||
core: add callback "nickcmp" for nick comparison in buffers
|
core: add callback "nickcmp" for nick comparison in buffers
|
||||||
irc: fix freeze when reading on socket with SSL enabled (bug #35097)
|
irc: fix freeze when reading on socket with SSL enabled (bug #35097)
|
||||||
ruby: add detection of ruby version 1.9.3 in cmake
|
ruby: add detection of ruby version 1.9.3 in CMake
|
||||||
python: fix crash when unloading a script without pointer to interpreter
|
python: fix crash when unloading a script without pointer to interpreter
|
||||||
core: update Japanese translations (patch #7783)
|
core: update Japanese translations (patch #7783)
|
||||||
----
|
----
|
||||||
|
|||||||
@@ -48,10 +48,10 @@ distantes : https://weechat.org/about/interfaces
|
|||||||
=== Je ne peux pas compiler WeeChat après avoir cloné la base git, pourquoi ?
|
=== Je ne peux pas compiler WeeChat après avoir cloné la base git, pourquoi ?
|
||||||
|
|
||||||
La méthode recommandée pour compiler WeeChat est d'utiliser
|
La méthode recommandée pour compiler WeeChat est d'utiliser
|
||||||
link:weechat_user.fr.html#compile_with_cmake[cmake].
|
link:weechat_user.fr.html#compile_with_cmake[CMake].
|
||||||
|
|
||||||
Si vous compilez avec les link:weechat_user.fr.html#compile_with_autotools[autotools]
|
Si vous compilez avec les link:weechat_user.fr.html#compile_with_autotools[autotools]
|
||||||
(et non cmake), vérifiez que vous avez bien la dernière version d'autoconf et
|
(et non CMake), vérifiez que vous avez bien la dernière version d'autoconf et
|
||||||
automake.
|
automake.
|
||||||
|
|
||||||
Une autre façon de faire est de compiler le "paquet devel", qui nécessite moins
|
Une autre façon de faire est de compiler le "paquet devel", qui nécessite moins
|
||||||
@@ -73,7 +73,7 @@ brew info weechat
|
|||||||
Vous pouvez installer WeeChat avec cette commande :
|
Vous pouvez installer WeeChat avec cette commande :
|
||||||
|
|
||||||
----
|
----
|
||||||
brew install weechat --with-aspell --with-curl --with-python --with-perl --with-ruby --with-lua --with-guile
|
brew install weechat
|
||||||
----
|
----
|
||||||
|
|
||||||
[[lost]]
|
[[lost]]
|
||||||
|
|||||||
@@ -97,15 +97,40 @@ Paramètres :
|
|||||||
|
|
||||||
* _plugin_ : pointeur vers la structure d'extension WeeChat, utilisé pour
|
* _plugin_ : pointeur vers la structure d'extension WeeChat, utilisé pour
|
||||||
initialiser le pointeur global `weechat_plugin`
|
initialiser le pointeur global `weechat_plugin`
|
||||||
* _argc_ : nombre de paramètres pour l'extension (donnés sur la ligne de
|
* _argc_ : nombre de paramètres pour l'extension
|
||||||
commande par l'utilisateur)
|
* _argv_ : paramètres pour l'extension (voir ci-dessous)
|
||||||
* _argv_ : paramètres pour l'extension
|
|
||||||
|
|
||||||
Valeur de retour :
|
Valeur de retour :
|
||||||
|
|
||||||
* _WEECHAT_RC_OK_ si ok (l'extension sera chargée)
|
* _WEECHAT_RC_OK_ si ok (l'extension sera chargée)
|
||||||
* _WEECHAT_RC_ERROR_ si erreur (l'extension ne sera PAS chargée)
|
* _WEECHAT_RC_ERROR_ si erreur (l'extension ne sera PAS chargée)
|
||||||
|
|
||||||
|
[[plugin_arguments]]
|
||||||
|
===== Paramètres de l'extension
|
||||||
|
|
||||||
|
Lorsque l'extension est chargée par WeeChat, elle reçoit la liste des
|
||||||
|
paramètres dans `argv` et le nombre de paramètres dans `argc`.
|
||||||
|
|
||||||
|
Les paramètres peuvent être :
|
||||||
|
|
||||||
|
* les paramètres de ligne de commande lors du lancement du binaire WeeChat,
|
||||||
|
* les paramètres donnés à la commande `/plugin load xxx`, lorsque l'extension
|
||||||
|
est chargée manuellement par l'utilisateur.
|
||||||
|
|
||||||
|
Lorsque les paramètres proviennent de la ligne de commande, seulement ces
|
||||||
|
paramètres sont envoyés à l'extension :
|
||||||
|
|
||||||
|
*-a*, *--no-connect*::
|
||||||
|
Supprimer la connexion automatique aux serveurs lors du démarrage.
|
||||||
|
|
||||||
|
*-s*, *--no-script*::
|
||||||
|
Supprimer le chargement automatique des scripts au démarrage.
|
||||||
|
|
||||||
|
*extension:option*::
|
||||||
|
Option pour une extension : seulement les options liées à l'extension sont
|
||||||
|
envoyées, par exemple seulement les options démarrant par `irc:` sont
|
||||||
|
envoyées à l'extension "irc".
|
||||||
|
|
||||||
[[plugin_priority]]
|
[[plugin_priority]]
|
||||||
===== Priorité de l'extension
|
===== Priorité de l'extension
|
||||||
|
|
||||||
@@ -255,6 +280,31 @@ Pour chaque fonction, on donne :
|
|||||||
* un exemple en script Python (la syntaxe pour les autres langages de script est
|
* un exemple en script Python (la syntaxe pour les autres langages de script est
|
||||||
similaire).
|
similaire).
|
||||||
|
|
||||||
|
// TRANSLATION MISSING
|
||||||
|
[[registering]]
|
||||||
|
=== Enregistrement
|
||||||
|
|
||||||
|
Functions pour enregistrer un script : utilisées seulement par l'API script,
|
||||||
|
pas l'API C.
|
||||||
|
|
||||||
|
==== register
|
||||||
|
|
||||||
|
Enregistrer le script.
|
||||||
|
|
||||||
|
Pour plus d'informations, voir le
|
||||||
|
link:weechat_scripting.fr.html#register_function[Guide pour scripts WeeChat].
|
||||||
|
|
||||||
|
Script (Python) :
|
||||||
|
|
||||||
|
[source,python]
|
||||||
|
----
|
||||||
|
# prototype
|
||||||
|
weechat.register(name, author, version, license, description, shutdown_function, charset)
|
||||||
|
----
|
||||||
|
|
||||||
|
[NOTE]
|
||||||
|
Cette fonction n'est pas disponible dans l'API C.
|
||||||
|
|
||||||
[[plugins]]
|
[[plugins]]
|
||||||
=== Extensions
|
=== Extensions
|
||||||
|
|
||||||
@@ -1509,7 +1559,7 @@ Cette fonction n'est pas disponible dans l'API script.
|
|||||||
|
|
||||||
==== string_split
|
==== string_split
|
||||||
|
|
||||||
_Mis à jour dans la 2.5._
|
_Mis à jour dans la 2.5, 2.6._
|
||||||
|
|
||||||
Découper une chaîne à l'aide de délimiteur(s).
|
Découper une chaîne à l'aide de délimiteur(s).
|
||||||
|
|
||||||
@@ -1518,13 +1568,16 @@ Prototype :
|
|||||||
[source,C]
|
[source,C]
|
||||||
----
|
----
|
||||||
char **weechat_string_split (const char *string, const char *separators,
|
char **weechat_string_split (const char *string, const char *separators,
|
||||||
int flags, int num_items_max, int *num_items);
|
const char *strip_items, int flags,
|
||||||
|
int num_items_max, int *num_items);
|
||||||
----
|
----
|
||||||
|
|
||||||
Paramètres :
|
Paramètres :
|
||||||
|
|
||||||
* _string_ : chaîne à découper
|
* _string_ : chaîne à découper
|
||||||
* _separators_ : délimiteurs utilisés pour le découpage
|
* _separators_ : délimiteurs utilisés pour le découpage
|
||||||
|
* _strip_items_ : caractères à supprimer des chaînes retournées (gauche/droite) ;
|
||||||
|
optionnel, peut être NULL
|
||||||
* _flags_ : combinaison de valeurs pour changer le comportement par défaut ;
|
* _flags_ : combinaison de valeurs pour changer le comportement par défaut ;
|
||||||
si la valeur est 0, le comportement par défaut est utilisé (pas de suppression
|
si la valeur est 0, le comportement par défaut est utilisé (pas de suppression
|
||||||
des séparateurs en début/fin de chaîne, plusieurs séparateurs consécutifs
|
des séparateurs en début/fin de chaîne, plusieurs séparateurs consécutifs
|
||||||
@@ -1564,7 +1617,7 @@ Exemples en C :
|
|||||||
char **argv;
|
char **argv;
|
||||||
int argc;
|
int argc;
|
||||||
|
|
||||||
argv = weechat_string_split ("abc de fghi ", " ", 0, 0, &argc);
|
argv = weechat_string_split ("abc de fghi ", " ", NULL, 0, 0, &argc);
|
||||||
/* résultat : argv[0] == "abc"
|
/* résultat : argv[0] == "abc"
|
||||||
argv[1] == "de"
|
argv[1] == "de"
|
||||||
argv[2] == ""
|
argv[2] == ""
|
||||||
@@ -1575,7 +1628,7 @@ argv = weechat_string_split ("abc de fghi ", " ", 0, 0, &argc);
|
|||||||
*/
|
*/
|
||||||
weechat_string_free_split (argv);
|
weechat_string_free_split (argv);
|
||||||
|
|
||||||
argv = weechat_string_split ("abc de fghi ", " ",
|
argv = weechat_string_split ("abc de fghi ", " ", NULL,
|
||||||
WEECHAT_STRING_SPLIT_STRIP_LEFT
|
WEECHAT_STRING_SPLIT_STRIP_LEFT
|
||||||
| WEECHAT_STRING_SPLIT_STRIP_RIGHT
|
| WEECHAT_STRING_SPLIT_STRIP_RIGHT
|
||||||
| WEECHAT_STRING_SPLIT_COLLAPSE_SEPS,
|
| WEECHAT_STRING_SPLIT_COLLAPSE_SEPS,
|
||||||
@@ -1588,7 +1641,7 @@ argv = weechat_string_split ("abc de fghi ", " ",
|
|||||||
*/
|
*/
|
||||||
weechat_string_free_split (argv);
|
weechat_string_free_split (argv);
|
||||||
|
|
||||||
argv = weechat_string_split ("abc de fghi ", " ",
|
argv = weechat_string_split ("abc de fghi ", " ", NULL,
|
||||||
WEECHAT_STRING_SPLIT_STRIP_LEFT
|
WEECHAT_STRING_SPLIT_STRIP_LEFT
|
||||||
| WEECHAT_STRING_SPLIT_STRIP_RIGHT
|
| WEECHAT_STRING_SPLIT_STRIP_RIGHT
|
||||||
| WEECHAT_STRING_SPLIT_COLLAPSE_SEPS
|
| WEECHAT_STRING_SPLIT_COLLAPSE_SEPS
|
||||||
@@ -1602,7 +1655,7 @@ argv = weechat_string_split ("abc de fghi ", " ",
|
|||||||
*/
|
*/
|
||||||
weechat_string_free_split (argv);
|
weechat_string_free_split (argv);
|
||||||
|
|
||||||
argv = weechat_string_split ("abc de fghi ", " ",
|
argv = weechat_string_split ("abc de fghi ", " ", NULL,
|
||||||
WEECHAT_STRING_SPLIT_STRIP_LEFT
|
WEECHAT_STRING_SPLIT_STRIP_LEFT
|
||||||
| WEECHAT_STRING_SPLIT_COLLAPSE_SEPS
|
| WEECHAT_STRING_SPLIT_COLLAPSE_SEPS
|
||||||
| WEECHAT_STRING_SPLIT_KEEP_EOL,
|
| WEECHAT_STRING_SPLIT_KEEP_EOL,
|
||||||
@@ -1614,6 +1667,19 @@ argv = weechat_string_split ("abc de fghi ", " ",
|
|||||||
argc == 3
|
argc == 3
|
||||||
*/
|
*/
|
||||||
weechat_string_free_split (argv);
|
weechat_string_free_split (argv);
|
||||||
|
|
||||||
|
argv = weechat_string_split (" abc, de,, fghi ", ",", " ",
|
||||||
|
WEECHAT_STRING_SPLIT_STRIP_LEFT
|
||||||
|
| WEECHAT_STRING_SPLIT_STRIP_RIGHT
|
||||||
|
| WEECHAT_STRING_SPLIT_COLLAPSE_SEPS,
|
||||||
|
0, &argc);
|
||||||
|
/* résultat : argv[0] == "abc"
|
||||||
|
argv[1] == "de"
|
||||||
|
argv[2] == "fghi"
|
||||||
|
argv[3] == NULL
|
||||||
|
argc == 3
|
||||||
|
*/
|
||||||
|
weechat_string_free_split (argv);
|
||||||
----
|
----
|
||||||
|
|
||||||
[NOTE]
|
[NOTE]
|
||||||
@@ -4057,7 +4123,7 @@ Exemple en C :
|
|||||||
|
|
||||||
[source,C]
|
[source,C]
|
||||||
----
|
----
|
||||||
weechat_printf (NULL, "valeur de l'item : %s", weechat_list_string (item));
|
weechat_printf (NULL, "valeur de l'élément : %s", weechat_list_string (item));
|
||||||
----
|
----
|
||||||
|
|
||||||
Script (Python) :
|
Script (Python) :
|
||||||
@@ -4068,9 +4134,41 @@ Script (Python) :
|
|||||||
value = weechat.list_string(item)
|
value = weechat.list_string(item)
|
||||||
|
|
||||||
# exemple
|
# exemple
|
||||||
weechat.prnt("", "valeur de l'item : %s" % weechat.list_string(item))
|
weechat.prnt("", "valeur de l'élément : %s" % weechat.list_string(item))
|
||||||
----
|
----
|
||||||
|
|
||||||
|
==== list_user_data
|
||||||
|
|
||||||
|
_WeeChat ≥ 2.6._
|
||||||
|
|
||||||
|
// TRANSLATION MISSING
|
||||||
|
Retourner le pointeur vers les données utilisateur de l'élément.
|
||||||
|
|
||||||
|
Prototype :
|
||||||
|
|
||||||
|
[source,C]
|
||||||
|
----
|
||||||
|
void *weechat_list_user_data (struct t_weelist_item *item);
|
||||||
|
----
|
||||||
|
|
||||||
|
Paramètres :
|
||||||
|
|
||||||
|
* _item_ : pointeur vers l'élément
|
||||||
|
|
||||||
|
Valeur de retour :
|
||||||
|
|
||||||
|
* pointeur vers les données utilisateur de l'élément
|
||||||
|
|
||||||
|
Exemple en C :
|
||||||
|
|
||||||
|
[source,C]
|
||||||
|
----
|
||||||
|
weechat_printf (NULL, "données utilisateur de l'élément : 0x%lx", weechat_list_user_data (item));
|
||||||
|
----
|
||||||
|
|
||||||
|
[NOTE]
|
||||||
|
Cette fonction n'est pas disponible dans l'API script.
|
||||||
|
|
||||||
==== list_size
|
==== list_size
|
||||||
|
|
||||||
Retourner la taille de la liste (nombre d'éléments).
|
Retourner la taille de la liste (nombre d'éléments).
|
||||||
@@ -4350,7 +4448,7 @@ Exemple en C :
|
|||||||
|
|
||||||
[source,C]
|
[source,C]
|
||||||
----
|
----
|
||||||
void *pointer = weechat_arraylist_get (arraylist, 0); /* first item */
|
void *pointer = weechat_arraylist_get (arraylist, 0); /* premier élément */
|
||||||
----
|
----
|
||||||
|
|
||||||
[NOTE]
|
[NOTE]
|
||||||
@@ -4697,7 +4795,7 @@ Paramètres :
|
|||||||
|
|
||||||
Valeur de retour :
|
Valeur de retour :
|
||||||
|
|
||||||
* pointeur vers l'item créé/mis à jour, NULL en cas d'erreur
|
* pointeur vers l'entrée créée/mise à jour, NULL en cas d'erreur
|
||||||
|
|
||||||
Exemple en C :
|
Exemple en C :
|
||||||
|
|
||||||
@@ -9099,7 +9197,7 @@ struct t_hashtable *options_url1 = weechat_hashtable_new (8,
|
|||||||
NULL);
|
NULL);
|
||||||
if (options_url1)
|
if (options_url1)
|
||||||
{
|
{
|
||||||
weechat_hashtable_set (options, "file_out", "/tmp/weechat.org.html");
|
weechat_hashtable_set (options_url1, "file_out", "/tmp/weechat.org.html");
|
||||||
struct t_hook *my_process_hook = weechat_hook_process_hashtable ("url:https://weechat.org/",
|
struct t_hook *my_process_hook = weechat_hook_process_hashtable ("url:https://weechat.org/",
|
||||||
options_url1,
|
options_url1,
|
||||||
20000,
|
20000,
|
||||||
@@ -9115,7 +9213,7 @@ struct t_hashtable *options_url2 = weechat_hashtable_new (8,
|
|||||||
NULL);
|
NULL);
|
||||||
if (options_url2)
|
if (options_url2)
|
||||||
{
|
{
|
||||||
weechat_hashtable_set (options, "httpheader",
|
weechat_hashtable_set (options_url2, "httpheader",
|
||||||
"Header1: valeur1\n"
|
"Header1: valeur1\n"
|
||||||
"Header2: valeur2");
|
"Header2: valeur2");
|
||||||
struct t_hook *my_process_hook = weechat_hook_process_hashtable ("url:http://localhost:8080/",
|
struct t_hook *my_process_hook = weechat_hook_process_hashtable ("url:http://localhost:8080/",
|
||||||
@@ -13327,8 +13425,8 @@ Prototype :
|
|||||||
|
|
||||||
[source,C]
|
[source,C]
|
||||||
----
|
----
|
||||||
int weechat_window_get_string (struct t_gui_window *window,
|
const char *weechat_window_get_string (struct t_gui_window *window,
|
||||||
const char *property);
|
const char *property);
|
||||||
----
|
----
|
||||||
|
|
||||||
Paramètres :
|
Paramètres :
|
||||||
@@ -13340,6 +13438,14 @@ Valeur de retour :
|
|||||||
|
|
||||||
* valeur de la propriété, sous forme de chaîne
|
* valeur de la propriété, sous forme de chaîne
|
||||||
|
|
||||||
|
Script (Python) :
|
||||||
|
|
||||||
|
[source,python]
|
||||||
|
----
|
||||||
|
# prototype
|
||||||
|
value = weechat.window_get_string(buffer, property)
|
||||||
|
----
|
||||||
|
|
||||||
==== window_get_pointer
|
==== window_get_pointer
|
||||||
|
|
||||||
Retourner la valeur d'une propriété, sous forme d'un pointeur.
|
Retourner la valeur d'une propriété, sous forme d'un pointeur.
|
||||||
|
|||||||
@@ -89,7 +89,7 @@ $ tar xvjf weechat-devel.tar.bz2
|
|||||||
$ cd weechat-devel
|
$ cd weechat-devel
|
||||||
----
|
----
|
||||||
|
|
||||||
Pour compiler les sources, cmake est recommandé :
|
Pour compiler les sources, CMake est recommandé :
|
||||||
|
|
||||||
----
|
----
|
||||||
$ mkdir build
|
$ mkdir build
|
||||||
@@ -99,7 +99,7 @@ $ make
|
|||||||
$ make install
|
$ make install
|
||||||
----
|
----
|
||||||
|
|
||||||
Si vous n'avez pas cmake, il est toujours possible d'utiliser les autotools :
|
Si vous n'avez pas CMake, il est toujours possible d'utiliser les autotools :
|
||||||
|
|
||||||
----
|
----
|
||||||
$ ./autogen.sh
|
$ ./autogen.sh
|
||||||
|
|||||||
+55
-48
@@ -81,13 +81,12 @@ la distribution pour la méthode d'installation.
|
|||||||
[[source_package]]
|
[[source_package]]
|
||||||
=== Paquet source
|
=== Paquet source
|
||||||
|
|
||||||
WeeChat peut être compilé avec cmake ou les autotools (cmake est la méthode
|
WeeChat peut être compilé avec CMake ou les autotools (CMake est la méthode
|
||||||
recommandée).
|
recommandée).
|
||||||
|
|
||||||
[NOTE]
|
[NOTE]
|
||||||
Sous macOS, vous pouvez utiliser https://brew.sh/[Homebrew] :
|
Sous macOS, vous pouvez utiliser https://brew.sh/[Homebrew] :
|
||||||
`brew install weechat --with-python --with-perl`
|
`brew install weechat` (pour l'aide : `brew info weechat`).
|
||||||
(pour l'aide : `brew info weechat`).
|
|
||||||
|
|
||||||
[[dependencies]]
|
[[dependencies]]
|
||||||
==== Dépendances
|
==== Dépendances
|
||||||
@@ -101,7 +100,7 @@ compiler WeeChat.
|
|||||||
| compilateur C
|
| compilateur C
|
||||||
(gcc, clang, ...) | | *oui* | Construction.
|
(gcc, clang, ...) | | *oui* | Construction.
|
||||||
| compilateur C++ | | | Construction et lancement des tests, extension JavaScript.
|
| compilateur C++ | | | Construction et lancement des tests, extension JavaScript.
|
||||||
| cmake | ≥ 3.0 | *oui* | Construction (autotools toujours possible, mais cmake est recommandé).
|
| cmake | ≥ 3.0 | *oui* | Construction (autotools toujours possible, mais CMake est recommandé).
|
||||||
| pkg-config | | *oui* | Détection des bibliothèques installées.
|
| pkg-config | | *oui* | Détection des bibliothèques installées.
|
||||||
| libncursesw5-dev ^(2)^ | | *oui* | Interface ncurses.
|
| libncursesw5-dev ^(2)^ | | *oui* | Interface ncurses.
|
||||||
| libcurl4-gnutls-dev | | *oui* | Transfert d'URL.
|
| libcurl4-gnutls-dev | | *oui* | Transfert d'URL.
|
||||||
@@ -112,7 +111,7 @@ compiler WeeChat.
|
|||||||
| ca-certificates | | | Certificats pour les connexions SSL.
|
| ca-certificates | | | Certificats pour les connexions SSL.
|
||||||
| libaspell-dev
|
| libaspell-dev
|
||||||
∥ libenchant-dev | | | Extension spell.
|
∥ libenchant-dev | | | Extension spell.
|
||||||
| python-dev | ≥ 2.6 ^(4)^ | | Extension python.
|
| python3-dev | ^(4)^ | | Extension python.
|
||||||
| libperl-dev | | | Extension perl.
|
| libperl-dev | | | Extension perl.
|
||||||
| ruby2.5, ruby2.5-dev | ≥ 1.8 | | Extension ruby.
|
| ruby2.5, ruby2.5-dev | ≥ 1.8 | | Extension ruby.
|
||||||
| liblua5.3-dev | | | Extension lua.
|
| liblua5.3-dev | | | Extension lua.
|
||||||
@@ -136,8 +135,9 @@ recommandé : vous pourriez avoir des bugs d'affichage avec les caractères
|
|||||||
larges. +
|
larges. +
|
||||||
^(3)^ GnuTLS ≥ 3.0.21 est requis pour l'authentification SASL avec le mécanisme
|
^(3)^ GnuTLS ≥ 3.0.21 est requis pour l'authentification SASL avec le mécanisme
|
||||||
ECDSA-NIST256P-CHALLENGE. +
|
ECDSA-NIST256P-CHALLENGE. +
|
||||||
^(4)^ La version recommandée de Python est 2.7 (tous les scripts tournent bien
|
^(4)^ Par défaut Python 3.x est utilisé. Si vous activez l'option
|
||||||
avec la version 2.7, mais pas avec les versions < 2.7 ou ≥ 3.0).
|
`ENABLE_PYTHON2` (voir ci-dessous), seule la version 2.7 de Python est
|
||||||
|
recommandée.
|
||||||
|
|
||||||
Si vous utilisez une distribution basée sur Debian ou Ubuntu, et si vous avez
|
Si vous utilisez une distribution basée sur Debian ou Ubuntu, et si vous avez
|
||||||
des entrées source "deb-src" dans votre fichier _/etc/apt/sources.list_, vous
|
des entrées source "deb-src" dans votre fichier _/etc/apt/sources.list_, vous
|
||||||
@@ -148,7 +148,7 @@ pouvez installer toutes les dépendances avec la commande :
|
|||||||
----
|
----
|
||||||
|
|
||||||
[[compile_with_cmake]]
|
[[compile_with_cmake]]
|
||||||
==== Compilation avec cmake
|
==== Compilation avec CMake
|
||||||
|
|
||||||
* Installation dans les répertoires systèmes (nécessite les droits _root_) :
|
* Installation dans les répertoires systèmes (nécessite les droits _root_) :
|
||||||
|
|
||||||
@@ -170,7 +170,7 @@ $ make
|
|||||||
$ make install
|
$ make install
|
||||||
----
|
----
|
||||||
|
|
||||||
Des options peuvent être utilisées pour cmake, avec le format : "-DOPTION=VALUE".
|
Des options peuvent être utilisées pour CMake, avec le format : "-DOPTION=VALUE".
|
||||||
|
|
||||||
Liste des options couramment utilisées :
|
Liste des options couramment utilisées :
|
||||||
|
|
||||||
@@ -256,12 +256,9 @@ Liste des options couramment utilisées :
|
|||||||
| ENABLE_PYTHON | `ON`, `OFF` | ON |
|
| ENABLE_PYTHON | `ON`, `OFF` | ON |
|
||||||
Compiler <<scripts_plugins,l'extension Python>>.
|
Compiler <<scripts_plugins,l'extension Python>>.
|
||||||
|
|
||||||
| ENABLE_PYTHON3 | `ON`, `OFF` | OFF |
|
| ENABLE_PYTHON2 | `ON`, `OFF` | OFF |
|
||||||
Compiler <<scripts_plugins,l'extension Python>> en utilisant Python 3. +
|
Compiler <<scripts_plugins,l'extension Python>> avec Python 2 au lieu de
|
||||||
Cette option n'est pas recommandée car beaucoup de scripts ne sont pas encore
|
Python 3.
|
||||||
compatibles avec Python 3. +
|
|
||||||
Vous pouvez suivre l'avancement de la transition vers Python 3 sur cette page :
|
|
||||||
https://weechat.org/scripts/python3/
|
|
||||||
|
|
||||||
| ENABLE_RELAY | `ON`, `OFF` | ON |
|
| ENABLE_RELAY | `ON`, `OFF` | ON |
|
||||||
Compiler <<relay_plugin,l'extension Relay>>.
|
Compiler <<relay_plugin,l'extension Relay>>.
|
||||||
@@ -313,11 +310,11 @@ $ ccmake ..
|
|||||||
==== Compilation avec autotools
|
==== Compilation avec autotools
|
||||||
|
|
||||||
[WARNING]
|
[WARNING]
|
||||||
Seulement cmake est officiellement supporté pour construire WeeChat. Vous ne
|
Seulement CMake est officiellement supporté pour construire WeeChat. Vous ne
|
||||||
devriez utiliser les autotools que si vous n'avez pas la possibilité d'utiliser
|
devriez utiliser les autotools que si vous n'avez pas la possibilité d'utiliser
|
||||||
cmake. +
|
CMake. +
|
||||||
La compilation avec les autotools requiert plus de dépendances et est plus lente
|
La compilation avec les autotools requiert plus de dépendances et est plus lente
|
||||||
qu'avec cmake.
|
qu'avec CMake.
|
||||||
|
|
||||||
* Installation dans les répertoires systèmes (nécessite les droits _root_) :
|
* Installation dans les répertoires systèmes (nécessite les droits _root_) :
|
||||||
|
|
||||||
@@ -356,14 +353,14 @@ Les paquets suivants sont nécessaires pour compiler les tests :
|
|||||||
* libcpputest-dev
|
* libcpputest-dev
|
||||||
* C++ compiler
|
* C++ compiler
|
||||||
|
|
||||||
Les tests doivent être activés pour compiler WeeChat (avec cmake) :
|
Les tests doivent être activés pour compiler WeeChat (avec CMake) :
|
||||||
|
|
||||||
----
|
----
|
||||||
$ cmake .. -DENABLE_TESTS=ON
|
$ cmake .. -DENABLE_TESTS=ON
|
||||||
----
|
----
|
||||||
|
|
||||||
Ils peuvent être lancés après compilation depuis le répertoire de construction
|
Ils peuvent être lancés après compilation depuis le répertoire de construction
|
||||||
(avec cmake) :
|
(avec CMake) :
|
||||||
|
|
||||||
----
|
----
|
||||||
$ ctest -V
|
$ ctest -V
|
||||||
@@ -398,7 +395,7 @@ futur de WeeChat, vous devez :
|
|||||||
[[debug_info]]
|
[[debug_info]]
|
||||||
==== Infos de debug
|
==== Infos de debug
|
||||||
|
|
||||||
Si vous compilez avec cmake :
|
Si vous compilez avec CMake :
|
||||||
|
|
||||||
----
|
----
|
||||||
$ cmake .. -DCMAKE_BUILD_TYPE=Debug
|
$ cmake .. -DCMAKE_BUILD_TYPE=Debug
|
||||||
@@ -826,7 +823,7 @@ Dans l'extension irc, vous pouvez réassigner les couleurs en utilisant l'option
|
|||||||
[[colors]]
|
[[colors]]
|
||||||
=== Couleurs
|
=== Couleurs
|
||||||
|
|
||||||
WeeChat peut utiliser jusqu'à 256 paires de couleur pour afficher le texte dans
|
WeeChat peut utiliser jusqu'à 32767 paires de couleur pour afficher le texte dans
|
||||||
les barres et la zone de discussion (votre terminal doit supporter 256 couleurs
|
les barres et la zone de discussion (votre terminal doit supporter 256 couleurs
|
||||||
pour pouvoir les utiliser dans WeeChat).
|
pour pouvoir les utiliser dans WeeChat).
|
||||||
|
|
||||||
@@ -836,12 +833,12 @@ limites suivantes pour les couleurs dans WeeChat :
|
|||||||
[width="50%",cols="8,>2,>2",options="header"]
|
[width="50%",cols="8,>2,>2",options="header"]
|
||||||
|===
|
|===
|
||||||
| $TERM | Couleurs | Paires
|
| $TERM | Couleurs | Paires
|
||||||
| "rxvt-unicode", "xterm", ... | 88 | 256
|
| "rxvt-unicode", "xterm", ... | 88 | 32767
|
||||||
| "rxvt-256color", "xterm-256color", ... | 256 | 256
|
| "rxvt-256color", "xterm-256color", ... | 256 | 32767
|
||||||
| "screen" | 8 | 64
|
| "screen" | 8 | 64
|
||||||
| "screen-256color" | 256 | 256
|
| "screen-256color" | 256 | 32767
|
||||||
| "tmux" | 8 | 64
|
| "tmux" | 8 | 64
|
||||||
| "tmux-256color" | 256 | 256
|
| "tmux-256color" | 256 | 32767
|
||||||
|===
|
|===
|
||||||
|
|
||||||
Vous pouvez lancer `weechat --colors` ou utiliser la commande `/color`
|
Vous pouvez lancer `weechat --colors` ou utiliser la commande `/color`
|
||||||
@@ -2694,9 +2691,13 @@ et port dépend de votre configuration de TOR) :
|
|||||||
Maintenant, ajoutez un nouveau serveur, par exemple :
|
Maintenant, ajoutez un nouveau serveur, par exemple :
|
||||||
|
|
||||||
----
|
----
|
||||||
/server add freenode-tor freenodeok2gncmy.onion
|
/server add freenode-tor ajnvpgl6prmkb7yktvue6im5wiedlz2w32uhcwaamdiecdrfpwwgnlqd.onion
|
||||||
----
|
----
|
||||||
|
|
||||||
|
[NOTE]
|
||||||
|
Si vous utilisez une ancienne version de TOR (avant 0.3.5) vous devriez plutôt
|
||||||
|
utiliser l'adresse `freenodeok2gncmy.onion`.
|
||||||
|
|
||||||
Définissez le proxy pour TOR :
|
Définissez le proxy pour TOR :
|
||||||
|
|
||||||
----
|
----
|
||||||
@@ -3089,16 +3090,21 @@ dans le masque (voir `man strftime` pour le format), par exemple :
|
|||||||
Vous obtiendrez les fichiers suivants :
|
Vous obtiendrez les fichiers suivants :
|
||||||
|
|
||||||
....
|
....
|
||||||
~/.weechat/
|
~/.weechat
|
||||||
|--- logs/
|
└── logs
|
||||||
|--- 2010/
|
├── 2010
|
||||||
|--- 11/
|
│ ├── 11
|
||||||
| irc.server.freenode.weechatlog
|
│ │ ├── irc.server.freenode.weechatlog
|
||||||
| irc.freenode.#weechat.weechatlog
|
│ │ └── irc.freenode.#weechat.weechatlog
|
||||||
|--- 2010/
|
│ └── 12
|
||||||
|--- 12/
|
│ ├── irc.server.freenode.weechatlog
|
||||||
| irc.server.freenode.weechatlog
|
│ └── irc.freenode.#weechat.weechatlog
|
||||||
| irc.freenode.#weechat.weechatlog
|
├── 2011
|
||||||
|
│ ├── 01
|
||||||
|
│ │ ├── irc.server.freenode.weechatlog
|
||||||
|
│ │ └── irc.freenode.#weechat.weechatlog
|
||||||
|
│ ├── 02
|
||||||
|
...
|
||||||
....
|
....
|
||||||
|
|
||||||
[[logger_irc_files_by_server_channel]]
|
[[logger_irc_files_by_server_channel]]
|
||||||
@@ -3113,17 +3119,18 @@ Si vous voulez un répertoire par serveur IRC et un fichier par canal dedans :
|
|||||||
Vous obtiendrez les fichiers suivants :
|
Vous obtiendrez les fichiers suivants :
|
||||||
|
|
||||||
....
|
....
|
||||||
~/.weechat/
|
~/.weechat
|
||||||
|--- logs/
|
└── logs
|
||||||
|--- irc/
|
└── irc
|
||||||
|--- freenode/
|
├── freenode
|
||||||
| freenode.weechatlog
|
│ ├── freenode.weechatlog
|
||||||
| #weechat.weechatlog
|
│ ├── #weechat.weechatlog
|
||||||
| #mychan.weechatlog
|
│ └── #mychan.weechatlog
|
||||||
|--- oftc/
|
├── oftc
|
||||||
| oftc.weechatlog
|
│ ├── oftc.weechatlog
|
||||||
| #chan1.weechatlog
|
│ ├── #chan1.weechatlog
|
||||||
| #chan2.weechatlog
|
│ └── #chan2.weechatlog
|
||||||
|
...
|
||||||
....
|
....
|
||||||
|
|
||||||
[[logger_commands]]
|
[[logger_commands]]
|
||||||
|
|||||||
@@ -252,6 +252,8 @@ _isupport_ (string) +
|
|||||||
_prefix_modes_ (string) +
|
_prefix_modes_ (string) +
|
||||||
_prefix_chars_ (string) +
|
_prefix_chars_ (string) +
|
||||||
_nick_max_length_ (integer) +
|
_nick_max_length_ (integer) +
|
||||||
|
_user_max_length_ (integer) +
|
||||||
|
_host_max_length_ (integer) +
|
||||||
_casemapping_ (integer) +
|
_casemapping_ (integer) +
|
||||||
_chantypes_ (string) +
|
_chantypes_ (string) +
|
||||||
_chanmodes_ (string) +
|
_chanmodes_ (string) +
|
||||||
@@ -970,6 +972,7 @@ _charset_ (string) +
|
|||||||
_priority_ (integer) +
|
_priority_ (integer) +
|
||||||
_initialized_ (integer) +
|
_initialized_ (integer) +
|
||||||
_debug_ (integer) +
|
_debug_ (integer) +
|
||||||
|
_upgrading_ (integer) +
|
||||||
_variables_ (hashtable) +
|
_variables_ (hashtable) +
|
||||||
_prev_plugin_ (pointer, hdata: "plugin") +
|
_prev_plugin_ (pointer, hdata: "plugin") +
|
||||||
_next_plugin_ (pointer, hdata: "plugin") +
|
_next_plugin_ (pointer, hdata: "plugin") +
|
||||||
|
|||||||
@@ -10,6 +10,8 @@
|
|||||||
|
|
||||||
| alias | alias_default | list of default aliases | - | -
|
| alias | alias_default | list of default aliases | - | -
|
||||||
|
|
||||||
|
| buflist | buflist | list of buffers in a buflist bar item | - | buflist bar item name (optional)
|
||||||
|
|
||||||
| fset | fset_option | list of fset options | fset option pointer (optional) | option name (wildcard "*" is allowed) (optional)
|
| fset | fset_option | list of fset options | fset option pointer (optional) | option name (wildcard "*" is allowed) (optional)
|
||||||
|
|
||||||
| guile | guile_script | elenco degli script | puntatore allo script (opzionale) | script name (wildcard "*" is allowed) (optional)
|
| guile | guile_script | elenco degli script | puntatore allo script (opzionale) | script name (wildcard "*" is allowed) (optional)
|
||||||
|
|||||||
@@ -108,6 +108,10 @@
|
|||||||
|
|
||||||
| weechat | pid | WeeChat PID (process ID) | -
|
| weechat | pid | WeeChat PID (process ID) | -
|
||||||
|
|
||||||
|
| weechat | term_color_pairs | number of color pairs supported in terminal | -
|
||||||
|
|
||||||
|
| weechat | term_colors | number of colors supported in terminal | -
|
||||||
|
|
||||||
| weechat | term_height | height of terminal | -
|
| weechat | term_height | height of terminal | -
|
||||||
|
|
||||||
| weechat | term_width | width of terminal | -
|
| weechat | term_width | width of terminal | -
|
||||||
|
|||||||
@@ -62,6 +62,8 @@
|
|||||||
|
|
||||||
| unix_socket_path | string |
|
| unix_socket_path | string |
|
||||||
|
|
||||||
|
| abstract_unix_socket | string |
|
||||||
|
|
||||||
| path_as_is | long |
|
| path_as_is | long |
|
||||||
|
|
||||||
| proxy_service_name | string |
|
| proxy_service_name | string |
|
||||||
@@ -72,15 +74,21 @@
|
|||||||
|
|
||||||
| tcp_fastopen | long |
|
| tcp_fastopen | long |
|
||||||
|
|
||||||
|
| socks5_auth | long |
|
||||||
|
|
||||||
|
| haproxyprotocol | long |
|
||||||
|
|
||||||
|
| doh_url | string |
|
||||||
|
|
||||||
| netrc | long | ignored, optional, required
|
| netrc | long | ignored, optional, required
|
||||||
|
|
||||||
| userpwd | string |
|
| userpwd | string |
|
||||||
|
|
||||||
| proxyuserpwd | string |
|
| proxyuserpwd | string |
|
||||||
|
|
||||||
| httpauth | mask | none, basic, digest, ntlm, any, anysafe, digest_ie, only, ntlm_wb, negotiate
|
| httpauth | mask | none, basic, digest, ntlm, any, anysafe, digest_ie, only, ntlm_wb, negotiate, gssapi, bearer
|
||||||
|
|
||||||
| proxyauth | mask | none, basic, digest, ntlm, any, anysafe, digest_ie, only, ntlm_wb, negotiate
|
| proxyauth | mask | none, basic, digest, ntlm, any, anysafe, digest_ie, only, ntlm_wb, negotiate, gssapi, bearer
|
||||||
|
|
||||||
| netrc_file | string |
|
| netrc_file | string |
|
||||||
|
|
||||||
@@ -104,6 +112,8 @@
|
|||||||
|
|
||||||
| login_options | string |
|
| login_options | string |
|
||||||
|
|
||||||
|
| disallow_username_in_url | long |
|
||||||
|
|
||||||
| autoreferer | long |
|
| autoreferer | long |
|
||||||
|
|
||||||
| followlocation | long |
|
| followlocation | long |
|
||||||
@@ -114,8 +124,6 @@
|
|||||||
|
|
||||||
| postfields | string |
|
| postfields | string |
|
||||||
|
|
||||||
| httppost | list |
|
|
||||||
|
|
||||||
| referer | string |
|
| referer | string |
|
||||||
|
|
||||||
| useragent | string |
|
| useragent | string |
|
||||||
@@ -170,6 +178,8 @@
|
|||||||
|
|
||||||
| stream_weight | long |
|
| stream_weight | long |
|
||||||
|
|
||||||
|
| request_target | string |
|
||||||
|
|
||||||
| mail_from | string |
|
| mail_from | string |
|
||||||
|
|
||||||
| mail_rcpt | list |
|
| mail_rcpt | list |
|
||||||
@@ -258,6 +268,10 @@
|
|||||||
|
|
||||||
| maxfilesize_large | long long |
|
| maxfilesize_large | long long |
|
||||||
|
|
||||||
|
| timevalue_large | long long |
|
||||||
|
|
||||||
|
| upload_buffersize | long |
|
||||||
|
|
||||||
| timeout | long |
|
| timeout | long |
|
||||||
|
|
||||||
| low_speed_limit | long |
|
| low_speed_limit | long |
|
||||||
@@ -300,9 +314,15 @@
|
|||||||
|
|
||||||
| connect_to | list |
|
| connect_to | list |
|
||||||
|
|
||||||
|
| happy_eyeballs_timeout_ms | long |
|
||||||
|
|
||||||
|
| dns_shuffle_addresses | long |
|
||||||
|
|
||||||
|
| upkeep_interval_ms | long |
|
||||||
|
|
||||||
| sslcert | string |
|
| sslcert | string |
|
||||||
|
|
||||||
| sslversion | long | default, tlsv1, sslv2, sslv3, tlsv1_0, tlsv1_1, tlsv1_2, tlsv1_3
|
| sslversion | long | default, tlsv1, sslv2, sslv3, tlsv1_0, tlsv1_1, tlsv1_2, tlsv1_3, max_default, max_none, max_tlsv1_0, max_tlsv1_1, max_tlsv1_2, max_tlsv1_3
|
||||||
|
|
||||||
| ssl_verifypeer | long |
|
| ssl_verifypeer | long |
|
||||||
|
|
||||||
@@ -342,7 +362,7 @@
|
|||||||
|
|
||||||
| gssapi_delegation | long | none, policy_flag, flag
|
| gssapi_delegation | long | none, policy_flag, flag
|
||||||
|
|
||||||
| ssl_options | long | allow_beast, no_revoke
|
| ssl_options | long | allow_beast, no_revoke, no_backends, ok, too_late, unknown_backend
|
||||||
|
|
||||||
| ssl_enable_alpn | long |
|
| ssl_enable_alpn | long |
|
||||||
|
|
||||||
@@ -372,11 +392,11 @@
|
|||||||
|
|
||||||
| proxy_sslkeytype | string |
|
| proxy_sslkeytype | string |
|
||||||
|
|
||||||
| proxy_sslversion | long | default, tlsv1, sslv2, sslv3, tlsv1_0, tlsv1_1, tlsv1_2, tlsv1_3
|
| proxy_sslversion | long | default, tlsv1, sslv2, sslv3, tlsv1_0, tlsv1_1, tlsv1_2, tlsv1_3, max_default, max_none, max_tlsv1_0, max_tlsv1_1, max_tlsv1_2, max_tlsv1_3
|
||||||
|
|
||||||
| proxy_ssl_cipher_list | list |
|
| proxy_ssl_cipher_list | list |
|
||||||
|
|
||||||
| proxy_ssl_options | long | allow_beast, no_revoke
|
| proxy_ssl_options | long | allow_beast, no_revoke, no_backends, ok, too_late, unknown_backend
|
||||||
|
|
||||||
| proxy_ssl_verifyhost | long |
|
| proxy_ssl_verifyhost | long |
|
||||||
|
|
||||||
@@ -388,6 +408,10 @@
|
|||||||
|
|
||||||
| proxy_tlsauth_username | string |
|
| proxy_tlsauth_username | string |
|
||||||
|
|
||||||
|
| tls13_ciphers | list |
|
||||||
|
|
||||||
|
| proxy_tls13_ciphers | list |
|
||||||
|
|
||||||
| ssh_auth_types | mask | none, policy_flag, flag
|
| ssh_auth_types | mask | none, policy_flag, flag
|
||||||
|
|
||||||
| ssh_public_keyfile | string |
|
| ssh_public_keyfile | string |
|
||||||
@@ -398,6 +422,8 @@
|
|||||||
|
|
||||||
| ssh_knownhosts | string |
|
| ssh_knownhosts | string |
|
||||||
|
|
||||||
|
| ssh_compression | long |
|
||||||
|
|
||||||
| new_file_perms | long |
|
| new_file_perms | long |
|
||||||
|
|
||||||
| new_directory_perms | long |
|
| new_directory_perms | long |
|
||||||
|
|||||||
@@ -7,8 +7,6 @@
|
|||||||
| Alias | Command | Completion
|
| Alias | Command | Completion
|
||||||
|
|
||||||
| /AAWAY | /allserv /away | -
|
| /AAWAY | /allserv /away | -
|
||||||
| /AME | /allchan /me | -
|
|
||||||
| /AMSG | /allchan /msg * | -
|
|
||||||
| /ANICK | /allserv /nick | -
|
| /ANICK | /allserv /nick | -
|
||||||
| /BEEP | /print -beep | -
|
| /BEEP | /print -beep | -
|
||||||
| /BYE | /quit | -
|
| /BYE | /quit | -
|
||||||
@@ -35,8 +33,9 @@
|
|||||||
| /UMODE | /mode $nick | -
|
| /UMODE | /mode $nick | -
|
||||||
| /V | /command core version | -
|
| /V | /command core version | -
|
||||||
| /W | /who | -
|
| /W | /who | -
|
||||||
| /WC | /window merge | -
|
| /WC | /window close | -
|
||||||
| /WI | /whois | -
|
| /WI | /whois | -
|
||||||
| /WII | /whois $1 $1 | -
|
| /WII | /whois $1 $1 | -
|
||||||
|
| /WM | /window merge | -
|
||||||
| /WW | /whowas | -
|
| /WW | /whowas | -
|
||||||
|===
|
|===
|
||||||
|
|||||||
@@ -27,7 +27,7 @@
|
|||||||
** valore predefinito: `+0+`
|
** valore predefinito: `+0+`
|
||||||
|
|
||||||
* [[option_exec.command.shell]] *exec.command.shell*
|
* [[option_exec.command.shell]] *exec.command.shell*
|
||||||
** descrizione: 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")]
|
** descrizione: 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"); if value is empty, "sh" is used (note: content is evaluated, see /help eval)]
|
||||||
** tipo: stringa
|
** tipo: stringa
|
||||||
** valori: qualsiasi stringa
|
** valori: qualsiasi stringa
|
||||||
** valore predefinito: `+"sh"+`
|
** valore predefinito: `+"${env:SHELL}"+`
|
||||||
|
|||||||
@@ -51,6 +51,8 @@
|
|||||||
d:xxx show only changed options with "xxx" in name
|
d:xxx show only changed options with "xxx" in name
|
||||||
d=xxx show only changed options with "xxx" in value
|
d=xxx show only changed options with "xxx" in value
|
||||||
d==xxx show only changed options with exact value "xxx"
|
d==xxx show only changed options with exact value "xxx"
|
||||||
|
h=xxx show only options with "xxx" in description (translated)
|
||||||
|
he=xxx show only options with "xxx" in description (in English)
|
||||||
=xxx show only options with "xxx" in value
|
=xxx show only options with "xxx" in value
|
||||||
==xxx show only options with exact value "xxx"
|
==xxx show only options with exact value "xxx"
|
||||||
c:xxx show only options matching the evaluated condition "xxx", using following variables: file, section, option, name, parent_name, type, type_en, type_short (bool/int/str/col), type_tiny (b/i/s/c), default_value, default_value_undef, value, quoted_value, value_undef, value_changed, parent_value, min, max, description, description2, description_en, description_en2, string_values
|
c:xxx show only options matching the evaluated condition "xxx", using following variables: file, section, option, name, parent_name, type, type_en, type_short (bool/int/str/col), type_tiny (b/i/s/c), default_value, default_value_undef, value, quoted_value, value_undef, value_changed, parent_value, min, max, description, description2, description_en, description_en2, string_values
|
||||||
|
|||||||
@@ -124,7 +124,7 @@ Examples:
|
|||||||
* `+connect+`: connette ad uno o più server IRC
|
* `+connect+`: connette ad uno o più server IRC
|
||||||
|
|
||||||
----
|
----
|
||||||
/connect <server> [<server>...] [-<opzione>[=<valore>]] [-no<option>] [-nojoin] [-switch]
|
/connect [<server> [<server>...]] [-<option>[=<value>]] [-no<option>] [-nojoin] [-switch]
|
||||||
-all|-auto|-open [-nojoin] [-switch]
|
-all|-auto|-open [-nojoin] [-switch]
|
||||||
|
|
||||||
server: server name, which can be:
|
server: server name, which can be:
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
** descrizione: pass:none[elenco separato da virgole di comandi per cui il controllo ortografico è abilitato (il controllo ortografico è disabilitato per tutti gli altri comandi)]
|
** descrizione: pass:none[elenco separato da virgole di comandi per cui il controllo ortografico è abilitato (il controllo ortografico è disabilitato per tutti gli altri comandi)]
|
||||||
** tipo: stringa
|
** tipo: stringa
|
||||||
** valori: qualsiasi stringa
|
** valori: qualsiasi stringa
|
||||||
** valore predefinito: `+"ame,amsg,away,command,cycle,kick,kickban,me,msg,notice,part,query,quit,topic"+`
|
** valore predefinito: `+"away,command,cycle,kick,kickban,me,msg,notice,part,query,quit,topic"+`
|
||||||
|
|
||||||
* [[option_spell.check.default_dict]] *spell.check.default_dict*
|
* [[option_spell.check.default_dict]] *spell.check.default_dict*
|
||||||
** descrizione: pass:none[default dictionary (or comma separated list of dictionaries) to use when buffer has no dictionary defined (leave blank to disable spell checker on buffers for which you didn't explicitly enabled it)]
|
** descrizione: pass:none[default dictionary (or comma separated list of dictionaries) to use when buffer has no dictionary defined (leave blank to disable spell checker on buffers for which you didn't explicitly enabled it)]
|
||||||
|
|||||||
@@ -214,6 +214,11 @@ Default keys in cursor mode on nicklist:
|
|||||||
q open query with nick (/query)
|
q open query with nick (/query)
|
||||||
w query information about user (/whois)
|
w query information about user (/whois)
|
||||||
|
|
||||||
|
Other default keys in cursor mode:
|
||||||
|
arrow move cursor
|
||||||
|
alt+arrow move cursor to the next area
|
||||||
|
enter exit cursor mode
|
||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
go to nicklist:
|
go to nicklist:
|
||||||
/cursor go nicklist
|
/cursor go nicklist
|
||||||
@@ -974,6 +979,7 @@ Examples:
|
|||||||
resize [-window <number>] [h|v][+|-]<pct>
|
resize [-window <number>] [h|v][+|-]<pct>
|
||||||
balance
|
balance
|
||||||
merge [-window <number>] [all]
|
merge [-window <number>] [all]
|
||||||
|
close [-window <number>]
|
||||||
page_up|page_down [-window <number>]
|
page_up|page_down [-window <number>]
|
||||||
refresh
|
refresh
|
||||||
scroll [-window <number>] [+|-]<value>[s|m|h|d|M|y]
|
scroll [-window <number>] [+|-]<value>[s|m|h|d|M|y]
|
||||||
@@ -998,6 +1004,7 @@ Examples:
|
|||||||
if "h" or "v" is specified, the resize affects the nearest parent window with a split of this type (horizontal/vertical)
|
if "h" or "v" is specified, the resize affects the nearest parent window with a split of this type (horizontal/vertical)
|
||||||
balance: balance the sizes of all windows
|
balance: balance the sizes of all windows
|
||||||
merge: merge window with another (all = keep only one window)
|
merge: merge window with another (all = keep only one window)
|
||||||
|
close: close window
|
||||||
page_up: scroll one page up
|
page_up: scroll one page up
|
||||||
page_down: scroll one page down
|
page_down: scroll one page down
|
||||||
refresh: refresh screen
|
refresh: refresh screen
|
||||||
@@ -1034,8 +1041,10 @@ Examples:
|
|||||||
/window resize 75
|
/window resize 75
|
||||||
resize vertical split, add 10% in size:
|
resize vertical split, add 10% in size:
|
||||||
/window resize v+10
|
/window resize v+10
|
||||||
remove the split:
|
remove the split, keep the current window:
|
||||||
/window merge
|
/window merge
|
||||||
|
close the current window:
|
||||||
|
/window close
|
||||||
enable bare display for 2 seconds:
|
enable bare display for 2 seconds:
|
||||||
/window bare 2
|
/window bare 2
|
||||||
----
|
----
|
||||||
|
|||||||
@@ -921,9 +921,9 @@
|
|||||||
** valore predefinito: `+""+`
|
** valore predefinito: `+""+`
|
||||||
|
|
||||||
* [[option_weechat.look.nick_color_hash]] *weechat.look.nick_color_hash*
|
* [[option_weechat.look.nick_color_hash]] *weechat.look.nick_color_hash*
|
||||||
** descrizione: pass:none[hash algorithm used to find the color for a nick: djb2 = variant of djb2 (position of letters matters: anagrams of a nick have different color), sum = sum of letters]
|
** descrizione: pass:none[hash algorithm used to find the color for a nick: djb2 = variant of djb2 (position of letters matters: anagrams of a nick have different color), djb2_32 = variant of djb2 using 32-bit instead of 64-bit integer, sum = sum of letters, sum_32 = sum of letters using 32-bit instead of 64-bit integer]
|
||||||
** tipo: intero
|
** tipo: intero
|
||||||
** valori: djb2, sum
|
** valori: djb2, sum, djb2_32, sum_32
|
||||||
** valore predefinito: `+djb2+`
|
** valore predefinito: `+djb2+`
|
||||||
|
|
||||||
* [[option_weechat.look.nick_color_stop_chars]] *weechat.look.nick_color_stop_chars*
|
* [[option_weechat.look.nick_color_stop_chars]] *weechat.look.nick_color_stop_chars*
|
||||||
|
|||||||
@@ -56,10 +56,10 @@ https://weechat.org/about/interfaces
|
|||||||
=== Non è possibile compilare WeeChat dopo aver clonato il repository git, perché?
|
=== Non è possibile compilare WeeChat dopo aver clonato il repository git, perché?
|
||||||
|
|
||||||
Il metodo raccomandato per compilare WeeChat è utilizzando
|
Il metodo raccomandato per compilare WeeChat è utilizzando
|
||||||
link:weechat_user.it.html#compile_with_cmake[cmake].
|
link:weechat_user.it.html#compile_with_cmake[CMake].
|
||||||
|
|
||||||
Se si sta compilando con link:weechat_user.it.html#compile_with_autotools[autotools]
|
Se si sta compilando con link:weechat_user.it.html#compile_with_autotools[autotools]
|
||||||
(e non cmake), verificare che siano installate le ultime versioni di autoconf e
|
(e non CMake), verificare che siano installate le ultime versioni di autoconf e
|
||||||
automake.
|
automake.
|
||||||
|
|
||||||
L'altro metodo è installare il "pacchetto di sviluppo", che richiede meno
|
L'altro metodo è installare il "pacchetto di sviluppo", che richiede meno
|
||||||
@@ -83,7 +83,7 @@ brew info weechat
|
|||||||
You can install WeeChat with this command:
|
You can install WeeChat with this command:
|
||||||
|
|
||||||
----
|
----
|
||||||
brew install weechat --with-aspell --with-curl --with-python --with-perl --with-ruby --with-lua --with-guile
|
brew install weechat
|
||||||
----
|
----
|
||||||
|
|
||||||
[[lost]]
|
[[lost]]
|
||||||
|
|||||||
@@ -106,9 +106,9 @@ Argomenti:
|
|||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
* _plugin_: puntatore alla struttura del plugin di WeeChat, used to initialize
|
* _plugin_: puntatore alla struttura del plugin di WeeChat, used to initialize
|
||||||
the convenience global pointer `weechat_plugin`
|
the convenience global pointer `weechat_plugin`
|
||||||
* _argc_: numero di argomenti per il plugin (fornito dalla riga di comando
|
* _argc_: numero di argomenti per il plugin
|
||||||
dall'utente)
|
// TRANSLATION MISSING
|
||||||
* _argv_: argomenti per il plugin
|
* _argv_: argomenti per il plugin (see below)
|
||||||
|
|
||||||
Valori restituiti:
|
Valori restituiti:
|
||||||
|
|
||||||
@@ -117,6 +117,32 @@ Valori restituiti:
|
|||||||
* _WEECHAT_RC_ERROR_ se c'è un errore (il plugin NON
|
* _WEECHAT_RC_ERROR_ se c'è un errore (il plugin NON
|
||||||
verrà caricato)
|
verrà caricato)
|
||||||
|
|
||||||
|
// TRANSLATION MISSING
|
||||||
|
[[plugin_arguments]]
|
||||||
|
===== Plugin arguments
|
||||||
|
|
||||||
|
When the plugin is loaded by WeeChat, it receives the list of arguments
|
||||||
|
in parameter `argv` and the number of arguments in `argc`.
|
||||||
|
|
||||||
|
The arguments can be:
|
||||||
|
|
||||||
|
* command line arguments when running the WeeChat binary,
|
||||||
|
* arguments given to the command `/plugin load xxx`, when the plugin is manually
|
||||||
|
loaded by the user.
|
||||||
|
|
||||||
|
When the arguments come from the command line, only these arguments are sent to
|
||||||
|
the plugin:
|
||||||
|
|
||||||
|
*-a*, *--no-connect*::
|
||||||
|
Disabilita la connessione automatica ai server all'avvio di WeeChat.
|
||||||
|
|
||||||
|
*-s*, *--no-script*::
|
||||||
|
Disabilita il caricamento automatico dei script.
|
||||||
|
|
||||||
|
*plugin:option*::
|
||||||
|
Option for a plugin: only the plugin-related options are sent, for example
|
||||||
|
only the options starting with `irc:` are sent to the plugin called "irc".
|
||||||
|
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
[[plugin_priority]]
|
[[plugin_priority]]
|
||||||
===== Plugin priority
|
===== Plugin priority
|
||||||
@@ -268,6 +294,30 @@ Per ogni funzione, viene fornita:
|
|||||||
* esempio nello script Python (la sintassi è simile per gli altri linguaggi di
|
* esempio nello script Python (la sintassi è simile per gli altri linguaggi di
|
||||||
scripting).
|
scripting).
|
||||||
|
|
||||||
|
// TRANSLATION MISSING
|
||||||
|
[[registering]]
|
||||||
|
=== Registering
|
||||||
|
|
||||||
|
Functions to register a script: used only by scripting API, not the C API.
|
||||||
|
|
||||||
|
==== register
|
||||||
|
|
||||||
|
Register the script.
|
||||||
|
|
||||||
|
For more information, see the
|
||||||
|
link:weechat_scripting.it.html#register_function[WeeChat scripting guide].
|
||||||
|
|
||||||
|
Script (Python):
|
||||||
|
|
||||||
|
[source,python]
|
||||||
|
----
|
||||||
|
# prototype
|
||||||
|
weechat.register(name, author, version, license, description, shutdown_function, charset)
|
||||||
|
----
|
||||||
|
|
||||||
|
[NOTE]
|
||||||
|
This function is not available in the C API.
|
||||||
|
|
||||||
[[plugins]]
|
[[plugins]]
|
||||||
=== Plugin
|
=== Plugin
|
||||||
|
|
||||||
@@ -1555,7 +1605,7 @@ Questa funzione non è disponibile nelle API per lo scripting.
|
|||||||
==== string_split
|
==== string_split
|
||||||
|
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
_Updated in 2.5._
|
_Updated in 2.5, 2.6._
|
||||||
|
|
||||||
Divide una stringa in base a uno o più delimitatori.
|
Divide una stringa in base a uno o più delimitatori.
|
||||||
|
|
||||||
@@ -1564,13 +1614,17 @@ Prototipo:
|
|||||||
[source,C]
|
[source,C]
|
||||||
----
|
----
|
||||||
char **weechat_string_split (const char *string, const char *separators,
|
char **weechat_string_split (const char *string, const char *separators,
|
||||||
int flags, int num_items_max, int *num_items);
|
const char *strip_items, int flags,
|
||||||
|
int num_items_max, int *num_items);
|
||||||
----
|
----
|
||||||
|
|
||||||
Argomenti:
|
Argomenti:
|
||||||
|
|
||||||
* _string_: stringa da dividere
|
* _string_: stringa da dividere
|
||||||
* _separators_: delimitatori usati per dividere
|
* _separators_: delimitatori usati per dividere
|
||||||
|
// TRANSLATION MISSING
|
||||||
|
* _strip_items_: chars to strip from returned items (left/right);
|
||||||
|
optional, can be NULL
|
||||||
* _flags_: combination values to change the default behavior; if the value is 0,
|
* _flags_: combination values to change the default behavior; if the value is 0,
|
||||||
the default behavior is used (no strip of separators at beginning/end of string,
|
the default behavior is used (no strip of separators at beginning/end of string,
|
||||||
multiple separators are kept as-is so empty strings can be returned);
|
multiple separators are kept as-is so empty strings can be returned);
|
||||||
@@ -1609,7 +1663,7 @@ Esempi:
|
|||||||
char **argv;
|
char **argv;
|
||||||
int argc;
|
int argc;
|
||||||
|
|
||||||
argv = weechat_string_split ("abc de fghi ", " ", 0, 0, &argc);
|
argv = weechat_string_split ("abc de fghi ", " ", NULL, 0, 0, &argc);
|
||||||
/* result: argv[0] == "abc"
|
/* result: argv[0] == "abc"
|
||||||
argv[1] == "de"
|
argv[1] == "de"
|
||||||
argv[2] = ""
|
argv[2] = ""
|
||||||
@@ -1620,7 +1674,7 @@ argv = weechat_string_split ("abc de fghi ", " ", 0, 0, &argc);
|
|||||||
*/
|
*/
|
||||||
weechat_string_free_split (argv);
|
weechat_string_free_split (argv);
|
||||||
|
|
||||||
argv = weechat_string_split ("abc de fghi ", " ",
|
argv = weechat_string_split ("abc de fghi ", " ", NULL,
|
||||||
WEECHAT_STRING_SPLIT_STRIP_LEFT
|
WEECHAT_STRING_SPLIT_STRIP_LEFT
|
||||||
| WEECHAT_STRING_SPLIT_STRIP_RIGHT
|
| WEECHAT_STRING_SPLIT_STRIP_RIGHT
|
||||||
| WEECHAT_STRING_SPLIT_COLLAPSE_SEPS,
|
| WEECHAT_STRING_SPLIT_COLLAPSE_SEPS,
|
||||||
@@ -1633,7 +1687,7 @@ argv = weechat_string_split ("abc de fghi ", " ",
|
|||||||
*/
|
*/
|
||||||
weechat_string_free_split (argv);
|
weechat_string_free_split (argv);
|
||||||
|
|
||||||
argv = weechat_string_split ("abc de fghi ", " ",
|
argv = weechat_string_split ("abc de fghi ", " ", NULL,
|
||||||
WEECHAT_STRING_SPLIT_STRIP_LEFT
|
WEECHAT_STRING_SPLIT_STRIP_LEFT
|
||||||
| WEECHAT_STRING_SPLIT_STRIP_RIGHT
|
| WEECHAT_STRING_SPLIT_STRIP_RIGHT
|
||||||
| WEECHAT_STRING_SPLIT_COLLAPSE_SEPS
|
| WEECHAT_STRING_SPLIT_COLLAPSE_SEPS
|
||||||
@@ -1647,7 +1701,7 @@ argv = weechat_string_split ("abc de fghi ", " ",
|
|||||||
*/
|
*/
|
||||||
weechat_string_free_split (argv);
|
weechat_string_free_split (argv);
|
||||||
|
|
||||||
argv = weechat_string_split ("abc de fghi ", " ",
|
argv = weechat_string_split ("abc de fghi ", " ", NULL,
|
||||||
WEECHAT_STRING_SPLIT_STRIP_LEFT
|
WEECHAT_STRING_SPLIT_STRIP_LEFT
|
||||||
| WEECHAT_STRING_SPLIT_COLLAPSE_SEPS
|
| WEECHAT_STRING_SPLIT_COLLAPSE_SEPS
|
||||||
| WEECHAT_STRING_SPLIT_KEEP_EOL,
|
| WEECHAT_STRING_SPLIT_KEEP_EOL,
|
||||||
@@ -1659,6 +1713,19 @@ argv = weechat_string_split ("abc de fghi ", " ",
|
|||||||
argc == 3
|
argc == 3
|
||||||
*/
|
*/
|
||||||
weechat_string_free_split (argv);
|
weechat_string_free_split (argv);
|
||||||
|
|
||||||
|
argv = weechat_string_split (" abc, de,, fghi ", ",", " ",
|
||||||
|
WEECHAT_STRING_SPLIT_STRIP_LEFT
|
||||||
|
| WEECHAT_STRING_SPLIT_STRIP_RIGHT
|
||||||
|
| WEECHAT_STRING_SPLIT_COLLAPSE_SEPS,
|
||||||
|
0, &argc);
|
||||||
|
/* result: argv[0] == "abc"
|
||||||
|
argv[1] == "de"
|
||||||
|
argv[2] == "fghi"
|
||||||
|
argv[3] == NULL
|
||||||
|
argc == 3
|
||||||
|
*/
|
||||||
|
weechat_string_free_split (argv);
|
||||||
----
|
----
|
||||||
|
|
||||||
[NOTE]
|
[NOTE]
|
||||||
@@ -4163,6 +4230,39 @@ value = weechat.list_string(item)
|
|||||||
weechat.prnt("", "valore dell'elemento: %s" % weechat.list_string(item))
|
weechat.prnt("", "valore dell'elemento: %s" % weechat.list_string(item))
|
||||||
----
|
----
|
||||||
|
|
||||||
|
==== list_user_data
|
||||||
|
|
||||||
|
_WeeChat ≥ 2.6._
|
||||||
|
|
||||||
|
// TRANSLATION MISSING
|
||||||
|
Return pointer to the user data of an item.
|
||||||
|
|
||||||
|
Prototipo:
|
||||||
|
|
||||||
|
[source,C]
|
||||||
|
----
|
||||||
|
void *weechat_list_user_data (struct t_weelist_item *item);
|
||||||
|
----
|
||||||
|
|
||||||
|
Argomenti:
|
||||||
|
|
||||||
|
* _item_: puntatore all'elemento
|
||||||
|
|
||||||
|
Valore restituito:
|
||||||
|
|
||||||
|
// TRANSLATION MISSING
|
||||||
|
* pointer to the user data of item
|
||||||
|
|
||||||
|
Esempio in C:
|
||||||
|
|
||||||
|
[source,C]
|
||||||
|
----
|
||||||
|
weechat_printf (NULL, "user data of item: 0x%lx", weechat_list_user_data (item));
|
||||||
|
----
|
||||||
|
|
||||||
|
[NOTE]
|
||||||
|
Questa funzione non è disponibile nelle API per lo scripting.
|
||||||
|
|
||||||
==== list_size
|
==== list_size
|
||||||
|
|
||||||
Restituisce la dimensione della lista (numero di elementi).
|
Restituisce la dimensione della lista (numero di elementi).
|
||||||
@@ -9225,7 +9325,7 @@ struct t_hashtable *options_url1 = weechat_hashtable_new (8,
|
|||||||
NULL);
|
NULL);
|
||||||
if (options_url1)
|
if (options_url1)
|
||||||
{
|
{
|
||||||
weechat_hashtable_set (options, "file_out", "/tmp/weechat.org.html");
|
weechat_hashtable_set (options_url1, "file_out", "/tmp/weechat.org.html");
|
||||||
struct t_hook *my_process_hook = weechat_hook_process_hashtable ("url:https://weechat.org/",
|
struct t_hook *my_process_hook = weechat_hook_process_hashtable ("url:https://weechat.org/",
|
||||||
options_url1,
|
options_url1,
|
||||||
20000,
|
20000,
|
||||||
@@ -9241,7 +9341,7 @@ struct t_hashtable *options_url2 = weechat_hashtable_new (8,
|
|||||||
NULL);
|
NULL);
|
||||||
if (options_url2)
|
if (options_url2)
|
||||||
{
|
{
|
||||||
weechat_hashtable_set (options, "httpheader",
|
weechat_hashtable_set (options_url2, "httpheader",
|
||||||
"Header1: value1\n"
|
"Header1: value1\n"
|
||||||
"Header2: value2");
|
"Header2: value2");
|
||||||
struct t_hook *my_process_hook = weechat_hook_process_hashtable ("url:http://localhost:8080/",
|
struct t_hook *my_process_hook = weechat_hook_process_hashtable ("url:http://localhost:8080/",
|
||||||
@@ -13579,8 +13679,8 @@ Prototipo:
|
|||||||
|
|
||||||
[source,C]
|
[source,C]
|
||||||
----
|
----
|
||||||
int weechat_window_get_string (struct t_gui_window *window,
|
const char *weechat_window_get_string (struct t_gui_window *window,
|
||||||
const char *property);
|
const char *property);
|
||||||
----
|
----
|
||||||
|
|
||||||
Argomenti:
|
Argomenti:
|
||||||
@@ -13592,6 +13692,14 @@ Valore restituito:
|
|||||||
|
|
||||||
* valore stringa della proprietà
|
* valore stringa della proprietà
|
||||||
|
|
||||||
|
Script (Python):
|
||||||
|
|
||||||
|
[source,python]
|
||||||
|
----
|
||||||
|
# prototipo
|
||||||
|
value = weechat.window_get_string(buffer, property)
|
||||||
|
----
|
||||||
|
|
||||||
==== window_get_pointer
|
==== window_get_pointer
|
||||||
|
|
||||||
Restituisce il valore puntatore della proprietà di una finestra.
|
Restituisce il valore puntatore della proprietà di una finestra.
|
||||||
|
|||||||
@@ -94,7 +94,7 @@ $ tar xvjf weechat-devel.tar.bz2
|
|||||||
$ cd weechat-devel
|
$ cd weechat-devel
|
||||||
----
|
----
|
||||||
|
|
||||||
Per compilare i sorgenti, si raccomanda cmake:
|
Per compilare i sorgenti, si raccomanda CMake:
|
||||||
|
|
||||||
----
|
----
|
||||||
$ mkdir build
|
$ mkdir build
|
||||||
@@ -104,7 +104,7 @@ $ make
|
|||||||
$ make install
|
$ make install
|
||||||
----
|
----
|
||||||
|
|
||||||
Se cmake non è installato, è ancora possibile usare gli autotools:
|
Se CMake non è installato, è ancora possibile usare gli autotools:
|
||||||
|
|
||||||
----
|
----
|
||||||
$ ./autogen.sh
|
$ ./autogen.sh
|
||||||
|
|||||||
+57
-49
@@ -93,14 +93,13 @@ installazione.
|
|||||||
[[source_package]]
|
[[source_package]]
|
||||||
=== Sorgenti
|
=== Sorgenti
|
||||||
|
|
||||||
WeeChat può essere compilato con cmake oppure autotools
|
WeeChat può essere compilato con CMake oppure autotools
|
||||||
(tuttavia si raccomanda cmake).
|
(tuttavia si raccomanda CMake).
|
||||||
|
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
[NOTE]
|
[NOTE]
|
||||||
On macOS, you can use https://brew.sh/[Homebrew]:
|
On macOS, you can use https://brew.sh/[Homebrew]:
|
||||||
`brew install weechat --with-python --with-perl`
|
`brew install weechat` (for help: `brew info weechat`).
|
||||||
(for help: `brew info weechat`).
|
|
||||||
|
|
||||||
[[dependencies]]
|
[[dependencies]]
|
||||||
==== Dipendenze
|
==== Dipendenze
|
||||||
@@ -116,7 +115,7 @@ compilare WeeChat.
|
|||||||
(gcc, clang, ...) | | *sì* | Build.
|
(gcc, clang, ...) | | *sì* | Build.
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
| C++ compiler | | | Build and run tests, plugin JavaScript.
|
| C++ compiler | | | Build and run tests, plugin JavaScript.
|
||||||
| cmake | ≥ 3.0 | *sì* | Compilazione (ancora possibile con autotools, ma si raccomanda cmake).
|
| cmake | ≥ 3.0 | *sì* | Compilazione (ancora possibile con autotools, ma si raccomanda CMake).
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
| pkg-config | | *sì* | Detect installed libraries.
|
| pkg-config | | *sì* | Detect installed libraries.
|
||||||
| libncursesw5-dev ^(2)^ | | *sì* | Interfaccia ncurses.
|
| libncursesw5-dev ^(2)^ | | *sì* | Interfaccia ncurses.
|
||||||
@@ -131,7 +130,7 @@ compilare WeeChat.
|
|||||||
| ca-certificates | | | Certificati per le connessioni SSL.
|
| ca-certificates | | | Certificati per le connessioni SSL.
|
||||||
| libaspell-dev
|
| libaspell-dev
|
||||||
∥ libenchant-dev | | | Plugin spell.
|
∥ libenchant-dev | | | Plugin spell.
|
||||||
| python-dev | ≥ 2.6 ^(4)^ | | Plugin python.
|
| python3-dev | ^(4)^ | | Plugin python.
|
||||||
| libperl-dev | | | Plugin perl.
|
| libperl-dev | | | Plugin perl.
|
||||||
| ruby2.5, ruby2.5-dev | ≥ 1.8 | | Plugin ruby.
|
| ruby2.5, ruby2.5-dev | ≥ 1.8 | | Plugin ruby.
|
||||||
| liblua5.3-dev | | | Plugin lua.
|
| liblua5.3-dev | | | Plugin lua.
|
||||||
@@ -161,8 +160,9 @@ you may experience display bugs with wide chars. +
|
|||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
^(3)^ GnuTLS ≥ 3.0.21 is required for IRC SASL authentication with mechanism
|
^(3)^ GnuTLS ≥ 3.0.21 is required for IRC SASL authentication with mechanism
|
||||||
ECDSA-NIST256P-CHALLENGE. +
|
ECDSA-NIST256P-CHALLENGE. +
|
||||||
^(4)^ La versione raccomandata di Python è la 2.7 (tutti gli script funzionano
|
// TRANSLATION MISSING
|
||||||
correttamente con la versione 2.7, ma non con le versioni < 2.7 o ≥ 3.0).
|
^(4)^ By default Python 3.x is used. If you enable option `ENABLE_PYTHON2` (see
|
||||||
|
below), only the version 2.7 of Python is recommended.
|
||||||
|
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
If you are using a Debian/Ubuntu based distribution, and if you have some
|
If you are using a Debian/Ubuntu based distribution, and if you have some
|
||||||
@@ -174,7 +174,7 @@ all dependencies with the command:
|
|||||||
----
|
----
|
||||||
|
|
||||||
[[compile_with_cmake]]
|
[[compile_with_cmake]]
|
||||||
==== Compilazione con cmake
|
==== Compilazione con CMake
|
||||||
|
|
||||||
* Installazione nelle directory di sistema (richiede privilegi di _root_):
|
* Installazione nelle directory di sistema (richiede privilegi di _root_):
|
||||||
|
|
||||||
@@ -198,7 +198,7 @@ $ make install
|
|||||||
----
|
----
|
||||||
|
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
Options can be used for cmake, with format: "-DOPTION=VALUE".
|
Options can be used for CMake, with format: "-DOPTION=VALUE".
|
||||||
|
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
List of commonly used options:
|
List of commonly used options:
|
||||||
@@ -286,12 +286,9 @@ List of commonly used options:
|
|||||||
| ENABLE_PYTHON | `ON`, `OFF` | ON |
|
| ENABLE_PYTHON | `ON`, `OFF` | ON |
|
||||||
Compile <<scripts_plugins,Python plugin>>.
|
Compile <<scripts_plugins,Python plugin>>.
|
||||||
|
|
||||||
| ENABLE_PYTHON3 | `ON`, `OFF` | OFF |
|
// TRANSLATION MISSING
|
||||||
Compile <<scripts_plugins,Python plugin>> using Python 3. +
|
| ENABLE_PYTHON2 | `ON`, `OFF` | OFF |
|
||||||
This option is not recommended because many scripts are not yet compatible
|
Compile <<scripts_plugins,Python plugin>> using Python 2 instead of Python 3.
|
||||||
with Python 3. +
|
|
||||||
You can follow the progress of Python 3 transition on this page:
|
|
||||||
https://weechat.org/scripts/python3/
|
|
||||||
|
|
||||||
| ENABLE_RELAY | `ON`, `OFF` | ON |
|
| ENABLE_RELAY | `ON`, `OFF` | ON |
|
||||||
Compile <<relay_plugin,Relay plugin>>.
|
Compile <<relay_plugin,Relay plugin>>.
|
||||||
@@ -343,9 +340,9 @@ $ ccmake ..
|
|||||||
|
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
[WARNING]
|
[WARNING]
|
||||||
Only cmake is officially supported to build WeeChat. You should use autotools
|
Only CMake is officially supported to build WeeChat. You should use autotools
|
||||||
only if you are not able to use cmake. +
|
only if you are not able to use CMake. +
|
||||||
Build with autotools requires more dependencies and is slower than with cmake.
|
Build with autotools requires more dependencies and is slower than with CMake.
|
||||||
|
|
||||||
* Installazione nelle directory di sistema (richiede privilegi di _root_):
|
* Installazione nelle directory di sistema (richiede privilegi di _root_):
|
||||||
|
|
||||||
@@ -387,13 +384,13 @@ Following packages are *required* to compile tests:
|
|||||||
* libcpputest-dev
|
* libcpputest-dev
|
||||||
* C++ compiler
|
* C++ compiler
|
||||||
|
|
||||||
Tests must be enabled when compiling WeeChat (with cmake):
|
Tests must be enabled when compiling WeeChat (with CMake):
|
||||||
|
|
||||||
----
|
----
|
||||||
$ cmake .. -DENABLE_TESTS=ON
|
$ cmake .. -DENABLE_TESTS=ON
|
||||||
----
|
----
|
||||||
|
|
||||||
They can be launched after compilation from the build directory (with cmake):
|
They can be launched after compilation from the build directory (with CMake):
|
||||||
|
|
||||||
----
|
----
|
||||||
$ ctest -V
|
$ ctest -V
|
||||||
@@ -428,7 +425,7 @@ futuro di WeeChat, è necessario:
|
|||||||
[[debug_info]]
|
[[debug_info]]
|
||||||
==== Informazioni di debug
|
==== Informazioni di debug
|
||||||
|
|
||||||
Se si compila con cmake:
|
Se si compila con CMake:
|
||||||
|
|
||||||
----
|
----
|
||||||
$ cmake .. -DCMAKE_BUILD_TYPE=Debug
|
$ cmake .. -DCMAKE_BUILD_TYPE=Debug
|
||||||
@@ -874,7 +871,7 @@ Nel plugin irc, si possono riorganizzare i colori usando l'opzione
|
|||||||
[[colors]]
|
[[colors]]
|
||||||
=== Colori
|
=== Colori
|
||||||
|
|
||||||
WeeChat può usare fino a 256 coppie di colore per visualizzare il testo nelle barre e
|
WeeChat può usare fino a 32767 coppie di colore per visualizzare il testo nelle barre e
|
||||||
nell'area di chat(il terminale deve supportare 256 colori per essere utilizzati in WeeChat).
|
nell'area di chat(il terminale deve supportare 256 colori per essere utilizzati in WeeChat).
|
||||||
|
|
||||||
In base al valore della variabile di ambiente _TERM_, potrebbero verificarsi i
|
In base al valore della variabile di ambiente _TERM_, potrebbero verificarsi i
|
||||||
@@ -883,12 +880,12 @@ seguenti limiti per i colori in WeeChat:
|
|||||||
[width="50%",cols="8,>2,>2",options="header"]
|
[width="50%",cols="8,>2,>2",options="header"]
|
||||||
|===
|
|===
|
||||||
| $TERM | Colori | Coppie
|
| $TERM | Colori | Coppie
|
||||||
| "rxvt-unicode", "xterm", ... | 88 | 256
|
| "rxvt-unicode", "xterm", ... | 88 | 32767
|
||||||
| "rxvt-256color", "xterm-256color", ... | 256 | 256
|
| "rxvt-256color", "xterm-256color", ... | 256 | 32767
|
||||||
| "screen" | 8 | 64
|
| "screen" | 8 | 64
|
||||||
| "screen-256color" | 256 | 256
|
| "screen-256color" | 256 | 32767
|
||||||
| "tmux" | 8 | 64
|
| "tmux" | 8 | 64
|
||||||
| "tmux-256color" | 256 | 256
|
| "tmux-256color" | 256 | 32767
|
||||||
|===
|
|===
|
||||||
|
|
||||||
È possibile eseguire `weechat --colors` o utilizzare il comando `/color` in
|
È possibile eseguire `weechat --colors` o utilizzare il comando `/color` in
|
||||||
@@ -2783,9 +2780,14 @@ host/IP e porta dipendono dalla propria configurazione di TOR):
|
|||||||
Now, add a new server, for example:
|
Now, add a new server, for example:
|
||||||
|
|
||||||
----
|
----
|
||||||
/server add freenode-tor freenodeok2gncmy.onion
|
/server add freenode-tor ajnvpgl6prmkb7yktvue6im5wiedlz2w32uhcwaamdiecdrfpwwgnlqd.onion
|
||||||
----
|
----
|
||||||
|
|
||||||
|
// TRANSLATION MISSING
|
||||||
|
[NOTE]
|
||||||
|
If you are using an old version of TOR (before 0.3.5) you should use the address
|
||||||
|
`freenodeok2gncmy.onion` instead.
|
||||||
|
|
||||||
Impostare il proxy per TOR:
|
Impostare il proxy per TOR:
|
||||||
|
|
||||||
----
|
----
|
||||||
@@ -3194,16 +3196,21 @@ nei mask (consultare `man stfrtime` per i formati), ad esempio:
|
|||||||
Si avranno i seguenti file:
|
Si avranno i seguenti file:
|
||||||
|
|
||||||
....
|
....
|
||||||
~/.weechat/
|
~/.weechat
|
||||||
|--- logs/
|
└── logs
|
||||||
|--- 2010/
|
├── 2010
|
||||||
|--- 11/
|
│ ├── 11
|
||||||
| irc.server.freenode.weechatlog
|
│ │ ├── irc.server.freenode.weechatlog
|
||||||
| irc.freenode.#weechat.weechatlog
|
│ │ └── irc.freenode.#weechat.weechatlog
|
||||||
|--- 2010/
|
│ └── 12
|
||||||
|--- 12/
|
│ ├── irc.server.freenode.weechatlog
|
||||||
| irc.server.freenode.weechatlog
|
│ └── irc.freenode.#weechat.weechatlog
|
||||||
| irc.freenode.#weechat.weechatlog
|
├── 2011
|
||||||
|
│ ├── 01
|
||||||
|
│ │ ├── irc.server.freenode.weechatlog
|
||||||
|
│ │ └── irc.freenode.#weechat.weechatlog
|
||||||
|
│ ├── 02
|
||||||
|
...
|
||||||
....
|
....
|
||||||
|
|
||||||
[[logger_irc_files_by_server_channel]]
|
[[logger_irc_files_by_server_channel]]
|
||||||
@@ -3219,17 +3226,18 @@ al suo interno:
|
|||||||
Si avranno i seguenti file:
|
Si avranno i seguenti file:
|
||||||
|
|
||||||
....
|
....
|
||||||
~/.weechat/
|
~/.weechat
|
||||||
|--- logs/
|
└── logs
|
||||||
|--- irc/
|
└── irc
|
||||||
|--- freenode/
|
├── freenode
|
||||||
| freenode.weechatlog
|
│ ├── freenode.weechatlog
|
||||||
| #weechat.weechatlog
|
│ ├── #weechat.weechatlog
|
||||||
| #mychan.weechatlog
|
│ └── #mychan.weechatlog
|
||||||
|--- oftc/
|
├── oftc
|
||||||
| oftc.weechatlog
|
│ ├── oftc.weechatlog
|
||||||
| #chan1.weechatlog
|
│ ├── #chan1.weechatlog
|
||||||
| #chan2.weechatlog
|
│ └── #chan2.weechatlog
|
||||||
|
...
|
||||||
....
|
....
|
||||||
|
|
||||||
[[logger_commands]]
|
[[logger_commands]]
|
||||||
|
|||||||
@@ -252,6 +252,8 @@ _isupport_ (string) +
|
|||||||
_prefix_modes_ (string) +
|
_prefix_modes_ (string) +
|
||||||
_prefix_chars_ (string) +
|
_prefix_chars_ (string) +
|
||||||
_nick_max_length_ (integer) +
|
_nick_max_length_ (integer) +
|
||||||
|
_user_max_length_ (integer) +
|
||||||
|
_host_max_length_ (integer) +
|
||||||
_casemapping_ (integer) +
|
_casemapping_ (integer) +
|
||||||
_chantypes_ (string) +
|
_chantypes_ (string) +
|
||||||
_chanmodes_ (string) +
|
_chanmodes_ (string) +
|
||||||
@@ -970,6 +972,7 @@ _charset_ (string) +
|
|||||||
_priority_ (integer) +
|
_priority_ (integer) +
|
||||||
_initialized_ (integer) +
|
_initialized_ (integer) +
|
||||||
_debug_ (integer) +
|
_debug_ (integer) +
|
||||||
|
_upgrading_ (integer) +
|
||||||
_variables_ (hashtable) +
|
_variables_ (hashtable) +
|
||||||
_prev_plugin_ (pointer, hdata: "plugin") +
|
_prev_plugin_ (pointer, hdata: "plugin") +
|
||||||
_next_plugin_ (pointer, hdata: "plugin") +
|
_next_plugin_ (pointer, hdata: "plugin") +
|
||||||
|
|||||||
@@ -10,6 +10,8 @@
|
|||||||
|
|
||||||
| alias | alias_default | デフォルトで定義された別名のリスト | - | -
|
| alias | alias_default | デフォルトで定義された別名のリスト | - | -
|
||||||
|
|
||||||
|
| buflist | buflist | list of buffers in a buflist bar item | - | buflist bar item name (optional)
|
||||||
|
|
||||||
| fset | fset_option | fset オプションのリスト | fset オプションポインタ (任意) | オプション名 (ワイルドカード "*" を使うことができます) (任意)
|
| fset | fset_option | fset オプションのリスト | fset オプションポインタ (任意) | オプション名 (ワイルドカード "*" を使うことができます) (任意)
|
||||||
|
|
||||||
| guile | guile_script | スクリプトのリスト | スクリプトポインタ (任意) | スクリプト名 (ワイルドカード "*" を使うことができます) (任意)
|
| guile | guile_script | スクリプトのリスト | スクリプトポインタ (任意) | スクリプト名 (ワイルドカード "*" を使うことができます) (任意)
|
||||||
|
|||||||
@@ -108,6 +108,10 @@
|
|||||||
|
|
||||||
| weechat | pid | WeeChat の PID (プロセス ID) | -
|
| weechat | pid | WeeChat の PID (プロセス ID) | -
|
||||||
|
|
||||||
|
| weechat | term_color_pairs | number of color pairs supported in terminal | -
|
||||||
|
|
||||||
|
| weechat | term_colors | number of colors supported in terminal | -
|
||||||
|
|
||||||
| weechat | term_height | 端末の高さ | -
|
| weechat | term_height | 端末の高さ | -
|
||||||
|
|
||||||
| weechat | term_width | 端末の幅 | -
|
| weechat | term_width | 端末の幅 | -
|
||||||
|
|||||||
@@ -62,6 +62,8 @@
|
|||||||
|
|
||||||
| unix_socket_path | string |
|
| unix_socket_path | string |
|
||||||
|
|
||||||
|
| abstract_unix_socket | string |
|
||||||
|
|
||||||
| path_as_is | long |
|
| path_as_is | long |
|
||||||
|
|
||||||
| proxy_service_name | string |
|
| proxy_service_name | string |
|
||||||
@@ -72,15 +74,21 @@
|
|||||||
|
|
||||||
| tcp_fastopen | long |
|
| tcp_fastopen | long |
|
||||||
|
|
||||||
|
| socks5_auth | long |
|
||||||
|
|
||||||
|
| haproxyprotocol | long |
|
||||||
|
|
||||||
|
| doh_url | string |
|
||||||
|
|
||||||
| netrc | long | ignored, optional, required
|
| netrc | long | ignored, optional, required
|
||||||
|
|
||||||
| userpwd | string |
|
| userpwd | string |
|
||||||
|
|
||||||
| proxyuserpwd | string |
|
| proxyuserpwd | string |
|
||||||
|
|
||||||
| httpauth | mask | none, basic, digest, ntlm, any, anysafe, digest_ie, only, ntlm_wb, negotiate
|
| httpauth | mask | none, basic, digest, ntlm, any, anysafe, digest_ie, only, ntlm_wb, negotiate, gssapi, bearer
|
||||||
|
|
||||||
| proxyauth | mask | none, basic, digest, ntlm, any, anysafe, digest_ie, only, ntlm_wb, negotiate
|
| proxyauth | mask | none, basic, digest, ntlm, any, anysafe, digest_ie, only, ntlm_wb, negotiate, gssapi, bearer
|
||||||
|
|
||||||
| netrc_file | string |
|
| netrc_file | string |
|
||||||
|
|
||||||
@@ -104,6 +112,8 @@
|
|||||||
|
|
||||||
| login_options | string |
|
| login_options | string |
|
||||||
|
|
||||||
|
| disallow_username_in_url | long |
|
||||||
|
|
||||||
| autoreferer | long |
|
| autoreferer | long |
|
||||||
|
|
||||||
| followlocation | long |
|
| followlocation | long |
|
||||||
@@ -114,8 +124,6 @@
|
|||||||
|
|
||||||
| postfields | string |
|
| postfields | string |
|
||||||
|
|
||||||
| httppost | list |
|
|
||||||
|
|
||||||
| referer | string |
|
| referer | string |
|
||||||
|
|
||||||
| useragent | string |
|
| useragent | string |
|
||||||
@@ -170,6 +178,8 @@
|
|||||||
|
|
||||||
| stream_weight | long |
|
| stream_weight | long |
|
||||||
|
|
||||||
|
| request_target | string |
|
||||||
|
|
||||||
| mail_from | string |
|
| mail_from | string |
|
||||||
|
|
||||||
| mail_rcpt | list |
|
| mail_rcpt | list |
|
||||||
@@ -258,6 +268,10 @@
|
|||||||
|
|
||||||
| maxfilesize_large | long long |
|
| maxfilesize_large | long long |
|
||||||
|
|
||||||
|
| timevalue_large | long long |
|
||||||
|
|
||||||
|
| upload_buffersize | long |
|
||||||
|
|
||||||
| timeout | long |
|
| timeout | long |
|
||||||
|
|
||||||
| low_speed_limit | long |
|
| low_speed_limit | long |
|
||||||
@@ -300,9 +314,15 @@
|
|||||||
|
|
||||||
| connect_to | list |
|
| connect_to | list |
|
||||||
|
|
||||||
|
| happy_eyeballs_timeout_ms | long |
|
||||||
|
|
||||||
|
| dns_shuffle_addresses | long |
|
||||||
|
|
||||||
|
| upkeep_interval_ms | long |
|
||||||
|
|
||||||
| sslcert | string |
|
| sslcert | string |
|
||||||
|
|
||||||
| sslversion | long | default, tlsv1, sslv2, sslv3, tlsv1_0, tlsv1_1, tlsv1_2, tlsv1_3
|
| sslversion | long | default, tlsv1, sslv2, sslv3, tlsv1_0, tlsv1_1, tlsv1_2, tlsv1_3, max_default, max_none, max_tlsv1_0, max_tlsv1_1, max_tlsv1_2, max_tlsv1_3
|
||||||
|
|
||||||
| ssl_verifypeer | long |
|
| ssl_verifypeer | long |
|
||||||
|
|
||||||
@@ -342,7 +362,7 @@
|
|||||||
|
|
||||||
| gssapi_delegation | long | none, policy_flag, flag
|
| gssapi_delegation | long | none, policy_flag, flag
|
||||||
|
|
||||||
| ssl_options | long | allow_beast, no_revoke
|
| ssl_options | long | allow_beast, no_revoke, no_backends, ok, too_late, unknown_backend
|
||||||
|
|
||||||
| ssl_enable_alpn | long |
|
| ssl_enable_alpn | long |
|
||||||
|
|
||||||
@@ -372,11 +392,11 @@
|
|||||||
|
|
||||||
| proxy_sslkeytype | string |
|
| proxy_sslkeytype | string |
|
||||||
|
|
||||||
| proxy_sslversion | long | default, tlsv1, sslv2, sslv3, tlsv1_0, tlsv1_1, tlsv1_2, tlsv1_3
|
| proxy_sslversion | long | default, tlsv1, sslv2, sslv3, tlsv1_0, tlsv1_1, tlsv1_2, tlsv1_3, max_default, max_none, max_tlsv1_0, max_tlsv1_1, max_tlsv1_2, max_tlsv1_3
|
||||||
|
|
||||||
| proxy_ssl_cipher_list | list |
|
| proxy_ssl_cipher_list | list |
|
||||||
|
|
||||||
| proxy_ssl_options | long | allow_beast, no_revoke
|
| proxy_ssl_options | long | allow_beast, no_revoke, no_backends, ok, too_late, unknown_backend
|
||||||
|
|
||||||
| proxy_ssl_verifyhost | long |
|
| proxy_ssl_verifyhost | long |
|
||||||
|
|
||||||
@@ -388,6 +408,10 @@
|
|||||||
|
|
||||||
| proxy_tlsauth_username | string |
|
| proxy_tlsauth_username | string |
|
||||||
|
|
||||||
|
| tls13_ciphers | list |
|
||||||
|
|
||||||
|
| proxy_tls13_ciphers | list |
|
||||||
|
|
||||||
| ssh_auth_types | mask | none, policy_flag, flag
|
| ssh_auth_types | mask | none, policy_flag, flag
|
||||||
|
|
||||||
| ssh_public_keyfile | string |
|
| ssh_public_keyfile | string |
|
||||||
@@ -398,6 +422,8 @@
|
|||||||
|
|
||||||
| ssh_knownhosts | string |
|
| ssh_knownhosts | string |
|
||||||
|
|
||||||
|
| ssh_compression | long |
|
||||||
|
|
||||||
| new_file_perms | long |
|
| new_file_perms | long |
|
||||||
|
|
||||||
| new_directory_perms | long |
|
| new_directory_perms | long |
|
||||||
|
|||||||
@@ -7,8 +7,6 @@
|
|||||||
| 別名 | コマンド | 補完
|
| 別名 | コマンド | 補完
|
||||||
|
|
||||||
| /AAWAY | /allserv /away | -
|
| /AAWAY | /allserv /away | -
|
||||||
| /AME | /allchan /me | -
|
|
||||||
| /AMSG | /allchan /msg * | -
|
|
||||||
| /ANICK | /allserv /nick | -
|
| /ANICK | /allserv /nick | -
|
||||||
| /BEEP | /print -beep | -
|
| /BEEP | /print -beep | -
|
||||||
| /BYE | /quit | -
|
| /BYE | /quit | -
|
||||||
@@ -35,8 +33,9 @@
|
|||||||
| /UMODE | /mode $nick | -
|
| /UMODE | /mode $nick | -
|
||||||
| /V | /command core version | -
|
| /V | /command core version | -
|
||||||
| /W | /who | -
|
| /W | /who | -
|
||||||
| /WC | /window merge | -
|
| /WC | /window close | -
|
||||||
| /WI | /whois | -
|
| /WI | /whois | -
|
||||||
| /WII | /whois $1 $1 | -
|
| /WII | /whois $1 $1 | -
|
||||||
|
| /WM | /window merge | -
|
||||||
| /WW | /whowas | -
|
| /WW | /whowas | -
|
||||||
|===
|
|===
|
||||||
|
|||||||
@@ -27,7 +27,7 @@
|
|||||||
** デフォルト値: `+0+`
|
** デフォルト値: `+0+`
|
||||||
|
|
||||||
* [[option_exec.command.shell]] *exec.command.shell*
|
* [[option_exec.command.shell]] *exec.command.shell*
|
||||||
** 説明: pass:none[コマンド "/exec -sh" で使うシェル; シェルの名前 (PATH に含まれるシェル、例えば "bash" など) もしくはシェルへの絶対パス (例えば "/bin/bash")]
|
** 説明: 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"); if value is empty, "sh" is used (note: content is evaluated, see /help eval)]
|
||||||
** タイプ: 文字列
|
** タイプ: 文字列
|
||||||
** 値: 未制約文字列
|
** 値: 未制約文字列
|
||||||
** デフォルト値: `+"sh"+`
|
** デフォルト値: `+"${env:SHELL}"+`
|
||||||
|
|||||||
@@ -23,136 +23,138 @@
|
|||||||
-export [-help|-nohelp] <filename>
|
-export [-help|-nohelp] <filename>
|
||||||
<filter>
|
<filter>
|
||||||
|
|
||||||
-bar: ヘルプバーを追加します
|
-bar: add the help bar
|
||||||
-refresh: オプションリストを再読込した後、画面全体を再描画します (コマンド: /window refresh)
|
-refresh: refresh list of options, then whole screen (command: /window refresh)
|
||||||
-up: 選択行を "number" 行だけ上に移動
|
-up: move the selected line up by "number" lines
|
||||||
-down: 選択行を "number" 行だけ下に移動
|
-down: move the selected line down by "number" lines
|
||||||
-left: fset バッファをその幅の "percent" だけ左にスクロール
|
-left: scroll the fset buffer by "percent" of width on the left
|
||||||
-right: fset バッファをその幅の "percent" だけ右にスクロール
|
-right: scroll the fset buffer by "percent" of width on the right
|
||||||
-go: 番号を使って行を選択、1 行目は 0 ("end" で最後の行を選択)
|
-go: select a line by number, first line number is 0 ("end" to select the last line)
|
||||||
-toggle: ブール値をトグル
|
-toggle: toggle the boolean value
|
||||||
-add: 整数型と色の場合は "value" を追加 (負の値でも可)、その他の型の場合は値を設定または追加 (負の値を設定、正の値を追加)
|
-add: add "value" (which can be a negative number) for integers and colors, set/append to value for other types (set for a negative value, append for a positive value)
|
||||||
-reset: オプションの値をリセット
|
-reset: reset the value of option
|
||||||
-unset: オプションをアンセット
|
-unset: unset the option
|
||||||
-set: オプションの値を編集する目的で /set コマンドを入力に追加 (カーソルを値の先頭に移動)
|
-set: add the /set command in input to edit the value of option (move the cursor at the beginning of value)
|
||||||
-setnew: オプションの新しい値を編集する目的で /set コマンドを入力に追加
|
-setnew: add the /set command in input to edit a new value for the option
|
||||||
-append: オプションの値に何かを追加する目的で /set コマンドを追加 (カーソルを値の末尾に移動)
|
-append: add the /set command to append something in the value of option (move the cursor at the end of value)
|
||||||
-mark: マークをトグル
|
-mark: toggle mark
|
||||||
-format: 次の利用可能な書式に切り替える
|
-format: switch to the next available format
|
||||||
-export: 表示されているオプションと値をファイルにエクスポート (各行の書式: "/set name value" または "/unset name")
|
-export: export the options and values displayed in a file (each line has format: "/set name value" or "/unset name")
|
||||||
-help: エクスポートされるファイルにオプションのヘルプを強制的に書き込む (/help fset.look.export_help_default を参照してください)
|
-help: force writing of help on options in exported file (see /help fset.look.export_help_default)
|
||||||
-nohelp: エクスポートされるファイルにオプションのヘルプを書き込まない (/help fset.look.export_help_default を参照してください)
|
-nohelp: do not write help on options in exported file (see /help fset.look.export_help_default)
|
||||||
filter: 表示オプションを制限するフィルタ (このフィルタを fset バッファの入力として使うことも可能です); フィルタの書式は以下の例に従ってください:
|
filter: set a new filter to see only matching options (this filter can be used as input in fset buffer as well); allowed formats are:
|
||||||
* すべてのオプションを表示します (フィルタなし)
|
* show all options (no filter)
|
||||||
xxx 名前に "xxx" が含まれるオプションだけを表示
|
xxx show only options with "xxx" in name
|
||||||
f:xxx 設定ファイル "xxx" に含まれるオプションだけを表示
|
f:xxx show only configuration file "xxx"
|
||||||
t:xxx 型が "xxx" (bool/int/str/col) のオプションだけを表示
|
t:xxx show only type "xxx" (bool/int/str/col)
|
||||||
d 変更されたオプションだけを表示
|
d show only changed options
|
||||||
d:xxx 変更されたオプションかつ名前に "xxx" が含まれるものだけを表示
|
d:xxx show only changed options with "xxx" in name
|
||||||
d=xxx 変更されたオプションかつ値に "xxx" が含まれるものだけを表示
|
d=xxx show only changed options with "xxx" in value
|
||||||
d==xxx 変更されたオプションかつ値が "xxx" と完全に一致するものだけを表示
|
d==xxx show only changed options with exact value "xxx"
|
||||||
=xxx 値に "xxx" が含まれるオプションだけを表示
|
h=xxx show only options with "xxx" in description (translated)
|
||||||
==xxx 値が "xxx" と完全に一致するオプションだけを表示
|
he=xxx show only options with "xxx" in description (in English)
|
||||||
c:xxx 評価された状態が "xxx" に一致するオプションだけを表示、評価は以下の変数に対して行われます: file、section、option、name、parent_name、type、type_en、type_short (bool/int/str/col)、type_tiny (b/i/s/c)、default_value、default_value_undef、value、quoted_value、value_undef、value_changed、parent_value、min、max、description、description2、description_en、description_en2、string_values
|
=xxx show only options with "xxx" in value
|
||||||
|
==xxx show only options with exact value "xxx"
|
||||||
|
c:xxx show only options matching the evaluated condition "xxx", using following variables: file, section, option, name, parent_name, type, type_en, type_short (bool/int/str/col), type_tiny (b/i/s/c), default_value, default_value_undef, value, quoted_value, value_undef, value_changed, parent_value, min, max, description, description2, description_en, description_en2, string_values
|
||||||
|
|
||||||
オプションの表示書式 (この書式に関しては /help eval を参照してください) を設定するには、以下のオプションを使います:
|
The lines with options are displayed using string evaluation (see /help eval for the format), with these options:
|
||||||
- fset.format.option1: オプションに対する 1 番目の書式
|
- fset.format.option1: first format for an option
|
||||||
- fset.format.option2: オプションに対する 2 番目の書式
|
- fset.format.option2: second format for an option
|
||||||
|
|
||||||
オプションの表示書式には以下の変数を使うことが可能です:
|
The following variables can be used in these options:
|
||||||
- オプションに関するデータ、色をつけたり、スペースで右寄せできます:
|
- option data, with color and padded by spaces on the right:
|
||||||
- ${file}: 設定ファイル名 ("weechat" や "irc" など)
|
- ${file}: configuration file (for example "weechat" or "irc")
|
||||||
- ${section}: セクション名
|
- ${section}: section
|
||||||
- ${option}: オプション名
|
- ${option}: option name
|
||||||
- ${name}: 完全なオプション名 (file.section.option)
|
- ${name}: full option name (file.section.option)
|
||||||
- ${parent_name}: 親オプション名
|
- ${parent_name}: parent option name
|
||||||
- ${type}: オプション型 (翻訳済み)
|
- ${type}: option type (translated)
|
||||||
- ${type_en}: オプション型 (英語)
|
- ${type_en}: option type (in English)
|
||||||
- ${type_short}: オプション型の略称 (bool/int/str/col)
|
- ${type_short}: short option type (bool/int/str/col)
|
||||||
- ${type_tiny}: オプション型の短縮名 (b/i/s/c)
|
- ${type_tiny}: tiny option type (b/i/s/c)
|
||||||
- ${default_value}: オプションのデフォルト値
|
- ${default_value}: option default value
|
||||||
- ${default_value_undef}: デフォルト値が null の場合に "1"、それ以外の場合に "0"
|
- ${default_value_undef}: "1" if default value is null, otherwise "0"
|
||||||
- ${value}: オプションの値
|
- ${value}: option value
|
||||||
- ${value_undef}: オプションの値が null の場合に "1"、それ以外の場合に "0"
|
- ${value_undef}: "1" if value is null, otherwise "0"
|
||||||
- ${value_changed}: オプションの値がデフォルト値と異なる場合に "1"、それ以外の場合に "0"
|
- ${value_changed}: "1" if value is different from default value, otherwise "0"
|
||||||
- ${value2}: オプションの値、null の場合に値は継承されます
|
- ${value2}: option value, with inherited value if null
|
||||||
- ${parent_value}: 親オプションの値
|
- ${parent_value}: parent option value
|
||||||
- ${min}: 最小値
|
- ${min}: min value
|
||||||
- ${max}: 最大値
|
- ${max}: max value
|
||||||
- ${description}: オプションの説明 (翻訳済み)
|
- ${description}: option description (translated)
|
||||||
- ${description2}: オプションの説明 (翻訳済み)、オプションの説明がない場合は "(説明がありません)" と表示されます
|
- ${description2}: option description (translated), "(no description)" (translated) if there's no description
|
||||||
- ${description_en}: オプションの説明 (英語)
|
- ${description_en}: option description (in English)
|
||||||
- ${description_en2}: オプションの説明 (英語)、オプションの説明がない場合は "(no description)" と表示されます
|
- ${description_en2}: option description (in English), "(no description)" if there's no description
|
||||||
- ${string_values}: 文字列で設定可能な整数型オプションで使える文字列値
|
- ${string_values}: string values allowed for set of an integer option using strings
|
||||||
- ${marked}: オプションがマークされている場合に "1"、それ以外の場合に "0"
|
- ${marked}: "1" if option is marked, otherwise "0"
|
||||||
- ${index}: オプションのリストインデックス
|
- ${index}: index of option in list
|
||||||
- オプションに関するデータ、色を付けることが可能、スペースを含めることは不可能:
|
- option data, with color but no spaces:
|
||||||
- 上記変数名の前にアンダースコアを付ける、例: ${_name}、${_type}、...
|
- same names prefixed by underscore, for example: ${_name}, ${_type}, ...
|
||||||
- オプションに関するデータ、生情報 (色もスペースもつけられません):
|
- option data, raw format (no colors/spaces):
|
||||||
- 上記変数名の前にアンダースコアを 2 つ付ける、例: ${__name}、${__type}、...
|
- same names prefixed by two underscores, for example: ${__name}, ${__type}, ...
|
||||||
- オプションに関するデータ、スペースのみつけられます:
|
- option data, only spaces:
|
||||||
- 上記変数名の前に "empty_" を付ける、例: ${empty_name}、${empty_type}
|
- same names prefixed with "empty_", for example: ${empty_name}, ${empty_type}
|
||||||
- その他のデータ:
|
- other data:
|
||||||
- ${selected_line}: 行が選択されている場合に "1"、それ以外の場合に "0"
|
- ${selected_line}: "1" if the line is selected, otherwise "0"
|
||||||
- ${newline}: この位置に改行を挿入します、オプションは複数行に渡って表示されます
|
- ${newline}: insert a new line at point, so the option is displayed on multiple lines
|
||||||
|
|
||||||
fset バッファを操作するキーと入力:
|
Keys and input to move in on fset buffer:
|
||||||
up 1 行上に移動
|
up move one line up
|
||||||
down 1 行下に移動
|
down move one line down
|
||||||
pgup 1 ページ上に移動
|
pgup move one page up
|
||||||
pgdn 1 ページ下に移動
|
pgdn move one page down
|
||||||
alt-home << 最上部に移動
|
alt-home << move to first line
|
||||||
alt-end >> 最下部に移動
|
alt-end >> move to last line
|
||||||
F11 < 水平左方向にスクロール
|
F11 < scroll horizontally on the left
|
||||||
F12 > 水平右方向にスクロール
|
F12 > scroll horizontally on the right
|
||||||
|
|
||||||
fset バッファでオプションを設定するためのキーと入力:
|
Keys and input to set options on fset buffer:
|
||||||
alt+space t ブール値をトグル
|
alt+space t toggle boolean value
|
||||||
alt+'-' - 整数型および色の場合は値を 1 減らす、その他の型の場合は値を設定する
|
alt+'-' - subtract 1 from value for integer/color, set value for other types
|
||||||
alt+'+' + 整数型および色の場合は値を 1 増やす、その他の型の場合は値を追加する
|
alt+'+' + add 1 to value for integer/color, append to value for other types
|
||||||
alt+f, alt+r r 値をリセット
|
alt+f, alt+r r reset value
|
||||||
alt+f, alt+u u 値をアンセット
|
alt+f, alt+u u unset value
|
||||||
alt+enter s 値を設定
|
alt+enter s set value
|
||||||
alt+f, alt+n n 新しい値を設定
|
alt+f, alt+n n set new value
|
||||||
alt+f, alt+a a 値を追加
|
alt+f, alt+a a append to value
|
||||||
alt+',' , オプションをマーク/アンマーク
|
alt+',' , mark/unmark option
|
||||||
shift+up 上の項目に移動してオプションをマーク/アンマーク
|
shift+up move one line up and mark/unmark option
|
||||||
shift+down オプションをマーク/アンマークして下の項目に移動
|
shift+down mark/unmark option and move one line down
|
||||||
m:xxx フィルタ "xxx" にマッチしたことで表示されるオプションをマーク (オプションの名前や値に対する任意のフィルタが使えます、フィルタの詳細は上を参照してください)
|
m:xxx mark options displayed that are matching filter "xxx" (any filter on option or value is allowed, see filters above)
|
||||||
u:xxx フィルタ "xxx" にマッチしたことで表示されるオプションをアンマーク (オプションの名前や値に対する任意のフィルタが使えます、フィルタの詳細は上を参照してください)
|
u:xxx unmark options displayed that are matching filter "xxx" (any filter on option or value is allowed, see filters above)
|
||||||
|
|
||||||
fset バッファを操作するその他のキーと入力:
|
Other keys and input on fset buffer:
|
||||||
ctrl+L オプションの再読込とスクリーンの再描画 (コマンド: /fset -refresh)
|
ctrl+L refresh options and whole screen (command: /fset -refresh)
|
||||||
$ オプションの再読込 (オプションのマーク状態は変わりません)
|
$ refresh options (keep marked options)
|
||||||
$$ オプションの再読込 (すべてのオプションをアンマーク)
|
$$ refresh options (unmark all options)
|
||||||
alt+p p プラグイン説明のオプションをトグル (plugins.desc.*)
|
alt+p p toggle plugin description options (plugins.desc.*)
|
||||||
alt+v v ヘルプバーをトグル
|
alt+v v toggle help bar
|
||||||
s:x,y オプションをフィールド x と y でソート (/help fset.look.sort を参照してください)
|
s:x,y sort options by fields x,y (see /help fset.look.sort)
|
||||||
s: ソートをリセットしてデフォルトの順番に整列 (/help fset.look.sort を参照してください)
|
s: reset sort to its default value (see /help fset.look.sort)
|
||||||
w:xxx オプションをファイル "xxx" にエクスポート
|
w:xxx export options in file "xxx"
|
||||||
w-:xxx ヘルプを含めずに、オプションをファイル "xxx" にエクスポート
|
w-:xxx export options in file "xxx" without help
|
||||||
w+:xxx ヘルプを含めて、オプションをファイル "xxx" にエクスポート
|
w+:xxx export options in file "xxx" with help
|
||||||
ctrl+X x オプション表示用の書式を切り替える
|
ctrl+X x switch the format used to display options
|
||||||
q fset バッファを閉じる
|
q close fset buffer
|
||||||
|
|
||||||
fset バッファのマウス操作:
|
Mouse actions on fset buffer:
|
||||||
ホイールの上下 行を上方向/下方向へスクロール
|
wheel up/down move line up/down
|
||||||
左ボタン 行をクリック位置に移動
|
left button move line here
|
||||||
右ボタン ブール値をトグル (オン/オフ) またはオプション値を編集
|
right button toggle boolean (on/off) or edit the option value
|
||||||
右ボタン + 左/右にドラッグ 整数型と色の場合は値を増加/減少、その他の型の場合は値を設定/追加
|
right button + drag left/right increase/decrease value for integer/color, set/append to value for other types
|
||||||
右ボタン + 上/下にドラッグ 複数のオプションをマーク/アンマーク
|
right button + drag up/down mark/unmark multiple options
|
||||||
|
|
||||||
注意: 入力の先頭に 1 文字以上のスペースがある場合、以降の文字列はフィルタと解釈されます。例えば " q" はすべてのオプションから名前に "q" が含まれるものを検索しますが、"q" は fset バッファを閉じます。
|
Note: if input has one or more leading spaces, the following text is interpreted as a filter, without the spaces. For example " q" searches all options with "q" inside name while "q" closes the fset buffer.
|
||||||
|
|
||||||
例:
|
Examples:
|
||||||
変更された IRC オプションを表示:
|
show IRC options changed:
|
||||||
/fset d:irc.*
|
/fset d:irc.*
|
||||||
名前に "nicklist" が含まれるすべてのオプションを表示:
|
show all options with "nicklist" in name:
|
||||||
/fset nicklist
|
/fset nicklist
|
||||||
値に "red" が含まれるすべてのオプションを表示:
|
show all values which contain "red":
|
||||||
/fset =red
|
/fset =red
|
||||||
値が "red" と完全に一致するすべてのオプションを表示:
|
show all values which are exactly "red":
|
||||||
/fset ==red
|
/fset ==red
|
||||||
irc プラグインから整数型のすべてのオプションを表示:
|
show all integer options in irc plugin:
|
||||||
/fset c:${file} == irc && ${type_en} == integer
|
/fset c:${file} == irc && ${type_en} == integer
|
||||||
----
|
----
|
||||||
|
|||||||
@@ -124,7 +124,7 @@ WeeChat がサポートする機能: account-notify、away-notify、cap-notify
|
|||||||
* `+connect+`: IRC サーバに接続
|
* `+connect+`: IRC サーバに接続
|
||||||
|
|
||||||
----
|
----
|
||||||
/connect <server> [<server>...] [-<option>[=<value>]] [-no<option>] [-nojoin] [-switch]
|
/connect [<server> [<server>...]] [-<option>[=<value>]] [-no<option>] [-nojoin] [-switch]
|
||||||
-all|-auto|-open [-nojoin] [-switch]
|
-all|-auto|-open [-nojoin] [-switch]
|
||||||
|
|
||||||
server: サーバ名、これは:
|
server: サーバ名、これは:
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
** 説明: pass:none[スペルチェックを有効化するコマンドのコンマ区切りリスト (これ以外のコマンドではスペルチェックは無効)]
|
** 説明: pass:none[スペルチェックを有効化するコマンドのコンマ区切りリスト (これ以外のコマンドではスペルチェックは無効)]
|
||||||
** タイプ: 文字列
|
** タイプ: 文字列
|
||||||
** 値: 未制約文字列
|
** 値: 未制約文字列
|
||||||
** デフォルト値: `+"ame,amsg,away,command,cycle,kick,kickban,me,msg,notice,part,query,quit,topic"+`
|
** デフォルト値: `+"away,command,cycle,kick,kickban,me,msg,notice,part,query,quit,topic"+`
|
||||||
|
|
||||||
* [[option_spell.check.default_dict]] *spell.check.default_dict*
|
* [[option_spell.check.default_dict]] *spell.check.default_dict*
|
||||||
** 説明: pass:none[バッファに辞書が定義されていない場合に使用されるデフォルト辞書 (または辞書のコンマ区切りリスト) (空のままであれば明示的に有効化されたバッファを除いてスペルチェックを利用しない)]
|
** 説明: pass:none[バッファに辞書が定義されていない場合に使用されるデフォルト辞書 (または辞書のコンマ区切りリスト) (空のままであれば明示的に有効化されたバッファを除いてスペルチェックを利用しない)]
|
||||||
|
|||||||
@@ -194,30 +194,35 @@ command: 実行するコマンド (コマンドの最初に '/' が無い場合
|
|||||||
move up|down|left|right|area_up|area_down|area_left|area_right
|
move up|down|left|right|area_up|area_down|area_left|area_right
|
||||||
stop
|
stop
|
||||||
|
|
||||||
go: チャットエリア、バー (バーの名前を使った場合)、座標 "x,y" にカーソルを移動
|
go: move cursor to chat area, a bar (using bar name) or coordinates "x,y"
|
||||||
move: 方向を指定してカーソルを移動
|
move: move cursor with direction
|
||||||
stop: カーソルモードを終了
|
stop: stop cursor mode
|
||||||
|
|
||||||
引数が無ければ、カーソルモードを切り替えます。
|
Without argument, this command toggles cursor mode.
|
||||||
|
|
||||||
マウスが有効化されていた場合 (/help mouse を参照してください)、現在のところデフォルトではセンタークリックでカーソルモードが開始されます。
|
When mouse is enabled (see /help mouse), by default a middle click will start cursor mode at this point.
|
||||||
|
|
||||||
カーソルモードにおけるチャットメッセージに対するデフォルトキー:
|
Default keys in cursor mode on chat messages:
|
||||||
m メッセージの引用
|
m quote message
|
||||||
q プレフィックスとメッセージを引用
|
q quote prefix + message
|
||||||
Q 時間、プレフィックス、メッセージを引用
|
Q quote time + prefix + message
|
||||||
|
|
||||||
カーソルモードにおけるニックネームリストに対するデフォルトキー:
|
Default keys in cursor mode on nicklist:
|
||||||
b ニックネームを参加禁止にする (/ban)
|
b ban nick (/ban)
|
||||||
k ニックネームをキックする (/kick)
|
k kick nick (/kick)
|
||||||
K ニックネームを参加禁止にしてキックする (/kickban)
|
K kick and ban nick (/kickban)
|
||||||
q ニックネームに送信するクエリを開く (/query)
|
q open query with nick (/query)
|
||||||
w ユーザ情報を要求 (/whois)
|
w query information about user (/whois)
|
||||||
|
|
||||||
例:
|
Other default keys in cursor mode:
|
||||||
ニックネームリストに移動:
|
arrow move cursor
|
||||||
|
alt+arrow move cursor to the next area
|
||||||
|
enter exit cursor mode
|
||||||
|
|
||||||
|
Examples:
|
||||||
|
go to nicklist:
|
||||||
/cursor go nicklist
|
/cursor go nicklist
|
||||||
x=10、y=5 の位置に移動:
|
go to coordinates x=10, y=5:
|
||||||
/cursor go 10,5
|
/cursor go 10,5
|
||||||
----
|
----
|
||||||
|
|
||||||
@@ -974,6 +979,7 @@ command: 実行するコマンド (コマンドが '/' で始まらない場合
|
|||||||
resize [-window <number>] [h|v][+|-]<pct>
|
resize [-window <number>] [h|v][+|-]<pct>
|
||||||
balance
|
balance
|
||||||
merge [-window <number>] [all]
|
merge [-window <number>] [all]
|
||||||
|
close [-window <number>]
|
||||||
page_up|page_down [-window <number>]
|
page_up|page_down [-window <number>]
|
||||||
refresh
|
refresh
|
||||||
scroll [-window <number>] [+|-]<value>[s|m|h|d|M|y]
|
scroll [-window <number>] [+|-]<value>[s|m|h|d|M|y]
|
||||||
@@ -983,59 +989,62 @@ command: 実行するコマンド (コマンドが '/' で始まらない場合
|
|||||||
zoom [-window <number>]
|
zoom [-window <number>]
|
||||||
bare [<delay>]
|
bare [<delay>]
|
||||||
|
|
||||||
list: 開けられたウィンドウのリストアップ (引数無しの場合、このリストが表示されます)
|
list: list opened windows (without argument, this list is displayed)
|
||||||
-1: 前のウィンドウに移動
|
-1: jump to previous window
|
||||||
+1: 次のウィンドウに移動
|
+1: jump to next window
|
||||||
b#: バッファ番号 # のウィンドウに移動
|
b#: jump to next window displaying buffer number #
|
||||||
up: 現在のウィンドウの上のウィンドウに移動
|
up: switch to window above current one
|
||||||
down: 現在のウィンドウの下のウィンドウに移動
|
down: switch to window below current one
|
||||||
left: 左のウィンドウに移動
|
left: switch to window on the left
|
||||||
right: 右のウィンドウに移動
|
right: switch to window on the right
|
||||||
number: ウィンドウ番号 (/window list を参照してください)
|
number: window number (see /window list)
|
||||||
splith: 現在のウィンドウを水平分割 (/window merge で元に戻る)
|
splith: split current window horizontally (to undo: /window merge)
|
||||||
splitv: 現在のウィンドウを垂直分割 (/window merge で元に戻る)
|
splitv: split current window vertically (to undo: /window merge)
|
||||||
resize: ウィンドウサイズの変更、新しいサイズは親ウィンドウの <pct> パーセントで指定
|
resize: resize window size, new size is <pct> percentage of parent window
|
||||||
"h" または "v" を指定した場合、最近接の親ウィンドウの横幅または縦幅を変更
|
if "h" or "v" is specified, the resize affects the nearest parent window with a split of this type (horizontal/vertical)
|
||||||
balance: 全てのウィンドウのサイズを均等にする
|
balance: balance the sizes of all windows
|
||||||
merge: ウィンドウを他のものをマージする (all = 一つのウィンドウにまとめる)
|
merge: merge window with another (all = keep only one window)
|
||||||
page_up: 1 ページ分上方向にスクロール
|
close: close window
|
||||||
page_down: 1 ページ分下方向にスクロール
|
page_up: scroll one page up
|
||||||
refresh: 画面のリフレッシュ
|
page_down: scroll one page down
|
||||||
scroll: 指定行数 (+/-N) か指定期間 (s=秒、m=分、h=時間、d=日、M=月、y=年) スクロール
|
refresh: refresh screen
|
||||||
scroll_horiz: 指定列数 (+/-N) かウィンドウサイズの割合で水平方向にスクロール (フリーコンテンツを含むバッファ以外は無効)
|
scroll: scroll a number of lines (+/-N) or with time: s=seconds, m=minutes, h=hours, d=days, M=months, y=years
|
||||||
scroll_up: 数行分上方向にスクロール
|
scroll_horiz: scroll horizontally a number of columns (+/-N) or percentage of window size (this scrolling is possible only on buffers with free content)
|
||||||
scroll_down: 数行分下方向にスクロール
|
scroll_up: scroll a few lines up
|
||||||
scroll_top: バッファの一番上にスクロール
|
scroll_down: scroll a few lines down
|
||||||
scroll_bottom: バッファの一番下にスクロール
|
scroll_top: scroll to top of buffer
|
||||||
scroll_beyond_end: バッファの末尾を越えてスクロール
|
scroll_bottom: scroll to bottom of buffer
|
||||||
scroll_previous_highlight: 一つ前のハイライトにスクロール
|
scroll_beyond_end: scroll beyond the end of buffer
|
||||||
scroll_next_highlight: 次のハイライトにスクロール
|
scroll_previous_highlight: scroll to previous highlight
|
||||||
scroll_unread: 未読マーカにスクロール
|
scroll_next_highlight: scroll to next highlight
|
||||||
swap: 2 つのウィンドウのバッファを入れ替え (ターゲットウィンドウの方向を任意指定)
|
scroll_unread: scroll to unread marker
|
||||||
zoom: ウィンドウを拡大
|
swap: swap buffers of two windows (with optional direction for target window)
|
||||||
bare: 最小限表示を切り替える (自動的に標準表示モードに戻るまでの時間を秒単位で任意指定)
|
zoom: zoom on window
|
||||||
|
bare: toggle bare display (with optional delay in seconds for automatic return to standard display mode)
|
||||||
|
|
||||||
splith と splitv に関しては、pct は新しいウィンドウのパーセンテージで、現在のウィンドウサイズに対する割合で計算されます。例えば 25 は size = current_size / 4 の新しいウィンドウを作成します。
|
For splith and splitv, pct is a percentage which represents size of new window, computed with current window as size reference. For example 25 means create a new window with size = current_size / 4
|
||||||
|
|
||||||
例:
|
Examples:
|
||||||
バッファ #1 を表示しているウィンドウに移動:
|
jump to window displaying buffer #1:
|
||||||
/window b1
|
/window b1
|
||||||
2 行分上方向にスクロール:
|
scroll 2 lines up:
|
||||||
/window scroll -2
|
/window scroll -2
|
||||||
2 日分上方向にスクロール:
|
scroll 2 days up:
|
||||||
/window scroll -2d
|
/window scroll -2d
|
||||||
今日の最初にスクロール:
|
scroll to beginning of current day:
|
||||||
/window scroll -d
|
/window scroll -d
|
||||||
ウィンドウ #2 を拡大:
|
zoom on window #2:
|
||||||
/window zoom -window 2
|
/window zoom -window 2
|
||||||
ウィンドウを水平分割 (上側ウィンドウの縦幅は現在のウィンドウの縦幅の 30%):
|
split window horizontally using 30% of space for the window on top:
|
||||||
/window splith 30
|
/window splith 30
|
||||||
ウィンドウサイズを親ウィンドウサイズの 75% に変更:
|
resize window to 75% of the parent window size:
|
||||||
/window resize 75
|
/window resize 75
|
||||||
ウィンドウサイズの横幅を 10% 増やす:
|
resize vertical split, add 10% in size:
|
||||||
/window resize v+10
|
/window resize v+10
|
||||||
分割を元に戻す:
|
remove the split, keep the current window:
|
||||||
/window merge
|
/window merge
|
||||||
最小限表示を 2 秒間有効にする:
|
close the current window:
|
||||||
|
/window close
|
||||||
|
enable bare display for 2 seconds:
|
||||||
/window bare 2
|
/window bare 2
|
||||||
----
|
----
|
||||||
|
|||||||
@@ -921,9 +921,9 @@
|
|||||||
** デフォルト値: `+""+`
|
** デフォルト値: `+""+`
|
||||||
|
|
||||||
* [[option_weechat.look.nick_color_hash]] *weechat.look.nick_color_hash*
|
* [[option_weechat.look.nick_color_hash]] *weechat.look.nick_color_hash*
|
||||||
** 説明: pass:none[ニックネームに対する色を見つけるハッシュアルゴリズム: djb2 = djb2 (文字の位置が重要: ニックネームに同じ色が使われにくくなる) の亜種、sum = 文字の総和]
|
** 説明: pass:none[hash algorithm used to find the color for a nick: djb2 = variant of djb2 (position of letters matters: anagrams of a nick have different color), djb2_32 = variant of djb2 using 32-bit instead of 64-bit integer, sum = sum of letters, sum_32 = sum of letters using 32-bit instead of 64-bit integer]
|
||||||
** タイプ: 整数
|
** タイプ: 整数
|
||||||
** 値: djb2, sum
|
** 値: djb2, sum, djb2_32, sum_32
|
||||||
** デフォルト値: `+djb2+`
|
** デフォルト値: `+djb2+`
|
||||||
|
|
||||||
* [[option_weechat.look.nick_color_stop_chars]] *weechat.look.nick_color_stop_chars*
|
* [[option_weechat.look.nick_color_stop_chars]] *weechat.look.nick_color_stop_chars*
|
||||||
|
|||||||
+53
-27
@@ -242,6 +242,7 @@ WeeChat "core" は以下のディレクトリに配置されています:
|
|||||||
| buflist-bar-item.c | buflist バー要素
|
| buflist-bar-item.c | buflist バー要素
|
||||||
| buflist-command.c | buflist コマンド
|
| buflist-command.c | buflist コマンド
|
||||||
| buflist-config.c | buflist 設定オプション (buflist.conf ファイル)
|
| buflist-config.c | buflist 設定オプション (buflist.conf ファイル)
|
||||||
|
| buflist-info.c | buflist の情報/インフォリスト/hdata
|
||||||
| buflist-mouse.c | buflist マウス動作
|
| buflist-mouse.c | buflist マウス動作
|
||||||
| charset/ | charset プラグイン
|
| charset/ | charset プラグイン
|
||||||
| charset.c | charset 関数
|
| charset.c | charset 関数
|
||||||
@@ -406,9 +407,21 @@ WeeChat "core" は以下のディレクトリに配置されています:
|
|||||||
| test-core-util.cpp | テスト: ユーティリティ関数
|
| test-core-util.cpp | テスト: ユーティリティ関数
|
||||||
| gui/ | インターフェースの単体テストを収める最上位ディレクトリ
|
| gui/ | インターフェースの単体テストを収める最上位ディレクトリ
|
||||||
| test-gui-line.cpp | テスト: 行
|
| test-gui-line.cpp | テスト: 行
|
||||||
|
// TRANSLATION MISSING
|
||||||
|
| test-gui-nick.cpp | テスト: nicks
|
||||||
| plugins/ | プラグインの単体テストを収める最上位ディレクトリ
|
| plugins/ | プラグインの単体テストを収める最上位ディレクトリ
|
||||||
| irc/ | IRC プラグインの単体テストを収める最上位ディレクトリ
|
| irc/ | IRC プラグインの単体テストを収める最上位ディレクトリ
|
||||||
|
// TRANSLATION MISSING
|
||||||
|
| test-irc-color.cpp | Tests: IRC colors.
|
||||||
| test-irc-config.cpp | テスト: IRC 設定
|
| test-irc-config.cpp | テスト: IRC 設定
|
||||||
|
// TRANSLATION MISSING
|
||||||
|
| test-irc-ignore.cpp | Tests: IRC ignores.
|
||||||
|
// TRANSLATION MISSING
|
||||||
|
| test-irc-message.cpp | Tests: IRC messages.
|
||||||
|
// TRANSLATION MISSING
|
||||||
|
| test-irc-mode.cpp | Tests: IRC modes.
|
||||||
|
// TRANSLATION MISSING
|
||||||
|
| test-irc-nick.cpp | Tests: IRC nicks.
|
||||||
| test-irc-protocol.cpp | テスト: IRC プロトコル
|
| test-irc-protocol.cpp | テスト: IRC プロトコル
|
||||||
|===
|
|===
|
||||||
|
|
||||||
@@ -873,34 +886,47 @@ WeeChat は文字列中に独自の色コードを使うことで、属性
|
|||||||
|
|
||||||
[width="100%",cols="4,2,2,8",options="header"]
|
[width="100%",cols="4,2,2,8",options="header"]
|
||||||
|===
|
|===
|
||||||
| コード | 例 | エリア | 説明
|
| コード | 例 | エリア | 説明
|
||||||
| [hex]#19# + STD | [hex]#19# `+01+` | chat + bars | オプションを使って属性と色を指定、色コードは以下の表を参照
|
| [hex]#19# + STD | [hex]#19# `+01+` | chat + bars | オプションを使って属性と色を指定、色コードは以下の表を参照
|
||||||
| [hex]#19# + EXT | [hex]#19# `+@00001+` | chat | ncurses ペアを使って色を指定 (`/color` バッファのみ有効)
|
| [hex]#19# + EXT | [hex]#19# `+@00001+` | chat | ncurses ペアを使って色を指定 (`/color` バッファのみ有効)
|
||||||
| [hex]#19# + "F" + (A)STD | [hex]#19# `+F*05+` | chat + bars | 文字色 (WeeChat 色) を設定
|
| [hex]#19# + "F" + (A)STD | [hex]#19# `+F*05+` | chat + bars | 文字色 (WeeChat 色) を設定
|
||||||
| [hex]#19# + "F" + (A)EXT | [hex]#19# `+F@00214+` | chat + bars | 文字色 (拡張色) を設定
|
| [hex]#19# + "F" + (A)EXT | [hex]#19# `+F@00214+` | chat + bars | 文字色 (拡張色) を設定
|
||||||
| [hex]#19# + "B" + STD | [hex]#19# `+B05+` | chat + bars | 背景色 (WeeChat 色) を設定
|
| [hex]#19# + "B" + STD | [hex]#19# `+B05+` | chat + bars | 背景色 (WeeChat 色) を設定
|
||||||
| [hex]#19# + "B" + EXT | [hex]#19# `+B@00124+` | chat + bars | 背景色 (拡張色) を設定
|
| [hex]#19# + "B" + EXT | [hex]#19# `+B@00124+` | chat + bars | 背景色 (拡張色) を設定
|
||||||
| [hex]#19# + "*" + (A)STD | [hex]#19# `+*05+` | chat + bars | 文字色(WeeChat 色) を設定
|
| [hex]#19# + "*" + (A)STD | [hex]#19# `+*05+` | chat + bars | 文字色(WeeChat 色) を設定
|
||||||
| [hex]#19# + "*" + (A)EXT | [hex]#19# `+*@00214+` | chat + bars | 文字色 (拡張色) を設定
|
| [hex]#19# + "*" + (A)EXT | [hex]#19# `+*@00214+` | chat + bars | 文字色 (拡張色) を設定
|
||||||
| [hex]#19# + "*" + (A)STD + "," + STD | [hex]#19# `+*08,05+` | chat + bars | 文字色および背景色 (WeeChat 色) を設定
|
| [hex]#19# + "*" + (A)STD + "," + STD ^(1)^ | [hex]#19# `+*08,05+` | chat + bars | 文字色および背景色 (WeeChat 色) を設定
|
||||||
| [hex]#19# + "*" + (A)STD + "," + EXT | [hex]#19# `+*01,@00214+` | chat + bars | 文字色 (WeeChat 色) と背景色 (拡張色) を設定
|
| [hex]#19# + "*" + (A)STD + "," + EXT ^(1)^ | [hex]#19# `+*01,@00214+` | chat + bars | 文字色 (WeeChat 色) と背景色 (拡張色) を設定
|
||||||
| [hex]#19# + "*" + (A)EXT + "," + STD | [hex]#19# `+*@00214,05+` | chat + bars | 文字色 (拡張色) と背景色 (WeeChat 色) を設定
|
| [hex]#19# + "*" + (A)EXT + "," + STD ^(1)^ | [hex]#19# `+*@00214,05+` | chat + bars | 文字色 (拡張色) と背景色 (WeeChat 色) を設定
|
||||||
| [hex]#19# + "*" + (A)EXT + "," + EXT | [hex]#19# `+*@00214,@00017+` | chat + bars | 文字色および背景色 (拡張色) を設定
|
| [hex]#19# + "*" + (A)EXT + "," + EXT ^(1)^ | [hex]#19# `+*@00214,@00017+` | chat + bars | 文字色および背景色 (拡張色) を設定
|
||||||
| [hex]#19# + "b" + "F" | [hex]#19# `+bF+` | bars | バーの文字色を設定
|
| [hex]#19# + "*" + (A)STD + "~" + STD | [hex]#19# `+*08~05+` | chat + bars | 文字色および背景色 (WeeChat 色) を設定
|
||||||
| [hex]#19# + "b" + "D" | [hex]#19# `+bD+` | bars | バーの区切り文字色を設定
|
| [hex]#19# + "*" + (A)STD + "~" + EXT | [hex]#19# `+*01~@00214+` | chat + bars | 文字色 (WeeChat 色) と背景色 (拡張色) を設定
|
||||||
| [hex]#19# + "b" + "B" | [hex]#19# `+bB+` | bars | バーの背景色を設定
|
| [hex]#19# + "*" + (A)EXT + "~" + STD | [hex]#19# `+*@00214~05+` | chat + bars | 文字色 (拡張色) と背景色 (WeeChat 色) を設定
|
||||||
| [hex]#19# + "b" + "_" | [hex]#19# `+b_+` | input bar | 文字入力を開始 ("input_text" 要素のみで利用可)
|
| [hex]#19# + "*" + (A)EXT + "~" + EXT | [hex]#19# `+*@00214~@00017+` | chat + bars | 文字色および背景色 (拡張色) を設定
|
||||||
| [hex]#19# + "b" + "-" | [hex]#19# `+b-+` | input bar | 隠し文字入力を開始 ("input_text" 要素のみで利用可)
|
| [hex]#19# + "b" + "F" | [hex]#19# `+bF+` | bars | バーの文字色を設定
|
||||||
| [hex]#19# + "b" + "#" | [hex]#19# `+b#+` | input bar | カーソル文字を移動 ("input_text" 要素のみで利用可)
|
| [hex]#19# + "b" + "D" | [hex]#19# `+bD+` | bars | バーの区切り文字色を設定
|
||||||
| [hex]#19# + "b" + "i" | [hex]#19# `+bi+` | bars | 要素を開始
|
| [hex]#19# + "b" + "B" | [hex]#19# `+bB+` | bars | バーの背景色を設定
|
||||||
| [hex]#19# + "b" + "l" (小文字の L) | [hex]#19# `+bl+` | bars | 行要素を開始
|
| [hex]#19# + "b" + "_" | [hex]#19# `+b_+` | input bar | 文字入力を開始 ("input_text" 要素のみで利用可)
|
||||||
| [hex]#19# + "E" | [hex]#19# `+E+` | chat + bars | テキストを強調 _(WeeChat バージョン 0.4.2 以上で利用可)_
|
| [hex]#19# + "b" + "-" | [hex]#19# `+b-+` | input bar | 隠し文字入力を開始 ("input_text" 要素のみで利用可)
|
||||||
| [hex]#19# + [hex]#1C# | [hex]#19# [hex]#1C# | chat + bars | 色をリセット (属性は保存)
|
| [hex]#19# + "b" + "#" | [hex]#19# `+b#+` | input bar | カーソル文字を移動 ("input_text" 要素のみで利用可)
|
||||||
| [hex]#1A# + ATTR | [hex]#1A# `+*+` | chat + bars | 属性を設定
|
| [hex]#19# + "b" + "i" | [hex]#19# `+bi+` | bars | 要素を開始
|
||||||
| [hex]#1B# + ATTR | [hex]#1B# `+*+` | chat + bars | 属性を削除
|
| [hex]#19# + "b" + "l" (小文字の L) | [hex]#19# `+bl+` | bars | 行要素を開始
|
||||||
| [hex]#1C# | [hex]#1C# | chat + bars | 属性と色をリセット
|
| [hex]#19# + "E" | [hex]#19# `+E+` | chat + bars | テキストを強調 _(WeeChat バージョン 0.4.2 以上で利用可)_
|
||||||
|
| [hex]#19# + [hex]#1C# | [hex]#19# [hex]#1C# | chat + bars | 色をリセット (属性は保存)
|
||||||
|
| [hex]#1A# + ATTR | [hex]#1A# `+*+` | chat + bars | 属性を設定
|
||||||
|
| [hex]#1B# + ATTR | [hex]#1B# `+*+` | chat + bars | 属性を削除
|
||||||
|
| [hex]#1C# | [hex]#1C# | chat + bars | 属性と色をリセット
|
||||||
|===
|
|===
|
||||||
|
|
||||||
|
// TRANSLATION MISSING
|
||||||
|
[NOTE]
|
||||||
|
^(1)^ The use of comma as separator was used until WeeChat 2.5. +
|
||||||
|
With WeeChat ≥ 2.6, a tilde is used to separate foreground from background
|
||||||
|
color. If you are developing a WeeChat relay client and want to be compatible
|
||||||
|
with all WeeChat versions, you should support both separators (for example if a
|
||||||
|
user with WeeChat ≤ 2.5 runs `/upgrade` to a version ≥ 2.6, both separators
|
||||||
|
could be used at same time in buffers).
|
||||||
|
|
||||||
オプションを使う色コード
|
オプションを使う色コード
|
||||||
(_src/gui/gui-color.h_ ファイルの _t_gui_color_enum_ を参照):
|
(_src/gui/gui-color.h_ ファイルの _t_gui_color_enum_ を参照):
|
||||||
|
|
||||||
@@ -1084,7 +1110,7 @@ _component_ には以下から 1 つ選んで記入してください:
|
|||||||
irc: add command /unquiet (closes #36)
|
irc: add command /unquiet (closes #36)
|
||||||
core: add callback "nickcmp" for nick comparison in buffers
|
core: add callback "nickcmp" for nick comparison in buffers
|
||||||
irc: fix freeze when reading on socket with SSL enabled (bug #35097)
|
irc: fix freeze when reading on socket with SSL enabled (bug #35097)
|
||||||
ruby: add detection of ruby version 1.9.3 in cmake
|
ruby: add detection of ruby version 1.9.3 in CMake
|
||||||
python: fix crash when unloading a script without pointer to interpreter
|
python: fix crash when unloading a script without pointer to interpreter
|
||||||
core: update Japanese translations (patch #7783)
|
core: update Japanese translations (patch #7783)
|
||||||
----
|
----
|
||||||
|
|||||||
@@ -51,10 +51,10 @@ https://weechat.org/about/interfaces
|
|||||||
[[compile_git]]
|
[[compile_git]]
|
||||||
=== git リポジトリをクローンした後に WeeChat をコンパイルできません。
|
=== git リポジトリをクローンした後に WeeChat をコンパイルできません。
|
||||||
|
|
||||||
WeeChat をコンパイルするには link:weechat_user.ja.html#compile_with_cmake[cmake]
|
WeeChat をコンパイルするには link:weechat_user.ja.html#compile_with_cmake[CMake]
|
||||||
を使うことが推奨されています。
|
を使うことが推奨されています。
|
||||||
|
|
||||||
link:weechat_user.ja.html#compile_with_autotools[autotools] を使って (cmake を使わずに)
|
link:weechat_user.ja.html#compile_with_autotools[autotools] を使って (CMake を使わずに)
|
||||||
コンパイルする場合、最新の autoconf と automake を使ってください。
|
コンパイルする場合、最新の autoconf と automake を使ってください。
|
||||||
|
|
||||||
他には「開発パッケージ」をインストール方法があります。この場合、インストールするのに必要なパッケージの数が減ります。このパッケージは
|
他には「開発パッケージ」をインストール方法があります。この場合、インストールするのに必要なパッケージの数が減ります。このパッケージは
|
||||||
@@ -74,7 +74,7 @@ brew info weechat
|
|||||||
以下のコマンドで WeeChat をインストールします:
|
以下のコマンドで WeeChat をインストールします:
|
||||||
|
|
||||||
----
|
----
|
||||||
brew install weechat --with-aspell --with-curl --with-python --with-perl --with-ruby --with-lua --with-guile
|
brew install weechat
|
||||||
----
|
----
|
||||||
|
|
||||||
[[lost]]
|
[[lost]]
|
||||||
|
|||||||
@@ -100,14 +100,41 @@ int weechat_plugin_init (struct t_weechat_plugin *plugin,
|
|||||||
|
|
||||||
* _plugin_: WeeChat プラグイン構造体へのポインタ。これはグローバルポインタ
|
* _plugin_: WeeChat プラグイン構造体へのポインタ。これはグローバルポインタ
|
||||||
`weechat_plugin` を初期化する際に使われます
|
`weechat_plugin` を初期化する際に使われます
|
||||||
* _argc_: プラグインに対する引数の数 (ユーザがコマンドラインで指定)
|
* _argc_: プラグインに対する引数の数
|
||||||
* _argv_: プラグインに対する引数
|
// TRANSLATION MISSING
|
||||||
|
* _argv_: プラグインに対する引数 (see below)
|
||||||
|
|
||||||
戻り値:
|
戻り値:
|
||||||
|
|
||||||
* _WEECHAT_RC_OK_ 成功した場合 (プラグインをロードします)
|
* _WEECHAT_RC_OK_ 成功した場合 (プラグインをロードします)
|
||||||
* _WEECHAT_RC_ERROR_ エラーが起きた場合 (プラグインをロードしません)
|
* _WEECHAT_RC_ERROR_ エラーが起きた場合 (プラグインをロードしません)
|
||||||
|
|
||||||
|
// TRANSLATION MISSING
|
||||||
|
[[plugin_arguments]]
|
||||||
|
===== Plugin arguments
|
||||||
|
|
||||||
|
When the plugin is loaded by WeeChat, it receives the list of arguments
|
||||||
|
in parameter `argv` and the number of arguments in `argc`.
|
||||||
|
|
||||||
|
The arguments can be:
|
||||||
|
|
||||||
|
* command line arguments when running the WeeChat binary,
|
||||||
|
* arguments given to the command `/plugin load xxx`, when the plugin is manually
|
||||||
|
loaded by the user.
|
||||||
|
|
||||||
|
When the arguments come from the command line, only these arguments are sent to
|
||||||
|
the plugin:
|
||||||
|
|
||||||
|
*-a*, *--no-connect*::
|
||||||
|
WeeChat の起動時にサーバへの自動接続を行わない
|
||||||
|
|
||||||
|
*-s*, *--no-script*::
|
||||||
|
スクリプトの自動ロードを止める
|
||||||
|
|
||||||
|
*plugin:option*::
|
||||||
|
Option for a plugin: only the plugin-related options are sent, for example
|
||||||
|
only the options starting with `irc:` are sent to the plugin called "irc".
|
||||||
|
|
||||||
[[plugin_priority]]
|
[[plugin_priority]]
|
||||||
===== プラグインの優先度
|
===== プラグインの優先度
|
||||||
|
|
||||||
@@ -254,6 +281,30 @@ weechat_plugin_end (struct t_weechat_plugin *plugin)
|
|||||||
* C 言語での使用例、
|
* C 言語での使用例、
|
||||||
* Python スクリプトでの使用例 (他のスクリプト言語を使う場合も文法は似ています)。
|
* Python スクリプトでの使用例 (他のスクリプト言語を使う場合も文法は似ています)。
|
||||||
|
|
||||||
|
// TRANSLATION MISSING
|
||||||
|
[[registering]]
|
||||||
|
=== Registering
|
||||||
|
|
||||||
|
Functions to register a script: used only by scripting API, not the C API.
|
||||||
|
|
||||||
|
==== register
|
||||||
|
|
||||||
|
Register the script.
|
||||||
|
|
||||||
|
For more information, see the
|
||||||
|
link:weechat_scripting.ja.html#register_function[WeeChat scripting guide].
|
||||||
|
|
||||||
|
スクリプト (Python) での使用例:
|
||||||
|
|
||||||
|
[source,python]
|
||||||
|
----
|
||||||
|
# プロトタイプ
|
||||||
|
weechat.register(name, author, version, license, description, shutdown_function, charset)
|
||||||
|
----
|
||||||
|
|
||||||
|
[NOTE]
|
||||||
|
This function is not available in the C API.
|
||||||
|
|
||||||
[[plugins]]
|
[[plugins]]
|
||||||
=== プラグイン
|
=== プラグイン
|
||||||
|
|
||||||
@@ -1489,7 +1540,7 @@ if (weechat_string_regcomp (&my_regex, "([0-9]{4})-([0-9]{2})-([0-9]{2})",
|
|||||||
|
|
||||||
==== string_split
|
==== string_split
|
||||||
|
|
||||||
_WeeChat バージョン 2.5 で更新。_
|
_WeeChat バージョン 2.5、2.6 で更新。_
|
||||||
|
|
||||||
1 つ以上の区切り文字に従って文字列を分割。
|
1 つ以上の区切り文字に従って文字列を分割。
|
||||||
|
|
||||||
@@ -1498,13 +1549,17 @@ _WeeChat バージョン 2.5 で更新。_
|
|||||||
[source,C]
|
[source,C]
|
||||||
----
|
----
|
||||||
char **weechat_string_split (const char *string, const char *separators,
|
char **weechat_string_split (const char *string, const char *separators,
|
||||||
int flags, int num_items_max, int *num_items);
|
const char *strip_items, int flags,
|
||||||
|
int num_items_max, int *num_items);
|
||||||
----
|
----
|
||||||
|
|
||||||
引数:
|
引数:
|
||||||
|
|
||||||
* _string_: 分割する文字列
|
* _string_: 分割する文字列
|
||||||
* _separators_: 分割に使う区切り文字
|
* _separators_: 分割に使う区切り文字
|
||||||
|
// TRANSLATION MISSING
|
||||||
|
* _strip_items_: chars to strip from returned items (left/right);
|
||||||
|
optional, can be NULL
|
||||||
* _flags_:
|
* _flags_:
|
||||||
デフォルト動作を変更するビットフラグの組合せ値; 値が 0 の場合、デフォルト動作
|
デフォルト動作を変更するビットフラグの組合せ値; 値が 0 の場合、デフォルト動作
|
||||||
(文字列の先頭と末尾にある区切り文字を削除しない、連続する区切り文字を 1 つにまとめない)
|
(文字列の先頭と末尾にある区切り文字を削除しない、連続する区切り文字を 1 つにまとめない)
|
||||||
@@ -1542,7 +1597,7 @@ C 言語での使用例:
|
|||||||
char **argv;
|
char **argv;
|
||||||
int argc;
|
int argc;
|
||||||
|
|
||||||
argv = weechat_string_split ("abc de fghi ", " ", 0, 0, &argc);
|
argv = weechat_string_split ("abc de fghi ", " ", NULL, 0, 0, &argc);
|
||||||
/* result: argv[0] == "abc"
|
/* result: argv[0] == "abc"
|
||||||
argv[1] == "de"
|
argv[1] == "de"
|
||||||
argv[2] == ""
|
argv[2] == ""
|
||||||
@@ -1553,7 +1608,7 @@ argv = weechat_string_split ("abc de fghi ", " ", 0, 0, &argc);
|
|||||||
*/
|
*/
|
||||||
weechat_string_free_split (argv);
|
weechat_string_free_split (argv);
|
||||||
|
|
||||||
argv = weechat_string_split ("abc de fghi ", " ",
|
argv = weechat_string_split ("abc de fghi ", " ", NULL,
|
||||||
WEECHAT_STRING_SPLIT_STRIP_LEFT
|
WEECHAT_STRING_SPLIT_STRIP_LEFT
|
||||||
| WEECHAT_STRING_SPLIT_STRIP_RIGHT
|
| WEECHAT_STRING_SPLIT_STRIP_RIGHT
|
||||||
| WEECHAT_STRING_SPLIT_COLLAPSE_SEPS,
|
| WEECHAT_STRING_SPLIT_COLLAPSE_SEPS,
|
||||||
@@ -1566,7 +1621,7 @@ argv = weechat_string_split ("abc de fghi ", " ",
|
|||||||
*/
|
*/
|
||||||
weechat_string_free_split (argv);
|
weechat_string_free_split (argv);
|
||||||
|
|
||||||
argv = weechat_string_split ("abc de fghi ", " ",
|
argv = weechat_string_split ("abc de fghi ", " ", NULL,
|
||||||
WEECHAT_STRING_SPLIT_STRIP_LEFT
|
WEECHAT_STRING_SPLIT_STRIP_LEFT
|
||||||
| WEECHAT_STRING_SPLIT_STRIP_RIGHT
|
| WEECHAT_STRING_SPLIT_STRIP_RIGHT
|
||||||
| WEECHAT_STRING_SPLIT_COLLAPSE_SEPS
|
| WEECHAT_STRING_SPLIT_COLLAPSE_SEPS
|
||||||
@@ -1580,7 +1635,7 @@ argv = weechat_string_split ("abc de fghi ", " ",
|
|||||||
*/
|
*/
|
||||||
weechat_string_free_split (argv);
|
weechat_string_free_split (argv);
|
||||||
|
|
||||||
argv = weechat_string_split ("abc de fghi ", " ",
|
argv = weechat_string_split ("abc de fghi ", " ", NULL,
|
||||||
WEECHAT_STRING_SPLIT_STRIP_LEFT
|
WEECHAT_STRING_SPLIT_STRIP_LEFT
|
||||||
| WEECHAT_STRING_SPLIT_COLLAPSE_SEPS
|
| WEECHAT_STRING_SPLIT_COLLAPSE_SEPS
|
||||||
| WEECHAT_STRING_SPLIT_KEEP_EOL,
|
| WEECHAT_STRING_SPLIT_KEEP_EOL,
|
||||||
@@ -1592,6 +1647,19 @@ argv = weechat_string_split ("abc de fghi ", " ",
|
|||||||
argc == 3
|
argc == 3
|
||||||
*/
|
*/
|
||||||
weechat_string_free_split (argv);
|
weechat_string_free_split (argv);
|
||||||
|
|
||||||
|
argv = weechat_string_split (" abc, de,, fghi ", ",", " ",
|
||||||
|
WEECHAT_STRING_SPLIT_STRIP_LEFT
|
||||||
|
| WEECHAT_STRING_SPLIT_STRIP_RIGHT
|
||||||
|
| WEECHAT_STRING_SPLIT_COLLAPSE_SEPS,
|
||||||
|
0, &argc);
|
||||||
|
/* result: argv[0] == "abc"
|
||||||
|
argv[1] == "de"
|
||||||
|
argv[2] == "fghi"
|
||||||
|
argv[3] == NULL
|
||||||
|
argc == 3
|
||||||
|
*/
|
||||||
|
weechat_string_free_split (argv);
|
||||||
----
|
----
|
||||||
|
|
||||||
[NOTE]
|
[NOTE]
|
||||||
@@ -4013,6 +4081,40 @@ value = weechat.list_string(item)
|
|||||||
weechat.prnt("", "value of item: %s" % weechat.list_string(item))
|
weechat.prnt("", "value of item: %s" % weechat.list_string(item))
|
||||||
----
|
----
|
||||||
|
|
||||||
|
==== list_user_data
|
||||||
|
|
||||||
|
_WeeChat バージョン 2.6 以上で利用可_
|
||||||
|
|
||||||
|
// TRANSLATION MISSING
|
||||||
|
Return pointer to the user data of an item.
|
||||||
|
|
||||||
|
プロトタイプ:
|
||||||
|
|
||||||
|
[source,C]
|
||||||
|
----
|
||||||
|
void *weechat_list_user_data (struct t_weelist_item *item);
|
||||||
|
----
|
||||||
|
|
||||||
|
引数:
|
||||||
|
|
||||||
|
* _item_: 要素へのポインタ
|
||||||
|
|
||||||
|
戻り値:
|
||||||
|
|
||||||
|
// TRANSLATION MISSING
|
||||||
|
* pointer to the user data of item
|
||||||
|
|
||||||
|
C 言語での使用例:
|
||||||
|
|
||||||
|
// TRANSLATION MISSING
|
||||||
|
[source,C]
|
||||||
|
----
|
||||||
|
weechat_printf (NULL, "user data of item: 0x%lx", weechat_list_user_data (item));
|
||||||
|
----
|
||||||
|
|
||||||
|
[NOTE]
|
||||||
|
スクリプト API ではこの関数を利用できません。
|
||||||
|
|
||||||
==== list_size
|
==== list_size
|
||||||
|
|
||||||
リストのサイズ (要素の個数) を返す。
|
リストのサイズ (要素の個数) を返す。
|
||||||
@@ -8891,7 +8993,7 @@ struct t_hashtable *options_url1 = weechat_hashtable_new (8,
|
|||||||
NULL);
|
NULL);
|
||||||
if (options_url1)
|
if (options_url1)
|
||||||
{
|
{
|
||||||
weechat_hashtable_set (options, "file_out", "/tmp/weechat.org.html");
|
weechat_hashtable_set (options_url1, "file_out", "/tmp/weechat.org.html");
|
||||||
struct t_hook *my_process_hook = weechat_hook_process_hashtable ("url:https://weechat.org/",
|
struct t_hook *my_process_hook = weechat_hook_process_hashtable ("url:https://weechat.org/",
|
||||||
options_url1,
|
options_url1,
|
||||||
20000,
|
20000,
|
||||||
@@ -8907,7 +9009,7 @@ struct t_hashtable *options_url2 = weechat_hashtable_new (8,
|
|||||||
NULL);
|
NULL);
|
||||||
if (options_url2)
|
if (options_url2)
|
||||||
{
|
{
|
||||||
weechat_hashtable_set (options, "httpheader",
|
weechat_hashtable_set (options_url2, "httpheader",
|
||||||
"Header1: value1\n"
|
"Header1: value1\n"
|
||||||
"Header2: value2");
|
"Header2: value2");
|
||||||
struct t_hook *my_process_hook = weechat_hook_process_hashtable ("url:http://localhost:8080/",
|
struct t_hook *my_process_hook = weechat_hook_process_hashtable ("url:http://localhost:8080/",
|
||||||
@@ -12990,8 +13092,8 @@ weechat.prnt("", "current window is at position (x,y): (%d,%d)"
|
|||||||
|
|
||||||
[source,C]
|
[source,C]
|
||||||
----
|
----
|
||||||
int weechat_window_get_string (struct t_gui_window *window,
|
const char *weechat_window_get_string (struct t_gui_window *window,
|
||||||
const char *property);
|
const char *property);
|
||||||
----
|
----
|
||||||
|
|
||||||
引数:
|
引数:
|
||||||
@@ -13003,6 +13105,14 @@ int weechat_window_get_string (struct t_gui_window *window,
|
|||||||
|
|
||||||
* プロパティの文字列値
|
* プロパティの文字列値
|
||||||
|
|
||||||
|
スクリプト (Python) での使用例:
|
||||||
|
|
||||||
|
[source,python]
|
||||||
|
----
|
||||||
|
# プロトタイプ
|
||||||
|
value = weechat.window_get_string(buffer, property)
|
||||||
|
----
|
||||||
|
|
||||||
==== window_get_pointer
|
==== window_get_pointer
|
||||||
|
|
||||||
ウィンドウプロパティのポインタ値を返す。
|
ウィンドウプロパティのポインタ値を返す。
|
||||||
|
|||||||
@@ -87,7 +87,7 @@ $ tar xvjf weechat-devel.tar.bz2
|
|||||||
$ cd weechat-devel
|
$ cd weechat-devel
|
||||||
----
|
----
|
||||||
|
|
||||||
ソースをビルドするには cmake を使うことを推奨します:
|
ソースをビルドするには CMake を使うことを推奨します:
|
||||||
|
|
||||||
----
|
----
|
||||||
$ mkdir build
|
$ mkdir build
|
||||||
@@ -97,7 +97,7 @@ $ make
|
|||||||
$ make install
|
$ make install
|
||||||
----
|
----
|
||||||
|
|
||||||
cmake が無い場合は autotools を使うことも可能です:
|
CMake が無い場合は autotools を使うことも可能です:
|
||||||
|
|
||||||
----
|
----
|
||||||
$ ./autogen.sh
|
$ ./autogen.sh
|
||||||
|
|||||||
+57
-49
@@ -84,12 +84,11 @@ WeeChat をインストールするには、以下のものが必要です:
|
|||||||
[[source_package]]
|
[[source_package]]
|
||||||
=== ソースパッケージ
|
=== ソースパッケージ
|
||||||
|
|
||||||
WeeChat は cmake または autotools を使ってコンパイルできます (cmake を使うことが推奨されています)。
|
WeeChat は CMake または autotools を使ってコンパイルできます (CMake を使うことが推奨されています)。
|
||||||
|
|
||||||
[NOTE]
|
[NOTE]
|
||||||
macOS では https://brew.sh/[Homebrew] を使ってください:
|
macOS では https://brew.sh/[Homebrew] を使ってください:
|
||||||
`brew install weechat --with-python --with-perl`
|
`brew install weechat` (ヘルプを見るには: `brew info weechat`)。
|
||||||
(ヘルプを見るには: `brew info weechat`)。
|
|
||||||
|
|
||||||
[[dependencies]]
|
[[dependencies]]
|
||||||
==== 依存関係
|
==== 依存関係
|
||||||
@@ -103,7 +102,7 @@ macOS では https://brew.sh/[Homebrew] を使ってください:
|
|||||||
| C コンパイラ
|
| C コンパイラ
|
||||||
(gcc, clang, ...) | | *必須* | ビルド
|
(gcc, clang, ...) | | *必須* | ビルド
|
||||||
| C++ コンパイラ | | | ビルドとテストの実行、JavaScript プラグイン
|
| C++ コンパイラ | | | ビルドとテストの実行、JavaScript プラグイン
|
||||||
| cmake | ≥ 3.0 | *必須* | ビルド (autotools でも可能ですが、cmake を推奨します)
|
| cmake | ≥ 3.0 | *必須* | ビルド (autotools でも可能ですが、CMake を推奨します)
|
||||||
| pkg-config | | *必須* | インストール済みライブラリを検出
|
| pkg-config | | *必須* | インストール済みライブラリを検出
|
||||||
| libncursesw5-dev ^(2)^ | | *必須* | ncurses インターフェース
|
| libncursesw5-dev ^(2)^ | | *必須* | ncurses インターフェース
|
||||||
| libcurl4-gnutls-dev | | *必須* | URL 転送
|
| libcurl4-gnutls-dev | | *必須* | URL 転送
|
||||||
@@ -114,7 +113,7 @@ macOS では https://brew.sh/[Homebrew] を使ってください:
|
|||||||
| ca-certificates | | | SSL 接続に必要な証明書、relay プラグインで SSL サポート
|
| ca-certificates | | | SSL 接続に必要な証明書、relay プラグインで SSL サポート
|
||||||
| libaspell-dev
|
| libaspell-dev
|
||||||
∥ libenchant-dev | | | spell プラグイン
|
∥ libenchant-dev | | | spell プラグイン
|
||||||
| python-dev | 2.6 以上 ^(4)^ | | python プラグイン
|
| python3-dev | ^(4)^ | | python プラグイン
|
||||||
| libperl-dev | | | perl プラグイン
|
| libperl-dev | | | perl プラグイン
|
||||||
| ruby2.5, ruby2.5-dev | 1.8 以上 | | ruby プラグイン
|
| ruby2.5, ruby2.5-dev | 1.8 以上 | | ruby プラグイン
|
||||||
| liblua5.3-dev | | | lua プラグイン
|
| liblua5.3-dev | | | lua プラグイン
|
||||||
@@ -137,8 +136,9 @@ macOS では https://brew.sh/[Homebrew] を使ってください:
|
|||||||
*されません* (ワイドキャラクタの表示にバグを生じるでしょう)。 +
|
*されません* (ワイドキャラクタの表示にバグを生じるでしょう)。 +
|
||||||
^(3)^ IRC SASL 認証で ECDSA-NIST256P-CHALLENGE を使うには、GnuTLS
|
^(3)^ IRC SASL 認証で ECDSA-NIST256P-CHALLENGE を使うには、GnuTLS
|
||||||
バージョン 3.0.21 以上が必要です。 +
|
バージョン 3.0.21 以上が必要です。 +
|
||||||
^(4)^ Python のバージョンは 2.7 をお勧めします (全てのスクリプトはバージョン 2.7
|
// TRANSLATION MISSING
|
||||||
で正しく動きますが、2.7 よりも低いバージョンまたは 3.0 以上のバージョンでは正しく動きません)。
|
^(4)^ By default Python 3.x is used. If you enable option `ENABLE_PYTHON2` (see
|
||||||
|
below), only the version 2.7 of Python is recommended.
|
||||||
|
|
||||||
Debian および Ubuntu
|
Debian および Ubuntu
|
||||||
ベースのディストリビューションを使っており、_/etc/apt/sources.list_ ファイルで "deb-src"
|
ベースのディストリビューションを使っており、_/etc/apt/sources.list_ ファイルで "deb-src"
|
||||||
@@ -149,7 +149,7 @@ Debian および Ubuntu
|
|||||||
----
|
----
|
||||||
|
|
||||||
[[compile_with_cmake]]
|
[[compile_with_cmake]]
|
||||||
==== cmake によるコンパイル
|
==== CMake によるコンパイル
|
||||||
|
|
||||||
* システムディレクトリにインストールする場合 (_root_ 特権が必要です):
|
* システムディレクトリにインストールする場合 (_root_ 特権が必要です):
|
||||||
|
|
||||||
@@ -171,7 +171,7 @@ $ make
|
|||||||
$ make install
|
$ make install
|
||||||
----
|
----
|
||||||
|
|
||||||
cmake に対するオプションを指定するには、以下の書式を使ってください: "-DOPTION=VALUE"。
|
CMake に対するオプションを指定するには、以下の書式を使ってください: "-DOPTION=VALUE"。
|
||||||
|
|
||||||
よく利用されるオプションのリスト:
|
よく利用されるオプションのリスト:
|
||||||
|
|
||||||
@@ -257,12 +257,9 @@ cmake に対するオプションを指定するには、以下の書式を使
|
|||||||
| ENABLE_PYTHON | `ON`, `OFF` | ON |
|
| ENABLE_PYTHON | `ON`, `OFF` | ON |
|
||||||
<<scripts_plugins,Python プラグイン>>のコンパイル。
|
<<scripts_plugins,Python プラグイン>>のコンパイル。
|
||||||
|
|
||||||
| ENABLE_PYTHON3 | `ON`, `OFF` | OFF |
|
// TRANSLATION MISSING
|
||||||
Python 3 で <<scripts_plugins,Python プラグイン>>をコンパイル。 +
|
| ENABLE_PYTHON2 | `ON`, `OFF` | OFF |
|
||||||
このオプションの有効化は非推奨です。なぜなら、多くのスクリプトはまだ
|
Compile <<scripts_plugins,Python plugin>> using Python 2 instead of Python 3.
|
||||||
Python 3 と互換性がないからです。 +
|
|
||||||
Python 3 への移行の進捗状況は以下のページを参照してください:
|
|
||||||
https://weechat.org/scripts/python3/
|
|
||||||
|
|
||||||
| ENABLE_RELAY | `ON`, `OFF` | ON |
|
| ENABLE_RELAY | `ON`, `OFF` | ON |
|
||||||
<<relay_plugin,リレープラグイン>>のコンパイル。
|
<<relay_plugin,リレープラグイン>>のコンパイル。
|
||||||
@@ -313,9 +310,9 @@ $ ccmake ..
|
|||||||
==== autotools によるコンパイル
|
==== autotools によるコンパイル
|
||||||
|
|
||||||
[WARNING]
|
[WARNING]
|
||||||
cmake 以外を用いた WeeChat のビルドは公式にサポートされません。cmake
|
CMake 以外を用いた WeeChat のビルドは公式にサポートされません。CMake
|
||||||
を利用できない場合のみ autotools を使ってください。 +
|
を利用できない場合のみ autotools を使ってください。 +
|
||||||
autotools を用いてビルドする場合、cmake よりも多くの依存パッケージとより長い時間が必要です。
|
autotools を用いてビルドする場合、CMake よりも多くの依存パッケージとより長い時間が必要です。
|
||||||
|
|
||||||
* システムディレクトリにインストールする場合 (_root_ 特権が必要です):
|
* システムディレクトリにインストールする場合 (_root_ 特権が必要です):
|
||||||
|
|
||||||
@@ -354,13 +351,13 @@ $ ./configure --help
|
|||||||
* libcpputest-dev
|
* libcpputest-dev
|
||||||
* C++ compiler
|
* C++ compiler
|
||||||
|
|
||||||
テストは WeeChat のコンパイル時に有効化しなければいけません (cmake を使う場合):
|
テストは WeeChat のコンパイル時に有効化しなければいけません (CMake を使う場合):
|
||||||
|
|
||||||
----
|
----
|
||||||
$ cmake .. -DENABLE_TESTS=ON
|
$ cmake .. -DENABLE_TESTS=ON
|
||||||
----
|
----
|
||||||
|
|
||||||
コンパイル終了後、build ディレクトリでテストを起動してください (cmake を使う場合):
|
コンパイル終了後、build ディレクトリでテストを起動してください (CMake を使う場合):
|
||||||
|
|
||||||
----
|
----
|
||||||
$ ctest -V
|
$ ctest -V
|
||||||
@@ -394,7 +391,7 @@ WeeChat がクラッシュした場合、または WeeChat
|
|||||||
[[debug_info]]
|
[[debug_info]]
|
||||||
==== デバッグ情報
|
==== デバッグ情報
|
||||||
|
|
||||||
cmake でコンパイルする場合:
|
CMake でコンパイルする場合:
|
||||||
|
|
||||||
----
|
----
|
||||||
$ cmake .. -DCMAKE_BUILD_TYPE=Debug
|
$ cmake .. -DCMAKE_BUILD_TYPE=Debug
|
||||||
@@ -816,7 +813,7 @@ irc プラグインでは、<<option_irc.color.mirc_remap,irc.color.mirc_remap>>
|
|||||||
[[colors]]
|
[[colors]]
|
||||||
=== 色
|
=== 色
|
||||||
|
|
||||||
WeeChat ではバーやチャットエリアにおけるテキスト表示に 256 個の色ペアを利用できます
|
WeeChat ではバーやチャットエリアにおけるテキスト表示に 32767 個の色ペアを利用できます
|
||||||
(この機能を利用するには WeeChat が実行されている端末が 256 色表示に対応している必要があります)。
|
(この機能を利用するには WeeChat が実行されている端末が 256 色表示に対応している必要があります)。
|
||||||
|
|
||||||
_TERM_ 環境変数の値によって、WeeChat
|
_TERM_ 環境変数の値によって、WeeChat
|
||||||
@@ -825,12 +822,12 @@ _TERM_ 環境変数の値によって、WeeChat
|
|||||||
[width="50%",cols="8,>2,>2",options="header"]
|
[width="50%",cols="8,>2,>2",options="header"]
|
||||||
|===
|
|===
|
||||||
| $TERM | 色 | ペア
|
| $TERM | 色 | ペア
|
||||||
| "rxvt-unicode", "xterm", ... | 88 | 256
|
| "rxvt-unicode", "xterm", ... | 88 | 32767
|
||||||
| "rxvt-256color", "xterm-256color", ... | 256 | 256
|
| "rxvt-256color", "xterm-256color", ... | 256 | 32767
|
||||||
| "screen" | 8 | 64
|
| "screen" | 8 | 64
|
||||||
| "screen-256color" | 256 | 256
|
| "screen-256color" | 256 | 32767
|
||||||
| "tmux" | 8 | 64
|
| "tmux" | 8 | 64
|
||||||
| "tmux-256color" | 256 | 256
|
| "tmux-256color" | 256 | 32767
|
||||||
|===
|
|===
|
||||||
|
|
||||||
`weechat --colors` を実行するか、`/color` コマンドを WeeChat
|
`weechat --colors` を実行するか、`/color` コマンドを WeeChat
|
||||||
@@ -2605,9 +2602,14 @@ WeeChat で TOR サービスを使った socks5 プロキシを作成してく
|
|||||||
そして、新しいサーバを追加します。例えば:
|
そして、新しいサーバを追加します。例えば:
|
||||||
|
|
||||||
----
|
----
|
||||||
/server add freenode-tor freenodeok2gncmy.onion
|
/server add freenode-tor ajnvpgl6prmkb7yktvue6im5wiedlz2w32uhcwaamdiecdrfpwwgnlqd.onion
|
||||||
----
|
----
|
||||||
|
|
||||||
|
// TRANSLATION MISSING
|
||||||
|
[NOTE]
|
||||||
|
If you are using an old version of TOR (before 0.3.5) you should use the address
|
||||||
|
`freenodeok2gncmy.onion` instead.
|
||||||
|
|
||||||
TOR プロキシを設定:
|
TOR プロキシを設定:
|
||||||
|
|
||||||
----
|
----
|
||||||
@@ -2991,16 +2993,21 @@ logger.file.mask
|
|||||||
以下のファイルが作成されます:
|
以下のファイルが作成されます:
|
||||||
|
|
||||||
....
|
....
|
||||||
~/.weechat/
|
~/.weechat
|
||||||
|--- logs/
|
└── logs
|
||||||
|--- 2010/
|
├── 2010
|
||||||
|--- 11/
|
│ ├── 11
|
||||||
| irc.server.freenode.weechatlog
|
│ │ ├── irc.server.freenode.weechatlog
|
||||||
| irc.freenode.#weechat.weechatlog
|
│ │ └── irc.freenode.#weechat.weechatlog
|
||||||
|--- 2010/
|
│ └── 12
|
||||||
|--- 12/
|
│ ├── irc.server.freenode.weechatlog
|
||||||
| irc.server.freenode.weechatlog
|
│ └── irc.freenode.#weechat.weechatlog
|
||||||
| irc.freenode.#weechat.weechatlog
|
├── 2011
|
||||||
|
│ ├── 01
|
||||||
|
│ │ ├── irc.server.freenode.weechatlog
|
||||||
|
│ │ └── irc.freenode.#weechat.weechatlog
|
||||||
|
│ ├── 02
|
||||||
|
...
|
||||||
....
|
....
|
||||||
|
|
||||||
[[logger_irc_files_by_server_channel]]
|
[[logger_irc_files_by_server_channel]]
|
||||||
@@ -3015,17 +3022,18 @@ IRC サーバ名を使ったディレクトリに、チャンネル名を使っ
|
|||||||
以下のファイルが作成されます:
|
以下のファイルが作成されます:
|
||||||
|
|
||||||
....
|
....
|
||||||
~/.weechat/
|
~/.weechat
|
||||||
|--- logs/
|
└── logs
|
||||||
|--- irc/
|
└── irc
|
||||||
|--- freenode/
|
├── freenode
|
||||||
| freenode.weechatlog
|
│ ├── freenode.weechatlog
|
||||||
| #weechat.weechatlog
|
│ ├── #weechat.weechatlog
|
||||||
| #mychan.weechatlog
|
│ └── #mychan.weechatlog
|
||||||
|--- oftc/
|
├── oftc
|
||||||
| oftc.weechatlog
|
│ ├── oftc.weechatlog
|
||||||
| #chan1.weechatlog
|
│ ├── #chan1.weechatlog
|
||||||
| #chan2.weechatlog
|
│ └── #chan2.weechatlog
|
||||||
|
...
|
||||||
....
|
....
|
||||||
|
|
||||||
[[logger_commands]]
|
[[logger_commands]]
|
||||||
|
|||||||
@@ -252,6 +252,8 @@ _isupport_ (string) +
|
|||||||
_prefix_modes_ (string) +
|
_prefix_modes_ (string) +
|
||||||
_prefix_chars_ (string) +
|
_prefix_chars_ (string) +
|
||||||
_nick_max_length_ (integer) +
|
_nick_max_length_ (integer) +
|
||||||
|
_user_max_length_ (integer) +
|
||||||
|
_host_max_length_ (integer) +
|
||||||
_casemapping_ (integer) +
|
_casemapping_ (integer) +
|
||||||
_chantypes_ (string) +
|
_chantypes_ (string) +
|
||||||
_chanmodes_ (string) +
|
_chanmodes_ (string) +
|
||||||
@@ -970,6 +972,7 @@ _charset_ (string) +
|
|||||||
_priority_ (integer) +
|
_priority_ (integer) +
|
||||||
_initialized_ (integer) +
|
_initialized_ (integer) +
|
||||||
_debug_ (integer) +
|
_debug_ (integer) +
|
||||||
|
_upgrading_ (integer) +
|
||||||
_variables_ (hashtable) +
|
_variables_ (hashtable) +
|
||||||
_prev_plugin_ (pointer, hdata: "plugin") +
|
_prev_plugin_ (pointer, hdata: "plugin") +
|
||||||
_next_plugin_ (pointer, hdata: "plugin") +
|
_next_plugin_ (pointer, hdata: "plugin") +
|
||||||
|
|||||||
@@ -10,6 +10,8 @@
|
|||||||
|
|
||||||
| alias | alias_default | lista domyślnych aliasów | - | -
|
| alias | alias_default | lista domyślnych aliasów | - | -
|
||||||
|
|
||||||
|
| buflist | buflist | lista buforów w w elemencie paska buflist | - | nazwa elementu paska buflist (opcjonalne)
|
||||||
|
|
||||||
| fset | fset_option | lista opcji fset | wskaźnik opcji fset (opcjonalne) | nazwa opcji (wildcard "*" jest dozwolony) (opcjonalne)
|
| fset | fset_option | lista opcji fset | wskaźnik opcji fset (opcjonalne) | nazwa opcji (wildcard "*" jest dozwolony) (opcjonalne)
|
||||||
|
|
||||||
| guile | guile_script | lista skryptów | wskaźnik skryptu (opcjonalne) | nazwa skryptu (wildcard "*" jest dozwolony) (opcjonalne)
|
| guile | guile_script | lista skryptów | wskaźnik skryptu (opcjonalne) | nazwa skryptu (wildcard "*" jest dozwolony) (opcjonalne)
|
||||||
|
|||||||
@@ -108,6 +108,10 @@
|
|||||||
|
|
||||||
| weechat | pid | WeeChat PID (ID procesu) | -
|
| weechat | pid | WeeChat PID (ID procesu) | -
|
||||||
|
|
||||||
|
| weechat | term_color_pairs | ilość par kolorów wspieranych przez terminal | -
|
||||||
|
|
||||||
|
| weechat | term_colors | ilość kolorów wpieranych przez terminal | -
|
||||||
|
|
||||||
| weechat | term_height | wysokość terminala | -
|
| weechat | term_height | wysokość terminala | -
|
||||||
|
|
||||||
| weechat | term_width | szerokość terminala | -
|
| weechat | term_width | szerokość terminala | -
|
||||||
|
|||||||
@@ -62,6 +62,8 @@
|
|||||||
|
|
||||||
| unix_socket_path | string |
|
| unix_socket_path | string |
|
||||||
|
|
||||||
|
| abstract_unix_socket | string |
|
||||||
|
|
||||||
| path_as_is | long |
|
| path_as_is | long |
|
||||||
|
|
||||||
| proxy_service_name | string |
|
| proxy_service_name | string |
|
||||||
@@ -72,15 +74,21 @@
|
|||||||
|
|
||||||
| tcp_fastopen | long |
|
| tcp_fastopen | long |
|
||||||
|
|
||||||
|
| socks5_auth | long |
|
||||||
|
|
||||||
|
| haproxyprotocol | long |
|
||||||
|
|
||||||
|
| doh_url | string |
|
||||||
|
|
||||||
| netrc | long | ignored, optional, required
|
| netrc | long | ignored, optional, required
|
||||||
|
|
||||||
| userpwd | string |
|
| userpwd | string |
|
||||||
|
|
||||||
| proxyuserpwd | string |
|
| proxyuserpwd | string |
|
||||||
|
|
||||||
| httpauth | mask | none, basic, digest, ntlm, any, anysafe, digest_ie, only, ntlm_wb, negotiate
|
| httpauth | mask | none, basic, digest, ntlm, any, anysafe, digest_ie, only, ntlm_wb, negotiate, gssapi, bearer
|
||||||
|
|
||||||
| proxyauth | mask | none, basic, digest, ntlm, any, anysafe, digest_ie, only, ntlm_wb, negotiate
|
| proxyauth | mask | none, basic, digest, ntlm, any, anysafe, digest_ie, only, ntlm_wb, negotiate, gssapi, bearer
|
||||||
|
|
||||||
| netrc_file | string |
|
| netrc_file | string |
|
||||||
|
|
||||||
@@ -104,6 +112,8 @@
|
|||||||
|
|
||||||
| login_options | string |
|
| login_options | string |
|
||||||
|
|
||||||
|
| disallow_username_in_url | long |
|
||||||
|
|
||||||
| autoreferer | long |
|
| autoreferer | long |
|
||||||
|
|
||||||
| followlocation | long |
|
| followlocation | long |
|
||||||
@@ -114,8 +124,6 @@
|
|||||||
|
|
||||||
| postfields | string |
|
| postfields | string |
|
||||||
|
|
||||||
| httppost | list |
|
|
||||||
|
|
||||||
| referer | string |
|
| referer | string |
|
||||||
|
|
||||||
| useragent | string |
|
| useragent | string |
|
||||||
@@ -170,6 +178,8 @@
|
|||||||
|
|
||||||
| stream_weight | long |
|
| stream_weight | long |
|
||||||
|
|
||||||
|
| request_target | string |
|
||||||
|
|
||||||
| mail_from | string |
|
| mail_from | string |
|
||||||
|
|
||||||
| mail_rcpt | list |
|
| mail_rcpt | list |
|
||||||
@@ -258,6 +268,10 @@
|
|||||||
|
|
||||||
| maxfilesize_large | long long |
|
| maxfilesize_large | long long |
|
||||||
|
|
||||||
|
| timevalue_large | long long |
|
||||||
|
|
||||||
|
| upload_buffersize | long |
|
||||||
|
|
||||||
| timeout | long |
|
| timeout | long |
|
||||||
|
|
||||||
| low_speed_limit | long |
|
| low_speed_limit | long |
|
||||||
@@ -300,9 +314,15 @@
|
|||||||
|
|
||||||
| connect_to | list |
|
| connect_to | list |
|
||||||
|
|
||||||
|
| happy_eyeballs_timeout_ms | long |
|
||||||
|
|
||||||
|
| dns_shuffle_addresses | long |
|
||||||
|
|
||||||
|
| upkeep_interval_ms | long |
|
||||||
|
|
||||||
| sslcert | string |
|
| sslcert | string |
|
||||||
|
|
||||||
| sslversion | long | default, tlsv1, sslv2, sslv3, tlsv1_0, tlsv1_1, tlsv1_2, tlsv1_3
|
| sslversion | long | default, tlsv1, sslv2, sslv3, tlsv1_0, tlsv1_1, tlsv1_2, tlsv1_3, max_default, max_none, max_tlsv1_0, max_tlsv1_1, max_tlsv1_2, max_tlsv1_3
|
||||||
|
|
||||||
| ssl_verifypeer | long |
|
| ssl_verifypeer | long |
|
||||||
|
|
||||||
@@ -342,7 +362,7 @@
|
|||||||
|
|
||||||
| gssapi_delegation | long | none, policy_flag, flag
|
| gssapi_delegation | long | none, policy_flag, flag
|
||||||
|
|
||||||
| ssl_options | long | allow_beast, no_revoke
|
| ssl_options | long | allow_beast, no_revoke, no_backends, ok, too_late, unknown_backend
|
||||||
|
|
||||||
| ssl_enable_alpn | long |
|
| ssl_enable_alpn | long |
|
||||||
|
|
||||||
@@ -372,11 +392,11 @@
|
|||||||
|
|
||||||
| proxy_sslkeytype | string |
|
| proxy_sslkeytype | string |
|
||||||
|
|
||||||
| proxy_sslversion | long | default, tlsv1, sslv2, sslv3, tlsv1_0, tlsv1_1, tlsv1_2, tlsv1_3
|
| proxy_sslversion | long | default, tlsv1, sslv2, sslv3, tlsv1_0, tlsv1_1, tlsv1_2, tlsv1_3, max_default, max_none, max_tlsv1_0, max_tlsv1_1, max_tlsv1_2, max_tlsv1_3
|
||||||
|
|
||||||
| proxy_ssl_cipher_list | list |
|
| proxy_ssl_cipher_list | list |
|
||||||
|
|
||||||
| proxy_ssl_options | long | allow_beast, no_revoke
|
| proxy_ssl_options | long | allow_beast, no_revoke, no_backends, ok, too_late, unknown_backend
|
||||||
|
|
||||||
| proxy_ssl_verifyhost | long |
|
| proxy_ssl_verifyhost | long |
|
||||||
|
|
||||||
@@ -388,6 +408,10 @@
|
|||||||
|
|
||||||
| proxy_tlsauth_username | string |
|
| proxy_tlsauth_username | string |
|
||||||
|
|
||||||
|
| tls13_ciphers | list |
|
||||||
|
|
||||||
|
| proxy_tls13_ciphers | list |
|
||||||
|
|
||||||
| ssh_auth_types | mask | none, policy_flag, flag
|
| ssh_auth_types | mask | none, policy_flag, flag
|
||||||
|
|
||||||
| ssh_public_keyfile | string |
|
| ssh_public_keyfile | string |
|
||||||
@@ -398,6 +422,8 @@
|
|||||||
|
|
||||||
| ssh_knownhosts | string |
|
| ssh_knownhosts | string |
|
||||||
|
|
||||||
|
| ssh_compression | long |
|
||||||
|
|
||||||
| new_file_perms | long |
|
| new_file_perms | long |
|
||||||
|
|
||||||
| new_directory_perms | long |
|
| new_directory_perms | long |
|
||||||
|
|||||||
@@ -7,8 +7,6 @@
|
|||||||
| Alias | Komenda | Dopełnienie
|
| Alias | Komenda | Dopełnienie
|
||||||
|
|
||||||
| /AAWAY | /allserv /away | -
|
| /AAWAY | /allserv /away | -
|
||||||
| /AME | /allchan /me | -
|
|
||||||
| /AMSG | /allchan /msg * | -
|
|
||||||
| /ANICK | /allserv /nick | -
|
| /ANICK | /allserv /nick | -
|
||||||
| /BEEP | /print -beep | -
|
| /BEEP | /print -beep | -
|
||||||
| /BYE | /quit | -
|
| /BYE | /quit | -
|
||||||
@@ -35,8 +33,9 @@
|
|||||||
| /UMODE | /mode $nick | -
|
| /UMODE | /mode $nick | -
|
||||||
| /V | /command core version | -
|
| /V | /command core version | -
|
||||||
| /W | /who | -
|
| /W | /who | -
|
||||||
| /WC | /window merge | -
|
| /WC | /window close | -
|
||||||
| /WI | /whois | -
|
| /WI | /whois | -
|
||||||
| /WII | /whois $1 $1 | -
|
| /WII | /whois $1 $1 | -
|
||||||
|
| /WM | /window merge | -
|
||||||
| /WW | /whowas | -
|
| /WW | /whowas | -
|
||||||
|===
|
|===
|
||||||
|
|||||||
@@ -27,7 +27,7 @@
|
|||||||
** domyślna wartość: `+0+`
|
** domyślna wartość: `+0+`
|
||||||
|
|
||||||
* [[option_exec.command.shell]] *exec.command.shell*
|
* [[option_exec.command.shell]] *exec.command.shell*
|
||||||
** opis: pass:none[powłoka używana przez komendę "/exec -sh"; może to być nazwa powłoki jeśli znajduje się ona w PATH (na przykład "bash") lub ścieżka absolutna (na przykład "/bin/bash")]
|
** opis: pass:none[powłoka używana przez komendę "/exec -sh"; może to być nazwa powłoki jeśli znajduje się ona w PATH (na przykład "bash") lub ścieżka absolutna (na przykład "/bin/bash"); jeśli wartość jest pusta, zostanie użyte "sh" (uwaga: zawartość jest przetwarzana, zobacz /help eval)]
|
||||||
** typ: ciąg
|
** typ: ciąg
|
||||||
** wartości: dowolny ciąg
|
** wartości: dowolny ciąg
|
||||||
** domyślna wartość: `+"sh"+`
|
** domyślna wartość: `+"${env:SHELL}"+`
|
||||||
|
|||||||
@@ -24,12 +24,12 @@
|
|||||||
<filtr>
|
<filtr>
|
||||||
|
|
||||||
-bar: dodaj pomoc dla paska
|
-bar: dodaj pomoc dla paska
|
||||||
-refresh: odświerza litę opcji, następnie cały ekran (komenda: /window refresh)
|
-refresh: odświeża listę opcji, następnie cały ekran (komenda: /window refresh)
|
||||||
-up: przesuwa linie do góry o podaną "ilość" linii
|
-up: przesuwa linie do góry o podaną "ilość" linii
|
||||||
-down: przesuwa linie w dół o podaną "ilość" linii
|
-down: przesuwa linie w dół o podaną "ilość" linii
|
||||||
-left: przewija bufor o "procent" szerokości w lewo
|
-left: przewija bufor o "procent" szerokości w lewo
|
||||||
-right: przewija bufor o "procent" szerokości w prawo
|
-right: przewija bufor o "procent" szerokości w prawo
|
||||||
-go: wybierz numer linii, pierwsza linia ma numer 0 ("end" wyiera ostatnią linię)
|
-go: wybierz numer linii, pierwsza linia ma numer 0 ("end" wybiera ostatnią linię)
|
||||||
-toggle: zmienia wartość opcji boolowskiej
|
-toggle: zmienia wartość opcji boolowskiej
|
||||||
-add: dodaje "wartość" (może być ujemna) do liczb i kolorów, ustawia/dodaje do wartości innych typów (ustawia, jeśli wartość jest ujemna, dodaje jeśli wartość jest pozytywna)
|
-add: dodaje "wartość" (może być ujemna) do liczb i kolorów, ustawia/dodaje do wartości innych typów (ustawia, jeśli wartość jest ujemna, dodaje jeśli wartość jest pozytywna)
|
||||||
-reset: resetuje wartość opcji
|
-reset: resetuje wartość opcji
|
||||||
@@ -51,9 +51,11 @@
|
|||||||
d:xxx pokazuje tylko zmienione opcje z "xxx" w nazwie
|
d:xxx pokazuje tylko zmienione opcje z "xxx" w nazwie
|
||||||
d=xxx pokazuje tylko zmienione opcje z wartością zawierającą "xxx"
|
d=xxx pokazuje tylko zmienione opcje z wartością zawierającą "xxx"
|
||||||
d==xxx pokazuje tylko zmienione opcje z wartością równą "xxx"
|
d==xxx pokazuje tylko zmienione opcje z wartością równą "xxx"
|
||||||
|
h=xxx pokazuje tylko opcje z "xxx" w opisie (przetłumaczone)
|
||||||
|
he=xxx pokazuje tylko opcje z "xxx" w opisie (po Angielsku)
|
||||||
=xxx pokazuje tylko opcje z wartością zawierającą "xxx"
|
=xxx pokazuje tylko opcje z wartością zawierającą "xxx"
|
||||||
==xxx pokazuje tylko opcje z wartością równą "xxx"
|
==xxx pokazuje tylko opcje z wartością równą "xxx"
|
||||||
c:xxx pokazuje tylko opcje pasujące do przretworzonego warunku "xxx", używając najstępujących zmiennych: file, section, option, name, parent_name, type, type_en, type_short (bool/int/str/col), type_tiny (b/i/s/c), default_value, default_value_undef, value, quoted_value, value_undef, value_changed, parent_value, min, max, description, description2, description_en, description_en2, string_values
|
c:xxx pokazuje tylko opcje pasujące do przetworzonego warunku "xxx", używając następujących zmiennych: file, section, option, name, parent_name, type, type_en, type_short (bool/int/str/col), type_tiny (b/i/s/c), default_value, default_value_undef, value, quoted_value, value_undef, value_changed, parent_value, min, max, description, description2, description_en, description_en2, string_values
|
||||||
|
|
||||||
Linie z opcjami są wyświetlane z użyciem przetworzonych ciągów (zobacz /help eval aby poznać format), z tymi opcjami:
|
Linie z opcjami są wyświetlane z użyciem przetworzonych ciągów (zobacz /help eval aby poznać format), z tymi opcjami:
|
||||||
- fset.format.option1: pierwszy format dla opcji
|
- fset.format.option1: pierwszy format dla opcji
|
||||||
@@ -75,7 +77,7 @@ Następujące zmienne mogą zostać użyte w tych opcjach:
|
|||||||
- ${value}: wartość opcji
|
- ${value}: wartość opcji
|
||||||
- ${value_undef}: "1" jeśli wartość jest pusta, inaczej "0"
|
- ${value_undef}: "1" jeśli wartość jest pusta, inaczej "0"
|
||||||
- ${value_changed}: "1" jeśli wartość różni się od domyślnej, inaczej "0"
|
- ${value_changed}: "1" jeśli wartość różni się od domyślnej, inaczej "0"
|
||||||
- ${value2}: wartość opcji, z odziedziczoną wartościa jeśli pusta
|
- ${value2}: wartość opcji, z odziedziczoną wartością jeśli pusta
|
||||||
- ${parent_value}: wartość nadrzędnej opcji
|
- ${parent_value}: wartość nadrzędnej opcji
|
||||||
- ${min}: minimalna wartość
|
- ${min}: minimalna wartość
|
||||||
- ${max}: maksymalna wartość
|
- ${max}: maksymalna wartość
|
||||||
@@ -94,13 +96,13 @@ Następujące zmienne mogą zostać użyte w tych opcjach:
|
|||||||
- te same nazwy poprzedzone "empty_", na przykład: ${empty_name}, ${empty_type}
|
- te same nazwy poprzedzone "empty_", na przykład: ${empty_name}, ${empty_type}
|
||||||
- inne dane:
|
- inne dane:
|
||||||
- ${selected_line}: "1" jeśli linia jest zaznaczona, inaczej "0"
|
- ${selected_line}: "1" jeśli linia jest zaznaczona, inaczej "0"
|
||||||
- ${newline}: dodaje znak nowej linii, dzięki czemu opcja wyświetlana jestw kilku liniach
|
- ${newline}: dodaje znak nowej linii, dzięki czemu opcja wyświetlana jest w kilku liniach
|
||||||
|
|
||||||
Klawisze i polecenia do poruszania się w buforze fset:
|
Klawisze i polecenia do poruszania się w buforze fset:
|
||||||
up przesuwa linię do góry
|
up przesuwa linię do góry
|
||||||
down przesuwa linie w dół
|
down przesuwa linie w dół
|
||||||
pgup przesówa stronę do góry
|
pgup przesuwa stronę do góry
|
||||||
pgdn przesówa stronę w dół
|
pgdn przesuwa stronę w dół
|
||||||
alt-home << przenosi do pierwszej linii
|
alt-home << przenosi do pierwszej linii
|
||||||
alt-end >> przenosi do ostatniej linii
|
alt-end >> przenosi do ostatniej linii
|
||||||
F11 < przewija w lewo
|
F11 < przewija w lewo
|
||||||
@@ -115,29 +117,29 @@ Klawisze i polecenia do ustawiania opcji w buforze fset:
|
|||||||
alt+enter s ustawia wartość
|
alt+enter s ustawia wartość
|
||||||
alt+f, alt+n n ustawia nową wartość
|
alt+f, alt+n n ustawia nową wartość
|
||||||
alt+f, alt+a a dodaje do wartości
|
alt+f, alt+a a dodaje do wartości
|
||||||
alt+',' , zazcnacza/odznacza opcję
|
alt+',' , zaznacza/odznacza opcję
|
||||||
shift+up przesuwa jedną linię w górę oraz zaznacza/odznacza opcję
|
shift+up przesuwa jedną linię w górę oraz zaznacza/odznacza opcję
|
||||||
shift+down zaznacza/odznacza opcję i przesuwa jedną linię w dół
|
shift+down zaznacza/odznacza opcję i przesuwa jedną linię w dół
|
||||||
m:xxx zaznacza wyświetlane opcje pasujące do filtru "xxx" (dowolny filtr dla opcji lub wartoci, zobacz wyżej jak definiować filtry)
|
m:xxx zaznacza wyświetlane opcje pasujące do filtru "xxx" (dowolny filtr dla opcji lub wartości, zobacz wyżej jak definiować filtry)
|
||||||
u:xxx odznacza wyświetlane opcje pasujące do filtru "xxx" (dowolny filtr dla opcji lub wartoci, zobacz wyżej jak definiować filtry)
|
u:xxx odznacza wyświetlane opcje pasujące do filtru "xxx" (dowolny filtr dla opcji lub wartości, zobacz wyżej jak definiować filtry)
|
||||||
|
|
||||||
Pozostałe skróty klawiszowe i polecenia w buforze fset:
|
Pozostałe skróty klawiszowe i polecenia w buforze fset:
|
||||||
ctrl+L odświerza opcje i cały ekran (komenda: /fset -refresh)
|
ctrl+L odświeża opcje i cały ekran (komenda: /fset -refresh)
|
||||||
$ odświerza opcje (pozotawia zaznaczenia)
|
$ odświeża opcje (pozostawia zaznaczenia)
|
||||||
$$ odświerza opcje (kasuje zaznaczenia)
|
$$ odświeża opcje (kasuje zaznaczenia)
|
||||||
alt+p p przełącza opcje opisu wtyczki (plugins.desc.*)
|
alt+p p przełącza opcje opisu wtyczki (plugins.desc.*)
|
||||||
alt+v v przełącza pasek pomocy
|
alt+v v przełącza pasek pomocy
|
||||||
s:x,y sortuje opcje po wartościach x,y (zobacz /help fset.look.sort)
|
s:x,y sortuje opcje po wartościach x,y (zobacz /help fset.look.sort)
|
||||||
s: resetuje sortowanie do domyślnych wartości (zobacz /help fset.look.sort)
|
s: resetuje sortowanie do domyślnych wartości (zobacz /help fset.look.sort)
|
||||||
w:xxx eksportuje opcje do pliku "xxx"
|
w:xxx eksportuje opcje do pliku "xxx"
|
||||||
w-:xxx eskportuje opcje do pliku "xxx" bez pomocy
|
w-:xxx eksportuje opcje do pliku "xxx" bez pomocy
|
||||||
w+:xxx eskportuje opcje do pliku "xxx" z pomocą
|
w+:xxx eksportuje opcje do pliku "xxx" z pomocą
|
||||||
ctrl+X x przełącza format uzywany do wyświetlenia opcji
|
ctrl+X x przełącza format używany do wyświetlenia opcji
|
||||||
q zamyka bufor fset
|
q zamyka bufor fset
|
||||||
|
|
||||||
Akcje myszy w buforze fset:
|
Akcje myszy w buforze fset:
|
||||||
rolka up/down przesuwa linie w gorę/dół
|
rolka up/down przesuwa linie w gorę/dół
|
||||||
lewy przyciks przesuwa linię w wybrane miejsce
|
lewy przycisk przesuwa linię w wybrane miejsce
|
||||||
prawy przycisk przełącza wartość boolowską (on/off) lub edytuje wartość pola
|
prawy przycisk przełącza wartość boolowską (on/off) lub edytuje wartość pola
|
||||||
prawy przycisk + przeciągnięcie w lewo/prawo zwiększa/zmniejsza wartość liczby/koloru, ustawia/dodaje wartości innych typów
|
prawy przycisk + przeciągnięcie w lewo/prawo zwiększa/zmniejsza wartość liczby/koloru, ustawia/dodaje wartości innych typów
|
||||||
prawy przycisk + przeciągnięcie w górę/dół zaznacza/odznacza wiele opcji
|
prawy przycisk + przeciągnięcie w górę/dół zaznacza/odznacza wiele opcji
|
||||||
|
|||||||
@@ -124,7 +124,7 @@ Przykłady:
|
|||||||
* `+connect+`: łączy się z serwerem(ami) IRC
|
* `+connect+`: łączy się z serwerem(ami) IRC
|
||||||
|
|
||||||
----
|
----
|
||||||
/connect [<serwer> [<serwer>...] [-<opcja>[=<wartość>]] [-no<opcja>] [-nojoin] [-switch]
|
/connect [<serwer> [<serwer>...]] [-<opcja>[=<wartość>]] [-no<opcja>] [-nojoin] [-switch]
|
||||||
-all|-auto|-open [-nojoin] [-switch]
|
-all|-auto|-open [-nojoin] [-switch]
|
||||||
|
|
||||||
serwer: nazwa serwera, może nią być:
|
serwer: nazwa serwera, może nią być:
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
** opis: pass:none[oddzielona przecinkiem lista komend, dla których sprawdzana jest poprawna pisownia (sprawdzanie pisowni jest wyłączone dla pozostałych komend)]
|
** opis: pass:none[oddzielona przecinkiem lista komend, dla których sprawdzana jest poprawna pisownia (sprawdzanie pisowni jest wyłączone dla pozostałych komend)]
|
||||||
** typ: ciąg
|
** typ: ciąg
|
||||||
** wartości: dowolny ciąg
|
** wartości: dowolny ciąg
|
||||||
** domyślna wartość: `+"ame,amsg,away,command,cycle,kick,kickban,me,msg,notice,part,query,quit,topic"+`
|
** domyślna wartość: `+"away,command,cycle,kick,kickban,me,msg,notice,part,query,quit,topic"+`
|
||||||
|
|
||||||
* [[option_spell.check.default_dict]] *spell.check.default_dict*
|
* [[option_spell.check.default_dict]] *spell.check.default_dict*
|
||||||
** opis: pass:none[domyślny słownik (lub oddzielona przecinkami lista słowników) używany, kiedy bufor nie ma zdefiniowanego słownika (zostaw puste, aby wyłączyć sprawdzanie pisowni w buforach, w których nie zostało to włączone)]
|
** opis: pass:none[domyślny słownik (lub oddzielona przecinkami lista słowników) używany, kiedy bufor nie ma zdefiniowanego słownika (zostaw puste, aby wyłączyć sprawdzanie pisowni w buforach, w których nie zostało to włączone)]
|
||||||
|
|||||||
@@ -211,9 +211,14 @@ Domyślne skróty dla trybu kursora na liście nicków:
|
|||||||
b zbanuj nick (/ban)
|
b zbanuj nick (/ban)
|
||||||
k wykop nick (/kick)
|
k wykop nick (/kick)
|
||||||
K wykop i zbanuj nick (/kickban)
|
K wykop i zbanuj nick (/kickban)
|
||||||
q otworz okno prywatnej rozmowy (/query)
|
q otwórz okno prywatnej rozmowy (/query)
|
||||||
w zapytaj o informacje o użytkowniku (/whois)
|
w zapytaj o informacje o użytkowniku (/whois)
|
||||||
|
|
||||||
|
Pozostałe domyślne skróty w trybie kursora:
|
||||||
|
strzałka przesuwa kursor
|
||||||
|
alt+strzałka przenosi kursor do następnego obszaru
|
||||||
|
enter wyjście z trybu kursora
|
||||||
|
|
||||||
Przykłady:
|
Przykłady:
|
||||||
przejdź do listy nicków:
|
przejdź do listy nicków:
|
||||||
/cursor go nicklist
|
/cursor go nicklist
|
||||||
@@ -974,11 +979,12 @@ Przykłady:
|
|||||||
resize [-window <numer>] [h|v][+|-]<pct>
|
resize [-window <numer>] [h|v][+|-]<pct>
|
||||||
balance
|
balance
|
||||||
merge [-window <numer>] [all]
|
merge [-window <numer>] [all]
|
||||||
|
close [-window <numer>]
|
||||||
page_up|page_down [-window <numer>]
|
page_up|page_down [-window <numer>]
|
||||||
refresh
|
refresh
|
||||||
scroll [-window <numer>] [+|-]<wartość>[s|m|h|d|M|y]
|
scroll [-window <numer>] [+|-]<wartość>[s|m|h|d|M|y]
|
||||||
scroll_horiz [-window <numer>] [+|-]<wartość>[%]
|
scroll_horiz [-window <numer>] [+|-]<wartość>[%]
|
||||||
scroll_up|scroll_down|scroll_top|scroll_bottom|scroll_beyond_end|scroll_previous_highlight|scroll_next_highlight|scroll_unread [-window <numer>]
|
scroll_up|scroll_down|scroll_top|scroll_bottom| scroll_beyond_end|scroll_previous_highlight|scroll_next_highlight| scroll_unread [-window <numer>]
|
||||||
swap [-window <numer>] [up|down|left|right]
|
swap [-window <numer>] [up|down|left|right]
|
||||||
zoom [-window <numer>]
|
zoom [-window <numer>]
|
||||||
bare [<opóźnienie>]
|
bare [<opóźnienie>]
|
||||||
@@ -998,6 +1004,7 @@ Przykłady:
|
|||||||
jeśli "h" lub "v" są podane, zmiana rozmiaru wpływa na najbliższe nadrzędne okno z podziałem tego typu (poziomy/pionowy)
|
jeśli "h" lub "v" są podane, zmiana rozmiaru wpływa na najbliższe nadrzędne okno z podziałem tego typu (poziomy/pionowy)
|
||||||
balance: balansuje rozmiary pomiędzy oknami
|
balance: balansuje rozmiary pomiędzy oknami
|
||||||
merge: łączy okno z innym (all = posiadanie tylko jednego okna)
|
merge: łączy okno z innym (all = posiadanie tylko jednego okna)
|
||||||
|
close: zamyka okno
|
||||||
page_up: przewija stronę do góry
|
page_up: przewija stronę do góry
|
||||||
page_down: przewija stronę w dół
|
page_down: przewija stronę w dół
|
||||||
refresh: odświeża ekran
|
refresh: odświeża ekran
|
||||||
@@ -1013,7 +1020,7 @@ scroll_next_highlight: przewija do następnego highlighta
|
|||||||
scroll_unread: przewija do znacznika nie przeczytania
|
scroll_unread: przewija do znacznika nie przeczytania
|
||||||
swap: zamienia bufory między dwoma oknami (z opcjonalnym kierunkiem dla docelowego okna)
|
swap: zamienia bufory między dwoma oknami (z opcjonalnym kierunkiem dla docelowego okna)
|
||||||
zoom: powiększa okno
|
zoom: powiększa okno
|
||||||
bare: przełącza niesformatowane wysiwetlanie (z opcjonalnym czasem, po jakim nastąpi automatyczny powrót do standardowego trybu)
|
bare: przełącza niesformatowane wyświetlanie (z opcjonalnym czasem, po jakim nastąpi automatyczny powrót do standardowego trybu)
|
||||||
|
|
||||||
Dla splith i splitv, pct oznacza procent reprezentujący rozmiar nowego okna, wyliczony z obecnego okna jako odniesieniem. Na przykład 25 oznacza utworzenie nowego okna o rozmiarze = obecny_rozmiar / 4
|
Dla splith i splitv, pct oznacza procent reprezentujący rozmiar nowego okna, wyliczony z obecnego okna jako odniesieniem. Na przykład 25 oznacza utworzenie nowego okna o rozmiarze = obecny_rozmiar / 4
|
||||||
|
|
||||||
@@ -1034,8 +1041,10 @@ Przykłady:
|
|||||||
/window resize 75
|
/window resize 75
|
||||||
zmienia rozmiar pionowego podziału, dodaje 10% do rozmiaru:
|
zmienia rozmiar pionowego podziału, dodaje 10% do rozmiaru:
|
||||||
/window resize v+10
|
/window resize v+10
|
||||||
usuń podział:
|
usuń podział, zachowując obecne okno:
|
||||||
/window merge
|
/window merge
|
||||||
|
zamyka obecne okno:
|
||||||
|
/window close
|
||||||
włączenie trybu niesformatowanego na 2 sekundy:
|
włączenie trybu niesformatowanego na 2 sekundy:
|
||||||
/window bare 2
|
/window bare 2
|
||||||
----
|
----
|
||||||
|
|||||||
@@ -921,9 +921,9 @@
|
|||||||
** domyślna wartość: `+""+`
|
** domyślna wartość: `+""+`
|
||||||
|
|
||||||
* [[option_weechat.look.nick_color_hash]] *weechat.look.nick_color_hash*
|
* [[option_weechat.look.nick_color_hash]] *weechat.look.nick_color_hash*
|
||||||
** opis: pass:none[algorytm haszujący używany do znalezienia koloru dla nicka: djb2 = odmiana djb2 (pozycja liter ma znaczenie: anagramy nicka mają różne kolory), sum = suma liter]
|
** opis: pass:none[algorytm haszujący używany do znalezienia koloru dla nicka: djb2 = odmiana djb2 (pozycja liter ma znaczenie: anagramy nicka mają różne kolory), djb2_32 = wariant djb2 używający 32 bitowej liczby zamiast 64 bitowej, sum = suma liter, sum_32 = suma liter używając 32 bitowej liczby zamiast 64 bitowej]
|
||||||
** typ: liczba
|
** typ: liczba
|
||||||
** wartości: djb2, sum
|
** wartości: djb2, sum, djb2_32, sum_32
|
||||||
** domyślna wartość: `+djb2+`
|
** domyślna wartość: `+djb2+`
|
||||||
|
|
||||||
* [[option_weechat.look.nick_color_stop_chars]] *weechat.look.nick_color_stop_chars*
|
* [[option_weechat.look.nick_color_stop_chars]] *weechat.look.nick_color_stop_chars*
|
||||||
|
|||||||
@@ -52,10 +52,10 @@ https://weechat.org/about/interfaces
|
|||||||
=== Nie mogę skompilować WeeChat po sklonowaniu repozytorium git, dlaczego?
|
=== Nie mogę skompilować WeeChat po sklonowaniu repozytorium git, dlaczego?
|
||||||
|
|
||||||
Zalecaną metodą kompilacji WeeChat jest użycie
|
Zalecaną metodą kompilacji WeeChat jest użycie
|
||||||
link:weechat_user.pl.html#compile_with_cmake[cmake].
|
link:weechat_user.pl.html#compile_with_cmake[CMake].
|
||||||
|
|
||||||
Jeśli kompilujesz używając link:weechat_user.pl.html#compile_with_autotools[autotools]
|
Jeśli kompilujesz używając link:weechat_user.pl.html#compile_with_autotools[autotools]
|
||||||
(nie cmake), upewnij się, że posiadasz najnowszą wersję autoconf i automake.
|
(nie CMake), upewnij się, że posiadasz najnowszą wersję autoconf i automake.
|
||||||
|
|
||||||
Innym sposobem jest zainstalowanie "paczki deweloperskiej", która wymaga mniej
|
Innym sposobem jest zainstalowanie "paczki deweloperskiej", która wymaga mniej
|
||||||
zależności. Ten pakiet jest budowany prawie codziennie z użyciem repozytorium
|
zależności. Ten pakiet jest budowany prawie codziennie z użyciem repozytorium
|
||||||
@@ -74,7 +74,7 @@ brew info weechat
|
|||||||
Możesz zainstalować WeeChat za pomocą komendy:
|
Możesz zainstalować WeeChat za pomocą komendy:
|
||||||
|
|
||||||
----
|
----
|
||||||
brew install weechat --with-aspell --with-curl --with-python --with-perl --with-ruby --with-lua --with-guile
|
brew install weechat
|
||||||
----
|
----
|
||||||
|
|
||||||
[[lost]]
|
[[lost]]
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user