~ubuntu-branches/ubuntu/wily/weechat/wily

« back to all changes in this revision

Viewing changes to doc/en/weechat_faq.en.txt

  • Committer: Package Import Robot
  • Author(s): Emmanuel Bouthenot
  • Date: 2014-02-13 12:11:54 UTC
  • mfrom: (29.1.3 sid)
  • Revision ID: package-import@ubuntu.com-20140213121154-k6sdmtnralvjbmgq
Tags: 0.4.3-2
* Add missing symlink for Polish manpage
* Change ruby-* Build-Depends to gem2deb so that ruby plugin will be
  built against the newest Ruby interpreter available (Closes: #738685)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
WeeChat FAQ (Frequently Asked Questions)
2
 
========================================
3
 
Sébastien Helleu <flashcode@flashtux.org>
 
1
= WeeChat FAQ (Frequently Asked Questions)
 
2
:author: Sébastien Helleu
 
3
:email: flashcode@flashtux.org
 
4
:lang: en
 
5
:toc:
4
6
 
5
7
 
6
8
[NOTE]
9
11
 
10
12
 
11
13
[[general]]
12
 
General
13
 
-------
 
14
== General
14
15
 
15
16
[[weechat_name]]
16
 
Where does the name "WeeChat" come from?
17
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
17
=== Where does the name "WeeChat" come from?
18
18
 
19
19
"Wee" is a recursive acronym and stands for "Wee Enhanced Environment".
20
20
So complete name is "Wee Enhanced Environment for Chat".
23
23
apply to WeeChat!).
24
24
 
25
25
[[why_choose_weechat]]
26
 
Why choose WeeChat? X-Chat and Irssi are so good...
27
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
26
=== Why choose WeeChat? X-Chat and Irssi are so good...
28
27
 
29
28
Because WeeChat is very light and brings innovating features.
30
29
 
31
30
More info on this page: http://weechat.org/about/features
32
31
 
33
32
[[compilation_install]]
34
 
Compilation / install
35
 
---------------------
 
33
== Compilation / install
36
34
 
37
35
[[gui]]
38
 
I heard about many GUIs for WeeChat. How can I compile/use them?
39
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
36
=== I heard about many GUIs for WeeChat. How can I compile/use them?
40
37
 
41
38
Some remote GUIs are available:
42
39
 
46
43
* https://github.com/eirikb/weecloud[weecloud] (Web)
47
44
 
48
45
[[compile_git]]
49
 
I can't compile WeeChat after cloning git repository, why?
50
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
46
=== I can't compile WeeChat after cloning git repository, why?
51
47
 
52
48
The recommended way to compile WeeChat is with cmake.
53
49
 
60
56
than git cloning for installing updates.
61
57
 
62
58
[[lost]]
63
 
I've launched WeeChat, but I'm lost, what can I do?
64
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
59
=== I've launched WeeChat, but I'm lost, what can I do?
65
60
 
66
61
For help you can type `/help`. For help about a command, type `/help command`.
67
62
Keys and commands are listed in documentation.
70
65
on the website).
71
66
 
72
67
[[display]]
73
 
Display
74
 
-------
 
68
== Display
75
69
 
76
70
[[charset]]
77
 
I don't see some chars with accents, what can I do?
78
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
71
=== I don't see some chars with accents, what can I do?
79
72
 
80
73
It's common issue, please read carefully and check *ALL* solutions below:
81
74
 
102
95
and *not* UTF-8.
103
96
 
104
97
[[bars_background]]
105
 
Bars like title and status are not filled, background color stops after text, why?
106
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
98
=== Bars like title and status are not filled, background color stops after text, why?
107
99
 
108
100
This may be caused by a bad value of the TERM variable in your shell (look at
109
101
output of `echo $TERM` in your terminal).
118
110
If needed, fix your TERM variable: `export TERM="xxx"`.
119
111
 
120
112
[[screen_weird_chars]]
121
 
