-
Notifications
You must be signed in to change notification settings - Fork 7
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
No reverse video or color on many Arch derivitives #5
Comments
That's weird. Can you find out what version of curses each one uses? |
Any version of Arch that works with hnb uses curses 5.9-5. Any version using ncurses 6.0-4 has the bad behavior. If I start out with an older version of any Arch derivative with ncurses 5 everything woks fine, the moment I upgrade to ncurses 6 hnb no longer works correctly. However on Ubuntu ncurses 6.0+20160213 works just fine with hnb with both hnb and ncurses unpatched. I have attached a screenshot of what hnb looks like. |
I'm going to leave this issue open, because I don't consider it completely solved and it might help someone else if they run into this problem. After a little research, I see two possible root causes:
I think the most reliable solution involves including some version of ncurses with Tines and static-linking the library, especially when I get to the point of building binary packages. This might be necessary to completely support UTF-8 as well, because some systems (cough OS X cough) don't compile ncurses with wide-character support. |
This sadly makes it impossible to use tines on arch linux, since you never know where the cursor is. |
On Arch linux you can install |
This issue also shows up on Void Linux. I think it does have something to do with the way ncurses is configured/compiled; compiling with a statically built ncurses 6.0 worked for me and was pretty simple:
After that, did Not sure if this actually forces gcc to use the curses.h from my compiled version instead of the global one, but it seems to work either way. I'm also not sure if all those configuration options were really necessary; I got some of them from the abovementioned Arch package's I might try to see if it still works without Other curses programs that use color do work on my system, though, which makes me think there ought to be a way to fix |
I've tried again, building with no parameters aside from |
The reconfigured ncruses did not work for me. However, if you build and install then swap the binaries for a copy of |
HNB has the same problem. It runs fine on Arch Linux and Chakra. However when I run it on Manjaro Linux or Antergos all text is white and there is no text coloring or revere video. It does not matter if I am using xterm, rxvt, urxvt, lxterminal or gnome-terminal. I am willing to help troubleshoot this, but I have no idea where to even start.
The text was updated successfully, but these errors were encountered: