> What I want to archive is to klick the middle mouse button in a xterm > instance to paste some text. Alternative do shift-Insert.
Any reason not to do it the "standard" way using xterm's Translations? For example XTerm*Text.Translations: #override\ Button1 <Btn3Down>: select-end(CLIPBOARD)\n\ ~Ctrl Shift ~Meta <Btn2Down>: insert-selection(CLIPBOARD)\n\ ~Ctrl ~Shift ~Meta <Btn2Down>: insert-selection(PRIMARY,CUT_BUFFER_0) -- George D M Ross MSc PhD CEng MBCS CITP University of Edinburgh, School of Informatics, Appleton Tower, 11 Crichton Street, Edinburgh, Scotland, EH8 9LE Mail: g...@inf.ed.ac.uk Voice: 0131 650 5147 PGP: 1024D/AD758CC5 B91E D430 1E0D 5883 EF6A 426C B676 5C2B AD75 8CC5 The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336.