🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Serial Device handling(?)

#13553
From: Darren New
Date: Thu, 08 Feb 1990 13:29
17 lines
1472 bytes
A couple of questions:
I'm trying to talk to the serial port with timeouts. One possible way of doing
this is to use three tasks: A waits on a mport, B reads the serial device
and sends lines to the mport, and C sends "ticks" to the mport. However,
I want to be able to write to the port while a read is pending (chat mode,
y'know). It seems I can do this with the console CON: device because I can 
get output from a RUN program while the CLI is prompting for more input. 
However, I don't know if AUX: will allow me to do this also. Due to technical
reasons, I cannot currently connect a terminal to my Amiga to see what is
the case experimentally, but I'm assuming it is possible since AUX: is 
supposed to supply a CON:-like facility. If all else fails, I can
go to serial.device, but I would rather write this mess in ARexx.

As an aside, does anybody know how to get a host written in ARexx and
using WAITPORT() and REPLY() to return a string instead of an
integer as the result of a command? Has anybody written a library to
allow this?    -- Darren
Technical Details
Message-ID: <10539@nigel.udel.EDU>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!wuarchive!udel!new
References: <1990Feb7.002532.15450@ug.cs.dal.ca> <19352@grebyn.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!wuarchive!udel!new
From: new@udel.edu (Darren New)
Newsgroups: comp.sys.amiga.tech
Subject: Re: Serial Device handling(?)
Message-ID: <10539@nigel.udel.EDU>
Date: 8 Feb 90 13:29:44 GMT
References: <1990Feb7.002532.15450@ug.cs.dal.ca> <19352@grebyn.com>
Sender: usenet@udel.EDU
Reply-To: new@udel.edu (Darren New)
Organization: University of Delaware
Lines: 17