[Coco] Atom IDE + toolshed

Tormod Volden lists.tormod at gmail.com
Sat Mar 14 21:21:17 EDT 2020


pfitchjr,

I think you have to explain what you /want/ to do, not only show the
commands you are typing. From your first post I thought you wanted to
copy from one disk image to another. In your last examples it seems
that you want to extract a disk image to a local folder tree.

Is "Rogue" a formatted disk image? If not, there is no wonder it
doesn't work. If it is a local directory you must *not* add the comma,
since it signifies a disk image.

It seems you also ignored my suggestion to omit the dot in the source path.

It is strange that removing the single quotes changes anything. From
the "copy" error messages it seems that the quotes are correctly
stripped away by your shell. However, the error message shows the
source file, but the problem could be in the destination. I have
changed it to show both, maybe that can give us some hints.

> os9 copy MISC.DSK,./m.hlp ./m.hlp -l-r -b=245760 <-- where the "-l-r" causes the line to error out.

Yup, that's a bug, I have fixed it.

> And one final note...why is my -b=24K translating into -b=245760?

Good catch! That is a bug from 2004. Also fixed now.

Regards,
Tormod

On Sat, Mar 14, 2020 at 4:56 PM <pfitchjr at bellsouth.net> wrote:
>
> To cut back on all the extra confusion, I made a new floppy image with only source files on it. No directories at all. I also gave up on trying to drop the files into a host sub-directory.  Just a straight copy, just like the example in the docs for "COPY"
>
> The I ran the following command in my batch file (which failed).
>
> os9 dsave -b=24k -r -e MISC.DSK,. .
>
> The output of this command was:
>
> currentfolder Misc
> projectfolder C:\Misc
> "C:\Program Files (x86)\toolshed-2.2\os9.exe" dsave -b=24k -r -e MISC.DSK,. Misc,
> "C:\Program Files (x86)\toolshed-2.2\os9.exe" dsave -b=24k -r -e MISC.DSK,. .
> copy: error 215 on file ''MISC.DSK,./startrek.bas'': badly formed pathname
> copy: error 215 on file ''MISC.DSK,./taipan.b09'': badly formed pathname
> copy: error 215 on file ''MISC.DSK,./c.hlp'': badly formed pathname
> copy: error 215 on file ''MISC.DSK,./runb.hlp'': badly formed pathname
> copy: error 215 on file ''MISC.DSK,./r3systems.hlp'': badly formed pathname
> copy: error 215 on file ''MISC.DSK,./s09.hlp'': badly formed pathname
> copy: error 215 on file ''MISC.DSK,./pt.hlp'': badly formed pathname
> copy: error 215 on file ''MISC.DSK,./s.hlp'': badly formed pathname
> copy: error 215 on file ''MISC.DSK,./m.hlp'': badly formed pathname
> os9 copy 'MISC.DSK,./startrek.bas' './startrek.bas' -r -b=245760
> os9 copy 'MISC.DSK,./taipan.b09' './taipan.b09' -r -b=245760
> os9 copy 'MISC.DSK,./c.hlp' './c.hlp' -r -b=245760
> os9 copy 'MISC.DSK,./runb.hlp' './runb.hlp' -r -b=245760
> os9 copy 'MISC.DSK,./r3systems.hlp' './r3systems.hlp' -r -b=245760
> os9 copy 'MISC.DSK,./s09.hlp' './s09.hlp' -r -b=245760
> os9 copy 'MISC.DSK,./pt.hlp' './pt.hlp' -r -b=245760
> os9 copy 'MISC.DSK,./s.hlp' './s.hlp' -r -b=245760
> os9 copy 'MISC.DSK,./m.hlp' './m.hlp' -r -b=245760
>
> I then copied the NINE lines above beginning in "os9 copy..." to my batch file and started playing with them until they worked. The working versions looked like this:
>
> os9 copy MISC.DSK,./startrek.bas ./startrek.bas -r -b=245760
> os9 copy MISC.DSK,./taipan.b09 ./taipan.b09 -r -b=245760
> os9 copy MISC.DSK,./c.hlp ./c.hlp -r -b=245760
> os9 copy MISC.DSK,./runb.hlp ./runb.hlp -r -b=245760
> os9 copy MISC.DSK,./r3systems.hlp ./r3systems.hlp -r -b=245760
> os9 copy MISC.DSK,./s09.hlp ./s09.hlp -r -b=245760
> os9 copy MISC.DSK,./pt.hlp ./pt.hlp -r -b=245760
> os9 copy MISC.DSK,./s.hlp ./s.hlp -r -b=245760
> os9 copy MISC.DSK,./m.hlp ./m.hlp -r -b=245760
>
> So the PROBLEM here is the SINGLE QUOTES. Remove those, and the script works.
>
> However, I also noticed another issue. If I choose the '-l' flag, all of the output copy strings look like this:
>
> os9 copy MISC.DSK,./m.hlp ./m.hlp -l-r -b=245760 <-- where the "-l-r" causes the line to error out.
>
> And one final note...why is my -b=24K translating into -b=245760?
>
>
>
>
>
> --
> Coco mailing list
> Coco at maltedmedia.com
> https://pairlist5.pair.net/mailman/listinfo/coco


More information about the Coco mailing list