- * Okay, what's going on here?
- *
- * We want to send the EOF character (to simulate a "end of file",
- * as if we redirected stdin to /dev/null). We can't just close
- * master, because we won't be able to get any data back. So,
- * after we get SOME data, set sendeof, and that will cause us to
- * send the EOF character after the first select call. If we are
- * doing sendeof, set the timeout to 1 second; otherwise, set the
- * timeout to COMMAND_TIMEOUT seconds remaining.
+ * After we get our first bit of data, close the master pty
+ * connected to standard input on our slave; that will generate
+ * an EOF.