You are not logged in.

#1 2021-11-11 09:28:30

brontosaurusrex
Middle Office
Registered: 2015-09-29
Posts: 2,746

[SOLVED] weechat read-only multiplex?

So seeing the suckless irc client (sic) doing the multiplexed wall od text from mutiple irc channels, i'd like something similar with weechat.

Not wanting to deal with weechat internals I got me a little bash script (finishes in 0.07 s) that multiplexes the logs and updates using the 'watch' command.

However I'd like to see the block of text that is different from previous update marked somehow, for example:

  old
  old as well
> new
> new as well

Thoughts? (watch -d is not working as expected)

---
edit: Added some tmp files and some diff magic, will get there, marked as solved.

Last edited by brontosaurusrex (2021-11-11 13:33:31)

Offline

#2 2021-11-30 08:39:14

brontosaurusrex
Middle Office
Registered: 2015-09-29
Posts: 2,746

Re: [SOLVED] weechat read-only multiplex?

Thanks, I'll take a look.

Btw, random discovery while playing with this is that 'tail' has a magical -f switch.

edit: Neat, example

# add #debian to current buffer mux
/buffer merge irc.libera.#debian

Last edited by brontosaurusrex (2021-11-30 13:50:03)

Offline

Board footer

Powered by FluxBB