Skip to content

terminfo parser is ineffective on FreeBSD #55274

Closed
@ararslan

Description

@ararslan

The intersection of #53682 with #50797 causes a test failure on FreeBSD: it has to compile Base.info_color(), so it has 1 rather than 0 expected precompiles. This is because FreeBSD doesn't use terminfo, it uses termcap1, so our terminfo parser always fails to find an entry on FreeBSD and we end up with a blank TermInfo. I had wondered why my Julia REPL colors disappeared, evidently this is why.

A couple of options I can think of:

The latter would be the more consistent with how we deal with other dependencies. The former would likely be rather involved.

cc @tecosaur

Footnotes

  1. At least as of 2020, FreeBSD was looking to switch to terminfo, though I've not seen movement on that since then.

Metadata

Metadata

Assignees

No one assigned

    Labels

    regressionRegression in behavior compared to a previous versionregression 1.11Regression in the 1.11 releasesystem:freebsdAffects only FreeBSD

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions