Menu

#36 Support ConnectBot workarounds for other ssh/VNC style applications?

Verified
nobody
None
Medium
Defect
2013-01-22
2011-06-15
Anonymous
No

Originally created by: Klaus.We... (code.google.com)@gmail.com
Originally owned by: Klaus.We... (code.google.com)@gmail.com

The keyboard has special handling as a workaround for ConnectBot's inability to recognize the key events for special keys, it sends escape sequences for keys such as PageUp/PageDown and F1-F12.

This workaround is currently only active specifically for the "org.connectbot" package: https://market.android.com/details?id=org.connectbot, as reported by the EditorInfo data: http://developer.android.com/reference/android/view/inputmethod/EditorInfo.html

Arguably, the correct fix would be for the ssh application to send the right sequences when it gets the corresponding key events such as KEYCODE_F1, since that would also make the application work correctly for hardware keyboard input. Also, sending the escape sequences isn't likely to work right for VNC / remote desktop style applications since those generally expect to handle true key events as distinct units.

Open issues:

- is there a compatible way to tell that the input view should be treated as a shell window? As far as I can tell this isn't possible without cooperation from the application, since the standard edit view types don't include a type for that.

- we could define an EditorInfo.privateImeOptions string that applications could set to request shell window handling, but that would require a change to the ssh application(s), and if they are getting changed anyway they should add code to handle the extra keys directly.

- add a method for the user to tell the keyboard that it should activate this workaround for specific applications? For example the Irssi version of ConnnectBot. This would be nice in combination with a more general app-specific configuration override system.

Related

Tickets: #56

Discussion

  • Anonymous

    Anonymous - 2011-06-30

    Originally posted by: pierre.f... (code.google.com)@gmail.com

    Is there a way to make <esc> and <ctrl> keys to work with Irssi ConnectBot?
    Otherwise, most of the usual linux application can't be used.

     
  • Anonymous

    Anonymous - 2011-07-18

    Originally posted by: Klaus.We... (code.google.com)@gmail.com

    Can you please try v1.21rc3 (or later) from http://code.google.com/p/hackerskeyboard/downloads/list ? It activates the workarounds for the irssi and pslib connectbot variants.

    Status: Started

     
  • Anonymous

    Anonymous - 2011-09-25

    Originally posted by: Klaus.We... (code.google.com)@gmail.com

    Closing, current prereleases support it.

    Status: Fixed

     
  • Anonymous

    Anonymous - 2013-01-22

    Originally posted by: Klaus.We... (code.google.com)@gmail.com

    Bulk update - changing "Fixed" to "Verified" for old bugs.

    (Background: I'm changing the "Fixed" status to be considered open, the next steps in the lifecycle will be the closed states "FixInTest" and "Verified". This lets me mark issues as "Fixed" in commit messages without hiding them from the issue tracker.)

     
  • Anonymous

    Anonymous - 2013-01-22

    Originally posted by: Klaus.We... (code.google.com)@gmail.com

    Bulk update - changing "Fixed" to "Verified" for old bugs.

    Status: Verified

     

Log in to post a comment.

MongoDB Logo MongoDB