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

Stephen H. Fischer SFischer1 at MindSpring.com
Mon Jan 1 03:14:15 EST 2007


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

----- 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





More information about the Coco mailing list