Add *HELP, *TYPE, *CLS, *MOUNT Commands#60
Closed
leighbb wants to merge 9 commits intobreakintoprogram:mainfrom
Closed
Add *HELP, *TYPE, *CLS, *MOUNT Commands#60leighbb wants to merge 9 commits intobreakintoprogram:mainfrom
leighbb wants to merge 9 commits intobreakintoprogram:mainfrom
Conversation
Move fs variable from main.c to src/mos.c Create new mos_mount() function in src/mos.c Call mos_mount() from main() instead of directly calling f_mount Add mos_cmdMOUNT() that calls mos_mount() in src/mos.c Add additional commands to list of commands in HELP text.
Contributor
Author
Contributor
Author
Contributor
Author
This was referenced May 24, 2023
Closed
Closed
|
This looks good. I think the '*' char should not be displayed in the help text. After all , it is the MOS prompt and not needed to be typed in, and making the text a bit confusing. |
Contributor
Author
Fair enough - updated patch to remove the *'s |
Owner
|
Hi, this has been merged as part of pull request #93 so am closing as it is now done. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



In order to make a more comfortable MOS environment, I have added the following commands:
*HELP - Display help on commands
*TYPE - Like the equivalent DOS command, displays a text file on the console
*CLS - shortcut to VDU 12 (which not all users may be familiar with)
*MOUNT - Re-(mount) the MicroSD card
Happy for any feedback.