<h2id="Come_usare_weechat.2C_client_testuale_per_IRC.2C_con_la_bella_barra_nick_e_stanze">Come usare weechat, client testuale per IRC, con la bella barra nick e stanze</h2>
<spanclass="anchor"id="line-2"></span><spanclass="anchor"id="line-3"></span><ul><li>A buffer is composed by a number, a name, lines displayed (and some other data). <spanclass="anchor"id="line-4"></span></li><li>A window is a screen area which displays a buffer. It is possible to split your screen into many windows. <spanclass="anchor"id="line-5"></span><spanclass="anchor"id="line-6"></span></li></ul><pclass="line862">Non editare a mano la configurazione, fai la tua cosa e quando hai terminato usa: <ttclass="backtick">/save</tt><spanclass="anchor"id="line-7"></span><spanclass="anchor"id="line-8"></span><pclass="line867">
<h3id="Keys">Keys</h3>
<spanclass="anchor"id="line-9"></span><spanclass="anchor"id="line-10"></span><ul><li>Alt ← / Alt → or F5 / F6: switch to previous/next buffer <spanclass="anchor"id="line-11"></span></li><li>F7 / F8: switch to previous/next window (when screen is split) <spanclass="anchor"id="line-12"></span></li><li>F9 / F10: scroll title bar <spanclass="anchor"id="line-13"></span></li><li>F11 / F12: scroll nicklist <spanclass="anchor"id="line-14"></span></li><li>Tab: complete text in input bar, like in your shell <spanclass="anchor"id="line-15"></span><spanclass="anchor"id="line-16"></span></li><liclass="gap">Pg Up / Pg Dn: scroll text in current buffer <spanclass="anchor"id="line-17"></span></li><li>Ctrl-a ESC: entra in edit mode - esci con ESC <spanclass="anchor"id="line-18"></span><spanclass="anchor"id="line-19"></span></li><liclass="gap">Ctrl-r: cerca nel buffer - esci con invio <spanclass="anchor"id="line-20"></span><spanclass="anchor"id="line-21"></span></li><liclass="gap">Alt-l: per modalità copia link lunghi <spanclass="anchor"id="line-22"></span><spanclass="anchor"id="line-23"></span></li></ul><pclass="line867">
<h3id="connect">connect</h3>
<spanclass="anchor"id="line-24"></span><spanclass="anchor"id="line-25"></span><pclass="line874">collegarsi <spanclass="anchor"id="line-26"></span><spanclass="anchor"id="line-27"></span><pclass="line867"><ttclass="backtick">/connect irc.ollalla.org/9999 -ssl -ssl_no_verify</tt><spanclass="anchor"id="line-28"></span><spanclass="anchor"id="line-29"></span><pclass="line874">Add server <spanclass="anchor"id="line-30"></span><spanclass="anchor"id="line-31"></span><pclass="line867"><ttclass="backtick">/server add ai irc.cippatralla.org/9999 -ssl -autoconnect -autojoin=#room1,#room2,#room3</tt><spanclass="anchor"id="line-32"></span><spanclass="anchor"id="line-33"></span><pclass="line862">Display buffers (e canali) sulla sinistra (dalla versione 1.8> è default) <spanclass="anchor"id="line-34"></span><spanclass="anchor"id="line-35"></span><pclass="line867"><ttclass="backtick">/script install buffers.pl</tt><spanclass="anchor"id="line-36"></span><spanclass="anchor"id="line-37"></span><pclass="line874">Ridurre la lunghezza dei nick <spanclass="anchor"id="line-38"></span><spanclass="anchor"id="line-39"></span><pclass="line867"><ttclass="backtick">/set weechat.look.prefix_align_max 12</tt><spanclass="anchor"id="line-40"></span><spanclass="anchor"id="line-41"></span><pclass="line867">
<h3id="Colori">Colori</h3>
<spanclass="anchor"id="line-42"></span><spanclass="anchor"id="line-43"></span><pclass="line867"><ttclass="backtick">weechat -c</tt><spanclass="anchor"id="line-44"></span><spanclass="anchor"id="line-45"></span><pclass="line874">cambia colore alla statusbar (io uso default che è blue) <spanclass="anchor"id="line-46"></span><spanclass="anchor"id="line-47"></span><pclass="line867"><ttclass="backtick">/set weechat.bar.status.color_bg darkgray</tt><spanclass="anchor"id="line-48"></span><spanclass="anchor"id="line-49"></span><pclass="line874">cambia colore al messaggio pippo join/quit chat <spanclass="anchor"id="line-50"></span><spanclass="anchor"id="line-51"></span><pclass="line867"><ttclass="backtick">/trigger add irc_join modifier 2000|weechat_print "${tg_tags} =~ ,irc_join," "/.*/${tg_prefix}\t${color:240}${tg_message_nocolor}"</tt><spanclass="anchor"id="line-52"></span><spanclass="anchor"id="line-53"></span><pclass="line874">cambia nuovamente colore (perché no?) <spanclass="anchor"id="line-54"></span><spanclass="anchor"id="line-55"></span><pclass="line867"><ttclass="backtick">/trigger addreplace irc_quit modifier 2000|weechat_print "${tg_tags} =~ ,irc_join," "/.*/${tg_prefix}\t${color:240}${tg_message_nocolor}"</tt><spanclass="anchor"id="line-56"></span><spanclass="anchor"id="line-57"></span><pclass="line867">
<h3id="Prettify_weechat">Prettify weechat</h3>
<spanclass="anchor"id="line-58"></span><spanclass="anchor"id="line-59"></span><pclass="line874">un bel timeformat <spanclass="anchor"id="line-60"></span><spanclass="anchor"id="line-61"></span><pclass="line867"><ttclass="backtick">/set weechat.look.buffer_time_format "${color:252}%H${color:245}:%M${color:240}:%S"</tt><spanclass="anchor"id="line-62"></span><spanclass="anchor"id="line-63"></span><pclass="line874">Title bar di due righe per i lunghi topic <spanclass="anchor"id="line-64"></span><spanclass="anchor"id="line-65"></span><pclass="line867"><ttclass="backtick">/set weechat.bar.title.size_max 2</tt><spanclass="anchor"id="line-66"></span><spanclass="anchor"id="line-67"></span><pclass="line867">
<spanclass="anchor"id="line-74"></span><spanclass="anchor"id="line-75"></span><pclass="line867"><ttclass="backtick">/help filter</tt><spanclass="anchor"id="line-76"></span><spanclass="anchor"id="line-77"></span><pclass="line874">Filtra join/part/quit messages: Smart filter (only show relevant joins and quits): <spanclass="anchor"id="line-78"></span><spanclass="anchor"id="line-79"></span><pclass="line867"><ttclass="backtick">/filter add irc_smart * irc_smart_filter *</tt><spanclass="anchor"id="line-80"></span><spanclass="anchor"id="line-81"></span><pclass="line874">global filter (hide all join/part/quit): <spanclass="anchor"id="line-82"></span><spanclass="anchor"id="line-83"></span><pclass="line867"><ttclass="backtick">/filter add joinquit * irc_join,irc_part,irc_quit *</tt><spanclass="anchor"id="line-84"></span><spanclass="anchor"id="line-85"></span><pclass="line874">All filters can be toggled temporarily using [Alt] [=] (global) or [Alt] [-] (current buffer). See /help filter for more options. <spanclass="anchor"id="line-86"></span><spanclass="anchor"id="line-87"></span><pclass="line867">
<h3id="My_way">My way</h3>
<spanclass="anchor"id="line-88"></span><spanclass="anchor"id="line-89"></span><pclass="line874">Disable IRC part and quit messages (l'inferno sono gli altri) <spanclass="anchor"id="line-90"></span><spanclass="anchor"id="line-91"></span><pclass="line867"><ttclass="backtick">/set irc.server_default.msg_part ""</tt><spanclass="anchor"id="line-92"></span><spanclass="anchor"id="line-93"></span><pclass="line867"><ttclass="backtick">/set irc.server_default.msg_quit ""</tt><spanclass="anchor"id="line-94"></span><spanclass="anchor"id="line-95"></span><pclass="line874">Keep join/part/quit from users who spoke recently <spanclass="anchor"id="line-96"></span><spanclass="anchor"id="line-97"></span><pclass="line867"><ttclass="backtick">/set irc.look.smart_filter on</tt><spanclass="anchor"id="line-98"></span><spanclass="anchor"id="line-99"></span><pclass="line867"><ttclass="backtick">/filter add irc_smart * irc_smart_filter *</tt><spanclass="anchor"id="line-100"></span><spanclass="anchor"id="line-101"></span><pclass="line874">decidi il delay <spanclass="anchor"id="line-102"></span><spanclass="anchor"id="line-103"></span><pclass="line867"><ttclass="backtick">/set irc.look.smart_filter_delay 5</tt><spanclass="anchor"id="line-104"></span><spanclass="anchor"id="line-105"></span><pclass="line874">hide all join/part/quit <spanclass="anchor"id="line-106"></span><spanclass="anchor"id="line-107"></span><pclass="line867"><ttclass="backtick">/filter add joinquit * irc_join,irc_part,irc_quit *</tt><spanclass="anchor"id="line-108"></span><spanclass="anchor"id="line-109"></span><pclass="line874">vedi anche <spanclass="anchor"id="line-110"></span><spanclass="anchor"id="line-111"></span><pclass="line867"><ttclass="backtick">/help filter</tt><spanclass="anchor"id="line-112"></span><spanclass="anchor"id="line-113"></span><pclass="line867"><ttclass="backtick">/help irc.look.smart_filter</tt><spanclass="anchor"id="line-114"></span><spanclass="anchor"id="line-115"></span><pclass="line867">
<h3id="Notify_e_highlights">Notify e highlights</h3>
<spanclass="anchor"id="line-120"></span><spanclass="anchor"id="line-121"></span><pclass="line874">splitta la finestra in orizzonontale <spanclass="anchor"id="line-122"></span><spanclass="anchor"id="line-123"></span><pclass="line867"><ttclass="backtick">/window splith 33</tt><spanclass="anchor"id="line-124"></span><spanclass="anchor"id="line-125"></span><pclass="line874">rimetti a posto la candela <spanclass="anchor"id="line-126"></span><spanclass="anchor"id="line-127"></span><pclass="line867"><ttclass="backtick">/window merge</tt><spanclass="anchor"id="line-128"></span><spanclass="anchor"id="line-129"></span><pclass="line867">
<spanclass="anchor"id="line-136"></span><spanclass="anchor"id="line-137"></span><pclass="line874">Unload and disable auto-loading of "xfer" plugin (used for IRC DCC) <spanclass="anchor"id="line-138"></span><spanclass="anchor"id="line-139"></span><pclass="line867"><ttclass="backtick">/plugin unload xfer</tt><spanclass="anchor"id="line-140"></span><spanclass="anchor"id="line-141"></span><pclass="line867"><ttclass="backtick">/set weechat.plugin.autoload "*,!xfer"</tt><spanclass="anchor"id="line-142"></span><spanclass="anchor"id="line-143"></span><pclass="line874">Disable answers to all CTCP queries <spanclass="anchor"id="line-144"></span><spanclass="anchor"id="line-145"></span><pclass="line867"><ttclass="backtick">/set irc.ctcp.clientinfo ""</tt><spanclass="anchor"id="line-146"></span><spanclass="anchor"id="line-147"></span><pclass="line867"><ttclass="backtick">/set irc.ctcp.finger ""</tt><spanclass="anchor"id="line-148"></span><spanclass="anchor"id="line-149"></span><pclass="line867"><ttclass="backtick">/set irc.ctcp.source ""</tt><spanclass="anchor"id="line-150"></span><spanclass="anchor"id="line-151"></span><pclass="line867"><ttclass="backtick">/set irc.ctcp.time ""</tt><spanclass="anchor"id="line-152"></span><spanclass="anchor"id="line-153"></span><pclass="line867"><ttclass="backtick">/set irc.ctcp.userinfo ""</tt><spanclass="anchor"id="line-154"></span><spanclass="anchor"id="line-155"></span><pclass="line867"><ttclass="backtick">/set irc.ctcp.version ""</tt><spanclass="anchor"id="line-156"></span><spanclass="anchor"id="line-157"></span><pclass="line867"><ttclass="backtick">/set irc.ctcp.ping ""</tt><spanclass="anchor"id="line-158"></span><spanclass="anchor"id="line-159"></span><pclass="line867">
<h3id="logging">logging</h3>
<spanclass="anchor"id="line-160"></span><spanclass="anchor"id="line-161"></span><pclass="line867"><ttclass="backtick">/help logger</tt><spanclass="anchor"id="line-162"></span><spanclass="anchor"id="line-163"></span><pclass="line867"><ttclass="backtick">/set logger.level.irc 0</tt><spanclass="anchor"id="line-164"></span><spanclass="anchor"id="line-165"></span><pclass="line874">Possible levels are 0 to 9. Zero means "do not log anything" and 9 means "log all messages". <spanclass="anchor"id="line-166"></span><spanclass="anchor"id="line-167"></span><pclass="line867">
<h3id="Links">Links</h3>
<spanclass="anchor"id="line-168"></span><spanclass="anchor"id="line-169"></span><spanclass="anchor"id="line-170"></span><pclass="line867"><aclass="https"href="https://weechat.org/files/doc/stable/weechat_quickstart.en.html">https://weechat.org/files/doc/stable/weechat_quickstart.en.html</a><spanclass="anchor"id="line-171"></span><spanclass="anchor"id="line-172"></span><spanclass="anchor"id="line-173"></span><pclass="line867"><aclass="https"href="https://weechat.org/files/doc/devel/weechat_faq.en.html">https://weechat.org/files/doc/devel/weechat_faq.en.html</a><spanclass="anchor"id="line-174"></span><spanclass="anchor"id="line-175"></span><spanclass="anchor"id="line-176"></span><pclass="line867"><aclass="https"href="https://wiki.archlinux.org/index.php/WeeChat">https://wiki.archlinux.org/index.php/WeeChat</a><spanclass="anchor"id="line-177"></span><spanclass="anchor"id="line-178"></span><pclass="line867"><aclass="https"href="https://guides.fixato.org/weechat/">https://guides.fixato.org/weechat/</a><spanclass="anchor"id="line-179"></span><spanclass="anchor"id="line-180"></span><pclass="line867"><aclass="https"href="https://github.com/weechat/weechat/wiki/Triggers">https://github.com/weechat/weechat/wiki/Triggers</a><spanclass="anchor"id="line-181"></span><spanclass="anchor"id="line-182"></span><pclass="line867"><aclass="https"href="https://alexjj.com/blog/2016/9/setting-up-weechat/">https://alexjj.com/blog/2016/9/setting-up-weechat/</a><spanclass="anchor"id="line-183"></span><spanclass="anchor"id="line-184"></span><pclass="line867"><aclass="https"href="https://ruleoftech.com/2016/starting-with-weechat">https://ruleoftech.com/2016/starting-with-weechat</a><spanclass="anchor"id="line-185"></span><spanclass="anchor"id="line-186"></span><pclass="line862">Oppure fai come Pascal: <aclass="https"href="https://gist.github.com/pascalpoitras/8406501">https://gist.github.com/pascalpoitras/8406501</a><spanclass="anchor"id="line-187"></span><spanclass="anchor"id="bottom"></span></div>