When I'm using weechat under screen/tmux, I have weird random chars, how do I fix that?
122
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
113
=== When I'm using weechat under screen/tmux, I have weird random chars, how do I fix that?
123
114
 
124
115
This may be caused by bad value of the TERM variable in your shell (look at
125
116
output of `echo $TERM` in your terminal, *outside screen/tmux*).
130
121
If needed, fix your TERM variable: `export TERM="xxx"`.
131
122
 
132
123
[[osx_display_broken]]
133
 
I compiled WeeChat under OS X, and I see "(null)" everywhere on screen, what's wrong?
134
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
124
=== I compiled WeeChat under OS X, and I see "(null)" everywhere on screen, what's wrong?
135
125
 
136
126
If you compiled ncursesw yourself, try to use standard ncurses (that comes with
137
127
system).
140
130
manager.
141
131
 
142
132
[[buffer_vs_window]]
143
 
I heard about "buffers" and "windows", what's the difference?
144
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
133
=== I heard about "buffers" and "windows", what's the difference?
145
134
 
146
135
A 'buffer' is composed by a number, a name, lines displayed (and some other
147
136
data).
153
142
window) or displayed by one or more windows.
154
143
 
155
144
[[buffers_list]]
156
 
How to display the buffers list on the left side?
157
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
145
=== How to display the buffers list on the left side?
158
146
 
159
147
Use script 'buffers.pl'.
160
148
 
161
149
To limit size of bar:
162
150
 
163
 
----------------------------------------
 
151
----
164
152
/set weechat.bar.buffers.size_max 15
165
 
----------------------------------------
 
153
----
166
154
 
167
155
To move bar to bottom:
168
156
 
169
 
----------------------------------------
 
157
----
170
158
/set weechat.bar.buffers.position bottom
171
 
----------------------------------------
 
159
----
172
160
 
173
161
[[customize_prefix]]
174
 
How can I reduce length of nicks or remove nick alignment in chat area?
175
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
162
=== How can I reduce length of nicks or remove nick alignment in chat area?
176
163
 
177
164
To reduce max length of nicks in chat area:
178
165
 
179
 
----------------------------------------
 
166
----
180
167
/set weechat.look.prefix_align_max 15
181
 
----------------------------------------
 
168
----
182
169
 
183
170
To remove nick alignment:
184
171
 
185
 
----------------------------------------
 
172
----
186
173
/set weechat.look.prefix_align none
187
 
----------------------------------------
 
174
----
188
175
 
189
176
[[input_bar_size]]
190
 
How to use command line with more than one line?
191
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
177
=== How to use command line with more than one line?
192
178
 
193
179
The option 'size' in input bar can be set to a value higher than 1 (for fixed
194
180
size, default size is 1) or 0 for dynamic size, and then option 'size_max' will
196
182
 
197
183
Example with dynamic size:
198
184
 
199
 
----------------------------------------
 
185
----
200
186
/set weechat.bar.input.size 0
201
 
----------------------------------------
 
187
----
202
188
 
203
189
Max size of 2:
204
190
 
205
 
----------------------------------------
 
191
----
206
192
/set weechat.bar.input.size_max 2
207
 
----------------------------------------
 
193
----
208
194
 
209
195
[[one_input_root_bar]]
210
 
Is it possible to display only one input bar for all windows (after split)?
211
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
196
=== Is it possible to display only one input bar for all windows (after split)?
212
197
 
213
198
Yes, you will have to create a bar with type "root" (with an item to know in
214
199
which window you are), then delete current input bar.
215
200
 
216
201
For example:
217
202
 
218
 
----------------------------------------
 
203
----
219
204
/bar add rootinput root bottom 1 0 [buffer_name]+[input_prompt]+(away),[input_search],[input_paste],input_text
220
205
/bar del input
221
 
----------------------------------------
 
206
----
222
207
 
223
208
If ever you are not satisfied with that, just delete new bar, WeeChat will
224
209
automatically create default bar "input" if item "input_text" is not used in
225
210
any bar:
226
211
 
227
 
----------------------------------------
 
