Maarten: Should can add your ports to a block. I do this often. ... waitports: [port1 port2 port3]
forever [ if now-port = port1 [do something] if now-port = port2 [do something else] if now-port = port3 [print something] now-port: wait waitports ] Paul Tretter ----- Original Message ----- From: "Allen Kamp" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, August 11, 2002 5:35 AM Subject: [REBOL] Re: Console port and network ports > > ----- Original Message ----- > From: "maarten koopmans" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Sunday, August 11, 2002 5:19 PM > Subject: [REBOL] Console port and network ports > > > > Hi, > > > > Is there a way to add a network port and a console port in one wait/all > > block? So I can process network events and console events, and once I > > have a complete "line" from the console do something with it. > > > > (other than using system/ports/wait-list). > > > > And how do I capture the control characters in /Core (up tab down etc.) > > Hi Maarten, > > Not sure if this helps with the second question or not.. > http://www.rebolforces.com/articles/console.html > > Cheers, > > Allen > > > > -- > To unsubscribe from this list, please send an email to > [EMAIL PROTECTED] with "unsubscribe" in the > subject, without the quotes. > -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.