bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: form_driver() and extended ascii


From: Thomas Dickey
Subject: Re: form_driver() and extended ascii
Date: Mon, 4 Jun 2007 17:21:37 -0400 (EDT)

On Mon, 4 Jun 2007, Marcello Botrugno wrote:

Thomas Dickey ha scritto:
If your locale is setup properly, it should "just work".

I have the following settings:
LANG=el_GR.ISO8859
LC_ALL=el_GR.ISO8859

I don't have Fedora Core 6 - but in Debian the locale variables I have
don't have the ".ISO8859" suffix (which may be relevant).  Typing
"locale -a" would list the acceptable values.

at the login I do the following commands:
  setfont  iso07u-17 -m 8859-7
  loadkeys  gr

for these, I don't think the result matters to ncurses (since it
would only "see" the 8-bit characters that other applications see).

fwiw, here's a script that I put together just now to check it with
xterm (on Debian):

#!/bin/sh
# Greek
export LANG=el_GR
export LC_ALL=el_GR

FL="-misc-fixed-medium-r-normal--"
FR="-iso8859-7"
exec xterm \
        -fn "${FL}20-200-75-75-c-100${FR}" \
        -xrm "*VT100.font1: ${FL}10-100-75-75-c-60${FR}" \
        -xrm "*VT100.font2: ${FL}13-120-75-75-c-70${FR}" \
        -xrm "*VT100.font3: ${FL}13-120-75-75-c-80${FR}" \
        -xrm "*VT100.font4: ${FL}14-130-75-75-c-70${FR}" \
        -xrm "*VT100.font5: ${FL}15-140-75-75-c-90${FR}" \
        -xrm "*VT100.font6: ${FL}18-120-100-100-c-90${FR}" \
        $*


--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net




reply via email to

[Prev in Thread] Current Thread [Next in Thread]