- Subject: Re: Brief and keydefs
 
- From: "G. Milde" <g.milde@xxxxxx>
 
- Date: Wed, 2 Nov 2005 10:56:39 +0100
 
On  1.11.05, Marko Mahnic wrote:
> G. Milde wrote:
> >>In xjed you can use x_set_keysym (..., '%', ...) for Control-Shift 
> >>combinations.
> >
> >Hej, this is cool but unfortunately undocumented. (Did you try it works?)
> >
> I didn't try it, but looking at the code, it should work.
Hm, I tried in x-keydefs.sl the equivalent to:
  variable Key_Ctrl_Shift_Up    = "\e[%A";
  x_set_keysym(0xFF50 , '%', Key_Ctrl_Shift_Up);
but the result is mixed: 
while showkey_literal() (using getkey() while input_pending()) 
will truly report 
  "[%A",
my showkey() (using LASTKEY) reports
  Key "\e[%" is undefined.
and binding something to Key_Ctrl_Shift_Up doesnot work.
OTOH, 
  variable Key_Ctrl_Shift_Home    = "\e[1%";
  x_set_keysym(0xFF50 , '%', Key_Ctrl_Shift_Home);
works nice.
Strange.
Guenter
-- 
G.Milde web.de
--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.
  [2005 date index]
  [2005 thread index]
  
  [Thread Prev] [Thread Next]
      
  [Date Prev] [Date Next]