Skip to content

Conversation

@masinter
Copy link
Member

No description provided.

@rmkaplan
Copy link
Contributor

rmkaplan commented Nov 11, 2023 via email

@masinter
Copy link
Member Author

(1) the man command only looks in the Common Lisp HyperSpec if it is called on a symbol in the Common Lisp package. For a symbol like "CONS" that is imported into IL package it might not.
(2) The variable CLHS.ROOT.URL is set with an INITVARS, and reloading HELPSYS isn't enough.
if you SET(CLHS.ROOT.URL NOBIND) and then LOAD(HELPSYS.LCOM)

Copy link
Member

@fghalasz fghalasz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested on WSL, straight Ubuntu 22.04 and on MacOS. Works as expected on all. Not tested on cygwin cause can't do loadups on cygwin yet.

Couple of comments:

  1. The following code in CLHS.LOOKUP
    Screenshot 2023-11-12 234258

    could be replaced with (ShellBrowse URL)

  2. You use MEDLEY-INIT-VARS to reset ShellBrowser and ShellOpener. This works, but it makes UNIXUTILS unnecessarily reliant on MEDLEYDIR and involves a lot of complexity that goes into MEDLEY-INIT-VARS.

    Why not just add a simple AROUNDEXITFN in UNIXUTILS to reset just these two variables after return to VM?

@masinter
Copy link
Member Author

I changed CLHS.LOOKUP to use ShellBrowse.
I didn't make the AROUNDEXITFNS change @fghalasz suggested because it might wind up a net increase in complexity to add a new function while MEDLEYDIR and MEDLEY-INIT-VARS are still there.

@masinter masinter merged commit 05f3ad1 into master Nov 13, 2023
@masinter masinter deleted the lmm-helpsys-unixutils branch December 2, 2023 02:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done
Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants