1. Keys in EE for Linux
- Posted by Daniel Johnson <dpj22 at CAM.AC.UK> Mar 16, 2000
- 487 views
- Last edited Mar 17, 2000
Up until two minutes ago my escape key did not work in EE. I just patched keys.e (in Irv's Linux EE obviously). Linux return alt characters as 27 followed by the character. If you press escape the following character is -1 apparently, meaning that when you add 1000 (like Irv does) you get 999. By changing keys.e line 93 from 93: ESC = 1027 -- was 1000 to 93: ESC = 999 --was 1027 -- was 1000 escape works fine. This means I can get rid of menus and dialogs without having to choose something which is nice. Do other people have the same prob ? I'm using Debian 2.0 The second problem is shift characters. Unfortunately get_key() returns the same value for some of these (like tab and arrow keys) as unshifted characters. This means that I cannot select text, I have to use backspace to delete multiple lines and I cannot backtab on dialogs. Can anybody suggestion a solution/workaround or at least a reason for these ? Daniel -- Today's Proverb : Hold fast to discipline, do not let it go; guard it, for it is your life. (4v13) Daniel Johnson Engineer, smartypants and clown Jesus College, Cambridge all at a very reasonable price dpj22 at cam.ac.uk zeus.jesus.cam.ac.uk/~dpj22 talk dpj22 at jewish.jesus.cam.ac.uk
2. Re: Keys in EE for Linux
- Posted by Neil & Lindsay Harvey <vk2bnh at GLOBALFREEWAY.COM.AU> Mar 18, 2000
- 448 views
- Last edited Mar 19, 2000
Daniel Johnson wrote: > Up until two minutes ago my escape key did not work in EE. I just patched > keys.e (in Irv's Linux EE obviously). > > Linux return alt characters as 27 followed by the character. > > If you press escape the following character is -1 apparently, meaning that > when you add 1000 (like Irv does) you get 999. > > By changing keys.e line 93 from > > 93: ESC = 1027 -- was 1000 > > to > > 93: ESC = 999 --was 1027 -- was 1000 > > escape works fine. This means I can get rid of menus and dialogs without > having to choose something which is nice. Do other people have the same > prob ? I'm using Debian 2.0 <SNIP> I have the same problem. Thanks for the bugfix. I use Mandrake 6.0 Neil Harvey