Linux and Euphoria...
- Posted by Doug Miller <orkim at kc.rr.com> Apr 21, 2002
- 446 views
Hi guys, Been having a tough time with Euphoria and Linux. Everything seems to work great via the console yet when I go to X and use Euphoria via terminals I run into problems. Testing various terminals, some just do not pickup the key codes correctly. For example, under xterm when F1 is pressed key.ex (included with euphoria) shows 3 keys were pressed (27, 79, 80). Most terminals I've tested (Konsole, xterm, gnome-terminal, eterm) will give this same result. However, one exception is rxvt. It will display 265 (correctly) for F1, but the other keys (Home/End/Delete/All of the keypad) are messed up which isn't the case of the others. Things I've tried include using a default key map (pc104) instead of my actual key map (microsoft, I own a Microsoft Natural Elite to be exact). Using xmodmap to remap the keyboard correctly didn't work either (Correct me if I'm wrong, but keycode 67 and keysym 0xffbe should be right). Again, I want to repeat myself, it *DOES* work from the console. It's just annoying I can't do it under X windows. Seeing as exu (I think) is a static executable, this shouldn't be the source of the problem. Maybe it's ncurses? By the way, other ncurses based apps (mc to name one) work fine in an xterm or rxvt. If anyone has this working under X just fine, please let me know. It's really getting annoying now. Well, I think you can see where I'm going with this. It makes it extremely hard to use the trace features of Euphoria under X and even ed.ex with the Home/End keys messed up. I'd be very appreciative of any help in resolving this issuse. Thanks in advance. Regards, Doug Miller