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

Improve arguments displayed in /help of commands, display all commands with same name (for same command name in many plugins)

This commit is contained in:
Sebastien Helleu
2011-02-04 22:12:19 +01:00
parent 63b8aa1f23
commit 7d433b798f
84 changed files with 10485 additions and 7826 deletions
+7 -1
View File
@@ -1,6 +1,12 @@
div.sectionbody {
font-family: serif,Helvetica,arial;
font-family: serif,Helvetica,arial;
}
h5 {
font-size: 0.95em;
}
span.command {
background: #EEEEFF;
border: solid 1px #BBBBDD;
padding: 0 8px 0 8px;
margin-right: 12px;
}
+29 -30
View File
@@ -1,34 +1,33 @@
• *`/alias`* `[[-completion completion] alias_name [command [arguments]]]`::
[command]*`alias`* Einem Befehl wird ein Alias zugewiesen::
........................................
Einem Befehl wird ein Alias zugewiesen
/alias [-completion <completion>] <alias> [<command> [<arguments>]]
completion: optionale Vervollständigung für einen Alias-Befehl (Standardverhalten: Vervollständigung wird auf den Zielbefehl angewendet)
alias_name: Name des Alias (kann mit Joker "*" beginnen oder enden für Alias-Listing)
command: Name des zuzuordnenden Befehls (WeeChat- oder IRC-Befehl ohne führenden '/', mehrere Befehle müssen durch Semikolon getrennt werden)
arguments: Argumente für Befehl
Ohne Angabe von Argumenten werden alle definierten Alias angezeigt.
Anmerkung: im Befehl können Variablen gesetzt werden, die dann durch den entsprechenden Wert ersetzt werden:
$n: Argument 'n' (zwischen 1 und 9)
$-m: Argumente von 1 bis 'm'
$n-: Argumente von 'n' bis zum letzten Argument
$n-m: Argumente von 'n' bis 'm'
$*: alle Argumente
$~: letztes Argument
$nick: aktueller Nick
$channel: aktueller Channel
$server: aktueller Server
Um ein Alias zu löschen, nutze "/unalias".
Beispiele:
Alias "/split" wird anlegt um damit ein Fenster horizontal zu teilen:
/alias split /window splith
Alias "/hallo" wird angelegt um in allen Channels, außer im #weechat Channel, den Text "Hallo" auszugeben:
/alias hallo /allchan -exclude=#weechat msg * Hallo
Alias "/forcejoin" wird angelegt um den IRC Befehl "forcejoin" mit einer Vervollständigung von /sajoin auszuführen:
/alias -completion %%sajoin forcejoin /quote forcejoin
completion: completion for alias (optional, by default completion is done with target command)
alias: name of alias (can start or end with "*" for alias listing)
command: command name (many commands can be separated by semicolons)
arguments: arguments for command
Without argument, this command lists all defined alias.
Note: in command, special variables are replaced:
$n: argument 'n' (between 1 and 9)
$-m: arguments from 1 to 'm'
$n-: arguments from 'n' to last
$n-m: arguments from 'n' to 'm'
$*: all arguments
$~: last argument
$nick: current nick
$channel: current channel
$server: current server
To remove an alias, use command /unalias.
Examples:
alias /split to split window horizontally:
/alias split /window splith
alias /hello to say "hello" on all channels but not on #weechat:
/alias hello /allchan -exclude=#weechat msg * hello
alias /forcejoin to send IRC command "forcejoin" with completion of /sajoin:
/alias -completion %%sajoin forcejoin /quote forcejoin
........................................
+11 -9
View File
@@ -1,13 +1,15 @@
&bull; *`/aspell`* `dictlist | enable lang | disable | addword [lang] word`::
[command]*`aspell`* Konfiguration für aspell-Erweiterung::
........................................
Konfiguration für aspell-Erweiterung
/aspell dictlist
enable <lang>
disable
addword [<lang>] <word>
dictlist: listet installierte Wörterbücher auf
enable: aktiviert aspell in aktuellem Buffer [lang = Wörterbuch)
disable: deaktiviert aspell in aktuellem Buffer
addword: fügt ein Wort in das persönliche Wörterbuch von aspell hinzu
Eingaben die mit '/' beginnen werden nicht überprüft, außer bei einigen Befehle.
dictlist: listet installierte Wörterbücher auf
enable: aktiviert aspell in aktuellem Buffer [lang = Wörterbuch)
disable: deaktiviert aspell in aktuellem Buffer
addword: fügt ein Wort in das persönliche Wörterbuch von aspell hinzu
Eingaben die mit '/' beginnen werden nicht überprüft, außer bei einigen Befehle.
........................................
+7 -7
View File
@@ -1,11 +1,11 @@
&bull; *`/charset`* `[[dekodiere | kodieren] Zeichensatz] | [Reset]`::
[command]*`charset`* ändere Zeichensatz für aktuellen Buffer::
........................................
ändere Zeichensatz für aktuellen Buffer
/charset decode|encode <charset>
reset
decode: ändere Zeichensatz zum dekodieren
encode: ändere Zeichensatz zum kodieren
charset: wähle neuen Zeichensatz für aktuellen Buffer
reset: setze im aktuellen Buffer den Zeichensatz zurück
decode: ändere Zeichensatz zum dekodieren
encode: ändere Zeichensatz zum kodieren
charset: wähle neuen Zeichensatz für aktuellen Buffer
reset: setze im aktuellen Buffer den Zeichensatz zurück
........................................
+18 -28
View File
@@ -1,42 +1,32 @@
&bull; *`/demo_buffer`* `Name`::
[command]*`demo_buffer`* Öffne einen neuen Buffer::
........................................
Öffne einen neuen Buffer
/demo_buffer <name>
........................................
&bull; *`/demo_buffer_set`* `Eigenschaft eines Wertes`::
[command]*`demo_info`* Hole eine Info und zeige sie an::
........................................
Bestimme eine Eigenschaft des Buffers
/demo_info <info> [<arguments>]
Info: Information die dargestellt werden soll
Argumente: optionale Argumente für Info
Wird der Befehl ohne Argumente aufgerufen werden alle verfügbaren Informationen angezeigt
........................................
&bull; *`/demo_info`* `[Info [Argumente]]`::
[command]*`demo_infolist`* Hole eine Infolist und zeige sie an::
........................................
Hole eine Info und zeige sie an
/demo_infolist <infolist> [<arguments>]
Info: Information die dargestellt werden soll
Argumente: optionale Argumente für Info
Wird der Befehl ohne Argumente aufgerufen werden alle verfügbaren Informationen angezeigt
Infolist: Infoliste die dargestellt werden soll
Argumente: optionale Argumente für Infoliste
Wird der Befehl ohne Argumente aufgerufen werden alle verfügbaren Informationen der Infoliste angezeigt
........................................
&bull; *`/demo_infolist`* `[Infolist [Argumente]]`::
[command]*`demo_printf`* Gibt ein paar Nachrichten im aktuellen Buffer aus::
........................................
Hole eine Infolist und zeige sie an
/demo_printf <text>
Infolist: Infoliste die dargestellt werden soll
Argumente: optionale Argumente für Infoliste
Wird der Befehl ohne Argumente aufgerufen werden alle verfügbaren Informationen der Infoliste angezeigt
........................................
&bull; *`/demo_printf`* `[Text]`::
........................................
Gibt ein paar Nachrichten im aktuellen Buffer aus
Text: schreibe diesen Text
Text: schreibe diesen Text
........................................
File diff suppressed because it is too large Load Diff
+29 -28
View File
@@ -1,32 +1,33 @@
&bull; *`/logger`* `[list | set level | disable]`::
[command]*`logger`* Konfiguration für "logger" Erweiterung (dient zum protokollieren der Buffer)::
........................................
Konfiguration für "logger" Erweiterung (dient zum protokollieren der Buffer)
/logger list
set <level>
disable
list: zeigt, für geöffnete Buffer, den Status der Protokollierung an
set: legt den Level fest, nach dem der aktuelle Buffer protokolliert werden soll
level: legt fest, welche Nachrichten protokolliert werden sollen (0 = nichts protokollieren, 1 = nur die wichtigsten Nachrichten protokollieren .. 9 = protokolliere alle Nachrichten)
disable: die Protokollierung wird für den aktuellen Buffer ausgeschaltet (der Level wird auf 0 gestellt)
Die Optionen "logger.level.*" und "logger.mask.*" können genutzt werden um den Level der Protokollierung festzulegen und um eine Maske für einen oder mehrere Buffer zu definieren.
Level der Protokollierung, die die IRC Erweiterung unterstützt:
1: Nachrichten von Usern, private Nachrichten und Bemerkungen
2: Wechsel von Nicks (/nick)
3: Nachrichten vom Server
4: join/part/quit Nachrichten
9: alle Nachrichten
Beispiele:
Stellt den Level für den aktuellen Buffer auf 5 ein:
/logger set 5
Die Protokollierung für den aktuellen Buffer wird ausgeschaltet:
/logger disable
Stellt den Level für alle IRC-Buffer auf 3 ein:
/set logger.level.irc 3
Die Protokollierung, für den WeeChat Haupt-Buffer, wird deaktiviert:
/set logger.level.core.weechat 0
Für jeden IRC-Server wird ein separates Verzeichnis erstellt und darin eine eigene Protokoll-Datei, für jeden Channel:
/set logger.mask.irc "$server/$channel.weechatlog"
list: zeigt, für geöffnete Buffer, den Status der Protokollierung an
set: legt den Level fest, nach dem der aktuelle Buffer protokolliert werden soll
level: legt fest, welche Nachrichten protokolliert werden sollen (0 = nichts protokollieren, 1 = nur die wichtigsten Nachrichten protokollieren .. 9 = protokolliere alle Nachrichten)
disable: die Protokollierung wird für den aktuellen Buffer ausgeschaltet (der Level wird auf 0 gestellt)
Die Optionen "logger.level.*" und "logger.mask.*" können genutzt werden um den Level der Protokollierung festzulegen und um eine Maske für einen oder mehrere Buffer zu definieren.
Level der Protokollierung, die die IRC Erweiterung unterstützt:
1: Nachrichten von Usern, private Nachrichten und Bemerkungen
2: Wechsel von Nicks (/nick)
3: Nachrichten vom Server
4: join/part/quit Nachrichten
9: alle Nachrichten
Beispiele:
Stellt den Level für den aktuellen Buffer auf 5 ein:
/logger set 5
Die Protokollierung für den aktuellen Buffer wird ausgeschaltet:
/logger disable
Stellt den Level für alle IRC-Buffer auf 3 ein:
/set logger.level.irc 3
Die Protokollierung, für den WeeChat Haupt-Buffer, wird deaktiviert:
/set logger.level.core.weechat 0
Für jeden IRC-Server wird ein separates Verzeichnis erstellt und darin eine eigene Protokoll-Datei, für jeden Channel:
/set logger.mask.irc "$server/$channel.weechatlog"
........................................
+15 -7
View File
@@ -1,11 +1,19 @@
&bull; *`/lua`* `[list [Name]] | [listfull [Name]] | [load Dateiname] | [autoload] | [reload [Name]] | [unload [Name]]`::
[command]*`lua`* auflisten/installieren/deinstallieren von Skripten::
........................................
auflisten/installieren/deinstallieren von Skripten
/lua list|listfull [<name>]
load <filename>
autoload
reload|unload [<name>]
filename: Skript/Datei welches geladen werden soll
name: Name des Skripts
Wird der Befehl ohne Argumente aufgerufen werden alle geladenen Skripten aufgelistet.
list: list loaded scripts
listfull: list loaded scripts (verbose)
load: load a script
autoload: load all scripts in "autoload" directory
reload: reload a script (if no name given, unload all scripts, then load all scripts in "autoload" directory)
unload: unload a script (if no name given, unload all scripts)
filename: script (file) to load
name: a script name (name used in call to "register" function)
Without argument, this command lists all loaded scripts.
........................................
+15 -7
View File
@@ -1,11 +1,19 @@
&bull; *`/perl`* `[list [Name]] | [listfull [Name]] | [load Dateiname] | [autoload] | [reload [Name]] | [unload [Name]]`::
[command]*`perl`* auflisten/installieren/deinstallieren von Skripten::
........................................
auflisten/installieren/deinstallieren von Skripten
/perl list|listfull [<name>]
load <filename>
autoload
reload|unload [<name>]
filename: Skript/Datei welches geladen werden soll
name: Name des Skripts
Wird der Befehl ohne Argumente aufgerufen werden alle geladenen Skripten aufgelistet.
list: list loaded scripts
listfull: list loaded scripts (verbose)
load: load a script
autoload: load all scripts in "autoload" directory
reload: reload a script (if no name given, unload all scripts, then load all scripts in "autoload" directory)
unload: unload a script (if no name given, unload all scripts)
filename: script (file) to load
name: a script name (name used in call to "register" function)
Without argument, this command lists all loaded scripts.
........................................
+15 -7
View File
@@ -1,11 +1,19 @@
&bull; *`/python`* `[list [Name]] | [listfull [Name]] | [load Dateiname] | [autoload] | [reload [Name]] | [unload [Name]]`::
[command]*`python`* auflisten/installieren/deinstallieren von Skripten::
........................................
auflisten/installieren/deinstallieren von Skripten
/python list|listfull [<name>]
load <filename>
autoload
reload|unload [<name>]
filename: Skript/Datei welches geladen werden soll
name: Name des Skripts
Wird der Befehl ohne Argumente aufgerufen werden alle geladenen Skripten aufgelistet.
list: list loaded scripts
listfull: list loaded scripts (verbose)
load: load a script
autoload: load all scripts in "autoload" directory
reload: reload a script (if no name given, unload all scripts, then load all scripts in "autoload" directory)
unload: unload a script (if no name given, unload all scripts)
filename: script (file) to load
name: a script name (name used in call to "register" function)
Without argument, this command lists all loaded scripts.
........................................
+21 -19
View File
@@ -1,23 +1,25 @@
&bull; *`/relay`* `[list | listfull | add protocol.name port | del protocol.name | raw]`::
[command]*`relay`* Relay-Kontrolle::
........................................
Relay-Kontrolle
/relay list|listfull|listrelay
add <protocol.name> <port>
del <protocol.name>
raw
list: Auflistung der Relay-Clients (nur aktive Relays)
listfull: detaillierte Auflistung der Relay-Clients (alle Relays)
listrelay: Auflistung der Relays (Name und Port)
add: füge ein Relay, für ein Protokoll + Name, hinzu
del: entferne Relay für ein Protokoll + Name
protocol.name: Protokoll und Name des Relays
zur Zeit wird ausschließlich das "irc" Protokoll unterstützt
Beispiel: irc.freenode
port: Port den der Relay nutzen soll
raw: öffnet Buffer mit RAW-Relay Daten
Ohne Angabe von Argumenten werden alle Relay-Clients in einem neuen Buffer dargestellt.
Beispiel:
IRC Proxy für Server "freenode":
/relay add irc.freenode 8000
list: Auflistung der Relay-Clients (nur aktive Relays)
listfull: detaillierte Auflistung der Relay-Clients (alle Relays)
listrelay: Auflistung der Relays (Name und Port)
add: füge ein Relay, für ein Protokoll + Name, hinzu
del: entferne Relay für ein Protokoll + Name
protocol.name: Protokoll und Name des Relays
zur Zeit wird ausschließlich das "irc" Protokoll unterstützt
Beispiel: irc.freenode
port: Port den der Relay nutzen soll
raw: öffnet Buffer mit RAW-Relay Daten
Ohne Angabe von Argumenten werden alle Relay-Clients in einem neuen Buffer dargestellt.
Beispiel:
IRC Proxy für Server "freenode":
/relay add irc.freenode 8000
........................................
+23 -21
View File
@@ -1,25 +1,27 @@
&bull; *`/rmodifier`* `[list] | [listdefault] | [add name modifiers groups regex] | [del name|-all [name...]] | [default -yes]`::
[command]*`rmodifier`* wandelt Schlüsselwörter mit regulären Ausdrücken (regelt die Sichtbarkeit von Texten in WeeChat)::
........................................
wandelt Schlüsselwörter mit regulären Ausdrücken (regelt die Sichtbarkeit von Texten in WeeChat)
/rmodifier list|listdefault
add <name> <modifiers> <groups> <regex>
del <name>|-all [<name>...]
default -yes
list: zeigt alle rmodifier an
listdefault: zeigt die Standardeinstellung für rmodifier an
add: einen rmodifier hinzufügen
name: Name des rmodifier
modifiers: durch Kommata getrennte Liste der modifier
groups: Aktion auf Gruppen anwenden: durch Kommata getrennte Liste der Gruppen (von 1 bis 9). Optional kann nach der Nummer für die Gruppe ein "*" gesetzt werden um diese Gruppe zu verbergen
regex: regulärer Ausdruck
del: löscht einen rmodifier Eintrag
-all: löscht alle rmodifiers Einträge
default: setzt die rmodifier auf Standardwerte zurück
Beispiele:
verbirgt die Eingabe nach dem Befehl /passwort:
/rmodifier add passwort input_text_display 1,2* ^(/passwort +)(.*)
lösche rmodifier "passwort":
/rmodifier del passwort
lösche alle rmodifiers:
/rmodifier del -all
list: zeigt alle rmodifier an
listdefault: zeigt die Standardeinstellung für rmodifier an
add: einen rmodifier hinzufügen
name: Name des rmodifier
modifiers: durch Kommata getrennte Liste der modifier
groups: Aktion auf Gruppen anwenden: durch Kommata getrennte Liste der Gruppen (von 1 bis 9). Optional kann nach der Nummer für die Gruppe ein "*" gesetzt werden um diese Gruppe zu verbergen
regex: regulärer Ausdruck
del: löscht einen rmodifier Eintrag
-all: löscht alle rmodifiers Einträge
default: setzt die rmodifier auf Standardwerte zurück
Beispiele:
verbirgt die Eingabe nach dem Befehl /passwort:
/rmodifier add passwort input_text_display 1,2* ^(/passwort +)(.*)
lösche rmodifier "passwort":
/rmodifier del passwort
lösche alle rmodifiers:
/rmodifier del -all
........................................
+15 -7
View File
@@ -1,11 +1,19 @@
&bull; *`/ruby`* `[list [Name]] | [listfull [Name]] | [load Dateiname] | [autoload] | [reload [Name]] | [unload [Name]]`::
[command]*`ruby`* auflisten/installieren/deinstallieren von Skripten::
........................................
auflisten/installieren/deinstallieren von Skripten
/ruby list|listfull [<name>]
load <filename>
autoload
reload|unload [<name>]
filename: Skript/Datei welches geladen werden soll
name: Name des Skripts
Wird der Befehl ohne Argumente aufgerufen werden alle geladenen Skripten aufgelistet.
list: list loaded scripts
listfull: list loaded scripts (verbose)
load: load a script
autoload: load all scripts in "autoload" directory
reload: reload a script (if no name given, unload all scripts, then load all scripts in "autoload" directory)
unload: unload a script (if no name given, unload all scripts)
filename: script (file) to load
name: a script name (name used in call to "register" function)
Without argument, this command lists all loaded scripts.
........................................
+15 -7
View File
@@ -1,11 +1,19 @@
&bull; *`/tcl`* `[list [Name]] | [listfull [Name]] | [load Dateiname] | [autoload] | [reload [Name]] | [unload [Name]]`::
[command]*`tcl`* auflisten/installieren/deinstallieren von Skripten::
........................................
auflisten/installieren/deinstallieren von Skripten
/tcl list|listfull [<name>]
load <filename>
autoload
reload|unload [<name>]
filename: Skript/Datei welches geladen werden soll
name: Name des Skripts
Wird der Befehl ohne Argumente aufgerufen werden alle geladenen Skripten aufgelistet.
list: list loaded scripts
listfull: list loaded scripts (verbose)
load: load a script
autoload: load all scripts in "autoload" directory
reload: reload a script (if no name given, unload all scripts, then load all scripts in "autoload" directory)
unload: unload a script (if no name given, unload all scripts)
filename: script (file) to load
name: a script name (name used in call to "register" function)
Without argument, this command lists all loaded scripts.
........................................
+453 -379
View File
@@ -1,480 +1,554 @@
&bull; *`/away`* `[-all] [message]`::
[command]*`away`* Abwesenheitsstatus ein-/ausschalten::
........................................
Abwesenheitsstatus ein-/ausschalten
/away [-all] [<message>]
-all: Abwesenheitszustand auf allen Servern ändern
message: Abwesenheitsnachricht (ohne eine Nachricht wird der Abwesenheitszustand deaktivieren)
-all: Abwesenheitszustand auf allen Servern ändern
message: Abwesenheitsnachricht (ohne eine Nachricht wird der Abwesenheitszustand deaktivieren)
........................................
&bull; *`/bar`* `[add barname type[,cond1,cond2,...] position size separator item1,item2,...] | [default] | [del barname|-all] | [set barname option value] | [hide|show|toggle barname] | [scroll barname buffer scroll_value] | [list] | [listfull] | [listitems]`::
[command]*`bar`* Infobars verwalten::
........................................
Infobars verwalten
/bar list|listfull|listitems
add <name> <type>[,<cond1>[,<cond2>...]] <position> <size> <separator> <item1>[,<item2>...]
default
del <name>|-all
set <name> <option> <value>
hide|show|toggle <name>
scroll <name> <buffer> <scroll_value>
add: füge eine neue Infobar hinzu
barname: Name der Infobar (muss einmalig sein)
type: root: außerhalb des Fensters,
window: innerhalb des Fensters, mit optionalen Merkmalen (siehe unten)
cond1,...: Merkmal(e) für eine Infobar (nur nutzbar mit der Type-Option "window"):
active: in einem aktiven Fenster
inactive: in einem inaktiven Fenster
nicklist: in Fenstern mit einer Nickliste
werden keine Merkmale angegeben, ist die Infobar immer sichtbar
position: bottom (unten), top (oben), left (links) oder right (rechts)
size: Größe der Infobar (in Zeichen)
separator: 1 um eine Trennlinien zu zeichnen, 0 (oder keine Angabe) es wird keine Trennlinien gezeichnet
item1,...: Items die in der Infobar genutzt werden sollen (Items können durch Kommata oder Leerzeichen getrennt werden ("+" (verbindet Items))
default: erstellt standardisierte Infobars
del: entfernt eine Infobar (alle Infobars können mit der Option "-all" entfernt werden).
set: setzt einen Wert für Infobar
option: Optionen die geändert werden (für eine List der möglichen Optionen, bitte folgenden Befehl nutzen: /set weechat.bar.<barname>.*)
value: neuer Wert für Option
hide: verbirgt eine Infobar
show: zeigt eine verborgene Infobar an
toggle: zeigt/versteckt eine Infobar
scroll: scrollt Infobar hoch/runter
buffer: Name des Buffer der gescrollt werden soll ('*' für aktuellen Buffer, man sollte '*' für root-Infobars nutzen)
scroll_value: Werte für Scroll-Funktion: 'x' oder 'y', gefolgt von '+', '-', 'b' (Beginn) oder 'e' (Ende), Wert (für +/-), und Optional %% (zum Scrollen für %% der Breite/Höhe, ansonsten wird der Wert als Anzahl der Zeichen interpretiert um die gescrollt werden soll)
list: listet alle Infobars auf
listfull: listet alle Infobars detailliert auf (Standardaufruf)
listitems: listet alle Items auf, die in den Infobars genutzt werden
Beispiele:
erstellt eine Infobar mit den Items: time, buffer number + name, und Vervollständigung:
/bar add mybar root bottom 1 0 [time],buffer_number+:+buffer_name,completion
versteckt die Infobar (meinebar):
/bar hide meinebar
scrollt die Nickliste im aktuellen Buffer um 10 Zeilen nach unten:
/bar scroll nicklist * y+10
scrollt die Nickliste im Buffer #weechat eine ganze Seite nach oben:
/bar scroll nicklist #weechat y-100%
scrollt zum Ende der Nicklist im aktuellen Buffer:
/bar scroll nicklist * ye
list: list all bars
listfull: list all bars (verbose)
listitems: list all bar items
add: add a new bar
name: name of bar (must be unique)
type: root: outside windows,
window: inside windows, with optional conditions (see below)
cond1,...: condition(s) for displaying bar (only for type "window"):
active: on active window
inactive: on inactive windows
nicklist: on windows with nicklist
without condition, bar is always displayed
position: bottom, top, left or right
size: size of bar (in chars)
separator: 1 for using separator (line), 0 or nothing means no separator
item1,...: items for this bar (items can be separated by comma (space between items) or "+" (glued items))
default: create default bars
del: delete a bar (or all bars with -all)
set: set a value for a bar property
option: option to change (for options list, look at /set weechat.bar.<barname>.*)
value: new value for option
hide: hide a bar
show: show an hidden bar
toggle: hide/show a bar
scroll: scroll bar
buffer: name of buffer to scroll ('*' means current buffer, you should use '*' for root bars)
scroll_value: value for scroll: 'x' or 'y', followed by '+', '-', 'b' (beginning) or 'e' (end), value (for +/-), and optional %% (to scroll by %% of width/height, otherwise value is number of chars)
Examples:
create a bar with time, buffer number + name, and completion:
/bar add mybar root bottom 1 0 [time],buffer_number+:+buffer_name,completion
hide a bar:
/bar hide mybar
scroll nicklist 10 lines down on current buffer:
/bar scroll nicklist * y+10
scroll nicklist one page up on #weechat buffer:
/bar scroll nicklist #weechat y-100%
scroll to end of nicklist on current buffer:
/bar scroll nicklist * ye
........................................
&bull; *`/buffer`* `[clear [number | -merged | -all] | move number | merge number | unmerge [number] | close [n1[-n2]] | list | notify level | localvar | set property value | get property | number | name]`::
[command]*`buffer`* Buffer verwalten::
........................................
Buffer verwalten
/buffer list
clear [<number>|-merged|-all]
move|merge <number>
unmerge [<number>]
close [<n1>[-<n2>]]
notify <level>
localvar
set <property> <value>
get <property>
<number>|<name>
clear: leert den Bufferinhalt. Entweder durch Angabe der Buffer-Nummer, -merged für zusammengefügte Buffer, -all für alle Buffer. Ohne Angabe eines Arguments wird der aktuelle Buffer gelöscht
move: Buffer in der Liste verschieben (kann auch relativ sein, z.B. -1)
merge: fügt den aktuellen Buffer mit einem anderen Buffer zusammen (bei einem Chat-Buffer entsteht ein Mix aus beiden Buffern
(Bei der Standardtastenbelegung kann mittels "CTRL-x" zwischen zusammengefügten Buffern umgeschaltet werden)
unmerge: trennt Buffer wieder voneinander, falls zwei Buffer die selbe Nummer teilen
close: Buffer schließen (Nummer oder Bereich ist optional)
list: alle geöffneten Buffer werden aufgelistet (Standardvorgabe)
notify: setzt Benachrichtigung-Status für aktuellen Buffer. Folgende Möglichkeiten bestimmen den Grad der Benachrichtigung:
none: keine Benachrichtigung
highlight: Benachrichtigung bei hervorgehobenen Nachrichten (Highlights)
message: Benachrichtigung bei Nachrichten von Usern + Highlights
all: Benachrichtigung bei allen Nachrichten
reset: auf Standardwert zurück setzen (all)
localvar: zeigt die lokalen Variablen für den aktuellen Buffer an
set: setzt eine Eigenschaft für aktuellen Buffer
get: zeigt eine Eigenschaft für den aktuellen Buffer an
number: Sprung von einem Buffer zu einem anderen, mögliche Optionen:
'+': relativer Sprung um 'n'-Buffer
'-': relativer Sprung, um 'n'-Buffer
'*': springt zum Buffer mit der Nummer 'n', nutzt die interne Option "weechat.look.jump_current_to_previous_buffer"
name: springt zum Buffer mit dem Namen 'xyz'
Beispiele:
leert den aktuellen Buffer:
/buffer clear
verschiebt Buffer auf Position 5:
/buffer move 5
verbindet Buffer mit dem Core-Buffer:
/buffer merge 1
trennt Buffer voneinander:
/buffer unmerge
schließt aktuellen Buffer:
/buffer close
schließt Buffer 5 bis 7:
/buffer close 5-7
wechselt zum Buffer: #weechat:
/buffer #weechat
wechselt zum nächsten Buffer:
/buffer +1
list: list buffers (without argument, this list is displayed)
clear: clear buffer content (number for a buffer, -merged for merged buffers, -all for all buffers, or nothing for current buffer)
move: move buffer in the list (may be relative, for example -1)
merge: merge current buffer to another buffer (chat area will be mix of both buffers)
(by default ctrl-x switches between merged buffers)
unmerge: unmerge buffer from other buffers which have same number
close: close buffer (number/range is optional)
notify: set notify level for current buffer: this level determines whether buffer will be added to hotlist or not:
none: never
highlight: for highlights only
message: for messages from users + highlights
all: all messages
reset: reset to default value (all)
localvar: display local variables for current buffer
set: set a property for current buffer
get: display a property of current buffer
number: jump to buffer by number, possible prefix:
'+': relative jump, add number to current
'-': relative jump, sub number to current
'*': jump to number, using option "weechat.look.jump_current_to_previous_buffer"
name: jump to buffer by (partial) name
Examples:
clear current buffer:
/buffer clear
move buffer to number 5:
/buffer move 5
merge with core buffer:
/buffer merge 1
unmerge buffer:
/buffer unmerge
close current buffer:
/buffer close
close buffers 5 to 7:
/buffer close 5-7
jump to #weechat:
/buffer #weechat
jump to next buffer:
/buffer +1
........................................
&bull; *`/color`* `[alias color name] | [unalias color] | reset`::
[command]*`color`* definiert Farbalias und stellt die Palette der möglichen Farben dar.::
........................................
definiert Farbalias und stellt die Palette der möglichen Farben dar.
/color alias <color> <alias>
unalias <color>
reset
alias: add an alias for a color
unalias: delete an alias
color: color number (>= 1, max depends on terminal, commonly 63 or 255)
name: alias name for color (for example: "orange")
reset: reset all color pairs (useful when no more pairs are available)
Without argument, this command displays colors in a new buffer.
Examples:
add alias "orange" for color 214:
/color alias 214 orange
delete color 214:
/color unalias 214
alias: add an alias for a color
unalias: delete an alias
color: color number (>= 1, max depends on terminal, commonly 63 or 255)
name: alias name for color (for example: "orange")
reset: reset all color pairs (useful when no more pairs are available)
Without argument, this command displays colors in a new buffer.
Examples:
add alias "orange" for color 214:
/color alias 214 orange
delete color 214:
/color unalias 214
........................................
&bull; *`/command`* `Erweiterungs-Befehl`::
[command]*`command`* führe explizit einen WeeChat Befehl oder eine Erweiterung aus::
........................................
führe explizit einen WeeChat Befehl oder eine Erweiterung aus
/command <plugin> <command>
Erweiterung: Name der Erweiterung ('weechat' für interne WeeChat Befehle)
Befehl: auszuführender Befehl (es wird automatisch ein '/' vorangestellt, falls dieser nicht angegeben wurde)
Erweiterung: Name der Erweiterung ('weechat' für interne WeeChat Befehle)
Befehl: auszuführender Befehl (es wird automatisch ein '/' vorangestellt, falls dieser nicht angegeben wurde)
........................................
&bull; *`/debug`* `[list | set plugin level | dump [plugin] | buffer | windows | term | color]`::
[command]*`debug`* Debug-Kontrolle für Hauptprogramm und/oder Erweiterung::
........................................
Debug-Kontrolle für Hauptprogramm und/oder Erweiterung
/debug list
set <plugin> <level>
dump [<plugin>]
buffer|windows|term|color
set: setzt den Level der Protokollierung für eine Erweiterung
plugin: Name der Erweiterung ("core" für den WeeChat Kern)
level: Debuglevel der Erweiterung (0 = deaktiviert das Debug)
dump: Speicherabbild in die WeeChat Protokolldatei schreiben (wie bei einem Programmabsturz)
buffer: speichert den Bufferinhalt als hexadezimale Ausgabe in die Protokolldatei
windows: zeigt die Fensterstruktur an
term: gibt Informationen über das Terminal und verfügbare Farben aus.
color: zeigt Informationen über die aktuellen Farbpaarungen an.
list: list plugins with debug levels
set: set debug level for plugin
plugin: name of plugin ("core" for WeeChat core)
level: debug level for plugin (0 = disable debug)
dump: save memory dump in WeeChat log file (same dump is written when WeeChat crashes)
buffer: dump buffer content with hexadecimal values in log file
windows: display windows tree
term: display infos about terminal
color: display infos about current color pairs
........................................
&bull; *`/filter`* `[list] | [enable|disable|toggle [name]] | [add name plugin.buffer tags regex] | [del name|-all]`::
[command]*`filter`* Filterfunktion um Nachrichten in Buffern zu verbergen oder anzuzeigen, dazu können Tags oder regulären Ausdrücken verwendet werden::
........................................
Filterfunktion um Nachrichten in Buffern zu verbergen oder anzuzeigen, dazu können Tags oder regulären Ausdrücken verwendet werden
/filter list
enable|disable|toggle [<name>]
add <name> <plugin.buffer> <tags> <regex>
del <name>|-all
list: alle Filter auflisten
enable: Filter aktivieren (Filter werden standardmässig aktiviert)
disable: Filter deaktivieren
toggle: Filter de-/aktivieren
name: Name des Filters
add: Filter hinzufügen
del: Filter entfernen
-all: entfernt alle Filter
plugin.buffer: Erweiterungen und Buffer in denen die Filterfunktion aktiviert ist ("*" für alle Buffer)
tags: durch Kommata getrennte Liste mit Tags. Zum Beispiel: "irc_join,irc_part,irc_quit"
regex: regulärer Ausdruck um in einer Zeile zu suchen
- das Präfix wird mittels '\t' von der Nachricht getrennt. Sonderzeichen wie '|' müssen mit einer Escapesequenz : '\|' eingebunden werden)
- wird ein regulärer Ausdruck mit '!' eingeleitet dann wird das übereinstimmende Ergebnis umgekehrt (nutze '\!' um mit '!' zu beginnen)
Hinweis: Es werden zwei reguläre Ausdrücke erstellt. Der erste für den Präfix und der zweite für die Nachricht
Die Tastenvoreinstellung alt+'=' schaltet die Filterfunktion an/aus.
Die am häufigsten gebrauchten Tags lauten:
no_filter, no_highlight, no_log, log0..log9 (log Level),
notify_message, notify_private, notify_highlight,
nick_xxx (xxx ist durch den Nicknamen zu ersetzen),
irc_xxx (xxx ist durch einen IRC Befehl oder die IRC Nummer zu ersetzen, siehe /server raw)
irc_numeric, irc_error, irc_action, irc_ctcp, irc_ctcp_reply, irc_smart_filter, away_info.
Beispiele:
aktiviert einen einfachen IRC Filter für join/part/quit Nachrichten:
/filter add irc_smart * irc_smart_filter *
filtert alle IRC join/part/quit Nachrichten:
/filter add joinquit * irc_join,irc_part,irc_quit *
filtert Nicks wenn diese den Channel betreten oder durch den Befehl "/names:" angezeigt werden:
/filter add nicks * irc_366 *
filtert Nick "toto" im IRC Channel #weechat:
/filter add toto irc.freenode.#weechat * toto\t
nur der Nick "tutu" wird im IRC Channel #test angezeigt:
/filter add tutu irc.freenode.#test * !tutu\t
filtert Zeilen die das Wort "spam" enthalten:
/filter add filterspam * * spam
filtert Zeilen die "weechat sucks" im IRC Channel #weechat enthalten:
/filter add sucks irc.freenode.#weechat * weechat sucks
list: alle Filter auflisten
enable: Filter aktivieren (Filter werden standardmässig aktiviert)
disable: Filter deaktivieren
toggle: Filter de-/aktivieren
name: Name des Filters
add: Filter hinzufügen
del: Filter entfernen
-all: entfernt alle Filter
plugin.buffer: Erweiterungen und Buffer in denen die Filterfunktion aktiviert ist ("*" für alle Buffer)
tags: durch Kommata getrennte Liste mit Tags. Zum Beispiel: "irc_join,irc_part,irc_quit"
regex: regulärer Ausdruck um in einer Zeile zu suchen
- das Präfix wird mittels '\t' von der Nachricht getrennt. Sonderzeichen wie '|' müssen mit einer Escapesequenz : '\|' eingebunden werden)
- wird ein regulärer Ausdruck mit '!' eingeleitet dann wird das übereinstimmende Ergebnis umgekehrt (nutze '\!' um mit '!' zu beginnen)
Hinweis: Es werden zwei reguläre Ausdrücke erstellt. Der erste für den Präfix und der zweite für die Nachricht
Die Tastenvoreinstellung alt+'=' schaltet die Filterfunktion an/aus.
Die am häufigsten gebrauchten Tags lauten:
no_filter, no_highlight, no_log, log0..log9 (log Level),
notify_message, notify_private, notify_highlight,
nick_xxx (xxx ist durch den Nicknamen zu ersetzen),
irc_xxx (xxx ist durch einen IRC Befehl oder die IRC Nummer zu ersetzen, siehe /server raw)
irc_numeric, irc_error, irc_action, irc_ctcp, irc_ctcp_reply, irc_smart_filter, away_info.
Beispiele:
aktiviert einen einfachen IRC Filter für join/part/quit Nachrichten:
/filter add irc_smart * irc_smart_filter *
filtert alle IRC join/part/quit Nachrichten:
/filter add joinquit * irc_join,irc_part,irc_quit *
filtert Nicks wenn diese den Channel betreten oder durch den Befehl "/names:" angezeigt werden:
/filter add nicks * irc_366 *
filtert Nick "toto" im IRC Channel #weechat:
/filter add toto irc.freenode.#weechat * toto\t
nur der Nick "tutu" wird im IRC Channel #test angezeigt:
/filter add tutu irc.freenode.#test * !tutu\t
filtert Zeilen die das Wort "spam" enthalten:
/filter add filterspam * * spam
filtert Zeilen die "weechat sucks" im IRC Channel #weechat enthalten:
/filter add sucks irc.freenode.#weechat * weechat sucks
........................................
&bull; *`/help`* `[command | option]`::
[command]*`help`* Zeigt eine Hilfe für Befehle und Optionen an::
........................................
Zeigt eine Hilfe für Befehle und Optionen an
/help <command>
<option>
command: Name des Befehls
option: Name der Option (verwende /set um eine Liste der Optionen anzuzeigen)
command: Name des Befehls
option: Name der Option (verwende /set um eine Liste der Optionen anzuzeigen)
........................................
&bull; *`/history`* `[clear | value]`::
[command]*`history`* Zeigt den Befehlsverlauf des Buffers::
........................................
Zeigt den Befehlsverlauf des Buffers
/history clear
<value>
clear: löscht den Befehlsverlauf
value: Anzahl der gewünschten Einträgen im Befehlsverlauf anzeigen
clear: löscht den Befehlsverlauf
value: Anzahl der gewünschten Einträgen im Befehlsverlauf anzeigen
........................................
&bull; *`/input`* `return | complete_next | complete_previous | search_next | delete_previous_char | delete_next_char | delete_previous_word | delete_next_word | delete_beginning_of_line | delete_end_of_line | delete_line | clipboard_paste | transpose_chars | undo | redo | move_beginning_of_line | move_end_of_line | move_previous_char | move_next_char | move_previous_word | move_next_word | history_previous | history_next | history_global_previous | history_global_next | jump_smart | jump_last_buffer | jump_previously_visited_buffer | jump_next_visited_buffer | hotlist_clear | grab_key | grab_key_command | scroll_unread | set_unread | set_unread_current_buffer | switch_active_buffer | switch_active_buffer_previous | insert [args]`::
[command]*`input`* Funktionen für die Befehlszeile::
........................................
Funktionen für die Befehlszeile
/input <action> [<arguments>]
Dieser Befehl wird von Tastenbelegungen oder Erweiterungen verwendet
list of actions:
return: simulate key "enter"
complete_next: complete word with next completion
complete_previous: complete word with previous completion
search_text: search text in buffer
delete_previous_char: delete previous char
delete_next_char: delete next char
delete_previous_word: delete previous word
delete_next_word: delete next word
delete_beginning_of_line: delete from beginning of line until cursor
delete_end_of_line: delete from cursor until end of line
delete_line: delete entire line
clipboard_paste: paste from clipboard
transpose_chars: transpose two chars
undo: undo last command line action
redo: redo last command line action
move_beginning_of_line: move cursor to beginning of line
move_end_of_line: move cursor to end of line
move_previous_char: move cursor to previous char
move_next_char: move cursor to next char
move_previous_word: move cursor to previous word
move_next_word: move cursor to next word
history_previous: recall previous command in current buffer history
history_next: recall next command in current buffer history
history_global_previous: recall previous command in global history
history_global_next: recall next command in global history
jump_smart: jump to next buffer with activity
jump_last_buffer: jump to last buffer
jump_previously_visited_buffer: jump to previously visited buffer
jump_next_visited_buffer: jump to next visited buffer
hotlist_clear: clear hotlist
grab_key: grab a key
grab_key_command: grab a key with its associated command
scroll_unread: scroll to unread marker
set_unread: set unread marker for all buffers
set_unread_current_buffer: set unread marker for current buffer
switch_active_buffer: switch to next merged buffer
switch_active_buffer_previous: switch to previous merged buffer
insert: insert text in command line
This command is used by key bindings or plugins.
........................................
&bull; *`/key`* `[list | listdefault | listdiff] | [bind key [command [args]]] | [unbind key] | [reset key] | [resetall -yes] | [missing]`::
[command]*`key`* Einer Taste einen Befehl zuordnen oder entfernen::
........................................
Einer Taste einen Befehl zuordnen oder entfernen
/key list|listdefault|listdiff
bind <key> [<command> [<args>]]
unbind <key>
reset <key>
resetall -yes
missing
list: zeigt die aktuelle Tastenbelegungen an (Standardaufruf)
listdefault: zeigt die Standardeinstellung der Tastenbelegung an
listdiff: zeigt die Unterschiede zwischen der aktuell genutzten Tastaturbelegung und der Standardbelegung an (hinzugefügte/verändert/gelöschte Tastenbelegungen)
bind: belegt eine Taste mit einem Befehl oder zeigt an welcher Befehl auf eine Taste gelegt wurde
unbind: hebt eine Tastenbelegung auf
reset: die Tastenbelegung wird für die ausgewählte Taste auf die Standardeinstellung zurück gesetzt
resetall: die Tastenbelegung wird auf die Standardeinstellungen zurück gesetzt. Dies löscht ALLE persönlichen Tastenbelegungen (Vorsicht!)
missing: fügt fehlende Tastenbelegungen hinzu (dazu wird die Standardbelegung genutzt). Dies kann sinnvoll sein wenn man auf eine neue WeeChat Version umgestiegen ist
Falls einer Taste ein Befehl zugeordnet werden soll ist es ratsam dies mittels alt+k (oder Esc und k) zu machen um dann die Taste auszuwählen, die belegt werden soll. Durch diesen Schritt wird der entsprechende Tasten-Code in die Befehlszeile übernommen.
Beispiele:
Mit der Tastenkombination "alt-x" kann die Nicklist-Bar an-und aus geschaltet werden:
/key bind meta-x /bar toggle nicklist
Mit der Tastenkombination "alt-r" wird direkt zum IRC #weechat Buffer gewechselt:
/key bind meta-r /buffer #weechat
Die Tastenkombination "alt-r" wird auf die Standardfunktion zurückgesetzt:
/key reset meta-r
list: zeigt die aktuelle Tastenbelegungen an (Standardaufruf)
listdefault: zeigt die Standardeinstellung der Tastenbelegung an
listdiff: zeigt die Unterschiede zwischen der aktuell genutzten Tastaturbelegung und der Standardbelegung an (hinzugefügte/verändert/gelöschte Tastenbelegungen)
bind: belegt eine Taste mit einem Befehl oder zeigt an welcher Befehl auf eine Taste gelegt wurde
unbind: hebt eine Tastenbelegung auf
reset: die Tastenbelegung wird für die ausgewählte Taste auf die Standardeinstellung zurück gesetzt
resetall: die Tastenbelegung wird auf die Standardeinstellungen zurück gesetzt. Dies löscht ALLE persönlichen Tastenbelegungen (Vorsicht!)
missing: fügt fehlende Tastenbelegungen hinzu (dazu wird die Standardbelegung genutzt). Dies kann sinnvoll sein wenn man auf eine neue WeeChat Version umgestiegen ist
Falls einer Taste ein Befehl zugeordnet werden soll ist es ratsam dies mittels alt+k (oder Esc und k) zu machen um dann die Taste auszuwählen, die belegt werden soll. Durch diesen Schritt wird der entsprechende Tasten-Code in die Befehlszeile übernommen.
Beispiele:
Mit der Tastenkombination "alt-x" kann die Nicklist-Bar an-und aus geschaltet werden:
/key bind meta-x /bar toggle nicklist
Mit der Tastenkombination "alt-r" wird direkt zum IRC #weechat Buffer gewechselt:
/key bind meta-r /buffer #weechat
Die Tastenkombination "alt-r" wird auf die Standardfunktion zurückgesetzt:
/key reset meta-r
........................................
&bull; *`/layout`* `[[save | apply | reset] [buffers | windows]]`::
[command]*`layout`* Layout für Buffer und Fenster speichern, anwenden oder zurücksetzen::
........................................
Layout für Buffer und Fenster speichern, anwenden oder zurücksetzen
/layout save [buffers|windows]
apply [buffers|windows]
reset [buffers|windows]
save: speichert das aktuelle Layout
apply: das gespeicherte Layout anwenden
reset: das gespeicherte Layout entfernen
buffers: speichert/verwendet nur Buffer (Reihenfolge der Buffer)
windows: speichert/verwendet nur Fenster (Buffer welche im jeweiligen Fenster dargestellt werden)
Wird der Befehl ohne Argumente aufgerufen wird das gespeicherte Layout dargestellt.
save: speichert das aktuelle Layout
apply: das gespeicherte Layout anwenden
reset: das gespeicherte Layout entfernen
buffers: speichert/verwendet nur Buffer (Reihenfolge der Buffer)
windows: speichert/verwendet nur Fenster (Buffer welche im jeweiligen Fenster dargestellt werden)
Wird der Befehl ohne Argumente aufgerufen wird das gespeicherte Layout dargestellt.
........................................
&bull; *`/mute`* `[-current | -buffer name | -all] command`::
[command]*`mute`* Führt einen Befehl ohne Textausgabe aus::
........................................
Führt einen Befehl ohne Textausgabe aus
/mute [-current | -buffer <name> | -all] command
-current: Ausgabe im aktuellen Buffer wird unterdrückt
-buffer: Ausgabe im ausgewählten Buffer wird unterdrückt
name: vollständiger Buffername (Beispiel: "irc.server.freenode", "irc.freenode.#weechat")
-all: Ausgabe wird in ALLEN Buffern unterdrückt
command: Ein Befehl der ohne Textausgabe ausgeführt werden soll (das Präfix, '/', wird automatisch hinzugefügt, falls es dem Befehl nicht vorangestellt wurde)
Wird kein Buffer ausgewählt (-current, -buffer oder -all), dann wird lediglich die Textausgabe im WeeChat Core Buffer unterdrückt.
Beispiele:
Speichern der Konfiguration:
/mute save
Nachricht in den aktuellen Channel senden:
/mute -current msg * hi!
Nachricht an den #weechat Channel senden:
/mute -buffer irc.freenode.#weechat msg #weechat hi!
-current: Ausgabe im aktuellen Buffer wird unterdrückt
-buffer: Ausgabe im ausgewählten Buffer wird unterdrückt
name: vollständiger Buffername (Beispiel: "irc.server.freenode", "irc.freenode.#weechat")
-all: Ausgabe wird in ALLEN Buffern unterdrückt
command: Ein Befehl der ohne Textausgabe ausgeführt werden soll (das Präfix, '/', wird automatisch hinzugefügt, falls es dem Befehl nicht vorangestellt wurde)
Wird kein Buffer ausgewählt (-current, -buffer oder -all), dann wird lediglich die Textausgabe im WeeChat Core Buffer unterdrückt.
Beispiele:
Speichern der Konfiguration:
/mute save
Nachricht in den aktuellen Channel senden:
/mute -current msg * hi!
Nachricht an den #weechat Channel senden:
/mute -buffer irc.freenode.#weechat msg #weechat hi!
........................................
&bull; *`/plugin`* `[list [Name]] | [listfull [Name]] | [load Dateiname] | [autoload] | [reload [Name]] | [unload [Name]]`::
[command]*`plugin`* Erweiterungen verwalten (auflisten/installieren/deinstallieren)::
........................................
Erweiterungen verwalten (auflisten/installieren/deinstallieren)
/plugin list|listfull [<name>]
load <filename>
autoload
reload|unload [<name>]
list: installierte Erweiterungen werden aufgelistet
listfull: detaillierte Auflistung aller installierten Erweiterungen
load: installiert eine Erweiterung
autoload: installiert automatisch alle Erweiterungen aus System- oder Benutzerverzeichnis
reload: installiert eine Erweiterung erneut (falls kein Name angegeben wird, werden alle Erweiterungen entfernt und dann neu installiert)
unload: deinstalliere eine oder alle Erweiterungen
Ohne Angabe eines Argumentes listet /plugin alle geladenen Erweiterungen auf.
list: list loaded plugins
listfull: list loaded plugins (verbose)
load: load a plugin
autoload: autoload plugins in system or user directory
reload: reload a plugin (if no name given, unload all plugins, then autoload plugins)
unload: unload a plugin (if no name given, unload all plugins)
Without argument, this command lists loaded plugins.
........................................
&bull; *`/proxy`* `[add proxyname type address port [username [password]]] | [del proxyname|-all] | [set proxyname option value] | [list]`::
[command]*`proxy`* Proxies verwalten::
........................................
Proxies verwalten
/proxy list
add <name> <type> <address> <port> [<username> [<password>]]
del <name>|-all
set <name> <option> <value>
add: fügt neuen Proxy hinzu
proxyname: Name des neuen Proxy (der Name darf nur einmal genutzt werden)
type: http, socks4 oder socks5
address: IP oder Hostname
port: Port
username: Username (optional)
password: Passwort (optional)
del: entfernt einen Proxy (-all um alle Proxies zu entfernen)
set: setzt einen Wert für Proxy
option: Optionen die geändert werden (für eine Liste der möglichen Optionen, bitte folgenden Befehl nutzen: /set weechat.proxy.<proxyname>.*)
value: neuer Wert für Option
list: listet alle Proxies auf
Beispiele:
erstellt einen HTTP-Proxy, der auf einem lokalen Host läuft und den Port 8888 nutzt:
/proxy add local http 127.0.0.1 8888
erstellt einen HTTP-Proxy der das IPv6 Protokoll nutzt:
/proxy add local http 127.0.0.1 8888
/proxy set local ipv6 on
erstellt einen socks5-Proxy, mit Username und Passwort:
/proxy add myproxy socks5 sample.host.org 3128 myuser mypass
entferne einen Proxy:
/proxy del myproxy
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
Examples:
create a http proxy, running on local host, port 8888:
/proxy add local http 127.0.0.1 8888
create a http proxy using IPv6 protocol:
/proxy add local http 127.0.0.1 8888
/proxy set local ipv6 on
create a socks5 proxy with username/password:
/proxy add myproxy socks5 sample.host.org 3128 myuser mypass
delete a proxy:
/proxy del myproxy
........................................
&bull; *`/quit`* `[-yes] [arguments]`::
[command]*`quit`* WeeChat beenden::
........................................
WeeChat beenden
/quit [-yes] [<arguments>]
-yes: Option muß genutzt werden falls weechat.look.confirm_quit aktiviert sein sollte
arguments: Text der beim Signal "quit" verschickt wird
(zum Beispiel sendet die IRC Erweiterung diesen Text als Quit-Nachricht an den Server)
-yes: Option muß genutzt werden falls weechat.look.confirm_quit aktiviert sein sollte
arguments: Text der beim Signal "quit" verschickt wird
(zum Beispiel sendet die IRC Erweiterung diesen Text als Quit-Nachricht an den Server)
........................................
&bull; *`/reload`* `[Datei [Datei...]]`::
[command]*`reload`* Konfiguration neu laden::
........................................
Konfiguration neu laden
/reload [<file> [<file>...]]
Datei: Konfigurationsdatei die erneut geladen werden soll
wird keine Datei angegeben, werden alle Konfigurationen (WeeChat und Erweiterungen) neu geladen.
file: configuration file to reload (without extension ".conf")
Without argument, all files (WeeChat and plugins) are reloaded.
........................................
&bull; *`/save`* `[Datei [Datei...]]`::
[command]*`save`* Konfiguration abspeichern::
........................................
Konfiguration abspeichern
/save [<file> [<file>...]]
Datei: Konfigurationsdatei die gesichert werden soll
sollte keine Datei angegeben werden, dann werden alle Konfigurationen (WeeChat und Erweiterungen) gesichert.
file: configuration file to save (without extension ".conf")
Without argument, all files (WeeChat and plugins) are saved.
........................................
&bull; *`/set`* `[Option [Wert]]`::
[command]*`set`* Konfigurationsparameter setzen::
........................................
Konfigurationsparameter setzen
/set [<option> [<value>]]
option: Name der zu ändernden Option
value: neuer Wert, den die Option erhalten soll
Abhängig von der ausgewählten Option, kann die Variable folgenden Inhalt haben:
boolean: on, off oder toggle
integer: Anzahl, ++Anzahl oder --Anzahl
string : jede Zeichenkette ("" für eine leere Zeichenkette)
color : Name einer Farbe, ++Anzahl oder --Anzahl
r alle Typen von Variablen kann die Zeichenkette "null" (ohne "") genutzt werden um den Wert der Option zu löschen (undefinierter Wert). Dies kann nur bei einigen Erweiterungen genutzt werden.
option: name of an option (can start or end with "*" to list many options)
value: new value for option
New value can be, according to variable type:
boolean: on, off or toggle
integer: number, ++number or --number
string : any string ("" for empty string)
color : color name, ++number or --number
For all types, you can use null to remove option value (undefined value). This works only for some special plugin variables.
Examples:
display options about highlight:
/set *highlight*
add a word to highlight:
/set weechat.look.highlight "word"
........................................
&bull; *`/unset`* `[Option]`::
[command]*`unset`* Konfigurationsparameter freigeben/zurücksetzen::
........................................
Konfigurationsparameter freigeben/zurücksetzen
/unset <option>
Option: Name einer Option (darf mit Joker ("*") beginnen oder enden um viele Optionen zu resetten. Nutzen Sie diese Funktion mit viel Sorgfalt!)
Gemäß der jeweiligen Option wird diese resettet (bei Standard-Optionen) oder komplett entfernt (bei optionalen Einstellungen, wie zum Beispiel bei der Server-Einstellung).
option: name of an option (may begin or end with "*" to mass-reset options, use carefully!)
According to option, it's reset (for standard options) or removed (for optional settings, like server values).
Examples:
reset one option:
/unset weechat.look.item_time_format
reset all color options:
/unset weechat.color.*
........................................
&bull; *`/upgrade`* `[Pfad_zur_Binärdatei]`::
[command]*`upgrade`* Aktualisiert WeeChat ohne die Verbindung zum Server zu trennen::
........................................
Aktualisiert WeeChat ohne die Verbindung zum Server zu trennen
/upgrade [<path_to_binary>]
Pfad_zur_Binärdatei: Pfad zu einer ausführbaren WeeChat Version (Standardeinstellung ist die aktuell ausführbare Datei)
Dieser Befehl startet eine weitere WeeChat-Binärdatei. Aus diesem Grund muss diese kompiliert oder mit einem Paketmanager installiert sein bevor der Befehl ausgeführt wird.
Der Upgrade Vorgang besteht aus vier Schritten:
1. Speicherung der Session in Dateien für Core und Erweiterungen (buffers, history, ..)
2. alle Erweiterungen werden ausgeschaltet (Konfigurationen *.conf werden gesichert)
3. Speicherung der WeeChat Konfiguration (weechat.conf)
4. ausführen einer neuen WeeChat Session.
path_to_binary: path to WeeChat binary (default is current binary)
This command run again a WeeChat binary, so it should have been compiled or installed with a package manager before running this command.
Upgrade process has 4 steps:
1. save session into files for core and plugins (buffers, history, ..)
2. unload all plugins (configuration files (*.conf) are written on disk)
3. save WeeChat configuration (weechat.conf)
4. execute new WeeChat binary and reload session.
........................................
&bull; *`/uptime`* `[-o | -ol]`::
[command]*`uptime`* Zeigt die Uptime von Weechat an::
........................................
Zeigt die Uptime von Weechat an
/uptime [-o | -ol]
-o: sendet die WeeChat Laufzeit in den aktuellen Buffer (englisch)
-ol: sendet die WeeChat Laufzeit in den aktuellen Buffer (in der voreingestellten Landessprache)
-o: sendet die WeeChat Laufzeit in den aktuellen Buffer (englisch)
-ol: sendet die WeeChat Laufzeit in den aktuellen Buffer (in der voreingestellten Landessprache)
........................................
&bull; *`/version`* `[-o | -ol]`::
[command]*`version`* Zeigt die WeeChat-Version und das Datum der Kompilierung an::
........................................
Zeigt die WeeChat-Version und das Datum der Kompilierung an
/version [-o | -ol]
-o: sendet die WeeChat Version in den aktuellen Buffer (englisch)
-ol: sendet die WeeChat Version in den aktuellen Buffer (in der Voreingestellten Landessprache)
-o: sendet die WeeChat Version in den aktuellen Buffer (englisch)
-ol: sendet die WeeChat Version in den aktuellen Buffer (in der Voreingestellten Landessprache)
........................................
&bull; *`/wait`* `Zeit[Einheit] Befehl`::
[command]*`wait`* Terminiere einen Befehl der ausgeführt werden soll::
........................................
Terminiere einen Befehl der ausgeführt werden soll
/wait <number>[<unit>] <command>
Zeit: die Zeit, die gewartet werden soll (dies muss eine natürlich Zahl sein)
Einheit: mögliche Werte (optional):
ms: Millisekunden
s: Sekunden (Vorgabewert)
m: Minuten
h: Stunden
Befehl: Befehl der ausgeführt werden soll (ohne das führende '/') oder ein Text der in dem Buffer ausgegeben werden soll
Hinweis: Der Befehl der zeit verzögert gestartet werden soll wird in dem Buffer ausgeführt in dem der /wait Befehl aufgerufen wurde. Falls dieser Buffer nicht gefunden werden sollte, z.B. weil er in der Zwischenzeit geschlossen wurde, wird der Befehl im WeeChat Core-Buffer ausgeführt.
Beispiele:
Betritt nach 10 Sekunden den Channel #test:
number: amount of time to wait (integer number)
unit: optional, values are:
ms: milliseconds
s: seconds (default)
m: minutes
h: hours
command: command to execute (or text to send to buffer if command does not start with '/')
Note: command is executed on buffer where /wait was executed (if buffer is not found (for example if it has been closed before execution of command), then command is executed on WeeChat core buffer).
Examples:
join channel in 10 seconds:
/wait 10 /join #test
Setzt nach 15 Minuten eine globale Abwesenheit:
/wait 15m /away -all Bin dann mal eben weg
Versendet nach zwei Minuten den Text 'Hallo':
/wait 2m Hallo
set away in 15 minutes:
/wait 15m /away -all I'm away
say 'hello' in 2 minutes:
/wait 2m hello
........................................
&bull; *`/window`* `[list | -1 | +1 | b# | up | down | left | right | splith [pct] | splitv [pct] | resize pct | merge [all] | page_up | page_down | refresh | scroll | scroll_up | scroll_down | scroll_top | scroll_bottom | scroll_previous_highlight | scroll_next_highlight | zoom]`::
[command]*`window`* Fenster verwalten::
........................................
Fenster verwalten
/window list
-1|+1|b#|up|down|left|right
splith|splitv [<pct>]
resize <pct>
merge [all]
page_up|page_down
refresh
scroll|scroll_up|scroll_down|scroll_top|scroll_bottom|scroll_previous_highlight|scroll_next_highlight
zoom
list: listet die geöffneten Fenster (ohne Angabe von Parametern wird diese Funktion aufgerufen)
-1: springt zum vorherigen Fenster
+1: springt zum nächsten Fenster
b#: springt zum nächsten Fenster, welches die Buffer Nummer # besitzt
up: wechselt zum Fenster über dem aktuellen
down: wechselt zum Fenster unter dem aktuellen
left: wechselt zum linken Fenster
right: wechselt zum rechten Fenster
splith: teilt das aktuelle Fenster horizontal
splitv: teilt das aktuelle Fenster vertikal
resize: verändert die Größe des aktuellen Fensters. Die neue Größe des Fensters ist prozentual <pct> zum Stammfensters groß
merge: vereinigt Fenster miteinander (all = alle Fenster vereinigen)
page_up: Scrollt eine Seite nach oben
page_down: Scrollt eine Seite nach unten
refresh: Seite wird neu aufgebaut
scroll: Scrollt eine Anzahl an Zeilen (+/-N) oder zu einer gewissen Zeit: s=Sekunden, m=Minuten, h=Stunden, d=Tage, M=Monate, y=Jahre
scroll_up: Scrollt ein paar Zeilen nach oben
scroll_down: Scrollt ein paar Zeilen nach unten
scroll_top: Scrollt zum Anfang des Buffers
scroll_bottom: Scrollt zum Ende des Buffers
scroll_previous_highlight: Scrollt zum vorherigen Hightlight
scroll_next_highlight: Scrollt zum nächsten Highlight
zoom: vergrößert auf Fenster
Bei splith und splitv gibt "pct" die neue Größe des Fensters im Verhältnis zur aktuellen Größe an. Zum Beispiel würde der Wert 25 bedeuten, dass das neue Fenster nur noch ein Viertel der Größe des alten Fensters hat.
Beispiele:
Springt zum Fenster mit dem Buffer #1:
/window b1
Scrollt zwei Zeilen hoch:
/window scroll -2
Scrollt zwei Tage hoch: /window scroll -2d
/window scroll -2d
Scrollt zum Beginn des aktuellen Tages:
/window scroll -d
list: listet die geöffneten Fenster (ohne Angabe von Parametern wird diese Funktion aufgerufen)
-1: springt zum vorherigen Fenster
+1: springt zum nächsten Fenster
b#: springt zum nächsten Fenster, welches die Buffer Nummer # besitzt
up: wechselt zum Fenster über dem aktuellen
down: wechselt zum Fenster unter dem aktuellen
left: wechselt zum linken Fenster
right: wechselt zum rechten Fenster
splith: teilt das aktuelle Fenster horizontal
splitv: teilt das aktuelle Fenster vertikal
resize: verändert die Größe des aktuellen Fensters. Die neue Größe des Fensters ist prozentual <pct> zum Stammfensters groß
merge: vereinigt Fenster miteinander (all = alle Fenster vereinigen)
page_up: Scrollt eine Seite nach oben
page_down: Scrollt eine Seite nach unten
refresh: Seite wird neu aufgebaut
scroll: Scrollt eine Anzahl an Zeilen (+/-N) oder zu einer gewissen Zeit: s=Sekunden, m=Minuten, h=Stunden, d=Tage, M=Monate, y=Jahre
scroll_up: Scrollt ein paar Zeilen nach oben
scroll_down: Scrollt ein paar Zeilen nach unten
scroll_top: Scrollt zum Anfang des Buffers
scroll_bottom: Scrollt zum Ende des Buffers
scroll_previous_highlight: Scrollt zum vorherigen Hightlight
scroll_next_highlight: Scrollt zum nächsten Highlight
zoom: vergrößert auf Fenster
Bei splith und splitv gibt "pct" die neue Größe des Fensters im Verhältnis zur aktuellen Größe an. Zum Beispiel würde der Wert 25 bedeuten, dass das neue Fenster nur noch ein Viertel der Größe des alten Fensters hat.
Beispiele:
Springt zum Fenster mit dem Buffer #1:
/window b1
Scrollt zwei Zeilen hoch:
/window scroll -2
Scrollt zwei Tage hoch: /window scroll -2d
/window scroll -2d
Scrollt zum Beginn des aktuellen Tages:
/window scroll -d
........................................
+9 -11
View File
@@ -1,19 +1,17 @@
&bull; *`/me`* `Nachricht`::
[command]*`me`* Sendet CTCP Aktion an entfernten Host::
........................................
Sendet CTCP Aktion an entfernten Host
/me <message>
Message: zu sendende Nachricht
Message: zu sendende Nachricht
........................................
&bull; *`/xfer`* `[list | listfull]`::
[command]*`xfer`* Transfer-Steuerung::
........................................
Transfer-Steuerung
/xfer [list|listfull]
list: zeigt Liste der Übertragungen
listfull: zeigt eine ausführliche Liste der Übertragungen
Ohne Angabe von Argumenten wird ein Buffer, mit Übertragungsliste, geöffnet.
list: zeigt Liste der Übertragungen
listfull: zeigt eine ausführliche Liste der Übertragungen
Ohne Angabe von Argumenten wird ein Buffer, mit Übertragungsliste, geöffnet.
........................................
+9 -5
View File
@@ -397,23 +397,27 @@ sub docgen
{
my $args = $plugin_commands{$plugin}{$command}{"args"};
$args = $d->get($args) if ($args ne "");
my @args_formats = split(/ \|\| /, $args);
my $description = $plugin_commands{$plugin}{$command}{"description"};
$description = $d->get($description) if ($description ne "");
my $args_description = $plugin_commands{$plugin}{$command}{"args_description"};
$args_description = $d->get($args_description) if ($args_description ne "");
print FILE "&bull; *`/".$command."`*";
print FILE " `".$args."`" if ($args ne "");
print FILE "::\n\n";
print FILE "[command]*`".$command."`* ".$description."::\n";
print FILE "........................................\n";
print FILE " ".$description."\n" if ($description ne "");
my $prefix = "/".$command." ";
foreach my $format (@args_formats)
{
print FILE $prefix.$format."\n";
$prefix = " " x length($prefix);
}
if ($args_description ne "")
{
print FILE "\n";
my @lines = split(/\n/, $args_description);
foreach my $line (@lines)
{
print FILE " ".$line."\n";
print FILE $line."\n";
}
}
print FILE "........................................\n\n";
+29 -30
View File
@@ -1,34 +1,33 @@
&bull; *`/alias`* `[[-completion completion] alias_name [command [arguments]]]`::
[command]*`alias`* create an alias for a command::
........................................
create an alias for a command
/alias [-completion <completion>] <alias> [<command> [<arguments>]]
completion: completion for alias (optional, by default completion is done with target command)
alias_name: name of alias (can start or end with "*" for alias listing)
command: command name (many commands can be separated by semicolons)
arguments: arguments for command
Without argument, this command lists all defined alias.
Note: in command, special variables are replaced:
$n: argument 'n' (between 1 and 9)
$-m: arguments from 1 to 'm'
$n-: arguments from 'n' to last
$n-m: arguments from 'n' to 'm'
$*: all arguments
$~: last argument
$nick: current nick
$channel: current channel
$server: current server
To remove an alias, use command /unalias.
Examples:
alias /split to split window horizontally:
/alias split /window splith
alias /hello to say "hello" on all channels but not on #weechat:
/alias hello /allchan -exclude=#weechat msg * hello
alias /forcejoin to send IRC command "forcejoin" with completion of /sajoin:
/alias -completion %%sajoin forcejoin /quote forcejoin
completion: completion for alias (optional, by default completion is done with target command)
alias: name of alias (can start or end with "*" for alias listing)
command: command name (many commands can be separated by semicolons)
arguments: arguments for command
Without argument, this command lists all defined alias.
Note: in command, special variables are replaced:
$n: argument 'n' (between 1 and 9)
$-m: arguments from 1 to 'm'
$n-: arguments from 'n' to last
$n-m: arguments from 'n' to 'm'
$*: all arguments
$~: last argument
$nick: current nick
$channel: current channel
$server: current server
To remove an alias, use command /unalias.
Examples:
alias /split to split window horizontally:
/alias split /window splith
alias /hello to say "hello" on all channels but not on #weechat:
/alias hello /allchan -exclude=#weechat msg * hello
alias /forcejoin to send IRC command "forcejoin" with completion of /sajoin:
/alias -completion %%sajoin forcejoin /quote forcejoin
........................................
+11 -9
View File
@@ -1,13 +1,15 @@
&bull; *`/aspell`* `dictlist | enable lang | disable | addword [lang] word`::
[command]*`aspell`* aspell plugin configuration::
........................................
aspell plugin configuration
/aspell dictlist
enable <lang>
disable
addword [<lang>] <word>
dictlist: show installed dictionaries
enable: enable aspell on current buffer
disable: disable aspell on current buffer
addword: add a word in your personal aspell dictionary
Input line beginning with a '/' is not checked, except for some commands.
dictlist: show installed dictionaries
enable: enable aspell on current buffer
disable: disable aspell on current buffer
addword: add a word in your personal aspell dictionary
Input line beginning with a '/' is not checked, except for some commands.
........................................
+7 -7
View File
@@ -1,11 +1,11 @@
&bull; *`/charset`* `[[decode | encode] charset] | [reset]`::
[command]*`charset`* change charset for current buffer::
........................................
change charset for current buffer
/charset decode|encode <charset>
reset
decode: change decoding charset
encode: change encoding charset
charset: new charset for current buffer
reset: reset charsets for current buffer
decode: change decoding charset
encode: change encoding charset
charset: new charset for current buffer
reset: reset charsets for current buffer
........................................
+18 -28
View File
@@ -1,42 +1,32 @@
&bull; *`/demo_buffer`* `name`::
[command]*`demo_buffer`* open a new buffer::
........................................
open a new buffer
/demo_buffer <name>
........................................
&bull; *`/demo_buffer_set`* `property value`::
[command]*`demo_info`* get and display an info::
........................................
set a buffer property
/demo_info <info> [<arguments>]
info: info to display
arguments: optional arguments for info
Without argument, this command displays list of available infos
........................................
&bull; *`/demo_info`* `[info [arguments]]`::
[command]*`demo_infolist`* get and display an infolist::
........................................
get and display an info
/demo_infolist <infolist> [<arguments>]
info: info to display
arguments: optional arguments for info
Without argument, this command displays list of available infos
infolist: infolist to display
arguments: optional arguments for infolist
Without argument, this command displays list of available infolists
........................................
&bull; *`/demo_infolist`* `[infolist [arguments]]`::
[command]*`demo_printf`* print some messages on current buffer::
........................................
get and display an infolist
/demo_printf <text>
infolist: infolist to display
arguments: optional arguments for infolist
Without argument, this command displays list of available infolists
........................................
&bull; *`/demo_printf`* `[text]`::
........................................
print some messages on current buffer
text: write this text
text: write this text
........................................
File diff suppressed because it is too large Load Diff
+29 -28
View File
@@ -1,32 +1,33 @@
&bull; *`/logger`* `[list | set level | disable]`::
[command]*`logger`* logger plugin configuration::
........................................
logger plugin configuration
/logger list
set <level>
disable
list: show logging status for opened buffers
set: set logging level on current buffer
level: level for messages to be logged (0 = logging disabled, 1 = a few messages (most important) .. 9 = all messages)
disable: disable logging on current buffer (set level to 0)
Options "logger.level.*" and "logger.mask.*" can be used to set level or mask for a buffer, or buffers beginning with name.
Log levels used by IRC plugin:
1: user message, notice, private
2: nick change
3: server message
4: join/part/quit
9: all other messages
Examples:
set level to 5 for current buffer:
/logger set 5
disable logging for current buffer:
/logger disable
set level to 3 for all IRC buffers:
/set logger.level.irc 3
disable logging for main WeeChat buffer:
/set logger.level.core.weechat 0
use a directory per IRC server and a file per channel inside:
/set logger.mask.irc "$server/$channel.weechatlog"
list: show logging status for opened buffers
set: set logging level on current buffer
level: level for messages to be logged (0 = logging disabled, 1 = a few messages (most important) .. 9 = all messages)
disable: disable logging on current buffer (set level to 0)
Options "logger.level.*" and "logger.mask.*" can be used to set level or mask for a buffer, or buffers beginning with name.
Log levels used by IRC plugin:
1: user message, notice, private
2: nick change
3: server message
4: join/part/quit
9: all other messages
Examples:
set level to 5 for current buffer:
/logger set 5
disable logging for current buffer:
/logger disable
set level to 3 for all IRC buffers:
/set logger.level.irc 3
disable logging for main WeeChat buffer:
/set logger.level.core.weechat 0
use a directory per IRC server and a file per channel inside:
/set logger.mask.irc "$server/$channel.weechatlog"
........................................
+15 -7
View File
@@ -1,11 +1,19 @@
&bull; *`/lua`* `[list [name]] | [listfull [name]] | [load filename] | [autoload] | [reload [name]] | [unload [name]]`::
[command]*`lua`* list/load/unload scripts::
........................................
list/load/unload scripts
/lua list|listfull [<name>]
load <filename>
autoload
reload|unload [<name>]
filename: script (file) to load
name: a script name
Without argument, this command lists all loaded scripts.
list: list loaded scripts
listfull: list loaded scripts (verbose)
load: load a script
autoload: load all scripts in "autoload" directory
reload: reload a script (if no name given, unload all scripts, then load all scripts in "autoload" directory)
unload: unload a script (if no name given, unload all scripts)
filename: script (file) to load
name: a script name (name used in call to "register" function)
Without argument, this command lists all loaded scripts.
........................................
+15 -7
View File
@@ -1,11 +1,19 @@
&bull; *`/perl`* `[list [name]] | [listfull [name]] | [load filename] | [autoload] | [reload [name]] | [unload [name]]`::
[command]*`perl`* list/load/unload scripts::
........................................
list/load/unload scripts
/perl list|listfull [<name>]
load <filename>
autoload
reload|unload [<name>]
filename: script (file) to load
name: a script name
Without argument, this command lists all loaded scripts.
list: list loaded scripts
listfull: list loaded scripts (verbose)
load: load a script
autoload: load all scripts in "autoload" directory
reload: reload a script (if no name given, unload all scripts, then load all scripts in "autoload" directory)
unload: unload a script (if no name given, unload all scripts)
filename: script (file) to load
name: a script name (name used in call to "register" function)
Without argument, this command lists all loaded scripts.
........................................
+15 -7
View File
@@ -1,11 +1,19 @@
&bull; *`/python`* `[list [name]] | [listfull [name]] | [load filename] | [autoload] | [reload [name]] | [unload [name]]`::
[command]*`python`* list/load/unload scripts::
........................................
list/load/unload scripts
/python list|listfull [<name>]
load <filename>
autoload
reload|unload [<name>]
filename: script (file) to load
name: a script name
Without argument, this command lists all loaded scripts.
list: list loaded scripts
listfull: list loaded scripts (verbose)
load: load a script
autoload: load all scripts in "autoload" directory
reload: reload a script (if no name given, unload all scripts, then load all scripts in "autoload" directory)
unload: unload a script (if no name given, unload all scripts)
filename: script (file) to load
name: a script name (name used in call to "register" function)
Without argument, this command lists all loaded scripts.
........................................
+21 -19
View File
@@ -1,23 +1,25 @@
&bull; *`/relay`* `[list | listfull | add protocol.name port | del protocol.name | raw]`::
[command]*`relay`* relay control::
........................................
relay control
/relay list|listfull|listrelay
add <protocol.name> <port>
del <protocol.name>
raw
list: list relay clients (only active relays)
listfull: list relay clients (verbose, all relays)
listrelay: list relays (name and port)
add: add relay for a protocol + name
del: remove relay for a protocol + name
protocol.name: protocol and name to relay
currently, only protocol "irc" is supported
for example: irc.freenode
port: port used for relay
raw: open buffer with raw Relay data
Without argument, this command opens buffer with list of relay clients.
Example:
irc proxy, for server "freenode":
/relay add irc.freenode 8000
list: list relay clients (only active relays)
listfull: list relay clients (verbose, all relays)
listrelay: list relays (name and port)
add: add relay for a protocol + name
del: remove relay for a protocol + name
protocol.name: protocol and name to relay
currently, only protocol "irc" is supported
for example: irc.freenode
port: port used for relay
raw: open buffer with raw Relay data
Without argument, this command opens buffer with list of relay clients.
Example:
irc proxy, for server "freenode":
/relay add irc.freenode 8000
........................................
+23 -21
View File
@@ -1,25 +1,27 @@
&bull; *`/rmodifier`* `[list] | [listdefault] | [add name modifiers groups regex] | [del name|-all [name...]] | [default -yes]`::
[command]*`rmodifier`* alter modifier strings with regular expressions::
........................................
alter modifier strings with regular expressions
/rmodifier list|listdefault
add <name> <modifiers> <groups> <regex>
del <name>|-all [<name>...]
default -yes
list: list all rmodifiers
listdefault: list default rmodifiers
add: add a rmodifier
name: name of rmodifier
modifiers: comma separated list of modifiers
groups: action on groups found: comma separated list of groups (from 1 to 9) with optional "*" after number to hide group
regex: regular expression
del: delete a rmodifier
-all: delete all rmodifiers
default: restore default rmodifiers
Examples:
hide everything typed after a command /password:
/rmodifier add password input_text_display 1,2* ^(/password +)(.*)
delete rmodifier "password":
/rmodifier del password
delete all rmodifiers:
/rmodifier del -all
list: list all rmodifiers
listdefault: list default rmodifiers
add: add a rmodifier
name: name of rmodifier
modifiers: comma separated list of modifiers
groups: action on groups found: comma separated list of groups (from 1 to 9) with optional "*" after number to hide group
regex: regular expression
del: delete a rmodifier
-all: delete all rmodifiers
default: restore default rmodifiers
Examples:
hide everything typed after a command /password:
/rmodifier add password input_text_display 1,2* ^(/password +)(.*)
delete rmodifier "password":
/rmodifier del password
delete all rmodifiers:
/rmodifier del -all
........................................
+15 -7
View File
@@ -1,11 +1,19 @@
&bull; *`/ruby`* `[list [name]] | [listfull [name]] | [load filename] | [autoload] | [reload [name]] | [unload [name]]`::
[command]*`ruby`* list/load/unload scripts::
........................................
list/load/unload scripts
/ruby list|listfull [<name>]
load <filename>
autoload
reload|unload [<name>]
filename: script (file) to load
name: a script name
Without argument, this command lists all loaded scripts.
list: list loaded scripts
listfull: list loaded scripts (verbose)
load: load a script
autoload: load all scripts in "autoload" directory
reload: reload a script (if no name given, unload all scripts, then load all scripts in "autoload" directory)
unload: unload a script (if no name given, unload all scripts)
filename: script (file) to load
name: a script name (name used in call to "register" function)
Without argument, this command lists all loaded scripts.
........................................
+15 -7
View File
@@ -1,11 +1,19 @@
&bull; *`/tcl`* `[list [name]] | [listfull [name]] | [load filename] | [autoload] | [reload [name]] | [unload [name]]`::
[command]*`tcl`* list/load/unload scripts::
........................................
list/load/unload scripts
/tcl list|listfull [<name>]
load <filename>
autoload
reload|unload [<name>]
filename: script (file) to load
name: a script name
Without argument, this command lists all loaded scripts.
list: list loaded scripts
listfull: list loaded scripts (verbose)
load: load a script
autoload: load all scripts in "autoload" directory
reload: reload a script (if no name given, unload all scripts, then load all scripts in "autoload" directory)
unload: unload a script (if no name given, unload all scripts)
filename: script (file) to load
name: a script name (name used in call to "register" function)
Without argument, this command lists all loaded scripts.
........................................
+469 -395
View File
@@ -1,480 +1,554 @@
&bull; *`/away`* `[-all] [message]`::
[command]*`away`* toggle away status::
........................................
toggle away status
/away [-all] [<message>]
-all: toggle away status on all connected servers
message: message for away (if no message is given, away status is removed)
-all: toggle away status on all connected servers
message: message for away (if no message is given, away status is removed)
........................................
&bull; *`/bar`* `[add barname type[,cond1,cond2,...] position size separator item1,item2,...] | [default] | [del barname|-all] | [set barname option value] | [hide|show|toggle barname] | [scroll barname buffer scroll_value] | [list] | [listfull] | [listitems]`::
[command]*`bar`* manage bars::
........................................
manage bars
/bar list|listfull|listitems
add <name> <type>[,<cond1>[,<cond2>...]] <position> <size> <separator> <item1>[,<item2>...]
default
del <name>|-all
set <name> <option> <value>
hide|show|toggle <name>
scroll <name> <buffer> <scroll_value>
add: add a new bar
barname: name of bar (must be unique)
type: root: outside windows,
window: inside windows, with optional conditions (see below)
cond1,...: condition(s) for displaying bar (only for type "window"):
active: on active window
inactive: on inactive windows
nicklist: on windows with nicklist
without condition, bar is always displayed
position: bottom, top, left or right
size: size of bar (in chars)
separator: 1 for using separator (line), 0 or nothing means no separator
item1,...: items for this bar (items can be separated by comma (space between items) or "+" (glued items))
default: create default bars
del: delete a bar (or all bars with -all)
set: set a value for a bar property
option: option to change (for options list, look at /set weechat.bar.<barname>.*)
value: new value for option
hide: hide a bar
show: show an hidden bar
toggle: hide/show a bar
scroll: scroll bar up/down
buffer: name of buffer to scroll ('*' means current buffer, you should use '*' for root bars)
scroll_value: value for scroll: 'x' or 'y', followed by '+', '-', 'b' (beginning) or 'e' (end), value (for +/-), and optional %% (to scroll by %% of width/height, otherwise value is number of chars)
list: list all bars
listfull: list all bars (verbose)
listitems: list all bar items
Examples:
create a bar with time, buffer number + name, and completion:
/bar add mybar root bottom 1 0 [time],buffer_number+:+buffer_name,completion
hide a bar:
/bar hide mybar
scroll nicklist 10 lines down on current buffer:
/bar scroll nicklist * y+10
scroll nicklist one page up on #weechat buffer:
/bar scroll nicklist #weechat y-100%
scroll to end of nicklist on current buffer:
/bar scroll nicklist * ye
list: list all bars
listfull: list all bars (verbose)
listitems: list all bar items
add: add a new bar
name: name of bar (must be unique)
type: root: outside windows,
window: inside windows, with optional conditions (see below)
cond1,...: condition(s) for displaying bar (only for type "window"):
active: on active window
inactive: on inactive windows
nicklist: on windows with nicklist
without condition, bar is always displayed
position: bottom, top, left or right
size: size of bar (in chars)
separator: 1 for using separator (line), 0 or nothing means no separator
item1,...: items for this bar (items can be separated by comma (space between items) or "+" (glued items))
default: create default bars
del: delete a bar (or all bars with -all)
set: set a value for a bar property
option: option to change (for options list, look at /set weechat.bar.<barname>.*)
value: new value for option
hide: hide a bar
show: show an hidden bar
toggle: hide/show a bar
scroll: scroll bar
buffer: name of buffer to scroll ('*' means current buffer, you should use '*' for root bars)
scroll_value: value for scroll: 'x' or 'y', followed by '+', '-', 'b' (beginning) or 'e' (end), value (for +/-), and optional %% (to scroll by %% of width/height, otherwise value is number of chars)
Examples:
create a bar with time, buffer number + name, and completion:
/bar add mybar root bottom 1 0 [time],buffer_number+:+buffer_name,completion
hide a bar:
/bar hide mybar
scroll nicklist 10 lines down on current buffer:
/bar scroll nicklist * y+10
scroll nicklist one page up on #weechat buffer:
/bar scroll nicklist #weechat y-100%
scroll to end of nicklist on current buffer:
/bar scroll nicklist * ye
........................................
&bull; *`/buffer`* `[clear [number | -merged | -all] | move number | merge number | unmerge [number] | close [n1[-n2]] | list | notify level | localvar | set property value | get property | number | name]`::
[command]*`buffer`* manage buffers::
........................................
manage buffers
/buffer list
clear [<number>|-merged|-all]
move|merge <number>
unmerge [<number>]
close [<n1>[-<n2>]]
notify <level>
localvar
set <property> <value>
get <property>
<number>|<name>
clear: clear buffer content (number for a buffer, -merged for merged buffers, -all for all buffers, or nothing for current buffer)
move: move buffer in the list (may be relative, for example -1)
merge: merge current buffer to another buffer (chat area will be mix of both buffers)
(by default ctrl-x switches between merged buffers)
unmerge: unmerge buffer from other buffers which have same number
close: close buffer (number/range is optional)
list: list buffers (without argument, this list is displayed)
notify: set notify level for current buffer: this level determines whether buffer will be added to hotlist or not:
none: never
highlight: for highlights only
message: for messages from users + highlights
all: all messages
reset: reset to default value (all)
localvar: display local variables for current buffer
set: set a property for current buffer
get: display a property of current buffer
number: jump to buffer by number, possible prefix:
'+': relative jump, add number to current
'-': relative jump, sub number to current
'*': jump to number, using option "weechat.look.jump_current_to_previous_buffer"
name: jump to buffer by (partial) name
Examples:
clear current buffer:
/buffer clear
move buffer to number 5:
/buffer move 5
merge with core buffer:
/buffer merge 1
unmerge buffer:
/buffer unmerge
close current buffer:
/buffer close
close buffers 5 to 7:
/buffer close 5-7
jump to #weechat:
/buffer #weechat
jump to next buffer:
/buffer +1
list: list buffers (without argument, this list is displayed)
clear: clear buffer content (number for a buffer, -merged for merged buffers, -all for all buffers, or nothing for current buffer)
move: move buffer in the list (may be relative, for example -1)
merge: merge current buffer to another buffer (chat area will be mix of both buffers)
(by default ctrl-x switches between merged buffers)
unmerge: unmerge buffer from other buffers which have same number
close: close buffer (number/range is optional)
notify: set notify level for current buffer: this level determines whether buffer will be added to hotlist or not:
none: never
highlight: for highlights only
message: for messages from users + highlights
all: all messages
reset: reset to default value (all)
localvar: display local variables for current buffer
set: set a property for current buffer
get: display a property of current buffer
number: jump to buffer by number, possible prefix:
'+': relative jump, add number to current
'-': relative jump, sub number to current
'*': jump to number, using option "weechat.look.jump_current_to_previous_buffer"
name: jump to buffer by (partial) name
Examples:
clear current buffer:
/buffer clear
move buffer to number 5:
/buffer move 5
merge with core buffer:
/buffer merge 1
unmerge buffer:
/buffer unmerge
close current buffer:
/buffer close
close buffers 5 to 7:
/buffer close 5-7
jump to #weechat:
/buffer #weechat
jump to next buffer:
/buffer +1
........................................
&bull; *`/color`* `[alias color name] | [unalias color] | reset`::
[command]*`color`* define color aliases and display palette of colors::
........................................
define color aliases and display palette of colors
/color alias <color> <alias>
unalias <color>
reset
alias: add an alias for a color
unalias: delete an alias
color: color number (>= 1, max depends on terminal, commonly 63 or 255)
name: alias name for color (for example: "orange")
reset: reset all color pairs (useful when no more pairs are available)
Without argument, this command displays colors in a new buffer.
Examples:
add alias "orange" for color 214:
/color alias 214 orange
delete color 214:
/color unalias 214
alias: add an alias for a color
unalias: delete an alias
color: color number (>= 1, max depends on terminal, commonly 63 or 255)
name: alias name for color (for example: "orange")
reset: reset all color pairs (useful when no more pairs are available)
Without argument, this command displays colors in a new buffer.
Examples:
add alias "orange" for color 214:
/color alias 214 orange
delete color 214:
/color unalias 214
........................................
&bull; *`/command`* `plugin command`::
[command]*`command`* launch explicit WeeChat or plugin command::
........................................
launch explicit WeeChat or plugin command
/command <plugin> <command>
plugin: plugin name ('weechat' for WeeChat internal command)
command: command to execute (a '/' is automatically added if not found at beginning of command)
plugin: plugin name ('weechat' for WeeChat internal command)
command: command to execute (a '/' is automatically added if not found at beginning of command)
........................................
&bull; *`/debug`* `[list | set plugin level | dump [plugin] | buffer | windows | term | color]`::
[command]*`debug`* control debug for core/plugins::
........................................
control debug for core/plugins
/debug list
set <plugin> <level>
dump [<plugin>]
buffer|windows|term|color
set: set log level for plugin
plugin: name of plugin ("core" for WeeChat core)
level: debug level for plugin (0 = disable debug)
dump: save memory dump in WeeChat log file (same dump is written when WeeChat crashes)
buffer: dump buffer content with hexadecimal values in log file
windows: display windows tree
term: display infos about terminal and available colors
color: display infos about current color pairs
list: list plugins with debug levels
set: set debug level for plugin
plugin: name of plugin ("core" for WeeChat core)
level: debug level for plugin (0 = disable debug)
dump: save memory dump in WeeChat log file (same dump is written when WeeChat crashes)
buffer: dump buffer content with hexadecimal values in log file
windows: display windows tree
term: display infos about terminal
color: display infos about current color pairs
........................................
&bull; *`/filter`* `[list] | [enable|disable|toggle [name]] | [add name plugin.buffer tags regex] | [del name|-all]`::
[command]*`filter`* filter messages in buffers, to hide/show them according to tags or regex::
........................................
filter messages in buffers, to hide/show them according to tags or regex
/filter list
enable|disable|toggle [<name>]
add <name> <plugin.buffer> <tags> <regex>
del <name>|-all
list: list all filters
enable: enable filters (filters are enabled by default)
disable: disable filters
toggle: toggle filters
name: filter name
add: add a filter
del: delete a filter
-all: delete all filters
plugin.buffer: plugin and buffer where filter is active ("*" for all buffers)
tags: comma separated list of tags, for example: "irc_join,irc_part,irc_quit"
regex: regular expression to search in line
- use '\t' to separate prefix from message, special chars like '|' must be escaped: '\|'
- if regex starts with '!', then matching result is reversed (use '\!' to start with '!')
note: two regex are created: one for prefix and one for message
The default key alt+'=' toggles filtering on/off.
Tags most commonly used:
no_filter, no_highlight, no_log, log0..log9 (log level),
notify_message, notify_private, notify_highlight,
nick_xxx (xxx is nick in message),
irc_xxx (xxx is command name or number, see /server raw),
irc_numeric, irc_error, irc_action, irc_ctcp, irc_ctcp_reply, irc_smart_filter, away_info.
Examples:
use IRC smart filter for join/part/quit messages:
/filter add irc_smart * irc_smart_filter *
filter all IRC join/part/quit messages:
/filter add joinquit * irc_join,irc_part,irc_quit *
filter nicks displayed when joining channels or with /names:
/filter add nicks * irc_366 *
filter nick "toto" on IRC channel #weechat:
/filter add toto irc.freenode.#weechat * toto\t
keep only nick "titi" on IRC channel #test:
/filter add titi irc.freenode.#test * !titi\t
filter lines containing word "spam":
/filter add filterspam * * spam
filter lines containing "weechat sucks" on IRC channel #weechat:
/filter add sucks irc.freenode.#weechat * weechat sucks
list: list all filters
enable: enable filters (filters are enabled by default)
disable: disable filters
toggle: toggle filters
name: filter name
add: add a filter
del: delete a filter
-all: delete all filters
plugin.buffer: plugin and buffer where filter is active ("*" for all buffers)
tags: comma separated list of tags, for example: "irc_join,irc_part,irc_quit"
regex: regular expression to search in line
- use '\t' to separate prefix from message, special chars like '|' must be escaped: '\|'
- if regex starts with '!', then matching result is reversed (use '\!' to start with '!')
note: two regex are created: one for prefix and one for message
The default key alt+'=' toggles filtering on/off.
Tags most commonly used:
no_filter, no_highlight, no_log, log0..log9 (log level),
notify_message, notify_private, notify_highlight,
nick_xxx (xxx is nick in message),
irc_xxx (xxx is command name or number, see /server raw),
irc_numeric, irc_error, irc_action, irc_ctcp, irc_ctcp_reply, irc_smart_filter, away_info.
Examples:
use IRC smart filter for join/part/quit messages:
/filter add irc_smart * irc_smart_filter *
filter all IRC join/part/quit messages:
/filter add joinquit * irc_join,irc_part,irc_quit *
filter nicks displayed when joining channels or with /names:
/filter add nicks * irc_366 *
filter nick "toto" on IRC channel #weechat:
/filter add toto irc.freenode.#weechat * toto\t
keep only nick "titi" on IRC channel #test:
/filter add titi irc.freenode.#test * !titi\t
filter lines containing word "spam":
/filter add filterspam * * spam
filter lines containing "weechat sucks" on IRC channel #weechat:
/filter add sucks irc.freenode.#weechat * weechat sucks
........................................
&bull; *`/help`* `[command | option]`::
[command]*`help`* display help about commands and options::
........................................
display help about commands and options
/help <command>
<option>
command: a command name
option: an option name (use /set to see list)
command: a command name
option: an option name (use /set to see list)
........................................
&bull; *`/history`* `[clear | value]`::
[command]*`history`* show buffer command history::
........................................
show buffer command history
/history clear
<value>
clear: clear history
value: number of history entries to show
clear: clear history
value: number of history entries to show
........................................
&bull; *`/input`* `return | complete_next | complete_previous | search_next | delete_previous_char | delete_next_char | delete_previous_word | delete_next_word | delete_beginning_of_line | delete_end_of_line | delete_line | clipboard_paste | transpose_chars | undo | redo | move_beginning_of_line | move_end_of_line | move_previous_char | move_next_char | move_previous_word | move_next_word | history_previous | history_next | history_global_previous | history_global_next | jump_smart | jump_last_buffer | jump_previously_visited_buffer | jump_next_visited_buffer | hotlist_clear | grab_key | grab_key_command | scroll_unread | set_unread | set_unread_current_buffer | switch_active_buffer | switch_active_buffer_previous | insert [args]`::
[command]*`input`* functions for command line::
........................................
functions for command line
/input <action> [<arguments>]
This command is used by key bindings or plugins.
list of actions:
return: simulate key "enter"
complete_next: complete word with next completion
complete_previous: complete word with previous completion
search_text: search text in buffer
delete_previous_char: delete previous char
delete_next_char: delete next char
delete_previous_word: delete previous word
delete_next_word: delete next word
delete_beginning_of_line: delete from beginning of line until cursor
delete_end_of_line: delete from cursor until end of line
delete_line: delete entire line
clipboard_paste: paste from clipboard
transpose_chars: transpose two chars
undo: undo last command line action
redo: redo last command line action
move_beginning_of_line: move cursor to beginning of line
move_end_of_line: move cursor to end of line
move_previous_char: move cursor to previous char
move_next_char: move cursor to next char
move_previous_word: move cursor to previous word
move_next_word: move cursor to next word
history_previous: recall previous command in current buffer history
history_next: recall next command in current buffer history
history_global_previous: recall previous command in global history
history_global_next: recall next command in global history
jump_smart: jump to next buffer with activity
jump_last_buffer: jump to last buffer
jump_previously_visited_buffer: jump to previously visited buffer
jump_next_visited_buffer: jump to next visited buffer
hotlist_clear: clear hotlist
grab_key: grab a key
grab_key_command: grab a key with its associated command
scroll_unread: scroll to unread marker
set_unread: set unread marker for all buffers
set_unread_current_buffer: set unread marker for current buffer
switch_active_buffer: switch to next merged buffer
switch_active_buffer_previous: switch to previous merged buffer
insert: insert text in command line
This command is used by key bindings or plugins.
........................................
&bull; *`/key`* `[list | listdefault | listdiff] | [bind key [command [args]]] | [unbind key] | [reset key] | [resetall -yes] | [missing]`::
[command]*`key`* bind/unbind keys::
........................................
bind/unbind keys
/key list|listdefault|listdiff
bind <key> [<command> [<args>]]
unbind <key>
reset <key>
resetall -yes
missing
list: list all current keys (without argument, this list is displayed)
listdefault: list default keys
listdiff: list differences between current and default keys (keys added, redefined or deleted)
bind: bind a command to a key or display command bound to key
unbind: remove a key binding
reset: reset a key to default binding
resetall: restore bindings to the default values and delete ALL personal bindings (use carefully!)
missing: add missing keys (using default bindings), useful after installing new WeeChat version
When binding a command to a key, it is recommended to use key alt+k (or Esc then k), and then press the key to bind: this will insert key code in command line.
Examples:
key alt-x to toggle nicklist bar:
/key bind meta-x /bar toggle nicklist
key alt-r to jump to #weechat IRC channel:
/key bind meta-r /buffer #weechat
restore default binding for key alt-r:
/key reset meta-r
list: list all current keys (without argument, this list is displayed)
listdefault: list default keys
listdiff: list differences between current and default keys (keys added, redefined or deleted)
bind: bind a command to a key or display command bound to key
unbind: remove a key binding
reset: reset a key to default binding
resetall: restore bindings to the default values and delete ALL personal bindings (use carefully!)
missing: add missing keys (using default bindings), useful after installing new WeeChat version
When binding a command to a key, it is recommended to use key alt+k (or Esc then k), and then press the key to bind: this will insert key code in command line.
Examples:
key alt-x to toggle nicklist bar:
/key bind meta-x /bar toggle nicklist
key alt-r to jump to #weechat IRC channel:
/key bind meta-r /buffer #weechat
restore default binding for key alt-r:
/key reset meta-r
........................................
&bull; *`/layout`* `[[save | apply | reset] [buffers | windows]]`::
[command]*`layout`* save/apply/reset layout for buffers and windows::
........................................
save/apply/reset layout for buffers and windows
/layout save [buffers|windows]
apply [buffers|windows]
reset [buffers|windows]
save: save current layout
apply: apply saved layout
reset: remove saved layout
buffers: save/apply only buffers (order of buffers)
windows: save/apply only windows (buffer displayed by each window)
Without argument, this command displays saved layout.
save: save current layout
apply: apply saved layout
reset: remove saved layout
buffers: save/apply only buffers (order of buffers)
windows: save/apply only windows (buffer displayed by each window)
Without argument, this command displays saved layout.
........................................
&bull; *`/mute`* `[-current | -buffer name | -all] command`::
[command]*`mute`* execute a command silently::
........................................
execute a command silently
/mute [-current | -buffer <name> | -all] command
-current: no output on curent buffer
-buffer: no output on specified buffer
name: full buffer name (examples: "irc.server.freenode", "irc.freenode.#weechat")
-all: no output on ALL buffers
command: command to execute silently (a '/' is automatically added if not found at beginning of command)
If no target is specified (-current, -buffer or -all), then default is to mute WeeChat core buffer only.
Examples:
config save:
/mute save
message to current IRC channel:
/mute -current msg * hi!
message to #weechat channel:
/mute -buffer irc.freenode.#weechat msg #weechat hi!
-current: no output on curent buffer
-buffer: no output on specified buffer
name: full buffer name (examples: "irc.server.freenode", "irc.freenode.#weechat")
-all: no output on ALL buffers
command: command to execute silently (a '/' is automatically added if not found at beginning of command)
If no target is specified (-current, -buffer or -all), then default is to mute WeeChat core buffer only.
Examples:
config save:
/mute save
message to current IRC channel:
/mute -current msg * hi!
message to #weechat channel:
/mute -buffer irc.freenode.#weechat msg #weechat hi!
........................................
&bull; *`/plugin`* `[list [name]] | [listfull [name]] | [load filename] | [autoload] | [reload [name]] | [unload [name]]`::
[command]*`plugin`* list/load/unload plugins::
........................................
list/load/unload plugins
/plugin list|listfull [<name>]
load <filename>
autoload
reload|unload [<name>]
list: list loaded plugins
listfull: list loaded plugins (verbose)
load: load a plugin
autoload: autoload plugins in system or user directory
reload: reload one plugin (if no name given, unload all plugins, then autoload plugins)
unload: unload one or all plugins
Without argument, this command lists loaded plugins.
list: list loaded plugins
listfull: list loaded plugins (verbose)
load: load a plugin
autoload: autoload plugins in system or user directory
reload: reload a plugin (if no name given, unload all plugins, then autoload plugins)
unload: unload a plugin (if no name given, unload all plugins)
Without argument, this command lists loaded plugins.
........................................
&bull; *`/proxy`* `[add proxyname type address port [username [password]]] | [del proxyname|-all] | [set proxyname option value] | [list]`::
[command]*`proxy`* manage proxies::
........................................
manage proxies
/proxy list
add <name> <type> <address> <port> [<username> [<password>]]
del <name>|-all
set <name> <option> <value>
add: add a new proxy
proxyname: 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
list: list all proxies
Examples:
create a http proxy, running on local host, port 8888:
/proxy add local http 127.0.0.1 8888
create a http proxy using IPv6 protocol:
/proxy add local http 127.0.0.1 8888
/proxy set local ipv6 on
create a socks5 proxy with username/password:
/proxy add myproxy socks5 sample.host.org 3128 myuser mypass
delete a proxy:
/proxy del myproxy
........................................
&bull; *`/quit`* `[-yes] [arguments]`::
........................................
quit WeeChat
-yes: required if option weechat.look.confirm_quit is enabled
arguments: text sent with signal "quit"
(for example irc plugin uses this text to send quit message to server)
........................................
&bull; *`/reload`* `[file [file...]]`::
........................................
reload configuration files from disk
file: configuration file to reload
Without argument, all files (WeeChat and plugins) are reloaded.
........................................
&bull; *`/save`* `[file [file...]]`::
........................................
save configuration files to disk
file: configuration file to save
Without argument, all files (WeeChat and plugins) are saved.
........................................
&bull; *`/set`* `[option [value]]`::
........................................
set config options
option: name of an option
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
New value can be, according to variable type:
boolean: on, off or toggle
integer: number, ++number or --number
string : any string ("" for empty string)
color : color name, ++number or --number
For all types, you can use null to remove option value (undefined value). This works only for some special plugin variables.
Examples:
create a http proxy, running on local host, port 8888:
/proxy add local http 127.0.0.1 8888
create a http proxy using IPv6 protocol:
/proxy add local http 127.0.0.1 8888
/proxy set local ipv6 on
create a socks5 proxy with username/password:
/proxy add myproxy socks5 sample.host.org 3128 myuser mypass
delete a proxy:
/proxy del myproxy
........................................
&bull; *`/unset`* `[option]`::
[command]*`quit`* quit WeeChat::
........................................
unset/reset config options
/quit [-yes] [<arguments>]
option: name of an option (may begin or end with "*" to mass-reset options, use carefully!)
According to option, it's reset (for standard options) or removed (for optional settings, like server values).
-yes: required if option weechat.look.confirm_quit is enabled
arguments: text sent with signal "quit"
(for example irc plugin uses this text to send quit message to server)
........................................
&bull; *`/upgrade`* `[path_to_binary]`::
[command]*`reload`* reload configuration files from disk::
........................................
upgrade WeeChat without disconnecting from servers
/reload [<file> [<file>...]]
path_to_binary: path to WeeChat binary (default is current binary)
This command run again a WeeChat binary, so it should have been compiled or installed with a package manager before running this command.
Upgrade process has 4 steps:
1. save session into files for core and plugins (buffers, history, ..)
2. unload all plugins (configs *.conf are saved)
3. save WeeChat config (weechat.conf)
4. exec new WeeChat binary.
file: configuration file to reload (without extension ".conf")
Without argument, all files (WeeChat and plugins) are reloaded.
........................................
&bull; *`/uptime`* `[-o | -ol]`::
[command]*`save`* save configuration files to disk::
........................................
show WeeChat uptime
/save [<file> [<file>...]]
-o: send uptime to current buffer as input (english string)
-ol: send uptime to current buffer as input (translated string)
file: configuration file to save (without extension ".conf")
Without argument, all files (WeeChat and plugins) are saved.
........................................
&bull; *`/version`* `[-o | -ol]`::
[command]*`set`* set config options::
........................................
show WeeChat version and compilation date
/set [<option> [<value>]]
-o: send version to current buffer as input (english string)
-ol: send version to current buffer as input (translated string)
option: name of an option (can start or end with "*" to list many options)
value: new value for option
New value can be, according to variable type:
boolean: on, off or toggle
integer: number, ++number or --number
string : any string ("" for empty string)
color : color name, ++number or --number
For all types, you can use null to remove option value (undefined value). This works only for some special plugin variables.
Examples:
display options about highlight:
/set *highlight*
add a word to highlight:
/set weechat.look.highlight "word"
........................................
&bull; *`/wait`* `number[unit] command`::
[command]*`unset`* unset/reset config options::
........................................
schedule a command execution in future
/unset <option>
number: amount of time to wait (integer number)
unit: optional, values are:
ms: milliseconds
s: seconds (default)
m: minutes
h: hours
command: command to execute (or text to send to buffer if command does not start with '/')
Note: command is executed on buffer where /wait was executed (if buffer is not found (for example if it has been closed before execution of command), then command is executed on WeeChat core buffer).
Examples:
join channel in 10 sec:
/wait 10 /join #test
set away in 15 min:
/wait 15m /away -all I'm away
say 'hello' in 2 min:
/wait 2m hello
option: name of an option (may begin or end with "*" to mass-reset options, use carefully!)
According to option, it's reset (for standard options) or removed (for optional settings, like server values).
Examples:
reset one option:
/unset weechat.look.item_time_format
reset all color options:
/unset weechat.color.*
........................................
&bull; *`/window`* `[list | -1 | +1 | b# | up | down | left | right | splith [pct] | splitv [pct] | resize pct | merge [all] | page_up | page_down | refresh | scroll | scroll_up | scroll_down | scroll_top | scroll_bottom | scroll_previous_highlight | scroll_next_highlight | zoom]`::
[command]*`upgrade`* upgrade WeeChat without disconnecting from servers::
........................................
manage windows
/upgrade [<path_to_binary>]
list: list opened windows (without argument, this list is displayed)
-1: jump to previous window
+1: jump to next window
b#: jump to next window displaying buffer number #
up: switch to window above current one
down: switch to window below current one
left: switch to window on the left
right: switch to window on the right
splith: split current window horizontally
splitv: split current window vertically
resize: resize window size, new size is <pct> percentage of parent window
merge: merge window with another (all = keep only one window)
page_up: scroll one page up
page_down: scroll one page down
refresh: refresh screen
scroll: scroll number of lines (+/-N) or with time: s=seconds, m=minutes, h=hours, d=days, M=months, y=years
scroll_up: scroll a few lines up
scroll_down: scroll a few lines down
scroll_top: scroll to top of buffer
scroll_bottom: scroll to bottom of buffer
scroll_previous_highlight: scroll to previous highlight
scroll_next_highlight: scroll to next highlight
zoom: zoom on window
For splith and splitv, pct is a percentage which represents size of new window, computed with current window as size reference. For example 25 means create a new window with size = current_size / 4
Examples:
jump to window displaying buffer #1:
/window b1
scroll 2 lines up:
/window scroll -2
scroll 2 days up:
/window scroll -2d
scroll to beginning of current day:
/window scroll -d
path_to_binary: path to WeeChat binary (default is current binary)
This command run again a WeeChat binary, so it should have been compiled or installed with a package manager before running this command.
Upgrade process has 4 steps:
1. save session into files for core and plugins (buffers, history, ..)
2. unload all plugins (configuration files (*.conf) are written on disk)
3. save WeeChat configuration (weechat.conf)
4. execute new WeeChat binary and reload session.
........................................
[command]*`uptime`* show WeeChat uptime::
........................................
/uptime [-o | -ol]
-o: send uptime to current buffer as input (english string)
-ol: send uptime to current buffer as input (translated string)
........................................
[command]*`version`* show WeeChat version and compilation date::
........................................
/version [-o | -ol]
-o: send version to current buffer as input (english string)
-ol: send version to current buffer as input (translated string)
........................................
[command]*`wait`* schedule a command execution in future::
........................................
/wait <number>[<unit>] <command>
number: amount of time to wait (integer number)
unit: optional, values are:
ms: milliseconds
s: seconds (default)
m: minutes
h: hours
command: command to execute (or text to send to buffer if command does not start with '/')
Note: command is executed on buffer where /wait was executed (if buffer is not found (for example if it has been closed before execution of command), then command is executed on WeeChat core buffer).
Examples:
join channel in 10 seconds:
/wait 10 /join #test
set away in 15 minutes:
/wait 15m /away -all I'm away
say 'hello' in 2 minutes:
/wait 2m hello
........................................
[command]*`window`* manage windows::
........................................
/window list
-1|+1|b#|up|down|left|right
splith|splitv [<pct>]
resize <pct>
merge [all]
page_up|page_down
refresh
scroll|scroll_up|scroll_down|scroll_top|scroll_bottom|scroll_previous_highlight|scroll_next_highlight
zoom
list: list opened windows (without argument, this list is displayed)
-1: jump to previous window
+1: jump to next window
b#: jump to next window displaying buffer number #
up: switch to window above current one
down: switch to window below current one
left: switch to window on the left
right: switch to window on the right
splith: split current window horizontally
splitv: split current window vertically
resize: resize window size, new size is <pct> percentage of parent window
merge: merge window with another (all = keep only one window)
page_up: scroll one page up
page_down: scroll one page down
refresh: refresh screen
scroll: scroll number of lines (+/-N) or with time: s=seconds, m=minutes, h=hours, d=days, M=months, y=years
scroll_up: scroll a few lines up
scroll_down: scroll a few lines down
scroll_top: scroll to top of buffer
scroll_bottom: scroll to bottom of buffer
scroll_previous_highlight: scroll to previous highlight
scroll_next_highlight: scroll to next highlight
zoom: zoom on window
For splith and splitv, pct is a percentage which represents size of new window, computed with current window as size reference. For example 25 means create a new window with size = current_size / 4
Examples:
jump to window displaying buffer #1:
/window b1
scroll 2 lines up:
/window scroll -2
scroll 2 days up:
/window scroll -2d
scroll to beginning of current day:
/window scroll -d
........................................
+9 -11
View File
@@ -1,19 +1,17 @@
&bull; *`/me`* `message`::
[command]*`me`* send a CTCP action to remote host::
........................................
send a CTCP action to remote host
/me <message>
message: message to send
message: message to send
........................................
&bull; *`/xfer`* `[list | listfull]`::
[command]*`xfer`* xfer control::
........................................
xfer control
/xfer [list|listfull]
list: list xfer
listfull: list xfer (verbose)
Without argument, this command opens buffer with xfer list.
list: list xfer
listfull: list xfer (verbose)
Without argument, this command opens buffer with xfer list.
........................................
+1 -1
View File
@@ -1470,7 +1470,7 @@ weechat::
When option is not set (default), WeeChat chooses appropriate buffer, commonly
server or channel buffer.
Non-exhaustive list of IRC messages or alias that you can customize:
Non-comprehensive list of IRC messages or alias that you can customize:
[width="60%",cols="^1m,^3m,8",options="header"]
|========================================
+29 -30
View File
@@ -1,34 +1,33 @@
&bull; *`/alias`* `[[-completion complétion] nom_alias [commande [paramètres]]]`::
[command]*`alias`* créer un alias pour une commande::
........................................
créer un alias pour une commande
/alias [-completion <complétion>] alias [<commande> [<paramètres>]]
complétion: complétion pour l'alias (optionnel, par défaut la complétion se fait avec la commande cible)
nom_alias: nom de l'alias (peut démarrer ou se terminer par "*" pour une liste d'alias)
commande: nom de la commande (plusieurs commandes peuvent être séparées par des point-virgules)
paramètres: paramètres pour la commande
Sans paramètre, cette commande liste tous les alias définis.
Note : dans la commande, les variables spéciales sont remplacées :
$n: paramètre 'n' (entre 1 et 9)
$-m: paramètres de 1 à 'm'
$n-: paramètres de 'n' au dernier
$n-m: paramètres de 'n' à 'm'
$*: tous les paramètres
$~: le dernier paramètre
$nick: pseudo courant
$channel: canal courant
$server: serveur courant
Pour supprimer un alias, utilisez la commande /unalias.
Exemples:
alias /split pour diviser la fenêtre horizontalement :
/alias split /window splith
alias /hello pour dire "hello" sur tous les canaux mais pas sur #weechat :
/alias hello /allchan -exclude=#weechat msg * hello
alias /forcejoin pour envoyer la commande IRC "forcejoin" avec la complétion de /sajoin :
/alias -completion %%sajoin forcejoin /quote forcejoin
complétion: complétion pour l'alias (optionnel, par défaut la complétion se fait avec la commande cible)
alias: nom de l'alias (peut démarrer ou se terminer par "*" pour une liste d'alias)
commande: nom de la commande (plusieurs commandes peuvent être séparées par des point-virgules)
paramètres: paramètres pour la commande
Sans paramètre, cette commande liste tous les alias définis.
Note: dans la commande, les variables spéciales sont remplacées:
$n: paramètre 'n' (entre 1 et 9)
$-m: paramètres de 1 à 'm'
$n-: paramètres de 'n' au dernier
$n-m: paramètres de 'n' à 'm'
$*: tous les paramètres
$~: le dernier paramètre
$nick: pseudo courant
$channel: canal courant
$server: serveur courant
Pour supprimer un alias, utilisez la commande /unalias.
Exemples:
alias /split pour diviser la fenêtre horizontalement :
/alias split /window splith
alias /hello pour dire "hello" sur tous les canaux mais pas sur #weechat :
/alias hello /allchan -exclude=#weechat msg * hello
alias /forcejoin pour envoyer la commande IRC "forcejoin" avec la complétion de /sajoin :
/alias -completion %%sajoin forcejoin /quote forcejoin
........................................
+11 -9
View File
@@ -1,13 +1,15 @@
&bull; *`/aspell`* `dictlist | enable lang | disable | addword [lang] word`::
[command]*`aspell`* configuration de l'extension aspell::
........................................
configuration de l'extension aspell
/aspell dictlist
enable <langue>
disable
addword [<langue>] <mot>
dictlist: afficher les dictionnaires installés
enable: active aspell sur le tampon courant
disable: désactive aspell sur le tampon courant
addword: ajoute un mot dans le dictionnaire personnel aspell
Les lignes d'entrée commençant par '/' ne sont pas vérifiées, sauf pour certaines commandes.
dictlist: afficher les dictionnaires installés
enable: activer aspell sur le tampon courant
disable: désactiver aspell sur le tampon courant
addword: ajouter un mot dans le dictionnaire personnel aspell
Les lignes d'entrée commençant par '/' ne sont pas vérifiées, sauf pour certaines commandes.
........................................
+7 -7
View File
@@ -1,11 +1,11 @@
&bull; *`/charset`* `[[decode | encode] charset] | [reset]`::
[command]*`charset`* changer le charset pour le tampon courant::
........................................
changer le charset pour le tampon courant
/charset decode|encode <charset>
reset
decode: changer le charset de décodage
encode: changer le charset d'encodage
charset: nouveau charset pour le tampon courant
reset: réinitialiser les charsets pour le tampon courant
decode: changer le charset de décodage
encode: changer le charset d'encodage
charset: nouveau charset pour le tampon courant
reset: réinitialiser les charsets pour le tampon courant
........................................
+18 -28
View File
@@ -1,42 +1,32 @@
&bull; *`/demo_buffer`* `nom`::
[command]*`demo_buffer`* ouvrir un nouveau tampon::
........................................
ouvrir un nouveau tampon
/demo_buffer <nom>
........................................
&bull; *`/demo_buffer_set`* `propriété valeur`::
[command]*`demo_info`* lit et affiche une info::
........................................
définir une propriété de tampon
/demo_info <info> [<paramètres>]
info: info à afficher
paramètres: paramètres optionnels pour l'info
Sans paramètre, cette commande affiche la liste des infos disponibles
........................................
&bull; *`/demo_info`* `[info [paramètres]]`::
[command]*`demo_infolist`* lit et affiche une infolist::
........................................
lit et affiche une info
/demo_infolist <infolist> [<paramètres>]
info: info à afficher
paramètres: paramètres optionnels pour l'info
Sans paramètre, cette commande affiche la liste des infos disponibles
infolist: infolist à afficher
paramètres: paramètres optionnels pour l'infolist
Sans paramètre, cette commande affiche la liste des infolists disponibles
........................................
&bull; *`/demo_infolist`* `[infolist [paramètres]]`::
[command]*`demo_printf`* affiche des messages sur le tampon courant::
........................................
lit et affiche une infolist
/demo_printf <texte>
infolist: infolist à afficher
paramètres: paramètres optionnels pour l'infolist
Sans paramètre, cette commande affiche la liste des infolists disponibles
........................................
&bull; *`/demo_printf`* `[texte]`::
........................................
affiche des messages sur le tampon courant
texte: affiche ce texte
texte: affiche ce texte
........................................
File diff suppressed because it is too large Load Diff
+29 -28
View File
@@ -1,32 +1,33 @@
&bull; *`/logger`* `[list | set niveau | disable]`::
[command]*`logger`* configuration de l'extension logger::
........................................
configuration de l'extension logger
/logger list
set <niveau>
disable
list: afficher le statut d'enregistrement pour les tampons ouverts
set: définir le niveau d'enregistrement pour le tampon courant
niveau: niveau pour les messages à enregistrer (0 = pas d'enregistrement, 1 = quelques messages (les plus importants) .. 9 = tous les messages)
disable: désactiver l'enregistrement pour le tampon courant (définir le niveau à 0)
Les options "logger.level.*" et "logger.mask.*" peuvent être utilisées pour définir le niveau ou le masque de nom de fichier pour un tampon, ou plusieurs tampons commençant par un nom.
Niveaux de log utilisés par l'extension IRC:
1: message d'utilisateur, notice, privé
2: changement de pseudo
3: message du serveur
4: join/part/quit
9: tous les autres messages
Exemples:
définir le niveau d'enregistrement à 5 pour le tampon courant:
/logger set 5
désactiver l'enregistrement pour le tampon courant:
/logger disable
définir le niveau à 3 pour les tampons IRC:
/set logger.level.irc 3
désactiver l'enregistrement pour le tampon principal de WeeChat:
/set logger.level.core.weechat 0
utiliser un répertoire par serveur IRC et un fichier par canal dedans:
/set logger.mask.irc "$server/$channel.weechatlog"
list: afficher le statut d'enregistrement pour les tampons ouverts
set: définir le niveau d'enregistrement pour le tampon courant
niveau: niveau pour les messages à enregistrer (0 = pas d'enregistrement, 1 = quelques messages (les plus importants) .. 9 = tous les messages)
disable: désactiver l'enregistrement pour le tampon courant (définir le niveau à 0)
Les options "logger.level.*" et "logger.mask.*" peuvent être utilisées pour définir le niveau ou le masque de nom de fichier pour un tampon, ou plusieurs tampons commençant par un nom.
Niveaux de log utilisés par l'extension IRC:
1: message d'utilisateur, notice, privé
2: changement de pseudo
3: message du serveur
4: join/part/quit
9: tous les autres messages
Exemples:
définir le niveau d'enregistrement à 5 pour le tampon courant:
/logger set 5
désactiver l'enregistrement pour le tampon courant:
/logger disable
définir le niveau à 3 pour les tampons IRC:
/set logger.level.irc 3
désactiver l'enregistrement pour le tampon principal de WeeChat:
/set logger.level.core.weechat 0
utiliser un répertoire par serveur IRC et un fichier par canal dedans:
/set logger.mask.irc "$server/$channel.weechatlog"
........................................
+15 -7
View File
@@ -1,11 +1,19 @@
&bull; *`/lua`* `[list [nom]] | [listfull [nom]] | [load fichier] | [autoload] | [reload [nom]] | [unload [nom]]`::
[command]*`lua`* lister/charger/décharger des scripts::
........................................
liste/charge/décharge des scripts
/lua list|listfull [<nom>]
load <fichier>
autoload
reload|unload [<nom>]
fichier: script (fichier) à charger
nom: un nom de script
Sans argument, cette commande liste tous les scripts chargés.
list: lister les scripts chargés
listfull: lister les scripts chargés (verbeux)
load: charger un script
autoload: charger tous les scripts dans le répertoire "autoload"
reload: recharger un script (si pas de nom donné, décharger tous les scripts puis charger tous les scripts dans le répertoire "autoload")
unload: décharger un script (si pas de nom donné, décharger tous les scripts)
fichier: script (fichier) à charger
nom: nom de script (nom utilisé dans l'appel à la fonction "register")
Sans paramètre, cette commande liste les scripts chargés.
........................................
+15 -7
View File
@@ -1,11 +1,19 @@
&bull; *`/perl`* `[list [nom]] | [listfull [nom]] | [load fichier] | [autoload] | [reload [nom]] | [unload [nom]]`::
[command]*`perl`* lister/charger/décharger des scripts::
........................................
liste/charge/décharge des scripts
/perl list|listfull [<nom>]
load <fichier>
autoload
reload|unload [<nom>]
fichier: script (fichier) à charger
nom: un nom de script
Sans argument, cette commande liste tous les scripts chargés.
list: lister les scripts chargés
listfull: lister les scripts chargés (verbeux)
load: charger un script
autoload: charger tous les scripts dans le répertoire "autoload"
reload: recharger un script (si pas de nom donné, décharger tous les scripts puis charger tous les scripts dans le répertoire "autoload")
unload: décharger un script (si pas de nom donné, décharger tous les scripts)
fichier: script (fichier) à charger
nom: nom de script (nom utilisé dans l'appel à la fonction "register")
Sans paramètre, cette commande liste les scripts chargés.
........................................
+15 -7
View File
@@ -1,11 +1,19 @@
&bull; *`/python`* `[list [nom]] | [listfull [nom]] | [load fichier] | [autoload] | [reload [nom]] | [unload [nom]]`::
[command]*`python`* lister/charger/décharger des scripts::
........................................
liste/charge/décharge des scripts
/python list|listfull [<nom>]
load <fichier>
autoload
reload|unload [<nom>]
fichier: script (fichier) à charger
nom: un nom de script
Sans argument, cette commande liste tous les scripts chargés.
list: lister les scripts chargés
listfull: lister les scripts chargés (verbeux)
load: charger un script
autoload: charger tous les scripts dans le répertoire "autoload"
reload: recharger un script (si pas de nom donné, décharger tous les scripts puis charger tous les scripts dans le répertoire "autoload")
unload: décharger un script (si pas de nom donné, décharger tous les scripts)
fichier: script (fichier) à charger
nom: nom de script (nom utilisé dans l'appel à la fonction "register")
Sans paramètre, cette commande liste les scripts chargés.
........................................
+21 -19
View File
@@ -1,23 +1,25 @@
&bull; *`/relay`* `[list | listfull | add protocole.nom port | del protocole.nom | raw]`::
[command]*`relay`* contrôle du relai::
........................................
contrôle du relai
/relay list|listfull|listrelay
add <protocole.nom> <port>
del <protocole.nom>
raw
list: liste les clients pour le relai
listfull: liste les clients pour le relai (verbeux)
listrelay: liste les relais (nom et port)
add: ajoute un relai pour un protocole + nom
del: supprime un relai pour un protocole + nom
protocole.nom: protocole et nom à relayer
actuellement, seul le protocole "irc" est supporté
par exemple: irc.freenode
port: port utilisé pour le relai
raw: ouvre le tampon avec les données brutes Relay
Sans paramètre, cette commande ouvre le tampon avec la liste des clients pour le relai.
Exemple :
proxy irc, pour le serveur "freenode" :
/relay add irc.freenode 8000
list: lister les clients pour le relai
listfull: lister les clients pour le relai (verbeux)
listrelay: lister les relais (nom et port)
add: ajouter un relai pour un protocole + nom
del: supprimer un relai pour un protocole + nom
protocole.nom: protocole et nom à relayer
actuellement, seul le protocole "irc" est supporté
par exemple: irc.freenode
port: port utilisé pour le relai
raw: ouvrir le tampon avec les données brutes Relay
Sans paramètre, cette commande ouvre le tampon avec la liste des clients pour le relai.
Exemple:
proxy irc, pour le serveur "freenode":
/relay add irc.freenode 8000
........................................
+23 -21
View File
@@ -1,25 +1,27 @@
&bull; *`/rmodifier`* `[list] | [listdefault] | [add nom modifiers groupes regex] | [del nom|-all [nom...]] | [default -yes]`::
[command]*`rmodifier`* modifier des chaînes de "modifier" avec des expressions régulières::
........................................
modifie des chaînes de "modifier" avec des expressions régulières
/rmodifier list|listdefault
add <nom> <modifiers> <groupes> <regex>
del <nom>|-all [<nom>...]
default -yes
list: liste les rmodifiers
listdefault: liste les rmodifiers par défaut
add: ajoute un rmodifier
name: nom du rmodifier
modifiers: liste de modifiers (séparés par une virgule)
groupes: action sur les groupes trouvés: liste de groupes (séparés par une virgule) (de 1 à 9) avec en option "*" après le nombre pour cacher le groupe
regex: expression régulière
del: supprime un rmodifier
-all: supprime tous les rmodifiers
default: restaure les rmodifiers par défaut
Exemples:
cacher tout ce qui est tapé après la commande /password:
/rmodifier add password input_text_display 1,2* ^(/password +)(.*)
supprimer le rmodifier "password":
/rmodifier del password
supprimer tous les rmodifiers:
/rmodifier del -all
list: lister les rmodifiers
listdefault: lister les rmodifiers par défaut
add: ajouter un rmodifier
name: nom du rmodifier
modifiers: liste de modifiers (séparés par une virgule)
groupes: action sur les groupes trouvés: liste de groupes (séparés par une virgule) (de 1 à 9) avec en option "*" après le nombre pour cacher le groupe
regex: expression régulière
del: supprimer un rmodifier
-all: supprimer tous les rmodifiers
default: restaurer les rmodifiers par défaut
Exemples:
cacher tout ce qui est tapé après la commande /password:
/rmodifier add password input_text_display 1,2* ^(/password +)(.*)
supprimer le rmodifier "password":
/rmodifier del password
supprimer tous les rmodifiers:
/rmodifier del -all
........................................
+15 -7
View File
@@ -1,11 +1,19 @@
&bull; *`/ruby`* `[list [nom]] | [listfull [nom]] | [load fichier] | [autoload] | [reload [nom]] | [unload [nom]]`::
[command]*`ruby`* lister/charger/décharger des scripts::
........................................
liste/charge/décharge des scripts
/ruby list|listfull [<nom>]
load <fichier>
autoload
reload|unload [<nom>]
fichier: script (fichier) à charger
nom: un nom de script
Sans argument, cette commande liste tous les scripts chargés.
list: lister les scripts chargés
listfull: lister les scripts chargés (verbeux)
load: charger un script
autoload: charger tous les scripts dans le répertoire "autoload"
reload: recharger un script (si pas de nom donné, décharger tous les scripts puis charger tous les scripts dans le répertoire "autoload")
unload: décharger un script (si pas de nom donné, décharger tous les scripts)
fichier: script (fichier) à charger
nom: nom de script (nom utilisé dans l'appel à la fonction "register")
Sans paramètre, cette commande liste les scripts chargés.
........................................
+15 -7
View File
@@ -1,11 +1,19 @@
&bull; *`/tcl`* `[list [nom]] | [listfull [nom]] | [load fichier] | [autoload] | [reload [nom]] | [unload [nom]]`::
[command]*`tcl`* lister/charger/décharger des scripts::
........................................
liste/charge/décharge des scripts
/tcl list|listfull [<nom>]
load <fichier>
autoload
reload|unload [<nom>]
fichier: script (fichier) à charger
nom: un nom de script
Sans argument, cette commande liste tous les scripts chargés.
list: lister les scripts chargés
listfull: lister les scripts chargés (verbeux)
load: charger un script
autoload: charger tous les scripts dans le répertoire "autoload"
reload: recharger un script (si pas de nom donné, décharger tous les scripts puis charger tous les scripts dans le répertoire "autoload")
unload: décharger un script (si pas de nom donné, décharger tous les scripts)
fichier: script (fichier) à charger
nom: nom de script (nom utilisé dans l'appel à la fonction "register")
Sans paramètre, cette commande liste les scripts chargés.
........................................
+454 -380
View File
@@ -1,480 +1,554 @@
&bull; *`/away`* `[-all] [message]`::
[command]*`away`* basculer le statut absent::
........................................
basculer le statut absent
/away [-all] [<message>]
-all: basculer le statut absent sur tous les serveurs connectés
message: message pour l'absence (si pas de message donné, le statut d'absence est supprimé)
-all: basculer le statut absent sur tous les serveurs connectés
message: message pour l'absence (si pas de message donné, le statut d'absence est supprimé)
........................................
&bull; *`/bar`* `[add nombarre type[,cond1,cond2,...] position taille separateur objet1,objet2,...] | [default] | [del nombarre|-all] | [set nombarre option valeur] | [hide|show|toggle nombarre] | [scroll nombarre tampon valeur_scroll] | [list] | [listfull] | [listitems]`::
[command]*`bar`* gestion des barres::
........................................
gestion des barres
/bar list|listfull|listitems
add <nom> <type>[,<cond1>[,<cond2>...]] <position> <taille> <séparateur> <objet1>[,<objet2>...]
default
del <nom>|-all
set <nom> <option> <valeur>
hide|show|toggle <nom>
scroll <nom> <tampon> <valeur_scroll>
add: ajoute une nouvelle barre
nombarre: nom de la barre (doit être unique)
type: root: en dehors des fenêtres
window: dans les fenêtres, avec condition(s) optionnelle(s) (voir ci-dessous)
cond1,...: condition(s) pour afficher cette barre (seulement pour le type "window"):
active: sur la fenêtre active
inactive: sur les fenêtres inactives
nicklist: sur les fenêtres avec liste de pseudos
sans condition, la barre est toujours affichée
position: bottom (bas), top (haut), left (gauche) ou right (droite)
taille: taille de la barre (en caractères)
séparateur: 1 pour utiliser un séparateur (ligne), 0 ou rien signifie sans séparateur
objet1,...: objets pour cette barre (les objets peuvent être séparés par une virgule (espace entre les objets) ou "+" (objets collés))
default: créer les barres par défaut
del: supprime une barre (ou toutes les barres avec -all)
set: change la valeur d'une propriété de la barre
option: option à modifier (pour la liste des options, voir /set weechat.bar.<nombarre>.*
valeur: nouvelle valeur pour l'option
hide: cache la barre
show: montre une barre cachée
toggle: cache/montre une barre
scroll: défilement de la barre vers le haut/bas
tampon: catégorie et nom du tampon ('*' signifie le tampon courant, vous devez utiliser '*' pour les barres de type root)
valeur_scroll: valeur pour le défilement: 'x' ou 'y', suivi par '+', '-', 'b' (début) ou 'e' (fin), valeur (pour +/-), et un %% optionnel (pour faire défiler par %% de la largeur/hauteur, sinon la valeur est un nombre de caractères)
list: liste toutes les barres
listfull: liste toutes les barres (verbeux)
listitems: liste tous les objets de barre
Exemples:
créer une barre avec l'heure, numéro + nom de tampon, et la complétion:
/bar add mabarre root bottom 1 0 [time],buffer_number+:+buffer_name,completion
cacher une barre:
/bar hide mabarre
faire défiler la liste des pseudos de 10 lignes vers le bas sur le tampon courant:
/bar scroll nicklist * y+10
faire défiler la liste des pseudos d'une page vers le haut sur le tampon #weechat:
/bar scroll nicklist #weechat y-100%
faire défiler la liste des pseudos à la fin sur le tampon courant:
/bar scroll nicklist * ye
list: lister toutes les barres
listfull: lister toutes les barres (verbeux)
listitems: lister tous les objets de barre
add: ajouter une nouvelle barre
nom: nom de la barre (doit être unique)
type: root: en dehors des fenêtres
window: dans les fenêtres, avec condition(s) optionnelle(s) (voir ci-dessous)
cond1,...: condition(s) pour afficher cette barre (seulement pour le type "window"):
active: sur la fenêtre active
inactive: sur les fenêtres inactives
nicklist: sur les fenêtres avec liste de pseudos
sans condition, la barre est toujours affichée
position: bottom (bas), top (haut), left (gauche) ou right (droite)
taille: taille de la barre (en caractères)
séparateur: 1 pour utiliser un séparateur (ligne), 0 ou rien signifie sans séparateur
objet1,...: objets pour cette barre (les objets peuvent être séparés par une virgule (espace entre les objets) ou "+" (objets collés))
default: créer les barres par défaut
del: supprimer une barre (ou toutes les barres avec -all)
set: changer la valeur d'une propriété de la barre
option: option à modifier (pour la liste des options, voir /set weechat.bar.<nombarre>.*
valeur: nouvelle valeur pour l'option
hide: cacher la barre
show: montrer une barre cachée
toggle: cacher/montrer une barre
scroll: faire défiler la barre
tampon: catégorie et nom du tampon ('*' signifie le tampon courant, vous devez utiliser '*' pour les barres de type root)
valeur_scroll: valeur pour le défilement: 'x' ou 'y', suivi par '+', '-', 'b' (début) ou 'e' (fin), valeur (pour +/-), et un %% optionnel (pour faire défiler par %% de la largeur/hauteur, sinon la valeur est un nombre de caractères)
Exemples:
créer une barre avec l'heure, numéro + nom de tampon, et la complétion:
/bar add mabarre root bottom 1 0 [time],buffer_number+:+buffer_name,completion
cacher une barre:
/bar hide mabarre
faire défiler la liste des pseudos de 10 lignes vers le bas sur le tampon courant:
/bar scroll nicklist * y+10
faire défiler la liste des pseudos d'une page vers le haut sur le tampon #weechat:
/bar scroll nicklist #weechat y-100%
faire défiler la liste des pseudos à la fin sur le tampon courant:
/bar scroll nicklist * ye
........................................
&bull; *`/buffer`* `[clear [nombre | -merged | -all] | move nombre | merge nombre | unmerge [nombre] | close [n1[-n2]] | list | notify niveau | localvar | set propriété valeur | get propriété | nombre | nom]`::
[command]*`buffer`* gestion des tampons::
........................................
gestion des tampons
/buffer list
clear [<nombre>|-merged|-all]
move|merge <nombre>
unmerge [<nombre>]
close [<n1>[-<n2>]]
notify <niveau>
localvar
set <propriété> <valeur>
get <propriété>
<nombre>|<nom>
clear: efface le contenu du tampon (un numéro pour un tampon, -merged pour les tampons mélangés, -all pour tous les tampons, ou rien pour le tampon courant)
move: déplace le tampon dans la liste (peut être relatif, par exemple -1)
merge: mélange le tampon courant avec un autre tampon (la zone de discussion sera un mélange des deux tampons)
(par défaut ctrl-x bascule entre les tampons mélangés)
unmerge: détache le tampon courant des autres tampons portant le même numéro
close: ferme le tampon (nombre/intervalle optionnel)
list: liste les tampons ouverts (sans paramètre, cette liste est affichée)
notify: définit le niveau de notification pour le tampon courant: ce niveau détermine si le buffer doit être ajouté à la hotlist ou pas:
none: jamais
highlight: pour les highlights seulement
message: pour les messages d'utilisateurs + highlights
all: pout tous les messages
reset: réinitialise à valeur par défaut (all)
localvar: affiche la liste des variables locales pour le tampon courant
set: modifier une propriété du tampon courant
get: afficher une propriété du tampon courant
nombre: saute au tampon qui a ce numéro, préfixe possible:
'+': saut relatif, ajoute le numéro au courant,
'-': saut relatif, soustrait le numéro au courant,
'*': saut au numéro en utilisant l'option "jump_current_to_previous_buffer"
nom: saute au tampon par nom (partiel)
Exemples:
effacer le tampon courant:
/buffer clear
déplacer le tampon vers le numéro 5:
/buffer move 5
mélanger avec le tampon core:
/buffer merge 1
détacher le tampon:
/buffer unmerge
fermer le tampon courant:
/buffer close
fermer les tampons 5 à 7:
/buffer close 5-7
aller sur #weechat:
/buffer #weechat
aller au tampon suivant:
/buffer +1
list: lister les tampons ouverts (sans paramètre, cette liste est affichée)
clear: effacer le contenu du tampon (un numéro pour un tampon, -merged pour les tampons mélangés, -all pour tous les tampons, ou rien pour le tampon courant)
move: déplacer le tampon dans la liste (peut être relatif, par exemple -1)
merge: mélanger le tampon courant avec un autre tampon (la zone de discussion sera un mélange des deux tampons)
(par défaut ctrl-x bascule entre les tampons mélangés)
unmerge: détacher le tampon courant des autres tampons portant le même numéro
close: fermer le tampon (nombre/intervalle optionnel)
notify: définir le niveau de notification pour le tampon courant: ce niveau détermine si le buffer doit être ajouté à la hotlist ou pas:
none: jamais
highlight: pour les highlights seulement
message: pour les messages d'utilisateurs + highlights
all: pout tous les messages
reset: réinitialise à valeur par défaut (all)
localvar: afficher la liste des variables locales pour le tampon courant
set: modifier une propriété du tampon courant
get: afficher une propriété du tampon courant
nombre: sauter au tampon qui a ce numéro, préfixe possible:
'+': saut relatif, ajoute le numéro au courant,
'-': saut relatif, soustrait le numéro au courant,
'*': saut au numéro en utilisant l'option "jump_current_to_previous_buffer"
nom: sauter au tampon par nom (partiel)
Exemples:
effacer le tampon courant:
/buffer clear
déplacer le tampon vers le numéro 5:
/buffer move 5
mélanger avec le tampon core:
/buffer merge 1
détacher le tampon:
/buffer unmerge
fermer le tampon courant:
/buffer close
fermer les tampons 5 à 7:
/buffer close 5-7
aller sur #weechat:
/buffer #weechat
aller au tampon suivant:
/buffer +1
........................................
&bull; *`/color`* `[alias couleur nom] | [unalias couleur] | switch`::
[command]*`color`* définir des alias de couleurs et afficher la palette des couleurs::
........................................
définir des alias de couleurs et afficher la palette des couleurs
/color alias <couleur> <alias>
unalias <couleur>
reset
alias: ajouter un alias pour une couleur
unalias: supprimer un alias pour une couleur
couleur: numéro de couleur (>= 1, le max dépend du terminal, généralement 63 ou 255)
nom: nom d'alias pour la couleur (par exemple: "orange")
reset: réinitialiser toutes les paires de couleurs (pratique quand il n'y a plus de paires disponibles)
Sans paramètre, cette commande affiche les couleurs dans un nouveau tampon.
Exemples:
ajouter l'alias "orange" pour la couleur 214:
/color alias 214 orange
supprimer la couleur 214:
/color unalias 214
alias: ajouter un alias pour une couleur
unalias: supprimer un alias pour une couleur
couleur: numéro de couleur (>= 1, le max dépend du terminal, généralement 63 ou 255)
nom: nom d'alias pour la couleur (par exemple: "orange")
reset: réinitialiser toutes les paires de couleurs (pratique quand il n'y a plus de paires disponibles)
Sans paramètre, cette commande affiche les couleurs dans un nouveau tampon.
Exemples:
ajouter l'alias "orange" pour la couleur 214:
/color alias 214 orange
supprimer la couleur 214:
/color unalias 214
........................................
&bull; *`/command`* `extension commande`::
[command]*`command`* lancer explicitement une commande WeeChat ou d'une extension::
........................................
lancer explicitement une commande WeeChat ou d'une extension
/command <extension> <commande>
extension: nom de l'extension ('weechat' pour une commande interne WeeChat)
commande: commande à exécuter (un '/' est automatiquement ajouté s'il n'est pas trouvé au début de la commande)
extension: nom de l'extension ('weechat' pour une commande interne WeeChat)
commande: commande à exécuter (un '/' est automatiquement ajouté s'il n'est pas trouvé au début de la commande)
........................................
&bull; *`/debug`* `[list | set extension niveau | dump [extension] | buffer | windows | term | color]`::
[command]*`debug`* contrôle du debug pour le coeur/les extensions::
........................................
contrôle du debug pour le coeur/les extensions
/debug list
set <extension> <niveau>
dump [<extension>]
buffer|windows|term|color
set: définir le niveau de log pour l'extension
extension: nom de l'extension ("core" pour le coeur de WeeChat)
niveau: niveau de debug pour l'extension
dump: affiche les variables mémoire WeeChat dans le fichier log (les mêmes messages sont affichés lorsque WeeChat plante)
buffer: affiche le contenu du tampon en valeurs hexadécimales dans le fichier log
windows: affiche l'arbre des fenêtres
term: afficher des infos sur le terminal et les couleurs disponibles
color: afficher des infos sur les paires de couleur courantes
list: lister les extensions avec leur niveau de debug
set: définir le niveau de debug pour l'extension
extension: nom de l'extension ("core" pour le coeur de WeeChat)
niveau: niveau de debug pour l'extension
dump: afficher les variables mémoire WeeChat dans le fichier log (les mêmes messages sont affichés lorsque WeeChat plante)
buffer: afficher le contenu du tampon en valeurs hexadécimales dans le fichier log
windows: afficher l'arbre des fenêtres
term: afficher des infos sur le terminal
color: afficher des infos sur les paires de couleur courantes
........................................
&bull; *`/filter`* `[list] | [enable|disable|toggle [nom]] | [add nom extension.tampon tags regex] | [del nom|-all]`::
[command]*`filter`* filtre les messages dans les tampons, pour les cacher/afficher selon des tags ou expressions régulières::
........................................
filtre les messages dans les tampons, pour les cacher/afficher selon des tags ou expressions régulières
/filter list
enable|disable|toggle [<nom>]
add <nom> <extension.tampon> <tags> <regex>
del <nom>|-all
list: liste tous les filtres
enable: active les filtres (par défaut les filtres sont activés)
disable: désactive les filtres
toggle: active/désactive les filtres
nom: nom de filtre
add: ajoute un filtre
del: supprime un filtre
-all: supprime tous les filtres
extension.tampon: extension et tampon où le filtre est actif ("*" pour tous les tampons)
tags: liste de tags, séparés par des virgules, par exemple: "irc_join,irc_part,irc_quit"
regex: expression régulière à rechercher dans la ligne
- utiliser '\t' pour séparer le préfixe du message, les caractères spéciaux comme '|' doivent être échappés: '\|'
- si l'expression régulière commence par '!' alors le résultat est inversé (utiliser '\!' pour démarrer par '!')
note: deux regex sont créées: une pour le préfixe et une pour le message
La touche par défaut alt+'=' active/désactive le filtrage.
Les tags les plus couramment utilisés:
no_filter, no_highlight, no_log, log0..log9 (niveau de log),
notify_message, notify_private, notify_highlight,
nick_xxx (xxx est le pseudo dans le message),
irc_xxx (xxx est un nom de commande ou nombre, voir /server raw),
irc_numeric, irc_error, irc_action, irc_ctcp, irc_ctcp_reply, irc_smart_filter, away_info.
Exemples:
utiliser le filtre intelligent IRC pour les messages join/part/quit:
/filter add irc_smart * irc_smart_filter *
filtrer tous les messages IRC join/part/quit:
/filter add joinquit * irc_join,irc_part,irc_quit *
filtrer les pseudos afficher en rejoignant les canaux ou avec /names:
/filter add nicks * irc_366 *
filtrer le pseudo "toto" sur le canal IRC #weechat:
/filter add toto irc.freenode.#weechat * toto\t
garder uniquement le pseudo "titi" sur le canal IRC #test:
/filter add titi irc.freenode.#test * !titi\t
filtrer les lignes contenant le mot "spam":
/filter add filtrespam * * spam
filtrer les lignes contenant "weechat sucks" sur le canal IRC #weechat:
/filter add sucks irc.freenode.#weechat * weechat sucks
list: lister tous les filtres
enable: activer les filtres (par défaut les filtres sont activés)
disable: désactiver les filtres
toggle: activer/désactiver les filtres
nom: nom de filtre
add: ajouter un filtre
del: supprimer un filtre
-all: supprimer tous les filtres
extension.tampon: extension et tampon où le filtre est actif ("*" pour tous les tampons)
tags: liste de tags, séparés par des virgules, par exemple: "irc_join,irc_part,irc_quit"
regex: expression régulière à rechercher dans la ligne
- utiliser '\t' pour séparer le préfixe du message, les caractères spéciaux comme '|' doivent être échappés: '\|'
- si l'expression régulière commence par '!' alors le résultat est inversé (utiliser '\!' pour démarrer par '!')
note: deux regex sont créées: une pour le préfixe et une pour le message
La touche par défaut alt+'=' active/désactive le filtrage.
Les tags les plus couramment utilisés:
no_filter, no_highlight, no_log, log0..log9 (niveau de log),
notify_message, notify_private, notify_highlight,
nick_xxx (xxx est le pseudo dans le message),
irc_xxx (xxx est un nom de commande ou nombre, voir /server raw),
irc_numeric, irc_error, irc_action, irc_ctcp, irc_ctcp_reply, irc_smart_filter, away_info.
Exemples:
utiliser le filtre intelligent IRC pour les messages join/part/quit:
/filter add irc_smart * irc_smart_filter *
filtrer tous les messages IRC join/part/quit:
/filter add joinquit * irc_join,irc_part,irc_quit *
filtrer les pseudos afficher en rejoignant les canaux ou avec /names:
/filter add nicks * irc_366 *
filtrer le pseudo "toto" sur le canal IRC #weechat:
/filter add toto irc.freenode.#weechat * toto\t
garder uniquement le pseudo "titi" sur le canal IRC #test:
/filter add titi irc.freenode.#test * !titi\t
filtrer les lignes contenant le mot "spam":
/filter add filtrespam * * spam
filtrer les lignes contenant "weechat sucks" sur le canal IRC #weechat:
/filter add sucks irc.freenode.#weechat * weechat sucks
........................................
&bull; *`/help`* `[commande | option]`::
[command]*`help`* afficher l'aide sur les commandes et les options::
........................................
afficher l'aide sur les commandes et les options
/help <commande>
<option>
commande: nom d'une commande
option: nom d'une option (utilisez /set pour voir la liste)
commande: nom d'une commande
option: nom d'une option (utilisez /set pour voir la liste)
........................................
&bull; *`/history`* `[clear | valeur]`::
[command]*`history`* affiche l'historique des commandes du tampon::
........................................
affiche l'historique des commandes du tampon
/history clear
<valeur>
clear: effacer l'historique
valeur: nombre d'entrées dans l'historique à afficher
clear: effacer l'historique
valeur: nombre d'entrées dans l'historique à afficher
........................................
&bull; *`/input`* `return | complete_next | complete_previous | search_next | delete_previous_char | delete_next_char | delete_previous_word | delete_next_word | delete_beginning_of_line | delete_end_of_line | delete_line | clipboard_paste | transpose_chars | undo | redo | move_beginning_of_line | move_end_of_line | move_previous_char | move_next_char | move_previous_word | move_next_word | history_previous | history_next | history_global_previous | history_global_next | jump_smart | jump_last_buffer | jump_previously_visited_buffer | jump_next_visited_buffer | hotlist_clear | grab_key | grab_key_command | scroll_unread | set_unread | set_unread_current_buffer | switch_active_buffer | switch_active_buffer_previous | insert [args]`::
[command]*`input`* fonctions pour la ligne de commande::
........................................
fonctions pour la ligne de commande
/input <action> [<paramètres>]
Cette commande est utilisée par les associations de touches ou les extensions.
list des actions:
return: simuler la touche "entrée"
complete_next: compléter le mot avec la complétion suivante
complete_previous: compléter le mot avec la complétion précédente
search_text: chercher du texte dans le tampon
delete_previous_char: effacer le caractère précédent
delete_next_char: effacer le caractère suivant
delete_previous_word: effacer le mot précédent
delete_next_word: effacer le mot suivant
delete_beginning_of_line: effacer du début de la ligne jusqu'au curseur
delete_end_of_line: effacer du curseur jusqu'à la fin de la ligne
delete_line: effacer la ligne entière
clipboard_paste: coller depuis le presse-papier
transpose_chars: inverser deux caractères
undo: défaire la dernière action de la ligne de commande
redo: refaire la dernière action de la ligne de commande
move_beginning_of_line: déplacer le curseur au début de la ligne
move_end_of_line: déplacer le curseur à la fin de la ligne
move_previous_char: déplacer le curseur sur le caractère précédent
move_next_char: déplacer le curseur sur le caractère suivant
move_previous_word: déplacer le curseur sur le mot précédent
move_next_word: déplacer le curseur sur le mot suivant
history_previous: rappeler la commande précédente dans l'historique du tampon courant
history_next: rappeler la commande suivante dans l'historique du tampon courant
history_global_previous: rappeler la commande précédente dans l'historique global
history_global_next: rappeler la commande suivante dans l'historique global
jump_smart: sauter au prochain tampon avec de l'activité
jump_last_buffer: sauter au dernier tampon
jump_previously_visited_buffer: sauter au tampon visité précédemment
jump_next_visited_buffer: sauter au tampon visité après
hotlist_clear: effacer la hotlist
grab_key: capturer une touche
grab_key_command: capturer une touche avec sa commande associée
scroll_unread: faire défiler jusqu'au marqueur de données non lues
set_unread: définir le marqueur de données non lues pour tous les tampons
set_unread_current_buffer: définir le marqueur de données non lues pour le tampon courant
switch_active_buffer: basculer vers le tampon mélangé suivant
switch_active_buffer_previous: basculer vers le tampon mélangé précédent
insert: insérer du texte dans la ligne de commande
Cette commande est utilisé par les associations de touches ou les extensions.
........................................
&bull; *`/key`* `[list | listdefault | listdiff] | [bind touche [commande [args]]] | [unbind touche] | [reset touche] | [resetall -yes] | [missing]`::
[command]*`key`* associer/libérer des touches::
........................................
associer/libérer des touches
/key list|listdefault|listdiff
bind <touche> [<commande> [<args>]]
unbind <touche>
reset <touche>
resetall -yes
missing
list: affiche toutes les touches courantes (sans paramètre, cette liste est affichée)
listdefault: affiche les touches par défaut
listdiff: affiche les différences entre les touches courantes et celles par défaut (touches ajoutées, redéfinies ou supprimées)
bind: associe une commande à une touche ou affiche la commande associée à la touche
unbind: supprime l'association à une touche
reset: réinitialise une touche à son association par défaut
resetall: restaure les touches aux valeurs par défaut et supprime TOUTES les touches personnelles (utiliser avec précaution !)
missing: ajoute les touches manquantes (en utilisant les touches par défaut), pratique après installation d'une nouvelle version de WeeChat
Lors de l'association d'une commande à une touche, il est recommandé d'utiliser la touche alt+k (ou Echap puis k), et puis de presser la touche à associer: cela insère le code de la touche dans la ligne de commande.
Exemples:
touche alt-x pour activer/désactiver la liste des pseudos:
/key bind meta-x /bar toggle nicklist
touche alt-r pour aller sur le canal IRC #weechat:
/key bind meta-r /buffer #weechat
restaure l'association par défaut pour la touche alt-r:
/key reset meta-r
list: afficher toutes les touches courantes (sans paramètre, cette liste est affichée)
listdefault: afficher les touches par défaut
listdiff: afficher les différences entre les touches courantes et celles par défaut (touches ajoutées, redéfinies ou supprimées)
bind: associer une commande à une touche ou affiche la commande associée à la touche
unbind: supprimer l'association à une touche
reset: réinitialiser une touche à son association par défaut
resetall: restaurer les touches aux valeurs par défaut et supprimer TOUTES les touches personnelles (utiliser avec précaution !)
missing: ajouter les touches manquantes (en utilisant les touches par défaut), pratique après installation d'une nouvelle version de WeeChat
Lors de l'association d'une commande à une touche, il est recommandé d'utiliser la touche alt+k (ou Echap puis k), et puis de presser la touche à associer: cela insère le code de la touche dans la ligne de commande.
Exemples:
touche alt-x pour activer/désactiver la liste des pseudos:
/key bind meta-x /bar toggle nicklist
touche alt-r pour aller sur le canal IRC #weechat:
/key bind meta-r /buffer #weechat
restaure l'association par défaut pour la touche alt-r:
/key reset meta-r
........................................
&bull; *`/layout`* `[[save | apply | reset] [buffers | windows]]`::
[command]*`layout`* sauve/applique/réinitialise la disposition des tampons et fenêtres::
........................................
sauve/applique/réinitialise la disposition des tampons et fenêtres
/layout save [buffers|windows]
apply [buffers|windows]
reset [buffers|windows]
save: sauve la disposition courante
apply: applique la disposition sauvegardée
reset: supprime la disposition sauvegardée
buffers: sauve/applique seulement pour les tampons (ordre des tampons)
windows: sauve/applique seulement pour les fenêtres (le tampon affiché par chaque fenêtre)
Sans paramètre, cette commande affiche la disposition sauvegardée.
save: sauver la disposition courante
apply: appliquer la disposition sauvegardée
reset: supprimer la disposition sauvegardée
buffers: sauver/appliquer seulement pour les tampons (ordre des tampons)
windows: sauver/appliquer seulement pour les fenêtres (le tampon affiché par chaque fenêtre)
Sans paramètre, cette commande affiche la disposition sauvegardée.
........................................
&bull; *`/mute`* `[-current | -buffer nom | -all] commande`::
[command]*`mute`* exécuter une commande silencieusement::
........................................
exécuter une commande silencieusement
/mute [-current | -buffer <nom> | -all] commande
-current: pas d'affichage sur le tampon courant
-buffer: pas d'affichage sur le tampon spécifié
nom: nom complet du tampon (exemples: "irc.server.freenode", "irc.freenode.#weechat")
-all: pas d'affichage sur TOUS les tampons
commande: commande à exécuter silencieusement (un '/' est automatiquement ajouté s'il n'est pas trouvé au début de la commande)
Si aucune cible n'est spécifiée (-current, -buffer ou -all), alors par défaut seul le tampon core WeeChat sera silencieux.
Exemples:
sauvegarde configuration:
/mute save
message au canal IRC courant:
/mute -current msg * bonjour !
message au canal #weechat:
/mute -buffer irc.freenode.#weechat msg #weechat bonjour !
-current: pas d'affichage sur le tampon courant
-buffer: pas d'affichage sur le tampon spécifié
nom: nom complet du tampon (exemples: "irc.server.freenode", "irc.freenode.#weechat")
-all: pas d'affichage sur TOUS les tampons
commande: commande à exécuter silencieusement (un '/' est automatiquement ajouté s'il n'est pas trouvé au début de la commande)
Si aucune cible n'est spécifiée (-current, -buffer ou -all), alors par défaut seul le tampon core WeeChat sera silencieux.
Exemples:
sauvegarde configuration:
/mute save
message au canal IRC courant:
/mute -current msg * bonjour !
message au canal #weechat:
/mute -buffer irc.freenode.#weechat msg #weechat bonjour !
........................................
&bull; *`/plugin`* `[list [nom]] | [listfull [nom]] | [load fichier] | [autoload] | [reload [nom]] | [unload [nom]]`::
[command]*`plugin`* lister/charger/décharger des extensions::
........................................
liste/charge/décharge des extensions
/plugin list|listfull [<nom>]
load <fichier>
autoload
reload|unload [<nom>]
list: lister les extensions chargées
listfull: lister les extensions chargées (verbeux)
load: charger une extension
autoload: charger automatiquement les extensions dans un répertoire système ou utilisateur
reload: recharger une extension (si pas de nom donné, décharger toutes les extensions, puis puis recharger automatiquement les extensions)
unload: décharger une ou plusieurs exteneions
Sans paramètre, cette commande liste les extensions chargées.
list: lister les extensions chargées
listfull: lister les extensions chargées (verbeux)
load: charger une extension
autoload: charger automatiquement les extensions dans un répertoire système ou utilisateur
reload: recharger une extension (si pas de nom donné, décharger toutes les extensions, puis recharger automatiquement les extensions)
unload: décharger une extension (si pas de nom donné, décharger toutes les extensions)
Sans paramètre, cette commande liste les extensions chargées.
........................................
&bull; *`/proxy`* `[add nomproxy type addresse port [utilisateur [motdepasse]]] | [del nomproxy|-all] | [set nomproxy option valeur] | [list]`::
[command]*`proxy`* gestion des proxies::
........................................
gestion des proxies
/proxy list
add <nom> <type> <addresse> <port> [<utilisateur> [<mot_de_passe>]]
del <nom>|-all
set <nom> <option> <valeur>
add: ajoute un nouveau proxy
nomproxy: nom du proxy (doit être unique)
type: http, socks4 ou socks5
addresse: IP ou nom de machine
port: port
utilisateur: nom d'utilisateur (optionnel)
motdepasse: mot de passe (optionnel)
del: supprime un proxy (ou tous les proxies avec -all)
set: change la valeur d'une propriété d'un proxy
option: option à modifier (pour la liste des options, voir /set weechat.proxy.<proxyname>.*)
valeur: nouvelle valeur pour l'option
list: liste de tous les proxies
Exemples:
créer un proxy http, tournant en local, port 8888:
/proxy add local http 127.0.0.1 8888
créer un proxy http en utilisant le protocole IPv6:
/proxy add local http 127.0.0.1 8888
/proxy set local ipv6 on
créer un proxy socks5 avec un utilisateur/mot de passe:
/proxy add myproxy socks5 sample.host.org 3128 myuser mypass
supprimer un proxy:
/proxy del myproxy
list: lister tous les proxies
add: ajouter un nouveau proxy
nom: nom du proxy (doit être unique)
type: http, socks4 ou socks5
addresse: IP ou nom de machine
port: port
utilisateur: nom d'utilisateur (optionnel)
mot_de_passe: mot de passe (optionnel)
del: supprimer un proxy (ou tous les proxies avec -all)
set: changer la valeur d'une propriété d'un proxy
option: option à modifier (pour la liste des options, voir /set weechat.proxy.<proxyname>.*)
valeur: nouvelle valeur pour l'option
Exemples:
créer un proxy http, tournant en local, port 8888:
/proxy add local http 127.0.0.1 8888
créer un proxy http en utilisant le protocole IPv6:
/proxy add local http 127.0.0.1 8888
/proxy set local ipv6 on
créer un proxy socks5 avec un utilisateur/mot de passe:
/proxy add myproxy socks5 sample.host.org 3128 myuser mypass
supprimer un proxy:
/proxy del myproxy
........................................
&bull; *`/quit`* `[-yes] [paramètres]`::
[command]*`quit`* quitter WeeChat::
........................................
quitter WeeChat
/quit [-yes] [<paramètres>]
-yes: requis si l'option weechat.look.confirm_quit est activée
paramètres: texte envoyé avec le signal "quit"
(par exemple l'extension irc utilise ce texte pour envoyer le message de quit au serveur)
-yes: requis si l'option weechat.look.confirm_quit est activée
paramètres: texte envoyé avec le signal "quit"
(par exemple l'extension irc utilise ce texte pour envoyer le message de quit au serveur)
........................................
&bull; *`/reload`* `[fichier [fichier...]]`::
[command]*`reload`* recharger les fichiers de configuration depuis le disque::
........................................
recharger les fichiers de configuration depuis le disque
/reload [<fichier> [<fichier>...]]
fichier: fichier de configuration à recharger
Sans paramètre, tous les fichiers (WeeChat et extensions) sont rechargés.
fichier: fichier de configuration à recharger (sans l'extension ".conf")
Sans paramètre, tous les fichiers (WeeChat et extensions) sont rechargés.
........................................
&bull; *`/save`* `[fichier [fichier...]]`::
[command]*`save`* sauvegarder les fichiers de configuration sur disque::
........................................
sauvegarder les fichiers de configuration sur disque
/save [<fichier> [<fichier>...]]
fichier: fichier de configuration à sauvegarder
Sans paramètre, tous les fichiers (WeeChat et extensions) sont sauvegardés.
fichier: fichier de configuration à sauvegarder (sans l'extension ".conf")
Sans paramètre, tous les fichiers (WeeChat et extensions) sont sauvegardés.
........................................
&bull; *`/set`* `[option [valeur]]`::
[command]*`set`* modifier des options de configuration::
........................................
modifier des options de configuration
/set [<option> [<valeur>]]
option: nom d'une option
valeur: nouvelle valeur pour l'option
La nouvelle valeur peut être, selon le type de l'option:
booléen: on, off ou toggle
entier : nombre, ++nombre ou --nombre
chaîne : toute chaîne ("" pour une chaîne vide)
couleur: nom de couleur, ++nombre ou --nombre
Pour tous les types, vous pouvez utiliser null pour supprimer la valeur de l'option (valeur non définie). Cela ne fonctionne qu'avec certaines options spéciales des extensions.
option: nom d'une option (peut démarrer ou se terminer par "*" pour lister plusieurs options)
valeur: nouvelle valeur pour l'option
La nouvelle valeur peut être, selon le type de l'option:
booléen: on, off ou toggle
entier : nombre, ++nombre ou --nombre
chaîne : toute chaîne ("" pour une chaîne vide)
couleur: nom de couleur, ++nombre ou --nombre
Pour tous les types, vous pouvez utiliser null pour supprimer la valeur de l'option (valeur non définie). Cela ne fonctionne qu'avec certaines options spéciales des extensions.
Exemples:
afficher les options à propos du highlight:
/set *highlight*
ajouter un mot pour le highlight:
/set weechat.look.highlight "mot"
........................................
&bull; *`/unset`* `[option]`::
[command]*`unset`* supprimer/réinitialiser des options de configuration::
........................................
supprimer/réinitialiser des options de configuration
/unset <option>
option: nom d'une option (peut commencer ou se terminer par "*" pour réinitialiser plusieurs options, à utiliser avec prudence !)
Selon l'option, elle est réinitialisée (pour les options standards) ou supprimée (pour les options facultatives, comme les valeurs pour les serveurs).
option: nom d'une option (peut commencer ou se terminer par "*" pour réinitialiser plusieurs options, à utiliser avec prudence !)
Selon l'option, elle est réinitialisée (pour les options standards) ou supprimée (pour les options facultatives, comme les valeurs pour les serveurs).
Exemples:
réinitialiser une option:
/unset weechat.look.item_time_format
réinitialiser toutes les options de couleur:
/unset weechat.color.*
........................................
&bull; *`/upgrade`* `[chemin_vers_binaire]`::
[command]*`upgrade`* mettre à jour WeeChat sans se déconnecter des serveurs::
........................................
mettre à jour WeeChat sans se déconnecter des serveurs
/upgrade [<chemin_vers_binaire>]
chemin_vers_binaire: chemin vers le binaire WeeChat (par défaut le binaire courant)
Cette commande lance à nouveau un binaire WeeChat, il doit donc avoir été compilé ou installé via un gestionnaire de paquet avant de lancer cette commande.
Le processus de mise à jour comporte 4 étapes :
1. sauvegarde de la session pour le coeur et les extensions (tampons, historique, ...)
2. déchargement de toutes les extensions (les configs *.conf sont sauvegardées)
3. sauvegarde de la config WeeChat (weechat.conf)
4. exécution du nouveau binaire WeeChat.
chemin_vers_binaire: chemin vers le binaire WeeChat (par défaut le binaire courant)
Cette commande lance à nouveau un binaire WeeChat, il doit donc avoir été compilé ou installé via un gestionnaire de paquet avant de lancer cette commande.
Le processus de mise à jour comporte 4 étapes :
1. sauvegarder la session pour le coeur et les extensions (tampons, historique, ...)
2. décharger toutes les extensions (les fichiers de configuration (*.conf) sont écrits sur disque)
3. sauvegarder la configuration WeeChat (weechat.conf)
4. exécuter le nouveau binaire WeeChat et recharger la session.
........................................
&bull; *`/uptime`* `[-o | -ol]`::
[command]*`uptime`* montrer l'uptime de WeeChat::
........................................
montrer l'uptime de WeeChat
/uptime [-o | -ol]
-o: envoyer l'uptime sur le tampon courant comme entrée (chaîne en anglais)
-ol: envoyer l'uptime sur le tampon courant comme entrée (chaîne traduite)
-o: envoyer l'uptime sur le tampon courant comme entrée (chaîne en anglais)
-ol: envoyer l'uptime sur le tampon courant comme entrée (chaîne traduite)
........................................
&bull; *`/version`* `[-o | -ol]`::
[command]*`version`* afficher la version de WeeChat et la date de compilation::
........................................
afficher la version de WeeChat et la date de compilation
/version [-o | -ol]
-o: envoyer la version sur le tampon courant comme entrée (chaîne en anglais)
-ol: envoyer la version sur le tampon courant comme entrée (chaîne traduite)
-o: envoyer la version sur le tampon courant comme entrée (chaîne en anglais)
-ol: envoyer la version sur le tampon courant comme entrée (chaîne traduite)
........................................
&bull; *`/wait`* `nombre[unité] commande`::
[command]*`wait`* planifier l'exécution d'une commande dans le futur::
........................................
planifie l'exécution d'une commande dans le futur
/wait <nombre>[<unité>] <commande>
nombre: temps à attendre (nombre entier)
unité: optionnelle, valeurs possibles:
ms: millisecondes
s: secondes (par défaut)
m: minutes
h: heures
commande: commande à exécuter (ou texte à envoyer au tampon si la commande ne commence pas par '/')
Note : la commande est exécutée sur le tampon où /wait a été exécuté (si le tampon n'est pas trouvé, alors la commande est exécutée sur le tampon WeeChat principal).
Exemples:
rejoindre le canal dans 10 sec:
/wait 10 /join #test
passer absent dans 15 min:
/wait 15m /away -all I'm away
dire 'bonjour' dans 2 min:
/wait 2m bonjour
nombre: temps à attendre (nombre entier)
unité: optionnelle, valeurs possibles:
ms: millisecondes
s: secondes (par défaut)
m: minutes
h: heures
commande: commande à exécuter (ou texte à envoyer au tampon si la commande ne commence pas par '/')
Note: la commande est exécutée sur le tampon où /wait a été exécuté (si le tampon n'est pas trouvé, alors la commande est exécutée sur le tampon WeeChat principal).
Exemples:
rejoindre le canal dans 10 secondes:
/wait 10 /join #test
passer absent dans 15 minutes:
/wait 15m /away -all I'm away
dire 'bonjour' dans 2 minutes:
/wait 2m bonjour
........................................
&bull; *`/window`* `[list | -1 | +1 | b# | up | down | left | right | splith [pct] | splitv [ptc] | resize pct | merge [all] | page_up | page_down | refresh | scroll | scroll_up | scroll_down | scroll_top | scroll_bottom | scroll_previous_highlight | scroll_next_highlight | zoom]`::
[command]*`window`* gestion des fenêtres::
........................................
gestion des fenêtres
/window list
-1|+1|b#|up|down|left|right
splith|splitv [<pct>]
resize <pct>
merge [all]
page_up|page_down
refresh
scroll|scroll_up|scroll_down|scroll_top|scroll_bottom|scroll_previous_highlight|scroll_next_highlight
zoom
list: liste les fenêtres ouvertes (sans paramètre, cette liste est affichée)
-1: saute à la fenêtre précédente
+1: saute à la fenêtre suivante
b#: saute à la fenêtre affichant le tampon #
up: saute à la fenêtre au dessus
down: saute à la fenêtre au dessous
left: saute à la fenêtre à gauche
right: saute à la fenêtre à droite
splith: éclate la fenêtre en deux horizontalement
splitv: éclate la fenêtre en deux verticalement
resize: redimensionne une fenêtre, la nouvelle taille est <pct> pourcentage de la fenêtre parent
merge: fusionne la fenêtre avec une autre
page_up: défilement d'une page vers le haut
page_down: défilement d'une page vers le bas
refresh: redessine l'écran
scroll: défilement d'un nombre de lignes (+/-N) ou avec du temps: s=secondes, m=minutes, h=heures, d=jours, M=mois, y=année
scroll_up: défilement de quelques lignes vers le haut
scroll_down: défilement de quelques lignes vers le bas
scroll_top: défilement jusqu'au début du tampon
scroll_bottom: défilement jusqu'au bas du tampon
scroll_previous_highlight: défilement jusqu'au highlight précédent
scroll_next_highlight: défilement jusqu'au highlight suivant
zoom: zoom sur la fenêtre
Pour splith et splitv, pct est un pourcentage qui représente la taille de la nouvelle fenêtre, calculée par rapport à la taille de la fenêtre courante. Par exemple 25 signifie créer une fenêtre qui a pour taille: taille_courante / 4
Exemples:
sauter à la fenêtre affichant le tampon 1:
/window b1
défilement de 2 lignes vers le haut:
/window scroll -2
défilement de 2 jours vers le haut:
/window scroll -2d
défilement jusqu'au début du jour courant:
/window scroll -d
list: lister les fenêtres ouvertes (sans paramètre, cette liste est affichée)
-1: sauter à la fenêtre précédente
+1: sauter à la fenêtre suivante
b#: sauter à la fenêtre affichant le tampon #
up: sauter à la fenêtre au dessus
down: sauter à la fenêtre au dessous
left: sauter à la fenêtre à gauche
right: sauter à la fenêtre à droite
splith: éclater la fenêtre en deux horizontalement
splitv: éclater la fenêtre en deux verticalement
resize: redimensionner une fenêtre, la nouvelle taille est <pct> pourcentage de la fenêtre parent
merge: fusionner la fenêtre avec une autre
page_up: faire défiler d'une page vers le haut
page_down: faire défiler d'une page vers le bas
refresh: redessiner l'écran
scroll: faire défiler d'un nombre de lignes (+/-N) ou avec du temps: s=secondes, m=minutes, h=heures, d=jours, M=mois, y=année
scroll_up: faire défiler de quelques lignes vers le haut
scroll_down: faire défiler de quelques lignes vers le bas
scroll_top: faire défiler jusqu'au début du tampon
scroll_bottom: faire défiler jusqu'en bas du tampon
scroll_previous_highlight: faire défiler jusqu'au highlight précédent
scroll_next_highlight: faire défiler jusqu'au highlight suivant
zoom: zoomer sur la fenêtre
Pour splith et splitv, pct est un pourcentage qui représente la taille de la nouvelle fenêtre, calculée par rapport à la taille de la fenêtre courante. Par exemple 25 signifie créer une fenêtre qui a pour taille: taille_courante / 4
Exemples:
sauter à la fenêtre affichant le tampon 1:
/window b1
défilement de 2 lignes vers le haut:
/window scroll -2
défilement de 2 jours vers le haut:
/window scroll -2d
défilement jusqu'au début du jour courant:
/window scroll -d
........................................
+9 -11
View File
@@ -1,19 +1,17 @@
&bull; *`/me`* `message`::
[command]*`me`* envoyer une action CTCP à l'hôte distant::
........................................
envoyer une action CTCP à l'hôte distant
/me <message>
message: message à envoyer
message: message à envoyer
........................................
&bull; *`/xfer`* `[list | listfull]`::
[command]*`xfer`* contrôle xfer::
........................................
contrôle xfer
/xfer [list|listfull]
list: liste les xfer
listfull: liste les xfer (verbeux)
Sans paramètre, cette commande ouvre le tampon avec la liste des xfer.
list: lister les xfer
listfull: lister les xfer (verbeux)
Sans paramètre, cette commande ouvre le tampon avec la liste des xfer.
........................................
+29 -30
View File
@@ -1,34 +1,33 @@
&bull; *`/alias`* `[[-completion completamento] nome_alias [comando [argomenti]]]`::
[command]*`alias`* crea un alias per un comando::
........................................
crea un alias per un comando
/alias [-completion <completion>] <alias> [<command> [<arguments>]]
completamento: completamento per l'alias (opzionale, il comportamento predefinito include il comando di destinazione)
nome_alias: nome di un alias (può iniziare o terminare con "*" per un elenco di alias)
comando: nome comando (più comandi possono essere separati da punto e virgola)
argomenti: argomenti per un comando
Senza argomanto, questo comando elenca tutti gli alias definiti.
Nota: nel comando, vengono sostituite le variabili speciali:
$n: argomento 'n' (tra 1 e 9)
$-m: argomenti da 1 a 'm'
$n-: argomenti da 'n' alla fine
$n-m: argomenti da 'n' a 'm'
$*: tutti gli argomenti
$~: ultimo argomento
$nick: nick corrente
$channel: canale corrente
$server: server corrente
Per rimuovere un alias, utilizzare il comando /unalias.
Esempi:
alias /split per dividere la finestra orizzontalmente:
/alias split /window splith
alias /hello per dire "ciao" su tutti i canali tranne #weechat:
/alias hello /allchan -exclude=#weechat msg * hello
alias /forcejoin per inviare il comando IRC "forcejoin" con il completamento di /sajoin:
/alias -completion %%sajoin forcejoin /quote forcejoin
completion: completion for alias (optional, by default completion is done with target command)
alias: name of alias (can start or end with "*" for alias listing)
command: command name (many commands can be separated by semicolons)
arguments: arguments for command
Without argument, this command lists all defined alias.
Note: in command, special variables are replaced:
$n: argument 'n' (between 1 and 9)
$-m: arguments from 1 to 'm'
$n-: arguments from 'n' to last
$n-m: arguments from 'n' to 'm'
$*: all arguments
$~: last argument
$nick: current nick
$channel: current channel
$server: current server
To remove an alias, use command /unalias.
Examples:
alias /split to split window horizontally:
/alias split /window splith
alias /hello to say "hello" on all channels but not on #weechat:
/alias hello /allchan -exclude=#weechat msg * hello
alias /forcejoin to send IRC command "forcejoin" with completion of /sajoin:
/alias -completion %%sajoin forcejoin /quote forcejoin
........................................
+11 -9
View File
@@ -1,13 +1,15 @@
&bull; *`/aspell`* `dictlist | enable lingua | disable | addword [lingua] parola`::
[command]*`aspell`* configurazione del plugin aspell::
........................................
configurazione del plugin aspell
/aspell dictlist
enable <lang>
disable
addword [<lang>] <word>
dictlist: mostra i dizionari installati
enable: abilita aspell sul buffer corrente
disable: disabilita aspell sul buffer corrente
addword: aggiunge una parola nel dizionario personale aspell
La riga di input che comincia con '/' non viene controllata, tranne che per alcuni comandi.
dictlist: mostra i dizionari installati
enable: abilita aspell sul buffer corrente
disable: disabilita aspell sul buffer corrente
addword: aggiunge una parola nel dizionario personale aspell
La riga di input che comincia con '/' non viene controllata, tranne che per alcuni comandi.
........................................
+7 -7
View File
@@ -1,11 +1,11 @@
&bull; *`/charset`* `[[decode | encode | set_caratteri:] | [reset]`::
[command]*`charset`* modifica il set di caratteri per il buffer corrente::
........................................
modifica il set di caratteri per il buffer corrente
/charset decode|encode <charset>
reset
decode: modifica il set di caratteri per la decodifica
encode: modifica il set di caratteri per la codifica
set_caratteri: nuovo set di caratteri per il buffer corrente
reset: resetta il set di caratteri per il buffer corrente
decode: modifica il set di caratteri per la decodifica
encode: modifica il set di caratteri per la codifica
set_caratteri: nuovo set di caratteri per il buffer corrente
reset: resetta il set di caratteri per il buffer corrente
........................................
+18 -28
View File
@@ -1,42 +1,32 @@
&bull; *`/demo_buffer`* `nome`::
[command]*`demo_buffer`* apri un nuovo buffer::
........................................
apri un nuovo buffer
/demo_buffer <name>
........................................
&bull; *`/demo_buffer_set`* `valore della proprietà`::
[command]*`demo_info`* ricevi e visualizza un'informazione::
........................................
imposta una proprietà del buffer
/demo_info <info> [<arguments>]
info: informazioni da visualizzare
argomenti: argomenti opzionali per le informazioni
Senza argomenti, questo comando visualizza un elenco di informazioni disponibili
........................................
&bull; *`/demo_info`* `[info [argomenti]]`::
[command]*`demo_infolist`* ricevi e visualizza una lista info::
........................................
ricevi e visualizza un'informazione
/demo_infolist <infolist> [<arguments>]
info: informazioni da visualizzare
argomenti: argomenti opzionali per le informazioni
Senza argomenti, questo comando visualizza un elenco di informazioni disponibili
infolist: lista info da visualizzare
argomenti: argomenti opzionali per la lista info
Senza argomento, il comando visualizza l'elenco delle liste info disponibili
........................................
&bull; *`/demo_infolist`* `[infolist [argomenti]]`::
[command]*`demo_printf`* stampa alcuni messaggi sul buffer corrente::
........................................
ricevi e visualizza una lista info
/demo_printf <text>
infolist: lista info da visualizzare
argomenti: argomenti opzionali per la lista info
Senza argomento, il comando visualizza l'elenco delle liste info disponibili
........................................
&bull; *`/demo_printf`* `[testo]`::
........................................
stampa alcuni messaggi sul buffer corrente
testo: scrivi questo testo
testo: scrivi questo testo
........................................
File diff suppressed because it is too large Load Diff
+29 -28
View File
@@ -1,32 +1,33 @@
&bull; *`/logger`* `[list | set livello | disable]`::
[command]*`logger`* configurazione del plugin logger::
........................................
configurazione del plugin logger
/logger list
set <level>
disable
list: mostra lo stato del logging per i buffer aperti
set: imposta il livello di logging per il buffer corrente
level: livello per i messaggi da loggare (0 = disabilitato, 1 = alcuni messaggi (più importanti) .. 9 = tutti i messaggi)
disable: disabilita il logging sul buffer corrente (imposta livello a 0)
Le opzioni "logger.level.*" e "logger.mask.*" possono essere utilizzate per impostare un livello o una mask per un buffer, o per i buffer che cominciano per nome.
Livelli di log utilizzati dal plugin IRC:
1: messaggio utente, notifica, privato
2: cambio di nick
3: messaggio del server
4: entrata/uscita/abbandono
9: tutti gli altri messaggi
Esempi:
imposta il livello 5 per buffer corrente:
/logger set 5
disabilita logging per il buffer corrente:
/logger disable
imposta il livello 3 per tutti i buffer IRC:
/set logger.level.irc 3
disabilita logging per il buffer principale di WeeChat:
/set logger.level.core.weechat 0
utilizza una cartella per il server IRC e un file per ogni canale al suo interno:
/set logger.mask.irc "$server/$channel.weechatlog"
list: mostra lo stato del logging per i buffer aperti
set: imposta il livello di logging per il buffer corrente
level: livello per i messaggi da loggare (0 = disabilitato, 1 = alcuni messaggi (più importanti) .. 9 = tutti i messaggi)
disable: disabilita il logging sul buffer corrente (imposta livello a 0)
Le opzioni "logger.level.*" e "logger.mask.*" possono essere utilizzate per impostare un livello o una mask per un buffer, o per i buffer che cominciano per nome.
Livelli di log utilizzati dal plugin IRC:
1: messaggio utente, notifica, privato
2: cambio di nick
3: messaggio del server
4: entrata/uscita/abbandono
9: tutti gli altri messaggi
Esempi:
imposta il livello 5 per buffer corrente:
/logger set 5
disabilita logging per il buffer corrente:
/logger disable
imposta il livello 3 per tutti i buffer IRC:
/set logger.level.irc 3
disabilita logging per il buffer principale di WeeChat:
/set logger.level.core.weechat 0
utilizza una cartella per il server IRC e un file per ogni canale al suo interno:
/set logger.mask.irc "$server/$channel.weechatlog"
........................................
+15 -7
View File
@@ -1,11 +1,19 @@
&bull; *`/lua`* `[list [nome]] | [listfull [nome]] | [load file] | [autoload] | [reload [nome]] | [unload [nome]]`::
[command]*`lua`* elenca/attiva/disattiva script::
........................................
elenca/attiva/disattiva script
/lua list|listfull [<name>]
load <filename>
autoload
reload|unload [<name>]
nome_file: file script da attivare
nome: il nome dello script
Senza argomenti, il comando elenca tutti gli script attivati
list: list loaded scripts
listfull: list loaded scripts (verbose)
load: load a script
autoload: load all scripts in "autoload" directory
reload: reload a script (if no name given, unload all scripts, then load all scripts in "autoload" directory)
unload: unload a script (if no name given, unload all scripts)
filename: script (file) to load
name: a script name (name used in call to "register" function)
Without argument, this command lists all loaded scripts.
........................................
+15 -7
View File
@@ -1,11 +1,19 @@
&bull; *`/perl`* `[list [nome]] | [listfull [nome]] | [load file] | [autoload] | [reload [nome]] | [unload [nome]]`::
[command]*`perl`* elenca/attiva/disattiva script::
........................................
elenca/attiva/disattiva script
/perl list|listfull [<name>]
load <filename>
autoload
reload|unload [<name>]
nome_file: file script da attivare
nome: il nome dello script
Senza argomenti, il comando elenca tutti gli script attivati
list: list loaded scripts
listfull: list loaded scripts (verbose)
load: load a script
autoload: load all scripts in "autoload" directory
reload: reload a script (if no name given, unload all scripts, then load all scripts in "autoload" directory)
unload: unload a script (if no name given, unload all scripts)
filename: script (file) to load
name: a script name (name used in call to "register" function)
Without argument, this command lists all loaded scripts.
........................................
+15 -7
View File
@@ -1,11 +1,19 @@
&bull; *`/python`* `[list [nome]] | [listfull [nome]] | [load file] | [autoload] | [reload [nome]] | [unload [nome]]`::
[command]*`python`* elenca/attiva/disattiva script::
........................................
elenca/attiva/disattiva script
/python list|listfull [<name>]
load <filename>
autoload
reload|unload [<name>]
nome_file: file script da attivare
nome: il nome dello script
Senza argomenti, il comando elenca tutti gli script attivati
list: list loaded scripts
listfull: list loaded scripts (verbose)
load: load a script
autoload: load all scripts in "autoload" directory
reload: reload a script (if no name given, unload all scripts, then load all scripts in "autoload" directory)
unload: unload a script (if no name given, unload all scripts)
filename: script (file) to load
name: a script name (name used in call to "register" function)
Without argument, this command lists all loaded scripts.
........................................
+21 -19
View File
@@ -1,23 +1,25 @@
&bull; *`/relay`* `[list | listfull | add protocollo.nome porta | del protocollo.nome | raw]`::
[command]*`relay`* controllo relay::
........................................
controllo relay
/relay list|listfull|listrelay
add <protocol.name> <port>
del <protocol.name>
raw
list: elenca i client relay (solo quelli attivi)
listfull: elenca i client relay (dettagliato, tutti i relay)
listrelay: elenca i relay (nome e porta)
add: aggiungi relay per un protocollo + nome
del: rimuovi relay per un protocollo + nome
protocollo.nome: protocollo e nome con cui effettuare il relay
al momento, è supportato solo il protocollo "irc"
ad esempio: irc.freenode
porta: porta utilizzata per il relay
raw: apre il buffer con dati Relay
Senza argomento, il comando apre i buffer con l'elenco dei client relay.
Esempio:
proxy irc, per il server "freenode":
/relay add irc.freenode.net 8000
list: elenca i client relay (solo quelli attivi)
listfull: elenca i client relay (dettagliato, tutti i relay)
listrelay: elenca i relay (nome e porta)
add: aggiungi relay per un protocollo + nome
del: rimuovi relay per un protocollo + nome
protocollo.nome: protocollo e nome con cui effettuare il relay
al momento, è supportato solo il protocollo "irc"
ad esempio: irc.freenode
porta: porta utilizzata per il relay
raw: apre il buffer con dati Relay
Senza argomento, il comando apre i buffer con l'elenco dei client relay.
Esempio:
proxy irc, per il server "freenode":
/relay add irc.freenode.net 8000
........................................
+23 -21
View File
@@ -1,25 +1,27 @@
&bull; *`/rmodifier`* `[list] | [listdefault] | [add nome modifiers groups regex] | [del nome|-all [nome...]] | [default -yes]`::
[command]*`rmodifier`* sostituisce le stringhe del modificatore con le espressioni regolari::
........................................
sostituisce le stringhe del modificatore con le espressioni regolari
/rmodifier list|listdefault
add <name> <modifiers> <groups> <regex>
del <name>|-all [<name>...]
default -yes
list: elenca tutti gli rmodifier
listdefault: elenca gli rmodifier predefiniti
add: aggiunge un rmodifier
nome: nome rmodifier
modifiers: elenco separato da virgole di modificatori
groups: azione sul gruppo trovato: elenco separato da virgole di gruppi (da 1 a 9) con "*" opzionale dopo il numero per nascondere il gruppo
regex: espressione regolare
del: elimina rmodifier
-all: elimina tutti gli rmodifier
default: ripristina gli rmodifier predefiniti
Esempi:
nasconde ciò che viene digitato dopo il comando /password:
/rmodifier add password input_text_display 1,2* ^(/password +)(.*)
elimina rmodifier "password":
/rmodifier del password
elimina tutti gli rmodifier:
/rmodifier del -all
list: elenca tutti gli rmodifier
listdefault: elenca gli rmodifier predefiniti
add: aggiunge un rmodifier
nome: nome rmodifier
modifiers: elenco separato da virgole di modificatori
groups: azione sul gruppo trovato: elenco separato da virgole di gruppi (da 1 a 9) con "*" opzionale dopo il numero per nascondere il gruppo
regex: espressione regolare
del: elimina rmodifier
-all: elimina tutti gli rmodifier
default: ripristina gli rmodifier predefiniti
Esempi:
nasconde ciò che viene digitato dopo il comando /password:
/rmodifier add password input_text_display 1,2* ^(/password +)(.*)
elimina rmodifier "password":
/rmodifier del password
elimina tutti gli rmodifier:
/rmodifier del -all
........................................
+15 -7
View File
@@ -1,11 +1,19 @@
&bull; *`/ruby`* `[list [nome]] | [listfull [nome]] | [load file] | [autoload] | [reload [nome]] | [unload [nome]]`::
[command]*`ruby`* elenca/attiva/disattiva script::
........................................
elenca/attiva/disattiva script
/ruby list|listfull [<name>]
load <filename>
autoload
reload|unload [<name>]
nome_file: file script da attivare
nome: il nome dello script
Senza argomenti, il comando elenca tutti gli script attivati
list: list loaded scripts
listfull: list loaded scripts (verbose)
load: load a script
autoload: load all scripts in "autoload" directory
reload: reload a script (if no name given, unload all scripts, then load all scripts in "autoload" directory)
unload: unload a script (if no name given, unload all scripts)
filename: script (file) to load
name: a script name (name used in call to "register" function)
Without argument, this command lists all loaded scripts.
........................................
+15 -7
View File
@@ -1,11 +1,19 @@
&bull; *`/tcl`* `[list [nome]] | [listfull [nome]] | [load file] | [autoload] | [reload [nome]] | [unload [nome]]`::
[command]*`tcl`* elenca/attiva/disattiva script::
........................................
elenca/attiva/disattiva script
/tcl list|listfull [<name>]
load <filename>
autoload
reload|unload [<name>]
nome_file: file script da attivare
nome: il nome dello script
Senza argomenti, il comando elenca tutti gli script attivati
list: list loaded scripts
listfull: list loaded scripts (verbose)
load: load a script
autoload: load all scripts in "autoload" directory
reload: reload a script (if no name given, unload all scripts, then load all scripts in "autoload" directory)
unload: unload a script (if no name given, unload all scripts)
filename: script (file) to load
name: a script name (name used in call to "register" function)
Without argument, this command lists all loaded scripts.
........................................
+454 -380
View File
@@ -1,480 +1,554 @@
&bull; *`/away`* `[-all] [messaggio]`::
[command]*`away`* attiva/disattiva lo stato di assenza::
........................................
attiva/disattiva lo stato di assenza
/away [-all] [<message>]
-all: attiva/disattiva lo stato di assenza su tutti i server connessi
messaggio: messaggio di assenza (se non specificato, lo stato di assenza viene rimosso)
-all: attiva/disattiva lo stato di assenza su tutti i server connessi
messaggio: messaggio di assenza (se non specificato, lo stato di assenza viene rimosso)
........................................
&bull; *`/bar`* `[add nome_barra tipo[,cond1,cond2,...] posizione dimensione separatore elemento1,elemento2,...] | [default] | [del nome_barra|-all] | [set nome_barra opzione valore] | [hide|show|toggle nome_barra] | [scroll nome_barra buffer scroll_value] | [list] | [listfull] | [listitems]`::
[command]*`bar`* gestione barre::
........................................
gestione barre
/bar list|listfull|listitems
add <name> <type>[,<cond1>[,<cond2>...]] <position> <size> <separator> <item1>[,<item2>...]
default
del <name>|-all
set <name> <option> <value>
hide|show|toggle <name>
scroll <name> <buffer> <scroll_value>
add: aggiungi una nuova barra
nome_barra: nome della barra (deve essere unico)
tipo: root: fuori dalle finestre,
window: all'interno delle finestre, con opzioni condizionali (a seguire)
cond1,...: condizione(i) per la visualizzazione della barra (solo per quelle di tipo "window"):
active: sulla finestra attiva
inactive: sulle finestre inattive
nicklist: sulle finestre con le liste nick
senza condizioni, la barra viene sempre visualizzata
posizione: bottom (basso), top (alto), left (sinistra) or right (destra)
dimensione: dimensione della barra (in caratteri)
separatore: 1 per utilizzare un separatore (riga), 0 o nessun valore corrisponde a nessun separatore
elemento1,...: elementi per questa barra (possono essere separati da virgole (spazio tra gli elementi) or "+" (elementi incollati))
default: crea barre predefinite
del: elimina una barra (o tutte le barre con -all)
set: imposta un valore per una proprietà della barra
opzione: opzione da modificare (per un elenco di opzioni, consultare /set weechat.bar.<nome_barra>.*)
valore: nuovo valore per l'opzione
hide: nasconde una barra
show: mostra una barra nascosta
toggle: nasconde/mostra una barra
scroll: scorre la barra in alto/basso
buffer: nome del buffer da scorrere ('*' sta per buffer corrente, è consigliato utilizzare '*' per le barre root)
scroll_value: valore per lo scorrimento: 'x' o 'y', seguito da '+', '-', 'b' (inizio) o 'e' (fine), valore (per +/-), e un opzionale %% (per scorrere di %% di larghezza/altezza, altrimenti il valore è un numero di caratteri)
list: elenca tutte le barre
listfull: elenca tutte le barre (dettagliato)
listitems: elenca tutti gli elementi barra
Esempi:
crea una barra con l'ora, il numero del buffer + nome, e completamento:
/bar add miabarra root bottom 1 0 [time],buffer_number+:+buffer_name,completion
nasconde una barra:
/bar hide mibarra
scorre lista nick di 10 linee in basso sul buffer corrente:
/bar scroll nicklist * y+10
scorre la lista nick una pagina in su sul buffer #weechat:
/bar scroll nicklist #weechat y-100%
scorre fino alla fine della lista nick sul buffer corrente:
/bar scroll nicklist * ye
list: list all bars
listfull: list all bars (verbose)
listitems: list all bar items
add: add a new bar
name: name of bar (must be unique)
type: root: outside windows,
window: inside windows, with optional conditions (see below)
cond1,...: condition(s) for displaying bar (only for type "window"):
active: on active window
inactive: on inactive windows
nicklist: on windows with nicklist
without condition, bar is always displayed
position: bottom, top, left or right
size: size of bar (in chars)
separator: 1 for using separator (line), 0 or nothing means no separator
item1,...: items for this bar (items can be separated by comma (space between items) or "+" (glued items))
default: create default bars
del: delete a bar (or all bars with -all)
set: set a value for a bar property
option: option to change (for options list, look at /set weechat.bar.<barname>.*)
value: new value for option
hide: hide a bar
show: show an hidden bar
toggle: hide/show a bar
scroll: scroll bar
buffer: name of buffer to scroll ('*' means current buffer, you should use '*' for root bars)
scroll_value: value for scroll: 'x' or 'y', followed by '+', '-', 'b' (beginning) or 'e' (end), value (for +/-), and optional %% (to scroll by %% of width/height, otherwise value is number of chars)
Examples:
create a bar with time, buffer number + name, and completion:
/bar add mybar root bottom 1 0 [time],buffer_number+:+buffer_name,completion
hide a bar:
/bar hide mybar
scroll nicklist 10 lines down on current buffer:
/bar scroll nicklist * y+10
scroll nicklist one page up on #weechat buffer:
/bar scroll nicklist #weechat y-100%
scroll to end of nicklist on current buffer:
/bar scroll nicklist * ye
........................................
&bull; *`/buffer`* `[clear [numero | -merged | -all] | move numero | merge numero | unmerge [numero] | close [n1[-n2]] | list | notify livello | localvar | set proprietà valore | get proprietà |numero | nome]`::
[command]*`buffer`* gestione buffer::
........................................
gestione buffer
/buffer list
clear [<number>|-merged|-all]
move|merge <number>
unmerge [<number>]
close [<n1>[-<n2>]]
notify <level>
localvar
set <property> <value>
get <property>
<number>|<name>
clear: pulisce il contenuto del buffer (numero per un buffer, -merged per i buffer uniti, -all per tutti i buffer, o nulla per quello corrente)
move: sposta buffer nella lista (può essere relativo, ad esempio -1)
merge: unisce il buffer corrente ad un altro (l'area di chat sarà un mix di entrambi)
(con ctrl-x si alterna tra i buffer uniti)
unmerge: stacca il buffer da altri buffer con lo stesso numero
close: chiudi buffer (numero/range opzionale)
list: elenca i buffer (nessun parametro implica questa lista)
notify: imposta il livello di notifica per il buffer corrente: questo livello determina se il buffer verrà aggiunto alla hotlist oppure no:
none: mai
highlight: solo per gli eventi
message: per i messaggi da tutti gli utenti + eventi
all: tutti i messaggi
reset: ripristina il valore predefinito (tutto)
localvar: visualizza la variabile locale per il buffer corrente
set: imposta una proprietà per il buffer corrente
get: visualizza una proprietà del buffer corrente
number: passa al buffer di numero in numero:
'+': passo relativo, aggiunge il numero a quello corrente
'-': passo relativo, sottrae il numero da quello corrente
'*': passa al numero, utilizzando l'opzione "weechat.look.jump_current_to_previous_buffer"
nome: passa al buffer di nome (parziale)
Esempi:
pulisci buffer corrente:
/buffer clear
sposta buffer al numero 5:
/buffer move 5
unisci al buffer core:
/buffer merge 1
stacca buffer:
/buffer unmerge
chiudi buffer corrente:
/buffer close
chiudi buffer da 5 a 7:
/buffer close 5-7
salta a #weechat:
/buffer #weechat
salta al buffer successivo:
/buffer +1
list: list buffers (without argument, this list is displayed)
clear: clear buffer content (number for a buffer, -merged for merged buffers, -all for all buffers, or nothing for current buffer)
move: move buffer in the list (may be relative, for example -1)
merge: merge current buffer to another buffer (chat area will be mix of both buffers)
(by default ctrl-x switches between merged buffers)
unmerge: unmerge buffer from other buffers which have same number
close: close buffer (number/range is optional)
notify: set notify level for current buffer: this level determines whether buffer will be added to hotlist or not:
none: never
highlight: for highlights only
message: for messages from users + highlights
all: all messages
reset: reset to default value (all)
localvar: display local variables for current buffer
set: set a property for current buffer
get: display a property of current buffer
number: jump to buffer by number, possible prefix:
'+': relative jump, add number to current
'-': relative jump, sub number to current
'*': jump to number, using option "weechat.look.jump_current_to_previous_buffer"
name: jump to buffer by (partial) name
Examples:
clear current buffer:
/buffer clear
move buffer to number 5:
/buffer move 5
merge with core buffer:
/buffer merge 1
unmerge buffer:
/buffer unmerge
close current buffer:
/buffer close
close buffers 5 to 7:
/buffer close 5-7
jump to #weechat:
/buffer #weechat
jump to next buffer:
/buffer +1
........................................
&bull; *`/color`* `[alias color name] | [unalias color] | reset`::
[command]*`color`* define color aliases and display palette of colors::
........................................
define color aliases and display palette of colors
/color alias <color> <alias>
unalias <color>
reset
alias: add an alias for a color
unalias: delete an alias
color: color number (>= 1, max depends on terminal, commonly 63 or 255)
name: alias name for color (for example: "orange")
reset: reset all color pairs (useful when no more pairs are available)
Without argument, this command displays colors in a new buffer.
Examples:
add alias "orange" for color 214:
/color alias 214 orange
delete color 214:
/color unalias 214
alias: add an alias for a color
unalias: delete an alias
color: color number (>= 1, max depends on terminal, commonly 63 or 255)
name: alias name for color (for example: "orange")
reset: reset all color pairs (useful when no more pairs are available)
Without argument, this command displays colors in a new buffer.
Examples:
add alias "orange" for color 214:
/color alias 214 orange
delete color 214:
/color unalias 214
........................................
&bull; *`/command`* `plugin comando`::
[command]*`command`* esegui comando o plugin di WeeChat esplicito::
........................................
esegui comando o plugin di WeeChat esplicito
/command <plugin> <command>
plugin: nome plugin ('weechat' per il comando interno di WeeChat)
comando: comando da eseguire (una '/' viene aggiunta automaticamente se non trovata all'inizio del comando)
plugin: nome plugin ('weechat' per il comando interno di WeeChat)
comando: comando da eseguire (una '/' viene aggiunta automaticamente se non trovata all'inizio del comando)
........................................
&bull; *`/debug`* `[list | set plugin level | dump [plugin] | buffer | windows | term | color]`::
[command]*`debug`* attiva debug per core/plugin::
........................................
attiva debug per core/plugin
/debug list
set <plugin> <level>
dump [<plugin>]
buffer|windows|term|color
set: set log level for plugin
plugin: name of plugin ("core" for WeeChat core)
level: debug level for plugin (0 = disable debug)
dump: save memory dump in WeeChat log file (same dump is written when WeeChat crashes)
buffer: dump buffer content with hexadecimal values in log file
windows: display windows tree
term: display infos about terminal and available colors
color: display infos about current color pairs
list: list plugins with debug levels
set: set debug level for plugin
plugin: name of plugin ("core" for WeeChat core)
level: debug level for plugin (0 = disable debug)
dump: save memory dump in WeeChat log file (same dump is written when WeeChat crashes)
buffer: dump buffer content with hexadecimal values in log file
windows: display windows tree
term: display infos about terminal
color: display infos about current color pairs
........................................
&bull; *`/filter`* `[list] | [enable|disable|toggle [nome]] | [add nome plugin.buffer tag regex] | [del nome|-all]`::
[command]*`filter`* filtra messaggi nei buffer, per nascondere/mostrare in base a tag o regexp::
........................................
filtra messaggi nei buffer, per nascondere/mostrare in base a tag o regexp
/filter list
enable|disable|toggle [<name>]
add <name> <plugin.buffer> <tags> <regex>
del <name>|-all
list: elenca tutti i filtri
enable: abilita filtri (i filtri sono abilitati di default)
disable: disabilita filtri
toggle: abilita/disabilita filtri
nome: nome del filtro
add: aggiunge un filtro
del: elimina un filtro
-all: elimina tutti i filtri
plugin.buffer: plugin e buffer in cui il filtro è attivo ("*" per tutti i buffer)
tag: elenco di tag separati da virgole, per esempio: "irc_join,irc_part,irc_quit"
regex: espressione regolare da cercare nella riga
- utilizzare ' ' per separare il prefisso dal messaggio, caratteri speciali come "|" devono essere preceduti dal carattere escape: '\|')
- se l'espressione regolare inizia con '!', il risultato corrispondente viene invertito (usare '\!' per iniziare con '!')
nota: vengono create due espressioni regolari: una per il prefisso e l'altra per il messaggio
Il tasto predefinito alt+'=' abilita/disabilita il filtro.
Tag utilizzati di frequente:
no_filter, no_highlight, no_log, log0..log9 (livello di log),
notify_message, notify_private, notify_highlight,
nick_xxx (xxx è il nick nel messaggio),
irc_xxx (xxx è il nome comando o il numero, consultare /server raw), irc_numeric, irc_error, irc_action, irc_ctcp, irc_ctcp_reply, irc_smart_filter, away_info.
Esempi:
usa il filtro intelligente IRC per i messaggi di entrata/uscita/abbandono:
/filter add irc_smart * irc_smart_filter *
filtra tutti i messaggi entrata/uscita/abbandono di IRC:
/filter add joinquit * irc_join,irc_part,irc_quit *
filtra i nick visualizzati all'ingresso in un canale o con /names:
/filter add nicks * irc_366 *
filtra il nick "tizio" sul canale IRC #weechat
/filter add tizio irc.freenode.#esempio * tizio\t
filtra solo il nick "caio" sul canale IRC #test:
/filter add caio irc.freenode.#test * !caio\t
filtra le righe contententi la parola "spam":
/filter add filterspam * * spam
filtra le righe contententi "weechat fa schifo" sul canale IRC #weechat:
/filter add schifo irc.freenode.#weechat * weechat fa schifo
list: elenca tutti i filtri
enable: abilita filtri (i filtri sono abilitati di default)
disable: disabilita filtri
toggle: abilita/disabilita filtri
nome: nome del filtro
add: aggiunge un filtro
del: elimina un filtro
-all: elimina tutti i filtri
plugin.buffer: plugin e buffer in cui il filtro è attivo ("*" per tutti i buffer)
tag: elenco di tag separati da virgole, per esempio: "irc_join,irc_part,irc_quit"
regex: espressione regolare da cercare nella riga
- utilizzare ' ' per separare il prefisso dal messaggio, caratteri speciali come "|" devono essere preceduti dal carattere escape: '\|')
- se l'espressione regolare inizia con '!', il risultato corrispondente viene invertito (usare '\!' per iniziare con '!')
nota: vengono create due espressioni regolari: una per il prefisso e l'altra per il messaggio
Il tasto predefinito alt+'=' abilita/disabilita il filtro.
Tag utilizzati di frequente:
no_filter, no_highlight, no_log, log0..log9 (livello di log),
notify_message, notify_private, notify_highlight,
nick_xxx (xxx è il nick nel messaggio),
irc_xxx (xxx è il nome comando o il numero, consultare /server raw), irc_numeric, irc_error, irc_action, irc_ctcp, irc_ctcp_reply, irc_smart_filter, away_info.
Esempi:
usa il filtro intelligente IRC per i messaggi di entrata/uscita/abbandono:
/filter add irc_smart * irc_smart_filter *
filtra tutti i messaggi entrata/uscita/abbandono di IRC:
/filter add joinquit * irc_join,irc_part,irc_quit *
filtra i nick visualizzati all'ingresso in un canale o con /names:
/filter add nicks * irc_366 *
filtra il nick "tizio" sul canale IRC #weechat
/filter add tizio irc.freenode.#esempio * tizio\t
filtra solo il nick "caio" sul canale IRC #test:
/filter add caio irc.freenode.#test * !caio\t
filtra le righe contententi la parola "spam":
/filter add filterspam * * spam
filtra le righe contententi "weechat fa schifo" sul canale IRC #weechat:
/filter add schifo irc.freenode.#weechat * weechat fa schifo
........................................
&bull; *`/help`* `[comando | opzione]`::
[command]*`help`* visualizza l'aiuto su comandi e opzioni::
........................................
visualizza l'aiuto su comandi e opzioni
/help <command>
<option>
comando: nome comando
opzione: nome opzione (utilizza /set per vedere l'elenco)
comando: nome comando
opzione: nome opzione (utilizza /set per vedere l'elenco)
........................................
&bull; *`/history`* `[clear | valore]`::
[command]*`history`* mostra la cronologia dei comandi del buffer::
........................................
mostra la cronologia dei comandi del buffer
/history clear
<value>
clear: pulisci cronologia
valore: numero delle voci nella cronologia da mostrare
clear: pulisci cronologia
valore: numero delle voci nella cronologia da mostrare
........................................
&bull; *`/input`* `return | complete_next | complete_previous | search_next | delete_previous_char | delete_next_char | delete_previous_word | delete_next_word | delete_beginning_of_line | delete_end_of_line | delete_line | clipboard_paste | transpose_chars | undo | redo | move_beginning_of_line | move_end_of_line | move_previous_char | move_next_char | move_previous_word | move_next_word | history_previous | history_next | history_global_previous | history_global_next | jump_smart | jump_last_buffer | jump_previously_visited_buffer | jump_next_visited_buffer | hotlist_clear | grab_key | grab_key_command | scroll_unread | set_unread | set_unread_current_buffer | switch_active_buffer | switch_active_buffer_previous | insert [args]`::
[command]*`input`* funzioni per la riga di comando::
........................................
funzioni per la riga di comando
/input <action> [<arguments>]
Questo comando è utilizzato da combinazioni di tasti o plugin.
list of actions:
return: simulate key "enter"
complete_next: complete word with next completion
complete_previous: complete word with previous completion
search_text: search text in buffer
delete_previous_char: delete previous char
delete_next_char: delete next char
delete_previous_word: delete previous word
delete_next_word: delete next word
delete_beginning_of_line: delete from beginning of line until cursor
delete_end_of_line: delete from cursor until end of line
delete_line: delete entire line
clipboard_paste: paste from clipboard
transpose_chars: transpose two chars
undo: undo last command line action
redo: redo last command line action
move_beginning_of_line: move cursor to beginning of line
move_end_of_line: move cursor to end of line
move_previous_char: move cursor to previous char
move_next_char: move cursor to next char
move_previous_word: move cursor to previous word
move_next_word: move cursor to next word
history_previous: recall previous command in current buffer history
history_next: recall next command in current buffer history
history_global_previous: recall previous command in global history
history_global_next: recall next command in global history
jump_smart: jump to next buffer with activity
jump_last_buffer: jump to last buffer
jump_previously_visited_buffer: jump to previously visited buffer
jump_next_visited_buffer: jump to next visited buffer
hotlist_clear: clear hotlist
grab_key: grab a key
grab_key_command: grab a key with its associated command
scroll_unread: scroll to unread marker
set_unread: set unread marker for all buffers
set_unread_current_buffer: set unread marker for current buffer
switch_active_buffer: switch to next merged buffer
switch_active_buffer_previous: switch to previous merged buffer
insert: insert text in command line
This command is used by key bindings or plugins.
........................................
&bull; *`/key`* `[list | listdefault | listdiff] | [bind tasto [comando [args]]] | [unbind tasto] | [reset tasto] | [resetall -yes] | [missing]`::
[command]*`key`* associa/disassocia tasti::
........................................
associa/disassocia tasti
/key list|listdefault|listdiff
bind <key> [<command> [<args>]]
unbind <key>
reset <key>
resetall -yes
missing
list: elenca tutti i tasti correnti (senza argomento, viene visualizzata questa lista)
listdefault: elenca i tasti predefiniti
listdiff: elenca le differenze tra tasti attuali e predefiniti (tasti aggiunti, ridefiniti o eliminati)
bind: associa un comando ad un tasto o visualizza il comando associato al tasto
unbind: rimuove una associazione di tasti
reset: ripristina un tasto all'assegnazione predefinita
resetall: ripristina le associazioni ai valori predefiniti ed elimina TUTTE le associazioni personalizzate (usare con cautela!)
missing: aggiunge tasti mancanti (utilizzando le associazioni predefinite), utile dopo l'installazione di una nuova versione di WeeChat
Al momento di associare un comando ad un tasto si raccomanda di utilizzare il tasto alt+k (oppure Esc e k), e digitare il tasto da associare: il codice tasto verrà inserito nella riga di comando.
Esempi:
il tasto alt-x per alternare la barra della nicklist:
/key bind meta-x /bar toggle nicklist
il tasto alt-r per passare al canale IRC #weechat:
/key bind meta-r /buffer #weechat
ripristinare l'associazione predefinita per il tasto alt-r:
/key reset meta-r
list: elenca tutti i tasti correnti (senza argomento, viene visualizzata questa lista)
listdefault: elenca i tasti predefiniti
listdiff: elenca le differenze tra tasti attuali e predefiniti (tasti aggiunti, ridefiniti o eliminati)
bind: associa un comando ad un tasto o visualizza il comando associato al tasto
unbind: rimuove una associazione di tasti
reset: ripristina un tasto all'assegnazione predefinita
resetall: ripristina le associazioni ai valori predefiniti ed elimina TUTTE le associazioni personalizzate (usare con cautela!)
missing: aggiunge tasti mancanti (utilizzando le associazioni predefinite), utile dopo l'installazione di una nuova versione di WeeChat
Al momento di associare un comando ad un tasto si raccomanda di utilizzare il tasto alt+k (oppure Esc e k), e digitare il tasto da associare: il codice tasto verrà inserito nella riga di comando.
Esempi:
il tasto alt-x per alternare la barra della nicklist:
/key bind meta-x /bar toggle nicklist
il tasto alt-r per passare al canale IRC #weechat:
/key bind meta-r /buffer #weechat
ripristinare l'associazione predefinita per il tasto alt-r:
/key reset meta-r
........................................
&bull; *`/layout`* `[[save | apply | reset] [buffers | windows]]`::
[command]*`layout`* salva/applica/ripristina il layout per i buffer e le finestre::
........................................
salva/applica/ripristina il layout per i buffer e le finestre
/layout save [buffers|windows]
apply [buffers|windows]
reset [buffers|windows]
save: salva il layout corrente
apply: applica il layout salvato
reset: elimina il layout salvato
buffers: salva/applica modifiche solo ai buffer (ordine dei buffer)
windows: salva/applica modifiche solo alle finestre (buffer visualizzato da ogni finestra)
Senza argomenti, il comando visualizza il layout salvato.
save: salva il layout corrente
apply: applica il layout salvato
reset: elimina il layout salvato
buffers: salva/applica modifiche solo ai buffer (ordine dei buffer)
windows: salva/applica modifiche solo alle finestre (buffer visualizzato da ogni finestra)
Senza argomenti, il comando visualizza il layout salvato.
........................................
&bull; *`/mute`* `[-current | -buffer nome | -all] comando`::
[command]*`mute`* esegue un comando in silenzio::
........................................
esegue un comando in silenzio
/mute [-current | -buffer <name> | -all] command
-current: nessun output sul buffer corrente
-buffer: nessun output sul buffer specificato
nome: nome completo del buffer (esempi: "irc.server.freenode", "irc.freenode.#weechat")
-all: nessun output su TUTTI i buffer
command: comando da eseguire in silenzio (una '/' viene aggiunta automaticamente all'inizio del comando se non trovata)
Se non viene specificata una destinazione (-current, -buffer o -all), la destinazione predefinita è il buffer core di WeeChat.
Esempi:
salva la configurazione:
/mute save
messaggio sul canale IRC corrente:
/mute -current msg * ciao!
messaggio sul canale #weechat:
/mute -buffer irc.freenode.#weechat msg #weechat ciao!
-current: nessun output sul buffer corrente
-buffer: nessun output sul buffer specificato
nome: nome completo del buffer (esempi: "irc.server.freenode", "irc.freenode.#weechat")
-all: nessun output su TUTTI i buffer
command: comando da eseguire in silenzio (una '/' viene aggiunta automaticamente all'inizio del comando se non trovata)
Se non viene specificata una destinazione (-current, -buffer o -all), la destinazione predefinita è il buffer core di WeeChat.
Esempi:
salva la configurazione:
/mute save
messaggio sul canale IRC corrente:
/mute -current msg * ciao!
messaggio sul canale #weechat:
/mute -buffer irc.freenode.#weechat msg #weechat ciao!
........................................
&bull; *`/plugin`* `[list [nome]] | [listfull [nome]] | [load file] | [autoload] | [reload [nome]] | [unload [nome]]`::
[command]*`plugin`* elenca/attiva/disattiva plugin::
........................................
elenca/attiva/disattiva plugin
/plugin list|listfull [<name>]
load <filename>
autoload
reload|unload [<name>]
list: elenca i plugin attivi
listfull: elenca i plugin attivi (dettagliato)
load: carica un plugin
autoload: attiva automaticamente i plugin nella cartella utente o di sistema
reload: riattiva un plugin (se non specificato, disattiva i plugin e liriattiva automaticamente)
unload: disattiva uno o tutti i plugin
Senza argomenti, questo comando elenca i plugin attivati.
list: list loaded plugins
listfull: list loaded plugins (verbose)
load: load a plugin
autoload: autoload plugins in system or user directory
reload: reload a plugin (if no name given, unload all plugins, then autoload plugins)
unload: unload a plugin (if no name given, unload all plugins)
Without argument, this command lists loaded plugins.
........................................
&bull; *`/proxy`* `[add nome_proxy tipo indirizzo porta [nome [password]]] | [del nome_proxy|-all] | [set nome_proxy opzione valore] | [list]`::
[command]*`proxy`* gestione proxy::
........................................
gestione proxy
/proxy list
add <name> <type> <address> <port> [<username> [<password>]]
del <name>|-all
set <name> <option> <value>
add: aggiungi un nuovo proxy
nome_proxy: nome del proxy (deve essere unico)
tipo: http, socks4 o socks5
indirizzo: IP o nome host
port: porta
utente: nome utente (opzionale)
password: password (opzionale)
del: elimina un proxy (o tutti i proxy con -all)
set: imposta un valore per una proprietà del proxy
opzione: opzione da modificare (per un elenco di opzioni, consultare /set weechat.proxy.<nome_proxy>.*)
valore: nuovo valore per l'opzione
list: elenca tutti i proxy
Esempi:
crea un proxy http, in esecuzione su host locale, porta 8888:
/proxy add locale http 127.0.0.1 8888
crea un proxy http utilizzando il protocollo IPv6:
/proxy add locale http 127.0.0.1 8888
/proxy set locale ipv6 on
crea un proxy socks5 con utente/password:
/proxy add mioproxy socks5 esempio.host.org 3128 mioutente miapassword
elimina un proxy:
/proxy del mioproxy
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
Examples:
create a http proxy, running on local host, port 8888:
/proxy add local http 127.0.0.1 8888
create a http proxy using IPv6 protocol:
/proxy add local http 127.0.0.1 8888
/proxy set local ipv6 on
create a socks5 proxy with username/password:
/proxy add myproxy socks5 sample.host.org 3128 myuser mypass
delete a proxy:
/proxy del myproxy
........................................
&bull; *`/quit`* `[-yes] [argomenti]`::
[command]*`quit`* esce da WeeChat::
........................................
esce da WeeChat
/quit [-yes] [<arguments>]
-yes: richiesto se l'opzione option weechat.look.confirm_quit è abilitata
argomenti: testo inviato con il segnale "quit"
(ad esempio il plugin irc usa questo testo per inviare il messaggio di uscita al server)
-yes: richiesto se l'opzione option weechat.look.confirm_quit è abilitata
argomenti: testo inviato con il segnale "quit"
(ad esempio il plugin irc usa questo testo per inviare il messaggio di uscita al server)
........................................
&bull; *`/reload`* `[file [file....]]`::
[command]*`reload`* ricarica i file di configurazione da disco::
........................................
ricarica i file di configurazione da disco
/reload [<file> [<file>...]]
file: file di configurazione da ricaricare
Senza argomento, tutti i file (WeeChat e plugin) vengono ricaricati.
file: configuration file to reload (without extension ".conf")
Without argument, all files (WeeChat and plugins) are reloaded.
........................................
&bull; *`/save`* `[file [file....]]`::
[command]*`save`* salva i file di configurazione su disco::
........................................
salva i file di configurazione su disco
/save [<file> [<file>...]]
file: file di configurazione da salvare
Senza argomento, tutti i file (WeeChat e plugin) verranno salvati.
file: configuration file to save (without extension ".conf")
Without argument, all files (WeeChat and plugins) are saved.
........................................
&bull; *`/set`* `[opzione [valore]]`::
[command]*`set`* imposta le opzioni di configurazione::
........................................
imposta le opzioni di configurazione
/set [<option> [<value>]]
opzione: nome dell'opzione
valore: nuovo valore per l'opzione
Il nuovo valore può essere, in base al tipo di variabile:
bool: on, off oppure alterna
intero: numero, ++numero o --numero
stringa: qualsiasi stringa ("" per le stringhe vuote)
colore: nome colore, ++numero o --numero
Per tutti i tipi, è possibile utilizzare un valore nullo per eliminare il valore dell'opzione (non definito). Funziona solo per alcune variabili speciali dei plugin.
option: name of an option (can start or end with "*" to list many options)
value: new value for option
New value can be, according to variable type:
boolean: on, off or toggle
integer: number, ++number or --number
string : any string ("" for empty string)
color : color name, ++number or --number
For all types, you can use null to remove option value (undefined value). This works only for some special plugin variables.
Examples:
display options about highlight:
/set *highlight*
add a word to highlight:
/set weechat.look.highlight "word"
........................................
&bull; *`/unset`* `[opzione]`::
[command]*`unset`* annulla/ripristina opzione::
........................................
annulla/ripristina opzione
/unset <option>
opzione: nome di un'opzione (può cominciare o finire con "*" per il ripristino di più opzioni, attenzione!)
A seconda dell'opzione, essa viene ripristinata (per le opzioni standard) o rimossa (per le impostazioni opzionali, come i valori del server)
option: name of an option (may begin or end with "*" to mass-reset options, use carefully!)
According to option, it's reset (for standard options) or removed (for optional settings, like server values).
Examples:
reset one option:
/unset weechat.look.item_time_format
reset all color options:
/unset weechat.color.*
........................................
&bull; *`/upgrade`* `[percorso_del_binario]`::
[command]*`upgrade`* aggiorna WeeChat senza disconnettere dai server::
........................................
aggiorna WeeChat senza disconnettere dai server
/upgrade [<path_to_binary>]
percorso_del_binario: percorso del binario di WeeChat (quello corrente è il predefinito)
Questo comando esegue nuovamente un binario WeeChat, perciò deve essere stato compilato o installato con un gestore di pacchetti prima di eseguire questo comando.
Il processo di aggiornamento è diviso in 4 fasi:
1. salvataggio della sessione in file per il core e i plugin (buffer, cronologia, ..)
2. disattivazione di tutti i plugin (salvataggio delle configurazioni .conf)
3. salvataggio della configurazione di WeeChat (weechat.conf)
4. esecuzione del nuovo binario di WeeChat.
path_to_binary: path to WeeChat binary (default is current binary)
This command run again a WeeChat binary, so it should have been compiled or installed with a package manager before running this command.
Upgrade process has 4 steps:
1. save session into files for core and plugins (buffers, history, ..)
2. unload all plugins (configuration files (*.conf) are written on disk)
3. save WeeChat configuration (weechat.conf)
4. execute new WeeChat binary and reload session.
........................................
&bull; *`/uptime`* `[-o | -ol]`::
[command]*`uptime`* mostra l'uptime di WeeChat::
........................................
mostra l'uptime di WeeChat
/uptime [-o | -ol]
-o: invia l'uptime al buffer corrente come input (stringa in inglese)
-ol: invia l'uptime al buffer corrente come input (stringa tradotta)
-o: invia l'uptime al buffer corrente come input (stringa in inglese)
-ol: invia l'uptime al buffer corrente come input (stringa tradotta)
........................................
&bull; *`/version`* `[-o | -ol]`::
[command]*`version`* mostra la versione e la data di compilazione di WeeChat::
........................................
mostra la versione e la data di compilazione di WeeChat
/version [-o | -ol]
-o: invia la versione al buffer corrente come input (stringa inglese)
-ol: invia la versione al buffer corrente come input (stringa tradotta)
-o: invia la versione al buffer corrente come input (stringa inglese)
-ol: invia la versione al buffer corrente come input (stringa tradotta)
........................................
&bull; *`/wait`* `numero[unità] comando`::
[command]*`wait`* pianifica l'esecuzione di un comando::
........................................
pianifica l'esecuzione di un comando
/wait <number>[<unit>] <command>
numero: tempo di attesa (numero intero)
unità: valori opzionali sono:
ms: millisecondi
s: secondi (predefinito)
m: minuti
h: ore
comando: comando da eseguire (o testo da inviare al buffer se il comando non inizia con '/')
Nota: il comando è eseguito sui buffer dove /wait è stato eseguito (se il buffer non viene trovato (per esempio se è stato chiuso prima dell'esecuzione), allora il comando verrà eseguito sul buffer core di WeeChat)
Esempi:
entra nel canale tra 10 secondi:
/wait 10 /join #test
imposta assenza tra 15 minuti:
/wait 15m /away -all Sono assente
scrive ciao tra 2 minuti:
/wait 2m ciao
number: amount of time to wait (integer number)
unit: optional, values are:
ms: milliseconds
s: seconds (default)
m: minutes
h: hours
command: command to execute (or text to send to buffer if command does not start with '/')
Note: command is executed on buffer where /wait was executed (if buffer is not found (for example if it has been closed before execution of command), then command is executed on WeeChat core buffer).
Examples:
join channel in 10 seconds:
/wait 10 /join #test
set away in 15 minutes:
/wait 15m /away -all I'm away
say 'hello' in 2 minutes:
/wait 2m hello
........................................
&bull; *`/window`* `[list | -1 | +1 | b# | up | down | left | right | splith [pct] | splitv [pct] | resize pct | merge [all] | page_up | page_down | refresh | scroll | scroll_up | scroll_down | scroll_top | scroll_bottom | scroll_previous_highlight | scroll_next_highlight | zoom]`::
[command]*`window`* gestione finestre::
........................................
gestione finestre
/window list
-1|+1|b#|up|down|left|right
splith|splitv [<pct>]
resize <pct>
merge [all]
page_up|page_down
refresh
scroll|scroll_up|scroll_down|scroll_top|scroll_bottom|scroll_previous_highlight|scroll_next_highlight
zoom
list: elenca le finestre aperte (senza argomento, questa lista viene visualizzata)
-1: salta alla finestra precedente
+1: salta alla finestra successiva
b#: salta alla finestra successiva che visualizza il buffer numero #
up: passa alla finestra superiore a quella corrente
down: passa alla finestra inferiore a quella attiva
left: passa alla finestra a sinistra
right: passa alla finestra a destra
splith: divide la finestra attiva orizzontalmente
splitv: divide la finestra attiva verticalmente
resize: ridimensiona finestra, la nuova dimensione è <pct> percentuale della finestra genitore
merge: unisce la finestra con un'altra (all = mantiente una sola finestra)
page_up: scorre di una pagina in alto
page_down: scorre di una pagina in basso
refresh: aggiorna lo schermo
scroll: scorre di un numero di righe (+/-N) o in base al tempo: s=secondi, m=minuti, h=ore, d=giorni, M=mesi, y=anni
scroll_up: scorre di alcune righe in alto
scroll_down: scorre di alcune righe in basso
scroll_top: scorre fino all'inizio del buffer
scroll_bottom: scorre fino alla fine del buffer buffer
scroll_previous_highlight: passa all'evento precedente
scroll_next_highlight: passa all'evento successivo
zoom: ingrandimento sulla finestra
Per splith e splitv, pct è una percentuale che rappresenta la dimensione della nuova finestra, calcolata con la finestra attiva come riferimento per la dimensione. Per esempio 25 vuol dire creare una finestra di dimensione = dimensione_attuale / 4
Esempi:
salta alla finestra che visualizza il buffer #1:
/window b1
scorre di due righe in alto:
/window scroll -2
scorre all'indietro di due giorni:
/window scroll -2d
scorre all'inizio del giorno attuale:
/window scroll -d
list: elenca le finestre aperte (senza argomento, questa lista viene visualizzata)
-1: salta alla finestra precedente
+1: salta alla finestra successiva
b#: salta alla finestra successiva che visualizza il buffer numero #
up: passa alla finestra superiore a quella corrente
down: passa alla finestra inferiore a quella attiva
left: passa alla finestra a sinistra
right: passa alla finestra a destra
splith: divide la finestra attiva orizzontalmente
splitv: divide la finestra attiva verticalmente
resize: ridimensiona finestra, la nuova dimensione è <pct> percentuale della finestra genitore
merge: unisce la finestra con un'altra (all = mantiente una sola finestra)
page_up: scorre di una pagina in alto
page_down: scorre di una pagina in basso
refresh: aggiorna lo schermo
scroll: scorre di un numero di righe (+/-N) o in base al tempo: s=secondi, m=minuti, h=ore, d=giorni, M=mesi, y=anni
scroll_up: scorre di alcune righe in alto
scroll_down: scorre di alcune righe in basso
scroll_top: scorre fino all'inizio del buffer
scroll_bottom: scorre fino alla fine del buffer buffer
scroll_previous_highlight: passa all'evento precedente
scroll_next_highlight: passa all'evento successivo
zoom: ingrandimento sulla finestra
Per splith e splitv, pct è una percentuale che rappresenta la dimensione della nuova finestra, calcolata con la finestra attiva come riferimento per la dimensione. Per esempio 25 vuol dire creare una finestra di dimensione = dimensione_attuale / 4
Esempi:
salta alla finestra che visualizza il buffer #1:
/window b1
scorre di due righe in alto:
/window scroll -2
scorre all'indietro di due giorni:
/window scroll -2d
scorre all'inizio del giorno attuale:
/window scroll -d
........................................
+9 -11
View File
@@ -1,19 +1,17 @@
&bull; *`/me`* `messaggio`::
[command]*`me`* invia un'azione CTCP all'host remoto::
........................................
invia un'azione CTCP all'host remoto
/me <message>
messaggio: messaggio da inviare
messaggio: messaggio da inviare
........................................
&bull; *`/xfer`* `[list | listfull]`::
[command]*`xfer`* controllo xfer::
........................................
controllo xfer
/xfer [list|listfull]
list: lista xfer
listfull: lista xfer (dettagliata)
Senza argomenti, il comando apre il buffer con la lista xfer.
list: lista xfer
listfull: lista xfer (dettagliata)
Senza argomenti, il comando apre il buffer con la lista xfer.
........................................
+547 -262
View File
File diff suppressed because it is too large Load Diff
+574 -270
View File
File diff suppressed because it is too large Load Diff
+568 -268
View File
File diff suppressed because it is too large Load Diff
+741 -556
View File
File diff suppressed because it is too large Load Diff
+463 -259
View File
File diff suppressed because it is too large Load Diff
+567 -268
View File
File diff suppressed because it is too large Load Diff
+568 -268
View File
File diff suppressed because it is too large Load Diff
+409 -264
View File
File diff suppressed because it is too large Load Diff
+463 -259
View File
File diff suppressed because it is too large Load Diff
+304 -245
View File
File diff suppressed because it is too large Load Diff
+249 -120
View File
@@ -1483,8 +1483,9 @@ COMMAND_CALLBACK(help)
{
struct t_hook *ptr_hook;
struct t_config_option *ptr_option;
int i, length, command_found;
char *string;
int i, length, command_found, first_line_displayed;
char *string, *ptr_string, *pos_double_pipe, *pos_end;
char empty_string[1] = { '\0' }, str_format[64];
/* make C compiler happy */
(void) data;
@@ -1556,6 +1557,7 @@ COMMAND_CALLBACK(help)
}
/* look for command */
command_found = 0;
for (ptr_hook = weechat_hooks[HOOK_TYPE_COMMAND]; ptr_hook;
ptr_hook = ptr_hook->next_hook)
{
@@ -1565,19 +1567,63 @@ COMMAND_CALLBACK(help)
&& (string_strcasecmp (HOOK_COMMAND(ptr_hook, command),
argv[1]) == 0))
{
command_found = 1;
gui_chat_printf (NULL, "");
gui_chat_printf (NULL,
"%s[%s%s%s] %s/%s %s%s",
GUI_COLOR(GUI_COLOR_CHAT_DELIMITERS),
GUI_COLOR(GUI_COLOR_CHAT),
plugin_get_name (ptr_hook->plugin),
GUI_COLOR(GUI_COLOR_CHAT_DELIMITERS),
GUI_COLOR(GUI_COLOR_CHAT_BUFFER),
HOOK_COMMAND(ptr_hook, command),
GUI_COLOR(GUI_COLOR_CHAT),
(HOOK_COMMAND(ptr_hook, args)
&& HOOK_COMMAND(ptr_hook, args)[0]) ?
_(HOOK_COMMAND(ptr_hook, args)) : "");
length = utf8_strlen_screen (plugin_get_name (ptr_hook->plugin)) +
utf8_strlen_screen (HOOK_COMMAND(ptr_hook, command)) + 7;
snprintf (str_format, sizeof (str_format),
"%%-%ds%%s", length);
first_line_displayed = 0;
ptr_string = (HOOK_COMMAND(ptr_hook, args) && HOOK_COMMAND(ptr_hook, args)[0]) ?
_(HOOK_COMMAND(ptr_hook, args)) : empty_string;
while (ptr_string)
{
string = NULL;
pos_double_pipe = strstr (ptr_string, "||");
if (pos_double_pipe)
{
pos_end = pos_double_pipe - 1;
while ((pos_end > ptr_string) && (pos_end[0] == ' '))
{
pos_end--;
}
string = string_strndup (ptr_string,
pos_end - ptr_string + 1);
}
if (first_line_displayed)
{
gui_chat_printf (NULL, str_format,
" ",
(string) ? string : ptr_string);
}
else
{
gui_chat_printf (NULL,
"%s[%s%s%s] %s/%s %s%s",
GUI_COLOR(GUI_COLOR_CHAT_DELIMITERS),
GUI_COLOR(GUI_COLOR_CHAT),
plugin_get_name (ptr_hook->plugin),
GUI_COLOR(GUI_COLOR_CHAT_DELIMITERS),
GUI_COLOR(GUI_COLOR_CHAT_BUFFER),
HOOK_COMMAND(ptr_hook, command),
GUI_COLOR(GUI_COLOR_CHAT),
(string) ? string : ptr_string);
first_line_displayed = 1;
}
if (string)
free (string);
if (pos_double_pipe)
{
ptr_string = pos_double_pipe + 2;
while (ptr_string[0] == ' ')
{
ptr_string++;
}
}
else
ptr_string = NULL;
}
if (HOOK_COMMAND(ptr_hook, description)
&& HOOK_COMMAND(ptr_hook, description)[0])
{
@@ -1592,9 +1638,10 @@ COMMAND_CALLBACK(help)
gui_chat_printf (NULL, "%s",
_(HOOK_COMMAND(ptr_hook, args_description)));
}
return WEECHAT_RC_OK;
}
}
if (command_found)
return WEECHAT_RC_OK;
/* look for option */
config_file_search_with_string (argv[1], NULL, NULL, &ptr_option, NULL);
@@ -4381,7 +4428,7 @@ command_init ()
{
hook_command (NULL, "away",
N_("toggle away status"),
N_("[-all] [message]"),
N_("[-all] [<message>]"),
N_(" -all: toggle away status on all connected "
"servers\n"
"message: message for away (if no message is "
@@ -4389,13 +4436,19 @@ command_init ()
"-all", &command_away, NULL);
hook_command (NULL, "bar",
N_("manage bars"),
N_("[add barname type[,cond1,cond2,...] position size "
"separator item1,item2,...] | [default] | "
"[del barname|-all] | [set barname option value] | "
"[hide|show|toggle barname] | [scroll barname buffer "
"scroll_value] | [list] | [listfull] | [listitems]"),
N_(" add: add a new bar\n"
" barname: name of bar (must be unique)\n"
N_("list|listfull|listitems"
" || add <name> <type>[,<cond1>[,<cond2>...]] <position> "
"<size> <separator> <item1>[,<item2>...]"
" || default"
" || del <name>|-all"
" || set <name> <option> <value>"
" || hide|show|toggle <name>"
" || scroll <name> <buffer> <scroll_value>"),
N_(" list: list all bars\n"
" listfull: list all bars (verbose)\n"
" listitems: list all bar items\n"
" add: add a new bar\n"
" name: name of bar (must be unique)\n"
" type: root: outside windows,\n"
" window: inside windows, with optional "
"conditions (see below)\n"
@@ -4420,16 +4473,13 @@ command_init ()
" hide: hide a bar\n"
" show: show an hidden bar\n"
" toggle: hide/show a bar\n"
" scroll: scroll bar up/down\n"
" scroll: scroll bar\n"
" buffer: name of buffer to scroll ('*' "
"means current buffer, you should use '*' for root bars)\n"
" scroll_value: value for scroll: 'x' or 'y', followed by "
"'+', '-', 'b' (beginning) or 'e' (end), value (for +/-), "
"and optional %% (to scroll by %% of width/height, "
"otherwise value is number of chars)\n"
" list: list all bars\n"
" listfull: list all bars (verbose)\n"
" listitems: list all bar items\n\n"
"otherwise value is number of chars)\n\n"
"Examples:\n"
" create a bar with time, buffer number + name, and completion:\n"
" /bar add mybar root bottom 1 0 [time],buffer_number+:+buffer_name,completion\n"
@@ -4441,25 +4491,33 @@ command_init ()
" /bar scroll nicklist #weechat y-100%\n"
" scroll to end of nicklist on current buffer:\n"
" /bar scroll nicklist * ye"),
"add %(bars_names) root|window bottom|top|left|right"
"list"
" || listfull"
" || listitems"
" || add %(bars_names) root|window bottom|top|left|right"
" || default"
" || del %(bars_names)|-all"
" || set %(bars_names) %(bars_options)"
" || hide %(bars_names)"
" || show %(bars_names)"
" || toggle %(bars_names)"
" || scroll %(bars_names) %(buffers_plugins_names)|*"
" || list"
" || listfull"
" || listitems",
" || scroll %(bars_names) %(buffers_plugins_names)|*",
&command_bar, NULL);
hook_command (NULL, "buffer",
N_("manage buffers"),
N_("[clear [number | -merged | -all] | move number | "
"merge number | unmerge [number] | close [n1[-n2]] | "
"list | notify level | localvar | set property value | "
"get property | number | name]"),
N_(" clear: clear buffer content (number for a buffer, "
N_("list"
" || clear [<number>|-merged|-all]"
" || move|merge <number>"
" || unmerge [<number>]"
" || close [<n1>[-<n2>]]"
" || notify <level>"
" || localvar"
" || set <property> <value>"
" || get <property>"
" || <number>|<name>"),
N_(" list: list buffers (without argument, this list is "
"displayed)\n"
" clear: clear buffer content (number for a buffer, "
"-merged for merged buffers, -all for all buffers, or "
"nothing for current buffer)\n"
" move: move buffer in the list (may be relative, for "
@@ -4471,8 +4529,6 @@ command_init ()
" unmerge: unmerge buffer from other buffers which have "
"same number\n"
" close: close buffer (number/range is optional)\n"
" list: list buffers (without argument, this list is "
"displayed)\n"
" notify: set notify level for current buffer: this "
"level determines whether buffer will be added to "
"hotlist or not:\n"
@@ -4524,7 +4580,9 @@ command_init ()
&command_buffer, NULL);
hook_command (NULL, "color",
N_("define color aliases and display palette of colors"),
N_("[alias color name] | [unalias color] | reset"),
N_("alias <color> <alias>"
" || unalias <color>"
" || reset"),
N_(" alias: add an alias for a color\n"
"unalias: delete an alias\n"
" color: color number (>= 1, max depends on terminal, "
@@ -4545,7 +4603,7 @@ command_init ()
&command_color, NULL);
hook_command (NULL, "command",
N_("launch explicit WeeChat or plugin command"),
N_("plugin command"),
N_("<plugin> <command>"),
N_(" plugin: plugin name ('weechat' for WeeChat internal "
"command)\n"
"command: command to execute (a '/' is automatically "
@@ -4554,9 +4612,12 @@ command_init ()
&command_command, NULL);
hook_command (NULL, "debug",
N_("control debug for core/plugins"),
N_("[list | set plugin level | dump [plugin] | buffer | "
"windows | term | color]"),
N_(" set: set log level for plugin\n"
N_("list"
" || set <plugin> <level>"
" || dump [<plugin>]"
" || buffer|windows|term|color"),
N_(" list: list plugins with debug levels\n"
" set: set debug level for plugin\n"
" plugin: name of plugin (\"core\" for WeeChat core)\n"
" level: debug level for plugin (0 = disable debug)\n"
" dump: save memory dump in WeeChat log file (same "
@@ -4564,8 +4625,7 @@ command_init ()
" buffer: dump buffer content with hexadecimal values "
"in log file\n"
"windows: display windows tree\n"
" term: display infos about terminal and available "
"colors\n"
" term: display infos about terminal\n"
" color: display infos about current color pairs"),
"list"
" || set %(plugins_names)|core"
@@ -4578,9 +4638,10 @@ command_init ()
hook_command (NULL, "filter",
N_("filter messages in buffers, to hide/show them according "
"to tags or regex"),
N_("[list] | [enable|disable|toggle [name]] | "
"[add name plugin.buffer tags regex] | "
"[del name|-all]"),
N_("list"
" || enable|disable|toggle [<name>]"
" || add <name> <plugin.buffer> <tags> <regex>"
" || del <name>|-all"),
N_(" list: list all filters\n"
" enable: enable filters (filters are enabled by "
"default)\n"
@@ -4634,37 +4695,76 @@ command_init ()
&command_filter, NULL);
hook_command (NULL, "help",
N_("display help about commands and options"),
N_("[command | option]"),
N_("<command>"
" || <option>"),
N_("command: a command name\n"
" option: an option name (use /set to see list)"),
"%(commands)|%(config_options)",
&command_help, NULL);
hook_command (NULL, "history",
N_("show buffer command history"),
N_("[clear | value]"),
N_("clear"
" || <value>"),
N_("clear: clear history\n"
"value: number of history entries to show"),
"clear",
&command_history, NULL);
hook_command (NULL, "input",
N_("functions for command line"),
"return | complete_next | complete_previous | search_next | "
"delete_previous_char | delete_next_char | "
"delete_previous_word | delete_next_word | "
"delete_beginning_of_line | delete_end_of_line | "
"delete_line | clipboard_paste | transpose_chars | "
"undo | redo | move_beginning_of_line | move_end_of_line | "
"move_previous_char | move_next_char | move_previous_word | "
"move_next_word | history_previous | history_next | "
"history_global_previous | history_global_next | "
"jump_smart | jump_last_buffer | "
"jump_previously_visited_buffer | "
"jump_next_visited_buffer | hotlist_clear | grab_key | "
"grab_key_command | scroll_unread | set_unread | "
"set_unread_current_buffer | switch_active_buffer | "
"switch_active_buffer_previous | insert [args]",
N_("This command is used by key bindings or plugins."),
"return|complete_next|complete_previous|search_next|"
N_("<action> [<arguments>]"),
N_("list of actions:\n"
" return: simulate key \"enter\"\n"
" complete_next: complete word with next completion\n"
" complete_previous: complete word with previous "
"completion\n"
" search_text: search text in buffer\n"
" delete_previous_char: delete previous char\n"
" delete_next_char: delete next char\n"
" delete_previous_word: delete previous word\n"
" delete_next_word: delete next word\n"
" delete_beginning_of_line: delete from beginning of "
"line until cursor\n"
" delete_end_of_line: delete from cursor until end of "
"line\n"
" delete_line: delete entire line\n"
" clipboard_paste: paste from clipboard\n"
" transpose_chars: transpose two chars\n"
" undo: undo last command line action\n"
" redo: redo last command line action\n"
" move_beginning_of_line: move cursor to beginning of "
"line\n"
" move_end_of_line: move cursor to end of line\n"
" move_previous_char: move cursor to previous char\n"
" move_next_char: move cursor to next char\n"
" move_previous_word: move cursor to previous word\n"
" move_next_word: move cursor to next word\n"
" history_previous: recall previous command in current "
"buffer history\n"
" history_next: recall next command in current buffer "
"history\n"
" history_global_previous: recall previous command in "
"global history\n"
" history_global_next: recall next command in global "
"history\n"
" jump_smart: jump to next buffer with activity\n"
" jump_last_buffer: jump to last buffer\n"
" jump_previously_visited_buffer: jump to previously "
"visited buffer\n"
" jump_next_visited_buffer: jump to next visited buffer\n"
" hotlist_clear: clear hotlist\n"
" grab_key: grab a key\n"
" grab_key_command: grab a key with its associated "
"command\n"
" scroll_unread: scroll to unread marker\n"
" set_unread: set unread marker for all buffers\n"
" set_unread_current_buffer: set unread marker for "
"current buffer\n"
" switch_active_buffer: switch to next merged buffer\n"
" switch_active_buffer_previous: switch to previous "
"merged buffer\n"
" insert: insert text in command line\n\n"
"This command is used by key bindings or plugins."),
"return|complete_next|complete_previous|search_text|"
"delete_previous_char|delete_next_char|"
"delete_previous_word|delete_next_word|"
"delete_beginning_of_line|delete_end_of_line|"
@@ -4681,9 +4781,12 @@ command_init ()
&command_input, NULL);
hook_command (NULL, "key",
N_("bind/unbind keys"),
N_("[list | listdefault | listdiff] | [bind key [command "
"[args]]] | [unbind key] | [reset key] | "
"[resetall -yes] | [missing]"),
N_("list|listdefault|listdiff"
" || bind <key> [<command> [<args>]]"
" || unbind <key>"
" || reset <key>"
" || resetall -yes"
" || missing"),
N_(" list: list all current keys (without argument, "
"this list is displayed)\n"
"listdefault: list default keys\n"
@@ -4718,7 +4821,9 @@ command_init ()
&command_key, NULL);
hook_command (NULL, "layout",
N_("save/apply/reset layout for buffers and windows"),
N_("[[save | apply | reset] [buffers | windows]]"),
N_("save [buffers|windows]"
" || apply [buffers|windows]"
" || reset [buffers|windows]"),
N_(" save: save current layout\n"
" apply: apply saved layout\n"
" reset: remove saved layout\n"
@@ -4730,7 +4835,7 @@ command_init ()
&command_layout, NULL);
hook_command (NULL, "mute",
N_("execute a command silently"),
N_("[-current | -buffer name | -all] command"),
N_("[-current | -buffer <name> | -all] command"),
N_("-current: no output on curent buffer\n"
" -buffer: no output on specified buffer\n"
" name: full buffer name (examples: "
@@ -4752,15 +4857,18 @@ command_init ()
&command_mute, NULL);
hook_command (NULL, "plugin",
N_("list/load/unload plugins"),
N_("[list [name]] | [listfull [name]] | [load filename] | "
"[autoload] | [reload [name]] | [unload [name]]"),
N_("list|listfull [<name>]"
" || load <filename>"
" || autoload"
" || reload|unload [<name>]"),
N_(" list: list loaded plugins\n"
"listfull: list loaded plugins (verbose)\n"
" load: load a plugin\n"
"autoload: autoload plugins in system or user directory\n"
" reload: reload one plugin (if no name given, unload "
" reload: reload a plugin (if no name given, unload "
"all plugins, then autoload plugins)\n"
" unload: unload one or all plugins\n\n"
" unload: unload a plugin (if no name given, unload "
"all plugins)\n\n"
"Without argument, this command lists loaded plugins."),
"list %(plugins_names)"
" || listfull %(plugins_names)"
@@ -4771,22 +4879,24 @@ command_init ()
&command_plugin, NULL);
hook_command (NULL, "proxy",
N_("manage proxies"),
N_("[add proxyname type address port [username "
"[password]]] | [del proxyname|-all] | [set "
"proxyname option value] | [list]"),
N_(" add: add a new proxy\n"
" proxyname: name of proxy (must be unique)\n"
" type: http, socks4 or socks5\n"
" address: IP or hostname\n"
" port: port\n"
" username: username (optional)\n"
" password: password (optional)\n"
" del: delete a proxy (or all proxies with -all)\n"
" set: set a value for a proxy property\n"
" option: option to change (for options list, look "
N_("list"
" || add <name> <type> <address> <port> [<username> "
"[<password>]]"
" || del <name>|-all"
" || set <name> <option> <value>"),
N_(" list: list all proxies\n"
" add: add a new proxy\n"
" name: name of proxy (must be unique)\n"
" type: http, socks4 or socks5\n"
" address: IP or hostname\n"
" port: port\n"
"username: username (optional)\n"
"password: password (optional)\n"
" del: delete a proxy (or all proxies with -all)\n"
" set: set a value for a proxy property\n"
" option: option to change (for options list, look "
"at /set weechat.proxy.<proxyname>.*)\n"
" value: new value for option\n"
" list: list all proxies\n\n"
" value: new value for option\n\n"
"Examples:\n"
" create a http proxy, running on local host, port 8888:\n"
" /proxy add local http 127.0.0.1 8888\n"
@@ -4797,14 +4907,14 @@ command_init ()
" /proxy add myproxy socks5 sample.host.org 3128 myuser mypass\n"
" delete a proxy:\n"
" /proxy del myproxy"),
"add %(proxies_names) http|socks4|socks5"
"list"
" || add %(proxies_names) http|socks4|socks5"
" || del %(proxies_names)"
" || set %(proxies_names) %(proxies_options)"
" || list ",
" || set %(proxies_names) %(proxies_options)",
&command_proxy, NULL);
hook_command (NULL, "quit",
N_("quit WeeChat"),
N_("[-yes] [arguments]"),
N_("[-yes] [<arguments>]"),
N_(" -yes: required if option weechat.look.confirm_quit "
"is enabled\n"
"arguments: text sent with signal \"quit\"\n"
@@ -4814,24 +4924,27 @@ command_init ()
&command_quit, NULL);
hook_command (NULL, "reload",
N_("reload configuration files from disk"),
N_("[file [file...]]"),
N_("file: configuration file to reload\n\n"
N_("[<file> [<file>...]]"),
N_("file: configuration file to reload (without extension "
"\".conf\")\n\n"
"Without argument, all files (WeeChat and plugins) are "
"reloaded."),
"%(config_files)|%*",
&command_reload, NULL);
hook_command (NULL, "save",
N_("save configuration files to disk"),
N_("[file [file...]]"),
N_("file: configuration file to save\n\n"
N_("[<file> [<file>...]]"),
N_("file: configuration file to save (without extension "
"\".conf\")\n\n"
"Without argument, all files (WeeChat and plugins) are "
"saved."),
"%(config_files)|%*",
&command_save, NULL);
hook_command (NULL, "set",
N_("set config options"),
N_("[option [value]]"),
N_("option: name of an option\n"
N_("[<option> [<value>]]"),
N_("option: name of an option (can start or end with \"*\" "
"to list many options)\n"
" value: new value for option\n\n"
"New value can be, according to variable type:\n"
" boolean: on, off or toggle\n"
@@ -4840,21 +4953,31 @@ command_init ()
" color : color name, ++number or --number\n\n"
"For all types, you can use null to remove "
"option value (undefined value). This works only "
"for some special plugin variables."),
"for some special plugin variables.\n\n"
"Examples:\n"
" display options about highlight:\n"
" /set *highlight*\n"
" add a word to highlight:\n"
" /set weechat.look.highlight \"word\""),
"%(config_options) %(config_option_values)",
&command_set, NULL);
hook_command (NULL, "unset",
N_("unset/reset config options"),
N_("[option]"),
N_("<option>"),
N_("option: name of an option (may begin or end with \"*\" "
"to mass-reset options, use carefully!)\n\n"
"According to option, it's reset (for standard options) "
"or removed (for optional settings, like server values)."),
"or removed (for optional settings, like server values).\n\n"
"Examples:\n"
" reset one option:\n"
" /unset weechat.look.item_time_format\n"
" reset all color options:\n"
" /unset weechat.color.*"),
"%(config_options)",
&command_unset, NULL);
hook_command (NULL, "upgrade",
N_("upgrade WeeChat without disconnecting from servers"),
N_("[path_to_binary]"),
N_("[<path_to_binary>]"),
N_("path_to_binary: path to WeeChat binary (default is "
"current binary)\n\n"
"This command run again a WeeChat binary, so it should "
@@ -4863,9 +4986,10 @@ command_init ()
"Upgrade process has 4 steps:\n"
" 1. save session into files for core and plugins "
"(buffers, history, ..)\n"
" 2. unload all plugins (configs *.conf are saved)\n"
" 3. save WeeChat config (weechat.conf)\n"
" 4. exec new WeeChat binary."),
" 2. unload all plugins (configuration files (*.conf) "
"are written on disk)\n"
" 3. save WeeChat configuration (weechat.conf)\n"
" 4. execute new WeeChat binary and reload session."),
"%(filename)",
&command_upgrade, NULL);
hook_command (NULL, "uptime",
@@ -4888,7 +5012,7 @@ command_init ()
&command_version, NULL);
hook_command (NULL, "wait",
N_("schedule a command execution in future"),
N_("number[unit] command"),
N_("<number>[<unit>] <command>"),
N_(" number: amount of time to wait (integer number)\n"
" unit: optional, values are:\n"
" ms: milliseconds\n"
@@ -4902,22 +5026,27 @@ command_init ()
"been closed before execution of command), then command "
"is executed on WeeChat core buffer).\n\n"
"Examples:\n"
" join channel in 10 sec:\n"
" join channel in 10 seconds:\n"
" /wait 10 /join #test\n"
" set away in 15 min:\n"
" set away in 15 minutes:\n"
" /wait 15m /away -all I'm away\n"
" say 'hello' in 2 min:\n"
" say 'hello' in 2 minutes:\n"
" /wait 2m hello"),
"%- %(commands)",
&command_wait, NULL);
hook_command (NULL, "window",
N_("manage windows"),
N_("[list | -1 | +1 | b# | up | down | left | right | "
"splith [pct] | splitv [pct] | resize pct | "
"merge [all] | page_up | page_down | refresh | scroll | "
"scroll_up | scroll_down | scroll_top | scroll_bottom | "
"scroll_previous_highlight | scroll_next_highlight | "
"zoom]"),
N_("list"
" || -1|+1|b#|up|down|left|right"
" || splith|splitv [<pct>]"
" || resize <pct>"
" || merge [all]"
" || page_up|page_down"
" || refresh"
" || scroll|scroll_up|scroll_down|scroll_top|"
"scroll_bottom|scroll_previous_highlight|"
"scroll_next_highlight"
" || zoom"),
N_(" list: list opened windows (without argument, "
"this list is displayed)\n"
" -1: jump to previous window\n"
+5 -5
View File
@@ -959,12 +959,12 @@ weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[])
weechat_hook_command ("alias",
N_("create an alias for a command"),
N_("[[-completion completion] alias_name [command "
"[arguments]]]"),
N_("[-completion <completion>] <alias> [<command> "
"[<arguments>]]"),
N_("completion: completion for alias (optional, by "
"default completion is done with target "
"command)\n"
"alias_name: name of alias (can start or end "
" alias: name of alias (can start or end "
"with \"*\" for alias listing)\n"
" command: command name (many commands can be "
"separated by semicolons)\n"
@@ -997,8 +997,8 @@ weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[])
&alias_command_cb, NULL);
weechat_hook_command ("unalias", N_("remove aliases"),
N_("alias_name [alias_name...]"),
N_("alias_name: name of alias to remove"),
N_("<alias> [<alias>...]"),
N_("alias: name of alias to remove"),
"%(alias)|%*",
&unalias_command_cb, NULL);
+4 -2
View File
@@ -965,8 +965,10 @@ weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[])
/* command /aspell */
weechat_hook_command ("aspell",
N_("aspell plugin configuration"),
N_("dictlist | enable lang | disable | "
"addword [lang] word"),
N_("dictlist"
" || enable <lang>"
" || disable"
" || addword [<lang>] <word>"),
N_("dictlist: show installed dictionaries\n"
" enable: enable aspell on current buffer\n"
" disable: disable aspell on current buffer\n"
+2 -1
View File
@@ -531,7 +531,8 @@ weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[])
/* /charset command */
weechat_hook_command ("charset",
N_("change charset for current buffer"),
N_("[[decode | encode] charset] | [reset]"),
N_("decode|encode <charset>"
" || reset"),
N_(" decode: change decoding charset\n"
" encode: change encoding charset\n"
"charset: new charset for current buffer\n"
+4 -30
View File
@@ -152,25 +152,6 @@ demo_buffer_command_cb (void *data, struct t_gui_buffer *buffer, int argc,
return WEECHAT_RC_OK;
}
/*
* demo_buffer_set_command_cb: demo command for setting buffer property
*/
int
demo_buffer_set_command_cb (void *data, struct t_gui_buffer *buffer, int argc,
char **argv, char **argv_eol)
{
/* make C compiler happy */
(void) data;
if (argc > 2)
{
weechat_buffer_set (buffer, argv[1], argv_eol[2]);
}
return WEECHAT_RC_OK;
}
/*
* demo_infolist_print: display an infolist
*/
@@ -390,28 +371,21 @@ weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[])
weechat_hook_command ("demo_printf",
N_("print some messages on current buffer"),
N_("[text]"),
N_("<text>"),
N_("text: write this text"),
"",
&demo_printf_command_cb, NULL);
weechat_hook_command ("demo_buffer",
N_("open a new buffer"),
N_("name"),
N_("<name>"),
"",
"",
&demo_buffer_command_cb, NULL);
weechat_hook_command ("demo_buffer_set",
N_("set a buffer property"),
N_("property value"),
"",
"",
&demo_buffer_set_command_cb, NULL);
weechat_hook_command ("demo_info",
N_("get and display an info"),
N_("[info [arguments]]"),
N_("<info> [<arguments>]"),
N_(" info: info to display\n"
"arguments: optional arguments for info\n\n"
"Without argument, this command displays list "
@@ -421,7 +395,7 @@ weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[])
weechat_hook_command ("demo_infolist",
N_("get and display an infolist"),
N_("[infolist [arguments]]"),
N_("<infolist> [<arguments>]"),
N_(" infolist: infolist to display\n"
"arguments: optional arguments for infolist\n\n"
"Without argument, this command displays list "
+187 -178
View File
@@ -4606,14 +4606,14 @@ irc_command_init ()
weechat_hook_command ("admin",
N_("find information about the administrator of the "
"server"),
N_("[target]"),
N_("[<target>]"),
N_("target: server"),
NULL, &irc_command_admin, NULL);
weechat_hook_command ("allchan",
N_("execute a command on all channels of all "
"connected servers"),
N_("[-current] [-exclude=channel[,channel...]] "
"command [arguments]"),
N_("[-current] [-exclude=<channel>[,<channel>...]] "
"<command> [<arguments>]"),
N_(" -current: execute command for channels of "
"current server only\n"
" -exclude: exclude some channels ('*' is "
@@ -4632,8 +4632,8 @@ irc_command_init ()
NULL, &irc_command_allchan, NULL);
weechat_hook_command ("allserv",
N_("execute a command on all connected servers"),
N_("[-exclude=server[,server...]] "
"command [arguments]"),
N_("[-exclude=<server>[,<server>...]] "
"<command> [<arguments>]"),
N_(" -exclude: exclude some servers ('*' is "
"allowed at beginning or end of server name, to "
"exclude many servers)\n"
@@ -4648,16 +4648,17 @@ irc_command_init ()
weechat_hook_command_run ("/away", &irc_command_run_away, NULL);
weechat_hook_command ("ban",
N_("ban nicks or hosts"),
N_("[channel] [nickname [nickname ...]]"),
N_(" channel: channel for ban\n"
"nickname: user or host to ban"),
N_("[<channel>] [<nick> [<nick>...]]"),
N_("channel: channel for ban\n"
" nick: user or host to ban"),
"%(irc_channel_nicks_hosts)", &irc_command_ban, NULL);
weechat_hook_command ("connect",
N_("connect to IRC server(s)"),
N_("[servername [servername ...] | hostname[/port] "
"[-option[=value]] [-nooption] | -all | -open] "
"[-nojoin] [-switch]"),
N_("servername: internal server name to connect "
N_("[<server> [<server>...] | <hostname>[/<port>]] "
"[-<option>[=<value>]] [-no<option>] [-nojoin] "
"[-switch]"
" || -all|-open [-nojoin] [-switch]"),
N_(" server: internal server name to connect "
"(server must have been created by /server add)\n"
" hostname: hostname (or IP) of a server (this "
"will create a TEMPORARY server)\n"
@@ -4684,7 +4685,7 @@ irc_command_init ()
&irc_command_connect, NULL);
weechat_hook_command ("ctcp",
N_("send a CTCP message (Client-To-Client Protocol)"),
N_("target type [arguments]"),
N_("<target> <type> [<arguments>]"),
N_(" target: nick or channel to send CTCP to\n"
" type: CTCP type (examples: \"version\", "
"\"ping\", ..)\n"
@@ -4695,17 +4696,17 @@ irc_command_init ()
&irc_command_ctcp, NULL);
weechat_hook_command ("cycle",
N_("leave and rejoin a channel"),
N_("[channel[,channel]] [part_message]"),
N_(" channel: channel name for cycle\n"
"part_message: part message (displayed to other "
N_("[<channel>[,<channel>...]] [<message>]"),
N_("channel: channel name for cycle\n"
"message: part message (displayed to other "
"users)"),
"%(irc_msg_part)", &irc_command_cycle, NULL);
weechat_hook_command ("dcc",
N_("start DCC (file or chat)"),
N_("action [nickname [file]]"),
N_(" action: 'send' (file) or 'chat'\n"
"nickname: nickname to send file or chat\n"
" file: filename (on local host)\n\n"
N_("start a DCC (file transfert or direct chat)"),
N_("chat <nick>"
" || send <nick> <file>"),
N_("nick: nick for chat or file\n"
"file: filename (on local host)\n\n"
"Examples:\n"
" chat with nick \"toto\":\n"
" /dcc chat toto\n"
@@ -4716,19 +4717,19 @@ irc_command_init ()
&irc_command_dcc, NULL);
weechat_hook_command ("dehalfop",
N_("remove half channel operator status from "
"nickname(s)"),
N_("[nickname [nickname]]"),
"nick(s)"),
N_("<nick> [<nick>...]"),
"",
"%(nicks)", &irc_command_dehalfop, NULL);
weechat_hook_command ("deop",
N_("remove channel operator status from "
"nickname(s)"),
N_("[nickname [nickname]]"),
"nick(s)"),
N_("<nick> [<nick>...]"),
"",
"%(nicks)|%*", &irc_command_deop, NULL);
weechat_hook_command ("devoice",
N_("remove voice from nickname(s)"),
N_("[nickname [nickname]]"),
N_("remove voice from nick(s)"),
N_("<nick> [<nick>...]"),
"",
"%(nicks)|%*", &irc_command_devoice, NULL);
weechat_hook_command ("die",
@@ -4738,24 +4739,28 @@ irc_command_init ()
NULL, &irc_command_die, NULL);
weechat_hook_command ("disconnect",
N_("disconnect from IRC server(s)"),
N_("[-all | servername [servername ...]]"),
N_(" -all: disconnect from all servers\n"
"servername: server name to disconnect"),
N_("<server> [<server>...]"
" || -all"),
N_("server: server name to disconnect\n"
" -all: disconnect from all servers"),
"-all"
" || %(irc_servers)|%*",
&irc_command_disconnect, NULL);
weechat_hook_command ("halfop",
N_("give half channel operator status to "
"nickname(s)"),
N_("[nickname [nickname]]"),
"nick(s)"),
N_("<nick> [<nick>...]"),
"",
"%(nicks)", &irc_command_halfop, NULL);
weechat_hook_command ("ignore",
N_("ignore nicks/hosts from servers or channels"),
N_("[list] | [add [re:]nick/host [server [channel]]] | "
"[del number|-all]"),
N_("list"
" || add [re:]<nick> [<server> [<channel>]]"
" || del <number>|-all"),
N_(" list: list all ignores\n"
" add: add an ignore\n"
" nick: nick or hostname (can be regular "
"expression if \"re:\" is given)\n"
" del: delete an ignore\n"
" number: number of ignore to delete (look at "
"list to find it)\n"
@@ -4780,23 +4785,24 @@ irc_command_init ()
&irc_command_ignore, NULL);
weechat_hook_command ("info",
N_("get information describing the server"),
N_("[target]"),
N_("[<target>]"),
N_("target: server name"),
NULL, &irc_command_info, NULL);
weechat_hook_command ("invite",
N_("invite a nick on a channel"),
N_("nickname channel"),
N_("nickname: nick to invite\n"
" channel: channel to invite"),
N_("<nick> <channel>"),
N_(" nick: nick to invite\n"
"channel: channel to invite"),
"%(nicks) %(irc_server_channels)", &irc_command_invite, NULL);
weechat_hook_command ("ison",
N_("check if a nickname is currently on IRC"),
N_("nickname [nickname ...]"),
N_("nickname: nickname"),
N_("check if a nick is currently on IRC"),
N_("<nick> [<nick>...]"),
N_("nick: nick"),
"%(nicks)|%*", &irc_command_ison, NULL);
weechat_hook_command ("join",
N_("join a channel"),
N_("[-server server] [channel1[,channel2[,channel3]] [key1[,key2]]]"),
N_("[-server <server>] [<channel1>[,<channel2>...]] "
"[<key1>[,<key2>...]]"),
N_(" server: send to this server (internal name)\n"
"channel: channel name to join\n"
" key: key to join the channel (channels with "
@@ -4809,17 +4815,17 @@ irc_command_init ()
" || %(irc_channels)", &irc_command_join, NULL);
weechat_hook_command ("kick",
N_("forcibly remove a user from a channel"),
N_("[channel] nickname [comment]"),
N_(" channel: channel where user is\n"
"nickname: nickname to kick\n"
" comment: comment for kick"),
N_("[<channel>] <nick> [<reason>]"),
N_("channel: channel where user is\n"
" nick: nick to kick\n"
" reason: reason for kick"),
"%(nicks) %-", &irc_command_kick, NULL);
weechat_hook_command ("kickban",
N_("kicks and bans a nick from a channel"),
N_("[channel] nickname [comment]"),
N_(" channel: channel where user is\n"
"nickname: nickname to kick and ban\n"
" comment: comment for kick\n\n"
N_("[<channel>] <nick> [<reason>]"),
N_("channel: channel where user is\n"
" nick: nick to kick and ban\n"
" reason: reason for kick\n\n"
"It is possible to kick/ban with a mask, nick "
"will be extracted from mask and replaced by "
"\"*\".\n\n"
@@ -4829,14 +4835,14 @@ irc_command_init ()
"%(irc_channel_nicks_hosts) %-", &irc_command_kickban, NULL);
weechat_hook_command ("kill",
N_("close client-server connection"),
N_("nickname comment"),
N_("nickname: nickname\n"
" comment: comment for kill"),
N_("<nick> <reason>"),
N_(" nick: nick to kill\n"
"reason: reason for kill"),
"%(nicks) %-", &irc_command_kill, NULL);
weechat_hook_command ("links",
N_("list all servernames which are known by the "
"server answering the query"),
N_("[[server] server_mask]"),
N_("[[<server>>] <server_mask>]"),
N_(" server: this server should answer the "
"query\n"
"server_mask: list of servers must match this "
@@ -4844,10 +4850,11 @@ irc_command_init ()
NULL, &irc_command_links, NULL);
weechat_hook_command ("list",
N_("list channels and their topic"),
N_("[channel[,channel] [server] [-re regexp]]"),
N_("[<channel>[,<channel>...]] [<server>] "
"[-re <regex>]"),
N_("channel: channel to list\n"
" server: server name\n"
" regexp: regular expression used to filter "
" regex: regular expression used to filter "
"results\n\n"
"Examples:\n"
" list all channels on server (can be very slow "
@@ -4862,7 +4869,7 @@ irc_command_init ()
weechat_hook_command ("lusers",
N_("get statistics about the size of the IRC "
"network"),
N_("[mask [target]]"),
N_("[<mask> [<target>]]"),
N_(" mask: servers matching the mask only\n"
"target: server for forwarding request"),
NULL, &irc_command_lusers, NULL);
@@ -4873,14 +4880,13 @@ irc_command_init ()
NULL, &irc_command_map, NULL);
weechat_hook_command ("me",
N_("send a CTCP action to the current channel"),
N_("message"),
N_("<message>"),
N_("message: message to send"),
NULL, &irc_command_me, NULL);
weechat_hook_command ("mode",
N_("change channel or user mode"),
N_("{ [channel] {[+|-]|o|p|s|i|t|n|b|v} [limit] "
"[user] [ban mask] } | { nickname "
"{[+|-]|i|w|s|o} }"),
N_("[<channel>] [+|-]o|p|s|i|t|n|b|v [<arguments>]"
" || <nick> [+|-]i|w|s|o"),
N_("channel modes:\n"
" channel: channel name to modify (default is "
"current one)\n"
@@ -4900,20 +4906,28 @@ irc_command_init ()
"moderated channel\n"
" k: set a channel key (password)\n"
"user modes:\n"
" nickname: nickname to modify\n"
" nick: nick to modify\n"
" i: mark a user as invisible\n"
" s: mark a user for receive server notices\n"
" w: user receives wallops\n"
" o: operator flag"),
" o: operator flag\n\n"
"List of modes is not comprehensive, you should "
"read documentation about your server to see all "
"possible modes.\n\n"
"Examples:\n"
" protect topic on channel #weechat:\n"
" /mode #weecht +t\n"
" become invisible on server:\n"
" /mode nick +i"),
"%(irc_channel)|%(irc_server_nick)", &irc_command_mode, NULL);
weechat_hook_command ("motd",
N_("get the \"Message Of The Day\""),
N_("[target]"),
N_("[<target>]"),
N_("target: server name"),
NULL, &irc_command_motd, NULL);
weechat_hook_command ("msg",
N_("send message to a nick or channel"),
N_("[-server server] target[,target] text"),
N_("[-server <server>] <target>[,<target>...] <text>"),
N_("server: send to this server (internal name)\n"
"target: nick or channel (may be mask, '*' = "
"current channel)\n"
@@ -4922,22 +4936,22 @@ irc_command_init ()
" || %(nicks) %-",
&irc_command_msg, NULL);
weechat_hook_command ("names",
N_("list nicknames on channels"),
N_("[channel[,channel]]"),
N_("list nicks on channels"),
N_("[<channel>[,<channel>...]]"),
N_("channel: channel name"),
"%(irc_channels)", &irc_command_names, NULL);
weechat_hook_command ("nick",
N_("change current nickname"),
N_("[-all] nickname"),
N_(" -all: set new nickname for all connected "
N_("change current nick"),
N_("[-all] <nick>"),
N_("-all: set new nick for all connected "
"servers\n"
"nickname: new nickname"),
"nick: new nick"),
"-all %(irc_server_nick)"
" || %(irc_server_nick)",
&irc_command_nick, NULL);
weechat_hook_command ("notice",
N_("send notice message to user"),
N_("[-server server] target text"),
N_("[-server <server>] <target> <text>"),
N_("server: send to this server (internal name)\n"
"target: nick or channel\n"
" text: text to send"),
@@ -4945,10 +4959,10 @@ irc_command_init ()
weechat_hook_command ("notify",
N_("add a notification for presence or away status "
"of nicks on servers"),
N_("[add nick [server [-away]]] | "
"[del nick|-all [server]]"),
N_("add <nick> [<server> [-away]]"
" || del <nick>|-all [<server>]"),
N_(" add: add a notification\n"
" nick: nickname\n"
" nick: nick\n"
"server: internal server name (by default "
"current server)\n"
" -away: notify when away message is changed "
@@ -4974,63 +4988,63 @@ irc_command_init ()
" || del -all|%(irc_notify_nicks) %(irc_servers) %-",
&irc_command_notify, NULL);
weechat_hook_command ("op",
N_("give channel operator status to nickname(s)"),
N_("nickname [nickname]"),
N_("give channel operator status to nick(s)"),
N_("<nick> [<nick>...]"),
"",
"%(nicks)|%*", &irc_command_op, NULL);
weechat_hook_command ("oper",
N_("get operator privileges"),
N_("user password"),
N_("user/password: used to get privileges on "
"current IRC server"),
N_("<user> <password>"),
N_(" user: user\n"
"password: password"),
NULL, &irc_command_oper, NULL);
weechat_hook_command ("part",
N_("leave a channel"),
N_("[channel[,channel]] [part_message]"),
N_(" channel: channel name to leave\n"
"part_message: part message (displayed to other "
N_("[<channel>[,<channel>...]] [<message>]"),
N_("channel: channel name to leave\n"
"message: part message (displayed to other "
"users)"),
"%(irc_msg_part)", &irc_command_part, NULL);
weechat_hook_command ("ping",
N_("ping server"),
N_("server1 [server2]"),
N_("<server1> [<server2>]"),
N_("server1: server to ping\n"
"server2: forward ping to this server"),
NULL, &irc_command_ping, NULL);
weechat_hook_command ("pong",
N_("answer to a ping message"),
N_("daemon [daemon2]"),
N_("<daemon> [<daemon2>]"),
N_(" daemon: daemon who has responded to Ping "
"message\n"
"daemon2: forward message to this daemon"),
NULL, &irc_command_pong, NULL);
weechat_hook_command ("query",
N_("send a private message to a nick"),
N_("[-server server] nickname [text]"),
N_(" server: send to this server (internal name)\n"
"nickname: nickname for private conversation\n"
" text: text to send"),
N_("[-server <server>] <nick> [<text>]"),
N_("server: send to this server (internal name)\n"
" nick: nick for private conversation\n"
" text: text to send"),
"%(nicks)|-server %(irc_servers) %-", &irc_command_query, NULL);
weechat_hook_command ("quote",
N_("send raw data to server without parsing"),
N_("[-server server] data"),
N_("[-server <server>] <data>"),
N_("server: send to this server (internal name)\n"
" data: raw data to send"),
"-server %(irc_servers)", &irc_command_quote, NULL);
weechat_hook_command ("reconnect",
N_("reconnect to server(s)"),
N_("[servername [servername ...] | -all] [-nojoin] "
"[-switch]"),
N_("servername: server name to reconnect\n"
" -all: reconnect to all servers\n"
" -nojoin: do not join any channel (even if "
N_("<server> [<server>...] [-nojoin] [-switch]"
" || -all [-nojoin] [-switch]"),
N_(" server: server name to reconnect\n"
" -all: reconnect to all servers\n"
"-nojoin: do not join any channel (even if "
"autojoin is enabled on server)\n"
" -switch: switch to next server address"),
"-switch: switch to next server address"),
"%(irc_servers)|-all|-nojoin|-switch|%*",
&irc_command_reconnect, NULL);
weechat_hook_command ("rehash",
N_("tell the server to reload its config file"),
N_("[option]"),
N_("[<option>]"),
N_("option: extra option, for some servers"),
NULL, &irc_command_rehash, NULL);
weechat_hook_command ("restart",
@@ -5040,78 +5054,75 @@ irc_command_init ()
NULL, &irc_command_restart, NULL);
weechat_hook_command ("sajoin",
N_("forces a user to join channel(s)"),
N_("nickname channel[,channel]"),
N_("nickname: nickname\n"
" channel: channel name"),
N_("<nick> <channel>[,<channel>...]"),
N_(" nick: nick\n"
"channel: channel name"),
"%(nicks) %(irc_server_channels)", &irc_command_sajoin, NULL);
weechat_hook_command ("samode",
N_("change mode on channel, without having operator "
"status"),
/* TRANSLATORS: "channel" and "mode" are arguments
for command, translate them separately */
N_("channel mode"),
N_("<channel> <mode>"),
N_("channel: channel name\n"
" mode: mode for channel"),
"%(irc_server_channels)", &irc_command_samode, NULL);
weechat_hook_command ("sanick",
N_("forces a user to use another nick"),
N_("nickname new_nickname"),
N_(" nickname: nickname\n"
"new_nickname: new nickname"),
N_("<nick> <new_nick>"),
N_(" nick: nick\n"
"new_nick: new nick"),
"%(nicks) %(nicks)", &irc_command_sanick, NULL);
weechat_hook_command ("sapart",
N_("forces a user to leave channel(s)"),
N_("nickname channel[,channel]"),
N_("nickname: nickname\n"
" channel: channel name"),
N_("<nick> <channel>[,<channel>...]"),
N_(" nick: nick\n"
"channel: channel name"),
"%(nicks) %(irc_server_channels)", &irc_command_sapart, NULL);
weechat_hook_command ("saquit",
N_("forces a user to quit server with a reason"),
N_("nickname reason"),
N_("nickname: nickname\n"
" reason: reason"),
N_("<nick> <reason>"),
N_(" nick: nick\n"
"reason: reason"),
"%(nicks)", &irc_command_saquit, NULL);
weechat_hook_command ("service",
N_("register a new service"),
N_("nickname reserved distribution type reserved "
"info"),
N_("<nick> <reserved> <distribution> <type> "
"<reserved> <info>"),
N_("distribution: visibility of service\n"
" type: reserved for future usage"),
NULL, &irc_command_service, NULL);
weechat_hook_command ("server",
N_("list, add or remove IRC servers"),
N_("[list [servername]] | [listfull [servername]] | "
"[add servername hostname[/port] [-temp] "
"[-option[=value]] [-nooption]] | "
"[copy servername newservername] | "
"[rename servername newservername] | "
"[keep servername] | [del servername] | "
"[deloutq] | [jump] | [raw]"),
N_(" list: list servers (without argument, "
N_("list|listfull [<server>]"
" || add <server> <hostname>[/<port>] [-temp] "
"[-<option>[=<value>]] [-no<option>]"
" || copy|rename <server> <new_name>"
" || del|keep <server>"
" || deloutq|jump|raw"),
N_(" list: list servers (without argument, "
"this list is displayed)\n"
" listfull: list servers with detailed info for "
"listfull: list servers with detailed info for "
"each server\n"
" add: create a new server\n"
"servername: server name, for internal and "
" add: create a new server\n"
" server: server name, for internal and "
"display use\n"
" hostname: name or IP address of server, with "
"hostname: name or IP address of server, with "
"optional port (default: 6667), many addresses can "
"be separated by a comma\n"
" temp: create temporary server (not saved)\n"
" option: set option for server (for boolean "
" temp: create temporary server (not saved)\n"
" option: set option for server (for boolean "
"option, value can be omitted)\n"
" nooption: set boolean option to 'off' (for "
"nooption: set boolean option to 'off' (for "
"example: -nossl)\n"
" copy: duplicate a server\n"
" rename: rename a server\n"
" keep: keep server in config file (for "
" copy: duplicate a server\n"
" rename: rename a server\n"
" keep: keep server in config file (for "
"temporary servers only)\n"
" del: delete a server\n"
" deloutq: delete messages out queue for all "
" del: delete a server\n"
" deloutq: delete messages out queue for all "
"servers (all messages WeeChat is currently "
"sending)\n"
" jump: jump to server buffer\n"
" raw: open buffer with raw IRC data\n\n"
" jump: jump to server buffer\n"
" raw: open buffer with raw IRC data\n\n"
"Examples:\n"
" /server listfull\n"
" /server add oftc irc.oftc.net/6697 -ssl -autoconnect\n"
@@ -5123,39 +5134,39 @@ irc_command_init ()
" /server rename oftc newoftc\n"
" /server del freenode\n"
" /server deloutq"),
"add %(irc_servers)"
"list %(irc_servers)"
" || listfull %(irc_servers)"
" || add %(irc_servers)"
" || copy %(irc_servers) %(irc_servers)"
" || rename %(irc_servers) %(irc_servers)"
" || keep %(irc_servers)"
" || del %(irc_servers)"
" || deloutq"
" || jump"
" || list %(irc_servers)"
" || listfull %(irc_servers)"
" || raw",
&irc_command_server, NULL);
weechat_hook_command ("servlist",
N_("list services currently connected to the "
"network"),
N_("[mask [type]]"),
N_("[<mask> [<type>]]"),
N_("mask: list only services matching this mask\n"
"type: list only services of this type"),
NULL, &irc_command_servlist, NULL);
weechat_hook_command ("squery",
N_("deliver a message to a service"),
N_("service text"),
N_("<service> <text>"),
N_("service: name of service\n"
"text: text to send"),
" text: text to send"),
NULL, &irc_command_squery, NULL);
weechat_hook_command ("squit",
N_("disconnect server links"),
N_("server comment"),
N_( "server: server name\n"
N_("<server> <comment>"),
N_( " server: server name\n"
"comment: comment for quit"),
NULL, &irc_command_squit, NULL);
weechat_hook_command ("stats",
N_("query statistics about server"),
N_("[query [server]]"),
N_("[<query> [<server>]]"),
N_(" query: c/h/i/k/l/m/o/y/u (see RFC1459)\n"
"server: server name"),
NULL, &irc_command_stats, NULL);
@@ -5163,91 +5174,89 @@ irc_command_init ()
N_("give users who are on a host running an IRC "
"server a message asking them to please join "
"IRC"),
N_("user [target [channel]]"),
N_("<user> [<target> [<channel>]]"),
N_(" user: username\n"
"target: server name\n"
" target: server name\n"
"channel: channel name"),
NULL, &irc_command_summon, NULL);
weechat_hook_command ("time",
N_("query local time from server"),
N_("[target]"),
N_("[<target>]"),
N_("target: query time from specified server"),
NULL, &irc_command_time, NULL);
weechat_hook_command ("topic",
N_("get/set channel topic"),
N_("[channel] [topic]"),
N_("[<channel>] [<topic>|-delete]"),
N_("channel: channel name\n"
"topic: new topic for "
"channel (if topic is \"-delete\" then topic "
"is deleted)"),
" topic: new topic for channel\n"
"-delete: delete channel topic"),
"%(irc_channel_topic)|-delete %-", &irc_command_topic, NULL);
weechat_hook_command ("trace",
N_("find the route to specific server"),
N_("[target]"),
N_("[<target>]"),
N_("target: server"),
NULL, &irc_command_trace, NULL);
weechat_hook_command ("unban",
N_("unban nicks or hosts"),
N_("[channel] nickname [nickname ...]"),
N_(" channel: channel for unban\n"
"nickname: user or host to unban"),
N_("[<channel>] <nick> [<nick>...]"),
N_("channel: channel for unban\n"
" nick: user or host to unban"),
NULL, &irc_command_unban, NULL);
weechat_hook_command ("userhost",
N_("return a list of information about nicknames"),
N_("nickname [nickname ...]"),
N_("nickname: nickname"),
N_("return a list of information about nicks"),
N_("<nick> [<nick>...]"),
N_("nick: nick"),
"%(nicks)", &irc_command_userhost, NULL);
weechat_hook_command ("users",
N_("list of users logged into the server"),
N_("[target]"),
N_("[<target>]"),
N_("target: server"),
NULL, &irc_command_users, NULL);
weechat_hook_command ("version",
N_("give the version info of nick or server "
"(current or specified)"),
N_("[server | nickname]"),
N_(" server: server name\n"
"nickname: nickname"),
N_("[<server>|<nick>]"),
N_("server: server name\n"
" nick: nick"),
"%(nicks)", &irc_command_version, NULL);
weechat_hook_command ("voice",
N_("give voice to nickname(s)"),
N_("[nickname [nickname]]"),
N_("give voice to nick(s)"),
N_("<nick> [<nick>...]"),
"",
"%(nicks)|%*", &irc_command_voice, NULL);
weechat_hook_command ("wallchops",
N_("send a notice to channel ops"),
N_("[channel] text"),
N_("[<channel>] <text>"),
N_("channel: channel name\n"
" text: text to send"),
NULL, &irc_command_wallchops, NULL);
weechat_hook_command ("wallops",
N_("send a message to all currently connected users "
"who have set the 'w' user mode for themselves"),
N_("text"),
N_("text to send"),
N_("<text>"),
N_("text: text to send"),
NULL, &irc_command_wallops, NULL);
weechat_hook_command ("who",
N_("generate a query which returns a list of "
"information"),
N_("[mask [\"o\"]]"),
N_("[<mask> [o]]"),
N_("mask: only information which match this mask\n"
" o: only operators are returned according to "
"the mask supplied"),
"%(irc_channels)", &irc_command_who, NULL);
weechat_hook_command ("whois",
N_("query information about user(s)"),
N_("[server] nickname[,nickname]"),
N_(" server: server name\n"
"nickname: nickname (may be a mask)"),
N_("[<server>] <nick>[,<nick>...]"),
N_("server: server name\n"
" nick: nick (may be a mask)"),
"%(nicks)", &irc_command_whois, NULL);
weechat_hook_command ("whowas",
N_("ask for information about a nickname which no "
N_("ask for information about a nick which no "
"longer exists"),
N_("nickname [,nickname [,nickname ...]] [count "
"[target]]"),
N_("nickname: nickname to search\n"
" count: number of replies to return "
N_("<nick>[,<nick>...] [<count> [<target>]]"),
N_(" nick: nick to search\n"
" count: number of replies to return "
"(full search if negative number)\n"
" target: reply should match this mask"),
"target: reply should match this mask"),
"%(nicks)", &irc_command_whowas, NULL);
}
+3 -1
View File
@@ -1214,7 +1214,9 @@ weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[])
/* command /logger */
weechat_hook_command ("logger",
N_("logger plugin configuration"),
N_("[list | set level | disable]"),
N_("list"
" || set <level>"
" || disable"),
N_(" list: show logging status for opened buffers\n"
" set: set logging level on current buffer\n"
" level: level for messages to be logged (0 = "
+4 -2
View File
@@ -284,8 +284,10 @@ relay_command_init ()
{
weechat_hook_command ("relay",
N_("relay control"),
N_("[list | listfull | add protocol.name port | "
"del protocol.name | raw]"),
N_("list|listfull|listrelay"
" || add <protocol.name> <port>"
" || del <protocol.name>"
" || raw"),
N_(" list: list relay clients (only active "
"relays)\n"
" listfull: list relay clients (verbose, all "
+4 -3
View File
@@ -234,9 +234,10 @@ rmodifier_command_init ()
{
weechat_hook_command ("rmodifier",
N_("alter modifier strings with regular expressions"),
N_("[list] | [listdefault] | "
"[add name modifiers groups regex] | "
"[del name|-all [name...]] | [default -yes]"),
N_("list|listdefault"
" || add <name> <modifiers> <groups> <regex>"
" || del <name>|-all [<name>...]"
" || default -yes"),
N_(" list: list all rmodifiers\n"
"listdefault: list default rmodifiers\n"
" add: add a rmodifier\n"
+17 -5
View File
@@ -257,11 +257,23 @@ script_init (struct t_weechat_plugin *weechat_plugin,
}
weechat_hook_command (weechat_plugin->name,
N_("list/load/unload scripts"),
N_("[list [name]] | [listfull [name]] | "
"[load filename] | [autoload] | "
"[reload [name]] | [unload [name]]"),
N_("filename: script (file) to load\n"
"name: a script name\n\n"
N_("list|listfull [<name>]"
" || load <filename>"
" || autoload"
" || reload|unload [<name>]"),
N_(" list: list loaded scripts\n"
"listfull: list loaded scripts (verbose)\n"
" load: load a script\n"
"autoload: load all scripts in \"autoload\" "
"directory\n"
" reload: reload a script (if no name given, "
"unload all scripts, then load all scripts in "
"\"autoload\" directory)\n"
" unload: unload a script (if no name given, "
"unload all scripts)\n"
"filename: script (file) to load\n"
" name: a script name (name used in call to "
"\"register\" function)\n\n"
"Without argument, this command "
"lists all loaded scripts."),
completion,
+2 -2
View File
@@ -245,12 +245,12 @@ xfer_command_init ()
{
weechat_hook_command ("me",
N_("send a CTCP action to remote host"),
N_("message"),
N_("<message>"),
N_("message: message to send"),
NULL, &xfer_command_me, NULL);
weechat_hook_command ("xfer",
N_("xfer control"),
"[list | listfull]",
"[list|listfull]",
N_(" list: list xfer\n"
"listfull: list xfer (verbose)\n\n"
"Without argument, this command opens buffer "