On Wed, Mar 15, 2000 at 09:58:25AM -0500, Eric S. Raymond wrote:
> Hi,
> is it possible to place #ifndef CONFIG_CONSOLE_LEGACY around
> this region. I already have it in my tree for 0x9B. Reason is
> that there are some computers here which do not think that ISO-8859-x
> is right thing and use other encodings due to old code. For our
> case it is library database system originally written in 1988-1990 for
> SCO. And this system uses CP895 encoding, which has couple of
> important characters (exactly 32) in range 0x80 - 0x9F.
That's not a problem: 8bit-controls should only be used after
a S8C1T sequence has been issued, unless the terminal setup has
enabled 8bit C1 controls as default. See my comment in the sources.
> Alternate solution is to add some escape sequence to disable
> these control characters. Then I can add this sequence to init
> terminfo/termcap entry...
I think we need to implement some IOCTL's and a userland (curses-based)
replacement for the setup of a VT terminal. Any volunteers?
BTW: setterm is problematic because it misuses control functions
allocated by the standards (both ISO and DEC) for entirely
different purposes!
Dominik
--
Networking Group, Hospital of Johannes Gutenberg-University
Obere Zahlbacher Straße 69, 55101 Mainz, Germany
Tel: +49 (0)6131 17-2482 FAX: +49 (0)6131 17-5521
|