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: Thomas Dickey
Subject: Re: ANN: ncurses-6.4-20230708
Date: Sat, 22 Jul 2023 11:52:04 -0400

On Mon, Jul 10, 2023 at 01:30:58PM -0400, Thomas Dickey wrote:
> ----- Original Message -----
> | From: "Sven Joachim" <svenjoac@gmx.de>
> | To: "Thomas Dickey" <dickey@his.com>
> | Cc: "Ncurses Mailing List" <bug-ncurses@gnu.org>
> | Sent: Monday, July 10, 2023 11:23:24 AM
> | Subject: Re: ANN: ncurses-6.4-20230708
> 
> | 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:
> 
> hmm - I can probably fix that without too much work...

maybe not: the change I made was only if "-o" is set.
I did that to provide a more reliable method of scripting/packaging.

If "-o" is not set, there is no change to the way environment variables
are used.  The existing --disable-root-environ option applies to this case.
 
> | ,----
> || # 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
> 
> -- 
> Thomas E. Dickey <dickey@invisible-island.net>
> https://invisible-island.net

-- 
Thomas E. Dickey <dickey@invisible-island.net>
https://invisible-island.net

Attachment: signature.asc
Description: PGP signature


reply via email to

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