Posts tagged weechat
To disable and reenable fish there are two ways:
- delete channelkey
- set channelkey
- unload fish plugin
- load fish plugin
I have not found another way within 5 minutes on google and was satisfied with these two approaches. So:
/blowkey remove <channel> /blowkey set -server <server> <channel> <key>
/python unload fish /python load fish.conf
For quite some time I used irssi as a console irc client and was quite happy with it. However all good things come to an end, and after a restart of the client (I tend to run it on a server withing a screen session.), irssi would not start anymore.
On another server I compiled both from scratch from the source cloned from the official git repositories, but I could not get FiSH to play with irssi at all. It just complained about ABI version mismatches. Since irssi is not known for its documentation (Honestly, it just sucks.), nothing could be found there, nor through a quick grep through the source or via google. Only a github ticket mentioned ABI problems but that was about it.
Weechat kept coming up as a mentioned alternative, so here we go now.
weechat vs. irssi
- both are console-based
- weechat is WAY easier to setup and extend
- weechat needs less plugins out of the box
- nicklist integrated automatically (irssi needs screen and a plugin for a buggy implementation of that)
- bar separator to show last read line automatically in weechat
- irssi seems to have more drawing bugs
- weechat has more colors, but this improves readability (at least for me)
install and setup weechat
After getting the last version from
pkg (its a FBSD system), simply start it on the shell via
Then from within, run through the quickstart guide for setting up your network and channel auto settings and stuff as described here.
Don't forget to set up your nick to be highlighted. :)
When in weechat:
# start scripts plugin /script # search plugin via pgdn and up/down search for 'fish.py' # install # afterwards 'ia r' is next to the plugin # which means: 'installed,autostarted,running' alt + i to install # close the window afterwards /close
Now after the plugin is usable, only setting your keys is left to do, like for a channel:
/blowkey set -server NETWORK #CHANNEL PASSWORD # general help /help blowkey
In general its almost the same as with irssi, only some things are a bit different:
ctrl-n next window ctrl-p previous window alt-<number> jump to window <number> # pressing several times toggles string and regex search ctrl-r search current chat history alt-n next search match alt-p previous search match /close close window /quit close weechat /q open query /j join channel
ctrl-n/p seem not to be mentioned in the weechat documentation, for switching channel windows.
Still, you should be using
Alt with numbers anyway, helps you a lot when using the hotlist.
Alt+<number> pressed a second time does switch you back to your original window.
copy pasting stuff
alt-l is toggling the copy mode. (Hides the nick list and coloring, awesome.)
Also this might help, "so that new line char is not added at the end of each line displayed (it will not break URL selection)":
/set weechat.look.eat_newline_glitch on
tuning your hotlist
The hotlist is are the cryptic numbers popping up in the statusbar (over your input bar) when activity in other windows beside the currently active one.
[H: ...] part, to be exact. There are numbers shown, signaling the window number followed by a colon, afterwards are the count of new lines is shown in parentheses.)
Since it'd be nice to have alerts only for new messages (and not join/part notifications) and also get the channel names shown, this will come in handy:
/set weechat.look.hotlist_names_level = 14 /set weechat.look.hotlist_names_merged_buffers on
View posts from 2017-02, 2017-01, 2016-12, 2016-11, 2016-10, 2016-09, 2016-08, 2016-07, 2016-06, 2016-05, 2016-04, 2016-03, 2016-02, 2016-01, 2015-12, 2015-11, 2015-10, 2015-09, 2015-08, 2015-07, 2015-06, 2015-05, 2015-04, 2015-03, 2015-02, 2015-01, 2014-12, 2014-11, 2014-10, 2014-09, 2014-08, 2014-07, 2014-06, 2014-05, 2014-04, 2014-03, 2014-01, 2013-12, 2013-11, 2013-10