version 4, including all changes.
.
Rev |
Author |
# |
Line |
1 |
perry |
1 |
CHARSET |
|
|
2 |
!!!CHARSET |
|
|
3 |
NAME |
|
|
4 |
SYNOPSIS |
|
|
5 |
DESCRIPTION |
|
|
6 |
OPTIONS |
|
|
7 |
BUGS |
|
|
8 |
SEE ALSO |
|
|
9 |
---- |
|
|
10 |
!!NAME |
|
|
11 |
|
|
|
12 |
|
|
|
13 |
charset - Set an ACM for use in one of the G0/G1 charset slots. |
|
|
14 |
!!SYNOPSIS |
|
|
15 |
|
|
|
16 |
|
|
|
17 |
__charset [[__''-v''__]__ ''G0''__|__''G1'' |
|
|
18 |
__[[__''cp437''__|__''iso01''__|__''vt100''__|__''user''__|__''''__]__ |
|
|
19 |
!!DESCRIPTION |
|
|
20 |
|
|
|
21 |
|
|
|
22 |
The linux console has 2 slots for charsets, labeled |
|
|
23 |
''G0'' and ''G1''. __charset__ changes the slot in |
|
|
24 |
use by the current VT to either ''G0'' or ''G1'', and |
|
|
25 |
fills the slot either with one of the 3 predefined ACMs |
|
|
26 |
(''cp437'', ''iso01'', ''vt100'') or with a |
|
|
27 |
user-defined ACM. |
|
|
28 |
|
|
|
29 |
|
|
|
30 |
You can ask for the current user-defined ACM by specifying |
|
|
31 |
''user'', or ask a new ACM to be loaded from a file into |
|
|
32 |
the user slot, by specifying a filename. |
|
|
33 |
|
|
|
34 |
|
|
|
35 |
You will note that, although each VT has its own slot |
|
|
36 |
settings, there is only one user-defined ACM for all the |
|
|
37 |
VTs. That is, whereas you can have tty1 using |
|
|
38 |
''G0=cp437'' and ''G1=vt100'', at the same time as |
|
|
39 |
tty2 using ''G0=iso01'' and ''G1=iso02'' |
|
|
40 |
(user-defined), you __cannot__ have at the same time tty1 |
|
|
41 |
using ''iso02'' and tty2 using ''iso03''. This is a |
|
|
42 |
limitation of the linux kernel. |
|
|
43 |
|
|
|
44 |
|
|
|
45 |
Note that you can emulate such a setting using the |
|
|
46 |
filterm(1) utility, with your console in UTF8-mode, |
|
|
47 |
by telling __filterm__ to translate screen output |
|
|
48 |
on-the-fly to UTF8. |
|
|
49 |
|
|
|
50 |
|
|
|
51 |
You'll find filterm(1) in the konwert(1) |
|
|
52 |
package, by Marcin Kowalczyk, which is available from |
|
|
53 |
''http://qrczak.home.ml.org/''. |
|
|
54 |
!!OPTIONS |
|
|
55 |
|
|
|
56 |
|
|
|
57 |
''-v'' |
|
|
58 |
|
|
|
59 |
|
|
|
60 |
be verbose. __charset__ will then print what it does as |
|
|
61 |
it does it. |
|
|
62 |
!!BUGS |
|
|
63 |
|
|
|
64 |
|
|
|
65 |
__charset__ cannot determine which of the 2 slots is in |
|
|
66 |
use at a given time, so you have to tell him which one you |
|
|
67 |
want, even if you don't want to change to the other one. |
|
|
68 |
This is a limitation of the console driver. |
|
|
69 |
!!SEE ALSO |
|
|
70 |
|
|
|
71 |
|
4 |
perry |
72 |
consolechars(8), unicode_start(1), |
1 |
perry |
73 |
filterm(1). |
|
|
74 |
---- |