Issue 435 in connectbot: Shift+Number keys not working on AC100 physical keyboard

37 views
Skip to first unread message

conne...@googlecode.com

unread,
Mar 6, 2011, 9:17:11 AM3/6/11
to connectbo...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 435 by samuel.p...@gmail.com: Shift+Number keys not working on
AC100 physical keyboard
http://code.google.com/p/connectbot/issues/detail?id=435

What steps will reproduce the problem?
1.Connect to a shell
2.Press SHIFT+1
3.Get an error beep

What is the expected output? What do you see instead?
Expect to see ! printed. Instead get an error beep.

What version of the product are you using (you can see this by using Menu
-> About in the Host List)?

ConnectBot-git-2011-02-27_11-00-43.apk on Toshiba AC100.

What type of system are you trying to connect to?

Gentoo Linux

If you are able to connect, what is the output of "echo $TERM", "uname -a",
and any other relevant information on the host?

Can't type $ :-( However, 'set' tells be TERM=screen

Linux loki 2.6.34-gentoo-r12 #3 SMP Sun Dec 5 11:28:00 GMT 2010 x86_64 AMD
Phenom(tm) II X4 910e Processor AuthenticAMD GNU/Linux


Please provide any additional information below.

The AC100 is a smart book running Android 2.2. It doesn't have a soft
keyboard, but does have a full(ish) physical keyboard. SHIFT works for
capital letters, and indeed apparently all other keys on the keyboard apart
from the number keys 1-0. It even works correctly for +/= and _/-.

