[comp.windows.x] Programming the keyboard

davidb@Pacer.UUCP (David Barts) (05/10/90)

I have been trying to figure out how to reprogram an arbitrary
key on the keyboard to an arbitrary character string in X11R3.

In X10, there was a program called keycomp(1) which you could use
to make an .Xkeymap file, but X11 doesn't have keycomp.

Of course, there is xmodmap(1), but all the documentation I have
on xmodmap seems to indicate that it is only useful for programming
a key to send an character, not a string.  I've experimented
with xmodmap, and this appears to be the case.

Surely X11 hasn't taken a step *backwards* in functionality from
X10, so how does one associate a string with a key?

-- 
David Barts			Pacer Corporation
davidb@pacer.uucp		...!uunet!pilchuck!pacer!davidb