[REBOL] Re: Serial and parallel ports ?
From: gjones05:mail:orion at: 24-Feb-2001 10:50
Since weekends can be a little longer to respond, I'll post a couple
excerpts from November that'll get you rolling. (I've not used this
aspect of REBOL but recalled reading about it.)
Bo wrote on 7 Nov 2000
I found out some additional info on the serial ports.
On Linux, for example, serial ports can be named in any of the following
Also, the 0 can be a higher number if you have more than one serial
REBOL cannot determine which of these is correct due to technical
which are beyond the scope of this email, so you will have to try the
1) You must be running REBOL as ROOT (or somehow change the
on the serial ports beforehand) as this is a security feature of
most multi-user systems.
2) Try setting system/ports/serial to the different naming
of your system. For example:
system/ports/serial: [ttyC0 ttyC1]
system/ports/serial: [ttyS0 ttyS1]
system/ports/serial: [cua0 cua1]
You can include as many serial ports as there are on your system
3) Open the serial port like this:
serial-port: open serial://port1/9600/8/none/1
Use the word PORT1 above (don't replace with the serial port
as it refers directly to a location in the system/ports/serial
block. You can also use PORT2 or PORT3, etc. (if applicable to
Bo wrote on 9 Nov 2000:
You need to use one of the experimental versions of REBOL found at
to use the serial:// support.
Gabriele wrote on 9 Nov 2000:
port: open/no-wait serial:// ; you may supply parameters in the url
insert port "ATZ"
print copy port
(WARNING: THE CODE ABOVE WAS NOT TESTED.)
There were some other miscellaneous messages. If you need more
immediately, try typing in serial in the search at:
where the mailing list is archived.
I couldn't find anything on parallel.