From: Dave Thomas Date: 2001-06-21T02:32:02+09:00 Subject: [ruby-talk:16656] Re: Serial Communications Wai-Sun Chia 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