From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#48439: 28.0.50; Support for the Alacritty terminal emulator Date: Sat, 15 May 2021 16:29:47 +0300 Message-ID: <83o8dcw2es.fsf@gnu.org> References: <87y2cgcki3.fsf@gnu.org> <83y2cgw7xb.fsf@gnu.org> <87v97kcigu.fsf@gnu.org> <83r1i8w2yd.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3552"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 48439@debbugs.gnu.org To: tsdh@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat May 15 15:30:13 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 1lhuMu-0000hR-OR for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 15 May 2021 15:30:12 +0200 Original-Received: from localhost ([::1]:44862 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lhuMt-0005Gi-BY for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 15 May 2021 09:30:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38034) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lhuMk-0005EM-Mj for bug-gnu-emacs@gnu.org; Sat, 15 May 2021 09:30:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36322) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lhuMk-0000Va-E5 for bug-gnu-emacs@gnu.org; Sat, 15 May 2021 09:30:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lhuMk-0000XM-9V for bug-gnu-emacs@gnu.org; Sat, 15 May 2021 09:30:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 15 May 2021 13:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48439 X-GNU-PR-Package: emacs Original-Received: via spool by 48439-submit@debbugs.gnu.org id=B48439.16210853982031 (code B ref 48439); Sat, 15 May 2021 13:30:02 +0000 Original-Received: (at 48439) by debbugs.gnu.org; 15 May 2021 13:29:58 +0000 Original-Received: from localhost ([127.0.0.1]:47868 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lhuMf-0000Wh-Pt for submit@debbugs.gnu.org; Sat, 15 May 2021 09:29:58 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:44360) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lhuMe-0000WV-31 for 48439@debbugs.gnu.org; Sat, 15 May 2021 09:29:56 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:43078) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lhuMY-0000NQ-T5 for 48439@debbugs.gnu.org; Sat, 15 May 2021 09:29:50 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2158 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lhuMY-00013q-4d; Sat, 15 May 2021 09:29:50 -0400 In-Reply-To: <83r1i8w2yd.fsf@gnu.org> (message from Eli Zaretskii on Sat, 15 May 2021 16:18:02 +0300) 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:206604 Archived-At: > Date: Sat, 15 May 2021 16:18:02 +0300 > From: Eli Zaretskii > Cc: 48439@debbugs.gnu.org > > The question is how close. If it is 90% close, then using the alias > makes sense. But if it has enough unique features, then using an > alias will rob users of those features for no good reason. > > > > Do you know where I can find the terminfo database for Alacritty? > > > > I've attached an archive of the 3 alacritty files in my > > /usr/share/terminfo/a/ directory if that's what you were looking for. > > Thanks, but these files are not recognized by 'infocmp', which I tried > to use to decompile them (assuming they were terminfo files compiled > by 'tic'). Sorry, it seems I gave up too soon. Here are the results of comparing alacritty+common (the only file my infocmp recognized) with xterm-256color: comparing alacritty+common to xterm-256color. comparing booleans. ccc: F:T. hs: T:F. km: F:T. comparing numbers. colors: 8, 256. pairs: 64, 32767. comparing strings. dim: '\E[2m', NULL. dsl: '\E]2;\007', NULL. fsl: '^G', NULL. initc: NULL, '\E]4;%p1%d;rgb\:%p2%{255}%*%{1000}%/%2.2X/%p3%{255}%*%{1000}%/%2.2X/%p4%{255}%*%{1000}%/%2.2X\E\\'. kbs: '\177', '^H'. kmous: '\E[<', '\E[M'. rep: '%p1%c\E[%p2%{1}%-%db', NULL. ritm: '\E[23m', NULL. rmcup: '\E[?1049l\E[23;0;0t', '\E[?1049l'. setab: '\E[4%p1%dm', '\E[%?%p1%{8}%<%t4%p1%d%e%p1%{16}%<%t10%p1%{8}%-%d%e48;5;%p1%d%;m'. setaf: '\E[3%p1%dm', '\E[%?%p1%{8}%<%t3%p1%d%e%p1%{16}%<%t9%p1%{8}%-%d%e38;5;%p1%d%;m'. setb: '\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m', NULL. setf: '\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m', NULL. sgr: '%?%p9%t\E(0%e\E(B%;\E[0%?%p6%t;1%;%?%p5%t;2%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m', '%?%p9%t\E(0%e\E(B%;\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m'. sitm: '\E[3m', NULL. smcup: '\E[?1049h\E[22;0;0t', '\E[?1049h'. tsl: '\E]2;', NULL. u8: '\E[?%[;0123456789]c', '\E[?1;2c'. Looks quite extensive to me. Of particular importance are: the number of colors (not 256 but only 8 in alacritty), and different commands to set fore- and back-ground colors. Is there any way to raise these issues with the Alacritty developers? Maybe there's something here I don't understand (I don't consider myself an expert on terminal capabilities). Thanks.