Path: utzoo!attcan!ncrcan!tim From: tim@ncrcan.Toronto.NCR.COM (Tim Nelson) Newsgroups: comp.editors Subject: VI - removing control characters Summary: remove control characters in vi Keywords: vi, control characters Message-ID: <1600@ncrcan.Toronto.NCR.COM> Date: 19 Sep 89 21:24:10 GMT Reply-To: tim@ncrcan.Toronto.NCR.COM (Tim Nelson) Organization: NCR Canada Ltd., Mississauga, Ontario Lines: 24 ola y'all, I have not been able to solve the following problem: I have files which have a visible ^M (real control M, not up-arrow M) at the end of every line. This ^M is making all my files double space when I print them. I have been able to remove the real character, from within vi, but that leaves the visible ^M; it solves the problem of double spacing, but is not quite a good solution. I want to be rid of the visible ^M. I have also attempted to use "tr", but the terminal is interpreting "^M" as a carriage control. I can't seem to escape the "^M". Anybody have any ideas? thanx & later, ================= tim (nelson) | uucp ...!uunet!attcan!ncrcan!tim ncr canada | internet tim@ncrcan.Toronto.NCR.COM (416) 826-9000 | 6865 Century Ave, Mississauga, Ontario, Canada L5N 2E2 ================= * Have a good day, and a great forever.