| Posted: 05:01am 05 May 2026 |
|
|
|
Peter, I think the restore autowrap on Teraterm is a bit sensitive to where it is placed. If it is placed after the VT100 clear screen it seems to work. If before it does not do its thing.
This MMBasic Restores line wrap only if the restore autowrap is last.
'Sequence to restore teraterm 'Restore Wrap needs to follow the VT100 clear and Home Print Chr$(27)+"[?1000l" 'no mouse report 'Print Chr$(27)+"[?7h" ' restore wrap Print Chr$(27)+"8"+Chr$(27)+"[2J"+Chr$(27)+"[H" 'Vt100 clear screen home Print Chr$(27)+"[?7h"
I have not compiled or tested but this should be the fix in the source.i.e. just swap the oreder of the lines.
PrintString("\033[?1000l"); // Tera Term turn off mouse click report in vt200 PrintString("\0338\033[2J\033[H"); // vt100 clear screen and home cursor PrintString("\033[?7h"); // restore autowrap after the VT100 Clear
Gerry Edited 2026-05-05 15:07 by disco4now |