[Simh] Gah! ascii don't work??!

From: Ron Hudson <ron.hudson_at_sbcglobal.net>
Date: Sun Oct 17 14:31:29 2004

On Oct 17, 2004, at 12:32 PM, Kevin Handy wrote:

> Ron Hudson wrote:
>
>> simh running rsts
>>
>> print chr$(27);"[2J"
>>
> Try
>
> print chr$(27+128);"[2J"
>
> RSTS plays odd games with the escape character (prints it as
> a dollar sign most of the time), and setting the parity bit helps.
> There are various "open" modes, and terminal settings that
> will bypass this, but this is easier.
>
>> prints
>>

Ready

10 print chr$(27+128);"[2J"
run
NEW 12:25 PM 17-Oct-84
?[2J

Ready

--------------
nope, that don't do it either. It's the same output on the terminal too.
What about +256? are they 8 bit chars? hmm no that would just be 27
again...
chr$ does a MODULO right?
Received on Sun Oct 17 2004 - 14:31:29 BST

This archive was generated by hypermail 2.3.0 : Fri Oct 10 2014 - 23:37:22 BST