[REBOL] Re: Schemes, handlers and COM-ports
From: maillist::peter::home::se at: 23-Jan-2004 7:24
From: [petr--krenzelok--trz--cz]
To: [rebol-list--rebol--com]
Reply-To: [rebol-list--rebol--com]
Date: 22-Jan-2004/21:19:34+1:00
Subject: [REBOL] Re: Schemes, handlers and COM-ports
>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-
Thanks! I will have a look!
/Peter<