Come usare weechat, client testuale per IRC, con la bella barra nick e stanze
- A buffer is composed by a number, a name, lines displayed (and some other data).
- A window is a screen area which displays a buffer. It is possible to split your screen into many windows.
Non editare a mano la configurazione, fai la tua cosa e quando hai terminato usa: /save
Keys
- Alt ← / Alt → or F5 / F6: switch to previous/next buffer
- F7 / F8: switch to previous/next window (when screen is split)
- F9 / F10: scroll title bar
- F11 / F12: scroll nicklist
- Tab: complete text in input bar, like in your shell
- Pg Up / Pg Dn: scroll text in current buffer
- Ctrl-a ESC: entra in edit mode - esci con ESC
- Ctrl-r: cerca nel buffer - esci con invio
- Alt-l: per modalità copia link lunghi
connect
collegarsi
/connect irc.ollalla.org/9999 -ssl -ssl_no_verify
Add server
/server add ai irc.cippatralla.org/9999 -ssl -autoconnect -autojoin=#room1,#room2,#room3
Display buffers (e canali) sulla sinistra (dalla versione 1.8> è default)
/script install buffers.pl
Ridurre la lunghezza dei nick
/set weechat.look.prefix_align_max 12
Colori
weechat -c
cambia colore alla statusbar (io uso default che è blue)
/set weechat.bar.status.color_bg darkgray
cambia colore al messaggio pippo join/quit chat
/trigger add irc_join modifier 2000|weechat_print "${tg_tags} =~ ,irc_join," "/.*/${tg_prefix}\t${color:240}${tg_message_nocolor}"
cambia nuovamente colore (perché no?)
/trigger addreplace irc_quit modifier 2000|weechat_print "${tg_tags} =~ ,irc_join," "/.*/${tg_prefix}\t${color:240}${tg_message_nocolor}"
Prettify weechat
un bel timeformat
/set weechat.look.buffer_time_format "${color:252}%H${color:245}:%M${color:240}:%S"
Title bar di due righe per i lunghi topic
/set weechat.bar.title.size_max 2
buffer
Close buffer
/close
Filtri
/help filter
Filtra join/part/quit messages: Smart filter (only show relevant joins and quits):
/filter add irc_smart * irc_smart_filter *
global filter (hide all join/part/quit):
/filter add joinquit * irc_join,irc_part,irc_quit *
All filters can be toggled temporarily using [Alt] [=] (global) or [Alt] [-] (current buffer). See /help filter for more options.
My way
Disable IRC part and quit messages (l'inferno sono gli altri)
/set irc.server_default.msg_part ""
/set irc.server_default.msg_quit ""
Keep join/part/quit from users who spoke recently
/set irc.look.smart_filter on
/filter add irc_smart * irc_smart_filter *
decidi il delay
/set irc.look.smart_filter_delay 5
hide all join/part/quit
/filter add joinquit * irc_join,irc_part,irc_quit *
vedi anche
/help filter
/help irc.look.smart_filter
Notify e highlights
/script search notify
Windows
splitta la finestra in orizzonontale
/window splith 33
rimetti a posto la candela
/window merge
Alias
/alias abbraccione /input insert >----(^_^)----<
/alias squalo /input insert ______/\_________\o/_________
security
Unload and disable auto-loading of "xfer" plugin (used for IRC DCC)
/plugin unload xfer
/set weechat.plugin.autoload "*,!xfer"
Disable answers to all CTCP queries
/set irc.ctcp.clientinfo ""
/set irc.ctcp.finger ""
/set irc.ctcp.source ""
/set irc.ctcp.time ""
/set irc.ctcp.userinfo ""
/set irc.ctcp.version ""
/set irc.ctcp.ping ""
logging
/help logger
/set logger.level.irc 0
Possible levels are 0 to 9. Zero means "do not log anything" and 9 means "log all messages".
Links
https://weechat.org/files/doc/stable/weechat_quickstart.en.html
https://weechat.org/files/doc/devel/weechat_faq.en.html
https://wiki.archlinux.org/index.php/WeeChat
https://guides.fixato.org/weechat/
https://github.com/weechat/weechat/wiki/Triggers
https://alexjj.com/blog/2016/9/setting-up-weechat/
https://ruleoftech.com/2016/starting-with-weechat
Oppure fai come Pascal: https://gist.github.com/pascalpoitras/8406501