[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [coldsync-hackers] Snapshot: 2.0.0
Sweet! This works w/ the new snapshot, which has the patch rolled in already. :)
Maybe we can make this happen every time?
Don
On Mon, Mar 12, 2001 at 05:22:21PM -0500, JD Smith wrote to To coldsync-hackers@lusars.net:
:-)
:-) I see a new snapshot out, also called 2.0.0. Perhaps it didn't merit a
:-) version bump. In any case, it includes those time setting patches I
:-) submitted to SPC.pm. If you'd like to try it, make a conduit as so
:-) (modify or omit the "use lib"'s if your coldsync and p5-palm perl
:-) library is on the perl search path):
:-)
:-) ################################################################
:-) #!/usr/bin/perl -w
:-) # Conduit SyncTime
:-) use lib "$ENV{HOME}/palm/coldsync/perl/ColdSync";
:-) use lib "$ENV{HOME}/palm/p5-Palm-1.2.2/";
:-) use Palm::Datebook;
:-) use ColdSync;
:-) use ColdSync::SPC;
:-)
:-) StartConduit("sync");
:-) ($sec,$min,$hour,$day,$mon,$year)=localtime;
:-) $mon++;
:-) $year+=1900;
:-) my $ret=dlp_SetSysDateTime($year,$mon,$day,$hour,$min,$sec);
:-)
:-) EndConduit();
:-) ################################################################
:-)
:-)
:-) In your coldsyncrc file, add:
:-)
:-) conduit sync {
:-) path: /path/to/conduits/SyncTime;
:-) type: date/DATA;
:-) }
:-)
:-) Note that (hopefully), in the future, a type like "none" will be
:-) available to specify running independently of what databases happen to
:-) be installed. Here I had to kludge it to run with the DateBook.
:-)
:-) Now, perform a sync, and watch your palm crash with something like
:-) "NotifyMgr.c, Line:846,Error waking task". The time does get set
:-) though. I get about 1 second setting accuracy.
:-)
:-) If people can report their PalmOS version and the behavior after sync
:-) (as in, it doesn't crash), that would be helpful. Apparently, someone
:-) performed a workaround out there somewhere to this bug in PalmOS 3.3,
:-) but if it's limited to a single OS version, I might just upgrade and let
:-) it go.
:-)
:-) Thanks,
:-)
:-) JD
:-)
:-) --
:-) 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.
--
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
Just for today, I will not sit in my living room all day watching TV.
Instead I will move my TV into the bedroom.
--
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.