Topic: EOL is two characters instead of one (1 of 3), Read 43 times
Conf: Converting, Translating
From: Kimberly Yelton
Date: Thursday, August 25, 2005 01:56 PM

How do I tell vedit that the EOL is actually two characters. ^C^P is the EOL, but where do I set this up?

 


Topic: Re: EOL is two characters instead of one (2 of 3), Read 37 times
Conf: Converting, Translating
From: Ted Green
Date: Thursday, August 25, 2005 03:49 PM

At 01:57 PM 8/25/2005, you wrote:
>From: "Kimberly Yelton"
>
>How do I tell vedit that the EOL is actually two characters. ^C^P is the EOL, but where do I set this up?

VEDIT allows a custom EOL character, but other than CR+LF, cannot be configured for a two-char EOL sequence. Sorry, but this is too obscure a request for us to consider.

Ted.

 


Topic: Re: EOL is two characters instead of one (3 of 3), Read 40 times
Conf: Converting, Translating
From: Christian Ziemski
Date: Thursday, August 25, 2005 04:57 PM

On Thu, 25 Aug 2005 13:56:00 -0400, Kimberly Yelton wrote:

>How do I tell vedit that the EOL is actually two characters.
>^C^P is the EOL, but where do I set this up?

I never heard about such a line format.


To be able to edit such a file comfortably (in "line" per line mode)
you could convert your file to normal Win/DOS format with CR-LF EOLs:

Replace("|H03|H10","|H0D|H0A", BEGIN+ALL+NOERR)
Config(F_F_TYPE,0,LOCAL) // set file format to DOS

Then after editing simply convert it back to your special format:

Replace("|H0D|H0A","|H03|H10", BEGIN+ALL+NOERR)


That is only a workaround (and not foolproof) but I doubt that there
is ANY editor out there which can be configured with completely custom
EOL characters.


Christian