🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.announce
Article #367

fifo.library and FIFO: handler v38.1

#367
From: Joerg Hoehle
Date: Sat, 10 Feb 1996 22:20
90 lines
3105 bytes
[ Reposted for distribution problems.  -Dan ]

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

--
MAIL comp.sys.amiga.announce announcements to announce@cs.ucdavis.edu.
Mailing list: announce-request@cs.ucdavis.edu; Moderator: zerkle@cs.ucdavis.edu
Servers: http://seclab.cs.ucdavis.edu/~zerkle/announce, announce@cs.ucdavis.edu
Technical Details
Message-ID: <4fj5o9$aj6@mark.ucdavis.edu>
Path: arc1-ca.pugleaf.net!cs.ucdavis.edu!not-for-mail

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!cs.ucdavis.edu!not-for-mail
From: hoehle@zeus.gmd.de (Joerg Hoehle)
Newsgroups: comp.sys.amiga.announce
Subject: fifo.library and FIFO: handler v38.1
Followup-To: comp.sys.amiga.programmer
Date: 10 Feb 1996 22:20:57 GMT
Organization: none
Approved: zerkle@cs.ucdavis.edu
Message-ID: <4fj5o9$aj6@mark.ucdavis.edu>
Reply-To: hoehle@zeus.gmd.de (Joerg Hoehle)
NNTP-Posting-Host: krakatoa.cs.ucdavis.edu
X-Message-Number: 1339