unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Dan Espen <despen@verizon.net>
To: help-gnu-emacs@gnu.org
Subject: Re: translating numpad keys in linux terminal
Date: Thu, 02 Apr 2015 21:25:17 -0400	[thread overview]
Message-ID: <mfkq4b$vf5$1@dont-email.me> (raw)
In-Reply-To: 87iodeujdh.fsf@debian.uxu

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


  parent reply	other threads:[~2015-04-03  1:25 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.3029.1427728348.31049.help-gnu-emacs@gnu.org>
2015-04-01 23:46 ` translating numpad keys in linux terminal Dan Espen
2015-04-02 10:49 ` Simon Clubley
2015-04-02 23:10   ` Emanuel Berg
2015-04-02 23:45     ` Richard Wordingham
     [not found]     ` <mailman.3207.1428018356.31049.help-gnu-emacs@gnu.org>
2015-04-03  0:48       ` Emanuel Berg
2015-04-03  1:23         ` Emanuel Berg
2015-04-03  1:25         ` Dan Espen [this message]
2015-04-03  1:46           ` Emanuel Berg
2015-04-03  2:56             ` Tim Johnson
     [not found]             ` <mailman.3215.1428029828.31049.help-gnu-emacs@gnu.org>
2015-04-03  3:38               ` Dan Espen
2015-04-03 13:35     ` Simon Clubley
2015-04-05 23:39       ` Emanuel Berg
2015-03-30 15:12 Tim Johnson
2015-04-01 10:08 ` Michael Heerdegen
     [not found] ` <mailman.3119.1427882930.31049.help-gnu-emacs@gnu.org>
2015-04-01 14:33   ` Pascal J. Bourguignon
2015-04-01 15:37     ` Tim Johnson
     [not found]     ` <mailman.3140.1427902682.31049.help-gnu-emacs@gnu.org>
2015-04-01 16:28       ` Pascal J. Bourguignon
2015-04-01 18:57         ` Tim Johnson
2015-04-01 23:23     ` Emanuel Berg

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='mfkq4b$vf5$1@dont-email.me' \
    --to=despen@verizon.net \
    --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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).