Path: utzoo!attcan!uunet!clyde.concordia.ca!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!swrinde!emory!stiatl!meo From: meo@stiatl.UUCP (Miles O'Neal) Newsgroups: comp.windows.x Subject: kbd_mode Message-ID: <8526@stiatl.UUCP> Date: 12 Jan 90 00:35:10 GMT Organization: Sales Technologies Inc., "The Little Shop of Horrors..." Lines: 22 (Gary Bisaga x4219) writes: |Use 'kbd_mode -a' command. Keyboard is set up to return internal key codes |(similar to the IBM PC's scan codes) so that X can pick up, for example, |shift keys separately (both presses and releases). It is usually best to invoke xinit from a script, followed by this (unless you ran xinit in background), so that as soon as the server goes away (intentionally or otherwise) your keyboard is restored. For already hosed keyboards, go to another terminal, login, and type kbd_mode -a & /dev/console # in csh or kbd_mode -a < /dev/console >/dev/console 2>&1 # in sh -Miles O'Neal {yr fave backbone here}!emory!stiatl!meo