šŸ’¾ Archived View for laniakea.rodoste.de ā€ŗ tui ā€ŗ weechat.gmi captured on 2024-12-17 at 09:54:00. Gemini links have been rewritten to link to archived content

View Raw

More Information

-=-=-=-=-=-=-

šŸ  home

weechat

2024-11-22

weechat is an IRC client. IRC stands for Internet Relay Chat.

copy and paste

This is a weird one. Copy & paste with the mouse works only if WeeChat mouse functionality is disabled.

So do Alt-m to disable the mouse, then select something in WeeChat with the mouse.

To paste, simply middle-click as per usual in the terminal.

Once done, do Alt-m again to re-enable the mouse.

Middle-clicking to paste also works with copied content from another terminal, as long as the mouse is disabled.

keyboard shortcuts

| keybind              | description                                        |
| -------------------- | -------------------------------------------------- |
| Alt-a                | switch to next buffer with activity                |
| Alt-up               | goes up in the buffer list on the left             |
| Alt-down             | goes down in the buffer list on the left           |
| Alt-Enter            | edit value, i.e. in the /set irc.server conf list  |
| Alt-m                | toggle mouse functionality off/on                  |

configuring SASL for WeeChat

Hereā€™s a simple guide for password-based authentication, based on the WeeChat quick-start guide.

If you havenā€™t already set up your connection to Libera.Chat, use this command:

/server add libera irc.libera.chat/6697 -tls

If you have already set up a connection to Libera.Chat, or if that command fails with a message like irc: server "libera" already exists, can't add it!, then use these commands to ensure

that SSL/TLS is enabled for your connection:

/set irc.server.libera.addresses "irc.libera.chat/6697"

/set irc.server.libera.tls on

Now, configure SASL:

/set irc.server.libera.sasl_mechanism plain

/set irc.server.libera.sasl_username <nickname>

/set irc.server.libera.sasl_password <password>

/save

It is recommended to store the password as secured data (skip setting passphrase if already set):

/secure passphrase <passphrase>

/secure set libera_password <password>

/set irc.server.libera.sasl_password "${sec.data.libera_password}"

/save

For more complete instructions, including non-password-based mechanisms, see the official WeeChat documentation.

---

see all articles on command-line tools