[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: X Resource Question
> The Xterm manual page contains these entries:
>
> keymap(name)
> This action dynamically defines a new translation
> table whose resource name is name with the suffix
> Keymap (case is significant). The name None
> restores the original translation table.
>
> Below is a sample how of the keymap() action is used to
> add special keys for entering commonly-typed works:
>
> *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.
--------------------------------------------
Bruce Smith bruce@armintl.com
System Administrator / Network Administrator
Armstrong International, Inc.
Three Rivers, Michigan 49093 USA
http://www.armstrong-intl.com/
--------------------------------------------