A quick & dirty port of Gerhard Mueller's bla-handler program
(http://aminet.net/package/util/cli/BlaDevice10).
Installation:
1. copy bla-handler to L:
2. copy BLA to DEVS:DOSDrivers or SYS:Storage/DOSDrivers
If you copied the BLA file to Storage then you will have to mount the device
manually by entering "mount bla:" on the command line.
--- original readme ---
NAME
BlaDevice - small device that simulates the output of a file
as a file
SYNOPSIS
"Bla:<CLI-command with parameters>"
DESCRIPTION
BlaDevice is a small device that simulates the output of a program
as a true file.
Examples:
type "bla:dir ram:"
sort "bla: list ram: dirs lformat %N" to ram:y
If you want to use arguements with '"', you can use *", e.g.:
sort "bla:list ram: dirs lformat *"(DIR) %N*"" to ram:y
Bla-device executes the given command asyncronly with the
given parameters. The output of the command is linked to
PIPE:<unique name>. This file is used to satisfy the read
commands of the program that uses BLA:.
If the using command closes the file before all data is read,
BLA reads as much as it can read before it closeses the
PIPE:<unique name> file.
The following AmigaDos packets are supported:
ACTION_FINDOUTPUT
ACTION_FINDUPDATE
ACTION_READ
ACTION_END
ACTION_DIE
USAGE
"Bla:<CLI-command with parameters>"
BUGS
none known (yet)
VERSION
1.0 - initial release
COPYRIGHT
BLA-device is full PD. You can do with it what you want. Bla
device is "as is", THERE IS NO WARRANTY AT ALL. etc. etc.
BACKGROUND
BLA device was written mainly because the Amiga shell has no
real piping. With BLA a lot of tempory files can be made
obsolete, and the length of the temporary file is not limited.
AUTHOR Gerhard Müller (internet: muellerg()informatik.tu-muenchen.de
Fido : Gerhard Mueller () 2:2480/3508.38
Z-Netz : GANDALF()AMC.ZER)
Klarweinstr. 32
81247 München
GERMANY
| |