Michael | 1 Feb 11:59
Picon

External action = Broken pipe

Hi,

Using centericq version 4.20.0 (not the latest one, but still) I have a problem:

When I try to use external action I get Broken pipe.
This is a cut from the ~/.centericq/external:

#-----#
%action Just a test external

event msg

proto icq

status all

options stdin stdout

%exec
#!/bin/bash
if test "$CONTACT_UIN" = "123456789"; then
echo "hello. you must die"
fi
#-----#

It really answers to UIN 123456789 with "hello. you must die", but terminates 
with "Broken pipe" when message from any other UIN is recieved.

Suggestions, comments, please!

(Continue reading)

Michael | 1 Feb 12:16
Picon

Server-side contact list

Hi,

another question regarding contact list.

When i login to icq from my mobile with jimm, i only see numbers and not names. 
It seems that centericq is not saving alias names for contacts on a server.
Also, like a half of all contacts are not on server at all :(

What can i do about it?

Thanks

_______________________________________________
Cicq mailing list
Cicq@...
http://mailman.linuxpl.org/mailman/listinfo/cicq
Questions? Check the FAQ first: http://centericq.de/faq/

Tiger!P | 1 Feb 17:36

Re: External action = Broken pipe

On Thu, Feb 01, 2007 at 10:59:45AM +0000, Michael wrote:
> Hi,

Hello,

> Using centericq version 4.20.0 (not the latest one, but still) I have
> a problem:
> 
> When I try to use external action I get Broken pipe.
> This is a cut from the ~/.centericq/external:
> 
> #-----#
> %action Just a test external
> 
> event msg
> 
> proto icq
> 
> status all
> 
> options stdin stdout
> 
> %exec
> #!/bin/bash
> if test "$CONTACT_UIN" = "123456789"; then
> echo "hello. you must die"
> fi
> #-----#
> 
> It really answers to UIN 123456789 with "hello. you must die", but terminates 
(Continue reading)

Michael | 1 Feb 19:16
Picon

Re: External action = Broken pipe

Tiger!P <tigerp@...> writes:

> > It really answers to UIN 123456789 with "hello. you must die", but 
terminates 
> > with "Broken pipe" when message from any other UIN is recieved.
> 
> Maybe you can include a else with an empty echo:
> if test ...;then
> echo "hello. you  must die"
> else
> echo ""
> fi
> 
> Tiger!P

Thanks for the answer.
That didn't help :( The problem remains exactly the same

_______________________________________________
Cicq mailing list
Cicq@...
http://mailman.linuxpl.org/mailman/listinfo/cicq
Questions? Check the FAQ first: http://centericq.de/faq/

Matthew Ford | 3 Feb 03:14
Favicon

External actions when a contact changes status?

According to the README documentation, there are eight different event 
types for triggering external actions: 

  msg
  sms
  url
  online
  offline
  auth
  contacts
  notification

Unfortunately the documentation doesn't define all these events, and the 
examples only cover "msg" and "online". I am trying to set up an automatic 
response message to be sent when a contact changes status to/from Away. 
This is a standard feature in AIM, called a "buddy alert" or "buddy 
pounce". However, as far as I can tell there is no event triggered when a 
contact changes status in centericq. I tried configuring the following 
action, as an experiment:

%action test
event all
proto all
status all
%exec
#!/bin/bash
echo $EVENT_TYPE >> /tmp/events

I then logged into AIM from another account using the official AIM client, 
sent some messages to myself, changed status to/from Away, and finally 
(Continue reading)

Matthew Ford | 3 Feb 15:42
Favicon

AIM connections getting dropped

I have big problems using AIM with centericq (4.21.0, Linux). After about 
5 minutes of inactivity, the connection to the AIM server seems to go 
inactive, and stops receiving incoming events.

Centericq still shows me online (or away, etc), and other contacts still 
see me online, but I do not receive messages they send (though the 
contacts themselves do not see any errors). Also, if one of my contacts 
changes status, my centericq continues to display the old status. 
Eventually, my contacts see me disappear offline, even though centericq 
still says I'm online.

Here is a recent forum thread, describing exactly the problems I'm having. 
It appears to be a new phenomenon - i.e. a change in AOL's server:

 http://forum.centericq.de/viewtopic.php?t=819&sid=7bbe0195604ba7f1aea483d1c6faf2ce

This is an urgent problem to fix - it effectively renders the AIM part 
of centericq unusable, as far as I can see. Any help much appreciated.

Matthew.
_______________________________________________
Cicq mailing list
Cicq@...
http://mailman.linuxpl.org/mailman/listinfo/cicq
Questions? Check the FAQ first: http://centericq.de/faq/

Tiger!P | 4 Feb 20:40

Re: Server-side contact list

On Thu, Feb 01, 2007 at 11:16:51AM +0000, Michael wrote:
> another question regarding contact list.
> 
> When i login to icq from my mobile with jimm, i only see numbers and not names. 
> It seems that centericq is not saving alias names for contacts on a server.
> Also, like a half of all contacts are not on server at all :(

It does not save anything on the server. So that explains why you see
this.

> What can i do about it?

Add all users to the server by using an other client.

Tiger!P
--

-- 
A random quote:
Een uitgekookt ei is het minst kwetsbaar.
_______________________________________________
Cicq mailing list
Cicq@...
http://mailman.linuxpl.org/mailman/listinfo/cicq
Questions? Check the FAQ first: http://centericq.de/faq/

Stéphane Bisinger | 5 Feb 21:44
Picon
Favicon

Re: UTF-8 and some issues...

Hi Andreas,
sorry for being late with the answer.

On Tuesday, 19 December, 2006 2:44:37 PM Andreas Nitsche <andreas.nitsche <at> h3c.de> wrote:
>Yes, please give me this advice. I've free time from Februar till March.
>There should be enough time to have a look at this.

This is what I could understand about the issue:
ncurses has a wide-character implementation of its methods and you can use them by linking to ncursesw
instead of ncurses. The wide-char methods are named differently, but provide the same functionality.
(for instance: getch() is get_wch() )
So what needs to be done is to substitute all the old character-handling ncurses methods with the wchar
versions. This happens mainly in kkconsui and kkstrtext (kutils). There is a lot of rewrite needed
becausa you'll also need to use wchar_t instead of char and you'll have to update all the methods and their
interfaces. Very important is character counting and space counting: wchars may be longer than one char
(non-ascii chars are for sure), but you also have to remember that not all wchars are displayed as one
position. So you'll have to use wcwidth and wcswidth for positioning the cursor.
That's, more or less, what need to be done with the UI. I can assure that there is quite some work. Maybe it
would be better to redesign completely the interface of these libraries...
When this will be done, you'll have to check that the messages to be sent are correctly encoded. There is
already some method for an UTF-8 conversion, but I did not look into it. That will be another problem...
That's about all I know about this, if you have more questions just ask, I'll try to answer if I can.

But before coding, I think there are a couple of reflections whcih should be made: this package is not
mantained anymore. The code is growing old, new issues arise and no fix is being produced. Gentoo has
removed centericq from portage, others will follow, I'm quite sure of it.It looks like there is no way to
have a CVS access, so if we are to revive centericq, we'll have to bring it somewhere else, at least the CVS
repository. Or we could start from scratch with another project, make it cleaner and with
internationalization support by design. I'm open about suggestions and different ideas on this matter...
BTW: By no mean my intentions are to fork or steal this project to anyone, I think that centericq is a great app
(Continue reading)

Jayjay | 5 Feb 23:13
Picon

History files merge script

Hi all,

I wrote a Perl script to merge two history files of CenterICQ into one file. 

This script might be handy if you'd like to merge a MSN (CICQ) history file 
and an ICQ history file. Especially if people migrate from one protocol to 
the other and you forgot to symlink the history files. I often had people in 
my contact list who stopped using ICQ and started using MSN or used them in 
parallel. This script looks at the timestamp from each message and stitches 
the files together nicely.

The Perl script is here:
http://wwwhome.cs.utwente.nl/~kosterj/cicq/mergeHistory.pl

The highlighted code is here:
http://wwwhome.cs.utwente.nl/~kosterj/cicq/mergeHistory.pl.html

Let me know if you like it!

Something else, the snapshot directory at the server is quite out of date. 
Could someone take a look at it? If no patches are applied, the source code 
is up to date, but is this the case?
http://centericq.de/archive/source/snapshots/

This question came into my mind when I was trying to download the full source 
code with all the (security) patches included. But I failed at the primary 
CICQ locations.

Cheers,
Jayjay
(Continue reading)

Miso Liptak | 6 Feb 07:44
Picon
Gravatar

remove old messages from history

Hi,
is there a script which goes thru all the history files in .centericq
dir and removes messages older than certain amount of time?
If there is not, and perhaps other people are interested as well, I
can make one and post it here.
I'm experiencing delays when switching to user who has history file > 1MB.
m.
_______________________________________________
Cicq mailing list
Cicq@...
http://mailman.linuxpl.org/mailman/listinfo/cicq
Questions? Check the FAQ first: http://centericq.de/faq/


Gmane