-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
F1-F12 keys support #81
Comments
@jcorbalan, thanks for opening the issue. I have edited the issue so it now contains technical details to be implemented. Please confirm that this is correct. |
yes, it's correct. |
@jcorbalan, one more fact I need to realize, does your terminal application work with Caché TERM? Maybe you use SSH clients like Putty to work with it. I cannot find out how to read the function keys in Caché TERM with one of these:
If you have any suggestions, please comment. Thanks! |
No, I work with TUN PLUS 2016 http://www.esker.com/host-access-software/tun.asp |
The same problem is with arrow keys, don't work in webterminal, it's necesary |
I understood, thank you very much for clarifying this. I will get back in 1-2 days to this issue implementing required escape sequences, and then asking you to test the results (as I don't know any open solutions on M/COS languages to test this on). |
OK, No problem, i test it. |
Thanks! The idea is clear for now, let's deal first with function keys. |
You can use this command in TERM:, to get the value of the PF key pressed, which will be stored in the variable PF. |
OK, @jcorbalan, you are welcome to test function and arrow keys support. Please install the attached WebTerminal version (it is not released yet). Here are the key mappings. They work as follows: both However, I haven't been able to
in Caché TERM. Probably you meant to test it under TUN PLUS 2016? Thanks. File: WebTerminal-v4.1.4.zip |
Does not work, the program shows the characters of the function key that you have pressed, for example if you press F2, it is written "OQ", and nothing should be written |
@jcorbalan, I need to figure out how to test this.
This code does not work in Caché TERM, is it supposed to work there? Or should I use Putty/TUN PLUS 2016/etc to test how it works? |
This code works inside a routine, not on the command line READ E9#10 |
@jcorbalan, it works as next: It doesn't return nothing but
|
Please try this code DUCK |
Thank you! I have found the problem: variable
(Caché TERM) Let me find out how to make it work... |
I have opened this issue so you can to answer for use of the F1 to F12 keys. Thank you.
When pressing the function keys F1-F12, in VT 240, instead of sending the standard escape sequence back to the server, WebTerminal sends the keyboard code of this key. Instead, the next table should be applied when using F1-F12 keys:
Source
The text was updated successfully, but these errors were encountered: