vim question: what does "converted" mean?

Andrew Cowie andrew-2KHxOkysSnqmy7d5DmSz6TlRY1/6cnIP at public.gmane.org
Tue Jul 19 04:20:00 UTC 2005


On Tue, 2005-19-07 at 00:06 -0400, Walter Dnes wrote:
>   When saving a file, I'm often seeing stuff like...
> 
> ".dosboxrc" [converted] 169L, 4972C written

The short version is it's harmless.

That's a message from vi[m]. It means the file is in a different format
than the configured default native one. In this case, the use of the
word "format" predates more modern usages that you might be thinking of
- it merely refers to the end-of-line termination.

VIM is nice enough (if so configured) to automatically handle the
newline conversions. [DOS uses \r\n, Unix \n, Mac \r].

If you do :set you'll probably see "fileformat=dos" or something like
that. Do :set  fileformat=unix you will change the file's newline
convention.


AfC
Sydney

-- 
Andrew Frederick Cowie
Managing Director

Toronto:
   (416) 848 6072

http://www.operationaldynamics.com/
Management Consultants specializing in strategy,
organizational architecture, procedures to survive
change, and performance hardening for the people
and systems behind the mission critical enterprise.

Sydney  New York  Toronto  London

--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list