OSDN Git Service

d5d86bac5c7efaed4a5045a191e598fdcafddad7
[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 .TH CHARMAP 5 1994\-11\-28 "" "Linux User Manual"
27 .SH 名前
28 charmap \- 文字符号化を定義するための文字シンボル
29 .SH 説明
30 .\" Not true anymore:
31 .\" The portable character set is defined in the file
32 .\" .I /usr/lib/nls/charmap/POSIX
33 .\" .I /usr/share/i18n/charmap/POSIX
34 .\" for reference purposes.
35 文字集合記述 (charmap) は使用できる文字集合とその符号化を定義する。 サポートされる全ての文字集合は妥当なサブセットとして \fB共通文字集合
36 (portable character set)\fP を持たなければならない。
37 .SS 文法
38 charmap ファイルは以下のキーワードからなるヘッダーで始まる:
39 .TP 
40 \fI<codeset>\fP
41 はコードセットの名前を指定する。
42 .TP 
43 \fI<mb_cur_max>\fP
44 は複数バイト文字の一文字あたりの最大バイト数を指定する。 複数バイト文字は現在のところサポートされていない。デフォルトは 1 である。
45 .TP 
46 \fI<mb_cur_min>\fP
47 は一文字あたりの最低バイト数を指定する。この値は \fBmb_cur_max\fP 以下でなければならない。 もし指定されなければデフォルトは
48 \fBmb_cur_max\fP と同じである。
49 .TP 
50 \fI<escape_char>\fP
51 ファイルの残りの部分でエスケープ・キャラクターとして使用する文字 を指定する。これで特殊な意味に解釈される文字をエスケープする。
52 デフォルトはバックスラッシュ (\fB\e\fP)  である。
53 .TP 
54 \fI<comment_char>\fP
55 はファイルの残りの部分でコメント・キャラクターとして使用する文字 を指定する。デフォルトではシャープ (\fB#\fP)  である。
56 .PP
57 charmap の定義そのものは第一カラムにキーワード \fBCHARMAP\fP を置くことで始める。
58
59 以下の行は文字の符号化を定義するための二つの方法である:
60 .TP 
61 \fI<symbolic\-name> <encoding> <comments>\fP
62 これは一つの文字とその符号化を定義する。
63 .TP 
64 \fI<symbolic\-name>...<symbolic\-name> <encoding> <comments>\fP
65 この形式は複数の文字を定義する。これは複数バイト文字 (現在は実装されていない)  のみで有用である。
66 .PP
67 charmap の定義の最後の行は \fBEND CHARMAP\fP を置く。
68 .SS シンボル名
69 文字の \fBシンボル名 (symbolic name)\fP は \fB共通文字集合(portable character set)\fP
70 の文字のみを含んでいる。 この名前はかぎかっこ < > で挟む。 \fB<escape_char>\fP
71 に続く文字はそれ自身として解釈される。例えば \fB<\e\e\e>>\fP のような文字列は \fB\e>\fP
72 というシンボル名をかぎかっこで狭んで表現している。
73 .SS 文字符号化
74 符号化は以下の三つの形式のどれかで表す:
75 .TP 
76 \fI<escape_char>d<数字>\fP
77 は 10 進の数値を表す。
78 .TP 
79 \fI<escape_char>x<数字>\fP
80 は 16 進の数値を表す。
81 .TP 
82 \fI<escape_char><数字>\fP
83 .\" FIXME comments
84 .\" FIXME char ... char
85 は 8 進の数値を表す。
86 .SH ファイル
87 .\" .SH AUTHOR
88 .\" Jochen Hein (jochen.hein@delphi.central.de)
89 \fI/usr/share/i18n/charmaps/*\fP
90 .SH 準拠
91 POSIX.2.
92 .SH 関連項目
93 \fBlocale\fP(1), \fBlocaledef\fP(1), \fBlocaleconv\fP(3), \fBsetlocale\fP(3),
94 \fBlocale\fP(5)
95 .SH この文書について
96 この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.52 の一部
97 である。プロジェクトの説明とバグ報告に関する情報は
98 http://www.kernel.org/doc/man\-pages/ に書かれている。