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

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

Re: Strange keypad bindings


From: Peter Dyballa
Subject: Re: Strange keypad bindings
Date: Sun, 28 Oct 2007 22:45:46 +0100


Am 28.10.2007 um 17:30 schrieb David Sagan:

Before launching GNU Emacs set a reasonable value for TERM
environment variable. Terminal.app allows some adjustments in its
preferences.


I was using xterm. I tried, for example, vt102 and that fixed the "5"
key but that  made some keys inoperable like the "=" key on the keypad
so I'm no better off than before.

When you press in Terminal a function or cursor or numerical keypad key, then these keys produce ANSI Esc sequences (you can record them, for example in *scratch* buffer, with: C-q <key press>). These codes are quite characteristic for each terminal (or its emulation). So it should help when Terminal and the remote shell have the same TERM value set and since Terminal is quite inflexible make the remote site follow Terminal (I am using xterm-color).

Did you make a test with this set-up? It might also help to launch GNU Emacs with -Q that no customisation disturbs. Does it make a difference with and without -Q?

--
Greetings

  Pete

"I wouldn't recommend sex, drugs or insanity for everyone, but they've always worked for me."
                                          -- Hunter S. Thompson






reply via email to

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