From: Tyler Smith <tyler.smith@mail.mcgill.ca>
To: help-gnu-emacs@gnu.org
Subject: emacs and xterm again
Date: 01 Jun 2007 05:38:44 GMT [thread overview]
Message-ID: <slrnf5vfno.ju2.tyler.smith@blackbart.mynetwork> (raw)
Sorry for the double-post. I accidentally sent this to gnu.emacs,
which seems to not be active.
Hi again,
I'm still working on some problems getting Emacs to recognise arrow
keys and page{up|down} etc. I've sorted out my previous issues in the
console by getting the proper keymap installed. What I can't figure
out is how to get emacs running in xterm to recognise special keys.
The arrow keys work fine when pressed singly. When I try to modify
them, like C-left or M-left, which produces backwards-word when I'm
running emacs under X, I get instead something that emacs interprets
as ^[[1;5D or ^[[1;3D. Function keys seem to work, but pgup and pgdown
give me similar outcomes to the modified arrow keys.
Things I've checked, with help from people on this list:
$TERM = xterm
M-x global-set-key RET <pg-up> RET ...
fails because emacs interprets the page-up as a M-[ <ret> 5~
Executing:
(define-key function-key-map "\e[5~" [prior])
(define-key function-key-map "\e[6~" [next])
doesn't change the behaviour. I've checked that my xterm.el file looks
right, and recompiled it.
I've run emacs -nw -q
Nothing seems to work.
I'm running Debian Lenny with Fluxbox. Any further suggestions would
be welcome!
Thanks,
Tyler
reply other threads:[~2007-06-01 5:38 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=slrnf5vfno.ju2.tyler.smith@blackbart.mynetwork \
--to=tyler.smith@mail.mcgill.ca \
--cc=help-gnu-emacs@gnu.org \
/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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.