Debian Codegraph @

upstream/opensuse-tumbleweed/man8/getunimap.8

raw
1 .TH GETUNIMAP 8 "24 October 2024" "kbd"
2
3 .SH NAME
4 getunimap \- dump the unicode map for the current console to stdout
5
6 .SH SYNOPSIS
7 .B getunimap
8 [\fI\,options\/\fR]
9
10 .SH DESCRIPTION
11 The
12 .B getunimap
13 program is old and obsolete. It is now part of
14 .B setfont (1).
15 .LP
16 The
17 .B getunimap
18 program outputs the unicode map (also called a "Screen Font Map")
19 for the current console to standard output.
20 .LP
21 The
22 .B \-C
23 option may be used with Linux 2.6.1 and later to get the map for
24 a console different from the current one. Its argument is a pathname.
25 .LP
26 The output of
27 .B getunimap
28 is of the form
29 .LP
30 .RS
31 0xAA U+1234 # comment
32 .RE
33 .LP
34 where 0xAA is the font character code and U+1234 is a unicode character,
35 that if displayed, will be displayed using glyph 0xAA in the font.
36 Many unicode characters may be mapped to the same glyph.
37 .br
38 the Hash symbol
39 .B #
40 is used as a comment delimiter; characters after a hash sign (to the end of
41 the line) are comments.
42 .P
43 The
44 .B \-s
45 option will sort and merge elements, sorting on font character.
46 Hence, it will produce output of the form:
47 .LP
48 .RS
49 0x22 U+1234 U+5678 U+3456
50 .br
51 0x23 U+0023
52 .RE
53 .LP
54 etc., listing the multiple unicode characters that map to a font glyph.
55 .P
56 The output of
57 .B getunimap
58 is of the form accepted by
59 .B setfont
60 and
61 .B psfaddtable
62
63 .SH OPTIONS
64 .TP
65 \fB\-s\fR, \fB\-\-sort\fR
66 sort and merge elements.
67 .TP
68 \fB\-C\fR, \fB\-\-console\fR=\fI\,DEV\/\fR
69 the console device to be used.
70 .TP
71 \fB\-V\fR, \fB\-\-version\fR
72 print version number.
73 .TP
74 \fB\-h\fR, \fB\-\-help\fR
75 print this usage message.
76
77 .SH SEE ALSO
78 .BR psfaddtable (1),
79 .BR setfont (1).