all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* tty emacs
@ 2003-04-23  5:38 Niels Freimann
  2003-04-23 11:18 ` Eli Zaretskii
  0 siblings, 1 reply; 4+ messages in thread
From: Niels Freimann @ 2003-04-23  5:38 UTC (permalink / raw)


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])
however its doesn't help. Any idea?

-Niels

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: tty emacs
       [not found] <mailman.5101.1051076825.21513.help-gnu-emacs@gnu.org>
@ 2003-04-23  8:00 ` Alan Mackenzie
  2003-04-23 10:44   ` pclouds
  0 siblings, 1 reply; 4+ messages in thread
From: Alan Mackenzie @ 2003-04-23  8:00 UTC (permalink / raw)


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").

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: tty emacs
  2003-04-23  8:00 ` Alan Mackenzie
@ 2003-04-23 10:44   ` pclouds
  0 siblings, 0 replies; 4+ messages in thread
From: pclouds @ 2003-04-23 10:44 UTC (permalink / raw)
  Cc: help-gnu-emacs

On Wed, Apr 23, 2003 at 08:00:47AM +0000, Alan Mackenzie wrote:
> 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.

Could you show me how to do that? I'm using Emacs on a Linux tty too,
and have the same problem with [right], [C-right].

> 
> > 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").
> 
> _______________________________________________
> Help-gnu-emacs mailing list
> Help-gnu-emacs@gnu.org
> http://mail.gnu.org/mailman/listinfo/help-gnu-emacs

-- 
Bi Cờ Lao

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: tty emacs
  2003-04-23  5:38 tty emacs Niels Freimann
@ 2003-04-23 11:18 ` Eli Zaretskii
  0 siblings, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2003-04-23 11:18 UTC (permalink / raw)
  Cc: help-gnu-emacs

> From: Niels Freimann <nfreimann@firemail.de>
> Date: Wed, 23 Apr 2003 07:38:24 +0200
> 
> 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])
> however its doesn't help. Any idea?

What does "C-h l" (that's a letter ell, not a digit one) tell if you
invoke it after pressing those keys?  What does "C-h c" say if you
follow it by one of them?

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-04-23 11:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-23  5:38 tty emacs Niels Freimann
2003-04-23 11:18 ` Eli Zaretskii
     [not found] <mailman.5101.1051076825.21513.help-gnu-emacs@gnu.org>
2003-04-23  8:00 ` Alan Mackenzie
2003-04-23 10:44   ` pclouds

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.