summaryrefslogtreecommitdiff
path: root/doc/it/autogen/user/weechat_commands.asciidoc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/it/autogen/user/weechat_commands.asciidoc')
-rw-r--r--doc/it/autogen/user/weechat_commands.asciidoc90
1 files changed, 55 insertions, 35 deletions
diff --git a/doc/it/autogen/user/weechat_commands.asciidoc b/doc/it/autogen/user/weechat_commands.asciidoc
index 5186aa026..22db5d405 100644
--- a/doc/it/autogen/user/weechat_commands.asciidoc
+++ b/doc/it/autogen/user/weechat_commands.asciidoc
@@ -186,18 +186,30 @@ command: command to execute (a '/' is automatically added if not found at beginn
move up|down|left|right|area_up|area_down|area_left|area_right
stop
- go: sposta il cursore su un'area di chat, una barra (usando il nome della barra) o le coordinate "x.y"
-move: sposta il cursore con direzione
-stop: interrompe la modalità cursore
+ go: move cursor to chat area, a bar (using bar name) or coordinates "x,y"
+move: move cursor with direction
+stop: stop cursor mode
-Senza argomenti, il comando abilita/disabilita la modalità cursore
+Without argument, this command toggles cursor mode.
-Quando il mouse è abilitato (consultare /help mouse), per default il click con il tasto centrale avvia la modalità cursore in questa posizione.
+When mouse is enabled (see /help mouse), by default a middle click will start cursor mode at this point.
-Esempi:
- vai alla lista nick:
+Default keys in cursor mode on chat messages:
+ m quote message
+ q quote prefix + message
+ Q quote time + prefix + message
+
+Default keys in cursor mode on nicklist:
+ b ban nick (/ban)
+ k kick nick (/kick)
+ K kick and ban nick (/kickban)
+ q open query with nick (/query)
+ w query information about user (/whois)
+
+Examples:
+ go to nicklist:
/cursor go nicklist
- vai alle coordinate x=10, y=5:
+ go to coordinates x=10, y=5:
/cursor go 10,5
----
@@ -264,22 +276,28 @@ To force a string comparison, add double quotes around each expression, for exam
"50" > "100" ==> 1
Some variables are replaced in expression, using the format ${variable}, variable can be, by order of priority:
- 1. a string with escaped chars (format: "esc:xxx" or "\xxx")
- 2. a string with chars to hide (format: "hide:char,string")
- 3. a color (format: "color:xxx")
- 4. an info (format: "info:name,arguments", arguments are optional)
- 5. an option (format: "file.section.option")
- 6. a local variable in buffer
- 7. a hdata name/variable (the value is automatically converted to string), by default "window" and "buffer" point to current window/buffer.
+ 1. an evaluated sub-string (format: "eval:xxx")
+ 2. a string with escaped chars (format: "esc:xxx" or "\xxx")
+ 3. a string with chars to hide (format: "hide:char,string")
+ 4. a color (format: "color:xxx")
+ 5. an info (format: "info:name,arguments", arguments are optional)
+ 6. current date/time (format: "date" or "date:format")
+ 7. an environment variable (format: "env:XXX")
+ 8. an option (format: "file.section.option")
+ 9. a local variable in buffer
+ 10. a hdata name/variable (the value is automatically converted to string), by default "window" and "buffer" point to current window/buffer.
Format for hdata can be one of following:
hdata.var1.var2...: start with a hdata (pointer must be known), and ask variables one after one (other hdata can be followed)
hdata[list].var1.var2...: start with a hdata using a list, for example:
${buffer[gui_buffers].full_name}: full name of first buffer in linked list of buffers
${plugin[weechat_plugins].name}: name of first plugin in linked list of plugins
+ hdata[pointer].var1.var2...: start with a hdata using a pointer, for example:
+ ${buffer[0x1234abcd].full_name}: full name of the buffer with this pointer (can be used in triggers)
For name of hdata and variables, please look at "Plugin API reference", function "weechat_hdata_get".
Examples (simple strings):
/eval -n ${info:version} ==> 0.4.3
+ /eval -n ${env:HOME} ==> /home/user
/eval -n ${weechat.look.scroll_amount} ==> 3
/eval -n ${window} ==> 0x2549aa0
/eval -n ${window.buffer} ==> 0x2549320
@@ -287,6 +305,7 @@ Examples (simple strings):
/eval -n ${window.buffer.number} ==> 1
/eval -n ${\t} ==> <tab>
/eval -n ${hide:-,${relay.network.password}} ==> --------
+ /eval -n ${date:%H:%M:%S} ==> 07:46:40
Examples (conditions):
/eval -n -c ${window.buffer.number} > 2 ==> 0
@@ -646,29 +665,29 @@ Examples:
del <nome>|-all
set <nome> <opzione> <valore>
- list: elenca tutti i proxy
- add: aggiunge un nuovo proxy
- nome: nome del proxy (deve essere unico)
- tipo: http, socks4 o socks5
- address: IP o nome host
- port: porta
-username: nome utente (opzionale)
-password: password (opzionale)
- del: elimina un proxy (o tutti i proxy con -all)
- set: imposta un valore per la proprietà di un proxy
- option: opzione da modificare (per una lista di opzioni, consultare /set weechat.proxy.<nomeproxy>.*)
- value: nuovo valore per l'opzione
+ list: list all proxies
+ add: add a new proxy
+ name: name of proxy (must be unique)
+ type: http, socks4 or socks5
+ address: IP or hostname
+ port: port
+username: username (optional)
+password: password (optional)
+ del: delete a proxy (or all proxies with -all)
+ set: set a value for a proxy property
+ option: option to change (for options list, look at /set weechat.proxy.<proxyname>.*)
+ value: new value for option
-Esempi:
- crea un proxy http, in esecuzione sull'host locale, porta 8888:
+Examples:
+ add a http proxy, running on local host, port 8888:
/proxy add local http 127.0.0.1 8888
- crea un proxy http usando il protocollo IPv6:
+ add a http proxy using IPv6 protocol:
/proxy add local http ::1 8888
/proxy set local ipv6 on
- crea un proxy socks5 con nomeutente/password:
+ add a socks5 proxy with username/password:
/proxy add myproxy socks5 sample.host.org 3128 myuser mypass
- elimina un proxy:
- /proxy del mioproxy
+ delete a proxy:
+ /proxy del myproxy
----
[[command_weechat_quit]]
@@ -822,8 +841,9 @@ Examples:
[command]*`upgrade`* aggiorna WeeChat senza disconnettere dai server::
----
-/upgrade [<path_del_binario>|-quit]
+/upgrade [-yes] [<path_to_binary>|-quit]
+ -yes: required if option weechat.look.confirm_upgrade is enabled
path_to_binary: path to WeeChat binary (default is current binary)
-dummy: do nothing (option used to prevent accidental completion with "-quit")
-quit: close *ALL* connections, save session and quit WeeChat, which makes possible a delayed restoration (see below)
@@ -913,7 +933,7 @@ Esempi:
scroll_horiz [-window <number>] [+/-]<value>[%]
scroll_up|scroll_down|scroll_top|scroll_bottom|scroll_beyond_end|scroll_previous_highlight|scroll_next_highlight|scroll_unread [-window <number>]
swap [-window <number>] [up|down|left|right]
- zoom[-window <number>]
+ zoom [-window <number>]
bare [<delay>]
list: list opened windows (without argument, this list is displayed)