Re: [M100] View-80 and escape codes

2023-04-05 Thread Stephen Adolph
I'll have to experiment again and see why I had an issue.  Might be the
mvt100 driver specifically.

On Wednesday, April 5, 2023, John R. Hogerhuis  wrote:

> On Wed, Apr 5, 2023 at 11:42 AM Stephen Adolph 
> wrote:
>
>> That won't work. You can try but basic filters them out.
>>
>>>

> Printing escape codes in BASIC works for me.
> This code does an escape to clear the screen and uses an escape to
> position the cursor before printing each character
>
> 10 E$=CHR$(27)
> 15 PRINTE$;"E";
> 20 FOR Y=2TO5:FORX=2TO5:GOSUB1000:PRINTCHR$(31+Y*5+X);:NEXT X:NEXT Y
> 999 END
> 1000 'P@X,Y
> 1010 PRINTE$;"Y";CHR$(Y+31);CHR$(X+31);
> 1020 RETURN
>
> As far as I know other codes should work too.
>
> Maybe we're talking about different things?
>
> [image: image.png]
>
> -- John.
>
>




Re: [M100] View-80 and escape codes

2023-04-05 Thread John R. Hogerhuis
On Wed, Apr 5, 2023 at 11:42 AM Stephen Adolph  wrote:

> That won't work. You can try but basic filters them out.
>
>>
>>>
Printing escape codes in BASIC works for me.
This code does an escape to clear the screen and uses an escape to position
the cursor before printing each character

10 E$=CHR$(27)
15 PRINTE$;"E";
20 FOR Y=2TO5:FORX=2TO5:GOSUB1000:PRINTCHR$(31+Y*5+X);:NEXT X:NEXT Y
999 END
1000 'P@X,Y
1010 PRINTE$;"Y";CHR$(Y+31);CHR$(X+31);
1020 RETURN

As far as I know other codes should work too.

Maybe we're talking about different things?

[image: image.png]

-- John.


>>>
>>>


Re: [M100] View-80 and escape codes

2023-04-05 Thread Stephen Adolph
That won't work. You can try but basic filters them out.

On Wednesday, April 5, 2023, John R. Hogerhuis  wrote:

> Huh. How about just print chr$ escapes in BASIC?
>
> -- John.
>
> On Wed, Apr 5, 2023, 6:32 AM Wayne Lorentz  wrote:
>
>> I have my termcap file on my remote machine set to send certain escape
>> codes for clearing the screen and such when I'm logged in.
>>
>> It works fine in plain vanilla Telcom — Lynx, Nano, and other programs
>> display as expected.
>>
>> Switch to View-80, and it doesn't work.  No cursor movements.  No screen
>> clearing.  No delete-to-end-of-line.
>>
>> Enable View-80's Snoopy mode, and I can see that the escape codes are
>> coming in, as View-80 helpfully displays the escape codes as custom
>> combination characters like "Ec/K" and "Ec/n"  But View-80 just doesn't
>> handle them at all.
>>
>>
>> On Apr 4, 2023, at 3:04 PM, m100-requ...@lists.bitchin100.com wrote:
>>
>> Are you sure Wayne? How did you test that?
>>
>>
>>


Re: [M100] View-80 and escape codes

2023-04-05 Thread John R. Hogerhuis
Huh. How about just print chr$ escapes in BASIC?

-- John.

On Wed, Apr 5, 2023, 6:32 AM Wayne Lorentz  wrote:

> I have my termcap file on my remote machine set to send certain escape
> codes for clearing the screen and such when I'm logged in.
>
> It works fine in plain vanilla Telcom — Lynx, Nano, and other programs
> display as expected.
>
> Switch to View-80, and it doesn't work.  No cursor movements.  No screen
> clearing.  No delete-to-end-of-line.
>
> Enable View-80's Snoopy mode, and I can see that the escape codes are
> coming in, as View-80 helpfully displays the escape codes as custom
> combination characters like "Ec/K" and "Ec/n"  But View-80 just doesn't
> handle them at all.
>
>
> On Apr 4, 2023, at 3:04 PM, m100-requ...@lists.bitchin100.com wrote:
>
> Are you sure Wayne? How did you test that?
>
>
>


Re: [M100] View-80 and escape codes

2023-04-05 Thread Wayne Lorentz
I have my termcap file on my remote machine set to send certain escape codes 
for clearing the screen and such when I'm logged in.  

It works fine in plain vanilla Telcom — Lynx, Nano, and other programs display 
as expected.

Switch to View-80, and it doesn't work.  No cursor movements.  No screen 
clearing.  No delete-to-end-of-line.  

Enable View-80's Snoopy mode, and I can see that the escape codes are coming 
in, as View-80 helpfully displays the escape codes as custom combination 
characters like "Ec/K" and "Ec/n"  But View-80 just doesn't handle them at all.


> On Apr 4, 2023, at 3:04 PM, m100-requ...@lists.bitchin100.com wrote:
> 
> Are you sure Wayne? How did you test that?