-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
can't enter some characters #1
Comments
Numbers: it's standard behavior on US or Polish keyboard. I didn't know that there are keyboards like this (I will change code to use data from input method). Punctuation signs: they should work unless Ctrl or Alt is used to generate them on Belgian keyboards. It's hard to debug a keyboard that you don't have. I even had troubles with my own Asus Transformer that for some reason refuses to produce events for some key combinations like Ctrl-Space. |
On Belgian layout (and several others), we have signs on the top row, and numbers need to be input with shift. Punctuation signs are different on all layouts, so the input methot needs to be used for them too. The standard android terminal works fine with my layout, so the problem is probably in one of your modifications... by the way, would it be possible to use your emacs in the standard terminal ? Thanks |
Input method is used for punctuation signs already, so I'm surprised that they don't work for you. Unfortunately I can't use input method for everything - Alt/AltGr character is used as Meta and (at least polish) methods doesn't emit any characters - I have to translate keycodes manually. Yes it's possible, but all terminal emulator I've seen have no easy way of typing "Meta" and they don't support sequences like Ctrl-Space. This should launch emacs from other terminal:
|
Same issue with US bluetooth keyboard. Don't see characters `~!@#%^&*()_+{}[]| from bluetooth keyboard. Software Hacker Keyboard works fine. Thanks for this port. |
I installed android-emacs in a samsung galaxy tab 10.1. Have no trouble using android's screen keyboard or hacker's keyboard also on the screen. However, my kensington bluetooh keyboard presents several drawbacks: the keys on the diagonals to the right of -, p, l and < are dead only in emacs. the alt/option key doesn't work either. I tried changing the language of the tablet (it's Spanish by default), which makes those keys active, but deactivates ctrl, and alt, as well as the @ sign. |
I experience the same problem with an Apple Bluetooth keyboard, but when I use the same keyboard with Android Terminal Emulator, all keys work fine. A clue? |
I have modified keyboard handling to support Alt-key sequences. If think |
These issues seem really inconsistent. On Samsung Galaxy Note 10.1 the native keyboard works fine for all (most?) punctuation. The Hacker keyboard fails on some (e.g. *). My hardware bluetooth fails on others (e.g. "."). All keyboards seem to work fine in other applications. |
Thanks for the update. In fact, now the alt-key works properly but the ctrl key is dead in my kensington bluetooth keyboard. Sad because every other key is working. I also tried to assign ctrl to other keys from the preferences menu, but it didn't work for me. |
+1 for this bug on a Asus Transformer Prime Infinity (TF700) with hardware UK keyboard. BTW, these keys all work in Terminal Emulator and Terminal IDE |
I'm going to get TF700 this week, so I will investigate. Micha³ Zieliñski
|
Nice one, thanks for responding. Michał Zieliński [email protected] wrote:
|
Any progress with the tf700 keyboard? It would be very useful for me -- emacs is great to have, but it is a little bit frustrating not to be able to really use it. |
Do you want new device bugs, or should we just pile on here? Just picked up an Asus TF300T with keyboard(+battery) dock on woot, and the dock-keyboard fails to generate anything for the punctuation keys. (Letters are fine - ^x^s and ^x^c are also fine, shift-numbers are fine, it's just actual punctuation keys: .,/;'`[]-= get no reaction at all - in emacs itself, or if I ^x^c out of it, from the shell that's left behind...) |
A possible workaround for hardware keyboards (bluetooth, usb...), from a user review of this Emacs for Android app on Google Play (September 8, 2012 - Version 1.0.1):
|
Nice! I just tried "External Keyboard Helper Pro" on the Asus Transformer TF300T mentioned above, and the punctuation all works. I don't know if that leads to anything useful towards fixing it from within Emacs.app, but it means I can start using it and looking into more interesting problems :-) |
Same problem occurs with the TF201 en-US keyboard. Any luck debugging this? |
Does the workaround (External Keyboard Helper Pro app) fix it for you? |
it does, but I was mostly posting for error-tracking edification ;-) |
tigerhawkvok, in the user reviews (Google Play) there is one yesterday also with the TF201, saying "I'd love to see the ability to put in your own startup file!" Maybe it's your comment. In this case, I tested adding an init file, an it works. It's: /sdcard/emacs/.emacs |
I've only tried the demo of External Keyboard Helper Pro, but it doesn't BTW, the full version seems to have disappeared from the play store now On Mon, Jan 7, 2013 at 11:27 PM, juan-g [email protected] wrote:
|
same here, the External Keyboard helper didn't work w/ kensington bluethooth keyboard on a Galaxy 10.1 tablet however, I was able to introduce punctuation signs from the external keyboard for a minute or so, while the keyboard was bluetooth connected and the system had not recognized it; I've tried unsuccessfully to disable all tablet's input modes and see if plain bluetooth connection fixes the issue. |
It seems the Pro version (External Keyboard Helper Pro) is again available. They say: "It does not automatically switch Input Method. It only shows the dialog and you will have to choose Input Method manually. This is an intentional limitation built into Android by Google. No app is allowed to change Input Method without user interaction (unless the app is a system app)." And, about the Demo version, they say: "Everything works just like in the Pro version except for the Space button which prints a message that this is a demo version." |
These guys here http://code.google.com/p/connectbot/issues/detail?id=369 have been discussing for months the same issue of this thread --i.e. dead-keys in external keyboards for android devices. From comment 73 on some different approaches provide solutions for the mapping of dead keys, one of them remapping from busybox (comment 79) --don't know if the terminal emulator in android-emacs allows doing this. I wonder if some of these approaches would be useful to get the ctrl key working in emacs. My hunch is that the problem is on the android-emacs end because it somehow overrides interface with the native system key-mapping. |
A year later. On both a Samsung Galaxy S4 and a Nexus 7 tablet, USB keyboards had not worked with punctuation characters, on Emacs. Having now installed External Keyboard Helper Pro, at least the "." key now works; however, it is necessary to manually change the input method as mentioned above. I think there may be other glitches with Alt-modified characters. For now I am pleased to find this thread, and that some solutions have been found. Hooray!!! One is curious what could be the underlying issue. Perhaps something unique in the keyboard mapping of Emacs? Would the bash shell make a difference? I can type on my tablet and phone with a physical keyboard. |
I was trying to type a * (as in shift 8) for a heading in org-mode, and the only way I could get it to work is by using Fn and the numeric pad's * symbol. I'm using the on-screen hackers keyboard with US layout. |
I'm using an external bluetooth keyboard but only few keys are working within emacs, Ctrl Alt Shift 0-9 a-z space, any other key doesn't work (no symbols... no accent). I've tried External Keyboard Helper Demo, itself does work, it auto detect the layout correctly and the debug option show the keyboard id and scan codes for each key correctly, but it doesn't work within emacs. Any suggestion? |
Hi,
I just installed your emacs port for android on an asus tf101 with CM9 (ics), thanks for that. The transformer comes with a hardware keyboard, mine is Belgian. The regular android terminal works fine for all characters.
emacs starts fine and seems to work fine, but the terminal somehow borks my hardware keyboard.
Regular ascii letters work fine, ctrl and alt also, but that's about it...
The number keys directly produce numbers, whereas they should need shift in the Belgian layout. With shift, they produce special non ascii characters: !@#$%^&*() in that order.
Most other punctuation signs on the keyboard do not work: keys on the right of numbers and letters (all rows) do not produce any output.
Don't hesitate to ask for more info, I would definitely like to see this work :-)
The text was updated successfully, but these errors were encountered: