Example xmodmap shows how one might implement a rudimentary version
of xmodmap's modifier listing.
(xmodmap is a program that shows all modifier keys, and which
keysyms activate each modifier. xmodmap can also modify the modifier
mapping, which this doesn't do.)