all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alan Mackenzie<none@example.invalid>
Subject: Re: tty emacs
Date: Wed, 23 Apr 2003 08:00:47 +0000	[thread overview]
Message-ID: <f7h58b.s5.ln@acm.acm> (raw)
In-Reply-To: mailman.5101.1051076825.21513.help-gnu-emacs@gnu.org

Niels Freimann <nfreimann@firemail.de> wrote on Wed, 23 Apr 2003 07:38:24
+0200:
> Hi,

> emacs in tty mode (emacs -nw) obviously doesn't know
> C-prior and C-next. I already tried out 
> (define-key function-key-map "\e[40~" [C-prior])
> (define-key function-key-map "\e[41~" [ C-next])

Presumably you're running in a tty window under X, but under which
operating system?.  I run emacs directly on a Linux tty.  I had to remap
my keyboard (with the program loadkeys) fairly radically to make it
produce different codes for [right] and [C-right], and so on.  Maybe you
have to do this (or something similar) for emacs -nw.

> however its doesn't help. Any idea?

Well, tell us HOW it didn't help.  :-)   What exactly does happen?

Let me guess:  C-prior does exactly the same as prior.  After typing
these two key sequences, do a C-h l ('view-lossage') to see exactly what
key codes emacs received.

> -Niels

-- 
Alan Mackenzie (Munich, Germany)
Email: aacm@muuc.dee; to decode, wherever there is a repeated letter
(like "aa"), remove half of them (leaving, say, "a").

       reply	other threads:[~2003-04-23  8:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.5101.1051076825.21513.help-gnu-emacs@gnu.org>
2003-04-23  8:00 ` Alan Mackenzie [this message]
2003-04-23 10:44   ` tty emacs pclouds
2003-04-23  5:38 Niels Freimann
2003-04-23 11:18 ` Eli Zaretskii

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=f7h58b.s5.ln@acm.acm \
    --to=none@example.invalid \
    /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.