[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ANN: terminfo-20160924.src.gz
From: |
Thomas Dickey |
Subject: |
Re: ANN: terminfo-20160924.src.gz |
Date: |
Mon, 17 Oct 2016 20:04:53 -0400 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Mon, Oct 10, 2016 at 04:42:11PM +0200, Mikulas Patocka wrote:
>
>
> On Sun, 9 Oct 2016, Thomas Dickey wrote:
>
> > On Wed, Sep 28, 2016 at 02:19:27PM +0200, Mikulas Patocka wrote:
> > >
> > >
> > > Hi
> > >
> > > The linux2.6 terminfo entry still contains the string "enacs=\E(B\E)0",
> > > which makes it unusable with iso-8859-2 locale and most other one-byte
> > > character sets (except iso-8859-1 and utf-8).
> >
> > From our previous discussion, it wasn't clear to me why you cannot use
> >
> > # CONFIGURATION FILE FOR SETUPCON
> >
> > # Consult the console-setup(5) manual page.
> >
> > ACTIVE_CONSOLES="/dev/tty[1-6]"
> >
> > #CHARMAP="UTF-8"
> > CHARMAP="ISO-8859-2"
> >
> > CODESET="Lat2"
> > FONTFACE="Fixed"
> > FONTSIZE="8x16"
> >
> > VIDEOMODE=
> >
> > # The following is an example how to use a braille font
> > # FONT='lat9w-08.psf.gz brl-8x8.psf'
>
> I'm using this configuration and this configuration doesn't work with
> current terminfo.
>
> You can try it - use the above configuration, run setupcon and then run
> LANG=cs_CZ.iso-8859-2 mc
> - at the bottom line, the label for key 6 should be "Presun" (with caron
> over "r"), but with current terminfo, the letter r-with-caron is corrupted
> and a different character is printed.
not to argue (as I said, I am investigating), I don't see the problem
when I run this script (see attached screenshot):
#!/bin/sh
reset
utf8 on
TERM=linux3.0 \
LANGUAGE=cs_CZ \
LANG=cs_CZ.iso88592 mc
where "utf8" is this script
#!/bin/sh
# send character-string to enable UTF-8 mode
if test ".$1" = ".off" ; then
printf '\033%%@'
else
printf '\033%%G'
fi
Having seen disagreements over this (both ways), I'll continue investigating
until I can make a table illustrating the tradeoffs.
--
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net
screenshot.png
Description: PNG image
signature.asc
Description: Digital signature