Re: urgency hint flag

Tiger!P <[email protected]>
Newsgroups gmane.network.centericq
Message-ID <[email protected]>
On Thu, Oct 05, 2006 at 12:41:30PM +0200, [email protected] wrote:
> On Thu, 05.10, Petr Pisar wrote:
> > Cicq is not X11 related software.
> Perhaps there should be a flag in configure script, something like
> --with-x. But I don't know how this could be realized because I am not
> familiar with coding.

No, that is not a good idea. See below.

> >If you want to use urgency hinting on
> >incoming message, you could call the program from sound or action file.
> The file "eventmanager.cc" might be a good choice.

[cut pseudo code in centericq source]

This is not what Petr meant with the action file. He meant to use the
external actions as described in the README that comes with the release
of centericq to use a seperate program.

> I think this should do the job. The function set_urgency_hint() should
> be similar to the main function in urgent.c from the ion FAQ.

If you would compile the urgent.c as described in the file, you could
use that programe to be called (via an external action) when a message
is received.

Create an ~/.centericq/external and put the following in the file (not
tested)
---8<---
%action         Urgent
event           msg
proto           all
status          all
options         stdin stdout

%exec
urgent
---8<---

Tiger!P
-- 
A random quote:
Even a queen stubs her toe, but a wise woman watches the path.
_______________________________________________
Cicq mailing list
Cicq-xGejAJT2w6wWP6gT/[email protected]
http://mailman.linuxpl.org/mailman/listinfo/cicq
Questions? Check the FAQ first: http://centericq.de/faq/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.