212
----
228
213
/bar del rootinput
229
 
----------------------------------------
 
214
----
230
215
 
231
216
[[terminal_copy_paste]]
232
 
How can I copy/paste text without pasting nicklist?
233
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
217
=== How can I copy/paste text without pasting nicklist?
234
218
 
235
219
You can use a terminal with rectangular selection (like rxvt-unicode,
236
 
konsole, gnome-terminal, ...). Key is usually @k(C-)@k(A-) mouse selection.
 
220
konsole, gnome-terminal, ...). Key is usually key[ctrl-]key[alt-] mouse
 
221
selection.
237
222
 
238
223
Another solution is to move nicklist to top or bottom, for example:
239
224
 
240
 
----------------------------------------
 
225
----
241
226
/set weechat.bar.nicklist.position top
242
 
----------------------------------------
 
227
----
243
228
 
244
229
[[urls]]
245
 
How can I click on long URLs (more than one line)?
246
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
230
=== How can I click on long URLs (more than one line)?
247
231
 
248
232
By default, WeeChat displays time and prefix for each line and optional bars
249
233
around chat area. To make easier URL click, you can move nicklist to top and
250
234
remove alignment on nick:
251
235
 
252
 
----------------------------------------
 
236
----
253
237
/set weechat.bar.nicklist.position top
254
238
/set weechat.look.prefix_align none
255
239
/set weechat.look.align_end_of_lines time
256
 
----------------------------------------
 
240
----
257
241
 
258
242
With WeeChat ≥ 0.3.6, you can enable option "eat_newline_glitch", so that
259
243
new line char is not added at the end of each line displayed (it will not break
260
244
URL selection):
261
245
 
262
 
----------------------------------------
 
246
----
263
247
/set weechat.look.eat_newline_glitch on
264
 
----------------------------------------
 
248
----
265
249
 
266
250
[IMPORTANT]
267
251
This option may cause display bugs. If you experience such problem, you must
270
254
Other solution is to use a script: http://weechat.org/scripts/stable/tag/url
271
255
 
272
256
[[change_locale_without_quit]]
273
 
I want to change the language used by WeeChat for messages, but without exiting WeeChat, is it possible?
274
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
257
=== I want to change the language used by WeeChat for messages, but without exiting WeeChat, is it possible?
275
258
 
276
259
Yes, you have to use a python script, 'shell.py' (available on WeeChat website)
277
260
and issue these commands when script is loaded:
278
261
 
279
 
----------------------------------------
 
262
----
280
263
/shell setenv LANG=en_US.UTF-8
281
264
/upgrade
282
 
----------------------------------------
 
265
----
283
266
 
284
267
To have English messages with UTF-8 encoding for terminal, for ISO users, you
285
268
can issue: `/shell setenv LANG=en_US`.
286
269
 
287
270
[[use_256_colors]]
288
 
How can I use 256 colors in WeeChat?
289
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
271
=== How can I use 256 colors in WeeChat?
290
272
 
291
273
256 colors are supported with WeeChat ≥ 0.3.4.
292
274
 
302
284
 
303
285
If you are using screen, you can add this line to your '~/.screenrc':
304
286
 
305
 
----------------------------------------
 
287
----
306
288
term screen-256color
307
 
----------------------------------------
 
289
----
308
290
 
309
291
If your 'TERM' variable has wrong value and that WeeChat is already running,
310
292
don't panic! You can change it without restarting, thanks to script 'shell.py':
311
293
 
312
 
----------------------------------------
 
294
----
313
295
/shell setenv TERM=screen-256color
314
296
/upgrade
315
 
----------------------------------------
 
297
----
316
298
 
317
299
For version 0.3.4, you must use command `/color` to add new colors.
318
300
 
322
304
Please read user's guide for more information about colors management.
323
305
 
324
306
[[search_text]]
325
 
How can I search text in buffer (like /lastlog in irssi)?
326
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
307
=== How can I search text in buffer (like /lastlog in irssi)?
327
308
 
328
 
The default key is @k(C-)@k(r) (command is: `/input search_text`).
329
 
And jump to highlights: @k(A-)@k(p)/@k(n).
 
309
The default key is key[ctrl-r] (command is: `/input search_text`).
 
310
And jump to highlights: key[alt-p] / key[alt-n].
330
311
 
331
312
See user's guide for more info about this feature (default key bindings).
332
313
 
333
314
[[key_bindings]]
334
 
Key bindings
335
 
------------
 
315
== Key bindings
336
316
 
337
317
[[meta_keys]]
338
 
Some meta keys (alt + key) are not working, why?
339
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
318
=== Some meta keys (alt + key) are not working, why?
340
319
 
341
320
If you're using some terminals like xterm or uxterm, some meta keys does not
342
321
work by default. You can add a line in file '~/.Xresources':
343
322
 
344
323
* for xterm:
345
 
----------------------------------------
 
324
----
346
325
XTerm*metaSendsEscape: true
347
 
----------------------------------------
 
326
----
348
327
* for uxterm:
349
 
----------------------------------------
 
328
----
350
329
UXTerm*metaSendsEscape: true
351
 
----------------------------------------
 
330
----
352
331
 
353
332
And then reload resources (`xrdb -override ~/.Xresources`) or restart X.
354
333
 
355
334
[[customize_key_bindings]]
356
 
How can I customize key bindings?
357
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
335
=== How can I customize key bindings?
358
336
 
359
337
Key bindings are customizable with `/key` command.
360
338
 
361
 
Default key @k(A-)@k(k) lets you grab key code and insert it in command line.
 
339
Default key key[alt-k] lets you grab key code and insert it in command line.
362
340
 
363
341
[[jump_to_buffer_11_or_higher]]
364
 
What is the key to jump to buffer 11 (or higher number)?
365
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
342
=== What is the key to jump to buffer 11 (or higher number)?
366
343
 
367
 
The key is @k(A-)@k(j) and then 2 digits, for example @k(A-)@k(j) then @k(1),
368
 
@k(1) to jump to buffer 11.
 
344
The key is key[alt-j] and then 2 digits, for example key[alt-j], key[1], key[1]
 
345
to jump to buffer 11.
369
346
 
370
347
You can bind a key, for example:
371
348
 
372
 
----------------------------------------
 
349
----
373
350
/key bind meta-q /buffer *11
374
 
----------------------------------------
 
351
----
375
352
 
376
353
List of default keys is in User's guide.
377
354
 
378
355
[[global_history]]
379
 
How to use global history (instead of buffer history) with up and down keys?
380
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
356
=== How to use global history (instead of buffer history) with up and down keys?
381
357
 
382
358
You can bind the up and down keys on global history (default keys for global
383
 
history are @k(C-)@k(↑) and @k(C-)@k(↓)).
 
359
history are key[ctrl-↑] and key[ctrl-↓]).
384
360
 
385
361
Example:
386
362
 
387
 
----------------------------------------
 
363
----
388
364
/key bind meta2-A /input history_global_previous
389
365
/key bind meta2-B /input history_global_next
390
 
----------------------------------------
 
366
----
391
367
 
392
368
[NOTE]
393
369
Keys "meta2-A" and "meta2-B" may be different in your terminal. To find key
394
 
code press @k(A-)@k(k) then key (up or down).
 
370
code press key[alt-k] then key (up or down).
395
371
 
396
372
[[mouse]]
397
 
Mouse
398
 
-----
 
373
== Mouse
399
374
 
400
375
[[mouse_not_working]]
401
 
Mouse is not working at all, what can I do?
402
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
376
=== Mouse is not working at all, what can I do?
403
377
 
404
378
Mouse is supported with WeeChat ≥ 0.3.6.
405
379
 
406
380
First try to enable mouse:
407
381
 
408
 
----------------------------------------
 
382
----
409
383
/mouse enable
410
 
----------------------------------------
 
384
----
411
385
 
