unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Tim Johnson <tim@akwebsoft.com>
To: help-gnu-emacs@gnu.org
Subject: Re: translating numpad keys in linux terminal
Date: Wed, 1 Apr 2015 07:37:46 -0800	[thread overview]
Message-ID: <20150401153746.GA1637@mail.akwebsoft.com> (raw)
In-Reply-To: <878uebx6ib.fsf@kuiper.lan.informatimago.com>

* Pascal J. Bourguignon <pjb@informatimago.com> [150401 07:11]:
> Michael Heerdegen <michael_heerdegen@web.de> writes:
> 
> > Tim Johnson <tim@akwebsoft.com> writes:
> >
> >> Is there a way to read the other keys with "kp-" as in gui emacs?
> >
> > I don't think so.  If you have a look at the lossage (C-h l), you see
> > what events Emacs receives before doing any key translations.
> >
> > For the up and kp-up keys for example I see the same events coming from
> > the terminal: ESC O A.  Thus Emacs can't distinguish the two.
> >
> > At least that's what happens here.  Maybe it is different when using
> > a different terminal or different terminal settings.
> 
> It all depends if you can configure your terminal (or terminal
> emulator), to send different code sequences to distinguish 1 from kp-1.
> 
> If you use a terminal emulator, they you might be able to patch it more
> easily than if you use a physical terminal (which assumedly is
> improbable).
> -- 
> __Pascal Bourguignon__                 http://www.informatimago.com/
> “The factory of the future will have only two employees, a man and a
> dog. The man will be there to feed the dog. The dog will be there to
> keep the man from touching the equipment.” -- Carl Bass CEO Autodesk
  Thanks for the replies. I found the same with earlier versions of
  ubuntu. 
  
  FYI: The workstation is a mac mini with OS X on dual-boot. I
  find that iTerm2 translates all but the enter key, but as if
  numlock is on (which is OK for binding).

  Oh well, I'll just use X11 emacs, which is as nimble on ubuntu as
  terminal mode is on the Mac :)
  thanks again

-- 
Tim 
tim at tee jay forty nine dot com or akwebsoft dot com
http://www.akwebsoft.com, http://www.tj49.com



  reply	other threads:[~2015-04-01 15:37 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-30 15:12 translating numpad keys in linux terminal 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 [this message]
     [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
     [not found] <mailman.3029.1427728348.31049.help-gnu-emacs@gnu.org>
2015-04-01 23:46 ` 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
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

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=20150401153746.GA1637@mail.akwebsoft.com \
    --to=tim@akwebsoft.com \
    --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).