1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-28 22:06:38 +02:00

doc: change formatting in asciidoctor tables

This commit is contained in:
Sébastien Helleu
2022-06-23 20:43:46 +02:00
parent de3d670ca7
commit 031819173b
27 changed files with 8058 additions and 8058 deletions
+108 -108
View File
@@ -109,11 +109,11 @@ Liste ist nicht vollständig):
|===
| API Funktion | Argumente | Beispiele| Beschreibung
| hook_modifier |
irc_in_yyy |
pass:[irc_in_privmsg] +
pass:[irc_in_notice] |
Eine Nachricht die von der IRC Erweiterung empfangen wurde und bevor sie nach UTF-8 dekodiert wurde (intern
| hook_modifier
| irc_in_yyy
| pass:[irc_in_privmsg] +
pass:[irc_in_notice]
| Eine Nachricht die von der IRC Erweiterung empfangen wurde und bevor sie nach UTF-8 dekodiert wurde (intern
verwendet). +
+
Es wird empfohlen den Modifier `+irc_in2_yyy+` zu nutzen, da die empfangene Zeichenkette
@@ -121,14 +121,14 @@ Liste ist nicht vollständig):
siehe Funktion `+hook_modifier+` in der
link:weechat_plugin_api.en.html#_hook_modifier[WeeChat Anleitung für API Erweiterung].
| hook_signal |
xxx,irc_out_yyy +
xxx,irc_outtags_yyy |
pass:[*,irc_out_privmsg] +
| hook_signal
| xxx,irc_out_yyy +
xxx,irc_outtags_yyy
| pass:[*,irc_out_privmsg] +
pass:[*,irc_out_notice] +
pass:[*,irc_outtags_privmsg] +
pass:[*,irc_outtags_notice] |
Eine Nachricht welche von der IRC Erweiterung versendet wurde, nachdem diese entsprechend
pass:[*,irc_outtags_notice]
| Eine Nachricht welche von der IRC Erweiterung versendet wurde, nachdem diese entsprechend
der Benutzereinstellung `encode` Charset kodiert (falls abweichend von der `UTF-8` Standardeinstellung). +
+
Es wird empfohlen das Signal `+xxx,irc_out1_yyy+` zu nutzen, da die empfangene Zeichenkette
@@ -137,10 +137,10 @@ Liste ist nicht vollständig):
link:weechat_plugin_api.en.html#_hook_signal[WeeChat Anleitung für API Erweiterung].
| hook_process +
hook_process_hashtable |
- |
- |
Ausgabe des Befehls, dass an den Callback gesendet wurde, kann ungültige UTF-8 Daten enthalten.
hook_process_hashtable
| -
| -
| Ausgabe des Befehls, dass an den Callback gesendet wurde, kann ungültige UTF-8 Daten enthalten.
|===
@@ -570,14 +570,14 @@ Liste der Skript API Funktionen:
|===
| Kategorie | Funktionen
| Allgemein |
register
| Allgemein
| register
| Erweiterungen |
plugin_get_name
| Erweiterungen
| plugin_get_name
| Strings |
charset_set +
| Strings
| charset_set +
iconv_to_internal +
iconv_from_internal +
gettext +
@@ -596,13 +596,13 @@ Liste der Skript API Funktionen:
string_eval_expression +
string_eval_path_home
| Verzeichnisse |
mkdir_home +
| Verzeichnisse
| mkdir_home +
mkdir +
mkdir_parents
| sortierte Listen |
list_new +
| sortierte Listen
| list_new +
list_add +
list_search +
list_search_pos +
@@ -618,8 +618,8 @@ Liste der Skript API Funktionen:
list_remove_all +
list_free
| Konfigurationsdatei |
config_new +
| Konfigurationsdatei
| config_new +
config_new_section +
config_search_section +
config_new_option +
@@ -656,12 +656,12 @@ Liste der Skript API Funktionen:
config_set_desc_plugin +
config_unset_plugin
| Tastenbelegung |
key_bind +
| Tastenbelegung
| key_bind +
key_unbind
| Ausgabe |
prefix +
| Ausgabe
| prefix +
color +
print (für Python: prnt) +
print_date_tags (für Python: prnt_date_tags) +
@@ -669,8 +669,8 @@ Liste der Skript API Funktionen:
print_y_date_tags (für Python: prnt_y_date_tags) +
log_print
| Hooks |
hook_command +
| Hooks
| hook_command +
hook_command_run +
hook_timer +
hook_fd +
@@ -695,8 +695,8 @@ Liste der Skript API Funktionen:
unhook +
unhook_all
| Buffer |
buffer_new +
| Buffer
| buffer_new +
buffer_new_props +
current_buffer +
buffer_search +
@@ -712,16 +712,16 @@ Liste der Skript API Funktionen:
buffer_string_replace_local_var +
buffer_match_list
| Fenster |
current_window +
| Fenster
| current_window +
window_search_with_buffer +
window_get_integer +
window_get_string +
window_get_pointer +
window_set_title
| Nickliste |
nicklist_add_group +
| Nickliste
| nicklist_add_group +
nicklist_search_group +
nicklist_add_nick +
nicklist_search_nick +
@@ -737,8 +737,8 @@ Liste der Skript API Funktionen:
nicklist_nick_get_pointer +
nicklist_nick_set
| Bars |
bar_item_search +
| Bars
| bar_item_search +
bar_item_new +
bar_item_update +
bar_item_remove +
@@ -748,23 +748,23 @@ Liste der Skript API Funktionen:
bar_update +
bar_remove
| Befehle |
command +
| Befehle
| command +
command_options
| Vervollständigung |
completion_new +
| Vervollständigung
| completion_new +
completion_search +
completion_get_string +
completion_list_add +
completion_free
| Informationen |
info_get +
| Informationen
| info_get +
info_get_hashtable
| Infolisten |
infolist_new +
| Infolisten
| infolist_new +
infolist_new_item +
infolist_new_var_integer +
infolist_new_var_string +
@@ -782,8 +782,8 @@ Liste der Skript API Funktionen:
infolist_time +
infolist_free
| hdata |
hdata_get +
| hdata
| hdata_get +
hdata_get_var_offset +
hdata_get_var_type_string +
hdata_get_var_array_size +
@@ -804,8 +804,8 @@ Liste der Skript API Funktionen:
hdata_update +
hdata_get_string
| Upgrade |
upgrade_new +
| Upgrade
| upgrade_new +
upgrade_write_object +
upgrade_read +
upgrade_close
@@ -820,13 +820,13 @@ Liste der Konstanten in Skript API:
|===
| Kategorie | Konstanten
| return codes |
`WEECHAT_RC_OK` (integer) +
| return codes
| `WEECHAT_RC_OK` (integer) +
`WEECHAT_RC_OK_EAT` (integer) +
`WEECHAT_RC_ERROR` (integer)
| Konfigurationsdatei |
`WEECHAT_CONFIG_READ_OK` (integer) +
| Konfigurationsdatei
| `WEECHAT_CONFIG_READ_OK` (integer) +
`WEECHAT_CONFIG_READ_MEMORY_ERROR` (integer) +
`WEECHAT_CONFIG_READ_FILE_NOT_FOUND` (integer) +
`WEECHAT_CONFIG_WRITE_OK` (integer) +
@@ -841,23 +841,23 @@ Liste der Konstanten in Skript API:
`WEECHAT_CONFIG_OPTION_UNSET_OK_REMOVED` (integer) +
`WEECHAT_CONFIG_OPTION_UNSET_ERROR` (integer)
| sortierte Listen |
`WEECHAT_LIST_POS_SORT` (string) +
| sortierte Listen
| `WEECHAT_LIST_POS_SORT` (string) +
`WEECHAT_LIST_POS_BEGINNING` (string) +
`WEECHAT_LIST_POS_END` (string)
| Hotlist |
`WEECHAT_HOTLIST_LOW` (string) +
| Hotlist
| `WEECHAT_HOTLIST_LOW` (string) +
`WEECHAT_HOTLIST_MESSAGE` (string) +
`WEECHAT_HOTLIST_PRIVATE` (string) +
`WEECHAT_HOTLIST_HIGHLIGHT` (string)
| hook Prozesse |
`WEECHAT_HOOK_PROCESS_RUNNING` (integer) +
| hook Prozesse
| `WEECHAT_HOOK_PROCESS_RUNNING` (integer) +
`WEECHAT_HOOK_PROCESS_ERROR` (integer)
| hook Connect |
`WEECHAT_HOOK_CONNECT_OK` (integer) +
| hook Connect
| `WEECHAT_HOOK_CONNECT_OK` (integer) +
`WEECHAT_HOOK_CONNECT_ADDRESS_NOT_FOUND` (integer) +
`WEECHAT_HOOK_CONNECT_IP_ADDRESS_NOT_FOUND` (integer) +
`WEECHAT_HOOK_CONNECT_CONNECTION_REFUSED` (integer) +
@@ -869,8 +869,8 @@ Liste der Konstanten in Skript API:
`WEECHAT_HOOK_CONNECT_TIMEOUT` (integer) +
`WEECHAT_HOOK_CONNECT_SOCKET_ERROR` (integer)
| hook Signal |
`WEECHAT_HOOK_SIGNAL_STRING` (string) +
| hook Signal
| `WEECHAT_HOOK_SIGNAL_STRING` (string) +
`WEECHAT_HOOK_SIGNAL_INT` (string) +
`WEECHAT_HOOK_SIGNAL_POINTER` (string)
|===
@@ -1335,61 +1335,61 @@ Das Ergebnis ist eine Hashtabelle mit folgenden Schlüsseln
|===
| Schlüssel | Seit WeeChat ^(1)^ | Beschreibung | Beispiel
| Tags | 0.4.0 |
Tags in der Nachricht (kann leer sein). |
`+time=2015-06-27T16:40:35.000Z+`
| Tags | 0.4.0
| Tags in der Nachricht (kann leer sein).
| `+time=2015-06-27T16:40:35.000Z+`
| tag_xxx | 3.3 |
Wert des Tags "xxx" ohne Escapezeichen (ein Schlüssel pro Tag). |
`+2015-06-27T16:40:35.000Z+`
| tag_xxx | 3.3
| 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). |
`+:nick!user@host PRIVMSG #weechat :hello!+`
| message_without_tags | 0.4.0
| Die IRC Nachricht ohne Tags (wie eine Nachricht ohne Tags).
| `+:nick!user@host PRIVMSG #weechat :hello!+`
| nick | 0.3.4 |
der ursprüngliche Nick. |
`+nick+`
| nick | 0.3.4
| der ursprüngliche Nick.
| `+nick+`
| user | 2.7 |
der ursprüngliche Benutzer. |
`+user+`
| user | 2.7
| der ursprüngliche Benutzer.
| `+user+`
| host | 0.3.4 |
der ursprüngliche Host (beinhaltet den Nick). |
`+nick!user@host+`
| host | 0.3.4
| der ursprüngliche Host (beinhaltet den Nick).
| `+nick!user@host+`
| command | 0.3.4 |
der Befehl (_PRIVMSG_, _NOTICE_, ...). |
`+PRIVMSG+`
| command | 0.3.4
| der Befehl (_PRIVMSG_, _NOTICE_, ...).
| `+PRIVMSG+`
| channel | 0.3.4 |
der Zielchanne.l|
| channel | 0.3.4
| der Zielchanne.l|
`+#weechat+`
| arguments | 0.3.4 |
das Argument des Befehls (beinhaltet den Channel). |
`+#weechat :hello!+`
| arguments | 0.3.4
| das Argument des Befehls (beinhaltet den Channel).
| `+#weechat :hello!+`
| text | 1.3 |
der Text (zum Beispiel eine Nachricht eines Users). |
`+hello!+`
| text | 1.3
| der Text (zum Beispiel eine Nachricht eines Users).
| `+hello!+`
| pos_command | 1.3 |
Index von _command_ innerhalb einer Nachricht ("-1" falls _command_ nicht gefunden wird). |
`+47+`
| pos_command | 1.3
| Index von _command_ innerhalb einer Nachricht ("-1" falls _command_ nicht gefunden wird).
| `+47+`
| pos_arguments | 1.3 |
Index von_arguments_ innerhalb einer Nachricht ("-1" falls _arguments_ nicht gefunden wird). |
`+55+`
| pos_arguments | 1.3
| Index von_arguments_ innerhalb einer Nachricht ("-1" falls _arguments_ nicht gefunden wird).
| `+55+`
| pos_channel | 1.3 |
Index von _channel_ innerhalb einer Nachricht ("-1" falls _channel_ nicht gefunden wird). |
`+55+`
| pos_channel | 1.3
| Index von _channel_ innerhalb einer Nachricht ("-1" falls _channel_ nicht gefunden wird).
| `+55+`
| pos_text | 1.3 |
Index von _text_ innerhalb einer Nachricht ("-1" falls _text_ nicht gefunden wird). |
`+65+`
| pos_text | 1.3
| Index von _text_ innerhalb einer Nachricht ("-1" falls _text_ nicht gefunden wird).
| `+65+`
|===
[NOTE]
+258 -258
View File
@@ -206,116 +206,116 @@ Liste von häufig verwendeten Optionen:
|===
| Option | Wert | Standardwert | Beschreibung
| CMAKE_BUILD_TYPE | `Debug`, `Release`, `RelWithDebInfo`, `MinSizeRel` | |
Art des builds: `Debug` (oder `RelWithDebInfo`) sollte verwendet werden, wenn meine eine Entwicklerversion
| CMAKE_BUILD_TYPE | `Debug`, `Release`, `RelWithDebInfo`, `MinSizeRel` |
| Art des builds: `Debug` (oder `RelWithDebInfo`) sollte verwendet werden, wenn meine eine Entwicklerversion
von WeeChat nutzt.
| CMAKE_INSTALL_PREFIX | Verzeichnis | /usr/local |
Verzeichnis in welchem WeeChat installiert wird.
| CMAKE_INSTALL_PREFIX | Verzeichnis | /usr/local
| Verzeichnis in welchem WeeChat installiert wird.
| WEECHAT_HOME | Verzeichnis | (empty string) |
Standard-Verzeichnis in welchem die Daten liegen. +
| WEECHAT_HOME | Verzeichnis | (empty string)
| Standard-Verzeichnis in welchem die Daten liegen. +
Bei einem leeren Wert (empfohlen) werden standardmäßig XDG-Verzeichnisse verwendet.
Wird ein Verzeichnis angegeben, wird dieses Verzeichnis für alle Dateien verwendet.
Man kann auch vier, durch Doppelpunkt, getrennten Verzeichnissen angeben. Die Reihenfolge gibt folgende
Ziele an: Konfiguration, Daten, Cache, Laufzeit.
| ENABLE_ALIAS | `ON`, `OFF` | ON |
kompiliert <<command_aliases,Alias Erweiterung>>.
| ENABLE_ALIAS | `ON`, `OFF` | ON
| kompiliert <<command_aliases,Alias Erweiterung>>.
| ENABLE_BUFLIST | `ON`, `OFF` | ON |
kompiliert <<buflist,Buflist Erweiterung>>.
| ENABLE_BUFLIST | `ON`, `OFF` | ON
| kompiliert <<buflist,Buflist Erweiterung>>.
| ENABLE_CHARSET | `ON`, `OFF` | ON |
kompiliert <<charset,Charset Erweiterung>>.
| ENABLE_CHARSET | `ON`, `OFF` | ON
| kompiliert <<charset,Charset Erweiterung>>.
| ENABLE_MAN | `ON`, `OFF` | OFF |
erstellt die man page.
| ENABLE_MAN | `ON`, `OFF` | OFF
| erstellt die man page.
| ENABLE_DOC | `ON`, `OFF` | OFF |
erstellt die HTML Dokumentation.
| ENABLE_DOC | `ON`, `OFF` | OFF
| erstellt die HTML Dokumentation.
| ENABLE_ENCHANT | `ON`, `OFF` | OFF |
kompiliert <<spell_checking,Spell Erweiterung>> mittels Enchant.
| ENABLE_ENCHANT | `ON`, `OFF` | OFF
| kompiliert <<spell_checking,Spell Erweiterung>> mittels Enchant.
| ENABLE_EXEC | `ON`, `OFF` | ON |
kompiliert <<external_commands,Exec Erweiterung>>.
| ENABLE_EXEC | `ON`, `OFF` | ON
| kompiliert <<external_commands,Exec Erweiterung>>.
| ENABLE_FIFO | `ON`, `OFF` | ON |
kompiliert <<fifo_pipe,Fifo Erweiterung>>.
| ENABLE_FIFO | `ON`, `OFF` | ON
| kompiliert <<fifo_pipe,Fifo Erweiterung>>.
| ENABLE_FSET | `ON`, `OFF` | ON |
kompiliert <<fset,Fset Erweiterung>>.
| ENABLE_FSET | `ON`, `OFF` | ON
| kompiliert <<fset,Fset Erweiterung>>.
| ENABLE_GUILE | `ON`, `OFF` | ON |
kompiliert <<scripting_plugins,Guile Erweiterung>> (Scheme).
| ENABLE_GUILE | `ON`, `OFF` | ON
| kompiliert <<scripting_plugins,Guile Erweiterung>> (Scheme).
| ENABLE_IRC | `ON`, `OFF` | ON |
kompiliert <<irc,IRC Erweiterung>>.
| ENABLE_IRC | `ON`, `OFF` | ON
| kompiliert <<irc,IRC Erweiterung>>.
| ENABLE_JAVASCRIPT | `ON`, `OFF` | OFF |
kompiliert <<scripting_plugins,JavaScript Erweiterung>>.
| ENABLE_JAVASCRIPT | `ON`, `OFF` | OFF
| kompiliert <<scripting_plugins,JavaScript Erweiterung>>.
| ENABLE_LARGEFILE | `ON`, `OFF` | ON |
Unterstützung großer Dateien.
| ENABLE_LARGEFILE | `ON`, `OFF` | ON
| Unterstützung großer Dateien.
| ENABLE_LOGGER | `ON`, `OFF` | ON |
kompiliert <<buffer_logging,Logger Erweiterung>>.
| ENABLE_LOGGER | `ON`, `OFF` | ON
| kompiliert <<buffer_logging,Logger Erweiterung>>.
| ENABLE_LUA | `ON`, `OFF` | ON |
kompiliert <<scripting_plugins,Lua Erweiterung>>.
| ENABLE_LUA | `ON`, `OFF` | ON
| kompiliert <<scripting_plugins,Lua Erweiterung>>.
| ENABLE_NCURSES | `ON`, `OFF` | ON |
kompiliert Ncurses Oberfläche.
| ENABLE_NCURSES | `ON`, `OFF` | ON
| kompiliert Ncurses Oberfläche.
| ENABLE_NLS | `ON`, `OFF` | ON |
aktiviert NLS (Übersetzungen).
| ENABLE_NLS | `ON`, `OFF` | ON
| aktiviert NLS (Übersetzungen).
| ENABLE_PERL | `ON`, `OFF` | ON |
kompiliert <<scripting_plugins,Perl Erweiterung>>.
| ENABLE_PERL | `ON`, `OFF` | ON
| kompiliert <<scripting_plugins,Perl Erweiterung>>.
| ENABLE_PHP | `ON`, `OFF` | ON |
kompiliert <<scripting_plugins,PHP Erweiterung>>.
| ENABLE_PHP | `ON`, `OFF` | ON
| kompiliert <<scripting_plugins,PHP Erweiterung>>.
| ENABLE_PYTHON | `ON`, `OFF` | ON |
kompiliert <<scripting_plugins,Python Erweiterung>>.
| ENABLE_PYTHON | `ON`, `OFF` | ON
| kompiliert <<scripting_plugins,Python Erweiterung>>.
| ENABLE_PYTHON2 | `ON`, `OFF` | OFF |
kompiliert <<scripting_plugins,Python Erweiterung>> nutzt Python 2 anstelle von Python 3.
| ENABLE_PYTHON2 | `ON`, `OFF` | OFF
| kompiliert <<scripting_plugins,Python Erweiterung>> nutzt Python 2 anstelle von Python 3.
| ENABLE_RELAY | `ON`, `OFF` | ON |
kompiliert <<relay,Relay Erweiterung>>.
| ENABLE_RELAY | `ON`, `OFF` | ON
| kompiliert <<relay,Relay Erweiterung>>.
| ENABLE_RUBY | `ON`, `OFF` | ON |
kompiliert <<scripting_plugins,Ruby Erweiterung>>.
| ENABLE_RUBY | `ON`, `OFF` | ON
| kompiliert <<scripting_plugins,Ruby Erweiterung>>.
| ENABLE_SCRIPT | `ON`, `OFF` | ON |
kompiliert <<script_manager,Script Erweiterung>>.
| ENABLE_SCRIPT | `ON`, `OFF` | ON
| kompiliert <<script_manager,Script Erweiterung>>.
| ENABLE_SCRIPTS | `ON`, `OFF` | ON |
kompiliert <<scripting_plugins,Skripten-Erweiterungen>> (Python, Perl, Ruby,
| ENABLE_SCRIPTS | `ON`, `OFF` | ON
| kompiliert <<scripting_plugins,Skripten-Erweiterungen>> (Python, Perl, Ruby,
Lua, Tcl, Guile, JavaScript, PHP).
| ENABLE_SPELL | `ON`, `OFF` | ON |
kompiliert <<spell_checking,Spell Erweiterung>>.
| ENABLE_SPELL | `ON`, `OFF` | ON
| kompiliert <<spell_checking,Spell Erweiterung>>.
| ENABLE_TCL | `ON`, `OFF` | ON |
kompiliert <<scripting_plugins,Tcl Erweiterung>>.
| ENABLE_TCL | `ON`, `OFF` | ON
| kompiliert <<scripting_plugins,Tcl Erweiterung>>.
| ENABLE_TRIGGER | `ON`, `OFF` | ON |
kompiliert <<trigger,Trigger Erweiterung>>.
| ENABLE_TRIGGER | `ON`, `OFF` | ON
| kompiliert <<trigger,Trigger Erweiterung>>.
| ENABLE_TYPING | `ON`, `OFF` | ON |
kompiliert <<typing_notifications,Typing Erweiterung>>.
| ENABLE_TYPING | `ON`, `OFF` | ON
| kompiliert <<typing_notifications,Typing Erweiterung>>.
| ENABLE_XFER | `ON`, `OFF` | ON |
kompiliert <<xfer,Xfer Erweiterung>>.
| ENABLE_XFER | `ON`, `OFF` | ON
| kompiliert <<xfer,Xfer Erweiterung>>.
| ENABLE_TESTS | `ON`, `OFF` | OFF |
kompiliert Testumgebung.
| ENABLE_TESTS | `ON`, `OFF` | OFF
| kompiliert Testumgebung.
| ENABLE_CODE_COVERAGE | `ON`, `OFF` | OFF |
kompilieren mit Optionen für Testabdeckung. +
| ENABLE_CODE_COVERAGE | `ON`, `OFF` | OFF
| kompilieren mit Optionen für Testabdeckung. +
Diese Option sollte nur für Testzwecke genutzt werden.
|===
@@ -1349,86 +1349,86 @@ Standardmäßig interpretieren WeeChat und seine Standard-Erweitertungen diese V
|===
| Name | Wert | Beschreibung
| away |
beliebige Zeichenkette |
Abwesenheitsnotiz auf dem Server, wird durch IRC Erweiterung genutzt.
| away
| beliebige Zeichenkette
| Abwesenheitsnotiz auf dem Server, wird durch IRC Erweiterung genutzt.
| channel |
beliebige Zeichenkette |
Channel-Name, wird durch irc/xfer Erweiterung und dem Debug-Buffer von relay/trigger Erweiterung genutzt.
| channel
| beliebige Zeichenkette
| Channel-Name, wird durch irc/xfer Erweiterung und dem Debug-Buffer von relay/trigger Erweiterung genutzt.
| charset_modifier |
beliebige Zeichenkette |
Charset modifier für den Server-Buffer, wird durch IRC Erweiterung genutzt.
| charset_modifier
| beliebige Zeichenkette
| Charset modifier für den Server-Buffer, wird durch IRC Erweiterung genutzt.
| completion_default_template |
beliebige Zeichenkette |
Vorlage für die standardmäßige Vervollständigung innerhalb eines Buffers, überschreibt die Option
| completion_default_template
| beliebige Zeichenkette
| Vorlage für die standardmäßige Vervollständigung innerhalb eines Buffers, überschreibt die Option
`weechat.completion.default_template`.
| filter |
beliebige Zeichenkette |
Filter definiert für einige Buffer `/fset`, `/server raw` (irc) und `/script`.
| filter
| beliebige Zeichenkette
| Filter definiert für einige Buffer `/fset`, `/server raw` (irc) und `/script`.
| host |
beliebige Zeichenkette |
eigener Host (sofern bekannt), wird durch IRC Erweiterung genutzt.
| host
| beliebige Zeichenkette
| eigener Host (sofern bekannt), wird durch IRC Erweiterung genutzt.
| lag |
beliebige Zeichenkette |
Verzögerung auf dem Server, wird durch IRC Erweiterung genutzt.
| lag
| beliebige Zeichenkette
| Verzögerung auf dem Server, wird durch IRC Erweiterung genutzt.
| name |
beliebige Zeichenkette |
Buffername (Vorsicht, dies ist nicht der vollständige Name des Buffers und reicht nicht aus, um einen Buffer zu identifizieren oder zu suchen).
| name
| beliebige Zeichenkette
| Buffername (Vorsicht, dies ist nicht der vollständige Name des Buffers und reicht nicht aus, um einen Buffer zu identifizieren oder zu suchen).
| nick |
beliebige Zeichenkette |
eigener Nick, wird durch IRC und xfer Erweiterung genutzt.
| nick
| beliebige Zeichenkette
| eigener Nick, wird durch IRC und xfer Erweiterung genutzt.
| no_log |
`1` (oder jede andere nicht leere Zeichenkette) |
Wenn festgelegt, protokolliert die Logger-Erweiterung nichts für den Buffer.
| no_log
| `1` (oder jede andere nicht leere Zeichenkette)
| Wenn festgelegt, protokolliert die Logger-Erweiterung nichts für den Buffer.
| plugin |
beliebige Zeichenkette |
Name der Erweiterung welche den Buffer erstellt hat (`core` für WeeChat-Buffer).
| plugin
| beliebige Zeichenkette
| Name der Erweiterung welche den Buffer erstellt hat (`core` für WeeChat-Buffer).
| script_close_cb |
beliebige Zeichenkette |
Close callback, für diesen Buffer durch ein Skript definiert.
| script_close_cb
| beliebige Zeichenkette
| Close callback, für diesen Buffer durch ein Skript definiert.
| script_close_cb_data |
beliebige Zeichenkette |
Daten für ein Close callback, welches durch ein Skript für diesen Buffer definiert wurde.
| script_close_cb_data
| beliebige Zeichenkette
| Daten für ein Close callback, welches durch ein Skript für diesen Buffer definiert wurde.
| script_input_cb |
beliebige Zeichenkette |
Input callback, für diesen Buffer durch ein Skript definiert.
| script_input_cb
| beliebige Zeichenkette
| Input callback, für diesen Buffer durch ein Skript definiert.
| script_input_cb_data |
beliebige Zeichenkette |
Daten für ein Input callback, welches durch ein Skript für diesen Buffer definiert wurde.
| script_input_cb_data
| beliebige Zeichenkette
| Daten für ein Input callback, welches durch ein Skript für diesen Buffer definiert wurde.
| script_name |
beliebige Zeichenkette |
Name des Skriptes welches den Buffer erstellt hat.
| script_name
| beliebige Zeichenkette
| Name des Skriptes welches den Buffer erstellt hat.
| server |
beliebige Zeichenkette |
Servername, wird durch IRC Erweiterung genutzt und durch den Debug-Buffer von relay/trigger Erweiterung.
| server
| beliebige Zeichenkette
| Servername, wird durch IRC Erweiterung genutzt und durch den Debug-Buffer von relay/trigger Erweiterung.
| spell_suggest |
beliebige Zeichenkette |
falsch geschriebenes Wort und Korrekturvorschläge (Format: "fehlerhaftes Wort:Korrekturvorschläge"), wird durch
| spell_suggest
| beliebige Zeichenkette
| falsch geschriebenes Wort und Korrekturvorschläge (Format: "fehlerhaftes Wort:Korrekturvorschläge"), wird durch
spell-Erweiterung definiert.
| trigger_filter |
beliebige Zeichenkette |
Trigger-Filter, wird durch Trigger-Erweiterung definiert.
| trigger_filter
| beliebige Zeichenkette
| Trigger-Filter, wird durch Trigger-Erweiterung definiert.
| type |
beliebige Zeichenkette, zum Beispiel:
| type
| beliebige Zeichenkette, zum Beispiel:
`channel`,
`debug`,
`exec`,
@@ -1438,8 +1438,8 @@ Standardmäßig interpretieren WeeChat und seine Standard-Erweitertungen diese V
`script`,
`server`,
`user`,
`xfer` |
Buffertyp, festgelegt von WeeChat und vielen Erweiterungen.
`xfer`
| Buffertyp, festgelegt von WeeChat und vielen Erweiterungen.
|===
@@ -2685,65 +2685,65 @@ Aufzählung von Bar-Optionen:
|===
| Option | Wert | Beschreibung
| type | `root`, `window` |
Eine Bar vom Typ `root` wird nur einmal auf dem Bildschirm dargestellt und dies
| type | `root`, `window`
| Eine Bar vom Typ `root` wird nur einmal auf dem Bildschirm dargestellt und dies
außerhalb von Fenstern. Die Standardbar _buflist_ ist vom Typ `root`. +
Eine Bar vom Typ `window` wird hingegen in jedem Fenster dargestellt, zum Beispiel
wenn man den Bildschirm teilt (mit `/window splith` oder `/window splitv`). Diese
Bar wird nun in jedem einzelnen Fenster angezeigt. Die Standardbar _title_, _status_,
_input_ und _nicklist_ sind vom Typ `window`.
| position | `top`, `bottom`, `left`, `right` |
Position der Bar: ober- oder unterhalb des Chatfensters, oder links/rechts davon.
| position | `top`, `bottom`, `left`, `right`
| Position der Bar: ober- oder unterhalb des Chatfensters, oder links/rechts davon.
| priority | integer ≥ 0 |
Priorität für die Bar: legt die Reihenfolge fest in der die Bars angeordnet werden sollen,
| priority | integer ≥ 0
| Priorität für die Bar: legt die Reihenfolge fest in der die Bars angeordnet werden sollen,
wenn mehrere Bars den selben Typ und Position besitzen. +
Die Bars werden vom Rand zur Mitte des Bildschirms gezeichnet. Eine höhere Priorität
bewirkt, dass die Bar näher am Rand gezeichnet wird. +
Beispiel: Die _input_ Bar hat eine Priorität von 1000 und wird somit vor der _status_ Bars
gezeichnet, da diese lediglich eine Priorität von 500 besitzt.
| size | integer ≥ 0 |
Die Größe der Bar: Anzahl der Spalten, falls die Bar links/rechts bzw. Anzahl an Zeilen falls
| size | integer ≥ 0
| Die Größe der Bar: Anzahl der Spalten, falls die Bar links/rechts bzw. Anzahl an Zeilen falls
die Bar oben/unten dargestellt wird. Wird eine Größe `0` gewählt, dann wird die Größe der Bar
automatisch bestimmt.
| size_max | integer ≥ 0 |
Die maximale Größe der Bar, `0` = keine Limitierung (diese Option wird nur genutzt, falls die
| size_max | integer ≥ 0
| Die maximale Größe der Bar, `0` = keine Limitierung (diese Option wird nur genutzt, falls die
Option `size` = `0` ist).
| color_bg | color |
Hintergrundfarbe, für die Bar.
| color_bg | color
| Hintergrundfarbe, für die Bar.
| color_fg | color |
Textfarbe, für die Bar.
| color_fg | color
| Textfarbe, für die Bar.
| color_delim | color |
Farbe der Trennzeichen, in der Bar.
| color_delim | color
| Farbe der Trennzeichen, in der Bar.
| hidden | `on`, `off` |
Ist diese Option `on`, wird die Bar versteckt. +
| hidden | `on`, `off`
| Ist diese Option `on`, wird die Bar versteckt. +
Hinweis: anstelle dieser Option sollte vorzugsweise der `/bar` Befehl genutzt werden.
Beispiel: `/bar toggle nicklist` (siehe Befehl <<command_weechat_bar,/bar>>).
| separator | `on`, `off` |
Ist diese Option `on`, wird ein Separator (Linie) gezeichnet die eine Bar von anderen
| separator | `on`, `off`
| Ist diese Option `on`, wird ein Separator (Linie) gezeichnet die eine Bar von anderen
Bars oder dem Chatbereich trennt.
| items | string |
Eine Aufzählung von _items_ (siehe <<bar_items,items>> für weitere Informationen).
| items | string
| Eine Aufzählung von _items_ (siehe <<bar_items,items>> für weitere Informationen).
| filling_left_right | `+horizontal+`, `+vertical+`, `+columns_horizontal+`, `+columns_vertical+` |
Art, wie der Inhalt der Bar die `links` oder `rechts` gezeichnet wird, dargestellt wird (siehe
| filling_left_right | `+horizontal+`, `+vertical+`, `+columns_horizontal+`, `+columns_vertical+`
| Art, wie der Inhalt der Bar die `links` oder `rechts` gezeichnet wird, dargestellt wird (siehe
<<bar_filling,filling>> für weitere Informationen).
| filling_top_bottom | `+horizontal+`, `+vertical+`, `+columns_horizontal+`, `+columns_vertical+` |
Art, wie der Inhalt der Bar die `oben` oder `unten` gezeichnet wird, dargestellt wird (siehe
| filling_top_bottom | `+horizontal+`, `+vertical+`, `+columns_horizontal+`, `+columns_vertical+`
| Art, wie der Inhalt der Bar die `oben` oder `unten` gezeichnet wird, dargestellt wird (siehe
<<bar_filling,filling>> für weitere Informationen).
| conditions | string |
Bedingungen, wann die Bar angezeigt wird (siehe <<bar_conditions,conditions>> für weitere
| conditions | string
| Bedingungen, wann die Bar angezeigt wird (siehe <<bar_conditions,conditions>> für weitere
Informationen).
|===
@@ -3981,15 +3981,15 @@ Die folgenden Signale werden von der typing-Erweiterung empfangen:
|===
| Signal | Argumente | Beschreibung
| typing_set_nick |
Zeichenkette: Bufferpointer + ";" + Status (möglich: "off", "typing", "paused",
| typing_set_nick
| Zeichenkette: Bufferpointer + ";" + Status (möglich: "off", "typing", "paused",
"cleared") + ";" + Nick. +
Beispiele: "0x1234abcd;typing;alice". |
Schreibstatus für einen Nick in einem Buffer festlegen.
Beispiele: "0x1234abcd;typing;alice".
| Schreibstatus für einen Nick in einem Buffer festlegen.
| typing_reset_buffer |
Pointer: Buffer. |
Schreibstatus für alle Nicks in einem Buffer entfernen.
| typing_reset_buffer
| Pointer: Buffer.
| Schreibstatus für alle Nicks in einem Buffer entfernen.
|===
[[typing_options]]
@@ -4343,25 +4343,25 @@ Liste der standardmäßigen Trigger:
|===
| Name | Hook | Beschreibung
| beep | print |
Beep bei Highlight/privaten Nachrichten.
| beep | print
| Beep bei Highlight/privaten Nachrichten.
| cmd_pass | modifier |
unterdrückt Passwörter in den Befehlen:
| cmd_pass | modifier
| unterdrückt Passwörter in den Befehlen:
`pass:[/msg nickserv id\|identify\|set password\|ghost\|release\|regain\|recover]`,
`pass:[/oper]`,
`pass:[/quote pass]`,
`pass:[/secure passphrase\|decrypt\|set]`.
| cmd_pass_register | modifier |
unterdrückt Passwort im Befehl `pass:[/msg nickserv register]`.
| cmd_pass_register | modifier
| unterdrückt Passwort im Befehl `pass:[/msg nickserv register]`.
| msg_auth | modifier |
unterdrückt Passwort einer IRC auth Nachricht (Nachricht welche vom Server empfangen wird,
| msg_auth | modifier
| unterdrückt Passwort einer IRC auth Nachricht (Nachricht welche vom Server empfangen wird,
nachdem der User den Befehl verschickt hat).
| server_pass | modifier |
unterdrückt Passwort bei den Befehlen `/server` und `/connect`.
| server_pass | modifier
| unterdrückt Passwort bei den Befehlen `/server` und `/connect`.
|===
[[trigger_anatomy]]
@@ -4374,36 +4374,36 @@ Ein Trigger hat folgende Optionen (Benennung ist
|===
| Option | Wert | Beschreibung
| enabled | `on`, `off` |
Wenn die Option auf `off` gesetzt ist, dann ist der Trigger deaktiviert und die Ausführung ist gestoppt.
| enabled | `on`, `off`
| Wenn die Option auf `off` gesetzt ist, dann ist der Trigger deaktiviert und die Ausführung ist gestoppt.
| hook | `+signal+`, `+hsignal+`, `+modifier+`, `+line+`, `+print+`, `+command+`,
`+command_run+`, `+timer+`, `+config+`, `+focus+`, `+info+`, `+info_hashtable+` |
Der hook welcher durch Trigger genutzt werden soll. Für weitere Informationen siehe
`+command_run+`, `+timer+`, `+config+`, `+focus+`, `+info+`, `+info_hashtable+`
| Der hook welcher durch Trigger genutzt werden soll. Für weitere Informationen siehe
link:weechat_plugin_api.en.html#hooks[Anleitung für API Erweiterung / Hooks] (Englisch).
| arguments | string |
Argumente welche der Hook nutzen soll. Dies ist davon abhängig welcher Hook-Typ genutzt wird.
| arguments | string
| Argumente welche der Hook nutzen soll. Dies ist davon abhängig welcher Hook-Typ genutzt wird.
| conditions | string |
Bedingung wann der Trigger ausgeführt werden soll; Inhalt ist evaluiert
| conditions | string
| Bedingung wann der Trigger ausgeführt werden soll; Inhalt ist evaluiert
(siehe Befehl <<command_weechat_eval,/eval>>).
| regex | string |
Einer oder mehrere erweiterte reguläre POSIX Ausdrücke, um die empfangenen Daten
| regex | string
| Einer oder mehrere erweiterte reguläre POSIX Ausdrücke, um die empfangenen Daten
im Hook-Callback zu ändern (oder Daten die durch die Trigger-Erweiterung hinzugefügt
worden sind), siehe <<trigger_regex,reguläre Ausdrücke>>.
| command | string |
Befehl der ausgeführt werden soll (mehrere Befehle können durch Kommata
| command | string
| Befehl der ausgeführt werden soll (mehrere Befehle können durch Kommata
voneinander getrennt werden); Inhalt ist evaluiert (siehe Befehl <<command_weechat_eval,/eval>>).
| return_code | `+ok+`, `+ok_eat+`, `+error+` |
Rückgabewert des Callback (Standardwert: `ok`, sollte für fast jeden Trigger
| return_code | `+ok+`, `+ok_eat+`, `+error+`
| Rückgabewert des Callback (Standardwert: `ok`, sollte für fast jeden Trigger
genutzt werden. Die anderen Werte werden höchst selten verwendet).
| post_action | `none`, `disable`, `delete` |
Aktion welche nach der Abarbeitung des Triggers ausgeführt werden soll
| post_action | `none`, `disable`, `delete`
| Aktion welche nach der Abarbeitung des Triggers ausgeführt werden soll
(Standardwert ist `none` und sollte in den meisten Fällen zur Anwendung
kommen.)
|===
@@ -4445,105 +4445,105 @@ ein Semikolon getrennt.
|===
| Hook | Argumente | Beispiele | Dokumentation (API)
| signal |
1. Signalname (Priorität erlaubt) (erforderlich) +
| signal
| 1. Signalname (Priorität erlaubt) (erforderlich) +
2. Signalname (Priorität erlaubt) +
3. ... |
`+*,irc_in_privmsg+` +
3. ...
| `+*,irc_in_privmsg+` +
`+*,irc_in_privmsg;*,irc_in_notice+` +
`+signal_sigwinch+` |
link:weechat_plugin_api.en.html#_hook_signal[hook_signal] (Englisch)
`+signal_sigwinch+`
| link:weechat_plugin_api.en.html#_hook_signal[hook_signal] (Englisch)
| hsignal |
1. Signalname (Priorität erlaubt) (erforderlich) +
| hsignal
| 1. Signalname (Priorität erlaubt) (erforderlich) +
2. Signalname (Priorität erlaubt) +
3. ... |
`+nicklist_nick_added+` |
link:weechat_plugin_api.en.html#_hook_hsignal[hook_hsignal] (Englisch)
3. ...
| `+nicklist_nick_added+`
| link:weechat_plugin_api.en.html#_hook_hsignal[hook_hsignal] (Englisch)
| modifier |
1. modifier-Name (Priorität erlaubt) (erforderlich) +
| modifier
| 1. modifier-Name (Priorität erlaubt) (erforderlich) +
2. modifier-Name (Priorität erlaubt) +
3. ... |
`+weechat_print+` +
`+5000\|input_text_display;5000\|history_add+` |
link:weechat_plugin_api.en.html#_hook_modifier[hook_modifier] (Englisch)
3. ...
| `+weechat_print+` +
`+5000\|input_text_display;5000\|history_add+`
| link:weechat_plugin_api.en.html#_hook_modifier[hook_modifier] (Englisch)
| line |
1. Buffertyp +
| line
| 1. Buffertyp +
2. Buffername +
3. Tags |
`+formatted+` +
3. Tags
| `+formatted+` +
`+free+` +
`+*;irc.libera.*+` +
`+*;irc.libera.#weechat+` +
`+formatted;irc.libera.#weechat;irc_notice+` |
link:weechat_plugin_api.en.html#_hook_line[hook_line]
`+formatted;irc.libera.#weechat;irc_notice+`
| link:weechat_plugin_api.en.html#_hook_line[hook_line]
| print |
1. Buffername +
| print
| 1. Buffername +
2. Tags +
3. Nachricht +
4. entferne Farben (0/1) |
`+irc.libera.*+` +
4. entferne Farben (0/1)
| `+irc.libera.*+` +
`+irc.libera.#weechat+` +
`+irc.libera.#weechat;irc_notice+` +
`+*;;;1+` |
link:weechat_plugin_api.en.html#_hook_print[hook_print] (Englisch)
`+*;;;1+`
| link:weechat_plugin_api.en.html#_hook_print[hook_print] (Englisch)
| command |
1. Befehlsname (Priorität erlaubt) (erforderlich) +
| command
| 1. Befehlsname (Priorität erlaubt) (erforderlich) +
2. Beschreibung (evaluiert, siehe Befehl <<command_weechat_eval,/eval>>) +
3. Argumente (evaluiert, siehe Befehl <<command_weechat_eval,/eval>>) +
4. Beschreibung der Argumente (evaluiert, siehe Befehl <<command_weechat_eval,/eval>>) +
5. Vervollständigung (evaluiert, siehe Befehl <<command_weechat_eval,/eval>>) |
`+test+` +
5. Vervollständigung (evaluiert, siehe Befehl <<command_weechat_eval,/eval>>)
| `+test+` +
`+5000\|test+` +
`+test;test command;arg1 arg2;arg1: description 1${\n}arg2: description 2+` |
link:weechat_plugin_api.en.html#_hook_command[hook_command] (Englisch)
`+test;test command;arg1 arg2;arg1: description 1${\n}arg2: description 2+`
| link:weechat_plugin_api.en.html#_hook_command[hook_command] (Englisch)
| command_run |
1. Befehl (Priorität erlaubt) (erforderlich) +
| command_run
| 1. Befehl (Priorität erlaubt) (erforderlich) +
2. Befehl (Priorität erlaubt) +
3. ... |
`+/cmd arguments+` |
link:weechat_plugin_api.en.html#_hook_command_run[hook_command_run] (Englisch)
3. ...
| `+/cmd arguments+`
| link:weechat_plugin_api.en.html#_hook_command_run[hook_command_run] (Englisch)
| timer |
1. Intervall in Millisekunden (erforderlich) +
| timer
| 1. Intervall in Millisekunden (erforderlich) +
2. Abgleich der Sekunden (Standardwert: 0) +
3. max. Anzahl an Aufrufen (Standardwert: 0, was "unendlich" bedeutet) |
`+3600000+` +
`+60000;0;5+` |
link:weechat_plugin_api.en.html#_hook_timer[hook_timer] (Englisch)
3. max. Anzahl an Aufrufen (Standardwert: 0, was "unendlich" bedeutet)
| `+3600000+` +
`+60000;0;5+`
| link:weechat_plugin_api.en.html#_hook_timer[hook_timer] (Englisch)
| config |
1. Name der Option (Priorität erlaubt) (erforderlich) +
| config
| 1. Name der Option (Priorität erlaubt) (erforderlich) +
2. Name der Option (Priorität erlaubt) +
3. ... |
`+weechat.look.*+` |
link:weechat_plugin_api.en.html#_hook_config[hook_config] (Englisch)
3. ...
| `+weechat.look.*+`
| link:weechat_plugin_api.en.html#_hook_config[hook_config] (Englisch)
| focus |
1. area Name (Priorität erlaubt) (erforderlich) +
| focus
| 1. area Name (Priorität erlaubt) (erforderlich) +
2. area Name (Priorität erlaubt) +
3. ... |
`+buffer_nicklist+` |
link:weechat_plugin_api.en.html#_hook_focus[hook_focus] (Englisch)
3. ...
| `+buffer_nicklist+`
| link:weechat_plugin_api.en.html#_hook_focus[hook_focus] (Englisch)
| info |
1. info name (Priorität erlaubt) (erforderlich) +
| info
| 1. info name (Priorität erlaubt) (erforderlich) +
2. info name (Priorität erlaubt) +
3. ... |
`+my_info+` |
link:weechat_plugin_api.en.html#_hook_info[hook_info] (Englisch)
3. ...
| `+my_info+`
| link:weechat_plugin_api.en.html#_hook_info[hook_info] (Englisch)
| info_hashtable |
1. info name (Priorität erlaubt) (erforderlich) +
| info_hashtable
| 1. info name (Priorität erlaubt) (erforderlich) +
2. info name (Priorität erlaubt) +
3. ... |
`+my_info+` |
link:weechat_plugin_api.en.html#_hook_info_hashtable[hook_info_hashtable] (Englisch)
3. ...
| `+my_info+`
| link:weechat_plugin_api.en.html#_hook_info_hashtable[hook_info_hashtable] (Englisch)
|===
[[trigger_conditions]]
+49 -49
View File
@@ -1133,8 +1133,8 @@ Where _component_ is one of following:
|===
| Component | Files | Description
| core |
AUTHORS.adoc +
| core
| AUTHORS.adoc +
ChangeLog.adoc +
Contributing.adoc +
.github/FUNDING.yml +
@@ -1146,76 +1146,76 @@ Where _component_ is one of following:
src/core/* +
src/gui/* +
version.sh +
weechat.desktop |
WeeChat core
weechat.desktop
| WeeChat core
| build |
autogen.sh +
| build
| autogen.sh +
CMakeLists.txt +
cmake/* +
configure.ac +
Makefile.am +
tools/* +
weechat.cygport.in +
weechat.spec |
Build
weechat.spec
| Build
| ci |
.github/workflows/* |
Continuous integration
| ci
| .github/workflows/*
| Continuous integration
| debian |
debian-devel/* +
debian-stable/* |
Debian packaging
| debian
| debian-devel/* +
debian-stable/*
| Debian packaging
| tests |
tests/* |
Tests
| tests
| tests/*
| Tests
| doc |
doc/* |
General doc updates, for example build
| 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/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/faq
| doc/xx/weechat_faq.xx.adoc
| Frequently asked questions (FAQ)
| doc/quickstart |
doc/xx/weechat_quickstart.xx.adoc |
Quickstart guide
| doc/quickstart
| doc/xx/weechat_quickstart.xx.adoc
| Quickstart guide
| doc/user |
doc/xx/weechat_user.xx.adoc |
User's guide
| doc/user
| doc/xx/weechat_user.xx.adoc
| User's guide
| doc/scripting |
doc/xx/weechat_scripting.xx.adoc |
Scripting guide
| doc/scripting
| doc/xx/weechat_scripting.xx.adoc
| Scripting guide
| doc/api |
doc/xx/weechat_plugin_api.xx.adoc |
Plugin API reference
| doc/api
| doc/xx/weechat_plugin_api.xx.adoc
| Plugin API reference
| doc/relay |
doc/xx/weechat_relay_protocol.xx.adoc |
Relay protocol
| doc/relay
| doc/xx/weechat_relay_protocol.xx.adoc
| Relay protocol
| doc/dev |
doc/xx/weechat_dev.en.adoc |
Developer's guide
| doc/dev
| doc/xx/weechat_dev.en.adoc
| Developer's guide
| irc +
python +
relay +
|
src/plugins/<name>/* |
Plugin
| src/plugins/<name>/*
| Plugin
|===
File diff suppressed because it is too large Load Diff
+42 -42
View File
@@ -1408,68 +1408,68 @@ WeeChat reserved identifiers:
[width="100%",cols="5m,5,3,4,7",options="header"]
|===
| Identifier | Received with _sync_ | Data sent |
Description | Recommended action in client
| Identifier | Received with _sync_ | Data sent
| Description | Recommended action in client
| _buffer_opened | buffers / buffer | hdata: buffer |
Buffer opened. | Open buffer.
| _buffer_opened | buffers / buffer | hdata: buffer
| Buffer opened. | Open buffer.
| _buffer_type_changed | buffers / buffer | hdata: buffer |
Type of buffer changed. | Change type of buffer.
| _buffer_type_changed | buffers / buffer | hdata: buffer
| Type of buffer changed. | Change type of buffer.
| _buffer_moved | buffers / buffer | hdata: buffer |
Buffer moved. | Move buffer.
| _buffer_moved | buffers / buffer | hdata: buffer
| Buffer moved. | Move buffer.
| _buffer_merged | buffers / buffer | hdata: buffer |
Buffer merged. | Merge buffer.
| _buffer_merged | buffers / buffer | hdata: buffer
| Buffer merged. | Merge buffer.
| _buffer_unmerged | buffers / buffer | hdata: buffer |
Buffer unmerged. | Unmerge buffer.
| _buffer_unmerged | buffers / buffer | hdata: buffer
| Buffer unmerged. | Unmerge buffer.
| _buffer_hidden | buffers / buffer | hdata: buffer |
Buffer hidden. | Hide buffer.
| _buffer_hidden | buffers / buffer | hdata: buffer
| Buffer hidden. | Hide buffer.
| _buffer_unhidden | buffers / buffer | hdata: buffer |
Buffer unhidden. | Unhide buffer.
| _buffer_unhidden | buffers / buffer | hdata: buffer
| Buffer unhidden. | Unhide buffer.
| _buffer_renamed | buffers / buffer | hdata: buffer |
Buffer renamed. | Rename buffer.
| _buffer_renamed | buffers / buffer | hdata: buffer
| Buffer renamed. | Rename buffer.
| _buffer_title_changed | buffers / buffer | hdata: buffer |
Title of buffer changed. | Change title of buffer.
| _buffer_title_changed | buffers / buffer | hdata: buffer
| Title of buffer changed. | Change title of buffer.
| _buffer_localvar_added | buffers / buffer | hdata: buffer |
Local variable added. | Add local variable in buffer.
| _buffer_localvar_added | buffers / buffer | hdata: buffer
| Local variable added. | Add local variable in buffer.
| _buffer_localvar_changed | buffers / buffer | hdata: buffer |
Local variable changed. | Change local variable in buffer.
| _buffer_localvar_changed | buffers / buffer | hdata: buffer
| Local variable changed. | Change local variable in buffer.
| _buffer_localvar_removed | buffers / buffer | hdata: buffer |
Local variable removed. | Remove local variable from buffer.
| _buffer_localvar_removed | buffers / buffer | hdata: buffer
| Local variable removed. | Remove local variable from buffer.
| _buffer_closing | buffers / buffer | hdata: buffer |
Buffer closing. | Close buffer.
| _buffer_closing | buffers / buffer | hdata: buffer
| Buffer closing. | Close buffer.
| _buffer_cleared | buffer | hdata: buffer |
Buffer cleared. | Clear buffer.
| _buffer_cleared | buffer | hdata: buffer
| Buffer cleared. | Clear buffer.
| _buffer_line_added | buffer | hdata: line |
Line added in buffer. | Display line in buffer.
| _buffer_line_added | buffer | hdata: line
| Line added in buffer. | Display line in buffer.
| _nicklist | nicklist | hdata: nicklist_item |
Nicklist for a buffer. | Replace nicklist.
| _nicklist | nicklist | hdata: nicklist_item
| Nicklist for a buffer. | Replace nicklist.
| _nicklist_diff | nicklist | hdata: nicklist_item |
Nicklist diffs for a buffer . | Update nicklist.
| _nicklist_diff | nicklist | hdata: nicklist_item
| Nicklist diffs for a buffer . | Update nicklist.
| _pong | (always) | string: ping arguments |
Answer to a "ping". | Measure response time.
| _pong | (always) | string: ping arguments
| Answer to a "ping". | Measure response time.
| _upgrade | upgrade | (empty) |
WeeChat is upgrading. | Desync from WeeChat (or disconnect).
| _upgrade | upgrade | (empty)
| WeeChat is upgrading. | Desync from WeeChat (or disconnect).
| _upgrade_ended | upgrade | (empty) |
Upgrade of WeeChat done. | Sync/resync with WeeChat.
| _upgrade_ended | upgrade | (empty)
| Upgrade of WeeChat done. | Sync/resync with WeeChat.
|===
[[message_buffer_opened]]
+109 -109
View File
@@ -99,11 +99,11 @@ receive a string of type `str` or `bytes` (this list is not exhaustive):
|===
| API function | Arguments | Examples | Description
| hook_modifier |
irc_in_yyy |
pass:[irc_in_privmsg] +
pass:[irc_in_notice] |
A message received in IRC plugin, before it is decoded to UTF-8 (used
| hook_modifier
| irc_in_yyy
| pass:[irc_in_privmsg] +
pass:[irc_in_notice]
| A message received in IRC plugin, before it is decoded to UTF-8 (used
internally). +
+
It is recommended to use modifier `+irc_in2_yyy+` instead, the string received
@@ -111,14 +111,14 @@ receive a string of type `str` or `bytes` (this list is not exhaustive):
See function `+hook_modifier+` in the
link:weechat_plugin_api.en.html#_hook_modifier[WeeChat plugin API reference].
| hook_signal |
xxx,irc_out_yyy +
xxx,irc_outtags_yyy |
pass:[*,irc_out_privmsg] +
| hook_signal
| xxx,irc_out_yyy +
xxx,irc_outtags_yyy
| pass:[*,irc_out_privmsg] +
pass:[*,irc_out_notice] +
pass:[*,irc_outtags_privmsg] +
pass:[*,irc_outtags_notice] |
A message sent by IRC plugin, after it is encoded to the `encode` charset
pass:[*,irc_outtags_notice]
| A message sent by IRC plugin, after it is encoded to the `encode` charset
defined by the user (if different from the default `UTF-8`). +
+
It is recommended to use signal `+xxx,irc_out1_yyy+` instead, the string received
@@ -127,10 +127,10 @@ receive a string of type `str` or `bytes` (this list is not exhaustive):
link:weechat_plugin_api.en.html#_hook_signal[WeeChat plugin API reference].
| hook_process +
hook_process_hashtable |
- |
- |
Output of the command, sent to the callback, can contain invalid UTF-8 data.
hook_process_hashtable
| -
| -
| Output of the command, sent to the callback, can contain invalid UTF-8 data.
|===
@@ -554,14 +554,14 @@ List of functions in script API:
|===
| Category | Functions
| general |
register
| general
| register
| plugins |
plugin_get_name
| plugins
| plugin_get_name
| strings |
charset_set +
| strings
| charset_set +
iconv_to_internal +
iconv_from_internal +
gettext +
@@ -580,13 +580,13 @@ List of functions in script API:
string_eval_expression +
string_eval_path_home
| directories |
mkdir_home +
| directories
| mkdir_home +
mkdir +
mkdir_parents
| sorted lists |
list_new +
| sorted lists
| list_new +
list_add +
list_search +
list_search_pos +
@@ -602,8 +602,8 @@ List of functions in script API:
list_remove_all +
list_free
| configuration files |
config_new +
| configuration files
| config_new +
config_new_section +
config_search_section +
config_new_option +
@@ -640,12 +640,12 @@ List of functions in script API:
config_set_desc_plugin +
config_unset_plugin
| key bindings |
key_bind +
| key bindings
| key_bind +
key_unbind
| display |
prefix +
| display
| prefix +
color +
print (for python: prnt) +
print_date_tags (for python: prnt_date_tags) +
@@ -653,8 +653,8 @@ List of functions in script API:
print_y_date_tags (for python: prnt_y_date_tags) +
log_print
| hooks |
hook_command +
| hooks
| hook_command +
hook_command_run +
hook_timer +
hook_fd +
@@ -679,8 +679,8 @@ List of functions in script API:
unhook +
unhook_all
| buffers |
buffer_new +
| buffers
| buffer_new +
buffer_new_props +
current_buffer +
buffer_search +
@@ -696,16 +696,16 @@ List of functions in script API:
buffer_string_replace_local_var +
buffer_match_list
| windows |
current_window +
| windows
| current_window +
window_search_with_buffer +
window_get_integer +
window_get_string +
window_get_pointer +
window_set_title
| nicklist |
nicklist_add_group +
| nicklist
| nicklist_add_group +
nicklist_search_group +
nicklist_add_nick +
nicklist_search_nick +
@@ -721,8 +721,8 @@ List of functions in script API:
nicklist_nick_get_pointer +
nicklist_nick_set
| bars |
bar_item_search +
| bars
| bar_item_search +
bar_item_new +
bar_item_update +
bar_item_remove +
@@ -732,23 +732,23 @@ List of functions in script API:
bar_update +
bar_remove
| commands |
command +
| commands
| command +
command_options
| completion |
completion_new +
| completion
| completion_new +
completion_search +
completion_get_string +
completion_list_add +
completion_free
| infos |
info_get +
| infos
| info_get +
info_get_hashtable
| infolists |
infolist_new +
| infolists
| infolist_new +
infolist_new_item +
infolist_new_var_integer +
infolist_new_var_string +
@@ -766,8 +766,8 @@ List of functions in script API:
infolist_time +
infolist_free
| hdata |
hdata_get +
| hdata
| hdata_get +
hdata_get_var_offset +
hdata_get_var_type_string +
hdata_get_var_array_size +
@@ -788,8 +788,8 @@ List of functions in script API:
hdata_update +
hdata_get_string
| upgrade |
upgrade_new +
| upgrade
| upgrade_new +
upgrade_write_object +
upgrade_read +
upgrade_close
@@ -804,13 +804,13 @@ List of constants in script API:
|===
| Category | Constants
| return codes |
`WEECHAT_RC_OK` (integer) +
| return codes
| `WEECHAT_RC_OK` (integer) +
`WEECHAT_RC_OK_EAT` (integer) +
`WEECHAT_RC_ERROR` (integer)
| configuration files |
`WEECHAT_CONFIG_READ_OK` (integer) +
| configuration files
| `WEECHAT_CONFIG_READ_OK` (integer) +
`WEECHAT_CONFIG_READ_MEMORY_ERROR` (integer) +
`WEECHAT_CONFIG_READ_FILE_NOT_FOUND` (integer) +
`WEECHAT_CONFIG_WRITE_OK` (integer) +
@@ -825,23 +825,23 @@ List of constants in script API:
`WEECHAT_CONFIG_OPTION_UNSET_OK_REMOVED` (integer) +
`WEECHAT_CONFIG_OPTION_UNSET_ERROR` (integer)
| sorted lists |
`WEECHAT_LIST_POS_SORT` (string) +
| sorted lists
| `WEECHAT_LIST_POS_SORT` (string) +
`WEECHAT_LIST_POS_BEGINNING` (string) +
`WEECHAT_LIST_POS_END` (string)
| hotlist |
`WEECHAT_HOTLIST_LOW` (string) +
| hotlist
| `WEECHAT_HOTLIST_LOW` (string) +
`WEECHAT_HOTLIST_MESSAGE` (string) +
`WEECHAT_HOTLIST_PRIVATE` (string) +
`WEECHAT_HOTLIST_HIGHLIGHT` (string)
| hook process |
`WEECHAT_HOOK_PROCESS_RUNNING` (integer) +
| hook process
| `WEECHAT_HOOK_PROCESS_RUNNING` (integer) +
`WEECHAT_HOOK_PROCESS_ERROR` (integer)
| hook connect |
`WEECHAT_HOOK_CONNECT_OK` (integer) +
| hook connect
| `WEECHAT_HOOK_CONNECT_OK` (integer) +
`WEECHAT_HOOK_CONNECT_ADDRESS_NOT_FOUND` (integer) +
`WEECHAT_HOOK_CONNECT_IP_ADDRESS_NOT_FOUND` (integer) +
`WEECHAT_HOOK_CONNECT_CONNECTION_REFUSED` (integer) +
@@ -853,8 +853,8 @@ List of constants in script API:
`WEECHAT_HOOK_CONNECT_TIMEOUT` (integer) +
`WEECHAT_HOOK_CONNECT_SOCKET_ERROR` (integer)
| hook signal |
`WEECHAT_HOOK_SIGNAL_STRING` (string) +
| hook signal
| `WEECHAT_HOOK_SIGNAL_STRING` (string) +
`WEECHAT_HOOK_SIGNAL_INT` (string) +
`WEECHAT_HOOK_SIGNAL_POINTER` (string)
|===
@@ -1308,61 +1308,61 @@ The result is a hashtable with following keys
|===
| Key | Since WeeChat ^(1)^ | Description | Example
| tags | 0.4.0 |
The tags in message (can be empty). |
`+time=2015-06-27T16:40:35.000Z+`
| tags | 0.4.0
| The tags in message (can be empty).
| `+time=2015-06-27T16:40:35.000Z+`
| tag_xxx | 3.3 |
Unescaped value of tag "xxx" (one key per tag). |
`+2015-06-27T16:40:35.000Z+`
| tag_xxx | 3.3
| 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). |
`+:nick!user@host PRIVMSG #weechat :hello!+`
| message_without_tags | 0.4.0
| The message without the tags (the same as message if there are no tags).
| `+:nick!user@host PRIVMSG #weechat :hello!+`
| nick | 0.3.4 |
The origin nick. |
`+nick+`
| nick | 0.3.4
| The origin nick.
| `+nick+`
| user | 2.7 |
The origin user. |
`+user+`
| user | 2.7
| The origin user.
| `+user+`
| host | 0.3.4 |
The origin host (includes the nick). |
`+nick!user@host+`
| host | 0.3.4
| The origin host (includes the nick).
| `+nick!user@host+`
| command | 0.3.4 |
The command (_PRIVMSG_, _NOTICE_, ...). |
`+PRIVMSG+`
| command | 0.3.4
| The command (_PRIVMSG_, _NOTICE_, ...).
| `+PRIVMSG+`
| channel | 0.3.4 |
The target channel. |
`+#weechat+`
| channel | 0.3.4
| The target channel.
| `+#weechat+`
| arguments | 0.3.4 |
The command arguments (includes the channel). |
`+#weechat :hello!+`
| arguments | 0.3.4
| The command arguments (includes the channel).
| `+#weechat :hello!+`
| text | 1.3 |
The text (for example user message). |
`+hello!+`
| text | 1.3
| The text (for example user message).
| `+hello!+`
| pos_command | 1.3 |
The index of _command_ in message ("-1" if _command_ was not found). |
`+47+`
| pos_command | 1.3
| The index of _command_ in message ("-1" if _command_ was not found).
| `+47+`
| pos_arguments | 1.3 |
The index of _arguments_ in message ("-1" if _arguments_ was not found). |
`+55+`
| pos_arguments | 1.3
| The index of _arguments_ in message ("-1" if _arguments_ was not found).
| `+55+`
| pos_channel | 1.3 |
The index of _channel_ in message ("-1" if _channel_ was not found). |
`+55+`
| pos_channel | 1.3
| The index of _channel_ in message ("-1" if _channel_ was not found).
| `+55+`
| pos_text | 1.3 |
The index of _text_ in message ("-1" if _text_ was not found). |
`+65+`
| pos_text | 1.3
| The index of _text_ in message ("-1" if _text_ was not found).
| `+65+`
|===
[NOTE]
+258 -258
View File
@@ -198,116 +198,116 @@ List of commonly used options:
|===
| Option | Values | Default value | Description
| CMAKE_BUILD_TYPE | `Debug`, `Release`, `RelWithDebInfo`, `MinSizeRel` | |
The type of build: `Debug` (or `RelWithDebInfo`) is recommended if you are
| CMAKE_BUILD_TYPE | `Debug`, `Release`, `RelWithDebInfo`, `MinSizeRel` |
| The type of build: `Debug` (or `RelWithDebInfo`) is recommended if you are
running development version of WeeChat.
| CMAKE_INSTALL_PREFIX | directory | /usr/local |
The directory where WeeChat will be installed.
| CMAKE_INSTALL_PREFIX | directory | /usr/local
| The directory where WeeChat will be installed.
| WEECHAT_HOME | directory | (empty string) |
The default home directory when running WeeChat. +
| WEECHAT_HOME | directory | (empty string)
| The default home directory when running WeeChat. +
With an empty value (recommended), XDG directories are used by default.
If non empty, a single directory for all files is used.
The value can also be 4 directories separated by colons, in this order:
config, data, cache, runtime.
| ENABLE_ALIAS | `ON`, `OFF` | ON |
Compile <<command_aliases,Alias plugin>>.
| ENABLE_ALIAS | `ON`, `OFF` | ON
| Compile <<command_aliases,Alias plugin>>.
| ENABLE_BUFLIST | `ON`, `OFF` | ON |
Compile <<buflist,Buflist plugin>>.
| ENABLE_BUFLIST | `ON`, `OFF` | ON
| Compile <<buflist,Buflist plugin>>.
| ENABLE_CHARSET | `ON`, `OFF` | ON |
Compile <<charset,Charset plugin>>.
| ENABLE_CHARSET | `ON`, `OFF` | ON
| Compile <<charset,Charset plugin>>.
| ENABLE_MAN | `ON`, `OFF` | OFF |
Build man page.
| ENABLE_MAN | `ON`, `OFF` | OFF
| Build man page.
| ENABLE_DOC | `ON`, `OFF` | OFF |
Build HTML documentation.
| ENABLE_DOC | `ON`, `OFF` | OFF
| Build HTML documentation.
| ENABLE_ENCHANT | `ON`, `OFF` | OFF |
Compile <<spell_checking,Spell plugin>> with Enchant.
| ENABLE_ENCHANT | `ON`, `OFF` | OFF
| Compile <<spell_checking,Spell plugin>> with Enchant.
| ENABLE_EXEC | `ON`, `OFF` | ON |
Compile <<external_commands,Exec plugin>>.
| ENABLE_EXEC | `ON`, `OFF` | ON
| Compile <<external_commands,Exec plugin>>.
| ENABLE_FIFO | `ON`, `OFF` | ON |
Compile <<fifo_pipe,Fifo plugin>>.
| ENABLE_FIFO | `ON`, `OFF` | ON
| Compile <<fifo_pipe,Fifo plugin>>.
| ENABLE_FSET | `ON`, `OFF` | ON |
Compile <<fset,Fset plugin>>.
| ENABLE_FSET | `ON`, `OFF` | ON
| Compile <<fset,Fset plugin>>.
| ENABLE_GUILE | `ON`, `OFF` | ON |
Compile <<scripting_plugins,Guile plugin>> (Scheme).
| ENABLE_GUILE | `ON`, `OFF` | ON
| Compile <<scripting_plugins,Guile plugin>> (Scheme).
| ENABLE_IRC | `ON`, `OFF` | ON |
Compile <<irc,IRC plugin>>.
| ENABLE_IRC | `ON`, `OFF` | ON
| Compile <<irc,IRC plugin>>.
| ENABLE_JAVASCRIPT | `ON`, `OFF` | OFF |
Compile <<scripting_plugins,JavaScript plugin>>.
| ENABLE_JAVASCRIPT | `ON`, `OFF` | OFF
| Compile <<scripting_plugins,JavaScript plugin>>.
| ENABLE_LARGEFILE | `ON`, `OFF` | ON |
Support of large files.
| ENABLE_LARGEFILE | `ON`, `OFF` | ON
| Support of large files.
| ENABLE_LOGGER | `ON`, `OFF` | ON |
Compile <<buffer_logging,Logger plugin>>.
| ENABLE_LOGGER | `ON`, `OFF` | ON
| Compile <<buffer_logging,Logger plugin>>.
| ENABLE_LUA | `ON`, `OFF` | ON |
Compile <<scripting_plugins,Lua plugin>>.
| ENABLE_LUA | `ON`, `OFF` | ON
| Compile <<scripting_plugins,Lua plugin>>.
| ENABLE_NCURSES | `ON`, `OFF` | ON |
Compile Ncurses interface.
| ENABLE_NCURSES | `ON`, `OFF` | ON
| Compile Ncurses interface.
| ENABLE_NLS | `ON`, `OFF` | ON |
Enable NLS (translations).
| ENABLE_NLS | `ON`, `OFF` | ON
| Enable NLS (translations).
| ENABLE_PERL | `ON`, `OFF` | ON |
Compile <<scripting_plugins,Perl plugin>>.
| ENABLE_PERL | `ON`, `OFF` | ON
| Compile <<scripting_plugins,Perl plugin>>.
| ENABLE_PHP | `ON`, `OFF` | ON |
Compile <<scripting_plugins,PHP plugin>>.
| ENABLE_PHP | `ON`, `OFF` | ON
| Compile <<scripting_plugins,PHP plugin>>.
| ENABLE_PYTHON | `ON`, `OFF` | ON |
Compile <<scripting_plugins,Python plugin>>.
| ENABLE_PYTHON | `ON`, `OFF` | ON
| Compile <<scripting_plugins,Python plugin>>.
| ENABLE_PYTHON2 | `ON`, `OFF` | OFF |
Compile <<scripting_plugins,Python plugin>> using Python 2 instead of Python 3.
| ENABLE_PYTHON2 | `ON`, `OFF` | OFF
| Compile <<scripting_plugins,Python plugin>> using Python 2 instead of Python 3.
| ENABLE_RELAY | `ON`, `OFF` | ON |
Compile <<relay,Relay plugin>>.
| ENABLE_RELAY | `ON`, `OFF` | ON
| Compile <<relay,Relay plugin>>.
| ENABLE_RUBY | `ON`, `OFF` | ON |
Compile <<scripting_plugins,Ruby plugin>>.
| ENABLE_RUBY | `ON`, `OFF` | ON
| Compile <<scripting_plugins,Ruby plugin>>.
| ENABLE_SCRIPT | `ON`, `OFF` | ON |
Compile <<script_manager,Script plugin>>.
| ENABLE_SCRIPT | `ON`, `OFF` | ON
| Compile <<script_manager,Script plugin>>.
| ENABLE_SCRIPTS | `ON`, `OFF` | ON |
Compile <<scripting_plugins,script plugins>> (Python, Perl, Ruby, Lua, Tcl,
| ENABLE_SCRIPTS | `ON`, `OFF` | ON
| Compile <<scripting_plugins,script plugins>> (Python, Perl, Ruby, Lua, Tcl,
Guile, JavaScript, PHP).
| ENABLE_SPELL | `ON`, `OFF` | ON |
Compile <<spell_checking,Spell plugin>>.
| ENABLE_SPELL | `ON`, `OFF` | ON
| Compile <<spell_checking,Spell plugin>>.
| ENABLE_TCL | `ON`, `OFF` | ON |
Compile <<scripting_plugins,Tcl plugin>>.
| ENABLE_TCL | `ON`, `OFF` | ON
| Compile <<scripting_plugins,Tcl plugin>>.
| ENABLE_TRIGGER | `ON`, `OFF` | ON |
Compile <<trigger,Trigger plugin>>.
| ENABLE_TRIGGER | `ON`, `OFF` | ON
| Compile <<trigger,Trigger plugin>>.
| ENABLE_TYPING | `ON`, `OFF` | ON |
Compile <<typing_notifications,Typing plugin>>.
| ENABLE_TYPING | `ON`, `OFF` | ON
| Compile <<typing_notifications,Typing plugin>>.
| ENABLE_XFER | `ON`, `OFF` | ON |
Compile <<xfer,Xfer plugin>>.
| ENABLE_XFER | `ON`, `OFF` | ON
| Compile <<xfer,Xfer plugin>>.
| ENABLE_TESTS | `ON`, `OFF` | OFF |
Compile tests.
| ENABLE_TESTS | `ON`, `OFF` | OFF
| Compile tests.
| ENABLE_CODE_COVERAGE | `ON`, `OFF` | OFF |
Compile with code coverage options. +
| ENABLE_CODE_COVERAGE | `ON`, `OFF` | OFF
| Compile with code coverage options. +
This option should be used only for tests, to measure test coverage.
|===
@@ -1331,87 +1331,87 @@ By default WeeChat and its default plugins interpret these variables:
|===
| Name | Value | Description
| away |
any string |
Away message on the server, set by irc plugin.
| away
| any string
| Away message on the server, set by irc plugin.
| channel |
any string |
Channel name, set by irc/xfer plugins and debug buffer of relay/trigger plugins.
| channel
| any string
| Channel name, set by irc/xfer plugins and debug buffer of relay/trigger plugins.
| charset_modifier |
any string |
Charset modifier for the server buffer, set by irc plugin.
| charset_modifier
| any string
| Charset modifier for the server buffer, set by irc plugin.
| completion_default_template |
any string |
Default completion template for the buffer, overriding the option
| completion_default_template
| any string
| Default completion template for the buffer, overriding the option
`weechat.completion.default_template`.
| filter |
any string |
Filter defined on some buffers like `/fset`, `/server raw` (irc) and `/script`.
| filter
| any string
| Filter defined on some buffers like `/fset`, `/server raw` (irc) and `/script`.
| host |
any string |
Self host (if known), set by irc plugin.
| host
| any string
| Self host (if known), set by irc plugin.
| lag |
any string |
Lag on the server, set by irc plugin.
| lag
| any string
| Lag on the server, set by irc plugin.
| name |
any string |
Buffer name (be careful, this is not the full name and this name is not
| name
| any string
| Buffer name (be careful, this is not the full name and this name is not
enough to identify or search a buffer).
| nick |
any string |
Self nick, set by irc and xfer plugins.
| nick
| any string
| Self nick, set by irc and xfer plugins.
| no_log |
`1` (or any non-empty string) |
If set, the logger plugin does not log anything for the buffer.
| no_log
| `1` (or any non-empty string)
| If set, the logger plugin does not log anything for the buffer.
| plugin |
any string |
Name of plugin which created the buffer (`core` for WeeChat buffers).
| plugin
| any string
| Name of plugin which created the buffer (`core` for WeeChat buffers).
| script_close_cb |
any string |
Close callback defined by a script for a buffer.
| script_close_cb
| any string
| Close callback defined by a script for a buffer.
| script_close_cb_data |
any string |
Data for close callback defined by a script for a buffer.
| script_close_cb_data
| any string
| Data for close callback defined by a script for a buffer.
| script_input_cb |
any string |
Input callback defined by a script for a buffer.
| script_input_cb
| any string
| Input callback defined by a script for a buffer.
| script_input_cb_data |
any string |
Data for input callback defined by a script for a buffer.
| script_input_cb_data
| any string
| Data for input callback defined by a script for a buffer.
| script_name |
any string |
Name of the script which created the buffer.
| script_name
| any string
| Name of the script which created the buffer.
| server |
any string |
Server name, set by irc plugin and debug buffer of relay/trigger plugins.
| server
| any string
| Server name, set by irc plugin and debug buffer of relay/trigger plugins.
| spell_suggest |
any string |
Misspelled word and suggestions (format: "misspelled:suggestions"), set by
| spell_suggest
| any string
| Misspelled word and suggestions (format: "misspelled:suggestions"), set by
spell plugin.
| trigger_filter |
any string |
Trigger filter, set by trigger plugin.
| trigger_filter
| any string
| Trigger filter, set by trigger plugin.
| type |
any string, for example:
| type
| any string, for example:
`channel`,
`debug`,
`exec`,
@@ -1421,8 +1421,8 @@ By default WeeChat and its default plugins interpret these variables:
`script`,
`server`,
`user`,
`xfer` |
Type of buffer, set by WeeChat and many plugins.
`xfer`
| Type of buffer, set by WeeChat and many plugins.
|===
@@ -2638,65 +2638,65 @@ List of bar options:
|===
| Option | Values | Description
| type | `root`, `window` |
A bar with type `root` is displayed exactly one time on screen, outside all
| type | `root`, `window`
| A bar with type `root` is displayed exactly one time on screen, outside all
windows. The default bar _buflist_ has type `root`. +
A bar with type `window` is displayed in each window, for example if you
split one time the screen (with `/window splith` or `/window splitv`), you
will have one bar in each window. The default bars _title_, _status_,
_input_ and _nicklist_ have type `window`.
| position | `top`, `bottom`, `left`, `right` |
Position of the bar: above/below chat, on the left/right.
| position | `top`, `bottom`, `left`, `right`
| Position of the bar: above/below chat, on the left/right.
| priority | integer ≥ 0 |
Priority for display of bar: this is used for ordering the bars on screen when
| priority | integer ≥ 0
| Priority for display of bar: this is used for ordering the bars on screen when
many bars have same type and position. +
The bars are displayed from the edge of the screen to the center. A higher
priority will display bar at the beginning, so closer to the edge. +
Example: _input_ bar has priority 1000, so it is displayed before the _status_
bar, which has priority 500.
| size | integer ≥ 0 |
The size of the bar: number of columns for position left/right, number
| size | integer ≥ 0
| The size of the bar: number of columns for position left/right, number
of lines for position top/bottom. A size of `0` means automatic, so the size
will be computed according to content displayed in bar.
| size_max | integer ≥ 0 |
The maximum size for a bar, `0` = no limit (this option is used only if
| size_max | integer ≥ 0
| The maximum size for a bar, `0` = no limit (this option is used only if
`size` = `0`).
| color_bg | color |
The default background color for the bar.
| color_bg | color
| The default background color for the bar.
| color_fg | color |
The default text color for the bar.
| color_fg | color
| The default text color for the bar.
| color_delim | color |
The color for delimiters in bar.
| color_delim | color
| The color for delimiters in bar.
| hidden | `on`, `off` |
When option is `on`, the bar is hidden. +
| hidden | `on`, `off`
| When option is `on`, the bar is hidden. +
Note: instead of changing this option, the command `/bar` is preferred, for
example: `/bar toggle nicklist` (see command <<command_weechat_bar,/bar>>).
| separator | `on`, `off` |
When option is `on`, a separator (line) is displayed between this bar and
| separator | `on`, `off`
| When option is `on`, a separator (line) is displayed between this bar and
other bars (or chat).
| items | string |
A list of _items_ (see <<bar_items,items>> for more info).
| items | string
| A list of _items_ (see <<bar_items,items>> for more info).
| filling_left_right | `+horizontal+`, `+vertical+`, `+columns_horizontal+`, `+columns_vertical+` |
Type of filling for a bar which has position `left` or `right` (see
| filling_left_right | `+horizontal+`, `+vertical+`, `+columns_horizontal+`, `+columns_vertical+`
| Type of filling for a bar which has position `left` or `right` (see
<<bar_filling,filling>> for more info).
| filling_top_bottom | `+horizontal+`, `+vertical+`, `+columns_horizontal+`, `+columns_vertical+` |
Type of filling for a bar which has position `top` or `bottom` (see
| filling_top_bottom | `+horizontal+`, `+vertical+`, `+columns_horizontal+`, `+columns_vertical+`
| Type of filling for a bar which has position `top` or `bottom` (see
<<bar_filling,filling>> for more info).
| conditions | string |
The conditions to display the bar (see <<bar_conditions,conditions>> for more
| conditions | string
| The conditions to display the bar (see <<bar_conditions,conditions>> for more
info).
|===
@@ -3896,15 +3896,15 @@ The following signals are caught by the typing plugin:
|===
| Signal | Arguments | Description
| typing_set_nick |
String: buffer pointer + ";" + state (one of: "off", "typing", "paused",
| typing_set_nick
| String: buffer pointer + ";" + state (one of: "off", "typing", "paused",
"cleared") + ";" + nick. +
Example: "0x1234abcd;typing;alice". |
Set typing state for a nick on a buffer.
Example: "0x1234abcd;typing;alice".
| Set typing state for a nick on a buffer.
| typing_reset_buffer |
Pointer: buffer. |
Remove typing state for all nicks on a buffer.
| typing_reset_buffer
| Pointer: buffer.
| Remove typing state for all nicks on a buffer.
|===
[[typing_options]]
@@ -4245,25 +4245,25 @@ List of default triggers:
|===
| Name | Hook | Description
| beep | print |
Beep on highlight/private message.
| beep | print
| Beep on highlight/private message.
| cmd_pass | modifier |
Hide password in commands:
| cmd_pass | modifier
| Hide password in commands:
`pass:[/msg nickserv id\|identify\|set password\|ghost\|release\|regain\|recover]`,
`pass:[/oper]`,
`pass:[/quote pass]`,
`pass:[/secure passphrase\|decrypt\|set]`.
| cmd_pass_register | modifier |
Hide password in command `pass:[/msg nickserv register]`.
| cmd_pass_register | modifier
| Hide password in command `pass:[/msg nickserv register]`.
| msg_auth | modifier |
Hide password in IRC auth message displayed (message received from server
| msg_auth | modifier
| Hide password in IRC auth message displayed (message received from server
after the user issued the command).
| server_pass | modifier |
Hide server password in commands `/server` and `/connect`.
| server_pass | modifier
| Hide server password in commands `/server` and `/connect`.
|===
[[trigger_anatomy]]
@@ -4276,37 +4276,37 @@ A trigger has the following options (names are
|===
| Option | Values | Description
| enabled | `on`, `off` |
When option is `off`, the trigger is disabled and actions are not executed
| enabled | `on`, `off`
| When option is `off`, the trigger is disabled and actions are not executed
any more.
| hook | `+signal+`, `+hsignal+`, `+modifier+`, `+line+`, `+print+`, `+command+`,
`+command_run+`, `+timer+`, `+config+`, `+focus+`, `+info+`, `+info_hashtable+` |
The hook used in trigger. For more information, see
`+command_run+`, `+timer+`, `+config+`, `+focus+`, `+info+`, `+info_hashtable+`
| The hook used in trigger. For more information, see
link:weechat_plugin_api.en.html#hooks[WeeChat plugin API reference / Hooks].
| arguments | string |
The arguments for the hook, it depends on the hook type used.
| arguments | string
| The arguments for the hook, it depends on the hook type used.
| conditions | string |
Conditions to execute the trigger; they are evaluated (see command
| conditions | string
| Conditions to execute the trigger; they are evaluated (see command
<<command_weechat_eval,/eval>>).
| regex | string |
One or more POSIX extended regular expressions, to change data received in the
| regex | string
| One or more POSIX extended regular expressions, to change data received in the
hook callback (and some stuff added by trigger plugin), see
<<trigger_regex,regular expression>>.
| command | string |
Command to execute (many commands can be separated by semicolons); it is
| command | string
| Command to execute (many commands can be separated by semicolons); it is
evaluated (see command <<command_weechat_eval,/eval>>).
| return_code | `+ok+`, `+ok_eat+`, `+error+` |
The return code of callback (default is `ok`, which should be used in almost
| return_code | `+ok+`, `+ok_eat+`, `+error+`
| The return code of callback (default is `ok`, which should be used in almost
all triggers, the other values are rarely used).
| post_action | `none`, `disable`, `delete` |
Action to take on the trigger after execution (default is `none` which should
| post_action | `none`, `disable`, `delete`
| Action to take on the trigger after execution (default is `none` which should
be used in almost all triggers, the other values are rarely used).
|===
@@ -4345,105 +4345,105 @@ The arguments depend on the hook used. They are separated by semicolons.
|===
| Hook | Arguments | Examples | Documentation (API)
| signal |
1. signal name (priority allowed) (required) +
| signal
| 1. signal name (priority allowed) (required) +
2. signal name (priority allowed) +
3. ... |
`+*,irc_in_privmsg+` +
3. ...
| `+*,irc_in_privmsg+` +
`+*,irc_in_privmsg;*,irc_in_notice+` +
`+signal_sigwinch+` |
link:weechat_plugin_api.en.html#_hook_signal[hook_signal]
`+signal_sigwinch+`
| link:weechat_plugin_api.en.html#_hook_signal[hook_signal]
| hsignal |
1. signal name (priority allowed) (required) +
| hsignal
| 1. signal name (priority allowed) (required) +
2. signal name (priority allowed) +
3. ... |
`+nicklist_nick_added+` |
link:weechat_plugin_api.en.html#_hook_hsignal[hook_hsignal]
3. ...
| `+nicklist_nick_added+`
| link:weechat_plugin_api.en.html#_hook_hsignal[hook_hsignal]
| modifier |
1. modifier name (priority allowed) (required) +
| modifier
| 1. modifier name (priority allowed) (required) +
2. modifier name (priority allowed) +
3. ... |
`+weechat_print+` +
`+5000\|input_text_display;5000\|history_add+` |
link:weechat_plugin_api.en.html#_hook_modifier[hook_modifier]
3. ...
| `+weechat_print+` +
`+5000\|input_text_display;5000\|history_add+`
| link:weechat_plugin_api.en.html#_hook_modifier[hook_modifier]
| line |
1. buffer type +
| line
| 1. buffer type +
2. buffer name +
3. tags |
`+formatted+` +
3. tags
| `+formatted+` +
`+free+` +
`+*;irc.libera.*+` +
`+*;irc.libera.#weechat+` +
`+formatted;irc.libera.#weechat;irc_notice+` |
link:weechat_plugin_api.en.html#_hook_line[hook_line]
`+formatted;irc.libera.#weechat;irc_notice+`
| link:weechat_plugin_api.en.html#_hook_line[hook_line]
| print |
1. buffer name +
| print
| 1. buffer name +
2. tags +
3. message +
4. strip colors (0/1) |
`+irc.libera.*+` +
4. strip colors (0/1)
| `+irc.libera.*+` +
`+irc.libera.#weechat+` +
`+irc.libera.#weechat;irc_notice+` +
`+*;;;1+` |
link:weechat_plugin_api.en.html#_hook_print[hook_print]
`+*;;;1+`
| link:weechat_plugin_api.en.html#_hook_print[hook_print]
| command |
1. command name (priority allowed) (required) +
| command
| 1. command name (priority allowed) (required) +
2. description (evaluated, see command <<command_weechat_eval,/eval>>) +
3. arguments (evaluated, see command <<command_weechat_eval,/eval>>) +
4. description of arguments (evaluated, see command <<command_weechat_eval,/eval>>) +
5. completion (evaluated, see command <<command_weechat_eval,/eval>>) |
`+test+` +
5. completion (evaluated, see command <<command_weechat_eval,/eval>>)
| `+test+` +
`+5000\|test+` +
`+test;test command;arg1 arg2;arg1: description 1${\n}arg2: description 2+` |
link:weechat_plugin_api.en.html#_hook_command[hook_command]
`+test;test command;arg1 arg2;arg1: description 1${\n}arg2: description 2+`
| link:weechat_plugin_api.en.html#_hook_command[hook_command]
| command_run |
1. command (priority allowed) (required) +
| command_run
| 1. command (priority allowed) (required) +
2. command (priority allowed) +
3. ... |
`+/cmd arguments+` |
link:weechat_plugin_api.en.html#_hook_command_run[hook_command_run]
3. ...
| `+/cmd arguments+`
| link:weechat_plugin_api.en.html#_hook_command_run[hook_command_run]
| timer |
1. interval in milliseconds (required) +
| timer
| 1. interval in milliseconds (required) +
2. alignment on second (default: 0) +
3. max number of calls (default: 0, which means "no end") |
`+3600000+` +
`+60000;0;5+` |
link:weechat_plugin_api.en.html#_hook_timer[hook_timer]
3. max number of calls (default: 0, which means "no end")
| `+3600000+` +
`+60000;0;5+`
| link:weechat_plugin_api.en.html#_hook_timer[hook_timer]
| config |
1. option name (priority allowed) (required) +
| config
| 1. option name (priority allowed) (required) +
2. option name (priority allowed) +
3. ... |
`+weechat.look.*+` |
link:weechat_plugin_api.en.html#_hook_config[hook_config]
3. ...
| `+weechat.look.*+`
| link:weechat_plugin_api.en.html#_hook_config[hook_config]
| focus |
1. area name (priority allowed) (required) +
| focus
| 1. area name (priority allowed) (required) +
2. area name (priority allowed) +
3. ... |
`+buffer_nicklist+` |
link:weechat_plugin_api.en.html#_hook_focus[hook_focus]
3. ...
| `+buffer_nicklist+`
| link:weechat_plugin_api.en.html#_hook_focus[hook_focus]
| info |
1. info name (priority allowed) (required) +
| info
| 1. info name (priority allowed) (required) +
2. info name (priority allowed) +
3. ... |
`+my_info+` |
link:weechat_plugin_api.en.html#_hook_info[hook_info]
3. ...
| `+my_info+`
| link:weechat_plugin_api.en.html#_hook_info[hook_info]
| info_hashtable |
1. info name (priority allowed) (required) +
| info_hashtable
| 1. info name (priority allowed) (required) +
2. info name (priority allowed) +
3. ... |
`+my_info+` |
link:weechat_plugin_api.en.html#_hook_info_hashtable[hook_info_hashtable]
3. ...
| `+my_info+`
| link:weechat_plugin_api.en.html#_hook_info_hashtable[hook_info_hashtable]
|===
[[trigger_conditions]]
+49 -49
View File
@@ -1153,8 +1153,8 @@ Où _composant_ est :
|===
| Composant | Fichiers | Description
| core |
AUTHORS.adoc +
| core
| AUTHORS.adoc +
ChangeLog.adoc +
Contributing.adoc +
.github/FUNDING.yml +
@@ -1166,76 +1166,76 @@ Où _composant_ est :
src/core/* +
src/gui/* +
version.sh +
weechat.desktop |
cœur de WeeChat
weechat.desktop
| cœur de WeeChat
| build |
autogen.sh +
| build
| autogen.sh +
CMakeLists.txt +
cmake/* +
configure.ac +
Makefile.am +
tools/* +
weechat.cygport.in +
weechat.spec |
Construction
weechat.spec
| Construction
| ci |
.github/workflows/* |
Intégration continue
| ci
| .github/workflows/*
| Intégration continue
| debian |
debian-devel/* +
debian-stable/* |
Empaquetage Debian
| debian
| debian-devel/* +
debian-stable/*
| Empaquetage Debian
| tests |
tests/* |
Tests
| tests
| tests/*
| Tests
| doc |
doc/* |
Mises à jour générales sur la documentation, par exemple la construction
| doc
| doc/*
| Mises à jour générales sur la documentation, par exemple la construction
| doc/man |
doc/xx/weechat.1.xx.adoc +
doc/xx/weechat-headless.1.xx.adoc |
Pages de manuel
| doc/man
| doc/xx/weechat.1.xx.adoc +
doc/xx/weechat-headless.1.xx.adoc
| Pages de manuel
| doc/faq |
doc/xx/weechat_faq.xx.adoc |
Questions fréquemment posées (FAQ)
| doc/faq
| doc/xx/weechat_faq.xx.adoc
| Questions fréquemment posées (FAQ)
| doc/quickstart |
doc/xx/weechat_quickstart.xx.adoc |
Guide de démarrage rapide
| doc/quickstart
| doc/xx/weechat_quickstart.xx.adoc
| Guide de démarrage rapide
| doc/user |
doc/xx/weechat_user.xx.adoc |
Guide utilisateur
| doc/user
| doc/xx/weechat_user.xx.adoc
| Guide utilisateur
| doc/scripting |
doc/xx/weechat_scripting.xx.adoc |
Guide pour scripts
| doc/scripting
| doc/xx/weechat_scripting.xx.adoc
| Guide pour scripts
| doc/api |
doc/xx/weechat_plugin_api.xx.adoc |
Référence extension API
| doc/api
| doc/xx/weechat_plugin_api.xx.adoc
| Référence extension API
| doc/relay |
doc/xx/weechat_relay_protocol.xx.adoc |
Protocole relay
| doc/relay
| doc/xx/weechat_relay_protocol.xx.adoc
| Protocole relay
| doc/dev |
doc/xx/weechat_dev.en.adoc |
Guide du développeur
| doc/dev
| doc/xx/weechat_dev.en.adoc
| Guide du développeur
| irc +
python +
relay +
|
src/plugins/<name>/* |
Extension
| src/plugins/<name>/*
| Extension
|===
File diff suppressed because it is too large Load Diff
+42 -42
View File
@@ -1431,68 +1431,68 @@ Les identifiants réservés par WeeChat :
[width="100%",cols="5m,5,3,4,7",options="header"]
|===
| Identifiant | Reçu avec _sync_ | Données envoyées |
Description | Action recommandée dans le client
| Identifiant | Reçu avec _sync_ | Données envoyées
| Description | Action recommandée dans le client
| _buffer_opened | buffers / buffer | hdata : buffer |
Tampon ouvert. | Ouvrir le tampon.
| _buffer_opened | buffers / buffer | hdata : buffer
| Tampon ouvert. | Ouvrir le tampon.
| _buffer_type_changed | buffers / buffer | hdata : buffer |
Type de tampon changé. | Changer le type de tampon.
| _buffer_type_changed | buffers / buffer | hdata : buffer
| Type de tampon changé. | Changer le type de tampon.
| _buffer_moved | buffers / buffer | hdata : buffer |
Tampon déplacé. | Déplacer le tampon.
| _buffer_moved | buffers / buffer | hdata : buffer
| Tampon déplacé. | Déplacer le tampon.
| _buffer_merged | buffers / buffer | hdata : buffer |
Tampon mélangé. | Mélanger le tampon.
| _buffer_merged | buffers / buffer | hdata : buffer
| Tampon mélangé. | Mélanger le tampon.
| _buffer_unmerged | buffers / buffer | hdata : buffer |
Tampon sorti du mélange. | Sortir le tampon du mélange.
| _buffer_unmerged | buffers / buffer | hdata : buffer
| Tampon sorti du mélange. | Sortir le tampon du mélange.
| _buffer_hidden | buffers / buffer | hdata : buffer |
Tampon masqué. | Masquer le le tampon.
| _buffer_hidden | buffers / buffer | hdata : buffer
| Tampon masqué. | Masquer le le tampon.
| _buffer_unmerged | buffers / buffer | hdata : buffer |
Tampon démasqué. | Démasquer le tampon.
| _buffer_unmerged | buffers / buffer | hdata : buffer
| Tampon démasqué. | Démasquer le tampon.
| _buffer_renamed | buffers / buffer | hdata : buffer |
Tampon renommé. | Renommer le tampon.
| _buffer_renamed | buffers / buffer | hdata : buffer
| Tampon renommé. | Renommer le tampon.
| _buffer_title_changed | buffers / buffer | hdata : buffer |
Titre du tampon changé. | Changer le titre du tampon.
| _buffer_title_changed | buffers / buffer | hdata : buffer
| Titre du tampon changé. | Changer le titre du tampon.
| _buffer_localvar_added | buffers / buffer | hdata : buffer |
Variable locale ajoutée. | Ajouter la variable locale dans le tampon.
| _buffer_localvar_added | buffers / buffer | hdata : buffer
| Variable locale ajoutée. | Ajouter la variable locale dans le tampon.
| _buffer_localvar_changed | buffers / buffer | hdata : buffer |
Variable locale changée. | Changer la variable locale dans le tampon.
| _buffer_localvar_changed | buffers / buffer | hdata : buffer
| Variable locale changée. | Changer la variable locale dans le tampon.
| _buffer_localvar_removed | buffers / buffer | hdata : buffer |
Variable locale supprimée. | Supprimer la variable locale du tampon.
| _buffer_localvar_removed | buffers / buffer | hdata : buffer
| Variable locale supprimée. | Supprimer la variable locale du tampon.
| _buffer_closing | buffers / buffer | hdata : buffer |
Tampon qui se ferme. | Fermer le tampon.
| _buffer_closing | buffers / buffer | hdata : buffer
| Tampon qui se ferme. | Fermer le tampon.
| _buffer_cleared | buffer | hdata : buffer |
Tampon qui est vidé. | Vider le tampon.
| _buffer_cleared | buffer | hdata : buffer
| Tampon qui est vidé. | Vider le tampon.
| _buffer_line_added | buffer | hdata : line |
Ligne ajoutée dans le tampon. | Afficher la ligne dans le tampon.
| _buffer_line_added | buffer | hdata : line
| Ligne ajoutée dans le tampon. | Afficher la ligne dans le tampon.
| _nicklist | nicklist | hdata : nicklist_item |
Liste de pseudos pour un tampon. | Remplacer la liste de pseudos.
| _nicklist | nicklist | hdata : nicklist_item
| Liste de pseudos pour un tampon. | Remplacer la liste de pseudos.
| _nicklist_diff | nicklist | hdata : nicklist_item |
Différence de liste de pseudos pour un tampon . | Mettre à jour la liste de pseudos.
| _nicklist_diff | nicklist | hdata : nicklist_item
| Différence de liste de pseudos pour un tampon . | Mettre à jour la liste de pseudos.
| _pong | (always) | chaîne : paramètres du ping |
Réponse à un "ping". | Mesurer le temps de réponse.
| _pong | (always) | chaîne : paramètres du ping
| Réponse à un "ping". | Mesurer le temps de réponse.
| _upgrade | upgrade | (vide) |
WeeChat se met à jour. | Se désynchroniser de WeeChat (ou quitter).
| _upgrade | upgrade | (vide)
| WeeChat se met à jour. | Se désynchroniser de WeeChat (ou quitter).
| _upgrade_ended | upgrade | (vide) |
WeeChat a été mis à jour. | (Re)synchroniser avec WeeChat.
| _upgrade_ended | upgrade | (vide)
| WeeChat a été mis à jour. | (Re)synchroniser avec WeeChat.
|===
[[message_buffer_opened]]
+110 -110
View File
@@ -107,25 +107,25 @@ pas exhaustive) :
|===
| Fonction API | Paramètres | Exemples | Description
| hook_modifier |
irc_in_yyy |
pass:[irc_in_privmsg] +
pass:[irc_in_notice] |
Un message reçu dans l'extension IRC, avant qu'il ne soit décodé vers UTF-8. +
| hook_modifier
| irc_in_yyy
| pass:[irc_in_privmsg] +
pass:[irc_in_notice]
| Un message reçu dans l'extension IRC, avant qu'il ne soit décodé vers UTF-8. +
+
Il est recommandé d'utiliser plutôt le modificateur `+irc_in2_yyy+`, la chaîne
reçue sera toujours valide UTF-8. +
Voir la fonction `+hook_modifier+` dans la
link:weechat_plugin_api.fr.html#_hook_modifier[Référence API extension WeeChat].
| hook_signal |
xxx,irc_out_yyy +
xxx,irc_outtags_yyy |
pass:[*,irc_out_privmsg] +
| hook_signal
| xxx,irc_out_yyy +
xxx,irc_outtags_yyy
| pass:[*,irc_out_privmsg] +
pass:[*,irc_out_notice] +
pass:[*,irc_outtags_privmsg] +
pass:[*,irc_outtags_notice] |
Un message envoyé par l'extension IRC, après encodage vers le jeu de caractères
pass:[*,irc_outtags_notice]
| Un message envoyé par l'extension IRC, après encodage vers le jeu de caractères
`encode` défini par l'utilisateur (si différent de `UTF-8`, qui est la valeur
par défaut). +
+
@@ -135,10 +135,10 @@ pas exhaustive) :
link:weechat_plugin_api.fr.html#_hook_signal[Référence API extension WeeChat].
| hook_process +
hook_process_hashtable |
- |
- |
La sortie de la commande, envoyée à la fonction de rappel, peut contenir des
hook_process_hashtable
| -
| -
| La sortie de la commande, envoyée à la fonction de rappel, peut contenir des
données invalides UTF-8.
|===
@@ -574,14 +574,14 @@ Liste des fonctions de l'API script :
|===
| Catégorie | Fonctions
| général |
register
| général
| register
| extensions |
plugin_get_name
| extensions
| plugin_get_name
| chaînes |
charset_set +
| chaînes
| charset_set +
iconv_to_internal +
iconv_from_internal +
gettext +
@@ -600,13 +600,13 @@ Liste des fonctions de l'API script :
string_eval_expression +
string_eval_path_home
| répertoires |
mkdir_home +
| répertoires
| mkdir_home +
mkdir +
mkdir_parents
| listes triées |
list_new +
| listes triées
| list_new +
list_add +
list_search +
list_search_pos +
@@ -622,8 +622,8 @@ Liste des fonctions de l'API script :
list_remove_all +
list_free
| fichiers de configuration |
config_new +
| fichiers de configuration
| config_new +
config_new_section +
config_search_section +
config_new_option +
@@ -660,12 +660,12 @@ Liste des fonctions de l'API script :
config_set_desc_plugin +
config_unset_plugin
| associations de touches |
key_bind +
| associations de touches
| key_bind +
key_unbind
| affichage |
prefix +
| affichage
| prefix +
color +
print (pour python : prnt) +
print_date_tags (pour python : prnt_date_tags) +
@@ -673,8 +673,8 @@ Liste des fonctions de l'API script :
print_y_date_tags (pour python : prnt_y_date_tags) +
log_print
| hooks |
hook_command +
| hooks
| hook_command +
hook_command_run +
hook_timer +
hook_fd +
@@ -699,8 +699,8 @@ Liste des fonctions de l'API script :
unhook +
unhook_all
| tampons |
buffer_new +
| tampons
| buffer_new +
buffer_new_props +
current_buffer +
buffer_search +
@@ -716,16 +716,16 @@ Liste des fonctions de l'API script :
buffer_string_replace_local_var +
buffer_match_list
| fenêtres |
current_window +
| fenêtres
| current_window +
window_search_with_buffer +
window_get_integer +
window_get_string +
window_get_pointer +
window_set_title
| liste des pseudos |
nicklist_add_group +
| liste des pseudos
| nicklist_add_group +
nicklist_search_group +
nicklist_add_nick +
nicklist_search_nick +
@@ -741,8 +741,8 @@ Liste des fonctions de l'API script :
nicklist_nick_get_pointer +
nicklist_nick_set
| barres |
bar_item_search +
| barres
| bar_item_search +
bar_item_new +
bar_item_update +
bar_item_remove +
@@ -752,23 +752,23 @@ Liste des fonctions de l'API script :
bar_update +
bar_remove
| commandes |
command +
| commandes
| command +
command_options
| complétion |
completion_new +
| complétion
| completion_new +
completion_search +
completion_get_string +
completion_list_add +
completion_free
| infos |
info_get +
| infos
| info_get +
info_get_hashtable
| infolists |
infolist_new +
| infolists
| infolist_new +
infolist_new_item +
infolist_new_var_integer +
infolist_new_var_string +
@@ -786,8 +786,8 @@ Liste des fonctions de l'API script :
infolist_time +
infolist_free
| hdata |
hdata_get +
| hdata
| hdata_get +
hdata_get_var_offset +
hdata_get_var_type_string +
hdata_get_var_array_size +
@@ -808,8 +808,8 @@ Liste des fonctions de l'API script :
hdata_update +
hdata_get_string
| mise à jour |
upgrade_new +
| mise à jour
| upgrade_new +
upgrade_write_object +
upgrade_read +
upgrade_close
@@ -825,13 +825,13 @@ Liste des constantes de l'API script :
| Catégorie | Constantes
| codes retour |
`WEECHAT_RC_OK` (entier) +
| codes retour
| `WEECHAT_RC_OK` (entier) +
`WEECHAT_RC_OK_EAT` (entier) +
`WEECHAT_RC_ERROR` (entier)
| fichiers de configuration |
`WEECHAT_CONFIG_READ_OK` (entier) +
| fichiers de configuration
| `WEECHAT_CONFIG_READ_OK` (entier) +
`WEECHAT_CONFIG_READ_MEMORY_ERROR` (entier) +
`WEECHAT_CONFIG_READ_FILE_NOT_FOUND` (entier) +
`WEECHAT_CONFIG_WRITE_OK` (entier) +
@@ -846,23 +846,23 @@ Liste des constantes de l'API script :
`WEECHAT_CONFIG_OPTION_UNSET_OK_REMOVED` (entier) +
`WEECHAT_CONFIG_OPTION_UNSET_ERROR` (entier)
| listes triées |
`WEECHAT_LIST_POS_SORT` (chaîne) +
| listes triées
| `WEECHAT_LIST_POS_SORT` (chaîne) +
`WEECHAT_LIST_POS_BEGINNING` (chaîne) +
`WEECHAT_LIST_POS_END` (chaîne)
| hotlist |
`WEECHAT_HOTLIST_LOW` (chaîne) +
| hotlist
| `WEECHAT_HOTLIST_LOW` (chaîne) +
`WEECHAT_HOTLIST_MESSAGE` (chaîne) +
`WEECHAT_HOTLIST_PRIVATE` (chaîne) +
`WEECHAT_HOTLIST_HIGHLIGHT` (chaîne)
| hook process |
`WEECHAT_HOOK_PROCESS_RUNNING` (entier) +
| hook process
| `WEECHAT_HOOK_PROCESS_RUNNING` (entier) +
`WEECHAT_HOOK_PROCESS_ERROR` (entier)
| hook connect |
`WEECHAT_HOOK_CONNECT_OK` (entier) +
| hook connect
| `WEECHAT_HOOK_CONNECT_OK` (entier) +
`WEECHAT_HOOK_CONNECT_ADDRESS_NOT_FOUND` (entier) +
`WEECHAT_HOOK_CONNECT_IP_ADDRESS_NOT_FOUND` (entier) +
`WEECHAT_HOOK_CONNECT_CONNECTION_REFUSED` (entier) +
@@ -874,8 +874,8 @@ Liste des constantes de l'API script :
`WEECHAT_HOOK_CONNECT_TIMEOUT` (entier) +
`WEECHAT_HOOK_CONNECT_SOCKET_ERROR` (entier)
| hook signal |
`WEECHAT_HOOK_SIGNAL_STRING` (chaîne) +
| hook signal
| `WEECHAT_HOOK_SIGNAL_STRING` (chaîne) +
`WEECHAT_HOOK_SIGNAL_INT` (chaîne) +
`WEECHAT_HOOK_SIGNAL_POINTER` (chaîne)
|===
@@ -1346,62 +1346,62 @@ Le résultat est une table de hachage avec les clés suivantes
|===
| Clé | Depuis WeeChat ^(1)^ | Description | Exemple
| tags | 0.4.0 |
Les étiquettes dans le message (peut être vide). |
`+time=2015-06-27T16:40:35.000Z+`
| tags | 0.4.0
| Les étiquettes dans le message (peut être vide).
| `+time=2015-06-27T16:40:35.000Z+`
| tag_xxx | 3.3 |
Valeur de l'étiquette "xxx" sans les échappements (une clé par étiquette). |
`+2015-06-27T16:40:35.000Z+`
| tag_xxx | 3.3
| Valeur de l'étiquette "xxx" sans les échappements (une clé par étiquette).
| `+2015-06-27T16:40:35.000Z+`
| message_without_tags | 0.4.0 |
Le message sans les étiquettes (la même chose que le message s'il n'y a pas
d'étiquettes). |
`+:nick!user@host PRIVMSG #weechat :hello!+`
| message_without_tags | 0.4.0
| Le message sans les étiquettes (la même chose que le message s'il n'y a pas
d'étiquettes).
| `+:nick!user@host PRIVMSG #weechat :hello!+`
| nick | 0.3.4 |
Le pseudo d'origine. |
`+nick+`
| nick | 0.3.4
| Le pseudo d'origine.
| `+nick+`
| user | 2.7 |
L'utilisateur d'origine. |
`+user+`
| user | 2.7
| L'utilisateur d'origine.
| `+user+`
| host | 0.3.4 |
L'hôte d'origine (incluant le pseudo). |
`+nick!user@host+`
| host | 0.3.4
| L'hôte d'origine (incluant le pseudo).
| `+nick!user@host+`
| command | 0.3.4 |
La commande (_PRIVMSG_, _NOTICE_, ...). |
`+PRIVMSG+`
| command | 0.3.4
| La commande (_PRIVMSG_, _NOTICE_, ...).
| `+PRIVMSG+`
| channel | 0.3.4 |
Le canal cible. |
`+#weechat+`
| channel | 0.3.4
| Le canal cible.
| `+#weechat+`
| arguments | 0.3.4 |
Les paramètres de la commande (incluant le canal). |
`+#weechat :hello!+`
| arguments | 0.3.4
| Les paramètres de la commande (incluant le canal).
| `+#weechat :hello!+`
| text | 1.3 |
Le texte (par exemple un message utilisateur). |
`+hello!+`
| text | 1.3
| Le texte (par exemple un message utilisateur).
| `+hello!+`
| pos_command | 1.3 |
La position de _command_ dans le message ("-1" si _command_ n'a pas été trouvé). |
`+47+`
| pos_command | 1.3
| La position de _command_ dans le message ("-1" si _command_ n'a pas été trouvé).
| `+47+`
| pos_arguments | 1.3 |
La position de _arguments_ dans le message ("-1" si _arguments_ n'a pas été trouvé). |
`+55+`
| pos_arguments | 1.3
| La position de _arguments_ dans le message ("-1" si _arguments_ n'a pas été trouvé).
| `+55+`
| pos_channel | 1.3 |
La position de _channel_ dans le message ("-1" si _channel_ n'a pas été trouvé). |
`+55+`
| pos_channel | 1.3
| La position de _channel_ dans le message ("-1" si _channel_ n'a pas été trouvé).
| `+55+`
| pos_text | 1.3 |
La position de _text_ dans le message ("-1" si _text_ n'a pas été trouvé). |
`+65+`
| pos_text | 1.3
| La position de _text_ dans le message ("-1" si _text_ n'a pas été trouvé).
| `+65+`
|===
[NOTE]
+258 -258
View File
@@ -202,117 +202,117 @@ Liste des options couramment utilisées :
|===
| Option | Valeurs | Valeur par défaut | Description
| CMAKE_BUILD_TYPE | `Debug`, `Release`, `RelWithDebInfo`, `MinSizeRel` | |
Type de construction : `Debug` (ou `RelWithDebInfo`) est recommandé si vous
| CMAKE_BUILD_TYPE | `Debug`, `Release`, `RelWithDebInfo`, `MinSizeRel` |
| Type de construction : `Debug` (ou `RelWithDebInfo`) est recommandé si vous
utilisez une version de développement de WeeChat.
| CMAKE_INSTALL_PREFIX | répertoire | /usr/local |
Le répertoire dans lequel WeeChat sera installé.
| CMAKE_INSTALL_PREFIX | répertoire | /usr/local
| Le répertoire dans lequel WeeChat sera installé.
| WEECHAT_HOME | répertoire | (chaîne vide) |
Le répertoire "maison" par défaut lors du lancement de WeeChat. +
| WEECHAT_HOME | répertoire | (chaîne vide)
| Le répertoire "maison" par défaut lors du lancement de WeeChat. +
Avec une valeur vide (recommandé), les répertoires XDG sont utilisés par défaut.
Si non vide, un répertoire unique est utilisé pour tous les fichiers.
La valeur peut aussi être 4 répertoires séparés par ":", dans cet ordre :
config, data, cache, runtime.
| ENABLE_ALIAS | `ON`, `OFF` | ON |
Compiler <<command_aliases,l'extension Alias>>.
| ENABLE_ALIAS | `ON`, `OFF` | ON
| Compiler <<command_aliases,l'extension Alias>>.
| ENABLE_BUFLIST | `ON`, `OFF` | ON |
Compiler <<buflist,l'extension Buflist>>.
| ENABLE_BUFLIST | `ON`, `OFF` | ON
| Compiler <<buflist,l'extension Buflist>>.
| ENABLE_CHARSET | `ON`, `OFF` | ON |
Compiler <<charset,l'extension Charset>>.
| ENABLE_CHARSET | `ON`, `OFF` | ON
| Compiler <<charset,l'extension Charset>>.
| ENABLE_MAN | `ON`, `OFF` | OFF |
Construire la page man.
| ENABLE_MAN | `ON`, `OFF` | OFF
| Construire la page man.
| ENABLE_DOC | `ON`, `OFF` | OFF |
Construire la documentation HTML.
| ENABLE_DOC | `ON`, `OFF` | OFF
| Construire la documentation HTML.
| ENABLE_ENCHANT | `ON`, `OFF` | OFF |
Compiler <<spell_checking,l'extension Spell>> avec Enchant.
| ENABLE_ENCHANT | `ON`, `OFF` | OFF
| Compiler <<spell_checking,l'extension Spell>> avec Enchant.
| ENABLE_EXEC | `ON`, `OFF` | ON |
Compiler <<external_commands,l'extension Exec>>.
| ENABLE_EXEC | `ON`, `OFF` | ON
| Compiler <<external_commands,l'extension Exec>>.
| ENABLE_FIFO | `ON`, `OFF` | ON |
Compiler <<fifo_pipe,l'extension Fifo>>.
| ENABLE_FIFO | `ON`, `OFF` | ON
| Compiler <<fifo_pipe,l'extension Fifo>>.
| ENABLE_FSET | `ON`, `OFF` | ON |
Compiler <<fset,l'extension Fset>>.
| ENABLE_FSET | `ON`, `OFF` | ON
| Compiler <<fset,l'extension Fset>>.
| ENABLE_GUILE | `ON`, `OFF` | ON |
Compiler <<scripting_plugins,l'extension Guile>> (Scheme).
| ENABLE_GUILE | `ON`, `OFF` | ON
| Compiler <<scripting_plugins,l'extension Guile>> (Scheme).
| ENABLE_IRC | `ON`, `OFF` | ON |
Compiler <<irc,l'extension IRC>>.
| ENABLE_IRC | `ON`, `OFF` | ON
| Compiler <<irc,l'extension IRC>>.
| ENABLE_JAVASCRIPT | `ON`, `OFF` | OFF |
Compiler <<scripting_plugins,l'extension JavaScript>>.
| ENABLE_JAVASCRIPT | `ON`, `OFF` | OFF
| Compiler <<scripting_plugins,l'extension JavaScript>>.
| ENABLE_LARGEFILE | `ON`, `OFF` | ON |
Support des gros fichiers.
| ENABLE_LARGEFILE | `ON`, `OFF` | ON
| Support des gros fichiers.
| ENABLE_LOGGER | `ON`, `OFF` | ON |
Compiler <<buffer_logging,l'extension Logger>>.
| ENABLE_LOGGER | `ON`, `OFF` | ON
| Compiler <<buffer_logging,l'extension Logger>>.
| ENABLE_LUA | `ON`, `OFF` | ON |
Compiler <<scripting_plugins,l'extension Lua>>.
| ENABLE_LUA | `ON`, `OFF` | ON
| Compiler <<scripting_plugins,l'extension Lua>>.
| ENABLE_NCURSES | `ON`, `OFF` | ON |
Compiler l'interface Ncurses.
| ENABLE_NCURSES | `ON`, `OFF` | ON
| Compiler l'interface Ncurses.
| ENABLE_NLS | `ON`, `OFF` | ON |
Activer NLS (traductions).
| ENABLE_NLS | `ON`, `OFF` | ON
| Activer NLS (traductions).
| ENABLE_PERL | `ON`, `OFF` | ON |
Compiler <<scripting_plugins,l'extension Perl>>.
| ENABLE_PERL | `ON`, `OFF` | ON
| Compiler <<scripting_plugins,l'extension Perl>>.
| ENABLE_PHP | `ON`, `OFF` | ON |
Compiler <<scripting_plugins,l'extension PHP>>.
| ENABLE_PHP | `ON`, `OFF` | ON
| Compiler <<scripting_plugins,l'extension PHP>>.
| ENABLE_PYTHON | `ON`, `OFF` | ON |
Compiler <<scripting_plugins,l'extension Python>>.
| ENABLE_PYTHON | `ON`, `OFF` | ON
| Compiler <<scripting_plugins,l'extension Python>>.
| ENABLE_PYTHON2 | `ON`, `OFF` | OFF |
Compiler <<scripting_plugins,l'extension Python>> avec Python 2 au lieu de
| ENABLE_PYTHON2 | `ON`, `OFF` | OFF
| Compiler <<scripting_plugins,l'extension Python>> avec Python 2 au lieu de
Python 3.
| ENABLE_RELAY | `ON`, `OFF` | ON |
Compiler <<relay,l'extension Relay>>.
| ENABLE_RELAY | `ON`, `OFF` | ON
| Compiler <<relay,l'extension Relay>>.
| ENABLE_RUBY | `ON`, `OFF` | ON |
Compiler <<scripting_plugins,l'extension Ruby>>.
| ENABLE_RUBY | `ON`, `OFF` | ON
| Compiler <<scripting_plugins,l'extension Ruby>>.
| ENABLE_SCRIPT | `ON`, `OFF` | ON |
Compiler <<script_manager,l'extension Script>>.
| ENABLE_SCRIPT | `ON`, `OFF` | ON
| Compiler <<script_manager,l'extension Script>>.
| ENABLE_SCRIPTS | `ON`, `OFF` | ON |
Compiler <<scripting_plugins,les extensions de script>> (Python, Perl, Ruby,
| ENABLE_SCRIPTS | `ON`, `OFF` | ON
| Compiler <<scripting_plugins,les extensions de script>> (Python, Perl, Ruby,
Lua, Tcl, Guile, JavaScript, PHP).
| ENABLE_SPELL | `ON`, `OFF` | ON |
Compiler <<spell_checking,l'extension Spell>>.
| ENABLE_SPELL | `ON`, `OFF` | ON
| Compiler <<spell_checking,l'extension Spell>>.
| ENABLE_TCL | `ON`, `OFF` | ON |
Compiler <<scripting_plugins,l'extension Tcl>>.
| ENABLE_TCL | `ON`, `OFF` | ON
| Compiler <<scripting_plugins,l'extension Tcl>>.
| ENABLE_TRIGGER | `ON`, `OFF` | ON |
Compiler <<trigger,l'extension Trigger>>.
| ENABLE_TRIGGER | `ON`, `OFF` | ON
| Compiler <<trigger,l'extension Trigger>>.
| ENABLE_TYPING | `ON`, `OFF` | ON |
Compiler <<typing_notifications,l'extension Typing>>.
| ENABLE_TYPING | `ON`, `OFF` | ON
| Compiler <<typing_notifications,l'extension Typing>>.
| ENABLE_XFER | `ON`, `OFF` | ON |
Compiler <<xfer,l'extension Xfer>>.
| ENABLE_XFER | `ON`, `OFF` | ON
| Compiler <<xfer,l'extension Xfer>>.
| ENABLE_TESTS | `ON`, `OFF` | OFF |
Compiler les tests.
| ENABLE_TESTS | `ON`, `OFF` | OFF
| Compiler les tests.
| ENABLE_CODE_COVERAGE | `ON`, `OFF` | OFF |
Compiler avec les options de couverture de code. +
| ENABLE_CODE_COVERAGE | `ON`, `OFF` | OFF
| Compiler avec les options de couverture de code. +
Cette option ne devrait être utilisée que pour les tests, pour mesurer la
couverture de tests.
|===
@@ -1363,94 +1363,94 @@ Par défaut WeeChat et ses extensions par défaut interprètent ces variables :
|===
| Nom | Valeur | Description
| away |
toute chaîne |
Message d'absence sur le serveur, défini par l'extension irc.
| away
| toute chaîne
| Message d'absence sur le serveur, défini par l'extension irc.
| channel |
toute chaîne |
Nom du canal, défini par les extensions irc/xfer et le tampon de debug des
| channel
| toute chaîne
| Nom du canal, défini par les extensions irc/xfer et le tampon de debug des
extensions relay/trigger.
| charset_modifier |
toute chaîne |
Modificateur de charset du tampon serveur, défini par l'extension irc.
| charset_modifier
| toute chaîne
| Modificateur de charset du tampon serveur, défini par l'extension irc.
| completion_default_template |
toute chaîne |
Modèle de complétion par défaut pour le tampon, qui remplace l'option
| completion_default_template
| toute chaîne
| Modèle de complétion par défaut pour le tampon, qui remplace l'option
`weechat.completion.default_template`.
| filter |
toute chaîne |
Filtre défini sur certains tampons comme `/fset`, `/server raw` (irc) et
| filter
| toute chaîne
| Filtre défini sur certains tampons comme `/fset`, `/server raw` (irc) et
`/script`.
| host |
toute chaîne |
Nom d'hôte personnel (si connu), défini par l'extension irc.
| host
| toute chaîne
| Nom d'hôte personnel (si connu), défini par l'extension irc.
| lag |
toute chaîne |
Lag sur le serveur, défini par l'extension irc.
| lag
| toute chaîne
| Lag sur le serveur, défini par l'extension irc.
| name |
toute chaîne |
Nom du tampon (attention, ce n'est pas le nom complet du tampon et ce nom
| name
| toute chaîne
| Nom du tampon (attention, ce n'est pas le nom complet du tampon et ce nom
n'est pas suffisant pour identifier ou chercher un tampon).
| nick |
toute chaîne |
Pseudo personnel, défini par les extensions irc et xfer.
| nick
| toute chaîne
| Pseudo personnel, défini par les extensions irc et xfer.
| no_log |
`1` (or any non-empty string) |
Si défini, l'extension logger n'écrira pas le "log" du tampon sur disque.
| no_log
| `1` (or any non-empty string)
| Si défini, l'extension logger n'écrira pas le "log" du tampon sur disque.
| plugin |
toute chaîne |
Nom de l'extension qui a créé le tampon (`core` pour les tampons WeeChat).
| plugin
| toute chaîne
| Nom de l'extension qui a créé le tampon (`core` pour les tampons WeeChat).
| script_close_cb |
toute chaîne |
Nom de la fonction de rappel pour la fermeture,
| script_close_cb
| toute chaîne
| Nom de la fonction de rappel pour la fermeture,
défini par un script pour le tampon.
| script_close_cb_data |
toute chaîne |
Données pour la fonction de rappel pour la fermeture,
| script_close_cb_data
| toute chaîne
| Données pour la fonction de rappel pour la fermeture,
définies par un script pour le tampon.
| script_input_cb |
toute chaîne |
Nom de la fonction de rappel d'entrée,
| script_input_cb
| toute chaîne
| Nom de la fonction de rappel d'entrée,
défini par un script pour le tampon.
| script_input_cb_data |
toute chaîne |
Données pour la fonction de rappel d'entrée,
| script_input_cb_data
| toute chaîne
| Données pour la fonction de rappel d'entrée,
définies par un script pour le tampon.
| script_name |
toute chaîne |
Nom du script qui a créé le tampon.
| script_name
| toute chaîne
| Nom du script qui a créé le tampon.
| server |
toute chaîne |
Nom du serveur, défini par l'extension irc et le tampon de debug des extensions
| server
| toute chaîne
| Nom du serveur, défini par l'extension irc et le tampon de debug des extensions
relay/trigger.
| spell_suggest |
toute chaîne |
Mot mal orthographié et ses suggestions (format : "mot:suggestions"), défini
| spell_suggest
| toute chaîne
| Mot mal orthographié et ses suggestions (format : "mot:suggestions"), défini
par l'extension spell.
| trigger_filter |
toute chaîne |
Filtre trigger, défini par l'extension trigger.
| trigger_filter
| toute chaîne
| Filtre trigger, défini par l'extension trigger.
| type |
toute chaîne, par exemple :
| type
| toute chaîne, par exemple :
`channel`,
`debug`,
`exec`,
@@ -1460,8 +1460,8 @@ Par défaut WeeChat et ses extensions par défaut interprètent ces variables :
`script`,
`server`,
`user`,
`xfer` |
Type de tampon, défini par WeeChat et plusieurs extensions.
`xfer`
| Type de tampon, défini par WeeChat et plusieurs extensions.
|===
@@ -2717,8 +2717,8 @@ Liste des options de barre :
|===
| Option | Valeurs | Description
| type | `root`, `window` |
Une barre avec le type `root` est affichée exactement une fois à l'écran, en
| type | `root`, `window`
| Une barre avec le type `root` est affichée exactement une fois à l'écran, en
dehors de toutes les fenêtres. La barre par défaut _buflist_ est de type
`root`. +
Une barre avec le type `window` est affichée dans chaque fenêtre, par exemple
@@ -2726,60 +2726,60 @@ Liste des options de barre :
aurez une barre dans chaque fenêtre. Les barres par défaut _title_, _status_,
_input_ et _nicklist_ sont de type `window`.
| position | `top`, `bottom`, `left`, `right` |
Position de la barre : au dessus/en dessous de la discussion, sur la
| position | `top`, `bottom`, `left`, `right`
| Position de la barre : au dessus/en dessous de la discussion, sur la
gauche/droite.
| priority | entier ≥ 0 |
Priorité de la barre : elle est utilisée pour ordonner les barres à l'écran,
| priority | entier ≥ 0
| Priorité de la barre : elle est utilisée pour ordonner les barres à l'écran,
quand plusieurs barres utilisent le même type et position. +
Les barres sont affichées depuis le bord de l'écran vers le centre. Une
priorité plus haute affichera la barre au début, donc près du bord. +
Exemple : la barre _input_ a une priorité de 1000, donc elle est affichée
avant la barre _status_, qui a une priorité de 500.
| size | entier ≥ 0 |
La taille de la barre : nombre de colonnes pour une position left/right,
| size | entier ≥ 0
| La taille de la barre : nombre de colonnes pour une position left/right,
nombre de lignes pour une position top/bottom. Une taille de `0` signifie
automatique, donc la taille sera calculée en fonction du contenu affiché dans
la barre.
| size_max | entier ≥ 0 |
La taille maximum pour la barre, `0` = pas de limite (cette option est
| size_max | entier ≥ 0
| La taille maximum pour la barre, `0` = pas de limite (cette option est
utilisée seulement si `size` = `0`).
| color_bg | couleur |
La couleur par défaut du fond de la barre.
| color_bg | couleur
| La couleur par défaut du fond de la barre.
| color_fg | couleur |
La couleur par défaut du texte dans la barre.
| color_fg | couleur
| La couleur par défaut du texte dans la barre.
| color_delim | couleur |
La couleur des délimiteurs dans la barre.
| color_delim | couleur
| La couleur des délimiteurs dans la barre.
| hidden | `on`, `off` |
Lorsque l'option est `on`, la barre est cachée. +
| hidden | `on`, `off`
| Lorsque l'option est `on`, la barre est cachée. +
Note : plutôt que de changer cette option, il est préférable d'utiliser la
commande `/bar`, par exemple : `/bar toggle nicklist` (voir la commande
<<command_weechat_bar,/bar>>).
| separator | `on`, `off` |
Lorsque l'option est `on`, un séparateur (ligne) est affiché entre la barre et
| separator | `on`, `off`
| Lorsque l'option est `on`, un séparateur (ligne) est affiché entre la barre et
les autres barres (ou la discussion).
| items | chaîne |
Une liste d'objets (voir <<bar_items,objets>> pour plus d'infos).
| items | chaîne
| Une liste d'objets (voir <<bar_items,objets>> pour plus d'infos).
| filling_left_right | `+horizontal+`, `+vertical+`, `+columns_horizontal+`, `+columns_vertical+` |
Type de remplissage pour la barre lorsqu'elle a une position `left` ou
| filling_left_right | `+horizontal+`, `+vertical+`, `+columns_horizontal+`, `+columns_vertical+`
| Type de remplissage pour la barre lorsqu'elle a une position `left` ou
`right` (voir <<bar_filling,remplissage>> pour plus d'infos).
| filling_top_bottom | `+horizontal+`, `+vertical+`, `+columns_horizontal+`, `+columns_vertical+` |
Type de remplissage pour la barre lorsqu'elle a une position `top` ou `bottom`
| filling_top_bottom | `+horizontal+`, `+vertical+`, `+columns_horizontal+`, `+columns_vertical+`
| Type de remplissage pour la barre lorsqu'elle a une position `top` ou `bottom`
(voir <<bar_filling,remplissage>> pour plus d'infos).
| conditions | chaîne |
Les conditions pour afficher la barre (voir <<bar_conditions,conditions>> pour
| conditions | chaîne
| Les conditions pour afficher la barre (voir <<bar_conditions,conditions>> pour
plus d'infos).
|===
@@ -4024,15 +4024,15 @@ Les signaux suivants sont captés par l'extension typing :
|===
| Signal | Paramètres | Description
| typing_set_nick |
Chaîne : pointeur tampon + ";" + état (un parmi ceux-ci : "off", "typing",
| typing_set_nick
| Chaîne : pointeur tampon + ";" + état (un parmi ceux-ci : "off", "typing",
"paused", "cleared") + ";" + pseudo. +
Example: "0x1234abcd;typing;alice". |
Définir l'état de la saisie du pseudo sur le tampon.
Example: "0x1234abcd;typing;alice".
| Définir l'état de la saisie du pseudo sur le tampon.
| typing_reset_buffer |
Pointeur : tampon. |
Supprimer l'état de saisir pour tous les pseudos d'un tampon.
| typing_reset_buffer
| Pointeur : tampon.
| Supprimer l'état de saisir pour tous les pseudos d'un tampon.
|===
[[typing_options]]
@@ -4390,25 +4390,25 @@ Liste des triggers par défaut :
|===
| Nom | Hook | Description
| beep | print |
Faire un bip sur un message de highlight ou privé.
| beep | print
| Faire un bip sur un message de highlight ou privé.
| cmd_pass | modifier |
Cacher le mot de passe dans les commandes :
| cmd_pass | modifier
| Cacher le mot de passe dans les commandes :
`pass:[/msg nickserv id\|identify\|set password\|ghost\|release\|regain\|recover]`,
`pass:[/oper]`,
`pass:[/quote pass]`,
`pass:[/secure passphrase\|decrypt\|set]`.
| cmd_pass_register | modifier |
Cacher le mot de passe dans la commande `pass:[/msg nickserv register]`.
| cmd_pass_register | modifier
| Cacher le mot de passe dans la commande `pass:[/msg nickserv register]`.
| msg_auth | modifier |
Cacher le mot de passe dans le message d'authentification IRC affiché
| msg_auth | modifier
| Cacher le mot de passe dans le message d'authentification IRC affiché
(message reçu du serveur après l'envoi de la commande par l'utilisateur).
| server_pass | modifier |
Cacher le mot de passe du serveur dans les commandes `/server` et `/connect`.
| server_pass | modifier
| Cacher le mot de passe du serveur dans les commandes `/server` et `/connect`.
|===
[[trigger_anatomy]]
@@ -4421,39 +4421,39 @@ Un trigger a les options suivantes (les noms sont
|===
| Option | Valeurs | Description
| enabled | `on`, `off` |
Lorsque l'option est `off`, le trigger est désactivé et les actions ne sont
| enabled | `on`, `off`
| Lorsque l'option est `off`, le trigger est désactivé et les actions ne sont
plus exécutées.
| hook | `+signal+`, `+hsignal+`, `+modifier+`, `+line+`, `+print+`, `+command+`,
`+command_run+`, `+timer+`, `+config+`, `+focus+`, `+info+`, `+info_hashtable+` |
Le "hook" utilisé dans le trigger. Pour plus d'information, voir la
`+command_run+`, `+timer+`, `+config+`, `+focus+`, `+info+`, `+info_hashtable+`
| Le "hook" utilisé dans le trigger. Pour plus d'information, voir la
link:weechat_plugin_api.fr.html#hooks[Référence API extension WeeChat / Hooks].
| arguments | chaîne |
Les paramètres pour le "hook", ils dépendent du type de hook utilisé.
| arguments | chaîne
| Les paramètres pour le "hook", ils dépendent du type de hook utilisé.
| conditions | chaîne |
Conditions pour exécuter le trigger : elles sont évaluées (voir la commande
| conditions | chaîne
| Conditions pour exécuter le trigger : elles sont évaluées (voir la commande
<<command_weechat_eval,/eval>>).
| regex | chaîne |
Une ou plusieurs expressions régulières POSIX étendues, pour modifier les
| regex | chaîne
| Une ou plusieurs expressions régulières POSIX étendues, pour modifier les
données reçues dans la fonction de rappel du "hook" (et d'autres choses
ajoutées par l'extension trigger), voir <<trigger_regex,expression régulière>>.
| command | chaîne |
Commande à exécuter (plusieurs commandes peuvent être séparées par des
| command | chaîne
| Commande à exécuter (plusieurs commandes peuvent être séparées par des
points-virgules) ; elle est évaluée (voir la commande
<<command_weechat_eval,/eval>>).
| return_code | `+ok+`, `+ok_eat+`, `+error+` |
Le code retour de la fonction de rappel (`ok` par défaut, qui devrait être
| return_code | `+ok+`, `+ok_eat+`, `+error+`
| Le code retour de la fonction de rappel (`ok` par défaut, qui devrait être
utilisé dans quasiment tous les triggers, les autres valeurs sont rarement
utilisées).
| post_action | `none`, `disable`, `delete` |
Action à effectuer sur le trigger après l'exécution (`none` par défaut, qui
| post_action | `none`, `disable`, `delete`
| Action à effectuer sur le trigger après l'exécution (`none` par défaut, qui
devrait être utilisé dans quasiment tous les triggers, les autres valeurs sont
rarement utilisées).
|===
@@ -4495,105 +4495,105 @@ points-virgules.
|===
| Hook | Paramètres | Exemples | Documentation (API)
| signal |
1. nom de signal (priorité autorisée) (obligatoire) +
| signal
| 1. nom de signal (priorité autorisée) (obligatoire) +
2. nom de signal (priorité autorisée) +
3. ... |
`+*,irc_in_privmsg+` +
3. ...
| `+*,irc_in_privmsg+` +
`+*,irc_in_privmsg;*,irc_in_notice+` +
`+signal_sigwinch+` |
link:weechat_plugin_api.fr.html#_hook_signal[hook_signal]
`+signal_sigwinch+`
| link:weechat_plugin_api.fr.html#_hook_signal[hook_signal]
| hsignal |
1. nom de signal (priorité autorisée) (obligatoire) +
| hsignal
| 1. nom de signal (priorité autorisée) (obligatoire) +
2. nom de signal (priorité autorisée) +
3. ... |
`+nicklist_nick_added+` |
link:weechat_plugin_api.fr.html#_hook_hsignal[hook_hsignal]
3. ...
| `+nicklist_nick_added+`
| link:weechat_plugin_api.fr.html#_hook_hsignal[hook_hsignal]
| modifier |
1. nom de modificateur (priorité autorisée) (obligatoire) +
| modifier
| 1. nom de modificateur (priorité autorisée) (obligatoire) +
2. nom de modificateur (priorité autorisée) +
3. ... |
`+weechat_print+` +
`+5000\|input_text_display;5000\|history_add+` |
link:weechat_plugin_api.fr.html#_hook_modifier[hook_modifier]
3. ...
| `+weechat_print+` +
`+5000\|input_text_display;5000\|history_add+`
| link:weechat_plugin_api.fr.html#_hook_modifier[hook_modifier]
| line |
1. type de tampon +
| line
| 1. type de tampon +
2. nom de tampon +
3. étiquettes |
`+formatted+` +
3. étiquettes
| `+formatted+` +
`+free+` +
`+*;irc.libera.*+` +
`+*;irc.libera.#weechat+` +
`+formatted;irc.libera.#weechat;irc_notice+` |
link:weechat_plugin_api.en.html#_hook_line[hook_line]
`+formatted;irc.libera.#weechat;irc_notice+`
| link:weechat_plugin_api.en.html#_hook_line[hook_line]
| print |
1. nom de tampon +
| print
| 1. nom de tampon +
2. étiquettes +
3. message +
4. suppression des couleurs (0/1) |
`+irc.libera.*+` +
4. suppression des couleurs (0/1)
| `+irc.libera.*+` +
`+irc.libera.#weechat+` +
`+irc.libera.#weechat;irc_notice+` +
`+*;;;1+` |
link:weechat_plugin_api.fr.html#_hook_print[hook_print]
`+*;;;1+`
| link:weechat_plugin_api.fr.html#_hook_print[hook_print]
| command |
1. nom de commande (priorité autorisée) (obligatoire) +
| command
| 1. nom de commande (priorité autorisée) (obligatoire) +
2. description (évalué, voir la commande <<command_weechat_eval,/eval>>) +
3. paramètres (évalué, voir la commande <<command_weechat_eval,/eval>>) +
4. description des paramètres (évalué, voir la commande <<command_weechat_eval,/eval>>) +
5. complétion (évalué, voir la commande <<command_weechat_eval,/eval>>) |
`+test+` +
5. complétion (évalué, voir la commande <<command_weechat_eval,/eval>>)
| `+test+` +
`+5000\|test+` +
`+test;commande de test;arg1 arg2;arg1: description 1${\n}arg2: description 2+` |
link:weechat_plugin_api.fr.html#_hook_command[hook_command]
`+test;commande de test;arg1 arg2;arg1: description 1${\n}arg2: description 2+`
| link:weechat_plugin_api.fr.html#_hook_command[hook_command]
| command_run |
1. commande (priorité autorisée) (obligatoire) +
| command_run
| 1. commande (priorité autorisée) (obligatoire) +
2. commande (priorité autorisée) +
3. ... |
`+/cmd paramètres+` |
link:weechat_plugin_api.fr.html#_hook_command_run[hook_command_run]
3. ...
| `+/cmd paramètres+`
| link:weechat_plugin_api.fr.html#_hook_command_run[hook_command_run]
| timer |
1. intervalle, en millisecondes (obligatoire) +
| timer
| 1. intervalle, en millisecondes (obligatoire) +
2. alignement sur la seconde (par défaut : 0) +
3. nombre maximum d'appels (par défaut : 0, qui signifie "sans fin") |
`+3600000+` +
`+60000;0;5+` |
link:weechat_plugin_api.fr.html#_hook_timer[hook_timer]
3. nombre maximum d'appels (par défaut : 0, qui signifie "sans fin")
| `+3600000+` +
`+60000;0;5+`
| link:weechat_plugin_api.fr.html#_hook_timer[hook_timer]
| config |
1. nom d'option (priorité autorisée) (obligatoire) +
| config
| 1. nom d'option (priorité autorisée) (obligatoire) +
2. nom d'option (priorité autorisée) +
3. ... |
`+weechat.look.*+` |
link:weechat_plugin_api.fr.html#_hook_config[hook_config]
3. ...
| `+weechat.look.*+`
| link:weechat_plugin_api.fr.html#_hook_config[hook_config]
| focus |
1. nom d'aire (priorité autorisée) (obligatoire) +
| focus
| 1. nom d'aire (priorité autorisée) (obligatoire) +
2. nom d'aire (priorité autorisée) +
3. ... |
`+buffer_nicklist+` |
link:weechat_plugin_api.fr.html#_hook_focus[hook_focus]
3. ...
| `+buffer_nicklist+`
| link:weechat_plugin_api.fr.html#_hook_focus[hook_focus]
| info |
1. nom de l'info (priorité autorisée) (obligatoire) +
| info
| 1. nom de l'info (priorité autorisée) (obligatoire) +
2. nom de l'info (priorité autorisée) +
3. ... |
`+mon_info+` |
link:weechat_plugin_api.fr.html#_hook_info[hook_info]
3. ...
| `+mon_info+`
| link:weechat_plugin_api.fr.html#_hook_info[hook_info]
| info_hashtable |
1. nom de l'info (priorité autorisée) (obligatoire) +
| info_hashtable
| 1. nom de l'info (priorité autorisée) (obligatoire) +
2. nom de l'info (priorité autorisée) +
3. ... |
`+mon_info+` |
link:weechat_plugin_api.fr.html#_hook_info_hashtable[hook_info_hashtable]
3. ...
| `+mon_info+`
| link:weechat_plugin_api.fr.html#_hook_info_hashtable[hook_info_hashtable]
|===
[[trigger_conditions]]
File diff suppressed because it is too large Load Diff
+109 -109
View File
@@ -111,11 +111,11 @@ receive a string of type `str` or `bytes` (this list is not exhaustive):
|===
| API function | Arguments | Examples | Description
| hook_modifier |
irc_in_yyy |
pass:[irc_in_privmsg] +
pass:[irc_in_notice] |
A message received in IRC plugin, before it is decoded to UTF-8 (used
| hook_modifier
| irc_in_yyy
| pass:[irc_in_privmsg] +
pass:[irc_in_notice]
| A message received in IRC plugin, before it is decoded to UTF-8 (used
internally). +
+
It is recommended to use modifier `+irc_in2_yyy+` instead, the string received
@@ -123,14 +123,14 @@ receive a string of type `str` or `bytes` (this list is not exhaustive):
See function `+hook_modifier+` in the
link:weechat_plugin_api.it.html#_hook_modifier[WeeChat plugin API reference].
| hook_signal |
xxx,irc_out_yyy +
xxx,irc_outtags_yyy |
pass:[*,irc_out_privmsg] +
| hook_signal
| xxx,irc_out_yyy +
xxx,irc_outtags_yyy
| pass:[*,irc_out_privmsg] +
pass:[*,irc_out_notice] +
pass:[*,irc_outtags_privmsg] +
pass:[*,irc_outtags_notice] |
A message sent by IRC plugin, after it is encoded to the `encode` charset
pass:[*,irc_outtags_notice]
| A message sent by IRC plugin, after it is encoded to the `encode` charset
defined by the user (if different from the default `UTF-8`). +
+
It is recommended to use signal `+xxx,irc_out1_yyy+` instead, the string received
@@ -139,10 +139,10 @@ receive a string of type `str` or `bytes` (this list is not exhaustive):
link:weechat_plugin_api.it.html#_hook_signal[WeeChat plugin API reference].
| hook_process +
hook_process_hashtable |
- |
- |
Output of the command, sent to the callback, can contain invalid UTF-8 data.
hook_process_hashtable
| -
| -
| Output of the command, sent to the callback, can contain invalid UTF-8 data.
|===
@@ -583,14 +583,14 @@ Elenco di funzioni nelle API per gli script:
|===
| Categoria | Funzioni
| generale |
register
| generale
| register
| plugin |
plugin_get_name
| plugin
| plugin_get_name
| stringhe |
charset_set +
| stringhe
| charset_set +
iconv_to_internal +
iconv_from_internal +
gettext +
@@ -609,13 +609,13 @@ Elenco di funzioni nelle API per gli script:
string_eval_expression +
string_eval_path_home
| directory |
mkdir_home +
| directory
| mkdir_home +
mkdir +
mkdir_parents
| liste ordinate |
list_new +
| liste ordinate
| list_new +
list_add +
list_search +
list_search_pos +
@@ -631,8 +631,8 @@ Elenco di funzioni nelle API per gli script:
list_remove_all +
list_free
| file di configurazione |
config_new +
| file di configurazione
| config_new +
config_new_section +
config_search_section +
config_new_option +
@@ -669,12 +669,12 @@ Elenco di funzioni nelle API per gli script:
config_set_desc_plugin +
config_unset_plugin
| combinazione tasti |
key_bind +
| combinazione tasti
| key_bind +
key_unbind
| visualizzazione |
prefix +
| visualizzazione
| prefix +
color +
// TRANSLATION MISSING
print (for python: prnt) +
@@ -686,8 +686,8 @@ Elenco di funzioni nelle API per gli script:
print_y_date_tags (for python: prnt_y_date_tags) +
log_print
| hook |
hook_command +
| hook
| hook_command +
hook_command_run +
hook_timer +
hook_fd +
@@ -712,8 +712,8 @@ Elenco di funzioni nelle API per gli script:
unhook +
unhook_all
| buffer |
buffer_new +
| buffer
| buffer_new +
buffer_new_props +
current_buffer +
buffer_search +
@@ -729,16 +729,16 @@ Elenco di funzioni nelle API per gli script:
buffer_string_replace_local_var +
buffer_match_list
| finestre |
current_window +
| finestre
| current_window +
window_search_with_buffer +
window_get_integer +
window_get_string +
window_get_pointer +
window_set_title
| lista nick |
nicklist_add_group +
| lista nick
| nicklist_add_group +
nicklist_search_group +
nicklist_add_nick +
nicklist_search_nick +
@@ -754,8 +754,8 @@ Elenco di funzioni nelle API per gli script:
nicklist_nick_get_pointer +
nicklist_nick_set
| barre |
bar_item_search +
| barre
| bar_item_search +
bar_item_new +
bar_item_update +
bar_item_remove +
@@ -765,24 +765,24 @@ Elenco di funzioni nelle API per gli script:
bar_update +
bar_remove
| comandi |
command +
| comandi
| command +
command_options
// TRANSLATION MISSING
| completion |
completion_new +
| completion
| completion_new +
completion_search +
completion_get_string +
completion_list_add +
completion_free
| info |
info_get +
| info
| info_get +
info_get_hashtable
| liste info |
infolist_new +
| liste info
| infolist_new +
infolist_new_item +
infolist_new_var_integer +
infolist_new_var_string +
@@ -800,8 +800,8 @@ Elenco di funzioni nelle API per gli script:
infolist_time +
infolist_free
| hdata |
hdata_get +
| hdata
| hdata_get +
hdata_get_var_offset +
hdata_get_var_type_string +
hdata_get_var_array_size +
@@ -822,8 +822,8 @@ Elenco di funzioni nelle API per gli script:
hdata_update +
hdata_get_string
| aggiornamento |
upgrade_new +
| aggiornamento
| upgrade_new +
upgrade_write_object +
upgrade_read +
upgrade_close
@@ -839,14 +839,14 @@ Elenco di costanti nelle API per gli script:
| Categoria | Costanti
// TRANSLATION MISSING
| codici restituiti |
`WEECHAT_RC_OK` (integer) +
| codici restituiti
| `WEECHAT_RC_OK` (integer) +
`WEECHAT_RC_OK_EAT` (integer) +
`WEECHAT_RC_ERROR` (integer)
// TRANSLATION MISSING
| file di configurazione |
`WEECHAT_CONFIG_READ_OK` (integer) +
| file di configurazione
| `WEECHAT_CONFIG_READ_OK` (integer) +
`WEECHAT_CONFIG_READ_MEMORY_ERROR` (integer) +
`WEECHAT_CONFIG_READ_FILE_NOT_FOUND` (integer) +
`WEECHAT_CONFIG_WRITE_OK` (integer) +
@@ -862,26 +862,26 @@ Elenco di costanti nelle API per gli script:
`WEECHAT_CONFIG_OPTION_UNSET_ERROR` (integer)
// TRANSLATION MISSING
| liste ordinate |
`WEECHAT_LIST_POS_SORT` (string) +
| liste ordinate
| `WEECHAT_LIST_POS_SORT` (string) +
`WEECHAT_LIST_POS_BEGINNING` (string) +
`WEECHAT_LIST_POS_END` (string)
// TRANSLATION MISSING
| hotlist |
`WEECHAT_HOTLIST_LOW` (string) +
| hotlist
| `WEECHAT_HOTLIST_LOW` (string) +
`WEECHAT_HOTLIST_MESSAGE` (string) +
`WEECHAT_HOTLIST_PRIVATE` (string) +
`WEECHAT_HOTLIST_HIGHLIGHT` (string)
// TRANSLATION MISSING
| hook su processo |
`WEECHAT_HOOK_PROCESS_RUNNING` (integer) +
| hook su processo
| `WEECHAT_HOOK_PROCESS_RUNNING` (integer) +
`WEECHAT_HOOK_PROCESS_ERROR` (integer)
// TRANSLATION MISSING
| hook su connessione |
`WEECHAT_HOOK_CONNECT_OK` (integer) +
| hook su connessione
| `WEECHAT_HOOK_CONNECT_OK` (integer) +
`WEECHAT_HOOK_CONNECT_ADDRESS_NOT_FOUND` (integer) +
`WEECHAT_HOOK_CONNECT_IP_ADDRESS_NOT_FOUND` (integer) +
`WEECHAT_HOOK_CONNECT_CONNECTION_REFUSED` (integer) +
@@ -894,8 +894,8 @@ Elenco di costanti nelle API per gli script:
`WEECHAT_HOOK_CONNECT_SOCKET_ERROR` (integer)
// TRANSLATION MISSING
| hook su segnale |
`WEECHAT_HOOK_SIGNAL_STRING` (string) +
| hook su segnale
| `WEECHAT_HOOK_SIGNAL_STRING` (string) +
`WEECHAT_HOOK_SIGNAL_INT` (string) +
`WEECHAT_HOOK_SIGNAL_POINTER` (string)
|===
@@ -1374,63 +1374,63 @@ The result is a hashtable with following keys
|===
| Key | Since WeeChat ^(1)^ | Description | Example
| tags | 0.4.0 |
The tags in message (can be empty). |
`+time=2015-06-27T16:40:35.000Z+`
| tags | 0.4.0
| The tags in message (can be empty).
| `+time=2015-06-27T16:40:35.000Z+`
// TRANSLATION MISSING
| tag_xxx | 3.3 |
Unescaped value of tag "xxx" (one key per tag). |
`+2015-06-27T16:40:35.000Z+`
| tag_xxx | 3.3
| 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). |
`+:nick!user@host PRIVMSG #weechat :hello!+`
| message_without_tags | 0.4.0
| The message without the tags (the same as message if there are no tags).
| `+:nick!user@host PRIVMSG #weechat :hello!+`
| nick | 0.3.4 |
The origin nick. |
`+nick+`
| nick | 0.3.4
| The origin nick.
| `+nick+`
// TRANSLATION MISSING
| user | 2.7 |
The origin user. |
`+user+`
| user | 2.7
| The origin user.
| `+user+`
| host | 0.3.4 |
The origin host (includes the nick). |
`+nick!user@host+`
| host | 0.3.4
| The origin host (includes the nick).
| `+nick!user@host+`
| command | 0.3.4 |
The command (_PRIVMSG_, _NOTICE_, ...). |
`+PRIVMSG+`
| command | 0.3.4
| The command (_PRIVMSG_, _NOTICE_, ...).
| `+PRIVMSG+`
| channel | 0.3.4 |
The target channel. |
`+#weechat+`
| channel | 0.3.4
| The target channel.
| `+#weechat+`
| arguments | 0.3.4 |
The command arguments (includes the channel). |
`+#weechat :hello!+`
| arguments | 0.3.4
| The command arguments (includes the channel).
| `+#weechat :hello!+`
| text | 1.3 |
The text (for example user message). |
`+hello!+`
| text | 1.3
| The text (for example user message).
| `+hello!+`
| pos_command | 1.3 |
The index of _command_ in message ("-1" if _command_ was not found). |
`+47+`
| pos_command | 1.3
| The index of _command_ in message ("-1" if _command_ was not found).
| `+47+`
| pos_arguments | 1.3 |
The index of _arguments_ in message ("-1" if _arguments_ was not found). |
`+55+`
| pos_arguments | 1.3
| The index of _arguments_ in message ("-1" if _arguments_ was not found).
| `+55+`
| pos_channel | 1.3 |
The index of _channel_ in message ("-1" if _channel_ was not found). |
`+55+`
| pos_channel | 1.3
| The index of _channel_ in message ("-1" if _channel_ was not found).
| `+55+`
| pos_text | 1.3 |
The index of _text_ in message ("-1" if _text_ was not found). |
`+65+`
| pos_text | 1.3
| The index of _text_ in message ("-1" if _text_ was not found).
| `+65+`
|===
// TRANSLATION MISSING
+256 -256
View File
@@ -242,118 +242,118 @@ List of commonly used options:
|===
| Option | Values | Default value | Description
| CMAKE_BUILD_TYPE | `Debug`, `Release`, `RelWithDebInfo`, `MinSizeRel` | |
The type of build: `Debug` (or `RelWithDebInfo`) is recommended if you are
| CMAKE_BUILD_TYPE | `Debug`, `Release`, `RelWithDebInfo`, `MinSizeRel` |
| The type of build: `Debug` (or `RelWithDebInfo`) is recommended if you are
running development version of WeeChat.
| CMAKE_INSTALL_PREFIX | directory | /usr/local |
The directory where WeeChat will be installed.
| CMAKE_INSTALL_PREFIX | directory | /usr/local
| The directory where WeeChat will be installed.
// TRANSLATION MISSING
| WEECHAT_HOME | directory | (empty string) |
The default home directory when running WeeChat. +
| WEECHAT_HOME | directory | (empty string)
| The default home directory when running WeeChat. +
With an empty value (recommended), XDG directories are used by default.
If non empty, a single directory for all files is used.
The value can also be 4 directories separated by colons, in this order:
config, data, cache, runtime.
| ENABLE_ALIAS | `ON`, `OFF` | ON |
Compile <<command_aliases,Alias plugin>>.
| ENABLE_ALIAS | `ON`, `OFF` | ON
| Compile <<command_aliases,Alias plugin>>.
| ENABLE_BUFLIST | `ON`, `OFF` | ON |
Compile <<buflist,Buflist plugin>>.
| ENABLE_BUFLIST | `ON`, `OFF` | ON
| Compile <<buflist,Buflist plugin>>.
| ENABLE_CHARSET | `ON`, `OFF` | ON |
Compile <<charset,Charset plugin>>.
| ENABLE_CHARSET | `ON`, `OFF` | ON
| Compile <<charset,Charset plugin>>.
| ENABLE_MAN | `ON`, `OFF` | OFF |
Build man page.
| ENABLE_MAN | `ON`, `OFF` | OFF
| Build man page.
| ENABLE_DOC | `ON`, `OFF` | OFF |
Build HTML documentation.
| ENABLE_DOC | `ON`, `OFF` | OFF
| Build HTML documentation.
| ENABLE_ENCHANT | `ON`, `OFF` | OFF |
Compile <<spell_checking,Spell plugin>> with Enchant.
| ENABLE_ENCHANT | `ON`, `OFF` | OFF
| Compile <<spell_checking,Spell plugin>> with Enchant.
| ENABLE_EXEC | `ON`, `OFF` | ON |
Compile <<external_commands,Exec plugin>>.
| ENABLE_EXEC | `ON`, `OFF` | ON
| Compile <<external_commands,Exec plugin>>.
| ENABLE_FIFO | `ON`, `OFF` | ON |
Compile <<fifo_pipe,Fifo plugin>>.
| ENABLE_FIFO | `ON`, `OFF` | ON
| Compile <<fifo_pipe,Fifo plugin>>.
| ENABLE_FSET | `ON`, `OFF` | ON |
Compile <<fset,Fset plugin>>.
| ENABLE_FSET | `ON`, `OFF` | ON
| Compile <<fset,Fset plugin>>.
| ENABLE_GUILE | `ON`, `OFF` | ON |
Compile <<scripting_plugins,Guile plugin>> (Scheme).
| ENABLE_GUILE | `ON`, `OFF` | ON
| Compile <<scripting_plugins,Guile plugin>> (Scheme).
| ENABLE_IRC | `ON`, `OFF` | ON |
Compile <<irc,IRC plugin>>.
| ENABLE_IRC | `ON`, `OFF` | ON
| Compile <<irc,IRC plugin>>.
| ENABLE_JAVASCRIPT | `ON`, `OFF` | OFF |
Compile <<scripting_plugins,JavaScript plugin>>.
| ENABLE_JAVASCRIPT | `ON`, `OFF` | OFF
| Compile <<scripting_plugins,JavaScript plugin>>.
| ENABLE_LARGEFILE | `ON`, `OFF` | ON |
Support of large files.
| ENABLE_LARGEFILE | `ON`, `OFF` | ON
| Support of large files.
| ENABLE_LOGGER | `ON`, `OFF` | ON |
Compile <<buffer_logging,Logger plugin>>.
| ENABLE_LOGGER | `ON`, `OFF` | ON
| Compile <<buffer_logging,Logger plugin>>.
| ENABLE_LUA | `ON`, `OFF` | ON |
Compile <<scripting_plugins,Lua plugin>>.
| ENABLE_LUA | `ON`, `OFF` | ON
| Compile <<scripting_plugins,Lua plugin>>.
| ENABLE_NCURSES | `ON`, `OFF` | ON |
Compile Ncurses interface.
| ENABLE_NCURSES | `ON`, `OFF` | ON
| Compile Ncurses interface.
| ENABLE_NLS | `ON`, `OFF` | ON |
Enable NLS (translations).
| ENABLE_NLS | `ON`, `OFF` | ON
| Enable NLS (translations).
| ENABLE_PERL | `ON`, `OFF` | ON |
Compile <<scripting_plugins,Perl plugin>>.
| ENABLE_PERL | `ON`, `OFF` | ON
| Compile <<scripting_plugins,Perl plugin>>.
| ENABLE_PHP | `ON`, `OFF` | ON |
Compile <<scripting_plugins,PHP plugin>>.
| ENABLE_PHP | `ON`, `OFF` | ON
| Compile <<scripting_plugins,PHP plugin>>.
| ENABLE_PYTHON | `ON`, `OFF` | ON |
Compile <<scripting_plugins,Python plugin>>.
| ENABLE_PYTHON | `ON`, `OFF` | ON
| Compile <<scripting_plugins,Python plugin>>.
// TRANSLATION MISSING
| ENABLE_PYTHON2 | `ON`, `OFF` | OFF |
Compile <<scripting_plugins,Python plugin>> using Python 2 instead of Python 3.
| ENABLE_PYTHON2 | `ON`, `OFF` | OFF
| Compile <<scripting_plugins,Python plugin>> using Python 2 instead of Python 3.
| ENABLE_RELAY | `ON`, `OFF` | ON |
Compile <<relay,Relay plugin>>.
| ENABLE_RELAY | `ON`, `OFF` | ON
| Compile <<relay,Relay plugin>>.
| ENABLE_RUBY | `ON`, `OFF` | ON |
Compile <<scripting_plugins,Ruby plugin>>.
| ENABLE_RUBY | `ON`, `OFF` | ON
| Compile <<scripting_plugins,Ruby plugin>>.
| ENABLE_SCRIPT | `ON`, `OFF` | ON |
Compile <<script_manager,Script plugin>>.
| ENABLE_SCRIPT | `ON`, `OFF` | ON
| Compile <<script_manager,Script plugin>>.
| ENABLE_SCRIPTS | `ON`, `OFF` | ON |
Compile <<scripting_plugins,script plugins>> (Python, Perl, Ruby, Lua, Tcl,
| ENABLE_SCRIPTS | `ON`, `OFF` | ON
| Compile <<scripting_plugins,script plugins>> (Python, Perl, Ruby, Lua, Tcl,
Guile, JavaScript, PHP).
| ENABLE_SPELL | `ON`, `OFF` | ON |
Compile <<spell_checking,Spell plugin>>.
| ENABLE_SPELL | `ON`, `OFF` | ON
| Compile <<spell_checking,Spell plugin>>.
| ENABLE_TCL | `ON`, `OFF` | ON |
Compile <<scripting_plugins,Tcl plugin>>.
| ENABLE_TCL | `ON`, `OFF` | ON
| Compile <<scripting_plugins,Tcl plugin>>.
| ENABLE_TRIGGER | `ON`, `OFF` | ON |
Compile <<trigger,Trigger plugin>>.
| ENABLE_TRIGGER | `ON`, `OFF` | ON
| Compile <<trigger,Trigger plugin>>.
| ENABLE_TYPING | `ON`, `OFF` | ON |
Compile <<typing_notifications,Typing plugin>>.
| ENABLE_TYPING | `ON`, `OFF` | ON
| Compile <<typing_notifications,Typing plugin>>.
| ENABLE_XFER | `ON`, `OFF` | ON |
Compile <<xfer,Xfer plugin>>.
| ENABLE_XFER | `ON`, `OFF` | ON
| Compile <<xfer,Xfer plugin>>.
| ENABLE_TESTS | `ON`, `OFF` | OFF |
Compile tests.
| ENABLE_TESTS | `ON`, `OFF` | OFF
| Compile tests.
| ENABLE_CODE_COVERAGE | `ON`, `OFF` | OFF |
Compile with code coverage options. +
| ENABLE_CODE_COVERAGE | `ON`, `OFF` | OFF
| Compile with code coverage options. +
This option should be used only for tests, to measure test coverage.
|===
@@ -1448,87 +1448,87 @@ By default WeeChat and its default plugins interpret these variables:
|===
| Name | Value | Description
| away |
any string |
Away message on the server, set by irc plugin.
| away
| any string
| Away message on the server, set by irc plugin.
| channel |
any string |
Channel name, set by irc/xfer plugins and debug buffer of relay/trigger plugins.
| channel
| any string
| Channel name, set by irc/xfer plugins and debug buffer of relay/trigger plugins.
| charset_modifier |
any string |
Charset modifier for the server buffer, set by irc plugin.
| charset_modifier
| any string
| Charset modifier for the server buffer, set by irc plugin.
| completion_default_template |
any string |
Default completion template for the buffer, overriding the option
| completion_default_template
| any string
| Default completion template for the buffer, overriding the option
`weechat.completion.default_template`.
| filter |
any string |
Filter defined on some buffers like `/fset`, `/server raw` (irc) and `/script`.
| filter
| any string
| Filter defined on some buffers like `/fset`, `/server raw` (irc) and `/script`.
| host |
any string |
Self host (if known), set by irc plugin.
| host
| any string
| Self host (if known), set by irc plugin.
| lag |
any string |
Lag on the server, set by irc plugin.
| lag
| any string
| Lag on the server, set by irc plugin.
| name |
any string |
Buffer name (be careful, this is not the full name and this name is not
| name
| any string
| Buffer name (be careful, this is not the full name and this name is not
enough to identify or search a buffer).
| nick |
any string |
Self nick, set by irc and xfer plugins.
| nick
| any string
| Self nick, set by irc and xfer plugins.
| no_log |
`1` (or any non-empty string) |
If set, the logger plugin does not log anything for the buffer.
| no_log
| `1` (or any non-empty string)
| If set, the logger plugin does not log anything for the buffer.
| plugin |
any string |
Name of plugin which created the buffer (`core` for WeeChat buffers).
| plugin
| any string
| Name of plugin which created the buffer (`core` for WeeChat buffers).
| script_close_cb |
any string |
Close callback defined by a script for a buffer.
| script_close_cb
| any string
| Close callback defined by a script for a buffer.
| script_close_cb_data |
any string |
Data for close callback defined by a script for a buffer.
| script_close_cb_data
| any string
| Data for close callback defined by a script for a buffer.
| script_input_cb |
any string |
Input callback defined by a script for a buffer.
| script_input_cb
| any string
| Input callback defined by a script for a buffer.
| script_input_cb_data |
any string |
Data for input callback defined by a script for a buffer.
| script_input_cb_data
| any string
| Data for input callback defined by a script for a buffer.
| script_name |
any string |
Name of the script which created the buffer.
| script_name
| any string
| Name of the script which created the buffer.
| server |
any string |
Server name, set by irc plugin and debug buffer of relay/trigger plugins.
| server
| any string
| Server name, set by irc plugin and debug buffer of relay/trigger plugins.
| spell_suggest |
any string |
Misspelled word and suggestions (format: "misspelled:suggestions"), set by
| spell_suggest
| any string
| Misspelled word and suggestions (format: "misspelled:suggestions"), set by
spell plugin.
| trigger_filter |
any string |
Trigger filter, set by trigger plugin.
| trigger_filter
| any string
| Trigger filter, set by trigger plugin.
| type |
any string, for example:
| type
| any string, for example:
`channel`,
`debug`,
`exec`,
@@ -1538,8 +1538,8 @@ By default WeeChat and its default plugins interpret these variables:
`script`,
`server`,
`user`,
`xfer` |
Type of buffer, set by WeeChat and many plugins.
`xfer`
| Type of buffer, set by WeeChat and many plugins.
|===
@@ -2880,57 +2880,57 @@ List of bar options:
will have one bar in each window. The default bars _title_, _status_,
_input_ and _nicklist_ have type `window`.
| position | `top`, `bottom`, `left`, `right` |
Position of the bar: above/below chat, on the left/right.
| position | `top`, `bottom`, `left`, `right`
| Position of the bar: above/below chat, on the left/right.
| priority | integer ≥ 0 |
Priority for display of bar: this is used for ordering the bars on screen when
| priority | integer ≥ 0
| Priority for display of bar: this is used for ordering the bars on screen when
many bars have same type and position. +
The bars are displayed from the edge of the screen to the center. A higher
priority will display bar at the beginning, so closer to the edge. +
Example: _input_ bar has priority 1000, so it is displayed before the _status_
bar, which has priority 500.
| size | integer ≥ 0 |
The size of the bar: number of columns for position left/right, number
| size | integer ≥ 0
| The size of the bar: number of columns for position left/right, number
of lines for position top/bottom. A size of `0` means automatic, so the size
will be computed according to content displayed in bar.
| size_max | integer ≥ 0 |
The maximum size for a bar, `0` = no limit (this option is used only if
| size_max | integer ≥ 0
| The maximum size for a bar, `0` = no limit (this option is used only if
`size` = `0`).
| color_bg | color |
The default background color for the bar.
| color_bg | color
| The default background color for the bar.
| color_fg | color |
The default text color for the bar.
| color_fg | color
| The default text color for the bar.
| color_delim | color |
The color for delimiters in bar.
| color_delim | color
| The color for delimiters in bar.
| hidden | `on`, `off` |
When option is `on`, the bar is hidden. +
| hidden | `on`, `off`
| When option is `on`, the bar is hidden. +
Note: instead of changing this option, the command `/bar` is preferred, for
example: `/bar toggle nicklist` (see command <<command_weechat_bar,/bar>>).
| separator | `on`, `off` |
When option is `on`, a separator (line) is displayed between this bar and
| separator | `on`, `off`
| When option is `on`, a separator (line) is displayed between this bar and
other bars (or chat).
| items | string |
A list of _items_ (see <<bar_items,items>> for more info).
| items | string
| A list of _items_ (see <<bar_items,items>> for more info).
| filling_left_right | `+horizontal+`, `+vertical+`, `+columns_horizontal+`, `+columns_vertical+` |
Type of filling for a bar which has position `left` or `right` (see
| filling_left_right | `+horizontal+`, `+vertical+`, `+columns_horizontal+`, `+columns_vertical+`
| Type of filling for a bar which has position `left` or `right` (see
<<bar_filling,filling>> for more info).
| filling_top_bottom | `+horizontal+`, `+vertical+`, `+columns_horizontal+`, `+columns_vertical+` |
Type of filling for a bar which has position `top` or `bottom` (see
| filling_top_bottom | `+horizontal+`, `+vertical+`, `+columns_horizontal+`, `+columns_vertical+`
| Type of filling for a bar which has position `top` or `bottom` (see
<<bar_filling,filling>> for more info).
| conditions | string |
The conditions to display the bar (see <<bar_conditions,conditions>> for more
| conditions | string
| The conditions to display the bar (see <<bar_conditions,conditions>> for more
info).
|===
@@ -4206,15 +4206,15 @@ The following signals are caught by the typing plugin:
|===
| Signal | Arguments | Description
| typing_set_nick |
String: buffer pointer + ";" + state (one of: "off", "typing", "paused",
| typing_set_nick
| String: buffer pointer + ";" + state (one of: "off", "typing", "paused",
"cleared") + ";" + nick. +
Example: "0x1234abcd;typing;alice". |
Set typing state for a nick on a buffer.
Example: "0x1234abcd;typing;alice".
| Set typing state for a nick on a buffer.
| typing_reset_buffer |
Pointer: buffer. |
Remove typing state for all nicks on a buffer.
| typing_reset_buffer
| Pointer: buffer.
| Remove typing state for all nicks on a buffer.
|===
[[typing_options]]
@@ -4580,25 +4580,25 @@ List of default triggers:
|===
| Name | Hook | Description
| beep | print |
Beep on highlight/private message.
| beep | print
| Beep on highlight/private message.
| cmd_pass | modifier |
Hide password in commands:
| cmd_pass | modifier
| Hide password in commands:
`pass:[/msg nickserv id\|identify\|set password\|ghost\|release\|regain\|recover]`,
`pass:[/oper]`,
`pass:[/quote pass]`,
`pass:[/secure passphrase\|decrypt\|set]`.
| cmd_pass_register | modifier |
Hide password in command `pass:[/msg nickserv register]`.
| cmd_pass_register | modifier
| Hide password in command `pass:[/msg nickserv register]`.
| msg_auth | modifier |
Hide password in IRC auth message displayed (message received from server
| msg_auth | modifier
| Hide password in IRC auth message displayed (message received from server
after the user issued the command).
| server_pass | modifier |
Hide server password in commands `/server` and `/connect`.
| server_pass | modifier
| Hide server password in commands `/server` and `/connect`.
|===
[[trigger_anatomy]]
@@ -4611,37 +4611,37 @@ A trigger has the following options (names are
|===
| Option | Values | Description
| enabled | `on`, `off` |
When option is `off`, the trigger is disabled and actions are not executed
| enabled | `on`, `off`
| When option is `off`, the trigger is disabled and actions are not executed
any more.
| hook | `+signal+`, `+hsignal+`, `+modifier+`, `+line+`, `+print+`, `+command+`,
`+command_run+`, `+timer+`, `+config+`, `+focus+`, `+info+`, `+info_hashtable+` |
The hook used in trigger. For more information, see
`+command_run+`, `+timer+`, `+config+`, `+focus+`, `+info+`, `+info_hashtable+`
| The hook used in trigger. For more information, see
link:weechat_plugin_api.it.html#hooks[WeeChat plugin API reference / Hooks].
| arguments | string |
The arguments for the hook, it depends on the hook type used.
| arguments | string
| The arguments for the hook, it depends on the hook type used.
| conditions | string |
Conditions to execute the trigger; they are evaluated (see command
| conditions | string
| Conditions to execute the trigger; they are evaluated (see command
<<command_weechat_eval,/eval>>).
| regex | string |
One or more POSIX extended regular expressions, to change data received in the
| regex | string
| One or more POSIX extended regular expressions, to change data received in the
hook callback (and some stuff added by trigger plugin), see
<<trigger_regex,regular expression>>.
| command | string |
Command to execute (many commands can be separated by semicolons); it is
| command | string
| Command to execute (many commands can be separated by semicolons); it is
evaluated (see command <<command_weechat_eval,/eval>>).
| return_code | `+ok+`, `+ok_eat+`, `+error+` |
The return code of callback (default is `ok`, which should be used in almost
| return_code | `+ok+`, `+ok_eat+`, `+error+`
| The return code of callback (default is `ok`, which should be used in almost
all triggers, the other values are rarely used).
| post_action | `none`, `disable`, `delete` |
Action to take on the trigger after execution (default is `none` which should
| post_action | `none`, `disable`, `delete`
| Action to take on the trigger after execution (default is `none` which should
be used in almost all triggers, the other values are rarely used).
|===
@@ -4680,105 +4680,105 @@ The arguments depend on the hook used. They are separated by semicolons.
|===
| Hook | Arguments | Examples | Documentation (API)
| signal |
1. signal name (priority allowed) (required) +
| signal
| 1. signal name (priority allowed) (required) +
2. signal name (priority allowed) +
3. ... |
`+*,irc_in_privmsg+` +
3. ...
| `+*,irc_in_privmsg+` +
`+*,irc_in_privmsg;*,irc_in_notice+` +
`+signal_sigwinch+` |
link:weechat_plugin_api.it.html#_hook_signal[hook_signal]
`+signal_sigwinch+`
| link:weechat_plugin_api.it.html#_hook_signal[hook_signal]
| hsignal |
1. signal name (priority allowed) (required) +
| hsignal
| 1. signal name (priority allowed) (required) +
2. signal name (priority allowed) +
3. ... |
`+nicklist_nick_added+` |
link:weechat_plugin_api.it.html#_hook_hsignal[hook_hsignal]
3. ...
| `+nicklist_nick_added+`
| link:weechat_plugin_api.it.html#_hook_hsignal[hook_hsignal]
| modifier |
1. modifier name (priority allowed) (required) +
| modifier
| 1. modifier name (priority allowed) (required) +
2. modifier name (priority allowed) +
3. ... |
`+weechat_print+` +
`+5000\|input_text_display;5000\|history_add+` |
link:weechat_plugin_api.it.html#_hook_modifier[hook_modifier]
3. ...
| `+weechat_print+` +
`+5000\|input_text_display;5000\|history_add+`
| link:weechat_plugin_api.it.html#_hook_modifier[hook_modifier]
| line |
1. buffer type +
| line
| 1. buffer type +
2. buffer name +
3. tags |
`+formatted+` +
3. tags
| `+formatted+` +
`+free+` +
`+*;irc.libera.*+` +
`+*;irc.libera.#weechat+` +
`+formatted;irc.libera.#weechat;irc_notice+` |
link:weechat_plugin_api.en.html#_hook_line[hook_line]
`+formatted;irc.libera.#weechat;irc_notice+`
| link:weechat_plugin_api.en.html#_hook_line[hook_line]
| print |
1. buffer name +
| print
| 1. buffer name +
2. tags +
3. message +
4. strip colors (0/1) |
`+irc.libera.*+` +
4. strip colors (0/1)
| `+irc.libera.*+` +
`+irc.libera.#weechat+` +
`+irc.libera.#weechat;irc_notice+` +
`+*;;;1+` |
link:weechat_plugin_api.it.html#_hook_print[hook_print]
`+*;;;1+`
| link:weechat_plugin_api.it.html#_hook_print[hook_print]
| command |
1. command name (priority allowed) (required) +
| command
| 1. command name (priority allowed) (required) +
2. description (evaluated, see command <<command_weechat_eval,/eval>>) +
3. arguments (evaluated, see command <<command_weechat_eval,/eval>>) +
4. description of arguments (evaluated, see command <<command_weechat_eval,/eval>>) +
5. completion (evaluated, see command <<command_weechat_eval,/eval>>) |
`+test+` +
5. completion (evaluated, see command <<command_weechat_eval,/eval>>)
| `+test+` +
`+5000\|test+` +
`+test;test command;arg1 arg2;arg1: description 1${\n}arg2: description 2+` |
link:weechat_plugin_api.it.html#_hook_command[hook_command]
`+test;test command;arg1 arg2;arg1: description 1${\n}arg2: description 2+`
| link:weechat_plugin_api.it.html#_hook_command[hook_command]
| command_run |
1. command (priority allowed) (required) +
| command_run
| 1. command (priority allowed) (required) +
2. command (priority allowed) +
3. ... |
`+/cmd arguments+` |
link:weechat_plugin_api.it.html#_hook_command_run[hook_command_run]
3. ...
| `+/cmd arguments+`
| link:weechat_plugin_api.it.html#_hook_command_run[hook_command_run]
| timer |
1. interval in milliseconds (required) +
| timer
| 1. interval in milliseconds (required) +
2. alignment on second (default: 0) +
3. max number of calls (default: 0, which means "no end") |
`+3600000+` +
`+60000;0;5+` |
link:weechat_plugin_api.it.html#_hook_timer[hook_timer]
3. max number of calls (default: 0, which means "no end")
| `+3600000+` +
`+60000;0;5+`
| link:weechat_plugin_api.it.html#_hook_timer[hook_timer]
| config |
1. option name (priority allowed) (required) +
| config
| 1. option name (priority allowed) (required) +
2. option name (priority allowed) +
3. ... |
`+weechat.look.*+` |
link:weechat_plugin_api.it.html#_hook_config[hook_config]
3. ...
| `+weechat.look.*+`
| link:weechat_plugin_api.it.html#_hook_config[hook_config]
| focus |
1. area name (priority allowed) (required) +
| focus
| 1. area name (priority allowed) (required) +
2. area name (priority allowed) +
3. ... |
`+buffer_nicklist+` |
link:weechat_plugin_api.it.html#_hook_focus[hook_focus]
3. ...
| `+buffer_nicklist+`
| link:weechat_plugin_api.it.html#_hook_focus[hook_focus]
| info |
1. info name (priority allowed) (required) +
| info
| 1. info name (priority allowed) (required) +
2. info name (priority allowed) +
3. ... |
`+my_info+` |
link:weechat_plugin_api.it.html#_hook_info[hook_info]
3. ...
| `+my_info+`
| link:weechat_plugin_api.it.html#_hook_info[hook_info]
| info_hashtable |
1. info name (priority allowed) (required) +
| info_hashtable
| 1. info name (priority allowed) (required) +
2. info name (priority allowed) +
3. ... |
`+my_info+` |
link:weechat_plugin_api.it.html#_hook_info_hashtable[hook_info_hashtable]
3. ...
| `+my_info+`
| link:weechat_plugin_api.it.html#_hook_info_hashtable[hook_info_hashtable]
|===
[[trigger_conditions]]
+30 -30
View File
@@ -1195,8 +1195,8 @@ _component_ には以下から 1 つ選んで記入してください:
// TRANSLATION MISSING
| Component | Files | Description
| core |
AUTHORS.adoc +
| core
| AUTHORS.adoc +
ChangeLog.adoc +
Contributing.adoc +
.github/FUNDING.yml +
@@ -1212,8 +1212,8 @@ _component_ には以下から 1 つ選んで記入してください:
// TRANSLATION MISSING
WeeChat core
| build |
autogen.sh +
| build
| autogen.sh +
CMakeLists.txt +
cmake/* +
configure.ac +
@@ -1224,73 +1224,73 @@ _component_ には以下から 1 つ選んで記入してください:
// TRANSLATION MISSING
Build
| ci |
.github/workflows/* |
| ci
| .github/workflows/* |
// TRANSLATION MISSING
Continuous integration
| debian |
debian-devel/* +
| debian
| debian-devel/* +
debian-stable/* |
// TRANSLATION MISSING
Debian packaging
| tests |
tests/* |
| tests
| tests/* |
// TRANSLATION MISSING
Tests
| doc |
doc/* |
| doc
| doc/* |
// TRANSLATION MISSING
General doc updates, for example build
| doc/man |
doc/xx/weechat.1.xx.adoc +
| doc/man
| doc/xx/weechat.1.xx.adoc +
doc/xx/weechat-headless.1.xx.adoc |
// TRANSLATION MISSING
Man pages
| doc/faq |
doc/xx/weechat_faq.xx.adoc |
| doc/faq
| doc/xx/weechat_faq.xx.adoc |
// TRANSLATION MISSING
Frequently asked questions (FAQ)
| doc/quickstart |
doc/xx/weechat_quickstart.xx.adoc |
| doc/quickstart
| doc/xx/weechat_quickstart.xx.adoc |
// TRANSLATION MISSING
Quickstart guide
| doc/user |
doc/xx/weechat_user.xx.adoc |
| doc/user
| doc/xx/weechat_user.xx.adoc |
// TRANSLATION MISSING
User's guide
| doc/scripting |
doc/xx/weechat_scripting.xx.adoc |
| doc/scripting
| doc/xx/weechat_scripting.xx.adoc |
// TRANSLATION MISSING
Scripting guide
| doc/api |
doc/xx/weechat_plugin_api.xx.adoc |
| doc/api
| doc/xx/weechat_plugin_api.xx.adoc |
// TRANSLATION MISSING
Plugin API reference
| doc/relay |
doc/xx/weechat_relay_protocol.xx.adoc |
| doc/relay
| doc/xx/weechat_relay_protocol.xx.adoc |
// TRANSLATION MISSING
Relay protocol
| doc/dev |
doc/xx/weechat_dev.en.adoc |
| doc/dev
| doc/xx/weechat_dev.en.adoc |
// TRANSLATION MISSING
Developer's guide
| irc +
python +
relay +
|
src/plugins/<name>/* |
| src/plugins/<name>/* |
// TRANSLATION MISSING
Plugin
File diff suppressed because it is too large Load Diff
+42 -42
View File
@@ -1440,68 +1440,68 @@ WeeChat の予約識別子:
[width="100%",cols="5m,5,3,4,7",options="header"]
|===
| 識別子 | _sync_ で受信 | 送信されるデータ |
説明 | 推奨するクライアントの挙動
| 識別子 | _sync_ で受信 | 送信されるデータ
| 説明 | 推奨するクライアントの挙動
| _buffer_opened | buffers / buffer | hdata: buffer |
バッファのオープン | バッファを開く
| _buffer_opened | buffers / buffer | hdata: buffer
| バッファのオープン | バッファを開く
| _buffer_type_changed | buffers / buffer | hdata: buffer |
バッファの種類変更 | バッファの種類を変更
| _buffer_type_changed | buffers / buffer | hdata: buffer
| バッファの種類変更 | バッファの種類を変更
| _buffer_moved | buffers / buffer | hdata: buffer |
バッファの移動 | バッファを移動
| _buffer_moved | buffers / buffer | hdata: buffer
| バッファの移動 | バッファを移動
| _buffer_merged | buffers / buffer | hdata: buffer |
バッファのマージ | バッファをマージ
| _buffer_merged | buffers / buffer | hdata: buffer
| バッファのマージ | バッファをマージ
| _buffer_unmerged | buffers / buffer | hdata: buffer |
バッファのアンマージ | バッファをアンマージ
| _buffer_unmerged | buffers / buffer | hdata: buffer
| バッファのアンマージ | バッファをアンマージ
| _buffer_hidden | buffers / buffer | hdata: buffer |
バッファを隠す | バッファを隠す
| _buffer_hidden | buffers / buffer | hdata: buffer
| バッファを隠す | バッファを隠す
| _buffer_unhidden | buffers / buffer | hdata: buffer |
バッファを隠すことを止める | バッファを隠すことを止める
| _buffer_unhidden | buffers / buffer | hdata: buffer
| バッファを隠すことを止める | バッファを隠すことを止める
| _buffer_renamed | buffers / buffer | hdata: buffer |
バッファのリネーム | バッファをリネーム
| _buffer_renamed | buffers / buffer | hdata: buffer
| バッファのリネーム | バッファをリネーム
| _buffer_title_changed | buffers / buffer | hdata: buffer |
バッファのタイトル変更 | バッファのタイトルを変更
| _buffer_title_changed | buffers / buffer | hdata: buffer
| バッファのタイトル変更 | バッファのタイトルを変更
| _buffer_localvar_added | buffers / buffer | hdata: buffer |
ローカル変数の追加 | バッファに対するローカル変数を追加
| _buffer_localvar_added | buffers / buffer | hdata: buffer
| ローカル変数の追加 | バッファに対するローカル変数を追加
| _buffer_localvar_changed | buffers / buffer | hdata: buffer |
ローカル変数の変更 | バッファに対するローカル変数を変更
| _buffer_localvar_changed | buffers / buffer | hdata: buffer
| ローカル変数の変更 | バッファに対するローカル変数を変更
| _buffer_localvar_removed | buffers / buffer | hdata: buffer |
ローカル変数を削除 | バッファからローカル変数を削除
| _buffer_localvar_removed | buffers / buffer | hdata: buffer
| ローカル変数を削除 | バッファからローカル変数を削除
| _buffer_closing | buffers / buffer | hdata: buffer |
バッファのクローズ | バッファを閉じる
| _buffer_closing | buffers / buffer | hdata: buffer
| バッファのクローズ | バッファを閉じる
| _buffer_cleared | buffer | hdata: buffer |
バッファのクリア | バッファをクリア
| _buffer_cleared | buffer | hdata: buffer
| バッファのクリア | バッファをクリア
| _buffer_line_added | buffer | hdata: line |
バッファへの行追加 | バッファに行を表示
| _buffer_line_added | buffer | hdata: line
| バッファへの行追加 | バッファに行を表示
| _nicklist | nicklist | hdata: nicklist_item |
バッファのニックネームリスト | ニックネームリストを置換
| _nicklist | nicklist | hdata: nicklist_item
| バッファのニックネームリスト | ニックネームリストを置換
| _nicklist_diff | nicklist | hdata: nicklist_item |
バッファに対するニックネームの差分 | ニックネームリストを更新
| _nicklist_diff | nicklist | hdata: nicklist_item
| バッファに対するニックネームの差分 | ニックネームリストを更新
| _pong | (常に) | string: ping arguments |
"ping" に対する応答 | 応答時間の測定
| _pong | (常に) | string: ping arguments
| "ping" に対する応答 | 応答時間の測定
| _upgrade | upgrade | (空) |
WeeChat のアップグレード中 | WeeChat との同期を中止 (または切断)
| _upgrade | upgrade | (空)
| WeeChat のアップグレード中 | WeeChat との同期を中止 (または切断)
| _upgrade_ended | upgrade | (空) |
WeeChat のアップグレード終了 | WeeChat との同期および再同期
| _upgrade_ended | upgrade | (空)
| WeeChat のアップグレード終了 | WeeChat との同期および再同期
|===
[[message_buffer_opened]]
+109 -109
View File
@@ -108,11 +108,11 @@ receive a string of type `str` or `bytes` (this list is not exhaustive):
|===
| API function | Arguments | Examples | Description
| hook_modifier |
irc_in_yyy |
pass:[irc_in_privmsg] +
pass:[irc_in_notice] |
A message received in IRC plugin, before it is decoded to UTF-8 (used
| hook_modifier
| irc_in_yyy
| pass:[irc_in_privmsg] +
pass:[irc_in_notice]
| A message received in IRC plugin, before it is decoded to UTF-8 (used
internally). +
+
It is recommended to use modifier `+irc_in2_yyy+` instead, the string received
@@ -120,14 +120,14 @@ receive a string of type `str` or `bytes` (this list is not exhaustive):
See function `+hook_modifier+` in the
link:weechat_plugin_api.ja.html#_hook_modifier[WeeChat plugin API reference].
| hook_signal |
xxx,irc_out_yyy +
xxx,irc_outtags_yyy |
pass:[*,irc_out_privmsg] +
| hook_signal
| xxx,irc_out_yyy +
xxx,irc_outtags_yyy
| pass:[*,irc_out_privmsg] +
pass:[*,irc_out_notice] +
pass:[*,irc_outtags_privmsg] +
pass:[*,irc_outtags_notice] |
A message sent by IRC plugin, after it is encoded to the `encode` charset
pass:[*,irc_outtags_notice]
| A message sent by IRC plugin, after it is encoded to the `encode` charset
defined by the user (if different from the default `UTF-8`). +
+
It is recommended to use signal `+xxx,irc_out1_yyy+` instead, the string received
@@ -136,10 +136,10 @@ receive a string of type `str` or `bytes` (this list is not exhaustive):
link:weechat_plugin_api.ja.html#_hook_signal[WeeChat plugin API reference].
| hook_process +
hook_process_hashtable |
- |
- |
Output of the command, sent to the callback, can contain invalid UTF-8 data.
hook_process_hashtable
| -
| -
| Output of the command, sent to the callback, can contain invalid UTF-8 data.
|===
@@ -576,14 +576,14 @@ link:weechat_plugin_api.ja.html[WeeChat プラグイン API リファレンス]
|===
| カテゴリ | 関数
| 一般 |
register
| 一般
| register
| プラグイン |
plugin_get_name
| プラグイン
| plugin_get_name
| 設定 |
charset_set +
| 設定
| charset_set +
iconv_to_internal +
iconv_from_internal +
gettext +
@@ -602,13 +602,13 @@ link:weechat_plugin_api.ja.html[WeeChat プラグイン API リファレンス]
string_eval_expression +
string_eval_path_home
| ディレクトリ操作 |
mkdir_home +
| ディレクトリ操作
| mkdir_home +
mkdir +
mkdir_parents
| ソート済みリスト |
list_new +
| ソート済みリスト
| list_new +
list_add +
list_search +
list_search_pos +
@@ -624,8 +624,8 @@ link:weechat_plugin_api.ja.html[WeeChat プラグイン API リファレンス]
list_remove_all +
list_free
| 設定ファイル |
config_new +
| 設定ファイル
| config_new +
config_new_section +
config_search_section +
config_new_option +
@@ -662,12 +662,12 @@ link:weechat_plugin_api.ja.html[WeeChat プラグイン API リファレンス]
config_set_desc_plugin +
config_unset_plugin
| キー割り当て |
key_bind +
| キー割り当て
| key_bind +
key_unbind
| 表示 |
prefix +
| 表示
| prefix +
color +
print (python では prnt) +
print_date_tags (python では prnt_date_tags) +
@@ -675,8 +675,8 @@ link:weechat_plugin_api.ja.html[WeeChat プラグイン API リファレンス]
print_y_date_tags (python では prnt_y_date_tags) +
log_print
| フック |
hook_command +
| フック
| hook_command +
hook_command_run +
hook_timer +
hook_fd +
@@ -701,8 +701,8 @@ link:weechat_plugin_api.ja.html[WeeChat プラグイン API リファレンス]
unhook +
unhook_all
| バッファ |
buffer_new +
| バッファ
| buffer_new +
buffer_new_props +
current_buffer +
buffer_search +
@@ -718,16 +718,16 @@ link:weechat_plugin_api.ja.html[WeeChat プラグイン API リファレンス]
buffer_string_replace_local_var +
buffer_match_list
| ウィンドウ |
current_window +
| ウィンドウ
| current_window +
window_search_with_buffer +
window_get_integer +
window_get_string +
window_get_pointer +
window_set_title
| ニックネームリスト |
nicklist_add_group +
| ニックネームリスト
| nicklist_add_group +
nicklist_search_group +
nicklist_add_nick +
nicklist_search_nick +
@@ -743,8 +743,8 @@ link:weechat_plugin_api.ja.html[WeeChat プラグイン API リファレンス]
nicklist_nick_get_pointer +
nicklist_nick_set
| バー |
bar_item_search +
| バー
| bar_item_search +
bar_item_new +
bar_item_update +
bar_item_remove +
@@ -754,24 +754,24 @@ link:weechat_plugin_api.ja.html[WeeChat プラグイン API リファレンス]
bar_update +
bar_remove
| コマンド |
command +
| コマンド
| command +
command_options
// TRANSLATION MISSING
| completion |
completion_new +
| completion
| completion_new +
completion_search +
completion_get_string +
completion_list_add +
completion_free
| インフォ |
info_get +
| インフォ
| info_get +
info_get_hashtable
| インフォリスト |
infolist_new +
| インフォリスト
| infolist_new +
infolist_new_item +
infolist_new_var_integer +
infolist_new_var_string +
@@ -789,8 +789,8 @@ link:weechat_plugin_api.ja.html[WeeChat プラグイン API リファレンス]
infolist_time +
infolist_free
| hdata |
hdata_get +
| hdata
| hdata_get +
hdata_get_var_offset +
hdata_get_var_type_string +
hdata_get_var_array_size +
@@ -811,8 +811,8 @@ link:weechat_plugin_api.ja.html[WeeChat プラグイン API リファレンス]
hdata_update +
hdata_get_string
| アップグレード |
upgrade_new +
| アップグレード
| upgrade_new +
upgrade_write_object +
upgrade_read +
upgrade_close
@@ -828,14 +828,14 @@ link:weechat_plugin_api.ja.html[WeeChat プラグイン API リファレンス]
| カテゴリ | 定数
// TRANSLATION MISSING
| リターンコード |
`WEECHAT_RC_OK` (integer) +
| リターンコード
| `WEECHAT_RC_OK` (integer) +
`WEECHAT_RC_OK_EAT` (integer) +
`WEECHAT_RC_ERROR` (integer)
// TRANSLATION MISSING
| 設定ファイル |
`WEECHAT_CONFIG_READ_OK` (integer) +
| 設定ファイル
| `WEECHAT_CONFIG_READ_OK` (integer) +
`WEECHAT_CONFIG_READ_MEMORY_ERROR` (integer) +
`WEECHAT_CONFIG_READ_FILE_NOT_FOUND` (integer) +
`WEECHAT_CONFIG_WRITE_OK` (integer) +
@@ -851,26 +851,26 @@ link:weechat_plugin_api.ja.html[WeeChat プラグイン API リファレンス]
`WEECHAT_CONFIG_OPTION_UNSET_ERROR` (integer)
// TRANSLATION MISSING
| ソート済みリスト |
`WEECHAT_LIST_POS_SORT` (string) +
| ソート済みリスト
| `WEECHAT_LIST_POS_SORT` (string) +
`WEECHAT_LIST_POS_BEGINNING` (string) +
`WEECHAT_LIST_POS_END` (string)
// TRANSLATION MISSING
| ホットリスト |
`WEECHAT_HOTLIST_LOW` (string) +
| ホットリスト
| `WEECHAT_HOTLIST_LOW` (string) +
`WEECHAT_HOTLIST_MESSAGE` (string) +
`WEECHAT_HOTLIST_PRIVATE` (string) +
`WEECHAT_HOTLIST_HIGHLIGHT` (string)
// TRANSLATION MISSING
| プロセスのフック |
`WEECHAT_HOOK_PROCESS_RUNNING` (integer) +
| プロセスのフック
| `WEECHAT_HOOK_PROCESS_RUNNING` (integer) +
`WEECHAT_HOOK_PROCESS_ERROR` (integer)
// TRANSLATION MISSING
| 接続のフック |
`WEECHAT_HOOK_CONNECT_OK` (integer) +
| 接続のフック
| `WEECHAT_HOOK_CONNECT_OK` (integer) +
`WEECHAT_HOOK_CONNECT_ADDRESS_NOT_FOUND` (integer) +
`WEECHAT_HOOK_CONNECT_IP_ADDRESS_NOT_FOUND` (integer) +
`WEECHAT_HOOK_CONNECT_CONNECTION_REFUSED` (integer) +
@@ -883,8 +883,8 @@ link:weechat_plugin_api.ja.html[WeeChat プラグイン API リファレンス]
`WEECHAT_HOOK_CONNECT_SOCKET_ERROR` (integer)
// TRANSLATION MISSING
| シグナルのフック |
`WEECHAT_HOOK_SIGNAL_STRING` (string) +
| シグナルのフック
| `WEECHAT_HOOK_SIGNAL_STRING` (string) +
`WEECHAT_HOOK_SIGNAL_INT` (string) +
`WEECHAT_HOOK_SIGNAL_POINTER` (string)
|===
@@ -1349,63 +1349,63 @@ _WeeChat バージョン 0.3.4 以上で利用可。_
// TRANSLATION MISSING
| キー | Since WeeChat ^(1)^ | 説明 | 例
| tags | 0.4.0 |
メッセージに付けられたタグ (空にすることも可) |
`+time=2015-06-27T16:40:35.000Z+`
| tags | 0.4.0
| メッセージに付けられたタグ (空にすることも可)
| `+time=2015-06-27T16:40:35.000Z+`
// TRANSLATION MISSING
| tag_xxx | 3.3 |
Unescaped value of tag "xxx" (one key per tag). |
`+2015-06-27T16:40:35.000Z+`
| tag_xxx | 3.3
| Unescaped value of tag "xxx" (one key per tag).
| `+2015-06-27T16:40:35.000Z+`
| message_without_tags | 0.4.0 |
タグを除いたメッセージ (タグが付けられていなければメッセージと同じ) |
`+:nick!user@host PRIVMSG #weechat :hello!+`
| message_without_tags | 0.4.0
| タグを除いたメッセージ (タグが付けられていなければメッセージと同じ)
| `+:nick!user@host PRIVMSG #weechat :hello!+`
| nick | 0.3.4 |
発信者のニックネーム |
`+nick+`
| nick | 0.3.4
| 発信者のニックネーム
| `+nick+`
// TRANSLATION MISSING
| user | 2.7 |
The origin user. |
`+user+`
| user | 2.7
| The origin user.
| `+user+`
| host | 0.3.4 |
発信者のホスト (ニックネームを含む) |
`+nick!user@host+`
| host | 0.3.4
| 発信者のホスト (ニックネームを含む)
| `+nick!user@host+`
| command | 0.3.4 |
コマンド (_PRIVMSG_、_NOTICE_、...) |
`+PRIVMSG+`
| command | 0.3.4
| コマンド (_PRIVMSG_、_NOTICE_、...)
| `+PRIVMSG+`
| channel | 0.3.4 |
送信先チャンネル |
`+#weechat+`
| channel | 0.3.4
| 送信先チャンネル
| `+#weechat+`
| arguments | 0.3.4 |
コマンド引数 (チャンネルを含む) |
`+#weechat :hello!+`
| arguments | 0.3.4
| コマンド引数 (チャンネルを含む)
| `+#weechat :hello!+`
| text | 1.3 |
テキスト (ユーザメッセージなど) |
`+hello!+`
| text | 1.3
| テキスト (ユーザメッセージなど)
| `+hello!+`
| pos_command | 1.3 |
メッセージ内における _command_ のインデックス (_command_ が見つからない場合 "-1") |
`+47+`
| pos_command | 1.3
| メッセージ内における _command_ のインデックス (_command_ が見つからない場合 "-1")
| `+47+`
| pos_arguments | 1.3 |
メッセージ内における _arguments_ のインデックス (_arguments_ が見つからない場合 "-1") |
`+55+`
| pos_arguments | 1.3
| メッセージ内における _arguments_ のインデックス (_arguments_ が見つからない場合 "-1")
| `+55+`
| pos_channel | 1.3 |
メッセージ内における _channel_ のインデックス (_channel_ が見つからない場合 "-1") |
`+55+`
| pos_channel | 1.3
| メッセージ内における _channel_ のインデックス (_channel_ が見つからない場合 "-1")
| `+55+`
| pos_text | 1.3 |
メッセージ内における _text_ のインデックス (_text_ が見つからない場合 "-1") |
`+65+`
| pos_text | 1.3
| メッセージ内における _text_ のインデックス (_text_ が見つからない場合 "-1")
| `+65+`
|===
// TRANSLATION MISSING
+258 -258
View File
@@ -215,118 +215,118 @@ CMake に対するオプションを指定するには、以下の書式を使
|===
| オプション | 値 | デフォルト値 | 説明
| CMAKE_BUILD_TYPE | `Debug`, `Release`, `RelWithDebInfo`, `MinSizeRel` | |
ビルド形式: WeeChat の開発版を使っている場合は
| CMAKE_BUILD_TYPE | `Debug`, `Release`, `RelWithDebInfo`, `MinSizeRel` |
| ビルド形式: WeeChat の開発版を使っている場合は
`Debug` (または `RelWithDebInfo`) を推奨します。
| CMAKE_INSTALL_PREFIX | directory | /usr/local |
WeeChat をインストールするディレクトリ。
| CMAKE_INSTALL_PREFIX | directory | /usr/local
| WeeChat をインストールするディレクトリ。
// TRANSLATION MISSING
| WEECHAT_HOME | directory | (empty string) |
WeeChat 実行時のホームディレクトリ。 +
| WEECHAT_HOME | directory | (empty string)
| WeeChat 実行時のホームディレクトリ。 +
With an empty value (recommended), XDG directories are used by default.
If non empty, a single directory for all files is used.
The value can also be 4 directories separated by colons, in this order:
config, data, cache, runtime.
| ENABLE_ALIAS | `ON`, `OFF` | ON |
<<command_aliases,Alias プラグイン>>のコンパイル。
| ENABLE_ALIAS | `ON`, `OFF` | ON
| <<command_aliases,Alias プラグイン>>のコンパイル。
| ENABLE_BUFLIST | `ON`, `OFF` | ON |
<<buflist,Buflist プラグイン>>のコンパイル。
| ENABLE_BUFLIST | `ON`, `OFF` | ON
| <<buflist,Buflist プラグイン>>のコンパイル。
| ENABLE_CHARSET | `ON`, `OFF` | ON |
<<charset,Charset プラグイン>>のコンパイル。
| ENABLE_CHARSET | `ON`, `OFF` | ON
| <<charset,Charset プラグイン>>のコンパイル。
| ENABLE_MAN | `ON`, `OFF` | OFF |
man ページのコンパイル。
| ENABLE_MAN | `ON`, `OFF` | OFF
| man ページのコンパイル。
| ENABLE_DOC | `ON`, `OFF` | OFF |
HTML 文書のコンパイル。
| ENABLE_DOC | `ON`, `OFF` | OFF
| HTML 文書のコンパイル。
| ENABLE_ENCHANT | `ON`, `OFF` | OFF |
Enchant と含めた <<spell_checking,Spell プラグイン>>のコンパイル。
| ENABLE_ENCHANT | `ON`, `OFF` | OFF
| Enchant と含めた <<spell_checking,Spell プラグイン>>のコンパイル。
| ENABLE_EXEC | `ON`, `OFF` | ON |
<<external_commands,Exec プラグイン>>のコンパイル。
| ENABLE_EXEC | `ON`, `OFF` | ON
| <<external_commands,Exec プラグイン>>のコンパイル。
| ENABLE_FIFO | `ON`, `OFF` | ON |
<<fifo_pipe,Fifo プラグイン>>のコンパイル。
| ENABLE_FIFO | `ON`, `OFF` | ON
| <<fifo_pipe,Fifo プラグイン>>のコンパイル。
| ENABLE_FSET | `ON`, `OFF` | ON |
<<fset,Fset プラグイン>>のコンパイル。
| ENABLE_FSET | `ON`, `OFF` | ON
| <<fset,Fset プラグイン>>のコンパイル。
| ENABLE_GUILE | `ON`, `OFF` | ON |
<<scripting_plugins,Guile プラグイン>> (Scheme) のコンパイル。
| ENABLE_GUILE | `ON`, `OFF` | ON
| <<scripting_plugins,Guile プラグイン>> (Scheme) のコンパイル。
| ENABLE_IRC | `ON`, `OFF` | ON |
<<irc,IRC プラグイン>>のコンパイル
| ENABLE_IRC | `ON`, `OFF` | ON
| <<irc,IRC プラグイン>>のコンパイル
| ENABLE_JAVASCRIPT | `ON`, `OFF` | OFF |
<<scripting_plugins,JavaScript プラグイン>>のコンパイル。
| ENABLE_JAVASCRIPT | `ON`, `OFF` | OFF
| <<scripting_plugins,JavaScript プラグイン>>のコンパイル。
| ENABLE_LARGEFILE | `ON`, `OFF` | ON |
巨大ファイルのサポート。
| ENABLE_LARGEFILE | `ON`, `OFF` | ON
| 巨大ファイルのサポート。
| ENABLE_LOGGER | `ON`, `OFF` | ON |
<<buffer_logging,Logger プラグイン>>のコンパイル。
| ENABLE_LOGGER | `ON`, `OFF` | ON
| <<buffer_logging,Logger プラグイン>>のコンパイル。
| ENABLE_LUA | `ON`, `OFF` | ON |
<<scripting_plugins,Lua プラグイン>>のコンパイル。
| ENABLE_LUA | `ON`, `OFF` | ON
| <<scripting_plugins,Lua プラグイン>>のコンパイル。
| ENABLE_NCURSES | `ON`, `OFF` | ON |
Ncurses インターフェースのコンパイル。
| ENABLE_NCURSES | `ON`, `OFF` | ON
| Ncurses インターフェースのコンパイル。
| ENABLE_NLS | `ON`, `OFF` | ON |
NLS の有効化 (多言語サポート)。
| ENABLE_NLS | `ON`, `OFF` | ON
| NLS の有効化 (多言語サポート)。
| ENABLE_PERL | `ON`, `OFF` | ON |
<<scripting_plugins,Perl プラグイン>>のコンパイル。
| ENABLE_PERL | `ON`, `OFF` | ON
| <<scripting_plugins,Perl プラグイン>>のコンパイル。
| ENABLE_PHP | `ON`, `OFF` | ON |
<<scripting_plugins,PHP プラグイン>>のコンパイル。
| ENABLE_PHP | `ON`, `OFF` | ON
| <<scripting_plugins,PHP プラグイン>>のコンパイル。
| ENABLE_PYTHON | `ON`, `OFF` | ON |
<<scripting_plugins,Python プラグイン>>のコンパイル。
| ENABLE_PYTHON | `ON`, `OFF` | ON
| <<scripting_plugins,Python プラグイン>>のコンパイル。
// TRANSLATION MISSING
| ENABLE_PYTHON2 | `ON`, `OFF` | OFF |
Compile <<scripting_plugins,Python plugin>> using Python 2 instead of Python 3.
| ENABLE_PYTHON2 | `ON`, `OFF` | OFF
| Compile <<scripting_plugins,Python plugin>> using Python 2 instead of Python 3.
| ENABLE_RELAY | `ON`, `OFF` | ON |
<<relay,リレープラグイン>>のコンパイル。
| ENABLE_RELAY | `ON`, `OFF` | ON
| <<relay,リレープラグイン>>のコンパイル。
| ENABLE_RUBY | `ON`, `OFF` | ON |
<<scripting_plugins,Ruby プラグイン>>のコンパイル。
| ENABLE_RUBY | `ON`, `OFF` | ON
| <<scripting_plugins,Ruby プラグイン>>のコンパイル。
| ENABLE_SCRIPT | `ON`, `OFF` | ON |
<<script_manager,スクリプトプラグイン>>のコンパイル。
| ENABLE_SCRIPT | `ON`, `OFF` | ON
| <<script_manager,スクリプトプラグイン>>のコンパイル。
| ENABLE_SCRIPTS | `ON`, `OFF` | ON |
すべての<<scripting_plugins,スクリプトプラグイン>>
| ENABLE_SCRIPTS | `ON`, `OFF` | ON
| すべての<<scripting_plugins,スクリプトプラグイン>>
(Python、Perl、Ruby、Lua、Tcl、Guile、JavaScript、PHP) のコンパイル。
| ENABLE_SPELL | `ON`, `OFF` | ON |
<<spell_checking,Spell プラグイン>>のコンパイル。
| ENABLE_SPELL | `ON`, `OFF` | ON
| <<spell_checking,Spell プラグイン>>のコンパイル。
| ENABLE_TCL | `ON`, `OFF` | ON |
<<scripting_plugins,Tcl プラグイン>>のコンパイル。
| ENABLE_TCL | `ON`, `OFF` | ON
| <<scripting_plugins,Tcl プラグイン>>のコンパイル。
| ENABLE_TRIGGER | `ON`, `OFF` | ON |
<<trigger,Trigger プラグイン>>のコンパイル。
| ENABLE_TRIGGER | `ON`, `OFF` | ON
| <<trigger,Trigger プラグイン>>のコンパイル。
| ENABLE_TYPING | `ON`, `OFF` | ON |
<<typing_notifications,Typing プラグイン>>のコンパイル。
| ENABLE_TYPING | `ON`, `OFF` | ON
| <<typing_notifications,Typing プラグイン>>のコンパイル。
| ENABLE_XFER | `ON`, `OFF` | ON |
<<xfer,Xfer プラグイン>>のコンパイル。
| ENABLE_XFER | `ON`, `OFF` | ON
| <<xfer,Xfer プラグイン>>のコンパイル。
| ENABLE_TESTS | `ON`, `OFF` | OFF |
コンパイルテスト。
| ENABLE_TESTS | `ON`, `OFF` | OFF
| コンパイルテスト。
| ENABLE_CODE_COVERAGE | `ON`, `OFF` | OFF |
コードカバレッジオプションを有効化してコンパイル。 +
| ENABLE_CODE_COVERAGE | `ON`, `OFF` | OFF
| コードカバレッジオプションを有効化してコンパイル。 +
このオプションはテスト網羅率を測定するために用意されています。
|===
@@ -1404,87 +1404,87 @@ By default WeeChat and its default plugins interpret these variables:
|===
| Name | Value | Description
| away |
any string |
Away message on the server, set by irc plugin.
| away
| any string
| Away message on the server, set by irc plugin.
| channel |
any string |
Channel name, set by irc/xfer plugins and debug buffer of relay/trigger plugins.
| channel
| any string
| Channel name, set by irc/xfer plugins and debug buffer of relay/trigger plugins.
| charset_modifier |
any string |
Charset modifier for the server buffer, set by irc plugin.
| charset_modifier
| any string
| Charset modifier for the server buffer, set by irc plugin.
| completion_default_template |
any string |
Default completion template for the buffer, overriding the option
| completion_default_template
| any string
| Default completion template for the buffer, overriding the option
`weechat.completion.default_template`.
| filter |
any string |
Filter defined on some buffers like `/fset`, `/server raw` (irc) and `/script`.
| filter
| any string
| Filter defined on some buffers like `/fset`, `/server raw` (irc) and `/script`.
| host |
any string |
Self host (if known), set by irc plugin.
| host
| any string
| Self host (if known), set by irc plugin.
| lag |
any string |
Lag on the server, set by irc plugin.
| lag
| any string
| Lag on the server, set by irc plugin.
| name |
any string |
Buffer name (be careful, this is not the full name and this name is not
| name
| any string
| Buffer name (be careful, this is not the full name and this name is not
enough to identify or search a buffer).
| nick |
any string |
Self nick, set by irc and xfer plugins.
| nick
| any string
| Self nick, set by irc and xfer plugins.
| no_log |
`1` (or any non-empty string) |
If set, the logger plugin does not log anything for the buffer.
| no_log
| `1` (or any non-empty string)
| If set, the logger plugin does not log anything for the buffer.
| plugin |
any string |
Name of plugin which created the buffer (`core` for WeeChat buffers).
| plugin
| any string
| Name of plugin which created the buffer (`core` for WeeChat buffers).
| script_close_cb |
any string |
Close callback defined by a script for a buffer.
| script_close_cb
| any string
| Close callback defined by a script for a buffer.
| script_close_cb_data |
any string |
Data for close callback defined by a script for a buffer.
| script_close_cb_data
| any string
| Data for close callback defined by a script for a buffer.
| script_input_cb |
any string |
Input callback defined by a script for a buffer.
| script_input_cb
| any string
| Input callback defined by a script for a buffer.
| script_input_cb_data |
any string |
Data for input callback defined by a script for a buffer.
| script_input_cb_data
| any string
| Data for input callback defined by a script for a buffer.
| script_name |
any string |
Name of the script which created the buffer.
| script_name
| any string
| Name of the script which created the buffer.
| server |
any string |
Server name, set by irc plugin and debug buffer of relay/trigger plugins.
| server
| any string
| Server name, set by irc plugin and debug buffer of relay/trigger plugins.
| spell_suggest |
any string |
Misspelled word and suggestions (format: "misspelled:suggestions"), set by
| spell_suggest
| any string
| Misspelled word and suggestions (format: "misspelled:suggestions"), set by
spell plugin.
| trigger_filter |
any string |
Trigger filter, set by trigger plugin.
| trigger_filter
| any string
| Trigger filter, set by trigger plugin.
| type |
any string, for example:
| type
| any string, for example:
`channel`,
`debug`,
`exec`,
@@ -1494,8 +1494,8 @@ By default WeeChat and its default plugins interpret these variables:
`script`,
`server`,
`user`,
`xfer` |
Type of buffer, set by WeeChat and many plugins.
`xfer`
| Type of buffer, set by WeeChat and many plugins.
|===
@@ -2751,65 +2751,65 @@ _バー_ とは任意のテキストを含めることができるチャット
|===
| オプション名 | 値 | 説明
| type | `root`、`window` |
`root` 型バーは画面上の全ウィンドウの外側にきっかり 1 回だけ表示されます。
| type | `root`、`window`
| `root` 型バーは画面上の全ウィンドウの外側にきっかり 1 回だけ表示されます。
デフォルトバーである _buflist_ は `root` 型のバーです。 +
`window` 型バーは各ウィンドウの中に表示されます。例えば、`/window splith`
や `/window splitv` などの方法で画面を 1 回分割した場合、1
つのバーがそれぞれのウィンドウに表示されます。デフォルトの `window`
型バーには _title_、_status_、_input_、_nicklist_ などがあります。
| position | `top`、`bottom`、`left`、`right` |
バーの位置: チャットエリアの上、下、左、右。
| position | `top`、`bottom`、`left`、`right`
| バーの位置: チャットエリアの上、下、左、右。
| priority | 0 以上の整数 |
バーの表示優先度:
| priority | 0 以上の整数
| バーの表示優先度:
型と位置が同じ複数のバーを画面に表示する順番に利用される。 +
バーは画面の端から中心に向かって表示される。高い優先度を持つバーが先に
(画面の端に近い側に) 表示される。 +
例: 優先度 1000 の _input_ バーは優先度 500 の _status_
バーよりも先に表示される。
| size | 0 以上の整数 |
バーのサイズ:
| size | 0 以上の整数
| バーのサイズ:
位置が右/左の場合は列数、位置が上/下の場合は行数。値が `0`
の場合は自動 (バーのサイズはバーの内容を基に計算される)。
| size_max | 0 以上の整数 |
バーの最大サイズ、`0` = 制限無し (このオプションは
| size_max | 0 以上の整数
| バーの最大サイズ、`0` = 制限無し (このオプションは
`size` = `0` の場合のみ使われる)。
| color_bg | 色 |
バーのデフォルトの背景色
| color_bg | 色
| バーのデフォルトの背景色
| color_fg | 色 |
バーのデフォルトのテキスト色
| color_fg | 色
| バーのデフォルトのテキスト色
| color_delim | 色 |
バーの区切り文字の色
| color_delim | 色
| バーの区切り文字の色
| hidden | `on`、`off` |
このオプションが `on` の場合、バーは表示されません。 +
| hidden | `on`、`off`
| このオプションが `on` の場合、バーは表示されません。 +
注意: このオプションを変更する代わりに、`/bar` コマンドを使うと便利です。例:
`/bar toggle nicklist` (<<command_weechat_bar,/bar>> コマンドを参照)。
| separator | `on`、`off` |
このオプションが `on` の場合、セパレータ (区切り線)
| separator | `on`、`off`
| このオプションが `on` の場合、セパレータ (区切り線)
がバー同士またはバーとチャットエリアの間に表示されます。
| items | 文字列 |
_items_ のリスト (詳細は<<bar_items,バー要素>>を参照)。
| items | 文字列
| _items_ のリスト (詳細は<<bar_items,バー要素>>を参照)。
| filling_left_right | `+horizontal+`、`+vertical+`、`+columns_horizontal+`、`+columns_vertical+` |
位置が `left` または `right` のバーに対するフィリングタイプ
| filling_left_right | `+horizontal+`、`+vertical+`、`+columns_horizontal+`、`+columns_vertical+`
| 位置が `left` または `right` のバーに対するフィリングタイプ
(詳細は<<bar_filling,バーフィリング>>を参照)。
| filling_top_bottom | `+horizontal+`、`+vertical+`、`+columns_horizontal+`、`+columns_vertical+` |
位置が `top` または `bottom` のバーに対するフィリングタイプ
| filling_top_bottom | `+horizontal+`、`+vertical+`、`+columns_horizontal+`、`+columns_vertical+`
| 位置が `top` または `bottom` のバーに対するフィリングタイプ
(詳細は<<bar_filling,バーフィリング>>を参照)。
| conditions | 文字列 |
バーを表示する状態
| conditions | 文字列
| バーを表示する状態
(詳細は<<bar_conditions,バー状態>>を参照)。
|===
@@ -4033,15 +4033,15 @@ The following signals are caught by the typing plugin:
|===
| Signal | Arguments | Description
| typing_set_nick |
String: buffer pointer + ";" + state (one of: "off", "typing", "paused",
| typing_set_nick
| String: buffer pointer + ";" + state (one of: "off", "typing", "paused",
"cleared") + ";" + nick. +
Example: "0x1234abcd;typing;alice". |
Set typing state for a nick on a buffer.
Example: "0x1234abcd;typing;alice".
| Set typing state for a nick on a buffer.
| typing_reset_buffer |
Pointer: buffer. |
Remove typing state for all nicks on a buffer.
| typing_reset_buffer
| Pointer: buffer.
| Remove typing state for all nicks on a buffer.
|===
[[typing_options]]
@@ -4392,26 +4392,26 @@ WeeChat はデフォルトで 5
|===
| 名前 | フック | 説明
| beep | print |
ハイライト/プライベートメッセージを受信した際にビープを鳴らす。
| beep | print
| ハイライト/プライベートメッセージを受信した際にビープを鳴らす。
| cmd_pass | modifier |
コマンド内のパスワードを隠す:
| cmd_pass | modifier
| コマンド内のパスワードを隠す:
`pass:[/msg nickserv id\|identify\|set password\|ghost\|release\|regain\|recover]`、
`pass:[/oper]`、
`pass:[/quote pass]`、
`pass:[/secure passphrase\|decrypt\|set]`。
| cmd_pass_register | modifier |
コマンド内のパスワードを隠す `pass:[/msg nickserv register]`。
| cmd_pass_register | modifier
| コマンド内のパスワードを隠す `pass:[/msg nickserv register]`。
| msg_auth | modifier |
IRC auth メッセージ
| msg_auth | modifier
| IRC auth メッセージ
(ユーザがコマンドを実行した後にサーバから受信するメッセージ)
の表示時にパスワードを隠す。
| server_pass | modifier |
`/server` と `/connect` コマンド内のパスワードを隠す。
| server_pass | modifier
| `/server` と `/connect` コマンド内のパスワードを隠す。
|===
[[trigger_anatomy]]
@@ -4424,37 +4424,37 @@ WeeChat はデフォルトで 5
|===
| オプション | 値 | 説明
| enabled | `on`、`off` |
オプションが `off`
| enabled | `on`、`off`
| オプションが `off`
の場合、トリガは無効化され、アクションは実行されません。
| hook | `+signal+`、`+hsignal+`、`+modifier+`、`+line+`, `+print+`、`+command+`、
`+command_run+`、`+timer+`、`+config+`、`+focus+`、`+info+`、`+info_hashtable+` |
トリガの中で使われるフック。より詳しい情報は
`+command_run+`、`+timer+`、`+config+`、`+focus+`、`+info+`、`+info_hashtable+`
| トリガの中で使われるフック。より詳しい情報は
link:weechat_plugin_api.ja.html#hooks[WeeChat プラグイン API リファレンス / フック]を参照してください。
| arguments | 文字列 |
フックに対する引数、指定したフックの型に依存します。
| arguments | 文字列
| フックに対する引数、指定したフックの型に依存します。
| conditions | 文字列 |
トリガを実行する条件; 内容は評価されます (コマンド
| conditions | 文字列
| トリガを実行する条件; 内容は評価されます (コマンド
<<command_weechat_eval,/eval>> を参照)。
| regex | 文字列 |
1 つ以上の POSIX 拡張正規表現、フックコールバック
| regex | 文字列
| 1 つ以上の POSIX 拡張正規表現、フックコールバック
(とトリガプラグインによって追加されるもの)
が受け取るデータに変更を加えるためのもの、<<trigger_regex,正規表現>>を参照。
| command | 文字列 |
実行するコマンド (複数のコマンドを使う場合には各コマンドをセミコロンで区切ってください);
| command | 文字列
| 実行するコマンド (複数のコマンドを使う場合には各コマンドをセミコロンで区切ってください);
内容は評価されます (コマンド <<command_weechat_eval,/eval>> を参照)。
| return_code | `+ok+`、`+ok_eat+`、`+error+` |
コールバックの戻り値 (デフォルトは
| return_code | `+ok+`、`+ok_eat+`、`+error+`
| コールバックの戻り値 (デフォルトは
`ok`、ほとんどすべてのトリガで戻り値はこれを使うべきで、ほかの値を使うことは極めてまれです)。
| post_action | `none` (何もしない)、`disable` (無効化)、`delete` (削除) |
実行後のトリガに対する処遇 (ほとんどすべてのトリガではデフォルトの `none`
| post_action | `none` (何もしない)、`disable` (無効化)、`delete` (削除)
| 実行後のトリガに対する処遇 (ほとんどすべてのトリガではデフォルトの `none`
を設定するべきで、それ以外の値を設定することはほとんどありません)。
|===
@@ -4492,106 +4492,106 @@ trigger.trigger.beep.post_action = none
|===
| フック | 引数 | 例 | 解説 (API)
| signal |
1. シグナル名 (優先度の指定も可) (必須) +
| signal
| 1. シグナル名 (優先度の指定も可) (必須) +
2. シグナル名 (優先度の指定も可) +
3. ... |
`+*,irc_in_privmsg+` +
3. ...
| `+*,irc_in_privmsg+` +
`+*,irc_in_privmsg;*,irc_in_notice+` +
`+signal_sigwinch+` |
link:weechat_plugin_api.ja.html#_hook_signal[hook_signal]
`+signal_sigwinch+`
| link:weechat_plugin_api.ja.html#_hook_signal[hook_signal]
| hsignal |
1. シグナル名 (優先度の指定も可) (必須) +
| hsignal
| 1. シグナル名 (優先度の指定も可) (必須) +
2. シグナル名 (優先度の指定も可) +
3. ... |
`+nicklist_nick_added+` |
link:weechat_plugin_api.ja.html#_hook_hsignal[hook_hsignal]
3. ...
| `+nicklist_nick_added+`
| link:weechat_plugin_api.ja.html#_hook_hsignal[hook_hsignal]
| modifier |
1. 修飾子名 (優先度の指定も可) (必須) +
| modifier
| 1. 修飾子名 (優先度の指定も可) (必須) +
2. 修飾子名 (優先度の指定も可) +
3. ... |
`+weechat_print+` +
`+5000\|input_text_display;5000\|history_add+` |
link:weechat_plugin_api.ja.html#_hook_modifier[hook_modifier]
3. ...
| `+weechat_print+` +
`+5000\|input_text_display;5000\|history_add+`
| link:weechat_plugin_api.ja.html#_hook_modifier[hook_modifier]
| line |
1. バッファ型 +
| line
| 1. バッファ型 +
2. バッファ名 +
3. タグ |
`+formatted+` +
3. タグ
| `+formatted+` +
`+free+` +
`+*;irc.libera.*+` +
`+*;irc.libera.#weechat+` +
`+formatted;irc.libera.#weechat;irc_notice+` |
link:weechat_plugin_api.en.html#_hook_line[hook_line]
`+formatted;irc.libera.#weechat;irc_notice+`
| link:weechat_plugin_api.en.html#_hook_line[hook_line]
| print |
1. バッファ名 +
| print
| 1. バッファ名 +
2. タグ +
3. メッセージ +
4. 色の削除 (0/1) |
`+irc.libera.*+` +
4. 色の削除 (0/1)
| `+irc.libera.*+` +
`+irc.libera.#weechat+` +
`+irc.libera.#weechat;irc_notice+` +
`+*;;;1+` |
link:weechat_plugin_api.ja.html#_hook_print[hook_print]
`+*;;;1+`
| link:weechat_plugin_api.ja.html#_hook_print[hook_print]
// TRANSLATION MISSING
| command |
1. コマンド名 (優先度の指定も可) (必須) +
| command
| 1. コマンド名 (優先度の指定も可) (必須) +
2. 説明 (evaluated, <<command_weechat_eval,/eval>> コマンドを参照) +
3. 引数 (evaluated, <<command_weechat_eval,/eval>> コマンドを参照) +
4. 引数の説明 (evaluated, <<command_weechat_eval,/eval>> コマンドを参照) +
5. 補完 (evaluated, <<command_weechat_eval,/eval>> コマンドを参照) |
`+test+` +
5. 補完 (evaluated, <<command_weechat_eval,/eval>> コマンドを参照)
| `+test+` +
`+5000\|test+` +
`+test;test command;arg1 arg2;arg1: description 1${\n}arg2: description 2+` |
link:weechat_plugin_api.ja.html#_hook_command[hook_command]
`+test;test command;arg1 arg2;arg1: description 1${\n}arg2: description 2+`
| link:weechat_plugin_api.ja.html#_hook_command[hook_command]
| command_run |
1. コマンド (優先度の指定も可) (必須) +
| command_run
| 1. コマンド (優先度の指定も可) (必須) +
2. コマンド (優先度の指定も可) +
3. ... |
`+/cmd arguments+` |
link:weechat_plugin_api.ja.html#_hook_command_run[hook_command_run]
3. ...
| `+/cmd arguments+`
| link:weechat_plugin_api.ja.html#_hook_command_run[hook_command_run]
| timer |
1. インターバルするミリ秒数 (必須) +
| timer
| 1. インターバルするミリ秒数 (必須) +
2. 秒の調整 (デフォルト: 0) +
3. 呼び出し回数の最大値 (デフォルト: 0、「無限に」呼び出すことを意味します) |
`+3600000+` +
`+60000;0;5+` |
link:weechat_plugin_api.ja.html#_hook_timer[hook_timer]
3. 呼び出し回数の最大値 (デフォルト: 0、「無限に」呼び出すことを意味します)
| `+3600000+` +
`+60000;0;5+`
| link:weechat_plugin_api.ja.html#_hook_timer[hook_timer]
| config |
1. オプション名 (優先度の指定も可) (必須) +
| config
| 1. オプション名 (優先度の指定も可) (必須) +
2. オプション名 (優先度の指定も可) +
3. ... |
`+weechat.look.*+` |
link:weechat_plugin_api.ja.html#_hook_config[hook_config]
3. ...
| `+weechat.look.*+`
| link:weechat_plugin_api.ja.html#_hook_config[hook_config]
| focus |
1. エリア名 (優先度の指定も可) (必須) +
| focus
| 1. エリア名 (優先度の指定も可) (必須) +
2. エリア名 (優先度の指定も可) +
3. ... |
`+buffer_nicklist+` |
link:weechat_plugin_api.ja.html#_hook_focus[hook_focus]
3. ...
| `+buffer_nicklist+`
| link:weechat_plugin_api.ja.html#_hook_focus[hook_focus]
| info |
1. インフォ名 (優先度の指定も可) (必須) +
| info
| 1. インフォ名 (優先度の指定も可) (必須) +
2. インフォ名 (優先度の指定も可) +
3. ... |
`+my_info+` |
link:weechat_plugin_api.ja.html#_hook_info[hook_info]
3. ...
| `+my_info+`
| link:weechat_plugin_api.ja.html#_hook_info[hook_info]
| info_hashtable |
1. インフォ名 (優先度の指定も可) (必須) +
| info_hashtable
| 1. インフォ名 (優先度の指定も可) (必須) +
2. インフォ名 (優先度の指定も可) +
3. ... |
`+my_info+` |
link:weechat_plugin_api.ja.html#_hook_info_hashtable[hook_info_hashtable]
3. ...
| `+my_info+`
| link:weechat_plugin_api.ja.html#_hook_info_hashtable[hook_info_hashtable]
|===
[[trigger_conditions]]
+109 -109
View File
@@ -104,11 +104,11 @@ dlatego callback może otrzymać ciąc typu `str` lub `bytes` (lista nie jest pe
|===
| Funkcja API | Argumenty | Przykłady | Opis
| hook_modifier |
irc_in_yyy |
pass:[irc_in_privmsg] +
pass:[irc_in_notice] |
Wiadomość otrzymana przez wtyczkę IRC, zanim jest zdekodowana do UTF-8
| hook_modifier
| irc_in_yyy
| pass:[irc_in_privmsg] +
pass:[irc_in_notice]
| Wiadomość otrzymana przez wtyczkę IRC, zanim jest zdekodowana do UTF-8
(używana wewnętrznie) +
+
Zalecane jest używanie w zamian modyfikatora `+irc_in2_yyy+`, otrzymany ciąg
@@ -116,14 +116,14 @@ dlatego callback może otrzymać ciąc typu `str` lub `bytes` (lista nie jest pe
Zobacz funkcję `+hook_modifier+` w
link:weechat_plugin_api.en.html#_hook_modifier[Opiie API wtyczek WeeChat].
| hook_signal |
xxx,irc_out_yyy +
xxx,irc_outtags_yyy |
pass:[*,irc_out_privmsg] +
| hook_signal
| xxx,irc_out_yyy +
xxx,irc_outtags_yyy
| pass:[*,irc_out_privmsg] +
pass:[*,irc_out_notice] +
pass:[*,irc_outtags_privmsg] +
pass:[*,irc_outtags_notice] |
Wiadomość wysłana przez serwer IRC po zakodowaniu na kodowanie `encode`
pass:[*,irc_outtags_notice]
| Wiadomość wysłana przez serwer IRC po zakodowaniu na kodowanie `encode`
zdefiniowane przez użytkownika (jeśli inne niż `UTF-8`). +
+
Zaleca się użycie w zamian sygnału `+xxx,irc_out1_yyy+`,otrzymany ciąg jest
@@ -132,10 +132,10 @@ dlatego callback może otrzymać ciąc typu `str` lub `bytes` (lista nie jest pe
link:weechat_plugin_api.en.html#_hook_modifier[Opiie API wtyczek WeeChat].
| hook_process +
hook_process_hashtable |
- |
- |
Wynik komendy wysyłany do callbacka, może zawierać niepoprawne dane UTF-8.
hook_process_hashtable
| -
| -
| Wynik komendy wysyłany do callbacka, może zawierać niepoprawne dane UTF-8.
|===
@@ -560,14 +560,14 @@ Lista funkcji w API skryptów:
|===
| Kategoria | Funkcje
| ogólne |
register
| ogólne
| register
| wtyczki |
plugin_get_name
| wtyczki
| plugin_get_name
| ciągi |
charset_set +
| ciągi
| charset_set +
iconv_to_internal +
iconv_from_internal +
gettext +
@@ -586,13 +586,13 @@ Lista funkcji w API skryptów:
string_eval_expression +
string_eval_path_home
| katalogi |
mkdir_home +
| katalogi
| mkdir_home +
mkdir +
mkdir_parents
| przechowywane listy |
list_new +
| przechowywane listy
| list_new +
list_add +
list_search +
list_search_pos +
@@ -608,8 +608,8 @@ Lista funkcji w API skryptów:
list_remove_all +
list_free
| pliki konfiguracyjne |
config_new +
| pliki konfiguracyjne
| config_new +
config_new_section +
config_search_section +
config_new_option +
@@ -646,12 +646,12 @@ Lista funkcji w API skryptów:
config_set_desc_plugin +
config_unset_plugin
| przypisania klawiszy |
key_bind +
| przypisania klawiszy
| key_bind +
key_unbind
| wyświetlanie |
prefix +
| wyświetlanie
| prefix +
color +
print (dla pythona: prnt) +
print_date_tags (dla pythona: prnt_date_tags) +
@@ -659,8 +659,8 @@ Lista funkcji w API skryptów:
print_y_date_tags (dla pythona: prnt_y_date_tags) +
log_print
| hooks |
hook_command +
| hooks
| hook_command +
hook_command_run +
hook_timer +
hook_fd +
@@ -685,8 +685,8 @@ Lista funkcji w API skryptów:
unhook +
unhook_all
| bufory |
buffer_new +
| bufory
| buffer_new +
buffer_new_props +
current_buffer +
buffer_search +
@@ -702,16 +702,16 @@ Lista funkcji w API skryptów:
buffer_string_replace_local_var +
buffer_match_list
| okna |
current_window +
| okna
| current_window +
window_search_with_buffer +
window_get_integer +
window_get_string +
window_get_pointer +
window_set_title
| lista nicków |
nicklist_add_group +
| lista nicków
| nicklist_add_group +
nicklist_search_group +
nicklist_add_nick +
nicklist_search_nick +
@@ -727,8 +727,8 @@ Lista funkcji w API skryptów:
nicklist_nick_get_pointer +
nicklist_nick_set
| paski |
bar_item_search +
| paski
| bar_item_search +
bar_item_new +
bar_item_update +
bar_item_remove +
@@ -738,23 +738,23 @@ Lista funkcji w API skryptów:
bar_update +
bar_remove
| komendy |
command +
| komendy
| command +
command_options
| dopełnienia |
completion_new +
| dopełnienia
| completion_new +
completion_search +
completion_get_string +
completion_list_add +
completion_free
| informacje |
info_get +
| informacje
| info_get +
info_get_hashtable
| infolisty |
infolist_new +
| infolisty
| infolist_new +
infolist_new_item +
infolist_new_var_integer +
infolist_new_var_string +
@@ -772,8 +772,8 @@ Lista funkcji w API skryptów:
infolist_time +
infolist_free
| hdata |
hdata_get +
| hdata
| hdata_get +
hdata_get_var_offset +
hdata_get_var_type_string +
hdata_get_var_array_size +
@@ -794,8 +794,8 @@ Lista funkcji w API skryptów:
hdata_update +
hdata_get_string
| uaktualnienie |
upgrade_new +
| uaktualnienie
| upgrade_new +
upgrade_write_object +
upgrade_read +
upgrade_close
@@ -810,13 +810,13 @@ Lista stałych w API skryptów:
|===
| Kategoria | Stałe
| zwracane kody |
`WEECHAT_RC_OK` (liczba całkowita) +
| zwracane kody
| `WEECHAT_RC_OK` (liczba całkowita) +
`WEECHAT_RC_OK_EAT` (liczba całkowita) +
`WEECHAT_RC_ERROR` (liczba całkowita)
| pliki konfiguracyjne |
`WEECHAT_CONFIG_READ_OK` (liczba całkowita) +
| pliki konfiguracyjne
| `WEECHAT_CONFIG_READ_OK` (liczba całkowita) +
`WEECHAT_CONFIG_READ_MEMORY_ERROR` (liczba całkowita) +
`WEECHAT_CONFIG_READ_FILE_NOT_FOUND` (liczba całkowita) +
`WEECHAT_CONFIG_WRITE_OK` (liczba całkowita) +
@@ -831,23 +831,23 @@ Lista stałych w API skryptów:
`WEECHAT_CONFIG_OPTION_UNSET_OK_REMOVED` (liczba całkowita) +
`WEECHAT_CONFIG_OPTION_UNSET_ERROR` (liczba całkowita)
| posortowane listy |
`WEECHAT_LIST_POS_SORT` (ciąg) +
| posortowane listy
| `WEECHAT_LIST_POS_SORT` (ciąg) +
`WEECHAT_LIST_POS_BEGINNING` (ciąg) +
`WEECHAT_LIST_POS_END` (ciąg)
| hotlisty |
`WEECHAT_HOTLIST_LOW` (ciąg) +
| hotlisty
| `WEECHAT_HOTLIST_LOW` (ciąg) +
`WEECHAT_HOTLIST_MESSAGE` (ciąg) +
`WEECHAT_HOTLIST_PRIVATE` (ciąg) +
`WEECHAT_HOTLIST_HIGHLIGHT` (ciąg)
| hook process |
`WEECHAT_HOOK_PROCESS_RUNNING` (liczba całkowita) +
| hook process
| `WEECHAT_HOOK_PROCESS_RUNNING` (liczba całkowita) +
`WEECHAT_HOOK_PROCESS_ERROR` (liczba całkowita)
| hook connect |
`WEECHAT_HOOK_CONNECT_OK` (liczba całkowita) +
| hook connect
| `WEECHAT_HOOK_CONNECT_OK` (liczba całkowita) +
`WEECHAT_HOOK_CONNECT_ADDRESS_NOT_FOUND` (liczba całkowita) +
`WEECHAT_HOOK_CONNECT_IP_ADDRESS_NOT_FOUND` (liczba całkowita) +
`WEECHAT_HOOK_CONNECT_CONNECTION_REFUSED` (liczba całkowita) +
@@ -859,8 +859,8 @@ Lista stałych w API skryptów:
`WEECHAT_HOOK_CONNECT_TIMEOUT` (liczba całkowita) +
`WEECHAT_HOOK_CONNECT_SOCKET_ERROR` (liczba całkowita)
| hook signal |
`WEECHAT_HOOK_SIGNAL_STRING` (ciąg) +
| hook signal
| `WEECHAT_HOOK_SIGNAL_STRING` (ciąg) +
`WEECHAT_HOOK_SIGNAL_INT` (ciąg) +
`WEECHAT_HOOK_SIGNAL_POINTER` (ciąg)
|===
@@ -1318,61 +1318,61 @@ Wynik jest tabela hashy z następującymi kluczami
|===
| Klucz | Od wersji ^(1)^ | Opis | Przykład
| tags | 0.4.0 |
Tagi w wiadomości (mogą byc puste). |
`+time=2015-06-27T16:40:35.000Z+`
| tags | 0.4.0
| Tagi w wiadomości (mogą byc puste).
| `+time=2015-06-27T16:40:35.000Z+`
| tag_xxx | 3.3 |
Niewyescapowana wartość tagu "xxx" (jeden klucz per tag). |
`+2015-06-27T16:40:35.000Z+`
| tag_xxx | 3.3
| Niewyescapowana wartość tagu "xxx" (jeden klucz per tag).
| `+2015-06-27T16:40:35.000Z+`
| message_without_tags | 0.4.0 |
Wiadomość bez tagów (jeśli nie ma tagów jest to to samo co wiadomość). |
`+:nick!user@host PRIVMSG #weechat :hello!+`
| message_without_tags | 0.4.0
| Wiadomość bez tagów (jeśli nie ma tagów jest to to samo co wiadomość).
| `+:nick!user@host PRIVMSG #weechat :hello!+`
| nick | 0.3.4 |
Nick żródła. |
`+nick+`
| nick | 0.3.4
| Nick żródła.
| `+nick+`
| user | 2.7 |
Oryginalny użytkownik. |
`+user+`
| user | 2.7
| Oryginalny użytkownik.
| `+user+`
| host | 0.3.4 |
Host żródła (zawiera nick). |
`+nick!user@host+`
| host | 0.3.4
| Host żródła (zawiera nick).
| `+nick!user@host+`
| command | 0.3.4 |
Komenda (_PRIVMSG_, _NOTICE_, ...). |
`+PRIVMSG+`
| command | 0.3.4
| Komenda (_PRIVMSG_, _NOTICE_, ...).
| `+PRIVMSG+`
| channel | 0.3.4 |
Docelowy kanał. |
`+#weechat+`
| channel | 0.3.4
| Docelowy kanał.
| `+#weechat+`
| arguments | 0.3.4 |
Argumenty komendy (zawierają kanał). |
`+#weechat :hello!+`
| arguments | 0.3.4
| Argumenty komendy (zawierają kanał).
| `+#weechat :hello!+`
| text | 1.3 |
Tekst (na przykład wiadomość użytkownika). |
`+hello!+`
| text | 1.3
| Tekst (na przykład wiadomość użytkownika).
| `+hello!+`
| pos_command | 1.3 |
The index of _command_ in message ("-1" if _command_ was not found). |
`+47+`
| pos_command | 1.3
| The index of _command_ in message ("-1" if _command_ was not found).
| `+47+`
| pos_arguments | 1.3 |
The index of _arguments_ in message ("-1" if _arguments_ was not found). |
`+55+`
| pos_arguments | 1.3
| The index of _arguments_ in message ("-1" if _arguments_ was not found).
| `+55+`
| pos_channel | 1.3 |
The index of _channel_ in message ("-1" if _channel_ was not found). |
`+55+`
| pos_channel | 1.3
| The index of _channel_ in message ("-1" if _channel_ was not found).
| `+55+`
| pos_text | 1.3 |
The index of _text_ in message ("-1" if _text_ was not found). |
`+65+`
| pos_text | 1.3
| The index of _text_ in message ("-1" if _text_ was not found).
| `+65+`
|===
[NOTE]
+258 -258
View File
@@ -212,116 +212,116 @@ Lista popularnych opcji:
|===
| Opcja | Wartość | Wartość domyślna | Opis
| CMAKE_BUILD_TYPE | `Debug`, `Release`, `RelWithDebInfo`, `MinSizeRel` | |
Typ budowania pakietu: `Debug` (lub `RelWithDebInfo`) jest zalecany dla
| CMAKE_BUILD_TYPE | `Debug`, `Release`, `RelWithDebInfo`, `MinSizeRel` |
| Typ budowania pakietu: `Debug` (lub `RelWithDebInfo`) jest zalecany dla
wersjrozwojowej WeeChat.
| CMAKE_INSTALL_PREFIX | katalog | /usr/local |
Katalog, do którego zostanie zainstalowany WeeChat.
| CMAKE_INSTALL_PREFIX | katalog | /usr/local
| Katalog, do którego zostanie zainstalowany WeeChat.
| WEECHAT_HOME | katalog | (pusty ciąg) |
Domyślny katalog domowy dla WeeChat. +
| WEECHAT_HOME | katalog | (pusty ciąg)
| Domyślny katalog domowy dla WeeChat. +
Bez ustawionej wartości (zalecane) domyślnie zostaną użyte wartości XDG.
Jeśli wartość nie jest pusta zostanie użyty jeden katalog dla wszystkich plików.
Wartością mogą być również 4 katalogi oddzielone dwukropkami, w takiej
kolejności: config, data, cache, runtime.
| ENABLE_ALIAS | `ON`, `OFF` | ON |
Kompilacja <<command_aliases,wtyczki alias>>.
| ENABLE_ALIAS | `ON`, `OFF` | ON
| Kompilacja <<command_aliases,wtyczki alias>>.
| ENABLE_BUFLIST | `ON`, `OFF` | ON |
Kompilacja <<buflist,wtyczki buflist>>.
| ENABLE_BUFLIST | `ON`, `OFF` | ON
| Kompilacja <<buflist,wtyczki buflist>>.
| ENABLE_CHARSET | `ON`, `OFF` | ON |
Kompilacja <<charset,wtyczki charset>>.
| ENABLE_CHARSET | `ON`, `OFF` | ON
| Kompilacja <<charset,wtyczki charset>>.
| ENABLE_MAN | `ON`, `OFF` | OFF |
Generowanie strony manuala.
| ENABLE_MAN | `ON`, `OFF` | OFF
| Generowanie strony manuala.
| ENABLE_DOC | `ON`, `OFF` | OFF |
Generowanie dokumentacji HTML.
| ENABLE_DOC | `ON`, `OFF` | OFF
| Generowanie dokumentacji HTML.
| ENABLE_ENCHANT | `ON`, `OFF` | OFF |
Kompilacja <<spell_checking,wtyczki spell>> z Enchant.
| ENABLE_ENCHANT | `ON`, `OFF` | OFF
| Kompilacja <<spell_checking,wtyczki spell>> z Enchant.
| ENABLE_EXEC | `ON`, `OFF` | ON |
Kompilacja <<external_commands,wtyczki exec>>.
| ENABLE_EXEC | `ON`, `OFF` | ON
| Kompilacja <<external_commands,wtyczki exec>>.
| ENABLE_FIFO | `ON`, `OFF` | ON |
Kompilacja <<fifo_pipe,wtyczki fifo>>.
| ENABLE_FIFO | `ON`, `OFF` | ON
| Kompilacja <<fifo_pipe,wtyczki fifo>>.
| ENABLE_FSET | `ON`, `OFF` | ON |
Kompilacja <<fset,wtyczki fset>>.
| ENABLE_FSET | `ON`, `OFF` | ON
| Kompilacja <<fset,wtyczki fset>>.
| ENABLE_GUILE | `ON`, `OFF` | ON |
Kompilacja <<scripting_plugins,wtyczki guile>> (Scheme).
| ENABLE_GUILE | `ON`, `OFF` | ON
| Kompilacja <<scripting_plugins,wtyczki guile>> (Scheme).
| ENABLE_IRC | `ON`, `OFF` | ON |
Kompilacja <<irc,wtyczki IRC>>.
| ENABLE_IRC | `ON`, `OFF` | ON
| Kompilacja <<irc,wtyczki IRC>>.
| ENABLE_JAVASCRIPT | `ON`, `OFF` | OFF |
Kompilacja <<scripting_plugins,wtyczki javascript>>.
| ENABLE_JAVASCRIPT | `ON`, `OFF` | OFF
| Kompilacja <<scripting_plugins,wtyczki javascript>>.
| ENABLE_LARGEFILE | `ON`, `OFF` | ON |
Wsparcie dla dużych plików.
| ENABLE_LARGEFILE | `ON`, `OFF` | ON
| Wsparcie dla dużych plików.
| ENABLE_LOGGER | `ON`, `OFF` | ON |
Kompilacja <<buffer_logging,wtyczki logger>>.
| ENABLE_LOGGER | `ON`, `OFF` | ON
| Kompilacja <<buffer_logging,wtyczki logger>>.
| ENABLE_LUA | `ON`, `OFF` | ON |
Kompilacja <<scripting_plugins,wtyczki lua>>.
| ENABLE_LUA | `ON`, `OFF` | ON
| Kompilacja <<scripting_plugins,wtyczki lua>>.
| ENABLE_NCURSES | `ON`, `OFF` | ON |
Kompilacja interfejsu Ncurses.
| ENABLE_NCURSES | `ON`, `OFF` | ON
| Kompilacja interfejsu Ncurses.
| ENABLE_NLS | `ON`, `OFF` | ON |
Włączenie NLS (tłumaczenia).
| ENABLE_NLS | `ON`, `OFF` | ON
| Włączenie NLS (tłumaczenia).
| ENABLE_PERL | `ON`, `OFF` | ON |
Kompilacja <<scripting_plugins,wtyczki perl>>.
| ENABLE_PERL | `ON`, `OFF` | ON
| Kompilacja <<scripting_plugins,wtyczki perl>>.
| ENABLE_PHP | `ON`, `OFF` | ON |
Kompilacja <<scripting_plugins,wtyczki PHP>>.
| ENABLE_PHP | `ON`, `OFF` | ON
| Kompilacja <<scripting_plugins,wtyczki PHP>>.
| ENABLE_PYTHON | `ON`, `OFF` | ON |
Kompilacja <<scripting_plugins,wtyczki Python>>.
| ENABLE_PYTHON | `ON`, `OFF` | ON
| Kompilacja <<scripting_plugins,wtyczki Python>>.
| ENABLE_PYTHON2 | `ON`, `OFF` | OFF |
Kompilacja <<scripting_plugins,wtyczki Python>> z użyciem Pythona 2 zamiast Pythona 3.
| ENABLE_PYTHON2 | `ON`, `OFF` | OFF
| Kompilacja <<scripting_plugins,wtyczki Python>> z użyciem Pythona 2 zamiast Pythona 3.
| ENABLE_RELAY | `ON`, `OFF` | ON |
Kompilacja <<relay,wtyczki relay>>.
| ENABLE_RELAY | `ON`, `OFF` | ON
| Kompilacja <<relay,wtyczki relay>>.
| ENABLE_RUBY | `ON`, `OFF` | ON |
Kompilacja <<scripting_plugins,wtyczki ruby>>.
| ENABLE_RUBY | `ON`, `OFF` | ON
| Kompilacja <<scripting_plugins,wtyczki ruby>>.
| ENABLE_SCRIPT | `ON`, `OFF` | ON |
Kompilacja <<script_manager,wtyczki script>>.
| ENABLE_SCRIPT | `ON`, `OFF` | ON
| Kompilacja <<script_manager,wtyczki script>>.
| ENABLE_SCRIPTS | `ON`, `OFF` | ON |
Kompilacja <<scripting_plugins,wtyczek skryptowych>> (Python, Perl, Ruby, Lua,
| ENABLE_SCRIPTS | `ON`, `OFF` | ON
| Kompilacja <<scripting_plugins,wtyczek skryptowych>> (Python, Perl, Ruby, Lua,
Tcl, Guile, JavaScript, PHP).
| ENABLE_SPELL | `ON`, `OFF` | ON |
Kompilacja <<spell_checking,wtyczki spell>>.
| ENABLE_SPELL | `ON`, `OFF` | ON
| Kompilacja <<spell_checking,wtyczki spell>>.
| ENABLE_TCL | `ON`, `OFF` | ON |
Kompilacja <<scripting_plugins,wtyczki tcl>>.
| ENABLE_TCL | `ON`, `OFF` | ON
| Kompilacja <<scripting_plugins,wtyczki tcl>>.
| ENABLE_TRIGGER | `ON`, `OFF` | ON |
Kompilacja <<trigger,wtyczki trigger>>.
| ENABLE_TRIGGER | `ON`, `OFF` | ON
| Kompilacja <<trigger,wtyczki trigger>>.
| ENABLE_TYPING | `ON`, `OFF` | ON |
Kompilacja <<typing_notifications,wtyczki typing>>.
| ENABLE_TYPING | `ON`, `OFF` | ON
| Kompilacja <<typing_notifications,wtyczki typing>>.
| ENABLE_XFER | `ON`, `OFF` | ON |
Kompilacja <<xfer,wtyczki xfer>>.
| ENABLE_XFER | `ON`, `OFF` | ON
| Kompilacja <<xfer,wtyczki xfer>>.
| ENABLE_TESTS | `ON`, `OFF` | OFF |
Kompiluje testy.
| ENABLE_TESTS | `ON`, `OFF` | OFF
| Kompiluje testy.
| ENABLE_CODE_COVERAGE | `ON`, `OFF` | OFF |
Kompilacja z opcja pokrycia kodu. +
| ENABLE_CODE_COVERAGE | `ON`, `OFF` | OFF
| Kompilacja z opcja pokrycia kodu. +
Ta opcja powinna być używana tylko dla testów, w celu pomiaru pokrycia kodu.
|===
@@ -1348,89 +1348,89 @@ WeeChat i jego wtyczki domyślnie tworzą następujące zmienne:
|===
| Nazwa | Wartość | Opis
| away |
dowolny ciąg |
Powód nieobecności na serwerze, ustawiane przez wtyczkę irc.
| away
| dowolny ciąg
| Powód nieobecności na serwerze, ustawiane przez wtyczkę irc.
| channel |
dowolny ciąg |
Nazwa kanału, ustawiana przez wtyczki irc/xfer i bufory z
| channel
| dowolny ciąg
| Nazwa kanału, ustawiana przez wtyczki irc/xfer i bufory z
informacjami do debugowania wtyczek relay/trigger.
| charset_modifier |
dowolny ciąg |
Modyfikacja kodowania używanego na kanale, ustawiane przez wtyczkę irc.
| charset_modifier
| dowolny ciąg
| Modyfikacja kodowania używanego na kanale, ustawiane przez wtyczkę irc.
| completion_default_template |
dowolny ciąg |
Domyślny szablon dopełnień dla bufora, nadpisuje zmienną
| completion_default_template
| dowolny ciąg
| Domyślny szablon dopełnień dla bufora, nadpisuje zmienną
`weechat.completion.default_template`.
| filter |
dowolny ciąg |
Filtry zdefiniowane dla buforów jak `/fset`, `/server raw` (irc) i `/script`.
| filter
| dowolny ciąg
| Filtry zdefiniowane dla buforów jak `/fset`, `/server raw` (irc) i `/script`.
| host |
dowolny ciąg |
Własny host (jeśli jest znany), ustawiane przez wtyczkę irc.
| host
| dowolny ciąg
| Własny host (jeśli jest znany), ustawiane przez wtyczkę irc.
| lag |
dowolny ciąg |
Opóźnienie serwera, ustawiane przez wtyczkę irc.
| lag
| dowolny ciąg
| Opóźnienie serwera, ustawiane przez wtyczkę irc.
| name |
dowolny ciąg |
Nazwa bufora (uważaj, nie jest to pełna nazwa i nie wystarczy ona do
| name
| dowolny ciąg
| Nazwa bufora (uważaj, nie jest to pełna nazwa i nie wystarczy ona do
zidentyfikowania i wyszukania bufora).
| nick |
dowolny ciąg |
Nazwa użytkownika, ustawiane przez wtyczki irc i xfer.
| nick
| dowolny ciąg
| Nazwa użytkownika, ustawiane przez wtyczki irc i xfer.
| no_log |
`1` (lub dowolny niepusty ciąg) |
Jeśli jest ustawiona, wiadomości z bufora nie są logowane.
| no_log
| `1` (lub dowolny niepusty ciąg)
| Jeśli jest ustawiona, wiadomości z bufora nie są logowane.
| plugin |
dowolny ciąg |
Nazwa wtyczki, która stworzyła bufor (`core` dla buforów WeeChat).
| plugin
| dowolny ciąg
| Nazwa wtyczki, która stworzyła bufor (`core` dla buforów WeeChat).
| script_close_cb |
dowolny ciąg |
Callback zamykania bufora zdefiniowany przez skrypt.
| script_close_cb
| dowolny ciąg
| Callback zamykania bufora zdefiniowany przez skrypt.
| script_close_cb_data |
dowolny ciąg |
Dane dla callbacka zamykania bufora zdefiniowane przez skrypt.
| script_close_cb_data
| dowolny ciąg
| Dane dla callbacka zamykania bufora zdefiniowane przez skrypt.
| script_input_cb |
dowolny ciąg |
Callback wprowadzania danych w buforze zdefiniowany przez skrypt.
| script_input_cb
| dowolny ciąg
| Callback wprowadzania danych w buforze zdefiniowany przez skrypt.
| script_input_cb_data |
dowolny ciąg |
Dane dla callbacka wprowadzania danych w buforze zdefiniowane przez skrypt.
| script_input_cb_data
| dowolny ciąg
| Dane dla callbacka wprowadzania danych w buforze zdefiniowane przez skrypt.
| script_name |
dowolny ciąg |
Nazwa skryptu, który stworzył bufor.
| script_name
| dowolny ciąg
| Nazwa skryptu, który stworzył bufor.
| server |
dowolny ciąg |
Nazwa serwera ustawiana przez wtyczkę irc albo bufor z informacjami do
| server
| dowolny ciąg
| Nazwa serwera ustawiana przez wtyczkę irc albo bufor z informacjami do
debugowania wtyczki relay/trigger.
| spell_suggest |
dowolny ciąg |
Źle napisane słowo i sugestie (format: "słowo:sugestie"), ustawiane przez
| spell_suggest
| dowolny ciąg
| Źle napisane słowo i sugestie (format: "słowo:sugestie"), ustawiane przez
wtyczkę spell.
| trigger_filter |
dowolny ciąg |
Filtr triggerów, ustawiany przez wtyczkę trigger.
| trigger_filter
| dowolny ciąg
| Filtr triggerów, ustawiany przez wtyczkę trigger.
| type |
dowolny ciąg, na przykład:
| type
| dowolny ciąg, na przykład:
`channel`,
`debug`,
`exec`,
@@ -1440,8 +1440,8 @@ WeeChat i jego wtyczki domyślnie tworzą następujące zmienne:
`script`,
`server`,
`user`,
`xfer` |
Typ bufora ustawiany przez WeeChat i wiele wtyczek.
`xfer`
| Typ bufora ustawiany przez WeeChat i wiele wtyczek.
|===
@@ -2665,66 +2665,66 @@ Lista opcji dla pasków:
|===
| Opcja | Wartości | Opis
| type | `root`, `window` |
Pasek z typem `root` jest wyświetlany dokładnie jeden raz na ekranie, poza
| type | `root`, `window`
| Pasek z typem `root` jest wyświetlany dokładnie jeden raz na ekranie, poza
wszystkimi oknami. Domyślny pasek _buflist_ ma typ `root`. +
Pasek z typem `window` wyświetlany jest w każdym oknie, na przykład jeśli
podzielisz jednorazowo ekran (używając `/window splith` lun `/window splitv`)
otrzymasz po jednym pasku w każdym oknie. Domyślnie paski _title_, _status_,
_input_ i _nicklist_ mają typ `window`.
| position | `top`, `bottom`, `left`, `right` |
Pozycja paska: powyżej/poniżej ekranu rozmowy, po jego lewej/prawej stronie.
| position | `top`, `bottom`, `left`, `right`
| Pozycja paska: powyżej/poniżej ekranu rozmowy, po jego lewej/prawej stronie.
| priority | integer ≥ 0 |
Priorytet wyświetlania paska: jest on używany do uporządkowania pasków na
| priority | integer ≥ 0
| Priorytet wyświetlania paska: jest on używany do uporządkowania pasków na
ekranie, kiedy więcej niż jeden pasek posiada ten sam typ i położenie. +
Paski są wyświetlane od brzegu do środka ekranu. Paski z wyższym priorytetem
zostaną wyświetlone na początku, czyli bliżej krawędzi. +
Przykład: pasek _input_ ma priorytet 1000, dlatego jest wyświetlany przed
paskiem _status_, który ma priorytet 500.
| size | integer ≥ 0 |
Rozmiar paska: ilość kolumn dla pozycji lewo/prawo, numer linii dla pozycji
| size | integer ≥ 0
| Rozmiar paska: ilość kolumn dla pozycji lewo/prawo, numer linii dla pozycji
góra/dół. Rozmiar `0` oznacza automatyczny - rozmiar zostanie wyliczony zgodnie
z wyświetlaną zawartością.
| size_max | integer ≥ 0 |
Maksymalny rozmiar paska, `0` = brak limitu (opcja ta jest używana tylko jeśli
| size_max | integer ≥ 0
| Maksymalny rozmiar paska, `0` = brak limitu (opcja ta jest używana tylko jeśli
`size` = 0).
| color_bg | color |
Domyślny kolor tła paska.
| color_bg | color
| Domyślny kolor tła paska.
| color_fg | color |
Domyślny kolor tekstu na pasku.
| color_fg | color
| Domyślny kolor tekstu na pasku.
| color_delim | color |
Kolor separatorów na pasku.
| color_delim | color
| Kolor separatorów na pasku.
| hidden | `on`, `off` |
Kiedy ta opcja jest ustawiona na `on`, pasek jest ukrywany. +
| hidden | `on`, `off`
| Kiedy ta opcja jest ustawiona na `on`, pasek jest ukrywany. +
Uwaga: zamiast zmiany tej opcji zaleca się użycie komendy `/bar`, na przykład:
`/bar toggle nicklist` (zobacz komendę <<command_weechat_bar,/bar>> po więcej
informacji).
| separator | `on`, `off` |
Kiedy ta opcja jest ustawiona na `on`, separator (linia) jest wyświetlany
| separator | `on`, `off`
| Kiedy ta opcja jest ustawiona na `on`, separator (linia) jest wyświetlany
pomiędzy tym paskiem a pozostałymi (lub oknem rozmowy).
| items | string |
Lista _elementów_ (zobacz <<bar_items,elementy>> po więcej informacji).
| items | string
| Lista _elementów_ (zobacz <<bar_items,elementy>> po więcej informacji).
| filling_left_right | `+horizontal+`, `+vertical+`, `+columns_horizontal+`, `+columns_vertical+` |
Typ wypełnienia paska dla pozycji o pozycji `left` lub `right` (zobacz
| filling_left_right | `+horizontal+`, `+vertical+`, `+columns_horizontal+`, `+columns_vertical+`
| Typ wypełnienia paska dla pozycji o pozycji `left` lub `right` (zobacz
<<bar_filling,wypełnienie>> po więcej informacji).
| filling_top_bottom | `+horizontal+`, `+vertical+`, `+columns_horizontal+`, `+columns_vertical+` |
Typ wypełnienia paska dla pozycji o pozycji `top` lub `bottom` (zobacz
| filling_top_bottom | `+horizontal+`, `+vertical+`, `+columns_horizontal+`, `+columns_vertical+`
| Typ wypełnienia paska dla pozycji o pozycji `top` lub `bottom` (zobacz
<<bar_filling,wypełnienie>> po więcej informacji).
| conditions | string |
Warunki wyświetlania paska (zobacz <<bar_conditions,warunki>> po więcej
| conditions | string
| Warunki wyświetlania paska (zobacz <<bar_conditions,warunki>> po więcej
informacji).
|===
@@ -3939,15 +3939,15 @@ Następujące sygnały są przechwytywane przez wtyczke typing:
|===
| Sygnal | Argumenty | Opis
| typing_set_nick |
Ciąg: wskaźnik bufora + ";" + stan (jeden z: "off", "typing", "paused",
| typing_set_nick
| Ciąg: wskaźnik bufora + ";" + stan (jeden z: "off", "typing", "paused",
"cleared") + ";" + nick. +
Przykład: "0x1234abcd;typing;alice". |
Ustawia stan pisania dla nicka w buforze.
Przykład: "0x1234abcd;typing;alice".
| Ustawia stan pisania dla nicka w buforze.
| typing_reset_buffer |
Wskaźnik: bufor. |
Usuwa status pisania dla nicków w buforze.
| typing_reset_buffer
| Wskaźnik: bufor.
| Usuwa status pisania dla nicków w buforze.
|===
[[typing_options]]
@@ -4293,25 +4293,25 @@ Lista domyśłnych triggerów:
|===
| Nazwa | Hook | Opis
| beep | print |
Powiadamiaj o podświetleniach/prywatnej wiadomości.
| beep | print
| Powiadamiaj o podświetleniach/prywatnej wiadomości.
| cmd_pass | modifier |
Ukrywa hasło w komendach:
| cmd_pass | modifier
| Ukrywa hasło w komendach:
`pass:[/msg nickserv id\|identify\|set password\|ghost\|release\|regain\|recover]`,
`pass:[/oper]`,
`pass:[/quote pass]`,
`pass:[/secure passphrase\|decrypt\|set]`.
| cmd_pass_register | modifier |
Ukrywa hasło w komendzie `pass:[/msg nickserv register]`.
| cmd_pass_register | modifier
| Ukrywa hasło w komendzie `pass:[/msg nickserv register]`.
| msg_auth | modifier |
Ukrywa hasło w wiadomości IRC auth (wiadomość otrzymana od serwera po
| msg_auth | modifier
| Ukrywa hasło w wiadomości IRC auth (wiadomość otrzymana od serwera po
wykonaniu komendy przez użytkownika).
| server_pass | modifier |
Ukrywa hasło serwera w komendach `/server` i `/connect`.
| server_pass | modifier
| Ukrywa hasło serwera w komendach `/server` i `/connect`.
|===
[[trigger_anatomy]]
@@ -4323,37 +4323,37 @@ Trigger posiada następujące opcje (nazwy to `trigger.trigger.<nazwa>.<opcja>`)
|===
| Opcja | Wartość | Opis
| enabled | `on`, `off` |
Kiedy wartość ustawiona jest na `off`, trigger jest wyłączony i akcje nie będą
| enabled | `on`, `off`
| Kiedy wartość ustawiona jest na `off`, trigger jest wyłączony i akcje nie będą
więcej wykonywane.
| hook | `+signal+`, `+hsignal+`, `+modifier+`, `+line+`, `+print+`, `+command+`,
`+command_run+`, `+timer+`, `+config+`, `+focus+`, `+info+`, `+info_hashtable+` |
Zdarzenia używane przez trigger. Więcej informacji można znaleźć w
`+command_run+`, `+timer+`, `+config+`, `+focus+`, `+info+`, `+info_hashtable+`
| Zdarzenia używane przez trigger. Więcej informacji można znaleźć w
link:weechat_plugin_api.en.html#hooks[WeeChat Plugin API Reference / Hooks] (Angielski).
| arguments | string |
Argumenty dla zdarzenia, zależą od jego typu.
| arguments | string
| Argumenty dla zdarzenia, zależą od jego typu.
| conditions | string |
Waruki do wykonania triggera; są one przetwarzane (zobacz komendę
| conditions | string
| Waruki do wykonania triggera; są one przetwarzane (zobacz komendę
<<command_weechat_eval,/eval>>).
| regex | string |
Jedno lub więcej rozszerzonych wyrażeń regularnych POSIX, do zamiany danych
| regex | string
| Jedno lub więcej rozszerzonych wyrażeń regularnych POSIX, do zamiany danych
otrzymanych w odpowiedzi od podpiętego zdarzenia (i trochę rzeczy dodanych
przez wtyczkę trigger) zobacz <<trigger_regex,wyrażenia regularne>>.
| command | string |
Komenda do wykonania (wiele komend należy oddzielić średnikiem); jest to
| command | string
| Komenda do wykonania (wiele komend należy oddzielić średnikiem); jest to
przetwarzane (zobacz komendę <<command_weechat_eval,/eval>>).
| return_code | `+ok+`, `+ok_eat+`, `+error+` |
Kod wiadomości zwrotnej (domyślnie jest to `ok`, które powinno być używane dla
| return_code | `+ok+`, `+ok_eat+`, `+error+`
| Kod wiadomości zwrotnej (domyślnie jest to `ok`, które powinno być używane dla
większości triggerów, pozostałe wartości są sporadycznie używane).
| post_action | `none`, `disable`, `delete` |
Akcja wykonywana na triggerze po jego wykonaniu (domyślna wartość `none` powinna
| post_action | `none`, `disable`, `delete`
| Akcja wykonywana na triggerze po jego wykonaniu (domyślna wartość `none` powinna
być użyta dla wszystkich triggerów, pozostałe wartości są sporadycznie używane).
|===
@@ -4392,105 +4392,105 @@ Argumenty zależą od rodzaju uchwytu. Są oddzielane średnikami.
|===
| Uchwyt | Argumenty | Przykłady | Dokumentacja (API)
| signal |
1. nazwa sygnału (dozwolony priorytet) (wymagane) +
| signal
| 1. nazwa sygnału (dozwolony priorytet) (wymagane) +
2. nazwa sygnału (dozwolony priorytet) +
3. ... |
`+*,irc_in_privmsg+` +
3. ...
| `+*,irc_in_privmsg+` +
`+*,irc_in_privmsg;*,irc_in_notice+` +
`+signal_sigwinch+` |
link:weechat_plugin_api.en.html#_hook_signal[hook_signal] (Angielski)
`+signal_sigwinch+`
| link:weechat_plugin_api.en.html#_hook_signal[hook_signal] (Angielski)
| hsignal |
1. nazwa sygnału (dozwolony priorytet) (wymagane) +
| hsignal
| 1. nazwa sygnału (dozwolony priorytet) (wymagane) +
2. nazwa sygnału (dozwolony priorytet) +
3. ... |
`+nicklist_nick_added+` |
link:weechat_plugin_api.en.html#_hook_hsignal[hook_hsignal] (Angielski)
3. ...
| `+nicklist_nick_added+`
| link:weechat_plugin_api.en.html#_hook_hsignal[hook_hsignal] (Angielski)
| modifier |
1. nazwa modyfikatora (dozwolony priorytet) (wymagane) +
| modifier
| 1. nazwa modyfikatora (dozwolony priorytet) (wymagane) +
2. nazwa modyfikatora (dozwolony priorytet) +
3. ... |
`+weechat_print+` +
`+5000\|input_text_display;5000\|history_add+` |
link:weechat_plugin_api.en.html#_hook_modifier[hook_modifier] (Angielski)
3. ...
| `+weechat_print+` +
`+5000\|input_text_display;5000\|history_add+`
| link:weechat_plugin_api.en.html#_hook_modifier[hook_modifier] (Angielski)
| line |
1. typ bufora +
| line
| 1. typ bufora +
2. nazwa bufora +
3. tagi |
`+formatted+` +
3. tagi
| `+formatted+` +
`+free+` +
`+*;irc.libera.*+` +
`+*;irc.libera.#weechat+` +
`+formatted;irc.libera.#weechat;irc_notice+` |
link:weechat_plugin_api.en.html#_hook_line[hook_line]
`+formatted;irc.libera.#weechat;irc_notice+`
| link:weechat_plugin_api.en.html#_hook_line[hook_line]
| print |
1. nazwa buforu +
| print
| 1. nazwa buforu +
2. tagi +
3. wiadomość +
4. odrzucić kolory (0/1) |
`+irc.libera.*+` +
4. odrzucić kolory (0/1)
| `+irc.libera.*+` +
`+irc.libera.#weechat+` +
`+irc.libera.#weechat;irc_notice+` +
`+*;;;1+` |
link:weechat_plugin_api.en.html#_hook_print[hook_print] (Angielski)
`+*;;;1+`
| link:weechat_plugin_api.en.html#_hook_print[hook_print] (Angielski)
| command |
1. nazwa komendy dozwolony priorytet) (wymagane) +
| command
| 1. nazwa komendy dozwolony priorytet) (wymagane) +
2. opis (przetwarzane, zobacz komendę <<command_weechat_eval,/eval>>) +
3. argumenty (przetwarzane, zobacz komendę <<command_weechat_eval,/eval>>) +
4. opis argumentów (przetwarzane, zobacz komendę <<command_weechat_eval,/eval>>) +
5. dopełnienie (przetwarzane, zobacz komendę <<command_weechat_eval,/eval>>) |
`+test+` +
5. dopełnienie (przetwarzane, zobacz komendę <<command_weechat_eval,/eval>>)
| `+test+` +
`+5000\|test+` +
`+test;test command;arg1 arg2;arg1: description 1${\n}arg2: description 2+` |
link:weechat_plugin_api.en.html#_hook_command[hook_command] (Angielski)
`+test;test command;arg1 arg2;arg1: description 1${\n}arg2: description 2+`
| link:weechat_plugin_api.en.html#_hook_command[hook_command] (Angielski)
| command_run |
1. komenda (dozwolony priorytet) (wymagane) +
| command_run
| 1. komenda (dozwolony priorytet) (wymagane) +
2. komenda (dozwolony priorytet) +
3. ... |
`+/cmd argumenty+` |
link:weechat_plugin_api.en.html#_hook_command_run[hook_command_run] (Angielski)
3. ...
| `+/cmd argumenty+`
| link:weechat_plugin_api.en.html#_hook_command_run[hook_command_run] (Angielski)
| timer |
1. interwał w milisekundach (wymagane) +
| timer
| 1. interwał w milisekundach (wymagane) +
2. wyrównanie na sekundę (domyślnie: 0) +
3. maksymalna ilość wywołań (domyślnie: 0, co oznacza "brak końca") |
`+3600000+` +
`+60000;0;5+` |
link:weechat_plugin_api.en.html#_hook_timer[hook_timer] (Angielski)
3. maksymalna ilość wywołań (domyślnie: 0, co oznacza "brak końca")
| `+3600000+` +
`+60000;0;5+`
| link:weechat_plugin_api.en.html#_hook_timer[hook_timer] (Angielski)
| config |
1. nazwa opcji (dozwolony priorytet) (wymagane) +
| config
| 1. nazwa opcji (dozwolony priorytet) (wymagane) +
2. nazwa opcji (dozwolony priorytet) +
3. ... |
`+weechat.look.*+` |
link:weechat_plugin_api.en.html#_hook_config[hook_config] (Angielski)
3. ...
| `+weechat.look.*+`
| link:weechat_plugin_api.en.html#_hook_config[hook_config] (Angielski)
| focus |
1. nazwa obszaru (dozwolony priorytet) (wymagane) +
| focus
| 1. nazwa obszaru (dozwolony priorytet) (wymagane) +
2. nazwa obszaru (dozwolony priorytet) +
3. ... |
`+buffer_nicklist+` |
link:weechat_plugin_api.en.html#_hook_focus[hook_focus] (Angielski)
3. ...
| `+buffer_nicklist+`
| link:weechat_plugin_api.en.html#_hook_focus[hook_focus] (Angielski)
| info |
1. info name (dozwolony priorytet) (wymagane) +
| info
| 1. info name (dozwolony priorytet) (wymagane) +
2. info name (dozwolony priorytet) +
3. ... |
`+my_info+` |
link:weechat_plugin_api.en.html#_hook_info[hook_info] (Angielski)
3. ...
| `+my_info+`
| link:weechat_plugin_api.en.html#_hook_info[hook_info] (Angielski)
| info_hashtable |
1. info name (dozwolony priorytet) (wymagane) +
| info_hashtable
| 1. info name (dozwolony priorytet) (wymagane) +
2. info name (dozwolony priorytet) +
3. ... |
`+my_info+` |
link:weechat_plugin_api.en.html#_hook_info_hashtable[hook_info_hashtable] (Angielski)
3. ...
| `+my_info+`
| link:weechat_plugin_api.en.html#_hook_info_hashtable[hook_info_hashtable] (Angielski)
|===
[[trigger_conditions]]
+49 -49
View File
@@ -1101,8 +1101,8 @@ Git репозиторијум се налази на следећој URL ад
|===
| Компонента | Фајлови | Опис
| core |
AUTHORS.adoc +
| core
| AUTHORS.adoc +
ChangeLog.adoc +
Contributing.adoc +
.github/FUNDING.yml +
@@ -1114,76 +1114,76 @@ Git репозиторијум се налази на следећој URL ад
src/core/* +
src/gui/* +
version.sh +
weechat.desktop |
WeeChat језгро
weechat.desktop
| WeeChat језгро
| build |
autogen.sh +
| build
| autogen.sh +
CMakeLists.txt +
cmake/* +
configure.ac +
Makefile.am +
tools/* +
weechat.cygport.in +
weechat.spec |
Изградња
weechat.spec
| Изградња
| ci |
.github/workflows/* |
Непрекидна интеграција
| ci
| .github/workflows/*
| Непрекидна интеграција
| debian |
debian-devel/* +
debian-stable/* |
Debian паковање
| debian
| debian-devel/* +
debian-stable/*
| Debian паковање
| tests |
tests/* |
Тестови
| tests
| tests/*
| Тестови
| doc |
doc/* |
Општа ажурирања документације, на пример за изградњу
| doc
| doc/*
| Општа ажурирања документације, на пример за изградњу
| doc/man |
doc/xx/weechat.1.xx.adoc +
doc/xx/weechat-headless.1.xx.adoc |
Man странице
| doc/man
| doc/xx/weechat.1.xx.adoc +
doc/xx/weechat-headless.1.xx.adoc
| Man странице
| doc/faq |
doc/xx/weechat_faq.xx.adoc |
Често постављана питања (ЧПП)
| doc/faq
| doc/xx/weechat_faq.xx.adoc
| Често постављана питања (ЧПП)
| doc/quickstart |
doc/xx/weechat_quickstart.xx.adoc |
Водич за брзи почетак
| doc/quickstart
| doc/xx/weechat_quickstart.xx.adoc
| Водич за брзи почетак
| doc/user |
doc/xx/weechat_user.xx.adoc |
Корисничко упутство
| doc/user
| doc/xx/weechat_user.xx.adoc
| Корисничко упутство
| doc/scripting |
doc/xx/weechat_scripting.xx.adoc |
Водич за скриптовање
| doc/scripting
| doc/xx/weechat_scripting.xx.adoc
| Водич за скриптовање
| doc/api |
doc/xx/weechat_plugin_api.xx.adoc |
Референтни приручник API додатака
| doc/api
| doc/xx/weechat_plugin_api.xx.adoc
| Референтни приручник API додатака
| doc/relay |
doc/xx/weechat_relay_protocol.xx.adoc |
Релеј протокол
| doc/relay
| doc/xx/weechat_relay_protocol.xx.adoc
| Релеј протокол
| doc/dev |
doc/xx/weechat_dev.en.adoc |
Водич за програмере
| doc/dev
| doc/xx/weechat_dev.en.adoc
| Водич за програмере
| irc +
python +
relay +
|
src/plugins/<име>/* |
Додатак
| src/plugins/<име>/*
| Додатак
|===
File diff suppressed because it is too large Load Diff
+42 -42
View File
@@ -1321,68 +1321,68 @@ WeeChat резервисани идентификатори:
[width="100%", cols="5m,5,3,4,7", options="header"]
|===
| Идентификатор | Примљен са _sync_ | Послати подаци |
Опис | Препоручена акција у клијенту
| Идентификатор | Примљен са _sync_ | Послати подаци
| Опис | Препоручена акција у клијенту
| _buffer_opened | buffers / buffer | hdata: buffer |
Бафер је отворен. | Отварање бафера.
| _buffer_opened | buffers / buffer | hdata: buffer
| Бафер је отворен. | Отварање бафера.
| _buffer_type_changed | buffers / buffer | hdata: buffer |
Промењен је тип бафера. | Измена типа бафера.
| _buffer_type_changed | buffers / buffer | hdata: buffer
| Промењен је тип бафера. | Измена типа бафера.
| _buffer_moved | buffers / buffer | hdata: buffer |
Buffer је премештен. | Премештање бафера.
| _buffer_moved | buffers / buffer | hdata: buffer
| Buffer је премештен. | Премештање бафера.
| _buffer_merged | buffers / buffer | hdata: buffer |
Buffer је спојен. | Спајање бафера.
| _buffer_merged | buffers / buffer | hdata: buffer
| Buffer је спојен. | Спајање бафера.
| _buffer_unmerged | buffers / buffer | hdata: buffer |
Бафер је раздвојен. | Раздвајање бафера.
| _buffer_unmerged | buffers / buffer | hdata: buffer
| Бафер је раздвојен. | Раздвајање бафера.
| _buffer_hidden | buffers / buffer | hdata: buffer |
Бафер је сакривен. | Скривање бафера.
| _buffer_hidden | buffers / buffer | hdata: buffer
| Бафер је сакривен. | Скривање бафера.
| _buffer_unhidden | buffers / buffer | hdata: buffer |
Бафер је откривен. | Откривање бафера.
| _buffer_unhidden | buffers / buffer | hdata: buffer
| Бафер је откривен. | Откривање бафера.
| _buffer_renamed | buffers / buffer | hdata: buffer |
Баферу је промењено име. | Промена имена бафера.
| _buffer_renamed | buffers / buffer | hdata: buffer
| Баферу је промењено име. | Промена имена бафера.
| _buffer_title_changed | buffers / buffer | hdata: buffer |
Промењен је наслов бафера. | Промена наслова бафера.
| _buffer_title_changed | buffers / buffer | hdata: buffer
| Промењен је наслов бафера. | Промена наслова бафера.
| _buffer_localvar_added | buffers / buffer | hdata: buffer |
Додата је локална променљива. | Додавање локалне променљиве.
| _buffer_localvar_added | buffers / buffer | hdata: buffer
| Додата је локална променљива. | Додавање локалне променљиве.
| _buffer_localvar_changed | buffers / buffer | hdata: buffer |
Локална променљива је измењена. | Измена локалне променљиве у баферу.
| _buffer_localvar_changed | buffers / buffer | hdata: buffer
| Локална променљива је измењена. | Измена локалне променљиве у баферу.
| _buffer_localvar_removed | buffers / buffer | hdata: buffer |
Уклоњена је локална променљива. | Уклањање локалне променљиве из бафера.
| _buffer_localvar_removed | buffers / buffer | hdata: buffer
| Уклоњена је локална променљива. | Уклањање локалне променљиве из бафера.
| _buffer_closing | buffers / buffer | hdata: buffer |
Бафер је затворен. | Затварање бафера.
| _buffer_closing | buffers / buffer | hdata: buffer
| Бафер је затворен. | Затварање бафера.
| _buffer_cleared | buffer | hdata: buffer |
Бафер је очишћен. | Чишћење бафера.
| _buffer_cleared | buffer | hdata: buffer
| Бафер је очишћен. | Чишћење бафера.
| _buffer_line_added | buffer | hdata: line |
У бафер је додата линија. | Приказ линије у баферу.
| _buffer_line_added | buffer | hdata: line
| У бафер је додата линија. | Приказ линије у баферу.
| _nicklist | nicklist | hdata: nicklist_item |
Листа надимака за бафер. | Замена листе надимака.
| _nicklist | nicklist | hdata: nicklist_item
| Листа надимака за бафер. | Замена листе надимака.
| _nicklist_diff | nicklist | hdata: nicklist_item |
Разлике листе надимака за бафер. | Ажурирање листе надимака.
| _nicklist_diff | nicklist | hdata: nicklist_item
| Разлике листе надимака за бафер. | Ажурирање листе надимака.
| _pong | (always) | стринг: ping аргументи |
Одговор на „ping”. | Мерење времена одговора.
| _pong | (always) | стринг: ping аргументи
| Одговор на „ping”. | Мерење времена одговора.
| _upgrade | upgrade | (празно) |
Програм WeeChat се ажурира. | Десинхронизација са програмом WeeChat (или прекид везе).
| _upgrade | upgrade | (празно)
| Програм WeeChat се ажурира. | Десинхронизација са програмом WeeChat (или прекид везе).
| _upgrade_ended | upgrade | (празно) |
Завршено је ажурирање програма WeeChat. | Синхро/ресинхро са програмом WeeChat.
| _upgrade_ended | upgrade | (празно)
| Завршено је ажурирање програма WeeChat. | Синхро/ресинхро са програмом WeeChat.
|===
[[message_buffer_opened]]
+109 -109
View File
@@ -87,11 +87,11 @@ Python стаб за WeeChat API је соступан у репозиториј
|===
| API фунцкија | Аргументи | Примери | Опис
| hook_modifier |
irc_in_yyy |
pass:[irc_in_privmsg] +
pass:[irc_in_notice] |
Порука која се прими у IRC додатку, пре него што се декодира у UTF-8 (користи
| hook_modifier
| irc_in_yyy
| pass:[irc_in_privmsg] +
pass:[irc_in_notice]
| Порука која се прими у IRC додатку, пре него што се декодира у UTF-8 (користи
се интерно). +
+
Препоручује се да се уместо ње користи модификатор `+irc_in2_yyy+`, примљени
@@ -99,14 +99,14 @@ Python стаб за WeeChat API је соступан у репозиториј
Погледајте функцију `+hook_modifier+` у
link:weechat_plugin_api.sr.html#_hook_modifier[WeeChat референтном приручнику API додатака].
| hook_signal |
xxx,irc_out_yyy +
xxx,irc_outtags_yyy |
pass:[*,irc_out_privmsg] +
| hook_signal
| xxx,irc_out_yyy +
xxx,irc_outtags_yyy
| pass:[*,irc_out_privmsg] +
pass:[*,irc_out_notice] +
pass:[*,irc_outtags_privmsg] +
pass:[*,irc_outtags_notice] |
Порука коју шаље IRC додатак, након што се кодира у `encode` скуп карактера
pass:[*,irc_outtags_notice]
| Порука коју шаље IRC додатак, након што се кодира у `encode` скуп карактера
који је дефинисао корисник (у случају да се разликује од подразумеваног `UTF-8`). +
+
Препоручује се да се уместо њега користи сигнал `+xxx,irc_out1_yyy+`, стринг који
@@ -115,10 +115,10 @@ Python стаб за WeeChat API је соступан у репозиториј
link:weechat_plugin_api.sr.html#_hook_signal[WeeChat референтном приручнику API додатака].
| hook_process +
hook_process_hashtable |
- |
- |
Излаз команде који се шаље функцији повратног позива може да садржи неважеће UTF-8 податке.
hook_process_hashtable
| -
| -
| Излаз команде који се шаље функцији повратног позива може да садржи неважеће UTF-8 податке.
|===
@@ -512,14 +512,14 @@ weechat_hook_timer(1000, 0, 1, $timer_cb, 'test');
|===
| Категорија | Функције
| опште |
register
| опште
| register
| додаци |
plugin_get_name
| додаци
| plugin_get_name
| стрингови |
charset_set +
| стрингови
| charset_set +
iconv_to_internal +
iconv_from_internal +
gettext +
@@ -538,13 +538,13 @@ weechat_hook_timer(1000, 0, 1, $timer_cb, 'test');
string_eval_expression +
string_eval_path_home
| директоријуми |
mkdir_home +
| директоријуми
| mkdir_home +
mkdir +
mkdir_parents
| сортиране листе |
list_new +
| сортиране листе
| list_new +
list_add +
list_search +
list_search_pos +
@@ -560,8 +560,8 @@ weechat_hook_timer(1000, 0, 1, $timer_cb, 'test');
list_remove_all +
list_free
| кофнигурациони фајлови |
config_new +
| кофнигурациони фајлови
| config_new +
config_new_section +
config_search_section +
config_new_option +
@@ -598,12 +598,12 @@ weechat_hook_timer(1000, 0, 1, $timer_cb, 'test');
config_set_desc_plugin +
config_unset_plugin
| тастерске пречице |
key_bind +
| тастерске пречице
| key_bind +
key_unbind
| приказ |
prefix +
| приказ
| prefix +
color +
print (за python: prnt) +
print_date_tags (за python: prnt_date_tags) +
@@ -611,8 +611,8 @@ weechat_hook_timer(1000, 0, 1, $timer_cb, 'test');
print_y_date_tags (за python: prnt_y_date_tags) +
log_print
| куке |
hook_command +
| куке
| hook_command +
hook_command_run +
hook_timer +
hook_fd +
@@ -637,8 +637,8 @@ weechat_hook_timer(1000, 0, 1, $timer_cb, 'test');
unhook +
unhook_all
| бафери |
buffer_new +
| бафери
| buffer_new +
buffer_new_props +
current_buffer +
buffer_search +
@@ -654,16 +654,16 @@ weechat_hook_timer(1000, 0, 1, $timer_cb, 'test');
buffer_string_replace_local_var +
buffer_match_list
| прозори |
current_window +
| прозори
| current_window +
window_search_with_buffer +
window_get_integer +
window_get_string +
window_get_pointer +
window_set_title
| листа надимака |
nicklist_add_group +
| листа надимака
| nicklist_add_group +
nicklist_search_group +
nicklist_add_nick +
nicklist_search_nick +
@@ -679,8 +679,8 @@ weechat_hook_timer(1000, 0, 1, $timer_cb, 'test');
nicklist_nick_get_pointer +
nicklist_nick_set
| траке |
bar_item_search +
| траке
| bar_item_search +
bar_item_new +
bar_item_update +
bar_item_remove +
@@ -690,23 +690,23 @@ weechat_hook_timer(1000, 0, 1, $timer_cb, 'test');
bar_update +
bar_remove
| команде |
command +
| команде
| command +
command_options
| довршавање |
completion_new +
| довршавање
| completion_new +
completion_search +
completion_get_string +
completion_list_add +
completion_free
| infos |
info_get +
| infos
| info_get +
info_get_hashtable
| infolists |
infolist_new +
| infolists
| infolist_new +
infolist_new_item +
infolist_new_var_integer +
infolist_new_var_string +
@@ -724,8 +724,8 @@ weechat_hook_timer(1000, 0, 1, $timer_cb, 'test');
infolist_time +
infolist_free
| hdata |
hdata_get +
| hdata
| hdata_get +
hdata_get_var_offset +
hdata_get_var_type_string +
hdata_get_var_array_size +
@@ -746,8 +746,8 @@ weechat_hook_timer(1000, 0, 1, $timer_cb, 'test');
hdata_update +
hdata_get_string
| ажурирање |
upgrade_new +
| ажурирање
| upgrade_new +
upgrade_write_object +
upgrade_read +
upgrade_close
@@ -762,13 +762,13 @@ weechat_hook_timer(1000, 0, 1, $timer_cb, 'test');
|===
| Категорија | Константе
| повратни кодови |
`WEECHAT_RC_OK` (цео број) +
| повратни кодови
| `WEECHAT_RC_OK` (цео број) +
`WEECHAT_RC_OK_EAT` (цео број) +
`WEECHAT_RC_ERROR` (цео број)
| конфигурациони фајлови |
`WEECHAT_CONFIG_READ_OK` (цео број) +
| конфигурациони фајлови
| `WEECHAT_CONFIG_READ_OK` (цео број) +
`WEECHAT_CONFIG_READ_MEMORY_ERROR` (цео број) +
`WEECHAT_CONFIG_READ_FILE_NOT_FOUND` (цео број) +
`WEECHAT_CONFIG_WRITE_OK` (цео број) +
@@ -783,23 +783,23 @@ weechat_hook_timer(1000, 0, 1, $timer_cb, 'test');
`WEECHAT_CONFIG_OPTION_UNSET_OK_REMOVED` (цео број) +
`WEECHAT_CONFIG_OPTION_UNSET_ERROR` (цео број)
| сортиране листе |
`WEECHAT_LIST_POS_SORT` (стринг) +
| сортиране листе
| `WEECHAT_LIST_POS_SORT` (стринг) +
`WEECHAT_LIST_POS_BEGINNING` (стринг) +
`WEECHAT_LIST_POS_END` (стринг)
| врућа листа |
`WEECHAT_HOTLIST_LOW` (стринг) +
| врућа листа
| `WEECHAT_HOTLIST_LOW` (стринг) +
`WEECHAT_HOTLIST_MESSAGE` (стринг) +
`WEECHAT_HOTLIST_PRIVATE` (стринг) +
`WEECHAT_HOTLIST_HIGHLIGHT` (стринг)
| кука process |
`WEECHAT_HOOK_PROCESS_RUNNING` (цео број) +
| кука process
| `WEECHAT_HOOK_PROCESS_RUNNING` (цео број) +
`WEECHAT_HOOK_PROCESS_ERROR` (цео број)
| кука connect |
`WEECHAT_HOOK_CONNECT_OK` (цео број) +
| кука connect
| `WEECHAT_HOOK_CONNECT_OK` (цео број) +
`WEECHAT_HOOK_CONNECT_ADDRESS_NOT_FOUND` (цео број) +
`WEECHAT_HOOK_CONNECT_IP_ADDRESS_NOT_FOUND` (цео број) +
`WEECHAT_HOOK_CONNECT_CONNECTION_REFUSED` (цео број) +
@@ -811,8 +811,8 @@ weechat_hook_timer(1000, 0, 1, $timer_cb, 'test');
`WEECHAT_HOOK_CONNECT_TIMEOUT` (цео број) +
`WEECHAT_HOOK_CONNECT_SOCKET_ERROR` (цео број)
| кука signal |
`WEECHAT_HOOK_SIGNAL_STRING` (стринг) +
| кука signal
| `WEECHAT_HOOK_SIGNAL_STRING` (стринг) +
`WEECHAT_HOOK_SIGNAL_INT` (стринг) +
`WEECHAT_HOOK_SIGNAL_POINTER` (стринг)
|===
@@ -1243,61 +1243,61 @@ IRC поруку можете да парсирате са info_hashtable под
|===
| Кључ | Од WeeChat ^(1)^ | Опис | Пример
| tags | 0.4.0 |
Ознаке у поруци (може бити празно). |
`+time=2015-06-27T16:40:35.000Z+`
| tags | 0.4.0
| Ознаке у поруци (може бити празно).
| `+time=2015-06-27T16:40:35.000Z+`
| tag_xxx | 3.3 |
Неозначена вредност ознаке "xxx" (један кључ по ознаци). |
`+2015-06-27T16:40:35.000Z+`
| tag_xxx | 3.3
| Неозначена вредност ознаке "xxx" (један кључ по ознаци).
| `+2015-06-27T16:40:35.000Z+`
| message_without_tags | 0.4.0 |
Порука без ознака (иста као оригинална ако нема ознака у њој). |
`+:nick!user@host PRIVMSG #weechat :здраво!+`
| message_without_tags | 0.4.0
| Порука без ознака (иста као оригинална ако нема ознака у њој).
| `+:nick!user@host PRIVMSG #weechat :здраво!+`
| nick | 0.3.4 |
Надимак порекла. |
`+nick+`
| nick | 0.3.4
| Надимак порекла.
| `+nick+`
| user | 2.7 |
Корисник порекла. |
`+user+`
| user | 2.7
| Корисник порекла.
| `+user+`
| host | 0.3.4 |
Хост порекла (укључујући и надимак). |
`+nick!user@host+`
| host | 0.3.4
| Хост порекла (укључујући и надимак).
| `+nick!user@host+`
| command | 0.3.4 |
Команда (_PRIVMSG_, _NOTICE_, ...). |
`+PRIVMSG+`
| command | 0.3.4
| Команда (_PRIVMSG_, _NOTICE_, ...).
| `+PRIVMSG+`
| channel | 0.3.4 |
Циљни канал. |
`+#weechat+`
| channel | 0.3.4
| Циљни канал.
| `+#weechat+`
| arguments | 0.3.4 |
Аргументи команде (укључујући и канал). |
`+#weechat :здраво!+`
| arguments | 0.3.4
| Аргументи команде (укључујући и канал).
| `+#weechat :здраво!+`
| text | 1.3 |
Текст (на пример, корисникова порука). |
`+здраво!+`
| text | 1.3
| Текст (на пример, корисникова порука).
| `+здраво!+`
| pos_command | 1.3 |
Индекс _command_ у поруци („-1” ако се _command_ не пронађе). |
`+47+`
| pos_command | 1.3
| Индекс _command_ у поруци („-1” ако се _command_ не пронађе).
| `+47+`
| pos_arguments | 1.3 |
Индекс _arguments_ у поруци („-1” ако се _arguments_ не пронађе). |
`+55+`
| pos_arguments | 1.3
| Индекс _arguments_ у поруци („-1” ако се _arguments_ не пронађе).
| `+55+`
| pos_channel | 1.3 |
Индекс _channel_ у поруци („-1” ако се _channel_ не пронађе). |
`+55+`
| pos_channel | 1.3
| Индекс _channel_ у поруци („-1” ако се _channel_ не пронађе).
| `+55+`
| pos_text | 1.3 |
Индекс _text_ у поруци („-1” ако се _text_ не пронађе). |
`+65+`
| pos_text | 1.3
| Индекс _text_ у поруци („-1” ако се _text_ не пронађе).
| `+65+`
|===
[NOTE]
+219 -219
View File
@@ -184,116 +184,116 @@ $ make install
|===
| Опција | Вредности | Подразумевана вредност | Опис
| CMAKE_BUILD_TYPE | `Debug`, `Release`, `RelWithDebInfo`, `MinSizeRel` | |
Тип изградње: `Debug` (или `RelWithDebInfo`) се препоручује ако покрећете
| CMAKE_BUILD_TYPE | `Debug`, `Release`, `RelWithDebInfo`, `MinSizeRel` |
| Тип изградње: `Debug` (или `RelWithDebInfo`) се препоручује ако покрећете
развојну верзију програма WeeChat.
| CMAKE_INSTALL_PREFIX | директоријум | /usr/local |
Директоријум у који ће се инсталирати програм WeeChat.
| CMAKE_INSTALL_PREFIX | директоријум | /usr/local
| Директоријум у који ће се инсталирати програм WeeChat.
| WEECHAT_HOME | директоријум | (празан стринг) |
Подразумевани почетни директоријум када се извршава програм WeeChat. +
| WEECHAT_HOME | директоријум | (празан стринг)
| Подразумевани почетни директоријум када се извршава програм WeeChat. +
Са празном вредности (подразумевано), подразумевано се користе XDG директоријуми.
Ако није празна, за све фајлове се користи један директоријум.
Вредност такође може да буде и 4 директоријума раздвојена са две тачке, у следећем редоследу:
config, data, cache, runtime.
| ENABLE_ALIAS | `ON`, `OFF` | ON |
Компајлира <<command_aliases,Alias додатак>>.
| ENABLE_ALIAS | `ON`, `OFF` | ON
| Компајлира <<command_aliases,Alias додатак>>.
| ENABLE_BUFLIST | `ON`, `OFF` | ON |
Компајлира <<buflist,Buflist додатак>>.
| ENABLE_BUFLIST | `ON`, `OFF` | ON
| Компајлира <<buflist,Buflist додатак>>.
| ENABLE_CHARSET | `ON`, `OFF` | ON |
Компајлира <<charset,Charset додатак>>.
| ENABLE_CHARSET | `ON`, `OFF` | ON
| Компајлира <<charset,Charset додатак>>.
| ENABLE_MAN | `ON`, `OFF` | OFF |
Изграђује man страницу.
| ENABLE_MAN | `ON`, `OFF` | OFF
| Изграђује man страницу.
| ENABLE_DOC | `ON`, `OFF` | OFF |
Изграђује HTML документацију.
| ENABLE_DOC | `ON`, `OFF` | OFF
| Изграђује HTML документацију.
| ENABLE_ENCHANT | `ON`, `OFF` | OFF |
Компајлира <<spell_checking,Spell додатак>> са Enchant.
| ENABLE_ENCHANT | `ON`, `OFF` | OFF
| Компајлира <<spell_checking,Spell додатак>> са Enchant.
| ENABLE_EXEC | `ON`, `OFF` | ON |
Компајлира <<external_commands,Exec додатак>>.
| ENABLE_EXEC | `ON`, `OFF` | ON
| Компајлира <<external_commands,Exec додатак>>.
| ENABLE_FIFO | `ON`, `OFF` | ON |
Компајлира <<fifo_pipe,Fifo додатак>>.
| ENABLE_FIFO | `ON`, `OFF` | ON
| Компајлира <<fifo_pipe,Fifo додатак>>.
| ENABLE_FSET | `ON`, `OFF` | ON |
Компајлира <<fset,Fset додатак>>.
| ENABLE_FSET | `ON`, `OFF` | ON
| Компајлира <<fset,Fset додатак>>.
| ENABLE_GUILE | `ON`, `OFF` | ON |
Компајлира <<scripting_plugins,Guile додатак>> (Scheme).
| ENABLE_GUILE | `ON`, `OFF` | ON
| Компајлира <<scripting_plugins,Guile додатак>> (Scheme).
| ENABLE_IRC | `ON`, `OFF` | ON |
Компајлира <<irc,IRC додатак>>.
| ENABLE_IRC | `ON`, `OFF` | ON
| Компајлира <<irc,IRC додатак>>.
| ENABLE_JAVASCRIPT | `ON`, `OFF` | OFF |
Компајлира <<scripting_plugins,JavaScript додатак>>.
| ENABLE_JAVASCRIPT | `ON`, `OFF` | OFF
| Компајлира <<scripting_plugins,JavaScript додатак>>.
| ENABLE_LARGEFILE | `ON`, `OFF` | ON |
Подршка за велике фајлове.
| ENABLE_LARGEFILE | `ON`, `OFF` | ON
| Подршка за велике фајлове.
| ENABLE_LOGGER | `ON`, `OFF` | ON |
Компајлира <<buffer_logging,Logger додатак>>.
| ENABLE_LOGGER | `ON`, `OFF` | ON
| Компајлира <<buffer_logging,Logger додатак>>.
| ENABLE_LUA | `ON`, `OFF` | ON |
Компајлира <<scripting_plugins,Lua додатак>>.
| ENABLE_LUA | `ON`, `OFF` | ON
| Компајлира <<scripting_plugins,Lua додатак>>.
| ENABLE_NCURSES | `ON`, `OFF` | ON |
Компајлира Ncurses интерфејс.
| ENABLE_NCURSES | `ON`, `OFF` | ON
| Компајлира Ncurses интерфејс.
| ENABLE_NLS | `ON`, `OFF` | ON |
Укључује NLS (преводе).
| ENABLE_NLS | `ON`, `OFF` | ON
| Укључује NLS (преводе).
| ENABLE_PERL | `ON`, `OFF` | ON |
Компајлира <<scripting_plugins,Perl додатак>>.
| ENABLE_PERL | `ON`, `OFF` | ON
| Компајлира <<scripting_plugins,Perl додатак>>.
| ENABLE_PHP | `ON`, `OFF` | ON |
Компајлира <<scripting_plugins,PHP додатак>>.
| ENABLE_PHP | `ON`, `OFF` | ON
| Компајлира <<scripting_plugins,PHP додатак>>.
| ENABLE_PYTHON | `ON`, `OFF` | ON |
Компајлира <<scripting_plugins,Python додатак>>.
| ENABLE_PYTHON | `ON`, `OFF` | ON
| Компајлира <<scripting_plugins,Python додатак>>.
| ENABLE_PYTHON2 | `ON`, `OFF` | OFF |
Компајлира <<scripting_plugins,Python додатак>> користећи Python 2 уместо Python 3.
| ENABLE_PYTHON2 | `ON`, `OFF` | OFF
| Компајлира <<scripting_plugins,Python додатак>> користећи Python 2 уместо Python 3.
| ENABLE_RELAY | `ON`, `OFF` | ON |
Компајлира <<relay,Relay додатак>>.
| ENABLE_RELAY | `ON`, `OFF` | ON
| Компајлира <<relay,Relay додатак>>.
| ENABLE_RUBY | `ON`, `OFF` | ON |
Компајлира <<scripting_plugins,Ruby додатак>>.
| ENABLE_RUBY | `ON`, `OFF` | ON
| Компајлира <<scripting_plugins,Ruby додатак>>.
| ENABLE_SCRIPT | `ON`, `OFF` | ON |
Компајлира <<script_manager,Script додатак>>.
| ENABLE_SCRIPT | `ON`, `OFF` | ON
| Компајлира <<script_manager,Script додатак>>.
| ENABLE_SCRIPTS | `ON`, `OFF` | ON |
Компајлира <<scripting_plugins,script додатке>> (Python, Perl, Ruby, Lua, Tcl,
| ENABLE_SCRIPTS | `ON`, `OFF` | ON
| Компајлира <<scripting_plugins,script додатке>> (Python, Perl, Ruby, Lua, Tcl,
Guile, JavaScript, PHP).
| ENABLE_SPELL | `ON`, `OFF` | ON |
Компајлира <<spell_checking,Spell додатак>>.
| ENABLE_SPELL | `ON`, `OFF` | ON
| Компајлира <<spell_checking,Spell додатак>>.
| ENABLE_TCL | `ON`, `OFF` | ON |
Компајлира <<scripting_plugins,Tcl додатак>>.
| ENABLE_TCL | `ON`, `OFF` | ON
| Компајлира <<scripting_plugins,Tcl додатак>>.
| ENABLE_TRIGGER | `ON`, `OFF` | ON |
Компајлира <<trigger,Trigger додатак>>.
| ENABLE_TRIGGER | `ON`, `OFF` | ON
| Компајлира <<trigger,Trigger додатак>>.
| ENABLE_TYPING | `ON`, `OFF` | ON |
Компајлира <<typing_notifications,Typing додатак>>.
| ENABLE_TYPING | `ON`, `OFF` | ON
| Компајлира <<typing_notifications,Typing додатак>>.
| ENABLE_XFER | `ON`, `OFF` | ON |
Компајлира <<xfer,Xfer додатак>>.
| ENABLE_XFER | `ON`, `OFF` | ON
| Компајлира <<xfer,Xfer додатак>>.
| ENABLE_TESTS | `ON`, `OFF` | OFF |
Компајлира тестове.
| ENABLE_TESTS | `ON`, `OFF` | OFF
| Компајлира тестове.
| ENABLE_CODE_COVERAGE | `ON`, `OFF` | OFF |
Компајлира са опцијама за покривеност кода. +
| ENABLE_CODE_COVERAGE | `ON`, `OFF` | OFF
| Компајлира са опцијама за покривеност кода. +
Ова опција би требало да се се користи само за тестирање, да се измери покривеност теста.
|===
@@ -1236,87 +1236,87 @@ _прозор_ је површина екрана која приказује б
|===
| Име | Вредност | Опис
| away |
било који стринг |
Порука о одсутности на серверу, поставља је irc додатак.
| away
| било који стринг
| Порука о одсутности на серверу, поставља је irc додатак.
| channel |
било који стринг |
Име канала, постављају је irc/xfer додаци и дибаг бафер релеј/окидач додатака.
| channel
| било који стринг
| Име канала, постављају је irc/xfer додаци и дибаг бафер релеј/окидач додатака.
| charset_modifier |
било који стринг |
Модификатор скупа карактера за серверски бафер, поставља је irc додатак.
| charset_modifier
| било који стринг
| Модификатор скупа карактера за серверски бафер, поставља је irc додатак.
| completion_default_template |
било који стринг |
Подразумевани шаблон за довршавање у баферу, премошћава опцију
| completion_default_template
| било који стринг
| Подразумевани шаблон за довршавање у баферу, премошћава опцију
`weechat.completion.default_template`.
| filter |
било који стринг |
Филтер дефинисан за неке бафере, као што су `/fset`, `/server raw` (irc) и `/script`.
| filter
| било који стринг
| Филтер дефинисан за неке бафере, као што су `/fset`, `/server raw` (irc) и `/script`.
| host |
било који стринг |
Име вашег хоста (ако је познато), поставља је irc додатак.
| host
| било који стринг
| Име вашег хоста (ако је познато), поставља је irc додатак.
| lag |
било који стринг |
Кашњење у комуникацији са сервером, поставља је irc додатак.
| lag
| било који стринг
| Кашњење у комуникацији са сервером, поставља је irc додатак.
| name |
било који стринг |
Име бафера (пазите, ово није пуно име и није довољно за идентификацију
| name
| било који стринг
| Име бафера (пазите, ово није пуно име и није довољно за идентификацију
или претрагу бафера).
| nick |
било који стринг |
Ваш надимак, постављају је irc и xfer додаци.
| nick
| било који стринг
| Ваш надимак, постављају је irc и xfer додаци.
| no_log |
`1` (или неки непразни стринг) |
Ако је постављена, logger додатак уопште не логује овај бафер.
| no_log
| `1` (или неки непразни стринг)
| Ако је постављена, logger додатак уопште не логује овај бафер.
| plugin |
било који стринг |
Име додатка који је креирао бафер (`core` за WeeChat бафере).
| plugin
| било који стринг
| Име додатка који је креирао бафер (`core` за WeeChat бафере).
| script_close_cb |
било који стринг |
Функција повратног позива за затварање бафера коју је дефинисала скрипта.
| script_close_cb
| било који стринг
| Функција повратног позива за затварање бафера коју је дефинисала скрипта.
| script_close_cb_data |
било који стринг |
Подаци за функцију повратног позива затварања бафера коју је дефинисала скрипта.
| script_close_cb_data
| било који стринг
| Подаци за функцију повратног позива затварања бафера коју је дефинисала скрипта.
| script_input_cb |
било који стринг |
Функција повратног позива за унос у бафер коју је дефинисала скрипта.
| script_input_cb
| било који стринг
| Функција повратног позива за унос у бафер коју је дефинисала скрипта.
| script_input_cb_data |
било који стринг |
Подаци за функцију повратног позива за унос у бафер коју је дефинисала скрипта.
| script_input_cb_data
| било који стринг
| Подаци за функцију повратног позива за унос у бафер коју је дефинисала скрипта.
| script_name |
било који стринг |
Име скрипте која је креирала бафер.
| script_name
| било који стринг
| Име скрипте која је креирала бафер.
| server |
било који стринг |
Име сервера, поставља је irc додатак и дибаг бафер релеј/окидач додатака.
| server
| било који стринг
| Име сервера, поставља је irc додатак и дибаг бафер релеј/окидач додатака.
| spell_suggest |
било који стринг |
Неисправно написана реч и предлози (формат: „неисправна:предлози”), поставља
| spell_suggest
| било који стринг
| Неисправно написана реч и предлози (формат: „неисправна:предлози”), поставља
је spell додатак.
| trigger_filter |
било који стринг |
Филтер окидача, поставља је окидач додатак.
| trigger_filter
| било који стринг
| Филтер окидача, поставља је окидач додатак.
| type |
било који стринг, на пример:
| type
| било који стринг, на пример:
`channel`,
`debug`,
`exec`,
@@ -1326,8 +1326,8 @@ _прозор_ је површина екрана која приказује б
`script`,
`server`,
`user`,
`xfer` |
Тип бафера, поставља је програм WeeChat и многи додаци.
`xfer`
| Тип бафера, поставља је програм WeeChat и многи додаци.
|===
@@ -2465,65 +2465,65 @@ _трака_ је површина уз разговор која може да
|===
| Опција | Вредности | Опис
| type | `root`, `window` |
Трака типа `root` се приказује тачно једном на екрану, ван свих прозора.
| type | `root`, `window`
| Трака типа `root` се приказује тачно једном на екрану, ван свих прозора.
Тип подразумеване траке _buflist_ је `root`. +
Трака са типом `window` се приказује у сваком прозору, на пример ако поделите
једном екран (са `/window splith` или `/window splitv`), имаћете
једну траку у сваком прозору. Подразумеване траке _title_, _status_,
_input_ и _nicklist_ су типа `window`.
| position | `top`, `bottom`, `left`, `right` |
Позиција траке: изнад/испод разговора, са леве/десне стране.
| position | `top`, `bottom`, `left`, `right`
| Позиција траке: изнад/испод разговора, са леве/десне стране.
| priority | цео број ≥ 0 |
Приоритет за приказ траке: ово се користи за ређање трака на екрану када
| priority | цео број ≥ 0
| Приоритет за приказ траке: ово се користи за ређање трака на екрану када
више трака имају исти тип и исту позицију. +
Траке се приказују од ивице екрана према центру. Виши приоритет значи да
ће се трака приказивати на почетку, дакле, ближе ивици. +
Пример: _input_ трака има приоритет 1000, тако да се приказује испред _status_
траке, која има приоритет 500.
| size | цео број ≥ 0 |
Величина траке: број колона за позицију left/right, број линија за
| size | цео број ≥ 0
| Величина траке: број колона за позицију left/right, број линија за
позицију top/bottom. Величина `0` значи аутоматски, тако да ће се
величина израчунати у зависности од садржаја који се приказује у траци.
| size_max | цео број ≥ 0 |
Максимална величина траке, `0` = нема ограничења (ова опција се користи
| size_max | цео број ≥ 0
| Максимална величина траке, `0` = нема ограничења (ова опција се користи
само ако је `size` = `0`).
| color_bg | боја |
Подразумевана боја позадине траке.
| color_bg | боја
| Подразумевана боја позадине траке.
| color_fg | боја |
Подразумевана боја текста у траци.
| color_fg | боја
| Подразумевана боја текста у траци.
| color_delim | боја |
Боја граничника у траци.
| color_delim | боја
| Боја граничника у траци.
| hidden | `on`, `off` |
Када је ова опција `on`, трака је скривена. +
| hidden | `on`, `off`
| Када је ова опција `on`, трака је скривена. +
Напомена: уместо да мењате ову опцију, боље је да користите команду `/bar`,
на пример: `/bar toggle nicklist` (погледајте команду <<command_weechat_bar,/bar>>).
| separator | `on`, `off` |
Када је ова опција `on`, између ове траке и осталих (или разговора) се
| separator | `on`, `off`
| Када је ова опција `on`, између ове траке и осталих (или разговора) се
приказује граничник (линија).
| items | стринг |
Листа _items_ (погледајте <<bar_items,ставке>> за више информација).
| items | стринг
| Листа _items_ (погледајте <<bar_items,ставке>> за више информација).
| filling_left_right | `+horizontal+`, `+vertical+`, `+columns_horizontal+`, `+columns_vertical+` |
Тип испуне за траку која има позицију `left` или `right` (погледајте
| filling_left_right | `+horizontal+`, `+vertical+`, `+columns_horizontal+`, `+columns_vertical+`
| Тип испуне за траку која има позицију `left` или `right` (погледајте
<<bar_filling,испуну>> за више информација).
| filling_top_bottom | `+horizontal+`, `+vertical+`, `+columns_horizontal+`, `+columns_vertical+` |
Тип испуне за траку која има позицију `top` или `bottom` (погледајте
| filling_top_bottom | `+horizontal+`, `+vertical+`, `+columns_horizontal+`, `+columns_vertical+`
| Тип испуне за траку која има позицију `top` или `bottom` (погледајте
<<bar_filling,испуну>> за више информација).
| conditions | стринг |
Услови под којима се трака приказује (погледајте <<bar_conditions,услове>> за
| conditions | стринг
| Услови под којима се трака приказује (погледајте <<bar_conditions,услове>> за
више информација).
|===
@@ -3659,15 +3659,15 @@ Typing додатак хвата следеће сигнале:
|===
| Сигнал | Аргументи | Опис
| typing_set_nick |
Стринг: показивач на бафер + ";" + стање (једнос од: "off", "typing", "paused",
| typing_set_nick
| Стринг: показивач на бафер + ";" + стање (једнос од: "off", "typing", "paused",
"cleared") + ";" + надимак. +
Пример: "0x1234abcd;typing;alice". |
Поставља стање куцања за надимак у баферу.
Пример: "0x1234abcd;typing;alice".
| Поставља стање куцања за надимак у баферу.
| typing_reset_buffer |
Показивач: бафер. |
Уклања стање куцања за све надимке у баферу.
| typing_reset_buffer
| Показивач: бафер.
| Уклања стање куцања за све надимке у баферу.
|===
[[typing_options]]
@@ -3970,25 +3970,25 @@ include::includes/autogen_user_options.sr.adoc[tag=fifo_options]
|===
| Име | Кука | Опис
| beep | испис |
Звучни сигнал у случају истакнуте/приватне поруке.
| beep | испис
| Звучни сигнал у случају истакнуте/приватне поруке.
| cmd_pass | модификатор |
Сакрива лозинку у командама:
| cmd_pass | модификатор
| Сакрива лозинку у командама:
`pass:[/msg nickserv id\|identify\|set password\|ghost\|release\|regain\|recover]`,
`pass:[/oper]`,
`pass:[/quote pass]`,
`pass:[/secure passphrase\|decrypt\|set]`.
| cmd_pass_register | модификатор |
Сакрива лозинку у команди `pass:[/msg nickserv register]`.
| cmd_pass_register | модификатор
| Сакрива лозинку у команди `pass:[/msg nickserv register]`.
| msg_auth | модификатор |
Сакрива лозинку у IRC auth поруци која се приказује (порука која се прими од
| msg_auth | модификатор
| Сакрива лозинку у IRC auth поруци која се приказује (порука која се прими од
сервера након што корисник зада команду).
| server_pass | модификатор |
Сакрива лозинку сервера у командама `/server` и `/connect`.
| server_pass | модификатор
| Сакрива лозинку сервера у командама `/server` и `/connect`.
|===
[[trigger_anatomy]]
@@ -4000,36 +4000,36 @@ include::includes/autogen_user_options.sr.adoc[tag=fifo_options]
|===
| Опција | Вредности | Опис
| enabled | `on`, `off` |
Када је опција `off`, окидач је искључен и акције се више не изводе.
| enabled | `on`, `off`
| Када је опција `off`, окидач је искључен и акције се више не изводе.
| hook | `+signal+`, `+hsignal+`, `+modifier+`, `+line+`, `+print+`, `+command+`,
`+command_run+`, `+timer+`, `+config+`, `+focus+`, `+info+`, `+info_hashtable+` |
Кука која се користи у окидачу. За више информација, погледајте
`+command_run+`, `+timer+`, `+config+`, `+focus+`, `+info+`, `+info_hashtable+`
| Кука која се користи у окидачу. За више информација, погледајте
link:weechat_plugin_api.sr.html#hooks[WeeChat референтни приручник API додатака / Куке].
| arguments | стринг |
Аргументи за куку, зависе од врсте куке која се користи.
| arguments | стринг
| Аргументи за куку, зависе од врсте куке која се користи.
| conditions | стринг |
Услови под којима се окидач извршава; они се израчунавају (погледајте команду
| conditions | стринг
| Услови под којима се окидач извршава; они се израчунавају (погледајте команду
<<command_weechat_eval,/eval>>).
| regex | стринг |
Један или више POSIX проширених регуларних израза за измену примљених података у
| regex | стринг
| Један или више POSIX проширених регуларних израза за измену примљених података у
функцији повратног позива куке (и још понешто што додаје окидач додатак), погледајте
<<trigger_regex,регуларни израз>>.
| command | стринг |
Команда која треба да се изврши (више команди може да се раздвоји тачка запетама);
| command | стринг
| Команда која треба да се изврши (више команди може да се раздвоји тачка запетама);
стринг се израчунава (погледајте команду <<command_weechat_eval,/eval>>).
| return_code | `+ok+`, `+ok_eat+`, `+error+` |
Повратни кôд функције повратног позива (подразумевани је `ok`, што би и требало
| return_code | `+ok+`, `+ok_eat+`, `+error+`
| Повратни кôд функције повратног позива (подразумевани је `ok`, што би и требало
да се користи у скоро свим окидачима, остале вредности се ретко користе).
| post_action | `none`, `disable`, `delete` |
Акција која се врши над окидачем након његовог извршавања (подразумевано је `none`
| post_action | `none`, `disable`, `delete`
| Акција која се врши над окидачем након његовог извршавања (подразумевано је `none`
што би требало да се користи у скоро свим окидачима, остале вредности се ретко користе).
|===
@@ -4066,8 +4066,8 @@ trigger.trigger.beep.post_action = none
|===
| Кука | Аргументи | Примери | Документација (API)
| signal |
1. име сигнала (дозвољава се приоритет) (обавезан) +
| signal
| 1. име сигнала (дозвољава се приоритет) (обавезан) +
2. име сигнала (дозвољава се приоритет) +
3. ... |
`+*,irc_in_privmsg+` +
@@ -4075,23 +4075,23 @@ trigger.trigger.beep.post_action = none
`+signal_sigwinch+` |
link:weechat_plugin_api.sr.html#_hook_signal[hook_signal]
| hsignal |
1. име сигнала (дозвољава се приоритет) (обавезан) +
| hsignal
| 1. име сигнала (дозвољава се приоритет) (обавезан) +
2. име сигнала (дозвољава се приоритет) +
3. ... |
`+nicklist_nick_added+` |
link:weechat_plugin_api.sr.html#_hook_hsignal[hook_hsignal]
| modifier |
1. име модификатора (дозвољава се приоритет) (обавезан) +
| modifier
| 1. име модификатора (дозвољава се приоритет) (обавезан) +
2. име мофидикатора (дозвољава се приоритет) +
3. ... |
`+weechat_print+` +
`+5000\|input_text_display;5000\|history_add+` |
link:weechat_plugin_api.sr.html#_hook_modifier[hook_modifier]
| line |
1. тип бафера +
| line
| 1. тип бафера +
2. име бафера +
3. ознаке |
`+formatted+` +
@@ -4101,8 +4101,8 @@ link:weechat_plugin_api.sr.html#_hook_modifier[hook_modifier]
`+formatted;irc.libera.#weechat;irc_notice+` |
link:weechat_plugin_api.sr.html#_hook_line[hook_line]
| print |
1. име бафера +
| print
| 1. име бафера +
2. ознаке +
3. порука +
4. уклањање боја (0/1) |
@@ -4112,8 +4112,8 @@ link:weechat_plugin_api.sr.html#_hook_line[hook_line]
`+*;;;1+` |
link:weechat_plugin_api.sr.html#_hook_print[hook_print]
| command |
1. име команде (дозвољава се приоритет) (обавезан) +
| command
| 1. име команде (дозвољава се приоритет) (обавезан) +
2. опис (израчунава се, погледајте команду <<command_weechat_eval,/eval>>) +
3. аргументи (израчунава се, погледајте команду <<command_weechat_eval,/eval>>) +
4. опис аргумената (израчунава се, погледајте команду <<command_weechat_eval,/eval>>) +
@@ -4123,48 +4123,48 @@ link:weechat_plugin_api.sr.html#_hook_print[hook_print]
`+test;test command;arg1 arg2;arg1: description 1${\n}arg2: description 2+` |
link:weechat_plugin_api.sr.html#_hook_command[hook_command]
| command_run |
1. команда (дозвољава се приоритет) (обавезан) +
| command_run
| 1. команда (дозвољава се приоритет) (обавезан) +
2. команда (дозвољава се приоритет) +
3. ... |
`+/cmd arguments+` |
link:weechat_plugin_api.sr.html#_hook_command_run[hook_command_run]
| timer |
1. интервал у милисекундама (обавезан) +
| timer
| 1. интервал у милисекундама (обавезан) +
2. поравнање на секунду (подразумевано: 0) +
3. макс број позива (подразумевано: 0, што значи „нема краја”) |
`+3600000+` +
`+60000;0;5+` |
link:weechat_plugin_api.sr.html#_hook_timer[hook_timer]
| config |
1. име опције (дозвољава се приоритет) (обавезан) +
| config
| 1. име опције (дозвољава се приоритет) (обавезан) +
2. име опције (дозвољава се приоритет) +
3. ... |
`+weechat.look.*+` |
link:weechat_plugin_api.sr.html#_hook_config[hook_config]
| focus |
1. име површине (дозвољава се приоритет) (обавезан) +
| focus
| 1. име површине (дозвољава се приоритет) (обавезан) +
2. име површине (дозвољава се приоритет) +
3. ... |
`+buffer_nicklist+` |
link:weechat_plugin_api.sr.html#_hook_focus[hook_focus]
| info |
1. инфо име (дозвољава се приоритет) (обавезан) +
| info
| 1. инфо име (дозвољава се приоритет) (обавезан) +
2. инфо име (дозвољава се приоритет) +
3. ... |
`+my_info+` |
link:weechat_plugin_api.sr.html#_hook_info[hook_info]
| info_hashtable |
1. инфо име (дозвољава се приоритет) (обавезан) +
| info_hashtable
| 1. инфо име (дозвољава се приоритет) (обавезан) +
2. инфо име (дозвољава се приоритет) +
3. ... |
`+my_info+` |
link:weechat_plugin_api.sr.html#_hook_info_hashtable[hook_info_hashtable]
3. ...
| `+my_info+`
| link:weechat_plugin_api.sr.html#_hook_info_hashtable[hook_info_hashtable]
|===
[[trigger_conditions]]