Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 16:02 05 Jul 2025 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 for Windows32, test version

     Page 2 of 2    
Author Message
robert.rozee
Guru

Joined: 31/12/2012
Location: New Zealand
Posts: 2428
Posted: 03:27am 04 Oct 2021
Copy link to clipboard 
Print this post

  alt keys only register on being released, and don't auto-repeat.

am glad that fixed it!


cheers,
rob   :-)
 
toml_12953
Guru

Joined: 13/02/2015
Location: United States
Posts: 424
Posted: 03:33am 04 Oct 2021
Copy link to clipboard 
Print this post

  robert.rozee said     alt keys only register on being released, and don't auto-repeat.

am glad that fixed it!


cheers,
rob   :-)


Alt keys 1 - 4 don't do anything at all on my system before or after being released.
 
robert.rozee
Guru

Joined: 31/12/2012
Location: New Zealand
Posts: 2428
Posted: 04:00am 04 Oct 2021
Copy link to clipboard 
Print this post

  toml_12953 said  Alt keys 1 - 4 don't do anything at all on my system before or after being released.

you have connected to something, by right-clicking and selecting "CONNECT" from menu that appears?

'VT' codes are supported. you should be using the download version with "A" after the date code:
  Quote  GFXtermW32 (2021-10-04 A).zip

as this fixes a problem with certain (high-numbered?) comm ports immediately disconnecting.


just checked - you are trying to connect to a CMM2? the CMM2's editor uses some escape sequences and features that GFXterm does not support.


cheers,
rob   :-)
 
palcal

Guru

Joined: 12/10/2011
Location: Australia
Posts: 1982
Posted: 05:46am 04 Oct 2021
Copy link to clipboard 
Print this post

Downloaded to the laptop, still gives a warning but I just click 'Run Anyway"
All OK.
Edit... When this is final can we have a (80,43) version.
Edited 2021-10-04 15:48 by palcal
"It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all"
 
toml_12953
Guru

Joined: 13/02/2015
Location: United States
Posts: 424
Posted: 08:04am 04 Oct 2021
Copy link to clipboard 
Print this post

  robert.rozee said  
  toml_12953 said  Alt keys 1 - 4 don't do anything at all on my system before or after being released.

you have connected to something, by right-clicking and selecting "CONNECT" from menu that appears?

'VT' codes are supported. you should be using the download version with "A" after the date code:
  Quote  GFXtermW32 (2021-10-04 A).zip

as this fixes a problem with certain (high-numbered?) comm ports immediately disconnecting.


just checked - you are trying to connect to a CMM2? the CMM2's editor uses some escape sequences and features that GFXterm does not support.


cheers,
rob   :-)


The escape sequences used by the CMM2 are part of the VT100 set. We know this since TeraTerm works fine with it and hasn't been modified for the CMM2 in any way. If GFXTerm supports the entire VT100 command set, then it should work OK but it doesn't.

I still don't know why Alt-1 through 4 don't work, though.
 
robert.rozee
Guru

Joined: 31/12/2012
Location: New Zealand
Posts: 2428
Posted: 10:02am 04 Oct 2021
Copy link to clipboard 
Print this post

  toml_12953 said  The escape sequences used by the CMM2 are part of the VT100 set. We know this since TeraTerm works fine with it and hasn't been modified for the CMM2 in any way. If GFXTerm supports the entire VT100 command set, then it should work OK but it doesn't.

I still don't know why Alt-1 through 4 don't work, though.


Teraterm emulates a number of different standards, covering dozens of different terminals, and thousands of different escape sequences, including:
ECMA-48
AIXterm
Xterm
VT100 to VT340 (and VT525)
TEK4010
the authors of Teraterm have literally scoured the web, collecting up enormous lists of escape sequences that have been compiled over the last 50 years, and - wherever they can - added support for those escape sequences to Teraterm.

GFXterm has been written to support the MicroMite family. it supports just the few dozen escape sequences used by the MMbasic editor, this set based upon VT102, VT2xx (mouse), and a 16-entry colour palette (VT525). the complete list of supported escape sequences fits on two sides of an A4 sheet of paper with space to spare:
Partial VT220 Command Set.pdf

when the CMM2 code was ported, several non-VT escape sequences were used that GFXterm does not (and can not) support. i'm afraid that i have no control over this.

as for the modem control lines (pressing alt-1 to 4) this does not apply to the CMM2 as it uses a 16F1455 based or MCP2221 USB to serial bridge. lack of communications to/from the CMM2 will be due to some other cause. GFXterm certainly works with a 1455 USB to serial bridge (that ignores modem control lines), and has been extensively tested with one. it should talk to a CMM2 without issue, however the editor will not be usable unless you can persuade the CMM2's editor to accommodate an 80x24 terminal screen.


cheers,
rob   :-)
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 7830
Posted: 10:17am 04 Oct 2021
Copy link to clipboard 
Print this post

Useful list. I'll check my VT100 library against it. :)
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10201
Posted: 10:49am 04 Oct 2021
Copy link to clipboard 
Print this post

  Quote  when the CMM2 code was ported, several non-VT escape sequences were used that GFXterm does not (and can not) support. i'm afraid that i have no control over this.


As far as I can see there is only one critical sequence that the CMM2 uses that would need to be supported.

<esc>[8;h;wt

This sets the resolution of the terminal to match the CMM2 video character resolution for the font in use (h=height, w=width e.g. <esc>[8;40;132t ) - essential for the editor to work the same on both the terminal and the screen.

It is supported by both teraterm and putty (at least on windows)
Edited 2021-10-04 20:57 by matherp
 
robert.rozee
Guru

Joined: 31/12/2012
Location: New Zealand
Posts: 2428
Posted: 03:59pm 07 Oct 2021
Copy link to clipboard 
Print this post

especially for palcal   :-)

GFXtermW32 (2021-10-08) 80x43.zip

GFXtermW32 (2021-10-08).zip

GFXterm source (2021-10-08).zip

this fixes:
ctrl-space was inserting a space character, as well as the intended function of connecting/disconnecting. the space character is now suppressed.
ctrl-G now produces a system beep. not enabling it was an oversight.
'unknown' error messages 101 to 106 now mapped to meaningful messages.
a couple of small errors in the serial thread code fixed.

note 1: when connecting to a pico, you still need to press alt-1 to assert DTR.
note 2: this is the exact same source code as GFXterm for linux32/64 and RPi.


request: please try to break it. try unplugging the USB cable while connected and see what happens. try outputting excessive quantities of text. run 'Task Manager' and see what the CPU load is - in particular while running the included test program "GFX demo 3.bas". this demo sucks up 45% of the available computrons on my XP VM, does it do as badly on a real windows machine?

i'm keen to hear of successes, failures, and in particular the CPU load reported by Task Manager.


cheers,
rob   :-)
 
     Page 2 of 2    
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 2025