RE: Linux and Euphoria...
- Posted by Bernie Ryan <xotron at localnet.com> Apr 22, 2002
- 456 views
Irv Mullins wrote: > On Monday 22 April 2002 12:16 am, you wrote: > > > > 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. > > I can't be of much help, except to say that I've just run key.ex in all > the > terminals I have available, and the keys all work correctly. > Since the problem varies from one terminal to another, perhaps > you can find the problem in etc/termcap, or by running infocmp > and looking for the key bindings. Try infocmp from different terminals, > and see if there are differences. > > Regards, > Irv While working with the Euphoria source code on Linux, I was observing the codes returning from the Function keys I saw the same mention three key code sequences being returned. I was using Suse 7.1 and runing in graphics mode but using the keyboard codes returning from Euphoria. I do not know the cause of the problem but it seems to be coming Euphoria, I didn't go any further because I had run into other problems which I am still trying to solve. Bernie