Hi Ralph, > On Nov 15, 2022, at 1:26 PM, Ralf Quint <[email protected]> wrote: > > 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 > Sorry. But, I’m confused by your response.
In MS-DOS, DIR does not toggle at all when using simple switches without a +/-. In FreeDOS, most DIR options toggle without using a +/-. Both support turning off/on options when a +/- is used. However, I have not tested all options under both. So, it is possible some may only turn on an option under one or the other OS. Are you saying… You don’t care and we should not worry about it? Or, something else? Although MS-DOS does not do the toggling, it could cause user confusion. So, I’m not sure if FreeDOS should. However, I think DIR should at least be consistent and either all or none of it’s options should support toggling. :-) Jerome
_______________________________________________ Freedos-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freedos-devel
