| 1 |
.\" @(#)unicode_start.1 1.0 010203 aeb |
| 2 |
.TH UNICODE_START 1 "3 Feb 2001" "kbd" |
| 3 |
.SH NAME |
| 4 |
unicode_start \- put keyboard and console in unicode mode |
| 5 |
.SH SYNOPSIS |
| 6 |
.B unicode_start |
| 7 |
.RI [ font " [" umap ]] |
| 8 |
.SH DESCRIPTION |
| 9 |
.LP |
| 10 |
The |
| 11 |
.B unicode_start |
| 12 |
command will put the keyboard and console into Unicode (UTF-8) mode. |
| 13 |
.LP |
| 14 |
For the keyboard this means that one can attach 16-bit U+xxxx values |
| 15 |
to keyboard keys using |
| 16 |
.BR loadkeys (1), |
| 17 |
and have these appear as UTF-8 input to user programs. |
| 18 |
Also, that one can type hexadecimal Alt-xxxx using the numeric keypad, |
| 19 |
and again produce UTF-8. |
| 20 |
.LP |
| 21 |
For the console this means that the kernel expects UTF-8 output |
| 22 |
from user programs, and displays the output accordingly. |
| 23 |
.LP |
| 24 |
The parameter |
| 25 |
.I font |
| 26 |
is a font that is loaded. It should have a built-in Unicode map, |
| 27 |
or, if it hasn't, such a map can be given explicitly as second parameter. |
| 28 |
When no font was specified, the current font is kept. |
| 29 |
.SH NOTE |
| 30 |
Unicode mode is a parameter with a value per virtual console. |
| 31 |
However, usually the font and keymap is common to all consoles. |
| 32 |
.SH AUTHORS |
| 33 |
Andries Brouwer <[email protected]> |
| 34 |
.SH "SEE ALSO" |
| 35 |
.BR dumpkeys (1), |
| 36 |
.BR kbd_mode (1), |
| 37 |
.BR loadkeys (1), |
| 38 |
.BR unicode_stop (1), |
| 39 |
.BR utf-8 (7), |
| 40 |
.BR setfont (8) |