Subject: serial programming question
To: None <netbsd-users@netbsd.org>
From: None <mcmahill@mtl.mit.edu>
List: netbsd-users
Date: 10/24/2000 09:45:07
I have a question regarding programs which communicate with the serial
port. I have a serial device I want to control and I've written code
which provides a reasonable interface between the serial port code and the
main program. However, I'd like for my main program to be able to 'spy'
on whats going on over the serial port. Is there a way to cleanly do
this? In other words, I don't want to have to put in ugly hooks to the
serial port code to feed characters back to the main program. If the
answer is 'can't get there from here' its not a huge problem, but it would
be nice.
Thanks for any suggestions.
-Dan