sic irc & weechat buffer multiplex
10. 11. 2021Simple suckless irc client, in Debian repos, read the man.
It multiplexes also all channel traffic into one output, that you don’t have to switch different channel buffers, that’s actually a feature.
Neat.
NAME
sic - simple irc client
SYNOPSIS
sic [-h <host>] [-p <port>] [-n <nick>] [-k <keyword>] [-v]
OPTIONS
-h <host>
Overrides the default host (irc6.oftc.net)
-p <port>
Overrides the default port (6667)
-n <nickname>
Override the default nick ($USER)
-k <keyword>
Specifies the keyword to authenticate your nick on the host
-v Prints version information to standard output, then exits.
COMMANDS
:j #channel
Join a channel
:l #channel
Leave a channel
:m #channel/user msg
Write a message to #channel/user
:s #channel/user
Set default channel/user
Everything which is not a command is simply send the server.
Something similar for weechat
watch -n 7 -t "cat ~/.weechat/logs/* | grep -v '▬▬▶' | grep -v '◀▬▬' | sort | tail -n 30"
# or to skip first word
watch -n 7 -t "cat ~/.weechat/logs/* | grep -v '▬▬▶' | grep -v '◀▬▬' | sort | tail -n 30 | cut -d' ' -f2-"
Or weewatch script.
Edit: It turns out that buffer merging is also possible inside weechat itself
# add #debian to current buffer mux
/buffer merge irc.libera.#debian