Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* BASIC-Plus-2 Bug?
@ 2010-02-19 22:52 Tom Lake
  2010-12-08  0:44 ` Johnny Billquist
  0 siblings, 1 reply; 4+ messages in thread
From: Tom Lake @ 2010-02-19 22:52 UTC (permalink / raw)


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?

Tom Lake 


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: BASIC-Plus-2 Bug?
  2010-02-19 22:52 BASIC-Plus-2 Bug? Tom Lake
@ 2010-12-08  0:44 ` Johnny Billquist
  2010-12-09  6:33   ` Tony Nicholson
  0 siblings, 1 reply; 4+ messages in thread
From: Johnny Billquist @ 2010-12-08  0:44 UTC (permalink / raw)


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

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: BASIC-Plus-2 Bug?
  2010-12-08  0:44 ` Johnny Billquist
@ 2010-12-09  6:33   ` Tony Nicholson
  2010-12-13  0:55     ` Johnny Billquist
  0 siblings, 1 reply; 4+ messages in thread
From: Tony Nicholson @ 2010-12-09  6:33 UTC (permalink / raw)


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: BASIC-Plus-2 Bug?
  2010-12-09  6:33   ` Tony Nicholson
@ 2010-12-13  0:55     ` Johnny Billquist
  0 siblings, 0 replies; 4+ messages in thread
From: Johnny Billquist @ 2010-12-13  0:55 UTC (permalink / raw)


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-12-13  0:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-19 22:52 BASIC-Plus-2 Bug? Tom Lake
2010-12-08  0:44 ` Johnny Billquist
2010-12-09  6:33   ` Tony Nicholson
2010-12-13  0:55     ` Johnny Billquist

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox