in reply to Listening to I/O on serial port...

The first thing that popped into my mind was the old Cuecat code. Do a google search for "Perl Cuecat".

I'm not really a human, but I play one on earth. flash japh