end of file and end of line support