Wai-Sun Chia <waisun.chia / msa.dec.com> writes:

> 1. How do I set up the serial port to communicate with another serial 
> devices? i.e. baudrate, parity, etc.

What operating system are you using?


> 2. I noticed that the IO class can only do canonical processing (i.e. by 
> line). How about non-canonical (raw-mode)?

You can also do raw reads (IO#read, IO#getc etc)

> I'd really hate to go back to 'C' after discovering the joys of 
> Ruby..ugh. :-/

Even if you had to (and I don't think you do in this case), you could
simply write the low level interface in C and the rest in
Ruby. Interfacing C to Ruby is very simple.


Dave