(Re.)mapping of the so called Meta- (Alt-) keys

2006-09-15 Thread Meino Christian Cramer
Hi,

 I tried to remap several Alt-/Meta- key sequences to other and to
 commands. Sometimes it works, sometimes it does not. I see no logic
 behind this behaviour. It seems, that I miss certain informations hot
 to do this the right way.
 
 My terminal emits Meta- and Alt- keysequences in binary format and
 not with the ESC- prefix now (mrxvt called with the -m8 option). This
 breaks the Midnight commander under Linux. It seems that there isn't
 sometimes the choice to live but the choice, what way of death is
 wanted...sigh.

 Is there something special to do or to keep attention to when trying
 to remap those keys ?

 Thanks a lot in advance for any help !


 Have a nice weekend!
 mcc

 


Re: (Re.)mapping of the so called Meta- (Alt-) keys

2006-09-15 Thread A.J.Mechelynck

Meino Christian Cramer wrote:

Hi,

 I tried to remap several Alt-/Meta- key sequences to other and to
 commands. Sometimes it works, sometimes it does not. I see no logic
 behind this behaviour. It seems, that I miss certain informations hot
 to do this the right way.
 
 My terminal emits Meta- and Alt- keysequences in binary format and

 not with the ESC- prefix now (mrxvt called with the -m8 option). This
 breaks the Midnight commander under Linux. It seems that there isn't
 sometimes the choice to live but the choice, what way of death is
 wanted...sigh.

 Is there something special to do or to keep attention to when trying
 to remap those keys ?

 Thanks a lot in advance for any help !


 Have a nice weekend!
 mcc

 



Alt + printable character combinations sometimes collides with accented 
letters or other upper-ASCII characters


Alt + special key is sometimes preempted by the OS or by the window 
manager (e.g., Alt + Tab used on many systems to select a program/window)


In my experience the most portable keys for mapping in (g)vim are F2-F9, 
F11-F12 and Shift-F1 to Shift-F12.



Best regards,
Tony.


Re: (Re.)mapping of the so called Meta- (Alt-) keys

2006-09-15 Thread Meino Christian Cramer
From: A.J.Mechelynck [EMAIL PROTECTED]
Subject: Re: (Re.)mapping of the so called Meta- (Alt-) keys
Date: Sat, 16 Sep 2006 07:47:04 +0200

 Meino Christian Cramer wrote:
  Hi,
  
   I tried to remap several Alt-/Meta- key sequences to other and to
   commands. Sometimes it works, sometimes it does not. I see no logic
   behind this behaviour. It seems, that I miss certain informations hot
   to do this the right way.
   
   My terminal emits Meta- and Alt- keysequences in binary format and
   not with the ESC- prefix now (mrxvt called with the -m8 option). This
   breaks the Midnight commander under Linux. It seems that there isn't
   sometimes the choice to live but the choice, what way of death is
   wanted...sigh.
  
   Is there something special to do or to keep attention to when trying
   to remap those keys ?
  
   Thanks a lot in advance for any help !
  
  
   Have a nice weekend!
   mcc
  
   
  
 
 Alt + printable character combinations sometimes collides with accented 
 letters or other upper-ASCII characters
 
 Alt + special key is sometimes preempted by the OS or by the window 
 manager (e.g., Alt + Tab used on many systems to select a program/window)
 
 In my experience the most portable keys for mapping in (g)vim are F2-F9, 
 F11-F12 and Shift-F1 to Shift-F12.
 
 
 Best regards,
 Tony.
 

Hi Tony, 

 thank you for your reply ! :)
 I will review my remap attempts for those combinations.

 Have a nice weekend!
 mcc