Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 May 2020 15:22:20 +0200
From:      Mateusz Piotrowski <0mp@FreeBSD.org>
To:        Baptiste Daroussin <bapt@FreeBSD.org>, current@FreeBSD.org
Subject:   Re: Move from termcap(5) to terminfo(5)
Message-ID:  <f0d055f4-8529-bfd5-ea7c-7cbc210b97da@FreeBSD.org>
In-Reply-To: <20200507124126.g4z5op4cyv45pmxn@ivaldir.net>
References:  <20200507124126.g4z5op4cyv45pmxn@ivaldir.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

On 5/7/20 2:41 PM, Baptiste Daroussin wrote:
> Hello everyone,
>
> I can't find any proper rationale in our history (maybe I missed it) which
> explains why our ncurses is stuck on using termcap(5) instead of terminfo(5)
> Except an argument in the Makefile that builds ncurses:
> "Used instead of the hideous read_termcap.c abomination."
>
> Which I do not find really useful.
>
> I would like to make the move from termcap to terminfo which would give us the
> bonus to be able to track terminfo sources from upstream aka ncurses and to
> add and use tic(1).
That's great! I've been bitten by termcap not being well understood by 
the open source community many times. I am supporting the move to 
terminfo wholeheartedly.
> If you have some knowledge you want to share: "be careful about this or that" I
> would be more than happy to collect it, to make sure the transition is as smooth
> as possible.

What comes to my mind is that we should probably pay special attention 
to terminal ports, like x11/sterm. We might need to tell those ports to 
install their terminfo files. I don't remember the details though.

Cheers,

Mateusz





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f0d055f4-8529-bfd5-ea7c-7cbc210b97da>