Hangar.La tienda de software del Amiga

StdIOHandler12

Using stdin/stdout with CLI-prgs for pipes

Short:        Using stdin/stdout with CLI-prgs for pipes
Author:       ruppert@vs3.informatik.fh-wiesbaden.de
Uploader:     ruppert vs3 informatik fh-wiesbaden de
Type:         util/cli
Architecture: m68k-amigaos

StdIO-Handler                                                    StdIO-Handler

$VER: StdIO-Handler.doc

NAME
    StdIO-Handler - Handler for StdIO access

FUNCTION
    In december 1994 I got a PIPE package and I was very supprised about the
    easy implementation of these pipes. So I used this very often with gzip
    and tar. But after some tries, to use the pipes with standard Amiga CLI
    programs, I found no trick to redirect the input and output to the pipes.
    At this point I had a idea of writing a transparent handler. Thus the
    StdIO-Handler was born, using some example code from the Device-Handler
    by Matthias Scheler and Marius Gröger (Thanks for the available code !).
    The only thing you have to do, is to copy the STDIO file to your
    Devs:DosDrivers/ directory and the handler to your L: directory.
    After this you can use it like all other devices.
    Note: If you use this handler with the pipes, you can't use tools, which
          Seek's in the files (see the appropriate pipes doc) !

    Example Mount File :

    /* Standard-IO Handler */
    Handler     = L:StdIO-Handler
    Stacksize   = 1000
    Priority    = 5
    GlobVec     = -1


EXAMPLES
    Output the current direcory in sorted order :
    List | Sort Stdio: to Stdio:

    Output all files and subdirs last modified on august 1994 :
    List ALL | search stdio: Aug-94 NONUM

    List ALL | search stdio: -s--rw-d NONUM

AUTHOR
    Stefan Ruppert
    Windthorststraße 5
    65439 Flörsheim am Main
    GERMANY
    EMail: ruppert@vs3.informatik.fh-wiesbaden.de

Gratis

Descargar 8 KB

Desde el Amiga: abre Hangar y busca StdIOHandler12.

Autorruppert@vs3.informatik.fh-wiesbaden.de
Categoríautil/cli
Tamaño8 KB
Param68k-amigaos
OrigenAminet