Monday, I posted a question relating to the following:
I'm trying to use stty to set the values of a terminal that I then
want to open with an application I've written.
I "stty blablabla < /dev/tty00" and when I then look at it with
"stty -a < /dev/tty00", it's values are as they were before my first
Several people have told me that this is the way it's supposed
to work. As I now understand it, the stty opens the port and sets
it's values, but closes the port, undoing the changes, when it
I've looked at the man page for stty, and I just don't get it.
Is there a way to set a port's values, then open that port in
an app while preserving those values, and set additional values
I've been contracted to do a small project. I would like the
user to change the com port values without setting entries for
tcsetattr, and then recompiling. My client wants this program to
be portable between Solaris to DOS, and I want to minimize the
volume of code in conditional compile clauses.