Link to home
Start Free TrialLog in
Avatar of yck
yck

asked on

xterm rebinding of keys

Hi, I would like to rebind keys to strinmsg and functions
in my xterm on SGI

Here is a sample Xdefault
*VT100.Translations: #override <Key>F6: keymap(function)
*VT100.functionKeymap.translations: \
    <Key>F1: insert-selection(PRIMARY, CUT_BUFFER0) \n\
    <Key>F2: string("win\n") \n\
    <Key>F3: string("hinv\n") \n\
    <Key>F4: string("netscape\n") \n\
    <Key>F5: string("\023") \n\
    <Key>F6: string("\021") \n\
    <Key>F7: string("\032") \n\
    <Key>F8: string("\003") \n\
    <Key>F9: string("pro-x\n") \n\
    <Key>F10: string("pro-xm\n") \n\
    <Key>F11: string("starid\n") \n\
    <Key>F12: string("starinfo\n") \n\
    <Key>Prior:scroll-back(1,halfpage) \n\
    <Key>Next:scroll-forw(1,halfpage) \n\
    <Key>Insert:insert-selection(PRIMARY,CUT_BUFFER0) \n\

The problem is at present I need to type F6 to activate
the bindings. Is there a better way to do it properly???

Thanks

ASKER CERTIFIED SOLUTION
Avatar of braveheart
braveheart

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial