Mercurial > kinput2.yaz
view doc/ccdef @ 5:7353de876e93
imported patch 07_kinput2-v3.1-Xsji3clib-fix-typo.patch
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Mon, 08 Mar 2010 20:07:06 +0900 |
parents | 92745d501b9a |
children |
line wrap: on
line source
*** $BF~NOJ8;zJQ49$N@_Dj(B *** [ $B$3$l$O(B kinput2 $B$GJQ49%7%9%F%`$K(B Wnn $B$r;HMQ$9$k;~$K;H$o$l$kJQ49%*%V%8%'%/(B ] [ $B%H(B CcWnn $B$,;HMQ$7$F$$$k%m!<%^;z$+$JJQ49(B ($B$@$1$G$O$J$/!"JQ49$K;HMQ$9$k%-!<(B ] [ $B$N%P%$%s%G%#%s%0$d$+$JF~NO$K$b;HMQ$5$l$k$N$G!VF~NOJ8;zJQ49!W$H8F$s$G$$$^(B ] [ $B$9(B) $B$N%+%9%?%^%$%:J}K!$r2r@b$7$?$b$N$G$9!#<B$O$3$N%I%-%e%a%s%H$O(B wterm ] [ $B$N%f!<%6%^%K%e%"%k$NBh(B4$B>O!XF~NOJ8;zJQ49$N@_Dj!Y$r$A$g$C$HJQ99$7$?$@$1$J(B ] [ $B$N$G$b$7$+$9$k$HITE,Ev$J5-=R$,$"$k$+$bCN$l$^$;$s!#(B ] $B$3$3$G$O(B kinput2 $B$NJQ49%*%V%8%'%/%H$N0l$D(B CcWnn $B$,JQ49$K;HMQ$9$k%-!<$N(B $B%P%$%s%G%#%s%0$d%m!<%^;z$+$JJQ49$J$I$r%+%9%?%^%$%:$9$k$N$KI,MW$JF~NOJ8(B $B;zJQ49Dj5A%U%!%$%k$N=q$-J}$K$D$$$F@bL@$7$^$9!#$3$3$K=q$+$l$?J8>O$@$1$G(B $B$O$o$+$j$K$/$$$N$G!"$G$-$l$P%G%U%)%k%H$NDj5A%U%!%$%k(B (/usr/lib/X11/ccdef/ccdef.kinput2 $B$*$h$S$=$NCf$G%$%s%/%k!<%I$5$l$F$$$k(B $B%U%!%$%k(B)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$9$k$h$&$K$J$C$F$O$$$^$9$,!#(B goto $B$H(B redo $B$N$"$H$K=q$+$l$?%U%!%s%/%7%g%s$O(B $B<B9T$5$l$^$;$s(B $B!#%k!<%k$r=q(B $B$/;~$K$O5$$r$D$1$F2<$5$$!#(B add-modifier- $B%7%j!<%:$G$O!"<!$KF~NO$7$?%-!<$K%b%G%#%U%!%$%d$rDI2C$9$k(B $B$3$H$,$G$-$^$9!#(Badd-modifier- $B%7%j!<%:$K$O0J2<$N$b$N$,MQ0U$5$l$F$$$^$9!#(B add-modifier-shift add-modifier-control add-modifier-lock add-modifier-mod1 add-modifier-mod2 add-modifier-mod3 add-modifier-mod4 add-modifier-mod5 $BNc$($P!"(B "" '^[' "" add-modifier-mod1 "" mod1-i "" shrink-s $B$H$$$&JQ49%k!<%k$r=q$$$F$*$/$H!"(Bmod1-i $B$HF~NO$7$F$b!"(B^[ i $B$HF~NO$7$F$b(B shrink-s $B$,<B9T$5$l$k$h$&$K$G$-$^$9!#(B CcWnn $B$GMQ0U$5$l$F$$$kJQ49%U%!%s%/%7%g%s$H$=$N5!G=$N0lMw$r<!$K<($7$^$9!#5!(B $BG=$N5-=R$NCf$G;H$o$l$F$$$k(B [$BL$JQ49(B] $B$J$I$O$=$l$>$l(B [$BL$JQ49(B] $B%+%l%s%HJ8@a$,L$JQ49$G$"$k;~$NF0:n(B [$BJQ49:Q(B] $B%+%l%s%HJ8@a$,$9$G$KJQ49$5$l$F$$$k;~$NF0:n(B [$B8uJdA*Br(B] $B%9%F!<%?%9%i%$%s$G$NF12;8lA*Br%b!<%I$G$NF0:n(B [$B5-9fF~NO(B] $B5-9fF~NO%b!<%I$G$NF0:n(B $B$r<($7$F$$$^$9!#(B $B%U%!%s%/%7%g%sL>(B $B5!G=(B ------------------------------------------------------------------------------ convert [$BL$JQ49(B] $B%+%l%s%HJ8@a0J9_$rO"J8@aJQ49$9$k(B [$BJQ49:Q(B] $B%+%l%s%HBgJ8@a$N8uJdA*Br%b!<%I$K$O$$$k(B [$B8uJdA*Br(B] forward $B$HF1$8(B [$B5-9fF~NO(B] $B%(%i!<(B ($B%Y%k$,LD$k(B) ------------------------------------------------------------------------------ convert-or-fix1 [$BL$JQ49(B][$B8uJdA*Br(B][$B5-9fF~NO(B] convert $B$HF1$8(B [$BJQ49:Q(B] $B:G=i$N0lJ8;z$@$1$,3NDj$5$l$k(B ------------------------------------------------------------------------------ convert-or-space[$BL$JQ49(B][$BJQ49:Q(B] $BL$3NDjJ8;zNs$,$"$l$P(B convert $B$HF1$8!#(B $B$J$1$l$P%9%Z!<%9$,A^F~!&3NDj$5$l$k(B [$B8uJdA*Br(B][$B5-9fF~NO(B] convert $B$HF1$8(B ------------------------------------------------------------------------------ convert-or-sendback[$BL$JQ49(B][$BJQ49:Q(B] $BL$3NDjJ8;zNs$,$"$l$P(B convert $B$HF1$8!#(B $B$J$1$l$P(B send-back $B$HF1$8(B [$B8uJdA*Br(B][$B5-9fF~NO(B] convert $B$HF1$8(B ------------------------------------------------------------------------------ convert-s [$BL$JQ49(B] $B%+%l%s%HJ8@a0J9_$rO"J8@aJQ49$9$k(B [$BJQ49:Q(B] $B%+%l%s%H>.J8@a$N8uJdA*Br%b!<%I$K$O$$$k(B [$B8uJdA*Br(B] forward $B$HF1$8(B [$B5-9fF~NO(B] $B%(%i!<(B ($B%Y%k$,LD$k(B) ------------------------------------------------------------------------------ unconvert [$BJQ49:Q(B] $B%+%l%s%HBgJ8@a$rL5JQ49$N>uBV$KLa$9(B [$BL$JQ49(B][$B8uJdA*Br(B][$B5-9fF~NO(B] $B%(%i!<(B ($B%Y%k$,LD$k(B) ------------------------------------------------------------------------------ next [$BL$JQ49(B] $B%(%i!<(B ($B%Y%k$,LD$k(B) [$BJQ49:Q(B] $B%+%l%s%HBgJ8@a$r<!8uJd$GCV$-49$($k(B [$B8uJdA*Br(B][$B5-9fF~NO(B] $B<!%Z!<%8$K0\F0$9$k(B ------------------------------------------------------------------------------ next-s [$BL$JQ49(B] $B%(%i!<(B ($B%Y%k$,LD$k(B) [$BJQ49:Q(B] $B%+%l%s%H>.J8@a$r<!8uJd$GCV$-49$($k(B [$B8uJdA*Br(B][$B5-9fF~NO(B] $B<!%Z!<%8$K0\F0$9$k(B ------------------------------------------------------------------------------ previous [$BL$JQ49(B] $B%(%i!<(B ($B%Y%k$,LD$k(B) [$BJQ49:Q(B] $B%+%l%s%HBgJ8@a$rA08uJd$GCV$-49$($k(B [$B8uJdA*Br(B][$B5-9fF~NO(B] $BA0%Z!<%8$K0\F0$9$k(B ------------------------------------------------------------------------------ previous-s [$BL$JQ49(B] $B%(%i!<(B ($B%Y%k$,LD$k(B) [$BJQ49:Q(B] $B%+%l%s%H>.J8@a$rA08uJd$GCV$-49$($k(B [$B8uJdA*Br(B][$B5-9fF~NO(B] $BA0%Z!<%8$K0\F0$9$k(B ------------------------------------------------------------------------------ forward [$BL$JQ49(B] $B%+!<%=%k$r#1J8;z?J$a$k(B [$BJQ49:Q(B] $B%+%l%s%HJ8@a$r#1>.J8@aJ,8e$m$K0\F0$9$k(B [$B8uJdA*Br(B][$B5-9fF~NO(B] $B<!8uJd(B($B5-9f(B)$B$K0\F0$9$k(B ------------------------------------------------------------------------------ backward [$BL$JQ49(B] $B%+!<%=%k$r#1J8;zLa$9(B [$BJQ49:Q(B] $B%+%l%s%HJ8@a$r#1>.J8@aJ,A0$K0\F0$9$k(B [$B8uJdA*Br(B][$B5-9fF~NO(B] $BA08uJd(B($B5-9f(B)$B$K0\F0$9$k(B ------------------------------------------------------------------------------ move-top [$BL$JQ49(B][$BJQ49:Q(B] $B%+!<%=%k$*$h$S%+%l%s%HJ8@a$rJ8$N@hF,$K(B $B0\F0$5$;$k(B [$B8uJdA*Br(B][$B5-9fF~NO(B] $B8=:_%Z!<%8$N@hF,$N8uJd(B($B5-9f(B)$B$K0\F0$9$k(B ------------------------------------------------------------------------------ move-bottom [$BL$JQ49(B][$BJQ49:Q(B] $B%+!<%=%k$*$h$S%+%l%s%HJ8@a$rJ8$N:G8e$K(B $B0\F0$5$;$k(B [$B8uJdA*Br(B][$B5-9fF~NO(B] $B8=:_%Z!<%8$N:G8e$N8uJd(B($B5-9f(B)$B$K0\F0$9$k(B ------------------------------------------------------------------------------ clear [$BL$JQ49(B][$BJQ49:Q(B] $BF~NO$7$?J8$rA4$F:o=|$9$k(B [$B8uJdA*Br(B] $BF~NO$7$?J8$rA4$F:o=|$7!"8uJdA*Br%b!<%I$+$iH4$1$k(B [$B5-9fF~NO(B] $BF~NO$7$?J8$rA4$F:o=|$7!"5-9fF~NO%b!<%I$+$iH4$1$k(B ------------------------------------------------------------------------------ expand [$BJQ49:Q(B] $B%+%l%s%HBgJ8@a$r0lJ8;z$N$P$7:FJQ49$9$k(B [$BL$JQ49(B][$B8uJdA*Br(B][$B5-9fF~NO(B] $B%(%i!<(B ($B%Y%k$,LD$k(B) ------------------------------------------------------------------------------ expand-s [$BJQ49:Q(B] $B%+%l%s%H>.J8@a$r0lJ8;z$N$P$7:FJQ49$9$k(B [$BL$JQ49(B][$B8uJdA*Br(B][$B5-9fF~NO(B] $B%(%i!<(B ($B%Y%k$,LD$k(B) ------------------------------------------------------------------------------ shrink [$BJQ49:Q(B] $B%+%l%s%HBgJ8@a$r0lJ8;z$A$B$a:FJQ49$9$k(B [$BL$JQ49(B][$B8uJdA*Br(B][$B5-9fF~NO(B] $B%(%i!<(B ($B%Y%k$,LD$k(B) ------------------------------------------------------------------------------ shrink-s [$BJQ49:Q(B] $B%+%l%s%H>.J8@a$r0lJ8;z$A$B$a:FJQ49$9$k(B [$BL$JQ49(B][$B8uJdA*Br(B][$B5-9fF~NO(B] $B%(%i!<(B ($B%Y%k$,LD$k(B) ------------------------------------------------------------------------------ expand-noconv [$BJQ49:Q(B] $B%+%l%s%HBgJ8@a$r0lJ8;z$N$P$9(B $B:FJQ49$O$7$J$$(B ($B$d$C$F$_$k$H$o$+$j$^$9$,$3$l$O$"$^$j0UL#$,$"$j$^$;$s(B) [$BL$JQ49(B][$B8uJdA*Br(B][$B5-9fF~NO(B] $B%(%i!<(B ($B%Y%k$,LD$k(B) ------------------------------------------------------------------------------ expand-noconv-s [$BJQ49:Q(B] $B%+%l%s%H>.J8@a$r0lJ8;z$N$P$9(B $B:FJQ49$O$7$J$$(B ($B$d$C$F$_$k$H$o$+$j$^$9$,$3$l$O$"$^$j0UL#$,$"$j$^$;$s(B) [$BL$JQ49(B][$B8uJdA*Br(B][$B5-9fF~NO(B] $B%(%i!<(B ($B%Y%k$,LD$k(B) ------------------------------------------------------------------------------ shrink-noconv [$BJQ49:Q(B] $B%+%l%s%HBgJ8@a$r0lJ8;z$A$B$a$k(B $B:FJQ49$O$7$J$$(B ($B$d$C$F$_$k$H$o$+$j$^$9$,$3$l$O$"$^$j0UL#$,$"$j$^$;$s(B) [$BL$JQ49(B][$B8uJdA*Br(B][$B5-9fF~NO(B] $B%(%i!<(B ($B%Y%k$,LD$k(B) ------------------------------------------------------------------------------ shrink-noconv-s [$BJQ49:Q(B] $B%+%l%s%H>.J8@a$r0lJ8;z$A$B$a$k(B $B:FJQ49$O$7$J$$(B ($B$d$C$F$_$k$H$o$+$j$^$9$,$3$l$O$"$^$j0UL#$,$"$j$^$;$s(B) [$BL$JQ49(B][$B8uJdA*Br(B][$B5-9fF~NO(B] $B%(%i!<(B ($B%Y%k$,LD$k(B) ------------------------------------------------------------------------------ fix [$BL$JQ49(B][$BJQ49:Q(B] $BJ8$r3NDj$9$k(B [$B8uJdA*Br(B] $B8=:_%+!<%=%k$,$"$k8uJd$rA*Br$7$F$+$iJ8$r3NDj$9$k(B [$B5-9fF~NO(B] $B8=:_%+!<%=%k$,$"$k5-9f$rA*Br$7$F$+$iJ8$r3NDj$9$k(B ------------------------------------------------------------------------------ fix2 [$BL$JQ49(B][$BJQ49:Q(B][$B8uJdA*Br(B][$B5-9fF~NO(B] fix $B$HF1$8(B (fix $B$O3NDj$9$kJ8;z$,$J$$;~$K<B9T$9$k$H%Y%k$rLD$i$9$,!"(B fix2 $B$OC1$KL5;k$9$k(B) ------------------------------------------------------------------------------ fix-or-cr [$BL$JQ49(B][$BJQ49:Q(B] $BL$3NDjJ8;zNs$,$"$l$P3NDj$9$k!#(B $B$J$1$l$P(B carriage-return $B$HF1$8(B [$B8uJdA*Br(B][$B5-9fF~NO(B] carriage-return $B$HF1$8(B ------------------------------------------------------------------------------ fix-or-sendback [$BL$JQ49(B][$BJQ49:Q(B] $BL$3NDjJ8;zNs$,$"$l$P3NDj$9$k!#(B $B$J$1$l$P(B send-back $B$HF1$8(B [$B8uJdA*Br(B][$B5-9fF~NO(B] send-back $B$HF1$8(B ------------------------------------------------------------------------------ to-hankaku [$BL$JQ49(B][$BJQ49:Q(B] $B%+%l%s%HJ8@a$rH>3QJ8;z$K$9$k(B [$B8uJdA*Br(B] $B%+%l%s%HJ8@a$rH>3QJ8;z$K$7!"8uJdA*Br%b!<%I$rH4$1$k(B [$B5-9fF~NO(B] $B%(%i!<(B ($B%Y%k$,LD$k(B) ------------------------------------------------------------------------------ to-zenkaku [$BL$JQ49(B][$BJQ49:Q(B] $B%+%l%s%HJ8@a$rA43QJ8;z$K$9$k(B [$B8uJdA*Br(B] $B%+%l%s%HJ8@a$rA43QJ8;z$K$7!"8uJdA*Br%b!<%I$rH4$1$k(B [$B5-9fF~NO(B] $B%(%i!<(B ($B%Y%k$,LD$k(B) ------------------------------------------------------------------------------ to-hiragana [$BL$JQ49(B][$BJQ49:Q(B] $B%+%l%s%HJ8@a$r$R$i$,$J$K$9$k(B [$B8uJdA*Br(B] $B%+%l%s%HJ8@a$r$R$i$,$J$K$7!"8uJdA*Br%b!<%I$rH4$1$k(B [$B5-9fF~NO(B] $B%(%i!<(B ($B%Y%k$,LD$k(B) ------------------------------------------------------------------------------ to-katakana [$BL$JQ49(B][$BJQ49:Q(B] $B%+%l%s%HJ8@a$r%+%?%+%J$K$9$k(B [$B8uJdA*Br(B] $B%+%l%s%HJ8@a$r%+%?%+%J$K$7!"8uJdA*Br%b!<%I$rH4$1$k(B [$B5-9fF~NO(B] $B%(%i!<(B ($B%Y%k$,LD$k(B) ------------------------------------------------------------------------------ backspace [$BL$JQ49(B] $B%+!<%=%k$NA0$NJ8;z$r:o=|$9$k(B [$BJQ49:Q(B] $B%+%l%s%HBgJ8@a$rL$JQ49>uBV$KLa$7$F$+$i%+!<%=%k$N(B $BA0$NJ8;z$r:o=|$9$k(B [$B8uJdA*Br(B] $B8uJdA*Br%b!<%I$rH4$1!"%+%l%s%HJ8@a$rL$JQ49>uBV$K(B $BLa$7$F$+$i%+!<%=%k$NA0$NJ8;z$r:o=|$9$k(B [$B5-9fF~NO(B] $B5-9fF~NO%b!<%I$+$iH4$1$k(B ------------------------------------------------------------------------------ delete [$BL$JQ49(B] $B%+!<%=%k$N2<$NJ8;z$r:o=|$9$k(B [$BJQ49:Q(B] $B%+%l%s%HBgJ8@a$rL$JQ49>uBV$KLa$7$F$+$i%+!<%=%k$N(B $B2<$NJ8;z$r:o=|$9$k(B [$B8uJdA*Br(B] $B8uJdA*Br%b!<%I$rH4$1!"%+%l%s%HBgJ8@a$rL$JQ49>uBV$K(B $BLa$7$F$+$i%+!<%=%k$N2<$NJ8;z$r:o=|$9$k(B [$B5-9fF~NO(B] $B5-9fF~NO%b!<%I$+$iH4$1$k(B ------------------------------------------------------------------------------ kill-line [$BL$JQ49(B] $B%+!<%=%k$N2<$NJ8;z$H$=$l0J9_$r:o=|$9$k(B [$BJQ49:Q(B] $B%+%l%s%HJ8@a$H$=$l0J9_$r:o=|$9$k(B [$B8uJdA*Br(B] $B8uJdA*Br%b!<%I$+$iH4$1!"%+%l%s%HJ8@a0J9_$r:o=|$9$k(B [$B5-9fF~NO(B] $B5-9fF~NO%b!<%I$+$iH4$1$k!"$=$l0J9_$r:o=|$9$k(B ------------------------------------------------------------------------------ carriage-return [$BL$JQ49(B][$BJQ49:Q(B] $BJ8$r3NDj$7!"$=$N8e2~9TJ8;z$rA^F~$9$k(B [$B8uJdA*Br(B][$B5-9fF~NO(B] $B8=:_%+!<%=%k$N$"$k8uJd(B($B5-9f(B)$B$rA*Br$9$k(B ------------------------------------------------------------------------------ beep [$BL$JQ49(B][$BJQ49:Q(B][$B8uJdA*Br(B][$B5-9fF~NO(B] $B%Y%k$rLD$i$9(B ------------------------------------------------------------------------------ jiscode-begin [$BL$JQ49(B][$BJQ49:Q(B] JIS$B%3!<%IF~NO%b!<%I$K$O$$$k(B [$B8uJdA*Br(B][$B5-9fF~NO(B] $B%(%i!<(B ($B%Y%k$,LD$k(B) ------------------------------------------------------------------------------ jiscode-end [$BL$JQ49(B][$BJQ49:Q(B] JIS$B%3!<%IF~NO%b!<%I$r$L$1$k(B [$B8uJdA*Br(B][$B5-9fF~NO(B] $B%(%i!<(B ($B%Y%k$,LD$k(B) ------------------------------------------------------------------------------ kutencode-begin [$BL$JQ49(B][$BJQ49:Q(B] $B6hE@%3!<%IF~NO%b!<%I$K$O$$$k(B [$B8uJdA*Br(B][$B5-9fF~NO(B] $B%(%i!<(B ($B%Y%k$,LD$k(B) ------------------------------------------------------------------------------ kutencode-end [$BL$JQ49(B][$BJQ49:Q(B] $B6hE@%3!<%IF~NO%b!<%I$r$L$1$k(B [$B8uJdA*Br(B][$B5-9fF~NO(B] $B%(%i!<(B ($B%Y%k$,LD$k(B) ------------------------------------------------------------------------------ symbol-input [$BL$JQ49(B][$BJQ49:Q(B] $B5-9fF~NO%b!<%I$K$O$$$k(B [$B8uJdA*Br(B] $B%(%i!<(B ($B%Y%k$,LD$k(B) [$B5-9fF~NO(B] $B5-9fF~NO%b!<%I$+$iH4$1$k(B ------------------------------------------------------------------------------ send-back [$BL$JQ49(B][$BJQ49:Q(B][$B8uJdA*Br(B][$B5-9fF~NO(B] $B$3$N%U%!%s%/%7%g%s$r(B $B%H%j%,!<$7$?%-!<%$%Y%s%H$r%"%W%j%1!<%7%g%s$KAw$jJV$9(B ------------------------------------------------------------------------------ convert-move-top-or-sendback[$BL$JQ49(B] $BL$3NDjJ8;zNs$,$"$l$PL$JQ49$N@hF,J8(B $B@a$rO"J8@aJQ49$9$k!#$J$1$l$P(B send-back $B$HF1$8(B [$BJQ49:Q(B][$B8uJdA*Br(B][$B5-9fF~NO(B] convert-or-sendback $B$HF1$8(B ------------------------------------------------------------------------------ convert-move-top-or-space[$BL$JQ49(B] $BL$3NDjJ8;zNs$,$"$l$PL$JQ49$N@hF,J8(B $B@a$rO"J8@aJQ49$9$k!#$J$1$l$P%9%Z!<%9$,A^F~!&3NDj$5$l$k!#(B ($BMW$9$k$K(B egg $B$G(B wnn $B$r;H$$(B space $B$r2!$7$?;~$N$h$&$K$J$k(B) [$BJQ49:Q(B][$B8uJdA*Br(B][$B5-9fF~NO(B] convert-or-space $B$HF1$8(B ------------------------------------------------------------------------------ clear-or-cancel [$BJQ49:Q(B][$B8uJdA*Br(B] $B8uJdA*Br%b!<%I$rH4$1F~NO$5$l$?J8;z(B $BNs$rA4$F$R$i$,$J$K$b$I$7!"%+!<%=%k$rJ8$N:G8e$K0\F0$5$;$k(B [$BL$JQ49(B][$B5-9fF~NO(B] clear $B$HF1$8(B ------------------------------------------------------------------------------ backspace-or-cancel[$BJQ49:Q(B][$B8uJdA*Br(B] clear-or-cancel $B$HF1$8(B [$BL$JQ49(B][$B5-9fF~NO(B] backspace $B$HF1$8(B ------------------------------------------------------------------------------ delete-or-cancel[$BJQ49:Q(B][$B8uJdA*Br(B] clear-or-cancel $B$HF1$8(B [$BL$JQ49(B][$B5-9fF~NO(B] delete $B$HF1$8(B ------------------------------------------------------------------------------ convert-next-or-move-top-or-sendback[$BJQ49:Q(B] $B%+%l%s%HBgJ8@a$r<!8uJd$GCV$-49$($k(B [$BL$JQ49(B][$B8uJdA*Br(B][$B5-9fF~NO(B] convert-move-top-or-space $B$HF1$8(B ------------------------------------------------------------------------------ convert-next-or-move-top-or-space[$BJQ49:Q(B] $B%+%l%s%HBgJ8@a$r<!8uJd$GCV$-49$($k(B [$BL$JQ49(B][$B8uJdA*Br(B][$B5-9fF~NO(B] convert-move-top-or-space $B$HF1$8(B ------------------------------------------------------------------------------ select [$BL$JQ49(B][$B8uJdA*Br(B][$B5-9fF~NO(B] $B%(%i!<(B ($B%Y%k$,LD$k(B) [$BJQ49:Q(B] $B%+%l%s%HBgJ8@a$N8uJdA*Br%b!<%I$K$O$$$j!"(Bgoto $B$HF1MM$K(B $B<!$N%U%!%s%/%7%g%s$r<B9T$7$J$$(B ------------------------------------------------------------------------------ select-s [$BL$JQ49(B][$B8uJdA*Br(B][$B5-9fF~NO(B] $B%(%i!<(B ($B%Y%k$,LD$k(B) [$BJQ49:Q(B] $B%+%l%s%H>.J8@a$N8uJdA*Br%b!<%I$K$O$$$j!"(Bgoto $B$HF1MM$K(B $B<!$N%U%!%s%/%7%g%s$r<B9T$7$J$$(B ------------------------------------------------------------------------------ register [$BL$JQ49(B][$BJQ49:Q(B] $BC18lEPO?%f!<%F%#%j%F%#$r8F$S=P$9(B [$B8uJdA*Br(B][$B5-9fF~NO(B] $B%(%i!<(B ($B%Y%k$,LD$k(B) ------------------------------------------------------------------------------ ** $B%+%9%?%^%$%:Nc(B $B$3$3$G$OF~NOJ8;zJQ49Dj5A%U%!%$%k$N%+%9%?%^%$%:$K$D$$$F!"6qBNNc$r$"$2$F2r@b(B $B$7$^$9!#(B *** $BJQ49%U%!%s%/%7%g%s$N%P%$%s%G%#%s%0JQ99(B $B$^$:$OJQ49$K;HMQ$9$k%-!<$N3dEv$rJQ$($kNc$G$9!#%G%U%)%k%H$N%P%$%s%G%#%s%0$G(B $B$OJQ49$O(B '^J' $B$H(B '$B4A;z(B' $B%-!<$K3d$jEv$F$i$l$F$$$^$9$,!"$3$l$r(B '^W' $B$KJQ99$7(B $B$F$_$^$9!#(B $B%G%U%)%k%H$NDj5A%U%!%$%k(B (/usr/lib/X11/ccdef/ccdef.kinput2) $B$r8+$k$H!"(B include 'rule.func' $B$H$$$&9T$,$"$j!"JQ49$K;HMQ$9$k%-!<$O$3$N%U%!%$%k$KDj5A$5$l$F$$$k$3$H$,$o$+(B $B$j$^$9!#$7$?$,$C$F$3$N%U%!%$%k$rJQ99$9$l$P$h$$$N$G$9$,!"(B /usr/lib/X11/ccdef/rule.func$B$H$$$&%U%!%$%k$OB>$N?M$b;2>H$7$^$9$+$i!"$3$l$O(B $B$=$N$^$^$K$7$F$*$$$?J}$,$h$$$G$7$g$&!#(B $B$=$3$G$^$:4D6-JQ?t(B CC_DEF_PATH $B$rDj5A$7$F!"Dj5A%U%!%$%k$N%5!<%A%Q%9$rJQ99(B $B$7$^$9!#(B.cshrc $B$J$I$G(B setenv CC_DEF_PATH ~/ccdef $B$H@_Dj$9$k$H!"Dj5A%U%!%$%k$rC5$9$N$K(B ~/ccdef $B$H$$$&%G%#%l%/%H%j$,;H$o$l$^(B $B$9!#(BCC_DEF_PATH $B$G;XDj$7$?%G%#%l%/%H%j$O%G%U%)%k%H$N%G%#%l%/%H%j$G$"$k(B /usr/lib/X11/ccdef $B$h$j$b@h$KC5$5$l$^$9$N$G!"$3$3$K<+J,MQ$N(B rule.func $B$H$$(B $B$&%U%!%$%k$r:n$l$P$$$$$o$1$G$9!#(B/usr/lib/X11/ccdef/rule.func $B$r(B ~/ccdef/rule.func $B$K%3%T!<$7$F$+$i$3$l$r%(%G%#%C%H$7$^$9!#%U%!%$%kCf$K(B "" '^J' "" convert "" Kanji "" convert $B$H$$$&9T$,$"$j$^$9$+$i!"$3$l$r(B "" '^W' "" convert $B$KCV$-49$($l$P=*$j$G$9!#(B *** $B$+$JF~NO$X$NJQ99(B $B<!$O!"%m!<%^;z$+$JJQ49$r$7$F$+$J$rF~NO$9$k$N$G$O$J$/!"D>@\$+$J$rF~NO$9$k?M(B $B$N$?$a$NJQ99$G$9!#(B $B%G%U%)%k%H$NDj5A%U%!%$%k$O%m!<%^;zF~NOMQ$K$J$C$F$$$F!"%m!<%^;z$+$JJQ49$O(B Kana $B$H$$$&F~NO%b!<%I$G9T$J$o$l$k$h$&$K$J$C$F$$$^$9!#(B # $B%m!<%^;z(B mode Kana "$B%m!<%^(B" fallthrough All include 'rule.roma' "" Tab "" goto Ascii "" shift-Tab "" goto ZenkakuAscii "n" EXITMODE "$B$s(B" endmode $B<B:]$NJQ49%k!<%k$O(B rule.roma $B$H$$$&%U%!%$%k$KF~$C$F$$$^$9!#(B $B$5$F!"$3$3$rJQ$($l$P$+$JF~NOMQ$NDj5A%U%!%$%k$,$G$-$^$9!#<B$O$+$JF~NOMQ$NJQ(B $B49%k!<%k$O(B /usr/lib/X11/ccdef/rule.kana $B$KMQ0U$5$l$F$$$^$9!#$3$N%U%!%$%k$K(B $B$O<!$N$h$&$J%k!<%k$,=q$+$l$F$$$^$9!#(B "" '3' "$B$"(B" "" '#' "$B$!(B" "" 'e' "$B$$(B" "" 'E' "$B$#(B" $B8+$l$P$o$+$k$H;W$$$^$9$,!"$3$N%k!<%k$5$($"$l$PJL$K$+$J%-!<%\!<%I$G$J$/$H$b(B $B$+$JF~NO$9$k$3$H$,$G$-$^$9!#(B $B$5$F!"$3$NJQ99$N$?$a$K$O(B ccdef.kinput2 $B$rJQ99$7$J$1$l$P$J$j$^$;$s!#$=$3$G(B $B@h$[$I$HF1$8$h$&$K4D6-JQ?t(B CC_DEF_PATH $B$K(B ~/ccdef $B$r;XDj$7!"(B /usr/lib/X11/ccdef/ccdef.kinput2 $B$r(B ~/ccdef/ccdef.kinput2 $B$K%3%T!<$7$^$9!#(B $B$=$7$F!"(BKana $B%b!<%I$N5-=R$r(B # $B$+$J(B mode Roma "$B$+$J(B" fallthrough All include 'rule.kana' "" Tab "" goto Ascii "" shift-Tab "" goto ZenkakuAscii endmode $B$KJQ$($l$P$+$JF~NOMQ$NDj5A%U%!%$%k$N=PMh>e$,$j$G$9!#(B *** Emacs $BMQ$NJQ99(B $B%+%9%?%^%$%:$N:G8e$NNc$H$7$F!"(Bemacs $B$r;H$&;~$KJXMx$JJQ99$r>R2p$7$^$9!#(B $B$4B8CN$N$h$&$K!"(Bemacs $B$O%3%s%H%m!<%k%-!<$r6n;H$7$FJT=8$r9T$J$$$^$9!#%j%=!<(B $B%9(BsendbackKeyPress $B$,(B True $B$K$J$C$F$$$l$P!"L$3NDj$NJ8;zNs$,$J$$>uBV$G$O$[(B $B$H$s$I$N%3%s%H%m!<%k%-!<$O(B($B$=$N%-!<$,JQ49%U%!%s%/%7%g%s$K3d$jEv$F$i$l$F$$(B $B$F$b(B) $B$=$N$^$^%"%W%j%1!<%7%g%s$KEO$5$l$^$9$N$G!"$+$J4A;zJQ49$,$G$-$kF~NO%b!<(B $B%I$N$^$^(B emacs $B$K%3%^%s%I$rM?$($k$3$H$,$G$-$^$9!#$7$+$7Cf$K$O(B '^Xo' $B$J$I$N(B $B$h$&$K#2%9%H%m!<%/$N%3%^%s%I$,$"$j!"$3$l$r%m!<%^;zF~NO%b!<%I$N$^$^F~NO$9$k(B $B$H(B '^X' $B$O(B emacs $B$KEO$5$l$^$9$,!"(B'o' $B$O(B '$B$*(B' $B$KJQ49$5$l$F$7$^$$$^$9!#(B $B$3$l$G$OITJX$J$N$G!"(B'^X' $B$H(B '^[' $B$N$"$H$N#1J8;z$O$=$N$^$^%"%W%j%1!<%7%g%s(B $B$KEO$5$l$k$h$&$KDj5A%U%!%$%k$r=$@5$7$F$_$^$9!#(B $B$H$O$$$C$F$b$3$l$O$+$J$j%H%j%C%-!<$JJ}K!$r;H$&I,MW$,$"$j$^$9!#(B $B$^$:(B /usr/lib/X11/ccdef/ccdef.kinput2 $B$r(B ~/ccdef $B$K%3%T!<$7$^$9!#$=$7$F(B $B?7(B $B$?$K(B AsciiHack$B!"(BZenkakuAsciiHack $B$H(B KanaHack $B$N#3$D$N%b!<%I$rDI2C$7$^$9!#(B defmode Ascii <$BCfN,(B> Restricted AsciiHack ZenkakuAsciiHack KanaHack Ascii$B!"(BZenkakuAscii$B!"(BKana $B$N3F%b!<%I$K<!$N%k!<%k$rDI2C$7$^$9!#(B "" '^[' "" goto <$B%b!<%IL>(B>Hack "" '^X' "" goto <$B%b!<%IL>(B>Hack $B$?$@$7(B <$B%b!<%IL>(B> $B$K$O3F%b!<%IL>$,F~$j$^$9!#(B $B<!$K(B AsciiHack$B!"(BZenkakuAsciiHack$B!"(BKanaHack $B$N3F%b!<%I$rDI2C$7$^$9!#(B mode <$B%b!<%IL>(B> "<$B%W%m%s%W%HJ8;zNs(B>" "" @ascii "" goto PREV endmode $B$3$3$G=EMW$J$3$H$O!V(B<$B%W%m%s%W%HJ8;zNs(B> $B$K$O85$N%b!<%I(B (AsciiHack $B$J$i(B Ascii)$B$N%W%m%s%W%HJ8;zNs$HF1$8$b$N$r;XDj$9$k!W$H$$$&$3$H$G$9!#(B $B$3$N$h$&$K$9$k$H0l1~(B '^X' $B$H(B '^[' $B$N$"$H$N#1J8;z$O$=$N$^$^%"%W%j%1!<%7%g%s(B $B$KEO$5$l$k$h$&$K$J$j$^$9!#$?$@$"$^$j$K$b%H%j%C%-!<$JJ}K!$J$N$G!"$J$<$=$&$J(B $B$k$N$+$O(B ($B$A$g$C$HCQ$:$+$7$/$F(B) $B$3$3$G$O@bL@$7$^$;$s!#(B *** Mule $B$d(B Emacs $B$N(B Egg $B$K9g$o$;$?%-!<%P%$%s%G%#%s%0(B $BIaCJ(B Mule $B$d(B Emacs $B$G(B Egg $B$rMxMQ$7$FF|K\8lF~NO$r9T$J$C$F$$$kJ}$O!"(B kinput2 $B$KIUB0$9$k(B ccdef.kinput2.egg $B$rMxMQ$9$k$H!"(Bkinput2 $B$G$b$[$\F1(B $BEy$N%-!<%P%$%s%G%#%s%0$r<B8=$9$k$3$H$,$G$-$^$9!#(B $B$d$j$+$?$O4JC1$G!"8D?M$N%j%=!<%9%U%!%$%k(B (~/.Xresources $B$J$I(B) $B$K<!$N9T$r(B $BDI2C$9$k$@$1$G$9!#(B Kinput2*CcWnn.ccdef: ccdef.kinput2.egg $B$3$l$G%G%U%)%k%H$N(B ccdef.kinput2 $B$NBe$o$j$K(B ccdef.kinput2.egg $B$,;H$o$l(B $B$k$h$&$K$J$j$^$9!#(B $BKt!"(Begg $B$G$O(B nn $B"*(B $B$s(Bn $B$H%m!<%^;zJQ49$5$l$F$7$^$$$^$9$,!"$3$l$r!"(B nn $B"*(B $B$s(B $B$H$J$k$h$&$K(B egg $B$r%+%9%?%^%$%:$7$F$$$kJ}$OB?$$$H;W$$$9!#(Bkinput2 $B$G$3(B $B$N%+%9%?%^%$%:$r$9$k$K$O!"(Bccdef.kinput2.egg$B!"(Brule.hiragana.egg$B!"(B rule.katakana.egg$B!"(Brule.kigou.egg $B$r!"Nc$($P(B ~/ccdef $B$K%3%T!<$7$F$*$$(B $B$F!"(B~/ccdef/rule.hiragana.egg $B$N(B # "n" 'n' "$B$s(B" $B$H!"(B~/ccdef/rule.katakana.egg $B$N(B # "n" 'n' "$B%s(B" $B$N%3%a%s%H$r30$7$F2<$5$$(B ($B9TF,$N(B # $B$r<h$j=|$$$F2<$5$$(B)$B!#$=$7$F!"(B CC_DEF_PATH $B4D6-JQ?t$K(B ~/ccdef $B$r;XDj$7$F$*$1$P!"%k!<%k$,(B ~/ccdef $B$+$i(B $B$b8!:w$5$l$k$N$G$3$N@_Dj$,M-8z$K$J$j$^$9!#(B $B$J$*!"$3$N(B Egg $BMQ$N@_Dj(B ($B$*$h$S$3$N@_Dj$N$?$a$N(B kinput2 $BK\BN$N3HD%(B) $B$OB?2lF`M3B@$5$s$,:n@.$5$l!"$=$l$r4sB#$7$F$$$?$@$$$?$b$N$G$9!#(B