My Weechat Setup

I have been using the devel version of Weechat since about march 2009 because of a exploit in 0.2.6 (Which has been fixed in the repo’s from

Why would I carry on using the devel version even if the security issue has been patched?
Simple 0.3.0 isn’t in any released stable Ubuntu repository yet also I like to help out testing/debugging/bug reporting where I can.

Why Weechat over some other CLI client like Irssi?
It started off as a simple I preferred Weechat’s config layout and ease of use and sane default configurations. Also the support from the Weechat community is astounding. People like xt and Flashcode have ported the majority of irssi scripts just to help out people transitioning from Irssi to Weechat. On that note the new changes in weechat’s API make almost every thing customisable and scriptable. I do in fact still still make use of Irssi as a bouncer still until weechat’s relay plugin is stable enough. Hopefully this will be finished soon.

How scriptable is Weechat?
Weechat provides bindings for Python, Ruby(devel version even supports ruby 1.9 now), tcl, Perl, and of course C. Weechat has a very extensive API to plugin to almost every aspect of the Weechat functionality.

Is Weechat available in my language
Weechat supports Internationalization so even if it currently isn’t available feel free to translate it into your own language.

My Favourite scripts/features
First and foremost is weeget this is weechats script manager/updater. Once installed you are able to install/update any other script including its self by simply doing /weeget install $scritpname.

  • iset – Allows a simple interface to edit/search for configurations
  • weeget – see above.
  • buffer_autoclose – basically closes inactive private buffers after a specific period, helps to keep things clean and neat.
  • go – Allows for hot jumping to buffers
  • screen_away – Script that sets your away status based on whether weechat’s screen is attached or not.
  • shell – Allows simple commands to be executed from within weechat.
  • urlgrab – Script that helps manage the annoyances of long urls that would normally be unclickable
  • aspell – This is a plugin not a script! This highlights spelling mistakes on your input buffers so you can see quickly for those minor typo’s

Tips and Tricks

  • Add the alias smart filter. Helps to hide useless info like joins and parts from inactive members of large channels ie #ubuntu-meeting
  • Use weechat’s remote access.
  • Read the FAQ it contains lots of useful information.

Hope this has been of some help to others.

Tags: , ,

Sunday, December 6th, 2009 Ubuntu 3 Comments

Weechat Security Issues

At the start of the week my Weechat CLI Irc client segfaulted for the first time in the last year of using it. I reconnected to rejoin #weechat on freenode. I pinged FlashCode (The main dev of Weechat) and asked him if he wanted my bug report he replied It is a known issue and he was busy patching Weechat 0.2.6 (The current version in ubuntu[Gutsy,hardy,Itrepid,Januty]) later that day he released

Debian has released a security update patch for this package. I filed this as a bug on launchpad but no response as of yet.

Since then people have been joining channels just to try crash Weechat more and more and my weechat continued to segfault. I had two choices. 1) Download and compile the patch 2) Install the devel version. I chose to go with the devel version! 🙂

The new devel version is pretty much a stable release with minor features missing here and there but the application isn’t buggy at all. The new version is under active development by FlashCode. The new almost complete re-write of weechat boasts a much fuller API for scripts and plugins. Script such as weetris(Inline tetris game) would never have been possible on the older version. I have been using for the last few hours with no issues. The TUI is much smoother and easier to use .

Missing scripts 🙁
1) urlgrap.py Allows user to choose to open the last url in their browser i.e. /url 1
2) weenotify.py Uses libnotify to alert a user of private messages or highlights in any channel.

Screen shots and install instructions are located here hopefully there will be a patch released for 0.2.6 but either way I am staying on the Dev version.

Tags: ,

Thursday, March 19th, 2009 Ubuntu 4 Comments