isEOF should only trigger is !isInteractive