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

Kevin Handy kth at srv.net
Sun Oct 17 15:33:27 EDT 2004


Ron Hudson wrote:

> 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...
>
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.

>
> Gah!
>
> _______________________________________________
> Simh mailing list
> Simh at trailing-edge.com
> http://mailman.trailing-edge.com/mailman/listinfo/simh
>




More information about the Simh mailing list