Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 10:54 11 Nov 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 : GtxTerm Behavior.

Author Message
Phil23
Guru

Joined: 27/03/2016
Location: Australia
Posts: 1667
Posted: 10:18pm 21 Apr 2018
Copy link to clipboard 
Print this post

Hi Rob & others,

Jumped in & out of GfxTerm a lot yesterday; quite loving it's speed & simplicity.

Noticed that I needed to set the IP:Port every time.
Looked for any signs of configuration being saved but it appeared there are none.

Started it up this morning, Clicked on the Network tab, & the IP & port previously used are there, 192.168.59.185:23.

Closed & opened it a few time & it's still there for a bit then all of a sudden it's not, as if the settings are temporarily cached somewhere.

I know there could be all sorts of suggestions for a connection list etc,
but is a simple command line parameter easily implemented for auto connection on start to a given device?

Something along the lines of GFXterm /P:ipaddr:port or /P:ComX:Baudrate

That would be superb to be able to connect in an instant.

I start my shortcut to GFX with Ctrl-Shft-G, & once a A/V exception is set, it's loaded almost instantly.


Thanks

Phil.

 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9750
Posted: 01:34am 22 Apr 2018
Copy link to clipboard 
Print this post

I will wait for Rob to comment on the specifics of your issue, but I just have to say at this point, that I really LOVE GFXterm, and I use it just about daily for all my MM or other serial work now.

Not to speak ill of applications such as TeraTerm, but GFXterm is just so much easier to work with, and faster to get connected etc then TT. The only thing the GFXterm does not do that TT does, is you can't scroll the terminal screen up and down in command-line mode. You can inside the editor, but sometimes you want to refer to stuff that happened on the console a few minutes ago, that is where the TT buffer comes in handy.

But I digress......(sorry, Phil23!)
Smoke makes things work. When the smoke gets out, it stops!
 
robert.rozee
Guru

Joined: 31/12/2012
Location: New Zealand
Posts: 2463
Posted: 01:18pm 22 Apr 2018
Copy link to clipboard 
Print this post

interesting problem - i've tried to reproduce it under XP but failed. and while that particular area of the code (saving configuration data) is pretty gnarly, i can't see any obvious reasons for it to behave as you describe. i've been testing using tassyjim's network mite.

what version of windows are you running? do you also have serial mites attached directly? it is possible that windows itself is caching the writes, i'll look into that possibility.


GFXterm saves a small number of parameters to the windows registry:

[HKEY_CURRENT_USER\Software\NZ made\GFXterm]
"HostInfo"="tassyjim.ddns.net:3002"
"FontIndex"=dword:00000001
"CommPort"="COM3:38400"
"DimOption"=dword:00000000


basically the 'HostInfo' string is only overwritten with a new value once a successful connection to a host is made. after the registry key has been set for the first time, the only way of blanking or removing it is to start up GFXterm while holding down the shift key - i trust you're not doing this?

multiple copies of GFXterm can be run at once, and they will be more than happy to trample all over each others registry settings.

i'll look into adding a command-line option to specify a host and/or serial port to connect to. this should be fairly simple to do, but might take me a little while to get time to sort it out.


cheers,
rob :-)
 
Phil23
Guru

Joined: 27/03/2016
Location: Australia
Posts: 1667
Posted: 09:52pm 22 Apr 2018
Copy link to clipboard 
Print this post

  robert.rozee said  ....the only way of blanking or removing it is to start up GFXterm while holding down the shift key - i trust you're not doing this?

Thanks Rob,

I was also at a loss as to any pattern of behaviour, but your comment has shed some light.

I'm running it on Win10 Pro, out of C:\GXFterm.

But I have a Shortcut key configured in the Desktop shortcut; Ctrl+Shft+G.

Could be that there's a Shift Key code left in the buffer on occasions.

Now that you mention it, I checked my registry & it currently had just HostInfo.
I'd played a bit with the fonts and noticed they also sometimes didn't save.

Any changes I currently make are being reflected in the Registry on refresh, so I'd say it's the shortcut key that's causing the issue.

Phil.
 
robert.rozee
Guru

Joined: 31/12/2012
Location: New Zealand
Posts: 2463
Posted: 02:49am 23 Apr 2018
Copy link to clipboard 
Print this post

try this one - it has the 'reset registry' feature moved to alt-8:

2018-04-23_124612_GFXterm_23-apr-2018.zip


cheers,
rob :-)
 
Phil23
Guru

Joined: 27/03/2016
Location: Australia
Posts: 1667
Posted: 10:20am 26 Apr 2018
Copy link to clipboard 
Print this post

  robert.rozee said   try this one - it has the 'reset registry' feature moved to alt-8:

2018-04-23_124612_GFXterm_23-apr-2018.zip


Thanks Rob,

Issues vanished now.

Even before the update, being aware of the Shift keys function probably changed my behaviour in the sense of releasing Ctrl & Shft before I release the G key..

Phil.
 
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