From the old X.Org/X Consortium bug records - unfortunately, the patch is
incomplete in my copy, so someone will have to recreate the missing parts.
[An excellent starter project for someone wanting to get started working on
Date: Tue, 06 Sep 94 12:18:52 -0400
From: "Cliff Straw" <email@example.com>
Subject: xmodmap: Add "-pme" option to print modifier map as expressions
### bug number: 7058
### area: xmodmap
### severity: enhancement
### priority: low
CLIENT MACHINE and OPERATING SYSTEM:
DEC 3000 Model 500
native ANSI cc
Add "-pme" option to print modifier map as expressions.
Add "-pme" option to print the modifier map as expressions. This
outputs the modifier map in a format that can be read by xmodmap.
After applying the fix, invoke "xmodmap -pme"
Created attachment 10769 [details] [review]
Incomplete patch from original submitter to X Consortium