1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
|
[[command_weechat_away]]
[command]*`away`* attiva/disattiva lo stato di assenza::
........................................
/away [-all] [<messaggio>]
-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)
........................................
[[command_weechat_bar]]
[command]*`bar`* gestione barre::
........................................
/bar list|listfull|listitems
add <name> <type>[,<cond1>[,<cond2>...]] <position> <size> <separator> <item1>[,<item2>...]
default [input|title|status|nicklist]
del <name>|-all
set <name> <option> <value>
hide|show|toggle <name>
scroll <name> <window> <scroll_value>
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 a default bar (all default bars if no bar name is given)
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
window: window number (use '*' for current window or for root bars)
scroll_value: value for scroll: 'x' or 'y' (optional), 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
........................................
[[command_weechat_buffer]]
[command]*`buffer`* gestione buffer::
........................................
/buffer list
clear [<number>|-merged|-all]
move|merge <number>
unmerge [<number>|-all]
close [<n1>[-<n2>]|<name>]
notify <level>
localvar
set <property> <value>
get <property>
<number>|<name>
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 or name 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
........................................
[[command_weechat_color]]
[command]*`color`* definisce gli alias dei colori e visualizza la tavolozza dei colori::
........................................
/color alias <colore> <nome>
unalias <colore>
reset
alias: add an alias for a color
unalias: delete an alias
color: color number (greater than or equal to 0, max depends on terminal, commonly 63 or 255)
name: alias name for color (for example: "orange")
reset: reset all color pairs (required when no more color pairs are available if automatic reset is disabled, see option weechat.look.color_pairs_auto_reset)
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
........................................
[[command_weechat_command]]
[command]*`command`* esegui comando o plugin di WeeChat esplicito::
........................................
/command <plugin> <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)
........................................
[[command_weechat_cursor]]
[command]*`cursor`* free movement of cursor on screen to execute actions on specific areas of screen::
........................................
/cursor go chat|<bar>|<x>,<y>
move up|down|left|right|area_up|area_down|area_left|area_right
stop
go: move cursor to chat area, a bar (using bar name) or coordinates "x,y"
move: move cursor with direction
stop: stop cursor mode
Without argument, this command toggles cursor mode.
When mouse is enabled (see /help mouse), by default a middle click will start cursor mode at this point.
Examples:
go to nicklist:
/cursor go nicklist
go to coordinates x=10, y=5:
/cursor go 10,5
........................................
[[command_weechat_debug]]
[command]*`debug`* attiva debug per core/plugin::
........................................
/debug list
set <plugin> <level>
dump [<plugin>]
buffer|color|infolists|memory|tags|term|windows
mouse|cursor [verbose]
hdata [free]
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
color: display infos about current color pairs
cursor: toggle debug for cursor mode
hdata: display infos about hdata (with free: remove all hdata in memory)
infolists: display infos about infolists
memory: display infos about memory usage
mouse: toggle debug for mouse
tags: display tags for lines
term: display infos about terminal
windows: display windows tree
........................................
[[command_weechat_filter]]
[command]*`filter`* filtra messaggi nei buffer, per nascondere/mostrare in base a tag o regexp::
........................................
/filter list
enable|disable|toggle [<nome>]
add <nome> <buffer>[,<buffer>...] <tag> <regex>]
del <nome>|-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
buffer: elenco separato da virgole di buffer in cui il filtro è attivo:
- nome completo che include il plugin (esempio: "irc.freenode.#weechat)
- "*" indica tutti i buffer
- un nome preceduto da '!' viene escluso
- un nome può iniziare o terminare con '*' per includere più buffer
tag: elenco di tag separati da virgole, per esempio: "irc_join,irc_part,irc_quit"
regex: espressione regolare da cercare nella riga
- usare '\t' per separare il prefisso dal messaggio, caratteri speciali come "|" vanno preceduti dal carattere escape: '\|')
- se l'espressione regolare inizia con '!', il risultato corrispondente viene invertito (usare '\!' per iniziare con '!')
-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_none, 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.
Per mostrare i tag per le righe nei buffer: /debug tags
Esempi:
usa il filtro intelligente IRC per tutti i buffer:
/filter add irc_smart * irc_smart_filter *
usa il filtro intelligente IRC su tutti i buffer tranne quelli che contengono "#weechat" nel nome:
/filter add irc_smart *,!*weechat* 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
........................................
[[command_weechat_help]]
[command]*`help`* visualizza l'aiuto su comandi e opzioni::
........................................
/help -list|-listfull [<plugin> [<plugin>...]]
<comando>
<opzione>
-list: elenca i comandi, per plugin (senza argomento, viene mostrata questa lista)
-listfull: elenca i comandi con la relativa descrizione, per plugin
plugin: elenca i comandi per questo plugin
comando: nome di un comando
opzione: nome di un'opzione (usare /set per consultare la lista)
........................................
[[command_weechat_history]]
[command]*`history`* mostra la cronologia dei comandi del buffer::
........................................
/history <clear
valore>
clear: pulisci cronologia
valore: numero delle voci nella cronologia da mostrare
........................................
[[command_weechat_input]]
[command]*`input`* funzioni per la riga di comando::
........................................
/input <azioni> [<argomenti>]
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
search_switch_case: switch exact case for search
search_previous: search previous line
search_next: search next line
search_stop: stop search
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 (optional argument: delay for end of grab, default is 500 milliseconds)
grab_key_command: grab a key with its associated command (optional argument: delay for end of grab, default is 500 milliseconds)
grab_mouse: grab mouse event code
grab_mouse_area: grab mouse event code with area
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.
........................................
[[command_weechat_key]]
[command]*`key`* associa/disassocia tasti::
........................................
/key list|listdefault|listdiff [<contesto>]
bind <tasto> [<comando> [<arg>]]
bindctxt <contesto> <tasto> [<comando> <arg>]]
unbind <tasto>
unbindctxt <contesto> <chiave>
reset <tasto>
resetctxt <contesto> <tasto>
resetall -yes [<contesto>]
missing [<contesto>]
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)
context: name of context ("default" or "search")
bind: bind a command to a key or display command bound to key (for context "default")
bindctxt: bind a command to a key or display command bound to key, for given context
unbind: remove a key binding (for context "default")
unbindctxt: remove a key binding for given context
reset: reset a key to default binding (for context "default")
resetctxt: reset a key to default binding, for given context
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.
For context "mouse" (possible in context "cursor" too), key has format: "@area:key" where area can be:
*: any area on screen
chat: chat area (any buffer)
chat(xxx): char area for buffer with name "xxx" (full name including plugin)
bar(*): any bar
bar(xxx): bar "xxx"
item(*): any bar item
item(xxx): bar item "xxx"
The key can start or end with '*' to match many mouse events.
A special value for command wit format "hsignal:name" can be used for context mouse, this will send the hsignal "name" with the focus hashtable as argument.
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
key "tab" to stop search in buffer:
/key bindctxt search ctrl-I /input search_stop
middle button of mouse on a nick to retrieve info on nick:
/key bindctxt mouse @item(buffer_nicklist):button3 /msg nickserv info ${nick}
........................................
[[command_weechat_layout]]
[command]*`layout`* 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.
........................................
[[command_weechat_mouse]]
[command]*`mouse`* mouse control::
........................................
/mouse enable|disable|toggle [<delay>]
enable: enable mouse
disable: disable mouse
toggle: toggle mouse
delay: delay (in seconds) after which initial mouse state is restored (useful to temporarily disable mouse)
To enable/disable mouse at startup, use:
/set weechat.look.mouse on/off
Examples:
enable mouse:
/mouse enable
toggle mouse for 5 seconds:
/mouse toggle 5
........................................
[[command_weechat_mute]]
[command]*`mute`* esegue un comando in silenzio::
........................................
/mute [-current | -buffer <nome> | -all] comando
-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!
........................................
[[command_weechat_plugin]]
[command]*`plugin`* elenca/attiva/disattiva plugin::
........................................
/plugin list|listfull [<nome>]
load <nomefile>
autoload
reload|unload [<nome>]
list: elenca i plugin attivati
listfull: elenca i plugin attivati (dettagliato)
load: attiva un plugin
autoload: attiva automaticamente un plugin nella cartella di sistema o utente
reload: riattiva un plugin (se non specificato, disattiva e poi riattiva tutti i plugin)
unload: disattiva un plugin (se non specificato, disattiva tutti i plugin
nomefile: plugin (file) da attivare
nome: nome di un plugin
Senza argomento, questo comando elenca i plugin attivati.
........................................
[[command_weechat_proxy]]
[command]*`proxy`* gestione proxy::
........................................
/proxy list
add <nome> <tipo> <indirizzo> <porta> [<nomeutente> [<password>]]
del <nome>|-all
set <nome> <opzione> <valore>
list: elenca tutti i proxy
add: aggiunge un nuovo proxy
nome: nome del proxy (deve essere unico)
tipo: http, socks4 o socks5
address: IP o nome host
port: porta
username: nome utente (opzionale)
password: password (opzionale)
del: elimina un proxy (o tutti i proxy con -all)
set: imposta un valore per la proprietà di un proxy
option: opzione da modificare (per una lista di opzioni, consultare /set weechat.proxy.<nomeproxy>.*)
value: nuovo valore per l'opzione
Esempi:
crea un proxy http, in esecuzione sull'host locale, porta 8888:
/proxy add local http 127.0.0.1 8888
crea un proxy http usando il protocollo IPv6:
/proxy add local http 127.0.0.1 8888
/proxy set local ipv6 on
crea un proxy socks5 con nomeutente/password:
/proxy add myproxy socks5 sample.host.org 3128 myuser mypass
elimina un proxy:
/proxy del mioproxy
........................................
[[command_weechat_quit]]
[command]*`quit`* esce da WeeChat::
........................................
/quit [-yes] [<argomenti>]
-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)
........................................
[[command_weechat_reload]]
[command]*`reload`* ricarica i file di configurazione da disco::
........................................
/reload [<file> [<file....>]]
file: file di configurazione da ricaricare (senza estensione ".conf")
Senza argomento, vengono ricaricati tutti i file (WeeChat e plugin).
........................................
[[command_weechat_repeat]]
[command]*`repeat`* execute a command several times::
........................................
/repeat [-interval <delay>] <count> <command>
delay: delay between execution of commands (in milliseconds)
count: number of times to execute command
command: command to execute (a '/' is automatically added if not found at beginning of command)
All commands are executed on buffer where this command was issued.
Example:
scroll 2 pages up:
/repeat 2 /window page_up
........................................
[[command_weechat_save]]
[command]*`save`* salva i file di configurazione su disco::
........................................
/save [<file> [<file....>]]
file: file di configurazione da salvare (senza estensione ".conf")
Senza argomento, vengono salvati tutti i file (WeeChat e plugin).
........................................
[[command_weechat_set]]
[command]*`set`* imposta le opzioni di configurazione::
........................................
/set [<opzione> [<valore>]]
opzione: nome di un'opzione (può iniziare o terminare con '*' per elencare più opzioni)
valore: nuovo valore per l'opzione
Il nuovo valore può essere, a seconda del tipo di variabile:
booleano: on, off o toggle
intero : numero, ++numero o --numero
stringa : qualsiasi stringa ("" per una stringa vuota)
colore : nome colore, ++numeero o --numero
Per tutti i tipi, è possibile usare null per rimuovere il valore dell'opzione (valore non definito). Ciò funziona solo per alcune variabili speciali dei plugin.
Esempi:
mostra le opzioni relative agli eventi:
/set *highlight*
aggiunge una parola all'evento:
/set weechat.look.highlight "word"
........................................
[[command_weechat_unset]]
[command]*`unset`* annulla/ripristina opzione::
........................................
/unset <opzione>
opzione: nome di un'opzione (può iniziare o terminare 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).
Esempi:
ripristina un'opzione:
/unset weechat.look.item_time_format
ripristina tutte le opzioni del colore:
/unset weechat.color.*
........................................
[[command_weechat_upgrade]]
[command]*`upgrade`* aggiorna WeeChat senza disconnettere dai server::
........................................
/upgrade [<percorso_del_binario>]
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.
Note: SSL connections are lost during upgrade, because reload of SSL sessions is currently not possible with GnuTLS. There is automatic reconnection after upgrade.
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_weechat_uptime]]
[command]*`uptime`* 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)
........................................
[[command_weechat_version]]
[command]*`version`* 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)
........................................
[[command_weechat_wait]]
[command]*`wait`* pianifica l'esecuzione di un comando::
........................................
/wait <numero>[<unità>] <comando>
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 viene 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
........................................
[[command_weechat_window]]
[command]*`window`* gestione finestre::
........................................
/window list
-1|+1|b#|up|down|left|right [-window <number>]
<number>
splith|splitv [-window <number>] [<pct>]
resize [-window <number>] [+/-]<pct>
balance
merge [-window <number>] [all]
page_up|page_down [-window <number>]
refresh
scroll [-window <number>] [+/-]<value>[s|m|h|d|M|y]
scroll_horiz [-window <number>] [+/-]<value>[%]
scroll_up|scroll_down|scroll_top|scroll_bottom|scroll_previous_highlight|scroll_next_highlight [-window <number>]
swap [-window <number>] [up|down|left|right]
zoom[-window <number>]
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
number: window number (see /window list)
splith: split current window horizontally
splitv: split current window vertically
resize: resize window size, new size is <pct> percentage of parent window
balance: balance the sizes of all windows
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 a number of lines (+/-N) or with time: s=seconds, m=minutes, h=hours, d=days, M=months, y=years
scroll_horiz: scroll horizontally a number of columns (+/-N) or percentage of window size (this scrolling is possible only on buffers with free content)
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
swap: swap buffers of two windows (with optional direction for target window)
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
zoom on window #2:
/window zoom -window 2
........................................
|