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

Resolve issues with STAT.COM #57

Merged
merged 6 commits into from
May 1, 2024
Merged

Resolve issues with STAT.COM #57

merged 6 commits into from
May 1, 2024

Conversation

skx
Copy link
Owner

@skx skx commented Apr 29, 2024

I've added a STAT.COM binary to the distribution repository:

That failed on getting drive space, but this pull-request will resolve that problem and the related problem of not reporting upon file sizes once complete this will close #54.

skx added 6 commits April 29, 2024 20:47
I've added a STAT.COM binary to the distribution repository:

* https://github.com/skx/cpm-dist

That failed on getting drive space, but this pull-request will resolve
that problem and the related problem of not reporting upon file sizes
once complete this will close #54.
This adds a simple mapping of Host and Guest paths, and allows
us to add the stat operation to populate the record-count.

TODO: Byte count.
@skx
Copy link
Owner Author

skx commented May 1, 2024

I'm happy that things work now - we have cross-drive stuff working, and the record-counts in STAT are correct:

Sample test with the cpm-dist repository:

$ go build . && ./cpmulator -directories -cd ~/Repos/github.com/skx/cpm-dist/

We start out in A: and move to C: to run the operation:

A>c:
C>a:stat g:zork1.com

RECS BYTS EX D:FILENAME.TYP
  68   0K  1 G:ZORK1.COM

That shows the 68 record - though the byte count is missing I'm happy enough for the moment. To get the filesystem I think I'd need something more complex.

@skx skx merged commit df3dd7c into master May 1, 2024
2 checks passed
@skx skx deleted the 54-stat branch May 1, 2024 05:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

stat.com - doesn't show file sizes
1 participant