3 ms·
The last time I tried to use SSH under iOS with the Apple bluetooth keyboard (trying different SSH apps including iSSH and TouchTerm) I found that I could not c
by nileshk 15y ago
The last time I tried to use SSH under iOS with the Apple bluetooth keyboard (trying different SSH apps including iSSH and TouchTerm) I found that I could not comfortably use Emacs due to various key combinations not being transmitted (I guess Vim isn't as much of a problem). One of the SSH app developers said that they were not able to trap certain keystrokes that were iOS keyboard shortcuts. Looks like this may still be an issue, as moconnor says this:
> Ctrl-X is my screen’s ‘hotkey’; it defaults to Ctrl-A but on a wireless keyboard that leaves unicode characters in the terminal - I assume this is related to Apple’s support for some common Emacs key bindings in iOS.
Is the situation any better now? Any workarounds to make this work better (e.g. configure the shell on the remote end)? How is this on Android?
I was trying this on an iPhone, but I'd imagine it handles bluetooth keyboards the same as the iPad.
Another issue I had was latency of the cellular connection (AT&T 3G); there was a very noticeable delay between keystrokes and the server receiving them and transmitting back. I imagine if you're on wifi most of the time this isn't as much of a problem, though. Or maybe you just get used to the latency.
- moconnor 15y agoI'm on wifi, there's rarely noticeable latency, even on full screen updates. Ctrl-a and friends still don't work properly. However, iSSH has an option that lets you use the option key instead, and for me that did work just fine, but escape didn't. Now in version 5.x escape and ctrl work for everything except the most common emacs key bindings, and option-A doesn't any more.
- rsl7 15y agoIn my experience, Prompt is much better app for straightforward terminal use than iSSH. It handles meta keys very well includig the hardware ESC key on the wireless keyboard that iSSH could not, last time I tried it.
- moconnor 15y agoiSSH supports escape and most ctrl key combinations now.
- nileshk 15y agoAre there any tricks to getting Prompt working correctly? Ctrl seems to work good, at least the keys I tried (Ctrl-A/E/N/P/K/T). When connecting to a Linux box, I can get some of meta keys to kinda work, but most of them do unexpected things. When connecting to an OS X box, option just spits out special characters. Prompt doesn't appear to have any configuration option for what type of terminal emulation, so I guess my only options are to configure the shell I am connecting to. I just tried the latest versions of both Prompt and iSSH on iOS 5 on an iPhone 3GS. Prompt is at least a big improvement over iSSH in this area, but, unless I can figure out how to get it to work better, it is definitely not something I'd be comfortably using for Emacs.