🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.dec
Article #4721

Re: PDP-11 ESCape Problems with RSTS/E

#4721
From: Jeff Siegal
Date: Fri, 18 Sep 1987 05:36
24 lines
1403 bytes
In article <1158@bsu-cs.UUCP> mithomas@bsu-cs.UUCP (Michael Thomas Niehaus) writes:
>
>I have been having problems with a BASIC-PLUS program on a PDP-11 running
>RSTS/E Version 7.  I have been trying to output an ESC code (ASCII 27) to
>the terminal to begin an escape code to place the VT100 into the DEC Spec-
>ial Graphics character set.  However, the wonderful RSTS/E operating system
>converts all ESC characters (as far as I can tell) to '$', which do me very
>little good.

You have two options:

1) Use binary mode output:

	PRINT, RECORD 4096%, CHR$(27%) + "...";

2) Add 128 to any ascii control characters you want to protect from
standard RSTS/E character processing:

	PRINT CHR$(155%) + "...";

RSTS/E will strip out the high bit, but not outerwise alter the
character.

Jeff Siegal
Technical Details
Message-ID: <6918@eddie.MIT.EDU>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!seismo!husc6!mit-eddie!jbs
References: <1158@bsu-cs.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!seismo!husc6!mit-eddie!jbs
From: jbs@eddie.MIT.EDU (Jeff Siegal)
Newsgroups: comp.sys.dec
Subject: Re: PDP-11 ESCape Problems with RSTS/E
Message-ID: <6918@eddie.MIT.EDU>
Date: Fri, 18-Sep-87 01:36:08 EDT
Article-I.D.: eddie.6918
Posted: Fri Sep 18 01:36:08 1987
Date-Received: Sat, 19-Sep-87 18:42:50 EDT
References: <1158@bsu-cs.UUCP>
Reply-To: jbs@eddie.MIT.EDU (Jeff Siegal)
Organization: MIT, EE/CS Computer Facilities, Cambridge, MA
Lines: 24
Keywords: PDP-11, RSTS/E, BASIC-PLUS