emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#41846: closed ([PATCH] Fix 24-bit direct TTY colors on FreeBSD)


From: GNU bug Tracking System
Subject: bug#41846: closed ([PATCH] Fix 24-bit direct TTY colors on FreeBSD)
Date: Sat, 20 Jun 2020 08:34:01 +0000

Your message dated Sat, 20 Jun 2020 11:32:55 +0300
with message-id <83eeqaw30o.fsf@gnu.org>
and subject line Re: bug#41846: [PATCH] Fix 24-bit direct TTY colors on FreeBSD
has caused the debbugs.gnu.org bug report #41846,
regarding [PATCH] Fix 24-bit direct TTY colors on FreeBSD
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
41846: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=41846
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH] Fix 24-bit direct TTY colors on FreeBSD Date: Sun, 14 Jun 2020 06:49:31 +0200
FreeBSD only ships with /etc/termcap. However, termcap is limited to 2
arguments while RGB colors require 3. To support RGB add a fallback via
COLORTERM, using semicolon version for better compatibility.

https://unix.stackexchange.com/questions/512845/emacs-with-24bit-terminal-support-on-freebsd
https://gist.github.com/XVilka/8346728#true-color-detection
https://github.com/alacritty/alacritty/issues/1485

Test case:
$ pkg install emacs-devel-nox alacritty libxkbcommon mesa-dri dejavu
$ alacritty
$ env -u COLORTERM emacs -nw -Q -f list-colors-display
$ env COLORTERM=rxvt emacs -nw -Q -f list-colors-display
$ env COLORTERM=truecolor emacs -nw -Q -f list-colors-display

Attachment: rgb.colorterm.diff
Description: Fix with a commit message


--- End Message ---
--- Begin Message --- Subject: Re: bug#41846: [PATCH] Fix 24-bit direct TTY colors on FreeBSD Date: Sat, 20 Jun 2020 11:32:55 +0300
> From: Jan Beich <jbeich@FreeBSD.org>
> Date: Sun, 14 Jun 2020 06:49:31 +0200
> 
> FreeBSD only ships with /etc/termcap. However, termcap is limited to 2
> arguments while RGB colors require 3. To support RGB add a fallback via
> COLORTERM, using semicolon version for better compatibility.
> 
> https://unix.stackexchange.com/questions/512845/emacs-with-24bit-terminal-support-on-freebsd
> https://gist.github.com/XVilka/8346728#true-color-detection
> https://github.com/alacritty/alacritty/issues/1485
> 
> Test case:
> $ pkg install emacs-devel-nox alacritty libxkbcommon mesa-dri dejavu
> $ alacritty
> $ env -u COLORTERM emacs -nw -Q -f list-colors-display
> $ env COLORTERM=rxvt emacs -nw -Q -f list-colors-display
> $ env COLORTERM=truecolor emacs -nw -Q -f list-colors-display

Thanks, I installed the changes on the master branch.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]