[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bind function key difference between terminal and Xterm
From: |
Peter Dyballa |
Subject: |
Re: bind function key difference between terminal and Xterm |
Date: |
Sat, 29 Nov 2008 11:02:06 +0100 |
Am 29.11.2008 um 04:27 schrieb Xend:
C-up is an event in a windowing system. but it's not an event in
Terminal. why EMACS can't catch it.
GNU Emacs, when launched without windowing, is a client of its host,
the terminal or terminal emulation. What Emacs receives are not
events – the terminal emulation, when running in a windowing system,
does receive them – but ANSI Esc sequences, by which the cursor can
change its shape or gets positioned or is moved or text elements are
emphasised etc. Teach your terminal emulation to send different codes
for <up> and C-<up> keyboard input, then GNU Emacs will be able to
distinguish between them.
--
Greetings
Pete
Clovis' Consideration of an Atmospheric Anomaly:
The perversity of nature is nowhere better demonstrated
than by the fact that, when exposed to the same atmosphere,
bread becomes hard while crackers become soft.