[ILUG] Bash question - serial port

newboid at vodafone.ie newboid at vodafone.ie
Fri Feb 25 12:49:28 GMT 2005


Hi,

I am quite new to linux and I was wondering if there is a way to get a string 
from a serial port from the shell?

I have tried using:

cat < /dev/ttyS0

and I can see the string from the  serial port, but I don't seen to see a 
way of  terminating the cat command to get at the data.

I looked at C and it seems a bit complex for what I want to do.

cheers.

steve


I'm using Vodafone Mail - to get your free mobile email account go to http://www.vodafone.ie
Use of Vodafone Mail is subject to Terms and Conditions  http://www.vodafone.ie/terms/website





More information about the ILUG mailing list