Project

General

Profile

Bug #9362

"/lib/terminfo/" missing from ncurses-static build configuration

Added by Rémi LEFÈVRE 5 months ago. Updated 5 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Aports
Target version:
Start date:
08/29/2018
Due date:
% Done:

100%

Estimated time:

Description

ncurses-static is built with the following terminfo directories configuration:

--with-terminfo-dirs="/etc/terminfo:/usr/share/terminfo" 

However this library is often used to build static binaries that aim to run on a large diversity of Linux distributions, and some of them like Ubuntu 18.04 put the terminfo database in /lib/terminfo.

Consequently, some binaries built with ncurses-static do not find their terminal database entry, which reduce the supported features. For example CTRL-L does not work with elm REPL: https://github.com/elm/compiler/issues/1768

Could it be possible to build ncurses-static with a larger set of terminfo directories?

A safer approach could be:

--with-terminfo-dirs="/etc/terminfo:/lib/terminfo:/usr/share/terminfo:/usr/lib/terminfo" 

Thank you

History

#1 Updated by Rémi LEFÈVRE 5 months ago

Note: all Debian distributions and derivatives like Ubuntu seem to use `/lib/terminfo`.

#2 Updated by Natanael Copa 5 months ago

  • Target version changed from 3.7.1 to 3.8.1

#3 Updated by Rémi LEFÈVRE 5 months ago

Thank you. I tested the edge package and it works fine now.

#4 Updated by Natanael Copa 5 months ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

#5 Updated by Natanael Copa 5 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF