Hello [EMAIL PROTECTED] and everyone else watching this thread...

On 24-Sep-99, [EMAIL PROTECTED] wrote:
r> I looked for a way to interface to a serial (com) port on the Intel version
r> of Rebol, but no such mechanism seems present; I was able to accomplish
r> this in a round-about manner by using a TCP/IP-to-serial translation
r> server. This works, but is somewhat convoluted!

At first thought, you might want to see if you can try writing to the
com port just like a file.  f.ex write/binary %/com1/a <data>
I don't know if that would work on Winblows or Unix machines, but it
does on my Amiga.  (But then the Amiga treats all devices (both
physical and logical) like drives.)

I would be interested in seeing if it works.  (I tested it with these
two lines:
    write %/par00/a "This is a test"
    write %/prt/a "This is a test"
Where 'par00' is one of my parallel ports (IOBlix board to those
Amigans who never heard of 'par00'...)  And 'prt' is the printer
driver.  I got two pages from my printer, both with 'This is a test'
on the top of the pages.

Because the target device in question for the application is a serial
port, I suggested the write/binary because most of what you would want
to send to a process control would be binary strings.  (I think, but I
might be wrong there...)  ;-)

I would be interested in hearing how well this works on other
platforms.  <GRATUITOUS PLUG> (If not at all, then I know there are
some new A1200s for sale, sourced through Germany...) </GRATUITOUS
PLUG>  ;-P

Pax
-- 
     Member: Team AMIGA                       --} WatchDog
Fingerprint: 2C 8A 03 3C D6 D3 32 7F         (Chris Elliott)
             66 0F 9B 9F 03 77 1D 85      PGP Key ID: A6A79259
<tsb>We're Animaniacs, and we're zany to the max!

Reply via email to