Greetings.

Back in the pre 2.0.34 kernel days, the latin1 character set was loaded by
default... those (like me) with /etc/issue files which used the so-called
"block characters" intermixed with ANSI escape codes enjoyed colorful
logon screens, which lived happily with other applications (ncurses, even
dialog) with no mismatching of characters. Along comes 2.0.34 with the
UNICODE, and no longer is this so... luckily, with the 2.0 kernels, a
simple:

# loadunimap lat1

fixed the problem. Along come the great 2.2 kernels.. love 'em. However
now the segregation between latin 1 characters and normal is severe. I can
loadunimap lat1 and my /etc/issue is great, but programs which use ncurses
(like dialog) which use some of those extended ASCII characters are now
screwed over (normally they look ok, and /etc/issue looks screwed over).
Happy medium? Perhaps... I read through /usr/src/linux/Documentation, and
found a file called unicode.txt, which has the following:

>>

The Linux kernel code has been rewritten to use Unicode to map
characters to fonts.  By downloading a single Unicode-to-font table,
both the eight-bit character sets and UTF-8 mode are changed to use
the font as indicated.

This changes the semantics of the eight-bit character tables subtly.
The four character tables are now:

Map symbol      Map name                        Escape code (G0)

LAT1_MAP        Latin-1 (ISO 8859-1)            ESC ( B
GRAF_MAP        DEC VT100 pseudographics        ESC ( 0
IBMPC_MAP       IBM code page 437               ESC ( U
USER_MAP        User defined                    ESC ( K

In particular, ESC ( U is no longer "straight to font", since the font
might be completely different than the IBM character set.  This
permits for example the use of block graphics even with a Latin-1 font
loaded.
 
<<

I caught on to the phrase "permits for example the use of block graphics
even with a Latin-1 font loaded"...this sounds like what I want... I see
the Escape Code...but that's where my problems begin...it doesn't look
like any normal escape code, and I have no idea how to apply it. It would
be perfect to get everything cooperating on the same character set (telnet
is another one which agrees with raw ANSI (telnetting into ANSI oriented
BBSes), yet disagrees with many ncurses programs). Any ideas? 

Thanks.

------*-*-*----------------------------------------<< 207.127.232.247 >>--
      * * *       Atari 8-bit!  Battlestar: Galactica * DESCENT * 486
      * * *      400/800/XL/XE  Star Wars * SeaQuest * Voltron * Summer
  *  *  *  *  * 2600/5200/7800  Star Trek * WarCraft II * SPARCstation 2
   **   *   **  
--Slackware-3.6-------!   !  ! ! L I N U X ! !  !   !--------------2.2.6--

Reply via email to