help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting keys to work right across ssh


From: Pascal Bourguignon
Subject: Re: Getting keys to work right across ssh
Date: Sun, 29 Jan 2006 17:19:52 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

David Abrahams <dave@boost-consulting.com> writes:

> Hi,
>
> Whenever I ssh into a system and run a terminal-based emacs I find
> that some keys are mapped in surpising ways.  For example, it's common
> that the backspace key I usually use to delete the character before
> point is mapped to `C-h' (yes, I know that's the backspace character)
> which lands me in help every time I try to correct a mistake.  Today I
> ssh'd into a Mac and Alt+x (usually `M-x') is interpreted as `M-8'.  
>
> When I can use an X-enabled emacs, I'll generally do that and wait
> through the horrible startup delays, but that's not always an option.
> For example, some of my machines don't have X.
>
> I understand there are probably several layers of configuration
> involved with this problem, and I'm willing to slog through them to
> make it right, but I can't even find a systematic guide to attacking
> it.  Can anyone help?

What terminal emulator do you use?

In xterm, with Control - left-mouse-button, you get a pop-up menu in
which you can configure "Meta send ESC" and the behavior of the
Backspace key (BS or DEL).  You can also edit ~/.Xresources to set the
defaults.

In Terminal.app, it's in the Window Preferences.

In emacs, you can use the toggle M-x normal-erase-is-backspace-mode
RET to match what is sent by the Backspace key.  In any case, you can
get the help with F1 instead of C-h.


-- 
__Pascal Bourguignon__                     http://www.informatimago.com/

"A TRUE Klingon warrior does not comment his code!"


reply via email to

[Prev in Thread] Current Thread [Next in Thread]