Subject: bug#48439: 28.0.50; Support for the Alacritty terminal emulator

From: Eli Zaretskii <[email-masked]>
Date: Sat, 15 May 2021 14:30:40 +0300

> From: Tassilo Horn <[email-masked]>
> 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?