difference between pty and a pipe
问题 I have been reading about ptys from this page's example: http://rachid.koucha.free.fr/tech_corner/pty_pdip.html. I have two questions: What is the difference, or the most important difference, between using a pty and using a pipe? From what I have read, both are for inter-process communication, but with a pty the process can "treat it like a normal terminal". What does that mean? What is a "controlling terminal"? I have read about them but can't understand what they really are. Is the