You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@guacamole.apache.org by "Mike Jumper (Jira)" <ji...@apache.org> on 2020/02/04 01:05:16 UTC

[jira] [Commented] (GUACAMOLE-943) F1-F24 keys send incorrect control sequence for SSH/Telnet

    [ https://issues.apache.org/jira/browse/GUACAMOLE-943?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17029409#comment-17029409 ] 

Mike Jumper commented on GUACAMOLE-943:
---------------------------------------

Based on what you've shown above, it looks like things are incorrect not only for Shift+Fn, but perhaps Fn in general. That, or there are multiple standards for the control sequences sent for the function keys, and we may need to support each.

> F1-F24 keys send incorrect control sequence for SSH/Telnet
> ----------------------------------------------------------
>
>                 Key: GUACAMOLE-943
>                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-943
>             Project: Guacamole
>          Issue Type: Bug
>          Components: Terminal
>    Affects Versions: 1.1.0
>         Environment: RHEL 7
>            Reporter: John Filo
>            Priority: Major
>
> We are using Guacamole with SSH connections and we have an application that requires Shift-Fn keys mapped through for Shift-Fn1 to Shift-Fn24.
> On the target SSH server, if I use `showkey -a` it shows that Fn1 and Shift-Fn1 map through as:
> {code:java}
> sh-4.2$ showkey -a
> Press any keys - Ctrl-D will terminate this program
> Fn1 is
> ^[OP 27 0033 0x1b 
>      79 0117 0x4f
>      80 0120 0x50
> Shift-Fn1 is 
> ^[[1;2P          27 0033 0x1b
>          91 0133 0x5b
>          49 0061 0x31
>          59 0073 0x3b
>          50 0062 0x32
>          80 0120 0x50{code}
> Whereas, via Guacamole Client, if I use `showkey -a` it shows that Fn1 and Shift-Fn1 map through as:
> {code:java}
> sh-4.2$ showkey -a
> Press any keys - Ctrl-D will terminate this program
> Fn1 is 
> ^[[[A 27 0033 0x1b
>       91 0133 0x5b
>       91 0133 0x5b
>       65 0101 0x41
> Shift-Fn1 is 
> ^[[[A  27 0033 0x1b
>        91 0133 0x5b
>        91 0133 0x5b
>        65 0101 0x41
> {code}
> As you can see, using Guacamole Client the Shift key doesn't seem to be mapped through with Fn1.
> Where/How are keys mapped through for the SSH protocol?
> Is it possible to add Shift-Fn[1-24] key mappings?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)