Hello, On 25-Sep-99, [EMAIL PROTECTED] wrote: > 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 found a couple versions ago that I could write to the modem (SER:) but I was having trouble getting and showing any immediate response from it (like OK<CR>). Rebol would hang up (waiting for more response?). Any luck with this? > 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> Any ideas yet on sending a short string (AT commands) and getting a response back and printed without hanging that Rebol instance? <tsb>We're Animaniacs, and we're zany to the max! At least some of us. :) Elliott
