Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 13:20 04 May 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 : Picomite Javavis File Manager (FM) for VT100 Console version

     Page 3 of 4    
Author Message
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 4824
Posted: 10:20am 18 Mar 2025
Copy link to clipboard 
Print this post

  Volhout said  All,

Thank you all for your motivating constructive comments.
If I sum up all your desires and requirements, I can only conclude that the filemanager in today's state is incompatible with these.

1/ other terminal sizes are not supported, and I am not volunteering to go down that rabit hole with the current code. We have the new "widescreen" modes on 2350, as well as various LCD formats with font choices. This could be a huge effort to get right.
2/ a common (VGA/HDMI/VT100 and of coarse VT100 and VGA at the same time looking the same) is only making the program bigger (2 independent display routines showing the same data, potentially at different resolutions).
3/ taking out sound and pictures, does not save a lot of code space, also the screensave does not save a lot of program space.
4/ Do not use function keys... in essence simple, but who is helped with that.?
5/ twofingers has discovered, as did I myself, that console ALT+Fx keys are not passed to MMBasic. Hence the VT100 version used backspace. And that works well. But the original MC used <ALT> hence javavi's choice for it.
6/ Do not use ASCII codes above 127.
7/ Implement media handlers as separate library functions.

I do understand all your desires and suggestions. But given that fact that we have a fully operational filemanager, one for VGA, and one for VT100, I am not sure it is worth the effort to start from scratch, and write a new one. I personally am happy with what I have, it starts immediately when I press F9(or F5 in my case), it sizes my Putty screen/Teraterm screen according, it does what it needs to do. Yes, it is huge (50+kbyte) but who cares. A flash slot is 100k, and I cannot use it for anything else when it has the filemanager in it. And my VGA platforms will use the VGA version.

Those are my thoughts,

Volhout

P.S. playing WAV is simple.

PicomiteVGA PETSCII ROBOTS
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 4824
Posted: 10:26am 18 Mar 2025
Copy link to clipboard 
Print this post

  dddns said  @Volhout
I think it is a must, and Javavi himself is of cause invited to contribute, but in order to make it possible finding its way into PicoMite, Peters criteria need to be fulfilled. I definitely think that he would reject the approach as it is.


I think I agree with you that this filemanager may not meet Peter's criteria for integration into the main build. So you have to type few lines to get it in a flash slot.

Volhout
Edited 2025-03-18 20:26 by Volhout
PicomiteVGA PETSCII ROBOTS
 
dddns
Senior Member

Joined: 20/09/2024
Location: Germany
Posts: 215
Posted: 10:37am 18 Mar 2025
Copy link to clipboard 
Print this post

Maybe my English is too concluded..
 
twofingers
Guru

Joined: 02/06/2014
Location: Germany
Posts: 1520
Posted: 11:40am 18 Mar 2025
Copy link to clipboard 
Print this post

  Volhout said  Hi Michel,

Something went wrong. FM 02029 vt100 tested on V6.00.02rc5 on a RP2040GEEK....

Perhaps your Teraterm doesn't understand the escape sequences for the selected files? New in 02029 is the use of ESC "[38;5;208m" (line 39). In version 2026, ESC "[96m" is used for cyan (line 38). You can simply change this in the source code or download 02030.

fm02030.zip

Your comment on the new switch to codes <=127 would be interesting.

Regards
MIchael
causality ≠ correlation ≠ coincidence
 
dddns
Senior Member

Joined: 20/09/2024
Location: Germany
Posts: 215
Posted: 11:54am 18 Mar 2025
Copy link to clipboard 
Print this post

  Quote  
Perhaps your Teraterm doesn't understand the escape sequences for the selected files? New in 02029 is the use of ESC "[38;5;208m" (line 39). In version 2026, ESC "[96m" is used for cyan (line 38).


I always try to keep on learning. Would you please explain the sequences in detail.e.g. what 96 or 208 stand for?

And I don't understand what you mean with: my terraterm - your terraterm
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 4824
Posted: 11:58am 18 Mar 2025
Copy link to clipboard 
Print this post

Using Teraterm 4.105 (that is not the latest...) from 2019.
02030 works fine with it.

Installed Teraterm 5.4.0, and it does not show correct characters above 127 using Terminal font. CP852 is not selectable. So I will stay with the old one.

Volhout
Edited 2025-03-18 22:19 by Volhout
PicomiteVGA PETSCII ROBOTS
 
dddns
Senior Member

Joined: 20/09/2024
Location: Germany
Posts: 215
Posted: 12:07pm 18 Mar 2025
Copy link to clipboard 
Print this post

too concluded again. I mean why he makes a difference. The protocol is developed by DEC and not by terraterm. Terraterm itself I used some 20 years ago..I know about its existance.
 
twofingers
Guru

Joined: 02/06/2014
Location: Germany
Posts: 1520
Posted: 12:08pm 18 Mar 2025
Copy link to clipboard 
Print this post

  Frank N. Furter said  ... - When I view a text file with F3, the message “Press any key!” appears. However, only page-up, page-down and ESC work....






Hi Frank,
RTFM!    
No, I'm just kidding.  If you press <F1> in the f3 text display, the available keys are displayed.* The "Press any key!" is a bit short. I'm trying to save space and assume that users are also capable of reading the source code. You certainly can! The modules I've provided were never intended as finished units, but rather as demos for features that Vadim might want to include in his program.
Kind regards
Michael

_
*
The meaning of INS & DEL:
INS allows you to jump to a specific line, while DEL is supposed to save the current page as "0snippet.cut." It has an error and apparently aborts the file view. I'll probably disable it.
causality ≠ correlation ≠ coincidence
 
twofingers
Guru

Joined: 02/06/2014
Location: Germany
Posts: 1520
Posted: 12:14pm 18 Mar 2025
Copy link to clipboard 
Print this post

@Harm

I use Teraterm 4.85 of nov. 2014!  
causality ≠ correlation ≠ coincidence
 
JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 3989
Posted: 12:19pm 18 Mar 2025
Copy link to clipboard 
Print this post

  dddns said  The protocol is developed by DEC and not by terraterm.

Teraterm and the "window" it runs inside can hopefully understand the escape sequences and create the desired result.

John
 
dddns
Senior Member

Joined: 20/09/2024
Location: Germany
Posts: 215
Posted: 12:21pm 18 Mar 2025
Copy link to clipboard 
Print this post

  JohnS said  
  dddns said  The protocol is developed by DEC and not by terraterm.

Teraterm and the "window" it runs inside can hopefully understand the escape sequences and create the desired result.

John


I always thought, that is what it is made for ages ago
 
twofingers
Guru

Joined: 02/06/2014
Location: Germany
Posts: 1520
Posted: 12:34pm 18 Mar 2025
Copy link to clipboard 
Print this post

  Volhout said  ... Installed Teraterm 5.4.0, and it does not show correct characters above 127 using Terminal font. CP852 is not selectable. So I will stay with the old one. ...

This is my ASCII table in Teraterm, with Terminal font.

causality ≠ correlation ≠ coincidence
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 4824
Posted: 12:48pm 18 Mar 2025
Copy link to clipboard 
Print this post

Teraterm 5.4.0
Terminal font
ASCII table...



After you change "encoding" from UTF-8 to ISO8859-1 all is dandy....



Edited 2025-03-18 22:51 by Volhout
PicomiteVGA PETSCII ROBOTS
 
twofingers
Guru

Joined: 02/06/2014
Location: Germany
Posts: 1520
Posted: 12:53pm 18 Mar 2025
Copy link to clipboard 
Print this post

Thanks Harm, very interesting!
causality ≠ correlation ≠ coincidence
 
karlelch

Senior Member

Joined: 30/10/2014
Location: Germany
Posts: 219
Posted: 07:12am 22 Mar 2025
Copy link to clipboard 
Print this post

Thanks @Harm for figuring this out. Looks great now.
I used Tera Term 5 as a standard and was wondering what was going on on my PC ...

Best
Thomas
 
karlelch

Senior Member

Joined: 30/10/2014
Location: Germany
Posts: 219
Posted: 07:30am 22 Mar 2025
Copy link to clipboard 
Print this post

Tiny wish: Would it be possible to clear the terminal when exiting the fm?
 
twofingers
Guru

Joined: 02/06/2014
Location: Germany
Posts: 1520
Posted: 03:47pm 22 Mar 2025
Copy link to clipboard 
Print this post

  karlelch said  Tiny wish: Would it be possible to clear the terminal when exiting the fm?

Hi Thomas,
yes, that was a typo (Cc$ <-> Cs$).
I also adopted a few additional changes from the HDMI program.
fmvt02031.zip
Regards
MIchael
causality ≠ correlation ≠ coincidence
 
karlelch

Senior Member

Joined: 30/10/2014
Location: Germany
Posts: 219
Posted: 07:17am 23 Mar 2025
Copy link to clipboard 
Print this post

Hi Michael,
thank! Works!
Best
Thomas
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 4824
Posted: 10:35am 24 Mar 2025
Copy link to clipboard 
Print this post

Sorry twofingers,

I undid your popup when exiting the filemanager with <ESC>.
I think this is not needed, and irritating.
I like the fast way of operating. F9 starts <ESC> exits. And F9 is pressed easilly again to re-open the filemanager. I personally would even remove the popups when copying, moving, deleting. When you type KILL "xx.bas", it is gone. Why confirm when you do this in the filemanager.

What happens, is that people "muscle-automate" the confirmation, because they do it every time, again and again. They do not even look anymore what the popup says. And when they make an error, they have already (automatically) confirmed anyway. It helps nothing.

I plan to remove (in my version) the popups altogether. Sorry...

Maybe it is because I mainly work with linux, where the system simply does what you tell it to, and not a windows environment where you have "DO YOU REALLY WANT TO DO THIS ?" more often...

Also: I would remove the MEMORY and MM.INFO(HEAP) from the F9 menu. They show only information of the filemanager itself. Nice for development, but useless to the end user. I do understand the use for the ASCII characterset, since on VT100 your visuals depend on it.

Volhout
Edited 2025-03-24 20:41 by Volhout
PicomiteVGA PETSCII ROBOTS
 
twofingers
Guru

Joined: 02/06/2014
Location: Germany
Posts: 1520
Posted: 11:30am 24 Mar 2025
Copy link to clipboard 
Print this post

Hi Harm,
there's nothing to apologize for! ;-)
I'm sure you understand my reasons, just as I appreciate yours. I think it makes a difference whether someone removes the prompt popups themselves or whether they were never intended. It's happened to me several times that I accidentally exited the program by pressing ESC.

My suggestion would be that you offer your modified program for download here, along with a description of the improvements. Then everyone can decide for themselves!

I'm also in favor of anyone who has relevant improvements mentioning them here or making them available for download.

I think it's commendable that you're engaging with this topic so intensively and seriously.  
Regards
Michael
Edited 2025-03-24 21:30 by twofingers
causality ≠ correlation ≠ coincidence
 
     Page 3 of 4    
Print this page
The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025