emacs inside ssh terminal not accepting Backspace

Report your issues here

emacs inside ssh terminal not accepting Backspace

Postby deuscovrigus » Thu Nov 10, 2011 6:49 pm

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
deuscovrigus
 
Posts: 4
Joined: Thu Nov 10, 2011 6:42 pm

Re: emacs inside ssh terminal not accepting Backspace

Postby raf » Thu Nov 10, 2011 7:04 pm

Does the backspace button (in the special keys toolbar -- landscape in iphone) help?

Raf.
raf
Site Admin
 
Posts: 1691
Joined: Sat Oct 09, 2010 12:17 am

Re: emacs inside ssh terminal not accepting Backspace

Postby deuscovrigus » Fri Nov 11, 2011 11:59 am

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?
deuscovrigus
 
Posts: 4
Joined: Thu Nov 10, 2011 6:42 pm

Re: emacs inside ssh terminal not accepting Backspace

Postby raf » Fri Nov 11, 2011 12:15 pm

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.
raf
Site Admin
 
Posts: 1691
Joined: Sat Oct 09, 2010 12:17 am

Re: emacs inside ssh terminal not accepting Backspace

Postby raf » Fri Nov 11, 2011 3:58 pm

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.
raf
Site Admin
 
Posts: 1691
Joined: Sat Oct 09, 2010 12:17 am

Re: emacs inside ssh terminal not accepting Backspace

Postby raf » Sat Nov 12, 2011 1:00 am

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/BackspaceKey

Hope this helps!,
Raf.
raf
Site Admin
 
Posts: 1691
Joined: Sat Oct 09, 2010 12:17 am

Re: emacs inside ssh terminal not accepting Backspace

Postby deuscovrigus » Tue Nov 15, 2011 11:16 am

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
deuscovrigus
 
Posts: 4
Joined: Thu Nov 10, 2011 6:42 pm

Re: emacs inside ssh terminal not accepting Backspace

Postby raf » Tue Nov 15, 2011 8:03 pm

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.1

Currently Remoter uses control-H. I will add an option to support control-? for a future version.

Thanks for your feedback!,
Raf.
raf
Site Admin
 
Posts: 1691
Joined: Sat Oct 09, 2010 12:17 am

Re: emacs inside ssh terminal not accepting Backspace

Postby deuscovrigus » Wed Nov 16, 2011 1:48 pm

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!
deuscovrigus
 
Posts: 4
Joined: Thu Nov 10, 2011 6:42 pm


Return to Support

Who is online

Users browsing this forum: No registered users and 30 guests