|
Forum Index : Microcontroller and PC projects : GtxTerm Issue.
| Author | Message | ||||
| Phil23 Guru Joined: 27/03/2016 Location: AustraliaPosts: 1667 |
Probably for Rob, Been pretty much relying on it for most of my console viewing & a bit of editing. Fired it up yesterday to interact with my Ceiling Heating. All looked fine; then I hit one of the hot keys & my menu didn't display. Screen caps will better explain, where I ran simultaneous connections with Gfx & Teraterm. This is the normal data screen, with the hot keys listed at the bottom. This is what I get when I hit "P" to change to a different control point. It's the very bottom two lines that are missing; not that clear in the pics. The screen cap misses it, but there's a red flashing cursor at the same place as in TT. Cheers Phil. |
||||
| robert.rozee Guru Joined: 31/12/2012 Location: New ZealandPosts: 2463 |
has the text ever been visible in an earlier version of GFXterm? it sounds like you may possibly be printing black text on a black background. when you bring up the right-click menu and select 'select and copy' you should see a monochrome version of the screen, black text on a grey background. is the missing text visible there? and are you using any escape sequences to position the cursor or to set a scroll region? you can reset GFXterm while it is running by pressing alt-R. as i recall this resets colours to their defaults, as well as resetting any scroll region that has been set. cheers, rob :-) |
||||
| Phil23 Guru Joined: 27/03/2016 Location: AustraliaPosts: 1667 |
This writes the screen every 500mS. I do position it a bit & clear certain bits. See below. When I hit P, Inkey$ drops me here, with the value of MenuUp being 0... Could be that Esc[J is clearing the entire line. I believe Esc[J should clear from the cursor to End of screen, but find that varies. Some definitions say cursor position down, others say current line down. Phil. |
||||
| robert.rozee Guru Joined: 31/12/2012 Location: New ZealandPosts: 2463 |
you are indeed right, it was a bug in the implementation of Esc[J after clearing to the end of the current line, my code was supposed to fully clear any subsequent lines down to the end of the screen. instead it started fully clearing at the current line. the fix was adding "+1" in the appropriate place. give the attached version a try: 2018-05-08_153959_GFXterm_8-may-2018.zip (it contains a few other small fixes in other places too) have been under the weather for the past few weeks (a rather persistent stomach bug that is doing the rounds here in nz), when i'm up to it will package up and upload the new version (and sources) to the document register. cheers, rob :-) |
||||
| Phil23 Guru Joined: 27/03/2016 Location: AustraliaPosts: 1667 |
Thanks Rob, Works as expected now. Cheers Phil. |
||||
| The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |