update documentation and EOF handling from commands.