I ran one more short check with dosbox.
tree371 /options path c:\anywhere works (shows chosen options), but shows everything starting with c:\.
tree371 path c:\anywhere /options shows everything from C:\ but ignores the options completely.
Options -a -b -c -d -e -f -g -h -v etc. are accepted but seem to have no function in difference to /s /d /f /v /a.
Option /v shows the help instead of a version number.
The old version supported "tree370 /options path" and "tree370 path /options".
tree371 /s /f /d c:\path shows the path starting at "c:\" with size, files and directory symbol.
going into C:\path and executing "tree371 /s /f /d" shows the correct result.
tree371 /? only shows the old options, not the new that were added.
As Jerome reported, dosbox shows serial number 0000:1234.
Willi
Sent: Wednesday, August 02, 2023 at 7:22 PM
From: "Jerome Shidel via Freedos-devel" <freedos-devel@lists.sourceforge.net>
To: "FreeDOS Developers" <freedos-devel@lists.sourceforge.net>
Cc: jer...@shidel.net
Subject: Re: [Freedos-devel] tree 3.7.2/3.7.1
From: "Jerome Shidel via Freedos-devel" <freedos-devel@lists.sourceforge.net>
To: "FreeDOS Developers" <freedos-devel@lists.sourceforge.net>
Cc: jer...@shidel.net
Subject: Re: [Freedos-devel] tree 3.7.2/3.7.1
Hi,
_______________________________________________ Freedos-devel mailing list Freedos-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-devel
When I did a quick test of the v.3.7.1, this is what I noticed and mentioned to Willi:
There are a couple problems with v3.7.1 that should be addressed before it should replace v3.7.0.
Quickly looking at the binaries, you are correct that v3.7.2 is just v3.7.0. However, v3.7.1 is different. The large difference in size was just from v3.7.0 being UPX compressed. When v3.7.0 is decompressed, it is only 186 bytes smaller than v3.7.1.
When I extracted the archive, the binaries were under C:\TREE373\BIN under/inside DOSBox, using the DOSBox Kernel and FreeCOM shell (my normal DOS development and primary DOS testing platform).
> v3.7.1 does not display a tree for any directory other than the current one.
Correct.
(tree371 \ - printed no subdirectories exist)
I could not reproduce this behaviour.
> v3.7.1 does not display the files (/F) for any directory if a different directory is requested.
See above - works with options first.
> Basically it looks like when any directory is requested, it is ignored along with any option switches that may have been provided.
See above. Correct.
> On a side note, there is another bug that exists in both v3.7.0 and v3.7.1 which I noticed under the DOSBox kernel. It would probably go unnoticed in a normal Virtual Machine or on real hardware. Both versions reported a serial number of 0000:1234. There is no serial number present for drives under DOSBox. Fortunately, the DOSBox kernel does report this and for example FreeCOM’s dir command does not print an erroneous serial number for disk volumes. The bug is most likely a result of not testing if the call was completed successful. See https://fd.lod.bz/rbil/interrup/dos_kernel/2169.html#3212
Is reproducable.
:-)
Jerome
On Aug 2, 2023, at 12:09 PM, perditionc--- via Freedos-devel <freedos-devel@lists.sourceforge.net> wrote:I will look into it.Jeremy_______________________________________________On Wed, Aug 2, 2023, 12:07 PM Wilhelm Spiegl via Freedos-devel <freedos-devel@lists.sourceforge.net> wrote:_______________________________________________Hi all,I just worked on checking tree 3.7.2 - it is a little bit tricky. The source code of 3.7.2 seems to be identical with 3.7.1, but the .exe is identicalwith 3.7.0.I found information about 3.7.1 at archive.org, see:https://web.archive.org/web/20011212151852/http://www.darklogic.org/fdos/projects/tree/ This text that says that the options /s, /d and (according to nls: /v, version, works) are added at 3.7.1. They work with 3.7.1, from root,but they do not work correct at subdirectories, and, as Jerome Shidel reported, there are problems with HD serial number in dosbox.Is there anybody out there who can check / fix this as I am no programmer.ThanksWilli
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel
_______________________________________________ Freedos-devel mailing list Freedos-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-devel