Talk:WeeChat

From ArchWiki
Latest comment: 29 May 2021 by Danielsouzat in topic Gracious shutdown using tmux service

Connection details

As IRC is a prime channel of support for Arch, IMO this article should contain clear instructions on configuring freenode for SSL and SASL. More so when none of the weechat resources I've found describe this process accurately; besides WeeChat, there's [1], [2], [3]. Recent changes to Atheme may be related.

Also, there's no more need to decrease dhkey_size with weechat 1.1.1. The commands that worked for me are:

/server add freenode chat.freenode.net
/set irc.server.freenode.username "user"
/set irc.server.freenode.realname "Real Name"
/set irc.server.freenode.addresses "chat.freenode.net/7000"
/set irc.server.freenode.ssl on
/set irc.server_default.sasl_mechanism plain
/set irc.server.freenode.nicks "nick,nick_,nick__"
/set irc.server.freenode.sasl_username "user"
/set irc.server.freenode.sasl_password password
/save

These should of course be commented where appropriate. -- Alad (talk) 20:49, 5 February 2015 (UTC)Reply[reply]

With Libera you are supposed to create a certificate and /set irc.server_default.sasl_mechanism external [4] -- Danielsouzat (talk) 11:27, 20 May 2021 (UTC)Reply[reply]
This is not true. Libera does not force you to use SASL CERTFP and Arch is, as of now (1621518506), still undecided on whether to move or not. Regardless, CERTFP is something I would recommend but I would not like to duplicate upstream documentation here.
-- NetSysFire (talk) 13:53, 20 May 2021 (UTC)Reply[reply]
-- Excuse my lack of knowledge here. I though Freenode only accepted PLAIN and libera only EXTERNAL mechanisms but regarding to settings they are the same. I haven't used IRC in ages. Regardless of any official move from Arch, many of it users, as me, and as well users from other distros like Manjaro may wish to connect to Libera. -- Danielsouzat (talk) 17:12, 20 May 2021 (UTC)Reply[reply]
Both IRC networks accept both PLAIN and EXTERNAL. And as long as Arch has not moved I do not see any reason to add instructions on how to connect. It would also unnecessarily duplicate the Libera.Chat upstream documentation.
-- NetSysFire (talk) 01:53, 21 May 2021 (UTC)Reply[reply]

Gracious shutdown using tmux service

As the session is killed, non saved settings and state of joined channels for autojoin script will be lost on stop/restart. An alternative is to:

ExecStop=/usr/bin/killall -s 15 weechat; /usr/bin/tmux -L weechat kill-session

-- Danielsouzat (talk) 22:33, 29 May 2021 (UTC)Reply[reply]