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

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

Re: `global-set-key' doesn't work in my console


From: Peter Dyballa
Subject: Re: `global-set-key' doesn't work in my console
Date: Mon, 7 Jan 2008 10:51:37 +0100


Am 07.01.2008 um 09:03 schrieb Forrest:

global-set-key (kbd "C-,")
'(lambda () "scroll the page down" (interactive) (scroll- down 1)))

The console and other terminal emulations can only produce "key events" in the ASCII or extended ASCII range, i.e. 8 bit characters (man ascii). Therefore not every time you hold down the control "modifier" key and press some other key something with a meaning is produced. It's like when you're scribbling on paper: not every "picture" is a letter or a digit or worth an exhibition at MOMA ... C-, can work X which has its own concept of events that are abstracted from ASCII codes.

--
Greetings

  Pete

November, n.:
        The eleventh twelfth of a weariness.
                – Ambrose Bierce, "The Devil's Dictionary"







reply via email to

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