brossard@sasun1.epfl.ch ("", Alain Brossard EPFL-SIC/SII) (11/01/90)
Here is the original problem: ----- Begin Included Message ----- xview 2.0 and twm: 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. ----- End Included Message ----- 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) Running xmodmap -e 'clear mod2' after the antisocial application returns things back to normal. ======= And from Bob Scheifler: > > (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. > That bug has been reported and in the meanwhile I have added the following binding to my .twmrc: "L1" = m : all : !"xmodmap -e 'clear mod2'" Alain Brossard