Hallo Herr Jerome Shidel, am Mittwoch, 9. November 2022 um 16:26 schrieben Sie:
> 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. as Aitor said:"To me this is a bug. Not a major one, but a bug." if you look at the source (cmd\dir.c) ... optScanFct(opt_dir) { (void)arg; switch(ch) { case 'S': return optScanBool(optS); case 'P': return optScanBool2(optP); /* multiple uses, /P /P, do not cancel, only /-P */ case 'W': return optScanBool(optW); case 'B': return optScanBool(optB); virtually all options toggle, but someone probably noted that /P should not toggle, because even after set DIRCMD=/P DIR /P should still pause. MSDOS probably has not toggling at all (I'm not sure; someone who is not named Tom should test this), and optScanBool() should be replaced by optScanBool2() all over FreeCOM. Tom _______________________________________________ Freedos-devel mailing list Freedos-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-devel