Gah! ascii don't work??!

Ron Hudson ron.hudson at sbcglobal.net
Sun Oct 17 14:35:08 CDT 2004


On Oct 17, 2004, at 12:14 PM, Stan Barr wrote:

> Hi,
>
> Ron Hudson said:
>
>> simh running rsts
>>
>> print chr$(27);"[2J"
>>
>> prints
>>
>> $[2J
>>
>> not clear the screen.   VT100 sequence is ESC[2J as well as ansi
>> sequence! It does the same thing on the direct-serial-connected vt100
>> emulating HP terminal...
>>
>
> Basic grabs the ESC...
> I think you need to do
> print chr$(155%);"[2J"

This is the same as the last suggestion chr$(27+128)... and prints ?[2J

I wonder if I need to "wake up" the terminal with some other escape 
sequence
first????


>
> That's from memory...I don't have the fake PDP-11 switched on ATM.
>
> -- 
> Cheers,
> Stan Barr  stanb at dial.pipex.com
>
> The future was never like this!
>
>




More information about the cctalk mailing list