[Coco] Toolshed docs

Gene Heskett gheskett at wdtv.com
Tue Dec 10 15:52:25 EST 2013


On Tuesday 10 December 2013 15:39:50 Bill Gordon did opine:

> I found the TOOLSHED.PDF file, but it doesn't make any more sense to me
> than the syntax suggestion when the program is run.
> 
> My OS is Win XP and the file is in an RSDos image, so unfortunately,
> everything under "os9 copy imagename.dsk,path/to/filename filename" is
> Greek to me.

Learn greek :)
Seriusly, check the toolshed make files and see if there is a make option 
that will build some or all of the coco* and decb* files too.

Aha!  They are already built, there is a toolshed/build/win32 directory 
that somehow, needs to make it into your windows $PATH environment, then it 
can find the utilities already built for you in the toolshed/build/win32 
directory.  They are:
drwxr-xr-x 2 gene www-data  4096 2013-12-09 22:08 ar2
drwxr-xr-x 2 gene www-data  4096 2013-12-09 22:08 cecb
drwxr-xr-x 2 gene www-data  4096 2013-12-09 22:08 decb
drwxr-xr-x 2 gene www-data  4096 2013-12-09 22:08 libcecb
drwxr-xr-x 2 gene www-data  4096 2013-12-09 22:08 libcoco
drwxr-xr-x 2 gene www-data  4096 2013-12-09 22:08 libdecb
drwxr-xr-x 2 gene www-data  4096 2013-12-09 22:08 libmisc
drwxr-xr-x 2 gene www-data  4096 2013-12-09 22:08 libnative
drwxr-xr-x 2 gene www-data  4096 2013-12-09 22:08 librbf
drwxr-xr-x 2 gene www-data  4096 2013-12-09 22:08 libsys
drwxr-xr-x 2 gene www-data  4096 2013-12-09 22:08 libtoolshed
-rw-r--r-- 1 gene www-data   817 2013-12-09 22:08 Makefile
drwxr-xr-x 2 gene www-data  4096 2013-12-09 22:08 makewav
drwxr-xr-x 2 gene www-data  4096 2013-12-09 22:08 mamou
drwxr-xr-x 2 gene www-data  4096 2013-12-09 22:08 os9
-rw-r--r-- 1 gene www-data 37423 2013-12-09 22:08 readme.rtf
drwxr-xr-x 2 gene www-data  4096 2013-12-09 22:08 tocgen

But those are all subdirectories that contain only a Makefile, which 
because I am a linux user, were not built.  I suspect that the Makfile you 
can see in the above listing will probably build them all for your 
pleasure.  I do not do anything with RSDos, so I haven't built them.
From that Makefile, it looks like it will build a 
toolshed_version_win32.zip, which I'd assume can then be installed on your 
xp.  But I don't use windows, so I've no clue how.  Can a windows user 
chime in here please?


> 
> -----Original Message-----
> From: coco-bounces at maltedmedia.com [mailto:coco-bounces at maltedmedia.com]
> On Behalf Of Gene Heskett
> Sent: Tuesday, December 10, 2013 2:49 PM
> To: coco at maltedmedia.com
> Subject: Re: [Coco] Toolshed docs
> 
> On Tuesday 10 December 2013 14:30:46 Bill Gordon did opine:
> > Are there any docs for Toolshed? I'm having a very hard time making
> > sense of the syntax suggestions that pop up when I try to use it.
> > 
> > 
> > 
> > I'm trying to list a file within a .dsk image to a single text file
> > that I can print.
> 
> You are I assume ding this one a PC, OS unk from your post.  But what
> you want to do is first, copy that file out to a separate file, with
> syntax something like this:
> 
> os9 copy imagename.dsk,path/to/filename filename
> 
> Now, since that file is a coco/os9 file it probably has carriage returns
> ($0d) as line separators, and the rest of the world seems to be using
> linefeeds ($0a) for that, many of our printing utils will upchuck,
> printing the whole file as one line at the top of the page, or can even
> crash, so do:
> 
> d2u.sh InFile OutFile
> 
> Taken from one of my bash scripts that automate all this for me, and
> where Infile and Outfile are prefedined paths because my scripts use a
> last 25 save filing scheme, so the filename is dynamically determined,
> but you can specify your own input filename and output path/filename. 
> One can also use tr for that if on linux:
> 
> tr "\r" "\n" <input_path_filename >output_path_filename
> 
> Then
> 
> lp -dPRINTERNAME filename
> 
> Your printer _should_ come alive and start handing it to you in a couple
> seconds.  You may want to make sure it has enough paper. ;-)
> 
> 
> 
> --
> Coco mailing list
> Coco at maltedmedia.com
> http://five.pairlist.net/mailman/listinfo/coco


Cheers, Gene
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>

Success is in the minds of Fools.
		-- William Wrenshaw, 1578
A pen in the hand of this president is far more
dangerous than 200 million guns in the hands of
         law-abiding citizens.



More information about the Coco mailing list