412
386
If mouse is still not working, check the TERM variable in your shell (look at
413
387
output of `echo $TERM` in your terminal).
415
389
 
416
390
You can test mouse support in terminal:
417
391
 
418
 
----------------------------------------
 
392
----
419
393
$ printf '\033[?1002h'
420
 
----------------------------------------
 
394
----
421
395
 
422
396
And then click on first char of terminal (upper left). You should see " !!#!!".
423
397
 
424
398
To disable mouse in terminal:
425
399
 
426
 
----------------------------------------
 
400
----
427
401
$ printf '\033[?1002l'
428
 
----------------------------------------
 
402
----
429
403
 
430
404
[[mouse_coords]]
431
 
Mouse does nothing for X or Y greater than 94, why?
432
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
405
=== Mouse does nothing for X or Y greater than 94 (or 222), why?
433
406
 
434
407
Some terminals are sending only ISO chars for mouse coordinates, so it does not
435
 
work for X/Y greater than 94.
 
408
work for X/Y greater than 94 (or 222).
436
409
 
437
410
You should use a terminal that supports UTF-8 coordinates for mouse, like
438
411
rxvt-unicode.
439
412
 
440
413
[[mouse_select_paste]]
441
 
How can I select or paste text in terminal when mouse is enabled in WeeChat?
442
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
414
=== How can I select or paste text in terminal when mouse is enabled in WeeChat?
443
415
 
444
 
When mouse is enabled in WeeChat, you can use @k(-S-) modifier to select or
 
416
When mouse is enabled in WeeChat, you can use key[shift] modifier to select or
445
417
click in terminal, as if the mouse was disabled (on some terminals like iTerm,
446
 
you have to use @k(-A-) instead of @k(-S-)).
 
418
you have to use key[alt] instead of key[shift]).
447
419
 
448
420
[[irc]]
449
 
IRC
450
 
---
 
421
== IRC
451
422
 
452
423
[[irc_ssl_connection]]
453
 
I have some problems when connecting to a server using SSL, what can I do?
454
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
424
=== I have some problems when connecting to a server using SSL, what can I do?
455
425
 
456
426
If you see errors about gnutls handshake, you can try to use a smaller
457
427
Diffie-Hellman key (default is 2048):
458
428
 
459
 
----------------------------------------
 
429
----
460
430
/set irc.server.freenode.ssl_dhkey_size 1024
461
 
----------------------------------------
 
431
----
462
432
 
463
433
If you see errors about certificate, you can disable "ssl_verify" (be careful,
464
434
connection will be less secure by doing that):
465
435
 
466
 
----------------------------------------
 
436
----
467
437
/set irc.server.freenode.ssl_verify off
468
 
----------------------------------------
 
438
----
469
439
 
470
440
[[irc_ssl_handshake_error]]
471
 
When connecting to server with SSL, I see only error "TLS handshake failed", what can I do?
472
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
441
=== When connecting to server with SSL, I see only error "TLS handshake failed", what can I do?
473
442
 
474
443
You can try a different priority string (WeeChat ≥ 0.3.5 only), replace "xxx"
475
444
by your server name:
476
445
 
477
 
----------------------------------------
 
446
----
478
447
/set irc.server.xxx.ssl_priorities "NORMAL:-VERS-TLS-ALL:+VERS-TLS1.0:+VERS-SSL3.0:%COMPAT"
479
 
----------------------------------------
 
448
----
480
449
 
481
450
[[irc_ssl_freenode]]
482
 
How can I connect to freenode server using SSL?
483
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
451
=== How can I connect to freenode server using SSL?
484
452
 
485
453
Set option 'weechat.network.gnutls_ca_file' to file with certificates:
486
454
 
487
 
----------------------------------------
 
455
----
488
456
/set weechat.network.gnutls_ca_file "/etc/ssl/certs/ca-certificates.crt"
489
 
----------------------------------------
 
457
----
490
458
 
