Page 1 of 1
emacs inside ssh terminal not accepting Backspace
Posted:
Thu Nov 10, 2011 6:49 pm
by deuscovrigus
I setup an SSH session using remoter and although the backspace on the native ios keyboard works in the commandline when I open an emacs session (22.3) the backspace key is mapped to Control-h for some weird reason. This behavior doesn't happen if I ssh from my PC or the MobileTerminal found on jailbroken devices. Also, toggling the "backspace sends delete" option doesn't fix anything. When opening VIM to test the same behavior, the backspace fromt the IOS keyboard sends delete instead of backspace regardless of the toggle.
I mainly use remoter to do ad-hoc changes to the server web and I rely on emacs or vim to edit the config scripts or php/html files. While I really enjoy having ctrl and alt (being an emacs user and all) readily available on top of the keyboard I would want to have the backspace working properly in emacs. Did anyone experience this issue?
Thanks,
Deus
Re: emacs inside ssh terminal not accepting Backspace
Posted:
Thu Nov 10, 2011 7:04 pm
by raf
Does the backspace button (in the special keys toolbar -- landscape in iphone) help?
Raf.
Re: emacs inside ssh terminal not accepting Backspace
Posted:
Fri Nov 11, 2011 11:59 am
by deuscovrigus
I have tried it yet to no avail. When I press either the native backspace or the one from the landscape kb it still sees it as ctrl+H. Can anyone please confirm this and maybe suggest a solution?
Re: emacs inside ssh terminal not accepting Backspace
Posted:
Fri Nov 11, 2011 12:15 pm
by raf
OK. I'm going to investigate this today. I added a ticket to trac, and if it turns out it's something I can fix on my end, and I can fix it today, I'm going to resubmit Remoter 3.2.1 with this fix.
Thanks for reporting!,
Raf.
Re: emacs inside ssh terminal not accepting Backspace
Posted:
Fri Nov 11, 2011 3:58 pm
by raf
I can't recreate your problem. Did you try the "Del" key from the special keys toolbar? It also only appears in landscape. Please try that.
Thanks,
Raf.
Re: emacs inside ssh terminal not accepting Backspace
Posted:
Sat Nov 12, 2011 1:00 am
by raf
Hi again, I take that back (that I can't recreate it). This does happen with emacs for me as well. But please look here for an explanation and solution:
http://www.emacswiki.org/emacs-en/BackspaceKeyHope this helps!,
Raf.
Re: emacs inside ssh terminal not accepting Backspace
Posted:
Tue Nov 15, 2011 11:16 am
by deuscovrigus
Ok I checked the page and remapping ^H to backspace works fine. I'm pretty content with it but If I were you guys I'd figure how tectia SSH, putty SSH, PrivateShell or openSSH on jailbroken phones send the Backspace key. On those clients I didn't have this issue.
Thank you though for looking into it and for the prompt replies!
-Deus
Re: emacs inside ssh terminal not accepting Backspace
Posted:
Tue Nov 15, 2011 8:03 pm
by raf
deuscovrigus wrote:Ok I checked the page and remapping ^H to backspace works fine. I'm pretty content with it but If I were you guys I'd figure how tectia SSH, putty SSH, PrivateShell or openSSH on jailbroken phones send the Backspace key. On those clients I didn't have this issue.
Thank you though for looking into it and for the prompt replies!
-Deus
Thanks!,
Yes, actually Remoter uses Putty for terminal support. See here for some info on how putty handles the backspace:
http://the.earth.li/~sgtatham/putty/0.5 ... html#4.4.1Currently Remoter uses control-H. I will add an option to support control-? for a future version.
Thanks for your feedback!,
Raf.
Re: emacs inside ssh terminal not accepting Backspace
Posted:
Wed Nov 16, 2011 1:48 pm
by deuscovrigus
Ok maybe not Putty (TBH I haven't used putty in a while ) but the other ones do.
Support for C-? would be great! thanks! Anyway, thanks again for the solution and keep up the great work! I really enjoy Remoter a lot!