From owner-freebsd-current@freebsd.org Thu May 7 13:21:57 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 621582D9007 for ; Thu, 7 May 2020 13:21:57 +0000 (UTC) (envelope-from mpp302@gmail.com) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 49HvJ50w51z49xR for ; Thu, 7 May 2020 13:21:57 +0000 (UTC) (envelope-from mpp302@gmail.com) Received: by mailman.nyi.freebsd.org (Postfix) id 1F5132D9006; Thu, 7 May 2020 13:21:57 +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 1F1502D9005 for ; Thu, 7 May 2020 13:21:57 +0000 (UTC) (envelope-from mpp302@gmail.com) Received: from mail-wr1-f50.google.com (mail-wr1-f50.google.com [209.85.221.50]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49HvJ42Lj9z49xH; Thu, 7 May 2020 13:21:56 +0000 (UTC) (envelope-from mpp302@gmail.com) Received: by mail-wr1-f50.google.com with SMTP id x17so6369085wrt.5; Thu, 07 May 2020 06:21:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=C0cvV2FJXoVDTM2koiUz4SlbNkUHL5pU1d0Mt0MyRp0=; b=U6opMQHCljmkMd1/BquDqgu9tDG+RcG49oDDMyecQmeZHpxPnXeJr1bjoibc+ICVXB WfSHwvq1dg3U1ddq0wu3cWU/frUFvzseF9pv/hvvMEB4HxL7SnFpu8XTACRyptTVV4uG p8lG4O7RFrSvOqh2HY3CGiEAuW4LGoJsN5PQz1SSg8N8WLun/y7icfc1wrD/5Suh7xhw VT3sANgHAI+YpCyMNs7HHarkQ3Wwd8YQL5UiW422+EqxJCBTVrP+lLfz9QiQ/hEpEXoV Si4b1LMfs3spDadOsCpqAvn9VUvhosjHxo7zIFyfE1eDGHma9Tz/Z4lkh4nu63Ky6gUO TQJA== X-Gm-Message-State: AGi0PuazFtWZrdmXp8ZOBjarbafu1DstfL9OO1F6s/0X+3J+mFANZ/M7 YQV99pMUyqUSxRSwIQJgowfZ8Gte X-Google-Smtp-Source: APiQypLdN9boTduVFdyE5oY+a9PTnTEalJAa1Jf6rRlImTmW0WoWJlRtaKbHJ8WCOguUJXUDatH2HQ== X-Received: by 2002:adf:e7cb:: with SMTP id e11mr14642953wrn.145.1588857714453; Thu, 07 May 2020 06:21:54 -0700 (PDT) Received: from ?IPv6:2a02:8109:98c0:1bc0:5e5f:67ff:fef4:ffd8? ([2a02:8109:98c0:1bc0:5e5f:67ff:fef4:ffd8]) by smtp.gmail.com with ESMTPSA id h17sm8139144wmm.6.2020.05.07.06.21.53 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 07 May 2020 06:21:53 -0700 (PDT) Subject: Re: Move from termcap(5) to terminfo(5) To: Baptiste Daroussin , current@FreeBSD.org References: <20200507124126.g4z5op4cyv45pmxn@ivaldir.net> From: Mateusz Piotrowski <0mp@FreeBSD.org> Message-ID: Date: Thu, 7 May 2020 15:22:20 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: <20200507124126.g4z5op4cyv45pmxn@ivaldir.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Rspamd-Queue-Id: 49HvJ42Lj9z49xH X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of mpp302@gmail.com designates 209.85.221.50 as permitted sender) smtp.mailfrom=mpp302@gmail.com X-Spamd-Result: default: False [-2.21 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[FreeBSD.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; IP_SCORE(-0.21)[ip: (-0.20), ipnet: 209.85.128.0/17(-0.39), asn: 15169(-0.43), country: US(-0.05)]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[50.221.85.209.list.dnswl.org : 127.0.5.0]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; FORGED_SENDER(0.30)[0mp@FreeBSD.org,mpp302@gmail.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[50.221.85.209.rep.mailspike.net : 127.0.0.17]; MIME_TRACE(0.00)[0:+]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[0mp@FreeBSD.org,mpp302@gmail.com] 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:21:57 -0000 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