![]() |
Forum Index : Microcontroller and PC projects : Picomite Javavis File Manager (FM) for VT100 Console version
![]() ![]() |
|||||
Author | Message | ||||
JohnS Guru ![]() Joined: 18/11/2011 Location: United KingdomPosts: 3989 |
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: GermanyPosts: 1520 |
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: GermanyPosts: 68 |
"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: GermanyPosts: 1520 |
3 or 42, it depends. ![]() causality ≠ correlation ≠ coincidence |
||||
karlelch![]() Senior Member ![]() Joined: 30/10/2014 Location: GermanyPosts: 219 |
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: GermanyPosts: 1520 |
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: GermanyPosts: 219 |
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 KingdomPosts: 3989 |
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: GermanyPosts: 1520 |
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: NetherlandsPosts: 4824 |
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: GermanyPosts: 1520 |
Hi Harm, 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 |
||||
![]() ![]() |
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |