Open System Services Shell and Utilities Reference Manual (G06.27+, H06.04+)
charmap(4) OSS Shell and Utilities Reference Manual
<escape_char>
Specifies the escape character that indicates encodings in hexadecimal or octal
notation. The default value is a \ (backslash).
<comment_char>
Specifies the character used to indicate a comment within a charmap file. The
default value is a # (number sign).
• Mapping statements for the defined 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 specified by
the <escape_char> special symbolic name). A symbolic name cannot exceed 32 bytes
in length.
The format of a symbolic name definition is:
<char_symbol> encoding
An encoding is specified as one or more character constants, with the maximum number
of character constants specified 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 definitions 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 defined,
where the non-numeric prefix 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
first 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 defines 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 defining ranges of symbolic names, the encoded value listed is the value
for the first 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
11−4 Hewlett-Packard Company 527188-004