Timeline for How do I remove a particular default xterm X11 translation?
Current License: CC BY-SA 3.0
9 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Oct 16, 2023 at 11:52 | comment | added | Richard Kirk | @StéphaneChazelas I think I am having the same problem as Jens and my understanding breaks at the same place. I have an app which runs under xterm, and handles the mouse actions. It seems to work until I use the Meta-MIddle button, when the screen blanks, and the application starts behaving very strangely. I think this is insert-selection(...). I would like to disable the select and insert entirely for my particular xterm session if there is no better way. This seems impossible. Is this really so? | |
| Jan 3, 2020 at 15:52 | vote | accept | Jens | ||
| Feb 8, 2018 at 14:06 | answer | added | pedrormjunior | timeline score: 2 | |
| Dec 17, 2016 at 15:55 | history | edited | Thomas Dickey | CC BY-SA 3.0 | fix a typo |
| Mar 29, 2015 at 0:49 | answer | added | Thomas Dickey | timeline score: 4 | |
| Jan 6, 2015 at 17:59 | comment | added | Jens | @StéphaneChazelas If it is as you say, then that would be a documentation bug. ctlseq.txt says: "The next three bits encode the modifiers which were down when the button was pressed and are added together: 4=Shift, 8=Meta, 16=Control. Note however that the shift and control bits are normally unavailable because xterm uses the control modifier with mouse for popup menus, and the shift modifier is used in the default translations for button events." My understanding was that I can get past the normally unavailable by tweaking translations. | |
| Jan 6, 2015 at 13:56 | comment | added | Jens | @StéphaneChazelas I don't want to insert a selection; I want xterm to pass the event to my application as-is, like it does with other mouse events when in mouse tracking mode (e.g. started with printf "\033[?1000h\n"). Right now, if xterm consumes the event, the application won't see it. | |
| Jan 6, 2015 at 13:49 | comment | added | Stéphane Chazelas | events are never based to the application running in xterm. That wouldn't make sense, those applications are not even connecting to the X server. If you want Meta+Btn2 to insert a selection, remap it to insert-selection(...). | |
| Jan 6, 2015 at 13:11 | history | asked | Jens | CC BY-SA 3.0 |