On 2012-01-22 18:34 +0100, Thomas Dickey wrote:

> On Sun, Jan 22, 2012 at 05:00:41PM +0100, Sven Joachim wrote:
>> On 2011-12-28 10:45 +0100, Sven Joachim wrote:
>> 
>> > Package: libtinfo5
>> > Version: 5.9-4
>> > Severity: normal
>> >
>> > Configuring ncurses --with-default-terminfo-dir=/usr/share/terminfo, as
>> > we have been doing since 5.7+20100313-1, has the unfortunate side effect
>> > that tic(1) writes to /usr/share/terminfo instead of /etc/terminfo by
>> > default when run as root (overridable with the -o option).
>> >
>> > I'm reluctant to revert the change, since that would mean reintroducing
>> > bug #509919.
>> 
>> Looking closer, it seems to me I have now found the root cause of
>> #509919.  In misc/gen-edit.sh, the tabset directory is computed from the
>> default terminfo directory, but misc/Makefile.in actually installs the
>> tabset files into ${datadir}/tabset which is not necessarily the same
>> place.
>> 
>> The following patch removes this discrepancy and seems to DTRT:
>
> ...
>> Thomas, what do you think of that?
>  
> I agree (seems to work).  Checking the history, I see that chunk dates
> from 2004, and was originally from run_tic.sh in 1996.

For the record, I have applied the patch in our git repository.

Cheers,
       Sven



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to