From owner-freebsd-current@freebsd.org Thu May 7 12:58:01 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 2163B2D85EE for ; Thu, 7 May 2020 12:58:01 +0000 (UTC) (envelope-from steffen@sdaoden.eu) 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 49HtmS5758z48Nw for ; Thu, 7 May 2020 12:58:00 +0000 (UTC) (envelope-from steffen@sdaoden.eu) Received: by mailman.nyi.freebsd.org (Postfix) id AFD3D2D85ED; Thu, 7 May 2020 12:58:00 +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 AFA0D2D85EC for ; Thu, 7 May 2020 12:58:00 +0000 (UTC) (envelope-from steffen@sdaoden.eu) Received: from sdaoden.eu (sdaoden.eu [217.144.132.164]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 49HtmS3nfMz48Nt; Thu, 7 May 2020 12:58:00 +0000 (UTC) (envelope-from steffen@sdaoden.eu) Received: by sdaoden.eu (Postfix, from userid 1000) id 14F6C16054; Thu, 7 May 2020 14:57:53 +0200 (CEST) Date: Thu, 07 May 2020 14:57:52 +0200 From: Steffen Nurpmeso To: Baptiste Daroussin Cc: current@FreeBSD.org Subject: Re: Move from termcap(5) to terminfo(5) Message-ID: <20200507125752.OhGX4%steffen@sdaoden.eu> In-Reply-To: <20200507124126.g4z5op4cyv45pmxn@ivaldir.net> References: <20200507124126.g4z5op4cyv45pmxn@ivaldir.net> Mail-Followup-To: Baptiste Daroussin , current@FreeBSD.org User-Agent: s-nail v14.9.19-42-g6235a28f OpenPGP: id=EE19E1C1F2F7054F8D3954D8308964B51883A0DD; url=https://ftp.sdaoden.eu/steffen.asc; preference=signencrypt BlahBlahBlah: Any stupid boy can crush a beetle. But all the professors in the world can make no bugs. X-Rspamd-Queue-Id: 49HtmS3nfMz48Nt X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-6.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.00)[] 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:58:01 -0000 Just my one cent. Baptiste Daroussin wrote in <20200507124126.g4z5op4cyv45pmxn@ivaldir.net>: |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 terminf\ |o(5) ... |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. If termcap is implemented by means of termcap and not by means of internally converting termcap to curses which then does the job, then termcap is a very small library and the terminal descriptions almost as powerful. They miss some keys, otherwise i do not know what they miss. Otherwise termcap is terribly expensive and my MUA tries to go for -ltinfo before falling back to -lcurses or -lcursesw. --steffen | |Der Kragenbaer, The moon bear, |der holt sich munter he cheerfully and one by one |einen nach dem anderen runter wa.ks himself off |(By Robert Gernhardt)