mirror of
https://github.com/weechat/weechat.git
synced 2026-07-10 11:43:13 +02:00
Compare commits
136 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 4e6687759a | |||
| f968bb9c91 | |||
| 6b1d55203b | |||
| 65cdc2603a | |||
| 7640273c30 | |||
| e87d2b4717 | |||
| b80c58fb39 | |||
| b06e3ed68e | |||
| c3c2609acd | |||
| 6247e437c0 | |||
| 195af30e7d | |||
| dd3032171a | |||
| 2ced34f803 | |||
| 62fced3213 | |||
| da256bbad7 | |||
| 43bb20c4c3 | |||
| 86e1af7ab9 | |||
| ad66bba2f8 | |||
| 5ba6c7a0d2 | |||
| f9c3d0ae0a | |||
| 83749f491c | |||
| d79342dafd | |||
| 999ba00ac6 | |||
| df7a428454 | |||
| 1d6eb273c6 | |||
| ae93fa1fef | |||
| 7fabd8068f | |||
| a48dd9d481 | |||
| 2ee71c7699 | |||
| c7cf41c357 | |||
| 7c21c6b993 | |||
| 563654901c | |||
| 517c04ae65 | |||
| a317d0823a | |||
| a399d3f68c | |||
| b0e4e20205 | |||
| 5df21f38f3 | |||
| 90e7857e62 | |||
| 480d603eb5 | |||
| 3184bb92e6 | |||
| 753a2adffc | |||
| 020c8145b6 | |||
| a33f0d2132 | |||
| 7a3ae654be | |||
| 64403cefc1 | |||
| 9621c4381b | |||
| 0ff08971aa | |||
| 19bb049325 | |||
| e33da6292d | |||
| be6b27c8f9 | |||
| 2d9b133c77 | |||
| 6c36836182 | |||
| 15214f9538 | |||
| 7f13bdb51a | |||
| 49bbc53d7c | |||
| eb17fa24ee | |||
| c7d03668f1 | |||
| 8575546aa2 | |||
| 2c716e8154 | |||
| 49b1cb06b5 | |||
| 75a0755107 | |||
| 79b03d0680 | |||
| f43ed913f5 | |||
| 1fcbdb3bd9 | |||
| 1aab82f20b | |||
| 58141bde79 | |||
| 7f6e626122 | |||
| 15860532f3 | |||
| 8b7513e883 | |||
| 2566fca78c | |||
| a82bfa0e7e | |||
| 48d33521dc | |||
| e3f6dab366 | |||
| 1a05f89586 | |||
| c811072bdf | |||
| 4ae396825c | |||
| 87e47894e6 | |||
| ad75786e15 | |||
| 39fdb1b564 | |||
| c5eb982424 | |||
| e7bf09f4e8 | |||
| 27972b9c5d | |||
| ab7b51db72 | |||
| 647d7033cf | |||
| 4fe1ba7016 | |||
| 29db9b95ee | |||
| 270d64cfa1 | |||
| 4eabcdf840 | |||
| 77911680bb | |||
| bc5b287622 | |||
| 7c0b16df81 | |||
| f3bc66b255 | |||
| a23d8f2198 | |||
| f4c6caabb3 | |||
| f416688e84 | |||
| 1dc7ae6b68 | |||
| b06e09d00b | |||
| 89090b10e8 | |||
| fad7231f90 | |||
| cf1e073446 | |||
| b4fc345a13 | |||
| b2cd9d002b | |||
| 9312211d49 | |||
| 2ad27b41a5 | |||
| ef68312393 | |||
| 7aa490e360 | |||
| 36ea983d04 | |||
| a4e7e18c14 | |||
| ea934864d4 | |||
| 6e7fe96046 | |||
| 82daed8076 | |||
| bcc061292d | |||
| 3b26d6750e | |||
| 71f8c2ba17 | |||
| 2d91845d53 | |||
| ed67f4bf0a | |||
| e311564387 | |||
| 2781f38052 | |||
| 6c9ff45e5c | |||
| 3203ee8f05 | |||
| b71af61581 | |||
| 2304029d61 | |||
| b06edae3e3 | |||
| 7d78be3a1b | |||
| 1107205059 | |||
| bd9978e467 | |||
| b4d999010a | |||
| 9939f939aa | |||
| 929d6fd452 | |||
| db117f34dd | |||
| f546796b49 | |||
| dd3277adbb | |||
| cb7647a3ea | |||
| 21292f7464 | |||
| 3c433b5106 | |||
| b578a0a4b9 |
@@ -0,0 +1,43 @@
|
|||||||
|
---
|
||||||
|
name: Bug report
|
||||||
|
about: Create a bug report (please do not report security issues here)
|
||||||
|
labels: bug
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
<!-- Please do not report any security issue here, see file Contributing.adoc -->
|
||||||
|
|
||||||
|
## Bug summary
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## Steps to reproduce
|
||||||
|
|
||||||
|
1.
|
||||||
|
2.
|
||||||
|
3.
|
||||||
|
|
||||||
|
## Current behavior
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## Expected behavior
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## Suggested solutions
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## Additional information
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
<!-- MANDATORY INFO: -->
|
||||||
|
|
||||||
|
- WeeChat version:
|
||||||
|
- OS, distribution and version:
|
||||||
|
- Terminal:
|
||||||
|
- Terminal multiplexer (screen/tmux/…/none):
|
||||||
@@ -1,110 +0,0 @@
|
|||||||
name: Bug report
|
|
||||||
description: Create a bug report
|
|
||||||
labels: ["bug"]
|
|
||||||
|
|
||||||
body:
|
|
||||||
- type: markdown
|
|
||||||
attributes:
|
|
||||||
value: |
|
|
||||||
Before submitting a bug, please check that it has not already been reported by searching in [open and closed bugs](https://github.com/weechat/weechat/issues?q=is%3Aissue+label%3Abug).
|
|
||||||
If you don't use the latest version, please try if possible with the latest stable release to be sure the issue is still present and report the issue on this version.
|
|
||||||
|
|
||||||
**IMPORTANT**: please do not report any security issue here, see [Contributing.adoc](https://github.com/weechat/weechat/blob/master/Contributing.adoc#security-reports).
|
|
||||||
|
|
||||||
- type: textarea
|
|
||||||
id: bug-description
|
|
||||||
attributes:
|
|
||||||
label: Describe the bug
|
|
||||||
description: A clear and concise description of what the bug is.
|
|
||||||
validations:
|
|
||||||
required: true
|
|
||||||
|
|
||||||
- type: textarea
|
|
||||||
id: steps-to-reproduce
|
|
||||||
attributes:
|
|
||||||
label: Steps to reproduce
|
|
||||||
description: |
|
|
||||||
Steps to reproduce the issue.
|
|
||||||
If possible, please try to reproduce with a default configuration and no scripts loaded (`weechat -t`). If the issue is related to a script, please mention the list of all scripts loaded.
|
|
||||||
placeholder: |
|
|
||||||
|
|
||||||
1.
|
|
||||||
2.
|
|
||||||
3.
|
|
||||||
validations:
|
|
||||||
required: true
|
|
||||||
|
|
||||||
- type: textarea
|
|
||||||
id: current-behavior
|
|
||||||
attributes:
|
|
||||||
label: Current behavior
|
|
||||||
description: |
|
|
||||||
What currently happens.
|
|
||||||
validations:
|
|
||||||
required: true
|
|
||||||
|
|
||||||
- type: textarea
|
|
||||||
id: expected-behavior
|
|
||||||
attributes:
|
|
||||||
label: Expected behavior
|
|
||||||
description: What is actually supposed to happen.
|
|
||||||
validations:
|
|
||||||
required: true
|
|
||||||
|
|
||||||
- type: textarea
|
|
||||||
id: suggested-solutions
|
|
||||||
attributes:
|
|
||||||
label: Suggested solutions
|
|
||||||
description: How you think this issue can be resolved.
|
|
||||||
validations:
|
|
||||||
required: false
|
|
||||||
|
|
||||||
- type: textarea
|
|
||||||
id: additional-information
|
|
||||||
attributes:
|
|
||||||
label: Additional information
|
|
||||||
description: |
|
|
||||||
For a crash, please include a backtrace from gdb, see the [User's guide](https://weechat.org/doc/weechat/user/#report_crashes).
|
|
||||||
For a display issue, please add a screenshot if it makes sense.
|
|
||||||
Please mention if other versions are affected as well and if some versions are not affected (regression?).
|
|
||||||
And any additional information you deem relevant.
|
|
||||||
validations:
|
|
||||||
required: false
|
|
||||||
|
|
||||||
- type: input
|
|
||||||
id: weechat-version
|
|
||||||
attributes:
|
|
||||||
label: WeeChat version
|
|
||||||
description: |
|
|
||||||
For a stable release: output of `weechat --version`.
|
|
||||||
For the development version: output of command `/v` in WeeChat.
|
|
||||||
placeholder: "4.1.1"
|
|
||||||
validations:
|
|
||||||
required: true
|
|
||||||
|
|
||||||
- type: input
|
|
||||||
id: os-version
|
|
||||||
attributes:
|
|
||||||
label: What OS are you using?
|
|
||||||
description: Name of the operating system and its version.
|
|
||||||
placeholder: Debian 12, Ubuntu 23.10, MacOS 14, ...
|
|
||||||
validations:
|
|
||||||
required: true
|
|
||||||
|
|
||||||
- type: input
|
|
||||||
id: terminal
|
|
||||||
attributes:
|
|
||||||
label: On which terminal are you running WeeChat?
|
|
||||||
description: The name of terminal if you think it can be related to the issue (mainly for display issues).
|
|
||||||
placeholder: Terminator, Xterm, GNOME Terminal, Urxvt, ...
|
|
||||||
validations:
|
|
||||||
required: false
|
|
||||||
|
|
||||||
- type: input
|
|
||||||
id: terminal-multiplexer
|
|
||||||
attributes:
|
|
||||||
label: Which terminal multiplexer are you using?
|
|
||||||
description: The name of the terminal multiplexer if you think it can be related to the issue (mainly for display issues).
|
|
||||||
placeholder: none, tmux, screen, ...
|
|
||||||
validations:
|
|
||||||
required: false
|
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
---
|
||||||
|
name: Feature request
|
||||||
|
about: Request a new feature / enhancement
|
||||||
|
labels: feature
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Feature description
|
||||||
@@ -1,17 +0,0 @@
|
|||||||
name: Feature request
|
|
||||||
description: Request a new feature / enhancement
|
|
||||||
labels: ["feature"]
|
|
||||||
|
|
||||||
body:
|
|
||||||
- type: markdown
|
|
||||||
attributes:
|
|
||||||
value: |
|
|
||||||
Before submitting a feature request, please check that it has not already been reported by searching in [open and closed feature requests](https://github.com/weechat/weechat/issues?q=is%3Aissue+label%3Afeature).
|
|
||||||
|
|
||||||
- type: textarea
|
|
||||||
id: feature
|
|
||||||
attributes:
|
|
||||||
label: Feature description
|
|
||||||
description: A description of the feature you would like.
|
|
||||||
validations:
|
|
||||||
required: true
|
|
||||||
@@ -0,0 +1,19 @@
|
|||||||
|
---
|
||||||
|
name: Question
|
||||||
|
about: >
|
||||||
|
Ask a question (please read first FAQ and docs and ask on #weechat channel
|
||||||
|
before opening any question issue)
|
||||||
|
labels: question
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
<!-- Please read first FAQ/docs and ask on #weechat channel before opening any question issue -->
|
||||||
|
|
||||||
|
## Question
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
- WeeChat version:
|
||||||
|
- OS, distribution and version:
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
name: Question
|
|
||||||
description: Ask a question
|
|
||||||
labels: ["question"]
|
|
||||||
|
|
||||||
body:
|
|
||||||
- type: markdown
|
|
||||||
attributes:
|
|
||||||
value: |
|
|
||||||
Before opening an issue with a question:
|
|
||||||
- please read the [FAQ](https://weechat.org/doc/weechat/faq) and [documentation](https://weechat.org/doc/weechat/)
|
|
||||||
- please ask on #weechat channel (on server irc.libera.chat).
|
|
||||||
|
|
||||||
- type: textarea
|
|
||||||
id: question
|
|
||||||
attributes:
|
|
||||||
label: Question
|
|
||||||
description: Your question.
|
|
||||||
validations:
|
|
||||||
required: true
|
|
||||||
+6
-100
@@ -1,47 +1,11 @@
|
|||||||
name: CI
|
name: CI
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
- push
|
||||||
pull_request:
|
- pull_request
|
||||||
schedule:
|
|
||||||
- cron: '22 9 * * 2'
|
|
||||||
|
|
||||||
env:
|
env:
|
||||||
WEECHAT_DEPENDENCIES: >-
|
WEECHAT_DEPENDENCIES: devscripts equivs python3-pip cmake ninja-build lcov pkg-config libncursesw5-dev gem2deb libperl-dev python3-dev libaspell-dev liblua5.3-dev tcl8.6-dev guile-3.0-dev libv8-dev libcurl4-gnutls-dev libgcrypt20-dev libgnutls28-dev libzstd-dev zlib1g-dev curl libcpputest-dev php-dev libphp-embed libargon2-dev libsodium-dev flake8 pylint python3-bandit asciidoctor ruby-pygments.rb shellcheck
|
||||||
asciidoctor
|
|
||||||
cmake
|
|
||||||
curl
|
|
||||||
devscripts
|
|
||||||
equivs
|
|
||||||
flake8
|
|
||||||
gem2deb
|
|
||||||
guile-3.0-dev
|
|
||||||
lcov
|
|
||||||
libargon2-dev
|
|
||||||
libaspell-dev
|
|
||||||
libcjson-dev
|
|
||||||
libcpputest-dev
|
|
||||||
libcurl4-gnutls-dev
|
|
||||||
libgcrypt20-dev
|
|
||||||
libgnutls28-dev
|
|
||||||
liblua5.3-dev
|
|
||||||
libncurses-dev
|
|
||||||
libperl-dev
|
|
||||||
libphp-embed
|
|
||||||
libsodium-dev
|
|
||||||
libv8-dev
|
|
||||||
libzstd-dev
|
|
||||||
ninja-build
|
|
||||||
php-dev
|
|
||||||
pkg-config
|
|
||||||
pylint
|
|
||||||
python3-bandit
|
|
||||||
python3-dev
|
|
||||||
python3-pip
|
|
||||||
ruby-pygments.rb
|
|
||||||
shellcheck
|
|
||||||
tcl8.6-dev
|
|
||||||
zlib1g-dev
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
@@ -55,8 +19,6 @@ jobs:
|
|||||||
- { name: "gcc", cc: "gcc", cxx: "g++", buildargs: "" }
|
- { name: "gcc", cc: "gcc", cxx: "g++", buildargs: "" }
|
||||||
- { name: "gcc_ninja", cc: "gcc", cxx: "g++", buildargs: "-G Ninja" }
|
- { name: "gcc_ninja", cc: "gcc", cxx: "g++", buildargs: "-G Ninja" }
|
||||||
- { name: "gcc_no_nls", cc: "gcc", cxx: "g++", buildargs: "-DENABLE_NLS=OFF -DENABLE_DOC=OFF" }
|
- { name: "gcc_no_nls", cc: "gcc", cxx: "g++", buildargs: "-DENABLE_NLS=OFF -DENABLE_DOC=OFF" }
|
||||||
- { name: "gcc_no_zstd", cc: "gcc", cxx: "g++", buildargs: "-DENABLE_ZSTD=OFF -DENABLE_DOC=OFF" }
|
|
||||||
- { name: "gcc_no_cjson", cc: "gcc", cxx: "g++", buildargs: "-DENABLE_CJSON=OFF -DENABLE_DOC=OFF" }
|
|
||||||
- { name: "gcc_coverage", cc: "gcc", cxx: "g++", buildargs: "-DENABLE_CODE_COVERAGE=ON" }
|
- { name: "gcc_coverage", cc: "gcc", cxx: "g++", buildargs: "-DENABLE_CODE_COVERAGE=ON" }
|
||||||
- { name: "clang", cc: "clang", cxx: "clang++", buildargs: "" }
|
- { name: "clang", cc: "clang", cxx: "clang++", buildargs: "" }
|
||||||
|
|
||||||
@@ -82,7 +44,7 @@ jobs:
|
|||||||
run: ./tools/check_scripts.sh
|
run: ./tools/check_scripts.sh
|
||||||
|
|
||||||
- name: Check Python stub file
|
- name: Check Python stub file
|
||||||
run: ./tools/generate_python_stub.py | diff src/plugins/python/weechat.pyi -
|
run: ./doc/python_stub.py | diff src/plugins/python/weechat.pyi -
|
||||||
|
|
||||||
- name: Check Curl symbols
|
- name: Check Curl symbols
|
||||||
run: curl --silent --show-error --fail --retry 10 https://raw.githubusercontent.com/curl/curl/master/docs/libcurl/symbols-in-versions | ./tools/check_curl_symbols.py
|
run: curl --silent --show-error --fail --retry 10 https://raw.githubusercontent.com/curl/curl/master/docs/libcurl/symbols-in-versions | ./tools/check_curl_symbols.py
|
||||||
@@ -105,22 +67,6 @@ jobs:
|
|||||||
weechat --version
|
weechat --version
|
||||||
weechat --run-command "/debug dirs;/debug libs" --run-command "/quit"
|
weechat --run-command "/debug dirs;/debug libs" --run-command "/quit"
|
||||||
|
|
||||||
- name: Test Relay OpenAPI
|
|
||||||
if: ${{ matrix.config.name == 'gcc' }}
|
|
||||||
env:
|
|
||||||
RELAY_PASSWORD: test
|
|
||||||
run: |
|
|
||||||
sudo -H pip3 install --ignore-installed schemathesis
|
|
||||||
weechat-headless \
|
|
||||||
--dir /tmp/weechat-test-api \
|
|
||||||
--run-command '/set relay.network.password "${{ env.RELAY_PASSWORD }}"' \
|
|
||||||
--run-command '/relay add api 9000' \
|
|
||||||
--daemon \
|
|
||||||
;
|
|
||||||
sleep 5
|
|
||||||
./tools/test_relay_api.sh http://localhost:9000
|
|
||||||
echo '*/quit' >/tmp/weechat-test-api/weechat_fifo_*
|
|
||||||
|
|
||||||
- name: Code coverage
|
- name: Code coverage
|
||||||
if: ${{ matrix.config.name == 'gcc_coverage' }}
|
if: ${{ matrix.config.name == 'gcc_coverage' }}
|
||||||
env:
|
env:
|
||||||
@@ -147,9 +93,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Setup Homebrew
|
- uses: actions/checkout@v2
|
||||||
id: setup-homebrew
|
|
||||||
uses: Homebrew/actions/setup-homebrew@master
|
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
@@ -167,9 +111,7 @@ jobs:
|
|||||||
/usr/local/bin/python3.11 \
|
/usr/local/bin/python3.11 \
|
||||||
/usr/local/bin/python3.11-config \
|
/usr/local/bin/python3.11-config \
|
||||||
;
|
;
|
||||||
brew install asciidoctor cjson guile lua pkg-config ruby
|
brew install asciidoctor guile lua pkg-config ruby
|
||||||
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
env:
|
env:
|
||||||
@@ -228,39 +170,3 @@ jobs:
|
|||||||
weechat-curses --help
|
weechat-curses --help
|
||||||
weechat --version
|
weechat --version
|
||||||
weechat --run-command "/debug dirs;/debug libs" --run-command "/quit"
|
weechat --run-command "/debug dirs;/debug libs" --run-command "/quit"
|
||||||
|
|
||||||
codeql-analysis:
|
|
||||||
|
|
||||||
name: CodeQL
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
permissions:
|
|
||||||
actions: read
|
|
||||||
contents: read
|
|
||||||
security-events: write
|
|
||||||
|
|
||||||
steps:
|
|
||||||
|
|
||||||
- name: Checkout repository
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
|
|
||||||
- name: Install dependencies
|
|
||||||
run: |
|
|
||||||
sudo apt-get update -qq
|
|
||||||
sudo apt-get --yes --no-install-recommends install ${{ env.WEECHAT_DEPENDENCIES }}
|
|
||||||
# uninstall php imagick as is causes a crash when loading php plugin (see #2009)
|
|
||||||
sudo apt-get --yes purge php8.1-imagick
|
|
||||||
sudo -H pip3 install --ignore-installed msgcheck
|
|
||||||
|
|
||||||
- name: Initialize CodeQL
|
|
||||||
uses: github/codeql-action/init@v3
|
|
||||||
with:
|
|
||||||
languages: cpp
|
|
||||||
|
|
||||||
- name: Autobuild
|
|
||||||
uses: github/codeql-action/autobuild@v3
|
|
||||||
|
|
||||||
- name: Perform CodeQL Analysis
|
|
||||||
uses: github/codeql-action/analyze@v3
|
|
||||||
with:
|
|
||||||
category: "/language:cpp"
|
|
||||||
|
|||||||
@@ -67,7 +67,6 @@ Alphabetically:
|
|||||||
* Jiri Golembiovsky (GolemJ)
|
* Jiri Golembiovsky (GolemJ)
|
||||||
* Joey Pabalinas (alyptik)
|
* Joey Pabalinas (alyptik)
|
||||||
* Johan Rylander
|
* Johan Rylander
|
||||||
* Johannes Kuhn
|
|
||||||
* Joram Schrijver
|
* Joram Schrijver
|
||||||
* Jos Ahrens
|
* Jos Ahrens
|
||||||
* Joseph Kichline
|
* Joseph Kichline
|
||||||
@@ -82,12 +81,10 @@ Alphabetically:
|
|||||||
* Lázaro A.
|
* Lázaro A.
|
||||||
* Leonid Evdokimov
|
* Leonid Evdokimov
|
||||||
* Linus Heckemann
|
* Linus Heckemann
|
||||||
* LuK1337
|
|
||||||
* Maarten de Vries
|
* Maarten de Vries
|
||||||
* Mantas Mikulėnas (grawity)
|
* Mantas Mikulėnas (grawity)
|
||||||
* Marco Paolone
|
* Marco Paolone
|
||||||
* Marco Sirabella
|
* Marco Sirabella
|
||||||
* Mario Campos
|
|
||||||
* Mateusz Poszwa
|
* Mateusz Poszwa
|
||||||
* Matt Robinson
|
* Matt Robinson
|
||||||
* Matthew Horan
|
* Matthew Horan
|
||||||
|
|||||||
+5
-20
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2003-2024 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2003-2023 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
# Copyright (C) 2007-2008 Julien Louis <ptitlouis@sysif.net>
|
# Copyright (C) 2007-2008 Julien Louis <ptitlouis@sysif.net>
|
||||||
# Copyright (C) 2008-2009 Emmanuel Bouthenot <kolter@openics.org>
|
# Copyright (C) 2008-2009 Emmanuel Bouthenot <kolter@openics.org>
|
||||||
#
|
#
|
||||||
@@ -19,7 +19,7 @@
|
|||||||
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||||
#
|
#
|
||||||
|
|
||||||
cmake_minimum_required(VERSION 3.5)
|
cmake_minimum_required(VERSION 3.0)
|
||||||
|
|
||||||
project(weechat C)
|
project(weechat C)
|
||||||
|
|
||||||
@@ -29,7 +29,7 @@ set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake" "${CMAKE_MODULE_PATH}")
|
|||||||
set(CMAKE_SKIP_RPATH ON)
|
set(CMAKE_SKIP_RPATH ON)
|
||||||
|
|
||||||
# compiler options
|
# compiler options
|
||||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fsigned-char -fms-extensions -Wall -Wextra -Werror-implicit-function-declaration -Wformat -Werror=format-security")
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fsigned-char -fms-extensions -Wall -Wextra -Werror-implicit-function-declaration")
|
||||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsigned-char -fms-extensions -Wall -Wextra")
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsigned-char -fms-extensions -Wall -Wextra")
|
||||||
if (CMAKE_C_COMPILER_ID STREQUAL "GNU")
|
if (CMAKE_C_COMPILER_ID STREQUAL "GNU")
|
||||||
# extra options specific to gcc/g++
|
# extra options specific to gcc/g++
|
||||||
@@ -99,8 +99,6 @@ option(ENABLE_NCURSES "Compile the Ncurses interface" ON)
|
|||||||
option(ENABLE_HEADLESS "Compile the headless binary" ON)
|
option(ENABLE_HEADLESS "Compile the headless binary" ON)
|
||||||
option(ENABLE_NLS "Enable Native Language Support" ON)
|
option(ENABLE_NLS "Enable Native Language Support" ON)
|
||||||
option(ENABLE_LARGEFILE "Enable Large File Support" ON)
|
option(ENABLE_LARGEFILE "Enable Large File Support" ON)
|
||||||
option(ENABLE_ZSTD "Enable Zstandard compression" ON)
|
|
||||||
option(ENABLE_CJSON "Enable cJSON support" ON)
|
|
||||||
option(ENABLE_ALIAS "Enable Alias plugin" ON)
|
option(ENABLE_ALIAS "Enable Alias plugin" ON)
|
||||||
option(ENABLE_BUFLIST "Enable Buflist plugin" ON)
|
option(ENABLE_BUFLIST "Enable Buflist plugin" ON)
|
||||||
option(ENABLE_CHARSET "Enable Charset plugin" ON)
|
option(ENABLE_CHARSET "Enable Charset plugin" ON)
|
||||||
@@ -192,9 +190,6 @@ include(CheckSymbolExists)
|
|||||||
check_include_files("langinfo.h" HAVE_LANGINFO_CODESET)
|
check_include_files("langinfo.h" HAVE_LANGINFO_CODESET)
|
||||||
check_include_files("sys/resource.h" HAVE_SYS_RESOURCE_H)
|
check_include_files("sys/resource.h" HAVE_SYS_RESOURCE_H)
|
||||||
|
|
||||||
check_include_files("malloc.h" HAVE_MALLOC_H)
|
|
||||||
check_symbol_exists("malloc_trim" "malloc.h" HAVE_MALLOC_TRIM)
|
|
||||||
|
|
||||||
check_function_exists(mallinfo HAVE_MALLINFO)
|
check_function_exists(mallinfo HAVE_MALLINFO)
|
||||||
check_function_exists(mallinfo2 HAVE_MALLINFO2)
|
check_function_exists(mallinfo2 HAVE_MALLINFO2)
|
||||||
|
|
||||||
@@ -206,10 +201,9 @@ if(ENABLE_LARGEFILE)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Check for libgcrypt
|
# Check for libgcrypt
|
||||||
pkg_check_modules(LIBGCRYPT REQUIRED libgcrypt)
|
find_package(GCRYPT REQUIRED)
|
||||||
add_definitions(-DHAVE_GCRYPT)
|
add_definitions(-DHAVE_GCRYPT)
|
||||||
include_directories(${LIBGCRYPT_INCLUDE_DIRS})
|
list(APPEND EXTRA_LIBS ${GCRYPT_LDFLAGS})
|
||||||
list(APPEND EXTRA_LIBS ${LIBGCRYPT_LDFLAGS})
|
|
||||||
|
|
||||||
# Check for GnuTLS
|
# Check for GnuTLS
|
||||||
find_package(GnuTLS REQUIRED)
|
find_package(GnuTLS REQUIRED)
|
||||||
@@ -222,16 +216,7 @@ list(APPEND EXTRA_LIBS gnutls)
|
|||||||
find_package(ZLIB REQUIRED)
|
find_package(ZLIB REQUIRED)
|
||||||
|
|
||||||
# Check for zstd
|
# Check for zstd
|
||||||
if(ENABLE_ZSTD)
|
|
||||||
pkg_check_modules(LIBZSTD REQUIRED libzstd)
|
pkg_check_modules(LIBZSTD REQUIRED libzstd)
|
||||||
add_definitions(-DHAVE_ZSTD)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
# Check for cJSON
|
|
||||||
if(ENABLE_CJSON)
|
|
||||||
pkg_check_modules(LIBCJSON REQUIRED libcjson)
|
|
||||||
add_definitions(-DHAVE_CJSON)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
# Check for iconv
|
# Check for iconv
|
||||||
find_package(Iconv)
|
find_package(Iconv)
|
||||||
|
|||||||
+10
-481
@@ -5,399 +5,28 @@
|
|||||||
:toc: left
|
:toc: left
|
||||||
:docinfo1:
|
:docinfo1:
|
||||||
|
|
||||||
:see-release-notes: If you are upgrading: please see release notes.
|
|
||||||
:breaking: pass:quotes[*[breaking]*]
|
|
||||||
|
|
||||||
[[v4.3.7]]
|
This document lists all the changes for each version. +
|
||||||
== Version 4.3.7 (under dev)
|
For a list of important changes that require manual actions, please look at release notes.
|
||||||
|
|
||||||
[[v4.3.7_fixed]]
|
|
||||||
=== Fixed
|
|
||||||
|
|
||||||
* irc: fix send of split messages when server option "anti_flood" set to 0 (issue #2172)
|
[[v4.0.9]]
|
||||||
|
== Version 4.0.9 (under dev)
|
||||||
[[v4.3.6]]
|
|
||||||
== Version 4.3.6 (2024-08-15)
|
|
||||||
|
|
||||||
[[v4.3.6_fixed]]
|
|
||||||
=== Fixed
|
|
||||||
|
|
||||||
* core: fix generation of TOTP on FreeBSD (issue #2171)
|
|
||||||
* relay/api: fix crash when sending data to a remote buffer when the remote has been deleted (issue #2157)
|
|
||||||
* relay/api: fix timezone of dates sent to clients (issue #2151)
|
|
||||||
|
|
||||||
[[v4.3.5]]
|
|
||||||
== Version 4.3.5 (2024-07-16)
|
|
||||||
|
|
||||||
[[v4.3.5_fixed]]
|
|
||||||
=== Fixed
|
|
||||||
|
|
||||||
* ruby: fix crash in plugin initialization (issue #2163)
|
|
||||||
|
|
||||||
[[v4.3.4]]
|
|
||||||
== Version 4.3.4 (2024-07-03)
|
|
||||||
|
|
||||||
[[v4.3.4_fixed]]
|
|
||||||
=== Fixed
|
|
||||||
|
|
||||||
* python: fix crash on quit with Python 3.12 (issue #2046, issue #2126)
|
|
||||||
* core: fix crash when deleting a bar that has no items (issue #2138)
|
|
||||||
* ruby: fix builtin functions not available (issue #2109)
|
|
||||||
* relay/api: fix "body_type" returned when lines or nicks of a buffer are requested
|
|
||||||
|
|
||||||
[[v4.3.3]]
|
|
||||||
== Version 4.3.3 (2024-06-22)
|
|
||||||
|
|
||||||
[[v4.3.3_fixed]]
|
|
||||||
=== Fixed
|
|
||||||
|
|
||||||
* core, plugins: return "0x0" instead of "(nil)" for pointers formatted in strings
|
|
||||||
|
|
||||||
[[v4.3.2]]
|
|
||||||
== Version 4.3.2 (2024-06-06)
|
|
||||||
|
|
||||||
[[v4.3.2_changed]]
|
|
||||||
=== Changed
|
|
||||||
|
|
||||||
* relay: enable websocket extension "permessage-deflate" with "api" relay only (issue #1549)
|
|
||||||
|
|
||||||
[[v4.3.2_added]]
|
|
||||||
=== Added
|
|
||||||
|
|
||||||
* relay: add option relay.look.raw_messages_max_length (issue #2122)
|
|
||||||
|
|
||||||
[[v4.3.2_fixed]]
|
|
||||||
=== Fixed
|
|
||||||
|
|
||||||
* irc, xfer: fix display of input prompt in IRC private buffers and DCC chat buffers (issue #2128)
|
|
||||||
* irc: don't return pointer to irc server if the channel or nick is not found in info "irc_buffer"
|
|
||||||
* relay: fix websocket permessage-deflate extension when the client doesn't send the max window bits parameters (issue #1549)
|
|
||||||
* relay: fix allocation and reinit of field "client_context_takeover" in websocket deflate structure (issue #1549)
|
|
||||||
|
|
||||||
[[v4.3.1]]
|
|
||||||
== Version 4.3.1 (2024-05-31)
|
|
||||||
|
|
||||||
[[v4.3.1_fixed]]
|
|
||||||
=== Fixed
|
|
||||||
|
|
||||||
* irc: close /list buffer when the server buffer is closed (issue #2121)
|
|
||||||
* xfer: fix send of data on the DCC chat buffer after `/upgrade` if the buffer was opened before the upgrade (issue #2092)
|
|
||||||
* php: fix return value of function hdata_longlong
|
|
||||||
* tcl: fix return value of function hdata_longlong (issue #2119)
|
|
||||||
* core: fix detection of libgcrypt ≥ 1.11 (debian #1071960)
|
|
||||||
* core, relay: fix include directory of libcjson and libzstd
|
|
||||||
* tests: fix relay tests on s390x (issue #2118)
|
|
||||||
* tests: fix check of php plugin (issue #2117)
|
|
||||||
* tests: fix compilation of tests on Fedora 40 (issue #2116)
|
|
||||||
* tests: fix compilation of tests on Rocky 9.4
|
|
||||||
|
|
||||||
[[v4.3.0]]
|
|
||||||
== Version 4.3.0 (2024-05-26)
|
|
||||||
|
|
||||||
{see-release-notes}
|
|
||||||
|
|
||||||
[[v4.3.0_changed]]
|
|
||||||
=== Changed
|
|
||||||
|
|
||||||
* {breaking} irc: add server option "autojoin_delay" (delay before autojoin), use option "command_delay" before execution of the command (issue #862)
|
|
||||||
* {breaking} irc: rename option irc.color.item_channel_modes to weechat.color.status_modes
|
|
||||||
* {breaking} irc: add option `-all` in command `/allchan`, do not execute command on parted channels by default (issue #2085)
|
|
||||||
* {breaking} relay: rename option relay.weechat.commands to relay.network.commands and change default to `*,!quit` (issue #2066)
|
|
||||||
* {breaking} relay: change option type relay.look.auto_open_buffer to string (issue #2066)
|
|
||||||
* {breaking} core: add buffer properties "input_prompt" and "modes", used to display bar items (issue #2066)
|
|
||||||
* {breaking} core: add bar item "lag" to display lag on relay remote buffers (issue #2066)
|
|
||||||
* {breaking} core: send signal "buffer_line_added" on buffers with free content
|
|
||||||
* {breaking} core: convert option weechat.look.hotlist_sort to a list of fields (issue #2097)
|
|
||||||
* {breaking} core: rename variables with creation time in hdata "hotlist": "creation_time.tv_sec" to "time" and "creation_time.tv_usec" to "time_usec"
|
|
||||||
* {breaking} api: return `-1` or `1` if one input string is NULL and not the other in string comparison functions
|
|
||||||
* {breaking} api: use whole replacement string instead of first char in function string_remove_color
|
|
||||||
* core: use nick offline color for nick in action message (issue #446)
|
|
||||||
* core: display a specific message when the value of option is unchanged after `/set` command
|
|
||||||
* core: add variable `${highlight}` in option weechat.look.buffer_time_format (issue #2079)
|
|
||||||
* core: reintroduce help on the variables and operators in `/help eval` (issue #2005)
|
|
||||||
* core: allow case insensitive search of partial buffer name with `(?i)name` in command `/buffer`
|
|
||||||
* core: use function util_strftimeval in evaluation of expression `date:xxx`
|
|
||||||
* fset: allow filename starting with "~" in command `/fset -export`
|
|
||||||
* irc: store lag in channel and private buffers (local variable "lag"), in addition to the server buffer
|
|
||||||
* irc: allow range in commands `/unban` and `/unquiet` (issue #2113)
|
|
||||||
* tcl: add support of Tcl 9.0 (issue #2075)
|
|
||||||
|
|
||||||
[[v4.3.0_added]]
|
|
||||||
=== Added
|
|
||||||
|
|
||||||
* relay: add "api" protocol (HTTP REST API), add options relay.look.display_clients, relay.api.remote_get_lines and relay.network.time_window (issue #2066)
|
|
||||||
* relay: add command `/remote` to connect to remote WeeChat relay servers (issue #2066)
|
|
||||||
* relay: add support of websocket extension "permessage-deflate" (issue #1549)
|
|
||||||
* core, api: add unique identifier "id" in buffer and nicklist (group and nick), add function "hdata_longlong", allow search by buffer id in function buffer_search, allow search by group and nick id in functions nicklist_search_group and nicklist_search_nick (issue #2081)
|
|
||||||
* core: add support of XDG "state" directory (issue #2106, issue #1747)
|
|
||||||
* core: add support of SGR mouse events (issue #2082)
|
|
||||||
* fset: add option `-import` in command `/fset`
|
|
||||||
* core: add option `-s` in command `/command` to execute multiple commands separated by semicolons
|
|
||||||
* core: add option `malloc_trim` in command `/sys`
|
|
||||||
* core: add option weechat.look.config_permissions (issue #2057)
|
|
||||||
* core: add option weechat.look.highlight_prefix (issue #2079)
|
|
||||||
* core: add option weechat.completion.case_sensitive
|
|
||||||
* api: add functions config_option_get_{string|pointer} and config_{boolean|integer|string|color|enum}_inherited in scripting API
|
|
||||||
* api: add modifier "color_decode" to decode WeeChat colors with a replacement string
|
|
||||||
* api: add support of base64url in encode/decode functions
|
|
||||||
* api: add support of specifier `%!` for timestamp in function util_strftimeval
|
|
||||||
* api: add info "plugin_loaded"
|
|
||||||
* script: add option `enable` in command `/script`
|
|
||||||
* script: add info "script_loaded"
|
|
||||||
|
|
||||||
[[v4.3.0_fixed]]
|
|
||||||
=== Fixed
|
|
||||||
|
|
||||||
* core: fix conversion of WeeChat colors to ANSI colors: "default", "bar_fg", "bar_bg", "bar_delim"
|
|
||||||
* core: fix recursive search of group in nicklist
|
|
||||||
* core: use nick offline highlight color for prefix of action message when the nick is offline with a highlight
|
|
||||||
* core: add missing hdata name "buffer" in hdata "hotlist"
|
|
||||||
* core: fix reset to initial scroll position after search of text in buffer (issue #2093)
|
|
||||||
* core: add missing mouse events "alt-ctrl-button2" and "alt-ctrl-button3"
|
|
||||||
* core: remove trailing directory separators in home directories (issue #2070)
|
|
||||||
* exec: remove trailing space on buffers with free content when line numbers are not displayed
|
|
||||||
* exec: add missing exec tags in lines of buffers with free content (issue #2086)
|
|
||||||
* irc: fix crash in split of IRC message containing a newline if the server is not given
|
|
||||||
* irc: fix display of reply for CTCP request received on a channel when capability echo-message is enabled
|
|
||||||
* irc: display CTCP reply to a nick in server buffer instead of channel
|
|
||||||
* irc: add missing tags on self action messages when capability echo-message is enabled (issue #2074)
|
|
||||||
* irc: don't strip monospace color code 0x11 from incoming messages (issue #2073)
|
|
||||||
* irc: fix random date displayed when a received message contains tags but no "time" (issue #2064)
|
|
||||||
* lua: fix freeze on call to "debug.debug" (issue #1906, issue #1907)
|
|
||||||
* python: fix truncation of unsigned long long integer returned by function string_parse_size
|
|
||||||
* relay: set the last IRC client disconnection time only after a successful connection (issue #2103)
|
|
||||||
* script: always display list of scripts when searching scripts with `/script search` (issue #2077)
|
|
||||||
* script: fix default mouse keys (issue #2076)
|
|
||||||
* scripts: fix crash on script unload when a hook is created in a buffer close callback (issue #2067)
|
|
||||||
* tcl: fix truncation of long integer returned by function hdata_long
|
|
||||||
* trigger: fix memory leak when adding a new trigger with `/trigger` command
|
|
||||||
|
|
||||||
[[v4.2.3]]
|
|
||||||
== Version 4.2.3 (2024-05-31)
|
|
||||||
|
|
||||||
Bug fixes::
|
Bug fixes::
|
||||||
|
|
||||||
* xfer: fix send of data on the DCC chat buffer after `/upgrade` if the buffer was opened before the upgrade (issue #2092)
|
|
||||||
* irc: fix crash in split of IRC message containing a newline if the server is not given
|
|
||||||
* core, relay: fix include directory of libzstd
|
* core, relay: fix include directory of libzstd
|
||||||
|
|
||||||
[[v4.2.2]]
|
|
||||||
== Version 4.2.2 (2024-04-07)
|
|
||||||
|
|
||||||
{see-release-notes}
|
|
||||||
|
|
||||||
Bug fixes::
|
|
||||||
|
|
||||||
* core: fix reset to initial scroll position after search of text in buffer (issue #2093)
|
|
||||||
* core: add missing mouse events "alt-ctrl-button2" and "alt-ctrl-button3"
|
* core: add missing mouse events "alt-ctrl-button2" and "alt-ctrl-button3"
|
||||||
* exec: remove trailing space on buffers with free content when line numbers are not displayed
|
* irc: fix crash in split of IRC message containing a newline if the server is not given
|
||||||
* exec: add missing exec tags in lines of buffers with free content (issue #2086)
|
|
||||||
* irc: add missing tags on self action messages when capability echo-message is enabled (issue #2074)
|
|
||||||
* python: fix truncation of unsigned long long integer returned by function string_parse_size
|
* python: fix truncation of unsigned long long integer returned by function string_parse_size
|
||||||
* relay: set the last IRC client disconnection time only after a successful connection (issue #2103)
|
|
||||||
* script: always display list of scripts when searching scripts with `/script search` (issue #2077)
|
* script: always display list of scripts when searching scripts with `/script search` (issue #2077)
|
||||||
* script: fix default mouse keys (issue #2076)
|
|
||||||
* scripts: fix crash on script unload when a hook is created in a buffer close callback (issue #2067)
|
|
||||||
* tcl: fix truncation of long integer returned by function hdata_long
|
* tcl: fix truncation of long integer returned by function hdata_long
|
||||||
* trigger: fix memory leak when adding a new trigger with `/trigger` command
|
* trigger: fix memory leak when adding a new trigger with `/trigger` command
|
||||||
|
|
||||||
Tests::
|
|
||||||
|
|
||||||
* core: fix tests on function strftimeval on Alpine
|
|
||||||
|
|
||||||
[[v4.2.1]]
|
|
||||||
== Version 4.2.1 (2024-01-22)
|
|
||||||
|
|
||||||
Bug fixes::
|
|
||||||
|
|
||||||
* irc: fix random date displayed when a received message contains tags but no "time" (issue #2064)
|
|
||||||
|
|
||||||
[[v4.2.0]]
|
|
||||||
== Version 4.2.0 (2024-01-21)
|
|
||||||
|
|
||||||
{see-release-notes}
|
|
||||||
|
|
||||||
New features::
|
|
||||||
|
|
||||||
* core: add variable "opening" in buffer, do not send buffer signals when the buffer is opening
|
|
||||||
* core: store microseconds in buffer lines (issue #649)
|
|
||||||
* core: evaluate expressions even when the suffix is missing ("}" by default) (issue #2042, issue #1714)
|
|
||||||
* core: add syntax highlighting in evaluation of expressions with `raw_hl:string` and `hl:string`, add option weechat.color.eval_syntax_colors (issue #2042)
|
|
||||||
* core: add option `search_history` in command `/input`, add key kbd:[Ctrl+r] to search in commands history, add key context "histsearch" (issue #2040)
|
|
||||||
* core: add option weechat.look.buffer_search_history (issue #2040)
|
|
||||||
* core: add key kbd:[Ctrl+o] to send command found and insert next one in input (issue #2040)
|
|
||||||
* core: add buffer variables "text_search_direction", "text_search_history" and "text_search_ptr_history" (issue #2040)
|
|
||||||
* core: move key kbd:[Ctrl+r] to kbd:[Ctrl+s] (issue #2040)
|
|
||||||
* core: move key kbd:[Ctrl+s], kbd:[Ctrl+u] to kbd:[Alt+Shift+U] (issue #2040)
|
|
||||||
* core: display only version with command `/version`, add options `-o` and `-ol` in command `/upgrade`
|
|
||||||
* core: add number of processes in command `/sys waitpid`
|
|
||||||
* core, alias, trigger: allow wildcard in commands `/bar`, `/filter`, `/item`, `/proxy`, `/alias` and `/trigger` (issue #1956)
|
|
||||||
* api: add support of format/translation of command arguments description line by line (issue #2005)
|
|
||||||
* api: add function string_concat (issue #2005)
|
|
||||||
* api: add functions util_strftimeval, util_parse_time, printf_datetime_tags, printf_y_datetime_tags (issue #649)
|
|
||||||
* api: add argument "date_usec" in hook_print callback (issue #649)
|
|
||||||
* api: add property "type" in function buffer_get_string
|
|
||||||
* api: add info "mouse"
|
|
||||||
* buflist: jump to previous/next buffer displayed in buflist item with ctrl+wheel up/down on a buflist item (issue #1473)
|
|
||||||
* irc: add option irc.look.display_host_wallops
|
|
||||||
* irc: add server option "anti_flood" (now in milliseconds), remove server options "anti_flood_prio_{high|low}" (issue #1039)
|
|
||||||
* irc: add option irc.look.list_buffer
|
|
||||||
* irc: change default value of server option "tls_priorities" to `NORMAL`
|
|
||||||
* irc: add support of RGB colors in messages, add option irc.color.term_remap (issue #2025)
|
|
||||||
* irc: add tags "nick_xxx" and "host_xxx" in all messages, including self and server messages
|
|
||||||
* irc: add option irc.look.ignore_tag_messages (issue #989)
|
|
||||||
* relay: change default value of option relay.network.tls_priorities to `NORMAL`
|
|
||||||
* trigger: change format of variables `${tg_date}` from "%Y-%m-%d %H:%M:%S" to "%FT%T.%f" (issue #649)
|
|
||||||
* trigger: rename local variable "trigger_filter" to "filter" on monitor buffer (issue #2037)
|
|
||||||
|
|
||||||
Bug fixes::
|
|
||||||
|
|
||||||
* core: fix crash on plugin reload when using musl libc (issue #2052)
|
|
||||||
* core: fix infinite loop in display when the chat area is too small (issue #2053)
|
|
||||||
* core: fix value of buffer variable "num_history" when the value defined in option weechat.history.max_commands is reached
|
|
||||||
* core: remove incorrect warning when binding keys kbd:[F10] to kbd:[F20] (issue #2039)
|
|
||||||
* core: call hook config when options are removed
|
|
||||||
* core: display an error with command `/history N` when N is not a valid integer
|
|
||||||
* core: fix memory leak when config version is invalid or not supported
|
|
||||||
* core: fix crash when "config_version" is present in a configuration file without a value
|
|
||||||
* core: display an error on startup if environment variable "HOME" is not set
|
|
||||||
* core: fix crash when a custom bar item name is already used by a default bar item (issue #2034)
|
|
||||||
* core: fix random timeouts when a lot of concurrent processes are launched with hook_process (issue #2033)
|
|
||||||
* api: return NULL instead of empty infolist "key" when context is not found
|
|
||||||
* irc: check if arguments are not NULL in some infos
|
|
||||||
* irc: fix info "irc_is_message_ignored" (issue #2059)
|
|
||||||
* irc: fix display of self messages when the message split fails due to inconsistent max lengths sent by the server in message 005
|
|
||||||
* irc: display messages 730/731 (monitored nicks online/offline) even if command `/notify` was not used (issue #2049)
|
|
||||||
* irc: remove trailing "\r\n" in signals "irc_out" and "irc_outtags" when messages are queued
|
|
||||||
* irc: fix target buffer of IRC message 337 (whois reply: "is hiding their idle time")
|
|
||||||
* irc: revert compute of nick colors to case sensitive way, deprecate again infos "irc_nick_color" and "irc_nick_color_name" (issue #194, issue #2032)
|
|
||||||
* relay: close properly connection with the IRC client in case of server disconnection (issue #2038)
|
|
||||||
* ruby: fix use of NULL variable when displaying exception
|
|
||||||
|
|
||||||
Tests::
|
|
||||||
|
|
||||||
* core: add tests on plugin config and plugin API info functions
|
|
||||||
* irc: add tests on info functions
|
|
||||||
|
|
||||||
Build::
|
Build::
|
||||||
|
|
||||||
* core: make libintl.h required if CMake option ENABLE_NLS is enabled (issue #2031)
|
|
||||||
* ruby: add detection of Ruby 3.3
|
* ruby: add detection of Ruby 3.3
|
||||||
|
|
||||||
[[v4.1.3]]
|
|
||||||
== Version 4.1.3 (2024-01-20)
|
|
||||||
|
|
||||||
Bug fixes::
|
|
||||||
|
|
||||||
* core: fix crash on plugin reload when using musl libc (issue #2052)
|
|
||||||
* core: fix infinite loop in display when the chat area is too small (issue #2053)
|
|
||||||
* irc: check if arguments are not NULL in some infos
|
|
||||||
* irc: fix info "irc_is_message_ignored" (issue #2059)
|
|
||||||
* irc: fix display of self messages when the message split fails due to inconsistent max lengths sent by the server in message 005
|
|
||||||
|
|
||||||
[[v4.1.2]]
|
|
||||||
== Version 4.1.2 (2023-12-03)
|
|
||||||
|
|
||||||
Bug fixes::
|
|
||||||
|
|
||||||
* core: fix value of buffer variable "num_history" when the value defined in option weechat.history.max_commands is reached
|
|
||||||
* core: remove incorrect warning when binding keys kbd:[F10] to kbd:[F20] (issue #2039)
|
|
||||||
* core: fix memory leak when config version is invalid or not supported
|
|
||||||
* core: fix crash when "config_version" is present in a configuration file without a value
|
|
||||||
* core: display an error on startup if environment variable "HOME" is not set
|
|
||||||
* irc: remove trailing "\r\n" in signals "irc_out" and "irc_outtags" when messages are queued
|
|
||||||
* irc: fix target buffer of IRC message 337 (whois reply: "is hiding their idle time")
|
|
||||||
* relay: close properly connection with the IRC client in case of server disconnection (issue #2038)
|
|
||||||
* ruby: fix use of NULL variable when displaying exception
|
|
||||||
|
|
||||||
[[v4.1.1]]
|
|
||||||
== Version 4.1.1 (2023-10-26)
|
|
||||||
|
|
||||||
{see-release-notes}
|
|
||||||
|
|
||||||
Bug fixes::
|
|
||||||
|
|
||||||
* core: fix crash when a custom bar item name is already used by a default bar item (issue #2034)
|
|
||||||
* core: fix random timeouts when a lot of concurrent processes are launched with hook_process (issue #2033)
|
|
||||||
* irc: revert compute of nick colors to case sensitive way, deprecate again infos "irc_nick_color" and "irc_nick_color_name" (issue #194, issue #2032)
|
|
||||||
|
|
||||||
Build::
|
|
||||||
|
|
||||||
* core: make libintl.h required if CMake option ENABLE_NLS is enabled (issue #2031)
|
|
||||||
|
|
||||||
[[v4.1.0]]
|
|
||||||
== Version 4.1.0 (2023-10-15)
|
|
||||||
|
|
||||||
{see-release-notes}
|
|
||||||
|
|
||||||
New features::
|
|
||||||
|
|
||||||
* core: add completion "eval_variables", used in completion of `/eval`
|
|
||||||
* core: add command `/sys` to show resource limits/usage and suspend WeeChat process, add key kbd:[Ctrl+z] to suspend WeeChat (issue #985)
|
|
||||||
* core: ignore key bindings with empty command
|
|
||||||
* core: add support of quotes in commands `/key bind` and `/key bindctxt`
|
|
||||||
* core: evaluate command given to `/repeat` with contextual variables (issue #2007)
|
|
||||||
* core: add option `callbacks` in command `/debug`
|
|
||||||
* core: add option type "enum" (issue #1973)
|
|
||||||
* core: add options weechat.buffer.* to save buffer properties set by user, add option `setauto` in command `/buffer` (issue #352)
|
|
||||||
* core: add parameters and key bindings to move to edges of current area with commands `/cursor go` and `/cursor move` (issue #1282)
|
|
||||||
* core: add variables "_chat_focused_line_bol" and "_chat_focused_line_eol" in focus data (issue #1955)
|
|
||||||
* api: add function hook_url, add option `url` in command `/debug` (issue #1723)
|
|
||||||
* api: add support of path to variable and hashtable comparison in function hdata_compare (issue #1066)
|
|
||||||
* api: add infos "nick_color_ignore_case" and "nick_color_name_ignore_case" (issue #194)
|
|
||||||
* api: add info "buffer" (issue #1962)
|
|
||||||
* buflist: add support of item names in command `/buflist refresh`, add completions "buflist_items" and "buflist_items_used"
|
|
||||||
* buflist: increase max number of buflist items from 3 to 5 (issue #1703)
|
|
||||||
* fset: add variable `allowed_values` in options, add options fset.color.allowed_values and fset.color.allowed_values_selected
|
|
||||||
* fset: allow long type name in type filter
|
|
||||||
* irc: add count for all nick modes in output of `/names` (issue #97, issue #2020)
|
|
||||||
* irc: add count and mode filter in command `/names` (issue #98)
|
|
||||||
* irc: compute color in case insensitive way, reintroduce infos "irc_nick_color" and "irc_nick_color_name", add support of server name (issue #194)
|
|
||||||
* irc: add buffer for /list reply, add options irc.color.list_buffer_line_selected, irc.color.list_buffer_line_selected_bg, irc.look.list_buffer_sort, irc.look.list_buffer_scroll_horizontal, irc.look.new_list_position, irc.look.list_buffer_topic_strip_colors (issue #1972)
|
|
||||||
* irc: display commands 716/717 in private buffer (if present) (issue #146)
|
|
||||||
* irc: create default options irc.ctcp.* when file irc.conf is created (issue #1974)
|
|
||||||
* irc: evaluate options irc.ctcp.* (issue #1974)
|
|
||||||
* irc: build dynamically the list of CTCPs supported in reply to "CTCP CLIENTINFO" (issue #1974)
|
|
||||||
* irc: remove Git revision and compilation date from CTCP VERSION reply (issue #1974)
|
|
||||||
* irc: remove default CTCP replies FINGER and USERINFO (issue #1974)
|
|
||||||
* irc, xfer: add support of passive DCC (issue #2004, issue #487)
|
|
||||||
* script: rename parameters up/down/go to -up/-down/-go in command `/script`
|
|
||||||
* script: allow jump to the last script with command `/script -go end`
|
|
||||||
* script: allow commands `/script autoload`, `/script noautoload`, `/script toggleautoload` with scripts not present in the repository (issue #1980)
|
|
||||||
* trigger: add options `-o`, `-ol`, `-i` and `-il` in command `/trigger list` (issue #1953)
|
|
||||||
|
|
||||||
Bug fixes::
|
|
||||||
|
|
||||||
* core: fix zombie processes after fork (hook process or connect) (issue #1994)
|
|
||||||
* core: fix generation of TOTP on Big Endian systems (issue #2021)
|
|
||||||
* core: fix cursor position after `/plugin list -i` or `/plugin list -il`
|
|
||||||
* core: display focus hashtable for debug even if no key is matching
|
|
||||||
* fset: add local key bindings during the buffer creation
|
|
||||||
* fset: remove extra spaces between min and max values when second format is used
|
|
||||||
* fset: fix mouse actions when second format is used
|
|
||||||
* fset: apply option fset.color.help_description (issue #1988)
|
|
||||||
* irc: move value `-all` at the end of completions for command `/ignore del`
|
|
||||||
* irc: fix memory leak when joining channels with keys
|
|
||||||
* irc: fix unexpected message sent to server when part of the second line of an IRC command (issue #1992)
|
|
||||||
* irc: fix display of country code in message 344 received as whois geo info (issue #1736)
|
|
||||||
* irc: add missing "account-tag" in list of supported capabilities
|
|
||||||
* irc: add channel in "autojoin" server option only when the channel is actually joined (issue #1990)
|
|
||||||
* relay: synchronize nick modes with IRC client upon connection (issue #1984)
|
|
||||||
* script: add local key bindings during the buffer creation
|
|
||||||
* script: add parameters up/down/go in `/help script` and command completion
|
|
||||||
* script: fix cursor position after `/script list -i` or `/script list -il`
|
|
||||||
* script: fix buffer used by command `/script list -i|-il|-o|-ol`
|
|
||||||
* xfer: display an error message when opening file for read or write fails (issue #2010)
|
|
||||||
|
|
||||||
Tests::
|
|
||||||
|
|
||||||
* core: add tests on GUI buffer functions
|
|
||||||
|
|
||||||
Build::
|
|
||||||
|
|
||||||
* core: fix build error if CMake option ENABLE_NLS is turned to off or if required dependencies are not found (issue #2026)
|
|
||||||
* core, logger, relay: make zstd dependency optional (issue #2024)
|
|
||||||
|
|
||||||
[[v4.0.8]]
|
[[v4.0.8]]
|
||||||
== Version 4.0.8 (2024-01-20)
|
== Version 4.0.8 (2024-01-20)
|
||||||
|
|
||||||
@@ -427,8 +56,6 @@ Bug fixes::
|
|||||||
[[v4.0.6]]
|
[[v4.0.6]]
|
||||||
== Version 4.0.6 (2023-10-26)
|
== Version 4.0.6 (2023-10-26)
|
||||||
|
|
||||||
{see-release-notes}
|
|
||||||
|
|
||||||
Bug fixes::
|
Bug fixes::
|
||||||
|
|
||||||
* core: fix crash when a custom bar item name is already used by a default bar item (issue #2034)
|
* core: fix crash when a custom bar item name is already used by a default bar item (issue #2034)
|
||||||
@@ -524,8 +151,6 @@ Build::
|
|||||||
[[v4.0.1]]
|
[[v4.0.1]]
|
||||||
== Version 4.0.1 (2023-06-30)
|
== Version 4.0.1 (2023-06-30)
|
||||||
|
|
||||||
{see-release-notes}
|
|
||||||
|
|
||||||
Bug fixes::
|
Bug fixes::
|
||||||
|
|
||||||
* core: force key "return" to command "/input return" when migrating legacy keys
|
* core: force key "return" to command "/input return" when migrating legacy keys
|
||||||
@@ -539,8 +164,6 @@ Bug fixes::
|
|||||||
[[v4.0.0]]
|
[[v4.0.0]]
|
||||||
== Version 4.0.0 (2023-06-24)
|
== Version 4.0.0 (2023-06-24)
|
||||||
|
|
||||||
{see-release-notes}
|
|
||||||
|
|
||||||
New features::
|
New features::
|
||||||
|
|
||||||
* core: use human readable key bindings, separate keys with comma in combos, remove modifier "meta2-", add option `legacy` in command `/key` (issue #1238, task #10317)
|
* core: use human readable key bindings, separate keys with comma in combos, remove modifier "meta2-", add option `legacy` in command `/key` (issue #1238, task #10317)
|
||||||
@@ -560,7 +183,7 @@ New features::
|
|||||||
* core: add relative move of read marker with `/buffer set unread [+/-]N` (issue #1895)
|
* core: add relative move of read marker with `/buffer set unread [+/-]N` (issue #1895)
|
||||||
* core: add access to hashtable properties in evaluation of expressions (issue #1888)
|
* core: add access to hashtable properties in evaluation of expressions (issue #1888)
|
||||||
* core: display similar command names when a command is unknown (issue #1877)
|
* core: display similar command names when a command is unknown (issue #1877)
|
||||||
* core: rename option weechat.color.status_name_ssl to weechat.color.status_name_tls (issue #1903)
|
* core: rename option weechat.color.status_name_ssl to weechat.color.status_name_tls
|
||||||
* core: add option weechat.color.status_name_insecure to display buffer name with a specific color when not connected with TLS to the server
|
* core: add option weechat.color.status_name_insecure to display buffer name with a specific color when not connected with TLS to the server
|
||||||
* core, plugins: make many identifiers case sensitive (issue #1872, issue #398, bug #32213)
|
* core, plugins: make many identifiers case sensitive (issue #1872, issue #398, bug #32213)
|
||||||
* core: add item "mouse_status" in default status bar, change default color to lightgreen
|
* core: add item "mouse_status" in default status bar, change default color to lightgreen
|
||||||
@@ -575,7 +198,7 @@ New features::
|
|||||||
* alias: add options `missing` and `rename` in command `/alias`
|
* alias: add options `missing` and `rename` in command `/alias`
|
||||||
* fifo: add support of escaped chars in text or commands sent (issue #1950)
|
* fifo: add support of escaped chars in text or commands sent (issue #1950)
|
||||||
* fset: add options fset.color.color_name and fset.color.color_name_selected (issue #1920)
|
* fset: add options fset.color.color_name and fset.color.color_name_selected (issue #1920)
|
||||||
* irc: rename "ssl" options to "tls", connect with TLS and port 6697 by default (issue #1903)
|
* irc: rename "ssl" options to "tls", connect with TLS and port 6697 by default
|
||||||
* irc: add support of capabilities "batch" and "draft/multiline" (issue #1292, issue #1923)
|
* irc: add support of capabilities "batch" and "draft/multiline" (issue #1292, issue #1923)
|
||||||
* irc: add support of capability "echo-message" (issue #139)
|
* irc: add support of capability "echo-message" (issue #139)
|
||||||
* irc: display CTCP ACTION to channel on the channel buffer (issue #207)
|
* irc: display CTCP ACTION to channel on the channel buffer (issue #207)
|
||||||
@@ -596,7 +219,7 @@ New features::
|
|||||||
* irc: add tag "new_host_xxx" in message displayed for command CHGHOST (issue #1808)
|
* irc: add tag "new_host_xxx" in message displayed for command CHGHOST (issue #1808)
|
||||||
* logger: add option logger.file.log_conditions (issue #1942)
|
* logger: add option logger.file.log_conditions (issue #1942)
|
||||||
* logger: add info "logger_log_file"
|
* logger: add info "logger_log_file"
|
||||||
* relay: rename "ssl" options and protocol to "tls" (issue #1903)
|
* relay: rename "ssl" options and protocol to "tls"
|
||||||
* relay: make TLS certificate/key loading error handling more verbose (issue #1558)
|
* relay: make TLS certificate/key loading error handling more verbose (issue #1558)
|
||||||
* relay: add modifiers "relay_client_irc_in", "relay_client_irc_out1" and "relay_client_irc_out" in irc protocol
|
* relay: add modifiers "relay_client_irc_in", "relay_client_irc_out1" and "relay_client_irc_out" in irc protocol
|
||||||
* relay: add support of capability "echo-message" in irc protocol (issue #1949)
|
* relay: add support of capability "echo-message" in irc protocol (issue #1949)
|
||||||
@@ -669,13 +292,11 @@ Build::
|
|||||||
* core: remove obsolete cpack config
|
* core: remove obsolete cpack config
|
||||||
* core: add "stable-number" and "devel-number" in script version.sh
|
* core: add "stable-number" and "devel-number" in script version.sh
|
||||||
* core: add quotes around paths in CMake files (issue #29)
|
* core: add quotes around paths in CMake files (issue #29)
|
||||||
* doc: convert docgen.py to C, remove autogen files from repository, add parameter `--doc-gen` to `weechat-headless` binary, add CMake option "ENABLE_DOC_INCOMPLETE"
|
* doc: convert docgen.py to C, remove autogen files from repository, add parameter `--doc-gen` to `weechat-headless` binary, add CMake option `ENABLE_DOC_INCOMPLETE`
|
||||||
|
|
||||||
[[v3.8]]
|
[[v3.8]]
|
||||||
== Version 3.8 (2023-01-08)
|
== Version 3.8 (2023-01-08)
|
||||||
|
|
||||||
{see-release-notes}
|
|
||||||
|
|
||||||
New features::
|
New features::
|
||||||
|
|
||||||
* core: add option weechat.look.chat_space_right (issue #1862)
|
* core: add option weechat.look.chat_space_right (issue #1862)
|
||||||
@@ -741,8 +362,6 @@ Bug fixes::
|
|||||||
[[v3.7]]
|
[[v3.7]]
|
||||||
== Version 3.7 (2022-10-09)
|
== Version 3.7 (2022-10-09)
|
||||||
|
|
||||||
{see-release-notes}
|
|
||||||
|
|
||||||
New features::
|
New features::
|
||||||
|
|
||||||
* core: add option `-save` in command `/upgrade` (issue #1630)
|
* core: add option `-save` in command `/upgrade` (issue #1630)
|
||||||
@@ -808,8 +427,6 @@ Tests::
|
|||||||
[[v3.6]]
|
[[v3.6]]
|
||||||
== Version 3.6 (2022-07-10)
|
== Version 3.6 (2022-07-10)
|
||||||
|
|
||||||
{see-release-notes}
|
|
||||||
|
|
||||||
New features::
|
New features::
|
||||||
|
|
||||||
* core: add command `/item` to create custom bar items (issue #808)
|
* core: add command `/item` to create custom bar items (issue #808)
|
||||||
@@ -837,8 +454,6 @@ Bug fixes::
|
|||||||
[[v3.5]]
|
[[v3.5]]
|
||||||
== Version 3.5 (2022-03-27)
|
== Version 3.5 (2022-03-27)
|
||||||
|
|
||||||
{see-release-notes}
|
|
||||||
|
|
||||||
New features::
|
New features::
|
||||||
|
|
||||||
* core: search in message tags when tags are displayed with `/debug tags`
|
* core: search in message tags when tags are displayed with `/debug tags`
|
||||||
@@ -891,8 +506,6 @@ Bug fixes::
|
|||||||
[[v3.4]]
|
[[v3.4]]
|
||||||
== Version 3.4 (2021-12-18)
|
== Version 3.4 (2021-12-18)
|
||||||
|
|
||||||
{see-release-notes}
|
|
||||||
|
|
||||||
New features::
|
New features::
|
||||||
|
|
||||||
* core: add support of static arrays in hdata
|
* core: add support of static arrays in hdata
|
||||||
@@ -936,8 +549,6 @@ Build::
|
|||||||
[[v3.3]]
|
[[v3.3]]
|
||||||
== Version 3.3 (2021-09-19)
|
== Version 3.3 (2021-09-19)
|
||||||
|
|
||||||
{see-release-notes}
|
|
||||||
|
|
||||||
New features::
|
New features::
|
||||||
|
|
||||||
* core: change key kbd:[Alt+h] to kbd:[Alt+h], kbd:[Alt+c] (clear hotlist)
|
* core: change key kbd:[Alt+h] to kbd:[Alt+h], kbd:[Alt+c] (clear hotlist)
|
||||||
@@ -1000,8 +611,6 @@ Bug fixes::
|
|||||||
[[v3.2]]
|
[[v3.2]]
|
||||||
== Version 3.2 (2021-06-13)
|
== Version 3.2 (2021-06-13)
|
||||||
|
|
||||||
{see-release-notes}
|
|
||||||
|
|
||||||
New features::
|
New features::
|
||||||
|
|
||||||
* core: use XDG directories by default (config, data, cache, runtime) (issue #1285)
|
* core: use XDG directories by default (config, data, cache, runtime) (issue #1285)
|
||||||
@@ -1057,8 +666,6 @@ Build::
|
|||||||
[[v3.1]]
|
[[v3.1]]
|
||||||
== Version 3.1 (2021-03-07)
|
== Version 3.1 (2021-03-07)
|
||||||
|
|
||||||
{see-release-notes}
|
|
||||||
|
|
||||||
New features::
|
New features::
|
||||||
|
|
||||||
* core: add options weechat.look.hotlist_update_on_buffer_switch and weechat.look.read_marker_update_on_buffer_switch (issue #992, issue #993)
|
* core: add options weechat.look.hotlist_update_on_buffer_switch and weechat.look.read_marker_update_on_buffer_switch (issue #992, issue #993)
|
||||||
@@ -1101,8 +708,6 @@ Bug fixes::
|
|||||||
[[v3.0]]
|
[[v3.0]]
|
||||||
== Version 3.0 (2020-11-11)
|
== Version 3.0 (2020-11-11)
|
||||||
|
|
||||||
{see-release-notes}
|
|
||||||
|
|
||||||
New features::
|
New features::
|
||||||
|
|
||||||
* api: add optional list of colors in infos "nick_color" and "nick_color_name" (issue #1565)
|
* api: add optional list of colors in infos "nick_color" and "nick_color_name" (issue #1565)
|
||||||
@@ -1140,8 +745,6 @@ Build::
|
|||||||
[[v2.9]]
|
[[v2.9]]
|
||||||
== Version 2.9 (2020-07-18)
|
== Version 2.9 (2020-07-18)
|
||||||
|
|
||||||
{see-release-notes}
|
|
||||||
|
|
||||||
New features::
|
New features::
|
||||||
|
|
||||||
* core: add bar option "color_bg_inactive": color for window bars in inactive window (issue #732)
|
* core: add bar option "color_bg_inactive": color for window bars in inactive window (issue #732)
|
||||||
@@ -1228,8 +831,6 @@ Build::
|
|||||||
[[v2.8]]
|
[[v2.8]]
|
||||||
== Version 2.8 (2020-03-29)
|
== Version 2.8 (2020-03-29)
|
||||||
|
|
||||||
{see-release-notes}
|
|
||||||
|
|
||||||
New features::
|
New features::
|
||||||
|
|
||||||
* core: add variable "old_full_name" in buffer, set during buffer renaming (issue #1428)
|
* core: add variable "old_full_name" in buffer, set during buffer renaming (issue #1428)
|
||||||
@@ -1286,8 +887,6 @@ Bug fixes::
|
|||||||
[[v2.7]]
|
[[v2.7]]
|
||||||
== Version 2.7 (2019-12-08)
|
== Version 2.7 (2019-12-08)
|
||||||
|
|
||||||
{see-release-notes}
|
|
||||||
|
|
||||||
New features::
|
New features::
|
||||||
|
|
||||||
* core: add option weechat.look.nick_color_hash_salt to shuffle nick colors (issue #635)
|
* core: add option weechat.look.nick_color_hash_salt to shuffle nick colors (issue #635)
|
||||||
@@ -1345,8 +944,6 @@ Build::
|
|||||||
[[v2.6]]
|
[[v2.6]]
|
||||||
== Version 2.6 (2019-09-08)
|
== Version 2.6 (2019-09-08)
|
||||||
|
|
||||||
{see-release-notes}
|
|
||||||
|
|
||||||
New features::
|
New features::
|
||||||
|
|
||||||
* core: add support of 32767 color pairs (issue #1343, issue #1345)
|
* core: add support of 32767 color pairs (issue #1343, issue #1345)
|
||||||
@@ -1395,8 +992,6 @@ Build::
|
|||||||
[[v2.5]]
|
[[v2.5]]
|
||||||
== Version 2.5 (2019-06-06)
|
== Version 2.5 (2019-06-06)
|
||||||
|
|
||||||
{see-release-notes}
|
|
||||||
|
|
||||||
New features::
|
New features::
|
||||||
|
|
||||||
* core: use getopt to parse command line arguments
|
* core: use getopt to parse command line arguments
|
||||||
@@ -1452,8 +1047,6 @@ Build::
|
|||||||
[[v2.4]]
|
[[v2.4]]
|
||||||
== Version 2.4 (2019-02-17)
|
== Version 2.4 (2019-02-17)
|
||||||
|
|
||||||
{see-release-notes}
|
|
||||||
|
|
||||||
New features::
|
New features::
|
||||||
|
|
||||||
* core: do not automatically add a space when completing "nick:" at the beginning of command line (the space can be added in option weechat.completion.nick_completer)
|
* core: do not automatically add a space when completing "nick:" at the beginning of command line (the space can be added in option weechat.completion.nick_completer)
|
||||||
@@ -1531,8 +1124,6 @@ Build::
|
|||||||
[[v2.2]]
|
[[v2.2]]
|
||||||
== Version 2.2 (2018-07-14)
|
== Version 2.2 (2018-07-14)
|
||||||
|
|
||||||
{see-release-notes}
|
|
||||||
|
|
||||||
New features::
|
New features::
|
||||||
|
|
||||||
* core: change default value of option weechat.look.hotlist_add_conditions to check connected relay clients via weechat protocol (issue #1206)
|
* core: change default value of option weechat.look.hotlist_add_conditions to check connected relay clients via weechat protocol (issue #1206)
|
||||||
@@ -1601,8 +1192,6 @@ Build::
|
|||||||
[[v2.1]]
|
[[v2.1]]
|
||||||
== Version 2.1 (2018-03-18)
|
== Version 2.1 (2018-03-18)
|
||||||
|
|
||||||
{see-release-notes}
|
|
||||||
|
|
||||||
New features::
|
New features::
|
||||||
|
|
||||||
* core: add binary weechat-headless to run WeeChat without interface, with optional daemon mode (command line option `--daemon`) (issue #1120)
|
* core: add binary weechat-headless to run WeeChat without interface, with optional daemon mode (command line option `--daemon`) (issue #1120)
|
||||||
@@ -1642,8 +1231,6 @@ Bug fixes::
|
|||||||
[[v2.0]]
|
[[v2.0]]
|
||||||
== Version 2.0 (2017-12-03)
|
== Version 2.0 (2017-12-03)
|
||||||
|
|
||||||
{see-release-notes}
|
|
||||||
|
|
||||||
New features::
|
New features::
|
||||||
|
|
||||||
* core: add flag "input_get_empty" in buffer
|
* core: add flag "input_get_empty" in buffer
|
||||||
@@ -1731,8 +1318,6 @@ Bug fixes::
|
|||||||
[[v1.8]]
|
[[v1.8]]
|
||||||
== Version 1.8 (2017-05-13)
|
== Version 1.8 (2017-05-13)
|
||||||
|
|
||||||
{see-release-notes}
|
|
||||||
|
|
||||||
New features::
|
New features::
|
||||||
|
|
||||||
* core: add option weechat.completion.nick_case_sensitive (issue #981)
|
* core: add option weechat.completion.nick_case_sensitive (issue #981)
|
||||||
@@ -1783,8 +1368,6 @@ Bug fixes::
|
|||||||
[[v1.7]]
|
[[v1.7]]
|
||||||
== Version 1.7 (2017-01-15)
|
== Version 1.7 (2017-01-15)
|
||||||
|
|
||||||
{see-release-notes}
|
|
||||||
|
|
||||||
New features::
|
New features::
|
||||||
|
|
||||||
* core: add option weechat.look.align_multiline_words (issue #411, issue #802)
|
* core: add option weechat.look.align_multiline_words (issue #411, issue #802)
|
||||||
@@ -1829,8 +1412,6 @@ Build::
|
|||||||
[[v1.6]]
|
[[v1.6]]
|
||||||
== Version 1.6 (2016-10-02)
|
== Version 1.6 (2016-10-02)
|
||||||
|
|
||||||
{see-release-notes}
|
|
||||||
|
|
||||||
New features::
|
New features::
|
||||||
|
|
||||||
* core: add optional argument `lowest`, `highest` or level mask in command `/input hotlist_clear`
|
* core: add optional argument `lowest`, `highest` or level mask in command `/input hotlist_clear`
|
||||||
@@ -1867,8 +1448,6 @@ Build::
|
|||||||
[[v1.5]]
|
[[v1.5]]
|
||||||
== Version 1.5 (2016-05-01)
|
== Version 1.5 (2016-05-01)
|
||||||
|
|
||||||
{see-release-notes}
|
|
||||||
|
|
||||||
New features::
|
New features::
|
||||||
|
|
||||||
* core: evaluate content of option "weechat.look.item_time_format" (issue #791)
|
* core: evaluate content of option "weechat.look.item_time_format" (issue #791)
|
||||||
@@ -1911,8 +1490,6 @@ Build::
|
|||||||
[[v1.4]]
|
[[v1.4]]
|
||||||
== Version 1.4 (2016-01-10)
|
== Version 1.4 (2016-01-10)
|
||||||
|
|
||||||
{see-release-notes}
|
|
||||||
|
|
||||||
New features::
|
New features::
|
||||||
|
|
||||||
* core: add a parent name in options, display inherited values if null in `/set` output, add option weechat.color.chat_value_null (issue #629)
|
* core: add a parent name in options, display inherited values if null in `/set` output, add option weechat.color.chat_value_null (issue #629)
|
||||||
@@ -1970,8 +1547,6 @@ Build::
|
|||||||
[[v1.3]]
|
[[v1.3]]
|
||||||
== Version 1.3 (2015-08-16)
|
== Version 1.3 (2015-08-16)
|
||||||
|
|
||||||
{see-release-notes}
|
|
||||||
|
|
||||||
New features::
|
New features::
|
||||||
|
|
||||||
* core: add completion "colors" (issue #481)
|
* core: add completion "colors" (issue #481)
|
||||||
@@ -2027,8 +1602,6 @@ Build::
|
|||||||
[[v1.2]]
|
[[v1.2]]
|
||||||
== Version 1.2 (2015-05-10)
|
== Version 1.2 (2015-05-10)
|
||||||
|
|
||||||
{see-release-notes}
|
|
||||||
|
|
||||||
New features::
|
New features::
|
||||||
|
|
||||||
* core: add signals "signal_sigterm" and "signal_sigquit" (issue #114)
|
* core: add signals "signal_sigterm" and "signal_sigquit" (issue #114)
|
||||||
@@ -2103,8 +1676,6 @@ Build::
|
|||||||
[[v1.1]]
|
[[v1.1]]
|
||||||
== Version 1.1 (2015-01-11)
|
== Version 1.1 (2015-01-11)
|
||||||
|
|
||||||
{see-release-notes}
|
|
||||||
|
|
||||||
New features::
|
New features::
|
||||||
|
|
||||||
* core: add option weechat.completion.command_inline (task #12491)
|
* core: add option weechat.completion.command_inline (task #12491)
|
||||||
@@ -2202,8 +1773,6 @@ Build::
|
|||||||
[[v1.0]]
|
[[v1.0]]
|
||||||
== Version 1.0 (2014-08-15)
|
== Version 1.0 (2014-08-15)
|
||||||
|
|
||||||
{see-release-notes}
|
|
||||||
|
|
||||||
New features::
|
New features::
|
||||||
|
|
||||||
* core: display a warning on startup if $TERM does not start with "screen" under Screen/Tmux
|
* core: display a warning on startup if $TERM does not start with "screen" under Screen/Tmux
|
||||||
@@ -2365,8 +1934,6 @@ Tests::
|
|||||||
[[v0.4.3]]
|
[[v0.4.3]]
|
||||||
== Version 0.4.3 (2014-02-09)
|
== Version 0.4.3 (2014-02-09)
|
||||||
|
|
||||||
{see-release-notes}
|
|
||||||
|
|
||||||
New features::
|
New features::
|
||||||
|
|
||||||
* core: add signals "signal_sighup" and "signal_sigwinch" (terminal resized)
|
* core: add signals "signal_sighup" and "signal_sigwinch" (terminal resized)
|
||||||
@@ -2470,8 +2037,6 @@ Build::
|
|||||||
[[v0.4.2]]
|
[[v0.4.2]]
|
||||||
== Version 0.4.2 (2013-10-06)
|
== Version 0.4.2 (2013-10-06)
|
||||||
|
|
||||||
{see-release-notes}
|
|
||||||
|
|
||||||
New features::
|
New features::
|
||||||
|
|
||||||
* core: display day change message dynamically (do not store it as a line in buffer), split option weechat.look.day_change_time_format into two options weechat.look.day_change_message_{1date|2dates}, new option weechat.color.chat_day_change (task #12775)
|
* core: display day change message dynamically (do not store it as a line in buffer), split option weechat.look.day_change_time_format into two options weechat.look.day_change_message_{1date|2dates}, new option weechat.color.chat_day_change (task #12775)
|
||||||
@@ -2548,14 +2113,12 @@ Documentation::
|
|||||||
Build::
|
Build::
|
||||||
|
|
||||||
* core: add CA_FILE option in CMake and configure to setup default value of option weechat.network.gnutls_ca_file (default is "/etc/ssl/certs/ca-certificates.crt") (task #12725)
|
* core: add CA_FILE option in CMake and configure to setup default value of option weechat.network.gnutls_ca_file (default is "/etc/ssl/certs/ca-certificates.crt") (task #12725)
|
||||||
* core: disable build of doc by default, add CMake option "ENABLE_MAN" to compile man page (off by default)
|
* core: disable build of doc by default, add CMake option ENABLE_MAN to compile man page (off by default)
|
||||||
* xfer: fix compilation on OpenBSD (bug #39071)
|
* xfer: fix compilation on OpenBSD (bug #39071)
|
||||||
|
|
||||||
[[v0.4.1]]
|
[[v0.4.1]]
|
||||||
== Version 0.4.1 (2013-05-20)
|
== Version 0.4.1 (2013-05-20)
|
||||||
|
|
||||||
{see-release-notes}
|
|
||||||
|
|
||||||
New features::
|
New features::
|
||||||
|
|
||||||
* core: make nick prefix/suffix dynamic (not stored in the line): move options irc.look.nick_{prefix|suffix} to weechat.look.nick_{prefix|suffix} and options irc.color.nick_{prefix|suffix} to weechat.color.chat_nick_{prefix|suffix}, add new options weechat.look.prefix_align_more_after, weechat.look.prefix_buffer_align_more_after, logger.file.nick_{prefix|suffix} (bug #37531)
|
* core: make nick prefix/suffix dynamic (not stored in the line): move options irc.look.nick_{prefix|suffix} to weechat.look.nick_{prefix|suffix} and options irc.color.nick_{prefix|suffix} to weechat.color.chat_nick_{prefix|suffix}, add new options weechat.look.prefix_align_more_after, weechat.look.prefix_buffer_align_more_after, logger.file.nick_{prefix|suffix} (bug #37531)
|
||||||
@@ -2640,8 +2203,6 @@ Build::
|
|||||||
[[v0.4.0]]
|
[[v0.4.0]]
|
||||||
== Version 0.4.0 (2013-01-20)
|
== Version 0.4.0 (2013-01-20)
|
||||||
|
|
||||||
{see-release-notes}
|
|
||||||
|
|
||||||
New features::
|
New features::
|
||||||
|
|
||||||
* core: add buffer pointer in arguments for signals "input_search", "input_text_changed" and "input_text_cursor_moved"
|
* core: add buffer pointer in arguments for signals "input_search", "input_text_changed" and "input_text_cursor_moved"
|
||||||
@@ -2743,8 +2304,6 @@ Bug fixes::
|
|||||||
[[v0.3.9]]
|
[[v0.3.9]]
|
||||||
== Version 0.3.9 (2012-09-29)
|
== Version 0.3.9 (2012-09-29)
|
||||||
|
|
||||||
{see-release-notes}
|
|
||||||
|
|
||||||
New features::
|
New features::
|
||||||
|
|
||||||
* core: add signals for plugins loaded/unloaded
|
* core: add signals for plugins loaded/unloaded
|
||||||
@@ -2833,8 +2392,6 @@ Build::
|
|||||||
[[v0.3.8]]
|
[[v0.3.8]]
|
||||||
== Version 0.3.8 (2012-06-03)
|
== Version 0.3.8 (2012-06-03)
|
||||||
|
|
||||||
{see-release-notes}
|
|
||||||
|
|
||||||
New features::
|
New features::
|
||||||
|
|
||||||
* core: add option weechat.look.prefix_same_nick (hide or change prefix on messages whose nick is the same as previous message) (task #11965)
|
* core: add option weechat.look.prefix_same_nick (hide or change prefix on messages whose nick is the same as previous message) (task #11965)
|
||||||
@@ -2902,8 +2459,6 @@ Build::
|
|||||||
[[v0.3.7]]
|
[[v0.3.7]]
|
||||||
== Version 0.3.7 (2012-02-26)
|
== Version 0.3.7 (2012-02-26)
|
||||||
|
|
||||||
{see-release-notes}
|
|
||||||
|
|
||||||
New features::
|
New features::
|
||||||
|
|
||||||
* core: add support of flags in regular expressions and highlight options
|
* core: add support of flags in regular expressions and highlight options
|
||||||
@@ -2988,8 +2543,6 @@ Build::
|
|||||||
[[v0.3.6]]
|
[[v0.3.6]]
|
||||||
== Version 0.3.6 (2011-10-22)
|
== Version 0.3.6 (2011-10-22)
|
||||||
|
|
||||||
{see-release-notes}
|
|
||||||
|
|
||||||
New features::
|
New features::
|
||||||
|
|
||||||
* core: add color attribute "|" (keep attributes) and value "resetcolor" for function color in plugin API (used by irc plugin to keep bold/reverse/underlined in message when changing color) (bug #34550)
|
* core: add color attribute "|" (keep attributes) and value "resetcolor" for function color in plugin API (used by irc plugin to keep bold/reverse/underlined in message when changing color) (bug #34550)
|
||||||
@@ -3082,8 +2635,6 @@ Build::
|
|||||||
[[v0.3.5]]
|
[[v0.3.5]]
|
||||||
== Version 0.3.5 (2011-05-15)
|
== Version 0.3.5 (2011-05-15)
|
||||||
|
|
||||||
{see-release-notes}
|
|
||||||
|
|
||||||
New features::
|
New features::
|
||||||
|
|
||||||
* core: add buffer to hotlist if away is set on buffer (even if buffer is displayed), new option weechat.look.hotlist_add_buffer_if_away (task #10948)
|
* core: add buffer to hotlist if away is set on buffer (even if buffer is displayed), new option weechat.look.hotlist_add_buffer_if_away (task #10948)
|
||||||
@@ -3162,8 +2713,6 @@ Build::
|
|||||||
[[v0.3.4]]
|
[[v0.3.4]]
|
||||||
== Version 0.3.4 (2011-01-16)
|
== Version 0.3.4 (2011-01-16)
|
||||||
|
|
||||||
{see-release-notes}
|
|
||||||
|
|
||||||
New features::
|
New features::
|
||||||
|
|
||||||
* core: add 256 colors support, new command `/color`, new section "palette" in weechat.conf (task #6834)
|
* core: add 256 colors support, new command `/color`, new section "palette" in weechat.conf (task #6834)
|
||||||
@@ -3232,8 +2781,6 @@ Build::
|
|||||||
[[v0.3.3]]
|
[[v0.3.3]]
|
||||||
== Version 0.3.3 (2010-08-07)
|
== Version 0.3.3 (2010-08-07)
|
||||||
|
|
||||||
{see-release-notes}
|
|
||||||
|
|
||||||
New features::
|
New features::
|
||||||
|
|
||||||
* core: use "!" to reverse a regex in a filter (to keep lines matching regex and hide other lines) (task #10032)
|
* core: use "!" to reverse a regex in a filter (to keep lines matching regex and hide other lines) (task #10032)
|
||||||
@@ -3277,8 +2824,6 @@ Bug fixes::
|
|||||||
[[v0.3.2]]
|
[[v0.3.2]]
|
||||||
== Version 0.3.2 (2010-04-18)
|
== Version 0.3.2 (2010-04-18)
|
||||||
|
|
||||||
{see-release-notes}
|
|
||||||
|
|
||||||
New features::
|
New features::
|
||||||
|
|
||||||
* core: add new options for command `/key`: `listdefault`, `listdiff` and `reset`
|
* core: add new options for command `/key`: `listdefault`, `listdiff` and `reset`
|
||||||
@@ -3359,8 +2904,6 @@ Build::
|
|||||||
[[v0.3.1]]
|
[[v0.3.1]]
|
||||||
== Version 0.3.1 (2010-01-23)
|
== Version 0.3.1 (2010-01-23)
|
||||||
|
|
||||||
{see-release-notes}
|
|
||||||
|
|
||||||
New features::
|
New features::
|
||||||
|
|
||||||
* core: add option "grab_key_command" in command `/input` (bound by default to kbd:[Alt+k])
|
* core: add option "grab_key_command" in command `/input` (bound by default to kbd:[Alt+k])
|
||||||
@@ -3417,8 +2960,6 @@ Build::
|
|||||||
[[v0.3.0]]
|
[[v0.3.0]]
|
||||||
== Version 0.3.0 (2009-09-06)
|
== Version 0.3.0 (2009-09-06)
|
||||||
|
|
||||||
{see-release-notes}
|
|
||||||
|
|
||||||
New features::
|
New features::
|
||||||
|
|
||||||
* core: add group support in nicklist
|
* core: add group support in nicklist
|
||||||
@@ -3645,8 +3186,6 @@ Build::
|
|||||||
[[v0.2.2]]
|
[[v0.2.2]]
|
||||||
== Version 0.2.2 (2007-01-06)
|
== Version 0.2.2 (2007-01-06)
|
||||||
|
|
||||||
{see-release-notes}
|
|
||||||
|
|
||||||
New features::
|
New features::
|
||||||
|
|
||||||
* add anti-flood option (irc_anti_flood) (task #5442)
|
* add anti-flood option (irc_anti_flood) (task #5442)
|
||||||
@@ -3723,8 +3262,6 @@ Bug fixes::
|
|||||||
[[v0.2.0]]
|
[[v0.2.0]]
|
||||||
== Version 0.2.0 (2006-08-19)
|
== Version 0.2.0 (2006-08-19)
|
||||||
|
|
||||||
{see-release-notes}
|
|
||||||
|
|
||||||
New features::
|
New features::
|
||||||
|
|
||||||
* add "C"lear option on IRC raw buffer
|
* add "C"lear option on IRC raw buffer
|
||||||
@@ -3780,8 +3317,6 @@ Build::
|
|||||||
[[v0.1.9]]
|
[[v0.1.9]]
|
||||||
== Version 0.1.9 (2006-05-25)
|
== Version 0.1.9 (2006-05-25)
|
||||||
|
|
||||||
{see-release-notes}
|
|
||||||
|
|
||||||
New features::
|
New features::
|
||||||
|
|
||||||
* add backtrace when WeeChat crashes, log file automatically renamed
|
* add backtrace when WeeChat crashes, log file automatically renamed
|
||||||
@@ -3839,8 +3374,6 @@ Build::
|
|||||||
[[v0.1.8]]
|
[[v0.1.8]]
|
||||||
== Version 0.1.8 (2006-03-18)
|
== Version 0.1.8 (2006-03-18)
|
||||||
|
|
||||||
{see-release-notes}
|
|
||||||
|
|
||||||
New features::
|
New features::
|
||||||
|
|
||||||
* improve alias completion (now uses target command for completion)
|
* improve alias completion (now uses target command for completion)
|
||||||
@@ -3888,8 +3421,6 @@ Bug fixes::
|
|||||||
[[v0.1.7]]
|
[[v0.1.7]]
|
||||||
== Version 0.1.7 (2006-01-14)
|
== Version 0.1.7 (2006-01-14)
|
||||||
|
|
||||||
{see-release-notes}
|
|
||||||
|
|
||||||
New features::
|
New features::
|
||||||
|
|
||||||
* remove "irc_default_msg_away" setting, for RFC 2812 conformity (`/away` command without argument only removes away status), new values for "irc_display_away" (off, local, channel)
|
* remove "irc_default_msg_away" setting, for RFC 2812 conformity (`/away` command without argument only removes away status), new values for "irc_display_away" (off, local, channel)
|
||||||
@@ -3922,8 +3453,6 @@ Build::
|
|||||||
[[v0.1.6]]
|
[[v0.1.6]]
|
||||||
== Version 0.1.6 (2005-11-11)
|
== Version 0.1.6 (2005-11-11)
|
||||||
|
|
||||||
{see-release-notes}
|
|
||||||
|
|
||||||
New features::
|
New features::
|
||||||
|
|
||||||
* new color management system, IRC colors are now correctly displayed and can be removed by new options irc_colors_receive and irc_colors_send
|
* new color management system, IRC colors are now correctly displayed and can be removed by new options irc_colors_receive and irc_colors_send
|
||||||
|
|||||||
+3
-3
@@ -5,9 +5,9 @@
|
|||||||
|
|
||||||
pass:[<p align="center">] image:https://weechat.org/media/images/weechat_logo_large.png[align="center"] pass:[</p>]
|
pass:[<p align="center">] image:https://weechat.org/media/images/weechat_logo_large.png[align="center"] pass:[</p>]
|
||||||
|
|
||||||
image:https://img.shields.io/badge/mastodon-follow-blue.svg["Mastodon", link="https://hostux.social/@weechat"]
|
|
||||||
image:https://img.shields.io/badge/diaspora*-follow-blue.svg["Diaspora*", link="https://diasp.eu/u/weechat"]
|
image:https://img.shields.io/badge/diaspora*-follow-blue.svg["Diaspora*", link="https://diasp.eu/u/weechat"]
|
||||||
image:https://img.shields.io/badge/x-follow-blue.svg["Twitter", link="https://x.com/WeeChatClient"]
|
image:https://img.shields.io/badge/mastodon-follow-blue.svg["Mastodon", link="https://hostux.social/@weechat"]
|
||||||
|
image:https://img.shields.io/badge/twitter-follow-blue.svg["Twitter", link="https://twitter.com/WeeChatClient"]
|
||||||
image:https://img.shields.io/badge/devel%20blog-follow-blue.svg["Devel blog", link="https://blog.weechat.org/"]
|
image:https://img.shields.io/badge/devel%20blog-follow-blue.svg["Devel blog", link="https://blog.weechat.org/"]
|
||||||
image:https://img.shields.io/badge/slant-recommend-28acad.svg["Slant", link="https://www.slant.co/topics/1323/~best-irc-clients-for-linux"]
|
image:https://img.shields.io/badge/slant-recommend-28acad.svg["Slant", link="https://www.slant.co/topics/1323/~best-irc-clients-for-linux"]
|
||||||
image:https://img.shields.io/badge/help-donate%20%E2%9D%A4-ff69b4.svg["Donate", link="https://weechat.org/donate/"]
|
image:https://img.shields.io/badge/help-donate%20%E2%9D%A4-ff69b4.svg["Donate", link="https://weechat.org/donate/"]
|
||||||
@@ -49,7 +49,7 @@ WeeChat is following a "practical" semantic versioning, see file link:Contributi
|
|||||||
|
|
||||||
== Copyright
|
== Copyright
|
||||||
|
|
||||||
Copyright (C) 2003-2024 Sébastien Helleu <flashcode@flashtux.org>
|
Copyright (C) 2003-2023 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
|
|
||||||
This file is part of WeeChat, the extensible chat client.
|
This file is part of WeeChat, the extensible chat client.
|
||||||
|
|
||||||
|
|||||||
+9
-348
@@ -11,348 +11,6 @@ It is recommended to read it when upgrading to a new stable version. +
|
|||||||
For a complete list of changes, please look at ChangeLog.
|
For a complete list of changes, please look at ChangeLog.
|
||||||
|
|
||||||
|
|
||||||
[[v4.3.6]]
|
|
||||||
== Version 4.3.6 (2024-08-15)
|
|
||||||
|
|
||||||
No release notes.
|
|
||||||
|
|
||||||
[[v4.3.5]]
|
|
||||||
== Version 4.3.5 (2024-07-16)
|
|
||||||
|
|
||||||
No release notes.
|
|
||||||
|
|
||||||
[[v4.3.4]]
|
|
||||||
== Version 4.3.4 (2024-07-03)
|
|
||||||
|
|
||||||
No release notes.
|
|
||||||
|
|
||||||
[[v4.3.3]]
|
|
||||||
== Version 4.3.3 (2024-06-22)
|
|
||||||
|
|
||||||
No release notes.
|
|
||||||
|
|
||||||
[[v4.3.2]]
|
|
||||||
== Version 4.3.2 (2024-06-06)
|
|
||||||
|
|
||||||
No release notes.
|
|
||||||
|
|
||||||
[[v4.3.1]]
|
|
||||||
== Version 4.3.1 (2024-05-31)
|
|
||||||
|
|
||||||
[[v4.3.1_libgcrypt]]
|
|
||||||
=== Detection of libgcrypt
|
|
||||||
|
|
||||||
The detection of libgcrypt has been fixed to properly detect libgcrypt >= 1.11. +
|
|
||||||
As a consequence, the detection of an old version of libgcrypt is failing if the
|
|
||||||
file `libgcrypt.pc` is not found. +
|
|
||||||
This affects old distributions like Debian Buster and Ubuntu Bionic.
|
|
||||||
|
|
||||||
[[v4.3.0]]
|
|
||||||
== Version 4.3.0 (2024-05-26)
|
|
||||||
|
|
||||||
[[v4.3.0_relay_options]]
|
|
||||||
=== Relay options
|
|
||||||
|
|
||||||
The following relay options have been renamed:
|
|
||||||
|
|
||||||
* relay.color.status_waiting_auth -> relay.color.status_authenticating
|
|
||||||
* relay.weechat.commands -> relay.network.commands (new default value: `*,!quit`)
|
|
||||||
|
|
||||||
[[v4.3.0_lag_in_buflist]]
|
|
||||||
=== Lag in buflist
|
|
||||||
|
|
||||||
The lag is now stored in all IRC buffers: server (like it always has been),
|
|
||||||
channels and private buffers.
|
|
||||||
|
|
||||||
Consequently, if you use `${format_lag}` in buflist options, this lag will be
|
|
||||||
displayed on server and all channels and private buffers.
|
|
||||||
|
|
||||||
If you want to display the lag only on server buffer in buflist, you can use
|
|
||||||
such format:
|
|
||||||
|
|
||||||
----
|
|
||||||
${if:${type}==server?${format_lag}}
|
|
||||||
----
|
|
||||||
|
|
||||||
[[v4.3.0_irc_color_channel_modes]]
|
|
||||||
=== Color of IRC channel modes
|
|
||||||
|
|
||||||
The option `irc.color.item_channel_modes` has been moved to core and renamed to
|
|
||||||
`weechat.color.status_modes`.
|
|
||||||
|
|
||||||
[[v4.3.0_signal_buffer_line_added]]
|
|
||||||
=== Signal "buffer_line_added"
|
|
||||||
|
|
||||||
The signal "buffer_line_added" is now sent for every line added or modified
|
|
||||||
on a buffer with free content.
|
|
||||||
|
|
||||||
[[v4.3.0_script_keys]]
|
|
||||||
=== Script keys
|
|
||||||
|
|
||||||
Some arguments to the `/script` command were renamed in version 4.1.0, but the
|
|
||||||
keys using these arguments were not changed at same time.
|
|
||||||
|
|
||||||
They're now using the new arguments by default, but you must reset manually
|
|
||||||
the keys with the following commands:
|
|
||||||
|
|
||||||
----
|
|
||||||
/reset weechat.key_mouse.@chat(script.scripts):button1
|
|
||||||
/reset weechat.key_mouse.@chat(script.scripts):button2
|
|
||||||
/reset weechat.key_mouse.@chat(script.scripts):wheeldown
|
|
||||||
/reset weechat.key_mouse.@chat(script.scripts):wheelup
|
|
||||||
----
|
|
||||||
|
|
||||||
[[v4.2.3]]
|
|
||||||
== Version 4.2.3 (2024-05-31)
|
|
||||||
|
|
||||||
No release notes.
|
|
||||||
|
|
||||||
[[v4.2.2]]
|
|
||||||
== Version 4.2.2 (2024-04-07)
|
|
||||||
|
|
||||||
[[v4.2.2_script_keys]]
|
|
||||||
=== Script keys
|
|
||||||
|
|
||||||
Some arguments to the `/script` command were renamed in version 4.1.0, but the
|
|
||||||
keys using these arguments were not changed at same time.
|
|
||||||
|
|
||||||
They're now using the new arguments by default, but you must reset manually
|
|
||||||
the keys with the following commands:
|
|
||||||
|
|
||||||
----
|
|
||||||
/reset weechat.key_mouse.@chat(script.scripts):button1
|
|
||||||
/reset weechat.key_mouse.@chat(script.scripts):button2
|
|
||||||
/reset weechat.key_mouse.@chat(script.scripts):wheeldown
|
|
||||||
/reset weechat.key_mouse.@chat(script.scripts):wheelup
|
|
||||||
----
|
|
||||||
|
|
||||||
[[v4.2.1]]
|
|
||||||
== Version 4.2.1 (2024-01-22)
|
|
||||||
|
|
||||||
No release notes.
|
|
||||||
|
|
||||||
[[v4.2.0]]
|
|
||||||
== Version 4.2.0 (2024-01-21)
|
|
||||||
|
|
||||||
[[v4.2.0_lines_microseconds]]
|
|
||||||
=== Microseconds in buffer lines
|
|
||||||
|
|
||||||
Microseconds have been added in buffer lines (for both date and printed date).
|
|
||||||
|
|
||||||
Here are the changes that could affect plugins and scripts:
|
|
||||||
|
|
||||||
* hook_print: the C callback receives a new argument "date_usec" (microseconds
|
|
||||||
of date), after the argument "date" (scripting API is unchanged: the
|
|
||||||
microseconds are not available)
|
|
||||||
* trigger of types "print" and "timer": the format of variable `${tg_date}` is
|
|
||||||
changed from `%Y-%m-%d %H:%M:%S` to `%FT%T.%f` (where `%f` is the number of
|
|
||||||
microseconds on 6 digits)
|
|
||||||
|
|
||||||
[[v4.2.0_irc_anti_flood]]
|
|
||||||
=== IRC anti-flood
|
|
||||||
|
|
||||||
The anti-flood mechanism in IRC plugin has been improved and is now configured
|
|
||||||
in milliseconds instead of seconds. +
|
|
||||||
It is done with a single option `irc.server_default.anti_flood` (and same option
|
|
||||||
in servers), which replaces both options `anti_flood_prio_high` and
|
|
||||||
`anti_flood_prio_low`.
|
|
||||||
|
|
||||||
The default value is 2000 (2 seconds), and for example if you want to set
|
|
||||||
a delay of 0.5 seconds between your messages sent:
|
|
||||||
|
|
||||||
----
|
|
||||||
/set irc.server_default.anti_flood 500
|
|
||||||
----
|
|
||||||
|
|
||||||
When upgrading from an old WeeChat version, you'll see such messages, which are
|
|
||||||
perfectly normal (they're displayed to warn you about unknown options, and then
|
|
||||||
you have to set the new option if needed):
|
|
||||||
|
|
||||||
----
|
|
||||||
=!= | Warning: /home/user/.config/weechat/irc.conf, line 131: ignoring unknown option for section "server_default": anti_flood_prio_high = 2
|
|
||||||
=!= | Warning: /home/user/.config/weechat/irc.conf, line 132: ignoring unknown option for section "server_default": anti_flood_prio_low = 2
|
|
||||||
=!= | Warning: /home/user/.config/weechat/irc.conf, line 212: ignoring invalid value for option in section "server": libera.anti_flood_prio_high
|
|
||||||
=!= | Warning: //home/user/.config/weechat/irc.conf, line 213: ignoring invalid value for option in section "server": libera.anti_flood_prio_low
|
|
||||||
----
|
|
||||||
|
|
||||||
[[v4.2.0_search_commands_history]]
|
|
||||||
=== Search in commands history
|
|
||||||
|
|
||||||
Search in commands history has been added with new keys and a new key context
|
|
||||||
called "histsearch".
|
|
||||||
|
|
||||||
Some existing keys have been moved as well.
|
|
||||||
|
|
||||||
New keys can be changed and added with the following commands after upgrade
|
|
||||||
from an old WeeChat version:
|
|
||||||
|
|
||||||
----
|
|
||||||
/key missing
|
|
||||||
/key unbind ctrl-s,ctrl-u
|
|
||||||
/key bind meta-U /allbuf /buffer set unread
|
|
||||||
/key bind ctrl-r /input search_history
|
|
||||||
/key bindctxt search ctrl-r /input search_previous
|
|
||||||
----
|
|
||||||
|
|
||||||
[[v4.2.0_irc_rgb_colors]]
|
|
||||||
=== RGB colors in IRC messages
|
|
||||||
|
|
||||||
Support for RGB colors in IRC messages has been added and a new key
|
|
||||||
kbd:[Ctrl+c], kbd:[d] is available to insert this color code in command line.
|
|
||||||
|
|
||||||
You can add this key with this command:
|
|
||||||
|
|
||||||
----
|
|
||||||
/key missing
|
|
||||||
----
|
|
||||||
|
|
||||||
[[v4.2.0_custom_bar_items]]
|
|
||||||
=== Custom bar items
|
|
||||||
|
|
||||||
Custom bar items must now have a different name than default bar items
|
|
||||||
(for example the custom bar item name `time` is now forbidden). +
|
|
||||||
If you have such names in your config, WeeChat will now fail to load them
|
|
||||||
(this should not happen anyway, since such bar items can not be properly used
|
|
||||||
or can cause a crash of WeeChat).
|
|
||||||
|
|
||||||
[[v4.2.0_nick_color_infos]]
|
|
||||||
=== Nick color infos
|
|
||||||
|
|
||||||
The infos irc_nick_color and irc_nick_color_name are deprecated again, and the
|
|
||||||
algorithm to compute IRC nick colors has been reverted to case sensitive. +
|
|
||||||
The server name has been removed from arguments.
|
|
||||||
|
|
||||||
[[v4.1.3]]
|
|
||||||
== Version 4.1.3 (2024-01-20)
|
|
||||||
|
|
||||||
No release notes.
|
|
||||||
|
|
||||||
[[v4.1.2]]
|
|
||||||
== Version 4.1.2 (2023-12-03)
|
|
||||||
|
|
||||||
No release notes.
|
|
||||||
|
|
||||||
[[v4.1.1]]
|
|
||||||
== Version 4.1.1 (2023-10-26)
|
|
||||||
|
|
||||||
[[v4.1.1_custom_bar_items]]
|
|
||||||
=== Custom bar items
|
|
||||||
|
|
||||||
Custom bar items must now have a different name than default bar items
|
|
||||||
(for example the custom bar item name `time` is now forbidden). +
|
|
||||||
If you have such names in your config, WeeChat will now fail to load them
|
|
||||||
(this should not happen anyway, since such bar items can not be properly used
|
|
||||||
or can cause a crash of WeeChat).
|
|
||||||
|
|
||||||
[[v4.1.0]]
|
|
||||||
== Version 4.1.0 (2023-10-15)
|
|
||||||
|
|
||||||
[[v4.1.0_cursor_mode_keys]]
|
|
||||||
=== New keys to move in cursor mode
|
|
||||||
|
|
||||||
New keys have been added to move in cursor mode, and existing keys to move to
|
|
||||||
another area have been changed: modifier is now kbd:[Alt+Shift] instead of
|
|
||||||
kbd:[Alt].
|
|
||||||
|
|
||||||
You can change existing keys and add new ones with these commands:
|
|
||||||
|
|
||||||
----
|
|
||||||
/key bindctxt cursor meta-up /cursor move edge_top
|
|
||||||
/key bindctxt cursor meta-down /cursor move edge_bottom
|
|
||||||
/key bindctxt cursor meta-left /cursor move edge_left
|
|
||||||
/key bindctxt cursor meta-right /cursor move edge_right
|
|
||||||
/key bindctxt cursor meta-end /cursor move bottom_right
|
|
||||||
/key bindctxt cursor meta-home /cursor move top_left
|
|
||||||
/key bindctxt cursor meta-shift-up /cursor move area_up
|
|
||||||
/key bindctxt cursor meta-shift-down /cursor move area_down
|
|
||||||
/key bindctxt cursor meta-shift-left /cursor move area_left
|
|
||||||
/key bindctxt cursor meta-shift-right /cursor move area_right
|
|
||||||
----
|
|
||||||
|
|
||||||
[[v4.1.0_irc_ctcp_replies]]
|
|
||||||
=== IRC CTCP replies
|
|
||||||
|
|
||||||
IRC CTCP replies are now evaluated, with the same variables available, so now
|
|
||||||
the syntax is for example `${version}` instead of `$version`. +
|
|
||||||
The existing options `irc.ctcp.*` are automatically converted on upgrade.
|
|
||||||
|
|
||||||
In addition, for privacy reasons, these default CTCP replies have been removed:
|
|
||||||
|
|
||||||
- FINGER
|
|
||||||
- USERINFO
|
|
||||||
|
|
||||||
If ever you want that WeeChat replies to these CTCP requests, you can add them
|
|
||||||
back with the two following commands:
|
|
||||||
|
|
||||||
----
|
|
||||||
/set irc.ctcp.finger "WeeChat ${version}"
|
|
||||||
/set irc.ctcp.userinfo "${username} (${realname})"
|
|
||||||
----
|
|
||||||
|
|
||||||
They will then be advertised in reply to "CTCP CLIENTINFO", which is now built
|
|
||||||
dynamically with these options.
|
|
||||||
|
|
||||||
[[v4.1.0_nick_color_infos]]
|
|
||||||
=== Nick color infos
|
|
||||||
|
|
||||||
Two infos to get nick colors have been added: nick_color_ignore_case and
|
|
||||||
nick_color_name_ignore_case. +
|
|
||||||
They are similar to nick_color and nick_color_name, except they take as second
|
|
||||||
argument a range of chars to apply on the nick: the nick is converted to lower
|
|
||||||
case using this range of chars.
|
|
||||||
|
|
||||||
The infos irc_nick_color and irc_nick_color_name, that were deprecated since
|
|
||||||
version 1.5 are now used again, with a change in parameter: the server is now
|
|
||||||
optional before the nick: "server,nick". +
|
|
||||||
The nick is first converted to lower case, following the value of CASEMAPPING
|
|
||||||
on the server, then hashed to compute the color. +
|
|
||||||
That means the color for a nick is now case insensitive (in the way IRC servers
|
|
||||||
are case insensitive, so with a limited range of chars only).
|
|
||||||
|
|
||||||
If a script was using this info with a comma in nickname (which should not happen
|
|
||||||
anyway), this is now interpreted as the server name, and the script must be
|
|
||||||
modified. +
|
|
||||||
Anyway, it is recommended to always give the server name to respect the
|
|
||||||
CASEMAPPING of the server and prevent any issue with a comma in the nickname.
|
|
||||||
|
|
||||||
For example nick color of "alice" and "ALICE" is now always guaranteed to be the
|
|
||||||
same:
|
|
||||||
|
|
||||||
----
|
|
||||||
# with server name (recommended)
|
|
||||||
weechat.info_get("irc_nick_color", "libera,alice") == weechat.info_get("irc_nick_color", "libera,ALICE")
|
|
||||||
weechat.info_get("irc_nick_color_name", "libera,alice") == weechat.info_get("irc_nick_color_name", "libera,ALICE")
|
|
||||||
|
|
||||||
# without server name (allowed but not recommended, kept for compatibility)
|
|
||||||
weechat.info_get("irc_nick_color", "alice") == weechat.info_get("irc_nick_color", "ALICE")
|
|
||||||
weechat.info_get("irc_nick_color_name", "alice") == weechat.info_get("irc_nick_color_name", "ALICE")
|
|
||||||
----
|
|
||||||
|
|
||||||
[[v4.1.0_fset_allowed_values]]
|
|
||||||
=== Allowed values for options on fset buffer
|
|
||||||
|
|
||||||
A new variable `allowed_values` has been added in fset options.
|
|
||||||
|
|
||||||
The default value for the second format has changed. +
|
|
||||||
You can reset it with this command:
|
|
||||||
|
|
||||||
----
|
|
||||||
/reset fset.format.option2
|
|
||||||
----
|
|
||||||
|
|
||||||
[[v4.1.0_fset_mouse]]
|
|
||||||
=== Mouse actions on fset buffer
|
|
||||||
|
|
||||||
Mouse actions on fset buffer has been fixed when option `fset.look.format_number`
|
|
||||||
is set to 2.
|
|
||||||
|
|
||||||
The key for button 1 on fset buffer has been fixed. +
|
|
||||||
You can reset it with this command:
|
|
||||||
|
|
||||||
----
|
|
||||||
/reset weechat.key_mouse.@chat(fset.fset):button1
|
|
||||||
----
|
|
||||||
|
|
||||||
[[v4.0.8]]
|
[[v4.0.8]]
|
||||||
== Version 4.0.8 (2024-01-20)
|
== Version 4.0.8 (2024-01-20)
|
||||||
|
|
||||||
@@ -3072,12 +2730,13 @@ disable IPv6 in relay if you don't plan to use it at all:
|
|||||||
[[v0.3.9.2]]
|
[[v0.3.9.2]]
|
||||||
== Version 0.3.9.2 (2012-11-18)
|
== Version 0.3.9.2 (2012-11-18)
|
||||||
|
|
||||||
No release notes.
|
This version fixes a security vulnerability when a plugin/script gives
|
||||||
|
untrusted command to API function link:https://weechat.org/doc/weechat/plugin/#_hook_process[hook_process].
|
||||||
|
|
||||||
[[v0.3.9.1]]
|
[[v0.3.9.1]]
|
||||||
== Version 0.3.9.1 (2012-11-09)
|
== Version 0.3.9.1 (2012-11-09)
|
||||||
|
|
||||||
No release notes.
|
This version fixes crash when decoding IRC colors in strings.
|
||||||
|
|
||||||
[[v0.3.9]]
|
[[v0.3.9]]
|
||||||
== Version 0.3.9 (2012-09-29)
|
== Version 0.3.9 (2012-09-29)
|
||||||
@@ -3385,17 +3044,17 @@ Major differences:
|
|||||||
[[v0.2.6.3]]
|
[[v0.2.6.3]]
|
||||||
== Version 0.2.6.3 (2009-06-13)
|
== Version 0.2.6.3 (2009-06-13)
|
||||||
|
|
||||||
No release notes.
|
This version fixes gnutls detection.
|
||||||
|
|
||||||
[[v0.2.6.2]]
|
[[v0.2.6.2]]
|
||||||
== Version 0.2.6.2 (2009-04-18)
|
== Version 0.2.6.2 (2009-04-18)
|
||||||
|
|
||||||
No release notes.
|
This version fixes a bug with charset decoding (like "iso2022jp").
|
||||||
|
|
||||||
[[v0.2.6.1]]
|
[[v0.2.6.1]]
|
||||||
== Version 0.2.6.1 (2009-03-14)
|
== Version 0.2.6.1 (2009-03-14)
|
||||||
|
|
||||||
No release notes.
|
This version fixes a major bug: crash with some special chars in IRC messages.
|
||||||
|
|
||||||
[[v0.2.6]]
|
[[v0.2.6]]
|
||||||
== Version 0.2.6 (2007-09-06)
|
== Version 0.2.6 (2007-09-06)
|
||||||
@@ -3415,7 +3074,9 @@ No release notes.
|
|||||||
[[v0.2.3]]
|
[[v0.2.3]]
|
||||||
== Version 0.2.3 (2007-01-10)
|
== Version 0.2.3 (2007-01-10)
|
||||||
|
|
||||||
No release notes.
|
This version fixes several major bugs of version 0.2.2.
|
||||||
|
|
||||||
|
All users of version 0.2.2 should upgrade to this version.
|
||||||
|
|
||||||
[[v0.2.2]]
|
[[v0.2.2]]
|
||||||
== Version 0.2.2 (2007-01-06)
|
== Version 0.2.2 (2007-01-06)
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2003-2024 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2003-2023 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# This file is part of WeeChat, the extensible chat client.
|
# This file is part of WeeChat, the extensible chat client.
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2003-2024 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2003-2023 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# This file is part of WeeChat, the extensible chat client.
|
# This file is part of WeeChat, the extensible chat client.
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2014-2024 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2014-2023 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# This file is part of WeeChat, the extensible chat client.
|
# This file is part of WeeChat, the extensible chat client.
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -0,0 +1,53 @@
|
|||||||
|
#
|
||||||
|
# Copyright (C) 2003-2023 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
|
#
|
||||||
|
# This file is part of WeeChat, the extensible chat client.
|
||||||
|
#
|
||||||
|
# WeeChat is free software; you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation; either version 3 of the License, or
|
||||||
|
# (at your option) any later version.
|
||||||
|
#
|
||||||
|
# WeeChat is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
#
|
||||||
|
|
||||||
|
# - Find Gcrypt
|
||||||
|
# This module finds if libgcrypt is installed and determines where
|
||||||
|
# the include files and libraries are.
|
||||||
|
#
|
||||||
|
# This code sets the following variables:
|
||||||
|
#
|
||||||
|
# GCRYPT_CFLAGS = cflags to use to compile
|
||||||
|
# GCRYPT_LDFLAGS = ldflags to use to compile
|
||||||
|
#
|
||||||
|
|
||||||
|
find_program(LIBGCRYPT_CONFIG_EXECUTABLE NAMES libgcrypt-config)
|
||||||
|
|
||||||
|
set(GCRYPT_LDFLAGS)
|
||||||
|
set(GCRYPT_CFLAGS)
|
||||||
|
|
||||||
|
if(LIBGCRYPT_CONFIG_EXECUTABLE)
|
||||||
|
|
||||||
|
execute_process(COMMAND ${LIBGCRYPT_CONFIG_EXECUTABLE} --libs RESULT_VARIABLE _return_VALUE OUTPUT_VARIABLE GCRYPT_LDFLAGS OUTPUT_STRIP_TRAILING_WHITESPACE ERROR_QUIET)
|
||||||
|
execute_process(COMMAND ${LIBGCRYPT_CONFIG_EXECUTABLE} --cflags RESULT_VARIABLE _return_VALUE OUTPUT_VARIABLE GCRYPT_CFLAGS OUTPUT_STRIP_TRAILING_WHITESPACE ERROR_QUIET)
|
||||||
|
|
||||||
|
if(NOT DEFINED ${GCRYPT_CFLAGS})
|
||||||
|
set(GCRYPT_CFLAGS " ")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
endif()
|
||||||
|
|
||||||
|
# handle the QUIETLY and REQUIRED arguments and set GCRYPT_FOUND to TRUE if
|
||||||
|
# all listed variables are TRUE
|
||||||
|
include(FindPackageHandleStandardArgs)
|
||||||
|
find_package_handle_standard_args(GCRYPT REQUIRED_VARS GCRYPT_LDFLAGS GCRYPT_CFLAGS)
|
||||||
|
|
||||||
|
if(GCRYPT_FOUND)
|
||||||
|
mark_as_advanced(GCRYPT_CFLAGS GCRYPT_LDFLAGS)
|
||||||
|
endif()
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2003-2024 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2003-2023 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
# Copyright (C) 2007 Julien Louis <ptitlouis@sysif.net>
|
# Copyright (C) 2007 Julien Louis <ptitlouis@sysif.net>
|
||||||
# Copyright (C) 2009 Emmanuel Bouthenot <kolter@openics.org>
|
# Copyright (C) 2009 Emmanuel Bouthenot <kolter@openics.org>
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2003-2024 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2003-2023 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
# Copyright (C) 2009 Emmanuel Bouthenot <kolter@openics.org>
|
# Copyright (C) 2009 Emmanuel Bouthenot <kolter@openics.org>
|
||||||
#
|
#
|
||||||
# This file is part of WeeChat, the extensible chat client.
|
# This file is part of WeeChat, the extensible chat client.
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2011-2024 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2011-2023 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# This file is part of WeeChat, the extensible chat client.
|
# This file is part of WeeChat, the extensible chat client.
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2003-2024 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2003-2023 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# This file is part of WeeChat, the extensible chat client.
|
# This file is part of WeeChat, the extensible chat client.
|
||||||
#
|
#
|
||||||
|
|||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2003-2024 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2003-2023 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# This file is part of WeeChat, the extensible chat client.
|
# This file is part of WeeChat, the extensible chat client.
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2003-2024 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2003-2023 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# This file is part of WeeChat, the extensible chat client.
|
# This file is part of WeeChat, the extensible chat client.
|
||||||
#
|
#
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2017 Adam Saponara <as@php.net>
|
# Copyright (C) 2017 Adam Saponara <as@php.net>
|
||||||
# Copyright (C) 2017-2024 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2017-2023 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# This file is part of WeeChat, the extensible chat client.
|
# This file is part of WeeChat, the extensible chat client.
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2003-2024 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2003-2023 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# This file is part of WeeChat, the extensible chat client.
|
# This file is part of WeeChat, the extensible chat client.
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2003-2024 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2003-2023 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
# Copyright (C) 2009 Julien Louis <ptitlouis@sysif.net>
|
# Copyright (C) 2009 Julien Louis <ptitlouis@sysif.net>
|
||||||
#
|
#
|
||||||
# This file is part of WeeChat, the extensible chat client.
|
# This file is part of WeeChat, the extensible chat client.
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2003-2024 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2003-2023 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# This file is part of WeeChat, the extensible chat client.
|
# This file is part of WeeChat, the extensible chat client.
|
||||||
#
|
#
|
||||||
|
|||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2015-2024 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2015-2023 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# This file is part of WeeChat, the extensible chat client.
|
# This file is part of WeeChat, the extensible chat client.
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2003-2024 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2003-2023 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# This file is part of WeeChat, the extensible chat client.
|
# This file is part of WeeChat, the extensible chat client.
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -5,8 +5,6 @@
|
|||||||
#cmakedefine ICONV_2ARG_IS_CONST 1
|
#cmakedefine ICONV_2ARG_IS_CONST 1
|
||||||
#cmakedefine HAVE_MALLINFO
|
#cmakedefine HAVE_MALLINFO
|
||||||
#cmakedefine HAVE_MALLINFO2
|
#cmakedefine HAVE_MALLINFO2
|
||||||
#cmakedefine HAVE_MALLOC_H
|
|
||||||
#cmakedefine HAVE_MALLOC_TRIM
|
|
||||||
#cmakedefine HAVE_EAT_NEWLINE_GLITCH
|
#cmakedefine HAVE_EAT_NEWLINE_GLITCH
|
||||||
#cmakedefine HAVE_ASPELL_VERSION_STRING
|
#cmakedefine HAVE_ASPELL_VERSION_STRING
|
||||||
#cmakedefine HAVE_ENCHANT_GET_VERSION
|
#cmakedefine HAVE_ENCHANT_GET_VERSION
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ Build-Depends:
|
|||||||
ruby-pygments.rb,
|
ruby-pygments.rb,
|
||||||
debhelper (>= 12),
|
debhelper (>= 12),
|
||||||
cmake, pkg-config,
|
cmake, pkg-config,
|
||||||
libncurses-dev,
|
libncursesw5-dev,
|
||||||
gem2deb,
|
gem2deb,
|
||||||
libperl-dev,
|
libperl-dev,
|
||||||
python3-dev,
|
python3-dev,
|
||||||
@@ -21,9 +21,8 @@ Build-Depends:
|
|||||||
libgcrypt20-dev,
|
libgcrypt20-dev,
|
||||||
libgnutls28-dev,
|
libgnutls28-dev,
|
||||||
libzstd-dev,
|
libzstd-dev,
|
||||||
zlib1g-dev,
|
zlib1g-dev
|
||||||
libcjson-dev
|
Standards-Version: 4.6.0.1
|
||||||
Standards-Version: 4.6.2
|
|
||||||
Homepage: https://weechat.org/
|
Homepage: https://weechat.org/
|
||||||
Vcs-Git: https://salsa.debian.org/kolter/weechat.git
|
Vcs-Git: https://salsa.debian.org/kolter/weechat.git
|
||||||
Vcs-Browser: https://salsa.debian.org/kolter/weechat
|
Vcs-Browser: https://salsa.debian.org/kolter/weechat
|
||||||
|
|||||||
@@ -1,3 +0,0 @@
|
|||||||
tar-ignore = ".git"
|
|
||||||
tar-ignore = "build"
|
|
||||||
tar-ignore = "release"
|
|
||||||
@@ -0,0 +1,41 @@
|
|||||||
|
weechat (2.1-1) unstable; urgency=medium
|
||||||
|
|
||||||
|
This release introduces a new headless client and a new PHP plugin for
|
||||||
|
scripting (respectively weechat-headless and weechat-php binary
|
||||||
|
packages).
|
||||||
|
To avoid at least unnecessary dependencies, each plugin has its own
|
||||||
|
separate binary package:
|
||||||
|
weechat-{perl,python,ruby,lua,guile,javascript,php}
|
||||||
|
Depending on your needs about scripting with weechat you should consider
|
||||||
|
to install the missing packages.
|
||||||
|
|
||||||
|
-- Emmanuel Bouthenot <kolter@debian.org> Wed, 21 Mar 2018 07:53:40 +0100
|
||||||
|
|
||||||
|
weechat (1.1.1-1) unstable; urgency=medium
|
||||||
|
|
||||||
|
Since version 1.1, there is a new format for regexp replacement in
|
||||||
|
triggers. This format is incompatible with version 1.0. The existing
|
||||||
|
triggers will not be automatically updated.
|
||||||
|
See https://weechat.org/files/releasenotes/ReleaseNotes-1.1.html
|
||||||
|
|
||||||
|
-- Emmanuel Bouthenot <kolter@debian.org> Sun, 25 Jan 2015 20:41:50 +0100
|
||||||
|
|
||||||
|
weechat (0.3.1-1) unstable; urgency=low
|
||||||
|
|
||||||
|
This release introduces important changes with the usage of SSL. There
|
||||||
|
are stronger checks while connecting with SSL. By default, if a connection
|
||||||
|
is not fully trusted it will fail.
|
||||||
|
You can find more information on how to handle this new behaviour here:
|
||||||
|
https://blog.weechat.org/post/2009/12/01/SSL-certificates
|
||||||
|
|
||||||
|
-- Emmanuel Bouthenot <kolter@debian.org> Mon, 25 Jan 2010 12:35:11 +0100
|
||||||
|
|
||||||
|
weechat (0.3.0-1) unstable; urgency=low
|
||||||
|
|
||||||
|
This release introduces major changes. Large part of code was
|
||||||
|
rewritten without keeping compatibility with older versions.
|
||||||
|
|
||||||
|
Please refer to the file /usr/share/doc/weechat-core/UPGRADE_0.3
|
||||||
|
for more information on upgrade from a version 0.2.x to 0.3.x.
|
||||||
|
|
||||||
|
-- Emmanuel Bouthenot <kolter@openics.org> Tue, 15 Sep 2009 20:59:42 +0000
|
||||||
@@ -1,19 +1,3 @@
|
|||||||
weechat (4.3.1-1) unstable; urgency=medium
|
|
||||||
|
|
||||||
* New upstream release (Closes: #1067608)
|
|
||||||
- fix FTBFS against libgcrypt 1.11 (Closes: #1071960)
|
|
||||||
* Add build dependency on libcjson-dev
|
|
||||||
* Replace pkg-config build dependency by pkgconf
|
|
||||||
* Minor updates in debian/copyright
|
|
||||||
|
|
||||||
-- Emmanuel Bouthenot <kolter@debian.org> Sat, 01 Jun 2024 14:21:02 +0000
|
|
||||||
|
|
||||||
weechat (4.1.1-1) unstable; urgency=medium
|
|
||||||
|
|
||||||
* New upstream release (Closes: #1055278)
|
|
||||||
|
|
||||||
-- Emmanuel Bouthenot <kolter@debian.org> Fri, 03 Nov 2023 20:23:37 +0000
|
|
||||||
|
|
||||||
weechat (4.0.5-1) unstable; urgency=medium
|
weechat (4.0.5-1) unstable; urgency=medium
|
||||||
|
|
||||||
* New upstream release
|
* New upstream release
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ Build-Depends:
|
|||||||
ruby-pygments.rb,
|
ruby-pygments.rb,
|
||||||
debhelper (>= 12),
|
debhelper (>= 12),
|
||||||
cmake, pkg-config,
|
cmake, pkg-config,
|
||||||
libncurses-dev,
|
libncursesw5-dev,
|
||||||
gem2deb,
|
gem2deb,
|
||||||
libperl-dev,
|
libperl-dev,
|
||||||
python3-dev,
|
python3-dev,
|
||||||
@@ -21,9 +21,8 @@ Build-Depends:
|
|||||||
libgcrypt20-dev,
|
libgcrypt20-dev,
|
||||||
libgnutls28-dev,
|
libgnutls28-dev,
|
||||||
libzstd-dev,
|
libzstd-dev,
|
||||||
zlib1g-dev,
|
zlib1g-dev
|
||||||
libcjson-dev
|
Standards-Version: 4.6.1.0
|
||||||
Standards-Version: 4.6.2
|
|
||||||
Homepage: https://weechat.org/
|
Homepage: https://weechat.org/
|
||||||
Vcs-Git: https://salsa.debian.org/kolter/weechat.git
|
Vcs-Git: https://salsa.debian.org/kolter/weechat.git
|
||||||
Vcs-Browser: https://salsa.debian.org/kolter/weechat
|
Vcs-Browser: https://salsa.debian.org/kolter/weechat
|
||||||
|
|||||||
+13
-13
@@ -4,26 +4,26 @@ Upstream-Contact: Sébastien Helleu <flashcode@flashtux.org>
|
|||||||
Source: https://weechat.org/
|
Source: https://weechat.org/
|
||||||
|
|
||||||
Files: *
|
Files: *
|
||||||
Copyright: 2003-2024, Sébastien Helleu <flashcode@flashtux.org>
|
Copyright: 2003-2023, Sébastien Helleu <flashcode@flashtux.org>
|
||||||
License: GPL-3+
|
License: GPL-3+
|
||||||
|
|
||||||
Files: src/core/core-command.c
|
Files: src/core/wee-command.c
|
||||||
src/core/core-command.h
|
src/core/wee-command.h
|
||||||
Copyright: 2005-2006, Emmanuel Bouthenot <kolter@openics.org>
|
Copyright: 2005-2006, Emmanuel Bouthenot <kolter@openics.org>
|
||||||
License: GPL-3+
|
License: GPL-3+
|
||||||
|
|
||||||
Files: src/core/core-config-file.c
|
Files: src/core/wee-config-file.c
|
||||||
src/core/core-config-file.h
|
src/core/wee-config-file.h
|
||||||
src/core/core-config.c
|
src/core/wee-config.c
|
||||||
src/core/core-config.h
|
src/core/wee-config.h
|
||||||
Copyright: 2005-2006, Emmanuel Bouthenot <kolter@openics.org>
|
Copyright: 2005-2006, Emmanuel Bouthenot <kolter@openics.org>
|
||||||
License: GPL-3+
|
License: GPL-3+
|
||||||
|
|
||||||
Files: src/core/hook/hook-connect.c
|
Files: src/core/hook/wee-hook-connect.c
|
||||||
Copyright: 2012, Simon Arlott
|
Copyright: 2012, Simon Arlott
|
||||||
License: GPL-3+
|
License: GPL-3+
|
||||||
|
|
||||||
Files: src/core/hook/hook-connect.h
|
Files: src/core/hook/wee-hook-connect.h
|
||||||
Copyright: 2012, Simon Arlott
|
Copyright: 2012, Simon Arlott
|
||||||
License: GPL-3+
|
License: GPL-3+
|
||||||
|
|
||||||
@@ -31,9 +31,9 @@ Files: src/gui/gui-history.c
|
|||||||
Copyright: 2005, Emmanuel Bouthenot <kolter@openics.org>
|
Copyright: 2005, Emmanuel Bouthenot <kolter@openics.org>
|
||||||
License: GPL-3+
|
License: GPL-3+
|
||||||
|
|
||||||
Files: src/core/core-completion.c
|
Files: src/core/wee-completion.c
|
||||||
src/core/core-log.c
|
src/core/wee-log.c
|
||||||
src/core/core-utf8.c
|
src/core/wee-utf8.c
|
||||||
src/core/weechat.h
|
src/core/weechat.h
|
||||||
src/plugins/spell/spell-config.c
|
src/plugins/spell/spell-config.c
|
||||||
src/plugins/spell/spell-config.h
|
src/plugins/spell/spell-config.h
|
||||||
@@ -45,7 +45,7 @@ Files: src/core/core-completion.c
|
|||||||
Copyright: 2006, Emmanuel Bouthenot <kolter@openics.org>
|
Copyright: 2006, Emmanuel Bouthenot <kolter@openics.org>
|
||||||
License: GPL-3+
|
License: GPL-3+
|
||||||
|
|
||||||
Files: src/core/core-network.c
|
Files: src/core/wee-network.c
|
||||||
Copyright: 2005-2010, Emmanuel Bouthenot <kolter@openics.org>
|
Copyright: 2005-2010, Emmanuel Bouthenot <kolter@openics.org>
|
||||||
2010, Gu1ll4um3r0m41n <aeroxteam@gmail.com>
|
2010, Gu1ll4um3r0m41n <aeroxteam@gmail.com>
|
||||||
2012, Simon Arlott
|
2012, Simon Arlott
|
||||||
|
|||||||
@@ -1,3 +0,0 @@
|
|||||||
tar-ignore = ".git"
|
|
||||||
tar-ignore = "build"
|
|
||||||
tar-ignore = "release"
|
|
||||||
+1
-7
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2003-2024 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2003-2023 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
# Copyright (C) 2009 Emmanuel Bouthenot <kolter@openics.org>
|
# Copyright (C) 2009 Emmanuel Bouthenot <kolter@openics.org>
|
||||||
#
|
#
|
||||||
# This file is part of WeeChat, the extensible chat client.
|
# This file is part of WeeChat, the extensible chat client.
|
||||||
@@ -177,9 +177,6 @@ if(ENABLE_MAN OR ENABLE_DOC)
|
|||||||
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_user_default_aliases.${lang}.adoc"
|
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_user_default_aliases.${lang}.adoc"
|
||||||
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_user_irc_colors.${lang}.adoc"
|
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_user_irc_colors.${lang}.adoc"
|
||||||
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_user_options.${lang}.adoc"
|
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_user_options.${lang}.adoc"
|
||||||
# scripting duide
|
|
||||||
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_scripting_functions.${lang}.adoc"
|
|
||||||
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_scripting_constants.${lang}.adoc"
|
|
||||||
)
|
)
|
||||||
endforeach()
|
endforeach()
|
||||||
add_custom_target(doc-autogen ALL
|
add_custom_target(doc-autogen ALL
|
||||||
@@ -286,9 +283,6 @@ if(ENABLE_MAN OR ENABLE_DOC)
|
|||||||
DEPENDS
|
DEPENDS
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/docinfo.html"
|
"${CMAKE_CURRENT_SOURCE_DIR}/docinfo.html"
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_scripting.${lang}.adoc"
|
"${CMAKE_CURRENT_SOURCE_DIR}/${lang}/weechat_scripting.${lang}.adoc"
|
||||||
doc-autogen
|
|
||||||
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_scripting_functions.${lang}.adoc"
|
|
||||||
"${CMAKE_CURRENT_BINARY_DIR}/autogen/autogen_scripting_constants.${lang}.adoc"
|
|
||||||
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
|
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
|
||||||
COMMENT "Building weechat_scripting.${lang}.html"
|
COMMENT "Building weechat_scripting.${lang}.html"
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -99,7 +99,7 @@ $HOME/.local/share/weechat/weechat.log::
|
|||||||
WeeChat je napsán Sébastienem Helleu a přispěvovateli (kompletní seznam je v
|
WeeChat je napsán Sébastienem Helleu a přispěvovateli (kompletní seznam je v
|
||||||
souboru AUTHORS.adoc).
|
souboru AUTHORS.adoc).
|
||||||
|
|
||||||
Copyright (C) 2003-2024 {author}
|
Copyright (C) 2003-2023 {author}
|
||||||
|
|
||||||
WeeChat is free software; you can redistribute it and/or modify
|
WeeChat is free software; you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -100,7 +100,7 @@ $HOME/.local/share/weechat/weechat.log::
|
|||||||
WeeChat wird programmiert von Sébastien Helleu und weiteren Beteiligten (eine vollständige Auflistung
|
WeeChat wird programmiert von Sébastien Helleu und weiteren Beteiligten (eine vollständige Auflistung
|
||||||
findet man in der AUTHORS.adoc Datei).
|
findet man in der AUTHORS.adoc Datei).
|
||||||
|
|
||||||
Copyright (C) 2003-2024 {author}
|
Copyright (C) 2003-2023 {author}
|
||||||
|
|
||||||
WeeChat is free software; you can redistribute it and/or modify
|
WeeChat is free software; you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
+28
-74
@@ -613,30 +613,6 @@ Sollte die macOS Terminal Applikation genutzt werden, empfiehlt es sich,
|
|||||||
die Option "Use option as meta key" in den Menü-Einstellungen zu aktivieren.
|
die Option "Use option as meta key" in den Menü-Einstellungen zu aktivieren.
|
||||||
Dadurch kann man die kbd:[Option] Taste als Meta-Taste verwenden.
|
Dadurch kann man die kbd:[Option] Taste als Meta-Taste verwenden.
|
||||||
|
|
||||||
[[enter_key]]
|
|
||||||
=== Einige Tasten, einschließlich Enter, funktionieren nicht. Weshalb?
|
|
||||||
|
|
||||||
Wenn eine WeeChat Version < 4.0.0 mit Konfigurationsdateien ausgeführt wird,
|
|
||||||
die von einer Weechat Version ≥ 4.0.0 erstellt wurde, sind die Tastennamen ungültig und viele Tasten funktionieren überhaupt nicht mehr. +
|
|
||||||
Um dies zu reparieren, muss WeeChat beendet und alle Einträge aus dem Abschnitt `[key*]` innerhalb der weechat.conf entfernt werden.
|
|
||||||
Wenn WeeChat erneut gestartet wird, wird die Standardtastenbelegung neu erstellt.
|
|
||||||
|
|
||||||
[[key_f11]]
|
|
||||||
=== Die Taste F11 maximiert das Terminalfenster. Wie kann ich aber in der Nicklist nach oben scrollen?
|
|
||||||
|
|
||||||
Die kbd:[F11] Taste wird häufig von Terminals verwendet, um das Fenster zu maximieren. Aber
|
|
||||||
kbd:[F11]/kbd:[F12] sind ebenso die Standardtasten, in WeeChat, um in der Nickliste zu scrollen.
|
|
||||||
|
|
||||||
Man kann andere Tasten nutzen, zum Beispiel kbd:[Shift+F11] und kbd:[Shift+F12],
|
|
||||||
mit WeeChat ≥ 4.0.0:
|
|
||||||
|
|
||||||
----
|
|
||||||
/key bind shift-f11 /bar scroll nicklist * -100%
|
|
||||||
/key bind shift-f12 /bar scroll nicklist * +100%
|
|
||||||
----
|
|
||||||
|
|
||||||
Eine andere Möglichkeit besteht darin, die Maus zu aktivieren (Taste: kbd:[Alt+m]) und mit dem Mausrad zu scrollen (siehe auch Fragen zu <<mouse,mouse>>).
|
|
||||||
|
|
||||||
[[customize_key_bindings]]
|
[[customize_key_bindings]]
|
||||||
=== Wie kann ich die Tastaturbelegung anpassen?
|
=== Wie kann ich die Tastaturbelegung anpassen?
|
||||||
|
|
||||||
@@ -667,12 +643,6 @@ werden um dann z.B. mit einem Kurzbefehl `/123` zum Buffer #123 zu springen:
|
|||||||
/trigger add numberjump modifier "2000|input_text_for_buffer" "${tg_string} =~ ^/[0-9]+$" "=\/([0-9]+)=/buffer *${re:1}=" "" "" "none"
|
/trigger add numberjump modifier "2000|input_text_for_buffer" "${tg_string} =~ ^/[0-9]+$" "=\/([0-9]+)=/buffer *${re:1}=" "" "" "none"
|
||||||
----
|
----
|
||||||
|
|
||||||
Um einfach von einem Buffer zu einem anderen zu springen, kann man das _go.py_ Skript installieren:
|
|
||||||
|
|
||||||
----
|
|
||||||
/script install go.py
|
|
||||||
----
|
|
||||||
|
|
||||||
[[global_history]]
|
[[global_history]]
|
||||||
=== Wie kann ich den globalen Verlaufsspeicher (anstelle des Buffer eigenen) mit den Up-/Down-Tasten nutzen?
|
=== Wie kann ich den globalen Verlaufsspeicher (anstelle des Buffer eigenen) mit den Up-/Down-Tasten nutzen?
|
||||||
|
|
||||||
@@ -1017,19 +987,35 @@ die Buffer-Eigenschaft genutzt werden, um das maximale Hotlist-Level für einige
|
|||||||
oder pro Gruppe von Buffern (wie IRC-Server).
|
oder pro Gruppe von Buffern (wie IRC-Server).
|
||||||
|
|
||||||
Um nun Highlights (Hervorhebungen) für bestimmte Nicks zu deaktivieren, muss
|
Um nun Highlights (Hervorhebungen) für bestimmte Nicks zu deaktivieren, muss
|
||||||
man die entsprechende Eigenschaft auf 2 setzen.
|
man die entsprechende Eigenschaft auf 2 setzen:
|
||||||
|
|
||||||
Für den aktuellen Buffer:
|
|
||||||
----
|
|
||||||
/buffer setauto hotlist_max_level_nicks_add joe:2,mike:2
|
|
||||||
----
|
|
||||||
|
|
||||||
Für alle Kanäle auf dem Server "libera":
|
|
||||||
|
|
||||||
----
|
----
|
||||||
/set weechat.buffer.irc.libera.*.hotlist_max_level_nicks_add joe:2,mike:2
|
/buffer set hotlist_max_level_nicks_add joe:2,mike:2
|
||||||
----
|
----
|
||||||
|
|
||||||
|
Diese Buffereigenschaft wird aber nicht permanent in der Konfiguration
|
||||||
|
gespeichert. Um diese Eigenschaften permanent zu verwenden, muss man
|
||||||
|
das Skript _buffer_autoset.py_ nutzen:
|
||||||
|
|
||||||
|
----
|
||||||
|
/script install buffer_autoset.py
|
||||||
|
----
|
||||||
|
|
||||||
|
Um zum Beispiel Highlights (Hervorhebungen) von Nick "mike" im Kanal
|
||||||
|
#weechat auf dem IRC Server libera zu deaktivieren:
|
||||||
|
|
||||||
|
----
|
||||||
|
/buffer_autoset add irc.libera.#weechat hotlist_max_level_nicks_add mike:2
|
||||||
|
----
|
||||||
|
|
||||||
|
Um dies auf den kompletten libera Server anzuwenden:
|
||||||
|
|
||||||
|
----
|
||||||
|
/buffer_autoset add irc.libera hotlist_max_level_nicks_add mike:2
|
||||||
|
----
|
||||||
|
|
||||||
|
Für weitere Beispiele, siehe `+/help buffer_autoset+`.
|
||||||
|
|
||||||
[[irc_target_buffer]]
|
[[irc_target_buffer]]
|
||||||
=== Wie kann ich bei zusammengefügten Buffern den Zielbuffer ändern (z.B. bei einem Server-Buffer)?
|
=== Wie kann ich bei zusammengefügten Buffern den Zielbuffer ändern (z.B. bei einem Server-Buffer)?
|
||||||
|
|
||||||
@@ -1162,8 +1148,7 @@ Damit WeeChat weniger Speicher benötigt, solltest Du folgende Tipps umsetzen:
|
|||||||
Man sollte sich die Tipps zum <<memory_usage,Speicherverbrauch>> ansehen
|
Man sollte sich die Tipps zum <<memory_usage,Speicherverbrauch>> ansehen
|
||||||
und zusätzlich diese Tipps beherzigen:
|
und zusätzlich diese Tipps beherzigen:
|
||||||
|
|
||||||
* "nicklist"-Bar sollte versteckt werden: `/bar hide nicklist` (Taste: kbd:[Alt+Shift+N]).
|
* "nicklist"-Bar sollte versteckt werden: `/bar hide nicklist`
|
||||||
* deaktiviere "buflist": `/buflist disable` (Taste: kbd:[Alt+Shift+B]).
|
|
||||||
* die Sekundenanzeigen in der Statusbar sollte deaktiviert werden:
|
* die Sekundenanzeigen in der Statusbar sollte deaktiviert werden:
|
||||||
`+/set weechat.look.item_time_format "%H:%M"+` (dies ist die Standardeinstellung)
|
`+/set weechat.look.item_time_format "%H:%M"+` (dies ist die Standardeinstellung)
|
||||||
* die Echtzeit Rechtschreibkorrektur sollte deaktiviert werden (falls sie aktiviert wurde):
|
* die Echtzeit Rechtschreibkorrektur sollte deaktiviert werden (falls sie aktiviert wurde):
|
||||||
@@ -1185,19 +1170,14 @@ Deaktiviere die automatische Antwort für alle CTCP Anfragen:
|
|||||||
|
|
||||||
----
|
----
|
||||||
/set irc.ctcp.clientinfo ""
|
/set irc.ctcp.clientinfo ""
|
||||||
|
/set irc.ctcp.finger ""
|
||||||
/set irc.ctcp.source ""
|
/set irc.ctcp.source ""
|
||||||
/set irc.ctcp.time ""
|
/set irc.ctcp.time ""
|
||||||
|
/set irc.ctcp.userinfo ""
|
||||||
/set irc.ctcp.version ""
|
/set irc.ctcp.version ""
|
||||||
/set irc.ctcp.ping ""
|
/set irc.ctcp.ping ""
|
||||||
----
|
----
|
||||||
|
|
||||||
Mit WeeChat < 4.1.0 wurden andere CTCP-Anfragen standardmäßig beantwortet und müssen ebenfalls deaktiviert werden:
|
|
||||||
|
|
||||||
----
|
|
||||||
/set irc.ctcp.finger ""
|
|
||||||
/set irc.ctcp.userinfo ""
|
|
||||||
----
|
|
||||||
|
|
||||||
Entferne und deaktiviere das automatische Ausführen der "xfer"-Erweiterung, die beispielsweise für "IRC DCC" verantwortlich ist:
|
Entferne und deaktiviere das automatische Ausführen der "xfer"-Erweiterung, die beispielsweise für "IRC DCC" verantwortlich ist:
|
||||||
|
|
||||||
----
|
----
|
||||||
@@ -1233,32 +1213,6 @@ Kennwörter (sofern sie nicht mit dem Befehl `/secure` in _sec.conf_ gesichert w
|
|||||||
Siehe link:weechat_user.de.html#files_and_directories[Benutzerhandbuch / Dateien und Verzeichnisse ^↗^^]
|
Siehe link:weechat_user.de.html#files_and_directories[Benutzerhandbuch / Dateien und Verzeichnisse ^↗^^]
|
||||||
für weitere Informationen über Konfigurationsdateien.
|
für weitere Informationen über Konfigurationsdateien.
|
||||||
|
|
||||||
[[move_to_another_device]]
|
|
||||||
=== Ich möchte mein WeeChat auf ein anderes Gerät verschieben und meine Konfiguration behalten. Was muss ich kopieren?
|
|
||||||
|
|
||||||
Überprüfen Sie zunächst die von WeeChat verwendeten Verzeichnisse mit diesem Befehl: `/debug dirs`. +
|
|
||||||
Die Verzeichnisse home/config und home/data müssen kopiert werden (alle Dateien und Unterverzeichnisse).
|
|
||||||
|
|
||||||
Falls beispielsweise XDG-Verzeichnisse verwendet werden (Standard bei WeeChat ≥ 3.2), sollten die
|
|
||||||
Verzeichnisse `$HOME/.config/weechat` und `$HOME/.local/share/weechat` lauten. +
|
|
||||||
Sollte ein einzelnes Verzeichnis verwenden werden (Standard bei WeeChat < 3.2), sollte das Verzeichnis
|
|
||||||
`$HOME/.weechat` lauuten.
|
|
||||||
|
|
||||||
[IMPORTANT]
|
|
||||||
Die WeeChat-Version auf dem Zielgerät muss größer oder gleich der Version sein des Ausganggerätes. +
|
|
||||||
Ein Downgrade der WeeChat-Konfiguration wird *NICHT UNTERSTÜTZT* und kann zu Schäden führen und ein
|
|
||||||
unbrauchbares WeeChat verursachen.
|
|
||||||
|
|
||||||
Schritte:
|
|
||||||
|
|
||||||
. Weechat beenden: `/quit` (oder `/upgrade -quit`, falls eine Sitzung fortgesetzt werden soll,
|
|
||||||
einschließlich des Inhalts aller Buffer).
|
|
||||||
. Kopieren Sie alle Verzeichnisse, Unterverzeichnisse und Dateien auf das neue Gerät und behalten Sie die
|
|
||||||
Namen und Berechtigungen bei.
|
|
||||||
. Optional: Kopieren Sie alle Dateien außerhalb dieser Verzeichnisse, die auf Ihre Konfiguration verweisen
|
|
||||||
(es wird nicht empfohlen, Dateien außerhalb von WeeChat-Verzeichnissen zu verwenden).
|
|
||||||
. WeeChat auf dem neuen Gerät starten: `weechat` (oder `weechat --upgrade`, falls die Sitzung gesichert wurde).
|
|
||||||
|
|
||||||
[[development]]
|
[[development]]
|
||||||
== Entwicklung
|
== Entwicklung
|
||||||
|
|
||||||
|
|||||||
@@ -564,14 +564,315 @@ lesen Sie bitte link:weechat_plugin_api.en.html[WeeChat Plugin API Reference ^
|
|||||||
|
|
||||||
Liste der Skript API Funktionen:
|
Liste der Skript API Funktionen:
|
||||||
|
|
||||||
include::{autogendir}/autogen_scripting_functions.de.adoc[tag=functions]
|
[width="100%",cols="1,5",options="header"]
|
||||||
|
|===
|
||||||
|
| Kategorie | Funktionen
|
||||||
|
|
||||||
|
| Allgemein
|
||||||
|
| register
|
||||||
|
|
||||||
|
| Erweiterungen
|
||||||
|
| plugin_get_name
|
||||||
|
|
||||||
|
| Strings
|
||||||
|
| charset_set +
|
||||||
|
iconv_to_internal +
|
||||||
|
iconv_from_internal +
|
||||||
|
gettext +
|
||||||
|
ngettext +
|
||||||
|
strlen_screen +
|
||||||
|
string_match +
|
||||||
|
string_match_list +
|
||||||
|
string_has_highlight +
|
||||||
|
string_has_highlight_regex +
|
||||||
|
string_mask_to_regex +
|
||||||
|
string_format_size +
|
||||||
|
string_parse_size +
|
||||||
|
string_color_code_size +
|
||||||
|
string_remove_color +
|
||||||
|
string_is_command_char +
|
||||||
|
string_input_for_buffer +
|
||||||
|
string_eval_expression +
|
||||||
|
string_eval_path_home
|
||||||
|
|
||||||
|
| Verzeichnisse
|
||||||
|
| mkdir_home +
|
||||||
|
mkdir +
|
||||||
|
mkdir_parents
|
||||||
|
|
||||||
|
| sortierte Listen
|
||||||
|
| list_new +
|
||||||
|
list_add +
|
||||||
|
list_search +
|
||||||
|
list_search_pos +
|
||||||
|
list_casesearch +
|
||||||
|
list_casesearch_pos +
|
||||||
|
list_get +
|
||||||
|
list_set +
|
||||||
|
list_next +
|
||||||
|
list_prev +
|
||||||
|
list_string +
|
||||||
|
list_size +
|
||||||
|
list_remove +
|
||||||
|
list_remove_all +
|
||||||
|
list_free
|
||||||
|
|
||||||
|
| Konfigurationsdatei
|
||||||
|
| config_new +
|
||||||
|
config_new_section +
|
||||||
|
config_search_section +
|
||||||
|
config_new_option +
|
||||||
|
config_search_option +
|
||||||
|
config_string_to_boolean +
|
||||||
|
config_option_reset +
|
||||||
|
config_option_set +
|
||||||
|
config_option_set_null +
|
||||||
|
config_option_unset +
|
||||||
|
config_option_rename +
|
||||||
|
config_option_is_null +
|
||||||
|
config_option_default_is_null +
|
||||||
|
config_boolean +
|
||||||
|
config_boolean_default +
|
||||||
|
config_integer +
|
||||||
|
config_integer_default +
|
||||||
|
config_string +
|
||||||
|
config_string_default +
|
||||||
|
config_color +
|
||||||
|
config_color_default +
|
||||||
|
config_write_option +
|
||||||
|
config_write_line +
|
||||||
|
config_write +
|
||||||
|
config_read +
|
||||||
|
config_reload +
|
||||||
|
config_option_free +
|
||||||
|
config_section_free_options +
|
||||||
|
config_section_free +
|
||||||
|
config_free +
|
||||||
|
config_get +
|
||||||
|
config_get_plugin +
|
||||||
|
config_is_set_plugin +
|
||||||
|
config_set_plugin +
|
||||||
|
config_set_desc_plugin +
|
||||||
|
config_unset_plugin
|
||||||
|
|
||||||
|
| Tastenbelegung
|
||||||
|
| key_bind +
|
||||||
|
key_unbind
|
||||||
|
|
||||||
|
| Ausgabe
|
||||||
|
| prefix +
|
||||||
|
color +
|
||||||
|
print (für Python: prnt) +
|
||||||
|
print_date_tags (für Python: prnt_date_tags) +
|
||||||
|
print_y (für Python: prnt_y) +
|
||||||
|
print_y_date_tags (für Python: prnt_y_date_tags) +
|
||||||
|
log_print
|
||||||
|
|
||||||
|
| Hooks
|
||||||
|
| hook_command +
|
||||||
|
hook_command_run +
|
||||||
|
hook_timer +
|
||||||
|
hook_fd +
|
||||||
|
hook_process +
|
||||||
|
hook_process_hashtable +
|
||||||
|
hook_connect +
|
||||||
|
hook_line +
|
||||||
|
hook_print +
|
||||||
|
hook_signal +
|
||||||
|
hook_signal_send +
|
||||||
|
hook_hsignal +
|
||||||
|
hook_hsignal_send +
|
||||||
|
hook_config +
|
||||||
|
hook_completion +
|
||||||
|
hook_modifier +
|
||||||
|
hook_modifier_exec +
|
||||||
|
hook_info +
|
||||||
|
hook_info_hashtable +
|
||||||
|
hook_infolist +
|
||||||
|
hook_focus +
|
||||||
|
hook_set +
|
||||||
|
unhook +
|
||||||
|
unhook_all
|
||||||
|
|
||||||
|
| Buffer
|
||||||
|
| buffer_new +
|
||||||
|
buffer_new_props +
|
||||||
|
current_buffer +
|
||||||
|
buffer_search +
|
||||||
|
buffer_search_main +
|
||||||
|
buffer_clear +
|
||||||
|
buffer_close +
|
||||||
|
buffer_merge +
|
||||||
|
buffer_unmerge +
|
||||||
|
buffer_get_integer +
|
||||||
|
buffer_get_string +
|
||||||
|
buffer_get_pointer +
|
||||||
|
buffer_set +
|
||||||
|
buffer_string_replace_local_var +
|
||||||
|
buffer_match_list
|
||||||
|
|
||||||
|
| Fenster
|
||||||
|
| current_window +
|
||||||
|
window_search_with_buffer +
|
||||||
|
window_get_integer +
|
||||||
|
window_get_string +
|
||||||
|
window_get_pointer +
|
||||||
|
window_set_title
|
||||||
|
|
||||||
|
| Nickliste
|
||||||
|
| nicklist_add_group +
|
||||||
|
nicklist_search_group +
|
||||||
|
nicklist_add_nick +
|
||||||
|
nicklist_search_nick +
|
||||||
|
nicklist_remove_group +
|
||||||
|
nicklist_remove_nick +
|
||||||
|
nicklist_remove_all +
|
||||||
|
nicklist_group_get_integer +
|
||||||
|
nicklist_group_get_string +
|
||||||
|
nicklist_group_get_pointer +
|
||||||
|
nicklist_group_set +
|
||||||
|
nicklist_nick_get_integer +
|
||||||
|
nicklist_nick_get_string +
|
||||||
|
nicklist_nick_get_pointer +
|
||||||
|
nicklist_nick_set
|
||||||
|
|
||||||
|
| Bars
|
||||||
|
| bar_item_search +
|
||||||
|
bar_item_new +
|
||||||
|
bar_item_update +
|
||||||
|
bar_item_remove +
|
||||||
|
bar_search +
|
||||||
|
bar_new +
|
||||||
|
bar_set +
|
||||||
|
bar_update +
|
||||||
|
bar_remove
|
||||||
|
|
||||||
|
| Befehle
|
||||||
|
| command +
|
||||||
|
command_options
|
||||||
|
|
||||||
|
| Vervollständigung
|
||||||
|
| completion_new +
|
||||||
|
completion_search +
|
||||||
|
completion_get_string +
|
||||||
|
completion_list_add +
|
||||||
|
completion_free
|
||||||
|
|
||||||
|
| Informationen
|
||||||
|
| info_get +
|
||||||
|
info_get_hashtable
|
||||||
|
|
||||||
|
| Infolisten
|
||||||
|
| infolist_new +
|
||||||
|
infolist_new_item +
|
||||||
|
infolist_new_var_integer +
|
||||||
|
infolist_new_var_string +
|
||||||
|
infolist_new_var_pointer +
|
||||||
|
infolist_new_var_time +
|
||||||
|
infolist_get +
|
||||||
|
infolist_next +
|
||||||
|
infolist_prev +
|
||||||
|
infolist_reset_item_cursor +
|
||||||
|
infolist_search_var +
|
||||||
|
infolist_fields +
|
||||||
|
infolist_integer +
|
||||||
|
infolist_string +
|
||||||
|
infolist_pointer +
|
||||||
|
infolist_time +
|
||||||
|
infolist_free
|
||||||
|
|
||||||
|
| hdata
|
||||||
|
| hdata_get +
|
||||||
|
hdata_get_var_offset +
|
||||||
|
hdata_get_var_type_string +
|
||||||
|
hdata_get_var_array_size +
|
||||||
|
hdata_get_var_array_size_string +
|
||||||
|
hdata_get_var_hdata +
|
||||||
|
hdata_get_list +
|
||||||
|
hdata_check_pointer +
|
||||||
|
hdata_move +
|
||||||
|
hdata_search +
|
||||||
|
hdata_char +
|
||||||
|
hdata_integer +
|
||||||
|
hdata_long +
|
||||||
|
hdata_string +
|
||||||
|
hdata_pointer +
|
||||||
|
hdata_time +
|
||||||
|
hdata_hashtable +
|
||||||
|
hdata_compare +
|
||||||
|
hdata_update +
|
||||||
|
hdata_get_string
|
||||||
|
|
||||||
|
| Upgrade
|
||||||
|
| upgrade_new +
|
||||||
|
upgrade_write_object +
|
||||||
|
upgrade_read +
|
||||||
|
upgrade_close
|
||||||
|
|===
|
||||||
|
|
||||||
[[script_api_constants]]
|
[[script_api_constants]]
|
||||||
=== Konstanten
|
=== Konstanten
|
||||||
|
|
||||||
Liste der Konstanten in Skript API:
|
Liste der Konstanten in Skript API:
|
||||||
|
|
||||||
include::{autogendir}/autogen_scripting_constants.de.adoc[tag=constants]
|
[width="100%",cols="1,5",options="header"]
|
||||||
|
|===
|
||||||
|
| Kategorie | Konstanten
|
||||||
|
|
||||||
|
| return codes
|
||||||
|
| `WEECHAT_RC_OK` (integer) +
|
||||||
|
`WEECHAT_RC_OK_EAT` (integer) +
|
||||||
|
`WEECHAT_RC_ERROR` (integer)
|
||||||
|
|
||||||
|
| Konfigurationsdatei
|
||||||
|
| `WEECHAT_CONFIG_READ_OK` (integer) +
|
||||||
|
`WEECHAT_CONFIG_READ_MEMORY_ERROR` (integer) +
|
||||||
|
`WEECHAT_CONFIG_READ_FILE_NOT_FOUND` (integer) +
|
||||||
|
`WEECHAT_CONFIG_WRITE_OK` (integer) +
|
||||||
|
`WEECHAT_CONFIG_WRITE_ERROR` (integer) +
|
||||||
|
`WEECHAT_CONFIG_WRITE_MEMORY_ERROR` (integer) +
|
||||||
|
`WEECHAT_CONFIG_OPTION_SET_OK_CHANGED` (integer) +
|
||||||
|
`WEECHAT_CONFIG_OPTION_SET_OK_SAME_VALUE` (integer) +
|
||||||
|
`WEECHAT_CONFIG_OPTION_SET_ERROR` (integer) +
|
||||||
|
`WEECHAT_CONFIG_OPTION_SET_OPTION_NOT_FOUND` (integer) +
|
||||||
|
`WEECHAT_CONFIG_OPTION_UNSET_OK_NO_RESET` (integer) +
|
||||||
|
`WEECHAT_CONFIG_OPTION_UNSET_OK_RESET` (integer) +
|
||||||
|
`WEECHAT_CONFIG_OPTION_UNSET_OK_REMOVED` (integer) +
|
||||||
|
`WEECHAT_CONFIG_OPTION_UNSET_ERROR` (integer)
|
||||||
|
|
||||||
|
| sortierte Listen
|
||||||
|
| `WEECHAT_LIST_POS_SORT` (string) +
|
||||||
|
`WEECHAT_LIST_POS_BEGINNING` (string) +
|
||||||
|
`WEECHAT_LIST_POS_END` (string)
|
||||||
|
|
||||||
|
| Hotlist
|
||||||
|
| `WEECHAT_HOTLIST_LOW` (string) +
|
||||||
|
`WEECHAT_HOTLIST_MESSAGE` (string) +
|
||||||
|
`WEECHAT_HOTLIST_PRIVATE` (string) +
|
||||||
|
`WEECHAT_HOTLIST_HIGHLIGHT` (string)
|
||||||
|
|
||||||
|
| hook Prozesse
|
||||||
|
| `WEECHAT_HOOK_PROCESS_RUNNING` (integer) +
|
||||||
|
`WEECHAT_HOOK_PROCESS_ERROR` (integer)
|
||||||
|
|
||||||
|
| hook Connect
|
||||||
|
| `WEECHAT_HOOK_CONNECT_OK` (integer) +
|
||||||
|
`WEECHAT_HOOK_CONNECT_ADDRESS_NOT_FOUND` (integer) +
|
||||||
|
`WEECHAT_HOOK_CONNECT_IP_ADDRESS_NOT_FOUND` (integer) +
|
||||||
|
`WEECHAT_HOOK_CONNECT_CONNECTION_REFUSED` (integer) +
|
||||||
|
`WEECHAT_HOOK_CONNECT_PROXY_ERROR` (integer) +
|
||||||
|
`WEECHAT_HOOK_CONNECT_LOCAL_HOSTNAME_ERROR` (integer) +
|
||||||
|
`WEECHAT_HOOK_CONNECT_GNUTLS_INIT_ERROR` (integer) +
|
||||||
|
`WEECHAT_HOOK_CONNECT_GNUTLS_HANDSHAKE_ERROR` (integer) +
|
||||||
|
`WEECHAT_HOOK_CONNECT_MEMORY_ERROR` (integer) +
|
||||||
|
`WEECHAT_HOOK_CONNECT_TIMEOUT` (integer) +
|
||||||
|
`WEECHAT_HOOK_CONNECT_SOCKET_ERROR` (integer)
|
||||||
|
|
||||||
|
| hook Signal
|
||||||
|
| `WEECHAT_HOOK_SIGNAL_STRING` (string) +
|
||||||
|
`WEECHAT_HOOK_SIGNAL_INT` (string) +
|
||||||
|
`WEECHAT_HOOK_SIGNAL_POINTER` (string)
|
||||||
|
|===
|
||||||
|
|
||||||
[[common_tasks]]
|
[[common_tasks]]
|
||||||
== Gemeinschaftsaufgabe
|
== Gemeinschaftsaufgabe
|
||||||
|
|||||||
+166
-385
@@ -35,7 +35,7 @@ wesentliche Merkmale:
|
|||||||
https://datatracker.ietf.org/doc/html/rfc2812[2812 ^↗^^],
|
https://datatracker.ietf.org/doc/html/rfc2812[2812 ^↗^^],
|
||||||
https://datatracker.ietf.org/doc/html/rfc2813[2813 ^↗^^] und
|
https://datatracker.ietf.org/doc/html/rfc2813[2813 ^↗^^] und
|
||||||
https://datatracker.ietf.org/doc/html/rfc7194[7194 ^↗^^]
|
https://datatracker.ietf.org/doc/html/rfc7194[7194 ^↗^^]
|
||||||
* IRC proxy und relay für WeeChat und Remote-Schnittstellen
|
* IRC proxy und relay für remote Schnittstellen
|
||||||
* Betriebssystemunabhängig (GNU/Linux, *BSD, macOS, Windows und weitere)
|
* Betriebssystemunabhängig (GNU/Linux, *BSD, macOS, Windows und weitere)
|
||||||
* 100% GPL, freie Software
|
* 100% GPL, freie Software
|
||||||
|
|
||||||
@@ -118,7 +118,7 @@ Die folgende Tabelle zeigt eine Auflistung der Pakete, die zum Erstellen von Wee
|
|||||||
| pkg-config |
|
| pkg-config |
|
||||||
| entdeckt installierte Bibliotheken.
|
| entdeckt installierte Bibliotheken.
|
||||||
|
|
||||||
| libncurses-dev |
|
| libncursesw5-dev ^(2)^ |
|
||||||
| Ncurses Oberfläche.
|
| Ncurses Oberfläche.
|
||||||
|
|
||||||
| libcurl4-gnutls-dev |
|
| libcurl4-gnutls-dev |
|
||||||
@@ -127,21 +127,28 @@ Die folgende Tabelle zeigt eine Auflistung der Pakete, die zum Erstellen von Wee
|
|||||||
| libgcrypt20-dev |
|
| libgcrypt20-dev |
|
||||||
| Geschützte Daten, IRC SASL Authentifikation.
|
| Geschützte Daten, IRC SASL Authentifikation.
|
||||||
|
|
||||||
| libgnutls28-dev | ≥ 2.2.0 ^(2)^
|
| libgnutls28-dev | ≥ 2.2.0 ^(3)^
|
||||||
| IRC-Erweiterung: Unterstützung von TLS Verbindungen, IRC SASL Authentifikation (ECDSA-NIST256P-CHALLENGE). +
|
| IRC-Erweiterung: Unterstützung von TLS Verbindungen, IRC SASL Authentifikation (ECDSA-NIST256P-CHALLENGE). +
|
||||||
Relay-Erweiterung: Untersützung von TLS Verbindungen.
|
Relay-Erweiterung: Untersützung von TLS Verbindungen.
|
||||||
|
|
||||||
| zlib1g-dev |
|
| zlib1g-dev |
|
||||||
| Logger-Erweitertung: Kompression von rotierenden Protokolldateien (gzip). +
|
| Logger-Erweitertung: Kompression von rotierenden Protokolldateien (gzip). +
|
||||||
Relay-Erweiterung: Kompression von Nachrichten (WeeChat -> client) with https://zlib.net/[zlib ^↗^^]
|
Relay-Erweiterung: Kompression von Nachrichten (WeeChat -> client) with https://zlib.net/[zlib ^↗^^] (weechat protocol). +
|
||||||
(api und weechat Protokollen). +
|
|
||||||
Script-Erweiterung: Lesen der Repository-Indexdatei (gzip).
|
Script-Erweiterung: Lesen der Repository-Indexdatei (gzip).
|
||||||
|
|
||||||
|
| libzstd-dev | ≥ 0.8.1
|
||||||
|
| Logger-Erweiterung: Kompression von rotierenden Protokolldateien. +
|
||||||
|
Relay-Erweiterung: Kompression von Nachrichten (WeeChat -> client) with https://facebook.github.io/zstd/[Zstandard ^↗^^] (weechat protocol).
|
||||||
|===
|
|===
|
||||||
|
|
||||||
[NOTE]
|
[NOTE]
|
||||||
^(1)^ Der Name stammt von der Debian GNU/Linux Bookworm-Distribution,
|
^(1)^ Der Name stammt von der Debian GNU/Linux Bookworm-Distribution,
|
||||||
Version und Name können in anderen Distributionen anders lauten. +
|
Version und Name können in anderen Distributionen anders lauten. +
|
||||||
^(2)^ GnuTLS ≥ 3.0.21 wird benötigt um eine IRC SASL Authentifizierung mittels
|
^(2)^ Es wird empfohlen WeeChat mit libncurses**w**5-dev (das *w* ist
|
||||||
|
entscheidend) zu kompilieren. Eine Kompilierung kann auch mit libncurses5-dev erfolgen,
|
||||||
|
aber dies wird *NICHT* empfohlen:
|
||||||
|
Es können Darstellungsfehler mit breiten Zeichen auftreten. +
|
||||||
|
^(3)^ GnuTLS ≥ 3.0.21 wird benötigt um eine IRC SASL Authentifizierung mittels
|
||||||
ECDSA-NIST256P-CHALLENGE durchzuführen.
|
ECDSA-NIST256P-CHALLENGE durchzuführen.
|
||||||
|
|
||||||
Die folgende Tabelle zeigt die Liste der Pakete, die zum Kompilieren von
|
Die folgende Tabelle zeigt die Liste der Pakete, die zum Kompilieren von
|
||||||
@@ -150,72 +157,25 @@ WeeChat optional sind:
|
|||||||
[width="100%",cols="5,^3,.^15",options="header"]
|
[width="100%",cols="5,^3,.^15",options="header"]
|
||||||
|===
|
|===
|
||||||
| Paket ^(1)^ | Version | Funktionen
|
| Paket ^(1)^ | Version | Funktionen
|
||||||
|
| {cpp} compiler (pass:[g++ / clang++]) | | zum Erstellen der Binärdatei und um Test auszuführen, JavaScript Erweiterung.
|
||||||
| {cpp} compiler (pass:[g++ / clang++]) |
|
| gettext | | Internationalisierung (Übersetzung der Mitteilungen; Hauptsprache ist englisch).
|
||||||
| zum Erstellen der Binärdatei und um Test auszuführen, JavaScript Erweiterung.
|
| ca-certificates | | Zertifikate für TLS Verbindungen.
|
||||||
|
| libaspell-dev / libenchant-dev | | Spell Erweiterung.
|
||||||
| gettext |
|
| python3-dev | ≥ 3.0 | Python Erweiterung.
|
||||||
| Internationalisierung (Übersetzung der Mitteilungen; Hauptsprache ist englisch).
|
| libperl-dev | | Perl Erweiterung.
|
||||||
|
| ruby3.1, ruby3.1-dev | ≥ 1.9.1 | Ruby Erweiterung.
|
||||||
| ca-certificates |
|
| liblua5.4-dev | | Lua Erweiterung.
|
||||||
| Zertifikate für TLS Verbindungen.
|
| tcl-dev | ≥ 8.5 | Tcl Erweiterung.
|
||||||
|
| guile-3.0-dev | ≥ 2.0 | Guile (scheme) Erweiterung.
|
||||||
| libcjson-dev |
|
| libv8-dev | ≤ 3.24.3 | JavaScript Erweiterung.
|
||||||
| Relay-Erweiterung: Protokoll "api" (HTTP REST API).
|
| php-dev | ≥ 7.0 | PHP Erweiterung.
|
||||||
|
| libphp-embed | ≥ 7.0 | PHP Erweiterung.
|
||||||
| libzstd-dev | ≥ 0.8.1
|
| libxml2-dev | | PHP Erweiterung.
|
||||||
// TRANLSATION MISSING
|
| libargon2-dev | | PHP Erweiterung (wenn PHP ≥ 7.2).
|
||||||
| Logger-Erweiterung: Kompression von rotierenden Protokolldateien (zstandard). +
|
| libsodium-dev | | PHP Erweiterung (wenn PHP ≥ 7.2).
|
||||||
Relay-Erweiterung: Kompression von Nachrichten (WeeChat -> client) with https://facebook.github.io/zstd/[Zstandard ^↗^^]
|
| asciidoctor | ≥ 1.5.4 | zum Erstellen der man page und der Dokumentation.
|
||||||
(api and weechat protocols).
|
| ruby-pygments.rb | | Build Dokumentation.
|
||||||
|
| libcpputest-dev | ≥ 3.4 | zum Erstellen und um Test auszuführen.
|
||||||
| libaspell-dev / libenchant-dev |
|
|
||||||
| Spell Erweiterung.
|
|
||||||
|
|
||||||
| python3-dev | ≥ 3.0
|
|
||||||
| Python Erweiterung.
|
|
||||||
|
|
||||||
| libperl-dev |
|
|
||||||
| Perl Erweiterung.
|
|
||||||
|
|
||||||
| ruby3.1, ruby3.1-dev | ≥ 1.9.1
|
|
||||||
| Ruby Erweiterung.
|
|
||||||
|
|
||||||
| liblua5.4-dev |
|
|
||||||
| Lua Erweiterung.
|
|
||||||
|
|
||||||
| tcl-dev | ≥ 8.5
|
|
||||||
| Tcl Erweiterung.
|
|
||||||
|
|
||||||
| guile-3.0-dev | ≥ 2.0
|
|
||||||
| Guile (scheme) Erweiterung.
|
|
||||||
|
|
||||||
| libv8-dev | ≤ 3.24.3
|
|
||||||
| JavaScript Erweiterung.
|
|
||||||
|
|
||||||
| php-dev | ≥ 7.0
|
|
||||||
| PHP Erweiterung.
|
|
||||||
|
|
||||||
| libphp-embed | ≥ 7.0
|
|
||||||
| PHP Erweiterung.
|
|
||||||
|
|
||||||
| libxml2-dev |
|
|
||||||
| PHP Erweiterung.
|
|
||||||
|
|
||||||
| libargon2-dev |
|
|
||||||
| PHP Erweiterung (wenn PHP ≥ 7.2).
|
|
||||||
|
|
||||||
| libsodium-dev |
|
|
||||||
| PHP Erweiterung (wenn PHP ≥ 7.2).
|
|
||||||
|
|
||||||
| asciidoctor | ≥ 1.5.4
|
|
||||||
| zum Erstellen der man page und der Dokumentation.
|
|
||||||
|
|
||||||
| ruby-pygments.rb |
|
|
||||||
| Build Dokumentation.
|
|
||||||
|
|
||||||
| libcpputest-dev | ≥ 3.4
|
|
||||||
| zum Erstellen und um Test auszuführen.
|
|
||||||
|===
|
|===
|
||||||
|
|
||||||
[NOTE]
|
[NOTE]
|
||||||
@@ -256,7 +216,7 @@ $ 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 der verfügbaren Optionen:
|
Liste von häufig verwendeten Optionen:
|
||||||
|
|
||||||
[width="100%",cols="3m,3,3m,10",options="header"]
|
[width="100%",cols="3m,3,3m,10",options="header"]
|
||||||
|===
|
|===
|
||||||
@@ -285,9 +245,6 @@ Liste der verfügbaren Optionen:
|
|||||||
| ENABLE_CHARSET | `ON`, `OFF` | ON
|
| ENABLE_CHARSET | `ON`, `OFF` | ON
|
||||||
| kompiliert <<charset,Charset Erweiterung>>.
|
| kompiliert <<charset,Charset Erweiterung>>.
|
||||||
|
|
||||||
| ENABLE_CJSON | `ON`, `OFF` | ON
|
|
||||||
| Unterstützung von JSON mittels https://github.com/DaveGamble/cJSON[cJSON ^↗^^] Bibliothek.
|
|
||||||
|
|
||||||
| ENABLE_MAN | `ON`, `OFF` | OFF
|
| ENABLE_MAN | `ON`, `OFF` | OFF
|
||||||
| erstellt die man page.
|
| erstellt die man page.
|
||||||
|
|
||||||
@@ -313,9 +270,6 @@ Liste der verfügbaren Optionen:
|
|||||||
| ENABLE_GUILE | `ON`, `OFF` | ON
|
| ENABLE_GUILE | `ON`, `OFF` | ON
|
||||||
| kompiliert <<scripting_plugins,Guile Erweiterung>> (Scheme).
|
| kompiliert <<scripting_plugins,Guile Erweiterung>> (Scheme).
|
||||||
|
|
||||||
| ENABLE_HEADLESS | `ON`, `OFF` | ON
|
|
||||||
| Kompilieren der headless Binärdatei.
|
|
||||||
|
|
||||||
| ENABLE_IRC | `ON`, `OFF` | ON
|
| ENABLE_IRC | `ON`, `OFF` | ON
|
||||||
| kompiliert <<irc,IRC Erweiterung>>.
|
| kompiliert <<irc,IRC Erweiterung>>.
|
||||||
|
|
||||||
@@ -374,9 +328,6 @@ Liste der verfügbaren Optionen:
|
|||||||
| ENABLE_XFER | `ON`, `OFF` | ON
|
| ENABLE_XFER | `ON`, `OFF` | ON
|
||||||
| kompiliert <<xfer,Xfer Erweiterung>>.
|
| kompiliert <<xfer,Xfer Erweiterung>>.
|
||||||
|
|
||||||
| ENABLE_ZSTD | `ON`, `OFF` | ON
|
|
||||||
| aktiviere https://facebook.github.io/zstd/[Zstandard ^↗^^] Kompression.
|
|
||||||
|
|
||||||
| ENABLE_TESTS | `ON`, `OFF` | OFF
|
| ENABLE_TESTS | `ON`, `OFF` | OFF
|
||||||
| kompiliert Testumgebung.
|
| kompiliert Testumgebung.
|
||||||
|
|
||||||
@@ -536,11 +487,11 @@ Copying output to /tmp/crash.txt.
|
|||||||
at /some_path/src/core/weechat.c:351
|
at /some_path/src/core/weechat.c:351
|
||||||
#3 <signal handler called>
|
#3 <signal handler called>
|
||||||
#4 0x000000000044cb24 in hook_process_timer_cb (arg_hook_process=0x254eb90,
|
#4 0x000000000044cb24 in hook_process_timer_cb (arg_hook_process=0x254eb90,
|
||||||
remaining_calls=<value optimized out>) at /some_path/src/core/core-hook.c:1364
|
remaining_calls=<value optimized out>) at /some_path/src/core/wee-hook.c:1364
|
||||||
hook_process = 0x254eb90
|
hook_process = 0x254eb90
|
||||||
status = <value optimized out>
|
status = <value optimized out>
|
||||||
#5 0x000000000044cc7d in hook_timer_exec ()
|
#5 0x000000000044cc7d in hook_timer_exec ()
|
||||||
at /some_path/src/core/core-hook.c:1025
|
at /some_path/src/core/wee-hook.c:1025
|
||||||
tv_time = {tv_sec = 1272693881, tv_usec = 212665}
|
tv_time = {tv_sec = 1272693881, tv_usec = 212665}
|
||||||
ptr_hook = 0x2811f40
|
ptr_hook = 0x2811f40
|
||||||
next_hook = 0x0
|
next_hook = 0x0
|
||||||
@@ -929,30 +880,11 @@ In der _input_ Bar lautet die Standardeinstellung:
|
|||||||
| Item | Beispiel | Beschreibung
|
| Item | Beispiel | Beschreibung
|
||||||
| input_prompt | `[@Flashy(i)]` | Input prompt, für irc: Nick und Modi (Modus "+i" bedeutet auf libera, unsichtbar).
|
| input_prompt | `[@Flashy(i)]` | Input prompt, für irc: Nick und Modi (Modus "+i" bedeutet auf libera, unsichtbar).
|
||||||
| away | `(away)` | Abwesenheitsanzeige.
|
| away | `(away)` | Abwesenheitsanzeige.
|
||||||
| input_search | `[Search lines (~ str,msg)]` | Suchindikatoren ("`~`": Groß-und Kleinschreibung ignorieren, "`==`": Groß-und Kleinschreibung berücksichtigen, "`str`": einfache Textsuche, "`regex`": suche mit regulären Ausdrücken, "`msg`": Suche in Nachrichten, "`pre`": Suche in Präfix, "`pre\|msg`": Suche in Präfix und Nachrichten).
|
| input_search | `[Search (~ str,msg)]` | Suchindikatoren ("`~`": Groß-und Kleinschreibung ignorieren, "`==`": Groß-und Kleinschreibung berücksichtigen, "`str`": einfache Textsuche, "`regex`": suche mit regulären Ausdrücken, "`msg`": Suche in Nachrichten, "`pre`": Suche in Präfix, "`pre\|msg`": Suche in Präfix und Nachrichten).
|
||||||
| input_paste | `[Paste 7 lines ? [ctrl-y] Ja [ctrl-n] Nein]` | Nachfrage, ob sieben Zeilen eingefügt werden sollen.
|
| input_paste | `[Paste 7 lines ? [ctrl-y] Ja [ctrl-n] Nein]` | Nachfrage ob sieben Zeilen eingefügt werden sollen.
|
||||||
| input_text | `hi peter!` | Text der eingegeben wird.
|
| input_text | `hi peter!` | Text der eingegeben wird.
|
||||||
|===
|
|===
|
||||||
|
|
||||||
Es existieren zwei Suchmodi:
|
|
||||||
|
|
||||||
* Suche in Zeilen, zum Beispiel `[Search lines (~ str,msg)]`, mit folgenden Infos:
|
|
||||||
** `~`: Groß-und Kleinschreibung ignorieren
|
|
||||||
** `==`: Groß-und Kleinschreibung berücksichtigen
|
|
||||||
** `str`: einfache Textsuche
|
|
||||||
** `regex`: suche mit regulären Ausdrücken
|
|
||||||
** `msg`: Suche in Nachrichten
|
|
||||||
** `pre`: Suche in Präfix
|
|
||||||
** `pre\|msg`: Suche in Präfix und Nachrichten
|
|
||||||
* Suche im Befehlsverlauf, zum Beispiel `[Search command (~ str,local)]`,
|
|
||||||
mit den folgenden Informationen:
|
|
||||||
** `~`: Groß-und Kleinschreibung ignorieren
|
|
||||||
** `==`: Groß-und Kleinschreibung berücksichtigen
|
|
||||||
** `str`: einfache Textsuche
|
|
||||||
** `regex`: suche mit regulären Ausdrücken
|
|
||||||
** `local`: suche im lokalen Bufferverlauf
|
|
||||||
** `global`: suche im globalen Verlauf
|
|
||||||
|
|
||||||
In der _nicklist_ Bar lautet die Standardeinstellung:
|
In der _nicklist_ Bar lautet die Standardeinstellung:
|
||||||
|
|
||||||
[width="100%",cols="^3,^3,9",options="header"]
|
[width="100%",cols="^3,^3,9",options="header"]
|
||||||
@@ -971,10 +903,8 @@ andere Items die zur Verfügung stehen (die aber nicht standardmäßig in einer
|
|||||||
| buffer_nicklist_count_all | `4` | Anzahl der sichtbaren Gruppen und Nicks in der Nickliste.
|
| buffer_nicklist_count_all | `4` | Anzahl der sichtbaren Gruppen und Nicks in der Nickliste.
|
||||||
| buffer_nicklist_count_groups | `0` | Anzahl der sichtbaren Gruppen in der Nickliste.
|
| buffer_nicklist_count_groups | `0` | Anzahl der sichtbaren Gruppen in der Nickliste.
|
||||||
| buffer_short_name | `#test` | Kurzname des aktuellen Buffers.
|
| buffer_short_name | `#test` | Kurzname des aktuellen Buffers.
|
||||||
| buflist2 | `1.weechat` | Liste der Buffer, zweites Bar-Item (siehe Option <<option_buflist.look.use_items,buflist.look.use_items>>).
|
| buflist2 | `1.weechat` | List der Buffer, zweites Bar-Item (siehe Option <<option_buflist.look.use_items,buflist.look.use_items>>).
|
||||||
| buflist3 | `1.weechat` | Liste der Buffer, drittes Bar-Item (siehe Option <<option_buflist.look.use_items,buflist.look.use_items>>).
|
| buflist3 | `1.weechat` | List der Buffer, drittes Bar-Item (siehe Option <<option_buflist.look.use_items,buflist.look.use_items>>).
|
||||||
| buflist4 | `1.weechat` | Liste der Buffer, viertes Bar-Item (siehe Option <<option_buflist.look.use_items,buflist.look.use_items>>).
|
|
||||||
| buflist5 | `1.weechat` | Liste der Buffer, fünftes Bar-Item (siehe Option <<option_buflist.look.use_items,buflist.look.use_items>>).
|
|
||||||
| fset | `+buflist.look.sort: …+` | Hilfstext zur aktuell ausgewählten Option im Fset-Buffer.
|
| fset | `+buflist.look.sort: …+` | Hilfstext zur aktuell ausgewählten Option im Fset-Buffer.
|
||||||
| irc_channel | `#test` | aktueller Name des IRC Kanals.
|
| irc_channel | `#test` | aktueller Name des IRC Kanals.
|
||||||
| irc_host | `+user@host.com+` | aktueller IRC Host.
|
| irc_host | `+user@host.com+` | aktueller IRC Host.
|
||||||
@@ -1044,11 +974,6 @@ Zeichen, genutzt werden:
|
|||||||
| kbd:[Ctrl+c], kbd:[c],
|
| kbd:[Ctrl+c], kbd:[c],
|
||||||
kbd:[xx], kbd:[,],
|
kbd:[xx], kbd:[,],
|
||||||
kbd:[yy] | Textfarbe `xx` und Hintergrundfarbe `yy` (siehe Farbtabelle).
|
kbd:[yy] | Textfarbe `xx` und Hintergrundfarbe `yy` (siehe Farbtabelle).
|
||||||
| kbd:[Ctrl+c], kbd:[d],
|
|
||||||
kbd:[xxxxxx] | Textfarbe `xxxxxx` (RGB als hexadezimale Zahl, zum Beispiel `FF0000` für rot).
|
|
||||||
| kbd:[Ctrl+c], kbd:[d],
|
|
||||||
kbd:[xxxxxx], kbd:[,],
|
|
||||||
kbd:[yyyyyy] | Textfarbe `xxxxxx` und Hintergrundfarbe `yyyyyy` (RGB als hexadezimale Zahl).
|
|
||||||
| kbd:[Ctrl+c], kbd:[i] | Text wird kursiv dargestellt.
|
| kbd:[Ctrl+c], kbd:[i] | Text wird kursiv dargestellt.
|
||||||
| kbd:[Ctrl+c], kbd:[o] | deaktiviert Farben und Attribute.
|
| kbd:[Ctrl+c], kbd:[o] | deaktiviert Farben und Attribute.
|
||||||
| kbd:[Ctrl+c], kbd:[v] | Farben umkehren (kehrt Textfarbe und Hintergrundfarbe um).
|
| kbd:[Ctrl+c], kbd:[v] | Farben umkehren (kehrt Textfarbe und Hintergrundfarbe um).
|
||||||
@@ -1056,8 +981,8 @@ Zeichen, genutzt werden:
|
|||||||
|===
|
|===
|
||||||
|
|
||||||
[NOTE]
|
[NOTE]
|
||||||
Der selbe Code (ohne Nummer für kbd:[Ctrl+c], kbd:[c] und kbd:[Ctrl+c], kbd:[d])
|
Der selbe Befehl (ohne den Wert für kbd:[Ctrl+c], kbd:[c]) sollte genutzt werden
|
||||||
kann verwendet werden, um das Attribut zu stoppen.
|
um die Farbkodierungen bzw. Attribute zu deaktivieren.
|
||||||
|
|
||||||
Farbtabelle für kbd:[Ctrl+c], kbd:[c]:
|
Farbtabelle für kbd:[Ctrl+c], kbd:[c]:
|
||||||
|
|
||||||
@@ -1423,8 +1348,7 @@ Standardmäßig interpretieren WeeChat und seine Standard-Erweitertungen diese V
|
|||||||
|
|
||||||
| filter
|
| filter
|
||||||
| beliebige Zeichenkette
|
| beliebige Zeichenkette
|
||||||
| Filter für einige Buffer definiert, zum Beispiel`/fset`, `/list` (irc), `/server raw` (irc)
|
| Filter definiert für einige Buffer `/fset`, `/server raw` (irc) und `/script`.
|
||||||
und `/script`.
|
|
||||||
|
|
||||||
| host
|
| host
|
||||||
| beliebige Zeichenkette
|
| beliebige Zeichenkette
|
||||||
@@ -1506,8 +1430,7 @@ Externe Erweitertungen und Skripte können andere lokale Variablen definieren un
|
|||||||
=== Liste der Buffer
|
=== Liste der Buffer
|
||||||
|
|
||||||
Die Buflist-Erweiterung dient dazu eine Liste der geöffneten Buffer in einer Bar-Item, mit Namen
|
Die Buflist-Erweiterung dient dazu eine Liste der geöffneten Buffer in einer Bar-Item, mit Namen
|
||||||
"buflist", darzustellen (vier weitere Bar-Items sind dabei verfügbar "buflist2", "buflist3", "buflist4"
|
"buflist", darzustellen (zwei weiere Bar-Items "buflist2" und "buflist3" sind zusätzlich verfügbar). +
|
||||||
und "buflist5"). +
|
|
||||||
Eine Standardbar, "buflist", wird beim Programmstart automatisch mit folgendem Inhalt erstellt.
|
Eine Standardbar, "buflist", wird beim Programmstart automatisch mit folgendem Inhalt erstellt.
|
||||||
|
|
||||||
[[buflist_commands]]
|
[[buflist_commands]]
|
||||||
@@ -1531,20 +1454,6 @@ Optionen:
|
|||||||
|
|
||||||
include::{autogendir}/autogen_user_options.de.adoc[tag=buflist_options]
|
include::{autogendir}/autogen_user_options.de.adoc[tag=buflist_options]
|
||||||
|
|
||||||
[[cursor_mode]]
|
|
||||||
=== Cursor-Modus
|
|
||||||
|
|
||||||
Mit dem Cursormodus können Sie den Cursor frei an eine beliebige Stelle auf dem Bildschirm bewegen,
|
|
||||||
sowohl im Chatbereich als auch in Bars und ermöglicht das Ausführen von Aktionen an der angegebenen Position. +
|
|
||||||
Sie können den Cursormodus entweder mit dem Befehl `/cursor` oder mit der mittleren Maustaste aktivieren
|
|
||||||
(Maus muss mit der Taste kbd:[Alt+m] oder dem Befehl `/mouse enable` aktiviert worden sein).
|
|
||||||
|
|
||||||
Typischer Anwendungszweck ist das Zitieren von Nachrichten (Chat-Bereich) oder die Interaktion mit Nicks (Nicklist-Leiste).
|
|
||||||
|
|
||||||
Siehe Befehl <<command_weechat_cursor,/cursor>> und
|
|
||||||
<<key_bindings_cursor_context,key bindings in cursor context>>, für die Liste
|
|
||||||
der Aktionen, die in diesem Modus ausgeführt werden können.
|
|
||||||
|
|
||||||
[[key_bindings]]
|
[[key_bindings]]
|
||||||
== Tastenbelegungen
|
== Tastenbelegungen
|
||||||
|
|
||||||
@@ -1620,7 +1529,6 @@ Sie können mit dem Befehl <<command_weechat_key,/key>> geändert und neue hinzu
|
|||||||
| Taste | Beschreibung | Befehl
|
| Taste | Beschreibung | Befehl
|
||||||
| kbd:[Ctrl+c], kbd:[b] | fügt Steuerzeichen für fett geschrieben Text ein. | `+/input insert \x02+`
|
| kbd:[Ctrl+c], kbd:[b] | fügt Steuerzeichen für fett geschrieben Text ein. | `+/input insert \x02+`
|
||||||
| kbd:[Ctrl+c], kbd:[c] | fügt Steuerzeichen für Textfarbe ein. | `+/input insert \x03+`
|
| kbd:[Ctrl+c], kbd:[c] | fügt Steuerzeichen für Textfarbe ein. | `+/input insert \x03+`
|
||||||
| kbd:[Ctrl+c], kbd:[d] | fügt Steuerzeichen für Textfarbe ein (RGB Farbe, als hexadezimale Zahl). | `+/input insert \x04+`
|
|
||||||
| kbd:[Ctrl+c], kbd:[i] | fügt Steuerzeichen für kursiven Text ein. | `+/input insert \x1D+`
|
| kbd:[Ctrl+c], kbd:[i] | fügt Steuerzeichen für kursiven Text ein. | `+/input insert \x1D+`
|
||||||
| kbd:[Ctrl+c], kbd:[o] | fügt Steuerzeichen für Standardfarbe ein. | `+/input insert \x0F+`
|
| kbd:[Ctrl+c], kbd:[o] | fügt Steuerzeichen für Standardfarbe ein. | `+/input insert \x0F+`
|
||||||
| kbd:[Ctrl+c], kbd:[v] | fügt Steuerzeichen für Hintergrundfarbe ein. | `+/input insert \x16+`
|
| kbd:[Ctrl+c], kbd:[v] | fügt Steuerzeichen für Hintergrundfarbe ein. | `+/input insert \x16+`
|
||||||
@@ -1639,23 +1547,14 @@ Sie können mit dem Befehl <<command_weechat_key,/key>> geändert und neue hinzu
|
|||||||
| kbd:[Ctrl+↓] | ruft nächsten Befehl/Nachricht aus dem globalen Verlaufsspeicher auf (für alle Buffer). | `+/input history_global_next+`
|
| kbd:[Ctrl+↓] | ruft nächsten Befehl/Nachricht aus dem globalen Verlaufsspeicher auf (für alle Buffer). | `+/input history_global_next+`
|
||||||
|===
|
|===
|
||||||
|
|
||||||
[[key_bindings_cmdline_system]]
|
|
||||||
==== System
|
|
||||||
|
|
||||||
[width="100%",cols="^.^3,.^8,.^5",options="header"]
|
|
||||||
|===
|
|
||||||
| Taste | Beschreibung | Befehl
|
|
||||||
| kbd:[Ctrl+z] | Breche den Weechat-Prozess ab | `+/sys suspend+`
|
|
||||||
|===
|
|
||||||
|
|
||||||
[[key_bindings_buffers]]
|
[[key_bindings_buffers]]
|
||||||
=== Buffer
|
=== Buffer
|
||||||
|
|
||||||
[width="100%",cols="^.^3,.^8,.^5",options="header"]
|
[width="100%",cols="^.^3,.^8,.^5",options="header"]
|
||||||
|===
|
|===
|
||||||
| Taste | Beschreibung | Befehl
|
| Taste | Beschreibung | Befehl
|
||||||
| kbd:[Ctrl+r] | sucht nach Text im Befehlsverlauf (siehe <<key_bindings_histsearch_context,keys for context "histsearch">>). | `+/input search_history+`
|
| kbd:[Ctrl+r] | Textsuche im Verlaufsspeicher des Buffers (siehe <<key_bindings_search_context,Tasten für Such-Kontext>>). | `+/input search_text_here+`
|
||||||
| kbd:[Ctrl+s] | sucht nach Text in Bufferzeilen (siehe <<key_bindings_search_context,keys for context "search">>). | `+/input search_text_here+`
|
| kbd:[Ctrl+s], kbd:[Ctrl+u] | setzt für alle Buffer die Markierung für ungelesene Nachrichten. | `+/allbuf /buffer set unread+`
|
||||||
| kbd:[Ctrl+x] | Wechseln Sie den aktuellen Buffer, wenn diese zusammengefügt worden sind, z.B. zwischen IRC-Serverbuffer wechseln. | `+/buffer switch+`
|
| kbd:[Ctrl+x] | Wechseln Sie den aktuellen Buffer, wenn diese zusammengefügt worden sind, z.B. zwischen IRC-Serverbuffer wechseln. | `+/buffer switch+`
|
||||||
| kbd:[Alt+x] | Zoom eines zusammengefügten Buffers (kbd:[Alt+x] ein zweites mal: alle zusammengefügten Buffer werden angezeigt). | `+/buffer zoom+`
|
| kbd:[Alt+x] | Zoom eines zusammengefügten Buffers (kbd:[Alt+x] ein zweites mal: alle zusammengefügten Buffer werden angezeigt). | `+/buffer zoom+`
|
||||||
| kbd:[PgUp] | eine Seite im Verlaufsspeicher des Buffers nach oben blättern. | `+/window page_up+`
|
| kbd:[PgUp] | eine Seite im Verlaufsspeicher des Buffers nach oben blättern. | `+/window page_up+`
|
||||||
@@ -1681,7 +1580,6 @@ Sie können mit dem Befehl <<command_weechat_key,/key>> geändert und neue hinzu
|
|||||||
| kbd:[Alt+n] | springt zur nächsten Highlight Nachricht. | `+/window scroll_next_highlight+`
|
| 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+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+u] | springt zur ersten ungelesenen Zeile im Buffer. | `+/window scroll_unread+`
|
||||||
| kbd:[Alt+Shift+U] | setzt für alle Buffer die Markierung für ungelesene Nachrichten. | `+/allbuf /buffer set unread+`
|
|
||||||
| kbd:[Alt+<] | springt zum letzten besuchten Buffer. | `+/buffer jump prev_visited+`
|
| kbd:[Alt+<] | springt zum letzten besuchten Buffer. | `+/buffer jump prev_visited+`
|
||||||
| kbd:[Alt+>] | springt zum nächsten besuchten Buffer. | `+/buffer jump next_visited+`
|
| kbd:[Alt+>] | springt zum nächsten besuchten Buffer. | `+/buffer jump next_visited+`
|
||||||
| kbd:[Alt+/] | wechselt zum jeweils zuletzt angezeigten Buffern. | `+/buffer jump last_displayed+`
|
| kbd:[Alt+/] | wechselt zum jeweils zuletzt angezeigten Buffern. | `+/buffer jump last_displayed+`
|
||||||
@@ -1758,71 +1656,39 @@ Sie können mit dem Befehl <<command_weechat_key,/key>> geändert und neue hinzu
|
|||||||
[[key_bindings_search_context]]
|
[[key_bindings_search_context]]
|
||||||
=== Suchkontext
|
=== Suchkontext
|
||||||
|
|
||||||
Diese Tasten werden im Kontext "search" verwendet (wenn kbd:[Ctrl+s] gedrückt wird, um Text
|
Diese Tasten werden im Kontext "search" verwendet (wenn kbd:[Ctrl+r] genutzt wird um
|
||||||
in Bufferzeilen zu suchen).
|
in einem Buffer nach einem Text zu suchen).
|
||||||
|
|
||||||
[width="100%",cols="^.^3,.^8,.^5",options="header"]
|
[width="100%",cols="^.^3,.^8,.^5",options="header"]
|
||||||
|===
|
|===
|
||||||
| Taste | Beschreibung | Befehl
|
| Taste | Beschreibung | Befehl
|
||||||
| kbd:[Ctrl+x] | Wechsel des Suchmodus: einfache Textsuche (Standard), reguläre Ausdrücke. | `+/input search_switch_regex+`
|
| kbd:[Ctrl+r] | Wechsel des Suchmodus: einfache Textsuche (Standard), reguläre Ausdrücke. | `+/input search_switch_regex+`
|
||||||
| kbd:[Alt+c] | auf Groß-/Kleinschreibung umschalten. | `+/input search_switch_case+`
|
| kbd:[Alt+c] | auf Groß-/Kleinschreibung umschalten. | `+/input search_switch_case+`
|
||||||
| kbd:[Tab] | wechselt Suche in: Nachricht (Standard), im Präfix, Präfix + Nachricht. | `+/input search_switch_where+`
|
| kbd:[Tab] | wechselt Suche in: Nachricht (Standard), im Präfix, Präfix + Nachricht. | `+/input search_switch_where+`
|
||||||
| kbd:[Ctrl+r] +
|
| kbd:[↑] | sucht vorheriger Zeile. | `+/input search_previous+`
|
||||||
kbd:[↑] | sucht vorheriger Zeile. | `+/input search_previous+`
|
| kbd:[↓] | sucht nächste Zeile . | `+/input search_next+`
|
||||||
| kbd:[Ctrl+s] +
|
|
||||||
kbd:[↓] | sucht nächste Zeile . | `+/input search_next+`
|
|
||||||
| kbd:[Enter] +
|
| kbd:[Enter] +
|
||||||
kbd:[Ctrl+j] +
|
kbd:[Ctrl+j] +
|
||||||
kbd:[Ctrl+m] | beendet Suche ab aktueller Position. | `+/input search_stop_here+`
|
kbd:[Ctrl+m] | beendet Suche ab aktueller Position. | `+/input search_stop_here+`
|
||||||
| kbd:[Ctrl+q] | Suche wird abgebrochen und der Bildlauf wird auf die Vortextsuche zurückgesetzt. | `+/input search_stop+`
|
| kbd:[Ctrl+q] | Suche wird abgebrochen und der Bildlauf wird auf die Vortextsuche zurückgesetzt. | `+/input search_stop+`
|
||||||
|===
|
|===
|
||||||
|
|
||||||
[[key_bindings_histsearch_context]]
|
|
||||||
=== Kontext der Verlaufssuche
|
|
||||||
|
|
||||||
Diese Tasten werden im Kontext "histsearch" verwendet (wenn kbd:[Ctrl+r] gedrückt wird, um Text
|
|
||||||
im Befehlsverlauf zu suchen).
|
|
||||||
|
|
||||||
[width="100%",cols="^.^3,.^8,.^5",options="header"]
|
|
||||||
|===
|
|
||||||
| Taste | Beschreibung | Befehl
|
|
||||||
| kbd:[Ctrl+x] | Wechsel des Suchmodus: einfache Textsuche (Standard), reguläre Ausdrücke. | `+/input search_switch_regex+`
|
|
||||||
| kbd:[Alt+c] | auf Groß-/Kleinschreibung umschalten. | `+/input search_switch_case+`
|
|
||||||
| kbd:[Tab] | umschalten der Suche für: lokaler Bufferverlauf (Standard), globaler Verlauf. | `+/input search_switch_where+`
|
|
||||||
| kbd:[Ctrl+r] +
|
|
||||||
kbd:[↑] | Suche in vorherigen (älteren) Verlaufseinträgen. | `+/input search_previous+`
|
|
||||||
| kbd:[Ctrl+s] +
|
|
||||||
kbd:[↓] | Suche in nachfolgenden (neueren) Verlaufseinträgen. | `+/input search_next+`
|
|
||||||
| kbd:[Enter] +
|
|
||||||
kbd:[Ctrl+j] +
|
|
||||||
kbd:[Ctrl+m] | Suche stoppen und übereinstimmende Eingaben verwenden. | `+/input search_stop_here+`
|
|
||||||
| kbd:[Ctrl+o] | führt den im Verlauf gefundenen Befehl aus und fügt den nächsten in die Befehlszeile ein. | `+/input history_use_get_next+`
|
|
||||||
| kbd:[Ctrl+q] | stoppt die Suche und stellt die Eingabe auf ihren ursprünglichen Wert zurück. | `+/input search_stop+`
|
|
||||||
|===
|
|
||||||
|
|
||||||
[[key_bindings_cursor_context]]
|
[[key_bindings_cursor_context]]
|
||||||
=== Cursor-Kontext
|
=== Cursor-Kontext
|
||||||
|
|
||||||
Diese Tasten werden im Kontext "cursor" verwendet (Cursor kann frei auf dem Bildschirm bewegt werden),
|
Diese Tasten werden im Kontext "cursor" verwendet (Cursor kann frei auf dem Bildschirm bewegt werden)
|
||||||
see <<cursor_mode,Cursor mode>>.
|
|
||||||
|
|
||||||
[width="100%",cols="^.^3,^.^2,.^7,.^7",options="header"]
|
[width="100%",cols="^.^3,^.^2,.^7,.^7",options="header"]
|
||||||
|===
|
|===
|
||||||
| Taste | Bereich | Beschreibung | Befehl
|
| Taste | Bereich | Beschreibung | Befehl
|
||||||
| kbd:[↑] | - | bewegt den Cursor eine Zeile nach oben. | `+/cursor move up+`
|
| kbd:[↑] | - | bewegt Cursor eine Zeile nach oben. | `+/cursor move up+`
|
||||||
| kbd:[↓] | - | bewegt den Cursor eine Zeile nach unten. | `+/cursor move down+`
|
| kbd:[↓] | - | bewegt Cursor eine Zeile nach unten. | `+/cursor move down+`
|
||||||
| kbd:[←] | - | bewegt den Cursor eine Spalte nach links. | `+/cursor move left+`
|
| kbd:[←] | - | bewegt Cursor eine Spalte nach links. | `+/cursor move left+`
|
||||||
| kbd:[→] | - | bewegt den Cursor eine Spalte nach rechts. | `+/cursor move right+`
|
| kbd:[→] | - | bewegt Cursor eine Spalte nach rechts. | `+/cursor move right+`
|
||||||
| kbd:[Alt+↑] | - | bewegt den Cursor zur ersten Zeile des Bereichs. | `+/cursor move edge_top+`
|
| kbd:[Alt+↑] | - | bewegt Cursor einen Bereich nach oben. | `+/cursor move area_up+`
|
||||||
| kbd:[Alt+↓] | - | bewegt den Cursor zur letzten Zeile des Bereichs. | `+/cursor move edge_bottom+`
|
| kbd:[Alt+↓] | - | bewegt Cursor einen Bereich nach unten. | `+/cursor move area_down+`
|
||||||
| kbd:[Alt+←] | - | bewegt den Cursor zur ersten Spalte des Bereichs. | `+/cursor move edge_left+`
|
| kbd:[Alt+←] | - | bewegt Cursor einen Bereich nach links. | `+/cursor move area_left+`
|
||||||
| kbd:[Alt+→] | - | bewegt den Cursor zur letzten Spalte des Bereichs. | `+/cursor move edge_right+`
|
| kbd:[Alt+→] | - | bewegt Cursor einen Bereich nach rechts. | `+/cursor move area_right+`
|
||||||
| kbd:[Alt+Home] | - | bewegt den Cursor in die obere linke Ecke des Bereichs. | `+/cursor move top_left+`
|
|
||||||
| kbd:[Alt+End] | - | bewegt den Cursor in die untere rechte Ecke des Bereichs. | `+/cursor move bottom_right+`
|
|
||||||
| kbd:[Alt+Shift+↑] | - | bewegt den Cursor einen Bereich nach oben. | `+/cursor move area_up+`
|
|
||||||
| kbd:[Alt+Shift+↓] | - | bewegt den Cursor einen Bereich nach unten. | `+/cursor move area_down+`
|
|
||||||
| kbd:[Alt+Shift+←] | - | bewegt den Cursor einen Bereich nach links. | `+/cursor move area_left+`
|
|
||||||
| kbd:[Alt+Shift+→] | - | bewegt den Cursor einen Bereich nach rechts. | `+/cursor move area_right+`
|
|
||||||
| kbd:[m] | Chat | zitiert Nachricht. | `+hsignal:chat_quote_message;/cursor stop+`
|
| kbd:[m] | Chat | zitiert Nachricht. | `+hsignal:chat_quote_message;/cursor stop+`
|
||||||
| kbd:[l] | Chat | zitiert aktuelle Zeile. | `+hsignal:chat_quote_focused_line;/cursor stop+`
|
| kbd:[l] | Chat | zitiert aktuelle Zeile. | `+hsignal:chat_quote_focused_line;/cursor stop+`
|
||||||
| kbd:[q] | Chat | zitiert prefix + Nachricht. | `+hsignal:chat_quote_prefix_message;/cursor stop+`
|
| kbd:[q] | Chat | zitiert prefix + Nachricht. | `+hsignal:chat_quote_prefix_message;/cursor stop+`
|
||||||
@@ -1846,59 +1712,49 @@ wurde (Befehl: `+/mouse toggle+`).
|
|||||||
[width="100%",cols="^.^3,^.^3,^.^3,.^8,.^8",options="header"]
|
[width="100%",cols="^.^3,^.^3,^.^3,.^8,.^8",options="header"]
|
||||||
|===
|
|===
|
||||||
| Maustaste/Mausrad ^(1)^ | Mausgeste | Bereich | Beschreibung | Befehl
|
| Maustaste/Mausrad ^(1)^ | Mausgeste | Bereich | Beschreibung | Befehl
|
||||||
| kbd:[■ □ □] | - | Chat | wechselt zum Fenster. | `+/window ${_window_number}+`
|
| ◾◽◽ | - | Chat | wechselt zum Fenster. | `+/window ${_window_number}+`
|
||||||
| kbd:[■ □ □] | links | Chat | zum vorherigen Buffer springen. | `+/window ${_window_number};/buffer +1+`
|
| ◾◽◽ | links | Chat | zum vorherigen Buffer springen. | `+/window ${_window_number};/buffer +1+`
|
||||||
| kbd:[■ □ □] | rechts | Chat | zum nächsten Buffer springen. | `+/window ${_window_number};/buffer +1+`
|
| ◾◽◽ | rechts | Chat | zum nächsten Buffer springen. | `+/window ${_window_number};/buffer +1+`
|
||||||
| kbd:[■ □ □] | links(lang) | Chat | wechselt zum ersten Buffer. | `+/window ${_window_number};/buffer 1+`
|
| ◾◽◽ | links(lang) | Chat | wechselt zum ersten Buffer. | `+/window ${_window_number};/buffer 1+`
|
||||||
| kbd:[■ □ □] | rechts(lang) | Chat | wechselt zum letzten Buffer. | `+/window ${_window_number};/buffer ++`
|
| ◾◽◽ | rechts(lang) | Chat | wechselt zum letzten Buffer. | `+/window ${_window_number};/buffer ++`
|
||||||
| 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 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 | mehrere Zeilen im Verlaufsspeicher des Buffer nach unten blättern. | `+/window scroll_down -window ${_window_number}+`
|
||||||
| kbd:[Ctrl+▲] | - | Chat | horizontal, nach links scrollen. | `+/window scroll_horiz -window ${_window_number} -10%+`
|
| 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%+`
|
| kbd:[Ctrl+▼] | - | Chat | horizontal, nach rechts scrollen. | `+/window scroll_horiz -window ${_window_number} +10%+`
|
||||||
| kbd:[▲] | - | chat: fset Buffer | Auswahl wird fünf Einträge nach oben bewegt, im fset Buffer. | `+/fset -up 5+`
|
| kbd:[▲] | - | chat: fset Buffer | Auswahl wird fünf Einträge nach oben bewegt, im fset Buffer. | `+/fset -up 5+`
|
||||||
| kbd:[▼] | - | chat: fset buffer | Auswahl wird fünf Einträge nach unten bewegt, im fset Buffer. | `+/fset -down 5+`
|
| kbd:[▼] | - | chat: fset buffer | Auswahl wird fünf Einträge nach unten bewegt, im fset Buffer. | `+/fset -down 5+`
|
||||||
| kbd:[■ □ □] | - | chat: fset buffer | springt zu einem Eintrag im fset Buffer. | `+/window ${_window_number};/fset -go ${fset_option_index}+`
|
| ◾◽◽ | - | chat: fset buffer | springt zu einem Eintrag im fset Buffer. | `+/window ${_window_number};/fset -go ${_chat_line_y}+`
|
||||||
| kbd:[□ □ ■] | - | chat: fset buffer | Boolean-Wert wird umgeschaltet (an/aus) oder editiere den Wert einer Option. | `+hsignal:fset_mouse+`
|
| ◽◽◾ | - | chat: fset buffer | Boolean-Wert wird umgeschaltet (an/aus) oder editiere den Wert einer Option. | `+hsignal:fset_mouse+`
|
||||||
| kbd:[□ □ ■] | left | chat: fset buffer | Integer/Farbwerte/Aufzählung werden verringert, andere Variabletypen werden in die Eingabezeile kopiert. | `+hsignal:fset_mouse+`
|
| ◽◽◾ | left | chat: fset buffer | Integer/Farbwerte werden verringert, andere Variabletypen werden in die Eingabezeile kopiert. | `+hsignal:fset_mouse+`
|
||||||
| kbd:[□ □ ■] | right | chat: fset buffer | Integer/Farbwerte/Aufzählung werden erhöht, andere Variabletypen werden in die Eingabezeile kopiert. | `+hsignal:fset_mouse+`
|
| ◽◽◾ | right | chat: fset buffer | Integer/Farbwerte werden erhöht, andere Variabletypen werden in die Eingabezeile kopiert. | `+hsignal:fset_mouse+`
|
||||||
| kbd:[□ □ ■] | up / down | chat: fset buffer | markieren/demarkieren von mehreren Optionen. | `+hsignal:fset_mouse+`
|
| ◽◽◾ | up / down | chat: fset buffer | markieren/demarkieren von mehreren Optionen. | `+hsignal:fset_mouse+`
|
||||||
| kbd:[▲] | - | chat: /list buffer | gehe fünf Zeilen im /list-Buffer nach oben. | `+/list -up 5+`
|
| kbd:[▲] | - | chat: script buffer | fünf Zeilen nach oben blättern, im Script-Buffer. | `+/script up 5+`
|
||||||
| kbd:[▼] | - | chat: /list buffer | gehe fünf Zeilen im /list-Buffer nach unten. | `+/list -down 5+`
|
| kbd:[▼] | - | chat: script buffer | fünf Zeilen nach unten blättern, im Script-Buffer. | `+/script down 5+`
|
||||||
| kbd:[■ □ □] | - | chat: /list buffer | Zeile im /list-Buffer auswählen. | `+/window ${_window_number};/list -go ${_chat_line_y}+`
|
| ◾◽◽ | - | chat: script buffer | wählt einen Eintrag im Script-Buffer aus. | `+/script go ${_chat_line_y}+`
|
||||||
| kbd:[□ □ ■] | - | chat: /list buffer | tritt dem IRC-Kanal, in der ausgewählten Zeile, bei. | `+hsignal:irc_list_mouse+`
|
| ◽◽◾ | - | chat: script buffer | installiert/entfernt ein Skript. | `+/script go ${_chat_line_y};/script installremove -q ${script_name_with_extension}+`
|
||||||
| kbd:[▲] | - | chat: script buffer | fünf Zeilen nach oben blättern, im Script-Buffer. | `+/script -up 5+`
|
| ◾◽◽ | up / left | buflist | verschiebt Buffer in der Reihenfolge nach unten. | Signal `+buflist_mouse+`.
|
||||||
| kbd:[▼] | - | chat: script buffer | fünf Zeilen nach unten blättern, im Script-Buffer. | `+/script -down 5+`
|
| ◾◽◽ | down / right | buflist | verschiebt Buffer in der Reihenfolge nach oben. | Signal `+buflist_mouse+`.
|
||||||
| kbd:[■ □ □] | - | chat: script buffer | wählt einen Eintrag im Script-Buffer aus. | `+/script -go ${_chat_line_y}+`
|
| ◾◽◽ | - | buflist | wechselt zum Buffer (oder zum vorherigen Buffer, falls der aktuell genutzte Buffer angewählt wurde). | Signal `+buflist_mouse+`.
|
||||||
| kbd:[□ □ ■] | - | chat: script buffer | installiert/entfernt ein Skript. | `+/script -go ${_chat_line_y};/script installremove -q ${script_name_with_extension}+`
|
| ◽◽◾ | - | buflist | wechselt zum nächsten Buffer, falls der aktuell genutzte Buffer angewählt wurde. | Signal `+buflist_mouse+`.
|
||||||
| kbd:[■ □ □] | up / left | buflist | verschiebt Buffer in der Reihenfolge nach unten. | Signal `+buflist_mouse+`.
|
|
||||||
| kbd:[■ □ □] | down / right | buflist | verschiebt Buffer in der Reihenfolge nach oben. | Signal `+buflist_mouse+`.
|
|
||||||
| kbd:[■ □ □] | - | buflist | wechselt zum Buffer (oder zum vorherigen Buffer, falls der aktuell genutzte Buffer angewählt wurde). | Signal `+buflist_mouse+`.
|
|
||||||
| kbd:[□ □ ■] | - | 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 vorherigen Buffer. | Signal `+buflist_mouse+`.
|
||||||
| kbd:[Ctrl+▼] | - | buflist | wechselt zum nächsten Buffer. | Signal `+buflist_mouse+`.
|
| kbd:[Ctrl+▼] | - | buflist | wechselt zum nächsten Buffer. | Signal `+buflist_mouse+`.
|
||||||
| kbd:[■ □ □] | hoch | Benutzerliste | Benutzerliste um eine Seite nach oben blättern. | `+/bar scroll nicklist ${_window_number} -100%+`
|
| ◾◽◽ | hoch | Benutzerliste | Benutzerliste um eine Seite nach oben blättern. | `+/bar scroll nicklist ${_window_number} -100%+`
|
||||||
| kbd:[■ □ □] | runter | Benutzerliste | Benutzerliste um eine Seite nach unten blättern. | `+/bar scroll nicklist ${_window_number} +100%+`
|
| ◾◽◽ | runter | Benutzerliste | Benutzerliste um eine Seite nach unten blättern. | `+/bar scroll nicklist ${_window_number} +100%+`
|
||||||
| kbd:[■ □ □] | hoch(lang) | Benutzerliste | springt zum Anfang der Benutzerliste. | `+/bar scroll nicklist ${_window_number} b+`
|
| ◾◽◽ | hoch(lang) | Benutzerliste | springt zum Anfang der Benutzerliste. | `+/bar scroll nicklist ${_window_number} b+`
|
||||||
| kbd:[■ □ □] | runter(lang) | Benutzerliste | springt zum Ende der Benutzerliste. | `+/bar scroll nicklist ${_window_number} e+`
|
| ◾◽◽ | runter(lang) | Benutzerliste | springt zum Ende der Benutzerliste. | `+/bar scroll nicklist ${_window_number} e+`
|
||||||
| kbd:[■ □ □] | - | Benutzerliste | öffnet privaten Chat mit Nick. | `+/window ${_window_number};/query ${nick}+`
|
| ◾◽◽ | - | Benutzerliste | öffnet privaten Chat mit Nick. | `+/window ${_window_number};/query ${nick}+`
|
||||||
| kbd:[□ □ ■] | - | Benutzerliste | führt einen whois für Nick aus. | `+/window ${_window_number};/whois ${nick}+`
|
| ◽◽◾ | - | Benutzerliste | führt einen whois für Nick aus. | `+/window ${_window_number};/whois ${nick}+`
|
||||||
| kbd:[■ □ □] | links | Benutzerliste | kickt Nick. | `+/window ${_window_number};/kick ${nick}+`
|
| ◾◽◽ | links | Benutzerliste | kickt Nick. | `+/window ${_window_number};/kick ${nick}+`
|
||||||
| kbd:[■ □ □] | links(lang) | Benutzerliste | kickt und verbannt Nick. | `+/window ${_window_number};/kickban ${nick}+`
|
| ◾◽◽ | links(lang) | Benutzerliste | kickt und verbannt Nick. | `+/window ${_window_number};/kickban ${nick}+`
|
||||||
| kbd:[□ □ ■] | links | Benutzerliste | verbannt Nick. | `+/window ${_window_number};/ban ${nick}+`
|
| ◽◽◾ | links | Benutzerliste | verbannt Nick. | `+/window ${_window_number};/ban ${nick}+`
|
||||||
| kbd:[□ □ ■] | - | Input | fängt ein Mausereignis und fügt dieses in die Befehlszeile ein. | `+/input grab_mouse_area+`
|
| ◽◽◾ | - | 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 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%+`
|
| kbd:[▼] | - | jede Bar | blättert Bar um 20% nach unten. | `+/bar scroll ${_bar_name} ${_window_number} +20%+`
|
||||||
| kbd:[□ ■ □] | - | überall | aktiviert den Cursor-Modus an dieser Position. | `+/cursor go ${_x},${_y}+`
|
| ◽◾◽ | - | überall | aktiviert den Cursor-Modus an dieser Position. | `+/cursor go ${_x},${_y}+`
|
||||||
|===
|
|===
|
||||||
|
|
||||||
[NOTE]
|
[NOTE]
|
||||||
^(1)^ Buttons: +
|
^(1)^ kbd:[▲] und kbd:[▼] sind Symbole für Mausrad hoch/runter.
|
||||||
kbd:[◼ □ □]: Klicke linke Maustaste +
|
|
||||||
kbd:[□ ◼ □]: Klicke mittlere Maustaste +
|
|
||||||
kbd:[□ □ ◼]: Klicke rechte Maustaste +
|
|
||||||
Mausrad: +
|
|
||||||
kbd:[▲]: Mausrad hoch +
|
|
||||||
kbd:[▼]: Mausrad runter
|
|
||||||
|
|
||||||
[[key_bindings_fset_buffer]]
|
[[key_bindings_fset_buffer]]
|
||||||
=== Fset Buffer
|
=== Fset Buffer
|
||||||
@@ -1917,8 +1773,8 @@ Diese Tasten und Aktionen werden im fset-Buffer verwendet (siehe <<fset,Fset Erw
|
|||||||
| kbd:[F11] | `pass:[<]` | scrollt horizontal nach links. | `+/fset -left+`
|
| kbd:[F11] | `pass:[<]` | scrollt horizontal nach links. | `+/fset -left+`
|
||||||
| kbd:[F12] | `pass:[>]` | scrollt horizontal nach rechts. | `+/fset -right+`
|
| kbd:[F12] | `pass:[>]` | scrollt horizontal nach rechts. | `+/fset -right+`
|
||||||
| kbd:[Alt+Space] | `t` | Boolean Wert ein/ausschalten. | `+/fset -toggle+`
|
| kbd:[Alt+Space] | `t` | Boolean Wert ein/ausschalten. | `+/fset -toggle+`
|
||||||
| kbd:[Alt+-] | `-` | subtrahiert 1 vom Wert bei Integer/Farboptionen/Aufzählung, bei anderen Typen kann der Wert editiert werden. | `+/fset -add -1+`
|
| kbd:[Alt+-] | `-` | subtrahiert 1 vom Wert bei Integer/Farboptionen, bei anderen Typen kann der Wert editiert werden. | `+/fset -add -1+`
|
||||||
| kbd:[Alt++] | `+` | addiert 1 zum Wert bei Integer/Farboptionen/Aufzählung, bei anderen Typen kann der Wert editiert werden. | `+/fset -add 1+`
|
| kbd:[Alt++] | `+` | addiert 1 zum Wert bei Integer/Farboptionen, bei anderen Typen kann der Wert editiert werden. | `+/fset -add 1+`
|
||||||
| kbd:[Alt+f], kbd:[Alt+r] | `r` | Wert resetten. | `+/fset -reset+`
|
| kbd:[Alt+f], kbd:[Alt+r] | `r` | Wert resetten. | `+/fset -reset+`
|
||||||
| kbd:[Alt+f], kbd:[Alt+u] | `u` | Wert zurücksetzen. | `+/fset -unset+`
|
| kbd:[Alt+f], kbd:[Alt+u] | `u` | Wert zurücksetzen. | `+/fset -unset+`
|
||||||
| kbd:[Alt+Enter] | `s` | Wert setzen. | `+/fset -set+`
|
| kbd:[Alt+Enter] | `s` | Wert setzen. | `+/fset -set+`
|
||||||
@@ -1932,8 +1788,8 @@ Diese Tasten und Aktionen werden im fset-Buffer verwendet (siehe <<fset,Fset Erw
|
|||||||
| kbd:[Ctrl+l] (`L`) | | der Bildschirm wird neu gezeichnet. | `+/fset -refresh+`
|
| kbd:[Ctrl+l] (`L`) | | der Bildschirm wird neu gezeichnet. | `+/fset -refresh+`
|
||||||
| | `$` | Optionen neu einlesen (markierte Optionen werden beibehalten). |
|
| | `$` | Optionen neu einlesen (markierte Optionen werden beibehalten). |
|
||||||
| | `$$` | Optionen neu einlesen (Markierungen von Optionen werden dabei gelöscht). |
|
| | `$$` | Optionen neu einlesen (Markierungen von Optionen werden dabei gelöscht). |
|
||||||
| kbd:[Alt+p] | `p` | Umschalten der Beschreibung von Erweiterungen (`pass:[plugins.desc.*]`). | `+/mute /set fset.look.show_plugins_desc toggle+`
|
| kbd:[Alt+p] | | Umschalten der Beschreibung von Erweiterungen (`pass:[plugins.desc.*]`). | `+/mute /set fset.look.show_plugins_desc toggle+`
|
||||||
| kbd:[Alt+v] | `v` | Hilfe-Bar Ein-/Ausschalten. | `+/bar toggle fset+`
|
| kbd:[Alt+v] | | Hilfe-Bar Ein-/Ausschalten. | `+/bar toggle fset+`
|
||||||
| | `s:x,y` | sortiert Optionen nach Bereichen x,y (siehe Option <<option_fset.look.sort,fset.look.sort>>). | `+/mute /set fset.look.sort x,y+`
|
| | `s:x,y` | sortiert Optionen nach Bereichen x,y (siehe Option <<option_fset.look.sort,fset.look.sort>>). | `+/mute /set fset.look.sort x,y+`
|
||||||
| | `s:` | setzt Sortierung wieder auf Standardwerte (siehe Option <<option_fset.look.sort,fset.look.sort>>). | `+/mute /unset fset.look.sort+`
|
| | `s:` | setzt Sortierung wieder auf Standardwerte (siehe Option <<option_fset.look.sort,fset.look.sort>>). | `+/mute /unset fset.look.sort+`
|
||||||
| | `w:xxx` | exportiert Optionen in Datei "xxx". | `+/fset -export xxx+`
|
| | `w:xxx` | exportiert Optionen in Datei "xxx". | `+/fset -export xxx+`
|
||||||
@@ -1946,39 +1802,6 @@ Diese Tasten und Aktionen werden im fset-Buffer verwendet (siehe <<fset,Fset Erw
|
|||||||
[NOTE]
|
[NOTE]
|
||||||
^(1)^ Die Aktion muss als Eingabe in die Befehlszeile eingegeben werden, gefolgt von kbd:[Enter].
|
^(1)^ Die Aktion muss als Eingabe in die Befehlszeile eingegeben werden, gefolgt von kbd:[Enter].
|
||||||
|
|
||||||
[[key_bindings_irc_list_buffer]]
|
|
||||||
=== IRC /list Buffer
|
|
||||||
|
|
||||||
Diese Tastenbefehle und Aktionen können im IRC /list-Buffer genutzt werden (siehe Befehl <<command_irc_list,/list>>).
|
|
||||||
|
|
||||||
[width="100%",cols="^.^3,^.^2,.^8,.^5",options="header"]
|
|
||||||
|===
|
|
||||||
| Taste | Action ^(1)^ | Beschreibung | Befehl
|
|
||||||
| kbd:[↑] | | einen Eintrag nach oben. | `+/list -up+`
|
|
||||||
| kbd:[↓] | | einen Eintrag nach unten. | `+/list -down+`
|
|
||||||
| kbd:[PgUp] | | eine Seite hoch blättern. | `+/window page_up+`
|
|
||||||
| kbd:[PgDn] | | eine Seite runter blättern. | `+/window page_down+`
|
|
||||||
| kbd:[Alt+Home] | `pass:[<<]` | springt zum ersten Eintrag. | `+/list -go 0+`
|
|
||||||
| kbd:[Alt+End] | `pass:[>>]` | springt zum letzten Eintrag. | `+/list -go end+`
|
|
||||||
| kbd:[F11] | `pass:[<]` | scrollt horizontal nach links. | `+/list -left+`
|
|
||||||
| kbd:[F12] | `pass:[>]` | scrollt horizontal nach rechts. | `+/list -right+`
|
|
||||||
| kbd:[Ctrl+j] | `j` | Join IRC channel on selected line. | `+/list -join+`
|
|
||||||
| | `xxx` | zeigt nur Kanäle an mit "xxx" im Namen oder Thema (Groß- und Kleinschreibung wird ignoriert). |
|
|
||||||
| | `n:xxx` | zeigt nur Kanäle mit im Namen (Groß- und Kleinschreibung wird ignoriert). |
|
|
||||||
| | `t:xxx` | zeigt nur Kanäle mit "xxx" im Thema (Groß- und Kleinschreibung wird ignoriert). |
|
|
||||||
| | `u:n` | zeigt nur Kanäle mit wenigstens "n" Usern. |
|
|
||||||
| | `u:>n` | zeigt nur Kanäle mit mehr als "n" Usern |
|
|
||||||
| | `u:<n` | zeigt nur Kanäle mit weniger als "n" Usern |
|
|
||||||
| | `c:xxx` | zeigt nur Kanäle an, die der ausgewerteten Bedingung, "xxx", entsprechen , unter Verwendung folgender Variablen: name, name2, users, topic |
|
|
||||||
| | `s:x,y` | sortiert Kanäle nach Feldern x,y (siehe Befehl <<command_irc_list,/list>>). |
|
|
||||||
| | `s:` | Sortierung auf den Standardwert zurücksetzen (siehe Befehl <<command_irc_list,/list>>). |
|
|
||||||
| | `$` | Liste aktualisieren (Der Befehl <<command_irc_list,/list>> wird erneut ausgeführt). |
|
|
||||||
| | `q` | Buffer schließen. | `+/buffer close+`
|
|
||||||
|===
|
|
||||||
|
|
||||||
[NOTE]
|
|
||||||
^(1)^ Die Aktion muss als Eingabe in die Befehlszeile eingegeben werden, gefolgt von kbd:[Enter].
|
|
||||||
|
|
||||||
[[key_bindings_script_buffer]]
|
[[key_bindings_script_buffer]]
|
||||||
=== Skriptbuffer
|
=== Skriptbuffer
|
||||||
|
|
||||||
@@ -1987,22 +1810,17 @@ Diese Tasten und Aktionen werden im fset-Buffer verwendet (siehe <<script_manage
|
|||||||
[width="100%",cols="^.^3,^.^2,.^8,.^5",options="header"]
|
[width="100%",cols="^.^3,^.^2,.^8,.^5",options="header"]
|
||||||
|===
|
|===
|
||||||
| Taste | Action ^(1)^ | Beschreibung | Befehl
|
| Taste | Action ^(1)^ | Beschreibung | Befehl
|
||||||
| kbd:[↑] | | eine Zeile nach oben. | `+/script -up+`
|
| kbd:[↑] | | eine Zeile nach oben. | `+/script up+`
|
||||||
| kbd:[↓] | | eine Zeile nach unten. | `+/script -down+`
|
| kbd:[↓] | | eine Zeile nach unten. | `+/script down+`
|
||||||
| kbd:[PgUp] | | eine Seite hoch blättern. | `+/window page_up+`
|
| kbd:[PgUp] | | eine Seite hoch blättern. | `+/window page_up+`
|
||||||
| kbd:[PgDn] | | eine Seite nach unten blättern. | `+/window page_down+`
|
| kbd:[PgDn] | | eine Seite nach unten blättern. | `+/window page_down+`
|
||||||
| kbd:[Alt+i] | `i` | Skript installieren. | `+/script install+`
|
| kbd:[Alt+i] | `i` | Skript installieren. | `+/script install+`
|
||||||
| kbd:[Alt+r] | `r` | Skript entfernen. | `+/script remove+`
|
| kbd:[Alt+r] | `r` | Skript entfernen. | `+/script remove+`
|
||||||
| kbd:[Alt+l] | `l` | Skript laden. | `+/script load+`
|
| kbd:[Alt+l] (`L`) | `l` | Skript laden. | `+/script load+`
|
||||||
| kbd:[Alt+L] | `L` | Skript neu laden. | `+/script reload+`
|
|
||||||
| kbd:[Alt+u] | `u` | Skript wird beendet. | `+/script unload+`
|
| kbd:[Alt+u] | `u` | Skript wird beendet. | `+/script unload+`
|
||||||
| kbd:[Alt+Shift+A] | `A` | das Skript wird in das autoload-Verzeichnis eingebunden. | `+/script toggleautoload+`
|
| kbd:[Alt+Shift+A] | `A` | das Skript wird in das autoload-Verzeichnis eingebunden. | `+/script toggleautoload+`
|
||||||
| kbd:[Alt+h] | `h` | Skript wird gehalten bzw. freigegeben. | `+/script hold+`
|
| kbd:[Alt+h] | `h` | Skript wird gehalten bzw. freigegeben. | `+/script hold+`
|
||||||
| kbd:[Alt+v] | `v` | Skript Quelltext anzeigen. | `+/script show+`
|
| kbd:[Alt+v] | `v` | Skript Quelltext anzeigen. | `+/script show+`
|
||||||
| | `s:x,y` | Sortiert Skrips nach Feldern x,y (siehe Option <<option_script.look.sort,script.look.sort>>). |
|
|
||||||
| | `s:` | Sortierung auf den Standardwert zurücksetzen (siehe Option <<option_script.look.sort,script.look.sort>>). |
|
|
||||||
| | `$` | Liste aktualisieren. |
|
|
||||||
| | `q` | Buffer schließen. | `+/buffer close+`
|
|
||||||
|===
|
|===
|
||||||
|
|
||||||
[NOTE]
|
[NOTE]
|
||||||
@@ -2026,7 +1844,7 @@ Beispiel des fset-Buffer, der Optionen anzeigt, die mit `weechat.look` beginnen
|
|||||||
│2.fset │weechat.look.bare_display_exit_on_input: exit the bare display mode on any c│
|
│2.fset │weechat.look.bare_display_exit_on_input: exit the bare display mode on any c│
|
||||||
│ │hanges in input [default: on] │
|
│ │hanges in input [default: on] │
|
||||||
│ │----------------------------------------------------------------------------│
|
│ │----------------------------------------------------------------------------│
|
||||||
│ │ weechat.look.align_end_of_lines enum message │
|
│ │ weechat.look.align_end_of_lines integer message │
|
||||||
│ │ weechat.look.align_multiline_words boolean on │
|
│ │ weechat.look.align_multiline_words boolean on │
|
||||||
│ │ weechat.look.bar_more_down string "++" │
|
│ │ weechat.look.bar_more_down string "++" │
|
||||||
│ │ weechat.look.bar_more_left string "<<" │
|
│ │ weechat.look.bar_more_left string "<<" │
|
||||||
@@ -2035,12 +1853,12 @@ Beispiel des fset-Buffer, der Optionen anzeigt, die mit `weechat.look` beginnen
|
|||||||
│ │## weechat.look.bare_display_exit_on_input boolean on ##│
|
│ │## weechat.look.bare_display_exit_on_input boolean on ##│
|
||||||
│ │ weechat.look.bare_display_time_format string "%H:%M" │
|
│ │ weechat.look.bare_display_time_format string "%H:%M" │
|
||||||
│ │ weechat.look.buffer_auto_renumber boolean on │
|
│ │ weechat.look.buffer_auto_renumber boolean on │
|
||||||
│ │ weechat.look.buffer_notify_default enum all │
|
│ │ weechat.look.buffer_notify_default integer all │
|
||||||
│ │ weechat.look.buffer_position enum end │
|
│ │ weechat.look.buffer_position integer end │
|
||||||
│ │ weechat.look.buffer_search_case_sensitive boolean off │
|
│ │ weechat.look.buffer_search_case_sensitive boolean off │
|
||||||
│ │ weechat.look.buffer_search_force_default boolean off │
|
│ │ weechat.look.buffer_search_force_default boolean off │
|
||||||
│ │ weechat.look.buffer_search_regex boolean off │
|
│ │ weechat.look.buffer_search_regex boolean off │
|
||||||
│ │ weechat.look.buffer_search_where enum prefix_message │
|
│ │ weechat.look.buffer_search_where integer prefix_message │
|
||||||
│ │ weechat.look.buffer_time_format string "%H:%M:%S" │
|
│ │ weechat.look.buffer_time_format string "%H:%M:%S" │
|
||||||
│ │ weechat.look.buffer_time_same string "" │
|
│ │ weechat.look.buffer_time_same string "" │
|
||||||
│ │[12:55] [2] [fset] 2:fset │
|
│ │[12:55] [2] [fset] 2:fset │
|
||||||
@@ -2367,9 +2185,15 @@ und für jeden einzelen Nick kann ein maximler Hotlist-Level eingestellt wertden
|
|||||||
Um zum Beispiel Highlights von "joe" und "mike" im aktuellen Buffer zu deaktivieren:
|
Um zum Beispiel Highlights von "joe" und "mike" im aktuellen Buffer zu deaktivieren:
|
||||||
|
|
||||||
----
|
----
|
||||||
/buffer setauto hotlist_max_level_nicks_add joe:2,mike:2
|
/buffer set hotlist_max_level_nicks_add joe:2,mike:2
|
||||||
----
|
----
|
||||||
|
|
||||||
|
[NOTE]
|
||||||
|
Die Buffer-Eigenschaft "hotlist_max_level_nicks" ist keine permanente Einstellung und wird nicht
|
||||||
|
in der Konfigurationsdatei gesichert. + Um diese Einstellung persistent zu machen benötigt man
|
||||||
|
das Skript _buffer_autoset.py_: Um das Skript zu installieren `+/script install buffer_autoset.py+`
|
||||||
|
und um eine Hilfe zu erhalten wie man es nutzt: `+/help buffer_autoset+`.
|
||||||
|
|
||||||
[[highlights]]
|
[[highlights]]
|
||||||
=== Hervorhebungen
|
=== Hervorhebungen
|
||||||
|
|
||||||
@@ -2394,9 +2218,15 @@ Dies kann auch mit der Buffereigenschaft „highlight_disable_regex“ eingestel
|
|||||||
Gleiches Beispiel, spezifisch für den aktuellen Buffer:
|
Gleiches Beispiel, spezifisch für den aktuellen Buffer:
|
||||||
|
|
||||||
----
|
----
|
||||||
/buffer setauto highlight_disable_regex <flash.*>
|
/buffer set highlight_disable_regex <flash.*>
|
||||||
----
|
----
|
||||||
|
|
||||||
|
[NOTE]
|
||||||
|
Die Buffer-Eigenschaft "highlight_disable_regex" ist keine permanente Einstellung und wird nicht
|
||||||
|
in der Konfigurationsdatei gesichert. + Um diese Einstellung persistent zu machen benötigt man
|
||||||
|
das Skript _buffer_autoset.py_: Um das Skript zu installieren `+/script install buffer_autoset.py+`
|
||||||
|
und um eine Hilfe zu erhalten wie man es nutzt: `+/help buffer_autoset+`.
|
||||||
|
|
||||||
[[highlights_words]]
|
[[highlights_words]]
|
||||||
==== Worte als Highlights hinzufügen
|
==== Worte als Highlights hinzufügen
|
||||||
|
|
||||||
@@ -2455,9 +2285,15 @@ die Eigenschaft des Buffers mittels "highlight_regex" anpasst.
|
|||||||
Um zum Beispiel jede Nachricht im aktuellen Buffer als Highlight-Nachricht einzustufen:
|
Um zum Beispiel jede Nachricht im aktuellen Buffer als Highlight-Nachricht einzustufen:
|
||||||
|
|
||||||
----
|
----
|
||||||
/buffer setauto highlight_regex .*
|
/buffer set highlight_regex .*
|
||||||
----
|
----
|
||||||
|
|
||||||
|
[NOTE]
|
||||||
|
Die Buffer-Eigenschaft "highlight_regex" ist keine permanente Einstellung und wird nicht
|
||||||
|
in der Konfigurationsdatei gesichert. + Um diese Einstellung persistent zu machen benötigt man
|
||||||
|
das Skript _buffer_autoset.py_: Um das Skript zu installieren `+/script install buffer_autoset.py+`
|
||||||
|
und um eine Hilfe zu erhalten wie man es nutzt: `+/help buffer_autoset+`.
|
||||||
|
|
||||||
[[buffer_logging]]
|
[[buffer_logging]]
|
||||||
=== Bufferprotokollierung
|
=== Bufferprotokollierung
|
||||||
|
|
||||||
@@ -2721,26 +2557,16 @@ 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
|
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 Modifikatoren (in der Reihenfolge des Ereignisnamens):
|
Liste der Modifiers:
|
||||||
|
|
||||||
[width="100%",cols="1m,4",options="header"]
|
[width="100%",cols="1m,4",options="header"]
|
||||||
|===
|
|===
|
||||||
| Modifier | Beschreibung
|
| Modifier | Beschreibung
|
||||||
| alt | Taste kbd:[Alt]
|
|
||||||
| ctrl | Taste kbd:[Ctrl]
|
| ctrl | Taste kbd:[Ctrl]
|
||||||
| shift | Taste kbd:[Shift] ^(1)^
|
| alt | Taste kbd:[Alt]
|
||||||
|
| ctrl-alt | Taste kbd:[Ctrl] + kbd:[Alt]
|
||||||
|===
|
|===
|
||||||
|
|
||||||
[NOTE]
|
|
||||||
^(1)^ Der `shift` Modifikator sollte in WeeChat selten verwendet werden, da es viele Terminals gibt
|
|
||||||
die diesen Modifikator nutzen, um Mausereignisse direkt abzufangen.
|
|
||||||
|
|
||||||
Verschiedene Modifikatoren können kombiniert werden, zum Beispiel:
|
|
||||||
|
|
||||||
* `alt-ctrl`
|
|
||||||
* `ctrl-shift`
|
|
||||||
* `alt-ctrl-shift`
|
|
||||||
|
|
||||||
Liste der Maustasten/Mausrad:
|
Liste der Maustasten/Mausrad:
|
||||||
|
|
||||||
[width="100%",cols="1m,4",options="header"]
|
[width="100%",cols="1m,4",options="header"]
|
||||||
@@ -2749,7 +2575,7 @@ Liste der Maustasten/Mausrad:
|
|||||||
| button1 | Linker Mausknopf wird gedrückt
|
| button1 | Linker Mausknopf wird gedrückt
|
||||||
| button2 | Rechter Mausknopf wird gedrückt
|
| button2 | Rechter Mausknopf wird gedrückt
|
||||||
| button3 | Mittlerer Mausknopf wird gedrückt (häufig der Druck auf das Mausrad)
|
| button3 | Mittlerer Mausknopf wird gedrückt (häufig der Druck auf das Mausrad)
|
||||||
| button4 ... button11 | Ein zusätzlicher Mausknopf wird gedrückt
|
| button4 ... button9 | Ein zusätzlicher Mausknopf wird gedrückt
|
||||||
| wheelup | Mausrad wird nach oben gescrollt
|
| wheelup | Mausrad wird nach oben gescrollt
|
||||||
| wheeldown | Mausrad wird nach unten gescrollt
|
| wheeldown | Mausrad wird nach unten gescrollt
|
||||||
|===
|
|===
|
||||||
@@ -2787,7 +2613,7 @@ Bespiele von Ereignissen:
|
|||||||
* `button1-event-drag`
|
* `button1-event-drag`
|
||||||
* `alt-button2-gesture-down-long`
|
* `alt-button2-gesture-down-long`
|
||||||
* `wheelup`
|
* `wheelup`
|
||||||
* `alt-ctrl-wheeldown`
|
* `ctrl-alt-wheeldown`
|
||||||
|
|
||||||
[TIP]
|
[TIP]
|
||||||
Wird eine Funktion im "mouse"-Kontext hinzufügt ist es möglich, mehrere
|
Wird eine Funktion im "mouse"-Kontext hinzufügt ist es möglich, mehrere
|
||||||
@@ -3392,7 +3218,6 @@ Sektion in Datei _weechat.conf_:
|
|||||||
| bar | <<command_weechat_bar,/bar>> +
|
| bar | <<command_weechat_bar,/bar>> +
|
||||||
/set weechat.bar.* | Optionen für die Bars.
|
/set weechat.bar.* | Optionen für die Bars.
|
||||||
| layout | <<command_weechat_layout,/layout>> | Layouts.
|
| layout | <<command_weechat_layout,/layout>> | Layouts.
|
||||||
| buffer | <<command_weechat_buffer,/buffer setauto>> | Eigenschaften, die beim Öffnen des Buffers automatisch angewendet werden.
|
|
||||||
| notify | <<command_weechat_buffer,/buffer notify>> | Benachrichtigungsstufe für Buffer (Optionen können in Sektion hinzugefügt/entfernt werden).
|
| notify | <<command_weechat_buffer,/buffer notify>> | Benachrichtigungsstufe für Buffer (Optionen können in Sektion hinzugefügt/entfernt werden).
|
||||||
| filter | <<command_weechat_filter,/filter>> | Filter.
|
| filter | <<command_weechat_filter,/filter>> | Filter.
|
||||||
| key | <<command_weechat_key,/key>> | Tastenbefehle in default context.
|
| key | <<command_weechat_key,/key>> | Tastenbefehle in default context.
|
||||||
@@ -3500,7 +3325,7 @@ irc.server.libera.autorejoin_delay integer null -> 30
|
|||||||
irc.server.libera.away_check integer null -> 0
|
irc.server.libera.away_check integer null -> 0
|
||||||
irc.server.libera.away_check_max_nicks integer null -> 25
|
irc.server.libera.away_check_max_nicks integer null -> 25
|
||||||
irc.server.libera.capabilities string null -> "*"
|
irc.server.libera.capabilities string null -> "*"
|
||||||
irc.server.libera.charset_message enum null -> message
|
irc.server.libera.charset_message integer null -> message
|
||||||
irc.server.libera.command string null -> ""
|
irc.server.libera.command string null -> ""
|
||||||
irc.server.libera.command_delay integer null -> 0
|
irc.server.libera.command_delay integer null -> 0
|
||||||
irc.server.libera.connection_timeout integer null -> 60
|
irc.server.libera.connection_timeout integer null -> 60
|
||||||
@@ -3516,9 +3341,9 @@ irc.server.libera.notify string null -> ""
|
|||||||
irc.server.libera.password string null -> ""
|
irc.server.libera.password string null -> ""
|
||||||
irc.server.libera.proxy string null -> ""
|
irc.server.libera.proxy string null -> ""
|
||||||
irc.server.libera.realname string null -> ""
|
irc.server.libera.realname string null -> ""
|
||||||
irc.server.libera.sasl_fail enum null -> reconnect
|
irc.server.libera.sasl_fail integer null -> reconnect
|
||||||
irc.server.libera.sasl_key string null -> ""
|
irc.server.libera.sasl_key string null -> ""
|
||||||
irc.server.libera.sasl_mechanism enum null -> plain
|
irc.server.libera.sasl_mechanism integer null -> plain
|
||||||
irc.server.libera.sasl_password string "${sec.data.libera}"
|
irc.server.libera.sasl_password string "${sec.data.libera}"
|
||||||
irc.server.libera.sasl_timeout integer null -> 15
|
irc.server.libera.sasl_timeout integer null -> 15
|
||||||
irc.server.libera.sasl_username string "alice"
|
irc.server.libera.sasl_username string "alice"
|
||||||
@@ -4241,7 +4066,7 @@ Beispiel: Um eine Antwort auf die CTCP Anfrage "VERSION" anzupassen nutzen Sie
|
|||||||
folgenden Befehl:
|
folgenden Befehl:
|
||||||
|
|
||||||
----
|
----
|
||||||
/set irc.ctcp.version "I'm running WeeChat ${version}, it rocks!"
|
/set irc.ctcp.version "I'm running WeeChat $version, it rocks!"
|
||||||
----
|
----
|
||||||
|
|
||||||
[NOTE]
|
[NOTE]
|
||||||
@@ -4266,7 +4091,7 @@ Auch kann man CTCP Antworten für jeden einzelnen Server anpassen. Dazu muss
|
|||||||
man lediglich den internen Servernamen vor die CTCP Anfrage setzen:
|
man lediglich den internen Servernamen vor die CTCP Anfrage setzen:
|
||||||
|
|
||||||
----
|
----
|
||||||
/set irc.ctcp.libera.version "WeeChat ${version} (for libera)"
|
/set irc.ctcp.libera.version "WeeChat $version (for libera)"
|
||||||
----
|
----
|
||||||
|
|
||||||
Sollen die CTCP Antworten wieder auf die Standardeinstellungen zurück gesetzt werden
|
Sollen die CTCP Antworten wieder auf die Standardeinstellungen zurück gesetzt werden
|
||||||
@@ -4276,23 +4101,23 @@ dann müssen Sie lediglich die Option löschen:
|
|||||||
/unset irc.ctcp.version
|
/unset irc.ctcp.version
|
||||||
----
|
----
|
||||||
|
|
||||||
Die CTCP Antworten sind evaluiert (siehe Befehl <<command_weechat_eval,/eval>>) und
|
Folgende Platzhalter können in den CTCP-Antworten genutzt werden. Diese werden dann
|
||||||
die folgenden zusätzlichen Variablen sind verfügbar:
|
mit dem entsprechenden Wert ersetzt:
|
||||||
|
|
||||||
[width="100%",cols="2,4,8",options="header"]
|
[width="100%",cols="2l,4,8",options="header"]
|
||||||
|===
|
|===
|
||||||
| Variable | Beschreibung | Wert/Beispiel
|
| Platzhalter | Beschreibung | Wert/Beispiel
|
||||||
| `+${clientinfo}+` | Liste der CTCP Antworten | `+ACTION DCC CLIENTINFO PING SOURCE TIME VERSION+`
|
| $clientinfo | Liste der CTCP Antworten | `+ACTION DCC CLIENTINFO FINGER PING SOURCE TIME USERINFO VERSION+`
|
||||||
| `+${version}+` | WeeChat Version | `+4.1.0-dev+`
|
| $version | WeeChat Version | `+0.4.0-dev+`
|
||||||
| `+${versiongit}+` | WeeChat Version + Git version ^(1)^ | `+4.1.0-dev (git: v4.0.0-51-g8f98b922a)+`
|
| $versiongit | WeeChat Version + Git version ^(1)^ | `+0.4.0-dev (git: v0.3.9-104-g7eb5cc4)+`
|
||||||
| `+${git}+` | Git Version ^(1)^ | `+v4.0.0-51-g8f98b922a+`
|
| $git | Git Version ^(1)^ | `+v0.3.9-104-g7eb5cc4+`
|
||||||
| `+${compilation}+` | Datum der Kompilierung | `+Jul 8 2023 20:14:23+`
|
| $compilation | Datum der Kompilierung | `+Dec 16 2012+`
|
||||||
| `+${osinfo}+` | Info über das genutzte OS | `+Linux 5.10.0-23-amd64 / x86_64+`
|
| $osinfo | Info über das genutzte OS | `+Linux 2.6.32-5-amd64 / x86_64+`
|
||||||
| `+${site}+` | WeeChat Seite | `+https://weechat.org/+`
|
| $site | WeeChat Seite | `+https://weechat.org/+`
|
||||||
| `+${download}+` | WeeChat, Download Seite | `+https://weechat.org/download/+`
|
| $download | WeeChat, Download Seite | `+https://weechat.org/download/+`
|
||||||
| `+${time}+` | Aktuelle Uhrzeit/Datum | `+Sat, 08 Jul 2023 21:11:19 +0200+`
|
| $time | Aktuelle Uhrzeit/Datum | `+Sun, 16 Dec 2012 10:40:48 +0100+`
|
||||||
| `+${username}+` | Username beim IRC Server | `+Name+`
|
| $username | Username beim IRC Server | `+Name+`
|
||||||
| `+${realname}+` | Realname beim IRC Server | `+John Doe+`
|
| $realname | Realname beim IRC Server | `+John Doe+`
|
||||||
|===
|
|===
|
||||||
|
|
||||||
[NOTE]
|
[NOTE]
|
||||||
@@ -4300,15 +4125,17 @@ die folgenden zusätzlichen Variablen sind verfügbar:
|
|||||||
Dies erfordert, dass WeeChat aus dem Git Repository heraus kompiliert wurde
|
Dies erfordert, dass WeeChat aus dem Git Repository heraus kompiliert wurde
|
||||||
und das Git überhaupt installiert ist.
|
und das Git überhaupt installiert ist.
|
||||||
|
|
||||||
Die Standard-CTCP-Antworten sind:
|
Falls CTCP Optionen nicht festgelegt sind, lauten die CTCP Antworten:
|
||||||
|
|
||||||
[width="100%",cols="2,4,8",options="header"]
|
[width="100%",cols="2,4,8",options="header"]
|
||||||
|===
|
|===
|
||||||
| CTCP | Antwortformat | Beispiel
|
| CTCP | Antwortformat | Beispiel
|
||||||
| CLIENTINFO | `+${clientinfo}+` | `+ACTION DCC CLIENTINFO PING SOURCE TIME VERSION+`
|
| CLIENTINFO | `+$clientinfo+` | `+ACTION DCC CLIENTINFO FINGER PING SOURCE TIME USERINFO VERSION+`
|
||||||
| SOURCE | `+${download}+` | `+https://weechat.org/download/+`
|
| FINGER | `+WeeChat $versiongit+` | `+WeeChat 0.4.0-dev (git: v0.3.9-104-g7eb5cc4)+`
|
||||||
| TIME | `+${time}+` | `+Sat, 08 Jul 2023 21:11:19 +0200+`
|
| SOURCE | `+$download+` | `+https://weechat.org/download/+`
|
||||||
| VERSION | `+WeeChat ${version}+` | `+WeeChat 4.1.0-dev+`
|
| TIME | `+$time+` | `+Sun, 16 Dec 2012 10:40:48 +0100+`
|
||||||
|
| USERINFO | `+$username ($realname)+` | `+Name (John Doe)+`
|
||||||
|
| VERSION | `+WeeChat $versiongit ($compilation)+` | `+WeeChat 0.4.0-dev (git: v0.3.9-104-g7eb5cc4) (Dec 16 2012)+`
|
||||||
|===
|
|===
|
||||||
|
|
||||||
[[irc_target_buffer]]
|
[[irc_target_buffer]]
|
||||||
@@ -4609,13 +4436,8 @@ Die Relay-Erweiterung wird genutzt um Daten, mittels unterschiedlicher Protokoll
|
|||||||
|
|
||||||
* _irc_: IRC Proxy: um mittels einem oder mehreren IRC-Clients eine Verbindung zu
|
* _irc_: IRC Proxy: um mittels einem oder mehreren IRC-Clients eine Verbindung zu
|
||||||
IRC Servern zu unterhalten.
|
IRC Servern zu unterhalten.
|
||||||
* _api_: HTTP REST API, wird von WeeChat und Remote-Schnittstellen zur Anzeige und
|
* _weechat_: Protokoll, das von Remote-Schnittstellen zur Anzeige und Interaktion verwendet wird
|
||||||
Interaktion mit WeeChat verwendet
|
WeeChat, siehe https://weechat.org/about/interfaces/[this page ^↗^^].
|
||||||
* _weechat_: von Remote-Schnittstellen verwendetes Protokoll zur Anzeige und Interaktion mit
|
|
||||||
WeeChat.
|
|
||||||
|
|
||||||
Für die _api_ und _weechat_ Protokolle findet man eine Liste der Remote-Schnittstellen auf
|
|
||||||
https://weechat.org/about/interfaces/[this page ^↗^^].
|
|
||||||
|
|
||||||
[[relay_password]]
|
[[relay_password]]
|
||||||
=== Passwort
|
=== Passwort
|
||||||
@@ -4627,13 +4449,14 @@ Es wird dringend empfohlen, mit diesen Befehlen ein Passwort für das Relay fest
|
|||||||
/set relay.network.password "${sec.data.relay}"
|
/set relay.network.password "${sec.data.relay}"
|
||||||
----
|
----
|
||||||
|
|
||||||
Dieses Passwort wird bei allen Protokollen verwendet.
|
Dieses Passwort wird sowohl für das _irc_ als auch für das _weechat_ Protokoll
|
||||||
|
verwendet.
|
||||||
|
|
||||||
[[relay_totp]]
|
[[relay_totp]]
|
||||||
=== TOTP
|
=== TOTP
|
||||||
|
|
||||||
TOTP (Time-based One-Time Password) kann als sekundärer Authentifizierungsfaktor
|
TOTP (Time-based One-Time Passwort) ist eine Zwei-Faktor-Authentifizierung
|
||||||
für die Protokolle _api_ und _weechat_ zusätzlich zum Passwort verwendet werden.
|
für das _weechat_ Protokoll, als Ergänzung zum eigentlichen Passwort.
|
||||||
|
|
||||||
Diese Funktion is optional und erhöht den Sicherheitsgrad.
|
Diese Funktion is optional und erhöht den Sicherheitsgrad.
|
||||||
|
|
||||||
@@ -4730,38 +4553,6 @@ folgenden Befehlen einrichten:
|
|||||||
/set irc.server.relay.password "${sec.data.relay_libera}"
|
/set irc.server.relay.password "${sec.data.relay_libera}"
|
||||||
----
|
----
|
||||||
|
|
||||||
[[relay_api_protocol]]
|
|
||||||
=== API protocol
|
|
||||||
|
|
||||||
Die Relay-Erweiterung kann Daten über ein HTTP REST API-Protokoll an einen Remote-WeeChat oder eine Remote-Schnittstelle senden.
|
|
||||||
|
|
||||||
Die API kann online durchstöbert und getestet werden:
|
|
||||||
https://weechat.org/api/[WeeChat Relay API ^↗^^].
|
|
||||||
|
|
||||||
Sie können sich mit WeeChat oder einer Remote-Schnittstelle verbinden, siehe
|
|
||||||
https://weechat.org/about/interfaces/[this page ^↗^^].
|
|
||||||
|
|
||||||
Zum Beispiel:
|
|
||||||
|
|
||||||
----
|
|
||||||
/relay add api 9000
|
|
||||||
----
|
|
||||||
|
|
||||||
Jetzt kann man sich über Port 9000 mit einem WeeChat oder einer Remote-Schnittstelle
|
|
||||||
verbinden, indem das Passwort „mypassword“ verwendet wird.
|
|
||||||
|
|
||||||
So stellt man mit WeeChat eine Verbindung zu einem _api_ Relay her:
|
|
||||||
|
|
||||||
----
|
|
||||||
/remote add weechat http://localhost:9000 -password=mypassword
|
|
||||||
/remote connect weechat
|
|
||||||
----
|
|
||||||
|
|
||||||
[NOTE]
|
|
||||||
Der Remote-WeeChat muss dieselbe API-Version wie der lokale WeeChat nutzen.
|
|
||||||
Daher wird dringend empfohlen, auf dem Remote- und dem lokalen Client genau
|
|
||||||
dieselbe WeeChat-Version zu verwenden.
|
|
||||||
|
|
||||||
[[relay_weechat_protocol]]
|
[[relay_weechat_protocol]]
|
||||||
=== WeeChat Protokoll
|
=== WeeChat Protokoll
|
||||||
|
|
||||||
@@ -4802,9 +4593,7 @@ websocket = new WebSocket("ws://server.com:9000/weechat");
|
|||||||
----
|
----
|
||||||
|
|
||||||
Der Port (im Beispiel: 9000) ist der Port der in der Relay Erweiterung angegeben wurde.
|
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).
|
||||||
Die URI muss mit „/weechat“ für die Protokolle _irc_ und _weechat_ und mit „/api“
|
|
||||||
für das Protokoll _api_ enden.
|
|
||||||
|
|
||||||
[[relay_unix_socket]]
|
[[relay_unix_socket]]
|
||||||
=== UNIX Domain Sockets
|
=== UNIX Domain Sockets
|
||||||
@@ -4849,7 +4638,7 @@ Sektionen in Datei _relay.conf_:
|
|||||||
| network | /set relay.network.* | Netzwerkoptionen.
|
| network | /set relay.network.* | Netzwerkoptionen.
|
||||||
| irc | /set relay.irc.* | für das IRC Protokoll spezifische Optionen (IRC Proxy).
|
| irc | /set relay.irc.* | für das IRC Protokoll spezifische Optionen (IRC Proxy).
|
||||||
| port | <<command_relay_relay,/relay add>> +
|
| port | <<command_relay_relay,/relay add>> +
|
||||||
/set relay.port.* | Ports zur Nutzung der Relay-Erweiterung (Optionen können in Sektion hinzugefügt/entfernt werden).
|
/set relay.port.* | Ports zur Nutzung der Relay-Erweiterung (IRC und weechat Protokolle) (Optionen können in Sektion hinzugefügt/entfernt werden).
|
||||||
|===
|
|===
|
||||||
|
|
||||||
Optionen:
|
Optionen:
|
||||||
@@ -5274,9 +5063,7 @@ Zutreffende Gruppen können in _replace_ verwendet werden:
|
|||||||
|
|
||||||
* `+${re:0}+` nach `+${re:99}+`: `+${re:0}+` ist die ganze Trefferanzahl, `+${re:1}+` nach
|
* `+${re:0}+` nach `+${re:99}+`: `+${re:0}+` ist die ganze Trefferanzahl, `+${re:1}+` nach
|
||||||
`+${re:99}+` sind als Gruppen erfasst.
|
`+${re:99}+` sind als Gruppen erfasst.
|
||||||
* `pass:[${re:+}]`: das letzte Treffer (mit der höchsten Zahl)
|
* `+${re:+}+`: das letzte Treffer (mit der höchsten Zahl)
|
||||||
* `+${re:#}+`: index of last group captured
|
|
||||||
* `+${re:repl_index}+`: index of replacement being done (starts to 1)
|
|
||||||
* `+${hide:c,${re:N}}+`: Treffer "N" mit allen Zeichen die durch "c" ersetzt wurden
|
* `+${hide:c,${re:N}}+`: Treffer "N" mit allen Zeichen die durch "c" ersetzt wurden
|
||||||
(Beispiele: `+${hide:*,${re:2}}+` ist die Gruppe #2, mit allen Zeichen die durch
|
(Beispiele: `+${hide:*,${re:2}}+` ist die Gruppe #2, mit allen Zeichen die durch
|
||||||
`+*+` ersetzt wurden).
|
`+*+` ersetzt wurden).
|
||||||
@@ -5343,7 +5130,7 @@ Wenn _var_ nicht angegeben ist, wird die Standardvariable verwendet, sie hängt
|
|||||||
| signal | tg_signal_data |
|
| signal | tg_signal_data |
|
||||||
| hsignal | |
|
| hsignal | |
|
||||||
| modifier | tg_string | tg_string
|
| modifier | tg_string | tg_string
|
||||||
| line | message | buffer, buffer_name, y, date, date_usec, date_printed, date_usec_printed, str_time, tags, notify_level, highlight, prefix, message
|
| line | message | buffer, buffer_name, y, date, date_printed, str_time, tags, notify_level, highlight, prefix, message
|
||||||
| print | tg_message |
|
| print | tg_message |
|
||||||
| command | tg_argv_eol1 |
|
| command | tg_argv_eol1 |
|
||||||
| command_run | tg_command |
|
| command_run | tg_command |
|
||||||
@@ -5428,7 +5215,7 @@ und die Daten in einer Hashtable gesichert:
|
|||||||
| server | string | Name des Server (Beispiel: "libera").
|
| server | string | Name des Server (Beispiel: "libera").
|
||||||
| tags | string | Tags in Nachricht (findet selten Verwendung).
|
| tags | string | Tags in Nachricht (findet selten Verwendung).
|
||||||
| message_without_tags | string | Nachricht ohne Tags.
|
| message_without_tags | string | Nachricht ohne Tags.
|
||||||
| nick | string | Nick. ^(1)^
|
| nick | string | Nick.
|
||||||
| host | string | Hostname.
|
| host | string | Hostname.
|
||||||
| command | string | IRC Befehl (Beispiel: "PRIVMSG", "NOTICE", ...).
|
| command | string | IRC Befehl (Beispiel: "PRIVMSG", "NOTICE", ...).
|
||||||
| channel | string | IRC Channel.
|
| channel | string | IRC Channel.
|
||||||
@@ -5440,10 +5227,6 @@ und die Daten in einer Hashtable gesichert:
|
|||||||
| pos_text | string | Index von _text_ innerhalb einer Nachricht ("-1" falls _text_ nicht gefunden wird).
|
| pos_text | string | Index von _text_ innerhalb einer Nachricht ("-1" falls _text_ nicht gefunden wird).
|
||||||
|===
|
|===
|
||||||
|
|
||||||
[NOTE]
|
|
||||||
^(1)^ Der Nick, ist der Absender der Nachricht. +
|
|
||||||
Der eigene Nick für den Server ist `${irc_server.nick}`.
|
|
||||||
|
|
||||||
Sofern es sich bei den Daten um einen Pointer handelt, kann die Variable `+tg_signal_data+`
|
Sofern es sich bei den Daten um einen Pointer handelt, kann die Variable `+tg_signal_data+`
|
||||||
wie im folgenden Beispiel genutzt werden um den Inhalt von hdata zu lesen (im Beispiel
|
wie im folgenden Beispiel genutzt werden um den Inhalt von hdata zu lesen (im Beispiel
|
||||||
wird der Pointer eines Buffer verwendet):
|
wird der Pointer eines Buffer verwendet):
|
||||||
@@ -5510,9 +5293,7 @@ Der Callback von "line" legt folgende Variablen in der Hashtable an:
|
|||||||
| buffer_type | string | Buffertyp ("formatted" oder "free").
|
| buffer_type | string | Buffertyp ("formatted" oder "free").
|
||||||
| y | string | Zeilennummer bei einem Buffer mit freier Einteilung (≥ 0), -1 für einen Buffer mit formatiertem Inhalt.
|
| y | string | Zeilennummer bei einem Buffer mit freier Einteilung (≥ 0), -1 für einen Buffer mit formatiertem Inhalt.
|
||||||
| date | string | Datum der Zeile (Zeitstempel).
|
| date | string | Datum der Zeile (Zeitstempel).
|
||||||
| date_usec | string | Mikrosekunden des Zeilendatums.
|
|
||||||
| date_printed | string | Datum wann die Zeile dargestellt wurde (Zeitstempel).
|
| date_printed | string | Datum wann die Zeile dargestellt wurde (Zeitstempel).
|
||||||
| date_usec_printed | string | Mikrosekunden des Datums, an dem die Zeile angezeigt wurde.
|
|
||||||
| str_time | string | Datum für Darstellung. Kann Farbkodierungen erhalten.
|
| str_time | string | Datum für Darstellung. Kann Farbkodierungen erhalten.
|
||||||
| tags | string | Tags einer Nachricht (Komma wird automatisch zu Beginn und Ende den Tags hinzugefügt).
|
| tags | string | Tags einer Nachricht (Komma wird automatisch zu Beginn und Ende den Tags hinzugefügt).
|
||||||
| displayed | string | "1" wenn Zeile dargestellt wird, "0" wenn Zeile gefiltert wird.
|
| displayed | string | "1" wenn Zeile dargestellt wird, "0" wenn Zeile gefiltert wird.
|
||||||
@@ -5551,7 +5332,7 @@ Der Callback von "print" legt folgende Variablen in der Hashtable an:
|
|||||||
|===
|
|===
|
||||||
| Variable | Typ | Beschreibung
|
| Variable | Typ | Beschreibung
|
||||||
| buffer | pointer | Buffer.
|
| buffer | pointer | Buffer.
|
||||||
| tg_date | string | Datum/Uhrzeit der Nachricht (Format: `%FT%T.%f`, siehe link:weechat_plugin_api.en.html#_util_strftimeval[WeeChat plugin API reference / util_strftimeval ^↗^^]).
|
| tg_date | string | Datum/Uhrzeit der Nachricht (Format: `YYYY-MM-DD hh:mm:ss`).
|
||||||
| tg_displayed | string | "1" wenn Nachricht dargestellt wird, "0" falls Nachricht gefiltert wird.
|
| tg_displayed | string | "1" wenn Nachricht dargestellt wird, "0" falls Nachricht gefiltert wird.
|
||||||
| tg_highlight | string | "1" falls es sich um eine Highlight-Nachricht handelt, andernfalls "0".
|
| tg_highlight | string | "1" falls es sich um eine Highlight-Nachricht handelt, andernfalls "0".
|
||||||
| tg_prefix | string | Präfix.
|
| tg_prefix | string | Präfix.
|
||||||
@@ -5616,7 +5397,7 @@ Der Callback von "timer" legt folgende Variablen in der Hashtable an:
|
|||||||
|===
|
|===
|
||||||
| Variable | Typ | Beschreibung
|
| Variable | Typ | Beschreibung
|
||||||
| tg_remaining_calls | string | Anzahl der noch ausstehenden Aufrufe.
|
| tg_remaining_calls | string | Anzahl der noch ausstehenden Aufrufe.
|
||||||
| tg_date | string | aktuelles Datum und Uhrzeit (Format: `%FT%T.%f`, siehe link:weechat_plugin_api.en.html#_util_strftimeval[WeeChat plugin API reference / util_strftimeval ^↗^^]).
|
| tg_date | string | aktuelles Datum und Uhrzeit (Format: `YYYY-MM-DD hh:mm:ss`).
|
||||||
|===
|
|===
|
||||||
|
|
||||||
[[trigger_data_config]]
|
[[trigger_data_config]]
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
<!--
|
<!--
|
||||||
Custom styles for Asciidoctor
|
Custom styles for Asciidoctor
|
||||||
Copyright (C) 2016-2024 Sébastien Helleu <flashcode@flashtux.org>
|
Copyright (C) 2016-2023 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
-->
|
-->
|
||||||
<style>
|
<style>
|
||||||
|
|
||||||
|
|||||||
@@ -100,7 +100,7 @@ $HOME/.local/share/weechat/weechat.log::
|
|||||||
WeeChat is written by Sébastien Helleu and contributors (complete list is in
|
WeeChat is written by Sébastien Helleu and contributors (complete list is in
|
||||||
the AUTHORS.adoc file).
|
the AUTHORS.adoc file).
|
||||||
|
|
||||||
Copyright (C) 2003-2024 {author}
|
Copyright (C) 2003-2023 {author}
|
||||||
|
|
||||||
WeeChat is free software; you can redistribute it and/or modify
|
WeeChat is free software; you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
+58
-108
@@ -114,60 +114,58 @@ WeeChat "core" is located in following directories:
|
|||||||
|===
|
|===
|
||||||
| Path/file | Description
|
| Path/file | Description
|
||||||
| core/ | Core functions: entry point, internal structures.
|
| core/ | Core functions: entry point, internal structures.
|
||||||
| core-arraylist.c | Array lists.
|
| wee-arraylist.c | Array lists.
|
||||||
| core-backtrace.c | Display a backtrace after a crash.
|
| wee-backtrace.c | Display a backtrace after a crash.
|
||||||
| core-calc.c | Calculate result of expressions.
|
| wee-calc.c | Calculate result of expressions.
|
||||||
| core-command.c | WeeChat core commands.
|
| wee-command.c | WeeChat core commands.
|
||||||
| core-completion.c | Default completions.
|
| wee-completion.c | Default completions.
|
||||||
| core-config-file.c | Configuration file management.
|
| wee-config-file.c | Configuration file management.
|
||||||
| core-config.c | Configuration options for WeeChat core (file weechat.conf).
|
| wee-config.c | Configuration options for WeeChat core (file weechat.conf).
|
||||||
| core-crypto.c | Cryptographic functions.
|
| wee-crypto.c | Cryptographic functions.
|
||||||
| core-debug.c | Some debug functions.
|
| wee-debug.c | Some debug functions.
|
||||||
| core-doc.c | Build of files for documentation.
|
| wee-doc.c | Build of files for documentation.
|
||||||
| core-dir.c | Directory/file functions.
|
| wee-dir.c | Directory/file functions.
|
||||||
| core-eval.c | Evaluation of expressions with references to internal vars.
|
| wee-eval.c | Evaluation of expressions with references to internal vars.
|
||||||
| core-hashtable.c | Hashtables.
|
| wee-hashtable.c | Hashtables.
|
||||||
| core-hdata.c | Hdata (direct access to data using hashtables).
|
| wee-hdata.c | Hdata (direct access to data using hashtables).
|
||||||
| core-hook.c | Hooks.
|
| wee-hook.c | Hooks.
|
||||||
| core-infolist.c | Infolists (lists with objects data).
|
| wee-infolist.c | Infolists (lists with objects data).
|
||||||
| core-input.c | Input of commands/text.
|
| wee-input.c | Input of commands/text.
|
||||||
| core-list.c | Sorted lists.
|
| wee-list.c | Sorted lists.
|
||||||
| core-log.c | Write to WeeChat log file (weechat.log).
|
| wee-log.c | Write to WeeChat log file (weechat.log).
|
||||||
| core-network.c | Network functions (connection to servers/proxies).
|
| wee-network.c | Network functions (connection to servers/proxies).
|
||||||
| core-proxy.c | Proxy management.
|
| wee-proxy.c | Proxy management.
|
||||||
| core-secure.c | Secured data functions.
|
| wee-secure.c | Secured data functions.
|
||||||
| core-secure-buffer.c | Secured data buffer.
|
| wee-secure-buffer.c | Secured data buffer.
|
||||||
| core-secure-config.c | Secured data options (file sec.conf).
|
| wee-secure-config.c | Secured data options (file sec.conf).
|
||||||
| core-signal.c | Signal functions.
|
| wee-signal.c | Signal functions.
|
||||||
| core-string.c | Functions on strings.
|
| wee-string.c | Functions on strings.
|
||||||
| core-sys.c | System functions.
|
| wee-upgrade-file.c | Internal upgrade system.
|
||||||
| core-upgrade-file.c | Internal upgrade system.
|
| wee-upgrade.c | Upgrade for WeeChat core (buffers, lines, history, ...).
|
||||||
| core-upgrade.c | Upgrade for WeeChat core (buffers, lines, history, ...).
|
| wee-url.c | URL transfer (using libcurl).
|
||||||
| core-url.c | URL transfer (using libcurl).
|
| wee-utf8.c | UTF-8 functions.
|
||||||
| core-utf8.c | UTF-8 functions.
|
| wee-util.c | Some other functions.
|
||||||
| core-util.c | Some other functions.
|
| wee-version.c | Functions for WeeChat version.
|
||||||
| core-version.c | Functions for WeeChat version.
|
|
||||||
| weechat.c | Main functions: command line options, startup.
|
| weechat.c | Main functions: command line options, startup.
|
||||||
| hook/ | Hook functions.
|
| hook/ | Hook functions.
|
||||||
| hook-command-run.c | Hook "command_run".
|
| wee-hook-command-run.c | Hook "command_run".
|
||||||
| hook-command.c | Hook "command".
|
| wee-hook-command.c | Hook "command".
|
||||||
| hook-completion.c | Hook "completion".
|
| wee-hook-completion.c | Hook "completion".
|
||||||
| hook-config.c | Hook "config".
|
| wee-hook-config.c | Hook "config".
|
||||||
| hook-connect.c | Hook "connect".
|
| wee-hook-connect.c | Hook "connect".
|
||||||
| hook-fd.c | Hook "fd".
|
| wee-hook-fd.c | Hook "fd".
|
||||||
| hook-focus.c | Hook "focus".
|
| wee-hook-focus.c | Hook "focus".
|
||||||
| hook-hdata.c | Hook "hdata".
|
| wee-hook-hdata.c | Hook "hdata".
|
||||||
| hook-hsignal.c | Hook "hsignal".
|
| wee-hook-hsignal.c | Hook "hsignal".
|
||||||
| hook-info-hashtable.c | Hook "info_hashtable".
|
| wee-hook-info-hashtable.c | Hook "info_hashtable".
|
||||||
| hook-info.c | Hook "info".
|
| wee-hook-info.c | Hook "info".
|
||||||
| hook-infolist.c | Hook "infolist".
|
| wee-hook-infolist.c | Hook "infolist".
|
||||||
| hook-line.c | Hook "line".
|
| wee-hook-line.c | Hook "line".
|
||||||
| hook-modifier.c | Hook "modifier".
|
| wee-hook-modifier.c | Hook "modifier".
|
||||||
| hook-print.c | Hook "print".
|
| wee-hook-print.c | Hook "print".
|
||||||
| hook-process.c | Hook "process".
|
| wee-hook-process.c | Hook "process".
|
||||||
| hook-signal.c | Hook "signal".
|
| wee-hook-signal.c | Hook "signal".
|
||||||
| hook-timer.c | Hook "timer".
|
| wee-hook-timer.c | Hook "timer".
|
||||||
| hook-url.c | Hook "url".
|
|
||||||
| gui/ | Functions for buffers, windows, ... (used by all interfaces).
|
| gui/ | Functions for buffers, windows, ... (used by all interfaces).
|
||||||
| gui-bar-item.c | Bar items.
|
| gui-bar-item.c | Bar items.
|
||||||
| gui-bar-window.c | Bar windows.
|
| gui-bar-window.c | Bar windows.
|
||||||
@@ -238,7 +236,6 @@ WeeChat "core" is located in following directories:
|
|||||||
| buflist.c | Main buflist functions.
|
| buflist.c | Main buflist functions.
|
||||||
| buflist-bar-item.c | Buflist bar items.
|
| buflist-bar-item.c | Buflist bar items.
|
||||||
| buflist-command.c | Buflist commands.
|
| buflist-command.c | Buflist commands.
|
||||||
| buflist-completion.c | Buflist completions.
|
|
||||||
| buflist-config.c | Buflist config options (file buflist.conf).
|
| buflist-config.c | Buflist config options (file buflist.conf).
|
||||||
| buflist-info.c | Buflist info/infolists/hdata.
|
| buflist-info.c | Buflist info/infolists/hdata.
|
||||||
| buflist-mouse.c | Buflist mouse actions.
|
| buflist-mouse.c | Buflist mouse actions.
|
||||||
@@ -284,7 +281,6 @@ WeeChat "core" is located in following directories:
|
|||||||
| irc-info.c | IRC info/infolists/hdata.
|
| irc-info.c | IRC info/infolists/hdata.
|
||||||
| irc-input.c | Input of commands/text.
|
| irc-input.c | Input of commands/text.
|
||||||
| irc-join.c | Functions for list of channels to join.
|
| irc-join.c | Functions for list of channels to join.
|
||||||
| irc-list.c | Buffer for reply to /list command.
|
|
||||||
| irc-message.c | Functions to manipulate IRC messages.
|
| irc-message.c | Functions to manipulate IRC messages.
|
||||||
| irc-mode.c | Functions about channel/nick modes.
|
| irc-mode.c | Functions about channel/nick modes.
|
||||||
| irc-modelist.c | IRC channel mode lists (+b, +e, +I, ...).
|
| irc-modelist.c | IRC channel mode lists (+b, +e, +I, ...).
|
||||||
@@ -331,24 +327,15 @@ WeeChat "core" is located in following directories:
|
|||||||
| relay-command.c | Relay commands.
|
| relay-command.c | Relay commands.
|
||||||
| relay-completion.c | Relay completions.
|
| relay-completion.c | Relay completions.
|
||||||
| relay-config.c | Relay config options (file relay.conf).
|
| relay-config.c | Relay config options (file relay.conf).
|
||||||
| relay-http.c | HTTP functions.
|
|
||||||
| relay-info.c | Relay info/infolists/hdata.
|
| relay-info.c | Relay info/infolists/hdata.
|
||||||
| relay-network.c | Network functions for relay.
|
| relay-network.c | Network functions for relay.
|
||||||
| relay-raw.c | Relay raw buffer.
|
| relay-raw.c | Relay raw buffer.
|
||||||
| relay-remote.c | Relay remote.
|
|
||||||
| relay-server.c | Relay server.
|
| relay-server.c | Relay server.
|
||||||
| relay-upgrade.c | Save/restore of relay data when upgrading WeeChat.
|
| relay-upgrade.c | Save/restore of relay data when upgrading WeeChat.
|
||||||
| relay-websocket.c | WebSocket server functions (RFC 6455).
|
| relay-websocket.c | WebSocket server functions (RFC 6455).
|
||||||
| api/ | Relay for remote interfaces (using HTTP REST API).
|
|
||||||
| relay-api.c | Main API functions for HTTP REST API.
|
|
||||||
| relay-api-msg.c | Send JSON messages to clients.
|
|
||||||
| relay-api-protocol.c | HTTP REST API protocol.
|
|
||||||
| remote/ | Relay remote functions, specific to API.
|
|
||||||
| relay-remote-event.c | Process events received from relay remote.
|
|
||||||
| relay-remote-network.c | Network functions for relay remote.
|
|
||||||
| irc/ | IRC proxy.
|
| irc/ | IRC proxy.
|
||||||
| relay-irc.c | Main IRC proxy functions.
|
| relay-irc.c | Main IRC proxy functions.
|
||||||
| weechat/ | Relay for remote interfaces (using "weechat" binary protocol).
|
| weechat/ | Relay for remote interfaces.
|
||||||
| relay-weechat.c | Relay for remote interfaces (main functions).
|
| relay-weechat.c | Relay for remote interfaces (main functions).
|
||||||
| relay-weechat-msg.c | Send binary messages to clients.
|
| relay-weechat-msg.c | Send binary messages to clients.
|
||||||
| relay-weechat-nicklist.c | Nicklist functions.
|
| relay-weechat-nicklist.c | Nicklist functions.
|
||||||
@@ -412,8 +399,6 @@ WeeChat "core" is located in following directories:
|
|||||||
| unparse.py | Convert Python code to other languages, used by script testapigen.py.
|
| unparse.py | Convert Python code to other languages, used by script testapigen.py.
|
||||||
| unit/ | Root of unit tests.
|
| unit/ | Root of unit tests.
|
||||||
| test-plugins.cpp | Tests: plugins.
|
| test-plugins.cpp | Tests: plugins.
|
||||||
| test-plugin-api-info.cpp | Tests: plugin API info functions.
|
|
||||||
| test-plugin-config.cpp | Tests: plugin config functions.
|
|
||||||
| core/ | Root of unit tests for core.
|
| core/ | Root of unit tests for core.
|
||||||
| test-core-arraylist.cpp | Tests: arraylists.
|
| test-core-arraylist.cpp | Tests: arraylists.
|
||||||
| test-core-calc.cpp | Tests: calculation of expressions.
|
| test-core-calc.cpp | Tests: calculation of expressions.
|
||||||
@@ -434,54 +419,25 @@ WeeChat "core" is located in following directories:
|
|||||||
| test-core-url.cpp | Tests: URLs.
|
| test-core-url.cpp | Tests: URLs.
|
||||||
| test-core-utf8.cpp | Tests: UTF-8.
|
| test-core-utf8.cpp | Tests: UTF-8.
|
||||||
| test-core-util.cpp | Tests: utility functions.
|
| test-core-util.cpp | Tests: utility functions.
|
||||||
| test-core-sys.cpp | Tests: system functions.
|
|
||||||
| hook/ | Root of unit tests for hooks.
|
|
||||||
| test-hook-command.cpp | Tests: hooks "command".
|
|
||||||
| test-hook-command-run.cpp | Tests: hooks "command_run".
|
|
||||||
| test-hook-completion.cpp | Tests: hooks "completion".
|
|
||||||
| test-hook-config.cpp | Tests: hooks "config".
|
|
||||||
| test-hook-connect.cpp | Tests: hooks "connect".
|
|
||||||
| test-hook-fd.cpp | Tests: hooks "fd".
|
|
||||||
| test-hook-focus.cpp | Tests: hooks "focus".
|
|
||||||
| test-hook-hdata.cpp | Tests: hooks "hdata".
|
|
||||||
| test-hook-hsignal.cpp | Tests: hooks "hsignal".
|
|
||||||
| test-hook-info-hashtable.cpp | Tests: hooks "info_hashtable".
|
|
||||||
| test-hook-info.cpp | Tests: hooks "info".
|
|
||||||
| test-hook-infolist.cpp | Tests: hooks "infolist".
|
|
||||||
| test-hook-line.cpp | Tests: hooks "line".
|
|
||||||
| test-hook-modifier.cpp | Tests: hooks "modifier".
|
|
||||||
| test-hook-print.cpp | Tests: hooks "print".
|
|
||||||
| test-hook-process.cpp | Tests: hooks "process".
|
|
||||||
| test-hook-signal.cpp | Tests: hooks "signal".
|
|
||||||
| test-hook-timer.cpp | Tests: hooks "timer".
|
|
||||||
| test-hook-url.cpp | Tests: hooks "url".
|
|
||||||
| gui/ | Root of unit tests for interfaces.
|
| gui/ | Root of unit tests for interfaces.
|
||||||
| test-gui-bar-window.cpp | Tests: bar window functions.
|
| test-gui-bar-window.cpp | Tests: bar window functions.
|
||||||
| test-gui-buffer.cpp | Tests: buffer functions.
|
| test-gui-buffer.cpp | Tests: buffer functions.
|
||||||
| test-gui-chat.cpp | Tests: chat functions.
|
| test-gui-chat.cpp | Tests: chat functions.
|
||||||
| test-gui-color.cpp | Tests: colors.
|
| test-gui-color.cpp | Tests: colors.
|
||||||
| test-gui-filter.cpp | Tests: filters.
|
| test-gui-filter.cpp | Tests: filters.
|
||||||
| test-gui-hotlist.cpp | Tests: hotlist functions.
|
|
||||||
| test-gui-input.cpp | Tests: input functions.
|
| test-gui-input.cpp | Tests: input functions.
|
||||||
| test-gui-key.cpp | Tests: keys.
|
| test-gui-key.cpp | Tests: keys.
|
||||||
| test-gui-line.cpp | Tests: lines.
|
| test-gui-line.cpp | Tests: lines.
|
||||||
| test-gui-nick.cpp | Tests: nicks.
|
| test-gui-nick.cpp | Tests: nicks.
|
||||||
| test-gui-nicklist.cpp | Tests: nicklist functions.
|
|
||||||
| curses/ | Root of unit tests for Curses interface.
|
|
||||||
| test-gui-curses-mouse.cpp | Tests: mouse (Curses interface).
|
|
||||||
| plugins/ | Root of unit tests for plugins.
|
| plugins/ | Root of unit tests for plugins.
|
||||||
| irc/ | Root of unit tests for IRC plugin.
|
| irc/ | Root of unit tests for IRC plugin.
|
||||||
| test-irc-batch.cpp | Tests: IRC batched events.
|
| test-irc-batch.cpp | Tests: IRC batched events.
|
||||||
| test-irc-buffer.cpp | Tests: IRC buffers.
|
| test-irc-buffer.cpp | Tests: IRC buffers.
|
||||||
| test-irc-channel.cpp | Tests: IRC channels.
|
| test-irc-channel.cpp | Tests: IRC channels.
|
||||||
| test-irc-color.cpp | Tests: IRC colors.
|
| test-irc-color.cpp | Tests: IRC colors.
|
||||||
| test-irc-command.cpp | Tests: IRC commands.
|
|
||||||
| test-irc-config.cpp | Tests: IRC configuration.
|
| test-irc-config.cpp | Tests: IRC configuration.
|
||||||
| test-irc-ctcp.cpp | Tests: IRC CTCP.
|
|
||||||
| test-irc-ignore.cpp | Tests: IRC ignores.
|
| test-irc-ignore.cpp | Tests: IRC ignores.
|
||||||
| test-irc-info.cpp | Tests: IRC info.
|
|
||||||
| test-irc-join.cpp | Tests: IRC join functions.
|
| test-irc-join.cpp | Tests: IRC join functions.
|
||||||
| test-irc-list.cpp | Tests: IRC buffer for reply to /list command.
|
|
||||||
| test-irc-message.cpp | Tests: IRC messages.
|
| test-irc-message.cpp | Tests: IRC messages.
|
||||||
| test-irc-mode.cpp | Tests: IRC modes.
|
| test-irc-mode.cpp | Tests: IRC modes.
|
||||||
| test-irc-nick.cpp | Tests: IRC nicks.
|
| test-irc-nick.cpp | Tests: IRC nicks.
|
||||||
@@ -501,13 +457,6 @@ WeeChat "core" is located in following directories:
|
|||||||
| test-typing-status.cpp | Tests: typing status.
|
| test-typing-status.cpp | Tests: typing status.
|
||||||
| relay/ | Root of unit tests for Relay plugin.
|
| relay/ | Root of unit tests for Relay plugin.
|
||||||
| test-relay-auth.cpp | Tests: clients authentication.
|
| test-relay-auth.cpp | Tests: clients authentication.
|
||||||
| test-relay-http.cpp | Tests: HTTP functions for Relay plugin.
|
|
||||||
| test-relay-remote.cpp | Tests: remote functions for Relay plugin.
|
|
||||||
| test-relay-websocket.cpp | Tests: websocket functions for Relay plugin.
|
|
||||||
| api/ | Root of unit tests for Relay "api" protocol.
|
|
||||||
| test-relay-api.cpp | Tests: Relay "api" protocol: general functions.
|
|
||||||
| test-relay-api-msg.cpp | Tests: Relay "api" protocol: messages.
|
|
||||||
| test-relay-api-protocol.cpp | Tests: Relay "api" protocol: protocol.
|
|
||||||
| irc/ | Root of unit tests for Relay "irc" protocol.
|
| irc/ | Root of unit tests for Relay "irc" protocol.
|
||||||
| test-relay-irc.cpp | Tests: Relay "irc" protocol.
|
| test-relay-irc.cpp | Tests: Relay "irc" protocol.
|
||||||
| xfer/ | Root of unit tests for Xfer plugin.
|
| xfer/ | Root of unit tests for Xfer plugin.
|
||||||
@@ -572,7 +521,7 @@ Example in C:
|
|||||||
/*
|
/*
|
||||||
* weechat.c - core functions for WeeChat
|
* weechat.c - core functions for WeeChat
|
||||||
*
|
*
|
||||||
* Copyright (C) 2024 Your Name <your@email.com>
|
* Copyright (C) 2023 Your Name <your@email.com>
|
||||||
*
|
*
|
||||||
* This file is part of WeeChat, the extensible chat client.
|
* This file is part of WeeChat, the extensible chat client.
|
||||||
*
|
*
|
||||||
@@ -596,8 +545,9 @@ Example in C:
|
|||||||
|
|
||||||
Some basic rules you *must* follow when you write C code:
|
Some basic rules you *must* follow when you write C code:
|
||||||
|
|
||||||
* Use 4 spaces for indentation (no tabs).
|
* Use 4 spaces for indentation. Don't use tabs, they are evil.
|
||||||
* Try to not exceed 80 chars by line, except if this is needed to increase readability.
|
* Try to not exceed 80 chars by line, except if this is needed to increase
|
||||||
|
readability.
|
||||||
* Use comments `+/* comment */+` (not C99-style comments like `+// comment+`).
|
* Use comments `+/* comment */+` (not C99-style comments like `+// comment+`).
|
||||||
* Add a comment before any function, to explain what it does (always use a
|
* Add a comment before any function, to explain what it does (always use a
|
||||||
multi-line comment, even if description is very short).
|
multi-line comment, even if description is very short).
|
||||||
@@ -809,7 +759,7 @@ Examples:
|
|||||||
[width="100%",cols="2m,3",options="header"]
|
[width="100%",cols="2m,3",options="header"]
|
||||||
|===
|
|===
|
||||||
| Directory | Files
|
| Directory | Files
|
||||||
| src/core/ | weechat.c, core-backtrace.c, core-command.c, ...
|
| src/core/ | weechat.c, wee-backtrace.c, wee-command.c, ...
|
||||||
| src/gui/ | gui-bar.c, gui-bar-item.c, gui-bar-window.c, ...
|
| src/gui/ | gui-bar.c, gui-bar-item.c, gui-bar-window.c, ...
|
||||||
| src/gui/curses/ | gui-curses-bar.c, gui-curses-bar-window.c, gui-curses-chat.c, ...
|
| src/gui/curses/ | gui-curses-bar.c, gui-curses-bar-window.c, gui-curses-chat.c, ...
|
||||||
| src/plugins/ | plugin.c, plugin-api.c, plugin-api-info.c, plugin-config.c, plugin-script.c, ...
|
| src/plugins/ | plugin.c, plugin-api.c, plugin-api-info.c, plugin-config.c, plugin-script.c, ...
|
||||||
@@ -817,8 +767,8 @@ Examples:
|
|||||||
| src/plugins/python/ | weechat-python.c, weechat-python-api.c, ...
|
| src/plugins/python/ | weechat-python.c, weechat-python-api.c, ...
|
||||||
|===
|
|===
|
||||||
|
|
||||||
The headers of C files have same name as file, for example _core-command.h_ for
|
The headers of C files have same name as file, for example _wee-command.h_ for
|
||||||
file _core-command.c_.
|
file _wee-command.c_.
|
||||||
|
|
||||||
[[naming_convention_structures]]
|
[[naming_convention_structures]]
|
||||||
==== Structures
|
==== Structures
|
||||||
|
|||||||
+24
-75
@@ -583,31 +583,6 @@ If you are using the macOS Terminal app, enable the option
|
|||||||
"Use option as meta key" in menu Settings/Keyboard after which you can use the
|
"Use option as meta key" in menu Settings/Keyboard after which you can use the
|
||||||
kbd:[Option] key as meta key.
|
kbd:[Option] key as meta key.
|
||||||
|
|
||||||
[[enter_key]]
|
|
||||||
=== Some keys including Enter are not working, why?
|
|
||||||
|
|
||||||
If you run a WeeChat < 4.0.0 with configuration files created by any
|
|
||||||
version ≥ 4.0.0, the keys names become invalid and many keys won't work at all. +
|
|
||||||
To repair them, exit WeeChat, remove all sections `[key*]` from weechat.conf
|
|
||||||
and start WeeChat again: all default keys will be created.
|
|
||||||
|
|
||||||
[[key_f11]]
|
|
||||||
=== Key F11 maximizes the terminal window, how can I scroll up the nicklist?
|
|
||||||
|
|
||||||
The key kbd:[F11] is commonly used by terminals to maximize the window, and
|
|
||||||
kbd:[F11]/kbd:[F12] are the default keys in WeeChat to scroll the nicklist.
|
|
||||||
|
|
||||||
You can bind other keys, for example kbd:[Shift+F11] and kbd:[Shift+F12],
|
|
||||||
with WeeChat ≥ 4.0.0:
|
|
||||||
|
|
||||||
----
|
|
||||||
/key bind shift-f11 /bar scroll nicklist * -100%
|
|
||||||
/key bind shift-f12 /bar scroll nicklist * +100%
|
|
||||||
----
|
|
||||||
|
|
||||||
Other solution is to enable mouse (key: kbd:[Alt+m]) and scroll with the mouse
|
|
||||||
wheel (see also questions about <<mouse,mouse>>).
|
|
||||||
|
|
||||||
[[customize_key_bindings]]
|
[[customize_key_bindings]]
|
||||||
=== How can I customize key bindings?
|
=== How can I customize key bindings?
|
||||||
|
|
||||||
@@ -637,12 +612,6 @@ commands like `/123` to jump to buffer #123:
|
|||||||
/trigger add numberjump modifier "2000|input_text_for_buffer" "${tg_string} =~ ^/[0-9]+$" "=\/([0-9]+)=/buffer *${re:1}=" "" "" "none"
|
/trigger add numberjump modifier "2000|input_text_for_buffer" "${tg_string} =~ ^/[0-9]+$" "=\/([0-9]+)=/buffer *${re:1}=" "" "" "none"
|
||||||
----
|
----
|
||||||
|
|
||||||
For an easy jump to buffers, you can also install the _go.py_ script:
|
|
||||||
|
|
||||||
----
|
|
||||||
/script install go.py
|
|
||||||
----
|
|
||||||
|
|
||||||
[[global_history]]
|
[[global_history]]
|
||||||
=== How to use global history (instead of buffer history) with up and down keys?
|
=== How to use global history (instead of buffer history) with up and down keys?
|
||||||
|
|
||||||
@@ -950,20 +919,35 @@ link:weechat_user.en.html#max_hotlist_level_nicks[hotlist_max_level_nicks_add ^
|
|||||||
buffer property to set the max hotlist level for some nicks, per buffer,
|
buffer property to set the max hotlist level for some nicks, per buffer,
|
||||||
or per group of buffers (like IRC servers).
|
or per group of buffers (like IRC servers).
|
||||||
|
|
||||||
To only disable highlights, you'd have to set it to 2.
|
To only disable highlights, you'd have to set it to 2:
|
||||||
|
|
||||||
For the current buffer:
|
|
||||||
|
|
||||||
----
|
----
|
||||||
/buffer setauto hotlist_max_level_nicks_add joe:2,mike:2
|
/buffer set hotlist_max_level_nicks_add joe:2,mike:2
|
||||||
----
|
----
|
||||||
|
|
||||||
For all channels on server "libera":
|
This buffer property isn't stored in the configuration though.
|
||||||
|
To automatically reapply these buffer properties, you would need the
|
||||||
|
_buffer_autoset.py_ script:
|
||||||
|
|
||||||
----
|
----
|
||||||
/set weechat.buffer.irc.libera.*.hotlist_max_level_nicks_add joe:2,mike:2
|
/script install buffer_autoset.py
|
||||||
----
|
----
|
||||||
|
|
||||||
|
For example, to permanently disable highlights from "mike" on #weechat
|
||||||
|
on the IRC server libera:
|
||||||
|
|
||||||
|
----
|
||||||
|
/buffer_autoset add irc.libera.#weechat hotlist_max_level_nicks_add mike:2
|
||||||
|
----
|
||||||
|
|
||||||
|
To apply it to the entire libera server instead:
|
||||||
|
|
||||||
|
----
|
||||||
|
/buffer_autoset add irc.libera hotlist_max_level_nicks_add mike:2
|
||||||
|
----
|
||||||
|
|
||||||
|
For more examples, see `+/help buffer_autoset+`.
|
||||||
|
|
||||||
[[irc_target_buffer]]
|
[[irc_target_buffer]]
|
||||||
=== How can I change target buffer for commands on merged buffers (like buffer with servers)?
|
=== How can I change target buffer for commands on merged buffers (like buffer with servers)?
|
||||||
|
|
||||||
@@ -1090,8 +1074,7 @@ You can try following tips to consume less memory:
|
|||||||
|
|
||||||
You can follow same tips as for <<memory_usage,memory>>, and these ones:
|
You can follow same tips as for <<memory_usage,memory>>, and these ones:
|
||||||
|
|
||||||
* Hide "nicklist" bar: `/bar hide nicklist` (key: kbd:[Alt+Shift+N]).
|
* Hide "nicklist" bar: `/bar hide nicklist`.
|
||||||
* Disable "buflist": `/buflist disable` (key: kbd:[Alt+Shift+B]).
|
|
||||||
* Remove display of seconds in status bar time:
|
* Remove display of seconds in status bar time:
|
||||||
`+/set weechat.look.item_time_format "%H:%M"+` (this is the default value).
|
`+/set weechat.look.item_time_format "%H:%M"+` (this is the default value).
|
||||||
* Disable real time check of misspelled words in command line (if you enabled it):
|
* Disable real time check of misspelled words in command line (if you enabled it):
|
||||||
@@ -1113,20 +1096,14 @@ Disable answers to all CTCP queries:
|
|||||||
|
|
||||||
----
|
----
|
||||||
/set irc.ctcp.clientinfo ""
|
/set irc.ctcp.clientinfo ""
|
||||||
|
/set irc.ctcp.finger ""
|
||||||
/set irc.ctcp.source ""
|
/set irc.ctcp.source ""
|
||||||
/set irc.ctcp.time ""
|
/set irc.ctcp.time ""
|
||||||
|
/set irc.ctcp.userinfo ""
|
||||||
/set irc.ctcp.version ""
|
/set irc.ctcp.version ""
|
||||||
/set irc.ctcp.ping ""
|
/set irc.ctcp.ping ""
|
||||||
----
|
----
|
||||||
|
|
||||||
With WeeChat < 4.1.0, other CTCP queries were replied by default and must be
|
|
||||||
disabled as well:
|
|
||||||
|
|
||||||
----
|
|
||||||
/set irc.ctcp.finger ""
|
|
||||||
/set irc.ctcp.userinfo ""
|
|
||||||
----
|
|
||||||
|
|
||||||
Unload and disable auto-loading of "xfer" plugin (used for IRC DCC):
|
Unload and disable auto-loading of "xfer" plugin (used for IRC DCC):
|
||||||
|
|
||||||
----
|
----
|
||||||
@@ -1161,34 +1138,6 @@ stored in _sec.conf_ with the `/secure` command).
|
|||||||
See the link:weechat_user.en.html#files_and_directories[User's guide / Files and directories ^↗^^]
|
See the link:weechat_user.en.html#files_and_directories[User's guide / Files and directories ^↗^^]
|
||||||
for more information about configuration files.
|
for more information about configuration files.
|
||||||
|
|
||||||
[[move_to_another_device]]
|
|
||||||
=== I want to move my WeeChat to another device and keep my config, what should I copy?
|
|
||||||
|
|
||||||
First check directories used by WeeChat with this command: `/debug dirs`. +
|
|
||||||
Directories home/config and home/data must be copied (all files and sub-directories).
|
|
||||||
|
|
||||||
For example if you're using XDG directories (default with WeeChat ≥ 3.2),
|
|
||||||
the directories should be `$HOME/.config/weechat` and `$HOME/.local/share/weechat`. +
|
|
||||||
If you're using a single directory (default with WeeChat < 3.2), the directory
|
|
||||||
should be `$HOME/.weechat`.
|
|
||||||
|
|
||||||
[IMPORTANT]
|
|
||||||
The WeeChat version on the new device must be greater than or equal to the version
|
|
||||||
on the initial device. +
|
|
||||||
Downgrading WeeChat configuration is *NOT SUPPORTED* and can break it,
|
|
||||||
leading to unusable WeeChat.
|
|
||||||
|
|
||||||
Steps:
|
|
||||||
|
|
||||||
. Quit Weechat: `/quit` (or `/upgrade -quit` if you want to resume the session,
|
|
||||||
which includes content of all buffers).
|
|
||||||
. Copy all directories, sub-directories and files to the new device, keeping
|
|
||||||
same names and permissions.
|
|
||||||
. Optional: copy any file outside these directories that you refer to in your
|
|
||||||
configuration (it's not recommended to use files outside WeeChat directories).
|
|
||||||
. Start WeeChat on the new device: `weechat` (or `weechat --upgrade` if you
|
|
||||||
saved the session).
|
|
||||||
|
|
||||||
[[development]]
|
[[development]]
|
||||||
== Development
|
== Development
|
||||||
|
|
||||||
|
|||||||
+180
-1099
File diff suppressed because it is too large
Load Diff
@@ -488,9 +488,7 @@ hda:
|
|||||||
'buffer': 'ptr',
|
'buffer': 'ptr',
|
||||||
'y': 'int',
|
'y': 'int',
|
||||||
'date': 'tim',
|
'date': 'tim',
|
||||||
'date_usec': 'int',
|
|
||||||
'date_printed': 'tim',
|
'date_printed': 'tim',
|
||||||
'date_usec_printed': 'int',
|
|
||||||
'str_time': 'str',
|
'str_time': 'str',
|
||||||
'tags_count': 'int',
|
'tags_count': 'int',
|
||||||
'tags_array': 'arr',
|
'tags_array': 'arr',
|
||||||
@@ -508,9 +506,7 @@ hda:
|
|||||||
buffer: '0x558d61ea3e60'
|
buffer: '0x558d61ea3e60'
|
||||||
y: -1
|
y: -1
|
||||||
date: 1588404926
|
date: 1588404926
|
||||||
date_usec: 118712
|
|
||||||
date_printed: 1588404926
|
date_printed: 1588404926
|
||||||
date_usec_printed: 118712
|
|
||||||
str_time: 'F@0025209F@0024535F@0024026'
|
str_time: 'F@0025209F@0024535F@0024026'
|
||||||
tags_count: 0
|
tags_count: 0
|
||||||
tags_array: []
|
tags_array: []
|
||||||
@@ -526,9 +522,7 @@ hda:
|
|||||||
buffer: '0x558d61ea3e60'
|
buffer: '0x558d61ea3e60'
|
||||||
y: -1
|
y: -1
|
||||||
date: 1588404930
|
date: 1588404930
|
||||||
date_usec: 25
|
|
||||||
date_printed: 1588404930
|
date_printed: 1588404930
|
||||||
date_usec_printed: 25
|
|
||||||
str_time: 'F@0025209F@0024535F@0024030'
|
str_time: 'F@0025209F@0024535F@0024030'
|
||||||
tags_count: 0
|
tags_count: 0
|
||||||
tags_array: []
|
tags_array: []
|
||||||
@@ -707,7 +701,6 @@ inl:
|
|||||||
nicklist_visible_count: 0
|
nicklist_visible_count: 0
|
||||||
title: 'WeeChat 2.9-dev (C) 2003-2020 - https://weechat.org/'
|
title: 'WeeChat 2.9-dev (C) 2003-2020 - https://weechat.org/'
|
||||||
input: 1
|
input: 1
|
||||||
input_get_any_user_data: 0
|
|
||||||
input_get_unknown_commands: 0
|
input_get_unknown_commands: 0
|
||||||
input_get_empty: 0
|
input_get_empty: 0
|
||||||
input_multiline: 0
|
input_multiline: 0
|
||||||
@@ -719,14 +712,11 @@ inl:
|
|||||||
input_buffer_1st_display: 0
|
input_buffer_1st_display: 0
|
||||||
num_history: 0
|
num_history: 0
|
||||||
text_search: 0
|
text_search: 0
|
||||||
text_search_direction: 0
|
|
||||||
text_search_exact: 0
|
text_search_exact: 0
|
||||||
text_search_regex: 0
|
text_search_regex: 0
|
||||||
text_search_regex_compiled: '0x0'
|
text_search_regex_compiled: '0x0'
|
||||||
text_search_where: 0
|
text_search_where: 0
|
||||||
text_search_history: 0
|
|
||||||
text_search_found: 0
|
text_search_found: 0
|
||||||
text_search_ptr_history: '0x0'
|
|
||||||
text_search_input: None
|
text_search_input: None
|
||||||
highlight_words: None
|
highlight_words: None
|
||||||
highlight_disable_regex: None
|
highlight_disable_regex: None
|
||||||
@@ -2060,9 +2050,7 @@ Data sent as hdata:
|
|||||||
| Name | Type | Description
|
| Name | Type | Description
|
||||||
| buffer | pointer | Buffer pointer.
|
| buffer | pointer | Buffer pointer.
|
||||||
| date | time | Date of message.
|
| date | time | Date of message.
|
||||||
| date_usec | integer | Microseconds of date.
|
|
||||||
| date_printed | time | Date when WeeChat displayed message.
|
| date_printed | time | Date when WeeChat displayed message.
|
||||||
| date_usec_printed | integer | Microseconds of date when WeeChat displayed message.
|
|
||||||
| displayed | char | 1 if message is displayed, 0 if message is filtered (hidden).
|
| displayed | char | 1 if message is displayed, 0 if message is filtered (hidden).
|
||||||
| notify_level | char | Notify level: -1 = notify disabled, 0 = low, 1 = message, 2 = private, 3 = highlight.
|
| notify_level | char | Notify level: -1 = notify disabled, 0 = low, 1 = message, 2 = private, 3 = highlight.
|
||||||
| highlight | char | 1 if line has a highlight, otherwise 0.
|
| highlight | char | 1 if line has a highlight, otherwise 0.
|
||||||
@@ -2080,9 +2068,7 @@ hda:
|
|||||||
keys: {
|
keys: {
|
||||||
'buffer': 'ptr',
|
'buffer': 'ptr',
|
||||||
'date': 'tim',
|
'date': 'tim',
|
||||||
'date_usec': 'int',
|
|
||||||
'date_printed': 'tim',
|
'date_printed': 'tim',
|
||||||
'date_usec_printed': 'int',
|
|
||||||
'displayed': 'chr',
|
'displayed': 'chr',
|
||||||
'notify_level': 'chr',
|
'notify_level': 'chr',
|
||||||
'highlight': 'chr',
|
'highlight': 'chr',
|
||||||
@@ -2095,9 +2081,7 @@ hda:
|
|||||||
__path: ['0x4a49600']
|
__path: ['0x4a49600']
|
||||||
buffer: '0x4a715d0'
|
buffer: '0x4a715d0'
|
||||||
date: 1362728993
|
date: 1362728993
|
||||||
date_usec: 902765
|
|
||||||
date_printed: 1362728993
|
date_printed: 1362728993
|
||||||
date_usec_printed: 902765
|
|
||||||
displayed: 1
|
displayed: 1
|
||||||
notify_level: 1
|
notify_level: 1
|
||||||
highlight: 0
|
highlight: 0
|
||||||
|
|||||||
@@ -549,14 +549,315 @@ link:weechat_plugin_api.en.html[WeeChat plugin API reference ^↗^^].
|
|||||||
|
|
||||||
List of functions in script API:
|
List of functions in script API:
|
||||||
|
|
||||||
include::{autogendir}/autogen_scripting_functions.en.adoc[tag=functions]
|
[width="100%",cols="1,5",options="header"]
|
||||||
|
|===
|
||||||
|
| Category | Functions
|
||||||
|
|
||||||
|
| general
|
||||||
|
| register
|
||||||
|
|
||||||
|
| plugins
|
||||||
|
| plugin_get_name
|
||||||
|
|
||||||
|
| strings
|
||||||
|
| charset_set +
|
||||||
|
iconv_to_internal +
|
||||||
|
iconv_from_internal +
|
||||||
|
gettext +
|
||||||
|
ngettext +
|
||||||
|
strlen_screen +
|
||||||
|
string_match +
|
||||||
|
string_match_list +
|
||||||
|
string_has_highlight +
|
||||||
|
string_has_highlight_regex +
|
||||||
|
string_mask_to_regex +
|
||||||
|
string_format_size +
|
||||||
|
string_parse_size +
|
||||||
|
string_color_code_size +
|
||||||
|
string_remove_color +
|
||||||
|
string_is_command_char +
|
||||||
|
string_input_for_buffer +
|
||||||
|
string_eval_expression +
|
||||||
|
string_eval_path_home
|
||||||
|
|
||||||
|
| directories
|
||||||
|
| mkdir_home +
|
||||||
|
mkdir +
|
||||||
|
mkdir_parents
|
||||||
|
|
||||||
|
| sorted lists
|
||||||
|
| list_new +
|
||||||
|
list_add +
|
||||||
|
list_search +
|
||||||
|
list_search_pos +
|
||||||
|
list_casesearch +
|
||||||
|
list_casesearch_pos +
|
||||||
|
list_get +
|
||||||
|
list_set +
|
||||||
|
list_next +
|
||||||
|
list_prev +
|
||||||
|
list_string +
|
||||||
|
list_size +
|
||||||
|
list_remove +
|
||||||
|
list_remove_all +
|
||||||
|
list_free
|
||||||
|
|
||||||
|
| configuration files
|
||||||
|
| config_new +
|
||||||
|
config_new_section +
|
||||||
|
config_search_section +
|
||||||
|
config_new_option +
|
||||||
|
config_search_option +
|
||||||
|
config_string_to_boolean +
|
||||||
|
config_option_reset +
|
||||||
|
config_option_set +
|
||||||
|
config_option_set_null +
|
||||||
|
config_option_unset +
|
||||||
|
config_option_rename +
|
||||||
|
config_option_is_null +
|
||||||
|
config_option_default_is_null +
|
||||||
|
config_boolean +
|
||||||
|
config_boolean_default +
|
||||||
|
config_integer +
|
||||||
|
config_integer_default +
|
||||||
|
config_string +
|
||||||
|
config_string_default +
|
||||||
|
config_color +
|
||||||
|
config_color_default +
|
||||||
|
config_write_option +
|
||||||
|
config_write_line +
|
||||||
|
config_write +
|
||||||
|
config_read +
|
||||||
|
config_reload +
|
||||||
|
config_option_free +
|
||||||
|
config_section_free_options +
|
||||||
|
config_section_free +
|
||||||
|
config_free +
|
||||||
|
config_get +
|
||||||
|
config_get_plugin +
|
||||||
|
config_is_set_plugin +
|
||||||
|
config_set_plugin +
|
||||||
|
config_set_desc_plugin +
|
||||||
|
config_unset_plugin
|
||||||
|
|
||||||
|
| key bindings
|
||||||
|
| key_bind +
|
||||||
|
key_unbind
|
||||||
|
|
||||||
|
| display
|
||||||
|
| prefix +
|
||||||
|
color +
|
||||||
|
print (for python: prnt) +
|
||||||
|
print_date_tags (for python: prnt_date_tags) +
|
||||||
|
print_y (for python: prnt_y) +
|
||||||
|
print_y_date_tags (for python: prnt_y_date_tags) +
|
||||||
|
log_print
|
||||||
|
|
||||||
|
| hooks
|
||||||
|
| hook_command +
|
||||||
|
hook_command_run +
|
||||||
|
hook_timer +
|
||||||
|
hook_fd +
|
||||||
|
hook_process +
|
||||||
|
hook_process_hashtable +
|
||||||
|
hook_connect +
|
||||||
|
hook_line +
|
||||||
|
hook_print +
|
||||||
|
hook_signal +
|
||||||
|
hook_signal_send +
|
||||||
|
hook_hsignal +
|
||||||
|
hook_hsignal_send +
|
||||||
|
hook_config +
|
||||||
|
hook_completion +
|
||||||
|
hook_modifier +
|
||||||
|
hook_modifier_exec +
|
||||||
|
hook_info +
|
||||||
|
hook_info_hashtable +
|
||||||
|
hook_infolist +
|
||||||
|
hook_focus +
|
||||||
|
hook_set +
|
||||||
|
unhook +
|
||||||
|
unhook_all
|
||||||
|
|
||||||
|
| buffers
|
||||||
|
| buffer_new +
|
||||||
|
buffer_new_props +
|
||||||
|
current_buffer +
|
||||||
|
buffer_search +
|
||||||
|
buffer_search_main +
|
||||||
|
buffer_clear +
|
||||||
|
buffer_close +
|
||||||
|
buffer_merge +
|
||||||
|
buffer_unmerge +
|
||||||
|
buffer_get_integer +
|
||||||
|
buffer_get_string +
|
||||||
|
buffer_get_pointer +
|
||||||
|
buffer_set +
|
||||||
|
buffer_string_replace_local_var +
|
||||||
|
buffer_match_list
|
||||||
|
|
||||||
|
| windows
|
||||||
|
| current_window +
|
||||||
|
window_search_with_buffer +
|
||||||
|
window_get_integer +
|
||||||
|
window_get_string +
|
||||||
|
window_get_pointer +
|
||||||
|
window_set_title
|
||||||
|
|
||||||
|
| nicklist
|
||||||
|
| nicklist_add_group +
|
||||||
|
nicklist_search_group +
|
||||||
|
nicklist_add_nick +
|
||||||
|
nicklist_search_nick +
|
||||||
|
nicklist_remove_group +
|
||||||
|
nicklist_remove_nick +
|
||||||
|
nicklist_remove_all +
|
||||||
|
nicklist_group_get_integer +
|
||||||
|
nicklist_group_get_string +
|
||||||
|
nicklist_group_get_pointer +
|
||||||
|
nicklist_group_set +
|
||||||
|
nicklist_nick_get_integer +
|
||||||
|
nicklist_nick_get_string +
|
||||||
|
nicklist_nick_get_pointer +
|
||||||
|
nicklist_nick_set
|
||||||
|
|
||||||
|
| bars
|
||||||
|
| bar_item_search +
|
||||||
|
bar_item_new +
|
||||||
|
bar_item_update +
|
||||||
|
bar_item_remove +
|
||||||
|
bar_search +
|
||||||
|
bar_new +
|
||||||
|
bar_set +
|
||||||
|
bar_update +
|
||||||
|
bar_remove
|
||||||
|
|
||||||
|
| commands
|
||||||
|
| command +
|
||||||
|
command_options
|
||||||
|
|
||||||
|
| completion
|
||||||
|
| completion_new +
|
||||||
|
completion_search +
|
||||||
|
completion_get_string +
|
||||||
|
completion_list_add +
|
||||||
|
completion_free
|
||||||
|
|
||||||
|
| infos
|
||||||
|
| info_get +
|
||||||
|
info_get_hashtable
|
||||||
|
|
||||||
|
| infolists
|
||||||
|
| infolist_new +
|
||||||
|
infolist_new_item +
|
||||||
|
infolist_new_var_integer +
|
||||||
|
infolist_new_var_string +
|
||||||
|
infolist_new_var_pointer +
|
||||||
|
infolist_new_var_time +
|
||||||
|
infolist_get +
|
||||||
|
infolist_next +
|
||||||
|
infolist_prev +
|
||||||
|
infolist_reset_item_cursor +
|
||||||
|
infolist_search_var +
|
||||||
|
infolist_fields +
|
||||||
|
infolist_integer +
|
||||||
|
infolist_string +
|
||||||
|
infolist_pointer +
|
||||||
|
infolist_time +
|
||||||
|
infolist_free
|
||||||
|
|
||||||
|
| hdata
|
||||||
|
| hdata_get +
|
||||||
|
hdata_get_var_offset +
|
||||||
|
hdata_get_var_type_string +
|
||||||
|
hdata_get_var_array_size +
|
||||||
|
hdata_get_var_array_size_string +
|
||||||
|
hdata_get_var_hdata +
|
||||||
|
hdata_get_list +
|
||||||
|
hdata_check_pointer +
|
||||||
|
hdata_move +
|
||||||
|
hdata_search +
|
||||||
|
hdata_char +
|
||||||
|
hdata_integer +
|
||||||
|
hdata_long +
|
||||||
|
hdata_string +
|
||||||
|
hdata_pointer +
|
||||||
|
hdata_time +
|
||||||
|
hdata_hashtable +
|
||||||
|
hdata_compare +
|
||||||
|
hdata_update +
|
||||||
|
hdata_get_string
|
||||||
|
|
||||||
|
| upgrade
|
||||||
|
| upgrade_new +
|
||||||
|
upgrade_write_object +
|
||||||
|
upgrade_read +
|
||||||
|
upgrade_close
|
||||||
|
|===
|
||||||
|
|
||||||
[[script_api_constants]]
|
[[script_api_constants]]
|
||||||
=== Constants
|
=== Constants
|
||||||
|
|
||||||
List of constants in script API:
|
List of constants in script API:
|
||||||
|
|
||||||
include::{autogendir}/autogen_scripting_constants.en.adoc[tag=constants]
|
[width="100%",cols="1,5",options="header"]
|
||||||
|
|===
|
||||||
|
| Category | Constants
|
||||||
|
|
||||||
|
| return codes
|
||||||
|
| `WEECHAT_RC_OK` (integer) +
|
||||||
|
`WEECHAT_RC_OK_EAT` (integer) +
|
||||||
|
`WEECHAT_RC_ERROR` (integer)
|
||||||
|
|
||||||
|
| configuration files
|
||||||
|
| `WEECHAT_CONFIG_READ_OK` (integer) +
|
||||||
|
`WEECHAT_CONFIG_READ_MEMORY_ERROR` (integer) +
|
||||||
|
`WEECHAT_CONFIG_READ_FILE_NOT_FOUND` (integer) +
|
||||||
|
`WEECHAT_CONFIG_WRITE_OK` (integer) +
|
||||||
|
`WEECHAT_CONFIG_WRITE_ERROR` (integer) +
|
||||||
|
`WEECHAT_CONFIG_WRITE_MEMORY_ERROR` (integer) +
|
||||||
|
`WEECHAT_CONFIG_OPTION_SET_OK_CHANGED` (integer) +
|
||||||
|
`WEECHAT_CONFIG_OPTION_SET_OK_SAME_VALUE` (integer) +
|
||||||
|
`WEECHAT_CONFIG_OPTION_SET_ERROR` (integer) +
|
||||||
|
`WEECHAT_CONFIG_OPTION_SET_OPTION_NOT_FOUND` (integer) +
|
||||||
|
`WEECHAT_CONFIG_OPTION_UNSET_OK_NO_RESET` (integer) +
|
||||||
|
`WEECHAT_CONFIG_OPTION_UNSET_OK_RESET` (integer) +
|
||||||
|
`WEECHAT_CONFIG_OPTION_UNSET_OK_REMOVED` (integer) +
|
||||||
|
`WEECHAT_CONFIG_OPTION_UNSET_ERROR` (integer)
|
||||||
|
|
||||||
|
| sorted lists
|
||||||
|
| `WEECHAT_LIST_POS_SORT` (string) +
|
||||||
|
`WEECHAT_LIST_POS_BEGINNING` (string) +
|
||||||
|
`WEECHAT_LIST_POS_END` (string)
|
||||||
|
|
||||||
|
| hotlist
|
||||||
|
| `WEECHAT_HOTLIST_LOW` (string) +
|
||||||
|
`WEECHAT_HOTLIST_MESSAGE` (string) +
|
||||||
|
`WEECHAT_HOTLIST_PRIVATE` (string) +
|
||||||
|
`WEECHAT_HOTLIST_HIGHLIGHT` (string)
|
||||||
|
|
||||||
|
| hook process
|
||||||
|
| `WEECHAT_HOOK_PROCESS_RUNNING` (integer) +
|
||||||
|
`WEECHAT_HOOK_PROCESS_ERROR` (integer)
|
||||||
|
|
||||||
|
| hook connect
|
||||||
|
| `WEECHAT_HOOK_CONNECT_OK` (integer) +
|
||||||
|
`WEECHAT_HOOK_CONNECT_ADDRESS_NOT_FOUND` (integer) +
|
||||||
|
`WEECHAT_HOOK_CONNECT_IP_ADDRESS_NOT_FOUND` (integer) +
|
||||||
|
`WEECHAT_HOOK_CONNECT_CONNECTION_REFUSED` (integer) +
|
||||||
|
`WEECHAT_HOOK_CONNECT_PROXY_ERROR` (integer) +
|
||||||
|
`WEECHAT_HOOK_CONNECT_LOCAL_HOSTNAME_ERROR` (integer) +
|
||||||
|
`WEECHAT_HOOK_CONNECT_GNUTLS_INIT_ERROR` (integer) +
|
||||||
|
`WEECHAT_HOOK_CONNECT_GNUTLS_HANDSHAKE_ERROR` (integer) +
|
||||||
|
`WEECHAT_HOOK_CONNECT_MEMORY_ERROR` (integer) +
|
||||||
|
`WEECHAT_HOOK_CONNECT_TIMEOUT` (integer) +
|
||||||
|
`WEECHAT_HOOK_CONNECT_SOCKET_ERROR` (integer)
|
||||||
|
|
||||||
|
| hook signal
|
||||||
|
| `WEECHAT_HOOK_SIGNAL_STRING` (string) +
|
||||||
|
`WEECHAT_HOOK_SIGNAL_INT` (string) +
|
||||||
|
`WEECHAT_HOOK_SIGNAL_POINTER` (string)
|
||||||
|
|===
|
||||||
|
|
||||||
[[common_tasks]]
|
[[common_tasks]]
|
||||||
== Common tasks
|
== Common tasks
|
||||||
|
|||||||
+155
-378
@@ -30,7 +30,7 @@ Main features are:
|
|||||||
https://datatracker.ietf.org/doc/html/rfc2812[2812 ^↗^^],
|
https://datatracker.ietf.org/doc/html/rfc2812[2812 ^↗^^],
|
||||||
https://datatracker.ietf.org/doc/html/rfc2813[2813 ^↗^^] and
|
https://datatracker.ietf.org/doc/html/rfc2813[2813 ^↗^^] and
|
||||||
https://datatracker.ietf.org/doc/html/rfc7194[7194 ^↗^^]
|
https://datatracker.ietf.org/doc/html/rfc7194[7194 ^↗^^]
|
||||||
* IRC proxy and relay for WeeChat and remote interfaces
|
* IRC proxy and relay for remote interfaces
|
||||||
* multi-platform (GNU/Linux, *BSD, macOS, Windows and other)
|
* multi-platform (GNU/Linux, *BSD, macOS, Windows and other)
|
||||||
* 100% GPL, free software
|
* 100% GPL, free software
|
||||||
|
|
||||||
@@ -113,7 +113,7 @@ WeeChat:
|
|||||||
| pkg-config |
|
| pkg-config |
|
||||||
| Detect installed libraries.
|
| Detect installed libraries.
|
||||||
|
|
||||||
| libncurses-dev |
|
| libncursesw5-dev ^(2)^ |
|
||||||
| Ncurses interface.
|
| Ncurses interface.
|
||||||
|
|
||||||
| libcurl4-gnutls-dev |
|
| libcurl4-gnutls-dev |
|
||||||
@@ -122,21 +122,27 @@ WeeChat:
|
|||||||
| libgcrypt20-dev |
|
| libgcrypt20-dev |
|
||||||
| Secured data, IRC SASL authentication.
|
| Secured data, IRC SASL authentication.
|
||||||
|
|
||||||
| libgnutls28-dev | ≥ 2.2.0 ^(2)^
|
| libgnutls28-dev | ≥ 2.2.0 ^(3)^
|
||||||
| IRC plugin: support of TLS connections, IRC SASL authentication (ECDSA-NIST256P-CHALLENGE). +
|
| IRC plugin: support of TLS connections, IRC SASL authentication (ECDSA-NIST256P-CHALLENGE). +
|
||||||
Relay plugin: support of TLS connections.
|
Relay plugin: support of TLS connections.
|
||||||
|
|
||||||
| zlib1g-dev |
|
| zlib1g-dev |
|
||||||
| Logger plugin: compression of rotated log files (gzip). +
|
| Logger plugin: compression of rotated log files (gzip). +
|
||||||
Relay plugin: compression of messages with https://zlib.net/[zlib ^↗^^]
|
Relay plugin: compression of messages (WeeChat -> client) with https://zlib.net/[zlib ^↗^^] (weechat protocol). +
|
||||||
(api and weechat protocols). +
|
|
||||||
Script plugin: read of repository index file (gzip).
|
Script plugin: read of repository index file (gzip).
|
||||||
|
|
||||||
|
| libzstd-dev | ≥ 0.8.1
|
||||||
|
| Logger plugin: compression of rotated log files. +
|
||||||
|
Relay plugin: compression of messages (WeeChat -> client) with https://facebook.github.io/zstd/[Zstandard ^↗^^] (weechat protocol).
|
||||||
|===
|
|===
|
||||||
|
|
||||||
[NOTE]
|
[NOTE]
|
||||||
^(1)^ Name comes from the Debian GNU/Linux Bookworm distribution, version and
|
^(1)^ Name comes from the Debian GNU/Linux Bookworm distribution, version and
|
||||||
name can be different in other distributions. +
|
name can be different in other distributions. +
|
||||||
^(2)^ GnuTLS ≥ 3.0.21 is required for IRC SASL authentication with mechanism
|
^(2)^ It is recommended to compile with libncurses**w**5-dev (the *w* is
|
||||||
|
important). WeeChat can compile with libncurses5-dev, but it is *NOT* recommended:
|
||||||
|
you may experience display bugs with wide chars. +
|
||||||
|
^(3)^ GnuTLS ≥ 3.0.21 is required for IRC SASL authentication with mechanism
|
||||||
ECDSA-NIST256P-CHALLENGE.
|
ECDSA-NIST256P-CHALLENGE.
|
||||||
|
|
||||||
The following table shows the list of packages that are optional to compile
|
The following table shows the list of packages that are optional to compile
|
||||||
@@ -145,71 +151,25 @@ WeeChat:
|
|||||||
[width="100%",cols="5,^3,.^15",options="header"]
|
[width="100%",cols="5,^3,.^15",options="header"]
|
||||||
|===
|
|===
|
||||||
| Package ^(1)^ | Version | Features
|
| Package ^(1)^ | Version | Features
|
||||||
|
| {cpp} compiler (pass:[g++ / clang++]) | | Build and run tests, JavaScript plugin.
|
||||||
| {cpp} compiler (pass:[g++ / clang++]) |
|
| gettext | | Internationalization (translation of messages; base language is English).
|
||||||
| Build and run tests, JavaScript plugin.
|
| ca-certificates | | Certificates for TLS connections.
|
||||||
|
| libaspell-dev / libenchant-dev | | Spell plugin.
|
||||||
| gettext |
|
| python3-dev | ≥ 3.0 | Python plugin.
|
||||||
| Internationalization (translation of messages; base language is English).
|
| libperl-dev | | Perl plugin.
|
||||||
|
| ruby3.1, ruby3.1-dev | ≥ 1.9.1 | Ruby plugin.
|
||||||
| ca-certificates |
|
| liblua5.4-dev | | Lua plugin.
|
||||||
| Certificates for TLS connections.
|
| tcl-dev | ≥ 8.5 | Tcl plugin.
|
||||||
|
| guile-3.0-dev | ≥ 2.0 | Guile (scheme) plugin.
|
||||||
| libcjson-dev |
|
| libv8-dev | ≤ 3.24.3 | JavaScript plugin.
|
||||||
| Relay plugin: protocol "api" (HTTP REST API).
|
| php-dev | ≥ 7.0 | PHP plugin.
|
||||||
|
| libphp-embed | ≥ 7.0 | PHP plugin.
|
||||||
| libzstd-dev | ≥ 0.8.1
|
| libxml2-dev | | PHP plugin.
|
||||||
| Logger plugin: compression of rotated log files (zstandard). +
|
| libargon2-dev | | PHP plugin (if PHP ≥ 7.2).
|
||||||
Relay plugin: compression of messages with https://facebook.github.io/zstd/[Zstandard ^↗^^]
|
| libsodium-dev | | PHP plugin (if PHP ≥ 7.2).
|
||||||
(api and weechat protocols).
|
| asciidoctor | ≥ 1.5.4 | Build man page and documentation.
|
||||||
|
| ruby-pygments.rb | | Build documentation.
|
||||||
| libaspell-dev / libenchant-dev |
|
| libcpputest-dev | ≥ 3.4 | Build and run tests.
|
||||||
| Spell plugin.
|
|
||||||
|
|
||||||
| python3-dev | ≥ 3.0
|
|
||||||
| Python plugin.
|
|
||||||
|
|
||||||
| libperl-dev |
|
|
||||||
| Perl plugin.
|
|
||||||
|
|
||||||
| ruby3.1, ruby3.1-dev | ≥ 1.9.1
|
|
||||||
| Ruby plugin.
|
|
||||||
|
|
||||||
| liblua5.4-dev |
|
|
||||||
| Lua plugin.
|
|
||||||
|
|
||||||
| tcl-dev | ≥ 8.5
|
|
||||||
| Tcl plugin.
|
|
||||||
|
|
||||||
| guile-3.0-dev | ≥ 2.0
|
|
||||||
| Guile (scheme) plugin.
|
|
||||||
|
|
||||||
| libv8-dev | ≤ 3.24.3
|
|
||||||
| JavaScript plugin.
|
|
||||||
|
|
||||||
| php-dev | ≥ 7.0
|
|
||||||
| PHP plugin.
|
|
||||||
|
|
||||||
| libphp-embed | ≥ 7.0
|
|
||||||
| PHP plugin.
|
|
||||||
|
|
||||||
| libxml2-dev |
|
|
||||||
| PHP plugin.
|
|
||||||
|
|
||||||
| libargon2-dev |
|
|
||||||
| PHP plugin (if PHP ≥ 7.2).
|
|
||||||
|
|
||||||
| libsodium-dev |
|
|
||||||
| PHP plugin (if PHP ≥ 7.2).
|
|
||||||
|
|
||||||
| asciidoctor | ≥ 1.5.4
|
|
||||||
| Build man page and documentation.
|
|
||||||
|
|
||||||
| ruby-pygments.rb |
|
|
||||||
| Build documentation.
|
|
||||||
|
|
||||||
| libcpputest-dev | ≥ 3.4
|
|
||||||
| Build and run tests.
|
|
||||||
|===
|
|===
|
||||||
|
|
||||||
[NOTE]
|
[NOTE]
|
||||||
@@ -249,7 +209,7 @@ $ make install
|
|||||||
|
|
||||||
Options can be used for CMake, with format: `-DOPTION=VALUE`.
|
Options can be used for CMake, with format: `-DOPTION=VALUE`.
|
||||||
|
|
||||||
List of available options:
|
List of commonly used options:
|
||||||
|
|
||||||
[width="100%",cols="3m,3,3m,10",options="header"]
|
[width="100%",cols="3m,3,3m,10",options="header"]
|
||||||
|===
|
|===
|
||||||
@@ -278,9 +238,6 @@ List of available options:
|
|||||||
| ENABLE_CHARSET | `ON`, `OFF` | ON
|
| ENABLE_CHARSET | `ON`, `OFF` | ON
|
||||||
| Compile <<charset,Charset plugin>>.
|
| Compile <<charset,Charset plugin>>.
|
||||||
|
|
||||||
| ENABLE_CJSON | `ON`, `OFF` | ON
|
|
||||||
| Support of JSON with https://github.com/DaveGamble/cJSON[cJSON ^↗^^] library.
|
|
||||||
|
|
||||||
| ENABLE_MAN | `ON`, `OFF` | OFF
|
| ENABLE_MAN | `ON`, `OFF` | OFF
|
||||||
| Build man page.
|
| Build man page.
|
||||||
|
|
||||||
@@ -306,9 +263,6 @@ List of available options:
|
|||||||
| ENABLE_GUILE | `ON`, `OFF` | ON
|
| ENABLE_GUILE | `ON`, `OFF` | ON
|
||||||
| Compile <<scripting_plugins,Guile plugin>> (Scheme).
|
| Compile <<scripting_plugins,Guile plugin>> (Scheme).
|
||||||
|
|
||||||
| ENABLE_HEADLESS | `ON`, `OFF` | ON
|
|
||||||
| Compile headless binary.
|
|
||||||
|
|
||||||
| ENABLE_IRC | `ON`, `OFF` | ON
|
| ENABLE_IRC | `ON`, `OFF` | ON
|
||||||
| Compile <<irc,IRC plugin>>.
|
| Compile <<irc,IRC plugin>>.
|
||||||
|
|
||||||
@@ -367,9 +321,6 @@ List of available options:
|
|||||||
| ENABLE_XFER | `ON`, `OFF` | ON
|
| ENABLE_XFER | `ON`, `OFF` | ON
|
||||||
| Compile <<xfer,Xfer plugin>>.
|
| Compile <<xfer,Xfer plugin>>.
|
||||||
|
|
||||||
| ENABLE_ZSTD | `ON`, `OFF` | ON
|
|
||||||
| Enable https://facebook.github.io/zstd/[Zstandard ^↗^^] compression.
|
|
||||||
|
|
||||||
| ENABLE_TESTS | `ON`, `OFF` | OFF
|
| ENABLE_TESTS | `ON`, `OFF` | OFF
|
||||||
| Compile tests.
|
| Compile tests.
|
||||||
|
|
||||||
@@ -528,11 +479,11 @@ Copying output to /tmp/crash.txt.
|
|||||||
at /some_path/src/core/weechat.c:351
|
at /some_path/src/core/weechat.c:351
|
||||||
#3 <signal handler called>
|
#3 <signal handler called>
|
||||||
#4 0x000000000044cb24 in hook_process_timer_cb (arg_hook_process=0x254eb90,
|
#4 0x000000000044cb24 in hook_process_timer_cb (arg_hook_process=0x254eb90,
|
||||||
remaining_calls=<value optimized out>) at /some_path/src/core/core-hook.c:1364
|
remaining_calls=<value optimized out>) at /some_path/src/core/wee-hook.c:1364
|
||||||
hook_process = 0x254eb90
|
hook_process = 0x254eb90
|
||||||
status = <value optimized out>
|
status = <value optimized out>
|
||||||
#5 0x000000000044cc7d in hook_timer_exec ()
|
#5 0x000000000044cc7d in hook_timer_exec ()
|
||||||
at /some_path/src/core/core-hook.c:1025
|
at /some_path/src/core/wee-hook.c:1025
|
||||||
tv_time = {tv_sec = 1272693881, tv_usec = 212665}
|
tv_time = {tv_sec = 1272693881, tv_usec = 212665}
|
||||||
ptr_hook = 0x2811f40
|
ptr_hook = 0x2811f40
|
||||||
next_hook = 0x0
|
next_hook = 0x0
|
||||||
@@ -922,30 +873,11 @@ Bar _input_ has following default items:
|
|||||||
| Item | Example | Description
|
| Item | Example | Description
|
||||||
| input_prompt | `[@Flashy(i)]` | Input prompt, for irc: nick and modes (mode "+i" means invisible on libera).
|
| input_prompt | `[@Flashy(i)]` | Input prompt, for irc: nick and modes (mode "+i" means invisible on libera).
|
||||||
| away | `(away)` | Away indicator.
|
| away | `(away)` | Away indicator.
|
||||||
| input_search | `[Search lines (~ str,msg)]` | Search indicator (see below)
|
| input_search | `[Search (~ str,msg)]` | Search indicator ("`~`": case insensitive, "`==`": case sensitive, "`str`": search string, "`regex`": search regular expression, "`msg`": search in messages, "`pre`": search in prefixes, "`pre\|msg`": search in prefixes and messages).
|
||||||
| input_paste | `[Paste 7 lines ? [ctrl-y] Yes [ctrl-n] No]` | Question to user for pasting lines.
|
| input_paste | `[Paste 7 lines ? [ctrl-y] Yes [ctrl-n] No]` | Question to user for pasting lines.
|
||||||
| input_text | `hi peter!` | Input text.
|
| input_text | `hi peter!` | Input text.
|
||||||
|===
|
|===
|
||||||
|
|
||||||
There are two search modes:
|
|
||||||
|
|
||||||
* search in lines, for example `[Search lines (~ str,msg)]`, with the following info:
|
|
||||||
** `~`: case insensitive
|
|
||||||
** `==`: case sensitive
|
|
||||||
** `str`: search string
|
|
||||||
** `regex`: search regular expression
|
|
||||||
** `msg`: search in messages
|
|
||||||
** `pre`: search in prefixes
|
|
||||||
** `pre\|msg`: search in prefixes and messages.
|
|
||||||
* search in commands history, for example `[Search command (~ str,local)]`,
|
|
||||||
with the following info:
|
|
||||||
** `~`: case insensitive
|
|
||||||
** `==`: case sensitive
|
|
||||||
** `str`: search string
|
|
||||||
** `regex`: search regular expression
|
|
||||||
** `local`: search in buffer local history
|
|
||||||
** `global`: search in global history.
|
|
||||||
|
|
||||||
Bar _nicklist_ has following default items:
|
Bar _nicklist_ has following default items:
|
||||||
|
|
||||||
[width="100%",cols="^3,^3,9",options="header"]
|
[width="100%",cols="^3,^3,9",options="header"]
|
||||||
@@ -966,8 +898,6 @@ Other items available (not used in bars by default):
|
|||||||
| buffer_short_name | `#test` | Current buffer short name.
|
| buffer_short_name | `#test` | Current buffer short name.
|
||||||
| buflist2 | `1.weechat` | List of buffers, second bar item (see option <<option_buflist.look.use_items,buflist.look.use_items>>).
|
| buflist2 | `1.weechat` | List of buffers, second bar item (see option <<option_buflist.look.use_items,buflist.look.use_items>>).
|
||||||
| buflist3 | `1.weechat` | List of buffers, third bar item (see option <<option_buflist.look.use_items,buflist.look.use_items>>).
|
| buflist3 | `1.weechat` | List of buffers, third bar item (see option <<option_buflist.look.use_items,buflist.look.use_items>>).
|
||||||
| buflist4 | `1.weechat` | List of buffers, fourth bar item (see option <<option_buflist.look.use_items,buflist.look.use_items>>).
|
|
||||||
| buflist5 | `1.weechat` | List of buffers, fifth bar item (see option <<option_buflist.look.use_items,buflist.look.use_items>>).
|
|
||||||
| fset | `+buflist.look.sort: …+` | Help on currently selected option on fset buffer.
|
| fset | `+buflist.look.sort: …+` | Help on currently selected option on fset buffer.
|
||||||
| irc_channel | `#test` | Current IRC channel name.
|
| irc_channel | `#test` | Current IRC channel name.
|
||||||
| irc_host | `+user@host.com+` | Current IRC host.
|
| irc_host | `+user@host.com+` | Current IRC host.
|
||||||
@@ -1034,11 +964,6 @@ follow (press kbd:[Ctrl+c] then following letter, with optional value):
|
|||||||
| kbd:[Ctrl+c], kbd:[c],
|
| kbd:[Ctrl+c], kbd:[c],
|
||||||
kbd:[xx], kbd:[,],
|
kbd:[xx], kbd:[,],
|
||||||
kbd:[yy] | Text color `xx` and background `yy` (see list of colors below).
|
kbd:[yy] | Text color `xx` and background `yy` (see list of colors below).
|
||||||
| kbd:[Ctrl+c], kbd:[d],
|
|
||||||
kbd:[xxxxxx] | Text color `xxxxxx` (RGB as hexadecimal, for example `FF0000` for red).
|
|
||||||
| kbd:[Ctrl+c], kbd:[d],
|
|
||||||
kbd:[xxxxxx], kbd:[,],
|
|
||||||
kbd:[yyyyyy] | Text color `xxxxxx` and background `yyyyyy` (RGB as hexadecimal).
|
|
||||||
| kbd:[Ctrl+c], kbd:[i] | Italic text.
|
| kbd:[Ctrl+c], kbd:[i] | Italic text.
|
||||||
| kbd:[Ctrl+c], kbd:[o] | Disable color and attributes.
|
| kbd:[Ctrl+c], kbd:[o] | Disable color and attributes.
|
||||||
| kbd:[Ctrl+c], kbd:[v] | Reverse video (revert text color with background).
|
| kbd:[Ctrl+c], kbd:[v] | Reverse video (revert text color with background).
|
||||||
@@ -1046,8 +971,8 @@ follow (press kbd:[Ctrl+c] then following letter, with optional value):
|
|||||||
|===
|
|===
|
||||||
|
|
||||||
[NOTE]
|
[NOTE]
|
||||||
The same code (without number for kbd:[Ctrl+c], kbd:[c] and kbd:[Ctrl+c], kbd:[d])
|
The same code (without number for kbd:[Ctrl+c], kbd:[c]) can be used to stop the
|
||||||
can be used to stop the attribute.
|
attribute.
|
||||||
|
|
||||||
Color codes for kbd:[Ctrl+c], kbd:[c] are:
|
Color codes for kbd:[Ctrl+c], kbd:[c] are:
|
||||||
|
|
||||||
@@ -1407,8 +1332,7 @@ By default WeeChat and its default plugins interpret these variables:
|
|||||||
|
|
||||||
| filter
|
| filter
|
||||||
| any string
|
| any string
|
||||||
| Filter defined on some buffers like `/fset`, `/list` (irc), `/server raw` (irc)
|
| Filter defined on some buffers like `/fset`, `/server raw` (irc) and `/script`.
|
||||||
and `/script`.
|
|
||||||
|
|
||||||
| host
|
| host
|
||||||
| any string
|
| any string
|
||||||
@@ -1491,8 +1415,7 @@ External plugins and scripts can define and use other local variables.
|
|||||||
=== List of buffers
|
=== List of buffers
|
||||||
|
|
||||||
Buflist plugin displays a list of buffers in a bar item called "buflist"
|
Buflist plugin displays a list of buffers in a bar item called "buflist"
|
||||||
(four other bar items "buflist2", "buflist3", "buflist4" and "buflist5" are
|
(two other bar items "buflist2" and "buflist3" are available as well). +
|
||||||
available as well). +
|
|
||||||
A default bar "buflist" is created on startup with this item.
|
A default bar "buflist" is created on startup with this item.
|
||||||
|
|
||||||
[[buflist_commands]]
|
[[buflist_commands]]
|
||||||
@@ -1516,21 +1439,6 @@ Options:
|
|||||||
|
|
||||||
include::{autogendir}/autogen_user_options.en.adoc[tag=buflist_options]
|
include::{autogendir}/autogen_user_options.en.adoc[tag=buflist_options]
|
||||||
|
|
||||||
[[cursor_mode]]
|
|
||||||
=== Cursor mode
|
|
||||||
|
|
||||||
The cursor mode allows you to move freely the cursor anywhere on screen, in chat
|
|
||||||
area and bars, and lets you perform actions at the given position. +
|
|
||||||
You can enter in cursor mode either with the command `/cursor` or with a mouse
|
|
||||||
middle click (mouse must have been enabled with key kbd:[Alt+m] or command
|
|
||||||
`/mouse enable`).
|
|
||||||
|
|
||||||
Typical use is to quote messages (chat area) or interact with nicks (nicklist bar).
|
|
||||||
|
|
||||||
See command <<command_weechat_cursor,/cursor>> and
|
|
||||||
<<key_bindings_cursor_context,key bindings in cursor context>> for the list
|
|
||||||
of actions you can perform in this mode.
|
|
||||||
|
|
||||||
[[key_bindings]]
|
[[key_bindings]]
|
||||||
== Key bindings
|
== Key bindings
|
||||||
|
|
||||||
@@ -1591,7 +1499,6 @@ They can be changed and new ones can be added with the <<command_weechat_key,/ke
|
|||||||
| kbd:[Enter] +
|
| kbd:[Enter] +
|
||||||
kbd:[Ctrl+j] +
|
kbd:[Ctrl+j] +
|
||||||
kbd:[Ctrl+m] | Execute command or send message (in search mode: stop search). | `+/input return+`
|
kbd:[Ctrl+m] | Execute command or send message (in search mode: stop search). | `+/input return+`
|
||||||
| kbd:[Ctrl+o] | Execute the command found in history and insert the next one in the command line. | `+/input history_use_get_next+`
|
|
||||||
| kbd:[Alt+Enter] | Insert a newline. | `+/input insert \n+`
|
| kbd:[Alt+Enter] | Insert a newline. | `+/input insert \n+`
|
||||||
| kbd:[Alt+d] | Delete next word in command line (deleted string is copied to the internal clipboard). | `+/input delete_next_word+`
|
| kbd:[Alt+d] | Delete next word in command line (deleted string is copied to the internal clipboard). | `+/input delete_next_word+`
|
||||||
| kbd:[Alt+k] | Grab a key and insert its code (and command bound if key exists) in command line. | `+/input grab_key_command+`
|
| kbd:[Alt+k] | Grab a key and insert its code (and command bound if key exists) in command line. | `+/input grab_key_command+`
|
||||||
@@ -1607,7 +1514,6 @@ They can be changed and new ones can be added with the <<command_weechat_key,/ke
|
|||||||
| Key | Description | Command
|
| Key | Description | Command
|
||||||
| kbd:[Ctrl+c], kbd:[b] | Insert code for bold text. | `+/input insert \x02+`
|
| kbd:[Ctrl+c], kbd:[b] | Insert code for bold text. | `+/input insert \x02+`
|
||||||
| kbd:[Ctrl+c], kbd:[c] | Insert code for colored text. | `+/input insert \x03+`
|
| kbd:[Ctrl+c], kbd:[c] | Insert code for colored text. | `+/input insert \x03+`
|
||||||
| kbd:[Ctrl+c], kbd:[d] | Insert code for colored text (RGB color, as hexadecimal). | `+/input insert \x04+`
|
|
||||||
| kbd:[Ctrl+c], kbd:[i] | Insert code for italic text. | `+/input insert \x1D+`
|
| kbd:[Ctrl+c], kbd:[i] | Insert code for italic text. | `+/input insert \x1D+`
|
||||||
| kbd:[Ctrl+c], kbd:[o] | Insert code for color reset. | `+/input insert \x0F+`
|
| kbd:[Ctrl+c], kbd:[o] | Insert code for color reset. | `+/input insert \x0F+`
|
||||||
| kbd:[Ctrl+c], kbd:[v] | Insert code for reverse color. | `+/input insert \x16+`
|
| kbd:[Ctrl+c], kbd:[v] | Insert code for reverse color. | `+/input insert \x16+`
|
||||||
@@ -1626,23 +1532,14 @@ They can be changed and new ones can be added with the <<command_weechat_key,/ke
|
|||||||
| kbd:[Ctrl+↓] | Call next command/message in global history (common for all buffers). | `+/input history_global_next+`
|
| kbd:[Ctrl+↓] | Call next command/message in global history (common for all buffers). | `+/input history_global_next+`
|
||||||
|===
|
|===
|
||||||
|
|
||||||
[[key_bindings_cmdline_system]]
|
|
||||||
==== System
|
|
||||||
|
|
||||||
[width="100%",cols="^.^3,.^8,.^5",options="header"]
|
|
||||||
|===
|
|
||||||
| Key | Description | Command
|
|
||||||
| kbd:[Ctrl+z] | Suspend WeeChat process. | `+/sys suspend+`
|
|
||||||
|===
|
|
||||||
|
|
||||||
[[key_bindings_buffers]]
|
[[key_bindings_buffers]]
|
||||||
=== Buffers
|
=== Buffers
|
||||||
|
|
||||||
[width="100%",cols="^.^3,.^8,.^5",options="header"]
|
[width="100%",cols="^.^3,.^8,.^5",options="header"]
|
||||||
|===
|
|===
|
||||||
| Key | Description | Command
|
| Key | Description | Command
|
||||||
| kbd:[Ctrl+r] | Search for text in commands history (see <<key_bindings_histsearch_context,keys for context "histsearch">>). | `+/input search_history+`
|
| kbd:[Ctrl+r] | Search for text in buffer history (see <<key_bindings_search_context,keys for search context>>). | `+/input search_text_here+`
|
||||||
| kbd:[Ctrl+s] | Search for text in buffer lines (see <<key_bindings_search_context,keys for context "search">>). | `+/input search_text_here+`
|
| kbd:[Ctrl+s], kbd:[Ctrl+u] | Set unread marker on all buffers. | `+/allbuf /buffer set unread+`
|
||||||
| kbd:[Ctrl+x] | Switch current buffer if buffers are merged with same number, for example switch to another IRC server buffer. | `+/buffer switch+`
|
| kbd:[Ctrl+x] | Switch current buffer if buffers are merged with same number, for example switch to another IRC server buffer. | `+/buffer switch+`
|
||||||
| kbd:[Alt+x] | Zoom on merged buffer (kbd:[Alt+x] again: display all merged buffers). | `+/buffer zoom+`
|
| kbd:[Alt+x] | Zoom on merged buffer (kbd:[Alt+x] again: display all merged buffers). | `+/buffer zoom+`
|
||||||
| kbd:[PgUp] | Scroll up one page in buffer history. | `+/window page_up+`
|
| kbd:[PgUp] | Scroll up one page in buffer history. | `+/window page_up+`
|
||||||
@@ -1668,7 +1565,6 @@ They can be changed and new ones can be added with the <<command_weechat_key,/ke
|
|||||||
| kbd:[Alt+n] | Scroll to next highlight. | `+/window scroll_next_highlight+`
|
| kbd:[Alt+n] | Scroll to next highlight. | `+/window scroll_next_highlight+`
|
||||||
| kbd:[Alt+p] | Scroll to previous highlight. | `+/window scroll_previous_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+u] | Scroll to first unread line in buffer. | `+/window scroll_unread+`
|
||||||
| kbd:[Alt+Shift+U] | Set unread marker on all buffers. | `+/allbuf /buffer set unread+`
|
|
||||||
| kbd:[Alt+<] | Switch to previous buffer in list of visited buffers. | `+/buffer jump prev_visited+`
|
| kbd:[Alt+<] | Switch to previous buffer in list of visited buffers. | `+/buffer jump prev_visited+`
|
||||||
| kbd:[Alt+>] | Switch to next buffer in list of visited buffers. | `+/buffer jump next_visited+`
|
| kbd:[Alt+>] | Switch to next buffer in list of visited buffers. | `+/buffer jump next_visited+`
|
||||||
| kbd:[Alt+/] | Switch to last buffer displayed (before last jump to a buffer). | `+/buffer jump last_displayed+`
|
| kbd:[Alt+/] | Switch to last buffer displayed (before last jump to a buffer). | `+/buffer jump last_displayed+`
|
||||||
@@ -1745,53 +1641,27 @@ They can be changed and new ones can be added with the <<command_weechat_key,/ke
|
|||||||
[[key_bindings_search_context]]
|
[[key_bindings_search_context]]
|
||||||
=== Search context
|
=== Search context
|
||||||
|
|
||||||
These keys are used in context "search" (when kbd:[Ctrl+s] is pressed to search
|
These keys are used in context "search" (when kbd:[Ctrl+r] is pressed to search
|
||||||
text in buffer lines).
|
text in buffer).
|
||||||
|
|
||||||
[width="100%",cols="^.^3,.^8,.^5",options="header"]
|
[width="100%",cols="^.^3,.^8,.^5",options="header"]
|
||||||
|===
|
|===
|
||||||
| Key | Description | Command
|
| Key | Description | Command
|
||||||
| kbd:[Ctrl+x] | Switch search type: string (default), regular expression. | `+/input search_switch_regex+`
|
| kbd:[Ctrl+r] | Switch search type: string (default), regular expression. | `+/input search_switch_regex+`
|
||||||
| kbd:[Alt+c] | Switch exact case for search. | `+/input search_switch_case+`
|
| kbd:[Alt+c] | Switch exact case for search. | `+/input search_switch_case+`
|
||||||
| kbd:[Tab] | Switch search in: messages (default), prefixes, prefixes + messages. | `+/input search_switch_where+`
|
| kbd:[Tab] | Switch search in: messages (default), prefixes, prefixes + messages. | `+/input search_switch_where+`
|
||||||
| kbd:[Ctrl+r] +
|
| kbd:[↑] | Search previous line. | `+/input search_previous+`
|
||||||
kbd:[↑] | Search previous line. | `+/input search_previous+`
|
| kbd:[↓] | Search next line. | `+/input search_next+`
|
||||||
| kbd:[Ctrl+s] +
|
|
||||||
kbd:[↓] | Search next line. | `+/input search_next+`
|
|
||||||
| kbd:[Enter] +
|
| kbd:[Enter] +
|
||||||
kbd:[Ctrl+j] +
|
kbd:[Ctrl+j] +
|
||||||
kbd:[Ctrl+m] | Stop search at current position. | `+/input search_stop_here+`
|
kbd:[Ctrl+m] | Stop search at current position. | `+/input search_stop_here+`
|
||||||
| kbd:[Ctrl+q] | Stop search and reset scroll to pre-text search state. | `+/input search_stop+`
|
| kbd:[Ctrl+q] | Stop search and reset scroll to pre-text search state. | `+/input search_stop+`
|
||||||
|===
|
|===
|
||||||
|
|
||||||
[[key_bindings_histsearch_context]]
|
|
||||||
=== History search context
|
|
||||||
|
|
||||||
These keys are used in context "histsearch" (when kbd:[Ctrl+r] is pressed to
|
|
||||||
search text in commands history).
|
|
||||||
|
|
||||||
[width="100%",cols="^.^3,.^8,.^5",options="header"]
|
|
||||||
|===
|
|
||||||
| Key | Description | Command
|
|
||||||
| kbd:[Ctrl+x] | Switch search type: string (default), regular expression. | `+/input search_switch_regex+`
|
|
||||||
| kbd:[Alt+c] | Switch exact case for search. | `+/input search_switch_case+`
|
|
||||||
| kbd:[Tab] | Switch search in: buffer local history (default), global history. | `+/input search_switch_where+`
|
|
||||||
| kbd:[Ctrl+r] +
|
|
||||||
kbd:[↑] | Search in previous (older) history entries. | `+/input search_previous+`
|
|
||||||
| kbd:[Ctrl+s] +
|
|
||||||
kbd:[↓] | Search in next (newer) history entries. | `+/input search_next+`
|
|
||||||
| kbd:[Enter] +
|
|
||||||
kbd:[Ctrl+j] +
|
|
||||||
kbd:[Ctrl+m] | Stop search and use matching input. | `+/input search_stop_here+`
|
|
||||||
| kbd:[Ctrl+o] | Execute the command found in history and insert the next one in the command line. | `+/input history_use_get_next+`
|
|
||||||
| kbd:[Ctrl+q] | Stop search and restore input to its initial value. | `+/input search_stop+`
|
|
||||||
|===
|
|
||||||
|
|
||||||
[[key_bindings_cursor_context]]
|
[[key_bindings_cursor_context]]
|
||||||
=== Cursor context
|
=== Cursor context
|
||||||
|
|
||||||
These keys are used in context "cursor" (free movement of cursor on screen),
|
These keys are used in context "cursor" (free movement of cursor on screen).
|
||||||
see <<cursor_mode,Cursor mode>>.
|
|
||||||
|
|
||||||
[width="100%",cols="^.^3,^.^2,.^7,.^7",options="header"]
|
[width="100%",cols="^.^3,^.^2,.^7,.^7",options="header"]
|
||||||
|===
|
|===
|
||||||
@@ -1800,16 +1670,10 @@ see <<cursor_mode,Cursor mode>>.
|
|||||||
| kbd:[↓] | - | Move cursor one line down. | `+/cursor move down+`
|
| kbd:[↓] | - | Move cursor one line down. | `+/cursor move down+`
|
||||||
| kbd:[←] | - | Move cursor one column left. | `+/cursor move left+`
|
| kbd:[←] | - | Move cursor one column left. | `+/cursor move left+`
|
||||||
| kbd:[→] | - | Move cursor one column right. | `+/cursor move right+`
|
| kbd:[→] | - | Move cursor one column right. | `+/cursor move right+`
|
||||||
| kbd:[Alt+↑] | - | Move cursor to the first line of the area. | `+/cursor move edge_top+`
|
| kbd:[Alt+↑] | - | Move cursor one area up. | `+/cursor move area_up+`
|
||||||
| kbd:[Alt+↓] | - | Move cursor to the last line of the area. | `+/cursor move edge_bottom+`
|
| kbd:[Alt+↓] | - | Move cursor one area down. | `+/cursor move area_down+`
|
||||||
| kbd:[Alt+←] | - | Move cursor to the first column of the area. | `+/cursor move edge_left+`
|
| kbd:[Alt+←] | - | Move cursor one area left. | `+/cursor move area_left+`
|
||||||
| kbd:[Alt+→] | - | Move cursor to the last column of the area. | `+/cursor move edge_right+`
|
| kbd:[Alt+→] | - | Move cursor one area right. | `+/cursor move area_right+`
|
||||||
| kbd:[Alt+Home] | - | Move cursor to the top left corner of the area. | `+/cursor move top_left+`
|
|
||||||
| kbd:[Alt+End] | - | Move cursor to the bottom right corner of the area. | `+/cursor move bottom_right+`
|
|
||||||
| kbd:[Alt+Shift+↑] | - | Move cursor one area up. | `+/cursor move area_up+`
|
|
||||||
| kbd:[Alt+Shift+↓] | - | Move cursor one area down. | `+/cursor move area_down+`
|
|
||||||
| kbd:[Alt+Shift+←] | - | Move cursor one area left. | `+/cursor move area_left+`
|
|
||||||
| kbd:[Alt+Shift+→] | - | Move cursor one area right. | `+/cursor move area_right+`
|
|
||||||
| kbd:[m] | chat | Quote message. | `+hsignal:chat_quote_message;/cursor stop+`
|
| kbd:[m] | chat | Quote message. | `+hsignal:chat_quote_message;/cursor stop+`
|
||||||
| kbd:[l] | chat | Quote focused line. | `+hsignal:chat_quote_focused_line;/cursor stop+`
|
| kbd:[l] | chat | Quote focused line. | `+hsignal:chat_quote_focused_line;/cursor stop+`
|
||||||
| kbd:[q] | chat | Quote prefix + message. | `+hsignal:chat_quote_prefix_message;/cursor stop+`
|
| kbd:[q] | chat | Quote prefix + message. | `+hsignal:chat_quote_prefix_message;/cursor stop+`
|
||||||
@@ -1833,59 +1697,49 @@ These mouse actions are possible only if mouse is enabled with key kbd:[Alt+m]
|
|||||||
[width="100%",cols="^.^3,^.^3,^.^3,.^8,.^8",options="header"]
|
[width="100%",cols="^.^3,^.^3,^.^3,.^8,.^8",options="header"]
|
||||||
|===
|
|===
|
||||||
| Button/Wheel ^(1)^ | Gesture | Area | Description | Command
|
| Button/Wheel ^(1)^ | Gesture | Area | Description | Command
|
||||||
| kbd:[■ □ □] | - | chat | Switch to window. | `+/window ${_window_number}+`
|
| ◾◽◽ | - | chat | Switch to window. | `+/window ${_window_number}+`
|
||||||
| kbd:[■ □ □] | left | chat | Switch to previous buffer. | `+/window ${_window_number};/buffer +1+`
|
| ◾◽◽ | left | chat | Switch to previous buffer. | `+/window ${_window_number};/buffer +1+`
|
||||||
| kbd:[■ □ □] | right | chat | Switch to next buffer. | `+/window ${_window_number};/buffer +1+`
|
| ◾◽◽ | right | chat | Switch to next buffer. | `+/window ${_window_number};/buffer +1+`
|
||||||
| kbd:[■ □ □] | left (long) | chat | Switch to first buffer. | `+/window ${_window_number};/buffer 1+`
|
| ◾◽◽ | left (long) | chat | Switch to first buffer. | `+/window ${_window_number};/buffer 1+`
|
||||||
| kbd:[■ □ □] | right (long) | chat | Switch to last buffer. | `+/window ${_window_number};/buffer ++`
|
| ◾◽◽ | right (long) | chat | Switch to last buffer. | `+/window ${_window_number};/buffer ++`
|
||||||
| kbd:[▲] | - | chat | Scroll up a few lines in buffer history. | `+/window scroll_up -window ${_window_number}+`
|
| 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 | Scroll down a few lines in buffer history. | `+/window scroll_down -window ${_window_number}+`
|
||||||
| kbd:[Ctrl+▲] | - | chat | Scroll horizontally to the left. | `+/window scroll_horiz -window ${_window_number} -10%+`
|
| 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%+`
|
| kbd:[Ctrl+▼] | - | chat | Scroll horizontally to the right. | `+/window scroll_horiz -window ${_window_number} +10%+`
|
||||||
| kbd:[▲] | - | chat: fset buffer | Move five lines up in fset buffer. | `+/fset -up 5+`
|
| kbd:[▲] | - | chat: fset buffer | Move five lines up in fset buffer. | `+/fset -up 5+`
|
||||||
| kbd:[▼] | - | chat: fset buffer | Move five lines down in fset buffer. | `+/fset -down 5+`
|
| kbd:[▼] | - | chat: fset buffer | Move five lines down in fset buffer. | `+/fset -down 5+`
|
||||||
| kbd:[■ □ □] | - | chat: fset buffer | Select line in fset buffer. | `+/window ${_window_number};/fset -go ${fset_option_index}+`
|
| ◾◽◽ | - | chat: fset buffer | Select line in fset buffer. | `+/window ${_window_number};/fset -go ${_chat_line_y}+`
|
||||||
| kbd:[□ □ ■] | - | chat: fset buffer | Toggle boolean (on/off) or edit the option value. | `+hsignal:fset_mouse+`
|
| ◽◽◾ | - | chat: fset buffer | Toggle boolean (on/off) or edit the option value. | `+hsignal:fset_mouse+`
|
||||||
| kbd:[□ □ ■] | left | chat: fset buffer | Decrease value for integer/color/enum, set/append to value for other types. | `+hsignal:fset_mouse+`
|
| ◽◽◾ | left | chat: fset buffer | Decrease value for integer/color, set/append to value for other types. | `+hsignal:fset_mouse+`
|
||||||
| kbd:[□ □ ■] | right | chat: fset buffer | Increase value for integer/color/enum, set/append to value for other types. | `+hsignal:fset_mouse+`
|
| ◽◽◾ | right | chat: fset buffer | Increase value for integer/color, set/append to value for other types. | `+hsignal:fset_mouse+`
|
||||||
| kbd:[□ □ ■] | up / down | chat: fset buffer | Mark/unmark multiple options. | `+hsignal:fset_mouse+`
|
| ◽◽◾ | up / down | chat: fset buffer | Mark/unmark multiple options. | `+hsignal:fset_mouse+`
|
||||||
| kbd:[▲] | - | chat: /list buffer | Move five lines up in /list buffer. | `+/list -up 5+`
|
| kbd:[▲] | - | chat: script buffer | Move five lines up in script buffer. | `+/script up 5+`
|
||||||
| kbd:[▼] | - | chat: /list buffer | Move five lines down in /list buffer. | `+/list -down 5+`
|
| kbd:[▼] | - | chat: script buffer | Move five lines down in script buffer. | `+/script down 5+`
|
||||||
| kbd:[■ □ □] | - | chat: /list buffer | Select line in /list buffer. | `+/window ${_window_number};/list -go ${_chat_line_y}+`
|
| ◾◽◽ | - | chat: script buffer | Select line in script buffer. | `+/script go ${_chat_line_y}+`
|
||||||
| kbd:[□ □ ■] | - | chat: /list buffer | Join IRC channel on selected line. | `+hsignal:irc_list_mouse+`
|
| ◽◽◾ | - | chat: script buffer | Install/remove script. | `+/script go ${_chat_line_y};/script installremove -q ${script_name_with_extension}+`
|
||||||
| kbd:[▲] | - | chat: script buffer | Move five lines up in script buffer. | `+/script -up 5+`
|
| ◾◽◽ | up / left | buflist | Move buffer to a lower number. | Signal `+buflist_mouse+`.
|
||||||
| kbd:[▼] | - | chat: script buffer | Move five lines down in script buffer. | `+/script -down 5+`
|
| ◾◽◽ | down / right | buflist | Move buffer to a higher number. | Signal `+buflist_mouse+`.
|
||||||
| kbd:[■ □ □] | - | chat: script buffer | Select line in script buffer. | `+/script -go ${_chat_line_y}+`
|
| ◾◽◽ | - | buflist | Switch to buffer (previously visited buffer if the buffer is the current one). | Signal `+buflist_mouse+`.
|
||||||
| kbd:[□ □ ■] | - | chat: script buffer | Install/remove script. | `+/script -go ${_chat_line_y};/script installremove -q ${script_name_with_extension}+`
|
| ◽◽◾ | - | buflist | Switch to next visited buffer if the buffer is the current one. | Signal `+buflist_mouse+`.
|
||||||
| kbd:[■ □ □] | up / left | buflist | Move buffer to a lower number. | Signal `+buflist_mouse+`.
|
|
||||||
| kbd:[■ □ □] | down / right | buflist | Move buffer to a higher number. | Signal `+buflist_mouse+`.
|
|
||||||
| kbd:[■ □ □] | - | buflist | Switch to buffer (previously visited buffer if the buffer is the current one). | Signal `+buflist_mouse+`.
|
|
||||||
| kbd:[□ □ ■] | - | 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 previous buffer. | Signal `+buflist_mouse+`.
|
||||||
| kbd:[Ctrl+▼] | - | buflist | Switch to next buffer. | Signal `+buflist_mouse+`.
|
| kbd:[Ctrl+▼] | - | buflist | Switch to next buffer. | Signal `+buflist_mouse+`.
|
||||||
| kbd:[■ □ □] | up | nicklist | Scroll up one page in nicklist. | `+/bar scroll nicklist ${_window_number} -100%+`
|
| ◾◽◽ | up | nicklist | Scroll up one page in nicklist. | `+/bar scroll nicklist ${_window_number} -100%+`
|
||||||
| kbd:[■ □ □] | down | nicklist | Scroll down one page in nicklist. | `+/bar scroll nicklist ${_window_number} +100%+`
|
| ◾◽◽ | down | nicklist | Scroll down one page in nicklist. | `+/bar scroll nicklist ${_window_number} +100%+`
|
||||||
| kbd:[■ □ □] | up (long) | nicklist | Go to the beginning of nicklist. | `+/bar scroll nicklist ${_window_number} b+`
|
| ◾◽◽ | up (long) | nicklist | Go to the beginning of nicklist. | `+/bar scroll nicklist ${_window_number} b+`
|
||||||
| kbd:[■ □ □] | down (long) | nicklist | Go to the end of nicklist. | `+/bar scroll nicklist ${_window_number} e+`
|
| ◾◽◽ | down (long) | nicklist | Go to the end of nicklist. | `+/bar scroll nicklist ${_window_number} e+`
|
||||||
| kbd:[■ □ □] | - | nicklist | Open query with nick. | `+/window ${_window_number};/query ${nick}+`
|
| ◾◽◽ | - | nicklist | Open query with nick. | `+/window ${_window_number};/query ${nick}+`
|
||||||
| kbd:[□ □ ■] | - | nicklist | Do a whois on nick. | `+/window ${_window_number};/whois ${nick}+`
|
| ◽◽◾ | - | nicklist | Do a whois on nick. | `+/window ${_window_number};/whois ${nick}+`
|
||||||
| kbd:[■ □ □] | left | nicklist | Kick nick. | `+/window ${_window_number};/kick ${nick}+`
|
| ◾◽◽ | left | nicklist | Kick nick. | `+/window ${_window_number};/kick ${nick}+`
|
||||||
| kbd:[■ □ □] | left (long) | nicklist | Kick and ban nick. | `+/window ${_window_number};/kickban ${nick}+`
|
| ◾◽◽ | left (long) | nicklist | Kick and ban nick. | `+/window ${_window_number};/kickban ${nick}+`
|
||||||
| kbd:[□ □ ■] | left | nicklist | Ban nick. | `+/window ${_window_number};/ban ${nick}+`
|
| ◽◽◾ | left | nicklist | Ban nick. | `+/window ${_window_number};/ban ${nick}+`
|
||||||
| kbd:[□ □ ■] | - | input | Grab a mouse event and insert its code in command line. | `+/input grab_mouse_area+`
|
| ◽◽◾ | - | 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%+`
|
||||||
| 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%+`
|
||||||
| kbd:[□ ■ □] | - | anywhere | Start cursor mode at this point. | `+/cursor go ${_x},${_y}+`
|
| ◽◾◽ | - | anywhere | Start cursor mode at this point. | `+/cursor go ${_x},${_y}+`
|
||||||
|===
|
|===
|
||||||
|
|
||||||
[NOTE]
|
[NOTE]
|
||||||
^(1)^ Buttons: +
|
^(1)^ kbd:[▲] and kbd:[▼] are wheel up and down.
|
||||||
kbd:[◼ □ □]: click on left button +
|
|
||||||
kbd:[□ ◼ □]: click on middle button +
|
|
||||||
kbd:[□ □ ◼]: click on right button +
|
|
||||||
Wheel: +
|
|
||||||
kbd:[▲]: wheel up +
|
|
||||||
kbd:[▼]: wheel down
|
|
||||||
|
|
||||||
[[key_bindings_fset_buffer]]
|
[[key_bindings_fset_buffer]]
|
||||||
=== Fset buffer
|
=== Fset buffer
|
||||||
@@ -1904,8 +1758,8 @@ These keys and actions are used on the fset buffer (see <<fset,Fset plugin>>).
|
|||||||
| kbd:[F11] | `pass:[<]` | Scroll horizontally on the left. | `+/fset -left+`
|
| kbd:[F11] | `pass:[<]` | Scroll horizontally on the left. | `+/fset -left+`
|
||||||
| kbd:[F12] | `pass:[>]` | Scroll horizontally on the right. | `+/fset -right+`
|
| kbd:[F12] | `pass:[>]` | Scroll horizontally on the right. | `+/fset -right+`
|
||||||
| kbd:[Alt+Space] | `t` | Toggle boolean value. | `+/fset -toggle+`
|
| kbd:[Alt+Space] | `t` | Toggle boolean value. | `+/fset -toggle+`
|
||||||
| kbd:[Alt+-] | `-` | Subtract 1 from value for integer/color/enum, set value for other types. | `+/fset -add -1+`
|
| kbd:[Alt+-] | `-` | Subtract 1 from value for integer/color, set value for other types. | `+/fset -add -1+`
|
||||||
| kbd:[Alt++] | `+` | Add 1 to value for integer/color/enum, append to value for other types. | `+/fset -add 1+`
|
| kbd:[Alt++] | `+` | Add 1 to value for integer/color, append to value for other types. | `+/fset -add 1+`
|
||||||
| kbd:[Alt+f], kbd:[Alt+r] | `r` | Reset value. | `+/fset -reset+`
|
| kbd:[Alt+f], kbd:[Alt+r] | `r` | Reset value. | `+/fset -reset+`
|
||||||
| kbd:[Alt+f], kbd:[Alt+u] | `u` | Unset value. | `+/fset -unset+`
|
| kbd:[Alt+f], kbd:[Alt+u] | `u` | Unset value. | `+/fset -unset+`
|
||||||
| kbd:[Alt+Enter] | `s` | Set value. | `+/fset -set+`
|
| kbd:[Alt+Enter] | `s` | Set value. | `+/fset -set+`
|
||||||
@@ -1919,8 +1773,8 @@ These keys and actions are used on the fset buffer (see <<fset,Fset plugin>>).
|
|||||||
| kbd:[Ctrl+l] (`L`) | | Refresh options and whole screen. | `+/fset -refresh+`
|
| kbd:[Ctrl+l] (`L`) | | Refresh options and whole screen. | `+/fset -refresh+`
|
||||||
| | `$` | Refresh options (keep marked options). |
|
| | `$` | Refresh options (keep marked options). |
|
||||||
| | `$$` | Refresh options (unmark all options). |
|
| | `$$` | Refresh options (unmark all options). |
|
||||||
| kbd:[Alt+p] | `p` | Toggle plugin description options (`pass:[plugins.desc.*]`). | `+/mute /set fset.look.show_plugins_desc toggle+`
|
| kbd:[Alt+p] | | Toggle plugin description options (`pass:[plugins.desc.*]`). | `+/mute /set fset.look.show_plugins_desc toggle+`
|
||||||
| kbd:[Alt+v] | `v` | Toggle help bar. | `+/bar toggle fset+`
|
| kbd:[Alt+v] | | Toggle help bar. | `+/bar toggle fset+`
|
||||||
| | `s:x,y` | Sort options by fields x,y (see option <<option_fset.look.sort,fset.look.sort>>). | `+/mute /set fset.look.sort x,y+`
|
| | `s:x,y` | Sort options by fields x,y (see option <<option_fset.look.sort,fset.look.sort>>). | `+/mute /set fset.look.sort x,y+`
|
||||||
| | `s:` | Reset sort to its default value (see option <<option_fset.look.sort,fset.look.sort>>). | `+/mute /unset fset.look.sort+`
|
| | `s:` | Reset sort to its default value (see option <<option_fset.look.sort,fset.look.sort>>). | `+/mute /unset fset.look.sort+`
|
||||||
| | `w:xxx` | Export options in file "xxx". | `+/fset -export xxx+`
|
| | `w:xxx` | Export options in file "xxx". | `+/fset -export xxx+`
|
||||||
@@ -1933,39 +1787,6 @@ These keys and actions are used on the fset buffer (see <<fset,Fset plugin>>).
|
|||||||
[NOTE]
|
[NOTE]
|
||||||
^(1)^ The action must be entered as input on the command line, followed by kbd:[Enter].
|
^(1)^ The action must be entered as input on the command line, followed by kbd:[Enter].
|
||||||
|
|
||||||
[[key_bindings_irc_list_buffer]]
|
|
||||||
=== IRC /list buffer
|
|
||||||
|
|
||||||
These keys and actions are used on the IRC /list buffer (see command <<command_irc_list,/list>>).
|
|
||||||
|
|
||||||
[width="100%",cols="^.^3,^.^2,.^8,.^5",options="header"]
|
|
||||||
|===
|
|
||||||
| Key | Action ^(1)^ | Description | Command
|
|
||||||
| kbd:[↑] | | Move one line up. | `+/list -up+`
|
|
||||||
| kbd:[↓] | | Move one line down. | `+/list -down+`
|
|
||||||
| kbd:[PgUp] | | Move one page up. | `+/window page_up+`
|
|
||||||
| kbd:[PgDn] | | Move one page down. | `+/window page_down+`
|
|
||||||
| kbd:[Alt+Home] | `pass:[<<]` | Move to first line. | `+/list -go 0+`
|
|
||||||
| kbd:[Alt+End] | `pass:[>>]` | Move to last line. | `+/list -go end+`
|
|
||||||
| kbd:[F11] | `pass:[<]` | Scroll horizontally on the left. | `+/list -left+`
|
|
||||||
| kbd:[F12] | `pass:[>]` | Scroll horizontally on the right. | `+/list -right+`
|
|
||||||
| kbd:[Ctrl+j] | `j` | Join IRC channel on selected line. | `+/list -join+`
|
|
||||||
| | `xxx` | Show only channels with "xxx" in name or topic (case insensitive). |
|
|
||||||
| | `n:xxx` | Show only channels with "xxx" in name (case insensitive). |
|
|
||||||
| | `t:xxx` | Show only channels with "xxx" in topic (case insensitive). |
|
|
||||||
| | `u:n` | Show only channels with at least "n" users. |
|
|
||||||
| | `u:>n` | Show only channels with more than "n" users. |
|
|
||||||
| | `u:<n` | Show only channels with less than "n" users. |
|
|
||||||
| | `c:xxx` | Show only channels matching the evaluated condition "xxx", using following variables: name, name2, users, topic. |
|
|
||||||
| | `s:x,y` | Sort channels by fields x,y (see command <<command_irc_list,/list>>). |
|
|
||||||
| | `s:` | Reset sort to its default value (see command <<command_irc_list,/list>>). |
|
|
||||||
| | `$` | Refresh list (run again command <<command_irc_list,/list>>). |
|
|
||||||
| | `q` | Close buffer. | `+/buffer close+`
|
|
||||||
|===
|
|
||||||
|
|
||||||
[NOTE]
|
|
||||||
^(1)^ The action must be entered as input on the command line, followed by kbd:[Enter].
|
|
||||||
|
|
||||||
[[key_bindings_script_buffer]]
|
[[key_bindings_script_buffer]]
|
||||||
=== Script buffer
|
=== Script buffer
|
||||||
|
|
||||||
@@ -1974,22 +1795,17 @@ These keys and actions are used on the script buffer (see <<script_manager,scrip
|
|||||||
[width="100%",cols="^.^3,^.^2,.^8,.^5",options="header"]
|
[width="100%",cols="^.^3,^.^2,.^8,.^5",options="header"]
|
||||||
|===
|
|===
|
||||||
| Key | Action ^(1)^ | Description | Command
|
| Key | Action ^(1)^ | Description | Command
|
||||||
| kbd:[↑] | | Move one line up. | `+/script -up+`
|
| kbd:[↑] | | Move one line up. | `+/script up+`
|
||||||
| kbd:[↓] | | Move one line down. | `+/script -down+`
|
| kbd:[↓] | | Move one line down. | `+/script down+`
|
||||||
| kbd:[PgUp] | | Move one page up. | `+/window page_up+`
|
| kbd:[PgUp] | | Move one page up. | `+/window page_up+`
|
||||||
| kbd:[PgDn] | | Move one page down. | `+/window page_down+`
|
| kbd:[PgDn] | | Move one page down. | `+/window page_down+`
|
||||||
| kbd:[Alt+i] | `i` | Install script. | `+/script install+`
|
| kbd:[Alt+i] | `i` | Install script. | `+/script install+`
|
||||||
| kbd:[Alt+r] | `r` | Remove script. | `+/script remove+`
|
| kbd:[Alt+r] | `r` | Remove script. | `+/script remove+`
|
||||||
| kbd:[Alt+l] | `l` | Load script. | `+/script load+`
|
| kbd:[Alt+l] (`L`) | `l` | Load script. | `+/script load+`
|
||||||
| kbd:[Alt+L] | `L` | Reload script. | `+/script reload+`
|
|
||||||
| kbd:[Alt+u] | `u` | Unload script. | `+/script unload+`
|
| kbd:[Alt+u] | `u` | Unload script. | `+/script unload+`
|
||||||
| kbd:[Alt+Shift+A] | `A` | Autoload script. | `+/script toggleautoload+`
|
| kbd:[Alt+Shift+A] | `A` | Autoload script. | `+/script toggleautoload+`
|
||||||
| kbd:[Alt+h] | `h` | Hold/unhold script. | `+/script hold+`
|
| kbd:[Alt+h] | `h` | Hold/unhold script. | `+/script hold+`
|
||||||
| kbd:[Alt+v] | `v` | View script. | `+/script show+`
|
| kbd:[Alt+v] | `v` | View script. | `+/script show+`
|
||||||
| | `s:x,y` | Sort scripts by fields x,y (see option <<option_script.look.sort,script.look.sort>>). |
|
|
||||||
| | `s:` | Reset sort to its default value (see option <<option_script.look.sort,script.look.sort>>). |
|
|
||||||
| | `$` | Refresh list. |
|
|
||||||
| | `q` | Close buffer. | `+/buffer close+`
|
|
||||||
|===
|
|===
|
||||||
|
|
||||||
[NOTE]
|
[NOTE]
|
||||||
@@ -2013,7 +1829,7 @@ Example of fset buffer displaying options starting with `weechat.look` :
|
|||||||
│2.fset │weechat.look.bare_display_exit_on_input: exit the bare display mode on any c│
|
│2.fset │weechat.look.bare_display_exit_on_input: exit the bare display mode on any c│
|
||||||
│ │hanges in input [default: on] │
|
│ │hanges in input [default: on] │
|
||||||
│ │----------------------------------------------------------------------------│
|
│ │----------------------------------------------------------------------------│
|
||||||
│ │ weechat.look.align_end_of_lines enum message │
|
│ │ weechat.look.align_end_of_lines integer message │
|
||||||
│ │ weechat.look.align_multiline_words boolean on │
|
│ │ weechat.look.align_multiline_words boolean on │
|
||||||
│ │ weechat.look.bar_more_down string "++" │
|
│ │ weechat.look.bar_more_down string "++" │
|
||||||
│ │ weechat.look.bar_more_left string "<<" │
|
│ │ weechat.look.bar_more_left string "<<" │
|
||||||
@@ -2022,12 +1838,12 @@ Example of fset buffer displaying options starting with `weechat.look` :
|
|||||||
│ │## weechat.look.bare_display_exit_on_input boolean on ##│
|
│ │## weechat.look.bare_display_exit_on_input boolean on ##│
|
||||||
│ │ weechat.look.bare_display_time_format string "%H:%M" │
|
│ │ weechat.look.bare_display_time_format string "%H:%M" │
|
||||||
│ │ weechat.look.buffer_auto_renumber boolean on │
|
│ │ weechat.look.buffer_auto_renumber boolean on │
|
||||||
│ │ weechat.look.buffer_notify_default enum all │
|
│ │ weechat.look.buffer_notify_default integer all │
|
||||||
│ │ weechat.look.buffer_position enum end │
|
│ │ weechat.look.buffer_position integer end │
|
||||||
│ │ weechat.look.buffer_search_case_sensitive boolean off │
|
│ │ weechat.look.buffer_search_case_sensitive boolean off │
|
||||||
│ │ weechat.look.buffer_search_force_default boolean off │
|
│ │ weechat.look.buffer_search_force_default boolean off │
|
||||||
│ │ weechat.look.buffer_search_regex boolean off │
|
│ │ weechat.look.buffer_search_regex boolean off │
|
||||||
│ │ weechat.look.buffer_search_where enum prefix_message │
|
│ │ weechat.look.buffer_search_where integer prefix_message │
|
||||||
│ │ weechat.look.buffer_time_format string "%H:%M:%S" │
|
│ │ weechat.look.buffer_time_format string "%H:%M:%S" │
|
||||||
│ │ weechat.look.buffer_time_same string "" │
|
│ │ weechat.look.buffer_time_same string "" │
|
||||||
│ │[12:55] [2] [fset] 2:fset │
|
│ │[12:55] [2] [fset] 2:fset │
|
||||||
@@ -2342,9 +2158,15 @@ and for each nick the max hotlist level to trigger, possible levels are:
|
|||||||
For example to disable highlights from "joe" and "mike" on current buffer:
|
For example to disable highlights from "joe" and "mike" on current buffer:
|
||||||
|
|
||||||
----
|
----
|
||||||
/buffer setauto hotlist_max_level_nicks_add joe:2,mike:2
|
/buffer set hotlist_max_level_nicks_add joe:2,mike:2
|
||||||
----
|
----
|
||||||
|
|
||||||
|
[NOTE]
|
||||||
|
The buffer property "hotlist_max_level_nicks" is not saved in configuration. +
|
||||||
|
You can easily save it with the script _buffer_autoset.py_: you can install it
|
||||||
|
with `+/script install buffer_autoset.py+` and get help with
|
||||||
|
`+/help buffer_autoset+`.
|
||||||
|
|
||||||
[[highlights]]
|
[[highlights]]
|
||||||
=== Highlights
|
=== Highlights
|
||||||
|
|
||||||
@@ -2369,9 +2191,15 @@ This can also be set with the buffer property "highlight_disable_regex".
|
|||||||
Same example, specific to the current buffer:
|
Same example, specific to the current buffer:
|
||||||
|
|
||||||
----
|
----
|
||||||
/buffer setauto highlight_disable_regex <flash.*>
|
/buffer set highlight_disable_regex <flash.*>
|
||||||
----
|
----
|
||||||
|
|
||||||
|
[NOTE]
|
||||||
|
The buffer property "highlight_disable_regex" is not saved in configuration. +
|
||||||
|
You can easily save it with the script _buffer_autoset.py_: you can install it
|
||||||
|
with `+/script install buffer_autoset.py+` and get help with
|
||||||
|
`+/help buffer_autoset+`.
|
||||||
|
|
||||||
[[highlights_words]]
|
[[highlights_words]]
|
||||||
==== Add words to highlight
|
==== Add words to highlight
|
||||||
|
|
||||||
@@ -2426,9 +2254,15 @@ You can force highlight using a regular expression with the buffer property
|
|||||||
For example to force the highlight on all messages in the current buffer:
|
For example to force the highlight on all messages in the current buffer:
|
||||||
|
|
||||||
----
|
----
|
||||||
/buffer setauto highlight_regex .*
|
/buffer set highlight_regex .*
|
||||||
----
|
----
|
||||||
|
|
||||||
|
[NOTE]
|
||||||
|
The buffer property "highlight_regex" is not saved in configuration. +
|
||||||
|
You can easily save it with the script _buffer_autoset.py_: you can install it
|
||||||
|
with `+/script install buffer_autoset.py+` and get help with
|
||||||
|
`+/help buffer_autoset+`.
|
||||||
|
|
||||||
[[buffer_logging]]
|
[[buffer_logging]]
|
||||||
=== Buffer logging
|
=== Buffer logging
|
||||||
|
|
||||||
@@ -2681,26 +2515,16 @@ You can change or add bindings with the command `/key` using context "mouse"
|
|||||||
Event name consists of a modifier (optional), a button/wheel name and a gesture
|
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 (by order in the event name):
|
List of modifiers:
|
||||||
|
|
||||||
[width="100%",cols="1m,4",options="header"]
|
[width="100%",cols="1m,4",options="header"]
|
||||||
|===
|
|===
|
||||||
| Modifier | Description
|
| Modifier | Description
|
||||||
| alt | Key kbd:[Alt]
|
|
||||||
| ctrl | Key kbd:[Ctrl]
|
| ctrl | Key kbd:[Ctrl]
|
||||||
| shift | Key kbd:[Shift] ^(1)^
|
| alt | Key kbd:[Alt]
|
||||||
|
| ctrl-alt | Keys kbd:[Ctrl] + kbd:[Alt]
|
||||||
|===
|
|===
|
||||||
|
|
||||||
[NOTE]
|
|
||||||
^(1)^ The `shift` modifier can rarely be used in WeeChat because many terminals
|
|
||||||
use this modifier to catch directly mouse events.
|
|
||||||
|
|
||||||
Several modifiers can be combined, for example:
|
|
||||||
|
|
||||||
* `alt-ctrl`
|
|
||||||
* `ctrl-shift`
|
|
||||||
* `alt-ctrl-shift`
|
|
||||||
|
|
||||||
List of buttons/wheel:
|
List of buttons/wheel:
|
||||||
|
|
||||||
[width="100%",cols="1m,4",options="header"]
|
[width="100%",cols="1m,4",options="header"]
|
||||||
@@ -2709,7 +2533,7 @@ List of buttons/wheel:
|
|||||||
| button1 | Click on left button
|
| button1 | Click on left button
|
||||||
| button2 | Click on right button
|
| button2 | Click on right button
|
||||||
| button3 | Click on middle button (often click on wheel)
|
| button3 | Click on middle button (often click on wheel)
|
||||||
| button4 ... button11 | Click on extra buttons
|
| button4 ... button9 | Click on extra buttons
|
||||||
| wheelup | Wheel (up)
|
| wheelup | Wheel (up)
|
||||||
| wheeldown | Wheel (down)
|
| wheeldown | Wheel (down)
|
||||||
|===
|
|===
|
||||||
@@ -2747,7 +2571,7 @@ Example of events:
|
|||||||
* `button1-event-drag`
|
* `button1-event-drag`
|
||||||
* `alt-button2-gesture-down-long`
|
* `alt-button2-gesture-down-long`
|
||||||
* `wheelup`
|
* `wheelup`
|
||||||
* `alt-ctrl-wheeldown`
|
* `ctrl-alt-wheeldown`
|
||||||
* ...
|
* ...
|
||||||
|
|
||||||
[TIP]
|
[TIP]
|
||||||
@@ -3335,7 +3159,6 @@ Sections in file _weechat.conf_:
|
|||||||
| bar | <<command_weechat_bar,/bar>> +
|
| bar | <<command_weechat_bar,/bar>> +
|
||||||
/set weechat.bar.* | Bar options.
|
/set weechat.bar.* | Bar options.
|
||||||
| layout | <<command_weechat_layout,/layout>> | Layouts.
|
| layout | <<command_weechat_layout,/layout>> | Layouts.
|
||||||
| buffer | <<command_weechat_buffer,/buffer setauto>> | Properties auto-applied on buffers when they are opened.
|
|
||||||
| notify | <<command_weechat_buffer,/buffer notify>> | Notify levels for buffers (options can be added/removed in section).
|
| notify | <<command_weechat_buffer,/buffer notify>> | Notify levels for buffers (options can be added/removed in section).
|
||||||
| filter | <<command_weechat_filter,/filter>> | Filters.
|
| filter | <<command_weechat_filter,/filter>> | Filters.
|
||||||
| key | <<command_weechat_key,/key>> | Keys in default context.
|
| key | <<command_weechat_key,/key>> | Keys in default context.
|
||||||
@@ -3441,7 +3264,7 @@ irc.server.libera.autorejoin_delay integer null -> 30
|
|||||||
irc.server.libera.away_check integer null -> 0
|
irc.server.libera.away_check integer null -> 0
|
||||||
irc.server.libera.away_check_max_nicks integer null -> 25
|
irc.server.libera.away_check_max_nicks integer null -> 25
|
||||||
irc.server.libera.capabilities string null -> "*"
|
irc.server.libera.capabilities string null -> "*"
|
||||||
irc.server.libera.charset_message enum null -> message
|
irc.server.libera.charset_message integer null -> message
|
||||||
irc.server.libera.command string null -> ""
|
irc.server.libera.command string null -> ""
|
||||||
irc.server.libera.command_delay integer null -> 0
|
irc.server.libera.command_delay integer null -> 0
|
||||||
irc.server.libera.connection_timeout integer null -> 60
|
irc.server.libera.connection_timeout integer null -> 60
|
||||||
@@ -3457,9 +3280,9 @@ irc.server.libera.notify string null -> ""
|
|||||||
irc.server.libera.password string null -> ""
|
irc.server.libera.password string null -> ""
|
||||||
irc.server.libera.proxy string null -> ""
|
irc.server.libera.proxy string null -> ""
|
||||||
irc.server.libera.realname string null -> ""
|
irc.server.libera.realname string null -> ""
|
||||||
irc.server.libera.sasl_fail enum null -> reconnect
|
irc.server.libera.sasl_fail integer null -> reconnect
|
||||||
irc.server.libera.sasl_key string null -> ""
|
irc.server.libera.sasl_key string null -> ""
|
||||||
irc.server.libera.sasl_mechanism enum null -> plain
|
irc.server.libera.sasl_mechanism integer null -> plain
|
||||||
irc.server.libera.sasl_password string "${sec.data.libera}"
|
irc.server.libera.sasl_password string "${sec.data.libera}"
|
||||||
irc.server.libera.sasl_timeout integer null -> 15
|
irc.server.libera.sasl_timeout integer null -> 15
|
||||||
irc.server.libera.sasl_username string "alice"
|
irc.server.libera.sasl_username string "alice"
|
||||||
@@ -4169,7 +3992,7 @@ reply).
|
|||||||
For example, to customize reply to CTCP "VERSION", use following command:
|
For example, to customize reply to CTCP "VERSION", use following command:
|
||||||
|
|
||||||
----
|
----
|
||||||
/set irc.ctcp.version "I'm running WeeChat ${version}, it rocks!"
|
/set irc.ctcp.version "I'm running WeeChat $version, it rocks!"
|
||||||
----
|
----
|
||||||
|
|
||||||
[NOTE]
|
[NOTE]
|
||||||
@@ -4194,7 +4017,7 @@ It is possible to customize CTCP for one server only, using its internal name
|
|||||||
before CTCP name:
|
before CTCP name:
|
||||||
|
|
||||||
----
|
----
|
||||||
/set irc.ctcp.libera.version "WeeChat ${version} (for libera)"
|
/set irc.ctcp.libera.version "WeeChat $version (for libera)"
|
||||||
----
|
----
|
||||||
|
|
||||||
If you want to restore standard CTCP reply, then remove option:
|
If you want to restore standard CTCP reply, then remove option:
|
||||||
@@ -4203,38 +4026,40 @@ If you want to restore standard CTCP reply, then remove option:
|
|||||||
/unset irc.ctcp.version
|
/unset irc.ctcp.version
|
||||||
----
|
----
|
||||||
|
|
||||||
The CTCP replies are evaluated (see command <<command_weechat_eval,/eval>>) and
|
Following codes can be used in strings and are automatically expanded by WeeChat
|
||||||
the following extra variables are available:
|
when replying to CTCP:
|
||||||
|
|
||||||
[width="100%",cols="2,4,8",options="header"]
|
[width="100%",cols="2l,4,8",options="header"]
|
||||||
|===
|
|===
|
||||||
| Variable | Description | Value/example
|
| Code | Description | Value/example
|
||||||
| `+${clientinfo}+` | List of supported CTCP | `+ACTION DCC CLIENTINFO PING SOURCE TIME VERSION+`
|
| $clientinfo | List of supported CTCP | `+ACTION DCC CLIENTINFO FINGER PING SOURCE TIME USERINFO VERSION+`
|
||||||
| `+${version}+` | WeeChat version | `+4.1.0-dev+`
|
| $version | WeeChat version | `+0.4.0-dev+`
|
||||||
| `+${versiongit}+` | WeeChat version + Git version ^(1)^ | `+4.1.0-dev (git: v4.0.0-51-g8f98b922a)+`
|
| $versiongit | WeeChat version + Git version ^(1)^ | `+0.4.0-dev (git: v0.3.9-104-g7eb5cc4)+`
|
||||||
| `+${git}+` | Git version ^(1)^ | `+v4.0.0-51-g8f98b922a+`
|
| $git | Git version ^(1)^ | `+v0.3.9-104-g7eb5cc4+`
|
||||||
| `+${compilation}+` | WeeChat compilation date | `+Jul 8 2023 20:14:23+`
|
| $compilation | WeeChat compilation date | `+Dec 16 2012+`
|
||||||
| `+${osinfo}+` | Info about OS | `+Linux 5.10.0-23-amd64 / x86_64+`
|
| $osinfo | Info about OS | `+Linux 2.6.32-5-amd64 / x86_64+`
|
||||||
| `+${site}+` | WeeChat site | `+https://weechat.org/+`
|
| $site | WeeChat site | `+https://weechat.org/+`
|
||||||
| `+${download}+` | WeeChat site, download page | `+https://weechat.org/download/+`
|
| $download | WeeChat site, download page | `+https://weechat.org/download/+`
|
||||||
| `+${time}+` | Current date/time | `+Sat, 08 Jul 2023 21:11:19 +0200+`
|
| $time | Current date/time | `+Sun, 16 Dec 2012 10:40:48 +0100+`
|
||||||
| `+${username}+` | User name on IRC server | `+name+`
|
| $username | User name on IRC server | `+name+`
|
||||||
| `+${realname}+` | Real name on IRC server | `+John Doe+`
|
| $realname | Real name on IRC server | `+John Doe+`
|
||||||
|===
|
|===
|
||||||
|
|
||||||
[NOTE]
|
[NOTE]
|
||||||
^(1)^ The Git version is the output of command `git describe`. It is known only
|
^(1)^ The Git version is the output of command `git describe`. It is known only
|
||||||
if WeeChat has been compiled inside the Git repository and if Git was installed.
|
if WeeChat has been compiled inside the Git repository and if Git was installed.
|
||||||
|
|
||||||
The default CTCP replies are:
|
If CTCP options are not defined (by default), CTCP replies are:
|
||||||
|
|
||||||
[width="100%",cols="2,4,8",options="header"]
|
[width="100%",cols="2,4,8",options="header"]
|
||||||
|===
|
|===
|
||||||
| CTCP | Reply format | Example
|
| CTCP | Reply format | Example
|
||||||
| CLIENTINFO | `+${clientinfo}+` | `+ACTION DCC CLIENTINFO PING SOURCE TIME VERSION+`
|
| CLIENTINFO | `+$clientinfo+` | `+ACTION DCC CLIENTINFO FINGER PING SOURCE TIME USERINFO VERSION+`
|
||||||
| SOURCE | `+${download}+` | `+https://weechat.org/download/+`
|
| FINGER | `+WeeChat $versiongit+` | `+WeeChat 0.4.0-dev (git: v0.3.9-104-g7eb5cc4)+`
|
||||||
| TIME | `+${time}+` | `+Sat, 08 Jul 2023 21:11:19 +0200+`
|
| SOURCE | `+$download+` | `+https://weechat.org/download/+`
|
||||||
| VERSION | `+WeeChat ${version}+` | `+WeeChat 4.1.0-dev+`
|
| TIME | `+$time+` | `+Sun, 16 Dec 2012 10:40:48 +0100+`
|
||||||
|
| USERINFO | `+$username ($realname)+` | `+name (John Doe)+`
|
||||||
|
| VERSION | `+WeeChat $versiongit ($compilation)+` | `+WeeChat 0.4.0-dev (git: v0.3.9-104-g7eb5cc4) (Dec 16 2012)+`
|
||||||
|===
|
|===
|
||||||
|
|
||||||
[[irc_target_buffer]]
|
[[irc_target_buffer]]
|
||||||
@@ -4529,13 +4354,8 @@ The Relay plugin is used to relay data via network, using different protocols:
|
|||||||
|
|
||||||
* _irc_: IRC proxy: used to share connections to IRC servers with one or many
|
* _irc_: IRC proxy: used to share connections to IRC servers with one or many
|
||||||
other IRC clients
|
other IRC clients
|
||||||
* _api_: HTTP REST API, used by WeeChat and remote interfaces to display and
|
|
||||||
interact with WeeChat
|
|
||||||
* _weechat_: protocol used by remote interfaces to display and interact with
|
* _weechat_: protocol used by remote interfaces to display and interact with
|
||||||
WeeChat.
|
WeeChat, see https://weechat.org/about/interfaces/[this page ^↗^^].
|
||||||
|
|
||||||
For _api_ and _weechat_ protocols, see the list of remote interfaces on
|
|
||||||
https://weechat.org/about/interfaces/[this page ^↗^^].
|
|
||||||
|
|
||||||
[[relay_password]]
|
[[relay_password]]
|
||||||
=== Password
|
=== Password
|
||||||
@@ -4547,13 +4367,13 @@ It is highly recommended to set a password for relay, with these commands:
|
|||||||
/set relay.network.password "${sec.data.relay}"
|
/set relay.network.password "${sec.data.relay}"
|
||||||
----
|
----
|
||||||
|
|
||||||
This password is used with all protocols.
|
This password is used for _irc_ and _weechat_ protocols.
|
||||||
|
|
||||||
[[relay_totp]]
|
[[relay_totp]]
|
||||||
=== TOTP
|
=== TOTP
|
||||||
|
|
||||||
TOTP (Time-based One-Time Password) can be used as secondary authentication
|
TOTP (Time-based One-Time Password) can be used as secondary authentication
|
||||||
factor for _api_ and _weechat_ protocols, in addition to the password.
|
factor for _weechat_ protocol, in addition to the password.
|
||||||
|
|
||||||
This is optional and increases the security level.
|
This is optional and increases the security level.
|
||||||
|
|
||||||
@@ -4645,39 +4465,6 @@ commands:
|
|||||||
/set irc.server.relay.password "${sec.data.relay_libera}"
|
/set irc.server.relay.password "${sec.data.relay_libera}"
|
||||||
----
|
----
|
||||||
|
|
||||||
[[relay_api_protocol]]
|
|
||||||
=== API protocol
|
|
||||||
|
|
||||||
The Relay plugin can send data to a remote WeeChat or interface using an
|
|
||||||
HTTP REST API protocol.
|
|
||||||
|
|
||||||
You can browse and test the API online:
|
|
||||||
https://weechat.org/api/[WeeChat Relay API ^↗^^].
|
|
||||||
|
|
||||||
You can connect with WeeChat or a remote interface, see
|
|
||||||
https://weechat.org/about/interfaces/[this page ^↗^^].
|
|
||||||
|
|
||||||
For example:
|
|
||||||
|
|
||||||
----
|
|
||||||
/relay add api 9000
|
|
||||||
----
|
|
||||||
|
|
||||||
Now you can connect on port 9000 with a WeeChat or a remote interface using
|
|
||||||
password "mypassword".
|
|
||||||
|
|
||||||
To connect to an _api_ relay with WeeChat:
|
|
||||||
|
|
||||||
----
|
|
||||||
/remote add weechat http://localhost:9000 -password=mypassword
|
|
||||||
/remote connect weechat
|
|
||||||
----
|
|
||||||
|
|
||||||
[NOTE]
|
|
||||||
The remote WeeChat must expose the same API version as the local WeeChat, so
|
|
||||||
it's highly recommended to use exactly the same WeeChat version on remote
|
|
||||||
and local client.
|
|
||||||
|
|
||||||
[[relay_weechat_protocol]]
|
[[relay_weechat_protocol]]
|
||||||
=== WeeChat protocol
|
=== WeeChat protocol
|
||||||
|
|
||||||
@@ -4717,9 +4504,7 @@ websocket = new WebSocket("ws://server.com:9000/weechat");
|
|||||||
----
|
----
|
||||||
|
|
||||||
The port (9000 in example) is the port defined in Relay plugin.
|
The port (9000 in example) is the port defined in Relay plugin.
|
||||||
|
The URI must always end with "/weechat" (for _irc_ and _weechat_ protocols).
|
||||||
The URI must end with "/weechat" for _irc_ and _weechat_ protocols and "/api"
|
|
||||||
for _api_ protocol.
|
|
||||||
|
|
||||||
[[relay_unix_socket]]
|
[[relay_unix_socket]]
|
||||||
=== UNIX domain sockets
|
=== UNIX domain sockets
|
||||||
@@ -4762,7 +4547,7 @@ Sections in file _relay.conf_:
|
|||||||
| network | /set relay.network.* | Network options.
|
| network | /set relay.network.* | Network options.
|
||||||
| irc | /set relay.irc.* | Options specific to irc protocol (irc proxy).
|
| irc | /set relay.irc.* | Options specific to irc protocol (irc proxy).
|
||||||
| port | <<command_relay_relay,/relay add>> +
|
| port | <<command_relay_relay,/relay add>> +
|
||||||
/set relay.port.* | Ports used for relay (options can be added/removed in section).
|
/set relay.port.* | Ports used for relay (irc and weechat protocols) (options can be added/removed in section).
|
||||||
|===
|
|===
|
||||||
|
|
||||||
Options:
|
Options:
|
||||||
@@ -5168,9 +4953,7 @@ Matching groups can be used in _replace_:
|
|||||||
|
|
||||||
* `+${re:0}+` to `+${re:99}+`: `+${re:0}+` is the whole match, `+${re:1}+` to
|
* `+${re:0}+` to `+${re:99}+`: `+${re:0}+` is the whole match, `+${re:1}+` to
|
||||||
`+${re:99}+` are groups captured
|
`+${re:99}+` are groups captured
|
||||||
* `pass:[${re:+}]`: the last match (with highest number)
|
* `+${re:+}+`: the last match (with highest number)
|
||||||
* `+${re:#}+`: index of last group captured
|
|
||||||
* `+${re:repl_index}+`: index of replacement being done (starts to 1)
|
|
||||||
* `+${hide:c,${re:N}}+`: match "N" with all chars replaced by "c"
|
* `+${hide:c,${re:N}}+`: match "N" with all chars replaced by "c"
|
||||||
(example: `+${hide:*,${re:2}}+` is the group #2 with all chars replaced by
|
(example: `+${hide:*,${re:2}}+` is the group #2 with all chars replaced by
|
||||||
`+*+`).
|
`+*+`).
|
||||||
@@ -5238,7 +5021,7 @@ type:
|
|||||||
| signal | tg_signal_data |
|
| signal | tg_signal_data |
|
||||||
| hsignal | |
|
| hsignal | |
|
||||||
| modifier | tg_string | tg_string
|
| modifier | tg_string | tg_string
|
||||||
| line | message | buffer, buffer_name, y, date, date_usec, date_printed, date_usec_printed, str_time, tags, notify_level, highlight, prefix, message
|
| line | message | buffer, buffer_name, y, date, date_printed, str_time, tags, notify_level, highlight, prefix, message
|
||||||
| print | tg_message |
|
| print | tg_message |
|
||||||
| command | tg_argv_eol1 |
|
| command | tg_argv_eol1 |
|
||||||
| command_run | tg_command |
|
| command_run | tg_command |
|
||||||
@@ -5319,7 +5102,7 @@ is added in hashtable:
|
|||||||
| server | string | Name of server (example: "libera").
|
| server | string | Name of server (example: "libera").
|
||||||
| tags | string | Tags in message (rarely used).
|
| tags | string | Tags in message (rarely used).
|
||||||
| message_without_tags | string | Message without tags.
|
| message_without_tags | string | Message without tags.
|
||||||
| nick | string | Nick. ^(1)^
|
| nick | string | Nick.
|
||||||
| host | string | Hostname.
|
| host | string | Hostname.
|
||||||
| command | string | IRC command (example: "PRIVMSG", "NOTICE", ...).
|
| command | string | IRC command (example: "PRIVMSG", "NOTICE", ...).
|
||||||
| channel | string | IRC channel.
|
| channel | string | IRC channel.
|
||||||
@@ -5331,10 +5114,6 @@ is added in hashtable:
|
|||||||
| pos_text | string | The index of _text_ in message ("-1" if _text_ was not found).
|
| pos_text | string | The index of _text_ in message ("-1" if _text_ was not found).
|
||||||
|===
|
|===
|
||||||
|
|
||||||
[NOTE]
|
|
||||||
^(1)^ The nick is the sender of the message. +
|
|
||||||
Your own nick on the server is `${irc_server.nick}`.
|
|
||||||
|
|
||||||
When the data is a pointer, the variable `+tg_signal_data+` can be used like this
|
When the data is a pointer, the variable `+tg_signal_data+` can be used like this
|
||||||
to read a hdata property (in this example this is a pointer on a buffer):
|
to read a hdata property (in this example this is a pointer on a buffer):
|
||||||
|
|
||||||
@@ -5401,9 +5180,7 @@ The "line" callback sets following variables in hashtable:
|
|||||||
| buffer_type | string | Buffer type ("formatted" or "free").
|
| buffer_type | string | Buffer type ("formatted" or "free").
|
||||||
| y | string | Line number for a buffer with free content (≥ 0), -1 for a buffer with formatted content.
|
| y | string | Line number for a buffer with free content (≥ 0), -1 for a buffer with formatted content.
|
||||||
| date | string | Line date (timestamp).
|
| date | string | Line date (timestamp).
|
||||||
| date_usec | string | Microseconds of line date.
|
|
||||||
| date_printed | string | Date when line was displayed (timestamp).
|
| date_printed | string | Date when line was displayed (timestamp).
|
||||||
| date_usec_printed | string | Microseconds of date when line was displayed.
|
|
||||||
| str_time | string | Date for display. It may contain color codes.
|
| str_time | string | Date for display. It may contain color codes.
|
||||||
| tags | string | Tags of message (with comma added at beginning/end of string).
|
| tags | string | Tags of message (with comma added at beginning/end of string).
|
||||||
| displayed | string | "1" if displayed, "0" if line filtered.
|
| displayed | string | "1" if displayed, "0" if line filtered.
|
||||||
@@ -5442,7 +5219,7 @@ The "print" callback sets following variables in hashtable:
|
|||||||
|===
|
|===
|
||||||
| Variable | Type | Description
|
| Variable | Type | Description
|
||||||
| buffer | pointer | Buffer.
|
| buffer | pointer | Buffer.
|
||||||
| tg_date | string | Message date/time (format: `%FT%T.%f`, see link:weechat_plugin_api.en.html#_util_strftimeval[WeeChat plugin API reference / util_strftimeval ^↗^^]).
|
| tg_date | string | Message date/time (format: `YYYY-MM-DD hh:mm:ss`).
|
||||||
| tg_displayed | string | "1" if displayed, "0" if line filtered.
|
| tg_displayed | string | "1" if displayed, "0" if line filtered.
|
||||||
| tg_highlight | string | "1" if highlight, otherwise "0".
|
| tg_highlight | string | "1" if highlight, otherwise "0".
|
||||||
| tg_prefix | string | Prefix.
|
| tg_prefix | string | Prefix.
|
||||||
@@ -5507,7 +5284,7 @@ The "timer" callback sets following variables in hashtable:
|
|||||||
|===
|
|===
|
||||||
| Variable | Type | Description
|
| Variable | Type | Description
|
||||||
| tg_remaining_calls | string | Number of remaining calls.
|
| tg_remaining_calls | string | Number of remaining calls.
|
||||||
| tg_date | string | Current date/time (format: `%FT%T.%f`, see link:weechat_plugin_api.en.html#_util_strftimeval[WeeChat plugin API reference / util_strftimeval ^↗^^]).
|
| tg_date | string | Current date/time (format: `YYYY-MM-DD hh:mm:ss`).
|
||||||
|===
|
|===
|
||||||
|
|
||||||
[[trigger_data_config]]
|
[[trigger_data_config]]
|
||||||
|
|||||||
+24
-84
@@ -598,33 +598,6 @@ Si está utilizando aplicación Terminal de macOS, habilite la opción
|
|||||||
"Use option as meta key" en el menú Settings/Keyboard después de la cual puede utilizar la tecla
|
"Use option as meta key" en el menú Settings/Keyboard después de la cual puede utilizar la tecla
|
||||||
kbd:[Option] como tecla meta.
|
kbd:[Option] como tecla meta.
|
||||||
|
|
||||||
// TRANSLATION MISSING
|
|
||||||
[[enter_key]]
|
|
||||||
=== Some keys including Enter are not working, why?
|
|
||||||
|
|
||||||
If you run a WeeChat < 4.0.0 with configuration files created by any
|
|
||||||
version ≥ 4.0.0, the keys names become invalid and many keys won't work at all. +
|
|
||||||
To repair them, exit WeeChat, remove all sections `[key*]` from weechat.conf
|
|
||||||
and start WeeChat again: all default keys will be created.
|
|
||||||
|
|
||||||
// TRANSLATION MISSING
|
|
||||||
[[key_f11]]
|
|
||||||
=== Key F11 maximizes the terminal window, how can I scroll up the nicklist?
|
|
||||||
|
|
||||||
The key kbd:[F11] is commonly used by terminals to maximize the window, and
|
|
||||||
kbd:[F11]/kbd:[F12] are the default keys in WeeChat to scroll the nicklist.
|
|
||||||
|
|
||||||
You can bind other keys, for example kbd:[Shift+F11] and kbd:[Shift+F12],
|
|
||||||
with WeeChat ≥ 4.0.0:
|
|
||||||
|
|
||||||
----
|
|
||||||
/key bind shift-f11 /bar scroll nicklist * -100%
|
|
||||||
/key bind shift-f12 /bar scroll nicklist * +100%
|
|
||||||
----
|
|
||||||
|
|
||||||
Other solution is to enable mouse (key: kbd:[Alt+m]) and scroll with the mouse
|
|
||||||
wheel (see also questions about <<mouse,mouse>>).
|
|
||||||
|
|
||||||
[[customize_key_bindings]]
|
[[customize_key_bindings]]
|
||||||
=== ¿Cómo puedo personalizar los atajos de teclado?
|
=== ¿Cómo puedo personalizar los atajos de teclado?
|
||||||
|
|
||||||
@@ -654,13 +627,6 @@ comandos como `/123` para saltar al buffer #123:
|
|||||||
/trigger add numberjump modifier "2000|input_text_for_buffer" "${tg_string} =~ ^/[0-9]+$" "=\/([0-9]+)=/buffer *${re:1}=" "" "" "none"
|
/trigger add numberjump modifier "2000|input_text_for_buffer" "${tg_string} =~ ^/[0-9]+$" "=\/([0-9]+)=/buffer *${re:1}=" "" "" "none"
|
||||||
----
|
----
|
||||||
|
|
||||||
// TRANSLATION MISSING
|
|
||||||
For an easy jump to buffers, you can also install the _go.py_ script:
|
|
||||||
|
|
||||||
----
|
|
||||||
/script install go.py
|
|
||||||
----
|
|
||||||
|
|
||||||
[[global_history]]
|
[[global_history]]
|
||||||
=== ¿Cómo utilizar el historial global (en vez del historial del buffer) con las teclas de las flechas arriba y abajo?
|
=== ¿Cómo utilizar el historial global (en vez del historial del buffer) con las teclas de las flechas arriba y abajo?
|
||||||
|
|
||||||
@@ -981,22 +947,35 @@ link:weechat_user.en.html#max_hotlist_level_nicks[hotlist_max_level_nicks_add ^
|
|||||||
buffer property to set the max hotlist level for some nicks, per buffer,
|
buffer property to set the max hotlist level for some nicks, per buffer,
|
||||||
or per group of buffers (like IRC servers).
|
or per group of buffers (like IRC servers).
|
||||||
|
|
||||||
Para únicamente inhabilitar las notificaciones, debería establecerlo a 2.
|
Para únicamente inhabilitar las notificaciones, debería establecerlo a 2:
|
||||||
|
|
||||||
// TRANSLATION MISSING
|
|
||||||
For the current buffer:
|
|
||||||
|
|
||||||
----
|
----
|
||||||
/buffer setauto hotlist_max_level_nicks_add joe:2,mike:2
|
/buffer set hotlist_max_level_nicks_add joe:2,mike:2
|
||||||
----
|
----
|
||||||
|
|
||||||
// TRANSLATION MISSING
|
Esta propiedad del buffer no es almacenada en la configuración.
|
||||||
For all channels on server "libera":
|
Para volver a aplicar automáticamente estas propiedades del buffer, necesitaría el script
|
||||||
|
_buffer_autoset.py_:
|
||||||
|
|
||||||
----
|
----
|
||||||
/set weechat.buffer.irc.libera.*.hotlist_max_level_nicks_add joe:2,mike:2
|
/script install buffer_autoset.py
|
||||||
----
|
----
|
||||||
|
|
||||||
|
Por ejemplo, para inhabilitar automáticamente las menciones de "mike" en #weechat
|
||||||
|
en el servidor IRC de libera:
|
||||||
|
|
||||||
|
----
|
||||||
|
/buffer_autoset add irc.libera.#weechat hotlist_max_level_nicks_add mike:2
|
||||||
|
----
|
||||||
|
|
||||||
|
Para aplicarlo al servidor completo de libera:
|
||||||
|
|
||||||
|
----
|
||||||
|
/buffer_autoset add irc.libera hotlist_max_level_nicks_add mike:2
|
||||||
|
----
|
||||||
|
|
||||||
|
Para más ejemplos, vea `+/help buffer_autoset+`.
|
||||||
|
|
||||||
[[irc_target_buffer]]
|
[[irc_target_buffer]]
|
||||||
=== ¿Cómo puedo cambiar el objetivo del buffer para comandos en buffers unidos (como en un buffer con servidores)?
|
=== ¿Cómo puedo cambiar el objetivo del buffer para comandos en buffers unidos (como en un buffer con servidores)?
|
||||||
|
|
||||||
@@ -1126,10 +1105,7 @@ Puede intentar estos trucos para consumir menos memoria:
|
|||||||
|
|
||||||
Puede seguir los mismos consejo que para la <<memory_usage,memoria>> y estos otros:
|
Puede seguir los mismos consejo que para la <<memory_usage,memoria>> y estos otros:
|
||||||
|
|
||||||
// TRANSLATION MISSING
|
* Oculte la barra de la lista de apodos: `/bar hide nicklist`.
|
||||||
* Oculte la barra de la lista de apodos: `/bar hide nicklist` (key: kbd:[Alt+Shift+N]).
|
|
||||||
// TRANSLATION MISSING
|
|
||||||
* Disable "buflist": `/buflist disable` (key: kbd:[Alt+Shift+B]).
|
|
||||||
* Elimine que se muestren los segundos en la hora de la barra de estado:
|
* Elimine que se muestren los segundos en la hora de la barra de estado:
|
||||||
`+/set weechat.look.item_time_format "%H:%M"+` (este es el valor predeterminado).
|
`+/set weechat.look.item_time_format "%H:%M"+` (este es el valor predeterminado).
|
||||||
* Inhabilite la comprobación en tiempo real de palabras erróneas en la línea de comandos (si lo había habilitado previamente):
|
* Inhabilite la comprobación en tiempo real de palabras erróneas en la línea de comandos (si lo había habilitado previamente):
|
||||||
@@ -1151,21 +1127,14 @@ Inhabilite las respuestas a todas las peticiones CTCP:
|
|||||||
|
|
||||||
----
|
----
|
||||||
/set irc.ctcp.clientinfo ""
|
/set irc.ctcp.clientinfo ""
|
||||||
|
/set irc.ctcp.finger ""
|
||||||
/set irc.ctcp.source ""
|
/set irc.ctcp.source ""
|
||||||
/set irc.ctcp.time ""
|
/set irc.ctcp.time ""
|
||||||
|
/set irc.ctcp.userinfo ""
|
||||||
/set irc.ctcp.version ""
|
/set irc.ctcp.version ""
|
||||||
/set irc.ctcp.ping ""
|
/set irc.ctcp.ping ""
|
||||||
----
|
----
|
||||||
|
|
||||||
// TRANSLATION MISSING
|
|
||||||
With WeeChat < 4.1.0, other CTCP queries were replied by default and must be
|
|
||||||
disabled as well:
|
|
||||||
|
|
||||||
----
|
|
||||||
/set irc.ctcp.finger ""
|
|
||||||
/set irc.ctcp.userinfo ""
|
|
||||||
----
|
|
||||||
|
|
||||||
Elimine de la memoria e inhabilite la carga automática del complemento "xfer" (utilizdo para IRC DCC):
|
Elimine de la memoria e inhabilite la carga automática del complemento "xfer" (utilizdo para IRC DCC):
|
||||||
|
|
||||||
----
|
----
|
||||||
@@ -1200,35 +1169,6 @@ almacenadas en _sec.conf_ con el comando `/secure`).
|
|||||||
Vea la link:weechat_user.en.html#files_and_directories[Guía del usuario / Archivos y directorios ^↗^^]
|
Vea la link:weechat_user.en.html#files_and_directories[Guía del usuario / Archivos y directorios ^↗^^]
|
||||||
para más información relacionada con los archivos de configuración.
|
para más información relacionada con los archivos de configuración.
|
||||||
|
|
||||||
// TRANSLATION MISSING
|
|
||||||
[[move_to_another_device]]
|
|
||||||
=== I want to move my WeeChat to another device and keep my config, what should I copy?
|
|
||||||
|
|
||||||
First check directories used by WeeChat with this command: `/debug dirs`. +
|
|
||||||
Directories home/config and home/data must be copied (all files and sub-directories).
|
|
||||||
|
|
||||||
For example if you're using XDG directories (default with WeeChat ≥ 3.2),
|
|
||||||
the directories should be `$HOME/.config/weechat` and `$HOME/.local/share/weechat`. +
|
|
||||||
If you're using a single directory (default with WeeChat < 3.2), the directory
|
|
||||||
should be `$HOME/.weechat`.
|
|
||||||
|
|
||||||
[IMPORTANT]
|
|
||||||
The WeeChat version on the new device must be greater than or equal to the version
|
|
||||||
on the initial device. +
|
|
||||||
Downgrading WeeChat configuration is *NOT SUPPORTED* and can break it,
|
|
||||||
leading to unusable WeeChat.
|
|
||||||
|
|
||||||
Steps:
|
|
||||||
|
|
||||||
. Quit Weechat: `/quit` (or `/upgrade -quit` if you want to resume the session,
|
|
||||||
which includes content of all buffers).
|
|
||||||
. Copy all directories, sub-directories and files to the new device, keeping
|
|
||||||
same names and permissions.
|
|
||||||
. Optional: copy any file outside these directories that you refer to in your
|
|
||||||
configuration (it's not recommended to use files outside WeeChat directories).
|
|
||||||
. Start WeeChat on the new device: `weechat` (or `weechat --upgrade` if you
|
|
||||||
saved the session).
|
|
||||||
|
|
||||||
[[development]]
|
[[development]]
|
||||||
== Desarrollo
|
== Desarrollo
|
||||||
|
|
||||||
|
|||||||
@@ -102,7 +102,7 @@ $HOME/.local/share/weechat/weechat.log::
|
|||||||
WeeChat est écrit par Sébastien Helleu et des contributeurs (la liste complète
|
WeeChat est écrit par Sébastien Helleu et des contributeurs (la liste complète
|
||||||
est dans le fichier AUTHORS.adoc).
|
est dans le fichier AUTHORS.adoc).
|
||||||
|
|
||||||
Copyright (C) 2003-2024 {author}
|
Copyright (C) 2003-2023 {author}
|
||||||
|
|
||||||
WeeChat est un logiciel libre ; vous pouvez le redistribuer et/ou le modifier
|
WeeChat est un logiciel libre ; vous pouvez le redistribuer et/ou le modifier
|
||||||
sous les termes de la GNU General Public License telle que publiée par la
|
sous les termes de la GNU General Public License telle que publiée par la
|
||||||
|
|||||||
+58
-108
@@ -116,60 +116,58 @@ Le cœur de WeeChat est situé dans les répertoires suivants :
|
|||||||
|===
|
|===
|
||||||
| Chemin/fichier | Description
|
| Chemin/fichier | Description
|
||||||
| core/ | Fonctions du cœur : point d'entrée, structures internes.
|
| core/ | Fonctions du cœur : point d'entrée, structures internes.
|
||||||
| core-arraylist.c | Listes avec tableau (« arraylists »).
|
| wee-arraylist.c | Listes avec tableau (« arraylists »).
|
||||||
| core-backtrace.c | Afficher une trace après un plantage.
|
| wee-backtrace.c | Afficher une trace après un plantage.
|
||||||
| core-calc.c | Calcul du résultat d'expressions.
|
| wee-calc.c | Calcul du résultat d'expressions.
|
||||||
| core-command.c | Commandes du cœur de WeeChat.
|
| wee-command.c | Commandes du cœur de WeeChat.
|
||||||
| core-completion.c | Complétions par défaut.
|
| wee-completion.c | Complétions par défaut.
|
||||||
| core-config-file.c | Gestion des fichiers de configuration.
|
| wee-config-file.c | Gestion des fichiers de configuration.
|
||||||
| core-config.c | Options de configuration du cœur de WeeChat (fichier weechat.conf).
|
| wee-config.c | Options de configuration du cœur de WeeChat (fichier weechat.conf).
|
||||||
| core-crypto.c | Fonctions de cryptographie.
|
| wee-crypto.c | Fonctions de cryptographie.
|
||||||
| core-debug.c | Quelques fonctions de debug.
|
| wee-debug.c | Quelques fonctions de debug.
|
||||||
| core-dir.c | Fonctions sur les répertoires/fichiers.
|
| wee-dir.c | Fonctions sur les répertoires/fichiers.
|
||||||
| core-doc.c | Génération de fichiers pour la documentation.
|
| wee-doc.c | Génération de fichiers pour la documentation.
|
||||||
| core-eval.c | Évaluation d'expressions avec des références à des variables internes.
|
| wee-eval.c | Évaluation d'expressions avec des références à des variables internes.
|
||||||
| core-hashtable.c | Tables de hachage.
|
| wee-hashtable.c | Tables de hachage.
|
||||||
| core-hdata.c | Hdata (accès direct aux données en utilisant des tables de hachage).
|
| wee-hdata.c | Hdata (accès direct aux données en utilisant des tables de hachage).
|
||||||
| core-hook.c | Crochets ("hooks").
|
| wee-hook.c | Crochets ("hooks").
|
||||||
| core-infolist.c | Infolists (listes avec les données des objets).
|
| wee-infolist.c | Infolists (listes avec les données des objets).
|
||||||
| core-input.c | Entrée de commandes/texte.
|
| wee-input.c | Entrée de commandes/texte.
|
||||||
| core-list.c | Listes triées.
|
| wee-list.c | Listes triées.
|
||||||
| core-log.c | Écriture dans le fichier de log WeeChat (weechat.log).
|
| wee-log.c | Écriture dans le fichier de log WeeChat (weechat.log).
|
||||||
| core-network.c | Fonctions réseau (connexion aux serveurs/proxies).
|
| wee-network.c | Fonctions réseau (connexion aux serveurs/proxies).
|
||||||
| core-proxy.c | Gestion des proxies.
|
| wee-proxy.c | Gestion des proxies.
|
||||||
| core-secure.c | Fonctions pour les données sécurisées.
|
| wee-secure.c | Fonctions pour les données sécurisées.
|
||||||
| core-secure-buffer.c | Tampon pour les données sécurisées.
|
| wee-secure-buffer.c | Tampon pour les données sécurisées.
|
||||||
| core-secure-config.c | Options des données sécurisées (fichier sec.conf).
|
| wee-secure-config.c | Options des données sécurisées (fichier sec.conf).
|
||||||
| core-signal.c | Fonctions sur les signaux.
|
| wee-signal.c | Fonctions sur les signaux.
|
||||||
| core-string.c | Fonctions sur les chaînes de caractères.
|
| wee-string.c | Fonctions sur les chaînes de caractères.
|
||||||
| core-sys.c | Fonctions système.
|
| wee-upgrade-file.c | Système de mise à jour interne.
|
||||||
| core-upgrade-file.c | Système de mise à jour interne.
|
| wee-upgrade.c | Mise à jour du cœur de WeeChat (tampons, lignes, historique, ...).
|
||||||
| core-upgrade.c | Mise à jour du cœur de WeeChat (tampons, lignes, historique, ...).
|
| wee-url.c | Transfert d'URL (en utilisant libcurl).
|
||||||
| core-url.c | Transfert d'URL (en utilisant libcurl).
|
| wee-utf8.c | Fonctions UTF-8.
|
||||||
| core-utf8.c | Fonctions UTF-8.
|
| wee-util.c | Quelques autres fonctions utilitaires.
|
||||||
| core-util.c | Quelques autres fonctions utilitaires.
|
| wee-version.c | Fonctions pour la version de WeeChat.
|
||||||
| core-version.c | Fonctions pour la version de WeeChat.
|
|
||||||
| weechat.c | Fonctions principales : options de ligne de commande, démarrage.
|
| weechat.c | Fonctions principales : options de ligne de commande, démarrage.
|
||||||
| hook/ | Fonctions "hook".
|
| hook/ | Hook functions.
|
||||||
| hook-command-run.c | Hook "command_run".
|
| wee-hook-command-run.c | Hook "command_run".
|
||||||
| hook-command.c | Hook "command".
|
| wee-hook-command.c | Hook "command".
|
||||||
| hook-completion.c | Hook "completion".
|
| wee-hook-completion.c | Hook "completion".
|
||||||
| hook-config.c | Hook "config".
|
| wee-hook-config.c | Hook "config".
|
||||||
| hook-connect.c | Hook "connect".
|
| wee-hook-connect.c | Hook "connect".
|
||||||
| hook-fd.c | Hook "fd".
|
| wee-hook-fd.c | Hook "fd".
|
||||||
| hook-focus.c | Hook "focus".
|
| wee-hook-focus.c | Hook "focus".
|
||||||
| hook-hdata.c | Hook "hdata".
|
| wee-hook-hdata.c | Hook "hdata".
|
||||||
| hook-hsignal.c | Hook "hsignal".
|
| wee-hook-hsignal.c | Hook "hsignal".
|
||||||
| hook-info-hashtable.c | Hook "info".
|
| wee-hook-info-hashtable.c | Hook "info".
|
||||||
| hook-info.c | Hook "info".
|
| wee-hook-info.c | Hook "info".
|
||||||
| hook-infolist.c | Hook "infolist".
|
| wee-hook-infolist.c | Hook "infolist".
|
||||||
| hook-line.c | Hook "line".
|
| wee-hook-line.c | Hook "line".
|
||||||
| hook-modifier.c | Hook "modifier".
|
| wee-hook-modifier.c | Hook "modifier".
|
||||||
| hook-print.c | Hook "print".
|
| wee-hook-print.c | Hook "print".
|
||||||
| hook-process.c | Hook "process".
|
| wee-hook-process.c | Hook "process".
|
||||||
| hook-signal.c | Hook "signal".
|
| wee-hook-signal.c | Hook "signal".
|
||||||
| hook-timer.c | Hook "timer".
|
| wee-hook-timer.c | Hook "timer".
|
||||||
| hook-url.c | Hook "url".
|
|
||||||
| gui/ | Fonctions pour les tampons, fenêtres, ... (utilisées par toutes les interfaces).
|
| gui/ | Fonctions pour les tampons, fenêtres, ... (utilisées par toutes les interfaces).
|
||||||
| gui-bar-item.c | Objets de barre.
|
| gui-bar-item.c | Objets de barre.
|
||||||
| gui-bar-window.c | Fenêtres de barre.
|
| gui-bar-window.c | Fenêtres de barre.
|
||||||
@@ -240,7 +238,6 @@ Le cœur de WeeChat est situé dans les répertoires suivants :
|
|||||||
| buflist.c | Fonctions principales de Buflist.
|
| buflist.c | Fonctions principales de Buflist.
|
||||||
| buflist-bar-item.c | Objets de barre Buflist.
|
| buflist-bar-item.c | Objets de barre Buflist.
|
||||||
| buflist-command.c | Commandes pour Buflist.
|
| buflist-command.c | Commandes pour Buflist.
|
||||||
| buflist-completion.c | Complétions pour Buflist.
|
|
||||||
| buflist-config.c | Options de configuration pour Buflist (fichier buflist.conf).
|
| buflist-config.c | Options de configuration pour Buflist (fichier buflist.conf).
|
||||||
| buflist-info.c | Info/infolists/hdata pour Buflist.
|
| buflist-info.c | Info/infolists/hdata pour Buflist.
|
||||||
| buflist-mouse.c | Actions souris pour Buflist.
|
| buflist-mouse.c | Actions souris pour Buflist.
|
||||||
@@ -286,7 +283,6 @@ Le cœur de WeeChat est situé dans les répertoires suivants :
|
|||||||
| irc-info.c | Info/infolists/hdata pour IRC.
|
| irc-info.c | Info/infolists/hdata pour IRC.
|
||||||
| irc-input.c | Entrée de commandes/texte.
|
| irc-input.c | Entrée de commandes/texte.
|
||||||
| irc-join.c | Fonctions pour les listes de canaux à rejoindre.
|
| irc-join.c | Fonctions pour les listes de canaux à rejoindre.
|
||||||
| irc-list.c | Tampon pour la réponse à la commande /list.
|
|
||||||
| irc-message.c | Fonctions pour manipuler les messages IRC.
|
| irc-message.c | Fonctions pour manipuler les messages IRC.
|
||||||
| irc-mode.c | Fonctions pour les modes de canal/pseudo.
|
| irc-mode.c | Fonctions pour les modes de canal/pseudo.
|
||||||
| irc-modelist.c | Listes de modes de canaux IRC (+b, +e, +I, ...).
|
| irc-modelist.c | Listes de modes de canaux IRC (+b, +e, +I, ...).
|
||||||
@@ -333,24 +329,15 @@ Le cœur de WeeChat est situé dans les répertoires suivants :
|
|||||||
| relay-command.c | Commandes de Relay.
|
| relay-command.c | Commandes de Relay.
|
||||||
| relay-completion.c | Complétions de Relay.
|
| relay-completion.c | Complétions de Relay.
|
||||||
| relay-config.c | Options de configuration pour Relay (fichier relay.conf).
|
| relay-config.c | Options de configuration pour Relay (fichier relay.conf).
|
||||||
| relay-http.c | Fonctions HTTP.
|
|
||||||
| relay-info.c | Info/infolists/hdata pour Relay.
|
| relay-info.c | Info/infolists/hdata pour Relay.
|
||||||
| relay-network.c | Fonctions de réseau pour Relay.
|
| relay-network.c | Fonctions de réseau pour Relay.
|
||||||
| relay-raw.c | Tampon des données brutes de Relay.
|
| relay-raw.c | Tampon des données brutes de Relay.
|
||||||
| relay-remote.c | Relai distant.
|
|
||||||
| relay-server.c | Serveur Relay.
|
| relay-server.c | Serveur Relay.
|
||||||
| relay-upgrade.c | Sauvegarde/restauration des données Relay lors de la mise à jour de WeeChat.
|
| relay-upgrade.c | Sauvegarde/restauration des données Relay lors de la mise à jour de WeeChat.
|
||||||
| relay-websocket.c | Fonctions pour le serveur WebSocket (RFC 6455).
|
| relay-websocket.c | Fonctions pour le serveur WebSocket (RFC 6455).
|
||||||
| api/ | Relai pour les interfaces distantes (en utilisant une API REST HTTP).
|
|
||||||
| relay-api.c | Fonctions principales pour l'API REST HTTP.
|
|
||||||
| relay-api-msg.c | Envoi de messages JSON aux clients.
|
|
||||||
| relay-api-protocol.c | Protocole HTTP REST API.
|
|
||||||
| remote/ | Relai distant.
|
|
||||||
| relay-remote-event.c | Traitement des évènements reçus du relai distant.
|
|
||||||
| relay-remote-network.c | Fonctions réseau pour le relai distant.
|
|
||||||
| irc/ | Proxy IRC.
|
| irc/ | Proxy IRC.
|
||||||
| relay-irc.c | Fonctions principales pour le proxy IRC.
|
| relay-irc.c | Fonctions principales pour le proxy IRC.
|
||||||
| weechat/ | Relai pour les interfaces distantes (en utilisant le protocole binaire "weechat").
|
| weechat/ | Relai pour les interfaces distantes.
|
||||||
| relay-weechat.c | Relai pour les interfaces distantes (fonctions principales).
|
| relay-weechat.c | Relai pour les interfaces distantes (fonctions principales).
|
||||||
| relay-weechat-msg.c | Envoi de messages binaires aux clients.
|
| relay-weechat-msg.c | Envoi de messages binaires aux clients.
|
||||||
| relay-weechat-nicklist.c | Fonctions pour la liste de pseudos.
|
| relay-weechat-nicklist.c | Fonctions pour la liste de pseudos.
|
||||||
@@ -414,8 +401,6 @@ Le cœur de WeeChat est situé dans les répertoires suivants :
|
|||||||
| unparse.py | Conversion de code Python vers d'autres langages, utilisé par le script testapigen.py.
|
| unparse.py | Conversion de code Python vers d'autres langages, utilisé par le script testapigen.py.
|
||||||
| unit/ | Racine des tests unitaires.
|
| unit/ | Racine des tests unitaires.
|
||||||
| test-plugins.cpp | Tests : extensions.
|
| test-plugins.cpp | Tests : extensions.
|
||||||
| test-plugin-api-info.cpp | Tests : fonctions info de l'API extension.
|
|
||||||
| test-plugin-config.cpp | Tests : fonctions config de l'extension.
|
|
||||||
| core/ | Racine des tests unitaires pour le cœur.
|
| core/ | Racine des tests unitaires pour le cœur.
|
||||||
| test-core-arraylist.cpp | Tests : listes avec tableau (« arraylists »).
|
| test-core-arraylist.cpp | Tests : listes avec tableau (« arraylists »).
|
||||||
| test-core-calc.cpp | Tests : calcul d'expressions.
|
| test-core-calc.cpp | Tests : calcul d'expressions.
|
||||||
@@ -436,54 +421,25 @@ Le cœur de WeeChat est situé dans les répertoires suivants :
|
|||||||
| test-core-url.cpp | Tests : URLs.
|
| test-core-url.cpp | Tests : URLs.
|
||||||
| test-core-utf8.cpp | Tests : UTF-8.
|
| test-core-utf8.cpp | Tests : UTF-8.
|
||||||
| test-core-util.cpp | Tests : fonctions utiles.
|
| test-core-util.cpp | Tests : fonctions utiles.
|
||||||
| test-core-sys.cpp | Tests : fonctions système.
|
|
||||||
| hook/ | Racine des tests pour les hooks.
|
|
||||||
| test-hook-command.cpp | Tests : hooks "command".
|
|
||||||
| test-hook-command-run.cpp | Tests: hooks "command_run".
|
|
||||||
| test-hook-completion.cpp | Tests: hooks "completion".
|
|
||||||
| test-hook-config.cpp | Tests: hooks "config".
|
|
||||||
| test-hook-connect.cpp | Tests: hooks "connect".
|
|
||||||
| test-hook-fd.cpp | Tests: hooks "fd".
|
|
||||||
| test-hook-focus.cpp | Tests: hooks "focus".
|
|
||||||
| test-hook-hdata.cpp | Tests: hooks "hdata".
|
|
||||||
| test-hook-hsignal.cpp | Tests: hooks "hsignal".
|
|
||||||
| test-hook-info-hashtable.cpp | Tests: hooks "info_hashtable".
|
|
||||||
| test-hook-info.cpp | Tests: hooks "info".
|
|
||||||
| test-hook-infolist.cpp | Tests: hooks "infolist".
|
|
||||||
| test-hook-line.cpp | Tests: hooks "line".
|
|
||||||
| test-hook-modifier.cpp | Tests : hooks "modifier".
|
|
||||||
| test-hook-print.cpp | Tests: hooks "print".
|
|
||||||
| test-hook-process.cpp | Tests: hooks "process".
|
|
||||||
| test-hook-signal.cpp | Tests: hooks "signal".
|
|
||||||
| test-hook-timer.cpp | Tests: hooks "timer".
|
|
||||||
| test-hook-url.cpp | Tests: hooks "url".
|
|
||||||
| gui/ | Racine des tests unitaires pour les interfaces.
|
| gui/ | Racine des tests unitaires pour les interfaces.
|
||||||
| test-gui-bar-window.cpp | Tests : fonctions de fenêtres de barre.
|
| test-gui-bar-window.cpp | Tests : fonctions de fenêtres de barre.
|
||||||
| test-gui-buffer.cpp | Tests : fonctions de tampons.
|
| test-gui-buffer.cpp | Tests : fonctions de tampons.
|
||||||
| test-gui-chat.cpp | Tests : fonctions de discussion.
|
| test-gui-chat.cpp | Tests : fonctions de discussion.
|
||||||
| test-gui-color.cpp | Tests : couleurs.
|
| test-gui-color.cpp | Tests : couleurs.
|
||||||
| test-gui-filter.cpp | Tests : filtres.
|
| test-gui-filter.cpp | Tests : filtres.
|
||||||
| test-gui-hotlist.cpp | Tests : fonctions hotlist.
|
|
||||||
| test-gui-input.cpp | Tests : fonctions d'entrée.
|
| test-gui-input.cpp | Tests : fonctions d'entrée.
|
||||||
| test-gui-key.cpp | Tests : touches.
|
| test-gui-key.cpp | Tests : touches.
|
||||||
| test-gui-line.cpp | Tests : lignes.
|
| test-gui-line.cpp | Tests : lignes.
|
||||||
| test-gui-nick.cpp | Tests : pseudos.
|
| test-gui-nick.cpp | Tests : pseudos.
|
||||||
| test-gui-nicklist.cpp | Tests : fonctions de liste de pseudos.
|
|
||||||
| curses/ | Racine des tests unitaires pour l'interface Curses.
|
|
||||||
| test-gui-curses-mouse.cpp | Tests : souris (interface Curses).
|
|
||||||
| plugins/ | Racine des tests unitaires pour les extensions.
|
| plugins/ | Racine des tests unitaires pour les extensions.
|
||||||
| irc/ | Racine des tests unitaires pour l'extension IRC.
|
| irc/ | Racine des tests unitaires pour l'extension IRC.
|
||||||
| test-irc-batch.cpp | Tests : évènements batch IRC.
|
| test-irc-batch.cpp | Tests : évènements batch IRC.
|
||||||
| test-irc-buffer.cpp | Tests : tampons IRC.
|
| test-irc-buffer.cpp | Tests : tampons IRC.
|
||||||
| test-irc-channel.cpp | Tests : canaux IRC.
|
| test-irc-channel.cpp | Tests : canaux IRC.
|
||||||
| test-irc-color.cpp | Tests : couleurs IRC.
|
| test-irc-color.cpp | Tests : couleurs IRC.
|
||||||
| test-irc-command.cpp | Tests : commandes IRC.
|
|
||||||
| test-irc-config.cpp | Tests : configuration IRC.
|
| test-irc-config.cpp | Tests : configuration IRC.
|
||||||
| test-irc-ctcp.cpp | Tests : CTCP IRC.
|
|
||||||
| test-irc-ignore.cpp | Tests : ignores IRC.
|
| test-irc-ignore.cpp | Tests : ignores IRC.
|
||||||
| test-irc-info.cpp | Tests : infos IRC.
|
|
||||||
| test-irc-join.cpp | Tests : fonctions de join IRC.
|
| test-irc-join.cpp | Tests : fonctions de join IRC.
|
||||||
| test-irc-list.cpp | Tests : tampon IRC pour la réponse à la commande /list.
|
|
||||||
| test-irc-message.cpp | Tests : messages IRC.
|
| test-irc-message.cpp | Tests : messages IRC.
|
||||||
| test-irc-mode.cpp | Tests : modes IRC.
|
| test-irc-mode.cpp | Tests : modes IRC.
|
||||||
| test-irc-nick.cpp | Tests : pseudos IRC.
|
| test-irc-nick.cpp | Tests : pseudos IRC.
|
||||||
@@ -503,15 +459,8 @@ Le cœur de WeeChat est situé dans les répertoires suivants :
|
|||||||
| test-typing-status.cpp | Tests : statut d'écriture.
|
| test-typing-status.cpp | Tests : statut d'écriture.
|
||||||
| relay/ | Racine des tests unitaires pour l'extension Relay.
|
| relay/ | Racine des tests unitaires pour l'extension Relay.
|
||||||
| test-relay-auth.cpp | Tests : authentification des clients.
|
| test-relay-auth.cpp | Tests : authentification des clients.
|
||||||
| test-relay-http.cpp | Tests : fonctions HTTP pour l'extension Relay.
|
|
||||||
| test-relay-remote.cpp | Tests : fonctions remote pour l'extension Relay.
|
|
||||||
| test-relay-websocket.cpp | Tests : fonctions websocket pour l'extension Relay.
|
|
||||||
| api/ | Racine des tests unitaires pour le protocole relay "api".
|
|
||||||
| test-relay-api.cpp | Tests : protocole relay "api" : fonctions générales.
|
|
||||||
| test-relay-api-msg.cpp | Tests : protocole relay "api" : messages.
|
|
||||||
| test-relay-api-protocol.cpp | Tests : protocole relay "api" : protocole.
|
|
||||||
| irc/ | Racine des tests unitaires pour le protocole relay "irc".
|
| irc/ | Racine des tests unitaires pour le protocole relay "irc".
|
||||||
| test-relay-irc.cpp | Tests : protocole relay "irc".
|
| test-relay-irc.cpp | Tests : Protocole relay "irc".
|
||||||
| xfer/ | Racine des tests unitaires pour l'extension Xfer.
|
| xfer/ | Racine des tests unitaires pour l'extension Xfer.
|
||||||
| test-xfer-file.cpp | Tests : fonctions sur les fichiers.
|
| test-xfer-file.cpp | Tests : fonctions sur les fichiers.
|
||||||
| test-xfer-network.cpp | Tests : fonctions réseau.
|
| test-xfer-network.cpp | Tests : fonctions réseau.
|
||||||
@@ -574,7 +523,7 @@ Exemple en C :
|
|||||||
/*
|
/*
|
||||||
* weechat.c - core functions for WeeChat
|
* weechat.c - core functions for WeeChat
|
||||||
*
|
*
|
||||||
* Copyright (C) 2024 Your Name <your@email.com>
|
* Copyright (C) 2023 Your Name <your@email.com>
|
||||||
*
|
*
|
||||||
* This file is part of WeeChat, the extensible chat client.
|
* This file is part of WeeChat, the extensible chat client.
|
||||||
*
|
*
|
||||||
@@ -598,7 +547,8 @@ Exemple en C :
|
|||||||
|
|
||||||
Quelques règles basiques que vous *devez* suivre quand vous écrivez du code C :
|
Quelques règles basiques que vous *devez* suivre quand vous écrivez du code C :
|
||||||
|
|
||||||
* Utilisez 4 espaces pour l'indentation (pas de tabulations).
|
* Utilisez 4 espaces pour l'indentation. N'utilisez pas de tabulations, c'est le
|
||||||
|
mal.
|
||||||
* Essayez de ne pas dépasser 80 caractères par ligne, sauf si cela est
|
* Essayez de ne pas dépasser 80 caractères par ligne, sauf si cela est
|
||||||
nécessaire pour améliorer la lisibilité.
|
nécessaire pour améliorer la lisibilité.
|
||||||
* Utilisez les commentaires `+/* comment */+` (pas de style C99 comme
|
* Utilisez les commentaires `+/* comment */+` (pas de style C99 comme
|
||||||
@@ -820,7 +770,7 @@ Exemples :
|
|||||||
[width="100%",cols="2m,3",options="header"]
|
[width="100%",cols="2m,3",options="header"]
|
||||||
|===
|
|===
|
||||||
| Répertoire | Fichiers
|
| Répertoire | Fichiers
|
||||||
| src/core/ | weechat.c, core-backtrace.c, core-command.c, ...
|
| src/core/ | weechat.c, wee-backtrace.c, wee-command.c, ...
|
||||||
| src/gui/ | gui-bar.c, gui-bar-item.c, gui-bar-window.c, ...
|
| src/gui/ | gui-bar.c, gui-bar-item.c, gui-bar-window.c, ...
|
||||||
| src/gui/curses/ | gui-curses-bar.c, gui-curses-bar-window.c, gui-curses-chat.c, ...
|
| src/gui/curses/ | gui-curses-bar.c, gui-curses-bar-window.c, gui-curses-chat.c, ...
|
||||||
| src/plugins/ | plugin.c, plugin-api.c, plugin-api-info.c, plugin-config.c, plugin-script.c, ...
|
| src/plugins/ | plugin.c, plugin-api.c, plugin-api-info.c, plugin-config.c, plugin-script.c, ...
|
||||||
@@ -829,7 +779,7 @@ Exemples :
|
|||||||
|===
|
|===
|
||||||
|
|
||||||
Les en-têtes des fichiers C doivent avoir le même nom que le fichier, par
|
Les en-têtes des fichiers C doivent avoir le même nom que le fichier, par
|
||||||
exemple _core-command.h_ pour le fichier _core-command.c_.
|
exemple _wee-command.h_ pour le fichier _wee-command.c_.
|
||||||
|
|
||||||
[[naming_convention_structures]]
|
[[naming_convention_structures]]
|
||||||
==== Structures
|
==== Structures
|
||||||
|
|||||||
+24
-81
@@ -601,34 +601,6 @@ Si vous utilisez l'application Terminal sous macOS, activez l'option
|
|||||||
"Use option as meta key" dans le menu Réglages/Clavier. Vous pouvez alors
|
"Use option as meta key" dans le menu Réglages/Clavier. Vous pouvez alors
|
||||||
utiliser la touche kbd:[Option] comme touche meta.
|
utiliser la touche kbd:[Option] comme touche meta.
|
||||||
|
|
||||||
[[enter_key]]
|
|
||||||
=== Quelques touches comme Entrée ne fonctionnent pas, pourquoi ?
|
|
||||||
|
|
||||||
Si vous lancez WeeChat < 4.0.0 avec des fichiers de configuration créés par toute
|
|
||||||
version ≥ 4.0.0, les noms des touches sont invalides et de nombreuses touches
|
|
||||||
ne fonctionneront plus. +
|
|
||||||
Pour les réparer, quittez WeeChat, supprimez toutes les sections `[key*]` de
|
|
||||||
weechat.conf et démarrez WeeChat à nouveau : toutes les touches par défaut
|
|
||||||
seront recréées.
|
|
||||||
|
|
||||||
[[key_f11]]
|
|
||||||
=== La touche F11 maximise la fenêtre du terminal, comment puis-je faire défiler la liste de pseudos vers le haut ?
|
|
||||||
|
|
||||||
La touche kbd:[F11] est fréquemment utilisée par les terminaux pour maximiser
|
|
||||||
la fenêtre, et kbd:[F11]/kbd:[F12] sont les touches par défaut dans WeeChat
|
|
||||||
pour faire défiler la liste des pseudos.
|
|
||||||
|
|
||||||
Vous pouvez associer d'autres touches, par exemple kbd:[Shift+F11] et kbd:[Shift+F12],
|
|
||||||
avec WeeChat ≥ 4.0.0 :
|
|
||||||
|
|
||||||
----
|
|
||||||
/key bind shift-f11 /bar scroll nicklist * -100%
|
|
||||||
/key bind shift-f12 /bar scroll nicklist * +100%
|
|
||||||
----
|
|
||||||
|
|
||||||
Une autre solution est d'activer la souris (touche : kbd:[Alt+m]) et faire défiler
|
|
||||||
avec la roulette de la souris (voir aussi les questions sur la <<mouse,souris>>).
|
|
||||||
|
|
||||||
[[customize_key_bindings]]
|
[[customize_key_bindings]]
|
||||||
=== Comment puis-je configurer les raccourcis clavier ?
|
=== Comment puis-je configurer les raccourcis clavier ?
|
||||||
|
|
||||||
@@ -659,12 +631,6 @@ et utiliser les commandes comme `/123` pour sauter au tampon n°123 :
|
|||||||
/trigger add numberjump modifier "2000|input_text_for_buffer" "${tg_string} =~ ^/[0-9]+$" "=\/([0-9]+)=/buffer *${re:1}=" "" "" "none"
|
/trigger add numberjump modifier "2000|input_text_for_buffer" "${tg_string} =~ ^/[0-9]+$" "=\/([0-9]+)=/buffer *${re:1}=" "" "" "none"
|
||||||
----
|
----
|
||||||
|
|
||||||
Pour un saut facile vers les tampons, vous pouvez aussi installer le script _go.py_ :
|
|
||||||
|
|
||||||
----
|
|
||||||
/script install go.py
|
|
||||||
----
|
|
||||||
|
|
||||||
[[global_history]]
|
[[global_history]]
|
||||||
=== Comment utiliser l'historique global (au lieu de l'historique du tampon) avec les touches haut et bas ?
|
=== Comment utiliser l'historique global (au lieu de l'historique du tampon) avec les touches haut et bas ?
|
||||||
|
|
||||||
@@ -983,20 +949,35 @@ link:weechat_user.fr.html#max_hotlist_level_nicks[hotlist_max_level_nicks_add ^
|
|||||||
pour définir le niveau maximum de hotlist pour certains pseudos, par tampon,
|
pour définir le niveau maximum de hotlist pour certains pseudos, par tampon,
|
||||||
ou groupe de tampons (comme des serveurs IRC).
|
ou groupe de tampons (comme des serveurs IRC).
|
||||||
|
|
||||||
Pour désactiver seulement les highlights, vous pouvez positionner la valeur à 2.
|
Pour désactiver seulement les highlights, vous pouvez positionner la valeur à 2 :
|
||||||
|
|
||||||
Pour le tampon courant :
|
|
||||||
|
|
||||||
----
|
----
|
||||||
/buffer setauto hotlist_max_level_nicks_add joe:2,mike:2
|
/buffer set hotlist_max_level_nicks_add joe:2,mike:2
|
||||||
----
|
----
|
||||||
|
|
||||||
Pour tous les canaux sur le serveur "libera":
|
Cependant, cette propriété de tampon n'est pas sauvegardée dans la configuration.
|
||||||
|
Pour automatiquement réappliquer ces propriétés de tampons, vous aurez besoin
|
||||||
|
du script _buffer_autoset.py_ :
|
||||||
|
|
||||||
----
|
----
|
||||||
/set weechat.buffer.irc.libera.*.hotlist_max_level_nicks_add joe:2,mike:2
|
/script install buffer_autoset.py
|
||||||
----
|
----
|
||||||
|
|
||||||
|
Par exemple, pour désactiver de manière permanente les highlights de "mike" sur
|
||||||
|
#weechat sur le serveur IRC libera :
|
||||||
|
|
||||||
|
----
|
||||||
|
/buffer_autoset add irc.libera.#weechat hotlist_max_level_nicks_add mike:2
|
||||||
|
----
|
||||||
|
|
||||||
|
Pour l'appliquer à l'ensemble du serveur libera :
|
||||||
|
|
||||||
|
----
|
||||||
|
/buffer_autoset add irc.libera hotlist_max_level_nicks_add mike:2
|
||||||
|
----
|
||||||
|
|
||||||
|
Pour plus d'exemples, voir `+/help buffer_autoset+`.
|
||||||
|
|
||||||
[[irc_target_buffer]]
|
[[irc_target_buffer]]
|
||||||
=== Comment puis-je changer le serveur cible pour les commandes avec des tampons mélangés (comme le tampon avec les serveurs) ?
|
=== Comment puis-je changer le serveur cible pour les commandes avec des tampons mélangés (comme le tampon avec les serveurs) ?
|
||||||
|
|
||||||
@@ -1133,8 +1114,7 @@ Vous pouvez essayer les astuces suivantes pour consommer moins de mémoire :
|
|||||||
Vous pouvez suivre les mêmes astuces que pour la <<memory_usage,mémoire>>, et
|
Vous pouvez suivre les mêmes astuces que pour la <<memory_usage,mémoire>>, et
|
||||||
celles-ci :
|
celles-ci :
|
||||||
|
|
||||||
* Cacher la barre "nicklist" : `/bar hide nicklist` (touche : kbd:[Alt+Shift+N]).
|
* Cacher la barre "nicklist" : `/bar hide nicklist`.
|
||||||
* Désactiver "buflist" : `/buflist disable` (touche : kbd:[Alt+Shift+B]).
|
|
||||||
* Supprimer l'affichage des secondes dans l'heure de la barre de statut :
|
* Supprimer l'affichage des secondes dans l'heure de la barre de statut :
|
||||||
`+/set weechat.look.item_time_format "%H:%M"+` (ceci est la valeur par défaut).
|
`+/set weechat.look.item_time_format "%H:%M"+` (ceci est la valeur par défaut).
|
||||||
* Désactiver la vérification en temps réel des mots mal orthographiés dans la
|
* Désactiver la vérification en temps réel des mots mal orthographiés dans la
|
||||||
@@ -1156,20 +1136,14 @@ Désactivez les réponses à toutes les demandes CTCP :
|
|||||||
|
|
||||||
----
|
----
|
||||||
/set irc.ctcp.clientinfo ""
|
/set irc.ctcp.clientinfo ""
|
||||||
|
/set irc.ctcp.finger ""
|
||||||
/set irc.ctcp.source ""
|
/set irc.ctcp.source ""
|
||||||
/set irc.ctcp.time ""
|
/set irc.ctcp.time ""
|
||||||
|
/set irc.ctcp.userinfo ""
|
||||||
/set irc.ctcp.version ""
|
/set irc.ctcp.version ""
|
||||||
/set irc.ctcp.ping ""
|
/set irc.ctcp.ping ""
|
||||||
----
|
----
|
||||||
|
|
||||||
Avec WeeChat < 4.1.0, d'autres demandes CTCP étaient répondues par défaut et
|
|
||||||
doivent être désactivées également :
|
|
||||||
|
|
||||||
----
|
|
||||||
/set irc.ctcp.finger ""
|
|
||||||
/set irc.ctcp.userinfo ""
|
|
||||||
----
|
|
||||||
|
|
||||||
Déchargez et désactivez le chargement automatique de l'extension "xfer"
|
Déchargez et désactivez le chargement automatique de l'extension "xfer"
|
||||||
(utilisée pour le DCC IRC) :
|
(utilisée pour le DCC IRC) :
|
||||||
|
|
||||||
@@ -1208,37 +1182,6 @@ des mots de passes (s'ils ne sont pas stockés dans _sec.conf_ avec la commande
|
|||||||
Voir le link:weechat_user.fr.html#files_and_directories[Guide utilisateur / Fichiers et répertoires ^↗^^]
|
Voir le link:weechat_user.fr.html#files_and_directories[Guide utilisateur / Fichiers et répertoires ^↗^^]
|
||||||
pour plus d'informations sur les fichiers de configuration.
|
pour plus d'informations sur les fichiers de configuration.
|
||||||
|
|
||||||
[[move_to_another_device]]
|
|
||||||
=== Je souhaite déplacer mon WeeChat vers une autre machine et garder ma configuration, que dois-je copier ?
|
|
||||||
|
|
||||||
Premièrement, vérifiez les répertoires utilisés par WeeChat avec cette commande :
|
|
||||||
`/debug dirs`. +
|
|
||||||
Les répertoires home/config et home/data doivent être copiés (tous les fichiers
|
|
||||||
et sous-répertoires).
|
|
||||||
|
|
||||||
Par exemple si vous utilisez les répertoires XDG (par défaut avec WeeChat ≥ 3.2),
|
|
||||||
les répertoires devraient être `$HOME/.config/weechat` et `$HOME/.local/share/weechat`. +
|
|
||||||
Si vous utilisez un répertoire unique (par défaut avec WeeChat < 3.2), le répertoire
|
|
||||||
devrait être `$HOME/.weechat`.
|
|
||||||
|
|
||||||
[IMPORTANT]
|
|
||||||
La version de WeeChat sur la nouvelle machine doit être supérieure ou égale
|
|
||||||
à celle de la machine initiale. +
|
|
||||||
La rétrogradation de la configuration n'est *PAS SUPPORTÉE* et pourrait la casser,
|
|
||||||
rendant WeeChat inutilisable.
|
|
||||||
|
|
||||||
Étapes :
|
|
||||||
|
|
||||||
. Quitter Weechat : `/quit` (ou `/upgrade -quit` si vous souhaitez restaurer
|
|
||||||
la session, qui inclut le contenu de tous les tampons).
|
|
||||||
. Copier tous les répertoires, fichiers et sous-répertoires vers la nouvelle machine
|
|
||||||
au même endroit, en préservant les noms et les permissions.
|
|
||||||
. Facultatif : copier tout fichier en dehors de ces répertoires que vous référencez
|
|
||||||
dans votre configuration (il n'est pas recommandé d'utiliser des fichiers en
|
|
||||||
dehors des répertoires WeeChat).
|
|
||||||
. Démarrer WeeChat sur la nouvelle machine : `weechat` (ou `weechat --upgrade`
|
|
||||||
si vous avez sauvé la session).
|
|
||||||
|
|
||||||
[[development]]
|
[[development]]
|
||||||
== Développement
|
== Développement
|
||||||
|
|
||||||
|
|||||||
+199
-1133
File diff suppressed because it is too large
Load Diff
@@ -503,9 +503,7 @@ hda:
|
|||||||
'buffer': 'ptr',
|
'buffer': 'ptr',
|
||||||
'y': 'int',
|
'y': 'int',
|
||||||
'date': 'tim',
|
'date': 'tim',
|
||||||
'date_usec': 'int',
|
|
||||||
'date_printed': 'tim',
|
'date_printed': 'tim',
|
||||||
'date_usec_printed': 'int',
|
|
||||||
'str_time': 'str',
|
'str_time': 'str',
|
||||||
'tags_count': 'int',
|
'tags_count': 'int',
|
||||||
'tags_array': 'arr',
|
'tags_array': 'arr',
|
||||||
@@ -523,9 +521,7 @@ hda:
|
|||||||
buffer: '0x558d61ea3e60'
|
buffer: '0x558d61ea3e60'
|
||||||
y: -1
|
y: -1
|
||||||
date: 1588404926
|
date: 1588404926
|
||||||
date_usec: 118712
|
|
||||||
date_printed: 1588404926
|
date_printed: 1588404926
|
||||||
date_usec_printed: 118712
|
|
||||||
str_time: 'F@0025209F@0024535F@0024026'
|
str_time: 'F@0025209F@0024535F@0024026'
|
||||||
tags_count: 0
|
tags_count: 0
|
||||||
tags_array: []
|
tags_array: []
|
||||||
@@ -541,9 +537,7 @@ hda:
|
|||||||
buffer: '0x558d61ea3e60'
|
buffer: '0x558d61ea3e60'
|
||||||
y: -1
|
y: -1
|
||||||
date: 1588404930
|
date: 1588404930
|
||||||
date_usec: 25
|
|
||||||
date_printed: 1588404930
|
date_printed: 1588404930
|
||||||
date_usec_printed: 25
|
|
||||||
str_time: 'F@0025209F@0024535F@0024030'
|
str_time: 'F@0025209F@0024535F@0024030'
|
||||||
tags_count: 0
|
tags_count: 0
|
||||||
tags_array: []
|
tags_array: []
|
||||||
@@ -723,7 +717,6 @@ inl:
|
|||||||
nicklist_visible_count: 0
|
nicklist_visible_count: 0
|
||||||
title: 'WeeChat 2.9-dev (C) 2003-2020 - https://weechat.org/'
|
title: 'WeeChat 2.9-dev (C) 2003-2020 - https://weechat.org/'
|
||||||
input: 1
|
input: 1
|
||||||
input_get_any_user_data: 0
|
|
||||||
input_get_unknown_commands: 0
|
input_get_unknown_commands: 0
|
||||||
input_get_empty: 0
|
input_get_empty: 0
|
||||||
input_multiline: 0
|
input_multiline: 0
|
||||||
@@ -735,14 +728,11 @@ inl:
|
|||||||
input_buffer_1st_display: 0
|
input_buffer_1st_display: 0
|
||||||
num_history: 0
|
num_history: 0
|
||||||
text_search: 0
|
text_search: 0
|
||||||
text_search_direction: 0
|
|
||||||
text_search_exact: 0
|
text_search_exact: 0
|
||||||
text_search_regex: 0
|
text_search_regex: 0
|
||||||
text_search_regex_compiled: '0x0'
|
text_search_regex_compiled: '0x0'
|
||||||
text_search_where: 0
|
text_search_where: 0
|
||||||
text_search_history: 0
|
|
||||||
text_search_found: 0
|
text_search_found: 0
|
||||||
text_search_ptr_history: '0x0'
|
|
||||||
text_search_input: None
|
text_search_input: None
|
||||||
highlight_words: None
|
highlight_words: None
|
||||||
highlight_disable_regex: None
|
highlight_disable_regex: None
|
||||||
@@ -2088,9 +2078,7 @@ Données envoyées dans le hdata :
|
|||||||
| Nom | Type | Description
|
| Nom | Type | Description
|
||||||
| buffer | pointeur | Pointeur vers le tampon.
|
| buffer | pointeur | Pointeur vers le tampon.
|
||||||
| date | date/heure | Date du message.
|
| date | date/heure | Date du message.
|
||||||
| date_usec | entier | Microsecondes de la date.
|
|
||||||
| date_printed | date/heure | Date d'affichage du message.
|
| date_printed | date/heure | Date d'affichage du message.
|
||||||
| date_usec_printed | entier | Microsecondes de la date d'affichage du message.
|
|
||||||
| displayed | caractère | 1 si le message est affiché, 0 si le message est filtré (caché).
|
| displayed | caractère | 1 si le message est affiché, 0 si le message est filtré (caché).
|
||||||
| notify_level | caractère | Niveau de notification : -1 = notification désactivée, 0 = bas, 1 = message, 2 = privé, 3 = highlight.
|
| notify_level | caractère | Niveau de notification : -1 = notification désactivée, 0 = bas, 1 = message, 2 = privé, 3 = highlight.
|
||||||
| highlight | caractère | 1 si la ligne a un highlight, sinon 0.
|
| highlight | caractère | 1 si la ligne a un highlight, sinon 0.
|
||||||
@@ -2109,9 +2097,7 @@ hda:
|
|||||||
keys: {
|
keys: {
|
||||||
'buffer': 'ptr',
|
'buffer': 'ptr',
|
||||||
'date': 'tim',
|
'date': 'tim',
|
||||||
'date_usec': 'int',
|
|
||||||
'date_printed': 'tim',
|
'date_printed': 'tim',
|
||||||
'date_usec_printed': 'int',
|
|
||||||
'displayed': 'chr',
|
'displayed': 'chr',
|
||||||
'notify_level': 'chr',
|
'notify_level': 'chr',
|
||||||
'highlight': 'chr',
|
'highlight': 'chr',
|
||||||
@@ -2124,9 +2110,7 @@ hda:
|
|||||||
__path: ['0x4a49600']
|
__path: ['0x4a49600']
|
||||||
buffer: '0x4a715d0'
|
buffer: '0x4a715d0'
|
||||||
date: 1362728993
|
date: 1362728993
|
||||||
date_usec: 902765
|
|
||||||
date_printed: 1362728993
|
date_printed: 1362728993
|
||||||
date_usec_printed: 902765
|
|
||||||
displayed: 1
|
displayed: 1
|
||||||
notify_level: 1
|
notify_level: 1
|
||||||
highlight: 0
|
highlight: 0
|
||||||
|
|||||||
@@ -570,14 +570,316 @@ link:weechat_plugin_api.fr.html[Référence API extension WeeChat ^↗^^].
|
|||||||
|
|
||||||
Liste des fonctions de l'API script :
|
Liste des fonctions de l'API script :
|
||||||
|
|
||||||
include::{autogendir}/autogen_scripting_functions.fr.adoc[tag=functions]
|
[width="100%",cols="1,5",options="header"]
|
||||||
|
|===
|
||||||
|
| Catégorie | Fonctions
|
||||||
|
|
||||||
|
| général
|
||||||
|
| register
|
||||||
|
|
||||||
|
| extensions
|
||||||
|
| plugin_get_name
|
||||||
|
|
||||||
|
| chaînes
|
||||||
|
| charset_set +
|
||||||
|
iconv_to_internal +
|
||||||
|
iconv_from_internal +
|
||||||
|
gettext +
|
||||||
|
ngettext +
|
||||||
|
strlen_screen +
|
||||||
|
string_match +
|
||||||
|
string_match_list +
|
||||||
|
string_has_highlight +
|
||||||
|
string_has_highlight_regex +
|
||||||
|
string_mask_to_regex +
|
||||||
|
string_format_size +
|
||||||
|
string_parse_size +
|
||||||
|
string_color_code_size +
|
||||||
|
string_remove_color +
|
||||||
|
string_is_command_char +
|
||||||
|
string_input_for_buffer +
|
||||||
|
string_eval_expression +
|
||||||
|
string_eval_path_home
|
||||||
|
|
||||||
|
| répertoires
|
||||||
|
| mkdir_home +
|
||||||
|
mkdir +
|
||||||
|
mkdir_parents
|
||||||
|
|
||||||
|
| listes triées
|
||||||
|
| list_new +
|
||||||
|
list_add +
|
||||||
|
list_search +
|
||||||
|
list_search_pos +
|
||||||
|
list_casesearch +
|
||||||
|
list_casesearch_pos +
|
||||||
|
list_get +
|
||||||
|
list_set +
|
||||||
|
list_next +
|
||||||
|
list_prev +
|
||||||
|
list_string +
|
||||||
|
list_size +
|
||||||
|
list_remove +
|
||||||
|
list_remove_all +
|
||||||
|
list_free
|
||||||
|
|
||||||
|
| fichiers de configuration
|
||||||
|
| config_new +
|
||||||
|
config_new_section +
|
||||||
|
config_search_section +
|
||||||
|
config_new_option +
|
||||||
|
config_search_option +
|
||||||
|
config_string_to_boolean +
|
||||||
|
config_option_reset +
|
||||||
|
config_option_set +
|
||||||
|
config_option_set_null +
|
||||||
|
config_option_unset +
|
||||||
|
config_option_rename +
|
||||||
|
config_option_is_null +
|
||||||
|
config_option_default_is_null +
|
||||||
|
config_boolean +
|
||||||
|
config_boolean_default +
|
||||||
|
config_integer +
|
||||||
|
config_integer_default +
|
||||||
|
config_string +
|
||||||
|
config_string_default +
|
||||||
|
config_color +
|
||||||
|
config_color_default +
|
||||||
|
config_write_option +
|
||||||
|
config_write_line +
|
||||||
|
config_write +
|
||||||
|
config_read +
|
||||||
|
config_reload +
|
||||||
|
config_option_free +
|
||||||
|
config_section_free_options +
|
||||||
|
config_section_free +
|
||||||
|
config_free +
|
||||||
|
config_get +
|
||||||
|
config_get_plugin +
|
||||||
|
config_is_set_plugin +
|
||||||
|
config_set_plugin +
|
||||||
|
config_set_desc_plugin +
|
||||||
|
config_unset_plugin
|
||||||
|
|
||||||
|
| associations de touches
|
||||||
|
| key_bind +
|
||||||
|
key_unbind
|
||||||
|
|
||||||
|
| affichage
|
||||||
|
| prefix +
|
||||||
|
color +
|
||||||
|
print (pour python : prnt) +
|
||||||
|
print_date_tags (pour python : prnt_date_tags) +
|
||||||
|
print_y (pour python : prnt_y) +
|
||||||
|
print_y_date_tags (pour python : prnt_y_date_tags) +
|
||||||
|
log_print
|
||||||
|
|
||||||
|
| hooks
|
||||||
|
| hook_command +
|
||||||
|
hook_command_run +
|
||||||
|
hook_timer +
|
||||||
|
hook_fd +
|
||||||
|
hook_process +
|
||||||
|
hook_process_hashtable +
|
||||||
|
hook_connect +
|
||||||
|
hook_line +
|
||||||
|
hook_print +
|
||||||
|
hook_signal +
|
||||||
|
hook_signal_send +
|
||||||
|
hook_hsignal +
|
||||||
|
hook_hsignal_send +
|
||||||
|
hook_config +
|
||||||
|
hook_completion +
|
||||||
|
hook_modifier +
|
||||||
|
hook_modifier_exec +
|
||||||
|
hook_info +
|
||||||
|
hook_info_hashtable +
|
||||||
|
hook_infolist +
|
||||||
|
hook_focus +
|
||||||
|
hook_set +
|
||||||
|
unhook +
|
||||||
|
unhook_all
|
||||||
|
|
||||||
|
| tampons
|
||||||
|
| buffer_new +
|
||||||
|
buffer_new_props +
|
||||||
|
current_buffer +
|
||||||
|
buffer_search +
|
||||||
|
buffer_search_main +
|
||||||
|
buffer_clear +
|
||||||
|
buffer_close +
|
||||||
|
buffer_merge +
|
||||||
|
buffer_unmerge +
|
||||||
|
buffer_get_integer +
|
||||||
|
buffer_get_string +
|
||||||
|
buffer_get_pointer +
|
||||||
|
buffer_set +
|
||||||
|
buffer_string_replace_local_var +
|
||||||
|
buffer_match_list
|
||||||
|
|
||||||
|
| fenêtres
|
||||||
|
| current_window +
|
||||||
|
window_search_with_buffer +
|
||||||
|
window_get_integer +
|
||||||
|
window_get_string +
|
||||||
|
window_get_pointer +
|
||||||
|
window_set_title
|
||||||
|
|
||||||
|
| liste des pseudos
|
||||||
|
| nicklist_add_group +
|
||||||
|
nicklist_search_group +
|
||||||
|
nicklist_add_nick +
|
||||||
|
nicklist_search_nick +
|
||||||
|
nicklist_remove_group +
|
||||||
|
nicklist_remove_nick +
|
||||||
|
nicklist_remove_all +
|
||||||
|
nicklist_group_get_integer +
|
||||||
|
nicklist_group_get_string +
|
||||||
|
nicklist_group_get_pointer +
|
||||||
|
nicklist_group_set +
|
||||||
|
nicklist_nick_get_integer +
|
||||||
|
nicklist_nick_get_string +
|
||||||
|
nicklist_nick_get_pointer +
|
||||||
|
nicklist_nick_set
|
||||||
|
|
||||||
|
| barres
|
||||||
|
| bar_item_search +
|
||||||
|
bar_item_new +
|
||||||
|
bar_item_update +
|
||||||
|
bar_item_remove +
|
||||||
|
bar_search +
|
||||||
|
bar_new +
|
||||||
|
bar_set +
|
||||||
|
bar_update +
|
||||||
|
bar_remove
|
||||||
|
|
||||||
|
| commandes
|
||||||
|
| command +
|
||||||
|
command_options
|
||||||
|
|
||||||
|
| complétion
|
||||||
|
| completion_new +
|
||||||
|
completion_search +
|
||||||
|
completion_get_string +
|
||||||
|
completion_list_add +
|
||||||
|
completion_free
|
||||||
|
|
||||||
|
| infos
|
||||||
|
| info_get +
|
||||||
|
info_get_hashtable
|
||||||
|
|
||||||
|
| infolists
|
||||||
|
| infolist_new +
|
||||||
|
infolist_new_item +
|
||||||
|
infolist_new_var_integer +
|
||||||
|
infolist_new_var_string +
|
||||||
|
infolist_new_var_pointer +
|
||||||
|
infolist_new_var_time +
|
||||||
|
infolist_get +
|
||||||
|
infolist_next +
|
||||||
|
infolist_prev +
|
||||||
|
infolist_reset_item_cursor +
|
||||||
|
infolist_search_var +
|
||||||
|
infolist_fields +
|
||||||
|
infolist_integer +
|
||||||
|
infolist_string +
|
||||||
|
infolist_pointer +
|
||||||
|
infolist_time +
|
||||||
|
infolist_free
|
||||||
|
|
||||||
|
| hdata
|
||||||
|
| hdata_get +
|
||||||
|
hdata_get_var_offset +
|
||||||
|
hdata_get_var_type_string +
|
||||||
|
hdata_get_var_array_size +
|
||||||
|
hdata_get_var_array_size_string +
|
||||||
|
hdata_get_var_hdata +
|
||||||
|
hdata_get_list +
|
||||||
|
hdata_check_pointer +
|
||||||
|
hdata_move +
|
||||||
|
hdata_search +
|
||||||
|
hdata_char +
|
||||||
|
hdata_integer +
|
||||||
|
hdata_long +
|
||||||
|
hdata_string +
|
||||||
|
hdata_pointer +
|
||||||
|
hdata_time +
|
||||||
|
hdata_hashtable +
|
||||||
|
hdata_compare +
|
||||||
|
hdata_update +
|
||||||
|
hdata_get_string
|
||||||
|
|
||||||
|
| mise à jour
|
||||||
|
| upgrade_new +
|
||||||
|
upgrade_write_object +
|
||||||
|
upgrade_read +
|
||||||
|
upgrade_close
|
||||||
|
|===
|
||||||
|
|
||||||
[[script_api_constants]]
|
[[script_api_constants]]
|
||||||
=== Constantes
|
=== Constantes
|
||||||
|
|
||||||
Liste des constantes de l'API script :
|
Liste des constantes de l'API script :
|
||||||
|
|
||||||
include::{autogendir}/autogen_scripting_constants.fr.adoc[tag=constants]
|
[width="100%",cols="1,5",options="header"]
|
||||||
|
|===
|
||||||
|
|
||||||
|
| Catégorie | Constantes
|
||||||
|
|
||||||
|
| codes retour
|
||||||
|
| `WEECHAT_RC_OK` (entier) +
|
||||||
|
`WEECHAT_RC_OK_EAT` (entier) +
|
||||||
|
`WEECHAT_RC_ERROR` (entier)
|
||||||
|
|
||||||
|
| fichiers de configuration
|
||||||
|
| `WEECHAT_CONFIG_READ_OK` (entier) +
|
||||||
|
`WEECHAT_CONFIG_READ_MEMORY_ERROR` (entier) +
|
||||||
|
`WEECHAT_CONFIG_READ_FILE_NOT_FOUND` (entier) +
|
||||||
|
`WEECHAT_CONFIG_WRITE_OK` (entier) +
|
||||||
|
`WEECHAT_CONFIG_WRITE_ERROR` (entier) +
|
||||||
|
`WEECHAT_CONFIG_WRITE_MEMORY_ERROR` (entier) +
|
||||||
|
`WEECHAT_CONFIG_OPTION_SET_OK_CHANGED` (entier) +
|
||||||
|
`WEECHAT_CONFIG_OPTION_SET_OK_SAME_VALUE` (entier) +
|
||||||
|
`WEECHAT_CONFIG_OPTION_SET_ERROR` (entier) +
|
||||||
|
`WEECHAT_CONFIG_OPTION_SET_OPTION_NOT_FOUND` (entier) +
|
||||||
|
`WEECHAT_CONFIG_OPTION_UNSET_OK_NO_RESET` (entier) +
|
||||||
|
`WEECHAT_CONFIG_OPTION_UNSET_OK_RESET` (entier) +
|
||||||
|
`WEECHAT_CONFIG_OPTION_UNSET_OK_REMOVED` (entier) +
|
||||||
|
`WEECHAT_CONFIG_OPTION_UNSET_ERROR` (entier)
|
||||||
|
|
||||||
|
| listes triées
|
||||||
|
| `WEECHAT_LIST_POS_SORT` (chaîne) +
|
||||||
|
`WEECHAT_LIST_POS_BEGINNING` (chaîne) +
|
||||||
|
`WEECHAT_LIST_POS_END` (chaîne)
|
||||||
|
|
||||||
|
| hotlist
|
||||||
|
| `WEECHAT_HOTLIST_LOW` (chaîne) +
|
||||||
|
`WEECHAT_HOTLIST_MESSAGE` (chaîne) +
|
||||||
|
`WEECHAT_HOTLIST_PRIVATE` (chaîne) +
|
||||||
|
`WEECHAT_HOTLIST_HIGHLIGHT` (chaîne)
|
||||||
|
|
||||||
|
| hook process
|
||||||
|
| `WEECHAT_HOOK_PROCESS_RUNNING` (entier) +
|
||||||
|
`WEECHAT_HOOK_PROCESS_ERROR` (entier)
|
||||||
|
|
||||||
|
| hook connect
|
||||||
|
| `WEECHAT_HOOK_CONNECT_OK` (entier) +
|
||||||
|
`WEECHAT_HOOK_CONNECT_ADDRESS_NOT_FOUND` (entier) +
|
||||||
|
`WEECHAT_HOOK_CONNECT_IP_ADDRESS_NOT_FOUND` (entier) +
|
||||||
|
`WEECHAT_HOOK_CONNECT_CONNECTION_REFUSED` (entier) +
|
||||||
|
`WEECHAT_HOOK_CONNECT_PROXY_ERROR` (entier) +
|
||||||
|
`WEECHAT_HOOK_CONNECT_LOCAL_HOSTNAME_ERROR` (entier) +
|
||||||
|
`WEECHAT_HOOK_CONNECT_GNUTLS_INIT_ERROR` (entier) +
|
||||||
|
`WEECHAT_HOOK_CONNECT_GNUTLS_HANDSHAKE_ERROR` (entier) +
|
||||||
|
`WEECHAT_HOOK_CONNECT_MEMORY_ERROR` (entier) +
|
||||||
|
`WEECHAT_HOOK_CONNECT_TIMEOUT` (entier) +
|
||||||
|
`WEECHAT_HOOK_CONNECT_SOCKET_ERROR` (entier)
|
||||||
|
|
||||||
|
| hook signal
|
||||||
|
| `WEECHAT_HOOK_SIGNAL_STRING` (chaîne) +
|
||||||
|
`WEECHAT_HOOK_SIGNAL_INT` (chaîne) +
|
||||||
|
`WEECHAT_HOOK_SIGNAL_POINTER` (chaîne)
|
||||||
|
|===
|
||||||
|
|
||||||
[[common_tasks]]
|
[[common_tasks]]
|
||||||
== Tâches courantes
|
== Tâches courantes
|
||||||
|
|||||||
+172
-391
@@ -32,7 +32,7 @@ Ses principales fonctionnalités sont les suivantes :
|
|||||||
https://datatracker.ietf.org/doc/html/rfc2812[2812 ^↗^^],
|
https://datatracker.ietf.org/doc/html/rfc2812[2812 ^↗^^],
|
||||||
https://datatracker.ietf.org/doc/html/rfc2813[2813 ^↗^^] et
|
https://datatracker.ietf.org/doc/html/rfc2813[2813 ^↗^^] et
|
||||||
https://datatracker.ietf.org/doc/html/rfc7194[7194 ^↗^^]
|
https://datatracker.ietf.org/doc/html/rfc7194[7194 ^↗^^]
|
||||||
* proxy IRC et relai pour WeeChat et interfaces distantes
|
* proxy IRC et relai pour interfaces distantes
|
||||||
* multi plates-formes (GNU/Linux, *BSD, macOS, Windows et d'autres systèmes)
|
* multi plates-formes (GNU/Linux, *BSD, macOS, Windows et d'autres systèmes)
|
||||||
* 100% GPL, logiciel libre
|
* 100% GPL, logiciel libre
|
||||||
|
|
||||||
@@ -113,7 +113,7 @@ Le tableau suivant liste les paquets *requis* pour construire WeeChat :
|
|||||||
| pkg-config |
|
| pkg-config |
|
||||||
| Détection des bibliothèques installées.
|
| Détection des bibliothèques installées.
|
||||||
|
|
||||||
| libncurses-dev |
|
| libncursesw5-dev ^(2)^ |
|
||||||
| Interface ncurses.
|
| Interface ncurses.
|
||||||
|
|
||||||
| libcurl4-gnutls-dev |
|
| libcurl4-gnutls-dev |
|
||||||
@@ -122,21 +122,28 @@ Le tableau suivant liste les paquets *requis* pour construire WeeChat :
|
|||||||
| libgcrypt20-dev |
|
| libgcrypt20-dev |
|
||||||
| Données sécurisées, authentification IRC SASL.
|
| Données sécurisées, authentification IRC SASL.
|
||||||
|
|
||||||
| libgnutls28-dev | ≥ 2.2.0 ^(2)^
|
| libgnutls28-dev | ≥ 2.2.0 ^(3)^
|
||||||
| Extension IRC : support des connexions TLS, authentification IRC SASL (ECDSA-NIST256P-CHALLENGE). +
|
| Extension IRC : support des connexions TLS, authentification IRC SASL (ECDSA-NIST256P-CHALLENGE). +
|
||||||
Extension Relay : support des connexions TLS.
|
Extension Relay : support des connexions TLS.
|
||||||
|
|
||||||
| zlib1g-dev |
|
| zlib1g-dev |
|
||||||
| Extension Logger : compression des fichiers de log qui tournent (gzip). +
|
| Extension Logger : compression des fichiers de log qui tournent (gzip). +
|
||||||
Extention Relay : compression des messages (WeeChat -> client) avec https://zlib.net/[zlib ^↗^^]
|
Extention Relay : compression des messages (WeeChat -> client) avec https://zlib.net/[zlib ^↗^^] (protocole weechat). +
|
||||||
(protocoles api et weechat). +
|
|
||||||
Extension Script : lecture du fichier d'index du dépôt (gzip).
|
Extension Script : lecture du fichier d'index du dépôt (gzip).
|
||||||
|
|
||||||
|
| libzstd-dev | ≥ 0.8.1
|
||||||
|
| Extension Logger : compression des fichiers de log qui tournent. +
|
||||||
|
Extension Relay : compression des messages (WeeChat -> client) avec https://facebook.github.io/zstd/[Zstandard ^↗^^] (protocole weechat).
|
||||||
|===
|
|===
|
||||||
|
|
||||||
[NOTE]
|
[NOTE]
|
||||||
^(1)^ Le nom provient de la distribution GNU/Linux Debian Bookworm, la version
|
^(1)^ Le nom provient de la distribution GNU/Linux Debian Bookworm, la version
|
||||||
et le nom peuvent être différents dans les autres distributions. +
|
et le nom peuvent être différents dans les autres distributions.
|
||||||
^(2)^ GnuTLS ≥ 3.0.21 est requis pour l'authentification SASL avec le mécanisme
|
^(2)^ Il est recommandé de compiler avec libncurses**w**5-dev (le *w* est
|
||||||
|
important). WeeChat peut compiler avec libncurses5-dev, mais ce n'est *PAS*
|
||||||
|
recommandé : vous pourriez avoir des problèmes 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.
|
ECDSA-NIST256P-CHALLENGE.
|
||||||
|
|
||||||
Le tableau suivant liste les paquets optionnels pour compiler WeeChat :
|
Le tableau suivant liste les paquets optionnels pour compiler WeeChat :
|
||||||
@@ -144,71 +151,25 @@ Le tableau suivant liste les paquets optionnels pour compiler WeeChat :
|
|||||||
[width="100%",cols="5,^3,.^15",options="header"]
|
[width="100%",cols="5,^3,.^15",options="header"]
|
||||||
|===
|
|===
|
||||||
| Paquet ^(1)^ | Version | Fonctionnalités
|
| Paquet ^(1)^ | Version | Fonctionnalités
|
||||||
|
| compilateur {cpp} (pass:[g++ / clang++]) | | Construction et lancement des tests, extension JavaScript.
|
||||||
| compilateur {cpp} (pass:[g++ / clang++]) |
|
| gettext | | Internationalisation (traduction des messages ; la langue de base est l'anglais).
|
||||||
| Construction et lancement des tests, extension JavaScript.
|
| ca-certificates | | Certificats pour les connexions TLS.
|
||||||
|
| libaspell-dev / libenchant-dev | | Extension spell.
|
||||||
| gettext |
|
| python3-dev | ≥ 3.0 | Extension python.
|
||||||
| Internationalisation (traduction des messages ; la langue de base est l'anglais).
|
| libperl-dev | | Extension perl.
|
||||||
|
| ruby3.1, ruby3.1-dev | ≥ 1.9.1 | Extension ruby.
|
||||||
| ca-certificates |
|
| liblua5.4-dev | | Extension lua.
|
||||||
| Certificats pour les connexions TLS.
|
| tcl-dev | ≥ 8.5 | Extension tcl.
|
||||||
|
| guile-3.0-dev | ≥ 2.0 | Extension guile (scheme).
|
||||||
| libcjson-dev |
|
| libv8-dev | ≤ 3.24.3 | Extension javascript.
|
||||||
| Extension Relay : protocole "api" (API REST HTTP).
|
| php-dev | ≥ 7.0 | Extension PHP.
|
||||||
|
| libphp-embed | ≥ 7.0 | Extension PHP.
|
||||||
| libzstd-dev | ≥ 0.8.1
|
| libxml2-dev | | Extension PHP.
|
||||||
| Extension Logger : compression des fichiers de log qui tournent (zstandard). +
|
| libargon2-dev | | Extension PHP (si PHP ≥ 7.2).
|
||||||
Extension Relay : compression des messages (WeeChat -> client) avec https://facebook.github.io/zstd/[Zstandard ^↗^^]
|
| libsodium-dev | | Extension PHP (si PHP ≥ 7.2).
|
||||||
(protocoles api et weechat).
|
| asciidoctor | ≥ 1.5.4 | Construction de la page man et de la documentation.
|
||||||
|
| ruby-pygments.rb | | Construction de la documentation.
|
||||||
| libaspell-dev / libenchant-dev |
|
| libcpputest-dev | ≥ 3.4 | Construction et lancement des tests.
|
||||||
| Extension spell.
|
|
||||||
|
|
||||||
| python3-dev | ≥ 3.0
|
|
||||||
| Extension python.
|
|
||||||
|
|
||||||
| libperl-dev |
|
|
||||||
| Extension perl.
|
|
||||||
|
|
||||||
| ruby3.1, ruby3.1-dev | ≥ 1.9.1
|
|
||||||
| Extension ruby.
|
|
||||||
|
|
||||||
| liblua5.4-dev |
|
|
||||||
| Extension lua.
|
|
||||||
|
|
||||||
| tcl-dev | ≥ 8.5
|
|
||||||
| Extension tcl.
|
|
||||||
|
|
||||||
| guile-3.0-dev | ≥ 2.0
|
|
||||||
| Extension guile (scheme).
|
|
||||||
|
|
||||||
| libv8-dev | ≤ 3.24.3
|
|
||||||
| Extension javascript.
|
|
||||||
|
|
||||||
| php-dev | ≥ 7.0
|
|
||||||
| Extension PHP.
|
|
||||||
|
|
||||||
| libphp-embed | ≥ 7.0
|
|
||||||
| Extension PHP.
|
|
||||||
|
|
||||||
| libxml2-dev |
|
|
||||||
| Extension PHP.
|
|
||||||
|
|
||||||
| libargon2-dev |
|
|
||||||
| Extension PHP (si PHP ≥ 7.2).
|
|
||||||
|
|
||||||
| libsodium-dev |
|
|
||||||
| Extension PHP (si PHP ≥ 7.2).
|
|
||||||
|
|
||||||
| asciidoctor | ≥ 1.5.4
|
|
||||||
| Construction de la page man et de la documentation.
|
|
||||||
|
|
||||||
| ruby-pygments.rb |
|
|
||||||
| Construction de la documentation.
|
|
||||||
|
|
||||||
| libcpputest-dev | ≥ 3.4
|
|
||||||
| Construction et lancement des tests.
|
|
||||||
|===
|
|===
|
||||||
|
|
||||||
[NOTE]
|
[NOTE]
|
||||||
@@ -248,7 +209,7 @@ $ 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 disponibles :
|
Liste des options couramment utilisées :
|
||||||
|
|
||||||
[width="100%",cols="3m,3,3m,10",options="header"]
|
[width="100%",cols="3m,3,3m,10",options="header"]
|
||||||
|===
|
|===
|
||||||
@@ -277,9 +238,6 @@ Liste des options disponibles :
|
|||||||
| ENABLE_CHARSET | `ON`, `OFF` | ON
|
| ENABLE_CHARSET | `ON`, `OFF` | ON
|
||||||
| Compiler <<charset,l'extension Charset>>.
|
| Compiler <<charset,l'extension Charset>>.
|
||||||
|
|
||||||
| ENABLE_CJSON | `ON`, `OFF` | ON
|
|
||||||
| Support du JSON avec la bibliothèque https://github.com/DaveGamble/cJSON[cJSON ^↗^^].
|
|
||||||
|
|
||||||
| ENABLE_MAN | `ON`, `OFF` | OFF
|
| ENABLE_MAN | `ON`, `OFF` | OFF
|
||||||
| Construire la page man.
|
| Construire la page man.
|
||||||
|
|
||||||
@@ -305,9 +263,6 @@ Liste des options disponibles :
|
|||||||
| ENABLE_GUILE | `ON`, `OFF` | ON
|
| ENABLE_GUILE | `ON`, `OFF` | ON
|
||||||
| Compiler <<scripting_plugins,l'extension Guile>> (Scheme).
|
| Compiler <<scripting_plugins,l'extension Guile>> (Scheme).
|
||||||
|
|
||||||
| ENABLE_HEADLESS | `ON`, `OFF` | ON
|
|
||||||
| Compiler le binaire sans interface (« headless »).
|
|
||||||
|
|
||||||
| ENABLE_IRC | `ON`, `OFF` | ON
|
| ENABLE_IRC | `ON`, `OFF` | ON
|
||||||
| Compiler <<irc,l'extension IRC>>.
|
| Compiler <<irc,l'extension IRC>>.
|
||||||
|
|
||||||
@@ -366,9 +321,6 @@ Liste des options disponibles :
|
|||||||
| ENABLE_XFER | `ON`, `OFF` | ON
|
| ENABLE_XFER | `ON`, `OFF` | ON
|
||||||
| Compiler <<xfer,l'extension Xfer>>.
|
| Compiler <<xfer,l'extension Xfer>>.
|
||||||
|
|
||||||
| ENABLE_ZSTD | `ON`, `OFF` | ON
|
|
||||||
| Activer la compression https://facebook.github.io/zstd/[Zstandard ^↗^^].
|
|
||||||
|
|
||||||
| ENABLE_TESTS | `ON`, `OFF` | OFF
|
| ENABLE_TESTS | `ON`, `OFF` | OFF
|
||||||
| Compiler les tests.
|
| Compiler les tests.
|
||||||
|
|
||||||
@@ -531,11 +483,11 @@ Copying output to /tmp/crash.txt.
|
|||||||
at /some_path/src/core/weechat.c:351
|
at /some_path/src/core/weechat.c:351
|
||||||
#3 <signal handler called>
|
#3 <signal handler called>
|
||||||
#4 0x000000000044cb24 in hook_process_timer_cb (arg_hook_process=0x254eb90,
|
#4 0x000000000044cb24 in hook_process_timer_cb (arg_hook_process=0x254eb90,
|
||||||
remaining_calls=<value optimized out>) at /some_path/src/core/core-hook.c:1364
|
remaining_calls=<value optimized out>) at /some_path/src/core/wee-hook.c:1364
|
||||||
hook_process = 0x254eb90
|
hook_process = 0x254eb90
|
||||||
status = <value optimized out>
|
status = <value optimized out>
|
||||||
#5 0x000000000044cc7d in hook_timer_exec ()
|
#5 0x000000000044cc7d in hook_timer_exec ()
|
||||||
at /some_path/src/core/core-hook.c:1025
|
at /some_path/src/core/wee-hook.c:1025
|
||||||
tv_time = {tv_sec = 1272693881, tv_usec = 212665}
|
tv_time = {tv_sec = 1272693881, tv_usec = 212665}
|
||||||
ptr_hook = 0x2811f40
|
ptr_hook = 0x2811f40
|
||||||
next_hook = 0x0
|
next_hook = 0x0
|
||||||
@@ -936,31 +888,11 @@ La barre _input_ contient les objets (items) suivants par défaut :
|
|||||||
| Objet (item) | Exemple | Description
|
| Objet (item) | Exemple | Description
|
||||||
| input_prompt | `[@Flashy(i)]` | Prompt, pour irc : pseudo et modes (le mode "+i" signifie invisible sur libera).
|
| input_prompt | `[@Flashy(i)]` | Prompt, pour irc : pseudo et modes (le mode "+i" signifie invisible sur libera).
|
||||||
| away | `(absent)` | Indicateur d'absence.
|
| away | `(absent)` | Indicateur d'absence.
|
||||||
| input_search | `[Recherche lignes (~ str,msg)]` | Indicateur de recherche de texte (voir ci-dessous).
|
| input_search | `[Recherche (~ str,msg)]` | Indicateur de recherche de texte ("`~`" : insensible à la casse, "`==`" : sensible à la casse, "`str`" : recherche de chaîne, "`regex`" : recherche d'expression régulière, "`msg`" : recherche dans les messages, "`pre`" : recherche dans les préfixes, "`pre\|msg`" : recherche dans les préfixes et messages).
|
||||||
| input_paste | `[Coller 7 lignes ? [ctrl-y] Oui [ctrl-n] Non]` | Question à l'utilisateur pour coller des lignes.
|
| input_paste | `[Coller 7 lignes ? [ctrl-y] Oui [ctrl-n] Non]` | Question à l'utilisateur pour coller des lignes.
|
||||||
| input_text | `salut peter !` | Texte entré.
|
| input_text | `salut peter !` | Texte entré.
|
||||||
|===
|
|===
|
||||||
|
|
||||||
Il y a deux modes de recherche :
|
|
||||||
|
|
||||||
* recherche dans les lignes, par exemple `[Recherche lignes (~ str,msg)]`,
|
|
||||||
avec les informations suivantes :
|
|
||||||
** `~` : insensible à la casse
|
|
||||||
** `==` : sensible à la casse
|
|
||||||
** `str` : recherche de chaîne
|
|
||||||
** `regex` : recherche d'expression régulière
|
|
||||||
** `msg` : recherche dans les messages
|
|
||||||
** `pre` : recherche dans les préfixes
|
|
||||||
** `pre\|msg` : recherche dans les préfixes et messages
|
|
||||||
* recherche dans l'historique de commandes, par exemple `[Recherche commande (~ str,local)]`,
|
|
||||||
avec les informations suivantes :
|
|
||||||
** `~` : insensible à la casse
|
|
||||||
** `==` : sensible à la casse
|
|
||||||
** `str` : recherche de chaîne
|
|
||||||
** `regex` : recherche d'expression régulière
|
|
||||||
** `local` : recherche dans l'historique local du tampon
|
|
||||||
** `global` : recherche dans l'historique global.
|
|
||||||
|
|
||||||
La barre _nicklist_ contient les objets (items) suivants par défaut :
|
La barre _nicklist_ contient les objets (items) suivants par défaut :
|
||||||
|
|
||||||
[width="100%",cols="^3,^3,9",options="header"]
|
[width="100%",cols="^3,^3,9",options="header"]
|
||||||
@@ -981,8 +913,6 @@ Autres objets (non utilisés dans des barres par défaut) :
|
|||||||
| buffer_short_name | `#test` | Nom court du tampon courant.
|
| buffer_short_name | `#test` | Nom court du tampon courant.
|
||||||
| buflist2 | `1.weechat` | Liste des tampons, deuxième objet de barre (voir l'option <<option_buflist.look.use_items,buflist.look.use_items>>).
|
| buflist2 | `1.weechat` | Liste des tampons, deuxième objet de barre (voir l'option <<option_buflist.look.use_items,buflist.look.use_items>>).
|
||||||
| buflist3 | `1.weechat` | Liste des tampons, troisième objet de barre (voir l'option <<option_buflist.look.use_items,buflist.look.use_items>>).
|
| buflist3 | `1.weechat` | Liste des tampons, troisième objet de barre (voir l'option <<option_buflist.look.use_items,buflist.look.use_items>>).
|
||||||
| buflist4 | `1.weechat` | Liste des tampons, quatrième objet de barre (voir l'option <<option_buflist.look.use_items,buflist.look.use_items>>).
|
|
||||||
| buflist5 | `1.weechat` | Liste des tampons, cinquième objet de barre (voir l'option <<option_buflist.look.use_items,buflist.look.use_items>>).
|
|
||||||
| fset | `+buflist.look.sort: …+` | Aide sur l'option sélectionnée dans le tampon fset.
|
| fset | `+buflist.look.sort: …+` | Aide sur l'option sélectionnée dans le tampon fset.
|
||||||
| irc_channel | `#test` | Nom de canal IRC courant.
|
| irc_channel | `#test` | Nom de canal IRC courant.
|
||||||
| irc_host | `+user@host.com+` | Hôte sur IRC.
|
| irc_host | `+user@host.com+` | Hôte sur IRC.
|
||||||
@@ -1050,11 +980,6 @@ suit et éventuellement une valeur) :
|
|||||||
| kbd:[Ctrl+c], kbd:[c],
|
| kbd:[Ctrl+c], kbd:[c],
|
||||||
kbd:[xx], kbd:[,],
|
kbd:[xx], kbd:[,],
|
||||||
kbd:[yy] | Couleur du texte `xx` et du fond `yy` (voir la liste des couleurs ci-dessous).
|
kbd:[yy] | Couleur du texte `xx` et du fond `yy` (voir la liste des couleurs ci-dessous).
|
||||||
| kbd:[Ctrl+c], kbd:[d],
|
|
||||||
kbd:[xxxxxx] | Couleur du texte `xxxxxx` (RGB en hexadécimal, par exemple `FF0000` pour du rouge).
|
|
||||||
| kbd:[Ctrl+c], kbd:[d],
|
|
||||||
kbd:[xxxxxx], kbd:[,],
|
|
||||||
kbd:[yyyyyy] | Couleur du texte `xxxxxx` et du fond `yyyyyy` (RGB en hexadécimal).
|
|
||||||
| kbd:[Ctrl+c], kbd:[i] | Texte en italique.
|
| kbd:[Ctrl+c], kbd:[i] | Texte en italique.
|
||||||
| kbd:[Ctrl+c], kbd:[o] | Désactiver la couleur et tous les attributs.
|
| kbd:[Ctrl+c], kbd:[o] | Désactiver la couleur et tous les attributs.
|
||||||
| kbd:[Ctrl+c], kbd:[v] | Vidéo inverse (inversion de la couleur d'écriture et du fond).
|
| kbd:[Ctrl+c], kbd:[v] | Vidéo inverse (inversion de la couleur d'écriture et du fond).
|
||||||
@@ -1062,8 +987,8 @@ suit et éventuellement une valeur) :
|
|||||||
|===
|
|===
|
||||||
|
|
||||||
[NOTE]
|
[NOTE]
|
||||||
Le même code (sans le numéro pour kbd:[Ctrl+c], kbd:[c] et kbd:[Ctrl+c], kbd:[d])
|
Le même code (sans le numéro pour kbd:[Ctrl+c], kbd:[c]) peut être utilisé pour
|
||||||
peut être utilisé pour stopper l'attribut défini.
|
stopper l'attribut défini.
|
||||||
|
|
||||||
Les codes couleur pour kbd:[Ctrl+c], kbd:[c] sont :
|
Les codes couleur pour kbd:[Ctrl+c], kbd:[c] sont :
|
||||||
|
|
||||||
@@ -1433,8 +1358,8 @@ Par défaut WeeChat et ses extensions par défaut interprètent ces variables :
|
|||||||
|
|
||||||
| filter
|
| filter
|
||||||
| toute chaîne
|
| toute chaîne
|
||||||
| Filtre défini sur certains tampons comme `/fset`, `/list` (irc),
|
| Filtre défini sur certains tampons comme `/fset`, `/server raw` (irc) et
|
||||||
`/server raw` (irc) et `/script`.
|
`/script`.
|
||||||
|
|
||||||
| host
|
| host
|
||||||
| toute chaîne
|
| toute chaîne
|
||||||
@@ -1523,8 +1448,8 @@ variables locales.
|
|||||||
=== Liste des tampons
|
=== Liste des tampons
|
||||||
|
|
||||||
L'extension Buflist affiche une liste des tampons dans un objet de barre appelé
|
L'extension Buflist affiche une liste des tampons dans un objet de barre appelé
|
||||||
"buflist" (quatre autres objets de barre "buflist2", "buflist3", "buflist4" et
|
"buflist" (deux autres objets de barre "buflist2" et "buflist3" sont également
|
||||||
"buflist5" sont également disponibles). +
|
disponibles). +
|
||||||
Une barre par défaut "buflist" est créée au démarrage avec cet objet de barre.
|
Une barre par défaut "buflist" est créée au démarrage avec cet objet de barre.
|
||||||
|
|
||||||
[[buflist_commands]]
|
[[buflist_commands]]
|
||||||
@@ -1548,23 +1473,6 @@ Options :
|
|||||||
|
|
||||||
include::{autogendir}/autogen_user_options.fr.adoc[tag=buflist_options]
|
include::{autogendir}/autogen_user_options.fr.adoc[tag=buflist_options]
|
||||||
|
|
||||||
[[cursor_mode]]
|
|
||||||
=== Mode curseur
|
|
||||||
|
|
||||||
Le mode curseur vous permet de déplacer librement le curseur partout sur l'écran,
|
|
||||||
dans la zone de discussion et les barres, et vous permet d'effectuer des actions
|
|
||||||
à la position donnée. +
|
|
||||||
Vous pouvez entrer dans le mode curseur avec la commande `/cursor` ou avec un
|
|
||||||
clic du milieu sur la souris (la souris doit avoir été activée avec la touche
|
|
||||||
kbd:[Alt+m] ou la commande `/mouse enable`).
|
|
||||||
|
|
||||||
L'utilisation typique est de citer des messages (zone de discussion) ou d'interagir
|
|
||||||
avec des pseudos (barre avec la liste de pseudos).
|
|
||||||
|
|
||||||
Voir la commande <<command_weechat_cursor,/cursor>> et
|
|
||||||
<<key_bindings_cursor_context,les touches du contexte curseur>> pour la liste
|
|
||||||
des actions que vous pouvez effectuer dans ce mode.
|
|
||||||
|
|
||||||
[[key_bindings]]
|
[[key_bindings]]
|
||||||
== Raccourcis clavier
|
== Raccourcis clavier
|
||||||
|
|
||||||
@@ -1642,7 +1550,6 @@ Ils peuvent être modifiés et de nouveaux peuvent être ajoutés avec la comman
|
|||||||
| Touche | Description | Commande
|
| Touche | Description | Commande
|
||||||
| kbd:[Ctrl+c], kbd:[b] | Insérer le code pour mettre le texte en gras. | `+/input insert \x02+`
|
| kbd:[Ctrl+c], kbd:[b] | Insérer le code pour mettre le texte en gras. | `+/input insert \x02+`
|
||||||
| kbd:[Ctrl+c], kbd:[c] | Insérer le code pour écrire en couleur. | `+/input insert \x03+`
|
| kbd:[Ctrl+c], kbd:[c] | Insérer le code pour écrire en couleur. | `+/input insert \x03+`
|
||||||
| kbd:[Ctrl+c], kbd:[d] | Insérer le code pour écrire en couleur (couleur RGB, en hexadécimal). | `+/input insert \x04+`
|
|
||||||
| kbd:[Ctrl+c], kbd:[i] | Insérer le code pour mettre le texte en italique. | `+/input insert \x1D+`
|
| kbd:[Ctrl+c], kbd:[i] | Insérer le code pour mettre le texte en italique. | `+/input insert \x1D+`
|
||||||
| kbd:[Ctrl+c], kbd:[o] | Insérer le code pour réinitialiser la couleur. | `+/input insert \x0F+`
|
| kbd:[Ctrl+c], kbd:[o] | Insérer le code pour réinitialiser la couleur. | `+/input insert \x0F+`
|
||||||
| kbd:[Ctrl+c], kbd:[v] | Insérer le code pour écrire en couleur inversée. | `+/input insert \x16+`
|
| kbd:[Ctrl+c], kbd:[v] | Insérer le code pour écrire en couleur inversée. | `+/input insert \x16+`
|
||||||
@@ -1661,23 +1568,14 @@ Ils peuvent être modifiés et de nouveaux peuvent être ajoutés avec la comman
|
|||||||
| kbd:[Ctrl+↓] | Rappeler la commande suivante dans l'historique global (commun à tous les tampons). | `+/input history_global_next+`
|
| kbd:[Ctrl+↓] | Rappeler la commande suivante dans l'historique global (commun à tous les tampons). | `+/input history_global_next+`
|
||||||
|===
|
|===
|
||||||
|
|
||||||
[[key_bindings_cmdline_system]]
|
|
||||||
==== Système
|
|
||||||
|
|
||||||
[width="100%",cols="^.^3,.^8,.^5",options="header"]
|
|
||||||
|===
|
|
||||||
| Touche | Description | Commande
|
|
||||||
| kbd:[Ctrl+z] | Suspendre le processus WeeChat. | `+/sys suspend+`
|
|
||||||
|===
|
|
||||||
|
|
||||||
[[key_bindings_buffers]]
|
[[key_bindings_buffers]]
|
||||||
=== Tampons
|
=== Tampons
|
||||||
|
|
||||||
[width="100%",cols="^.^3,.^8,.^5",options="header"]
|
[width="100%",cols="^.^3,.^8,.^5",options="header"]
|
||||||
|===
|
|===
|
||||||
| Touche | Description | Commande
|
| Touche | Description | Commande
|
||||||
| kbd:[Ctrl+r] | Chercher du texte dans l'historique de commandes (voir <<key_bindings_histsearch_context,les touches pour le contexte "histsearch">>). | `+/input search_history+`
|
| kbd:[Ctrl+r] | Chercher du texte dans l'historique du tampon (voir <<key_bindings_search_context,les touches pour le contexte de recherche>>). | `+/input search_text_here+`
|
||||||
| kbd:[Ctrl+s] | Chercher du texte dans les lignes du tampon (voir <<key_bindings_search_context,les touches pour le contexte "search">>). | `+/input search_text_here+`
|
| kbd:[Ctrl+s], kbd:[Ctrl+u] | Positionner le marqueur de données non lues sur tous les tampons. | `+/allbuf /buffer set unread+`
|
||||||
| kbd:[Ctrl+x] | Changer de tampon courant si plusieurs tampons sont mélangés avec le même numéro, par exemple basculer vers un autre tampon serveur IRC. | `+/buffer switch+`
|
| kbd:[Ctrl+x] | Changer de tampon courant si plusieurs tampons sont mélangés avec le même numéro, par exemple basculer vers un autre tampon serveur IRC. | `+/buffer switch+`
|
||||||
| kbd:[Alt+x] | Zoomer sur le tampon mélangé (kbd:[Alt+x] de nouveau : afficher tous les tampons mélangés). | `+/buffer zoom+`
|
| kbd:[Alt+x] | Zoomer sur le tampon mélangé (kbd:[Alt+x] de nouveau : afficher tous les tampons mélangés). | `+/buffer zoom+`
|
||||||
| kbd:[PgUp] | Monter d'une page dans l'historique du tampon. | `+/window page_up+`
|
| kbd:[PgUp] | Monter d'une page dans l'historique du tampon. | `+/window page_up+`
|
||||||
@@ -1703,7 +1601,6 @@ Ils peuvent être modifiés et de nouveaux peuvent être ajoutés avec la comman
|
|||||||
| kbd:[Alt+n] | Se positionner sur le highlight suivant. | `+/window scroll_next_highlight+`
|
| 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+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+u] | Se positionner sur la première ligne non lue du tampon. | `+/window scroll_unread+`
|
||||||
| kbd:[Alt+Shift+U] | Positionner le marqueur de données non lues sur tous les tampons. | `+/allbuf /buffer set unread+`
|
|
||||||
| kbd:[Alt+<] | Sauter au tampon précédent dans la liste des tampons visités. | `+/buffer jump prev_visited+`
|
| kbd:[Alt+<] | Sauter au tampon précédent dans la liste des tampons visités. | `+/buffer jump prev_visited+`
|
||||||
| kbd:[Alt+>] | Sauter au tampon suivant dans la liste des tampons visités. | `+/buffer jump next_visited+`
|
| kbd:[Alt+>] | Sauter au tampon suivant dans la liste des tampons visités. | `+/buffer jump next_visited+`
|
||||||
| kbd:[Alt+/] | Sauter au dernier tampon affiché (avant le dernier saut vers un tampon). | `+/buffer jump last_displayed+`
|
| kbd:[Alt+/] | Sauter au dernier tampon affiché (avant le dernier saut vers un tampon). | `+/buffer jump last_displayed+`
|
||||||
@@ -1780,53 +1677,28 @@ Ils peuvent être modifiés et de nouveaux peuvent être ajoutés avec la comman
|
|||||||
[[key_bindings_search_context]]
|
[[key_bindings_search_context]]
|
||||||
=== Contexte de recherche
|
=== Contexte de recherche
|
||||||
|
|
||||||
Ces touches sont utilisées dans le contexte "search" (lorsque kbd:[Ctrl+s] est
|
Ces touches sont utilisées dans le contexte "search" (lorsque kbd:[Ctrl+r] est
|
||||||
pressé pour chercher du texte dans les lignes du tampon).
|
pressé pour chercher du texte dans le tampon).
|
||||||
|
|
||||||
[width="100%",cols="^.^3,.^8,.^5",options="header"]
|
[width="100%",cols="^.^3,.^8,.^5",options="header"]
|
||||||
|===
|
|===
|
||||||
| Touche | Description | Commande
|
| Touche | Description | Commande
|
||||||
| kbd:[Ctrl+x] | Basculer le type de recherche : chaîne (par défaut), expression régulière. | `+/input search_switch_regex+`
|
| kbd:[Ctrl+r] | Basculer le type de recherche : chaîne (par défaut), expression régulière. | `+/input search_switch_regex+`
|
||||||
| kbd:[Alt+c] | Basculer la casse exacte pour la recherche. | `+/input search_switch_case+`
|
| kbd:[Alt+c] | Basculer la casse exacte pour la recherche. | `+/input search_switch_case+`
|
||||||
| kbd:[Tab] | Basculer la recherche dans : les messages (par défaut), les préfixes, les préfixes + messages. | `+/input search_switch_where+`
|
| kbd:[Tab] | Basculer la recherche dans : les messages (par défaut), les préfixes, les préfixes + messages. | `+/input search_switch_where+`
|
||||||
| kbd:[Ctrl+r] +
|
| kbd:[↑] | Chercher la ligne précédente. | `+/input search_previous+`
|
||||||
kbd:[↑] | Chercher la ligne précédente. | `+/input search_previous+`
|
| kbd:[↓] | Chercher la ligne suivante. | `+/input search_next+`
|
||||||
| kbd:[Ctrl+s] +
|
|
||||||
kbd:[↓] | Chercher la ligne suivante. | `+/input search_next+`
|
|
||||||
| kbd:[Enter] +
|
| kbd:[Enter] +
|
||||||
kbd:[Ctrl+j] +
|
kbd:[Ctrl+j] +
|
||||||
kbd:[Ctrl+m] | Arrêter la recherche à la position courante. | `+/input search_stop_here+`
|
kbd:[Ctrl+m] | Arrêter la recherche à la position courante. | `+/input search_stop_here+`
|
||||||
| kbd:[Ctrl+q] | Arrêter la recherche et réinitialiser le défilement à l'état antérieur à la recherche de texte. | `+/input search_stop+`
|
| kbd:[Ctrl+q] | Arrêter la recherche et réinitialiser le défilement à l'état antérieur à la recherche de texte. | `+/input search_stop+`
|
||||||
|===
|
|===
|
||||||
|
|
||||||
[[key_bindings_histsearch_context]]
|
|
||||||
=== Contexte de recherche dans l'historique
|
|
||||||
|
|
||||||
Ces touches sont utilisées dans le contexte "histsearch" (lorsque kbd:[Ctrl+r]
|
|
||||||
est pressé pour chercher du texte dans l'historique des commandes).
|
|
||||||
|
|
||||||
[width="100%",cols="^.^3,.^8,.^5",options="header"]
|
|
||||||
|===
|
|
||||||
| Touche | Description | Commande
|
|
||||||
| kbd:[Ctrl+x] | Basculer le type de recherche : chaîne (par défaut), expression régulière. | `+/input search_switch_regex+`
|
|
||||||
| kbd:[Alt+c] | Basculer la casse exacte pour la recherche. | `+/input search_switch_case+`
|
|
||||||
| kbd:[Tab] | Basculer la recherche dans : l'historique local du tampon (par défaut), l'historique global. | `+/input search_switch_where+`
|
|
||||||
| kbd:[Ctrl+r] +
|
|
||||||
kbd:[↑] | Chercher dans les entrées précédentes (plus anciennes) de l'historique. | `+/input search_previous+`
|
|
||||||
| kbd:[Ctrl+s] +
|
|
||||||
kbd:[↓] | Chercher dans les entrées suivantes (plus récentes) de l'historique. | `+/input search_next+`
|
|
||||||
| kbd:[Enter] +
|
|
||||||
kbd:[Ctrl+j] +
|
|
||||||
kbd:[Ctrl+m] | Arrêter la recherche et utiliser la commande trouvée. | `+/input search_stop_here+`
|
|
||||||
| kbd:[Ctrl+o] | Exécuter la commande trouvée dans l'historique et insérer la suivante sur la ligne de commande. | `+/input history_use_get_next+`
|
|
||||||
| kbd:[Ctrl+q] | Arrêter la recherche et restaurer la ligne de commande à sa valeur initiale. | `+/input search_stop+`
|
|
||||||
|===
|
|
||||||
|
|
||||||
[[key_bindings_cursor_context]]
|
[[key_bindings_cursor_context]]
|
||||||
=== Contexte curseur
|
=== Contexte curseur
|
||||||
|
|
||||||
Ces touches sont utilisées dans le contexte "cursor" (mouvement libre du curseur
|
Ces touches sont utilisées dans le contexte "cursor" (mouvement libre du curseur
|
||||||
à l'écran), voir le <<cursor_mode,Mode curseur>>.
|
à l'écran).
|
||||||
|
|
||||||
[width="100%",cols="^.^3,^.^2,.^7,.^7",options="header"]
|
[width="100%",cols="^.^3,^.^2,.^7,.^7",options="header"]
|
||||||
|===
|
|===
|
||||||
@@ -1835,16 +1707,10 @@ Ces touches sont utilisées dans le contexte "cursor" (mouvement libre du curseu
|
|||||||
| kbd:[↓] | - | Déplacer le curseur d'une ligne vers le bas. | `+/cursor move down+`
|
| kbd:[↓] | - | Déplacer le curseur d'une ligne vers le bas. | `+/cursor move down+`
|
||||||
| kbd:[←] | - | Déplacer le curseur d'une colonne vers la gauche. | `+/cursor move left+`
|
| kbd:[←] | - | Déplacer le curseur d'une colonne vers la gauche. | `+/cursor move left+`
|
||||||
| kbd:[→] | - | Déplacer le curseur d'une colonne vers la droite. | `+/cursor move right+`
|
| kbd:[→] | - | Déplacer le curseur d'une colonne vers la droite. | `+/cursor move right+`
|
||||||
| kbd:[Alt+↑] | - | Déplacer le curseur vers la première ligne de la zone. | `+/cursor move edge_top+`
|
| kbd:[Alt+↑] | - | Déplacer le curseur vers la zone au dessus. | `+/cursor move area_up+`
|
||||||
| kbd:[Alt+↓] | - | Déplacer le curseur vers la dernière ligne de la zone. | `+/cursor move edge_bottom+`
|
| kbd:[Alt+↓] | - | Déplacer le curseur vers la zone en dessous. | `+/cursor move area_down+`
|
||||||
| kbd:[Alt+←] | - | Déplacer le curseur vers la première colonne de la zone. | `+/cursor move edge_left+`
|
| kbd:[Alt+←] | - | Déplacer le curseur vers la zone sur la gauche. | `+/cursor move area_left+`
|
||||||
| kbd:[Alt+→] | - | Déplacer le curseur vers la dernière colonne de la zone. | `+/cursor move edge_right+`
|
| kbd:[Alt+→] | - | Déplacer le curseur vers la zone sur la droite. | `+/cursor move area_right+`
|
||||||
| kbd:[Alt+Home] | - | Déplacer le curseur vers le coin supérieur gauche de la zone. | `+/cursor move top_left+`
|
|
||||||
| kbd:[Alt+End] | - | Déplacer le curseur vers la coin inférieur droit de la zone. | `+/cursor move bottom_right+`
|
|
||||||
| kbd:[Alt+Shift+↑] | - | Déplacer le curseur vers la zone au dessus. | `+/cursor move area_up+`
|
|
||||||
| kbd:[Alt+Shift+↓] | - | Déplacer le curseur vers la zone en dessous. | `+/cursor move area_down+`
|
|
||||||
| kbd:[Alt+Shift+←] | - | Déplacer le curseur vers la zone sur la gauche. | `+/cursor move area_left+`
|
|
||||||
| kbd:[Alt+Shift+→] | - | Déplacer le curseur vers la zone sur la droite. | `+/cursor move area_right+`
|
|
||||||
| kbd:[m] | chat | Citer le message. | `+hsignal:chat_quote_message;/cursor stop+`
|
| kbd:[m] | chat | Citer le message. | `+hsignal:chat_quote_message;/cursor stop+`
|
||||||
| kbd:[l] | chat | Citer la ligne ciblée. | `+hsignal:chat_quote_focused_line;/cursor stop+`
|
| kbd:[l] | chat | Citer la ligne ciblée. | `+hsignal:chat_quote_focused_line;/cursor stop+`
|
||||||
| kbd:[q] | chat | Citer le préfixe + le message. | `+hsignal:chat_quote_prefix_message;/cursor stop+`
|
| kbd:[q] | chat | Citer le préfixe + le message. | `+hsignal:chat_quote_prefix_message;/cursor stop+`
|
||||||
@@ -1868,59 +1734,49 @@ avec la touche kbd:[Alt+m] (commande : `+/mouse toggle+`).
|
|||||||
[width="100%",cols="^.^3,^.^3,^.^3,.^8,.^8",options="header"]
|
[width="100%",cols="^.^3,^.^3,^.^3,.^8,.^8",options="header"]
|
||||||
|===
|
|===
|
||||||
| Bouton/Roulette ^(1)^ | Geste | Zone | Description | Commande
|
| Bouton/Roulette ^(1)^ | Geste | Zone | Description | Commande
|
||||||
| kbd:[■ □ □] | - | chat | Aller à la fenêtre. | `+/window ${_window_number}+`
|
| ◾◽◽ | - | chat | Aller à la fenêtre. | `+/window ${_window_number}+`
|
||||||
| kbd:[■ □ □] | gauche | chat | Aller au tampon précédent. | `+/window ${_window_number};/buffer +1+`
|
| ◾◽◽ | left | chat | Aller au tampon précédent. | `+/window ${_window_number};/buffer +1+`
|
||||||
| kbd:[■ □ □] | droit | chat | Aller au tampon suivant. | `+/window ${_window_number};/buffer +1+`
|
| ◾◽◽ | right | chat | Aller au tampon suivant. | `+/window ${_window_number};/buffer +1+`
|
||||||
| kbd:[■ □ □] | gauche (long) | chat | Aller au premier tampon. | `+/window ${_window_number};/buffer 1+`
|
| ◾◽◽ | left (long) | chat | Aller au premier tampon. | `+/window ${_window_number};/buffer 1+`
|
||||||
| kbd:[■ □ □] | droit (long) | chat | Aller au dernier tampon. | `+/window ${_window_number};/buffer ++`
|
| ◾◽◽ | right (long) | chat | Aller au dernier tampon. | `+/window ${_window_number};/buffer ++`
|
||||||
| kbd:[▲] | - | chat | Monter de quelques lignes dans l'historique du tampon. | `+/window scroll_up -window ${_window_number}+`
|
| 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 | Descendre de quelques lignes dans l'historique du tampon. | `+/window scroll_down -window ${_window_number}+`
|
||||||
| 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 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%+`
|
| kbd:[Ctrl+▼] | - | chat | Faire défiler horizontalement vers la droite. | `+/window scroll_horiz -window ${_window_number} +10%+`
|
||||||
| kbd:[▲] | - | chat : tampon fset | Monter de cinq lignes dans le tampon fset. | `+/fset -up 5+`
|
| kbd:[▲] | - | chat : tampon fset | Monter de cinq lignes dans le tampon fset. | `+/fset -up 5+`
|
||||||
| kbd:[▼] | - | chat : tampon fset | Descendre de cinq lignes dans le tampon fset. | `+/fset -down 5+`
|
| kbd:[▼] | - | chat : tampon fset | Descendre de cinq lignes dans le tampon fset. | `+/fset -down 5+`
|
||||||
| kbd:[■ □ □] | - | chat : tampon fset | Sélectionner la ligne dans le tampon fset. | `+/window ${_window_number};/fset -go ${fset_option_index}+`
|
| ◾◽◽ | - | chat : tampon fset | Sélectionner la ligne dans le tampon fset. | `+/window ${_window_number};/fset -go ${_chat_line_y}+`
|
||||||
| kbd:[□ □ ■] | - | chat : tampon fset | Basculer le booléen (on/off) ou éditer la valeur de l'option. | `+hsignal:fset_mouse+`
|
| ◽◽◾ | - | chat : tampon fset | Basculer le booléen (on/off) ou éditer la valeur de l'option. | `+hsignal:fset_mouse+`
|
||||||
| kbd:[□ □ ■] | gauche | chat : tampon fset | Décrémenter la valeur de l'entier/couleur/énuméré, définir/ajouter à la valeur pour les autres types. | `+hsignal:fset_mouse+`
|
| ◽◽◾ | left | chat : tampon fset | Décrémenter la valeur de l'entier/couleur, définir/ajouter à la valeur pour les autres types. | `+hsignal:fset_mouse+`
|
||||||
| kbd:[□ □ ■] | droit | chat : tampon fset | Incrémenter la valeur de l'entier/couleur/énuméré, définir/ajouter à la valeur pour les autres types. | `+hsignal:fset_mouse+`
|
| ◽◽◾ | right | chat : tampon fset | Incrémenter la valeur de l'entier/couleur, définir/ajouter à la valeur pour les autres types. | `+hsignal:fset_mouse+`
|
||||||
| kbd:[□ □ ■] | haut / bas | chat : tampon fset | Marquer/démarquer de multiples options. | `+hsignal:fset_mouse+`
|
| ◽◽◾ | up / down | chat : tampon fset | Marquer/démarquer de multiples options. | `+hsignal:fset_mouse+`
|
||||||
| kbd:[▲] | - | chat : tampon /list | Monter de cinq lignes dans le tampon /list. | `+/list -up 5+`
|
| kbd:[▲] | - | chat : tampon script | Monter de 5 lignes dans le tampon script. | `+/script up 5+`
|
||||||
| kbd:[▼] | - | chat : tampon /list | Descendre de cinq lignes dans le tampon /list. | `+/list -down 5+`
|
| kbd:[▼] | - | chat : tampon script | Descendre de 5 lignes dans le tampon script. | `+/script down 5+`
|
||||||
| kbd:[■ □ □] | - | chat : tampon /list | Sélectionner la ligne dans le tampon /list. | `+/window ${_window_number};/list -go ${_chat_line_y}+`
|
| ◾◽◽ | - | chat : tampon script | Sélectionner la ligne dans le tampon script. | `+/script go ${_chat_line_y}+`
|
||||||
| kbd:[□ □ ■] | - | chat : tampon /list | Rejoindre le canal IRC sur la ligne sélectionnée. | `+hsignal:irc_list_mouse+`
|
| ◽◽◾ | - | chat : tampon script | Installer/supprimer un script. | `+/script go ${_chat_line_y};/script installremove -q ${script_name_with_extension}+`
|
||||||
| kbd:[▲] | - | chat : tampon script | Monter de 5 lignes dans le tampon script. | `+/script -up 5+`
|
| ◾◽◽ | up / left | buflist | Déplacer le tampon vers un numéro inférieur. | Signal `+buflist_mouse+`.
|
||||||
| kbd:[▼] | - | chat : tampon script | Descendre de 5 lignes dans le tampon script. | `+/script -down 5+`
|
| ◾◽◽ | down / right | buflist | Déplacer le tampon vers un numéro supérieur. | Signal `+buflist_mouse+`.
|
||||||
| kbd:[■ □ □] | - | chat : tampon script | Sélectionner la ligne dans le tampon script. | `+/script -go ${_chat_line_y}+`
|
| ◾◽◽ | - | buflist | Aller au tampon (tampon précédent dans la liste des tampons visités si le tampon est le courant). | Signal `+buflist_mouse+`.
|
||||||
| kbd:[□ □ ■] | - | chat : tampon script | Installer/supprimer un script. | `+/script -go ${_chat_line_y};/script installremove -q ${script_name_with_extension}+`
|
| ◽◽◾ | - | buflist | Aller au tampon suivant dans la liste des tampons visités si le tampon est le courant. | Signal `+buflist_mouse+`.
|
||||||
| kbd:[■ □ □] | haut / gauche | buflist | Déplacer le tampon vers un numéro inférieur. | Signal `+buflist_mouse+`.
|
|
||||||
| kbd:[■ □ □] | bas / droit | buflist | Déplacer le tampon vers un numéro supérieur. | Signal `+buflist_mouse+`.
|
|
||||||
| kbd:[■ □ □] | - | buflist | Aller au tampon (tampon précédent dans la liste des tampons visités si le tampon est le courant). | Signal `+buflist_mouse+`.
|
|
||||||
| kbd:[□ □ ■] | - | 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 précédent. | Signal `+buflist_mouse+`.
|
||||||
| kbd:[Ctrl+▼] | - | buflist | Aller au tampon suivant. | Signal `+buflist_mouse+`.
|
| kbd:[Ctrl+▼] | - | buflist | Aller au tampon suivant. | Signal `+buflist_mouse+`.
|
||||||
| kbd:[■ □ □] | haut | liste des pseudos | Monter d'une page dans la liste des pseudos. | `+/bar scroll nicklist ${_window_number} -100%+`
|
| ◾◽◽ | up | liste des pseudos | Monter d'une page dans la liste des pseudos. | `+/bar scroll nicklist ${_window_number} -100%+`
|
||||||
| kbd:[■ □ □] | bas | liste des pseudos | Descendre 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%+`
|
||||||
| kbd:[■ □ □] | haut (long) | liste des pseudos | Aller au début de la liste des pseudos. | `+/bar scroll nicklist ${_window_number} b+`
|
| ◾◽◽ | up (long) | liste des pseudos | Aller au début de la liste des pseudos. | `+/bar scroll nicklist ${_window_number} b+`
|
||||||
| kbd:[■ □ □] | bas (long) | liste des pseudos | Aller à la fin de la liste des pseudos. | `+/bar scroll nicklist ${_window_number} e+`
|
| ◾◽◽ | down (long) | liste des pseudos | Aller à la fin de la liste des pseudos. | `+/bar scroll nicklist ${_window_number} e+`
|
||||||
| kbd:[■ □ □] | - | liste des pseudos | Ouvrir une discussion avec le pseudo. | `+/window ${_window_number};/query ${nick}+`
|
| ◾◽◽ | - | liste des pseudos | Ouvrir une discussion avec le pseudo. | `+/window ${_window_number};/query ${nick}+`
|
||||||
| kbd:[□ □ ■] | - | liste des pseudos | Effectuer un whois sur le pseudo. | `+/window ${_window_number};/whois ${nick}+`
|
| ◽◽◾ | - | liste des pseudos | Effectuer un whois sur le pseudo. | `+/window ${_window_number};/whois ${nick}+`
|
||||||
| kbd:[■ □ □] | gauche | liste des pseudos | Retirer par la force le pseudo. | `+/window ${_window_number};/kick ${nick}+`
|
| ◾◽◽ | left | liste des pseudos | Retirer par la force le pseudo. | `+/window ${_window_number};/kick ${nick}+`
|
||||||
| kbd:[■ □ □] | gauche (long) | liste des pseudos | Retirer par la force et bannir le pseudo. | `+/window ${_window_number};/kickban ${nick}+`
|
| ◾◽◽ | left (long) | liste des pseudos | Retirer par la force et bannir le pseudo. | `+/window ${_window_number};/kickban ${nick}+`
|
||||||
| kbd:[□ □ ■] | gauche | liste des pseudos | Bannir le pseudo. | `+/window ${_window_number};/ban ${nick}+`
|
| ◽◽◾ | left | liste des pseudos | Bannir le pseudo. | `+/window ${_window_number};/ban ${nick}+`
|
||||||
| kbd:[□ □ ■] | - | ligne de commande | Capturer un évènement de la souris et insérer son code sur la ligne de commande. | `+/input grab_mouse_area+`
|
| ◽◽◾ | - | 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%+`
|
||||||
| 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%+`
|
||||||
| kbd:[□ ■ □] | - | n'importe où | Démarrer le mode curseur ("cursor") à ce point. | `+/cursor go ${_x},${_y}+`
|
| ◽◾◽ | - | n'importe où | Démarrer le mode curseur ("cursor") à ce point. | `+/cursor go ${_x},${_y}+`
|
||||||
|===
|
|===
|
||||||
|
|
||||||
[NOTE]
|
[NOTE]
|
||||||
^(1)^ Boutons : +
|
^(1)^ kbd:[▲] et kbd:[▼] sont la roulette vers le haut et le bas.
|
||||||
kbd:[◼ □ □] : clic sur le bouton de gauche +
|
|
||||||
kbd:[□ ◼ □] : clic sur le bouton du milieu +
|
|
||||||
kbd:[□ □ ◼] : clic sur le bouton de droite +
|
|
||||||
Roulette : +
|
|
||||||
kbd:[▲] : roulette vers le haut +
|
|
||||||
kbd:[▼] : roulette vers le bas
|
|
||||||
|
|
||||||
[[key_bindings_fset_buffer]]
|
[[key_bindings_fset_buffer]]
|
||||||
=== Tampon fset
|
=== Tampon fset
|
||||||
@@ -1940,8 +1796,8 @@ Ces touches et actions sont utilisées sur le tampon fset
|
|||||||
| kbd:[F11] | `pass:[<]` | Faire défiler horizontalement vers la gauche. | `+/fset -left+`
|
| kbd:[F11] | `pass:[<]` | Faire défiler horizontalement vers la gauche. | `+/fset -left+`
|
||||||
| kbd:[F12] | `pass:[>]` | Faire défiler horizontalement vers la droite. | `+/fset -right+`
|
| kbd:[F12] | `pass:[>]` | Faire défiler horizontalement vers la droite. | `+/fset -right+`
|
||||||
| kbd:[Alt+Space] | `t` | Basculer la valeur booléenne. | `+/fset -toggle+`
|
| kbd:[Alt+Space] | `t` | Basculer la valeur booléenne. | `+/fset -toggle+`
|
||||||
| kbd:[Alt+-] | `-` | Soustraire 1 de la valeur de l'entier/couleur/énuméré, définir la valeur pour les autres types. | `+/fset -add -1+`
|
| kbd:[Alt+-] | `-` | Soustraire 1 de la valeur de l'entier/couleur, définir la valeur pour les autres types. | `+/fset -add -1+`
|
||||||
| kbd:[Alt++] | `+` | Ajouter 1 à la valeur de l'entier/couleur/énuméré, ajouter à la valeur pour les autres types. | `+/fset -add 1+`
|
| kbd:[Alt++] | `+` | Ajouter 1 à la valeur de l'entier/couleur, ajouter à la valeur pour les autres types. | `+/fset -add 1+`
|
||||||
| kbd:[Alt+f], kbd:[Alt+r] | `r` | Réinitialiser la valeur. | `+/fset -reset+`
|
| kbd:[Alt+f], kbd:[Alt+r] | `r` | Réinitialiser la valeur. | `+/fset -reset+`
|
||||||
| kbd:[Alt+f], kbd:[Alt+u] | `u` | Supprimer/réinitialiser la valeur. | `+/fset -unset+`
|
| kbd:[Alt+f], kbd:[Alt+u] | `u` | Supprimer/réinitialiser la valeur. | `+/fset -unset+`
|
||||||
| kbd:[Alt+Enter] | `s` | Définir la valeur. | `+/fset -set+`
|
| kbd:[Alt+Enter] | `s` | Définir la valeur. | `+/fset -set+`
|
||||||
@@ -1955,8 +1811,8 @@ Ces touches et actions sont utilisées sur le tampon fset
|
|||||||
| kbd:[Ctrl+l] (`L`) | | Rafraîchir les options et l'écran entier. | `+/fset -refresh+`
|
| kbd:[Ctrl+l] (`L`) | | Rafraîchir les options et l'écran entier. | `+/fset -refresh+`
|
||||||
| | `$` | Rafraîchir les options (garder les options marquées). |
|
| | `$` | Rafraîchir les options (garder les options marquées). |
|
||||||
| | `$$` | Rafraîchir les options (démarquer toutes les options). |
|
| | `$$` | Rafraîchir les options (démarquer toutes les options). |
|
||||||
| kbd:[Alt+p] | `p` | Activer/désactiver la description des options d'extensions (`pass:[plugins.desc.*]`). | `+/mute /set fset.look.show_plugins_desc toggle+`
|
| kbd:[Alt+p] | | Activer/désactiver la description des options d'extensions (`pass:[plugins.desc.*]`). | `+/mute /set fset.look.show_plugins_desc toggle+`
|
||||||
| kbd:[Alt+v] | `v` | Activer/désactiver la barre d'aide. | `+/bar toggle fset+`
|
| kbd:[Alt+v] | | Activer/désactiver la barre d'aide. | `+/bar toggle fset+`
|
||||||
| | `s:x,y` | Trier les options par les champs x,y (voir l'option <<option_fset.look.sort,fset.look.sort>>). | `+/mute /set fset.look.sort x,y+`
|
| | `s:x,y` | Trier les options par les champs x,y (voir l'option <<option_fset.look.sort,fset.look.sort>>). | `+/mute /set fset.look.sort x,y+`
|
||||||
| | `s:` | Réinitialiser le tri à sa valeur par défaut (voir l'option <<option_fset.look.sort,fset.look.sort>>). | `+/mute /unset fset.look.sort+`
|
| | `s:` | Réinitialiser le tri à sa valeur par défaut (voir l'option <<option_fset.look.sort,fset.look.sort>>). | `+/mute /unset fset.look.sort+`
|
||||||
| | `w:xxx` | Exporter les options dans le fichier "xxx". | `+/fset -export xxx+`
|
| | `w:xxx` | Exporter les options dans le fichier "xxx". | `+/fset -export xxx+`
|
||||||
@@ -1969,40 +1825,6 @@ Ces touches et actions sont utilisées sur le tampon fset
|
|||||||
[NOTE]
|
[NOTE]
|
||||||
^(1)^ L'action doit être tapée comme entrée dans la ligne de commande, suivie de kbd:[Enter].
|
^(1)^ L'action doit être tapée comme entrée dans la ligne de commande, suivie de kbd:[Enter].
|
||||||
|
|
||||||
[[key_bindings_irc_list_buffer]]
|
|
||||||
=== Tampon IRC /list
|
|
||||||
|
|
||||||
Ces touches et actions sont utilisées sur le tampon IRC /list
|
|
||||||
(voir la commande <<command_irc_list,/list>>).
|
|
||||||
|
|
||||||
[width="100%",cols="^.^3,^.^2,.^8,.^5",options="header"]
|
|
||||||
|===
|
|
||||||
| Touche | Action ^(1)^ | Description | Commande
|
|
||||||
| kbd:[↑] | | Monter d'une ligne. | `+/list -up+`
|
|
||||||
| kbd:[↓] | | Descendre d'une ligne. | `+/list -down+`
|
|
||||||
| kbd:[PgUp] | | Monter d'une page. | `+/window page_up+`
|
|
||||||
| kbd:[PgDn] | | Descendre d'une page. | `+/window page_down+`
|
|
||||||
| kbd:[Alt+Home] | `pass:[<<]` | Aller à la première ligne. | `+/list -go 0+`
|
|
||||||
| kbd:[Alt+End] | `pass:[>>]` | Aller à la dernière ligne. | `+/list -go end+`
|
|
||||||
| kbd:[F11] | `pass:[<]` | Faire défiler horizontalement vers la gauche. | `+/list -left+`
|
|
||||||
| kbd:[F12] | `pass:[>]` | Faire défiler horizontalement vers la droite. | `+/list -right+`
|
|
||||||
| kbd:[Ctrl+j] | `j` | Rejoindre le canal IRC sur la ligne sélectionnée. | `+/list -join+`
|
|
||||||
| | `xxx` | Afficher seulement les canaux avec "xxx" dans le nom ou le titre (insensible à la casse). |
|
|
||||||
| | `n:xxx` | Afficher seulement les canaux avec "xxx" dans le nom (insensible à la casse). |
|
|
||||||
| | `t:xxx` | Afficher seulement les canaux avec "xxx" dans le titre (insensible à la casse). |
|
|
||||||
| | `u:n` | Afficher seulement les canaux avec au moins "n" utilisateurs. |
|
|
||||||
| | `u:>n` | Afficher seulement les canaux avec plus de "n" utilisateurs. |
|
|
||||||
| | `u:<n` | Afficher seulement les canaux avec moins de "n" utilisateurs. |
|
|
||||||
| | `c:xxx` | Afficher seulement les canaux qui correspondent à la condition évaluée "xxx", en utilisant les variables suivantes : name, name2, users, topic. |
|
|
||||||
| | `s:x,y` | Trier les canaux par les champs x,y (voir la commande <<command_irc_list,/list>>). |
|
|
||||||
| | `s:` | Réinitialiser le tri à sa valeur par défaut (voir la commande <<command_irc_list,/list>>). |
|
|
||||||
| | `$` | Rafraîchir la liste (relancer la commande <<command_irc_list,/list>>). |
|
|
||||||
| | `q` | Fermer le tampon. | `+/buffer close+`
|
|
||||||
|===
|
|
||||||
|
|
||||||
[NOTE]
|
|
||||||
^(1)^ L'action doit être tapée comme entrée dans la ligne de commande, suivie de kbd:[Enter].
|
|
||||||
|
|
||||||
[[key_bindings_script_buffer]]
|
[[key_bindings_script_buffer]]
|
||||||
=== Tampon script
|
=== Tampon script
|
||||||
|
|
||||||
@@ -2012,22 +1834,17 @@ Ces touches et actions sont utilisées sur le tampon script
|
|||||||
[width="100%",cols="^.^3,^.^2,.^8,.^5",options="header"]
|
[width="100%",cols="^.^3,^.^2,.^8,.^5",options="header"]
|
||||||
|===
|
|===
|
||||||
| Touche | Action ^(1)^ | Description | Commande
|
| Touche | Action ^(1)^ | Description | Commande
|
||||||
| kbd:[↑] | | Monter d'une ligne. | `+/script -up+`
|
| kbd:[↑] | | Move one line up. | `+/script up+`
|
||||||
| kbd:[↓] | | Descendre d'une ligne. | `+/script -down+`
|
| kbd:[↓] | | Move one line down. | `+/script down+`
|
||||||
| kbd:[PgUp] | | Monter d'une page. | `+/window page_up+`
|
| kbd:[PgUp] | | Move one page up. | `+/window page_up+`
|
||||||
| kbd:[PgDn] | | Descendre d'une page. | `+/window page_down+`
|
| kbd:[PgDn] | | Move one page down. | `+/window page_down+`
|
||||||
| kbd:[Alt+i] | `i` | Installer le script. | `+/script install+`
|
| kbd:[Alt+i] | `i` | Install script. | `+/script install+`
|
||||||
| kbd:[Alt+r] | `r` | Supprimer le script. | `+/script remove+`
|
| kbd:[Alt+r] | `r` | Remove script. | `+/script remove+`
|
||||||
| kbd:[Alt+l] | `l` | Charger le script. | `+/script load+`
|
| kbd:[Alt+l] (`L`) | `l` | Load script. | `+/script load+`
|
||||||
| kbd:[Alt+L] | `L` | Recharger le script. | `+/script reload+`
|
| kbd:[Alt+u] | `u` | Unload script. | `+/script unload+`
|
||||||
| kbd:[Alt+u] | `u` | Décharger le script. | `+/script unload+`
|
| kbd:[Alt+Shift+A] | `A` | Autoload script. | `+/script toggleautoload+`
|
||||||
| kbd:[Alt+Shift+A] | `A` | Charger automatiquement le script. | `+/script toggleautoload+`
|
| kbd:[Alt+h] | `h` | Hold/unhold script. | `+/script hold+`
|
||||||
| kbd:[Alt+h] | `h` | Figer/défiger le script. | `+/script hold+`
|
| kbd:[Alt+v] | `v` | View script. | `+/script show+`
|
||||||
| kbd:[Alt+v] | `v` | Voir le script. | `+/script show+`
|
|
||||||
| | `s:x,y` | Trier les scripts par les champs x,y (voir l'option <<option_script.look.sort,script.look.sort>>). |
|
|
||||||
| | `s:` | Reset sort to its default value (voir l'option <<option_script.look.sort,script.look.sort>>). |
|
|
||||||
| | `$` | Rafraîchir la liste. |
|
|
||||||
| | `q` | Fermer le tampon. | `+/buffer close+`
|
|
||||||
|===
|
|===
|
||||||
|
|
||||||
[NOTE]
|
[NOTE]
|
||||||
@@ -2051,7 +1868,7 @@ Exemple de tampon fset affichant les options commençant par `weechat.look` :
|
|||||||
│2.fset │weechat.look.bare_display_exit_on_input: exit the bare display mode on any c│
|
│2.fset │weechat.look.bare_display_exit_on_input: exit the bare display mode on any c│
|
||||||
│ │hanges in input [default: on] │
|
│ │hanges in input [default: on] │
|
||||||
│ │----------------------------------------------------------------------------│
|
│ │----------------------------------------------------------------------------│
|
||||||
│ │ weechat.look.align_end_of_lines enum message │
|
│ │ weechat.look.align_end_of_lines integer message │
|
||||||
│ │ weechat.look.align_multiline_words boolean on │
|
│ │ weechat.look.align_multiline_words boolean on │
|
||||||
│ │ weechat.look.bar_more_down string "++" │
|
│ │ weechat.look.bar_more_down string "++" │
|
||||||
│ │ weechat.look.bar_more_left string "<<" │
|
│ │ weechat.look.bar_more_left string "<<" │
|
||||||
@@ -2060,12 +1877,12 @@ Exemple de tampon fset affichant les options commençant par `weechat.look` :
|
|||||||
│ │## weechat.look.bare_display_exit_on_input boolean on ##│
|
│ │## weechat.look.bare_display_exit_on_input boolean on ##│
|
||||||
│ │ weechat.look.bare_display_time_format string "%H:%M" │
|
│ │ weechat.look.bare_display_time_format string "%H:%M" │
|
||||||
│ │ weechat.look.buffer_auto_renumber boolean on │
|
│ │ weechat.look.buffer_auto_renumber boolean on │
|
||||||
│ │ weechat.look.buffer_notify_default enum all │
|
│ │ weechat.look.buffer_notify_default integer all │
|
||||||
│ │ weechat.look.buffer_position enum end │
|
│ │ weechat.look.buffer_position integer end │
|
||||||
│ │ weechat.look.buffer_search_case_sensitive boolean off │
|
│ │ weechat.look.buffer_search_case_sensitive boolean off │
|
||||||
│ │ weechat.look.buffer_search_force_default boolean off │
|
│ │ weechat.look.buffer_search_force_default boolean off │
|
||||||
│ │ weechat.look.buffer_search_regex boolean off │
|
│ │ weechat.look.buffer_search_regex boolean off │
|
||||||
│ │ weechat.look.buffer_search_where enum prefix_message │
|
│ │ weechat.look.buffer_search_where integer prefix_message │
|
||||||
│ │ weechat.look.buffer_time_format string "%H:%M:%S" │
|
│ │ weechat.look.buffer_time_format string "%H:%M:%S" │
|
||||||
│ │ weechat.look.buffer_time_same string "" │
|
│ │ weechat.look.buffer_time_same string "" │
|
||||||
│ │[12:55] [2] [fset] 2:fset │
|
│ │[12:55] [2] [fset] 2:fset │
|
||||||
@@ -2396,9 +2213,16 @@ Par exemple pour désactiver les « highlights » de "joe" et "mike" sur le ta
|
|||||||
courant :
|
courant :
|
||||||
|
|
||||||
----
|
----
|
||||||
/buffer setauto hotlist_max_level_nicks_add joe:2,mike:2
|
/buffer set hotlist_max_level_nicks_add joe:2,mike:2
|
||||||
----
|
----
|
||||||
|
|
||||||
|
[NOTE]
|
||||||
|
La propriété de tampon "hotlist_max_level_nicks" n'est pas sauvegardée dans la
|
||||||
|
configuration. +
|
||||||
|
Vous pouvez facilement la sauvegarder avec le script _buffer_autoset.py_ : vous
|
||||||
|
pouvez l'installer avec `+/script install buffer_autoset.py+` et obtenir de l'aide
|
||||||
|
avec `+/help buffer_autoset+`.
|
||||||
|
|
||||||
[[highlights]]
|
[[highlights]]
|
||||||
=== Highlights
|
=== Highlights
|
||||||
|
|
||||||
@@ -2423,9 +2247,16 @@ Ceci peut aussi être défini avec la propriété de tampon "highlight_disable_r
|
|||||||
Même exemple, spécifique au tampon courant :
|
Même exemple, spécifique au tampon courant :
|
||||||
|
|
||||||
----
|
----
|
||||||
/buffer setauto highlight_disable_regex <flash.*>
|
/buffer set highlight_disable_regex <flash.*>
|
||||||
----
|
----
|
||||||
|
|
||||||
|
[NOTE]
|
||||||
|
La propriété de tampon "highlight_disable_regex" n'est pas sauvegardée dans la
|
||||||
|
configuration. +
|
||||||
|
Vous pouvez facilement la sauvegarder avec le script _buffer_autoset.py_ : vous
|
||||||
|
pouvez l'installer avec `+/script install buffer_autoset.py+` et obtenir de l'aide
|
||||||
|
avec `+/help buffer_autoset+`.
|
||||||
|
|
||||||
[[highlights_words]]
|
[[highlights_words]]
|
||||||
==== Ajouter des mots pour le « highlight »
|
==== Ajouter des mots pour le « highlight »
|
||||||
|
|
||||||
@@ -2483,9 +2314,16 @@ Par exemple pour forcer le highlight sur tous les messages dans le canal
|
|||||||
courant :
|
courant :
|
||||||
|
|
||||||
----
|
----
|
||||||
/buffer setauto highlight_regex .*
|
/buffer set highlight_regex .*
|
||||||
----
|
----
|
||||||
|
|
||||||
|
[NOTE]
|
||||||
|
La propriété de tampon "highlight_regex" n'est pas sauvegardée dans la
|
||||||
|
configuration. +
|
||||||
|
Vous pouvez facilement la sauvegarder avec le script _buffer_autoset.py_ : vous
|
||||||
|
pouvez l'installer avec `+/script install buffer_autoset.py+` et obtenir de l'aide
|
||||||
|
avec `+/help buffer_autoset+`.
|
||||||
|
|
||||||
[[buffer_logging]]
|
[[buffer_logging]]
|
||||||
=== Enregistrement des tampons
|
=== Enregistrement des tampons
|
||||||
|
|
||||||
@@ -2745,27 +2583,16 @@ utilisant le contexte "mouse" (pour la syntaxe voir la commande
|
|||||||
Un nom d'évènement consiste en un modificateur (facultatif), un bouton/roulette
|
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 (par ordre dans le nom de l'évènement) :
|
Liste des modificateurs :
|
||||||
|
|
||||||
[width="100%",cols="1m,4",options="header"]
|
[width="100%",cols="1m,4",options="header"]
|
||||||
|===
|
|===
|
||||||
| Modificateur | Description
|
| Modificateur | Description
|
||||||
| alt | Touche kbd:[Alt]
|
|
||||||
| ctrl | Touche kbd:[Ctrl]
|
| ctrl | Touche kbd:[Ctrl]
|
||||||
| shift | Touche kbd:[Shift] ^(1)^
|
| alt | Touche kbd:[Alt]
|
||||||
|
| ctrl-alt | Touches kbd:[Ctrl] + kbd:[Alt]
|
||||||
|===
|
|===
|
||||||
|
|
||||||
[NOTE]
|
|
||||||
^(1)^ Le modificateur `shift` peut rarement être utilisé dans WeeChat car
|
|
||||||
beaucoup de terminaux utilisent ce modificateur pour attraper directement les
|
|
||||||
évènements souris.
|
|
||||||
|
|
||||||
Plusieurs modificateurs peuvent être combinés, par exemple :
|
|
||||||
|
|
||||||
* `alt-ctrl`
|
|
||||||
* `ctrl-shift`
|
|
||||||
* `alt-ctrl-shift`
|
|
||||||
|
|
||||||
Liste des boutons/roulette :
|
Liste des boutons/roulette :
|
||||||
|
|
||||||
[width="100%",cols="1m,4",options="header"]
|
[width="100%",cols="1m,4",options="header"]
|
||||||
@@ -2774,7 +2601,7 @@ Liste des boutons/roulette :
|
|||||||
| button1 | Clic sur le bouton gauche
|
| button1 | Clic sur le bouton gauche
|
||||||
| button2 | Clic sur le bouton droit
|
| button2 | Clic sur le bouton droit
|
||||||
| button3 | Clic sur le bouton du milieu (souvent clic sur la roulette)
|
| button3 | Clic sur le bouton du milieu (souvent clic sur la roulette)
|
||||||
| button4 ... button11 | Clic sur un bouton additionnel
|
| button4 ... button9 | Clic sur un bouton additionnel
|
||||||
| wheelup | Roulette (haut)
|
| wheelup | Roulette (haut)
|
||||||
| wheeldown | Roulette (bas)
|
| wheeldown | Roulette (bas)
|
||||||
|===
|
|===
|
||||||
@@ -2813,7 +2640,7 @@ Exemples d'évènements :
|
|||||||
* `button1-event-drag`
|
* `button1-event-drag`
|
||||||
* `alt-button2-gesture-down-long`
|
* `alt-button2-gesture-down-long`
|
||||||
* `wheelup`
|
* `wheelup`
|
||||||
* `alt-ctrl-wheeldown`
|
* `ctrl-alt-wheeldown`
|
||||||
* ...
|
* ...
|
||||||
|
|
||||||
[TIP]
|
[TIP]
|
||||||
@@ -3430,7 +3257,6 @@ Sections dans le fichier _weechat.conf_ :
|
|||||||
| bar | <<command_weechat_bar,/bar>> +
|
| bar | <<command_weechat_bar,/bar>> +
|
||||||
/set weechat.bar.* | Options des barres.
|
/set weechat.bar.* | Options des barres.
|
||||||
| layout | <<command_weechat_layout,/layout>> | Dispositions.
|
| layout | <<command_weechat_layout,/layout>> | Dispositions.
|
||||||
| buffer | <<command_weechat_buffer,/buffer setauto>> | Propriétés appliquées automatiquement sur les tampons lorsqu'ils sont ouverts.
|
|
||||||
| notify | <<command_weechat_buffer,/buffer notify>> | Niveaux de notification des tampons (les options peuvent être ajoutées/supprimées dans la section).
|
| notify | <<command_weechat_buffer,/buffer notify>> | Niveaux de notification des tampons (les options peuvent être ajoutées/supprimées dans la section).
|
||||||
| filter | <<command_weechat_filter,/filter>> | Filtres.
|
| filter | <<command_weechat_filter,/filter>> | Filtres.
|
||||||
| key | <<command_weechat_key,/key>> | Touches pour le contexte "default".
|
| key | <<command_weechat_key,/key>> | Touches pour le contexte "default".
|
||||||
@@ -3540,7 +3366,7 @@ irc.server.libera.autorejoin_delay integer null -> 30
|
|||||||
irc.server.libera.away_check integer null -> 0
|
irc.server.libera.away_check integer null -> 0
|
||||||
irc.server.libera.away_check_max_nicks integer null -> 25
|
irc.server.libera.away_check_max_nicks integer null -> 25
|
||||||
irc.server.libera.capabilities string null -> "*"
|
irc.server.libera.capabilities string null -> "*"
|
||||||
irc.server.libera.charset_message enum null -> message
|
irc.server.libera.charset_message integer null -> message
|
||||||
irc.server.libera.command string null -> ""
|
irc.server.libera.command string null -> ""
|
||||||
irc.server.libera.command_delay integer null -> 0
|
irc.server.libera.command_delay integer null -> 0
|
||||||
irc.server.libera.connection_timeout integer null -> 60
|
irc.server.libera.connection_timeout integer null -> 60
|
||||||
@@ -3556,9 +3382,9 @@ irc.server.libera.notify string null -> ""
|
|||||||
irc.server.libera.password string null -> ""
|
irc.server.libera.password string null -> ""
|
||||||
irc.server.libera.proxy string null -> ""
|
irc.server.libera.proxy string null -> ""
|
||||||
irc.server.libera.realname string null -> ""
|
irc.server.libera.realname string null -> ""
|
||||||
irc.server.libera.sasl_fail enum null -> reconnect
|
irc.server.libera.sasl_fail integer null -> reconnect
|
||||||
irc.server.libera.sasl_key string null -> ""
|
irc.server.libera.sasl_key string null -> ""
|
||||||
irc.server.libera.sasl_mechanism enum null -> plain
|
irc.server.libera.sasl_mechanism integer null -> plain
|
||||||
irc.server.libera.sasl_password string "${sec.data.libera}"
|
irc.server.libera.sasl_password string "${sec.data.libera}"
|
||||||
irc.server.libera.sasl_timeout integer null -> 15
|
irc.server.libera.sasl_timeout integer null -> 15
|
||||||
irc.server.libera.sasl_username string "alice"
|
irc.server.libera.sasl_username string "alice"
|
||||||
@@ -4290,7 +4116,7 @@ Par exemple, pour personnaliser la réponse au CTCP "VERSION", utilisez la
|
|||||||
commande suivante :
|
commande suivante :
|
||||||
|
|
||||||
----
|
----
|
||||||
/set irc.ctcp.version "Je suis sous WeeChat ${version}, ça déchire !"
|
/set irc.ctcp.version "Je suis sous WeeChat $version, ça déchire !"
|
||||||
----
|
----
|
||||||
|
|
||||||
[NOTE]
|
[NOTE]
|
||||||
@@ -4315,7 +4141,7 @@ Il est possible de personnaliser le CTCP pour un seul serveur, en utilisant son
|
|||||||
nom interne avant le nom du CTCP :
|
nom interne avant le nom du CTCP :
|
||||||
|
|
||||||
----
|
----
|
||||||
/set irc.ctcp.libera.version "WeeChat ${version} (pour libera)"
|
/set irc.ctcp.libera.version "WeeChat $version (pour libera)"
|
||||||
----
|
----
|
||||||
|
|
||||||
Si vous voulez restaurer la réponse CTCP standard, alors supprimez l'option :
|
Si vous voulez restaurer la réponse CTCP standard, alors supprimez l'option :
|
||||||
@@ -4324,23 +4150,23 @@ Si vous voulez restaurer la réponse CTCP standard, alors supprimez l'option :
|
|||||||
/unset irc.ctcp.version
|
/unset irc.ctcp.version
|
||||||
----
|
----
|
||||||
|
|
||||||
Les réponses CTCP sont évaluées (voir la commande <<command_weechat_eval,/eval>>)
|
Les codes suivants peuvent être utilisés dans les chaînes et sont
|
||||||
et les variables supplémentaires suivantes sont disponibles :
|
automatiquement remplacées par WeeChat lors de la réponse au CTCP :
|
||||||
|
|
||||||
[width="100%",cols="2,4,8",options="header"]
|
[width="100%",cols="2l,4,8",options="header"]
|
||||||
|===
|
|===
|
||||||
| Variable | Description | Valeur / exemple
|
| Code | Description | Valeur / exemple
|
||||||
| `+${clientinfo}+` | Liste des CTCP supportés | `+ACTION DCC CLIENTINFO PING SOURCE TIME VERSION+`
|
| $clientinfo | Liste des CTCP supportés | `+ACTION DCC CLIENTINFO FINGER PING SOURCE TIME USERINFO VERSION+`
|
||||||
| `+${version}+` | Version de WeeChat | `+4.1.0-dev+`
|
| $version | Version de WeeChat | `+0.4.0-dev+`
|
||||||
| `+${versiongit}+` | Version de WeeChat + version Git ^(1)^ | `+4.1.0-dev (git: v4.0.0-51-g8f98b922a)+`
|
| $versiongit | Version de WeeChat + version Git ^(1)^ | `+0.4.0-dev (git: v0.3.9-104-g7eb5cc4)+`
|
||||||
| `+${git}+` | Version Git ^(1)^ | `+v4.0.0-51-g8f98b922a+`
|
| $git | Version Git ^(1)^ | `+v0.3.9-104-g7eb5cc4+`
|
||||||
| `+${compilation}+` | Date de compilation WeeChat | `+Jul 8 2023 20:14:23+`
|
| $compilation | Date de compilation WeeChat | `+Dec 16 2012+`
|
||||||
| `+${osinfo}+` | Information sur l'OS | `+Linux 5.10.0-23-amd64 / x86_64+`
|
| $osinfo | Information sur l'OS | `+Linux 2.6.32-5-amd64 / x86_64+`
|
||||||
| `+${site}+` | Site WeeChat | `+https://weechat.org/+`
|
| $site | Site WeeChat | `+https://weechat.org/+`
|
||||||
| `+${download}+` | Site WeeChat, page téléchargement | `+https://weechat.org/download/+`
|
| $download | Site WeeChat, page téléchargement | `+https://weechat.org/download/+`
|
||||||
| `+${time}+` | Date/heure courante | `+Sat, 08 Jul 2023 21:11:19 +0200+`
|
| $time | Date/heure courante | `+Sun, 16 Dec 2012 10:40:48 +0100+`
|
||||||
| `+${username}+` | Nom d'utilisateur sur le serveur | `+nom+`
|
| $username | Nom d'utilisateur sur le serveur | `+nom+`
|
||||||
| `+${realname}+` | Nom réel sur le serveur | `+John Doe+`
|
| $realname | Nom réel sur le serveur | `+John Doe+`
|
||||||
|===
|
|===
|
||||||
|
|
||||||
[NOTE]
|
[NOTE]
|
||||||
@@ -4348,15 +4174,17 @@ et les variables supplémentaires suivantes sont disponibles :
|
|||||||
connue seulement si WeeChat a été compilé dans le dépôt Git et si Git était
|
connue seulement si WeeChat a été compilé dans le dépôt Git et si Git était
|
||||||
installé.
|
installé.
|
||||||
|
|
||||||
Les réponses CTCP par défaut sont :
|
Si les options CTCP ne sont pas définies (par défaut), les réponses CTCP sont :
|
||||||
|
|
||||||
[width="100%",cols="2,4,8",options="header"]
|
[width="100%",cols="2,4,8",options="header"]
|
||||||
|===
|
|===
|
||||||
| CTCP | Format de réponse | Exemple
|
| CTCP | Format de réponse | Exemple
|
||||||
| CLIENTINFO | `+${clientinfo}+` | `+ACTION DCC CLIENTINFO PING SOURCE TIME VERSION+`
|
| CLIENTINFO | `+$clientinfo+` | `+ACTION DCC CLIENTINFO FINGER PING SOURCE TIME USERINFO VERSION+`
|
||||||
| SOURCE | `+${download}+` | `+https://weechat.org/download/+`
|
| FINGER | `+WeeChat $versiongit+` | `+WeeChat 0.4.0-dev (git: v0.3.9-104-g7eb5cc4)+`
|
||||||
| TIME | `+${time}+` | `+Sat, 08 Jul 2023 21:11:19 +0200+`
|
| SOURCE | `+$download+` | `+https://weechat.org/download/+`
|
||||||
| VERSION | `+WeeChat ${version}+` | `+WeeChat 4.1.0-dev+`
|
| TIME | `+$time+` | `+Sun, 16 Dec 2012 10:40:48 +0100+`
|
||||||
|
| USERINFO | `+$username ($realname)+` | `+nom (John Doe)+`
|
||||||
|
| VERSION | `+WeeChat $versiongit ($compilation)+` | `+WeeChat 0.4.0-dev (git: v0.3.9-104-g7eb5cc4) (Dec 16 2012)+`
|
||||||
|===
|
|===
|
||||||
|
|
||||||
[[irc_target_buffer]]
|
[[irc_target_buffer]]
|
||||||
@@ -4660,13 +4488,8 @@ utilisant divers protocoles :
|
|||||||
|
|
||||||
* _irc_ : proxy IRC : utilisé pour partager la connexions aux serveurs IRC avec
|
* _irc_ : proxy IRC : utilisé pour partager la connexions aux serveurs IRC avec
|
||||||
un ou plusieurs autres clients IRC
|
un ou plusieurs autres clients IRC
|
||||||
* _api_ : API REST HTTP, utilisée par WeeChat et les interfaces distantes pour
|
|
||||||
afficher et interagir avec WeeChat
|
|
||||||
* _weechat_ : protocole utilisé par les interfaces distantes pour afficher et
|
* _weechat_ : protocole utilisé par les interfaces distantes pour afficher et
|
||||||
interagir avec WeeChat.
|
interagir avec WeeChat, voir https://weechat.org/about/interfaces/[cette page ^↗^^].
|
||||||
|
|
||||||
Pour les protocoles _api_ et _weechat_, voir la liste des interfaces distantes
|
|
||||||
sur https://weechat.org/about/interfaces/[cette page ^↗^^].
|
|
||||||
|
|
||||||
[[relay_password]]
|
[[relay_password]]
|
||||||
=== Mot de passe
|
=== Mot de passe
|
||||||
@@ -4679,14 +4502,14 @@ commandes :
|
|||||||
/set relay.network.password "${sec.data.relay}"
|
/set relay.network.password "${sec.data.relay}"
|
||||||
----
|
----
|
||||||
|
|
||||||
Ce mot de passe est utilisé avec tous les protocoles.
|
Ce mot de passe sera utilisé pour les protocoles _irc_ et _weechat_.
|
||||||
|
|
||||||
[[relay_totp]]
|
[[relay_totp]]
|
||||||
=== TOTP
|
=== TOTP
|
||||||
|
|
||||||
TOTP (« Time-based One-Time Password » : mot de passe à usage unique basé sur le
|
TOTP (« Time-based One-Time Password » : mot de passe à usage unique basé sur le
|
||||||
temps) peut être utilisé comme second facteur d'authentification pour les
|
temps) peut être utilisé comme second facteur d'authentification pour le protocole
|
||||||
protocoles _api_ et _weechat_, en plus du mot de passe.
|
_weechat_, en plus du mot de passe.
|
||||||
|
|
||||||
Il est optionnel et augmente le niveau de sécurité.
|
Il est optionnel et augmente le niveau de sécurité.
|
||||||
|
|
||||||
@@ -4783,39 +4606,6 @@ avec ces commandes :
|
|||||||
/set irc.server.relay.password "${sec.data.relay_libera}"
|
/set irc.server.relay.password "${sec.data.relay_libera}"
|
||||||
----
|
----
|
||||||
|
|
||||||
[[relay_api_protocol]]
|
|
||||||
=== API protocol
|
|
||||||
|
|
||||||
L'extension Relay peut envoyer les données à un autre WeeChat ou une interface
|
|
||||||
distante avec un protocol HTTP de type API REST.
|
|
||||||
|
|
||||||
Vous pouvez parcourir et tester l'API en ligne :
|
|
||||||
https://weechat.org/api/[API Relay WeeChat ^↗^^].
|
|
||||||
|
|
||||||
Vous pouvez vous connecter avec WeeChat ou une interface distante, voir
|
|
||||||
https://weechat.org/about/interfaces/[cette page ^↗^^].
|
|
||||||
|
|
||||||
Par exemple :
|
|
||||||
|
|
||||||
----
|
|
||||||
/relay add api 9000
|
|
||||||
----
|
|
||||||
|
|
||||||
Maintenant vous pouvez vous connecter sur le port 9000 avec une interface
|
|
||||||
distante en utilisant le mot de passe "motdepasse".
|
|
||||||
|
|
||||||
Pour vous connecter à un relai _api_ avec WeeChat :
|
|
||||||
|
|
||||||
----
|
|
||||||
/remote add weechat http://localhost:9000 -password=motdepasse
|
|
||||||
/remote connect weechat
|
|
||||||
----
|
|
||||||
|
|
||||||
[NOTE]
|
|
||||||
Le WeeChat distant doit exposer exactement la même version d'API que le WeeChat
|
|
||||||
local, il est donc fortement recommandé d'utiliser exactement la même version
|
|
||||||
de WeeChat de chaque côté.
|
|
||||||
|
|
||||||
[[relay_weechat_protocol]]
|
[[relay_weechat_protocol]]
|
||||||
=== Protocole WeeChat
|
=== Protocole WeeChat
|
||||||
|
|
||||||
@@ -4859,9 +4649,8 @@ websocket = new WebSocket("ws://server.com:9000/weechat");
|
|||||||
----
|
----
|
||||||
|
|
||||||
Le port (9000 dans l'exemple) est le port défini dans l'extension Relay.
|
Le port (9000 dans l'exemple) est le port défini dans l'extension Relay.
|
||||||
|
L'URI doit toujours se terminer par "/weechat" (pour les protocoles _irc_ et
|
||||||
L'URI doit se terminer par "/weechat" pour les protocoles _irc_ et _weechat_ et
|
_weechat_).
|
||||||
"/api" pour le protocole _api_.
|
|
||||||
|
|
||||||
[[relay_unix_socket]]
|
[[relay_unix_socket]]
|
||||||
=== UNIX domain sockets
|
=== UNIX domain sockets
|
||||||
@@ -4906,7 +4695,7 @@ Sections dans le fichier _relay.conf_ :
|
|||||||
| network | /set relay.network.* | Options réseau.
|
| network | /set relay.network.* | Options réseau.
|
||||||
| irc | /set relay.irc.* | Options spécifiques au protocole irc (proxy irc).
|
| irc | /set relay.irc.* | Options spécifiques au protocole irc (proxy irc).
|
||||||
| port | <<command_relay_relay,/relay add>> +
|
| port | <<command_relay_relay,/relay add>> +
|
||||||
/set relay.port.* | Ports utilisés pour le relai (les options peuvent être ajoutées/supprimées dans la section).
|
/set relay.port.* | Ports utilisés pour le relai (protocoles irc et weechat) (les options peuvent être ajoutées/supprimées dans la section).
|
||||||
|===
|
|===
|
||||||
|
|
||||||
Options :
|
Options :
|
||||||
@@ -5323,9 +5112,7 @@ Les groupes de correspondance peuvent être utilisés dans le _remplacement_ :
|
|||||||
|
|
||||||
* `+${re:0}+` à `+${re:99}+` : `+${re:0}+` est la correspondance complète, `+${re:1}+`
|
* `+${re:0}+` à `+${re:99}+` : `+${re:0}+` est la correspondance complète, `+${re:1}+`
|
||||||
à `+${re:99}+` sont les groupes capturés
|
à `+${re:99}+` sont les groupes capturés
|
||||||
* `pass:[${re:+}]` : la dernière correspondance (avec le numéro le plus élevé)
|
* `+${re:+}+` : la dernière correspondance (avec le numéro le plus élevé)
|
||||||
* `+${re:#}+` : index du dernier groupe capturé
|
|
||||||
* `+${re:repl_index}+` : index du remplacement en cours (démarre à 1)
|
|
||||||
* `+${hide:c,${re:N}}+` : la correspondance "N" avec tous les caractères
|
* `+${hide:c,${re:N}}+` : la correspondance "N" avec tous les caractères
|
||||||
remplacés par "c" (exemple : `+${hide:*,${re:2}}+` est le groupe n°2 avec tous
|
remplacés par "c" (exemple : `+${hide:*,${re:2}}+` est le groupe n°2 avec tous
|
||||||
les caractères remplacés par `+*+`).
|
les caractères remplacés par `+*+`).
|
||||||
@@ -5394,7 +5181,7 @@ du type de hook :
|
|||||||
| signal | tg_signal_data |
|
| signal | tg_signal_data |
|
||||||
| hsignal | |
|
| hsignal | |
|
||||||
| modifier | tg_string | tg_string
|
| modifier | tg_string | tg_string
|
||||||
| line | message | buffer, buffer_name, y, date, date_usec, date_printed, date_usec_printed, str_time, tags, notify_level, highlight, prefix, message
|
| line | message | buffer, buffer_name, y, date, date_printed, str_time, tags, notify_level, highlight, prefix, message
|
||||||
| print | tg_message |
|
| print | tg_message |
|
||||||
| command | tg_argv_eol1 |
|
| command | tg_argv_eol1 |
|
||||||
| command_run | tg_command |
|
| command_run | tg_command |
|
||||||
@@ -5481,7 +5268,7 @@ suivantes sont ajoutées dans la table de hachage :
|
|||||||
| server | chaîne | Nom du serveur (exemple : "libera").
|
| server | chaîne | Nom du serveur (exemple : "libera").
|
||||||
| tags | chaîne | Étiquettes dans le message (rarement utilisées).
|
| tags | chaîne | Étiquettes dans le message (rarement utilisées).
|
||||||
| message_without_tags | chaîne | Message sans les étiquettes.
|
| message_without_tags | chaîne | Message sans les étiquettes.
|
||||||
| nick | chaîne | Pseudo. ^(1)^
|
| nick | chaîne | Pseudo.
|
||||||
| host | chaîne | Nom d'hôte.
|
| host | chaîne | Nom d'hôte.
|
||||||
| command | chaîne | Commande IRC (exemple : "PRIVMSG", "NOTICE", ...).
|
| command | chaîne | Commande IRC (exemple : "PRIVMSG", "NOTICE", ...).
|
||||||
| channel | chaîne | Canal IRC.
|
| channel | chaîne | Canal IRC.
|
||||||
@@ -5493,10 +5280,6 @@ suivantes sont ajoutées dans la table de hachage :
|
|||||||
| pos_text | chaîne | L'index de _text_ dans le message ("-1" si _text_ n'a pas été trouvé).
|
| pos_text | chaîne | L'index de _text_ dans le message ("-1" si _text_ n'a pas été trouvé).
|
||||||
|===
|
|===
|
||||||
|
|
||||||
[NOTE]
|
|
||||||
^(1)^ Le pseudo est l'expéditeur du message. +
|
|
||||||
Votre propre pseudo sur le serveur est `${irc_server.nick}`.
|
|
||||||
|
|
||||||
Lorsque la donnée est un pointeur, la variable `+tg_signal_data+` peut être
|
Lorsque la donnée est un pointeur, la variable `+tg_signal_data+` peut être
|
||||||
utilisée comme ceci pour lire une propriété hdata (dans cet exemple il s'agit
|
utilisée comme ceci pour lire une propriété hdata (dans cet exemple il s'agit
|
||||||
d'un pointeur sur un tampon) :
|
d'un pointeur sur un tampon) :
|
||||||
@@ -5569,9 +5352,7 @@ de hachage :
|
|||||||
| buffer_type | chaîne | Type de tampon ("formatted" ou "free").
|
| buffer_type | chaîne | Type de tampon ("formatted" ou "free").
|
||||||
| y | chaîne | Numéro de ligne pour un tampon avec contenu libre (≥ 0), -1 pour un tampon avec contenu formaté.
|
| y | chaîne | Numéro de ligne pour un tampon avec contenu libre (≥ 0), -1 pour un tampon avec contenu formaté.
|
||||||
| date | chaîne | Date de la ligne (horodatage).
|
| date | chaîne | Date de la ligne (horodatage).
|
||||||
| date_usec | chaîne | Microsecondes de la date de la ligne.
|
|
||||||
| date_printed | chaîne | Date d'affichage de la ligne (horodatage).
|
| date_printed | chaîne | Date d'affichage de la ligne (horodatage).
|
||||||
| date_usec_printed | chaîne | Microsecondes de la date d'affichage de la ligne.
|
|
||||||
| str_time | chaîne | Date pour l'affichage. Elle peut contenir des codes couleur.
|
| str_time | chaîne | Date pour l'affichage. Elle peut contenir des codes couleur.
|
||||||
| tags | chaîne | Étiquettes du message (avec une virgule en début/fin de chaîne).
|
| tags | chaîne | Étiquettes du message (avec une virgule en début/fin de chaîne).
|
||||||
| displayed | chaîne | "1" si affichée, "0" si la ligne est filtrée.
|
| displayed | chaîne | "1" si affichée, "0" si la ligne est filtrée.
|
||||||
@@ -5612,7 +5393,7 @@ hachage :
|
|||||||
|===
|
|===
|
||||||
| Variable | Type | Description
|
| Variable | Type | Description
|
||||||
| buffer | pointeur | Tampon.
|
| buffer | pointeur | Tampon.
|
||||||
| tg_date | chaîne | Date/heure du message (format : `%FT%T.%f`, voir la link:weechat_plugin_api.fr.html#_util_strftimeval[Référence API extension WeeChat / util_strftimeval ^↗^^]).
|
| tg_date | chaîne | Date/heure du message (format : `YYYY-MM-DD hh:mm:ss`).
|
||||||
| tg_displayed | chaîne | "1" si affiché, "0" si ligne filtrée.
|
| tg_displayed | chaîne | "1" si affiché, "0" si ligne filtrée.
|
||||||
| tg_highlight | chaîne | "1" si highlight, sinon "0".
|
| tg_highlight | chaîne | "1" si highlight, sinon "0".
|
||||||
| tg_prefix | chaîne | Préfixe.
|
| tg_prefix | chaîne | Préfixe.
|
||||||
@@ -5681,7 +5462,7 @@ hachage :
|
|||||||
|===
|
|===
|
||||||
| Variable | Type | Description
|
| Variable | Type | Description
|
||||||
| tg_remaining_calls | chaîne | Nombre d'appels restants.
|
| tg_remaining_calls | chaîne | Nombre d'appels restants.
|
||||||
| tg_date | chaîne | Date/heure courante (format : `%FT%T.%f`, voir la link:weechat_plugin_api.fr.html#_util_strftimeval[Référence API extension WeeChat / util_strftimeval ^↗^^]).
|
| tg_date | chaîne | Date/heure courante (format : `YYYY-MM-DD hh:mm:ss`).
|
||||||
|===
|
|===
|
||||||
|
|
||||||
[[trigger_data_config]]
|
[[trigger_data_config]]
|
||||||
|
|||||||
@@ -103,7 +103,7 @@ $HOME/.local/share/weechat/weechat.log::
|
|||||||
WeeChat is written by Sébastien Helleu and contributors (complete list is in
|
WeeChat is written by Sébastien Helleu and contributors (complete list is in
|
||||||
the AUTHORS.adoc file).
|
the AUTHORS.adoc file).
|
||||||
|
|
||||||
Copyright (C) 2003-2024 {author}
|
Copyright (C) 2003-2023 {author}
|
||||||
|
|
||||||
WeeChat is free software; you can redistribute it and/or modify
|
WeeChat is free software; you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
+25
-82
@@ -644,33 +644,6 @@ If you are using the macOS Terminal app, enable the option
|
|||||||
"Use option as meta key" in menu Settings/Keyboard. And then you can use the
|
"Use option as meta key" in menu Settings/Keyboard. And then you can use the
|
||||||
kbd:[Option] key as meta key.
|
kbd:[Option] key as meta key.
|
||||||
|
|
||||||
// TRANSLATION MISSING
|
|
||||||
[[enter_key]]
|
|
||||||
=== Some keys including Enter are not working, why?
|
|
||||||
|
|
||||||
If you run a WeeChat < 4.0.0 with configuration files created by any
|
|
||||||
version ≥ 4.0.0, the keys names become invalid and many keys won't work at all. +
|
|
||||||
To repair them, exit WeeChat, remove all sections `[key*]` from weechat.conf
|
|
||||||
and start WeeChat again: all default keys will be created.
|
|
||||||
|
|
||||||
// TRANSLATION MISSING
|
|
||||||
[[key_f11]]
|
|
||||||
=== Key F11 maximizes the terminal window, how can I scroll up the nicklist?
|
|
||||||
|
|
||||||
The key kbd:[F11] is commonly used by terminals to maximize the window, and
|
|
||||||
kbd:[F11]/kbd:[F12] are the default keys in WeeChat to scroll the nicklist.
|
|
||||||
|
|
||||||
You can bind other keys, for example kbd:[Shift+F11] and kbd:[Shift+F12],
|
|
||||||
with WeeChat ≥ 4.0.0:
|
|
||||||
|
|
||||||
----
|
|
||||||
/key bind shift-f11 /bar scroll nicklist * -100%
|
|
||||||
/key bind shift-f12 /bar scroll nicklist * +100%
|
|
||||||
----
|
|
||||||
|
|
||||||
Other solution is to enable mouse (key: kbd:[Alt+m]) and scroll with the mouse
|
|
||||||
wheel (see also questions about <<mouse,mouse>>).
|
|
||||||
|
|
||||||
[[customize_key_bindings]]
|
[[customize_key_bindings]]
|
||||||
=== Come posso personalizzare le associazioni dei tasti?
|
=== Come posso personalizzare le associazioni dei tasti?
|
||||||
|
|
||||||
@@ -703,13 +676,6 @@ commands like `/123` to jump to buffer #123:
|
|||||||
/trigger add numberjump modifier "2000|input_text_for_buffer" "${tg_string} =~ ^/[0-9]+$" "=\/([0-9]+)=/buffer *${re:1}=" "" "" "none"
|
/trigger add numberjump modifier "2000|input_text_for_buffer" "${tg_string} =~ ^/[0-9]+$" "=\/([0-9]+)=/buffer *${re:1}=" "" "" "none"
|
||||||
----
|
----
|
||||||
|
|
||||||
// TRANSLATION MISSING
|
|
||||||
For an easy jump to buffers, you can also install the _go.py_ script:
|
|
||||||
|
|
||||||
----
|
|
||||||
/script install go.py
|
|
||||||
----
|
|
||||||
|
|
||||||
[[global_history]]
|
[[global_history]]
|
||||||
=== Come si può usare la cronologia globale (invece di quella del buffer) con i tasti su e giù?
|
=== Come si può usare la cronologia globale (invece di quella del buffer) con i tasti su e giù?
|
||||||
|
|
||||||
@@ -1039,25 +1005,41 @@ Altri script correlati:
|
|||||||
[[disable_highlights_for_specific_nicks]]
|
[[disable_highlights_for_specific_nicks]]
|
||||||
=== How can I disable highlights for specific nicks?
|
=== How can I disable highlights for specific nicks?
|
||||||
|
|
||||||
|
// TRANSLATION MISSING
|
||||||
You can use the
|
You can use the
|
||||||
link:weechat_user.it.html#max_hotlist_level_nicks[hotlist_max_level_nicks_add ^↗^^]
|
link:weechat_user.it.html#max_hotlist_level_nicks[hotlist_max_level_nicks_add ^↗^^]
|
||||||
buffer property to set the max hotlist level for some nicks, per buffer,
|
buffer property to set the max hotlist level for some nicks, per buffer,
|
||||||
or per group of buffers (like IRC servers).
|
or per group of buffers (like IRC servers).
|
||||||
|
|
||||||
To only disable highlights, you'd have to set it to 2.
|
To only disable highlights, you'd have to set it to 2:
|
||||||
|
|
||||||
For the current buffer:
|
|
||||||
|
|
||||||
----
|
----
|
||||||
/buffer setauto hotlist_max_level_nicks_add joe:2,mike:2
|
/buffer set hotlist_max_level_nicks_add joe:2,mike:2
|
||||||
----
|
----
|
||||||
|
|
||||||
For all channels on server "libera":
|
This buffer property isn't stored in the configuration though.
|
||||||
|
To automatically reapply these buffer properties, you would need the
|
||||||
|
_buffer_autoset.py_ script:
|
||||||
|
|
||||||
----
|
----
|
||||||
/set weechat.buffer.irc.libera.*.hotlist_max_level_nicks_add joe:2,mike:2
|
/script install buffer_autoset.py
|
||||||
----
|
----
|
||||||
|
|
||||||
|
For example, to permanently disable highlights from "mike" on #weechat
|
||||||
|
on the IRC server libera:
|
||||||
|
|
||||||
|
----
|
||||||
|
/buffer_autoset add irc.libera.#weechat hotlist_max_level_nicks_add mike:2
|
||||||
|
----
|
||||||
|
|
||||||
|
To apply it to the entire libera server instead:
|
||||||
|
|
||||||
|
----
|
||||||
|
/buffer_autoset add irc.libera hotlist_max_level_nicks_add mike:2
|
||||||
|
----
|
||||||
|
|
||||||
|
For more examples, see `+/help buffer_autoset+`.
|
||||||
|
|
||||||
[[irc_target_buffer]]
|
[[irc_target_buffer]]
|
||||||
=== Come si può modificare il buffer destinazione per i comandi sui buffer uniti (come i buffer con i server)?
|
=== Come si può modificare il buffer destinazione per i comandi sui buffer uniti (come i buffer con i server)?
|
||||||
|
|
||||||
@@ -1197,10 +1179,7 @@ Esistono diversi trucchi per ottimizzare l'uso della memoria:
|
|||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
You can follow same tips as for <<memory_usage,memory>>, and these ones:
|
You can follow same tips as for <<memory_usage,memory>>, and these ones:
|
||||||
|
|
||||||
// TRANSLATION MISSING
|
* hide "nicklist" bar: `/bar hide nicklist`
|
||||||
* hide "nicklist" bar: `/bar hide nicklist` (key: kbd:[Alt+Shift+N]).
|
|
||||||
// TRANSLATION MISSING
|
|
||||||
* Disable "buflist": `/buflist disable` (key: kbd:[Alt+Shift+B]).
|
|
||||||
* remove display of seconds in status bar time:
|
* remove display of seconds in status bar time:
|
||||||
`+/set weechat.look.item_time_format "%H:%M"+` (this is the default value)
|
`+/set weechat.look.item_time_format "%H:%M"+` (this is the default value)
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
@@ -1226,21 +1205,14 @@ Disable answers to all CTCP queries:
|
|||||||
|
|
||||||
----
|
----
|
||||||
/set irc.ctcp.clientinfo ""
|
/set irc.ctcp.clientinfo ""
|
||||||
|
/set irc.ctcp.finger ""
|
||||||
/set irc.ctcp.source ""
|
/set irc.ctcp.source ""
|
||||||
/set irc.ctcp.time ""
|
/set irc.ctcp.time ""
|
||||||
|
/set irc.ctcp.userinfo ""
|
||||||
/set irc.ctcp.version ""
|
/set irc.ctcp.version ""
|
||||||
/set irc.ctcp.ping ""
|
/set irc.ctcp.ping ""
|
||||||
----
|
----
|
||||||
|
|
||||||
// TRANSLATION MISSING
|
|
||||||
With WeeChat < 4.1.0, other CTCP queries were replied by default and must be
|
|
||||||
disabled as well:
|
|
||||||
|
|
||||||
----
|
|
||||||
/set irc.ctcp.finger ""
|
|
||||||
/set irc.ctcp.userinfo ""
|
|
||||||
----
|
|
||||||
|
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
Unload and disable auto-loading of "xfer" plugin (used for IRC DCC):
|
Unload and disable auto-loading of "xfer" plugin (used for IRC DCC):
|
||||||
|
|
||||||
@@ -1278,35 +1250,6 @@ stored in _sec.conf_ with the `/secure` command).
|
|||||||
See the link:weechat_user.it.html#files_and_directories[User's guide / Files and directories ^↗^^]
|
See the link:weechat_user.it.html#files_and_directories[User's guide / Files and directories ^↗^^]
|
||||||
for more information about configuration files.
|
for more information about configuration files.
|
||||||
|
|
||||||
// TRANSLATION MISSING
|
|
||||||
[[move_to_another_device]]
|
|
||||||
=== I want to move my WeeChat to another device and keep my config, what should I copy?
|
|
||||||
|
|
||||||
First check directories used by WeeChat with this command: `/debug dirs`. +
|
|
||||||
Directories home/config and home/data must be copied (all files and sub-directories).
|
|
||||||
|
|
||||||
For example if you're using XDG directories (default with WeeChat ≥ 3.2),
|
|
||||||
the directories should be `$HOME/.config/weechat` and `$HOME/.local/share/weechat`. +
|
|
||||||
If you're using a single directory (default with WeeChat < 3.2), the directory
|
|
||||||
should be `$HOME/.weechat`.
|
|
||||||
|
|
||||||
[IMPORTANT]
|
|
||||||
The WeeChat version on the new device must be greater than or equal to the version
|
|
||||||
on the initial device. +
|
|
||||||
Downgrading WeeChat configuration is *NOT SUPPORTED* and can break it,
|
|
||||||
leading to unusable WeeChat.
|
|
||||||
|
|
||||||
Steps:
|
|
||||||
|
|
||||||
. Quit Weechat: `/quit` (or `/upgrade -quit` if you want to resume the session,
|
|
||||||
which includes content of all buffers).
|
|
||||||
. Copy all directories, sub-directories and files to the new device, keeping
|
|
||||||
same names and permissions.
|
|
||||||
. Optional: copy any file outside these directories that you refer to in your
|
|
||||||
configuration (it's not recommended to use files outside WeeChat directories).
|
|
||||||
. Start WeeChat on the new device: `weechat` (or `weechat --upgrade` if you
|
|
||||||
saved the session).
|
|
||||||
|
|
||||||
[[development]]
|
[[development]]
|
||||||
== Sviluppo
|
== Sviluppo
|
||||||
|
|
||||||
|
|||||||
+186
-1199
File diff suppressed because it is too large
Load Diff
@@ -579,14 +579,327 @@ link:weechat_plugin_api.it.html[WeeChat plugin API reference ^↗^^].
|
|||||||
|
|
||||||
Elenco di funzioni nelle API per gli script:
|
Elenco di funzioni nelle API per gli script:
|
||||||
|
|
||||||
include::{autogendir}/autogen_scripting_functions.it.adoc[tag=functions]
|
[width="100%",cols="1,5",options="header"]
|
||||||
|
|===
|
||||||
|
| Categoria | Funzioni
|
||||||
|
|
||||||
|
| generale
|
||||||
|
| register
|
||||||
|
|
||||||
|
| plugin
|
||||||
|
| plugin_get_name
|
||||||
|
|
||||||
|
| stringhe
|
||||||
|
| charset_set +
|
||||||
|
iconv_to_internal +
|
||||||
|
iconv_from_internal +
|
||||||
|
gettext +
|
||||||
|
ngettext +
|
||||||
|
strlen_screen +
|
||||||
|
string_match +
|
||||||
|
string_match_list +
|
||||||
|
string_has_highlight +
|
||||||
|
string_has_highlight_regex +
|
||||||
|
string_mask_to_regex +
|
||||||
|
string_format_size +
|
||||||
|
string_parse_size +
|
||||||
|
string_color_code_size +
|
||||||
|
string_remove_color +
|
||||||
|
string_is_command_char +
|
||||||
|
string_input_for_buffer +
|
||||||
|
string_eval_expression +
|
||||||
|
string_eval_path_home
|
||||||
|
|
||||||
|
| directory
|
||||||
|
| mkdir_home +
|
||||||
|
mkdir +
|
||||||
|
mkdir_parents
|
||||||
|
|
||||||
|
| liste ordinate
|
||||||
|
| list_new +
|
||||||
|
list_add +
|
||||||
|
list_search +
|
||||||
|
list_search_pos +
|
||||||
|
list_casesearch +
|
||||||
|
list_casesearch_pos +
|
||||||
|
list_get +
|
||||||
|
list_set +
|
||||||
|
list_next +
|
||||||
|
list_prev +
|
||||||
|
list_string +
|
||||||
|
list_size +
|
||||||
|
list_remove +
|
||||||
|
list_remove_all +
|
||||||
|
list_free
|
||||||
|
|
||||||
|
| file di configurazione
|
||||||
|
| config_new +
|
||||||
|
config_new_section +
|
||||||
|
config_search_section +
|
||||||
|
config_new_option +
|
||||||
|
config_search_option +
|
||||||
|
config_string_to_boolean +
|
||||||
|
config_option_reset +
|
||||||
|
config_option_set +
|
||||||
|
config_option_set_null +
|
||||||
|
config_option_unset +
|
||||||
|
config_option_rename +
|
||||||
|
config_option_is_null +
|
||||||
|
config_option_default_is_null +
|
||||||
|
config_boolean +
|
||||||
|
config_boolean_default +
|
||||||
|
config_integer +
|
||||||
|
config_integer_default +
|
||||||
|
config_string +
|
||||||
|
config_string_default +
|
||||||
|
config_color +
|
||||||
|
config_color_default +
|
||||||
|
config_write_option +
|
||||||
|
config_write_line +
|
||||||
|
config_write +
|
||||||
|
config_read +
|
||||||
|
config_reload +
|
||||||
|
config_option_free +
|
||||||
|
config_section_free_options +
|
||||||
|
config_section_free +
|
||||||
|
config_free +
|
||||||
|
config_get +
|
||||||
|
config_get_plugin +
|
||||||
|
config_is_set_plugin +
|
||||||
|
config_set_plugin +
|
||||||
|
config_set_desc_plugin +
|
||||||
|
config_unset_plugin
|
||||||
|
|
||||||
|
| combinazione tasti
|
||||||
|
| key_bind +
|
||||||
|
key_unbind
|
||||||
|
|
||||||
|
| visualizzazione
|
||||||
|
| prefix +
|
||||||
|
color +
|
||||||
|
// TRANSLATION MISSING
|
||||||
|
print (for python: prnt) +
|
||||||
|
// TRANSLATION MISSING
|
||||||
|
print_date_tags (for python: prnt_date_tags) +
|
||||||
|
// TRANSLATION MISSING
|
||||||
|
print_y (for python: prnt_y) +
|
||||||
|
// TRANSLATION MISSING
|
||||||
|
print_y_date_tags (for python: prnt_y_date_tags) +
|
||||||
|
log_print
|
||||||
|
|
||||||
|
| hook
|
||||||
|
| hook_command +
|
||||||
|
hook_command_run +
|
||||||
|
hook_timer +
|
||||||
|
hook_fd +
|
||||||
|
hook_process +
|
||||||
|
hook_process_hashtable +
|
||||||
|
hook_connect +
|
||||||
|
hook_line +
|
||||||
|
hook_print +
|
||||||
|
hook_signal +
|
||||||
|
hook_signal_send +
|
||||||
|
hook_hsignal +
|
||||||
|
hook_hsignal_send +
|
||||||
|
hook_config +
|
||||||
|
hook_completion +
|
||||||
|
hook_modifier +
|
||||||
|
hook_modifier_exec +
|
||||||
|
hook_info +
|
||||||
|
hook_info_hashtable +
|
||||||
|
hook_infolist +
|
||||||
|
hook_focus +
|
||||||
|
hook_set +
|
||||||
|
unhook +
|
||||||
|
unhook_all
|
||||||
|
|
||||||
|
| buffer
|
||||||
|
| buffer_new +
|
||||||
|
buffer_new_props +
|
||||||
|
current_buffer +
|
||||||
|
buffer_search +
|
||||||
|
buffer_search_main +
|
||||||
|
buffer_clear +
|
||||||
|
buffer_close +
|
||||||
|
buffer_merge +
|
||||||
|
buffer_unmerge +
|
||||||
|
buffer_get_integer +
|
||||||
|
buffer_get_string +
|
||||||
|
buffer_get_pointer +
|
||||||
|
buffer_set +
|
||||||
|
buffer_string_replace_local_var +
|
||||||
|
buffer_match_list
|
||||||
|
|
||||||
|
| finestre
|
||||||
|
| current_window +
|
||||||
|
window_search_with_buffer +
|
||||||
|
window_get_integer +
|
||||||
|
window_get_string +
|
||||||
|
window_get_pointer +
|
||||||
|
window_set_title
|
||||||
|
|
||||||
|
| lista nick
|
||||||
|
| nicklist_add_group +
|
||||||
|
nicklist_search_group +
|
||||||
|
nicklist_add_nick +
|
||||||
|
nicklist_search_nick +
|
||||||
|
nicklist_remove_group +
|
||||||
|
nicklist_remove_nick +
|
||||||
|
nicklist_remove_all +
|
||||||
|
nicklist_group_get_integer +
|
||||||
|
nicklist_group_get_string +
|
||||||
|
nicklist_group_get_pointer +
|
||||||
|
nicklist_group_set +
|
||||||
|
nicklist_nick_get_integer +
|
||||||
|
nicklist_nick_get_string +
|
||||||
|
nicklist_nick_get_pointer +
|
||||||
|
nicklist_nick_set
|
||||||
|
|
||||||
|
| barre
|
||||||
|
| bar_item_search +
|
||||||
|
bar_item_new +
|
||||||
|
bar_item_update +
|
||||||
|
bar_item_remove +
|
||||||
|
bar_search +
|
||||||
|
bar_new +
|
||||||
|
bar_set +
|
||||||
|
bar_update +
|
||||||
|
bar_remove
|
||||||
|
|
||||||
|
| comandi
|
||||||
|
| command +
|
||||||
|
command_options
|
||||||
|
|
||||||
|
// TRANSLATION MISSING
|
||||||
|
| completion
|
||||||
|
| completion_new +
|
||||||
|
completion_search +
|
||||||
|
completion_get_string +
|
||||||
|
completion_list_add +
|
||||||
|
completion_free
|
||||||
|
|
||||||
|
| info
|
||||||
|
| info_get +
|
||||||
|
info_get_hashtable
|
||||||
|
|
||||||
|
| liste info
|
||||||
|
| infolist_new +
|
||||||
|
infolist_new_item +
|
||||||
|
infolist_new_var_integer +
|
||||||
|
infolist_new_var_string +
|
||||||
|
infolist_new_var_pointer +
|
||||||
|
infolist_new_var_time +
|
||||||
|
infolist_get +
|
||||||
|
infolist_next +
|
||||||
|
infolist_prev +
|
||||||
|
infolist_reset_item_cursor +
|
||||||
|
infolist_search_var +
|
||||||
|
infolist_fields +
|
||||||
|
infolist_integer +
|
||||||
|
infolist_string +
|
||||||
|
infolist_pointer +
|
||||||
|
infolist_time +
|
||||||
|
infolist_free
|
||||||
|
|
||||||
|
| hdata
|
||||||
|
| hdata_get +
|
||||||
|
hdata_get_var_offset +
|
||||||
|
hdata_get_var_type_string +
|
||||||
|
hdata_get_var_array_size +
|
||||||
|
hdata_get_var_array_size_string +
|
||||||
|
hdata_get_var_hdata +
|
||||||
|
hdata_get_list +
|
||||||
|
hdata_check_pointer +
|
||||||
|
hdata_move +
|
||||||
|
hdata_search +
|
||||||
|
hdata_char +
|
||||||
|
hdata_integer +
|
||||||
|
hdata_long +
|
||||||
|
hdata_string +
|
||||||
|
hdata_pointer +
|
||||||
|
hdata_time +
|
||||||
|
hdata_hashtable +
|
||||||
|
hdata_compare +
|
||||||
|
hdata_update +
|
||||||
|
hdata_get_string
|
||||||
|
|
||||||
|
| aggiornamento
|
||||||
|
| upgrade_new +
|
||||||
|
upgrade_write_object +
|
||||||
|
upgrade_read +
|
||||||
|
upgrade_close
|
||||||
|
|===
|
||||||
|
|
||||||
[[script_api_constants]]
|
[[script_api_constants]]
|
||||||
=== Costanti
|
=== Costanti
|
||||||
|
|
||||||
Elenco di costanti nelle API per gli script:
|
Elenco di costanti nelle API per gli script:
|
||||||
|
|
||||||
include::{autogendir}/autogen_scripting_constants.it.adoc[tag=constants]
|
[width="100%",cols="1,5",options="header"]
|
||||||
|
|===
|
||||||
|
| Categoria | Costanti
|
||||||
|
|
||||||
|
// TRANSLATION MISSING
|
||||||
|
| codici restituiti
|
||||||
|
| `WEECHAT_RC_OK` (integer) +
|
||||||
|
`WEECHAT_RC_OK_EAT` (integer) +
|
||||||
|
`WEECHAT_RC_ERROR` (integer)
|
||||||
|
|
||||||
|
// TRANSLATION MISSING
|
||||||
|
| file di configurazione
|
||||||
|
| `WEECHAT_CONFIG_READ_OK` (integer) +
|
||||||
|
`WEECHAT_CONFIG_READ_MEMORY_ERROR` (integer) +
|
||||||
|
`WEECHAT_CONFIG_READ_FILE_NOT_FOUND` (integer) +
|
||||||
|
`WEECHAT_CONFIG_WRITE_OK` (integer) +
|
||||||
|
`WEECHAT_CONFIG_WRITE_ERROR` (integer) +
|
||||||
|
`WEECHAT_CONFIG_WRITE_MEMORY_ERROR` (integer) +
|
||||||
|
`WEECHAT_CONFIG_OPTION_SET_OK_CHANGED` (integer) +
|
||||||
|
`WEECHAT_CONFIG_OPTION_SET_OK_SAME_VALUE` (integer) +
|
||||||
|
`WEECHAT_CONFIG_OPTION_SET_ERROR` (integer) +
|
||||||
|
`WEECHAT_CONFIG_OPTION_SET_OPTION_NOT_FOUND` (integer) +
|
||||||
|
`WEECHAT_CONFIG_OPTION_UNSET_OK_NO_RESET` (integer) +
|
||||||
|
`WEECHAT_CONFIG_OPTION_UNSET_OK_RESET` (integer) +
|
||||||
|
`WEECHAT_CONFIG_OPTION_UNSET_OK_REMOVED` (integer) +
|
||||||
|
`WEECHAT_CONFIG_OPTION_UNSET_ERROR` (integer)
|
||||||
|
|
||||||
|
// TRANSLATION MISSING
|
||||||
|
| liste ordinate
|
||||||
|
| `WEECHAT_LIST_POS_SORT` (string) +
|
||||||
|
`WEECHAT_LIST_POS_BEGINNING` (string) +
|
||||||
|
`WEECHAT_LIST_POS_END` (string)
|
||||||
|
|
||||||
|
// TRANSLATION MISSING
|
||||||
|
| hotlist
|
||||||
|
| `WEECHAT_HOTLIST_LOW` (string) +
|
||||||
|
`WEECHAT_HOTLIST_MESSAGE` (string) +
|
||||||
|
`WEECHAT_HOTLIST_PRIVATE` (string) +
|
||||||
|
`WEECHAT_HOTLIST_HIGHLIGHT` (string)
|
||||||
|
|
||||||
|
// TRANSLATION MISSING
|
||||||
|
| hook su processo
|
||||||
|
| `WEECHAT_HOOK_PROCESS_RUNNING` (integer) +
|
||||||
|
`WEECHAT_HOOK_PROCESS_ERROR` (integer)
|
||||||
|
|
||||||
|
// TRANSLATION MISSING
|
||||||
|
| hook su connessione
|
||||||
|
| `WEECHAT_HOOK_CONNECT_OK` (integer) +
|
||||||
|
`WEECHAT_HOOK_CONNECT_ADDRESS_NOT_FOUND` (integer) +
|
||||||
|
`WEECHAT_HOOK_CONNECT_IP_ADDRESS_NOT_FOUND` (integer) +
|
||||||
|
`WEECHAT_HOOK_CONNECT_CONNECTION_REFUSED` (integer) +
|
||||||
|
`WEECHAT_HOOK_CONNECT_PROXY_ERROR` (integer) +
|
||||||
|
`WEECHAT_HOOK_CONNECT_LOCAL_HOSTNAME_ERROR` (integer) +
|
||||||
|
`WEECHAT_HOOK_CONNECT_GNUTLS_INIT_ERROR` (integer) +
|
||||||
|
`WEECHAT_HOOK_CONNECT_GNUTLS_HANDSHAKE_ERROR` (integer) +
|
||||||
|
`WEECHAT_HOOK_CONNECT_MEMORY_ERROR` (integer) +
|
||||||
|
`WEECHAT_HOOK_CONNECT_TIMEOUT` (integer) +
|
||||||
|
`WEECHAT_HOOK_CONNECT_SOCKET_ERROR` (integer)
|
||||||
|
|
||||||
|
// TRANSLATION MISSING
|
||||||
|
| hook su segnale
|
||||||
|
| `WEECHAT_HOOK_SIGNAL_STRING` (string) +
|
||||||
|
`WEECHAT_HOOK_SIGNAL_INT` (string) +
|
||||||
|
`WEECHAT_HOOK_SIGNAL_POINTER` (string)
|
||||||
|
|===
|
||||||
|
|
||||||
[[common_tasks]]
|
[[common_tasks]]
|
||||||
== Compiti comuni
|
== Compiti comuni
|
||||||
|
|||||||
+161
-434
File diff suppressed because it is too large
Load Diff
@@ -100,7 +100,7 @@ $HOME/.local/share/weechat/weechat.log::
|
|||||||
WeeChat は Sébastien Helleu さんと貢献者によって作成されています
|
WeeChat は Sébastien Helleu さんと貢献者によって作成されています
|
||||||
(完全なリストは AUTHORS.adoc ファイルを参照してください)。
|
(完全なリストは AUTHORS.adoc ファイルを参照してください)。
|
||||||
|
|
||||||
著作権 (C) 2003-2024 {author}
|
著作権 (C) 2003-2023 {author}
|
||||||
|
|
||||||
WeeChat はフリーソフトウェアです。あなたはこれを、フリーソフトウェア財団によって発行された
|
WeeChat はフリーソフトウェアです。あなたはこれを、フリーソフトウェア財団によって発行された
|
||||||
GNU 一般公衆利用許諾契約書 (バージョン 2 か、希望によってはそれ以降のバージョンのうちどれか)
|
GNU 一般公衆利用許諾契約書 (バージョン 2 か、希望によってはそれ以降のバージョンのうちどれか)
|
||||||
|
|||||||
+55
-160
@@ -121,66 +121,63 @@ WeeChat "core" は以下のディレクトリに配置されています:
|
|||||||
|===
|
|===
|
||||||
| パス/ファイル名 | 説明
|
| パス/ファイル名 | 説明
|
||||||
| core/ | コア関数: エントリポイント、内部構造体
|
| core/ | コア関数: エントリポイント、内部構造体
|
||||||
| core-arraylist.c | 配列リスト
|
| wee-arraylist.c | 配列リスト
|
||||||
| core-backtrace.c | クラッシュした際にバックトレースを表示
|
| wee-backtrace.c | クラッシュした際にバックトレースを表示
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
| core-calc.c | Calculate result of expressions.
|
| wee-calc.c | Calculate result of expressions.
|
||||||
| core-command.c | WeeChat コアコマンド
|
| wee-command.c | WeeChat コアコマンド
|
||||||
| core-completion.c | デフォルト補完
|
| wee-completion.c | デフォルト補完
|
||||||
| core-config-file.c | 設定ファイル管理
|
| wee-config-file.c | 設定ファイル管理
|
||||||
| core-config.c | WeeChat コアの設定オプション (weechat.conf ファイル)
|
| wee-config.c | WeeChat コアの設定オプション (weechat.conf ファイル)
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
| core-crypto.c | Cryptographic functions.
|
| wee-crypto.c | Cryptographic functions.
|
||||||
| core-debug.c | デバッグ用関数
|
| wee-debug.c | デバッグ用関数
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
| core-dir.c | Directory/file functions.
|
| wee-dir.c | Directory/file functions.
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
| core-doc.c | Build of files for documentation.
|
| wee-doc.c | Build of files for documentation.
|
||||||
| core-eval.c | 内部変数へのリファレンスを含む式を評価
|
| wee-eval.c | 内部変数へのリファレンスを含む式を評価
|
||||||
| core-hashtable.c | ハッシュテーブル
|
| wee-hashtable.c | ハッシュテーブル
|
||||||
| core-hdata.c | hdata (ハッシュテーブルを用いて直接データを読む)
|
| wee-hdata.c | hdata (ハッシュテーブルを用いて直接データを読む)
|
||||||
| core-hook.c | フック
|
| wee-hook.c | フック
|
||||||
| core-infolist.c | インフォリスト (オブジェクトに関するデータを含むリスト)
|
| wee-infolist.c | インフォリスト (オブジェクトに関するデータを含むリスト)
|
||||||
| core-input.c | コマンドおよびテキストの入力
|
| wee-input.c | コマンドおよびテキストの入力
|
||||||
| core-list.c | ソート済みリスト
|
| wee-list.c | ソート済みリスト
|
||||||
| core-log.c | WeeChat ログファイル (weechat.log) に書き込む
|
| wee-log.c | WeeChat ログファイル (weechat.log) に書き込む
|
||||||
| core-network.c | ネットワーク関数 (サーバやプロキシへの接続)
|
| wee-network.c | ネットワーク関数 (サーバやプロキシへの接続)
|
||||||
| core-proxy.c | プロキシ管理
|
| wee-proxy.c | プロキシ管理
|
||||||
| core-secure.c | データ保護用の関数
|
| wee-secure.c | データ保護用の関数
|
||||||
| core-secure-buffer.c | データ保護用のバッファ
|
| wee-secure-buffer.c | データ保護用のバッファ
|
||||||
| core-secure-config.c | 安全なデータオプション (sec.conf ファイル)
|
| wee-secure-config.c | 安全なデータオプション (sec.conf ファイル)
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
| core-signal.c | Signal functions.
|
| wee-signal.c | Signal functions.
|
||||||
| core-string.c | 文字列関数
|
| wee-string.c | 文字列関数
|
||||||
// TRANSLATION MISSING
|
| wee-upgrade-file.c | 内部アップグレードシステム
|
||||||
| core-sys.c | System functions.
|
| wee-upgrade.c | WeeChat コアのアップグレード (バッファ、行、履歴、...)
|
||||||
| core-upgrade-file.c | 内部アップグレードシステム
|
| wee-url.c | URL 転送 (libcurl を使う)
|
||||||
| core-upgrade.c | WeeChat コアのアップグレード (バッファ、行、履歴、...)
|
| wee-utf8.c | UTF-8 関数
|
||||||
| core-url.c | URL 転送 (libcurl を使う)
|
| wee-util.c | その他の関数
|
||||||
| core-utf8.c | UTF-8 関数
|
| wee-version.c | WeeChat バージョンについての関数
|
||||||
| core-util.c | その他の関数
|
|
||||||
| core-version.c | WeeChat バージョンについての関数
|
|
||||||
| weechat.c | 主要関数: コマンドラインオプション、起動
|
| weechat.c | 主要関数: コマンドラインオプション、起動
|
||||||
| hook/ | フック関数
|
| hook/ | フック関数
|
||||||
| hook-command-run.c | "command_run" フック
|
| wee-hook-command-run.c | "command_run" フック
|
||||||
| hook-command.c | "command" フック
|
| wee-hook-command.c | "command" フック
|
||||||
| hook-completion.c | "completion" フック
|
| wee-hook-completion.c | "completion" フック
|
||||||
| hook-config.c | "config" フック
|
| wee-hook-config.c | "config" フック
|
||||||
| hook-connect.c | "connect" フック
|
| wee-hook-connect.c | "connect" フック
|
||||||
| hook-fd.c | "fd" フック
|
| wee-hook-fd.c | "fd" フック
|
||||||
| hook-focus.c | "focus" フック
|
| wee-hook-focus.c | "focus" フック
|
||||||
| hook-hdata.c | "hdata" フック
|
| wee-hook-hdata.c | "hdata" フック
|
||||||
| hook-hsignal.c | "hsignal" フック
|
| wee-hook-hsignal.c | "hsignal" フック
|
||||||
| hook-info-hashtable.c | "info_hashtable" フック
|
| wee-hook-info-hashtable.c | "info_hashtable" フック
|
||||||
| hook-info.c | "info" フック
|
| wee-hook-info.c | "info" フック
|
||||||
| hook-infolist.c | "infolist" フック
|
| wee-hook-infolist.c | "infolist" フック
|
||||||
| hook-line.c | "line" フック
|
| wee-hook-line.c | "line" フック
|
||||||
| hook-modifier.c | "modifier" フック
|
| wee-hook-modifier.c | "modifier" フック
|
||||||
| hook-print.c | "print" フック
|
| wee-hook-print.c | "print" フック
|
||||||
| hook-process.c | "process" フック
|
| wee-hook-process.c | "process" フック
|
||||||
| hook-signal.c | "signal" フック
|
| wee-hook-signal.c | "signal" フック
|
||||||
| hook-timer.c | "timer" フック
|
| wee-hook-timer.c | "timer" フック
|
||||||
| hook-url.c | "url" フック
|
|
||||||
| gui/ | バッファ、ウィンドウなどの関数 (全てのインターフェースで利用)
|
| gui/ | バッファ、ウィンドウなどの関数 (全てのインターフェースで利用)
|
||||||
| gui-bar-item.c | バー要素
|
| gui-bar-item.c | バー要素
|
||||||
| gui-bar-window.c | バーウィンドウ
|
| gui-bar-window.c | バーウィンドウ
|
||||||
@@ -251,8 +248,6 @@ WeeChat "core" は以下のディレクトリに配置されています:
|
|||||||
| buflist.c | buflist の主要関数
|
| buflist.c | buflist の主要関数
|
||||||
| buflist-bar-item.c | buflist バー要素
|
| buflist-bar-item.c | buflist バー要素
|
||||||
| buflist-command.c | buflist コマンド
|
| buflist-command.c | buflist コマンド
|
||||||
// TRANSLATION MISSING
|
|
||||||
| buflist-completion.c | Buflist completions.
|
|
||||||
| buflist-config.c | buflist 設定オプション (buflist.conf ファイル)
|
| buflist-config.c | buflist 設定オプション (buflist.conf ファイル)
|
||||||
| buflist-info.c | buflist の情報/インフォリスト/hdata
|
| buflist-info.c | buflist の情報/インフォリスト/hdata
|
||||||
| buflist-mouse.c | buflist マウス動作
|
| buflist-mouse.c | buflist マウス動作
|
||||||
@@ -300,8 +295,6 @@ WeeChat "core" は以下のディレクトリに配置されています:
|
|||||||
| irc-input.c | コマンドおよびテキストの入力
|
| irc-input.c | コマンドおよびテキストの入力
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
| irc-join.c | Functions for list of channels to join.
|
| irc-join.c | Functions for list of channels to join.
|
||||||
// TRANSLATION MISSING
|
|
||||||
| irc-list.c | Buffer for reply to /list command.
|
|
||||||
| irc-message.c | IRC メッセージを操作する関数
|
| irc-message.c | IRC メッセージを操作する関数
|
||||||
| irc-mode.c | チャンネルおよびニックネームのモードを操作する関数
|
| irc-mode.c | チャンネルおよびニックネームのモードを操作する関数
|
||||||
| irc-modelist.c | IRC チャンネルモードリスト (+b、+e、+I、...).
|
| irc-modelist.c | IRC チャンネルモードリスト (+b、+e、+I、...).
|
||||||
@@ -352,35 +345,15 @@ WeeChat "core" は以下のディレクトリに配置されています:
|
|||||||
| relay-command.c | relay コマンド
|
| relay-command.c | relay コマンド
|
||||||
| relay-completion.c | relay 補完
|
| relay-completion.c | relay 補完
|
||||||
| relay-config.c | relay 設定オプション (relay.conf ファイル)
|
| relay-config.c | relay 設定オプション (relay.conf ファイル)
|
||||||
// TRANSLATION MISSING
|
|
||||||
| relay-http.c | HTTP functions.
|
|
||||||
| relay-info.c | relay の情報/インフォリスト/hdata
|
| relay-info.c | relay の情報/インフォリスト/hdata
|
||||||
| relay-network.c | relay 用のネットワーク関数
|
| relay-network.c | relay 用のネットワーク関数
|
||||||
| relay-raw.c | relay 生バッファ
|
| relay-raw.c | relay 生バッファ
|
||||||
// TRANSLATION MISSING
|
|
||||||
| relay-remote.c | Relay remote.
|
|
||||||
| relay-server.c | relay サーバ
|
| relay-server.c | relay サーバ
|
||||||
| relay-upgrade.c | WeeChat をアップグレードする際にデータを保存/回復
|
| relay-upgrade.c | WeeChat をアップグレードする際にデータを保存/回復
|
||||||
| relay-websocket.c | リレー用の websocket サーバ関数 (RFC 6455)
|
| relay-websocket.c | リレー用の websocket サーバ関数 (RFC 6455)
|
||||||
// TRANSLATION MISSING
|
|
||||||
| api/ | Relay for remote interfaces (using HTTP REST API).
|
|
||||||
// TRANSLATION MISSING
|
|
||||||
| relay-api.c | Main API functions for HTTP REST API.
|
|
||||||
// TRANSLATION MISSING
|
|
||||||
| relay-api-msg.c | Send JSON messages to clients.
|
|
||||||
// TRANSLATION MISSING
|
|
||||||
| relay-api-protocol.c | HTTP REST API protocol.
|
|
||||||
// TRANSLATION MISSING
|
|
||||||
// TRANSLATION MISSING
|
|
||||||
| remote/ | Relay remote functions, specific to API.
|
|
||||||
// TRANSLATION MISSING
|
|
||||||
| relay-remote-event.c | Process events received from relay remote.
|
|
||||||
// TRANSLATION MISSING
|
|
||||||
| relay-remote-network.c | Network functions for relay remote.
|
|
||||||
| irc/ | IRC プロキシ
|
| irc/ | IRC プロキシ
|
||||||
| relay-irc.c | IRC プロキシの主要関数
|
| relay-irc.c | IRC プロキシの主要関数
|
||||||
// TRANSLATION MISSING
|
| weechat/ | リモートインターフェースへの中継
|
||||||
| weechat/ | Relay for remote interfaces (using "weechat" binary protocol).
|
|
||||||
| relay-weechat.c | リモートインターフェースへの中継 (主要関数)
|
| relay-weechat.c | リモートインターフェースへの中継 (主要関数)
|
||||||
| relay-weechat-msg.c | クライアントにバイナリメッセージを送信
|
| relay-weechat-msg.c | クライアントにバイナリメッセージを送信
|
||||||
| relay-weechat-nicklist.c | ニックネームリスト関数
|
| relay-weechat-nicklist.c | ニックネームリスト関数
|
||||||
@@ -450,10 +423,6 @@ WeeChat "core" は以下のディレクトリに配置されています:
|
|||||||
| unparse.py | Python コードを別の言語に変換 (スクリプト testapigen.py から使われます)
|
| unparse.py | Python コードを別の言語に変換 (スクリプト testapigen.py から使われます)
|
||||||
| unit/ | 単体テスト用のルートディレクトリ
|
| unit/ | 単体テスト用のルートディレクトリ
|
||||||
| test-plugins.cpp | テスト: プラグイン
|
| test-plugins.cpp | テスト: プラグイン
|
||||||
// TRANSLATION MISSING
|
|
||||||
| test-plugin-api-info.cpp | Tests: plugin API info functions.
|
|
||||||
// TRANSLATION MISSING
|
|
||||||
| test-plugin-config.cpp | Tests: plugin config functions.
|
|
||||||
| core/ | core 向け単体テスト用のルートディレクトリ
|
| core/ | core 向け単体テスト用のルートディレクトリ
|
||||||
| test-core-arraylist.cpp | テスト: 配列リスト
|
| test-core-arraylist.cpp | テスト: 配列リスト
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
@@ -481,49 +450,6 @@ WeeChat "core" は以下のディレクトリに配置されています:
|
|||||||
| test-core-url.cpp | テスト: URL
|
| test-core-url.cpp | テスト: URL
|
||||||
| test-core-utf8.cpp | テスト: UTF-8
|
| test-core-utf8.cpp | テスト: UTF-8
|
||||||
| test-core-util.cpp | テスト: ユーティリティ関数
|
| test-core-util.cpp | テスト: ユーティリティ関数
|
||||||
// TRANSLATION MISSING
|
|
||||||
| test-core-sys.cpp | Tests: system functions.
|
|
||||||
// TRANSLATION MISSING
|
|
||||||
| hook/ | Root of unit tests for hooks.
|
|
||||||
// TRANSLATION MISSING
|
|
||||||
| test-hook-command.cpp | Tests: hooks "command".
|
|
||||||
// TRANSLATION MISSING
|
|
||||||
| test-hook-command-run.cpp | Tests: hooks "command_run".
|
|
||||||
// TRANSLATION MISSING
|
|
||||||
| test-hook-completion.cpp | Tests: hooks "completion".
|
|
||||||
// TRANSLATION MISSING
|
|
||||||
| test-hook-config.cpp | Tests: hooks "config".
|
|
||||||
// TRANSLATION MISSING
|
|
||||||
| test-hook-connect.cpp | Tests: hooks "connect".
|
|
||||||
// TRANSLATION MISSING
|
|
||||||
| test-hook-fd.cpp | Tests: hooks "fd".
|
|
||||||
// TRANSLATION MISSING
|
|
||||||
| test-hook-focus.cpp | Tests: hooks "focus".
|
|
||||||
// TRANSLATION MISSING
|
|
||||||
| test-hook-hdata.cpp | Tests: hooks "hdata".
|
|
||||||
// TRANSLATION MISSING
|
|
||||||
| test-hook-hsignal.cpp | Tests: hooks "hsignal".
|
|
||||||
// TRANSLATION MISSING
|
|
||||||
| test-hook-info-hashtable.cpp | Tests: hooks "info_hashtable".
|
|
||||||
// TRANSLATION MISSING
|
|
||||||
| test-hook-info.cpp | Tests: hooks "info".
|
|
||||||
// TRANSLATION MISSING
|
|
||||||
| test-hook-infolist.cpp | Tests: hooks "infolist".
|
|
||||||
// TRANSLATION MISSING
|
|
||||||
| test-hook-line.cpp | Tests: hooks "line".
|
|
||||||
// TRANSLATION MISSING
|
|
||||||
| test-hook-modifier.cpp | Tests: hooks "modifier".
|
|
||||||
// TRANSLATION MISSING
|
|
||||||
| test-hook-print.cpp | Tests: hooks "print".
|
|
||||||
// TRANSLATION MISSING
|
|
||||||
| test-hook-process.cpp | Tests: hooks "process".
|
|
||||||
// TRANSLATION MISSING
|
|
||||||
| test-hook-signal.cpp | Tests: hooks "signal".
|
|
||||||
// TRANSLATION MISSING
|
|
||||||
| test-hook-timer.cpp | Tests: hooks "timer".
|
|
||||||
// TRANSLATION MISSING
|
|
||||||
| test-hook-url.cpp | Tests: hooks "url".
|
|
||||||
|
|
||||||
| gui/ | インターフェースの単体テストを収める最上位ディレクトリ
|
| gui/ | インターフェースの単体テストを収める最上位ディレクトリ
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
| test-gui-bar-window.cpp | Tests: bar window functions.
|
| test-gui-bar-window.cpp | Tests: bar window functions.
|
||||||
@@ -536,20 +462,12 @@ WeeChat "core" は以下のディレクトリに配置されています:
|
|||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
| test-gui-filter.cpp | Tests: filters.
|
| test-gui-filter.cpp | Tests: filters.
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
| test-gui-hotlist.cpp | Tests: hotlist functions.
|
|
||||||
// TRANSLATION MISSING
|
|
||||||
| test-gui-input.cpp | Tests: input functions.
|
| test-gui-input.cpp | Tests: input functions.
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
| test-gui-key.cpp | Tests: keys.
|
| test-gui-key.cpp | Tests: keys.
|
||||||
| test-gui-line.cpp | テスト: 行
|
| test-gui-line.cpp | テスト: 行
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
| test-gui-nick.cpp | テスト: nicks
|
| test-gui-nick.cpp | テスト: nicks
|
||||||
// TRANSLATION MISSING
|
|
||||||
| test-gui-nicklist.cpp | Tests: nicklist functions.
|
|
||||||
// TRANSLATION MISSING
|
|
||||||
| curses/ | Root of unit tests for Curses interface.
|
|
||||||
// TRANSLATION MISSING
|
|
||||||
| test-gui-curses-mouse.cpp | Tests: mouse (Curses interface).
|
|
||||||
| plugins/ | プラグインの単体テストを収める最上位ディレクトリ
|
| plugins/ | プラグインの単体テストを収める最上位ディレクトリ
|
||||||
| irc/ | IRC プラグインの単体テストを収める最上位ディレクトリ
|
| irc/ | IRC プラグインの単体テストを収める最上位ディレクトリ
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
@@ -559,20 +477,12 @@ WeeChat "core" は以下のディレクトリに配置されています:
|
|||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
| test-irc-channel.cpp | Tests: IRC channels.
|
| test-irc-channel.cpp | Tests: IRC channels.
|
||||||
| test-irc-color.cpp | Tests: IRC colors.
|
| test-irc-color.cpp | Tests: IRC colors.
|
||||||
// TRANSLATION MISSING
|
|
||||||
| test-irc-command.cpp | Tests: IRC commands.
|
|
||||||
| test-irc-config.cpp | テスト: IRC 設定
|
| test-irc-config.cpp | テスト: IRC 設定
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
| test-irc-ctcp.cpp | Tests: IRC CTCP.
|
|
||||||
// TRANSLATION MISSING
|
|
||||||
| test-irc-ignore.cpp | Tests: IRC ignores.
|
| test-irc-ignore.cpp | Tests: IRC ignores.
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
| test-irc-info.cpp | Tests: IRC info.
|
|
||||||
// TRANSLATION MISSING
|
|
||||||
| test-irc-join.cpp | Tests: IRC join functions.
|
| test-irc-join.cpp | Tests: IRC join functions.
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
| test-irc-list.cpp | Tests: IRC buffer for reply to /list command.
|
|
||||||
// TRANSLATION MISSING
|
|
||||||
| test-irc-message.cpp | Tests: IRC messages.
|
| test-irc-message.cpp | Tests: IRC messages.
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
| test-irc-mode.cpp | Tests: IRC modes.
|
| test-irc-mode.cpp | Tests: IRC modes.
|
||||||
@@ -610,20 +520,6 @@ WeeChat "core" は以下のディレクトリに配置されています:
|
|||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
| test-relay-auth.cpp | Tests: clients authentication.
|
| test-relay-auth.cpp | Tests: clients authentication.
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
| test-relay-http.cpp | Tests: HTTP functions for Relay plugin.
|
|
||||||
// TRANSLATION MISSING
|
|
||||||
| test-relay-remote.cpp | Tests: remote functions for Relay plugin.
|
|
||||||
// TRANSLATION MISSING
|
|
||||||
| test-relay-websocket.cpp | Tests: websocket functions for Relay plugin.
|
|
||||||
// TRANSLATION MISSING
|
|
||||||
| api/ | Root of unit tests for Relay "api" protocol.
|
|
||||||
// TRANSLATION MISSING
|
|
||||||
| test-relay-api.cpp | Tests: Relay "api" protocol: general functions.
|
|
||||||
// TRANSLATION MISSING
|
|
||||||
| test-relay-api-msg.cpp | Tests: Relay "api" protocol: messages.
|
|
||||||
// TRANSLATION MISSING
|
|
||||||
| test-relay-api-protocol.cpp | Tests: Relay "api" protocol: protocol.
|
|
||||||
// TRANSLATION MISSING
|
|
||||||
| irc/ | Root of unit tests for Relay "irc" protocol.
|
| irc/ | Root of unit tests for Relay "irc" protocol.
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
| test-relay-irc.cpp | Tests: Relay "irc" protocol.
|
| test-relay-irc.cpp | Tests: Relay "irc" protocol.
|
||||||
@@ -692,7 +588,7 @@ WeeChat とプラグインの翻訳は gettext で行います、ファイルは
|
|||||||
/*
|
/*
|
||||||
* weechat.c - core functions for WeeChat
|
* weechat.c - core functions for WeeChat
|
||||||
*
|
*
|
||||||
* Copyright (C) 2024 Your Name <your@email.com>
|
* Copyright (C) 2023 Your Name <your@email.com>
|
||||||
*
|
*
|
||||||
* This file is part of WeeChat, the extensible chat client.
|
* This file is part of WeeChat, the extensible chat client.
|
||||||
*
|
*
|
||||||
@@ -716,8 +612,7 @@ WeeChat とプラグインの翻訳は gettext で行います、ファイルは
|
|||||||
|
|
||||||
C 言語のコードを書く際には以下の基本的なルールを *必ず* 守ってください。:
|
C 言語のコードを書く際には以下の基本的なルールを *必ず* 守ってください。:
|
||||||
|
|
||||||
// TRANSLATION MISSING
|
* インデントは空白文字を 4 個使ってください。タブ文字を使わないでください、タブ文字は良くありません。
|
||||||
* Use 4 spaces for indentation (no tabs).
|
|
||||||
* 読みやすくする必要がある場合を除いて、1
|
* 読みやすくする必要がある場合を除いて、1
|
||||||
行は 80 文字以内に収めてください。
|
行は 80 文字以内に収めてください。
|
||||||
* コメントは `+/* comment */+` のようにしてください (`+// comment+` のような C99 スタイルのコメントは使わないでください)。
|
* コメントは `+/* comment */+` のようにしてください (`+// comment+` のような C99 スタイルのコメントは使わないでください)。
|
||||||
@@ -930,7 +825,7 @@ irc プラグインの _irc.c_ など。
|
|||||||
[width="100%",cols="2m,3",options="header"]
|
[width="100%",cols="2m,3",options="header"]
|
||||||
|===
|
|===
|
||||||
| ディレクトリ | ファイル
|
| ディレクトリ | ファイル
|
||||||
| src/core/ | weechat.c、core-backtrace.c、core-command.c、...
|
| src/core/ | weechat.c、wee-backtrace.c、wee-command.c、...
|
||||||
| src/gui/ | gui-bar.c、gui-bar-item.c、gui-bar-window.c、...
|
| src/gui/ | gui-bar.c、gui-bar-item.c、gui-bar-window.c、...
|
||||||
| src/gui/curses/ | gui-curses-bar.c、gui-curses-bar-window.c、gui-curses-chat.c、...
|
| src/gui/curses/ | gui-curses-bar.c、gui-curses-bar-window.c、gui-curses-chat.c、...
|
||||||
| src/plugins/ | plugin.c、plugin-api.c、plugin-api-info.c、plugin-config.c、plugin-script.c、...
|
| src/plugins/ | plugin.c、plugin-api.c、plugin-api-info.c、plugin-config.c、plugin-script.c、...
|
||||||
@@ -939,7 +834,7 @@ irc プラグインの _irc.c_ など。
|
|||||||
|===
|
|===
|
||||||
|
|
||||||
C 言語ファイルのヘッダはファイルと同じ名前です、例えばファイル
|
C 言語ファイルのヘッダはファイルと同じ名前です、例えばファイル
|
||||||
_core-command.c_ のヘッダファイルは _core-command.h_ です
|
_wee-command.c_ のヘッダファイルは _wee-command.h_ です
|
||||||
|
|
||||||
[[naming_convention_structures]]
|
[[naming_convention_structures]]
|
||||||
==== 構造体
|
==== 構造体
|
||||||
|
|||||||
+23
-84
@@ -598,33 +598,6 @@ macOS のターミナル.app を使っている場合、設定メニューのキ
|
|||||||
キーを使用」を有効化してください。こうすることで、kbd:[Option]
|
キーを使用」を有効化してください。こうすることで、kbd:[Option]
|
||||||
キーをメタキーとして使うことが可能です。
|
キーをメタキーとして使うことが可能です。
|
||||||
|
|
||||||
// TRANSLATION MISSING
|
|
||||||
[[enter_key]]
|
|
||||||
=== Some keys including Enter are not working, why?
|
|
||||||
|
|
||||||
If you run a WeeChat < 4.0.0 with configuration files created by any
|
|
||||||
version ≥ 4.0.0, the keys names become invalid and many keys won't work at all. +
|
|
||||||
To repair them, exit WeeChat, remove all sections `[key*]` from weechat.conf
|
|
||||||
and start WeeChat again: all default keys will be created.
|
|
||||||
|
|
||||||
// TRANSLATION MISSING
|
|
||||||
[[key_f11]]
|
|
||||||
=== Key F11 maximizes the terminal window, how can I scroll up the nicklist?
|
|
||||||
|
|
||||||
The key kbd:[F11] is commonly used by terminals to maximize the window, and
|
|
||||||
kbd:[F11]/kbd:[F12] are the default keys in WeeChat to scroll the nicklist.
|
|
||||||
|
|
||||||
You can bind other keys, for example kbd:[Shift+F11] and kbd:[Shift+F12],
|
|
||||||
with WeeChat ≥ 4.0.0:
|
|
||||||
|
|
||||||
----
|
|
||||||
/key bind shift-f11 /bar scroll nicklist * -100%
|
|
||||||
/key bind shift-f12 /bar scroll nicklist * +100%
|
|
||||||
----
|
|
||||||
|
|
||||||
Other solution is to enable mouse (key: kbd:[Alt+m]) and scroll with the mouse
|
|
||||||
wheel (see also questions about <<mouse,mouse>>).
|
|
||||||
|
|
||||||
[[customize_key_bindings]]
|
[[customize_key_bindings]]
|
||||||
=== どうすればキー割り当てをカスタマイズできますか。
|
=== どうすればキー割り当てをカスタマイズできますか。
|
||||||
|
|
||||||
@@ -653,13 +626,6 @@ wheel (see also questions about <<mouse,mouse>>).
|
|||||||
/trigger add numberjump modifier "2000|input_text_for_buffer" "${tg_string} =~ ^/[0-9]+$" "=\/([0-9]+)=/buffer *${re:1}=" "" "" "none"
|
/trigger add numberjump modifier "2000|input_text_for_buffer" "${tg_string} =~ ^/[0-9]+$" "=\/([0-9]+)=/buffer *${re:1}=" "" "" "none"
|
||||||
----
|
----
|
||||||
|
|
||||||
// TRANSLATION MISSING
|
|
||||||
For an easy jump to buffers, you can also install the _go.py_ script:
|
|
||||||
|
|
||||||
----
|
|
||||||
/script install go.py
|
|
||||||
----
|
|
||||||
|
|
||||||
[[global_history]]
|
[[global_history]]
|
||||||
=== どうすればグローバルヒストリを (バッファヒストリの代わりに) 上下矢印キーで使えますか。
|
=== どうすればグローバルヒストリを (バッファヒストリの代わりに) 上下矢印キーで使えますか。
|
||||||
|
|
||||||
@@ -980,22 +946,34 @@ link:weechat_user.ja.html#max_hotlist_level_nicks[hotlist_max_level_nicks_add ^
|
|||||||
buffer property to set the max hotlist level for some nicks, per buffer,
|
buffer property to set the max hotlist level for some nicks, per buffer,
|
||||||
or per group of buffers (like IRC servers).
|
or per group of buffers (like IRC servers).
|
||||||
|
|
||||||
ハイライトを無効化するだけなら、このプロパティを 2 に設定してください.
|
ハイライトを無効化するだけなら、このプロパティを 2 に設定してください:
|
||||||
|
|
||||||
// TRANSLATION MISSING
|
|
||||||
For the current buffer:
|
|
||||||
|
|
||||||
----
|
----
|
||||||
/buffer setauto hotlist_max_level_nicks_add joe:2,mike:2
|
/buffer set hotlist_max_level_nicks_add joe:2,mike:2
|
||||||
----
|
----
|
||||||
|
|
||||||
// TRANSLATION MISSING
|
このバッファプロパティは設定に保存されません。このバッファプロパティを自動的に適用するには、_buffer_autoset.py_
|
||||||
For all channels on server "libera":
|
スクリプトが必要です:
|
||||||
|
|
||||||
----
|
----
|
||||||
/set weechat.buffer.irc.libera.*.hotlist_max_level_nicks_add joe:2,mike:2
|
/script install buffer_autoset.py
|
||||||
----
|
----
|
||||||
|
|
||||||
|
例えば、IRC サーバ libera のチャンネル #weechat に参加している "mike"
|
||||||
|
の発言に対してハイライトを永久的に無効化するには以下のように設定します:
|
||||||
|
|
||||||
|
----
|
||||||
|
/buffer_autoset add irc.libera.#weechat hotlist_max_level_nicks_add mike:2
|
||||||
|
----
|
||||||
|
|
||||||
|
この設定をすべての libera サーバのバッファに対して適用するには以下のように設定します:
|
||||||
|
|
||||||
|
----
|
||||||
|
/buffer_autoset add irc.libera hotlist_max_level_nicks_add mike:2
|
||||||
|
----
|
||||||
|
|
||||||
|
これ以外の例は `+/help buffer_autoset+` を参照してください。
|
||||||
|
|
||||||
[[irc_target_buffer]]
|
[[irc_target_buffer]]
|
||||||
=== どうすればマージされたバッファ内であるコマンドを発行するターゲットバッファを変更できますか。
|
=== どうすればマージされたバッファ内であるコマンドを発行するターゲットバッファを変更できますか。
|
||||||
|
|
||||||
@@ -1126,10 +1104,7 @@ spell プラグインをリロードしてください:
|
|||||||
|
|
||||||
以下に挙げる <<memory_usage,memory>> に関するヒントに従ってください:
|
以下に挙げる <<memory_usage,memory>> に関するヒントに従ってください:
|
||||||
|
|
||||||
// TRANSLATION MISSING
|
* "nicklist" バーを非表示にする: `/bar hide nicklist`
|
||||||
* "nicklist" バーを非表示にする: `/bar hide nicklist` (key: kbd:[Alt+Shift+N]).
|
|
||||||
// TRANSLATION MISSING
|
|
||||||
* Disable "buflist": `/buflist disable` (key: kbd:[Alt+Shift+B]).
|
|
||||||
* ステータスバー時間に秒の表示を止める:
|
* ステータスバー時間に秒の表示を止める:
|
||||||
`+/set weechat.look.item_time_format "%H:%M"+` (これはデフォルト値です)
|
`+/set weechat.look.item_time_format "%H:%M"+` (これはデフォルト値です)
|
||||||
* コマンドライン内の単語スペルミスのリアルタイムチェックを無効にする (有効にしていた場合):
|
* コマンドライン内の単語スペルミスのリアルタイムチェックを無効にする (有効にしていた場合):
|
||||||
@@ -1151,21 +1126,14 @@ IRC の退出および終了メッセージを無効化します:
|
|||||||
|
|
||||||
----
|
----
|
||||||
/set irc.ctcp.clientinfo ""
|
/set irc.ctcp.clientinfo ""
|
||||||
|
/set irc.ctcp.finger ""
|
||||||
/set irc.ctcp.source ""
|
/set irc.ctcp.source ""
|
||||||
/set irc.ctcp.time ""
|
/set irc.ctcp.time ""
|
||||||
|
/set irc.ctcp.userinfo ""
|
||||||
/set irc.ctcp.version ""
|
/set irc.ctcp.version ""
|
||||||
/set irc.ctcp.ping ""
|
/set irc.ctcp.ping ""
|
||||||
----
|
----
|
||||||
|
|
||||||
// TRANSLATION MISSING
|
|
||||||
With WeeChat < 4.1.0, other CTCP queries were replied by default and must be
|
|
||||||
disabled as well:
|
|
||||||
|
|
||||||
----
|
|
||||||
/set irc.ctcp.finger ""
|
|
||||||
/set irc.ctcp.userinfo ""
|
|
||||||
----
|
|
||||||
|
|
||||||
"xfer" プラグイン (これは IRC DCC 機能を使うためのものです) をアンロードして自動ロードを無効化します:
|
"xfer" プラグイン (これは IRC DCC 機能を使うためのものです) をアンロードして自動ロードを無効化します:
|
||||||
|
|
||||||
----
|
----
|
||||||
@@ -1201,35 +1169,6 @@ stored in _sec.conf_ with the `/secure` command).
|
|||||||
|
|
||||||
設定ファイルに関する詳しい情報はlink:weechat_user.ja.html#files_and_directories[ユーザーズガイド / ファイルとディレクトリ ^↗^^]を参照してください。
|
設定ファイルに関する詳しい情報はlink:weechat_user.ja.html#files_and_directories[ユーザーズガイド / ファイルとディレクトリ ^↗^^]を参照してください。
|
||||||
|
|
||||||
// TRANSLATION MISSING
|
|
||||||
[[move_to_another_device]]
|
|
||||||
=== I want to move my WeeChat to another device and keep my config, what should I copy?
|
|
||||||
|
|
||||||
First check directories used by WeeChat with this command: `/debug dirs`. +
|
|
||||||
Directories home/config and home/data must be copied (all files and sub-directories).
|
|
||||||
|
|
||||||
For example if you're using XDG directories (default with WeeChat ≥ 3.2),
|
|
||||||
the directories should be `$HOME/.config/weechat` and `$HOME/.local/share/weechat`. +
|
|
||||||
If you're using a single directory (default with WeeChat < 3.2), the directory
|
|
||||||
should be `$HOME/.weechat`.
|
|
||||||
|
|
||||||
[IMPORTANT]
|
|
||||||
The WeeChat version on the new device must be greater than or equal to the version
|
|
||||||
on the initial device. +
|
|
||||||
Downgrading WeeChat configuration is *NOT SUPPORTED* and can break it,
|
|
||||||
leading to unusable WeeChat.
|
|
||||||
|
|
||||||
Steps:
|
|
||||||
|
|
||||||
. Quit Weechat: `/quit` (or `/upgrade -quit` if you want to resume the session,
|
|
||||||
which includes content of all buffers).
|
|
||||||
. Copy all directories, sub-directories and files to the new device, keeping
|
|
||||||
same names and permissions.
|
|
||||||
. Optional: copy any file outside these directories that you refer to in your
|
|
||||||
configuration (it's not recommended to use files outside WeeChat directories).
|
|
||||||
. Start WeeChat on the new device: `weechat` (or `weechat --upgrade` if you
|
|
||||||
saved the session).
|
|
||||||
|
|
||||||
[[development]]
|
[[development]]
|
||||||
== 開発
|
== 開発
|
||||||
|
|
||||||
|
|||||||
+180
-1204
File diff suppressed because it is too large
Load Diff
@@ -507,9 +507,7 @@ hda:
|
|||||||
'buffer': 'ptr',
|
'buffer': 'ptr',
|
||||||
'y': 'int',
|
'y': 'int',
|
||||||
'date': 'tim',
|
'date': 'tim',
|
||||||
'date_usec': 'int',
|
|
||||||
'date_printed': 'tim',
|
'date_printed': 'tim',
|
||||||
'date_usec_printed', 'int',
|
|
||||||
'str_time': 'str',
|
'str_time': 'str',
|
||||||
'tags_count': 'int',
|
'tags_count': 'int',
|
||||||
'tags_array': 'arr',
|
'tags_array': 'arr',
|
||||||
@@ -527,9 +525,7 @@ hda:
|
|||||||
buffer: '0x558d61ea3e60'
|
buffer: '0x558d61ea3e60'
|
||||||
y: -1
|
y: -1
|
||||||
date: 1588404926
|
date: 1588404926
|
||||||
date_usec: 118712
|
|
||||||
date_printed: 1588404926
|
date_printed: 1588404926
|
||||||
date_usec_printed: 118712
|
|
||||||
str_time: 'F@0025209F@0024535F@0024026'
|
str_time: 'F@0025209F@0024535F@0024026'
|
||||||
tags_count: 0
|
tags_count: 0
|
||||||
tags_array: []
|
tags_array: []
|
||||||
@@ -545,9 +541,7 @@ hda:
|
|||||||
buffer: '0x558d61ea3e60'
|
buffer: '0x558d61ea3e60'
|
||||||
y: -1
|
y: -1
|
||||||
date: 1588404930
|
date: 1588404930
|
||||||
date_usec: 25
|
|
||||||
date_printed: 1588404930
|
date_printed: 1588404930
|
||||||
date_usec_printed: 25
|
|
||||||
str_time: 'F@0025209F@0024535F@0024030'
|
str_time: 'F@0025209F@0024535F@0024030'
|
||||||
tags_count: 0
|
tags_count: 0
|
||||||
tags_array: []
|
tags_array: []
|
||||||
@@ -728,7 +722,6 @@ inl:
|
|||||||
nicklist_visible_count: 0
|
nicklist_visible_count: 0
|
||||||
title: 'WeeChat 2.9-dev (C) 2003-2020 - https://weechat.org/'
|
title: 'WeeChat 2.9-dev (C) 2003-2020 - https://weechat.org/'
|
||||||
input: 1
|
input: 1
|
||||||
input_get_any_user_data: 0
|
|
||||||
input_get_unknown_commands: 0
|
input_get_unknown_commands: 0
|
||||||
input_get_empty: 0
|
input_get_empty: 0
|
||||||
input_multiline: 0
|
input_multiline: 0
|
||||||
@@ -740,14 +733,11 @@ inl:
|
|||||||
input_buffer_1st_display: 0
|
input_buffer_1st_display: 0
|
||||||
num_history: 0
|
num_history: 0
|
||||||
text_search: 0
|
text_search: 0
|
||||||
text_search_direction: 0
|
|
||||||
text_search_exact: 0
|
text_search_exact: 0
|
||||||
text_search_regex: 0
|
text_search_regex: 0
|
||||||
text_search_regex_compiled: '0x0'
|
text_search_regex_compiled: '0x0'
|
||||||
text_search_where: 0
|
text_search_where: 0
|
||||||
text_search_history: 0
|
|
||||||
text_search_found: 0
|
text_search_found: 0
|
||||||
text_search_ptr_history: '0x0'
|
|
||||||
text_search_input: None
|
text_search_input: None
|
||||||
highlight_words: None
|
highlight_words: None
|
||||||
highlight_disable_regex: None
|
highlight_disable_regex: None
|
||||||
@@ -2095,11 +2085,7 @@ hdata として送られるデータ:
|
|||||||
| 名前 | 型 | 説明
|
| 名前 | 型 | 説明
|
||||||
| buffer | pointer | バッファへのポインタ
|
| buffer | pointer | バッファへのポインタ
|
||||||
| date | time | メッセージの日付
|
| date | time | メッセージの日付
|
||||||
// TRANSLATION MISSING
|
|
||||||
| date_usec | integer | Microseconds of date.
|
|
||||||
| date_printed | time | WeeChat メッセージを表示した日付
|
| date_printed | time | WeeChat メッセージを表示した日付
|
||||||
// TRANSLATION MISSING
|
|
||||||
| date_usec_printed | integer | Microseconds of date when WeeChat displayed message.
|
|
||||||
| displayed | char | メッセージが表示される場合は 1、メッセージがフィルタされる (隠される) 場合は 0
|
| displayed | char | メッセージが表示される場合は 1、メッセージがフィルタされる (隠される) 場合は 0
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
| notify_level | char | Notify level: -1 = notify disabled, 0 = low, 1 = message, 2 = private, 3 = highlight.
|
| notify_level | char | Notify level: -1 = notify disabled, 0 = low, 1 = message, 2 = private, 3 = highlight.
|
||||||
@@ -2118,9 +2104,7 @@ hda:
|
|||||||
keys: {
|
keys: {
|
||||||
'buffer': 'ptr',
|
'buffer': 'ptr',
|
||||||
'date': 'tim',
|
'date': 'tim',
|
||||||
'date_used': 'int',
|
|
||||||
'date_printed': 'tim',
|
'date_printed': 'tim',
|
||||||
'date_usec_printed': 'int',
|
|
||||||
'displayed': 'chr',
|
'displayed': 'chr',
|
||||||
'notify_level': 'chr',
|
'notify_level': 'chr',
|
||||||
'highlight': 'chr',
|
'highlight': 'chr',
|
||||||
@@ -2133,9 +2117,7 @@ hda:
|
|||||||
__path: ['0x4a49600']
|
__path: ['0x4a49600']
|
||||||
buffer: '0x4a715d0'
|
buffer: '0x4a715d0'
|
||||||
date: 1362728993
|
date: 1362728993
|
||||||
date_usec: 902765
|
|
||||||
date_printed: 1362728993
|
date_printed: 1362728993
|
||||||
date_usec_printed: 902765
|
|
||||||
displayed: 1
|
displayed: 1
|
||||||
notify_level: 1
|
notify_level: 1
|
||||||
highlight: 0
|
highlight: 0
|
||||||
|
|||||||
@@ -571,14 +571,323 @@ link:weechat_plugin_api.ja.html[WeeChat プラグイン API リファレンス
|
|||||||
|
|
||||||
スクリプト API に含まれる関数のリスト:
|
スクリプト API に含まれる関数のリスト:
|
||||||
|
|
||||||
include::{autogendir}/autogen_scripting_functions.ja.adoc[tag=functions]
|
[width="100%",cols="1,5",options="header"]
|
||||||
|
|===
|
||||||
|
| カテゴリ | 関数
|
||||||
|
|
||||||
|
| 一般
|
||||||
|
| register
|
||||||
|
|
||||||
|
| プラグイン
|
||||||
|
| plugin_get_name
|
||||||
|
|
||||||
|
| 設定
|
||||||
|
| charset_set +
|
||||||
|
iconv_to_internal +
|
||||||
|
iconv_from_internal +
|
||||||
|
gettext +
|
||||||
|
ngettext +
|
||||||
|
strlen_screen +
|
||||||
|
string_match +
|
||||||
|
string_match_list +
|
||||||
|
string_has_highlight +
|
||||||
|
string_has_highlight_regex +
|
||||||
|
string_mask_to_regex +
|
||||||
|
string_format_size +
|
||||||
|
string_parse_size +
|
||||||
|
string_color_code_size +
|
||||||
|
string_remove_color +
|
||||||
|
string_is_command_char +
|
||||||
|
string_input_for_buffer +
|
||||||
|
string_eval_expression +
|
||||||
|
string_eval_path_home
|
||||||
|
|
||||||
|
| ディレクトリ操作
|
||||||
|
| mkdir_home +
|
||||||
|
mkdir +
|
||||||
|
mkdir_parents
|
||||||
|
|
||||||
|
| ソート済みリスト
|
||||||
|
| list_new +
|
||||||
|
list_add +
|
||||||
|
list_search +
|
||||||
|
list_search_pos +
|
||||||
|
list_casesearch +
|
||||||
|
list_casesearch_pos +
|
||||||
|
list_get +
|
||||||
|
list_set +
|
||||||
|
list_next +
|
||||||
|
list_prev +
|
||||||
|
list_string +
|
||||||
|
list_size +
|
||||||
|
list_remove +
|
||||||
|
list_remove_all +
|
||||||
|
list_free
|
||||||
|
|
||||||
|
| 設定ファイル
|
||||||
|
| config_new +
|
||||||
|
config_new_section +
|
||||||
|
config_search_section +
|
||||||
|
config_new_option +
|
||||||
|
config_search_option +
|
||||||
|
config_string_to_boolean +
|
||||||
|
config_option_reset +
|
||||||
|
config_option_set +
|
||||||
|
config_option_set_null +
|
||||||
|
config_option_unset +
|
||||||
|
config_option_rename +
|
||||||
|
config_option_is_null +
|
||||||
|
config_option_default_is_null +
|
||||||
|
config_boolean +
|
||||||
|
config_boolean_default +
|
||||||
|
config_integer +
|
||||||
|
config_integer_default +
|
||||||
|
config_string +
|
||||||
|
config_string_default +
|
||||||
|
config_color +
|
||||||
|
config_color_default +
|
||||||
|
config_write_option +
|
||||||
|
config_write_line +
|
||||||
|
config_write +
|
||||||
|
config_read +
|
||||||
|
config_reload +
|
||||||
|
config_option_free +
|
||||||
|
config_section_free_options +
|
||||||
|
config_section_free +
|
||||||
|
config_free +
|
||||||
|
config_get +
|
||||||
|
config_get_plugin +
|
||||||
|
config_is_set_plugin +
|
||||||
|
config_set_plugin +
|
||||||
|
config_set_desc_plugin +
|
||||||
|
config_unset_plugin
|
||||||
|
|
||||||
|
| キー割り当て
|
||||||
|
| key_bind +
|
||||||
|
key_unbind
|
||||||
|
|
||||||
|
| 表示
|
||||||
|
| prefix +
|
||||||
|
color +
|
||||||
|
print (python では prnt) +
|
||||||
|
print_date_tags (python では prnt_date_tags) +
|
||||||
|
print_y (python では prnt_y) +
|
||||||
|
print_y_date_tags (python では prnt_y_date_tags) +
|
||||||
|
log_print
|
||||||
|
|
||||||
|
| フック
|
||||||
|
| hook_command +
|
||||||
|
hook_command_run +
|
||||||
|
hook_timer +
|
||||||
|
hook_fd +
|
||||||
|
hook_process +
|
||||||
|
hook_process_hashtable +
|
||||||
|
hook_connect +
|
||||||
|
hook_line +
|
||||||
|
hook_print +
|
||||||
|
hook_signal +
|
||||||
|
hook_signal_send +
|
||||||
|
hook_hsignal +
|
||||||
|
hook_hsignal_send +
|
||||||
|
hook_config +
|
||||||
|
hook_completion +
|
||||||
|
hook_modifier +
|
||||||
|
hook_modifier_exec +
|
||||||
|
hook_info +
|
||||||
|
hook_info_hashtable +
|
||||||
|
hook_infolist +
|
||||||
|
hook_focus +
|
||||||
|
hook_set +
|
||||||
|
unhook +
|
||||||
|
unhook_all
|
||||||
|
|
||||||
|
| バッファ
|
||||||
|
| buffer_new +
|
||||||
|
buffer_new_props +
|
||||||
|
current_buffer +
|
||||||
|
buffer_search +
|
||||||
|
buffer_search_main +
|
||||||
|
buffer_clear +
|
||||||
|
buffer_close +
|
||||||
|
buffer_merge +
|
||||||
|
buffer_unmerge +
|
||||||
|
buffer_get_integer +
|
||||||
|
buffer_get_string +
|
||||||
|
buffer_get_pointer +
|
||||||
|
buffer_set +
|
||||||
|
buffer_string_replace_local_var +
|
||||||
|
buffer_match_list
|
||||||
|
|
||||||
|
| ウィンドウ
|
||||||
|
| current_window +
|
||||||
|
window_search_with_buffer +
|
||||||
|
window_get_integer +
|
||||||
|
window_get_string +
|
||||||
|
window_get_pointer +
|
||||||
|
window_set_title
|
||||||
|
|
||||||
|
| ニックネームリスト
|
||||||
|
| nicklist_add_group +
|
||||||
|
nicklist_search_group +
|
||||||
|
nicklist_add_nick +
|
||||||
|
nicklist_search_nick +
|
||||||
|
nicklist_remove_group +
|
||||||
|
nicklist_remove_nick +
|
||||||
|
nicklist_remove_all +
|
||||||
|
nicklist_group_get_integer +
|
||||||
|
nicklist_group_get_string +
|
||||||
|
nicklist_group_get_pointer +
|
||||||
|
nicklist_group_set +
|
||||||
|
nicklist_nick_get_integer +
|
||||||
|
nicklist_nick_get_string +
|
||||||
|
nicklist_nick_get_pointer +
|
||||||
|
nicklist_nick_set
|
||||||
|
|
||||||
|
| バー
|
||||||
|
| bar_item_search +
|
||||||
|
bar_item_new +
|
||||||
|
bar_item_update +
|
||||||
|
bar_item_remove +
|
||||||
|
bar_search +
|
||||||
|
bar_new +
|
||||||
|
bar_set +
|
||||||
|
bar_update +
|
||||||
|
bar_remove
|
||||||
|
|
||||||
|
| コマンド
|
||||||
|
| command +
|
||||||
|
command_options
|
||||||
|
|
||||||
|
// TRANSLATION MISSING
|
||||||
|
| completion
|
||||||
|
| completion_new +
|
||||||
|
completion_search +
|
||||||
|
completion_get_string +
|
||||||
|
completion_list_add +
|
||||||
|
completion_free
|
||||||
|
|
||||||
|
| インフォ
|
||||||
|
| info_get +
|
||||||
|
info_get_hashtable
|
||||||
|
|
||||||
|
| インフォリスト
|
||||||
|
| infolist_new +
|
||||||
|
infolist_new_item +
|
||||||
|
infolist_new_var_integer +
|
||||||
|
infolist_new_var_string +
|
||||||
|
infolist_new_var_pointer +
|
||||||
|
infolist_new_var_time +
|
||||||
|
infolist_get +
|
||||||
|
infolist_next +
|
||||||
|
infolist_prev +
|
||||||
|
infolist_reset_item_cursor +
|
||||||
|
infolist_search_var +
|
||||||
|
infolist_fields +
|
||||||
|
infolist_integer +
|
||||||
|
infolist_string +
|
||||||
|
infolist_pointer +
|
||||||
|
infolist_time +
|
||||||
|
infolist_free
|
||||||
|
|
||||||
|
| hdata
|
||||||
|
| hdata_get +
|
||||||
|
hdata_get_var_offset +
|
||||||
|
hdata_get_var_type_string +
|
||||||
|
hdata_get_var_array_size +
|
||||||
|
hdata_get_var_array_size_string +
|
||||||
|
hdata_get_var_hdata +
|
||||||
|
hdata_get_list +
|
||||||
|
hdata_check_pointer +
|
||||||
|
hdata_move +
|
||||||
|
hdata_search +
|
||||||
|
hdata_char +
|
||||||
|
hdata_integer +
|
||||||
|
hdata_long +
|
||||||
|
hdata_string +
|
||||||
|
hdata_pointer +
|
||||||
|
hdata_time +
|
||||||
|
hdata_hashtable +
|
||||||
|
hdata_compare +
|
||||||
|
hdata_update +
|
||||||
|
hdata_get_string
|
||||||
|
|
||||||
|
| アップグレード
|
||||||
|
| upgrade_new +
|
||||||
|
upgrade_write_object +
|
||||||
|
upgrade_read +
|
||||||
|
upgrade_close
|
||||||
|
|===
|
||||||
|
|
||||||
[[script_api_constants]]
|
[[script_api_constants]]
|
||||||
=== 定数
|
=== 定数
|
||||||
|
|
||||||
スクリプト API に含まれる定数のリスト:
|
スクリプト API に含まれる定数のリスト:
|
||||||
|
|
||||||
include::{autogendir}/autogen_scripting_constants.ja.adoc[tag=constants]
|
[width="100%",cols="1,5",options="header"]
|
||||||
|
|===
|
||||||
|
| カテゴリ | 定数
|
||||||
|
|
||||||
|
// TRANSLATION MISSING
|
||||||
|
| リターンコード
|
||||||
|
| `WEECHAT_RC_OK` (integer) +
|
||||||
|
`WEECHAT_RC_OK_EAT` (integer) +
|
||||||
|
`WEECHAT_RC_ERROR` (integer)
|
||||||
|
|
||||||
|
// TRANSLATION MISSING
|
||||||
|
| 設定ファイル
|
||||||
|
| `WEECHAT_CONFIG_READ_OK` (integer) +
|
||||||
|
`WEECHAT_CONFIG_READ_MEMORY_ERROR` (integer) +
|
||||||
|
`WEECHAT_CONFIG_READ_FILE_NOT_FOUND` (integer) +
|
||||||
|
`WEECHAT_CONFIG_WRITE_OK` (integer) +
|
||||||
|
`WEECHAT_CONFIG_WRITE_ERROR` (integer) +
|
||||||
|
`WEECHAT_CONFIG_WRITE_MEMORY_ERROR` (integer) +
|
||||||
|
`WEECHAT_CONFIG_OPTION_SET_OK_CHANGED` (integer) +
|
||||||
|
`WEECHAT_CONFIG_OPTION_SET_OK_SAME_VALUE` (integer) +
|
||||||
|
`WEECHAT_CONFIG_OPTION_SET_ERROR` (integer) +
|
||||||
|
`WEECHAT_CONFIG_OPTION_SET_OPTION_NOT_FOUND` (integer) +
|
||||||
|
`WEECHAT_CONFIG_OPTION_UNSET_OK_NO_RESET` (integer) +
|
||||||
|
`WEECHAT_CONFIG_OPTION_UNSET_OK_RESET` (integer) +
|
||||||
|
`WEECHAT_CONFIG_OPTION_UNSET_OK_REMOVED` (integer) +
|
||||||
|
`WEECHAT_CONFIG_OPTION_UNSET_ERROR` (integer)
|
||||||
|
|
||||||
|
// TRANSLATION MISSING
|
||||||
|
| ソート済みリスト
|
||||||
|
| `WEECHAT_LIST_POS_SORT` (string) +
|
||||||
|
`WEECHAT_LIST_POS_BEGINNING` (string) +
|
||||||
|
`WEECHAT_LIST_POS_END` (string)
|
||||||
|
|
||||||
|
// TRANSLATION MISSING
|
||||||
|
| ホットリスト
|
||||||
|
| `WEECHAT_HOTLIST_LOW` (string) +
|
||||||
|
`WEECHAT_HOTLIST_MESSAGE` (string) +
|
||||||
|
`WEECHAT_HOTLIST_PRIVATE` (string) +
|
||||||
|
`WEECHAT_HOTLIST_HIGHLIGHT` (string)
|
||||||
|
|
||||||
|
// TRANSLATION MISSING
|
||||||
|
| プロセスのフック
|
||||||
|
| `WEECHAT_HOOK_PROCESS_RUNNING` (integer) +
|
||||||
|
`WEECHAT_HOOK_PROCESS_ERROR` (integer)
|
||||||
|
|
||||||
|
// TRANSLATION MISSING
|
||||||
|
| 接続のフック
|
||||||
|
| `WEECHAT_HOOK_CONNECT_OK` (integer) +
|
||||||
|
`WEECHAT_HOOK_CONNECT_ADDRESS_NOT_FOUND` (integer) +
|
||||||
|
`WEECHAT_HOOK_CONNECT_IP_ADDRESS_NOT_FOUND` (integer) +
|
||||||
|
`WEECHAT_HOOK_CONNECT_CONNECTION_REFUSED` (integer) +
|
||||||
|
`WEECHAT_HOOK_CONNECT_PROXY_ERROR` (integer) +
|
||||||
|
`WEECHAT_HOOK_CONNECT_LOCAL_HOSTNAME_ERROR` (integer) +
|
||||||
|
`WEECHAT_HOOK_CONNECT_GNUTLS_INIT_ERROR` (integer) +
|
||||||
|
`WEECHAT_HOOK_CONNECT_GNUTLS_HANDSHAKE_ERROR` (integer) +
|
||||||
|
`WEECHAT_HOOK_CONNECT_MEMORY_ERROR` (integer) +
|
||||||
|
`WEECHAT_HOOK_CONNECT_TIMEOUT` (integer) +
|
||||||
|
`WEECHAT_HOOK_CONNECT_SOCKET_ERROR` (integer)
|
||||||
|
|
||||||
|
// TRANSLATION MISSING
|
||||||
|
| シグナルのフック
|
||||||
|
| `WEECHAT_HOOK_SIGNAL_STRING` (string) +
|
||||||
|
`WEECHAT_HOOK_SIGNAL_INT` (string) +
|
||||||
|
`WEECHAT_HOOK_SIGNAL_POINTER` (string)
|
||||||
|
|===
|
||||||
|
|
||||||
[[common_tasks]]
|
[[common_tasks]]
|
||||||
== 良くあるタスク
|
== 良くあるタスク
|
||||||
|
|||||||
+155
-443
File diff suppressed because it is too large
Load Diff
@@ -101,7 +101,7 @@ $HOME/.local/share/weechat/weechat.log::
|
|||||||
WeeChat jest tworzony przez Sébastien Helleu i społeczność (pełna lista dostępna
|
WeeChat jest tworzony przez Sébastien Helleu i społeczność (pełna lista dostępna
|
||||||
jest w pliku AUTHORS.adoc).
|
jest w pliku AUTHORS.adoc).
|
||||||
|
|
||||||
Copyright (C) 2003-2024 {author}
|
Copyright (C) 2003-2023 {author}
|
||||||
|
|
||||||
WeeChat is free software; you can redistribute it and/or modify
|
WeeChat is free software; you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
+37
-83
@@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
Tłumaczenie:
|
Tłumaczenie:
|
||||||
|
|
||||||
* Krzysztof Korościk <soltys1@gmail.com>, 2009-2024
|
* Krzysztof Korościk <soltys1@gmail.com>, 2009-2022
|
||||||
|
|
||||||
[[general]]
|
[[general]]
|
||||||
== Ogólne
|
== Ogólne
|
||||||
@@ -39,12 +39,15 @@ https://weechat.org/about/interfaces/[zdalnym interfejsom ^↗^^].
|
|||||||
[[compile_git]]
|
[[compile_git]]
|
||||||
=== Nie mogę skompilować WeeChat po sklonowaniu repozytorium git, dlaczego?
|
=== Nie mogę skompilować WeeChat po sklonowaniu repozytorium git, dlaczego?
|
||||||
|
|
||||||
WeeChat musi być kompilowany przy użyciu CMake.
|
// TRANSLATION MISSING
|
||||||
|
WeeChat must be compiled with CMake.
|
||||||
|
|
||||||
Postępuj zgodnie z link:weechat_user.en.html#source_package[instrukcjami kompilacji ^↗^^]
|
// TRANSLATION MISSING
|
||||||
w celu upewnienia się, że wszystkie wymagane zależności są zainstalowane.
|
Please follow link:weechat_user.en.html#source_package[build instructions ^↗^^]
|
||||||
|
and ensure all required dependencies are installed.
|
||||||
|
|
||||||
Jeśli nadal występują jakieś problemy zgłoś je do developerów.
|
// TRANSLATION MISSING
|
||||||
|
If you still have issues, please report them to the developers.
|
||||||
|
|
||||||
[[compile_macos]]
|
[[compile_macos]]
|
||||||
=== Jak zainstalować WeeChat na macOS?
|
=== Jak zainstalować WeeChat na macOS?
|
||||||
@@ -582,31 +585,6 @@ Jeśli używasz aplikacji Terminal na macOS włącz opcję
|
|||||||
"Use option as meta key" w menu Settings/Keyboard. Następnie możesz używać klawisza
|
"Use option as meta key" w menu Settings/Keyboard. Następnie możesz używać klawisza
|
||||||
kbd:[Option] jako klawisza meta.
|
kbd:[Option] jako klawisza meta.
|
||||||
|
|
||||||
[[enter_key]]
|
|
||||||
=== Niektóre przyciski w tym Enter nie działają, dlatego?
|
|
||||||
|
|
||||||
Jeśli używasz WeeChat < 4.0.0 z plikami konfiguracyjnymi stworzonymi przez dowolną
|
|
||||||
wersję ≥ 4.0.0, nazwy przycisków stały się nieprawidłowe i wiele z nich nie będzie działać. +
|
|
||||||
Żeby to naprawić zamknij WeeChat, usuń wszystkie sekcje `[key*]` z pliku weechat.conf
|
|
||||||
i uruchom WeeChat ponownie: przywróci to domyślną konfigurację skrótów klawiszowych.
|
|
||||||
|
|
||||||
[[key_f11]]
|
|
||||||
=== F11 maksymalizuje okno terminala, jak mogę przewijać listę nicków?
|
|
||||||
|
|
||||||
Klawisz kbd:[F11] jest często używany przez terminale do maksymalizacji okna, oraz
|
|
||||||
kbd:[F11]/kbd:[F12] są domyślnie używane przez WeeChat do przewijania listy nicków.
|
|
||||||
|
|
||||||
Możesz przypisać inne klawisze, na przykład kbd:[Shift+F11] i kbd:[Shift+F12],
|
|
||||||
w WeeChat ≥ 4.0.0:
|
|
||||||
|
|
||||||
----
|
|
||||||
/key bind shift-f11 /bar scroll nicklist * -100%
|
|
||||||
/key bind shift-f12 /bar scroll nicklist * +100%
|
|
||||||
----
|
|
||||||
|
|
||||||
Innym rozwiązaniem jest włączenie obsługi myszy (kbd:[Alt+m]) i przewijanie listy za
|
|
||||||
pomocą kółka myszy (zobacz pytania na temat <<mouse,obsługi myszy>>).
|
|
||||||
|
|
||||||
[[customize_key_bindings]]
|
[[customize_key_bindings]]
|
||||||
=== Jak mogę zmienić przypisania klawiszy?
|
=== Jak mogę zmienić przypisania klawiszy?
|
||||||
|
|
||||||
@@ -637,12 +615,6 @@ komendy w stylu `/123` żeby przejść do bufora #123:
|
|||||||
/trigger add numberjump modifier "2000|input_text_for_buffer" "${tg_string} =~ ^/[0-9]+$" "=\/([0-9]+)=/buffer *${re:1}=" "" "" "none"
|
/trigger add numberjump modifier "2000|input_text_for_buffer" "${tg_string} =~ ^/[0-9]+$" "=\/([0-9]+)=/buffer *${re:1}=" "" "" "none"
|
||||||
----
|
----
|
||||||
|
|
||||||
Dla łatwego przechodzenia między buforami możesz również zainstalować skrypt _go.py_:
|
|
||||||
|
|
||||||
----
|
|
||||||
/script install go.py
|
|
||||||
----
|
|
||||||
|
|
||||||
[[global_history]]
|
[[global_history]]
|
||||||
=== Jak używać globalnej historii (zamiast historii buforu) za pomocą strzałek góra/dół?
|
=== Jak używać globalnej historii (zamiast historii buforu) za pomocą strzałek góra/dół?
|
||||||
|
|
||||||
@@ -656,8 +628,9 @@ Przykład:
|
|||||||
/key bind down /input history_global_next
|
/key bind down /input history_global_next
|
||||||
----
|
----
|
||||||
|
|
||||||
Dla wersji WeeChat ≤ 3.8, należy podać kody klawiszy (naciśnij kbd:[Alt+k] następnie kombinacje
|
// TRANSLATION MISSING
|
||||||
klawiszy, aby zobaczyć ich kod):
|
With WeeChat ≤ 3.8, you must use the raw key code (press kbd:[Alt+k] then key
|
||||||
|
to display its code):
|
||||||
|
|
||||||
----
|
----
|
||||||
/key bind meta2-A /input history_global_previous
|
/key bind meta2-A /input history_global_previous
|
||||||
@@ -850,10 +823,11 @@ regularnych dla przedrostków i zawartości linii.
|
|||||||
Filtrowane linie są tylko ukrywane, nie usuwane, można je zobaczyć wyłączając
|
Filtrowane linie są tylko ukrywane, nie usuwane, można je zobaczyć wyłączając
|
||||||
filtry (domyślnie kbd:[Alt+=] zmienia stan filtrów).
|
filtry (domyślnie kbd:[Alt+=] zmienia stan filtrów).
|
||||||
|
|
||||||
|
// TRANSLATION MISSING
|
||||||
[[filter_irc_join_part_quit]]
|
[[filter_irc_join_part_quit]]
|
||||||
=== Jak odfiltrować informację o join/part/quit i inne uciążliwe wiadomości na kanałach IRC?
|
=== How can I filter join/part/quit and other annoying messages on IRC channels?
|
||||||
|
|
||||||
Zobacz link:weechat_user.pl.html#irc_smart_filter[Poradnik użytkownika / Inteligentny filtr ^↗^^].
|
See link:weechat_user.pl.html#irc_smart_filter[User's guide / IRC smart filter ^↗^^].
|
||||||
|
|
||||||
[[filter_irc_join_channel_messages]]
|
[[filter_irc_join_channel_messages]]
|
||||||
=== Jak mogę filtrować wyświetlane wiadomości podczas wejścia na kanał IRC?
|
=== Jak mogę filtrować wyświetlane wiadomości podczas wejścia na kanał IRC?
|
||||||
@@ -951,20 +925,34 @@ link:weechat_user.pl.html#max_hotlist_level_nicks[hotlist_max_level_nicks_add ^
|
|||||||
do ustawienia maksymalnego poziomu hotlisty dla niektórych nicków, dla buforów
|
do ustawienia maksymalnego poziomu hotlisty dla niektórych nicków, dla buforów
|
||||||
lub grup buforów (jak serwery IRC).
|
lub grup buforów (jak serwery IRC).
|
||||||
|
|
||||||
W celu wyłączenia tylko podświetleń wystarczy ustawić ja na 2.
|
W celu wyłączenia tylko podświetleń wystarczy ustawić ja na 2:
|
||||||
|
|
||||||
Dla obecnego bufora:
|
|
||||||
|
|
||||||
----
|
----
|
||||||
/buffer setauto hotlist_max_level_nicks_add joe:2,mike:2
|
/buffer set hotlist_max_level_nicks_add joe:2,mike:2
|
||||||
----
|
----
|
||||||
|
|
||||||
Dla wszystkich kanałów na serwerze "libera":
|
To utawienie nie jest zapisywane jednak w konfiguracji.
|
||||||
|
W celu automatycznego ustawiania tej właściwości należy użyć skryptu _buffer_autoset.py_:
|
||||||
|
|
||||||
----
|
----
|
||||||
/set weechat.buffer.irc.libera.*.hotlist_max_level_nicks_add joe:2,mike:2
|
/script install buffer_autoset.py
|
||||||
----
|
----
|
||||||
|
|
||||||
|
Na przykład w celu wyłączenia powiadomień od "mike" na #weechat w sieci libera:
|
||||||
|
on the IRC server libera:
|
||||||
|
|
||||||
|
----
|
||||||
|
/buffer_autoset add irc.libera.#weechat hotlist_max_level_nicks_add mike:2
|
||||||
|
----
|
||||||
|
|
||||||
|
Dla całego serwera libera:
|
||||||
|
|
||||||
|
----
|
||||||
|
/buffer_autoset add irc.libera hotlist_max_level_nicks_add mike:2
|
||||||
|
----
|
||||||
|
|
||||||
|
Więcej przykładów można znaleźć wykonując komende `+/help buffer_autoset+`.
|
||||||
|
|
||||||
[[irc_target_buffer]]
|
[[irc_target_buffer]]
|
||||||
=== Jak mogę zmienić docelowy bufor dla komendy w połączonym buforze (jak bufor z serwerami)?
|
=== Jak mogę zmienić docelowy bufor dla komendy w połączonym buforze (jak bufor z serwerami)?
|
||||||
|
|
||||||
@@ -1093,8 +1081,7 @@ W celu zmniejszenia używanej pamięci możesz zastosować się do poniższych r
|
|||||||
|
|
||||||
Możesz skorzystać z tych samych porad jak dla <<memory_usage,memory>>, oraz tych:
|
Możesz skorzystać z tych samych porad jak dla <<memory_usage,memory>>, oraz tych:
|
||||||
|
|
||||||
* schowaj pasek "nicklist": `/bar hide nicklist` (kbd:[Alt+Shift+N]).
|
* schowaj pasek "nicklist": `/bar hide nicklist`
|
||||||
* wyłącz "buflist": `/buflist disable` (kbd:[Alt+Shift+B]).
|
|
||||||
* usuń wyświetlanie sekund w czasie na pasku statusu:
|
* usuń wyświetlanie sekund w czasie na pasku statusu:
|
||||||
`+/set weechat.look.item_time_format "%H:%M"+` (domyślna wartość)
|
`+/set weechat.look.item_time_format "%H:%M"+` (domyślna wartość)
|
||||||
* wyłącz automatyczne sprawdzanie poprawności wpisywanych słów w linii poleceń (o ile je włączyłeś):
|
* wyłącz automatyczne sprawdzanie poprawności wpisywanych słów w linii poleceń (o ile je włączyłeś):
|
||||||
@@ -1116,20 +1103,14 @@ Wyłącz odpowiedzi na wszystkie zapytania CTCP:
|
|||||||
|
|
||||||
----
|
----
|
||||||
/set irc.ctcp.clientinfo ""
|
/set irc.ctcp.clientinfo ""
|
||||||
|
/set irc.ctcp.finger ""
|
||||||
/set irc.ctcp.source ""
|
/set irc.ctcp.source ""
|
||||||
/set irc.ctcp.time ""
|
/set irc.ctcp.time ""
|
||||||
|
/set irc.ctcp.userinfo ""
|
||||||
/set irc.ctcp.version ""
|
/set irc.ctcp.version ""
|
||||||
/set irc.ctcp.ping ""
|
/set irc.ctcp.ping ""
|
||||||
----
|
----
|
||||||
|
|
||||||
Dla WeeChat < 4.1.0, automatyczne odpowiedzi są również domyślnie wysyłane dla innch zapytań CTCP i muszą zostać
|
|
||||||
również wyłączone:
|
|
||||||
|
|
||||||
----
|
|
||||||
/set irc.ctcp.finger ""
|
|
||||||
/set irc.ctcp.userinfo ""
|
|
||||||
----
|
|
||||||
|
|
||||||
Wyładuj i wyłącz automatyczne ładowanie wtyczki "xfer" (używanej przez IRC DCC):
|
Wyładuj i wyłącz automatyczne ładowanie wtyczki "xfer" (używanej przez IRC DCC):
|
||||||
----
|
----
|
||||||
/plugin unload xfer
|
/plugin unload xfer
|
||||||
@@ -1164,33 +1145,6 @@ w _sec.conf_ za pomocą komendy `/secure`).
|
|||||||
Przejrzyj link:weechat_user.pl.html#files_and_directories[Poradnik użytkownika / Pliki i foldery ^↗^^],
|
Przejrzyj link:weechat_user.pl.html#files_and_directories[Poradnik użytkownika / Pliki i foldery ^↗^^],
|
||||||
gdzie znajdziesz więcej informacji o plikach konfiguracyjnych.
|
gdzie znajdziesz więcej informacji o plikach konfiguracyjnych.
|
||||||
|
|
||||||
[[move_to_another_device]]
|
|
||||||
=== Chcę przenieść WeeChat na inne urządzenie i zachować swoją konfigurację, co powinienem skompilować?
|
|
||||||
|
|
||||||
Najpierw sprawdź katalogi używane przez WeeChat za pomocą polecenia: `/debug dirs`. +
|
|
||||||
Katalogi home/config i home/data muszą zostać skopiowane (wszystkie pliki i podkatalogi).
|
|
||||||
|
|
||||||
Na przykład jeśli używasz katalogów XDG (domyślnie dla WeeChat ≥ 3.2), katalogi te to
|
|
||||||
`$HOME/.config/weechat` i `$HOME/.local/share/weechat`. +
|
|
||||||
Jeśli używasz pojedynczego katalogu (domyślne dla WeeChat < 3.2) jest to katalog
|
|
||||||
`$HOME/.weechat`.
|
|
||||||
|
|
||||||
[IMPORTANT]
|
|
||||||
Wersja WeeChat na nowym urządzeniu musi być wyższa lub taka sama jak na obecnym. +
|
|
||||||
Przenoszenie konfiguracji do starszej wersji WeeChat *NIE JEST WSPIERANE* i może ją zepsuć,
|
|
||||||
prowadząć do niestabilnego działania WeeChat.
|
|
||||||
|
|
||||||
Kroki:
|
|
||||||
|
|
||||||
. Zamknij Weechat: `/quit` (lub `/upgrade -quit` jeśli chcesz przywrócić sesję,
|
|
||||||
co zawiera zawartość wszystkich buforów).
|
|
||||||
. Skopiuj wszystkie katalogi, podkatalogi i pliki na nowe urządzenie, zachowując ich
|
|
||||||
nazwy i uprawnienia.
|
|
||||||
. Opcjonalne: skopiuj dowolne pliki z poza tych katalogów, do których odnosisz się w swojej
|
|
||||||
konfiguracji (nie zaleca się używania plików z poza katalogów WeeChat).
|
|
||||||
. Uruchom WeeChat na nowym urządzeniu: `weechat` (lub `weechat --upgrade` jeśli zapisywałeś
|
|
||||||
sesje).
|
|
||||||
|
|
||||||
[[development]]
|
[[development]]
|
||||||
== Rozwój
|
== Rozwój
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
Tłumaczenie:
|
Tłumaczenie:
|
||||||
|
|
||||||
* Krzysztof Korościk <soltys1@gmail.com>, 2009-2024
|
* Krzysztof Korościk <soltys1@gmail.com>, 2009-2022
|
||||||
|
|
||||||
[[start]]
|
[[start]]
|
||||||
== Uruchamianie WeeChat
|
== Uruchamianie WeeChat
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
Tłumaczenie:
|
Tłumaczenie:
|
||||||
|
|
||||||
* Krzysztof Korościk <soltys1@gmail.com>, 2009-2024
|
* Krzysztof Korościk <soltys1@gmail.com>, 2009-2022
|
||||||
|
|
||||||
Ten dokument opisuje klienta rozmów WeeChat, który jest częścią WeeChat.
|
Ten dokument opisuje klienta rozmów WeeChat, który jest częścią WeeChat.
|
||||||
|
|
||||||
@@ -557,14 +557,315 @@ link:weechat_plugin_api.en.html[Opisu API wtyczek WeeChat ^↗^^] (Angielski).
|
|||||||
|
|
||||||
Lista funkcji w API skryptów:
|
Lista funkcji w API skryptów:
|
||||||
|
|
||||||
include::{autogendir}/autogen_scripting_functions.pl.adoc[tag=functions]
|
[width="100%",cols="1,5",options="header"]
|
||||||
|
|===
|
||||||
|
| Kategoria | Funkcje
|
||||||
|
|
||||||
|
| ogólne
|
||||||
|
| register
|
||||||
|
|
||||||
|
| wtyczki
|
||||||
|
| plugin_get_name
|
||||||
|
|
||||||
|
| ciągi
|
||||||
|
| charset_set +
|
||||||
|
iconv_to_internal +
|
||||||
|
iconv_from_internal +
|
||||||
|
gettext +
|
||||||
|
ngettext +
|
||||||
|
strlen_screen +
|
||||||
|
string_match +
|
||||||
|
string_match_list +
|
||||||
|
string_has_highlight +
|
||||||
|
string_has_highlight_regex +
|
||||||
|
string_mask_to_regex +
|
||||||
|
string_format_size +
|
||||||
|
string_parse_size +
|
||||||
|
string_color_code_size +
|
||||||
|
string_remove_color +
|
||||||
|
string_is_command_char +
|
||||||
|
string_input_for_buffer +
|
||||||
|
string_eval_expression +
|
||||||
|
string_eval_path_home
|
||||||
|
|
||||||
|
| katalogi
|
||||||
|
| mkdir_home +
|
||||||
|
mkdir +
|
||||||
|
mkdir_parents
|
||||||
|
|
||||||
|
| przechowywane listy
|
||||||
|
| list_new +
|
||||||
|
list_add +
|
||||||
|
list_search +
|
||||||
|
list_search_pos +
|
||||||
|
list_casesearch +
|
||||||
|
list_casesearch_pos +
|
||||||
|
list_get +
|
||||||
|
list_set +
|
||||||
|
list_next +
|
||||||
|
list_prev +
|
||||||
|
list_string +
|
||||||
|
list_size +
|
||||||
|
list_remove +
|
||||||
|
list_remove_all +
|
||||||
|
list_free
|
||||||
|
|
||||||
|
| pliki konfiguracyjne
|
||||||
|
| config_new +
|
||||||
|
config_new_section +
|
||||||
|
config_search_section +
|
||||||
|
config_new_option +
|
||||||
|
config_search_option +
|
||||||
|
config_string_to_boolean +
|
||||||
|
config_option_reset +
|
||||||
|
config_option_set +
|
||||||
|
config_option_set_null +
|
||||||
|
config_option_unset +
|
||||||
|
config_option_rename +
|
||||||
|
config_option_is_null +
|
||||||
|
config_option_default_is_null +
|
||||||
|
config_boolean +
|
||||||
|
config_boolean_default +
|
||||||
|
config_integer +
|
||||||
|
config_integer_default +
|
||||||
|
config_string +
|
||||||
|
config_string_default +
|
||||||
|
config_color +
|
||||||
|
config_color_default +
|
||||||
|
config_write_option +
|
||||||
|
config_write_line +
|
||||||
|
config_write +
|
||||||
|
config_read +
|
||||||
|
config_reload +
|
||||||
|
config_option_free +
|
||||||
|
config_section_free_options +
|
||||||
|
config_section_free +
|
||||||
|
config_free +
|
||||||
|
config_get +
|
||||||
|
config_get_plugin +
|
||||||
|
config_is_set_plugin +
|
||||||
|
config_set_plugin +
|
||||||
|
config_set_desc_plugin +
|
||||||
|
config_unset_plugin
|
||||||
|
|
||||||
|
| przypisania klawiszy
|
||||||
|
| key_bind +
|
||||||
|
key_unbind
|
||||||
|
|
||||||
|
| wyświetlanie
|
||||||
|
| prefix +
|
||||||
|
color +
|
||||||
|
print (dla pythona: prnt) +
|
||||||
|
print_date_tags (dla pythona: prnt_date_tags) +
|
||||||
|
print_y (dla pythona: prnt_y) +
|
||||||
|
print_y_date_tags (dla pythona: prnt_y_date_tags) +
|
||||||
|
log_print
|
||||||
|
|
||||||
|
| hooks
|
||||||
|
| hook_command +
|
||||||
|
hook_command_run +
|
||||||
|
hook_timer +
|
||||||
|
hook_fd +
|
||||||
|
hook_process +
|
||||||
|
hook_process_hashtable +
|
||||||
|
hook_connect +
|
||||||
|
hook_line +
|
||||||
|
hook_print +
|
||||||
|
hook_signal +
|
||||||
|
hook_signal_send +
|
||||||
|
hook_hsignal +
|
||||||
|
hook_hsignal_send +
|
||||||
|
hook_config +
|
||||||
|
hook_completion +
|
||||||
|
hook_modifier +
|
||||||
|
hook_modifier_exec +
|
||||||
|
hook_info +
|
||||||
|
hook_info_hashtable +
|
||||||
|
hook_infolist +
|
||||||
|
hook_focus +
|
||||||
|
hook_set +
|
||||||
|
unhook +
|
||||||
|
unhook_all
|
||||||
|
|
||||||
|
| bufory
|
||||||
|
| buffer_new +
|
||||||
|
buffer_new_props +
|
||||||
|
current_buffer +
|
||||||
|
buffer_search +
|
||||||
|
buffer_search_main +
|
||||||
|
buffer_clear +
|
||||||
|
buffer_close +
|
||||||
|
buffer_merge +
|
||||||
|
buffer_unmerge +
|
||||||
|
buffer_get_integer +
|
||||||
|
buffer_get_string +
|
||||||
|
buffer_get_pointer +
|
||||||
|
buffer_set +
|
||||||
|
buffer_string_replace_local_var +
|
||||||
|
buffer_match_list
|
||||||
|
|
||||||
|
| okna
|
||||||
|
| current_window +
|
||||||
|
window_search_with_buffer +
|
||||||
|
window_get_integer +
|
||||||
|
window_get_string +
|
||||||
|
window_get_pointer +
|
||||||
|
window_set_title
|
||||||
|
|
||||||
|
| lista nicków
|
||||||
|
| nicklist_add_group +
|
||||||
|
nicklist_search_group +
|
||||||
|
nicklist_add_nick +
|
||||||
|
nicklist_search_nick +
|
||||||
|
nicklist_remove_group +
|
||||||
|
nicklist_remove_nick +
|
||||||
|
nicklist_remove_all +
|
||||||
|
nicklist_group_get_integer +
|
||||||
|
nicklist_group_get_string +
|
||||||
|
nicklist_group_get_pointer +
|
||||||
|
nicklist_group_set +
|
||||||
|
nicklist_nick_get_integer +
|
||||||
|
nicklist_nick_get_string +
|
||||||
|
nicklist_nick_get_pointer +
|
||||||
|
nicklist_nick_set
|
||||||
|
|
||||||
|
| paski
|
||||||
|
| bar_item_search +
|
||||||
|
bar_item_new +
|
||||||
|
bar_item_update +
|
||||||
|
bar_item_remove +
|
||||||
|
bar_search +
|
||||||
|
bar_new +
|
||||||
|
bar_set +
|
||||||
|
bar_update +
|
||||||
|
bar_remove
|
||||||
|
|
||||||
|
| komendy
|
||||||
|
| command +
|
||||||
|
command_options
|
||||||
|
|
||||||
|
| dopełnienia
|
||||||
|
| completion_new +
|
||||||
|
completion_search +
|
||||||
|
completion_get_string +
|
||||||
|
completion_list_add +
|
||||||
|
completion_free
|
||||||
|
|
||||||
|
| informacje
|
||||||
|
| info_get +
|
||||||
|
info_get_hashtable
|
||||||
|
|
||||||
|
| infolisty
|
||||||
|
| infolist_new +
|
||||||
|
infolist_new_item +
|
||||||
|
infolist_new_var_integer +
|
||||||
|
infolist_new_var_string +
|
||||||
|
infolist_new_var_pointer +
|
||||||
|
infolist_new_var_time +
|
||||||
|
infolist_get +
|
||||||
|
infolist_next +
|
||||||
|
infolist_prev +
|
||||||
|
infolist_reset_item_cursor +
|
||||||
|
infolist_search_var +
|
||||||
|
infolist_fields +
|
||||||
|
infolist_integer +
|
||||||
|
infolist_string +
|
||||||
|
infolist_pointer +
|
||||||
|
infolist_time +
|
||||||
|
infolist_free
|
||||||
|
|
||||||
|
| hdata
|
||||||
|
| hdata_get +
|
||||||
|
hdata_get_var_offset +
|
||||||
|
hdata_get_var_type_string +
|
||||||
|
hdata_get_var_array_size +
|
||||||
|
hdata_get_var_array_size_string +
|
||||||
|
hdata_get_var_hdata +
|
||||||
|
hdata_get_list +
|
||||||
|
hdata_check_pointer +
|
||||||
|
hdata_move +
|
||||||
|
hdata_search +
|
||||||
|
hdata_char +
|
||||||
|
hdata_integer +
|
||||||
|
hdata_long +
|
||||||
|
hdata_string +
|
||||||
|
hdata_pointer +
|
||||||
|
hdata_time +
|
||||||
|
hdata_hashtable +
|
||||||
|
hdata_compare +
|
||||||
|
hdata_update +
|
||||||
|
hdata_get_string
|
||||||
|
|
||||||
|
| uaktualnienie
|
||||||
|
| upgrade_new +
|
||||||
|
upgrade_write_object +
|
||||||
|
upgrade_read +
|
||||||
|
upgrade_close
|
||||||
|
|===
|
||||||
|
|
||||||
[[script_api_constants]]
|
[[script_api_constants]]
|
||||||
=== Stałe
|
=== Stałe
|
||||||
|
|
||||||
Lista stałych w API skryptów:
|
Lista stałych w API skryptów:
|
||||||
|
|
||||||
include::{autogendir}/autogen_scripting_constants.pl.adoc[tag=constants]
|
[width="100%",cols="1,5",options="header"]
|
||||||
|
|===
|
||||||
|
| Kategoria | Stałe
|
||||||
|
|
||||||
|
| zwracane kody
|
||||||
|
| `WEECHAT_RC_OK` (liczba całkowita) +
|
||||||
|
`WEECHAT_RC_OK_EAT` (liczba całkowita) +
|
||||||
|
`WEECHAT_RC_ERROR` (liczba całkowita)
|
||||||
|
|
||||||
|
| pliki konfiguracyjne
|
||||||
|
| `WEECHAT_CONFIG_READ_OK` (liczba całkowita) +
|
||||||
|
`WEECHAT_CONFIG_READ_MEMORY_ERROR` (liczba całkowita) +
|
||||||
|
`WEECHAT_CONFIG_READ_FILE_NOT_FOUND` (liczba całkowita) +
|
||||||
|
`WEECHAT_CONFIG_WRITE_OK` (liczba całkowita) +
|
||||||
|
`WEECHAT_CONFIG_WRITE_ERROR` (liczba całkowita) +
|
||||||
|
`WEECHAT_CONFIG_WRITE_MEMORY_ERROR` (liczba całkowita) +
|
||||||
|
`WEECHAT_CONFIG_OPTION_SET_OK_CHANGED` (liczba całkowita) +
|
||||||
|
`WEECHAT_CONFIG_OPTION_SET_OK_SAME_VALUE` (liczba całkowita) +
|
||||||
|
`WEECHAT_CONFIG_OPTION_SET_ERROR` (liczba całkowita) +
|
||||||
|
`WEECHAT_CONFIG_OPTION_SET_OPTION_NOT_FOUND` (liczba całkowita) +
|
||||||
|
`WEECHAT_CONFIG_OPTION_UNSET_OK_NO_RESET` (liczba całkowita) +
|
||||||
|
`WEECHAT_CONFIG_OPTION_UNSET_OK_RESET` (liczba całkowita) +
|
||||||
|
`WEECHAT_CONFIG_OPTION_UNSET_OK_REMOVED` (liczba całkowita) +
|
||||||
|
`WEECHAT_CONFIG_OPTION_UNSET_ERROR` (liczba całkowita)
|
||||||
|
|
||||||
|
| posortowane listy
|
||||||
|
| `WEECHAT_LIST_POS_SORT` (ciąg) +
|
||||||
|
`WEECHAT_LIST_POS_BEGINNING` (ciąg) +
|
||||||
|
`WEECHAT_LIST_POS_END` (ciąg)
|
||||||
|
|
||||||
|
| hotlisty
|
||||||
|
| `WEECHAT_HOTLIST_LOW` (ciąg) +
|
||||||
|
`WEECHAT_HOTLIST_MESSAGE` (ciąg) +
|
||||||
|
`WEECHAT_HOTLIST_PRIVATE` (ciąg) +
|
||||||
|
`WEECHAT_HOTLIST_HIGHLIGHT` (ciąg)
|
||||||
|
|
||||||
|
| hook process
|
||||||
|
| `WEECHAT_HOOK_PROCESS_RUNNING` (liczba całkowita) +
|
||||||
|
`WEECHAT_HOOK_PROCESS_ERROR` (liczba całkowita)
|
||||||
|
|
||||||
|
| hook connect
|
||||||
|
| `WEECHAT_HOOK_CONNECT_OK` (liczba całkowita) +
|
||||||
|
`WEECHAT_HOOK_CONNECT_ADDRESS_NOT_FOUND` (liczba całkowita) +
|
||||||
|
`WEECHAT_HOOK_CONNECT_IP_ADDRESS_NOT_FOUND` (liczba całkowita) +
|
||||||
|
`WEECHAT_HOOK_CONNECT_CONNECTION_REFUSED` (liczba całkowita) +
|
||||||
|
`WEECHAT_HOOK_CONNECT_PROXY_ERROR` (liczba całkowita) +
|
||||||
|
`WEECHAT_HOOK_CONNECT_LOCAL_HOSTNAME_ERROR` (liczba całkowita) +
|
||||||
|
`WEECHAT_HOOK_CONNECT_GNUTLS_INIT_ERROR` (liczba całkowita) +
|
||||||
|
`WEECHAT_HOOK_CONNECT_GNUTLS_HANDSHAKE_ERROR` (liczba całkowita) +
|
||||||
|
`WEECHAT_HOOK_CONNECT_MEMORY_ERROR` (liczba całkowita) +
|
||||||
|
`WEECHAT_HOOK_CONNECT_TIMEOUT` (liczba całkowita) +
|
||||||
|
`WEECHAT_HOOK_CONNECT_SOCKET_ERROR` (liczba całkowita)
|
||||||
|
|
||||||
|
| hook signal
|
||||||
|
| `WEECHAT_HOOK_SIGNAL_STRING` (ciąg) +
|
||||||
|
`WEECHAT_HOOK_SIGNAL_INT` (ciąg) +
|
||||||
|
`WEECHAT_HOOK_SIGNAL_POINTER` (ciąg)
|
||||||
|
|===
|
||||||
|
|
||||||
[[common_tasks]]
|
[[common_tasks]]
|
||||||
== Częste zadania
|
== Częste zadania
|
||||||
|
|||||||
+269
-467
File diff suppressed because it is too large
Load Diff
@@ -1,7 +1,7 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
#
|
#
|
||||||
# Copyright (C) 2019 Simmo Saan <simmo.saan@gmail.com>
|
# Copyright (C) 2019 Simmo Saan <simmo.saan@gmail.com>
|
||||||
# Copyright (C) 2021-2024 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2021-2023 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# This program is free software; you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
@@ -28,12 +28,12 @@ from textwrap import indent
|
|||||||
|
|
||||||
import re
|
import re
|
||||||
|
|
||||||
DOC_DIR = Path(__file__).resolve().parent.parent / "doc" / "en"
|
DOC_DIR = Path(__file__).resolve().parent / "en"
|
||||||
SRC_DIR = Path(__file__).resolve().parent.parent / "src"
|
SRC_DIR = Path(__file__).resolve().parent.parent / "src"
|
||||||
|
|
||||||
STUB_HEADER = """\
|
STUB_HEADER = """\
|
||||||
#
|
#
|
||||||
# WeeChat Python stub file, auto-generated by generate_python_stub.py.
|
# WeeChat Python stub file, auto-generated by python_stub.py.
|
||||||
# DO NOT EDIT BY HAND!
|
# DO NOT EDIT BY HAND!
|
||||||
#
|
#
|
||||||
|
|
||||||
@@ -41,7 +41,8 @@ from typing import Dict, Union
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
CONSTANT_RE = (
|
CONSTANT_RE = (
|
||||||
r"WEECHAT_SCRIPT_CONST_(?P<type>(INT|STR))\((?P<constant>WEECHAT_[A-Z0-9_]+)\)"
|
r"( |\|) `(?P<constant>WEECHAT_[A-Z0-9_]+)` "
|
||||||
|
r"\((?P<type>(string|integer))\)(?: \+)?"
|
||||||
)
|
)
|
||||||
|
|
||||||
FUNCTION_RE = r"""\[source,python\]
|
FUNCTION_RE = r"""\[source,python\]
|
||||||
@@ -52,20 +53,25 @@ def (?P<function>\w+)(?P<args>[^)]*)(?P<return>\) -> [^:]+:) \.\.\.(?P<example>.
|
|||||||
|
|
||||||
|
|
||||||
def print_stub_constants() -> None:
|
def print_stub_constants() -> None:
|
||||||
"""Print constants, extracted from the plugin-script.c."""
|
"""Print constants, extracted from the Scripting guide."""
|
||||||
|
types = {
|
||||||
|
"integer": "int",
|
||||||
|
"string": "str",
|
||||||
|
}
|
||||||
constant_pattern = re.compile(CONSTANT_RE)
|
constant_pattern = re.compile(CONSTANT_RE)
|
||||||
with open(
|
with open(
|
||||||
SRC_DIR / "plugins" / "plugin-script.c", encoding="utf-8"
|
DOC_DIR / "weechat_scripting.en.adoc", encoding="utf-8"
|
||||||
) as plugin_script_file, open(
|
) as scripting_file, open(
|
||||||
SRC_DIR / "plugins" / "weechat-plugin.h", encoding="utf-8"
|
SRC_DIR / "plugins" / "weechat-plugin.h", encoding="utf-8"
|
||||||
) as plugin_public_header_file:
|
) as plugin_header_file:
|
||||||
plugin_script = plugin_script_file.read()
|
scripting = scripting_file.read()
|
||||||
plugin_public_header = plugin_public_header_file.read()
|
plugin_header = plugin_header_file.read()
|
||||||
for match in constant_pattern.finditer(plugin_script):
|
for match in constant_pattern.finditer(scripting):
|
||||||
value_re = rf'^#define {match["constant"]} +(?P<value>[\w"-]+)$'
|
value_re = rf'^#define {match["constant"]} +(?P<value>[\w"-]+)$'
|
||||||
value_match = re.search(value_re, plugin_public_header, re.MULTILINE)
|
value_match = re.search(value_re, plugin_header, re.MULTILINE)
|
||||||
value = f' = {value_match["value"]}' if value_match else ""
|
value = f' = {value_match["value"]}' if value_match else ""
|
||||||
print(f'{match["constant"]}: {match["type"].lower()}{value}')
|
|
||||||
|
print(f'{match["constant"]}: {types[match["type"]]}{value}')
|
||||||
|
|
||||||
|
|
||||||
def print_stub_functions() -> None:
|
def print_stub_functions() -> None:
|
||||||
@@ -99,7 +99,7 @@ $HOME/.local/share/weechat/weechat.log::
|
|||||||
WeeChat написан Sébastien Helleu и другими участниками (полный список находится
|
WeeChat написан Sébastien Helleu и другими участниками (полный список находится
|
||||||
в файле AUTHORS.adoc).
|
в файле AUTHORS.adoc).
|
||||||
|
|
||||||
Copyright (C) 2003-2024 {author}
|
Copyright (C) 2003-2023 {author}
|
||||||
|
|
||||||
WeeChat is free software; you can redistribute it and/or modify
|
WeeChat is free software; you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -97,7 +97,7 @@ $HOME/.config/weechat/weechat.log::
|
|||||||
// tag::copyright[]
|
// tag::copyright[]
|
||||||
Програм WeeChat је написао Себастијен Елеу и људи који су дали свој допринос (комплетна листа се налази у фајлу AUTHORS.adoc).
|
Програм WeeChat је написао Себастијен Елеу и људи који су дали свој допринос (комплетна листа се налази у фајлу AUTHORS.adoc).
|
||||||
|
|
||||||
Ауторска права (C) 2003-2024 {author}
|
Ауторска права (C) 2003-2023 {author}
|
||||||
|
|
||||||
WeeChat је слободни софтвер; можете га редистрибуирати и/или изменити под условима ГНУ Опште Јавне Лиценце коју је објавила Free Software Foundation; или верзије 3 Лиценце, или (по вашој жељи) било којој каснијој верзији.
|
WeeChat је слободни софтвер; можете га редистрибуирати и/или изменити под условима ГНУ Опште Јавне Лиценце коју је објавила Free Software Foundation; или верзије 3 Лиценце, или (по вашој жељи) било којој каснијој верзији.
|
||||||
|
|
||||||
|
|||||||
+70
-119
@@ -117,59 +117,57 @@ WeeChat „језгро” се налази у следећим директо
|
|||||||
|===
|
|===
|
||||||
| Путања/фајл | Опис
|
| Путања/фајл | Опис
|
||||||
| core/ | Функције језгра: тачка улаза, интерне структуре.
|
| core/ | Функције језгра: тачка улаза, интерне структуре.
|
||||||
| core-arraylist.c | Листе низова.
|
| wee-arraylist.c | Листе низова.
|
||||||
| core-backtrace.c | Испис трага након краха.
|
| wee-backtrace.c | Испис трага након краха.
|
||||||
| core-calc.c | Израчунавање резултата израза.
|
| wee-calc.c | Израчунавање резултата израза.
|
||||||
| core-command.c | WeeChat команде језгра.
|
| wee-command.c | WeeChat команде језгра.
|
||||||
| core-completion.c | Подразумевана довршавања.
|
| wee-completion.c | Подразумевана довршавања.
|
||||||
| core-config-file.c | Управљање конфигурационим фајловима.
|
| wee-config-file.c | Управљање конфигурационим фајловима.
|
||||||
| core-config.c | Конфигурационе опције за WeeChat језгро (фајл weechat.conf).
|
| wee-config.c | Конфигурационе опције за WeeChat језгро (фајл weechat.conf).
|
||||||
| core-crypto.c | Криптографске функције.
|
| wee-crypto.c | Криптографске функције.
|
||||||
| core-debug.c | Неке дибаг функције.
|
| wee-debug.c | Неке дибаг функције.
|
||||||
| core-dir.c | Функције директоријума/фајла.
|
| wee-dir.c | Функције директоријума/фајла.
|
||||||
| core-doc.c | Изградња фајлова за документацију.
|
| wee-doc.c | Изградња фајлова за документацију.
|
||||||
| core-eval.c | Израчунавање израза са референцама на интерне променљиве.
|
| wee-eval.c | Израчунавање израза са референцама на интерне променљиве.
|
||||||
| core-hashtable.c | Хеш табеле.
|
| wee-hashtable.c | Хеш табеле.
|
||||||
| core-hdata.c | Hdata (директни приступ подацима употребом хеш табела).
|
| wee-hdata.c | Hdata (директни приступ подацима употребом хеш табела).
|
||||||
| core-hook.c | Куке.
|
| wee-hook.c | Куке.
|
||||||
| core-infolist.c | Инфолисте (листе са подацима објеката).
|
| wee-infolist.c | Инфолисте (листе са подацима објеката).
|
||||||
| core-input.c | Унос команди/текста.
|
| wee-input.c | Унос команди/текста.
|
||||||
| core-list.c | Сортиране листе.
|
| wee-list.c | Сортиране листе.
|
||||||
| core-log.c | Упис у WeeChat лог фајл (weechat.log).
|
| wee-log.c | Упис у WeeChat лог фајл (weechat.log).
|
||||||
| core-network.c | Мрежне функције (повезивање са серверима/проксијима).
|
| wee-network.c | Мрежне функције (повезивање са серверима/проксијима).
|
||||||
| core-proxy.c | Управљање проксијима.
|
| wee-proxy.c | Управљање проксијима.
|
||||||
| core-secure.c | Функције обезбеђених података.
|
| wee-secure.c | Функције обезбеђених података.
|
||||||
| core-secure-buffer.c | Бафер обезбеђених података.
|
| wee-secure-buffer.c | Бафер обезбеђених података.
|
||||||
| core-secure-config.c | Опције обезбеђених података (фајл sec.conf).
|
| wee-secure-config.c | Опције обезбеђених података (фајл sec.conf).
|
||||||
| core-string.c | Функције над стринговима.
|
| wee-string.c | Функције над стринговима.
|
||||||
| core-sys.c | Системске функције.
|
| wee-upgrade-file.c | Интерни систем ажурирања.
|
||||||
| core-upgrade-file.c | Интерни систем ажурирања.
|
| wee-upgrade.c | Ажурирање за WeeChat језгро (бафери, линије, историја, ...).
|
||||||
| core-upgrade.c | Ажурирање за WeeChat језгро (бафери, линије, историја, ...).
|
| wee-url.c | URL трансфер (помоћу libcurl).
|
||||||
| core-url.c | URL трансфер (помоћу libcurl).
|
| wee-utf8.c | UTF-8 фунцкије.
|
||||||
| core-utf8.c | UTF-8 функције.
|
| wee-util.c | Неке друге функције.
|
||||||
| core-util.c | Неке друге функције.
|
| wee-version.c | Функције за WeeChat верзију.
|
||||||
| core-version.c | Функције за WeeChat верзију.
|
|
||||||
| weechat.c | Основне функције: опције командне линије, покретање.
|
| weechat.c | Основне функције: опције командне линије, покретање.
|
||||||
| hook/ | Функције кука.
|
| hook/ | Функције кука.
|
||||||
| hook-command-run.c | Кука "command_run".
|
| wee-hook-command-run.c | Кука "command_run".
|
||||||
| hook-command.c | Кука "command".
|
| wee-hook-command.c | Кука "command".
|
||||||
| hook-completion.c | Кука "completion".
|
| wee-hook-completion.c | Кука "completion".
|
||||||
| hook-config.c | Кука "config".
|
| wee-hook-config.c | Кука "config".
|
||||||
| hook-connect.c | Кука "connect".
|
| wee-hook-connect.c | Кука "connect".
|
||||||
| hook-fd.c | Кука "fd".
|
| wee-hook-fd.c | Кука "fd".
|
||||||
| hook-focus.c | Кука "focus".
|
| wee-hook-focus.c | Кука "focus".
|
||||||
| hook-hdata.c | Кука "hdata".
|
| wee-hook-hdata.c | Кука "hdata".
|
||||||
| hook-hsignal.c | Кука "hsignal".
|
| wee-hook-hsignal.c | Кука "hsignal".
|
||||||
| hook-info-hashtable.c | Кука "info_hashtable".
|
| wee-hook-info-hashtable.c | Кука "info_hashtable".
|
||||||
| hook-info.c | Кука "info".
|
| wee-hook-info.c | Кука "info".
|
||||||
| hook-infolist.c | Кука "infolist".
|
| wee-hook-infolist.c | Кука "infolist".
|
||||||
| hook-line.c | Кука "line".
|
| wee-hook-line.c | Кука "line".
|
||||||
| hook-modifier.c | Кука "modifier".
|
| wee-hook-modifier.c | Кука "modifier".
|
||||||
| hook-print.c | Кука "print".
|
| wee-hook-print.c | Кука "print".
|
||||||
| hook-process.c | Кука "process".
|
| wee-hook-process.c | Кука "process".
|
||||||
| hook-signal.c | Кука "signal".
|
| wee-hook-signal.c | Кука "signal".
|
||||||
| hook-timer.c | Кука "timer".
|
| wee-hook-timer.c | Кука "timer".
|
||||||
| hook-url.c | Кука "url".
|
|
||||||
| gui/ | Функције за бафере, прозоре, ... (користе их сви интерфејси).
|
| gui/ | Функције за бафере, прозоре, ... (користе их сви интерфејси).
|
||||||
| gui-bar-item.c | Ставке трака.
|
| gui-bar-item.c | Ставке трака.
|
||||||
| gui-bar-window.c | Прозори трака.
|
| gui-bar-window.c | Прозори трака.
|
||||||
@@ -177,8 +175,8 @@ WeeChat „језгро” се налази у следећим директо
|
|||||||
| gui-buffer.c | Бафери.
|
| gui-buffer.c | Бафери.
|
||||||
| gui-chat.c | Функције разговора (призаз поруке, ...).
|
| gui-chat.c | Функције разговора (призаз поруке, ...).
|
||||||
| gui-color.c | Функције боја.
|
| gui-color.c | Функције боја.
|
||||||
| gui-completion.c | Довршавање у командној линији.
|
| gui-completion.c | Довршавање у комадној линији.
|
||||||
| gui-cursor.c | Курсорски режим (слободно померање курсора).
|
| gui-cursor.c | Курсорски режим (слобосно померање курсора).
|
||||||
| gui-filter.c | Филтери.
|
| gui-filter.c | Филтери.
|
||||||
| gui-focus.c | Функције у вези фокуса (за курсорски режими миша).
|
| gui-focus.c | Функције у вези фокуса (за курсорски режими миша).
|
||||||
| gui-history.c | Команде/текст сачуван у баферима.
|
| gui-history.c | Команде/текст сачуван у баферима.
|
||||||
@@ -186,7 +184,7 @@ WeeChat „језгро” се налази у следећим директо
|
|||||||
| gui-input.c | Функције уноса (трака уноса).
|
| gui-input.c | Функције уноса (трака уноса).
|
||||||
| gui-key.c | Функције тастатуре.
|
| gui-key.c | Функције тастатуре.
|
||||||
| gui-layout.c | Распоред.
|
| gui-layout.c | Распоред.
|
||||||
| gui-line.c | Линије у баферу.
|
| gui-line.c | Линије у баферуLines in buffers.
|
||||||
| gui-mouse.c | Миш.
|
| gui-mouse.c | Миш.
|
||||||
| gui-nick.c | Функције надимака.
|
| gui-nick.c | Функције надимака.
|
||||||
| gui-nicklist.c | Листа надимака у баферима.
|
| gui-nicklist.c | Листа надимака у баферима.
|
||||||
@@ -216,7 +214,7 @@ WeeChat „језгро” се налази у следећим директо
|
|||||||
| plugins/ | Корен додатака.
|
| plugins/ | Корен додатака.
|
||||||
| plugin.c | Управљање додацима (учитавање/уклањање динамичких C библиотека).
|
| plugin.c | Управљање додацима (учитавање/уклањање динамичких C библиотека).
|
||||||
| plugin-api.c | Додатне функције за API додатака (омотач око WeeChat функција језгра).
|
| plugin-api.c | Додатне функције за API додатака (омотач око WeeChat функција језгра).
|
||||||
| plugin-api-info.c | Додатне info/infolist функције за API додатака.
|
| plugin-api-info.c | Додатне info/infolist фунцкије за API додатака.
|
||||||
| plugin-config.c | Опције конфигурације додатака (фајл plugins.conf).
|
| plugin-config.c | Опције конфигурације додатака (фајл plugins.conf).
|
||||||
| plugin-script.c | Опште функције које користе скрипт додаци.
|
| plugin-script.c | Опште функције које користе скрипт додаци.
|
||||||
| plugin-script-api.c | Скрипт API функције: омотачи око неких функција API додатака.
|
| plugin-script-api.c | Скрипт API функције: омотачи око неких функција API додатака.
|
||||||
@@ -240,14 +238,13 @@ WeeChat „језгро” се налази у следећим директо
|
|||||||
| buflist.c | Главне buflist функције.
|
| buflist.c | Главне buflist функције.
|
||||||
| buflist-bar-item.c | Buflist ставке траке.
|
| buflist-bar-item.c | Buflist ставке траке.
|
||||||
| buflist-command.c | Buflist команде.
|
| buflist-command.c | Buflist команде.
|
||||||
| buflist-completion.c | Buflist довршавања.
|
| buflist-config.c | Buflist опције кофиг (фајл buflist.conf).
|
||||||
| buflist-config.c | Buflist опције конфиг (фајл buflist.conf).
|
|
||||||
| buflist-info.c | Buflist info/infolists/hdata.
|
| buflist-info.c | Buflist info/infolists/hdata.
|
||||||
| buflist-mouse.c | Buflist акције мишем.
|
| buflist-mouse.c | Buflist акције мишем.
|
||||||
| charset/ | Charset додатак.
|
| charset/ | Charset додатак.
|
||||||
| charset.c | Charset функције.
|
| charset.c | Charset функције.
|
||||||
| exec/ | Exec додатак.
|
| exec/ | Exec додатак.
|
||||||
| exec.c | Главне exec функције.
|
| exec.c | Флавне exec функције.
|
||||||
| exec-buffer.c | Exec бафер.
|
| exec-buffer.c | Exec бафер.
|
||||||
| exec-command.c | Exec команде.
|
| exec-command.c | Exec команде.
|
||||||
| exec-completion.c | Exec довршавања.
|
| exec-completion.c | Exec довршавања.
|
||||||
@@ -268,7 +265,7 @@ WeeChat „језгро” се налази у следећим директо
|
|||||||
| fset-mouse.c | Fset акције мишем.
|
| fset-mouse.c | Fset акције мишем.
|
||||||
| fset-option.c | Fset управљање опцијама.
|
| fset-option.c | Fset управљање опцијама.
|
||||||
| guile/ | Guile (scheme) додатак.
|
| guile/ | Guile (scheme) додатак.
|
||||||
| weechat-guile.c | Главне guile функције (учитавање/уклањање скрипти, извршавање guile кода).
|
| weechat-guile.c | Главне guile функције (учитавањ/уклањање скрипти, извршавање guile кода).
|
||||||
| weechat-guile-api.c | API функције guile скриптовања.
|
| weechat-guile-api.c | API функције guile скриптовања.
|
||||||
| irc/ | IRC (Internet Relay Chat) додатак.
|
| irc/ | IRC (Internet Relay Chat) додатак.
|
||||||
| irc.c | Основне IRC функције.
|
| irc.c | Основне IRC функције.
|
||||||
@@ -286,7 +283,6 @@ WeeChat „језгро” се налази у следећим директо
|
|||||||
| irc-info.c | IRC info/infolists/hdata.
|
| irc-info.c | IRC info/infolists/hdata.
|
||||||
| irc-input.c | Унос команди/текста.
|
| irc-input.c | Унос команди/текста.
|
||||||
| irc-join.c | Функције за листе канала којима се приступа.
|
| irc-join.c | Функције за листе канала којима се приступа.
|
||||||
| irc-list.c | Бафер за одговор на /list команду.
|
|
||||||
| irc-message.c | Функције за манипулисање IRC порукама.
|
| irc-message.c | Функције за манипулисање IRC порукама.
|
||||||
| irc-mode.c | Функције у вези режима канала/надимка.
|
| irc-mode.c | Функције у вези режима канала/надимка.
|
||||||
| irc-modelist.c | Листе режима IRC канала (+b, +e, +I, ...).
|
| irc-modelist.c | Листе режима IRC канала (+b, +e, +I, ...).
|
||||||
@@ -333,24 +329,15 @@ WeeChat „језгро” се налази у следећим директо
|
|||||||
| relay-command.c | Релеј команде.
|
| relay-command.c | Релеј команде.
|
||||||
| relay-completion.c | Релеј довршавања.
|
| relay-completion.c | Релеј довршавања.
|
||||||
| relay-config.c | Релеј опције конфиг (фајл relay.conf).
|
| relay-config.c | Релеј опције конфиг (фајл relay.conf).
|
||||||
| relay-http.c | HTTP функције.
|
|
||||||
| relay-info.c | Релеј info/infolists/hdata.
|
| relay-info.c | Релеј info/infolists/hdata.
|
||||||
| relay-network.c | Мрежне функције за релеј.
|
| relay-network.c | Мрежне функције за релеј.
|
||||||
| relay-raw.c | Релеј сирови бафер.
|
| relay-raw.c | Релеј сирови бафер.
|
||||||
| relay-remote.c | Релеј удаљених.
|
|
||||||
| relay-server.c | Релеј сервер.
|
| relay-server.c | Релеј сервер.
|
||||||
| relay-upgrade.c | Чување/обнављање података релеја када се ажурира WeeChat.
|
| relay-upgrade.c | Save/restore of relay data when upgrading WeeChat.
|
||||||
| relay-websocket.c | WebSocket сервер функције (RFC 6455).
|
| relay-websocket.c | WebSocket сервер функције (RFC 6455).
|
||||||
| api/ | Релеј за удаљене интерфејсе (користећи HTTP REST API).
|
|
||||||
| relay-api.c | Главне API функције за HTTP REST API.
|
|
||||||
| relay-api-msg.c | Слање JSON порука клијентима.
|
|
||||||
| relay-api-protocol.c | HTTP REST API протокол.
|
|
||||||
| remote/ | Функције прослеђивања удаљених, специфичне за API.
|
|
||||||
| relay-remote-event.c | Обрада догађаја који се приме од релеја удаљених.
|
|
||||||
| relay-remote-network.c | Мрежне функције за релеј удаљених.
|
|
||||||
| irc/ | IRC прокси.
|
| irc/ | IRC прокси.
|
||||||
| relay-irc.c | Главне IRC прокси функције.
|
| relay-irc.c | Главне IRC прокси функције.
|
||||||
| weechat/ | Релеј за удаљене интерфејсе (користећи „weechat” бинарни протокол).
|
| weechat/ | Релеј за удаљене интерфејсе.
|
||||||
| relay-weechat.c | Релеј за удаљене интерфејсе (главне функције).
|
| relay-weechat.c | Релеј за удаљене интерфејсе (главне функције).
|
||||||
| relay-weechat-msg.c | Слање бинарних порука клијентима.
|
| relay-weechat-msg.c | Слање бинарних порука клијентима.
|
||||||
| relay-weechat-nicklist.c | Функције листе надимака.
|
| relay-weechat-nicklist.c | Функције листе надимака.
|
||||||
@@ -414,8 +401,6 @@ WeeChat „језгро” се налази у следећим директо
|
|||||||
| unparse.py | Конверзија Python кода у остале језике, користи је скрипта testapigen.py.
|
| unparse.py | Конверзија Python кода у остале језике, користи је скрипта testapigen.py.
|
||||||
| unit/ | Корен unit тестова.
|
| unit/ | Корен unit тестова.
|
||||||
| test-plugins.cpp | Тестови: plugins.
|
| test-plugins.cpp | Тестови: plugins.
|
||||||
| test-plugin-api-info.cpp | Тестови: инфо функције API додатака.
|
|
||||||
| test-plugin-config.cpp | Тестови: функције конфигурације додатка.
|
|
||||||
| core/ | Корен unit тестова језгра.
|
| core/ | Корен unit тестова језгра.
|
||||||
| test-core-arraylist.cpp | Тестови: arraylists.
|
| test-core-arraylist.cpp | Тестови: arraylists.
|
||||||
| test-core-calc.cpp | Тестови: калкулација израза.
|
| test-core-calc.cpp | Тестови: калкулација израза.
|
||||||
@@ -436,55 +421,25 @@ WeeChat „језгро” се налази у следећим директо
|
|||||||
| test-core-url.cpp | Тестови: URL адресе.
|
| test-core-url.cpp | Тестови: URL адресе.
|
||||||
| test-core-utf8.cpp | Тестови: UTF-8.
|
| test-core-utf8.cpp | Тестови: UTF-8.
|
||||||
| test-core-util.cpp | Тестови: помоћне функције.
|
| test-core-util.cpp | Тестови: помоћне функције.
|
||||||
| test-core-sys.cpp | Тестови: системске функције.
|
|
||||||
| hook/ | Корен unit тестова за куке.
|
|
||||||
| test-hook-command.cpp | Тестови: куке „command”.
|
|
||||||
| test-hook-command-run.cpp | Тестови: куке „command_run”.
|
|
||||||
| test-hook-completion.cpp | Тестови: куке „completion”.
|
|
||||||
| test-hook-config.cpp | Тестови: куке „config”.
|
|
||||||
| test-hook-connect.cpp | Тестови: куке „connect”.
|
|
||||||
| test-hook-fd.cpp | Тестови: куке „fd”.
|
|
||||||
| test-hook-focus.cpp | Тестови: куке „focus”.
|
|
||||||
| test-hook-hdata.cpp | Тестови: куке „hdata”.
|
|
||||||
| test-hook-hsignal.cpp | Тестови: куке „hsignal”.
|
|
||||||
| test-hook-info-hashtable.cpp | Тестови: куке „info_hashtable”.
|
|
||||||
| test-hook-info.cpp | Тестови: куке „info”.
|
|
||||||
| test-hook-infolist.cpp | Тестови: куке „infolist”.
|
|
||||||
| test-hook-line.cpp | Тестови: куке „line”.
|
|
||||||
| test-hook-modifier.cpp | Тестови: куке „modifier”.
|
|
||||||
| test-hook-print.cpp | Тестови: куке „print”.
|
|
||||||
| test-hook-process.cpp | Тестови: куке „process”.
|
|
||||||
| test-hook-signal.cpp | Тестови: куке „signal”.
|
|
||||||
| test-hook-timer.cpp | Тестови: куке „timer”.
|
|
||||||
| test-hook-url.cpp | Тестови: куке „url”.
|
|
||||||
| gui/ | Корен unit тестова интерфејса.
|
| gui/ | Корен unit тестова интерфејса.
|
||||||
| test-gui-bar-window.cpp | Тестови: функције прозора траке.
|
| test-gui-bar-window.cpp | Тестови: функције прозора траке.
|
||||||
| test-gui-buffer.cpp | Тестови: бафер функције.
|
| test-gui-buffer.cpp | Тестови: бафер функције.
|
||||||
| test-gui-chat.cpp | Тестови: чет функције.
|
| test-gui-chat.cpp | Тестови: чет функције.
|
||||||
| test-gui-color.cpp | Тестови: боје.
|
| test-gui-color.cpp | Тестови: боје.
|
||||||
| test-gui-filter.cpp | Тестови: филтери.
|
| test-gui-filter.cpp | Тестови: филтери.
|
||||||
| test-gui-hotlist.cpp | Тестови: функције врућих листи.
|
| test-gui-input.cpp | Тестови: улазне функкције.
|
||||||
| test-gui-input.cpp | Тестови: улазне функције.
|
|
||||||
| test-gui-key.cpp | Тестови: тастери.
|
| test-gui-key.cpp | Тестови: тастери.
|
||||||
| test-gui-line.cpp | Тестови: линије.
|
| test-gui-line.cpp | Тестови: линије.
|
||||||
| test-gui-nick.cpp | Тестови: надимци.
|
| test-gui-nick.cpp | Тестови: надимци.
|
||||||
| test-gui-nicklist.cpp | Тестови: функције листе надимака.
|
|
||||||
| curses/ | Корен unit тестова за Curses интерфејс.
|
|
||||||
| test-gui-curses-mouse.cpp | Тестови: миш (Curses интерфејс).
|
|
||||||
| plugins/ | Корен unit тестова додатака.
|
| plugins/ | Корен unit тестова додатака.
|
||||||
| irc/ | Корен unit тестова IRC додатка.
|
| irc/ | Корен unit тестова IRC додатка.
|
||||||
| test-irc-batch.cpp | Тестови: IRC пакетни догађаји.
|
| test-irc-batch.cpp | Тестови: IRC пакетни догађаји.
|
||||||
| test-irc-buffer.cpp | Тестови: IRC бафери.
|
| test-irc-buffer.cpp | Тестови: IRC бафери.
|
||||||
| test-irc-channel.cpp | Тестови: IRC канали.
|
| test-irc-channel.cpp | Тестови: IRC канали.
|
||||||
| test-irc-color.cpp | Тестови: IRC боје.
|
| test-irc-color.cpp | Тестови: IRC боје.
|
||||||
// TRANSLATION MISSING
|
|
||||||
| test-irc-command.cpp | Tests: IRC commands.
|
|
||||||
| test-irc-config.cpp | Тестови: IRC конфигурација.
|
| test-irc-config.cpp | Тестови: IRC конфигурација.
|
||||||
| test-irc-ctcp.cpp | Тестови: IRC CTCP.
|
|
||||||
| test-irc-ignore.cpp | Тестови: IRC игнорисања.
|
| test-irc-ignore.cpp | Тестови: IRC игнорисања.
|
||||||
| test-irc-info.cpp | Тестови: IRC информације.
|
|
||||||
| test-irc-join.cpp | Тестови: IRC функције приступања.
|
| test-irc-join.cpp | Тестови: IRC функције приступања.
|
||||||
| test-irc-list.cpp | Тестови: IRC бафер за одговор на /list команду.
|
|
||||||
| test-irc-message.cpp | Тестови: IRC поруке.
|
| test-irc-message.cpp | Тестови: IRC поруке.
|
||||||
| test-irc-mode.cpp | Тестови: IRC режими.
|
| test-irc-mode.cpp | Тестови: IRC режими.
|
||||||
| test-irc-nick.cpp | Тестови: IRC надимци.
|
| test-irc-nick.cpp | Тестови: IRC надимци.
|
||||||
@@ -492,10 +447,11 @@ WeeChat „језгро” се налази у следећим директо
|
|||||||
| test-irc-sasl.cpp | Тестови: SASL аутентификација са IRC протоколом.
|
| test-irc-sasl.cpp | Тестови: SASL аутентификација са IRC протоколом.
|
||||||
| test-irc-server.cpp | Тестови: IRC сервер.
|
| test-irc-server.cpp | Тестови: IRC сервер.
|
||||||
| test-irc-tag.cpp | Тестови: IRC ознаке порука.
|
| test-irc-tag.cpp | Тестови: IRC ознаке порука.
|
||||||
| logger/ | Корен unit тестова за logger додатак.
|
| logger/ | Корен unit тестива за logger додатак.
|
||||||
| test-logger.cpp | Тестови: logger.
|
| test-logger.cpp | Тестови: logger.
|
||||||
| test-logger-backlog.cpp | Тестови: logger заостатак.
|
| test-logger-backlog.cpp | Тестови: logger заостатак.
|
||||||
| test-logger-tail.cpp | Тестови: logger tail функције.
|
// TRANSLATION MISSING
|
||||||
|
| test-logger-tail.cpp | Tests: logger tail functions.
|
||||||
| trigger/ | Корен unit тестова за окидач додатак.
|
| trigger/ | Корен unit тестова за окидач додатак.
|
||||||
| test-trigger.cpp | Тестови: окидачи.
|
| test-trigger.cpp | Тестови: окидачи.
|
||||||
| test-trigger-config.cpp | Тестови: конфигурација окидача.
|
| test-trigger-config.cpp | Тестови: конфигурација окидача.
|
||||||
@@ -504,15 +460,10 @@ WeeChat „језгро” се налази у следећим директо
|
|||||||
| test-typing-status.cpp | Тестови: typing статус.
|
| test-typing-status.cpp | Тестови: typing статус.
|
||||||
| relay/ | Корен unit тестова за Релеј додатак.
|
| relay/ | Корен unit тестова за Релеј додатак.
|
||||||
| test-relay-auth.cpp | Тестови: аутентификација клијената.
|
| test-relay-auth.cpp | Тестови: аутентификација клијената.
|
||||||
| test-relay-http.cpp | Тестови: HTTP функције за Релеј додатак.
|
// TRANSLATION MISSING
|
||||||
| test-relay-remote.cpp | Тестови: удаљене функције за Релеј додатак.
|
| irc/ | Root of unit tests for Relay "irc" protocol.
|
||||||
| test-relay-websocket.cpp | Тестови: websocket функције за Релеј додатак.
|
// TRANSLATION MISSING
|
||||||
| api/ | Корен unit тестова за Релеј „api” протокол.
|
| test-relay-irc.cpp | Tests: Relay "irc" protocol.
|
||||||
| test-relay-api.cpp | Тестови: Релеј „api” протокол: опште функције.
|
|
||||||
| test-relay-api-msg.cpp | Тестови: Релеј „api” протокол: поруке.
|
|
||||||
| test-relay-api-protocol.cpp | Тестови: Релеј „api” протокол: протокол.
|
|
||||||
| irc/ | Корен unit тестова за Релеј „irc” протокол.
|
|
||||||
| test-relay-irc.cpp | Тестови: Релеј „irc” протокол.
|
|
||||||
| xfer/ | Корен unit тестова за Xfer додатак.
|
| xfer/ | Корен unit тестова за Xfer додатак.
|
||||||
| test-xfer-file.cpp | Тестови: фајл функције.
|
| test-xfer-file.cpp | Тестови: фајл функције.
|
||||||
| test-xfer-network.cpp | Тестови: мрежне функције.
|
| test-xfer-network.cpp | Тестови: мрежне функције.
|
||||||
@@ -573,7 +524,7 @@ WeeChat „језгро” се налази у следећим директо
|
|||||||
/*
|
/*
|
||||||
* weechat.c - core functions for WeeChat
|
* weechat.c - core functions for WeeChat
|
||||||
*
|
*
|
||||||
* Copyright (C) 2024 Your Name <your@email.com>
|
* Copyright (C) 2023 Your Name <your@email.com>
|
||||||
*
|
*
|
||||||
* This file is part of WeeChat, the extensible chat client.
|
* This file is part of WeeChat, the extensible chat client.
|
||||||
*
|
*
|
||||||
@@ -597,7 +548,7 @@ WeeChat „језгро” се налази у следећим директо
|
|||||||
|
|
||||||
Када пишете C кôд, *морате* да се придржавате неких основних правила:
|
Када пишете C кôд, *морате* да се придржавате неких основних правила:
|
||||||
|
|
||||||
* За увлачење користите 4 размака (без табулатора).
|
* Користите 4 размака за увлачење редова. Не употребљавајте табове, они су зло.
|
||||||
* Покушајте да не прекорачите 80 карактера по линији, осим ако је то неопходно за читљивост.
|
* Покушајте да не прекорачите 80 карактера по линији, осим ако је то неопходно за читљивост.
|
||||||
* Користите коментаре `+/* коментар */+` (а не коментаре у C99 стилу као што је `+// коментар+`).
|
* Користите коментаре `+/* коментар */+` (а не коментаре у C99 стилу као што је `+// коментар+`).
|
||||||
* Испред сваке функције додајте коментар који објашњава шта она ради (увек користите вишелинијски коментар, чак и ако је опис кратак).
|
* Испред сваке функције додајте коментар који објашњава шта она ради (увек користите вишелинијски коментар, чак и ако је опис кратак).
|
||||||
@@ -800,7 +751,7 @@ new_hook_fd = malloc (sizeof (*new_hook_fd));
|
|||||||
[width="100%", cols="2m,3", options="header"]
|
[width="100%", cols="2m,3", options="header"]
|
||||||
|===
|
|===
|
||||||
| Директоријум | Фајлови
|
| Директоријум | Фајлови
|
||||||
| src/core/ | weechat.c, core-backtrace.c, core-command.c, ...
|
| src/core/ | weechat.c, wee-backtrace.c, wee-command.c, ...
|
||||||
| src/gui/ | gui-bar.c, gui-bar-item.c, gui-bar-window.c, ...
|
| src/gui/ | gui-bar.c, gui-bar-item.c, gui-bar-window.c, ...
|
||||||
| src/gui/curses/ | gui-curses-bar.c, gui-curses-bar-window.c, gui-curses-chat.c, ...
|
| src/gui/curses/ | gui-curses-bar.c, gui-curses-bar-window.c, gui-curses-chat.c, ...
|
||||||
| src/plugins/ | plugin.c, plugin-api.c, plugin-api-info.c, plugin-config.c, plugin-script.c, ...
|
| src/plugins/ | plugin.c, plugin-api.c, plugin-api-info.c, plugin-config.c, plugin-script.c, ...
|
||||||
@@ -808,7 +759,7 @@ new_hook_fd = malloc (sizeof (*new_hook_fd));
|
|||||||
| src/plugins/python/ | weechat-python.c, weechat-python-api.c, ...
|
| src/plugins/python/ | weechat-python.c, weechat-python-api.c, ...
|
||||||
|===
|
|===
|
||||||
|
|
||||||
Заглавља C фајлова имају сито име као и фајл, на пример _core-command.h_ за фајл _core-command.c_.
|
Заглавља C фајлова имају сито име као и фајл, на пример _wee-command.h_ за фајл _wee-command.c_.
|
||||||
|
|
||||||
[[naming_convention_structures]]
|
[[naming_convention_structures]]
|
||||||
==== Структуре
|
==== Структуре
|
||||||
|
|||||||
+21
-75
@@ -517,31 +517,6 @@ UXTerm*metaSendsEscape: true
|
|||||||
|
|
||||||
Ако користите macOS Terminal апликацију, укључите опцију „Use option as meta key” у менију Settings/Keyboard након чега можете користити тастер kbd:[Option] као meta тастер.
|
Ако користите macOS Terminal апликацију, укључите опцију „Use option as meta key” у менију Settings/Keyboard након чега можете користити тастер kbd:[Option] као meta тастер.
|
||||||
|
|
||||||
[[enter_key]]
|
|
||||||
=== Зашто неки тастери, укључујући Ентер, не функционишу?
|
|
||||||
|
|
||||||
Ако извршавате WeeChat < 4.0.0 са конфигурационим фајловима које је креирала било
|
|
||||||
која верзија ≥ 4.0.0, имена тастера постану неисправна и многи тастери уопште неће радити. +
|
|
||||||
Да бисте их поправили, напустите WeeChat, уклоните из weechat.conf све одељке `[key*]`
|
|
||||||
и поново покрените WeeChat: креираће се сви подразумевани тастери.
|
|
||||||
|
|
||||||
[[key_f11]]
|
|
||||||
=== Тастер F11 максимизира прозор терминала, како могу да скролујем навише листу надимака?
|
|
||||||
|
|
||||||
Терминало обично користе тастер kbd:[F11] да максимизују прозор, а у програму WeeChat
|
|
||||||
тастери kbd:[F11]/kbd:[F12] су подразумевани тастери за скроловање листе надимака.
|
|
||||||
|
|
||||||
Можете да вежете остале тастере, на пример kbd:[Shift+F11] и kbd:[Shift+F12],
|
|
||||||
у WeeChat ≥ 4.0.0:
|
|
||||||
|
|
||||||
----
|
|
||||||
/key bind shift-f11 /bar scroll nicklist * -100%
|
|
||||||
/key bind shift-f12 /bar scroll nicklist * +100%
|
|
||||||
----
|
|
||||||
|
|
||||||
Још једно решење је да укључите миша (тастер: kbd:[Alt+m]) и да скролујете точкићем
|
|
||||||
миша (погледајте такође питање у вези са <<mouse,мишем>>).
|
|
||||||
|
|
||||||
[[customize_key_bindings]]
|
[[customize_key_bindings]]
|
||||||
=== Како могу да прилагодим тастерске пречице?
|
=== Како могу да прилагодим тастерске пречице?
|
||||||
|
|
||||||
@@ -568,12 +543,6 @@ UXTerm*metaSendsEscape: true
|
|||||||
/trigger add numberjump modifier "2000|input_text_for_buffer" "${tg_string} =~ ^/[0-9]+$" "=\/([0-9]+)=/buffer *${re:1}=" "" "" "none"
|
/trigger add numberjump modifier "2000|input_text_for_buffer" "${tg_string} =~ ^/[0-9]+$" "=\/([0-9]+)=/buffer *${re:1}=" "" "" "none"
|
||||||
----
|
----
|
||||||
|
|
||||||
За једноставно скакање на бафере, можете такође да инсталирате и _go.py_ скрипту:
|
|
||||||
|
|
||||||
----
|
|
||||||
/script install go.py
|
|
||||||
----
|
|
||||||
|
|
||||||
[[global_history]]
|
[[global_history]]
|
||||||
=== Како да се тастерима горе и доле користи глобална историја (уместо историје бафера)?
|
=== Како да се тастерима горе и доле користи глобална историја (уместо историје бафера)?
|
||||||
|
|
||||||
@@ -846,20 +815,32 @@ link:weechat_user.sr.html#max_hotlist_level_nicks[hotlist_max_level_nicks_add ^
|
|||||||
можете користити да за неке надимке подесите максимални ниво вруће листе, по баферу, или по
|
можете користити да за неке надимке подесите максимални ниво вруће листе, по баферу, или по
|
||||||
групи бафера (као на пример IRC сервери).
|
групи бафера (као на пример IRC сервери).
|
||||||
|
|
||||||
Ако само желите да искључите истицања, треба да је поставите на 2.
|
Ако само желите да искључите истицања, треба да је поставите на 2:
|
||||||
|
|
||||||
За текући бафер:
|
|
||||||
|
|
||||||
----
|
----
|
||||||
/buffer setauto hotlist_max_level_nicks_add пера:2,мика:2
|
/buffer set hotlist_max_level_nicks_add joe:2,mike:2
|
||||||
----
|
----
|
||||||
|
|
||||||
За све канале на серверу „libera”:
|
Међутим, ова особина бафера се не чува у конфигурацији. Ако желите да се ове особине бафера аутоматски поново примене, биће вам потребна скрипта _buffer_autoset.py_:
|
||||||
|
|
||||||
----
|
----
|
||||||
/set weechat.buffer.irc.libera.*.hotlist_max_level_nicks_add пера:2,мика:2
|
/script install buffer_autoset.py
|
||||||
----
|
----
|
||||||
|
|
||||||
|
На пример, ако за стално желите да искључите истицања од надимка „mike” са #weechat на IRC серверу libera:
|
||||||
|
|
||||||
|
----
|
||||||
|
/buffer_autoset add irc.libera.#weechat hotlist_max_level_nicks_add mike:2
|
||||||
|
----
|
||||||
|
|
||||||
|
Ако уместо овога желите да се примени на комплетан libera сервер:
|
||||||
|
|
||||||
|
----
|
||||||
|
/buffer_autoset add irc.libera hotlist_max_level_nicks_add mike:2
|
||||||
|
----
|
||||||
|
|
||||||
|
За још примера, погледајте `+/help buffer_autoset+`.
|
||||||
|
|
||||||
[[irc_target_buffer]]
|
[[irc_target_buffer]]
|
||||||
=== Како могу да променим циљни бафер за команде над спојеним баферима (као што је бафер са серверима)?
|
=== Како могу да променим циљни бафер за команде над спојеним баферима (као што је бафер са серверима)?
|
||||||
|
|
||||||
@@ -976,8 +957,7 @@ export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES
|
|||||||
|
|
||||||
Можете да следите исте савете као за <<memory_usage,меморију>>, као и следеће:
|
Можете да следите исте савете као за <<memory_usage,меморију>>, као и следеће:
|
||||||
|
|
||||||
* Сакријте „nicklist” траку: `/bar hide nicklist` (тастер: kbd:[Alt+Shift+N]).
|
* Сакријте „nicklist” траку: `/bar hide nicklist`.
|
||||||
* Искључите „buflist”: `/buflist disable` (тастер: kbd:[Alt+Shift+B]).
|
|
||||||
* Уклоните приказ секунди из времена у статусној траци: `+/set weechat.look.item_time_format "%H:%M"+` (ово је и подразумевана вредност).
|
* Уклоните приказ секунди из времена у статусној траци: `+/set weechat.look.item_time_format "%H:%M"+` (ово је и подразумевана вредност).
|
||||||
* Искључите проверу неисправно написаних речи у командној линији у реалном времену (ако сте је укључили): `+/set spell.check.real_time off+`.
|
* Искључите проверу неисправно написаних речи у командној линији у реалном времену (ако сте је укључили): `+/set spell.check.real_time off+`.
|
||||||
* Поставите променљиву _TZ_ (на пример: `export TZ="Europe/Paris"`), тиме спречавате чест приступ фајлу _/etc/localtime_.
|
* Поставите променљиву _TZ_ (на пример: `export TZ="Europe/Paris"`), тиме спречавате чест приступ фајлу _/etc/localtime_.
|
||||||
@@ -996,20 +976,14 @@ export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES
|
|||||||
|
|
||||||
----
|
----
|
||||||
/set irc.ctcp.clientinfo ""
|
/set irc.ctcp.clientinfo ""
|
||||||
|
/set irc.ctcp.finger ""
|
||||||
/set irc.ctcp.source ""
|
/set irc.ctcp.source ""
|
||||||
/set irc.ctcp.time ""
|
/set irc.ctcp.time ""
|
||||||
|
/set irc.ctcp.userinfo ""
|
||||||
/set irc.ctcp.version ""
|
/set irc.ctcp.version ""
|
||||||
/set irc.ctcp.ping ""
|
/set irc.ctcp.ping ""
|
||||||
----
|
----
|
||||||
|
|
||||||
Са WeeChat < 4.1.0, на остале CTCP упите се подразумевано одговарало и такође морају
|
|
||||||
да се искључе:
|
|
||||||
|
|
||||||
----
|
|
||||||
/set irc.ctcp.finger ""
|
|
||||||
/set irc.ctcp.userinfo ""
|
|
||||||
----
|
|
||||||
|
|
||||||
Уклоните из меморије и искључите ауто учитавање „xfer” додатка (користи се за IRC DCC):
|
Уклоните из меморије и искључите ауто учитавање „xfer” додатка (користи се за IRC DCC):
|
||||||
|
|
||||||
----
|
----
|
||||||
@@ -1038,34 +1012,6 @@ export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES
|
|||||||
|
|
||||||
Погледајте link:weechat_user.sr.html#files_and_directories[Корисничко упутство / Фајлови и директоријуми ^↗^^] за више информација о конфигурационим фајловима.
|
Погледајте link:weechat_user.sr.html#files_and_directories[Корисничко упутство / Фајлови и директоријуми ^↗^^] за више информација о конфигурационим фајловима.
|
||||||
|
|
||||||
[[move_to_another_device]]
|
|
||||||
=== Желим да преместим свој WeeChat на други уређај и да задржим текућу конфигурацију, шта би требало да копирам?
|
|
||||||
|
|
||||||
Следећом командом најпре проверите које директоријуме користи WeeChat: `/debug dirs`. +
|
|
||||||
Морају да се копирају директоријуми home/config и home/data (сви фајлови и поддиректоријуми).
|
|
||||||
|
|
||||||
На пример, ако користите XDG директоријуме (подразумевано са WeeChat ≥ 3.2),
|
|
||||||
директоријуми би требало да буду `$HOME/.config/weechat` и `$HOME/.local/share/weechat`. +
|
|
||||||
Ако користите један директоријум (подразумевано са WeeChat < 3.2), директоријум би
|
|
||||||
требало да буде `$HOME/.weechat`.
|
|
||||||
|
|
||||||
[IMPORTANT]
|
|
||||||
WeeChat верзија на новом уређају мора да буде већа или једнака од верзије на почетном
|
|
||||||
уређају. +
|
|
||||||
Враћање WeeChat конфигурације уназад *НИЈЕ ПОДРЖАНО* и може да је поквари,
|
|
||||||
па на тај начин WeeChat постаје неупотребљив.
|
|
||||||
|
|
||||||
Кораци:
|
|
||||||
|
|
||||||
. Напустите Weechat: `/quit` (или `/upgrade -quit` ако желите могућност да наставите сесију,
|
|
||||||
што укључује садржај свих бафера).
|
|
||||||
. Копирајте све директоријуме, поддиректоријуме и фајлове на нови уређај, задржавајући
|
|
||||||
иста имена и дозволе.
|
|
||||||
. Није обавезно: копирајте све фајлове ван ових директоријума на које указује ваша
|
|
||||||
конфигурација (не препоручује се употреба фајлова ван WeeChat директоријума).
|
|
||||||
. Покрените WeeChat на новом уређају: `weechat` (или `weechat --upgrade` у случају да сте
|
|
||||||
сачували сесију).
|
|
||||||
|
|
||||||
[[development]]
|
[[development]]
|
||||||
== Развој
|
== Развој
|
||||||
|
|
||||||
|
|||||||
+218
-1198
File diff suppressed because it is too large
Load Diff
@@ -92,7 +92,8 @@ _клијенти_ су повезани са _релејем_ као што ј
|
|||||||
[[command_handshake]]
|
[[command_handshake]]
|
||||||
=== handshake
|
=== handshake
|
||||||
|
|
||||||
_WeeChat ≥ 2.9, ажурирано у верзијама 3.5, 4.0.0._
|
// TRANSLATION MISSING
|
||||||
|
_WeeChat ≥ 2.9, updated in versions 3.5, 4.0.0._
|
||||||
|
|
||||||
Извршава руковање између клијента и програма WeeChat: ово је у већини случајева неопходно како би се сазнале поставке сесије и припремила аутентификација командом _init_.
|
Извршава руковање између клијента и програма WeeChat: ово је у већини случајева неопходно како би се сазнале поставке сесије и припремила аутентификација командом _init_.
|
||||||
|
|
||||||
@@ -122,10 +123,11 @@ _WeeChat ≥ 2.9, ажурирано у верзијама 3.5, 4.0.0._
|
|||||||
*** _zstd_: компресија са https://facebook.github.io/zstd/[Zstandard ^↗^^]: боља
|
*** _zstd_: компресија са https://facebook.github.io/zstd/[Zstandard ^↗^^]: боља
|
||||||
компресија, као и много бржа компресија и декомпресија у односу на _zlib_
|
компресија, као и много бржа компресија и декомпресија у односу на _zlib_
|
||||||
_(WeeChat ≥ 3.5)_
|
_(WeeChat ≥ 3.5)_
|
||||||
** _escape_commands_: команде које клијент шаље релеју морају да се означе:
|
// TRANSLATION MISSING
|
||||||
све обрнуте косе црте се интерпретирају и једна обрнута коса црта мора да се означи (`\\`);
|
** _escape_commands_: commands sent by the client to relay must be escaped:
|
||||||
на овај начин клијент, на пример, може да шаље вишелинијске поруке (карактери `\n` се
|
all backslashes are interpreted and a single backslash must be escaped (`\\`);
|
||||||
претварају у преломе редова, погледајте <<command_input,input команду>>)
|
this allows for example the client to send multiline messages (chars `\n` are
|
||||||
|
converted to newlines, see <<command_input,input command>>)
|
||||||
_(WeeChat ≥ 4.0.0)_
|
_(WeeChat ≥ 4.0.0)_
|
||||||
|
|
||||||
Напомене у вези опције _password_hash_algo_:
|
Напомене у вези опције _password_hash_algo_:
|
||||||
@@ -156,9 +158,10 @@ _WeeChat ≥ 2.9, ажурирано у верзијама 3.5, 4.0.0._
|
|||||||
** _off_: поруке се не компресују
|
** _off_: поруке се не компресују
|
||||||
** _zlib_: поруке су компресоване са https://zlib.net/[zlib ^↗^^]
|
** _zlib_: поруке су компресоване са https://zlib.net/[zlib ^↗^^]
|
||||||
** _zstd_: поруке су компресоване са https://facebook.github.io/zstd/[Zstandard ^↗^^]
|
** _zstd_: поруке су компресоване са https://facebook.github.io/zstd/[Zstandard ^↗^^]
|
||||||
|
// TRANSLATION MISSING
|
||||||
* _escape_commands_:
|
* _escape_commands_:
|
||||||
** _on_: све обрнуте косе црте у порукама клијента се интерпретирају
|
** _on_: all backslashes are interpreted in the client messages
|
||||||
** _off_: обрнуте косе црте у порукама клијента се *НЕ* интерпретирају и користе се онакве какве су
|
** _off_: backslashes are *NOT* interpreted in the client messages and used as-is
|
||||||
|
|
||||||
[TIP]
|
[TIP]
|
||||||
У програму WeeChat верзије ≤ 2.8, команда _handshake_ није имплементирана, програм WeeChat једноставно игнорише ову команду, чак и ако се пошаље пре _init_ команде. +
|
У програму WeeChat верзије ≤ 2.8, команда _handshake_ није имплементирана, програм WeeChat једноставно игнорише ову команду, чак и ако се пошаље пре _init_ команде. +
|
||||||
@@ -439,9 +442,7 @@ hda:
|
|||||||
'buffer': 'ptr',
|
'buffer': 'ptr',
|
||||||
'y': 'int',
|
'y': 'int',
|
||||||
'date': 'tim',
|
'date': 'tim',
|
||||||
'date_usec': 'int',
|
|
||||||
'date_printed': 'tim',
|
'date_printed': 'tim',
|
||||||
'date_usec_printed': 'int',
|
|
||||||
'str_time': 'str',
|
'str_time': 'str',
|
||||||
'tags_count': 'int',
|
'tags_count': 'int',
|
||||||
'tags_array': 'arr',
|
'tags_array': 'arr',
|
||||||
@@ -459,9 +460,7 @@ hda:
|
|||||||
buffer: '0x558d61ea3e60'
|
buffer: '0x558d61ea3e60'
|
||||||
y: -1
|
y: -1
|
||||||
date: 1588404926
|
date: 1588404926
|
||||||
date_usec: 118712
|
|
||||||
date_printed: 1588404926
|
date_printed: 1588404926
|
||||||
date_usec_printed: 118712
|
|
||||||
str_time: 'F@0025209F@0024535F@0024026'
|
str_time: 'F@0025209F@0024535F@0024026'
|
||||||
tags_count: 0
|
tags_count: 0
|
||||||
tags_array: []
|
tags_array: []
|
||||||
@@ -477,9 +476,7 @@ hda:
|
|||||||
buffer: '0x558d61ea3e60'
|
buffer: '0x558d61ea3e60'
|
||||||
y: -1
|
y: -1
|
||||||
date: 1588404930
|
date: 1588404930
|
||||||
date_usec: 25
|
|
||||||
date_printed: 1588404930
|
date_printed: 1588404930
|
||||||
date_usec_printed: 25
|
|
||||||
str_time: 'F@0025209F@0024535F@0024030'
|
str_time: 'F@0025209F@0024535F@0024030'
|
||||||
tags_count: 0
|
tags_count: 0
|
||||||
tags_array: []
|
tags_array: []
|
||||||
@@ -656,7 +653,6 @@ inl:
|
|||||||
nicklist_visible_count: 0
|
nicklist_visible_count: 0
|
||||||
title: 'WeeChat 2.9-dev (C) 2003-2020 - https://weechat.org/'
|
title: 'WeeChat 2.9-dev (C) 2003-2020 - https://weechat.org/'
|
||||||
input: 1
|
input: 1
|
||||||
input_get_any_user_data: 0
|
|
||||||
input_get_unknown_commands: 0
|
input_get_unknown_commands: 0
|
||||||
input_get_empty: 0
|
input_get_empty: 0
|
||||||
input_multiline: 0
|
input_multiline: 0
|
||||||
@@ -668,14 +664,11 @@ inl:
|
|||||||
input_buffer_1st_display: 0
|
input_buffer_1st_display: 0
|
||||||
num_history: 0
|
num_history: 0
|
||||||
text_search: 0
|
text_search: 0
|
||||||
text_search_direction: 0
|
|
||||||
text_search_exact: 0
|
text_search_exact: 0
|
||||||
text_search_regex: 0
|
text_search_regex: 0
|
||||||
text_search_regex_compiled: '0x0'
|
text_search_regex_compiled: '0x0'
|
||||||
text_search_where: 0
|
text_search_where: 0
|
||||||
text_search_history: 0
|
|
||||||
text_search_found: 0
|
text_search_found: 0
|
||||||
text_search_ptr_history: '0x0'
|
|
||||||
text_search_input: None
|
text_search_input: None
|
||||||
highlight_words: None
|
highlight_words: None
|
||||||
highlight_disable_regex: None
|
highlight_disable_regex: None
|
||||||
@@ -954,8 +947,9 @@ input core.weechat /help filter
|
|||||||
input irc.libera.#weechat здраво!
|
input irc.libera.#weechat здраво!
|
||||||
----
|
----
|
||||||
|
|
||||||
* Шаље вишелинијску поруку на #test канал (опција _escape_commands_ мора да буде
|
// TRANSLATION MISSING
|
||||||
укључена у <<command_handshake,handshake команди>> и потребан је
|
* Send multiline message to #test channel (option _escape_commands_ must have
|
||||||
|
been enabled in <<command_handshake,handshake command>> and requires
|
||||||
WeeChat ≥ 4.0.0):
|
WeeChat ≥ 4.0.0):
|
||||||
|
|
||||||
----
|
----
|
||||||
@@ -1956,9 +1950,7 @@ hda:
|
|||||||
| Име | Тип | Опис
|
| Име | Тип | Опис
|
||||||
| buffer | показивач | Показивач на бафер.
|
| buffer | показивач | Показивач на бафер.
|
||||||
| date | време | Датум поруке.
|
| date | време | Датум поруке.
|
||||||
| date_usec | цео број | Микросекунде датума.
|
|
||||||
| date_printed | време | Датум када је програм WeeChat приказао поруку.
|
| date_printed | време | Датум када је програм WeeChat приказао поруку.
|
||||||
| date_usec_printed | цео број | Микросекунде датума када је WeeChat приказао поруку.
|
|
||||||
| displayed | карактер | 1 ако је порука приказана, 0 ако је порука филтрирана (скривена).
|
| displayed | карактер | 1 ако је порука приказана, 0 ако је порука филтрирана (скривена).
|
||||||
| notify_level | карактер | Ниво обавештења: -1 = обавештење искључено, 0 = ниски, 1 = порука, 2 = приватно, 3 = истицање.
|
| notify_level | карактер | Ниво обавештења: -1 = обавештење искључено, 0 = ниски, 1 = порука, 2 = приватно, 3 = истицање.
|
||||||
| highlight | карактер | 1 ако се у линији налази истицање, у супротном 0.
|
| highlight | карактер | 1 ако се у линији налази истицање, у супротном 0.
|
||||||
@@ -1976,9 +1968,7 @@ hda:
|
|||||||
keys: {
|
keys: {
|
||||||
'buffer': 'ptr',
|
'buffer': 'ptr',
|
||||||
'date': 'tim',
|
'date': 'tim',
|
||||||
'date_usec': 'int',
|
|
||||||
'date_printed': 'tim',
|
'date_printed': 'tim',
|
||||||
'date_usec_printed': 'int',
|
|
||||||
'displayed': 'chr',
|
'displayed': 'chr',
|
||||||
'notify_level': 'chr',
|
'notify_level': 'chr',
|
||||||
'highlight': 'chr',
|
'highlight': 'chr',
|
||||||
@@ -1991,9 +1981,7 @@ hda:
|
|||||||
__path: ['0x4a49600']
|
__path: ['0x4a49600']
|
||||||
buffer: '0x4a715d0'
|
buffer: '0x4a715d0'
|
||||||
date: 1362728993
|
date: 1362728993
|
||||||
date_usec: 902765
|
|
||||||
date_printed: 1362728993
|
date_printed: 1362728993
|
||||||
date_usec_printed: 902765
|
|
||||||
displayed: 1
|
displayed: 1
|
||||||
notify_level: 1
|
notify_level: 1
|
||||||
highlight: 0
|
highlight: 0
|
||||||
|
|||||||
@@ -510,14 +510,315 @@ weechat_hook_timer(1000, 0, 1, $timer_cb, 'test');
|
|||||||
|
|
||||||
Листа функција у API скриптовања:
|
Листа функција у API скриптовања:
|
||||||
|
|
||||||
include::{autogendir}/autogen_scripting_functions.sr.adoc[tag=functions]
|
[width="100%", cols="1,5", options="header"]
|
||||||
|
|===
|
||||||
|
| Категорија | Функције
|
||||||
|
|
||||||
|
| опште
|
||||||
|
| register
|
||||||
|
|
||||||
|
| додаци
|
||||||
|
| plugin_get_name
|
||||||
|
|
||||||
|
| стрингови
|
||||||
|
| charset_set +
|
||||||
|
iconv_to_internal +
|
||||||
|
iconv_from_internal +
|
||||||
|
gettext +
|
||||||
|
ngettext +
|
||||||
|
strlen_screen +
|
||||||
|
string_match +
|
||||||
|
string_match_list +
|
||||||
|
string_has_highlight +
|
||||||
|
string_has_highlight_regex +
|
||||||
|
string_mask_to_regex +
|
||||||
|
string_format_size +
|
||||||
|
string_parse_size +
|
||||||
|
string_color_code_size +
|
||||||
|
string_remove_color +
|
||||||
|
string_is_command_char +
|
||||||
|
string_input_for_buffer +
|
||||||
|
string_eval_expression +
|
||||||
|
string_eval_path_home
|
||||||
|
|
||||||
|
| директоријуми
|
||||||
|
| mkdir_home +
|
||||||
|
mkdir +
|
||||||
|
mkdir_parents
|
||||||
|
|
||||||
|
| сортиране листе
|
||||||
|
| list_new +
|
||||||
|
list_add +
|
||||||
|
list_search +
|
||||||
|
list_search_pos +
|
||||||
|
list_casesearch +
|
||||||
|
list_casesearch_pos +
|
||||||
|
list_get +
|
||||||
|
list_set +
|
||||||
|
list_next +
|
||||||
|
list_prev +
|
||||||
|
list_string +
|
||||||
|
list_size +
|
||||||
|
list_remove +
|
||||||
|
list_remove_all +
|
||||||
|
list_free
|
||||||
|
|
||||||
|
| кофнигурациони фајлови
|
||||||
|
| config_new +
|
||||||
|
config_new_section +
|
||||||
|
config_search_section +
|
||||||
|
config_new_option +
|
||||||
|
config_search_option +
|
||||||
|
config_string_to_boolean +
|
||||||
|
config_option_reset +
|
||||||
|
config_option_set +
|
||||||
|
config_option_set_null +
|
||||||
|
config_option_unset +
|
||||||
|
config_option_rename +
|
||||||
|
config_option_is_null +
|
||||||
|
config_option_default_is_null +
|
||||||
|
config_boolean +
|
||||||
|
config_boolean_default +
|
||||||
|
config_integer +
|
||||||
|
config_integer_default +
|
||||||
|
config_string +
|
||||||
|
config_string_default +
|
||||||
|
config_color +
|
||||||
|
config_color_default +
|
||||||
|
config_write_option +
|
||||||
|
config_write_line +
|
||||||
|
config_write +
|
||||||
|
config_read +
|
||||||
|
config_reload +
|
||||||
|
config_option_free +
|
||||||
|
config_section_free_options +
|
||||||
|
config_section_free +
|
||||||
|
config_free +
|
||||||
|
config_get +
|
||||||
|
config_get_plugin +
|
||||||
|
config_is_set_plugin +
|
||||||
|
config_set_plugin +
|
||||||
|
config_set_desc_plugin +
|
||||||
|
config_unset_plugin
|
||||||
|
|
||||||
|
| тастерске пречице
|
||||||
|
| key_bind +
|
||||||
|
key_unbind
|
||||||
|
|
||||||
|
| приказ
|
||||||
|
| prefix +
|
||||||
|
color +
|
||||||
|
print (за python: prnt) +
|
||||||
|
print_date_tags (за python: prnt_date_tags) +
|
||||||
|
print_y (за python: prnt_y) +
|
||||||
|
print_y_date_tags (за python: prnt_y_date_tags) +
|
||||||
|
log_print
|
||||||
|
|
||||||
|
| куке
|
||||||
|
| hook_command +
|
||||||
|
hook_command_run +
|
||||||
|
hook_timer +
|
||||||
|
hook_fd +
|
||||||
|
hook_process +
|
||||||
|
hook_process_hashtable +
|
||||||
|
hook_connect +
|
||||||
|
hook_line +
|
||||||
|
hook_print +
|
||||||
|
hook_signal +
|
||||||
|
hook_signal_send +
|
||||||
|
hook_hsignal +
|
||||||
|
hook_hsignal_send +
|
||||||
|
hook_config +
|
||||||
|
hook_completion +
|
||||||
|
hook_modifier +
|
||||||
|
hook_modifier_exec +
|
||||||
|
hook_info +
|
||||||
|
hook_info_hashtable +
|
||||||
|
hook_infolist +
|
||||||
|
hook_focus +
|
||||||
|
hook_set +
|
||||||
|
unhook +
|
||||||
|
unhook_all
|
||||||
|
|
||||||
|
| бафери
|
||||||
|
| buffer_new +
|
||||||
|
buffer_new_props +
|
||||||
|
current_buffer +
|
||||||
|
buffer_search +
|
||||||
|
buffer_search_main +
|
||||||
|
buffer_clear +
|
||||||
|
buffer_close +
|
||||||
|
buffer_merge +
|
||||||
|
buffer_unmerge +
|
||||||
|
buffer_get_integer +
|
||||||
|
buffer_get_string +
|
||||||
|
buffer_get_pointer +
|
||||||
|
buffer_set +
|
||||||
|
buffer_string_replace_local_var +
|
||||||
|
buffer_match_list
|
||||||
|
|
||||||
|
| прозори
|
||||||
|
| current_window +
|
||||||
|
window_search_with_buffer +
|
||||||
|
window_get_integer +
|
||||||
|
window_get_string +
|
||||||
|
window_get_pointer +
|
||||||
|
window_set_title
|
||||||
|
|
||||||
|
| листа надимака
|
||||||
|
| nicklist_add_group +
|
||||||
|
nicklist_search_group +
|
||||||
|
nicklist_add_nick +
|
||||||
|
nicklist_search_nick +
|
||||||
|
nicklist_remove_group +
|
||||||
|
nicklist_remove_nick +
|
||||||
|
nicklist_remove_all +
|
||||||
|
nicklist_group_get_integer +
|
||||||
|
nicklist_group_get_string +
|
||||||
|
nicklist_group_get_pointer +
|
||||||
|
nicklist_group_set +
|
||||||
|
nicklist_nick_get_integer +
|
||||||
|
nicklist_nick_get_string +
|
||||||
|
nicklist_nick_get_pointer +
|
||||||
|
nicklist_nick_set
|
||||||
|
|
||||||
|
| траке
|
||||||
|
| bar_item_search +
|
||||||
|
bar_item_new +
|
||||||
|
bar_item_update +
|
||||||
|
bar_item_remove +
|
||||||
|
bar_search +
|
||||||
|
bar_new +
|
||||||
|
bar_set +
|
||||||
|
bar_update +
|
||||||
|
bar_remove
|
||||||
|
|
||||||
|
| команде
|
||||||
|
| command +
|
||||||
|
command_options
|
||||||
|
|
||||||
|
| довршавање
|
||||||
|
| completion_new +
|
||||||
|
completion_search +
|
||||||
|
completion_get_string +
|
||||||
|
completion_list_add +
|
||||||
|
completion_free
|
||||||
|
|
||||||
|
| infos
|
||||||
|
| info_get +
|
||||||
|
info_get_hashtable
|
||||||
|
|
||||||
|
| infolists
|
||||||
|
| infolist_new +
|
||||||
|
infolist_new_item +
|
||||||
|
infolist_new_var_integer +
|
||||||
|
infolist_new_var_string +
|
||||||
|
infolist_new_var_pointer +
|
||||||
|
infolist_new_var_time +
|
||||||
|
infolist_get +
|
||||||
|
infolist_next +
|
||||||
|
infolist_prev +
|
||||||
|
infolist_reset_item_cursor +
|
||||||
|
infolist_search_var +
|
||||||
|
infolist_fields +
|
||||||
|
infolist_integer +
|
||||||
|
infolist_string +
|
||||||
|
infolist_pointer +
|
||||||
|
infolist_time +
|
||||||
|
infolist_free
|
||||||
|
|
||||||
|
| hdata
|
||||||
|
| hdata_get +
|
||||||
|
hdata_get_var_offset +
|
||||||
|
hdata_get_var_type_string +
|
||||||
|
hdata_get_var_array_size +
|
||||||
|
hdata_get_var_array_size_string +
|
||||||
|
hdata_get_var_hdata +
|
||||||
|
hdata_get_list +
|
||||||
|
hdata_check_pointer +
|
||||||
|
hdata_move +
|
||||||
|
hdata_search +
|
||||||
|
hdata_char +
|
||||||
|
hdata_integer +
|
||||||
|
hdata_long +
|
||||||
|
hdata_string +
|
||||||
|
hdata_pointer +
|
||||||
|
hdata_time +
|
||||||
|
hdata_hashtable +
|
||||||
|
hdata_compare +
|
||||||
|
hdata_update +
|
||||||
|
hdata_get_string
|
||||||
|
|
||||||
|
| ажурирање
|
||||||
|
| upgrade_new +
|
||||||
|
upgrade_write_object +
|
||||||
|
upgrade_read +
|
||||||
|
upgrade_close
|
||||||
|
|===
|
||||||
|
|
||||||
[[script_api_constants]]
|
[[script_api_constants]]
|
||||||
=== Константе
|
=== Константе
|
||||||
|
|
||||||
Листа константи у API скриптовања:
|
Листа константи у API скриптовања:
|
||||||
|
|
||||||
include::{autogendir}/autogen_scripting_constants.sr.adoc[tag=constants]
|
[width="100%", cols="1,5", options="header"]
|
||||||
|
|===
|
||||||
|
| Категорија | Константе
|
||||||
|
|
||||||
|
| повратни кодови
|
||||||
|
| `WEECHAT_RC_OK` (цео број) +
|
||||||
|
`WEECHAT_RC_OK_EAT` (цео број) +
|
||||||
|
`WEECHAT_RC_ERROR` (цео број)
|
||||||
|
|
||||||
|
| конфигурациони фајлови
|
||||||
|
| `WEECHAT_CONFIG_READ_OK` (цео број) +
|
||||||
|
`WEECHAT_CONFIG_READ_MEMORY_ERROR` (цео број) +
|
||||||
|
`WEECHAT_CONFIG_READ_FILE_NOT_FOUND` (цео број) +
|
||||||
|
`WEECHAT_CONFIG_WRITE_OK` (цео број) +
|
||||||
|
`WEECHAT_CONFIG_WRITE_ERROR` (цео број) +
|
||||||
|
`WEECHAT_CONFIG_WRITE_MEMORY_ERROR` (цео број) +
|
||||||
|
`WEECHAT_CONFIG_OPTION_SET_OK_CHANGED` (цео број) +
|
||||||
|
`WEECHAT_CONFIG_OPTION_SET_OK_SAME_VALUE` (цео број) +
|
||||||
|
`WEECHAT_CONFIG_OPTION_SET_ERROR` (цео број) +
|
||||||
|
`WEECHAT_CONFIG_OPTION_SET_OPTION_NOT_FOUND` (цео број) +
|
||||||
|
`WEECHAT_CONFIG_OPTION_UNSET_OK_NO_RESET` (цео број) +
|
||||||
|
`WEECHAT_CONFIG_OPTION_UNSET_OK_RESET` (цео број) +
|
||||||
|
`WEECHAT_CONFIG_OPTION_UNSET_OK_REMOVED` (цео број) +
|
||||||
|
`WEECHAT_CONFIG_OPTION_UNSET_ERROR` (цео број)
|
||||||
|
|
||||||
|
| сортиране листе
|
||||||
|
| `WEECHAT_LIST_POS_SORT` (стринг) +
|
||||||
|
`WEECHAT_LIST_POS_BEGINNING` (стринг) +
|
||||||
|
`WEECHAT_LIST_POS_END` (стринг)
|
||||||
|
|
||||||
|
| врућа листа
|
||||||
|
| `WEECHAT_HOTLIST_LOW` (стринг) +
|
||||||
|
`WEECHAT_HOTLIST_MESSAGE` (стринг) +
|
||||||
|
`WEECHAT_HOTLIST_PRIVATE` (стринг) +
|
||||||
|
`WEECHAT_HOTLIST_HIGHLIGHT` (стринг)
|
||||||
|
|
||||||
|
| кука process
|
||||||
|
| `WEECHAT_HOOK_PROCESS_RUNNING` (цео број) +
|
||||||
|
`WEECHAT_HOOK_PROCESS_ERROR` (цео број)
|
||||||
|
|
||||||
|
| кука connect
|
||||||
|
| `WEECHAT_HOOK_CONNECT_OK` (цео број) +
|
||||||
|
`WEECHAT_HOOK_CONNECT_ADDRESS_NOT_FOUND` (цео број) +
|
||||||
|
`WEECHAT_HOOK_CONNECT_IP_ADDRESS_NOT_FOUND` (цео број) +
|
||||||
|
`WEECHAT_HOOK_CONNECT_CONNECTION_REFUSED` (цео број) +
|
||||||
|
`WEECHAT_HOOK_CONNECT_PROXY_ERROR` (цео број) +
|
||||||
|
`WEECHAT_HOOK_CONNECT_LOCAL_HOSTNAME_ERROR` (цео број) +
|
||||||
|
`WEECHAT_HOOK_CONNECT_GNUTLS_INIT_ERROR` (цео број) +
|
||||||
|
`WEECHAT_HOOK_CONNECT_GNUTLS_HANDSHAKE_ERROR` (цео број) +
|
||||||
|
`WEECHAT_HOOK_CONNECT_MEMORY_ERROR` (цео број) +
|
||||||
|
`WEECHAT_HOOK_CONNECT_TIMEOUT` (цео број) +
|
||||||
|
`WEECHAT_HOOK_CONNECT_SOCKET_ERROR` (цео број)
|
||||||
|
|
||||||
|
| кука signal
|
||||||
|
| `WEECHAT_HOOK_SIGNAL_STRING` (стринг) +
|
||||||
|
`WEECHAT_HOOK_SIGNAL_INT` (стринг) +
|
||||||
|
`WEECHAT_HOOK_SIGNAL_POINTER` (стринг)
|
||||||
|
|===
|
||||||
|
|
||||||
[[common_tasks]]
|
[[common_tasks]]
|
||||||
== Уобичајени задаци
|
== Уобичајени задаци
|
||||||
|
|||||||
+164
-405
File diff suppressed because it is too large
Load Diff
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2003-2024 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2003-2023 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# This file is part of WeeChat, the extensible chat client.
|
# This file is part of WeeChat, the extensible chat client.
|
||||||
#
|
#
|
||||||
|
|||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2003-2024 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2003-2023 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
#
|
#
|
||||||
# This file is part of WeeChat, the extensible chat client.
|
# This file is part of WeeChat, the extensible chat client.
|
||||||
#
|
#
|
||||||
|
|||||||
+3048
-5645
File diff suppressed because it is too large
Load Diff
+100
-122
@@ -1,110 +1,106 @@
|
|||||||
SET(WEECHAT_SOURCES
|
SET(WEECHAT_SOURCES
|
||||||
./src/core/hook/hook-command.c
|
./src/core/hook/wee-hook-command.c
|
||||||
./src/core/hook/hook-command.h
|
./src/core/hook/wee-hook-command.h
|
||||||
./src/core/hook/hook-command-run.c
|
./src/core/hook/wee-hook-command-run.c
|
||||||
./src/core/hook/hook-command-run.h
|
./src/core/hook/wee-hook-command-run.h
|
||||||
./src/core/hook/hook-completion.c
|
./src/core/hook/wee-hook-completion.c
|
||||||
./src/core/hook/hook-completion.h
|
./src/core/hook/wee-hook-completion.h
|
||||||
./src/core/hook/hook-config.c
|
./src/core/hook/wee-hook-config.c
|
||||||
./src/core/hook/hook-config.h
|
./src/core/hook/wee-hook-config.h
|
||||||
./src/core/hook/hook-connect.c
|
./src/core/hook/wee-hook-connect.c
|
||||||
./src/core/hook/hook-connect.h
|
./src/core/hook/wee-hook-connect.h
|
||||||
./src/core/hook/hook-fd.c
|
./src/core/hook/wee-hook-fd.c
|
||||||
./src/core/hook/hook-fd.h
|
./src/core/hook/wee-hook-fd.h
|
||||||
./src/core/hook/hook-focus.c
|
./src/core/hook/wee-hook-focus.c
|
||||||
./src/core/hook/hook-focus.h
|
./src/core/hook/wee-hook-focus.h
|
||||||
./src/core/hook/hook-hdata.c
|
./src/core/hook/wee-hook-hdata.c
|
||||||
./src/core/hook/hook-hdata.h
|
./src/core/hook/wee-hook-hdata.h
|
||||||
./src/core/hook/hook-hsignal.c
|
./src/core/hook/wee-hook-hsignal.c
|
||||||
./src/core/hook/hook-hsignal.h
|
./src/core/hook/wee-hook-hsignal.h
|
||||||
./src/core/hook/hook-info.c
|
./src/core/hook/wee-hook-info.c
|
||||||
./src/core/hook/hook-info.h
|
./src/core/hook/wee-hook-info.h
|
||||||
./src/core/hook/hook-info-hashtable.c
|
./src/core/hook/wee-hook-info-hashtable.c
|
||||||
./src/core/hook/hook-info-hashtable.h
|
./src/core/hook/wee-hook-info-hashtable.h
|
||||||
./src/core/hook/hook-infolist.c
|
./src/core/hook/wee-hook-infolist.c
|
||||||
./src/core/hook/hook-infolist.h
|
./src/core/hook/wee-hook-infolist.h
|
||||||
./src/core/hook/hook-line.c
|
./src/core/hook/wee-hook-line.c
|
||||||
./src/core/hook/hook-line.h
|
./src/core/hook/wee-hook-line.h
|
||||||
./src/core/hook/hook-modifier.c
|
./src/core/hook/wee-hook-modifier.c
|
||||||
./src/core/hook/hook-modifier.h
|
./src/core/hook/wee-hook-modifier.h
|
||||||
./src/core/hook/hook-print.c
|
./src/core/hook/wee-hook-print.c
|
||||||
./src/core/hook/hook-print.h
|
./src/core/hook/wee-hook-print.h
|
||||||
./src/core/hook/hook-process.c
|
./src/core/hook/wee-hook-process.c
|
||||||
./src/core/hook/hook-process.h
|
./src/core/hook/wee-hook-process.h
|
||||||
./src/core/hook/hook-signal.c
|
./src/core/hook/wee-hook-signal.c
|
||||||
./src/core/hook/hook-signal.h
|
./src/core/hook/wee-hook-signal.h
|
||||||
./src/core/hook/hook-timer.c
|
./src/core/hook/wee-hook-timer.c
|
||||||
./src/core/hook/hook-timer.h
|
./src/core/hook/wee-hook-timer.h
|
||||||
./src/core/hook/hook-url.c
|
./src/core/wee-arraylist.c
|
||||||
./src/core/hook/hook-url.h
|
./src/core/wee-arraylist.h
|
||||||
./src/core/core-arraylist.c
|
./src/core/wee-backtrace.c
|
||||||
./src/core/core-arraylist.h
|
./src/core/wee-backtrace.h
|
||||||
./src/core/core-backtrace.c
|
./src/core/wee-calc.c
|
||||||
./src/core/core-backtrace.h
|
./src/core/wee-calc.h
|
||||||
./src/core/core-calc.c
|
|
||||||
./src/core/core-calc.h
|
|
||||||
./src/core/weechat.c
|
./src/core/weechat.c
|
||||||
./src/core/weechat.h
|
./src/core/weechat.h
|
||||||
./src/core/core-command.c
|
./src/core/wee-command.c
|
||||||
./src/core/core-command.h
|
./src/core/wee-command.h
|
||||||
./src/core/core-completion.c
|
./src/core/wee-completion.c
|
||||||
./src/core/core-completion.h
|
./src/core/wee-completion.h
|
||||||
./src/core/core-config.c
|
./src/core/wee-config.c
|
||||||
./src/core/core-config-file.c
|
./src/core/wee-config-file.c
|
||||||
./src/core/core-config-file.h
|
./src/core/wee-config-file.h
|
||||||
./src/core/core-config.h
|
./src/core/wee-config.h
|
||||||
./src/core/core-crypto.c
|
./src/core/wee-crypto.c
|
||||||
./src/core/core-crypto.h
|
./src/core/wee-crypto.h
|
||||||
./src/core/core-debug.c
|
./src/core/wee-debug.c
|
||||||
./src/core/core-debug.h
|
./src/core/wee-debug.h
|
||||||
./src/core/core-dir.c
|
./src/core/wee-dir.c
|
||||||
./src/core/core-dir.h
|
./src/core/wee-dir.h
|
||||||
./src/core/core-doc.c
|
./src/core/wee-doc.c
|
||||||
./src/core/core-doc.h
|
./src/core/wee-doc.h
|
||||||
./src/core/core-eval.c
|
./src/core/wee-eval.c
|
||||||
./src/core/core-eval.h
|
./src/core/wee-eval.h
|
||||||
./src/core/core-hashtable.c
|
./src/core/wee-hashtable.c
|
||||||
./src/core/core-hashtable.h
|
./src/core/wee-hashtable.h
|
||||||
./src/core/core-hdata.c
|
./src/core/wee-hdata.c
|
||||||
./src/core/core-hdata.h
|
./src/core/wee-hdata.h
|
||||||
./src/core/core-hook.c
|
./src/core/wee-hook.c
|
||||||
./src/core/core-hook.h
|
./src/core/wee-hook.h
|
||||||
./src/core/core-infolist.c
|
./src/core/wee-infolist.c
|
||||||
./src/core/core-infolist.h
|
./src/core/wee-infolist.h
|
||||||
./src/core/core-input.c
|
./src/core/wee-input.c
|
||||||
./src/core/core-input.h
|
./src/core/wee-input.h
|
||||||
./src/core/core-list.c
|
./src/core/wee-list.c
|
||||||
./src/core/core-list.h
|
./src/core/wee-list.h
|
||||||
./src/core/core-log.c
|
./src/core/wee-log.c
|
||||||
./src/core/core-log.h
|
./src/core/wee-log.h
|
||||||
./src/core/core-network.c
|
./src/core/wee-network.c
|
||||||
./src/core/core-network.h
|
./src/core/wee-network.h
|
||||||
./src/core/core-proxy.c
|
./src/core/wee-proxy.c
|
||||||
./src/core/core-proxy.h
|
./src/core/wee-proxy.h
|
||||||
./src/core/core-secure-buffer.c
|
./src/core/wee-secure-buffer.c
|
||||||
./src/core/core-secure-buffer.h
|
./src/core/wee-secure-buffer.h
|
||||||
./src/core/core-secure.c
|
./src/core/wee-secure.c
|
||||||
./src/core/core-secure-config.c
|
./src/core/wee-secure-config.c
|
||||||
./src/core/core-secure-config.h
|
./src/core/wee-secure-config.h
|
||||||
./src/core/core-secure.h
|
./src/core/wee-secure.h
|
||||||
./src/core/core-signal.c
|
./src/core/wee-signal.c
|
||||||
./src/core/core-signal.h
|
./src/core/wee-signal.h
|
||||||
./src/core/core-string.c
|
./src/core/wee-string.c
|
||||||
./src/core/core-string.h
|
./src/core/wee-string.h
|
||||||
./src/core/core-sys.c
|
./src/core/wee-upgrade.c
|
||||||
./src/core/core-sys.h
|
./src/core/wee-upgrade-file.c
|
||||||
./src/core/core-upgrade.c
|
./src/core/wee-upgrade-file.h
|
||||||
./src/core/core-upgrade-file.c
|
./src/core/wee-upgrade.h
|
||||||
./src/core/core-upgrade-file.h
|
./src/core/wee-url.c
|
||||||
./src/core/core-upgrade.h
|
./src/core/wee-url.h
|
||||||
./src/core/core-url.c
|
./src/core/wee-utf8.c
|
||||||
./src/core/core-url.h
|
./src/core/wee-utf8.h
|
||||||
./src/core/core-utf8.c
|
./src/core/wee-util.c
|
||||||
./src/core/core-utf8.h
|
./src/core/wee-util.h
|
||||||
./src/core/core-util.c
|
./src/core/wee-version.c
|
||||||
./src/core/core-util.h
|
./src/core/wee-version.h
|
||||||
./src/core/core-version.c
|
|
||||||
./src/core/core-version.h
|
|
||||||
./src/gui/curses/gui-curses-bar-window.c
|
./src/gui/curses/gui-curses-bar-window.c
|
||||||
./src/gui/curses/gui-curses-bar-window.h
|
./src/gui/curses/gui-curses-bar-window.h
|
||||||
./src/gui/curses/gui-curses-chat.c
|
./src/gui/curses/gui-curses-chat.c
|
||||||
@@ -183,8 +179,6 @@ SET(WEECHAT_SOURCES
|
|||||||
./src/plugins/buflist/buflist.c
|
./src/plugins/buflist/buflist.c
|
||||||
./src/plugins/buflist/buflist-command.c
|
./src/plugins/buflist/buflist-command.c
|
||||||
./src/plugins/buflist/buflist-command.h
|
./src/plugins/buflist/buflist-command.h
|
||||||
./src/plugins/buflist/buflist-completion.c
|
|
||||||
./src/plugins/buflist/buflist-completion.h
|
|
||||||
./src/plugins/buflist/buflist-config.c
|
./src/plugins/buflist/buflist-config.c
|
||||||
./src/plugins/buflist/buflist-config.h
|
./src/plugins/buflist/buflist-config.h
|
||||||
./src/plugins/buflist/buflist.h
|
./src/plugins/buflist/buflist.h
|
||||||
@@ -264,8 +258,6 @@ SET(WEECHAT_SOURCES
|
|||||||
./src/plugins/irc/irc-input.h
|
./src/plugins/irc/irc-input.h
|
||||||
./src/plugins/irc/irc-join.c
|
./src/plugins/irc/irc-join.c
|
||||||
./src/plugins/irc/irc-join.h
|
./src/plugins/irc/irc-join.h
|
||||||
./src/plugins/irc/irc-list.c
|
|
||||||
./src/plugins/irc/irc-list.h
|
|
||||||
./src/plugins/irc/irc-message.c
|
./src/plugins/irc/irc-message.c
|
||||||
./src/plugins/irc/irc-message.h
|
./src/plugins/irc/irc-message.h
|
||||||
./src/plugins/irc/irc-mode.c
|
./src/plugins/irc/irc-mode.c
|
||||||
@@ -344,16 +336,6 @@ SET(WEECHAT_SOURCES
|
|||||||
./src/plugins/python/weechat-python-api.h
|
./src/plugins/python/weechat-python-api.h
|
||||||
./src/plugins/python/weechat-python.c
|
./src/plugins/python/weechat-python.c
|
||||||
./src/plugins/python/weechat-python.h
|
./src/plugins/python/weechat-python.h
|
||||||
./src/plugins/relay/api/relay-api.c
|
|
||||||
./src/plugins/relay/api/relay-api.h
|
|
||||||
./src/plugins/relay/api/relay-api-msg.c
|
|
||||||
./src/plugins/relay/api/relay-api-msg.h
|
|
||||||
./src/plugins/relay/api/relay-api-protocol.c
|
|
||||||
./src/plugins/relay/api/relay-api-protocol.h
|
|
||||||
./src/plugins/relay/api/remote/relay-remote-event.c
|
|
||||||
./src/plugins/relay/api/remote/relay-remote-event.h
|
|
||||||
./src/plugins/relay/api/remote/relay-remote-network.c
|
|
||||||
./src/plugins/relay/api/remote/relay-remote-network.h
|
|
||||||
./src/plugins/relay/irc/relay-irc.c
|
./src/plugins/relay/irc/relay-irc.c
|
||||||
./src/plugins/relay/irc/relay-irc.h
|
./src/plugins/relay/irc/relay-irc.h
|
||||||
./src/plugins/relay/relay-auth.c
|
./src/plugins/relay/relay-auth.c
|
||||||
@@ -370,16 +352,12 @@ SET(WEECHAT_SOURCES
|
|||||||
./src/plugins/relay/relay-config.c
|
./src/plugins/relay/relay-config.c
|
||||||
./src/plugins/relay/relay-config.h
|
./src/plugins/relay/relay-config.h
|
||||||
./src/plugins/relay/relay.h
|
./src/plugins/relay/relay.h
|
||||||
./src/plugins/relay/relay-http.c
|
|
||||||
./src/plugins/relay/relay-http.h
|
|
||||||
./src/plugins/relay/relay-info.c
|
./src/plugins/relay/relay-info.c
|
||||||
./src/plugins/relay/relay-info.h
|
./src/plugins/relay/relay-info.h
|
||||||
./src/plugins/relay/relay-network.c
|
./src/plugins/relay/relay-network.c
|
||||||
./src/plugins/relay/relay-network.h
|
./src/plugins/relay/relay-network.h
|
||||||
./src/plugins/relay/relay-raw.c
|
./src/plugins/relay/relay-raw.c
|
||||||
./src/plugins/relay/relay-raw.h
|
./src/plugins/relay/relay-raw.h
|
||||||
./src/plugins/relay/relay-remote.c
|
|
||||||
./src/plugins/relay/relay-remote.h
|
|
||||||
./src/plugins/relay/relay-server.c
|
./src/plugins/relay/relay-server.c
|
||||||
./src/plugins/relay/relay-server.h
|
./src/plugins/relay/relay-server.h
|
||||||
./src/plugins/relay/relay-upgrade.c
|
./src/plugins/relay/relay-upgrade.c
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user