$B

  Pilot HOWTO
  by David H. Silber [email protected]
  v0.5, 17 August 1997

  $BF|K\8lLu(B      : $B@nEg9@(B ([email protected])
  $BLu$N6cL#(B/$B9;@5(B : $B5H;3$5$s(B ([email protected])
                : $BEZ20$5$s(B ([email protected])



  $B$3$N(B HOWTO $B%I%-%e%a%s%H$G$O!"(BLinux $B$H6&$K(B Pilot $B$r;H$&J}K!$K$D$$$F(B
  $B=R$Y$F$$$^$9!#0lHLE*$K$O(B HOWTO $B%I%-%e%a%s%H$O(B Linux $B%*%Z%l!<%F%#%s%0(B
  $B%7%9%F%`$N$?$a$N$b$N$G$9$,!"$3$N(B HOWTO $B$O(B Unix $BA4BN$KE,MQ2DG=$J$b$N(B
  $B$G$9!#(B(is not dependent on the version of unix used.)
  ($BLuCm(B: $B$h$&$9$k$K!"(BLinux $B$K8B$i$:!"$I$s$J(B Unix $B%f!<%6$K$bLr$KN)$A$^$9(B
  $B$h!"$H$$$&$3$H$G$9$M!#(B)



  1. $B%$%s%H%m%@%/%7%g%s(B

  Pilot $B$K$O!"$=$N%a%b%j>e$N%G!<%?$H!"(BMicrosoft Windows system $B4V$N(B
  $BF14|$r9T$&$?$a$N%=%U%H%&%(%"$,IUB0$7$F$$$^$9!#%"%C%W%k$N%^%C%-%s%H%C%7%e(B
  $B$HF14|$5$;$k$?$a$N%=%U%H%&%(%"$b$"$j$^$9$,!"$3$A$i$OJLGd$j$G$9!#(B

  $B$3$l$^$G!"(BLinux/Unix $B%3%_%e%K%F%#$O(B Pilot $B$N@=B$6H$N(B HOWTO $B%I%-%e%a%s%H$N$5$i$K>\:Y$K$D$$$F$O!"(B
  http://sunsite.unc.edu/LDP/
  $B$r$4Mw2<$5$$!#(B

  $B>-Mh$N%P!<%8%g%s$G$O!"$b$C$H$?$/$5$s$Ne$GF0:n$9$k(B
  $B%W%m%0%i%`$r=q$/$?$a$N%D!<%k$d!"(Bunix $B%7%9%F%`$H(B Pilot $B$N4V$G%G!<%?$r(B
  $B$d$j$H$j$9$k$?$a$N(B conduit $B$r=q$/$?$a$N%D!<%kEy$r>R2p$G$-$k$H;W$$$^$9!#(B

  $B$3$N%I%-%e%a%s%H$NCf$G!"4V0c$$$d!"$b$C$H$&$^$$I=8=$J$I$r8+$D$1$?$i!"(B
  $B>e$N;d$N%"%I%l%9$^$G(B e-mail $B$r$/$@$5$$!#$=$N;~$K$O!"$I$N%P!<%8%g%s$N(B
  $B%I%-%e%a%s%H$K$D$$$F$N%3%a%s%H$+$b!"=q$$$F$/$@$5$$$M!#(B

  $B$3$N%I%-%e%a%s%H$NCx:n8"$O(B David H. Silber $B$KB0$7$^$9!#$^$?!"(B
  LDP HOWTO-INDEX $B%I%-%e%a%s%H$K=`$8$?>r7o$G%j%j!<%9$5$l$F$$$^$9!#(B

  This document is Copyright $B%%(B 1997 by David H. Silber.  It is released
  under the copyright terms in the LDP HOWTO-INDEX document.



  1.2. $B%a%$%j%s%0%j%9%H(B

  pilot-unix $B%a%$%j%s%0%j%9%H$O(B Matthew Cravit $B$,1?1D$7$F$$$^$9!#(B
  <mailto:[email protected]>. $B$3$N%a%$%j%s%0%j%9%H$N(B
  $B%k!<%k(B(mandate)$B$O(B:
    pilot-unix $B%a%$%j%s%0%j%9%H$O!"(BUS Robotics Pilot PDA $B$r(B UNIX $B%7%9%F%`$H(B
    $B0l=o$K;H$&$3$H$K6=L#$N$"$k?M$N$?$a$N!"5DO@$HCN<16&M-$N$?$a$N$b$N$G$9!#(B
    $B$3$l$K$O!"(BPilot $B$r(B UNIX $B$H0l=o$K;H$&$?$a$N%D!<%k3+H/$d!"(BUnix$B>e$N(BPilot$BMQ(B
    SDK$B$N3+H/$N=u$1$r$9$k$3$H$K6=L#$N$"$k?M$J$I$b4^$^$l$^$9!#(B
  $B$5$i$K>\:Y$J>pJs(B($B%a%$%j%s%0%j%9%H$X$N;22C$b4^$a$F(B)$B$K$D$$$F$O!"(B``INFO''
  $B$H$$$&C18l$r4^$`%a%$%k$r(B [email protected] $B08$K(B
  $BAw$C$F$/$@$5$$!#(BSubject $B9T$OL5;k$5$l$^$9$N$GCm0U$7$F$/$@$5$$!#(B




  1.3. $B%a%$%j%s%0%j%9%H$N%"!<%+%$%V(B

  pilot-unix $B%a%$%j%s%0%j%9%H$N%"!<%+%$%V(B($B2a5n$N5-O?(B)$B$O!"(B
  http:///www.acm.rpi.edu/~albert/pilot/
  $B$K$"$j$^$9!#(BChris Stevens <mailto:[email protected]> $B$,4IM}$7$F$$$^$9!#(B



  1.4. FTP $B%5%$%H(B

  Unix$B>e$G;H$&(B Pilot $BMQ$N%D!<%kN`$N%"!<%+%$%V$O(B:
  ftp://ryeham.ee.ryerson.ca/pub/PalmOS/
  $B$K$"$j$^$9!#(B
  Jeff Dionne <mailto:[email protected]> $B$,4IM}$7$F$$$^$9!#(B




  2. $B0lHLE*$J>pJs(B

  2.1 Pilot $B$C$F2?$G$9$+!)(B

  Pilot $B$O>.$5$J!"%Z%s%Y!<%9$N(B Personal Digital Assistant (PDA)$B$G$9!#(B
  $B8=:_$O(B 3Com $B$N;R2qo$K9b$/$J$C$F$$$^$9!#$^$?!";3ED$5$s$N(B
  $B3+H/$5$l$?(B J-OS suite $B$H$$$&F|K\8l2=4D6-$r%$%s%9%H!<%k$9$k$3$H$G!"(B
  $B$[$H$s$I$N%"%W%j%1!<%7%g%s$GF|K\8l$r;H$&$3$H$,2DG=$K$J$j$^$9!#(B
  ($B$b$A$m$s%m!<%^;z$+$J4A;zJQ49$GF|K\8l$rF~NO$9$k;v$b$G$-$^$9!#(B
  J-OS suite $B$N>\:Y$O;3ED$5$s$N%[!<%`%Z!<%8(B
  http://www.tt.rim.or.jp/~tatsushi
  $B$r;2>H$/$@$5$$!#(B)

  PDA $B$H$$$&8@MU$K$D$$$F>\$7$/$J$$J}$N$?$a$K=q$-$^$9$H!"(BPDA $B$H$O!"(B
  $B$5$^$6$^$JpJs!"$D$^$j!"=;=jO?$dEEOCHV9f!"%+%l%s%@!.@ZpJs$,I,MW$J$H$-$K$O$$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  $B$I$N(B Pilot $B$G$b!"%a%b%j!<%+!<%I(B(ROM$B$H(BRAM$B$rFbB"$7$F$$$k(B)$B$r8r49$9$k$3$H(B
  $B$K$h$C$F%"%C%W%0%l!<%I$,2DG=$G$9!#$b$A$m$s!"8E$$%?%$%W$N(B Pilot $B$K$O(B
  $B%P%C%/%i%$%H5!G=$O$"$j$^$;$s$1$I$M!#(B



  2.3. $B%O!<%I%&%(%"$N%$%s%9%H!<%k(B

  Pilot $B$K$O!"%G%9%/%H%C%W%3%s%T%e!<%?$H%G!<%?$r$d$j$H$j$9$k$?$a$N(B
  ``$B%/%l!<%I%k(B''$B$,IUB0$7$F$$$^$9!#$3$NAuCV$O$l$N%9%?%s%I%"%m!<%s(B
  $B%W%m%0%i%`$rAv$i$;$k;~$K$O!"(BPilot $B$r$3$N%/%l!<%I%k$KCV$$$F!"(B
  `$B%[%C%H%7%s%/(B'$B%\%?%s$r2!$7$F$/$@$5$$!#$3$&$9$k$3$H$G!"(BPilot $B$ODL?.$9$k(B
  $BI,MW$,$"$k$3$H$rCN$k$3$H$,$G$-$^$9!#%\%?%s$,2!$5$l$?;~$K(B Pilot $B$N(B
  $BEE8;$,%*%U$K$J$C$F$$$?>l9g$K$O!"<+F0E*$K%*%s$K$J$j$^$9!#(B
  $B%/%l!<%I%k$,@\B3$5$l$F$$$k%7%j%"%k%]!<%H$K(B /dev/pilot $B$H$$$&JLL>$r(B
  $BMQ0U$7$F$*$/$HJXMx$G$7$g$&!#$3$&$9$k$?$a$K$O(B root $B%f!<%6$K$J$C$F!"(B
  $B0J2<$r(B)

  ($BLuCm(B: /dev/cua* $B$,B8:_$7$J$$>l9g$K$O!"(B/dev/ttyS* $B$,$3$l$KBP1~$7$^$9!#(B
   $B$^$?!"(BDOS/Windows $B$N%7%j%"%k%]!<%HL>$H$NBP1~$O(B:
       DOS/Windows  Linux
       COM1         cua0/ttyS0
       COM2         cua1/ttyS1
   $B$G$9!#(B)



  3. Pilot $B$H(B Linux $B$G%G!<%?$r6&M-$9$k(B

  3.1. Pilot-link $B$H$$$&%=%U%H%&%(%"(B
  Pilot-link $B$H$$$&0lB7$$$N%=%U%H%&%(%"$,$"$j$^$9!#$3$N%=%U%H%&%(%"$K(B
  $B$h$C$F!"%W%m%0%i%`$r(B Pilot $B$K%@%&%s%m!<%I$7$?$j!"FbB"%W%m%0%i%`$N(B
  $B%G!<%?$r(B linux $B$H$N4V$G$d$j$H$j$7$?$j$9$k$3$H$,$G$-$k$h$&$K$J$j$^$9!#(B
  Pilot $B$KIUB0$9$k%G%9%/%H%C%W%=%U%H$[$I$K$O%7!<%`%l%9$G$O$"$j$^$;$s$,!"(B
  $BAPJ}8~$N%G!<%?$N$d$j$H$j$r$9$k$3$H$,$G$-$^$9!#0lHLE*$K8@$C$F!"(B
  pilot-link $B%=%U%H%&%(%"$K4^$^$l$k$=$l$>$l$N%=%U%H$O!"$=$l$>$l$,(B
  $B#1$l$N%G!<%?$r07$&%=%U%H$,FHN)$7$F$$$k!"$H$$$&$3$H(B
  $B$G$9$M!#(B)$B$G!"$3$l$i$N(B pilot-link $B%=%U%H%&%(%"$N>e0L%=%U%H$H$7$F(B
  PilotManager $B$H$$$&%=%U%H%&%(%"$,$"$j!"$3$l$r;H$&$H$h$jE}9gE*$J(B
  $B4D6-$,l9g$K$O!"BgK\$NG[I[$r(B
  $B;H$&$[$&$,$$$$$G$7$g$&!#(B

  Debian Linux $BMQ$N(B pilot-link version 0.7.2 $B$O!"(B
  ftp://ftp.debian.org/pub/debian/hamm/hamm/binary-i386/otherosfs/pilot-
  link_0.7.2-1.deb
  $B$+$iF~o$NJ}K!$G(B($BLuCm(B: dpkg $B$d(B dselect$B$r;H$C$F(B)
  $B%$%s%9%H!<%k$7$F$/$@$5$$!#$3$l$r%$%s%9%H!<%k$7$?>l9g$K$O!"(B
  $B!V(BPilot-link $B%=%U%H$r;H$&!W$N>O$^$G%9%-%C%W$7$F$/$@$5$$!#(B



  RedHat Linux $BMQ$N(B pilot-link version 0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N$j$?$$>l9g$K$O!"%7%'%k%W%m%s%W%H$+$i!"(B
  man pilot-xfer
  $B$HF~NO$7$^$9!#(B

  PilotManager $B$r;H$&>l9g$K$O!"$3$l$i$N:Y$+$$%D!<%k$N;H$$J}$OCN$kI,MW(B
  $B$O$J$$$+$b$7$l$^$;$s!#(B
  
  ($BLuCm(B: Pilot <-> Linux $B$N$d$j$H$j$r$9$k;~$N%7%j%"%k%i%$%s$N%G%U%)!<%k%H(B
  $BB.EY$O(B 9600bps $B$N$h$&$G$9!#$3$l$O4D6-JQ?t(B PILOTRATE $B$r@_Dj$9$k$3$H$G(B
  $BJQ992DG=$G$9!#Lul9g$K$O(B
  $B?7$7$/:n@.$5$l$^$9!#(B


  Pilot $B$K%G!<%?$r%j%9%H%"$9$k$K$O(B:

       pilot-xfer /dev/pilot -r backup-directory

  $B0lHLE*$K$3$l$,I,MW$K$J$k$N$O!"%O!<%I%j%;%C%H$r$*$3$J$C$?;~$+!"(B
  $BEECS$,40A4$K@Z$l$F$7$^$C$?$H$-$J$I$G$7$g$&!#(B


  Pilot $B>e$N%W%m%0%i%`$rI=<($9$k$K$O(B:

       pilot-xfer /dev/pilot -l



  3.1.2.2. install-memo

  Linux$B>e$N%U%!%$%k$r(B Pilot$B$N%a%b$H$7$F%@%&%s%m!<%I$7$^$9!#(B
  $B%a%b$rFCDj$N%W%m%8%'%/%H%+%F%4%j!<(B($B$9$G$K:n@.:Q$N(B)$B$H$7$F%@%&%s%m!<%I(B
  $B$9$k$K$O(B:
       install-memo /dev/pilot -c project project.memo
  $B%a%b$N:G=i$N9T$K$O!"%U%!%$%kL>$,A^F~$5$l!"(BPilot$B>e$N%a%b%W%m%0%i%`$N(B
  $B%G%#%l%/%H%j>pJs(B($B0lMw(B)$B$K$O!"$3$l$,I=<($5$l$^$9!#(B



  3.1.2.3. memos

  $B$3$N%W%m%0%i%`$O(B Pilot $B$NCf$N$=$l$>$l$N%a%b$r0z$CD%$j=P$7$F!"I8=`E*$J(B
  mailbox $B%U%)!<%^%C%H$GI=<($7$^$9!#(B

  memo $B$r8+$k$?$a$K$O(B:

       memos /dev/pilot

  $B$H$7$^$9!#(B



  3.1.2.4. pilot-addresses

  Pilot-addresses $B$O!"(BPilot $B$N%"%I%l%9%G!<%?%Y!<%9$r$d$j$H$j$9$k$?$a$N(B
  $B$b$N$G$9!#(B

  Pilot $B$+$i!"(BLinux $B%U%!%$%k$KFbMF$r=q$-=P$9$K$O(B:

       pilot-addresses /dev/pilot -w storage.file
  ($BLuCm(B: $B$3$C$A$@$1;n$7$F$_$^$7$?!#F|K\8l$r4^$`(B address $B$b$A$c$s$H(B
   $B5[$$>e$2$k$3$H$,$G$-$^$9!#$?$@$7!"(BPilot + J-OS $B$NF|K\8l%3!<%I$O(B
   $B%7%U%H(BJIS(MS$B4A;z%3!<%I(B)$B$G$9$N$G!"(BLinux $B>e$GFI$`$?$a$K$O(B nkf -e $B$J$I$N(B
   $B%3%^%s%I$G!"(B EUC $B$KJQ49$9$kI,MW$,$"$j$^$9!#(B)


  Linux $B%U%!%$%k$+$i(B Pilot $B$KFbMF$rE>Aw$9$k$?$a$K$O(B:

       pilot-addresses /dev/pilot -r storage.file


  ($BLuCm(B: read-ical $B$C$F$N$b$"$j$^$9!#$G!"$3$l$O(B Pilot $B$N(B datebook $B$H(B
   todo $B$r(B ical $B%U%)!<%^%C%H$G5[$$>e$2$F$/$l$k$b$N$G!"(Bical $B$O!"(BToDo $B$H!"(B
   DateBook $B$r(B X11 $B>e$GI=<($G$-$k%"%W%j%1!<%7%g%s$G$9!#8+1I$($b$+$J$jNI$$$G$9!#(B
   $B$7$+$7!";DG0$J$,$i(B ical $B$G$OF|K\8l$,DL$i$J$$$h$&$G$9!#(B
   $B:#2s=i$a$F(B ical $B$r%$%s%9%H!<%k$7$F$_$?$N$G$9$,!"$H$C$F$b;H$($=$&$J(B
   $B%"%W%j%1!<%7%g%s$J$@$1$KL5G0$G$9!#(B

   ...$B$H;W$C$?$N$G$9$,!"$J$s$H$+$J$j$^$7$?!#(B

   $B$^$:!"(Bical $B$NF|K\8lI=<($K4X$7$F$O!"(Bical-2.2 $B$H!"F|K\8l2=$5$l$?(B tcl/tk
   $B$G$"$k!"(B tcl7.6jp/tk4.2jp $B$NAH9g$;$GF|K\8l$,I=<(2DG=$K$J$j$^$7$?!#(B
   ($B$b$A$m$s!"(Bical-2.2 $B$N:F%3%s%Q%$%k$,I,MW$G$9!#(B)
   $BLdBj$O(B read-ical $BB&$G!"%7%U%H(BJIS$B$rDL$9$?$a$N4JC1$J%Q%C%A$,I,MW$G$9!#(B
   $B$9$4$/$$$$$+$2$s$JBP=h$G$9$,!"$H$j$"$($:Lu$K$^$8$a$K(B
   $B%Q%C%A$7$?J}$,$$$i$7$?$i!"$<$R8fO"Mm$/$@$5$$!#(B

   $B$A$J$_$K!"%*%j%8%J%k$N(B ical $B$N%j%j!<%9(BURL $B$O(B:
   http://www.research.digital.com/SRC/personal/Sanjay_Ghemawat/ical/home.html
   $B$G$9!#(B

   $B8=:_$O(B Pilot -> Linux $B$H$$$&JRJ}8~$@$1$G$9$,!"$+$J$j9,$;$G$9!#(B
   $B$5$i$K(B write-ical $B$,$G$-$l$P$$$$$J$"(B...)



  3.2. MakeDoc

  Pilot $BAH$_9~$_$N(B memo $B%W%m%0%i%`$N0l$D$N7gE@$O!"Bg$-$J%I%-%e%a%s%H(B
  $B$r07$&$3$H$,$G$-$J$$!"$H$$$&E@$G$9!#$3$l$r2r7h$9$k$?$a$K!"(BRick Bram
  <mailto:[email protected]> $B$O(B Doc $B$r3+H/$7$^$7$?!#(BDoc $B$O(B Pilot $B$G(B
  $BF0:n$9$k%I%-%e%a%s%H%j!<%@!<$G$9!#(B
  (http://www.concentric.net/~rbram/doc.shtml $B$r;2>H(B) $B%I%-%e%a%s%H$r(B
  Doc $B$,07$($k7A<0$KJQ49$9$k$?$a$K$O!"(BMakeDoc $B$r;H$$$^$9!#(B
  MakeDoc $B$O(B Pat Beirne <mailto:[email protected]> $B$,3+H/$7$^$7$?!#(B



  3.2.1. MakeDoc $B$r%$%s%9%H!<%k$9$k!#(B

  MakeDoc $B$O0J2<$N(B URL $B$+$i%@%&%s%m!<%I$G$-$^$9(B:
  http://www.concentric.net/~rbram/makedoc7.cpp
  $B$3$l$r!"$*e$N(B
  $B$I$3$+$N%G%#%l%/%H%j$K!"(Bmakedoc $B$H$7$F%$%s%9%H!<%k$7$F$/$@$5$$!#(B
  makedoc (version 0.7a) $B$K$O>/!9%P%0$,$"$k$h$&$G!"%f!<%6!<$KI=<($5$l$k(B
  $B:G8e$NJ8;z$H$7$F!"2~9T(B(newline)$B$r=PNO$7$J$$$h$&$G$9!#(B
  $B$^$"!"B?>/ITL{2w$G$O$"$j$^$9$,!"$G$-$"$,$k%I%-%e%a%s%H%U%!%$%k$NBg@*$K(B
  $B1F6A$O$"$j$^$;$s!#(B

  $B?7$7$$%P!<%8%g%s$b$"$k$h$&$G$9$,!"$3$l$K$O(B Java $B$,I,MW$G$9!#(B
  Pat Beirne $B$N(B MakeDoc $B%&%'%V%Z!<%8$r;2>H$7$F$/$@$5$$(B:
  http://cpu563.adsl.sympatico.ca/MakeDocJ.htm



  3.2.2. MakeDoc $B$r;H$&!#(B

  MakeDoc $B$O(B ('.prc' $B$H$$$&3HD%;R$r8e$m$K$D$1$F$/$@$5$$!#(B)

    <story-name>
       Doc $B$^$?$O(B Jdoc $B$N%I%-%e%a%s%H%G%#%l%/%H%j(B($B0lMw(B)$B$KI=<($5$;$?$$(B
       $BJ8;zNs!#(B($BLuCm(B: $B6uGr$r4^$`>l9g$K$O(B ''$B$d!"(B"" $B$G0O$C$F$/$@$5$$!#(B)

  $B$G$-$"$,$C$?(B .prc $B%U%!%$%k$r%G%3!<%I$7$?$j!"05=L$r@)8f$9$k$?$a$N(B
  $B%*%W%7%g%s$b$"$j$^$9!#(B



  3.3. PilotManager

  PilotManager $B$O!"J#?t$N%G!<%?%Y!<%9$r0lEY$N%[%C%H%7%s%/$GF14|$5$;$k(B
  $B$3$H$N$G$-$kE}3gE*$J%"%W%j%1!<%7%g%s$G$9!#(B
  $B;d<+?H$O!"$3$N(B Pilot-HOWTO $B$r=q$$$F$$$k;~E@$G$O$^$@(B PilotManager$B$N(B
  $B9=C[(B/$B%$%s%9%H!<%[email protected]$7$F$$$^$;$s!#(B

  $B$$$/$D$+=u$1$K$J$j$=$&$J%j%s%/$r(B:

  * PilotManager $B%Q%C%1!<%8$N(BURL:
     http://playground.sun.com/~bharat/pilotmgr.html
     <http://playground.sun.com/~bharat/pilotmgr.html>

  * $B%Q%C%A(B:
     ftp://ftp.orbits.com/pub/Pilot/pilotmgr,v1.009-BETA-3.patch
     <ftp://ftp.orbits.com/pub/Pilot/pilotmgr,v1.009-BETA-3.patch>
  $B$3$N%Q%C%A$O(B PilotManager version 1.009 beta 3 $B$r(B pilot-link version
  0.8.0 $B$H6&$K;H$&>l9g$N%Q%C%A$G$9!#(BPilotManager $B$N%=!<%9$r%2%C%H$7$F!"(B
  $B0J2<$N%3%^%s%I$G%Q%C%A$r$"$F$^$9!#(B
       tar -xvzf pilotmgr,v1.009-BETA-3.dev.tar.gz
       cd pilotmgr,v1.009-BETA-3
       patch -p1 < ../pilotmgr,v1.009-BETA-3.patch

  $B;d<+?H$O$b$&>/$7$G$3$N%=%U%H%&%(%"$r%$%s%9%H!<%k$G$-$k$H;W$&$N$G!"(B
  $B$=$N;~$K$O$^$?$3$N%I%-%e%a%s%H$N?7$7$$%P!<%8%g%s$G!"$=$l$K$D$$$F(B
  $B$U$l$?$$$H;W$$$^$9!#(B

  ($BLuCm(B: $BLu/$7$@$1$N$?$&$A2s$C$F$_$^$7$?$,!"(B
   PilotManager $B$O!"$I$&$b(B XOpen$B$N(B CDE (Common Development Environment)
   $B$K4^$^$l$k(B Calendar $B%W%m%0%i%`$H%$%s%?!<%U%'!<%9$r$H$k$h$&$J9=B$$G(B
   $B:n@.$5$l$F$$$k$h$&$G$9!#$G!"$3$l$i$,:FG[I[$G$-$J$$%Q%C%1!<%8$J$N$G!"(B
   CDE $B$r$9$G$K;}$C$F$$$kJ}0J30$O(B($B>/$J$/$H$b%+%l%s%@!<5!G=$O(B)$B;H$($J$$(B
   $B$N$G$O$J$$$+$H;W$$$^$9!#(BPilotManager$B$N!"$=$NB>$N5!G=$K4X$7$F$O;HMQ2DG=(B
   $B$+$b$7$l$^$;$s$,!"L$3NG'$G$9!#$&$^$/;H$&;v$N$G$-$?J}!"@'Hs>pJs$r$*4s$;(B
   $B$/$@$5$$!#(B
   $B$^$?!"(BData::Dumper $B$N%$%s%9%H!<%k$K$O!"(Bperl 5.004 $B0J9_$,I,MW$J$h$&$G$9!#(B
   $B$&$^$/(B PilotManager $B$r;H$&J}K!$r$4B8CN$NJ}$,$$$i$C$7$c$$$^$7$?$i!"(B
   $B@'Hs8fO"Mm$/$@$5$$!#(B
   Linux$B$K4X$7$F$O!"62$i$/!"(BCaldera $B/!9ITB-$7$F$$$^$9$,!"l=j$+$i%@%&%s%m!<%I$G$-$^$9(B:
  ftp://ryeham.ee.ryerson.ca/pub/PalmOS
  GNU $B%D!<%k$Ol=j$+$i(B:
  ftp://prep.ai.mit.edu/pub/gnu
  binutils-2.7.tar.gz, gcc-2.7.2.2.tar.gz, gdb-4.16.tar.gz $B$r%2%C%H$7$F(B
  $B$/$@$5$$!#$3$3$G<($7$?(B GNU $B%D!<%k$N%P!<%8%g%sHV9f$O!"(Bprc-tools $B$N(B
  $B%j%j!<%9(B 0.5.0 $B$KBP1~$7$?%P!<%8%g%s$G$9!#$h$j?7$7$$(B prc-tools $B$K$O!"(B
  $B$b$C$H?7$7$$%P!<%8%g%s$N(B GNU $B%D!<%k$,I,MW$+$b$7$l$^$;$s!#(B

  $B$3$l$i$N$9$Y$F$NG[I[%Q%C%1!<%8$r$R$H$D$N%G%#%l%/%H%j$KCV$-$^$9!#(B
  prc-tools $B$NG[I[%Q%C%1!<%8$@$1$r2rE`(B(Unpack)$B$7$^$9!#B>$N%Q%C%1!<%8(B
  $B$K4X$7$F$O!"(Bprc-tools $B$N(B Makefile $B$,LLE]$r$_$F$/$l$^$9$+$i!#(B
  $B%G%U%)!<%k%H$G$O(B prc-tools $B$O(B /usr/loccal/gnu $B$K%$%s%9%H!<%k$5$l$k(B
  $B$h$&$K$J$C$F$$$^$9!#$b$7!"$=$NB>$N>l=j$K%$%s%9%H!<%k$7$?$$>l9g$K$O(B
  Makefile $B$NCf$N!"(BINSTALLDIR $B$NCM$rJQ99$7$F$/$@$5$$!#(B
  $B%3%s%Q%$%k$N!Z$O$G$-$^$;$s$7!"(Bon your own risk $B$G(B
   $B9T$C$F$/$@$5$$!#(B
   ($B$=$b$=$b!"%*%j%8%J%k%=!<%9$G8@$&$H$3$m$N(B 0x95 - bullet $B$H$$$&$N$,(B
   $B2?uBV$GL5M}LpM}(B SJIS $B$rDL$7$F$$$^$9$N$G!#(B)

==== cut here ==== cut here ==== cut here ==== cut here ====
*** read-ical.c-dist    Wed Jan 21 23:18:12 1998
--- read-ical.c Thu Jan 22 01:55:44 1998
***************
*** 15,27 ****
  #include "pi-datebook.h"
  #include "pi-dlp.h"
  
  char * tclquote(char * in)
  {
    static char * buffer = 0;
    char * out;
!   char * pos;
    int len;
!   
    /* Skip leading bullet (and any whitespace after) */
    if (in[0] == '\x95') {
      ++in;
--- 15,33 ----
  #include "pi-datebook.h"
  #include "pi-dlp.h"
  
+ #define isSjis1stByte(c) \
+     (((c) >= 0x81 && (c) <= 0x9f) || ((c) >= 0xe0))
+ 
+ 
  char * tclquote(char * in)
  {
    static char * buffer = 0;
    char * out;
!   unsigned char * pos;
    int len;
!   int inkanji = 0;
!  
!  #if 0
    /* Skip leading bullet (and any whitespace after) */
    if (in[0] == '\x95') {
      ++in;
***************
*** 29,60 ****
        ++in;
      }
    }
  
!   len = 3;
!   pos = in;
!   while(*pos) {
!     if((*pos == '\\') || (*pos == '"') || (*pos == '[') || (*pos == '{') || (*pos == '$'))
!       len++;
!     len++;
!     pos++;
!   }
    
!   if (buffer)
!     free(buffer);
!   buffer = (char*)malloc(len);
!   out = buffer;
! 
!   pos = in;
!   *out++ = '"';
!   while(*pos) {
!     if((*pos == '\\') || (*pos == '"') || (*pos == '[') || (*pos == '{') || (*pos == '$'))
!       *out++ = '\\';
!     *out++=*pos++;
!   }
!   *out++ = '"';
!   *out++ = '\0';
    
!   return buffer;
  }
  
  static void Usage(char *progname)
--- 35,78 ----
        ++in;
      }
    }
+ #endif
  
!     len = 3;
!     pos = in;
!     while(*pos) {
!       if (!inkanji && ((*pos == '\\') || (*pos == '"') || (*pos == '[')
!                       || (*pos == '{') || (*pos == '$')))
!           len++;
!       if (inkanji)
!           inkanji = 0;
!       else if (isSjis1stByte(*pos))
!           inkanji = 1;
!       len++;
!       pos++;
!     }
    
!     if (buffer)
!       free(buffer);
!     buffer = (char*)malloc(len);
!     out = buffer;
! 
!     pos = in;
!     *out++ = '"';
!     inkanji = 0;
!     while(*pos) {
!       if (!inkanji && ((*pos == '\\') || (*pos == '"') || (*pos == '[')
!                       || (*pos == '{') || (*pos == '$')))
!           *out++ = '\\';
!       if (inkanji)
!           inkanji = 0;
!       else if (isSjis1stByte(*pos))
!           inkanji = 1;
!       *out++ = *pos++;
!     }
!     *out++ = '"';
!     *out++ = '\0';
    
!     return buffer;
  }
  
  static void Usage(char *progname)

$B