From owner-freebsd-ports@freebsd.org Thu Apr 30 07:53:39 2020 Return-Path: Delivered-To: freebsd-ports@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 47C332B40F3; Thu, 30 Apr 2020 07:53:39 +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 49CSLW0yjKz4QRs; Thu, 30 Apr 2020 07:53:39 +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 0432414FAF; Thu, 30 Apr 2020 07:53:39 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: by ivaldir.etoilebsd.net (Postfix, from userid 1001) id A797D4976B; Thu, 30 Apr 2020 09:53:37 +0200 (CEST) Date: Thu, 30 Apr 2020 09:53:37 +0200 From: Baptiste Daroussin To: Cy Schubert Cc: freebsd-current@freebsd.org, freebsd-ports@freebsd.org Subject: Re: sysutils/screen-ncurses port Message-ID: <20200430075337.3wdzglshhorcd2qn@ivaldir.net> References: <202004291841.03TIfkZh081308@slippy.cwsent.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="vwrr5drfobpkyvop" Content-Disposition: inline In-Reply-To: <202004291841.03TIfkZh081308@slippy.cwsent.com> X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Apr 2020 07:53:39 -0000 --vwrr5drfobpkyvop Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Apr 29, 2020 at 11:41:46AM -0700, Cy Schubert wrote: > Would people be open to the idea of a sysutils/screen-ncurses port that= =20 > depends on devel/ncurses instead of ncureses in base? The reason for this= =20 > is there are screen.* terminfo entries in devel/ncurses that don't exist = in=20 > termcap(5). People who want that extra functionality would be advised to= =20 > install the alternative pkg or build the sysutils/screen port with the=20 > appropriate option. >=20 > Or, simply change the default from whatever ncurses is available to alway= s=20 > install devel/ncurses. People could always select one of the other option= s.=20 > Personally, I'm not enamoured with this approach. I think it is a terrible idea, and we should fix the initial problem instea= d of workarounding it. 1/ why those are not in our termcap(5) ? they should be added if they are missing. and MFC asap (prior 11.4 and 12.2 would be nice) 2/ we should allow our base ncurses to get informations from newer termcap(= 5) if needed. So far the default TERMCAP is ${HOME}/.termcap{,.db}:/etc/termcap{,.db}:/usr/share/misc/termcap{,.db} First the user can be advise to point configure the $home/.termcap this is = for quick now. Second for later futur proof mechanism we could modify our termcap reader (= we use our own, not the one in provided by ncurses). to be able to fetch termc= ap capabilities from /usr/local/share/misc/termcap/*.conf for example This way ports with random termcap info to add would be able to do it witho= ut the requirement to wait for a commit in base and a MFC. Best regards, Bapt --vwrr5drfobpkyvop Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEgOTj3suS2urGXVU3Y4mL3PG3PloFAl6qg/4ACgkQY4mL3PG3 PlrJNA//aYWkqDHtiN/wmFRANRvb8Yf+yaVvvFssytVT2BuN6w7WrPNOpIXCtigE VmTJOWZdIlvE/ofUaqch2o8+MjJJLe/tKc7jhkYx6K1EMQNY1RLXhM5jwdKSE1XG /28+YYecstA5iLd8Juw+7zFoav6H1xJNSOXeuk0kUPuFXDkiINYBe+Xo9mNmpZ4J nZfoDg/sAFG0WoRsWyrhabIsv7C6ptAt8j4BcAD5Nj9jUn2+B49ir3YeaLaJfe90 ecorsaRVghTzGBaDcS2opgPP5jaJL1SVwLsKINb13V4hyyibIykh5dFeNFxmQihE /0oh1Pmk/nHCqPq2sILCogtIcrMgljFFU9PCmh17DHFkGp25Lm/JsfZKeKgCc8G1 ObjxtNfjzZrd5nAlS45RSPqGQUbsnGyfTjlzv1FDE7KHB7b64EsQktTiRIz2Xpuy DzTm8CaQqTh49DA4g96Y7hkT7GygSBd8wC2ZudmbXd/nZoyeBT5ILM72TK6YvmRB POOoYQ9YHdOz2yTMcLPbC0zMrLbVuzXsjr5FdQ1R4JgYGYhrpz20rDr7lL3uZK6x e8TSwBAvkezN28pQbQD7VV1oEfpwkma+LCksUKXUEKhRvvf5/1hMSvy3sgPwYt6k 10LqFcWbJS93W8xmK/cptA+sBmzM1sc20m1rEYbY8LhLFb6DIWg= =uTC4 -----END PGP SIGNATURE----- --vwrr5drfobpkyvop--