From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: chohag--- via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#69598: 29.2; colour support based on $TERM value not terminfo database Date: Wed, 06 Mar 2024 23:01:46 +0000 Message-ID: <202403062301.426N1ms7277304@zeus.jtan.com> Reply-To: chohag@jtan.com Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15012"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Jeremie Courreges-Anglas To: 69598@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Mar 07 00:23:45 2024 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 1ri0bx-0003hv-6N for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 07 Mar 2024 00:23:45 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ri0bm-0000bP-I7; Wed, 06 Mar 2024 18:23:34 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ri0bj-0000ap-VJ for bug-gnu-emacs@gnu.org; Wed, 06 Mar 2024 18:23:32 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ri0bj-0003xp-NF for bug-gnu-emacs@gnu.org; Wed, 06 Mar 2024 18:23:31 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ri0cE-0008Nr-AC for bug-gnu-emacs@gnu.org; Wed, 06 Mar 2024 18:24:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: chohag@jtan.com Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 06 Mar 2024 23:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 69598 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.170976741832194 (code B ref -1); Wed, 06 Mar 2024 23:24:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 6 Mar 2024 23:23:38 +0000 Original-Received: from localhost ([127.0.0.1]:51854 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ri0bo-0008N9-H1 for submit@debbugs.gnu.org; Wed, 06 Mar 2024 18:23:38 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:44296) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ri0HY-0007pY-OW for submit@debbugs.gnu.org; Wed, 06 Mar 2024 18:02:41 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ri0H0-0004X7-Ah for bug-gnu-emacs@gnu.org; Wed, 06 Mar 2024 18:02:06 -0500 Original-Received: from 239-he.filtered.junkemailfilter.com ([184.105.182.239]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ri0Gy-0005yW-BU for bug-gnu-emacs@gnu.org; Wed, 06 Mar 2024 18:02:05 -0500 Original-Received: from [184.105.182.254] (port=56694 helo=mailout.jtan.com) (helo=mailout.jtan.com) by outscan.junkemailfilter.com with esmtp (JEF) id 1ri0Gx-0007EO-4F (on interface=184.105.182.200); Wed, 06 Mar 2024 15:02:03 -0800 Original-Received: from mail.jtan.com (localhost [127.0.0.1]) by mailout.jtan.com (Postfix) with ESMTP id DE1D0F84885; Wed, 6 Mar 2024 23:01:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=jtan.com; s=jtan8; t=1709766109; bh=Uokp7hwCP4P+MEdugvdK27b6JI6l2v9vC/DfTCs4SCU=; h=From:To:cc:Subject:Date:From:Reply-To:To:Date:Subject; b=NUuTI2lQf4OQoc6wnUHQ6hR1jsAM8+zjvKPvEEwMi6o6ie4w4FOH+WNs+QRxdF1uG hyj114K1RQbxK5ohLvWmB1+gKUUBTewwUw1E22ZEkrAHUbtnyXrJAsBlkq4wcbkRLS BCmM7ottUcADyUZGZ3XEqxiZ1CwW45S8mR/Ypt39CbtVPKRzfxVtLf/cSnS/FpSvpL TgjJ5HzaOTohi1rxtk7ApwMuo7bIn16GkYyiozdNON7tNUKtozxxt/asC+6B4EYR58 9Tkplb3Ql5IdZo5lF2CNrBNnPBVN+t/kqc/7usm2EsYSGbGsupQIfLqxqEeDy6rLZf 6m9vXPYTywRMA== Original-Received: from zeus.jtan.com (localhost [127.0.0.1]) by mail.jtan.com with ESMTPS id 426N1m3a277307 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Wed, 6 Mar 2024 23:01:49 GMT Original-Received: (from chohag@localhost) by zeus.jtan.com (8.15.2/8.14.4/Submit) id 426N1ms7277304; Wed, 6 Mar 2024 23:01:48 GMT Content-ID: <26514.1709766106.1@llama.datum> X-Spamfilter-host: outscan.junkemailfilter.com - http://www.junkemailfilter.com X-Key-ID: amNhQHd4Y3Zibi5vcmcgY2hvaGFnQHpldXMuanRhbi5jb20gMjAyNC0wMy0wNiAxNTowMjowMy4xNTAgMXJpMEd4LTAwMDdFTy00Rg== X-Content-flags: advice aging auto base64 busbi chinese compat compile composite composition compression confirmed current custom dashes date direct email european format freetype fundamental identical image important indian info infocmp infodir information integration intervals korea maintainer man media message notify opt password phone-num prefix process prog properties property register replace report states term terminfo tramp trampver transient transl uniquify unix utf-8 webp win windmove window works X-Domain-list: jtan.com gnu.org wxcvbn.org X-Outscan: http://www.junkemailfilter.com Received-SPF: none client-ip=184.105.182.239; envelope-from=chohag@zeus.jtan.com; helo=239-he.filtered.junkemailfilter.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Wed, 06 Mar 2024 18:23:35 -0500 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:281132 Archived-At: (CC'd OpenBSD maintainer in case it's a packaging issue somehow) Emacs with direct colour works only if $TERM is set to xterm-direct. Even if $TERM refers to a terminfo entry that is identical (confirmed by infocmp): turtle-direct|Test Emacs,use=xterm-direct, Within xterm, if TERM is set to turtle-direct and emacs launched with -nw, list-colors-display only lists 8 colours. I am on OpenBSD -current as of a day or so ago. I haven't tested any other values of $TERM and don't know of any with direct colour support anyway. --- auto report below In GNU Emacs 29.2 (build 1, x86_64-unknown-openbsd, GTK+ Version 3.24.41, cairo version 1.18.0) of 2024-03-04 built on amd64.ports.openbsd.org System Description: OpenBSD llama.datum 7.5 GENERIC.MP#54 amd64 Configured using: 'configure --build=amd64-unknown-openbsd --without-sound --with-x-toolkit=gtk3 --prefix=/usr/local --sysconfdir=/etc --mandir=/usr/local/man --infodir=/usr/local/info --localstatedir=/var --disable-silent-rules --disable-gtk-doc 'CFLAGS=-O2 -pipe -g' CPPFLAGS=-I/usr/local/include 'LDFLAGS=-L/usr/local/lib -g'' Configured features: CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBXML2 M17N_FLT MODULES NOTIFY KQUEUE PDUMPER PNG RSVG SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB Important settings: value of $LANG: C.UTF-8 locale-coding-system: utf-8-unix Major mode: Fundamental Minor modes in effect: shell-dirtrack-mode: t windmove-mode: t tooltip-mode: t global-eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t file-name-shadow-mode: t blink-cursor-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message mailcap yank-media puny rfc822 mml mml-sec epa epg rfc6068 epg-config gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils tabify macros cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs cua-base align tmm text-property-search sh-script smie treesit executable dired-aux dired dired-loaddefs misearch multi-isearch conf-mode vc-git diff-mode vc-dispatcher cperl-mode facemenu term/screen term/xterm xterm tramp tramp-loaddefs trampver tramp-integration files-x tramp-compat rx parse-time iso8601 time-date format-spec evil evil-keybindings evil-integration evil-maps evil-commands ffap url-parse auth-source eieio eieio-core password-cache json map byte-opt bytecomp byte-compile url-vars reveal flyspell ispell evil-jumps evil-command-window evil-search evil-ex shell subr-x pcomplete comint ansi-osc ansi-color evil-types evil-macros evil-repeat evil-states evil-core evil-common windmove calc calc-loaddefs calc-macs thingatpt rect evil-digraphs evil-vars ring edmacro kmacro undo-tree derived easy-mmode cl-extra help-mode cl-seq cl-macs gv diff cl-loaddefs cl-lib advice rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind kqueue lcms2 dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit xinput2 x multi-tty make-network-process emacs) Memory information: ((conses 16 320087 46442) (symbols 48 18980 1) (strings 32 53946 2567) (string-bytes 1 1782815) (vectors 16 31174) (vector-slots 8 1018498 154632) (floats 8 64 251) (intervals 56 7633 2000) (buffers 984 37))