Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for XGP user in INQUIR database. #2287

Merged
merged 2 commits into from
Mar 8, 2024
Merged

Conversation

eswenson1
Copy link
Member

This PR changes the way that the INQUIR database is installed into ITS. Previously, we included a binary INQUIR;LSR 1 database on the tape we load. Now, we build the INQUPD program (and INQUIR;DIRS BIN) database, which is required by INQUPD, when run in LSRINI mode. LSRINI mode, invoked by a JNAME of LSRINI for INQUPD, generates an empty .TEMP.;LSR1 EMPTY database for INQUIR. The build scripts generate this empty database and copy it to the appropriate plact (INQUIR;LSR 1).

Then, the INQUPD program is run in "normal" mode, such that it processes files in the INQUIR directory with FN1 = .UPD1., and we provide such a file with the XGP user defined. We can, of course add other users that we wish to be "pre-loaded" in the INQUIR database.

@eswenson1
Copy link
Member Author

@larsbrinkhoff I fully realize that adding an INQUIR entry for XGP (which you asked for) does NOT prevent GUNNER from gunning the XGP session. But I thought the current "binary-based" approach for creating the INQUIR database was hacky, given that we have a means of generating an empty one with INQUPD and given that we may wish to have an easy way to add more INQUIR entries (by editing the INQUPD script in future commits).

This PR changes the way that the INQUIR database is installed into ITS.
Previously, we included a binary INQUIR;LSR1 1 database on the tape we
load.  Now, we build the INQUPD program (and INQUIR;DIRS BIN) database,
which is required by INQUPD, when run in LSRINI mode.  LSRINI mode,
invoked by a JNAME of LSRINI for INQUPD, generates an empty
.TEMP.;LSR1 EMPTY database for INQUIR.  The build scripts generate
this empty database and copy it to the appropriate plact (INQUIR;LSR 1).
The INQUPD program is run in "normal" mode, such that it processes
files in the INQUIR directory with FN1 = .UPD1., and we provide such a
file with the XGP user defined.  We can, of course add other users
that we wish to be "pre-loaded" in the INQUIR database.
@larsbrinkhoff
Copy link
Member

Right, I understand the GUNNER problem is something else. This is still a great enhancement. E.g. XGP can log in and automatically run the .XGPR.; XGP LOGIN script.

I updated the XGP information per a real LSR1 1 file. I will make a separate pull request to add various system users.

@eswenson1 eswenson1 merged commit 9f25677 into master Mar 8, 2024
14 checks passed
@larsbrinkhoff
Copy link
Member

Verified that logging in as XGP runs .XGPR.;XGP LOGIN.

@larsbrinkhoff larsbrinkhoff deleted the ejs/xgp-inquir branch March 10, 2024 08:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants