Path: utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!cornell!rochester!udel!mmdf
From: gay%elde.epfl.ch@cunyvm.cuny.edu (David Gay)
Newsgroups: comp.sys.amiga
Subject: Re: Devices in general
Message-ID: <5816@louie.udel.EDU>
Date: 5 Dec 88 18:28:09 GMT
Sender: mmdf@udel.EDU
Lines: 42

In article <3046@sugar.uu.net>, peter@sugar.uu.net (Peter da Silva) writes:
>In article <1086@teorix.liu.se>, dat01@teorix.liu.se (Dat) writes:
>> What I would like to do is use the devices as some kind of pipes.
>
>Better would be some real pipes and better tools. Some things make sense
>as devices, and some things make more sense as tools. Relatively large
>programs like arc and zoo fit into the latter category.
>
>I want a good korn shell for the Amiga. csh is a crummy programming language.
>
>>    saveas CRYPT:ZOO:MSDOS:file
>
>crypt file | zoo create MSDOS:file.zoo input "file"

Yes, but you can't do this from your favourite editor(or whatever) ... I
routinely use the capture mode of VT100 to download text files from which I
must remove some nuls added along the way. It's very convenient to be able to:

In VT100 : Capture -> pipe:file
In the CLI : run nonul df1:save

Thus avoiding the use of a temporary file.

>for i in `arc t MSDOS:file.arc`
>do
>    arc p MSDOS:file.arc $i >PIPE:file &
>        zoo -add DH0:file.zoo PIPE:file
>done
>
>I routinely do stuff like this in UNIX. It's a pity the Amiga pipe
>devices don't work quite right for this application.

You can always use WShell (for the pipes). I haven't actually tried this yet
because my Amiga isn't working :-( (I recently got WShell & AREXX).
>--
>            Peter da Silva  `-_-'  peter@sugar.uu.net
>             Have you hugged  U  your wolf today?
>
>              Disclaimer: My typos are my own damn busines#!rne

David Gay
GAY@ELDE.EPFL.CH, or GAY%ELDE.EPFL.CH@CLSEPF51.bitnet