File: getunimap.8

package info (click to toggle)
kbd 2.0.3-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 14,192 kB
  • ctags: 3,648
  • sloc: sh: 12,831; ansic: 12,269; pascal: 472; lex: 464; makefile: 384; yacc: 355; sed: 16
file content (65 lines) | stat: -rw-r--r-- 1,368 bytes parent folder | download | duplicates (9)
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
.TH GETUNIMAP 8 "2004-01-01" "Console Tools" "Linux"

.SH NAME
getunimap \- dump the unicode map for the current console to stdout

.SH SYNOPSIS
.B getunimap [ \-s ] [ \-C
.I console
]

.SH DESCRIPTION
The
.B getunimap
program is old and obsolete. It is now part of
.B setfont (1).
.LP
The 
.B getunimap
program outputs the unicode map (also called a "Screen Font Map") 
for the current console to standard output.
.LP
The
.B \-C
option may be used with Linux 2.6.1 and later to get the map for
a console different from the current one. Its argument is a pathname.
.LP
The output of
.B getunimap
is of the form
.LP
.RS
	0xAA U+1234 # comment
.RE
.LP
where 0xAA is the font character code and U+1234 is a unicode character,
that if displayed, will be displayed using glyph 0xAA in the font.
Many unicode characters may be mapped to the same glyph.
.br
the Hash symbol
.B #
is used as a comment delimiter; characters after a hash sign (to the end of 
the line) are comments.
.P
The 
.B \-s
option will sort and merge elements, sorting on font character.
Hence, it will produce output of the form:
.LP
.RS
	0x22 U+1234 U+5678 U+3456
.br
	0x23 U+0023
.RE
.LP	
	etc., listing the multiple unicode characters that map to a font glyph.
.P
The output of
.B getunimap
is of the form accepted by 
.B setfont
and
.B psfaddtable
.SH SEE ALSO
.BR psfaddtable (1),
.BR setfont (1).