Hello,
as you know, in the -pre3 Live CD it was possible to set your timezone
from the boot prompt, like this: linux TZ=Asia/Yekaterinburg. Since this
is inconvenient for people with non-qwerty keyboard layouts, a second
mechanism is added in r213.
If TZ is not set at the boot prompt, a dialog appears during boot asking
for timezone parameters. The needed timezone can be selected using
arrows and the Enter key. The timeout for that dialog is 20 seconds, so
it doesn't interfere with unattended autosshd boot. If the user refuses
to configure the timezone, a default of GMT is selected.
Also I have a modified console script that sets the screen font
according to the locale specified at boot prompt, e.g. it sets
"cyr-sun16 -m koi8-r" font and ru-ms keyboard layout if one boots linux
as "linux LANG=ru_RU.KOI8-R KEYMAP=ru-ms". This script is not in SVN yet
because of the following issue.
It also has to be extended to allow for dialog-based configuration if
the parameters are not specified at the boot prompt. However, when
trying to implement that, I found that for many locales that can
actually output text correctly to the console there is no working keymap
in the "kbd" package, so the user needs to start X in order to fully
utilize his locale. For Belarusian, the problem has been solved in r208
and r209. For the rest of languages, there are the following options:
1) List all locales that can output text to the console correctly on
this CD (already done, but not committed). Warn the user about the
keymap problem. In the keyboard chooser, list all available keymaps,
including useless ones. This means that without r208 and r209, the
be_BY.CP1251 locale would be still listed as "presumably working" (and
it works well in X).
2) List all locales that can output text to console and get
fully-working keyboard input on this CD without starting X (help
needed). E.g., this means that without r208 and r209, the be_BY.CP1251
locale would be blacklisted.
Which of the two approaches should I take?
Also two related notes.
1) The stock "by" keymap is in the ISO-8859-5 character set. It would be
useful in the be_BY.ISO-8859-5 locale if it existed. But such locale
doesn't exist, the standard Belarusian locale is be_BY.CP1251, and in
this locale the "by" keymap is useless. Please kelp identifying other
useless keymaps.
2) There are two completely non-working locales after glibc-2.3.4
installation: no_NO.ISO-8859-1 and vi_VN.TCVN. This is a glibc bug, the
regular LFS book is also affected. Should I remove them completely from
the Live CD using "localedef --delete-from-archive"?
--
Alexander E. Patrakov
--
http://linuxfromscratch.org/mailman/listinfo/livecd
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page