Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A couple minor DIR issue #65

Open
shidel opened this issue Dec 31, 2021 · 3 comments · Fixed by #86
Open

A couple minor DIR issue #65

shidel opened this issue Dec 31, 2021 · 3 comments · Fixed by #86
Labels
bug Something isn't working

Comments

@shidel
Copy link

shidel commented Dec 31, 2021

First ...

DIR /? - Shows an [/V] in the usage.
DIR /V - returns invalid switch - /V

Second...

DIR /W - Shows wide Listing
DIR /W /W - Shows normal Listing
DIR /W /W /W - Shows wide Listing

/W is working like a toggle.

@PerditionC PerditionC added the bug Something isn't working label Dec 31, 2021
@andrewbird
Copy link
Contributor

1/ I raised a PR to remove the non-existent /V option from the string files.

2/ From what I can see all freecom option switches work like a toggle. For example

C:\>ver /r
 
FreeCom version 0.85a - GNUC - XMS_Swap [Nov  6 2022 12:06:15]
DOS version 7.10
FreeDOS kernel - GIT (build 2043 OEM:0xfd) [compiled Nov  5 2022]
C:\>ver /r /r
 
FreeCom version 0.85a - GNUC - XMS_Swap [Nov  6 2022 12:06:15]
C:\>

I can't really see a use for toggling, but others may know better?

@shidel
Copy link
Author

shidel commented Nov 9, 2022

Option toggling.

Not all options do it. For example dir /p /p will still pause. That requires dir /p /-p to turn it back off.
So, toggling is not consistent across all options.

Although it may not be important, for things like set alias dirw=dir /w then using dirw /w will turn off wide listings.

Also, MS-DOS does not toggle them. Since it varies from MS-DOS compatibility, perhaps toggling should discussed in the devel forum. I'll write a quick post about it there.

@andrewbird
Copy link
Contributor

Reopened as the toggling part of the issue has not been addressed yet.

@andrewbird andrewbird reopened this Mar 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants