mirror of
https://github.com/weechat/weechat.git
synced 2026-06-19 09:34:47 +02:00
Compare commits
166 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 | |||
| 2904a2e811 | |||
| c64cbe1a84 | |||
| 40f12ec20f | |||
| 4c9b61755b | |||
| 22895f3f5e | |||
| 479d234ced | |||
| 86d9cb1e41 | |||
| b4dadd6d98 | |||
| bfbb511169 | |||
| 22e6777aed | |||
| 66011b4bee | |||
| 917b2ddf69 | |||
| c4a482e067 | |||
| 5edf6ff1c5 | |||
| a6f44be396 | |||
| 5e1174d135 | |||
| 2ab08885be | |||
| 99bb53f693 | |||
| a599e0328b | |||
| f3f5bf1d31 | |||
| 92a4948666 | |||
| c0bb243541 | |||
| f1f1474fda | |||
| b0554c7415 | |||
| 26c844cd25 | |||
| ad40118469 | |||
| bea63c7b60 | |||
| d3c3e97a0d | |||
| 7cf4585690 | |||
| c9762c84e1 | |||
| c716ec1398 | |||
| 403555d1be | |||
| 5988d17d2d | |||
| 980d26956f | |||
| 5910bcf3c8 | |||
| c7b242ffd9 | |||
| bf1462d7a1 | |||
| f5f6cf028c | |||
| d392b406c5 | |||
| 08719963de | |||
| d12e29620b |
@@ -0,0 +1 @@
|
||||
custom: https://weechat.org/donate/
|
||||
+6
-4
@@ -8,11 +8,11 @@ compiler:
|
||||
|
||||
env:
|
||||
- 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_CODE_COVERAGE=ON" CODECOVERAGE="1"
|
||||
- BUILDTOOL="autotools" BUILDARGS=""
|
||||
# - BUILDTOOL="autotools" BUILDARGS="--enable-python3"
|
||||
- BUILDTOOL="autotools" BUILDARGS="--enable-python2"
|
||||
- BUILDTOOL="autotools" BUILDARGS="--disable-gnutls"
|
||||
|
||||
matrix:
|
||||
@@ -22,14 +22,16 @@ matrix:
|
||||
env: BUILDTOOL="cmake" BUILDARGS="-DENABLE_CODE_COVERAGE=ON" CODECOVERAGE="1"
|
||||
|
||||
before_script:
|
||||
# Workaround https://github.com/travis-ci/travis-ci/issues/5326
|
||||
- export PATH=$(echo $PATH | tr ':' "\n" | sed '/\/opt\/python/d' | tr "\n" ":" | sed "s|::|:|g")
|
||||
- rm -rf "$HOME/.pyenv"
|
||||
- sudo rm -rf /opt/pyenv
|
||||
- echo 'APT::Install-Recommends "false";' | sudo tee -a /etc/apt/apt.conf
|
||||
- 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 gem install asciidoctor
|
||||
- travis_retry sudo -H pip install --ignore-installed msgcheck pylint
|
||||
- phpenv local system
|
||||
# work around broken travis environment variables, see https://github.com/travis-ci/travis-ci/issues/5301
|
||||
- unset PYTHON_CFLAGS
|
||||
|
||||
script:
|
||||
- ./tools/build-test.sh
|
||||
|
||||
@@ -36,6 +36,7 @@ Alphabetically:
|
||||
* Dominik Honnef
|
||||
* Dominique Martinet
|
||||
* Eduardo Elias
|
||||
* Eli Schwartz
|
||||
* Elizabeth Myers (Elizacat)
|
||||
* Elián Hanisch (m4v)
|
||||
* Emanuele Giaquinta
|
||||
@@ -54,9 +55,11 @@ Alphabetically:
|
||||
* Jakub Jirutka
|
||||
* Jason A. Donenfeld (zx2c4)
|
||||
* JD Horelick (jdhore)
|
||||
* jesopo
|
||||
* Jim Ramsay (lack)
|
||||
* Jiri Golembiovsky (GolemJ)
|
||||
* Joey Pabalinas (alyptik)
|
||||
* Johan Rylander
|
||||
* Jos Ahrens
|
||||
* Joseph Kichline
|
||||
* 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_SKIP_RPATH ON)
|
||||
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
|
||||
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_PERL "Enable Perl 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_LUA "Enable Lua scripting language" ON)
|
||||
option(ENABLE_TCL "Enable Tcl scripting language" ON)
|
||||
|
||||
+69
-21
@@ -15,8 +15,56 @@ https://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes]
|
||||
(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]]
|
||||
== Version 2.5 (under dev)
|
||||
== Version 2.5 (2019-06-06)
|
||||
|
||||
New features::
|
||||
|
||||
@@ -432,7 +480,7 @@ Bug fixes::
|
||||
Build::
|
||||
|
||||
* 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
|
||||
|
||||
[[v1.6]]
|
||||
@@ -618,7 +666,7 @@ Bug fixes::
|
||||
|
||||
Documentation::
|
||||
|
||||
* replace PREFIX with CMAKE_INSTALL_PREFIX in cmake instructions (issue #354)
|
||||
* replace PREFIX with CMAKE_INSTALL_PREFIX in CMake instructions (issue #354)
|
||||
|
||||
Build::
|
||||
|
||||
@@ -697,7 +745,7 @@ Bug fixes::
|
||||
|
||||
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]]
|
||||
== Version 1.1 (2015-01-11)
|
||||
@@ -761,7 +809,7 @@ Bug fixes::
|
||||
Build::
|
||||
|
||||
* core: fix compilation of man pages with autotools in source directory
|
||||
* core: fix compilation of plugins with cmake >= 3.1 (issue #287)
|
||||
* core: fix compilation of plugins with CMake >= 3.1 (issue #287)
|
||||
* lua: add detection of Lua 5.2
|
||||
* python: fix Python detection with Homebrew (issue #217)
|
||||
* tests: fix compilation of tests with clang (issue #275)
|
||||
@@ -815,7 +863,7 @@ New features::
|
||||
* core: add option weechat.look.hotlist_add_conditions, remove option weechat.look.hotlist_add_buffer_if_away
|
||||
* core: add option weechat.look.hotlist_remove (issue #99)
|
||||
* core: add options "-beep" and "-current" in command /print
|
||||
* core: add bare display mode for easy text selection and click on URLs, new key: kbd:[Alt+l], new option "bare" in command /window, new options: weechat.look.bare_display_exit_on_input and weechat.look.bare_display_time_format
|
||||
* core: add bare display mode for easy text selection and click on URLs, new key: kbd:[Alt+l] (`L`), new option "bare" in command /window, new options: weechat.look.bare_display_exit_on_input and weechat.look.bare_display_time_format
|
||||
* core: add signals "key_combo_{default|search|cursor}"
|
||||
* core: add terabyte unit for size displayed
|
||||
* core: display a warning in case of inconsistency between the options weechat.look.save_{config|layout}_on_exit
|
||||
@@ -949,7 +997,7 @@ Bug fixes::
|
||||
|
||||
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)
|
||||
* ruby: add detection of Ruby 2.1
|
||||
|
||||
@@ -1138,8 +1186,8 @@ Documentation::
|
||||
|
||||
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: disable build of doc by default, add cmake option ENABLE_MAN to compile man page (off by default)
|
||||
* 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)
|
||||
* xfer: fix compilation on OpenBSD (bug #39071)
|
||||
|
||||
[[v0.4.1]]
|
||||
@@ -1221,7 +1269,7 @@ Bug fixes::
|
||||
Build::
|
||||
|
||||
* 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
|
||||
* python: fix detection of Python on Ubuntu Raring
|
||||
* script: fix compilation on GNU/Hurd (patch #7977)
|
||||
@@ -1309,7 +1357,7 @@ Bug fixes::
|
||||
Build::
|
||||
|
||||
* core: add git version in build, display it in "weechat-curses --help" and /version
|
||||
* core: stop cmake if gcrypt lib is not found (bug #37671)
|
||||
* core: stop CMake if gcrypt lib is not found (bug #37671)
|
||||
* guile: fix detection of Guile in configure
|
||||
* script: fix compilation on macOS
|
||||
|
||||
@@ -1407,10 +1455,10 @@ Documentation::
|
||||
|
||||
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: add cmake option "MANDIR" (bug #36776)
|
||||
* guile: fix path of Guile include dirs in cmake build (patch #7790)
|
||||
* core: add CMake option "MANDIR" (bug #36776)
|
||||
* guile: fix path of Guile include dirs in CMake build (patch #7790)
|
||||
* lua: add support of Lua 5.2
|
||||
* python: fix detection of Python (first try "python2.x" and then "python") (bug #36835)
|
||||
* ruby: add detection of Ruby 1.9.3
|
||||
@@ -1561,8 +1609,8 @@ Documentation::
|
||||
|
||||
Build::
|
||||
|
||||
* core: add library "pthread" in cmake file for link on OpenBSD
|
||||
* core: add WEECHAT_HOME option in cmake and configure to setup default WeeChat home (default is "~/.weechat") (task #11266)
|
||||
* core: add library "pthread" in CMake file for link on OpenBSD
|
||||
* core: add WEECHAT_HOME option in CMake and configure to setup default WeeChat home (default is "~/.weechat") (task #11266)
|
||||
* core: fix compilation under OpenBSD 5.0 (lib utf8 not needed any more) (bug #34727)
|
||||
* core: fix compilation error with "pid_t" on macOS (bug #34639)
|
||||
|
||||
@@ -1801,7 +1849,7 @@ Bug fixes::
|
||||
|
||||
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)
|
||||
|
||||
[[v0.3.3]]
|
||||
@@ -1980,7 +2028,7 @@ Bug fixes::
|
||||
|
||||
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)
|
||||
|
||||
[[v0.3.0]]
|
||||
@@ -2157,7 +2205,7 @@ Bug fixes::
|
||||
|
||||
Build::
|
||||
|
||||
* add cmake for weechat compilation (patch #5943)
|
||||
* add CMake for weechat compilation (patch #5943)
|
||||
|
||||
[[v0.2.4]]
|
||||
== Version 0.2.4 (2007-03-29)
|
||||
@@ -2694,8 +2742,8 @@ New features::
|
||||
* logging buffers to disk (server/channel/private according to user preferences)
|
||||
* add config option "look_display_away" to announce away in channels
|
||||
* DCC file receive OK (kbd:[Alt+d] for DCC view)
|
||||
* add key for redrawing terminal (kbd:[Ctrl+l])
|
||||
* add key for clearing hotlist (kbd:[Alt+r])
|
||||
* add key kbd:[Ctrl+l] (`L`) for redrawing terminal
|
||||
* add key kbd:[Alt+r] for clearing hotlist
|
||||
|
||||
Bug fixes::
|
||||
|
||||
|
||||
+99
-62
@@ -17,30 +17,43 @@ https://weechat.org/files/changelog/ChangeLog-devel.html[ChangeLog]
|
||||
(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]]
|
||||
== Version 2.5 (under dev)
|
||||
|
||||
[[v2.5_hook_info_allocated_string]]
|
||||
=== Allocated string in hook info and function info_get
|
||||
|
||||
The hook info callback now returns an allocated string, which must be freed
|
||||
after use (in previous versions, a pointer to a static string was returned).
|
||||
|
||||
Consequently, the function info_get returns an allocated string, which must
|
||||
be freed after use.
|
||||
|
||||
This affects only C code, no changes are required in scripts.
|
||||
|
||||
[[v2.5_xfer_option_speed_limit]]
|
||||
=== Speed limit option for DCC files
|
||||
|
||||
The option _xfer.network.speed_limit_ has been renamed to
|
||||
_xfer.network.speed_limit_send_.
|
||||
|
||||
If you changed the value of this option, you must set it again after upgrade.
|
||||
|
||||
A new option _xfer.network.speed_limit_recv_ has been added to limit the
|
||||
speed of received files.
|
||||
== Version 2.5 (2019-06-06)
|
||||
|
||||
[[v2.5_aspell_plugin_renamed]]
|
||||
=== Aspell plugin renamed to Spell
|
||||
@@ -75,6 +88,8 @@ If you already upgraded WeeChat:
|
||||
/reload spell
|
||||
----
|
||||
|
||||
Once configuration is OK, you can delete the file _~/.weechat/aspell.conf_.
|
||||
|
||||
Then you can search if you are using "aspell" in values of options:
|
||||
|
||||
----
|
||||
@@ -89,6 +104,28 @@ The default key kbd:[Alt+s] can be changed to the new `/spell` command:
|
||||
/key bind meta-s /mute spell toggle
|
||||
----
|
||||
|
||||
[[v2.5_xfer_option_speed_limit]]
|
||||
=== Speed limit option for DCC files
|
||||
|
||||
The option _xfer.network.speed_limit_ has been renamed to
|
||||
_xfer.network.speed_limit_send_.
|
||||
|
||||
If you changed the value of this option, you must set it again after upgrade.
|
||||
|
||||
A new option _xfer.network.speed_limit_recv_ has been added to limit the
|
||||
speed of received files.
|
||||
|
||||
[[v2.5_hook_info_allocated_string]]
|
||||
=== Allocated string in hook info and function info_get
|
||||
|
||||
The hook info callback now returns an allocated string, which must be freed
|
||||
after use (in previous versions, a pointer to a static string was returned).
|
||||
|
||||
Consequently, the function info_get returns an allocated string, which must
|
||||
be freed after use.
|
||||
|
||||
This affects only C code, no changes are required in scripts.
|
||||
|
||||
[[v2.4]]
|
||||
== Version 2.4 (2019-02-17)
|
||||
|
||||
@@ -221,6 +258,26 @@ In version 2.1, this binary was in the package _weechat-curses_.
|
||||
[[v2.1]]
|
||||
== Version 2.1 (2018-03-18)
|
||||
|
||||
[[v2.1_option_name_completion]]
|
||||
=== Completion for /set and /help commands
|
||||
|
||||
A new option weechat.completion.partial_completion_templates has been added to
|
||||
force partial completion on some templates. By default, the option name
|
||||
completed in `/set` and `/help` commands are now using partial completion.
|
||||
|
||||
If you prefer old behavior, you can remove the templates from the new option
|
||||
with this command:
|
||||
|
||||
----
|
||||
/set weechat.completion.partial_completion_templates ""
|
||||
----
|
||||
|
||||
For more information about this feature, you can read help with:
|
||||
|
||||
----
|
||||
/help weechat.completion.partial_completion_templates
|
||||
----
|
||||
|
||||
[[v2.1_script_plugin_check_license]]
|
||||
=== Option to check license of scripts loaded
|
||||
|
||||
@@ -242,26 +299,6 @@ List of options moved:
|
||||
* _plugins.var.javascript.check_license_ (string) moved to _javascript.look.check_license_ (boolean)
|
||||
* _plugins.var.php.check_license_ (string) moved to _php.look.check_license_ (boolean)
|
||||
|
||||
[[v2.1_option_name_completion]]
|
||||
=== Completion for /set and /help commands
|
||||
|
||||
A new option weechat.completion.partial_completion_templates has been added to
|
||||
force partial completion on some templates. By default, the option name
|
||||
completed in `/set` and `/help` commands are now using partial completion.
|
||||
|
||||
If you prefer old behavior, you can remove the templates from the new option
|
||||
with this command:
|
||||
|
||||
----
|
||||
/set weechat.completion.partial_completion_templates ""
|
||||
----
|
||||
|
||||
For more information about this feature, you can read help with:
|
||||
|
||||
----
|
||||
/help weechat.completion.partial_completion_templates
|
||||
----
|
||||
|
||||
[[v2.0.1]]
|
||||
== Version 2.0.1 (2017-12-20)
|
||||
|
||||
@@ -369,20 +406,6 @@ No release note.
|
||||
|
||||
[[v1.8]]
|
||||
== Version 1.8 (2017-05-13)
|
||||
[[v1.8_options]]
|
||||
|
||||
=== Options
|
||||
|
||||
The option _script.scripts.url_force_https_ has been removed because now the
|
||||
site weechat.org can only be used with HTTPS. +
|
||||
Both HTTP and HTTPS protocols are allowed in the option _script.scripts.url_.
|
||||
For http://weechat.org/ an automatic redirection to https://weechat.org/ will
|
||||
occur, so you should check that the CA certificates are properly installed
|
||||
on your machine.
|
||||
|
||||
Aspell option with color for suggestion on a misspelled word has been renamed:
|
||||
|
||||
* _aspell.color.suggestions_ has been renamed to _aspell.color.suggestion_
|
||||
|
||||
[[v1.8_buflist_plugin]]
|
||||
=== Buflist plugin
|
||||
@@ -414,6 +437,20 @@ prevent the plugin from loading on next startup:
|
||||
/set weechat.plugin.autoload "*,!buflist"
|
||||
----
|
||||
|
||||
[[v1.8_options]]
|
||||
=== Options
|
||||
|
||||
The option _script.scripts.url_force_https_ has been removed because now the
|
||||
site weechat.org can only be used with HTTPS. +
|
||||
Both HTTP and HTTPS protocols are allowed in the option _script.scripts.url_.
|
||||
For http://weechat.org/ an automatic redirection to https://weechat.org/ will
|
||||
occur, so you should check that the CA certificates are properly installed
|
||||
on your machine.
|
||||
|
||||
Aspell option with color for suggestion on a misspelled word has been renamed:
|
||||
|
||||
* _aspell.color.suggestions_ has been renamed to _aspell.color.suggestion_
|
||||
|
||||
[[v1.7.1]]
|
||||
== Version 1.7.1 (2017-04-22)
|
||||
|
||||
@@ -819,7 +856,7 @@ behavior (never hide arguments, even with a channel key), you can do:
|
||||
=== Jump to first/last buffer
|
||||
|
||||
The command `/input jump_last_buffer` has been replaced by `/buffer +`.
|
||||
You can rebind the key kbd:[Alt+j], kbd:[Alt+l]:
|
||||
You can rebind the key kbd:[Alt+j], kbd:[Alt+l] (`L`):
|
||||
|
||||
----
|
||||
/key bind meta-jmeta-l /buffer +
|
||||
@@ -876,7 +913,7 @@ obsolete plugins).
|
||||
=== Bare display
|
||||
|
||||
A bare display mode has been added (for easy text selection and click on URLs),
|
||||
the new default key is kbd:[Alt+l].
|
||||
the new default key is kbd:[Alt+l] (`L`).
|
||||
|
||||
Use command `/key missing` to add the key or `/key listdiff` to see differences
|
||||
between your current keys and WeeChat default keys.
|
||||
@@ -1074,17 +1111,17 @@ accordingly).
|
||||
|
||||
[NOTE]
|
||||
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).
|
||||
|
||||
[[v0.4.2_man_page_documentation]]
|
||||
=== Man page / documentation
|
||||
|
||||
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
|
||||
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).
|
||||
|
||||
[[v0.4.2_aspell_colors]]
|
||||
|
||||
@@ -23,9 +23,8 @@ endif()
|
||||
|
||||
find_path(NCURSES_INCLUDE_PATH
|
||||
NAMES ncurses.h curses.h
|
||||
PATHS /usr/include/ncursesw /usr/include/ncurses /usr/include
|
||||
/usr/local/include/ncursesw /usr/local/include/ncurses /usr/local/include
|
||||
/usr/pkg/include/ncursesw /usr/pkg/include/ncurses /usr/pkg/include
|
||||
PATH_SUFFIXES ncursesw ncurses
|
||||
PATHS /usr/include /usr/local/include /usr/pkg/include
|
||||
)
|
||||
|
||||
find_library(NCURSESW_LIBRARY
|
||||
|
||||
+7
-73
@@ -24,80 +24,14 @@
|
||||
# code sets the following variables:
|
||||
#
|
||||
# PYTHON_EXECUTABLE = full path to the python binary
|
||||
# PYTHON_INCLUDE_PATH = path to where python.h can be found
|
||||
# PYTHON_LIBRARY = path to where libpython.so* can be found
|
||||
# PYTHON_LFLAGS = python compiler options for linking
|
||||
# PYTHON_INCLUDE_DIRS = path to where python.h can be found
|
||||
# PYTHON_LIBRARIES = path to where libpython.so* can be found
|
||||
# PYTHON_LDFLAGS = python compiler options for linking
|
||||
|
||||
if(PYTHON_FOUND)
|
||||
# Already in cache, be silent
|
||||
set(PYTHON_FIND_QUIETLY TRUE)
|
||||
endif()
|
||||
include(FindPkgConfig)
|
||||
|
||||
if(ENABLE_PYTHON3)
|
||||
find_program(PYTHON_EXECUTABLE
|
||||
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
|
||||
)
|
||||
if(ENABLE_PYTHON2)
|
||||
pkg_check_modules(PYTHON python2)
|
||||
else()
|
||||
find_program(PYTHON_EXECUTABLE
|
||||
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
|
||||
)
|
||||
|
||||
pkg_check_modules(PYTHON python3)
|
||||
endif()
|
||||
|
||||
+8
-54
@@ -37,6 +37,7 @@ AC_PROG_MAKE_SET
|
||||
AC_GNU_SOURCE
|
||||
AC_PROG_LN_S
|
||||
AM_PROG_LIBTOOL
|
||||
PKG_PROG_PKG_CONFIG
|
||||
|
||||
# Files to generate
|
||||
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(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(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(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)
|
||||
@@ -473,66 +474,18 @@ fi
|
||||
PYTHON_VERSION=
|
||||
|
||||
if test "x$enable_python" = "xyes" ; then
|
||||
if test "x$enable_python3" = "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)
|
||||
if test "x$enable_python2" = "xyes" ; then
|
||||
PKG_CHECK_MODULES(PYTHON, [python2], [PYTHON_FOUND=yes; PYTHON_VERSION=`$PKGCONFIG --modversion python2`], [PYTHON_FOUND=no])
|
||||
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
|
||||
if test -z $PYTHON ; then
|
||||
if test "x$PYTHON_FOUND" != "xyes" ; then
|
||||
AC_MSG_WARN([
|
||||
*** 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.
|
||||
*** WeeChat will be built without Python support.])
|
||||
enable_python="no"
|
||||
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
|
||||
else
|
||||
not_asked="$not_asked python"
|
||||
@@ -540,7 +493,8 @@ fi
|
||||
|
||||
if test "x$enable_python" = "xyes" ; then
|
||||
AC_SUBST(PYTHON_CFLAGS)
|
||||
AC_SUBST(PYTHON_LFLAGS)
|
||||
AC_SUBST(PYTHON_LIBS)
|
||||
AC_SUBST(PYTHON_VERSION)
|
||||
AC_DEFINE(PLUGIN_PYTHON)
|
||||
fi
|
||||
|
||||
|
||||
@@ -9,9 +9,9 @@ Build-Depends:
|
||||
libncursesw5-dev,
|
||||
gem2deb,
|
||||
libperl-dev,
|
||||
python-dev,
|
||||
python3-dev,
|
||||
libaspell-dev,
|
||||
liblua5.1-0-dev,
|
||||
liblua5.3-dev,
|
||||
tcl8.6-dev,
|
||||
guile-2.0-dev,
|
||||
libv8-dev [amd64 i386 armel armhf mips mipsel hurd-i386 kfreebsd-amd64 kfreebsd-i386],
|
||||
@@ -162,11 +162,11 @@ Depends:
|
||||
${shlibs:Depends},
|
||||
weechat-devel-curses (= ${binary:Version}) | weechat-devel-headless (= ${binary:Version})
|
||||
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
|
||||
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
|
||||
Architecture: any
|
||||
|
||||
@@ -9,9 +9,9 @@ Build-Depends:
|
||||
libncursesw5-dev,
|
||||
gem2deb,
|
||||
libperl-dev,
|
||||
python-dev,
|
||||
python3-dev,
|
||||
libaspell-dev,
|
||||
liblua5.1-0-dev,
|
||||
liblua5.3-dev,
|
||||
tcl8.6-dev,
|
||||
guile-2.0-dev,
|
||||
libv8-dev [amd64 i386 armel armhf mips mipsel hurd-i386 kfreebsd-amd64 kfreebsd-i386],
|
||||
@@ -156,11 +156,11 @@ Depends:
|
||||
${misc:Depends},
|
||||
${shlibs:Depends},
|
||||
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
|
||||
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
|
||||
Architecture: any
|
||||
|
||||
@@ -252,6 +252,8 @@ _isupport_ (string) +
|
||||
_prefix_modes_ (string) +
|
||||
_prefix_chars_ (string) +
|
||||
_nick_max_length_ (integer) +
|
||||
_user_max_length_ (integer) +
|
||||
_host_max_length_ (integer) +
|
||||
_casemapping_ (integer) +
|
||||
_chantypes_ (string) +
|
||||
_chanmodes_ (string) +
|
||||
@@ -970,6 +972,7 @@ _charset_ (string) +
|
||||
_priority_ (integer) +
|
||||
_initialized_ (integer) +
|
||||
_debug_ (integer) +
|
||||
_upgrading_ (integer) +
|
||||
_variables_ (hashtable) +
|
||||
_prev_plugin_ (pointer, hdata: "plugin") +
|
||||
_next_plugin_ (pointer, hdata: "plugin") +
|
||||
|
||||
@@ -10,6 +10,8 @@
|
||||
|
||||
| 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)
|
||||
|
||||
| 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 | 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_width | Breite des Terminals | -
|
||||
|
||||
@@ -62,6 +62,8 @@
|
||||
|
||||
| unix_socket_path | string |
|
||||
|
||||
| abstract_unix_socket | string |
|
||||
|
||||
| path_as_is | long |
|
||||
|
||||
| proxy_service_name | string |
|
||||
@@ -72,15 +74,21 @@
|
||||
|
||||
| tcp_fastopen | long |
|
||||
|
||||
| socks5_auth | long |
|
||||
|
||||
| haproxyprotocol | long |
|
||||
|
||||
| doh_url | string |
|
||||
|
||||
| netrc | long | ignored, optional, required
|
||||
|
||||
| userpwd | 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 |
|
||||
|
||||
@@ -104,6 +112,8 @@
|
||||
|
||||
| login_options | string |
|
||||
|
||||
| disallow_username_in_url | long |
|
||||
|
||||
| autoreferer | long |
|
||||
|
||||
| followlocation | long |
|
||||
@@ -114,8 +124,6 @@
|
||||
|
||||
| postfields | string |
|
||||
|
||||
| httppost | list |
|
||||
|
||||
| referer | string |
|
||||
|
||||
| useragent | string |
|
||||
@@ -170,6 +178,8 @@
|
||||
|
||||
| stream_weight | long |
|
||||
|
||||
| request_target | string |
|
||||
|
||||
| mail_from | string |
|
||||
|
||||
| mail_rcpt | list |
|
||||
@@ -258,6 +268,10 @@
|
||||
|
||||
| maxfilesize_large | long long |
|
||||
|
||||
| timevalue_large | long long |
|
||||
|
||||
| upload_buffersize | long |
|
||||
|
||||
| timeout | long |
|
||||
|
||||
| low_speed_limit | long |
|
||||
@@ -300,9 +314,15 @@
|
||||
|
||||
| connect_to | list |
|
||||
|
||||
| happy_eyeballs_timeout_ms | long |
|
||||
|
||||
| dns_shuffle_addresses | long |
|
||||
|
||||
| upkeep_interval_ms | long |
|
||||
|
||||
| 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 |
|
||||
|
||||
@@ -342,7 +362,7 @@
|
||||
|
||||
| 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 |
|
||||
|
||||
@@ -372,11 +392,11 @@
|
||||
|
||||
| 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_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 |
|
||||
|
||||
@@ -388,6 +408,10 @@
|
||||
|
||||
| proxy_tlsauth_username | string |
|
||||
|
||||
| tls13_ciphers | list |
|
||||
|
||||
| proxy_tls13_ciphers | list |
|
||||
|
||||
| ssh_auth_types | mask | none, policy_flag, flag
|
||||
|
||||
| ssh_public_keyfile | string |
|
||||
@@ -398,6 +422,8 @@
|
||||
|
||||
| ssh_knownhosts | string |
|
||||
|
||||
| ssh_compression | long |
|
||||
|
||||
| new_file_perms | long |
|
||||
|
||||
| new_directory_perms | long |
|
||||
|
||||
@@ -7,8 +7,6 @@
|
||||
| Alias | Befehl | Vervollständigung
|
||||
|
||||
| /AAWAY | /allserv /away | -
|
||||
| /AME | /allchan /me | -
|
||||
| /AMSG | /allchan /msg * | -
|
||||
| /ANICK | /allserv /nick | -
|
||||
| /BEEP | /print -beep | -
|
||||
| /BYE | /quit | -
|
||||
@@ -35,8 +33,9 @@
|
||||
| /UMODE | /mode $nick | -
|
||||
| /V | /command core version | -
|
||||
| /W | /who | -
|
||||
| /WC | /window merge | -
|
||||
| /WC | /window close | -
|
||||
| /WI | /whois | -
|
||||
| /WII | /whois $1 $1 | -
|
||||
| /WM | /window merge | -
|
||||
| /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
|
||||
- ${current_buffer}: ein Boolean ("0" oder "1"), "1" falls es sich um den aktuellen Buffer handelt; dies kann in einer Bedingung verwendet werden: ${if:${current_buffer}?...:...}
|
||||
- ${merged}: ein Boolean ("0" oder "1"), "1" wenn der Buffer mit einem anderen zusammengefügt ist; kann innerhalb einer Bedingung genutzt werden: ${if:${merged}?...:...}
|
||||
- ${format_number}: eingerückte Numer mit Trennzeichen (evaluiert aus Option buflist.format.number)
|
||||
- ${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
|
||||
- ${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"
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
** Standardwert: `+0+`
|
||||
|
||||
* [[option_exec.command.shell]] *exec.command.shell*
|
||||
** Beschreibung: pass:none[shell welche für den Befehl "/exec -sh" genutzt werden soll; hierbei kann es sich um den Namen der shell handeln der über PATH gefunden wird (zum Beispiel "bash") oder man nutzt eine absolute Pfadangabe zur Binärdatei (zum Beispiel "/bin/bash")]
|
||||
** 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
|
||||
** 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 veränderte Optionen, die "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 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
|
||||
@@ -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
|
||||
|
||||
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")
|
||||
- ${section}: Sektion
|
||||
- ${option}: Name der Option
|
||||
- ${name}: vollständiger Name der Option (file.section.option)
|
||||
- ${parent_name}: übergeordneter Name der Option
|
||||
- ${type}: Optionstyp (übersetzt)
|
||||
- ${type_en}: Optionstyp (auf englisch)
|
||||
- ${type_en}: Optionstyp (auf englisch)
|
||||
- ${type_short}: Optionstyp Kurzform (bool/int/str/col)
|
||||
- ${type_tiny}: Optionstyp klein (b/i/s/c)
|
||||
- ${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.
|
||||
|
||||
Beispiele:
|
||||
zeigt alle IRC Optionen an die verändert wurden:
|
||||
zeigt alle IRC Optionen an, die verändert wurden:
|
||||
/fset d:irc.*
|
||||
zeigt alle Optionen die "nicklist" im Namen tragen:
|
||||
/fset nicklist
|
||||
|
||||
@@ -124,7 +124,7 @@ Beispiele:
|
||||
* `+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]
|
||||
|
||||
server: Name des Servers, folgende Möglichkeiten bestehen:
|
||||
|
||||
@@ -12,51 +12,51 @@
|
||||
raw
|
||||
sslcertkey
|
||||
|
||||
list: list relay clients (only active relays)
|
||||
listfull: list relay clients (verbose, all relays)
|
||||
listrelay: list relays (name and port)
|
||||
add: add a relay (listen on a port/path)
|
||||
del: remove a relay (clients remain connected)
|
||||
start: listen on port
|
||||
restart: close the server socket and listen again on port (clients remain connected)
|
||||
stop: close the server socket (clients remain connected)
|
||||
name: relay name (see format below)
|
||||
port: port used for relay
|
||||
path: path used for relay (for UNIX domain socket only); "%h" at beginning of string is replaced by WeeChat home ("~/.weechat" by default), content is evaluated (see /help eval)
|
||||
raw: open buffer with raw Relay data
|
||||
sslcertkey: set SSL certificate/key using path in option relay.network.ssl_cert_key
|
||||
list: Auflistung der Relay-Clients (nur aktive Relays)
|
||||
listfull: detaillierte Auflistung der Relay-Clients (alle Relays)
|
||||
listrelay: Auflistung der Relays (Name und Port)
|
||||
add: fügt ein Relay, für ein Protokoll + Name, hinzu
|
||||
del: entfernt Relay für ein Protokoll + Name
|
||||
start: lausche am Port
|
||||
restart: beendet den Server Socket und lauscht erneut am Port (Clients bleiben verbunden)
|
||||
stop: schließt den Server Socket (Clients bleiben verbunden)
|
||||
name: Name des Relays (siehe Format weiter unten)
|
||||
port: Port der für Relay genutzt werden soll
|
||||
path: Pfad der für Relay genutzt werden soll (ausschließlich für UNIX Domain Socket); "%h" wird durch das WeeChat Verzeichnis ersetzt, Standardverzeichnis: ("~/.weechat"), Inhalt ist evaluiert (siehe /help eval)
|
||||
raw: öffnet einen Buffer mit Relay-Rohdaten
|
||||
sslcertkey: setzt SSL Zertifikat/Schlüssel mittels Pfad in Einstellung relay.network.ssl_cert_key
|
||||
|
||||
Relay name is: [ipv4.][ipv6.][ssl.]<protocol.name> or unix.[ssl.]<protocol.name>
|
||||
ipv4: force use of IPv4
|
||||
ipv6: force use of IPv6
|
||||
ssl: enable SSL
|
||||
unix: use UNIX domain socket
|
||||
protocol.name: protocol and name to relay:
|
||||
- protocol "irc": name is the server to share (optional, if not given, the server name must be sent by client in command "PASS", with format: "PASS server:password")
|
||||
- protocol "weechat" (name is not used)
|
||||
Aufbau des Relay-Namens: [ipv4.][ipv6.][ssl.]<Protokoll.Name> oder unix.[ssl.]<Protokoll.Name>
|
||||
ipv4: erzwingt die Nutzung von IPv4
|
||||
ipv6: erzwingt die Nutzung von IPv6
|
||||
ssl: aktiviert SSL
|
||||
unix: nutzt UNIX Domain Socket
|
||||
protocol.name: Protokoll und Name des Relay:
|
||||
- Protokoll "irc": Name des Servers welcher geteilt werden soll (optional. Falls kein Name angegeben wird, muss der Client einen Namen mit dem Befehl "PASS" übermitteln, das Format ist wie folgt: "PASS Server:Passwort")
|
||||
- Protokoll "weechat" (es wird kein Name verwendet)
|
||||
|
||||
The "irc" protocol allows any IRC client (including WeeChat itself) to connect on the port.
|
||||
The "weechat" protocol allows a remote interface to connect on the port, see the list here: https://weechat.org/about/interfaces
|
||||
Das "irc" Protokoll dient dazu eine Verbindung zu einem anderen IRC Client (oder zu einem zweiten WeeChat) herzustellen.
|
||||
Das "weechat" Protokoll wird von einem Remote-Interface genutzt um eine Verbindung auf dem Port herzustellen. Siehe https://weechat.org/about/interfaces
|
||||
|
||||
Without argument, this command opens buffer with list of relay clients.
|
||||
Ohne Angabe von Argumenten werden alle Relay-Clients in einem neuen Buffer dargestellt.
|
||||
|
||||
Examples:
|
||||
irc proxy, for server "freenode":
|
||||
Beispiele:
|
||||
IRC Proxy für Server "freenode":
|
||||
/relay add irc.freenode 8000
|
||||
irc proxy, for server "freenode", with SSL:
|
||||
IRC Proxy, für Server "freenode", mit SSL:
|
||||
/relay add ssl.irc.freenode 8001
|
||||
irc proxy, for all servers (client will choose), with SSL:
|
||||
IRC Proxy für alle Server (Client wählt aus), mit SSL:
|
||||
/relay add ssl.irc 8002
|
||||
weechat protocol:
|
||||
WeeChat Protokoll:
|
||||
/relay add weechat 9000
|
||||
weechat protocol with SSL:
|
||||
WeeChat Protokoll, mit SSL:
|
||||
/relay add ssl.weechat 9001
|
||||
weechat protocol with SSL, using only IPv4:
|
||||
WeeChat Protokoll, mit SSL, nur IPv4 nutzen:
|
||||
/relay add ipv4.ssl.weechat 9001
|
||||
weechat protocol with SSL, using only IPv6:
|
||||
WeeChat Protokoll, mit SSL, nur IPv6 nutzen:
|
||||
/relay add ipv6.ssl.weechat 9001
|
||||
weechat protocol with SSL, using IPv4 + IPv6:
|
||||
WeeChat Protokoll, mit SSL, mit IPv4 + IPv6:
|
||||
/relay add ipv4.ipv6.ssl.weechat 9001
|
||||
weechat protocol over UNIX domain socket:
|
||||
Weechat Protokoll über UNIX Domain Socket:
|
||||
/relay add unix.weechat %h/relay_socket
|
||||
----
|
||||
|
||||
@@ -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)]
|
||||
** Typ: 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*
|
||||
** 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.
|
||||
|
||||
Standardtastenbefehle im Chatbereich:
|
||||
m quote Nachricht
|
||||
q quote Präfix + Nachricht
|
||||
Q quote Zeit + Präfix + Nachricht
|
||||
m zitiere Nachricht
|
||||
q zitiere Präfix + Nachricht
|
||||
Q zitiere Zeit + Präfix + Nachricht
|
||||
|
||||
Standardtastenbefehle in Nickliste:
|
||||
b banne Nick (/ban)
|
||||
@@ -214,6 +214,11 @@ Standardtastenbefehle in Nickliste:
|
||||
q öffne private Unterhaltung mit Nick (/query)
|
||||
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:
|
||||
gehe zur Benutzerliste:
|
||||
/cursor go nicklist
|
||||
@@ -974,6 +979,7 @@ Beispiele:
|
||||
resize [-window <number>] [h|v][+|-]<pct>
|
||||
balance
|
||||
merge [-window <number>] [all]
|
||||
close [-window <number>]
|
||||
page_up|page_down [-window <number>]
|
||||
refresh
|
||||
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)
|
||||
balance: passt die Größe aller Fenster an
|
||||
merge: vereinigt Fenster miteinander (all = alle Fenster vereinigen)
|
||||
close: Fenster wird geschlossen
|
||||
page_up: scrollt eine Seite nach oben
|
||||
page_down: scrollt eine Seite nach unten
|
||||
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_previous_highlight: scrollt zum vorherigen Hightlight
|
||||
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)
|
||||
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:
|
||||
springt zum Fenster mit dem Buffer #1:
|
||||
/window b1
|
||||
scrollt zwei Zeilen hoch:
|
||||
/window scroll -2
|
||||
scrollt zwei Tage hoch: /window scroll -2d
|
||||
scrollt zwei Tage hoch:
|
||||
/window scroll -2d
|
||||
scrollt zum Beginn des aktuellen Tages:
|
||||
/window scroll -d
|
||||
@@ -1036,6 +1043,8 @@ Beispiele:
|
||||
/window resize v+10
|
||||
eine Teilung wird rückgängig gemacht:
|
||||
/window merge
|
||||
das aktuelle Fenster wird geschlossen:
|
||||
/window close
|
||||
aktiviert den einfachen Anzeigemodus für zwei Sekunden:
|
||||
/window bare 2
|
||||
----
|
||||
|
||||
@@ -921,9 +921,9 @@
|
||||
** Standardwert: `+""+`
|
||||
|
||||
* [[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
|
||||
** Werte: djb2, sum
|
||||
** Werte: djb2, sum, djb2_32, sum_32
|
||||
** Standardwert: `+djb2+`
|
||||
|
||||
* [[option_weechat.look.nick_color_stop_chars]] *weechat.look.nick_color_stop_chars*
|
||||
|
||||
@@ -52,12 +52,12 @@ https://weechat.org/about/interfaces
|
||||
[[compile_git]]
|
||||
=== Ich kann WeeChat nach Cloning des git Repository nicht kompilieren - weshalb?
|
||||
|
||||
Es wird empfohlen link:weechat_user.de.html#compile_with_cmake[cmake] zum
|
||||
Es wird empfohlen link:weechat_user.de.html#compile_with_cmake[CMake] zum
|
||||
kompilieren von WeeChat zu nutzen.
|
||||
|
||||
Falls Du WeeChat mit Hilfe der
|
||||
link:weechat_user.de.html#compile_with_autotools[autotools] kompilieren solltest
|
||||
(dich also nicht für cmake entscheidest), stelle sicher, dass Du die neueste
|
||||
(dich also nicht für CMake entscheidest), stelle sicher, dass Du die neueste
|
||||
Version von autoconf und automake besitzt.
|
||||
|
||||
Die zweite Möglichkeit besteht darin das "Entwickler-Paket" zu installieren, denn dies
|
||||
@@ -79,7 +79,7 @@ brew info weechat
|
||||
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]]
|
||||
@@ -331,7 +331,7 @@ werden sollte:
|
||||
[[terminal_copy_paste]]
|
||||
=== Wie kann ich einen Text kopieren und einfügen ohne das die Nickliste (Benutzerliste) mit kopiert wird?
|
||||
|
||||
Seit WeeChat ≥ 1.0 gibt es einen neuen Anzeigemodus (Standardtastenbelegung: kbd:[Alt+l]), der dazu genutzt
|
||||
Seit WeeChat ≥ 1.0 gibt es einen neuen Anzeigemodus (Standardtastenbelegung: kbd:[Alt+l] (`L`)), der dazu genutzt
|
||||
werden kann um den Inhalt des aktuellen Fensters ohne eine Formatierung anzeigen zu lassen.
|
||||
|
||||
Hierzu kannst Du ein Terminal nutzen welches Block-Auswahl erlaubt (wie z.B. rxvt-unicode,
|
||||
@@ -348,7 +348,7 @@ Bildschirm zu positionieren:
|
||||
[[urls]]
|
||||
=== Wie kann ich eine URL aufrufen die einen Zeilenumbruch besitzt?
|
||||
|
||||
Ab WeeChat ≥ 1.0 kann ein einfacher Anzeigemodus genutzt werden (Standardtastenbelegung: kbd:[Alt+l]).
|
||||
Ab WeeChat ≥ 1.0 kann ein einfacher Anzeigemodus genutzt werden (Standardtastenbelegung: kbd:[Alt+l] (`L`)).
|
||||
|
||||
Um URLs einfacher zu öffnen:
|
||||
|
||||
|
||||
@@ -1037,9 +1037,9 @@ Beispiele:
|
||||
[source,python]
|
||||
----
|
||||
skript_optionen = {
|
||||
"Option1" : "Wert1",
|
||||
"Option2" : "Wert2",
|
||||
"Option3" : "Wert3",
|
||||
"Option1": "Wert1",
|
||||
"Option2": "Wert2",
|
||||
"Option3": "Wert3",
|
||||
}
|
||||
for option, standardwert in skript_optionen.items():
|
||||
if not weechat.config_is_set_plugin(option):
|
||||
|
||||
@@ -97,7 +97,7 @@ $ tar xvjf weechat-devel.tar.bz2
|
||||
$ cd weechat-devel
|
||||
----
|
||||
|
||||
Um die Quellen zu übersetzen, wird cmake empfohlen:
|
||||
Um die Quellen zu übersetzen, wird CMake empfohlen:
|
||||
|
||||
----
|
||||
$ mkdir build
|
||||
@@ -107,7 +107,7 @@ $ make
|
||||
$ 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
|
||||
|
||||
+172
-152
@@ -85,12 +85,11 @@ wie man Pakete installiert.
|
||||
[[source_package]]
|
||||
=== 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]
|
||||
Unter macOS kann https://brew.sh/[Homebrew] verwendet werden:
|
||||
`brew install weechat --with-python --with-perl`
|
||||
(für Hilfe: `brew info weechat`).
|
||||
`brew install weechat` (für Hilfe: `brew info weechat`).
|
||||
|
||||
[[dependencies]]
|
||||
==== Abhängigkeiten
|
||||
@@ -104,7 +103,7 @@ zu kompilieren und welche Pakete optional genutzt werden können.
|
||||
| C compiler
|
||||
(gcc, clang, ...) | | *ja* | zum Erstellen der Binärdatei.
|
||||
| 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.
|
||||
| libncursesw5-dev ^(2)^ | | *ja* | Ncurses Oberfläche.
|
||||
| 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.
|
||||
| libaspell-dev
|
||||
∥ libenchant-dev | | | Spell Erweiterung.
|
||||
| python-dev | ≥ 2.6 ^(4)^ | | Python Erweiterung.
|
||||
| python3-dev | ^(4)^ | | Python Erweiterung.
|
||||
| libperl-dev | | | Perl Erweiterung.
|
||||
| ruby2.5, ruby2.5-dev | ≥ 1.8 | | Ruby Erweiterung.
|
||||
| liblua5.3-dev | | | Lua Erweiterung.
|
||||
@@ -139,8 +138,8 @@ aber dies wird *NICHT* empfohlen:
|
||||
Es können Darstellungsfehler mit breiten Zeichen auftreten. +
|
||||
^(3)^ GnuTLS ≥ 3.0.21 wird benötigt um eine IRC SASL Authentifizierung mittels
|
||||
ECDSA-NIST256P-CHALLENGE durchzuführen. +
|
||||
^(4)^ Die empfohlene Version ist 2.7 (alle Skripten laufen mit der Version 2.7,
|
||||
aber nicht mit Version < 2.7 oder ≥ 3.0).
|
||||
^(4)^ standardmäßig wird Python 3.x verwendet. Wird die Option `ENABLE_PYTHON2` aktiviert
|
||||
(siehe unten), sollte die Version 2.7 von Python genutzt werden.
|
||||
|
||||
Falls eine Debian/Ubuntu basierte Distribution genutzt wird und man einen
|
||||
"deb-src" Quelleintrag in _/etc/apt/sources.list_ eingetragen hat, dann ist
|
||||
@@ -152,7 +151,7 @@ installieren:
|
||||
----
|
||||
|
||||
[[compile_with_cmake]]
|
||||
==== Kompilieren mit cmake
|
||||
==== Kompilieren mit CMake
|
||||
|
||||
* Installation in das Systemverzeichnis (benötigt _root_ Privilegien):
|
||||
|
||||
@@ -174,7 +173,7 @@ $ make
|
||||
$ 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:
|
||||
|
||||
@@ -213,7 +212,7 @@ Liste von häufig verwendeten Optionen:
|
||||
erstellt die HTML Dokumentation.
|
||||
|
||||
| ENABLE_ENCHANT | `ON`, `OFF` | OFF |
|
||||
kompiliert <<spell_plugin,Spell plugin>> mittels Enchant.
|
||||
kompiliert <<spell_plugin,Spell Erweiterung>> mittels Enchant.
|
||||
|
||||
| ENABLE_EXEC | `ON`, `OFF` | ON |
|
||||
kompiliert <<exec_plugin,Exec Erweiterung>>.
|
||||
@@ -260,12 +259,8 @@ Liste von häufig verwendeten Optionen:
|
||||
| ENABLE_PYTHON | `ON`, `OFF` | ON |
|
||||
kompiliert <<scripts_plugins,Python Erweiterung>>.
|
||||
|
||||
| ENABLE_PYTHON3 | `ON`, `OFF` | OFF |
|
||||
kompiliert <<scripts_plugins,Python plugin>> mit 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_PYTHON2 | `ON`, `OFF` | OFF |
|
||||
kompiliert <<scripts_plugins,Python Erweiterung>> nutzt Python 2 anstelle von Python 3.
|
||||
|
||||
| ENABLE_RELAY | `ON`, `OFF` | ON |
|
||||
kompiliert <<relay_plugin,Relay Erweiterung>>.
|
||||
@@ -316,10 +311,10 @@ $ ccmake ..
|
||||
==== Kompilieren mit autotools
|
||||
|
||||
[WARNING]
|
||||
Ausschließlich das Kompilieren mittels cmake wird offiziell unterstützt. Autotools
|
||||
sollte nur verwendet werden falls man keine Möglichkeit hat cmake zu nutzen. +
|
||||
Ausschließlich das Kompilieren mittels CMake wird offiziell unterstützt. Autotools
|
||||
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
|
||||
zeitintensiver als cmake.
|
||||
zeitintensiver als CMake.
|
||||
|
||||
* Installation in das Systemverzeichnis (benötigt _root_ Privilegien):
|
||||
|
||||
@@ -358,13 +353,13 @@ Folgende Pakete werden *benötigt* um Tests zu kompilieren:
|
||||
* libcpputest-dev
|
||||
* 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
|
||||
----
|
||||
|
||||
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
|
||||
@@ -396,7 +391,7 @@ Falls WeeChat abgestürzt sein sollte und Sie diesen Fehler melden möchten:
|
||||
[[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
|
||||
@@ -547,7 +542,10 @@ Einige Umgebungsvariablen werden von WeeChat genutzt, sofern sie definiert wurde
|
||||
WeeChat schreibt standardmäßig seine Konfiguration und andere
|
||||
Daten in folgendes Verzeichnis: `~/.weechat`
|
||||
|
||||
Verzeichnisse:
|
||||
[[weechat_directories]]
|
||||
==== WeeChat Verzeichnisse
|
||||
|
||||
Es gibt folgende WeeChat Verzeichnisse:
|
||||
|
||||
[width="100%",cols="1m,3",options="header"]
|
||||
|===
|
||||
@@ -575,6 +573,9 @@ Verzeichnisse:
|
||||
[NOTE]
|
||||
^(1)^ Das Verzeichnis besteht meistens aus symbolischen Links welche auf das eigentliche Skript zeigen.
|
||||
|
||||
[[weechat_files]]
|
||||
==== WeeChat Dateien
|
||||
|
||||
Folgende Dateien befinden sich im WeeChat-Heimatverzeichnis:
|
||||
|
||||
[width="100%",cols="1m,3,6",options="header"]
|
||||
@@ -811,7 +812,7 @@ mittels der Option <<option_irc.color.mirc_remap,irc.color.mirc_remap>>.
|
||||
[[colors]]
|
||||
=== 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).
|
||||
|
||||
Gemäß der Einstellung in der _TERM_-Umgebungsvariable bestehen folgende Einschränkungen
|
||||
@@ -820,12 +821,12 @@ was die Farbdarstellung in WeeChat betrifft:
|
||||
[width="50%",cols="8,>2,>2",options="header"]
|
||||
|===
|
||||
| $TERM | Farben | Paare
|
||||
| "rxvt-unicode", "xterm", ... | 88 | 256
|
||||
| "rxvt-256color", "xterm-256color", ... | 256 | 256
|
||||
| "rxvt-unicode", "xterm", ... | 88 | 32767
|
||||
| "rxvt-256color", "xterm-256color", ... | 256 | 32767
|
||||
| "screen" | 8 | 64
|
||||
| "screen-256color" | 256 | 256
|
||||
| "screen-256color" | 256 | 32767
|
||||
| "tmux" | 8 | 64
|
||||
| "tmux-256color" | 256 | 256
|
||||
| "tmux-256color" | 256 | 32767
|
||||
|===
|
||||
|
||||
Mittels `weechat --colors` oder dem internen WeeChat-Befehl `/color` kann man sich
|
||||
@@ -1217,12 +1218,12 @@ Aufzählung von Bar-Optionen:
|
||||
Die Option _items_ ist ein String, mit einer Anzahl von Bar-Items. Diese werden
|
||||
durch Kommata voneinander getrennt (auf dem Bildschirm wird das Komma durch ein
|
||||
Leerzeichen ersetzt). Möchte man die Items ohne Leerzeichen darstellen, nutzt
|
||||
man ein "+" um die Items zu trennen.
|
||||
man ein `+++` um die Items zu trennen.
|
||||
|
||||
Eine Liste von Bar-Items kann man sich mit dem Befehl `/bar listitems` anzeigen lassen.
|
||||
|
||||
Vor oder nach dem Item können Zeichen eingefügt werden. Diese dürfen nicht alphanumerisch,
|
||||
"-" oder "_" sein. Die Zeichen werden mit der entsprechenden Farbe, für Trennzeichen,
|
||||
`+-+` oder `+_+` sein. Die Zeichen werden mit der entsprechenden Farbe, für Trennzeichen,
|
||||
dargestellt (Option _color_delim_).
|
||||
|
||||
Beispiel einer Bar mit den Items, "[time],buffer_number+:+buffer_plugin+.+buffer_name":
|
||||
@@ -1384,7 +1385,7 @@ Der vereinfachte Anzeigemodus hat folgende Funktionen:
|
||||
wie in einem Terminal genutzt werden um URLs anzuklicken oder Text zu markieren
|
||||
* ncurses wird nicht genutzt, deshalb werden URLs am Ende der Zeile nicht abgeschnitten.
|
||||
|
||||
Der Standardtastenbefehl um den vereinfachten Textmodus zu aktivieren ist kbd:[Alt+l],
|
||||
Der Standardtastenbefehl um den vereinfachten Textmodus zu aktivieren ist kbd:[Alt+l] (`L`),
|
||||
mit dem selben Tastenbefehl wird dieser Modus wieder beendet (dieser Modus kann auch
|
||||
mit jeder beliegen Tasteneingabe beendet werden, siehe Option
|
||||
<<option_weechat.look.bare_display_exit_on_input,weechat.look.bare_display_exit_on_input>>).
|
||||
@@ -1580,7 +1581,7 @@ beinhalten. + Diese "tags" können mit dem Befehl `/debug tags` dargestellt werd
|
||||
Um Tags als Highlights zu nutzen wird folgende Option verwendet:
|
||||
<<option_weechat.look.highlight_tags,weechat.look.highlight_tags>>.
|
||||
Tags werden durch Kommata getrennt und mehrere Tags können mit
|
||||
"+" genutzt werden um ein logischen "und" zu erstellen.
|
||||
`+++` genutzt werden um ein logischen "und" zu erstellen.
|
||||
|
||||
Zum Beispiel um alle Nachrichten vom Nick "FlashCode" und alle notice-Nachrichten
|
||||
von Nicks die mit "toto" beginnen zu highlighten:
|
||||
@@ -1672,78 +1673,78 @@ und um eine Hilfe zu erhalten wie man es nutzt: `/help buffer_autoset`.
|
||||
|
||||
[width="100%",cols="^.^3,.^8,.^5",options="header"]
|
||||
|===
|
||||
| Taste | Beschreibung | Befehl
|
||||
| kbd:[Ctrl+l] | Fenster wird neu gezeichnet. | `/window refresh`
|
||||
| Taste | Beschreibung | Befehl
|
||||
| kbd:[Ctrl+l] (`L`) | Fenster wird neu gezeichnet. | `/window refresh`
|
||||
| kbd:[Ctrl+s],
|
||||
kbd:[Ctrl+u] | setzt für alle Buffer die Markierung für ungelesene Nachrichten. | `/input set_unread`
|
||||
| kbd:[Ctrl+x] | sind mehrere Buffer zu einem Buffer zusammen gefügt wechselt man diese durch. | `/input switch_active_buffer`
|
||||
| kbd:[Alt+x] | Zoom eines zusammengefügten Buffers (kbd:[Alt+x] ein zweites mal: alle zusammengefügten Buffer werden angezeigt). | `/input zoom_merged_buffer`
|
||||
| kbd:[PgUp] | eine Seite im Verlaufsspeicher des Buffers nach oben blättern. | `/window page_up`
|
||||
| kbd:[PgDn] | eine Seite im Verlaufsspeicher des Buffer nach unten blättern. | `/window page_down`
|
||||
| kbd:[Alt+PgUp] | einige Zeilen im Verlaufsspeicher des Buffer nach oben blättern. | `/window scroll_up`
|
||||
| kbd:[Alt+PgDn] | einige Zeilen im Verlaufsspeicher des Buffer nach unten blättern. | `/window scroll_down`
|
||||
| kbd:[Alt+Home] | springt zur ersten Zeile des Verlaufsspeichers des aktuellen Buffer.s| `/window scroll_top`
|
||||
| kbd:[Alt+End] | springt zur letzten Zeile des Verlaufsspeichers des aktuellen Buffers. | `/window scroll_bottom`
|
||||
kbd:[Ctrl+u] | setzt für alle Buffer die Markierung für ungelesene Nachrichten. | `/input set_unread`
|
||||
| kbd:[Ctrl+x] | sind mehrere Buffer zu einem Buffer zusammen gefügt wechselt man diese durch. | `/input switch_active_buffer`
|
||||
| kbd:[Alt+x] | Zoom eines zusammengefügten Buffers (kbd:[Alt+x] ein zweites mal: alle zusammengefügten Buffer werden angezeigt). | `/input zoom_merged_buffer`
|
||||
| kbd:[PgUp] | eine Seite im Verlaufsspeicher des Buffers nach oben blättern. | `/window page_up`
|
||||
| kbd:[PgDn] | eine Seite im Verlaufsspeicher des Buffer nach unten blättern. | `/window page_down`
|
||||
| kbd:[Alt+PgUp] | einige Zeilen im Verlaufsspeicher des Buffer nach oben blättern. | `/window scroll_up`
|
||||
| kbd:[Alt+PgDn] | einige Zeilen im Verlaufsspeicher des Buffer nach unten blättern. | `/window scroll_down`
|
||||
| kbd:[Alt+Home] | springt zur ersten Zeile des Verlaufsspeichers des aktuellen Buffer.s| `/window scroll_top`
|
||||
| kbd:[Alt+End] | springt zur letzten Zeile des Verlaufsspeichers des aktuellen Buffers. | `/window scroll_bottom`
|
||||
| kbd:[F1] +
|
||||
kbd:[Ctrl+F1] | blättert eine Seite in der buflist hoch. | `/bar scroll buflist * -100%`
|
||||
kbd:[Ctrl+F1] | blättert eine Seite in der buflist hoch. | `/bar scroll buflist * -100%`
|
||||
| kbd:[F2] +
|
||||
kbd:[Ctrl+F2] | blättert eine Seite in der buflist runter. | `/bar scroll buflist * +100%`
|
||||
| kbd:[Alt+F1] | springt zum Anfang der buflist. | `/bar scroll buflist * b`
|
||||
| kbd:[Alt+F2] | springt zum Ende der buflist. | `/bar scroll buflist * e`
|
||||
kbd:[Ctrl+F2] | blättert eine Seite in der buflist runter. | `/bar scroll buflist * +100%`
|
||||
| kbd:[Alt+F1] | springt zum Anfang der buflist. | `/bar scroll buflist * b`
|
||||
| kbd:[Alt+F2] | springt zum Ende der buflist. | `/bar scroll buflist * e`
|
||||
| kbd:[Alt+←] +
|
||||
kbd:[Alt+↑] +
|
||||
kbd:[Ctrl+p] +
|
||||
kbd:[F5] | zum vorherigen Buffer springen. | `/buffer -1`
|
||||
kbd:[F5] | zum vorherigen Buffer springen. | `/buffer -1`
|
||||
| kbd:[Alt+→] +
|
||||
kbd:[Alt+↓] +
|
||||
kbd:[Ctrl+n] +
|
||||
kbd:[F6] | zum nächsten Buffer springen. | `/buffer +1`
|
||||
| kbd:[F7] | zum vorherigen Fenster wechseln. | `/window -1`
|
||||
| kbd:[F8] | zum nächsten Fenster wechseln. | `/window +1`
|
||||
| kbd:[F9] | Titel des Buffers nach links verschieben. | `+/bar scroll title * -30%+`
|
||||
| kbd:[F10] | Titel des Buffers nach rechts verschieben. | `+/bar scroll title * +30%+`
|
||||
kbd:[F6] | zum nächsten Buffer springen. | `/buffer +1`
|
||||
| kbd:[F7] | zum vorherigen Fenster wechseln. | `/window -1`
|
||||
| kbd:[F8] | zum nächsten Fenster wechseln. | `/window +1`
|
||||
| kbd:[F9] | Titel des Buffers nach links verschieben. | `+/bar scroll title * -30%+`
|
||||
| kbd:[F10] | Titel des Buffers nach rechts verschieben. | `+/bar scroll title * +30%+`
|
||||
| kbd:[F11] +
|
||||
kbd:[Ctrl+F11] | Benutzerliste um eine Seite nach oben blättern. | `/bar scroll nicklist * -100%`
|
||||
kbd:[Ctrl+F11] | Benutzerliste um eine Seite nach oben blättern. | `/bar scroll nicklist * -100%`
|
||||
| kbd:[F12] +
|
||||
kbd:[Ctrl+F12] | Benutzerliste um eine Seite nach unten blättern. | `/bar scroll nicklist * +100%`
|
||||
| kbd:[Alt+F11] | springt zum Anfang der Benutzerliste. | `/bar scroll nicklist * b`
|
||||
| kbd:[Alt+F12] | springt zum Ende der Benutzerliste. | `/bar scroll nicklist * e`
|
||||
| kbd:[Alt+a] | wechselt zum nächsten Buffer mit Aktivität (nach Priorität: highlight, Nachricht, ...). | `/input jump_smart`
|
||||
| kbd:[Alt+h] | löscht Hotliste (Aktivitätsanzeige für die Buffer). | `/input hotlist_clear`
|
||||
kbd:[Ctrl+F12] | Benutzerliste um eine Seite nach unten blättern. | `/bar scroll nicklist * +100%`
|
||||
| kbd:[Alt+F11] | springt zum Anfang der Benutzerliste. | `/bar scroll nicklist * b`
|
||||
| kbd:[Alt+F12] | springt zum Ende der Benutzerliste. | `/bar scroll nicklist * e`
|
||||
| kbd:[Alt+a] | wechselt zum nächsten Buffer mit Aktivität (nach Priorität: highlight, Nachricht, ...). | `/input jump_smart`
|
||||
| kbd:[Alt+h] | löscht Hotliste (Aktivitätsanzeige für die Buffer). | `/input hotlist_clear`
|
||||
| kbd:[Alt+j],
|
||||
kbd:[Alt+f] | wechselt zum ersten Buffer. | `/buffer -`
|
||||
kbd:[Alt+f] | wechselt zum ersten Buffer. | `/buffer -`
|
||||
| kbd:[Alt+j],
|
||||
kbd:[Alt+l] | wechselt zum letzten Buffer. | `/buffer +`
|
||||
kbd:[Alt+l] (`L`) | wechselt zum letzten Buffer. | `/buffer +`
|
||||
| kbd:[Alt+j],
|
||||
kbd:[Alt+r] | wechselt zum IRC RAW Buffer. | `/server raw`
|
||||
kbd:[Alt+r] | wechselt zum IRC RAW Buffer. | `/server raw`
|
||||
| kbd:[Alt+j],
|
||||
kbd:[Alt+s] | wechselt zum IRC Server Buffer. | `/server jump`
|
||||
| kbd:[Alt+0...9] | wechselt zum Buffer mit der Nummer (0 = 10). | `/buffer *N`
|
||||
kbd:[Alt+s] | wechselt zum IRC Server Buffer. | `/server jump`
|
||||
| kbd:[Alt+0...9] | wechselt zum Buffer mit der Nummer (0 = 10). | `/buffer *N`
|
||||
| kbd:[Alt+j],
|
||||
kbd:[01...99] | wechselt zum Buffer mit der angegeben Nummer. | `/buffer *NN`
|
||||
| kbd:[Alt+l] | schaltet einfachen Anzeigemodus an/aus. | `/window bare`
|
||||
| kbd:[Alt+m] | schaltet Mausfunktion ein/aus. | `/mouse toggle`
|
||||
| kbd:[Alt+n] | springt zur nächsten Highlight Nachricht. | `/window scroll_next_highlight`
|
||||
| kbd:[Alt+p] | springt zur vorherigen Highlight Nachricht. | `/window scroll_previous_highlight`
|
||||
| kbd:[Alt+u] | springt zur ersten ungelesenen Zeile im Buffer. | `/window scroll_unread`
|
||||
kbd:[01...99] | wechselt zum Buffer mit der angegeben Nummer. | `/buffer *NN`
|
||||
| kbd:[Alt+l] (`L`) | schaltet einfachen Anzeigemodus an/aus. | `/window bare`
|
||||
| kbd:[Alt+m] | schaltet Mausfunktion ein/aus. | `/mouse toggle`
|
||||
| kbd:[Alt+n] | springt zur nächsten Highlight Nachricht. | `/window scroll_next_highlight`
|
||||
| kbd:[Alt+p] | springt zur vorherigen Highlight Nachricht. | `/window scroll_previous_highlight`
|
||||
| kbd:[Alt+u] | springt zur ersten ungelesenen Zeile im Buffer. | `/window scroll_unread`
|
||||
| kbd:[Alt+w],
|
||||
kbd:[Alt+↑] | wechselt zum oberen Fenster. | `/window up`
|
||||
kbd:[Alt+↑] | wechselt zum oberen Fenster. | `/window up`
|
||||
| kbd:[Alt+w],
|
||||
kbd:[Alt+↓] | wechselt zum unteren Fenster. | `/window down`
|
||||
kbd:[Alt+↓] | wechselt zum unteren Fenster. | `/window down`
|
||||
| kbd:[Alt+w],
|
||||
kbd:[Alt+←] | wechselt zum linken Fenster. | `/window left`
|
||||
kbd:[Alt+←] | wechselt zum linken Fenster. | `/window left`
|
||||
| kbd:[Alt+w],
|
||||
kbd:[Alt+→] | wechselt zum rechten Fenster. | `/window right`
|
||||
kbd:[Alt+→] | wechselt zum rechten Fenster. | `/window right`
|
||||
| kbd:[Alt+w],
|
||||
kbd:[Alt+b] | passt die Größe aller Fenster an. | `/window balance`
|
||||
kbd:[Alt+b] | passt die Größe aller Fenster an. | `/window balance`
|
||||
| kbd:[Alt+w],
|
||||
kbd:[Alt+s] | Wechselt Buffer von zwei Fenstern. | `/window swap`
|
||||
| kbd:[Alt+z] | Zoom für aktuelles Fenster (nochmals kbd:[Alt+z]: stellt die vorherigen Einstellungen wieder her). | `/window zoom`
|
||||
| kbd:[Alt+<] | springt zum letzten besuchten Buffer. | `/input jump_previously_visited_buffer`
|
||||
| kbd:[Alt+>] | springt zum nächsten besuchten Buffer. | `/input jump_next_visited_buffer`
|
||||
| kbd:[Alt+/] | wechselt zum jeweils zuletzt angezeigten Buffern. | `/input jump_last_buffer_displayed`
|
||||
| kbd:[Alt+=] | schaltet Filterfunktion an/aus. | `/filter toggle`
|
||||
| kbd:[Alt+-] | schaltet, für den aktuellen Buffer, Filterfunktion an/aus. | `/filter toggle @`
|
||||
kbd:[Alt+s] | Wechselt Buffer von zwei Fenstern. | `/window swap`
|
||||
| kbd:[Alt+z] | Zoom für aktuelles Fenster (nochmals kbd:[Alt+z]: stellt die vorherigen Einstellungen wieder her). | `/window zoom`
|
||||
| kbd:[Alt+<] | springt zum letzten besuchten Buffer. | `/input jump_previously_visited_buffer`
|
||||
| kbd:[Alt+>] | springt zum nächsten besuchten Buffer. | `/input jump_next_visited_buffer`
|
||||
| kbd:[Alt+/] | wechselt zum jeweils zuletzt angezeigten Buffern. | `/input jump_last_buffer_displayed`
|
||||
| kbd:[Alt+=] | schaltet Filterfunktion an/aus. | `/filter toggle`
|
||||
| kbd:[Alt+-] | schaltet, für den aktuellen Buffer, Filterfunktion an/aus. | `/filter toggle @`
|
||||
|===
|
||||
|
||||
[[key_bindings_search_context]]
|
||||
@@ -1802,43 +1803,43 @@ Diese Tasten werden im Kontext "mouse" verwendet, wenn eine Mausfunktion genutzt
|
||||
|
||||
[width="100%",cols="^.^3,^.^3,^.^3,.^8,.^8",options="header"]
|
||||
|===
|
||||
| Maustaste ^(1)^ | Mausgeste | Bereich | Beschreibung | Befehl
|
||||
| ◾◽◽ | - | Chat | wechselt zum Fenster. | `/window ${_window_number}`
|
||||
| ◾◽◽ | links | Chat | zum vorherigen Buffer springen. | `/window ${_window_number};/buffer +1`
|
||||
| ◾◽◽ | rechts | Chat | zum nächsten Buffer springen. | `/window ${_window_number};/buffer +1`
|
||||
| ◾◽◽ | links(lang) | Chat | wechselt zum ersten Buffer. | `/window ${_window_number};/buffer 1`
|
||||
| ◾◽◽ | rechts(lang) | Chat | wechselt zum letzten Buffer. | `/window ${_window_number};/input jump_last_buffer`
|
||||
| ◾◽◽ | - | chat (script buffer) | wählt einen Eintrag im Script-Buffer aus. | `/script go ${_chat_line_y}`
|
||||
| ◽◽◾ | - | chat (script buffer) | installiert/entfernt ein Skript. | `/script go ${_chat_line_y};/script installremove -q ${script_name_with_extension}`
|
||||
| ⇑ | - | Chat | mehrere Zeilen im Verlaufsspeicher des Buffer nach oben blättern. | `/window scroll_up -window ${_window_number}`
|
||||
| ⇓ | - | Chat | mehrere Zeilen im Verlaufsspeicher des Buffer nach unten blättern. | `/window scroll_down -window ${_window_number}`
|
||||
| ⇑ | - | chat (script buffer) | fünf Zeilen nach oben blättern, im Script-Buffer. | `/script up 5`
|
||||
| ⇓ | - | chat (script buffer) | fünf Zeilen nach unten blättern, im Script-Buffer. | `/script down 5`
|
||||
| kbd:[Ctrl+⇑] | - | chat | horizontal, nach links scrollen. | `/window scroll_horiz -window ${_window_number} -10%`
|
||||
| kbd:[Ctrl+⇓] | - | chat | horizontal, nach rechts scrollen. | `/window scroll_horiz -window ${_window_number} +10%`
|
||||
| ◾◽◽ | up / left | buflist | verschiebt Buffer in der Reihenfolge nach unten. | Signal `buflist_mouse`.
|
||||
| ◾◽◽ | down / right | buflist | verschiebt Buffer in der Reihenfolge nach oben. | Signal `buflist_mouse`.
|
||||
| ◾◽◽ | - | buflist | wechselt zum Buffer (oder zum vorherigen Buffer, falls der aktuell genutzte Buffer angewählt wurde). | Signal `buflist_mouse`.
|
||||
| ◽◽◾ | - | buflist | wechselt zum nächsten Buffer, falls der aktuell genutzte Buffer angewählt wurde. | Signal `buflist_mouse`.
|
||||
| kbd:[Ctrl+⇑] | - | buflist | wechselt zum vorherigen Buffer. | Signal `buflist_mouse`.
|
||||
| kbd:[Ctrl+⇓] | - | buflist | wechselt zum nächsten Buffer. | Signal `buflist_mouse`.
|
||||
| ◾◽◽ | hoch | Benutzerliste | Benutzerliste um eine Seite nach oben blättern. | `/bar scroll nicklist ${_window_number} -100%`
|
||||
| ◾◽◽ | runter | Benutzerliste | Benutzerliste um eine Seite nach unten blättern. | `/bar scroll nicklist ${_window_number} +100%`
|
||||
| ◾◽◽ | hoch(lang) | Benutzerliste | springt zum Anfang der Benutzerliste. | `/bar scroll nicklist ${_window_number} b`
|
||||
| ◾◽◽ | runter(lang) | Benutzerliste | springt zum Ende der Benutzerliste. | `/bar scroll nicklist ${_window_number} e`
|
||||
| ◾◽◽ | - | Benutzerliste | öffnet privaten Chat mit Nick. | `/window ${_window_number};/query ${nick}`
|
||||
| ◽◽◾ | - | Benutzerliste | führt einen whois für Nick aus. | `/window ${_window_number};/whois ${nick}`
|
||||
| ◾◽◽ | links | Benutzerliste | kickt Nick. | `/window ${_window_number};/kick ${nick}`
|
||||
| ◾◽◽ | links(lang) | Benutzerliste | kickt und verbannt Nick. | `/window ${_window_number};/kickban ${nick}`
|
||||
| ◽◽◾ | links | Benutzerliste | verbannt Nick. | `/window ${_window_number};/ban ${nick}`
|
||||
| ◽◽◾ | - | Input | fängt ein Mausereignis und fügt dieses in die Befehlszeile ein. | `/input grab_mouse_area`
|
||||
| ⇑ | - | jede Bar | blättert Bar um 20% nach oben. | `/bar scroll ${_bar_name} ${_window_number} -20%`
|
||||
| ⇓ | - | jede Bar | blättert Bar um 20% nach unten. | `/bar scroll ${_bar_name} ${_window_number} +20%`
|
||||
| ◽◾◽ | - | überall | aktiviert den Cursor-Modus an dieser Position. | `/cursor go ${_x},${_y}`
|
||||
| Maustaste/Mausrad ^(1)^ | Mausgeste | Bereich | Beschreibung | Befehl
|
||||
| ◾◽◽ | - | Chat | wechselt zum Fenster. | `/window ${_window_number}`
|
||||
| ◾◽◽ | links | Chat | zum vorherigen Buffer springen. | `/window ${_window_number};/buffer +1`
|
||||
| ◾◽◽ | rechts | Chat | zum nächsten Buffer springen. | `/window ${_window_number};/buffer +1`
|
||||
| ◾◽◽ | links(lang) | Chat | wechselt zum ersten Buffer. | `/window ${_window_number};/buffer 1`
|
||||
| ◾◽◽ | rechts(lang) | Chat | wechselt zum letzten Buffer. | `/window ${_window_number};/input jump_last_buffer`
|
||||
| ◾◽◽ | - | chat (script buffer) | wählt einen Eintrag im Script-Buffer aus. | `/script go ${_chat_line_y}`
|
||||
| ◽◽◾ | - | chat (script buffer) | installiert/entfernt ein Skript. | `/script go ${_chat_line_y};/script installremove -q ${script_name_with_extension}`
|
||||
| kbd:[▲] | - | Chat | mehrere Zeilen im Verlaufsspeicher des Buffer nach oben blättern. | `/window scroll_up -window ${_window_number}`
|
||||
| kbd:[▼] | - | Chat | mehrere Zeilen im Verlaufsspeicher des Buffer nach unten blättern. | `/window scroll_down -window ${_window_number}`
|
||||
| kbd:[▲] | - | chat (script buffer) | fünf Zeilen nach oben blättern, im Script-Buffer. | `/script up 5`
|
||||
| kbd:[▼] | - | chat (script buffer) | fünf Zeilen nach unten blättern, im Script-Buffer. | `/script down 5`
|
||||
| kbd:[Ctrl+▲] | - | chat | horizontal, nach links scrollen. | `/window scroll_horiz -window ${_window_number} -10%`
|
||||
| kbd:[Ctrl+▼] | - | chat | horizontal, nach rechts scrollen. | `/window scroll_horiz -window ${_window_number} +10%`
|
||||
| ◾◽◽ | up / left | buflist | verschiebt Buffer in der Reihenfolge nach unten. | Signal `buflist_mouse`.
|
||||
| ◾◽◽ | down / right | buflist | verschiebt Buffer in der Reihenfolge nach oben. | Signal `buflist_mouse`.
|
||||
| ◾◽◽ | - | buflist | wechselt zum Buffer (oder zum vorherigen Buffer, falls der aktuell genutzte Buffer angewählt wurde). | Signal `buflist_mouse`.
|
||||
| ◽◽◾ | - | buflist | wechselt zum nächsten Buffer, falls der aktuell genutzte Buffer angewählt wurde. | Signal `buflist_mouse`.
|
||||
| kbd:[Ctrl+▲] | - | buflist | wechselt zum vorherigen Buffer. | Signal `buflist_mouse`.
|
||||
| kbd:[Ctrl+▼] | - | buflist | wechselt zum nächsten Buffer. | Signal `buflist_mouse`.
|
||||
| ◾◽◽ | hoch | Benutzerliste | Benutzerliste um eine Seite nach oben blättern. | `/bar scroll nicklist ${_window_number} -100%`
|
||||
| ◾◽◽ | runter | Benutzerliste | Benutzerliste um eine Seite nach unten blättern. | `/bar scroll nicklist ${_window_number} +100%`
|
||||
| ◾◽◽ | hoch(lang) | Benutzerliste | springt zum Anfang der Benutzerliste. | `/bar scroll nicklist ${_window_number} b`
|
||||
| ◾◽◽ | runter(lang) | Benutzerliste | springt zum Ende der Benutzerliste. | `/bar scroll nicklist ${_window_number} e`
|
||||
| ◾◽◽ | - | Benutzerliste | öffnet privaten Chat mit Nick. | `/window ${_window_number};/query ${nick}`
|
||||
| ◽◽◾ | - | Benutzerliste | führt einen whois für Nick aus. | `/window ${_window_number};/whois ${nick}`
|
||||
| ◾◽◽ | links | Benutzerliste | kickt Nick. | `/window ${_window_number};/kick ${nick}`
|
||||
| ◾◽◽ | links(lang) | Benutzerliste | kickt und verbannt Nick. | `/window ${_window_number};/kickban ${nick}`
|
||||
| ◽◽◾ | links | Benutzerliste | verbannt Nick. | `/window ${_window_number};/ban ${nick}`
|
||||
| ◽◽◾ | - | Input | fängt ein Mausereignis und fügt dieses in die Befehlszeile ein. | `/input grab_mouse_area`
|
||||
| kbd:[▲] | - | jede Bar | blättert Bar um 20% nach oben. | `/bar scroll ${_bar_name} ${_window_number} -20%`
|
||||
| kbd:[▼] | - | jede Bar | blättert Bar um 20% nach unten. | `/bar scroll ${_bar_name} ${_window_number} +20%`
|
||||
| ◽◾◽ | - | überall | aktiviert den Cursor-Modus an dieser Position. | `/cursor go ${_x},${_y}`
|
||||
|===
|
||||
|
||||
[NOTE]
|
||||
^(1)^ "⇑" und "⇓" sind Symbole für Mausrad hoch/runter.
|
||||
^(1)^ kbd:[▲] und kbd:[▼] sind Symbole für Mausrad hoch/runter.
|
||||
|
||||
[[mouse]]
|
||||
=== Mausunterstützung
|
||||
@@ -1892,7 +1893,7 @@ Man kann mit dem Befehl `/key` im Kontext "mouse" aber auch eigene Befehle zuwei
|
||||
und löschen (für die Syntax, siehe Befehl <<command_weechat_key,/key>>).
|
||||
|
||||
Der Name eines Ereignisses besteht aus einem Modifier (optional), einer Maustaste/Mausrad
|
||||
und der Mausgeste (optional). Die unterschiedlichen Elemente werden durch ein "-" getrennt.
|
||||
und der Mausgeste (optional). Die unterschiedlichen Elemente werden durch ein `+-+` getrennt.
|
||||
|
||||
Liste der Modifiers:
|
||||
|
||||
@@ -2653,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:
|
||||
|
||||
----
|
||||
/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:
|
||||
|
||||
----
|
||||
@@ -3051,16 +3056,21 @@ Datumsspezifikationen in der Maske genutzt werden (siehe
|
||||
Erstellt eine Struktur in folgender Form:
|
||||
|
||||
....
|
||||
~/.weechat/
|
||||
|--- logs/
|
||||
|--- 2010/
|
||||
|--- 11/
|
||||
| irc.server.freenode.weechatlog
|
||||
| irc.freenode.#weechat.weechatlog
|
||||
|--- 2010/
|
||||
|--- 12/
|
||||
| irc.server.freenode.weechatlog
|
||||
| irc.freenode.#weechat.weechatlog
|
||||
~/.weechat
|
||||
└── logs
|
||||
├── 2010
|
||||
│ ├── 11
|
||||
│ │ ├── irc.server.freenode.weechatlog
|
||||
│ │ └── irc.freenode.#weechat.weechatlog
|
||||
│ └── 12
|
||||
│ ├── irc.server.freenode.weechatlog
|
||||
│ └── irc.freenode.#weechat.weechatlog
|
||||
├── 2011
|
||||
│ ├── 01
|
||||
│ │ ├── irc.server.freenode.weechatlog
|
||||
│ │ └── irc.freenode.#weechat.weechatlog
|
||||
│ ├── 02
|
||||
...
|
||||
....
|
||||
|
||||
[[logger_irc_files_by_server_channel]]
|
||||
@@ -3076,17 +3086,18 @@ einer Protokolldatei für jeden Channel:
|
||||
Erstellt eine Struktur in folgender Form:
|
||||
|
||||
....
|
||||
~/.weechat/
|
||||
|--- logs/
|
||||
|--- irc/
|
||||
|--- freenode/
|
||||
| freenode.weechatlog
|
||||
| #weechat.weechatlog
|
||||
| #mychan.weechatlog
|
||||
|--- oftc/
|
||||
| oftc.weechatlog
|
||||
| #chan1.weechatlog
|
||||
| #chan2.weechatlog
|
||||
~/.weechat
|
||||
└── logs
|
||||
└── irc
|
||||
├── freenode
|
||||
│ ├── freenode.weechatlog
|
||||
│ ├── #weechat.weechatlog
|
||||
│ └── #mychan.weechatlog
|
||||
├── oftc
|
||||
│ ├── oftc.weechatlog
|
||||
│ ├── #chan1.weechatlog
|
||||
│ └── #chan2.weechatlog
|
||||
...
|
||||
....
|
||||
|
||||
[[logger_commands]]
|
||||
@@ -3202,11 +3213,11 @@ Die Relay Erweiterung kann wie ein IRC Proxy genutzt werden. Dabei simuliert
|
||||
die Erweiterung einen IRC Server und man kann sich mit jedem IRC Client zu WeeChat
|
||||
verbinden.
|
||||
|
||||
Es kann für jeden IRC Server ein Port definiert werden, oder aber ein Port für
|
||||
alle Server.
|
||||
Es kann für jeden IRC Server ein Port definiert werden, oder aber man nutzt ein Port
|
||||
für alle Server.
|
||||
|
||||
Wird ein Port für alle Server genutzt, dann muss der Client den internen Namen
|
||||
des zu nutzenden Servers mit dem IRC Befehl "PASS" anfordern:
|
||||
des zu nutzenden Servers mit dem IRC Befehl "PASS" anfordern (siehe folgendes Beispiel):
|
||||
|
||||
----
|
||||
PASS server:meinPasswort
|
||||
@@ -3228,6 +3239,14 @@ Nun kann man eine Verbindung zum Port 8000 mit jedem beliebigen IRC Client
|
||||
herstellen, indem man das Server Passwort "meinPasswort" nutzt (oder
|
||||
"freenode:meinPasswort" sofern kein Server angegeben wurde).
|
||||
|
||||
Wenn man Beispielsweise WeeChat als IRC Client über das Relay nutzen möchte
|
||||
und der genutzte Server heisst "relay" und das entsprechende Passwort "geheim",
|
||||
kann man das Passwort mit folgendem Befehl setzen:
|
||||
|
||||
----
|
||||
/set irc.server.relay.password "freenode:secret"
|
||||
----
|
||||
|
||||
[[relay_weechat_protocol]]
|
||||
==== WeeChat Protokoll
|
||||
|
||||
@@ -3270,27 +3289,28 @@ websocket = new WebSocket("ws://server.com:9000/weechat");
|
||||
Der Port (im Beispiel: 9000) ist der Port der in der Relay Erweiterung angegeben wurde.
|
||||
Die URI muss immer auf "/weechat" enden (_irc_ und _weechat_ Protokoll).
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[[relay_unix_socket]]
|
||||
==== UNIX domain sockets
|
||||
==== UNIX Domain Sockets
|
||||
|
||||
Using the protocol option "unix" with the `/relay add` command, you can listen
|
||||
using any protocol on a UNIX domain socket at a given path. For example:
|
||||
Wenn man die Protokolloption "unix" mit dem Befehl `/relay add` nutzt, kann
|
||||
man jedes Protokoll zum Lauschen an einem UNIX Domain Socket nutzen, indem
|
||||
man einen Pfad angibt. Zum Beispiel:
|
||||
|
||||
----
|
||||
/relay add unix.weechat %h/relay_socket
|
||||
----
|
||||
|
||||
This allows clients to connect using the weechat protocol to
|
||||
_~/.weechat/relay_socket_. This is particularly useful to allow SSH forwarding
|
||||
for relay clients, when other ports cannot be opened. Using OpenSSH:
|
||||
Das erlaubt es Clients sich mittels dem weechat Protokoll mit
|
||||
_~/.weechat/relay_socket_ zu verbinden. Dies ist besonders zu
|
||||
empfehlen um SSH forwarding für relay Clients zu nutzen, falls
|
||||
andere Ports nicht geöffnet werden können. OpenSSH nutzen:
|
||||
|
||||
----
|
||||
$ ssh -L 9000:.weechat/relay_socket user@hostname
|
||||
----
|
||||
|
||||
This redirects local relay clients connecting on port 9000 to the WeeChat
|
||||
instance running on "hostname".
|
||||
Dies leitet lokale relay Client Verbindungen von Port 9000 um, zu
|
||||
einer WeeChat Instanz welche auf "hostname" hört.
|
||||
|
||||
[[relay_commands]]
|
||||
==== Befehle
|
||||
@@ -3926,7 +3946,7 @@ Matching groups können in "replace" genutzt werden:
|
||||
(Beispiel: `+${hide:*,${re:2}}+` ist die group #2 mit allen Zeichen die durch
|
||||
`+*+` ersetzt wurden).
|
||||
|
||||
Beispiel: nutzte Fettschrift zwischen dem Zeichen "*":
|
||||
Beispiel: nutzte Fettschrift zwischen dem Zeichen `+*+`:
|
||||
|
||||
----
|
||||
/\*([^ ]+)\*/*${color:bold}${re:1}${color:-bold}*/
|
||||
|
||||
+8
-3
@@ -19,11 +19,16 @@ h1,h2,h3,h4,h5 {
|
||||
line-height: normal;
|
||||
font-size: .95em;
|
||||
}
|
||||
.keyseq kbd {
|
||||
font-size: .7em;
|
||||
kbd {
|
||||
font-size: .9em;
|
||||
}
|
||||
.keyseq {
|
||||
margin-left: .2em;
|
||||
margin-right: .2em;
|
||||
}
|
||||
.tableblock kbd {
|
||||
font-size: .7438em;
|
||||
margin-top: .2em;
|
||||
margin-bottom: .2em;
|
||||
}
|
||||
.hex {
|
||||
padding: 0 .2em;
|
||||
|
||||
@@ -252,6 +252,8 @@ _isupport_ (string) +
|
||||
_prefix_modes_ (string) +
|
||||
_prefix_chars_ (string) +
|
||||
_nick_max_length_ (integer) +
|
||||
_user_max_length_ (integer) +
|
||||
_host_max_length_ (integer) +
|
||||
_casemapping_ (integer) +
|
||||
_chantypes_ (string) +
|
||||
_chanmodes_ (string) +
|
||||
@@ -970,6 +972,7 @@ _charset_ (string) +
|
||||
_priority_ (integer) +
|
||||
_initialized_ (integer) +
|
||||
_debug_ (integer) +
|
||||
_upgrading_ (integer) +
|
||||
_variables_ (hashtable) +
|
||||
_prev_plugin_ (pointer, hdata: "plugin") +
|
||||
_next_plugin_ (pointer, hdata: "plugin") +
|
||||
|
||||
@@ -10,6 +10,8 @@
|
||||
|
||||
| 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)
|
||||
|
||||
| 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 | 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_width | width of terminal | -
|
||||
|
||||
@@ -62,6 +62,8 @@
|
||||
|
||||
| unix_socket_path | string |
|
||||
|
||||
| abstract_unix_socket | string |
|
||||
|
||||
| path_as_is | long |
|
||||
|
||||
| proxy_service_name | string |
|
||||
@@ -72,15 +74,21 @@
|
||||
|
||||
| tcp_fastopen | long |
|
||||
|
||||
| socks5_auth | long |
|
||||
|
||||
| haproxyprotocol | long |
|
||||
|
||||
| doh_url | string |
|
||||
|
||||
| netrc | long | ignored, optional, required
|
||||
|
||||
| userpwd | 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 |
|
||||
|
||||
@@ -104,6 +112,8 @@
|
||||
|
||||
| login_options | string |
|
||||
|
||||
| disallow_username_in_url | long |
|
||||
|
||||
| autoreferer | long |
|
||||
|
||||
| followlocation | long |
|
||||
@@ -114,8 +124,6 @@
|
||||
|
||||
| postfields | string |
|
||||
|
||||
| httppost | list |
|
||||
|
||||
| referer | string |
|
||||
|
||||
| useragent | string |
|
||||
@@ -170,6 +178,8 @@
|
||||
|
||||
| stream_weight | long |
|
||||
|
||||
| request_target | string |
|
||||
|
||||
| mail_from | string |
|
||||
|
||||
| mail_rcpt | list |
|
||||
@@ -258,6 +268,10 @@
|
||||
|
||||
| maxfilesize_large | long long |
|
||||
|
||||
| timevalue_large | long long |
|
||||
|
||||
| upload_buffersize | long |
|
||||
|
||||
| timeout | long |
|
||||
|
||||
| low_speed_limit | long |
|
||||
@@ -300,9 +314,15 @@
|
||||
|
||||
| connect_to | list |
|
||||
|
||||
| happy_eyeballs_timeout_ms | long |
|
||||
|
||||
| dns_shuffle_addresses | long |
|
||||
|
||||
| upkeep_interval_ms | long |
|
||||
|
||||
| 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 |
|
||||
|
||||
@@ -342,7 +362,7 @@
|
||||
|
||||
| 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 |
|
||||
|
||||
@@ -372,11 +392,11 @@
|
||||
|
||||
| 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_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 |
|
||||
|
||||
@@ -388,6 +408,10 @@
|
||||
|
||||
| proxy_tlsauth_username | string |
|
||||
|
||||
| tls13_ciphers | list |
|
||||
|
||||
| proxy_tls13_ciphers | list |
|
||||
|
||||
| ssh_auth_types | mask | none, policy_flag, flag
|
||||
|
||||
| ssh_public_keyfile | string |
|
||||
@@ -398,6 +422,8 @@
|
||||
|
||||
| ssh_knownhosts | string |
|
||||
|
||||
| ssh_compression | long |
|
||||
|
||||
| new_file_perms | long |
|
||||
|
||||
| new_directory_perms | long |
|
||||
|
||||
@@ -7,8 +7,6 @@
|
||||
| Alias | Command | Completion
|
||||
|
||||
| /AAWAY | /allserv /away | -
|
||||
| /AME | /allchan /me | -
|
||||
| /AMSG | /allchan /msg * | -
|
||||
| /ANICK | /allserv /nick | -
|
||||
| /BEEP | /print -beep | -
|
||||
| /BYE | /quit | -
|
||||
@@ -35,8 +33,9 @@
|
||||
| /UMODE | /mode $nick | -
|
||||
| /V | /command core version | -
|
||||
| /W | /who | -
|
||||
| /WC | /window merge | -
|
||||
| /WC | /window close | -
|
||||
| /WI | /whois | -
|
||||
| /WII | /whois $1 $1 | -
|
||||
| /WM | /window merge | -
|
||||
| /WW | /whowas | -
|
||||
|===
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
** default value: `+0+`
|
||||
|
||||
* [[option_exec.command.shell]] *exec.command.shell*
|
||||
** description: pass:none[shell to use with command "/exec -sh"; it can be just the name of shell if it is in PATH (for example "bash") or the absolute path to the shell (for example "/bin/bash")]
|
||||
** 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
|
||||
** 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 value
|
||||
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 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
|
||||
|
||||
@@ -124,7 +124,7 @@ Examples:
|
||||
* `+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]
|
||||
|
||||
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)]
|
||||
** type: 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*
|
||||
** 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)
|
||||
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
|
||||
@@ -974,6 +979,7 @@ Examples:
|
||||
resize [-window <number>] [h|v][+|-]<pct>
|
||||
balance
|
||||
merge [-window <number>] [all]
|
||||
close [-window <number>]
|
||||
page_up|page_down [-window <number>]
|
||||
refresh
|
||||
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)
|
||||
balance: balance the sizes of all windows
|
||||
merge: merge window with another (all = keep only one window)
|
||||
close: close window
|
||||
page_up: scroll one page up
|
||||
page_down: scroll one page down
|
||||
refresh: refresh screen
|
||||
@@ -1034,8 +1041,10 @@ Examples:
|
||||
/window resize 75
|
||||
resize vertical split, add 10% in size:
|
||||
/window resize v+10
|
||||
remove the split:
|
||||
remove the split, keep the current window:
|
||||
/window merge
|
||||
close the current window:
|
||||
/window close
|
||||
enable bare display for 2 seconds:
|
||||
/window bare 2
|
||||
----
|
||||
|
||||
@@ -921,9 +921,9 @@
|
||||
** default value: `+""+`
|
||||
|
||||
* [[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
|
||||
** values: djb2, sum
|
||||
** values: djb2, sum, djb2_32, sum_32
|
||||
** default value: `+djb2+`
|
||||
|
||||
* [[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-command.c | Buflist commands.
|
||||
| buflist-config.c | Buflist config options (file buflist.conf).
|
||||
| buflist-info.c | Buflist info/infolists/hdata.
|
||||
| buflist-mouse.c | Buflist mouse actions.
|
||||
| charset/ | Charset plugin.
|
||||
| charset.c | Charset functions.
|
||||
@@ -400,9 +401,15 @@ WeeChat "core" is located in following directories:
|
||||
| test-core-util.cpp | Tests: utility functions.
|
||||
| gui/ | Root of unit tests for interfaces.
|
||||
| test-gui-line.cpp | Tests: lines.
|
||||
| test-gui-nick.cpp | Tests: nicks.
|
||||
| plugins/ | Root of unit tests for plugins.
|
||||
| irc/ | Root of unit tests for IRC plugin.
|
||||
| test-irc-color.cpp | Tests: IRC colors.
|
||||
| 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.
|
||||
|
||||
|===
|
||||
@@ -873,34 +880,46 @@ All combinations are summarized in this table:
|
||||
|
||||
[width="100%",cols="4,2,2,8",options="header"]
|
||||
|===
|
||||
| Code | Example | Areas | Description
|
||||
| [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# + "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# + "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# + "*" + (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)STD + "," + STD | [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)EXT + "," + STD | [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# + "b" + "F" | [hex]#19# `+bF+` | bars | Set bar foreground color.
|
||||
| [hex]#19# + "b" + "D" | [hex]#19# `+bD+` | bars | Set bar delimiter color.
|
||||
| [hex]#19# + "b" + "B" | [hex]#19# `+bB+` | bars | Set bar background color.
|
||||
| [hex]#19# + "b" + "_" | [hex]#19# `+b_+` | input bar | Start input char (used only in item "input_text").
|
||||
| [hex]#19# + "b" + "-" | [hex]#19# `+b-+` | input bar | Start input hidden char (used only in item "input_text").
|
||||
| [hex]#19# + "b" + "#" | [hex]#19# `+b#+` | input bar | Move cursor char (used only in item "input_text").
|
||||
| [hex]#19# + "b" + "i" | [hex]#19# `+bi+` | bars | Start item.
|
||||
| [hex]#19# + "b" + "l" (lower L) | [hex]#19# `+bl+` | bars | Start line item.
|
||||
| [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.
|
||||
| Code | Example | Areas | Description
|
||||
| [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# + "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# + "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# + "*" + (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)STD + "," + STD ^(1)^ | [hex]#19# `+*08,05+` | chat + bars | Set foreground/background (WeeChat colors).
|
||||
| [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 ^(1)^ | [hex]#19# `+*@00214,05+` | chat + bars | Set foreground (extended color) and background (WeeChat color).
|
||||
| [hex]#19# + "*" + (A)EXT + "," + EXT ^(1)^ | [hex]#19# `+*@00214,@00017+` | chat + bars | Set foreground/background (extended colors).
|
||||
| [hex]#19# + "*" + (A)STD + "~" + STD | [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)EXT + "~" + STD | [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# + "b" + "F" | [hex]#19# `+bF+` | bars | Set bar foreground color.
|
||||
| [hex]#19# + "b" + "D" | [hex]#19# `+bD+` | bars | Set bar delimiter color.
|
||||
| [hex]#19# + "b" + "B" | [hex]#19# `+bB+` | bars | Set bar background color.
|
||||
| [hex]#19# + "b" + "_" | [hex]#19# `+b_+` | input bar | Start input char (used only in item "input_text").
|
||||
| [hex]#19# + "b" + "-" | [hex]#19# `+b-+` | input bar | Start input hidden char (used only in item "input_text").
|
||||
| [hex]#19# + "b" + "#" | [hex]#19# `+b#+` | input bar | Move cursor char (used only in item "input_text").
|
||||
| [hex]#19# + "b" + "i" | [hex]#19# `+bi+` | bars | Start item.
|
||||
| [hex]#19# + "b" + "l" (lower L) | [hex]#19# `+bl+` | bars | Start line item.
|
||||
| [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
|
||||
_src/gui/gui-color.h_):
|
||||
|
||||
@@ -1086,7 +1105,7 @@ Examples of commit messages:
|
||||
irc: add command /unquiet (closes #36)
|
||||
core: add callback "nickcmp" for nick comparison in buffers
|
||||
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
|
||||
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?
|
||||
|
||||
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]
|
||||
(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.
|
||||
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:
|
||||
|
||||
----
|
||||
brew install weechat --with-aspell --with-curl --with-python --with-perl --with-ruby --with-lua --with-guile
|
||||
brew install weechat
|
||||
----
|
||||
|
||||
[[lost]]
|
||||
@@ -314,7 +314,7 @@ any bar:
|
||||
[[terminal_copy_paste]]
|
||||
=== How can I copy/paste text without pasting nicklist?
|
||||
|
||||
With WeeChat ≥ 1.0, you can use the bare display (default key: kbd:[Alt+l]),
|
||||
With WeeChat ≥ 1.0, you can use the bare display (default key: kbd:[Alt+l] (`L`)),
|
||||
which will show just the contents of the currently selected window,
|
||||
without any formatting.
|
||||
|
||||
@@ -331,7 +331,7 @@ Another solution is to move nicklist to top or bottom, for example:
|
||||
[[urls]]
|
||||
=== How can I click on long URLs (more than one line)?
|
||||
|
||||
With WeeChat ≥ 1.0, you can use the bare display (default key: kbd:[Alt+l]).
|
||||
With WeeChat ≥ 1.0, you can use the bare display (default key: kbd:[Alt+l] (`L`)).
|
||||
|
||||
To make opening URLs easier, you can:
|
||||
|
||||
|
||||
@@ -94,14 +94,39 @@ Arguments:
|
||||
|
||||
* _plugin_: pointer to WeeChat plugin structure, used to initialize the
|
||||
convenience global pointer `weechat_plugin`
|
||||
* _argc_: number of arguments for plugin (given on command line by user)
|
||||
* _argv_: arguments for plugin
|
||||
* _argc_: number of arguments for plugin
|
||||
* _argv_: arguments for plugin (see below)
|
||||
|
||||
Return value:
|
||||
|
||||
* _WEECHAT_RC_OK_ if successful (plugin will 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
|
||||
|
||||
@@ -248,6 +273,29 @@ For each function, we give:
|
||||
* C example,
|
||||
* 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
|
||||
|
||||
@@ -1483,7 +1531,7 @@ This function is not available in scripting API.
|
||||
|
||||
==== string_split
|
||||
|
||||
_Updated in 2.5._
|
||||
_Updated in 2.5, 2.6._
|
||||
|
||||
Split a string according to one or more delimiter(s).
|
||||
|
||||
@@ -1492,13 +1540,16 @@ Prototype:
|
||||
[source,C]
|
||||
----
|
||||
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:
|
||||
|
||||
* _string_: string to 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,
|
||||
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);
|
||||
@@ -1536,7 +1587,7 @@ C example:
|
||||
char **argv;
|
||||
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"
|
||||
argv[1] == "de"
|
||||
argv[2] == ""
|
||||
@@ -1547,7 +1598,7 @@ argv = weechat_string_split ("abc de fghi ", " ", 0, 0, &argc);
|
||||
*/
|
||||
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_RIGHT
|
||||
| WEECHAT_STRING_SPLIT_COLLAPSE_SEPS,
|
||||
@@ -1560,7 +1611,7 @@ argv = weechat_string_split ("abc de fghi ", " ",
|
||||
*/
|
||||
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_RIGHT
|
||||
| WEECHAT_STRING_SPLIT_COLLAPSE_SEPS
|
||||
@@ -1574,7 +1625,7 @@ argv = weechat_string_split ("abc de fghi ", " ",
|
||||
*/
|
||||
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_COLLAPSE_SEPS
|
||||
| WEECHAT_STRING_SPLIT_KEEP_EOL,
|
||||
@@ -1586,6 +1637,19 @@ argv = weechat_string_split ("abc de fghi ", " ",
|
||||
argc == 3
|
||||
*/
|
||||
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]
|
||||
@@ -4007,6 +4071,37 @@ value = 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
|
||||
|
||||
Return size of list (number of items).
|
||||
@@ -7732,20 +7827,20 @@ Arguments:
|
||||
Format of color is: attributes (optional) + color name + ",background"
|
||||
(optional). Possible attributes are:
|
||||
|
||||
* `+*+` : bold text
|
||||
* `+!+` : reverse video
|
||||
* `+/+` : italic
|
||||
* `+_+` : underlined text
|
||||
* `+|+` : keep attributes: do not reset bold/reverse/italic/underlined when
|
||||
* `+*+`: bold text
|
||||
* `+!+`: reverse video
|
||||
* `+/+`: italic
|
||||
* `+_+`: underlined text
|
||||
* `+|+`: keep attributes: do not reset bold/reverse/italic/underlined when
|
||||
changing color _(WeeChat ≥ 0.3.6)_
|
||||
|
||||
Examples:
|
||||
|
||||
* `+yellow+` : yellow
|
||||
* `+_green+` : underlined green
|
||||
* `+*214+` : bold orange
|
||||
* `+yellow,red+` : yellow on red
|
||||
* `+|cyan+` : cyan (and keep any attribute which was set previously)
|
||||
* `+yellow+`: yellow
|
||||
* `+_green+`: underlined green
|
||||
* `+*214+`: bold orange
|
||||
* `+yellow,red+`: yellow on red
|
||||
* `+|cyan+`: cyan (and keep any attribute which was set previously)
|
||||
|
||||
Return value:
|
||||
|
||||
@@ -8928,7 +9023,7 @@ struct t_hashtable *options_url1 = weechat_hashtable_new (8,
|
||||
NULL);
|
||||
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/",
|
||||
options_url1,
|
||||
20000,
|
||||
@@ -8944,7 +9039,7 @@ struct t_hashtable *options_url2 = weechat_hashtable_new (8,
|
||||
NULL);
|
||||
if (options_url2)
|
||||
{
|
||||
weechat_hashtable_set (options, "httpheader",
|
||||
weechat_hashtable_set (options_url2, "httpheader",
|
||||
"Header1: value1\n"
|
||||
"Header2: value2");
|
||||
struct t_hook *my_process_hook = weechat_hook_process_hashtable ("url:http://localhost:8080/",
|
||||
@@ -13032,8 +13127,8 @@ Prototype:
|
||||
|
||||
[source,C]
|
||||
----
|
||||
int weechat_window_get_string (struct t_gui_window *window,
|
||||
const char *property);
|
||||
const char *weechat_window_get_string (struct t_gui_window *window,
|
||||
const char *property);
|
||||
----
|
||||
|
||||
Arguments:
|
||||
@@ -13045,6 +13140,14 @@ Return value:
|
||||
|
||||
* string value of property
|
||||
|
||||
Script (Python):
|
||||
|
||||
[source,python]
|
||||
----
|
||||
# prototype
|
||||
value = weechat.window_get_string(window, property)
|
||||
----
|
||||
|
||||
==== window_get_pointer
|
||||
|
||||
Return pointer value of a window property.
|
||||
|
||||
@@ -1015,9 +1015,9 @@ Example:
|
||||
[source,python]
|
||||
----
|
||||
script_options = {
|
||||
"option1" : "value1",
|
||||
"option2" : "value2",
|
||||
"option3" : "value3",
|
||||
"option1": "value1",
|
||||
"option2": "value2",
|
||||
"option3": "value3",
|
||||
}
|
||||
for option, default_value in script_options.items():
|
||||
if not weechat.config_is_set_plugin(option):
|
||||
|
||||
@@ -83,7 +83,7 @@ $ tar xvjf weechat-devel.tar.bz2
|
||||
$ cd weechat-devel
|
||||
----
|
||||
|
||||
To build sources, cmake is recommended:
|
||||
To build sources, CMake is recommended:
|
||||
|
||||
----
|
||||
$ mkdir build
|
||||
@@ -93,7 +93,7 @@ $ make
|
||||
$ 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
|
||||
|
||||
+167
-148
@@ -79,12 +79,11 @@ instructions.
|
||||
[[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]
|
||||
On macOS, you can use https://brew.sh/[Homebrew]:
|
||||
`brew install weechat --with-python --with-perl`
|
||||
(for help: `brew info weechat`).
|
||||
`brew install weechat` (for help: `brew info weechat`).
|
||||
|
||||
[[dependencies]]
|
||||
==== Dependencies
|
||||
@@ -98,7 +97,7 @@ compile WeeChat.
|
||||
| C compiler
|
||||
(gcc, clang, ...) | | *yes* | Build.
|
||||
| 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.
|
||||
| libncursesw5-dev ^(2)^ | | *yes* | Ncurses interface.
|
||||
| libcurl4-gnutls-dev | | *yes* | URL transfer.
|
||||
@@ -109,7 +108,7 @@ compile WeeChat.
|
||||
| ca-certificates | | | Certificates for SSL connections.
|
||||
| libaspell-dev
|
||||
∥ libenchant-dev | | | Spell plugin.
|
||||
| python-dev | ≥ 2.6 ^(4)^ | | Python plugin.
|
||||
| python3-dev | ^(4)^ | | Python plugin.
|
||||
| libperl-dev | | | Perl plugin.
|
||||
| ruby2.5, ruby2.5-dev | ≥ 1.8 | | Ruby 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. +
|
||||
^(3)^ GnuTLS ≥ 3.0.21 is required for IRC SASL authentication with mechanism
|
||||
ECDSA-NIST256P-CHALLENGE. +
|
||||
^(4)^ Recommended Python version is 2.7 (all scripts run fine with version 2.7,
|
||||
but not with versions < 2.7 or ≥ 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.
|
||||
|
||||
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
|
||||
@@ -144,7 +143,7 @@ all dependencies with the command:
|
||||
----
|
||||
|
||||
[[compile_with_cmake]]
|
||||
==== Compile with cmake
|
||||
==== Compile with CMake
|
||||
|
||||
* Installation in system directories (requires _root_ privileges):
|
||||
|
||||
@@ -166,7 +165,7 @@ $ make
|
||||
$ 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:
|
||||
|
||||
@@ -252,12 +251,8 @@ List of commonly used options:
|
||||
| ENABLE_PYTHON | `ON`, `OFF` | ON |
|
||||
Compile <<scripts_plugins,Python plugin>>.
|
||||
|
||||
| ENABLE_PYTHON3 | `ON`, `OFF` | OFF |
|
||||
Compile <<scripts_plugins,Python plugin>> using 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_PYTHON2 | `ON`, `OFF` | OFF |
|
||||
Compile <<scripts_plugins,Python plugin>> using Python 2 instead of Python 3.
|
||||
|
||||
| ENABLE_RELAY | `ON`, `OFF` | ON |
|
||||
Compile <<relay_plugin,Relay plugin>>.
|
||||
@@ -308,9 +303,9 @@ $ ccmake ..
|
||||
==== Compile with autotools
|
||||
|
||||
[WARNING]
|
||||
Only cmake is officially supported to build WeeChat. You should use autotools
|
||||
only if you are not able to use cmake. +
|
||||
Build with autotools requires more dependencies and is slower than with cmake.
|
||||
Only CMake is officially supported to build WeeChat. You should use autotools
|
||||
only if you are not able to use CMake. +
|
||||
Build with autotools requires more dependencies and is slower than with CMake.
|
||||
|
||||
* Installation in system directories (requires _root_ privileges):
|
||||
|
||||
@@ -349,13 +344,13 @@ Following packages are *required* to compile tests:
|
||||
* libcpputest-dev
|
||||
* C++ compiler
|
||||
|
||||
Tests must be enabled when compiling WeeChat (with cmake):
|
||||
Tests must be enabled when compiling WeeChat (with CMake):
|
||||
|
||||
----
|
||||
$ 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
|
||||
@@ -389,7 +384,7 @@ you have to:
|
||||
[[debug_info]]
|
||||
==== Debug info
|
||||
|
||||
If you're compiling with cmake:
|
||||
If you're compiling with CMake:
|
||||
|
||||
----
|
||||
$ cmake .. -DCMAKE_BUILD_TYPE=Debug
|
||||
@@ -538,7 +533,10 @@ Some environment variables are used by WeeChat if they are defined:
|
||||
WeeChat writes configuration files and other data in directory `~/.weechat`
|
||||
by default.
|
||||
|
||||
The directories are:
|
||||
[[weechat_directories]]
|
||||
==== WeeChat directories
|
||||
|
||||
The WeeChat directories are:
|
||||
|
||||
[width="100%",cols="1m,3",options="header"]
|
||||
|===
|
||||
@@ -566,6 +564,9 @@ The directories are:
|
||||
[NOTE]
|
||||
^(1)^ This directory often contains only symbolic links to scripts in the parent directory.
|
||||
|
||||
[[weechat_files]]
|
||||
==== WeeChat files
|
||||
|
||||
The files in the WeeChat home directory are:
|
||||
|
||||
[width="100%",cols="1m,3,6",options="header"]
|
||||
@@ -803,7 +804,7 @@ In irc plugin, you can remap these colors using option
|
||||
[[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).
|
||||
|
||||
According to value of _TERM_ environment variable, you may have following limits
|
||||
@@ -812,12 +813,12 @@ for colors in WeeChat:
|
||||
[width="50%",cols="8,>2,>2",options="header"]
|
||||
|===
|
||||
| $TERM | Colors | Pairs
|
||||
| "rxvt-unicode", "xterm", ... | 88 | 256
|
||||
| "rxvt-256color", "xterm-256color", ... | 256 | 256
|
||||
| "rxvt-unicode", "xterm", ... | 88 | 32767
|
||||
| "rxvt-256color", "xterm-256color", ... | 256 | 32767
|
||||
| "screen" | 8 | 64
|
||||
| "screen-256color" | 256 | 256
|
||||
| "screen-256color" | 256 | 32767
|
||||
| "tmux" | 8 | 64
|
||||
| "tmux-256color" | 256 | 256
|
||||
| "tmux-256color" | 256 | 32767
|
||||
|===
|
||||
|
||||
You can run `weechat --colors` or use command `/color` in WeeChat to
|
||||
@@ -917,11 +918,11 @@ For example:
|
||||
It is possible to use some attributes for colors. One or more attributes can be
|
||||
added before color name or number:
|
||||
|
||||
* `+*+` : bold text
|
||||
* `+!+` : reverse video
|
||||
* `+/+` : italic
|
||||
* `+_+` : underlined text
|
||||
* `+|+` : keep attributes: do not reset bold/reverse/italic/underlined when
|
||||
* `+*+`: bold text
|
||||
* `+!+`: reverse video
|
||||
* `+/+`: italic
|
||||
* `+_+`: underlined text
|
||||
* `+|+`: keep attributes: do not reset bold/reverse/italic/underlined when
|
||||
changing color
|
||||
|
||||
For example if you want self nick as white underlined, do:
|
||||
@@ -1199,12 +1200,12 @@ List of bar options:
|
||||
==== Items
|
||||
|
||||
The option _items_ is a string with a list of bar items, separated by a comma
|
||||
(space between items on screen) or "+" (glued items).
|
||||
(space between items on screen) or `+++` (glued items).
|
||||
|
||||
The list of bar items is displayed with command `/bar listitems`.
|
||||
|
||||
Before or after item name, you can use chars (that are not alphanumeric, "-" or
|
||||
"_"). They will be displayed before/after item with the delimiters color
|
||||
Before or after item name, you can use chars (that are not alphanumeric, `+-+`
|
||||
or `+_+`). They will be displayed before/after item with the delimiters color
|
||||
defined in bar (option _color_delim_).
|
||||
|
||||
Example of bar with items "[time],buffer_number+:+buffer_plugin+.+buffer_name":
|
||||
@@ -1333,7 +1334,7 @@ Following pointers are available:
|
||||
* `+${buffer}+`: the buffer of window where condition is evaluated
|
||||
|
||||
Example to display nicklist bar in all buffers with a nicklist, and only if
|
||||
width of window is > 100 :
|
||||
width of window is > 100:
|
||||
|
||||
----
|
||||
/set weechat.bar.nicklist.conditions "${nicklist} && ${window.win_width} > 100"
|
||||
@@ -1360,8 +1361,8 @@ The bare display has following features:
|
||||
mouse like you do in the terminal to click on URLs and select text.
|
||||
* Ncurses is not used, therefore URLs are not cut at the end of lines.
|
||||
|
||||
The default key to enabled bare display is kbd:[Alt+l], and same key to exit (or
|
||||
by default anything changing the input will exit the bare display, see option
|
||||
The default key to enable bare display is kbd:[Alt+l] (`L`), and same key to exit
|
||||
(or by default anything changing the input will exit the bare display, see option
|
||||
<<option_weechat.look.bare_display_exit_on_input,weechat.look.bare_display_exit_on_input>>).
|
||||
|
||||
The time format can be customized with the option
|
||||
@@ -1545,7 +1546,7 @@ You can display tags with the command `/debug tags` (same command to hide them).
|
||||
|
||||
You can add specific tags to highlight with the option
|
||||
<<option_weechat.look.highlight_tags,weechat.look.highlight_tags>>.
|
||||
Tags are separated by commas, and multiple tags can be separated by "+" to do
|
||||
Tags are separated by commas, and multiple tags can be separated by `+++` to do
|
||||
a logical "and" between them.
|
||||
|
||||
For example to highlight all messages from nick "FlashCode" and all notices
|
||||
@@ -1637,78 +1638,78 @@ with `/script install buffer_autoset.py` and get help with `/help buffer_autoset
|
||||
|
||||
[width="100%",cols="^.^3,.^8,.^5",options="header"]
|
||||
|===
|
||||
| Key | Description | Command
|
||||
| kbd:[Ctrl+l] | Redraw whole window. | `/window refresh`
|
||||
| Key | Description | Command
|
||||
| kbd:[Ctrl+l] (`L`) | Redraw whole window. | `/window refresh`
|
||||
| kbd:[Ctrl+s],
|
||||
kbd:[Ctrl+u] | Set unread marker on all buffers. | `/input set_unread`
|
||||
| kbd:[Ctrl+x] | Switch current buffer if buffers are attached with same number. | `/input switch_active_buffer`
|
||||
| kbd:[Alt+x] | Zoom on merged buffer (kbd:[Alt+x] again: display all merged buffers). | `/input zoom_merged_buffer`
|
||||
| kbd:[PgUp] | Scroll up one page in buffer history. | `/window page_up`
|
||||
| kbd:[PgDn] | Scroll down one page in buffer history. | `/window page_down`
|
||||
| kbd:[Alt+PgUp] | Scroll up a few lines in buffer history. | `/window scroll_up`
|
||||
| kbd:[Alt+PgDn] | Scroll down a few lines in buffer history. | `/window scroll_down`
|
||||
| kbd:[Alt+Home] | Scroll to top of buffer. | `/window scroll_top`
|
||||
| kbd:[Alt+End] | Scroll to bottom of buffer. | `/window scroll_bottom`
|
||||
kbd:[Ctrl+u] | Set unread marker on all buffers. | `/input set_unread`
|
||||
| kbd:[Ctrl+x] | Switch current buffer if buffers are attached with same number. | `/input switch_active_buffer`
|
||||
| kbd:[Alt+x] | Zoom on merged buffer (kbd:[Alt+x] again: display all merged buffers). | `/input zoom_merged_buffer`
|
||||
| kbd:[PgUp] | Scroll up one page in buffer history. | `/window page_up`
|
||||
| kbd:[PgDn] | Scroll down one page in buffer history. | `/window page_down`
|
||||
| kbd:[Alt+PgUp] | Scroll up a few lines in buffer history. | `/window scroll_up`
|
||||
| kbd:[Alt+PgDn] | Scroll down a few lines in buffer history. | `/window scroll_down`
|
||||
| kbd:[Alt+Home] | Scroll to top of buffer. | `/window scroll_top`
|
||||
| kbd:[Alt+End] | Scroll to bottom of buffer. | `/window scroll_bottom`
|
||||
| kbd:[F1] +
|
||||
kbd:[Ctrl+F1] | Scroll up one page in buflist. | `/bar scroll buflist * -100%`
|
||||
kbd:[Ctrl+F1] | Scroll up one page in buflist. | `/bar scroll buflist * -100%`
|
||||
| kbd:[F2] +
|
||||
kbd:[Ctrl+F2] | Scroll down one page in buflist. | `/bar scroll buflist * +100%`
|
||||
| kbd:[Alt+F1] | Go to the beginning of buflist. | `/bar scroll buflist * b`
|
||||
| kbd:[Alt+F2] | Go to the end of buflist. | `/bar scroll buflist * e`
|
||||
kbd:[Ctrl+F2] | Scroll down one page in buflist. | `/bar scroll buflist * +100%`
|
||||
| kbd:[Alt+F1] | Go to the beginning of buflist. | `/bar scroll buflist * b`
|
||||
| kbd:[Alt+F2] | Go to the end of buflist. | `/bar scroll buflist * e`
|
||||
| kbd:[Alt+←] +
|
||||
kbd:[Alt+↑] +
|
||||
kbd:[Ctrl+p] +
|
||||
kbd:[F5] | Switch to previous buffer. | `/buffer -1`
|
||||
kbd:[F5] | Switch to previous buffer. | `/buffer -1`
|
||||
| kbd:[Alt+→] +
|
||||
kbd:[Alt+↓] +
|
||||
kbd:[Ctrl+n] +
|
||||
kbd:[F6] | Switch to next buffer. | `/buffer +1`
|
||||
| kbd:[F7] | Switch to previous window. | `/window -1`
|
||||
| kbd:[F8] | Switch to next window. | `/window +1`
|
||||
| kbd:[F9] | Scroll buffer's title on the left. | `+/bar scroll title * -30%+`
|
||||
| kbd:[F10] | Scroll buffer's title on the right. | `+/bar scroll title * +30%+`
|
||||
kbd:[F6] | Switch to next buffer. | `/buffer +1`
|
||||
| kbd:[F7] | Switch to previous window. | `/window -1`
|
||||
| kbd:[F8] | Switch to next window. | `/window +1`
|
||||
| kbd:[F9] | Scroll buffer's title on the left. | `+/bar scroll title * -30%+`
|
||||
| kbd:[F10] | Scroll buffer's title on the right. | `+/bar scroll title * +30%+`
|
||||
| kbd:[F11] +
|
||||
kbd:[Ctrl+F11] | Scroll up one page in nicklist. | `/bar scroll nicklist * -100%`
|
||||
kbd:[Ctrl+F11] | Scroll up one page in nicklist. | `/bar scroll nicklist * -100%`
|
||||
| kbd:[F12] +
|
||||
kbd:[Ctrl+F12] | Scroll down one page in nicklist. | `/bar scroll nicklist * +100%`
|
||||
| kbd:[Alt+F11] | Go to the beginning of nicklist. | `/bar scroll nicklist * b`
|
||||
| kbd:[Alt+F12] | Go to the end of nicklist. | `/bar scroll nicklist * e`
|
||||
| kbd:[Alt+a] | Switch to next buffer with activity (with priority: highlight, message, other). | `/input jump_smart`
|
||||
| kbd:[Alt+h] | Clear hotlist (activity notification on other buffers). | `/input hotlist_clear`
|
||||
kbd:[Ctrl+F12] | Scroll down one page in nicklist. | `/bar scroll nicklist * +100%`
|
||||
| kbd:[Alt+F11] | Go to the beginning of nicklist. | `/bar scroll nicklist * b`
|
||||
| kbd:[Alt+F12] | Go to the end of nicklist. | `/bar scroll nicklist * e`
|
||||
| kbd:[Alt+a] | Switch to next buffer with activity (with priority: highlight, message, other). | `/input jump_smart`
|
||||
| kbd:[Alt+h] | Clear hotlist (activity notification on other buffers). | `/input hotlist_clear`
|
||||
| kbd:[Alt+j],
|
||||
kbd:[Alt+f] | Switch to first buffer. | `/buffer -`
|
||||
kbd:[Alt+f] | Switch to first buffer. | `/buffer -`
|
||||
| kbd:[Alt+j],
|
||||
kbd:[Alt+l] | Switch to last buffer. | `/buffer +`
|
||||
kbd:[Alt+l] (`L`) | Switch to last buffer. | `/buffer +`
|
||||
| kbd:[Alt+j],
|
||||
kbd:[Alt+r] | Switch to IRC raw buffer. | `/server raw`
|
||||
kbd:[Alt+r] | Switch to IRC raw buffer. | `/server raw`
|
||||
| kbd:[Alt+j],
|
||||
kbd:[Alt+s] | Switch to IRC server buffer. | `/server jump`
|
||||
| kbd:[Alt+0...9] | Switch to buffer by number (0 = 10). | `/buffer *N`
|
||||
kbd:[Alt+s] | Switch to IRC server buffer. | `/server jump`
|
||||
| kbd:[Alt+0...9] | Switch to buffer by number (0 = 10). | `/buffer *N`
|
||||
| kbd:[Alt+j],
|
||||
kbd:[01...99] | Switch to buffer by number. | `/buffer *NN`
|
||||
| kbd:[Alt+l] | Toggle bare display on/off. | `/window bare`
|
||||
| kbd:[Alt+m] | Toggle mouse. | `/mouse toggle`
|
||||
| kbd:[Alt+n] | Scroll to next highlight. | `/window scroll_next_highlight`
|
||||
| kbd:[Alt+p] | Scroll to previous highlight. | `/window scroll_previous_highlight`
|
||||
| kbd:[Alt+u] | Scroll to first unread line in buffer. | `/window scroll_unread`
|
||||
kbd:[01...99] | Switch to buffer by number. | `/buffer *NN`
|
||||
| kbd:[Alt+l] (`L`) | Toggle bare display on/off. | `/window bare`
|
||||
| kbd:[Alt+m] | Toggle mouse. | `/mouse toggle`
|
||||
| kbd:[Alt+n] | Scroll to next highlight. | `/window scroll_next_highlight`
|
||||
| kbd:[Alt+p] | Scroll to previous highlight. | `/window scroll_previous_highlight`
|
||||
| kbd:[Alt+u] | Scroll to first unread line in buffer. | `/window scroll_unread`
|
||||
| kbd:[Alt+w],
|
||||
kbd:[Alt+↑] | Switch to window above. | `/window up`
|
||||
kbd:[Alt+↑] | Switch to window above. | `/window up`
|
||||
| kbd:[Alt+w],
|
||||
kbd:[Alt+↓] | Switch to window below. | `/window down`
|
||||
kbd:[Alt+↓] | Switch to window below. | `/window down`
|
||||
| kbd:[Alt+w],
|
||||
kbd:[Alt+←] | Switch to window on the left. | `/window left`
|
||||
kbd:[Alt+←] | Switch to window on the left. | `/window left`
|
||||
| kbd:[Alt+w],
|
||||
kbd:[Alt+→] | Switch to window on the right. | `/window right`
|
||||
kbd:[Alt+→] | Switch to window on the right. | `/window right`
|
||||
| kbd:[Alt+w],
|
||||
kbd:[Alt+b] | Balance the sizes of all windows. | `/window balance`
|
||||
kbd:[Alt+b] | Balance the sizes of all windows. | `/window balance`
|
||||
| kbd:[Alt+w],
|
||||
kbd:[Alt+s] | Swap buffers of two windows. | `/window swap`
|
||||
| kbd:[Alt+z] | Zoom on current window (kbd:[Alt+z] again: restore initial windows state, before zoom). | `/window zoom`
|
||||
| kbd:[Alt+<] | Switch to previous buffer in list of visited buffers. | `/input jump_previously_visited_buffer`
|
||||
| kbd:[Alt+>] | Switch to next buffer in list of visited buffers. | `/input jump_next_visited_buffer`
|
||||
| kbd:[Alt+/] | Switch to last buffer displayed (before last jump to a buffer). | `/input jump_last_buffer_displayed`
|
||||
| kbd:[Alt+=] | Toggle filters on/off. | `/filter toggle`
|
||||
| kbd:[Alt+-] | Toggle filters on/off in current buffer. | `/filter toggle @`
|
||||
kbd:[Alt+s] | Swap buffers of two windows. | `/window swap`
|
||||
| kbd:[Alt+z] | Zoom on current window (kbd:[Alt+z] again: restore initial windows state, before zoom). | `/window zoom`
|
||||
| kbd:[Alt+<] | Switch to previous buffer in list of visited buffers. | `/input jump_previously_visited_buffer`
|
||||
| kbd:[Alt+>] | Switch to next buffer in list of visited buffers. | `/input jump_next_visited_buffer`
|
||||
| kbd:[Alt+/] | Switch to last buffer displayed (before last jump to a buffer). | `/input jump_last_buffer_displayed`
|
||||
| kbd:[Alt+=] | Toggle filters on/off. | `/filter toggle`
|
||||
| kbd:[Alt+-] | Toggle filters on/off in current buffer. | `/filter toggle @`
|
||||
|===
|
||||
|
||||
[[key_bindings_search_context]]
|
||||
@@ -1767,43 +1768,43 @@ These keys are used in context "mouse", namely when a mouse event occurs.
|
||||
|
||||
[width="100%",cols="^.^3,^.^3,^.^3,.^8,.^8",options="header"]
|
||||
|===
|
||||
| Button ^(1)^ | Gesture | Area | Description | Command
|
||||
| ◾◽◽ | - | chat | Switch to window. | `/window ${_window_number}`
|
||||
| ◾◽◽ | left | chat | Switch to previous buffer. | `/window ${_window_number};/buffer +1`
|
||||
| ◾◽◽ | right | chat | Switch to next buffer. | `/window ${_window_number};/buffer +1`
|
||||
| ◾◽◽ | left (long) | chat | Switch to first buffer. | `/window ${_window_number};/buffer 1`
|
||||
| ◾◽◽ | right (long) | chat | Switch to last buffer. | `/window ${_window_number};/input jump_last_buffer`
|
||||
| ◾◽◽ | - | chat (script buffer) | Select line in script buffer. | `/script go ${_chat_line_y}`
|
||||
| ◽◽◾ | - | chat (script buffer) | Install/remove script. | `/script go ${_chat_line_y};/script installremove -q ${script_name_with_extension}`
|
||||
| ⇑ | - | chat | Scroll up a few lines in buffer history. | `/window scroll_up -window ${_window_number}`
|
||||
| ⇓ | - | chat | Scroll down a few lines in buffer history. | `/window scroll_down -window ${_window_number}`
|
||||
| ⇑ | - | chat (script buffer) | Move 5 lines up in script buffer. | `/script up 5`
|
||||
| ⇓ | - | chat (script buffer) | Move 5 lines down in script buffer. | `/script down 5`
|
||||
| kbd:[Ctrl+⇑] | - | chat | Scroll horizontally to the left. | `/window scroll_horiz -window ${_window_number} -10%`
|
||||
| kbd:[Ctrl+⇓] | - | chat | Scroll horizontally to the right. | `/window scroll_horiz -window ${_window_number} +10%`
|
||||
| ◾◽◽ | up / left | buflist | Move buffer to a lower number. | Signal `buflist_mouse`.
|
||||
| ◾◽◽ | down / right | buflist | Move buffer to a higher number. | Signal `buflist_mouse`.
|
||||
| ◾◽◽ | - | buflist | Switch to buffer (previously visited buffer if the buffer is the current one). | Signal `buflist_mouse`.
|
||||
| ◽◽◾ | - | buflist | Switch to next visited buffer if the buffer is the current one. | Signal `buflist_mouse`.
|
||||
| kbd:[Ctrl+⇑] | - | buflist | Switch to previous buffer. | Signal `buflist_mouse`.
|
||||
| kbd:[Ctrl+⇓] | - | buflist | Switch to next buffer. | Signal `buflist_mouse`.
|
||||
| ◾◽◽ | up | nicklist | Scroll up one page in nicklist. | `/bar scroll nicklist ${_window_number} -100%`
|
||||
| ◾◽◽ | down | nicklist | Scroll down one page in nicklist. | `/bar scroll nicklist ${_window_number} +100%`
|
||||
| ◾◽◽ | up (long) | nicklist | Go to the beginning of nicklist. | `/bar scroll nicklist ${_window_number} b`
|
||||
| ◾◽◽ | down (long) | nicklist | Go to the end of nicklist. | `/bar scroll nicklist ${_window_number} e`
|
||||
| ◾◽◽ | - | nicklist | Open query with nick. | `/window ${_window_number};/query ${nick}`
|
||||
| ◽◽◾ | - | nicklist | Do a whois on nick. | `/window ${_window_number};/whois ${nick}`
|
||||
| ◾◽◽ | left | nicklist | Kick nick. | `/window ${_window_number};/kick ${nick}`
|
||||
| ◾◽◽ | left (long) | nicklist | Kick and ban nick. | `/window ${_window_number};/kickban ${nick}`
|
||||
| ◽◽◾ | left | nicklist | Ban nick. | `/window ${_window_number};/ban ${nick}`
|
||||
| ◽◽◾ | - | input | Grab a mouse event and insert its code in command line. | `/input grab_mouse_area`
|
||||
| ⇑ | - | any bar | Scroll bar by -20%. | `/bar scroll ${_bar_name} ${_window_number} -20%`
|
||||
| ⇓ | - | any bar | Scroll bar by +20%. | `/bar scroll ${_bar_name} ${_window_number} +20%`
|
||||
| ◽◾◽ | - | anywhere | Start cursor mode at this point. | `/cursor go ${_x},${_y}`
|
||||
| Button/Wheel ^(1)^ | Gesture | Area | Description | Command
|
||||
| ◾◽◽ | - | chat | Switch to window. | `/window ${_window_number}`
|
||||
| ◾◽◽ | left | chat | Switch to previous buffer. | `/window ${_window_number};/buffer +1`
|
||||
| ◾◽◽ | right | chat | Switch to next buffer. | `/window ${_window_number};/buffer +1`
|
||||
| ◾◽◽ | left (long) | chat | Switch to first buffer. | `/window ${_window_number};/buffer 1`
|
||||
| ◾◽◽ | right (long) | chat | Switch to last buffer. | `/window ${_window_number};/input jump_last_buffer`
|
||||
| ◾◽◽ | - | chat (script buffer) | Select line in script buffer. | `/script go ${_chat_line_y}`
|
||||
| ◽◽◾ | - | chat (script buffer) | Install/remove script. | `/script go ${_chat_line_y};/script installremove -q ${script_name_with_extension}`
|
||||
| kbd:[▲] | - | chat | Scroll up a few lines in buffer history. | `/window scroll_up -window ${_window_number}`
|
||||
| kbd:[▼] | - | chat | Scroll down a few lines in buffer history. | `/window scroll_down -window ${_window_number}`
|
||||
| kbd:[▲] | - | chat (script buffer) | Move 5 lines up in script buffer. | `/script up 5`
|
||||
| kbd:[▼] | - | chat (script buffer) | Move 5 lines down in script buffer. | `/script down 5`
|
||||
| kbd:[Ctrl+▲] | - | chat | Scroll horizontally to the left. | `/window scroll_horiz -window ${_window_number} -10%`
|
||||
| kbd:[Ctrl+▼] | - | chat | Scroll horizontally to the right. | `/window scroll_horiz -window ${_window_number} +10%`
|
||||
| ◾◽◽ | up / left | buflist | Move buffer to a lower number. | Signal `buflist_mouse`.
|
||||
| ◾◽◽ | down / right | buflist | Move buffer to a higher number. | Signal `buflist_mouse`.
|
||||
| ◾◽◽ | - | buflist | Switch to buffer (previously visited buffer if the buffer is the current one). | Signal `buflist_mouse`.
|
||||
| ◽◽◾ | - | buflist | Switch to next visited buffer if the buffer is the current one. | Signal `buflist_mouse`.
|
||||
| kbd:[Ctrl+▲] | - | buflist | Switch to previous buffer. | Signal `buflist_mouse`.
|
||||
| kbd:[Ctrl+▼] | - | buflist | Switch to next buffer. | Signal `buflist_mouse`.
|
||||
| ◾◽◽ | up | nicklist | Scroll up one page in nicklist. | `/bar scroll nicklist ${_window_number} -100%`
|
||||
| ◾◽◽ | down | nicklist | Scroll down one page in nicklist. | `/bar scroll nicklist ${_window_number} +100%`
|
||||
| ◾◽◽ | up (long) | nicklist | Go to the beginning of nicklist. | `/bar scroll nicklist ${_window_number} b`
|
||||
| ◾◽◽ | down (long) | nicklist | Go to the end of nicklist. | `/bar scroll nicklist ${_window_number} e`
|
||||
| ◾◽◽ | - | nicklist | Open query with nick. | `/window ${_window_number};/query ${nick}`
|
||||
| ◽◽◾ | - | nicklist | Do a whois on nick. | `/window ${_window_number};/whois ${nick}`
|
||||
| ◾◽◽ | left | nicklist | Kick nick. | `/window ${_window_number};/kick ${nick}`
|
||||
| ◾◽◽ | left (long) | nicklist | Kick and ban nick. | `/window ${_window_number};/kickban ${nick}`
|
||||
| ◽◽◾ | left | nicklist | Ban nick. | `/window ${_window_number};/ban ${nick}`
|
||||
| ◽◽◾ | - | input | Grab a mouse event and insert its code in command line. | `/input grab_mouse_area`
|
||||
| kbd:[▲] | - | any bar | Scroll bar by -20%. | `/bar scroll ${_bar_name} ${_window_number} -20%`
|
||||
| kbd:[▼] | - | any bar | Scroll bar by +20%. | `/bar scroll ${_bar_name} ${_window_number} +20%`
|
||||
| ◽◾◽ | - | anywhere | Start cursor mode at this point. | `/cursor go ${_x},${_y}`
|
||||
|===
|
||||
|
||||
[NOTE]
|
||||
^(1)^ "⇑" and "⇓" are wheel up and down.
|
||||
^(1)^ kbd:[▲] and kbd:[▼] are wheel up and down.
|
||||
|
||||
[[mouse]]
|
||||
=== Mouse support
|
||||
@@ -1854,7 +1855,7 @@ You can change or add bindings with the command `/key` using context "mouse"
|
||||
(for syntax, see command <<command_weechat_key,/key>>).
|
||||
|
||||
Event name consists of a modifier (optional), a button/wheel name and a gesture
|
||||
(optional). Different elements are separated by "-".
|
||||
(optional). Different elements are separated by `+-+`.
|
||||
|
||||
List of modifiers:
|
||||
|
||||
@@ -2596,9 +2597,13 @@ port depend on your TOR configuration):
|
||||
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:
|
||||
|
||||
----
|
||||
@@ -2985,16 +2990,21 @@ To have log files by date, you can use date/time specifiers in mask (see
|
||||
You'll have following files:
|
||||
|
||||
....
|
||||
~/.weechat/
|
||||
|--- logs/
|
||||
|--- 2010/
|
||||
|--- 11/
|
||||
| irc.server.freenode.weechatlog
|
||||
| irc.freenode.#weechat.weechatlog
|
||||
|--- 2010/
|
||||
|--- 12/
|
||||
| irc.server.freenode.weechatlog
|
||||
| irc.freenode.#weechat.weechatlog
|
||||
~/.weechat
|
||||
└── logs
|
||||
├── 2010
|
||||
│ ├── 11
|
||||
│ │ ├── irc.server.freenode.weechatlog
|
||||
│ │ └── irc.freenode.#weechat.weechatlog
|
||||
│ └── 12
|
||||
│ ├── irc.server.freenode.weechatlog
|
||||
│ └── irc.freenode.#weechat.weechatlog
|
||||
├── 2011
|
||||
│ ├── 01
|
||||
│ │ ├── irc.server.freenode.weechatlog
|
||||
│ │ └── irc.freenode.#weechat.weechatlog
|
||||
│ ├── 02
|
||||
...
|
||||
....
|
||||
|
||||
[[logger_irc_files_by_server_channel]]
|
||||
@@ -3009,17 +3019,18 @@ If you want one directory by IRC server and one file by channel inside:
|
||||
You'll have following files:
|
||||
|
||||
....
|
||||
~/.weechat/
|
||||
|--- logs/
|
||||
|--- irc/
|
||||
|--- freenode/
|
||||
| freenode.weechatlog
|
||||
| #weechat.weechatlog
|
||||
| #mychan.weechatlog
|
||||
|--- oftc/
|
||||
| oftc.weechatlog
|
||||
| #chan1.weechatlog
|
||||
| #chan2.weechatlog
|
||||
~/.weechat
|
||||
└── logs
|
||||
└── irc
|
||||
├── freenode
|
||||
│ ├── freenode.weechatlog
|
||||
│ ├── #weechat.weechatlog
|
||||
│ └── #mychan.weechatlog
|
||||
├── oftc
|
||||
│ ├── oftc.weechatlog
|
||||
│ ├── #chan1.weechatlog
|
||||
│ └── #chan2.weechatlog
|
||||
...
|
||||
....
|
||||
|
||||
[[logger_commands]]
|
||||
@@ -3133,7 +3144,7 @@ you can connect to WeeChat with any other IRC client (including WeeChat itself).
|
||||
You can define one port by IRC server, or one generic port for all servers.
|
||||
|
||||
When using one port for all servers, the client must send the internal name of
|
||||
server in the IRC "PASS" command, with this format:
|
||||
server in the IRC "PASS" command, with this format (see example below):
|
||||
|
||||
----
|
||||
PASS server:password
|
||||
@@ -3154,6 +3165,14 @@ Example: IRC proxy without SSL only for server "freenode":
|
||||
Now you can connect on port 8000 with any IRC client using server password
|
||||
"mypassword" (or "freenode:mypassword" if no server was specified in the relay).
|
||||
|
||||
For example if you use WeeChat as IRC client of the relay, with a server called
|
||||
"relay" and the relay password "secret", you can setup the password with this
|
||||
command:
|
||||
|
||||
----
|
||||
/set irc.server.relay.password "freenode:secret"
|
||||
----
|
||||
|
||||
[[relay_weechat_protocol]]
|
||||
==== WeeChat protocol
|
||||
|
||||
@@ -3837,7 +3856,7 @@ Matching groups can be used in "replace":
|
||||
(example: `+${hide:*,${re:2}}+` is the group #2 with all chars replaced by
|
||||
`+*+`).
|
||||
|
||||
Example: use bold for words between "*":
|
||||
Example: use bold for words between `+*+`:
|
||||
|
||||
----
|
||||
/\*([^ ]+)\*/*${color:bold}${re:1}${color:-bold}*/
|
||||
|
||||
@@ -252,6 +252,8 @@ _isupport_ (string) +
|
||||
_prefix_modes_ (string) +
|
||||
_prefix_chars_ (string) +
|
||||
_nick_max_length_ (integer) +
|
||||
_user_max_length_ (integer) +
|
||||
_host_max_length_ (integer) +
|
||||
_casemapping_ (integer) +
|
||||
_chantypes_ (string) +
|
||||
_chanmodes_ (string) +
|
||||
@@ -970,6 +972,7 @@ _charset_ (string) +
|
||||
_priority_ (integer) +
|
||||
_initialized_ (integer) +
|
||||
_debug_ (integer) +
|
||||
_upgrading_ (integer) +
|
||||
_variables_ (hashtable) +
|
||||
_prev_plugin_ (pointer, hdata: "plugin") +
|
||||
_next_plugin_ (pointer, hdata: "plugin") +
|
||||
|
||||
@@ -10,6 +10,8 @@
|
||||
|
||||
| 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)
|
||||
|
||||
| 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 | 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_width | largeur du terminal | -
|
||||
|
||||
@@ -62,6 +62,8 @@
|
||||
|
||||
| unix_socket_path | string |
|
||||
|
||||
| abstract_unix_socket | string |
|
||||
|
||||
| path_as_is | long |
|
||||
|
||||
| proxy_service_name | string |
|
||||
@@ -72,15 +74,21 @@
|
||||
|
||||
| tcp_fastopen | long |
|
||||
|
||||
| socks5_auth | long |
|
||||
|
||||
| haproxyprotocol | long |
|
||||
|
||||
| doh_url | string |
|
||||
|
||||
| netrc | long | ignored, optional, required
|
||||
|
||||
| userpwd | 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 |
|
||||
|
||||
@@ -104,6 +112,8 @@
|
||||
|
||||
| login_options | string |
|
||||
|
||||
| disallow_username_in_url | long |
|
||||
|
||||
| autoreferer | long |
|
||||
|
||||
| followlocation | long |
|
||||
@@ -114,8 +124,6 @@
|
||||
|
||||
| postfields | string |
|
||||
|
||||
| httppost | list |
|
||||
|
||||
| referer | string |
|
||||
|
||||
| useragent | string |
|
||||
@@ -170,6 +178,8 @@
|
||||
|
||||
| stream_weight | long |
|
||||
|
||||
| request_target | string |
|
||||
|
||||
| mail_from | string |
|
||||
|
||||
| mail_rcpt | list |
|
||||
@@ -258,6 +268,10 @@
|
||||
|
||||
| maxfilesize_large | long long |
|
||||
|
||||
| timevalue_large | long long |
|
||||
|
||||
| upload_buffersize | long |
|
||||
|
||||
| timeout | long |
|
||||
|
||||
| low_speed_limit | long |
|
||||
@@ -300,9 +314,15 @@
|
||||
|
||||
| connect_to | list |
|
||||
|
||||
| happy_eyeballs_timeout_ms | long |
|
||||
|
||||
| dns_shuffle_addresses | long |
|
||||
|
||||
| upkeep_interval_ms | long |
|
||||
|
||||
| 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 |
|
||||
|
||||
@@ -342,7 +362,7 @@
|
||||
|
||||
| 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 |
|
||||
|
||||
@@ -372,11 +392,11 @@
|
||||
|
||||
| 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_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 |
|
||||
|
||||
@@ -388,6 +408,10 @@
|
||||
|
||||
| proxy_tlsauth_username | string |
|
||||
|
||||
| tls13_ciphers | list |
|
||||
|
||||
| proxy_tls13_ciphers | list |
|
||||
|
||||
| ssh_auth_types | mask | none, policy_flag, flag
|
||||
|
||||
| ssh_public_keyfile | string |
|
||||
@@ -398,6 +422,8 @@
|
||||
|
||||
| ssh_knownhosts | string |
|
||||
|
||||
| ssh_compression | long |
|
||||
|
||||
| new_file_perms | long |
|
||||
|
||||
| new_directory_perms | long |
|
||||
|
||||
@@ -7,8 +7,6 @@
|
||||
| Alias | Commande | Complétion
|
||||
|
||||
| /AAWAY | /allserv /away | -
|
||||
| /AME | /allchan /me | -
|
||||
| /AMSG | /allchan /msg * | -
|
||||
| /ANICK | /allserv /nick | -
|
||||
| /BEEP | /print -beep | -
|
||||
| /BYE | /quit | -
|
||||
@@ -35,8 +33,9 @@
|
||||
| /UMODE | /mode $nick | -
|
||||
| /V | /command core version | -
|
||||
| /W | /who | -
|
||||
| /WC | /window merge | -
|
||||
| /WC | /window close | -
|
||||
| /WI | /whois | -
|
||||
| /WII | /whois $1 $1 | -
|
||||
| /WM | /window merge | -
|
||||
| /WW | /whowas | -
|
||||
|===
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
** valeur par défaut: `+0+`
|
||||
|
||||
* [[option_exec.command.shell]] *exec.command.shell*
|
||||
** description: pass:none[shell à utiliser avec la commande "/exec -sh" ; cela peut être seulement le nom du shell s'il est dans le PATH (par exemple "bash") ou le chemin absolu vers le shell (par exemple "/bin/bash")]
|
||||
** 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
|
||||
** 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 la valeur
|
||||
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 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
|
||||
|
||||
@@ -124,7 +124,7 @@ Exemples :
|
||||
* `+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]
|
||||
|
||||
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
|
||||
numéro : numéro du ignore à supprimer (voir la liste des ignore pour le trouver)
|
||||
-all : supprimer tous les ignores
|
||||
serveur : nom de serveur interne où le ignore fonctionnera
|
||||
canal : canal où le ignore fonctionnera
|
||||
serveur : nom de serveur interne où l'ignore fonctionnera
|
||||
canal : canal où l'ignore fonctionnera
|
||||
|
||||
Note : l'expression régulière peut commencer par "(?-i)" pour devenir sensible à la casse.
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
raw : ouvrir le tampon avec les données brutes Relay
|
||||
sslcertkey : définir le certificat/clé SSL en utilisant le chemin de l'option relay.network.ssl_cert_key
|
||||
|
||||
Le nom du relai est : [ipv4.][ipv6.][ssl.]<protocole.nom> ou unix[.ssh].<protocole.nom>
|
||||
Le nom du relai est : [ipv4.][ipv6.][ssl.]<protocole.nom> ou unix[.ssl].<protocole.nom>
|
||||
ipv4 : forcer l'utilisation d'IPv4
|
||||
ipv6 : forcer l'utilisation d'IPv6
|
||||
ssl : activer SSL
|
||||
|
||||
@@ -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)]
|
||||
** type: 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*
|
||||
** 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)
|
||||
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 :
|
||||
aller dans la liste des pseudos :
|
||||
/cursor go nicklist
|
||||
@@ -974,6 +979,7 @@ Exemples :
|
||||
resize [-window <numéro>] [h|v][+|-]<pct>
|
||||
balance
|
||||
merge [-window <numéro>] [all]
|
||||
close [-window <numéro>]
|
||||
page_up|page_down [-window <numéro>]
|
||||
refresh
|
||||
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)
|
||||
balance : équilibrer la taille de toutes les fenêtres
|
||||
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_down : faire défiler d'une page vers le bas
|
||||
refresh : redessiner l'écran
|
||||
@@ -1034,8 +1041,10 @@ Exemples :
|
||||
/window resize 75
|
||||
redimensionner le découpage vertical, ajouter 10% dans la taille :
|
||||
/window resize v+10
|
||||
supprimer l'éclatement :
|
||||
supprimer l'éclatement, garder la fenêtre courante :
|
||||
/window merge
|
||||
fermer la fenêtre courante :
|
||||
/window close
|
||||
activer le mode d'affichage dépouillé pendant 2 secondes :
|
||||
/window bare 2
|
||||
----
|
||||
|
||||
@@ -921,9 +921,9 @@
|
||||
** valeur par défaut: `+""+`
|
||||
|
||||
* [[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
|
||||
** valeurs: djb2, sum
|
||||
** valeurs: djb2, sum, djb2_32, sum_32
|
||||
** valeur par défaut: `+djb2+`
|
||||
|
||||
* [[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-command.c | Commandes pour Buflist.
|
||||
| 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.
|
||||
| charset/ | Extension 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.
|
||||
| gui/ | Racine des tests unitaires pour les interfaces.
|
||||
| test-gui-line.cpp | Tests : lignes.
|
||||
| test-gui-nick.cpp | Tests : pseudos.
|
||||
| plugins/ | Racine des tests unitaires pour les extensions.
|
||||
| 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-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.
|
||||
|===
|
||||
|
||||
@@ -888,34 +895,48 @@ Toutes les combinaisons sont résumées dans ce tableau :
|
||||
|
||||
[width="100%",cols="4,2,2,8",options="header"]
|
||||
|===
|
||||
| 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# + 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)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" + 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)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 + "," + EXT | [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 + "," + EXT | [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# + "b" + "D" | [hex]#19# `+bD+` | barres | Définir la couleur du délimiteur de la barre.
|
||||
| [hex]#19# + "b" + "B" | [hex]#19# `+bB+` | barres | Définir la couleur de fond de la barre.
|
||||
| [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# + "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" + "#" | [hex]#19# `+b#+` | barre input | Caractère de déplacement du curseur (utilisé seulement dans l'objet "input_text").
|
||||
| [hex]#19# + "b" + "i" | [hex]#19# `+bi+` | barres | Début d'objet.
|
||||
| [hex]#19# + "b" + "l" (lower L) | [hex]#19# `+bl+` | barres | Ligne de démarrage d'objet.
|
||||
| [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.
|
||||
| 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# + 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)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" + 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)EXT | [hex]#19# `+*@00214+` | chat + barres | Définir la couleur de texte (couleur étendue).
|
||||
| [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 ^(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 ^(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 ^(1)^ | [hex]#19# `+*@00214,@00017+` | chat + barres | Définir la couleur de texte/fond (couleurs étendues).
|
||||
| [hex]#19# + "*" + (A)STD + "~" + STD | [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)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 + "~" + EXT | [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# + "b" + "D" | [hex]#19# `+bD+` | barres | Définir la couleur du délimiteur de la barre.
|
||||
| [hex]#19# + "b" + "B" | [hex]#19# `+bB+` | barres | Définir la couleur de fond de la barre.
|
||||
| [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# + "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" + "#" | [hex]#19# `+b#+` | barre input | Caractère de déplacement du curseur (utilisé seulement dans l'objet "input_text").
|
||||
| [hex]#19# + "b" + "i" | [hex]#19# `+bi+` | barres | Début d'objet.
|
||||
| [hex]#19# + "b" + "l" (lower L) | [hex]#19# `+bl+` | barres | Ligne de démarrage d'objet.
|
||||
| [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
|
||||
fichier _src/gui/gui-color.h_) :
|
||||
|
||||
@@ -1102,7 +1123,7 @@ Exemples de messages de commit :
|
||||
irc: add command /unquiet (closes #36)
|
||||
core: add callback "nickcmp" for nick comparison in buffers
|
||||
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
|
||||
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 ?
|
||||
|
||||
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]
|
||||
(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.
|
||||
|
||||
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 :
|
||||
|
||||
----
|
||||
brew install weechat --with-aspell --with-curl --with-python --with-perl --with-ruby --with-lua --with-guile
|
||||
brew install weechat
|
||||
----
|
||||
|
||||
[[lost]]
|
||||
@@ -327,8 +327,8 @@ barre, WeeChat recréera automatiquement la barre par défaut "input" si l'objet
|
||||
=== Comment puis-je copier/coller du texte sans coller la liste des pseudos ?
|
||||
|
||||
Avec WeeChat ≥ 1.0, vous pouvez utiliser l'affichage dépouillé (touche par
|
||||
défaut : kbd:[Alt+l]), qui affiche juste le contenu de la fenêtre actuellement
|
||||
sélectionnée sans aucun formatage.
|
||||
défaut : kbd:[Alt+l] (`L`)), qui affiche juste le contenu de la fenêtre
|
||||
actuellement sélectionnée sans aucun formatage.
|
||||
|
||||
Vous pouvez utiliser un terminal qui propose la sélection rectangulaire (comme
|
||||
rxvt-unicode, konsole, gnome-terminal, etc.). La touche est habituellement
|
||||
@@ -345,7 +345,7 @@ exemple :
|
||||
=== Comment puis-je cliquer sur les longs URLs (plus d'une ligne) ?
|
||||
|
||||
Avec WeeChat ≥ 1.0, vous pouvez utiliser l'affichage dépouillé (touche par
|
||||
défaut : kbd:[Alt+l]).
|
||||
défaut : kbd:[Alt+l] (`L`)).
|
||||
|
||||
Pour rendre le clic d'URL plus facile, vous pouvez :
|
||||
|
||||
|
||||
@@ -97,15 +97,40 @@ Paramètres :
|
||||
|
||||
* _plugin_ : pointeur vers la structure d'extension WeeChat, utilisé pour
|
||||
initialiser le pointeur global `weechat_plugin`
|
||||
* _argc_ : nombre de paramètres pour l'extension (donnés sur la ligne de
|
||||
commande par l'utilisateur)
|
||||
* _argv_ : paramètres pour l'extension
|
||||
* _argc_ : nombre de paramètres pour l'extension
|
||||
* _argv_ : paramètres pour l'extension (voir ci-dessous)
|
||||
|
||||
Valeur de retour :
|
||||
|
||||
* _WEECHAT_RC_OK_ si ok (l'extension sera 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]]
|
||||
===== 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
|
||||
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]]
|
||||
=== Extensions
|
||||
|
||||
@@ -1509,7 +1559,7 @@ Cette fonction n'est pas disponible dans l'API script.
|
||||
|
||||
==== 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).
|
||||
|
||||
@@ -1518,13 +1568,16 @@ Prototype :
|
||||
[source,C]
|
||||
----
|
||||
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 :
|
||||
|
||||
* _string_ : chaîne à découper
|
||||
* _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 ;
|
||||
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
|
||||
@@ -1564,7 +1617,7 @@ Exemples en C :
|
||||
char **argv;
|
||||
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"
|
||||
argv[1] == "de"
|
||||
argv[2] == ""
|
||||
@@ -1575,7 +1628,7 @@ argv = weechat_string_split ("abc de fghi ", " ", 0, 0, &argc);
|
||||
*/
|
||||
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_RIGHT
|
||||
| WEECHAT_STRING_SPLIT_COLLAPSE_SEPS,
|
||||
@@ -1588,7 +1641,7 @@ argv = weechat_string_split ("abc de fghi ", " ",
|
||||
*/
|
||||
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_RIGHT
|
||||
| WEECHAT_STRING_SPLIT_COLLAPSE_SEPS
|
||||
@@ -1602,7 +1655,7 @@ argv = weechat_string_split ("abc de fghi ", " ",
|
||||
*/
|
||||
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_COLLAPSE_SEPS
|
||||
| WEECHAT_STRING_SPLIT_KEEP_EOL,
|
||||
@@ -1614,6 +1667,19 @@ argv = weechat_string_split ("abc de fghi ", " ",
|
||||
argc == 3
|
||||
*/
|
||||
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]
|
||||
@@ -4057,7 +4123,7 @@ Exemple en 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) :
|
||||
@@ -4068,9 +4134,41 @@ Script (Python) :
|
||||
value = weechat.list_string(item)
|
||||
|
||||
# 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
|
||||
|
||||
Retourner la taille de la liste (nombre d'éléments).
|
||||
@@ -4350,7 +4448,7 @@ Exemple en C :
|
||||
|
||||
[source,C]
|
||||
----
|
||||
void *pointer = weechat_arraylist_get (arraylist, 0); /* first item */
|
||||
void *pointer = weechat_arraylist_get (arraylist, 0); /* premier élément */
|
||||
----
|
||||
|
||||
[NOTE]
|
||||
@@ -4697,7 +4795,7 @@ Paramètres :
|
||||
|
||||
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 :
|
||||
|
||||
@@ -9099,7 +9197,7 @@ struct t_hashtable *options_url1 = weechat_hashtable_new (8,
|
||||
NULL);
|
||||
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/",
|
||||
options_url1,
|
||||
20000,
|
||||
@@ -9115,7 +9213,7 @@ struct t_hashtable *options_url2 = weechat_hashtable_new (8,
|
||||
NULL);
|
||||
if (options_url2)
|
||||
{
|
||||
weechat_hashtable_set (options, "httpheader",
|
||||
weechat_hashtable_set (options_url2, "httpheader",
|
||||
"Header1: valeur1\n"
|
||||
"Header2: valeur2");
|
||||
struct t_hook *my_process_hook = weechat_hook_process_hashtable ("url:http://localhost:8080/",
|
||||
@@ -13327,8 +13425,8 @@ Prototype :
|
||||
|
||||
[source,C]
|
||||
----
|
||||
int weechat_window_get_string (struct t_gui_window *window,
|
||||
const char *property);
|
||||
const char *weechat_window_get_string (struct t_gui_window *window,
|
||||
const char *property);
|
||||
----
|
||||
|
||||
Paramètres :
|
||||
@@ -13340,6 +13438,14 @@ Valeur de retour :
|
||||
|
||||
* 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
|
||||
|
||||
Retourner la valeur d'une propriété, sous forme d'un pointeur.
|
||||
|
||||
@@ -1042,9 +1042,9 @@ Exemple :
|
||||
[source,python]
|
||||
----
|
||||
script_options = {
|
||||
"option1" : "valeur1",
|
||||
"option2" : "valeur2",
|
||||
"option3" : "valeur3",
|
||||
"option1": "valeur1",
|
||||
"option2": "valeur2",
|
||||
"option3": "valeur3",
|
||||
}
|
||||
for option, default_value in script_options.items():
|
||||
if not weechat.config_is_set_plugin(option):
|
||||
|
||||
@@ -89,7 +89,7 @@ $ tar xvjf weechat-devel.tar.bz2
|
||||
$ cd weechat-devel
|
||||
----
|
||||
|
||||
Pour compiler les sources, cmake est recommandé :
|
||||
Pour compiler les sources, CMake est recommandé :
|
||||
|
||||
----
|
||||
$ mkdir build
|
||||
@@ -99,7 +99,7 @@ $ make
|
||||
$ 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
|
||||
|
||||
+164
-142
@@ -81,13 +81,12 @@ la distribution pour la méthode d'installation.
|
||||
[[source_package]]
|
||||
=== 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).
|
||||
|
||||
[NOTE]
|
||||
Sous macOS, vous pouvez utiliser https://brew.sh/[Homebrew] :
|
||||
`brew install weechat --with-python --with-perl`
|
||||
(pour l'aide : `brew info weechat`).
|
||||
`brew install weechat` (pour l'aide : `brew info weechat`).
|
||||
|
||||
[[dependencies]]
|
||||
==== Dépendances
|
||||
@@ -101,7 +100,7 @@ compiler WeeChat.
|
||||
| compilateur C
|
||||
(gcc, clang, ...) | | *oui* | Construction.
|
||||
| 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.
|
||||
| libncursesw5-dev ^(2)^ | | *oui* | Interface ncurses.
|
||||
| libcurl4-gnutls-dev | | *oui* | Transfert d'URL.
|
||||
@@ -112,7 +111,7 @@ compiler WeeChat.
|
||||
| ca-certificates | | | Certificats pour les connexions SSL.
|
||||
| libaspell-dev
|
||||
∥ libenchant-dev | | | Extension spell.
|
||||
| python-dev | ≥ 2.6 ^(4)^ | | Extension python.
|
||||
| python3-dev | ^(4)^ | | Extension python.
|
||||
| libperl-dev | | | Extension perl.
|
||||
| ruby2.5, ruby2.5-dev | ≥ 1.8 | | Extension ruby.
|
||||
| liblua5.3-dev | | | Extension lua.
|
||||
@@ -136,8 +135,9 @@ recommandé : vous pourriez avoir des bugs d'affichage avec les caractères
|
||||
larges. +
|
||||
^(3)^ GnuTLS ≥ 3.0.21 est requis pour l'authentification SASL avec le mécanisme
|
||||
ECDSA-NIST256P-CHALLENGE. +
|
||||
^(4)^ La version recommandée de Python est 2.7 (tous les scripts tournent bien
|
||||
avec la version 2.7, mais pas avec les versions < 2.7 ou ≥ 3.0).
|
||||
^(4)^ Par défaut Python 3.x est utilisé. Si vous activez l'option
|
||||
`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
|
||||
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]]
|
||||
==== Compilation avec cmake
|
||||
==== Compilation avec CMake
|
||||
|
||||
* Installation dans les répertoires systèmes (nécessite les droits _root_) :
|
||||
|
||||
@@ -170,7 +170,7 @@ $ make
|
||||
$ 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 :
|
||||
|
||||
@@ -256,12 +256,9 @@ Liste des options couramment utilisées :
|
||||
| ENABLE_PYTHON | `ON`, `OFF` | ON |
|
||||
Compiler <<scripts_plugins,l'extension Python>>.
|
||||
|
||||
| ENABLE_PYTHON3 | `ON`, `OFF` | OFF |
|
||||
Compiler <<scripts_plugins,l'extension Python>> en utilisant Python 3. +
|
||||
Cette option n'est pas recommandée car beaucoup de scripts ne sont pas encore
|
||||
compatibles avec Python 3. +
|
||||
Vous pouvez suivre l'avancement de la transition vers Python 3 sur cette page :
|
||||
https://weechat.org/scripts/python3/
|
||||
| ENABLE_PYTHON2 | `ON`, `OFF` | OFF |
|
||||
Compiler <<scripts_plugins,l'extension Python>> avec Python 2 au lieu de
|
||||
Python 3.
|
||||
|
||||
| ENABLE_RELAY | `ON`, `OFF` | ON |
|
||||
Compiler <<relay_plugin,l'extension Relay>>.
|
||||
@@ -313,11 +310,11 @@ $ ccmake ..
|
||||
==== Compilation avec autotools
|
||||
|
||||
[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
|
||||
cmake. +
|
||||
CMake. +
|
||||
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_) :
|
||||
|
||||
@@ -356,14 +353,14 @@ Les paquets suivants sont nécessaires pour compiler les tests :
|
||||
* libcpputest-dev
|
||||
* 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
|
||||
----
|
||||
|
||||
Ils peuvent être lancés après compilation depuis le répertoire de construction
|
||||
(avec cmake) :
|
||||
(avec CMake) :
|
||||
|
||||
----
|
||||
$ ctest -V
|
||||
@@ -398,7 +395,7 @@ futur de WeeChat, vous devez :
|
||||
[[debug_info]]
|
||||
==== Infos de debug
|
||||
|
||||
Si vous compilez avec cmake :
|
||||
Si vous compilez avec CMake :
|
||||
|
||||
----
|
||||
$ cmake .. -DCMAKE_BUILD_TYPE=Debug
|
||||
@@ -551,7 +548,10 @@ Des variables d'environnement sont utilisées par WeeChat si elles sont définie
|
||||
WeeChat écrit ses fichiers de configuration et les autres données dans
|
||||
`~/.weechat` par défaut.
|
||||
|
||||
Les répertoires sont :
|
||||
[[weechat_directories]]
|
||||
==== Répertoires de WeeChat
|
||||
|
||||
Les répertoires de WeeChat sont :
|
||||
|
||||
[width="100%",cols="1m,3",options="header"]
|
||||
|===
|
||||
@@ -580,6 +580,9 @@ Les répertoires sont :
|
||||
^(1)^ Ce répertoire contient souvent seulement des liens symboliques vers les
|
||||
scripts dans le répertoire parent.
|
||||
|
||||
[[weechat_files]]
|
||||
==== Fichiers de WeeChat
|
||||
|
||||
Les fichiers dans le répertoire principal de WeeChat sont :
|
||||
|
||||
[width="100%",cols="1m,3,6",options="header"]
|
||||
@@ -820,7 +823,7 @@ Dans l'extension irc, vous pouvez réassigner les couleurs en utilisant l'option
|
||||
[[colors]]
|
||||
=== 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
|
||||
pour pouvoir les utiliser dans WeeChat).
|
||||
|
||||
@@ -830,12 +833,12 @@ limites suivantes pour les couleurs dans WeeChat :
|
||||
[width="50%",cols="8,>2,>2",options="header"]
|
||||
|===
|
||||
| $TERM | Couleurs | Paires
|
||||
| "rxvt-unicode", "xterm", ... | 88 | 256
|
||||
| "rxvt-256color", "xterm-256color", ... | 256 | 256
|
||||
| "rxvt-unicode", "xterm", ... | 88 | 32767
|
||||
| "rxvt-256color", "xterm-256color", ... | 256 | 32767
|
||||
| "screen" | 8 | 64
|
||||
| "screen-256color" | 256 | 256
|
||||
| "screen-256color" | 256 | 32767
|
||||
| "tmux" | 8 | 64
|
||||
| "tmux-256color" | 256 | 256
|
||||
| "tmux-256color" | 256 | 32767
|
||||
|===
|
||||
|
||||
Vous pouvez lancer `weechat --colors` ou utiliser la commande `/color`
|
||||
@@ -1231,13 +1234,13 @@ Liste des options de barre :
|
||||
==== Objets
|
||||
|
||||
L'option _items_ est une chaîne avec une liste d'objets de barre, séparés par
|
||||
une virgule (espace entre les objets à l'écran) ou un "+" (objets collés).
|
||||
une virgule (espace entre les objets à l'écran) ou un `+++` (objets collés).
|
||||
|
||||
La liste des objets de barre est affichée avec la commande `/bar listitems`.
|
||||
|
||||
Avant ou après l'objet de barre, vous pouvez utiliser des caractères (qui ne
|
||||
sont pas alphanumériques, "-" ou "_"). Ils seront affichés avant/après l'objet
|
||||
de barre avec la couleur des délimiteurs définie dans la barre (option
|
||||
sont pas alphanumériques, `+-+` ou `+_+`). Ils seront affichés avant/après
|
||||
l'objet de barre avec la couleur des délimiteurs définie dans la barre (option
|
||||
_color_delim_).
|
||||
|
||||
Exemple de barre avec les objets
|
||||
@@ -1401,8 +1404,8 @@ L'affichage dépouillé a les caractéristiques suivantes :
|
||||
* Ncurses n'est pas utilisé, par conséquent les URLs ne sont pas coupés en fin
|
||||
de ligne.
|
||||
|
||||
La touche par défaut pour activer l'affichage dépouillé est kbd:[Alt+l], et la
|
||||
même touche pour en sortir (ou par défaut tout changement dans la ligne de
|
||||
La touche par défaut pour activer l'affichage dépouillé est kbd:[Alt+l] (`L`),
|
||||
et la même touche pour en sortir (ou par défaut tout changement dans la ligne de
|
||||
commande sortira de l'affichage dépouillé, voir l'option
|
||||
<<option_weechat.look.bare_display_exit_on_input,weechat.look.bare_display_exit_on_input>>).
|
||||
|
||||
@@ -1597,7 +1600,7 @@ pour les cacher).
|
||||
Vous pouvez ajouter des étiquettes à mettre en valeur avec l'option
|
||||
<<option_weechat.look.highlight_tags,weechat.look.highlight_tags>>.
|
||||
Les étiquettes sont séparées par des virgules, et plusieurs étiquettes peuvent
|
||||
être séparées par "+" pour faire un "et" logique entre elles.
|
||||
être séparées par `+++` pour faire un "et" logique entre elles.
|
||||
|
||||
Par exemple pour mettre en valeur tous les messages du pseudo "FlashCode" et
|
||||
toutes les notices des pseudos commençant par "toto" :
|
||||
@@ -1691,78 +1694,78 @@ avec `/help buffer_autoset`.
|
||||
|
||||
[width="100%",cols="^.^3,.^8,.^5",options="header"]
|
||||
|===
|
||||
| Touche | Description | Commande
|
||||
| kbd:[Ctrl+l] | Réafficher toute la fenêtre. | `/window refresh`
|
||||
| Touche | Description | Commande
|
||||
| kbd:[Ctrl+l] (`L`) | Réafficher toute la fenêtre. | `/window refresh`
|
||||
| kbd:[Ctrl+s],
|
||||
kbd:[Ctrl+u] | Positionner le marqueur de données non lues sur tous les tampons. | `/input set_unread`
|
||||
| kbd:[Ctrl+x] | Changer de tampon courant si plusieurs tampons sont attachés avec le même numéro. | `/input switch_active_buffer`
|
||||
| kbd:[Alt+x] | Zoomer sur le tampon mélangé (kbd:[Alt+x] de nouveau : afficher tous les tampons mélangés). | `/input zoom_merged_buffer`
|
||||
| kbd:[PgUp] | Monter d'une page dans l'historique du tampon. | `/window page_up`
|
||||
| kbd:[PgDn] | Descendre d'une page dans l'historique du tampon. | `/window page_down`
|
||||
| kbd:[Alt+PgUp] | Monter de quelques lignes dans l'historique du tampon. | `/window scroll_up`
|
||||
| kbd:[Alt+PgDn] | Descendre de quelques lignes dans l'historique du tampon. | `/window scroll_down`
|
||||
| kbd:[Alt+Home] | Aller au début du tampon. | `/window scroll_top`
|
||||
| kbd:[Alt+End] | Aller à la fin du tampon. | `/window scroll_bottom`
|
||||
kbd:[Ctrl+u] | Positionner le marqueur de données non lues sur tous les tampons. | `/input set_unread`
|
||||
| kbd:[Ctrl+x] | Changer de tampon courant si plusieurs tampons sont attachés avec le même numéro. | `/input switch_active_buffer`
|
||||
| kbd:[Alt+x] | Zoomer sur le tampon mélangé (kbd:[Alt+x] de nouveau : afficher tous les tampons mélangés). | `/input zoom_merged_buffer`
|
||||
| kbd:[PgUp] | Monter d'une page dans l'historique du tampon. | `/window page_up`
|
||||
| kbd:[PgDn] | Descendre d'une page dans l'historique du tampon. | `/window page_down`
|
||||
| kbd:[Alt+PgUp] | Monter de quelques lignes dans l'historique du tampon. | `/window scroll_up`
|
||||
| kbd:[Alt+PgDn] | Descendre de quelques lignes dans l'historique du tampon. | `/window scroll_down`
|
||||
| kbd:[Alt+Home] | Aller au début du tampon. | `/window scroll_top`
|
||||
| kbd:[Alt+End] | Aller à la fin du tampon. | `/window scroll_bottom`
|
||||
| kbd:[F1] +
|
||||
kbd:[Ctrl+F1] | Monter d'une page dans la liste des tampons. | `/bar scroll buflist * -100%`
|
||||
kbd:[Ctrl+F1] | Monter d'une page dans la liste des tampons. | `/bar scroll buflist * -100%`
|
||||
| kbd:[F2] +
|
||||
kbd:[Ctrl+F2] | Descendre d'une page dans la liste des tampons. | `/bar scroll buflist * +100%`
|
||||
| kbd:[Alt+F1] | Aller au début de la liste des tampons. | `/bar scroll buflist * b`
|
||||
| kbd:[Alt+F2] | Aller à la fin de la liste des tampons. | `/bar scroll buflist * e`
|
||||
kbd:[Ctrl+F2] | Descendre d'une page dans la liste des tampons. | `/bar scroll buflist * +100%`
|
||||
| kbd:[Alt+F1] | Aller au début de la liste des tampons. | `/bar scroll buflist * b`
|
||||
| kbd:[Alt+F2] | Aller à la fin de la liste des tampons. | `/bar scroll buflist * e`
|
||||
| kbd:[Alt+←] +
|
||||
kbd:[Alt+↑] +
|
||||
kbd:[Ctrl+p] +
|
||||
kbd:[F5] | Aller au tampon précédent. | `/buffer -1`
|
||||
kbd:[F5] | Aller au tampon précédent. | `/buffer -1`
|
||||
| kbd:[Alt+→] +
|
||||
kbd:[Alt+↓] +
|
||||
kbd:[Ctrl+n] +
|
||||
kbd:[F6] | Aller au tampon suivant. | `/buffer +1`
|
||||
| kbd:[F7] | Aller à la fenêtre précédente. | `/window -1`
|
||||
| kbd:[F8] | Aller à la fenêtre suivante. | `/window +1`
|
||||
| kbd:[F9] | Faire défiler le titre du tampon vers la gauche. | `+/bar scroll title * -30%+`
|
||||
| kbd:[F10] | Faire défiler le titre du tampon vers la droite. | `+/bar scroll title * +30%+`
|
||||
kbd:[F6] | Aller au tampon suivant. | `/buffer +1`
|
||||
| kbd:[F7] | Aller à la fenêtre précédente. | `/window -1`
|
||||
| kbd:[F8] | Aller à la fenêtre suivante. | `/window +1`
|
||||
| kbd:[F9] | Faire défiler le titre du tampon vers la gauche. | `+/bar scroll title * -30%+`
|
||||
| kbd:[F10] | Faire défiler le titre du tampon vers la droite. | `+/bar scroll title * +30%+`
|
||||
| kbd:[F11] +
|
||||
kbd:[Ctrl+F11] | Monter d'une page dans la liste des pseudos. | `/bar scroll nicklist * -100%`
|
||||
kbd:[Ctrl+F11] | Monter d'une page dans la liste des pseudos. | `/bar scroll nicklist * -100%`
|
||||
| kbd:[F12] +
|
||||
kbd:[Ctrl+F12] | Descendre d'une page dans la liste des pseudos. | `/bar scroll nicklist * +100%`
|
||||
| kbd:[Alt+F11] | Aller au début de la liste des pseudos. | `/bar scroll nicklist * b`
|
||||
| kbd:[Alt+F12] | Aller à la fin de la liste des pseudos. | `/bar scroll nicklist * e`
|
||||
| kbd:[Alt+a] | Sauter au prochain tampon avec activité (avec priorité : highlight, message, autre). | `/input jump_smart`
|
||||
| kbd:[Alt+h] | Vider la hotlist (notification d'activité sur les autres tampons). | `/input hotlist_clear`
|
||||
kbd:[Ctrl+F12] | Descendre d'une page dans la liste des pseudos. | `/bar scroll nicklist * +100%`
|
||||
| kbd:[Alt+F11] | Aller au début de la liste des pseudos. | `/bar scroll nicklist * b`
|
||||
| kbd:[Alt+F12] | Aller à la fin de la liste des pseudos. | `/bar scroll nicklist * e`
|
||||
| kbd:[Alt+a] | Sauter au prochain tampon avec activité (avec priorité : highlight, message, autre). | `/input jump_smart`
|
||||
| kbd:[Alt+h] | Vider la hotlist (notification d'activité sur les autres tampons). | `/input hotlist_clear`
|
||||
| kbd:[Alt+j],
|
||||
kbd:[Alt+f] | Sauter au premier tampon. | `/buffer -`
|
||||
kbd:[Alt+f] | Sauter au premier tampon. | `/buffer -`
|
||||
| kbd:[Alt+j],
|
||||
kbd:[Alt+l] | Sauter au dernier tampon. | `/buffer +`
|
||||
kbd:[Alt+l] (`L`) | Sauter au dernier tampon. | `/buffer +`
|
||||
| kbd:[Alt+j],
|
||||
kbd:[Alt+r] | Sauter au tampon IRC de données brutes. | `/server raw`
|
||||
kbd:[Alt+r] | Sauter au tampon IRC de données brutes. | `/server raw`
|
||||
| kbd:[Alt+j],
|
||||
kbd:[Alt+s] | Sauter au tampon IRC du serveur. | `/server jump`
|
||||
| kbd:[Alt+0...9] | Sauter au tampon qui porte ce numéro (0 = 10). | `/buffer *N`
|
||||
kbd:[Alt+s] | Sauter au tampon IRC du serveur. | `/server jump`
|
||||
| kbd:[Alt+0...9] | Sauter au tampon qui porte ce numéro (0 = 10). | `/buffer *N`
|
||||
| kbd:[Alt+j],
|
||||
kbd:[01...99] | Sauter au tampon qui porte ce numéro. | `/buffer *NN`
|
||||
| kbd:[Alt+l] | Activer/désactiver le mode d'affichage dépouillé. | `/window bare`
|
||||
| kbd:[Alt+m] | Activer/désactiver la souris. | `/mouse toggle`
|
||||
| kbd:[Alt+n] | Se positionner sur le highlight suivant. | `/window scroll_next_highlight`
|
||||
| kbd:[Alt+p] | Se positionner sur le highlight précédent. | `/window scroll_previous_highlight`
|
||||
| kbd:[Alt+u] | Se positionner sur la première ligne non lue du tampon. | `/window scroll_unread`
|
||||
kbd:[01...99] | Sauter au tampon qui porte ce numéro. | `/buffer *NN`
|
||||
| kbd:[Alt+l] (`L`) | Activer/désactiver le mode d'affichage dépouillé. | `/window bare`
|
||||
| kbd:[Alt+m] | Activer/désactiver la souris. | `/mouse toggle`
|
||||
| kbd:[Alt+n] | Se positionner sur le highlight suivant. | `/window scroll_next_highlight`
|
||||
| kbd:[Alt+p] | Se positionner sur le highlight précédent. | `/window scroll_previous_highlight`
|
||||
| kbd:[Alt+u] | Se positionner sur la première ligne non lue du tampon. | `/window scroll_unread`
|
||||
| kbd:[Alt+w],
|
||||
kbd:[Alt+↑] | Sauter à la fenêtre au dessus. | `/window up`
|
||||
kbd:[Alt+↑] | Sauter à la fenêtre au dessus. | `/window up`
|
||||
| kbd:[Alt+w],
|
||||
kbd:[Alt+↓] | Sauter à la fenêtre en dessous. | `/window down`
|
||||
kbd:[Alt+↓] | Sauter à la fenêtre en dessous. | `/window down`
|
||||
| kbd:[Alt+w],
|
||||
kbd:[Alt+←] | Sauter à la fenêtre de gauche. | `/window left`
|
||||
kbd:[Alt+←] | Sauter à la fenêtre de gauche. | `/window left`
|
||||
| kbd:[Alt+w],
|
||||
kbd:[Alt+→] | Sauter à la fenêtre de droite. | `/window right`
|
||||
kbd:[Alt+→] | Sauter à la fenêtre de droite. | `/window right`
|
||||
| kbd:[Alt+w],
|
||||
kbd:[Alt+b] | Équilibrer la taille de toutes les fenêtres. | `/window balance`
|
||||
kbd:[Alt+b] | Équilibrer la taille de toutes les fenêtres. | `/window balance`
|
||||
| kbd:[Alt+w],
|
||||
kbd:[Alt+s] | Échanger les tampons de deux fenêtres. | `/window swap`
|
||||
| kbd:[Alt+z] | Zoomer sur la fenêtre courante (kbd:[Alt+z] de nouveau : restaurer l'état initial des fenêtres, avant le zoom). | `/window zoom`
|
||||
| kbd:[Alt+<] | Sauter au tampon précédent dans la liste des tampons visités. | `/input jump_previously_visited_buffer`
|
||||
| kbd:[Alt+>] | Sauter au tampon suivant dans la liste des tampons visités. | `/input jump_next_visited_buffer`
|
||||
| kbd:[Alt+/] | Sauter au dernier tampon affiché (avant le dernier saut vers un tampon). | `/input jump_last_buffer_displayed`
|
||||
| kbd:[Alt+=] | Activer/désactiver les filtres. | `/filter toggle`
|
||||
| kbd:[Alt+-] | Activer/désactiver les filtres dans le tampon courant. | `/filter toggle @`
|
||||
kbd:[Alt+s] | Échanger les tampons de deux fenêtres. | `/window swap`
|
||||
| kbd:[Alt+z] | Zoomer sur la fenêtre courante (kbd:[Alt+z] de nouveau : restaurer l'état initial des fenêtres, avant le zoom). | `/window zoom`
|
||||
| kbd:[Alt+<] | Sauter au tampon précédent dans la liste des tampons visités. | `/input jump_previously_visited_buffer`
|
||||
| kbd:[Alt+>] | Sauter au tampon suivant dans la liste des tampons visités. | `/input jump_next_visited_buffer`
|
||||
| kbd:[Alt+/] | Sauter au dernier tampon affiché (avant le dernier saut vers un tampon). | `/input jump_last_buffer_displayed`
|
||||
| kbd:[Alt+=] | Activer/désactiver les filtres. | `/filter toggle`
|
||||
| kbd:[Alt+-] | Activer/désactiver les filtres dans le tampon courant. | `/filter toggle @`
|
||||
|===
|
||||
|
||||
[[key_bindings_search_context]]
|
||||
@@ -1823,43 +1826,43 @@ Ces touches sont utilisées dans le contexte "mouse", c'est-à-dire lorsqu'un
|
||||
|
||||
[width="100%",cols="^.^3,^.^3,^.^3,.^8,.^8",options="header"]
|
||||
|===
|
||||
| Bouton ^(1)^ | Geste | Zone | Description | Commande
|
||||
| ◾◽◽ | - | chat | Aller à la fenêtre. | `/window ${_window_number}`
|
||||
| ◾◽◽ | left | chat | Aller au tampon précédent. | `/window ${_window_number};/buffer +1`
|
||||
| ◾◽◽ | right | chat | Aller au tampon suivant. | `/window ${_window_number};/buffer +1`
|
||||
| ◾◽◽ | left (long) | chat | Aller au premier tampon. | `/window ${_window_number};/buffer 1`
|
||||
| ◾◽◽ | right (long) | chat | Aller au dernier tampon. | `/window ${_window_number};/input jump_last_buffer`
|
||||
| ◾◽◽ | - | chat (tampon script) | Sélectionner la ligne dans le tampon script. | `/script go ${_chat_line_y}`
|
||||
| ◽◽◾ | - | chat (tampon script) | Installer/supprimer un script. | `/script go ${_chat_line_y};/script installremove -q ${script_name_with_extension}`
|
||||
| ⇑ | - | chat | Monter de quelques lignes dans l'historique du tampon. | `/window scroll_up -window ${_window_number}`
|
||||
| ⇓ | - | chat | Descendre de quelques lignes dans l'historique du tampon. | `/window scroll_down -window ${_window_number}`
|
||||
| ⇑ | - | chat (tampon script) | Monter de 5 lignes dans le tampon script. | `/script up 5`
|
||||
| ⇓ | - | chat (tampon script) | Descendre de 5 lignes dans le tampon script. | `/script down 5`
|
||||
| kbd:[Ctrl+⇑] | - | chat | Faire défiler horizontalement vers la gauche. | `/window scroll_horiz -window ${_window_number} -10%`
|
||||
| kbd:[Ctrl+⇓] | - | chat | Faire défiler horizontalement vers la droite. | `/window scroll_horiz -window ${_window_number} +10%`
|
||||
| ◾◽◽ | up / left | buflist | Déplacer le tampon vers un numéro inférieur. | Signal `buflist_mouse`.
|
||||
| ◾◽◽ | down / right | buflist | Déplacer le tampon vers un numéro supérieur. | Signal `buflist_mouse`.
|
||||
| ◾◽◽ | - | buflist | Aller au tampon (tampon précédent dans la liste des tampons visités si le tampon est le courant). | Signal `buflist_mouse`.
|
||||
| ◽◽◾ | - | buflist | Aller au tampon suivant dans la liste des tampons visités si le tampon est le courant. | Signal `buflist_mouse`.
|
||||
| kbd:[Ctrl+⇑] | - | buflist | Aller au tampon précédent. | Signal `buflist_mouse`.
|
||||
| kbd:[Ctrl+⇓] | - | buflist | Aller au tampon suivant. | Signal `buflist_mouse`.
|
||||
| ◾◽◽ | up | liste des pseudos | Monter d'une page dans la liste des pseudos. | `/bar scroll nicklist ${_window_number} -100%`
|
||||
| ◾◽◽ | down | liste des pseudos | Descendre d'une page dans la liste des pseudos. | `/bar scroll nicklist ${_window_number} +100%`
|
||||
| ◾◽◽ | up (long) | liste des pseudos | Aller au début de la liste des pseudos. | `/bar scroll nicklist ${_window_number} b`
|
||||
| ◾◽◽ | down (long) | liste des pseudos | Aller à la fin de la liste des pseudos. | `/bar scroll nicklist ${_window_number} e`
|
||||
| ◾◽◽ | - | liste des pseudos | Ouvrir une discussion avec le pseudo. | `/window ${_window_number};/query ${nick}`
|
||||
| ◽◽◾ | - | liste des pseudos | Effectuer un whois sur le pseudo. | `/window ${_window_number};/whois ${nick}`
|
||||
| ◾◽◽ | left | liste des pseudos | Retirer par la force le pseudo. | `/window ${_window_number};/kick ${nick}`
|
||||
| ◾◽◽ | left (long) | liste des pseudos | Retirer par la force et bannir le pseudo. | `/window ${_window_number};/kickban ${nick}`
|
||||
| ◽◽◾ | left | liste des pseudos | Bannir le pseudo. | `/window ${_window_number};/ban ${nick}`
|
||||
| ◽◽◾ | - | ligne de commande | Capturer un évènement de la souris et insérer son code sur la ligne de commande. | `/input grab_mouse_area`
|
||||
| ⇑ | - | toute barre | Faire défiler la barre de -20%. | `/bar scroll ${_bar_name} ${_window_number} -20%`
|
||||
| ⇓ | - | toute barre | Faire défiler la barre de +20%. | `/bar scroll ${_bar_name} ${_window_number} +20%`
|
||||
| ◽◾◽ | - | n'importe où | Démarrer le mode curseur ("cursor") à ce point. | `/cursor go ${_x},${_y}`
|
||||
| Bouton/Roulette ^(1)^ | Geste | Zone | Description | Commande
|
||||
| ◾◽◽ | - | chat | Aller à la fenêtre. | `/window ${_window_number}`
|
||||
| ◾◽◽ | left | chat | Aller au tampon précédent. | `/window ${_window_number};/buffer +1`
|
||||
| ◾◽◽ | right | chat | Aller au tampon suivant. | `/window ${_window_number};/buffer +1`
|
||||
| ◾◽◽ | left (long) | chat | Aller au premier tampon. | `/window ${_window_number};/buffer 1`
|
||||
| ◾◽◽ | right (long) | chat | Aller au dernier tampon. | `/window ${_window_number};/input jump_last_buffer`
|
||||
| ◾◽◽ | - | chat (tampon script) | Sélectionner la ligne dans le tampon script. | `/script go ${_chat_line_y}`
|
||||
| ◽◽◾ | - | chat (tampon script) | Installer/supprimer un script. | `/script go ${_chat_line_y};/script installremove -q ${script_name_with_extension}`
|
||||
| kbd:[▲] | - | chat | Monter de quelques lignes dans l'historique du tampon. | `/window scroll_up -window ${_window_number}`
|
||||
| kbd:[▼] | - | chat | Descendre de quelques lignes dans l'historique du tampon. | `/window scroll_down -window ${_window_number}`
|
||||
| kbd:[▲] | - | chat (tampon script) | Monter de 5 lignes dans le tampon script. | `/script up 5`
|
||||
| kbd:[▼] | - | chat (tampon script) | Descendre de 5 lignes dans le tampon script. | `/script down 5`
|
||||
| kbd:[Ctrl+▲] | - | chat | Faire défiler horizontalement vers la gauche. | `/window scroll_horiz -window ${_window_number} -10%`
|
||||
| kbd:[Ctrl+▼] | - | chat | Faire défiler horizontalement vers la droite. | `/window scroll_horiz -window ${_window_number} +10%`
|
||||
| ◾◽◽ | up / left | buflist | Déplacer le tampon vers un numéro inférieur. | Signal `buflist_mouse`.
|
||||
| ◾◽◽ | down / right | buflist | Déplacer le tampon vers un numéro supérieur. | Signal `buflist_mouse`.
|
||||
| ◾◽◽ | - | buflist | Aller au tampon (tampon précédent dans la liste des tampons visités si le tampon est le courant). | Signal `buflist_mouse`.
|
||||
| ◽◽◾ | - | buflist | Aller au tampon suivant dans la liste des tampons visités si le tampon est le courant. | Signal `buflist_mouse`.
|
||||
| kbd:[Ctrl+▲] | - | buflist | Aller au tampon précédent. | Signal `buflist_mouse`.
|
||||
| kbd:[Ctrl+▼] | - | buflist | Aller au tampon suivant. | Signal `buflist_mouse`.
|
||||
| ◾◽◽ | up | liste des pseudos | Monter d'une page dans la liste des pseudos. | `/bar scroll nicklist ${_window_number} -100%`
|
||||
| ◾◽◽ | down | liste des pseudos | Descendre d'une page dans la liste des pseudos. | `/bar scroll nicklist ${_window_number} +100%`
|
||||
| ◾◽◽ | up (long) | liste des pseudos | Aller au début de la liste des pseudos. | `/bar scroll nicklist ${_window_number} b`
|
||||
| ◾◽◽ | down (long) | liste des pseudos | Aller à la fin de la liste des pseudos. | `/bar scroll nicklist ${_window_number} e`
|
||||
| ◾◽◽ | - | liste des pseudos | Ouvrir une discussion avec le pseudo. | `/window ${_window_number};/query ${nick}`
|
||||
| ◽◽◾ | - | liste des pseudos | Effectuer un whois sur le pseudo. | `/window ${_window_number};/whois ${nick}`
|
||||
| ◾◽◽ | left | liste des pseudos | Retirer par la force le pseudo. | `/window ${_window_number};/kick ${nick}`
|
||||
| ◾◽◽ | left (long) | liste des pseudos | Retirer par la force et bannir le pseudo. | `/window ${_window_number};/kickban ${nick}`
|
||||
| ◽◽◾ | left | liste des pseudos | Bannir le pseudo. | `/window ${_window_number};/ban ${nick}`
|
||||
| ◽◽◾ | - | ligne de commande | Capturer un évènement de la souris et insérer son code sur la ligne de commande. | `/input grab_mouse_area`
|
||||
| kbd:[▲] | - | toute barre | Faire défiler la barre de -20%. | `/bar scroll ${_bar_name} ${_window_number} -20%`
|
||||
| kbd:[▼] | - | toute barre | Faire défiler la barre de +20%. | `/bar scroll ${_bar_name} ${_window_number} +20%`
|
||||
| ◽◾◽ | - | n'importe où | Démarrer le mode curseur ("cursor") à ce point. | `/cursor go ${_x},${_y}`
|
||||
|===
|
||||
|
||||
[NOTE]
|
||||
^(1)^ "⇑" et "⇓" sont la roulette vers le haut et le bas.
|
||||
^(1)^ kbd:[▲] et kbd:[▼] sont la roulette vers le haut et le bas.
|
||||
|
||||
[[mouse]]
|
||||
=== Support souris
|
||||
@@ -1914,7 +1917,7 @@ utilisant le contexte "mouse" (pour la syntaxe voir la commande
|
||||
<<command_weechat_key,/key>>).
|
||||
|
||||
Un nom d'évènement consiste en un modificateur (facultatif), un bouton/roulette
|
||||
et un geste (facultatif). Les différents éléments sont séparés par "-".
|
||||
et un geste (facultatif). Les différents éléments sont séparés par `+-+`.
|
||||
|
||||
Liste des modificateurs :
|
||||
|
||||
@@ -2688,9 +2691,13 @@ et port dépend de votre configuration de TOR) :
|
||||
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 :
|
||||
|
||||
----
|
||||
@@ -3083,16 +3090,21 @@ dans le masque (voir `man strftime` pour le format), par exemple :
|
||||
Vous obtiendrez les fichiers suivants :
|
||||
|
||||
....
|
||||
~/.weechat/
|
||||
|--- logs/
|
||||
|--- 2010/
|
||||
|--- 11/
|
||||
| irc.server.freenode.weechatlog
|
||||
| irc.freenode.#weechat.weechatlog
|
||||
|--- 2010/
|
||||
|--- 12/
|
||||
| irc.server.freenode.weechatlog
|
||||
| irc.freenode.#weechat.weechatlog
|
||||
~/.weechat
|
||||
└── logs
|
||||
├── 2010
|
||||
│ ├── 11
|
||||
│ │ ├── irc.server.freenode.weechatlog
|
||||
│ │ └── irc.freenode.#weechat.weechatlog
|
||||
│ └── 12
|
||||
│ ├── irc.server.freenode.weechatlog
|
||||
│ └── irc.freenode.#weechat.weechatlog
|
||||
├── 2011
|
||||
│ ├── 01
|
||||
│ │ ├── irc.server.freenode.weechatlog
|
||||
│ │ └── irc.freenode.#weechat.weechatlog
|
||||
│ ├── 02
|
||||
...
|
||||
....
|
||||
|
||||
[[logger_irc_files_by_server_channel]]
|
||||
@@ -3107,17 +3119,18 @@ Si vous voulez un répertoire par serveur IRC et un fichier par canal dedans :
|
||||
Vous obtiendrez les fichiers suivants :
|
||||
|
||||
....
|
||||
~/.weechat/
|
||||
|--- logs/
|
||||
|--- irc/
|
||||
|--- freenode/
|
||||
| freenode.weechatlog
|
||||
| #weechat.weechatlog
|
||||
| #mychan.weechatlog
|
||||
|--- oftc/
|
||||
| oftc.weechatlog
|
||||
| #chan1.weechatlog
|
||||
| #chan2.weechatlog
|
||||
~/.weechat
|
||||
└── logs
|
||||
└── irc
|
||||
├── freenode
|
||||
│ ├── freenode.weechatlog
|
||||
│ ├── #weechat.weechatlog
|
||||
│ └── #mychan.weechatlog
|
||||
├── oftc
|
||||
│ ├── oftc.weechatlog
|
||||
│ ├── #chan1.weechatlog
|
||||
│ └── #chan2.weechatlog
|
||||
...
|
||||
....
|
||||
|
||||
[[logger_commands]]
|
||||
@@ -3236,7 +3249,8 @@ Vous pouvez définir un port par serveur IRC, ou bien un port générique pour t
|
||||
les serveurs.
|
||||
|
||||
Lors de l'utilisation d'un port pour tous les serveurs, le client doit envoyer
|
||||
le nom interne du serveur dans la commande IRC "PASS", avec le format :
|
||||
le nom interne du serveur dans la commande IRC "PASS", avec le format
|
||||
(voir l'exemple ci-dessous) :
|
||||
|
||||
----
|
||||
PASS serveur:motdepasse
|
||||
@@ -3258,6 +3272,14 @@ Maintenant vous pouvez vous connecter sur le port 8000 avec n'importe quel
|
||||
client IRC en utilisant le mot de passe "motdepasse" (ou "freenode:motdepasse"
|
||||
si aucun serveur n'a été spécifié dans le relai).
|
||||
|
||||
Par exemple si vous utilisez WeeChat comme client IRC du relai, avec un serveur
|
||||
"relay" et un mot de passe relay "secret", vous pouvez configurer le mot de passe
|
||||
avec cette commande :
|
||||
|
||||
----
|
||||
/set irc.server.relay.password "freenode:secret"
|
||||
----
|
||||
|
||||
[[relay_weechat_protocol]]
|
||||
==== Protocole WeeChat
|
||||
|
||||
@@ -3963,7 +3985,7 @@ Les groupes de correspondance peuvent être utilisés dans le "remplacement" :
|
||||
remplacés par "c" (exemple : `+${hide:*,${re:2}}+` est le groupe n°2 avec tous
|
||||
les caractères remplacés par `+*+`).
|
||||
|
||||
Exemple : utiliser du gras pour les mots entre "*" :
|
||||
Exemple : utiliser du gras pour les mots entre `+*+` :
|
||||
|
||||
----
|
||||
/\*([^ ]+)\*/*${color:bold}${re:1}${color:-bold}*/
|
||||
|
||||
@@ -252,6 +252,8 @@ _isupport_ (string) +
|
||||
_prefix_modes_ (string) +
|
||||
_prefix_chars_ (string) +
|
||||
_nick_max_length_ (integer) +
|
||||
_user_max_length_ (integer) +
|
||||
_host_max_length_ (integer) +
|
||||
_casemapping_ (integer) +
|
||||
_chantypes_ (string) +
|
||||
_chanmodes_ (string) +
|
||||
@@ -970,6 +972,7 @@ _charset_ (string) +
|
||||
_priority_ (integer) +
|
||||
_initialized_ (integer) +
|
||||
_debug_ (integer) +
|
||||
_upgrading_ (integer) +
|
||||
_variables_ (hashtable) +
|
||||
_prev_plugin_ (pointer, hdata: "plugin") +
|
||||
_next_plugin_ (pointer, hdata: "plugin") +
|
||||
|
||||
@@ -10,6 +10,8 @@
|
||||
|
||||
| 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)
|
||||
|
||||
| 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 | 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_width | width of terminal | -
|
||||
|
||||
@@ -62,6 +62,8 @@
|
||||
|
||||
| unix_socket_path | string |
|
||||
|
||||
| abstract_unix_socket | string |
|
||||
|
||||
| path_as_is | long |
|
||||
|
||||
| proxy_service_name | string |
|
||||
@@ -72,15 +74,21 @@
|
||||
|
||||
| tcp_fastopen | long |
|
||||
|
||||
| socks5_auth | long |
|
||||
|
||||
| haproxyprotocol | long |
|
||||
|
||||
| doh_url | string |
|
||||
|
||||
| netrc | long | ignored, optional, required
|
||||
|
||||
| userpwd | 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 |
|
||||
|
||||
@@ -104,6 +112,8 @@
|
||||
|
||||
| login_options | string |
|
||||
|
||||
| disallow_username_in_url | long |
|
||||
|
||||
| autoreferer | long |
|
||||
|
||||
| followlocation | long |
|
||||
@@ -114,8 +124,6 @@
|
||||
|
||||
| postfields | string |
|
||||
|
||||
| httppost | list |
|
||||
|
||||
| referer | string |
|
||||
|
||||
| useragent | string |
|
||||
@@ -170,6 +178,8 @@
|
||||
|
||||
| stream_weight | long |
|
||||
|
||||
| request_target | string |
|
||||
|
||||
| mail_from | string |
|
||||
|
||||
| mail_rcpt | list |
|
||||
@@ -258,6 +268,10 @@
|
||||
|
||||
| maxfilesize_large | long long |
|
||||
|
||||
| timevalue_large | long long |
|
||||
|
||||
| upload_buffersize | long |
|
||||
|
||||
| timeout | long |
|
||||
|
||||
| low_speed_limit | long |
|
||||
@@ -300,9 +314,15 @@
|
||||
|
||||
| connect_to | list |
|
||||
|
||||
| happy_eyeballs_timeout_ms | long |
|
||||
|
||||
| dns_shuffle_addresses | long |
|
||||
|
||||
| upkeep_interval_ms | long |
|
||||
|
||||
| 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 |
|
||||
|
||||
@@ -342,7 +362,7 @@
|
||||
|
||||
| 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 |
|
||||
|
||||
@@ -372,11 +392,11 @@
|
||||
|
||||
| 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_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 |
|
||||
|
||||
@@ -388,6 +408,10 @@
|
||||
|
||||
| proxy_tlsauth_username | string |
|
||||
|
||||
| tls13_ciphers | list |
|
||||
|
||||
| proxy_tls13_ciphers | list |
|
||||
|
||||
| ssh_auth_types | mask | none, policy_flag, flag
|
||||
|
||||
| ssh_public_keyfile | string |
|
||||
@@ -398,6 +422,8 @@
|
||||
|
||||
| ssh_knownhosts | string |
|
||||
|
||||
| ssh_compression | long |
|
||||
|
||||
| new_file_perms | long |
|
||||
|
||||
| new_directory_perms | long |
|
||||
|
||||
@@ -7,8 +7,6 @@
|
||||
| Alias | Command | Completion
|
||||
|
||||
| /AAWAY | /allserv /away | -
|
||||
| /AME | /allchan /me | -
|
||||
| /AMSG | /allchan /msg * | -
|
||||
| /ANICK | /allserv /nick | -
|
||||
| /BEEP | /print -beep | -
|
||||
| /BYE | /quit | -
|
||||
@@ -35,8 +33,9 @@
|
||||
| /UMODE | /mode $nick | -
|
||||
| /V | /command core version | -
|
||||
| /W | /who | -
|
||||
| /WC | /window merge | -
|
||||
| /WC | /window close | -
|
||||
| /WI | /whois | -
|
||||
| /WII | /whois $1 $1 | -
|
||||
| /WM | /window merge | -
|
||||
| /WW | /whowas | -
|
||||
|===
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
** valore predefinito: `+0+`
|
||||
|
||||
* [[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
|
||||
** 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 value
|
||||
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 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
|
||||
|
||||
@@ -124,7 +124,7 @@ Examples:
|
||||
* `+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]
|
||||
|
||||
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)]
|
||||
** tipo: 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*
|
||||
** 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)
|
||||
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
|
||||
@@ -974,6 +979,7 @@ Examples:
|
||||
resize [-window <number>] [h|v][+|-]<pct>
|
||||
balance
|
||||
merge [-window <number>] [all]
|
||||
close [-window <number>]
|
||||
page_up|page_down [-window <number>]
|
||||
refresh
|
||||
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)
|
||||
balance: balance the sizes of all windows
|
||||
merge: merge window with another (all = keep only one window)
|
||||
close: close window
|
||||
page_up: scroll one page up
|
||||
page_down: scroll one page down
|
||||
refresh: refresh screen
|
||||
@@ -1034,8 +1041,10 @@ Examples:
|
||||
/window resize 75
|
||||
resize vertical split, add 10% in size:
|
||||
/window resize v+10
|
||||
remove the split:
|
||||
remove the split, keep the current window:
|
||||
/window merge
|
||||
close the current window:
|
||||
/window close
|
||||
enable bare display for 2 seconds:
|
||||
/window bare 2
|
||||
----
|
||||
|
||||
@@ -921,9 +921,9 @@
|
||||
** valore predefinito: `+""+`
|
||||
|
||||
* [[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
|
||||
** valori: djb2, sum
|
||||
** valori: djb2, sum, djb2_32, sum_32
|
||||
** valore predefinito: `+djb2+`
|
||||
|
||||
* [[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é?
|
||||
|
||||
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]
|
||||
(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.
|
||||
|
||||
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:
|
||||
|
||||
----
|
||||
brew install weechat --with-aspell --with-curl --with-python --with-perl --with-ruby --with-lua --with-guile
|
||||
brew install weechat
|
||||
----
|
||||
|
||||
[[lost]]
|
||||
@@ -347,7 +347,7 @@ non viene usato da un'altra barra:
|
||||
=== Come posso copiare/incollare testo senza incollare la lista nick?
|
||||
|
||||
// TRANSLATION MISSING
|
||||
With WeeChat ≥ 1.0, you can use the bare display (default key: kbd:[Alt+l]),
|
||||
With WeeChat ≥ 1.0, you can use the bare display (default key: kbd:[Alt+l] (`L`)),
|
||||
which will show just the contents of the currently selected window,
|
||||
without any formatting.
|
||||
|
||||
@@ -365,7 +365,7 @@ Un'altra soluzione è spostare la lista nick in alto o in basso, per esempio:
|
||||
=== Come posso cliccare su URL lunghi (più di una riga)?
|
||||
|
||||
// TRANSLATION MISSING
|
||||
With WeeChat ≥ 1.0, you can use the bare display (default key: kbd:[Alt+l]).
|
||||
With WeeChat ≥ 1.0, you can use the bare display (default key: kbd:[Alt+l] (`L`)).
|
||||
|
||||
// TRANSLATION MISSING
|
||||
To make opening URLs easier, you can:
|
||||
|
||||
@@ -106,9 +106,9 @@ Argomenti:
|
||||
// TRANSLATION MISSING
|
||||
* _plugin_: puntatore alla struttura del plugin di WeeChat, used to initialize
|
||||
the convenience global pointer `weechat_plugin`
|
||||
* _argc_: numero di argomenti per il plugin (fornito dalla riga di comando
|
||||
dall'utente)
|
||||
* _argv_: argomenti per il plugin
|
||||
* _argc_: numero di argomenti per il plugin
|
||||
// TRANSLATION MISSING
|
||||
* _argv_: argomenti per il plugin (see below)
|
||||
|
||||
Valori restituiti:
|
||||
|
||||
@@ -117,6 +117,32 @@ Valori restituiti:
|
||||
* _WEECHAT_RC_ERROR_ se c'è un errore (il plugin NON
|
||||
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
|
||||
[[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
|
||||
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]]
|
||||
=== Plugin
|
||||
|
||||
@@ -1555,7 +1605,7 @@ Questa funzione non è disponibile nelle API per lo scripting.
|
||||
==== string_split
|
||||
|
||||
// TRANSLATION MISSING
|
||||
_Updated in 2.5._
|
||||
_Updated in 2.5, 2.6._
|
||||
|
||||
Divide una stringa in base a uno o più delimitatori.
|
||||
|
||||
@@ -1564,13 +1614,17 @@ Prototipo:
|
||||
[source,C]
|
||||
----
|
||||
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:
|
||||
|
||||
* _string_: stringa da 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,
|
||||
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);
|
||||
@@ -1609,7 +1663,7 @@ Esempi:
|
||||
char **argv;
|
||||
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"
|
||||
argv[1] == "de"
|
||||
argv[2] = ""
|
||||
@@ -1620,7 +1674,7 @@ argv = weechat_string_split ("abc de fghi ", " ", 0, 0, &argc);
|
||||
*/
|
||||
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_RIGHT
|
||||
| WEECHAT_STRING_SPLIT_COLLAPSE_SEPS,
|
||||
@@ -1633,7 +1687,7 @@ argv = weechat_string_split ("abc de fghi ", " ",
|
||||
*/
|
||||
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_RIGHT
|
||||
| WEECHAT_STRING_SPLIT_COLLAPSE_SEPS
|
||||
@@ -1647,7 +1701,7 @@ argv = weechat_string_split ("abc de fghi ", " ",
|
||||
*/
|
||||
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_COLLAPSE_SEPS
|
||||
| WEECHAT_STRING_SPLIT_KEEP_EOL,
|
||||
@@ -1659,6 +1713,19 @@ argv = weechat_string_split ("abc de fghi ", " ",
|
||||
argc == 3
|
||||
*/
|
||||
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]
|
||||
@@ -4163,6 +4230,39 @@ value = 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
|
||||
|
||||
Restituisce la dimensione della lista (numero di elementi).
|
||||
@@ -9225,7 +9325,7 @@ struct t_hashtable *options_url1 = weechat_hashtable_new (8,
|
||||
NULL);
|
||||
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/",
|
||||
options_url1,
|
||||
20000,
|
||||
@@ -9241,7 +9341,7 @@ struct t_hashtable *options_url2 = weechat_hashtable_new (8,
|
||||
NULL);
|
||||
if (options_url2)
|
||||
{
|
||||
weechat_hashtable_set (options, "httpheader",
|
||||
weechat_hashtable_set (options_url2, "httpheader",
|
||||
"Header1: value1\n"
|
||||
"Header2: value2");
|
||||
struct t_hook *my_process_hook = weechat_hook_process_hashtable ("url:http://localhost:8080/",
|
||||
@@ -13579,8 +13679,8 @@ Prototipo:
|
||||
|
||||
[source,C]
|
||||
----
|
||||
int weechat_window_get_string (struct t_gui_window *window,
|
||||
const char *property);
|
||||
const char *weechat_window_get_string (struct t_gui_window *window,
|
||||
const char *property);
|
||||
----
|
||||
|
||||
Argomenti:
|
||||
@@ -13592,6 +13692,14 @@ Valore restituito:
|
||||
|
||||
* valore stringa della proprietà
|
||||
|
||||
Script (Python):
|
||||
|
||||
[source,python]
|
||||
----
|
||||
# prototipo
|
||||
value = weechat.window_get_string(buffer, property)
|
||||
----
|
||||
|
||||
==== window_get_pointer
|
||||
|
||||
Restituisce il valore puntatore della proprietà di una finestra.
|
||||
|
||||
@@ -1047,9 +1047,9 @@ Esempio:
|
||||
[source,python]
|
||||
----
|
||||
script_options = {
|
||||
"option1" : "value1",
|
||||
"option2" : "value2",
|
||||
"option3" : "value3",
|
||||
"option1": "value1",
|
||||
"option2": "value2",
|
||||
"option3": "value3",
|
||||
}
|
||||
for option, default_value in script_options.items():
|
||||
if not weechat.config_is_set_plugin(option):
|
||||
|
||||
@@ -94,7 +94,7 @@ $ tar xvjf weechat-devel.tar.bz2
|
||||
$ cd weechat-devel
|
||||
----
|
||||
|
||||
Per compilare i sorgenti, si raccomanda cmake:
|
||||
Per compilare i sorgenti, si raccomanda CMake:
|
||||
|
||||
----
|
||||
$ mkdir build
|
||||
@@ -104,7 +104,7 @@ $ make
|
||||
$ make install
|
||||
----
|
||||
|
||||
Se cmake non è installato, è ancora possibile usare gli autotools:
|
||||
Se CMake non è installato, è ancora possibile usare gli autotools:
|
||||
|
||||
----
|
||||
$ ./autogen.sh
|
||||
|
||||
+166
-143
@@ -93,14 +93,13 @@ installazione.
|
||||
[[source_package]]
|
||||
=== Sorgenti
|
||||
|
||||
WeeChat può essere compilato con cmake oppure autotools
|
||||
(tuttavia si raccomanda cmake).
|
||||
WeeChat può essere compilato con CMake oppure autotools
|
||||
(tuttavia si raccomanda CMake).
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[NOTE]
|
||||
On macOS, you can use https://brew.sh/[Homebrew]:
|
||||
`brew install weechat --with-python --with-perl`
|
||||
(for help: `brew info weechat`).
|
||||
`brew install weechat` (for help: `brew info weechat`).
|
||||
|
||||
[[dependencies]]
|
||||
==== Dipendenze
|
||||
@@ -116,7 +115,7 @@ compilare WeeChat.
|
||||
(gcc, clang, ...) | | *sì* | Build.
|
||||
// TRANSLATION MISSING
|
||||
| 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
|
||||
| pkg-config | | *sì* | Detect installed libraries.
|
||||
| libncursesw5-dev ^(2)^ | | *sì* | Interfaccia ncurses.
|
||||
@@ -131,7 +130,7 @@ compilare WeeChat.
|
||||
| ca-certificates | | | Certificati per le connessioni SSL.
|
||||
| libaspell-dev
|
||||
∥ libenchant-dev | | | Plugin spell.
|
||||
| python-dev | ≥ 2.6 ^(4)^ | | Plugin python.
|
||||
| python3-dev | ^(4)^ | | Plugin python.
|
||||
| libperl-dev | | | Plugin perl.
|
||||
| ruby2.5, ruby2.5-dev | ≥ 1.8 | | Plugin ruby.
|
||||
| liblua5.3-dev | | | Plugin lua.
|
||||
@@ -161,8 +160,9 @@ you may experience display bugs with wide chars. +
|
||||
// TRANSLATION MISSING
|
||||
^(3)^ GnuTLS ≥ 3.0.21 is required for IRC SASL authentication with mechanism
|
||||
ECDSA-NIST256P-CHALLENGE. +
|
||||
^(4)^ La versione raccomandata di Python è la 2.7 (tutti gli script funzionano
|
||||
correttamente con la versione 2.7, ma non con le versioni < 2.7 o ≥ 3.0).
|
||||
// TRANSLATION MISSING
|
||||
^(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
|
||||
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]]
|
||||
==== Compilazione con cmake
|
||||
==== Compilazione con CMake
|
||||
|
||||
* Installazione nelle directory di sistema (richiede privilegi di _root_):
|
||||
|
||||
@@ -198,7 +198,7 @@ $ make install
|
||||
----
|
||||
|
||||
// TRANSLATION MISSING
|
||||
Options can be used for cmake, with format: "-DOPTION=VALUE".
|
||||
Options can be used for CMake, with format: "-DOPTION=VALUE".
|
||||
|
||||
// TRANSLATION MISSING
|
||||
List of commonly used options:
|
||||
@@ -286,12 +286,9 @@ List of commonly used options:
|
||||
| ENABLE_PYTHON | `ON`, `OFF` | ON |
|
||||
Compile <<scripts_plugins,Python plugin>>.
|
||||
|
||||
| ENABLE_PYTHON3 | `ON`, `OFF` | OFF |
|
||||
Compile <<scripts_plugins,Python plugin>> using 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/
|
||||
// TRANSLATION MISSING
|
||||
| ENABLE_PYTHON2 | `ON`, `OFF` | OFF |
|
||||
Compile <<scripts_plugins,Python plugin>> using Python 2 instead of Python 3.
|
||||
|
||||
| ENABLE_RELAY | `ON`, `OFF` | ON |
|
||||
Compile <<relay_plugin,Relay plugin>>.
|
||||
@@ -343,9 +340,9 @@ $ ccmake ..
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[WARNING]
|
||||
Only cmake is officially supported to build WeeChat. You should use autotools
|
||||
only if you are not able to use cmake. +
|
||||
Build with autotools requires more dependencies and is slower than with cmake.
|
||||
Only CMake is officially supported to build WeeChat. You should use autotools
|
||||
only if you are not able to use CMake. +
|
||||
Build with autotools requires more dependencies and is slower than with CMake.
|
||||
|
||||
* Installazione nelle directory di sistema (richiede privilegi di _root_):
|
||||
|
||||
@@ -387,13 +384,13 @@ Following packages are *required* to compile tests:
|
||||
* libcpputest-dev
|
||||
* C++ compiler
|
||||
|
||||
Tests must be enabled when compiling WeeChat (with cmake):
|
||||
Tests must be enabled when compiling WeeChat (with CMake):
|
||||
|
||||
----
|
||||
$ 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
|
||||
@@ -428,7 +425,7 @@ futuro di WeeChat, è necessario:
|
||||
[[debug_info]]
|
||||
==== Informazioni di debug
|
||||
|
||||
Se si compila con cmake:
|
||||
Se si compila con CMake:
|
||||
|
||||
----
|
||||
$ cmake .. -DCMAKE_BUILD_TYPE=Debug
|
||||
@@ -587,7 +584,10 @@ Some environment variables are used by WeeChat if they are defined:
|
||||
WeeChat writes configuration files and other data in directory `~/.weechat`
|
||||
by default.
|
||||
|
||||
The directories are:
|
||||
[[weechat_directories]]
|
||||
==== WeeChat directories
|
||||
|
||||
The WeeChat directories are:
|
||||
|
||||
[width="100%",cols="1m,3",options="header"]
|
||||
|===
|
||||
@@ -615,6 +615,9 @@ The directories are:
|
||||
[NOTE]
|
||||
^(1)^ This directory often contains only symbolic links to scripts in parent directory.
|
||||
|
||||
[[weechat_files]]
|
||||
==== WeeChat files
|
||||
|
||||
The files in the WeeChat home directory are:
|
||||
|
||||
[width="100%",cols="1m,3,6",options="header"]
|
||||
@@ -868,7 +871,7 @@ Nel plugin irc, si possono riorganizzare i colori usando l'opzione
|
||||
[[colors]]
|
||||
=== 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).
|
||||
|
||||
In base al valore della variabile di ambiente _TERM_, potrebbero verificarsi i
|
||||
@@ -877,12 +880,12 @@ seguenti limiti per i colori in WeeChat:
|
||||
[width="50%",cols="8,>2,>2",options="header"]
|
||||
|===
|
||||
| $TERM | Colori | Coppie
|
||||
| "rxvt-unicode", "xterm", ... | 88 | 256
|
||||
| "rxvt-256color", "xterm-256color", ... | 256 | 256
|
||||
| "rxvt-unicode", "xterm", ... | 88 | 32767
|
||||
| "rxvt-256color", "xterm-256color", ... | 256 | 32767
|
||||
| "screen" | 8 | 64
|
||||
| "screen-256color" | 256 | 256
|
||||
| "screen-256color" | 256 | 32767
|
||||
| "tmux" | 8 | 64
|
||||
| "tmux-256color" | 256 | 256
|
||||
| "tmux-256color" | 256 | 32767
|
||||
|===
|
||||
|
||||
È possibile eseguire `weechat --colors` o utilizzare il comando `/color` in
|
||||
@@ -1278,13 +1281,13 @@ List of bar options:
|
||||
==== Items
|
||||
|
||||
The option _items_ is a string with a list of bar items, separated by a comma
|
||||
(space between items on screen) or "+" (glued items).
|
||||
(space between items on screen) or `+++` (glued items).
|
||||
|
||||
The list of bar items is displayed with command `/bar listitems`.
|
||||
|
||||
// TRANSLATION MISSING
|
||||
Before or after item name, you can use chars (that are not alphanumeric, "-" or
|
||||
"_"). They will be displayed before/after item with the delimiters color
|
||||
Before or after item name, you can use chars (that are not alphanumeric, `+-+`
|
||||
or `+_+`). They will be displayed before/after item with the delimiters color
|
||||
defined in bar (option _color_delim_).
|
||||
|
||||
Example of bar with items "[time],buffer_number+:+buffer_plugin+.+buffer_name":
|
||||
@@ -1445,8 +1448,8 @@ The bare display has following features:
|
||||
mouse like you do in the terminal to click on URLs and select text
|
||||
* ncurses is not used, therefore URLs are not cut at the end of lines.
|
||||
|
||||
The default key to enabled bare display is kbd:[Alt+l], and same key to exit (or
|
||||
by default anything changing the input will exit the bare display, see option
|
||||
The default key to enable bare display is kbd:[Alt+l] (`L`), and same key to exit
|
||||
(or by default anything changing the input will exit the bare display, see option
|
||||
<<option_weechat.look.bare_display_exit_on_input,weechat.look.bare_display_exit_on_input>>).
|
||||
|
||||
The time format can be customized with the option
|
||||
@@ -1635,7 +1638,7 @@ You can display tags with the command `/debug tags` (same command to hide them).
|
||||
|
||||
You can add specific tags to highlight with the option
|
||||
<<option_weechat.look.highlight_tags,weechat.look.highlight_tags>>.
|
||||
Tags are separated by commas, and multiple tags can be separated by "+" to do
|
||||
Tags are separated by commas, and multiple tags can be separated by `+++` to do
|
||||
a logical "and" between them.
|
||||
|
||||
For example to highlight all messages from nick "FlashCode" and all notices
|
||||
@@ -1733,86 +1736,86 @@ with `/script install buffer_autoset.py` and get help with `/help buffer_autoset
|
||||
|
||||
[width="100%",cols="^.^3,.^8,.^5",options="header"]
|
||||
|===
|
||||
| Tasti | Descrizione | Comando
|
||||
| kbd:[Ctrl+l] | Ridisegna l'intera finestra. | `/window refresh`
|
||||
| Tasti | Descrizione | Comando
|
||||
| kbd:[Ctrl+l] (`L`) | Ridisegna l'intera finestra. | `/window refresh`
|
||||
| kbd:[Ctrl+s],
|
||||
kbd:[ctrl-u] | Imposta l'evidenziatore dei messaggi non letti su tutti i buffer. | `/input set_unread`
|
||||
| kbd:[Ctrl+x] | Passa al buffer attivo se i buffer sono collegati con lo stesso numero. | `/input switch_active_buffer`
|
||||
kbd:[Ctrl+u] | Imposta l'evidenziatore dei messaggi non letti su tutti i buffer. | `/input set_unread`
|
||||
| kbd:[Ctrl+x] | Passa al buffer attivo se i buffer sono collegati con lo stesso numero. | `/input switch_active_buffer`
|
||||
// TRANSLATION MISSING
|
||||
| kbd:[Alt+x] | Zoom on merged buffer (kbd:[Alt+x] again: display all merged buffers). | `/input zoom_merged_buffer`
|
||||
| kbd:[PgUp] | Scorre in alto di una pagina nella cronologia del buffer. | `/window page_up`
|
||||
| kbd:[PgDn] | Scorre di una pagina in basso nella cronologia del buffer. | `/window page_down`
|
||||
| kbd:[Alt+PgUp] | Scorre di qualche riga in alto nella cronologia del buffer. | `/window scroll_up`
|
||||
| kbd:[Alt+PgDn] | Scorre di qualche riga in basso nella cronologia del buffer. | `/window scroll_down`
|
||||
| kbd:[Alt+Home] | Scorre in cima al buffer. | `/window scroll_top`
|
||||
| kbd:[Alt+End] | Scorre alla fine del del buffer. | `/window scroll_bottom`
|
||||
| kbd:[Alt+x] | Zoom on merged buffer (kbd:[Alt+x] again: display all merged buffers). | `/input zoom_merged_buffer`
|
||||
| kbd:[PgUp] | Scorre in alto di una pagina nella cronologia del buffer. | `/window page_up`
|
||||
| kbd:[PgDn] | Scorre di una pagina in basso nella cronologia del buffer. | `/window page_down`
|
||||
| kbd:[Alt+PgUp] | Scorre di qualche riga in alto nella cronologia del buffer. | `/window scroll_up`
|
||||
| kbd:[Alt+PgDn] | Scorre di qualche riga in basso nella cronologia del buffer. | `/window scroll_down`
|
||||
| kbd:[Alt+Home] | Scorre in cima al buffer. | `/window scroll_top`
|
||||
| kbd:[Alt+End] | Scorre alla fine del del buffer. | `/window scroll_bottom`
|
||||
// TRANSLATION MISSING
|
||||
| kbd:[F1] +
|
||||
kbd:[Ctrl+F1] | Scroll up one page in buflist. | `/bar scroll buflist * -100%`
|
||||
kbd:[Ctrl+F1] | Scroll up one page in buflist. | `/bar scroll buflist * -100%`
|
||||
// TRANSLATION MISSING
|
||||
| kbd:[F2] +
|
||||
kbd:[Ctrl+F2] | Scroll down one page in buflist. | `/bar scroll buflist * +100%`
|
||||
kbd:[Ctrl+F2] | Scroll down one page in buflist. | `/bar scroll buflist * +100%`
|
||||
// TRANSLATION MISSING
|
||||
| kbd:[Alt+F1] | Go to the beginning of buflist. | `/bar scroll buflist * b`
|
||||
| kbd:[Alt+F1] | Go to the beginning of buflist. | `/bar scroll buflist * b`
|
||||
// TRANSLATION MISSING
|
||||
| kbd:[Alt+F2] | Go to the end of buflist. | `/bar scroll buflist * e`
|
||||
| kbd:[Alt+F2] | Go to the end of buflist. | `/bar scroll buflist * e`
|
||||
| kbd:[Alt+←] +
|
||||
kbd:[Alt+↑] +
|
||||
kbd:[Ctrl+p] +
|
||||
kbd:[F5] | Passa al buffer precedente. | `/buffer -1`
|
||||
kbd:[F5] | Passa al buffer precedente. | `/buffer -1`
|
||||
| kbd:[Alt+→] +
|
||||
kbd:[Alt+↓] +
|
||||
kbd:[Ctrl+n] +
|
||||
kbd:[F6] | Passa al buffer successivo. | `/buffer +1`
|
||||
| kbd:[F7] | Passa alla finestra precedente. | `/window -1`
|
||||
| kbd:[F8] | Passa alla finestra successiva. | `/window +1`
|
||||
| kbd:[F9] | Scorre il titolo del buffer sulla sinistra. | `+/bar scroll title * -30%+`
|
||||
| kbd:[F10] | Scorre il titolo del buffer sulla destra. | `+/bar scroll title * +30%+`
|
||||
kbd:[F6] | Passa al buffer successivo. | `/buffer +1`
|
||||
| kbd:[F7] | Passa alla finestra precedente. | `/window -1`
|
||||
| kbd:[F8] | Passa alla finestra successiva. | `/window +1`
|
||||
| kbd:[F9] | Scorre il titolo del buffer sulla sinistra. | `+/bar scroll title * -30%+`
|
||||
| kbd:[F10] | Scorre il titolo del buffer sulla destra. | `+/bar scroll title * +30%+`
|
||||
| kbd:[F11] +
|
||||
kbd:[Ctrl+F11] | Scorre di una pagina in alto nella lista nick. | `/bar scroll nicklist * -100%`
|
||||
kbd:[Ctrl+F11] | Scorre di una pagina in alto nella lista nick. | `/bar scroll nicklist * -100%`
|
||||
| kbd:[F12] +
|
||||
kbd:[Ctrl+F12] | Scorre di una pagina in basso nella lista nick. | `/bar scroll nicklist * +100%`
|
||||
| kbd:[Alt+F11] | Sposta all'inizio della lista nick. | `/bar scroll nicklist * b`
|
||||
| kbd:[Alt+F12] | Sposta alla fine della lista nick. | `/bar scroll nicklist * e`
|
||||
| kbd:[Alt+a] | Passa al buffer successivo con attività (con priorità: highligh, messagge, altro). | `/input jump_smart`
|
||||
| kbd:[Alt+h] | Pulisce hotlist (notifica di attività su altri buffer). | `/input hotlist_clear`
|
||||
kbd:[Ctrl+F12] | Scorre di una pagina in basso nella lista nick. | `/bar scroll nicklist * +100%`
|
||||
| kbd:[Alt+F11] | Sposta all'inizio della lista nick. | `/bar scroll nicklist * b`
|
||||
| kbd:[Alt+F12] | Sposta alla fine della lista nick. | `/bar scroll nicklist * e`
|
||||
| kbd:[Alt+a] | Passa al buffer successivo con attività (con priorità: highligh, messagge, altro). | `/input jump_smart`
|
||||
| kbd:[Alt+h] | Pulisce hotlist (notifica di attività su altri buffer). | `/input hotlist_clear`
|
||||
// TRANSLATION MISSING
|
||||
| kbd:[Alt+j],
|
||||
kbd:[alt-f] | Switch to first buffer. | `/buffer -`
|
||||
kbd:[Alt+f] | Switch to first buffer. | `/buffer -`
|
||||
| kbd:[Alt+j],
|
||||
kbd:[alt-l] | Passa all'ultimo buffer. | `/buffer +`
|
||||
kbd:[Alt+l] (`L`) | Passa all'ultimo buffer. | `/buffer +`
|
||||
| kbd:[Alt+j],
|
||||
kbd:[alt-r] | Passa al buffer raw IRC. | `/server raw`
|
||||
kbd:[Alt+r] | Passa al buffer raw IRC. | `/server raw`
|
||||
| kbd:[Alt+j],
|
||||
kbd:[alt-s] | Passa al buffer server IRC. | `/server jump`
|
||||
| kbd:[Alt+0...9] | Passa al buffer numero (0 = 10). | `/buffer *N`
|
||||
kbd:[Alt+s] | Passa al buffer server IRC. | `/server jump`
|
||||
| kbd:[Alt+0...9] | Passa al buffer numero (0 = 10). | `/buffer *N`
|
||||
| kbd:[Alt+j],
|
||||
kbd:[01...99] | Passa al buffer numero. | `/buffer *NN`
|
||||
kbd:[01...99] | Passa al buffer numero. | `/buffer *NN`
|
||||
// TRANSLATION MISSING
|
||||
| kbd:[Alt+l] | Toggle bare display on/off. | `/window bare`
|
||||
| kbd:[Alt+m] | Abilita/disabilita. | `/mouse toggle`
|
||||
| kbd:[Alt+n] | Scorre fino alla notifica successiva. | `/window scroll_next_highlight`
|
||||
| kbd:[Alt+p] | Scorre fino alla notifica precedente. | `/window scroll_previous_highlight`
|
||||
| kbd:[Alt+u] | Scorre fino alla prima riga non letta nel buffer. | `/window scroll_unread`
|
||||
| kbd:[Alt+l] (`L`) | Toggle bare display on/off. | `/window bare`
|
||||
| kbd:[Alt+m] | Abilita/disabilita. | `/mouse toggle`
|
||||
| kbd:[Alt+n] | Scorre fino alla notifica successiva. | `/window scroll_next_highlight`
|
||||
| kbd:[Alt+p] | Scorre fino alla notifica precedente. | `/window scroll_previous_highlight`
|
||||
| kbd:[Alt+u] | Scorre fino alla prima riga non letta nel buffer. | `/window scroll_unread`
|
||||
| kbd:[Alt+w],
|
||||
kbd:[alt-↑] | Passa alla finestra in alto. | `/window up`
|
||||
kbd:[Alt+↑] | Passa alla finestra in alto. | `/window up`
|
||||
| kbd:[Alt+w],
|
||||
kbd:[alt-↓] | Passa alla finestra in basso. | `/window down`
|
||||
kbd:[Alt+↓] | Passa alla finestra in basso. | `/window down`
|
||||
| kbd:[Alt+w],
|
||||
kbd:[alt-←] | Passa alla finestra sulla sinistra. | `/window left`
|
||||
kbd:[Alt+←] | Passa alla finestra sulla sinistra. | `/window left`
|
||||
| kbd:[Alt+w],
|
||||
kbd:[alt-→] | Passa alla finestrs sulla destra. | `/window right`
|
||||
kbd:[Alt+→] | Passa alla finestrs sulla destra. | `/window right`
|
||||
| kbd:[Alt+w],
|
||||
kbd:[alt-b] | Bilancia le dimensioni di tutte le finestre. | `/window balance`
|
||||
kbd:[Alt+b] | Bilancia le dimensioni di tutte le finestre. | `/window balance`
|
||||
| kbd:[Alt+w],
|
||||
kbd:[alt-s] | Scambia i buffer di due finestra. | `/window swap`
|
||||
| kbd:[Alt+z] | Ingrandimento sulla finestra attiva (kbd:[Alt+z] di nuovo: ripristina lo stato iniziale della finestra, prima dell'ingrandimento). | `/window zoom`
|
||||
| kbd:[Alt+<] | Passa al buffer precedente nella lista dei buffer visitati. | `/input jump_previously_visited_buffer`
|
||||
| kbd:[Alt+>] | Passa al buffer successivo nella lista dei buffer visitati. | `/input jump_next_visited_buffer`
|
||||
| kbd:[Alt+/] | Passa all'ultimo buffer mostrato (prima dell'ultimo passaggio ad un buffer). | `/input jump_last_buffer_displayed`
|
||||
| kbd:[Alt+=] | Attiva/disattiva filtri. | `/filter toggle`
|
||||
kbd:[Alt+s] | Scambia i buffer di due finestra. | `/window swap`
|
||||
| kbd:[Alt+z] | Ingrandimento sulla finestra attiva (kbd:[Alt+z] di nuovo: ripristina lo stato iniziale della finestra, prima dell'ingrandimento). | `/window zoom`
|
||||
| kbd:[Alt+<] | Passa al buffer precedente nella lista dei buffer visitati. | `/input jump_previously_visited_buffer`
|
||||
| kbd:[Alt+>] | Passa al buffer successivo nella lista dei buffer visitati. | `/input jump_next_visited_buffer`
|
||||
| kbd:[Alt+/] | Passa all'ultimo buffer mostrato (prima dell'ultimo passaggio ad un buffer). | `/input jump_last_buffer_displayed`
|
||||
| kbd:[Alt+=] | Attiva/disattiva filtri. | `/filter toggle`
|
||||
// TRANSLATION MISSING
|
||||
| kbd:[Alt+-] | Toggle filters on/off in current buffer. | `/filter toggle @`
|
||||
| kbd:[Alt+-] | Toggle filters on/off in current buffer. | `/filter toggle @`
|
||||
|===
|
||||
|
||||
[[key_bindings_search_context]]
|
||||
@@ -1878,50 +1881,51 @@ evento del mouse.
|
||||
// TRANSLATION MISSING (6)
|
||||
[width="100%",cols="^.^3,^.^3,^.^3,.^8,.^8",options="header"]
|
||||
|===
|
||||
| Tasto ^(1)^ | Azione | Zona | Descrizione | Comando
|
||||
| ◾◽◽ | - | chat | Passa alla finestra. | `/window ${_window_number}`
|
||||
| ◾◽◽ | sinistra | chat | Passa al buffer precedente. | `/window ${_window_number};/buffer +1`
|
||||
| ◾◽◽ | destra | chat | Passa al buffer successivo. | `/window ${_window_number};/buffer +1`
|
||||
| ◾◽◽ | sinistra (lungo) | chat | Switch to first buffer. | `/window ${_window_number};/buffer 1`
|
||||
| ◾◽◽ | destra (lungo) | chat | Passa all'ultimo buffer. | `/window ${_window_number};/input jump_last_buffer`
|
||||
| ◾◽◽ | - | chat (script buffer) | Select line in script buffer. | `/script go ${_chat_line_y}`
|
||||
| ◽◽◾ | - | chat (script buffer) | Install/remove script. | `/script go ${_chat_line_y};/script installremove -q ${script_name_with_extension}`
|
||||
| ⇑ | - | chat | Scorre di qualche riga in alto nella cronologia del buffer. | `/window scroll_up -window ${_window_number}`
|
||||
| ⇓ | - | chat | Scorre di qualche riga in basso nella cronologia del buffer. | `/window scroll_down -window ${_window_number}`
|
||||
| ⇑ | - | chat (script buffer) | Move 5 lines up in script buffer. | `/script up 5`
|
||||
| ⇓ | - | chat (script buffer) | Move 5 lines down in script buffer. | `/script down 5`
|
||||
| kbd:[Ctrl+⇑] | - | chat | Scroll horizontally to the left. | `/window scroll_horiz -window ${_window_number} -10%`
|
||||
| kbd:[Ctrl+⇓] | - | chat | Scroll horizontally to the right. | `/window scroll_horiz -window ${_window_number} +10%`
|
||||
// TRANSLATION MISSING
|
||||
| ◾◽◽ | up / left | buflist | Move buffer to a lower number. | Signal `buflist_mouse`.
|
||||
| Tasto/Wheel ^(1)^ | Azione | Zona | Descrizione | Comando
|
||||
| ◾◽◽ | - | chat | Passa alla finestra. | `/window ${_window_number}`
|
||||
| ◾◽◽ | sinistra | chat | Passa al buffer precedente. | `/window ${_window_number};/buffer +1`
|
||||
| ◾◽◽ | destra | chat | Passa al buffer successivo. | `/window ${_window_number};/buffer +1`
|
||||
| ◾◽◽ | sinistra (lungo) | chat | Switch to first buffer. | `/window ${_window_number};/buffer 1`
|
||||
| ◾◽◽ | destra (lungo) | chat | Passa all'ultimo buffer. | `/window ${_window_number};/input jump_last_buffer`
|
||||
| ◾◽◽ | - | chat (script buffer) | Select line in script buffer. | `/script go ${_chat_line_y}`
|
||||
| ◽◽◾ | - | chat (script buffer) | Install/remove script. | `/script go ${_chat_line_y};/script installremove -q ${script_name_with_extension}`
|
||||
| kbd:[▲] | - | chat | Scorre di qualche riga in alto nella cronologia del buffer. | `/window scroll_up -window ${_window_number}`
|
||||
| kbd:[▼] | - | chat | Scorre di qualche riga in basso nella cronologia del buffer. | `/window scroll_down -window ${_window_number}`
|
||||
| kbd:[▲] | - | chat (script buffer) | Move 5 lines up in script buffer. | `/script up 5`
|
||||
| kbd:[▼] | - | chat (script buffer) | Move 5 lines down in script buffer. | `/script down 5`
|
||||
| kbd:[Ctrl+▲] | - | chat | Scroll horizontally to the left. | `/window scroll_horiz -window ${_window_number} -10%`
|
||||
| kbd:[Ctrl+▼] | - | chat | Scroll horizontally to the right. | `/window scroll_horiz -window ${_window_number} +10%`
|
||||
// TRANSLATION MISSING
|
||||
| ◾◽◽ | down / right | buflist | Move buffer to a higher number. | Signal `buflist_mouse`.
|
||||
| ◾◽◽ | up / left | buflist | Move buffer to a lower number. | Signal `buflist_mouse`.
|
||||
// TRANSLATION MISSING
|
||||
| ◾◽◽ | - | buflist | Switch to buffer (previously visited buffer if the buffer is the current one). | Signal `buflist_mouse`.
|
||||
| ◾◽◽ | down / right | buflist | Move buffer to a higher number. | Signal `buflist_mouse`.
|
||||
// TRANSLATION MISSING
|
||||
| ◽◽◾ | - | buflist | Switch to next visited buffer if the buffer is the current one. | Signal `buflist_mouse`.
|
||||
| ◾◽◽ | - | buflist | Switch to buffer (previously visited buffer if the buffer is the current one). | Signal `buflist_mouse`.
|
||||
// TRANSLATION MISSING
|
||||
| kbd:[Ctrl+⇑] | - | buflist | Switch to previous buffer. | Signal `buflist_mouse`.
|
||||
| ◽◽◾ | - | buflist | Switch to next visited buffer if the buffer is the current one. | Signal `buflist_mouse`.
|
||||
// TRANSLATION MISSING
|
||||
| kbd:[Ctrl+⇓] | - | buflist | Switch to next buffer. | Signal `buflist_mouse`.
|
||||
| ◾◽◽ | su | lista nick | Scorre di una pagina in alto nella lista nick. | `/bar scroll nicklist ${_window_number} -100%`
|
||||
| ◾◽◽ | giù | lista nick | Scorre di una pagina in basso nella lista nick. | `/bar scroll nicklist ${_window_number} +100%`
|
||||
| ◾◽◽ | up (lungo) | lista nick | Sposta all'inizio della lista nick. | `/bar scroll nicklist ${_window_number} b`
|
||||
| ◾◽◽ | giù (lungo) | lista nick | Sposta alla fine della lista nick. | `/bar scroll nicklist ${_window_number} e`
|
||||
| ◾◽◽ | - | lista nick | Apre una query con un nick. | `/window ${_window_number};/query ${nick}`
|
||||
| ◽◽◾ | - | lista nick | Effettua un whois su un nick. | `/window ${_window_number};/whois ${nick}`
|
||||
| ◾◽◽ | sinistra | lista nick | Kick di un nick. | `/window ${_window_number};/kick ${nick}`
|
||||
| ◾◽◽ | sinistra (lungo) | lista nick | Kick e ban di un nick. | `/window ${_window_number};/kickban ${nick}`
|
||||
| ◽◽◾ | sinistra | lista nick | Ban di un nick. | `/window ${_window_number};/ban ${nick}`
|
||||
| ◽◽◾ | - | input | Cattura un evento del mouse e inserisce il codice nella riga di comando. | `/input grab_mouse_area`
|
||||
| ⇑ | - | ogni barra | Scorre la barra del -20%. | `/bar scroll ${_bar_name} ${_window_number} -20%`
|
||||
| ⇓ | - | ogni barra | Scorre la barra del +20%. | `/bar scroll ${_bar_name} ${_window_number} +20%`
|
||||
| ◽◾◽ | - | ovunque | Avvia la modalità cursore in questo punto. | `/cursor go ${_x},${_y}`
|
||||
| kbd:[Ctrl+▲] | - | buflist | Switch to previous buffer. | Signal `buflist_mouse`.
|
||||
// TRANSLATION MISSING
|
||||
| kbd:[Ctrl+▼] | - | buflist | Switch to next buffer. | Signal `buflist_mouse`.
|
||||
| ◾◽◽ | su | lista nick | Scorre di una pagina in alto nella lista nick. | `/bar scroll nicklist ${_window_number} -100%`
|
||||
| ◾◽◽ | giù | lista nick | Scorre di una pagina in basso nella lista nick. | `/bar scroll nicklist ${_window_number} +100%`
|
||||
| ◾◽◽ | up (lungo) | lista nick | Sposta all'inizio della lista nick. | `/bar scroll nicklist ${_window_number} b`
|
||||
| ◾◽◽ | giù (lungo) | lista nick | Sposta alla fine della lista nick. | `/bar scroll nicklist ${_window_number} e`
|
||||
| ◾◽◽ | - | lista nick | Apre una query con un nick. | `/window ${_window_number};/query ${nick}`
|
||||
| ◽◽◾ | - | lista nick | Effettua un whois su un nick. | `/window ${_window_number};/whois ${nick}`
|
||||
| ◾◽◽ | sinistra | lista nick | Kick di un nick. | `/window ${_window_number};/kick ${nick}`
|
||||
| ◾◽◽ | sinistra (lungo) | lista nick | Kick e ban di un nick. | `/window ${_window_number};/kickban ${nick}`
|
||||
| ◽◽◾ | sinistra | lista nick | Ban di un nick. | `/window ${_window_number};/ban ${nick}`
|
||||
| ◽◽◾ | - | input | Cattura un evento del mouse e inserisce il codice nella riga di comando. | `/input grab_mouse_area`
|
||||
| kbd:[▲] | - | ogni barra | Scorre la barra del -20%. | `/bar scroll ${_bar_name} ${_window_number} -20%`
|
||||
| kbd:[▼] | - | ogni barra | Scorre la barra del +20%. | `/bar scroll ${_bar_name} ${_window_number} +20%`
|
||||
| ◽◾◽ | - | ovunque | Avvia la modalità cursore in questo punto. | `/cursor go ${_x},${_y}`
|
||||
|===
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[NOTE]
|
||||
^(1)^ "⇑" and "⇓" are wheel up and down.
|
||||
^(1)^ kbd:[▲] and kbd:[▼] are wheel up and down.
|
||||
|
||||
[[mouse]]
|
||||
=== Supporto del mouse
|
||||
@@ -1974,7 +1978,7 @@ contesto "mouse" (per la sintassi, consultare comando
|
||||
<<command_weechat_key,/key>>).
|
||||
|
||||
Il nome dell'evento consiste di un modificatore (opzionale), il nome di un
|
||||
pulsante/rotellina e un'azione (opzionale). Elementi diversi sono separati da "-".
|
||||
pulsante/rotellina e un'azione (opzionale). Elementi diversi sono separati da `+-+`.
|
||||
|
||||
Elenco di modificatori
|
||||
|
||||
@@ -2776,9 +2780,14 @@ host/IP e porta dipendono dalla propria configurazione di TOR):
|
||||
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:
|
||||
|
||||
----
|
||||
@@ -3187,16 +3196,21 @@ nei mask (consultare `man stfrtime` per i formati), ad esempio:
|
||||
Si avranno i seguenti file:
|
||||
|
||||
....
|
||||
~/.weechat/
|
||||
|--- logs/
|
||||
|--- 2010/
|
||||
|--- 11/
|
||||
| irc.server.freenode.weechatlog
|
||||
| irc.freenode.#weechat.weechatlog
|
||||
|--- 2010/
|
||||
|--- 12/
|
||||
| irc.server.freenode.weechatlog
|
||||
| irc.freenode.#weechat.weechatlog
|
||||
~/.weechat
|
||||
└── logs
|
||||
├── 2010
|
||||
│ ├── 11
|
||||
│ │ ├── irc.server.freenode.weechatlog
|
||||
│ │ └── irc.freenode.#weechat.weechatlog
|
||||
│ └── 12
|
||||
│ ├── irc.server.freenode.weechatlog
|
||||
│ └── irc.freenode.#weechat.weechatlog
|
||||
├── 2011
|
||||
│ ├── 01
|
||||
│ │ ├── irc.server.freenode.weechatlog
|
||||
│ │ └── irc.freenode.#weechat.weechatlog
|
||||
│ ├── 02
|
||||
...
|
||||
....
|
||||
|
||||
[[logger_irc_files_by_server_channel]]
|
||||
@@ -3212,17 +3226,18 @@ al suo interno:
|
||||
Si avranno i seguenti file:
|
||||
|
||||
....
|
||||
~/.weechat/
|
||||
|--- logs/
|
||||
|--- irc/
|
||||
|--- freenode/
|
||||
| freenode.weechatlog
|
||||
| #weechat.weechatlog
|
||||
| #mychan.weechatlog
|
||||
|--- oftc/
|
||||
| oftc.weechatlog
|
||||
| #chan1.weechatlog
|
||||
| #chan2.weechatlog
|
||||
~/.weechat
|
||||
└── logs
|
||||
└── irc
|
||||
├── freenode
|
||||
│ ├── freenode.weechatlog
|
||||
│ ├── #weechat.weechatlog
|
||||
│ └── #mychan.weechatlog
|
||||
├── oftc
|
||||
│ ├── oftc.weechatlog
|
||||
│ ├── #chan1.weechatlog
|
||||
│ └── #chan2.weechatlog
|
||||
...
|
||||
....
|
||||
|
||||
[[logger_commands]]
|
||||
@@ -3343,7 +3358,7 @@ you can connect to WeeChat with any other IRC client (including WeeChat itself).
|
||||
You can define one port by IRC server, or one generic port for all servers.
|
||||
|
||||
When using one port for all servers, the client must send the internal name of
|
||||
server in the IRC "PASS" command, with this format:
|
||||
server in the IRC "PASS" command, with this format (see example below):
|
||||
|
||||
----
|
||||
PASS server:miapass
|
||||
@@ -3364,6 +3379,14 @@ Example: IRC proxy without SSL only for server "freenode":
|
||||
Now you can connect on port 8000 with any IRC client using server password
|
||||
"miapass" (or "freenode:miapass" if no server was specified in the relay).
|
||||
|
||||
For example if you use WeeChat as IRC client of the relay, with a server called
|
||||
"relay" and the relay password "secret", you can setup the password with this
|
||||
command:
|
||||
|
||||
----
|
||||
/set irc.server.relay.password "freenode:secret"
|
||||
----
|
||||
|
||||
[[relay_weechat_protocol]]
|
||||
==== Protocollo WeeChat
|
||||
|
||||
@@ -4103,7 +4126,7 @@ Matching groups can be used in "replace":
|
||||
(example: `+${hide:*,${re:2}}+` is the group #2 with all chars replaced by
|
||||
`+*+`).
|
||||
|
||||
Example: use bold for words between "*":
|
||||
Example: use bold for words between `+*+`:
|
||||
|
||||
----
|
||||
/\*([^ ]+)\*/*${color:bold}${re:1}${color:-bold}*/
|
||||
|
||||
@@ -252,6 +252,8 @@ _isupport_ (string) +
|
||||
_prefix_modes_ (string) +
|
||||
_prefix_chars_ (string) +
|
||||
_nick_max_length_ (integer) +
|
||||
_user_max_length_ (integer) +
|
||||
_host_max_length_ (integer) +
|
||||
_casemapping_ (integer) +
|
||||
_chantypes_ (string) +
|
||||
_chanmodes_ (string) +
|
||||
@@ -970,6 +972,7 @@ _charset_ (string) +
|
||||
_priority_ (integer) +
|
||||
_initialized_ (integer) +
|
||||
_debug_ (integer) +
|
||||
_upgrading_ (integer) +
|
||||
_variables_ (hashtable) +
|
||||
_prev_plugin_ (pointer, hdata: "plugin") +
|
||||
_next_plugin_ (pointer, hdata: "plugin") +
|
||||
|
||||
@@ -10,6 +10,8 @@
|
||||
|
||||
| alias | alias_default | デフォルトで定義された別名のリスト | - | -
|
||||
|
||||
| buflist | buflist | list of buffers in a buflist bar item | - | buflist bar item name (optional)
|
||||
|
||||
| fset | fset_option | fset オプションのリスト | fset オプションポインタ (任意) | オプション名 (ワイルドカード "*" を使うことができます) (任意)
|
||||
|
||||
| guile | guile_script | スクリプトのリスト | スクリプトポインタ (任意) | スクリプト名 (ワイルドカード "*" を使うことができます) (任意)
|
||||
|
||||
@@ -108,6 +108,10 @@
|
||||
|
||||
| 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_width | 端末の幅 | -
|
||||
|
||||
@@ -62,6 +62,8 @@
|
||||
|
||||
| unix_socket_path | string |
|
||||
|
||||
| abstract_unix_socket | string |
|
||||
|
||||
| path_as_is | long |
|
||||
|
||||
| proxy_service_name | string |
|
||||
@@ -72,15 +74,21 @@
|
||||
|
||||
| tcp_fastopen | long |
|
||||
|
||||
| socks5_auth | long |
|
||||
|
||||
| haproxyprotocol | long |
|
||||
|
||||
| doh_url | string |
|
||||
|
||||
| netrc | long | ignored, optional, required
|
||||
|
||||
| userpwd | 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 |
|
||||
|
||||
@@ -104,6 +112,8 @@
|
||||
|
||||
| login_options | string |
|
||||
|
||||
| disallow_username_in_url | long |
|
||||
|
||||
| autoreferer | long |
|
||||
|
||||
| followlocation | long |
|
||||
@@ -114,8 +124,6 @@
|
||||
|
||||
| postfields | string |
|
||||
|
||||
| httppost | list |
|
||||
|
||||
| referer | string |
|
||||
|
||||
| useragent | string |
|
||||
@@ -170,6 +178,8 @@
|
||||
|
||||
| stream_weight | long |
|
||||
|
||||
| request_target | string |
|
||||
|
||||
| mail_from | string |
|
||||
|
||||
| mail_rcpt | list |
|
||||
@@ -258,6 +268,10 @@
|
||||
|
||||
| maxfilesize_large | long long |
|
||||
|
||||
| timevalue_large | long long |
|
||||
|
||||
| upload_buffersize | long |
|
||||
|
||||
| timeout | long |
|
||||
|
||||
| low_speed_limit | long |
|
||||
@@ -300,9 +314,15 @@
|
||||
|
||||
| connect_to | list |
|
||||
|
||||
| happy_eyeballs_timeout_ms | long |
|
||||
|
||||
| dns_shuffle_addresses | long |
|
||||
|
||||
| upkeep_interval_ms | long |
|
||||
|
||||
| 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 |
|
||||
|
||||
@@ -342,7 +362,7 @@
|
||||
|
||||
| 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 |
|
||||
|
||||
@@ -372,11 +392,11 @@
|
||||
|
||||
| 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_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 |
|
||||
|
||||
@@ -388,6 +408,10 @@
|
||||
|
||||
| proxy_tlsauth_username | string |
|
||||
|
||||
| tls13_ciphers | list |
|
||||
|
||||
| proxy_tls13_ciphers | list |
|
||||
|
||||
| ssh_auth_types | mask | none, policy_flag, flag
|
||||
|
||||
| ssh_public_keyfile | string |
|
||||
@@ -398,6 +422,8 @@
|
||||
|
||||
| ssh_knownhosts | string |
|
||||
|
||||
| ssh_compression | long |
|
||||
|
||||
| new_file_perms | long |
|
||||
|
||||
| new_directory_perms | long |
|
||||
|
||||
@@ -7,8 +7,6 @@
|
||||
| 別名 | コマンド | 補完
|
||||
|
||||
| /AAWAY | /allserv /away | -
|
||||
| /AME | /allchan /me | -
|
||||
| /AMSG | /allchan /msg * | -
|
||||
| /ANICK | /allserv /nick | -
|
||||
| /BEEP | /print -beep | -
|
||||
| /BYE | /quit | -
|
||||
@@ -35,8 +33,9 @@
|
||||
| /UMODE | /mode $nick | -
|
||||
| /V | /command core version | -
|
||||
| /W | /who | -
|
||||
| /WC | /window merge | -
|
||||
| /WC | /window close | -
|
||||
| /WI | /whois | -
|
||||
| /WII | /whois $1 $1 | -
|
||||
| /WM | /window merge | -
|
||||
| /WW | /whowas | -
|
||||
|===
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
** デフォルト値: `+0+`
|
||||
|
||||
* [[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>
|
||||
<filter>
|
||||
|
||||
-bar: ヘルプバーを追加します
|
||||
-refresh: オプションリストを再読込した後、画面全体を再描画します (コマンド: /window refresh)
|
||||
-up: 選択行を "number" 行だけ上に移動
|
||||
-down: 選択行を "number" 行だけ下に移動
|
||||
-left: fset バッファをその幅の "percent" だけ左にスクロール
|
||||
-right: fset バッファをその幅の "percent" だけ右にスクロール
|
||||
-go: 番号を使って行を選択、1 行目は 0 ("end" で最後の行を選択)
|
||||
-toggle: ブール値をトグル
|
||||
-add: 整数型と色の場合は "value" を追加 (負の値でも可)、その他の型の場合は値を設定または追加 (負の値を設定、正の値を追加)
|
||||
-reset: オプションの値をリセット
|
||||
-unset: オプションをアンセット
|
||||
-set: オプションの値を編集する目的で /set コマンドを入力に追加 (カーソルを値の先頭に移動)
|
||||
-setnew: オプションの新しい値を編集する目的で /set コマンドを入力に追加
|
||||
-append: オプションの値に何かを追加する目的で /set コマンドを追加 (カーソルを値の末尾に移動)
|
||||
-mark: マークをトグル
|
||||
-format: 次の利用可能な書式に切り替える
|
||||
-export: 表示されているオプションと値をファイルにエクスポート (各行の書式: "/set name value" または "/unset name")
|
||||
-help: エクスポートされるファイルにオプションのヘルプを強制的に書き込む (/help fset.look.export_help_default を参照してください)
|
||||
-nohelp: エクスポートされるファイルにオプションのヘルプを書き込まない (/help fset.look.export_help_default を参照してください)
|
||||
filter: 表示オプションを制限するフィルタ (このフィルタを fset バッファの入力として使うことも可能です); フィルタの書式は以下の例に従ってください:
|
||||
* すべてのオプションを表示します (フィルタなし)
|
||||
xxx 名前に "xxx" が含まれるオプションだけを表示
|
||||
f:xxx 設定ファイル "xxx" に含まれるオプションだけを表示
|
||||
t:xxx 型が "xxx" (bool/int/str/col) のオプションだけを表示
|
||||
d 変更されたオプションだけを表示
|
||||
d:xxx 変更されたオプションかつ名前に "xxx" が含まれるものだけを表示
|
||||
d=xxx 変更されたオプションかつ値に "xxx" が含まれるものだけを表示
|
||||
d==xxx 変更されたオプションかつ値が "xxx" と完全に一致するものだけを表示
|
||||
=xxx 値に "xxx" が含まれるオプションだけを表示
|
||||
==xxx 値が "xxx" と完全に一致するオプションだけを表示
|
||||
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
|
||||
-bar: add the help bar
|
||||
-refresh: refresh list of options, then whole screen (command: /window refresh)
|
||||
-up: move the selected line up by "number" lines
|
||||
-down: move the selected line down by "number" lines
|
||||
-left: scroll the fset buffer by "percent" of width on the left
|
||||
-right: scroll the fset buffer by "percent" of width on the right
|
||||
-go: select a line by number, first line number is 0 ("end" to select the last line)
|
||||
-toggle: toggle the boolean 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 the value of option
|
||||
-unset: unset the option
|
||||
-set: add the /set command in input to edit the value of option (move the cursor at the beginning of value)
|
||||
-setnew: add the /set command in input to edit a new value for the option
|
||||
-append: add the /set command to append something in the value of option (move the cursor at the end of value)
|
||||
-mark: toggle mark
|
||||
-format: switch to the next available format
|
||||
-export: export the options and values displayed in a file (each line has format: "/set name value" or "/unset name")
|
||||
-help: force writing of help on options in exported file (see /help fset.look.export_help_default)
|
||||
-nohelp: do not write help on options in exported file (see /help fset.look.export_help_default)
|
||||
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 show only options with "xxx" in name
|
||||
f:xxx show only configuration file "xxx"
|
||||
t:xxx show only type "xxx" (bool/int/str/col)
|
||||
d show only changed options
|
||||
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 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 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 を参照してください) を設定するには、以下のオプションを使います:
|
||||
- fset.format.option1: オプションに対する 1 番目の書式
|
||||
- fset.format.option2: オプションに対する 2 番目の書式
|
||||
The lines with options are displayed using string evaluation (see /help eval for the format), with these options:
|
||||
- fset.format.option1: first format for an option
|
||||
- fset.format.option2: second format for an option
|
||||
|
||||
オプションの表示書式には以下の変数を使うことが可能です:
|
||||
- オプションに関するデータ、色をつけたり、スペースで右寄せできます:
|
||||
- ${file}: 設定ファイル名 ("weechat" や "irc" など)
|
||||
- ${section}: セクション名
|
||||
- ${option}: オプション名
|
||||
- ${name}: 完全なオプション名 (file.section.option)
|
||||
- ${parent_name}: 親オプション名
|
||||
- ${type}: オプション型 (翻訳済み)
|
||||
- ${type_en}: オプション型 (英語)
|
||||
- ${type_short}: オプション型の略称 (bool/int/str/col)
|
||||
- ${type_tiny}: オプション型の短縮名 (b/i/s/c)
|
||||
- ${default_value}: オプションのデフォルト値
|
||||
- ${default_value_undef}: デフォルト値が null の場合に "1"、それ以外の場合に "0"
|
||||
- ${value}: オプションの値
|
||||
- ${value_undef}: オプションの値が null の場合に "1"、それ以外の場合に "0"
|
||||
- ${value_changed}: オプションの値がデフォルト値と異なる場合に "1"、それ以外の場合に "0"
|
||||
- ${value2}: オプションの値、null の場合に値は継承されます
|
||||
- ${parent_value}: 親オプションの値
|
||||
- ${min}: 最小値
|
||||
- ${max}: 最大値
|
||||
- ${description}: オプションの説明 (翻訳済み)
|
||||
- ${description2}: オプションの説明 (翻訳済み)、オプションの説明がない場合は "(説明がありません)" と表示されます
|
||||
- ${description_en}: オプションの説明 (英語)
|
||||
- ${description_en2}: オプションの説明 (英語)、オプションの説明がない場合は "(no description)" と表示されます
|
||||
- ${string_values}: 文字列で設定可能な整数型オプションで使える文字列値
|
||||
- ${marked}: オプションがマークされている場合に "1"、それ以外の場合に "0"
|
||||
- ${index}: オプションのリストインデックス
|
||||
- オプションに関するデータ、色を付けることが可能、スペースを含めることは不可能:
|
||||
- 上記変数名の前にアンダースコアを付ける、例: ${_name}、${_type}、...
|
||||
- オプションに関するデータ、生情報 (色もスペースもつけられません):
|
||||
- 上記変数名の前にアンダースコアを 2 つ付ける、例: ${__name}、${__type}、...
|
||||
- オプションに関するデータ、スペースのみつけられます:
|
||||
- 上記変数名の前に "empty_" を付ける、例: ${empty_name}、${empty_type}
|
||||
- その他のデータ:
|
||||
- ${selected_line}: 行が選択されている場合に "1"、それ以外の場合に "0"
|
||||
- ${newline}: この位置に改行を挿入します、オプションは複数行に渡って表示されます
|
||||
The following variables can be used in these options:
|
||||
- option data, with color and padded by spaces on the right:
|
||||
- ${file}: configuration file (for example "weechat" or "irc")
|
||||
- ${section}: section
|
||||
- ${option}: option name
|
||||
- ${name}: full option name (file.section.option)
|
||||
- ${parent_name}: parent option name
|
||||
- ${type}: option type (translated)
|
||||
- ${type_en}: option type (in English)
|
||||
- ${type_short}: short option type (bool/int/str/col)
|
||||
- ${type_tiny}: tiny option type (b/i/s/c)
|
||||
- ${default_value}: option default value
|
||||
- ${default_value_undef}: "1" if default value is null, otherwise "0"
|
||||
- ${value}: option value
|
||||
- ${value_undef}: "1" if value is null, otherwise "0"
|
||||
- ${value_changed}: "1" if value is different from default value, otherwise "0"
|
||||
- ${value2}: option value, with inherited value if null
|
||||
- ${parent_value}: parent option value
|
||||
- ${min}: min value
|
||||
- ${max}: max value
|
||||
- ${description}: option description (translated)
|
||||
- ${description2}: option description (translated), "(no description)" (translated) if there's no description
|
||||
- ${description_en}: option description (in English)
|
||||
- ${description_en2}: option description (in English), "(no description)" if there's no description
|
||||
- ${string_values}: string values allowed for set of an integer option using strings
|
||||
- ${marked}: "1" if option is marked, otherwise "0"
|
||||
- ${index}: index of option in list
|
||||
- option data, with color but no spaces:
|
||||
- same names prefixed by underscore, for example: ${_name}, ${_type}, ...
|
||||
- option data, raw format (no colors/spaces):
|
||||
- same names prefixed by two underscores, for example: ${__name}, ${__type}, ...
|
||||
- option data, only spaces:
|
||||
- same names prefixed with "empty_", for example: ${empty_name}, ${empty_type}
|
||||
- other data:
|
||||
- ${selected_line}: "1" if the line is selected, otherwise "0"
|
||||
- ${newline}: insert a new line at point, so the option is displayed on multiple lines
|
||||
|
||||
fset バッファを操作するキーと入力:
|
||||
up 1 行上に移動
|
||||
down 1 行下に移動
|
||||
pgup 1 ページ上に移動
|
||||
pgdn 1 ページ下に移動
|
||||
alt-home << 最上部に移動
|
||||
alt-end >> 最下部に移動
|
||||
F11 < 水平左方向にスクロール
|
||||
F12 > 水平右方向にスクロール
|
||||
Keys and input to move in on fset buffer:
|
||||
up move one line up
|
||||
down move one line down
|
||||
pgup move one page up
|
||||
pgdn move one page down
|
||||
alt-home << move to first line
|
||||
alt-end >> move to last line
|
||||
F11 < scroll horizontally on the left
|
||||
F12 > scroll horizontally on the right
|
||||
|
||||
fset バッファでオプションを設定するためのキーと入力:
|
||||
alt+space t ブール値をトグル
|
||||
alt+'-' - 整数型および色の場合は値を 1 減らす、その他の型の場合は値を設定する
|
||||
alt+'+' + 整数型および色の場合は値を 1 増やす、その他の型の場合は値を追加する
|
||||
alt+f, alt+r r 値をリセット
|
||||
alt+f, alt+u u 値をアンセット
|
||||
alt+enter s 値を設定
|
||||
alt+f, alt+n n 新しい値を設定
|
||||
alt+f, alt+a a 値を追加
|
||||
alt+',' , オプションをマーク/アンマーク
|
||||
shift+up 上の項目に移動してオプションをマーク/アンマーク
|
||||
shift+down オプションをマーク/アンマークして下の項目に移動
|
||||
m:xxx フィルタ "xxx" にマッチしたことで表示されるオプションをマーク (オプションの名前や値に対する任意のフィルタが使えます、フィルタの詳細は上を参照してください)
|
||||
u:xxx フィルタ "xxx" にマッチしたことで表示されるオプションをアンマーク (オプションの名前や値に対する任意のフィルタが使えます、フィルタの詳細は上を参照してください)
|
||||
Keys and input to set options on fset buffer:
|
||||
alt+space t toggle boolean value
|
||||
alt+'-' - subtract 1 from value for integer/color, set value for other types
|
||||
alt+'+' + add 1 to value for integer/color, append to value for other types
|
||||
alt+f, alt+r r reset value
|
||||
alt+f, alt+u u unset value
|
||||
alt+enter s set value
|
||||
alt+f, alt+n n set new value
|
||||
alt+f, alt+a a append to value
|
||||
alt+',' , mark/unmark option
|
||||
shift+up move one line up and mark/unmark option
|
||||
shift+down mark/unmark option and move one line down
|
||||
m:xxx mark options displayed that are matching filter "xxx" (any filter on option or value is allowed, see filters above)
|
||||
u:xxx unmark options displayed that are matching filter "xxx" (any filter on option or value is allowed, see filters above)
|
||||
|
||||
fset バッファを操作するその他のキーと入力:
|
||||
ctrl+L オプションの再読込とスクリーンの再描画 (コマンド: /fset -refresh)
|
||||
$ オプションの再読込 (オプションのマーク状態は変わりません)
|
||||
$$ オプションの再読込 (すべてのオプションをアンマーク)
|
||||
alt+p p プラグイン説明のオプションをトグル (plugins.desc.*)
|
||||
alt+v v ヘルプバーをトグル
|
||||
s:x,y オプションをフィールド x と y でソート (/help fset.look.sort を参照してください)
|
||||
s: ソートをリセットしてデフォルトの順番に整列 (/help fset.look.sort を参照してください)
|
||||
w:xxx オプションをファイル "xxx" にエクスポート
|
||||
w-:xxx ヘルプを含めずに、オプションをファイル "xxx" にエクスポート
|
||||
w+:xxx ヘルプを含めて、オプションをファイル "xxx" にエクスポート
|
||||
ctrl+X x オプション表示用の書式を切り替える
|
||||
q fset バッファを閉じる
|
||||
Other keys and input on fset buffer:
|
||||
ctrl+L refresh options and whole screen (command: /fset -refresh)
|
||||
$ refresh options (keep marked options)
|
||||
$$ refresh options (unmark all options)
|
||||
alt+p p toggle plugin description options (plugins.desc.*)
|
||||
alt+v v toggle help bar
|
||||
s:x,y sort options by fields x,y (see /help fset.look.sort)
|
||||
s: reset sort to its default value (see /help fset.look.sort)
|
||||
w:xxx export options in file "xxx"
|
||||
w-:xxx export options in file "xxx" without help
|
||||
w+:xxx export options in file "xxx" with help
|
||||
ctrl+X x switch the format used to display options
|
||||
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.
|
||||
|
||||
例:
|
||||
変更された IRC オプションを表示:
|
||||
Examples:
|
||||
show IRC options changed:
|
||||
/fset d:irc.*
|
||||
名前に "nicklist" が含まれるすべてのオプションを表示:
|
||||
show all options with "nicklist" in name:
|
||||
/fset nicklist
|
||||
値に "red" が含まれるすべてのオプションを表示:
|
||||
show all values which contain "red":
|
||||
/fset =red
|
||||
値が "red" と完全に一致するすべてのオプションを表示:
|
||||
show all values which are exactly "red":
|
||||
/fset ==red
|
||||
irc プラグインから整数型のすべてのオプションを表示:
|
||||
show all integer options in irc plugin:
|
||||
/fset c:${file} == irc && ${type_en} == integer
|
||||
----
|
||||
|
||||
@@ -124,7 +124,7 @@ WeeChat がサポートする機能: account-notify、away-notify、cap-notify
|
||||
* `+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]
|
||||
|
||||
server: サーバ名、これは:
|
||||
|
||||
@@ -12,51 +12,51 @@
|
||||
raw
|
||||
sslcertkey
|
||||
|
||||
list: list relay clients (only active relays)
|
||||
listfull: list relay clients (verbose, all relays)
|
||||
listrelay: list relays (name and port)
|
||||
add: add a relay (listen on a port/path)
|
||||
del: remove a relay (clients remain connected)
|
||||
start: listen on port
|
||||
restart: close the server socket and listen again on port (clients remain connected)
|
||||
stop: close the server socket (clients remain connected)
|
||||
name: relay name (see format below)
|
||||
port: port used for relay
|
||||
path: path used for relay (for UNIX domain socket only); "%h" at beginning of string is replaced by WeeChat home ("~/.weechat" by default), content is evaluated (see /help eval)
|
||||
raw: open buffer with raw Relay data
|
||||
sslcertkey: set SSL certificate/key using path in option relay.network.ssl_cert_key
|
||||
list: リレーするクライアントをリストアップ (アクティブなもののみ)
|
||||
listfull: リレーするクライアントをリストアップ (詳細、全てのリレー)
|
||||
listrelay: リレーをリストアップ (名前とポート番号)
|
||||
add: リレーを追加 (ポート/パスで接続を待ち受ける)
|
||||
del: リレーを削除 (クライアントとの接続は保持)
|
||||
start: ポートリッスンを開始する
|
||||
restart: サーバソケットを閉じて同じポートで接続を待つ (クライアントとの接続は保持)
|
||||
stop: サーバソケットを閉じる (クライアントとの接続は保持)
|
||||
name: リレー名 (以下の書式を参照してください)
|
||||
port: リレーが使うポート
|
||||
path: リレーが使うパス (UNIX ドメインソケット); 文字列先頭の "%h" は WeeChat ホーム (デフォルトは "~/.weechat") で置き換えられ、内容は評価されます (/help eval を参照してください)
|
||||
raw: 生リレーデータを表示するバッファを開く
|
||||
sslcertkey: オプション relay.network.ssl_cert_key のパスを使って SSL 証明書/鍵を指定
|
||||
|
||||
Relay name is: [ipv4.][ipv6.][ssl.]<protocol.name> or unix.[ssl.]<protocol.name>
|
||||
ipv4: force use of IPv4
|
||||
ipv6: force use of IPv6
|
||||
ssl: enable SSL
|
||||
unix: use UNIX domain socket
|
||||
protocol.name: protocol and name to relay:
|
||||
- protocol "irc": name is the server to share (optional, if not given, the server name must be sent by client in command "PASS", with format: "PASS server:password")
|
||||
- protocol "weechat" (name is not used)
|
||||
リレー名の書式: [ipv4.][ipv6.][ssl.]<protocol.name> または unix.[ssl.]<protocol.name>
|
||||
ipv4: IPv4 を強制的に利用
|
||||
ipv6: IPv6 を強制的に利用
|
||||
ssl: SSL を有効化
|
||||
unix: UNIX ドメインソケットを利用
|
||||
protocol.name: リレーするプロトコルと名前:
|
||||
- "irc" プロトコル: name は共有するサーバ名 (任意指定、指定しない場合、サーバ名は "PASS" コマンドでクライアントが送信するものと同じでなければいけません、"PASS" コマンドの書式は "PASS server:password")
|
||||
- "weechat" プロトコル (name は使われません)
|
||||
|
||||
The "irc" protocol allows any IRC client (including WeeChat itself) to connect on the port.
|
||||
The "weechat" protocol allows a remote interface to connect on the port, see the list here: https://weechat.org/about/interfaces
|
||||
"irc" プロトコルを指定した場合、どんな IRC クライアント (WeeChat 自身を含めて) でもポートに接続することができます。
|
||||
"weechat" プロトコルを指定した場合、リモートインターフェースを使ってポートに接続することができます、参照: https://weechat.org/about/interfaces
|
||||
|
||||
Without argument, this command opens buffer with list of relay clients.
|
||||
引数無しの場合、リレークライアントのリストを含むバッファを開く
|
||||
|
||||
Examples:
|
||||
irc proxy, for server "freenode":
|
||||
例:
|
||||
サーバ "freenode" に対する irc プロキシを設定:
|
||||
/relay add irc.freenode 8000
|
||||
irc proxy, for server "freenode", with SSL:
|
||||
サーバ "freenode" に対する SSL を有効化した irc プロキシを設定:
|
||||
/relay add ssl.irc.freenode 8001
|
||||
irc proxy, for all servers (client will choose), with SSL:
|
||||
SSL を有効化してすべてのサーバに対する irc プロキシを設定 (クライアントがサーバを選ぶ):
|
||||
/relay add ssl.irc 8002
|
||||
weechat protocol:
|
||||
weechat プロトコル:
|
||||
/relay add weechat 9000
|
||||
weechat protocol with SSL:
|
||||
SSL を有効化した weechat プロトコル:
|
||||
/relay add ssl.weechat 9001
|
||||
weechat protocol with SSL, using only IPv4:
|
||||
SSL を有効にした weechat プロトコル、IPv4 だけを利用:
|
||||
/relay add ipv4.ssl.weechat 9001
|
||||
weechat protocol with SSL, using only IPv6:
|
||||
SSL を有効にした weechat プロトコル、IPv6 だけを利用:
|
||||
/relay add ipv6.ssl.weechat 9001
|
||||
weechat protocol with SSL, using IPv4 + IPv6:
|
||||
SSL を有効にした weechat プロトコル、IPv4 と IPv6 を利用:
|
||||
/relay add ipv4.ipv6.ssl.weechat 9001
|
||||
weechat protocol over UNIX domain socket:
|
||||
UNIX ドメインソケットを介した weechat プロトコル:
|
||||
/relay add unix.weechat %h/relay_socket
|
||||
----
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
** 説明: 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*
|
||||
** 説明: pass:none[バッファに辞書が定義されていない場合に使用されるデフォルト辞書 (または辞書のコンマ区切りリスト) (空のままであれば明示的に有効化されたバッファを除いてスペルチェックを利用しない)]
|
||||
|
||||
@@ -194,30 +194,35 @@ command: 実行するコマンド (コマンドの最初に '/' が無い場合
|
||||
move up|down|left|right|area_up|area_down|area_left|area_right
|
||||
stop
|
||||
|
||||
go: チャットエリア、バー (バーの名前を使った場合)、座標 "x,y" にカーソルを移動
|
||||
move: 方向を指定してカーソルを移動
|
||||
stop: カーソルモードを終了
|
||||
go: move cursor to chat area, a bar (using bar name) or coordinates "x,y"
|
||||
move: move cursor with direction
|
||||
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.
|
||||
|
||||
カーソルモードにおけるチャットメッセージに対するデフォルトキー:
|
||||
m メッセージの引用
|
||||
q プレフィックスとメッセージを引用
|
||||
Q 時間、プレフィックス、メッセージを引用
|
||||
Default keys in cursor mode on chat messages:
|
||||
m quote message
|
||||
q quote prefix + message
|
||||
Q quote time + prefix + message
|
||||
|
||||
カーソルモードにおけるニックネームリストに対するデフォルトキー:
|
||||
b ニックネームを参加禁止にする (/ban)
|
||||
k ニックネームをキックする (/kick)
|
||||
K ニックネームを参加禁止にしてキックする (/kickban)
|
||||
q ニックネームに送信するクエリを開く (/query)
|
||||
w ユーザ情報を要求 (/whois)
|
||||
Default keys in cursor mode on nicklist:
|
||||
b ban nick (/ban)
|
||||
k kick nick (/kick)
|
||||
K kick and ban nick (/kickban)
|
||||
q open query with nick (/query)
|
||||
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
|
||||
x=10、y=5 の位置に移動:
|
||||
go to coordinates x=10, y=5:
|
||||
/cursor go 10,5
|
||||
----
|
||||
|
||||
@@ -974,6 +979,7 @@ command: 実行するコマンド (コマンドが '/' で始まらない場合
|
||||
resize [-window <number>] [h|v][+|-]<pct>
|
||||
balance
|
||||
merge [-window <number>] [all]
|
||||
close [-window <number>]
|
||||
page_up|page_down [-window <number>]
|
||||
refresh
|
||||
scroll [-window <number>] [+|-]<value>[s|m|h|d|M|y]
|
||||
@@ -983,59 +989,62 @@ command: 実行するコマンド (コマンドが '/' で始まらない場合
|
||||
zoom [-window <number>]
|
||||
bare [<delay>]
|
||||
|
||||
list: 開けられたウィンドウのリストアップ (引数無しの場合、このリストが表示されます)
|
||||
-1: 前のウィンドウに移動
|
||||
+1: 次のウィンドウに移動
|
||||
b#: バッファ番号 # のウィンドウに移動
|
||||
up: 現在のウィンドウの上のウィンドウに移動
|
||||
down: 現在のウィンドウの下のウィンドウに移動
|
||||
left: 左のウィンドウに移動
|
||||
right: 右のウィンドウに移動
|
||||
number: ウィンドウ番号 (/window list を参照してください)
|
||||
splith: 現在のウィンドウを水平分割 (/window merge で元に戻る)
|
||||
splitv: 現在のウィンドウを垂直分割 (/window merge で元に戻る)
|
||||
resize: ウィンドウサイズの変更、新しいサイズは親ウィンドウの <pct> パーセントで指定
|
||||
"h" または "v" を指定した場合、最近接の親ウィンドウの横幅または縦幅を変更
|
||||
balance: 全てのウィンドウのサイズを均等にする
|
||||
merge: ウィンドウを他のものをマージする (all = 一つのウィンドウにまとめる)
|
||||
page_up: 1 ページ分上方向にスクロール
|
||||
page_down: 1 ページ分下方向にスクロール
|
||||
refresh: 画面のリフレッシュ
|
||||
scroll: 指定行数 (+/-N) か指定期間 (s=秒、m=分、h=時間、d=日、M=月、y=年) スクロール
|
||||
scroll_horiz: 指定列数 (+/-N) かウィンドウサイズの割合で水平方向にスクロール (フリーコンテンツを含むバッファ以外は無効)
|
||||
scroll_up: 数行分上方向にスクロール
|
||||
scroll_down: 数行分下方向にスクロール
|
||||
scroll_top: バッファの一番上にスクロール
|
||||
scroll_bottom: バッファの一番下にスクロール
|
||||
scroll_beyond_end: バッファの末尾を越えてスクロール
|
||||
scroll_previous_highlight: 一つ前のハイライトにスクロール
|
||||
scroll_next_highlight: 次のハイライトにスクロール
|
||||
scroll_unread: 未読マーカにスクロール
|
||||
swap: 2 つのウィンドウのバッファを入れ替え (ターゲットウィンドウの方向を任意指定)
|
||||
zoom: ウィンドウを拡大
|
||||
bare: 最小限表示を切り替える (自動的に標準表示モードに戻るまでの時間を秒単位で任意指定)
|
||||
list: list opened windows (without argument, this list is displayed)
|
||||
-1: jump to previous window
|
||||
+1: jump to next window
|
||||
b#: jump to next window displaying buffer number #
|
||||
up: switch to window above current one
|
||||
down: switch to window below current one
|
||||
left: switch to window on the left
|
||||
right: switch to window on the right
|
||||
number: window number (see /window list)
|
||||
splith: split current window horizontally (to undo: /window merge)
|
||||
splitv: split current window vertically (to undo: /window merge)
|
||||
resize: resize window size, new size is <pct> percentage of parent window
|
||||
if "h" or "v" is specified, the resize affects the nearest parent window with a split of this type (horizontal/vertical)
|
||||
balance: balance the sizes of all windows
|
||||
merge: merge window with another (all = keep only one window)
|
||||
close: close window
|
||||
page_up: scroll one page up
|
||||
page_down: scroll one page down
|
||||
refresh: refresh screen
|
||||
scroll: scroll a number of lines (+/-N) or with time: s=seconds, m=minutes, h=hours, d=days, M=months, y=years
|
||||
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_up: scroll a few lines up
|
||||
scroll_down: scroll a few lines down
|
||||
scroll_top: scroll to top of buffer
|
||||
scroll_bottom: scroll to bottom of buffer
|
||||
scroll_beyond_end: scroll beyond the end of buffer
|
||||
scroll_previous_highlight: scroll to previous highlight
|
||||
scroll_next_highlight: scroll to next highlight
|
||||
scroll_unread: scroll to unread marker
|
||||
swap: swap buffers of two windows (with optional direction for target window)
|
||||
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
|
||||
|
||||
例:
|
||||
バッファ #1 を表示しているウィンドウに移動:
|
||||
Examples:
|
||||
jump to window displaying buffer #1:
|
||||
/window b1
|
||||
2 行分上方向にスクロール:
|
||||
scroll 2 lines up:
|
||||
/window scroll -2
|
||||
2 日分上方向にスクロール:
|
||||
scroll 2 days up:
|
||||
/window scroll -2d
|
||||
今日の最初にスクロール:
|
||||
scroll to beginning of current day:
|
||||
/window scroll -d
|
||||
ウィンドウ #2 を拡大:
|
||||
zoom on window #2:
|
||||
/window zoom -window 2
|
||||
ウィンドウを水平分割 (上側ウィンドウの縦幅は現在のウィンドウの縦幅の 30%):
|
||||
split window horizontally using 30% of space for the window on top:
|
||||
/window splith 30
|
||||
ウィンドウサイズを親ウィンドウサイズの 75% に変更:
|
||||
resize window to 75% of the parent window size:
|
||||
/window resize 75
|
||||
ウィンドウサイズの横幅を 10% 増やす:
|
||||
resize vertical split, add 10% in size:
|
||||
/window resize v+10
|
||||
分割を元に戻す:
|
||||
remove the split, keep the current window:
|
||||
/window merge
|
||||
最小限表示を 2 秒間有効にする:
|
||||
close the current window:
|
||||
/window close
|
||||
enable bare display for 2 seconds:
|
||||
/window bare 2
|
||||
----
|
||||
|
||||
@@ -921,9 +921,9 @@
|
||||
** デフォルト値: `+""+`
|
||||
|
||||
* [[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+`
|
||||
|
||||
* [[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-command.c | buflist コマンド
|
||||
| buflist-config.c | buflist 設定オプション (buflist.conf ファイル)
|
||||
| buflist-info.c | buflist の情報/インフォリスト/hdata
|
||||
| buflist-mouse.c | buflist マウス動作
|
||||
| charset/ | charset プラグイン
|
||||
| charset.c | charset 関数
|
||||
@@ -406,9 +407,21 @@ WeeChat "core" は以下のディレクトリに配置されています:
|
||||
| test-core-util.cpp | テスト: ユーティリティ関数
|
||||
| gui/ | インターフェースの単体テストを収める最上位ディレクトリ
|
||||
| test-gui-line.cpp | テスト: 行
|
||||
// TRANSLATION MISSING
|
||||
| test-gui-nick.cpp | テスト: nicks
|
||||
| plugins/ | プラグインの単体テストを収める最上位ディレクトリ
|
||||
| irc/ | IRC プラグインの単体テストを収める最上位ディレクトリ
|
||||
// TRANSLATION MISSING
|
||||
| test-irc-color.cpp | Tests: IRC colors.
|
||||
| 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 プロトコル
|
||||
|===
|
||||
|
||||
@@ -873,34 +886,47 @@ WeeChat は文字列中に独自の色コードを使うことで、属性
|
||||
|
||||
[width="100%",cols="4,2,2,8",options="header"]
|
||||
|===
|
||||
| コード | 例 | エリア | 説明
|
||||
| [hex]#19# + STD | [hex]#19# `+01+` | chat + bars | オプションを使って属性と色を指定、色コードは以下の表を参照
|
||||
| [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)EXT | [hex]#19# `+F@00214+` | chat + bars | 文字色 (拡張色) を設定
|
||||
| [hex]#19# + "B" + STD | [hex]#19# `+B05+` | chat + bars | 背景色 (WeeChat 色) を設定
|
||||
| [hex]#19# + "B" + EXT | [hex]#19# `+B@00124+` | chat + bars | 背景色 (拡張色) を設定
|
||||
| [hex]#19# + "*" + (A)STD | [hex]#19# `+*05+` | chat + bars | 文字色(WeeChat 色) を設定
|
||||
| [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 + "," + EXT | [hex]#19# `+*01,@00214+` | chat + bars | 文字色 (WeeChat 色) と背景色 (拡張色) を設定
|
||||
| [hex]#19# + "*" + (A)EXT + "," + STD | [hex]#19# `+*@00214,05+` | chat + bars | 文字色 (拡張色) と背景色 (WeeChat 色) を設定
|
||||
| [hex]#19# + "*" + (A)EXT + "," + EXT | [hex]#19# `+*@00214,@00017+` | chat + bars | 文字色および背景色 (拡張色) を設定
|
||||
| [hex]#19# + "b" + "F" | [hex]#19# `+bF+` | bars | バーの文字色を設定
|
||||
| [hex]#19# + "b" + "D" | [hex]#19# `+bD+` | bars | バーの区切り文字色を設定
|
||||
| [hex]#19# + "b" + "B" | [hex]#19# `+bB+` | bars | バーの背景色を設定
|
||||
| [hex]#19# + "b" + "_" | [hex]#19# `+b_+` | input bar | 文字入力を開始 ("input_text" 要素のみで利用可)
|
||||
| [hex]#19# + "b" + "-" | [hex]#19# `+b-+` | input bar | 隠し文字入力を開始 ("input_text" 要素のみで利用可)
|
||||
| [hex]#19# + "b" + "#" | [hex]#19# `+b#+` | input bar | カーソル文字を移動 ("input_text" 要素のみで利用可)
|
||||
| [hex]#19# + "b" + "i" | [hex]#19# `+bi+` | bars | 要素を開始
|
||||
| [hex]#19# + "b" + "l" (小文字の L) | [hex]#19# `+bl+` | 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 | 属性と色をリセット
|
||||
| コード | 例 | エリア | 説明
|
||||
| [hex]#19# + STD | [hex]#19# `+01+` | chat + bars | オプションを使って属性と色を指定、色コードは以下の表を参照
|
||||
| [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)EXT | [hex]#19# `+F@00214+` | chat + bars | 文字色 (拡張色) を設定
|
||||
| [hex]#19# + "B" + STD | [hex]#19# `+B05+` | chat + bars | 背景色 (WeeChat 色) を設定
|
||||
| [hex]#19# + "B" + EXT | [hex]#19# `+B@00124+` | chat + bars | 背景色 (拡張色) を設定
|
||||
| [hex]#19# + "*" + (A)STD | [hex]#19# `+*05+` | chat + bars | 文字色(WeeChat 色) を設定
|
||||
| [hex]#19# + "*" + (A)EXT | [hex]#19# `+*@00214+` | chat + bars | 文字色 (拡張色) を設定
|
||||
| [hex]#19# + "*" + (A)STD + "," + STD ^(1)^ | [hex]#19# `+*08,05+` | chat + bars | 文字色および背景色 (WeeChat 色) を設定
|
||||
| [hex]#19# + "*" + (A)STD + "," + EXT ^(1)^ | [hex]#19# `+*01,@00214+` | chat + bars | 文字色 (WeeChat 色) と背景色 (拡張色) を設定
|
||||
| [hex]#19# + "*" + (A)EXT + "," + STD ^(1)^ | [hex]#19# `+*@00214,05+` | chat + bars | 文字色 (拡張色) と背景色 (WeeChat 色) を設定
|
||||
| [hex]#19# + "*" + (A)EXT + "," + EXT ^(1)^ | [hex]#19# `+*@00214,@00017+` | chat + bars | 文字色および背景色 (拡張色) を設定
|
||||
| [hex]#19# + "*" + (A)STD + "~" + STD | [hex]#19# `+*08~05+` | chat + bars | 文字色および背景色 (WeeChat 色) を設定
|
||||
| [hex]#19# + "*" + (A)STD + "~" + EXT | [hex]#19# `+*01~@00214+` | chat + bars | 文字色 (WeeChat 色) と背景色 (拡張色) を設定
|
||||
| [hex]#19# + "*" + (A)EXT + "~" + STD | [hex]#19# `+*@00214~05+` | chat + bars | 文字色 (拡張色) と背景色 (WeeChat 色) を設定
|
||||
| [hex]#19# + "*" + (A)EXT + "~" + EXT | [hex]#19# `+*@00214~@00017+` | chat + bars | 文字色および背景色 (拡張色) を設定
|
||||
| [hex]#19# + "b" + "F" | [hex]#19# `+bF+` | bars | バーの文字色を設定
|
||||
| [hex]#19# + "b" + "D" | [hex]#19# `+bD+` | bars | バーの区切り文字色を設定
|
||||
| [hex]#19# + "b" + "B" | [hex]#19# `+bB+` | bars | バーの背景色を設定
|
||||
| [hex]#19# + "b" + "_" | [hex]#19# `+b_+` | input bar | 文字入力を開始 ("input_text" 要素のみで利用可)
|
||||
| [hex]#19# + "b" + "-" | [hex]#19# `+b-+` | input bar | 隠し文字入力を開始 ("input_text" 要素のみで利用可)
|
||||
| [hex]#19# + "b" + "#" | [hex]#19# `+b#+` | input bar | カーソル文字を移動 ("input_text" 要素のみで利用可)
|
||||
| [hex]#19# + "b" + "i" | [hex]#19# `+bi+` | bars | 要素を開始
|
||||
| [hex]#19# + "b" + "l" (小文字の L) | [hex]#19# `+bl+` | 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_ を参照):
|
||||
|
||||
@@ -1084,7 +1110,7 @@ _component_ には以下から 1 つ選んで記入してください:
|
||||
irc: add command /unquiet (closes #36)
|
||||
core: add callback "nickcmp" for nick comparison in buffers
|
||||
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
|
||||
core: update Japanese translations (patch #7783)
|
||||
----
|
||||
|
||||
@@ -51,10 +51,10 @@ https://weechat.org/about/interfaces
|
||||
[[compile_git]]
|
||||
=== 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 を使ってください。
|
||||
|
||||
他には「開発パッケージ」をインストール方法があります。この場合、インストールするのに必要なパッケージの数が減ります。このパッケージは
|
||||
@@ -74,7 +74,7 @@ brew info weechat
|
||||
以下のコマンドで WeeChat をインストールします:
|
||||
|
||||
----
|
||||
brew install weechat --with-aspell --with-curl --with-python --with-perl --with-ruby --with-lua --with-guile
|
||||
brew install weechat
|
||||
----
|
||||
|
||||
[[lost]]
|
||||
@@ -312,7 +312,7 @@ WeeChat は自動的にデフォルトバー "input" を作成します:
|
||||
=== どうすればニックネームリストを選択せずにテキストだけをコピー/ペーストできますか。
|
||||
|
||||
WeeChat バージョン 1.0 以上の場合、最小限表示を使うことができます
|
||||
(デフォルトキー: kbd:[Alt+l])。
|
||||
(デフォルトキー: kbd:[Alt+l] (`L`))。
|
||||
最小限表示では現在選択中のウィンドウの内容のみが表示され、フォーマットもされません。
|
||||
|
||||
矩形選択のできる端末を使ってください
|
||||
@@ -328,7 +328,7 @@ kbd:[Ctrl] + kbd:[Alt] + マウス選択です。
|
||||
[[urls]]
|
||||
=== どうすれば長い (一行以上に渡る) URL をクリックできますか。
|
||||
|
||||
WeeChat バージョン 1.0 以上の場合、最小限表示を使うことができます (デフォルトキー: kbd:[Alt+l])。
|
||||
WeeChat バージョン 1.0 以上の場合、最小限表示を使うことができます (デフォルトキー: kbd:[Alt+l] (`L`))。
|
||||
|
||||
URL を簡単にクリックできるようにするには、以下を試してみてください:
|
||||
|
||||
|
||||
@@ -100,14 +100,41 @@ int weechat_plugin_init (struct t_weechat_plugin *plugin,
|
||||
|
||||
* _plugin_: WeeChat プラグイン構造体へのポインタ。これはグローバルポインタ
|
||||
`weechat_plugin` を初期化する際に使われます
|
||||
* _argc_: プラグインに対する引数の数 (ユーザがコマンドラインで指定)
|
||||
* _argv_: プラグインに対する引数
|
||||
* _argc_: プラグインに対する引数の数
|
||||
// TRANSLATION MISSING
|
||||
* _argv_: プラグインに対する引数 (see below)
|
||||
|
||||
戻り値:
|
||||
|
||||
* _WEECHAT_RC_OK_ 成功した場合 (プラグインをロードします)
|
||||
* _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]]
|
||||
===== プラグインの優先度
|
||||
|
||||
@@ -254,6 +281,30 @@ weechat_plugin_end (struct t_weechat_plugin *plugin)
|
||||
* C 言語での使用例、
|
||||
* 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]]
|
||||
=== プラグイン
|
||||
|
||||
@@ -1489,7 +1540,7 @@ if (weechat_string_regcomp (&my_regex, "([0-9]{4})-([0-9]{2})-([0-9]{2})",
|
||||
|
||||
==== string_split
|
||||
|
||||
_WeeChat バージョン 2.5 で更新。_
|
||||
_WeeChat バージョン 2.5、2.6 で更新。_
|
||||
|
||||
1 つ以上の区切り文字に従って文字列を分割。
|
||||
|
||||
@@ -1498,13 +1549,17 @@ _WeeChat バージョン 2.5 で更新。_
|
||||
[source,C]
|
||||
----
|
||||
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_: 分割する文字列
|
||||
* _separators_: 分割に使う区切り文字
|
||||
// TRANSLATION MISSING
|
||||
* _strip_items_: chars to strip from returned items (left/right);
|
||||
optional, can be NULL
|
||||
* _flags_:
|
||||
デフォルト動作を変更するビットフラグの組合せ値; 値が 0 の場合、デフォルト動作
|
||||
(文字列の先頭と末尾にある区切り文字を削除しない、連続する区切り文字を 1 つにまとめない)
|
||||
@@ -1542,7 +1597,7 @@ C 言語での使用例:
|
||||
char **argv;
|
||||
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"
|
||||
argv[1] == "de"
|
||||
argv[2] == ""
|
||||
@@ -1553,7 +1608,7 @@ argv = weechat_string_split ("abc de fghi ", " ", 0, 0, &argc);
|
||||
*/
|
||||
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_RIGHT
|
||||
| WEECHAT_STRING_SPLIT_COLLAPSE_SEPS,
|
||||
@@ -1566,7 +1621,7 @@ argv = weechat_string_split ("abc de fghi ", " ",
|
||||
*/
|
||||
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_RIGHT
|
||||
| WEECHAT_STRING_SPLIT_COLLAPSE_SEPS
|
||||
@@ -1580,7 +1635,7 @@ argv = weechat_string_split ("abc de fghi ", " ",
|
||||
*/
|
||||
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_COLLAPSE_SEPS
|
||||
| WEECHAT_STRING_SPLIT_KEEP_EOL,
|
||||
@@ -1592,6 +1647,19 @@ argv = weechat_string_split ("abc de fghi ", " ",
|
||||
argc == 3
|
||||
*/
|
||||
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]
|
||||
@@ -4013,6 +4081,40 @@ value = 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
|
||||
|
||||
リストのサイズ (要素の個数) を返す。
|
||||
@@ -8891,7 +8993,7 @@ struct t_hashtable *options_url1 = weechat_hashtable_new (8,
|
||||
NULL);
|
||||
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/",
|
||||
options_url1,
|
||||
20000,
|
||||
@@ -8907,7 +9009,7 @@ struct t_hashtable *options_url2 = weechat_hashtable_new (8,
|
||||
NULL);
|
||||
if (options_url2)
|
||||
{
|
||||
weechat_hashtable_set (options, "httpheader",
|
||||
weechat_hashtable_set (options_url2, "httpheader",
|
||||
"Header1: value1\n"
|
||||
"Header2: value2");
|
||||
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]
|
||||
----
|
||||
int weechat_window_get_string (struct t_gui_window *window,
|
||||
const char *property);
|
||||
const char *weechat_window_get_string (struct t_gui_window *window,
|
||||
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
|
||||
|
||||
ウィンドウプロパティのポインタ値を返す。
|
||||
|
||||
@@ -40,8 +40,7 @@ WeeChat はすべてのコマンドにヘルプがあります。ヘルプを見
|
||||
/help command
|
||||
----
|
||||
|
||||
// TRANSLATION MISSING
|
||||
Help is available for options as well:
|
||||
各オプションに関するヘルプもあります:
|
||||
|
||||
----
|
||||
/help config.section.option
|
||||
@@ -51,9 +50,8 @@ Help is available for options as well:
|
||||
`weechat` もしくはプラグイン名)、`section`
|
||||
はこの設定のセクション、`option` はオプション名)。
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[[options]]
|
||||
== Set options
|
||||
== オプションの設定
|
||||
|
||||
オプションを設定するには以下のコマンドを入力してください:
|
||||
|
||||
|
||||
@@ -45,29 +45,28 @@ WeeChat (Wee Enhanced Environment for Chat)
|
||||
[[scripts_in_weechat]]
|
||||
== WeeChat のスクリプト
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[[weechat_architecture]]
|
||||
=== WeeChat architecture
|
||||
=== WeeChat のアーキテクチャ
|
||||
|
||||
WeeChat is single-threaded, and this applies to scripts as well.
|
||||
WeeChat はシングルスレッドで、この点はスクリプトも同じです。
|
||||
|
||||
The code of a script is executed:
|
||||
スクリプトのコードは以下の場合に実行されます:
|
||||
|
||||
* when the script is loaded: typically a call to the
|
||||
<<register_function,register function>>
|
||||
* when a hook callback is called by WeeChat (see the chapter <<hooks,フック>>).
|
||||
* スクリプトを読み込んだ時: 通常これは
|
||||
<<register_function,register function>> 関数を呼び出すことを意味します。
|
||||
* WeeChat がフックコールバックを呼び出した時 (<<hooks,フック>>を参照してください)。
|
||||
|
||||
When the code of a script is executed, WeeChat waits for the end of execution
|
||||
before going on. Therefore the script must *NOT* do blocking operations like
|
||||
network calls without using a dedicated API function like `hook_process`.
|
||||
スクリプトのコードが実行されると、WeeChat
|
||||
は一時停止し、実行の完了を待ってから再開します。このため、スクリプトは操作をブロックしては
|
||||
*絶対にいけません*。ネットワークを呼び出す等の場合には、`hook_process` 等の専用 API 関数を使ってください。
|
||||
|
||||
[IMPORTANT]
|
||||
A script must *NEVER* fork or create threads without using a dedicated API
|
||||
function, this can crash WeeChat. +
|
||||
If something must be run in background, the function `hook_process` can be used.
|
||||
See example in the chapter <<hook_process,バックグラウンドプロセスの実行>>
|
||||
and the documentation on the function `hook_process` in the
|
||||
link:weechat_plugin_api.ja.html#_hook_process[WeeChat プラグイン API リファレンス].
|
||||
WeeChat がクラッシュするため、スクリプトで fork したりスレッドを作ることは *禁止*
|
||||
されています。これが必要な場合には専用 API 関数を使ってください。 +
|
||||
どうしてもバックグラウンド実行を避けられない場合には `hook_process`
|
||||
関数を使ってください。<<hook_process,バックグラウンドプロセスの実行>>の例および
|
||||
link:weechat_plugin_api.ja.html#_hook_process[WeeChat プラグイン API リファレンス]内の
|
||||
`hook_process` 関数の文書を参照してください。
|
||||
|
||||
[[languages_specificities]]
|
||||
=== 言語仕様
|
||||
@@ -1024,9 +1023,9 @@ link:weechat_plugin_api.ja.html#_hook_process[WeeChat プラグイン API リフ
|
||||
[source,python]
|
||||
----
|
||||
script_options = {
|
||||
"option1" : "value1",
|
||||
"option2" : "value2",
|
||||
"option3" : "value3",
|
||||
"option1": "value1",
|
||||
"option2": "value2",
|
||||
"option3": "value3",
|
||||
}
|
||||
for option, default_value in script_options.items():
|
||||
if not weechat.config_is_set_plugin(option):
|
||||
|
||||
@@ -87,7 +87,7 @@ $ tar xvjf weechat-devel.tar.bz2
|
||||
$ cd weechat-devel
|
||||
----
|
||||
|
||||
ソースをビルドするには cmake を使うことを推奨します:
|
||||
ソースをビルドするには CMake を使うことを推奨します:
|
||||
|
||||
----
|
||||
$ mkdir build
|
||||
@@ -97,7 +97,7 @@ $ make
|
||||
$ make install
|
||||
----
|
||||
|
||||
cmake が無い場合は autotools を使うことも可能です:
|
||||
CMake が無い場合は autotools を使うことも可能です:
|
||||
|
||||
----
|
||||
$ ./autogen.sh
|
||||
|
||||
+178
-151
@@ -84,12 +84,11 @@ WeeChat をインストールするには、以下のものが必要です:
|
||||
[[source_package]]
|
||||
=== ソースパッケージ
|
||||
|
||||
WeeChat は cmake または autotools を使ってコンパイルできます (cmake を使うことが推奨されています)。
|
||||
WeeChat は CMake または autotools を使ってコンパイルできます (CMake を使うことが推奨されています)。
|
||||
|
||||
[NOTE]
|
||||
macOS では https://brew.sh/[Homebrew] を使ってください:
|
||||
`brew install weechat --with-python --with-perl`
|
||||
(ヘルプを見るには: `brew info weechat`)。
|
||||
`brew install weechat` (ヘルプを見るには: `brew info weechat`)。
|
||||
|
||||
[[dependencies]]
|
||||
==== 依存関係
|
||||
@@ -103,7 +102,7 @@ macOS では https://brew.sh/[Homebrew] を使ってください:
|
||||
| C コンパイラ
|
||||
(gcc, clang, ...) | | *必須* | ビルド
|
||||
| C++ コンパイラ | | | ビルドとテストの実行、JavaScript プラグイン
|
||||
| cmake | ≥ 3.0 | *必須* | ビルド (autotools でも可能ですが、cmake を推奨します)
|
||||
| cmake | ≥ 3.0 | *必須* | ビルド (autotools でも可能ですが、CMake を推奨します)
|
||||
| pkg-config | | *必須* | インストール済みライブラリを検出
|
||||
| libncursesw5-dev ^(2)^ | | *必須* | ncurses インターフェース
|
||||
| libcurl4-gnutls-dev | | *必須* | URL 転送
|
||||
@@ -114,7 +113,7 @@ macOS では https://brew.sh/[Homebrew] を使ってください:
|
||||
| ca-certificates | | | SSL 接続に必要な証明書、relay プラグインで SSL サポート
|
||||
| libaspell-dev
|
||||
∥ libenchant-dev | | | spell プラグイン
|
||||
| python-dev | 2.6 以上 ^(4)^ | | python プラグイン
|
||||
| python3-dev | ^(4)^ | | python プラグイン
|
||||
| libperl-dev | | | perl プラグイン
|
||||
| ruby2.5, ruby2.5-dev | 1.8 以上 | | ruby プラグイン
|
||||
| liblua5.3-dev | | | lua プラグイン
|
||||
@@ -137,8 +136,9 @@ macOS では https://brew.sh/[Homebrew] を使ってください:
|
||||
*されません* (ワイドキャラクタの表示にバグを生じるでしょう)。 +
|
||||
^(3)^ IRC SASL 認証で ECDSA-NIST256P-CHALLENGE を使うには、GnuTLS
|
||||
バージョン 3.0.21 以上が必要です。 +
|
||||
^(4)^ Python のバージョンは 2.7 をお勧めします (全てのスクリプトはバージョン 2.7
|
||||
で正しく動きますが、2.7 よりも低いバージョンまたは 3.0 以上のバージョンでは正しく動きません)。
|
||||
// TRANSLATION MISSING
|
||||
^(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
|
||||
ベースのディストリビューションを使っており、_/etc/apt/sources.list_ ファイルで "deb-src"
|
||||
@@ -149,7 +149,7 @@ Debian および Ubuntu
|
||||
----
|
||||
|
||||
[[compile_with_cmake]]
|
||||
==== cmake によるコンパイル
|
||||
==== CMake によるコンパイル
|
||||
|
||||
* システムディレクトリにインストールする場合 (_root_ 特権が必要です):
|
||||
|
||||
@@ -171,7 +171,7 @@ $ make
|
||||
$ make install
|
||||
----
|
||||
|
||||
cmake に対するオプションを指定するには、以下の書式を使ってください: "-DOPTION=VALUE"。
|
||||
CMake に対するオプションを指定するには、以下の書式を使ってください: "-DOPTION=VALUE"。
|
||||
|
||||
よく利用されるオプションのリスト:
|
||||
|
||||
@@ -257,12 +257,9 @@ cmake に対するオプションを指定するには、以下の書式を使
|
||||
| ENABLE_PYTHON | `ON`, `OFF` | ON |
|
||||
<<scripts_plugins,Python プラグイン>>のコンパイル。
|
||||
|
||||
| ENABLE_PYTHON3 | `ON`, `OFF` | OFF |
|
||||
Python 3 で <<scripts_plugins,Python プラグイン>>をコンパイル。 +
|
||||
このオプションの有効化は非推奨です。なぜなら、多くのスクリプトはまだ
|
||||
Python 3 と互換性がないからです。 +
|
||||
Python 3 への移行の進捗状況は以下のページを参照してください:
|
||||
https://weechat.org/scripts/python3/
|
||||
// TRANSLATION MISSING
|
||||
| ENABLE_PYTHON2 | `ON`, `OFF` | OFF |
|
||||
Compile <<scripts_plugins,Python plugin>> using Python 2 instead of Python 3.
|
||||
|
||||
| ENABLE_RELAY | `ON`, `OFF` | ON |
|
||||
<<relay_plugin,リレープラグイン>>のコンパイル。
|
||||
@@ -313,9 +310,9 @@ $ ccmake ..
|
||||
==== autotools によるコンパイル
|
||||
|
||||
[WARNING]
|
||||
cmake 以外を用いた WeeChat のビルドは公式にサポートされません。cmake
|
||||
CMake 以外を用いた WeeChat のビルドは公式にサポートされません。CMake
|
||||
を利用できない場合のみ autotools を使ってください。 +
|
||||
autotools を用いてビルドする場合、cmake よりも多くの依存パッケージとより長い時間が必要です。
|
||||
autotools を用いてビルドする場合、CMake よりも多くの依存パッケージとより長い時間が必要です。
|
||||
|
||||
* システムディレクトリにインストールする場合 (_root_ 特権が必要です):
|
||||
|
||||
@@ -354,13 +351,13 @@ $ ./configure --help
|
||||
* libcpputest-dev
|
||||
* C++ compiler
|
||||
|
||||
テストは WeeChat のコンパイル時に有効化しなければいけません (cmake を使う場合):
|
||||
テストは WeeChat のコンパイル時に有効化しなければいけません (CMake を使う場合):
|
||||
|
||||
----
|
||||
$ cmake .. -DENABLE_TESTS=ON
|
||||
----
|
||||
|
||||
コンパイル終了後、build ディレクトリでテストを起動してください (cmake を使う場合):
|
||||
コンパイル終了後、build ディレクトリでテストを起動してください (CMake を使う場合):
|
||||
|
||||
----
|
||||
$ ctest -V
|
||||
@@ -394,7 +391,7 @@ WeeChat がクラッシュした場合、または WeeChat
|
||||
[[debug_info]]
|
||||
==== デバッグ情報
|
||||
|
||||
cmake でコンパイルする場合:
|
||||
CMake でコンパイルする場合:
|
||||
|
||||
----
|
||||
$ cmake .. -DCMAKE_BUILD_TYPE=Debug
|
||||
@@ -542,7 +539,12 @@ include::cmdline_options_debug.ja.adoc[]
|
||||
デフォルト状態の WeeChat は `~/.weechat`
|
||||
ディレクトリ内に設定ファイルおよびその他のデータを書き込みます。
|
||||
|
||||
このディレクトリには以下の内容が含まれます:
|
||||
// TRANSLATION MISSING
|
||||
[[weechat_directories]]
|
||||
==== WeeChat directories
|
||||
|
||||
// TRANSLATION MISSING
|
||||
The WeeChat directories are:
|
||||
|
||||
[width="100%",cols="1m,3",options="header"]
|
||||
|===
|
||||
@@ -570,6 +572,10 @@ include::cmdline_options_debug.ja.adoc[]
|
||||
[NOTE]
|
||||
^(1)^ このディレクトリには親ディレクトリ内にあるスクリプトへのシンボリックリンクのみが含まれることが多いです。
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[[weechat_files]]
|
||||
==== WeeChat files
|
||||
|
||||
WeeChat ホームディレクトリには以下のファイルが含まれます:
|
||||
|
||||
[width="100%",cols="1m,3,6",options="header"]
|
||||
@@ -807,7 +813,7 @@ irc プラグインでは、<<option_irc.color.mirc_remap,irc.color.mirc_remap>>
|
||||
[[colors]]
|
||||
=== 色
|
||||
|
||||
WeeChat ではバーやチャットエリアにおけるテキスト表示に 256 個の色ペアを利用できます
|
||||
WeeChat ではバーやチャットエリアにおけるテキスト表示に 32767 個の色ペアを利用できます
|
||||
(この機能を利用するには WeeChat が実行されている端末が 256 色表示に対応している必要があります)。
|
||||
|
||||
_TERM_ 環境変数の値によって、WeeChat
|
||||
@@ -816,12 +822,12 @@ _TERM_ 環境変数の値によって、WeeChat
|
||||
[width="50%",cols="8,>2,>2",options="header"]
|
||||
|===
|
||||
| $TERM | 色 | ペア
|
||||
| "rxvt-unicode", "xterm", ... | 88 | 256
|
||||
| "rxvt-256color", "xterm-256color", ... | 256 | 256
|
||||
| "screen" | 8 | 64
|
||||
| "screen-256color" | 256 | 256
|
||||
| "tmux" | 8 | 64
|
||||
| "tmux-256color" | 256 | 256
|
||||
| "rxvt-unicode", "xterm", ... | 88 | 32767
|
||||
| "rxvt-256color", "xterm-256color", ... | 256 | 32767
|
||||
| "screen" | 8 | 64
|
||||
| "screen-256color" | 256 | 32767
|
||||
| "tmux" | 8 | 64
|
||||
| "tmux-256color" | 256 | 32767
|
||||
|===
|
||||
|
||||
`weechat --colors` を実行するか、`/color` コマンドを WeeChat
|
||||
@@ -1203,12 +1209,12 @@ _バー_ とは任意のテキストを含めることができるチャット
|
||||
==== バー要素
|
||||
|
||||
_items_ オプションはバー要素をコンマ (画面上の要素同士に間隔を空ける)
|
||||
または "+" (間隔を空けない) で区切った文字列です。
|
||||
または `+++` (間隔を空けない) で区切った文字列です。
|
||||
|
||||
バー要素のリストは `/bar listitems` コマンドで表示されます。
|
||||
|
||||
要素名の前または後に文字を表示させることができます (英数字以外の文字、"-"
|
||||
または "_")。この文字はバー (_color_delim_ オプション)
|
||||
要素名の前または後に文字を表示させることができます (英数字以外の文字、`+-+`
|
||||
または `+_+`)。この文字はバー (_color_delim_ オプション)
|
||||
で定義された区切り文字の色をつけて要素の前または後に表示されます。
|
||||
|
||||
バー要素を含むバーの例 "[time],buffer_number+:+buffer_plugin+.+buffer_name":
|
||||
@@ -1364,7 +1370,7 @@ URL を簡単にクリックしたり、テキストを簡単に選択できる
|
||||
端末でやるのと同じように URL をクリックしたりテキストを選択できます
|
||||
* ncurses を使わない、このため URL を行の最後で分断されることがなくなります。
|
||||
|
||||
最小限表示を有効化するデフォルトキーは kbd:[Alt+l] で、終了するには同じキーを押してください
|
||||
最小限表示を有効化するデフォルトキーは kbd:[Alt+l] (`L`) で、終了するには同じキーを押してください
|
||||
(また、デフォルトでは入力が変更された場合に最小限表示を終了します、<<option_weechat.look.bare_display_exit_on_input,weechat.look.bare_display_exit_on_input>>
|
||||
オプションを参照)。
|
||||
|
||||
@@ -1549,7 +1555,7 @@ irc サーバ "freenode" に含まれる全てのバッファに対して設定
|
||||
ハイライトするタグを明示するには
|
||||
<<option_weechat.look.highlight_tags,weechat.look.highlight_tags>>
|
||||
オプションを使います。複数のタグを指定するにはコンマで区切り、複数のタグの論理
|
||||
"and" を表すには "+" で区切ります。
|
||||
"and" を表すには `+++` で区切ります。
|
||||
|
||||
例えば "FlashCode" というニックネームからのすべてのメッセージと "toto"
|
||||
で始まるニックネームからのすべての通知メッセージをハイライトするには以下のように設定します:
|
||||
@@ -1640,78 +1646,78 @@ irc サーバ "freenode" に含まれる全てのバッファに対して設定
|
||||
|
||||
[width="100%",cols="^.^3,.^8,.^5",options="header"]
|
||||
|===
|
||||
| キー | 説明 | コマンド
|
||||
| kbd:[Ctrl+l] | 全ウィンドウを再描画 | `/window refresh`
|
||||
| キー | 説明 | コマンド
|
||||
| kbd:[Ctrl+l] (`L`) | 全ウィンドウを再描画 | `/window refresh`
|
||||
| kbd:[Ctrl+s],
|
||||
kbd:[Ctrl+u] | すべてのバッファに未読マークをセット | `/input set_unread`
|
||||
| kbd:[Ctrl+x] | 同じ番号を持つバッファにアタッチされていた場合、現在のバッファに移動 | `/input switch_active_buffer`
|
||||
| kbd:[Alt+x] | マージされたバッファに再ズーム (kbd:[Alt+x]: 全てのマージされたバッファを表示) | `/input zoom_merged_buffer`
|
||||
| kbd:[PgUp] | バッファ履歴を 1 ページ分上方向にスクロール | `/window page_up`
|
||||
| kbd:[PgDn] | バッファ履歴を 1 ページ分下方向にスクロール | `/window page_down`
|
||||
| kbd:[Alt+PgUp] | バッファ履歴を数行分上方向にスクロール | `/window scroll_up`
|
||||
| kbd:[Alt+PgDn] | バッファ履歴を数行分下方向にスクロール | `/window scroll_down`
|
||||
| kbd:[Alt+Home] | バッファ履歴を最初までスクロール | `/window scroll_top`
|
||||
| kbd:[Alt+End] | バッファ履歴を最後までスクロール | `/window scroll_bottom`
|
||||
kbd:[Ctrl+u] | すべてのバッファに未読マークをセット | `/input set_unread`
|
||||
| kbd:[Ctrl+x] | 同じ番号を持つバッファにアタッチされていた場合、現在のバッファに移動 | `/input switch_active_buffer`
|
||||
| kbd:[Alt+x] | マージされたバッファに再ズーム (kbd:[Alt+x]: 全てのマージされたバッファを表示) | `/input zoom_merged_buffer`
|
||||
| kbd:[PgUp] | バッファ履歴を 1 ページ分上方向にスクロール | `/window page_up`
|
||||
| kbd:[PgDn] | バッファ履歴を 1 ページ分下方向にスクロール | `/window page_down`
|
||||
| kbd:[Alt+PgUp] | バッファ履歴を数行分上方向にスクロール | `/window scroll_up`
|
||||
| kbd:[Alt+PgDn] | バッファ履歴を数行分下方向にスクロール | `/window scroll_down`
|
||||
| kbd:[Alt+Home] | バッファ履歴を最初までスクロール | `/window scroll_top`
|
||||
| kbd:[Alt+End] | バッファ履歴を最後までスクロール | `/window scroll_bottom`
|
||||
| kbd:[F1] +
|
||||
kbd:[Ctrl+F1] | バッファリストを上方に 1 ページスクロール | `/bar scroll buflist * -100%`
|
||||
kbd:[Ctrl+F1] | バッファリストを上方に 1 ページスクロール | `/bar scroll buflist * -100%`
|
||||
| kbd:[F2] +
|
||||
kbd:[Ctrl+F2] | バッファリストを下方に 1 ページスクロール | `/bar scroll buflist * +100%`
|
||||
| kbd:[Alt+F1] | バッファリストを上端までスクロール | `/bar scroll buflist * b`
|
||||
| kbd:[Alt+F2] | バッファリストを下端までスクロール | `/bar scroll buflist * e`
|
||||
kbd:[Ctrl+F2] | バッファリストを下方に 1 ページスクロール | `/bar scroll buflist * +100%`
|
||||
| kbd:[Alt+F1] | バッファリストを上端までスクロール | `/bar scroll buflist * b`
|
||||
| kbd:[Alt+F2] | バッファリストを下端までスクロール | `/bar scroll buflist * e`
|
||||
| kbd:[Alt+←] +
|
||||
kbd:[Alt+↑] +
|
||||
kbd:[Ctrl+p] +
|
||||
kbd:[F5] | 前のバッファに移動 | `/buffer -1`
|
||||
kbd:[F5] | 前のバッファに移動 | `/buffer -1`
|
||||
| kbd:[Alt+→] +
|
||||
kbd:[Alt+↓] +
|
||||
kbd:[Ctrl+n] +
|
||||
kbd:[F6] | 後のバッファに移動 | `/buffer +1`
|
||||
| kbd:[F7] | ウィンドウを前に移動 | `/window -1`
|
||||
| kbd:[F8] | ウィンドウを後に移動 | `/window +1`
|
||||
| kbd:[F9] | バッファタイトルを左方向にスクロール | `+/bar scroll title * -30%+`
|
||||
| kbd:[F10] | バッファタイトルを右方向にスクロール | `+/bar scroll title * +30%+`
|
||||
kbd:[F6] | 後のバッファに移動 | `/buffer +1`
|
||||
| kbd:[F7] | ウィンドウを前に移動 | `/window -1`
|
||||
| kbd:[F8] | ウィンドウを後に移動 | `/window +1`
|
||||
| kbd:[F9] | バッファタイトルを左方向にスクロール | `+/bar scroll title * -30%+`
|
||||
| kbd:[F10] | バッファタイトルを右方向にスクロール | `+/bar scroll title * +30%+`
|
||||
| kbd:[F11] +
|
||||
kbd:[Ctrl+F11] | ニックネームリストを上方向にスクロール | `/bar scroll nicklist * -100%`
|
||||
kbd:[Ctrl+F11] | ニックネームリストを上方向にスクロール | `/bar scroll nicklist * -100%`
|
||||
| kbd:[F12] +
|
||||
kbd:[Ctrl+F12] | ニックネームリストを下方向にスクロール | `/bar scroll nicklist * +100%`
|
||||
| kbd:[Alt+F11] | ニックネームリストを一番上にスクロール | `/bar scroll nicklist * b`
|
||||
| kbd:[Alt+F12] | ニックネームリストを一番下にスクロール | `/bar scroll nicklist * e`
|
||||
| kbd:[Alt+a] | 変更のあった次のバッファに移動 (優先順位: ハイライト、新規メッセージ、その他) | `/input jump_smart`
|
||||
| kbd:[Alt+h] | ホットリスト (他のバッファにあった変更通知リスト) を消去 | `/input hotlist_clear`
|
||||
kbd:[Ctrl+F12] | ニックネームリストを下方向にスクロール | `/bar scroll nicklist * +100%`
|
||||
| kbd:[Alt+F11] | ニックネームリストを一番上にスクロール | `/bar scroll nicklist * b`
|
||||
| kbd:[Alt+F12] | ニックネームリストを一番下にスクロール | `/bar scroll nicklist * e`
|
||||
| kbd:[Alt+a] | 変更のあった次のバッファに移動 (優先順位: ハイライト、新規メッセージ、その他) | `/input jump_smart`
|
||||
| kbd:[Alt+h] | ホットリスト (他のバッファにあった変更通知リスト) を消去 | `/input hotlist_clear`
|
||||
| kbd:[Alt+j],
|
||||
kbd:[Alt+f] | 最初のバッファに移動 | `/buffer -`
|
||||
kbd:[Alt+f] | 最初のバッファに移動 | `/buffer -`
|
||||
| kbd:[Alt+j],
|
||||
kbd:[Alt+l] | 最後のバッファに移動 | `/buffer +`
|
||||
kbd:[Alt+l] (`L`) | 最後のバッファに移動 | `/buffer +`
|
||||
| kbd:[Alt+j],
|
||||
kbd:[Alt+r] | IRC 生バッファに移動 | `/server raw`
|
||||
kbd:[Alt+r] | IRC 生バッファに移動 | `/server raw`
|
||||
| kbd:[Alt+j],
|
||||
kbd:[Alt+s] | IRC サーババッファに移動 | `/server jump`
|
||||
| kbd:[Alt+0...9] | 番号のバッファに移動 (0 = 10) | `/buffer *N`
|
||||
kbd:[Alt+s] | IRC サーババッファに移動 | `/server jump`
|
||||
| kbd:[Alt+0...9] | 番号のバッファに移動 (0 = 10) | `/buffer *N`
|
||||
| kbd:[Alt+j],
|
||||
kbd:[01...99] | 番号のバッファに移動 | `/buffer *NN`
|
||||
| kbd:[Alt+l] | 最小限表示の有効無効を切り替え | `/window bare`
|
||||
| kbd:[Alt+m] | マウスの有効無効を切り替え | `/mouse toggle`
|
||||
| kbd:[Alt+n] | 次のハイライトまでスクロール | `/window scroll_next_highlight`
|
||||
| kbd:[Alt+p] | 前のハイライトまでスクロール | `/window scroll_previous_highlight`
|
||||
| kbd:[Alt+u] | バッファを最初の未読行までスクロール | `/window scroll_unread`
|
||||
kbd:[01...99] | 番号のバッファに移動 | `/buffer *NN`
|
||||
| kbd:[Alt+l] (`L`) | 最小限表示の有効無効を切り替え | `/window bare`
|
||||
| kbd:[Alt+m] | マウスの有効無効を切り替え | `/mouse toggle`
|
||||
| kbd:[Alt+n] | 次のハイライトまでスクロール | `/window scroll_next_highlight`
|
||||
| kbd:[Alt+p] | 前のハイライトまでスクロール | `/window scroll_previous_highlight`
|
||||
| kbd:[Alt+u] | バッファを最初の未読行までスクロール | `/window scroll_unread`
|
||||
| kbd:[Alt+w],
|
||||
kbd:[Alt+↑] | 上のウィンドウに移動 | `/window up`
|
||||
kbd:[Alt+↑] | 上のウィンドウに移動 | `/window up`
|
||||
| kbd:[Alt+w],
|
||||
kbd:[Alt+↓] | 下のウィンドウに移動 | `/window down`
|
||||
kbd:[Alt+↓] | 下のウィンドウに移動 | `/window down`
|
||||
| kbd:[Alt+w],
|
||||
kbd:[Alt+←] | 左のウィンドウに移動 | `/window left`
|
||||
kbd:[Alt+←] | 左のウィンドウに移動 | `/window left`
|
||||
| kbd:[Alt+w],
|
||||
kbd:[Alt+→] | 右のウィンドウに移動 | `/window right`
|
||||
kbd:[Alt+→] | 右のウィンドウに移動 | `/window right`
|
||||
| kbd:[Alt+w],
|
||||
kbd:[Alt+b] | すべてのウィンドウサイズを均等に | `/window balance`
|
||||
kbd:[Alt+b] | すべてのウィンドウサイズを均等に | `/window balance`
|
||||
| kbd:[Alt+w],
|
||||
kbd:[Alt+s] | 2 つのウィンドウを入れ替え | `/window swap`
|
||||
| kbd:[Alt+z] | 現在のウィンドウを最大化 (再度 kbd:[Alt+z] することで: 最初のウィンドウ状態に戻す、最大化前の状態) | `/window zoom`
|
||||
| kbd:[Alt+<] | バッファ訪問履歴で前のバッファに移動 | `/input jump_previously_visited_buffer`
|
||||
| kbd:[Alt+>] | バッファ訪問履歴で次のバッファに移動 | `/input jump_next_visited_buffer`
|
||||
| kbd:[Alt+/] | 最後に表示したバッファに移動 (バッファ移動前に表示していたウィンドウ) | `/input jump_last_buffer_displayed`
|
||||
| kbd:[Alt+=] | フィルタの有効無効を切り替え | `/filter toggle`
|
||||
| kbd:[Alt+-] | 現在のバッファのフィルタの有効無効を切り替え | `/filter toggle @`
|
||||
kbd:[Alt+s] | 2 つのウィンドウを入れ替え | `/window swap`
|
||||
| kbd:[Alt+z] | 現在のウィンドウを最大化 (再度 kbd:[Alt+z] することで: 最初のウィンドウ状態に戻す、最大化前の状態) | `/window zoom`
|
||||
| kbd:[Alt+<] | バッファ訪問履歴で前のバッファに移動 | `/input jump_previously_visited_buffer`
|
||||
| kbd:[Alt+>] | バッファ訪問履歴で次のバッファに移動 | `/input jump_next_visited_buffer`
|
||||
| kbd:[Alt+/] | 最後に表示したバッファに移動 (バッファ移動前に表示していたウィンドウ) | `/input jump_last_buffer_displayed`
|
||||
| kbd:[Alt+=] | フィルタの有効無効を切り替え | `/filter toggle`
|
||||
| kbd:[Alt+-] | 現在のバッファのフィルタの有効無効を切り替え | `/filter toggle @`
|
||||
|===
|
||||
|
||||
[[key_bindings_search_context]]
|
||||
@@ -1770,43 +1776,43 @@ kbd:[Ctrl+r] が押された状態) でのみ有効です。
|
||||
|
||||
[width="100%",cols="^.^3,^.^3,^.^3,.^8,.^8",options="header"]
|
||||
|===
|
||||
| ボタン^(1)^ | ジェスチャー | エリア | 説明 | コマンド
|
||||
| ◾◽◽ | - | チャット | ウィンドウに移動 | `/window ${_window_number}`
|
||||
| ◾◽◽ | 左 | チャット | 前のバッファに移動 | `/window ${_window_number};/buffer +1`
|
||||
| ◾◽◽ | 右 | チャット | 次のバッファに移動 | `/window ${_window_number};/buffer +1`
|
||||
| ◾◽◽ | 左 (長く) | チャット | 最初のバッファに移動 | `/window ${_window_number};/buffer 1`
|
||||
| ◾◽◽ | 右 (長く) | チャット | 最後のバッファに移動 | `/window ${_window_number};/input jump_last_buffer`
|
||||
| ◾◽◽ | - | チャット (スクリプトバッファ) | スクリプトバッファで行選択 | `/script go ${_chat_line_y}`
|
||||
| ◽◽◾ | - | チャット (スクリプトバッファ) | スクリプトのインストール `/ 削除 | /script go ${_chat_line_y};/script installremove ${script_name_with_extension}`
|
||||
| ⇑ | - | チャット | バッファ履歴を上方向にスクロール | `/window scroll_up -window ${_window_number}`
|
||||
| ⇓ | - | チャット | バッファ履歴を下方向にスクロール | `/window scroll_down -window ${_window_number}`
|
||||
| ⇑ | - | チャット (スクリプトバッファ) | スクリプトバッファを 5 行上方向にスクロール | `/script up 5`
|
||||
| ⇓ | - | チャット (スクリプトバッファ) | スクリプトバッファで 5 行下方向にスクロール | `/script down 5`
|
||||
| kbd:[Ctrl+⇑] | - | チャット | 水平左方向にスクロール | `/window scroll_horiz -window ${_window_number} -10%`
|
||||
| kbd:[Ctrl+⇓] | - | チャット | 水平右方向にスクロール | `/window scroll_horiz -window ${_window_number} +10%`
|
||||
| ◾◽◽ | 上 / 左 | バッファリスト | 指定したバッファを下の番号に移動 | `buflist_mouse` シグナル
|
||||
| ◾◽◽ | 下 / 右 | バッファリスト | 指定したバッファを上の番号に移動 | `buflist_mouse` シグナル
|
||||
| ◾◽◽ | - | バッファリスト | 指定したバッファに切り替える (現在のバッファを指定した場合、バッファ切り替え履歴で前のバッファに切り替える) | `buflist_mouse` シグナル
|
||||
| ◽◽◾ | - | バッファリスト | 現在のバッファを指定した場合、バッファ切り替え履歴で次のバッファに切り替える | `buflist_mouse` シグナル
|
||||
| kbd:[Ctrl+⇑] | - | バッファリスト | バッファ切り替え履歴で前のバッファに切り替える | `buflist_mouse` シグナル
|
||||
| kbd:[Ctrl+⇓] | - | バッファリスト | バッファ切り替え履歴で次のバッファに切り替える | `buflist_mouse` シグナル
|
||||
| ◾◽◽ | 上 | ニックネームリスト | ニックネームリストを 1 ページ分上方向にスクロール | `/bar scroll nicklist ${_window_number} -100%`
|
||||
| ◾◽◽ | 下 | ニックネームリスト | ニックネームリストを 1 ページ分下方向にスクロール | `/bar scroll nicklist ${_window_number} +100%`
|
||||
| ◾◽◽ | 上 (長く) | ニックネームリスト | ニックネームリストの最初に移動 | `/bar scroll nicklist ${_window_number} b`
|
||||
| ◾◽◽ | 下 (長く) | ニックネームリスト | ニックネームリストの最後に移動 | `/bar scroll nicklist ${_window_number} e`
|
||||
| ◾◽◽ | - | ニックネームリスト | ニックネームに対するクエリを開く | `/window ${_window_number};/query ${nick}`
|
||||
| ◽◽◾ | - | ニックネームリスト | ニックネームに対する whois を行う | `/window ${_window_number};/whois ${nick}`
|
||||
| ◾◽◽ | 左 | ニックネームリスト | ニックネームをキックする | `/window ${_window_number};/kick ${nick}`
|
||||
| ◾◽◽ | 左 (長く) | ニックネームリスト | ニックネームをキックとバンする | `/window ${_window_number};/kickban ${nick}`
|
||||
| ◽◽◾ | 左 | ニックネームリスト | ニックネームをバンする | `/window ${_window_number};/ban ${nick}`
|
||||
| ◽◽◾ | - | 入力 | マウスイベントを奪ってコマンドラインにコードを入力 | `/input grab_mouse_area`
|
||||
| ⇑ | - | 任意のバー | バーを -20% スクロール | `/bar scroll ${_bar_name} ${_window_number} -20%`
|
||||
| ⇓ | - | 任意のバー | バーを +20% スクロール | `/bar scroll ${_bar_name} ${_window_number} +20%`
|
||||
| ◽◾◽ | - | 任意の場所 | この場所でカーソルモードを開始 | `/cursor go ${_x},${_y}`
|
||||
| ボタン/ホイール ^(1)^ | ジェスチャー | エリア | 説明 | コマンド
|
||||
| ◾◽◽ | - | チャット | ウィンドウに移動 | `/window ${_window_number}`
|
||||
| ◾◽◽ | 左 | チャット | 前のバッファに移動 | `/window ${_window_number};/buffer +1`
|
||||
| ◾◽◽ | 右 | チャット | 次のバッファに移動 | `/window ${_window_number};/buffer +1`
|
||||
| ◾◽◽ | 左 (長く) | チャット | 最初のバッファに移動 | `/window ${_window_number};/buffer 1`
|
||||
| ◾◽◽ | 右 (長く) | チャット | 最後のバッファに移動 | `/window ${_window_number};/input jump_last_buffer`
|
||||
| ◾◽◽ | - | チャット (スクリプトバッファ) | スクリプトバッファで行選択 | `/script go ${_chat_line_y}`
|
||||
| ◽◽◾ | - | チャット (スクリプトバッファ) | スクリプトのインストール `/ 削除 | /script go ${_chat_line_y};/script installremove ${script_name_with_extension}`
|
||||
| kbd:[▲] | - | チャット | バッファ履歴を上方向にスクロール | `/window scroll_up -window ${_window_number}`
|
||||
| kbd:[▼] | - | チャット | バッファ履歴を下方向にスクロール | `/window scroll_down -window ${_window_number}`
|
||||
| kbd:[▲] | - | チャット (スクリプトバッファ) | スクリプトバッファを 5 行上方向にスクロール | `/script up 5`
|
||||
| kbd:[▼] | - | チャット (スクリプトバッファ) | スクリプトバッファで 5 行下方向にスクロール | `/script down 5`
|
||||
| kbd:[Ctrl+▲] | - | チャット | 水平左方向にスクロール | `/window scroll_horiz -window ${_window_number} -10%`
|
||||
| kbd:[Ctrl+▼] | - | チャット | 水平右方向にスクロール | `/window scroll_horiz -window ${_window_number} +10%`
|
||||
| ◾◽◽ | 上 / 左 | バッファリスト | 指定したバッファを下の番号に移動 | `buflist_mouse` シグナル
|
||||
| ◾◽◽ | 下 / 右 | バッファリスト | 指定したバッファを上の番号に移動 | `buflist_mouse` シグナル
|
||||
| ◾◽◽ | - | バッファリスト | 指定したバッファに切り替える (現在のバッファを指定した場合、バッファ切り替え履歴で前のバッファに切り替える) | `buflist_mouse` シグナル
|
||||
| ◽◽◾ | - | バッファリスト | 現在のバッファを指定した場合、バッファ切り替え履歴で次のバッファに切り替える | `buflist_mouse` シグナル
|
||||
| kbd:[Ctrl+▲] | - | バッファリスト | バッファ切り替え履歴で前のバッファに切り替える | `buflist_mouse` シグナル
|
||||
| kbd:[Ctrl+▼] | - | バッファリスト | バッファ切り替え履歴で次のバッファに切り替える | `buflist_mouse` シグナル
|
||||
| ◾◽◽ | 上 | ニックネームリスト | ニックネームリストを 1 ページ分上方向にスクロール | `/bar scroll nicklist ${_window_number} -100%`
|
||||
| ◾◽◽ | 下 | ニックネームリスト | ニックネームリストを 1 ページ分下方向にスクロール | `/bar scroll nicklist ${_window_number} +100%`
|
||||
| ◾◽◽ | 上 (長く) | ニックネームリスト | ニックネームリストの最初に移動 | `/bar scroll nicklist ${_window_number} b`
|
||||
| ◾◽◽ | 下 (長く) | ニックネームリスト | ニックネームリストの最後に移動 | `/bar scroll nicklist ${_window_number} e`
|
||||
| ◾◽◽ | - | ニックネームリスト | ニックネームに対するクエリを開く | `/window ${_window_number};/query ${nick}`
|
||||
| ◽◽◾ | - | ニックネームリスト | ニックネームに対する whois を行う | `/window ${_window_number};/whois ${nick}`
|
||||
| ◾◽◽ | 左 | ニックネームリスト | ニックネームをキックする | `/window ${_window_number};/kick ${nick}`
|
||||
| ◾◽◽ | 左 (長く) | ニックネームリスト | ニックネームをキックとバンする | `/window ${_window_number};/kickban ${nick}`
|
||||
| ◽◽◾ | 左 | ニックネームリスト | ニックネームをバンする | `/window ${_window_number};/ban ${nick}`
|
||||
| ◽◽◾ | - | 入力 | マウスイベントを奪ってコマンドラインにコードを入力 | `/input grab_mouse_area`
|
||||
| kbd:[▲] | - | 任意のバー | バーを -20% スクロール | `/bar scroll ${_bar_name} ${_window_number} -20%`
|
||||
| kbd:[▼] | - | 任意のバー | バーを +20% スクロール | `/bar scroll ${_bar_name} ${_window_number} +20%`
|
||||
| ◽◾◽ | - | 任意の場所 | この場所でカーソルモードを開始 | `/cursor go ${_x},${_y}`
|
||||
|===
|
||||
|
||||
[NOTE]
|
||||
^(1)^ "⇑" と "⇓" はホイールの上方向回転と下方向回転に対応します。
|
||||
^(1)^ kbd:[▲] と kbd:[▼] はホイールの上方向回転と下方向回転に対応します。
|
||||
|
||||
[[mouse]]
|
||||
=== マウスサポート
|
||||
@@ -1856,7 +1862,7 @@ WeeChat はデフォルトマウスイベントの多くを定義しています
|
||||
(詳しい使い方は <<command_weechat_key,/key>> コマンドを参照)。
|
||||
|
||||
イベント名には修飾キー (任意)、ボタン/ホイール名、ジェスチャー (任意)
|
||||
を利用できます。異なるイベントは "-" で分割してください。
|
||||
を利用できます。異なるイベントは `+-+` で分割してください。
|
||||
|
||||
修飾キーリスト:
|
||||
|
||||
@@ -2596,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 プロキシを設定:
|
||||
|
||||
----
|
||||
@@ -2982,16 +2993,21 @@ logger.file.mask
|
||||
以下のファイルが作成されます:
|
||||
|
||||
....
|
||||
~/.weechat/
|
||||
|--- logs/
|
||||
|--- 2010/
|
||||
|--- 11/
|
||||
| irc.server.freenode.weechatlog
|
||||
| irc.freenode.#weechat.weechatlog
|
||||
|--- 2010/
|
||||
|--- 12/
|
||||
| irc.server.freenode.weechatlog
|
||||
| irc.freenode.#weechat.weechatlog
|
||||
~/.weechat
|
||||
└── logs
|
||||
├── 2010
|
||||
│ ├── 11
|
||||
│ │ ├── irc.server.freenode.weechatlog
|
||||
│ │ └── irc.freenode.#weechat.weechatlog
|
||||
│ └── 12
|
||||
│ ├── irc.server.freenode.weechatlog
|
||||
│ └── irc.freenode.#weechat.weechatlog
|
||||
├── 2011
|
||||
│ ├── 01
|
||||
│ │ ├── irc.server.freenode.weechatlog
|
||||
│ │ └── irc.freenode.#weechat.weechatlog
|
||||
│ ├── 02
|
||||
...
|
||||
....
|
||||
|
||||
[[logger_irc_files_by_server_channel]]
|
||||
@@ -3006,17 +3022,18 @@ IRC サーバ名を使ったディレクトリに、チャンネル名を使っ
|
||||
以下のファイルが作成されます:
|
||||
|
||||
....
|
||||
~/.weechat/
|
||||
|--- logs/
|
||||
|--- irc/
|
||||
|--- freenode/
|
||||
| freenode.weechatlog
|
||||
| #weechat.weechatlog
|
||||
| #mychan.weechatlog
|
||||
|--- oftc/
|
||||
| oftc.weechatlog
|
||||
| #chan1.weechatlog
|
||||
| #chan2.weechatlog
|
||||
~/.weechat
|
||||
└── logs
|
||||
└── irc
|
||||
├── freenode
|
||||
│ ├── freenode.weechatlog
|
||||
│ ├── #weechat.weechatlog
|
||||
│ └── #mychan.weechatlog
|
||||
├── oftc
|
||||
│ ├── oftc.weechatlog
|
||||
│ ├── #chan1.weechatlog
|
||||
│ └── #chan2.weechatlog
|
||||
...
|
||||
....
|
||||
|
||||
[[logger_commands]]
|
||||
@@ -3129,8 +3146,10 @@ Relay プラグインは IRC プロキシとしても使えます: Relay プラ
|
||||
|
||||
IRC サーバごとに異なるポート、もしくは全てのサーバに対して共通のポートを定義することができます。
|
||||
|
||||
// TRANSLATION MISSING
|
||||
すべてのサーバに対して共通のポートを定義した場合には、クライアントからサーバの内部名を
|
||||
IRC の "PASS" コマンドに含めて送信するようにしてください、以下の書式を使ってください:
|
||||
IRC の "PASS" コマンドに含めて送信するようにしてください、以下の書式を使ってください
|
||||
(see example below):
|
||||
|
||||
----
|
||||
PASS server:mypass
|
||||
@@ -3151,6 +3170,15 @@ PASS server:mypass
|
||||
任意の IRC クライアントからサーバパスワード "mypass" (全てのサーバに対して共通の
|
||||
IRC プロキシを設定した場合には "freenode:mypass") で 8000 番ポートに接続出来ます。
|
||||
|
||||
// TRANSLATION MISSING
|
||||
For example if you use WeeChat as IRC client of the relay, with a server called
|
||||
"relay" and the relay password "secret", you can setup the password with this
|
||||
command:
|
||||
|
||||
----
|
||||
/set irc.server.relay.password "freenode:secret"
|
||||
----
|
||||
|
||||
[[relay_weechat_protocol]]
|
||||
==== WeeChat プロトコル
|
||||
|
||||
@@ -3191,27 +3219,26 @@ websocket = new WebSocket("ws://server.com:9000/weechat");
|
||||
ポート番号 (例では 9000 番) は Relay プラグインで定義したものです。URI
|
||||
の最後には必ず "/weechat" をつけます (_irc_ と _weechat_ プロトコルの場合)。
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[[relay_unix_socket]]
|
||||
==== UNIX domain sockets
|
||||
==== UNIX ドメインソケット
|
||||
|
||||
Using the protocol option "unix" with the `/relay add` command, you can listen
|
||||
using any protocol on a UNIX domain socket at a given path. For example:
|
||||
`/relay add` コマンドにプロトコルオプション "unix" をつけることで、指定したパスで動作する
|
||||
UNIX ドメインソケット上の任意のプロトコルをリッスンできます。例:
|
||||
|
||||
----
|
||||
/relay add unix.weechat %h/relay_socket
|
||||
----
|
||||
|
||||
This allows clients to connect using the weechat protocol to
|
||||
_~/.weechat/relay_socket_. This is particularly useful to allow SSH forwarding
|
||||
for relay clients, when other ports cannot be opened. Using OpenSSH:
|
||||
こうすることで、クライアントは weechat プロトコルを使って _~/.weechat/relay_socket_
|
||||
に接続できます。これは、他のポートをオープンが禁止されている状況下で、リレークライアントの
|
||||
SSH 転送を許可する際に特に便利です。OpenSSH を使った例:
|
||||
|
||||
----
|
||||
$ ssh -L 9000:.weechat/relay_socket user@hostname
|
||||
----
|
||||
|
||||
This redirects local relay clients connecting on port 9000 to the WeeChat
|
||||
instance running on "hostname".
|
||||
これでポート 9000 番に接続してきたローカルのリレークライアントは
|
||||
"hostname" 上で動作中の WeeChat インスタンスへ転送されます。
|
||||
|
||||
[[relay_commands]]
|
||||
==== コマンド
|
||||
@@ -3833,7 +3860,7 @@ WeeChat によって使われる値に影響を及ぼします
|
||||
(例: `+${hide:*,${re:2}}+` はグループ #2 のすべての文字を `+*+`
|
||||
で置換した文字列)。
|
||||
|
||||
例: "*" で囲まれた文字を太字にする:
|
||||
例: `+*+` で囲まれた文字を太字にする:
|
||||
|
||||
----
|
||||
/\*([^ ]+)\*/*${color:bold}${re:1}${color:-bold}*/
|
||||
|
||||
@@ -82,9 +82,9 @@
|
||||
|
||||
| script | script_tags | tagi skryptów w repozytorium
|
||||
|
||||
| spell | spell_dicts | list of installed dictionaries
|
||||
| spell | spell_dicts | lista zainstalowanych słowników
|
||||
|
||||
| spell | spell_langs | list of all languages supported
|
||||
| spell | spell_langs | lista wszystkich wspieranych języków
|
||||
|
||||
| tcl | tcl_script | lista skryptów
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user