home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- From: agc@weasel.demon.co.uk (Alan Charlton)
- Path: sparky!uunet!pipex!demon!weasel.demon.co.uk!agc
- Subject: Re: A keyboard problem
- Reply-To: agc@weasel.demon.co.uk
- Distribution: world
- X-Mailer: cppnews $Revision: 1.20 $
- Organization: nowhere in particular...
- Lines: 29
- Date: Mon, 21 Dec 1992 13:32:56 +0000
- Message-ID: <724969976snx@weasel.demon.co.uk>
- Sender: usenet@demon.co.uk
-
- In article <1992Dec18.152326.16342@prime.mdata.fi> kennu@mits.mdata.fi (Kenneth Falck) writes:
- >
- > If you want a quick&dirty fix, edit linux/kernel/chr_drv/keyboard.c,
- > find something like this around line 1042:
- >
- > if (kbd_flag(KG_ALT))
- > if (vc_kbd_flag(kbd,VC_META)) {
- > put_queue('\033');
- > put_queue(ch);
- > } else
- > put_queue(ch|0x80);
- >
- > and change the if-comparison line containing VC_META into:
- >
- > if (1||vc_kbd_flag(kbd,VC_META)) {
- >
- > It seems to work for me. Obviously there are plans to make it
- > possible for every VC to have its own setting for the meta-key,
- > but I couldn't find any ioctl or other stuff to select the state...
- >
- > Btw, I just managed to `lock up' Linux pretty bad when I turned
- > on the RAW keyboard mode with ioctl. It was my own stupidity/
- > ignorance, of course, but it might be a good thing to have some
- > "backup"-key which would turn on the XLATE-mode again.
-
- Thanks for this and also the email replies.
-
- Cheers,
-
- Alan
-