Re: French Key board



Look, this is a TERRIBLE way to handle this.
You don't have to check each character, just use the input to index a
table for ALL characters.

I just worked with a program to show a greek keyboard on the screen as
you type on another type of real keyboard. What gets entered as data
and displayed is the greek symbol of the greek version of the upper
half of the ascii table that matched the key you hit on your non-greek
keyboard.

Now, to type french or german or any other latin-based alphabet you
have two simple options.

1) use the ALT-nnn code of r the alphabet set you are using on a
different keyboard
I type a lot of spanish and so I use ALT-130,160,161,162,163,164,165
for the accented upper-half table (which I cannot show you because
Google does not accept alt keys, but every other editing system or
program does!!):-


2) Show the desired keyboard layout (which can be just three lines
somehere on the screen (or shown for a moment while a function key is
held down), capture the two-byte code from whatever key is pressed and
with a look-up table change the low byte of the character-pair to the
other keyboard position equivalence. This needs three lines of ASM
code to get the character (which lets you trap the "show-me code"),
three to change the low byte to a number 0-255, two to use this index
to pick up the symbol desired (from the french keyboard table) and 3
to display the new symbol on screen.

I already showed the important part of waiting for any input key to be
struck, which needs the 16H operation code to trap F11 and F12 if
needed, and wait (0/16) or test (1/17).

.



Relevant Pages

  • PC-like keyboard for console
    ... ALT-<keyboard character> does not produce the character ... My ALT key is working, ... I installed the emacs keyboard and now the NUM ... # code base shift cntrl shift alt shift cntrl shift state ...
    (comp.unix.bsd.freebsd.misc)
  • Re: A Unicode introduction for the Mac?
    ... Mostly I need a way to seemlessly switch between Roman and Greek fonts. ... the Greek Keyboard others tell me to use the Character Palette ...
    (comp.sys.mac.apps)
  • Re: In Word, how can I place a bar above a letter to show a mean?
    ... most certainly is far more convenient to assign a keyboard shortcut to ... have any idea how to find instructions in creating a macro. ... keyboard short cut for every possilble keyboard character, ... Word MVP web sitehttp://word.mvps.org ...
    (microsoft.public.word.docmanagement)
  • Re: Checking for a keypress on Linux ?????
    ... >polling for a keypress on the keyboard. ... the short delay in kbhit() ... a blocking single character input from stdin ... int getch; ...
    (comp.os.linux.development.apps)
  • Re: In Word, how can I place a bar above a letter to show a mean?
    ... Combining Diacritic Tilde was not positioned properly); ... most certainly is far more convenient to assign a keyboard shortcut to ... It is of course "impossible" for me to create a macro, ... keyboard short cut for every possilble keyboard character, ...
    (microsoft.public.word.docmanagement)