[Q] Keyboard Dock meta keys via ssh+GNUScreen/Vim? - Eee Pad Transformer Q&A, Help & Troubleshooting

Hello. So looking at potential use cases for this tablet; I do most of my work in a terminal in a screen session; with vim or similar. Looking at screen shots of the keyboard; I see Ctrl/Alt keys; Can I expect those to work in ConnectBot or similar?
ctrl-a-c, ctrl-r,ctrl-p, alt-. for bash/vim/etc shortcuts being the idea. Any thoughts?
If not; I'll probably end up tethering in bestbuy and remoting into one of my servers to test...

Interested, too...
I'm also interested in whether Ctrl or Meta / Alt works in any terminal applications on the Transformer. Anyone care to share their experience?
Thanks!

Just now trying connectbot.
It appears that ctrl isn't working for me.
Tab isn't working as a tab, but the right shift works as both a shift and tab.
Alt operates as '/'
When I get a chance, I'll spend a little time investigating more

In Better Terminal Emulator Pro, the Ctrl key works extremely well.
I'm also kind of able to remap the Back key and Search keys to ESC by ^[ and ^[1, but it doesn't quite work out the way I want it to. At least I can access VI by hitting ^[1 (Back key).

Any more updates/ first hand experiences?
Sent from my Nexus One using XDA App

Hacker's Keyboard

Related

Does anyone know of an application like Keycaps for WM5?

I used to have a Treo 650 with Pam OS, that's why I like the form-factor of the Ubiquio.
I used to be able to use the hardware keyboard alone for most things and had no need for onscreen keyboads because I used one free application that would allow me to press and hold any of the keys and it would alternate from lower case to upper case to option key.
For example if I pressed and held, I would get the following on the 650: gG6, aA&, oO" etc and could scroll up and down the list to select.
I use the special characters a lot and find it annoying to have to recourse to the onscreen keyboard for that. Right how press and hold just repeats the key pressed.
The application I used on Treos was called Keycaps. Right now I cannot find anything like Keycaps for windows mobile. I loved it and hope someone comes up with something similar for the windows mobile.
Does anyone know if there is native support within the Windows to do what I am looking for or if there is an add-in that would allow this functionality? I like to avoid the shift and option keys.
Magikblite?
Seems like this may be what you need:
http://mobiion.com/magikblite.html
lulugirl896 said:
Seems like this may be what you need:
http://mobiion.com/magikblite.html
Click to expand...
Click to collapse
Thanks very much! I will try that! Regards, w.

Simple app to map a CTRL key on the FUZE

Update: Much, much, much improved attempt at Fuze key-remapping here.
Hi All -- I am a programmer by trade, but not a C++/WM programmer. However, after playing around a bit I finally was able to put together a small app (about 150KB) that maps the windows key on the keyboard to a CTRL key. Very simple right now, but it works. I even have it set up so that a double-click of the WINDOWS key will bring up the start menu (though I am not sure if I like this -- I may make it WIN+SPACE). I am also working on adding things like WIN+PERIOD = Escape, and perhaps WIN+SPACE = tab, etc -- things like that. You get the idea.
Is there interest in a simple app that does this? Or -- Am I reinventing the wheel here? Has anyone else already done this? Searching did not result in any hits that I could find, only general complaints about the lack of a CTRL key on the keyboard.
Anyway, if there's interest, I can clean it up a bit, add a simple UI, and post it here. No promises, like I said, I am not an expert WM or C++ programmer. It probably won't be configurable, at least not a first. If interest remains strong and it works well, eventually I can make it fully featured with some config options. If not, I am just writing this for me, so I won't need to bother making it pretty. Just thought I'd check in here.
- Jeff
I would love a CTRL key on my keyboard.
so would i.... if i may suggest posting the source so others could edit to there liking
irus said:
so would i.... if i may suggest posting the source so others could edit to there liking
Click to expand...
Click to collapse
That's a better idea. Easier for me, too. Warning: the source will be ugly! But hopefully the overall algorithm will be helpful.
I'll post some stuff up later today.
I will be the first one to download and test it out if you can do this. I've been desperate for a remap of one of these keys. I think the tab key will be very useful. Please please do this.
I personally would find a utility like this to be great. I like having the windows key still be able to get to the windows menu, but I need a few keys that I find myself switching to the on-screen full keyboard.
I could use CTRL, and a TAB replacement on the physical board.
Thank you
XC
I have been looking for a program to do this since I got my Fuze. I use gotomypc to control a DOS based program on my server and need CTRL, ESC, END and some Function keys if possible. It would make my life a whole lot easier. Thanks for your contributions and hard work. If possible, please post a CAB file with the program. I will be happy to test for you. Please make sure that there is a way to uninstall the program as well so when it is time for updates we can fresh install each time.
if:
win = ctrl
caps = tab
right shift = esc
then:
you win
On the Sprint Touch Pro we have the opposite problem- I have a CTRL key and a TAB but no Windows key.
Jason
OK, here's the simple "proof of concept". Please try at your own risk. The worst thing it will do is mess up your keyboard until a soft-reset, and then you are back to normal.
Just unzip and run the FuzeKeys.exe app on your Fuze. Leave the window open in the background and your keys will be mapped; close it or click "QUIT" and the keys will unmap. That's it for now. (sorry, nothing fancy here yet)
Summary of remappings:
WIN = CTRL
WIN (double-tap) = WIN (i.e., double-tap WIN for start menu, again to close it)
WIN+UP = Home
WIN+DOWN = End
WIN+MINUS = Escape
WIN+PERIOD = TAB
WIN+COMMA = SHIFT-TAB
That's pretty much it. I think I have seen CTRL get "stuck" down a few times, if that happens just press WIN once and it will unstick. Otherwise, I have not seen any issues yet. Play around and let me know how it goes.
Note that Opera doesn't seem to take advantage of much of this; TAB doesn't do anything on the page, CTRL-L doesn't open up the location bar, etc. HOME and END do work *beautifully*, though, and they are nice to have on a long page to scroll up and down.
On IE, it does use TAB, and HOME is nice enough to open up the location bar and give it the focus. Very nice. I really wish Opera did this.
Everything seems to work fine -- CTRL-X, CTRL-Z, CTRL-C, CTRL-A, even CTRL-Z (undo) in many places. Not all combos are supported everywhere it appears. You guys all know this, though.
Also note that ESC isn't widely used in most apps, and in some it just immediately "minimizes" it. (again, Opera!)
By the way -- it may be possible to use CAPS LOCK as TAB or something else, but so far i have had no luck doing much of anything with CAPS LOCK on the FUZE. In the emulator, things work fine, but the Fuze must be funky in how it handles that key.
ALSO -- source code will come later, once I clean it up a little.
They should have made double shift the caps key and the caps key tab, i had no problem with the Double shift for caps on my tilt.
anyway.. im using PQZII
http://www.nicque.com/PQz/DOC/index_e.htm
http://nicque.com/PQz/PQzII.htm
TurboX2 said:
They should have made double shift the caps key and the caps key tab, i had no problem with the Double shift for caps on my tilt.
anyway.. im using PQZII
http://www.nicque.com/PQz/DOC/index_e.htm
http://nicque.com/PQz/PQzII.htm
Click to expand...
Click to collapse
I've googled for weeks for something like that, but that's never turned up. I'll have to take a look.
EDIT -- can't seem to get PQZII to work, it keeps saying "keyboard hook failed". hmmm.... Anyone else use this for the FUZE?
I couldn't even get PQZII to load properly. It would always crash my phone. I finally uninstalled it.
PQzII runs fine on my Sprint Touch Pro. A little awkward to setup and use, but works.
Jason
jsmith8858 said:
OK, here's the simple "proof of concept". Please try at your own risk. The worst thing it will do is mess up your keyboard until a soft-reset, and then you are back to normal.
Just unzip and run the FuzeKeys.exe app on your Fuze. Leave the window open in the background and your keys will be mapped; close it or click "QUIT" and the keys will unmap. That's it for now. (sorry, nothing fancy here yet)
Summary of remappings:
WIN = CTRL
WIN (double-tap) = WIN (i.e., double-tap WIN for start menu, again to close it)
WIN+UP = Home
WIN+DOWN = End
WIN+MINUS = Escape
WIN+PERIOD = TAB
WIN+COMMA = SHIFT-TAB
That's pretty much it. I think I have seen CTRL get "stuck" down a few times, if that happens just press WIN once and it will unstick. Otherwise, I have not seen any issues yet. Play around and let me know how it goes.
Note that Opera doesn't seem to take advantage of much of this; TAB doesn't do anything on the page, CTRL-L doesn't open up the location bar, etc. HOME and END do work *beautifully*, though, and they are nice to have on a long page to scroll up and down.
On IE, it does use TAB, and HOME is nice enough to open up the location bar and give it the focus. Very nice. I really wish Opera did this.
Everything seems to work fine -- CTRL-X, CTRL-Z, CTRL-C, CTRL-A, even CTRL-Z (undo) in many places. Not all combos are supported everywhere it appears. You guys all know this, though.
Also note that ESC isn't widely used in most apps, and in some it just immediately "minimizes" it. (again, Opera!)
Click to expand...
Click to collapse
It works well enough, but it'd be nice to be able to run it silently (so I can start this up at boot).
I have been using MagiKB Lite to get access to some other symbols (like \ as an additional symbol on the / key) but although I think I should be able to create a CTRL key, haven't been able to yet. I also had to load an extra free piece of software called hookmgr, because without it magikb lite cause the volume buttons to malfunction. I am also useing AE Button to control several buttons to provide more app launchers (handy launcher).
I'd love a CTRL key.
I would love to have a tab key as well, but I would use it mostly in Opera, so that would be a fundamental requirement for me.
Regarding programs such as AEButton & PQZII, the instructions on how to use these programs is so poor, I don't know how an average person can figure them out.
g2tl said:
It works well enough, but it'd be nice to be able to run it silently (so I can start this up at boot).
Click to expand...
Click to collapse
Soon enough, that is the eventual goal. Glad it works for you.
source code please

[Q] Ctrl key and SSH

Hi all !
First of, a big thanks to everyone involved with this forum. You guys are doing a great job.
Now to my concerns:
as system administrator, I spend half of my day working on some hosts via ssh. When I got my TF101 I was so psyked to see that there were android ssh clients, thinking that I could also use my tablet + dock as a backup working station.
But after trying all the (free) ssh clients, it seems that none of them can use the Ctrl key on the dock's keyboard. I mean, what the point of an ssh client that doesn't understand the Ctrl key.
After rooting my TF101 I flashed Prime1.5 on it. I though that the terminal emulator in it would help a bit but I ended up finding out that there is no ssh binaries on android so far.
I might give a shot at the native ubuntu installation to see if i could work with it, but I kinda like android so I would prefer to stay on it.
Does anyone have the same problem as me ?
Does any dev around here know of a solution ?
Could it be possible to compile for android the openssh client from the GNU sources ?
Thanks in advance.
This might works. (will take some reading)
makec3rt's link does work. This is the APK:
https://github.com/downloads/lorantkurthy/connectbot/ConnectBot1.apk
This is a different branch with similar features:
https://github.com/downloads/tcoxon/connectbot/connectbot-transformer.apk
The first one has right-alt support and more tablet features, while the second one has right-shift+numbers for functions and a more phone-like interface.
I ended up buying Better Terminal Emulator Pro (can't have external links cause I'm too new). It supports Tab, Ctrl, and even lets you remap Back to Esc. It seems to solve all the problems I had with it.
Not sure if this adds any insight, but I used Connectbot which works with Hackers keyboard. I paired my TF with a bluetooth keyboard and the ctrl key did not work.
I haven't dug into it yet, but I'm hoping it's just a key mapping issue.
sent from my cyanogen(mod) vision
Just use Hacker's keyboard.
It works great with the original ConnectBot or the HoneyComb update that is floating around.
Edit: I misread and thought you were talking about the virtual keyboard. The modified APKs ldrn linked to should work nicely. Note that by default they will not act any differently, you must change a setting to set it for the "Asus Transformer Keyboard"
sassafras
There is a modified version of ConnectBot that is designed to use the Transformer's keyboard correctly.
APK
Github
EDIT :: Oops, same links as post 3. My bad
Thanks for your replies.
So I've tried the modified ConnectBot App and it indeed make the ctrl-key .... well kindof work.
It seems that only some combinaisons are mapped, for example: Ctrl+c and Ctrl+d wor fine but neither ctrl+a nor ctrl+e are recognized. Also the key combos used in 'screen' like ctrl+a,n don't work which is still a big problem for me.
I don't think that modifying a software made for phone in the case of a ssh client. They have no real line editor. it's like typing an sms and send it to the terminal.
In my opinion the best, most proper and probably not too hard solution, would be to find a way to compile a real (from the linux/bsd world) ssh binary that can be used through the terminal emulator on the TF101.
I'll give try to Ubuntu on the TF and see for myself if it can b worth a shot...
thx again.
Hacker's keyboard.
bibifuk said:
I don't think that modifying a software made for phone in the case of a ssh client. They have no real line editor. it's like typing an sms and send it to the terminal.
In my opinion the best, most proper and probably not too hard solution, would be to find a way to compile a real (from the linux/bsd world) ssh binary that can be used through the terminal emulator on the TF101.
Click to expand...
Click to collapse
That's exactly what Better Terminal Emulaor Pro does. It's a terminal emulator with an ssh binary.

Irssi via SSH

Has anyone managed to get Irssi running on a remote server via SSH working on the Infinity?
I have tried using ConnectBot and Irssi ConnectBot and I can load a session up, but when I try to switch Irssi "windows" which I would do on a PC with Alt+1 it doesn't work. Also CTRL+A and CTRL+D to close the screen session fails.
I know I could do this by installing an Android software keyboard but I would much prefer using the Infinity's physical keyboard.
Ani & iass
Try VX connectbot or start up an SSH session within Terminal IDE. Much better infinity keyboard support than straight up connectbot in both. In VX connectbot, CTRL + [key] works with the keyboard by pressing and releasing the CTRL key and then pressing the key you want (a, d, etc.). Not ideal, but not too bad.
I'm running my own fork of Irssi Connectbot (source available here), which is in turn based on Dan Drown's fork, which also includes support for mosh (MObile SHell).
If you install his fork (he has an apk available, I don't), you'll get a very functioning Connectbot with Transfomer Keyboard support (he has merged some of my patches). To switch windows in irssi, press and release the search button, then press the number or letter of the window. On my Swedish Transformer keyboard, there's only an Alt/AltGr key, which is needed to access some special characters like @, $, { and }, so that key can't be used to switch windows. I don't know how the Alt-only key on other keyboard layouts will work. Alt+[key] is equivalent to Escape followed by [key], and the search button is mapped as an Escape button.
Functionality wise, my fork just adds a setting that can optionally make the Back key act an Escape key (made me crazy when using vim otherwise). The downside with enabling this setting is that it also affects the on screen Back key (they send the same key code to Android apps). To go back with this setting enabled, you'll need to hold the back key down for a while before releasing it. If you don't want this setting, you'll get by just fine with Dan Drown's apk. (I will release an apk as well, but I don't have the time right now...)
---------- Post added at 10:20 AM ---------- Previous post was at 10:16 AM ----------
Btw, when using the ConnectBot versions available in the play store, the keyboard works much better if you start the shell sessions with the keyboard undocked, and attach it afterwards. Both Dan Drown's and my fork remove the need for that.
Thanks for the tips. I installed Dan Drowns fork and ctrl works. Unfortunately when I press the search button a "URL Scan" box comes up so I can't switch windows. I found out that double clicking switches to the next window though so it is usable.
Does anyone know why the URL scan is displayed?
sonicated said:
Does anyone know why the URL scan is displayed?
Click to expand...
Click to collapse
My bad. You have to go into the settings and select "Search button", then select "META (alt)" for what I said to work.
firetech said:
My bad. You have to go into the settings and select "Search button", then select "META (alt)" for what I said to work.
Click to expand...
Click to collapse
Thank you, that worked perfectly! I'm rather annoyed I didn't spot it myself

[REQ] Modified Irssi ConnectBot

I am not a programmer nor anything like that, but i have seen other Areas where they have successfully modded this program to bind keys to ctrl, alt, etc..
If any one has any ideas on how to do this and would do it, It would be appreciated.
Yeah...ummmm...what????
The only thing simple is the belief in simplicity.
Irssi Connect Bot is an SSH terminal program, and from other device forums I have seen that trough either compiling the source, Which I do believe is freely available from the Dev, or modifying the APK it is possible to bind the standard control (ctrl), Alternate? (alt) and Escape Keys to Hardware buttons on the device, as in say Map ctrl to the OK button, to make CTRL+C or what have you easier instead of using the on screen shortcut.
Like I said I am not a Dev, nor know how to do this which is why I requested it only based on what I had seen prior.
Ahhh OK I am sorry clueless on that one.
The only thing simple is the belief in simplicity.
Try using vx connectbot you can get it from the play store. I havent tried ctrl+c yet but the rest of the keys that werent working with connectbot like tab and SYM work perfect.

Categories

Resources