[bugs] [illumos gate - Feature #1168] (Resolved) want a libtermcap that does not force libcurses
illumos bugs
bugs at lists.illumos.org
Fri Jul 15 07:26:18 PDT 2011
Issue #1168 has been updated by Gordon Ross.
Status changed from In Progress to Resolved
<pre>
changeset: 13400:71e59c2d8715
tag: tip
user: Gordon Ross <gwr at nexenta.com>
date: Fri Jul 15 10:20:38 2011 -0400
description:
1168 want a libtermcap that does not force libcurses
Reviewed by: Garrett D'Amore <garrett at nexenta.com>
Reviewed by: Albert Lee <trisk at nexenta.com>
Reviewed by: Igor Kozhukhov <igor.kozhukhov at nexenta.com>
Approved by: Garrett D'Amore <garrett at nexenta.com>
</pre>
----------------------------------------
Feature #1168: want a libtermcap that does not force libcurses
https://www.illumos.org/issues/1168
Author: Gordon Ross
Status: Resolved
Priority: Normal
Assignee: Gordon Ross
Category:
Target version:
Difficulty: Medium
Tags: needs-triage
While looking at issue 415 https://www.illumos.org/issues/415 it became apparent that issues like 415 could benefit from the existence of a libtermcap that does not force the consumer to link with libcurses. (See 415 for details on that.)
This feature request proposes a filter library (libtermcap.so.1) that will export the traditional BSD-style termcap symbols, but mark all those exported symbols as NODIRECT. That way, a consuming library or application can link with a different curses implementation, and as long as it provides those symbols, those will be used instead of the ones in libcurses.
With the proposed filter library, we can "properly" fix libreadline so that it uses whatever curses library its consumer uses, only falling back to libcurses if the consumer does not link any curses library. And the fix does not require adding the curses library to libreadline consumers who have no need for curses functions. (That will fix issue 415, etc.)
--
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://www.illumos.org/my/account
More information about the bugs
mailing list