On 11/9/2022 7:26 AM, Jerome Shidel wrote:
Hi all,

There is a minor compatibility difference with the FreeCOM DIR command.

Most of the option switches work like toggles. For example:

dir /w- shows a wide listing
dir /w /w - shows a normal listing
dir /w /w /w - shows a wide listing

This deviates from MS-DOS

dir /w- shows a wide listing
dir /w /w- shows a wide listing

To toggle it back off MS-DOS requires the /-w switch and works fine with the FreeCOM DIR.

When used through an alias like “set alias ls=dir /w” then executing “ls /w” it produce results different from what is expected.

Not all options perform toggling. For example:

dir /p- pauses per page
dir /p /p - pauses per page

I don’t think the toggling is very important. But, it does deviant from MS-DOS.
I do think that consistency across the options is important.

Any thoughts?
My thought? You got to be kidding! ;-)

Sorry, just can't see how one could possibly abuse that bug in MS-DOS, and that is certainly nothing that I would suggest we strive to emulate, consistency or not...


Ralf

_______________________________________________
Freedos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to