Topic: continuation character can't be changed (1 of 7), Read 20 times
Conf: Installation, Configuration
From: Manfred Marten
Date: Thursday, March 17, 2005 11:47 AM

- If I try to change the configuration character to something more useful than 173, a completely different character (than in Misc:ASCII table, alt-m-a) is displayed.
- for example: change 173 to 149 and look what happens. The same with 129 / 172. 65 "works" (="A"), but is not useful. I'm using the VEDIT ANSI font (alt-v-n). If I change the font to another one (isi_132 from NetTerm, a Telnet-Client), this character immediately changes, but again to another character than is displayed in alt-m-a.
--> I will use 127 now, (discovered in this very moment, see below), one of the few characters that works and is very distinguishable, but 149 could be even nicer.
--> It would be very nice if the font chosen in alt-v-n, the display in alt-m-a and the chosen S_CONT_C would match.
- (if you fiddle between an opened file with long wrapping lines (alt-c-d, Horiz. scroll margin = 1) and a command window, changing the Config(S_CONT_C,149) permanently and switching back to the 1st window, /, you will see that the displayed continuation characters very often repeat to already seen ones, as if this S_CONT_C would be "high-bit-stripped" or something???)

kind regards

M. Marten
[ VEDIT Pro 64-Bit, V6.13.1 01/25/05, W2K SP4]

 


Topic: Re: continuation character can't be changed (2 of 7), Read 18 times
Conf: Installation, Configuration
From: Christian Ziemski
Date: Thursday, March 17, 2005 03:14 PM

On Thu, 17 Mar 2005 11:47:00 -0500, Manfred Marten wrote:

>- If I try to change the configuration character to something more
>useful than 173, a completely different character (than in Misc:ASCII
>table, alt-m-a) is displayed.

It seems that if you use a character greater than 128 the high-bit is
stripped and the 7 bit character is displayed.

And with the original 173 that isn't obvious since the
hyphen(45=173-128) looks nearly identical to the "fat" hyphen of 173.


Christian

 


Topic: Re: continuation character can't be changed (3 of 7), Read 20 times
Conf: Installation, Configuration
From: Ian Binnie
Date: Thursday, March 17, 2005 07:08 PM

On 3/17/2005 3:14:05 PM, Christian Ziemski wrote:
>On Thu, 17 Mar 2005 11:47:00 -0500,
>Manfred Marten wrote:
>
>>- If I try to change the configuration character to something more
>>useful than 173, a completely different character (than in Misc:ASCII
>>table, alt-m-a) is displayed.
>
>It seems that if you use a character
>greater than 128 the high-bit is
>stripped and the 7 bit character is
>displayed.
>
>And with the original 173 that isn't
>obvious since the
>hyphen(45=173-128) looks nearly
>identical to the "fat" hyphen of 173.
>

I have been using 164 for years without trouble.

Check the setting for "Screen display mode".

At one stage I had this set to ANSI/OEM (not sure why - inherited from some ancient setup) and this caused all sorts of problems.

 


Topic: Re: continuation character can't be changed (4 of 7), Read 22 times
Conf: Installation, Configuration
From: Christian Ziemski
Date: Friday, March 18, 2005 02:07 AM

On 3/17/2005 7:08:22 PM, Ian Binnie wrote:
>
>I have been using 164 for years without trouble.
>
>Check the setting for "Screen display mode".
>
>At one stage I had this set to ANSI/OEM (not sure why - inherited from some
>ancient setup) and this caused all sorts of problems.

It's set to "0" here "ASCII-0 (normal)".
And the continuation character #164 displays as "$" (#36).

I tried it on two different VEDIT installations.
... On three: Even on a fresh installation without any modifications only the 7-bit character is displayed.

Christian

 


Topic: Re: continuation character can't be changed (5 of 7), Read 24 times
Conf: Installation, Configuration
From: Manfred Marten
Date: Friday, March 18, 2005 07:31 AM

- screen display mode is '0' here too
- 164-128=36 =$ (I have white text on blue background, but this $ is black on white background! 127 on the contrary matches my color settings)
- Ian, could you please post your vedit.cfg, then I will compare it with mine (with VMerge). Thank you.

Manfred

 


Topic: Re: continuation character can't be changed (7 of 7), Read 27 times
Conf: Installation, Configuration
From: Ian Binnie
Date: Friday, March 18, 2005 06:46 PM

On 3/18/2005 7:31:58 AM, Manfred Marten wrote:
>- screen display mode is '0'
>here too
- 164-128=36 =$ (I
>have white text on blue
>background, but this $ is
>black on white background! 127
>on the contrary matches my
>color settings)
- Ian, could
>you please post your
>vedit.cfg, then I will compare
>it with mine (with VMerge).
>Thank you.

Manfred

By now you will have read Ted's comment.
I confused the character with
Config( D_W_NEWL_D_C, "Newline display character (0=Auto, 1 - 255)", 164 )
My Screen continuation character is the default.
Config( S_CONT_C, "Screen continuation character", 173 )

I missed this because it isn't in the Config menu.

Actually I haven't seen this character for years.
Since Ted introduced the "Display lines with word wrap" I use this all the time.

 


Topic: Re: continuation character can't be changed (6 of 7), Read 19 times
Conf: Installation, Configuration
From: Ted Green
Date: Friday, March 18, 2005 11:20 AM

At 11:48 AM 3/17/2005, you wrote:
>- If I try to change the configuration character to something more useful than 173, a completely different character (than in Misc:ASCII table, alt-m-a) is displayed.

When {CONFIG, Horizontal scroll margin} is set, lines longer than this margin will be wrapped to multiple screen lines, and the wrapped lines will be preceded with a "continuation" characters, typically a highlighted "-".

The (rarely changed) line continuation character can be changed only with a Config() command, e.g. by editing this line tin the vedit.cfg file:

Config( S_CONT_C, "Screen continuation character", 173 )

As has been observed, the default "173" is actually 0x80 + '-'. The 8th bit is not part of the character, but is actually a flag indicating whether this character should be highlighted. The highlight attribute is set by:

Config( C_STAT, "Color for status line", 112 )

This is a "DOS version" color in that it does not affect the color of the Windows version status line. However, it also sets the color the continuation character in both the DOS and Windows versions.

If you are editing with black on white characters, you will want to change this color to something other than 112. Use {Config, Editing colors} to see a color chart with decimal values.

Therefore, although you are limited to 7-bit characters, by combining this with an appropriate color, you can have a continuation character that stands out and is never confused with the actual file characters.

I am sorry this was never well documented and is so complex. It is a vestige from the early 1980's; I should probably fix/simply this.

Ted.


Ted.
-------------------------------------------------------------------------
Ted Green (ted@...) Greenview Data, Inc.
Web: www.... Fax: 734-996-1308 PO Box 1586, Ann Arbor, MI 48106
Tel: (734) 996-1300 Desk: 734-369-3550 VEDIT - Text/Data/Binary Editor
-------------------------------------------------------------------------
www.SpamStopsHere.com ranked #1 in accuracy by Network Computing Magazine