[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#509919: ncurses-base: the tabset directory in compiled terminal descriptions is incorrect



On 2009-08-30 16:24 +0200, Thomas Dickey wrote:

> On Sun, 30 Aug 2009, Sven Joachim wrote:
>
>> On 2008-12-27 19:15 +0100, Thomas Dickey wrote:
>>
>>> Package: ncurses-base
>>> Version: 5.7+20081213-1
>>> Severity: normal
>>>
>>> Reviewing Ubuntu #200773, which reports this problem,
>>> I checked my Debian/testing and see that infocmp vt220 shows
>>>
>>> 	if=/etc/tabset/vt100,
>>>
>>> That directory does not exist.
>>
>> True.  I haven't analyzed all the details yet, but the problem appears
>> to be that ncurses is configured with
>> "--with-default-terminfo-dir=/etc/terminfo", and your misc/gen_edit.sh
>> script changes the location of the tabset directory to /etc/tabset then.
>>
>> Any ideas?
>
> I could add another configure-script tweak to make the location of
> tabset explicit.

It seems this is not necessary after all. :-) We can configure the
Debian package with "--with-default-terminfo-dir=/usr/share/terminfo"
instead.  Since we're also configuring with

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

, this does not affect the directory search order at runtime,
/etc/terminfo still is looked at before the other directories.

Sven



Reply to: