[REBOL] Re: Schemes, handlers and COM-ports
From: petr:krenzelok:trz:cz at: 22-Jan-2004 21:19
Peter Carlsson wrote:
>Hello!
>
>I am trying to write an application that talks/listens to my modem.
>The modem is identified as an internal Conexant Intl HSFi V92 MiniPCI Modem
>on COM4 on a Compaq Evo running Windows XP Pro.
>
>Maybe it is a little special since it is not really a COM-port but an
>internal WinModem mapped to COM4.
>
>I think I have to create an instance of the serial handler but don't know
>how.
>
>I have tried:
>
> >> modem: open/lines/no-wait/direct serial://port4/9600/8/none/1
>** Access Error: Invalid port spec: port4
>** Near: modem: open/lines/no-wait/direct serial://port4/9600/8/none/1
> >>
>
>But maybe I have to define a new instance of the serial handler for com4?
>
> >> probe system/ports/serial
>[com1 com2]
>== [com1 com2]
>
->> system/ports/serial
== [com1 com2]
->> append system/ports/serial [com3 com4]
== [com1 com2 com3 com4]
-pekr-