----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, September 25, 1999 1:20 AM
Subject: [REBOL] Re: Fwd: I'm looking for help. Re:(3)


> 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...)  ;-)

But then how to configure the ports, and read from them,, and accept windoze
msgs that something has arrived at the port, etc...

Kat

Reply via email to