mouse wheel events not translated to cursor keys
Eröffnet am: 2019-07-17 02:07
Letztes Update: 2019-07-18 21:47
Auswertung: | (Anonym) | Verantwortlicher: | (Keine) |
---|---|---|---|
Priorität: | 5 - Mittel | Meilenstein: | (Keine) |
Typ: | Fehler | Schweregrad: | 5 - Mittel |
Komponente: | Tera Term | Status: | Offen |
Lösung | Works For Me |
Einzelheiten
i've been trying to configure teraterm so that mouse wheel events translate to VT cursor up/down key escape sequences. so far, zero success. the problem appears to be that the TranslateWheelTo Cursor setting in teraterm.ini is being ignored, and taken as always being set to false.
the sequence i've been using to enable the mouse is as follows:
ESC [?1000h ESC [?1h
the first line (...1000h) turns on mouse reporting - mouse click events are reported correctly. the second line (...1h), as far as i can tell, should enable 'application cursor mode', which should cause the mouse wheel to NOT scroll the TeraTerm window, but instead send cursor up/down escape codes. instead, the window just continues to scroll. note that i do see the cursor keys themselves return alternate cursor escape sequences (ESC OA etc instead of ESC [A etc) as expected
is this a bug, or am i missing something else?
cheers, rob :-) rozee@mail.com
Kommentar
i'm afraid i'm still having next to no luck. i've tried using ESC [?1007h instead, with no result, and even found a reference to ESC [?7786h (enables mouse wheel to cursor key translation), but this does nothing useful.
i have had a SMALL amount of success, in that i have found that if the SHIFT key on the keyboard is held down, then the mouse wheel does generate mouse position escape sequences with button values of ascii 64 and 65. but i would rather not have to require the user to hold down the shift key if at app possible!
just to sumarize: i've found NO way to configure TeraTerm so that simply rotating the mouse wheel causes an escape sequence of any sort to be generated.
cheers, rob :-)