[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: X Resource Question
> >
> > *VT100.Translations: #override <Key>F13: keymap(dbx)
> > *VT100.dbxKeymap.translations: \
> > <Key>F14: keymap(None) \n\
> > <Key>F17: string("next") string(0x0d) \n\
> > <Key>F18: string("step") string(0x0d) \n\
> > <Key>F19: string("continue") string(0x0d) \n\
> > <Key>F20: string("print ")
> >
> > Has anyone used this functionality? I have tried this backwards,
> > forwards, and upside down and can't seem to get it to recognize the
> > second Key Map. I do a appres
> > "appres XTerm.VT100 xterm.vt100 -1" and it simply doesn't
> > show up.
>
> Yes, I use it all the time to make programable function keys.
> Works great!
> Where (what file) did you make the modifications in?
> Send me your mods & I'll take a look.
>
I've just copied XTerm from app-defaults to my home directory and modified
that. If I modify the actual VT100*translation in that file the changes make
an effect so I know that is working.
My "keymap" mod looks like:
*VT100*translations: #override <Key>F13: keymap(dbx) \n\
<Key>F1 : string("Hello You Stupid World") \n\
<Key>F2 : string(0x1b) string("OQ") \n\
<Key>F3 : string(0x1b) string("OR") \n\
<Key>F4 : string(0x1b) string("OS") \n\
<Key>F5 : string(0x1b) string("OT") \n\
. . .
VT100.dbxKeymap.translations: \
<Key>F14: keymap(None) \n\
<Key>F17: string("next") string(0x0d) \n\
<Key>F18: string("step") string(0x0d) \n\
<Key>F19: string("continue") string(0x0d) \n\
<Key>F20: string("print ")