OSDN Git Service

Update release for LDP 3.67
[linuxjm/LDP_man-pages.git] / release / man5 / charmap.5
1 .\" This file is part of locale(1) which displays the settings of the
2 .\" current locale.
3 .\" Copyright (C) 1994  Jochen Hein (Hein@Student.TU-Clausthal.de)
4 .\"
5 .\" %%%LICENSE_START(GPLv2+_SW_3_PARA)
6 .\" This program is free software; you can redistribute it and/or modify
7 .\" it under the terms of the GNU General Public License as published by
8 .\" the Free Software Foundation; either version 2 of the License, or
9 .\" (at your option) any later version.
10 .\"
11 .\" This program is distributed in the hope that it will be useful,
12 .\" but WITHOUT ANY WARRANTY; without even the implied warranty of
13 .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 .\" GNU General Public License for more details.
15 .\"
16 .\" You should have received a copy of the GNU General Public
17 .\" License along with this manual; if not, see
18 .\" <http://www.gnu.org/licenses/>.
19 .\" %%%LICENSE_END
20 .\"
21 .\"*******************************************************************
22 .\"
23 .\" This file was generated with po4a. Translate the source file.
24 .\"
25 .\"*******************************************************************
26 .\"
27 .\" Japanese Version Copyright (c) 1997 HANATAKA Shinya
28 .\"         all rights reserved.
29 .\" Translated Thu Feb  5 21:12:56 JST 1998
30 .\"         by HANATAKA Shinya <hanataka@abyss.rim.or.jp>
31 .\" Updated Wed Jan  9 JST 2001 by Kentaro Shirakata <argrath@ub32.org>
32 .\"
33 .TH CHARMAP 5 1994\-11\-28 "" "Linux User Manual"
34 .SH 名前
35 charmap \- 文字符号化を定義するための文字シンボル
36 .SH 説明
37 .\" Not true anymore:
38 .\" The portable character set is defined in the file
39 .\" .I /usr/lib/nls/charmap/POSIX
40 .\" .I /usr/share/i18n/charmap/POSIX
41 .\" for reference purposes.
42 文字集合記述 (charmap) は使用できる文字集合とその符号化を定義する。 サポートされる全ての文字集合は妥当なサブセットとして \fB共通文字集合
43 (portable character set)\fP を持たなければならない。
44 .SS 文法
45 charmap ファイルは以下のキーワードからなるヘッダーで始まる:
46 .TP 
47 \fI<codeset>\fP
48 はコードセットの名前を指定する。
49 .TP 
50 \fI<mb_cur_max>\fP
51 は複数バイト文字の一文字あたりの最大バイト数を指定する。 複数バイト文字は現在のところサポートされていない。デフォルトは 1 である。
52 .TP 
53 \fI<mb_cur_min>\fP
54 は一文字あたりの最低バイト数を指定する。この値は \fBmb_cur_max\fP 以下でなければならない。 もし指定されなければデフォルトは
55 \fBmb_cur_max\fP と同じである。
56 .TP 
57 \fI<escape_char>\fP
58 ファイルの残りの部分でエスケープ・キャラクターとして使用する文字 を指定する。これで特殊な意味に解釈される文字をエスケープする。
59 デフォルトはバックスラッシュ (\fB\e\fP)  である。
60 .TP 
61 \fI<comment_char>\fP
62 はファイルの残りの部分でコメント・キャラクターとして使用する文字 を指定する。デフォルトではシャープ (\fB#\fP)  である。
63 .PP
64 charmap の定義そのものは第一カラムにキーワード \fBCHARMAP\fP を置くことで始める。
65
66 以下の行は文字の符号化を定義するための二つの方法である:
67 .TP 
68 \fI<symbolic\-name> <encoding> <comments>\fP
69 これは一つの文字とその符号化を定義する。
70 .TP 
71 \fI<symbolic\-name>...<symbolic\-name> <encoding> <comments>\fP
72 この形式は複数の文字を定義する。これは複数バイト文字 (現在は実装されていない)  のみで有用である。
73 .PP
74 charmap の定義の最後の行は \fBEND CHARMAP\fP を置く。
75 .SS シンボル名
76 文字の \fBシンボル名 (symbolic name)\fP は \fB共通文字集合(portable character set)\fP
77 の文字のみを含んでいる。 この名前はかぎかっこ < > で挟む。 \fB<escape_char>\fP
78 に続く文字はそれ自身として解釈される。例えば \fB<\e\e\e>>\fP のような文字列は \fB\e>\fP
79 というシンボル名をかぎかっこで狭んで表現している。
80 .SS 文字符号化
81 符号化は以下の三つの形式のどれかで表す:
82 .TP 
83 \fI<escape_char>d<数字>\fP
84 は 10 進の数値を表す。
85 .TP 
86 \fI<escape_char>x<数字>\fP
87 は 16 進の数値を表す。
88 .TP 
89 \fI<escape_char><数字>\fP
90 .\" FIXME comments
91 .\" FIXME char ... char
92 は 8 進の数値を表す。
93 .SH ファイル
94 .\" .SH AUTHOR
95 .\" Jochen Hein (jochen.hein@delphi.central.de)
96 \fI/usr/share/i18n/charmaps/*\fP
97 .SH 準拠
98 POSIX.2.
99 .SH 関連項目
100 \fBlocale\fP(1), \fBlocaledef\fP(1), \fBlocaleconv\fP(3), \fBsetlocale\fP(3),
101 \fBlocale\fP(5)
102 .SH この文書について
103 この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.67 の一部
104 である。プロジェクトの説明とバグ報告に関する情報は
105 http://www.kernel.org/doc/man\-pages/ に書かれている。