From owner-freebsd-current@freebsd.org Thu May 7 13:24:37 2020 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D13CA2D9238 for ; Thu, 7 May 2020 13:24:37 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 49HvM95Ft2z4BDB for ; Thu, 7 May 2020 13:24:37 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: by mailman.nyi.freebsd.org (Postfix) id B45862D9236; Thu, 7 May 2020 13:24:37 +0000 (UTC) Delivered-To: current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B42142D9235 for ; Thu, 7 May 2020 13:24:37 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49HvM94NFqz4BD9; Thu, 7 May 2020 13:24:37 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from ivaldir.etoilebsd.net (etoilebsd.net [178.32.217.76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: bapt) by smtp.freebsd.org (Postfix) with ESMTPSA id 7A3EC3108; Thu, 7 May 2020 13:24:37 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: by ivaldir.etoilebsd.net (Postfix, from userid 1001) id A4CE9DCC06; Thu, 7 May 2020 15:24:36 +0200 (CEST) Date: Thu, 7 May 2020 15:24:36 +0200 From: Baptiste Daroussin To: Mateusz Piotrowski <0mp@FreeBSD.org> Cc: current@FreeBSD.org Subject: Re: Move from termcap(5) to terminfo(5) Message-ID: <20200507132436.x6gzrtqls7grwbik@ivaldir.net> References: <20200507124126.g4z5op4cyv45pmxn@ivaldir.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="uk33hxiyeltbz75r" Content-Disposition: inline In-Reply-To: X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 May 2020 13:24:37 -0000 --uk33hxiyeltbz75r Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, May 07, 2020 at 03:22:20PM +0200, Mateusz Piotrowski wrote: > Hi, >=20 > On 5/7/20 2:41 PM, Baptiste Daroussin wrote: > > Hello everyone, > >=20 > > I can't find any proper rationale in our history (maybe I missed it) wh= ich > > explains why our ncurses is stuck on using termcap(5) instead of termin= fo(5) > > Except an argument in the Makefile that builds ncurses: > > "Used instead of the hideous read_termcap.c abomination." > >=20 > > Which I do not find really useful. > >=20 > > 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 an= d 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. >=20 > 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 inst= all > their terminfo files. I don't remember the details though. >=20 All their terminfo files are already in recent ncurses, so we will have not= hing to do with them. Best regards, Bapt --uk33hxiyeltbz75r Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEgOTj3suS2urGXVU3Y4mL3PG3PloFAl60DBQACgkQY4mL3PG3 PlquyBAArPL9iiECOIF+A5v1IZO+/sus/1HAffq+BLkuj/p4q0RRU3ju89nW+xml mMHD31aGT2qmH5bnD1xaTiLnErHSLWW8cnYaWBlAI2DxJmmqclDAHiCCyb1VXK7e t+6LGIPLhOHF01ngy+PkuZ4SXFxRqrkiZNMThy8/sHR0EAz/eLrknWEAe8g2+tk8 i8e3Indw9fHRY9lSg2mizNjGFOPaWcDudkHyuq7Z2VvuVCFIHs9WcVi8CvIodwts TTXYYGiMnPoCWrlLgqkgT4zwFjk9X9tc1I46ZOS7GDc7JVCCZBm8Pp+kqaTQsMUi JRqcvC+Oa2OZ1/JwYPjTAj5POa3bvWt2LOQ49iNOaQ4GkhQzUQ6sqyQRKotZIYUH Tb7ii58B/w54KjYjpJK1avCvam/A3W678BrmF1tnZn0nNlCzL0uFyA5gFPearBvF FfHcmyVJV0uEkkLHEnTgsGfOdgYOSKXo2d7oCpcOMOqRtYsxv3yTWwxDIViX/0m/ cXV9sUzQlh2kDEIJAU58SuuFxF9Q12FKCTENc39rkdbbr+YoVvox1t+htuvr9B4c iJ7GDxooWH0Q7sdGyK0LXMTt72t6ow4RX75VuohZ40dISFX71vS97ufartMthhhb f4hrw2Kopmyrrp+LaX2B1AQxXEcRVijLzuqxQQaV7Nsbsydn3fk= =eQek -----END PGP SIGNATURE----- --uk33hxiyeltbz75r--