Open System Services Shell and Utilities Reference Manual (G06.27+, H06.04+)

charmap(4) OSS Shell and Utilities Reference Manual
<escape_char>
Species the escape character that indicates encodings in hexadecimal or octal
notation. The default value is a \ (backslash).
<comment_char>
Species the character used to indicate a comment within a charmap le. The
default value is a # (number sign).
Mapping statements for the dened coded character set.
Each statement in this section lists a symbolic name for a character and its associated
encodings. A symbolic name begins with the < (left angle bracket) character and ends
with the > (right angle bracket) character. The characters between the < and > can be
any characters from the portable character set, except for control and space characters.
The > character may be used if it is escaped with the escape character (as specied by
the <escape_char> special symbolic name). A symbolic name cannot exceed 32 bytes
in length.
The format of a symbolic name denition is:
<char_symbol> encoding
An encoding is specied as one or more character constants, with the maximum number
of character constants specied by the <mb_cur_max> special symbolic name. The
encodings may be listed as decimal, octal, or hexadecimal constants with the following
formats:
Hexadecimal constant \xxxx, where x is a hexadecimal digit.
Octal constant \ooo, where o is an octal digit.
Decimal constant \dddd, where d is a decimal digit.
Some examples of character symbol denitions are the following:
<A> \d65 #decimal constant
<B> \x42 #hexadecimal constant
<j10101> \x81\xA1 #multiple hexadecimal constants
A range of symbolic names and corresponding encoded values may also be dened,
where the non-numeric prex for each symbolic name is common, and the numeric por-
tion of the second symbolic name is equal to or greater than the numeric portion of the
rst symbolic name. In this format, a symbolic name value consists of zero or more
non-numeric characters followed by an integer of one or more decimal digits. This for-
mat denes a series of symbolic names. For example, the string <j0101>...<j0104> is
interpreted as the <j0101>, <j0102>, <j0103>, and <j0104> symbolic names, in that
order.
In statements dening ranges of symbolic names, the encoded value listed is the value
for the rst symbolic name in the range. Subsequent symbolic names have encoded
values in increasing order. For example:
<j0101>...<j0104> \d129\d254
The preceding statement is interpreted as follows:
<j0101> \d129\d254
<j0102> \d129\d255
<j0103> \d130\d0
<j0104> \d130\d1
114 Hewlett-Packard Company 527188-004