bug-ncurses
[Top][All Lists]
Advanced

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

Re: ANN: ncurses-6.4-20230708


From: Sven Joachim
Subject: Re: ANN: ncurses-6.4-20230708
Date: Mon, 10 Jul 2023 17:23:24 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

On 2023-07-09 00:40 +0000, Thomas Dickey wrote:

> 20230708
>       + disallow using $TERMINFO or $HOME/.terminfo when tic "-o" option is
>         used (report by Sven Joachim, Debian #1040048).

Thanks for implementing that.  Unfortunately it seems to have introduced
a new problem: if TERMINFO is set to a non-existent directory, tic will
write to ${HOME}/.terminfo rather than the system database when run as
root:

,----
| # tic -V
| ncurses 6.4.20230708
| # ncurses6-config --terminfo
| /etc/terminfo
| # infocmp dumb > dumb.ti
| # TERMINFO=/no/such/dir HOME=/ tic dumb.ti
| # ls /etc/terminfo/d
| ls: cannot access '/etc/terminfo/d': No such file or directory
| # ls /.terminfo/d
| dumb
| #
`----

Cheers,
       Sven



reply via email to

[Prev in Thread] Current Thread [Next in Thread]