IOS – How to ssh from iPad with external keyboard and Emacs

emacsioskeyboardssh

I am thinking about retiring my portable for an iPad + keyboard. (With Amazon/Linode/etc as server.)

I tried the iSSH app and ran Emacs in a terminal (not X Windows), using the Apple external keyboard.

This is unusable. Some extra chars are generated with control-F and option for Meta (Escape) generates some extra characters. There are probably other problems.

Terminal programs can't just remove/add/modify stuff as they like! Especially not for Emacs!

This problem was discussed already at the iPad launch.

The specifics for iSSH was discussed at least last November. (A fix was promised for the next release, which was in March.)
http://groups.google.com/group/issh/browse_thread/thread/b58508bb42a3241e?pli=1

I saw in other discussions a few months ago that the "Prompt" app should work better, but that it had other problems? It was updated a few weeks ago.

Any advice on how to make this work? Prompt?


Edit, a conclusion:
I have checked Prompt now. It doesn't have programmable keys and no way to get the Alt X to send real ESC X. I'll see what chars are generated by the keyboard and if I can put that into Emacs.

So iSSH has programmable keys (and lots of other features) except for control keys, but no working Control. And Prompt has working Control keys but no possibility to set up keys. The union of them would be perfect. 🙁

At least both applications are under active development, so this should show up.

Best Answer

Prompt is generally considered to be the best (or at least among the best) SSH clients for iOS. I've never used it specifically for emacs (as I don't use emacs) but I've never seen it send strange extra characters, even when sending control characters to, say, nano.

Edit: Prompt version 1.3.2 now has a feature where you can use the Escape key as a Meta key.