mirror of
https://github.com/weechat/weechat.git
synced 2026-06-18 09:04:47 +02:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| b20b5f1e41 |
+15
-110
@@ -1,58 +1,46 @@
|
|||||||
name: CI
|
name: CI
|
||||||
|
|
||||||
on:
|
on: [push, pull_request]
|
||||||
- push
|
|
||||||
- pull_request
|
|
||||||
|
|
||||||
env:
|
|
||||||
WEECHAT_DEPENDENCIES: devscripts equivs python3-pip libenchant-dev autopoint cmake ninja-build lcov pkg-config libncursesw5-dev gem2deb libperl-dev python2-dev python3-dev libaspell-dev liblua5.3-dev tcl8.6-dev guile-2.2-dev libv8-dev libcurl4-gnutls-dev libgcrypt20-dev libgnutls28-dev libzstd-dev zlib1g-dev curl libcpputest-dev php8.0-dev libphp8.0-embed libargon2-dev libsodium-dev pylint python3-bandit asciidoctor
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
tests_linux:
|
build:
|
||||||
|
|
||||||
|
name: ${{ matrix.config.name }}
|
||||||
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os:
|
|
||||||
- ubuntu-20.04
|
|
||||||
config:
|
config:
|
||||||
- { name: "cmake_gcc", cc: "gcc", cxx: "g++", tool: "cmake", args: "" }
|
- { name: "cmake_gcc", cc: "gcc", cxx: "g++", tool: "cmake", args: "" }
|
||||||
- { name: "cmake_gcc_ninja", cc: "gcc", cxx: "g++", tool: "cmake", args: "-G Ninja" }
|
|
||||||
- { name: "cmake_gcc_no_nls", cc: "gcc", cxx: "g++", tool: "cmake", args: "-DENABLE_NLS=OFF" }
|
|
||||||
- { name: "cmake_gcc_py2", cc: "gcc", cxx: "g++", tool: "cmake", args: "-DENABLE_PYTHON2=ON" }
|
- { name: "cmake_gcc_py2", cc: "gcc", cxx: "g++", tool: "cmake", args: "-DENABLE_PYTHON2=ON" }
|
||||||
- { name: "cmake_gcc_coverage", cc: "gcc", cxx: "g++", tool: "cmake", args: "-DENABLE_CODE_COVERAGE=ON" }
|
- { name: "cmake_gcc_coverage", cc: "gcc", cxx: "g++", tool: "cmake", args: "-DENABLE_CODE_COVERAGE=ON" }
|
||||||
- { name: "cmake_clang", cc: "clang", cxx: "clang++", tool: "cmake", args: "" }
|
- { name: "cmake_clang", cc: "clang", cxx: "clang++", tool: "cmake", args: "" }
|
||||||
- { name: "autotools_gcc", cc: "gcc", cxx: "g++", tool: "autotools", args: "" }
|
- { name: "autotools_gcc", cc: "gcc", cxx: "g++", tool: "autotools", args: "" }
|
||||||
- { name: "autotools_clang", cc: "clang", cxx: "clang++", tool: "autotools", args: "" }
|
- { name: "autotools_clang", cc: "clang", cxx: "clang++", tool: "autotools", args: "" }
|
||||||
|
|
||||||
name: "Tests: ${{ matrix.config.name }} on ${{ matrix.os }}"
|
|
||||||
runs-on: ${{ matrix.os }}
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
sudo apt-add-repository --yes ppa:ondrej/php
|
|
||||||
sudo apt-get update -qq
|
sudo apt-get update -qq
|
||||||
sudo apt-get --yes purge php8.1-dev
|
sudo apt-get --yes --no-install-recommends install devscripts equivs python-pip libenchant-dev autopoint cmake lcov pkg-config libncursesw5-dev gem2deb libperl-dev python-dev python3-dev libaspell-dev liblua5.3-dev tcl8.6-dev guile-2.0-dev libv8-dev libcurl4-gnutls-dev libgcrypt20-dev libgnutls28-dev zlib1g-dev curl libcpputest-dev php7.4-dev libphp7.4-embed libargon2-0-dev libsodium-dev pylint3 asciidoctor
|
||||||
sudo apt-get --yes --no-install-recommends install ${{ env.WEECHAT_DEPENDENCIES }}
|
sudo -H pip install --ignore-installed msgcheck
|
||||||
sudo -H pip3 install --ignore-installed msgcheck
|
|
||||||
|
- name: Test patches
|
||||||
|
run: ./tools/build-debian.sh test-patches
|
||||||
|
|
||||||
- name: Check gettext files
|
- name: Check gettext files
|
||||||
run: msgcheck po/*.po
|
run: msgcheck po/*.po
|
||||||
|
|
||||||
- name: Check Python scripts
|
- name: Check Python scripts
|
||||||
run: |
|
run: |
|
||||||
pylint --additional-builtins=_ doc/docgen.py
|
pylint3 --additional-builtins=_ doc/docgen.py
|
||||||
pylint doc/python_stub.py
|
pylint3 tests/scripts/python/testapigen.py
|
||||||
pylint tests/scripts/python/testapigen.py tests/scripts/python/testapi.py tests/scripts/python/unparse.py
|
pylint3 tests/scripts/python/testapi.py
|
||||||
bandit doc/docgen.py doc/python_stub.py
|
pylint3 tests/scripts/python/unparse.py
|
||||||
bandit tests/scripts/python/testapigen.py tests/scripts/python/testapi.py tests/scripts/python/unparse.py
|
|
||||||
|
|
||||||
- name: Check Python stub file
|
|
||||||
run: ./doc/python_stub.py | diff src/plugins/python/weechat.pyi -
|
|
||||||
|
|
||||||
- name: Build and run tests
|
- name: Build and run tests
|
||||||
env:
|
env:
|
||||||
@@ -71,7 +59,7 @@ jobs:
|
|||||||
weechat --colors
|
weechat --colors
|
||||||
weechat --license
|
weechat --license
|
||||||
weechat --version
|
weechat --version
|
||||||
weechat --run-command "/debug dirs;/debug libs" --run-command "/quit"
|
weechat --temp-dir --run-command "/debug dirs;/debug libs" --run-command "/quit"
|
||||||
|
|
||||||
- name: Code coverage
|
- name: Code coverage
|
||||||
if: ${{ matrix.config.name == 'cmake_gcc_coverage' }}
|
if: ${{ matrix.config.name == 'cmake_gcc_coverage' }}
|
||||||
@@ -83,86 +71,3 @@ jobs:
|
|||||||
lcov --remove coverage.info '/usr/*' --output-file coverage.info
|
lcov --remove coverage.info '/usr/*' --output-file coverage.info
|
||||||
lcov --list coverage.info
|
lcov --list coverage.info
|
||||||
bash <(curl -s https://codecov.io/bash) -f coverage.info || echo 'Codecov error'
|
bash <(curl -s https://codecov.io/bash) -f coverage.info || echo 'Codecov error'
|
||||||
|
|
||||||
tests_macos:
|
|
||||||
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
os:
|
|
||||||
- macos-11
|
|
||||||
- macos-10.15
|
|
||||||
config:
|
|
||||||
- { name: "cmake_gcc", cc: "gcc", cxx: "g++" }
|
|
||||||
- { name: "cmake_clang", cc: "clang", cxx: "clang++" }
|
|
||||||
|
|
||||||
name: "Tests: ${{ matrix.config.name }} on ${{ matrix.os }}"
|
|
||||||
runs-on: ${{ matrix.os }}
|
|
||||||
|
|
||||||
steps:
|
|
||||||
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
|
|
||||||
- name: Install dependencies
|
|
||||||
run: |
|
|
||||||
brew update
|
|
||||||
brew install asciidoctor lua ruby
|
|
||||||
|
|
||||||
- name: Build
|
|
||||||
env:
|
|
||||||
CC: ${{ matrix.config.cc }}
|
|
||||||
CXX: ${{ matrix.config.cxx }}
|
|
||||||
run: |
|
|
||||||
mkdir build-tmp && cd build-tmp
|
|
||||||
cmake .. -DENABLE_MAN=ON -DENABLE_DOC=ON -DENABLE_PHP=OFF
|
|
||||||
make VERBOSE=1 -j2
|
|
||||||
sudo make install
|
|
||||||
|
|
||||||
- name: Run WeeChat
|
|
||||||
env:
|
|
||||||
TERM: xterm-256color
|
|
||||||
run: |
|
|
||||||
weechat --help
|
|
||||||
weechat-curses --help
|
|
||||||
weechat --colors
|
|
||||||
weechat --license
|
|
||||||
weechat --version
|
|
||||||
weechat --run-command "/debug dirs;/debug libs" --run-command "/quit"
|
|
||||||
|
|
||||||
build_debian:
|
|
||||||
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
os:
|
|
||||||
- ubuntu-20.04
|
|
||||||
|
|
||||||
name: "Build Debian on ${{ matrix.os }}"
|
|
||||||
runs-on: ${{ matrix.os }}
|
|
||||||
|
|
||||||
steps:
|
|
||||||
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
|
|
||||||
- name: Install dependencies
|
|
||||||
run: |
|
|
||||||
sudo apt-add-repository --yes ppa:ondrej/php
|
|
||||||
sudo apt-get update -qq
|
|
||||||
sudo apt-get --yes purge php8.1-dev
|
|
||||||
sudo apt-get --yes --no-install-recommends install ${{ env.WEECHAT_DEPENDENCIES }} php-dev
|
|
||||||
|
|
||||||
- name: Test Debian patches
|
|
||||||
run: ./tools/build-debian.sh test-patches
|
|
||||||
|
|
||||||
- name: Build Debian packages
|
|
||||||
run: ./tools/build-debian.sh devel ubuntu/focal
|
|
||||||
|
|
||||||
- name: Install Debian packages
|
|
||||||
run: sudo dpkg -i ../weechat-devel*.deb
|
|
||||||
|
|
||||||
- name: Run WeeChat
|
|
||||||
env:
|
|
||||||
TERM: xterm-256color
|
|
||||||
run: |
|
|
||||||
weechat --help
|
|
||||||
weechat-curses --help
|
|
||||||
weechat --version
|
|
||||||
weechat --run-command "/debug dirs;/debug libs" --run-command "/quit"
|
|
||||||
|
|||||||
@@ -11,9 +11,7 @@ Sébastien Helleu <flashcode@flashtux.org> <flashcode>
|
|||||||
Sébastien Helleu <flashcode@flashtux.org> <uid67137>
|
Sébastien Helleu <flashcode@flashtux.org> <uid67137>
|
||||||
Nils Görs <weechatter@arcor.de>
|
Nils Görs <weechatter@arcor.de>
|
||||||
Ryuunosuke Ayanokouzi <i38w7i3@yahoo.co.jp>
|
Ryuunosuke Ayanokouzi <i38w7i3@yahoo.co.jp>
|
||||||
Krzysztof Korościk <soltys@soltys.info>
|
Krzysztof Korościk <soltys1@gmail.com> <soltys@szluug.org> <soltys@soltys.info>
|
||||||
Krzysztof Korościk <soltys@soltys.info> <soltys1@gmail.com>
|
|
||||||
Krzysztof Korościk <soltys@soltys.info> <soltys@szluug.org>
|
|
||||||
Marco Paolone <marcopaolone@gmail.com>
|
Marco Paolone <marcopaolone@gmail.com>
|
||||||
<marcopaolone@gmail.com> <marco@DrB4tch.sitecomwl601>
|
<marcopaolone@gmail.com> <marco@DrB4tch.sitecomwl601>
|
||||||
<mikaela.suomalainen@outlook.com> <mkaysi@outlook.com>
|
<mikaela.suomalainen@outlook.com> <mkaysi@outlook.com>
|
||||||
|
|||||||
+46
@@ -0,0 +1,46 @@
|
|||||||
|
dist: bionic
|
||||||
|
sudo: required
|
||||||
|
language: c
|
||||||
|
|
||||||
|
env:
|
||||||
|
- CC="gcc" CXX="g++" BUILDTOOL="cmake" BUILDARGS=""
|
||||||
|
- CC="gcc" CXX="g++" BUILDTOOL="cmake" BUILDARGS="-DENABLE_PYTHON2=ON"
|
||||||
|
# - CC="gcc" CXX="g++" BUILDTOOL="cmake" BUILDARGS="-DENABLE_CODE_COVERAGE=ON" CODECOVERAGE="1"
|
||||||
|
- CC="gcc" CXX="g++" BUILDTOOL="autotools" BUILDARGS=""
|
||||||
|
- CC="gcc" CXX="g++" BUILDTOOL="autotools" BUILDARGS="--enable-python2"
|
||||||
|
- CC="clang" CXX="clang++" BUILDTOOL="cmake" BUILDARGS=""
|
||||||
|
- CC="clang" CXX="clang++" BUILDTOOL="cmake" BUILDARGS="-DENABLE_PYTHON2=ON"
|
||||||
|
- CC="clang" CXX="clang++" BUILDTOOL="autotools" BUILDARGS=""
|
||||||
|
- CC="clang" CXX="clang++" BUILDTOOL="autotools" BUILDARGS="--enable-python2"
|
||||||
|
|
||||||
|
matrix:
|
||||||
|
fast_finish: true
|
||||||
|
|
||||||
|
before_script:
|
||||||
|
- echo 'APT::Install-Recommends "false";' | sudo tee -a /etc/apt/apt.conf
|
||||||
|
- travis_retry sudo apt-get update -qq
|
||||||
|
- travis_retry sudo apt-get -y install devscripts equivs python-pip libenchant-dev autopoint cmake lcov pkg-config libncursesw5-dev gem2deb libperl-dev python-dev python3-dev libaspell-dev liblua5.3-dev tcl8.6-dev guile-2.0-dev libv8-dev libcurl4-gnutls-dev libgcrypt20-dev libgnutls28-dev zlib1g-dev curl libcpputest-dev php7.2-dev libphp7.2-embed libargon2-0-dev libsodium-dev pylint3
|
||||||
|
- travis_retry sudo gem install asciidoctor
|
||||||
|
- travis_retry sudo -H pip install --ignore-installed msgcheck
|
||||||
|
- phpenv local system
|
||||||
|
# work around broken travis environment variables, see https://github.com/travis-ci/travis-ci/issues/5301
|
||||||
|
- unset PYTHON_CFLAGS
|
||||||
|
|
||||||
|
script:
|
||||||
|
- ./tools/build-test.sh
|
||||||
|
- msgcheck po/*.po
|
||||||
|
- pylint3 --version
|
||||||
|
- pylint3 --additional-builtins=_ doc/docgen.py
|
||||||
|
- pylint3 tests/scripts/python/testapigen.py
|
||||||
|
- pylint3 tests/scripts/python/testapi.py
|
||||||
|
- pylint3 tests/scripts/python/unparse.py
|
||||||
|
- ./tools/build-debian.sh test-patches
|
||||||
|
|
||||||
|
after_success:
|
||||||
|
- weechat --help
|
||||||
|
- weechat-curses --help
|
||||||
|
- weechat --colors
|
||||||
|
- weechat --license
|
||||||
|
- weechat --version
|
||||||
|
- weechat --temp-dir --run-command "/debug dirs;/debug libs" --run-command "/quit"
|
||||||
|
# - if [ "$CODECOVERAGE" = "1" ]; then bash <(curl -s https://codecov.io/bash) -f coverage.info || echo "Codecov error"; fi
|
||||||
+2
-6
@@ -43,9 +43,7 @@ Alphabetically:
|
|||||||
* Elizabeth Myers (Elizacat)
|
* Elizabeth Myers (Elizacat)
|
||||||
* Elián Hanisch (m4v)
|
* Elián Hanisch (m4v)
|
||||||
* Emanuele Giaquinta
|
* Emanuele Giaquinta
|
||||||
* Emir Sarı
|
|
||||||
* emk
|
* emk
|
||||||
* Érico Nogueira
|
|
||||||
* Esteban I. Ruiz Moreno (Exio)
|
* Esteban I. Ruiz Moreno (Exio)
|
||||||
* Evgeny Shmarnev
|
* Evgeny Shmarnev
|
||||||
* Felix Eckhofer
|
* Felix Eckhofer
|
||||||
@@ -56,7 +54,6 @@ Alphabetically:
|
|||||||
* Guido Berhoerster
|
* Guido Berhoerster
|
||||||
* Gwenn
|
* Gwenn
|
||||||
* Hasan Kiran (turgay)
|
* Hasan Kiran (turgay)
|
||||||
* Ivan Pešić
|
|
||||||
* Ivan Sichmann Freitas
|
* Ivan Sichmann Freitas
|
||||||
* Jakub Jirutka
|
* Jakub Jirutka
|
||||||
* Jan Palus
|
* Jan Palus
|
||||||
@@ -131,7 +128,6 @@ Alphabetically:
|
|||||||
* Simmo Saan (sim642)
|
* Simmo Saan (sim642)
|
||||||
* Simon Arlott
|
* Simon Arlott
|
||||||
* Simon Kuhnle
|
* Simon Kuhnle
|
||||||
* Simon Ser
|
|
||||||
* Stefano Pigozzi
|
* Stefano Pigozzi
|
||||||
* Stfn
|
* Stfn
|
||||||
* Sven Knurr (Cthulhux)
|
* Sven Knurr (Cthulhux)
|
||||||
@@ -145,7 +141,6 @@ Alphabetically:
|
|||||||
* Trevor Bergeron
|
* Trevor Bergeron
|
||||||
* Valentin Lorentz (progval)
|
* Valentin Lorentz (progval)
|
||||||
* Vasco Almeida
|
* Vasco Almeida
|
||||||
* Victorhck
|
|
||||||
* Voroskoi
|
* Voroskoi
|
||||||
* Wojciech Kwolek
|
* Wojciech Kwolek
|
||||||
* W. Trevor King
|
* W. Trevor King
|
||||||
@@ -155,4 +150,5 @@ Alphabetically:
|
|||||||
|
|
||||||
== Contact
|
== Contact
|
||||||
|
|
||||||
See the https://weechat.org/about/support/[support page].
|
See https://weechat.org/files/doc/devel/weechat_user.en.html#support[user's guide]
|
||||||
|
or https://weechat.org/about/support
|
||||||
|
|||||||
+17
-10
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2003-2022 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2003-2021 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>
|
||||||
#
|
#
|
||||||
@@ -27,8 +27,8 @@ project(weechat C)
|
|||||||
set(CMAKE_VERBOSE_MAKEFILE OFF)
|
set(CMAKE_VERBOSE_MAKEFILE OFF)
|
||||||
set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake ${CMAKE_MODULE_PATH})
|
set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake ${CMAKE_MODULE_PATH})
|
||||||
set(CMAKE_SKIP_RPATH ON)
|
set(CMAKE_SKIP_RPATH ON)
|
||||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fsigned-char -fms-extensions -Wall -Wextra -Werror-implicit-function-declaration")
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fsigned-char -Wall -Wextra -Werror-implicit-function-declaration")
|
||||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsigned-char -fms-extensions -Wall -Wextra")
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsigned-char -Wall -Wextra")
|
||||||
|
|
||||||
# version
|
# version
|
||||||
execute_process(COMMAND ${CMAKE_SOURCE_DIR}/version.sh devel-major OUTPUT_VARIABLE VERSION_MAJOR)
|
execute_process(COMMAND ${CMAKE_SOURCE_DIR}/version.sh devel-major OUTPUT_VARIABLE VERSION_MAJOR)
|
||||||
@@ -115,7 +115,6 @@ option(ENABLE_PHP "Enable PHP scripting language" ON)
|
|||||||
option(ENABLE_SPELL "Enable Spell checker plugin" ON)
|
option(ENABLE_SPELL "Enable Spell checker plugin" ON)
|
||||||
option(ENABLE_ENCHANT "Enable Enchant lib for Spell checker plugin" OFF)
|
option(ENABLE_ENCHANT "Enable Enchant lib for Spell checker plugin" OFF)
|
||||||
option(ENABLE_TRIGGER "Enable Trigger plugin" ON)
|
option(ENABLE_TRIGGER "Enable Trigger plugin" ON)
|
||||||
option(ENABLE_TYPING "Enable Typing plugin" ON)
|
|
||||||
option(ENABLE_XFER "Enable Xfer plugin" ON)
|
option(ENABLE_XFER "Enable Xfer plugin" ON)
|
||||||
option(ENABLE_MAN "Enable build of man page" OFF)
|
option(ENABLE_MAN "Enable build of man page" OFF)
|
||||||
option(ENABLE_DOC "Enable build of documentation" OFF)
|
option(ENABLE_DOC "Enable build of documentation" OFF)
|
||||||
@@ -135,11 +134,23 @@ if(ENABLE_TESTS AND NOT ENABLE_HEADLESS)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
# option WEECHAT_HOME
|
# option WEECHAT_HOME
|
||||||
|
if(NOT DEFINED WEECHAT_HOME OR "${WEECHAT_HOME}" STREQUAL "")
|
||||||
|
set(WEECHAT_HOME "~/.weechat")
|
||||||
|
endif()
|
||||||
set(WEECHAT_HOME "${WEECHAT_HOME}" CACHE
|
set(WEECHAT_HOME "${WEECHAT_HOME}" CACHE
|
||||||
STRING "Force a single WeeChat home directory for config, logs, scripts, etc."
|
STRING "WeeChat home directory for config, logs, scripts.. (default is \"~/.weechat\")"
|
||||||
FORCE)
|
FORCE)
|
||||||
mark_as_advanced(CLEAR WEECHAT_HOME)
|
mark_as_advanced(CLEAR WEECHAT_HOME)
|
||||||
|
|
||||||
|
# option CA_FILE
|
||||||
|
if(NOT DEFINED CA_FILE OR "${CA_FILE}" STREQUAL "")
|
||||||
|
set(CA_FILE "/etc/ssl/certs/ca-certificates.crt")
|
||||||
|
endif()
|
||||||
|
set(CA_FILE "${CA_FILE}" CACHE
|
||||||
|
STRING "File containing the certificate authorities (default is \"/etc/ssl/certs/ca-certificates.crt\"). This is the default value of option \"weechat.network.gnutls_ca_file\"."
|
||||||
|
FORCE)
|
||||||
|
mark_as_advanced(CLEAR CA_FILE)
|
||||||
|
|
||||||
if(COMMAND cmake_policy)
|
if(COMMAND cmake_policy)
|
||||||
if(POLICY CMP0003)
|
if(POLICY CMP0003)
|
||||||
cmake_policy(SET CMP0003 NEW)
|
cmake_policy(SET CMP0003 NEW)
|
||||||
@@ -159,7 +170,6 @@ 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_function_exists(mallinfo HAVE_MALLINFO)
|
check_function_exists(mallinfo HAVE_MALLINFO)
|
||||||
check_function_exists(mallinfo2 HAVE_MALLINFO2)
|
|
||||||
|
|
||||||
check_symbol_exists("eat_newline_glitch" "term.h" HAVE_EAT_NEWLINE_GLITCH)
|
check_symbol_exists("eat_newline_glitch" "term.h" HAVE_EAT_NEWLINE_GLITCH)
|
||||||
|
|
||||||
@@ -196,10 +206,7 @@ list(APPEND EXTRA_LIBS gnutls)
|
|||||||
|
|
||||||
# Check for zlib
|
# Check for zlib
|
||||||
find_package(ZLIB REQUIRED)
|
find_package(ZLIB REQUIRED)
|
||||||
|
add_definitions(-DHAVE_ZLIB)
|
||||||
# Check for zstd
|
|
||||||
include(FindPkgConfig)
|
|
||||||
pkg_check_modules(LIBZSTD REQUIRED libzstd)
|
|
||||||
|
|
||||||
# Check for iconv
|
# Check for iconv
|
||||||
find_package(Iconv)
|
find_package(Iconv)
|
||||||
|
|||||||
@@ -671,4 +671,4 @@ into proprietary programs. If your program is a subroutine library, you
|
|||||||
may consider it more useful to permit linking proprietary applications with
|
may consider it more useful to permit linking proprietary applications with
|
||||||
the library. If this is what you want to do, use the GNU Lesser General
|
the library. If this is what you want to do, use the GNU Lesser General
|
||||||
Public License instead of this License. But first, please read
|
Public License instead of this License. But first, please read
|
||||||
<https://www.gnu.org/licenses/why-not-lgpl.html>.
|
<https://www.gnu.org/philosophy/why-not-lgpl.html>.
|
||||||
|
|||||||
+436
-664
File diff suppressed because it is too large
Load Diff
+7
-6
@@ -29,8 +29,8 @@ please include:
|
|||||||
_WeeChat 1.7-dev (git: v1.6-6-g997f47f)_. +
|
_WeeChat 1.7-dev (git: v1.6-6-g997f47f)_. +
|
||||||
If WeeChat does not start at all, please include the version displayed by
|
If WeeChat does not start at all, please include the version displayed by
|
||||||
`weechat --help` (or the version installed with your package manager).
|
`weechat --help` (or the version installed with your package manager).
|
||||||
* Your *operating system*: its name and version (examples: Linux Debian Bullseye,
|
* Your *operating system*: its name and version (examples: Linux Debian Wheezy,
|
||||||
FreeBSD 13.0, Windows/Cygwin 64-bit, Windows/Ubuntu 64-bit...).
|
FreeBSD 10.0, Windows/Cygwin 64-bit, Windows/Ubuntu 64-bit...).
|
||||||
* The *steps to reproduce*: if possible, please include a reproducible example:
|
* The *steps to reproduce*: if possible, please include a reproducible example:
|
||||||
explain the steps which led you to the problem. +
|
explain the steps which led you to the problem. +
|
||||||
It's even better if you can reproduce the problem with a new config (and no
|
It's even better if you can reproduce the problem with a new config (and no
|
||||||
@@ -38,7 +38,8 @@ please include:
|
|||||||
problem here.
|
problem here.
|
||||||
* The *gdb's backtrace* (only for a crash): if you can reproduce the crash
|
* The *gdb's backtrace* (only for a crash): if you can reproduce the crash
|
||||||
(or if you have a core file), please include the backtrace from gdb (look at
|
(or if you have a core file), please include the backtrace from gdb (look at
|
||||||
https://weechat.org/doc/user#report_crashes[User's guide] for more info).
|
https://weechat.org/files/doc/devel/weechat_user.en.html#report_crashes[User's guide]
|
||||||
|
for more info).
|
||||||
* The *actual result*.
|
* The *actual result*.
|
||||||
* The *expected result*: the correct result you are expecting.
|
* The *expected result*: the correct result you are expecting.
|
||||||
|
|
||||||
@@ -68,7 +69,7 @@ time, for https://github.com/weechat/weechat[WeeChat] and the website
|
|||||||
https://github.com/weechat/weechat.org[weechat.org].
|
https://github.com/weechat/weechat.org[weechat.org].
|
||||||
|
|
||||||
To start a translation in a new language (not yet supported), please look at
|
To start a translation in a new language (not yet supported), please look at
|
||||||
https://weechat.org/doc/dev#translations[translations]
|
https://weechat.org/files/doc/devel/weechat_dev.en.html#translations[translations]
|
||||||
in Developer's guide.
|
in Developer's guide.
|
||||||
|
|
||||||
== Feature requests
|
== Feature requests
|
||||||
@@ -81,9 +82,9 @@ https://github.com/weechat/weechat/milestones[milestones] on GitHub.
|
|||||||
Pull requests on GitHub are welcome for minor new features.
|
Pull requests on GitHub are welcome for minor new features.
|
||||||
|
|
||||||
For major new features, it's better to discuss about it in IRC
|
For major new features, it's better to discuss about it in IRC
|
||||||
(server: _irc.libera.chat_, channel _#weechat_).
|
(server: _chat.freenode.net_, channel _#weechat_).
|
||||||
|
|
||||||
Before submitting any pull request, be sure you have read the
|
Before submitting any pull request, be sure you have read the
|
||||||
https://weechat.org/doc/dev#coding_rules[coding rules]
|
https://weechat.org/files/doc/devel/weechat_dev.en.html#coding_rules[coding rules]
|
||||||
in Developer's guide, which contains info about styles used, naming convention
|
in Developer's guide, which contains info about styles used, naming convention
|
||||||
and other useful info.
|
and other useful info.
|
||||||
|
|||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2003-2022 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2003-2021 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
# Copyright (C) 2005 Julien Louis <ptitlouis@sysif.net>
|
# Copyright (C) 2005 Julien Louis <ptitlouis@sysif.net>
|
||||||
# Copyright (C) 2006-2009 Emmanuel Bouthenot <kolter@openics.org>
|
# Copyright (C) 2006-2009 Emmanuel Bouthenot <kolter@openics.org>
|
||||||
#
|
#
|
||||||
|
|||||||
+78
-9
@@ -23,13 +23,13 @@ Homepage: https://weechat.org/
|
|||||||
|
|
||||||
== Features
|
== Features
|
||||||
|
|
||||||
* *Modular chat client*: WeeChat has a lightweight core and optional https://weechat.org/doc/user#plugins[plugins]. All plugins (including https://weechat.org/doc/user#irc[IRC]) are independent and can be unloaded.
|
* *Modular chat client*: WeeChat has a lightweight core and optional https://weechat.org/files/doc/stable/weechat_user.en.html#plugins[plugins]. All plugins (including https://weechat.org/files/doc/stable/weechat_user.en.html#irc_plugin[IRC]) are independent and can be unloaded.
|
||||||
* *Multi-platform*: WeeChat runs on GNU/Linux, *BSD, GNU/Hurd, Haiku, macOS and Windows (Bash/Ubuntu and Cygwin).
|
* *Multi-platform*: WeeChat runs on GNU/Linux, *BSD, GNU/Hurd, Haiku, macOS and Windows (Bash/Ubuntu and Cygwin).
|
||||||
* *Multi-protocols*: WeeChat is designed to support multiple protocols by plugins, like IRC.
|
* *Multi-protocols*: WeeChat is designed to support multiple protocols by plugins, like IRC.
|
||||||
* *Standards-compliant*: the IRC plugin is compliant with RFCs https://tools.ietf.org/html/rfc1459[1459], https://tools.ietf.org/html/rfc2810[2810], https://tools.ietf.org/html/rfc2811[2811], https://tools.ietf.org/html/rfc2812[2812], and https://tools.ietf.org/html/rfc2813[2813].
|
* *Standards-compliant*: the IRC plugin is compliant with RFCs https://tools.ietf.org/html/rfc1459[1459], https://tools.ietf.org/html/rfc2810[2810], https://tools.ietf.org/html/rfc2811[2811], https://tools.ietf.org/html/rfc2812[2812] and https://tools.ietf.org/html/rfc2813[2813].
|
||||||
* *Small, fast, and very light*: the core is and should stay as light and fast as possible.
|
* *Small, fast and very light*: the core is and should stay as light and fast as possible.
|
||||||
* *Customizable and extensible*: there are a lot of options to customize WeeChat, and it is extensible with C plugins and https://weechat.org/scripts/[scripts] (https://weechat.org/scripts/language/perl/[Perl], https://weechat.org/scripts/language/python/[Python], https://weechat.org/scripts/language/ruby[Ruby], https://weechat.org/scripts/language/lua/[Lua], https://weechat.org/scripts/language/tcl/[Tcl], https://weechat.org/scripts/language/guile/[Scheme], https://weechat.org/scripts/language/javascript/[JavaScript] and https://weechat.org/scripts/language/php/[PHP]).
|
* *Customizable and extensible*: there are a lot of options to customize WeeChat, and it is extensible with C plugins and https://weechat.org/scripts/[scripts] (https://weechat.org/scripts/stable/language/perl/[Perl], https://weechat.org/scripts/stable/language/python/[Python], https://weechat.org/scripts/stable/language/ruby[Ruby], https://weechat.org/scripts/stable/language/lua/[Lua], https://weechat.org/scripts/stable/language/tcl/[Tcl], https://weechat.org/scripts/stable/language/guile/[Scheme], https://weechat.org/scripts/stable/language/javascript/[JavaScript] and https://weechat.org/scripts/stable/language/php/[PHP]).
|
||||||
* *Fully documented*: there is comprehensive https://weechat.org/doc/[documentation], which is https://weechat.org/doc/dev#translations[translated] into several languages.
|
* *Fully documented*: there is comprehensive https://weechat.org/doc/[documentation], which is https://weechat.org/files/doc/stable/weechat_dev.en.html#translations[translated] into several languages.
|
||||||
* *Developed from scratch*: WeeChat was built from scratch and is not based on any other client.
|
* *Developed from scratch*: WeeChat was built from scratch and is not based on any other client.
|
||||||
* *Free software*: WeeChat is released under https://www.gnu.org/licenses/gpl-3.0.html[GPLv3].
|
* *Free software*: WeeChat is released under https://www.gnu.org/licenses/gpl-3.0.html[GPLv3].
|
||||||
|
|
||||||
@@ -37,15 +37,84 @@ pass:[<p align="center">] image:https://weechat.org/media/images/screenshots/wee
|
|||||||
|
|
||||||
On WeeChat's website you can find https://weechat.org/about/screenshots/[more screenshots].
|
On WeeChat's website you can find https://weechat.org/about/screenshots/[more screenshots].
|
||||||
|
|
||||||
== Installation
|
== Install
|
||||||
|
|
||||||
WeeChat can be installed using your favorite package manager (recommended) or by compiling it yourself.
|
=== Dependencies
|
||||||
|
|
||||||
For detailed instructions, please check the https://weechat.org/doc/user#install[WeeChat user's guide].
|
Following packages are *required*:
|
||||||
|
|
||||||
|
* CMake
|
||||||
|
* libncurses
|
||||||
|
* libcurl
|
||||||
|
* zlib
|
||||||
|
* libgcrypt
|
||||||
|
|
||||||
|
Following packages are optional:
|
||||||
|
|
||||||
|
* for i18n: gettext
|
||||||
|
* for SSL: gnutls, ca-certificates
|
||||||
|
* for spell checking: aspell or enchant
|
||||||
|
* for scripting: python, perl, ruby, lua, tcl, guile, libv8 (javascript), php
|
||||||
|
* for building doc and man page: asciidoctor
|
||||||
|
* for building tests: C++ compiler, CppUTest
|
||||||
|
|
||||||
|
For a complete list of dependencies and versions recommended, please look at
|
||||||
|
https://weechat.org/files/doc/devel/weechat_user.en.html#dependencies[user's guide].
|
||||||
|
|
||||||
|
=== Compile
|
||||||
|
|
||||||
|
WeeChat can be built with https://cmake.org/[CMake] (recommended) or autotools.
|
||||||
|
|
||||||
|
[NOTE]
|
||||||
|
Only CMake is officially supported to build WeeChat. You should only use
|
||||||
|
autotools if you are not able to use CMake. +
|
||||||
|
Building with autotools requires more dependencies and is slower than with CMake.
|
||||||
|
|
||||||
|
* Installation in system directories (requires _root_ privileges):
|
||||||
|
|
||||||
|
----
|
||||||
|
$ mkdir build
|
||||||
|
$ cd build
|
||||||
|
$ cmake ..
|
||||||
|
$ make
|
||||||
|
$ sudo make install
|
||||||
|
----
|
||||||
|
|
||||||
|
* Installation in custom directory (for example your home):
|
||||||
|
|
||||||
|
----
|
||||||
|
$ mkdir build
|
||||||
|
$ cd build
|
||||||
|
$ cmake .. -DCMAKE_INSTALL_PREFIX=/path/to/directory
|
||||||
|
$ make
|
||||||
|
$ make install
|
||||||
|
----
|
||||||
|
|
||||||
|
For more information or installation with autotools, please look at
|
||||||
|
https://weechat.org/files/doc/devel/weechat_user.en.html#compile_with_autotools[user's guide].
|
||||||
|
|
||||||
|
=== Run tests
|
||||||
|
|
||||||
|
Following packages are *required* to compile tests:
|
||||||
|
|
||||||
|
* libcpputest-dev
|
||||||
|
* C++ compiler
|
||||||
|
|
||||||
|
Tests must be enabled when compiling WeeChat:
|
||||||
|
|
||||||
|
----
|
||||||
|
$ cmake .. -DENABLE_TESTS=ON
|
||||||
|
----
|
||||||
|
|
||||||
|
They can be launched after compilation from the build directory:
|
||||||
|
|
||||||
|
----
|
||||||
|
$ ctest -V
|
||||||
|
----
|
||||||
|
|
||||||
== Copyright
|
== Copyright
|
||||||
|
|
||||||
Copyright (C) 2003-2022 Sébastien Helleu <flashcode@flashtux.org>
|
Copyright (C) 2003-2021 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.
|
||||||
|
|
||||||
|
|||||||
+256
-643
File diff suppressed because it is too large
Load Diff
+4
-4
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
#
|
#
|
||||||
# Copyright (C) 2003-2022 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2003-2021 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
# Copyright (C) 2005 Julien Louis <ptitlouis@sysif.net>
|
# Copyright (C) 2005 Julien Louis <ptitlouis@sysif.net>
|
||||||
# Copyright (C) 2005-2006 Emmanuel Bouthenot <kolter@openics.org>
|
# Copyright (C) 2005-2006 Emmanuel Bouthenot <kolter@openics.org>
|
||||||
#
|
#
|
||||||
@@ -34,7 +34,7 @@ err ()
|
|||||||
echo "-------"
|
echo "-------"
|
||||||
echo "Error :"
|
echo "Error :"
|
||||||
echo "---8<-----------------------------------"
|
echo "---8<-----------------------------------"
|
||||||
cat "$AUTOGEN_LOG"
|
cat $AUTOGEN_LOG
|
||||||
echo "----------------------------------->8---"
|
echo "----------------------------------->8---"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
@@ -42,7 +42,7 @@ err ()
|
|||||||
run ()
|
run ()
|
||||||
{
|
{
|
||||||
printf "Running \"%s\"..." "$@"
|
printf "Running \"%s\"..." "$@"
|
||||||
if eval "$@" >"$AUTOGEN_LOG" 2>&1 ; then
|
if eval "$@" >$AUTOGEN_LOG 2>&1 ; then
|
||||||
echo " OK"
|
echo " OK"
|
||||||
else
|
else
|
||||||
echo " FAILED"
|
echo " FAILED"
|
||||||
@@ -66,4 +66,4 @@ run "rm -rf intl"
|
|||||||
run "autoreconf -vi"
|
run "autoreconf -vi"
|
||||||
|
|
||||||
# ending
|
# ending
|
||||||
rm -f "$AUTOGEN_LOG"
|
rm -f $AUTOGEN_LOG
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2003-2022 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2003-2021 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-2022 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2003-2021 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-2022 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2014-2021 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-2022 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2003-2021 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.
|
||||||
#
|
#
|
||||||
@@ -34,12 +34,12 @@ set(GCRYPT_CFLAGS)
|
|||||||
|
|
||||||
if(LIBGCRYPT_CONFIG_EXECUTABLE)
|
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)
|
exec_program(${LIBGCRYPT_CONFIG_EXECUTABLE} ARGS --libs RETURN_VALUE _return_VALUE OUTPUT_VARIABLE GCRYPT_LDFLAGS)
|
||||||
execute_process(COMMAND ${LIBGCRYPT_CONFIG_EXECUTABLE} --cflags RESULT_VARIABLE _return_VALUE OUTPUT_VARIABLE GCRYPT_CFLAGS OUTPUT_STRIP_TRAILING_WHITESPACE ERROR_QUIET)
|
exec_program(${LIBGCRYPT_CONFIG_EXECUTABLE} ARGS --cflags RETURN_VALUE _return_VALUE OUTPUT_VARIABLE GCRYPT_CFLAGS)
|
||||||
|
|
||||||
if(NOT DEFINED ${GCRYPT_CFLAGS})
|
if(${GCRYPT_CFLAGS} MATCHES "\n")
|
||||||
set(GCRYPT_CFLAGS " ")
|
set(GCRYPT_CFLAGS " ")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2003-2022 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2003-2021 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-2022 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2003-2021 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-2022 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2011-2021 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-2022 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2003-2021 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.
|
||||||
#
|
#
|
||||||
|
|||||||
+2
-2
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2003-2022 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2003-2021 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.
|
||||||
#
|
#
|
||||||
@@ -35,5 +35,5 @@ endif()
|
|||||||
|
|
||||||
find_package(PkgConfig)
|
find_package(PkgConfig)
|
||||||
if(PKG_CONFIG_FOUND)
|
if(PKG_CONFIG_FOUND)
|
||||||
pkg_search_module(LUA lua5.4 lua-5.4 lua54 lua5.3 lua-5.3 lua53 lua5.2 lua-5.2 lua52 lua5.1 lua-5.1 lua51 lua-5.0 lua5.0 lua50 lua)
|
pkg_search_module(LUA lua5.3 lua-5.3 lua53 lua5.2 lua-5.2 lua52 lua5.1 lua-5.1 lua51 lua-5.0 lua5.0 lua50 lua)
|
||||||
endif()
|
endif()
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2003-2022 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2003-2021 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.
|
||||||
#
|
#
|
||||||
|
|||||||
+7
-11
@@ -1,6 +1,6 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2017 Adam Saponara <as@php.net>
|
# Copyright (C) 2017 Adam Saponara <as@php.net>
|
||||||
# Copyright (C) 2017-2022 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2017-2021 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.
|
||||||
#
|
#
|
||||||
@@ -24,30 +24,26 @@ endif()
|
|||||||
|
|
||||||
find_package(PkgConfig)
|
find_package(PkgConfig)
|
||||||
if(PKG_CONFIG_FOUND)
|
if(PKG_CONFIG_FOUND)
|
||||||
pkg_search_module(PHP php8 php7)
|
pkg_search_module(PHP php7)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(NOT PHP_FOUND)
|
if(NOT PHP_FOUND)
|
||||||
find_program(PHP_CONFIG_EXECUTABLE NAMES
|
find_program(PHP_CONFIG_EXECUTABLE NAMES
|
||||||
php-config8.1 php-config81
|
|
||||||
php-config8.0 php-config80
|
|
||||||
php-config8
|
|
||||||
php-config7.4 php-config74
|
php-config7.4 php-config74
|
||||||
php-config7.3 php-config73
|
php-config7.3 php-config73
|
||||||
php-config7.2 php-config72
|
php-config7.2 php-config72
|
||||||
php-config7.1 php-config71
|
php-config7.1 php-config71
|
||||||
php-config7.0 php-config70
|
php-config7.0 php-config70
|
||||||
php-config7
|
php-config php-config7
|
||||||
php-config
|
|
||||||
)
|
)
|
||||||
if (PHP_CONFIG_EXECUTABLE)
|
if (PHP_CONFIG_EXECUTABLE)
|
||||||
execute_process(COMMAND ${PHP_CONFIG_EXECUTABLE} --prefix OUTPUT_VARIABLE PHP_LIB_PREFIX OUTPUT_STRIP_TRAILING_WHITESPACE)
|
execute_process(COMMAND ${PHP_CONFIG_EXECUTABLE} --prefix OUTPUT_VARIABLE PHP_LIB_PREFIX OUTPUT_STRIP_TRAILING_WHITESPACE)
|
||||||
execute_process(COMMAND ${PHP_CONFIG_EXECUTABLE} --includes OUTPUT_VARIABLE PHP_INCLUDE_DIRS OUTPUT_STRIP_TRAILING_WHITESPACE)
|
execute_process(COMMAND ${PHP_CONFIG_EXECUTABLE} --includes OUTPUT_VARIABLE PHP_INCLUDE_DIRS OUTPUT_STRIP_TRAILING_WHITESPACE)
|
||||||
execute_process(COMMAND ${PHP_CONFIG_EXECUTABLE} --libs OUTPUT_VARIABLE PHP_LIBS OUTPUT_STRIP_TRAILING_WHITESPACE)
|
execute_process(COMMAND ${PHP_CONFIG_EXECUTABLE} --libs OUTPUT_VARIABLE PHP_LIBS OUTPUT_STRIP_TRAILING_WHITESPACE)
|
||||||
execute_process(COMMAND ${PHP_CONFIG_EXECUTABLE} --version OUTPUT_VARIABLE PHP_VERSION OUTPUT_STRIP_TRAILING_WHITESPACE)
|
execute_process(COMMAND ${PHP_CONFIG_EXECUTABLE} --version OUTPUT_VARIABLE PHP_VERSION OUTPUT_STRIP_TRAILING_WHITESPACE)
|
||||||
if(${PHP_VERSION} MATCHES "^[78]")
|
if(${PHP_VERSION} MATCHES "^7")
|
||||||
find_library(PHP_LIB
|
find_library(PHP_LIB
|
||||||
NAMES php8.1 php8.0 php8 php7.4 php7.3 php7.2 php7.1 php7.0 php7 php
|
NAMES php7.4 php7.3 php7.2 php7.1 php7.0 php7
|
||||||
HINTS ${PHP_LIB_PREFIX} ${PHP_LIB_PREFIX}/lib ${PHP_LIB_PREFIX}/lib64
|
HINTS ${PHP_LIB_PREFIX} ${PHP_LIB_PREFIX}/lib ${PHP_LIB_PREFIX}/lib64
|
||||||
)
|
)
|
||||||
if(PHP_LIB)
|
if(PHP_LIB)
|
||||||
@@ -62,9 +58,9 @@ if(NOT PHP_FOUND)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(NOT PHP_FOUND)
|
if(NOT PHP_FOUND)
|
||||||
message(WARNING "Could not find libphp. "
|
message(WARNING "Could not find libphp7. "
|
||||||
"Ensure PHP >=7.0.0 development libraries are installed and compiled with `--enable-embed`. "
|
"Ensure PHP >=7.0.0 development libraries are installed and compiled with `--enable-embed`. "
|
||||||
"Ensure `php-config` is in `PATH`. "
|
"Ensure `php-config` is in `PATH`. "
|
||||||
"You may set `-DCMAKE_LIBRARY_PATH=...` to the directory containing libphp."
|
"You may set `-DCMAKE_LIBRARY_PATH=...` to the directory containing libphp7."
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2003-2022 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2003-2021 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-2022 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2003-2021 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.
|
||||||
|
|||||||
+47
-9
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2003-2022 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2003-2021 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.
|
||||||
#
|
#
|
||||||
@@ -33,13 +33,51 @@ endif()
|
|||||||
|
|
||||||
find_package(PkgConfig)
|
find_package(PkgConfig)
|
||||||
if(PKG_CONFIG_FOUND)
|
if(PKG_CONFIG_FOUND)
|
||||||
if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
pkg_search_module(RUBY ruby-2.7 ruby-2.6 ruby-2.5 ruby-2.4 ruby-2.3 ruby-2.2 ruby-2.1 ruby-2.0 ruby-1.9)
|
||||||
# set specific search path for macOS
|
endif()
|
||||||
set(ENV{PKG_CONFIG_PATH} "$ENV{PKG_CONFIG_PATH}:/usr/local/opt/ruby/lib/pkgconfig")
|
|
||||||
endif()
|
if(RUBY_FOUND)
|
||||||
pkg_search_module(RUBY ruby-3.1 ruby-3.0 ruby-2.7 ruby-2.6 ruby-2.5 ruby-2.4 ruby-2.3 ruby-2.2 ruby-2.1 ruby-2.0 ruby-1.9 ruby)
|
set(RUBY_LIB "")
|
||||||
if(RUBY_FOUND AND ${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
mark_as_advanced(RUBY_LIB)
|
||||||
# FIXME: weird hack: hardcoding the Ruby lib location on macOS
|
else()
|
||||||
set(RUBY_LDFLAGS "${RUBY_LDFLAGS} -L/usr/local/opt/ruby/lib")
|
find_program(RUBY_EXECUTABLE
|
||||||
|
NAMES ruby2.7.0 ruby270 ruby2.7 ruby2.6.0 ruby260 ruby2.6 ruby2.5.0 ruby250 ruby2.5 ruby2.4.0 ruby240 ruby2.4 ruby2.3.0 ruby230 ruby2.3 ruby23 ruby2.2.3 ruby223 ruby2.2.2 ruby222 ruby2.2.1 ruby221 ruby2.2.0 ruby220 ruby2.2 ruby22 ruby2.1.7 ruby217 ruby2.1.6 ruby216 ruby2.1.5 ruby215 ruby2.1.4 ruby214 ruby2.1.3 ruby213 ruby2.1.2 ruby212 ruby2.1.1 ruby211 ruby2.1.0 ruby210 ruby2.1 ruby21 ruby2.0 ruby20 ruby1.9.3 ruby193 ruby1.9.2 ruby192 ruby1.9.1 ruby191 ruby1.9 ruby19 ruby
|
||||||
|
PATHS /usr/bin /usr/local/bin /usr/pkg/bin
|
||||||
|
)
|
||||||
|
if(RUBY_EXECUTABLE)
|
||||||
|
execute_process(
|
||||||
|
COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "print RbConfig::CONFIG['rubyhdrdir'] || RbConfig::CONFIG['archdir']"
|
||||||
|
OUTPUT_VARIABLE RUBY_ARCH_DIR
|
||||||
|
)
|
||||||
|
execute_process(
|
||||||
|
COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "print RbConfig::CONFIG['arch']"
|
||||||
|
OUTPUT_VARIABLE RUBY_ARCH
|
||||||
|
)
|
||||||
|
execute_process(
|
||||||
|
COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "print RbConfig::CONFIG['libdir']"
|
||||||
|
OUTPUT_VARIABLE RUBY_POSSIBLE_LIB_PATH
|
||||||
|
)
|
||||||
|
execute_process(
|
||||||
|
COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "print RbConfig::CONFIG['rubylibdir']"
|
||||||
|
OUTPUT_VARIABLE RUBY_RUBY_LIB_PATH
|
||||||
|
)
|
||||||
|
find_path(RUBY_INCLUDE_DIRS
|
||||||
|
NAMES ruby.h
|
||||||
|
PATHS ${RUBY_ARCH_DIR}
|
||||||
|
)
|
||||||
|
set(RUBY_INCLUDE_ARCH "${RUBY_INCLUDE_DIRS}/${RUBY_ARCH}")
|
||||||
|
find_library(RUBY_LIB
|
||||||
|
NAMES ruby-1.9.3 ruby1.9.3 ruby193 ruby-1.9.2 ruby1.9.2 ruby192 ruby-1.9.1 ruby1.9.1 ruby191 ruby1.9 ruby19 ruby
|
||||||
|
PATHS ${RUBY_POSSIBLE_LIB_PATH} ${RUBY_RUBY_LIB_PATH}
|
||||||
|
)
|
||||||
|
if(RUBY_LIB AND RUBY_INCLUDE_DIRS)
|
||||||
|
set(RUBY_FOUND TRUE)
|
||||||
|
endif()
|
||||||
|
set(RUBY_INCLUDE_DIRS "${RUBY_INCLUDE_DIRS};${RUBY_INCLUDE_ARCH}")
|
||||||
|
mark_as_advanced(
|
||||||
|
RUBY_INCLUDE_DIRS
|
||||||
|
RUBY_LIBRARY_DIRS
|
||||||
|
RUBY_LIB
|
||||||
|
)
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|||||||
+2
-1
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2015-2022 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2015-2021 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.
|
||||||
#
|
#
|
||||||
@@ -33,6 +33,7 @@ endif()
|
|||||||
|
|
||||||
set(V8_INC_PATHS
|
set(V8_INC_PATHS
|
||||||
/usr/include
|
/usr/include
|
||||||
|
/usr/include/v8
|
||||||
${CMAKE_INCLUDE_PATH}
|
${CMAKE_INCLUDE_PATH}
|
||||||
)
|
)
|
||||||
find_path(V8_INCLUDE_DIR v8.h PATHS ${V8_INC_PATHS})
|
find_path(V8_INCLUDE_DIR v8.h PATHS ${V8_INC_PATHS})
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2003-2022 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2003-2021 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.
|
||||||
#
|
#
|
||||||
@@ -28,7 +28,9 @@ list(REVERSE files)
|
|||||||
foreach(file ${files})
|
foreach(file ${files})
|
||||||
message(STATUS "Uninstalling \"$ENV{DESTDIR}${file}\"")
|
message(STATUS "Uninstalling \"$ENV{DESTDIR}${file}\"")
|
||||||
if(EXISTS "$ENV{DESTDIR}${file}")
|
if(EXISTS "$ENV{DESTDIR}${file}")
|
||||||
execute_process(COMMAND "@CMAKE_COMMAND@" -E remove "$ENV{DESTDIR}${file}" OUTPUT_VARIABLE rm_out RESULT_VARIABLE rm_retval)
|
exec_program("@CMAKE_COMMAND@" ARGS "-E remove \"$ENV{DESTDIR}${file}\""
|
||||||
|
OUTPUT_VARIABLE rm_out
|
||||||
|
RETURN_VARIABLE rm_retval)
|
||||||
if("${rm_retval}" GREATER 0)
|
if("${rm_retval}" GREATER 0)
|
||||||
message(FATAL_ERROR "Problem when removing \"$ENV{DESTDIR}${file}\"")
|
message(FATAL_ERROR "Problem when removing \"$ENV{DESTDIR}${file}\"")
|
||||||
endif()
|
endif()
|
||||||
|
|||||||
+1
-1
@@ -5,7 +5,6 @@
|
|||||||
#cmakedefine HAVE_BACKTRACE
|
#cmakedefine HAVE_BACKTRACE
|
||||||
#cmakedefine ICONV_2ARG_IS_CONST 1
|
#cmakedefine ICONV_2ARG_IS_CONST 1
|
||||||
#cmakedefine HAVE_MALLINFO
|
#cmakedefine HAVE_MALLINFO
|
||||||
#cmakedefine HAVE_MALLINFO2
|
|
||||||
#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
|
||||||
@@ -18,4 +17,5 @@
|
|||||||
#define WEECHAT_SHAREDIR "@WEECHAT_SHAREDIR@"
|
#define WEECHAT_SHAREDIR "@WEECHAT_SHAREDIR@"
|
||||||
#define LOCALEDIR "@LOCALEDIR@"
|
#define LOCALEDIR "@LOCALEDIR@"
|
||||||
#define WEECHAT_HOME "@WEECHAT_HOME@"
|
#define WEECHAT_HOME "@WEECHAT_HOME@"
|
||||||
|
#define CA_FILE "@CA_FILE@"
|
||||||
#define _GNU_SOURCE 1
|
#define _GNU_SOURCE 1
|
||||||
|
|||||||
+42
-79
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2003-2022 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2003-2021 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
# Copyright (C) 2005 Benoit Papillault <benoit.papillault@free.fr>
|
# Copyright (C) 2005 Benoit Papillault <benoit.papillault@free.fr>
|
||||||
# Copyright (C) 2005-2006 Julien Louis <ptitlouis@sysif.net>
|
# Copyright (C) 2005-2006 Julien Louis <ptitlouis@sysif.net>
|
||||||
# Copyright (C) 2005-2009 Emmanuel Bouthenot <kolter@openics.org>
|
# Copyright (C) 2005-2009 Emmanuel Bouthenot <kolter@openics.org>
|
||||||
@@ -64,7 +64,7 @@ darwin*)
|
|||||||
esac
|
esac
|
||||||
|
|
||||||
# Gettext
|
# Gettext
|
||||||
ALL_LINGUAS="cs de es fr hu it ja pl pt pt_BR ru sr tr"
|
ALL_LINGUAS="cs de es fr hu it ja pl pt pt_BR ru tr"
|
||||||
AM_GNU_GETTEXT
|
AM_GNU_GETTEXT
|
||||||
AM_GNU_GETTEXT_VERSION([0.18])
|
AM_GNU_GETTEXT_VERSION([0.18])
|
||||||
|
|
||||||
@@ -98,7 +98,6 @@ AC_MSG_RESULT($ac_cv_type_socklen_t)
|
|||||||
AC_FUNC_SELECT_ARGTYPES
|
AC_FUNC_SELECT_ARGTYPES
|
||||||
AC_TYPE_SIGNAL
|
AC_TYPE_SIGNAL
|
||||||
AC_CHECK_FUNCS([mallinfo])
|
AC_CHECK_FUNCS([mallinfo])
|
||||||
AC_CHECK_FUNCS([mallinfo2])
|
|
||||||
|
|
||||||
# Variables in config.h
|
# Variables in config.h
|
||||||
|
|
||||||
@@ -130,12 +129,12 @@ AH_VERBATIM([PLUGIN_GUILE], [#undef PLUGIN_GUILE])
|
|||||||
AH_VERBATIM([PLUGIN_JAVASCRIPT], [#undef PLUGIN_JAVASCRIPT])
|
AH_VERBATIM([PLUGIN_JAVASCRIPT], [#undef PLUGIN_JAVASCRIPT])
|
||||||
AH_VERBATIM([PLUGIN_SPELL], [#undef PLUGIN_SPELL])
|
AH_VERBATIM([PLUGIN_SPELL], [#undef PLUGIN_SPELL])
|
||||||
AH_VERBATIM([PLUGIN_TRIGGER], [#undef PLUGIN_TRIGGER])
|
AH_VERBATIM([PLUGIN_TRIGGER], [#undef PLUGIN_TRIGGER])
|
||||||
AH_VERBATIM([PLUGIN_TYPING], [#undef PLUGIN_TYPING])
|
|
||||||
AH_VERBATIM([PLUGIN_XFER], [#undef PLUGIN_XFER])
|
AH_VERBATIM([PLUGIN_XFER], [#undef PLUGIN_XFER])
|
||||||
AH_VERBATIM([TESTS], [#undef TESTS])
|
AH_VERBATIM([TESTS], [#undef TESTS])
|
||||||
AH_VERBATIM([MAN], [#undef MAN])
|
AH_VERBATIM([MAN], [#undef MAN])
|
||||||
AH_VERBATIM([DOC], [#undef DOC])
|
AH_VERBATIM([DOC], [#undef DOC])
|
||||||
AH_VERBATIM([WEECHAT_HOME], [#define WEECHAT_HOME ""])
|
AH_VERBATIM([WEECHAT_HOME], [#define WEECHAT_HOME "~/.weechat"])
|
||||||
|
AH_VERBATIM([CA_FILE], [#define CA_FILE "/etc/ssl/certs/ca-certificates.crt"])
|
||||||
|
|
||||||
# Arguments for ./configure
|
# Arguments for ./configure
|
||||||
|
|
||||||
@@ -165,7 +164,6 @@ AC_ARG_ENABLE(php, [ --disable-php turn off PHP script plugi
|
|||||||
AC_ARG_ENABLE(spell, [ --disable-spell turn off Spell checker plugin (default=compiled)],enable_spell=$enableval,enable_spell=yes)
|
AC_ARG_ENABLE(spell, [ --disable-spell turn off Spell checker plugin (default=compiled)],enable_spell=$enableval,enable_spell=yes)
|
||||||
AC_ARG_ENABLE(enchant, [ --enable-enchant turn on Enchant lib for Spell checker plugin (default=off)],enable_enchant=$enableval,enable_enchant=no)
|
AC_ARG_ENABLE(enchant, [ --enable-enchant turn on Enchant lib for Spell checker plugin (default=off)],enable_enchant=$enableval,enable_enchant=no)
|
||||||
AC_ARG_ENABLE(trigger, [ --disable-trigger turn off Trigger plugin (default=compiled)],enable_trigger=$enableval,enable_trigger=yes)
|
AC_ARG_ENABLE(trigger, [ --disable-trigger turn off Trigger plugin (default=compiled)],enable_trigger=$enableval,enable_trigger=yes)
|
||||||
AC_ARG_ENABLE(typing, [ --disable-typing turn off Typing plugin (default=compiled)],enable_trigger=$enableval,enable_typing=yes)
|
|
||||||
AC_ARG_ENABLE(xfer, [ --disable-xfer turn off Xfer (file transfer) plugin (default=compiled)],enable_xfer=$enableval,enable_xfer=yes)
|
AC_ARG_ENABLE(xfer, [ --disable-xfer turn off Xfer (file transfer) plugin (default=compiled)],enable_xfer=$enableval,enable_xfer=yes)
|
||||||
AC_ARG_WITH(tclconfig, [ --with-tclconfig=DIR directory containing tcl configuration (tclConfig.sh)],tclconfig=$withval,tclconfig='')
|
AC_ARG_WITH(tclconfig, [ --with-tclconfig=DIR directory containing tcl configuration (tclConfig.sh)],tclconfig=$withval,tclconfig='')
|
||||||
AC_ARG_WITH(debug, [ --with-debug debugging: 0=no debug, 1=debug compilation (default=0)],debug=$withval,debug=0)
|
AC_ARG_WITH(debug, [ --with-debug debugging: 0=no debug, 1=debug compilation (default=0)],debug=$withval,debug=0)
|
||||||
@@ -173,10 +171,19 @@ AC_ARG_ENABLE(tests, [ --enable-tests turn on build of tests (d
|
|||||||
AC_ARG_ENABLE(man, [ --enable-man turn on build of man page (default=not built)],enable_man=$enableval,enable_man=no)
|
AC_ARG_ENABLE(man, [ --enable-man turn on build of man page (default=not built)],enable_man=$enableval,enable_man=no)
|
||||||
AC_ARG_ENABLE(doc, [ --enable-doc turn on build of documentation (default=not built)],enable_doc=$enableval,enable_doc=no)
|
AC_ARG_ENABLE(doc, [ --enable-doc turn on build of documentation (default=not built)],enable_doc=$enableval,enable_doc=no)
|
||||||
|
|
||||||
AC_ARG_VAR(WEECHAT_HOME, [Force a single WeeChat home directory for config, logs, scripts, etc.])
|
AC_ARG_VAR(WEECHAT_HOME, [WeeChat home directory for config, logs, scripts.. (default is "~/.weechat")])
|
||||||
|
AC_ARG_VAR(CA_FILE, [File containing the certificate authorities (default is "/etc/ssl/certs/ca-certificates.crt"). This is the default value of option "weechat.network.gnutls_ca_file".])
|
||||||
|
|
||||||
|
if test "x$WEECHAT_HOME" = "x" ; then
|
||||||
|
WEECHAT_HOME="~/.weechat"
|
||||||
|
fi
|
||||||
AC_DEFINE_UNQUOTED(WEECHAT_HOME, "$WEECHAT_HOME")
|
AC_DEFINE_UNQUOTED(WEECHAT_HOME, "$WEECHAT_HOME")
|
||||||
|
|
||||||
|
if test "x$CA_FILE" = "x" ; then
|
||||||
|
CA_FILE="/etc/ssl/certs/ca-certificates.crt"
|
||||||
|
fi
|
||||||
|
AC_DEFINE_UNQUOTED(CA_FILE, "$CA_FILE")
|
||||||
|
|
||||||
not_asked=""
|
not_asked=""
|
||||||
not_found=""
|
not_found=""
|
||||||
|
|
||||||
@@ -501,7 +508,7 @@ RUBY_VERSION=
|
|||||||
if test "x$enable_ruby" = "xyes" ; then
|
if test "x$enable_ruby" = "xyes" ; then
|
||||||
RUBY_CFLAGS=""
|
RUBY_CFLAGS=""
|
||||||
RUBY_LFLAGS=""
|
RUBY_LFLAGS=""
|
||||||
for v in "3.1" "3.0" "2.7" "2.6" "2.5" "2.4" "2.3" "2.2" "2.1" "2.0" "1.9" "1.8" ; do
|
for v in "2.7" "2.6" "2.5" "2.4" "2.3" "2.2" "2.1" "2.0" "1.9" "1.8" ; do
|
||||||
pkgconfig_ruby_found=`$PKGCONFIG --exists ruby-$v 2>/dev/null`
|
pkgconfig_ruby_found=`$PKGCONFIG --exists ruby-$v 2>/dev/null`
|
||||||
if test "x$?" = "x0" ; then
|
if test "x$?" = "x0" ; then
|
||||||
RUBY_VERSION=`$PKGCONFIG --modversion ruby-$v`
|
RUBY_VERSION=`$PKGCONFIG --modversion ruby-$v`
|
||||||
@@ -573,7 +580,7 @@ if test "x$enable_lua" = "xyes" ; then
|
|||||||
if test "x$LUA_CFLAGS" = "x" -o "x$LUA_LFLAGS" = "x" ; then
|
if test "x$LUA_CFLAGS" = "x" -o "x$LUA_LFLAGS" = "x" ; then
|
||||||
AC_MSG_CHECKING(for Lua headers and libraries with pkg-config)
|
AC_MSG_CHECKING(for Lua headers and libraries with pkg-config)
|
||||||
echo
|
echo
|
||||||
for l in "54" "5.4" "53" "5.3" "52" "5.2" "51" "5.1" "50" "5.0" "$lua_suffix" "" ; do
|
for l in "53" "5.3" "52" "5.2" "51" "5.1" "50" "5.0" "$lua_suffix" "" ; do
|
||||||
pkgconfig_lua_found=`$PKGCONFIG --exists lua$l 2>/dev/null`
|
pkgconfig_lua_found=`$PKGCONFIG --exists lua$l 2>/dev/null`
|
||||||
if test "x$?" = "x0" ; then
|
if test "x$?" = "x0" ; then
|
||||||
LUA_VERSION=`$PKGCONFIG --modversion lua$l`
|
LUA_VERSION=`$PKGCONFIG --modversion lua$l`
|
||||||
@@ -592,7 +599,7 @@ if test "x$enable_lua" = "xyes" ; then
|
|||||||
|
|
||||||
if test "x$LUA_CFLAGS" = "x" -o "x$LUA_LFLAGS" = "x" ; then
|
if test "x$LUA_CFLAGS" = "x" -o "x$LUA_LFLAGS" = "x" ; then
|
||||||
LUACONFIG=""
|
LUACONFIG=""
|
||||||
AC_CHECK_PROGS(LUACONFIG, lua-config54 lua-config5.4 lua-config53 lua-config5.3 lua-config52 lua-config5.2 lua-config51 lua-config5.1 lua-config50 lua-config5.0 lua-config)
|
AC_CHECK_PROGS(LUACONFIG, lua-config53 lua-config5.3 lua-config52 lua-config5.2 lua-config51 lua-config5.1 lua-config50 lua-config5.0 lua-config)
|
||||||
if test "x$LUACONFIG" != "x" ; then
|
if test "x$LUACONFIG" != "x" ; then
|
||||||
AC_MSG_CHECKING(for Lua headers and libraries with lua-config)
|
AC_MSG_CHECKING(for Lua headers and libraries with lua-config)
|
||||||
echo
|
echo
|
||||||
@@ -610,7 +617,7 @@ if test "x$enable_lua" = "xyes" ; then
|
|||||||
if test "x$ac_found_lua_header" = "xyes" -a "x$ac_found_liblua_header" = "xyes"; then
|
if test "x$ac_found_lua_header" = "xyes" -a "x$ac_found_liblua_header" = "xyes"; then
|
||||||
LUA_CFLAGS="$CFLAGS"
|
LUA_CFLAGS="$CFLAGS"
|
||||||
fi
|
fi
|
||||||
for l in "54" "5.4" "53" "5.3" "52" "5.2" "51" "5.1" "50" "5.0" "$lua_suffix" "" ; do
|
for l in "53" "5.3" "52" "5.2" "51" "5.1" "50" "5.0" "$lua_suffix" "" ; do
|
||||||
AC_CHECK_LIB(lua$l,lua_call,ac_found_lua_lib="yes",ac_found_lua_lib="no")
|
AC_CHECK_LIB(lua$l,lua_call,ac_found_lua_lib="yes",ac_found_lua_lib="no")
|
||||||
if test "x$ac_found_lua_lib" = "xyes" ; then
|
if test "x$ac_found_lua_lib" = "xyes" ; then
|
||||||
LUA_VERSION=">=5.1.0"
|
LUA_VERSION=">=5.1.0"
|
||||||
@@ -833,7 +840,6 @@ if test "x$enable_php" = "xyes" ; then
|
|||||||
|
|
||||||
PHP_CFLAGS=""
|
PHP_CFLAGS=""
|
||||||
PHP_LFLAGS=""
|
PHP_LFLAGS=""
|
||||||
PHP_VERSIONS="8.1 81 8.0 80 8 7.4 74 7.3 73 7.2 72 7.1 71 7.0 70 7 $php_suffix"
|
|
||||||
|
|
||||||
if test -n "$php_inc"; then
|
if test -n "$php_inc"; then
|
||||||
CFLAGS="$CFLAGS -I$php_inc"
|
CFLAGS="$CFLAGS -I$php_inc"
|
||||||
@@ -846,7 +852,7 @@ if test "x$enable_php" = "xyes" ; then
|
|||||||
if test "x$PHP_CFLAGS" = "x" -o "x$PHP_LFLAGS" = "x" ; then
|
if test "x$PHP_CFLAGS" = "x" -o "x$PHP_LFLAGS" = "x" ; then
|
||||||
AC_MSG_CHECKING(for PHP headers and libraries with pkg-config)
|
AC_MSG_CHECKING(for PHP headers and libraries with pkg-config)
|
||||||
echo
|
echo
|
||||||
for l in $PHP_VERSIONS "" ; do
|
for l in "7.4" "74" "7.3" "73" "7.2" "72" "7.1" "71" "7.0" "70" "7" "$php_suffix" "" ; do
|
||||||
pkgconfig_php_found=`$PKGCONFIG --exists php$l 2>/dev/null`
|
pkgconfig_php_found=`$PKGCONFIG --exists php$l 2>/dev/null`
|
||||||
if test "x$?" = "x0" ; then
|
if test "x$?" = "x0" ; then
|
||||||
pkgconfig_php_found=`$PKGCONFIG --atleast-version=7 php$l 2>/dev/null`
|
pkgconfig_php_found=`$PKGCONFIG --atleast-version=7 php$l 2>/dev/null`
|
||||||
@@ -863,12 +869,11 @@ if test "x$enable_php" = "xyes" ; then
|
|||||||
if test "x$PHP_CFLAGS" = "x" -o "x$PHP_LFLAGS" = "x" ; then
|
if test "x$PHP_CFLAGS" = "x" -o "x$PHP_LFLAGS" = "x" ; then
|
||||||
PHPCONFIG=""
|
PHPCONFIG=""
|
||||||
AC_MSG_CHECKING(for PHP headers and libraries with php-config)
|
AC_MSG_CHECKING(for PHP headers and libraries with php-config)
|
||||||
echo
|
for l in "7.4" "74" "7.3" "73" "7.2" "72" "7.1" "71" "7.0" "70" "7" "$php_suffix" "" ; do
|
||||||
for l in $PHP_VERSIONS "" ; do
|
|
||||||
AC_CHECK_PROG(PHPCONFIG, "php-config$l", "php-config$l")
|
AC_CHECK_PROG(PHPCONFIG, "php-config$l", "php-config$l")
|
||||||
if test "x$PHPCONFIG" != "x" ; then
|
if test "x$PHPCONFIG" != "x" ; then
|
||||||
php_config_version=`$PHPCONFIG --version`
|
php_config_version=`$PHPCONFIG --version`
|
||||||
if echo "x$php_config_version" | grep -e "^x7" -e "^x8" 1>/dev/null 2>&1 ; then
|
if test "x${php_config_version#7}" != "x${php_config_version}" ; then
|
||||||
PHP_VERSION=$php_config_version
|
PHP_VERSION=$php_config_version
|
||||||
PHP_CFLAGS=`$PHPCONFIG --includes`
|
PHP_CFLAGS=`$PHPCONFIG --includes`
|
||||||
PHP_LFLAGS="-L$($PHPCONFIG --prefix)/lib/ $($PHPCONFIG --libs) -lphp$l"
|
PHP_LFLAGS="-L$($PHPCONFIG --prefix)/lib/ $($PHPCONFIG --libs) -lphp$l"
|
||||||
@@ -885,25 +890,23 @@ if test "x$enable_php" = "xyes" ; then
|
|||||||
if test "x$ac_found_php_header" = "xyes" ; then
|
if test "x$ac_found_php_header" = "xyes" ; then
|
||||||
PHP_CFLAGS="$CFLAGS"
|
PHP_CFLAGS="$CFLAGS"
|
||||||
fi
|
fi
|
||||||
for l in $PHP_VERSIONS "" ; do
|
for l in "7.4" "74" "7.3" "73" "7.2" "72" "7.1" "71" "7.0" "70" "7" "$php_suffix" "" ; do
|
||||||
for PHP_LIB_SUFFIX in "$l" "$(echo $l | cut -c1)" "" ; do
|
AC_CHECK_LIB(php$l,php_execute_script,ac_found_php_lib="yes",ac_found_php_lib="no")
|
||||||
AC_CHECK_LIB(php$PHP_LIB_SUFFIX,php_execute_script,ac_found_php_lib="yes",ac_found_php_lib="no")
|
if test "x$ac_found_php_lib" = "xyes" ; then
|
||||||
if test "x$ac_found_php_lib" = "xyes" ; then
|
PHP_VERSION=">=7.0.0"
|
||||||
PHP_VERSION=">=7.0.0"
|
|
||||||
|
|
||||||
PHP_LFLAGS="$LDFLAGS -lphp$PHP_LIB_SUFFIX -lm"
|
PHP_LFLAGS="$LDFLAGS -lphp7 -lm"
|
||||||
|
|
||||||
ac2_save_LDFLAGS="$LDFLAGS"
|
ac2_save_LDFLAGS="$LDFLAGS"
|
||||||
LDFLAGS="$LDFLAGS -lphp$PHP_LIB_SUFFIX -lm"
|
LDFLAGS="$LDFLAGS -lphp7 -lm"
|
||||||
|
|
||||||
if echo "$host_os" | grep "^linux" 1>/dev/null 2>&1 ; then
|
if echo "$host_os" | grep "^linux" 1>/dev/null 2>&1 ; then
|
||||||
LDFLAGS="$LDFLAGS -ldl"
|
LDFLAGS="$LDFLAGS -ldl"
|
||||||
fi
|
|
||||||
|
|
||||||
LDFLAGS="$ac2_save_LDFLAGS"
|
|
||||||
break 2
|
|
||||||
fi
|
fi
|
||||||
done
|
|
||||||
|
LDFLAGS="$ac2_save_LDFLAGS"
|
||||||
|
break
|
||||||
|
fi
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -1019,18 +1022,6 @@ else
|
|||||||
not_asked="$not_asked trigger"
|
not_asked="$not_asked trigger"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# ---------------------------------- typing ------------------------------------
|
|
||||||
|
|
||||||
if test "x$enable_typing" = "xyes" ; then
|
|
||||||
TYPING_CFLAGS=""
|
|
||||||
TYPING_LFLAGS=""
|
|
||||||
AC_SUBST(TYPING_CFLAGS)
|
|
||||||
AC_SUBST(TYPING_LFLAGS)
|
|
||||||
AC_DEFINE(PLUGIN_TYPING)
|
|
||||||
else
|
|
||||||
not_asked="$not_asked typing"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# ---------------------------------- xfer --------------------------------------
|
# ---------------------------------- xfer --------------------------------------
|
||||||
|
|
||||||
if test "x$enable_xfer" = "xyes" ; then
|
if test "x$enable_xfer" = "xyes" ; then
|
||||||
@@ -1175,27 +1166,6 @@ else
|
|||||||
AC_SUBST(ZLIB_LFLAGS)
|
AC_SUBST(ZLIB_LFLAGS)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# ------------------------------------------------------------------------------
|
|
||||||
# zstd
|
|
||||||
# ------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
AC_CHECK_HEADER(zstd.h,ac_found_zstd_header="yes",ac_found_zstd_header="no")
|
|
||||||
AC_CHECK_LIB(zstd,ZSTD_compress,ac_found_zstd_lib="yes",ac_found_zstd_lib="no")
|
|
||||||
|
|
||||||
AC_MSG_CHECKING(for zstd headers and libraries)
|
|
||||||
if test "x$ac_found_zstd_header" = "xno" -o "x$ac_found_zstd_lib" = "xno" ; then
|
|
||||||
AC_MSG_RESULT(no)
|
|
||||||
AC_MSG_ERROR([
|
|
||||||
*** zstd was not found. You may want to get it from https://github.com/facebook/zstd
|
|
||||||
*** or try to install it with your software package manager.])
|
|
||||||
else
|
|
||||||
AC_MSG_RESULT(yes)
|
|
||||||
ZSTD_CFLAGS=`pkg-config libzstd --cflags`
|
|
||||||
ZSTD_LFLAGS=`pkg-config libzstd --libs`
|
|
||||||
AC_SUBST(ZSTD_CFLAGS)
|
|
||||||
AC_SUBST(ZSTD_LFLAGS)
|
|
||||||
fi
|
|
||||||
|
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
# curl
|
# curl
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
@@ -1284,7 +1254,7 @@ if test "x$enable_man" = "xyes" -o "x$enable_doc" = "xyes"; then
|
|||||||
enable_man="no"
|
enable_man="no"
|
||||||
enable_doc="no"
|
enable_doc="no"
|
||||||
fi
|
fi
|
||||||
ASCIIDOCTOR_ARGS="-a experimental -a reproducible -a 'prewrap!' -a 'webfonts!' -a icons=font -a sectanchors -a source-highlighter=pygments -a pygments-style=native"
|
ASCIIDOCTOR_ARGS="-a experimental -a 'prewrap!' -a icons=font -a sectanchors -a source-highlighter=prettify"
|
||||||
AC_SUBST(ASCIIDOCTOR)
|
AC_SUBST(ASCIIDOCTOR)
|
||||||
AC_SUBST(ASCIIDOCTOR_ARGS)
|
AC_SUBST(ASCIIDOCTOR_ARGS)
|
||||||
fi
|
fi
|
||||||
@@ -1404,7 +1374,6 @@ AM_CONDITIONAL(PLUGIN_JAVASCRIPT, test "$enable_javascript" = "yes")
|
|||||||
AM_CONDITIONAL(PLUGIN_PHP, test "$enable_php" = "yes")
|
AM_CONDITIONAL(PLUGIN_PHP, test "$enable_php" = "yes")
|
||||||
AM_CONDITIONAL(PLUGIN_SPELL, test "$enable_spell" = "yes")
|
AM_CONDITIONAL(PLUGIN_SPELL, test "$enable_spell" = "yes")
|
||||||
AM_CONDITIONAL(PLUGIN_TRIGGER, test "$enable_trigger" = "yes")
|
AM_CONDITIONAL(PLUGIN_TRIGGER, test "$enable_trigger" = "yes")
|
||||||
AM_CONDITIONAL(PLUGIN_TYPING, test "$enable_typing" = "yes")
|
|
||||||
AM_CONDITIONAL(PLUGIN_XFER, test "$enable_xfer" = "yes")
|
AM_CONDITIONAL(PLUGIN_XFER, test "$enable_xfer" = "yes")
|
||||||
AM_CONDITIONAL(TESTS, test "$enable_tests" = "yes")
|
AM_CONDITIONAL(TESTS, test "$enable_tests" = "yes")
|
||||||
AM_CONDITIONAL(MAN, test "$enable_man" = "yes")
|
AM_CONDITIONAL(MAN, test "$enable_man" = "yes")
|
||||||
@@ -1413,16 +1382,15 @@ AM_CONDITIONAL(DOC, test "$enable_doc" = "yes")
|
|||||||
AC_OUTPUT([Makefile
|
AC_OUTPUT([Makefile
|
||||||
icons/Makefile
|
icons/Makefile
|
||||||
doc/Makefile
|
doc/Makefile
|
||||||
doc/cs/Makefile
|
|
||||||
doc/de/Makefile
|
|
||||||
doc/en/Makefile
|
doc/en/Makefile
|
||||||
doc/es/Makefile
|
|
||||||
doc/fr/Makefile
|
doc/fr/Makefile
|
||||||
doc/it/Makefile
|
doc/it/Makefile
|
||||||
doc/ja/Makefile
|
doc/de/Makefile
|
||||||
doc/pl/Makefile
|
doc/pl/Makefile
|
||||||
|
doc/es/Makefile
|
||||||
doc/ru/Makefile
|
doc/ru/Makefile
|
||||||
doc/sr/Makefile
|
doc/ja/Makefile
|
||||||
|
doc/cs/Makefile
|
||||||
src/Makefile
|
src/Makefile
|
||||||
src/core/Makefile
|
src/core/Makefile
|
||||||
src/plugins/Makefile
|
src/plugins/Makefile
|
||||||
@@ -1446,7 +1414,6 @@ AC_OUTPUT([Makefile
|
|||||||
src/plugins/php/Makefile
|
src/plugins/php/Makefile
|
||||||
src/plugins/spell/Makefile
|
src/plugins/spell/Makefile
|
||||||
src/plugins/trigger/Makefile
|
src/plugins/trigger/Makefile
|
||||||
src/plugins/typing/Makefile
|
|
||||||
src/plugins/xfer/Makefile
|
src/plugins/xfer/Makefile
|
||||||
src/gui/Makefile
|
src/gui/Makefile
|
||||||
src/gui/curses/Makefile
|
src/gui/curses/Makefile
|
||||||
@@ -1535,9 +1502,6 @@ fi
|
|||||||
if test "x$enable_trigger" = "xyes"; then
|
if test "x$enable_trigger" = "xyes"; then
|
||||||
listplugins="$listplugins trigger"
|
listplugins="$listplugins trigger"
|
||||||
fi
|
fi
|
||||||
if test "x$enable_typing" = "xyes"; then
|
|
||||||
listplugins="$listplugins typing"
|
|
||||||
fi
|
|
||||||
if test "x$enable_xfer" = "xyes"; then
|
if test "x$enable_xfer" = "xyes"; then
|
||||||
listplugins="$listplugins xfer"
|
listplugins="$listplugins xfer"
|
||||||
fi
|
fi
|
||||||
@@ -1583,6 +1547,7 @@ echo " Compile with debug..... : $msg_debug"
|
|||||||
echo " Compile tests.......... : $msg_tests"
|
echo " Compile tests.......... : $msg_tests"
|
||||||
echo " Man page............... : $msg_man"
|
echo " Man page............... : $msg_man"
|
||||||
echo " Documentation.......... : $msg_doc"
|
echo " Documentation.......... : $msg_doc"
|
||||||
|
echo " Certificate authorities : ${CA_FILE}"
|
||||||
|
|
||||||
if test "x$not_asked" != "x" || test "x$not_found" != "x"; then
|
if test "x$not_asked" != "x" || test "x$not_found" != "x"; then
|
||||||
echo ""
|
echo ""
|
||||||
@@ -1596,10 +1561,8 @@ if test "x$not_asked" != "x" || test "x$not_found" != "x"; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
if test "x$WEECHAT_HOME" != "x" ; then
|
echo "WeeChat home directory is ${WEECHAT_HOME}"
|
||||||
echo "WeeChat home directory is forced by default to: ${WEECHAT_HOME}"
|
echo ""
|
||||||
echo ""
|
|
||||||
fi
|
|
||||||
eval echo "WeeChat will be installed in $bindir"
|
eval echo "WeeChat will be installed in $bindir"
|
||||||
echo ""
|
echo ""
|
||||||
echo "configure complete, now type 'make' to build WeeChat $VERSION"
|
echo "configure complete, now type 'make' to build WeeChat $VERSION"
|
||||||
|
|||||||
@@ -14,14 +14,13 @@ Build-Depends:
|
|||||||
liblua5.3-dev,
|
liblua5.3-dev,
|
||||||
tcl8.6-dev,
|
tcl8.6-dev,
|
||||||
guile-2.2-dev,
|
guile-2.2-dev,
|
||||||
php-dev, libphp-embed, libargon2-dev, libsodium-dev,
|
php-dev, libphp-embed, libargon2-0-dev, libsodium-dev,
|
||||||
libxml2-dev,
|
libxml2-dev,
|
||||||
libcurl4-gnutls-dev,
|
libcurl4-gnutls-dev,
|
||||||
libgcrypt20-dev,
|
libgcrypt20-dev,
|
||||||
libgnutls28-dev,
|
libgnutls28-dev,
|
||||||
libzstd-dev,
|
|
||||||
zlib1g-dev
|
zlib1g-dev
|
||||||
Standards-Version: 4.6.0.1
|
Standards-Version: 4.4.0
|
||||||
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
|
||||||
@@ -154,7 +153,6 @@ Description: Fast, light and extensible chat client - plugins
|
|||||||
- FIFO pipe for remote control
|
- FIFO pipe for remote control
|
||||||
- Relay (IRC proxy and WeeChat protocol)
|
- Relay (IRC proxy and WeeChat protocol)
|
||||||
- Trigger
|
- Trigger
|
||||||
- Typing
|
|
||||||
|
|
||||||
Package: weechat-devel-python
|
Package: weechat-devel-python
|
||||||
Architecture: any
|
Architecture: any
|
||||||
|
|||||||
@@ -1,10 +0,0 @@
|
|||||||
Document: weechat-faq-es
|
|
||||||
Title: WeeChat FAQ (Spanish)
|
|
||||||
Author: Sébastien Helleu
|
|
||||||
Abstract: This document answers frequently asked questions
|
|
||||||
about the WeeChat IRC client (Spanish version).
|
|
||||||
Section: Network/Communication
|
|
||||||
|
|
||||||
Format: HTML
|
|
||||||
Index: /usr/share/doc/weechat-devel-doc/html/weechat_faq.es.html
|
|
||||||
Files: /usr/share/doc/weechat-devel-doc/html/weechat_faq.es.html
|
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
Document: weechat-tester-de
|
||||||
|
Title: WeeChat tester's guide (German)
|
||||||
|
Author: Sébastien Helleu
|
||||||
|
Abstract: This document describes how to test and report
|
||||||
|
bugs against the WeeChat IRC Client (German version).
|
||||||
|
Section: Network/Communication
|
||||||
|
|
||||||
|
Format: HTML
|
||||||
|
Index: /usr/share/doc/weechat-devel-doc/html/weechat_tester.de.html
|
||||||
|
Files: /usr/share/doc/weechat-devel-doc/html/weechat_tester.de.html
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
Document: weechat-tester-en
|
||||||
|
Title: WeeChat tester's guide (English)
|
||||||
|
Author: Sébastien Helleu
|
||||||
|
Abstract: This document describes how to test and report
|
||||||
|
bugs against the WeeChat IRC Client (English version).
|
||||||
|
Section: Network/Communication
|
||||||
|
|
||||||
|
Format: HTML
|
||||||
|
Index: /usr/share/doc/weechat-devel-doc/html/weechat_tester.en.html
|
||||||
|
Files: /usr/share/doc/weechat-devel-doc/html/weechat_tester.en.html
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
Document: weechat-tester-fr
|
||||||
|
Title: WeeChat tester's guide (French)
|
||||||
|
Author: Sébastien Helleu
|
||||||
|
Abstract: This document describes how to test and report
|
||||||
|
bugs against the WeeChat IRC Client (French version).
|
||||||
|
Section: Network/Communication
|
||||||
|
|
||||||
|
Format: HTML
|
||||||
|
Index: /usr/share/doc/weechat-devel-doc/html/weechat_tester.fr.html
|
||||||
|
Files: /usr/share/doc/weechat-devel-doc/html/weechat_tester.fr.html
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
Document: weechat-tester-it
|
||||||
|
Title: WeeChat tester's guide (Italian)
|
||||||
|
Author: Sébastien Helleu
|
||||||
|
Abstract: This document describes how to test and report
|
||||||
|
bugs against the WeeChat IRC Client (Italian version).
|
||||||
|
Section: Network/Communication
|
||||||
|
|
||||||
|
Format: HTML
|
||||||
|
Index: /usr/share/doc/weechat-devel-doc/html/weechat_tester.it.html
|
||||||
|
Files: /usr/share/doc/weechat-devel-doc/html/weechat_tester.it.html
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
Document: weechat-tester-ja
|
||||||
|
Title: WeeChat tester's guide (Japanese)
|
||||||
|
Author: Sébastien Helleu
|
||||||
|
Abstract: This document describes how to test and report
|
||||||
|
bugs against the WeeChat IRC Client (Japanese version).
|
||||||
|
Section: Network/Communication
|
||||||
|
|
||||||
|
Format: HTML
|
||||||
|
Index: /usr/share/doc/weechat-devel-doc/html/weechat_tester.ja.html
|
||||||
|
Files: /usr/share/doc/weechat-devel-doc/html/weechat_tester.ja.html
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
Document: weechat-tester-pl
|
||||||
|
Title: WeeChat tester's guide (Polish)
|
||||||
|
Author: Sébastien Helleu
|
||||||
|
Abstract: This document describes how to test and report
|
||||||
|
bugs against the WeeChat IRC Client (Polish version).
|
||||||
|
Section: Network/Communication
|
||||||
|
|
||||||
|
Format: HTML
|
||||||
|
Index: /usr/share/doc/weechat-devel-doc/html/weechat_tester.pl.html
|
||||||
|
Files: /usr/share/doc/weechat-devel-doc/html/weechat_tester.pl.html
|
||||||
@@ -1,44 +1,3 @@
|
|||||||
weechat (3.4-2) unstable; urgency=medium
|
|
||||||
|
|
||||||
* Remove build dependency on ruby-pygments.rb (no longer required)
|
|
||||||
|
|
||||||
-- Emmanuel Bouthenot <kolter@debian.org> Sat, 08 Jan 2022 06:00:17 +0000
|
|
||||||
|
|
||||||
weechat (3.3-1) unstable; urgency=medium
|
|
||||||
|
|
||||||
* New upstream release
|
|
||||||
* Remove patch merged upstream (which command detection in libgcrypt)
|
|
||||||
* Minor updates in debian/copyright
|
|
||||||
* Enable Typing plugin
|
|
||||||
|
|
||||||
-- Emmanuel Bouthenot <kolter@debian.org> Mon, 20 Sep 2021 10:05:56 +0000
|
|
||||||
|
|
||||||
weechat (3.2.1-1) unstable; urgency=medium
|
|
||||||
|
|
||||||
* New upstream release
|
|
||||||
- fix CVE-2021-40516: possible denial of service (crash) via a crafted
|
|
||||||
WebSocket in relay plugin (Closes: #993803)
|
|
||||||
* Add a patch to fix a FTBFS (related to recent changes on which command
|
|
||||||
output) (Closes: #993333)
|
|
||||||
* Bump Standards-Version to 4.6.0.1
|
|
||||||
* Remove useless HomePage field in upstream/metadata
|
|
||||||
|
|
||||||
-- Emmanuel Bouthenot <kolter@debian.org> Tue, 07 Sep 2021 20:25:39 +0000
|
|
||||||
|
|
||||||
weechat (3.0.1-1) unstable; urgency=medium
|
|
||||||
|
|
||||||
* New upstream release
|
|
||||||
* Bump Standards-Version to 4.5.1
|
|
||||||
|
|
||||||
-- Emmanuel Bouthenot <kolter@debian.org> Wed, 03 Mar 2021 05:30:44 +0000
|
|
||||||
|
|
||||||
weechat (3.0-1) unstable; urgency=medium
|
|
||||||
|
|
||||||
* New upstream release
|
|
||||||
* Build against Guile 3.0 (instead of 2.2) (Closes: #969680)
|
|
||||||
|
|
||||||
-- Emmanuel Bouthenot <kolter@debian.org> Sat, 21 Nov 2020 07:34:12 +0000
|
|
||||||
|
|
||||||
weechat (2.9-1) unstable; urgency=medium
|
weechat (2.9-1) unstable; urgency=medium
|
||||||
|
|
||||||
* New upstream release
|
* New upstream release
|
||||||
|
|||||||
@@ -14,14 +14,13 @@ Build-Depends:
|
|||||||
liblua5.3-dev,
|
liblua5.3-dev,
|
||||||
tcl8.6-dev,
|
tcl8.6-dev,
|
||||||
guile-2.2-dev,
|
guile-2.2-dev,
|
||||||
php-dev, libphp-embed, libargon2-dev, libsodium-dev,
|
php-dev, libphp-embed, libargon2-0-dev, libsodium-dev,
|
||||||
libxml2-dev,
|
libxml2-dev,
|
||||||
libcurl4-gnutls-dev,
|
libcurl4-gnutls-dev,
|
||||||
libgcrypt20-dev,
|
libgcrypt20-dev,
|
||||||
libgnutls28-dev,
|
libgnutls28-dev,
|
||||||
libzstd-dev,
|
|
||||||
zlib1g-dev
|
zlib1g-dev
|
||||||
Standards-Version: 4.6.0.1
|
Standards-Version: 4.4.0
|
||||||
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
|
||||||
@@ -149,7 +148,6 @@ Description: Fast, light and extensible chat client - plugins
|
|||||||
- FIFO pipe for remote control
|
- FIFO pipe for remote control
|
||||||
- Relay (IRC proxy and WeeChat protocol)
|
- Relay (IRC proxy and WeeChat protocol)
|
||||||
- Trigger
|
- Trigger
|
||||||
- Typing
|
|
||||||
|
|
||||||
Package: weechat-python
|
Package: weechat-python
|
||||||
Architecture: any
|
Architecture: any
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ Upstream-Contact: Sébastien Helleu <flashcode@flashtux.org>
|
|||||||
Source: https://weechat.org/
|
Source: https://weechat.org/
|
||||||
|
|
||||||
Files: *
|
Files: *
|
||||||
Copyright: 2003-2022, Sébastien Helleu <flashcode@flashtux.org>
|
Copyright: 2003-2021, Sébastien Helleu <flashcode@flashtux.org>
|
||||||
License: GPL-3+
|
License: GPL-3+
|
||||||
|
|
||||||
Files: src/core/wee-command.c
|
Files: src/core/wee-command.c
|
||||||
|
|||||||
+2
-2
@@ -1,2 +1,2 @@
|
|||||||
version=4
|
version=3
|
||||||
opts=pgpsigurlmangle=s/$/.asc/ https://weechat.org/download/ /files/src/weechat-(\d.*)\.tar\.xz
|
opts=pgpsigurlmangle=s/$/.asc/ https://weechat.org/files/src/weechat-(\d.*)\.tar\.bz2
|
||||||
|
|||||||
@@ -1,10 +0,0 @@
|
|||||||
Document: weechat-faq-es
|
|
||||||
Title: WeeChat FAQ (Spanish)
|
|
||||||
Author: Sébastien Helleu
|
|
||||||
Abstract: This document answers frequently asked questions
|
|
||||||
about the WeeChat IRC client (Spanish version).
|
|
||||||
Section: Network/Communication
|
|
||||||
|
|
||||||
Format: HTML
|
|
||||||
Index: /usr/share/doc/weechat-doc/html/weechat_faq.es.html
|
|
||||||
Files: /usr/share/doc/weechat-doc/html/weechat_faq.es.html
|
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
Document: weechat-tester-de
|
||||||
|
Title: WeeChat tester's guide (German)
|
||||||
|
Author: Sébastien Helleu
|
||||||
|
Abstract: This document describes how to test and report
|
||||||
|
bugs against the WeeChat IRC Client (German version).
|
||||||
|
Section: Network/Communication
|
||||||
|
|
||||||
|
Format: HTML
|
||||||
|
Index: /usr/share/doc/weechat-doc/html/weechat_tester.de.html
|
||||||
|
Files: /usr/share/doc/weechat-doc/html/weechat_tester.de.html
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
Document: weechat-tester-en
|
||||||
|
Title: WeeChat tester's guide (English)
|
||||||
|
Author: Sébastien Helleu
|
||||||
|
Abstract: This document describes how to test and report
|
||||||
|
bugs against the WeeChat IRC Client (English version).
|
||||||
|
Section: Network/Communication
|
||||||
|
|
||||||
|
Format: HTML
|
||||||
|
Index: /usr/share/doc/weechat-doc/html/weechat_tester.en.html
|
||||||
|
Files: /usr/share/doc/weechat-doc/html/weechat_tester.en.html
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
Document: weechat-tester-fr
|
||||||
|
Title: WeeChat tester's guide (French)
|
||||||
|
Author: Sébastien Helleu
|
||||||
|
Abstract: This document describes how to test and report
|
||||||
|
bugs against the WeeChat IRC Client (French version).
|
||||||
|
Section: Network/Communication
|
||||||
|
|
||||||
|
Format: HTML
|
||||||
|
Index: /usr/share/doc/weechat-doc/html/weechat_tester.fr.html
|
||||||
|
Files: /usr/share/doc/weechat-doc/html/weechat_tester.fr.html
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
Document: weechat-tester-it
|
||||||
|
Title: WeeChat tester's guide (Italian)
|
||||||
|
Author: Sébastien Helleu
|
||||||
|
Abstract: This document describes how to test and report
|
||||||
|
bugs against the WeeChat IRC Client (Italian version).
|
||||||
|
Section: Network/Communication
|
||||||
|
|
||||||
|
Format: HTML
|
||||||
|
Index: /usr/share/doc/weechat-doc/html/weechat_tester.it.html
|
||||||
|
Files: /usr/share/doc/weechat-doc/html/weechat_tester.it.html
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
Document: weechat-tester-ja
|
||||||
|
Title: WeeChat tester's guide (Japanese)
|
||||||
|
Author: Sébastien Helleu
|
||||||
|
Abstract: This document describes how to test and report
|
||||||
|
bugs against the WeeChat IRC Client (Japanese version).
|
||||||
|
Section: Network/Communication
|
||||||
|
|
||||||
|
Format: HTML
|
||||||
|
Index: /usr/share/doc/weechat-doc/html/weechat_tester.ja.html
|
||||||
|
Files: /usr/share/doc/weechat-doc/html/weechat_tester.ja.html
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
Document: weechat-tester-pl
|
||||||
|
Title: WeeChat tester's guide (Polish)
|
||||||
|
Author: Sébastien Helleu
|
||||||
|
Abstract: This document describes how to test and report
|
||||||
|
bugs against the WeeChat IRC Client (Polish version).
|
||||||
|
Section: Network/Communication
|
||||||
|
|
||||||
|
Format: HTML
|
||||||
|
Index: /usr/share/doc/weechat-doc/html/weechat_tester.pl.html
|
||||||
|
Files: /usr/share/doc/weechat-doc/html/weechat_tester.pl.html
|
||||||
@@ -4,4 +4,3 @@ usr/lib/*/weechat/plugins/relay.so
|
|||||||
usr/lib/*/weechat/plugins/script.so
|
usr/lib/*/weechat/plugins/script.so
|
||||||
usr/lib/*/weechat/plugins/spell.so
|
usr/lib/*/weechat/plugins/spell.so
|
||||||
usr/lib/*/weechat/plugins/trigger.so
|
usr/lib/*/weechat/plugins/trigger.so
|
||||||
usr/lib/*/weechat/plugins/typing.so
|
|
||||||
|
|||||||
+2
-54
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2003-2022 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2003-2021 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.
|
||||||
@@ -21,58 +21,7 @@
|
|||||||
if(ENABLE_MAN OR ENABLE_DOC)
|
if(ENABLE_MAN OR ENABLE_DOC)
|
||||||
find_package(Asciidoctor)
|
find_package(Asciidoctor)
|
||||||
if(ASCIIDOCTOR_FOUND)
|
if(ASCIIDOCTOR_FOUND)
|
||||||
# common asciidoctor arguments
|
set(ASCIIDOCTOR_ARGS -a experimental -a "prewrap!" -a icons=font -a revnumber="${VERSION}" -a sectanchors -a source-highlighter=prettify)
|
||||||
set(ASCIIDOCTOR_ARGS -a experimental -a reproducible -a "prewrap!" -a "webfonts!" -a icons=font -a revnumber="${VERSION}" -a sectanchors -a source-highlighter=pygments -a pygments-style=native)
|
|
||||||
|
|
||||||
# sed arguments used to replace links in ChangeLog and release notes
|
|
||||||
set(SED_LINKS_ARGS
|
|
||||||
-e "'s/issue #\\([0-9][0-9]*\\)/https:\\/\\/github.com\\/weechat\\/weechat\\/issues\\/\\1[issue #\\1^]/g'"
|
|
||||||
-e "'s/bug #\\([0-9][0-9]*\\)/https:\\/\\/savannah.nongnu.org\\/bugs\\/?\\1[bug #\\1^]/g'"
|
|
||||||
-e "'s/task #\\([0-9][0-9]*\\)/https:\\/\\/savannah.nongnu.org\\/task\\/?\\1[task #\\1^]/g'"
|
|
||||||
-e "'s/patch #\\([0-9][0-9]*\\)/https:\\/\\/savannah.nongnu.org\\/patch\\/?\\1[patch #\\1^]/g'"
|
|
||||||
-e "'s/debian #\\([0-9][0-9]*\\)/http:\\/\\/bugs.debian.org\\/cgi-bin\\/bugreport.cgi?bug=\\1[debian bug #\\1^]/g'"
|
|
||||||
-e "'s/\\(CVE-[0-9][0-9]*-[0-9][0-9]*\\)/https:\\/\\/cve.mitre.org\\/cgi-bin\\/cvename.cgi?name=\\1[\\1^]/g'"
|
|
||||||
)
|
|
||||||
|
|
||||||
# ChangeLog
|
|
||||||
add_custom_command(
|
|
||||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/ChangeLog-links.adoc
|
|
||||||
COMMAND sed ARGS ${SED_LINKS_ARGS} ${CMAKE_CURRENT_SOURCE_DIR}/../ChangeLog.adoc > ${CMAKE_CURRENT_BINARY_DIR}/ChangeLog-links.adoc
|
|
||||||
DEPENDS
|
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/../ChangeLog.adoc
|
|
||||||
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
|
||||||
)
|
|
||||||
add_custom_command(
|
|
||||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/ChangeLog.html
|
|
||||||
COMMAND ${ASCIIDOCTOR_EXECUTABLE} ARGS ${ASCIIDOCTOR_ARGS} -a docinfodir="${CMAKE_CURRENT_SOURCE_DIR}" -o ChangeLog.html ${CMAKE_CURRENT_BINARY_DIR}/ChangeLog-links.adoc
|
|
||||||
DEPENDS
|
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/docinfo.html
|
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/ChangeLog-links.adoc
|
|
||||||
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
|
||||||
COMMENT "Building ChangeLog.html"
|
|
||||||
)
|
|
||||||
add_custom_target(changelog DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/ChangeLog.html)
|
|
||||||
|
|
||||||
# Release notes
|
|
||||||
add_custom_command(
|
|
||||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/ReleaseNotes-links.adoc
|
|
||||||
COMMAND sed ARGS ${SED_LINKS_ARGS} ${CMAKE_CURRENT_SOURCE_DIR}/../ReleaseNotes.adoc > ${CMAKE_CURRENT_BINARY_DIR}/ReleaseNotes-links.adoc
|
|
||||||
DEPENDS
|
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/../ReleaseNotes.adoc
|
|
||||||
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
|
||||||
)
|
|
||||||
add_custom_command(
|
|
||||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/ReleaseNotes.html
|
|
||||||
COMMAND ${ASCIIDOCTOR_EXECUTABLE} ARGS ${ASCIIDOCTOR_ARGS} -a docinfodir="${CMAKE_CURRENT_SOURCE_DIR}" -o ReleaseNotes.html ${CMAKE_CURRENT_BINARY_DIR}/ReleaseNotes-links.adoc
|
|
||||||
DEPENDS
|
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/docinfo.html
|
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/ReleaseNotes-links.adoc
|
|
||||||
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
|
||||||
COMMENT "Building ReleaseNotes.html"
|
|
||||||
)
|
|
||||||
add_custom_target(rn DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/ReleaseNotes.html)
|
|
||||||
|
|
||||||
# man/doc in all languages
|
|
||||||
add_subdirectory(cs)
|
add_subdirectory(cs)
|
||||||
add_subdirectory(de)
|
add_subdirectory(de)
|
||||||
add_subdirectory(en)
|
add_subdirectory(en)
|
||||||
@@ -82,7 +31,6 @@ if(ENABLE_MAN OR ENABLE_DOC)
|
|||||||
add_subdirectory(ja)
|
add_subdirectory(ja)
|
||||||
add_subdirectory(pl)
|
add_subdirectory(pl)
|
||||||
add_subdirectory(ru)
|
add_subdirectory(ru)
|
||||||
add_subdirectory(sr)
|
|
||||||
else()
|
else()
|
||||||
message(SEND_ERROR "Asciidoctor not found")
|
message(SEND_ERROR "Asciidoctor not found")
|
||||||
endif()
|
endif()
|
||||||
|
|||||||
+2
-2
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2003-2022 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2003-2021 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
# Copyright (C) 2006 Julien Louis <ptitlouis@sysif.net>
|
# Copyright (C) 2006 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.
|
||||||
@@ -18,7 +18,7 @@
|
|||||||
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
|
||||||
#
|
#
|
||||||
|
|
||||||
SUBDIRS = . cs de en es fr it ja pl ru sr
|
SUBDIRS = . cs de en es fr it ja pl ru
|
||||||
|
|
||||||
EXTRA_DIST = docgen.py \
|
EXTRA_DIST = docgen.py \
|
||||||
docinfo.html \
|
docinfo.html \
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2003-2022 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2003-2021 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-2022 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2003-2021 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.
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -16,11 +16,11 @@
|
|||||||
(works only with the command *weechat-headless*, not compatible with option
|
(works only with the command *weechat-headless*, not compatible with option
|
||||||
"--daemon").
|
"--daemon").
|
||||||
|
|
||||||
// TRANSLATION MISSING
|
|
||||||
*-d*, *--dir* _<path>_::
|
*-d*, *--dir* _<path>_::
|
||||||
Force a single directory for all WeeChat files (directory is created if not found).
|
Nastav cestu jako dovmský adresář pro WeeChat (použitou pro konfigurační
|
||||||
Four directories can be given, separated by colons (in this order: config,
|
soubory, logy, uživatelské pluginy a skripty), výchozí hodnota je
|
||||||
data, cache, runtime).
|
"~/.weechat" (poznámka: složka bude vytvořena pokud nebude nalezena
|
||||||
|
Weechatem)
|
||||||
Pokud tato volba není zadána, použije se promněná prostředí WEECHAT_HOME
|
Pokud tato volba není zadána, použije se promněná prostředí WEECHAT_HOME
|
||||||
(pokud není prázdná)
|
(pokud není prázdná)
|
||||||
|
|
||||||
|
|||||||
+27
-30
@@ -8,7 +8,7 @@ S irc pluginem se můžete doččasně připojit na server s URL jako:
|
|||||||
|
|
||||||
K připojení na IRC kanál Weechatu pro podporu s přezdívkou "mynick":
|
K připojení na IRC kanál Weechatu pro podporu s přezdívkou "mynick":
|
||||||
|
|
||||||
irc://mynick@irc.libera.chat/#weechat
|
irc://mynick@chat.freenode.net/#weechat
|
||||||
|
|
||||||
IPv6 adresa může být uzavřena do hranatých závorek k přidání portu, například:
|
IPv6 adresa může být uzavřena do hranatých závorek k přidání portu, například:
|
||||||
|
|
||||||
@@ -16,82 +16,79 @@ IPv6 adresa může být uzavřena do hranatých závorek k přidání portu, nap
|
|||||||
// end::plugin_options[]
|
// end::plugin_options[]
|
||||||
|
|
||||||
// tag::files[]
|
// tag::files[]
|
||||||
$HOME/.config/weechat/weechat.conf::
|
$HOME/.weechat/weechat.conf::
|
||||||
hlavní konfigurační soubor WeeChatu
|
hlavní konfigurační soubor WeeChatu
|
||||||
|
|
||||||
$HOME/.config/weechat/plugins.conf::
|
$HOME/.weechat/plugins.conf::
|
||||||
soubor konfigurace pluginů
|
soubor konfigurace pluginů
|
||||||
|
|
||||||
$HOME/.config/weechat/sec.conf::
|
$HOME/.weechat/sec.conf::
|
||||||
konfigurační soubor s chráněnými daty
|
konfigurační soubor s chráněnými daty
|
||||||
|
|
||||||
$HOME/.config/weechat/alias.conf::
|
$HOME/.weechat/alias.conf::
|
||||||
configurační soubor pro _alias_ plugin
|
configurační soubor pro _alias_ plugin
|
||||||
|
|
||||||
$HOME/.config/weechat/buflist.conf::
|
$HOME/.weechat/buflist.conf::
|
||||||
konfigurační soubor pro _buflist_ plugin
|
konfigurační soubor pro _buflist_ plugin
|
||||||
|
|
||||||
$HOME/.config/weechat/charset.conf::
|
$HOME/.weechat/charset.conf::
|
||||||
konfigurační soubor pro _charset_ plugin
|
konfigurační soubor pro _charset_ plugin
|
||||||
|
|
||||||
$HOME/.config/weechat/exec.conf::
|
$HOME/.weechat/exec.conf::
|
||||||
konfigurační soubor pro _exec_ plugin
|
konfigurační soubor pro _exec_ plugin
|
||||||
|
|
||||||
$HOME/.config/weechat/fifo.conf::
|
$HOME/.weechat/fifo.conf::
|
||||||
konfigurační soubor pro _fifo_ plugin
|
konfigurační soubor pro _fifo_ plugin
|
||||||
|
|
||||||
$HOME/.config/weechat/fset.conf::
|
$HOME/.weechat/fset.conf::
|
||||||
konfigurační soubor pro _fset_ plugin
|
konfigurační soubor pro _fset_ plugin
|
||||||
|
|
||||||
$HOME/.config/weechat/guile.conf::
|
$HOME/.weechat/guile.conf::
|
||||||
konfigurační soubor pro _guile_ plugin
|
konfigurační soubor pro _guile_ plugin
|
||||||
|
|
||||||
$HOME/.config/weechat/irc.conf::
|
$HOME/.weechat/irc.conf::
|
||||||
konfigurační soubor pro _irc_ plugin
|
konfigurační soubor pro _irc_ plugin
|
||||||
|
|
||||||
$HOME/.config/weechat/javascript.conf::
|
$HOME/.weechat/javascript.conf::
|
||||||
konfigurační soubor pro _javascript_ plugin
|
konfigurační soubor pro _javascript_ plugin
|
||||||
|
|
||||||
$HOME/.config/weechat/logger.conf::
|
$HOME/.weechat/logger.conf::
|
||||||
konfigurační soubor pro _logger_ plugin
|
konfigurační soubor pro _logger_ plugin
|
||||||
|
|
||||||
$HOME/.config/weechat/lua.conf::
|
$HOME/.weechat/lua.conf::
|
||||||
konfigurační soubor pro _lua_ plugin
|
konfigurační soubor pro _lua_ plugin
|
||||||
|
|
||||||
$HOME/.config/weechat/perl.conf::
|
$HOME/.weechat/perl.conf::
|
||||||
konfigurační soubor pro _perl_ plugin
|
konfigurační soubor pro _perl_ plugin
|
||||||
|
|
||||||
$HOME/.config/weechat/php.conf::
|
$HOME/.weechat/php.conf::
|
||||||
konfigurační soubor pro _php_ plugin
|
konfigurační soubor pro _php_ plugin
|
||||||
|
|
||||||
$HOME/.config/weechat/python.conf::
|
$HOME/.weechat/python.conf::
|
||||||
konfigurační soubor pro _python_ plugin
|
konfigurační soubor pro _python_ plugin
|
||||||
|
|
||||||
$HOME/.config/weechat/relay.conf::
|
$HOME/.weechat/relay.conf::
|
||||||
konfigurační soubor pro _relay_ plugin
|
konfigurační soubor pro _relay_ plugin
|
||||||
|
|
||||||
$HOME/.config/weechat/ruby.conf::
|
$HOME/.weechat/ruby.conf::
|
||||||
konfigurační soubor pro _ruby_ plugin
|
konfigurační soubor pro _ruby_ plugin
|
||||||
|
|
||||||
$HOME/.config/weechat/script.conf::
|
$HOME/.weechat/script.conf::
|
||||||
konfigurační soubor pro _script_ plugin
|
konfigurační soubor pro _script_ plugin
|
||||||
|
|
||||||
$HOME/.config/weechat/spell.conf::
|
$HOME/.weechat/spell.conf::
|
||||||
konfigurační soubor pro _spell_ plugin
|
konfigurační soubor pro _spell_ plugin
|
||||||
|
|
||||||
$HOME/.config/weechat/tcl.conf::
|
$HOME/.weechat/tcl.conf::
|
||||||
konfigurační soubor pro _tcl_ plugin
|
konfigurační soubor pro _tcl_ plugin
|
||||||
|
|
||||||
$HOME/.config/weechat/trigger.conf::
|
$HOME/.weechat/trigger.conf::
|
||||||
konfigurační soubor pro _trigger_ plugin
|
konfigurační soubor pro _trigger_ plugin
|
||||||
|
|
||||||
$HOME/.config/weechat/typing.conf::
|
$HOME/.weechat/xfer.conf::
|
||||||
konfigurační soubor pro _typing_ plugin
|
|
||||||
|
|
||||||
$HOME/.config/weechat/xfer.conf::
|
|
||||||
konfigurační soubor pro _xfer_ plugin
|
konfigurační soubor pro _xfer_ plugin
|
||||||
|
|
||||||
$HOME/.local/share/weechat/weechat.log::
|
$HOME/.weechat/weechat.log::
|
||||||
soubor záznamů WeeChatu
|
soubor záznamů WeeChatu
|
||||||
// end::files[]
|
// end::files[]
|
||||||
|
|
||||||
@@ -99,7 +96,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-2022 {author}
|
Copyright (C) 2003-2021 {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
|
||||||
|
|||||||
@@ -113,13 +113,13 @@ Použijte příkaz `/plugin` k zobrazení nahraných pluginů, pravděpodobně u
|
|||||||
Můžete přidat irc server příkazem `/server`, například:
|
Můžete přidat irc server příkazem `/server`, například:
|
||||||
|
|
||||||
----
|
----
|
||||||
/server add libera irc.libera.chat/6697 -ssl
|
/server add freenode chat.freenode.net
|
||||||
----
|
----
|
||||||
|
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
In this command, `libera` is the internal server name used by WeeChat:
|
In this command, `freenode` is the internal server name used by WeeChat:
|
||||||
you'll be able to connect with `/connect libera` and the server options
|
you'll be able to connect with `/connect freenode` and the server options
|
||||||
are _irc.server.libera.xxx_.
|
are _irc.server.freenode.xxx_.
|
||||||
|
|
||||||
Jako obvykle je poskytována nápověda pokud se ztratíte:
|
Jako obvykle je poskytována nápověda pokud se ztratíte:
|
||||||
|
|
||||||
@@ -138,38 +138,45 @@ Pro každou serverovou volbu WeeChat použije její hodnotu pokud je definována
|
|||||||
(není "prázdná"). Jinak WeeChat použije výchozí hodnotu ("irc.server_default.xxx).
|
(není "prázdná"). Jinak WeeChat použije výchozí hodnotu ("irc.server_default.xxx).
|
||||||
|
|
||||||
Například, je zde výchozí přezdívka (založena na vašem un*x loginu), můžete
|
Například, je zde výchozí přezdívka (založena na vašem un*x loginu), můžete
|
||||||
ji přepsat pro libera s následujícím příkazem:
|
ji přepsat pro freenode s následujícím příkazem:
|
||||||
|
|
||||||
----
|
----
|
||||||
/set irc.server.libera.nicks "mynick,mynick2,mynick3,mynick4,mynick5"
|
/set irc.server.freenode.nicks "mynick,mynick2,mynick3,mynick4,mynick5"
|
||||||
----
|
----
|
||||||
|
|
||||||
Nastavení username a realname:
|
Nastavení username a realname:
|
||||||
|
|
||||||
----
|
----
|
||||||
/set irc.server.libera.username "Mé uživatelské jméno"
|
/set irc.server.freenode.username "Mé uživatelské jméno"
|
||||||
/set irc.server.libera.realname "Mé skutečné jméno"
|
/set irc.server.freenode.realname "Mé skutečné jméno"
|
||||||
----
|
----
|
||||||
|
|
||||||
K zapnutí automatického připojení při spuštění:
|
K zapnutí automatického připojení při spuštění:
|
||||||
|
|
||||||
----
|
----
|
||||||
/set irc.server.libera.autoconnect on
|
/set irc.server.freenode.autoconnect on
|
||||||
|
----
|
||||||
|
|
||||||
|
K připojení s SSL:
|
||||||
|
|
||||||
|
----
|
||||||
|
/set irc.server.freenode.addresses "chat.freenode.net/7000"
|
||||||
|
/set irc.server.freenode.ssl on
|
||||||
----
|
----
|
||||||
|
|
||||||
Pokud je na serveru podporován SASL, můžete jej použít pro autentizaci (mužete
|
Pokud je na serveru podporován SASL, můžete jej použít pro autentizaci (mužete
|
||||||
být identifikován před připojením kanálů):
|
být identifikován před připojením kanálů):
|
||||||
|
|
||||||
----
|
----
|
||||||
/set irc.server.libera.sasl_username "mynick"
|
/set irc.server.freenode.sasl_username "mynick"
|
||||||
/set irc.server.libera.sasl_password "xxxxxxx"
|
/set irc.server.freenode.sasl_password "xxxxxxx"
|
||||||
----
|
----
|
||||||
|
|
||||||
K spuštění příkazů po připojení k serveru, například k autentizaci s nickserv
|
K spuštění příkazů po připojení k serveru, například k autentizaci s nickserv
|
||||||
(pouze pokud nepoužíváte autentizaci přes SASL):
|
(pouze pokud nepoužíváte autentizaci přes SASL):
|
||||||
|
|
||||||
----
|
----
|
||||||
/set irc.server.libera.command "/msg nickserv identify xxxxxxx"
|
/set irc.server.freenode.command "/msg nickserv identify xxxxxxx"
|
||||||
----
|
----
|
||||||
|
|
||||||
[NOTE]
|
[NOTE]
|
||||||
@@ -187,24 +194,24 @@ First setup a passphrase:
|
|||||||
----
|
----
|
||||||
|
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
Then add a secured data with your libera password:
|
Then add a secured data with your freenode password:
|
||||||
|
|
||||||
----
|
----
|
||||||
/secure set libera_password xxxxxxx
|
/secure set freenode_password xxxxxxx
|
||||||
----
|
----
|
||||||
|
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
Then you can use `+${sec.data.libera_password}+` instead of your password in
|
Then you can use `+${sec.data.freenode_password}+` instead of your password in
|
||||||
IRC options mentioned above, for example:
|
IRC options mentioned above, for example:
|
||||||
|
|
||||||
----
|
----
|
||||||
/set irc.server.libera.sasl_password "${sec.data.libera_password}"
|
/set irc.server.freenode.sasl_password "${sec.data.freenode_password}"
|
||||||
----
|
----
|
||||||
|
|
||||||
K automatickému připojení některých kanálů při připojování k serveru:
|
K automatickému připojení některých kanálů při připojování k serveru:
|
||||||
|
|
||||||
----
|
----
|
||||||
/set irc.server.libera.autojoin "#channel1,#channel2"
|
/set irc.server.freenode.autojoin "#channel1,#channel2"
|
||||||
----
|
----
|
||||||
|
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
@@ -217,25 +224,25 @@ K smazání hodnoty serverové volby a k použití výchozí hodnoty místo ní,
|
|||||||
například k požití výchozích přezdívek (irc.server_default.nicks):
|
například k požití výchozích přezdívek (irc.server_default.nicks):
|
||||||
|
|
||||||
----
|
----
|
||||||
/unset irc.server.libera.nicks
|
/unset irc.server.freenode.nicks
|
||||||
----
|
----
|
||||||
|
|
||||||
Ostatní volby: můžete nastavit ostatní volby s následujícím příkazem ("xxx" je
|
Ostatní volby: můžete nastavit ostatní volby s následujícím příkazem ("xxx" je
|
||||||
název volby):
|
název volby):
|
||||||
|
|
||||||
----
|
----
|
||||||
/set irc.server.libera.xxx value
|
/set irc.server.freenode.xxx value
|
||||||
----
|
----
|
||||||
|
|
||||||
[[connect_to_irc_server]]
|
[[connect_to_irc_server]]
|
||||||
== Připojení k IRC serveru
|
== Připojení k IRC serveru
|
||||||
|
|
||||||
----
|
----
|
||||||
/connect libera
|
/connect freenode
|
||||||
----
|
----
|
||||||
|
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
With this command, WeeChat connects to the libera server and auto-joins the
|
With this command, WeeChat connects to the freenode server and auto-joins the
|
||||||
channels configured in the "autojoin" server option.
|
channels configured in the "autojoin" server option.
|
||||||
|
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
|
|||||||
+14
-1
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2003-2022 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2003-2021 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.
|
||||||
#
|
#
|
||||||
@@ -107,4 +107,17 @@ if(ENABLE_DOC)
|
|||||||
add_custom_target(doc-quickstart-de ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.de.html)
|
add_custom_target(doc-quickstart-de ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.de.html)
|
||||||
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.de.html DESTINATION ${DATAROOTDIR}/doc/${PROJECT_NAME})
|
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.de.html DESTINATION ${DATAROOTDIR}/doc/${PROJECT_NAME})
|
||||||
|
|
||||||
|
# tester's guide
|
||||||
|
add_custom_command(
|
||||||
|
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.de.html
|
||||||
|
COMMAND ${ASCIIDOCTOR_EXECUTABLE} ARGS ${ASCIIDOCTOR_ARGS} -o weechat_tester.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.de.adoc
|
||||||
|
DEPENDS
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/../docinfo.html
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.de.adoc
|
||||||
|
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
||||||
|
COMMENT "Building weechat_tester.de.html"
|
||||||
|
)
|
||||||
|
add_custom_target(doc-tester-de ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.de.html)
|
||||||
|
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.de.html DESTINATION ${DATAROOTDIR}/doc/${PROJECT_NAME})
|
||||||
|
|
||||||
endif()
|
endif()
|
||||||
|
|||||||
+8
-2
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2003-2022 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2003-2021 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
# Copyright (C) 2006 Julien Louis <ptitlouis@sysif.net>
|
# Copyright (C) 2006 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.
|
||||||
@@ -28,6 +28,7 @@ EXTRA_DIST = CMakeLists.txt \
|
|||||||
weechat_scripting.de.adoc \
|
weechat_scripting.de.adoc \
|
||||||
weechat_faq.de.adoc \
|
weechat_faq.de.adoc \
|
||||||
weechat_quickstart.de.adoc \
|
weechat_quickstart.de.adoc \
|
||||||
|
weechat_tester.de.adoc \
|
||||||
includes/autogen_api_completions.de.adoc \
|
includes/autogen_api_completions.de.adoc \
|
||||||
includes/autogen_api_hdata.de.adoc \
|
includes/autogen_api_hdata.de.adoc \
|
||||||
includes/autogen_api_infolists.de.adoc \
|
includes/autogen_api_infolists.de.adoc \
|
||||||
@@ -52,7 +53,8 @@ if DOC
|
|||||||
doc_targets = weechat_user.de.html \
|
doc_targets = weechat_user.de.html \
|
||||||
weechat_scripting.de.html \
|
weechat_scripting.de.html \
|
||||||
weechat_faq.de.html \
|
weechat_faq.de.html \
|
||||||
weechat_quickstart.de.html
|
weechat_quickstart.de.html \
|
||||||
|
weechat_tester.de.html
|
||||||
doc_install = install-doc
|
doc_install = install-doc
|
||||||
doc_uninstall = uninstall-doc
|
doc_uninstall = uninstall-doc
|
||||||
endif
|
endif
|
||||||
@@ -80,6 +82,10 @@ weechat_faq.de.html: weechat_faq.de.adoc $(abs_top_srcdir)/doc/docinfo.html
|
|||||||
weechat_quickstart.de.html: weechat_quickstart.de.adoc $(abs_top_srcdir)/doc/docinfo.html
|
weechat_quickstart.de.html: weechat_quickstart.de.adoc $(abs_top_srcdir)/doc/docinfo.html
|
||||||
$(ASCIIDOCTOR) $(ASCIIDOCTOR_ARGS) -a revnumber="$(VERSION)" -o weechat_quickstart.de.html $(abs_top_srcdir)/doc/de/weechat_quickstart.de.adoc
|
$(ASCIIDOCTOR) $(ASCIIDOCTOR_ARGS) -a revnumber="$(VERSION)" -o weechat_quickstart.de.html $(abs_top_srcdir)/doc/de/weechat_quickstart.de.adoc
|
||||||
|
|
||||||
|
# tester's guide
|
||||||
|
weechat_tester.de.html: weechat_tester.de.adoc $(abs_top_srcdir)/doc/docinfo.html
|
||||||
|
$(ASCIIDOCTOR) $(ASCIIDOCTOR_ARGS) -a revnumber="$(VERSION)" -o weechat_tester.de.html $(abs_top_srcdir)/doc/de/weechat_tester.de.adoc
|
||||||
|
|
||||||
# install man/docs
|
# install man/docs
|
||||||
|
|
||||||
install-data-hook: $(man_install) $(doc_install)
|
install-data-hook: $(man_install) $(doc_install)
|
||||||
|
|||||||
@@ -18,25 +18,23 @@
|
|||||||
|
|
||||||
| guile | guile_script | Liste der Skripten
|
| guile | guile_script | Liste der Skripten
|
||||||
|
|
||||||
| irc | irc_channel | aktueller IRC-Kanal
|
| irc | irc_channel | aktueller IRC-Channel
|
||||||
|
|
||||||
| irc | irc_channel_nicks_hosts | Liste der Nicks und Hostnamen des aktuellen Kanals
|
| irc | irc_channel_nicks_hosts | Liste der Nicks und Hostnamen des aktuellen Channels
|
||||||
|
|
||||||
| irc | irc_channel_topic | Thema des aktuellen IRC-Kanals
|
| irc | irc_channel_topic | Thema des aktuellen IRC-Channels
|
||||||
|
|
||||||
| irc | irc_channels | Kanäle auf allen IRC Servern
|
| irc | irc_channels | Channels auf allen IRC Servern
|
||||||
|
|
||||||
| irc | irc_channels_autojoin | Kanäle, die automatisch auf dem aktuellen Server betreten werden (Option "autojoin")
|
|
||||||
|
|
||||||
| irc | irc_ignores_numbers | Anzahl für festgelegte Ignorierungen
|
| irc | irc_ignores_numbers | Anzahl für festgelegte Ignorierungen
|
||||||
|
|
||||||
| irc | irc_modelist_masks | Modelist Maske für aktuellen IRC Kanal; benötigtes Argument: modelist mode
|
| irc | irc_modelist_masks | Modelist Maske für aktuellen IRC Channel; benötigtes Argument: modelist mode
|
||||||
|
|
||||||
| irc | irc_modelist_numbers | Modelist Nummern für aktuellen IRC Kanal; benötigtes Argument: modelist mode
|
| irc | irc_modelist_numbers | Modelist Nummern für aktuellen IRC Channel; benötigtes Argument: modelist mode
|
||||||
|
|
||||||
| irc | irc_msg_kick | Standardmitteilung wenn man jemanden aus einem Kanal wirftchannel
|
| irc | irc_msg_kick | Standardmitteilung wenn man jemanden aus einem Channel wirft
|
||||||
|
|
||||||
| irc | irc_msg_part | Standardmitteilung beim Verlassen (/part) eines IRC-Kanals
|
| irc | irc_msg_part | Standardmitteilung beim Verlassen (/part) eines IRC-Channels
|
||||||
|
|
||||||
| irc | irc_notify_nicks | Nicks für die eine Benachrichtigung existiert
|
| irc | irc_notify_nicks | Nicks für die eine Benachrichtigung existiert
|
||||||
|
|
||||||
@@ -46,17 +44,17 @@
|
|||||||
|
|
||||||
| irc | irc_server | aktueller IRC-Server
|
| irc | irc_server | aktueller IRC-Server
|
||||||
|
|
||||||
| irc | irc_server_channels | Kanäle des derzeitigen IRC-Server
|
| irc | irc_server_channels | Channels des derzeitigen IRC-Server
|
||||||
|
|
||||||
| irc | irc_server_nick | Nick beim derzeitigen IRC-Server
|
| irc | irc_server_nick | Nick beim derzeitigen IRC-Server
|
||||||
|
|
||||||
| irc | irc_server_nicks | Nicks für alle Kanäle auf dem aktuellen IRC-Server
|
| irc | irc_server_nicks | Nicks für alle Channels auf dem aktuellen IRC-Server
|
||||||
|
|
||||||
| irc | irc_server_privates | Privat auf aktuellem IRC Server
|
| irc | irc_server_privates | Privat auf aktuellem IRC Server
|
||||||
|
|
||||||
| irc | irc_servers | IRC-Server (interne Namen)
|
| irc | irc_servers | IRC-Server (interne Namen)
|
||||||
|
|
||||||
| irc | nick | Liste der Nicks im aktuellen Kanal
|
| irc | nick | Liste der Nicks im aktuellen Channel
|
||||||
|
|
||||||
| javascript | javascript_script | Liste der Skripten
|
| javascript | javascript_script | Liste der Skripten
|
||||||
|
|
||||||
|
|||||||
@@ -53,7 +53,7 @@ _next_script_ (pointer, hdata: "guile_script") +
|
|||||||
|
|
||||||
| irc
|
| irc
|
||||||
| [[hdata_irc_channel]]<<hdata_irc_channel,irc_channel>>
|
| [[hdata_irc_channel]]<<hdata_irc_channel,irc_channel>>
|
||||||
| IRC-Kanal
|
| IRC-Channel
|
||||||
| -
|
| -
|
||||||
| _type_ (integer) +
|
| _type_ (integer) +
|
||||||
_name_ (string) +
|
_name_ (string) +
|
||||||
@@ -79,8 +79,6 @@ _last_nick_speaking_time_ (pointer, hdata: "irc_channel_speaking") +
|
|||||||
_modelists_ (pointer, hdata: "irc_modelist") +
|
_modelists_ (pointer, hdata: "irc_modelist") +
|
||||||
_last_modelist_ (pointer, hdata: "irc_modelist") +
|
_last_modelist_ (pointer, hdata: "irc_modelist") +
|
||||||
_join_smart_filtered_ (hashtable) +
|
_join_smart_filtered_ (hashtable) +
|
||||||
_typing_state_ (integer) +
|
|
||||||
_typing_status_sent_ (time) +
|
|
||||||
_buffer_ (pointer, hdata: "buffer") +
|
_buffer_ (pointer, hdata: "buffer") +
|
||||||
_buffer_as_string_ (string) +
|
_buffer_as_string_ (string) +
|
||||||
_prev_channel_ (pointer, hdata: "irc_channel") +
|
_prev_channel_ (pointer, hdata: "irc_channel") +
|
||||||
@@ -89,7 +87,7 @@ _next_channel_ (pointer, hdata: "irc_channel") +
|
|||||||
|
|
||||||
| irc
|
| irc
|
||||||
| [[hdata_irc_channel_speaking]]<<hdata_irc_channel_speaking,irc_channel_speaking>>
|
| [[hdata_irc_channel_speaking]]<<hdata_irc_channel_speaking,irc_channel_speaking>>
|
||||||
| irc channel_speaking
|
| IRC channel_speaking
|
||||||
| -
|
| -
|
||||||
| _nick_ (string) +
|
| _nick_ (string) +
|
||||||
_time_last_message_ (time) +
|
_time_last_message_ (time) +
|
||||||
@@ -235,12 +233,6 @@ _hook_connect_ (pointer, hdata: "hook") +
|
|||||||
_hook_fd_ (pointer, hdata: "hook") +
|
_hook_fd_ (pointer, hdata: "hook") +
|
||||||
_hook_timer_connection_ (pointer, hdata: "hook") +
|
_hook_timer_connection_ (pointer, hdata: "hook") +
|
||||||
_hook_timer_sasl_ (pointer, hdata: "hook") +
|
_hook_timer_sasl_ (pointer, hdata: "hook") +
|
||||||
_sasl_scram_client_first_ (string) +
|
|
||||||
_sasl_scram_salted_pwd_ (other) +
|
|
||||||
_sasl_scram_salted_pwd_size_ (integer) +
|
|
||||||
_sasl_scram_auth_message_ (string) +
|
|
||||||
_sasl_temp_username_ (string) +
|
|
||||||
_sasl_temp_password_ (string) +
|
|
||||||
_is_connected_ (integer) +
|
_is_connected_ (integer) +
|
||||||
_ssl_connected_ (integer) +
|
_ssl_connected_ (integer) +
|
||||||
_disconnected_ (integer) +
|
_disconnected_ (integer) +
|
||||||
@@ -271,10 +263,6 @@ _chantypes_ (string) +
|
|||||||
_chanmodes_ (string) +
|
_chanmodes_ (string) +
|
||||||
_monitor_ (integer) +
|
_monitor_ (integer) +
|
||||||
_monitor_time_ (time) +
|
_monitor_time_ (time) +
|
||||||
_clienttagdeny_ (string) +
|
|
||||||
_clienttagdeny_count_ (integer) +
|
|
||||||
_clienttagdeny_array_ (string, array_size: "clienttagdeny_count") +
|
|
||||||
_typing_allowed_ (integer) +
|
|
||||||
_reconnect_delay_ (integer) +
|
_reconnect_delay_ (integer) +
|
||||||
_reconnect_start_ (time) +
|
_reconnect_start_ (time) +
|
||||||
_command_time_ (time) +
|
_command_time_ (time) +
|
||||||
|
|||||||
@@ -18,17 +18,17 @@
|
|||||||
|
|
||||||
| guile | guile_script | Liste der Skripten | Skript Pointer (optional) | Name des Skriptes (Platzhalter "*" kann verwendet werden) (optional)
|
| guile | guile_script | Liste der Skripten | Skript Pointer (optional) | Name des Skriptes (Platzhalter "*" kann verwendet werden) (optional)
|
||||||
|
|
||||||
| irc | irc_channel | Liste der Kanäle eines IRC-Servers | Pointer vom Kanal (optional) | Server,Kanal (Kanal ist optional)
|
| irc | irc_channel | Liste der Channels eines IRC-Servers | Channel Pointer (optional) | Server,Channel (Channel ist optional)
|
||||||
|
|
||||||
| irc | irc_color_weechat | Zuordnung der IRC Farbkodierung und der WeeChat Farbnamen | - | -
|
| irc | irc_color_weechat | Zuordnung der IRC Farbkodierung und der WeeChat Farbnamen | - | -
|
||||||
|
|
||||||
| irc | irc_ignore | Liste von ignorierten IRCs | Ignore Pointer (optional) | -
|
| irc | irc_ignore | Liste von ignorierten IRCs | Ignore Pointer (optional) | -
|
||||||
|
|
||||||
| irc | irc_modelist | Liste der Kanalmoduslisten für einen IRC-Kanal | Modelist Pointer (optional) | Server,Channel,Type (Type ist optional)
|
| irc | irc_modelist | Liste der Channel-Mode-Liste für einen IRC-Channel | Modelist Pointer (optional) | Server,Channel,Type (Type ist optional)
|
||||||
|
|
||||||
| irc | irc_modelist_item | Liste der Items in der Kanal-Modeliste | Modelist Item Pointer (optional) | Server,Channel,Type,Nummer (Nummer ist optional)
|
| irc | irc_modelist_item | Liste der Items in der Channel-Modeliste | Modelist Item Pointer (optional) | Server,Channel,Type,Nummer (Nummer ist optional)
|
||||||
|
|
||||||
| irc | irc_nick | Liste der Nicks im IRC-Kanal | Nick Pointer (optional) | server,channel,nick (nick ist optional)
|
| irc | irc_nick | Liste der Nicks im IRC-Channel | Nick Pointer (optional) | server,channel,nick (nick ist optional)
|
||||||
|
|
||||||
| irc | irc_notify | Liste mit Benachrichtigungen | Benachrichtigungspointer (optional) | Servername (Platzhalter "*" kann verwendet werden) (optional)
|
| irc | irc_notify | Liste mit Benachrichtigungen | Benachrichtigungspointer (optional) | Servername (Platzhalter "*" kann verwendet werden) (optional)
|
||||||
|
|
||||||
|
|||||||
@@ -16,11 +16,9 @@
|
|||||||
|
|
||||||
| guile | guile_version | Version des verwendeten Interpreters | -
|
| guile | guile_version | Version des verwendeten Interpreters | -
|
||||||
|
|
||||||
| irc | irc_buffer | holt Buffer Pointer für einen IRC Server/Kanal/Nick | server,channel,nick (Kanal und Nicks sind optional)
|
| irc | irc_buffer | holt Buffer Pointer für einen IRC Server/Channel/Nick | server,channel,nick (Channel und Nicks sind optional)
|
||||||
|
|
||||||
| irc | irc_is_channel | 1, falls die Zeichenkette ein gültiger IRC-Kanalname für den Server ist | Server,Kanal (Server ist optional)
|
| irc | irc_is_channel | 1, falls die Zeichenkette ein gültiger IRC-Channelname für den Server ist | Server,Channel (Server ist optional)
|
||||||
|
|
||||||
| irc | irc_is_message_ignored | 1, wenn der Nick ignoriert wird (Meldung wird nicht angezeigt) | Server,Nachricht (Nachricht ist die unverarbeitete IRC Nachricht)
|
|
||||||
|
|
||||||
| irc | irc_is_nick | 1, falls die Zeichenkette ein gültiger IRC Nickname ist | Server,Nickname (Server ist optional)
|
| irc | irc_is_nick | 1, falls die Zeichenkette ein gültiger IRC Nickname ist | Server,Nickname (Server ist optional)
|
||||||
|
|
||||||
@@ -60,7 +58,7 @@
|
|||||||
|
|
||||||
| php | php_version | Version des verwendeten Interpreters | -
|
| php | php_version | Version des verwendeten Interpreters | -
|
||||||
|
|
||||||
| python | python2_bin | Pfad zum Python 2.x Interpreter (*veraltet*, seit WeeChat Version 2.6 müssen Skripten Python3 verwenden) | -
|
| python | python2_bin | Pfad für Python 2.x Interpreter | -
|
||||||
|
|
||||||
| python | python_eval | Evaluierung des Quelltextes | Quelltext welcher ausgeführt werden soll
|
| python | python_eval | Evaluierung des Quelltextes | Quelltext welcher ausgeführt werden soll
|
||||||
|
|
||||||
@@ -76,7 +74,7 @@
|
|||||||
|
|
||||||
| ruby | ruby_version | Version des verwendeten Interpreters | -
|
| ruby | ruby_version | Version des verwendeten Interpreters | -
|
||||||
|
|
||||||
| spell | spell_dict | durch Kommata getrennte Liste von Wörterbüchern, die in diesem Buffer genutzt werden sollen | Buffer-Pointer ("0x12345678") oder der vollständige Buffername ("irc.libera.#weechat")
|
| spell | spell_dict | durch Kommata getrennte Liste von Wörterbüchern, die in diesem Buffer genutzt werden sollen | Buffer-Pointer ("0x12345678") oder der vollständige Buffername ("irc.freenode.#weechat")
|
||||||
|
|
||||||
| tcl | tcl_eval | Evaluierung des Quelltextes | Quelltext welcher ausgeführt werden soll
|
| tcl | tcl_eval | Evaluierung des Quelltextes | Quelltext welcher ausgeführt werden soll
|
||||||
|
|
||||||
@@ -134,15 +132,7 @@
|
|||||||
|
|
||||||
| weechat | version_number | WeeChat-Version (als Zahl) | -
|
| weechat | version_number | WeeChat-Version (als Zahl) | -
|
||||||
|
|
||||||
| weechat | weechat_cache_dir | WeeChat Cache-Verzeichnis | -
|
| weechat | weechat_dir | WeeChat Verzeichnis | -
|
||||||
|
|
||||||
| weechat | weechat_config_dir | WeeChat Konfigurationsverzeichnis | -
|
|
||||||
|
|
||||||
| weechat | weechat_daemon | 1, falls WeeChat im Daemon-Modus ausgeführt wird (ohne Oberfläche, im Hintergrund) | -
|
|
||||||
|
|
||||||
| weechat | weechat_data_dir | WeeChat-Datenverzeichnis | -
|
|
||||||
|
|
||||||
| weechat | weechat_dir | WeeChat-Verzeichnis (*veraltet* seit Version 3.2, ersetzt durch "weechat_config_dir", "weechat_data_dir", "weechat_cache_dir" und "weechat_runtime_dir") | -
|
|
||||||
|
|
||||||
| weechat | weechat_headless | 1, falls WeeChat im Hintergrundmodus ausgeführt wird | -
|
| weechat | weechat_headless | 1, falls WeeChat im Hintergrundmodus ausgeführt wird | -
|
||||||
|
|
||||||
@@ -150,8 +140,6 @@
|
|||||||
|
|
||||||
| weechat | weechat_localedir | "lokales" Verzeichnis von WeeChat | -
|
| weechat | weechat_localedir | "lokales" Verzeichnis von WeeChat | -
|
||||||
|
|
||||||
| weechat | weechat_runtime_dir | WeeChat-Laufzeitverzeichnis | -
|
|
||||||
|
|
||||||
| weechat | weechat_sharedir | WeeChat "share" Verzeichnis | -
|
| weechat | weechat_sharedir | WeeChat "share" Verzeichnis | -
|
||||||
|
|
||||||
| weechat | weechat_site | WeeChat Seite | -
|
| weechat | weechat_site | WeeChat Seite | -
|
||||||
|
|||||||
@@ -8,13 +8,11 @@
|
|||||||
|===
|
|===
|
||||||
| Erweiterung | Name | Beschreibung | Hashtable (Eingabe) | Hashtable (Ausgabe)
|
| Erweiterung | Name | Beschreibung | Hashtable (Eingabe) | Hashtable (Ausgabe)
|
||||||
|
|
||||||
| irc | irc_message_parse | Parse eine IRC Nachricht | "message": IRC Nachricht, "server": Servername (optional) | "tags": Tags, "tag_xxx": Wert des Tags "xxx" ohne Escapezeichen (ein Schlüssel pro Tag), "message_without_tags": Nachrichten ohne Tags, "nick": Nick, "user": Benutzer, "host": Host, "command": Befehl, "channel": Kanal, "arguments": Argumente (schließt Kanal ein), "text": Text (zum Beispiel eine Nachricht von einem User), "param1" ... "paramN": geparste Befehlsparameter, "num_params": Anzahl geparste Befehlsparameter, "pos_command": Index der "command" Nachricht ("-1" falls "command" nicht gefunden wird), "pos_arguments": Index der "arguments" Nachricht ("-1" falls "arguments" nicht gefunden wird), "pos_channel": Index der "channel" Nachricht ("-1" falls "channel" nicht gefunden wird),"pos_text": Index für "text" Nachricht ("-1" falls "text" nicht gefunden wird)
|
| irc | irc_message_parse | Parse eine IRC Nachricht | "message": IRC Nachricht, "server": Servername (optional) | "tags": Tags, "message_without_tags": Nachrichten ohne Tags, "nick": Nick, "user": Benutzername, "host": Host, "command": Befehl, "channel": Channel, "arguments": Argumente (schließt Channel ein), "text": Text (zum Beispiel eine Nachricht von einem User), "pos_command": Index der "command" Nachricht ("-1" falls "command" nicht gefunden wird), "pos_arguments": Index der "arguments" Nachricht ("-1" falls "arguments" nicht gefunden wird), "pos_channel": Index der "channel" Nachricht ("-1" falls "channel" nicht gefunden wird),"pos_text": Index für "text" Nachricht ("-1" falls "text" nicht gefunden wird)
|
||||||
|
|
||||||
| irc | irc_message_split | trennt eine IRC Nachricht (standardmäßig in 512 Bytes große Nachrichten) | "message": IRC Nachricht, "server": Servername (optional) | "msg1" ... "msgN": Nachrichten die versendet werden sollen (ohne abschließendes "\r\n"), "args1" ... "argsN": Argumente für Nachrichten, "count": Anzahl der Nachrichten
|
| irc | irc_message_split | trennt eine IRC Nachricht (standardmäßig in 512 Bytes große Nachrichten) | "message": IRC Nachricht, "server": Servername (optional) | "msg1" ... "msgN": Nachrichten die versendet werden sollen (ohne abschließendes "\r\n"), "args1" ... "argsN": Argumente für Nachrichten, "count": Anzahl der Nachrichten
|
||||||
|
|
||||||
| weechat | focus_info | Fokusinformationen abrufen | "x": x-Koordinate (Zeichenfolge mit Ganzzahl >= 0), "y": y-Koordinate (Zeichenfolge mit Ganzzahl >= 0) | siehe Funktion "hook_focus" in API Dokumentation
|
| weechat | focus_info | Fokusinformationen abrufen | "x": x-Koordinate (Zeichenfolge mit Ganzzahl >= 0), "y": y-Koordinate (Zeichenfolge mit Ganzzahl >= 0) | siehe Funktion "hook_focus" in API Dokumentation
|
||||||
|
|
||||||
| weechat | secured_data | schutzwürdige Daten | - | schutzwürdige Daten: Namen und Werte (Vorsicht: Dies sind vertrauliche Daten: drucken oder protokollieren Sie diese NICHT)
|
|
||||||
|
|
||||||
|===
|
|===
|
||||||
// end::infos_hashtable[]
|
// end::infos_hashtable[]
|
||||||
|
|||||||
@@ -4,26 +4,18 @@
|
|||||||
//
|
//
|
||||||
|
|
||||||
// tag::plugins_priority[]
|
// tag::plugins_priority[]
|
||||||
. charset (16000)
|
. charset (15000)
|
||||||
. logger (15000)
|
. logger (14000)
|
||||||
. exec (14000)
|
. exec (13000)
|
||||||
. trigger (13000)
|
. trigger (12000)
|
||||||
. spell (12000)
|
. spell (11000)
|
||||||
. alias (11000)
|
. alias (10000)
|
||||||
. buflist (10000)
|
. buflist (9000)
|
||||||
. fifo (9000)
|
. fifo (8000)
|
||||||
. typing (8000)
|
|
||||||
. xfer (7000)
|
. xfer (7000)
|
||||||
. irc (6000)
|
. irc (6000)
|
||||||
. relay (5000)
|
. relay (5000)
|
||||||
. guile (4007)
|
. guile, javascript, lua, perl, php, python, ruby, tcl (4000)
|
||||||
. javascript (4006)
|
|
||||||
. lua (4005)
|
|
||||||
. perl (4004)
|
|
||||||
. php (4003)
|
|
||||||
. python (4002)
|
|
||||||
. ruby (4001)
|
|
||||||
. tcl (4000)
|
|
||||||
. script (3000)
|
. script (3000)
|
||||||
. fset (2000)
|
. fset (2000)
|
||||||
// end::plugins_priority[]
|
// end::plugins_priority[]
|
||||||
|
|||||||
@@ -14,36 +14,33 @@ target: Servername
|
|||||||
----
|
----
|
||||||
|
|
||||||
[[command_irc_allchan]]
|
[[command_irc_allchan]]
|
||||||
* `+allchan+`: führt einen Befehl aus der an alle Kanäle gesendet wird, die mit einem Server verbunden sind
|
* `+allchan+`: führt einen Befehl aus der an alle Channels gesendet wird, die mit einem Server verbunden sind
|
||||||
|
|
||||||
----
|
----
|
||||||
/allchan [-current] [-parted] [-exclude=<channel>[,<channel>...]] <command>
|
/allchan [-current] [-exclude=<channel>[,<channel>...]] <command>
|
||||||
[-current] [-parted] -include=<channel>[,<channel>...] <command>
|
[-current] -include=<channel>[,<channel>...] <command>
|
||||||
|
|
||||||
-current: führt einen Befehl aus der an alle Kanäle des aktuellen Servers gesendet wird
|
-current: führt einen Befehl aus der an alle Channels des aktuellen Servers gesendet wird
|
||||||
-parted: wird nur bei vom Server getrennten Kanälen ausgeführt
|
-exclude: dient zum Ausschluss ausgewählter Channels (Platzhalter "*" kann verwendet werden)
|
||||||
-exclude: dient zum Ausschluss ausgewählter Kanäle (Platzhalter "*" kann verwendet werden)
|
-include: findet Anwendung für ausgewählte Channels (Platzhalter "*" kann verwendet werden)\n
|
||||||
-include: findet Anwendung für ausgewählte Kanäle (Platzhalter "*" kann verwendet werden)\n
|
|
||||||
command: Befehl der ausgeführt werden soll
|
command: Befehl der ausgeführt werden soll
|
||||||
|
|
||||||
Argumente und Befehl werden evaluiert (siehe /help eval), folgende Variablen können genutzt werden:
|
Argumente und Befehl werden evaluiert (siehe /help eval), folgende Variablen können genutzt werden:
|
||||||
$server Name des Servers
|
$server Name des Servers
|
||||||
$channel Name des Kanals
|
$channel Name des Channel
|
||||||
$nick Nickname der auf dem Server genutzt wird
|
$nick Nickname der auf dem Server genutzt wird
|
||||||
${irc_server.xxx} Variable xxx von Server
|
${irc_server.xxx} Variable xxx von Server
|
||||||
${irc_channel.xxx} Variable xxx von Kanal
|
${irc_channel.xxx} Variable xxx von Channel
|
||||||
|
|
||||||
Beispiele:
|
Beispiele:
|
||||||
führe den Befehl '/me Ich teste gerade etwas...' für alle Kanäle aus:
|
führe den Befehl '/me Ich teste gerade etwas...' für alle Channels aus:
|
||||||
/allchan /me Ich teste gerade etwas...
|
/allchan /me Ich teste gerade etwas...
|
||||||
schicke 'Hallo Welt' an jeden Kanal, ausgenommen an den #weechat Kanal:
|
schicke 'Hallo Welt' an jeden Channel, ausgenommen an den #weechat Channel:
|
||||||
/allchan -exclude=#weechat Hallo Welt
|
/allchan -exclude=#weechat Hallo Welt
|
||||||
schicke 'Hallo Welt' an jeden Kanal, ausgenommen an den #weechat Kanal und Kanäle die mit #linux beginnen:
|
schicke 'Hallo Welt' an jeden Channel, ausgenommen an den #weechat Channel und Channels die mit #linux beginnen:
|
||||||
/allchan -exclude=#weechat,#linux* Hallo Welt
|
/allchan -exclude=#weechat,#linux* Hallo Welt
|
||||||
schickt den Text 'Hallo' an alle Kanäle die mit #linux beginnen:
|
schickt den Text 'Hallo' an alle Channels die mit #linux beginnen:
|
||||||
/allchan -include=#linux* Hallo
|
/allchan -include=#linux* Hallo
|
||||||
schließt alle, vom Server getrennte, Kanäle.:
|
|
||||||
/allchan -parted /close
|
|
||||||
----
|
----
|
||||||
|
|
||||||
[[command_irc_allpv]]
|
[[command_irc_allpv]]
|
||||||
@@ -60,10 +57,10 @@ Beispiele:
|
|||||||
|
|
||||||
Argumente und Befehl werden evaluiert (siehe /help eval), folgende Variablen können genutzt werden:
|
Argumente und Befehl werden evaluiert (siehe /help eval), folgende Variablen können genutzt werden:
|
||||||
$server Name des Servers
|
$server Name des Servers
|
||||||
$channel Name des Kanals
|
$channel Name des Channel
|
||||||
$nick Nickname der auf dem Server genutzt wird
|
$nick Nickname der auf dem Server genutzt wird
|
||||||
${irc_server.xxx} Variable xxx von Server
|
${irc_server.xxx} Variable xxx von Server
|
||||||
${irc_channel.xxx} Variable xxx von Kanal
|
${irc_channel.xxx} Variable xxx von Channel
|
||||||
|
|
||||||
Beispiele:
|
Beispiele:
|
||||||
führe den Befehl '/me Ich teste gerade etwas...' für alle privaten Buffer aus:
|
führe den Befehl '/me Ich teste gerade etwas...' für alle privaten Buffer aus:
|
||||||
@@ -103,65 +100,16 @@ Beispiele:
|
|||||||
/allserv /whois $nick
|
/allserv /whois $nick
|
||||||
----
|
----
|
||||||
|
|
||||||
[[command_irc_auth]]
|
|
||||||
* `+auth+`: authentifizieren mit SASL
|
|
||||||
|
|
||||||
----
|
|
||||||
/auth [<username> <password>]
|
|
||||||
|
|
||||||
username: SASL Username (Inhalt ist evaluiert, siehe /help eval; Serveroptionen werden mit ${irc_server.xxx} evaluiert und ${server} wird durch den Servernamen ersetzt)
|
|
||||||
password: SASL-Passwort oder Pfad zur Datei mit privatem Schlüssel (Inhalt ist evaluiert, siehe /help eval; Serveroptionen werden mit ${irc_server.xxx} evaluiert und ${server} wird durch den Servernamen ersetzt)
|
|
||||||
|
|
||||||
Wenn Benutzername und Kennwort nicht angegeben wurden, werden die Werte aus den Serveroptionen "sasl_username" und "sasl_password" (oder "sasl_key") verwendet.
|
|
||||||
|
|
||||||
Beispiele:
|
|
||||||
authentifizieren Sie sich mit dem im Server definierten Benutzernamen/Passwort:
|
|
||||||
/auth
|
|
||||||
authentifizieren Sie sich mit einem anderen Benutzer:
|
|
||||||
/auth user2 password2
|
|
||||||
authentifizieren als anderer Benutzer mit Mechanismus ecdsa-nist256p-challenge:
|
|
||||||
/auth user2 ${weechat_config_dir}/ecdsa2.pem
|
|
||||||
----
|
|
||||||
|
|
||||||
[[command_irc_autojoin]]
|
|
||||||
* `+autojoin+`: Konfigurieren der Serveroption "autojoin"
|
|
||||||
|
|
||||||
----
|
|
||||||
/autojoin add [<channel1> [<channel2>...]]
|
|
||||||
addraw <channel1>[,<channel2>...] [<key1>[,<key2>...]]
|
|
||||||
del [<channel1> [<channel2>...]]
|
|
||||||
save
|
|
||||||
sort
|
|
||||||
|
|
||||||
add: Hinzufügen des aktuellen Kanals oder einer Liste von Kanälen (mit optionalen Schlüsseln) zur autojoin-Option; Wenn Sie sich in dem Kanal befinden und der Schlüssel nicht übergeben wird, wird der Schlüssel im Kanal gelesen
|
|
||||||
addraw: das IRC Roh-Format wird genutzt (wie beim /join Befehl): alle Kanäle werden durch Kommata voneinander getrennt und optional werden die Schlüssel durch Kommata separiert
|
|
||||||
del: Löschen des aktuellen Kanals oder eine Liste von Kanälen aus der autoJoin-Option
|
|
||||||
channel: Kanalname
|
|
||||||
key: Schlüssel für den Kanal
|
|
||||||
save: Speichert die aktuell besuchten Kanäle in der autojoin-Option
|
|
||||||
sort: sortiert die Kanäle alphabetisch in der autojoin Option
|
|
||||||
|
|
||||||
Beispiele:
|
|
||||||
/autojoin add
|
|
||||||
/autojoin add #test
|
|
||||||
/autojoin add #chan1 #chan2
|
|
||||||
/autojoin addraw #chan1,#chan2,#chan3 key1,key2
|
|
||||||
/autojoin del
|
|
||||||
/autojoin del #chan1
|
|
||||||
/autojoin save
|
|
||||||
/autojoin sort
|
|
||||||
----
|
|
||||||
|
|
||||||
[[command_irc_ban]]
|
[[command_irc_ban]]
|
||||||
* `+ban+`: Nicknamen oder Hosts sperren/verbannen
|
* `+ban+`: Nicknamen oder Hosts sperren/verbannen
|
||||||
|
|
||||||
----
|
----
|
||||||
/ban [<channel>] [<nick> [<nick>...]]
|
/ban [<channel>] [<nick> [<nick>...]]
|
||||||
|
|
||||||
channel: Name des Kanals
|
channel: Name des Channel
|
||||||
nick: Nick oder Host
|
nick: Nick oder Host
|
||||||
|
|
||||||
Ohne Angabe von Argumenten wird die Ban-Liste für den aktuellen Kanal angezeigt.
|
Ohne Angabe von Argumenten wird die Ban-Liste für den aktuellen Channel angezeigt.
|
||||||
----
|
----
|
||||||
|
|
||||||
[[command_irc_cap]]
|
[[command_irc_cap]]
|
||||||
@@ -181,9 +129,9 @@ Ohne Angabe von Argumenten wird die Ban-Liste für den aktuellen Kanal angezeigt
|
|||||||
|
|
||||||
Ohne Angaben von Argumenten werden "ls" und "list" gesendet.
|
Ohne Angaben von Argumenten werden "ls" und "list" gesendet.
|
||||||
|
|
||||||
Fähigkeiten die von WeeChat unterstützt werden: account-notify, away-notify, cap-notify, chghost, extended-join, invite-notify, message-tags, multi-prefix, server-time, setname, userhost-in-names..
|
Fähigkeiten die von WeeChat unterstützt werden: account-notify, away-notify, cap-notify, chghost, extended-join, invite-notify, multi-prefix, server-time, userhost-in-names.
|
||||||
|
|
||||||
Fähigkeiten die standardmäßig genutzt werden sollen, können mit der Option irc.server_default.capabilities gesetzt werden (oder individuell für jeden Server mit der Option irc.server.xxx.capabilities).
|
Fähigkeiten die standardmäßig genutzt werden sollen, können mit der Option irc.server_default.capabilities gesetzt werden (oder individuell für jeden Server mit der Option irc.server.xxx.capabilities).
|
||||||
|
|
||||||
Beispiele:
|
Beispiele:
|
||||||
/cap
|
/cap
|
||||||
@@ -213,7 +161,7 @@ Beispiele:
|
|||||||
Um eine Verbindung zum Server, oder Verbindungsversuche, zu beenden wird der Befehl /disconnect verwendet.
|
Um eine Verbindung zum Server, oder Verbindungsversuche, zu beenden wird der Befehl /disconnect verwendet.
|
||||||
|
|
||||||
Beispiele:
|
Beispiele:
|
||||||
/connect libera
|
/connect freenode
|
||||||
/connect irc.oftc.net/6667
|
/connect irc.oftc.net/6667
|
||||||
/connect irc6.oftc.net/6667 -ipv6
|
/connect irc6.oftc.net/6667 -ipv6
|
||||||
/connect irc6.oftc.net/6697 -ipv6 -ssl
|
/connect irc6.oftc.net/6697 -ipv6 -ssl
|
||||||
@@ -229,7 +177,7 @@ Beispiele:
|
|||||||
/ctcp [-server <server>] <target>[,<target>...] <type> [<arguments>]
|
/ctcp [-server <server>] <target>[,<target>...] <type> [<arguments>]
|
||||||
|
|
||||||
server: an diesen Server senden (interner Servername)
|
server: an diesen Server senden (interner Servername)
|
||||||
target: Nick- oder Kanalname an welchen eine CTCP-Nachricht geschickt werden soll ('*' = aktueller Kanal)
|
target: Nick- oder Channelname an welchen eine CTCP-Nachricht geschickt werden soll ('*' = aktuellen Channel)
|
||||||
type: CTCP-Nachricht (Beispiele: "version", "ping", usw.)
|
type: CTCP-Nachricht (Beispiele: "version", "ping", usw.)
|
||||||
arguments: Argumente für CTCP
|
arguments: Argumente für CTCP
|
||||||
|
|
||||||
@@ -240,12 +188,12 @@ Beispiele:
|
|||||||
----
|
----
|
||||||
|
|
||||||
[[command_irc_cycle]]
|
[[command_irc_cycle]]
|
||||||
* `+cycle+`: Einen Kanal verlassen und wieder betreten
|
* `+cycle+`: Einen Channel verlassen und wieder betreten
|
||||||
|
|
||||||
----
|
----
|
||||||
/cycle [<channel>[,<channel>...]] [<message>]
|
/cycle [<channel>[,<channel>...]] [<message>]
|
||||||
|
|
||||||
channel: Name des Kanals
|
channel: Name des Channels
|
||||||
message: Abschiedsnachricht (wird anderen Usern angezeigt)
|
message: Abschiedsnachricht (wird anderen Usern angezeigt)
|
||||||
----
|
----
|
||||||
|
|
||||||
@@ -274,7 +222,7 @@ Beispiel:
|
|||||||
* -yes
|
* -yes
|
||||||
|
|
||||||
nick: Nick oder Maske (Platzhalter "*" kann verwendet werden)
|
nick: Nick oder Maske (Platzhalter "*" kann verwendet werden)
|
||||||
*: entzieht allen Nicks im Kanal den half-operator-Status, ausgenommen sich selber
|
*: entzieht allen Nicks im Channel den half-operator-Status, ausgenommen sich selber
|
||||||
----
|
----
|
||||||
|
|
||||||
[[command_irc_deop]]
|
[[command_irc_deop]]
|
||||||
@@ -285,7 +233,7 @@ nick: Nick oder Maske (Platzhalter "*" kann verwendet werden)
|
|||||||
* -yes
|
* -yes
|
||||||
|
|
||||||
nick: Nick oder Maske (Platzhalter "*" kann verwendet werden)
|
nick: Nick oder Maske (Platzhalter "*" kann verwendet werden)
|
||||||
*: entzieht allen Nicks im Kanal den Operator-Status, ausgenommen sich selber
|
*: entzieht allen Nicks im Channel den Operator-Status, ausgenommen sich selber
|
||||||
----
|
----
|
||||||
|
|
||||||
[[command_irc_devoice]]
|
[[command_irc_devoice]]
|
||||||
@@ -296,7 +244,7 @@ nick: Nick oder Maske (Platzhalter "*" kann verwendet werden)
|
|||||||
* -yes
|
* -yes
|
||||||
|
|
||||||
nick: Nick oder Maske (Platzhalter "*" kann verwendet werden)
|
nick: Nick oder Maske (Platzhalter "*" kann verwendet werden)
|
||||||
*: entzieht allen Nicks im Kanal den voice-Status
|
*: entzieht allen Nicks im Channel den voice-Status
|
||||||
----
|
----
|
||||||
|
|
||||||
[[command_irc_die]]
|
[[command_irc_die]]
|
||||||
@@ -328,11 +276,11 @@ target: Servername
|
|||||||
* -yes
|
* -yes
|
||||||
|
|
||||||
nick: Nick oder Maske (Platzhalter "*" kann verwendet werden)
|
nick: Nick oder Maske (Platzhalter "*" kann verwendet werden)
|
||||||
*: vergibt an alle Nicks im Kanal den half-operator-Status
|
*: vergibt an alle Nicks im Channel den half-operator-Status
|
||||||
----
|
----
|
||||||
|
|
||||||
[[command_irc_ignore]]
|
[[command_irc_ignore]]
|
||||||
* `+ignore+`: Ignoriert Nicks/Hosts von Kanälen oder Servern
|
* `+ignore+`: Ignoriert Nicks/Hosts von Channels oder Servern
|
||||||
|
|
||||||
----
|
----
|
||||||
/ignore list
|
/ignore list
|
||||||
@@ -346,17 +294,17 @@ nick: Nick oder Maske (Platzhalter "*" kann verwendet werden)
|
|||||||
number: Nummer der Ignorierung die entfernt werden soll (nutze "list" um den entsprechenden Eintrag zu finden)
|
number: Nummer der Ignorierung die entfernt werden soll (nutze "list" um den entsprechenden Eintrag zu finden)
|
||||||
-all: entfernt alle Einträge
|
-all: entfernt alle Einträge
|
||||||
server: interner Name des Server auf welchem die Ignorierung statt finden soll
|
server: interner Name des Server auf welchem die Ignorierung statt finden soll
|
||||||
channel: Name des Kanals, in dem die Ignorierung statt finden soll
|
channel: Name des Channel, in dem die Ignorierung statt finden soll
|
||||||
|
|
||||||
Hinweis: Um zwischen Groß-und Kleinschreibung zu unterscheiden muss am Wortanfang "(?-i)" genutzt werden.
|
Hinweis: Um zwischen Groß-und Kleinschreibung zu unterscheiden muss am Wortanfang "(?-i)" genutzt werden.
|
||||||
|
|
||||||
Beispiele:
|
Beispiele:
|
||||||
ignoriert den Nick "toto" global:
|
ignoriert den Nick "toto" global:
|
||||||
/ignore add toto
|
/ignore add toto
|
||||||
ignoriert den Host "toto@domain.com" auf dem libera Server:
|
ignoriert den Host "toto@domain.com" auf dem freenode Server:
|
||||||
/ignore add toto@domain.com libera
|
/ignore add toto@domain.com freenode
|
||||||
ignoriert den Host "toto*@*.domain.com" im Chat libera/#weechat:
|
ignoriert den Host "toto*@*.domain.com" im Chat freenode/#weechat:
|
||||||
/ignore add toto*@*.domain.com libera #weechat
|
/ignore add toto*@*.domain.com freenode #weechat
|
||||||
----
|
----
|
||||||
|
|
||||||
[[command_irc_info]]
|
[[command_irc_info]]
|
||||||
@@ -369,13 +317,13 @@ target: Servername
|
|||||||
----
|
----
|
||||||
|
|
||||||
[[command_irc_invite]]
|
[[command_irc_invite]]
|
||||||
* `+invite+`: Eine Person in einen Kanal einladen
|
* `+invite+`: Eine Person in einen Channel einladen
|
||||||
|
|
||||||
----
|
----
|
||||||
/invite <nick> [<nick>...] [<channel>]
|
/invite <nick> [<nick>...] [<channel>]
|
||||||
|
|
||||||
nick: Nickname
|
nick: Nickname
|
||||||
channel: Name des Kanals
|
channel: Name des Channels
|
||||||
----
|
----
|
||||||
|
|
||||||
[[command_irc_ison]]
|
[[command_irc_ison]]
|
||||||
@@ -388,43 +336,43 @@ nick: Nickname
|
|||||||
----
|
----
|
||||||
|
|
||||||
[[command_irc_join]]
|
[[command_irc_join]]
|
||||||
* `+join+`: einen Kanal betreten
|
* `+join+`: einen Channel betreten
|
||||||
|
|
||||||
----
|
----
|
||||||
/join [-noswitch] [-server <server>] [<channel1>[,<channel2>...]] [<key1>[,<key2>...]]
|
/join [-noswitch] [-server <server>] [<channel1>[,<channel2>...]] [<key1>[,<key2>...]]
|
||||||
|
|
||||||
-noswitch: es wird nicht zu dem angegebenen Kanal gewechselt
|
-noswitch: es wird nicht zu dem angegebenen Channel gewechselt
|
||||||
server: an angegebenen Server (interner Name) senden
|
server: an angegebenen Server (interner Name) senden
|
||||||
channel: Name des Kanals, der betreten werden soll
|
channel: Name des Channels, der betreten werden soll
|
||||||
key: Zugriffsschlüssel für einen Kanal (Kanäle, die einen Zugriffsschlüssel benötigen, müssen zuerst aufgeführt werden)
|
key: Zugriffsschlüssel für einen Channel (Channel, die einen Zugriffsschlüssel benötigen, müssen zuerst aufgeführt werden)
|
||||||
|
|
||||||
Beispiele:
|
Beispiele:
|
||||||
/join #weechat
|
/join #weechat
|
||||||
/join #geschützter_Kanal,#weechat Zugriffsschlüssel
|
/join #geschützter_Channel,#weechat Zugriffsschlüssel
|
||||||
/join -server libera #weechat
|
/join -server freenode #weechat
|
||||||
/join -noswitch #weechat
|
/join -noswitch #weechat
|
||||||
----
|
----
|
||||||
|
|
||||||
[[command_irc_kick]]
|
[[command_irc_kick]]
|
||||||
* `+kick+`: wirft einen User aus einem Kanal
|
* `+kick+`: wirft einen User aus einem Channel
|
||||||
|
|
||||||
----
|
----
|
||||||
/kick [<channel>] <nick> [<reason>]
|
/kick [<channel>] <nick> [<reason>]
|
||||||
|
|
||||||
channel: Kanalname
|
channel: Channelname
|
||||||
nick: Nick der rausgeworfen werden soll
|
nick: Nick der rausgeworfen werden soll
|
||||||
reason: Begründung für den Rauswurf (evaluiert, siehe /help eval; besondere Variablen ${nick} (eigener Nick), ${target} (betroffener Nick), ${channel} und ${server}, werden durch den entsprechenden Wert ersetzt)
|
reason: Begründung für den Rauswurf (Variablen die genutzt werden können: $nick, $channel und $server)
|
||||||
----
|
----
|
||||||
|
|
||||||
[[command_irc_kickban]]
|
[[command_irc_kickban]]
|
||||||
* `+kickban+`: wirft einen User aus einem Kanal und sein Host kommt auf die Bannliste
|
* `+kickban+`: wirft einen User aus einem Channel und sein Host kommt auf die Bannliste
|
||||||
|
|
||||||
----
|
----
|
||||||
/kickban [<channel>] <nick> [<reason>]
|
/kickban [<channel>] <nick> [<reason>]
|
||||||
|
|
||||||
channel: Kanalname
|
channel: Channelname
|
||||||
nick: Nickname der rausgeworfen und gebannt werden soll
|
nick: Nickname der rausgeworfen und gebannt werden soll
|
||||||
reason: Begründung für den Rauswurf (evaluiert, siehe /help eval; besondere Variablen ${nick} (eigener Nick), ${target} (betroffener Nick), ${channel} und ${server}, werden durch den entsprechenden Wert ersetzt)
|
reason: Begründung weshalb der User rausgeworfen wurde (Variablen die genutzt werden können: $nick, $channel und $server)
|
||||||
|
|
||||||
Es ist möglich kick/ban mittels einer Maske auszuführen. Der Nick wird aus der Maske heraus gefiltert und durch "*" ersetzt.
|
Es ist möglich kick/ban mittels einer Maske auszuführen. Der Nick wird aus der Maske heraus gefiltert und durch "*" ersetzt.
|
||||||
|
|
||||||
@@ -454,22 +402,22 @@ server_mask: die aufzulistenden Server sollen diesem Muster entsprechen
|
|||||||
----
|
----
|
||||||
|
|
||||||
[[command_irc_list]]
|
[[command_irc_list]]
|
||||||
* `+list+`: Kanäle und deren Themen auflisten
|
* `+list+`: Channels mit ihrem Thema auflisten
|
||||||
|
|
||||||
----
|
----
|
||||||
/list [-server <server>] [-re <regex>] [<channel>[,<channel>...]] [<target>]
|
/list [-server <server>] [-re <regex>] [<channel>[,<channel>...]] [<target>]
|
||||||
|
|
||||||
server: an diesen Server senden (interner Name)
|
server: an diesen Server senden (interner Name)
|
||||||
regexp: erweiterter regulärer POSIX Ausdruck, der auf die Ausgabe angewendet werden soll (zwischen Groß- und Kleinschreibung wird nicht unterschieden. Um zwischen Groß- und Kleinschreibung zu unterscheiden muss zu Beginn "(?-i)" genutzt werden)
|
regexp: erweiterter regulärer POSIX Ausdruck, der auf die Ausgabe angewendet werden soll (zwischen Groß- und Kleinschreibung wird nicht unterschieden. Um zwischen Groß- und Kleinschreibung zu unterscheiden muss zu Beginn "(?-i)" genutzt werden)
|
||||||
channel: aufzulistender Kanal
|
channel: aufzulistender Channel
|
||||||
target: Servername
|
target: Servername
|
||||||
|
|
||||||
Beispiele:
|
Beispiele:
|
||||||
listet alle Kanäle des Servers auf (dies kann bei großen Netzwerken sehr lange dauern):
|
listet alle Channels des Servers auf (dies kann bei großen Netzwerken sehr lange dauern):
|
||||||
/list
|
/list
|
||||||
listet den Kanal #weechat auf:
|
listet den Channel #weechat auf:
|
||||||
/list #weechat
|
/list #weechat
|
||||||
listet alle Kanäle auf die mit "#weechat" beginnen (dies kann bei großen Netzwerken sehr lange dauern):
|
listet alle Channels auf die mit "#weechat" beginnen (dies kann bei großen Netzwerken sehr lange dauern):
|
||||||
/list -re #weechat.*
|
/list -re #weechat.*
|
||||||
----
|
----
|
||||||
|
|
||||||
@@ -490,7 +438,7 @@ target: Server, der die Anfrage weiterleiten soll
|
|||||||
----
|
----
|
||||||
|
|
||||||
[[command_irc_me]]
|
[[command_irc_me]]
|
||||||
* `+me+`: eine CTCP ACTION an den aktuellen Kanal senden
|
* `+me+`: eine CTCP ACTION an den aktuellen Channel senden
|
||||||
|
|
||||||
----
|
----
|
||||||
/me <message>
|
/me <message>
|
||||||
@@ -499,26 +447,26 @@ message: zu sendende Nachricht
|
|||||||
----
|
----
|
||||||
|
|
||||||
[[command_irc_mode]]
|
[[command_irc_mode]]
|
||||||
* `+mode+`: Eigenschaften eines Kanals oder von einem User ändern
|
* `+mode+`: Eigenschaften eines Channel oder von einem User ändern
|
||||||
|
|
||||||
----
|
----
|
||||||
/mode [<channel>] [+|-]o|p|s|i|t|n|m|l|b|e|v|k [<arguments>]
|
/mode [<channel>] [+|-]o|p|s|i|t|n|m|l|b|e|v|k [<arguments>]
|
||||||
<nick> [+|-]i|s|w|o
|
<nick> [+|-]i|s|w|o
|
||||||
|
|
||||||
Kanal-Eigenschaften:
|
Channel-Eigenschaften:
|
||||||
channel: zu ändernder Kanal (standardmäßig der erste Kanal)
|
channel: zu ändernder Channel (standardmäßig der erste Channel)
|
||||||
o: vergibt/entzieht Operator Privilegien
|
o: vergibt/entzieht Operator Privilegien
|
||||||
p: privater Kanal
|
p: privater Channel
|
||||||
s: geheimer Kanal
|
s: geheimer Channel
|
||||||
i: geschlossener Kanal (Zutritt nur mit Einladung)
|
i: geschlossener Channel (Zutritt nur mit Einladung)
|
||||||
t: nur Operatoren dürfen das Thema setzen
|
t: nur Operatoren dürfen das Thema setzen
|
||||||
n: keine Nachrichten von außerhalb des Kanals zulassen
|
n: keine Nachrichten von außerhalb des Channels zulassen
|
||||||
m: moderierter Kanal (schreiben nur mit Voice)
|
m: moderierter Channel (schreiben nur mit Voice)
|
||||||
l: maximale Anzahl an Usern im Kanal festlegen
|
l: maximale Anzahl an Usern im Channel festlegen
|
||||||
b: Bannmaske für zu sperrende User (in nick!ident@host-Form)
|
b: Bannmaske für zu sperrende User (in nick!ident@host-Form)
|
||||||
e: legt Ausnahmemaske fest
|
e: legt Ausnahmemaske fest
|
||||||
v: vergibt/entzieht Schreibrechte (voice) in moderierten Kanälen
|
v: vergibt/entzieht Schreibrechte (voice) in moderierten Channels
|
||||||
k: legt ein Passwort für den Kanal fest
|
k: legt ein Passwort für den Channel fest
|
||||||
User-Eigenschaften:
|
User-Eigenschaften:
|
||||||
nick: zu ändernder Nickname
|
nick: zu ändernder Nickname
|
||||||
i: User als unsichtbar kennzeichnen
|
i: User als unsichtbar kennzeichnen
|
||||||
@@ -545,23 +493,23 @@ target: Servername
|
|||||||
----
|
----
|
||||||
|
|
||||||
[[command_irc_msg]]
|
[[command_irc_msg]]
|
||||||
* `+msg+`: Nachricht an Nick/Kanal verschicken
|
* `+msg+`: Nachricht an Nick/Channel verschicken
|
||||||
|
|
||||||
----
|
----
|
||||||
/msg [-server <server>] <target>[,<target>...] <text>
|
/msg [-server <server>] <target>[,<target>...] <text>
|
||||||
|
|
||||||
server: schicke an diesen Server (interner Servername)
|
server: schicke an diesen Server (interner Servername)
|
||||||
target: Nick oder Kanal (darf eine Maske sein, '*' = aktueller c)
|
target: Nick oder Channel (darf eine Maske sein, '*' = aktueller Channel)
|
||||||
text: zu sendender Text
|
text: zu sendender Text
|
||||||
----
|
----
|
||||||
|
|
||||||
[[command_irc_names]]
|
[[command_irc_names]]
|
||||||
* `+names+`: Nicknamen des Kanals auflisten
|
* `+names+`: Nicknamen in Channels auflisten
|
||||||
|
|
||||||
----
|
----
|
||||||
/names [<channel>[,<channel>...]]
|
/names [<channel>[,<channel>...]]
|
||||||
|
|
||||||
channel: Name des Kanals
|
channel: Name des Channels
|
||||||
----
|
----
|
||||||
|
|
||||||
[[command_irc_nick]]
|
[[command_irc_nick]]
|
||||||
@@ -581,7 +529,7 @@ nick: neuer Nickname
|
|||||||
/notice [-server <server>] <target> <text>
|
/notice [-server <server>] <target> <text>
|
||||||
|
|
||||||
server: an diesen Server senden (interner Name)
|
server: an diesen Server senden (interner Name)
|
||||||
target: Nick- oder Kanalname
|
target: Nick- oder Channelname
|
||||||
text: zu sendender Text
|
text: zu sendender Text
|
||||||
----
|
----
|
||||||
|
|
||||||
@@ -604,21 +552,21 @@ Ohne Angabe von Argumenten werden alle Benachrichtigungen für den aktuellen Ser
|
|||||||
Beispiele:
|
Beispiele:
|
||||||
Benachrichtigung falls sich "toto" am aktuellen Server an- oder abmeldet:
|
Benachrichtigung falls sich "toto" am aktuellen Server an- oder abmeldet:
|
||||||
/notify add toto
|
/notify add toto
|
||||||
Benachrichtigung falls sich "toto" am libera Server an- oder abmeldet:
|
Benachrichtigung falls sich "toto" am freenode Server an- oder abmeldet:
|
||||||
/notify add toto libera
|
/notify add toto freenode
|
||||||
Benachrichtigung falls "toto" den Befehl away am libera Server nutzt:
|
Benachrichtigung falls "toto" den Befehl away am freenode Server nutzt:
|
||||||
/notify add toto libera -away
|
/notify add toto freenode -away
|
||||||
----
|
----
|
||||||
|
|
||||||
[[command_irc_op]]
|
[[command_irc_op]]
|
||||||
* `+op+`: Status des Kanal-Operator an Nicknamen vergeben
|
* `+op+`: Channel-Operator Status an Nicknamen vergeben
|
||||||
|
|
||||||
----
|
----
|
||||||
/op <nick> [<nick>...]
|
/op <nick> [<nick>...]
|
||||||
* -yes
|
* -yes
|
||||||
|
|
||||||
nick: Nick oder Maske (Platzhalter "*" kann verwendet werden)
|
nick: Nick oder Maske (Platzhalter "*" kann verwendet werden)
|
||||||
*: vergibt an alle Nicks im Kanal den Operator-Status
|
*: vergibt an alle Nicks im Channel den Operator-Status
|
||||||
----
|
----
|
||||||
|
|
||||||
[[command_irc_oper]]
|
[[command_irc_oper]]
|
||||||
@@ -632,12 +580,12 @@ password: Passwort
|
|||||||
----
|
----
|
||||||
|
|
||||||
[[command_irc_part]]
|
[[command_irc_part]]
|
||||||
* `+part+`: Einen Kanal verlassen
|
* `+part+`: Einen Channel verlassen
|
||||||
|
|
||||||
----
|
----
|
||||||
/part [<channel>[,<channel>...]] [<message>]
|
/part [<channel>[,<channel>...]] [<message>]
|
||||||
|
|
||||||
channel: Name des Kanals welcher verlassen werden soll
|
channel: Name des Channels welcher verlassen werden soll
|
||||||
message: Abschiedsnachricht (wird anderen Usern angezeigt)
|
message: Abschiedsnachricht (wird anderen Usern angezeigt)
|
||||||
----
|
----
|
||||||
|
|
||||||
@@ -674,15 +622,15 @@ target: Nickname
|
|||||||
----
|
----
|
||||||
|
|
||||||
[[command_irc_quiet]]
|
[[command_irc_quiet]]
|
||||||
* `+quiet+`: Nicks oder Hosts das Wort entziehen (User können im Kanal erst schreiben, wenn sie "+v" oder höher besitzen)
|
* `+quiet+`: Nicks oder Hosts das Wort entziehen (User können im Channel erst schreiben, wenn sie "+v" oder höher besitzen)
|
||||||
|
|
||||||
----
|
----
|
||||||
/quiet [<channel>] [<nick> [<nick>...]]
|
/quiet [<channel>] [<nick> [<nick>...]]
|
||||||
|
|
||||||
channel: Name des Kanals
|
channel: Name des Channel
|
||||||
nick: Nick oder Host
|
nick: Nick oder Host
|
||||||
|
|
||||||
Ohne Angabe von Argumenten wird die Quiet-Liste für den aktuellen Kanal angezeigt.
|
Ohne Angabe von Argumenten wird die Quiet-Liste für den aktuellen Channel angezeigt.
|
||||||
----
|
----
|
||||||
|
|
||||||
[[command_irc_quote]]
|
[[command_irc_quote]]
|
||||||
@@ -704,7 +652,7 @@ data: unbearbeitete (RAW) Daten die gesendet werden sollen
|
|||||||
|
|
||||||
server: Servername zu welchem neu verbunden werden soll (interner Name)
|
server: Servername zu welchem neu verbunden werden soll (interner Name)
|
||||||
-all: mit allen Servern neu verbinden
|
-all: mit allen Servern neu verbinden
|
||||||
-nojoin: Kanäle werden nicht betreten (auch falls autojoin für diesen Server aktiviert ist)
|
-nojoin: Channels werden nicht betreten (auch falls autojoin für diesen Server aktiviert ist)
|
||||||
-switch: wechselt zur nächsten Server-Adresse
|
-switch: wechselt zur nächsten Server-Adresse
|
||||||
----
|
----
|
||||||
|
|
||||||
@@ -718,12 +666,12 @@ option: zusätzliche Einstellung, die von manchen Servern berücksichtigt wird
|
|||||||
----
|
----
|
||||||
|
|
||||||
[[command_irc_remove]]
|
[[command_irc_remove]]
|
||||||
* `+remove+`: zwingt einen User einen Kanal zu verlassen
|
* `+remove+`: zwingt einen User einen Channel zu verlassen
|
||||||
|
|
||||||
----
|
----
|
||||||
/remove [<channel>] <nick> [<reason>]
|
/remove [<channel>] <nick> [<reason>]
|
||||||
|
|
||||||
channel: Kanalname
|
channel: Channelname
|
||||||
nick: Nick der rausgeworfen werden soll
|
nick: Nick der rausgeworfen werden soll
|
||||||
reason: Begründung für den Rauswurf (Variablen die genutzt werden können: $nick, $channel und $server)
|
reason: Begründung für den Rauswurf (Variablen die genutzt werden können: $nick, $channel und $server)
|
||||||
----
|
----
|
||||||
@@ -738,23 +686,23 @@ target: Servername
|
|||||||
----
|
----
|
||||||
|
|
||||||
[[command_irc_sajoin]]
|
[[command_irc_sajoin]]
|
||||||
* `+sajoin+`: fordert einen User auf einen oder mehrere Kanäle zu betreten
|
* `+sajoin+`: fordert einen User auf einen oder mehrere Channel zu betreten
|
||||||
|
|
||||||
----
|
----
|
||||||
/sajoin <nick> <channel>[,<channel>...]
|
/sajoin <nick> <channel>[,<channel>...]
|
||||||
|
|
||||||
nick: Nickname
|
nick: Nickname
|
||||||
channel: Name des Kanals
|
channel: Name des Channels
|
||||||
----
|
----
|
||||||
|
|
||||||
[[command_irc_samode]]
|
[[command_irc_samode]]
|
||||||
* `+samode+`: ändert den Modus des Kanals ohne das Operator-Privilegien vorliegen
|
* `+samode+`: ändert den Modus des Channels ohne das Operator-Privilegien vorliegen
|
||||||
|
|
||||||
----
|
----
|
||||||
/samode [<channel>] <mode>
|
/samode [<channel>] <mode>
|
||||||
|
|
||||||
Channel: Name des Kanals
|
Channel: Name des Channel
|
||||||
Mode: neuer Modus für Kanal
|
Mode: neuer Modus für Channel
|
||||||
----
|
----
|
||||||
|
|
||||||
[[command_irc_sanick]]
|
[[command_irc_sanick]]
|
||||||
@@ -768,13 +716,13 @@ new_nick: neuer Nickname
|
|||||||
----
|
----
|
||||||
|
|
||||||
[[command_irc_sapart]]
|
[[command_irc_sapart]]
|
||||||
* `+sapart+`: zwingt einen User den oder die Kanäle zu verlassen
|
* `+sapart+`: zwingt einen User den oder die Channel(s) zu verlassen
|
||||||
|
|
||||||
----
|
----
|
||||||
/sapart <nick> <channel>[,<channel>...]
|
/sapart <nick> <channel>[,<channel>...]
|
||||||
|
|
||||||
nick: Nickname
|
nick: Nickname
|
||||||
channel: Name des Kanals
|
channel: Name des Channels
|
||||||
----
|
----
|
||||||
|
|
||||||
[[command_irc_saquit]]
|
[[command_irc_saquit]]
|
||||||
@@ -827,16 +775,16 @@ nooption: stellt die Boolean Einstellung auf 'off' (Beispiel: -nossl)
|
|||||||
|
|
||||||
Beispiele:
|
Beispiele:
|
||||||
/server listfull
|
/server listfull
|
||||||
/server add libera irc.libera.chat
|
/server add freenode chat.freenode.net
|
||||||
/server add libera irc.libera.chat/6697 -ssl -autoconnect
|
/server add freenode chat.freenode.net/6697 -ssl -autoconnect
|
||||||
/server add chatspike irc.chatspike.net/6667,irc.duckspike.net/6667
|
/server add chatspike irc.chatspike.net/6667,irc.duckspike.net/6667
|
||||||
/server copy libera libera-test
|
/server copy freenode freenode-test
|
||||||
/server rename libera-test libera2
|
/server rename freenode-test freenode2
|
||||||
/server reorder libera2 libera
|
/server reorder freenode2 freenode
|
||||||
/server del libera
|
/server del freenode
|
||||||
/server deloutq
|
/server deloutq
|
||||||
/server raw
|
/server raw
|
||||||
/server raw s:libera
|
/server raw s:freenode
|
||||||
/server raw c:${recv} && ${command}==PRIVMSG && ${nick}==foo
|
/server raw c:${recv} && ${command}==PRIVMSG && ${nick}==foo
|
||||||
----
|
----
|
||||||
|
|
||||||
@@ -860,15 +808,6 @@ mask: nur zutreffende Services auflisten
|
|||||||
type: nur Services von diesem Typ auflisten
|
type: nur Services von diesem Typ auflisten
|
||||||
----
|
----
|
||||||
|
|
||||||
[[command_irc_setname]]
|
|
||||||
* `+setname+`: setze Realnamen
|
|
||||||
|
|
||||||
----
|
|
||||||
/setname <Realname>
|
|
||||||
|
|
||||||
realname: neuer Realname
|
|
||||||
----
|
|
||||||
|
|
||||||
[[command_irc_squery]]
|
[[command_irc_squery]]
|
||||||
* `+squery+`: Nachricht an einen Service senden
|
* `+squery+`: Nachricht an einen Service senden
|
||||||
|
|
||||||
@@ -907,7 +846,7 @@ target: Name des Servers
|
|||||||
|
|
||||||
user: Benutzername
|
user: Benutzername
|
||||||
target: Servername
|
target: Servername
|
||||||
channel: Kanalname
|
channel: Channelname
|
||||||
----
|
----
|
||||||
|
|
||||||
[[command_irc_time]]
|
[[command_irc_time]]
|
||||||
@@ -920,14 +859,14 @@ target: Zeit des angegebenen Servers abfragen
|
|||||||
----
|
----
|
||||||
|
|
||||||
[[command_irc_topic]]
|
[[command_irc_topic]]
|
||||||
* `+topic+`: Thema des Kanals abfragen/setzen
|
* `+topic+`: Thema des Channels abfragen/setzen
|
||||||
|
|
||||||
----
|
----
|
||||||
/topic [<channel>] [<topic>|-delete]
|
/topic [<channel>] [<topic>|-delete]
|
||||||
|
|
||||||
channel: Name des Kanals
|
channel: Name des Channels
|
||||||
topic: neues Thema für den Kanal
|
topic: neues Thema für den Channel
|
||||||
-delete: entfernt das Thema des Kanals
|
-delete: entfernt das Thema des Channels
|
||||||
----
|
----
|
||||||
|
|
||||||
[[command_irc_trace]]
|
[[command_irc_trace]]
|
||||||
@@ -945,7 +884,7 @@ target: Servername
|
|||||||
----
|
----
|
||||||
/unban [<channel>] <nick>|<number> [<nick>|<number>...]
|
/unban [<channel>] <nick>|<number> [<nick>|<number>...]
|
||||||
|
|
||||||
channel: Name des Kanals
|
channel: Name des Channel
|
||||||
nick: Nick oder Host
|
nick: Nick oder Host
|
||||||
number: ban Nummer (wird beim Befehl /ban angezeigt)
|
number: ban Nummer (wird beim Befehl /ban angezeigt)
|
||||||
----
|
----
|
||||||
@@ -956,7 +895,7 @@ channel: Name des Kanals
|
|||||||
----
|
----
|
||||||
/unquiet [<channel>] <nick>|<number> [<nick>|<number>...]
|
/unquiet [<channel>] <nick>|<number> [<nick>|<number>...]
|
||||||
|
|
||||||
channel: Name des Kanals
|
channel: Name des Channel
|
||||||
nick: Nick oder Host
|
nick: Nick oder Host
|
||||||
number: Quiet-Nummer (wird beim Befehl /quiet angezeigt)
|
number: Quiet-Nummer (wird beim Befehl /quiet angezeigt)
|
||||||
----
|
----
|
||||||
@@ -997,16 +936,16 @@ target: Servername
|
|||||||
* -yes
|
* -yes
|
||||||
|
|
||||||
nick: Nick oder Maske (Platzhalter "*" kann verwendet werden)
|
nick: Nick oder Maske (Platzhalter "*" kann verwendet werden)
|
||||||
*: vergibt an alle Nicks im Kanal den voice-Status
|
*: vergibt an alle Nicks im Channel den voice-Status
|
||||||
----
|
----
|
||||||
|
|
||||||
[[command_irc_wallchops]]
|
[[command_irc_wallchops]]
|
||||||
* `+wallchops+`: Nachricht an Kanal-Operator verschicken
|
* `+wallchops+`: Nachricht an Channel-Operator verschicken
|
||||||
|
|
||||||
----
|
----
|
||||||
/wallchops [<channel>] <text>
|
/wallchops [<channel>] <text>
|
||||||
|
|
||||||
channel: Name des Kanals
|
channel: Name des Channel
|
||||||
text: Text der versendet werden soll
|
text: Text der versendet werden soll
|
||||||
----
|
----
|
||||||
|
|
||||||
@@ -1039,7 +978,7 @@ target: Name des Servers (interner Servername)
|
|||||||
nick: Nick, welcher abgefragt werden soll (es kann auch eine Maske genutzt werden)
|
nick: Nick, welcher abgefragt werden soll (es kann auch eine Maske genutzt werden)
|
||||||
|
|
||||||
Ohne Angabe von Argumenten, nutzt /whois folgende Regel:
|
Ohne Angabe von Argumenten, nutzt /whois folgende Regel:
|
||||||
- den eigenen Nick, falls es sich um einen Server/Kanal-Buffer handelt
|
- den eigenen Nick, falls es sich um einen Server/Channel Buffer handelt
|
||||||
- den Nick des Gesprächspartners, falls es sich um einen privaten Buffer handelt.
|
- den Nick des Gesprächspartners, falls es sich um einen privaten Buffer handelt.
|
||||||
|
|
||||||
Sollte die Einstellung irc.network.whois_double_nick aktiviert sein dann wird ein Nick zweimal verwendet (sofern der Nick nur einmal angegeben wurde), um die Idle-Zeit zu erhalten.
|
Sollte die Einstellung irc.network.whois_double_nick aktiviert sein dann wird ein Nick zweimal verwendet (sofern der Nick nur einmal angegeben wurde), um die Idle-Zeit zu erhalten.
|
||||||
@@ -1332,7 +1271,7 @@ Beispiele:
|
|||||||
/debug list
|
/debug list
|
||||||
set <plugin> <level>
|
set <plugin> <level>
|
||||||
dump [<plugin>]
|
dump [<plugin>]
|
||||||
buffer|color|infolists|libs|certs|memory|tags|term|windows
|
buffer|color|infolists|memory|tags|term|windows
|
||||||
mouse|cursor [verbose]
|
mouse|cursor [verbose]
|
||||||
hdata [free]
|
hdata [free]
|
||||||
time <command>
|
time <command>
|
||||||
@@ -1350,11 +1289,10 @@ Beispiele:
|
|||||||
hooks: zeigt die aktiven Hooks an
|
hooks: zeigt die aktiven Hooks an
|
||||||
infolists: zeigt Information über die Infolists an
|
infolists: zeigt Information über die Infolists an
|
||||||
libs: zeigt an welche externen Bibliotheken verwendet werden
|
libs: zeigt an welche externen Bibliotheken verwendet werden
|
||||||
certs: gibt die Anzahl geladener vertrauenswürdiger Zertifizierungsstellen aus
|
|
||||||
memory: gibt Informationen über den genutzten Speicher aus
|
memory: gibt Informationen über den genutzten Speicher aus
|
||||||
mouse: schaltet den debug-Modus für den Maus-Modus ein/aus
|
mouse: schaltet den debug-Modus für den Maus-Modus ein/aus
|
||||||
tags: zeigt für jede einzelne Zeile die dazugehörigen Schlagwörter an
|
tags: zeigt für jede einzelne Zeile die dazugehörigen Schlagwörter an
|
||||||
term: zeigt Informationen über das Terminal an
|
term: gibt Informationen über das Terminal und verfügbare Farben aus
|
||||||
windows: zeigt die Fensterstruktur an
|
windows: zeigt die Fensterstruktur an
|
||||||
time: misst die Zeit um einen Befehl auszuführen oder um einen Text in den aktuellen Buffer zu senden
|
time: misst die Zeit um einen Befehl auszuführen oder um einen Text in den aktuellen Buffer zu senden
|
||||||
----
|
----
|
||||||
@@ -1403,33 +1341,26 @@ Um einen Vergleich zwischen zwei Zeichenketten zu erzwingen, müssen die Ausdrü
|
|||||||
"50" > "100" ==> 1
|
"50" > "100" ==> 1
|
||||||
|
|
||||||
Einige Variablen werden im Ausdruck mittels der Formatierung ${variable} ersetzt. Mögliche Variablen sind, nach Reihenfolge ihrer Priorität:
|
Einige Variablen werden im Ausdruck mittels der Formatierung ${variable} ersetzt. Mögliche Variablen sind, nach Reihenfolge ihrer Priorität:
|
||||||
1. die Zeichenfolge selbst ohne Auswertung (Format: "raw:xxx")
|
1. eine evaluierte Teilzeichenkette (Format: "eval:xxx")
|
||||||
2. eine benutzerdefinierte Variable (Format: "name")
|
2. eine evaluierte Bedingung (Format: "eval_cond:xxx")
|
||||||
3. eine evaluierte Teilzeichenkette (Format: "eval:xxx")
|
3. eine Zeichenkette mit Escapesequenzen (Format: "esc:xxx" oder "\xxx")
|
||||||
4. eine evaluierte Bedingung (Format: "eval_cond:xxx")
|
4. Zeichen, die in einer Zeichenkette nicht dargestellt werden sollen (Format: "hide:Zeichen,Zeichenkette")
|
||||||
5. eine Zeichenkette mit Escapesequenzen (Format: "esc:xxx" oder "\xxx")
|
5. eine Zeichenkette mit einer maximalen Anzahl an Zeichen (Format: "cut:+Max,Suffix,Zeichenkette")
|
||||||
6. Zeichen, die in einer Zeichenkette nicht dargestellt werden sollen (Format: "hide:Zeichen,Zeichenkette")
|
|
||||||
7. eine Zeichenkette mit einer maximalen Anzahl an Zeichen (Format: "cut:max,suffix,string" oder "cut:+max,suffix,string")
|
|
||||||
oder maximale Anzahl an Zeichen die auf dem Bildschirm angezeigt werden sollen (Format: "cutscr:Max,Suffix,Zeichenkette oder "cutscr:+Max,Suffix,Zeichenkette")
|
oder maximale Anzahl an Zeichen die auf dem Bildschirm angezeigt werden sollen (Format: "cutscr:Max,Suffix,Zeichenkette oder "cutscr:+Max,Suffix,Zeichenkette")
|
||||||
8. eine Zeichenkette umkehren (Format: "rev:xxx" oder "revscr:xxx")
|
6. eine Zeichenkette umkehren (Format: "rev:xxx" oder "revscr:xxx")
|
||||||
9. eine Zeichenkette wiederholen (Format: "repeat:Anzahl,Zeichenkette")
|
7. eine Zeichenkette wiederholen (Format: "repeat:Anzahl,Zeichenkette")
|
||||||
10. Länge einer Zeichenkette (Format: "length:xxx" oder "lengthscr:xxx")
|
8. Länge einer Zeichenkette (Format: "length:xxx" oder "lengthscr:xxx")
|
||||||
11. Aufteilen einer Zeichenkette (Format: "split:Anzahl,Trennzeichen,Flags,xxx")
|
9. eine Farbe (Format: "color:xxx", siehe "Anleitung für API Erweiterung", Funktion "color")
|
||||||
12. Aufteilen von Shell-Argumenten (Format: "split_shell:Anzahl,xxx")
|
10. ein Modifizierer (Format: "info:Name,Argumente", Argumente sind optional)
|
||||||
13. eine Farbe (Format: "color:xxx", siehe "Anleitung für API Erweiterung", Funktion "color")
|
11. eine Info (Format: "Info:Name,Argumente", Argumente sind optional)
|
||||||
14. zum modifizieren (Format: "modifier:name,data,string")
|
12. eine Basis 16/32/64 kodierte / dekodierte Zeichenfolge (Format: "base_encode:base,xxx" oder "base_decode:base,xxx")
|
||||||
15. eine Info (Format: "Info:Name,Argumente", Argumente sind optional)
|
13. aktuelles Datum/Uhrzeit (Format: "date" oder "date:format")
|
||||||
16. eine Basis 16/32/64 kodierte / dekodierte Zeichenfolge (Format: "base_encode:base,xxx" oder "base_decode:base,xxx")
|
14. eine Umgebungsvariable (Format: "env:XXX")
|
||||||
17. aktuelles Datum/Uhrzeit (Format: "date" oder "date:format")
|
15. ein Dreifachoperand (Format: "if:Bedingung?Wert_falls_wahr:Wert_falls_unwahr")
|
||||||
18. eine Umgebungsvariable (Format: "env:XXX")
|
16. Ergebnis eines Ausdrucks mit Klammern und Operatoren + - * / // % ** (Format: "calc:xxx")
|
||||||
19. ein Dreifachoperand (Format: "if:Bedingung?Wert_falls_wahr:Wert_falls_unwahr")
|
17. eine Option (Format: "file.section.option")
|
||||||
20. Ergebnis eines Ausdrucks mit Klammern und Operatoren + - * / // % ** (Format: "calc:xxx")
|
18. eine lokale Variable eines Buffers
|
||||||
21. eine zufällige ganze Zahl (Format: "random:min,max")
|
19. ein(e) hdata - Name/Variable (der Wert wird automatisch in eine Zeichenkette konvertiert), standardmäßig wird für "window" und "buffer" das aktuelle Fenster/Buffer verwendet.
|
||||||
22. eine übersetzte Zeichenkette (Format: "translate:xxx")
|
|
||||||
23. eine Benutzervariable definieren (Format: "define:Name,Wert")
|
|
||||||
24. eine Option (Format: "file.section.option")
|
|
||||||
25. eine lokale Variable eines Buffers
|
|
||||||
26. ein(e) hdata - Name/Variable (der Wert wird automatisch in eine Zeichenkette konvertiert), standardmäßig wird für "window" und "buffer" das aktuelle Fenster/Buffer verwendet.
|
|
||||||
Das Format für hdata kann wie folgt aufgebaut sein:
|
Das Format für hdata kann wie folgt aufgebaut sein:
|
||||||
hdata.var1.var2...: startet mit hdata (der Pointer muss bekannt sein) und fragt eine Variable nach der anderen ab (weitere hdata können folgen)
|
hdata.var1.var2...: startet mit hdata (der Pointer muss bekannt sein) und fragt eine Variable nach der anderen ab (weitere hdata können folgen)
|
||||||
hdata[list].var1.var2...: startet hdata mittels einer Liste, zum Beispiel:
|
hdata[list].var1.var2...: startet hdata mittels einer Liste, zum Beispiel:
|
||||||
@@ -1437,16 +1368,14 @@ Das Format für hdata kann wie folgt aufgebaut sein:
|
|||||||
${plugin[weechat_plugins].name}: Name der ersten Erweiterung, in der verknüpften Liste aller Erweiterungen
|
${plugin[weechat_plugins].name}: Name der ersten Erweiterung, in der verknüpften Liste aller Erweiterungen
|
||||||
hdata[pointer].var1.var2...: startet hdata mittels einem Pointer, zum Beispiel:
|
hdata[pointer].var1.var2...: startet hdata mittels einem Pointer, zum Beispiel:
|
||||||
${buffer[0x1234abcd].full_name}: vollständiger Name eines Buffers und des dazugehörigen Pointers (kann in triggern benutzt werden)
|
${buffer[0x1234abcd].full_name}: vollständiger Name eines Buffers und des dazugehörigen Pointers (kann in triggern benutzt werden)
|
||||||
${buffer[my_pointer].full_name}: vollständiger Name des Buffers mit dem entsprechenden Pointernamen (kann in Triggern verwendet werden)
|
|
||||||
Die vorhandenen Namen für hdata und Variablen sind in der "Anleitung für API Erweiterung", Bereich "weechat_hdata_get". beschrieben
|
Die vorhandenen Namen für hdata und Variablen sind in der "Anleitung für API Erweiterung", Bereich "weechat_hdata_get". beschrieben
|
||||||
|
|
||||||
Beispiele (einfache Zeichenketten):
|
Beispiele (einfache Zeichenketten):
|
||||||
/eval -n ${raw:${info:version}} ==> ${info:version}
|
|
||||||
/eval -n ${eval_cond:${window.win_width}>100} ==> 1
|
/eval -n ${eval_cond:${window.win_width}>100} ==> 1
|
||||||
/eval -n ${info:version} ==> 0.4.3
|
/eval -n ${info:version} ==> 0.4.3
|
||||||
/eval -n ${env:HOME} ==> /home/user
|
/eval -n ${env:HOME} ==> /home/user
|
||||||
/eval -n ${weechat.look.scroll_amount} ==> 3
|
/eval -n ${weechat.look.scroll_amount} ==> 3
|
||||||
/eval -n ${sec.data.password} ==> geheim
|
/eval -n ${sec.data.freenode_password} ==> geheim
|
||||||
/eval -n ${window} ==> 0x2549aa0
|
/eval -n ${window} ==> 0x2549aa0
|
||||||
/eval -n ${window.buffer} ==> 0x2549320
|
/eval -n ${window.buffer} ==> 0x2549320
|
||||||
/eval -n ${window.buffer.full_name} ==> core.weechat
|
/eval -n ${window.buffer.full_name} ==> core.weechat
|
||||||
@@ -1460,20 +1389,9 @@ Beispiele (einfache Zeichenketten):
|
|||||||
/eval -n ${rev:Hello} ==> olleH
|
/eval -n ${rev:Hello} ==> olleH
|
||||||
/eval -n ${repeat:5,-} ==> -----
|
/eval -n ${repeat:5,-} ==> -----
|
||||||
/eval -n ${length:test} ==> 4
|
/eval -n ${length:test} ==> 4
|
||||||
/eval -n ${split:1,,,abc,def,ghi} ==> abc
|
|
||||||
/eval -n ${split:-1,,,abc,def,ghi} ==> ghi
|
|
||||||
/eval -n ${split:count,,,abc,def,ghi} ==> 3
|
|
||||||
/eval -n ${split:random,,,abc,def,ghi} ==> def
|
|
||||||
/eval -n ${split_shell:1,"arg 1" arg2} ==> arg 1
|
|
||||||
/eval -n ${split_shell:-1,"arg 1" arg2} ==> arg2
|
|
||||||
/eval -n ${split_shell:count,"arg 1" arg2} ==> 2
|
|
||||||
/eval -n ${split_shell:random,"arg 1" arg2} ==> arg2
|
|
||||||
/eval -n ${calc:(5+2)*3} ==> 21
|
/eval -n ${calc:(5+2)*3} ==> 21
|
||||||
/eval -n ${random:0,10} ==> 3
|
|
||||||
/eval -n ${base_encode:64,test} ==> dGVzdA==
|
/eval -n ${base_encode:64,test} ==> dGVzdA==
|
||||||
/eval -n ${base_decode:64,dGVzdA==} ==> test
|
/eval -n ${base_decode:64,dGVzdA==} ==> test
|
||||||
/eval -n ${translate:Plugin} ==> Erweiterung
|
|
||||||
/eval -n ${define:len,${calc:5+3}}${len}x${len} ==> 8x8
|
|
||||||
|
|
||||||
Beispiele (Bedingungen):
|
Beispiele (Bedingungen):
|
||||||
/eval -n -c ${window.buffer.number} > 2 ==> 0
|
/eval -n -c ${window.buffer.number} > 2 ==> 0
|
||||||
@@ -1511,7 +1429,7 @@ addreplace: erzeugt neuen Filter oder ersetzt einen schon existierenden Filter
|
|||||||
del: Filter entfernen
|
del: Filter entfernen
|
||||||
-all: entfernt alle Filter
|
-all: entfernt alle Filter
|
||||||
buffer: durch Kommata getrennte Liste von Buffer in denen der Filter aktiv sein soll:
|
buffer: durch Kommata getrennte Liste von Buffer in denen der Filter aktiv sein soll:
|
||||||
- ist der vollständige Name eines Buffer inklusive seiner Erweiterung (Beispiel: "irc.libera.#weechat" oder "irc.server.libera")
|
- ist der vollständige Name eines Buffer inklusive seiner Erweiterung (Beispiel: "irc.freenode.#weechat" oder "irc.server.freenode")
|
||||||
- "*" bedeutet, alle Buffer
|
- "*" bedeutet, alle Buffer
|
||||||
- beginnt ein Name mit '!' wird für diesen Buffer kein Filter genutzt
|
- beginnt ein Name mit '!' wird für diesen Buffer kein Filter genutzt
|
||||||
- Platzhalter "*" kann verwendet werden
|
- Platzhalter "*" kann verwendet werden
|
||||||
@@ -1546,11 +1464,11 @@ Beispiele:
|
|||||||
filtert Nicks wenn diese den Channel betreten oder durch den Befehl "/names" angezeigt werden:
|
filtert Nicks wenn diese den Channel betreten oder durch den Befehl "/names" angezeigt werden:
|
||||||
/filter add nicks * irc_366 *
|
/filter add nicks * irc_366 *
|
||||||
filtert Nick "toto" im IRC Channel #weechat:
|
filtert Nick "toto" im IRC Channel #weechat:
|
||||||
/filter add toto irc.libera.#weechat nick_toto *
|
/filter add toto irc.freenode.#weechat nick_toto *
|
||||||
filtert IRC join/action Nachrichten von Nick "toto":
|
filtert IRC join/action Nachrichten von Nick "toto":
|
||||||
/filter add toto * nick_toto+irc_join,nick_toto+irc_action *
|
/filter add toto * nick_toto+irc_join,nick_toto+irc_action *
|
||||||
filtert Zeilen die "weechat sucks" im IRC Channel #weechat enthalten:
|
filtert Zeilen die "weechat sucks" im IRC Channel #weechat enthalten:
|
||||||
/filter add sucks irc.libera.#weechat * weechat sucks
|
/filter add sucks irc.freenode.#weechat * weechat sucks
|
||||||
filter Zeilen die exakt "WeeChat sucks" lauten und das in allen Buffern:
|
filter Zeilen die exakt "WeeChat sucks" lauten und das in allen Buffern:
|
||||||
/filter add sucks2 * * (?-i)^WeeChat sucks$
|
/filter add sucks2 * * (?-i)^WeeChat sucks$
|
||||||
----
|
----
|
||||||
@@ -1626,9 +1544,6 @@ Auflistung der möglichen Aktionen:
|
|||||||
jump_previously_visited_buffer: springt zum letzten besuchten Buffer
|
jump_previously_visited_buffer: springt zum letzten besuchten Buffer
|
||||||
jump_next_visited_buffer: springt zum nächsten besuchten Buffer
|
jump_next_visited_buffer: springt zum nächsten besuchten Buffer
|
||||||
hotlist_clear: löscht Hotlist (Aktivitätsanzeige für die Buffer), (optionales Argument: "lowest" löscht den niedrigsten Eintrag der Hotlist, "highest" löscht den höchsten Eintrag der Hotlist, oder eine integer Maske: eine Kombination aus 1=join/part, 2=Nachricht,4=privat,8=highlight)
|
hotlist_clear: löscht Hotlist (Aktivitätsanzeige für die Buffer), (optionales Argument: "lowest" löscht den niedrigsten Eintrag der Hotlist, "highest" löscht den höchsten Eintrag der Hotlist, oder eine integer Maske: eine Kombination aus 1=join/part, 2=Nachricht,4=privat,8=highlight)
|
||||||
hotlist_remove_buffer: entferne aktuellen Buffer von der Hotlist
|
|
||||||
hotlist_restore_buffer: Wiederherstellen der neuesten Hotlist, die im aktuellen Buffer entfernt wurde
|
|
||||||
hotlist_restore_all: Wiederherstellen der neuesten Hotlist, die in allen Buffern entfernt wurde
|
|
||||||
grab_key: fängt eine Taste (optionales Argument: Verzögerung um eine Taste einzufangen. Standard sind 500 Millisekunden)
|
grab_key: fängt eine Taste (optionales Argument: Verzögerung um eine Taste einzufangen. Standard sind 500 Millisekunden)
|
||||||
grab_key_command: zeigt den Tastencode (inklusive des eingebundenen Befehls) einer Tastenkombination an und fügt ihn in die Befehlszeile ein (optionales Argument: Verzögerung um eine Taste einzufangen. Standard sind 500 Millisekunden)
|
grab_key_command: zeigt den Tastencode (inklusive des eingebundenen Befehls) einer Tastenkombination an und fügt ihn in die Befehlszeile ein (optionales Argument: Verzögerung um eine Taste einzufangen. Standard sind 500 Millisekunden)
|
||||||
grab_mouse: fängt den Code einer Maus Aktivität
|
grab_mouse: fängt den Code einer Maus Aktivität
|
||||||
@@ -1724,8 +1639,6 @@ windows: erstellt bzw. verwendet nur Fenster (Buffer welche im jeweiligen Fenste
|
|||||||
Wird der Befehl ohne Argumente aufgerufen, werden die erstellten Layout dargestellt.
|
Wird der Befehl ohne Argumente aufgerufen, werden die erstellten Layout dargestellt.
|
||||||
|
|
||||||
Das aktuelle Layout kann beim Ausführen des /quit Befehls mit der Option "weechat.look.save_layout_on_exit" gesichert werden.
|
Das aktuelle Layout kann beim Ausführen des /quit Befehls mit der Option "weechat.look.save_layout_on_exit" gesichert werden.
|
||||||
|
|
||||||
Hinweis: Das Layout merkt sich nur Fenstereinteilungen und die Positionsnummern von Buffern. Layout öffnet keine Buffer. Das bedeutet zum Beispiel, dass Sie IRC-Kanäle immer noch automatisch betreten müssen, um die Buffer zu öffnen. Das gespeicherte Layout wird erst verwendet, wenn die Buffer geöffnet sind.
|
|
||||||
----
|
----
|
||||||
|
|
||||||
[[command_weechat_mouse]]
|
[[command_weechat_mouse]]
|
||||||
@@ -1757,7 +1670,7 @@ Beispiele:
|
|||||||
-core: keine Ausgabe im WeeChat Core Buffer
|
-core: keine Ausgabe im WeeChat Core Buffer
|
||||||
-current: Ausgabe im aktuellen Buffer wird unterdrückt
|
-current: Ausgabe im aktuellen Buffer wird unterdrückt
|
||||||
-buffer: Ausgabe im ausgewählten Buffer wird unterdrückt
|
-buffer: Ausgabe im ausgewählten Buffer wird unterdrückt
|
||||||
name: vollständiger Buffername (Beispiel: "irc.server.libera", "irc.libera.#weechat")
|
name: vollständiger Buffername (Beispiel: "irc.server.freenode", "irc.freenode.#weechat")
|
||||||
command: Befehl der ohne Textausgabe ausgeführt werden soll (das Präfix, '/', wird automatisch hinzugefügt, falls es dem Befehl nicht vorangestellt wurde)
|
command: Befehl der ohne Textausgabe ausgeführt werden soll (das Präfix, '/', wird automatisch hinzugefügt, falls es dem Befehl nicht vorangestellt wurde)
|
||||||
|
|
||||||
Wird kein Buffer ausgewählt (-core, -current oder -buffer), dann wird die Textausgabe generell unterdrückt.
|
Wird kein Buffer ausgewählt (-core, -current oder -buffer), dann wird die Textausgabe generell unterdrückt.
|
||||||
@@ -1765,36 +1678,31 @@ Wird kein Buffer ausgewählt (-core, -current oder -buffer), dann wird die Texta
|
|||||||
Beispiele:
|
Beispiele:
|
||||||
Speichern der Konfiguration:
|
Speichern der Konfiguration:
|
||||||
/mute save
|
/mute save
|
||||||
Nachricht in den aktuellen Kanal senden:
|
Nachricht in den aktuellen Channel senden:
|
||||||
/mute -current msg * hi!
|
/mute -current msg * hi!
|
||||||
Nachricht an den #weechat Kanal senden:
|
Nachricht an den #weechat Channel senden:
|
||||||
/mute -buffer irc.libera.#weechat msg #weechat hi!
|
/mute -buffer irc.freenode.#weechat msg #weechat hi!
|
||||||
----
|
----
|
||||||
|
|
||||||
[[command_weechat_plugin]]
|
[[command_weechat_plugin]]
|
||||||
* `+plugin+`: Erweiterungen verwalten (auflisten/installieren/beenden)
|
* `+plugin+`: Erweiterungen verwalten (auflisten/installieren/beenden)
|
||||||
|
|
||||||
----
|
----
|
||||||
/plugin list [-o|-ol|-i|-il|<name>]
|
/plugin list|listfull [<name>]
|
||||||
listfull [<name>]
|
|
||||||
load <filename> [<arguments>]
|
load <filename> [<arguments>]
|
||||||
autoload [<arguments>]
|
autoload [<arguments>]
|
||||||
reload [<name>|* [<arguments>]]
|
reload [<name>|* [<arguments>]]
|
||||||
unload [<name>]
|
unload [<name>]
|
||||||
|
|
||||||
list: installierte Erweiterungen werden aufgelistet
|
list: installierte Erweiterungen werden aufgelistet
|
||||||
-o: sende Liste der geladenen Erweiterungen an den Buffer (Ausgabe in Englisch)
|
listfull: detaillierte Auflistung aller installierten Erweiterungen
|
||||||
-ol: sende Liste der geladenen Erweiterungen an den Buffer (Übersetzte Ausgabe)
|
load: installiert eine Erweiterung
|
||||||
-i: Liste der geladenen Erweiterungen in die Befehlszeile kopieren (zum Senden an den Buffer) (Ausgabe in Englisch)
|
|
||||||
-il: Liste der geladenen Erweiterungen in die Befehlszeile kopieren (zum Senden an den Buffer) (Übersetzte Ausgabe)
|
|
||||||
name: Name einer Erweiterung
|
|
||||||
listfull: geladene Erweiterungen auflisten (ausführlich)
|
|
||||||
load: Laden einer Erweiterung
|
|
||||||
filename: Erweiterung (Dateiname) welche installiert werden soll
|
|
||||||
arguments: Argumente die der Erweiterung beim Installieren übergeben werden sollen
|
|
||||||
autoload: installiert automatisch alle Erweiterungen aus dem System- oder Benutzerverzeichnis
|
autoload: installiert automatisch alle Erweiterungen aus dem System- oder Benutzerverzeichnis
|
||||||
reload: startet eine Erweiterung erneut (falls kein Name angegeben wird, werden alle Erweiterungen beendet und neu gestartet)
|
reload: startet eine Erweiterung erneut (falls kein Name angegeben wird, werden alle Erweiterungen beendet und neu gestartet)
|
||||||
unload: beendet eine oder alle Erweiterungen (wird kein Name angegeben dann werden alle Erweiterung beendet)
|
unload: beendet eine oder alle Erweiterungen (wird kein Name angegeben dann werden alle Erweiterung beendet)
|
||||||
|
filename: Erweiterung (Datei) welche installiert werden soll
|
||||||
|
name: Name einer Erweiterung
|
||||||
|
arguments: Argumente die der Erweiterung beim installieren übergeben werden sollen
|
||||||
|
|
||||||
Ohne Angabe eines Arguments werden alle installierten Erweiterungen angezeigt.
|
Ohne Angabe eines Arguments werden alle installierten Erweiterungen angezeigt.
|
||||||
----
|
----
|
||||||
@@ -1841,7 +1749,7 @@ Beispiele:
|
|||||||
zeigt eine Nachricht im Core-Buffer mit dem Präfix "abc" an:
|
zeigt eine Nachricht im Core-Buffer mit dem Präfix "abc" an:
|
||||||
/print -core abc\tmeine Nachricht
|
/print -core abc\tmeine Nachricht
|
||||||
es wird eine Nachricht im Channel #weechat ausgegeben:
|
es wird eine Nachricht im Channel #weechat ausgegeben:
|
||||||
/print -buffer irc.libera.#weechat Nachricht an #weechat
|
/print -buffer irc.freenode.#weechat Nachricht an #weechat
|
||||||
gibt einen Schneemann aus (U+2603):
|
gibt einen Schneemann aus (U+2603):
|
||||||
/print -escape \u2603
|
/print -escape \u2603
|
||||||
verschickt Alarm (BEL):
|
verschickt Alarm (BEL):
|
||||||
@@ -1963,7 +1871,7 @@ Tastenbefehle für den secure-Buffer:
|
|||||||
alt+v Werte werden in Klartext angezeigt bzw. verborgen
|
alt+v Werte werden in Klartext angezeigt bzw. verborgen
|
||||||
|
|
||||||
Wird eine Passphrase verwendet (Daten liegen verschlüsselt vor), fragt WeeChat beim Start die Passphrase ab.
|
Wird eine Passphrase verwendet (Daten liegen verschlüsselt vor), fragt WeeChat beim Start die Passphrase ab.
|
||||||
Setzt man die Umgebungsvariable "WEECHAT_PASSPHRASE", kann die Eingabeaufforderung der Passphrase beim Programmstart vermieden werden (diese Variable wird von WeeChat auch beim /upgrade verwendet). Es ist auch möglich mittels der Option sec.crypt.passphrase_command die Passphrase aus der Ausgabe eines externen Befehls, wie eines Passwort-Managers zu lesen (siehe /help sec.crypt.passphrase_command )
|
Setzt man die Umgebungsvariable "WEECHAT_PASSPHRASE", kann die Eingabeaufforderung der Passphrase beim Programmstart vermieden werden (diese Variable wird von WeeChat auch beim /upgrade verwendet). Es ist auch möglich in der Option sec.crypt.passphrase_file eine Datei anzugeben die die Passphrase beinhaltet (siehe /help sec.crypt.passphrase_file)
|
||||||
|
|
||||||
schutzwürdige Daten mit dem Format ${sec.data.xxx} können wie folgt genutzt werden:
|
schutzwürdige Daten mit dem Format ${sec.data.xxx} können wie folgt genutzt werden:
|
||||||
- Befehl /eval.
|
- Befehl /eval.
|
||||||
@@ -1974,16 +1882,14 @@ schutzwürdige Daten mit dem Format ${sec.data.xxx} können wie folgt genutzt we
|
|||||||
Beispiele:
|
Beispiele:
|
||||||
festlegen eine Passphrase:
|
festlegen eine Passphrase:
|
||||||
/secure passphrase Dies ist meine Passphrase
|
/secure passphrase Dies ist meine Passphrase
|
||||||
nutze Programm "pass" um die Passphrase beim Start auszulesen:
|
verschlüsselt freenode SASL Passwort:
|
||||||
/set sec.crypt.passphrase_command "/usr/bin/pass show weechat/passphrase"
|
/secure set freenode meinPasswort
|
||||||
verschlüsselt libera SASL Passwort:
|
/set irc.server.freenode.sasl_password "${sec.data.freenode}"
|
||||||
/secure set libera meinPasswort
|
|
||||||
/set irc.server.libera.sasl_password "${sec.data.libera}"
|
|
||||||
verschlüsselt oftc Passwort für nickserv:
|
verschlüsselt oftc Passwort für nickserv:
|
||||||
/secure set oftc meinPasswort
|
/secure set oftc meinPasswort
|
||||||
/set irc.server.oftc.command "/msg nickserv identify ${sec.data.oftc}"
|
/set irc.server.oftc.command "/msg nickserv identify ${sec.data.oftc}"
|
||||||
Alternativbefehl um den eigenen Nick zu ghosten:
|
Alternativbefehl um den eigenen Nick zu ghosten:
|
||||||
/alias add ghost /eval /msg -server libera nickserv ghost meinNick ${sec.data.libera}
|
/alias add ghost /eval /msg -server freenode nickserv ghost meinNick ${sec.data.freenode}
|
||||||
----
|
----
|
||||||
|
|
||||||
[[command_weechat_set]]
|
[[command_weechat_set]]
|
||||||
@@ -2022,32 +1928,6 @@ Beispiele:
|
|||||||
/set env ABC ""
|
/set env ABC ""
|
||||||
----
|
----
|
||||||
|
|
||||||
[[command_weechat_toggle]]
|
|
||||||
* `+toggle+`: den Wert einer Konfigurationsoption umschalten
|
|
||||||
|
|
||||||
----
|
|
||||||
/toggle <option> [<value> [<value>...]]
|
|
||||||
|
|
||||||
option: Name einer Option
|
|
||||||
value: mögliche Werte für die Option (Werte werden wie bei Shell-Befehlsargumente aufgeteilt: Anführungszeichen können verwendet werden, um Leerzeichen am Anfang/Ende von Werten zu nutzen)
|
|
||||||
|
|
||||||
Verhalten:
|
|
||||||
- nur eine Option vom Typ Boolean oder String kann ohne Wert umgeschaltet werden:
|
|
||||||
- boolean: zwischen Ein/Aus Status umschalten, entsprechend dem aktuellen Wert
|
|
||||||
- string: Umschalten zwischen leerem String und Standardwert (funktioniert nur, wenn für die Option ein leerer String erlaubt ist)
|
|
||||||
- mit einem vorgegeben einzelnen Wert, zwischen diesem Wert und dem Standardwert der Option umschalten
|
|
||||||
- sind mehrere Werte angegeben, schalten Sie zwischen diesen Werten um: Der verwendete Wert ist der, der dem aktuellen Wert der Option folgt; wenn der aktuelle Wert der Option nicht in der Liste enthalten ist, wird der erste Wert aus der Liste verwendet
|
|
||||||
- der Sonderwert "null" kann genutzt werden, jedoch nur als erster Wert in der Liste und ohne Anführungszeichen.
|
|
||||||
|
|
||||||
Beispiele:
|
|
||||||
die Uhrzeit im Chat-Bereich umschalten (die Ausgabe des neuen Wertes wird unterdrückt):
|
|
||||||
/mute /toggle weechat.look.buffer_time_format
|
|
||||||
Zeitformat im Chat-Bereich ändern (mit Sekunden, ohne Sekunden, deaktiviert):
|
|
||||||
/toggle weechat.look.buffer_time_format "%H:%M:%S" "%H:%M" ""
|
|
||||||
den automatischen Beitritt des #weechat-Kanals auf dem libera-Server umschalten:
|
|
||||||
/toggle irc.server.libera.autojoin null #weechat
|
|
||||||
----
|
|
||||||
|
|
||||||
[[command_weechat_unset]]
|
[[command_weechat_unset]]
|
||||||
* `+unset+`: Konfigurationsparameter freigeben/zurücksetzen
|
* `+unset+`: Konfigurationsparameter freigeben/zurücksetzen
|
||||||
|
|
||||||
@@ -2096,7 +1976,7 @@ Nutzt man die "-quit" Funktion ist die Abfolge geringfügig anders:
|
|||||||
5. WeeChat wird beendet
|
5. WeeChat wird beendet
|
||||||
Die Sitzung kann zu einem späteren Zeitpunkt wiederhergestellt werden: weechat --upgrade
|
Die Sitzung kann zu einem späteren Zeitpunkt wiederhergestellt werden: weechat --upgrade
|
||||||
WICHTIG: Die Sitzung muss mit exakt den selben Konfigurationsdateien wiederhergestellt werden (*.conf)
|
WICHTIG: Die Sitzung muss mit exakt den selben Konfigurationsdateien wiederhergestellt werden (*.conf)
|
||||||
Es ist möglich, die WeeChat-Sitzung auf einem anderen Computer wiederherzustellen, wenn Sie den Inhalt der WeeChat Verzeichnisse kopieren (siehe / debug dirs).
|
Es ist möglich die WeeChat-Sitzung auf einem anderen Rechner wiederherzustellen, sofern man den Inhalt des "~/.weechat" Verzeichnisses dorthin kopiert.
|
||||||
----
|
----
|
||||||
|
|
||||||
[[command_weechat_uptime]]
|
[[command_weechat_uptime]]
|
||||||
@@ -2138,7 +2018,7 @@ command: Befehl welcher ausgeführt werden soll (oder ein Text der an einen Buff
|
|||||||
Hinweis: Der Befehl wird in dem Buffer ausgeführt, in welchem der /wait Befehl ausgeführt wurde (sollte der Buffer nicht mehr existieren, wird der Befehl nicht ausgeführt).
|
Hinweis: Der Befehl wird in dem Buffer ausgeführt, in welchem der /wait Befehl ausgeführt wurde (sollte der Buffer nicht mehr existieren, wird der Befehl nicht ausgeführt).
|
||||||
|
|
||||||
Beispiele:
|
Beispiele:
|
||||||
Betritt nach 10 Sekunden den Kanal #test:
|
Betritt nach 10 Sekunden den Channel #test:
|
||||||
/wait 10 /join #test
|
/wait 10 /join #test
|
||||||
Setzt nach 15 Minuten eine globale Abwesenheit:
|
Setzt nach 15 Minuten eine globale Abwesenheit:
|
||||||
/wait 15m /away -all Bin dann mal eben weg
|
/wait 15m /away -all Bin dann mal eben weg
|
||||||
@@ -2261,7 +2141,7 @@ Die folgenden Variablen können in den obigen Optionen genutzt werden:
|
|||||||
- ${buffer.short_name}
|
- ${buffer.short_name}
|
||||||
- ${buffer.nicklist_nicks_count}
|
- ${buffer.nicklist_nicks_count}
|
||||||
- irc_server: IRC Serverdaten, ausschließlich genutzt bei einem IRC Buffer (siehe hdata "irc_server" in API Dokumentation)
|
- irc_server: IRC Serverdaten, ausschließlich genutzt bei einem IRC Buffer (siehe hdata "irc_server" in API Dokumentation)
|
||||||
- irc_channel: IRC Kanaldaten, ausschließlich genutzt bei einem IRC Kanal-Buffer (siehe hdata "irc_channel" in API Dokumentation)
|
- irc_channel: IRC Channeldaten, ausschließlich genutzt bei einem IRC Channel Buffer (siehe hdata "irc_channel" in API Dokumentation)
|
||||||
- zusätzliche Variablen die durch buflist bereitgestellt werden:
|
- zusätzliche Variablen die durch buflist bereitgestellt werden:
|
||||||
- ${format_buffer}: der evaluierte Wert der Option buflist.format.buffer; dies kann in der Option buflist.format.buffer_current genutzt werden um zum Beispiel die Hintergrundfarbe zu verändern
|
- ${format_buffer}: der evaluierte Wert der Option buflist.format.buffer; dies kann in der Option buflist.format.buffer_current genutzt werden um zum Beispiel die Hintergrundfarbe zu verändern
|
||||||
- ${current_buffer}: ein Boolean ("0" oder "1"), "1" falls es sich um den aktuellen Buffer handelt; dies kann in einer Bedingung verwendet werden: ${if:${current_buffer}?...:...}
|
- ${current_buffer}: ein Boolean ("0" oder "1"), "1" falls es sich um den aktuellen Buffer handelt; dies kann in einer Bedingung verwendet werden: ${if:${current_buffer}?...:...}
|
||||||
@@ -2281,7 +2161,6 @@ Die folgenden Variablen können in den obigen Optionen genutzt werden:
|
|||||||
- ${hotlist}: die Hotlist in der Rohform
|
- ${hotlist}: die Hotlist in der Rohform
|
||||||
- ${hotlist_priority}: "none", "low", "message", "private" oder "highlight"
|
- ${hotlist_priority}: "none", "low", "message", "private" oder "highlight"
|
||||||
- ${format_lag}: die Verzögerung für einen IRC Server-Buffer, ist leer falls es keine Verzögerung gibt (evaluiert aus Option buflist.format.lag)
|
- ${format_lag}: die Verzögerung für einen IRC Server-Buffer, ist leer falls es keine Verzögerung gibt (evaluiert aus Option buflist.format.lag)
|
||||||
- ${format_tls_version}: Indikator der TLS Version für den Serverbuffer, Channels bleiben unberührt (evaluiert aus Option buflist.format.tls_version)
|
|
||||||
----
|
----
|
||||||
// end::buflist_commands[]
|
// end::buflist_commands[]
|
||||||
|
|
||||||
@@ -2388,14 +2267,14 @@ disable: deaktivieren der FIFO pipe
|
|||||||
toggle: Status der FIFO pipe umschalten
|
toggle: Status der FIFO pipe umschalten
|
||||||
|
|
||||||
Die FIFO-Pipe wird als Fernbedienung genutzt, es können Befehle oder Text von der Shell an die FIFO-Pipe geschickt werden
|
Die FIFO-Pipe wird als Fernbedienung genutzt, es können Befehle oder Text von der Shell an die FIFO-Pipe geschickt werden
|
||||||
Standardmäßig heißt die FIFO-Pipe weechat_fifo_xxx (wobei xxx die WeeChat-Prozess-ID ist) und befindet sich im WeeChat-Laufzeitverzeichnis (siehe /debug dirs).
|
Standardmäßig ist die FIFO-Pipe in ~/.weechat/weechat_fifo
|
||||||
|
|
||||||
Folgendes Format wird erwartet:
|
Folgendes Format wird erwartet:
|
||||||
plugin.buffer *Text oder Befehl an dieser Stelle
|
plugin.buffer *Text oder Befehl an dieser Stelle
|
||||||
*Text oder Befehl an dieser Stelle
|
*Text oder Befehl an dieser Stelle
|
||||||
|
|
||||||
Beispiel um den eigenen Nick auf dem Server libera zu ändern:
|
Beispiel um den eigenen Nick auf dem Server freenode zu ändern:
|
||||||
echo 'irc.server.libera */nick newnick' >/run/user/1000/weechat/weechat_fifo_12345
|
echo 'irc.server.freenode */nick newnick' >~/.weechat/weechat_fifo
|
||||||
|
|
||||||
Bitte lese die Benutzeranleitung für weitere Informationen und Beispiele.
|
Bitte lese die Benutzeranleitung für weitere Informationen und Beispiele.
|
||||||
|
|
||||||
@@ -2644,7 +2523,7 @@ disable: die Protokollierung wird für den aktuellen Buffer deaktiviert (der Lev
|
|||||||
Die Einstellungen "logger.level.*" und "logger.mask.*" können genutzt werden um den Level der Protokollierung festzulegen und um eine Maske für einen oder mehrere Buffer zu definieren.
|
Die Einstellungen "logger.level.*" und "logger.mask.*" können genutzt werden um den Level der Protokollierung festzulegen und um eine Maske für einen oder mehrere Buffer zu definieren.
|
||||||
|
|
||||||
Level der Protokollierung, die die IRC Erweiterung unterstützt:
|
Level der Protokollierung, die die IRC Erweiterung unterstützt:
|
||||||
1: Nachrichten von Usern (private und öffentliche Nachrichten), notice (Server und Kanal)
|
1: Nachrichten von Usern (private und öffentliche Nachrichten) , notice (Server und Channel)
|
||||||
2: Wechsel von Nicks (/nick)
|
2: Wechsel von Nicks (/nick)
|
||||||
3: Nachrichten vom Server
|
3: Nachrichten vom Server
|
||||||
4: join/part/quit Nachrichten
|
4: join/part/quit Nachrichten
|
||||||
@@ -2659,7 +2538,7 @@ Beispiele:
|
|||||||
/set logger.level.irc 3
|
/set logger.level.irc 3
|
||||||
Die Protokollierung, für den WeeChat Haupt-Buffer, wird deaktiviert:
|
Die Protokollierung, für den WeeChat Haupt-Buffer, wird deaktiviert:
|
||||||
/set logger.level.core.weechat 0
|
/set logger.level.core.weechat 0
|
||||||
Für jeden IRC-Server wird ein separates Verzeichnis erstellt und darin eine eigene Protokoll-Datei, für jeden Kanal:
|
Für jeden IRC-Server wird ein separates Verzeichnis erstellt und darin eine eigene Protokoll-Datei, für jeden Channel:
|
||||||
/set logger.mask.irc "$server/$channel.weechatlog"
|
/set logger.mask.irc "$server/$channel.weechatlog"
|
||||||
----
|
----
|
||||||
// end::logger_commands[]
|
// end::logger_commands[]
|
||||||
@@ -2832,7 +2711,7 @@ Ohne Angabe eines Argumentes listet dieser Befehl alle geladenen Skripten auf.
|
|||||||
stop: schließt den Server Socket (Clients bleiben verbunden)
|
stop: schließt den Server Socket (Clients bleiben verbunden)
|
||||||
name: Name des Relays (siehe Format weiter unten)
|
name: Name des Relays (siehe Format weiter unten)
|
||||||
port: Port der für Relay genutzt werden soll
|
port: Port der für Relay genutzt werden soll
|
||||||
path: Pfad der für Relay genutzt werden soll (ausschließlich für UNIX Domain Socket); Pfad ist evaluiert (siehe Funktion string_eval_path_home in Erweiterung API Referenz)/n
|
path: Pfad der für Relay genutzt werden soll (ausschließlich für UNIX Domain Socket); "%h" wird durch das WeeChat Verzeichnis ersetzt, Standardverzeichnis: ("~/.weechat"), Inhalt ist evaluiert (siehe /help eval)
|
||||||
raw: öffnet einen Buffer mit Relay-Rohdaten
|
raw: öffnet einen Buffer mit Relay-Rohdaten
|
||||||
sslcertkey: setzt SSL Zertifikat/Schlüssel mittels Pfad in Einstellung relay.network.ssl_cert_key
|
sslcertkey: setzt SSL Zertifikat/Schlüssel mittels Pfad in Einstellung relay.network.ssl_cert_key
|
||||||
|
|
||||||
@@ -2851,10 +2730,10 @@ Das "weechat" Protokoll wird von einem Remote-Interface genutzt um eine Verbindu
|
|||||||
Ohne Angabe von Argumenten werden alle Relay-Clients in einem neuen Buffer dargestellt.
|
Ohne Angabe von Argumenten werden alle Relay-Clients in einem neuen Buffer dargestellt.
|
||||||
|
|
||||||
Beispiele:
|
Beispiele:
|
||||||
IRC Proxy für Server "libera":
|
IRC Proxy für Server "freenode":
|
||||||
/relay add irc.libera 8000
|
/relay add irc.freenode 8000
|
||||||
IRC Proxy, für Server "libera", mit SSL:
|
IRC Proxy, für Server "freenode", mit SSL:
|
||||||
/relay add ssl.irc.libera 8001
|
/relay add ssl.irc.freenode 8001
|
||||||
IRC Proxy für alle Server (Client wählt aus), mit SSL:
|
IRC Proxy für alle Server (Client wählt aus), mit SSL:
|
||||||
/relay add ssl.irc 8002
|
/relay add ssl.irc 8002
|
||||||
WeeChat Protokoll:
|
WeeChat Protokoll:
|
||||||
@@ -2868,7 +2747,7 @@ Beispiele:
|
|||||||
WeeChat Protokoll, mit SSL, mit IPv4 + IPv6:
|
WeeChat Protokoll, mit SSL, mit IPv4 + IPv6:
|
||||||
/relay add ipv4.ipv6.ssl.weechat 9001
|
/relay add ipv4.ipv6.ssl.weechat 9001
|
||||||
Weechat Protokoll über UNIX Domain Socket:
|
Weechat Protokoll über UNIX Domain Socket:
|
||||||
/relay add unix.weechat ${weechat_runtime_dir}/relay_socket
|
/relay add unix.weechat %h/relay_socket
|
||||||
----
|
----
|
||||||
// end::relay_commands[]
|
// end::relay_commands[]
|
||||||
|
|
||||||
|
|||||||
@@ -16,8 +16,8 @@
|
|||||||
** Werte: sha224, sha256, sha384, sha512
|
** Werte: sha224, sha256, sha384, sha512
|
||||||
** Standardwert: `+sha256+`
|
** Standardwert: `+sha256+`
|
||||||
|
|
||||||
* [[option_sec.crypt.passphrase_command]] *sec.crypt.passphrase_command*
|
* [[option_sec.crypt.passphrase_file]] *sec.crypt.passphrase_file*
|
||||||
** Beschreibung: pass:none[Auslesen der Passphrase aus der Ausgabe des angegebenen Befehls (nur die erste Zeile wird verwendet und darf kein zusätzliches Zeichen enthalten); Diese Option wird nur verwendet, wenn die Datei sec.conf gelesen wird und wenn die Umgebungsvariable "WEECHAT_PASSPHRASE" nicht festgelegt ist (die Umgebungsvariable hat eine höhere Priorität); Beispiel mit Passwortspeicher: "/usr/bin/pass show weechat / passphrase"]
|
** Beschreibung: pass:none[Pfad zu einer Datei die die Passphrase enthält um damit schutzwürdige Daten zu ver- und entschlüsseln. Diese Einstellung findet nur Anwendung, wenn die Datei sec.conf gelesen wird. Es wird auch nur die erste Zeile eingelesen. Diese Datei wird nur verwendet, falls die Umgebungsvariable "WEECHAT_PASSPHRASE" nicht genutzt wird (die Umgebungsvariable besitzt eine höhere Priorität). Sicherheitshinweis: Es ist anzuraten dieser Datei nur für die eigene Person Leserechte zu gewähren und die Datei nicht im Heimatverzeichnis von WeeChat zu sichern (zum Beispiel im /home/ Order); Beispiel: "~/.weechat-passphrase"]
|
||||||
** Typ: Zeichenkette
|
** Typ: Zeichenkette
|
||||||
** Werte: beliebige Zeichenkette
|
** Werte: beliebige Zeichenkette
|
||||||
** Standardwert: `+""+`
|
** Standardwert: `+""+`
|
||||||
@@ -55,7 +55,7 @@
|
|||||||
** Standardwert: `+white+`
|
** Standardwert: `+white+`
|
||||||
|
|
||||||
* [[option_weechat.color.chat_channel]] *weechat.color.chat_channel*
|
* [[option_weechat.color.chat_channel]] *weechat.color.chat_channel*
|
||||||
** Beschreibung: pass:none[Farbe für den Kanalnamen]
|
** Beschreibung: pass:none[Farbe für den Channel-Namen]
|
||||||
** Typ: Farbe
|
** Typ: Farbe
|
||||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
||||||
** Standardwert: `+white+`
|
** Standardwert: `+white+`
|
||||||
@@ -403,7 +403,7 @@
|
|||||||
** Standardwert: `+default+`
|
** Standardwert: `+default+`
|
||||||
|
|
||||||
* [[option_weechat.color.status_number]] *weechat.color.status_number*
|
* [[option_weechat.color.status_number]] *weechat.color.status_number*
|
||||||
** Beschreibung: pass:none[Farbe des aktuellen Kanals in der Statuszeile]
|
** Beschreibung: pass:none[Farbe des aktuellen Channels in der Statuszeile]
|
||||||
** Typ: Farbe
|
** Typ: Farbe
|
||||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
||||||
** Standardwert: `+yellow+`
|
** Standardwert: `+yellow+`
|
||||||
@@ -846,12 +846,6 @@
|
|||||||
** Werte: on, off
|
** Werte: on, off
|
||||||
** Standardwert: `+on+`
|
** Standardwert: `+on+`
|
||||||
|
|
||||||
* [[option_weechat.look.hotlist_update_on_buffer_switch]] *weechat.look.hotlist_update_on_buffer_switch*
|
|
||||||
** Beschreibung: pass:none[Aktualisiert die Hotlist, wenn der Buffer gewechselt wird]
|
|
||||||
** Typ: boolesch
|
|
||||||
** Werte: on, off
|
|
||||||
** Standardwert: `+on+`
|
|
||||||
|
|
||||||
* [[option_weechat.look.input_cursor_scroll]] *weechat.look.input_cursor_scroll*
|
* [[option_weechat.look.input_cursor_scroll]] *weechat.look.input_cursor_scroll*
|
||||||
** Beschreibung: pass:none[Anzahl an Zeichen die nach links verschoben werden sollen, falls das Ende der Eingabezeile erreicht wird]
|
** Beschreibung: pass:none[Anzahl an Zeichen die nach links verschoben werden sollen, falls das Ende der Eingabezeile erreicht wird]
|
||||||
** Typ: integer
|
** Typ: integer
|
||||||
@@ -1146,12 +1140,6 @@
|
|||||||
** Werte: beliebige Zeichenkette
|
** Werte: beliebige Zeichenkette
|
||||||
** Standardwert: `+"- "+`
|
** Standardwert: `+"- "+`
|
||||||
|
|
||||||
* [[option_weechat.look.read_marker_update_on_buffer_switch]] *weechat.look.read_marker_update_on_buffer_switch*
|
|
||||||
** Beschreibung: pass:none[Aktualisiert das Lesezeichen, wenn der Buffer gewechselt wird]
|
|
||||||
** Typ: boolesch
|
|
||||||
** Werte: on, off
|
|
||||||
** Standardwert: `+on+`
|
|
||||||
|
|
||||||
* [[option_weechat.look.save_config_on_exit]] *weechat.look.save_config_on_exit*
|
* [[option_weechat.look.save_config_on_exit]] *weechat.look.save_config_on_exit*
|
||||||
** Beschreibung: pass:none[die aktuelle Konfiguration wird beim Beenden automatisch gesichert]
|
** Beschreibung: pass:none[die aktuelle Konfiguration wird beim Beenden automatisch gesichert]
|
||||||
** Typ: boolesch
|
** Typ: boolesch
|
||||||
@@ -1260,17 +1248,11 @@
|
|||||||
** Werte: 1 .. 2147483647
|
** Werte: 1 .. 2147483647
|
||||||
** Standardwert: `+60+`
|
** Standardwert: `+60+`
|
||||||
|
|
||||||
* [[option_weechat.network.gnutls_ca_system]] *weechat.network.gnutls_ca_system*
|
* [[option_weechat.network.gnutls_ca_file]] *weechat.network.gnutls_ca_file*
|
||||||
** Beschreibung: pass:none[lädt die standardmäßigen vertrauenswürdigen Zertifizierungsstellen des Systems beim Start; Dies kann deaktiviert werden, um Speicherplatz zu sparen, falls keine SSL-Verbindungen verwendet werden]
|
** Beschreibung: pass:none[Datei beinhaltet die digitalen Zertifikate ("%h" wird durch das WeeChat Verzeichnis ersetzt, Standardverzeichnis: "~/.weechat")]
|
||||||
** Typ: boolesch
|
|
||||||
** Werte: on, off
|
|
||||||
** Standardwert: `+on+`
|
|
||||||
|
|
||||||
* [[option_weechat.network.gnutls_ca_user]] *weechat.network.gnutls_ca_user*
|
|
||||||
** Beschreibung: pass:none[zusätzliche Datei(en) bei den Zertifizierungsstellen; mehrere Dateien müssen durch Doppelpunkte getrennt werden (jeder Pfad ist evaluiert, siehe Funktion string_eval_path_home in der Plugin-API-Referenz)]
|
|
||||||
** Typ: Zeichenkette
|
** Typ: Zeichenkette
|
||||||
** Werte: beliebige Zeichenkette
|
** Werte: beliebige Zeichenkette
|
||||||
** Standardwert: `+""+`
|
** Standardwert: `+"/etc/ssl/certs/ca-certificates.crt"+`
|
||||||
|
|
||||||
* [[option_weechat.network.gnutls_handshake_timeout]] *weechat.network.gnutls_handshake_timeout*
|
* [[option_weechat.network.gnutls_handshake_timeout]] *weechat.network.gnutls_handshake_timeout*
|
||||||
** Beschreibung: pass:none[Zeitüberschreitung für gnutls Handshake (in Sekunden)]
|
** Beschreibung: pass:none[Zeitüberschreitung für gnutls Handshake (in Sekunden)]
|
||||||
@@ -1290,6 +1272,12 @@
|
|||||||
** Werte: beliebige Zeichenkette
|
** Werte: beliebige Zeichenkette
|
||||||
** Standardwert: `+"*"+`
|
** Standardwert: `+"*"+`
|
||||||
|
|
||||||
|
* [[option_weechat.plugin.debug]] *weechat.plugin.debug*
|
||||||
|
** Beschreibung: pass:none[aktiviert Debug-Nachrichten für alle Erweiterungen (diese Einstellung ist standardmäßig deaktiviert und das ist auch gut so)]
|
||||||
|
** Typ: boolesch
|
||||||
|
** Werte: on, off
|
||||||
|
** Standardwert: `+off+`
|
||||||
|
|
||||||
* [[option_weechat.plugin.extension]] *weechat.plugin.extension*
|
* [[option_weechat.plugin.extension]] *weechat.plugin.extension*
|
||||||
** Beschreibung: pass:none[durch Kommata getrennte Liste von Dateinamenserweiterungen, welche für die Erweiterungen genutzt werden sollen]
|
** Beschreibung: pass:none[durch Kommata getrennte Liste von Dateinamenserweiterungen, welche für die Erweiterungen genutzt werden sollen]
|
||||||
** Typ: Zeichenkette
|
** Typ: Zeichenkette
|
||||||
@@ -1297,10 +1285,10 @@
|
|||||||
** Standardwert: `+".so,.dll"+`
|
** Standardwert: `+".so,.dll"+`
|
||||||
|
|
||||||
* [[option_weechat.plugin.path]] *weechat.plugin.path*
|
* [[option_weechat.plugin.path]] *weechat.plugin.path*
|
||||||
** Beschreibung: pass:none[Pfad für die Suche nach Erweiterungen (Pfad ist evaluiert, siehe Funktion string_eval_path_home in der Plugin-API-Referenz)]
|
** Beschreibung: pass:none[Suchpfad für Erweiterungen ("%h"' wird durch das WeeChat-Basisverzeichnis ersetzt, voreingestellt ist "~/.weechat")]
|
||||||
** Typ: Zeichenkette
|
** Typ: Zeichenkette
|
||||||
** Werte: beliebige Zeichenkette
|
** Werte: beliebige Zeichenkette
|
||||||
** Standardwert: `+"${weechat_data_dir}/plugins"+`
|
** Standardwert: `+"%h/plugins"+`
|
||||||
|
|
||||||
* [[option_weechat.plugin.save_config_on_unload]] *weechat.plugin.save_config_on_unload*
|
* [[option_weechat.plugin.save_config_on_unload]] *weechat.plugin.save_config_on_unload*
|
||||||
** Beschreibung: pass:none[speichert Konfigurationen, falls Erweiterungen beendet werden]
|
** Beschreibung: pass:none[speichert Konfigurationen, falls Erweiterungen beendet werden]
|
||||||
@@ -1308,44 +1296,14 @@
|
|||||||
** Werte: on, off
|
** Werte: on, off
|
||||||
** Standardwert: `+on+`
|
** Standardwert: `+on+`
|
||||||
|
|
||||||
* [[option_weechat.signal.sighup]] *weechat.signal.sighup*
|
|
||||||
** Beschreibung: pass:none[Befehl welcher ausgeführt werden soll, wenn das Signal empfangen wird. Mehrere Befehle können durch Semikolons getrennt werden (Hinweis: Inhalt wird ausgewertet, siehe / help eval)]
|
|
||||||
** Typ: Zeichenkette
|
|
||||||
** Werte: beliebige Zeichenkette
|
|
||||||
** Standardwert: `+"${if:${info:weechat_headless}?/reload:/quit -yes}"+`
|
|
||||||
|
|
||||||
* [[option_weechat.signal.sigquit]] *weechat.signal.sigquit*
|
|
||||||
** Beschreibung: pass:none[Befehl welcher ausgeführt werden soll, wenn das Signal empfangen wird. Mehrere Befehle können durch Semikolons getrennt werden (Hinweis: Inhalt wird ausgewertet, siehe / help eval)]
|
|
||||||
** Typ: Zeichenkette
|
|
||||||
** Werte: beliebige Zeichenkette
|
|
||||||
** Standardwert: `+"/quit -yes"+`
|
|
||||||
|
|
||||||
* [[option_weechat.signal.sigterm]] *weechat.signal.sigterm*
|
|
||||||
** Beschreibung: pass:none[Befehl welcher ausgeführt werden soll, wenn das Signal empfangen wird. Mehrere Befehle können durch Semikolons getrennt werden (Hinweis: Inhalt wird ausgewertet, siehe / help eval)]
|
|
||||||
** Typ: Zeichenkette
|
|
||||||
** Werte: beliebige Zeichenkette
|
|
||||||
** Standardwert: `+"/quit -yes"+`
|
|
||||||
|
|
||||||
* [[option_weechat.signal.sigusr1]] *weechat.signal.sigusr1*
|
|
||||||
** Beschreibung: pass:none[Befehl welcher ausgeführt werden soll, wenn das Signal empfangen wird. Mehrere Befehle können durch Semikolons getrennt werden (Hinweis: Inhalt wird ausgewertet, siehe / help eval)]
|
|
||||||
** Typ: Zeichenkette
|
|
||||||
** Werte: beliebige Zeichenkette
|
|
||||||
** Standardwert: `+""+`
|
|
||||||
|
|
||||||
* [[option_weechat.signal.sigusr2]] *weechat.signal.sigusr2*
|
|
||||||
** Beschreibung: pass:none[Befehl welcher ausgeführt werden soll, wenn das Signal empfangen wird. Mehrere Befehle können durch Semikolons getrennt werden (Hinweis: Inhalt wird ausgewertet, siehe / help eval)]
|
|
||||||
** Typ: Zeichenkette
|
|
||||||
** Werte: beliebige Zeichenkette
|
|
||||||
** Standardwert: `+""+`
|
|
||||||
|
|
||||||
* [[option_weechat.startup.command_after_plugins]] *weechat.startup.command_after_plugins*
|
* [[option_weechat.startup.command_after_plugins]] *weechat.startup.command_after_plugins*
|
||||||
** Beschreibung: pass:none[Befehl wird ausgeführt, wenn WeeChat gestartet wird, nachdem die Erweiterungen geladen wurden. Mehrere Befehle können durch Semikolons getrennt werden (Hinweis: Inhalt wird ausgewertet, siehe / help eval)]
|
** Beschreibung: pass:none[Nach dem Start von WeeChat wird dieser Befehl aufgerufen. Dies geschieht nachdem die Erweiterungen geladen worden sind (mehrere Befehle sind durch ";" zu trennen) (Hinweis: Inhalt wird evaluiert, siehe /help eval)]
|
||||||
** Typ: Zeichenkette
|
** Typ: Zeichenkette
|
||||||
** Werte: beliebige Zeichenkette
|
** Werte: beliebige Zeichenkette
|
||||||
** Standardwert: `+""+`
|
** Standardwert: `+""+`
|
||||||
|
|
||||||
* [[option_weechat.startup.command_before_plugins]] *weechat.startup.command_before_plugins*
|
* [[option_weechat.startup.command_before_plugins]] *weechat.startup.command_before_plugins*
|
||||||
** Beschreibung: pass:none[Befehl wird ausgeführt, wenn WeeChat gestartet wird, bevor Erweiterungen geladen werden. Mehrere Befehle können durch Semikolons getrennt werden (Hinweis: Inhalt wird ausgewertet, siehe / help eval)]
|
** Beschreibung: pass:none[Nach dem Start von WeeChat wird dieser Befehl aufgerufen. Dies geschieht bevor die Erweiterungen geladen werden (mehrere Befehle sind durch ";" zu trennen) (Hinweis: Inhalt wird evaluiert, siehe /help eval)]
|
||||||
** Typ: Zeichenkette
|
** Typ: Zeichenkette
|
||||||
** Werte: beliebige Zeichenkette
|
** Werte: beliebige Zeichenkette
|
||||||
** Standardwert: `+""+`
|
** Standardwert: `+""+`
|
||||||
@@ -1451,10 +1409,10 @@
|
|||||||
** Standardwert: `+""+`
|
** Standardwert: `+""+`
|
||||||
|
|
||||||
* [[option_logger.file.path]] *logger.file.path*
|
* [[option_logger.file.path]] *logger.file.path*
|
||||||
** Beschreibung: pass:none[Pfad für WeeChat-Protokolldateien; Datumsangaben sind zulässig (siehe man strftime) (Pfad ist evaluiert, siehe Funktion string_eval_path_home in der Plugin-API-Referenz)]
|
** Beschreibung: pass:none[Pfad für WeeChat Protokolldateien; "%h" wird durch das WeeChat Verzeichnis ersetzt (Standardpfad: "~/.weechat"); eine Datumsspezifikation ist zulässig (siehe: man strftime) (Hinweis: Inhalt wird evaluiert, siehe /help eval)]
|
||||||
** Typ: Zeichenkette
|
** Typ: Zeichenkette
|
||||||
** Werte: beliebige Zeichenkette
|
** Werte: beliebige Zeichenkette
|
||||||
** Standardwert: `+"${weechat_data_dir}/logs"+`
|
** Standardwert: `+"%h/logs/"+`
|
||||||
|
|
||||||
* [[option_logger.file.replacement_char]] *logger.file.replacement_char*
|
* [[option_logger.file.replacement_char]] *logger.file.replacement_char*
|
||||||
** Beschreibung: pass:none[Ersatzzeichen für Dateinamen, falls der Dateiname Sonderzeichen beinhaltet (z.B. das Trennzeichen bei Verzeichnissen "/")]
|
** Beschreibung: pass:none[Ersatzzeichen für Dateinamen, falls der Dateiname Sonderzeichen beinhaltet (z.B. das Trennzeichen bei Verzeichnissen "/")]
|
||||||
@@ -1717,7 +1675,7 @@
|
|||||||
** Standardwert: `+"${color:default},"+`
|
** Standardwert: `+"${color:default},"+`
|
||||||
|
|
||||||
* [[option_buflist.format.indent]] *buflist.format.indent*
|
* [[option_buflist.format.indent]] *buflist.format.indent*
|
||||||
** Beschreibung: pass:none[Zeichenkette die beim Einrücken von Kanal und privaten Buffern angezeigt wird (Hinweis: Inhalt wird evaluiert, siehe /help buflist)]
|
** Beschreibung: pass:none[Zeichenkette die beim Einrücken von Channel und privaten Buffern angezeigt wird (Hinweis: Inhalt wird evaluiert, siehe /help buflist)]
|
||||||
** Typ: Zeichenkette
|
** Typ: Zeichenkette
|
||||||
** Werte: beliebige Zeichenkette
|
** Werte: beliebige Zeichenkette
|
||||||
** Standardwert: `+" "+`
|
** Standardwert: `+" "+`
|
||||||
@@ -1735,7 +1693,7 @@
|
|||||||
** Standardwert: `+"${name}"+`
|
** Standardwert: `+"${name}"+`
|
||||||
|
|
||||||
* [[option_buflist.format.nick_prefix]] *buflist.format.nick_prefix*
|
* [[option_buflist.format.nick_prefix]] *buflist.format.nick_prefix*
|
||||||
** Beschreibung: pass:none[Format des Nick-Präfix für einen Kanal (Hinweis: Inhalt wird evaluiert, siehe /help buflist)]
|
** Beschreibung: pass:none[Format des Nick-Präfix für einen Channel (Hinweis: Inhalt wird evaluiert, siehe /help buflist)]
|
||||||
** Typ: Zeichenkette
|
** Typ: Zeichenkette
|
||||||
** Werte: beliebige Zeichenkette
|
** Werte: beliebige Zeichenkette
|
||||||
** Standardwert: `+"${color_nick_prefix}${nick_prefix}"+`
|
** Standardwert: `+"${color_nick_prefix}${nick_prefix}"+`
|
||||||
@@ -1746,12 +1704,6 @@
|
|||||||
** Werte: beliebige Zeichenkette
|
** Werte: beliebige Zeichenkette
|
||||||
** Standardwert: `+"${color:green}${number}${if:${number_displayed}?.: }"+`
|
** Standardwert: `+"${color:green}${number}${if:${number_displayed}?.: }"+`
|
||||||
|
|
||||||
* [[option_buflist.format.tls_version]] *buflist.format.tls_version*
|
|
||||||
** Beschreibung: pass:none[Format für die TLS-Version für einen IRC-Serverbuffer (Hinweis: Inhalt wird evaluiert, siehe /help buflist)]
|
|
||||||
** Typ: Zeichenkette
|
|
||||||
** Werte: beliebige Zeichenkette
|
|
||||||
** Standardwert: `+" ${color:default}(${if:${tls_version}==TLS1.3?${color:green}:${if:${tls_version}==TLS1.2?${color:yellow}:${color:red}}}${translate:${tls_version}}${color:default})"+`
|
|
||||||
|
|
||||||
* [[option_buflist.look.add_newline]] *buflist.look.add_newline*
|
* [[option_buflist.look.add_newline]] *buflist.look.add_newline*
|
||||||
** Beschreibung: pass:none[fügt einen Zeilenumbruch zwischen die einzelnen Buffer hinzu um pro Zeile einen Buffer anzuzeigen (empfohlen); falls deaktiviert muss ein Zeilenumbruch manuell hinzugefügt werden, "${\\n}", des Weiteren ist die Mausunterstützung nicht mehr gegeben]
|
** Beschreibung: pass:none[fügt einen Zeilenumbruch zwischen die einzelnen Buffer hinzu um pro Zeile einen Buffer anzuzeigen (empfohlen); falls deaktiviert muss ein Zeilenumbruch manuell hinzugefügt werden, "${\\n}", des Weiteren ist die Mausunterstützung nicht mehr gegeben]
|
||||||
** Typ: boolesch
|
** Typ: boolesch
|
||||||
@@ -1813,16 +1765,10 @@
|
|||||||
** Standardwert: `+""+`
|
** Standardwert: `+""+`
|
||||||
|
|
||||||
* [[option_buflist.look.sort]] *buflist.look.sort*
|
* [[option_buflist.look.sort]] *buflist.look.sort*
|
||||||
** Beschreibung: pass:none[durch Kommata getrennte Liste von Feldern um die Buffer zu sortieren; jedes Feld ist entweder eine hdata Variable von Buffer ("var"), eine hdata Variable vom Typ IRC Server ("irc_server.var") oder eine hdata Variable vom Typ IRC Kanal ("irc_channel.var"); wird das "-" Zeichen vor einem Feld angewendet, wird die Ausgabe umgekehrt, um bei einem Vergleich nicht zwischen Groß- und Kleinschreibung zu unterscheiden wird das Zeichen "~" verwendet; Beispiel: "-~short_name" sortiert die Buffer nach ihren Kurznamen, wobei dies invertiert passiert und nicht zwischen Groß-oder Kleinschreibung unterschieden wird (Hinweis: der Inhalt ist evaluiert, vor dem Aufteilen in Felder, kann nur die Variable "bar_item" genutzt werden, um zwischen verschiedenen Buffer-Items zu unterscheiden, zum Beispiel "${bar_item.name}")]
|
** Beschreibung: pass:none[durch Kommata getrennte Liste von Feldern um die Buffer zu sortieren; jedes Feld ist entweder eine hdata Variable von Buffer ("var"), eine hdata Variable vom Typ IRC Server ("irc_server.var") oder eine hdata Variable vom Typ IRC Channel ("irc_channel.var"); wird das "-" Zeichen vor einem Feld angewendet, wird die Ausgabe umgekehrt, um bei einem Vergleich nicht zwischen Groß- und Kleinschreibung zu unterscheiden wird das Zeichen "~" verwendet; Beispiel: "-~short_name" sortiert die Buffer nach ihrem Kurznamen, wobei dies invertiert passiert und nicht zwischen Groß-oder Kleinschreibung unterschieden wird (Hinweis: der Inhalt ist evaluiert, nur der Pointer der bar_item kann genutzt werden, Beispiel "bar_item.name")]
|
||||||
** Typ: Zeichenkette
|
** Typ: Zeichenkette
|
||||||
** Werte: beliebige Zeichenkette
|
** Werte: beliebige Zeichenkette
|
||||||
** Standardwert: `+"number,-active"+`
|
** Standardwert: `+"number,-active"+`
|
||||||
|
|
||||||
* [[option_buflist.look.use_items]] *buflist.look.use_items*
|
|
||||||
** Beschreibung: pass:none[Anzahl der Buflist-Bar-Items, die verwendet werden können; die Item-Namen sind: "buflist", "buflist2", "buflist3"; Seien Sie vorsichtig, wenn Sie mehr als ein Bar-Item verwenden, wird die Anzeige der Bufferliste verlangsamt]
|
|
||||||
** Typ: integer
|
|
||||||
** Werte: 1 .. 3
|
|
||||||
** Standardwert: `+1+`
|
|
||||||
// end::buflist_options[]
|
// end::buflist_options[]
|
||||||
|
|
||||||
// tag::fifo_options[]
|
// tag::fifo_options[]
|
||||||
@@ -1833,56 +1779,12 @@
|
|||||||
** Standardwert: `+on+`
|
** Standardwert: `+on+`
|
||||||
|
|
||||||
* [[option_fifo.file.path]] *fifo.file.path*
|
* [[option_fifo.file.path]] *fifo.file.path*
|
||||||
** Beschreibung: pass:none[Pfad für FIFO-Datei; WeeChat PID kann im Pfad mit ${info:pid} verwendet werden (Pfad ist evaluiert, siehe Funktion string_eval_path_home in der Plugin-API-Referenz)]
|
** Beschreibung: pass:none[Pfad für eingehende Dateien: "%h" wird durch das WeeChat Verzeichnis ersetzt (Standardpfad: "~/.weechat"); WeeChat PID kann mit ${info:pid} genutzt werden (Hinweis: Inhalt wird evaluiert, siehe /help eval)]
|
||||||
** Typ: Zeichenkette
|
** Typ: Zeichenkette
|
||||||
** Werte: beliebige Zeichenkette
|
** Werte: beliebige Zeichenkette
|
||||||
** Standardwert: `+"${weechat_runtime_dir}/weechat_fifo_${info:pid}"+`
|
** Standardwert: `+"%h/weechat_fifo"+`
|
||||||
// end::fifo_options[]
|
// end::fifo_options[]
|
||||||
|
|
||||||
// tag::typing_options[]
|
|
||||||
* [[option_typing.look.delay_purge_paused]] *typing.look.delay_purge_paused*
|
|
||||||
** Beschreibung: pass:none[Anzahl der Sekunden, nachdem der Pausenstatus gesetzt wurde: wenn erreicht, wird der Tippstatus entfernt]
|
|
||||||
** Typ: integer
|
|
||||||
** Werte: 1 .. 2147483647
|
|
||||||
** Standardwert: `+30+`
|
|
||||||
|
|
||||||
* [[option_typing.look.delay_purge_typing]] *typing.look.delay_purge_typing*
|
|
||||||
** Beschreibung: pass:none[Anzahl der Sekunden nach Setzen des Tippstatuses: wenn erreicht, wird der Tipptatus entfernt]
|
|
||||||
** Typ: integer
|
|
||||||
** Werte: 1 .. 2147483647
|
|
||||||
** Standardwert: `+6+`
|
|
||||||
|
|
||||||
* [[option_typing.look.delay_set_paused]] *typing.look.delay_set_paused*
|
|
||||||
** Beschreibung: pass:none[Anzahl der Sekunden nach Eingabe des letzten Zeichens: wenn erreicht, wird der Schreibstatus "pausiert" und es werden keine Schreibsignale mehr gesendet]
|
|
||||||
** Typ: integer
|
|
||||||
** Werte: 1 .. 2147483647
|
|
||||||
** Standardwert: `+10+`
|
|
||||||
|
|
||||||
* [[option_typing.look.enabled_nicks]] *typing.look.enabled_nicks*
|
|
||||||
** Beschreibung: pass:none[Tippfunktion für andere Nicks aktiviert (Anzeige von Tippinfos für Nicks, die im aktuellen Buffer schreiben)]
|
|
||||||
** Typ: boolesch
|
|
||||||
** Werte: on, off
|
|
||||||
** Standardwert: `+off+`
|
|
||||||
|
|
||||||
* [[option_typing.look.enabled_self]] *typing.look.enabled_self*
|
|
||||||
** Beschreibung: pass:none[Tippfunktion für eigene Nachrichten aktiviert (Schreibinformationen an andere Benutzer senden)]
|
|
||||||
** Typ: boolesch
|
|
||||||
** Werte: on, off
|
|
||||||
** Standardwert: `+off+`
|
|
||||||
|
|
||||||
* [[option_typing.look.input_min_chars]] *typing.look.input_min_chars*
|
|
||||||
** Beschreibung: pass:none[Mindestanzahl von Zeichen in der Nachricht, um das Senden von Tippsignalen auszulösen]
|
|
||||||
** Typ: integer
|
|
||||||
** Werte: 1 .. 2147483647
|
|
||||||
** Standardwert: `+4+`
|
|
||||||
|
|
||||||
* [[option_typing.look.item_max_length]] *typing.look.item_max_length*
|
|
||||||
** Beschreibung: pass:none[maximale Anzahl von Zeichen, die im Bar-Item "typing" angezeigt werden (0 = Inhalt nicht abschneiden)]
|
|
||||||
** Typ: integer
|
|
||||||
** Werte: 0 .. 2147483647
|
|
||||||
** Standardwert: `+0+`
|
|
||||||
// end::typing_options[]
|
|
||||||
|
|
||||||
// tag::xfer_options[]
|
// tag::xfer_options[]
|
||||||
* [[option_xfer.color.status_aborted]] *xfer.color.status_aborted*
|
* [[option_xfer.color.status_aborted]] *xfer.color.status_aborted*
|
||||||
** Beschreibung: pass:none[Textfarbe für Status: "abgebrochen"]
|
** Beschreibung: pass:none[Textfarbe für Status: "abgebrochen"]
|
||||||
@@ -1951,7 +1853,7 @@
|
|||||||
** Standardwert: `+off+`
|
** Standardwert: `+off+`
|
||||||
|
|
||||||
* [[option_xfer.file.auto_accept_nicks]] *xfer.file.auto_accept_nicks*
|
* [[option_xfer.file.auto_accept_nicks]] *xfer.file.auto_accept_nicks*
|
||||||
** Beschreibung: pass:none[durch Kommata getrennte Liste von Nicks deren Chat- und Transferanfragen automatisch akzeptiert werden. Format : "server.nick" (für einen speziellen Server) oder "nick" (global, für alle Server); Beispiel: "libera.FlashCode,andrew"]
|
** Beschreibung: pass:none[durch Kommata getrennte Liste von Nicks deren Chat- und Transferanfragen automatisch akzeptiert werden. Format : "server.nick" (für einen speziellen Server) oder "nick" (global, für alle Server); Beispiel: "freenode.FlashCode,andrew"]
|
||||||
** Typ: Zeichenkette
|
** Typ: Zeichenkette
|
||||||
** Werte: beliebige Zeichenkette
|
** Werte: beliebige Zeichenkette
|
||||||
** Standardwert: `+""+`
|
** Standardwert: `+""+`
|
||||||
@@ -1981,10 +1883,10 @@
|
|||||||
** Standardwert: `+on+`
|
** Standardwert: `+on+`
|
||||||
|
|
||||||
* [[option_xfer.file.download_path]] *xfer.file.download_path*
|
* [[option_xfer.file.download_path]] *xfer.file.download_path*
|
||||||
** Beschreibung: pass:none[Pfad zum Schreiben eingehender Dateien (Pfad ist evaluiert, siehe Funktion string_eval_path_home in der Plugin-API-Referenz)]
|
** Beschreibung: pass:none[Pfad für eingehende Dateien: "%h" wird durch das WeeChat Verzeichnis ersetzt (Standardpfad: "~/.weechat") (Hinweis: Inhalt wird evaluiert, siehe /help eval)]
|
||||||
** Typ: Zeichenkette
|
** Typ: Zeichenkette
|
||||||
** Werte: beliebige Zeichenkette
|
** Werte: beliebige Zeichenkette
|
||||||
** Standardwert: `+"${weechat_data_dir}/xfer"+`
|
** Standardwert: `+"%h/xfer"+`
|
||||||
|
|
||||||
* [[option_xfer.file.download_temporary_suffix]] *xfer.file.download_temporary_suffix*
|
* [[option_xfer.file.download_temporary_suffix]] *xfer.file.download_temporary_suffix*
|
||||||
** Beschreibung: pass:none[Dateiendung der temporären Datei, die während eines eingehenden Datei-Transfers genutzt wird und die gelöscht wird, sobald die Übertragung erfolgreich beendet wurde; wenn -leer-, dann wird keine temporäre Dateiendung während des Transfers genutzt]
|
** Beschreibung: pass:none[Dateiendung der temporären Datei, die während eines eingehenden Datei-Transfers genutzt wird und die gelöscht wird, sobald die Übertragung erfolgreich beendet wurde; wenn -leer-, dann wird keine temporäre Dateiendung während des Transfers genutzt]
|
||||||
@@ -1993,7 +1895,7 @@
|
|||||||
** Standardwert: `+".part"+`
|
** Standardwert: `+".part"+`
|
||||||
|
|
||||||
* [[option_xfer.file.upload_path]] *xfer.file.upload_path*
|
* [[option_xfer.file.upload_path]] *xfer.file.upload_path*
|
||||||
** Beschreibung: pass:none[Pfad zum Lesen von Dateien beim Senden (Pfad ist evaluiert, siehe Funktion string_eval_path_home in der Plugin-API-Referenz)]
|
** Beschreibung: pass:none[Pfad für ausgehende Dateien (falls kein Pfad durch den Anwender angegeben wurde): "%h" wird durch das WeeChat Verzeichnis ersetzt (Standardpfad: "~/.weechat") (Hinweis: Inhalt wird evaluiert, siehe /help eval)]
|
||||||
** Typ: Zeichenkette
|
** Typ: Zeichenkette
|
||||||
** Werte: beliebige Zeichenkette
|
** Werte: beliebige Zeichenkette
|
||||||
** Standardwert: `+"~"+`
|
** Standardwert: `+"~"+`
|
||||||
@@ -2079,7 +1981,7 @@
|
|||||||
** Standardwert: `+lightcyan+`
|
** Standardwert: `+lightcyan+`
|
||||||
|
|
||||||
* [[option_irc.color.item_channel_modes]] *irc.color.item_channel_modes*
|
* [[option_irc.color.item_channel_modes]] *irc.color.item_channel_modes*
|
||||||
** Beschreibung: pass:none[Farbe der Kanal-Modes (neben des Kanalnamens)]
|
** Beschreibung: pass:none[Farbe der Channel-Modes (neben dem Channelnamen)]
|
||||||
** Typ: Farbe
|
** Typ: Farbe
|
||||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
||||||
** Standardwert: `+default+`
|
** Standardwert: `+default+`
|
||||||
@@ -2102,24 +2004,6 @@
|
|||||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
||||||
** Standardwert: `+default+`
|
** Standardwert: `+default+`
|
||||||
|
|
||||||
* [[option_irc.color.item_tls_version_deprecated]] *irc.color.item_tls_version_deprecated*
|
|
||||||
** Beschreibung: pass:none[Farbe die für eine unsicherere TLS-Version im Bar-Item "tls_version" genutzt wird]
|
|
||||||
** Typ: Farbe
|
|
||||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
|
||||||
** Standardwert: `+yellow+`
|
|
||||||
|
|
||||||
* [[option_irc.color.item_tls_version_insecure]] *irc.color.item_tls_version_insecure*
|
|
||||||
** Beschreibung: pass:none[Farbe die für eine unsichere TLS-Versionen im Bar-Item "tls_version" genutzt wirdFarbe für unsichere TLS-Versionen im Balkenelement "tls_version"]
|
|
||||||
** Typ: Farbe
|
|
||||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
|
||||||
** Standardwert: `+red+`
|
|
||||||
|
|
||||||
* [[option_irc.color.item_tls_version_ok]] *irc.color.item_tls_version_ok*
|
|
||||||
** Beschreibung: pass:none[Farbe die für eine sicherere TLS-Version im Bar-Item "tls_version" genutzt wird]
|
|
||||||
** Typ: Farbe
|
|
||||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
|
||||||
** Standardwert: `+green+`
|
|
||||||
|
|
||||||
* [[option_irc.color.message_account]] *irc.color.message_account*
|
* [[option_irc.color.message_account]] *irc.color.message_account*
|
||||||
** Beschreibung: pass:none[Textfarbe für "account" Nachrichten]
|
** Beschreibung: pass:none[Textfarbe für "account" Nachrichten]
|
||||||
** Typ: Farbe
|
** Typ: Farbe
|
||||||
@@ -2133,7 +2017,7 @@
|
|||||||
** Standardwert: `+brown+`
|
** Standardwert: `+brown+`
|
||||||
|
|
||||||
* [[option_irc.color.message_join]] *irc.color.message_join*
|
* [[option_irc.color.message_join]] *irc.color.message_join*
|
||||||
** Beschreibung: pass:none[Textfarbe in der die Meldungen für das Betreten eines Kanals angezeigt werden soll]
|
** Beschreibung: pass:none[Textfarbe in der die Meldungen für das Betreten eines Channels angezeigt werden soll]
|
||||||
** Typ: Farbe
|
** Typ: Farbe
|
||||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
||||||
** Standardwert: `+green+`
|
** Standardwert: `+green+`
|
||||||
@@ -2145,7 +2029,7 @@
|
|||||||
** Standardwert: `+red+`
|
** Standardwert: `+red+`
|
||||||
|
|
||||||
* [[option_irc.color.message_quit]] *irc.color.message_quit*
|
* [[option_irc.color.message_quit]] *irc.color.message_quit*
|
||||||
** Beschreibung: pass:none[Textfarbe in der die Meldungen für das Verlassen/Beenden eines Kanals angezeigt werden soll]
|
** Beschreibung: pass:none[Textfarbe in der die Meldungen für das Verlassen/Beenden eines Channels angezeigt werden soll]
|
||||||
** Typ: Farbe
|
** Typ: Farbe
|
||||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
||||||
** Standardwert: `+red+`
|
** Standardwert: `+red+`
|
||||||
@@ -2181,49 +2065,49 @@
|
|||||||
** Standardwert: `+default+`
|
** Standardwert: `+default+`
|
||||||
|
|
||||||
* [[option_irc.color.topic_current]] *irc.color.topic_current*
|
* [[option_irc.color.topic_current]] *irc.color.topic_current*
|
||||||
** Beschreibung: pass:none[Farbe in dem das aktuelle Thema des Kanals dargestellt werden soll (wenn ein Kanal betreten oder der Befehl /topic genutzt wird)]
|
** Beschreibung: pass:none[Farbe in dem das aktuelle Thema des Channels dargestellt werden soll (wenn ein Channel betreten oder der Befehl /topic genutzt wird)]
|
||||||
** Typ: Farbe
|
** Typ: Farbe
|
||||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
||||||
** Standardwert: `+default+`
|
** Standardwert: `+default+`
|
||||||
|
|
||||||
* [[option_irc.color.topic_new]] *irc.color.topic_new*
|
* [[option_irc.color.topic_new]] *irc.color.topic_new*
|
||||||
** Beschreibung: pass:none[Farbe in dem das neue Thema des Kanals dargestellt werden soll, falls das Thema des Kanals geändert wurde]
|
** Beschreibung: pass:none[Farbe in dem das neue Thema des Channels dargestellt werden soll, falls das Thema des Channels geändert wurde]
|
||||||
** Typ: Farbe
|
** Typ: Farbe
|
||||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
||||||
** Standardwert: `+white+`
|
** Standardwert: `+white+`
|
||||||
|
|
||||||
* [[option_irc.color.topic_old]] *irc.color.topic_old*
|
* [[option_irc.color.topic_old]] *irc.color.topic_old*
|
||||||
** Beschreibung: pass:none[Farbe in dem das alte Thema des Kanals dargestellt werden soll, falls das Thema des Kanals geändert wurde]
|
** Beschreibung: pass:none[Farbe in dem das alte Thema des Channels dargestellt werden soll, falls das Thema des Channels geändert wurde]
|
||||||
** Typ: Farbe
|
** Typ: Farbe
|
||||||
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen
|
||||||
** Standardwert: `+default+`
|
** Standardwert: `+default+`
|
||||||
|
|
||||||
* [[option_irc.look.buffer_open_before_autojoin]] *irc.look.buffer_open_before_autojoin*
|
* [[option_irc.look.buffer_open_before_autojoin]] *irc.look.buffer_open_before_autojoin*
|
||||||
** Beschreibung: pass:none[betritt man automatisch einen Kanal-Buffer (mittels autojoin Option) wird dieser direkt geöffnet, ohne auf die JOIN Nachricht des Servers zu warten; dies ist sinnvoll um die Kanäle immer an der selben Position bei einem Neustart zu öffnen]
|
** Beschreibung: pass:none[betritt man automatisch einen Channel-Buffer (mittels autojoin Option) wird dieser direkt geöffnet, ohne auf die JOIN Nachricht des Servers zu warten; dies ist sinnvoll um die Channels immer an der selben Position bei einem Neustart zu öffnen]
|
||||||
** Typ: boolesch
|
** Typ: boolesch
|
||||||
** Werte: on, off
|
** Werte: on, off
|
||||||
** Standardwert: `+on+`
|
** Standardwert: `+on+`
|
||||||
|
|
||||||
* [[option_irc.look.buffer_open_before_join]] *irc.look.buffer_open_before_join*
|
* [[option_irc.look.buffer_open_before_join]] *irc.look.buffer_open_before_join*
|
||||||
** Beschreibung: pass:none[betritt man mittels dem /join Befehl einen Kanal wird der Buffer direkt geöffnet, ohne auf die JOIN Nachricht des Servers zu warten]
|
** Beschreibung: pass:none[betritt man mittels dem /join Befehl einen Channel wird der Buffer direkt geöffnet, ohne auf die JOIN Nachricht des Servers zu warten]
|
||||||
** Typ: boolesch
|
** Typ: boolesch
|
||||||
** Werte: on, off
|
** Werte: on, off
|
||||||
** Standardwert: `+off+`
|
** Standardwert: `+off+`
|
||||||
|
|
||||||
* [[option_irc.look.buffer_switch_autojoin]] *irc.look.buffer_switch_autojoin*
|
* [[option_irc.look.buffer_switch_autojoin]] *irc.look.buffer_switch_autojoin*
|
||||||
** Beschreibung: pass:none[wechselt automatisch zum Kanal-Buffer falls dieser automatisch betreten wurde (mittels der Serveroption "autojoin")]
|
** Beschreibung: pass:none[wechselt automatisch zum Channel-Buffer falls dieser automatisch betreten wurde (mittels der Serveroption "autojoin")]
|
||||||
** Typ: boolesch
|
** Typ: boolesch
|
||||||
** Werte: on, off
|
** Werte: on, off
|
||||||
** Standardwert: `+on+`
|
** Standardwert: `+on+`
|
||||||
|
|
||||||
* [[option_irc.look.buffer_switch_join]] *irc.look.buffer_switch_join*
|
* [[option_irc.look.buffer_switch_join]] *irc.look.buffer_switch_join*
|
||||||
** Beschreibung: pass:none[wechselt automatisch zum Kanal-Buffer falls dieser manuell betreten wurde (mittels dem /join Befehl)]
|
** Beschreibung: pass:none[wechselt automatisch zum Channel-Buffer falls dieser manuell betreten wurde (mittels dem /join Befehl)]
|
||||||
** Typ: boolesch
|
** Typ: boolesch
|
||||||
** Werte: on, off
|
** Werte: on, off
|
||||||
** Standardwert: `+on+`
|
** Standardwert: `+on+`
|
||||||
|
|
||||||
* [[option_irc.look.color_nicks_in_names]] *irc.look.color_nicks_in_names*
|
* [[option_irc.look.color_nicks_in_names]] *irc.look.color_nicks_in_names*
|
||||||
** Beschreibung: pass:none[nutzt in der Ausgabe von /names die jeweiligen Farbe des Nick (oder bei der Auflistung der Nicks wenn man einen Kanal betritt)]
|
** Beschreibung: pass:none[nutzt in der Ausgabe von /names die jeweiligen Farbe des Nick (oder bei der Auflistung der Nicks wenn man einen Channel betritt)]
|
||||||
** Typ: boolesch
|
** Typ: boolesch
|
||||||
** Werte: on, off
|
** Werte: on, off
|
||||||
** Standardwert: `+off+`
|
** Standardwert: `+off+`
|
||||||
@@ -2241,7 +2125,7 @@
|
|||||||
** Standardwert: `+on+`
|
** Standardwert: `+on+`
|
||||||
|
|
||||||
* [[option_irc.look.color_pv_nick_like_channel]] *irc.look.color_pv_nick_like_channel*
|
* [[option_irc.look.color_pv_nick_like_channel]] *irc.look.color_pv_nick_like_channel*
|
||||||
** Beschreibung: pass:none[nutzt die selbe Farbe für die Darstellung des Nicks im Kanal wie auch im privaten Buffer]
|
** Beschreibung: pass:none[nutzt die selbe Farbe für die Darstellung des Nicks im Channel wie auch im privaten Buffer]
|
||||||
** Typ: boolesch
|
** Typ: boolesch
|
||||||
** Werte: on, off
|
** Werte: on, off
|
||||||
** Standardwert: `+on+`
|
** Standardwert: `+on+`
|
||||||
@@ -2252,14 +2136,8 @@
|
|||||||
** Werte: beliebige Zeichenkette
|
** Werte: beliebige Zeichenkette
|
||||||
** Standardwert: `+"%a, %d %b %Y %T %z"+`
|
** Standardwert: `+"%a, %d %b %Y %T %z"+`
|
||||||
|
|
||||||
* [[option_irc.look.display_account_message]] *irc.look.display_account_message*
|
|
||||||
** Beschreibung: pass:none[ACCOUNT Nachrichten anzeigen, die empfangen wurden, wenn die Funktion account-notify aktiviert ist]
|
|
||||||
** Typ: boolesch
|
|
||||||
** Werte: on, off
|
|
||||||
** Standardwert: `+on+`
|
|
||||||
|
|
||||||
* [[option_irc.look.display_away]] *irc.look.display_away*
|
* [[option_irc.look.display_away]] *irc.look.display_away*
|
||||||
** Beschreibung: pass:none[zeigt eine Nachricht an, sobald der Abwesenheitsstatus ein- bzw. ausgeschaltet wird (off: zeigt/sendet keine Nachricht, local: eine Nachricht wird lokal angezeigt, channel: sendet eine Nachricht an die Kanäle)]
|
** Beschreibung: pass:none[zeigt eine Nachricht an, sobald der Abwesenheitsstatus ein- bzw. ausgeschaltet wird (off: zeigt/sendet keine Nachricht, local: eine Nachricht wird lokal angezeigt, channel: sendet eine Nachricht an die Channels)]
|
||||||
** Typ: integer
|
** Typ: integer
|
||||||
** Werte: off, local, channel
|
** Werte: off, local, channel
|
||||||
** Standardwert: `+local+`
|
** Standardwert: `+local+`
|
||||||
@@ -2282,12 +2160,6 @@
|
|||||||
** Werte: on, off
|
** Werte: on, off
|
||||||
** Standardwert: `+on+`
|
** Standardwert: `+on+`
|
||||||
|
|
||||||
* [[option_irc.look.display_extended_join]] *irc.look.display_extended_join*
|
|
||||||
** Beschreibung: pass:none[zusätzliche Informationen in den JOIN-Nachrichten anzeigen: Kontoname und richtiger Name (Funktion extended-join muss aktiviert sein)]
|
|
||||||
** Typ: boolesch
|
|
||||||
** Werte: on, off
|
|
||||||
** Standardwert: `+on+`
|
|
||||||
|
|
||||||
* [[option_irc.look.display_host_join]] *irc.look.display_host_join*
|
* [[option_irc.look.display_host_join]] *irc.look.display_host_join*
|
||||||
** Beschreibung: pass:none[zeigt den Host innerhalb einer join Nachricht an]
|
** Beschreibung: pass:none[zeigt den Host innerhalb einer join Nachricht an]
|
||||||
** Typ: boolesch
|
** Typ: boolesch
|
||||||
@@ -2307,13 +2179,13 @@
|
|||||||
** Standardwert: `+on+`
|
** Standardwert: `+on+`
|
||||||
|
|
||||||
* [[option_irc.look.display_join_message]] *irc.look.display_join_message*
|
* [[option_irc.look.display_join_message]] *irc.look.display_join_message*
|
||||||
** Beschreibung: pass:none[durch Kommata getrennte Liste von Nachrichten die beim Betreten eines Kanals angezeigt werden sollen: 324 = Channel-Modi, 329 = Erstellungsdatum des Kanals, 332 = Topic, 333 = Nick/Datum für Topic, 353 = genutzte Namen im Kanal, 366 = Anzahl der Nicks im Kanal]
|
** Beschreibung: pass:none[durch Kommata getrennte Liste von Nachrichten die beim Betreten eines Channels angezeigt werden sollen: 324 = Channel-Modi, 329 = Erstellungsdatum des Channels, 332 = Topic, 333 = Nick/Datum für Topic, 353 = genutzte Namen im Channel, 366 = Anzahl der Nicks im Channel]
|
||||||
** Typ: Zeichenkette
|
** Typ: Zeichenkette
|
||||||
** Werte: beliebige Zeichenkette
|
** Werte: beliebige Zeichenkette
|
||||||
** Standardwert: `+"329,332,333,366"+`
|
** Standardwert: `+"329,332,333,366"+`
|
||||||
|
|
||||||
* [[option_irc.look.display_old_topic]] *irc.look.display_old_topic*
|
* [[option_irc.look.display_old_topic]] *irc.look.display_old_topic*
|
||||||
** Beschreibung: pass:none[zeige das alte Thema an, falls das Thema des Kanals geändert wurde]
|
** Beschreibung: pass:none[zeige das alte Thema an, falls das Thema des Channels geändert wurde]
|
||||||
** Typ: boolesch
|
** Typ: boolesch
|
||||||
** Werte: on, off
|
** Werte: on, off
|
||||||
** Standardwert: `+on+`
|
** Standardwert: `+on+`
|
||||||
@@ -2337,7 +2209,7 @@
|
|||||||
** Standardwert: `+off+`
|
** Standardwert: `+off+`
|
||||||
|
|
||||||
* [[option_irc.look.highlight_channel]] *irc.look.highlight_channel*
|
* [[option_irc.look.highlight_channel]] *irc.look.highlight_channel*
|
||||||
** Beschreibung: pass:none[durch Kommata getrennte Liste von Wörtern die im Kanal-Buffern als Highlight erscheinen sollen (zwischen Groß- und Kleinschreibung wird nicht unterschieden. Um zwischen Groß- und Kleinschreibung zu unterscheiden muss zu Beginn "(?-i)" genutzt werden; des Weiteren können folgende Variablen genutzt werden: $nick, $channel und $server). Wird ein Buffer geöffnet, dann werden die angegeben Wörter dem Buffer-Merkmal "highlight_words" hinzugefügt. Dies bedeutet, dass diese Einstellung keinen direkten Einfluss auf schon geöffnete Buffer hat. Eine leere Zeichenkette deaktiviert ein Highlight für den Nick. Beispiel: "$nick", "(?-i)$nick"]
|
** Beschreibung: pass:none[durch Kommata getrennte Liste von Wörtern die in Channel-Buffern als Highlight erscheinen sollen (zwischen Groß- und Kleinschreibung wird nicht unterschieden. Um zwischen Groß- und Kleinschreibung zu unterscheiden muss zu Beginn "(?-i)" genutzt werden; des Weiteren können folgende Variablen genutzt werden: $nick, $channel und $server). Wird ein Buffer geöffnet, dann werden die angegeben Wörter dem Buffer-Merkmal "highlight_words" hinzugefügt. Dies bedeutet, dass diese Einstellung keinen direkten Einfluss auf schon geöffnete Buffer hat. Eine leere Zeichenkette deaktiviert ein Highlight für den Nick. Beispiel: "$nick", "(?-i)$nick"]
|
||||||
** Typ: Zeichenkette
|
** Typ: Zeichenkette
|
||||||
** Werte: beliebige Zeichenkette
|
** Werte: beliebige Zeichenkette
|
||||||
** Standardwert: `+"$nick"+`
|
** Standardwert: `+"$nick"+`
|
||||||
@@ -2361,7 +2233,7 @@
|
|||||||
** Standardwert: `+"irc_privmsg,irc_notice"+`
|
** Standardwert: `+"irc_privmsg,irc_notice"+`
|
||||||
|
|
||||||
* [[option_irc.look.item_channel_modes_hide_args]] *irc.look.item_channel_modes_hide_args*
|
* [[option_irc.look.item_channel_modes_hide_args]] *irc.look.item_channel_modes_hide_args*
|
||||||
** Beschreibung: pass:none[unterdrückt die Ausgabe von Argumenten die die Kanalmodi betreffen, sofern der entsprechende Modus für den Kanal gesetzt ist ("*" unterdrückt jedwede Ausgabe von Argumenten; wird kein Wert angegeben, dann werden alle Argumente angezeigt); Beispiele: "kf" unterdrückt die Argumente, falls "k" oder "f" für den Kanal gesetzt sind]
|
** Beschreibung: pass:none[unterdrückt die Ausgabe von Argumenten die die Channel-Modi betreffen, sofern der entsprechende Modus für den Channel gesetzt ist ("*" unterdrückt jedwede Ausgabe von Argumenten; wird kein Wert angegeben, dann werden alle Argumente angezeigt); Beispiele: "kf" unterdrückt die Argumente, falls "k" oder "f" für den Channel gesetzt sind]
|
||||||
** Typ: Zeichenkette
|
** Typ: Zeichenkette
|
||||||
** Werte: beliebige Zeichenkette
|
** Werte: beliebige Zeichenkette
|
||||||
** Standardwert: `+"k"+`
|
** Standardwert: `+"k"+`
|
||||||
@@ -2385,7 +2257,7 @@
|
|||||||
** Standardwert: `+on+`
|
** Standardwert: `+on+`
|
||||||
|
|
||||||
* [[option_irc.look.join_auto_add_chantype]] *irc.look.join_auto_add_chantype*
|
* [[option_irc.look.join_auto_add_chantype]] *irc.look.join_auto_add_chantype*
|
||||||
** Beschreibung: pass:none[es wird dem Kanalnamen automatisch der Kanal-Typ vorangestellt, falls bei der Benutzung des /join Befehls der angegebene Kanalname keinen gültigen Typ besitzt; Beispiel: "/join weechat" wird als: "/join #weechat" versendet]
|
** Beschreibung: pass:none[es wird dem Channelnamen automatisch der Channel-Typ vorangestellt, falls bei der Benutzung des /join Befehls der angegebene Channel-Name keinen gültigen Typ besitzt; Beispiel: "/join weechat" wird als: "/join #weechat" versendet]
|
||||||
** Typ: boolesch
|
** Typ: boolesch
|
||||||
** Werte: on, off
|
** Werte: on, off
|
||||||
** Standardwert: `+off+`
|
** Standardwert: `+off+`
|
||||||
@@ -2397,13 +2269,13 @@
|
|||||||
** Standardwert: `+current+`
|
** Standardwert: `+current+`
|
||||||
|
|
||||||
* [[option_irc.look.new_channel_position]] *irc.look.new_channel_position*
|
* [[option_irc.look.new_channel_position]] *irc.look.new_channel_position*
|
||||||
** Beschreibung: pass:none[ein neu geöffneter Kanal wird auf eine Position gezwungen (none = standardmäßige Position (sollte der letzte Buffer in der Liste sein), next = aktueller Buffer + 1, near_server = nach dem letztem Kanal/privaten Buffer des jeweiligen Servers)]
|
** Beschreibung: pass:none[ein neu geöffneter Channel wird auf eine Position gezwungen (none = standardmäßige Position (sollte der letzte Buffer in der Liste sein), next = aktueller Buffer + 1, near_server = nach dem letztem Channel/privaten Buffer des jeweiligen Servers)]
|
||||||
** Typ: integer
|
** Typ: integer
|
||||||
** Werte: none, next, near_server
|
** Werte: none, next, near_server
|
||||||
** Standardwert: `+none+`
|
** Standardwert: `+none+`
|
||||||
|
|
||||||
* [[option_irc.look.new_pv_position]] *irc.look.new_pv_position*
|
* [[option_irc.look.new_pv_position]] *irc.look.new_pv_position*
|
||||||
** Beschreibung: pass:none[ein neuer privater Buffer wird auf eine Position gezwungen (none = standardmäßige Position (sollte der letzte Buffer in der Liste sein), next = aktueller Buffer + 1, near_server = nach dem letztem Kanal/privaten Buffer des jeweiligen Servers)]
|
** Beschreibung: pass:none[ein neuer privater Buffer wird auf eine Position gezwungen (none = standardmäßige Position (sollte der letzte Buffer in der Liste sein), next = aktueller Buffer + 1, near_server = nach dem letztem Channel/privaten Buffer des jeweiligen Servers)]
|
||||||
** Typ: integer
|
** Typ: integer
|
||||||
** Werte: none, next, near_server
|
** Werte: none, next, near_server
|
||||||
** Standardwert: `+none+`
|
** Standardwert: `+none+`
|
||||||
@@ -2439,13 +2311,13 @@
|
|||||||
** Standardwert: `+auto+`
|
** Standardwert: `+auto+`
|
||||||
|
|
||||||
* [[option_irc.look.notice_welcome_redirect]] *irc.look.notice_welcome_redirect*
|
* [[option_irc.look.notice_welcome_redirect]] *irc.look.notice_welcome_redirect*
|
||||||
** Beschreibung: pass:none[automatische Weiterleitung von Willkommen Nachrichten in den entsprechenden Kanal-Buffer. Solche Nachrichten haben als Empfänger den entsprechenden Nick. Der Kanalname wird aber der Nachricht vorangestellt. Eine solche ENTRYMSG Nachricht sieht auf dem Atheme IRC Server wie folgt aus: "[#channel\] Herzlich Willkommen in diesem Kanal ..."]
|
** Beschreibung: pass:none[automatische Weiterleitung von Willkommen Nachrichten in den entsprechenden Channel-Buffer. Solche Nachrichten haben als Empfänger den entsprechenden Nick. Der Channelname wird aber der Nachricht vorangestellt. Eine solche ENTRYMSG Nachricht sieht auf dem Atheme IRC Server wie folgt aus: "[#channel\] Herzlich Willkommen in diesem Channel ..."]
|
||||||
** Typ: boolesch
|
** Typ: boolesch
|
||||||
** Werte: on, off
|
** Werte: on, off
|
||||||
** Standardwert: `+on+`
|
** Standardwert: `+on+`
|
||||||
|
|
||||||
* [[option_irc.look.notice_welcome_tags]] *irc.look.notice_welcome_tags*
|
* [[option_irc.look.notice_welcome_tags]] *irc.look.notice_welcome_tags*
|
||||||
** Beschreibung: pass:none[durch Kommata getrennte Liste von Schlagwörtern für Willkommen-Nachrichten die in einen Kanal umgeleitet werden. Zum Beispiel: "notify_private"]
|
** Beschreibung: pass:none[durch Kommata getrennte Liste von Schlagwörtern für Willkommen-Nachrichten die in einen Channel umgeleitet werden. Zum Beispiel: "notify_private"]
|
||||||
** Typ: Zeichenkette
|
** Typ: Zeichenkette
|
||||||
** Werte: beliebige Zeichenkette
|
** Werte: beliebige Zeichenkette
|
||||||
** Standardwert: `+""+`
|
** Standardwert: `+""+`
|
||||||
@@ -2463,7 +2335,7 @@
|
|||||||
** Standardwert: `+"notify_message"+`
|
** Standardwert: `+"notify_message"+`
|
||||||
|
|
||||||
* [[option_irc.look.part_closes_buffer]] *irc.look.part_closes_buffer*
|
* [[option_irc.look.part_closes_buffer]] *irc.look.part_closes_buffer*
|
||||||
** Beschreibung: pass:none[schließt den Buffer wenn "/part" im Kanal ausgeführt wird]
|
** Beschreibung: pass:none[schließt den Buffer wenn "/part" im Channel ausgeführt wird]
|
||||||
** Typ: boolesch
|
** Typ: boolesch
|
||||||
** Werte: on, off
|
** Werte: on, off
|
||||||
** Standardwert: `+off+`
|
** Standardwert: `+off+`
|
||||||
@@ -2493,7 +2365,7 @@
|
|||||||
** Standardwert: `+merge_with_core+`
|
** Standardwert: `+merge_with_core+`
|
||||||
|
|
||||||
* [[option_irc.look.smart_filter]] *irc.look.smart_filter*
|
* [[option_irc.look.smart_filter]] *irc.look.smart_filter*
|
||||||
** Beschreibung: pass:none[filtert join/part/quit/nick Nachrichten für einen Nick der einige Minuten im Kanal inaktiv gewesen ist (dazu muss ein Filter mit dem Schlagwort "irc_smart_filter" erstellt werden, siehe /help filter)]
|
** Beschreibung: pass:none[filtert join/part/quit/nick Nachrichten für einen Nick der einige Minuten im Channel inaktiv gewesen ist (dazu muss ein Filter mit dem Schlagwort "irc_smart_filter" erstellt werden, siehe /help filter)]
|
||||||
** Typ: boolesch
|
** Typ: boolesch
|
||||||
** Werte: on, off
|
** Werte: on, off
|
||||||
** Standardwert: `+on+`
|
** Standardwert: `+on+`
|
||||||
@@ -2523,7 +2395,7 @@
|
|||||||
** Standardwert: `+on+`
|
** Standardwert: `+on+`
|
||||||
|
|
||||||
* [[option_irc.look.smart_filter_join_unmask]] *irc.look.smart_filter_join_unmask*
|
* [[option_irc.look.smart_filter_join_unmask]] *irc.look.smart_filter_join_unmask*
|
||||||
** Beschreibung: pass:none[Verzögerung (in Minuten) um Join Mitteilungen rückwirkend anzuzeigen, falls diese mittels "irc_smart_filter" unterdrückt wurden. Sollte ein Nick während der vorgegeben Zeit etwas im Kanal schreiben, dann wird seine Join Mitteilung angezeigt. Dies bezieht sich auf Nachrichten, eine Notice, Änderungen am Topic oder falls der Nick gewechselt wird (0 = deaktiviert: join-Mitteilungen bleiben verborgen)]
|
** Beschreibung: pass:none[Verzögerung (in Minuten) um Join Mitteilungen rückwirkend anzuzeigen, falls diese mittels "irc_smart_filter" unterdrückt wurden. Sollte ein Nick während der vorgegeben Zeit etwas im Channel schreiben, dann wird seine Join Mitteilung angezeigt. Dies bezieht sich auf Nachrichten, eine Notice, Änderungen am Topic oder falls der Nick gewechselt wird (0 = deaktiviert: join-Mitteilungen bleiben verborgen)]
|
||||||
** Typ: integer
|
** Typ: integer
|
||||||
** Werte: 0 .. 10080
|
** Werte: 0 .. 10080
|
||||||
** Standardwert: `+30+`
|
** Standardwert: `+30+`
|
||||||
@@ -2553,19 +2425,7 @@
|
|||||||
** Standardwert: `+off+`
|
** Standardwert: `+off+`
|
||||||
|
|
||||||
* [[option_irc.look.topic_strip_colors]] *irc.look.topic_strip_colors*
|
* [[option_irc.look.topic_strip_colors]] *irc.look.topic_strip_colors*
|
||||||
** Beschreibung: pass:none[Farben werden im Kanalthema entfernt (wird nur genutzt wenn der Buffer-Titel angezeigt wird)]
|
** Beschreibung: pass:none[Farben werden im Channel-Thema entfernt (wird nur genutzt wenn der Buffer-Titel angezeigt wird)]
|
||||||
** Typ: boolesch
|
|
||||||
** Werte: on, off
|
|
||||||
** Standardwert: `+off+`
|
|
||||||
|
|
||||||
* [[option_irc.look.typing_status_nicks]] *irc.look.typing_status_nicks*
|
|
||||||
** Beschreibung: pass:none[Nicks in der Bar-Item "typing" anzeigen, die in dem Kanal tippen (Option typing.look.enabled_nicks muss aktiviert sein und die Fähigkeit "message-tags" muss auf dem Server aktiviert sein)]
|
|
||||||
** Typ: boolesch
|
|
||||||
** Werte: on, off
|
|
||||||
** Standardwert: `+off+`
|
|
||||||
|
|
||||||
* [[option_irc.look.typing_status_self]] *irc.look.typing_status_self*
|
|
||||||
** Beschreibung: pass:none[sendet den eigenen Tippstatus an Kanäle, damit andere Benutzer sehen, wenn Sie eine Nachricht schreiben (Option typing.look.enabled_self muss aktiviert sein und die Fähigkeit "message-tags" muss auf dem Server aktiviert sein)]
|
|
||||||
** Typ: boolesch
|
** Typ: boolesch
|
||||||
** Werte: on, off
|
** Werte: on, off
|
||||||
** Standardwert: `+off+`
|
** Standardwert: `+off+`
|
||||||
@@ -2685,17 +2545,11 @@
|
|||||||
** Standardwert: `+off+`
|
** Standardwert: `+off+`
|
||||||
|
|
||||||
* [[option_irc.server_default.autojoin]] *irc.server_default.autojoin*
|
* [[option_irc.server_default.autojoin]] *irc.server_default.autojoin*
|
||||||
** Beschreibung: pass:none[durch Kommata getrennte Liste von Kanälen, die beim Verbinden mit dem Server automatisch betreten werden (nachdem die Einstellungen command + delay ausgeführt wurden). Kanäle, die einen Schlüssel benötigen, müssen in der Auflistung als erstes aufgeführt werden. Die Schlüssel, zu den jeweiligen Kanälen, werden nach den Kanälen aufgeführt (eine Trennung von Kanälen und Schlüssel erfolgt mittels eines Leerzeichens. Schlüssel werden hintereinander auch durch Kommata voneinander getrennt) (Beispiel: "#channel1,#channel2,#channnel3 key1,key2", #channel1 und #channel2 sind durch jeweils einen Schlüssel, key1 und key2, geschützt) (Hinweis: Inhalt wird evaluiert, siehe /help eval; Serveroptionen sind mittels ${irc_server.xxx} evaluiert und ${server} wird durch den eigentlichen Servernamen ersetzt)]
|
** Beschreibung: pass:none[durch Kommata getrennte Liste von Channels, die beim Verbinden mit dem Server automatisch betreten werden (nachdem die Einstellungen command + delay ausgeführt wurden). Channels die einen Schlüssel benötigen müssen in der Auflistung als erstes aufgeführt werden. Die Schlüssel, zu den jeweiligen Channels, werden nach den Channels aufgeführt (eine Trennung von Channels und Schlüssel erfolgt mittels einem Leerzeichen. Schlüssel werden untereinander auch durch Kommata voneinander getrennt) (Beispiel: "#channel1,#channel2,#channnel3 key1,key2", #channel1 und #channel2 sind durch jeweils einen Schlüssel, key1 und key2, geschützt) (Hinweis: Inhalt wird evaluiert, siehe /help eval; Serveroptionen sind mittels ${irc_server.xxx} evaluiert und ${server} wird durch den eigentlichen Servernamen ersetzt)]
|
||||||
** Typ: Zeichenkette
|
** Typ: Zeichenkette
|
||||||
** Werte: beliebige Zeichenkette
|
** Werte: beliebige Zeichenkette
|
||||||
** Standardwert: `+""+`
|
** Standardwert: `+""+`
|
||||||
|
|
||||||
* [[option_irc.server_default.autojoin_dynamic]] *irc.server_default.autojoin_dynamic*
|
|
||||||
** Beschreibung: pass:none[Setze automatisch die "autojoin"-Option entsprechend den Kanälen, die du manuell beitrittst bzw. verlässt, mit den Befehlen /join und /part]
|
|
||||||
** Typ: boolesch
|
|
||||||
** Werte: on, off
|
|
||||||
** Standardwert: `+off+`
|
|
||||||
|
|
||||||
* [[option_irc.server_default.autoreconnect]] *irc.server_default.autoreconnect*
|
* [[option_irc.server_default.autoreconnect]] *irc.server_default.autoreconnect*
|
||||||
** Beschreibung: pass:none[Nach einer Trennung vom Server die Verbindung automatisch wiederherstellen]
|
** Beschreibung: pass:none[Nach einer Trennung vom Server die Verbindung automatisch wiederherstellen]
|
||||||
** Typ: boolesch
|
** Typ: boolesch
|
||||||
@@ -2709,13 +2563,13 @@
|
|||||||
** Standardwert: `+10+`
|
** Standardwert: `+10+`
|
||||||
|
|
||||||
* [[option_irc.server_default.autorejoin]] *irc.server_default.autorejoin*
|
* [[option_irc.server_default.autorejoin]] *irc.server_default.autorejoin*
|
||||||
** Beschreibung: pass:none[Kanäle automatisch betreten, falls man rausgeworfen wurde. Es kann eine lokale Buffer Variable für einen Kanal erstellt werden, diese lokale Variable wird vorrangig behandelt (Name der lokalen Variable: "autorejoin", Wert: "on" oder "off")]
|
** Beschreibung: pass:none[Channels automatisch betreten, falls man rausgeworfen wurde. Es kann eine lokale Buffer Variable für einen Channel erstellt werden, diese lokale Variable wird vorrangig behandelt (Name der lokalen Variable: "autorejoin", Wert: "on" oder "off")]
|
||||||
** Typ: boolesch
|
** Typ: boolesch
|
||||||
** Werte: on, off
|
** Werte: on, off
|
||||||
** Standardwert: `+off+`
|
** Standardwert: `+off+`
|
||||||
|
|
||||||
* [[option_irc.server_default.autorejoin_delay]] *irc.server_default.autorejoin_delay*
|
* [[option_irc.server_default.autorejoin_delay]] *irc.server_default.autorejoin_delay*
|
||||||
** Beschreibung: pass:none[Wartezeit, in Sekunden, die verstreichen soll bevor man den Kanal automatisch erneut betritt (nachdem man rausgeworfen wurde)]
|
** Beschreibung: pass:none[Wartezeit, in Sekunden, die verstreichen soll bevor man den Channel automatisch erneut betritt (nachdem man rausgeworfen wurde)]
|
||||||
** Typ: integer
|
** Typ: integer
|
||||||
** Werte: 0 .. 86400
|
** Werte: 0 .. 86400
|
||||||
** Standardwert: `+30+`
|
** Standardwert: `+30+`
|
||||||
@@ -2727,31 +2581,31 @@
|
|||||||
** Standardwert: `+0+`
|
** Standardwert: `+0+`
|
||||||
|
|
||||||
* [[option_irc.server_default.away_check_max_nicks]] *irc.server_default.away_check_max_nicks*
|
* [[option_irc.server_default.away_check_max_nicks]] *irc.server_default.away_check_max_nicks*
|
||||||
** Beschreibung: pass:none[Die Abwesenheit von Nutzern in Kanälen wird nicht überprüft wenn die Anzahl der Nutzer höher ist, als der angegebene Wert (0 = unbegrenzte Anzahl an Nutzern im Kanal)]
|
** Beschreibung: pass:none[Die Abwesenheit von Nutzern in Channels wird nicht überprüft wenn die Anzahl der Nutzer höher ist, als der angegebene Wert (0 = unbegrenzte Anzahl an Nutzern im Channel)]
|
||||||
** Typ: integer
|
** Typ: integer
|
||||||
** Werte: 0 .. 1000000
|
** Werte: 0 .. 1000000
|
||||||
** Standardwert: `+25+`
|
** Standardwert: `+25+`
|
||||||
|
|
||||||
* [[option_irc.server_default.capabilities]] *irc.server_default.capabilities*
|
* [[option_irc.server_default.capabilities]] *irc.server_default.capabilities*
|
||||||
** Beschreibung: pass:none[durch Kommata getrennte Liste von erweiterten Client-Fähigkeiten ("client capabilities"), welche vom Server angeboten und genutzt werden sollen (siehe /help cap um eine Liste von Fähigkeiten zu erhalten die von WeeChat unterstützt werden); "*" aktiviert standardmäßig alle Funktionen (die sowohl vom Server als auch von WeeChat unterstützt werden); Platzhalter "*" ist erlaubt; eine Fähigkeit, die mit "!" beginnt, wird ignoriert (Beispiel: "*,!account-*,!extended-join")]
|
** Beschreibung: pass:none[durch Kommata getrennte Liste von erweiterten Client-Fähigkeiten ("client capabilities"), welche vom Server angeboten und genutzt werden sollen (siehe /help cap um eine Liste von Fähigkeiten zu erhalten die von WeeChat unterstützt werden) (Beispiel: "away-notify,multi-prefix")]
|
||||||
** Typ: Zeichenkette
|
** Typ: Zeichenkette
|
||||||
** Werte: beliebige Zeichenkette
|
** Werte: beliebige Zeichenkette
|
||||||
** Standardwert: `+"*"+`
|
** Standardwert: `+""+`
|
||||||
|
|
||||||
* [[option_irc.server_default.charset_message]] *irc.server_default.charset_message*
|
* [[option_irc.server_default.charset_message]] *irc.server_default.charset_message*
|
||||||
** Beschreibung: pass:none[Teil der IRC Nachricht (empfangen oder gesendet) die zum Zielzeichensatz dekodiert/kodiert werden soll; message = die komplette IRC Nachricht (Standard), channel = beginnend mit dem Kanalnamen (sofern dieser gefunden wird, ansonsten Fallback auf text), text = beginnend mit dem Nachrichtentext (dieser Wert sollte ausprobiert werden, falls es Probleme bei der Kodierung des Kanalnamens geben sollte)]
|
** Beschreibung: pass:none[Teil der IRC Nachricht (empfangen oder gesendet) die zum Zielzeichensatz dekodiert/kodiert werden soll; message = die komplette IRC Nachricht (Standard), channel = beginnend mit dem Channel-Namen (sofern dieser gefunden wird, ansonsten Fallback auf text), text = beginnend mit dem Nachrichtentext (dieser Wert sollte ausprobiert werden, falls es Probleme bei der Kodierung des Channel-Namen geben sollte)]
|
||||||
** Typ: integer
|
** Typ: integer
|
||||||
** Werte: message, channel, text
|
** Werte: message, channel, text
|
||||||
** Standardwert: `+message+`
|
** Standardwert: `+message+`
|
||||||
|
|
||||||
* [[option_irc.server_default.command]] *irc.server_default.command*
|
* [[option_irc.server_default.command]] *irc.server_default.command*
|
||||||
** Beschreibung: pass:none[Befehl(e) welche nach einem Verbindungsaufbau zum Server und vor dem automatischem Betreten von Kanälen ausgeführt werden sollen (mehrere Befehle können durch ";" getrennt werden, will man ein Semikolon nutzen, schreibt man "\;", die Platzhalter $nick,$channel und $server werden durch den entsprechenden Wert ersetzt) (Hinweis: Inhalt wird evaluiert, siehe /help eval; Serveroptionen sind mittels ${irc_server.xxx} evaluiert und ${server} wird durch den eigentlichen Servernamen ersetzt)]
|
** Beschreibung: pass:none[Befehl(e) welche nach einem Verbindungsaufbau zum Server und vor dem automatischem Betreten von Channels ausgeführt werden sollen (mehrere Befehle müssen durch ";" getrennt werden, soll ein Semikolon genutzt werden, schreibt man "\;", die Platzhalter $nick,$channel und $server werden durch den entsprechenden Wert ersetzt) (Hinweis: Inhalt wird evaluiert, siehe /help eval; Serveroptionen sind mittels ${irc_server.xxx} evaluiert und ${server} wird durch den eigentlichen Servernamen ersetzt)]
|
||||||
** Typ: Zeichenkette
|
** Typ: Zeichenkette
|
||||||
** Werte: beliebige Zeichenkette
|
** Werte: beliebige Zeichenkette
|
||||||
** Standardwert: `+""+`
|
** Standardwert: `+""+`
|
||||||
|
|
||||||
* [[option_irc.server_default.command_delay]] *irc.server_default.command_delay*
|
* [[option_irc.server_default.command_delay]] *irc.server_default.command_delay*
|
||||||
** Beschreibung: pass:none[Wartezeit (in Sekunden) nach Ausführung des Befehls und bevor Kanäle automatisch betreten werden (Beispiel: es wird eine gewisse Zeit gewartet, um eine Authentifizierung zu ermöglichen)]
|
** Beschreibung: pass:none[Wartezeit (in Sekunden) nach Ausführung des Befehls und bevor Channels automatisch betreten werden (Beispiel: es wird eine gewisse Zeit gewartet, um eine Authentifizierung zu ermöglichen)]
|
||||||
** Typ: integer
|
** Typ: integer
|
||||||
** Werte: 0 .. 3600
|
** Werte: 0 .. 3600
|
||||||
** Standardwert: `+0+`
|
** Standardwert: `+0+`
|
||||||
@@ -2763,7 +2617,7 @@
|
|||||||
** Standardwert: `+60+`
|
** Standardwert: `+60+`
|
||||||
|
|
||||||
* [[option_irc.server_default.default_chantypes]] *irc.server_default.default_chantypes*
|
* [[option_irc.server_default.default_chantypes]] *irc.server_default.default_chantypes*
|
||||||
** Beschreibung: pass:none[Kanal-Typ-Präfix, die verwendet werden sollen, wenn der Server diese nicht in Nachricht 005 sendet (Standard ist "#&")]
|
** Beschreibung: pass:none[channel type prefixes to use if the server does not send them in message 005 (default is "#&")]
|
||||||
** Typ: Zeichenkette
|
** Typ: Zeichenkette
|
||||||
** Werte: beliebige Zeichenkette
|
** Werte: beliebige Zeichenkette
|
||||||
** Standardwert: `+"#&"+`
|
** Standardwert: `+"#&"+`
|
||||||
@@ -2781,7 +2635,7 @@
|
|||||||
** Standardwert: `+""+`
|
** Standardwert: `+""+`
|
||||||
|
|
||||||
* [[option_irc.server_default.msg_kick]] *irc.server_default.msg_kick*
|
* [[option_irc.server_default.msg_kick]] *irc.server_default.msg_kick*
|
||||||
** Beschreibung: pass:none[Standardmitteilung einer kick-Nachricht, für die Befehle "/kick" und "/kickban" (Hinweis: Inhalt wird evaluiert, siehe /help eval; besondere Variablen ${nick} (eigener Nick), ${target} (betroffener Nick), ${channel} und ${server}, werden durch den entsprechenden Wert ersetzt)]
|
** Beschreibung: pass:none[Standardmitteilung einer kick-Nachricht, für die Befehle "/kick" und "/kickban" (Hinweis: Inhalt wird evaluiert, siehe /help eval; Variablen die genutzt werden können: ${nick}, ${channel} und ${server})]
|
||||||
** Typ: Zeichenkette
|
** Typ: Zeichenkette
|
||||||
** Werte: beliebige Zeichenkette
|
** Werte: beliebige Zeichenkette
|
||||||
** Standardwert: `+""+`
|
** Standardwert: `+""+`
|
||||||
@@ -2838,18 +2692,18 @@
|
|||||||
** Beschreibung: pass:none[auszuführende Aktion falls die SASL Authentifizierung fehlschlägt: "continue" ignoriert das Problem welches bei der Authentifizierung aufgetreten ist, "reconnect" versucht erneut eine Verbindung herzustellen, "disconnect" trennt die Verbindung zum Server (siehe Option irc.network.sasl_fail_unavailable)]
|
** Beschreibung: pass:none[auszuführende Aktion falls die SASL Authentifizierung fehlschlägt: "continue" ignoriert das Problem welches bei der Authentifizierung aufgetreten ist, "reconnect" versucht erneut eine Verbindung herzustellen, "disconnect" trennt die Verbindung zum Server (siehe Option irc.network.sasl_fail_unavailable)]
|
||||||
** Typ: integer
|
** Typ: integer
|
||||||
** Werte: continue, reconnect, disconnect
|
** Werte: continue, reconnect, disconnect
|
||||||
** Standardwert: `+reconnect+`
|
** Standardwert: `+continue+`
|
||||||
|
|
||||||
* [[option_irc.server_default.sasl_key]] *irc.server_default.sasl_key*
|
* [[option_irc.server_default.sasl_key]] *irc.server_default.sasl_key*
|
||||||
** Beschreibung: pass:none[Datei mit privatem ECC-Schlüssel für den Mechanismus "ecdsa-nist256p-challenge" (Pfad ist evaluiert, siehe Funktion string_eval_path_home in der Plugin-API-Referenz)]
|
** Beschreibung: pass:none[Datei mit privatem ECC Schlüssel für den "ecdsa-nist256p-challenge" Mechanismus ("%h" wird durch das WeeChat Verzeichnis ersetzt, standardmäßig "~/.weechat")]
|
||||||
** Typ: Zeichenkette
|
** Typ: Zeichenkette
|
||||||
** Werte: beliebige Zeichenkette
|
** Werte: beliebige Zeichenkette
|
||||||
** Standardwert: `+""+`
|
** Standardwert: `+""+`
|
||||||
|
|
||||||
* [[option_irc.server_default.sasl_mechanism]] *irc.server_default.sasl_mechanism*
|
* [[option_irc.server_default.sasl_mechanism]] *irc.server_default.sasl_mechanism*
|
||||||
** Beschreibung: pass:none[Verfahren welches bei einer SASL Authentifizierung angewandt werden soll: "plain" Passwort wird im Klartext gesendet, "scram-sha-1" für SCRAM-Authentifizierung mit SHA-1-Digest-Algorithmus, "scram-sha-256" für SCRAM-Authenrifizierung mit SHA-256 Digest-Algorithmus, "scram-sha-512" für SCRAM-Authentifizierung mit SHA-512 Digest-Algorithmus, "ecdsa-nist256p-challenge" für öffentlich/private Schlüsselmethode, "external" ein SSL Zertifikat welches auf Client Seite vorliegt wird verwendet]
|
** Beschreibung: pass:none[Verfahren welches bei einer SASL Authentifizierung angewandt werden soll: "plain" Passwort wird im Klartext gesendet, "ecdsa-nist256p-challenge" für öffentlich/private Schlüsselmethode, "external" SSL Zertifikat welches auf Client Seite vorliegt wird verwendet, "dh-blowfish" Passwort wird mittels blowfish verschlüsselt (unsicher, wird nicht empfohlen), "dh-aes" Passwort wird mittels AES verschlüsselt (unsicher, wird nicht empfohlen)]
|
||||||
** Typ: integer
|
** Typ: integer
|
||||||
** Werte: plain, scram-sha-1, scram-sha-256, scram-sha-512, ecdsa-nist256p-challenge, external
|
** Werte: plain, ecdsa-nist256p-challenge, external, dh-blowfish, dh-aes
|
||||||
** Standardwert: `+plain+`
|
** Standardwert: `+plain+`
|
||||||
|
|
||||||
* [[option_irc.server_default.sasl_password]] *irc.server_default.sasl_password*
|
* [[option_irc.server_default.sasl_password]] *irc.server_default.sasl_password*
|
||||||
@@ -2883,7 +2737,7 @@
|
|||||||
** Standardwert: `+off+`
|
** Standardwert: `+off+`
|
||||||
|
|
||||||
* [[option_irc.server_default.ssl_cert]] *irc.server_default.ssl_cert*
|
* [[option_irc.server_default.ssl_cert]] *irc.server_default.ssl_cert*
|
||||||
** Beschreibung: pass:none[SSL-Zertifikatdatei zur automatischen Identifizierung Ihres Nick (Pfad ist evaluiert, siehe Funktion string_eval_path_home in der Plugin-API-Referenz)]
|
** Beschreibung: pass:none[Datei für SSL Zertifikat um automatisch den eigenen Nick zu identifizieren ("%h" wird durch das WeeChat Verzeichnis ersetzt, Standardverzeichnis: "~/.weechat")]
|
||||||
** Typ: Zeichenkette
|
** Typ: Zeichenkette
|
||||||
** Werte: beliebige Zeichenkette
|
** Werte: beliebige Zeichenkette
|
||||||
** Standardwert: `+""+`
|
** Standardwert: `+""+`
|
||||||
@@ -2919,7 +2773,7 @@
|
|||||||
** Standardwert: `+on+`
|
** Standardwert: `+on+`
|
||||||
|
|
||||||
* [[option_irc.server_default.usermode]] *irc.server_default.usermode*
|
* [[option_irc.server_default.usermode]] *irc.server_default.usermode*
|
||||||
** Beschreibung: pass:none[Usermode(s) der direkt nach der Verbindung zum Server gesetzt werden soll. Dies geschieht bevor Befehle für den Server ausgeführt und bevor Kanäle automatisch betreten werden; Beispiele: "+R" (um den Modus "R" zu setzen), "+R-i" (setzt den Modus "R" und entfernt den Modus "i"); siehe /help mode um den Befehlssatz angezeigt zu bekommen (Hinweis: Inhalt wird evaluiert, siehe /help eval; Serveroptionen sind mittels ${irc_server.xxx} evaluiert und ${server} wird durch den eigentlichen Servernamen ersetzt)]
|
** Beschreibung: pass:none[Usermode(s) der direkt nach der Verbindung zum Server gesetzt werden soll. Dies geschieht bevor Befehle für den Server ausgeführt und bevor Channels automatisch betreten werden; Beispiele: "+R" (um den Modus "R" zu setzen), "+R-i" (setzt den Modus "R" und entfernt den Modus "i"); siehe /help mode um den Befehlssatz angezeigt zu bekommen (Hinweis: Inhalt wird evaluiert, siehe /help eval; Serveroptionen sind mittels ${irc_server.xxx} evaluiert und ${server} wird durch den eigentlichen Servernamen ersetzt)]
|
||||||
** Typ: Zeichenkette
|
** Typ: Zeichenkette
|
||||||
** Werte: beliebige Zeichenkette
|
** Werte: beliebige Zeichenkette
|
||||||
** Standardwert: `+""+`
|
** Standardwert: `+""+`
|
||||||
@@ -2987,13 +2841,13 @@
|
|||||||
** Standardwert: `+white+`
|
** Standardwert: `+white+`
|
||||||
|
|
||||||
* [[option_relay.irc.backlog_max_minutes]] *relay.irc.backlog_max_minutes*
|
* [[option_relay.irc.backlog_max_minutes]] *relay.irc.backlog_max_minutes*
|
||||||
** Beschreibung: pass:none[Zeitangabe, in Minuten, wie lange die Zeilen im Verlaufsspeicher für jeden IRC Kanal gehalten werden sollen (0 = unbegrenzt, Beispiele: 1440 = einen Tag, 10080 = eine Woche, 43200 = einen Monat, 525600 = ein Jahr)]
|
** Beschreibung: pass:none[Zeitangabe, in Minuten, wie lange die Zeilen im Verlaufsspeicher für jeden IRC Channel gehalten werden sollen (0 = unbegrenzt, Beispiele: 1440 = einen Tag, 10080 = eine Woche, 43200 = einen Monat, 525600 = ein Jahr)]
|
||||||
** Typ: integer
|
** Typ: integer
|
||||||
** Werte: 0 .. 2147483647
|
** Werte: 0 .. 2147483647
|
||||||
** Standardwert: `+0+`
|
** Standardwert: `+0+`
|
||||||
|
|
||||||
* [[option_relay.irc.backlog_max_number]] *relay.irc.backlog_max_number*
|
* [[option_relay.irc.backlog_max_number]] *relay.irc.backlog_max_number*
|
||||||
** Beschreibung: pass:none[maximale Anzahl an Zeilen im Verlaufsspeicher. Dies gilt für jeden IRC Kanal (0: keine Zeilenbegrenzung)]
|
** Beschreibung: pass:none[maximale Anzahl an Zeilen im Verlaufsspeicher. Dies gilt für jeden IRC Channel (0: keine Zeilenbegrenzung)]
|
||||||
** Typ: integer
|
** Typ: integer
|
||||||
** Werte: 0 .. 2147483647
|
** Werte: 0 .. 2147483647
|
||||||
** Standardwert: `+1024+`
|
** Standardwert: `+1024+`
|
||||||
@@ -3011,7 +2865,7 @@
|
|||||||
** Standardwert: `+off+`
|
** Standardwert: `+off+`
|
||||||
|
|
||||||
* [[option_relay.irc.backlog_tags]] *relay.irc.backlog_tags*
|
* [[option_relay.irc.backlog_tags]] *relay.irc.backlog_tags*
|
||||||
** Beschreibung: pass:none[durch Kommata getrennte Liste von Nachrichten-Tags welche im Verlaufsspeicher von IRC Kanälen angezeigt werden (unterstützte Tags: "irc_join", "irc_part", "irc_quit", "irc_nick", "irc_privmsg"), "*" = alle unterstützten Tags]
|
** Beschreibung: pass:none[durch Kommata getrennte Liste von Nachrichten-Tags welche im Verlaufsspeicher von IRC Channels angezeigt werden (unterstützte Tags: "irc_join", "irc_part", "irc_quit", "irc_nick", "irc_privmsg"), "*" = alle unterstützten Tags]
|
||||||
** Typ: Zeichenkette
|
** Typ: Zeichenkette
|
||||||
** Werte: beliebige Zeichenkette
|
** Werte: beliebige Zeichenkette
|
||||||
** Standardwert: `+"irc_privmsg"+`
|
** Standardwert: `+"irc_privmsg"+`
|
||||||
@@ -3064,11 +2918,11 @@
|
|||||||
** Werte: -1 .. 43200
|
** Werte: -1 .. 43200
|
||||||
** Standardwert: `+0+`
|
** Standardwert: `+0+`
|
||||||
|
|
||||||
* [[option_relay.network.compression]] *relay.network.compression*
|
* [[option_relay.network.compression_level]] *relay.network.compression_level*
|
||||||
** Beschreibung: pass:none[Komprimierung von Nachrichten, die mittels "weechat" Protokoll an Clients gesendet werden: 0 = Komprimierung deaktivieren, 1 = geringe Komprimierung / schnell ... 100 = beste Komprimierung / langsam; dieser Wert ist eine Prozentangabe, welcher für zlib nach 1-9 und für zstd nach 1-19 umgewandelt wird; der Standardwert wird empfohlen, denn er bietet einen guten Kompromiss zwischen Kompression und Geschwindigkeit]
|
** Beschreibung: pass:none[Kompressionsstärke der Pakete die durch das WeeChat Protokoll an den Client gesendet werden sollen (0 = Kompression deaktiviert, 1 = niedrige Kompression ... 9 = stärkste Kompression)]
|
||||||
** Typ: integer
|
** Typ: integer
|
||||||
** Werte: 0 .. 100
|
** Werte: 0 .. 9
|
||||||
** Standardwert: `+20+`
|
** Standardwert: `+6+`
|
||||||
|
|
||||||
* [[option_relay.network.ipv6]] *relay.network.ipv6*
|
* [[option_relay.network.ipv6]] *relay.network.ipv6*
|
||||||
** Beschreibung: pass:none[lauscht standardmäßig am IPv6 Socket (zusätzlich zu IPv4, welches als Standardprotokoll genutzt wird); mittels des Protokollnamens kann das IPv4 und IPv6 Protokoll, einzeln oder gemeinsam, erzwungen werden (siehe /help relay)]
|
** Beschreibung: pass:none[lauscht standardmäßig am IPv6 Socket (zusätzlich zu IPv4, welches als Standardprotokoll genutzt wird); mittels des Protokollnamens kann das IPv4 und IPv6 Protokoll, einzeln oder gemeinsam, erzwungen werden (siehe /help relay)]
|
||||||
@@ -3107,10 +2961,10 @@
|
|||||||
** Standardwert: `+100000+`
|
** Standardwert: `+100000+`
|
||||||
|
|
||||||
* [[option_relay.network.ssl_cert_key]] *relay.network.ssl_cert_key*
|
* [[option_relay.network.ssl_cert_key]] *relay.network.ssl_cert_key*
|
||||||
** Beschreibung: pass:none[Datei mit SSL-Zertifikat und privatem Schlüssel (zum Bedienen von Clients mit SSL) (Pfad ist evaluiert, siehe Funktion string_eval_path_home in der Plugin-API-Referenz)]
|
** Beschreibung: pass:none[Datei mit SSL Zertifikat und privatem Schlüssel (zur Nutzung von Clients mit SSL)]
|
||||||
** Typ: Zeichenkette
|
** Typ: Zeichenkette
|
||||||
** Werte: beliebige Zeichenkette
|
** Werte: beliebige Zeichenkette
|
||||||
** Standardwert: `+"${weechat_config_dir}/ssl/relay.pem"+`
|
** Standardwert: `+"%h/ssl/relay.pem"+`
|
||||||
|
|
||||||
* [[option_relay.network.ssl_priorities]] *relay.network.ssl_priorities*
|
* [[option_relay.network.ssl_priorities]] *relay.network.ssl_priorities*
|
||||||
** Beschreibung: pass:none[Zeichenkette mit Prioritäten für gnutls (für die korrekte Syntax siehe gnutls Dokumentation unter Funktion gnutls_priority_init. Gebräuchliche Zeichenketten sind: "PERFORMANCE", "NORMAL", "SECURE128", "SECURE256", "EXPORT", "NONE")]
|
** Beschreibung: pass:none[Zeichenkette mit Prioritäten für gnutls (für die korrekte Syntax siehe gnutls Dokumentation unter Funktion gnutls_priority_init. Gebräuchliche Zeichenketten sind: "PERFORMANCE", "NORMAL", "SECURE128", "SECURE256", "EXPORT", "NONE")]
|
||||||
@@ -3143,20 +2997,6 @@
|
|||||||
** Standardwert: `+""+`
|
** Standardwert: `+""+`
|
||||||
// end::relay_options[]
|
// end::relay_options[]
|
||||||
|
|
||||||
// tag::guile_options[]
|
|
||||||
* [[option_guile.look.check_license]] *guile.look.check_license*
|
|
||||||
** Beschreibung: pass:none[Überprüft die Lizenz von Skripten, wenn sie geladen werden: Sollte die Lizenz abweichend von der Erweiterungslizenz sein, wird eine Warnung ausgegeben]
|
|
||||||
** Typ: boolesch
|
|
||||||
** Werte: on, off
|
|
||||||
** Standardwert: `+off+`
|
|
||||||
|
|
||||||
* [[option_guile.look.eval_keep_context]] *guile.look.eval_keep_context*
|
|
||||||
** Beschreibung: pass:none[behält den Inhalt zwischen zwei Aufrufen bei Quellcode Evaluierung (Option "eval" des Skript-Befehls oder Info "%s_eval"); ein Hintergrundskript wird für die Evaluierung verwendet; wird diese Option deaktiviert, dann wird das Hintergrundskript nach jeder Evaluierung entfernt: das bedeutet weniger Speicherbedarf, ist aber langsamer]
|
|
||||||
** Typ: boolesch
|
|
||||||
** Werte: on, off
|
|
||||||
** Standardwert: `+on+`
|
|
||||||
// end::guile_options[]
|
|
||||||
|
|
||||||
// tag::javascript_options[]
|
// tag::javascript_options[]
|
||||||
* [[option_javascript.look.check_license]] *javascript.look.check_license*
|
* [[option_javascript.look.check_license]] *javascript.look.check_license*
|
||||||
** Beschreibung: pass:none[Überprüft die Lizenz von Skripten, wenn sie geladen werden: Sollte die Lizenz abweichend von der Erweiterungslizenz sein, wird eine Warnung ausgegeben]
|
** Beschreibung: pass:none[Überprüft die Lizenz von Skripten, wenn sie geladen werden: Sollte die Lizenz abweichend von der Erweiterungslizenz sein, wird eine Warnung ausgegeben]
|
||||||
@@ -3171,19 +3011,47 @@
|
|||||||
** Standardwert: `+on+`
|
** Standardwert: `+on+`
|
||||||
// end::javascript_options[]
|
// end::javascript_options[]
|
||||||
|
|
||||||
// tag::lua_options[]
|
// tag::ruby_options[]
|
||||||
* [[option_lua.look.check_license]] *lua.look.check_license*
|
* [[option_ruby.look.check_license]] *ruby.look.check_license*
|
||||||
** Beschreibung: pass:none[Überprüft die Lizenz von Skripten, wenn sie geladen werden: Sollte die Lizenz abweichend von der Erweiterungslizenz sein, wird eine Warnung ausgegeben]
|
** Beschreibung: pass:none[Überprüft die Lizenz von Skripten, wenn sie geladen werden: Sollte die Lizenz abweichend von der Erweiterungslizenz sein, wird eine Warnung ausgegeben]
|
||||||
** Typ: boolesch
|
** Typ: boolesch
|
||||||
** Werte: on, off
|
** Werte: on, off
|
||||||
** Standardwert: `+off+`
|
** Standardwert: `+off+`
|
||||||
|
|
||||||
* [[option_lua.look.eval_keep_context]] *lua.look.eval_keep_context*
|
* [[option_ruby.look.eval_keep_context]] *ruby.look.eval_keep_context*
|
||||||
** Beschreibung: pass:none[behält den Inhalt zwischen zwei Aufrufen bei Quellcode Evaluierung (Option "eval" des Skript-Befehls oder Info "%s_eval"); ein Hintergrundskript wird für die Evaluierung verwendet; wird diese Option deaktiviert, dann wird das Hintergrundskript nach jeder Evaluierung entfernt: das bedeutet weniger Speicherbedarf, ist aber langsamer]
|
** Beschreibung: pass:none[behält den Inhalt zwischen zwei Aufrufen bei Quellcode Evaluierung (Option "eval" des Skript-Befehls oder Info "%s_eval"); ein Hintergrundskript wird für die Evaluierung verwendet; wird diese Option deaktiviert, dann wird das Hintergrundskript nach jeder Evaluierung entfernt: das bedeutet weniger Speicherbedarf, ist aber langsamer]
|
||||||
** Typ: boolesch
|
** Typ: boolesch
|
||||||
** Werte: on, off
|
** Werte: on, off
|
||||||
** Standardwert: `+on+`
|
** Standardwert: `+on+`
|
||||||
// end::lua_options[]
|
// end::ruby_options[]
|
||||||
|
|
||||||
|
// tag::guile_options[]
|
||||||
|
* [[option_guile.look.check_license]] *guile.look.check_license*
|
||||||
|
** Beschreibung: pass:none[Überprüft die Lizenz von Skripten, wenn sie geladen werden: Sollte die Lizenz abweichend von der Erweiterungslizenz sein, wird eine Warnung ausgegeben]
|
||||||
|
** Typ: boolesch
|
||||||
|
** Werte: on, off
|
||||||
|
** Standardwert: `+off+`
|
||||||
|
|
||||||
|
* [[option_guile.look.eval_keep_context]] *guile.look.eval_keep_context*
|
||||||
|
** Beschreibung: pass:none[behält den Inhalt zwischen zwei Aufrufen bei Quellcode Evaluierung (Option "eval" des Skript-Befehls oder Info "%s_eval"); ein Hintergrundskript wird für die Evaluierung verwendet; wird diese Option deaktiviert, dann wird das Hintergrundskript nach jeder Evaluierung entfernt: das bedeutet weniger Speicherbedarf, ist aber langsamer]
|
||||||
|
** Typ: boolesch
|
||||||
|
** Werte: on, off
|
||||||
|
** Standardwert: `+on+`
|
||||||
|
// end::guile_options[]
|
||||||
|
|
||||||
|
// tag::tcl_options[]
|
||||||
|
* [[option_tcl.look.check_license]] *tcl.look.check_license*
|
||||||
|
** Beschreibung: pass:none[Überprüft die Lizenz von Skripten, wenn sie geladen werden: Sollte die Lizenz abweichend von der Erweiterungslizenz sein, wird eine Warnung ausgegeben]
|
||||||
|
** Typ: boolesch
|
||||||
|
** Werte: on, off
|
||||||
|
** Standardwert: `+off+`
|
||||||
|
|
||||||
|
* [[option_tcl.look.eval_keep_context]] *tcl.look.eval_keep_context*
|
||||||
|
** Beschreibung: pass:none[behält den Inhalt zwischen zwei Aufrufen bei Quellcode Evaluierung (Option "eval" des Skript-Befehls oder Info "%s_eval"); ein Hintergrundskript wird für die Evaluierung verwendet; wird diese Option deaktiviert, dann wird das Hintergrundskript nach jeder Evaluierung entfernt: das bedeutet weniger Speicherbedarf, ist aber langsamer]
|
||||||
|
** Typ: boolesch
|
||||||
|
** Werte: on, off
|
||||||
|
** Standardwert: `+on+`
|
||||||
|
// end::tcl_options[]
|
||||||
|
|
||||||
// tag::perl_options[]
|
// tag::perl_options[]
|
||||||
* [[option_perl.look.check_license]] *perl.look.check_license*
|
* [[option_perl.look.check_license]] *perl.look.check_license*
|
||||||
@@ -3213,6 +3081,20 @@
|
|||||||
** Standardwert: `+on+`
|
** Standardwert: `+on+`
|
||||||
// end::php_options[]
|
// end::php_options[]
|
||||||
|
|
||||||
|
// tag::lua_options[]
|
||||||
|
* [[option_lua.look.check_license]] *lua.look.check_license*
|
||||||
|
** Beschreibung: pass:none[Überprüft die Lizenz von Skripten, wenn sie geladen werden: Sollte die Lizenz abweichend von der Erweiterungslizenz sein, wird eine Warnung ausgegeben]
|
||||||
|
** Typ: boolesch
|
||||||
|
** Werte: on, off
|
||||||
|
** Standardwert: `+off+`
|
||||||
|
|
||||||
|
* [[option_lua.look.eval_keep_context]] *lua.look.eval_keep_context*
|
||||||
|
** Beschreibung: pass:none[behält den Inhalt zwischen zwei Aufrufen bei Quellcode Evaluierung (Option "eval" des Skript-Befehls oder Info "%s_eval"); ein Hintergrundskript wird für die Evaluierung verwendet; wird diese Option deaktiviert, dann wird das Hintergrundskript nach jeder Evaluierung entfernt: das bedeutet weniger Speicherbedarf, ist aber langsamer]
|
||||||
|
** Typ: boolesch
|
||||||
|
** Werte: on, off
|
||||||
|
** Standardwert: `+on+`
|
||||||
|
// end::lua_options[]
|
||||||
|
|
||||||
// tag::python_options[]
|
// tag::python_options[]
|
||||||
* [[option_python.look.check_license]] *python.look.check_license*
|
* [[option_python.look.check_license]] *python.look.check_license*
|
||||||
** Beschreibung: pass:none[Überprüft die Lizenz von Skripten, wenn sie geladen werden: Sollte die Lizenz abweichend von der Erweiterungslizenz sein, wird eine Warnung ausgegeben]
|
** Beschreibung: pass:none[Überprüft die Lizenz von Skripten, wenn sie geladen werden: Sollte die Lizenz abweichend von der Erweiterungslizenz sein, wird eine Warnung ausgegeben]
|
||||||
@@ -3227,34 +3109,6 @@
|
|||||||
** Standardwert: `+on+`
|
** Standardwert: `+on+`
|
||||||
// end::python_options[]
|
// end::python_options[]
|
||||||
|
|
||||||
// tag::ruby_options[]
|
|
||||||
* [[option_ruby.look.check_license]] *ruby.look.check_license*
|
|
||||||
** Beschreibung: pass:none[Überprüft die Lizenz von Skripten, wenn sie geladen werden: Sollte die Lizenz abweichend von der Erweiterungslizenz sein, wird eine Warnung ausgegeben]
|
|
||||||
** Typ: boolesch
|
|
||||||
** Werte: on, off
|
|
||||||
** Standardwert: `+off+`
|
|
||||||
|
|
||||||
* [[option_ruby.look.eval_keep_context]] *ruby.look.eval_keep_context*
|
|
||||||
** Beschreibung: pass:none[behält den Inhalt zwischen zwei Aufrufen bei Quellcode Evaluierung (Option "eval" des Skript-Befehls oder Info "%s_eval"); ein Hintergrundskript wird für die Evaluierung verwendet; wird diese Option deaktiviert, dann wird das Hintergrundskript nach jeder Evaluierung entfernt: das bedeutet weniger Speicherbedarf, ist aber langsamer]
|
|
||||||
** Typ: boolesch
|
|
||||||
** Werte: on, off
|
|
||||||
** Standardwert: `+on+`
|
|
||||||
// end::ruby_options[]
|
|
||||||
|
|
||||||
// tag::tcl_options[]
|
|
||||||
* [[option_tcl.look.check_license]] *tcl.look.check_license*
|
|
||||||
** Beschreibung: pass:none[Überprüft die Lizenz von Skripten, wenn sie geladen werden: Sollte die Lizenz abweichend von der Erweiterungslizenz sein, wird eine Warnung ausgegeben]
|
|
||||||
** Typ: boolesch
|
|
||||||
** Werte: on, off
|
|
||||||
** Standardwert: `+off+`
|
|
||||||
|
|
||||||
* [[option_tcl.look.eval_keep_context]] *tcl.look.eval_keep_context*
|
|
||||||
** Beschreibung: pass:none[behält den Inhalt zwischen zwei Aufrufen bei Quellcode Evaluierung (Option "eval" des Skript-Befehls oder Info "%s_eval"); ein Hintergrundskript wird für die Evaluierung verwendet; wird diese Option deaktiviert, dann wird das Hintergrundskript nach jeder Evaluierung entfernt: das bedeutet weniger Speicherbedarf, ist aber langsamer]
|
|
||||||
** Typ: boolesch
|
|
||||||
** Werte: on, off
|
|
||||||
** Standardwert: `+on+`
|
|
||||||
// end::tcl_options[]
|
|
||||||
|
|
||||||
// tag::script_options[]
|
// tag::script_options[]
|
||||||
* [[option_script.color.status_autoloaded]] *script.color.status_autoloaded*
|
* [[option_script.color.status_autoloaded]] *script.color.status_autoloaded*
|
||||||
** Beschreibung: pass:none[Farbe in der der Status "autoloaded" ("a") dargestellt werden soll]
|
** Beschreibung: pass:none[Farbe in der der Status "autoloaded" ("a") dargestellt werden soll]
|
||||||
@@ -3413,7 +3267,7 @@
|
|||||||
** Standardwert: `+lightmagenta+`
|
** Standardwert: `+lightmagenta+`
|
||||||
|
|
||||||
* [[option_script.look.columns]] *script.look.columns*
|
* [[option_script.look.columns]] *script.look.columns*
|
||||||
** Beschreibung: pass:none[Format in welchem die Spalten im Skript-Buffer dargestellt werden sollen. Es können folgende Spaltenbezeichnungen genutzt werden: %a=Autor, %d=Beschreibung, %D=Skript hinzugefügt, %e=Dateierweiterung, %l=Programmiersprache, %L=Lizenz, %n=Skriptname, mit Dateierweiterung, %N=Skriptname, %r=Voraussetzungen, %s=Status, %t=Schlagwörter, %u=Datum der letzten Überarbeitung, %v=Version, %V=installierte Version, %w=min_WeeChat_Version, %W=max_WeeChat_Version)]
|
** Beschreibung: pass:none[Format in welchem die Spalten im Skript Buffer dargestellt werden sollen. Es können folgende Spaltenbezeichnungen genutzt werden: %a=Autor, %d=Beschreibung, %D=hinzugefügt, %e=Dateierweiterung, %l=Programmiersprache, %L=Lizenz, %n=Skriptname, mit Dateierweiterung, %N=Skriptname, %r=Voraussetzungen, %s=Status, %t=Schlagwörter, %u=Datum der letzten Überarbeitung, %v=Version, %V=installierte Version, %w=min_WeeChat_Version, %W=max_WeeChat_Version)]
|
||||||
** Typ: Zeichenkette
|
** Typ: Zeichenkette
|
||||||
** Werte: beliebige Zeichenkette
|
** Werte: beliebige Zeichenkette
|
||||||
** Standardwert: `+"%s %n %V %v %u | %d | %t"+`
|
** Standardwert: `+"%s %n %V %v %u | %d | %t"+`
|
||||||
@@ -3491,10 +3345,10 @@
|
|||||||
** Standardwert: `+""+`
|
** Standardwert: `+""+`
|
||||||
|
|
||||||
* [[option_script.scripts.path]] *script.scripts.path*
|
* [[option_script.scripts.path]] *script.scripts.path*
|
||||||
** Beschreibung: pass:none[lokales Cache-Verzeichnis für Skripten (Pfad ist evaluiert, siehe Funktion string_eval_path_home in der Plugin-API-Referenz)]
|
** Beschreibung: pass:none[lokales Cache-Verzeichnis für die Script-Erweiterung; "%h" wird durch das WeeChat Verzeichnis ersetzt (Standardpfad: "~/.weechat") (Hinweis: Inhalt wird evaluiert, siehe /help eval)]
|
||||||
** Typ: Zeichenkette
|
** Typ: Zeichenkette
|
||||||
** Werte: beliebige Zeichenkette
|
** Werte: beliebige Zeichenkette
|
||||||
** Standardwert: `+"${weechat_cache_dir}/script"+`
|
** Standardwert: `+"%h/script"+`
|
||||||
|
|
||||||
* [[option_script.scripts.url]] *script.scripts.url*
|
* [[option_script.scripts.url]] *script.scripts.url*
|
||||||
** Beschreibung: pass:none[URL für Datei mit der Auflistung aller Skripten]
|
** Beschreibung: pass:none[URL für Datei mit der Auflistung aller Skripten]
|
||||||
|
|||||||
@@ -16,8 +16,9 @@
|
|||||||
"--daemon").
|
"--daemon").
|
||||||
|
|
||||||
*-d*, *--dir* _<path>_::
|
*-d*, *--dir* _<path>_::
|
||||||
Erzwingen Sie ein einzelnes Verzeichnis für alle WeeChat-Dateien (Verzeichnis wird erstellt, wenn es nicht gefunden wird).
|
legt den Konfigurationsordner für WeeChat fest in welchem die Erweiterungen,
|
||||||
Es können vier Verzeichnisse angegeben werden, die durch Doppelpunkte getrennt sind (folgende Reihenfolge: Konfiguration, Daten, Cache, Laufzeit).
|
Skripten, Protokolldateien etc.pp. gesichert werden (Voreinstellung: "~/.weechat").
|
||||||
|
Sollte das Verzeichnis nicht existieren wird es beim Start angelegt.
|
||||||
Wird diese Option nicht genutzt, wird die Umgebungsvariable WEECHAT_HOME genutzt
|
Wird diese Option nicht genutzt, wird die Umgebungsvariable WEECHAT_HOME genutzt
|
||||||
(sofern diese vorhanden ist).
|
(sofern diese vorhanden ist).
|
||||||
|
|
||||||
|
|||||||
+27
-30
@@ -9,7 +9,7 @@ indem man eine URL verwendet:
|
|||||||
|
|
||||||
Um dem WeeChat IRC Support-Channel, mit dem Nick "mynick", beizutreten:
|
Um dem WeeChat IRC Support-Channel, mit dem Nick "mynick", beizutreten:
|
||||||
|
|
||||||
irc://mynick@irc.libera.chat/#weechat
|
irc://mynick@chat.freenode.net/#weechat
|
||||||
|
|
||||||
Um eine IPv6 Adresse zu nutzen, muss diese in eckige Klammern gesetzt werden:
|
Um eine IPv6 Adresse zu nutzen, muss diese in eckige Klammern gesetzt werden:
|
||||||
|
|
||||||
@@ -17,82 +17,79 @@ Um eine IPv6 Adresse zu nutzen, muss diese in eckige Klammern gesetzt werden:
|
|||||||
// end::plugin_options[]
|
// end::plugin_options[]
|
||||||
|
|
||||||
// tag::files[]
|
// tag::files[]
|
||||||
$HOME/.config/weechat/weechat.conf::
|
$HOME/.weechat/weechat.conf::
|
||||||
WeeChats Konfigurationsdatei
|
WeeChats Konfigurationsdatei
|
||||||
|
|
||||||
$HOME/.config/weechat/plugins.conf::
|
$HOME/.weechat/plugins.conf::
|
||||||
Konfigurationsdatei für Erweiterungen
|
Konfigurationsdatei für Erweiterungen
|
||||||
|
|
||||||
$HOME/.config/weechat/sec.conf::
|
$HOME/.weechat/sec.conf::
|
||||||
Konfigurationsdatei mit schutzwürdigen Daten
|
Konfigurationsdatei mit schutzwürdigen Daten
|
||||||
|
|
||||||
$HOME/.config/weechat/alias.conf::
|
$HOME/.weechat/alias.conf::
|
||||||
Konfigurationsdatei für _alias_ Erweiterung
|
Konfigurationsdatei für _alias_ Erweiterung
|
||||||
|
|
||||||
$HOME/.config/weechat/buflist.conf::
|
$HOME/.weechat/buflist.conf::
|
||||||
Konfigurationsdatei für _buflist_ Erweiterung
|
Konfigurationsdatei für _buflist_ Erweiterung
|
||||||
|
|
||||||
$HOME/.config/weechat/charset.conf::
|
$HOME/.weechat/charset.conf::
|
||||||
Konfigurationsdatei für _charset_ Erweiterung
|
Konfigurationsdatei für _charset_ Erweiterung
|
||||||
|
|
||||||
$HOME/.config/weechat/exec.conf::
|
$HOME/.weechat/exec.conf::
|
||||||
Konfigurationsdatei für _exec_ Erweiterung
|
Konfigurationsdatei für _exec_ Erweiterung
|
||||||
|
|
||||||
$HOME/.config/weechat/fifo.conf::
|
$HOME/.weechat/fifo.conf::
|
||||||
Konfigurationsdatei für _fifo_ Erweiterung
|
Konfigurationsdatei für _fifo_ Erweiterung
|
||||||
|
|
||||||
$HOME/.config/weechat/fset.conf::
|
$HOME/.weechat/fset.conf::
|
||||||
Konfigurationsdatei für _fset_ Erweiterung
|
Konfigurationsdatei für _fset_ Erweiterung
|
||||||
|
|
||||||
$HOME/.config/weechat/guile.conf::
|
$HOME/.weechat/guile.conf::
|
||||||
Konfigurationsdatei für _guile_ Erweiterung
|
Konfigurationsdatei für _guile_ Erweiterung
|
||||||
|
|
||||||
$HOME/.config/weechat/irc.conf::
|
$HOME/.weechat/irc.conf::
|
||||||
Konfigurationsdatei für _irc_ Erweiterung
|
Konfigurationsdatei für _irc_ Erweiterung
|
||||||
|
|
||||||
$HOME/.config/weechat/javascript.conf::
|
$HOME/.weechat/javascript.conf::
|
||||||
Konfigurationsdatei für _javascript_ Erweiterung
|
Konfigurationsdatei für _javascript_ Erweiterung
|
||||||
|
|
||||||
$HOME/.config/weechat/logger.conf::
|
$HOME/.weechat/logger.conf::
|
||||||
Konfigurationsdatei für _logger_ Erweiterung
|
Konfigurationsdatei für _logger_ Erweiterung
|
||||||
|
|
||||||
$HOME/.config/weechat/lua.conf::
|
$HOME/.weechat/lua.conf::
|
||||||
Konfigurationsdatei für _lua_ Erweiterung
|
Konfigurationsdatei für _lua_ Erweiterung
|
||||||
|
|
||||||
$HOME/.config/weechat/perl.conf::
|
$HOME/.weechat/perl.conf::
|
||||||
Konfigurationsdatei für _perl_ Erweiterung
|
Konfigurationsdatei für _perl_ Erweiterung
|
||||||
|
|
||||||
$HOME/.config/weechat/php.conf::
|
$HOME/.weechat/php.conf::
|
||||||
Konfigurationsdatei für _php_ Erweiterung
|
Konfigurationsdatei für _php_ Erweiterung
|
||||||
|
|
||||||
$HOME/.config/weechat/python.conf::
|
$HOME/.weechat/python.conf::
|
||||||
Konfigurationsdatei für _python_ Erweiterung
|
Konfigurationsdatei für _python_ Erweiterung
|
||||||
|
|
||||||
$HOME/.config/weechat/relay.conf::
|
$HOME/.weechat/relay.conf::
|
||||||
Konfigurationsdatei für _relay_ Erweiterung
|
Konfigurationsdatei für _relay_ Erweiterung
|
||||||
|
|
||||||
$HOME/.config/weechat/ruby.conf::
|
$HOME/.weechat/ruby.conf::
|
||||||
Konfigurationsdatei für _ruby_ Erweiterung
|
Konfigurationsdatei für _ruby_ Erweiterung
|
||||||
|
|
||||||
$HOME/.config/weechat/script.conf::
|
$HOME/.weechat/script.conf::
|
||||||
Konfigurationsdatei für _script_ Erweiterung
|
Konfigurationsdatei für _script_ Erweiterung
|
||||||
|
|
||||||
$HOME/.config/weechat/spell.conf::
|
$HOME/.weechat/spell.conf::
|
||||||
Konfigurationsdatei für _spell_ Erweiterung
|
Konfigurationsdatei für _spell_ Erweiterung
|
||||||
|
|
||||||
$HOME/.config/weechat/tcl.conf::
|
$HOME/.weechat/tcl.conf::
|
||||||
Konfigurationsdatei für _tcl_ Erweiterung
|
Konfigurationsdatei für _tcl_ Erweiterung
|
||||||
|
|
||||||
$HOME/.config/weechat/trigger.conf::
|
$HOME/.weechat/trigger.conf::
|
||||||
Konfigurationsdatei für _trigger_ Erweiterung
|
Konfigurationsdatei für _trigger_ Erweiterung
|
||||||
|
|
||||||
$HOME/.config/weechat/typing.conf::
|
$HOME/.weechat/xfer.conf::
|
||||||
Konfigurationsdatei für _typing_ Erweiterung
|
|
||||||
|
|
||||||
$HOME/.config/weechat/xfer.conf::
|
|
||||||
Konfigurationsdatei für _xfer_ Erweiterung
|
Konfigurationsdatei für _xfer_ Erweiterung
|
||||||
|
|
||||||
$HOME/.local/share/weechat/weechat.log::
|
$HOME/.weechat/weechat.log::
|
||||||
WeeChat Protokolldatei
|
WeeChat Protokolldatei
|
||||||
// end::files[]
|
// end::files[]
|
||||||
|
|
||||||
@@ -100,7 +97,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-2022 {author}
|
Copyright (C) 2003-2021 {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
|
||||||
|
|||||||
+35
-62
@@ -441,7 +441,7 @@ Natürlich ist das möglich:
|
|||||||
[[timezone]]
|
[[timezone]]
|
||||||
=== Wie kann ich die Zeitzone ändern?
|
=== Wie kann ich die Zeitzone ändern?
|
||||||
|
|
||||||
Es gibt in WeeChat keine Option um die Zeitzone einzustellen. Die
|
Es gibt in WeeChat keine Option um die Zeitzone einzustellen. Die
|
||||||
Umgebungsvariable `TZ` muss auf einen entsprechenden Wert eingestellt werden.
|
Umgebungsvariable `TZ` muss auf einen entsprechenden Wert eingestellt werden.
|
||||||
Am Besten machen Sie dies in Ihrer Shell-Initialisierungsdatei oder in der
|
Am Besten machen Sie dies in Ihrer Shell-Initialisierungsdatei oder in der
|
||||||
Befehlszeile, bevor Sie WeeChat starten:
|
Befehlszeile, bevor Sie WeeChat starten:
|
||||||
@@ -559,10 +559,9 @@ Der bracketed paste Modus kann wie folgt deaktiviert werden:
|
|||||||
[[small_terminal]]
|
[[small_terminal]]
|
||||||
=== Wie kann ich die Anzeige bei sehr kleinen Terminalgrößen (wie 80 x 25) optimieren, um keinen Platz zu verschwenden?
|
=== Wie kann ich die Anzeige bei sehr kleinen Terminalgrößen (wie 80 x 25) optimieren, um keinen Platz zu verschwenden?
|
||||||
|
|
||||||
Die seitlichen Bars (buflist und nicklist) können deaktiviert werden, die Datums-
|
Sie können die seitlichen Bars (Buflist und Nicklist) entfernen und das Zeitformat im Buffer anpassen,
|
||||||
anzeige sollte nur Stunden und Minuten darstellen, die Ausrichtung von Nach-
|
sodass nur Stunden und Sekunden angezeigt werden. Die Ausrichtung von Nachrichten sollte deaktiviert
|
||||||
richten sollte ebenfalls deaktiviert werden und es sollte der Nick mit einen
|
und der Präfix/Suffix für Nicks gesetzt werden:
|
||||||
Präfix und Suffix vesehen werden:
|
|
||||||
|
|
||||||
----
|
----
|
||||||
/set buflist.look.enabled off
|
/set buflist.look.enabled off
|
||||||
@@ -776,8 +775,7 @@ anstelle der kbd:[Shift]-Taste gedrückt werden).
|
|||||||
Falls macOS genutzt wird,
|
Falls macOS genutzt wird,
|
||||||
muss mittels Homebrew `openssl` installiert werden.
|
muss mittels Homebrew `openssl` installiert werden.
|
||||||
Eine CA-Datei wird mittels Zertifikaten vom Systemschlüssel geladen.
|
Eine CA-Datei wird mittels Zertifikaten vom Systemschlüssel geladen.
|
||||||
|
Der Pfad zu den Zertifikaten kann in WeeChat eingestellt werden:
|
||||||
Ab WeeChat ≤ 3.1 können Sie den Pfad zu Systemzertifikaten festlegen:
|
|
||||||
|
|
||||||
----
|
----
|
||||||
/set weechat.network.gnutls_ca_file "/usr/local/etc/openssl/cert.pem"
|
/set weechat.network.gnutls_ca_file "/usr/local/etc/openssl/cert.pem"
|
||||||
@@ -819,11 +817,10 @@ Im folgenden Beispiel muss "xxx" durch den betroffenen Servernamen ersetzt werde
|
|||||||
/set irc.server.xxx.ssl_priorities "NORMAL:-VERS-TLS-ALL:+VERS-TLS1.0:+VERS-SSL3.0:%COMPAT"
|
/set irc.server.xxx.ssl_priorities "NORMAL:-VERS-TLS-ALL:+VERS-TLS1.0:+VERS-SSL3.0:%COMPAT"
|
||||||
----
|
----
|
||||||
|
|
||||||
[[irc_ssl_libera]]
|
[[irc_ssl_freenode]]
|
||||||
=== Wie kann ich eine SSL gesicherte Verbindung zum libera Server herstellen?
|
=== Wie kann ich eine SSL gesicherte Verbindung zum freenode Server herstellen?
|
||||||
|
|
||||||
Ab WeeChat ≤ 3.1 kann mit der Option _weechat.network.gnutls_ca_file_ eine Datei mit
|
Die Option _weechat.network.gnutls_ca_file_ sollte auf die Zertifikationsdatei zeigen:
|
||||||
Zertifikaten ausgewählt werden:
|
|
||||||
|
|
||||||
----
|
----
|
||||||
/set weechat.network.gnutls_ca_file "/etc/ssl/certs/ca-certificates.crt"
|
/set weechat.network.gnutls_ca_file "/etc/ssl/certs/ca-certificates.crt"
|
||||||
@@ -843,9 +840,9 @@ dass die Zertifikate in einer anderen Datei bereitgestellt werden:
|
|||||||
Konfiguration des Servers, Port angeben, SSL aktivieren und Verbindung herstellen:
|
Konfiguration des Servers, Port angeben, SSL aktivieren und Verbindung herstellen:
|
||||||
|
|
||||||
----
|
----
|
||||||
/set irc.server.libera.addresses "irc.libera.chat/6697"
|
/set irc.server.freenode.addresses "chat.freenode.net/7000"
|
||||||
/set irc.server.libera.ssl on
|
/set irc.server.freenode.ssl on
|
||||||
/connect libera
|
/connect freenode
|
||||||
----
|
----
|
||||||
|
|
||||||
[[irc_oauth]]
|
[[irc_oauth]]
|
||||||
@@ -872,8 +869,8 @@ ist es ratsam auf diese Funktion zurückzugreifen
|
|||||||
und sich nicht mittels "nickserv" zu authentifizieren:
|
und sich nicht mittels "nickserv" zu authentifizieren:
|
||||||
|
|
||||||
----
|
----
|
||||||
/set irc.server.libera.sasl_username "meinNick"
|
/set irc.server.freenode.sasl_username "meinNick"
|
||||||
/set irc.server.libera.sasl_password "xxxxxxx"
|
/set irc.server.freenode.sasl_password "xxxxxxx"
|
||||||
----
|
----
|
||||||
|
|
||||||
Unterstützt der Server keine SASL Authentifizierung,
|
Unterstützt der Server keine SASL Authentifizierung,
|
||||||
@@ -881,33 +878,18 @@ kann eine Verzögerung aktiviert werden,
|
|||||||
um sich vor dem Betreten von Channels bei "nickserv" zu identifizieren:
|
um sich vor dem Betreten von Channels bei "nickserv" zu identifizieren:
|
||||||
|
|
||||||
----
|
----
|
||||||
/set irc.server.libera.command_delay 5
|
/set irc.server.freenode.command_delay 5
|
||||||
----
|
----
|
||||||
|
|
||||||
[[edit_autojoin]]
|
[[edit_autojoin]]
|
||||||
=== Wie kann ich Channels zur autojoin Option entfernen/hinzufügen?
|
=== Wie kann ich Channels zur autojoin Option entfernen/hinzufügen?
|
||||||
|
|
||||||
Ab WeeChat ≥ 3.5 können Sie die Kanäle, denen Sie manuell betreten und verlassen,
|
|
||||||
automatisch aufzeichnen und die Serveroption „autojoin“ entsprechend anpassen.
|
|
||||||
|
|
||||||
Für alle Server:
|
|
||||||
|
|
||||||
----
|
|
||||||
/set irc.server_default.autojoin_record on
|
|
||||||
----
|
|
||||||
|
|
||||||
Für einen einzelnen Server:
|
|
||||||
|
|
||||||
----
|
|
||||||
/set irc.server.libera.autojoin_record on
|
|
||||||
----
|
|
||||||
|
|
||||||
Um die Liste der autojoin Channels zu editieren,
|
Um die Liste der autojoin Channels zu editieren,
|
||||||
kann der Befehl `/set` genutzt werden.
|
kann der Befehl `/set` genutzt werden.
|
||||||
In folgendem Beispiel wird der "libera"-Server angepasst:
|
In folgendem Beispiel wird der "freenode"-Server angepasst:
|
||||||
|
|
||||||
----
|
----
|
||||||
/set irc.server.libera.autojoin [TAB]
|
/set irc.server.freenode.autojoin [TAB]
|
||||||
----
|
----
|
||||||
|
|
||||||
[NOTE]
|
[NOTE]
|
||||||
@@ -1107,16 +1089,16 @@ das Skript _buffer_autoset.py_ nutzen:
|
|||||||
----
|
----
|
||||||
|
|
||||||
Um zum Beispiel Highlights (Hervorhebungen) von Nick "mike" im Channel
|
Um zum Beispiel Highlights (Hervorhebungen) von Nick "mike" im Channel
|
||||||
#weechat auf dem IRC Server libera zu deaktivieren:
|
#weechat auf dem IRC Server freenode zu deaktivieren:
|
||||||
|
|
||||||
----
|
----
|
||||||
/buffer_autoset add irc.libera.#weechat hotlist_max_level_nicks_add mike:2
|
/buffer_autoset add irc.freenode.#weechat hotlist_max_level_nicks_add mike:2
|
||||||
----
|
----
|
||||||
|
|
||||||
Um dies auf den kompletten libera Server anzuwenden:
|
Um dies auf den kompletten freenode Server anzuwenden:
|
||||||
|
|
||||||
----
|
----
|
||||||
/buffer_autoset add irc.libera hotlist_max_level_nicks_add mike:2
|
/buffer_autoset add irc.freenode hotlist_max_level_nicks_add mike:2
|
||||||
----
|
----
|
||||||
|
|
||||||
Für weitere Beispiele, siehe `+/help buffer_autoset+`.
|
Für weitere Beispiele, siehe `+/help buffer_autoset+`.
|
||||||
@@ -1154,18 +1136,16 @@ Die Skripten für WeeChat sind mit anderen IRC-Clients nicht kompatibel und vice
|
|||||||
[[scripts_update]]
|
[[scripts_update]]
|
||||||
=== Der Befehl "/script update" liest die Skriptliste nicht ein, wie kann ich das beheben?
|
=== Der Befehl "/script update" liest die Skriptliste nicht ein, wie kann ich das beheben?
|
||||||
|
|
||||||
Als erstes sollte das Kapitel über SSL Verbindungen in dieser FAQ gelesen werden.
|
Als erstes sollte das Kapitel über SSL Verbindungen in dieser FAQ gelesen werden
|
||||||
|
(besonders über die Option _weechat.network.gnutls_ca_file_).
|
||||||
|
|
||||||
Wenn das nicht hilft, sollte die Skriptliste von Hand gelöscht werden. Dazu
|
Wenn das nicht hilft, sollte die Skriptliste von Hand gelöscht werden. Dazu
|
||||||
folgenden Befehl in der Shell ausführen:
|
folgenden Befehl in der Shell ausführen:
|
||||||
|
|
||||||
----
|
----
|
||||||
$ rm ~/.cache/weechat/script/plugins.xml.gz
|
$ rm ~/.weechat/script/plugins.xml.gz
|
||||||
----
|
----
|
||||||
|
|
||||||
[NOTE]
|
|
||||||
Ab WeeChat ≤ 3.1, sollte der Pfad: _~/.weechat/script/plugins.xml.gz_ lauten.
|
|
||||||
|
|
||||||
Danach sollte man noch einmal versuchen die Datei herunter zu laden:
|
Danach sollte man noch einmal versuchen die Datei herunter zu laden:
|
||||||
|
|
||||||
----
|
----
|
||||||
@@ -1185,18 +1165,10 @@ Das bedeutet aber auch, dass die Skripten von Hand aktuell gehalten werden müss
|
|||||||
* und in der Shell, mit installiertem curl:
|
* und in der Shell, mit installiertem curl:
|
||||||
|
|
||||||
----
|
----
|
||||||
$ cd ~/.cache/weechat/script
|
$ cd ~/.weechat/script
|
||||||
$ curl -O https://weechat.org/files/plugins.xml.gz
|
$ curl -O https://weechat.org/files/plugins.xml.gz
|
||||||
----
|
----
|
||||||
|
|
||||||
Wenn Sie macOS ausführen und die heruntergeladene Datei eine Größe von 0 Byte hat,
|
|
||||||
versuchen Sie, diese Variable in Ihrer Shell-Initialisierungsdatei oder auf der
|
|
||||||
Befehlszeile zu setzen. Bevor Sie WeeChat starten:
|
|
||||||
|
|
||||||
----
|
|
||||||
export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES
|
|
||||||
----
|
|
||||||
|
|
||||||
[[spell_dictionaries]]
|
[[spell_dictionaries]]
|
||||||
=== Ich habe aspell Wörterbücher auf mein System installiert. Wie kann ich diese nutzen, ohne WeeChat neu starten zu müssen?
|
=== Ich habe aspell Wörterbücher auf mein System installiert. Wie kann ich diese nutzen, ohne WeeChat neu starten zu müssen?
|
||||||
|
|
||||||
@@ -1245,8 +1217,9 @@ Damit WeeChat weniger Speicher benötigt, solltest Du folgende Tipps umsetzen:
|
|||||||
Fifo, Logger, Perl, Python, Ruby, Lua, Tcl, Guile, JavaScript, PHP, Spell, Xfer
|
Fifo, Logger, Perl, Python, Ruby, Lua, Tcl, Guile, JavaScript, PHP, Spell, Xfer
|
||||||
(wird für DCC benötigst), siehe `/help weechat.plugin.autoload`.
|
(wird für DCC benötigst), siehe `/help weechat.plugin.autoload`.
|
||||||
* installiere ausschließlich Skripten die Du auch nutzt
|
* installiere ausschließlich Skripten die Du auch nutzt
|
||||||
* Laden Sie keine Systemzertifikate, wenn SSL *NICHT* verwendet wird: Deaktivieren Sie diese Option:
|
* falls man SSL *NICHT* nutzt, sollte kein Zertifikat geladen werden. In diesem
|
||||||
_weechat.network.gnutls_ca_system_.
|
Fall, einfach den Eintrag in folgender Option leer lassen:
|
||||||
|
_weechat.network.gnutls_ca_file_
|
||||||
* der Wert der Option _weechat.history.max_buffer_lines_number_ sollte möglichst
|
* der Wert der Option _weechat.history.max_buffer_lines_number_ sollte möglichst
|
||||||
niedrig eingestellt werden oder die Option _weechat.history.max_buffer_lines_minutes_
|
niedrig eingestellt werden oder die Option _weechat.history.max_buffer_lines_minutes_
|
||||||
verwendet werden.
|
verwendet werden.
|
||||||
@@ -1305,17 +1278,18 @@ Beispiel:
|
|||||||
|
|
||||||
----
|
----
|
||||||
/secure passphrase xxxxxxxxxx
|
/secure passphrase xxxxxxxxxx
|
||||||
/secure set libera_username username
|
/secure set freenode_username username
|
||||||
/secure set libera_password xxxxxxxx
|
/secure set freenode_password xxxxxxxx
|
||||||
/set irc.server.libera.sasl_username "${sec.data.libera_username}"
|
/set irc.server.freenode.sasl_username "${sec.data.freenode_username}"
|
||||||
/set irc.server.libera.sasl_password "${sec.data.libera_password}"
|
/set irc.server.freenode.sasl_password "${sec.data.freenode_password}"
|
||||||
----
|
----
|
||||||
|
|
||||||
[[sharing_config_files]]
|
[[sharing_config_files]]
|
||||||
=== Ich möchte meine WeeChat Konfiguration teilen. Welche Dateien kann ich weitergeben und welche sollte ich behalten?
|
=== Ich möchte meine WeeChat Konfiguration teilen. Welche Dateien kann ich weitergeben und welche sollte ich behalten?
|
||||||
|
|
||||||
Sie können Ihre _*.conf_ Konfigurationsdateien teilen, mit Ausnahme der Datei _sec.conf_, die Ihre mit
|
Es können alle _~/.weechat/*.conf_ Dateien geteilt werden.
|
||||||
Ihrer Passphrase verschlüsselten Kennwörter enthält.
|
Hiervon ausgenommen ist die Datei _sec.conf_,
|
||||||
|
die durch eine Passphrase verschlüsselte, sensible, Daten enthalten kann.
|
||||||
|
|
||||||
Einige andere Dateien enthalten möglicherweise vertrauliche Informationen wie
|
Einige andere Dateien enthalten möglicherweise vertrauliche Informationen wie
|
||||||
Kennwörter (sofern sie nicht mit dem Befehl `/secure` in _sec.conf_ gesichert werden).
|
Kennwörter (sofern sie nicht mit dem Befehl `/secure` in _sec.conf_ gesichert werden).
|
||||||
@@ -1354,8 +1328,7 @@ $ LD_PRELOAD=/lib/libpthread.so.0 gdb /Pfad/zu/weechat
|
|||||||
[[supported_os]]
|
[[supported_os]]
|
||||||
=== Auf welchen Plattformen läuft WeeChat und wird es noch auf andere Betriebssysteme portiert?
|
=== Auf welchen Plattformen läuft WeeChat und wird es noch auf andere Betriebssysteme portiert?
|
||||||
|
|
||||||
WeeChat läuft auf den meisten Linux/BSD-Distributionen, GNU/Hurd, Mac OS und
|
Eine vollständige Liste der Portierungen findest Du unter: https://weechat.org/download.
|
||||||
Windows (Cygwin und Windows Subsystem für Linux) einwandfrei.
|
|
||||||
|
|
||||||
Wir geben unser Bestes, WeeChat auf möglichst viele Plattformen zu portieren.
|
Wir geben unser Bestes, WeeChat auf möglichst viele Plattformen zu portieren.
|
||||||
Deshalb ist jede Hilfe gerne gesehen, die es uns ermöglicht,
|
Deshalb ist jede Hilfe gerne gesehen, die es uns ermöglicht,
|
||||||
|
|||||||
@@ -123,13 +123,13 @@ Um eine Verbindung zu einem IRC Server herzustellen, wird der
|
|||||||
`/server` Befehl verwendet. Beispiel:
|
`/server` Befehl verwendet. Beispiel:
|
||||||
|
|
||||||
----
|
----
|
||||||
/server add libera irc.libera.chat/6697 -ssl
|
/server add freenode chat.freenode.net
|
||||||
----
|
----
|
||||||
|
|
||||||
In diesem Beispiel ist `libera` der interne, von Weechat genutzte Servername.
|
In diesem Beispiel ist `freenode` der interne, von Weechat genutzte Servername.
|
||||||
Mit dem Befehl `/connect libera` kann jetzt die Verbindung
|
Mit dem Befehl `/connect freenode` kann jetzt die Verbindung
|
||||||
zu diesem Libera-IRC-Server aufgebaut werden.
|
zu diesem Freenode-IRC-Server aufgebaut werden.
|
||||||
Alle für den Server relevanten Optionen sind unter _irc.server.libera.xxx_ zu finden.
|
Alle für den Server relevanten Optionen sind unter _irc.server.freenode.xxx_ zu finden.
|
||||||
|
|
||||||
Verwende die Hilfe, falls noch Fragen offen sind:
|
Verwende die Hilfe, falls noch Fragen offen sind:
|
||||||
|
|
||||||
@@ -149,24 +149,31 @@ definiert ist (nicht "null"). Andernfalls verwendet WeeChat die Vorgabewerte
|
|||||||
(_irc.server_default.xxx_).
|
(_irc.server_default.xxx_).
|
||||||
|
|
||||||
Beispielsweise werden Standard Nicks verwendet (basierend auf dem Un*x Login).
|
Beispielsweise werden Standard Nicks verwendet (basierend auf dem Un*x Login).
|
||||||
Sollen speziell für den libera-Server andere Nicks genutzt werden,
|
Sollen speziell für den freenode-Server andere Nicks genutzt werden,
|
||||||
können diese mit folgendem Befehl angepasst werden:
|
können diese mit folgendem Befehl angepasst werden:
|
||||||
|
|
||||||
----
|
----
|
||||||
/set irc.server.libera.nicks "meinNick,meinNick2,meinNick3,meinNick4,meinNick5"
|
/set irc.server.freenode.nicks "meinNick,meinNick2,meinNick3,meinNick4,meinNick5"
|
||||||
----
|
----
|
||||||
|
|
||||||
Benutzernamen und wirklichen Namen (realname) anpassen:
|
Benutzernamen und wirklichen Namen (realname) anpassen:
|
||||||
|
|
||||||
----
|
----
|
||||||
/set irc.server.libera.username "Mein Benutzername"
|
/set irc.server.freenode.username "Mein Benutzername"
|
||||||
/set irc.server.libera.realname "Mein wirklicher Name"
|
/set irc.server.freenode.realname "Mein wirklicher Name"
|
||||||
----
|
----
|
||||||
|
|
||||||
Beim Start von WeeChat automatisch die Verbindung zu einem Server herstellen:
|
Beim Start von WeeChat automatisch die Verbindung zu einem Server herstellen:
|
||||||
|
|
||||||
----
|
----
|
||||||
/set irc.server.libera.autoconnect on
|
/set irc.server.freenode.autoconnect on
|
||||||
|
----
|
||||||
|
|
||||||
|
Beim Verbindungsaufbau SSL (sichere Verbindung) nutzen:
|
||||||
|
|
||||||
|
----
|
||||||
|
/set irc.server.freenode.addresses "chat.freenode.net/7000"
|
||||||
|
/set irc.server.freenode.ssl on
|
||||||
----
|
----
|
||||||
|
|
||||||
Wenn der Server SASL unterstützt,
|
Wenn der Server SASL unterstützt,
|
||||||
@@ -175,8 +182,8 @@ Der Benutzer wird auf diese Weise gegenüber dem IRC-Server identifiziert,
|
|||||||
noch bevor Server-Befehle übermittelt oder Cannels (Chaträume) betreten werden können.
|
noch bevor Server-Befehle übermittelt oder Cannels (Chaträume) betreten werden können.
|
||||||
|
|
||||||
----
|
----
|
||||||
/set irc.server.libera.sasl_username "mynick"
|
/set irc.server.freenode.sasl_username "mynick"
|
||||||
/set irc.server.libera.sasl_password "xxxxxxx"
|
/set irc.server.freenode.sasl_password "xxxxxxx"
|
||||||
----
|
----
|
||||||
|
|
||||||
Wenn der Server keine SASL-Authentifizierung unterstützt,
|
Wenn der Server keine SASL-Authentifizierung unterstützt,
|
||||||
@@ -184,7 +191,7 @@ muss der Benutzer sich nach dem Verbindungsaufbau bei "nickserv" identifizieren.
|
|||||||
Der dafür notwendige IRC-Server-Befehl kann auch automatisch übermittelt werden:
|
Der dafür notwendige IRC-Server-Befehl kann auch automatisch übermittelt werden:
|
||||||
|
|
||||||
----
|
----
|
||||||
/set irc.server.libera.command "/msg nickserv identify xxxxxxx"
|
/set irc.server.freenode.command "/msg nickserv identify xxxxxxx"
|
||||||
----
|
----
|
||||||
|
|
||||||
[NOTE]
|
[NOTE]
|
||||||
@@ -200,19 +207,19 @@ Zuerst sollte die Passphrase gesetzt werden:
|
|||||||
----
|
----
|
||||||
|
|
||||||
Jetzt wird das Passwort (`xxxxxx`)
|
Jetzt wird das Passwort (`xxxxxx`)
|
||||||
für den Zugang zum Libera-Server verschlüsselt
|
für den Zugang zum Freenode-Server verschlüsselt
|
||||||
und mit dem Bezeichner `libera_password` verknüpft:
|
und mit dem Bezeichner `freenode_password` verknüpft:
|
||||||
|
|
||||||
----
|
----
|
||||||
/secure set libera_password xxxxxx
|
/secure set freenode_password xxxxxx
|
||||||
----
|
----
|
||||||
|
|
||||||
Das geschützte Libera-Passwort kann nun in anderen Optionen genutzt werden.
|
Das geschützte Freenode-Passwort kann nun in anderen Optionen genutzt werden.
|
||||||
Dazu wird anstelle des Klartext-Passwortes die Variable
|
Dazu wird anstelle des Klartext-Passwortes die Variable
|
||||||
`+${sec.data.libera_password}+` eingesetzt:
|
`+${sec.data.freenode_password}+` eingesetzt:
|
||||||
|
|
||||||
----
|
----
|
||||||
/set irc.server.libera.sasl_password "${sec.data.libera_password}"
|
/set irc.server.freenode.sasl_password "${sec.data.freenode_password}"
|
||||||
----
|
----
|
||||||
|
|
||||||
Das automatische Betreten (auto-join) von Channels (Chaträume) direkt nach dem
|
Das automatische Betreten (auto-join) von Channels (Chaträume) direkt nach dem
|
||||||
@@ -220,7 +227,7 @@ Verbindungsaufbau zum IRC-Server kann durch den Eintrag der gewünschten Channel
|
|||||||
in folgender Option erreicht werden:
|
in folgender Option erreicht werden:
|
||||||
|
|
||||||
----
|
----
|
||||||
/set irc.server.libera.autojoin "#channel1,#channel2"
|
/set irc.server.freenode.autojoin "#channel1,#channel2"
|
||||||
----
|
----
|
||||||
|
|
||||||
[TIP]
|
[TIP]
|
||||||
@@ -232,28 +239,28 @@ sein kann).
|
|||||||
Mit dem Befehl `/unset` können Server-Optionen zurückgesetzt werden.
|
Mit dem Befehl `/unset` können Server-Optionen zurückgesetzt werden.
|
||||||
Ist eine Server-Option zurückgesetzt, _wirkt_ der entsprechende Vorgabewert
|
Ist eine Server-Option zurückgesetzt, _wirkt_ der entsprechende Vorgabewert
|
||||||
aus dem fall-back-Bereich `irc.server_default.xxx`. So nimmt, beispielsweise
|
aus dem fall-back-Bereich `irc.server_default.xxx`. So nimmt, beispielsweise
|
||||||
nach dem Rücksetzen der Libera-Nicks, diese Server-Option _automatisch_ den Wert
|
nach dem Rücksetzen der Freenode-Nicks, diese Server-Option _automatisch_ den Wert
|
||||||
der entsprechenden fall-back-Option `irc.server_default.nicks` an:
|
der entsprechenden fall-back-Option `irc.server_default.nicks` an:
|
||||||
|
|
||||||
----
|
----
|
||||||
/unset irc.server.libera.nicks
|
/unset irc.server.freenode.nicks
|
||||||
----
|
----
|
||||||
|
|
||||||
*Andere Optionen:*
|
*Andere Optionen:*
|
||||||
Werte anderer Server-Optionen (`xxx`) können festgelegt werden mit:
|
Werte anderer Server-Optionen (`xxx`) können festgelegt werden mit:
|
||||||
|
|
||||||
----
|
----
|
||||||
/set irc.server.libera.xxx Wert
|
/set irc.server.freenode.xxx Wert
|
||||||
----
|
----
|
||||||
|
|
||||||
[[connect_to_irc_server]]
|
[[connect_to_irc_server]]
|
||||||
== Verbinden mit dem IRC-Server
|
== Verbinden mit dem IRC-Server
|
||||||
|
|
||||||
----
|
----
|
||||||
/connect libera
|
/connect freenode
|
||||||
----
|
----
|
||||||
|
|
||||||
Mittels obigem Befehl stellt WeeChat eine Verbindung zum libera Server
|
Mittels obigem Befehl stellt WeeChat eine Verbindung zum freenode Server
|
||||||
her und betritt automatisch die Kanäle die in der "autojoin" Server-Option
|
her und betritt automatisch die Kanäle die in der "autojoin" Server-Option
|
||||||
aufgeführt sind.
|
aufgeführt sind.
|
||||||
|
|
||||||
|
|||||||
@@ -72,18 +72,13 @@ und die Dokumentation für die Funktion `+hook_process+` in link:weechat_plugin_
|
|||||||
[[languages_specificities]]
|
[[languages_specificities]]
|
||||||
=== Besonderheiten der einzelnen Skriptsprachen
|
=== Besonderheiten der einzelnen Skriptsprachen
|
||||||
|
|
||||||
[[language_python]]
|
|
||||||
==== Python
|
==== Python
|
||||||
|
|
||||||
[[python_module]]
|
|
||||||
===== Module
|
===== Module
|
||||||
|
|
||||||
WeeChat definiert ein `weechat` Module welches mittels `import weechat`
|
WeeChat definiert ein `weechat` Module welches mittels `import weechat`
|
||||||
importiert werden muss. +
|
importiert werden muss.
|
||||||
Ein Python-Stub für die WeeChat-API ist im Repository verfügbar:
|
|
||||||
https://raw.githubusercontent.com/weechat/weechat/master/src/plugins/python/weechat.pyi[weechat.pyi].
|
|
||||||
|
|
||||||
[[python_functions]]
|
|
||||||
===== Funktionen
|
===== Funktionen
|
||||||
|
|
||||||
Funktionen werden aufgerufen mittels `+weechat.xxx(arg1, arg2, ...)+`.
|
Funktionen werden aufgerufen mittels `+weechat.xxx(arg1, arg2, ...)+`.
|
||||||
@@ -91,7 +86,6 @@ Funktionen werden aufgerufen mittels `+weechat.xxx(arg1, arg2, ...)+`.
|
|||||||
Die Funktionen `+print*+` werden bei python durch `+prnt*+` ersetzt
|
Die Funktionen `+print*+` werden bei python durch `+prnt*+` ersetzt
|
||||||
(`print` war ein reserviertes Schlüsselwort unter Python 2).
|
(`print` war ein reserviertes Schlüsselwort unter Python 2).
|
||||||
|
|
||||||
[[python_strings]]
|
|
||||||
===== In Callbacks empfangene Zeichen
|
===== In Callbacks empfangene Zeichen
|
||||||
|
|
||||||
Mit Python 3 und WeeChat ≥ 2.7 sind die Zeichenketten in Callbacks
|
Mit Python 3 und WeeChat ≥ 2.7 sind die Zeichenketten in Callbacks
|
||||||
@@ -148,23 +142,18 @@ Mit Python 2, das mittlerweile veraltet ist und nicht mehr verwendet werden soll
|
|||||||
Zeichenkette die an die Callbacks gesendet wird immer vom Typ `str` und kann deshalb bei den
|
Zeichenkette die an die Callbacks gesendet wird immer vom Typ `str` und kann deshalb bei den
|
||||||
oben genannten Fällen, ungültige UTF-8 Daten enthalten.
|
oben genannten Fällen, ungültige UTF-8 Daten enthalten.
|
||||||
|
|
||||||
[[language_perl]]
|
|
||||||
==== Perl
|
==== Perl
|
||||||
|
|
||||||
[[perl_functions]]
|
|
||||||
===== Funktionen
|
===== Funktionen
|
||||||
|
|
||||||
Funktionen werden aufgerufen mittels `+weechat::xxx(arg1, arg2, ...);+`.
|
Funktionen werden aufgerufen mittels `+weechat::xxx(arg1, arg2, ...);+`.
|
||||||
|
|
||||||
[[language_ruby]]
|
|
||||||
==== Ruby
|
==== Ruby
|
||||||
|
|
||||||
[[ruby_init]]
|
|
||||||
===== Initialization
|
===== Initialization
|
||||||
|
|
||||||
Es muss _weechat_init_ definiert werden und darin dann _register_ ausgeführt werden.
|
Es muss _weechat_init_ definiert werden und darin dann _register_ ausgeführt werden.
|
||||||
|
|
||||||
[[ruby_functions]]
|
|
||||||
===== Functions
|
===== Functions
|
||||||
|
|
||||||
Funktionen werden aufgerufen mittels `+Weechat.xxx(arg1, arg2, ...)+`.
|
Funktionen werden aufgerufen mittels `+Weechat.xxx(arg1, arg2, ...)+`.
|
||||||
@@ -189,32 +178,20 @@ Weechat.bar_new("name", "off", "0", "window", "", "left", "vertical", "vertical"
|
|||||||
["default", "default", "default", "default"], "0", "items")
|
["default", "default", "default", "default"], "0", "items")
|
||||||
----
|
----
|
||||||
|
|
||||||
[[language_lua]]
|
|
||||||
==== Lua
|
==== Lua
|
||||||
|
|
||||||
[[lua_functions]]
|
|
||||||
===== Funktionen
|
===== Funktionen
|
||||||
|
|
||||||
Funktionen werden aufgerufen mittels `+weechat.xxx(arg1, arg2, ...)+`.
|
Funktionen werden aufgerufen mittels `+weechat.xxx(arg1, arg2, ...)+`.
|
||||||
|
|
||||||
[[language_tcl]]
|
|
||||||
==== Tcl
|
==== Tcl
|
||||||
|
|
||||||
[[tcl_functions]]
|
|
||||||
===== Funktionen
|
===== Funktionen
|
||||||
|
|
||||||
Funktionen werden aufgerufen mittels `+weechat::xxx arg1 arg2 ...+`.
|
Funktionen werden aufgerufen mittels `+weechat::xxx arg1 arg2 ...+`.
|
||||||
|
|
||||||
Da Tcl nur String-Typen hat, gibt es keinen Null-Typ, der als Argument übergeben werden kann
|
|
||||||
wenn eine Funktion Nullwerte akzeptiert. Um dies zu überwinden, können Sie die Konstante
|
|
||||||
`$::weechat::WEECHAT_NULL` verwenden, das als Nullwert fungiert. Diese Konstante ist definiert
|
|
||||||
als `\uFFFF\uFFFF\uFFFFWEECHAT_NULL\uFFFF\uFFFF\uFFFF`, es ist somit sehr unwahrscheinlich
|
|
||||||
das es ungewollt verwendet wird.
|
|
||||||
|
|
||||||
[[language_guile]]
|
|
||||||
==== Guile (Scheme)
|
==== Guile (Scheme)
|
||||||
|
|
||||||
[[guile_functions]]
|
|
||||||
===== Funktionen
|
===== Funktionen
|
||||||
|
|
||||||
Funktionen werden aufgerufen mittels `+(weechat:xxx arg1 arg2 ...)+`.
|
Funktionen werden aufgerufen mittels `+(weechat:xxx arg1 arg2 ...)+`.
|
||||||
@@ -227,18 +204,14 @@ für andere Funktionen), da die Anzahl der Argumente die zulässige Anzahl in Gu
|
|||||||
* config_new_option
|
* config_new_option
|
||||||
* bar_new
|
* bar_new
|
||||||
|
|
||||||
[[language_javascript]]
|
|
||||||
==== JavaScript
|
==== JavaScript
|
||||||
|
|
||||||
[[javascript_functions]]
|
|
||||||
===== Funktionen
|
===== Funktionen
|
||||||
|
|
||||||
Funktionen werden aufgerufen mittels `+weechat.xxx(arg1, arg2, ...);+`.
|
Funktionen werden aufgerufen mittels `+weechat.xxx(arg1, arg2, ...);+`.
|
||||||
|
|
||||||
[[language_php]]
|
|
||||||
==== PHP
|
==== PHP
|
||||||
|
|
||||||
[[php_functions]]
|
|
||||||
===== Functions
|
===== Functions
|
||||||
|
|
||||||
Funktionen werden aufgerufen mittels `+weechat_xxx(arg1, arg2, ...);+`.
|
Funktionen werden aufgerufen mittels `+weechat_xxx(arg1, arg2, ...);+`.
|
||||||
@@ -249,11 +222,11 @@ Funktionen werden aufgerufen mittels `+weechat_xxx(arg1, arg2, ...);+`.
|
|||||||
Ein WeeChat-Skript muss sich bei WeeChat "registrieren". Dazu muss das Skript
|
Ein WeeChat-Skript muss sich bei WeeChat "registrieren". Dazu muss das Skript
|
||||||
zuerst die "register" Funktion ausführen.
|
zuerst die "register" Funktion ausführen.
|
||||||
|
|
||||||
Prototyp (Python):
|
Prototyp:
|
||||||
|
|
||||||
[source,python]
|
[source,python]
|
||||||
----
|
----
|
||||||
def register(name: str, author: str, version: str, license: str, description: str, shutdown_function: str, charset: str) -> int: ...
|
weechat.register(Name, Author, Version, Lizenz, Beschreibung, Shutdown_Funktion, Zeichensatz)
|
||||||
----
|
----
|
||||||
|
|
||||||
Argumente:
|
Argumente:
|
||||||
@@ -376,7 +349,7 @@ anlegen, der in das Verzeichnis _Skriptsprache/autoload_ zeigt.
|
|||||||
Ein Beispiel für ein Python-Skript:
|
Ein Beispiel für ein Python-Skript:
|
||||||
|
|
||||||
----
|
----
|
||||||
$ cd ~/.local/share/weechat/python/autoload
|
$ cd ~/.weechat/python/autoload
|
||||||
$ ln -s ../script.py
|
$ ln -s ../script.py
|
||||||
----
|
----
|
||||||
|
|
||||||
@@ -566,7 +539,7 @@ lesen Sie bitte link:weechat_plugin_api.en.html[WeeChat Plugin API Reference] (E
|
|||||||
|
|
||||||
Liste der Skript API Funktionen:
|
Liste der Skript API Funktionen:
|
||||||
|
|
||||||
[width="100%",cols="1,5",options="header"]
|
[width="100%",cols="1,3",options="header"]
|
||||||
|===
|
|===
|
||||||
| Kategorie | Funktionen
|
| Kategorie | Funktionen
|
||||||
|
|
||||||
@@ -666,7 +639,6 @@ Liste der Skript API Funktionen:
|
|||||||
print (für Python: prnt) +
|
print (für Python: prnt) +
|
||||||
print_date_tags (für Python: prnt_date_tags) +
|
print_date_tags (für Python: prnt_date_tags) +
|
||||||
print_y (für Python: prnt_y) +
|
print_y (für Python: prnt_y) +
|
||||||
print_y_date_tags (für Python: prnt_y_date_tags) +
|
|
||||||
log_print
|
log_print
|
||||||
|
|
||||||
| Hooks |
|
| Hooks |
|
||||||
@@ -697,7 +669,6 @@ Liste der Skript API Funktionen:
|
|||||||
|
|
||||||
| Buffer |
|
| Buffer |
|
||||||
buffer_new +
|
buffer_new +
|
||||||
buffer_new_props +
|
|
||||||
current_buffer +
|
current_buffer +
|
||||||
buffer_search +
|
buffer_search +
|
||||||
buffer_search_main +
|
buffer_search_main +
|
||||||
@@ -816,63 +787,63 @@ Liste der Skript API Funktionen:
|
|||||||
|
|
||||||
Liste der Konstanten in Skript API:
|
Liste der Konstanten in Skript API:
|
||||||
|
|
||||||
[width="100%",cols="1,5",options="header"]
|
[width="100%",cols="1,3",options="header"]
|
||||||
|===
|
|===
|
||||||
| Kategorie | Konstanten
|
| Kategorie | Konstanten
|
||||||
|
|
||||||
| return codes |
|
| return codes |
|
||||||
`WEECHAT_RC_OK` (integer) +
|
WEECHAT_RC_OK +
|
||||||
`WEECHAT_RC_OK_EAT` (integer) +
|
WEECHAT_RC_OK_EAT +
|
||||||
`WEECHAT_RC_ERROR` (integer)
|
WEECHAT_RC_ERROR
|
||||||
|
|
||||||
| Konfigurationsdatei |
|
| Konfigurationsdatei |
|
||||||
`WEECHAT_CONFIG_READ_OK` (integer) +
|
WEECHAT_CONFIG_READ_OK +
|
||||||
`WEECHAT_CONFIG_READ_MEMORY_ERROR` (integer) +
|
WEECHAT_CONFIG_READ_MEMORY_ERROR +
|
||||||
`WEECHAT_CONFIG_READ_FILE_NOT_FOUND` (integer) +
|
WEECHAT_CONFIG_READ_FILE_NOT_FOUND +
|
||||||
`WEECHAT_CONFIG_WRITE_OK` (integer) +
|
WEECHAT_CONFIG_WRITE_OK +
|
||||||
`WEECHAT_CONFIG_WRITE_ERROR` (integer) +
|
WEECHAT_CONFIG_WRITE_ERROR +
|
||||||
`WEECHAT_CONFIG_WRITE_MEMORY_ERROR` (integer) +
|
WEECHAT_CONFIG_WRITE_MEMORY_ERROR +
|
||||||
`WEECHAT_CONFIG_OPTION_SET_OK_CHANGED` (integer) +
|
WEECHAT_CONFIG_OPTION_SET_OK_CHANGED +
|
||||||
`WEECHAT_CONFIG_OPTION_SET_OK_SAME_VALUE` (integer) +
|
WEECHAT_CONFIG_OPTION_SET_OK_SAME_VALUE +
|
||||||
`WEECHAT_CONFIG_OPTION_SET_ERROR` (integer) +
|
WEECHAT_CONFIG_OPTION_SET_ERROR +
|
||||||
`WEECHAT_CONFIG_OPTION_SET_OPTION_NOT_FOUND` (integer) +
|
WEECHAT_CONFIG_OPTION_SET_OPTION_NOT_FOUND +
|
||||||
`WEECHAT_CONFIG_OPTION_UNSET_OK_NO_RESET` (integer) +
|
WEECHAT_CONFIG_OPTION_UNSET_OK_NO_RESET +
|
||||||
`WEECHAT_CONFIG_OPTION_UNSET_OK_RESET` (integer) +
|
WEECHAT_CONFIG_OPTION_UNSET_OK_RESET +
|
||||||
`WEECHAT_CONFIG_OPTION_UNSET_OK_REMOVED` (integer) +
|
WEECHAT_CONFIG_OPTION_UNSET_OK_REMOVED +
|
||||||
`WEECHAT_CONFIG_OPTION_UNSET_ERROR` (integer)
|
WEECHAT_CONFIG_OPTION_UNSET_ERROR
|
||||||
|
|
||||||
| sortierte Listen |
|
| sortierte Listen |
|
||||||
`WEECHAT_LIST_POS_SORT` (string) +
|
WEECHAT_LIST_POS_SORT +
|
||||||
`WEECHAT_LIST_POS_BEGINNING` (string) +
|
WEECHAT_LIST_POS_BEGINNING +
|
||||||
`WEECHAT_LIST_POS_END` (string)
|
WEECHAT_LIST_POS_END
|
||||||
|
|
||||||
| Hotlist |
|
| Hotlist |
|
||||||
`WEECHAT_HOTLIST_LOW` (string) +
|
WEECHAT_HOTLIST_LOW +
|
||||||
`WEECHAT_HOTLIST_MESSAGE` (string) +
|
WEECHAT_HOTLIST_MESSAGE +
|
||||||
`WEECHAT_HOTLIST_PRIVATE` (string) +
|
WEECHAT_HOTLIST_PRIVATE +
|
||||||
`WEECHAT_HOTLIST_HIGHLIGHT` (string)
|
WEECHAT_HOTLIST_HIGHLIGHT
|
||||||
|
|
||||||
| hook Prozesse |
|
| hook Prozesse |
|
||||||
`WEECHAT_HOOK_PROCESS_RUNNING` (integer) +
|
WEECHAT_HOOK_PROCESS_RUNNING +
|
||||||
`WEECHAT_HOOK_PROCESS_ERROR` (integer)
|
WEECHAT_HOOK_PROCESS_ERROR
|
||||||
|
|
||||||
| hook Connect |
|
| hook Connect |
|
||||||
`WEECHAT_HOOK_CONNECT_OK` (integer) +
|
WEECHAT_HOOK_CONNECT_OK +
|
||||||
`WEECHAT_HOOK_CONNECT_ADDRESS_NOT_FOUND` (integer) +
|
WEECHAT_HOOK_CONNECT_ADDRESS_NOT_FOUND +
|
||||||
`WEECHAT_HOOK_CONNECT_IP_ADDRESS_NOT_FOUND` (integer) +
|
WEECHAT_HOOK_CONNECT_IP_ADDRESS_NOT_FOUND +
|
||||||
`WEECHAT_HOOK_CONNECT_CONNECTION_REFUSED` (integer) +
|
WEECHAT_HOOK_CONNECT_CONNECTION_REFUSED +
|
||||||
`WEECHAT_HOOK_CONNECT_PROXY_ERROR` (integer) +
|
WEECHAT_HOOK_CONNECT_PROXY_ERROR +
|
||||||
`WEECHAT_HOOK_CONNECT_LOCAL_HOSTNAME_ERROR` (integer) +
|
WEECHAT_HOOK_CONNECT_LOCAL_HOSTNAME_ERROR +
|
||||||
`WEECHAT_HOOK_CONNECT_GNUTLS_INIT_ERROR` (integer) +
|
WEECHAT_HOOK_CONNECT_GNUTLS_INIT_ERROR +
|
||||||
`WEECHAT_HOOK_CONNECT_GNUTLS_HANDSHAKE_ERROR` (integer) +
|
WEECHAT_HOOK_CONNECT_GNUTLS_HANDSHAKE_ERROR +
|
||||||
`WEECHAT_HOOK_CONNECT_MEMORY_ERROR` (integer) +
|
WEECHAT_HOOK_CONNECT_MEMORY_ERROR +
|
||||||
`WEECHAT_HOOK_CONNECT_TIMEOUT` (integer) +
|
WEECHAT_HOOK_CONNECT_TIMEOUT +
|
||||||
`WEECHAT_HOOK_CONNECT_SOCKET_ERROR` (integer)
|
WEECHAT_HOOK_CONNECT_SOCKET_ERROR
|
||||||
|
|
||||||
| hook Signal |
|
| hook Signal |
|
||||||
`WEECHAT_HOOK_SIGNAL_STRING` (string) +
|
WEECHAT_HOOK_SIGNAL_STRING +
|
||||||
`WEECHAT_HOOK_SIGNAL_INT` (string) +
|
WEECHAT_HOOK_SIGNAL_INT +
|
||||||
`WEECHAT_HOOK_SIGNAL_POINTER` (string)
|
WEECHAT_HOOK_SIGNAL_POINTER
|
||||||
|===
|
|===
|
||||||
|
|
||||||
[[common_tasks]]
|
[[common_tasks]]
|
||||||
@@ -901,7 +872,7 @@ Beispiele:
|
|||||||
weechat.prnt("", "Hallo")
|
weechat.prnt("", "Hallo")
|
||||||
|
|
||||||
# Gibt den Text "Hallo" im Core Buffer aus, schreibt diesen aber nicht in die Protokolldatei
|
# Gibt den Text "Hallo" im Core Buffer aus, schreibt diesen aber nicht in die Protokolldatei
|
||||||
# (nur Version ≥ 0.3.3)
|
# (nur Version >= 0.3.3)
|
||||||
weechat.prnt_date_tags("", 0, "no_log", "hello")
|
weechat.prnt_date_tags("", 0, "no_log", "hello")
|
||||||
|
|
||||||
# Gibt den Präfix "==>" gefolgt von dem Text "Hallo" im aktuellen Buffer aus
|
# Gibt den Präfix "==>" gefolgt von dem Text "Hallo" im aktuellen Buffer aus
|
||||||
@@ -915,13 +886,13 @@ weechat.prnt("", "%sfalsche Anzahl an Argumenten" % weechat.prefix("error"))
|
|||||||
weechat.prnt("", "Text %sGeld auf Blau" % weechat.color("yellow,blue"))
|
weechat.prnt("", "Text %sGeld auf Blau" % weechat.color("yellow,blue"))
|
||||||
|
|
||||||
# sucht einen bestimmten Buffer und gibt dort einen Text aus
|
# sucht einen bestimmten Buffer und gibt dort einen Text aus
|
||||||
# (der Name des Buffers muss folgendes Format besitzen Erweiterung.Name, Beispiel: "irc.libera.#weechat")
|
# (der Name des Buffers muss folgendes Format besitzen Erweiterung.Name, Beispiel: "irc.freenode.#weechat")
|
||||||
buffer = weechat.buffer_search("irc", "libera.#weechat")
|
buffer = weechat.buffer_search("irc", "freenode.#weechat")
|
||||||
weechat.prnt(buffer, "Nachricht im #weechat Channel")
|
weechat.prnt(buffer, "Nachricht im #weechat Channel")
|
||||||
|
|
||||||
# die zweite Möglichkeit einen Buffer zu suchen (empfohlen!)
|
# die zweite Möglichkeit einen Buffer zu suchen (empfohlen!)
|
||||||
# (bitte beachten Sie dass der Server- und Channelname durch ein Komma zu trennen sind)
|
# (bitte beachten Sie dass der Server- und Channelname durch ein Komma zu trennen sind)
|
||||||
buffer = weechat.info_get("irc_buffer", "libera,#weechat")
|
buffer = weechat.info_get("irc_buffer", "freenode,#weechat")
|
||||||
weechat.prnt(buffer, "Nachricht im #weechat Channel")
|
weechat.prnt(buffer, "Nachricht im #weechat Channel")
|
||||||
----
|
----
|
||||||
|
|
||||||
@@ -943,7 +914,7 @@ Beispiele:
|
|||||||
weechat.command("", "/help")
|
weechat.command("", "/help")
|
||||||
|
|
||||||
# sendet den Text "Hallo" in den IRC Channel #weechat (die Teilnehmer des Channels sehen diese Nachricht)
|
# sendet den Text "Hallo" in den IRC Channel #weechat (die Teilnehmer des Channels sehen diese Nachricht)
|
||||||
buffer = weechat.info_get("irc_buffer", "libera,#weechat")
|
buffer = weechat.info_get("irc_buffer", "freenode,#weechat")
|
||||||
weechat.command(buffer, "Hallo")
|
weechat.command(buffer, "Hallo")
|
||||||
----
|
----
|
||||||
|
|
||||||
@@ -1081,53 +1052,26 @@ Mit der Funktion `+hook_process+` kann ein Hintergrundprozess gestartet werden.
|
|||||||
Der Callback wird aufgerufen sobald der Hintergrundprozess abgearbeitet wurde.
|
Der Callback wird aufgerufen sobald der Hintergrundprozess abgearbeitet wurde.
|
||||||
Dies kann auch mehrfach der Fall sein.
|
Dies kann auch mehrfach der Fall sein.
|
||||||
|
|
||||||
Für den letzten Aufruf des Callback wird _return_code_ auf 0 oder einen positiven
|
Für den letzten Aufruf des Callback wird _rc_ auf 0 oder einen positiven Wert
|
||||||
Wert gesetzt. Dies ist der Return Code des Befehls.
|
gesetzt. Dies ist der Return Code des Befehls.
|
||||||
|
|
||||||
Beispiele:
|
Beispiele:
|
||||||
|
|
||||||
[source,python]
|
[source,python]
|
||||||
----
|
----
|
||||||
def my_process_cb(data, command, return_code, out, err):
|
process_output = ""
|
||||||
if return_code == weechat.WEECHAT_HOOK_PROCESS_ERROR:
|
|
||||||
weechat.prnt("", "Error with command '%s'" % command)
|
def my_process_cb(data, command, rc, out, err):
|
||||||
return weechat.WEECHAT_RC_OK
|
global process_output
|
||||||
if return_code >= 0:
|
if out != "":
|
||||||
weechat.prnt("", "return_code = %d" % return_code)
|
process_output += out
|
||||||
if out:
|
if int(rc) >= 0:
|
||||||
weechat.prnt("", "stdout: %s" % out)
|
weechat.prnt("", process_output)
|
||||||
if err:
|
|
||||||
weechat.prnt("", "stderr: %s" % err)
|
|
||||||
return weechat.WEECHAT_RC_OK
|
return weechat.WEECHAT_RC_OK
|
||||||
|
|
||||||
weechat.hook_process("/bin/ls -l /etc", 10 * 1000, "my_process_cb", "")
|
weechat.hook_process("/bin/ls -l /etc", 10 * 1000, "my_process_cb", "")
|
||||||
----
|
----
|
||||||
|
|
||||||
Sie können statt eines externen Befehls auch direkt eine
|
|
||||||
Skriptfunktion aufrufen, die Weechat blockieren würde:
|
|
||||||
|
|
||||||
[source,python]
|
|
||||||
----
|
|
||||||
def get_status(data):
|
|
||||||
# do something blocking...
|
|
||||||
# ...
|
|
||||||
return "this is the result"
|
|
||||||
|
|
||||||
def my_process_cb(data, command, return_code, out, err):
|
|
||||||
if return_code == weechat.WEECHAT_HOOK_PROCESS_ERROR:
|
|
||||||
weechat.prnt("", "Error with command '%s'" % command)
|
|
||||||
return weechat.WEECHAT_RC_OK
|
|
||||||
if return_code >= 0:
|
|
||||||
weechat.prnt("", "return_code = %d" % return_code)
|
|
||||||
if out:
|
|
||||||
weechat.prnt("", "stdout: %s" % out)
|
|
||||||
if err:
|
|
||||||
weechat.prnt("", "stderr: %s" % err)
|
|
||||||
return weechat.WEECHAT_RC_OK
|
|
||||||
|
|
||||||
hook = weechat.hook_process("func:get_status", 5000, "my_process_cb", "")
|
|
||||||
----
|
|
||||||
|
|
||||||
[[url_transfer]]
|
[[url_transfer]]
|
||||||
==== URL Übertragung
|
==== URL Übertragung
|
||||||
|
|
||||||
@@ -1142,15 +1086,15 @@ dabei in der Callback-Variable "out" gesichert (Standardausgabe des Prozesses):
|
|||||||
|
|
||||||
[source,python]
|
[source,python]
|
||||||
----
|
----
|
||||||
# Display latest stable version of WeeChat.
|
# Zeigt die aktuelle stabile Version von WeeChat an.
|
||||||
weechat_latest_version = ""
|
weechat_version = ""
|
||||||
|
|
||||||
def weechat_process_cb(data, command, return_code, out, err):
|
def weechat_process_cb(data, command, rc, out, err):
|
||||||
global weechat_latest_version
|
global weechat_version
|
||||||
if out:
|
if out != "":
|
||||||
weechat_latest_version += out
|
weechat_version += out
|
||||||
if return_code >= 0:
|
if int(rc) >= 0:
|
||||||
weechat.prnt("", "Latest WeeChat version: %s" % weechat_latest_version)
|
weechat.prnt("", "aktuelle stabile WeeChat-Version: %s" % weechat_version)
|
||||||
return weechat.WEECHAT_RC_OK
|
return weechat.WEECHAT_RC_OK
|
||||||
|
|
||||||
weechat.hook_process("url:https://weechat.org/dev/info/stable/",
|
weechat.hook_process("url:https://weechat.org/dev/info/stable/",
|
||||||
@@ -1165,9 +1109,9 @@ WeeChat Entwicklerpaket in die Datei _/tmp/weechat-devel.tar.gz_ gesichert:
|
|||||||
|
|
||||||
[source,python]
|
[source,python]
|
||||||
----
|
----
|
||||||
def my_process_cb(data, command, return_code, out, err):
|
def my_process_cb(data, command, rc, out, err):
|
||||||
if return_code >= 0:
|
if int(rc) >= 0:
|
||||||
weechat.prnt("", "End of transfer (return code = %d)" % return_code)
|
weechat.prnt("", "End of transfer (rc=%s)" % rc)
|
||||||
return weechat.WEECHAT_RC_OK
|
return weechat.WEECHAT_RC_OK
|
||||||
|
|
||||||
weechat.hook_process_hashtable("url:https://weechat.org/files/src/weechat-devel.tar.gz",
|
weechat.hook_process_hashtable("url:https://weechat.org/files/src/weechat-devel.tar.gz",
|
||||||
@@ -1277,7 +1221,7 @@ xxx,irc_raw_in2_yyy::
|
|||||||
[source,python]
|
[source,python]
|
||||||
----
|
----
|
||||||
def join_cb(data, signal, signal_data):
|
def join_cb(data, signal, signal_data):
|
||||||
# Das Signal lautet: "libera,irc_in2_join"
|
# Das Signal lautet: "freenode,irc_in2_join"
|
||||||
# signal_data enthält die IRC Nachricht, zum Beispiel: ":nick!user@host JOIN :#channel"
|
# signal_data enthält die IRC Nachricht, zum Beispiel: ":nick!user@host JOIN :#channel"
|
||||||
server = signal.split(",")[0]
|
server = signal.split(",")[0]
|
||||||
msg = weechat.info_get_hashtable("irc_message_parse", {"message": signal_data})
|
msg = weechat.info_get_hashtable("irc_message_parse", {"message": signal_data})
|
||||||
@@ -1331,80 +1275,71 @@ Das Ergebnis ist eine Hashtabelle mit folgenden Schlüsseln
|
|||||||
(das Beispiel bezieht sich auf folgende IRC Nachricht:
|
(das Beispiel bezieht sich auf folgende IRC Nachricht:
|
||||||
`+@time=2015-06-27T16:40:35.000Z :nick!user@host PRIVMSG #weechat :hello!+`):
|
`+@time=2015-06-27T16:40:35.000Z :nick!user@host PRIVMSG #weechat :hello!+`):
|
||||||
|
|
||||||
[width="100%",cols="3,^2,10,7",options="header"]
|
[width="100%",cols="1,^2,10,8",options="header"]
|
||||||
|===
|
|===
|
||||||
| Schlüssel | Seit WeeChat ^(1)^ | Beschreibung | Beispiel
|
| Schlüssel | WeeChat version | Beschreibung | Beispiel
|
||||||
|
|
||||||
| Tags | 0.4.0 |
|
| Tags | ≥ 0.4.0 |
|
||||||
Tags in der Nachricht (kann leer sein). |
|
Tags in der Nachricht (kann leer sein). |
|
||||||
`+time=2015-06-27T16:40:35.000Z+`
|
`+time=2015-06-27T16:40:35.000Z+`
|
||||||
|
|
||||||
| tag_xxx | 3.3 |
|
| message_without_tags | ≥ 0.4.0 |
|
||||||
Wert des Tags "xxx" ohne Escapezeichen (ein Schlüssel pro Tag). |
|
|
||||||
`+2015-06-27T16:40:35.000Z+`
|
|
||||||
|
|
||||||
| message_without_tags | 0.4.0 |
|
|
||||||
Die IRC Nachricht ohne Tags (wie eine Nachricht ohne Tags). |
|
Die IRC Nachricht ohne Tags (wie eine Nachricht ohne Tags). |
|
||||||
`+:nick!user@host PRIVMSG #weechat :hello!+`
|
`+:nick!user@host PRIVMSG #weechat :hello!+`
|
||||||
|
|
||||||
| nick | 0.3.4 |
|
| nick | ≥ 0.3.4 |
|
||||||
der ursprüngliche Nick. |
|
der ursprüngliche Nick. |
|
||||||
`+nick+`
|
`+nick+`
|
||||||
|
|
||||||
| user | 2.7 |
|
| user | ≥ 2.7 |
|
||||||
der ursprüngliche Benutzer. |
|
der ursprüngliche Benutzer. |
|
||||||
`+user+`
|
`+user+`
|
||||||
|
|
||||||
| host | 0.3.4 |
|
| host | ≥ 0.3.4 |
|
||||||
der ursprüngliche Host (beinhaltet den Nick). |
|
der ursprüngliche Host (beinhaltet den Nick). |
|
||||||
`+nick!user@host+`
|
`+nick!user@host+`
|
||||||
|
|
||||||
| command | 0.3.4 |
|
| command | ≥ 0.3.4 |
|
||||||
der Befehl (_PRIVMSG_, _NOTICE_, ...). |
|
der Befehl (_PRIVMSG_, _NOTICE_, ...). |
|
||||||
`+PRIVMSG+`
|
`+PRIVMSG+`
|
||||||
|
|
||||||
| channel | 0.3.4 |
|
| channel | ≥ 0.3.4 |
|
||||||
der Zielchanne.l|
|
der Zielchanne.l|
|
||||||
`+#weechat+`
|
`+#weechat+`
|
||||||
|
|
||||||
| arguments | 0.3.4 |
|
| arguments | ≥ 0.3.4 |
|
||||||
das Argument des Befehls (beinhaltet den Channel). |
|
das Argument des Befehls (beinhaltet den Channel). |
|
||||||
`+#weechat :hello!+`
|
`+#weechat :hello!+`
|
||||||
|
|
||||||
| text | 1.3 |
|
| text | ≥ 1.3 |
|
||||||
der Text (zum Beispiel eine Nachricht eines Users). |
|
der Text (zum Beispiel eine Nachricht eines Users). |
|
||||||
`+hello!+`
|
`+hello!+`
|
||||||
|
|
||||||
| pos_command | 1.3 |
|
| pos_command | ≥ 1.3 |
|
||||||
Index von _command_ innerhalb einer Nachricht ("-1" falls _command_ nicht gefunden wird). |
|
Index von _command_ innerhalb einer Nachricht ("-1" falls _command_ nicht gefunden wird). |
|
||||||
`+47+`
|
`+47+`
|
||||||
|
|
||||||
| pos_arguments | 1.3 |
|
| pos_arguments | ≥ 1.3 |
|
||||||
Index von_arguments_ innerhalb einer Nachricht ("-1" falls _arguments_ nicht gefunden wird). |
|
Index von_arguments_ innerhalb einer Nachricht ("-1" falls _arguments_ nicht gefunden wird). |
|
||||||
`+55+`
|
`+55+`
|
||||||
|
|
||||||
| pos_channel | 1.3 |
|
| pos_channel | ≥ 1.3 |
|
||||||
Index von _channel_ innerhalb einer Nachricht ("-1" falls _channel_ nicht gefunden wird). |
|
Index von _channel_ innerhalb einer Nachricht ("-1" falls _channel_ nicht gefunden wird). |
|
||||||
`+55+`
|
`+55+`
|
||||||
|
|
||||||
| pos_text | 1.3 |
|
| pos_text | ≥ 1.3 |
|
||||||
Index von _text_ innerhalb einer Nachricht ("-1" falls _text_ nicht gefunden wird). |
|
Index von _text_ innerhalb einer Nachricht ("-1" falls _text_ nicht gefunden wird). |
|
||||||
`+65+`
|
`+65+`
|
||||||
|===
|
|===
|
||||||
|
|
||||||
[NOTE]
|
|
||||||
^(1)^ Der Schlüssel wurde mit dieser WeeChat Version eingeführt.
|
|
||||||
|
|
||||||
[source,python]
|
[source,python]
|
||||||
----
|
----
|
||||||
dict = weechat.info_get_hashtable(
|
dict = weechat.info_get_hashtable(
|
||||||
"irc_message_parse",
|
"irc_message_parse",
|
||||||
{"message": "@time=2015-06-27T16:40:35.000Z;tag2=value\\sspace :nick!user@host PRIVMSG #weechat :hello!"})
|
{"message": "@time=2015-06-27T16:40:35.000Z :nick!user@host PRIVMSG #weechat :hello!"})
|
||||||
|
|
||||||
# dict == {
|
# dict == {
|
||||||
# "tags": "time=2015-06-27T16:40:35.000Z;tag2=value\\sspace",
|
# "tags": "time=2015-06-27T16:40:35.000Z",
|
||||||
# "tag_time": "2015-06-27T16:40:35.000Z",
|
|
||||||
# "tag_tag2": "value space",
|
|
||||||
# "message_without_tags": ":nick!user@host PRIVMSG #weechat :hello!",
|
# "message_without_tags": ":nick!user@host PRIVMSG #weechat :hello!",
|
||||||
# "nick": "nick",
|
# "nick": "nick",
|
||||||
# "user": "user",
|
# "user": "user",
|
||||||
@@ -1413,10 +1348,10 @@ dict = weechat.info_get_hashtable(
|
|||||||
# "channel": "#weechat",
|
# "channel": "#weechat",
|
||||||
# "arguments": "#weechat :hello!",
|
# "arguments": "#weechat :hello!",
|
||||||
# "text": "hello!",
|
# "text": "hello!",
|
||||||
# "pos_command": "65",
|
# "pos_command": "47",
|
||||||
# "pos_arguments": "73",
|
# "pos_arguments": "55",
|
||||||
# "pos_channel": "73",
|
# "pos_channel": "55",
|
||||||
# "pos_text": "83",
|
# "pos_text": "65",
|
||||||
# }
|
# }
|
||||||
----
|
----
|
||||||
|
|
||||||
@@ -1458,8 +1393,8 @@ weechat.prnt("", "Version %s" % weechat.info_get("version", ""))
|
|||||||
|
|
||||||
[source,python]
|
[source,python]
|
||||||
----
|
----
|
||||||
# Zum Beispiel, das WeeChat-Konfigurationsverzeichnis: "/home/user/.config/weechat"
|
# WeeChat Hauptverzeichnis, zum Beispiel: "/home/xxxx/.weechat"
|
||||||
weechat.prnt("", "WeeChat config dir: %s" % weechat.info_get("weechat_config_dir", ""))
|
weechat.prnt("", "WeeChat Hauptverzeichnis: %s" % weechat.info_get("weechat_dir", ""))
|
||||||
|
|
||||||
# Inaktivität der Tastatur
|
# Inaktivität der Tastatur
|
||||||
weechat.prnt("", "Tastatur ist seit %s Sekunden nicht mehr betätigt worden" % weechat.info_get("inactivity", ""))
|
weechat.prnt("", "Tastatur ist seit %s Sekunden nicht mehr betätigt worden" % weechat.info_get("inactivity", ""))
|
||||||
|
|||||||
@@ -0,0 +1,148 @@
|
|||||||
|
= WeeChat Anleitung für Testpersonen
|
||||||
|
:author: Sébastien Helleu
|
||||||
|
:email: flashcode@flashtux.org
|
||||||
|
:lang: de
|
||||||
|
:toc: left
|
||||||
|
:toc-title: Inhaltsverzeichnis
|
||||||
|
:sectnums:
|
||||||
|
:docinfo1:
|
||||||
|
|
||||||
|
|
||||||
|
Übersetzer:
|
||||||
|
|
||||||
|
* Juergen Descher <jhdl@gmx.net>, 2009
|
||||||
|
* Nils Görs <weechatter@arcor.de>, 2009-2016
|
||||||
|
|
||||||
|
|
||||||
|
[[purpose]]
|
||||||
|
== Intention
|
||||||
|
|
||||||
|
Viele dankbare Anwender fragen uns wie sie bei der Entwicklung von WeeChat
|
||||||
|
helfen können. Der einfachste (aber auch der kniffligste) Weg uns zu helfen ist:
|
||||||
|
testen!
|
||||||
|
|
||||||
|
Testen ist ein sehr wichtiger Teil der Programmentwicklung und sollte daher
|
||||||
|
nicht unterbewertet werden. Wenn neue Funktionen implementiert wurden dann
|
||||||
|
müssen diese getestet werden. Für manche Funktionen gibt es sehr viele
|
||||||
|
verschiedene Problemstellungen, oder diese sind äußerst Umfangreich. Dadurch
|
||||||
|
können die Entwickler nicht jede einzelne Variante ausprobieren.
|
||||||
|
|
||||||
|
Ein Beispiel: Eine berüchtigte Zeichensatz-Erweiterung wurde in WeeChat 0.2.2
|
||||||
|
eingeführt. Keiner von uns, Entwickler, Mithelfende und Tester, nutzten Channels
|
||||||
|
in denen länderspezifische Zeichen im eigenen Namen Verwendung fanden. Somit wurde
|
||||||
|
die Version 0.2.2 freigegeben und wir bekamen daraufhin eine Flut von Beschwerden
|
||||||
|
durch russischen User, bei denen der Fehler sichtbar war. Hätten wir mehr Tester,
|
||||||
|
dann sollte so etwas nicht mehr passieren.
|
||||||
|
|
||||||
|
Eine stabile Version von WeeChat zu testen bringt uns leider nicht weiter da die
|
||||||
|
Entwickler in der Zwischenzeit neue Funktionen implementiert haben und vermutlich
|
||||||
|
alte Fehler schon behoben wurden.
|
||||||
|
|
||||||
|
|
||||||
|
[[prepare_system]]
|
||||||
|
== Bereite Dein System vor
|
||||||
|
|
||||||
|
Es wäre uns schon sehr damit geholfen wenn Du Linux _core_ Dateien aktivieren würdest.
|
||||||
|
Falls WeeChat abstürzen sollte wird eine Datei Namens _core_ erzeugt. Diese Datei
|
||||||
|
beinhaltet viele nützliche Debug-Informationen um das genaue Problem in WeeChat
|
||||||
|
zu lokalisieren.
|
||||||
|
|
||||||
|
Falls Du die _bash_ als shell benutzt, dann ergänze Deine _~/.bashrc_ durch folgende
|
||||||
|
Zeile:
|
||||||
|
|
||||||
|
----
|
||||||
|
ulimit -c unlimited
|
||||||
|
----
|
||||||
|
|
||||||
|
|
||||||
|
[[download]]
|
||||||
|
== Besorge Dir die Entwickler-Version
|
||||||
|
|
||||||
|
aktueller Programmcode (mit den aktuellen Fehlern und Funktionen) ist im GIT Repository
|
||||||
|
gespeichert.
|
||||||
|
|
||||||
|
Du könntest Dich dazu entscheiden es manuell zu bauen (empfohlen):
|
||||||
|
|
||||||
|
* die GIT Version kann parallel zur stabilen Version kompiliert und installiert
|
||||||
|
werden.
|
||||||
|
* Du benötigst keine Root-Rechte, und opfern brauchst Du Deine stabile Version
|
||||||
|
von WeeChat auch nicht.
|
||||||
|
|
||||||
|
[[get_sources]]
|
||||||
|
=== Beschaffe und baue die Quellen
|
||||||
|
|
||||||
|
Erstelle zuerst einen neuen Ordner, z.B. _weechat-git_:
|
||||||
|
|
||||||
|
----
|
||||||
|
$ mkdir ~/weechat-git
|
||||||
|
$ cd ~/weechat-git
|
||||||
|
----
|
||||||
|
|
||||||
|
Falls Du git installiert hast, clone das git Repository (empfohlen):
|
||||||
|
|
||||||
|
----
|
||||||
|
$ git clone https://github.com/weechat/weechat.git
|
||||||
|
$ cd weechat
|
||||||
|
----
|
||||||
|
|
||||||
|
[NOTE]
|
||||||
|
Um auf den aktuellen Stand zu kommen verwendest Du z.B. `git pull` in
|
||||||
|
diesem Ordner.
|
||||||
|
|
||||||
|
Ansonsten kannst Du das _Entwickler-Paket_ herunterladen und entpacken:
|
||||||
|
|
||||||
|
----
|
||||||
|
$ wget https://weechat.org/files/src/weechat-devel.tar.bz2
|
||||||
|
$ tar xvjf weechat-devel.tar.bz2
|
||||||
|
$ cd weechat-devel
|
||||||
|
----
|
||||||
|
|
||||||
|
Um die Quellen zu übersetzen, wird CMake empfohlen:
|
||||||
|
|
||||||
|
----
|
||||||
|
$ mkdir build
|
||||||
|
$ cd build
|
||||||
|
$ cmake .. -DCMAKE_INSTALL_PREFIX=$HOME/weechat-git -DWEECHAT_HOME=~/.weechat-dev -DCMAKE_BUILD_TYPE=Debug
|
||||||
|
$ make
|
||||||
|
$ make install
|
||||||
|
----
|
||||||
|
|
||||||
|
Falls Du CMake nicht hast, ist es auch möglich die autotools zu nutzen:
|
||||||
|
|
||||||
|
----
|
||||||
|
$ ./autogen.sh
|
||||||
|
$ ./configure --prefix=$HOME/weechat-git WEECHAT_HOME=~/.weechat-dev
|
||||||
|
$ make
|
||||||
|
$ make install
|
||||||
|
----
|
||||||
|
|
||||||
|
[[install_binary_package]]
|
||||||
|
=== Installieren des Programm-Paketes
|
||||||
|
|
||||||
|
Abhängig Deiner Linux Distribution:
|
||||||
|
|
||||||
|
* Debian: https://weechat.org/download/debian
|
||||||
|
* Gentoo: https://weechat.org/download
|
||||||
|
* ArchLinux: PKGBUILD von https://aur.archlinux.org/
|
||||||
|
* andere: Wissen wir nicht! Eheh.
|
||||||
|
|
||||||
|
|
||||||
|
[[run]]
|
||||||
|
== WeeChat starten
|
||||||
|
|
||||||
|
Die Befehlszeile lautet:
|
||||||
|
|
||||||
|
----
|
||||||
|
$ ~/weechat-git/bin/weechat
|
||||||
|
----
|
||||||
|
|
||||||
|
Immer noch munter? Dann solltest Du jetzt das bekannte Interface sehen und nun
|
||||||
|
prahle vor Anderen, dass Du die neueste WeeChat-Version verwendest :)
|
||||||
|
|
||||||
|
Solltest Du nun ein merkwürdiges Verhalten bemerken (es können diverse Probleme
|
||||||
|
oder Abstürze auftreten oder einfach Dein Bier überkochen) zögere nicht, komme
|
||||||
|
in den Channel _#weechat_ auf _chat.freenode.net_ (A.d.Ü.: englischsprachig) und
|
||||||
|
berichte uns darüber.
|
||||||
|
|
||||||
|
Auch falls alles korrekt funktionieren sollte gib uns trotzdem Bescheid, wir
|
||||||
|
brauchen Deine Rückmeldung!
|
||||||
+2144
-2790
File diff suppressed because it is too large
Load Diff
+3
-5
@@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
#
|
#
|
||||||
# Copyright (C) 2008-2022 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2008-2021 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
|
||||||
@@ -81,7 +81,6 @@ LOCALE_LIST = (
|
|||||||
'it_IT',
|
'it_IT',
|
||||||
'ja_JP',
|
'ja_JP',
|
||||||
'pl_PL',
|
'pl_PL',
|
||||||
'sr_RS',
|
|
||||||
)
|
)
|
||||||
|
|
||||||
# all commands/options/.. of following plugins will produce a file
|
# all commands/options/.. of following plugins will produce a file
|
||||||
@@ -115,7 +114,6 @@ PLUGIN_LIST = {
|
|||||||
'spell': 'o',
|
'spell': 'o',
|
||||||
'trigger': 'o',
|
'trigger': 'o',
|
||||||
'xfer': 'co',
|
'xfer': 'co',
|
||||||
'typing': 'o',
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# options to ignore
|
# options to ignore
|
||||||
@@ -676,7 +674,7 @@ class AutogenDoc():
|
|||||||
for info in sorted(infos[plugin]):
|
for info in sorted(infos[plugin]):
|
||||||
_inf = infos[plugin][info]
|
_inf = infos[plugin][info]
|
||||||
desc = translate(_inf['description'])
|
desc = translate(_inf['description'])
|
||||||
args_desc = translate(_inf['args_description']) or '-'
|
args_desc = translate(_inf['args_description'] or '-')
|
||||||
self.write('| %s | %s | %s | %s\n',
|
self.write('| %s | %s | %s | %s\n',
|
||||||
escape(plugin), escape(info), escape(desc),
|
escape(plugin), escape(info), escape(desc),
|
||||||
escape(args_desc))
|
escape(args_desc))
|
||||||
@@ -696,7 +694,7 @@ class AutogenDoc():
|
|||||||
for info in sorted(infos_hashtable[plugin]):
|
for info in sorted(infos_hashtable[plugin]):
|
||||||
_inh = infos_hashtable[plugin][info]
|
_inh = infos_hashtable[plugin][info]
|
||||||
desc = translate(_inh['description'])
|
desc = translate(_inh['description'])
|
||||||
args_desc = translate(_inh['args_description']) or '-'
|
args_desc = translate(_inh['args_description'])
|
||||||
output_desc = translate(_inh['output_description']) or '-'
|
output_desc = translate(_inh['output_description']) or '-'
|
||||||
self.write('| %s | %s | %s | %s | %s\n',
|
self.write('| %s | %s | %s | %s | %s\n',
|
||||||
escape(plugin), escape(info), escape(desc),
|
escape(plugin), escape(info), escape(desc),
|
||||||
|
|||||||
+4
-218
@@ -1,252 +1,38 @@
|
|||||||
<!--
|
<!--
|
||||||
Custom styles for Asciidoctor
|
Custom styles for Asciidoctor
|
||||||
Copyright (C) 2016-2022 Sébastien Helleu <flashcode@flashtux.org>
|
Copyright (C) 2016-2021 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
-->
|
-->
|
||||||
<style>
|
<style>
|
||||||
|
#header,#content,#footnotes,#footer {
|
||||||
/* themes/colors */
|
|
||||||
|
|
||||||
@media (prefers-color-scheme: dark) {
|
|
||||||
/* dark theme */
|
|
||||||
:root {
|
|
||||||
--body-bg-color: #1a1a1a;
|
|
||||||
--body-color: #ddd;
|
|
||||||
--body-font: system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans","Liberation Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
|
|
||||||
--link-color: #8aceff;
|
|
||||||
--table-thead-tfoot: #252525;
|
|
||||||
--th-color: #fff;
|
|
||||||
--toc-bg-color: #252525;
|
|
||||||
--color-header1: #ddd;
|
|
||||||
--color-header2: #da8975;
|
|
||||||
--header-details-color: #aaa;
|
|
||||||
--border: 1px solid #444;
|
|
||||||
--code-bg-color: #252525;
|
|
||||||
--pre-color: #ddd;
|
|
||||||
--pre-bg-color: #202020;
|
|
||||||
--pre-code-bg-color: #202020;
|
|
||||||
--keyseq-color: #777;
|
|
||||||
--kbd-bg-color: #252525;
|
|
||||||
--kbd-border: 1px solid #333;
|
|
||||||
--kbd-box-shadow: 0 1px 0 rgba(0, 0, 0, .2), inset 0 0 0 .1em #2c2c2c;
|
|
||||||
--icon-note-color: #4d7cc6;
|
|
||||||
--icon-tip-color: #fff;
|
|
||||||
--icon-warning-color: #f39c12;
|
|
||||||
--icon-caution-color: #bf3400;
|
|
||||||
--icon-important-color: #f44336;
|
|
||||||
--mark-bg-color: #007;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (not (prefers-color-scheme: dark)), (prefers-color-scheme: light) {
|
|
||||||
/* light theme */
|
|
||||||
:root {
|
|
||||||
--body-bg-color: ##fff;
|
|
||||||
--body-color: #353535;
|
|
||||||
--body-font: system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans","Liberation Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
|
|
||||||
--link-color: #1d4b8f;
|
|
||||||
--table-thead-tfoot: #f7f8f7;
|
|
||||||
--th-color: #000;
|
|
||||||
--toc-bg-color: #f8f8f7;
|
|
||||||
--color-header1: #000;
|
|
||||||
--color-header2: #ba3925;
|
|
||||||
--header-details-color: #797979;
|
|
||||||
--border: 1px solid #dddddf;
|
|
||||||
--code-bg-color: #f7f7f8;
|
|
||||||
--keyseq-color: #333c;
|
|
||||||
--pre-color: #353535;
|
|
||||||
--pre-bg-color: #f7f7f8;
|
|
||||||
--pre-code-bg-color: #202020;
|
|
||||||
--kbd-bg-color: #f7f7f7;
|
|
||||||
--kbd-border: 1px solid #ccc;
|
|
||||||
--kbd-box-shadow: 0 1px 0 rgba(0, 0, 0, .2), inset 0 0 0 .1em #fff;
|
|
||||||
--icon-note-color: #19407c;
|
|
||||||
--icon-tip-color: #111;
|
|
||||||
--icon-warning-color: #bf6900;
|
|
||||||
--icon-caution-color: #ff0000;
|
|
||||||
--icon-important-color: #bf0000;
|
|
||||||
--mark-bg-color: #9df;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
body {
|
|
||||||
background-color: var(--body-bg-color);
|
|
||||||
color: var(--body-color);
|
|
||||||
font-family: var(--body-font);
|
|
||||||
}
|
|
||||||
|
|
||||||
h1 {
|
|
||||||
color: var(--color-header1) !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
h2, h3, h4, h5, h6 {
|
|
||||||
color: var(--color-header2) !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
h1, h2, h3, #toctitle, .sidebarblock > .content > .title, h4, h5, h6 {
|
|
||||||
font-family: var(--body-font);
|
|
||||||
}
|
|
||||||
|
|
||||||
a:link, a:visited, #header .details span.email a {
|
|
||||||
color: var(--link-color);
|
|
||||||
}
|
|
||||||
|
|
||||||
table thead, table tfoot {
|
|
||||||
background: var(--table-thead-tfoot) !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
table.tableblock, th.tableblock, td.tableblock {
|
|
||||||
border: var(--border);
|
|
||||||
}
|
|
||||||
|
|
||||||
th {
|
|
||||||
color: var(--th-color) !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
td {
|
|
||||||
background-color: var(--body-bg-color);
|
|
||||||
color: var(--body-color) !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
#toc.toc2 {
|
|
||||||
background-color: var(--toc-bg-color);
|
|
||||||
border-right: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
#toc.toc2 > ul {
|
|
||||||
font-size: .9em;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media screen and (max-width:767px) {
|
|
||||||
#toc.toc2 {
|
|
||||||
background-color: var(--body-bg-color);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
p, .paragraph.lead > p, #preamble > .sectionbody > [class="paragraph"]:first-of-type p, #toctitle, .title {
|
|
||||||
color: var(--body-color);
|
|
||||||
}
|
|
||||||
|
|
||||||
#header .details {
|
|
||||||
border-bottom: var(--border);
|
|
||||||
color: var(--header-details-color);
|
|
||||||
}
|
|
||||||
|
|
||||||
code, .prettyprint {
|
|
||||||
background-color: var(--code-bg-color) !important;
|
|
||||||
color: var(--body-color);
|
|
||||||
}
|
|
||||||
|
|
||||||
pre {
|
|
||||||
color: var(--pre-color) !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
pre > code {
|
|
||||||
background-color: var(--pre-code-bg-color) !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.keyseq {
|
|
||||||
color: var(--keyseq-color);
|
|
||||||
}
|
|
||||||
|
|
||||||
kbd {
|
|
||||||
background-color: var(--kbd-bg-color) !important;
|
|
||||||
border: var(--kbd-border) !important;
|
|
||||||
box-shadow: var(--kbd-box-shadow);
|
|
||||||
color: var(--body-color);
|
|
||||||
}
|
|
||||||
|
|
||||||
.literalblock pre, .listingblock > .content > pre:not(.highlight), .listingblock > .content > pre[class="highlight"], .listingblock > .content > pre[class^="highlight "] {
|
|
||||||
background-color: var(--pre-bg-color);
|
|
||||||
color: var(--body-color);
|
|
||||||
}
|
|
||||||
|
|
||||||
.sect1 + .sect1 {
|
|
||||||
border-top: var(--border);
|
|
||||||
}
|
|
||||||
|
|
||||||
.admonitionblock td.icon .icon-note::before {
|
|
||||||
color: var(--icon-note-color);
|
|
||||||
}
|
|
||||||
|
|
||||||
.admonitionblock td.icon .icon-tip::before {
|
|
||||||
color: var(--icon-tip-color);
|
|
||||||
}
|
|
||||||
|
|
||||||
.admonitionblock td.icon .icon-warning::before {
|
|
||||||
color: var(--icon-warning-color);
|
|
||||||
}
|
|
||||||
|
|
||||||
.admonitionblock td.icon .icon-caution::before {
|
|
||||||
color: var(--icon-caution-color);
|
|
||||||
}
|
|
||||||
|
|
||||||
.admonitionblock td.icon .icon-important::before {
|
|
||||||
color: var(--icon-important-color);
|
|
||||||
}
|
|
||||||
|
|
||||||
.admonitionblock > table td.content {
|
|
||||||
border-left: var(--border);
|
|
||||||
}
|
|
||||||
|
|
||||||
mark {
|
|
||||||
background-color: var(--mark-bg-color);
|
|
||||||
color: var(--body-color);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* syntax highlighting tuning */
|
|
||||||
|
|
||||||
pre.pygments .tok-cp {
|
|
||||||
color: #44cfaf;
|
|
||||||
}
|
|
||||||
|
|
||||||
pre.pygments .tok-nc, pre.pygments .tok-nf {
|
|
||||||
color: #649fef;
|
|
||||||
}
|
|
||||||
|
|
||||||
pre.pygments .tok-gu, pre.pygments .tok-nc, pre.pygments .tok-nn {
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* asciidoctor styles tuning */
|
|
||||||
|
|
||||||
#header, #content, #footnotes, #footer {
|
|
||||||
max-width: none;
|
max-width: none;
|
||||||
padding-left: 3em;
|
padding-left: 3em;
|
||||||
padding-right: 3em;
|
padding-right: 3em;
|
||||||
}
|
}
|
||||||
|
|
||||||
#header #revnumber {
|
#header #revnumber {
|
||||||
text-transform: none;
|
text-transform: none;
|
||||||
}
|
}
|
||||||
|
h1,h2,h3,h4,h5 {
|
||||||
h1, h2, h3, h4, h5 {
|
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
.literalblock pre {
|
.literalblock pre {
|
||||||
font-family: monospace, 'Courier New', Courier;
|
font-family: monospace, 'Courier New', Courier;
|
||||||
line-height: normal;
|
line-height: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
kbd {
|
kbd {
|
||||||
font-size: .9em;
|
font-size: .9em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.keyseq {
|
.keyseq {
|
||||||
margin-left: .2em;
|
margin-left: .2em;
|
||||||
margin-right: .2em;
|
margin-right: .2em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tableblock kbd {
|
.tableblock kbd {
|
||||||
margin-top: .2em;
|
margin-top: .2em;
|
||||||
margin-bottom: .2em;
|
margin-bottom: .2em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.hex {
|
.hex {
|
||||||
padding: 0 .2em;
|
padding: 0 .2em;
|
||||||
border: var(--border);
|
border: 1px solid #88b;
|
||||||
margin: 0 .2em;
|
margin: 0 .2em;
|
||||||
font-family: monospace;
|
font-family: monospace;
|
||||||
font-size: 1.1em;
|
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
+14
-1
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2003-2022 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2003-2021 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.
|
||||||
#
|
#
|
||||||
@@ -122,6 +122,19 @@ if(ENABLE_DOC)
|
|||||||
add_custom_target(doc-quickstart-en ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.en.html)
|
add_custom_target(doc-quickstart-en ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.en.html)
|
||||||
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.en.html DESTINATION ${DATAROOTDIR}/doc/${PROJECT_NAME})
|
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.en.html DESTINATION ${DATAROOTDIR}/doc/${PROJECT_NAME})
|
||||||
|
|
||||||
|
# tester's guide
|
||||||
|
add_custom_command(
|
||||||
|
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.en.html
|
||||||
|
COMMAND ${ASCIIDOCTOR_EXECUTABLE} ARGS ${ASCIIDOCTOR_ARGS} -o weechat_tester.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.en.adoc
|
||||||
|
DEPENDS
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/../docinfo.html
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.en.adoc
|
||||||
|
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
||||||
|
COMMENT "Building weechat_tester.en.html"
|
||||||
|
)
|
||||||
|
add_custom_target(doc-tester-en ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.en.html)
|
||||||
|
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.en.html DESTINATION ${DATAROOTDIR}/doc/${PROJECT_NAME})
|
||||||
|
|
||||||
# relay protocol
|
# relay protocol
|
||||||
add_custom_command(
|
add_custom_command(
|
||||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_relay_protocol.en.html
|
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_relay_protocol.en.html
|
||||||
|
|||||||
+7
-1
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2003-2022 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2003-2021 Sébastien Helleu <flashcode@flashtux.org>
|
||||||
# Copyright (C) 2006 Julien Louis <ptitlouis@sysif.net>
|
# Copyright (C) 2006 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.
|
||||||
@@ -29,6 +29,7 @@ EXTRA_DIST = CMakeLists.txt \
|
|||||||
weechat_scripting.en.adoc \
|
weechat_scripting.en.adoc \
|
||||||
weechat_faq.en.adoc \
|
weechat_faq.en.adoc \
|
||||||
weechat_quickstart.en.adoc \
|
weechat_quickstart.en.adoc \
|
||||||
|
weechat_tester.en.adoc \
|
||||||
weechat_relay_protocol.en.adoc \
|
weechat_relay_protocol.en.adoc \
|
||||||
weechat_dev.en.adoc \
|
weechat_dev.en.adoc \
|
||||||
includes/autogen_api_completions.en.adoc \
|
includes/autogen_api_completions.en.adoc \
|
||||||
@@ -57,6 +58,7 @@ if DOC
|
|||||||
weechat_scripting.en.html \
|
weechat_scripting.en.html \
|
||||||
weechat_faq.en.html \
|
weechat_faq.en.html \
|
||||||
weechat_quickstart.en.html \
|
weechat_quickstart.en.html \
|
||||||
|
weechat_tester.en.html \
|
||||||
weechat_relay_protocol.en.html \
|
weechat_relay_protocol.en.html \
|
||||||
weechat_dev.en.html
|
weechat_dev.en.html
|
||||||
doc_install = install-doc
|
doc_install = install-doc
|
||||||
@@ -90,6 +92,10 @@ weechat_faq.en.html: weechat_faq.en.adoc $(abs_top_srcdir)/doc/docinfo.html
|
|||||||
weechat_quickstart.en.html: weechat_quickstart.en.adoc $(abs_top_srcdir)/doc/docinfo.html
|
weechat_quickstart.en.html: weechat_quickstart.en.adoc $(abs_top_srcdir)/doc/docinfo.html
|
||||||
$(ASCIIDOCTOR) $(ASCIIDOCTOR_ARGS) -a revnumber="$(VERSION)" -o weechat_quickstart.en.html $(abs_top_srcdir)/doc/en/weechat_quickstart.en.adoc
|
$(ASCIIDOCTOR) $(ASCIIDOCTOR_ARGS) -a revnumber="$(VERSION)" -o weechat_quickstart.en.html $(abs_top_srcdir)/doc/en/weechat_quickstart.en.adoc
|
||||||
|
|
||||||
|
# tester's guide
|
||||||
|
weechat_tester.en.html: weechat_tester.en.adoc $(abs_top_srcdir)/doc/docinfo.html
|
||||||
|
$(ASCIIDOCTOR) $(ASCIIDOCTOR_ARGS) -a revnumber="$(VERSION)" -o weechat_tester.en.html $(abs_top_srcdir)/doc/en/weechat_tester.en.adoc
|
||||||
|
|
||||||
# relay protocol
|
# relay protocol
|
||||||
weechat_relay_protocol.en.html: weechat_relay_protocol.en.adoc $(abs_top_srcdir)/doc/docinfo.html
|
weechat_relay_protocol.en.html: weechat_relay_protocol.en.adoc $(abs_top_srcdir)/doc/docinfo.html
|
||||||
$(ASCIIDOCTOR) $(ASCIIDOCTOR_ARGS) -a revnumber="$(VERSION)" -o weechat_relay_protocol.en.html $(abs_top_srcdir)/doc/en/weechat_relay_protocol.en.adoc
|
$(ASCIIDOCTOR) $(ASCIIDOCTOR_ARGS) -a revnumber="$(VERSION)" -o weechat_relay_protocol.en.html $(abs_top_srcdir)/doc/en/weechat_relay_protocol.en.adoc
|
||||||
|
|||||||
@@ -26,8 +26,6 @@
|
|||||||
|
|
||||||
| irc | irc_channels | channels on all IRC servers
|
| irc | irc_channels | channels on all IRC servers
|
||||||
|
|
||||||
| irc | irc_channels_autojoin | channels automatically joined on the current server (option "autojoin")
|
|
||||||
|
|
||||||
| irc | irc_ignores_numbers | numbers for defined ignores
|
| irc | irc_ignores_numbers | numbers for defined ignores
|
||||||
|
|
||||||
| irc | irc_modelist_masks | modelist masks of current IRC channel; required argument: modelist mode
|
| irc | irc_modelist_masks | modelist masks of current IRC channel; required argument: modelist mode
|
||||||
|
|||||||
@@ -79,8 +79,6 @@ _last_nick_speaking_time_ (pointer, hdata: "irc_channel_speaking") +
|
|||||||
_modelists_ (pointer, hdata: "irc_modelist") +
|
_modelists_ (pointer, hdata: "irc_modelist") +
|
||||||
_last_modelist_ (pointer, hdata: "irc_modelist") +
|
_last_modelist_ (pointer, hdata: "irc_modelist") +
|
||||||
_join_smart_filtered_ (hashtable) +
|
_join_smart_filtered_ (hashtable) +
|
||||||
_typing_state_ (integer) +
|
|
||||||
_typing_status_sent_ (time) +
|
|
||||||
_buffer_ (pointer, hdata: "buffer") +
|
_buffer_ (pointer, hdata: "buffer") +
|
||||||
_buffer_as_string_ (string) +
|
_buffer_as_string_ (string) +
|
||||||
_prev_channel_ (pointer, hdata: "irc_channel") +
|
_prev_channel_ (pointer, hdata: "irc_channel") +
|
||||||
@@ -235,12 +233,6 @@ _hook_connect_ (pointer, hdata: "hook") +
|
|||||||
_hook_fd_ (pointer, hdata: "hook") +
|
_hook_fd_ (pointer, hdata: "hook") +
|
||||||
_hook_timer_connection_ (pointer, hdata: "hook") +
|
_hook_timer_connection_ (pointer, hdata: "hook") +
|
||||||
_hook_timer_sasl_ (pointer, hdata: "hook") +
|
_hook_timer_sasl_ (pointer, hdata: "hook") +
|
||||||
_sasl_scram_client_first_ (string) +
|
|
||||||
_sasl_scram_salted_pwd_ (other) +
|
|
||||||
_sasl_scram_salted_pwd_size_ (integer) +
|
|
||||||
_sasl_scram_auth_message_ (string) +
|
|
||||||
_sasl_temp_username_ (string) +
|
|
||||||
_sasl_temp_password_ (string) +
|
|
||||||
_is_connected_ (integer) +
|
_is_connected_ (integer) +
|
||||||
_ssl_connected_ (integer) +
|
_ssl_connected_ (integer) +
|
||||||
_disconnected_ (integer) +
|
_disconnected_ (integer) +
|
||||||
@@ -271,10 +263,6 @@ _chantypes_ (string) +
|
|||||||
_chanmodes_ (string) +
|
_chanmodes_ (string) +
|
||||||
_monitor_ (integer) +
|
_monitor_ (integer) +
|
||||||
_monitor_time_ (time) +
|
_monitor_time_ (time) +
|
||||||
_clienttagdeny_ (string) +
|
|
||||||
_clienttagdeny_count_ (integer) +
|
|
||||||
_clienttagdeny_array_ (string, array_size: "clienttagdeny_count") +
|
|
||||||
_typing_allowed_ (integer) +
|
|
||||||
_reconnect_delay_ (integer) +
|
_reconnect_delay_ (integer) +
|
||||||
_reconnect_start_ (time) +
|
_reconnect_start_ (time) +
|
||||||
_command_time_ (time) +
|
_command_time_ (time) +
|
||||||
|
|||||||
@@ -20,8 +20,6 @@
|
|||||||
|
|
||||||
| irc | irc_is_channel | 1 if string is a valid IRC channel name for server | server,channel (server is optional)
|
| irc | irc_is_channel | 1 if string is a valid IRC channel name for server | server,channel (server is optional)
|
||||||
|
|
||||||
| irc | irc_is_message_ignored | 1 if the nick is ignored (message is not displayed) | server,message (message is the raw IRC message)
|
|
||||||
|
|
||||||
| irc | irc_is_nick | 1 if string is a valid IRC nick name | server,nickname (server is optional)
|
| irc | irc_is_nick | 1 if string is a valid IRC nick name | server,nickname (server is optional)
|
||||||
|
|
||||||
| irc | irc_nick | get current nick on a server | server name
|
| irc | irc_nick | get current nick on a server | server name
|
||||||
@@ -60,7 +58,7 @@
|
|||||||
|
|
||||||
| php | php_version | version of the interpreter used | -
|
| php | php_version | version of the interpreter used | -
|
||||||
|
|
||||||
| python | python2_bin | path to Python 2.x interpreter (*deprecated* since version 2.6, scripts must use Python 3 only) | -
|
| python | python2_bin | path to python 2.x interpreter | -
|
||||||
|
|
||||||
| python | python_eval | evaluation of source code | source code to execute
|
| python | python_eval | evaluation of source code | source code to execute
|
||||||
|
|
||||||
@@ -76,7 +74,7 @@
|
|||||||
|
|
||||||
| ruby | ruby_version | version of the interpreter used | -
|
| ruby | ruby_version | version of the interpreter used | -
|
||||||
|
|
||||||
| spell | spell_dict | comma-separated list of dictionaries used in buffer | buffer pointer ("0x12345678") or buffer full name ("irc.libera.#weechat")
|
| spell | spell_dict | comma-separated list of dictionaries used in buffer | buffer pointer ("0x12345678") or buffer full name ("irc.freenode.#weechat")
|
||||||
|
|
||||||
| tcl | tcl_eval | evaluation of source code | source code to execute
|
| tcl | tcl_eval | evaluation of source code | source code to execute
|
||||||
|
|
||||||
@@ -134,15 +132,7 @@
|
|||||||
|
|
||||||
| weechat | version_number | WeeChat version (as number) | -
|
| weechat | version_number | WeeChat version (as number) | -
|
||||||
|
|
||||||
| weechat | weechat_cache_dir | WeeChat cache directory | -
|
| weechat | weechat_dir | WeeChat directory | -
|
||||||
|
|
||||||
| weechat | weechat_config_dir | WeeChat config directory | -
|
|
||||||
|
|
||||||
| weechat | weechat_daemon | 1 if WeeChat is running in daemon mode (headless, in background) | -
|
|
||||||
|
|
||||||
| weechat | weechat_data_dir | WeeChat data directory | -
|
|
||||||
|
|
||||||
| weechat | weechat_dir | WeeChat directory (*deprecated* since version 3.2, replaced by "weechat_config_dir", "weechat_data_dir", "weechat_cache_dir" and "weechat_runtime_dir") | -
|
|
||||||
|
|
||||||
| weechat | weechat_headless | 1 if WeeChat is running headless | -
|
| weechat | weechat_headless | 1 if WeeChat is running headless | -
|
||||||
|
|
||||||
@@ -150,8 +140,6 @@
|
|||||||
|
|
||||||
| weechat | weechat_localedir | WeeChat "locale" directory | -
|
| weechat | weechat_localedir | WeeChat "locale" directory | -
|
||||||
|
|
||||||
| weechat | weechat_runtime_dir | WeeChat runtime directory | -
|
|
||||||
|
|
||||||
| weechat | weechat_sharedir | WeeChat "share" directory | -
|
| weechat | weechat_sharedir | WeeChat "share" directory | -
|
||||||
|
|
||||||
| weechat | weechat_site | WeeChat site | -
|
| weechat | weechat_site | WeeChat site | -
|
||||||
|
|||||||
@@ -8,13 +8,11 @@
|
|||||||
|===
|
|===
|
||||||
| Plugin | Name | Description | Hashtable (input) | Hashtable (output)
|
| Plugin | Name | Description | Hashtable (input) | Hashtable (output)
|
||||||
|
|
||||||
| irc | irc_message_parse | parse an IRC message | "message": IRC message, "server": server name (optional) | "tags": tags, "tag_xxx": unescaped value of tag "xxx" (one key per tag), "message_without_tags": message without the tags, "nick": nick, "user": user, "host": host, "command": command, "channel": channel, "arguments": arguments (includes channel), "text": text (for example user message), "param1" ... "paramN": parsed command parameters, "num_params": number of parsed command parameters, "pos_command": index of "command" message ("-1" if "command" was not found), "pos_arguments": index of "arguments" message ("-1" if "arguments" was not found), "pos_channel": index of "channel" message ("-1" if "channel" was not found), "pos_text": index of "text" message ("-1" if "text" was not found)
|
| irc | irc_message_parse | parse an IRC message | "message": IRC message, "server": server name (optional) | "tags": tags, "message_without_tags": message without the tags, "nick": nick, "user": user, "host": host, "command": command, "channel": channel, "arguments": arguments (includes channel), "text": text (for example user message), "pos_command": index of "command" message ("-1" if "command" was not found), "pos_arguments": index of "arguments" message ("-1" if "arguments" was not found), "pos_channel": index of "channel" message ("-1" if "channel" was not found), "pos_text": index of "text" message ("-1" if "text" was not found)
|
||||||
|
|
||||||
| irc | irc_message_split | split an IRC message (to fit in 512 bytes by default) | "message": IRC message, "server": server name (optional) | "msg1" ... "msgN": messages to send (without final "\r\n"), "args1" ... "argsN": arguments of messages, "count": number of messages
|
| irc | irc_message_split | split an IRC message (to fit in 512 bytes by default) | "message": IRC message, "server": server name (optional) | "msg1" ... "msgN": messages to send (without final "\r\n"), "args1" ... "argsN": arguments of messages, "count": number of messages
|
||||||
|
|
||||||
| weechat | focus_info | get focus info | "x": x coordinate (string with integer >= 0), "y": y coordinate (string with integer >= 0) | see function "hook_focus" in Plugin API reference
|
| weechat | focus_info | get focus info | "x": x coordinate (string with integer >= 0), "y": y coordinate (string with integer >= 0) | see function "hook_focus" in Plugin API reference
|
||||||
|
|
||||||
| weechat | secured_data | secured data | - | secured data: names and values (be careful: the values are sensitive data: do NOT print/log them anywhere)
|
|
||||||
|
|
||||||
|===
|
|===
|
||||||
// end::infos_hashtable[]
|
// end::infos_hashtable[]
|
||||||
|
|||||||
@@ -4,26 +4,18 @@
|
|||||||
//
|
//
|
||||||
|
|
||||||
// tag::plugins_priority[]
|
// tag::plugins_priority[]
|
||||||
. charset (16000)
|
. charset (15000)
|
||||||
. logger (15000)
|
. logger (14000)
|
||||||
. exec (14000)
|
. exec (13000)
|
||||||
. trigger (13000)
|
. trigger (12000)
|
||||||
. spell (12000)
|
. spell (11000)
|
||||||
. alias (11000)
|
. alias (10000)
|
||||||
. buflist (10000)
|
. buflist (9000)
|
||||||
. fifo (9000)
|
. fifo (8000)
|
||||||
. typing (8000)
|
|
||||||
. xfer (7000)
|
. xfer (7000)
|
||||||
. irc (6000)
|
. irc (6000)
|
||||||
. relay (5000)
|
. relay (5000)
|
||||||
. guile (4007)
|
. guile, javascript, lua, perl, php, python, ruby, tcl (4000)
|
||||||
. javascript (4006)
|
|
||||||
. lua (4005)
|
|
||||||
. perl (4004)
|
|
||||||
. php (4003)
|
|
||||||
. python (4002)
|
|
||||||
. ruby (4001)
|
|
||||||
. tcl (4000)
|
|
||||||
. script (3000)
|
. script (3000)
|
||||||
. fset (2000)
|
. fset (2000)
|
||||||
// end::plugins_priority[]
|
// end::plugins_priority[]
|
||||||
|
|||||||
@@ -17,11 +17,10 @@ target: server name
|
|||||||
* `+allchan+`: execute a command on all channels of all connected servers
|
* `+allchan+`: execute a command on all channels of all connected servers
|
||||||
|
|
||||||
----
|
----
|
||||||
/allchan [-current] [-parted] [-exclude=<channel>[,<channel>...]] <command>
|
/allchan [-current] [-exclude=<channel>[,<channel>...]] <command>
|
||||||
[-current] [-parted] -include=<channel>[,<channel>...] <command>
|
[-current] -include=<channel>[,<channel>...] <command>
|
||||||
|
|
||||||
-current: execute command for channels of current server only
|
-current: execute command for channels of current server only
|
||||||
-parted: execute on parted channels only
|
|
||||||
-exclude: exclude some channels (wildcard "*" is allowed)
|
-exclude: exclude some channels (wildcard "*" is allowed)
|
||||||
-include: include only some channels (wildcard "*" is allowed)
|
-include: include only some channels (wildcard "*" is allowed)
|
||||||
command: command to execute (or text to send to buffer if command does not start with '/')
|
command: command to execute (or text to send to buffer if command does not start with '/')
|
||||||
@@ -42,8 +41,6 @@ Examples:
|
|||||||
/allchan -exclude=#weechat,#linux* hello
|
/allchan -exclude=#weechat,#linux* hello
|
||||||
say 'hello' on all channels beginning with #linux:
|
say 'hello' on all channels beginning with #linux:
|
||||||
/allchan -include=#linux* hello
|
/allchan -include=#linux* hello
|
||||||
close all buffers with parted channels:
|
|
||||||
/allchan -parted /close
|
|
||||||
----
|
----
|
||||||
|
|
||||||
[[command_irc_allpv]]
|
[[command_irc_allpv]]
|
||||||
@@ -103,55 +100,6 @@ Examples:
|
|||||||
/allserv /whois $nick
|
/allserv /whois $nick
|
||||||
----
|
----
|
||||||
|
|
||||||
[[command_irc_auth]]
|
|
||||||
* `+auth+`: authenticate with SASL
|
|
||||||
|
|
||||||
----
|
|
||||||
/auth [<username> <password>]
|
|
||||||
|
|
||||||
username: SASL username (content is evaluated, see /help eval; server options are evaluated with ${irc_server.xxx} and ${server} is replaced by the server name)
|
|
||||||
password: SASL password or path to file with private key (content is evaluated, see /help eval; server options are evaluated with ${irc_server.xxx} and ${server} is replaced by the server name)
|
|
||||||
|
|
||||||
If username and password are not provided, the values from server options "sasl_username" and "sasl_password" (or "sasl_key") are used.
|
|
||||||
|
|
||||||
Examples:
|
|
||||||
authenticate with username/password defined in the server:
|
|
||||||
/auth
|
|
||||||
authenticate as a different user:
|
|
||||||
/auth user2 password2
|
|
||||||
authenticate as a different user with mechanism ecdsa-nist256p-challenge:
|
|
||||||
/auth user2 ${weechat_config_dir}/ecdsa2.pem
|
|
||||||
----
|
|
||||||
|
|
||||||
[[command_irc_autojoin]]
|
|
||||||
* `+autojoin+`: configure the "autojoin" server option
|
|
||||||
|
|
||||||
----
|
|
||||||
/autojoin add [<channel1> [<channel2>...]]
|
|
||||||
addraw <channel1>[,<channel2>...] [<key1>[,<key2>...]]
|
|
||||||
del [<channel1> [<channel2>...]]
|
|
||||||
save
|
|
||||||
sort
|
|
||||||
|
|
||||||
add: add current channel or a list of channels (with optional keys) to the autojoin option; if you are on the channel and the key is not provided, the key is read in the channel
|
|
||||||
addraw: use the IRC raw format (same as /join command): all channels separated by commas, optional keys separated by commas
|
|
||||||
del: delete current channel or a list of channels from the autojoin option
|
|
||||||
channel: channel name
|
|
||||||
key: key for the channel
|
|
||||||
save: save currently joined channels in the autojoin option
|
|
||||||
sort: sort alphabetically channels in the autojoin option
|
|
||||||
|
|
||||||
Examples:
|
|
||||||
/autojoin add
|
|
||||||
/autojoin add #test
|
|
||||||
/autojoin add #chan1 #chan2
|
|
||||||
/autojoin addraw #chan1,#chan2,#chan3 key1,key2
|
|
||||||
/autojoin del
|
|
||||||
/autojoin del #chan1
|
|
||||||
/autojoin save
|
|
||||||
/autojoin sort
|
|
||||||
----
|
|
||||||
|
|
||||||
[[command_irc_ban]]
|
[[command_irc_ban]]
|
||||||
* `+ban+`: ban nicks or hosts
|
* `+ban+`: ban nicks or hosts
|
||||||
|
|
||||||
@@ -181,7 +129,7 @@ Without argument, this command displays the ban list for current channel.
|
|||||||
|
|
||||||
Without argument, "ls" and "list" are sent.
|
Without argument, "ls" and "list" are sent.
|
||||||
|
|
||||||
Capabilities supported by WeeChat are: account-notify, away-notify, cap-notify, chghost, extended-join, invite-notify, message-tags, multi-prefix, server-time, setname, userhost-in-names.
|
Capabilities supported by WeeChat are: account-notify, away-notify, cap-notify, chghost, extended-join, invite-notify, multi-prefix, server-time, userhost-in-names.
|
||||||
|
|
||||||
The capabilities to automatically enable on servers can be set in option irc.server_default.capabilities (or by server in option irc.server.xxx.capabilities).
|
The capabilities to automatically enable on servers can be set in option irc.server_default.capabilities (or by server in option irc.server.xxx.capabilities).
|
||||||
|
|
||||||
@@ -213,7 +161,7 @@ Examples:
|
|||||||
To disconnect from a server or stop any connection attempt, use command /disconnect.
|
To disconnect from a server or stop any connection attempt, use command /disconnect.
|
||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
/connect libera
|
/connect freenode
|
||||||
/connect irc.oftc.net/6667
|
/connect irc.oftc.net/6667
|
||||||
/connect irc6.oftc.net/6667 -ipv6
|
/connect irc6.oftc.net/6667 -ipv6
|
||||||
/connect irc6.oftc.net/6697 -ipv6 -ssl
|
/connect irc6.oftc.net/6697 -ipv6 -ssl
|
||||||
@@ -353,10 +301,10 @@ Note: the regular expression can start with "(?-i)" to become case sensitive.
|
|||||||
Examples:
|
Examples:
|
||||||
ignore nick "toto" everywhere:
|
ignore nick "toto" everywhere:
|
||||||
/ignore add toto
|
/ignore add toto
|
||||||
ignore host "toto@domain.com" on libera server:
|
ignore host "toto@domain.com" on freenode server:
|
||||||
/ignore add toto@domain.com libera
|
/ignore add toto@domain.com freenode
|
||||||
ignore host "toto*@*.domain.com" on libera/#weechat:
|
ignore host "toto*@*.domain.com" on freenode/#weechat:
|
||||||
/ignore add toto*@*.domain.com libera #weechat
|
/ignore add toto*@*.domain.com freenode #weechat
|
||||||
----
|
----
|
||||||
|
|
||||||
[[command_irc_info]]
|
[[command_irc_info]]
|
||||||
@@ -401,7 +349,7 @@ nick: nick
|
|||||||
Examples:
|
Examples:
|
||||||
/join #weechat
|
/join #weechat
|
||||||
/join #protectedchan,#weechat key
|
/join #protectedchan,#weechat key
|
||||||
/join -server libera #weechat
|
/join -server freenode #weechat
|
||||||
/join -noswitch #weechat
|
/join -noswitch #weechat
|
||||||
----
|
----
|
||||||
|
|
||||||
@@ -413,7 +361,7 @@ Examples:
|
|||||||
|
|
||||||
channel: channel name
|
channel: channel name
|
||||||
nick: nick
|
nick: nick
|
||||||
reason: reason (evaluated, see /help eval; special variables ${nick} (self nick), ${target} (target nick), ${channel} and ${server} are replaced by their values)
|
reason: reason (special variables $nick, $channel and $server are replaced by their value)
|
||||||
----
|
----
|
||||||
|
|
||||||
[[command_irc_kickban]]
|
[[command_irc_kickban]]
|
||||||
@@ -424,7 +372,7 @@ channel: channel name
|
|||||||
|
|
||||||
channel: channel name
|
channel: channel name
|
||||||
nick: nick
|
nick: nick
|
||||||
reason: reason (evaluated, see /help eval; special variables ${nick} (self nick), ${target} (target nick), ${channel} and ${server} are replaced by their values)
|
reason: reason (special variables $nick, $channel and $server are replaced by their value)
|
||||||
|
|
||||||
It is possible to kick/ban with a mask, nick will be extracted from mask and replaced by "*".
|
It is possible to kick/ban with a mask, nick will be extracted from mask and replaced by "*".
|
||||||
|
|
||||||
@@ -454,7 +402,7 @@ server_mask: list of servers must match this mask
|
|||||||
----
|
----
|
||||||
|
|
||||||
[[command_irc_list]]
|
[[command_irc_list]]
|
||||||
* `+list+`: list channels and their topics
|
* `+list+`: list channels and their topic
|
||||||
|
|
||||||
----
|
----
|
||||||
/list [-server <server>] [-re <regex>] [<channel>[,<channel>...]] [<target>]
|
/list [-server <server>] [-re <regex>] [<channel>[,<channel>...]] [<target>]
|
||||||
@@ -604,10 +552,10 @@ Without argument, this command displays notifications for current server (or all
|
|||||||
Examples:
|
Examples:
|
||||||
notify when "toto" joins/quits current server:
|
notify when "toto" joins/quits current server:
|
||||||
/notify add toto
|
/notify add toto
|
||||||
notify when "toto" joins/quits libera server:
|
notify when "toto" joins/quits freenode server:
|
||||||
/notify add toto libera
|
/notify add toto freenode
|
||||||
notify when "toto" is away or back on libera server:
|
notify when "toto" is away or back on freenode server:
|
||||||
/notify add toto libera -away
|
/notify add toto freenode -away
|
||||||
----
|
----
|
||||||
|
|
||||||
[[command_irc_op]]
|
[[command_irc_op]]
|
||||||
@@ -725,7 +673,7 @@ option: extra option, for some servers
|
|||||||
|
|
||||||
channel: channel name
|
channel: channel name
|
||||||
nick: nick
|
nick: nick
|
||||||
reason: reason (special variables $nick, $channel and $server are replaced by their values)
|
reason: reason (special variables $nick, $channel and $server are replaced by their value)
|
||||||
----
|
----
|
||||||
|
|
||||||
[[command_irc_restart]]
|
[[command_irc_restart]]
|
||||||
@@ -827,16 +775,16 @@ nooption: set boolean option to 'off' (for example: -nossl)
|
|||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
/server listfull
|
/server listfull
|
||||||
/server add libera irc.libera.chat
|
/server add freenode chat.freenode.net
|
||||||
/server add libera irc.libera.chat/6697 -ssl -autoconnect
|
/server add freenode chat.freenode.net/6697 -ssl -autoconnect
|
||||||
/server add chatspike irc.chatspike.net/6667,irc.duckspike.net/6667
|
/server add chatspike irc.chatspike.net/6667,irc.duckspike.net/6667
|
||||||
/server copy libera libera-test
|
/server copy freenode freenode-test
|
||||||
/server rename libera-test libera2
|
/server rename freenode-test freenode2
|
||||||
/server reorder libera2 libera
|
/server reorder freenode2 freenode
|
||||||
/server del libera
|
/server del freenode
|
||||||
/server deloutq
|
/server deloutq
|
||||||
/server raw
|
/server raw
|
||||||
/server raw s:libera
|
/server raw s:freenode
|
||||||
/server raw c:${recv} && ${command}==PRIVMSG && ${nick}==foo
|
/server raw c:${recv} && ${command}==PRIVMSG && ${nick}==foo
|
||||||
----
|
----
|
||||||
|
|
||||||
@@ -860,15 +808,6 @@ mask: list only services matching this mask
|
|||||||
type: list only services of this type
|
type: list only services of this type
|
||||||
----
|
----
|
||||||
|
|
||||||
[[command_irc_setname]]
|
|
||||||
* `+setname+`: set real name
|
|
||||||
|
|
||||||
----
|
|
||||||
/setname <realname>
|
|
||||||
|
|
||||||
realname: new real name
|
|
||||||
----
|
|
||||||
|
|
||||||
[[command_irc_squery]]
|
[[command_irc_squery]]
|
||||||
* `+squery+`: deliver a message to a service
|
* `+squery+`: deliver a message to a service
|
||||||
|
|
||||||
@@ -1332,7 +1271,7 @@ Examples:
|
|||||||
/debug list
|
/debug list
|
||||||
set <plugin> <level>
|
set <plugin> <level>
|
||||||
dump [<plugin>]
|
dump [<plugin>]
|
||||||
buffer|color|infolists|libs|certs|memory|tags|term|windows
|
buffer|color|infolists|memory|tags|term|windows
|
||||||
mouse|cursor [verbose]
|
mouse|cursor [verbose]
|
||||||
hdata [free]
|
hdata [free]
|
||||||
time <command>
|
time <command>
|
||||||
@@ -1350,7 +1289,6 @@ Examples:
|
|||||||
hooks: display infos about hooks
|
hooks: display infos about hooks
|
||||||
infolists: display infos about infolists
|
infolists: display infos about infolists
|
||||||
libs: display infos about external libraries used
|
libs: display infos about external libraries used
|
||||||
certs: display number of loaded trusted certificate authorities
|
|
||||||
memory: display infos about memory usage
|
memory: display infos about memory usage
|
||||||
mouse: toggle debug for mouse
|
mouse: toggle debug for mouse
|
||||||
tags: display tags for lines
|
tags: display tags for lines
|
||||||
@@ -1403,77 +1341,57 @@ To force a string comparison, you can add double quotes around each expression,
|
|||||||
"50" > "100" ==> 1
|
"50" > "100" ==> 1
|
||||||
|
|
||||||
Some variables are replaced in expression, using the format ${variable}, variable can be, by order of priority:
|
Some variables are replaced in expression, using the format ${variable}, variable can be, by order of priority:
|
||||||
1. the string itself without evaluation (format: "raw:xxx")
|
1. an evaluated sub-string (format: "eval:xxx")
|
||||||
2. a user-defined variable (format: "name")
|
2. an evaluated condition (format: "eval_cond:xxx")
|
||||||
3. an evaluated sub-string (format: "eval:xxx")
|
3. a string with escaped chars (format: "esc:xxx" or "\xxx")
|
||||||
4. an evaluated condition (format: "eval_cond:xxx")
|
4. a string with chars to hide (format: "hide:char,string")
|
||||||
5. a string with escaped chars (format: "esc:xxx" or "\xxx")
|
5. a string with max chars (format: "cut:max,suffix,string" or "cut:+max,suffix,string")
|
||||||
6. a string with chars to hide (format: "hide:char,string")
|
|
||||||
7. a string with max chars (format: "cut:max,suffix,string" or "cut:+max,suffix,string")
|
|
||||||
or max chars displayed on screen (format: "cutscr:max,suffix,string" or "cutscr:+max,suffix,string")
|
or max chars displayed on screen (format: "cutscr:max,suffix,string" or "cutscr:+max,suffix,string")
|
||||||
8. a reversed string (format: "rev:xxx" or "revscr:xxx")
|
6. a reversed string (format: "rev:xxx" or "revscr:xxx")
|
||||||
9. a repeated string (format: "repeat:count,string")
|
7. a repeated string (format: "repeat:count,string")
|
||||||
10. length of a string (format: "length:xxx" or "lengthscr:xxx")
|
8. length of a string (format: "length:xxx" or "lengthscr:xxx")
|
||||||
11. split of a string (format: "split:number,separators,flags,xxx")
|
9. a color (format: "color:xxx", see "Plugin API reference", function "color")
|
||||||
12. split of shell argmuents (format: "split_shell:number,xxx")
|
10. a modifier (format: "modifier:name,data,string")
|
||||||
13. a color (format: "color:xxx", see "Plugin API reference", function "color")
|
11. an info (format: "info:name,arguments", arguments are optional)
|
||||||
14. a modifier (format: "modifier:name,data,string")
|
12. a base 16/32/64 encoded/decoded string (format: "base_encode:base,xxx" or "base_decode:base,xxx")
|
||||||
15. an info (format: "info:name,arguments", arguments are optional)
|
13. current date/time (format: "date" or "date:format")
|
||||||
16. a base 16/32/64 encoded/decoded string (format: "base_encode:base,xxx" or "base_decode:base,xxx")
|
14. an environment variable (format: "env:XXX")
|
||||||
17. current date/time (format: "date" or "date:format")
|
15. a ternary operator (format: "if:condition?value_if_true:value_if_false")
|
||||||
18. an environment variable (format: "env:XXX")
|
16. result of an expression with parentheses and operators + - * / // % ** (format: "calc:xxx")
|
||||||
19. a ternary operator (format: "if:condition?value_if_true:value_if_false")
|
17. an option (format: "file.section.option")
|
||||||
20. result of an expression with parentheses and operators + - * / // % ** (format: "calc:xxx")
|
18. a local variable in buffer
|
||||||
21. a random integer number (format: "random:min,max")
|
19. a hdata name/variable (the value is automatically converted to string), by default "window" and "buffer" point to current window/buffer.
|
||||||
22. a translated string (format: "translate:xxx")
|
|
||||||
23. define a user variable (format: "define:name,value")
|
|
||||||
24. an option (format: "file.section.option")
|
|
||||||
25. a local variable in buffer
|
|
||||||
26. a hdata name/variable (the value is automatically converted to string), by default "window" and "buffer" point to current window/buffer.
|
|
||||||
Format for hdata can be one of following:
|
Format for hdata can be one of following:
|
||||||
hdata.var1.var2...: start with a hdata (pointer must be known), and ask variables one after one (other hdata can be followed)
|
hdata.var1.var2...: start with a hdata (pointer must be known), and ask variables one after one (other hdata can be followed)
|
||||||
hdata[list].var1.var2...: start with a hdata using a list/pointer/pointer name, for example:
|
hdata[list].var1.var2...: start with a hdata using a list, for example:
|
||||||
${buffer[gui_buffers].full_name}: full name of first buffer in linked list of buffers
|
${buffer[gui_buffers].full_name}: full name of first buffer in linked list of buffers
|
||||||
${plugin[weechat_plugins].name}: name of first plugin in linked list of plugins
|
${plugin[weechat_plugins].name}: name of first plugin in linked list of plugins
|
||||||
hdata[pointer].var1.var2...: start with a hdata using a pointer, for example:
|
hdata[pointer].var1.var2...: start with a hdata using a pointer, for example:
|
||||||
${buffer[0x1234abcd].full_name}: full name of the buffer with this pointer (can be used in triggers)
|
${buffer[0x1234abcd].full_name}: full name of the buffer with this pointer (can be used in triggers)
|
||||||
${buffer[my_pointer].full_name}: full name of the buffer with this pointer name (can be used in triggers)
|
|
||||||
For name of hdata and variables, please look at "Plugin API reference", function "weechat_hdata_get".
|
For name of hdata and variables, please look at "Plugin API reference", function "weechat_hdata_get".
|
||||||
|
|
||||||
Examples (simple strings):
|
Examples (simple strings):
|
||||||
/eval -n ${raw:${info:version}} ==> ${info:version}
|
/eval -n ${eval_cond:${window.win_width}>100} ==> 1
|
||||||
/eval -n ${eval_cond:${window.win_width}>100} ==> 1
|
/eval -n ${info:version} ==> 0.4.3
|
||||||
/eval -n ${info:version} ==> 0.4.3
|
/eval -n ${env:HOME} ==> /home/user
|
||||||
/eval -n ${env:HOME} ==> /home/user
|
/eval -n ${weechat.look.scroll_amount} ==> 3
|
||||||
/eval -n ${weechat.look.scroll_amount} ==> 3
|
/eval -n ${sec.data.freenode_password} ==> secret
|
||||||
/eval -n ${sec.data.password} ==> secret
|
/eval -n ${window} ==> 0x2549aa0
|
||||||
/eval -n ${window} ==> 0x2549aa0
|
/eval -n ${window.buffer} ==> 0x2549320
|
||||||
/eval -n ${window.buffer} ==> 0x2549320
|
/eval -n ${window.buffer.full_name} ==> core.weechat
|
||||||
/eval -n ${window.buffer.full_name} ==> core.weechat
|
/eval -n ${window.buffer.number} ==> 1
|
||||||
/eval -n ${window.buffer.number} ==> 1
|
/eval -n ${\t} ==> <tab>
|
||||||
/eval -n ${\t} ==> <tab>
|
/eval -n ${hide:-,${relay.network.password}} ==> --------
|
||||||
/eval -n ${hide:-,${relay.network.password}} ==> --------
|
/eval -n ${cut:3,+,test} ==> tes+
|
||||||
/eval -n ${cut:3,+,test} ==> tes+
|
/eval -n ${cut:+3,+,test} ==> te+
|
||||||
/eval -n ${cut:+3,+,test} ==> te+
|
/eval -n ${date:%H:%M:%S} ==> 07:46:40
|
||||||
/eval -n ${date:%H:%M:%S} ==> 07:46:40
|
/eval -n ${if:${info:term_width}>80?big:small} ==> big
|
||||||
/eval -n ${if:${info:term_width}>80?big:small} ==> big
|
/eval -n ${rev:Hello} ==> olleH
|
||||||
/eval -n ${rev:Hello} ==> olleH
|
/eval -n ${repeat:5,-} ==> -----
|
||||||
/eval -n ${repeat:5,-} ==> -----
|
/eval -n ${length:test} ==> 4
|
||||||
/eval -n ${length:test} ==> 4
|
/eval -n ${calc:(5+2)*3} ==> 21
|
||||||
/eval -n ${split:1,,,abc,def,ghi} ==> abc
|
/eval -n ${base_encode:64,test} ==> dGVzdA==
|
||||||
/eval -n ${split:-1,,,abc,def,ghi} ==> ghi
|
/eval -n ${base_decode:64,dGVzdA==} ==> test
|
||||||
/eval -n ${split:count,,,abc,def,ghi} ==> 3
|
|
||||||
/eval -n ${split:random,,,abc,def,ghi} ==> def
|
|
||||||
/eval -n ${split_shell:1,"arg 1" arg2} ==> arg 1
|
|
||||||
/eval -n ${split_shell:-1,"arg 1" arg2} ==> arg2
|
|
||||||
/eval -n ${split_shell:count,"arg 1" arg2} ==> 2
|
|
||||||
/eval -n ${split_shell:random,"arg 1" arg2} ==> arg2
|
|
||||||
/eval -n ${calc:(5+2)*3} ==> 21
|
|
||||||
/eval -n ${random:0,10} ==> 3
|
|
||||||
/eval -n ${base_encode:64,test} ==> dGVzdA==
|
|
||||||
/eval -n ${base_decode:64,dGVzdA==} ==> test
|
|
||||||
/eval -n ${translate:Plugin} ==> Extension
|
|
||||||
/eval -n ${define:len,${calc:5+3}}${len}x${len} ==> 8x8
|
|
||||||
|
|
||||||
Examples (conditions):
|
Examples (conditions):
|
||||||
/eval -n -c ${window.buffer.number} > 2 ==> 0
|
/eval -n -c ${window.buffer.number} > 2 ==> 0
|
||||||
@@ -1511,7 +1429,7 @@ addreplace: add or replace an existing filter
|
|||||||
del: delete a filter
|
del: delete a filter
|
||||||
-all: delete all filters
|
-all: delete all filters
|
||||||
buffer: comma separated list of buffers where filter is active:
|
buffer: comma separated list of buffers where filter is active:
|
||||||
- this is full name including plugin (example: "irc.libera.#weechat" or "irc.server.libera")
|
- this is full name including plugin (example: "irc.freenode.#weechat" or "irc.server.freenode")
|
||||||
- "*" means all buffers
|
- "*" means all buffers
|
||||||
- a name starting with '!' is excluded
|
- a name starting with '!' is excluded
|
||||||
- wildcard "*" is allowed
|
- wildcard "*" is allowed
|
||||||
@@ -1546,11 +1464,11 @@ Examples:
|
|||||||
filter nicks displayed when joining channels or with /names:
|
filter nicks displayed when joining channels or with /names:
|
||||||
/filter add nicks * irc_366 *
|
/filter add nicks * irc_366 *
|
||||||
filter nick "toto" on IRC channel #weechat:
|
filter nick "toto" on IRC channel #weechat:
|
||||||
/filter add toto irc.libera.#weechat nick_toto *
|
/filter add toto irc.freenode.#weechat nick_toto *
|
||||||
filter IRC join/action messages from nick "toto":
|
filter IRC join/action messages from nick "toto":
|
||||||
/filter add toto * nick_toto+irc_join,nick_toto+irc_action *
|
/filter add toto * nick_toto+irc_join,nick_toto+irc_action *
|
||||||
filter lines containing "weechat sucks" on IRC channel #weechat:
|
filter lines containing "weechat sucks" on IRC channel #weechat:
|
||||||
/filter add sucks irc.libera.#weechat * weechat sucks
|
/filter add sucks irc.freenode.#weechat * weechat sucks
|
||||||
filter lines that are strictly equal to "WeeChat sucks" on all buffers:
|
filter lines that are strictly equal to "WeeChat sucks" on all buffers:
|
||||||
/filter add sucks2 * * (?-i)^WeeChat sucks$
|
/filter add sucks2 * * (?-i)^WeeChat sucks$
|
||||||
----
|
----
|
||||||
@@ -1626,9 +1544,6 @@ list of actions:
|
|||||||
jump_previously_visited_buffer: jump to previously visited buffer
|
jump_previously_visited_buffer: jump to previously visited buffer
|
||||||
jump_next_visited_buffer: jump to next visited buffer
|
jump_next_visited_buffer: jump to next visited buffer
|
||||||
hotlist_clear: clear hotlist (optional argument: "lowest" to clear only lowest level in hotlist, "highest" to clear only highest level in hotlist, or level mask: integer which is a combination of 1=join/part, 2=message, 4=private, 8=highlight)
|
hotlist_clear: clear hotlist (optional argument: "lowest" to clear only lowest level in hotlist, "highest" to clear only highest level in hotlist, or level mask: integer which is a combination of 1=join/part, 2=message, 4=private, 8=highlight)
|
||||||
hotlist_remove_buffer: remove current buffer from hotlist
|
|
||||||
hotlist_restore_buffer: restore latest hotlist removed in the current buffer
|
|
||||||
hotlist_restore_all: restore latest hotlist removed in all buffers
|
|
||||||
grab_key: grab a key (optional argument: delay for end of grab, default is 500 milliseconds)
|
grab_key: grab a key (optional argument: delay for end of grab, default is 500 milliseconds)
|
||||||
grab_key_command: grab a key with its associated command (optional argument: delay for end of grab, default is 500 milliseconds)
|
grab_key_command: grab a key with its associated command (optional argument: delay for end of grab, default is 500 milliseconds)
|
||||||
grab_mouse: grab mouse event code
|
grab_mouse: grab mouse event code
|
||||||
@@ -1724,8 +1639,6 @@ windows: store/apply only windows (buffer displayed by each window)
|
|||||||
Without argument, this command displays stored layouts.
|
Without argument, this command displays stored layouts.
|
||||||
|
|
||||||
The current layout can be saved on /quit command with the option "weechat.look.save_layout_on_exit".
|
The current layout can be saved on /quit command with the option "weechat.look.save_layout_on_exit".
|
||||||
|
|
||||||
Note: the layout only remembers windows split and buffers numbers. It does not open buffers. That means for example you must still auto-join IRC channels to open the buffers, the saved layout only applies once the buffers are opened.
|
|
||||||
----
|
----
|
||||||
|
|
||||||
[[command_weechat_mouse]]
|
[[command_weechat_mouse]]
|
||||||
@@ -1757,7 +1670,7 @@ Examples:
|
|||||||
-core: no output on WeeChat core buffer
|
-core: no output on WeeChat core buffer
|
||||||
-current: no output on current buffer
|
-current: no output on current buffer
|
||||||
-buffer: no output on specified buffer
|
-buffer: no output on specified buffer
|
||||||
name: full buffer name (examples: "irc.server.libera", "irc.libera.#weechat")
|
name: full buffer name (examples: "irc.server.freenode", "irc.freenode.#weechat")
|
||||||
command: command to execute silently (a '/' is automatically added if not found at beginning of command)
|
command: command to execute silently (a '/' is automatically added if not found at beginning of command)
|
||||||
|
|
||||||
If no target is specified (-core, -current or -buffer), then default is to mute all buffers.
|
If no target is specified (-core, -current or -buffer), then default is to mute all buffers.
|
||||||
@@ -1768,33 +1681,28 @@ Examples:
|
|||||||
message to current IRC channel:
|
message to current IRC channel:
|
||||||
/mute -current msg * hi!
|
/mute -current msg * hi!
|
||||||
message to #weechat channel:
|
message to #weechat channel:
|
||||||
/mute -buffer irc.libera.#weechat msg #weechat hi!
|
/mute -buffer irc.freenode.#weechat msg #weechat hi!
|
||||||
----
|
----
|
||||||
|
|
||||||
[[command_weechat_plugin]]
|
[[command_weechat_plugin]]
|
||||||
* `+plugin+`: list/load/unload plugins
|
* `+plugin+`: list/load/unload plugins
|
||||||
|
|
||||||
----
|
----
|
||||||
/plugin list [-o|-ol|-i|-il|<name>]
|
/plugin list|listfull [<name>]
|
||||||
listfull [<name>]
|
|
||||||
load <filename> [<arguments>]
|
load <filename> [<arguments>]
|
||||||
autoload [<arguments>]
|
autoload [<arguments>]
|
||||||
reload [<name>|* [<arguments>]]
|
reload [<name>|* [<arguments>]]
|
||||||
unload [<name>]
|
unload [<name>]
|
||||||
|
|
||||||
list: list loaded plugins
|
list: list loaded plugins
|
||||||
-o: send list of loaded plugins to buffer (string in English)
|
|
||||||
-ol: send list of loaded plugins to buffer (translated string)
|
|
||||||
-i: copy list of loaded plugins in command line (for sending to buffer) (string in English)
|
|
||||||
-il: copy list of loaded plugins in command line (for sending to buffer) (translated string)
|
|
||||||
name: a plugin name
|
|
||||||
listfull: list loaded plugins (verbose)
|
listfull: list loaded plugins (verbose)
|
||||||
load: load a plugin
|
load: load a plugin
|
||||||
filename: plugin (file) to load
|
|
||||||
arguments: arguments given to plugin on load
|
|
||||||
autoload: autoload plugins in system or user directory
|
autoload: autoload plugins in system or user directory
|
||||||
reload: reload a plugin (if no name given, unload all plugins, then autoload plugins)
|
reload: reload a plugin (if no name given, unload all plugins, then autoload plugins)
|
||||||
unload: unload a plugin (if no name given, unload all plugins)
|
unload: unload a plugin (if no name given, unload all plugins)
|
||||||
|
filename: plugin (file) to load
|
||||||
|
name: a plugin name
|
||||||
|
arguments: arguments given to plugin on load
|
||||||
|
|
||||||
Without argument, this command lists loaded plugins.
|
Without argument, this command lists loaded plugins.
|
||||||
----
|
----
|
||||||
@@ -1841,7 +1749,7 @@ Examples:
|
|||||||
display message on core buffer with prefix "abc":
|
display message on core buffer with prefix "abc":
|
||||||
/print -core abc\tThe message
|
/print -core abc\tThe message
|
||||||
display a message on channel #weechat:
|
display a message on channel #weechat:
|
||||||
/print -buffer irc.libera.#weechat Message on #weechat
|
/print -buffer irc.freenode.#weechat Message on #weechat
|
||||||
display a snowman (U+2603):
|
display a snowman (U+2603):
|
||||||
/print -escape \u2603
|
/print -escape \u2603
|
||||||
send alert (BEL):
|
send alert (BEL):
|
||||||
@@ -1963,7 +1871,7 @@ Keys on secure buffer:
|
|||||||
alt+v toggle values
|
alt+v toggle values
|
||||||
|
|
||||||
When a passphrase is used (data encrypted), it is asked by WeeChat on startup.
|
When a passphrase is used (data encrypted), it is asked by WeeChat on startup.
|
||||||
It is possible to set environment variable "WEECHAT_PASSPHRASE" to prevent the prompt (this same variable is used by WeeChat on /upgrade), or to set option sec.crypt.passphrase_command to read the passphrase from the output of an external command like a password manager (see /help sec.crypt.passphrase_command).
|
It is possible to set environment variable "WEECHAT_PASSPHRASE" to prevent the prompt (this same variable is used by WeeChat on /upgrade), or to set option sec.crypt.passphrase_file to read the passphrase from a file (see /help sec.crypt.passphrase_file).
|
||||||
|
|
||||||
Secured data with format ${sec.data.xxx} can be used in:
|
Secured data with format ${sec.data.xxx} can be used in:
|
||||||
- command /eval
|
- command /eval
|
||||||
@@ -1974,16 +1882,14 @@ Secured data with format ${sec.data.xxx} can be used in:
|
|||||||
Examples:
|
Examples:
|
||||||
set a passphrase:
|
set a passphrase:
|
||||||
/secure passphrase this is my passphrase
|
/secure passphrase this is my passphrase
|
||||||
use program "pass" to read the passphrase on startup:
|
encrypt freenode SASL password:
|
||||||
/set sec.crypt.passphrase_command "/usr/bin/pass show weechat/passphrase"
|
/secure set freenode mypassword
|
||||||
encrypt libera SASL password:
|
/set irc.server.freenode.sasl_password "${sec.data.freenode}"
|
||||||
/secure set libera mypassword
|
|
||||||
/set irc.server.libera.sasl_password "${sec.data.libera}"
|
|
||||||
encrypt oftc password for nickserv:
|
encrypt oftc password for nickserv:
|
||||||
/secure set oftc mypassword
|
/secure set oftc mypassword
|
||||||
/set irc.server.oftc.command "/msg nickserv identify ${sec.data.oftc}"
|
/set irc.server.oftc.command "/msg nickserv identify ${sec.data.oftc}"
|
||||||
alias to ghost the nick "mynick":
|
alias to ghost the nick "mynick":
|
||||||
/alias add ghost /eval /msg -server libera nickserv ghost mynick ${sec.data.libera}
|
/alias add ghost /eval /msg -server freenode nickserv ghost mynick ${sec.data.freenode}
|
||||||
----
|
----
|
||||||
|
|
||||||
[[command_weechat_set]]
|
[[command_weechat_set]]
|
||||||
@@ -2022,32 +1928,6 @@ Examples:
|
|||||||
/set env ABC ""
|
/set env ABC ""
|
||||||
----
|
----
|
||||||
|
|
||||||
[[command_weechat_toggle]]
|
|
||||||
* `+toggle+`: toggle value of a config option
|
|
||||||
|
|
||||||
----
|
|
||||||
/toggle <option> [<value> [<value>...]]
|
|
||||||
|
|
||||||
option: name of an option
|
|
||||||
value: possible values for the option (values are split like the shell command arguments: quotes can be used to preserve spaces at the beginning/end of values)
|
|
||||||
|
|
||||||
Behavior:
|
|
||||||
- only an option of type boolean or string can be toggled without a value:
|
|
||||||
- boolean: toggle between on/off according to current value
|
|
||||||
- string: toggle between empty string and default value (works only if empty string is allowed for the option)
|
|
||||||
- with a single value given, toggle between this value and the default value of option
|
|
||||||
- with multiple values given, toggle between these values: the value used is the one following the current value of option; if the current value of option is not in list, the first value in the list is used
|
|
||||||
- the special value "null" can be given, but only as first value in the list and without quotes around.
|
|
||||||
|
|
||||||
Examples:
|
|
||||||
toggle display of time in chat area (without displaying the new value used):
|
|
||||||
/mute /toggle weechat.look.buffer_time_format
|
|
||||||
switch format of time in chat area (with seconds, without seconds, disabled):
|
|
||||||
/toggle weechat.look.buffer_time_format "%H:%M:%S" "%H:%M" ""
|
|
||||||
toggle autojoin of #weechat channel on libera server:
|
|
||||||
/toggle irc.server.libera.autojoin null #weechat
|
|
||||||
----
|
|
||||||
|
|
||||||
[[command_weechat_unset]]
|
[[command_weechat_unset]]
|
||||||
* `+unset+`: unset/reset config options
|
* `+unset+`: unset/reset config options
|
||||||
|
|
||||||
@@ -2096,7 +1976,7 @@ With option "-quit", the process is slightly different:
|
|||||||
5. quit WeeChat
|
5. quit WeeChat
|
||||||
Then later you can restore session with command: weechat --upgrade
|
Then later you can restore session with command: weechat --upgrade
|
||||||
IMPORTANT: you must restore the session with exactly same configuration (files *.conf).
|
IMPORTANT: you must restore the session with exactly same configuration (files *.conf).
|
||||||
It is possible to restore WeeChat session on another machine if you copy the content of WeeChat home directories (see /debug dirs).
|
It is possible to restore WeeChat session on another machine if you copy the content of directory "~/.weechat".
|
||||||
----
|
----
|
||||||
|
|
||||||
[[command_weechat_uptime]]
|
[[command_weechat_uptime]]
|
||||||
@@ -2281,7 +2161,6 @@ The following variables can be used in these options:
|
|||||||
- ${hotlist}: the raw hotlist
|
- ${hotlist}: the raw hotlist
|
||||||
- ${hotlist_priority}: "none", "low", "message", "private" or "highlight"
|
- ${hotlist_priority}: "none", "low", "message", "private" or "highlight"
|
||||||
- ${format_lag}: the lag for an IRC server buffer, empty if there's no lag (evaluation of option buflist.format.lag)
|
- ${format_lag}: the lag for an IRC server buffer, empty if there's no lag (evaluation of option buflist.format.lag)
|
||||||
- ${format_tls_version}: indicator of TLS version for a server buffer, empty for channels (evaluation of option buflist.format.tls_version)
|
|
||||||
----
|
----
|
||||||
// end::buflist_commands[]
|
// end::buflist_commands[]
|
||||||
|
|
||||||
@@ -2388,14 +2267,14 @@ disable: disable FIFO pipe
|
|||||||
toggle: toggle FIFO pipe
|
toggle: toggle FIFO pipe
|
||||||
|
|
||||||
FIFO pipe is used as remote control of WeeChat: you can send commands or text to the FIFO pipe from your shell.
|
FIFO pipe is used as remote control of WeeChat: you can send commands or text to the FIFO pipe from your shell.
|
||||||
By default the FIFO pipe is called weechat_fifo_xxx (where xxx is the WeeChat process id) and located in the WeeChat runtime directory (see /debug dirs).
|
By default the FIFO pipe is in ~/.weechat/weechat_fifo
|
||||||
|
|
||||||
The expected format is one of:
|
The expected format is one of:
|
||||||
plugin.buffer *text or command here
|
plugin.buffer *text or command here
|
||||||
*text or command here
|
*text or command here
|
||||||
|
|
||||||
For example to change your libera nick:
|
For example to change your freenode nick:
|
||||||
echo 'irc.server.libera */nick newnick' >/run/user/1000/weechat/weechat_fifo_12345
|
echo 'irc.server.freenode */nick newnick' >~/.weechat/weechat_fifo
|
||||||
|
|
||||||
Please read the user's guide for more info and examples.
|
Please read the user's guide for more info and examples.
|
||||||
|
|
||||||
@@ -2832,7 +2711,7 @@ Without argument, this command lists all loaded scripts.
|
|||||||
stop: close the server socket (clients remain connected)
|
stop: close the server socket (clients remain connected)
|
||||||
name: relay name (see format below)
|
name: relay name (see format below)
|
||||||
port: port used for relay
|
port: port used for relay
|
||||||
path: path used for relay (for UNIX domain socket only); path is evaluated (see function string_eval_path_home in plugin API reference)
|
path: path used for relay (for UNIX domain socket only); "%h" at beginning of string is replaced by WeeChat home ("~/.weechat" by default), content is evaluated (see /help eval)
|
||||||
raw: open buffer with raw Relay data
|
raw: open buffer with raw Relay data
|
||||||
sslcertkey: set SSL certificate/key using path in option relay.network.ssl_cert_key
|
sslcertkey: set SSL certificate/key using path in option relay.network.ssl_cert_key
|
||||||
|
|
||||||
@@ -2851,10 +2730,10 @@ The "weechat" protocol allows a remote interface to connect on the port, see the
|
|||||||
Without argument, this command opens buffer with list of relay clients.
|
Without argument, this command opens buffer with list of relay clients.
|
||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
irc proxy, for server "libera":
|
irc proxy, for server "freenode":
|
||||||
/relay add irc.libera 8000
|
/relay add irc.freenode 8000
|
||||||
irc proxy, for server "libera", with SSL:
|
irc proxy, for server "freenode", with SSL:
|
||||||
/relay add ssl.irc.libera 8001
|
/relay add ssl.irc.freenode 8001
|
||||||
irc proxy, for all servers (client will choose), with SSL:
|
irc proxy, for all servers (client will choose), with SSL:
|
||||||
/relay add ssl.irc 8002
|
/relay add ssl.irc 8002
|
||||||
weechat protocol:
|
weechat protocol:
|
||||||
@@ -2868,7 +2747,7 @@ Examples:
|
|||||||
weechat protocol with SSL, using IPv4 + IPv6:
|
weechat protocol with SSL, using IPv4 + IPv6:
|
||||||
/relay add ipv4.ipv6.ssl.weechat 9001
|
/relay add ipv4.ipv6.ssl.weechat 9001
|
||||||
weechat protocol over UNIX domain socket:
|
weechat protocol over UNIX domain socket:
|
||||||
/relay add unix.weechat ${weechat_runtime_dir}/relay_socket
|
/relay add unix.weechat %h/relay_socket
|
||||||
----
|
----
|
||||||
// end::relay_commands[]
|
// end::relay_commands[]
|
||||||
|
|
||||||
|
|||||||
@@ -16,8 +16,8 @@
|
|||||||
** values: sha224, sha256, sha384, sha512
|
** values: sha224, sha256, sha384, sha512
|
||||||
** default value: `+sha256+`
|
** default value: `+sha256+`
|
||||||
|
|
||||||
* [[option_sec.crypt.passphrase_command]] *sec.crypt.passphrase_command*
|
* [[option_sec.crypt.passphrase_file]] *sec.crypt.passphrase_file*
|
||||||
** description: pass:none[read the passphrase from the output of this system command (only the first line is used and it must not contain any extra character); this option is used only when reading file sec.conf and if the environment variable "WEECHAT_PASSPHRASE" is not set (the environment variable has higher priority); example with password-store: "/usr/bin/pass show weechat/passphrase"]
|
** description: pass:none[path to a file containing the passphrase to encrypt/decrypt secured data; this option is used only when reading file sec.conf; only first line of file is used; this file is used only if the environment variable "WEECHAT_PASSPHRASE" is not set (the environment variable has higher priority); security note: it is recommended to keep this file readable only by you and store it outside WeeChat home (for example in your home); example: "~/.weechat-passphrase"]
|
||||||
** type: string
|
** type: string
|
||||||
** values: any string
|
** values: any string
|
||||||
** default value: `+""+`
|
** default value: `+""+`
|
||||||
@@ -846,12 +846,6 @@
|
|||||||
** values: on, off
|
** values: on, off
|
||||||
** default value: `+on+`
|
** default value: `+on+`
|
||||||
|
|
||||||
* [[option_weechat.look.hotlist_update_on_buffer_switch]] *weechat.look.hotlist_update_on_buffer_switch*
|
|
||||||
** description: pass:none[update the hotlist when switching buffers]
|
|
||||||
** type: boolean
|
|
||||||
** values: on, off
|
|
||||||
** default value: `+on+`
|
|
||||||
|
|
||||||
* [[option_weechat.look.input_cursor_scroll]] *weechat.look.input_cursor_scroll*
|
* [[option_weechat.look.input_cursor_scroll]] *weechat.look.input_cursor_scroll*
|
||||||
** description: pass:none[number of chars displayed after end of input line when scrolling to display end of line]
|
** description: pass:none[number of chars displayed after end of input line when scrolling to display end of line]
|
||||||
** type: integer
|
** type: integer
|
||||||
@@ -1146,12 +1140,6 @@
|
|||||||
** values: any string
|
** values: any string
|
||||||
** default value: `+"- "+`
|
** default value: `+"- "+`
|
||||||
|
|
||||||
* [[option_weechat.look.read_marker_update_on_buffer_switch]] *weechat.look.read_marker_update_on_buffer_switch*
|
|
||||||
** description: pass:none[update the read marker when switching buffers]
|
|
||||||
** type: boolean
|
|
||||||
** values: on, off
|
|
||||||
** default value: `+on+`
|
|
||||||
|
|
||||||
* [[option_weechat.look.save_config_on_exit]] *weechat.look.save_config_on_exit*
|
* [[option_weechat.look.save_config_on_exit]] *weechat.look.save_config_on_exit*
|
||||||
** description: pass:none[save configuration file on exit]
|
** description: pass:none[save configuration file on exit]
|
||||||
** type: boolean
|
** type: boolean
|
||||||
@@ -1260,17 +1248,11 @@
|
|||||||
** values: 1 .. 2147483647
|
** values: 1 .. 2147483647
|
||||||
** default value: `+60+`
|
** default value: `+60+`
|
||||||
|
|
||||||
* [[option_weechat.network.gnutls_ca_system]] *weechat.network.gnutls_ca_system*
|
* [[option_weechat.network.gnutls_ca_file]] *weechat.network.gnutls_ca_file*
|
||||||
** description: pass:none[load system's default trusted certificate authorities on startup; this can be turned off to save some memory only if you are not using SSL connections at all]
|
** description: pass:none[file containing the certificate authorities ("%h" will be replaced by WeeChat home, "~/.weechat" by default)]
|
||||||
** type: boolean
|
|
||||||
** values: on, off
|
|
||||||
** default value: `+on+`
|
|
||||||
|
|
||||||
* [[option_weechat.network.gnutls_ca_user]] *weechat.network.gnutls_ca_user*
|
|
||||||
** description: pass:none[extra file(s) with certificate authorities; multiple files must be separated by colons (each path is evaluated, see function string_eval_path_home in plugin API reference)]
|
|
||||||
** type: string
|
** type: string
|
||||||
** values: any string
|
** values: any string
|
||||||
** default value: `+""+`
|
** default value: `+"/etc/ssl/certs/ca-certificates.crt"+`
|
||||||
|
|
||||||
* [[option_weechat.network.gnutls_handshake_timeout]] *weechat.network.gnutls_handshake_timeout*
|
* [[option_weechat.network.gnutls_handshake_timeout]] *weechat.network.gnutls_handshake_timeout*
|
||||||
** description: pass:none[timeout (in seconds) for gnutls handshake]
|
** description: pass:none[timeout (in seconds) for gnutls handshake]
|
||||||
@@ -1290,6 +1272,12 @@
|
|||||||
** values: any string
|
** values: any string
|
||||||
** default value: `+"*"+`
|
** default value: `+"*"+`
|
||||||
|
|
||||||
|
* [[option_weechat.plugin.debug]] *weechat.plugin.debug*
|
||||||
|
** description: pass:none[enable debug messages by default in all plugins (option disabled by default, which is highly recommended)]
|
||||||
|
** type: boolean
|
||||||
|
** values: on, off
|
||||||
|
** default value: `+off+`
|
||||||
|
|
||||||
* [[option_weechat.plugin.extension]] *weechat.plugin.extension*
|
* [[option_weechat.plugin.extension]] *weechat.plugin.extension*
|
||||||
** description: pass:none[comma separated list of file name extensions for plugins]
|
** description: pass:none[comma separated list of file name extensions for plugins]
|
||||||
** type: string
|
** type: string
|
||||||
@@ -1297,10 +1285,10 @@
|
|||||||
** default value: `+".so,.dll"+`
|
** default value: `+".so,.dll"+`
|
||||||
|
|
||||||
* [[option_weechat.plugin.path]] *weechat.plugin.path*
|
* [[option_weechat.plugin.path]] *weechat.plugin.path*
|
||||||
** description: pass:none[path for searching plugins (path is evaluated, see function string_eval_path_home in plugin API reference)]
|
** description: pass:none[path for searching plugins ("%h" will be replaced by WeeChat home, "~/.weechat" by default)]
|
||||||
** type: string
|
** type: string
|
||||||
** values: any string
|
** values: any string
|
||||||
** default value: `+"${weechat_data_dir}/plugins"+`
|
** default value: `+"%h/plugins"+`
|
||||||
|
|
||||||
* [[option_weechat.plugin.save_config_on_unload]] *weechat.plugin.save_config_on_unload*
|
* [[option_weechat.plugin.save_config_on_unload]] *weechat.plugin.save_config_on_unload*
|
||||||
** description: pass:none[save configuration files when unloading plugins]
|
** description: pass:none[save configuration files when unloading plugins]
|
||||||
@@ -1308,44 +1296,14 @@
|
|||||||
** values: on, off
|
** values: on, off
|
||||||
** default value: `+on+`
|
** default value: `+on+`
|
||||||
|
|
||||||
* [[option_weechat.signal.sighup]] *weechat.signal.sighup*
|
|
||||||
** description: pass:none[command to execute when the signal is received, multiple commands can be separated by semicolons (note: commands are evaluated, see /help eval)]
|
|
||||||
** type: string
|
|
||||||
** values: any string
|
|
||||||
** default value: `+"${if:${info:weechat_headless}?/reload:/quit -yes}"+`
|
|
||||||
|
|
||||||
* [[option_weechat.signal.sigquit]] *weechat.signal.sigquit*
|
|
||||||
** description: pass:none[command to execute when the signal is received, multiple commands can be separated by semicolons (note: commands are evaluated, see /help eval)]
|
|
||||||
** type: string
|
|
||||||
** values: any string
|
|
||||||
** default value: `+"/quit -yes"+`
|
|
||||||
|
|
||||||
* [[option_weechat.signal.sigterm]] *weechat.signal.sigterm*
|
|
||||||
** description: pass:none[command to execute when the signal is received, multiple commands can be separated by semicolons (note: commands are evaluated, see /help eval)]
|
|
||||||
** type: string
|
|
||||||
** values: any string
|
|
||||||
** default value: `+"/quit -yes"+`
|
|
||||||
|
|
||||||
* [[option_weechat.signal.sigusr1]] *weechat.signal.sigusr1*
|
|
||||||
** description: pass:none[command to execute when the signal is received, multiple commands can be separated by semicolons (note: commands are evaluated, see /help eval)]
|
|
||||||
** type: string
|
|
||||||
** values: any string
|
|
||||||
** default value: `+""+`
|
|
||||||
|
|
||||||
* [[option_weechat.signal.sigusr2]] *weechat.signal.sigusr2*
|
|
||||||
** description: pass:none[command to execute when the signal is received, multiple commands can be separated by semicolons (note: commands are evaluated, see /help eval)]
|
|
||||||
** type: string
|
|
||||||
** values: any string
|
|
||||||
** default value: `+""+`
|
|
||||||
|
|
||||||
* [[option_weechat.startup.command_after_plugins]] *weechat.startup.command_after_plugins*
|
* [[option_weechat.startup.command_after_plugins]] *weechat.startup.command_after_plugins*
|
||||||
** description: pass:none[command executed when WeeChat starts, after loading plugins; multiple commands can be separated by semicolons (note: commands are evaluated, see /help eval)]
|
** description: pass:none[command executed when WeeChat starts, after loading plugins (note: content is evaluated, see /help eval)]
|
||||||
** type: string
|
** type: string
|
||||||
** values: any string
|
** values: any string
|
||||||
** default value: `+""+`
|
** default value: `+""+`
|
||||||
|
|
||||||
* [[option_weechat.startup.command_before_plugins]] *weechat.startup.command_before_plugins*
|
* [[option_weechat.startup.command_before_plugins]] *weechat.startup.command_before_plugins*
|
||||||
** description: pass:none[command executed when WeeChat starts, before loading plugins; multiple commands can be separated by semicolons (note: commands are evaluated, see /help eval)]
|
** description: pass:none[command executed when WeeChat starts, before loading plugins (note: content is evaluated, see /help eval)]
|
||||||
** type: string
|
** type: string
|
||||||
** values: any string
|
** values: any string
|
||||||
** default value: `+""+`
|
** default value: `+""+`
|
||||||
@@ -1451,10 +1409,10 @@
|
|||||||
** default value: `+""+`
|
** default value: `+""+`
|
||||||
|
|
||||||
* [[option_logger.file.path]] *logger.file.path*
|
* [[option_logger.file.path]] *logger.file.path*
|
||||||
** description: pass:none[path for WeeChat log files; date specifiers are permitted (see man strftime) (path is evaluated, see function string_eval_path_home in plugin API reference)]
|
** description: pass:none[path for WeeChat log files; "%h" at beginning of string is replaced by WeeChat home ("~/.weechat" by default); date specifiers are permitted (see man strftime) (note: content is evaluated, see /help eval)]
|
||||||
** type: string
|
** type: string
|
||||||
** values: any string
|
** values: any string
|
||||||
** default value: `+"${weechat_data_dir}/logs"+`
|
** default value: `+"%h/logs/"+`
|
||||||
|
|
||||||
* [[option_logger.file.replacement_char]] *logger.file.replacement_char*
|
* [[option_logger.file.replacement_char]] *logger.file.replacement_char*
|
||||||
** description: pass:none[replacement char for special chars in filename built with mask (like directory delimiter)]
|
** description: pass:none[replacement char for special chars in filename built with mask (like directory delimiter)]
|
||||||
@@ -1746,12 +1704,6 @@
|
|||||||
** values: any string
|
** values: any string
|
||||||
** default value: `+"${color:green}${number}${if:${number_displayed}?.: }"+`
|
** default value: `+"${color:green}${number}${if:${number_displayed}?.: }"+`
|
||||||
|
|
||||||
* [[option_buflist.format.tls_version]] *buflist.format.tls_version*
|
|
||||||
** description: pass:none[format for TLS version on an IRC server buffer (note: content is evaluated, see /help buflist)]
|
|
||||||
** type: string
|
|
||||||
** values: any string
|
|
||||||
** default value: `+" ${color:default}(${if:${tls_version}==TLS1.3?${color:green}:${if:${tls_version}==TLS1.2?${color:yellow}:${color:red}}}${translate:${tls_version}}${color:default})"+`
|
|
||||||
|
|
||||||
* [[option_buflist.look.add_newline]] *buflist.look.add_newline*
|
* [[option_buflist.look.add_newline]] *buflist.look.add_newline*
|
||||||
** description: pass:none[add newline between the buffers displayed, so each buffer is displayed on a separate line (recommended); if disabled, newlines must be manually added in the formats with "${\n}", and the mouse actions are not possible any more]
|
** description: pass:none[add newline between the buffers displayed, so each buffer is displayed on a separate line (recommended); if disabled, newlines must be manually added in the formats with "${\n}", and the mouse actions are not possible any more]
|
||||||
** type: boolean
|
** type: boolean
|
||||||
@@ -1813,16 +1765,10 @@
|
|||||||
** default value: `+""+`
|
** default value: `+""+`
|
||||||
|
|
||||||
* [[option_buflist.look.sort]] *buflist.look.sort*
|
* [[option_buflist.look.sort]] *buflist.look.sort*
|
||||||
** description: pass:none[comma-separated list of fields to sort buffers; each field is a hdata variable of buffer ("var"), a hdata variable of IRC server ("irc_server.var") or a hdata variable of IRC channel ("irc_channel.var"); char "-" can be used before field to reverse order, char "~" can be used to do a case insensitive comparison; example: "-~short_name" for case insensitive and reverse sort on buffer short name (note: the content is evaluated, before being split into fields, but at that time "bar_item" is the only variable that can be used, to distinguish between different buflist items, for example "${bar_item.name}")]
|
** description: pass:none[comma-separated list of fields to sort buffers; each field is a hdata variable of buffer ("var"), a hdata variable of IRC server ("irc_server.var") or a hdata variable of IRC channel ("irc_channel.var"); char "-" can be used before field to reverse order, char "~" can be used to do a case insensitive comparison; example: "-~short_name" for case insensitive and reverse sort on buffer short name (note: content is evaluated, only the pointer to bar_item can be used, for example "bar_item.name")]
|
||||||
** type: string
|
** type: string
|
||||||
** values: any string
|
** values: any string
|
||||||
** default value: `+"number,-active"+`
|
** default value: `+"number,-active"+`
|
||||||
|
|
||||||
* [[option_buflist.look.use_items]] *buflist.look.use_items*
|
|
||||||
** description: pass:none[number of buflist bar items that can be used; the item names are: "buflist", "buflist2", "buflist3"; be careful, using more than one bar item slows down the display of buffers list]
|
|
||||||
** type: integer
|
|
||||||
** values: 1 .. 3
|
|
||||||
** default value: `+1+`
|
|
||||||
// end::buflist_options[]
|
// end::buflist_options[]
|
||||||
|
|
||||||
// tag::fifo_options[]
|
// tag::fifo_options[]
|
||||||
@@ -1833,56 +1779,12 @@
|
|||||||
** default value: `+on+`
|
** default value: `+on+`
|
||||||
|
|
||||||
* [[option_fifo.file.path]] *fifo.file.path*
|
* [[option_fifo.file.path]] *fifo.file.path*
|
||||||
** description: pass:none[path for FIFO file; WeeChat PID can be used in path with ${info:pid} (path is evaluated, see function string_eval_path_home in plugin API reference)]
|
** description: pass:none[path for FIFO file; "%h" at beginning of string is replaced by WeeChat home ("~/.weechat" by default); WeeChat PID can be used in path with ${info:pid} (note: content is evaluated, see /help eval)]
|
||||||
** type: string
|
** type: string
|
||||||
** values: any string
|
** values: any string
|
||||||
** default value: `+"${weechat_runtime_dir}/weechat_fifo_${info:pid}"+`
|
** default value: `+"%h/weechat_fifo"+`
|
||||||
// end::fifo_options[]
|
// end::fifo_options[]
|
||||||
|
|
||||||
// tag::typing_options[]
|
|
||||||
* [[option_typing.look.delay_purge_paused]] *typing.look.delay_purge_paused*
|
|
||||||
** description: pass:none[number of seconds after paused status has been set: if reached, the typing status is removed]
|
|
||||||
** type: integer
|
|
||||||
** values: 1 .. 2147483647
|
|
||||||
** default value: `+30+`
|
|
||||||
|
|
||||||
* [[option_typing.look.delay_purge_typing]] *typing.look.delay_purge_typing*
|
|
||||||
** description: pass:none[number of seconds after typing status has been set: if reached, the typing status is removed]
|
|
||||||
** type: integer
|
|
||||||
** values: 1 .. 2147483647
|
|
||||||
** default value: `+6+`
|
|
||||||
|
|
||||||
* [[option_typing.look.delay_set_paused]] *typing.look.delay_set_paused*
|
|
||||||
** description: pass:none[number of seconds after typing last char: if reached, the typing status becomes "paused" and no more typing signals are sent]
|
|
||||||
** type: integer
|
|
||||||
** values: 1 .. 2147483647
|
|
||||||
** default value: `+10+`
|
|
||||||
|
|
||||||
* [[option_typing.look.enabled_nicks]] *typing.look.enabled_nicks*
|
|
||||||
** description: pass:none[typing enabled for other nicks (display typing info for nicks typing in the current buffer)]
|
|
||||||
** type: boolean
|
|
||||||
** values: on, off
|
|
||||||
** default value: `+off+`
|
|
||||||
|
|
||||||
* [[option_typing.look.enabled_self]] *typing.look.enabled_self*
|
|
||||||
** description: pass:none[typing enabled for self messages (send typing info to other users)]
|
|
||||||
** type: boolean
|
|
||||||
** values: on, off
|
|
||||||
** default value: `+off+`
|
|
||||||
|
|
||||||
* [[option_typing.look.input_min_chars]] *typing.look.input_min_chars*
|
|
||||||
** description: pass:none[min number of chars in message to trigger send of typing signals]
|
|
||||||
** type: integer
|
|
||||||
** values: 1 .. 2147483647
|
|
||||||
** default value: `+4+`
|
|
||||||
|
|
||||||
* [[option_typing.look.item_max_length]] *typing.look.item_max_length*
|
|
||||||
** description: pass:none[max number of chars displayed in the bar item "typing" (0 = do not truncate content)]
|
|
||||||
** type: integer
|
|
||||||
** values: 0 .. 2147483647
|
|
||||||
** default value: `+0+`
|
|
||||||
// end::typing_options[]
|
|
||||||
|
|
||||||
// tag::xfer_options[]
|
// tag::xfer_options[]
|
||||||
* [[option_xfer.color.status_aborted]] *xfer.color.status_aborted*
|
* [[option_xfer.color.status_aborted]] *xfer.color.status_aborted*
|
||||||
** description: pass:none[text color for "aborted" status]
|
** description: pass:none[text color for "aborted" status]
|
||||||
@@ -1951,7 +1853,7 @@
|
|||||||
** default value: `+off+`
|
** default value: `+off+`
|
||||||
|
|
||||||
* [[option_xfer.file.auto_accept_nicks]] *xfer.file.auto_accept_nicks*
|
* [[option_xfer.file.auto_accept_nicks]] *xfer.file.auto_accept_nicks*
|
||||||
** description: pass:none[comma-separated list of nicks for which the incoming files and chats are automatically accepted; format is "server.nick" (for a specific server) or "nick" (for all servers); example: "libera.FlashCode,andrew"]
|
** description: pass:none[comma-separated list of nicks for which the incoming files and chats are automatically accepted; format is "server.nick" (for a specific server) or "nick" (for all servers); example: "freenode.FlashCode,andrew"]
|
||||||
** type: string
|
** type: string
|
||||||
** values: any string
|
** values: any string
|
||||||
** default value: `+""+`
|
** default value: `+""+`
|
||||||
@@ -1981,10 +1883,10 @@
|
|||||||
** default value: `+on+`
|
** default value: `+on+`
|
||||||
|
|
||||||
* [[option_xfer.file.download_path]] *xfer.file.download_path*
|
* [[option_xfer.file.download_path]] *xfer.file.download_path*
|
||||||
** description: pass:none[path for writing incoming files (path is evaluated, see function string_eval_path_home in plugin API reference)]
|
** description: pass:none[path for writing incoming files: "%h" at beginning of string is replaced by WeeChat home ("~/.weechat" by default) (note: content is evaluated, see /help eval)]
|
||||||
** type: string
|
** type: string
|
||||||
** values: any string
|
** values: any string
|
||||||
** default value: `+"${weechat_data_dir}/xfer"+`
|
** default value: `+"%h/xfer"+`
|
||||||
|
|
||||||
* [[option_xfer.file.download_temporary_suffix]] *xfer.file.download_temporary_suffix*
|
* [[option_xfer.file.download_temporary_suffix]] *xfer.file.download_temporary_suffix*
|
||||||
** description: pass:none[temporary filename suffix used during the transfer for a file received, it is removed after successful transfer; if empty string, no filename suffix is used during the transfer]
|
** description: pass:none[temporary filename suffix used during the transfer for a file received, it is removed after successful transfer; if empty string, no filename suffix is used during the transfer]
|
||||||
@@ -1993,7 +1895,7 @@
|
|||||||
** default value: `+".part"+`
|
** default value: `+".part"+`
|
||||||
|
|
||||||
* [[option_xfer.file.upload_path]] *xfer.file.upload_path*
|
* [[option_xfer.file.upload_path]] *xfer.file.upload_path*
|
||||||
** description: pass:none[path for reading files when sending (path is evaluated, see function string_eval_path_home in plugin API reference)]
|
** description: pass:none[path for reading files when sending (when no path is specified by user): "%h" at beginning of string is replaced by WeeChat home ("~/.weechat" by default) (note: content is evaluated, see /help eval)]
|
||||||
** type: string
|
** type: string
|
||||||
** values: any string
|
** values: any string
|
||||||
** default value: `+"~"+`
|
** default value: `+"~"+`
|
||||||
@@ -2102,24 +2004,6 @@
|
|||||||
** values: a WeeChat color name (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), a terminal color number or an alias; attributes are allowed before color (for text color only, not background): "*" for bold, "!" for reverse, "/" for italic, "_" for underline
|
** values: a WeeChat color name (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), a terminal color number or an alias; attributes are allowed before color (for text color only, not background): "*" for bold, "!" for reverse, "/" for italic, "_" for underline
|
||||||
** default value: `+default+`
|
** default value: `+default+`
|
||||||
|
|
||||||
* [[option_irc.color.item_tls_version_deprecated]] *irc.color.item_tls_version_deprecated*
|
|
||||||
** description: pass:none[color for deprecated TLS versions in bar item "tls_version"]
|
|
||||||
** type: color
|
|
||||||
** values: a WeeChat color name (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), a terminal color number or an alias; attributes are allowed before color (for text color only, not background): "*" for bold, "!" for reverse, "/" for italic, "_" for underline
|
|
||||||
** default value: `+yellow+`
|
|
||||||
|
|
||||||
* [[option_irc.color.item_tls_version_insecure]] *irc.color.item_tls_version_insecure*
|
|
||||||
** description: pass:none[color for insecure TLS versions in bar item "tls_version"]
|
|
||||||
** type: color
|
|
||||||
** values: a WeeChat color name (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), a terminal color number or an alias; attributes are allowed before color (for text color only, not background): "*" for bold, "!" for reverse, "/" for italic, "_" for underline
|
|
||||||
** default value: `+red+`
|
|
||||||
|
|
||||||
* [[option_irc.color.item_tls_version_ok]] *irc.color.item_tls_version_ok*
|
|
||||||
** description: pass:none[color for higher supported TLS version in bar item "tls_version"]
|
|
||||||
** type: color
|
|
||||||
** values: a WeeChat color name (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), a terminal color number or an alias; attributes are allowed before color (for text color only, not background): "*" for bold, "!" for reverse, "/" for italic, "_" for underline
|
|
||||||
** default value: `+green+`
|
|
||||||
|
|
||||||
* [[option_irc.color.message_account]] *irc.color.message_account*
|
* [[option_irc.color.message_account]] *irc.color.message_account*
|
||||||
** description: pass:none[color for text in account messages]
|
** description: pass:none[color for text in account messages]
|
||||||
** type: color
|
** type: color
|
||||||
@@ -2252,12 +2136,6 @@
|
|||||||
** values: any string
|
** values: any string
|
||||||
** default value: `+"%a, %d %b %Y %T %z"+`
|
** default value: `+"%a, %d %b %Y %T %z"+`
|
||||||
|
|
||||||
* [[option_irc.look.display_account_message]] *irc.look.display_account_message*
|
|
||||||
** description: pass:none[display ACCOUNT messages received when capability account-notify is enabled]
|
|
||||||
** type: boolean
|
|
||||||
** values: on, off
|
|
||||||
** default value: `+on+`
|
|
||||||
|
|
||||||
* [[option_irc.look.display_away]] *irc.look.display_away*
|
* [[option_irc.look.display_away]] *irc.look.display_away*
|
||||||
** description: pass:none[display message when (un)marking as away (off: do not display/send anything, local: display locally, channel: send action to channels)]
|
** description: pass:none[display message when (un)marking as away (off: do not display/send anything, local: display locally, channel: send action to channels)]
|
||||||
** type: integer
|
** type: integer
|
||||||
@@ -2282,12 +2160,6 @@
|
|||||||
** values: on, off
|
** values: on, off
|
||||||
** default value: `+on+`
|
** default value: `+on+`
|
||||||
|
|
||||||
* [[option_irc.look.display_extended_join]] *irc.look.display_extended_join*
|
|
||||||
** description: pass:none[display extra information in the JOIN messages: account name and real name (capability extended-join must be enabled)]
|
|
||||||
** type: boolean
|
|
||||||
** values: on, off
|
|
||||||
** default value: `+on+`
|
|
||||||
|
|
||||||
* [[option_irc.look.display_host_join]] *irc.look.display_host_join*
|
* [[option_irc.look.display_host_join]] *irc.look.display_host_join*
|
||||||
** description: pass:none[display host in join messages]
|
** description: pass:none[display host in join messages]
|
||||||
** type: boolean
|
** type: boolean
|
||||||
@@ -2337,19 +2209,19 @@
|
|||||||
** default value: `+off+`
|
** default value: `+off+`
|
||||||
|
|
||||||
* [[option_irc.look.highlight_channel]] *irc.look.highlight_channel*
|
* [[option_irc.look.highlight_channel]] *irc.look.highlight_channel*
|
||||||
** description: pass:none[comma separated list of words to highlight in channel buffers (case insensitive, use "(?-i)" at beginning of words to make them case sensitive; special variables $nick, $channel and $server are replaced by their values), these words are added to buffer property "highlight_words" only when buffer is created (it does not affect current buffers), an empty string disables default highlight on nick, examples: "$nick", "(?-i)$nick"]
|
** description: pass:none[comma separated list of words to highlight in channel buffers (case insensitive, use "(?-i)" at beginning of words to make them case sensitive; special variables $nick, $channel and $server are replaced by their value), these words are added to buffer property "highlight_words" only when buffer is created (it does not affect current buffers), an empty string disables default highlight on nick, examples: "$nick", "(?-i)$nick"]
|
||||||
** type: string
|
** type: string
|
||||||
** values: any string
|
** values: any string
|
||||||
** default value: `+"$nick"+`
|
** default value: `+"$nick"+`
|
||||||
|
|
||||||
* [[option_irc.look.highlight_pv]] *irc.look.highlight_pv*
|
* [[option_irc.look.highlight_pv]] *irc.look.highlight_pv*
|
||||||
** description: pass:none[comma separated list of words to highlight in private buffers (case insensitive, use "(?-i)" at beginning of words to make them case sensitive; special variables $nick, $channel and $server are replaced by their values), these words are added to buffer property "highlight_words" only when buffer is created (it does not affect current buffers), an empty string disables default highlight on nick, examples: "$nick", "(?-i)$nick"]
|
** description: pass:none[comma separated list of words to highlight in private buffers (case insensitive, use "(?-i)" at beginning of words to make them case sensitive; special variables $nick, $channel and $server are replaced by their value), these words are added to buffer property "highlight_words" only when buffer is created (it does not affect current buffers), an empty string disables default highlight on nick, examples: "$nick", "(?-i)$nick"]
|
||||||
** type: string
|
** type: string
|
||||||
** values: any string
|
** values: any string
|
||||||
** default value: `+"$nick"+`
|
** default value: `+"$nick"+`
|
||||||
|
|
||||||
* [[option_irc.look.highlight_server]] *irc.look.highlight_server*
|
* [[option_irc.look.highlight_server]] *irc.look.highlight_server*
|
||||||
** description: pass:none[comma separated list of words to highlight in server buffers (case insensitive, use "(?-i)" at beginning of words to make them case sensitive; special variables $nick, $channel and $server are replaced by their values), these words are added to buffer property "highlight_words" only when buffer is created (it does not affect current buffers), an empty string disables default highlight on nick, examples: "$nick", "(?-i)$nick"]
|
** description: pass:none[comma separated list of words to highlight in server buffers (case insensitive, use "(?-i)" at beginning of words to make them case sensitive; special variables $nick, $channel and $server are replaced by their value), these words are added to buffer property "highlight_words" only when buffer is created (it does not affect current buffers), an empty string disables default highlight on nick, examples: "$nick", "(?-i)$nick"]
|
||||||
** type: string
|
** type: string
|
||||||
** values: any string
|
** values: any string
|
||||||
** default value: `+"$nick"+`
|
** default value: `+"$nick"+`
|
||||||
@@ -2558,18 +2430,6 @@
|
|||||||
** values: on, off
|
** values: on, off
|
||||||
** default value: `+off+`
|
** default value: `+off+`
|
||||||
|
|
||||||
* [[option_irc.look.typing_status_nicks]] *irc.look.typing_status_nicks*
|
|
||||||
** description: pass:none[display nicks typing on the channel in bar item "typing" (option typing.look.enabled_nicks must be enabled and capability "message-tags" must be enabled on the server)]
|
|
||||||
** type: boolean
|
|
||||||
** values: on, off
|
|
||||||
** default value: `+off+`
|
|
||||||
|
|
||||||
* [[option_irc.look.typing_status_self]] *irc.look.typing_status_self*
|
|
||||||
** description: pass:none[send self typing status to channels so that other users see when you are typing a message (option typing.look.enabled_self must be enabled and capability "message-tags" must be enabled on the server)]
|
|
||||||
** type: boolean
|
|
||||||
** values: on, off
|
|
||||||
** default value: `+off+`
|
|
||||||
|
|
||||||
* [[option_irc.network.autoreconnect_delay_growing]] *irc.network.autoreconnect_delay_growing*
|
* [[option_irc.network.autoreconnect_delay_growing]] *irc.network.autoreconnect_delay_growing*
|
||||||
** description: pass:none[growing factor for autoreconnect delay to server (1 = always same delay, 2 = delay*2 for each retry, etc.)]
|
** description: pass:none[growing factor for autoreconnect delay to server (1 = always same delay, 2 = delay*2 for each retry, etc.)]
|
||||||
** type: integer
|
** type: integer
|
||||||
@@ -2690,12 +2550,6 @@
|
|||||||
** values: any string
|
** values: any string
|
||||||
** default value: `+""+`
|
** default value: `+""+`
|
||||||
|
|
||||||
* [[option_irc.server_default.autojoin_dynamic]] *irc.server_default.autojoin_dynamic*
|
|
||||||
** description: pass:none[set automatically the "autojoin" option according to the channels you manually join and part with commands /join and /part]
|
|
||||||
** type: boolean
|
|
||||||
** values: on, off
|
|
||||||
** default value: `+off+`
|
|
||||||
|
|
||||||
* [[option_irc.server_default.autoreconnect]] *irc.server_default.autoreconnect*
|
* [[option_irc.server_default.autoreconnect]] *irc.server_default.autoreconnect*
|
||||||
** description: pass:none[automatically reconnect to server when disconnected]
|
** description: pass:none[automatically reconnect to server when disconnected]
|
||||||
** type: boolean
|
** type: boolean
|
||||||
@@ -2733,10 +2587,10 @@
|
|||||||
** default value: `+25+`
|
** default value: `+25+`
|
||||||
|
|
||||||
* [[option_irc.server_default.capabilities]] *irc.server_default.capabilities*
|
* [[option_irc.server_default.capabilities]] *irc.server_default.capabilities*
|
||||||
** description: pass:none[comma-separated list of client capabilities to enable for server if they are available (see /help cap for a list of capabilities supported by WeeChat); "*" enables all capabilities by default (supported by both server and WeeChat); wildcard "*" is allowed; a capability beginning with "!" is excluded (example: "*,!account-*,!extended-join")]
|
** description: pass:none[comma-separated list of client capabilities to enable for server if they are available (see /help cap for a list of capabilities supported by WeeChat) (example: "away-notify,multi-prefix")]
|
||||||
** type: string
|
** type: string
|
||||||
** values: any string
|
** values: any string
|
||||||
** default value: `+"*"+`
|
** default value: `+""+`
|
||||||
|
|
||||||
* [[option_irc.server_default.charset_message]] *irc.server_default.charset_message*
|
* [[option_irc.server_default.charset_message]] *irc.server_default.charset_message*
|
||||||
** description: pass:none[part of the IRC message (received or sent) which is decoded/encoded to the target charset; message = the whole IRC message (default), channel = starting from the channel name only (if found, with fallback on text), text = starting from the text only (you should try this value if you have issues with the channel name encoding)]
|
** description: pass:none[part of the IRC message (received or sent) which is decoded/encoded to the target charset; message = the whole IRC message (default), channel = starting from the channel name only (if found, with fallback on text), text = starting from the text only (you should try this value if you have issues with the channel name encoding)]
|
||||||
@@ -2745,7 +2599,7 @@
|
|||||||
** default value: `+message+`
|
** default value: `+message+`
|
||||||
|
|
||||||
* [[option_irc.server_default.command]] *irc.server_default.command*
|
* [[option_irc.server_default.command]] *irc.server_default.command*
|
||||||
** description: pass:none[command(s) to run after connection to server and before auto-join of channels (many commands can be separated by ";", use "\;" for a semicolon, special variables $nick, $channel and $server are replaced by their values) (note: commands are evaluated, see /help eval; server options are evaluated with ${irc_server.xxx} and ${server} is replaced by the server name)]
|
** description: pass:none[command(s) to run after connection to server and before auto-join of channels (many commands can be separated by ";", use "\;" for a semicolon, special variables $nick, $channel and $server are replaced by their value) (note: content is evaluated, see /help eval; server options are evaluated with ${irc_server.xxx} and ${server} is replaced by the server name)]
|
||||||
** type: string
|
** type: string
|
||||||
** values: any string
|
** values: any string
|
||||||
** default value: `+""+`
|
** default value: `+""+`
|
||||||
@@ -2781,19 +2635,19 @@
|
|||||||
** default value: `+""+`
|
** default value: `+""+`
|
||||||
|
|
||||||
* [[option_irc.server_default.msg_kick]] *irc.server_default.msg_kick*
|
* [[option_irc.server_default.msg_kick]] *irc.server_default.msg_kick*
|
||||||
** description: pass:none[default kick message used by commands "/kick" and "/kickban" (note: content is evaluated, see /help eval; special variables ${nick} (self nick), ${target} (target nick), ${channel} and ${server} are replaced by their values)]
|
** description: pass:none[default kick message used by commands "/kick" and "/kickban" (note: content is evaluated, see /help eval; special variables ${nick}, ${channel} and ${server} are replaced by their value)]
|
||||||
** type: string
|
** type: string
|
||||||
** values: any string
|
** values: any string
|
||||||
** default value: `+""+`
|
** default value: `+""+`
|
||||||
|
|
||||||
* [[option_irc.server_default.msg_part]] *irc.server_default.msg_part*
|
* [[option_irc.server_default.msg_part]] *irc.server_default.msg_part*
|
||||||
** description: pass:none[default part message (leaving channel) (note: content is evaluated, see /help eval; special variables ${nick}, ${channel} and ${server} are replaced by their values; "%v" is replaced by WeeChat version if there is no ${...} in string)]
|
** description: pass:none[default part message (leaving channel) (note: content is evaluated, see /help eval; special variables ${nick}, ${channel} and ${server} are replaced by their value; "%v" is replaced by WeeChat version if there is no ${...} in string)]
|
||||||
** type: string
|
** type: string
|
||||||
** values: any string
|
** values: any string
|
||||||
** default value: `+"WeeChat ${info:version}"+`
|
** default value: `+"WeeChat ${info:version}"+`
|
||||||
|
|
||||||
* [[option_irc.server_default.msg_quit]] *irc.server_default.msg_quit*
|
* [[option_irc.server_default.msg_quit]] *irc.server_default.msg_quit*
|
||||||
** description: pass:none[default quit message (disconnecting from server) (note: content is evaluated, see /help eval; special variables ${nick}, ${channel} and ${server} are replaced by their values; "%v" is replaced by WeeChat version if there is no ${...} in string)]
|
** description: pass:none[default quit message (disconnecting from server) (note: content is evaluated, see /help eval; special variables ${nick}, ${channel} and ${server} are replaced by their value; "%v" is replaced by WeeChat version if there is no ${...} in string)]
|
||||||
** type: string
|
** type: string
|
||||||
** values: any string
|
** values: any string
|
||||||
** default value: `+"WeeChat ${info:version}"+`
|
** default value: `+"WeeChat ${info:version}"+`
|
||||||
@@ -2838,18 +2692,18 @@
|
|||||||
** description: pass:none[action to perform if SASL authentication fails: "continue" to ignore the authentication problem, "reconnect" to schedule a reconnection to the server, "disconnect" to disconnect from server (see also option irc.network.sasl_fail_unavailable)]
|
** description: pass:none[action to perform if SASL authentication fails: "continue" to ignore the authentication problem, "reconnect" to schedule a reconnection to the server, "disconnect" to disconnect from server (see also option irc.network.sasl_fail_unavailable)]
|
||||||
** type: integer
|
** type: integer
|
||||||
** values: continue, reconnect, disconnect
|
** values: continue, reconnect, disconnect
|
||||||
** default value: `+reconnect+`
|
** default value: `+continue+`
|
||||||
|
|
||||||
* [[option_irc.server_default.sasl_key]] *irc.server_default.sasl_key*
|
* [[option_irc.server_default.sasl_key]] *irc.server_default.sasl_key*
|
||||||
** description: pass:none[file with ECC private key for mechanism "ecdsa-nist256p-challenge" (path is evaluated, see function string_eval_path_home in plugin API reference)]
|
** description: pass:none[file with ECC private key for mechanism "ecdsa-nist256p-challenge" ("%h" will be replaced by WeeChat home, "~/.weechat" by default)]
|
||||||
** type: string
|
** type: string
|
||||||
** values: any string
|
** values: any string
|
||||||
** default value: `+""+`
|
** default value: `+""+`
|
||||||
|
|
||||||
* [[option_irc.server_default.sasl_mechanism]] *irc.server_default.sasl_mechanism*
|
* [[option_irc.server_default.sasl_mechanism]] *irc.server_default.sasl_mechanism*
|
||||||
** description: pass:none[mechanism for SASL authentication: "plain" for plain text password, "scram-sha-1" for SCRAM authentication with SHA-1 digest algorithm, "scram-sha-256" for SCRAM authentication with SHA-256 digest algorithm, "scram-sha-512" for SCRAM authentication with SHA-512 digest algorithm, "ecdsa-nist256p-challenge" for key-based challenge authentication, "external" for authentication using client side SSL certificate]
|
** description: pass:none[mechanism for SASL authentication: "plain" for plain text password, "ecdsa-nist256p-challenge" for key-based challenge authentication, "external" for authentication using client side SSL cert, "dh-blowfish" for blowfish crypted password (insecure, not recommended), "dh-aes" for AES crypted password (insecure, not recommended)]
|
||||||
** type: integer
|
** type: integer
|
||||||
** values: plain, scram-sha-1, scram-sha-256, scram-sha-512, ecdsa-nist256p-challenge, external
|
** values: plain, ecdsa-nist256p-challenge, external, dh-blowfish, dh-aes
|
||||||
** default value: `+plain+`
|
** default value: `+plain+`
|
||||||
|
|
||||||
* [[option_irc.server_default.sasl_password]] *irc.server_default.sasl_password*
|
* [[option_irc.server_default.sasl_password]] *irc.server_default.sasl_password*
|
||||||
@@ -2883,7 +2737,7 @@
|
|||||||
** default value: `+off+`
|
** default value: `+off+`
|
||||||
|
|
||||||
* [[option_irc.server_default.ssl_cert]] *irc.server_default.ssl_cert*
|
* [[option_irc.server_default.ssl_cert]] *irc.server_default.ssl_cert*
|
||||||
** description: pass:none[SSL certificate file used to automatically identify your nick (path is evaluated, see function string_eval_path_home in plugin API reference)]
|
** description: pass:none[SSL certificate file used to automatically identify your nick ("%h" will be replaced by WeeChat home, "~/.weechat" by default)]
|
||||||
** type: string
|
** type: string
|
||||||
** values: any string
|
** values: any string
|
||||||
** default value: `+""+`
|
** default value: `+""+`
|
||||||
@@ -3064,11 +2918,11 @@
|
|||||||
** values: -1 .. 43200
|
** values: -1 .. 43200
|
||||||
** default value: `+0+`
|
** default value: `+0+`
|
||||||
|
|
||||||
* [[option_relay.network.compression]] *relay.network.compression*
|
* [[option_relay.network.compression_level]] *relay.network.compression_level*
|
||||||
** description: pass:none[compression of messages sent to clients with "weechat" protocol: 0 = disable compression, 1 = low compression / fast ... 100 = best compression / slow; the value is a percentage converted to 1-9 for zlib and 1-19 for zstd; the default value is recommended, it offers a good compromise between compression and speed]
|
** description: pass:none[compression level for packets sent to client with WeeChat protocol (0 = disable compression, 1 = low compression ... 9 = best compression)]
|
||||||
** type: integer
|
** type: integer
|
||||||
** values: 0 .. 100
|
** values: 0 .. 9
|
||||||
** default value: `+20+`
|
** default value: `+6+`
|
||||||
|
|
||||||
* [[option_relay.network.ipv6]] *relay.network.ipv6*
|
* [[option_relay.network.ipv6]] *relay.network.ipv6*
|
||||||
** description: pass:none[listen on IPv6 socket by default (in addition to IPv4 which is default); protocols IPv4 and IPv6 can be forced (individually or together) in the protocol name (see /help relay)]
|
** description: pass:none[listen on IPv6 socket by default (in addition to IPv4 which is default); protocols IPv4 and IPv6 can be forced (individually or together) in the protocol name (see /help relay)]
|
||||||
@@ -3107,10 +2961,10 @@
|
|||||||
** default value: `+100000+`
|
** default value: `+100000+`
|
||||||
|
|
||||||
* [[option_relay.network.ssl_cert_key]] *relay.network.ssl_cert_key*
|
* [[option_relay.network.ssl_cert_key]] *relay.network.ssl_cert_key*
|
||||||
** description: pass:none[file with SSL certificate and private key (for serving clients with SSL) (path is evaluated, see function string_eval_path_home in plugin API reference)]
|
** description: pass:none[file with SSL certificate and private key (for serving clients with SSL)]
|
||||||
** type: string
|
** type: string
|
||||||
** values: any string
|
** values: any string
|
||||||
** default value: `+"${weechat_config_dir}/ssl/relay.pem"+`
|
** default value: `+"%h/ssl/relay.pem"+`
|
||||||
|
|
||||||
* [[option_relay.network.ssl_priorities]] *relay.network.ssl_priorities*
|
* [[option_relay.network.ssl_priorities]] *relay.network.ssl_priorities*
|
||||||
** description: pass:none[string with priorities for gnutls (for syntax, see documentation of function gnutls_priority_init in gnutls manual, common strings are: "PERFORMANCE", "NORMAL", "SECURE128", "SECURE256", "EXPORT", "NONE")]
|
** description: pass:none[string with priorities for gnutls (for syntax, see documentation of function gnutls_priority_init in gnutls manual, common strings are: "PERFORMANCE", "NORMAL", "SECURE128", "SECURE256", "EXPORT", "NONE")]
|
||||||
@@ -3143,20 +2997,6 @@
|
|||||||
** default value: `+""+`
|
** default value: `+""+`
|
||||||
// end::relay_options[]
|
// end::relay_options[]
|
||||||
|
|
||||||
// tag::guile_options[]
|
|
||||||
* [[option_guile.look.check_license]] *guile.look.check_license*
|
|
||||||
** description: pass:none[check the license of scripts when they are loaded: if the license is different from the plugin license, a warning is displayed]
|
|
||||||
** type: boolean
|
|
||||||
** values: on, off
|
|
||||||
** default value: `+off+`
|
|
||||||
|
|
||||||
* [[option_guile.look.eval_keep_context]] *guile.look.eval_keep_context*
|
|
||||||
** description: pass:none[keep context between two calls to the source code evaluation (option "eval" of script command or info "%s_eval"); a hidden script is used to eval script code; if this option is disabled, this hidden script is unloaded after each eval: this uses less memory, but is slower]
|
|
||||||
** type: boolean
|
|
||||||
** values: on, off
|
|
||||||
** default value: `+on+`
|
|
||||||
// end::guile_options[]
|
|
||||||
|
|
||||||
// tag::javascript_options[]
|
// tag::javascript_options[]
|
||||||
* [[option_javascript.look.check_license]] *javascript.look.check_license*
|
* [[option_javascript.look.check_license]] *javascript.look.check_license*
|
||||||
** description: pass:none[check the license of scripts when they are loaded: if the license is different from the plugin license, a warning is displayed]
|
** description: pass:none[check the license of scripts when they are loaded: if the license is different from the plugin license, a warning is displayed]
|
||||||
@@ -3171,19 +3011,47 @@
|
|||||||
** default value: `+on+`
|
** default value: `+on+`
|
||||||
// end::javascript_options[]
|
// end::javascript_options[]
|
||||||
|
|
||||||
// tag::lua_options[]
|
// tag::ruby_options[]
|
||||||
* [[option_lua.look.check_license]] *lua.look.check_license*
|
* [[option_ruby.look.check_license]] *ruby.look.check_license*
|
||||||
** description: pass:none[check the license of scripts when they are loaded: if the license is different from the plugin license, a warning is displayed]
|
** description: pass:none[check the license of scripts when they are loaded: if the license is different from the plugin license, a warning is displayed]
|
||||||
** type: boolean
|
** type: boolean
|
||||||
** values: on, off
|
** values: on, off
|
||||||
** default value: `+off+`
|
** default value: `+off+`
|
||||||
|
|
||||||
* [[option_lua.look.eval_keep_context]] *lua.look.eval_keep_context*
|
* [[option_ruby.look.eval_keep_context]] *ruby.look.eval_keep_context*
|
||||||
** description: pass:none[keep context between two calls to the source code evaluation (option "eval" of script command or info "%s_eval"); a hidden script is used to eval script code; if this option is disabled, this hidden script is unloaded after each eval: this uses less memory, but is slower]
|
** description: pass:none[keep context between two calls to the source code evaluation (option "eval" of script command or info "%s_eval"); a hidden script is used to eval script code; if this option is disabled, this hidden script is unloaded after each eval: this uses less memory, but is slower]
|
||||||
** type: boolean
|
** type: boolean
|
||||||
** values: on, off
|
** values: on, off
|
||||||
** default value: `+on+`
|
** default value: `+on+`
|
||||||
// end::lua_options[]
|
// end::ruby_options[]
|
||||||
|
|
||||||
|
// tag::guile_options[]
|
||||||
|
* [[option_guile.look.check_license]] *guile.look.check_license*
|
||||||
|
** description: pass:none[check the license of scripts when they are loaded: if the license is different from the plugin license, a warning is displayed]
|
||||||
|
** type: boolean
|
||||||
|
** values: on, off
|
||||||
|
** default value: `+off+`
|
||||||
|
|
||||||
|
* [[option_guile.look.eval_keep_context]] *guile.look.eval_keep_context*
|
||||||
|
** description: pass:none[keep context between two calls to the source code evaluation (option "eval" of script command or info "%s_eval"); a hidden script is used to eval script code; if this option is disabled, this hidden script is unloaded after each eval: this uses less memory, but is slower]
|
||||||
|
** type: boolean
|
||||||
|
** values: on, off
|
||||||
|
** default value: `+on+`
|
||||||
|
// end::guile_options[]
|
||||||
|
|
||||||
|
// tag::tcl_options[]
|
||||||
|
* [[option_tcl.look.check_license]] *tcl.look.check_license*
|
||||||
|
** description: pass:none[check the license of scripts when they are loaded: if the license is different from the plugin license, a warning is displayed]
|
||||||
|
** type: boolean
|
||||||
|
** values: on, off
|
||||||
|
** default value: `+off+`
|
||||||
|
|
||||||
|
* [[option_tcl.look.eval_keep_context]] *tcl.look.eval_keep_context*
|
||||||
|
** description: pass:none[keep context between two calls to the source code evaluation (option "eval" of script command or info "%s_eval"); a hidden script is used to eval script code; if this option is disabled, this hidden script is unloaded after each eval: this uses less memory, but is slower]
|
||||||
|
** type: boolean
|
||||||
|
** values: on, off
|
||||||
|
** default value: `+on+`
|
||||||
|
// end::tcl_options[]
|
||||||
|
|
||||||
// tag::perl_options[]
|
// tag::perl_options[]
|
||||||
* [[option_perl.look.check_license]] *perl.look.check_license*
|
* [[option_perl.look.check_license]] *perl.look.check_license*
|
||||||
@@ -3213,6 +3081,20 @@
|
|||||||
** default value: `+on+`
|
** default value: `+on+`
|
||||||
// end::php_options[]
|
// end::php_options[]
|
||||||
|
|
||||||
|
// tag::lua_options[]
|
||||||
|
* [[option_lua.look.check_license]] *lua.look.check_license*
|
||||||
|
** description: pass:none[check the license of scripts when they are loaded: if the license is different from the plugin license, a warning is displayed]
|
||||||
|
** type: boolean
|
||||||
|
** values: on, off
|
||||||
|
** default value: `+off+`
|
||||||
|
|
||||||
|
* [[option_lua.look.eval_keep_context]] *lua.look.eval_keep_context*
|
||||||
|
** description: pass:none[keep context between two calls to the source code evaluation (option "eval" of script command or info "%s_eval"); a hidden script is used to eval script code; if this option is disabled, this hidden script is unloaded after each eval: this uses less memory, but is slower]
|
||||||
|
** type: boolean
|
||||||
|
** values: on, off
|
||||||
|
** default value: `+on+`
|
||||||
|
// end::lua_options[]
|
||||||
|
|
||||||
// tag::python_options[]
|
// tag::python_options[]
|
||||||
* [[option_python.look.check_license]] *python.look.check_license*
|
* [[option_python.look.check_license]] *python.look.check_license*
|
||||||
** description: pass:none[check the license of scripts when they are loaded: if the license is different from the plugin license, a warning is displayed]
|
** description: pass:none[check the license of scripts when they are loaded: if the license is different from the plugin license, a warning is displayed]
|
||||||
@@ -3227,34 +3109,6 @@
|
|||||||
** default value: `+on+`
|
** default value: `+on+`
|
||||||
// end::python_options[]
|
// end::python_options[]
|
||||||
|
|
||||||
// tag::ruby_options[]
|
|
||||||
* [[option_ruby.look.check_license]] *ruby.look.check_license*
|
|
||||||
** description: pass:none[check the license of scripts when they are loaded: if the license is different from the plugin license, a warning is displayed]
|
|
||||||
** type: boolean
|
|
||||||
** values: on, off
|
|
||||||
** default value: `+off+`
|
|
||||||
|
|
||||||
* [[option_ruby.look.eval_keep_context]] *ruby.look.eval_keep_context*
|
|
||||||
** description: pass:none[keep context between two calls to the source code evaluation (option "eval" of script command or info "%s_eval"); a hidden script is used to eval script code; if this option is disabled, this hidden script is unloaded after each eval: this uses less memory, but is slower]
|
|
||||||
** type: boolean
|
|
||||||
** values: on, off
|
|
||||||
** default value: `+on+`
|
|
||||||
// end::ruby_options[]
|
|
||||||
|
|
||||||
// tag::tcl_options[]
|
|
||||||
* [[option_tcl.look.check_license]] *tcl.look.check_license*
|
|
||||||
** description: pass:none[check the license of scripts when they are loaded: if the license is different from the plugin license, a warning is displayed]
|
|
||||||
** type: boolean
|
|
||||||
** values: on, off
|
|
||||||
** default value: `+off+`
|
|
||||||
|
|
||||||
* [[option_tcl.look.eval_keep_context]] *tcl.look.eval_keep_context*
|
|
||||||
** description: pass:none[keep context between two calls to the source code evaluation (option "eval" of script command or info "%s_eval"); a hidden script is used to eval script code; if this option is disabled, this hidden script is unloaded after each eval: this uses less memory, but is slower]
|
|
||||||
** type: boolean
|
|
||||||
** values: on, off
|
|
||||||
** default value: `+on+`
|
|
||||||
// end::tcl_options[]
|
|
||||||
|
|
||||||
// tag::script_options[]
|
// tag::script_options[]
|
||||||
* [[option_script.color.status_autoloaded]] *script.color.status_autoloaded*
|
* [[option_script.color.status_autoloaded]] *script.color.status_autoloaded*
|
||||||
** description: pass:none[color for status "autoloaded" ("a")]
|
** description: pass:none[color for status "autoloaded" ("a")]
|
||||||
@@ -3413,7 +3267,7 @@
|
|||||||
** default value: `+lightmagenta+`
|
** default value: `+lightmagenta+`
|
||||||
|
|
||||||
* [[option_script.look.columns]] *script.look.columns*
|
* [[option_script.look.columns]] *script.look.columns*
|
||||||
** description: pass:none[format of columns displayed in script buffer: following column identifiers are replaced by their values: %a=author, %d=description, %D=date added, %e=extension, %l=language, %L=license, %n=name with extension, %N=name, %r=requirements, %s=status, %t=tags, %u=date updated, %v=version, %V=version loaded, %w=min_weechat, %W=max_weechat)]
|
** description: pass:none[format of columns displayed in script buffer: following column identifiers are replaced by their value: %a=author, %d=description, %D=date added, %e=extension, %l=language, %L=license, %n=name with extension, %N=name, %r=requirements, %s=status, %t=tags, %u=date updated, %v=version, %V=version loaded, %w=min_weechat, %W=max_weechat)]
|
||||||
** type: string
|
** type: string
|
||||||
** values: any string
|
** values: any string
|
||||||
** default value: `+"%s %n %V %v %u | %d | %t"+`
|
** default value: `+"%s %n %V %v %u | %d | %t"+`
|
||||||
@@ -3491,10 +3345,10 @@
|
|||||||
** default value: `+""+`
|
** default value: `+""+`
|
||||||
|
|
||||||
* [[option_script.scripts.path]] *script.scripts.path*
|
* [[option_script.scripts.path]] *script.scripts.path*
|
||||||
** description: pass:none[local cache directory for scripts (path is evaluated, see function string_eval_path_home in plugin API reference)]
|
** description: pass:none[local cache directory for scripts; "%h" at beginning of string is replaced by WeeChat home ("~/.weechat" by default) (note: content is evaluated, see /help eval)]
|
||||||
** type: string
|
** type: string
|
||||||
** values: any string
|
** values: any string
|
||||||
** default value: `+"${weechat_cache_dir}/script"+`
|
** default value: `+"%h/script"+`
|
||||||
|
|
||||||
* [[option_script.scripts.url]] *script.scripts.url*
|
* [[option_script.scripts.url]] *script.scripts.url*
|
||||||
** description: pass:none[URL for file with list of scripts]
|
** description: pass:none[URL for file with list of scripts]
|
||||||
|
|||||||
@@ -15,9 +15,9 @@
|
|||||||
"--daemon").
|
"--daemon").
|
||||||
|
|
||||||
*-d*, *--dir* _<path>_::
|
*-d*, *--dir* _<path>_::
|
||||||
Force a single directory for all WeeChat files (directory is created if not found).
|
Set path as home for WeeChat (used for configuration files, logs, user
|
||||||
Four directories can be given, separated by colons (in this order: config,
|
plugins and scripts), default value is "~/.weechat" (note: directory is
|
||||||
data, cache, runtime).
|
created if not found by WeeChat).
|
||||||
If this option is not given, the environment variable WEECHAT_HOME is used
|
If this option is not given, the environment variable WEECHAT_HOME is used
|
||||||
(if not empty).
|
(if not empty).
|
||||||
|
|
||||||
|
|||||||
+27
-30
@@ -8,7 +8,7 @@ With irc plugin, you can connect to temporary server with an URL like:
|
|||||||
|
|
||||||
To join WeeChat IRC channel support with nick "mynick":
|
To join WeeChat IRC channel support with nick "mynick":
|
||||||
|
|
||||||
irc://mynick@irc.libera.chat/#weechat
|
irc://mynick@chat.freenode.net/#weechat
|
||||||
|
|
||||||
IPv6 address can be enclosed in brackets to add a port after address, for
|
IPv6 address can be enclosed in brackets to add a port after address, for
|
||||||
example:
|
example:
|
||||||
@@ -17,82 +17,79 @@ example:
|
|||||||
// end::plugin_options[]
|
// end::plugin_options[]
|
||||||
|
|
||||||
// tag::files[]
|
// tag::files[]
|
||||||
$HOME/.config/weechat/weechat.conf::
|
$HOME/.weechat/weechat.conf::
|
||||||
main WeeChat configuration file
|
main WeeChat configuration file
|
||||||
|
|
||||||
$HOME/.config/weechat/plugins.conf::
|
$HOME/.weechat/plugins.conf::
|
||||||
plugins configuration file
|
plugins configuration file
|
||||||
|
|
||||||
$HOME/.config/weechat/sec.conf::
|
$HOME/.weechat/sec.conf::
|
||||||
configuration file with secured data
|
configuration file with secured data
|
||||||
|
|
||||||
$HOME/.config/weechat/alias.conf::
|
$HOME/.weechat/alias.conf::
|
||||||
configuration file for _alias_ plugin
|
configuration file for _alias_ plugin
|
||||||
|
|
||||||
$HOME/.config/weechat/buflist.conf::
|
$HOME/.weechat/buflist.conf::
|
||||||
configuration file for _buflist_ plugin
|
configuration file for _buflist_ plugin
|
||||||
|
|
||||||
$HOME/.config/weechat/charset.conf::
|
$HOME/.weechat/charset.conf::
|
||||||
configuration file for _charset_ plugin
|
configuration file for _charset_ plugin
|
||||||
|
|
||||||
$HOME/.config/weechat/exec.conf::
|
$HOME/.weechat/exec.conf::
|
||||||
configuration file for _exec_ plugin
|
configuration file for _exec_ plugin
|
||||||
|
|
||||||
$HOME/.config/weechat/fifo.conf::
|
$HOME/.weechat/fifo.conf::
|
||||||
configuration file for _fifo_ plugin
|
configuration file for _fifo_ plugin
|
||||||
|
|
||||||
$HOME/.config/weechat/fset.conf::
|
$HOME/.weechat/fset.conf::
|
||||||
configuration file for _fset_ plugin
|
configuration file for _fset_ plugin
|
||||||
|
|
||||||
$HOME/.config/weechat/guile.conf::
|
$HOME/.weechat/guile.conf::
|
||||||
configuration file for _guile_ plugin
|
configuration file for _guile_ plugin
|
||||||
|
|
||||||
$HOME/.config/weechat/irc.conf::
|
$HOME/.weechat/irc.conf::
|
||||||
configuration file for _irc_ plugin
|
configuration file for _irc_ plugin
|
||||||
|
|
||||||
$HOME/.config/weechat/javascript.conf::
|
$HOME/.weechat/javascript.conf::
|
||||||
configuration file for _javascript_ plugin
|
configuration file for _javascript_ plugin
|
||||||
|
|
||||||
$HOME/.config/weechat/logger.conf::
|
$HOME/.weechat/logger.conf::
|
||||||
configuration file for _logger_ plugin
|
configuration file for _logger_ plugin
|
||||||
|
|
||||||
$HOME/.config/weechat/lua.conf::
|
$HOME/.weechat/lua.conf::
|
||||||
configuration file for _lua_ plugin
|
configuration file for _lua_ plugin
|
||||||
|
|
||||||
$HOME/.config/weechat/perl.conf::
|
$HOME/.weechat/perl.conf::
|
||||||
configuration file for _perl_ plugin
|
configuration file for _perl_ plugin
|
||||||
|
|
||||||
$HOME/.config/weechat/php.conf::
|
$HOME/.weechat/php.conf::
|
||||||
configuration file for _php_ plugin
|
configuration file for _php_ plugin
|
||||||
|
|
||||||
$HOME/.config/weechat/python.conf::
|
$HOME/.weechat/python.conf::
|
||||||
configuration file for _python_ plugin
|
configuration file for _python_ plugin
|
||||||
|
|
||||||
$HOME/.config/weechat/relay.conf::
|
$HOME/.weechat/relay.conf::
|
||||||
configuration file for _relay_ plugin
|
configuration file for _relay_ plugin
|
||||||
|
|
||||||
$HOME/.config/weechat/ruby.conf::
|
$HOME/.weechat/ruby.conf::
|
||||||
configuration file for _ruby_ plugin
|
configuration file for _ruby_ plugin
|
||||||
|
|
||||||
$HOME/.config/weechat/script.conf::
|
$HOME/.weechat/script.conf::
|
||||||
configuration file for _script_ plugin
|
configuration file for _script_ plugin
|
||||||
|
|
||||||
$HOME/.config/weechat/spell.conf::
|
$HOME/.weechat/spell.conf::
|
||||||
configuration file for _spell_ plugin
|
configuration file for _spell_ plugin
|
||||||
|
|
||||||
$HOME/.config/weechat/tcl.conf::
|
$HOME/.weechat/tcl.conf::
|
||||||
configuration file for _tcl_ plugin
|
configuration file for _tcl_ plugin
|
||||||
|
|
||||||
$HOME/.config/weechat/trigger.conf::
|
$HOME/.weechat/trigger.conf::
|
||||||
configuration file for _trigger_ plugin
|
configuration file for _trigger_ plugin
|
||||||
|
|
||||||
$HOME/.config/weechat/typing.conf::
|
$HOME/.weechat/xfer.conf::
|
||||||
configuration file for _typing_ plugin
|
|
||||||
|
|
||||||
$HOME/.config/weechat/xfer.conf::
|
|
||||||
configuration file for _xfer_ plugin
|
configuration file for _xfer_ plugin
|
||||||
|
|
||||||
$HOME/.local/share/weechat/weechat.log::
|
$HOME/.weechat/weechat.log::
|
||||||
WeeChat log file
|
WeeChat log file
|
||||||
// end::files[]
|
// end::files[]
|
||||||
|
|
||||||
@@ -100,7 +97,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-2022 {author}
|
Copyright (C) 2003-2021 {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
|
||||||
|
|||||||
+128
-234
@@ -89,7 +89,6 @@ The main WeeChat directories are:
|
|||||||
| spell/ | Spell plugin.
|
| spell/ | Spell plugin.
|
||||||
| tcl/ | Tcl scripting API.
|
| tcl/ | Tcl scripting API.
|
||||||
| trigger/ | Trigger plugin.
|
| trigger/ | Trigger plugin.
|
||||||
| typing/ | Typing plugin.
|
|
||||||
| xfer/ | Xfer plugin (IRC DCC file/chat).
|
| xfer/ | Xfer plugin (IRC DCC file/chat).
|
||||||
| tests/ | Tests.
|
| tests/ | Tests.
|
||||||
| scripts/ | Scripting API tests.
|
| scripts/ | Scripting API tests.
|
||||||
@@ -99,7 +98,6 @@ The main WeeChat directories are:
|
|||||||
| gui/ | Unit tests for interfaces functions.
|
| gui/ | Unit tests for interfaces functions.
|
||||||
| plugins/ | Unit tests for plugins.
|
| plugins/ | Unit tests for plugins.
|
||||||
| irc/ | Unit tests for IRC plugin.
|
| irc/ | Unit tests for IRC plugin.
|
||||||
| trigger/ | Unit tests for trigger plugin.
|
|
||||||
| doc/ | Documentation.
|
| doc/ | Documentation.
|
||||||
| po/ | Translations files (gettext).
|
| po/ | Translations files (gettext).
|
||||||
| debian/ | Debian packaging.
|
| debian/ | Debian packaging.
|
||||||
@@ -129,7 +127,6 @@ WeeChat "core" is located in following directories:
|
|||||||
| wee-config.c | Configuration options for WeeChat core (file weechat.conf).
|
| wee-config.c | Configuration options for WeeChat core (file weechat.conf).
|
||||||
| wee-crypto.c | Cryptographic functions.
|
| wee-crypto.c | Cryptographic functions.
|
||||||
| wee-debug.c | Some debug functions.
|
| wee-debug.c | Some debug functions.
|
||||||
| wee-dir.c | Directory/file functions.
|
|
||||||
| wee-eval.c | Evaluation of expressions with references to internal vars.
|
| wee-eval.c | Evaluation of expressions with references to internal vars.
|
||||||
| wee-hashtable.c | Hashtables.
|
| wee-hashtable.c | Hashtables.
|
||||||
| wee-hdata.c | Hdata (direct access to data using hashtables).
|
| wee-hdata.c | Hdata (direct access to data using hashtables).
|
||||||
@@ -143,7 +140,6 @@ WeeChat "core" is located in following directories:
|
|||||||
| wee-secure.c | Secured data functions.
|
| wee-secure.c | Secured data functions.
|
||||||
| wee-secure-buffer.c | Secured data buffer.
|
| wee-secure-buffer.c | Secured data buffer.
|
||||||
| wee-secure-config.c | Secured data options (file sec.conf).
|
| wee-secure-config.c | Secured data options (file sec.conf).
|
||||||
| wee-signal.c | Signal functions.
|
|
||||||
| wee-string.c | Functions on strings.
|
| wee-string.c | Functions on strings.
|
||||||
| wee-upgrade-file.c | Internal upgrade system.
|
| wee-upgrade-file.c | Internal upgrade system.
|
||||||
| wee-upgrade.c | Upgrade for WeeChat core (buffers, lines, history, ...).
|
| wee-upgrade.c | Upgrade for WeeChat core (buffers, lines, history, ...).
|
||||||
@@ -284,7 +280,6 @@ WeeChat "core" is located in following directories:
|
|||||||
| irc-ignore.c | IRC Ignore.
|
| irc-ignore.c | IRC Ignore.
|
||||||
| 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-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, ...).
|
||||||
@@ -296,8 +291,6 @@ WeeChat "core" is located in following directories:
|
|||||||
| irc-redirect.c | Redirection of IRC command output.
|
| irc-redirect.c | Redirection of IRC command output.
|
||||||
| irc-sasl.c | SASL authentication with IRC server.
|
| irc-sasl.c | SASL authentication with IRC server.
|
||||||
| irc-server.c | I/O communication with IRC server.
|
| irc-server.c | I/O communication with IRC server.
|
||||||
| irc-tag.c | Functions to manipulate IRC message tags.
|
|
||||||
| irc-typing.c | Typing status.
|
|
||||||
| irc-upgrade.c | Save/restore of IRC data when upgrading WeeChat.
|
| irc-upgrade.c | Save/restore of IRC data when upgrading WeeChat.
|
||||||
| javascript/ | JavaScript plugin.
|
| javascript/ | JavaScript plugin.
|
||||||
| weechat-js.cpp | Main JavaScript functions (load/unload scripts, execute JavaScript code).
|
| weechat-js.cpp | Main JavaScript functions (load/unload scripts, execute JavaScript code).
|
||||||
@@ -367,11 +360,6 @@ WeeChat "core" is located in following directories:
|
|||||||
| trigger-command.c | Trigger commands.
|
| trigger-command.c | Trigger commands.
|
||||||
| trigger-completion.c | Trigger completions.
|
| trigger-completion.c | Trigger completions.
|
||||||
| trigger-config.c | Trigger config options (file trigger.conf).
|
| trigger-config.c | Trigger config options (file trigger.conf).
|
||||||
| typing/ | Typing plugin.
|
|
||||||
| typing.c | Main typing functions.
|
|
||||||
| typing-bar-item.c | Typing bar items.
|
|
||||||
| typing-config.c | Typing config options (file typing.conf).
|
|
||||||
| typing-status.c | Messages typing status on buffers.
|
|
||||||
| xfer/ | Xfer plugin (IRC DCC file/chat).
|
| xfer/ | Xfer plugin (IRC DCC file/chat).
|
||||||
| xfer.c | Main xfer functions.
|
| xfer.c | Main xfer functions.
|
||||||
| xfer-buffer.c | Xfer buffer.
|
| xfer-buffer.c | Xfer buffer.
|
||||||
@@ -391,67 +379,50 @@ WeeChat "core" is located in following directories:
|
|||||||
|
|
||||||
[width="100%",cols="2m,3",options="header"]
|
[width="100%",cols="2m,3",options="header"]
|
||||||
|===
|
|===
|
||||||
| Path/file | Description
|
| Path/file | Description
|
||||||
| tests/ | Root of tests.
|
| tests/ | Root of tests.
|
||||||
| tests.cpp | Program used to run all tests.
|
| tests.cpp | Program used to run all tests.
|
||||||
| scripts/ | Root of scripting API tests.
|
| scripts/ | Root of scripting API tests.
|
||||||
| test-scripts.cpp | Program used to run the scripting API tests.
|
| test-scripts.cpp | Program used to run the scripting API tests.
|
||||||
| python/ | Python scripts to generate and run the scripting API tests.
|
| python/ | Python scripts to generate and run the scripting API tests.
|
||||||
| testapigen.py | Python script generating scripts in all languages to test the scripting API.
|
| testapigen.py | Python script generating scripts in all languages to test the scripting API.
|
||||||
| testapi.py | Python script with scripting API tests, used by script testapigen.py.
|
| testapi.py | Python script with scripting API tests, used by script testapigen.py.
|
||||||
| unparse.py | Convert Python code to other languages, used by script testapigen.py.
|
| 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.
|
||||||
| 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.
|
||||||
| test-core-config-file.cpp | Tests: configuration files.
|
| test-core-crypto.cpp | Tests: cryptographic functions.
|
||||||
| test-core-crypto.cpp | Tests: cryptographic functions.
|
| test-core-eval.cpp | Tests: evaluation of expressions.
|
||||||
| test-core-dir.cpp | Tests: directory/file functions.
|
| test-core-hashtble.cpp | Tests: hashtables.
|
||||||
| test-core-eval.cpp | Tests: evaluation of expressions.
|
| test-core-hdata.cpp | Tests: hdata.
|
||||||
| test-core-hashtble.cpp | Tests: hashtables.
|
| test-core-hook.cpp | Tests: hooks.
|
||||||
| test-core-hdata.cpp | Tests: hdata.
|
| test-core-infolist.cpp | Tests: infolists.
|
||||||
| test-core-hook.cpp | Tests: hooks.
|
| test-core-list.cpp | Tests: lists.
|
||||||
| test-core-infolist.cpp | Tests: infolists.
|
| test-core-secure.cpp | Tests: secured data.
|
||||||
| test-core-list.cpp | Tests: lists.
|
| test-core-string.cpp | Tests: strings.
|
||||||
| test-core-network.cpp | Tests: network functions.
|
| test-core-url.cpp | Tests: URLs.
|
||||||
| test-core-secure.cpp | Tests: secured data.
|
| test-core-utf8.cpp | Tests: UTF-8.
|
||||||
| test-core-signal.cpp | Tests: signals.
|
| test-core-util.cpp | Tests: utility functions.
|
||||||
| test-core-string.cpp | Tests: strings.
|
| gui/ | Root of unit tests for interfaces.
|
||||||
| test-core-url.cpp | Tests: URLs.
|
| test-gui-color.cpp | Tests: colors.
|
||||||
| test-core-utf8.cpp | Tests: UTF-8.
|
| test-gui-line.cpp | Tests: lines.
|
||||||
| test-core-util.cpp | Tests: utility functions.
|
| test-gui-nick.cpp | Tests: nicks.
|
||||||
| gui/ | Root of unit tests for interfaces.
|
| plugins/ | Root of unit tests for plugins.
|
||||||
| test-gui-buffer.cpp | Tests: buffer functions.
|
| irc/ | Root of unit tests for IRC plugin.
|
||||||
| test-gui-chat.cpp | Tests: chat functions.
|
| test-irc-channel.cpp | Tests: IRC channels.
|
||||||
| test-gui-color.cpp | Tests: colors.
|
| test-irc-color.cpp | Tests: IRC colors.
|
||||||
| test-gui-line.cpp | Tests: lines.
|
| test-irc-config.cpp | Tests: IRC configuration.
|
||||||
| test-gui-nick.cpp | Tests: nicks.
|
| test-irc-ignore.cpp | Tests: IRC ignores.
|
||||||
| plugins/ | Root of unit tests for plugins.
|
| test-irc-message.cpp | Tests: IRC messages.
|
||||||
| irc/ | Root of unit tests for IRC plugin.
|
| test-irc-mode.cpp | Tests: IRC modes.
|
||||||
| test-irc-buffer.cpp | Tests: IRC buffers.
|
| test-irc-nick.cpp | Tests: IRC nicks.
|
||||||
| test-irc-channel.cpp | Tests: IRC channels.
|
| test-irc-protocol.cpp | Tests: IRC protocol.
|
||||||
| test-irc-color.cpp | Tests: IRC colors.
|
| test-irc-server.cpp | Tests: IRC server.
|
||||||
| test-irc-config.cpp | Tests: IRC configuration.
|
| relay/ | Root of unit tests for Relay plugin.
|
||||||
| test-irc-ignore.cpp | Tests: IRC ignores.
|
| test-relay-auth.cpp | Tests: clients authentication.
|
||||||
| test-irc-join.cpp | Tests: IRC join functions.
|
|
||||||
| test-irc-message.cpp | Tests: IRC messages.
|
|
||||||
| test-irc-mode.cpp | Tests: IRC modes.
|
|
||||||
| test-irc-nick.cpp | Tests: IRC nicks.
|
|
||||||
| test-irc-protocol.cpp | Tests: IRC protocol.
|
|
||||||
| test-irc-sasl.cpp | Tests: SASL authentication with IRC protocol.
|
|
||||||
| test-irc-server.cpp | Tests: IRC server.
|
|
||||||
| test-irc-tag.cpp | Tests: IRC message tags.
|
|
||||||
| logger/ | Root of unit tests for logger plugin.
|
|
||||||
| test-logger-backlog.cpp | Tests: logger backlog.
|
|
||||||
| trigger/ | Root of unit tests for trigger plugin.
|
|
||||||
| test-trigger.cpp | Tests: triggers.
|
|
||||||
| test-trigger-config.cpp | Tests: trigger configuration.
|
|
||||||
| typing/ | Root of unit tests for typing plugin.
|
|
||||||
| test-typing.cpp | Tests: typing.
|
|
||||||
| test-typing-status.cpp | Tests: typing status.
|
|
||||||
| relay/ | Root of unit tests for Relay plugin.
|
|
||||||
| test-relay-auth.cpp | Tests: clients authentication.
|
|
||||||
|===
|
|===
|
||||||
|
|
||||||
[[documentation_translations]]
|
[[documentation_translations]]
|
||||||
@@ -473,6 +444,7 @@ Documentation files:
|
|||||||
| weechat_quickstart.XX.adoc | link:weechat_quickstart.en.html[Quickstart guide].
|
| weechat_quickstart.XX.adoc | link:weechat_quickstart.en.html[Quickstart guide].
|
||||||
| weechat_relay_protocol.XX.adoc | link:weechat_relay_protocol.en.html[Relay protocol] (for remote interfaces).
|
| weechat_relay_protocol.XX.adoc | link:weechat_relay_protocol.en.html[Relay protocol] (for remote interfaces).
|
||||||
| weechat_scripting.XX.adoc | link:weechat_scripting.en.html[Scripting guide].
|
| weechat_scripting.XX.adoc | link:weechat_scripting.en.html[Scripting guide].
|
||||||
|
| weechat_tester.XX.adoc | link:weechat_tester.en.html[Tester's guide].
|
||||||
| weechat_user.XX.adoc | link:weechat_user.en.html[User's guide].
|
| weechat_user.XX.adoc | link:weechat_user.en.html[User's guide].
|
||||||
| includes/ | Files included in documentation.
|
| includes/ | Files included in documentation.
|
||||||
| autogen_api_completions.XX.adoc | Auto-generated file for Plugin API reference: completions (do *NEVER* update manually!).
|
| autogen_api_completions.XX.adoc | Auto-generated file for Plugin API reference: completions (do *NEVER* update manually!).
|
||||||
@@ -518,12 +490,12 @@ directory:
|
|||||||
|
|
||||||
Example in C:
|
Example in C:
|
||||||
|
|
||||||
[source,c]
|
[source,C]
|
||||||
----
|
----
|
||||||
/*
|
/*
|
||||||
* weechat.c - core functions for WeeChat
|
* weechat.c - core functions for WeeChat
|
||||||
*
|
*
|
||||||
* Copyright (C) 2022 Your Name <your@email.com>
|
* Copyright (C) 2021 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.
|
||||||
*
|
*
|
||||||
@@ -556,7 +528,7 @@ Some basic rules you *must* follow when you write C code:
|
|||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
[source,c]
|
[source,C]
|
||||||
----
|
----
|
||||||
/*
|
/*
|
||||||
* Checks if a string with boolean value is valid.
|
* Checks if a string with boolean value is valid.
|
||||||
@@ -587,7 +559,7 @@ foo ()
|
|||||||
Exception: in `for` loops, where variables like "i" or "n" are OK.
|
Exception: in `for` loops, where variables like "i" or "n" are OK.
|
||||||
* Initialize local variables after declaration, in body of function, example:
|
* Initialize local variables after declaration, in body of function, example:
|
||||||
|
|
||||||
[source,c]
|
[source,C]
|
||||||
----
|
----
|
||||||
void
|
void
|
||||||
foo ()
|
foo ()
|
||||||
@@ -605,7 +577,7 @@ foo ()
|
|||||||
* Place curly brackets `+{ }+` alone on lines, and indent them with number of
|
* Place curly brackets `+{ }+` alone on lines, and indent them with number of
|
||||||
spaces used for line above opening curly bracket (the `if` in example):
|
spaces used for line above opening curly bracket (the `if` in example):
|
||||||
|
|
||||||
[source,c]
|
[source,C]
|
||||||
----
|
----
|
||||||
if (nicks_count == 1)
|
if (nicks_count == 1)
|
||||||
{
|
{
|
||||||
@@ -616,7 +588,7 @@ if (nicks_count == 1)
|
|||||||
* Use empty lines to separate many different blocks inside functions, and if
|
* Use empty lines to separate many different blocks inside functions, and if
|
||||||
possible add a comment for each one, like this:
|
possible add a comment for each one, like this:
|
||||||
|
|
||||||
[source,c]
|
[source,C]
|
||||||
----
|
----
|
||||||
/*
|
/*
|
||||||
* Sends a message from out queue.
|
* Sends a message from out queue.
|
||||||
@@ -659,7 +631,7 @@ irc_server_outqueue_send (struct t_irc_server *server)
|
|||||||
* Indent the `if` conditions, and use parentheses around conditions with an
|
* Indent the `if` conditions, and use parentheses around conditions with an
|
||||||
operator (not needed for single boolean), like this:
|
operator (not needed for single boolean), like this:
|
||||||
|
|
||||||
[source,c]
|
[source,C]
|
||||||
----
|
----
|
||||||
if (something)
|
if (something)
|
||||||
{
|
{
|
||||||
@@ -683,7 +655,7 @@ else
|
|||||||
|
|
||||||
* Indent the `switch` statements like this:
|
* Indent the `switch` statements like this:
|
||||||
|
|
||||||
[source,c]
|
[source,C]
|
||||||
----
|
----
|
||||||
switch (string[0])
|
switch (string[0])
|
||||||
{
|
{
|
||||||
@@ -701,7 +673,7 @@ switch (string[0])
|
|||||||
|
|
||||||
* Use `typedef` for function prototypes but not for structures:
|
* Use `typedef` for function prototypes but not for structures:
|
||||||
|
|
||||||
[source,c]
|
[source,C]
|
||||||
----
|
----
|
||||||
typedef int (t_hook_callback_fd)(void *data, int fd);
|
typedef int (t_hook_callback_fd)(void *data, int fd);
|
||||||
|
|
||||||
@@ -783,7 +755,7 @@ Structures have name _t_X_Y_ or _t_X_Y_Z_:
|
|||||||
|
|
||||||
Example: an IRC nick (from _src/plugins/irc/irc-nick.h_):
|
Example: an IRC nick (from _src/plugins/irc/irc-nick.h_):
|
||||||
|
|
||||||
[source,c]
|
[source,C]
|
||||||
----
|
----
|
||||||
struct t_irc_nick
|
struct t_irc_nick
|
||||||
{
|
{
|
||||||
@@ -813,7 +785,7 @@ _X_ is name of variable, using singular form).
|
|||||||
|
|
||||||
Example: windows (from _src/gui/gui-window.c_):
|
Example: windows (from _src/gui/gui-window.c_):
|
||||||
|
|
||||||
[source,c]
|
[source,C]
|
||||||
----
|
----
|
||||||
struct t_gui_window *gui_windows = NULL; /* first window */
|
struct t_gui_window *gui_windows = NULL; /* first window */
|
||||||
struct t_gui_window *last_gui_window = NULL; /* last window */
|
struct t_gui_window *last_gui_window = NULL; /* last window */
|
||||||
@@ -833,7 +805,7 @@ Naming convention for functions is the same as
|
|||||||
|
|
||||||
Example: creation of a new window (from _src/gui/gui-window.c_):
|
Example: creation of a new window (from _src/gui/gui-window.c_):
|
||||||
|
|
||||||
[source,c]
|
[source,C]
|
||||||
----
|
----
|
||||||
/*
|
/*
|
||||||
* Creates a new window.
|
* Creates a new window.
|
||||||
@@ -869,7 +841,7 @@ and next node.
|
|||||||
|
|
||||||
Example: list of buffers (from _src/gui/gui-buffer.h_):
|
Example: list of buffers (from _src/gui/gui-buffer.h_):
|
||||||
|
|
||||||
[source,c]
|
[source,C]
|
||||||
----
|
----
|
||||||
struct t_gui_buffer
|
struct t_gui_buffer
|
||||||
{
|
{
|
||||||
@@ -884,7 +856,7 @@ struct t_gui_buffer
|
|||||||
|
|
||||||
Then the two list pointers, to the head and tail of list:
|
Then the two list pointers, to the head and tail of list:
|
||||||
|
|
||||||
[source,c]
|
[source,C]
|
||||||
----
|
----
|
||||||
struct t_gui_buffer *gui_buffers = NULL; /* first buffer */
|
struct t_gui_buffer *gui_buffers = NULL; /* first buffer */
|
||||||
struct t_gui_buffer *last_gui_buffer = NULL; /* last buffer */
|
struct t_gui_buffer *last_gui_buffer = NULL; /* last buffer */
|
||||||
@@ -899,10 +871,18 @@ underline, ...) and colors on screen.
|
|||||||
All attributes/colors are prefixed with a char in string, which can be:
|
All attributes/colors are prefixed with a char in string, which can be:
|
||||||
|
|
||||||
* _0x19_: color code (followed by color code(s))
|
* _0x19_: color code (followed by color code(s))
|
||||||
* _0x1A_: set attribute (followed by raw attribute on one char)
|
* _0x1A_: set attribute (followed by attribute on one char)
|
||||||
* _0x1B_: remove attribute (followed by raw attribute on one char)
|
* _0x1B_: remove attribute (followed by attribute on one char)
|
||||||
* _0x1C_: reset (nothing after)
|
* _0x1C_: reset (nothing after)
|
||||||
|
|
||||||
|
Allowed attributes are (one or more chars):
|
||||||
|
|
||||||
|
* `+*+`: bold
|
||||||
|
* `+!+`: reverse
|
||||||
|
* `+/+`: italic
|
||||||
|
* `+_+`: underline
|
||||||
|
* `+|+`: keep attributes
|
||||||
|
|
||||||
Possible colors are:
|
Possible colors are:
|
||||||
|
|
||||||
* standard color: optional attributes + number on 2 digits
|
* standard color: optional attributes + number on 2 digits
|
||||||
@@ -911,55 +891,45 @@ Possible colors are:
|
|||||||
In following table, these conventions are used:
|
In following table, these conventions are used:
|
||||||
|
|
||||||
* `STD`: standard color (2 digits)
|
* `STD`: standard color (2 digits)
|
||||||
* `(ATTR)STD`: standard color with optional attributes (attributes + 2 digits)
|
* `(A)STD`: standard color with optional attributes (attributes + 2 digits)
|
||||||
* `EXT`: extended color (`+@+` + 5 digits)
|
* `EXT`: extended color (`+@+` + 5 digits)
|
||||||
* `(ATTR)EXT`: extended color with optional attributes (`+@+` + attributes + 5 digits)
|
* `(A)EXT`: extended color with optional attributes (`+@+` + attributes + 5 digits)
|
||||||
* `(ATTR)`: one or more attribute chars:
|
* `ATTR`: one attribute char (`+*+`, `+!+`, `+/+`, `+_+` or `+|+`)
|
||||||
** `+*+`: bold
|
|
||||||
** `+!+`: reverse
|
|
||||||
** `+/+`: italic
|
|
||||||
** `+_+`: underline
|
|
||||||
** `+|+`: keep attributes
|
|
||||||
* `(a)`: one raw attribute char:
|
|
||||||
** _0x01_: bold
|
|
||||||
** _0x02_: reverse
|
|
||||||
** _0x03_: italic
|
|
||||||
** _0x04_: underline
|
|
||||||
|
|
||||||
All combinations are summarized in this table:
|
All combinations are summarized in this table:
|
||||||
|
|
||||||
[width="100%",cols="4,3,2,8",options="header"]
|
[width="100%",cols="4,2,2,8",options="header"]
|
||||||
|===
|
|===
|
||||||
| Code | Example | Areas | Description
|
| Code | Example | Areas | Description
|
||||||
| [hex]#19# + `STD` | [hex]#19# `+01+` | chat + bars | Set attributes and color using option, see table below.
|
| [hex]#19# + STD | [hex]#19# `+01+` | chat + bars | Set attributes and color using option, see table below.
|
||||||
| [hex]#19# + `EXT` | [hex]#19# `+@00001+` | chat | Set color with a ncurses pair (used only on `/color` buffer).
|
| [hex]#19# + EXT | [hex]#19# `+@00001+` | chat | Set color with a ncurses pair (used only on `/color` buffer).
|
||||||
| [hex]#19# + `F` + `(ATTR)STD` | [hex]#19# `+F*05+` | chat + bars | Set foreground (WeeChat color).
|
| [hex]#19# + "F" + (A)STD | [hex]#19# `+F*05+` | chat + bars | Set foreground (WeeChat color).
|
||||||
| [hex]#19# + `F` + `(ATTR)EXT` | [hex]#19# `+F@00214+` | chat + bars | Set foreground (extended color).
|
| [hex]#19# + "F" + (A)EXT | [hex]#19# `+F@00214+` | chat + bars | Set foreground (extended color).
|
||||||
| [hex]#19# + `B` + `STD` | [hex]#19# `+B05+` | chat + bars | Set background (WeeChat color).
|
| [hex]#19# + "B" + STD | [hex]#19# `+B05+` | chat + bars | Set background (WeeChat color).
|
||||||
| [hex]#19# + `B` + `EXT` | [hex]#19# `+B@00124+` | chat + bars | Set background (extended color).
|
| [hex]#19# + "B" + EXT | [hex]#19# `+B@00124+` | chat + bars | Set background (extended color).
|
||||||
| [hex]#19# + `*` + `(ATTR)STD` | [hex]#19# `+*05+` | chat + bars | Set foreground (WeeChat color).
|
| [hex]#19# + "*" + (A)STD | [hex]#19# `+*05+` | chat + bars | Set foreground (WeeChat color).
|
||||||
| [hex]#19# + `*` + `(ATTR)EXT` | [hex]#19# `+*@00214+` | chat + bars | Set foreground (extended color).
|
| [hex]#19# + "*" + (A)EXT | [hex]#19# `+*@00214+` | chat + bars | Set foreground (extended color).
|
||||||
| [hex]#19# + `*` + `(ATTR)STD` + `,` + `STD` ^(1)^ | [hex]#19# `+*08,05+` | chat + bars | Set foreground/background (WeeChat colors).
|
| [hex]#19# + "*" + (A)STD + "," + STD ^(1)^ | [hex]#19# `+*08,05+` | chat + bars | Set foreground/background (WeeChat colors).
|
||||||
| [hex]#19# + `*` + `(ATTR)STD` + `,` + `EXT` ^(1)^ | [hex]#19# `+*01,@00214+` | chat + bars | Set foreground (WeeChat color) and background (extended color).
|
| [hex]#19# + "*" + (A)STD + "," + EXT ^(1)^ | [hex]#19# `+*01,@00214+` | chat + bars | Set foreground (WeeChat color) and background (extended color).
|
||||||
| [hex]#19# + `*` + `(ATTR)EXT` + `,` + `STD` ^(1)^ | [hex]#19# `+*@00214,05+` | chat + bars | Set foreground (extended color) and background (WeeChat color).
|
| [hex]#19# + "*" + (A)EXT + "," + STD ^(1)^ | [hex]#19# `+*@00214,05+` | chat + bars | Set foreground (extended color) and background (WeeChat color).
|
||||||
| [hex]#19# + `*` + `(ATTR)EXT` + `,` + `EXT` ^(1)^ | [hex]#19# `+*@00214,@00017+` | chat + bars | Set foreground/background (extended colors).
|
| [hex]#19# + "*" + (A)EXT + "," + EXT ^(1)^ | [hex]#19# `+*@00214,@00017+` | chat + bars | Set foreground/background (extended colors).
|
||||||
| [hex]#19# + `*` + `(ATTR)STD` + `~` + `STD` | [hex]#19# `+*08~05+` | chat + bars | Set foreground/background (WeeChat colors).
|
| [hex]#19# + "*" + (A)STD + "~" + STD | [hex]#19# `+*08~05+` | chat + bars | Set foreground/background (WeeChat colors).
|
||||||
| [hex]#19# + `*` + `(ATTR)STD` + `~` + `EXT` | [hex]#19# `+*01~@00214+` | chat + bars | Set foreground (WeeChat color) and background (extended color).
|
| [hex]#19# + "*" + (A)STD + "~" + EXT | [hex]#19# `+*01~@00214+` | chat + bars | Set foreground (WeeChat color) and background (extended color).
|
||||||
| [hex]#19# + `*` + `(ATTR)EXT` + `~` + `STD` | [hex]#19# `+*@00214~05+` | chat + bars | Set foreground (extended color) and background (WeeChat color).
|
| [hex]#19# + "*" + (A)EXT + "~" + STD | [hex]#19# `+*@00214~05+` | chat + bars | Set foreground (extended color) and background (WeeChat color).
|
||||||
| [hex]#19# + `*` + `(ATTR)EXT` + `~` + `EXT` | [hex]#19# `+*@00214~@00017+` | chat + bars | Set foreground/background (extended colors).
|
| [hex]#19# + "*" + (A)EXT + "~" + EXT | [hex]#19# `+*@00214~@00017+` | chat + bars | Set foreground/background (extended colors).
|
||||||
| [hex]#19# + `b` + `F` | [hex]#19# `+bF+` | bars | Set bar foreground color.
|
| [hex]#19# + "b" + "F" | [hex]#19# `+bF+` | bars | Set bar foreground color.
|
||||||
| [hex]#19# + `b` + `D` | [hex]#19# `+bD+` | bars | Set bar delimiter color.
|
| [hex]#19# + "b" + "D" | [hex]#19# `+bD+` | bars | Set bar delimiter color.
|
||||||
| [hex]#19# + `b` + `B` | [hex]#19# `+bB+` | bars | Set bar background color.
|
| [hex]#19# + "b" + "B" | [hex]#19# `+bB+` | bars | Set bar background color.
|
||||||
| [hex]#19# + `b` + `_` | [hex]#19# `+b_+` | input bar | Start input char (used only in item "input_text").
|
| [hex]#19# + "b" + "_" | [hex]#19# `+b_+` | input bar | Start input char (used only in item "input_text").
|
||||||
| [hex]#19# + `b` + `-` | [hex]#19# `+b-+` | input bar | Start input hidden char (used only in item "input_text").
|
| [hex]#19# + "b" + "-" | [hex]#19# `+b-+` | input bar | Start input hidden char (used only in item "input_text").
|
||||||
| [hex]#19# + `b` + `#` | [hex]#19# `+b#+` | input bar | Move cursor char (used only in item "input_text").
|
| [hex]#19# + "b" + "#" | [hex]#19# `+b#+` | input bar | Move cursor char (used only in item "input_text").
|
||||||
| [hex]#19# + `b` + `i` | [hex]#19# `+bi+` | bars | Start item.
|
| [hex]#19# + "b" + "i" | [hex]#19# `+bi+` | bars | Start item.
|
||||||
| [hex]#19# + `b` + `l` (lower L) | [hex]#19# `+bl+` | bars | Start line item.
|
| [hex]#19# + "b" + "l" (lower L) | [hex]#19# `+bl+` | bars | Start line item.
|
||||||
| [hex]#19# + `E` | [hex]#19# `+E+` | chat + bars | Emphasize text _(WeeChat ≥ 0.4.2)_.
|
| [hex]#19# + "E" | [hex]#19# `+E+` | chat + bars | Emphasize text _(WeeChat ≥ 0.4.2)_.
|
||||||
| [hex]#19# + [hex]#1C# | [hex]#19# [hex]#1C# | chat + bars | Reset color (keep attributes).
|
| [hex]#19# + [hex]#1C# | [hex]#19# [hex]#1C# | chat + bars | Reset color (keep attributes).
|
||||||
| [hex]#1A# + `(a)` | [hex]#1A# [hex]#01# | chat + bars | Set attribute.
|
| [hex]#1A# + ATTR | [hex]#1A# `+*+` | chat + bars | Set attribute.
|
||||||
| [hex]#1B# + `(a)` | [hex]#1B# [hex]#01# | chat + bars | Remove attribute.
|
| [hex]#1B# + ATTR | [hex]#1B# `+*+` | chat + bars | Remove attribute.
|
||||||
| [hex]#1C# | [hex]#1C# | chat + bars | Reset attributes and color.
|
| [hex]#1C# | [hex]#1C# | chat + bars | Reset attributes and color.
|
||||||
|===
|
|===
|
||||||
|
|
||||||
[NOTE]
|
[NOTE]
|
||||||
@@ -1076,7 +1046,7 @@ Then some macros are defined to call these functions.
|
|||||||
For example, function _hook_timer_ is defined in structure _t_weechat_plugin_
|
For example, function _hook_timer_ is defined in structure _t_weechat_plugin_
|
||||||
like this:
|
like this:
|
||||||
|
|
||||||
[source,c]
|
[source,C]
|
||||||
----
|
----
|
||||||
struct t_hook *(*hook_timer) (struct t_weechat_plugin *plugin,
|
struct t_hook *(*hook_timer) (struct t_weechat_plugin *plugin,
|
||||||
long interval,
|
long interval,
|
||||||
@@ -1089,7 +1059,7 @@ struct t_hook *(*hook_timer) (struct t_weechat_plugin *plugin,
|
|||||||
|
|
||||||
And the macro used to call this function is:
|
And the macro used to call this function is:
|
||||||
|
|
||||||
[source,c]
|
[source,C]
|
||||||
----
|
----
|
||||||
#define weechat_hook_timer(__interval, __align_second, __max_calls, \
|
#define weechat_hook_timer(__interval, __align_second, __max_calls, \
|
||||||
__callback, __data) \
|
__callback, __data) \
|
||||||
@@ -1100,7 +1070,7 @@ And the macro used to call this function is:
|
|||||||
|
|
||||||
So in a plugin, the call to function will be for example:
|
So in a plugin, the call to function will be for example:
|
||||||
|
|
||||||
[source,c]
|
[source,C]
|
||||||
----
|
----
|
||||||
server->hook_timer_sasl = weechat_hook_timer (timeout * 1000,
|
server->hook_timer_sasl = weechat_hook_timer (timeout * 1000,
|
||||||
0, 1,
|
0, 1,
|
||||||
@@ -1120,120 +1090,44 @@ Any patch for bug or new feature must be done on master branch, preferred way
|
|||||||
is a GitHub pull request. A patch can also be sent by e-mail
|
is a GitHub pull request. A patch can also be sent by e-mail
|
||||||
(made with `git diff` or `git format-patch`).
|
(made with `git diff` or `git format-patch`).
|
||||||
|
|
||||||
Format of commit message is the following (with automatic close of a GitHub issue):
|
Format of commit message is the following (to close a GitHub issue):
|
||||||
|
|
||||||
----
|
----
|
||||||
component: fix a problem (closes #123)
|
component: fix a problem (closes #123)
|
||||||
----
|
----
|
||||||
|
|
||||||
|
For a Savannah bug:
|
||||||
|
|
||||||
|
----
|
||||||
|
component: fix a problem (bug #12345)
|
||||||
|
----
|
||||||
|
|
||||||
Where _component_ is one of following:
|
Where _component_ is one of following:
|
||||||
|
|
||||||
[width="100%",cols="1m,4m,5",options="header"]
|
* WeeChat core: _core_ (files in root directory, _po/_ and _src/_,
|
||||||
|===
|
except _src/plugins/_)
|
||||||
| Component | Files | Description
|
* documentation files: _doc_ (files in directory _doc/_)
|
||||||
|
* name of a plugin: _irc_, _python_, _relay_, ... (files in directory
|
||||||
| core |
|
_src/plugins/_)
|
||||||
AUTHORS.adoc +
|
|
||||||
ChangeLog.adoc +
|
|
||||||
Contributing.adoc +
|
|
||||||
.github/FUNDING.yml +
|
|
||||||
.github/ISSUE_TEMPLATE/* +
|
|
||||||
icons/* +
|
|
||||||
po/* +
|
|
||||||
README.adoc +
|
|
||||||
ReleaseNotes.adoc +
|
|
||||||
src/core/* +
|
|
||||||
src/gui/* +
|
|
||||||
version.sh +
|
|
||||||
weechat.desktop |
|
|
||||||
WeeChat core
|
|
||||||
|
|
||||||
| build |
|
|
||||||
autogen.sh +
|
|
||||||
CMakeLists.txt +
|
|
||||||
cmake/* +
|
|
||||||
configure.ac +
|
|
||||||
Makefile.am +
|
|
||||||
tools/* +
|
|
||||||
weechat.cygport.in +
|
|
||||||
weechat.spec |
|
|
||||||
Build
|
|
||||||
|
|
||||||
| ci |
|
|
||||||
.github/workflows/* |
|
|
||||||
Continuous integration
|
|
||||||
|
|
||||||
| debian |
|
|
||||||
debian-devel/* +
|
|
||||||
debian-stable/* |
|
|
||||||
Debian packaging
|
|
||||||
|
|
||||||
| tests |
|
|
||||||
tests/* |
|
|
||||||
Tests
|
|
||||||
|
|
||||||
| doc |
|
|
||||||
doc/* |
|
|
||||||
General doc updates, for example build
|
|
||||||
|
|
||||||
| doc/man |
|
|
||||||
doc/xx/weechat.1.xx.adoc +
|
|
||||||
doc/xx/weechat-headless.1.xx.adoc |
|
|
||||||
Man pages
|
|
||||||
|
|
||||||
| doc/faq |
|
|
||||||
doc/xx/weechat_faq.xx.adoc |
|
|
||||||
Frequently asked questions (FAQ)
|
|
||||||
|
|
||||||
| doc/quickstart |
|
|
||||||
doc/xx/weechat_quickstart.xx.adoc |
|
|
||||||
Quickstart guide
|
|
||||||
|
|
||||||
| doc/user |
|
|
||||||
doc/xx/weechat_user.xx.adoc |
|
|
||||||
User's guide
|
|
||||||
|
|
||||||
| doc/scripting |
|
|
||||||
doc/xx/weechat_scripting.xx.adoc |
|
|
||||||
Scripting guide
|
|
||||||
|
|
||||||
| doc/api |
|
|
||||||
doc/xx/weechat_plugin_api.xx.adoc |
|
|
||||||
Plugin API reference
|
|
||||||
|
|
||||||
| doc/relay |
|
|
||||||
doc/xx/weechat_relay_protocol.xx.adoc |
|
|
||||||
Relay protocol
|
|
||||||
|
|
||||||
| doc/dev |
|
|
||||||
doc/xx/weechat_dev.en.adoc |
|
|
||||||
Developer's guide
|
|
||||||
|
|
||||||
| irc +
|
|
||||||
python +
|
|
||||||
relay +
|
|
||||||
… |
|
|
||||||
src/plugins/<name>/* |
|
|
||||||
Plugin
|
|
||||||
|
|
||||||
|===
|
|
||||||
|
|
||||||
Some rules to follow:
|
Some rules to follow:
|
||||||
|
|
||||||
* Use only English.
|
* Use only English.
|
||||||
* Use infinitive form of verb.
|
* Use infinitive form of verb.
|
||||||
* If commit is related to a GitHub issue, write it in parenthesis after
|
* If commit is related to something in tracker, write it in parenthesis after
|
||||||
the message, with this format: `(issue #123)` or `(closes #123)` to close it.
|
the message, with this format:
|
||||||
|
** GitHub: closes #123
|
||||||
|
** Savannah: bug #12345, task #12345, patch #12345
|
||||||
|
|
||||||
Examples of commit messages:
|
Examples of commit messages:
|
||||||
|
|
||||||
----
|
----
|
||||||
core: add callback "nickcmp" for nick comparison in buffers
|
|
||||||
core: update Japanese translations
|
|
||||||
doc/user: add chapter on typing extension
|
|
||||||
irc: add command /unquiet (closes #36)
|
irc: add command /unquiet (closes #36)
|
||||||
python: fix crash when unloading a script without pointer to interpreter
|
core: add callback "nickcmp" for nick comparison in buffers
|
||||||
|
irc: fix freeze when reading on socket with SSL enabled (bug #35097)
|
||||||
ruby: add detection of ruby version 1.9.3 in CMake
|
ruby: add detection of ruby version 1.9.3 in CMake
|
||||||
|
python: fix crash when unloading a script without pointer to interpreter
|
||||||
|
core: update Japanese translations (patch #7783)
|
||||||
----
|
----
|
||||||
|
|
||||||
[[translations]]
|
[[translations]]
|
||||||
@@ -1298,7 +1192,7 @@ work on it.
|
|||||||
The translations missing in files are indicated by this string:
|
The translations missing in files are indicated by this string:
|
||||||
|
|
||||||
----
|
----
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
----
|
----
|
||||||
|
|
||||||
You must translate whole file except links and special keywords for notes,
|
You must translate whole file except links and special keywords for notes,
|
||||||
@@ -1315,7 +1209,7 @@ warnings, ... These words must be kept unchanged:
|
|||||||
[CAUTION]
|
[CAUTION]
|
||||||
----
|
----
|
||||||
|
|
||||||
When there is a name after `+<<link_name>>+`, then you must translate it:
|
When there is a name after `<<link_name>>`, then you must translate it:
|
||||||
|
|
||||||
----
|
----
|
||||||
<<link_name,this text must be translated>>
|
<<link_name,this text must be translated>>
|
||||||
|
|||||||
+29
-57
@@ -524,7 +524,7 @@ You can just disable bracketed paste mode:
|
|||||||
=== How can I customize display for very small terminal size (like 80x25), to not waste space?
|
=== How can I customize display for very small terminal size (like 80x25), to not waste space?
|
||||||
|
|
||||||
You can remove side bars (buflist and nicklist), change time format to display
|
You can remove side bars (buflist and nicklist), change time format to display
|
||||||
only hours and minutes, disable alignment of messages and set a char for nick
|
only hours and seconds, disable alignment of messages and set a char for nick
|
||||||
prefix/suffix:
|
prefix/suffix:
|
||||||
|
|
||||||
----
|
----
|
||||||
@@ -727,8 +727,7 @@ you have to use kbd:[Alt] instead of kbd:[Shift]).
|
|||||||
|
|
||||||
If you are using macOS, you must install `openssl` from Homebrew.
|
If you are using macOS, you must install `openssl` from Homebrew.
|
||||||
A CA file will be bootstrapped using certificates from the system keychain.
|
A CA file will be bootstrapped using certificates from the system keychain.
|
||||||
|
You can then set the path to certificates in WeeChat:
|
||||||
With WeeChat ≤ 3.1, you can then set the path to system certificates:
|
|
||||||
|
|
||||||
----
|
----
|
||||||
/set weechat.network.gnutls_ca_file "/usr/local/etc/openssl/cert.pem"
|
/set weechat.network.gnutls_ca_file "/usr/local/etc/openssl/cert.pem"
|
||||||
@@ -765,11 +764,10 @@ by your server name:
|
|||||||
/set irc.server.xxx.ssl_priorities "NORMAL:-VERS-TLS-ALL:+VERS-TLS1.0:+VERS-SSL3.0:%COMPAT"
|
/set irc.server.xxx.ssl_priorities "NORMAL:-VERS-TLS-ALL:+VERS-TLS1.0:+VERS-SSL3.0:%COMPAT"
|
||||||
----
|
----
|
||||||
|
|
||||||
[[irc_ssl_libera]]
|
[[irc_ssl_freenode]]
|
||||||
=== How can I connect to libera server using SSL?
|
=== How can I connect to freenode server using SSL?
|
||||||
|
|
||||||
With WeeChat ≤ 3.1, set option _weechat.network.gnutls_ca_file_ to file with
|
Set option _weechat.network.gnutls_ca_file_ to file with certificates:
|
||||||
certificates:
|
|
||||||
|
|
||||||
----
|
----
|
||||||
/set weechat.network.gnutls_ca_file "/etc/ssl/certs/ca-certificates.crt"
|
/set weechat.network.gnutls_ca_file "/etc/ssl/certs/ca-certificates.crt"
|
||||||
@@ -788,9 +786,9 @@ Check that you have this file on your system (commonly brought by package
|
|||||||
Setup server port, SSL, then connect:
|
Setup server port, SSL, then connect:
|
||||||
|
|
||||||
----
|
----
|
||||||
/set irc.server.libera.addresses "irc.libera.chat/6697"
|
/set irc.server.freenode.addresses "chat.freenode.net/7000"
|
||||||
/set irc.server.libera.ssl on
|
/set irc.server.freenode.ssl on
|
||||||
/connect libera
|
/connect freenode
|
||||||
----
|
----
|
||||||
|
|
||||||
[[irc_oauth]]
|
[[irc_oauth]]
|
||||||
@@ -815,40 +813,25 @@ If the server supports SASL, you should use that instead of sending the
|
|||||||
command for nickserv authentication, for example:
|
command for nickserv authentication, for example:
|
||||||
|
|
||||||
----
|
----
|
||||||
/set irc.server.libera.sasl_username "mynick"
|
/set irc.server.freenode.sasl_username "mynick"
|
||||||
/set irc.server.libera.sasl_password "xxxxxxx"
|
/set irc.server.freenode.sasl_password "xxxxxxx"
|
||||||
----
|
----
|
||||||
|
|
||||||
If the server does not support SASL, you can add a delay (between command and
|
If the server does not support SASL, you can add a delay (between command and
|
||||||
join of channels):
|
join of channels):
|
||||||
|
|
||||||
----
|
----
|
||||||
/set irc.server.libera.command_delay 5
|
/set irc.server.freenode.command_delay 5
|
||||||
----
|
----
|
||||||
|
|
||||||
[[edit_autojoin]]
|
[[edit_autojoin]]
|
||||||
=== How can I add/remove channels from autojoin option?
|
=== How can I add/remove channels from autojoin option?
|
||||||
|
|
||||||
With WeeChat ≥ 3.5, you can automatically record the channels you manually
|
|
||||||
join and part in the "autojoin" server option.
|
|
||||||
|
|
||||||
For all servers:
|
|
||||||
|
|
||||||
----
|
|
||||||
/set irc.server_default.autojoin_record on
|
|
||||||
----
|
|
||||||
|
|
||||||
For a single server:
|
|
||||||
|
|
||||||
----
|
|
||||||
/set irc.server.libera.autojoin_record on
|
|
||||||
----
|
|
||||||
|
|
||||||
You can use the `/set` command to edit the list of autojoin channels,
|
You can use the `/set` command to edit the list of autojoin channels,
|
||||||
for example for the "libera" server:
|
for example for the "freenode" server:
|
||||||
|
|
||||||
----
|
----
|
||||||
/set irc.server.libera.autojoin [TAB]
|
/set irc.server.freenode.autojoin [TAB]
|
||||||
----
|
----
|
||||||
|
|
||||||
[NOTE]
|
[NOTE]
|
||||||
@@ -1019,16 +1002,16 @@ _buffer_autoset.py_ script:
|
|||||||
----
|
----
|
||||||
|
|
||||||
For example, to permanently disable highlights from "mike" on #weechat
|
For example, to permanently disable highlights from "mike" on #weechat
|
||||||
on the IRC server libera:
|
on the IRC server freenode:
|
||||||
|
|
||||||
----
|
----
|
||||||
/buffer_autoset add irc.libera.#weechat hotlist_max_level_nicks_add mike:2
|
/buffer_autoset add irc.freenode.#weechat hotlist_max_level_nicks_add mike:2
|
||||||
----
|
----
|
||||||
|
|
||||||
To apply it to the entire libera server instead:
|
To apply it to the entire freenode server instead:
|
||||||
|
|
||||||
----
|
----
|
||||||
/buffer_autoset add irc.libera hotlist_max_level_nicks_add mike:2
|
/buffer_autoset add irc.freenode hotlist_max_level_nicks_add mike:2
|
||||||
----
|
----
|
||||||
|
|
||||||
For more examples, see `+/help buffer_autoset+`.
|
For more examples, see `+/help buffer_autoset+`.
|
||||||
@@ -1064,17 +1047,15 @@ Scripts are not compatible with other IRC clients.
|
|||||||
[[scripts_update]]
|
[[scripts_update]]
|
||||||
=== The command "/script update" can not read scripts, how to fix that?
|
=== The command "/script update" can not read scripts, how to fix that?
|
||||||
|
|
||||||
First check questions about SSL connection in this FAQ.
|
First check questions about SSL connection in this FAQ
|
||||||
|
(especially the option _weechat.network.gnutls_ca_file_).
|
||||||
|
|
||||||
If still not working, try to manually delete the scripts file (in your shell):
|
If still not working, try to manually delete the scripts file (in your shell):
|
||||||
|
|
||||||
----
|
----
|
||||||
$ rm ~/.cache/weechat/script/plugins.xml.gz
|
$ rm ~/.weechat/script/plugins.xml.gz
|
||||||
----
|
----
|
||||||
|
|
||||||
[NOTE]
|
|
||||||
With WeeChat ≤ 3.1, the path should be: _~/.weechat/script/plugins.xml.gz_.
|
|
||||||
|
|
||||||
And update scripts again in WeeChat:
|
And update scripts again in WeeChat:
|
||||||
|
|
||||||
----
|
----
|
||||||
@@ -1094,18 +1075,10 @@ have to update manually the file yourself to get updates):
|
|||||||
* in your shell, with curl installed:
|
* in your shell, with curl installed:
|
||||||
|
|
||||||
----
|
----
|
||||||
$ cd ~/.cache/weechat/script
|
$ cd ~/.weechat/script
|
||||||
$ curl -O https://weechat.org/files/plugins.xml.gz
|
$ curl -O https://weechat.org/files/plugins.xml.gz
|
||||||
----
|
----
|
||||||
|
|
||||||
If you're running macOS and the downloaded file has a size of 0 bytes,
|
|
||||||
try to set this variable in your shell initialization file or on command line,
|
|
||||||
before starting WeeChat:
|
|
||||||
|
|
||||||
----
|
|
||||||
export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES
|
|
||||||
----
|
|
||||||
|
|
||||||
[[spell_dictionaries]]
|
[[spell_dictionaries]]
|
||||||
=== I installed aspell dictionaries on my system, how can I use them without restarting WeeChat?
|
=== I installed aspell dictionaries on my system, how can I use them without restarting WeeChat?
|
||||||
|
|
||||||
@@ -1152,8 +1125,8 @@ You can try following tips to consume less memory:
|
|||||||
fifo, logger, perl, python, ruby, lua, tcl, guile, javascript, php, spell,
|
fifo, logger, perl, python, ruby, lua, tcl, guile, javascript, php, spell,
|
||||||
xfer (used for DCC). See `/help weechat.plugin.autoload`.
|
xfer (used for DCC). See `/help weechat.plugin.autoload`.
|
||||||
* Load only scripts that you really need.
|
* Load only scripts that you really need.
|
||||||
* Do not load system certificates if SSL is *NOT* used: turn off this option:
|
* Do not load certificates if SSL is *NOT* used: set empty string in option
|
||||||
_weechat.network.gnutls_ca_system_.
|
_weechat.network.gnutls_ca_file_.
|
||||||
* Reduce value of option _weechat.history.max_buffer_lines_number_ or set value
|
* Reduce value of option _weechat.history.max_buffer_lines_number_ or set value
|
||||||
of option _weechat.history.max_buffer_lines_minutes_.
|
of option _weechat.history.max_buffer_lines_minutes_.
|
||||||
* Reduce value of option _weechat.history.max_commands_.
|
* Reduce value of option _weechat.history.max_commands_.
|
||||||
@@ -1209,16 +1182,16 @@ For example:
|
|||||||
|
|
||||||
----
|
----
|
||||||
/secure passphrase xxxxxxxxxx
|
/secure passphrase xxxxxxxxxx
|
||||||
/secure set libera_username username
|
/secure set freenode_username username
|
||||||
/secure set libera_password xxxxxxxx
|
/secure set freenode_password xxxxxxxx
|
||||||
/set irc.server.libera.sasl_username "${sec.data.libera_username}"
|
/set irc.server.freenode.sasl_username "${sec.data.freenode_username}"
|
||||||
/set irc.server.libera.sasl_password "${sec.data.libera_password}"
|
/set irc.server.freenode.sasl_password "${sec.data.freenode_password}"
|
||||||
----
|
----
|
||||||
|
|
||||||
[[sharing_config_files]]
|
[[sharing_config_files]]
|
||||||
=== I want to share my WeeChat configuration, what files should I share and what should I keep private?
|
=== I want to share my WeeChat configuration, what files should I share and what should I keep private?
|
||||||
|
|
||||||
You can share configuration files _*.conf_ except the file _sec.conf_ which
|
You can share files _~/.weechat/*.conf_ except the file _sec.conf_ which
|
||||||
contains your passwords ciphered with your passphrase.
|
contains your passwords ciphered with your passphrase.
|
||||||
|
|
||||||
Some other files may contain sensitive info like passwords (if they are not
|
Some other files may contain sensitive info like passwords (if they are not
|
||||||
@@ -1258,8 +1231,7 @@ $ LD_PRELOAD=/lib/libpthread.so.0 gdb /path/to/weechat
|
|||||||
[[supported_os]]
|
[[supported_os]]
|
||||||
=== What is the list of supported platforms for WeeChat? Will it be ported to other operating systems?
|
=== What is the list of supported platforms for WeeChat? Will it be ported to other operating systems?
|
||||||
|
|
||||||
WeeChat runs fine on most Linux/BSD distributions, GNU/Hurd, Mac OS and Windows
|
The full list is on this page: https://weechat.org/download
|
||||||
(Cygwin and Windows Subsystem for Linux).
|
|
||||||
|
|
||||||
We do our best to run on as many platforms as possible. Help is welcome for
|
We do our best to run on as many platforms as possible. Help is welcome for
|
||||||
some OS' we don't have, to test WeeChat.
|
some OS' we don't have, to test WeeChat.
|
||||||
|
|||||||
+1721
-2032
File diff suppressed because it is too large
Load Diff
@@ -105,12 +105,12 @@ other plugins in the list.
|
|||||||
You can add an IRC server with the `/server` command, for example:
|
You can add an IRC server with the `/server` command, for example:
|
||||||
|
|
||||||
----
|
----
|
||||||
/server add libera irc.libera.chat/6697 -ssl
|
/server add freenode chat.freenode.net
|
||||||
----
|
----
|
||||||
|
|
||||||
In this command, `libera` is the internal server name used by WeeChat:
|
In this command, `freenode` is the internal server name used by WeeChat:
|
||||||
you'll be able to connect with `/connect libera` and the server options
|
you'll be able to connect with `/connect freenode` and the server options
|
||||||
are _irc.server.libera.xxx_.
|
are _irc.server.freenode.xxx_.
|
||||||
|
|
||||||
As usual, help is available if you're lost:
|
As usual, help is available if you're lost:
|
||||||
|
|
||||||
@@ -129,38 +129,45 @@ For each server option, WeeChat uses its value if it is defined (not
|
|||||||
"null"). Otherwise WeeChat uses default value ("irc.server_default.xxx").
|
"null"). Otherwise WeeChat uses default value ("irc.server_default.xxx").
|
||||||
|
|
||||||
For example there are default nicks (based on your un*x login), and you can
|
For example there are default nicks (based on your un*x login), and you can
|
||||||
override them for the libera server with following command:
|
override them for the freenode server with following command:
|
||||||
|
|
||||||
----
|
----
|
||||||
/set irc.server.libera.nicks "mynick,mynick2,mynick3,mynick4,mynick5"
|
/set irc.server.freenode.nicks "mynick,mynick2,mynick3,mynick4,mynick5"
|
||||||
----
|
----
|
||||||
|
|
||||||
To set the user and real names:
|
To set the user and real names:
|
||||||
|
|
||||||
----
|
----
|
||||||
/set irc.server.libera.username "My user name"
|
/set irc.server.freenode.username "My user name"
|
||||||
/set irc.server.libera.realname "My real name"
|
/set irc.server.freenode.realname "My real name"
|
||||||
----
|
----
|
||||||
|
|
||||||
To enable auto-connect to server at startup:
|
To enable auto-connect to server at startup:
|
||||||
|
|
||||||
----
|
----
|
||||||
/set irc.server.libera.autoconnect on
|
/set irc.server.freenode.autoconnect on
|
||||||
|
----
|
||||||
|
|
||||||
|
To connect with SSL:
|
||||||
|
|
||||||
|
----
|
||||||
|
/set irc.server.freenode.addresses "chat.freenode.net/7000"
|
||||||
|
/set irc.server.freenode.ssl on
|
||||||
----
|
----
|
||||||
|
|
||||||
If SASL is available on the server, you can use it for authentication (you will be
|
If SASL is available on the server, you can use it for authentication (you will be
|
||||||
identified before you join channels):
|
identified before you join channels):
|
||||||
|
|
||||||
----
|
----
|
||||||
/set irc.server.libera.sasl_username "mynick"
|
/set irc.server.freenode.sasl_username "mynick"
|
||||||
/set irc.server.libera.sasl_password "xxxxxxx"
|
/set irc.server.freenode.sasl_password "xxxxxxx"
|
||||||
----
|
----
|
||||||
|
|
||||||
To run a command after connection to server, for example to authenticate
|
To run a command after connection to server, for example to authenticate
|
||||||
with nickserv (only if you don't use SASL for authentication):
|
with nickserv (only if you don't use SASL for authentication):
|
||||||
|
|
||||||
----
|
----
|
||||||
/set irc.server.libera.command "/msg nickserv identify xxxxxxx"
|
/set irc.server.freenode.command "/msg nickserv identify xxxxxxx"
|
||||||
----
|
----
|
||||||
|
|
||||||
[NOTE]
|
[NOTE]
|
||||||
@@ -175,23 +182,23 @@ First setup a passphrase:
|
|||||||
/secure passphrase this is my secret passphrase
|
/secure passphrase this is my secret passphrase
|
||||||
----
|
----
|
||||||
|
|
||||||
Then add a secured data with your libera password:
|
Then add a secured data with your freenode password:
|
||||||
|
|
||||||
----
|
----
|
||||||
/secure set libera_password xxxxxxx
|
/secure set freenode_password xxxxxxx
|
||||||
----
|
----
|
||||||
|
|
||||||
Then you can use `+${sec.data.libera_password}+` instead of your password in the
|
Then you can use `+${sec.data.freenode_password}+` instead of your password in the
|
||||||
IRC options mentioned above, for example:
|
IRC options mentioned above, for example:
|
||||||
|
|
||||||
----
|
----
|
||||||
/set irc.server.libera.sasl_password "${sec.data.libera_password}"
|
/set irc.server.freenode.sasl_password "${sec.data.freenode_password}"
|
||||||
----
|
----
|
||||||
|
|
||||||
To auto-join some channels when connecting to server:
|
To auto-join some channels when connecting to server:
|
||||||
|
|
||||||
----
|
----
|
||||||
/set irc.server.libera.autojoin "#channel1,#channel2"
|
/set irc.server.freenode.autojoin "#channel1,#channel2"
|
||||||
----
|
----
|
||||||
|
|
||||||
[TIP]
|
[TIP]
|
||||||
@@ -203,24 +210,24 @@ To remove a value of a server option, and use the default value instead,
|
|||||||
for example to use default nicks (irc.server_default.nicks):
|
for example to use default nicks (irc.server_default.nicks):
|
||||||
|
|
||||||
----
|
----
|
||||||
/unset irc.server.libera.nicks
|
/unset irc.server.freenode.nicks
|
||||||
----
|
----
|
||||||
|
|
||||||
Other options: you can setup other options with the following command ("xxx" is
|
Other options: you can setup other options with the following command ("xxx" is
|
||||||
option name):
|
option name):
|
||||||
|
|
||||||
----
|
----
|
||||||
/set irc.server.libera.xxx value
|
/set irc.server.freenode.xxx value
|
||||||
----
|
----
|
||||||
|
|
||||||
[[connect_to_irc_server]]
|
[[connect_to_irc_server]]
|
||||||
== Connect to IRC server
|
== Connect to IRC server
|
||||||
|
|
||||||
----
|
----
|
||||||
/connect libera
|
/connect freenode
|
||||||
----
|
----
|
||||||
|
|
||||||
With this command, WeeChat connects to the libera server and auto-joins the
|
With this command, WeeChat connects to the freenode server and auto-joins the
|
||||||
channels configured in the "autojoin" server option.
|
channels configured in the "autojoin" server option.
|
||||||
|
|
||||||
[NOTE]
|
[NOTE]
|
||||||
|
|||||||
@@ -84,7 +84,7 @@ Fields are:
|
|||||||
|
|
||||||
List of available commands (detail in next chapters):
|
List of available commands (detail in next chapters):
|
||||||
|
|
||||||
[width="100%",cols="1m,8",options="header"]
|
[width="100%",cols="^3m,14",options="header"]
|
||||||
|===
|
|===
|
||||||
| Command | Description
|
| Command | Description
|
||||||
| handshake | Handshake: prepare client authentication and set options, before _init_ command.
|
| handshake | Handshake: prepare client authentication and set options, before _init_ command.
|
||||||
@@ -103,7 +103,7 @@ List of available commands (detail in next chapters):
|
|||||||
[[command_handshake]]
|
[[command_handshake]]
|
||||||
=== handshake
|
=== handshake
|
||||||
|
|
||||||
_WeeChat ≥ 2.9, updated in version 3.5._
|
_WeeChat ≥ 2.9._
|
||||||
|
|
||||||
Perform an handshake between the client and WeeChat: this is required in most
|
Perform an handshake between the client and WeeChat: this is required in most
|
||||||
cases to know the session settings and prepare the authentication with the
|
cases to know the session settings and prepare the authentication with the
|
||||||
@@ -127,15 +127,10 @@ Arguments:
|
|||||||
*** _sha512_: password salted and hashed with SHA512 algorithm
|
*** _sha512_: password salted and hashed with SHA512 algorithm
|
||||||
*** _pbkdf2+sha256_: password salted and hashed with PBKDF2 algorithm (using SHA256 hash)
|
*** _pbkdf2+sha256_: password salted and hashed with PBKDF2 algorithm (using SHA256 hash)
|
||||||
*** _pbkdf2+sha512_: password salted and hashed with PBKDF2 algorithm (using SHA512 hash)
|
*** _pbkdf2+sha512_: password salted and hashed with PBKDF2 algorithm (using SHA512 hash)
|
||||||
** _compression_: list of supported compression types supported by the client
|
** _compression_: compression type:
|
||||||
(separated by colons and sorted from most important to the fallback value);
|
*** _zlib_: enable _zlib_ compression for messages sent by _relay_
|
||||||
if compression is enabled, messages from _relay_ to client are compressed
|
(enabled by default if _relay_ supports _zlib_ compression)
|
||||||
to save bandwidth; allowed values are:
|
*** _off_: disable compression
|
||||||
*** _off_: no compression (default if option is not given)
|
|
||||||
*** _zlib_: compress with https://zlib.net/[zlib] _(WeeChat ≥ 0.3.7)_
|
|
||||||
*** _zstd_: compress with https://facebook.github.io/zstd/[Zstandard]: better
|
|
||||||
compression and much faster than _zlib_ for both compression and decompression
|
|
||||||
_(WeeChat ≥ 3.5)_
|
|
||||||
|
|
||||||
Notes about option _password_hash_algo_:
|
Notes about option _password_hash_algo_:
|
||||||
|
|
||||||
@@ -174,9 +169,8 @@ WeeChat replies with a hashtable containing the following keys and values:
|
|||||||
and the user password (the _relay_ nonce + the client nonce is the salt used
|
and the user password (the _relay_ nonce + the client nonce is the salt used
|
||||||
in the password hash algorithm)
|
in the password hash algorithm)
|
||||||
* _compression_: compression type:
|
* _compression_: compression type:
|
||||||
|
** _zlib_: messages are compressed with _zlib_
|
||||||
** _off_: messages are not compressed
|
** _off_: messages are not compressed
|
||||||
** _zlib_: messages are compressed with https://zlib.net/[zlib]
|
|
||||||
** _zstd_: messages are compressed with https://facebook.github.io/zstd/[Zstandard]
|
|
||||||
|
|
||||||
[TIP]
|
[TIP]
|
||||||
With WeeChat ≤ 2.8, the command _handshake_ is not implemented, WeeChat silently
|
With WeeChat ≤ 2.8, the command _handshake_ is not implemented, WeeChat silently
|
||||||
@@ -202,7 +196,7 @@ htb: {
|
|||||||
'password_hash_iterations': '100000',
|
'password_hash_iterations': '100000',
|
||||||
'totp': 'on',
|
'totp': 'on',
|
||||||
'nonce': '85B1EE00695A5B254E14F4885538DF0D',
|
'nonce': '85B1EE00695A5B254E14F4885538DF0D',
|
||||||
'compression': 'off',
|
'compression': 'zlib',
|
||||||
}
|
}
|
||||||
----
|
----
|
||||||
|
|
||||||
@@ -222,7 +216,7 @@ htb: {
|
|||||||
'password_hash_iterations': '100000',
|
'password_hash_iterations': '100000',
|
||||||
'totp': 'on',
|
'totp': 'on',
|
||||||
'nonce': '85B1EE00695A5B254E14F4885538DF0D',
|
'nonce': '85B1EE00695A5B254E14F4885538DF0D',
|
||||||
'compression': 'off',
|
'compression': 'zlib',
|
||||||
}
|
}
|
||||||
----
|
----
|
||||||
|
|
||||||
@@ -242,7 +236,7 @@ htb: {
|
|||||||
'password_hash_iterations': '100000',
|
'password_hash_iterations': '100000',
|
||||||
'totp': 'on',
|
'totp': 'on',
|
||||||
'nonce': '85B1EE00695A5B254E14F4885538DF0D',
|
'nonce': '85B1EE00695A5B254E14F4885538DF0D',
|
||||||
'compression': 'off',
|
'compression': 'zlib',
|
||||||
}
|
}
|
||||||
----
|
----
|
||||||
|
|
||||||
@@ -254,11 +248,10 @@ the password is "test" in this example:
|
|||||||
init password_hash=pbkdf2+sha256:85b1ee00695a5b254e14f4885538df0da4b73207f5aae4:100000:ba7facc3edb89cd06ae810e29ced85980ff36de2bb596fcf513aaab626876440
|
init password_hash=pbkdf2+sha256:85b1ee00695a5b254e14f4885538df0da4b73207f5aae4:100000:ba7facc3edb89cd06ae810e29ced85980ff36de2bb596fcf513aaab626876440
|
||||||
----
|
----
|
||||||
|
|
||||||
* Only "sha256" and "sha512" are supported by the client, enable zstd (preferred)
|
* Only "sha256" and "sha512" are supported by the client, disable compression:
|
||||||
or zlib compression:
|
|
||||||
|
|
||||||
----
|
----
|
||||||
(handshake) handshake password_hash_algo=sha256:sha512,compression=zstd:zlib
|
(handshake) handshake password_hash_algo=sha256:sha512,compression=off
|
||||||
----
|
----
|
||||||
|
|
||||||
Response:
|
Response:
|
||||||
@@ -271,7 +264,7 @@ htb: {
|
|||||||
'password_hash_iterations': '100000',
|
'password_hash_iterations': '100000',
|
||||||
'totp': 'on',
|
'totp': 'on',
|
||||||
'nonce': '85B1EE00695A5B254E14F4885538DF0D',
|
'nonce': '85B1EE00695A5B254E14F4885538DF0D',
|
||||||
'compression': 'zstd',
|
'compression': 'off',
|
||||||
}
|
}
|
||||||
----
|
----
|
||||||
|
|
||||||
@@ -305,6 +298,12 @@ Arguments:
|
|||||||
factor, in addition to the password
|
factor, in addition to the password
|
||||||
(option _relay.network.totp_secret_ in WeeChat)
|
(option _relay.network.totp_secret_ in WeeChat)
|
||||||
_(WeeChat ≥ 2.4)_
|
_(WeeChat ≥ 2.4)_
|
||||||
|
** _compression_: compression type (*deprecated* since version 2.9, it is kept
|
||||||
|
for compatibility reasons but should be sent in the
|
||||||
|
<<command_handshake,handshake command>>):
|
||||||
|
*** _zlib_: enable _zlib_ compression for messages sent by _relay_
|
||||||
|
(enabled by default if _relay_ supports _zlib_ compression)
|
||||||
|
*** _off_: disable compression
|
||||||
|
|
||||||
[NOTE]
|
[NOTE]
|
||||||
With WeeChat ≥ 1.6, commas can be escaped in the value, for example
|
With WeeChat ≥ 1.6, commas can be escaped in the value, for example
|
||||||
@@ -437,11 +436,11 @@ hda:
|
|||||||
item 2:
|
item 2:
|
||||||
__path: ['0x558d62840ea0']
|
__path: ['0x558d62840ea0']
|
||||||
number: 1
|
number: 1
|
||||||
full_name: 'irc.server.libera'
|
full_name: 'irc.server.freenode'
|
||||||
item 3:
|
item 3:
|
||||||
__path: ['0x558d62a9cea0']
|
__path: ['0x558d62a9cea0']
|
||||||
number: 2
|
number: 2
|
||||||
full_name: 'irc.libera.#weechat'
|
full_name: 'irc.freenode.#weechat'
|
||||||
----
|
----
|
||||||
|
|
||||||
* Request all lines of first buffer:
|
* Request all lines of first buffer:
|
||||||
@@ -589,15 +588,15 @@ inf: ('version_number', '34144256')
|
|||||||
* Request WeeChat directory:
|
* Request WeeChat directory:
|
||||||
|
|
||||||
----
|
----
|
||||||
(info_weechat_config_dir) info weechat_config_dir
|
(info_weechat_dir) info weechat_dir
|
||||||
----
|
----
|
||||||
|
|
||||||
Response:
|
Response:
|
||||||
|
|
||||||
[source,python]
|
[source,python]
|
||||||
----
|
----
|
||||||
id: 'info_weechat_config_dir'
|
id: 'info_weechat_dir'
|
||||||
inf: ('weechat_config_dir', '/home/user/.config/weechat')
|
inf: ('weechat_dir', '/home/xxx/.weechat')
|
||||||
----
|
----
|
||||||
|
|
||||||
[[command_infolist]]
|
[[command_infolist]]
|
||||||
@@ -748,7 +747,7 @@ Syntax:
|
|||||||
Arguments:
|
Arguments:
|
||||||
|
|
||||||
* _buffer_: pointer (eg: "0x1234abcd") or full name of buffer (for example:
|
* _buffer_: pointer (eg: "0x1234abcd") or full name of buffer (for example:
|
||||||
_core.weechat_ or _irc.libera.#weechat_)
|
_core.weechat_ or _irc.freenode.#weechat_)
|
||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
|
|
||||||
@@ -857,10 +856,10 @@ hda:
|
|||||||
prefix_color: None
|
prefix_color: None
|
||||||
----
|
----
|
||||||
|
|
||||||
* Request nicklist for buffer "irc.libera.#weechat":
|
* Request nicklist for buffer "irc.freenode.#weechat":
|
||||||
|
|
||||||
----
|
----
|
||||||
(nicklist_weechat) nicklist irc.libera.#weechat
|
(nicklist_weechat) nicklist irc.freenode.#weechat
|
||||||
----
|
----
|
||||||
|
|
||||||
Response:
|
Response:
|
||||||
@@ -949,7 +948,7 @@ Syntax:
|
|||||||
Arguments:
|
Arguments:
|
||||||
|
|
||||||
* _buffer_: pointer (eg: "0x1234abcd") or full name of buffer (for example:
|
* _buffer_: pointer (eg: "0x1234abcd") or full name of buffer (for example:
|
||||||
_core.weechat_ or _irc.libera.#weechat_)
|
_core.weechat_ or _irc.freenode.#weechat_)
|
||||||
* _data_: data to send to buffer: if beginning by `/`, this will be executed as
|
* _data_: data to send to buffer: if beginning by `/`, this will be executed as
|
||||||
a command on buffer, otherwise text is sent as input of buffer
|
a command on buffer, otherwise text is sent as input of buffer
|
||||||
|
|
||||||
@@ -964,7 +963,7 @@ input core.weechat /help filter
|
|||||||
* Send message "hello!" to #weechat channel:
|
* Send message "hello!" to #weechat channel:
|
||||||
|
|
||||||
----
|
----
|
||||||
input irc.libera.#weechat hello!
|
input irc.freenode.#weechat hello!
|
||||||
----
|
----
|
||||||
|
|
||||||
[[command_completion]]
|
[[command_completion]]
|
||||||
@@ -984,7 +983,7 @@ Syntax:
|
|||||||
Arguments:
|
Arguments:
|
||||||
|
|
||||||
* _buffer_: pointer (eg: "0x1234abcd") or full name of buffer (for example:
|
* _buffer_: pointer (eg: "0x1234abcd") or full name of buffer (for example:
|
||||||
_core.weechat_ or _irc.libera.#weechat_)
|
_core.weechat_ or _irc.freenode.#weechat_)
|
||||||
* _position_: position for completion in string (starts to 0);
|
* _position_: position for completion in string (starts to 0);
|
||||||
if the value is -1, the position is the length of _data_ (so the completion
|
if the value is -1, the position is the length of _data_ (so the completion
|
||||||
is made at the end of _data_)
|
is made at the end of _data_)
|
||||||
@@ -993,7 +992,7 @@ Arguments:
|
|||||||
|
|
||||||
WeeChat replies with a hdata:
|
WeeChat replies with a hdata:
|
||||||
|
|
||||||
[width="100%",cols="2m,3,14",options="header"]
|
[width="100%",cols="3m,2,10",options="header"]
|
||||||
|===
|
|===
|
||||||
| Name | Type | Description
|
| Name | Type | Description
|
||||||
| context | string | Completion context: "null" (no completion), "command", "command_arg", "auto".
|
| context | string | Completion context: "null" (no completion), "command", "command_arg", "auto".
|
||||||
@@ -1145,7 +1144,7 @@ Syntax:
|
|||||||
Arguments:
|
Arguments:
|
||||||
|
|
||||||
* _buffer_: pointer (eg: "0x1234abcd") or full name of buffer (for example:
|
* _buffer_: pointer (eg: "0x1234abcd") or full name of buffer (for example:
|
||||||
_core.weechat_ or _irc.libera.#weechat_); name "*" can be used to
|
_core.weechat_ or _irc.freenode.#weechat_); name "*" can be used to
|
||||||
specify all buffers
|
specify all buffers
|
||||||
* _options_: one of following keywords, separated by commas (default is
|
* _options_: one of following keywords, separated by commas (default is
|
||||||
_buffers,upgrade,buffer,nicklist_ for "*" and _buffer,nicklist_ for a buffer):
|
_buffers,upgrade,buffer,nicklist_ for "*" and _buffer,nicklist_ for a buffer):
|
||||||
@@ -1180,14 +1179,14 @@ sync core.buffer
|
|||||||
* Synchronize #weechat channel, without nicklist:
|
* Synchronize #weechat channel, without nicklist:
|
||||||
|
|
||||||
----
|
----
|
||||||
sync irc.libera.#weechat buffer
|
sync irc.freenode.#weechat buffer
|
||||||
----
|
----
|
||||||
|
|
||||||
* Get general signals + all signals for #weechat channel:
|
* Get general signals + all signals for #weechat channel:
|
||||||
|
|
||||||
----
|
----
|
||||||
sync * buffers,upgrade
|
sync * buffers,upgrade
|
||||||
sync irc.libera.#weechat
|
sync irc.freenode.#weechat
|
||||||
----
|
----
|
||||||
|
|
||||||
[[command_desync]]
|
[[command_desync]]
|
||||||
@@ -1210,7 +1209,7 @@ Syntax:
|
|||||||
Arguments:
|
Arguments:
|
||||||
|
|
||||||
* _buffer_: pointer (eg: "0x1234abcd") or full name of buffer (for example:
|
* _buffer_: pointer (eg: "0x1234abcd") or full name of buffer (for example:
|
||||||
_core.weechat_ or _irc.libera.#weechat_); name "*" can be used to
|
_core.weechat_ or _irc.freenode.#weechat_); name "*" can be used to
|
||||||
specify all buffers
|
specify all buffers
|
||||||
* _options_: one of following keywords, separated by commas (default is
|
* _options_: one of following keywords, separated by commas (default is
|
||||||
_buffers,upgrade,buffer,nicklist_ for "*" and _buffer,nicklist_ for a buffer);
|
_buffers,upgrade,buffer,nicklist_ for "*" and _buffer,nicklist_ for a buffer);
|
||||||
@@ -1218,7 +1217,7 @@ Arguments:
|
|||||||
|
|
||||||
[NOTE]
|
[NOTE]
|
||||||
When using buffer "*", the other buffers synchronized (using a name) are kept. +
|
When using buffer "*", the other buffers synchronized (using a name) are kept. +
|
||||||
So if you send: "sync *", then "sync irc.libera.#weechat", then "desync *",
|
So if you send: "sync *", then "sync irc.freenode.#weechat", then "desync *",
|
||||||
the updates on #weechat channel will still be sent by WeeChat (you must remove
|
the updates on #weechat channel will still be sent by WeeChat (you must remove
|
||||||
it explicitly to stop updates).
|
it explicitly to stop updates).
|
||||||
|
|
||||||
@@ -1236,13 +1235,13 @@ desync * buffers,upgrade,buffer,nicklist
|
|||||||
* Desynchronize nicklist for #weechat channel (keep buffer updates):
|
* Desynchronize nicklist for #weechat channel (keep buffer updates):
|
||||||
|
|
||||||
----
|
----
|
||||||
desync irc.libera.#weechat nicklist
|
desync irc.freenode.#weechat nicklist
|
||||||
----
|
----
|
||||||
|
|
||||||
* Desynchronize #weechat channel:
|
* Desynchronize #weechat channel:
|
||||||
|
|
||||||
----
|
----
|
||||||
desync irc.libera.#weechat
|
desync irc.freenode.#weechat
|
||||||
----
|
----
|
||||||
|
|
||||||
[[command_test]]
|
[[command_test]]
|
||||||
@@ -1261,24 +1260,24 @@ Syntax:
|
|||||||
|
|
||||||
Returned objects (in this order):
|
Returned objects (in this order):
|
||||||
|
|
||||||
[width="80%",cols="1m,2,6m",options="header"]
|
[width="100%",cols="^3,3m,5m",options="header"]
|
||||||
|===
|
|===
|
||||||
| Type | Description | Value
|
| Type | Type (in message) | Value
|
||||||
| chr | char | 65 ("A")
|
| char | chr | 65 ("A")
|
||||||
| int | integer | 123456
|
| integer | int | 123456
|
||||||
| int | integer | -123456
|
| integer | int | -123456
|
||||||
| lon | long | 1234567890
|
| long | lon | 1234567890
|
||||||
| lon | long | -1234567890
|
| long | lon | -1234567890
|
||||||
| str | string | "a string"
|
| string | str | "a string"
|
||||||
| str | string | ""
|
| string | str | ""
|
||||||
| str | string | NULL
|
| string | str | NULL
|
||||||
| buf | buffer | "buffer"
|
| buffer | buf | "buffer"
|
||||||
| buf | buffer | NULL
|
| buffer | buf | NULL
|
||||||
| ptr | pointer | 0x1234abcd
|
| pointer | ptr | 0x1234abcd
|
||||||
| ptr | pointer | NULL
|
| pointer | ptr | NULL
|
||||||
| tim | time | 1321993456
|
| time | tim | 1321993456
|
||||||
| arr str | array of strings | [ "abc", "de" ]
|
| array of strings | arr str | [ "abc", "de" ]
|
||||||
| arr int | array of integers | [ 123, 456, 789 ]
|
| array of integers | arr int | [ 123, 456, 789 ]
|
||||||
|===
|
|===
|
||||||
|
|
||||||
[IMPORTANT]
|
[IMPORTANT]
|
||||||
@@ -1380,8 +1379,7 @@ Messages are sent as binary data, using following format (with size in bytes):
|
|||||||
(including this field)
|
(including this field)
|
||||||
* _compression_ (byte): flag:
|
* _compression_ (byte): flag:
|
||||||
** _0x00_: following data is not compressed
|
** _0x00_: following data is not compressed
|
||||||
** _0x01_: following data is compressed with https://zlib.net/[zlib]
|
** _0x01_: following data is compressed with _zlib_
|
||||||
** _0x02_: following data is compressed with https://facebook.github.io/zstd/[Zstandard]
|
|
||||||
* _id_ (string, 4 bytes + content): identifier sent by client (before command name); it can be
|
* _id_ (string, 4 bytes + content): identifier sent by client (before command name); it can be
|
||||||
empty (string with zero length and no content) if no identifier was given in
|
empty (string with zero length and no content) if no identifier was given in
|
||||||
command
|
command
|
||||||
@@ -1391,9 +1389,8 @@ Messages are sent as binary data, using following format (with size in bytes):
|
|||||||
[[message_compression]]
|
[[message_compression]]
|
||||||
=== Compression
|
=== Compression
|
||||||
|
|
||||||
If flag _compression_ is equal to 0x01 or 0x02, then *all* data after is compressed
|
If flag _compression_ is equal to 0x01, then *all* data after is compressed
|
||||||
with https://zlib.net/[zlib] or https://facebook.github.io/zstd/[Zstandard],
|
with _zlib_, and therefore must be uncompressed before being processed.
|
||||||
and therefore must be uncompressed before being processed.
|
|
||||||
|
|
||||||
[[message_identifier]]
|
[[message_identifier]]
|
||||||
=== Identifier
|
=== Identifier
|
||||||
@@ -1484,7 +1481,7 @@ Data sent as hdata:
|
|||||||
|===
|
|===
|
||||||
| Name | Type | Description
|
| Name | Type | Description
|
||||||
| number | integer | Buffer number (≥ 1).
|
| number | integer | Buffer number (≥ 1).
|
||||||
| full_name | string | Full name (example: _irc.libera.#weechat_).
|
| full_name | string | Full name (example: _irc.freenode.#weechat_).
|
||||||
| short_name | string | Short name (example: _#weechat_).
|
| short_name | string | Short name (example: _#weechat_).
|
||||||
| nicklist | integer | 1 if buffer has a nicklist, otherwise 0.
|
| nicklist | integer | 1 if buffer has a nicklist, otherwise 0.
|
||||||
| title | string | Buffer title.
|
| title | string | Buffer title.
|
||||||
@@ -1493,8 +1490,8 @@ Data sent as hdata:
|
|||||||
| next_buffer | pointer | Pointer to next buffer.
|
| next_buffer | pointer | Pointer to next buffer.
|
||||||
|===
|
|===
|
||||||
|
|
||||||
Example: channel _#weechat_ joined on libera, new buffer
|
Example: channel _#weechat_ joined on freenode, new buffer
|
||||||
_irc.libera.#weechat_:
|
_irc.freenode.#weechat_:
|
||||||
|
|
||||||
[source,python]
|
[source,python]
|
||||||
----
|
----
|
||||||
@@ -1514,13 +1511,13 @@ hda:
|
|||||||
item 1:
|
item 1:
|
||||||
__path: ['0x35a8a60']
|
__path: ['0x35a8a60']
|
||||||
number: 3
|
number: 3
|
||||||
full_name: 'irc.libera.#weechat'
|
full_name: 'irc.freenode.#weechat'
|
||||||
short_name: None
|
short_name: None
|
||||||
nicklist: 0
|
nicklist: 0
|
||||||
title: None
|
title: None
|
||||||
local_variables: {
|
local_variables: {
|
||||||
'plugin': 'irc',
|
'plugin': 'irc',
|
||||||
'name': 'libera.#weechat',
|
'name': 'freenode.#weechat',
|
||||||
}
|
}
|
||||||
prev_buffer: '0x34e7400'
|
prev_buffer: '0x34e7400'
|
||||||
next_buffer: '0x0'
|
next_buffer: '0x0'
|
||||||
@@ -1538,12 +1535,12 @@ Data sent as hdata:
|
|||||||
|===
|
|===
|
||||||
| Name | Type | Description
|
| Name | Type | Description
|
||||||
| number | integer | Buffer number (≥ 1).
|
| number | integer | Buffer number (≥ 1).
|
||||||
| full_name | string | Full name (example: _irc.libera.#weechat_).
|
| full_name | string | Full name (example: _irc.freenode.#weechat_).
|
||||||
| prev_buffer | pointer | Pointer to previous buffer.
|
| prev_buffer | pointer | Pointer to previous buffer.
|
||||||
| next_buffer | pointer | Pointer to next buffer.
|
| next_buffer | pointer | Pointer to next buffer.
|
||||||
|===
|
|===
|
||||||
|
|
||||||
Example: buffer _irc.libera.#weechat_ moved to number 2:
|
Example: buffer _irc.freenode.#weechat_ moved to number 2:
|
||||||
|
|
||||||
[source,python]
|
[source,python]
|
||||||
----
|
----
|
||||||
@@ -1559,7 +1556,7 @@ hda:
|
|||||||
item 1:
|
item 1:
|
||||||
__path: ['0x34588c0']
|
__path: ['0x34588c0']
|
||||||
number: 2
|
number: 2
|
||||||
full_name: 'irc.libera.#weechat'
|
full_name: 'irc.freenode.#weechat'
|
||||||
prev_buffer: '0x347b9f0'
|
prev_buffer: '0x347b9f0'
|
||||||
next_buffer: '0x3471bc0'
|
next_buffer: '0x3471bc0'
|
||||||
----
|
----
|
||||||
@@ -1576,12 +1573,12 @@ Data sent as hdata:
|
|||||||
|===
|
|===
|
||||||
| Name | Type | Description
|
| Name | Type | Description
|
||||||
| number | integer | Buffer number (≥ 1).
|
| number | integer | Buffer number (≥ 1).
|
||||||
| full_name | string | Full name (example: _irc.libera.#weechat_).
|
| full_name | string | Full name (example: _irc.freenode.#weechat_).
|
||||||
| prev_buffer | pointer | Pointer to previous buffer.
|
| prev_buffer | pointer | Pointer to previous buffer.
|
||||||
| next_buffer | pointer | Pointer to next buffer.
|
| next_buffer | pointer | Pointer to next buffer.
|
||||||
|===
|
|===
|
||||||
|
|
||||||
Example: buffer _irc.libera.#weechat_ merged with buffer #2:
|
Example: buffer _irc.freenode.#weechat_ merged with buffer #2:
|
||||||
|
|
||||||
[source,python]
|
[source,python]
|
||||||
----
|
----
|
||||||
@@ -1597,7 +1594,7 @@ hda:
|
|||||||
item 1:
|
item 1:
|
||||||
__path: ['0x4db4c00']
|
__path: ['0x4db4c00']
|
||||||
number: 2
|
number: 2
|
||||||
full_name: 'irc.libera.#weechat'
|
full_name: 'irc.freenode.#weechat'
|
||||||
prev_buffer: '0x4cef9b0'
|
prev_buffer: '0x4cef9b0'
|
||||||
next_buffer: '0x0'
|
next_buffer: '0x0'
|
||||||
----
|
----
|
||||||
@@ -1614,12 +1611,12 @@ Data sent as hdata:
|
|||||||
|===
|
|===
|
||||||
| Name | Type | Description
|
| Name | Type | Description
|
||||||
| number | integer | Buffer number (≥ 1).
|
| number | integer | Buffer number (≥ 1).
|
||||||
| full_name | string | Full name (example: _irc.libera.#weechat_).
|
| full_name | string | Full name (example: _irc.freenode.#weechat_).
|
||||||
| prev_buffer | pointer | Pointer to previous buffer.
|
| prev_buffer | pointer | Pointer to previous buffer.
|
||||||
| next_buffer | pointer | Pointer to next buffer.
|
| next_buffer | pointer | Pointer to next buffer.
|
||||||
|===
|
|===
|
||||||
|
|
||||||
Example: buffer _irc.libera.#weechat_ unmerged:
|
Example: buffer _irc.freenode.#weechat_ unmerged:
|
||||||
|
|
||||||
[source,python]
|
[source,python]
|
||||||
----
|
----
|
||||||
@@ -1635,7 +1632,7 @@ hda:
|
|||||||
item 1:
|
item 1:
|
||||||
__path: ['0x4db4c00']
|
__path: ['0x4db4c00']
|
||||||
number: 3
|
number: 3
|
||||||
full_name: 'irc.libera.#weechat'
|
full_name: 'irc.freenode.#weechat'
|
||||||
prev_buffer: '0x4cef9b0'
|
prev_buffer: '0x4cef9b0'
|
||||||
next_buffer: '0x0'
|
next_buffer: '0x0'
|
||||||
----
|
----
|
||||||
@@ -1654,12 +1651,12 @@ Data sent as hdata:
|
|||||||
|===
|
|===
|
||||||
| Name | Type | Description
|
| Name | Type | Description
|
||||||
| number | integer | Buffer number (≥ 1).
|
| number | integer | Buffer number (≥ 1).
|
||||||
| full_name | string | Full name (example: _irc.libera.#weechat_).
|
| full_name | string | Full name (example: _irc.freenode.#weechat_).
|
||||||
| prev_buffer | pointer | Pointer to previous buffer.
|
| prev_buffer | pointer | Pointer to previous buffer.
|
||||||
| next_buffer | pointer | Pointer to next buffer.
|
| next_buffer | pointer | Pointer to next buffer.
|
||||||
|===
|
|===
|
||||||
|
|
||||||
Example: buffer _irc.libera.#weechat_ hidden:
|
Example: buffer _irc.freenode.#weechat_ hidden:
|
||||||
|
|
||||||
[source,python]
|
[source,python]
|
||||||
----
|
----
|
||||||
@@ -1675,7 +1672,7 @@ hda:
|
|||||||
item 1:
|
item 1:
|
||||||
__path: ['0x4db4c00']
|
__path: ['0x4db4c00']
|
||||||
number: 2
|
number: 2
|
||||||
full_name: 'irc.libera.#weechat'
|
full_name: 'irc.freenode.#weechat'
|
||||||
prev_buffer: '0x4cef9b0'
|
prev_buffer: '0x4cef9b0'
|
||||||
next_buffer: '0x0'
|
next_buffer: '0x0'
|
||||||
----
|
----
|
||||||
@@ -1694,12 +1691,12 @@ Data sent as hdata:
|
|||||||
|===
|
|===
|
||||||
| Name | Type | Description
|
| Name | Type | Description
|
||||||
| number | integer | Buffer number (≥ 1).
|
| number | integer | Buffer number (≥ 1).
|
||||||
| full_name | string | Full name (example: _irc.libera.#weechat_).
|
| full_name | string | Full name (example: _irc.freenode.#weechat_).
|
||||||
| prev_buffer | pointer | Pointer to previous buffer.
|
| prev_buffer | pointer | Pointer to previous buffer.
|
||||||
| next_buffer | pointer | Pointer to next buffer.
|
| next_buffer | pointer | Pointer to next buffer.
|
||||||
|===
|
|===
|
||||||
|
|
||||||
Example: buffer _irc.libera.#weechat_ unhidden:
|
Example: buffer _irc.freenode.#weechat_ unhidden:
|
||||||
|
|
||||||
[source,python]
|
[source,python]
|
||||||
----
|
----
|
||||||
@@ -1715,7 +1712,7 @@ hda:
|
|||||||
item 1:
|
item 1:
|
||||||
__path: ['0x4db4c00']
|
__path: ['0x4db4c00']
|
||||||
number: 3
|
number: 3
|
||||||
full_name: 'irc.libera.#weechat'
|
full_name: 'irc.freenode.#weechat'
|
||||||
prev_buffer: '0x4cef9b0'
|
prev_buffer: '0x4cef9b0'
|
||||||
next_buffer: '0x0'
|
next_buffer: '0x0'
|
||||||
----
|
----
|
||||||
@@ -1732,7 +1729,7 @@ Data sent as hdata:
|
|||||||
|===
|
|===
|
||||||
| Name | Type | Description
|
| Name | Type | Description
|
||||||
| number | integer | Buffer number (≥ 1).
|
| number | integer | Buffer number (≥ 1).
|
||||||
| full_name | string | Full name (example: _irc.libera.#weechat_).
|
| full_name | string | Full name (example: _irc.freenode.#weechat_).
|
||||||
| short_name | string | Short name (example: _#weechat_).
|
| short_name | string | Short name (example: _#weechat_).
|
||||||
| local_variables | hashtable | Local variables.
|
| local_variables | hashtable | Local variables.
|
||||||
|===
|
|===
|
||||||
@@ -1753,15 +1750,15 @@ hda:
|
|||||||
item 1:
|
item 1:
|
||||||
__path: ['0x4df7b80']
|
__path: ['0x4df7b80']
|
||||||
number: 5
|
number: 5
|
||||||
full_name: 'irc.libera.Flash2'
|
full_name: 'irc.freenode.Flash2'
|
||||||
short_name: 'Flash2'
|
short_name: 'Flash2'
|
||||||
local_variables: {
|
local_variables: {
|
||||||
'server': 'libera',
|
'server': 'freenode',
|
||||||
'plugin': 'irc',
|
'plugin': 'irc',
|
||||||
'type': 'private',
|
'type': 'private',
|
||||||
'channel': 'FlashCode',
|
'channel': 'FlashCode',
|
||||||
'nick': 'test',
|
'nick': 'test',
|
||||||
'name': 'libera.Flash2',
|
'name': 'freenode.Flash2',
|
||||||
}
|
}
|
||||||
----
|
----
|
||||||
|
|
||||||
@@ -1777,7 +1774,7 @@ Data sent as hdata:
|
|||||||
|===
|
|===
|
||||||
| Name | Type | Description
|
| Name | Type | Description
|
||||||
| number | integer | Buffer number (≥ 1).
|
| number | integer | Buffer number (≥ 1).
|
||||||
| full_name | string | Full name (example: _irc.libera.#weechat_).
|
| full_name | string | Full name (example: _irc.freenode.#weechat_).
|
||||||
| title | string | Buffer title.
|
| title | string | Buffer title.
|
||||||
|===
|
|===
|
||||||
|
|
||||||
@@ -1796,7 +1793,7 @@ hda:
|
|||||||
item 1:
|
item 1:
|
||||||
__path: ['0x4a715d0']
|
__path: ['0x4a715d0']
|
||||||
number: 3
|
number: 3
|
||||||
full_name: 'irc.libera.#weechat'
|
full_name: 'irc.freenode.#weechat'
|
||||||
title: 'Welcome on #weechat! https://weechat.org/'
|
title: 'Welcome on #weechat! https://weechat.org/'
|
||||||
----
|
----
|
||||||
|
|
||||||
@@ -1814,10 +1811,10 @@ Data sent as hdata:
|
|||||||
|===
|
|===
|
||||||
| Name | Type | Description
|
| Name | Type | Description
|
||||||
| number | integer | Buffer number (≥ 1).
|
| number | integer | Buffer number (≥ 1).
|
||||||
| full_name | string | Full name (example: _irc.libera.#weechat_).
|
| full_name | string | Full name (example: _irc.freenode.#weechat_).
|
||||||
|===
|
|===
|
||||||
|
|
||||||
Example: buffer _irc.libera.#weechat_ has been cleared:
|
Example: buffer _irc.freenode.#weechat_ has been cleared:
|
||||||
|
|
||||||
[source,python]
|
[source,python]
|
||||||
----
|
----
|
||||||
@@ -1831,7 +1828,7 @@ hda:
|
|||||||
item 1:
|
item 1:
|
||||||
__path: ['0x4a715d0']
|
__path: ['0x4a715d0']
|
||||||
number: 3
|
number: 3
|
||||||
full_name: 'irc.libera.#weechat'
|
full_name: 'irc.freenode.#weechat'
|
||||||
----
|
----
|
||||||
|
|
||||||
[[message_buffer_type_changed]]
|
[[message_buffer_type_changed]]
|
||||||
@@ -1846,7 +1843,7 @@ Data sent as hdata:
|
|||||||
|===
|
|===
|
||||||
| Name | Type | Description
|
| Name | Type | Description
|
||||||
| number | integer | Buffer number (≥ 1).
|
| number | integer | Buffer number (≥ 1).
|
||||||
| full_name | string | Full name (example: _irc.libera.#weechat_).
|
| full_name | string | Full name (example: _irc.freenode.#weechat_).
|
||||||
| type | integer | Buffer type: 0 = formatted (default), 1 = free content.
|
| type | integer | Buffer type: 0 = formatted (default), 1 = free content.
|
||||||
|===
|
|===
|
||||||
|
|
||||||
@@ -1882,11 +1879,11 @@ Data sent as hdata:
|
|||||||
|===
|
|===
|
||||||
| Name | Type | Description
|
| Name | Type | Description
|
||||||
| number | integer | Buffer number (≥ 1).
|
| number | integer | Buffer number (≥ 1).
|
||||||
| full_name | string | Full name (example: _irc.libera.#weechat_).
|
| full_name | string | Full name (example: _irc.freenode.#weechat_).
|
||||||
| local_variables | hashtable | Local variables.
|
| local_variables | hashtable | Local variables.
|
||||||
|===
|
|===
|
||||||
|
|
||||||
Example: local variable _test_ added in buffer _irc.libera.#weechat_:
|
Example: local variable _test_ added in buffer _irc.freenode.#weechat_:
|
||||||
|
|
||||||
[source,python]
|
[source,python]
|
||||||
----
|
----
|
||||||
@@ -1901,15 +1898,15 @@ hda:
|
|||||||
item 1:
|
item 1:
|
||||||
__path: ['0x4a73de0']
|
__path: ['0x4a73de0']
|
||||||
number: 3
|
number: 3
|
||||||
full_name: 'irc.libera.#weechat'
|
full_name: 'irc.freenode.#weechat'
|
||||||
local_variables: {
|
local_variables: {
|
||||||
'server': 'libera',
|
'server': 'freenode',
|
||||||
'test': 'value',
|
'test': 'value',
|
||||||
'plugin': 'irc',
|
'plugin': 'irc',
|
||||||
'type': 'channel',
|
'type': 'channel',
|
||||||
'channel': '#weechat',
|
'channel': '#weechat',
|
||||||
'nick': 'test',
|
'nick': 'test',
|
||||||
'name': 'libera.#weechat',
|
'name': 'freenode.#weechat',
|
||||||
}
|
}
|
||||||
----
|
----
|
||||||
|
|
||||||
@@ -1925,11 +1922,11 @@ Data sent as hdata:
|
|||||||
|===
|
|===
|
||||||
| Name | Type | Description
|
| Name | Type | Description
|
||||||
| number | integer | Buffer number (≥ 1).
|
| number | integer | Buffer number (≥ 1).
|
||||||
| full_name | string | Full name (example: _irc.libera.#weechat_).
|
| full_name | string | Full name (example: _irc.freenode.#weechat_).
|
||||||
| local_variables | hashtable | Local variables.
|
| local_variables | hashtable | Local variables.
|
||||||
|===
|
|===
|
||||||
|
|
||||||
Example: local variable _test_ updated in buffer _irc.libera.#weechat_:
|
Example: local variable _test_ updated in buffer _irc.freenode.#weechat_:
|
||||||
|
|
||||||
[source,python]
|
[source,python]
|
||||||
----
|
----
|
||||||
@@ -1944,7 +1941,7 @@ hda:
|
|||||||
item 1:
|
item 1:
|
||||||
__path: ['0x4a73de0']
|
__path: ['0x4a73de0']
|
||||||
number: 3
|
number: 3
|
||||||
full_name: 'irc.libera.#weechat'
|
full_name: 'irc.freenode.#weechat'
|
||||||
local_variables: {
|
local_variables: {
|
||||||
'server': 'local',
|
'server': 'local',
|
||||||
'test': 'value2',
|
'test': 'value2',
|
||||||
@@ -1952,7 +1949,7 @@ hda:
|
|||||||
'type': 'channel',
|
'type': 'channel',
|
||||||
'channel': '#weechat',
|
'channel': '#weechat',
|
||||||
'nick': 'test',
|
'nick': 'test',
|
||||||
'name': 'libera.#weechat',
|
'name': 'freenode.#weechat',
|
||||||
}
|
}
|
||||||
----
|
----
|
||||||
|
|
||||||
@@ -1968,11 +1965,11 @@ Data sent as hdata:
|
|||||||
|===
|
|===
|
||||||
| Name | Type | Description
|
| Name | Type | Description
|
||||||
| number | integer | Buffer number (≥ 1).
|
| number | integer | Buffer number (≥ 1).
|
||||||
| full_name | string | Full name (example: _irc.libera.#weechat_).
|
| full_name | string | Full name (example: _irc.freenode.#weechat_).
|
||||||
| local_variables | hashtable | Local variables.
|
| local_variables | hashtable | Local variables.
|
||||||
|===
|
|===
|
||||||
|
|
||||||
Example: local variable _test_ removed from buffer _irc.libera.#weechat_:
|
Example: local variable _test_ removed from buffer _irc.freenode.#weechat_:
|
||||||
|
|
||||||
[source,python]
|
[source,python]
|
||||||
----
|
----
|
||||||
@@ -1987,14 +1984,14 @@ hda:
|
|||||||
item 1:
|
item 1:
|
||||||
__path: ['0x4a73de0']
|
__path: ['0x4a73de0']
|
||||||
number: 3
|
number: 3
|
||||||
full_name: 'irc.libera.#prout'
|
full_name: 'irc.freenode.#prout'
|
||||||
local_variables: {
|
local_variables: {
|
||||||
'server': 'local',
|
'server': 'local',
|
||||||
'plugin': 'irc',
|
'plugin': 'irc',
|
||||||
'type': 'channel',
|
'type': 'channel',
|
||||||
'channel': '#weechat',
|
'channel': '#weechat',
|
||||||
'nick': 'test',
|
'nick': 'test',
|
||||||
'name': 'libera.#weechat',
|
'name': 'freenode.#weechat',
|
||||||
}
|
}
|
||||||
----
|
----
|
||||||
|
|
||||||
@@ -2020,7 +2017,7 @@ Data sent as hdata:
|
|||||||
| message | string | Message.
|
| message | string | Message.
|
||||||
|===
|
|===
|
||||||
|
|
||||||
Example: new message _hello!_ from nick _FlashCode_ on buffer _irc.libera.#weechat_:
|
Example: new message _hello!_ from nick _FlashCode_ on buffer _irc.freenode.#weechat_:
|
||||||
|
|
||||||
[source,python]
|
[source,python]
|
||||||
----
|
----
|
||||||
@@ -2069,10 +2066,10 @@ Data sent as hdata:
|
|||||||
|===
|
|===
|
||||||
| Name | Type | Description
|
| Name | Type | Description
|
||||||
| number | integer | Buffer number (≥ 1).
|
| number | integer | Buffer number (≥ 1).
|
||||||
| full_name | string | Full name (example: _irc.libera.#weechat_).
|
| full_name | string | Full name (example: _irc.freenode.#weechat_).
|
||||||
|===
|
|===
|
||||||
|
|
||||||
Example: buffer _irc.libera.#weechat_ is being closed by WeeChat:
|
Example: buffer _irc.freenode.#weechat_ is being closed by WeeChat:
|
||||||
|
|
||||||
[source,python]
|
[source,python]
|
||||||
----
|
----
|
||||||
@@ -2086,7 +2083,7 @@ hda:
|
|||||||
item 1:
|
item 1:
|
||||||
__path: ['0x4a715d0']
|
__path: ['0x4a715d0']
|
||||||
number: 3
|
number: 3
|
||||||
full_name: 'irc.libera.#weechat'
|
full_name: 'irc.freenode.#weechat'
|
||||||
----
|
----
|
||||||
|
|
||||||
[[message_nicklist]]
|
[[message_nicklist]]
|
||||||
@@ -2112,7 +2109,7 @@ Data sent as hdata:
|
|||||||
| prefix_color | string | Prefix color (only for a nick).
|
| prefix_color | string | Prefix color (only for a nick).
|
||||||
|===
|
|===
|
||||||
|
|
||||||
Example: nicklist for buffer _irc.libera.#weechat_:
|
Example: nicklist for buffer _irc.freenode.#weechat_:
|
||||||
|
|
||||||
[source,python]
|
[source,python]
|
||||||
----
|
----
|
||||||
@@ -2334,7 +2331,7 @@ commands sent on startup after the _init_.
|
|||||||
|
|
||||||
Objects are identified by 3 letters, called _type_. Following types are used:
|
Objects are identified by 3 letters, called _type_. Following types are used:
|
||||||
|
|
||||||
[width="100%",cols="1m,2,8",options="header"]
|
[width="100%",cols="^2m,5,10",options="header"]
|
||||||
|===
|
|===
|
||||||
| Type | Value | Length
|
| Type | Value | Length
|
||||||
| chr | Signed char | 1 byte
|
| chr | Signed char | 1 byte
|
||||||
@@ -2532,7 +2529,7 @@ objects, and then set of objects (path with pointers, then objects).
|
|||||||
* _values_: list of values (number of values is number of keys returned for
|
* _values_: list of values (number of values is number of keys returned for
|
||||||
hdata)
|
hdata)
|
||||||
|
|
||||||
Example of hdata with two buffers (weechat core and libera server) and two
|
Example of hdata with two buffers (weechat core and freenode server) and two
|
||||||
keys (_number_ and _full_name_):
|
keys (_number_ and _full_name_):
|
||||||
|
|
||||||
....
|
....
|
||||||
@@ -2540,10 +2537,10 @@ keys (_number_ and _full_name_):
|
|||||||
hdata buffer:gui_buffers(*) number,full_name
|
hdata buffer:gui_buffers(*) number,full_name
|
||||||
|
|
||||||
# response
|
# response
|
||||||
┌────────┬──────────────────────────┬───╥─────────┬───┬──────────────╥─────────┬───┬───────────────────┐
|
┌────────┬──────────────────────────┬───╥─────────┬───┬──────────────╥─────────┬───┬─────────────────────┐
|
||||||
│ buffer │ number:int,full_name:str │ 2 ║ 0x12345 │ 1 │ core.weechat ║ 0x6789a │ 2 │ irc.server.libera │
|
│ buffer │ number:int,full_name:str │ 2 ║ 0x12345 │ 1 │ core.weechat ║ 0x6789a │ 2 │ irc.server.freenode │
|
||||||
└────────┴──────────────────────────┴───╨─────────┴───┴──────────────╨─────────┴───┴───────────────────┘
|
└────────┴──────────────────────────┴───╨─────────┴───┴──────────────╨─────────┴───┴─────────────────────┘
|
||||||
└──────┘ └────────────────────────┘ └─┘ └──────────────────────────┘ └───────────────────────────────┘
|
└──────┘ └────────────────────────┘ └─┘ └──────────────────────────┘ └─────────────────────────────────┘
|
||||||
h-path keys count buffer 1 buffer 2
|
h-path keys count buffer 1 buffer 2
|
||||||
....
|
....
|
||||||
|
|
||||||
@@ -2685,7 +2682,7 @@ An item is:
|
|||||||
** _type_: type of variable (_int_, _str_, ...)
|
** _type_: type of variable (_int_, _str_, ...)
|
||||||
** _value_: value of variable
|
** _value_: value of variable
|
||||||
|
|
||||||
Example of infolist with two buffers (weechat core and libera server):
|
Example of infolist with two buffers (weechat core and freenode server):
|
||||||
|
|
||||||
....
|
....
|
||||||
# command
|
# command
|
||||||
|
|||||||
@@ -66,17 +66,12 @@ link:weechat_plugin_api.en.html#_hook_process[WeeChat plugin API reference].
|
|||||||
[[languages_specificities]]
|
[[languages_specificities]]
|
||||||
=== Languages specificities
|
=== Languages specificities
|
||||||
|
|
||||||
[[language_python]]
|
|
||||||
==== Python
|
==== Python
|
||||||
|
|
||||||
[[python_module]]
|
|
||||||
===== Module
|
===== Module
|
||||||
|
|
||||||
WeeChat defines a `weechat` module which must be imported with `import weechat`. +
|
WeeChat defines a `weechat` module which must be imported with `import weechat`.
|
||||||
A Python stub for WeeChat API is available in the repository:
|
|
||||||
https://raw.githubusercontent.com/weechat/weechat/master/src/plugins/python/weechat.pyi[weechat.pyi].
|
|
||||||
|
|
||||||
[[python_functions]]
|
|
||||||
===== Functions
|
===== Functions
|
||||||
|
|
||||||
Functions are called with `+weechat.xxx(arg1, arg2, ...)+`.
|
Functions are called with `+weechat.xxx(arg1, arg2, ...)+`.
|
||||||
@@ -84,7 +79,6 @@ Functions are called with `+weechat.xxx(arg1, arg2, ...)+`.
|
|||||||
Functions `+print*+` are called `+prnt*+` in python (because `print` was a
|
Functions `+print*+` are called `+prnt*+` in python (because `print` was a
|
||||||
reserved keyword in Python 2).
|
reserved keyword in Python 2).
|
||||||
|
|
||||||
[[python_strings]]
|
|
||||||
===== Strings received in callbacks
|
===== Strings received in callbacks
|
||||||
|
|
||||||
In Python 3 and with WeeChat ≥ 2.7, the strings received in callbacks have type
|
In Python 3 and with WeeChat ≥ 2.7, the strings received in callbacks have type
|
||||||
@@ -138,23 +132,18 @@ In Python 2, which is now deprecated and should not be used any more, the
|
|||||||
strings sent to callbacks are always of type `str`, and may contain invalid
|
strings sent to callbacks are always of type `str`, and may contain invalid
|
||||||
UTF-8 data, in the cases mentioned above.
|
UTF-8 data, in the cases mentioned above.
|
||||||
|
|
||||||
[[language_perl]]
|
|
||||||
==== Perl
|
==== Perl
|
||||||
|
|
||||||
[[perl_functions]]
|
|
||||||
===== Functions
|
===== Functions
|
||||||
|
|
||||||
Functions are called with `+weechat::xxx(arg1, arg2, ...);+`.
|
Functions are called with `+weechat::xxx(arg1, arg2, ...);+`.
|
||||||
|
|
||||||
[[language_ruby]]
|
|
||||||
==== Ruby
|
==== Ruby
|
||||||
|
|
||||||
[[ruby_init]]
|
|
||||||
===== Initialization
|
===== Initialization
|
||||||
|
|
||||||
You have to define _weechat_init_ and call _register_ inside.
|
You have to define _weechat_init_ and call _register_ inside.
|
||||||
|
|
||||||
[[ruby_functions]]
|
|
||||||
===== Functions
|
===== Functions
|
||||||
|
|
||||||
Functions are called with `+Weechat.xxx(arg1, arg2, ...)+`.
|
Functions are called with `+Weechat.xxx(arg1, arg2, ...)+`.
|
||||||
@@ -179,32 +168,20 @@ Weechat.bar_new("name", "off", "0", "window", "", "left", "vertical", "vertical"
|
|||||||
["default", "default", "default", "default"], "0", "items")
|
["default", "default", "default", "default"], "0", "items")
|
||||||
----
|
----
|
||||||
|
|
||||||
[[language_lua]]
|
|
||||||
==== Lua
|
==== Lua
|
||||||
|
|
||||||
[[lua_functions]]
|
|
||||||
===== Functions
|
===== Functions
|
||||||
|
|
||||||
Functions are called with `+weechat.xxx(arg1, arg2, ...)+`.
|
Functions are called with `+weechat.xxx(arg1, arg2, ...)+`.
|
||||||
|
|
||||||
[[language_tcl]]
|
|
||||||
==== Tcl
|
==== Tcl
|
||||||
|
|
||||||
[[tcl_functions]]
|
|
||||||
===== Functions
|
===== Functions
|
||||||
|
|
||||||
Functions are called with `+weechat::xxx arg1 arg2 ...+`.
|
Functions are called with `+weechat::xxx arg1 arg2 ...+`.
|
||||||
|
|
||||||
Since Tcl only has string types, there's no null type to pass as an argument
|
|
||||||
when a function accepts null values. To overcome this you can use the constant
|
|
||||||
`$::weechat::WEECHAT_NULL` which acts as a null value. This constant is defined
|
|
||||||
as `\uFFFF\uFFFF\uFFFFWEECHAT_NULL\uFFFF\uFFFF\uFFFF`, so it's very unlikely to
|
|
||||||
appear unintentionally.
|
|
||||||
|
|
||||||
[[language_guile]]
|
|
||||||
==== Guile (Scheme)
|
==== Guile (Scheme)
|
||||||
|
|
||||||
[[guile_functions]]
|
|
||||||
===== Functions
|
===== Functions
|
||||||
|
|
||||||
Functions are called with `+(weechat:xxx arg1 arg2 ...)+`.
|
Functions are called with `+(weechat:xxx arg1 arg2 ...)+`.
|
||||||
@@ -217,18 +194,14 @@ arguments in Guile:
|
|||||||
* config_new_option
|
* config_new_option
|
||||||
* bar_new
|
* bar_new
|
||||||
|
|
||||||
[[language_javascript]]
|
|
||||||
==== JavaScript
|
==== JavaScript
|
||||||
|
|
||||||
[[javascript_functions]]
|
|
||||||
===== Functions
|
===== Functions
|
||||||
|
|
||||||
Functions are called with `+weechat.xxx(arg1, arg2, ...);+`.
|
Functions are called with `+weechat.xxx(arg1, arg2, ...);+`.
|
||||||
|
|
||||||
[[language_php]]
|
|
||||||
==== PHP
|
==== PHP
|
||||||
|
|
||||||
[[php_functions]]
|
|
||||||
===== Functions
|
===== Functions
|
||||||
|
|
||||||
Functions are called with `+weechat_xxx(arg1, arg2, ...);+`.
|
Functions are called with `+weechat_xxx(arg1, arg2, ...);+`.
|
||||||
@@ -239,11 +212,11 @@ Functions are called with `+weechat_xxx(arg1, arg2, ...);+`.
|
|||||||
All WeeChat scripts must "register" themselves to WeeChat, and this must be
|
All WeeChat scripts must "register" themselves to WeeChat, and this must be
|
||||||
first WeeChat function called in script.
|
first WeeChat function called in script.
|
||||||
|
|
||||||
Prototype (Python):
|
Prototype:
|
||||||
|
|
||||||
[source,python]
|
[source,python]
|
||||||
----
|
----
|
||||||
def register(name: str, author: str, version: str, license: str, description: str, shutdown_function: str, charset: str) -> int: ...
|
weechat.register(name, author, version, license, description, shutdown_function, charset)
|
||||||
----
|
----
|
||||||
|
|
||||||
Arguments:
|
Arguments:
|
||||||
@@ -364,7 +337,7 @@ WeeChat is starting.
|
|||||||
For example with Python:
|
For example with Python:
|
||||||
|
|
||||||
----
|
----
|
||||||
$ cd ~/.local/share/weechat/python/autoload
|
$ cd ~/.weechat/python/autoload
|
||||||
$ ln -s ../script.py
|
$ ln -s ../script.py
|
||||||
----
|
----
|
||||||
|
|
||||||
@@ -550,7 +523,7 @@ link:weechat_plugin_api.en.html[WeeChat plugin API reference].
|
|||||||
|
|
||||||
List of functions in script API:
|
List of functions in script API:
|
||||||
|
|
||||||
[width="100%",cols="1,5",options="header"]
|
[width="100%",cols="1,3",options="header"]
|
||||||
|===
|
|===
|
||||||
| Category | Functions
|
| Category | Functions
|
||||||
|
|
||||||
@@ -650,7 +623,6 @@ List of functions in script API:
|
|||||||
print (for python: prnt) +
|
print (for python: prnt) +
|
||||||
print_date_tags (for python: prnt_date_tags) +
|
print_date_tags (for python: prnt_date_tags) +
|
||||||
print_y (for python: prnt_y) +
|
print_y (for python: prnt_y) +
|
||||||
print_y_date_tags (for python: prnt_y_date_tags) +
|
|
||||||
log_print
|
log_print
|
||||||
|
|
||||||
| hooks |
|
| hooks |
|
||||||
@@ -681,7 +653,6 @@ List of functions in script API:
|
|||||||
|
|
||||||
| buffers |
|
| buffers |
|
||||||
buffer_new +
|
buffer_new +
|
||||||
buffer_new_props +
|
|
||||||
current_buffer +
|
current_buffer +
|
||||||
buffer_search +
|
buffer_search +
|
||||||
buffer_search_main +
|
buffer_search_main +
|
||||||
@@ -800,63 +771,63 @@ List of functions in script API:
|
|||||||
|
|
||||||
List of constants in script API:
|
List of constants in script API:
|
||||||
|
|
||||||
[width="100%",cols="1,5",options="header"]
|
[width="100%",cols="1,3",options="header"]
|
||||||
|===
|
|===
|
||||||
| Category | Constants
|
| Category | Constants
|
||||||
|
|
||||||
| return codes |
|
| return codes |
|
||||||
`WEECHAT_RC_OK` (integer) +
|
WEECHAT_RC_OK +
|
||||||
`WEECHAT_RC_OK_EAT` (integer) +
|
WEECHAT_RC_OK_EAT +
|
||||||
`WEECHAT_RC_ERROR` (integer)
|
WEECHAT_RC_ERROR
|
||||||
|
|
||||||
| configuration files |
|
| configuration files |
|
||||||
`WEECHAT_CONFIG_READ_OK` (integer) +
|
WEECHAT_CONFIG_READ_OK +
|
||||||
`WEECHAT_CONFIG_READ_MEMORY_ERROR` (integer) +
|
WEECHAT_CONFIG_READ_MEMORY_ERROR +
|
||||||
`WEECHAT_CONFIG_READ_FILE_NOT_FOUND` (integer) +
|
WEECHAT_CONFIG_READ_FILE_NOT_FOUND +
|
||||||
`WEECHAT_CONFIG_WRITE_OK` (integer) +
|
WEECHAT_CONFIG_WRITE_OK +
|
||||||
`WEECHAT_CONFIG_WRITE_ERROR` (integer) +
|
WEECHAT_CONFIG_WRITE_ERROR +
|
||||||
`WEECHAT_CONFIG_WRITE_MEMORY_ERROR` (integer) +
|
WEECHAT_CONFIG_WRITE_MEMORY_ERROR +
|
||||||
`WEECHAT_CONFIG_OPTION_SET_OK_CHANGED` (integer) +
|
WEECHAT_CONFIG_OPTION_SET_OK_CHANGED +
|
||||||
`WEECHAT_CONFIG_OPTION_SET_OK_SAME_VALUE` (integer) +
|
WEECHAT_CONFIG_OPTION_SET_OK_SAME_VALUE +
|
||||||
`WEECHAT_CONFIG_OPTION_SET_ERROR` (integer) +
|
WEECHAT_CONFIG_OPTION_SET_ERROR +
|
||||||
`WEECHAT_CONFIG_OPTION_SET_OPTION_NOT_FOUND` (integer) +
|
WEECHAT_CONFIG_OPTION_SET_OPTION_NOT_FOUND +
|
||||||
`WEECHAT_CONFIG_OPTION_UNSET_OK_NO_RESET` (integer) +
|
WEECHAT_CONFIG_OPTION_UNSET_OK_NO_RESET +
|
||||||
`WEECHAT_CONFIG_OPTION_UNSET_OK_RESET` (integer) +
|
WEECHAT_CONFIG_OPTION_UNSET_OK_RESET +
|
||||||
`WEECHAT_CONFIG_OPTION_UNSET_OK_REMOVED` (integer) +
|
WEECHAT_CONFIG_OPTION_UNSET_OK_REMOVED +
|
||||||
`WEECHAT_CONFIG_OPTION_UNSET_ERROR` (integer)
|
WEECHAT_CONFIG_OPTION_UNSET_ERROR
|
||||||
|
|
||||||
| sorted lists |
|
| sorted lists |
|
||||||
`WEECHAT_LIST_POS_SORT` (string) +
|
WEECHAT_LIST_POS_SORT +
|
||||||
`WEECHAT_LIST_POS_BEGINNING` (string) +
|
WEECHAT_LIST_POS_BEGINNING +
|
||||||
`WEECHAT_LIST_POS_END` (string)
|
WEECHAT_LIST_POS_END
|
||||||
|
|
||||||
| hotlist |
|
| hotlist |
|
||||||
`WEECHAT_HOTLIST_LOW` (string) +
|
WEECHAT_HOTLIST_LOW +
|
||||||
`WEECHAT_HOTLIST_MESSAGE` (string) +
|
WEECHAT_HOTLIST_MESSAGE +
|
||||||
`WEECHAT_HOTLIST_PRIVATE` (string) +
|
WEECHAT_HOTLIST_PRIVATE +
|
||||||
`WEECHAT_HOTLIST_HIGHLIGHT` (string)
|
WEECHAT_HOTLIST_HIGHLIGHT
|
||||||
|
|
||||||
| hook process |
|
| hook process |
|
||||||
`WEECHAT_HOOK_PROCESS_RUNNING` (integer) +
|
WEECHAT_HOOK_PROCESS_RUNNING +
|
||||||
`WEECHAT_HOOK_PROCESS_ERROR` (integer)
|
WEECHAT_HOOK_PROCESS_ERROR
|
||||||
|
|
||||||
| hook connect |
|
| hook connect |
|
||||||
`WEECHAT_HOOK_CONNECT_OK` (integer) +
|
WEECHAT_HOOK_CONNECT_OK +
|
||||||
`WEECHAT_HOOK_CONNECT_ADDRESS_NOT_FOUND` (integer) +
|
WEECHAT_HOOK_CONNECT_ADDRESS_NOT_FOUND +
|
||||||
`WEECHAT_HOOK_CONNECT_IP_ADDRESS_NOT_FOUND` (integer) +
|
WEECHAT_HOOK_CONNECT_IP_ADDRESS_NOT_FOUND +
|
||||||
`WEECHAT_HOOK_CONNECT_CONNECTION_REFUSED` (integer) +
|
WEECHAT_HOOK_CONNECT_CONNECTION_REFUSED +
|
||||||
`WEECHAT_HOOK_CONNECT_PROXY_ERROR` (integer) +
|
WEECHAT_HOOK_CONNECT_PROXY_ERROR +
|
||||||
`WEECHAT_HOOK_CONNECT_LOCAL_HOSTNAME_ERROR` (integer) +
|
WEECHAT_HOOK_CONNECT_LOCAL_HOSTNAME_ERROR +
|
||||||
`WEECHAT_HOOK_CONNECT_GNUTLS_INIT_ERROR` (integer) +
|
WEECHAT_HOOK_CONNECT_GNUTLS_INIT_ERROR +
|
||||||
`WEECHAT_HOOK_CONNECT_GNUTLS_HANDSHAKE_ERROR` (integer) +
|
WEECHAT_HOOK_CONNECT_GNUTLS_HANDSHAKE_ERROR +
|
||||||
`WEECHAT_HOOK_CONNECT_MEMORY_ERROR` (integer) +
|
WEECHAT_HOOK_CONNECT_MEMORY_ERROR +
|
||||||
`WEECHAT_HOOK_CONNECT_TIMEOUT` (integer) +
|
WEECHAT_HOOK_CONNECT_TIMEOUT +
|
||||||
`WEECHAT_HOOK_CONNECT_SOCKET_ERROR` (integer)
|
WEECHAT_HOOK_CONNECT_SOCKET_ERROR
|
||||||
|
|
||||||
| hook signal |
|
| hook signal |
|
||||||
`WEECHAT_HOOK_SIGNAL_STRING` (string) +
|
WEECHAT_HOOK_SIGNAL_STRING +
|
||||||
`WEECHAT_HOOK_SIGNAL_INT` (string) +
|
WEECHAT_HOOK_SIGNAL_INT +
|
||||||
`WEECHAT_HOOK_SIGNAL_POINTER` (string)
|
WEECHAT_HOOK_SIGNAL_POINTER
|
||||||
|===
|
|===
|
||||||
|
|
||||||
[[common_tasks]]
|
[[common_tasks]]
|
||||||
@@ -883,7 +854,7 @@ Examples:
|
|||||||
weechat.prnt("", "hello")
|
weechat.prnt("", "hello")
|
||||||
|
|
||||||
# display "hello" on core buffer, but do not write it to log file
|
# display "hello" on core buffer, but do not write it to log file
|
||||||
# (version ≥ 0.3.3 only)
|
# (version >= 0.3.3 only)
|
||||||
weechat.prnt_date_tags("", 0, "no_log", "hello")
|
weechat.prnt_date_tags("", 0, "no_log", "hello")
|
||||||
|
|
||||||
# display prefix "==>" and message "hello" on current buffer
|
# display prefix "==>" and message "hello" on current buffer
|
||||||
@@ -897,13 +868,13 @@ weechat.prnt("", "%swrong arguments" % weechat.prefix("error"))
|
|||||||
weechat.prnt("", "text %syellow on blue" % weechat.color("yellow,blue"))
|
weechat.prnt("", "text %syellow on blue" % weechat.color("yellow,blue"))
|
||||||
|
|
||||||
# search buffer and display message
|
# search buffer and display message
|
||||||
# (full name of buffer is plugin.name, for example: "irc.libera.#weechat")
|
# (full name of buffer is plugin.name, for example: "irc.freenode.#weechat")
|
||||||
buffer = weechat.buffer_search("irc", "libera.#weechat")
|
buffer = weechat.buffer_search("irc", "freenode.#weechat")
|
||||||
weechat.prnt(buffer, "message on #weechat channel")
|
weechat.prnt(buffer, "message on #weechat channel")
|
||||||
|
|
||||||
# other solution to find an IRC buffer (better)
|
# other solution to find an IRC buffer (better)
|
||||||
# (note that server and channel are separated by a comma)
|
# (note that server and channel are separated by a comma)
|
||||||
buffer = weechat.info_get("irc_buffer", "libera,#weechat")
|
buffer = weechat.info_get("irc_buffer", "freenode,#weechat")
|
||||||
weechat.prnt(buffer, "message on #weechat channel")
|
weechat.prnt(buffer, "message on #weechat channel")
|
||||||
----
|
----
|
||||||
|
|
||||||
@@ -924,7 +895,7 @@ Examples:
|
|||||||
weechat.command("", "/help")
|
weechat.command("", "/help")
|
||||||
|
|
||||||
# send "hello" to #weechat IRC channel (users on channel will see message)
|
# send "hello" to #weechat IRC channel (users on channel will see message)
|
||||||
buffer = weechat.info_get("irc_buffer", "libera,#weechat")
|
buffer = weechat.info_get("irc_buffer", "freenode,#weechat")
|
||||||
weechat.command(buffer, "hello")
|
weechat.command(buffer, "hello")
|
||||||
----
|
----
|
||||||
|
|
||||||
@@ -1057,53 +1028,26 @@ weechat.hook_timer(60 * 1000, 60, 0, "timer_cb", "")
|
|||||||
You can run a background process with `+hook_process+`. Your callback will be
|
You can run a background process with `+hook_process+`. Your callback will be
|
||||||
called when data is ready. It may be called many times.
|
called when data is ready. It may be called many times.
|
||||||
|
|
||||||
For the last call to your callback, _return_code_ is set to 0 or positive value,
|
For the last call to your callback, _rc_ is set to 0 or positive value, it's
|
||||||
it is the return code of command.
|
return code of command.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
[source,python]
|
[source,python]
|
||||||
----
|
----
|
||||||
def my_process_cb(data, command, return_code, out, err):
|
process_output = ""
|
||||||
if return_code == weechat.WEECHAT_HOOK_PROCESS_ERROR:
|
|
||||||
weechat.prnt("", "Error with command '%s'" % command)
|
def my_process_cb(data, command, rc, out, err):
|
||||||
return weechat.WEECHAT_RC_OK
|
global process_output
|
||||||
if return_code >= 0:
|
if out != "":
|
||||||
weechat.prnt("", "return_code = %d" % return_code)
|
process_output += out
|
||||||
if out:
|
if int(rc) >= 0:
|
||||||
weechat.prnt("", "stdout: %s" % out)
|
weechat.prnt("", process_output)
|
||||||
if err:
|
|
||||||
weechat.prnt("", "stderr: %s" % err)
|
|
||||||
return weechat.WEECHAT_RC_OK
|
return weechat.WEECHAT_RC_OK
|
||||||
|
|
||||||
weechat.hook_process("/bin/ls -l /etc", 10 * 1000, "my_process_cb", "")
|
weechat.hook_process("/bin/ls -l /etc", 10 * 1000, "my_process_cb", "")
|
||||||
----
|
----
|
||||||
|
|
||||||
You can also call directly a script function that does something blocking,
|
|
||||||
instead of an external command:
|
|
||||||
|
|
||||||
[source,python]
|
|
||||||
----
|
|
||||||
def get_status(data):
|
|
||||||
# do something blocking...
|
|
||||||
# ...
|
|
||||||
return "this is the result"
|
|
||||||
|
|
||||||
def my_process_cb(data, command, return_code, out, err):
|
|
||||||
if return_code == weechat.WEECHAT_HOOK_PROCESS_ERROR:
|
|
||||||
weechat.prnt("", "Error with command '%s'" % command)
|
|
||||||
return weechat.WEECHAT_RC_OK
|
|
||||||
if return_code >= 0:
|
|
||||||
weechat.prnt("", "return_code = %d" % return_code)
|
|
||||||
if out:
|
|
||||||
weechat.prnt("", "stdout: %s" % out)
|
|
||||||
if err:
|
|
||||||
weechat.prnt("", "stderr: %s" % err)
|
|
||||||
return weechat.WEECHAT_RC_OK
|
|
||||||
|
|
||||||
hook = weechat.hook_process("func:get_status", 5000, "my_process_cb", "")
|
|
||||||
----
|
|
||||||
|
|
||||||
[[url_transfer]]
|
[[url_transfer]]
|
||||||
==== URL transfer
|
==== URL transfer
|
||||||
|
|
||||||
@@ -1117,15 +1061,15 @@ in callback (standard output of process):
|
|||||||
|
|
||||||
[source,python]
|
[source,python]
|
||||||
----
|
----
|
||||||
# Display latest stable version of WeeChat.
|
# Display current stable version of WeeChat.
|
||||||
weechat_latest_version = ""
|
weechat_version = ""
|
||||||
|
|
||||||
def weechat_process_cb(data, command, return_code, out, err):
|
def weechat_process_cb(data, command, rc, out, err):
|
||||||
global weechat_latest_version
|
global weechat_version
|
||||||
if out:
|
if out != "":
|
||||||
weechat_latest_version += out
|
weechat_version += out
|
||||||
if return_code >= 0:
|
if int(rc) >= 0:
|
||||||
weechat.prnt("", "Latest WeeChat version: %s" % weechat_latest_version)
|
weechat.prnt("", "Current WeeChat stable is: %s" % weechat_version)
|
||||||
return weechat.WEECHAT_RC_OK
|
return weechat.WEECHAT_RC_OK
|
||||||
|
|
||||||
weechat.hook_process("url:https://weechat.org/dev/info/stable/",
|
weechat.hook_process("url:https://weechat.org/dev/info/stable/",
|
||||||
@@ -1140,9 +1084,9 @@ package in file _/tmp/weechat-devel.tar.gz_:
|
|||||||
|
|
||||||
[source,python]
|
[source,python]
|
||||||
----
|
----
|
||||||
def my_process_cb(data, command, return_code, out, err):
|
def my_process_cb(data, command, rc, out, err):
|
||||||
if return_code >= 0:
|
if int(rc) >= 0:
|
||||||
weechat.prnt("", "End of transfer (return code = %d)" % return_code)
|
weechat.prnt("", "End of transfer (rc=%s)" % rc)
|
||||||
return weechat.WEECHAT_RC_OK
|
return weechat.WEECHAT_RC_OK
|
||||||
|
|
||||||
weechat.hook_process_hashtable("url:https://weechat.org/files/src/weechat-devel.tar.gz",
|
weechat.hook_process_hashtable("url:https://weechat.org/files/src/weechat-devel.tar.gz",
|
||||||
@@ -1252,7 +1196,7 @@ xxx,irc_raw_in2_yyy::
|
|||||||
[source,python]
|
[source,python]
|
||||||
----
|
----
|
||||||
def join_cb(data, signal, signal_data):
|
def join_cb(data, signal, signal_data):
|
||||||
# signal is for example: "libera,irc_in2_join"
|
# signal is for example: "freenode,irc_in2_join"
|
||||||
# signal_data is IRC message, for example: ":nick!user@host JOIN :#channel"
|
# signal_data is IRC message, for example: ":nick!user@host JOIN :#channel"
|
||||||
server = signal.split(",")[0]
|
server = signal.split(",")[0]
|
||||||
msg = weechat.info_get_hashtable("irc_message_parse", {"message": signal_data})
|
msg = weechat.info_get_hashtable("irc_message_parse", {"message": signal_data})
|
||||||
@@ -1304,80 +1248,71 @@ The result is a hashtable with following keys
|
|||||||
(the example values are built with this message:
|
(the example values are built with this message:
|
||||||
`+@time=2015-06-27T16:40:35.000Z :nick!user@host PRIVMSG #weechat :hello!+`):
|
`+@time=2015-06-27T16:40:35.000Z :nick!user@host PRIVMSG #weechat :hello!+`):
|
||||||
|
|
||||||
[width="100%",cols="3,^2,10,7",options="header"]
|
[width="100%",cols="1,^2,10,8",options="header"]
|
||||||
|===
|
|===
|
||||||
| Key | Since WeeChat ^(1)^ | Description | Example
|
| Key | WeeChat version | Description | Example
|
||||||
|
|
||||||
| tags | 0.4.0 |
|
| tags | ≥ 0.4.0 |
|
||||||
The tags in message (can be empty). |
|
The tags in message (can be empty). |
|
||||||
`+time=2015-06-27T16:40:35.000Z+`
|
`+time=2015-06-27T16:40:35.000Z+`
|
||||||
|
|
||||||
| tag_xxx | 3.3 |
|
| message_without_tags | ≥ 0.4.0 |
|
||||||
Unescaped value of tag "xxx" (one key per tag). |
|
|
||||||
`+2015-06-27T16:40:35.000Z+`
|
|
||||||
|
|
||||||
| message_without_tags | 0.4.0 |
|
|
||||||
The message without the tags (the same as message if there are no tags). |
|
The message without the tags (the same as message if there are no tags). |
|
||||||
`+:nick!user@host PRIVMSG #weechat :hello!+`
|
`+:nick!user@host PRIVMSG #weechat :hello!+`
|
||||||
|
|
||||||
| nick | 0.3.4 |
|
| nick | ≥ 0.3.4 |
|
||||||
The origin nick. |
|
The origin nick. |
|
||||||
`+nick+`
|
`+nick+`
|
||||||
|
|
||||||
| user | 2.7 |
|
| user | ≥ 2.7 |
|
||||||
The origin user. |
|
The origin user. |
|
||||||
`+user+`
|
`+user+`
|
||||||
|
|
||||||
| host | 0.3.4 |
|
| host | ≥ 0.3.4 |
|
||||||
The origin host (includes the nick). |
|
The origin host (includes the nick). |
|
||||||
`+nick!user@host+`
|
`+nick!user@host+`
|
||||||
|
|
||||||
| command | 0.3.4 |
|
| command | ≥ 0.3.4 |
|
||||||
The command (_PRIVMSG_, _NOTICE_, ...). |
|
The command (_PRIVMSG_, _NOTICE_, ...). |
|
||||||
`+PRIVMSG+`
|
`+PRIVMSG+`
|
||||||
|
|
||||||
| channel | 0.3.4 |
|
| channel | ≥ 0.3.4 |
|
||||||
The target channel. |
|
The target channel. |
|
||||||
`+#weechat+`
|
`+#weechat+`
|
||||||
|
|
||||||
| arguments | 0.3.4 |
|
| arguments | ≥ 0.3.4 |
|
||||||
The command arguments (includes the channel). |
|
The command arguments (includes the channel). |
|
||||||
`+#weechat :hello!+`
|
`+#weechat :hello!+`
|
||||||
|
|
||||||
| text | 1.3 |
|
| text | ≥ 1.3 |
|
||||||
The text (for example user message). |
|
The text (for example user message). |
|
||||||
`+hello!+`
|
`+hello!+`
|
||||||
|
|
||||||
| pos_command | 1.3 |
|
| pos_command | ≥ 1.3 |
|
||||||
The index of _command_ in message ("-1" if _command_ was not found). |
|
The index of _command_ in message ("-1" if _command_ was not found). |
|
||||||
`+47+`
|
`+47+`
|
||||||
|
|
||||||
| pos_arguments | 1.3 |
|
| pos_arguments | ≥ 1.3 |
|
||||||
The index of _arguments_ in message ("-1" if _arguments_ was not found). |
|
The index of _arguments_ in message ("-1" if _arguments_ was not found). |
|
||||||
`+55+`
|
`+55+`
|
||||||
|
|
||||||
| pos_channel | 1.3 |
|
| pos_channel | ≥ 1.3 |
|
||||||
The index of _channel_ in message ("-1" if _channel_ was not found). |
|
The index of _channel_ in message ("-1" if _channel_ was not found). |
|
||||||
`+55+`
|
`+55+`
|
||||||
|
|
||||||
| pos_text | 1.3 |
|
| pos_text | ≥ 1.3 |
|
||||||
The index of _text_ in message ("-1" if _text_ was not found). |
|
The index of _text_ in message ("-1" if _text_ was not found). |
|
||||||
`+65+`
|
`+65+`
|
||||||
|===
|
|===
|
||||||
|
|
||||||
[NOTE]
|
|
||||||
^(1)^ The key has been introduced in this WeeChat version.
|
|
||||||
|
|
||||||
[source,python]
|
[source,python]
|
||||||
----
|
----
|
||||||
dict = weechat.info_get_hashtable(
|
dict = weechat.info_get_hashtable(
|
||||||
"irc_message_parse",
|
"irc_message_parse",
|
||||||
{"message": "@time=2015-06-27T16:40:35.000Z;tag2=value\\sspace :nick!user@host PRIVMSG #weechat :hello!"})
|
{"message": "@time=2015-06-27T16:40:35.000Z :nick!user@host PRIVMSG #weechat :hello!"})
|
||||||
|
|
||||||
# dict == {
|
# dict == {
|
||||||
# "tags": "time=2015-06-27T16:40:35.000Z;tag2=value\\sspace",
|
# "tags": "time=2015-06-27T16:40:35.000Z",
|
||||||
# "tag_time": "2015-06-27T16:40:35.000Z",
|
|
||||||
# "tag_tag2": "value space",
|
|
||||||
# "message_without_tags": ":nick!user@host PRIVMSG #weechat :hello!",
|
# "message_without_tags": ":nick!user@host PRIVMSG #weechat :hello!",
|
||||||
# "nick": "nick",
|
# "nick": "nick",
|
||||||
# "user": "user",
|
# "user": "user",
|
||||||
@@ -1386,10 +1321,10 @@ dict = weechat.info_get_hashtable(
|
|||||||
# "channel": "#weechat",
|
# "channel": "#weechat",
|
||||||
# "arguments": "#weechat :hello!",
|
# "arguments": "#weechat :hello!",
|
||||||
# "text": "hello!",
|
# "text": "hello!",
|
||||||
# "pos_command": "65",
|
# "pos_command": "47",
|
||||||
# "pos_arguments": "73",
|
# "pos_arguments": "55",
|
||||||
# "pos_channel": "73",
|
# "pos_channel": "55",
|
||||||
# "pos_text": "83",
|
# "pos_text": "65",
|
||||||
# }
|
# }
|
||||||
----
|
----
|
||||||
|
|
||||||
@@ -1430,8 +1365,8 @@ weechat.prnt("", "Version %s" % weechat.info_get("version", ""))
|
|||||||
|
|
||||||
[source,python]
|
[source,python]
|
||||||
----
|
----
|
||||||
# WeeChat config directory, for example: "/home/user/.config/weechat"
|
# WeeChat home directory, for example: "/home/xxxx/.weechat"
|
||||||
weechat.prnt("", "WeeChat config dir: %s" % weechat.info_get("weechat_config_dir", ""))
|
weechat.prnt("", "WeeChat home dir: %s" % weechat.info_get("weechat_dir", ""))
|
||||||
|
|
||||||
# keyboard inactivity
|
# keyboard inactivity
|
||||||
weechat.prnt("", "Inactivity since %s seconds" % weechat.info_get("inactivity", ""))
|
weechat.prnt("", "Inactivity since %s seconds" % weechat.info_get("inactivity", ""))
|
||||||
|
|||||||
@@ -0,0 +1,131 @@
|
|||||||
|
= WeeChat tester's guide
|
||||||
|
:author: Sébastien Helleu
|
||||||
|
:email: flashcode@flashtux.org
|
||||||
|
:lang: en
|
||||||
|
:toc: left
|
||||||
|
:sectnums:
|
||||||
|
:docinfo1:
|
||||||
|
|
||||||
|
|
||||||
|
[[purpose]]
|
||||||
|
== Purpose
|
||||||
|
|
||||||
|
Many thankful users ask us how can they help developing WeeChat. The
|
||||||
|
easiest (and also most tricky) way to help developing WeeChat is testing!
|
||||||
|
|
||||||
|
Testing is a very important part of software development and should not be
|
||||||
|
underestimated. When some features are implemented it should be tested, but for
|
||||||
|
some features there are too many use cases or these cases are tricky and
|
||||||
|
developers can't try out every case.
|
||||||
|
|
||||||
|
For example: A notorious charset plugin was introduced in WeeChat 0.2.2: none
|
||||||
|
of us (developers, contributors and testers) used channels with national
|
||||||
|
characters in their names and when 0.2.2 was released we got flooded by Russian
|
||||||
|
users blaming us. If we have more testers it should not happen again in the
|
||||||
|
future.
|
||||||
|
|
||||||
|
Testing the stable version of WeeChat is pointless because developers are busy
|
||||||
|
implementing new stuff (and fixing old bugs) all the time.
|
||||||
|
|
||||||
|
|
||||||
|
[[prepare_system]]
|
||||||
|
== Prepare your system
|
||||||
|
|
||||||
|
It would help us a lot if you enable Linux _core_ files: if WeeChat crashes,
|
||||||
|
Linux will write a file called _core_. This file contains very useful debug
|
||||||
|
info, to know exactly where is problem in WeeChat.
|
||||||
|
|
||||||
|
If you're using the _bash_ shell, add following line to your _~/.bashrc_:
|
||||||
|
|
||||||
|
----
|
||||||
|
ulimit -c unlimited
|
||||||
|
----
|
||||||
|
|
||||||
|
|
||||||
|
[[download]]
|
||||||
|
== Download devel version
|
||||||
|
|
||||||
|
Fresh code (with latest bugs and features) is stored in a GIT repository.
|
||||||
|
|
||||||
|
You may decide to build it manually (recommended way):
|
||||||
|
|
||||||
|
* The GIT version can be built and installed in parallel to the stable version.
|
||||||
|
* You don't need root access, and you don't need to sacrifice the stable
|
||||||
|
version of WeeChat.
|
||||||
|
|
||||||
|
[[get_sources]]
|
||||||
|
=== Get and build sources
|
||||||
|
|
||||||
|
First create a directory, for example _weechat-git_:
|
||||||
|
|
||||||
|
----
|
||||||
|
$ mkdir ~/weechat-git
|
||||||
|
$ cd ~/weechat-git
|
||||||
|
----
|
||||||
|
|
||||||
|
If you have git installed, you can just clone the git repository (recommended
|
||||||
|
way):
|
||||||
|
|
||||||
|
----
|
||||||
|
$ git clone https://github.com/weechat/weechat.git
|
||||||
|
$ cd weechat
|
||||||
|
----
|
||||||
|
|
||||||
|
[NOTE]
|
||||||
|
Later, you can run `git pull` in this directory, to get deltas with
|
||||||
|
the latest updates.
|
||||||
|
|
||||||
|
Otherwise you can download and unpack _devel_ package:
|
||||||
|
|
||||||
|
----
|
||||||
|
$ wget https://weechat.org/files/src/weechat-devel.tar.bz2
|
||||||
|
$ tar xvjf weechat-devel.tar.bz2
|
||||||
|
$ cd weechat-devel
|
||||||
|
----
|
||||||
|
|
||||||
|
To build sources, CMake is recommended:
|
||||||
|
|
||||||
|
----
|
||||||
|
$ mkdir build
|
||||||
|
$ cd build
|
||||||
|
$ cmake .. -DCMAKE_INSTALL_PREFIX=$HOME/weechat-git -DWEECHAT_HOME=~/.weechat-dev -DCMAKE_BUILD_TYPE=Debug
|
||||||
|
$ make
|
||||||
|
$ make install
|
||||||
|
----
|
||||||
|
|
||||||
|
If you don't have CMake, it's still possible to use autotools:
|
||||||
|
|
||||||
|
----
|
||||||
|
$ ./autogen.sh
|
||||||
|
$ ./configure --prefix=$HOME/weechat-git WEECHAT_HOME=~/.weechat-dev
|
||||||
|
$ make
|
||||||
|
$ make install
|
||||||
|
----
|
||||||
|
|
||||||
|
[[install_binary_package]]
|
||||||
|
=== Install binary package
|
||||||
|
|
||||||
|
According to your Linux distribution:
|
||||||
|
|
||||||
|
* Debian: https://weechat.org/download/debian
|
||||||
|
* Gentoo: https://weechat.org/download
|
||||||
|
* ArchLinux: PKGBUILD from https://aur.archlinux.org/
|
||||||
|
* other: we don't know! Eheh.
|
||||||
|
|
||||||
|
|
||||||
|
[[run]]
|
||||||
|
== Run WeeChat
|
||||||
|
|
||||||
|
Command is:
|
||||||
|
|
||||||
|
----
|
||||||
|
$ ~/weechat-git/bin/weechat
|
||||||
|
----
|
||||||
|
|
||||||
|
If you're still awake you should see the familiar interface and brag about
|
||||||
|
having the newest possible version of WeeChat. ;)
|
||||||
|
|
||||||
|
Now if you experience strange behavior (it may have issues or crash or boil
|
||||||
|
your beer) don't hesitate to join _#weechat_ at _chat.freenode.net_ and tell us.
|
||||||
|
|
||||||
|
If it doesn't crash - tell us too, we need your feedback!
|
||||||
+1911
-2538
File diff suppressed because it is too large
Load Diff
+1
-14
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2012-2022 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2012-2021 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.
|
||||||
#
|
#
|
||||||
@@ -19,19 +19,6 @@
|
|||||||
|
|
||||||
if(ENABLE_DOC)
|
if(ENABLE_DOC)
|
||||||
|
|
||||||
# FAQ
|
|
||||||
add_custom_command(
|
|
||||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.es.html
|
|
||||||
COMMAND ${ASCIIDOCTOR_EXECUTABLE} ARGS ${ASCIIDOCTOR_ARGS} -o weechat_faq.es.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.es.adoc
|
|
||||||
DEPENDS
|
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/../docinfo.html
|
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.es.adoc
|
|
||||||
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
|
||||||
COMMENT "Building weechat_faq.es.html"
|
|
||||||
)
|
|
||||||
add_custom_target(doc-faq-es ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.es.html)
|
|
||||||
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.es.html DESTINATION ${DATAROOTDIR}/doc/${PROJECT_NAME})
|
|
||||||
|
|
||||||
# quickstart
|
# quickstart
|
||||||
add_custom_command(
|
add_custom_command(
|
||||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.es.html
|
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.es.html
|
||||||
|
|||||||
+2
-8
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2012-2022 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2012-2021 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.
|
||||||
#
|
#
|
||||||
@@ -21,7 +21,6 @@ docdir = $(datadir)/doc/$(PACKAGE)
|
|||||||
|
|
||||||
EXTRA_DIST = CMakeLists.txt \
|
EXTRA_DIST = CMakeLists.txt \
|
||||||
docinfo.html \
|
docinfo.html \
|
||||||
weechat_faq.es.adoc \
|
|
||||||
weechat_quickstart.es.adoc
|
weechat_quickstart.es.adoc
|
||||||
|
|
||||||
if MAN
|
if MAN
|
||||||
@@ -30,17 +29,12 @@ if MAN
|
|||||||
man_uninstall =
|
man_uninstall =
|
||||||
endif
|
endif
|
||||||
if DOC
|
if DOC
|
||||||
doc_targets = weechat_faq.es.html \
|
doc_targets = weechat_quickstart.es.html
|
||||||
weechat_quickstart.es.html
|
|
||||||
doc_install = install-doc
|
doc_install = install-doc
|
||||||
doc_uninstall = uninstall-doc
|
doc_uninstall = uninstall-doc
|
||||||
endif
|
endif
|
||||||
all-local: $(man_targets) $(doc_targets)
|
all-local: $(man_targets) $(doc_targets)
|
||||||
|
|
||||||
# FAQ
|
|
||||||
weechat_faq.es.html: weechat_faq.es.adoc $(abs_top_srcdir)/doc/docinfo.html
|
|
||||||
$(ASCIIDOCTOR) $(ASCIIDOCTOR_ARGS) -a revnumber="$(VERSION)" -o weechat_faq.es.html $(abs_top_srcdir)/doc/es/weechat_faq.es.adoc
|
|
||||||
|
|
||||||
# quickstart
|
# quickstart
|
||||||
weechat_quickstart.es.html: weechat_quickstart.es.adoc $(abs_top_srcdir)/doc/docinfo.html
|
weechat_quickstart.es.html: weechat_quickstart.es.adoc $(abs_top_srcdir)/doc/docinfo.html
|
||||||
$(ASCIIDOCTOR) $(ASCIIDOCTOR_ARGS) -a revnumber="$(VERSION)" -o weechat_quickstart.es.html $(abs_top_srcdir)/doc/es/weechat_quickstart.es.adoc
|
$(ASCIIDOCTOR) $(ASCIIDOCTOR_ARGS) -a revnumber="$(VERSION)" -o weechat_quickstart.es.html $(abs_top_srcdir)/doc/es/weechat_quickstart.es.adoc
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
+141
-103
@@ -1,4 +1,4 @@
|
|||||||
= WeeChat guía rápida
|
= WeeChat Quick Start Guide
|
||||||
:author: Sébastien Helleu
|
:author: Sébastien Helleu
|
||||||
:email: flashcode@flashtux.org
|
:email: flashcode@flashtux.org
|
||||||
:lang: es
|
:lang: es
|
||||||
@@ -7,54 +7,57 @@
|
|||||||
:docinfo1:
|
:docinfo1:
|
||||||
|
|
||||||
|
|
||||||
Traductores:
|
// TRANSLATION MISSING
|
||||||
|
Translators:
|
||||||
|
|
||||||
* Lázaro A. <uranio-235@myopera.com>, 2012
|
* Lázaro A. <uranio-235@myopera.com>, 2012
|
||||||
* Victorhck <victorhck@mailbox.org>, 2021
|
|
||||||
|
|
||||||
|
|
||||||
[[start]]
|
[[start]]
|
||||||
== Iniciar WeeChat
|
== Iniciar WeeChat
|
||||||
|
|
||||||
Es recomendable un emulador de terminal para X (pero no indispensable)
|
Es recomendable una terminal emulada para X (pero no indispensable)
|
||||||
rxvt-unicode: tiene un buen soporte para UTF-8, y no da problemas con
|
rxvt-unicode: tiene un buen soporte para UTF-8, y no da problemas con
|
||||||
los atajos de teclado predeterminados.
|
los atajas de teclados predeterminados.
|
||||||
|
|
||||||
Ejecuta desde una consola:
|
// TRANSLATION MISSING
|
||||||
|
Run from your shell:
|
||||||
|
|
||||||
----
|
----
|
||||||
$ weechat
|
$ weechat
|
||||||
----
|
----
|
||||||
|
|
||||||
[[help]]
|
[[help]]
|
||||||
== Ayuda en línea
|
== Ayuda en linea
|
||||||
|
|
||||||
WeeChat tiene ayuda para todos los comandos, simplemente escriba:
|
WeeChat tiene ayuda para todos los comandos, solo teclee:
|
||||||
|
|
||||||
----
|
----
|
||||||
/help
|
/help
|
||||||
----
|
----
|
||||||
|
|
||||||
Para obtener ayuda específica de un comando, escriba:
|
Para obtener ayuda específicamente de un comando, teclee:
|
||||||
|
|
||||||
----
|
----
|
||||||
/help comando
|
/help comando
|
||||||
----
|
----
|
||||||
|
|
||||||
También hay ayuda disponible para las opciones:
|
// TRANSLATION MISSING
|
||||||
|
Help is available for options as well:
|
||||||
|
|
||||||
----
|
----
|
||||||
/help config.section.option
|
/help config.section.option
|
||||||
----
|
----
|
||||||
|
|
||||||
(donde `config` es el nombre de la configuración del núcleo o del
|
(donde `config` es el nombre de la configuración del núcleo o del
|
||||||
complemento que desea configurar, `section`, la sección de esa configuración
|
plugin que desea configurar, `section`, la sección de esa configuración
|
||||||
y `option` el nombre de la opción).
|
y `option` el nombre de la opción).
|
||||||
|
|
||||||
|
// TRANSLATION MISSING
|
||||||
[[options]]
|
[[options]]
|
||||||
== Configurar las opciones
|
== Set options
|
||||||
|
|
||||||
Para configurar una opción, utilice:
|
Para configurar una opción, use:
|
||||||
|
|
||||||
----
|
----
|
||||||
/set config.section.option valor
|
/set config.section.option valor
|
||||||
@@ -63,66 +66,75 @@ Para configurar una opción, utilice:
|
|||||||
WeeChat usará inmediatamente el nuevo valor asignado (*no* es necesario
|
WeeChat usará inmediatamente el nuevo valor asignado (*no* es necesario
|
||||||
reiniciar WeeChat después de aplicar cambios a la configuración).
|
reiniciar WeeChat después de aplicar cambios a la configuración).
|
||||||
|
|
||||||
Todas las opciones se guardarán de manera automática cuando cierre
|
Todas las opciones se salvarán de manera automática cuando cierre
|
||||||
WeeChat o usando el comando `/save` para forzar a WeeChat a
|
WeeChat o usando el comando `/save` para forzar la forzar a WeeChat a
|
||||||
guardar todos los archivos de configuración.
|
guardar todos los archivos de configuración.
|
||||||
|
|
||||||
|
// TRANSLATION MISSING
|
||||||
[IMPORTANT]
|
[IMPORTANT]
|
||||||
*No se recomienda* editar los archivos de configuración a mano porque WeeChat
|
It is *not recommended* to edit configuration files by hand because WeeChat
|
||||||
puede escribirlos en cualquier momento (por ejemplo al ejecutar `/quit`) y después de cualquier cambio
|
may write them at any time (for example on `/quit`) and after any change
|
||||||
debería ejecutar el comando `/reload` (con el riesgo de perder otros cambios
|
you must run the command `/reload` (with the risk of losing other changes
|
||||||
que todavía no fueron guardados con `/save`). +
|
that were not yet saved with `/save`). +
|
||||||
Puede utilizar el comando `/set`, que comprueba el valor y aplica inmediatamente
|
You can use the command `/set`, which checks the value and applies immediately
|
||||||
los cambios.
|
the changes.
|
||||||
|
|
||||||
El complemento _fset_ le permite navegar fácilmente por las opciones y cambiarlas.
|
// TRANSLATION MISSING
|
||||||
|
The plugin _fset_ allows you to easily browse options and change them.
|
||||||
|
|
||||||
Por ejemplo para mostrar las opciones de WeeChat:
|
// TRANSLATION MISSING
|
||||||
|
For example to display WeeChat options:
|
||||||
|
|
||||||
----
|
----
|
||||||
/fset weechat.*
|
/fset weechat.*
|
||||||
----
|
----
|
||||||
|
|
||||||
Opciones de IRC:
|
// TRANSLATION MISSING
|
||||||
|
IRC options:
|
||||||
|
|
||||||
----
|
----
|
||||||
/fset irc.*
|
/fset irc.*
|
||||||
----
|
----
|
||||||
|
|
||||||
El comando `/fset` dispone de autocompletado de parte de los nombres de opciones, así por ejemplo si
|
// TRANSLATION MISSING
|
||||||
escribe `/fset hot` y presiona kbd:[Tab] el resto del comando será autocompletado como `/fset hotlist`.
|
The `/fset` command has completion on part of option names, so for example if
|
||||||
Si pulsa kbd:[Enter], se mostrarán las opciones sobre los atajos de teclado.
|
you type `/fset hot` and press kbd:[Tab] this is completed as `/fset hotlist`.
|
||||||
|
If you press kbd:[Enter], options about the hotlist are displayed.
|
||||||
|
|
||||||
Para más información sobre el comando `/fset` y las teclas, vea `/help fset`.
|
// TRANSLATION MISSING
|
||||||
|
For more information about `/fset` command and keys, see `/help fset`.
|
||||||
|
|
||||||
[[core_vs_plugins]]
|
[[core_vs_plugins]]
|
||||||
== Núcleo vs Complementos
|
== Núcleo vs Plugins
|
||||||
|
|
||||||
Llamaremos "Núcleo de WeeChat" a la aplicación que solo se usa para
|
Llamaremos "Núcleo de WeeChat" a la aplicación que solo se usa para
|
||||||
mostrar información en pantalla e interactuar con el usuario, eso es lo
|
mostrar información en pantalla e interactuar con el usuario, eso es lo
|
||||||
único que hace el núcleo de WeeChat sin no tiene complementos. (para los
|
único que hace el núcleo de WeeChat sin no tiene plugins. (para los
|
||||||
fieles seguidores: IRC fue parte del núcleo para las versiones ≤
|
fieles seguidores: IRC fue parte del núcleo para las versiones ≤
|
||||||
0.2.6).
|
0.2.6).
|
||||||
|
|
||||||
Todos los protocolos de red como IRC, provienen de complementos separados.
|
Todos los protocolos de red como IRC, provienen en plugins separados.
|
||||||
|
|
||||||
Use el comando `/plugin` para ver una lista de los complementos cargados,
|
Use el comando `/plugin` para ver una lista de los plugins cargados,
|
||||||
seguramente vera irc y otros.
|
seguramente vera irc y otros.
|
||||||
|
|
||||||
|
// TRANSLATION MISSING
|
||||||
[[add_irc_server]]
|
[[add_irc_server]]
|
||||||
== Añadir un servidor IRC
|
== Add an IRC server
|
||||||
|
|
||||||
Puede añadir un servidor IRC mediante el comando `/server`, por ejemplo:
|
// TRANSLATION MISSING
|
||||||
|
You can add an IRC server with `/server` command, for example:
|
||||||
|
|
||||||
----
|
----
|
||||||
/server add libera irc.libera.chat/6697 -ssl
|
/server add freenode chat.freenode.net
|
||||||
----
|
----
|
||||||
|
|
||||||
En este comando, `libera` es el nombre interno del servidor utilizado por WeeChat:
|
// TRANSLATION MISSING
|
||||||
más tarde podrá conectar con ese servidor mediante `/connect libera` y las opciones del servidor
|
In this command, `freenode` is the internal server name used by WeeChat:
|
||||||
serán _irc.server.libera.xxx_.
|
you'll be able to connect with `/connect freenode` and the server options
|
||||||
|
are _irc.server.freenode.xxx_.
|
||||||
|
|
||||||
Si se encuentra perdido, puede consultar la ayuda disponible:
|
La ayuda está disponible; si te pierdes:
|
||||||
|
|
||||||
----
|
----
|
||||||
/help server
|
/help server
|
||||||
@@ -131,9 +143,9 @@ Si se encuentra perdido, puede consultar la ayuda disponible:
|
|||||||
[[irc_server_options]]
|
[[irc_server_options]]
|
||||||
== Personalizar las opciones de un servidor IRC
|
== Personalizar las opciones de un servidor IRC
|
||||||
|
|
||||||
WeeChat usa las opciones predeterminadas para todos los servidores
|
WeeChat usa las opciones por defecto para todos los servidores
|
||||||
("predeterminado") si no le especifica un valor individual a un servidor
|
("predeterminado") si no le especifica un valor individual a un servidor
|
||||||
en específico. Esas opciones predeterminadas son las que se muestran en
|
en específico. Esas opciones por defectos son las que se muestran en
|
||||||
"irc.server_default.*"
|
"irc.server_default.*"
|
||||||
|
|
||||||
Para cada opción de "server", WeeChat usa estos valores previamente
|
Para cada opción de "server", WeeChat usa estos valores previamente
|
||||||
@@ -141,105 +153,123 @@ asignados siempre y cuando no sean Nulos. Si no hay nada asignado,
|
|||||||
WeeChat usara los valores predeterminados ("irc.server_default.xxx")
|
WeeChat usara los valores predeterminados ("irc.server_default.xxx")
|
||||||
|
|
||||||
Por ejemplo, tenemos el nick por defecto (que se basa en su login) pero
|
Por ejemplo, tenemos el nick por defecto (que se basa en su login) pero
|
||||||
usted puedes sobreescribirlo para el servidor identificado como libera
|
usted puedes sobreescribirlo para el servidor identificado como freenode
|
||||||
de la siguiente manera:
|
de la siguiente manera:
|
||||||
|
|
||||||
----
|
----
|
||||||
/set irc.server.libera.nicks "nick,nick2,nick3,nick4,nick5"
|
/set irc.server.freenode.nicks "nick,nick2,nick3,nick4,nick5"
|
||||||
----
|
----
|
||||||
|
|
||||||
También para configurar el nombre de usuario y el nombre real:
|
También para configurar el nombre de usuario y el nombre real:
|
||||||
|
|
||||||
----
|
----
|
||||||
/set irc.server.libera.username "Mi nombre de usuario"
|
/set irc.server.freenode.username "Mi nombre de usuario"
|
||||||
/set irc.server.libera.realname "Mi nombre real"
|
/set irc.server.freenode.realname "Mi nombre real"
|
||||||
----
|
----
|
||||||
|
|
||||||
Para que el servidor se conecte cuando WeeChat inicie:
|
Para que el servidor se conecte cuando WeeChat inicie:
|
||||||
|
|
||||||
----
|
----
|
||||||
/set irc.server.libera.autoconnect on
|
/set irc.server.freenode.autoconnect on
|
||||||
----
|
----
|
||||||
|
|
||||||
Si la opción SASL está disponible en el servidor, puede utilizarla para autentificarse (será
|
// TRANSLATION MISSING
|
||||||
identificado o identificada antes de unirse a los canales):
|
To connect with SSL:
|
||||||
|
|
||||||
----
|
----
|
||||||
/set irc.server.libera.sasl_username "nick"
|
/set irc.server.freenode.addresses "chat.freenode.net/7000"
|
||||||
/set irc.server.libera.sasl_password "xxxxxxx"
|
/set irc.server.freenode.ssl on
|
||||||
----
|
----
|
||||||
|
|
||||||
Para ejecutar un comando después de conectarse al servidor, por ejemplo autentificarse
|
// TRANSLATION MISSING
|
||||||
con el servicio de identificación de nicks nickserv (solo si no utiliza SASL para autentificarse):
|
If SASL is available on server, you can use it for authentication (you will be
|
||||||
|
identified before you join channels):
|
||||||
|
|
||||||
----
|
----
|
||||||
/set irc.server.libera.command "/msg nickserv identify xxxxxxx"
|
/set irc.server.freenode.sasl_username "nick"
|
||||||
|
/set irc.server.freenode.sasl_password "xxxxxxx"
|
||||||
----
|
----
|
||||||
|
|
||||||
|
// TRANSLATION MISSING
|
||||||
|
To run a command after connection to server, for example to authenticate
|
||||||
|
with nickserv (only if you don't use SASL for authentication):
|
||||||
|
|
||||||
|
----
|
||||||
|
/set irc.server.freenode.command "/msg nickserv identify xxxxxxx"
|
||||||
|
----
|
||||||
|
|
||||||
|
// TRANSLATION MISSING
|
||||||
[NOTE]
|
[NOTE]
|
||||||
Muchos comandos en la opción _command_ pueden ser separados por `;` (punto y coma).
|
Many commands in option _command_ can be separated by `;` (semi-colon).
|
||||||
|
|
||||||
Si quiere proteger su contraseña en los archivos de configuración, puede utilizar
|
// TRANSLATION MISSING
|
||||||
una securización de los datos.
|
If you want to protect your password in configuration files, you can use
|
||||||
|
secured data.
|
||||||
|
|
||||||
Primero configure una frase de contraseña
|
// TRANSLATION MISSING
|
||||||
|
First setup a passphrase:
|
||||||
|
|
||||||
----
|
----
|
||||||
/secure passphrase this is my secret passphrase
|
/secure passphrase this is my secret passphrase
|
||||||
----
|
----
|
||||||
|
|
||||||
Después añada un dato securizado con su contraseña de libera:
|
// TRANSLATION MISSING
|
||||||
|
Then add a secured data with your freenode password:
|
||||||
|
|
||||||
----
|
----
|
||||||
/secure set libera_password xxxxxxx
|
/secure set freenode_password xxxxxxx
|
||||||
----
|
----
|
||||||
|
|
||||||
Después puede utilizar `+${sec.data.libera_password}+` en vez de su contraseña en
|
// TRANSLATION MISSING
|
||||||
las opciones de IRC mencionadas anteriormente, por ejemplo:
|
Then you can use `+${sec.data.freenode_password}+` instead of your password in
|
||||||
|
IRC options mentioned above, for example:
|
||||||
|
|
||||||
----
|
----
|
||||||
/set irc.server.libera.sasl_password "${sec.data.libera_password}"
|
/set irc.server.freenode.sasl_password "${sec.data.freenode_password}"
|
||||||
----
|
----
|
||||||
|
|
||||||
Para unirse automáticamente a canales cuando el servidor se conecte:
|
Para unirse automáticamente a canales cuando el servidor se conecte:
|
||||||
|
|
||||||
----
|
----
|
||||||
/set irc.server.libera.autojoin "#uncanal,#otrocanal"
|
/set irc.server.freenode.autojoin "#uncanal,#otrocanal"
|
||||||
----
|
----
|
||||||
|
|
||||||
|
// TRANSLATION MISSING
|
||||||
[TIP]
|
[TIP]
|
||||||
Puede completar el nombre y el valor de las opciones con la tecla kbd:[Tab]
|
You can complete name and value of options with the kbd:[Tab] key
|
||||||
y kbd:[Shift+Tab] para un autocompletado parcial (útil para palabras largas como
|
and kbd:[Shift+Tab] for a partial completion (useful for long words like
|
||||||
el nombre de la opción).
|
the name of option).
|
||||||
|
|
||||||
Para eliminar un valor asignado a una opción de servidor y usar los
|
Para eliminar un valor asignado a una opción de servidor y usar los
|
||||||
valores predeterminados en su lugar, por ejemplo, usar el nick predeterminado
|
valores por defecto en su lugar, por ejemplo, usar el nick por defecto
|
||||||
(irc.server_default.nicks):
|
(irc.server_default.nicks):
|
||||||
|
|
||||||
----
|
----
|
||||||
/unset irc.server.libera.nicks
|
/unset irc.server.freenode.nicks
|
||||||
----
|
----
|
||||||
|
|
||||||
Otras opciones: puede configurar otras opciones con el siguiente comando,
|
Otras opciones: pude configurar otras opciones con el siguiente comando,
|
||||||
donde "xxx" es el nombre de la opción.
|
donde "xxx" es el nombre de la opción.
|
||||||
|
|
||||||
----
|
----
|
||||||
/set irc.server.libera.xxx valor
|
/set irc.server.freenode.xxx valor
|
||||||
----
|
----
|
||||||
|
|
||||||
[[connect_to_irc_server]]
|
[[connect_to_irc_server]]
|
||||||
== Conectarse a un servidor IRC
|
== Conectarse a un servidor IRC
|
||||||
|
|
||||||
----
|
----
|
||||||
/connect libera
|
/connect freenode
|
||||||
----
|
----
|
||||||
|
|
||||||
Con este comando, WeeChat se conecta al servidor de libera y inicia sesión automáticamente en
|
// TRANSLATION MISSING
|
||||||
los canales configurados en la opción del servidor "autojoin".
|
With this command, WeeChat connects to the freenode server and auto-joins the
|
||||||
|
channels configured in the "autojoin" server option.
|
||||||
|
|
||||||
|
// TRANSLATION MISSING
|
||||||
[NOTE]
|
[NOTE]
|
||||||
Este comando también puede usarse para crear y conectarse a un nuevo
|
Este comando también puede usarse para crear y conectarse a un nuevo
|
||||||
servidor sin usar el comando `/server` (vea `/help connect`).
|
servidor sin usar el comando `/server` (see `/help connect`).
|
||||||
|
|
||||||
Por defecto, todos los buffers del servidor están junto al buffer de
|
Por defecto, todos los buffers del servidor están junto al buffer de
|
||||||
núcleo. Para cambiar entre el buffer del núcleo y el buffer de los
|
núcleo. Para cambiar entre el buffer del núcleo y el buffer de los
|
||||||
@@ -267,32 +297,36 @@ Sale de un canal (mantiene el buffer abierto):
|
|||||||
/part [mensaje de partida]
|
/part [mensaje de partida]
|
||||||
----
|
----
|
||||||
|
|
||||||
Cierra un servidor, canal o buffer privado (`/close` es un alias para
|
// TRANSLATION MISSING
|
||||||
|
Close a server, channel or private buffer (`/close` is an alias for
|
||||||
`/buffer close`):
|
`/buffer close`):
|
||||||
|
|
||||||
----
|
----
|
||||||
/close
|
/close
|
||||||
----
|
----
|
||||||
|
|
||||||
|
// TRANSLATION MISSING
|
||||||
[WARNING]
|
[WARNING]
|
||||||
Al cerrar el buffer del servidor cerrará todos los buffer de canales/privados
|
Closing the server buffer will close all channel/private buffers.
|
||||||
|
|
||||||
Para desconectar del servidor, en el buffer del servidor ejecute:
|
// TRANSLATION MISSING
|
||||||
|
Disconnect from server, on the server buffer:
|
||||||
|
|
||||||
----
|
----
|
||||||
/disconnect
|
/disconnect
|
||||||
----
|
----
|
||||||
|
|
||||||
|
// TRANSLATION MISSING
|
||||||
[[irc_private_messages]]
|
[[irc_private_messages]]
|
||||||
== Mensajes privados en IRC
|
== IRC private messages
|
||||||
|
|
||||||
Abre un buffer y envíe un mensaje a otra persona (nick _foo_):
|
Open a buffer and send a message to another user (nick _foo_):
|
||||||
|
|
||||||
----
|
----
|
||||||
/query foo esto es un mensaje
|
/query foo this is a message
|
||||||
----
|
----
|
||||||
|
|
||||||
Cierra el buffer privado:
|
Close the private buffer:
|
||||||
|
|
||||||
----
|
----
|
||||||
/close
|
/close
|
||||||
@@ -301,11 +335,11 @@ Cierra el buffer privado:
|
|||||||
[[buffer_window]]
|
[[buffer_window]]
|
||||||
== Manipulando buffer/ventana
|
== Manipulando buffer/ventana
|
||||||
|
|
||||||
Un buffer, es un componente vinculado a un complemento con un número, una
|
Un buffer, es un componente vinculado a un plugin con un número, una
|
||||||
categoría y un nombre. El buffer contiene los datos que se muestran en
|
categoría y un nombre. El buffer contiene los datos que se muestran en
|
||||||
la pantalla.
|
la pantalla.
|
||||||
|
|
||||||
Una ventana es una vista de un buffer. De manera predeterminada, una sola ventana
|
Una ventana es una vista de un buffer. Por defecto, una sola ventana
|
||||||
muestra un solo buffer. Si divide la pantalla, podrá ver muchas
|
muestra un solo buffer. Si divide la pantalla, podrá ver muchas
|
||||||
ventanas conteniendo varios buffer al mismo tiempo.
|
ventanas conteniendo varios buffer al mismo tiempo.
|
||||||
|
|
||||||
@@ -323,7 +357,8 @@ junto a otras mas grande (2/3) use el comando
|
|||||||
/window splitv 33
|
/window splitv 33
|
||||||
----
|
----
|
||||||
|
|
||||||
Para eliminar esa división:
|
// TRANSLATION MISSING
|
||||||
|
To remove the split:
|
||||||
|
|
||||||
----
|
----
|
||||||
/window merge
|
/window merge
|
||||||
@@ -332,19 +367,19 @@ Para eliminar esa división:
|
|||||||
[[key_bindings]]
|
[[key_bindings]]
|
||||||
== Atajos de teclado
|
== Atajos de teclado
|
||||||
|
|
||||||
WeeChat usa muchas teclas por defecto. Éstas, están bien
|
WeeChat usa muchas teclas por defecto. Las mismas, están bien
|
||||||
explicadas en la documentación pero debe conocer al menos la mas
|
explicadas en la documentación pero debe conocer al menos la mas
|
||||||
importantes.
|
importantes.
|
||||||
|
|
||||||
- kbd:[Alt+←] / kbd:[Alt+→] o kbd:[F5] / kbd:[F6]: Cambiará al buffer
|
- kbd:[Alt+←] / kbd:[Alt+→] o kbd:[F5] / kbd:[F6]: Cambiara al buffer
|
||||||
siguiente/anterior
|
siguiente/anterior
|
||||||
// TRANSLATION MISSING
|
// TRANSLATION MISSING
|
||||||
- kbd:[F1] / kbd:[F2]: desplazará la barra de scroll con la lista de buffers ("buflist")
|
- kbd:[F1] / kbd:[F2]: scroll bar with list of buffers ("buflist")
|
||||||
- kbd:[F7] / kbd:[F8]: cambiará a la siguiente/anterior ventana (cuando la pantalla
|
- kbd:[F7] / kbd:[F8]: Cambiara a la siguiente/anterior ventana (cuando la pantalla
|
||||||
este dividida)
|
este dividida)
|
||||||
- kbd:[F9] / kbd:[F10]: desplazamiento del texto en la barra de título
|
- kbd:[F9] / kbd:[F10]: desplazamiento del texto en la barra de titulo
|
||||||
- kbd:[F11] / kbd:[F12]: desplazamiento del texto en la lista de nicks
|
- kbd:[F11] / kbd:[F12]: desplazamiento del texto en la lista de nick
|
||||||
- kbd:[Tab]: completa los textos o nicks que se escriben
|
- kbd:[Tab]: Completa los textos o nick que se escriben
|
||||||
- kbd:[PgUp] / kbd:[PgDn]: desplazamiento del texto en el buffer
|
- kbd:[PgUp] / kbd:[PgDn]: desplazamiento del texto en el buffer
|
||||||
- kbd:[Alt+a]: salta al siguiente buffer con actividad reciente
|
- kbd:[Alt+a]: salta al siguiente buffer con actividad reciente
|
||||||
|
|
||||||
@@ -356,10 +391,10 @@ alguna tecla.
|
|||||||
Por ejemplo, para asignar la combinación kbd:[Alt+!] al comando `/buffer close`:
|
Por ejemplo, para asignar la combinación kbd:[Alt+!] al comando `/buffer close`:
|
||||||
|
|
||||||
----
|
----
|
||||||
/key bind (presionamos Alt-k) (presionamos Alt-!) /buffer close
|
/key bind (presionamos alt-k) (presionamos alt-!) /buffer close
|
||||||
----
|
----
|
||||||
|
|
||||||
El comando tendrá un aspecto similar a esto:
|
El comando se vera mas o menos así:
|
||||||
|
|
||||||
----
|
----
|
||||||
/key bind meta-! /buffer close
|
/key bind meta-! /buffer close
|
||||||
@@ -372,25 +407,28 @@ Para eliminar una combinación:
|
|||||||
----
|
----
|
||||||
|
|
||||||
[[plugins_scripts]]
|
[[plugins_scripts]]
|
||||||
== Complementos/scripts
|
== Plugins/scripts
|
||||||
|
|
||||||
En algunas distribuciones como Debian, los complementos están disponibles en
|
En algunas distribuciones como Debian, los plugins están disponibles en
|
||||||
un paquete separado (como weechat-plugin).
|
un paquete separado (como weechat-plugin).
|
||||||
Los complementos se cargan de manera automática cuando son encontrados por WeeChat
|
Los plugins se cargan de manera automática cuando son encontrados por WeeChat
|
||||||
(por favor, refierase a la documentación de WeeChat para ver como cargar/descargar
|
(por favor, refierase a la documentación de WeeChat para ver como cargar/descargar
|
||||||
complementos y scripts).
|
plugins y scripts).
|
||||||
|
|
||||||
Muchos scripts externo (ofrecidos por colaboradores) están disponibles para WeeChat, puede
|
// TRANSLATION MISSING
|
||||||
descargar e instalar scripts desde el repositorio mediante el comando `/script`,
|
Many external scripts (from contributors) are available for WeeChat, you can
|
||||||
por ejemplo:
|
download and install scripts from the repository with the `/script` command,
|
||||||
|
for example:
|
||||||
|
|
||||||
----
|
----
|
||||||
/script install go.py
|
/script install go.py
|
||||||
----
|
----
|
||||||
|
|
||||||
Vea `/help script` para obtener más información.
|
// TRANSLATION MISSING
|
||||||
|
See `/help script` for more info.
|
||||||
|
|
||||||
Hay una lista de scripts disponibles en WeeChat mediante el comando `/script` o en este enlace:
|
// TRANSLATION MISSING
|
||||||
|
A list of scripts is available in WeeChat with `/script` or at this URL:
|
||||||
https://weechat.org/scripts
|
https://weechat.org/scripts
|
||||||
|
|
||||||
[[more_doc]]
|
[[more_doc]]
|
||||||
@@ -399,4 +437,4 @@ https://weechat.org/scripts
|
|||||||
Ahora puede usar WeeChat y leer las FAQ/documentación para cada pregunta
|
Ahora puede usar WeeChat y leer las FAQ/documentación para cada pregunta
|
||||||
en: https://weechat.org/doc
|
en: https://weechat.org/doc
|
||||||
|
|
||||||
¡Disfrute de WeeChat!
|
Disfrute de WeeChat!
|
||||||
|
|||||||
+14
-1
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2003-2022 Sébastien Helleu <flashcode@flashtux.org>
|
# Copyright (C) 2003-2021 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.
|
||||||
#
|
#
|
||||||
@@ -122,6 +122,19 @@ if(ENABLE_DOC)
|
|||||||
add_custom_target(doc-quickstart-fr ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.fr.html)
|
add_custom_target(doc-quickstart-fr ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.fr.html)
|
||||||
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.fr.html DESTINATION ${DATAROOTDIR}/doc/${PROJECT_NAME})
|
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.fr.html DESTINATION ${DATAROOTDIR}/doc/${PROJECT_NAME})
|
||||||
|
|
||||||
|
# tester's guide
|
||||||
|
add_custom_command(
|
||||||
|
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.fr.html
|
||||||
|
COMMAND ${ASCIIDOCTOR_EXECUTABLE} ARGS ${ASCIIDOCTOR_ARGS} -o weechat_tester.fr.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.fr.adoc
|
||||||
|
DEPENDS
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/../docinfo.html
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.fr.adoc
|
||||||
|
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
||||||
|
COMMENT "Building weechat_tester.fr.html"
|
||||||
|
)
|
||||||
|
add_custom_target(doc-tester-fr ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.fr.html)
|
||||||
|
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.fr.html DESTINATION ${DATAROOTDIR}/doc/${PROJECT_NAME})
|
||||||
|
|
||||||
# relay protocol
|
# relay protocol
|
||||||
add_custom_command(
|
add_custom_command(
|
||||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_relay_protocol.fr.html
|
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_relay_protocol.fr.html
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user