SI/SO G0/G1 in linux console doesnt work, or at least
what it does is not at all according to what vt100 does
or ECMA says.

For precise details, see the Keyboard and Console HOWTO
(http://www.win.tue.nl/~aeb/linux/kbd/kbd-6.html)
and manpage console_codes(4).

    From: Erika Pacholleck <[EMAIL PROTECTED]>

    When doing some experimenting with the acm/screen maps I discovered
    some strange things, as to not-working and vice-versa-working. And
    I would need an advice where to hook in for fixing, please.

    expected behaviour from this:
    - G0 set to default latin1 and G1 set to VT100 graphics
    - typing [Ctrl]+[o] sending Control_o (switch to G0)
    - typing [Ctrl]+[n] sending Control_n (switch to G1)

and indeed, that is what I find.

    here is what happens in reality:
    docs      hit keys    echo -e orders
    SI=G0=^O  [Ctrl]+[o]  \\033o  \\x1bo  \\x0e  \\016
    SO=G1=^N  [Ctrl]+[n]  \\033n  \\x1bn  \\x0f  \\017
    results    negative     neg.    neg.  both switched

    Ctrl+o looks like CR is sent; Ctrl+n beeps
    \\033o  \\x1bo and according n's don't show any change
    \\x0e  \\016 look like switched to G1 VT100 graphics
    \\x0f  \\017 look like switched to G0 latin1

what you are testing is your shell rather than the console settings.

Andries
--
Linux-UTF8:   i18n of Linux on all levels
Archive:      http://mail.nl.linux.org/linux-utf8/

Reply via email to