From: Forrest <forrest.yu@gmail.com>
To: "Peter Dyballa" <Peter_Dyballa@web.de>
Cc: help-gnu-emacs@gnu.org
Subject: Re: `global-set-key' doesn't work in my console
Date: Wed, 9 Jan 2008 17:48:13 +0800 [thread overview]
Message-ID: <e4d2b03e0801090148p6b5a7465m9e071646c942553e@mail.gmail.com> (raw)
In-Reply-To: <D469B9AA-1F13-41A9-B104-D6718F0B3069@Web.DE>
[-- Attachment #1.1: Type: text/plain, Size: 1273 bytes --]
On Jan 9, 2008 3:31 AM, Peter Dyballa <Peter_Dyballa@web.de> wrote:
>
> Am 08.01.2008 um 17:32 schrieb Forrest:
>
>
> > thank you for your patience, however, do you mean that only printing
> > characters and C-@ to C-_ can be processed by emacs?
>
> Please don't mix up GNU Emacs and your console!
>
>
> > then what if you press F1~F12? and Home, End, Del, Ins? and Left,
> > Right, Up,
> > Down?
>
> These keys are not producing Control-anything events. Simple proof: C-
> q <your key press>.
>
> --
> Greetings
>
> Pete
>
> There are two major products that come out of Berkeley: LSD and UNIX.
> We don't believe this to be a coincidence.
> - Jeremy S. Anderson
>
>
>
>
i wrote a program which invokes `getchar()' at startup, then i press `C-,',
nothing happened, while `C-[a~z]' seem ok.
so i think the terminal doesn't pass all of the C-<KeyPress> combinations to
the program, i don't know which ones are chosen, but obviousely `C-,' and
`C-.' are not
i tried to figure out why, then i googled much but got little helpful, it
seems that `terminfo' is the point but i cannot understand what it is, the
output of 'infocmp' is a mess for me :(
i have changed the scrolling key-bindings to `M-n' and `M-p' and they work
good in the console
--
Stupid is as stupid does.
[-- Attachment #1.2: Type: text/html, Size: 1667 bytes --]
[-- Attachment #2: Type: text/plain, Size: 152 bytes --]
_______________________________________________
help-gnu-emacs mailing list
help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs
next prev parent reply other threads:[~2008-01-09 9:48 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-08 16:32 `global-set-key' doesn't work in my console Forrest
2008-01-08 19:31 ` Peter Dyballa
2008-01-09 9:48 ` Forrest [this message]
2008-01-10 12:51 ` Peter Dyballa
2008-01-10 16:37 ` Forrest Y. Yu
-- strict thread matches above, loose matches on Subject: below --
2008-01-07 8:03 Forrest
2008-01-07 9:51 ` Peter Dyballa
2008-01-07 15:40 ` Drew Adams
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=e4d2b03e0801090148p6b5a7465m9e071646c942553e@mail.gmail.com \
--to=forrest.yu@gmail.com \
--cc=Peter_Dyballa@web.de \
--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.