brossard@SASUN1.EPFL.CH ("", Alain Brossard EPFL-SIC/SII) (10/23/90)
Sun 4/110, Sun OS 4.1, MIT X11R4 up to patch 18. When using xview applications with twm, certain key bindings stop working. For example I have: "L3" = : all : f.warpto "root%sasun1 " My "L3" binding stopped working when typed in non Open Windows applications when I started using Open Windows 2.0 programs. There was a complement of information from Henning Pangels: ========= It turns out that running an xview-dependent application (such as cm, xrolo or framemaker) assigns 5 function keys under modifier 2, as reported by xmodmap: mod2 F13 (0x20), F16 (0x3a), F18 (0x50), F19 (0x66), F20 (0x68) Of course, I had to pick 4 of these for my tvtwm scrolling functions.... Running xmodmap -e 'clear mod2' after the antisocial application returns things back to normal. ======= But those twm bindings still worked when typed in an Xview applications. So I presume there is bug in twm above and beyond this annoying behavior of xview: either the binding of "modifier" keys should work (as they do if typed in xview applications) or they should never work (as they don't anywhere else) in which case Sun should be flamed for using such a trick (especially since it isn't documented!). So I'm hopping that somebody at MIT can answer with respect to the behavior of twm. I'll file a proper bug report if I'm told it is indeed a bug with twm and not a result of weird interactions beyond my sphere of knowledge. I'll summarize any answers I get, -- Alain Brossard, Ecole Polytechnique Federale de Lausanne, SIC/SII, EL-Ecublens, CH-1015 Lausanne, Suisse brossard@sasun1.epfl.ch
rws@EXPO.LCS.MIT.EDU (Bob Scheifler) (10/23/90)
So I presume there is bug in twm above and beyond this annoying behavior of xview: either the binding of "modifier" keys should work (as they do if typed in xview applications) or they should never work (as they don't anywhere else) in which case Sun should be flamed for using such a trick (especially since it isn't documented!). (The addition of modifiers should surely be documented, if it isn't.) You appear to have run into a server bug which causes the passive grab that twm has set to fail to activate when the key is also a modifier.