491
459
[NOTE]
492
460
Check that you have this file on your system (commonly brought by package
494
462
 
495
463
Setup server port, SSL, dhkey_size, then connect:
496
464
 
497
 
----------------------------------------
 
465
----
498
466
/set irc.server.freenode.addresses "chat.freenode.net/7000"
499
467
/set irc.server.freenode.ssl on
500
468
/set irc.server.freenode.ssl_dhkey_size 1024
501
469
/connect freenode
502
 
----------------------------------------
 
470
----
503
471
 
504
472
[[irc_oauth]]
505
 
How to connect to a server that requires "oauth"?
506
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
473
=== How to connect to a server that requires "oauth"?
507
474
 
508
475
Some servers like 'twitch' require oauth to connect.
509
476
 
512
479
You can create such server and connect with following commands (replace name
513
480
and address by appropriate values):
514
481
 
515
 
----------------------------------------
 
482
----
516
483
/server add name irc.server.org -password="oauth:XXXX"
517
484
/connect name
518
 
----------------------------------------
 
485
----
519
486
 
520
487
[[irc_sasl]]
521
 
How can I be identified before joining channels?
522
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
488
=== How can I be identified before joining channels?
523
489
 
524
490
If server supports SASL, you should use that instead of sending command for
525
491
nickserv authentication, for example:
526
492
 
527
 
----------------------------------------
 
493
----
528
494
/set irc.server_default.sasl_mechanism dh-blowfish
529
495
/set irc.server.freenode.sasl_username "mynick"
530
496
/set irc.server.freenode.sasl_password "xxxxxxx"
531
 
----------------------------------------
 
497
----
532
498
 
533
499
If server does not support SASL, you can add a delay (between command and join
534
500
of channels):
535
501
 
536
 
----------------------------------------
 
502
----
537
503
/set irc.server.freenode.command_delay 5
538
 
----------------------------------------
 
504
----
539
505
 
540
506
[[ignore_vs_filter]]
541
 
What is the difference between the /ignore and /filter commands?
542
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
507
=== What is the difference between the /ignore and /filter commands?
543
508
 
544
509
The `/ignore` command is an IRC command, so it applies only for IRC buffers
545
510
(servers and channels).
552
517
It lets you filter some lines in buffers with tags or regular expression for
553
518
prefix and content of line.
554
519
Filtered lines are only hidden, not deleted, and you can see them if you
555
 
disable filters (by default, the key @k(A-)@k(=) toggles filters).
 
520
disable filters (by default, the key key[alt-=] toggles filters).
556
521
 
557
522
[[filter_irc_join_part_quit]]
558
 
How can I filter join/part/quit messages on IRC channels?
559
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
523
=== How can I filter join/part/quit messages on IRC channels?
560
524
 
561
525
With smart filter (keep join/part/quit from users who spoke recently):
562
526
 
563
 
----------------------------------------
 
527
----
564
528
/set irc.look.smart_filter on
565
529
/filter add irc_smart * irc_smart_filter *
566
 
----------------------------------------
 
530
----
567
531
 
568
532
With a global filter (hide *all* join/part/quit):
569
533
 
570
 
----------------------------------------
 
534
----
571
535
/filter add joinquit * irc_join,irc_part,irc_quit *
572
 
----------------------------------------
 
536
----
573
537
 
574
538
[NOTE]
575
539
For help: `/help filter` and `/help irc.look.smart_filter`
576
540
 
577
541
[[filter_irc_join_channel_messages]]
578
 
How can I filter some messages displayed when I join an IRC channel?
579
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
542
=== How can I filter some messages displayed when I join an IRC channel?
580
543
 
581
544
With WeeChat ≥ 0.4.1, you can disable some messages with option
582
545
'irc.look.display_join_message'.
583
546
 
584
547
For example, to disable names (which is IRC message '366'):
585
548
 
586
 
----------------------------------------
 
549
----
587
550
/set irc.look.display_join_message "329,332,333"
588
 
----------------------------------------
 
551
----
589
552
 
590
553
[NOTE]
591
554
For help: `/help irc.look.display_join_message`
602
565
Examples:
603
566
 
604
567
* filter names:
605
 
----------------------------------------
 
568
----
606
569
/filter add irc_join_names * irc_366 *
607
 
----------------------------------------
 
570
----
608
571
* filter topic (and date):
609
 
----------------------------------------
 
572
----
610
573
/filter add irc_join_topic_date * irc_332,irc_333 *
611
 
----------------------------------------
 
574
----
612
575
 
613
576
[[filter_voice_messages]]
614
 
How can I filter voice messages (eg on Bitlbee server)?
615
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
577
=== How can I filter voice messages (eg on Bitlbee server)?
616
578
 
617
579
It's not easy to filter voice messages, because voice mode can be set with other
618
580
modes in same IRC message.
623
585
 
624
586
For Bitlbee ≥ 3, do that on channel '&bitlbee':
625
587
 
626
 
----------------------------------------
 
588
----
627
589
channel set show_users online,away
628
 
----------------------------------------
 
590
----
629
591
 
630
592
For older version of Bitlbee, do that on channel '&bitlbee':
631
593
 
632
 
----------------------------------------
 
594
----
633
595
set away_devoice false
634
 
----------------------------------------
 
596
----
635
597
 
636
598
For checking away nicks in WeeChat, see question about
637
599
<<color_away_nicks,away nicks>>.
639
601
If you really want to filter voice messages, you can use this command, but this
640
602
is not perfect (will work only if first mode changed is voice):
641
603
 
642
 
----------------------------------------
 
604
----
643
605
/filter add hidevoices * irc_mode (\+|\-)v
644
 
----------------------------------------
 
606
----
645
607
 
646
608
[[color_away_nicks]]
647
 
How can I see away nicks in nicklist?
648
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
609
=== How can I see away nicks in nicklist?
649
610
 
650
611
You have to set option 'irc.server_default.away_check' to a positive value
651
612
(minutes between each check of away nicks).
656
617
For example, check every 5 minutes for away nicks, for channels with max 25
657
618
nicks:
658
619
 
659
 
----------------------------------------
 
620
----
660
621
/set irc.server_default.away_check 5
661
622
/set irc.server_default.away_check_max_nicks 25
662
 
----------------------------------------
 
623
----
663
624
 
664
625
[NOTE]
665
626
For WeeChat ≤ 0.3.3, options are 'irc.network.away_check' and
666
627
'irc.network.away_check_max_nicks'.
667
628
 
668
629
[[highlight_notification]]
669
 
How can I be warned when someone highlights me on a channel?
670
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
630
=== How can I be warned when someone highlights me on a channel?
671
631
 
672
632
You can use a script like 'beep.pl' or 'launcher.pl'.
673
633
 
674
634
For 'launcher.pl', you have to setup command:
675
635
 
676
 
----------------------------------------
 
636
----
677
637
/set plugins.var.perl.launcher.signal.weechat_highlight "/path/to/command arguments"
678
 
----------------------------------------
 
638
----
679
639
 
680
640
Other scripts on this subject: http://weechat.org/scripts/stable/tag/notify/
681
641
 
682
642
[[irc_target_buffer]]
683
 
How can I change target buffer for commands on merged buffers (like buffer with servers)?
684
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
643
=== How can I change target buffer for commands on merged buffers (like buffer with servers)?
685
644
 
686
 
The default key is @k(C-)@k(x) (command is: `/input switch_active_buffer`).
 
645
The default key is key[ctrl-x] (command is: `/input switch_active_buffer`).
687
646
 
688
647
[[plugins_scripts]]
689
 
Plugins / scripts
690
 
-----------------
 
648
== Plugins / scripts
691
649
 
692
650
[[openbsd_plugins]]
693
 
I'm using OpenBSD and WeeChat does not load any plugins, what's wrong?
694
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
651
=== I'm using OpenBSD and WeeChat does not load any plugins, what's wrong?
695
652
 
696
653
Under OpenBSD, plugin filenames end with ".so.0.0" (".so" for Linux).
697
654
 
698
655
You must set that up:
699
656
 
700
 
----------------------------------------
 
657
----
701
658
/set weechat.plugin.extension ".so.0.0"
702
659
/plugin autoload
703
 
----------------------------------------
 
660
----
704
661
 
705
662
[[load_scripts]]
706
 
How can I load Perl/Python/Ruby/Lua/Tcl scripts? Are scripts compatible with other IRC clients?
707
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
663
=== How can I load Perl/Python/Ruby/Lua/Tcl scripts? Are scripts compatible with other IRC clients?
708
664
 
709
665
You can use the commands `/perl`, `/python`, `/ruby`, `/lua` and `/tcl` to load
710
666
scripts (default path for scripts is '~/.weechat/<language>/').
718
674
* a 'tcl' plugin is available with version ≥ 0.3.0.
719
675
 
720
676
[[settings]]
721
 
Settings
722
 
--------
 
677
== Settings
723
678
 
724
679
[[memory_usage]]
725
 
How can I tweak WeeChat to consume less memory?
726
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
680
=== How can I tweak WeeChat to consume less memory?
727
681
 
728
682
You can try following tips to consume less memory:
729
683
 
739
693
* reduce value of option 'weechat.history.max_commands'
740
694
 
741
695
[[development]]
742
 
Development
743
 
-----------
 
696
== Development
744
697
 
745
698
[[bug_task_patch]]
746
 
How should I report bugs, ask for new features or send patches?
747
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
699
=== How should I report bugs, ask for new features or send patches?
748
700
 
749
701
There are 3 ways:
750
702
 
751
703
. you can join us on IRC: 'irc.freenode.net', channel '#weechat'
752
 
. you can use the savannah website:
 
704
. you can use the Savannah website:
753
705
  * report a bug: https://savannah.nongnu.org/bugs/?group=weechat
754
706
  * request a new feature: https://savannah.nongnu.org/task/?group=weechat
755
707
  * send a patch: https://savannah.nongnu.org/patch/?group=weechat
758
710
  (you can subscribe and send to "support" mailing list)
759
711
 
760
712
[[gdb_error_threads]]
761
 
When I run WeeChat under gdb, there is error about threads, what can I do?
762
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
713
=== When I run WeeChat under gdb, there is error about threads, what can I do?
763
714
 
764
715
When you run WeeChat under gdb, you may have this error:
765
716
 
766
 
----------------------------------------
 
717
----
767
718
$ gdb /path/to/weechat
768
719
(gdb) run
769
720
[Thread debugging using libthread_db enabled]
770
721
Cannot find new threads: generic error
771
 
----------------------------------------
 
722
----
772
723
 
773
724
To fix that, you can run gdb with this command (replace path to libpthread and
774
725
WeeChat with paths on your system):
775
726
 
776
 
----------------------------------------
 
727
----
777
728
$ LD_PRELOAD=/lib/libpthread.so.0 gdb /path/to/weechat
778
729
(gdb) run
779
 
----------------------------------------
 
730
----
780
731
 
781
732
[[supported_os]]
782
 
What is the list of supported platforms for WeeChat? Will it be ported to other operating systems?
783
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
733
=== What is the list of supported platforms for WeeChat? Will it be ported to other operating systems?
784
734
 
785
735
The full list is on this page: http://weechat.org/download
786
736
 
788
738
some OS' we don't have, to test WeeChat.
789
739
 
790
740
[[help_developers]]
791
 
I want to help WeeChat developers. What can I do?
792
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
741
=== I want to help WeeChat developers. What can I do?
793
742
 
794
743
There's many tasks to do (testing, code, documentation, ...)
795
744
 
797
746
http://weechat.org/dev/support
798
747
 
799
748
[[donate]]
800
 
Can I give money or other things to WeeChat developers?
801
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
749
=== Can I give money or other things to WeeChat developers?
802
750
 
803
751
You can give us money to help development.
804
752
Details on http://weechat.org/about/donate