fixed name in comment
determine if STDIN is a terminal for appropriate user information
typo