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

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

Re: translating numpad keys in linux terminal


From: Dan Espen
Subject: Re: translating numpad keys in linux terminal
Date: Thu, 02 Apr 2015 21:25:17 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

Emanuel Berg <embe8573@student.uu.se> writes:

> Richard Wordingham <richard.wordingham@ntlworld.com>
> writes:
>
> Perhaps someone in this list that is familiar with
> just exactly what the '-nw' option does can
> enlighten us?

>From the docs:

  Don't communicate directly with the window system, disregarding the
  DISPLAY environment variable even if it is set. This means that Emacs
  uses the terminal from which it was launched for all its display and
  input.

The terminal gets and sends X Events.

Emacs gets and sends _characters_ to and  from the terminal.

Sometimes Emacs may get signals from the terminal,
like when the terminal is resized.

Emacs in a terminal does not see X Events.

So, your issue is what does the terminal send to Emacs
when you hit a KP key,

Terminals like rxvt and xterm give you complete control.

gnome-terminal, sorry, I don't use it.

-- 
Dan Espen


reply via email to

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