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

From: Kevin Handy <kth_at_srv.net>
Date: Sun Oct 17 14:33:27 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
>
Received on Sun Oct 17 2004 - 14:33:27 BST

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