[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ncurses forms
From: |
Frank Heckenbach |
Subject: |
Re: ncurses forms |
Date: |
Thu, 19 Oct 2000 00:29:57 +0200 |
Sergio Duran wrote:
> Hello.
>
> I have started developing a ncurses app... its filled with forms.
> That's ok, but I no form field allows me to type 8 bit characters, since
> isprint() doesnt qualify those chars as printable, i really need those
> (áéíóú, ñ, for an instance), I have been looking but the only way I was
> able to do it... was a workaround, that on E_UNKNOWN_COMMAND test the
> char, and if it is really a 8 bit char, call form_driver, once to add a
> space, then addch(), and then again form_driver to move the cursor.
> I guess that's deprecated.
If you set the locale (setlocale (LC_ALL, "") or something),
isprint() should recognize them as printable (if your $LANG is set
to es_MX or something where these characters are letters).
Frank
--
Frank Heckenbach, address@hidden
http://fjf.gnu.de/
PGP and GPG keys: http://fjf.gnu.de/plan