From owner-freebsd-current@freebsd.org Thu May 7 12:41:28 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 5898C2C7F20 for ; Thu, 7 May 2020 12:41:28 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 49HtPN1lhtz47Xg for ; Thu, 7 May 2020 12:41:28 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: by mailman.nyi.freebsd.org (Postfix) id 3C1F82C7F1F; Thu, 7 May 2020 12:41:28 +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 3BE732C7F1E for ; Thu, 7 May 2020 12:41:28 +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 49HtPN0plWz47Xf for ; Thu, 7 May 2020 12:41:28 +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 F32542ACE for ; Thu, 7 May 2020 12:41:27 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: by ivaldir.etoilebsd.net (Postfix, from userid 1001) id 34FBADCB4D; Thu, 7 May 2020 14:41:26 +0200 (CEST) Date: Thu, 7 May 2020 14:41:26 +0200 From: Baptiste Daroussin To: current@FreeBSD.org Subject: Move from termcap(5) to terminfo(5) Message-ID: <20200507124126.g4z5op4cyv45pmxn@ivaldir.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 12:41:28 -0000 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). Given the very few people that are actually maintaining the termcap database. I don't think there is a good rationale at keeping our own format (as far as I know everyone moved to terminfo(5)) and parser. Without any strong arguments against it I will start working on that move by next week. 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. Best regards, Bapt