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!news3.google.com!feeder3.cambriumusenet.nl!feed.tweaknews.nl!195.208.113.67.MISMATCH!goblin1!goblin3!goblin.stu.neva.ru!newsfeed.sunet.se!news01.sunet.se!2001:6b0:b:fff0::6b.MISMATCH!newsfeed.Update.UU.SE!news.Update.UU.SE!not-for-mail From: Johnny Billquist Newsgroups: comp.sys.dec Subject: Re: BASIC-Plus-2 Bug? Date: Mon, 13 Dec 2010 01:55:31 +0100 Organization: Update Computer Club Message-ID: References: NNTP-Posting-Host: 178-83-29-182.dclient.hispeed.ch Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: Iltempo.Update.UU.SE 1292201732 29852 178.83.29.182 (13 Dec 2010 00:55:32 GMT) X-Complaints-To: newsmaster@Update.UU.SE NNTP-Posting-Date: Mon, 13 Dec 2010 00:55:32 +0000 (UTC) User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 In-Reply-To: Xref: g2news1.google.com comp.sys.dec:2341 On 2010-12-09 07:33, Tony Nicholson wrote: > 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. Wow. I never knew that BP2 under RSTS/E could be made into an RTS with a KBM. Since it's an RSX product, I assumed it was still just running under the RSX RTS. How wrong I can be... :-) But obviously, in your case, using BP2 as your KBM, you do get back to BP2 after it has executed a DCL command. Johnny -- Johnny Billquist || "I'm on a bus || on a psychedelic trip email: bqt@softjar.se || Reading murder books pdp is alive! || tryin' to stay hip" - B. Idol