[REBOL] Re: /View Keyboard Layout trouble
From: rebol:techscribe at: 5-Sep-2003 8:09
Hi Carlos.
you wrote:
C>So all KDE apps should behave same way
Not necessarily. Generally speaking, and without any knowledge as to how
KDE implements support for foreign character sets, it depends on which
code these keys are being mapped to. and it furthermore depends on how
an application interprets these key codes, i.e. does the application
directly process the key codes of the keyboard, or does it use some OS
or GUI library function that first translates those codes.using some
code table and then reports character values instead of reporting the
original key code mappings. If the latter is the case, then there is
the additional question of whether the utilized library function
interprets character codes as seven bit, eight bit, or sizteen bit
codes. Many libraries offer a variety of functions and leave it up to
the application to utilize one or the other.
The first step would probably be to determine which libraries REBOL
ulitizes to collect keyboard input.. These could be the generic linux
libraries, or one or the other XWindow libraries. I'm doubtful that
REBOL uitilizes KDE specific libraries, since then REBOL would no longer
work with the GNOME application framework, for instance. My guess is
that REBOL uses the generic linux libraries, in order maintain
uniformity between the /Core and /View source code. If that is the case,
then we need to see whether or not foreign character support is built
into the linux version you are using. Furthermore we need to see whether
or not this foreign character - if it exists - support can be utilized
by REBOL. How KDE handles foreign character sets does not necessarily
tell us anything about the world that REBOL sees.
Hope this helps.
Elan
carlos.lorenz wrote: