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 14:30:40 +0300 Message-ID: <83y2cgw7xb.fsf@gnu.org> References: <87y2cgcki3.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20618"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 48439@debbugs.gnu.org To: Tassilo Horn Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat May 15 13:36:20 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 1lhsai-0005CY-Lk for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 15 May 2021 13:36:20 +0200 Original-Received: from localhost ([::1]:50810 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lhsah-0004XM-Mu for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 15 May 2021 07:36:19 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45988) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lhsVa-0008Iw-4W for bug-gnu-emacs@gnu.org; Sat, 15 May 2021 07:31:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36214) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lhsVZ-0001iN-Rn for bug-gnu-emacs@gnu.org; Sat, 15 May 2021 07:31:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lhsVZ-0004sP-Nd for bug-gnu-emacs@gnu.org; Sat, 15 May 2021 07:31:01 -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 11:31:01 +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.162107825218175 (code B ref 48439); Sat, 15 May 2021 11:31:01 +0000 Original-Received: (at 48439) by debbugs.gnu.org; 15 May 2021 11:30:52 +0000 Original-Received: from localhost ([127.0.0.1]:47760 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lhsVP-0004il-Kz for submit@debbugs.gnu.org; Sat, 15 May 2021 07:30:51 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:52236) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lhsVN-0004cQ-VH for 48439@debbugs.gnu.org; Sat, 15 May 2021 07:30:50 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:40986) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lhsVI-0001YN-Kd for 48439@debbugs.gnu.org; Sat, 15 May 2021 07:30:44 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2040 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 1lhsVF-0003Ih-Lj; Sat, 15 May 2021 07:30:42 -0400 In-Reply-To: <87y2cgcki3.fsf@gnu.org> (message from Tassilo Horn on Sat, 15 May 2021 13:07:59 +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:206593 Archived-At: > From: Tassilo Horn > Date: Sat, 15 May 2021 13:07:59 +0200 > > So I can either set TERM=xterm-256color in my Alacritty config or use > the following patch to alias alacritty to xterm in Emacs. > > --8<---------------cut here---------------start------------->8--- > 1 file changed, 1 insertion(+), 1 deletion(-) > lisp/faces.el | 2 +- > > modified lisp/faces.el > @@ -46,7 +46,7 @@ term-file-aliases > ("vt320" . "vt200") > ("vt400" . "vt200") > ("vt420" . "vt200") > - ) > + ("alacritty" . "xterm")) > "Alist of terminal type aliases. > Entries are of the form (TYPE . ALIAS), where both elements are strings. > This means to treat a terminal of type TYPE as if it were of type ALIAS." > --8<---------------cut here---------------end--------------->8--- > > IMHO, it would make sense to have that alias is place at least until > someone comes up with "proper" support for Alacritty. Is Alacritty really similar to 256-color xterm? What are the differences? Do you know where I can find the terminfo database for Alacritty?