vim question: what does "converted" mean?
Lennart Sorensen
lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org
Thu Jul 21 21:03:22 UTC 2005
On Tue, Jul 19, 2005 at 02:20:00PM +1000, Andrew Cowie wrote:
> 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.
Hmm, I usually see something like [dos] if the file is in dos crnl
format, and it keeps it that way while editing it.
I have never seen [conterted] before.
Lennart Sorensen
--
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