From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#51297: 28.0.60; [PATCH] Update termcap/terminfo to indicate 16-color support Date: Sat, 30 Oct 2021 08:53:57 -0700 Message-ID: References: <5317d810-ac3c-23e3-e017-a057406ec6b8@gmail.com> <87y26om74o.fsf@miha-pc> <5faa033c-c708-6f49-d09c-a4845e872b92@gmail.com> <87v91rcso0.fsf@miha-pc> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22193"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: Jim Porter , 51297@debbugs.gnu.org To: miha@kamnitnik.top Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Oct 30 17:55:10 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mgqhK-0005V4-QX for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 30 Oct 2021 17:55:10 +0200 Original-Received: from localhost ([::1]:53756 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mgqhI-0000nk-VW for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 30 Oct 2021 11:55:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45162) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mgqhC-0000na-Ga for bug-gnu-emacs@gnu.org; Sat, 30 Oct 2021 11:55:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46685) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mgqhC-00017c-7W for bug-gnu-emacs@gnu.org; Sat, 30 Oct 2021 11:55:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mgqhC-00083g-0O for bug-gnu-emacs@gnu.org; Sat, 30 Oct 2021 11:55:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 30 Oct 2021 15:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51297 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 51297-submit@debbugs.gnu.org id=B51297.163560924730889 (code B ref 51297); Sat, 30 Oct 2021 15:55:01 +0000 Original-Received: (at 51297) by debbugs.gnu.org; 30 Oct 2021 15:54:07 +0000 Original-Received: from localhost ([127.0.0.1]:58231 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mgqgJ-000829-1m for submit@debbugs.gnu.org; Sat, 30 Oct 2021 11:54:07 -0400 Original-Received: from mail-pl1-f175.google.com ([209.85.214.175]:34678) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mgqgF-000816-Rj for 51297@debbugs.gnu.org; Sat, 30 Oct 2021 11:54:04 -0400 Original-Received: by mail-pl1-f175.google.com with SMTP id r5so8852262pls.1 for <51297@debbugs.gnu.org>; Sat, 30 Oct 2021 08:54:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:in-reply-to:references:user-agent :mime-version:date:message-id:subject:to:cc; bh=BE4j37/0RTmYkhASAxDhCwYfQaE9Xz8wCuRp3LTjgDU=; b=G3trvkpzn/AJ+6/djvfdAKGshj21yZx5vwfe7QIdsnXmb2nTGFFj+C5zQCZ/lZap8I axlaCS5UPOJaC0COPoOT1tQBfNmWL/D94TsGkqIRaBCXCZuvPa+dsCYr6UVC3h3IyrqN JCN95LWkPzDKRd8sTEnKHahv1+djphlDMHanvqs3ZVk5KDwIByJpTa+5vdohKhGO5G5C tT0J/dpnGMsmpWJMccYm3oUknIgTvMSFjyfZXpqz1haV3jb+45myNV9TgvqEDvAJ7HdA M+FxqJwLo7pJpQMedpRf+2HKLjQsLov/oZPTJ5s8yRc/fa2kc7ZhgmDhrajSdp1QjIR1 GUcA== X-Gm-Message-State: AOAM531y+RyvSTe+Auo1LxUAJIPRbBYaPPMtExteJbr8iGGa/rt4iUZg X+Mu7DNUJZFxD5Ty0cMqKphKRKJB4A9z2HzLsCo= X-Google-Smtp-Source: ABdhPJwcNQWNGoq5g5I7HkLckz5sEcQ1MvpfdgX1xVoKA0F7AqAa4EVfg9Z2pzY9mOa5DlY4qmhtLMQTikMvx76uugA= X-Received: by 2002:a17:90a:be10:: with SMTP id a16mr16643831pjs.133.1635609238234; Sat, 30 Oct 2021 08:53:58 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sat, 30 Oct 2021 08:53:57 -0700 In-Reply-To: <87v91rcso0.fsf@miha-pc> (miha@kamnitnik.top's message of "Wed, 20 Oct 2021 23:06:39 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:218622 Archived-At: writes: > That's why I think its best to keep using 'TERM=eterm-color' and simply update > the terminfo file. Since all our updates to this file are backwards-compatible, > there shouldn't be any major problems even if the terminfo database on the ssh > host isn't up to date. A problem does arise in the opposite case when the > terminfo database on the host is up to date but the ssh client is term.el from > Emacs version 27 or older. TUI programs will think they can output sequences > that the older term.el doesn't understand, but I think that term.el handles > unknown sequences quite gracefully by simply ignoring them. If they are ignored, I see no problem here. Someone should perhaps double-check that this is indeed the case? > After Emacs-28 is released, we should probably talk to the ncurses maintainer > about updating the eterm-color terminfo file distributed with the ncurses > package. From my understanding, the option I described in the previous > paragraph is also the proffered way to update terminfo files in the ncurses > package. Are there any other terminfo files elsewhere that are worth updating, or do they generally just base themselves on ncurses?