On Sat, 27 Sep 2008, Peter da Silva wrote:

> On 2008-09-26, at 09:28, David Mackintosh wrote:
> > So logrotate barfs on it every night and it isn't immediately obvious
> > as to why, because when you bring it up in vi it looks right, even
> > though it isn't.
> 
> That's a reason to hate vim, or whatever obnoxious imitation vi you're 
> using. If you REALLY brought it up in vi you'd see those ^Ms at the 
> end of every line, and it *would* be immediately obvious.

Vim, at least with the .vimrc I use, says [dos] or [unix] or [mac] right 
in the bottom-row status bar, too. 

I'm not actually sure what option enabled it -- some inscrutable two 
letter code, apparently -- but it has worked for years now.


-- 
Chris Devers

Reply via email to