st terminal: Can't distinguish ctermfg=7 and ctermfg=15
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I've noticed that with default config.h
of st, when I try to invoke vim
inside st
, there's no difference between white color ctermfg=7
and ctermfg=15
.
Here I expect 7
will have less-white than 15
but I see no difference with :hi
How to change this behavior?
Resolved: I change the correct color in array colorname
and rebuild.
vim suckless-terminal
add a comment |Â
up vote
0
down vote
favorite
I've noticed that with default config.h
of st, when I try to invoke vim
inside st
, there's no difference between white color ctermfg=7
and ctermfg=15
.
Here I expect 7
will have less-white than 15
but I see no difference with :hi
How to change this behavior?
Resolved: I change the correct color in array colorname
and rebuild.
vim suckless-terminal
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I've noticed that with default config.h
of st, when I try to invoke vim
inside st
, there's no difference between white color ctermfg=7
and ctermfg=15
.
Here I expect 7
will have less-white than 15
but I see no difference with :hi
How to change this behavior?
Resolved: I change the correct color in array colorname
and rebuild.
vim suckless-terminal
I've noticed that with default config.h
of st, when I try to invoke vim
inside st
, there's no difference between white color ctermfg=7
and ctermfg=15
.
Here I expect 7
will have less-white than 15
but I see no difference with :hi
How to change this behavior?
Resolved: I change the correct color in array colorname
and rebuild.
vim suckless-terminal
vim suckless-terminal
edited Sep 27 at 18:15
asked Sep 27 at 16:06
Tuyen Pham
30510
30510
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
3
down vote
% infocmp -1 st|grep -E '(colors|setaf)'
colors#8,
setaf=E[3%p1%dm,
%
The terminfo database entry for Simple Terminal tells the world that it supports 8 colours, and provides no mechanism for specifying more than 8 colours. That world includes VIM and every other program that uses terminfo.
% infocmp -1 st-256color|grep -E '(colors|setaf)'
st-256color|stterm-256color|simpleterm with 256 colors,
colors#256,
setaf=E[%?%p1%8%<%t3%p1%d%e%p1%16%<%t9%p1%8%-%d%e38;5;%p1%d%;m,
%
If you want to convince the (terminfo-using part of the) world that Simple Terminal supports 256 colours, and tell it how to use those 256 colours, you need to specify a different terminal type.
st
does support 256 color.
â Tuyen Pham
Sep 27 at 18:13
1
And I just told you what to do to convince the world of that.
â JdeBP
Sep 27 at 18:23
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
3
down vote
% infocmp -1 st|grep -E '(colors|setaf)'
colors#8,
setaf=E[3%p1%dm,
%
The terminfo database entry for Simple Terminal tells the world that it supports 8 colours, and provides no mechanism for specifying more than 8 colours. That world includes VIM and every other program that uses terminfo.
% infocmp -1 st-256color|grep -E '(colors|setaf)'
st-256color|stterm-256color|simpleterm with 256 colors,
colors#256,
setaf=E[%?%p1%8%<%t3%p1%d%e%p1%16%<%t9%p1%8%-%d%e38;5;%p1%d%;m,
%
If you want to convince the (terminfo-using part of the) world that Simple Terminal supports 256 colours, and tell it how to use those 256 colours, you need to specify a different terminal type.
st
does support 256 color.
â Tuyen Pham
Sep 27 at 18:13
1
And I just told you what to do to convince the world of that.
â JdeBP
Sep 27 at 18:23
add a comment |Â
up vote
3
down vote
% infocmp -1 st|grep -E '(colors|setaf)'
colors#8,
setaf=E[3%p1%dm,
%
The terminfo database entry for Simple Terminal tells the world that it supports 8 colours, and provides no mechanism for specifying more than 8 colours. That world includes VIM and every other program that uses terminfo.
% infocmp -1 st-256color|grep -E '(colors|setaf)'
st-256color|stterm-256color|simpleterm with 256 colors,
colors#256,
setaf=E[%?%p1%8%<%t3%p1%d%e%p1%16%<%t9%p1%8%-%d%e38;5;%p1%d%;m,
%
If you want to convince the (terminfo-using part of the) world that Simple Terminal supports 256 colours, and tell it how to use those 256 colours, you need to specify a different terminal type.
st
does support 256 color.
â Tuyen Pham
Sep 27 at 18:13
1
And I just told you what to do to convince the world of that.
â JdeBP
Sep 27 at 18:23
add a comment |Â
up vote
3
down vote
up vote
3
down vote
% infocmp -1 st|grep -E '(colors|setaf)'
colors#8,
setaf=E[3%p1%dm,
%
The terminfo database entry for Simple Terminal tells the world that it supports 8 colours, and provides no mechanism for specifying more than 8 colours. That world includes VIM and every other program that uses terminfo.
% infocmp -1 st-256color|grep -E '(colors|setaf)'
st-256color|stterm-256color|simpleterm with 256 colors,
colors#256,
setaf=E[%?%p1%8%<%t3%p1%d%e%p1%16%<%t9%p1%8%-%d%e38;5;%p1%d%;m,
%
If you want to convince the (terminfo-using part of the) world that Simple Terminal supports 256 colours, and tell it how to use those 256 colours, you need to specify a different terminal type.
% infocmp -1 st|grep -E '(colors|setaf)'
colors#8,
setaf=E[3%p1%dm,
%
The terminfo database entry for Simple Terminal tells the world that it supports 8 colours, and provides no mechanism for specifying more than 8 colours. That world includes VIM and every other program that uses terminfo.
% infocmp -1 st-256color|grep -E '(colors|setaf)'
st-256color|stterm-256color|simpleterm with 256 colors,
colors#256,
setaf=E[%?%p1%8%<%t3%p1%d%e%p1%16%<%t9%p1%8%-%d%e38;5;%p1%d%;m,
%
If you want to convince the (terminfo-using part of the) world that Simple Terminal supports 256 colours, and tell it how to use those 256 colours, you need to specify a different terminal type.
answered Sep 27 at 16:55
JdeBP
30k462137
30k462137
st
does support 256 color.
â Tuyen Pham
Sep 27 at 18:13
1
And I just told you what to do to convince the world of that.
â JdeBP
Sep 27 at 18:23
add a comment |Â
st
does support 256 color.
â Tuyen Pham
Sep 27 at 18:13
1
And I just told you what to do to convince the world of that.
â JdeBP
Sep 27 at 18:23
st
does support 256 color.â Tuyen Pham
Sep 27 at 18:13
st
does support 256 color.â Tuyen Pham
Sep 27 at 18:13
1
1
And I just told you what to do to convince the world of that.
â JdeBP
Sep 27 at 18:23
And I just told you what to do to convince the world of that.
â JdeBP
Sep 27 at 18:23
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f471873%2fst-terminal-cant-distinguish-ctermfg-7-and-ctermfg-15%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password