* Use separate variables for stdin and stdout file descriptors * Do not set stdout to raw mode when output is not a TTY