isatty() implemented