HP3000-L Archives

January 1996, Week 1

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Bruce Toback <[log in to unmask]>
Reply To:
Bruce Toback <[log in to unmask]>
Date:
Tue, 2 Jan 1996 08:02:45 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (46 lines)
Jeff Lindberg wrote:
>Ross Scroggs ([log in to unmask]) wrote:
[snip]
>
>Ross, I am (almost) certain that it would be do-able (I got *so* close
>when I was trying to port Zmodem code some years back) by using typeahead
>- IF ONLY - there were some mechanism to retrieve the number of characters
>in the DTC input buffer so one could issue a non-blocking read for that
>exact number of characters.
[snip]
>At least it looked good on the drawing board until I realized there was
>no way to get the number of bytes in the DTC input buffer... ;-)
 
Reading count of characters in the type-ahead buffer would be nice, but not
sufficient: that number can change between the time you get it and the time
you issue the read. If I can't get true full duplex, what I'd prefer is a
way to do a timed read with a true zero value for the timeout. The read
would return immediately with whatever characters were in the typeahead
buffer, returning the count as always. This could also be implemented with
an FDEVICECONTROL since the semantics are slightly different from a normal
terminal read.
 
Of course, the nicest would be true full-duplex: if I do a second FOPEN of
the port, I have some option that says I want a completely separate path to
the port. I'd be willing to live with the restriction that says there can
be only one of these special FOPENs in each direction for any given port,
and that they take priority over any other FOPENs.
 
-- Bruce
 
>| "Any technology, sufficiently      || "Any technology, sufficiently       |
>|  advanced, is indistinguishable    ||  advanced, is indistinguishable     |
>|  from magic."  -- Arthur C. Clarke ||  from a household appliance." -- me |
 
Or my favorite, "Any technology, sufficiently advanced, is
indistinguishable from a rigged demo."
 
-- B
 
---------------------------------------------------------------------------
Bruce Toback    Tel: (602) 996-8601| My candle burns at both ends;
OPT, Inc.            (800) 858-4507| It will not last the night;
11801 N. Tatum Blvd. Ste. 142      | But ah, my foes, and oh, my friends -
Phoenix AZ 85028                   | It gives a lovely light.
[log in to unmask]                 |     -- Edna St. Vincent Millay

ATOM RSS1 RSS2