The suject says the question.
Thanks for any information.
Electricite de France
"Advanced Programming in the Unix Environment" by Stevens covers termios
There's also "Unix Network Programming" by Stevens that implements ptty
functionality among its programming examples.
The CRT Corporation
Computer Based Research and Training
I use xterm -S for input/output from my process and I was
finally able to set it all, so that it seems to work but
I still have some problems with termios settings:
1. output looks like :
if I set c_iflag = INLCR, it doesn't go to a next line, if ICRNL
it doesn't go to the leftmost position, as in example above.
2. input doesn't echoed to a screen, but when I set
c_lflag = ISIG | ICANON | ECHO I get VERY weird results -
fgets() reads what was previously written (with fputs()) on
what the heck is going on?
BTW, is there any guide or something for that staff, couldn't
find anything on the net.