Hudson
This is probable caused by the "curses" routines. These routines have to
detect when a special key is pressed. Since many keys send sequences
starting with an escape, they wait a certain period of time to see if there
is another character following the escape indicating that it was really a
function key or something else that was pressed. If no other character is
received within a certain length of time, then the routine assumes it was
just an escape character that was pressed.
You can change the time delay by editing the terminfo file and "tic"ing it.
Its a while since I have done this, so I can't remember which parameters you
change, but it is pretty easy if you set aside a few hours to study it.
If you use a terminal emulation program over a LAN, then sometimes the
function key sequences get split up into different packages and can arrive
after a significant delay. This means that the delay time needs to be
dramatically increased. You may find that you are using a version of a
terminfo file that has been set up for use over a LAN.
Jim Morcombe
----- Original Message -----
From: Hudson Reis <hud...@so...>
To: Lista SourceForge <tin...@li...>
Sent: Tuesday, August 13, 2002 11:27 PM
Subject: [Tiny-cobol-users] Problems using function keys
> Hi all,
>
> I've had a doubt using the functions keys.
>
> I use the ESC and F3 keys to exit from my system. However, when I use ESC
key, the result is slow, when I use F3 key the result is fast.
>
> Anyone knows why?
>
> Thanks
> Hudson
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by: Dice - The leading online job board
> for high-tech professionals. Search and apply for tech jobs today!
> http://seeker.dice.com/seeker.epl?rel_code=31
> _______________________________________________
> Tin...@li...
> https://lists.sourceforge.net/lists/listinfo/tiny-cobol-users
|