Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 00:02 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 4 of 4    
Author Message
JohnS
Guru

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

Could the popup etc stuff just be a setting somewhere and thus just have one code base?

Something like: the code calls the popup and it just returns immediately if the setting says popups aren't wanted.

John
Edited 2025-03-24 22:27 by JohnS
 
twofingers
Guru

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

  JohnS said  Could the popup etc stuff just be a setting somewhere and thus just have one code base?

Something like: the code calls the popup and it just returns immediately if the setting says popups aren't wanted.

John

Hi John,
a global no-popups flag?  
Sure, that would be possible, but does it really make sense to be able to delete an entire drive without prompting? Especially since some users are used to a different approach in Windows (Recycle Bin).

I actually assume that FM users should adapt the program to their needs in various places.
Regards
MIchael
causality ≠ correlation ≠ coincidence
 
bfwolf
Regular Member

Joined: 03/01/2025
Location: Germany
Posts: 68
Posted: 08:28pm 24 Mar 2025
Copy link to clipboard 
Print this post

"classic security confirmation query prompt":
NOT delete all files (Y/N)?


..how many files are deleted anyway, if answer is "Y"?  
 
twofingers
Guru

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

3 or 42, it depends.
causality ≠ correlation ≠ coincidence
 
karlelch

Senior Member

Joined: 30/10/2014
Location: Germany
Posts: 219
Posted: 10:05pm 24 Mar 2025
Copy link to clipboard 
Print this post

How about a separate settings file, which defines if pop-ups are on/off, if commands like memory are available etc. This file could be written with default values if not found and if found, these settings are used.
This way, one could use a single code base AND customise the program to the users needs.

Best
Thomas
Edited 2025-03-25 08:06 by karlelch
 
twofingers
Guru

Joined: 02/06/2014
Location: Germany
Posts: 1520
Posted: 10:21pm 24 Mar 2025
Copy link to clipboard 
Print this post

Hi Thomas,
I'd already considered something like that, a kind of config file, but I think it would have other disadvantages. I think one of the advantages of the FM is the single-file principle. I'd also considered storing some config properties in the RTC, i.e., in the alarm registers. But not all Picos have an RTC. And the VT100 version, in particular, is ideal for pure Picomites, in my opinion. But who knows, something like that might work in the final version. I think it's good to collect all practical ideas for an FM that covers as many needs as possible. Thanks!
Regards
Michael

EDIT
Another aspect that speaks in favor of a single file is storage in the flash slot, which many seem to handle this way. A configuration file would be difficult in this case.
Edited 2025-03-25 08:35 by twofingers
causality ≠ correlation ≠ coincidence
 
karlelch

Senior Member

Joined: 30/10/2014
Location: Germany
Posts: 219
Posted: 10:45pm 24 Mar 2025
Copy link to clipboard 
Print this post

Hi Michael
I see your points.
Would be nice to be able to store a set of user parameters in the options …
Best
Thomas
 
JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 3989
Posted: 06:59am 25 Mar 2025
Copy link to clipboard 
Print this post

Even a single configuration settings line to edit at the start of the FM code would be better than diverging multiple program versions.

John
 
twofingers
Guru

Joined: 02/06/2014
Location: Germany
Posts: 1520
Posted: 04:36pm 25 Mar 2025
Copy link to clipboard 
Print this post

  JohnS said  Even a single configuration settings line to edit at the start of the FM code would be better than diverging multiple program versions.

John

Hi John,
I like the idea, but writing it all in one line would be difficult.

I created a special version for Harm. Without confirmation prompts, just like Klingons like it. Klingon mode does have to be enabled, though. After that, there will be no more annoying sissy popups.

Other new features include changing to the root directory with [INS] and changing drives with [DEL].

fmvt0203-Klingon.zip

Regards
Michael
causality ≠ correlation ≠ coincidence
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 4824
Posted: 06:16pm 25 Mar 2025
Copy link to clipboard 
Print this post

I like Klingon as a switch.
Great

Volhout
I mysellf was working on a swich named "sure".
Edited 2025-03-26 04:17 by Volhout
PicomiteVGA PETSCII ROBOTS
 
twofingers
Guru

Joined: 02/06/2014
Location: Germany
Posts: 1520
Posted: 01:27pm 26 Mar 2025
Copy link to clipboard 
Print this post

Hi Harm,
  Volhout said  I like Klingon as a switch.
Great

Thank you! I'm glad you understood that correctly!
Is that what you had in mind?

How do you like the new drive selection?

Kind regards and Qapla'
Michael
causality ≠ correlation ≠ coincidence
 
     Page 4 of 4    
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