unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Problems Using Hyper Key modifier
@ 2005-09-24  1:56 Tim Johnson
  0 siblings, 0 replies; 3+ messages in thread
From: Tim Johnson @ 2005-09-24  1:56 UTC (permalink / raw)


Hello:

I would like to map my TAB key to the hyper key modifier.

After running the following command to map the TAB key to Hyper key:
xmodmap -e "keycode 23 = Hyper_L"

xev tells me that keycode 23 is Hyper_L, but
<blush> I find that that c-h k <ret>
TAB-n only recognizes the "n". 

The TAB=>Hyper_L key is not recognized as a modifier

What else do I need to do? 

NOTE: There are many examples found by Google that show how to map
caps_lock to hyper, but I have already successfully mapped caps_lock to
control_L.

Also, attempts to map control_r (keycode 109) to Hyper_R fail
as well.

TIA
tim

-- 
Tim Johnson <tim@johnsons-web.com>
      http://www.alaska-internet-solutions.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Problems Using Hyper Key modifier
       [not found] <mailman.8312.1127526997.20277.help-gnu-emacs@gnu.org>
@ 2005-09-24  3:38 ` Pascal Bourguignon
  2005-09-24 16:51   ` Tim Johnson
  0 siblings, 1 reply; 3+ messages in thread
From: Pascal Bourguignon @ 2005-09-24  3:38 UTC (permalink / raw)


Tim Johnson <tim@johnsons-web.com> writes:

> Hello:
>
> I would like to map my TAB key to the hyper key modifier.
>
> After running the following command to map the TAB key to Hyper key:
> xmodmap -e "keycode 23 = Hyper_L"
>
> xev tells me that keycode 23 is Hyper_L, but
> <blush> I find that that c-h k <ret>
> TAB-n only recognizes the "n". 
> The TAB=>Hyper_L key is not recognized as a modifier

Did you press both keys simultaneously? TAB-down n-down n-up TAB-up
Did you list Hyper_L as a modifier?

> What else do I need to do? 
>
> NOTE: There are many examples found by Google that show how to map
> caps_lock to hyper, but I have already successfully mapped caps_lock to
> control_L.
>
> Also, attempts to map control_r (keycode 109) to Hyper_R fail
> as well.

Put something like:

clear Shift
clear Lock
clear Control
clear Mod1
clear Mod2
clear Mod3
clear Mod4
clear Mod5

! In order of bits: 
add    Shift   = Shift_L     Shift_R
add    Lock    = Caps_Lock
add    Control = Control_L   Control_R
add    Mod1    = Alt_L       Alt_R
add    Mod2    = Num_Lock
add    Mod3    = Super_L     Super_R
add    Mod4    = Meta_L      Meta_R
add    Mod5    = Hyper_L     Hyper_R     

in your ~/.xmodmap


-- 
__Pascal Bourguignon__                     http://www.informatimago.com/
Cats meow out of angst
"Thumbs! If only we had thumbs!
We could break so much!"

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Problems Using Hyper Key modifier
  2005-09-24  3:38 ` Problems Using Hyper Key modifier Pascal Bourguignon
@ 2005-09-24 16:51   ` Tim Johnson
  0 siblings, 0 replies; 3+ messages in thread
From: Tim Johnson @ 2005-09-24 16:51 UTC (permalink / raw)


* Pascal Bourguignon <spam@mouse-potato.com> [050923 19:56]:
 
 Hello Pascal:

 Your instructions solved my problem. Not only that, but
 following the details of the bit setting has cleared up
 the complaints that Xemacs makes about modifiers.

 You taught me a lot.

 thanks
 tim

> Put something like:
> 
> clear Shift
> clear Lock
> clear Control
> clear Mod1
> clear Mod2
> clear Mod3
> clear Mod4
> clear Mod5
> 
> ! In order of bits: 
> add    Shift   = Shift_L     Shift_R
> add    Lock    = Caps_Lock
> add    Control = Control_L   Control_R
> add    Mod1    = Alt_L       Alt_R
> add    Mod2    = Num_Lock
> add    Mod3    = Super_L     Super_R
> add    Mod4    = Meta_L      Meta_R
> add    Mod5    = Hyper_L     Hyper_R     
> 
> in your ~/.xmodmap
> 
> 
> -- 
> __Pascal Bourguignon__                     http://www.informatimago.com/
> Cats meow out of angst
> "Thumbs! If only we had thumbs!
> We could break so much!"
> _______________________________________________
> Help-gnu-emacs mailing list
> Help-gnu-emacs@gnu.org
> http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

-- 
Tim Johnson <tim@johnsons-web.com>
      http://www.alaska-internet-solutions.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-09-24 16:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.8312.1127526997.20277.help-gnu-emacs@gnu.org>
2005-09-24  3:38 ` Problems Using Hyper Key modifier Pascal Bourguignon
2005-09-24 16:51   ` Tim Johnson
2005-09-24  1:56 Tim Johnson

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).