Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

/View Keyboard Layout trouble

 [1/6] from: carlos::lorenz::bol::com::br at: 4-Sep-2003 15:24


Hi people How can I handle keyboard layouts in order to have typed text properly echoed in fields? I'm not able to type in portuguese words such as coração(heart), pé(foot), amanhã(tomorrow), etc. By the way I'm using a linux box. Thanks for any help -- Carlos Lorenz -- Kurumin é 10 www.kurumin.org

 [2/6] from: greggirwin:mindspring at: 4-Sep-2003 21:38


Hi Carlos, cl> How can I handle keyboard layouts in order cl> to have typed text properly echoed in fields? cl> I'm not able to type in portuguese words cl> such as coração(heart), pé(foot), amanhã(tomorrow), etc. I don't know. You might be able to hack the ctx-text/edit-text function to insert special chars, but I haven't tried anything like that myself. I seem to recall that the Italian keyboard layout has some pretty painful mappings (which makes Gabriele and Romano's work all the more impressive :). -- Gregg

 [3/6] from: g:santilli:tiscalinet:it at: 5-Sep-2003 10:02


Hi Gregg, On Friday, September 5, 2003, 5:38:12 AM, you wrote: GI> some pretty painful mappings (which makes Gabriele and Romano's work GI> all the more impressive :). ;-) Anyway, it's the OS that should handle the mappings. REBOL is getting the chars from the OS, not the keypresses, AFAIK. Regards, Gabriele. -- Gabriele Santilli <[g--santilli--tiscalinet--it]> -- REBOL Programmer Amiga Group Italia sez. L'Aquila --- SOON: http://www.rebol.it/

 [4/6] from: carlos:lorenz:bol at: 5-Sep-2003 8:33


Em Sex 05 Set 2003 10:02, Gabriele Santilli escreveu:
> Anyway, it's the OS that should handle the mappings. REBOL is > getting the chars from the OS, not the keypresses, AFAIK. > > Regards, > Gabriele. > --
Gabriele So all KDE apps should behave same way and it's not what's happening since I have all special chars (ãéíç) here at Kmail, for instance. -- Carlos Lorenz -- Kurumin é 10 www.kurumin.org

 [5/6] 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:

 [6/6] from: carlos:lorenz:bol at: 5-Sep-2003 13:21


Em Sex 05 Set 2003 17:09, Elan escreveu:
> The first step would probably be to determine which libraries REBOL > ulitizes to collect keyboard input.. These could be the generic linux
<<quoted lines omitted: 8>>
> by REBOL. How KDE handles foreign character sets does not necessarily > tell us anything about the world that REBOL sees.
Elan and Gabriele, Following Gabriele's advice I've just downloaded /View 1.2.8 and things are exactly the same i.e. not foreign chars echoed by REBOL/View unfortunatelly :( I'm quite sure this distribution of Linux I'm currently using is just ok about foreign characters since it is widely used here in Brazil by all sort of users that also have different Windows Managers such as Gnome,Fluxbox,IceWm,etc. Well according to you, Elan, if REBOL uses generic linux libraries it has to be able to recognize foreign characters, is it ok? Supposing REBOL does not use generic linux libraries what could be the solution? Maybe the guys at RT could give a word on this topic. Thank you all -- Carlos Lorenz -- Kurumin é 10 www.kurumin.org

Notes
  • Quoted lines have been omitted from some messages.
    View the message alone to see the lines that have been omitted