RE: Linux and Euphoria...

new topic     » goto parent     » topic index » view thread      » older message » newer message

Linux (UNIX, also) has had to handle the problem of multitudes of 
terminals that react in different ways for a long time.  Nobody wants to 
have to write 700 versions of a program to be able to handle all the 
terminal types out there, so the TERMCAP approach was developed.  If U 
look at the termcap file (usually in /usr/share/misc/), U will find that 
it is a text file which is actually a database with an entry describing 
the TERMinal CAPabilities of each type of terminal.  The format of the 
database is described in the section 5 termcap manpage (I think).  For a 
single user, or a group of like-minded users, I think Daniel has the 
right approach - customize X so that the desired characters are sent for 
each key.

					Thx, Phil Long



euphoria at ahava.f9.co.uk wrote:
> On 21/4/2002, Doug Miller wrote:
> 
> > 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.
> > If anyone has this working under X just fine, please let me know.  It's
> > really getting annoying now.
> 
> It works fine in xterm for me, and always has done. I'm using Debian's
> stable distro.
> 
> I use a custom xmodmap (dvorak keyboard layout + Hebrew) but back when I
> was still using qwerty it also worked fine.
> 
> -- 
> Blessings,						     ,úåëøá
> Daniel Johnson		euphoria at ahava.f9.co.uk		ìàéøà ìàéðã
> -
> Trust in the Lord with all your heart		  êáì¯ìëá éé ìà çèá
> do not rely on your own understanding		  ïòùú¯ìà êúðéá¯ìàå
> Proverbs 3:5						   ä:â éìùî
> 
>

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu