>>>> "SJT" == Stephen J Turnbull
>>>> "Matt" == Matt Tucker
Matt> -- "Stephen J. Turnbull"
<turnbull(a)sk.tsukuba.ac.jp> spake thusly:
Matt> It might also help if someone were to point out the commands
Matt> that need to be added to the current configuration to get
Matt> the appropiate behavior.
SJT> The omission was deliberate. Getting it right is a job for Superman,
SJT> or a computer. Pay no attention to the man behind the curtain. Or in
SJT> front of it, for that matter.
It's possible to write a perl program in a few lines that will map the
key currently mapped to capslock, if there is one, and make it work
like control. It's harder to come up with a general solution that
will work for all keys. A big part of the problem is that I know of
no way to find out the ORIGINAL mapping for a key.
You'd like to have a program that would accept input like
mapkey caps_lock control
that will take care of modifier stuff and always keep the state of the
keyboard "legal" according to ICCCM. xmodmap is not such a program.