Am 05.01.2012 um 03:58 schrieb Marc Lehmann:

> Package: ncurses-bin
> Version: 5.7+20100313-5
> Severity: normal
>
>
> There is no way to install e.g. the terminfo file from rxvt-unicode
> on debian, which contains both rxvt-unicode (stored in /etc) and
> rxvt-unicode-256color (stored in /usr/share):
>
> "tic rxvt-unicode.terminfo" writes both rxvt-unicode and
> rxvt-unicode-256color to /usr/share/terminfo, leaving the copy in
> /etc/terminfo intact (leading to problems because -256color references
> rxvt-unicode), while specifying /etc/terminfo writes both entries to that
> location, also wrong, even though this time at leats works.

Could you please elaborate what's wrong with /etc/terminfo?  This is the
location you want to use for custom terminfo entries, because files
there take precedence over the ones in /{lib,usr/share}/terminfo and
will be left alone by the packaging system.

> I think tic should overwrite existing entries in debian unless
> specifically requested not to, and, if that is not possible, should be
> changed to write to /etc/terminfo, as that is the real system terminfo
> directory.

Overwriting existing terminfo entries by default is wrong, because
package upgrades will silently undo these changes, unless you were
careful enough to dpkg-divert(8) the packaged files.

> Maybe one could also change search order to first look in /usr/share and
> then in /etc, which would make it possible to override saettings in /etc.

You got it backwards, settings in /etc are supposed to override those in
/usr/share, not the other way around.

> Or something like that, the situation seems pretty mesed up :=)

The only problem I see currently is that tic does not write to
/etc/terminfo by default, see #653435.

Cheers,
       Sven



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

Reply via email to