Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

tlug: Key Bind and Key Convert Files



>>>>> "Rob" == Rob Bickel <rob@example.com> writes:

    Rob> I am looking at some of the setting files for uum.  There is
    Rob> one file called a Conversion Key File and another file called
    Rob> a Key Bind file. They look like they do very similar things
    Rob> to me.  Does anyone know what they do differently.

The key binding file tells uum what to do when it receives a string of 
bytes.

The conversion file tells X how to map X11 keysyms to strings to send
to the program.

So, when you press F5, the X server sends the keysym XK_F5 to kterm
(kterm can also read this at a higher level as a string, if the
display has a string bound to the function key, but typically it
won't---especially for the Windows key or the hankaku/zenkaku/kanji
key).  The conversion file tells kterm to map the keysym XK_F5 (which
may very well have the value 0x9E, but need not) to the byte-string
0x9E, which kterm then sends to uum.  When uum reads 0x9E, it looks up 
that value in the key binding table, and invokes the command "henkan".

---------------------------------------------------------------
Next Nomikai: 15 May Fri, 19:30 Tengu TokyoEkiMae 03-3275-3691
Next TLUG Meeting: 13 June Sat, Tokyo Station Yaesu gate 12:30
Featuring Stone and Turnbull on .rpm and .deb packages
---------------------------------------------------------------
a word from the sponsor:
TWICS - Japan's First Public-Access Internet System
www.twics.com  info@example.com  Tel:03-3351-5977  Fax:03-3353-6096



Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links