xchat beep patch

Ver esta página em Português

Last update date: 2003-03-03.
Creation date: 2003-01-01.

Tags: Open Source, Linux, Computing.

My preferred IRC client is xchat (runs on many flavors of Unices and Windows). There are somethings that I don't like about it though, or features I'd like it to have. One of them is the beep problem.

When you turn the beep on (you can turn it on by clicking on the arrow that sits on the right corner of the input box, and then clicking on 'beep') on some channel or private, whenever someone talks to you in that place it beeps through your computer's speaker.

I find this behavior very annoying, so I implemented a more clever beeping system. It reads a config file called ~/.xchat/beep.conf - if there's a 0 in the config file, it will beep through the speaker. If there's a 1, it will beep playing the file ~/.xchat/beep.wav (you need the program 'play' installed and in your path for this to work). And if there's a 2 it will both beep through the speaker and play the wav.

You can find the patches here, for xchat 2.0.3 and xchat 1.8.11. But, if you have another version, it shouldn't be hard making the patch, the only thing I did was changing the fe_beep function located on src/fe-gtk/fe-gtk.c.

I'm also working on a autoident system (for the networks that have the 'nickserv' service). This script is in very alpha stage, so don't blame me if it doesn't work at all (I believe it has some functionality though). If you still want to try it out, get it here.

Send your comments


E-mail: Name: