🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.x
Article #37815

Re: Multikey maps from xmodmap?

#37815
From: Heather Rose
Date: Wed, 07 Mar 1990 21:45
29 lines
1716 bytes
In article <9003050635.AA04312@Larry.McRCIM.McGill.EDU> mouse@LARRY.MCRCIM.MCGILL.EDU (der Mouse) writes:
>> Can xmodmap be used to generate multikey events from the function
>> keys?
>
>No.
>
>> I have used xmodmap to map backspace and delete keys suitably, but
>> the manual page does not clearly indicate how to map a string
>> ":w[return]" to way the F1 key, or ":!make[return]" to the F2 key.
>> Can you do this easily in R3?  In R4?
>
>Clients have to do this sort of thing themselves.  Unfortunately, there
>is no way provided to make a mapping like this across all clients.
>Individual clients have individual ways - generally through resources
>like xterm's translations (or is that Translations?) resource - but
>nothing for everybody.
>
>I'm trying to come up with something to address this problem, but don't
>have a whole lot of time to dwell on it.  If and when I do, I'll
>implement it and try it out, and if it turns out well I'll post it for
>everyone to pick apart :-).

You might be interested in the implementation of function key mapping in
the XView packages:  ttysw, textsw.  This provides mapping for all XView
objects based upon these classes.

Regards,

Heather
Technical Details
Message-ID: <132652@sun.Eng.Sun.COM>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!wuarchive!texbell!texsun!newstop!sun!kimba!hvr
References: <9003050635.AA04312@Larry.McRCIM.McGill.EDU>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!wuarchive!texbell!texsun!newstop!sun!kimba!hvr
From: hvr@kimba.Sun.COM (Heather Rose)
Newsgroups: comp.windows.x
Subject: Re:  Multikey maps from xmodmap?
Message-ID: <132652@sun.Eng.Sun.COM>
Date: 7 Mar 90 21:45:15 GMT
References: <9003050635.AA04312@Larry.McRCIM.McGill.EDU>
Sender: news@sun.Eng.Sun.COM
Reply-To: hvr@sun.UUCP (Heather Rose)
Organization: Sun Microsystems, Mountain View
Lines: 29