Enable input from file.
Add isatty() for each platform.