On Wed, 05 Mar 2008, Lorenzo Fiorini wrote:
> It seems that K_ALT_keys are "aliens" in the OS X world even using
> putty and a Linux server.
When you want to test terminal keyboard capabilities then please first
check escape sequences generated for given key combinations. It will
give you an answer if sth can be implemented or not.
So please run tests/gtkeys.prg with //gtstd and check what is shown
for K_ALT_A:
1. nothing - key combination is not supported by your terminal program
Check if your terminal program have some switches which can enable them.
2. the same as for A - key is sent but it's not possible to recognize
if it's simple A or K_ALT_A so it will not work in any program
Check if your terminal program have some switches which can enable
unique escape sequence for them.
3. unique escape sequence is sent - it's possible to add support for
the key or key combination. The question is if our terminal GTs
(GTTRM, GTCRS, GTSLN) can recognize it. Now you should check it
using tests/gtkeys.prg with this GTs, f.e.: //gttrm
If given GT driver do not recognize it then please check your terminal
type set in environment variables (echo $HB_TERM;echo $TERM). If it's
also properly set then please send here the following information:
a. name of terminal program you are using
b. terminal type set in TERM or HB_TERM
c. name of key or key combination which does not work
d. exact escape sequence sent for given key or key combination
from ./gtkeys //GTSTD
e. result of decoding the same key (combination) by the terminal
GT you are testing from ./gtkeys
and I'll simply add support for this key or key combination or I'll
tell you how to set TERM variable or update termcap/terminfo database
on the server side if it will be possible.
'"alien" in the OS X world' does not give me any information what's
the problem. So what exactly happens in your case: 1, 2 or 3 above
and if then please send also a,b,c,d,e information. Then maybe I'll
be able to help.
best regards,
Przemek
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour