Skip to content

Conversation

@PuercoPop
Copy link

  • some silencing two warnings

Btw, what do you think about moving the DEFCAPs to their own file?

LOAD-TERMINFO was iterating over all the possible locations for a
given terminfo database, attempting to open the file, if the file was
opened successfully then parse the terminfo database and return.

Instead have the extract the searching for the locating of the term
info database to a separate function so that load-terminfo only takes
care of parsing the database.
The variable is only being used for one implementation, CMUCL.
@npatrick04
Copy link
Owner

Hi @PuercoPop, I am sorry for taking so long to getting back to you with a comment. I haven't had my linux box operational in about a year, I've been busy, and I wanted to test the code update before accepting it. I think the change is fine on inspection.

I agree that moving the defcaps to their own file could make sense. I don't think that was done initially because this library was originally designed to be passed around as a single file. If I were to redo it, I'd also put package info in its own file. At this point, I'd just as soon leave the code where it is so that changes (if any) are more easily tracked.

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