Re: [dev] [st] terminfo entries won't get deleted

From: danin-sac <danin-sac_AT_protonmail.com>
Date: Fri, 03 Feb 2023 16:09:43 +0000

On Friday, February 3rd, 2023 at 1:50 PM, Hiltjo Posthuma <hiltjo_AT_codemadness.org> wrote:
> On Thu, Feb 02, 2023 at 10:33:55PM +0000, danin-sac wrote:
>
> > Hi,
> > after looking in the Makefile I saw that the terminfo entries wouldn't get deleted if you uninstall the program. Is there a specific reason for that?
> >
> > Best regards.
>
>
> maybe
>
> --
> Kind regards,
> Hiltjo

If not I think it should get added to the Makefile. A basic solution for this would be something like this:
TEMP=$$(tic -D | head -n 1)"/s" && rm -f $$TEMP/st-mono $$TEMP/st $$TEMP/st-256color $$TEMP/st-meta $$TEMP/st-meta-256color $$TEMP/st-bs $$TEMP/st-bs-256color

Note: I have just hardcoded the st terminfo entries, because there are other terminfo entries with similar names.

Kind regards,
Danin
Received on Fri Feb 03 2023 - 17:09:43 CET

This archive was generated by hypermail 2.3.0 : Fri Feb 03 2023 - 17:12:08 CET