Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 14:37 29 Nov 2024 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 : GFXtermW32 and Picomite

Author Message
Frank N. Furter
Guru

Joined: 28/05/2012
Location: Germany
Posts: 831
Posted: 03:24pm 13 Mar 2023
Copy link to clipboard 
Print this post

I think this is a question specifically for Robert:

First of all - is "GFXtermW32 (2021-12-27).exe" the latest version?

I have problems when I use OPTION DISPLAY to set values greater than 24.
Then the visible position on the monitor no longer matches the position where text is to be changed.

My second problem is that with "paste from clipboard" a return is always transferred with it. This is very unpleasant if you only want to insert "OPTION DISPLAY", for example, and then add the number manually.

THANKS!

Frank
 
robert.rozee
Guru

Joined: 31/12/2012
Location: New Zealand
Posts: 2350
Posted: 01:21pm 14 Mar 2023
Copy link to clipboard 
Print this post

  Frank N. Furter said  is "GFXtermW32 (2021-12-27).exe" the latest version?

yes, it is the latest released version. there is an (unreleased) version a couple of months newer (February 2022), but the changes are just tweaks to how the XMODEM timing operates and since there have been no complaints of XMODEM problems i never bothered releasing it.


  Frank N. Furter said  I have problems when I use OPTION DISPLAY to set values greater than 24. Then the visible position on the monitor no longer matches the position where text is to be changed.

unfortunately GFXterm only provides support for the VT102 command set, with extensions for mouse support (from the VT220 command set) and a 16-colour palette (from the VT525 command set). as such, the terminal screen is FIXED at 80 columns by 24 lines and any request by the PICO to resize the terminal screen are ignored.

changing GFXterm to allow resizing the terminal screen would be... difficult. it would also violate a few 'security rules' in regards to communications with a remote system (the PICO).


  Frank N. Furter said  My second problem is that with "paste from clipboard" a return is always transferred with it. This is very unpleasant if you only want to insert "OPTION DISPLAY", for example, and then add the number manually.

before anything is pasted (either from a text file or the clipboard) it is passed through a 'cleanup' routine that ensures every line is terminated with a ctrl-M, trailing spaces at the end of lines are removed, and if there is no ctrl-Z or ctrl-M at the end of the last line then a ctrl-M is appended.

i'd not thought of anyone wanting to paste just a short string of text  

but, there is a workaround:
place your text (eg "OPTION DISPLAY ") into your favorite text editor, then press the key sequence to enter a control character. enter a ctrl-Z. now select the text including the ctrl-Z and press ctrl-C to copy it to the clipboard. you can now paste this into GFXterm at the MMbasic prompt and the line will appear with the cursor sitting ready for you to type whatever else.

in the linux text editor "xed", the key sequence is control-shift-U followed by two hex digits (1A for ctrl-Z) and either enter or space key.

in the next release (which i guess i should do soon) i'll change the algorithm so that if the clipboard contains text with NO control characters, then it will NOT be processed before pasting.


cheers,
rob   :-)
Edited 2023-03-14 23:27 by robert.rozee
 
Frank N. Furter
Guru

Joined: 28/05/2012
Location: Germany
Posts: 831
Posted: 07:45am 15 Mar 2023
Copy link to clipboard 
Print this post

Hi Rob,

thanks for your reply and also for your workaround! I am already looking forward to the new version!

Frank
 
Print this page


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

© JAQ Software 2024