[Top][All Lists]

[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.
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}'.
sgr0: '\E[m\017', '\E[0;10m'.

reply via email to

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