[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [coldsync-hackers] PilotID ?



On Sat, May 26, 2001 at 01:33:02AM -0400, Andrew Arensburger wrote to To coldsync-hackers@lusars.net:
:-) On Fri, May 25, 2001 at 11:34:53PM -0500, Don Duck Harper wrote:
:-) > I hate to send this again, but I got no response before...
:-) > Any hope?
:-) 
:-) 	Ah, well, that's the problem with free software. There's no
:-) one to bitch at when no one answers your question (but at least it
:-) doesn't cost $75 per incident to get no help).

Yeah, but whining sometimes gets me enough info to go bang away...

:-) > On Tue, Mar 20, 2001 at 12:04:14AM -0600, Don Duck Harper wrote to To coldsync-hackers@lusars.net:
:-) > :-) Well, when I use gnome-pilot, my files for gnomecal and gnomecard have
:-) > :-) these fields X-PILOTID and UID, respectafully.  Is there any way this
:-) > :-) could be introduced into the p5 modules?  This would make things like a
:-) > :-) addressbook and or calendar counduit very easy to write...
:-) 
:-) 	If you have a script or program that dumps a PDB to a file,
:-) then it knows the ID of each record, and it can dump that ID to the
:-) output file. IIRC, 'gnomecal' and 'gnomecard' use the iCalendar and
:-) vCard formats, respectively, and those allow you to add just about
:-) anything you want, as long as it has an "X-" in front.
:-) 	Unfortunately, the last time I looked at it, the Net::ICal
:-) Perl module didn't support "X-" fields, so you'd have to add that.

Ah...so, it does not live on the pilot anywhere?  Humm...time to dive
into the code....

:-) 	If you're trying to get the username and user ID from the Palm
:-) and feed those to conduits, I don't have any plans to add such a
:-) thing, but I suppose it might be useful, so feel free to add it. I
:-) don't think it should be too hard.

No, the PILOTID & UID are like serial numbers for each record...makes
the logic in the conduits a whole lot cleaner.

Thanks for the pointers!

Don

-- 
Don Harper, RHCE, MCSE                          email: duck@duckland.org
Just a systems kinda guy...                      http://www.duckland.org

#!/usr/bin/perl -w
# 531-byte qrpff-fast, Keith Winstein and Marc Horowitz <sipb-iap-dvd@mit.edu>
# MPEG 2 PS VOB file on stdin -> descrambled output on stdout
# arguments: title key bytes in least to most-significant order
$_='while(read+STDIN,$_,2048){$a=29;$b=73;$c=142;$t=255;@t=map{$_%16or$t^=$c^=(
$m=(11,10,116,100,11,122,20,100)[$_/16%8])&110;$t^=(72,@z=(64,72,$a^=12*($_%16
-2?0:$m&17)),$b^=$_%64?12:0,@z)[$_%8]}(16..271);if((@a=unx"C*",$_)[20]&48){$h
=5;$_=unxb24,join"",@b=map{xB8,unxb8,chr($_^$a[--$h+84])}@ARGV;s/...$/1$&/;$
d=unxV,xb25,$_;$e=256|(ord$b[4])<<9|ord$b[3];$d=$d>>8^($f=$t&($d>>12^$d>>4^
$d^$d/8))<<17,$e=$e>>8^($t&($g=($q=$e>>14&7^$e)^$q*8^$q<<6))<<9,$_=$t[$_]^
(($h>>=8)+=$f+(~$g&$t))for@a[128..$#a]}print+x"C*",@a}';s/x/pack+/g;eval


A closed mouth gathers no feet.


-- 
This message was sent through the coldsync-hackers mailing list.  To remove
yourself from this mailing list, send a message to majordomo@thedotin.net
with the words "unsubscribe coldsync-hackers" in the message body.  For more
information on Coldsync, send mail to coldsync-hackers-owner@thedotin.net.