From: Pascal Bourguignon <spam@mouse-potato.com>
Subject: Re: Getting keys to work right across ssh
Date: Sun, 29 Jan 2006 17:19:52 +0100 [thread overview]
Message-ID: <87mzhfqa53.fsf@thalassa.informatimago.com> (raw)
In-Reply-To: mailman.42.1138491602.3044.help-gnu-emacs@gnu.org
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!"
next parent reply other threads:[~2006-01-29 16:19 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.42.1138491602.3044.help-gnu-emacs@gnu.org>
2006-01-29 16:19 ` Pascal Bourguignon [this message]
2006-01-28 17:38 Getting keys to work right across ssh David Abrahams
2006-01-29 19:36 ` Ian Zimmerman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87mzhfqa53.fsf@thalassa.informatimago.com \
--to=spam@mouse-potato.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).