I've been using nano, or as I like to call it, "Mork's editor," for a number of years when I've needed (or wanted) to do text editing in a CLI environment under Linux and I've never had a bit of trouble with it, even with line endings. You just have to remember that in some places, such as /etc/fstab, you need to make sure there's a /n at the end of every line, including the last one. Of course, my bashrc includes alias nano='nano -w -m' which may well explain why I've had such good luck with it.