[H-GEN] Key Mapping Problem (I think)
Scott Burns
sburns at ihug.com.au
Thu Apr 22 06:04:59 EDT 2004
Rick Phillips wrote:
><SNIP>
>
>This all also works well _except that_ the function keys are now no
>longer recogised by the Arrow program on the Linux box at the other
>end. These function keys _are_ important to invoke printing and other
>tasks while the operator is in a form (job or invoice entry forms).
>
>It seems to my tired old brain that there has been a change of key
>mapping translation with the change of mode of our connection. If I am
>right in my thinking, how can this be fixed so that the "far end" can
>work normally without upsetting the server end where clients and
>terminals are still connected via a stallion board and are functioning
>correctly?
>
>
>
>
The first thing that springs to mind is termcap and terminfo. In a
nutshell, these systems are used so that programs have easy look-up
tables for doing different things on different terminals. The escape
sequence, for example, to switch to inverse video varies betwen
terminals/emulators, and in some may not even be possible. In the same
way, the escape sequence sent by your terminals for a function key will
be different to that of a different model.
So, chances are the new hardware has done something to the esacpe
sequence. You need to figure out what sequence is arriving and either
fix it or copy the old tercap/info entry to a new entry and modify this
to suit the new sequence.
Either way, googling for "termcap terminfo function keys" should
give you somewhere to start.
Scott
More information about the General
mailing list