开云体育


HELP & FSHELP

 

开云体育

Gentles,

OK, having looked at this I can now see why things work the way they do and I am not sure how to fix things!

So the format of the “EDIT” command is:-

?

“HELP command <topic> (BRIEF|ALL|MORE”

?

This allows there to be multiple help files with the same name for different environments. ?So for example “CHANGE” exists as both an EDIT and a CP command.

?

HELP CHANGE

?

Produces the CP help,

?

HELP EDIT CHANGE

?

Produces the help for the EDIT change command.

?

FSHELP does not have the <topic> argument so whilst it lists the “CHANGE” command as an EDIT sub-topic when you do FSHELP, it cannot display this file.

FSHELP CHANGE EDIT produces help for the CP CHANGE command, FSHELP EDIT CHANGE just gives the general EDIT help.

?

I believe FSEDIT is set up this way so that the F2 navigate to another command works. It simply looks for “FSHELP <word> and a proper fix would need FSHELP to know which environment its working with.

?

I guess a temporary fix is to my hack is to amend EDIT so when it calls FSEHLP it only passes the “<topic>” if two arguments are passed?

Also add a (NOSCREEN option to allow the “hidden” topics to be displayed?

?

Dave

?

?


Re: Additional Help Files

 

On Tue, Jan 25, 2022 at 02:48 AM, Dave Wade wrote:
Just double up the double quotes.
Indeed, that worked. I entered ""Hello World"" in the interactive session.

type hello basic a
?
0010 REM HELLO WORLD EXAMPLE
0020 PRINT "Hello World"
0030 END
?
Ready; T=0.01/0.01 17:50:30
bwbasic
?Bywater BASIC Interpreter/Shell, version 2.50
?Copyright (c) 1993, Ted A. Campbell
?Copyright (c) 1995-1997, Jon B. Volkoff
?
OPEN ERROR CODE '04' ON 'PDP000HD'.
0010 REM HELLO WORLD EXAMPLE
0020 PRINT "Hello World"
0030 END
list
bwBASIC: bwBASIC: bwBASIC: bwBASIC:????? 10: REM HELLO WORLD EXAMPLE
???? 20: PRINT "HELLO WORLD"
???? 30: END
run
bwBASIC: HELLO WORLD
end
quit
bwBASIC: bwBASIC:
Ready; T=0.07/0.10 17:51:15

?... Mark S.


Re: Additional Help Files

 

On Tue, Jan 25, 2022 at 01:49 AM, Mark L. Gaubatz wrote:
Questions. What are the TERMINAL settings? Is the double-quote in use? If so, that explains the disappearance…
Mark,

Thanks for the questions. I didn't think to check QUERY TERMINAL. This is the result. As you can see quote (") is in use.

q terminal
LINEND? # , LINEDEL? ? , CHARDEL? @ , ESCAPE? " , TABCHAR ON
LINESIZE 080, ATTN OFF, APL OFF, TEXT OFF, MODE VM, HILIGHT OFF
AUTOCR OFF, MORE 050 010, HOLD ON , TIMESTAMP OFF
Ready; T=0.01/0.01 19:34:24

?... Mark S.


Re: Additional Help Files

 

开云体育

Mark,

I feel its a pretty poor port. I don’t think its been tested properly. The open error code is because its opening a file, we don’t get the name because of the hacks to get PDPCLIB working. Perhaps the PDPCLIB run time needs fixing.

Just double up the double quotes.

Dave

?

?

From: [email protected] <[email protected]> On Behalf Of Mark A. Stevens via groups.io
Sent: 25 January 2022 03:25
To: [email protected]
Subject: Re: [h390-vm] Additional Help Files

?

On Mon, Jan 24, 2022 at 09:14 PM, Mark A. Stevens wrote:

Part of trying to tidy things up, I am trying to test the commands. I'm having a problem running a simple BASIC program with BWBASIC.

Interactive mode seems a bit dodgy. I can use apostrophes (')? for print statements, but it doesn't execute. Use of quotes ("), they just disappear.

bwbasic
?Bywater BASIC Interpreter/Shell, version 2.50
?Copyright (c) 1993, Ted A. Campbell
?Copyright (c) 1995-1997, Jon B. Volkoff
?
OPEN ERROR CODE '04' ON 'PDP000HD'.
10 rem Hello World Program
20 print Hello World.
30 end
list
bwBASIC: bwBASIC: bwBASIC: bwBASIC:????? 10: REM HELLO WORLD PROGRAM
???? 20: PRINT HELLO WORLD.
???? 30: END
run
bwBASIC:
ERROR in line 20: in bwb_exp(): incomplete expression.
20 print 'Hello World.'
list
bwBASIC: bwBASIC:????? 10: REM HELLO WORLD PROGRAM
???? 20: PRINT 'HELLO WORLD.'
???? 30: END
run
bwBASIC:
ERROR in line 20: in bwb_exp():? Error detected in parsing expression
?
bwBASIC:
Ready; T=0.04/0.06 21:23:27

?... Mark S.


Re: Additional Help Files

 

开云体育

Questions. What are the TERMINAL settings? Is the double-quote in use? If so, that explains the disappearance…

?

Mark
dasdman

?

?

From: [email protected] <[email protected]> On Behalf Of Mark A. Stevens via groups.io
Sent: Monday, January 24, 2022 7:25 PM
To: [email protected]
Subject: Re: [h390-vm] Additional Help Files

?

On Mon, Jan 24, 2022 at 09:14 PM, Mark A. Stevens wrote:

Part of trying to tidy things up, I am trying to test the commands. I'm having a problem running a simple BASIC program with BWBASIC.

Interactive mode seems a bit dodgy. I can use apostrophes (')? for print statements, but it doesn't execute. Use of quotes ("), they just disappear.

bwbasic
?Bywater BASIC Interpreter/Shell, version 2.50
?Copyright (c) 1993, Ted A. Campbell
?Copyright (c) 1995-1997, Jon B. Volkoff
?
OPEN ERROR CODE '04' ON 'PDP000HD'.
10 rem Hello World Program
20 print Hello World.
30 end
list
bwBASIC: bwBASIC: bwBASIC: bwBASIC:????? 10: REM HELLO WORLD PROGRAM
???? 20: PRINT HELLO WORLD.
???? 30: END
run
bwBASIC:
ERROR in line 20: in bwb_exp(): incomplete expression.
20 print 'Hello World.'
list
bwBASIC: bwBASIC:????? 10: REM HELLO WORLD PROGRAM
???? 20: PRINT 'HELLO WORLD.'
???? 30: END
run
bwBASIC:
ERROR in line 20: in bwb_exp():? Error detected in parsing expression
?
bwBASIC:
Ready; T=0.04/0.06 21:23:27

?... Mark S.


Re: Additional Help Files

 

On Mon, Jan 24, 2022 at 09:14 PM, Mark A. Stevens wrote:
Part of trying to tidy things up, I am trying to test the commands. I'm having a problem running a simple BASIC program with BWBASIC.
Interactive mode seems a bit dodgy. I can use apostrophes (')? for print statements, but it doesn't execute. Use of quotes ("), they just disappear.

bwbasic
?Bywater BASIC Interpreter/Shell, version 2.50
?Copyright (c) 1993, Ted A. Campbell
?Copyright (c) 1995-1997, Jon B. Volkoff
?
OPEN ERROR CODE '04' ON 'PDP000HD'.
10 rem Hello World Program
20 print Hello World.
30 end
list
bwBASIC: bwBASIC: bwBASIC: bwBASIC:????? 10: REM HELLO WORLD PROGRAM
???? 20: PRINT HELLO WORLD.
???? 30: END
run
bwBASIC:
ERROR in line 20: in bwb_exp(): incomplete expression.
20 print 'Hello World.'
list
bwBASIC: bwBASIC:????? 10: REM HELLO WORLD PROGRAM
???? 20: PRINT 'HELLO WORLD.'
???? 30: END
run
bwBASIC:
ERROR in line 20: in bwb_exp():? Error detected in parsing expression
?
bwBASIC:
Ready; T=0.04/0.06 21:23:27


?... Mark S.


Re: Additional Help Files

 

On Mon, Jan 24, 2022 at 03:30 AM, Dave Wade wrote:
It looks complete, but some of my new stuff is rough. If Mark has time to tidy. ?I am intending to write some more, but as usual I have been side-lined by project creep elsewhere. Might be a good idea to also have a process to move to VM.
Part of trying to tidy things up, I am trying to test the commands. I'm having a problem running a simple BASIC program with BWBASIC. Any ideas as to why I'm getting OPEN ERROR CODE '04' ON 'PDP000HD'.

type hello basic a
?
0010 REM HELLO WORLD EXAMPLE
0020 PRINT "Hello World"
0030 END
?
Ready; T=0.14/0.19 21:07:11
bwbasic hello.basic
?Bywater BASIC Interpreter/Shell, version 2.50
?Copyright (c) 1993, Ted A. Campbell
?Copyright (c) 1995-1997, Jon B. Volkoff
?
OPEN ERROR CODE '04' ON 'PDP000HD'.
Hello World
?
bwBASIC:
Ready; T=0.03/0.04 21:12:05
bwbasic hello.basic.a
?Bywater BASIC Interpreter/Shell, version 2.50
?Copyright (c) 1993, Ted A. Campbell
?Copyright (c) 1995-1997, Jon B. Volkoff
?
OPEN ERROR CODE '04' ON 'PDP000HD'.
Hello World
?
bwBASIC:
Ready; T=0.08/0.10 21:12:22

?... Mark S.


Re: Additional Help Files

 

On Mon, Jan 24, 2022 at 06:42 AM, Bob Bolch wrote:
Dave and Mark, VMFPLC2 sounds?like a good method.
I have the files on a minidisk on my VM, and can create a "tape" using VMFPLC2, and then commit that. The Hercules/Fish vmfplc2 command will process it.

Does that work?? If so, then I will also tidy Dave's latest files, upload those as commits to GitHub vm370, and places them on the "tape."

?... Mark S.


Re: Additional Help Files

 

On Mon, Jan 24, 2022 at 03:30 AM, Dave Wade wrote:
It looks complete, but some of my new stuff is rough. If Mark has time to tidy. ?I am intending to write some more, but as usual I have been side-lined by project creep elsewhere. Might be a good idea to also have a process to move to VM.
I can tidy those up. A couple of days to do so.

?... Mark S.


Re: HELP files and GCC/UNIX tools

 

Dave,?
Using --help for those Unix style utilities is fine with me.?
/Bob


On Mon, Jan 24, 2022 at 5:14 AM Dave Wade <dave.g4ugm@...> wrote:

Gentles,

?

There are some GCC/UNIX style utils on the Y-Disk, for example DIFF, PATCH and M4.

For some I have provided full help, for others I have provided basic help with an instruction to display the command help using the “--help" option.

I feel that writing full help for commands such as M4 which won’t get much use, and where help is included is a waste of effort.

It would also create more work down the line, as if they are ever updated, we would need to update our help.

On the other hand, I feel not providing any help files is not in the spirit of VM. ?

?

Does anyone have any thoughts or feelings on this?

?

Dave


Re: Additional Help Files

 

Dave and Mark, VMFPLC2 sounds?like a good method. I am finishing up an EDIT bug fix, hopefully today,
so I can start a review in a day or 2.
/Bob

On Mon, Jan 24, 2022 at 4:30 AM Dave Wade <dave.g4ugm@...> wrote:

Bob,

?

It looks complete, but some of my new stuff is rough. If Mark has time to tidy.? I am intending to write some more, but as usual I have been side-lined by project creep elsewhere. Might be a good idea to also have a process to move to VM.

I was thinking perhaps a file that can be used with the VMFPLC2 utility FISH provides?

?

Dave

?

From: [email protected] <[email protected]> On Behalf Of Mark A. Stevens via
Sent: 24 January 2022 01:04
To: [email protected]
Subject: Re: [h390-vm] Additional Help Files

?

On Sun, Jan 23, 2022 at 05:45 PM, Bob Bolch wrote:

Does the current view on GitHub show everyone's changes merged in now?

I see Dave's and my help files. If we are the only submitters, then you have them all.
If you got files from someone else, somewhere else, then those need to be added.

?... Mark S.


HELP files and GCC/UNIX tools

 

开云体育

Gentles,

?

There are some GCC/UNIX style utils on the Y-Disk, for example DIFF, PATCH and M4.

For some I have provided full help, for others I have provided basic help with an instruction to display the command help using the “--help" option.

I feel that writing full help for commands such as M4 which won’t get much use, and where help is included is a waste of effort.

It would also create more work down the line, as if they are ever updated, we would need to update our help.

On the other hand, I feel not providing any help files is not in the spirit of VM. ?

?

Does anyone have any thoughts or feelings on this?

?

Dave


Re: Additional Help Files

 

开云体育

Bob,

?

It looks complete, but some of my new stuff is rough. If Mark has time to tidy. ?I am intending to write some more, but as usual I have been side-lined by project creep elsewhere. Might be a good idea to also have a process to move to VM.

I was thinking perhaps a file that can be used with the VMFPLC2 utility FISH provides?

?

Dave

?

From: [email protected] <[email protected]> On Behalf Of Mark A. Stevens via groups.io
Sent: 24 January 2022 01:04
To: [email protected]
Subject: Re: [h390-vm] Additional Help Files

?

On Sun, Jan 23, 2022 at 05:45 PM, Bob Bolch wrote:

Does the current view on GitHub show everyone's changes merged in now?

I see Dave's and my help files. If we are the only submitters, then you have them all.
If you got files from someone else, somewhere else, then those need to be added.

?... Mark S.


Re: Additional Help Files

 

On Sun, Jan 23, 2022 at 07:16 PM, Gregg Levine wrote:
Hello!
Um Group where on Github is all of this based? That's a big area to
search proactively.
Look here ... a slightly smaller area ;-)



?... Mark S.


Re: Additional Help Files

 

Hello!
Um Group where on Github is all of this based? That's a big area to
search proactively.
-----
Gregg C Levine gregg.drwho8@...
"This signature fought the Time Wars, time and again."

On Sun, Jan 23, 2022 at 8:04 PM Mark A. Stevens via groups.io
<marXtevens@...> wrote:

On Sun, Jan 23, 2022 at 05:45 PM, Bob Bolch wrote:

Does the current view on GitHub show everyone's changes merged in now?

I see Dave's and my help files. If we are the only submitters, then you have them all.
If you got files from someone else, somewhere else, then those need to be added.

... Mark S.
________________________________
As the prosecution wound up its scathing and largely annoying litany
of meaningless questions aimed at a friend of the Defendant, the
Doctor took notes. At the end of that session in Perry's office, they
gathered, and Della translated his notes into their records. While she
worked, Junior Cat slept on her lap. Snarl and Simba sprawled on the
couch, and Paul was attempting to find out from the black cat in the
room if that individual was the same from before. Duke and Doctor
helped Della out by helping in translating the Doctor's writing. From
Perry Mason meets Doctor Who an unpublished memoir.


Re: Additional Help Files

 

On Sun, Jan 23, 2022 at 05:45 PM, Bob Bolch wrote:
Does the current view on GitHub show everyone's changes merged in now?
I see Dave's and my help files. If we are the only submitters, then you have them all.
If you got files from someone else, somewhere else, then those need to be added.

?... Mark S.


Re: Additional Help Files

 

I am not a regular GitHub user, but I thought that I could use the delta view I have seen on GitHub to see where the changes were. If not, it's not a big deal. I can just view the originals on VM and see the changed files on GitHub. Does the current view on GitHub show everyone's changes merged in now? If so, those are the versions I will copy to the next release. Thanks to every contributor!
/Bob

On Sun, Jan 23, 2022, 5:03 PM Mark A. Stevens via <marXtevens=[email protected]> wrote:
On Sun, Jan 23, 2022 at 08:39 AM, Dave Wade wrote:
I have added some more help files to the GIT Hub repository, but perhaps I should have put them in a branch ?
I'm wondering if we can back out commits, need to read/learn more. My addition of the help files is missing your originals. Bob wanted both, your originals, and my changes, in there.

?... Mark S.


Re: Additional Help Files

 

On Sun, Jan 23, 2022 at 04:03 PM, Mark A. Stevens wrote:
I'm wondering if we can back out commits, need to read/learn more. My addition of the help files is missing your originals. Bob wanted both, your originals, and my changes, in there.
Yes, they can, but need to be done in reverse order.



?... Mark S.


Re: Additional Help Files

 

On Sun, Jan 23, 2022 at 08:39 AM, Dave Wade wrote:
I have added some more help files to the GIT Hub repository, but perhaps I should have put them in a branch ?
I'm wondering if we can back out commits, need to read/learn more. My addition of the help files is missing your originals. Bob wanted both, your originals, and my changes, in there.

?... Mark S.


Additional Help Files

 

开云体育

I have added some more help files to the GIT Hub repository, but perhaps I should have put them in a branch ?

?

Dave