* keypad bindings in gnome not in xTerm ??
@ 2008-08-15 4:41 William Case
2008-08-15 11:16 ` Kevin Rodgers
[not found] ` <mailman.16792.1218798998.18990.help-gnu-emacs@gnu.org>
0 siblings, 2 replies; 10+ messages in thread
From: William Case @ 2008-08-15 4:41 UTC (permalink / raw)
To: Emacs List
Hi;
I have some basic commands such 'kill-this-buffer' bound to keypad keys
e.g. <kp-subtract>. As long as I am in a Gnome desktop it works fine.
If I switch to an xterm (C-A-Fx), the binding no longer works even
though C-h w says that 'kill-this-buffer' is still bound to
<kp-subtract>. I have double checked that Num Lock is off.
How can I get my keypad bindings to work in xTerminals? They are what I
am used to now.
--
Regards Bill;
Fedora 9, Gnome 2.22.3
Evo.2.22.3.1, Emacs 22.2.1
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: keypad bindings in gnome not in xTerm ??
2008-08-15 4:41 keypad bindings in gnome not in xTerm ?? William Case
@ 2008-08-15 11:16 ` Kevin Rodgers
2008-08-15 15:26 ` William Case
[not found] ` <mailman.16810.1218813978.18990.help-gnu-emacs@gnu.org>
[not found] ` <mailman.16792.1218798998.18990.help-gnu-emacs@gnu.org>
1 sibling, 2 replies; 10+ messages in thread
From: Kevin Rodgers @ 2008-08-15 11:16 UTC (permalink / raw)
To: help-gnu-emacs
William Case wrote:
> I have some basic commands such 'kill-this-buffer' bound to keypad keys
> e.g. <kp-subtract>. As long as I am in a Gnome desktop it works fine.
> If I switch to an xterm (C-A-Fx), the binding no longer works even
> though C-h w says that 'kill-this-buffer' is still bound to
> <kp-subtract>. I have double checked that Num Lock is off.
>
> How can I get my keypad bindings to work in xTerminals? They are what I
> am used to now.
What does `C-h k <kp-subtract>' show in xterm?
--
Kevin Rodgers
Denver, Colorado, USA
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: keypad bindings in gnome not in xTerm ??
2008-08-15 11:16 ` Kevin Rodgers
@ 2008-08-15 15:26 ` William Case
2008-08-19 8:29 ` Kevin Rodgers
[not found] ` <mailman.17021.1219134578.18990.help-gnu-emacs@gnu.org>
[not found] ` <mailman.16810.1218813978.18990.help-gnu-emacs@gnu.org>
1 sibling, 2 replies; 10+ messages in thread
From: William Case @ 2008-08-15 15:26 UTC (permalink / raw)
To: Kevin Rodgers; +Cc: help-gnu-emacs
Hi Kevin;
On Fri, 2008-08-15 at 05:16 -0600, Kevin Rodgers wrote:
> William Case wrote:
> > I have some basic commands such 'kill-this-buffer' bound to keypad keys
> > e.g. <kp-subtract>. As long as I am in a Gnome desktop it works fine.
> > If I switch to an xterm (C-A-Fx), the binding no longer works even
> > though C-h w says that 'kill-this-buffer' is still bound to
> > <kp-subtract>. I have double checked that Num Lock is off.
> >
> > How can I get my keypad bindings to work in xTerminals? They are what I
> > am used to now.
>
> What does `C-h k <kp-subtract>' show in xterm?
"self-insert-command"
--
Regards Bill;
Fedora 9, Gnome 2.22.3
Evo.2.22.3.1, Emacs 22.2.1
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: keypad bindings in gnome not in xTerm ??
2008-08-15 15:26 ` William Case
@ 2008-08-19 8:29 ` Kevin Rodgers
2008-08-19 14:09 ` William Case
[not found] ` <mailman.17021.1219134578.18990.help-gnu-emacs@gnu.org>
1 sibling, 1 reply; 10+ messages in thread
From: Kevin Rodgers @ 2008-08-19 8:29 UTC (permalink / raw)
To: help-gnu-emacs
William Case wrote:
> Hi Kevin;
>
> On Fri, 2008-08-15 at 05:16 -0600, Kevin Rodgers wrote:
>> William Case wrote:
>>> I have some basic commands such 'kill-this-buffer' bound to keypad keys
>>> e.g. <kp-subtract>. As long as I am in a Gnome desktop it works fine.
>>> If I switch to an xterm (C-A-Fx), the binding no longer works even
>>> though C-h w says that 'kill-this-buffer' is still bound to
>>> <kp-subtract>. I have double checked that Num Lock is off.
>>>
>>> How can I get my keypad bindings to work in xTerminals? They are what I
>>> am used to now.
>> What does `C-h k <kp-subtract>' show in xterm?
>
> "self-insert-command"
Ah, I see the same thing: - runs the command self-insert-command
Note the absence of "(translated from <kp-subtract>)", which means
that the terminal sent "-" to Emacs rather than an escape sequence.
You can confirm that with `<kp-subtract> C-h l'.
So I think you are out of luck and cannot bind <kp-subtract>
independently of "-" in xterm. But a little bit of Googling
suggests that you might be able to get xterm to send escape
sequences via X resources; then Emacs should automatically
recognize <kp-subtract> via function-key-map.
Please let us know if you figure out how to get xterm to
send escape sequences for the keypad.
--
Kevin Rodgers
Denver, Colorado, USA
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: keypad bindings in gnome not in xTerm ??
2008-08-19 8:29 ` Kevin Rodgers
@ 2008-08-19 14:09 ` William Case
0 siblings, 0 replies; 10+ messages in thread
From: William Case @ 2008-08-19 14:09 UTC (permalink / raw)
To: Kevin Rodgers; +Cc: help-gnu-emacs
Hi Kevin;
On Tue, 2008-08-19 at 02:29 -0600, Kevin Rodgers wrote:
> William Case wrote:
> > Hi Kevin;
> >
> > On Fri, 2008-08-15 at 05:16 -0600, Kevin Rodgers wrote:
> >> William Case wrote:
> >>> I have some basic commands such 'kill-this-buffer' bound to keypad keys
> >>> e.g. <kp-subtract>. As long as I am in a Gnome desktop it works fine.
> >>> If I switch to an xterm (C-A-Fx), the binding no longer works even
> >>> though C-h w says that 'kill-this-buffer' is still bound to
> >>> <kp-subtract>. I have double checked that Num Lock is off.
> >>>
> >>> How can I get my keypad bindings to work in xTerminals? They are what I
> >>> am used to now.
> >> What does `C-h k <kp-subtract>' show in xterm?
> >
> > "self-insert-command"
>
> Ah, I see the same thing: - runs the command self-insert-command
>
> Note the absence of "(translated from <kp-subtract>)", which means
> that the terminal sent "-" to Emacs rather than an escape sequence.
> You can confirm that with `<kp-subtract> C-h l'.
>
I will chase this down.
> So I think you are out of luck and cannot bind <kp-subtract>
> independently of "-" in xterm. But a little bit of Googling
> suggests that you might be able to get xterm to send escape
> sequences via X resources; then Emacs should automatically
> recognize <kp-subtract> via function-key-map.
>
> Please let us know if you figure out how to get xterm to
> send escape sequences for the keypad.
I will, but it is not just the keypad that is the problem.
Kevin, are you running Gnome and/or Fedora? Why I ask is, this morning
I ran a little program to clean gconf and it came up with about 15
mis-configured keyboard conf-keys. (Not my doing that I know of.) I
have other gnome problems creeping in as well. It could be the result
of a fresh install while retaining my '/home' partition. That's my
problem for another list and another day.
I just wondered if you were getting the same result because of the same
kind of problem. I know emacs keeps itself pretty well divorced from
such things but one never knows what the distribution or desktop might
be forcing on the whole system in its latest incantation.
By the way, <kp-subtract> isn't the only binding I have lost. I just
used that as an example. Some others are straight forward like C-F1 =>
(find-file-other-window "/path/to/.emacs"). Several like that aren't
working either. The mystery is that other custom .emacs commands are
working in xterm, just not the key bindings.
--
Regards Bill;
Fedora 9, Gnome 2.22.3
Evo.2.22.3.1, Emacs 22.2.1
^ permalink raw reply [flat|nested] 10+ messages in thread
[parent not found: <mailman.17021.1219134578.18990.help-gnu-emacs@gnu.org>]
* Re: keypad bindings in gnome not in xTerm ??
[not found] ` <mailman.17021.1219134578.18990.help-gnu-emacs@gnu.org>
@ 2008-08-20 12:37 ` Thomas E. Dickey
0 siblings, 0 replies; 10+ messages in thread
From: Thomas E. Dickey @ 2008-08-20 12:37 UTC (permalink / raw)
To: help-gnu-emacs
Kevin Rodgers <kevin.d.rodgers@gmail.com> wrote:
>
> Ah, I see the same thing: - runs the command self-insert-command
>
> Note the absence of "(translated from <kp-subtract>)", which means
> that the terminal sent "-" to Emacs rather than an escape sequence.
> You can confirm that with `<kp-subtract> C-h l'.
>
> So I think you are out of luck and cannot bind <kp-subtract>
> independently of "-" in xterm. But a little bit of Googling
Actually, xterm would send an escape sequence for the keypad-minus in
keypad application mode (not requiring X resource changes). The
relevant (but terse...) information is in xterm's control-sequences
document, e.g.,
http://invisible-island.net/xterm/ctlseqs/ctlseqs.html
> suggests that you might be able to get xterm to send escape
> sequences via X resources; then Emacs should automatically
> recognize <kp-subtract> via function-key-map.
>
> Please let us know if you figure out how to get xterm to
> send escape sequences for the keypad.
>
--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net
^ permalink raw reply [flat|nested] 10+ messages in thread
[parent not found: <mailman.16810.1218813978.18990.help-gnu-emacs@gnu.org>]
* Re: keypad bindings in gnome not in xTerm ??
[not found] ` <mailman.16810.1218813978.18990.help-gnu-emacs@gnu.org>
@ 2008-08-15 23:37 ` Chat
2008-08-16 5:59 ` William Case
2008-08-16 6:02 ` William Case
0 siblings, 2 replies; 10+ messages in thread
From: Chat @ 2008-08-15 23:37 UTC (permalink / raw)
To: help-gnu-emacs
William Case <billlinux@rogers.com> writes:
> Hi Kevin;
>
> On Fri, 2008-08-15 at 05:16 -0600, Kevin Rodgers wrote:
>> William Case wrote:
>> > I have some basic commands such 'kill-this-buffer' bound to keypad keys
>> > e.g. <kp-subtract>. As long as I am in a Gnome desktop it works fine.
>> > If I switch to an xterm (C-A-Fx), the binding no longer works even
>> > though C-h w says that 'kill-this-buffer' is still bound to
>> > <kp-subtract>. I have double checked that Num Lock is off.
>> >
>> > How can I get my keypad bindings to work in xTerminals? They are what I
>> > am used to now.
>>
>> What does `C-h k <kp-subtract>' show in xterm?
>
> "self-insert-command"
What is the displayed key in the C-h k outout? - or <kp-subtract>?
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: keypad bindings in gnome not in xTerm ??
2008-08-15 23:37 ` Chat
@ 2008-08-16 5:59 ` William Case
2008-08-16 6:02 ` William Case
1 sibling, 0 replies; 10+ messages in thread
From: William Case @ 2008-08-16 5:59 UTC (permalink / raw)
To: Chat; +Cc: help-gnu-emacs
On Fri, 2008-08-15 at 16:37 -0700, Chat wrote:
> William Case <billlinux@rogers.com> writes:
[snip]
> >>
> >> What does `C-h k <kp-subtract>' show in xterm?
> >
> > "self-insert-command"
In Gnome i.e emacs graphic display 'C-h k <kp-subtract> returns
'kill-this-buffer'.
In xterm `C-h k <kp-subtract>' returns "self-insert-command"
> What is the displayed key in the C-h k outout? - or <kp-subtract>?
Sorry chat, I don't know what C-h k outout is.
--
Regards Bill;
Fedora 9, Gnome 2.22.3
Evo.2.22.3.1, Emacs 22.2.1
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: keypad bindings in gnome not in xTerm ??
2008-08-15 23:37 ` Chat
2008-08-16 5:59 ` William Case
@ 2008-08-16 6:02 ` William Case
1 sibling, 0 replies; 10+ messages in thread
From: William Case @ 2008-08-16 6:02 UTC (permalink / raw)
To: Chat; +Cc: help-gnu-emacs
On Fri, 2008-08-15 at 16:37 -0700, Chat wrote:
> William Case <billlinux@rogers.com> writes:
[snip]
> >>
> >> What does `C-h k <kp-subtract>' show in xterm?
> >
> > "self-insert-command"
In Gnome i.e emacs graphic display 'C-h k <kp-subtract> returns
'kill-this-buffer'.
In xterm `C-h k <kp-subtract>' returns "self-insert-command"
> What is the displayed key in the C-h k outout? - or <kp-subtract>?
Sorry chat, I don't know what C-h k outout is.
--
Regards Bill;
Fedora 9, Gnome 2.22.3
Evo.2.22.3.1, Emacs 22.2.1
^ permalink raw reply [flat|nested] 10+ messages in thread
[parent not found: <mailman.16792.1218798998.18990.help-gnu-emacs@gnu.org>]
* Re: keypad bindings in gnome not in xTerm ??
[not found] ` <mailman.16792.1218798998.18990.help-gnu-emacs@gnu.org>
@ 2008-09-11 2:00 ` David Combs
0 siblings, 0 replies; 10+ messages in thread
From: David Combs @ 2008-09-11 2:00 UTC (permalink / raw)
To: help-gnu-emacs
In article <mailman.16792.1218798998.18990.help-gnu-emacs@gnu.org>,
Kevin Rodgers <kevin.d.rodgers@gmail.com> wrote:
>William Case wrote:
>> I have some basic commands such 'kill-this-buffer' bound to keypad keys
>> e.g. <kp-subtract>. As long as I am in a Gnome desktop it works fine.
>> If I switch to an xterm (C-A-Fx), the binding no longer works even
>> though C-h w says that 'kill-this-buffer' is still bound to
>> <kp-subtract>. I have double checked that Num Lock is off.
>>
>> How can I get my keypad bindings to work in xTerminals? They are what I
>> am used to now.
>
>What does `C-h k <kp-subtract>' show in xterm?
>
>--
>Kevin Rodgers
>Denver, Colorado, USA
>
>
>
Just lurking here -- mine says "<f24> is undefined" --
not that I'd *ever* want to use it, way, way over,
like 8-inches over, to the right. (Sun type 6 keyboard,
control-key in the "right" (ie a la ASR-33) place.)
Oh, am in a dtterm.
again, not that key-pad matters to me.
David
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2008-09-11 2:00 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-15 4:41 keypad bindings in gnome not in xTerm ?? William Case
2008-08-15 11:16 ` Kevin Rodgers
2008-08-15 15:26 ` William Case
2008-08-19 8:29 ` Kevin Rodgers
2008-08-19 14:09 ` William Case
[not found] ` <mailman.17021.1219134578.18990.help-gnu-emacs@gnu.org>
2008-08-20 12:37 ` Thomas E. Dickey
[not found] ` <mailman.16810.1218813978.18990.help-gnu-emacs@gnu.org>
2008-08-15 23:37 ` Chat
2008-08-16 5:59 ` William Case
2008-08-16 6:02 ` William Case
[not found] ` <mailman.16792.1218798998.18990.help-gnu-emacs@gnu.org>
2008-09-11 2:00 ` David Combs
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.