hide random home http://www.cucug.org/ar/ar402_Sections/news2.HTML (Amiga Plus Extra No. 5/97, 05/1997)

fifolib


TITLE

    fifolib -- fifo.library and dos handler

VERSION

    38.1 (10.12.95)

AUTHOR

Chronologically:
Matthew Dillon  up to version 37.4
David Varley    37.5
Hans Verkuil    38.0
J"org H"ohle    38.1

Address:  J"org H"ohle
          Steinacker 44
          53229 Bonn
          Germany

    Internet: Joerg.Hoehle@gmd.de
    Phone:      +49 228 431235

DESCRIPTION

FIFO: is like PIPE: but is based on fifo.library rather than its own
implementation.  Fifo.library is a general fifo library implementation that
supports named fifos, writing to a fifo from a hardware exception, multiple
readers on a fifo with each getting the same data stream, efficient
reading, and automatic or manual flow control.  Programs that require
non-blocking IO can access one side of a FIFO: connection via the
fifo.library instead of the FIFO: handler.

Includes source.

Now programmers of getty, telnetd, remote shells etc.: stop writing custom
DOS handlers and use fifo.library and FIFO: instead, you'll get all the
benefits of a common handler.  Emacs, AUUCP and other programs already use
it.

FIFO source might be of interest to programmers, topics include:
  o interactive DOS handler, CON/AUX: like
  o library creation, even with GCC+Libnix yet 1.3 compatible
  o deep use of GCC inlines and GCC-specific optimizations
  o usage of PA_SOFTINT port arrival action
  o usage of SIGB_SINGLE signal bit

EXAMPLES

    NewShell FIFO:shell1/rwkecs
    Run >NIL: RemCLI shell1
    Run >NIL: Type FIFO:shell1/rmt TO CON:0/11/500/150/Tee_output

NEW FEATURES

  o corrected ACTION_WAIT_CHAR (with timeout).
  o corrected ACTION_SCREEN_MODE.
  o recognizes CONSOLE:
  o ACTION_CHANGE_SIGNAL, ACTION_IS_FILESYSTEM, ACTION_SEEK.
  o many error checks and error return codes.

SPECIAL REQUIREMENTS

  OS 1.3 is still supported (untested).

AVAILABILITY

  Aminet:    util/misc/fifolib38_1.lha, for example at
  ftp://ftp.uni-paderborn.de/pub/aminet/util/misc/fifolib38_1.lha

  Hopefully soon part of Fred Fish's upcoming ADE:
  ftp://ftp.amigalib.com/pub/amiga/ade/.../fifolib-38.1-(src|bin).lha

DISTRIBUTABILITY

  Placed in the Public Domain by Matthew Dillon
  Left there for the benefit of all.

     Joerg Hoehle.
Joerg.Hoehle@gmd.de            hoehle@zeus.gmd.de
Author of Amiga-CLISP, a Common Lisp implementation

[Contents]

Amiga Report Main Page | Amiga Web Directory

HTML Conversion by AG2HTML.pl V2.951201, perl $RCSfile: perl.c,v $$Revision: 4.0.1.8 $$Date: 1993/02/05 19:39:30 $ Patch level: 36 & witbrock@cs.cmu.edu