File: charmap.5

package info (click to toggle)
manpages-ja 0.5.0.0.20140515%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 27,672 kB
  • ctags: 7
  • sloc: perl: 161; makefile: 98
file content (105 lines) | stat: -rw-r--r-- 4,894 bytes parent folder | download
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
.\" This file is part of locale(1) which displays the settings of the
.\" current locale.
.\" Copyright (C) 1994  Jochen Hein (Hein@Student.TU-Clausthal.de)
.\"
.\" %%%LICENSE_START(GPLv2+_SW_3_PARA)
.\" This program is free software; you can redistribute it and/or modify
.\" it under the terms of the GNU General Public License as published by
.\" the Free Software Foundation; either version 2 of the License, or
.\" (at your option) any later version.
.\"
.\" This program is distributed in the hope that it will be useful,
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
.\" GNU General Public License for more details.
.\"
.\" You should have received a copy of the GNU General Public
.\" License along with this manual; if not, see
.\" <http://www.gnu.org/licenses/>.
.\" %%%LICENSE_END
.\"
.\"*******************************************************************
.\"
.\" This file was generated with po4a. Translate the source file.
.\"
.\"*******************************************************************
.\"
.\" Japanese Version Copyright (c) 1997 HANATAKA Shinya
.\"         all rights reserved.
.\" Translated Thu Feb  5 21:12:56 JST 1998
.\"         by HANATAKA Shinya <hanataka@abyss.rim.or.jp>
.\" Updated Wed Jan  9 JST 2001 by Kentaro Shirakata <argrath@ub32.org>
.\"
.TH CHARMAP 5 1994\-11\-28 "" "Linux User Manual"
.SH 名前
charmap \- 文字符号化を定義するための文字シンボル
.SH 説明
.\" Not true anymore:
.\" The portable character set is defined in the file
.\" .I /usr/lib/nls/charmap/POSIX
.\" .I /usr/share/i18n/charmap/POSIX
.\" for reference purposes.
文字集合記述 (charmap) は使用できる文字集合とその符号化を定義する。 サポートされる全ての文字集合は妥当なサブセットとして \fB共通文字集合
(portable character set)\fP を持たなければならない。
.SS 文法
charmap ファイルは以下のキーワードからなるヘッダーで始まる:
.TP 
\fI<codeset>\fP
はコードセットの名前を指定する。
.TP 
\fI<mb_cur_max>\fP
は複数バイト文字の一文字あたりの最大バイト数を指定する。 複数バイト文字は現在のところサポートされていない。デフォルトは 1 である。
.TP 
\fI<mb_cur_min>\fP
は一文字あたりの最低バイト数を指定する。この値は \fBmb_cur_max\fP 以下でなければならない。 もし指定されなければデフォルトは
\fBmb_cur_max\fP と同じである。
.TP 
\fI<escape_char>\fP
ファイルの残りの部分でエスケープ・キャラクターとして使用する文字 を指定する。これで特殊な意味に解釈される文字をエスケープする。
デフォルトはバックスラッシュ (\fB\e\fP)  である。
.TP 
\fI<comment_char>\fP
はファイルの残りの部分でコメント・キャラクターとして使用する文字 を指定する。デフォルトではシャープ (\fB#\fP)  である。
.PP
charmap の定義そのものは第一カラムにキーワード \fBCHARMAP\fP を置くことで始める。

以下の行は文字の符号化を定義するための二つの方法である:
.TP 
\fI<symbolic\-name> <encoding> <comments>\fP
これは一つの文字とその符号化を定義する。
.TP 
\fI<symbolic\-name>...<symbolic\-name> <encoding> <comments>\fP
この形式は複数の文字を定義する。これは複数バイト文字 (現在は実装されていない)  のみで有用である。
.PP
charmap の定義の最後の行は \fBEND CHARMAP\fP を置く。
.SS シンボル名
文字の \fBシンボル名 (symbolic name)\fP は \fB共通文字集合(portable character set)\fP
の文字のみを含んでいる。 この名前はかぎかっこ < > で挟む。 \fB<escape_char>\fP
に続く文字はそれ自身として解釈される。例えば \fB<\e\e\e>>\fP のような文字列は \fB\e>\fP
というシンボル名をかぎかっこで狭んで表現している。
.SS 文字符号化
符号化は以下の三つの形式のどれかで表す:
.TP 
\fI<escape_char>d<数字>\fP
は 10 進の数値を表す。
.TP 
\fI<escape_char>x<数字>\fP
は 16 進の数値を表す。
.TP 
\fI<escape_char><数字>\fP
.\" FIXME comments
.\" FIXME char ... char
は 8 進の数値を表す。
.SH ファイル
.\" .SH AUTHOR
.\" Jochen Hein (jochen.hein@delphi.central.de)
\fI/usr/share/i18n/charmaps/*\fP
.SH 準拠
POSIX.2.
.SH 関連項目
\fBlocale\fP(1), \fBlocaledef\fP(1), \fBlocaleconv\fP(3), \fBsetlocale\fP(3),
\fBlocale\fP(5)
.SH この文書について
この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.65 の一部
である。プロジェクトの説明とバグ報告に関する情報は
http://www.kernel.org/doc/man\-pages/ に書かれている。