GFXTerm (Linux) r.2025.08 - problem with MMBasic in EDIT mode


Author Message
robert.rozee
Guru

Joined: 31/12/2012
Location: New Zealand
Posts: 2526
Posted: 05:31am 04 May 2026      

it is interesting that the pico is issuing <ESC>[?7l (turn OFF auto line wrap) at the startup of the editor, but apparently not issuing <ESC>[?7h (turn ON auto line wrap) upon exiting the editor.

try the following, using TeraTerm as the terminal emulator, type in at the command prompt:
for i=1 to 200:?i;:next i

when you press the enter key you should see several lines of text displayed, consisting of the numbers 1 to 200 with a space between each. this text should auto wrap at the end of each line. the world is good.

now type in edit to enter the editor. make a change to whatever program is loaded, press the escape key to exit, then press 'Y' to save. this will return you to the command prompt.

lastly type in at the command prompt:
for i=1 to 200:?i;:next i

when you press enter you should see the same set of numbers displayed over several lines. with TeraTerm, i suspect you will see just a single line of output - indicating that the world is not good.


cheers,
rob   :-)
Edited 2026-05-04 15:33 by robert.rozee