Bug 177722

Summary: Change request: Add terminfo database to linux_base-*
Product: Ports & Packages Reporter: Jason W. Bacon <jwb>
Component: Individual Port(s)Assignee: freebsd-emulation (Nobody) <emulation>
Status: Closed DUPLICATE    
Severity: Affects Only Me CC: cs, emaste
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Jason W. Bacon freebsd_committer freebsd_triage 2013-04-08 21:40:02 UTC
Linux Matlab runs well on FreeBSD, but when running with the -nodesktop command-line flag, it crashes after issuing the error message "setupterm() failed!".

The error is caused by Matlab's inability to locate a terminfo database, which by default should reside in /usr/share/terminfo.

I have developed a matlab-installer script and port which could install a terminfo database, but there are probably other Linux applications suffering the same fate, so it would probably be better to have it in linux_base.

Fix: 

Install a terminfo database at /compat/linux/usr/share/terminfo.
How-To-Repeat: 1) Install Matlab.

(Installer scripts available at http://personalpages.tds.net/~jwbacon/Ports/distfiles/)

2) matlab -nodesktop
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2013-04-09 19:45:50 UTC
Responsible Changed
From-To: freebsd-ports-bugs->freebsd-emulation


Over to maintainer(s).
Comment 2 Carlo Strub freebsd_committer freebsd_triage 2014-09-14 10:18:25 UTC
Is this PR still relevant?
Comment 3 Jan Beich freebsd_committer freebsd_triage 2014-11-16 21:45:16 UTC
No need to unnecessarily conflict with devel/linux-*-ncurses-base.

*** This bug has been marked as a duplicate of bug 177723 ***