Treat ^D as EOF