[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Using Emacs in fbterm.
From: |
Gregory Heytings |
Subject: |
Re: Using Emacs in fbterm. |
Date: |
Mon, 29 Aug 2022 19:29:32 +0000 |
Indeed, if I set TERM to fbterm I now see what you described. Perhaps
Emacs doesn't know that TERM=fbterm means that only eight colors are
available?
What does the terminfo DB say about commands to set color on fbterm?
Here's the comparison of the relevant entries between linux and fbterm.
I don't know where the fbterm entries come from, they seem to be based on
some patched version.
$ infocmp -d linux fbterm
colors: 8, 256.
pairs: 64, 32767.
initc:
'\E]P%p1%x%p2%{255}%*%{1000}%/%02x%p3%{255}%*%{1000}%/%02x%p4%{255}%*%{1000}%/%02x',
'\E[3;%p1%d;%p2%d;%p3%d;%p4%d}'.
setab: '\E[4%p1%dm', '\E[2;%p1%d}'.
setaf: '\E[3%p1%dm', '\E[1;%p1%d}'.
setb: NULL, '\E[2;%p1%d}'.
setf: NULL, '\E[1;%p1%d}'.
sgr:
'\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;m%?%p9%t\016%e\017%;',
'\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;11%;m'.
sgr0: '\E[m\017', '\E[0;10m'.
- Using Emacs in fbterm., Alan Mackenzie, 2022/08/29
- Re: Using Emacs in fbterm., Eli Zaretskii, 2022/08/29
- Re: Using Emacs in fbterm., Alan Mackenzie, 2022/08/29
- Re: Using Emacs in fbterm., Eli Zaretskii, 2022/08/29
- Re: Using Emacs in fbterm., Gregory Heytings, 2022/08/29
- Re: Using Emacs in fbterm., Eli Zaretskii, 2022/08/29
- Re: Using Emacs in fbterm.,
Gregory Heytings <=
- Re: Using Emacs in fbterm., Eli Zaretskii, 2022/08/29
- Re: Using Emacs in fbterm., Gregory Heytings, 2022/08/29
- Re: Using Emacs in fbterm., Gregory Heytings, 2022/08/29
- Re: Using Emacs in fbterm., Andreas Schwab, 2022/08/29
- Re: Using Emacs in fbterm., Gregory Heytings, 2022/08/29
- Re: Using Emacs in fbterm., Andreas Schwab, 2022/08/29
- Re: Using Emacs in fbterm., Gregory Heytings, 2022/08/29
- Re: Using Emacs in fbterm., Alan Mackenzie, 2022/08/29
- Re: Using Emacs in fbterm., Gregory Heytings, 2022/08/29
- Re: Using Emacs in fbterm., Gregory Heytings, 2022/08/29