set end-of-line handling