View previous topic :: View next topic |
Author |
Message |
pun_guin Apprentice
Joined: 06 Feb 2018 Posts: 204
|
Posted: Sat May 26, 2018 8:15 pm Post subject: [SOLVED] urxvt does not have 256 colors |
|
|
While playing with dwm, I found the default st terminal to be lacking flexibility. (This might well be my own perception.) So I installed x11-terms/rxvt-unicode with the 256-colors USE flag enabled. However, trying to start anything even moderately complicated, like weechat or even vi, from urxvt results in the same error: "rxvt-unicode-256color" could not be found. I get the same error with st, but st has no USE flag for 256 colors at all.
What am I missing? _________________ I already use the new Genthree.
Last edited by pun_guin on Sun May 27, 2018 12:28 am; edited 1 time in total |
|
Back to top |
|
|
khayyam Watchman
Joined: 07 Jun 2012 Posts: 6227 Location: Room 101
|
Posted: Sat May 26, 2018 9:28 pm Post subject: Re: urxvt does not have 256 colors although I compiled it so |
|
|
pun_guin wrote: | [...] results in the same error: "rxvt-unicode-256color" could not be found. I get the same error with st, but st has no USE flag for 256 colors at all. |
pun_guin ... I doubt they are the same, st has the 'st-256color' TERM ... so always post the exact error. Anyhow, those "terminal capabilities/informations" are provided by ncurses ... and so they should be available:
Code: | % equery belongs -e /usr/share/terminfo/r/rxvt-unicode-256color
* Searching for /usr/share/terminfo/r/rxvt-unicode-256color ...
sys-libs/ncurses-6.0-r1 (/usr/share/terminfo/r/rxvt-unicode-256color) |
TERM seems to be set correctly but when weechat, vi, etc, query terminfo it's not providing those capabilities. Why, I can't say, is this musl?
best ... khay |
|
Back to top |
|
|
pun_guin Apprentice
Joined: 06 Feb 2018 Posts: 204
|
Posted: Sat May 26, 2018 9:37 pm Post subject: |
|
|
You are obviously right - I was typing the initial posting on my Windows machine while trying to make the Gentoo one work properly. My fault!
I get an empty result with equery - no, it's not musl...
In fact, /usr/share/terminfo is completely empty. According to emerge, sys-libs/ncurses is installed though (6.1-r2). _________________ I already use the new Genthree. |
|
Back to top |
|
|
khayyam Watchman
Joined: 07 Jun 2012 Posts: 6227 Location: Room 101
|
Posted: Sat May 26, 2018 11:56 pm Post subject: |
|
|
pun_guin wrote: | I get an empty result with equery - no, it's not musl... :? In fact, /usr/share/terminfo is completely empty. According to emerge, sys-libs/ncurses is installed though (6.1-r2). |
pun_guin ... ok, odd but that's obviously the cause, have you any useflags set that effect ncurses ... tinfo perhaps? If so, you probably should remove it, if not then re-merge the package.
Code: | # emerge --oneshot =sys-libs/ncurses-6.1-r2
# ls -l /usr/share/terminfo/r/rxvt-unicode-256color |
HTH & best ... khay |
|
Back to top |
|
|
pun_guin Apprentice
Joined: 06 Feb 2018 Posts: 204
|
Posted: Sun May 27, 2018 12:27 am Post subject: |
|
|
Ah-ha - solved!
tinfo is unset - I only have set cxx, minimal and unicode.
One would assume that "minimal" - I have set that for all packages in my make.conf - does not kill crucial features.
Unsetting "minimal" for ncurses populates my /usr/share/terminfo folder though... and that was that. vi and weechat start nicely from my urxvt now. Thank you! _________________ I already use the new Genthree. |
|
Back to top |
|
|
|