🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #12952

Re: I wanna have a DOSGate!

#12952
From: Blair MacIntyre
Date: Thu, 01 Jun 1989 13:36
30 lines
1907 bytes
In article <16317@gryphon.COM> ddave@pnet02.cts.com (David Donley) writes:
>peter@sugar.hackercorp.com (Peter da Silva) writes:
>>In article <1989May28.171344.4525@ziebmef.uucp>, mcp@ziebmef.uucp (Marc Plumb) writes:
>>> In article <16031@gryphon.COM> ddave@pnet02.cts.com (David Donley) writes:
>>> >How can I fake normal standard programs into sending their stdio into
>>> >my BBS code?
>>> Write a DOS handler.
>>What's wrong with using a PIPE: type of device?
>I can't use a pipe, the BBS must handle many events, it can't just wait for
>data to come from a file.


Well being as this is a multitasking computer ( you remember, we brag about
it all the time! ) why not write a little program that reads a file and
sends the appropriate message ( whatever that is ) to your BBS.

Then, you just redirect your output to a pipe: and read the pipe: with
that program.  I'm assuming that you know what kind of messages it is
you want to send, so this should be trivial ...

A DOS handler seems a bit extreme in this case.  I'm personally into the
"use existing tools" mentality that Peter ( I assume ) is into too, judging 
by his suggestion to use a pipe:

Blair
-- 
= Blair MacIntyre, bmacintyre@watcgl.{waterloo.edu, UWaterloo.ca}          // =
=   now appearing at the Computer Graphics Lab, U of Waterloo!           \X/  =
= "There's nothing the matter with BR that a shot gun blast wouldn't fix" cge =
= "It's not my fault, fatboy!" - Felder, pilot of TL Student Driver On Board  =
Technical Details
Message-ID: <10018@watcgl.waterloo.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!watcgl!bmacintyre
References: <16317@gryphon.COM>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!watcgl!bmacintyre
From: bmacintyre@watcgl.waterloo.edu (Blair MacIntyre)
Newsgroups: comp.sys.amiga.tech
Subject: Re: I wanna have a DOSGate!
Message-ID: <10018@watcgl.waterloo.edu>
Date: 1 Jun 89 13:36:59 GMT
References: <16317@gryphon.COM>
Reply-To: bmacintyre@watcgl.waterloo.edu (Blair MacIntyre)
Organization: UofW Computer Graphics Lab
Lines: 30