What version of nvi/vim is this? A co-admin on a server insints on ftping config files back and forth between the server and his windows box where he edits the files in notepad. So all the config files have the ^M disease and opening and saving in nvi or vim does not remove the ^Ms.