-
Notifications
You must be signed in to change notification settings - Fork 247
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Broken with >=ncurses-6.4_p20230408 (OpenRC abuses tparm API) #619
Comments
i don't super care whether we switch to the full curses API or hardcode ANSI sequences. our usage is so low that we can get by with ANSI. all we really need is logic to determine whether we should be using sequences at all (e.g. the "dumb" terminal or a pipe). |
I'm on Gentoo Linux and because of this "bug" I cannot install newer tmux version, since OpenRC requires the old ncurses version but that conflicts with the latest tmux. This is true for every application that requires a newer ncurses. IMO something as essential as OpenRC should NOT depend on ncurses. |
Remove the curses code and make the HAVE_TERMCAP-gated "fallbacks" always present. X-Gentoo-Bug: https://bugs.gentoo.org/904277 Closes: OpenRC#619
Remove the curses code and make the HAVE_TERMCAP-gated "fallbacks" always present. This makes an ANSI terminal required for colors. X-Gentoo-Bug: https://bugs.gentoo.org/904277 Closes: OpenRC#619
Remove the curses code and make the HAVE_TERMCAP-gated "fallbacks" always present. This makes an ANSI terminal required for colors. X-Gentoo-Bug: https://bugs.gentoo.org/904277 Closes: #619
OpenRC is broken with >=sys-libs/ncurses-6.4_p20230408, like so:
This was originally reported in Gentoo at https://bugs.gentoo.org/904277. The ncurses maintainer, Thomas Dickey, provided some analysis (see the Gentoo bug for full details):
OpenRC needs to use
tputs
,printw
, etc instead of e.g.printf
for strings obtained from ncurses.Note that newer ncurses is needed to fix some security vulnerabilities (https://bugs.gentoo.org/904247), so there's some urgency to this.
The text was updated successfully, but these errors were encountered: