Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 07:30 04 May 2026 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : GFXTerm (Linux) r.2025.08 - problem with MMBasic in EDIT mode

Author Message
panky

Guru

Joined: 02/10/2012
Location: Australia
Posts: 1122
Posted: 04:45am 03 May 2026
Copy link to clipboard 
Print this post

RP2350A on the Silicon chip Pico Computer - 6.03.00B4 HDMIUSB version loaded - neither keyboard nor HDMI connected - connected to PC via USB C (console).

The latest release of MMBasic 6.03.00B4 - in EDIT mode, displays characters as entered but as soon as return is pressed, all text entered disappears.  If the cursor is moved up/down and space bar pressed, the text re-appears with the space correctly entered. Move to the end of the text line and press Enter, everything disappears.
Status line is not displayed at any stage.

Connecting the HDMI then shows all the text correctly coloured but still no display the the GFXTerm window on the PC when in EDIT mode. So problem is only apparent with the console connection and only by GFXTerm.

Works fine for normal command line and works fully for both edit and command line under putty.

Seems to be just GFXTerm that is having trouble with the return character.

Again, everything works correctly with Putty so it appears as if GFXTerm is not correctly catching the Enter key when in edit mode for the HDMIUSB version when used in serial console mode.

Doug.

PS. Test with RP2350B DIL module - 6.03.00b4 loaded and works fine for both GFXTerm and Putty in command line and EDIT.

PSS. Back key brings up the Status line but no text displayed until a line is edited then disapperas again when Return key pressed.
Edited 2026-05-03 15:17 by panky
... almost all of the Maximites, the MicromMites, the MM Extremes, the ArmMites, the PicoMite and loving it!
 
robert.rozee
Guru

Joined: 31/12/2012
Location: New Zealand
Posts: 2509
Posted: 12:12pm 03 May 2026
Copy link to clipboard 
Print this post

hi Doug,
   did it previously work correctly with versions of mmbasic prior to 6.03.00B4?


when the enter key is pressed, GFXterm generates a single carriage return, chr$(13). this is the same behavior as a real VT100/VT102/VT220 terminal. GFXterm only provides emulation for VT series terminals.

if ctrl-enter is pressed, then GFXterm generates a single linefeed, chr$(10), while if alt-enter is pressed, then it generates a carriage return followed by a linefeed, chr$(13)+chr$(10). try using ctrl-enter and see if 6.03.00B4 behaves more sanely. if it does not, try using alt-enter.


also, check that the screen size within GFXterm is set to match what mmbasic expects. the default is 80 columns x 24 lines, but this can be changed to a non-standard value by right-clicking the mouse (or pressing alt-M), selecting 'screen size' in the popup menu, then adjusting column and row values in the 'select screen size' window that appears.

for example, if mmbasic were expecting a 100-column by 40-line terminal, then set these same values in the 'select screen size' window.


cheers,
rob   :-)
Edited 2026-05-04 02:26 by robert.rozee
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2026