[Coco] [Color Computer] [coco] Shell Scripts

George's Coco Address yahoo at dvdplayersonly.com
Mon Jan 1 13:41:06 EST 2007


----- Original Message ----- 
From: "Stephen H. Fischer" <SFischer1 at MindSpring.com>
To: "CoCoList for Color Computer Enthusiasts" <coco at maltedmedia.com>
Sent: Monday, January 01, 2007 2:14 AM
Subject: Re: [Coco] [Color Computer] [coco] Shell Scripts


> Hi,
>
> If you could check the parameters for uloadx I suspect that you will see
> Standard Input or standard output need to be redirected in the script for
> the unloadx command.
>
> Check the Shell+ documentation, there are many details that are relevant 
> to
> your problem.
>
> Stephen H. Fischer
>
 This morning, I changed:

uloadx stockcount.txt

to

uloadx stockcount.txt </1

It almost worked inasmuch as it did start the upload, but it was incredibly 
slow(5 cps) and it then locked up part way through the upload to the coco.

I looked at the Shell+ docs and didn't see anything that appeared to be 
relavent.

I'm about to change the script so that I will have to be in the target 
directory to run it. Maybe this will reveal something.


> ----- Original Message ----- 
> From: George's Coco Address
> To: ColorComputer at yahoogroups.com
> Sent: Sunday, December 31, 2006 12:33 PM
> Subject: [Color Computer] [coco] Shell Scripts
>
>
> I'm working on a shell script to speed things up a bit with some stuff I'm
> doing between my coco and this PC. (OS-9 L2 and shell+ 2.1)
>
> The problem is with "uloadx" from the OS9 LII BBS package.
>
> When I use uloadx from a command line on the coco(through the RS232 port,
> /t2), it works fine. However, when I write a shell script to do the same
> thing, HyperTerminal and the coco don't seem to talk together properly.
>
> HyperTerminal times out and gives up trying to send the file and the coco
> just sits there waiting for the upload.
>
> Here's the shell script..
>
> tmode -pause
> chd /h0/html/www
> del stockcount.txt
> del inventory.lzh
> uloadx stockcount.txt
> makeinventory
> lha a -z inventory.lzh inventory/*
> dloadx inventory.lzh
> tmode pause
>
> Of course, I can't run this from the coco's keyboard. So, I'm stuck when 
> it
> gets to the uloadx part.
> These lines all work properly when typed in manually. The shell script 
> does
> fine up to the uloadx.
> "File open, ready to recieve..."
>
> Does anyone have a suggestion here?
>
> George
>
>
>
> -- 
> Coco mailing list
> Coco at maltedmedia.com
> http://five.pairlist.net/mailman/listinfo/coco
> 




More information about the Coco mailing list