Uploaded image for project: 'Guacamole'
  1. Guacamole
  2. GUACAMOLE-206

Alt key combinations broken in SSH and telnet

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.9.13-incubating
    • Component/s: SSH, Telnet, Terminal
    • Labels:
      None

      Description

      Apparently, ever since Guacamole had SSH support, handling of the Alt key has been broken. Roughly four years ago, support for the Alt key was added through the following block of code:

      /* If alt being held, also send escape character */
      if (term->mod_alt)
          return guac_terminal_send_string(term, "\x1B");
      

      This is a clear logic error. Because of that return, this block doesn't "also" send anything; it bails out of the keyboard handling prior to actually sending the key pressed.

      ... Sorry emacs folks.

        Attachments

          Activity

            People

            • Assignee:
              mike.jumper Michael Jumper
              Reporter:
              mike.jumper Michael Jumper
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: