all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@jurta.org>
To: Andreas Schwab <schwab@linux-m68k.org>
Cc: "Per Starbäck" <per.starback@gmail.com>,
	"Stefan Monnier" <monnier@iro.umontreal.ca>,
	emacs-devel@gnu.org
Subject: Re: Modified keypad keys
Date: Fri, 05 Oct 2012 19:43:03 +0300	[thread overview]
Message-ID: <87obkghnu0.fsf@mail.jurta.org> (raw)
In-Reply-To: <m2txu9yo9t.fsf@igel.home> (Andreas Schwab's message of "Fri, 05 Oct 2012 16:41:34 +0200")

> From tgetstr(3):
>
>        Only  the first two characters of the id parameter of tgetflag, tgetnum
>        and tgetstr are compared in lookups.

As I see in src/term.c, it uses two characters when calls `tgetstr',
but when I tried this patch:

=== modified file 'src/term.c'
--- src/term.c	2012-09-23 08:44:20 +0000
+++ src/term.c	2012-10-05 16:35:42 +0000
@@ -1275,6 +1275,8 @@ (at your option) any later version.
   {"k8", "f8"},
   {"k9", "f9"},
 
+  {"kF", "S-down"},      /*shifted down-arrow key*/
+  {"kR", "S-up"},        /*shifted up-arrow key*/
   {"&0", "S-cancel"},    /*shifted cancel key*/
   {"&9", "S-begin"},     /*shifted begin key*/
   {"*0", "S-find"},      /*shifted find key*/

it doesn't seem to help.  `S-up' still displays "<select> is undefined".



  reply	other threads:[~2012-10-05 16:43 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-28  6:40 Modified keypad keys Per Starbäck
2012-09-28  8:23 ` Stefan Monnier
2012-09-28 15:29   ` Juri Linkov
2012-09-28 20:16     ` Stefan Monnier
2012-09-29  2:14       ` Stefan Monnier
2012-09-29 19:19       ` Juri Linkov
2012-09-30  1:41         ` Stefan Monnier
2012-09-30  9:56           ` Juri Linkov
2012-09-30 19:45             ` Stefan Monnier
2012-10-01  9:29               ` Juri Linkov
2012-10-01 15:03                 ` Stefan Monnier
2012-10-04 18:41                   ` Juri Linkov
2012-10-04 23:26                     ` Andreas Schwab
2012-10-05 14:41                       ` Andreas Schwab
2012-10-05 16:43                         ` Juri Linkov [this message]
2012-10-05 16:55                           ` Andreas Schwab
2012-10-05 17:05                             ` Juri Linkov
2012-10-01  8:02         ` power set (Re: Modified keypad keys) Stephen Berman
2012-10-01  8:35           ` Christopher Monsanto
2012-10-01  9:07             ` Stephen Berman
2012-10-01 12:42               ` Lars Magne Ingebrigtsen
2012-10-01 13:06                 ` Stephen Berman
2012-10-01  9:27           ` Juri Linkov

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=87obkghnu0.fsf@mail.jurta.org \
    --to=juri@jurta.org \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=per.starback@gmail.com \
    --cc=schwab@linux-m68k.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.
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.