Quantcast
Channel: All Open Tickets - Tera Term on OSDN
Viewing all articles
Browse latest Browse all 2128

mouse wheel events not translated to cursor keys - Tera Term Ticket #39405 on OSDN

$
0
0

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 - MittelMeilenstein:(Keine)
Typ:FehlerSchweregrad:5 - Mittel
Komponente:Tera TermStatus:Offen
LösungWorks 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

Letzte Aktualisierung für dieses Ticket

2019-07-17 20:24 Aktualisiert von: robert-rozee

Kommentar

hi,

have finally managed to create an OSDN account :-)

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

Do : A$=Inkey$: Loop Until A$<>""
If A$=Chr$(27) Then Print
If Asc(A$)<32 Then Print "<" Str$(Asc(A$)) ">"; Else Print A$;

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 :-)


Viewing all articles
Browse latest Browse all 2128