[lug] Newline display in vi or more
hugh at math.byu.edu
Tue Jan 18 12:26:29 MST 2000
I have noticed that vim seems to put a tag at the bottom of the screen
saying [dos mode] when the infernal ^M shows up, I typically tell it to
go to unix mode, which is something like `unset dos` or set mode=unix or
something similar. I went looking for a config file to tell it not to
do dos mode, but I didn't find anything quickly and it wasn't that
Wayde Allen wrote:
> On 15 Jan 2000, Tkil wrote:
> > (2) you can detect "hidden characters" with any competent text editor
> > (i know that emacs/xemacs will display unprintable characters, i
> > presume vi/vim/nvi/etc do the same one way or another).
> One thing I've noticed recently is that the vi and more programs on my
> Debian box seem to ignore the ^M character added by DOS/Windows programs.
> I find this to be troublesome since I often have to convert ascii files
> between the DOS/Windows and Unix representations. The conversion is easy
> to do, but it helps if you can see if the conversion is needed.
> Maybe there is a way to force these programs to show the non-printing
> characters ... ?
> - Wayde
> (wallen at boulder.nist.gov)
> Web Page: http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
More information about the LUG