From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: 1164f8,b4695d29704a302c X-Google-NewGroupId: yes X-Google-Attributes: gidd180ab3bd8,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!goblin1!goblin3!goblin.stu.neva.ru!exi-transit.telstra.net!pit-in2.telstra.net!news.telstra.net!61.9.128.156.MISMATCH!viwinnwcl01.internal.bigpond.com!viwinnwfe02.internal.bigpond.com.POSTED!7564ea0f!not-for-mail From: Tony Nicholson User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6 MIME-Version: 1.0 Newsgroups: comp.sys.dec Subject: Re: BASIC-Plus-2 Bug? References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: Date: Thu, 09 Dec 2010 17:33:32 +1100 NNTP-Posting-Host: 121.217.28.33 X-Complaints-To: abuse@bigpond.net.au X-Trace: viwinnwfe02.internal.bigpond.com 1291876402 121.217.28.33 (Thu, 09 Dec 2010 17:33:22 EST) NNTP-Posting-Date: Thu, 09 Dec 2010 17:33:22 EST Organization: BigPond Xref: g2news1.google.com comp.sys.dec:2292 On 8/12/2010 11:44 AM, Johnny Billquist wrote: > On 2010-02-19 23:52, Tom Lake wrote: >> When I'm in the BASIC-Plus-2 environment (under RSTS/E), I try to do and >> DCL commands such as DIR but I never return to the BASIC2 prompt after >> the command is completed. Is this a bug >> or is my copy corrupted? > > Wow. Long time since this was asked, but anyway... > It might just be the way things are. BASIC+2 is a layered product. In > RSTS/E a user can only run one program at a time, and a program don't > know what it was chanined to from, so when you invoke a DCL command such > as DIR, a program is run, and it don't know that it should restart the > program BASIC+2 afterwards in that case. > > This is a difference between a layered product, like BASIC+2, and an > RTS, like BASIC+, under RSTS/E... > > Johnny > When you install BASIC-PLUS-2, a non-default installation dialog (answering NO to the "Do you want the default installation?" question) will let you select a build of the BP2 run time system. If this BASIC-PLUS-2 runtime system is subsequently made the active keyboard monitor, then DCL commands (lines you enter with a dollar sign as the first character) will pass to DCL to be executed and then return to the BASIC2 prompt. $ show runtime Run-Time Systems: Name Typ Dev Size Users Comments ...RSX TSK 0(66)K 6 Monitor, KBM DCL COM DU0: 24(8)K 0 Temp, Addr:103, DF KBM RT11 SAV DU0: 4(28)K 0 Temp, Addr:149, KBM, CSZ, EMT:255 BASIC BAC DU0: 16(16)K 0 Non-Res, KBM, CSZ TECO TEC DU0: 10(20)K 0 Non-Res, KBM BP2 DU0: 1(1)K 0 Non-Res, KBM $ switch bp2 ! the $ is the DCL prompt PDP-11 BASIC-PLUS-2 V2.7-00 BASIC2 $ dir *.txt ! must type the $ character Name .Typ Size Prot Name .Typ Size Prot SY:[11,42] RSTSE .TXT 7 < 40> Total of 7 blocks in 1 file in SY:[11,42] PDP-11 BASIC-PLUS-2 V2.7-00 BASIC2 $ ! enter $ on a line by itself to return to DCL $ ! this is the DCL prompt again I never used the interactive mode of BASIC-PLUS-2 much - preferring instead to use iterations of the text editor, compile and link commands. Tony