vile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vile] How to stop vile thinking .ini files are CRLF terminated?


From: Thomas Dickey
Subject: Re: [vile] How to stop vile thinking .ini files are CRLF terminated?
Date: Thu, 20 Sep 2007 19:59:16 -0400 (EDT)

On Thu, 20 Sep 2007, Chris G wrote:

On Thu, Sep 20, 2007 at 11:15:48AM -0400, Thomas Dickey wrote:
On Thu, 20 Sep 2007, Chris G wrote:

The subject line says it all really.

I have a few files called xxxxxx.ini which vile assumes are CRLF
terminated when they're not.

One in particular, .ccm.ini, which is the Continuus CM system
configuration gets totally broken if you edit it with vile and get
CRLFs added.

So how do I tell vile not to add CRLFs?

It's coming from the majomode definition for "inimode", which assumes that
means the same as Windows ".ini" files.  You can override that by doing

define-submode ini nodos

e.g., in your .vilerc

I thought it must be Windows .ini files being assumed.

However adding "define-submode ini nodos" to my .vilerc doesn't help,
I still get [inimode crlf] at the bottom.  I've also tried saying
"define-submode ini nodos" at the command prompt and that does nothing
either.

sorry - this should work (by removing the "setl" for the dos-mode):

        remove-submode ini dos

Most of the submodes are evaluated later in the process...

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net




reply via email to

[Prev in Thread] Current Thread [Next in Thread]