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.
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: Klaus.We... (code.google.com)@gmail.com
Issue 35 has been merged into this issue.
Related
Tickets:
#35View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
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.
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
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
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: Klaus.We... (code.google.com)@gmail.com
Closing, current prereleases support it.
Status: Fixed
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
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.)
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: Klaus.We... (code.google.com)@gmail.com
Bulk update - changing "Fixed" to "Verified" for old bugs.
Status: Verified