1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-25 12:26:40 +02:00

doc: add section "Script manager" (user's guide)

This commit is contained in:
Sébastien Helleu
2021-12-05 20:56:35 +01:00
parent 1c0d8f5fd3
commit fd017ce474
7 changed files with 864 additions and 471 deletions
+125 -68
View File
@@ -234,13 +234,13 @@ Liste von häufig verwendeten Optionen:
kompiliert <<fset,Fset Erweiterung>>.
| ENABLE_GUILE | `ON`, `OFF` | ON |
kompiliert <<scripts_plugins,Guile Erweiterung>> (Scheme).
kompiliert <<scripting_plugins,Guile Erweiterung>> (Scheme).
| ENABLE_IRC | `ON`, `OFF` | ON |
kompiliert <<irc,IRC Erweiterung>>.
| ENABLE_JAVASCRIPT | `ON`, `OFF` | OFF |
kompiliert <<scripts_plugins,JavaScript Erweiterung>>.
kompiliert <<scripting_plugins,JavaScript Erweiterung>>.
| ENABLE_LARGEFILE | `ON`, `OFF` | ON |
Unterstützung großer Dateien.
@@ -249,7 +249,7 @@ Liste von häufig verwendeten Optionen:
kompiliert <<buffer_logging,Logger Erweiterung>>.
| ENABLE_LUA | `ON`, `OFF` | ON |
kompiliert <<scripts_plugins,Lua Erweiterung>>.
kompiliert <<scripting_plugins,Lua Erweiterung>>.
| ENABLE_NCURSES | `ON`, `OFF` | ON |
kompiliert Ncurses Oberfläche.
@@ -258,35 +258,35 @@ Liste von häufig verwendeten Optionen:
aktiviert NLS (Übersetzungen).
| ENABLE_PERL | `ON`, `OFF` | ON |
kompiliert <<scripts_plugins,Perl Erweiterung>>.
kompiliert <<scripting_plugins,Perl Erweiterung>>.
| ENABLE_PHP | `ON`, `OFF` | ON |
kompiliert <<scripts_plugins,PHP Erweiterung>>.
kompiliert <<scripting_plugins,PHP Erweiterung>>.
| ENABLE_PYTHON | `ON`, `OFF` | ON |
kompiliert <<scripts_plugins,Python Erweiterung>>.
kompiliert <<scripting_plugins,Python Erweiterung>>.
| ENABLE_PYTHON2 | `ON`, `OFF` | OFF |
kompiliert <<scripts_plugins,Python Erweiterung>> nutzt Python 2 anstelle von Python 3.
kompiliert <<scripting_plugins,Python Erweiterung>> nutzt Python 2 anstelle von Python 3.
| ENABLE_RELAY | `ON`, `OFF` | ON |
kompiliert <<relay,Relay Erweiterung>>.
| ENABLE_RUBY | `ON`, `OFF` | ON |
kompiliert <<scripts_plugins,Ruby Erweiterung>>.
kompiliert <<scripting_plugins,Ruby Erweiterung>>.
| ENABLE_SCRIPT | `ON`, `OFF` | ON |
kompiliert <<scripts_plugins,Script Erweiterung>>.
kompiliert <<script_manager,Script Erweiterung>>.
| ENABLE_SCRIPTS | `ON`, `OFF` | ON |
kompiliert <<scripts_plugins,Skripten-Erweiterungen>> (Python, Perl, Ruby,
kompiliert <<scripting_plugins,Skripten-Erweiterungen>> (Python, Perl, Ruby,
Lua, Tcl, Guile, JavaScript, PHP).
| ENABLE_SPELL | `ON`, `OFF` | ON |
kompiliert <<spell_checking,Spell Erweiterung>>.
| ENABLE_TCL | `ON`, `OFF` | ON |
kompiliert <<scripts_plugins,Tcl Erweiterung>>.
kompiliert <<scripting_plugins,Tcl Erweiterung>>.
| ENABLE_TRIGGER | `ON`, `OFF` | ON |
kompiliert <<trigger,Trigger Erweiterung>>.
@@ -1884,7 +1884,8 @@ Diese Tasten und Aktionen werden im fset-Buffer verwendet (siehe <<fset,Fset Erw
[[key_bindings_script_buffer]]
=== Script buffer
Diese Tasten und Aktionen werden im fset-Buffer verwendet (siehe <<scripts_plugins,Skript Erweiterung>>).
// TRANSLATION MISSING
Diese Tasten und Aktionen werden im fset-Buffer verwendet (siehe <<script_manager,script manager>>).
[width="100%",cols="^.^3,^.^2,.^8,.^5",options="header"]
|===
@@ -5060,68 +5061,80 @@ Um mehr über Erweiterungen- und Skriptenprogrammierung (mittels API) zu erfahre
sollten Sie die link:weechat_plugin_api.en.html[Anleitung für API Erweiterung] (Englisch) oder
link:weechat_scripting.de.html[WeeChat scripting guide] lesen.
[[scripts_plugins]]
[[scripts]]
=== Skripten
WeeChat unterstützt Erweiterungen für insgesamt acht Skriptsprachen:
Python, Perl, Ruby, Lua, Tcl, Guile (scheme), JavaScript und PHP.
Mit jeder dieser Erweiterungen können Skripten geladen, ausgeführt und entfernt werden.
Eine sinnvolle Erweiterung ist "script". Dabei handelt es sich um einen Skripten-Manager mit
dem es möglich ist, unabhängig von der Skript-Sprache Skripten zu laden und zu entfernen.
Des Weiteren können Skripten, aus dem Skript-Repositorium, installiert und deinstalliert werden.
Das Skript-Repositorium kann unter folgender URL eingesehen werden: https://weechat.org/scripts
Sollten wir Ihr Interesse geweckt haben selber Skripten für WeeChat zu programmieren, dann lesen Sie
bitte die link:weechat_scripting.de.html[WeeChat scripting Guide].
// TRANSLATION MISSING
[[script_manager]]
==== Script manager
// TRANSLATION MISSING
The script manager (command <<command_script_script,/script>>) is used to
load/unload scripts of any language, and install/remove scripts of WeeChat
scripts repository, which are visible at this URL: https://weechat.org/scripts
// TRANSLATION MISSING
For privacy considerations, the download of scripts is disabled by default. +
To enable it, type this command:
----
/set script.scripts.download_enabled on
----
// TRANSLATION MISSING
Then you can download the list of scripts and display them in a new buffer
with the <<command_script_script,/script>> command:
[subs="quotes,attributes"]
:x: *
....
┌──────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│1.weechat│368/368 scripts (filter: {x}) | Sort: i,p,n | Alt+key/input: i=install, r=remove, l=load, L=reload, u=│
│2.scripts│{x} autosort.py 3.9 2020-10-11 | Automatically keep buffers grouped by server│
│ │{x} multiline.pl 0.6.3 2016-01-02 | Multi-line edit box, also supports editing o│
│ │{x} highmon.pl 2.7 2020-06-21 | Adds a highlight monitor buffer. │
│ │##{x}ia r grep.py 0.8.5 0.8.5 2021-05-11 | Search regular expression in buffers or log ##│
│ │{x} autojoin.py 0.3.1 2019-10-06 | Configure autojoin for all servers according│
│ │{x} colorize_nicks.py 28 2021-03-06 | Use the weechat nick colors in the chat area│
│ │{x}ia r go.py 2.7 2.7 2021-05-26 | Quick jump to buffers. │
│ │{x} text_item.py 0.9 2019-05-25 | Add bar items with plain text. │
│ │ aesthetic.py 1.0.6 2020-10-25 | Make messages more A E S T H E T I C A L L Y│
│ │ aformat.py 0.2 2018-06-21 | Alternate text formatting, useful for relays│
│ │ alternatetz.py 0.3 2018-11-11 | Add an alternate timezone item. │
│ │ amarok2.pl 0.7 2012-05-08 | Amarok 2 control and now playing script. │
│ │ amqp_notify.rb 0.1 2011-01-12 | Send private messages and highlights to an A│
│ │ announce_url_title.py 19 2021-06-05 | Announce URL title to user or to channel. │
│ │ anotify.py 1.0.2 2020-05-16 | Notifications of private messages, highlight│
│ │ anti_password.py 1.2.1 2021-03-13 | Prevent a password from being accidentally s│
│ │ apply_corrections.py 1.3 2018-06-21 | Display corrected text when user sends s/typ│
│ │ arespond.py 0.1.1 2020-10-11 | Simple autoresponder. │
│ │ atcomplete.pl 0.001 2016-10-29 | Tab complete nicks when prefixed with "@". │
│ │ audacious.pl 0.3 2009-05-03 | Display which song Audacious is currently pl│
│ │ auth.rb 0.3 2014-05-30 | Automatically authenticate with NickServ usi│
│ │ auto_away.py 0.4 2018-11-11 | A simple auto-away script. │
│ │ autoauth.py 1.3 2021-11-07 | Permits to auto-authenticate when changing n│
│ │ autobump.py 0.1.0 2019-06-14 | Bump buffers upon activity. │
│ │ autoconf.py 0.4 2021-05-11 | Auto save/load changed options in a .weerc f│
│ │ autoconnect.py 0.3.3 2019-10-06 | Reopen servers and channels opened last time│
│ │[12:55] [2] [script] 2:scripts │
│ │█ │
└──────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
....
[[script_commands]]
==== Skript Befehle
===== Skript Befehle
include::includes/autogen_user_commands.de.adoc[tag=script_commands]
[[python_commands]]
==== Python Befehle
include::includes/autogen_user_commands.de.adoc[tag=python_commands]
[[perl_commands]]
==== Perl Befehle
include::includes/autogen_user_commands.de.adoc[tag=perl_commands]
[[ruby_commands]]
==== Ruby Befehle
include::includes/autogen_user_commands.de.adoc[tag=ruby_commands]
[[lua_commands]]
==== Lua Befehle
include::includes/autogen_user_commands.de.adoc[tag=lua_commands]
[[tcl_commands]]
==== Tcl Befehle
include::includes/autogen_user_commands.de.adoc[tag=tcl_commands]
[[guile_commands]]
==== Guile Befehle
include::includes/autogen_user_commands.de.adoc[tag=guile_commands]
[[javascript_commands]]
==== JavaScript Befehle
include::includes/autogen_user_commands.de.adoc[tag=javascript_commands]
[[php_commands]]
==== PHP Befehle
include::includes/autogen_user_commands.de.adoc[tag=php_commands]
[[script_options]]
==== Script Optionen
===== Script Optionen
Sektionen in Datei _script.conf_:
@@ -5137,8 +5150,52 @@ Optionen:
include::includes/autogen_user_options.de.adoc[tag=script_options]
// TRANSLATION MISSING
[[scripting_plugins]]
==== Scripting plugins
[[python_commands]]
===== Python Befehle
include::includes/autogen_user_commands.de.adoc[tag=python_commands]
[[perl_commands]]
===== Perl Befehle
include::includes/autogen_user_commands.de.adoc[tag=perl_commands]
[[ruby_commands]]
===== Ruby Befehle
include::includes/autogen_user_commands.de.adoc[tag=ruby_commands]
[[lua_commands]]
===== Lua Befehle
include::includes/autogen_user_commands.de.adoc[tag=lua_commands]
[[tcl_commands]]
===== Tcl Befehle
include::includes/autogen_user_commands.de.adoc[tag=tcl_commands]
[[guile_commands]]
===== Guile Befehle
include::includes/autogen_user_commands.de.adoc[tag=guile_commands]
[[javascript_commands]]
===== JavaScript Befehle
include::includes/autogen_user_commands.de.adoc[tag=javascript_commands]
[[php_commands]]
===== PHP Befehle
include::includes/autogen_user_commands.de.adoc[tag=php_commands]
[[python_options]]
==== Python Optionen
===== Python Optionen
Sektionen in Datei _python.conf_:
@@ -5153,7 +5210,7 @@ Optionen:
include::includes/autogen_user_options.de.adoc[tag=python_options]
[[perl_options]]
==== Perl Optionen
===== Perl Optionen
Sektionen in Datei _perl.conf_:
@@ -5168,7 +5225,7 @@ Optionen:
include::includes/autogen_user_options.de.adoc[tag=perl_options]
[[ruby_options]]
==== Ruby Optionen
===== Ruby Optionen
Sektionen in Datei _ruby.conf_:
@@ -5183,7 +5240,7 @@ Optionen:
include::includes/autogen_user_options.de.adoc[tag=ruby_options]
[[lua_options]]
==== Lua Optionen
===== Lua Optionen
Sektionen in Datei _lua.conf_:
@@ -5198,7 +5255,7 @@ Optionen:
include::includes/autogen_user_options.de.adoc[tag=lua_options]
[[tcl_options]]
==== Tcl Optionen
===== Tcl Optionen
Sektionen in Datei _tcl.conf_:
@@ -5213,7 +5270,7 @@ Optionen:
include::includes/autogen_user_options.de.adoc[tag=tcl_options]
[[guile_options]]
==== Guile Optionen
===== Guile Optionen
Sektionen in Datei _guile.conf_:
@@ -5228,7 +5285,7 @@ Optionen:
include::includes/autogen_user_options.de.adoc[tag=guile_options]
[[javascript_options]]
==== Javascript Optionen
===== Javascript Optionen
Sektionen in Datei _javascript.conf_:
@@ -5243,7 +5300,7 @@ Optionen:
include::includes/autogen_user_options.de.adoc[tag=javascript_options]
[[php_options]]
==== PHP Optionen
===== PHP Optionen
Sektionen in Datei _php.conf_:
+119 -67
View File
@@ -226,13 +226,13 @@ List of commonly used options:
Compile <<fset,Fset plugin>>.
| ENABLE_GUILE | `ON`, `OFF` | ON |
Compile <<scripts_plugins,Guile plugin>> (Scheme).
Compile <<scripting_plugins,Guile plugin>> (Scheme).
| ENABLE_IRC | `ON`, `OFF` | ON |
Compile <<irc,IRC plugin>>.
| ENABLE_JAVASCRIPT | `ON`, `OFF` | OFF |
Compile <<scripts_plugins,JavaScript plugin>>.
Compile <<scripting_plugins,JavaScript plugin>>.
| ENABLE_LARGEFILE | `ON`, `OFF` | ON |
Support of large files.
@@ -241,7 +241,7 @@ List of commonly used options:
Compile <<buffer_logging,Logger plugin>>.
| ENABLE_LUA | `ON`, `OFF` | ON |
Compile <<scripts_plugins,Lua plugin>>.
Compile <<scripting_plugins,Lua plugin>>.
| ENABLE_NCURSES | `ON`, `OFF` | ON |
Compile Ncurses interface.
@@ -250,35 +250,35 @@ List of commonly used options:
Enable NLS (translations).
| ENABLE_PERL | `ON`, `OFF` | ON |
Compile <<scripts_plugins,Perl plugin>>.
Compile <<scripting_plugins,Perl plugin>>.
| ENABLE_PHP | `ON`, `OFF` | ON |
Compile <<scripts_plugins,PHP plugin>>.
Compile <<scripting_plugins,PHP plugin>>.
| ENABLE_PYTHON | `ON`, `OFF` | ON |
Compile <<scripts_plugins,Python plugin>>.
Compile <<scripting_plugins,Python plugin>>.
| ENABLE_PYTHON2 | `ON`, `OFF` | OFF |
Compile <<scripts_plugins,Python plugin>> using Python 2 instead of Python 3.
Compile <<scripting_plugins,Python plugin>> using Python 2 instead of Python 3.
| ENABLE_RELAY | `ON`, `OFF` | ON |
Compile <<relay,Relay plugin>>.
| ENABLE_RUBY | `ON`, `OFF` | ON |
Compile <<scripts_plugins,Ruby plugin>>.
Compile <<scripting_plugins,Ruby plugin>>.
| ENABLE_SCRIPT | `ON`, `OFF` | ON |
Compile <<scripts_plugins,Script plugin>>.
Compile <<script_manager,Script plugin>>.
| ENABLE_SCRIPTS | `ON`, `OFF` | ON |
Compile <<scripts_plugins,script plugins>> (Python, Perl, Ruby, Lua, Tcl,
Compile <<scripting_plugins,script plugins>> (Python, Perl, Ruby, Lua, Tcl,
Guile, JavaScript, PHP).
| ENABLE_SPELL | `ON`, `OFF` | ON |
Compile <<spell_checking,Spell plugin>>.
| ENABLE_TCL | `ON`, `OFF` | ON |
Compile <<scripts_plugins,Tcl plugin>>.
Compile <<scripting_plugins,Tcl plugin>>.
| ENABLE_TRIGGER | `ON`, `OFF` | ON |
Compile <<trigger,Trigger plugin>>.
@@ -1842,7 +1842,7 @@ These keys and actions are used on the fset buffer (see <<fset,Fset plugin>>).
[[key_bindings_script_buffer]]
=== Script buffer
These keys and actions are used on the script buffer (see <<scripts_plugins,Script plugin>>).
These keys and actions are used on the script buffer (see <<script_manager,script manager>>).
[width="100%",cols="^.^3,^.^2,.^8,.^5",options="header"]
|===
@@ -4916,67 +4916,76 @@ To learn more about plugin or script development (through API), please read the
link:weechat_plugin_api.en.html[WeeChat plugin API reference] or the
link:weechat_scripting.en.html[WeeChat scripting guide].
[[scripts_plugins]]
[[scripts]]
=== Scripts
WeeChat provides 8 scripting plugins: Python, Perl, Ruby, Lua, Tcl, Guile
(scheme), JavaScript and PHP.
These plugins can load, execute and unload scripts for these languages.
Another plugin called "script" is a script manager and is used to load/unload
scripts of any language, and install/remove scripts of WeeChat scripts
repository, which are visible at this URL: https://weechat.org/scripts
For more information about how to write scripts, or WeeChat API for
scripts, please read the link:weechat_scripting.en.html[WeeChat scripting guide].
[[script_manager]]
==== Script manager
The script manager (command <<command_script_script,/script>>) is used to
load/unload scripts of any language, and install/remove scripts of WeeChat
scripts repository, which are visible at this URL: https://weechat.org/scripts
For privacy considerations, the download of scripts is disabled by default. +
To enable it, type this command:
----
/set script.scripts.download_enabled on
----
Then you can download the list of scripts and display them in a new buffer
with the <<command_script_script,/script>> command:
[subs="quotes,attributes"]
:x: *
....
┌──────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│1.weechat│368/368 scripts (filter: {x}) | Sort: i,p,n | Alt+key/input: i=install, r=remove, l=load, L=reload, u=│
│2.scripts│{x} autosort.py 3.9 2020-10-11 | Automatically keep buffers grouped by server│
│ │{x} multiline.pl 0.6.3 2016-01-02 | Multi-line edit box, also supports editing o│
│ │{x} highmon.pl 2.7 2020-06-21 | Adds a highlight monitor buffer. │
│ │##{x}ia r grep.py 0.8.5 0.8.5 2021-05-11 | Search regular expression in buffers or log ##│
│ │{x} autojoin.py 0.3.1 2019-10-06 | Configure autojoin for all servers according│
│ │{x} colorize_nicks.py 28 2021-03-06 | Use the weechat nick colors in the chat area│
│ │{x}ia r go.py 2.7 2.7 2021-05-26 | Quick jump to buffers. │
│ │{x} text_item.py 0.9 2019-05-25 | Add bar items with plain text. │
│ │ aesthetic.py 1.0.6 2020-10-25 | Make messages more A E S T H E T I C A L L Y│
│ │ aformat.py 0.2 2018-06-21 | Alternate text formatting, useful for relays│
│ │ alternatetz.py 0.3 2018-11-11 | Add an alternate timezone item. │
│ │ amarok2.pl 0.7 2012-05-08 | Amarok 2 control and now playing script. │
│ │ amqp_notify.rb 0.1 2011-01-12 | Send private messages and highlights to an A│
│ │ announce_url_title.py 19 2021-06-05 | Announce URL title to user or to channel. │
│ │ anotify.py 1.0.2 2020-05-16 | Notifications of private messages, highlight│
│ │ anti_password.py 1.2.1 2021-03-13 | Prevent a password from being accidentally s│
│ │ apply_corrections.py 1.3 2018-06-21 | Display corrected text when user sends s/typ│
│ │ arespond.py 0.1.1 2020-10-11 | Simple autoresponder. │
│ │ atcomplete.pl 0.001 2016-10-29 | Tab complete nicks when prefixed with "@". │
│ │ audacious.pl 0.3 2009-05-03 | Display which song Audacious is currently pl│
│ │ auth.rb 0.3 2014-05-30 | Automatically authenticate with NickServ usi│
│ │ auto_away.py 0.4 2018-11-11 | A simple auto-away script. │
│ │ autoauth.py 1.3 2021-11-07 | Permits to auto-authenticate when changing n│
│ │ autobump.py 0.1.0 2019-06-14 | Bump buffers upon activity. │
│ │ autoconf.py 0.4 2021-05-11 | Auto save/load changed options in a .weerc f│
│ │ autoconnect.py 0.3.3 2019-10-06 | Reopen servers and channels opened last time│
│ │[12:55] [2] [script] 2:scripts │
│ │█ │
└──────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
....
[[script_commands]]
==== Script commands
===== Script commands
include::includes/autogen_user_commands.en.adoc[tag=script_commands]
[[python_commands]]
==== Python commands
include::includes/autogen_user_commands.en.adoc[tag=python_commands]
[[perl_commands]]
==== Perl commands
include::includes/autogen_user_commands.en.adoc[tag=perl_commands]
[[ruby_commands]]
==== Ruby commands
include::includes/autogen_user_commands.en.adoc[tag=ruby_commands]
[[lua_commands]]
==== Lua commands
include::includes/autogen_user_commands.en.adoc[tag=lua_commands]
[[tcl_commands]]
==== Tcl commands
include::includes/autogen_user_commands.en.adoc[tag=tcl_commands]
[[guile_commands]]
==== Guile commands
include::includes/autogen_user_commands.en.adoc[tag=guile_commands]
[[javascript_commands]]
==== JavaScript commands
include::includes/autogen_user_commands.en.adoc[tag=javascript_commands]
[[php_commands]]
==== PHP commands
include::includes/autogen_user_commands.en.adoc[tag=php_commands]
[[script_options]]
==== Script options
===== Script options
Sections in file _script.conf_:
@@ -4992,8 +5001,51 @@ Options:
include::includes/autogen_user_options.en.adoc[tag=script_options]
[[scripting_plugins]]
==== Scripting plugins
[[python_commands]]
===== Python commands
include::includes/autogen_user_commands.en.adoc[tag=python_commands]
[[perl_commands]]
===== Perl commands
include::includes/autogen_user_commands.en.adoc[tag=perl_commands]
[[ruby_commands]]
===== Ruby commands
include::includes/autogen_user_commands.en.adoc[tag=ruby_commands]
[[lua_commands]]
===== Lua commands
include::includes/autogen_user_commands.en.adoc[tag=lua_commands]
[[tcl_commands]]
===== Tcl commands
include::includes/autogen_user_commands.en.adoc[tag=tcl_commands]
[[guile_commands]]
===== Guile commands
include::includes/autogen_user_commands.en.adoc[tag=guile_commands]
[[javascript_commands]]
===== JavaScript commands
include::includes/autogen_user_commands.en.adoc[tag=javascript_commands]
[[php_commands]]
===== PHP commands
include::includes/autogen_user_commands.en.adoc[tag=php_commands]
[[python_options]]
==== Python options
===== Python options
Sections in file _python.conf_:
@@ -5008,7 +5060,7 @@ Options:
include::includes/autogen_user_options.en.adoc[tag=python_options]
[[perl_options]]
==== Perl options
===== Perl options
Sections in file _perl.conf_:
@@ -5023,7 +5075,7 @@ Options:
include::includes/autogen_user_options.en.adoc[tag=perl_options]
[[ruby_options]]
==== Ruby options
===== Ruby options
Sections in file _ruby.conf_:
@@ -5038,7 +5090,7 @@ Options:
include::includes/autogen_user_options.en.adoc[tag=ruby_options]
[[lua_options]]
==== Lua options
===== Lua options
Sections in file _lua.conf_:
@@ -5053,7 +5105,7 @@ Options:
include::includes/autogen_user_options.en.adoc[tag=lua_options]
[[tcl_options]]
==== Tcl options
===== Tcl options
Sections in file _tcl.conf_:
@@ -5068,7 +5120,7 @@ Options:
include::includes/autogen_user_options.en.adoc[tag=tcl_options]
[[guile_options]]
==== Guile options
===== Guile options
Sections in file _guile.conf_:
@@ -5083,7 +5135,7 @@ Options:
include::includes/autogen_user_options.en.adoc[tag=guile_options]
[[javascript_options]]
==== Javascript options
===== Javascript options
Sections in file _javascript.conf_:
@@ -5098,7 +5150,7 @@ Options:
include::includes/autogen_user_options.en.adoc[tag=javascript_options]
[[php_options]]
==== PHP options
===== PHP options
Sections in file _php.conf_:
+122 -68
View File
@@ -230,13 +230,13 @@ Liste des options couramment utilisées :
Compiler <<fset,l'extension Fset>>.
| ENABLE_GUILE | `ON`, `OFF` | ON |
Compiler <<scripts_plugins,l'extension Guile>> (Scheme).
Compiler <<scripting_plugins,l'extension Guile>> (Scheme).
| ENABLE_IRC | `ON`, `OFF` | ON |
Compiler <<irc,l'extension IRC>>.
| ENABLE_JAVASCRIPT | `ON`, `OFF` | OFF |
Compiler <<scripts_plugins,l'extension JavaScript>>.
Compiler <<scripting_plugins,l'extension JavaScript>>.
| ENABLE_LARGEFILE | `ON`, `OFF` | ON |
Support des gros fichiers.
@@ -245,7 +245,7 @@ Liste des options couramment utilisées :
Compiler <<buffer_logging,l'extension Logger>>.
| ENABLE_LUA | `ON`, `OFF` | ON |
Compiler <<scripts_plugins,l'extension Lua>>.
Compiler <<scripting_plugins,l'extension Lua>>.
| ENABLE_NCURSES | `ON`, `OFF` | ON |
Compiler l'interface Ncurses.
@@ -254,36 +254,36 @@ Liste des options couramment utilisées :
Activer NLS (traductions).
| ENABLE_PERL | `ON`, `OFF` | ON |
Compiler <<scripts_plugins,l'extension Perl>>.
Compiler <<scripting_plugins,l'extension Perl>>.
| ENABLE_PHP | `ON`, `OFF` | ON |
Compiler <<scripts_plugins,l'extension PHP>>.
Compiler <<scripting_plugins,l'extension PHP>>.
| ENABLE_PYTHON | `ON`, `OFF` | ON |
Compiler <<scripts_plugins,l'extension Python>>.
Compiler <<scripting_plugins,l'extension Python>>.
| ENABLE_PYTHON2 | `ON`, `OFF` | OFF |
Compiler <<scripts_plugins,l'extension Python>> avec Python 2 au lieu de
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_RUBY | `ON`, `OFF` | ON |
Compiler <<scripts_plugins,l'extension Ruby>>.
Compiler <<scripting_plugins,l'extension Ruby>>.
| ENABLE_SCRIPT | `ON`, `OFF` | ON |
Compiler <<scripts_plugins,l'extension Script>>.
Compiler <<script_manager,l'extension Script>>.
| ENABLE_SCRIPTS | `ON`, `OFF` | ON |
Compiler <<scripts_plugins,les extensions de script>> (Python, Perl, Ruby,
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_TCL | `ON`, `OFF` | ON |
Compiler <<scripts_plugins,l'extension Tcl>>.
Compiler <<scripting_plugins,l'extension Tcl>>.
| ENABLE_TRIGGER | `ON`, `OFF` | ON |
Compiler <<trigger,l'extension Trigger>>.
@@ -1889,7 +1889,7 @@ Ces touches et actions sont utilisées sur le tampon fset
=== Tampon script
Ces touches et actions sont utilisées sur le tampon script
(voir <<scripts_plugins,l'extension Script>>).
(voir <<script_manager,le gestionnaire de scripts>>).
[width="100%",cols="^.^3,^.^2,.^8,.^5",options="header"]
|===
@@ -5091,7 +5091,7 @@ l'API), merci de consulter la
link:weechat_plugin_api.fr.html[Référence API extension WeeChat] ou le
link:weechat_scripting.fr.html[Guide pour scripts WeeChat].
[[scripts_plugins]]
[[scripts]]
=== Scripts
WeeChat fournit 8 extensions pour scripts : Python, Perl, Ruby, Lua, Tcl,
@@ -5099,62 +5099,72 @@ Guile (scheme), JavaScript et PHP.
Ces extensions peuvent charger, exécuter et décharger des scripts pour ces
langages.
Une autre extension appelée "script" est un gestionnaire de scripts et est
utilisé pour charger/décharger des scripts pour n'importe quel langage, et
installer/supprimer des scripts du dépôt WeeChat, qui sont visibles à cette
URL : https://weechat.org/scripts
Pour plus d'informations sur comment écrire des scripts, ou sur l'API
WeeChat pour les scripts, merci de lire le
link:weechat_scripting.fr.html[Guide pour scripts WeeChat].
[[script_manager]]
==== Gestionnaire de scripts
Le gestionnaire de scripts (commands <<command_script_script,/script>>) est
utilisé pour charger/décharger des scripts pour n'importe quel langage, et
installer/supprimer des scripts du dépôt WeeChat, qui sont visibles à cette
URL : https://weechat.org/scripts
Pour des considérations de confidentialité, le téléchargement des scripts est
désactivé par défaut. +
Pour l'activer, tapez cette commande :
----
/set script.scripts.download_enabled on
----
Vous pouvez alors télécharger la liste des scripts et les afficher dans un tampon
avec la commande <<command_script_script,/script>> :
[subs="quotes,attributes"]
:x: *
....
┌──────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│1.weechat│368/368 scripts (filter: {x}) | Sort: i,p,n | Alt+key/input: i=install, r=remove, l=load, L=reload, u=│
│2.scripts│{x} autosort.py 3.9 2020-10-11 | Automatically keep buffers grouped by server│
│ │{x} multiline.pl 0.6.3 2016-01-02 | Multi-line edit box, also supports editing o│
│ │{x} highmon.pl 2.7 2020-06-21 | Adds a highlight monitor buffer. │
│ │##{x}ia r grep.py 0.8.5 0.8.5 2021-05-11 | Search regular expression in buffers or log ##│
│ │{x} autojoin.py 0.3.1 2019-10-06 | Configure autojoin for all servers according│
│ │{x} colorize_nicks.py 28 2021-03-06 | Use the weechat nick colors in the chat area│
│ │{x}ia r go.py 2.7 2.7 2021-05-26 | Quick jump to buffers. │
│ │{x} text_item.py 0.9 2019-05-25 | Add bar items with plain text. │
│ │ aesthetic.py 1.0.6 2020-10-25 | Make messages more A E S T H E T I C A L L Y│
│ │ aformat.py 0.2 2018-06-21 | Alternate text formatting, useful for relays│
│ │ alternatetz.py 0.3 2018-11-11 | Add an alternate timezone item. │
│ │ amarok2.pl 0.7 2012-05-08 | Amarok 2 control and now playing script. │
│ │ amqp_notify.rb 0.1 2011-01-12 | Send private messages and highlights to an A│
│ │ announce_url_title.py 19 2021-06-05 | Announce URL title to user or to channel. │
│ │ anotify.py 1.0.2 2020-05-16 | Notifications of private messages, highlight│
│ │ anti_password.py 1.2.1 2021-03-13 | Prevent a password from being accidentally s│
│ │ apply_corrections.py 1.3 2018-06-21 | Display corrected text when user sends s/typ│
│ │ arespond.py 0.1.1 2020-10-11 | Simple autoresponder. │
│ │ atcomplete.pl 0.001 2016-10-29 | Tab complete nicks when prefixed with "@". │
│ │ audacious.pl 0.3 2009-05-03 | Display which song Audacious is currently pl│
│ │ auth.rb 0.3 2014-05-30 | Automatically authenticate with NickServ usi│
│ │ auto_away.py 0.4 2018-11-11 | A simple auto-away script. │
│ │ autoauth.py 1.3 2021-11-07 | Permits to auto-authenticate when changing n│
│ │ autobump.py 0.1.0 2019-06-14 | Bump buffers upon activity. │
│ │ autoconf.py 0.4 2021-05-11 | Auto save/load changed options in a .weerc f│
│ │ autoconnect.py 0.3.3 2019-10-06 | Reopen servers and channels opened last time│
│ │[12:55] [2] [script] 2:scripts │
│ │█ │
└──────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
....
[[script_commands]]
==== Commandes Script
===== Commandes Script
include::includes/autogen_user_commands.fr.adoc[tag=script_commands]
[[python_commands]]
==== Commandes Python
include::includes/autogen_user_commands.fr.adoc[tag=python_commands]
[[perl_commands]]
==== Commandes Perl
include::includes/autogen_user_commands.fr.adoc[tag=perl_commands]
[[ruby_commands]]
==== Commandes Ruby
include::includes/autogen_user_commands.fr.adoc[tag=ruby_commands]
[[lua_commands]]
==== Commandes Lua
include::includes/autogen_user_commands.fr.adoc[tag=lua_commands]
[[tcl_commands]]
==== Commandes Tcl
include::includes/autogen_user_commands.fr.adoc[tag=tcl_commands]
[[guile_commands]]
==== Commandes Guile
include::includes/autogen_user_commands.fr.adoc[tag=guile_commands]
[[javascript_commands]]
==== Commandes JavaScript
include::includes/autogen_user_commands.fr.adoc[tag=javascript_commands]
[[php_commands]]
==== Commandes PHP
include::includes/autogen_user_commands.fr.adoc[tag=php_commands]
[[script_options]]
==== Options Script
===== Options Script
Sections dans le fichier _script.conf_ :
@@ -5170,8 +5180,52 @@ Options :
include::includes/autogen_user_options.fr.adoc[tag=script_options]
// TRANSLATION MISSING
[[scripting_plugins]]
==== Extensions pour les scripts
[[python_commands]]
===== Commandes Python
include::includes/autogen_user_commands.fr.adoc[tag=python_commands]
[[perl_commands]]
===== Commandes Perl
include::includes/autogen_user_commands.fr.adoc[tag=perl_commands]
[[ruby_commands]]
===== Commandes Ruby
include::includes/autogen_user_commands.fr.adoc[tag=ruby_commands]
[[lua_commands]]
===== Commandes Lua
include::includes/autogen_user_commands.fr.adoc[tag=lua_commands]
[[tcl_commands]]
===== Commandes Tcl
include::includes/autogen_user_commands.fr.adoc[tag=tcl_commands]
[[guile_commands]]
===== Commandes Guile
include::includes/autogen_user_commands.fr.adoc[tag=guile_commands]
[[javascript_commands]]
===== Commandes JavaScript
include::includes/autogen_user_commands.fr.adoc[tag=javascript_commands]
[[php_commands]]
===== Commandes PHP
include::includes/autogen_user_commands.fr.adoc[tag=php_commands]
[[python_options]]
==== Options Python
===== Options Python
Sections dans le fichier _python.conf_ :
@@ -5186,7 +5240,7 @@ Options :
include::includes/autogen_user_options.fr.adoc[tag=python_options]
[[perl_options]]
==== Options Perl
===== Options Perl
Sections dans le fichier _perl.conf_ :
@@ -5201,7 +5255,7 @@ Options :
include::includes/autogen_user_options.fr.adoc[tag=perl_options]
[[ruby_options]]
==== Options Ruby
===== Options Ruby
Sections dans le fichier _ruby.conf_ :
@@ -5216,7 +5270,7 @@ Options :
include::includes/autogen_user_options.fr.adoc[tag=ruby_options]
[[lua_options]]
==== Options Lua
===== Options Lua
Sections dans le fichier _lua.conf_ :
@@ -5231,7 +5285,7 @@ Options :
include::includes/autogen_user_options.fr.adoc[tag=lua_options]
[[tcl_options]]
==== Options Tcl
===== Options Tcl
Sections dans le fichier _tcl.conf_ :
@@ -5246,7 +5300,7 @@ Options :
include::includes/autogen_user_options.fr.adoc[tag=tcl_options]
[[guile_options]]
==== Options Guile
===== Options Guile
Sections dans le fichier _guile.conf_ :
@@ -5261,7 +5315,7 @@ Options :
include::includes/autogen_user_options.fr.adoc[tag=guile_options]
[[javascript_options]]
==== Options Javascript
===== Options Javascript
Sections dans le fichier _javascript.conf_ :
@@ -5276,7 +5330,7 @@ Options :
include::includes/autogen_user_options.fr.adoc[tag=javascript_options]
[[php_options]]
==== Options PHP
===== Options PHP
Sections dans le fichier _php.conf_ :
+124 -68
View File
@@ -264,13 +264,13 @@ List of commonly used options:
Compile <<fset,Fset plugin>>.
| ENABLE_GUILE | `ON`, `OFF` | ON |
Compile <<scripts_plugins,Guile plugin>> (Scheme).
Compile <<scripting_plugins,Guile plugin>> (Scheme).
| ENABLE_IRC | `ON`, `OFF` | ON |
Compile <<irc,IRC plugin>>.
| ENABLE_JAVASCRIPT | `ON`, `OFF` | OFF |
Compile <<scripts_plugins,JavaScript plugin>>.
Compile <<scripting_plugins,JavaScript plugin>>.
| ENABLE_LARGEFILE | `ON`, `OFF` | ON |
Support of large files.
@@ -279,7 +279,7 @@ List of commonly used options:
Compile <<buffer_logging,Logger plugin>>.
| ENABLE_LUA | `ON`, `OFF` | ON |
Compile <<scripts_plugins,Lua plugin>>.
Compile <<scripting_plugins,Lua plugin>>.
| ENABLE_NCURSES | `ON`, `OFF` | ON |
Compile Ncurses interface.
@@ -288,36 +288,36 @@ List of commonly used options:
Enable NLS (translations).
| ENABLE_PERL | `ON`, `OFF` | ON |
Compile <<scripts_plugins,Perl plugin>>.
Compile <<scripting_plugins,Perl plugin>>.
| ENABLE_PHP | `ON`, `OFF` | ON |
Compile <<scripts_plugins,PHP plugin>>.
Compile <<scripting_plugins,PHP plugin>>.
| ENABLE_PYTHON | `ON`, `OFF` | ON |
Compile <<scripts_plugins,Python plugin>>.
Compile <<scripting_plugins,Python plugin>>.
// TRANSLATION MISSING
| ENABLE_PYTHON2 | `ON`, `OFF` | OFF |
Compile <<scripts_plugins,Python plugin>> using Python 2 instead of Python 3.
Compile <<scripting_plugins,Python plugin>> using Python 2 instead of Python 3.
| ENABLE_RELAY | `ON`, `OFF` | ON |
Compile <<relay,Relay plugin>>.
| ENABLE_RUBY | `ON`, `OFF` | ON |
Compile <<scripts_plugins,Ruby plugin>>.
Compile <<scripting_plugins,Ruby plugin>>.
| ENABLE_SCRIPT | `ON`, `OFF` | ON |
Compile <<scripts_plugins,Script plugin>>.
Compile <<script_manager,Script plugin>>.
| ENABLE_SCRIPTS | `ON`, `OFF` | ON |
Compile <<scripts_plugins,script plugins>> (Python, Perl, Ruby, Lua, Tcl,
Compile <<scripting_plugins,script plugins>> (Python, Perl, Ruby, Lua, Tcl,
Guile, JavaScript, PHP).
| ENABLE_SPELL | `ON`, `OFF` | ON |
Compile <<spell_checking,Spell plugin>>.
| ENABLE_TCL | `ON`, `OFF` | ON |
Compile <<scripts_plugins,Tcl plugin>>.
Compile <<scripting_plugins,Tcl plugin>>.
| ENABLE_TRIGGER | `ON`, `OFF` | ON |
Compile <<trigger,Trigger plugin>>.
@@ -2027,7 +2027,7 @@ These keys and actions are used on the fset buffer (see <<fset,Fset plugin>>).
=== Script buffer
// TRANSLATION MISSING
These keys and actions are used on the script buffer (see <<scripts_plugins,Script plugin>>).
These keys and actions are used on the script buffer (see <<script_manager,script manager>>).
// TRANSLATION MISSING
[width="100%",cols="^.^3,^.^2,.^8,.^5",options="header"]
@@ -5255,7 +5255,7 @@ favore consultare link:weechat_plugin_api.it.html[Riferimento API dei Plugin per
oppure link:weechat_scripting.it.html[Guida allo Scripting di WeeChat].
// TRANSLATION MISSING
[[scripts_plugins]]
[[scripts]]
=== Scripts
WeeChat fornisce 8 plugin per lo scripting: Python, Perl, Ruby, Lua, Tcl, Guile
@@ -5263,62 +5263,74 @@ WeeChat fornisce 8 plugin per lo scripting: Python, Perl, Ruby, Lua, Tcl, Guile
Questi plugin possono caricare, eseguire e scaricare gli script per questi
linguaggi.
// TRANSLATION MISSING
Another plugin called "script" is a script manager and is used to load/unload
scripts of any language, and install/remove scripts of WeeChat scripts
repository, which are visible at this URL: https://weechat.org/scripts
Per maggiori informazioni su come scrivere gli script, o le API WeeChat
per gli script, consultare la link:weechat_scripting.it.html[Guida allo Scripting di WeeChat].
// TRANSLATION MISSING
[[script_manager]]
==== Script manager
// TRANSLATION MISSING
The script manager (command <<command_script_script,/script>>) is used to
load/unload scripts of any language, and install/remove scripts of WeeChat
scripts repository, which are visible at this URL: https://weechat.org/scripts
// TRANSLATION MISSING
For privacy considerations, the download of scripts is disabled by default. +
To enable it, type this command:
----
/set script.scripts.download_enabled on
----
// TRANSLATION MISSING
Then you can download the list of scripts and display them in a new buffer
with the <<command_script_script,/script>> command:
[subs="quotes,attributes"]
:x: *
....
┌──────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│1.weechat│368/368 scripts (filter: {x}) | Sort: i,p,n | Alt+key/input: i=install, r=remove, l=load, L=reload, u=│
│2.scripts│{x} autosort.py 3.9 2020-10-11 | Automatically keep buffers grouped by server│
│ │{x} multiline.pl 0.6.3 2016-01-02 | Multi-line edit box, also supports editing o│
│ │{x} highmon.pl 2.7 2020-06-21 | Adds a highlight monitor buffer. │
│ │##{x}ia r grep.py 0.8.5 0.8.5 2021-05-11 | Search regular expression in buffers or log ##│
│ │{x} autojoin.py 0.3.1 2019-10-06 | Configure autojoin for all servers according│
│ │{x} colorize_nicks.py 28 2021-03-06 | Use the weechat nick colors in the chat area│
│ │{x}ia r go.py 2.7 2.7 2021-05-26 | Quick jump to buffers. │
│ │{x} text_item.py 0.9 2019-05-25 | Add bar items with plain text. │
│ │ aesthetic.py 1.0.6 2020-10-25 | Make messages more A E S T H E T I C A L L Y│
│ │ aformat.py 0.2 2018-06-21 | Alternate text formatting, useful for relays│
│ │ alternatetz.py 0.3 2018-11-11 | Add an alternate timezone item. │
│ │ amarok2.pl 0.7 2012-05-08 | Amarok 2 control and now playing script. │
│ │ amqp_notify.rb 0.1 2011-01-12 | Send private messages and highlights to an A│
│ │ announce_url_title.py 19 2021-06-05 | Announce URL title to user or to channel. │
│ │ anotify.py 1.0.2 2020-05-16 | Notifications of private messages, highlight│
│ │ anti_password.py 1.2.1 2021-03-13 | Prevent a password from being accidentally s│
│ │ apply_corrections.py 1.3 2018-06-21 | Display corrected text when user sends s/typ│
│ │ arespond.py 0.1.1 2020-10-11 | Simple autoresponder. │
│ │ atcomplete.pl 0.001 2016-10-29 | Tab complete nicks when prefixed with "@". │
│ │ audacious.pl 0.3 2009-05-03 | Display which song Audacious is currently pl│
│ │ auth.rb 0.3 2014-05-30 | Automatically authenticate with NickServ usi│
│ │ auto_away.py 0.4 2018-11-11 | A simple auto-away script. │
│ │ autoauth.py 1.3 2021-11-07 | Permits to auto-authenticate when changing n│
│ │ autobump.py 0.1.0 2019-06-14 | Bump buffers upon activity. │
│ │ autoconf.py 0.4 2021-05-11 | Auto save/load changed options in a .weerc f│
│ │ autoconnect.py 0.3.3 2019-10-06 | Reopen servers and channels opened last time│
│ │[12:55] [2] [script] 2:scripts │
│ │█ │
└──────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
....
[[script_commands]]
==== Comandi Script
===== Comandi Script
include::includes/autogen_user_commands.it.adoc[tag=script_commands]
[[python_commands]]
==== Comandi Python
include::includes/autogen_user_commands.it.adoc[tag=python_commands]
[[perl_commands]]
==== Comandi Perl
include::includes/autogen_user_commands.it.adoc[tag=perl_commands]
[[ruby_commands]]
==== Comandi Ruby
include::includes/autogen_user_commands.it.adoc[tag=ruby_commands]
[[lua_commands]]
==== Comandi Lua
include::includes/autogen_user_commands.it.adoc[tag=lua_commands]
[[tcl_commands]]
==== Comandi Tcl
include::includes/autogen_user_commands.it.adoc[tag=tcl_commands]
[[guile_commands]]
==== Comandi Guile
include::includes/autogen_user_commands.it.adoc[tag=guile_commands]
[[javascript_commands]]
==== Comandi JavaScript
include::includes/autogen_user_commands.it.adoc[tag=javascript_commands]
[[php_commands]]
==== Comandi PHP
include::includes/autogen_user_commands.it.adoc[tag=php_commands]
// TRANSLATION MISSING
[[script_options]]
==== Script options
===== Script options
// TRANSLATION MISSING
Sections in file _script.conf_:
@@ -5337,9 +5349,53 @@ Options:
include::includes/autogen_user_options.it.adoc[tag=script_options]
// TRANSLATION MISSING
[[scripting_plugins]]
==== Scripting plugins
[[python_commands]]
===== Comandi Python
include::includes/autogen_user_commands.it.adoc[tag=python_commands]
[[perl_commands]]
===== Comandi Perl
include::includes/autogen_user_commands.it.adoc[tag=perl_commands]
[[ruby_commands]]
===== Comandi Ruby
include::includes/autogen_user_commands.it.adoc[tag=ruby_commands]
[[lua_commands]]
===== Comandi Lua
include::includes/autogen_user_commands.it.adoc[tag=lua_commands]
[[tcl_commands]]
===== Comandi Tcl
include::includes/autogen_user_commands.it.adoc[tag=tcl_commands]
[[guile_commands]]
===== Comandi Guile
include::includes/autogen_user_commands.it.adoc[tag=guile_commands]
[[javascript_commands]]
===== Comandi JavaScript
include::includes/autogen_user_commands.it.adoc[tag=javascript_commands]
[[php_commands]]
===== Comandi PHP
include::includes/autogen_user_commands.it.adoc[tag=php_commands]
// TRANSLATION MISSING
[[python_options]]
==== Python options
===== Python options
// TRANSLATION MISSING
Sections in file _python.conf_:
@@ -5358,7 +5414,7 @@ include::includes/autogen_user_options.it.adoc[tag=python_options]
// TRANSLATION MISSING
[[perl_options]]
==== Perl options
===== Perl options
// TRANSLATION MISSING
Sections in file _perl.conf_:
@@ -5377,7 +5433,7 @@ include::includes/autogen_user_options.it.adoc[tag=perl_options]
// TRANSLATION MISSING
[[ruby_options]]
==== Ruby options
===== Ruby options
// TRANSLATION MISSING
Sections in file _ruby.conf_:
@@ -5396,7 +5452,7 @@ include::includes/autogen_user_options.it.adoc[tag=ruby_options]
// TRANSLATION MISSING
[[lua_options]]
==== Lua options
===== Lua options
// TRANSLATION MISSING
Sections in file _lua.conf_:
@@ -5415,7 +5471,7 @@ include::includes/autogen_user_options.it.adoc[tag=lua_options]
// TRANSLATION MISSING
[[tcl_options]]
==== Tcl options
===== Tcl options
// TRANSLATION MISSING
Sections in file _tcl.conf_:
@@ -5434,7 +5490,7 @@ include::includes/autogen_user_options.it.adoc[tag=tcl_options]
// TRANSLATION MISSING
[[guile_options]]
==== Guile options
===== Guile options
// TRANSLATION MISSING
Sections in file _guile.conf_:
@@ -5453,7 +5509,7 @@ include::includes/autogen_user_options.it.adoc[tag=guile_options]
// TRANSLATION MISSING
[[javascript_options]]
==== Javascript options
===== Javascript options
// TRANSLATION MISSING
Sections in file _javascript.conf_:
@@ -5472,7 +5528,7 @@ include::includes/autogen_user_options.it.adoc[tag=javascript_options]
// TRANSLATION MISSING
[[php_options]]
==== PHP options
===== PHP options
// TRANSLATION MISSING
Sections in file _php.conf_:
+124 -67
View File
@@ -236,13 +236,13 @@ CMake に対するオプションを指定するには、以下の書式を使
<<fset,Fset プラグイン>>のコンパイル。
| ENABLE_GUILE | `ON`, `OFF` | ON |
<<scripts_plugins,Guile プラグイン>> (Scheme) のコンパイル。
<<scripting_plugins,Guile プラグイン>> (Scheme) のコンパイル。
| ENABLE_IRC | `ON`, `OFF` | ON |
<<irc,IRC プラグイン>>のコンパイル
| ENABLE_JAVASCRIPT | `ON`, `OFF` | OFF |
<<scripts_plugins,JavaScript プラグイン>>のコンパイル。
<<scripting_plugins,JavaScript プラグイン>>のコンパイル。
| ENABLE_LARGEFILE | `ON`, `OFF` | ON |
巨大ファイルのサポート。
@@ -251,7 +251,7 @@ CMake に対するオプションを指定するには、以下の書式を使
<<buffer_logging,Logger プラグイン>>のコンパイル。
| ENABLE_LUA | `ON`, `OFF` | ON |
<<scripts_plugins,Lua プラグイン>>のコンパイル。
<<scripting_plugins,Lua プラグイン>>のコンパイル。
| ENABLE_NCURSES | `ON`, `OFF` | ON |
Ncurses インターフェースのコンパイル。
@@ -260,36 +260,36 @@ CMake に対するオプションを指定するには、以下の書式を使
NLS の有効化 (多言語サポート)。
| ENABLE_PERL | `ON`, `OFF` | ON |
<<scripts_plugins,Perl プラグイン>>のコンパイル。
<<scripting_plugins,Perl プラグイン>>のコンパイル。
| ENABLE_PHP | `ON`, `OFF` | ON |
<<scripts_plugins,PHP プラグイン>>のコンパイル。
<<scripting_plugins,PHP プラグイン>>のコンパイル。
| ENABLE_PYTHON | `ON`, `OFF` | ON |
<<scripts_plugins,Python プラグイン>>のコンパイル。
<<scripting_plugins,Python プラグイン>>のコンパイル。
// TRANSLATION MISSING
| ENABLE_PYTHON2 | `ON`, `OFF` | OFF |
Compile <<scripts_plugins,Python plugin>> using Python 2 instead of Python 3.
Compile <<scripting_plugins,Python plugin>> using Python 2 instead of Python 3.
| ENABLE_RELAY | `ON`, `OFF` | ON |
<<relay,リレープラグイン>>のコンパイル。
| ENABLE_RUBY | `ON`, `OFF` | ON |
<<scripts_plugins,Ruby プラグイン>>のコンパイル。
<<scripting_plugins,Ruby プラグイン>>のコンパイル。
| ENABLE_SCRIPT | `ON`, `OFF` | ON |
<<scripts_plugins,スクリプトプラグイン>>のコンパイル。
<<script_manager,スクリプトプラグイン>>のコンパイル。
| ENABLE_SCRIPTS | `ON`, `OFF` | ON |
すべての<<scripts_plugins,スクリプトプラグイン>>
すべての<<scripting_plugins,スクリプトプラグイン>>
(Python、Perl、Ruby、Lua、Tcl、Guile、JavaScript、PHP) のコンパイル。
| ENABLE_SPELL | `ON`, `OFF` | ON |
<<spell_checking,Spell プラグイン>>のコンパイル。
| ENABLE_TCL | `ON`, `OFF` | ON |
<<scripts_plugins,Tcl プラグイン>>のコンパイル。
<<scripting_plugins,Tcl プラグイン>>のコンパイル。
| ENABLE_TRIGGER | `ON`, `OFF` | ON |
<<trigger,Trigger プラグイン>>のコンパイル。
@@ -1944,7 +1944,7 @@ These keys and actions are used on the fset buffer (see <<fset,Fset plugin>>).
=== Script buffer
// TRANSLATION MISSING
These keys and actions are used on the script buffer (see <<scripts_plugins,Script plugin>>).
These keys and actions are used on the script buffer (see <<script_manager,script manager>>).
// TRANSLATION MISSING
[width="100%",cols="^.^3,^.^2,.^8,.^5",options="header"]
@@ -5060,67 +5060,80 @@ API を使ったプラグインやスクリプトの開発についてより詳
link:weechat_plugin_api.ja.html[WeeChat プラグイン API リファレンス]または
link:weechat_scripting.ja.html[WeeChat スクリプト作成ガイド]を参照してください。
[[scripts_plugins]]
[[scripts]]
=== スクリプト
WeeChat は 8 種類のスクリプトプラグインを備えています:
Python、Perl、Ruby、Lua、Tcl、Guile
(scheme)、JavaScript、PHP。これらのプラグインでそれぞれの言語で書かれたスクリプトのロード、実行、アンロードができます。
スクリプトマネージャを使えば、任意の言語で書かれたスクリプトをロード/アンロードしたり、WeeChat
スクリプトリポジトリ (https://weechat.org/scripts から参照可能)
のスクリプトをインストール/削除したりする事が可能です。
スクリプトの書き方やスクリプト用の WeeChat API についての詳しい情報は
link:weechat_scripting.ja.html[WeeChat スクリプト作成ガイド]を参照してください。
// TRANSLATION MISSING
[[script_manager]]
==== Script manager
// TRANSLATION MISSING
The script manager (command <<command_script_script,/script>>) is used to
load/unload scripts of any language, and install/remove scripts of WeeChat
scripts repository, which are visible at this URL: https://weechat.org/scripts
// TRANSLATION MISSING
For privacy considerations, the download of scripts is disabled by default. +
To enable it, type this command:
----
/set script.scripts.download_enabled on
----
// TRANSLATION MISSING
Then you can download the list of scripts and display them in a new buffer
with the <<command_script_script,/script>> command:
[subs="quotes,attributes"]
:x: *
....
┌──────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│1.weechat│368/368 scripts (filter: {x}) | Sort: i,p,n | Alt+key/input: i=install, r=remove, l=load, L=reload, u=│
│2.scripts│{x} autosort.py 3.9 2020-10-11 | Automatically keep buffers grouped by server│
│ │{x} multiline.pl 0.6.3 2016-01-02 | Multi-line edit box, also supports editing o│
│ │{x} highmon.pl 2.7 2020-06-21 | Adds a highlight monitor buffer. │
│ │##{x}ia r grep.py 0.8.5 0.8.5 2021-05-11 | Search regular expression in buffers or log ##│
│ │{x} autojoin.py 0.3.1 2019-10-06 | Configure autojoin for all servers according│
│ │{x} colorize_nicks.py 28 2021-03-06 | Use the weechat nick colors in the chat area│
│ │{x}ia r go.py 2.7 2.7 2021-05-26 | Quick jump to buffers. │
│ │{x} text_item.py 0.9 2019-05-25 | Add bar items with plain text. │
│ │ aesthetic.py 1.0.6 2020-10-25 | Make messages more A E S T H E T I C A L L Y│
│ │ aformat.py 0.2 2018-06-21 | Alternate text formatting, useful for relays│
│ │ alternatetz.py 0.3 2018-11-11 | Add an alternate timezone item. │
│ │ amarok2.pl 0.7 2012-05-08 | Amarok 2 control and now playing script. │
│ │ amqp_notify.rb 0.1 2011-01-12 | Send private messages and highlights to an A│
│ │ announce_url_title.py 19 2021-06-05 | Announce URL title to user or to channel. │
│ │ anotify.py 1.0.2 2020-05-16 | Notifications of private messages, highlight│
│ │ anti_password.py 1.2.1 2021-03-13 | Prevent a password from being accidentally s│
│ │ apply_corrections.py 1.3 2018-06-21 | Display corrected text when user sends s/typ│
│ │ arespond.py 0.1.1 2020-10-11 | Simple autoresponder. │
│ │ atcomplete.pl 0.001 2016-10-29 | Tab complete nicks when prefixed with "@". │
│ │ audacious.pl 0.3 2009-05-03 | Display which song Audacious is currently pl│
│ │ auth.rb 0.3 2014-05-30 | Automatically authenticate with NickServ usi│
│ │ auto_away.py 0.4 2018-11-11 | A simple auto-away script. │
│ │ autoauth.py 1.3 2021-11-07 | Permits to auto-authenticate when changing n│
│ │ autobump.py 0.1.0 2019-06-14 | Bump buffers upon activity. │
│ │ autoconf.py 0.4 2021-05-11 | Auto save/load changed options in a .weerc f│
│ │ autoconnect.py 0.3.3 2019-10-06 | Reopen servers and channels opened last time│
│ │[12:55] [2] [script] 2:scripts │
│ │█ │
└──────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
....
[[script_commands]]
==== Script コマンド
===== Script コマンド
include::includes/autogen_user_commands.ja.adoc[tag=script_commands]
[[python_commands]]
==== Python コマンド
include::includes/autogen_user_commands.ja.adoc[tag=python_commands]
[[perl_commands]]
==== Perl コマンド
include::includes/autogen_user_commands.ja.adoc[tag=perl_commands]
[[ruby_commands]]
==== Ruby コマンド
include::includes/autogen_user_commands.ja.adoc[tag=ruby_commands]
[[lua_commands]]
==== Lua コマンド
include::includes/autogen_user_commands.ja.adoc[tag=lua_commands]
[[tcl_commands]]
==== Tcl コマンド
include::includes/autogen_user_commands.ja.adoc[tag=tcl_commands]
[[guile_commands]]
==== Guile コマンド
include::includes/autogen_user_commands.ja.adoc[tag=guile_commands]
[[javascript_commands]]
==== JavaScript コマンド
include::includes/autogen_user_commands.ja.adoc[tag=javascript_commands]
[[php_commands]]
==== PHP コマンド
include::includes/autogen_user_commands.ja.adoc[tag=php_commands]
[[script_options]]
==== スクリプトオプション
===== スクリプトオプション
_script.conf_ ファイル内のセクション:
@@ -5136,8 +5149,52 @@ _script.conf_ ファイル内のセクション:
include::includes/autogen_user_options.ja.adoc[tag=script_options]
// TRANSLATION MISSING
[[scripting_plugins]]
==== Scripting plugins
[[python_commands]]
===== Python コマンド
include::includes/autogen_user_commands.ja.adoc[tag=python_commands]
[[perl_commands]]
===== Perl コマンド
include::includes/autogen_user_commands.ja.adoc[tag=perl_commands]
[[ruby_commands]]
===== Ruby コマンド
include::includes/autogen_user_commands.ja.adoc[tag=ruby_commands]
[[lua_commands]]
===== Lua コマンド
include::includes/autogen_user_commands.ja.adoc[tag=lua_commands]
[[tcl_commands]]
===== Tcl コマンド
include::includes/autogen_user_commands.ja.adoc[tag=tcl_commands]
[[guile_commands]]
===== Guile コマンド
include::includes/autogen_user_commands.ja.adoc[tag=guile_commands]
[[javascript_commands]]
===== JavaScript コマンド
include::includes/autogen_user_commands.ja.adoc[tag=javascript_commands]
[[php_commands]]
===== PHP コマンド
include::includes/autogen_user_commands.ja.adoc[tag=php_commands]
[[python_options]]
==== Python オプション
===== Python オプション
_python.conf_ ファイル内のセクション:
@@ -5152,7 +5209,7 @@ _python.conf_ ファイル内のセクション:
include::includes/autogen_user_options.ja.adoc[tag=python_options]
[[perl_options]]
==== Perl オプション
===== Perl オプション
_perl.conf_ ファイル内のセクション:
@@ -5167,7 +5224,7 @@ _perl.conf_ ファイル内のセクション:
include::includes/autogen_user_options.ja.adoc[tag=perl_options]
[[ruby_options]]
==== Ruby オプション
===== Ruby オプション
_ruby.conf_ ファイル内のセクション:
@@ -5182,7 +5239,7 @@ _ruby.conf_ ファイル内のセクション:
include::includes/autogen_user_options.ja.adoc[tag=ruby_options]
[[lua_options]]
==== Lua オプション
===== Lua オプション
_lua.conf_ ファイル内のセクション:
@@ -5197,7 +5254,7 @@ _lua.conf_ ファイル内のセクション:
include::includes/autogen_user_options.ja.adoc[tag=lua_options]
[[tcl_options]]
==== Tcl オプション
===== Tcl オプション
_tcl.conf_ ファイル内のセクション:
@@ -5212,7 +5269,7 @@ _tcl.conf_ ファイル内のセクション:
include::includes/autogen_user_options.ja.adoc[tag=tcl_options]
[[guile_options]]
==== Guile オプション
===== Guile オプション
_guile.conf_ ファイル内のセクション:
@@ -5227,7 +5284,7 @@ _guile.conf_ ファイル内のセクション:
include::includes/autogen_user_options.ja.adoc[tag=guile_options]
[[javascript_options]]
==== Javascript オプション
===== Javascript オプション
_javascript.conf_ ファイル内のセクション:
@@ -5242,7 +5299,7 @@ _javascript.conf_ ファイル内のセクション:
include::includes/autogen_user_options.ja.adoc[tag=javascript_options]
[[php_options]]
==== PHP オプション
===== PHP オプション
_php.conf_ ファイル内のセクション:
+125 -68
View File
@@ -232,13 +232,13 @@ Lista popularnych opcji:
Kompilacja <<fset,wtyczki fset>>.
| ENABLE_GUILE | `ON`, `OFF` | ON |
Kompilacja <<scripts_plugins,wtyczki guile>> (Scheme).
Kompilacja <<scripting_plugins,wtyczki guile>> (Scheme).
| ENABLE_IRC | `ON`, `OFF` | ON |
Kompilacja <<irc,wtyczki IRC>>.
| ENABLE_JAVASCRIPT | `ON`, `OFF` | OFF |
Kompilacja <<scripts_plugins,wtyczki javascript>>.
Kompilacja <<scripting_plugins,wtyczki javascript>>.
| ENABLE_LARGEFILE | `ON`, `OFF` | ON |
Wsparcie dla dużych plików.
@@ -247,7 +247,7 @@ Lista popularnych opcji:
Kompilacja <<buffer_logging,wtyczki logger>>.
| ENABLE_LUA | `ON`, `OFF` | ON |
Kompilacja <<scripts_plugins,wtyczki lua>>.
Kompilacja <<scripting_plugins,wtyczki lua>>.
| ENABLE_NCURSES | `ON`, `OFF` | ON |
Kompilacja interfejsu Ncurses.
@@ -256,35 +256,35 @@ Lista popularnych opcji:
Włączenie NLS (tłumaczenia).
| ENABLE_PERL | `ON`, `OFF` | ON |
Kompilacja <<scripts_plugins,wtyczki perl>>.
Kompilacja <<scripting_plugins,wtyczki perl>>.
| ENABLE_PHP | `ON`, `OFF` | ON |
Kompilacja <<scripts_plugins,wtyczki PHP>>.
Kompilacja <<scripting_plugins,wtyczki PHP>>.
| ENABLE_PYTHON | `ON`, `OFF` | ON |
Kompilacja <<scripts_plugins,wtyczki Python>>.
Kompilacja <<scripting_plugins,wtyczki Python>>.
| ENABLE_PYTHON2 | `ON`, `OFF` | OFF |
Kompilacja <<scripts_plugins,wtyczki Python>> z użyciem Pythona 2 zamiast Pythona 3.
Kompilacja <<scripting_plugins,wtyczki Python>> z użyciem Pythona 2 zamiast Pythona 3.
| ENABLE_RELAY | `ON`, `OFF` | ON |
Kompilacja <<relay,wtyczki relay>>.
| ENABLE_RUBY | `ON`, `OFF` | ON |
Kompilacja <<scripts_plugins,wtyczki ruby>>.
Kompilacja <<scripting_plugins,wtyczki ruby>>.
| ENABLE_SCRIPT | `ON`, `OFF` | ON |
Kompilacja <<scripts_plugins,wtyczki script>>.
Kompilacja <<script_manager,wtyczki script>>.
| ENABLE_SCRIPTS | `ON`, `OFF` | ON |
Kompilacja <<scripts_plugins,wtyczek skryptowych>> (Python, Perl, Ruby, Lua,
Kompilacja <<scripting_plugins,wtyczek skryptowych>> (Python, Perl, Ruby, Lua,
Tcl, Guile, JavaScript, PHP).
| ENABLE_SPELL | `ON`, `OFF` | ON |
Kompilacja <<spell_checking,wtyczki spell>>.
| ENABLE_TCL | `ON`, `OFF` | ON |
Kompilacja <<scripts_plugins,wtyczki tcl>>.
Kompilacja <<scripting_plugins,wtyczki tcl>>.
| ENABLE_TRIGGER | `ON`, `OFF` | ON |
Kompilacja <<trigger,wtyczki trigger>>.
@@ -1880,7 +1880,8 @@ Poniższe skróty i akcje mogą zostać użyte w buforze fset (zobacz <<fset,wty
[[key_bindings_script_buffer]]
=== Script buffer
Te skróty klawiszowe i akcje mogą zostać użyte w oknie skryptów (zobacz <<scripts_plugins,wtyczka script>>).
// TRANSLATION MISSING
Te skróty klawiszowe i akcje mogą zostać użyte w oknie skryptów (zobacz <<script_manager,script manager>>).
[width="100%",cols="^.^3,^.^2,.^8,.^5",options="header"]
|===
@@ -4987,68 +4988,80 @@ Więcej informacji o wtyczkach i tworzeniu skryptów (przez API), można znaleź
link:weechat_plugin_api.en.html[Opisie API wtyczek] (Angielski) i
link:weechat_scripting.pl.html[Poradniku pisania skryptów].
[[scripts_plugins]]
[[scripts]]
=== Skryptowe
WeeChat posiada 8 wtyczek skryptowych: Python, Perl, Ruby, Lua, Tcl, Guile
(scheme), JavaScript i PHP.
Wtyczki te potrafią ładować, wykonywać i wyładowywać skrypty w tych językach.
Inna wtyczka nazwana "script" jest managerem skryptów i jest używana do
ładowania/wyładowywania skryptów w dowolnym języku, oraz do instalacji/usuwania
skryptów z repozytorium skryptów WeeChat, dostępnego pod adresem:
https://weechat.org/scripts
Więcej informacji o tym jak pisać skrypty lub o API WeeChat dla skryptów można
znaleźć w link:weechat_scripting.pl.html[Poradniku pisania skryptów].
// TRANSLATION MISSING
[[script_manager]]
==== Script manager
// TRANSLATION MISSING
The script manager (command <<command_script_script,/script>>) is used to
load/unload scripts of any language, and install/remove scripts of WeeChat
scripts repository, which are visible at this URL: https://weechat.org/scripts
// TRANSLATION MISSING
For privacy considerations, the download of scripts is disabled by default. +
To enable it, type this command:
----
/set script.scripts.download_enabled on
----
// TRANSLATION MISSING
Then you can download the list of scripts and display them in a new buffer
with the <<command_script_script,/script>> command:
[subs="quotes,attributes"]
:x: *
....
┌──────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│1.weechat│368/368 scripts (filter: {x}) | Sort: i,p,n | Alt+key/input: i=install, r=remove, l=load, L=reload, u=│
│2.scripts│{x} autosort.py 3.9 2020-10-11 | Automatically keep buffers grouped by server│
│ │{x} multiline.pl 0.6.3 2016-01-02 | Multi-line edit box, also supports editing o│
│ │{x} highmon.pl 2.7 2020-06-21 | Adds a highlight monitor buffer. │
│ │##{x}ia r grep.py 0.8.5 0.8.5 2021-05-11 | Search regular expression in buffers or log ##│
│ │{x} autojoin.py 0.3.1 2019-10-06 | Configure autojoin for all servers according│
│ │{x} colorize_nicks.py 28 2021-03-06 | Use the weechat nick colors in the chat area│
│ │{x}ia r go.py 2.7 2.7 2021-05-26 | Quick jump to buffers. │
│ │{x} text_item.py 0.9 2019-05-25 | Add bar items with plain text. │
│ │ aesthetic.py 1.0.6 2020-10-25 | Make messages more A E S T H E T I C A L L Y│
│ │ aformat.py 0.2 2018-06-21 | Alternate text formatting, useful for relays│
│ │ alternatetz.py 0.3 2018-11-11 | Add an alternate timezone item. │
│ │ amarok2.pl 0.7 2012-05-08 | Amarok 2 control and now playing script. │
│ │ amqp_notify.rb 0.1 2011-01-12 | Send private messages and highlights to an A│
│ │ announce_url_title.py 19 2021-06-05 | Announce URL title to user or to channel. │
│ │ anotify.py 1.0.2 2020-05-16 | Notifications of private messages, highlight│
│ │ anti_password.py 1.2.1 2021-03-13 | Prevent a password from being accidentally s│
│ │ apply_corrections.py 1.3 2018-06-21 | Display corrected text when user sends s/typ│
│ │ arespond.py 0.1.1 2020-10-11 | Simple autoresponder. │
│ │ atcomplete.pl 0.001 2016-10-29 | Tab complete nicks when prefixed with "@". │
│ │ audacious.pl 0.3 2009-05-03 | Display which song Audacious is currently pl│
│ │ auth.rb 0.3 2014-05-30 | Automatically authenticate with NickServ usi│
│ │ auto_away.py 0.4 2018-11-11 | A simple auto-away script. │
│ │ autoauth.py 1.3 2021-11-07 | Permits to auto-authenticate when changing n│
│ │ autobump.py 0.1.0 2019-06-14 | Bump buffers upon activity. │
│ │ autoconf.py 0.4 2021-05-11 | Auto save/load changed options in a .weerc f│
│ │ autoconnect.py 0.3.3 2019-10-06 | Reopen servers and channels opened last time│
│ │[12:55] [2] [script] 2:scripts │
│ │█ │
└──────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
....
[[script_commands]]
==== Komendy wtyczki script
===== Komendy wtyczki script
include::includes/autogen_user_commands.pl.adoc[tag=script_commands]
[[python_commands]]
==== Komendy wtyczki python
include::includes/autogen_user_commands.pl.adoc[tag=python_commands]
[[perl_commands]]
==== Komendy wtyczki perl
include::includes/autogen_user_commands.pl.adoc[tag=perl_commands]
[[ruby_commands]]
==== Komendy wtyczki ruby
include::includes/autogen_user_commands.pl.adoc[tag=ruby_commands]
[[lua_commands]]
==== Komendy wtyczki lua
include::includes/autogen_user_commands.pl.adoc[tag=lua_commands]
[[tcl_commands]]
==== Komendy wtyczki tcl
include::includes/autogen_user_commands.pl.adoc[tag=tcl_commands]
[[guile_commands]]
==== Komendy wtyczki guile
include::includes/autogen_user_commands.pl.adoc[tag=guile_commands]
[[javascript_commands]]
==== Komendy wtyczki javascript
include::includes/autogen_user_commands.pl.adoc[tag=javascript_commands]
[[php_commands]]
==== Komendy wtyczki php
include::includes/autogen_user_commands.pl.adoc[tag=php_commands]
[[script_options]]
==== Opcje wtyczki script
===== Opcje wtyczki script
Sekcje w pliku _script.conf_:
@@ -5064,8 +5077,52 @@ Opcje:
include::includes/autogen_user_options.pl.adoc[tag=script_options]
// TRANSLATION MISSING
[[scripting_plugins]]
==== Scripting plugins
[[python_commands]]
===== Komendy wtyczki python
include::includes/autogen_user_commands.pl.adoc[tag=python_commands]
[[perl_commands]]
===== Komendy wtyczki perl
include::includes/autogen_user_commands.pl.adoc[tag=perl_commands]
[[ruby_commands]]
===== Komendy wtyczki ruby
include::includes/autogen_user_commands.pl.adoc[tag=ruby_commands]
[[lua_commands]]
===== Komendy wtyczki lua
include::includes/autogen_user_commands.pl.adoc[tag=lua_commands]
[[tcl_commands]]
===== Komendy wtyczki tcl
include::includes/autogen_user_commands.pl.adoc[tag=tcl_commands]
[[guile_commands]]
===== Komendy wtyczki guile
include::includes/autogen_user_commands.pl.adoc[tag=guile_commands]
[[javascript_commands]]
===== Komendy wtyczki javascript
include::includes/autogen_user_commands.pl.adoc[tag=javascript_commands]
[[php_commands]]
===== Komendy wtyczki php
include::includes/autogen_user_commands.pl.adoc[tag=php_commands]
[[python_options]]
==== Opcje dla języka Python
===== Opcje dla języka Python
Sekcje w pliku _python.conf_:
@@ -5080,7 +5137,7 @@ Opcje:
include::includes/autogen_user_options.pl.adoc[tag=python_options]
[[perl_options]]
==== Opcje dla języka Perl
===== Opcje dla języka Perl
Sekcje w pliku _perl.conf_:
@@ -5095,7 +5152,7 @@ Opcje:
include::includes/autogen_user_options.pl.adoc[tag=perl_options]
[[ruby_options]]
==== Opcje dla języka Ruby
===== Opcje dla języka Ruby
Sekcje w pliku _ruby.conf_:
@@ -5110,7 +5167,7 @@ Opcje:
include::includes/autogen_user_options.pl.adoc[tag=ruby_options]
[[lua_options]]
==== Opcje dla języka Lua
===== Opcje dla języka Lua
Sekcje w pliku _lua.conf_:
@@ -5125,7 +5182,7 @@ Opcje:
include::includes/autogen_user_options.pl.adoc[tag=lua_options]
[[tcl_options]]
==== Opcje dla języka Tcl
===== Opcje dla języka Tcl
Sekcje w pliku _tcl.conf_:
@@ -5140,7 +5197,7 @@ Opcje:
include::includes/autogen_user_options.pl.adoc[tag=tcl_options]
[[guile_options]]
==== Opcje dla języka Guile
===== Opcje dla języka Guile
Sekcje w pliku _guile.conf_:
@@ -5155,7 +5212,7 @@ Opcje:
include::includes/autogen_user_options.pl.adoc[tag=guile_options]
[[javascript_options]]
==== Opcje dla języka Javascript
===== Opcje dla języka Javascript
Sekcje w pliku _javascript.conf_:
@@ -5170,7 +5227,7 @@ Opcje:
include::includes/autogen_user_options.pl.adoc[tag=javascript_options]
[[php_options]]
==== Opcje dla języka PHP
===== Opcje dla języka PHP
Sekcje w pliku _php.conf_:
+125 -65
View File
@@ -210,13 +210,13 @@ $ make install
Компајлира <<fset,Fset додатак>>.
| ENABLE_GUILE | `ON`, `OFF` | ON |
Компајлира <<scripts_plugins,Guile додатак>> (Scheme).
Компајлира <<scripting_plugins,Guile додатак>> (Scheme).
| ENABLE_IRC | `ON`, `OFF` | ON |
Компајлира <<irc,IRC додатак>>.
| ENABLE_JAVASCRIPT | `ON`, `OFF` | OFF |
Компајлира <<scripts_plugins,JavaScript додатак>>.
Компајлира <<scripting_plugins,JavaScript додатак>>.
| ENABLE_LARGEFILE | `ON`, `OFF` | ON |
Подршка за велике фајлове.
@@ -225,7 +225,7 @@ $ make install
Компајлира <<buffer_logging,Logger додатак>>.
| ENABLE_LUA | `ON`, `OFF` | ON |
Компајлира <<scripts_plugins,Lua додатак>>.
Компајлира <<scripting_plugins,Lua додатак>>.
| ENABLE_NCURSES | `ON`, `OFF` | ON |
Компајлира Ncurses интерфејс.
@@ -234,35 +234,35 @@ $ make install
Укључује NLS (преводе).
| ENABLE_PERL | `ON`, `OFF` | ON |
Компајлира <<scripts_plugins,Perl додатак>>.
Компајлира <<scripting_plugins,Perl додатак>>.
| ENABLE_PHP | `ON`, `OFF` | ON |
Компајлира <<scripts_plugins,PHP додатак>>.
Компајлира <<scripting_plugins,PHP додатак>>.
| ENABLE_PYTHON | `ON`, `OFF` | ON |
Компајлира <<scripts_plugins,Python додатак>>.
Компајлира <<scripting_plugins,Python додатак>>.
| ENABLE_PYTHON2 | `ON`, `OFF` | OFF |
Компајлира <<scripts_plugins,Python додатак>> користећи Python 2 уместо Python 3.
Компајлира <<scripting_plugins,Python додатак>> користећи Python 2 уместо Python 3.
| ENABLE_RELAY | `ON`, `OFF` | ON |
Компајлира <<relay,Relay додатак>>.
| ENABLE_RUBY | `ON`, `OFF` | ON |
Компајлира <<scripts_plugins,Ruby додатак>>.
Компајлира <<scripting_plugins,Ruby додатак>>.
| ENABLE_SCRIPT | `ON`, `OFF` | ON |
Компајлира <<scripts_plugins,Script додатак>>.
Компајлира <<script_manager,Script додатак>>.
| ENABLE_SCRIPTS | `ON`, `OFF` | ON |
Компајлира <<scripts_plugins,script додатке>> (Python, Perl, Ruby, Lua, Tcl,
Компајлира <<scripting_plugins,script додатке>> (Python, Perl, Ruby, Lua, Tcl,
Guile, JavaScript, PHP).
| ENABLE_SPELL | `ON`, `OFF` | ON |
Компајлира <<spell_checking,Spell додатак>>.
| ENABLE_TCL | `ON`, `OFF` | ON |
Компајлира <<scripts_plugins,Tcl додатак>>.
Компајлира <<scripting_plugins,Tcl додатак>>.
| ENABLE_TRIGGER | `ON`, `OFF` | ON |
Компајлира <<trigger,Trigger додатак>>.
@@ -1770,7 +1770,8 @@ These mouse actions are possible only if mouse is enabled with key kbd:[Alt+m]
[[key_bindings_script_buffer]]
=== Script buffer
Ови тастери и акције се користе у script баферу (погледајте <<scripts_plugins,Script додатак>>).
// TRANSLATION MISSING
Ови тастери и акције се користе у script баферу (погледајте <<script_manager,script manager>>).
[width="100%", cols="^.^3,^.^2,.^8,.^5", options="header"]
|===
@@ -4628,62 +4629,77 @@ WeeChat has a modular design and can be extended with plugins and scripts.
За више информација о развоју додатака или скрипти (помоћу API), молимо вас да прочитате link:weechat_plugin_api.sr.html[WeeChat референтно упутство за API додатака] или link:weechat_scripting.sr.html[WeeChat водич за скриптовање].
[[scripts_plugins]]
[[scripts]]
=== Скрипте
Програм WeeChat нуди 8 додатака за скриптовање: Python, Perl, Ruby, Lua, Tcl, Guile (scheme), JavaScript и PHP. Ови додаци могу да учитају, изврше и уклоне из меморије скрипте за ове језике.
Још један додатак, под именом „script” је менаџер скрипти и користи се за учитавање/уклањање из меморије скрипти на било ком језику, и инсталацију/брисање скрипти WeeChat репозиторијума, које су видљиве на следећој URL адреси: https://weechat.org/scripts
За више информација о функцијама које постоје у API, молимо вас да прочитате link:weechat_plugin_api.sr.html[WeeChat водич за скриптовање].
// TRANSLATION MISSING
[[script_manager]]
==== Script manager
// TRANSLATION MISSING
The script manager (command <<command_script_script,/script>>) is used to
load/unload scripts of any language, and install/remove scripts of WeeChat
scripts repository, which are visible at this URL: https://weechat.org/scripts
// TRANSLATION MISSING
For privacy considerations, the download of scripts is disabled by default. +
To enable it, type this command:
----
/set script.scripts.download_enabled on
----
// TRANSLATION MISSING
Then you can download the list of scripts and display them in a new buffer
with the <<command_script_script,/script>> command:
[subs="quotes,attributes"]
:x: *
....
┌──────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│1.weechat│368/368 scripts (filter: {x}) | Sort: i,p,n | Alt+key/input: i=install, r=remove, l=load, L=reload, u=│
│2.scripts│{x} autosort.py 3.9 2020-10-11 | Automatically keep buffers grouped by server│
│ │{x} multiline.pl 0.6.3 2016-01-02 | Multi-line edit box, also supports editing o│
│ │{x} highmon.pl 2.7 2020-06-21 | Adds a highlight monitor buffer. │
│ │##{x}ia r grep.py 0.8.5 0.8.5 2021-05-11 | Search regular expression in buffers or log ##│
│ │{x} autojoin.py 0.3.1 2019-10-06 | Configure autojoin for all servers according│
│ │{x} colorize_nicks.py 28 2021-03-06 | Use the weechat nick colors in the chat area│
│ │{x}ia r go.py 2.7 2.7 2021-05-26 | Quick jump to buffers. │
│ │{x} text_item.py 0.9 2019-05-25 | Add bar items with plain text. │
│ │ aesthetic.py 1.0.6 2020-10-25 | Make messages more A E S T H E T I C A L L Y│
│ │ aformat.py 0.2 2018-06-21 | Alternate text formatting, useful for relays│
│ │ alternatetz.py 0.3 2018-11-11 | Add an alternate timezone item. │
│ │ amarok2.pl 0.7 2012-05-08 | Amarok 2 control and now playing script. │
│ │ amqp_notify.rb 0.1 2011-01-12 | Send private messages and highlights to an A│
│ │ announce_url_title.py 19 2021-06-05 | Announce URL title to user or to channel. │
│ │ anotify.py 1.0.2 2020-05-16 | Notifications of private messages, highlight│
│ │ anti_password.py 1.2.1 2021-03-13 | Prevent a password from being accidentally s│
│ │ apply_corrections.py 1.3 2018-06-21 | Display corrected text when user sends s/typ│
│ │ arespond.py 0.1.1 2020-10-11 | Simple autoresponder. │
│ │ atcomplete.pl 0.001 2016-10-29 | Tab complete nicks when prefixed with "@". │
│ │ audacious.pl 0.3 2009-05-03 | Display which song Audacious is currently pl│
│ │ auth.rb 0.3 2014-05-30 | Automatically authenticate with NickServ usi│
│ │ auto_away.py 0.4 2018-11-11 | A simple auto-away script. │
│ │ autoauth.py 1.3 2021-11-07 | Permits to auto-authenticate when changing n│
│ │ autobump.py 0.1.0 2019-06-14 | Bump buffers upon activity. │
│ │ autoconf.py 0.4 2021-05-11 | Auto save/load changed options in a .weerc f│
│ │ autoconnect.py 0.3.3 2019-10-06 | Reopen servers and channels opened last time│
│ │[12:55] [2] [script] 2:scripts │
│ │█ │
└──────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
....
[[script_commands]]
==== Script команде
===== Script команде
include::includes/autogen_user_commands.sr.adoc[tag=script_commands]
[[python_commands]]
==== Python команде
include::includes/autogen_user_commands.sr.adoc[tag=python_commands]
[[perl_commands]]
==== Perl команде
include::includes/autogen_user_commands.sr.adoc[tag=perl_commands]
[[ruby_commands]]
==== Ruby команде
include::includes/autogen_user_commands.sr.adoc[tag=ruby_commands]
[[lua_commands]]
==== Lua команде
include::includes/autogen_user_commands.sr.adoc[tag=lua_commands]
[[tcl_commands]]
==== Tcl команде
include::includes/autogen_user_commands.sr.adoc[tag=tcl_commands]
[[guile_commands]]
==== Guile команде
include::includes/autogen_user_commands.sr.adoc[tag=guile_commands]
[[javascript_commands]]
==== JavaScript команде
include::includes/autogen_user_commands.sr.adoc[tag=javascript_commands]
[[php_commands]]
==== PHP команде
include::includes/autogen_user_commands.sr.adoc[tag=php_commands]
[[script_options]]
==== Script опције
===== Script опције
Одељци у фајлу _script.conf_:
@@ -4699,8 +4715,52 @@ include::includes/autogen_user_commands.sr.adoc[tag=php_commands]
include::includes/autogen_user_options.sr.adoc[tag=script_options]
// TRANSLATION MISSING
[[scripting_plugins]]
==== Scripting plugins
[[python_commands]]
===== Python команде
include::includes/autogen_user_commands.sr.adoc[tag=python_commands]
[[perl_commands]]
===== Perl команде
include::includes/autogen_user_commands.sr.adoc[tag=perl_commands]
[[ruby_commands]]
===== Ruby команде
include::includes/autogen_user_commands.sr.adoc[tag=ruby_commands]
[[lua_commands]]
===== Lua команде
include::includes/autogen_user_commands.sr.adoc[tag=lua_commands]
[[tcl_commands]]
===== Tcl команде
include::includes/autogen_user_commands.sr.adoc[tag=tcl_commands]
[[guile_commands]]
===== Guile команде
include::includes/autogen_user_commands.sr.adoc[tag=guile_commands]
[[javascript_commands]]
===== JavaScript команде
include::includes/autogen_user_commands.sr.adoc[tag=javascript_commands]
[[php_commands]]
===== PHP команде
include::includes/autogen_user_commands.sr.adoc[tag=php_commands]
[[python_options]]
==== Python опције
===== Python опције
Одељци у фајлу _python.conf_:
@@ -4715,7 +4775,7 @@ include::includes/autogen_user_options.sr.adoc[tag=script_options]
include::includes/autogen_user_options.sr.adoc[tag=python_options]
[[perl_options]]
==== Perl опције
===== Perl опције
Одељци у фајлу _perl.conf_:
@@ -4730,7 +4790,7 @@ include::includes/autogen_user_options.sr.adoc[tag=python_options]
include::includes/autogen_user_options.sr.adoc[tag=perl_options]
[[ruby_options]]
==== Ruby опције
===== Ruby опције
Одељци у фајлу _ruby.conf_:
@@ -4745,7 +4805,7 @@ include::includes/autogen_user_options.sr.adoc[tag=perl_options]
include::includes/autogen_user_options.sr.adoc[tag=ruby_options]
[[lua_options]]
==== Lua опције
===== Lua опције
Одељци у фајлу _lua.conf_:
@@ -4760,7 +4820,7 @@ include::includes/autogen_user_options.sr.adoc[tag=ruby_options]
include::includes/autogen_user_options.sr.adoc[tag=lua_options]
[[tcl_options]]
==== Tcl опције
===== Tcl опције
Одељци у фајлу _tcl.conf_:
@@ -4775,7 +4835,7 @@ include::includes/autogen_user_options.sr.adoc[tag=lua_options]
include::includes/autogen_user_options.sr.adoc[tag=tcl_options]
[[guile_options]]
==== Guile опције
===== Guile опције
Одељци у фајлу _guile.conf_:
@@ -4790,7 +4850,7 @@ include::includes/autogen_user_options.sr.adoc[tag=tcl_options]
include::includes/autogen_user_options.sr.adoc[tag=guile_options]
[[javascript_options]]
==== Javascript опције
===== Javascript опције
Одељци у фајлу _javascript.conf_:
@@ -4805,7 +4865,7 @@ include::includes/autogen_user_options.sr.adoc[tag=guile_options]
include::includes/autogen_user_options.sr.adoc[tag=javascript_options]
[[php_options]]
==== PHP опције
===== PHP опције
Одељци у фајлу _php.conf_: