mouse wheel events not translated to cursor keys
Eröffnet am: 2019-07-17 02:07
Letztes Update: 2019-07-17 20:24
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
hi,
1. the line "TranslateWheelToCursor=on" is present in teraterm.ini. i have also edited the title to "Title=Tera Term HERE" and this is displayed correctly. i've attached a copy of the modified teraterm.ini file.
2. the test program i'm using (written in basic and running on an attached microcontroller) is as follows:
'--------------------------
Const ESC=Chr$(27)
Print
Print ESC "[?1000h";
Print ESC "[?1h";
Do
Loop Until A$=Chr$(26)
Print ESC "[?1l"
Print ESC "[?1000l";
Print
'--------------------------
3. i'm using a clean install of teraterm 4.103 that was installed after an older version was uninstalled and the teraterm directory removed from "Program Files". os is windowsXP home. with all the above, turning the mouse wheel still persists in scrolling the window and reports no escape sequences.
cheers, rob :-)