Author: gb found on irc://irc.freenode.net/#weechat

fixato also found on same server/chanel has some guides here.

I am also on #cairns and a few other channels which are not so busy.

to connect to same location without impacting on a running session open a term and type :

weechat -a -d ~/weechat-test/ irc://nick2@irc.freenode.net/#weechat

,p>for using the weechat-test tarball try the same but with weechat-test instead of weechat no -a needed as there is no config yet.

weechat-test -d ~/weechat-test/ irc://nick2@irc.freenode.net/#weechat

if the above command works fine for you then you can cp the contents of weechat-test/plugins over .weechat/plugins and bin/weechat-test over bin/weechat

i have placed some tarballs you can test in this manner at weechat-test which can be downloaded and untarred with

tar -zxvf weechat-test.tar.gz

for those who like running weechat on tty but do not like the white etc try

tty shell script to setup colour/font/audio on insane os's that set beep to 0 and muted

Installing weechat on the proprietry microsoft gui system with cygwin

Some gotchyahs

When installing weechat do not forget to install weechat-plugins

perl and python will not be loaded and there will be no message why without it.

format_lines.pl requires libtext-format-perl installed as root

Some unofficial scriptsi/triggers/aliases i am experimenting with

Beware pasting lines which wrap in your web browser which does not have weechat's bare mode. If you have multiline installed you can remove linefeeds before pressing enter.

autojoin implementation using /secure and aliases

/git builds weechat in it's own buffer from inside weechat

fifo is something i use in this and other aliases to get input into one or more buffers other then that where /exec runs or from external programs like crontab.fifo from weechat is an example you can try in weechat.

/nickfilter filters an abusive nick including first nick change across all buffers for 2hours before deleting the filter.

/identify logs you into nickserv via /ns on fn using data stored under nick and pass via /secure.

/regain used to regain your nick, can only be used after /identify if you have enforce enabled or you get booted back to guest

/save if you have disabled autosave like i have and have fun.

configuring sasl for use with /secure

installing/setting up imap_status for use with /secure

snapshot of imap_status setup for use with /secure

newsbar.pl script lost once already.

toggle_time.py script to remove/replace chat timestamp

wget the above link to ~/.weechat/python

ln -s ../toggle_time.py ~/.weechat/python/autoload/toggle_time.py

In weechat /key bind meta-t /toggle_time %l:%M:%S

alternatively you can use the following trigger from github

/trigger add cmd_toggle_time command "toggle_time" """/.*/${weechat.look.buffer_time_format}\n/tg_argv0/^[^\n]+\n$//tg_argv0 /^\n$/${tg_argv1}/tg_argv0" "/mute /set weechat.look.buffer_time_format "${tg_argv0}"" "ok"

change above format to your preferred time display found in man strftime

weemail by arza original source was at arza.us in weemail.py

To install weemail wget the above link too ~/.weechat/python

ln -s ../weemail.py ~/.weechat/python/weemail.py

/cm is an alias i use to open initial buffer used to check mail using weemail

example to trigger a beep on all activity in a channel, needs 1.1 or later weechat else ask in #weechat how to modify for 1.0, etc.

example trigger to throw a bone to a nick when they join a channel on a specific server.

trigger to remove own indent

trigger to cat a text file to a specific channel when a specific nick joins

Weechat user experiment for those without root access on a shared vm like me.

Please get permission first from your admin to install weechat

you may also need to have perl/python/other things installed as root

weechat-1.1.1-1-amd64-user-install.tar.gz weechat-1.3-1-amd64-user-install.tar.gz weechat.tar.gz weechat.tar.gzdev created 20151025

are tarballs of weechat core, curses and plugins ready for a user to install.

if you wish to install weechat 1.5.1 and test download weechat-test

extract with tar -zxvf weechat-test.tar.gz

this will install to .weechat2 and put weechat-test in bin

test connect with something like

Beware amd64 machines did not like my intel dev build.

To create these tarballs

download deb from weechat.org for your dist.

place deb in your build area along with desired tar directries.

then dpkg -X weechat-plugins_1.4-1_amd64.deb .weechat/plugins nd likewise for core and curses into bin instead then

tar -acvf weechat.tar.gz .weechat bin

a heap of files should be listed for each of the above commands.

To install :

Change to your users home typically cd ~

backup your existing binary and plugins if they exist with

tar -acvf weechat-backup.tar.gz .weechat/plugins bin/weechat

note the above does not include logs/configuration and only backs up what we will change.

I highly recommend either a scp -r .weechat be done regularly which including logs can take a while to do

or a backup without logs can be achieved with a

tar --exclude .weechat/logs -acvf weechat-backup-$(date +%y-%m-%d).tar.gz .weechat && du -h *.gz

tar -zxvf weechat.tar.gz

this will overwrite bin/weechat and plugins in .weechat

to avoid an unnecesary crash try weechat -d newdir.

if the above went ok, no libgcrypt.so.20 or similar error finally within weechat do

/upgrade to load new binary/plugins.

if still running on /usr/bin/weechat you may need too

/upgrade ~/bin/weechat

if something goes wrong you can recover from the backup with

tar -zxvf weechat-backup.tar.gz

cert setup