home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / os / linux / 21267 < prev    next >
Encoding:
Text File  |  1992-12-21  |  1.4 KB  |  44 lines

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