/usr/share/doc/HOWTO/ja-html/Linux-Chinese-HOWTO-6.html is in doc-linux-ja-html 2006.05.25-1.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
<TITLE>Linux-Chinese-HOWTO: $BCfJ84D6-$N9=C[(B</TITLE>
<LINK HREF="Linux-Chinese-HOWTO-7.html" REL=next>
<LINK HREF="Linux-Chinese-HOWTO-5.html" REL=previous>
<LINK HREF="Linux-Chinese-HOWTO.html#toc6" REL=contents>
</HEAD>
<BODY>
<A HREF="Linux-Chinese-HOWTO-7.html">$B<!$N%Z!<%8(B</A>
<A HREF="Linux-Chinese-HOWTO-5.html">$BA0$N%Z!<%8(B</A>
<A HREF="Linux-Chinese-HOWTO.html#toc6">$BL\<!$X(B</A>
<HR>
<H2><A NAME="s6">6. $BCfJ84D6-$N9=C[(B</A></H2>
<P>$BCfJ8%7%9%F%`$N9=C[:n6H$,40N;$7$^$7$?$N$G!"4{$K(B Linux $B%7%9%F%`>e$GCfJ8(B
$B$,I=<($G$-$k$h$&$K$J$j$^$7$?!#$7$+$7!"$3$N$^$^$G$OCfJ8$NJ8=qJT=8%=%U%H(B
$B$r;HMQ$7$?>l9g!"$"$J$?$N(B Linux $B%7%9%F%`$OCfJ8$NI=<($N$_$,2DG=$G!"CfJ8$N(B
$BF~NO$OA4$/$G$-$J$$$3$H$K5$IU$/$G$7$g$&!#$3$NLdBj$r2r7h$7!"(BLinux $B%7%9(B
$B%F%`$GCfJ8$NF~=PNO:n6H$r2DG=$K$9$k$K$O!"$"$H#28D=jJQ99$7$J$1$l$P$J$j$^(B
$B$;$s!#(B
<P>$B$^$:;HMQ$7$F$$$k(B Shell $B$N5/F0%U%!%$%k$K(B locale $B$N@_Dj$rDI2C$7$^$9!#(B
$B!J(B locale $B$K4X$9$k>\:Y$O(B Locales mini-HOWTO $B$r;2>H$7$F2<$5$$!#!K$5$i$K!"(B
$B%[!<%`%G%#%l%/%H%j!J(B home directory $B!K$K$"$k(B <CODE>.inputrc</CODE> $B%U%!%$%k!J(B $B%[!<%`(B
$B%G%#%l%/%H%j$K$J$$>l9g$O?75,$K:n@.$7$^$9!#!K$KF~NO@_Dj$rDI2C$7$^$9!#(B
$B0J2<$K(B Shell $B$N5/F0%U%!%$%k$H(B <CODE>.inputrc</CODE> $B4XO"$N@_Dj$r>R2p$7$^$9$N$G;29M(B
$B$K$7$F2<$5$$!#(B
<P>
<P>Shell$B!'(B
<P>Bash$B!'(B<BR>
<CODE>/etc/profile</CODE> $B$K0J2<$NFbMF$rDI2C!'(B
<BLOCKQUOTE><CODE>
<PRE>
stty cs8 -istrip
stty pass8
export LANG=C
export LC_CTYPE=iso-8859-1
</PRE>
</CODE></BLOCKQUOTE>
<P>Tcsh$B!'(B<BR>
<CODE>/etc/csh.login</CODE> $B$H(B <CODE>/etc/csh.cshrc</CODE> $B$K0J2<$N@_Dj$rDI2C!'(B
<BLOCKQUOTE><CODE>
<PRE>
stty cs8 -istrip
stty pass8
setenv LANG C
setenv LC_CTYPE=iso-8859-1
</PRE>
</CODE></BLOCKQUOTE>
<P><CODE>$HOME/.inputrc</CODE> $B%U%!%$%k$K0J2<$N@_Dj$rDI2C!'(B<BR>
<BLOCKQUOTE><CODE>
<PRE>
set convert-meta off
set output-meta on
</PRE>
</CODE></BLOCKQUOTE>
<P>
<P>$B:G8e$K!"3F<+!"CfJ8$N4^$^$l$F$$$k%U%!%$%k$rMQ0U$7$F!"0J2<$N$h$&$K(B
grep $B$r;HMQ$7$F%U%!%$%k$NCf$NJ8;z$r8!:w$7$F$_$F$/$@$5$$!#$b$78!:w(B
$B2DG=$G$"$l$P(B Linux $B%7%9%F%`$O4{$KCfJ8J8;z$N=hM}$,2DG=$G$"$k>ZL@$K(B
$B$J$j$^$9!#(B
<BLOCKQUOTE><CODE>
<PRE>
linux(22:12:40)~: cat ./chinese-test.txt
Linux $B@'0lEegP(B Unix $BAjMFE*(B Unix-clone (Unix $B!!IJ(B), $BLi@'0lEeLHHqE*:n6H(B
$B7OE}(B.$B=|N;LHHqG730(B, $BG!2L!!BP7OE}Dx<0@_7WM-8&5fE*6=<q(B, $B!!ET2D0J<+8JGDB>(B
$BE*7OE}3K?4Y=Mh8&5f(B, $B?S;j2D0J2~A1B6:x8mE*COJ}(B ($B0?A}6/!!E*8yG=(B!!). $BGg="(B
$B@'I.<TWL4n4?(B Linux $BGgEe:n6H7OE}E*860x(B.
linux(22:12:42)~: gerp '$B2~A1(B' ./chinese-test.txt
$BY=Mh8&5f(B, $B?S;j2D0J2~A1B6:x8mE*COJ}(B ($B0?A}6/!!E*8yG=(B!!). $BGg="@'I.<TWL4n4?(B
linux(22:12:54)~:
</PRE>
</CODE></BLOCKQUOTE>
<P>
<HR>
<A HREF="Linux-Chinese-HOWTO-7.html">$B<!$N%Z!<%8(B</A>
<A HREF="Linux-Chinese-HOWTO-5.html">$BA0$N%Z!<%8(B</A>
<A HREF="Linux-Chinese-HOWTO.html#toc6">$BL\<!$X(B</A>
</BODY>
</HTML>
|