Connecting to a local terminal, typing SHIFT+1 gives me: ^[OP
Numbers 1-4 give me ^[O followed by P-S
Numbers 5-0 give me ^[[15~, ^[[17~, ^[[18~, ^[[19~, ^[[20~, ^[[21~
(^[[16~ is skipped for some reason).

It would also be nice if the physical CTRL keys worked (they don't appear
to have any effect). I've tried different emulation modes (xterm and vt100)
and this doesn't seem to have any effect on the above.

conne...@googlecode.com

unread,
Mar 21, 2011, 7:41:51 AM3/21/11
to connectbo...@googlegroups.com

Comment #1 on issue 435 by royalmi...@gmail.com: Shift+Number keys not

I have the same error with my ac100 any news about this ?


conne...@googlecode.com

unread,
Jun 24, 2011, 9:53:45 AM6/24/11
to connectbo...@googlegroups.com

Comment #2 on issue 435 by zwe...@xs4all.nl: Shift+Number keys not working

Over here, either ALT key appears to operate as SHIFT for the number keys.

conne...@googlecode.com

unread,
Jul 22, 2011, 12:42:45 AM7/22/11
to connectbo...@googlegroups.com

Comment #3 on issue 435 by bbla...@gmail.com: Shift+Number keys not working

I see the same issue with the sl4a (scripting) application, in addition to
connectbot. I have a Motorola Xoom with a physical bluetooth keyboard, and
after I turn on the keyboard this issue happens even when trying to input
special characters from the soft keyboard. Turning off the bluetooth
keyboard at this point doesn't help.

conne...@googlecode.com

unread,
Jul 22, 2011, 12:51:48 AM7/22/11
to connectbo...@googlegroups.com

Comment #4 on issue 435 by bbla...@gmail.com: Shift+Number keys not working

Adding on to my previous comment, I am able to get the keyboard to work
properly if it is turned off before I start connectbot. If I then turn on
the keyboard, the keys such as '(' and ')' work properly. This won't be
much help for those with permanently attached keyboards, but maybe it will
hint at the problem.

conne...@googlecode.com

unread,
Nov 18, 2011, 4:38:43 AM11/18/11
to connectbo...@googlegroups.com

Comment #5 on issue 435 by jarle...@gmail.com: Shift+Number keys not

I have the same error with my ac100 any news about this ?


conne...@googlecode.com

unread,
Mar 23, 2012, 7:03:42 AM3/23/12
to connectbo...@googlegroups.com

Comment #6 on issue 435 by po.keept...@gmail.com: Shift+Number keys not

Same pb here with lenovo thinkpad tablet (3.1) using lenovo's physical
keyboard (US).
After some research: I can type '!' (on top of '1'), if I modify the
Generic.kcm file this way:

key 1 {
label, number: '1'
base: '1'
shift: '!'
alt: '!' # this line added
ctrl, meta: none
}

... then I have to type alt+1 to get a '!' (normal behavior, given the
above config).

So basically, it seams that ConnectBot is not sending the "SHIFT" modifier
correctly for thoses numerical keys.
For now I'll change the charmap for keys 0, 1, 2, 3, ....

conne...@googlecode.com

unread,
Apr 11, 2013, 1:15:25 PM4/11/13
to connectbo...@googlegroups.com

Comment #7 on issue 435 by gatoatigrado: Shift+Number keys not working on
I'm experiencing this problem with a Nexus 7 and MiniSuit bluetooth
keyboard.

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

conne...@googlecode.com

unread,
Oct 4, 2014, 9:32:53 AM10/4/14
to connectbo...@googlegroups.com

Comment #8 on issue 435 by bklyn...@gmail.com: Shift+Number keys not
working on AC100 physical keyboard
https://code.google.com/p/connectbot/issues/detail?id=435

number keys and blue keys do not work correctly

conne...@googlecode.com

unread,
Oct 10, 2014, 2:26:18 AM10/10/14
to connectbo...@googlegroups.com

Comment #9 on issue 435 by mtkol...@gmail.com: Shift+Number keys not
Similar to in comment #6 I've used "Android Keyboard Helper" to remap
keys in a sneaky way such that almost all the physical keypresses are
the same as normal touch typing.

In short, this approach is to create a layout to set Shift keys to
Right-AltGraph, then map AltGraph+key to result in the same output as
Shift+key; with the exception of symbol keys, which are assigned to
output Symbol+null when AltGraph+SymbolKey is pressed.

- Remapping Android keys to avoid usage of 'shift'.
- Sending Connectbot two characters per symbol (it ignores null).

This works around the the shift-lock feature of CB, and fixes symbols
at a price of introducing a null character or two symbols. However,
fixing symbols may require Android Keyboard Helper'. It uses a small
unicode range reserved as "triggers" to output a string in place of
a single keypress, thus a workaround for symbols with CB.

My apologies for what follows, I'm testing comment markdown in
anticipation of posting a detailed explanation. I hope it's possible
to delete/edit comments here...

=== Markdown Test ===

Bold: *stared text* or [b]bbcode[/b] or <b>html</b>
Italic: _markdown here_ or _onemark_
Script: Super^script^ Sub,,script,,

= Heading 1 =

- Bulleted

* Bulleted star

{{{
def fib(n):
if n == 0 or n == 1:

conne...@googlecode.com

unread,
Oct 10, 2014, 2:36:32 AM10/10/14
to connectbo...@googlegroups.com

Comment #10 on issue 435 by mtkol...@gmail.com: Shift+Number keys not
working on AC100 physical keyboard
https://code.google.com/p/connectbot/issues/detail?id=435

Similar to in comment #6 I've used "Android Keyboard Helper" to remap
keys in a sneaky way such that almost all the physical keypresses are
the same as normal touch typing.

In short, this approach is to create a layout to set Shift keys to
Right-AltGraph, then map AltGraph+key to result in the same output as
Shift+key; with the exception of symbol keys, which are assigned to
output Symbol+null when AltGraph+SymbolKey is pressed.

- Remapping Android keys to avoid usage of 'shift'.
- Sending Connectbot two characters per symbol (it ignores null).

This works around the the shift-lock feature of CB, and fixes symbols
at a price of introducing a null character or two symbols in a row on
a single Shift+NumKey press. (CB ignores/strips the null before it
sends on the symbol to the TERM. A sneaky hack but such a layout can
affect normal android app text fields by introducing a spurious null
character.

However, fixing symbols may require Android Keyboard Helper'. It uses
a small unicode range reserved as "triggers" to output a string in
place of a single keypress, thus a workaround for symbols with CB.
I'm not familiar enough with the android layout/IME framework yet to
comment on how Android Keyboard Helper implements this.

I'll be adding details to Issue 459 in the future.
Reply all
Reply to author
Forward
0 new messages