-
Notifications
You must be signed in to change notification settings - Fork 4
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
Support for 32-bit terminfo files. #3
Comments
I took a look at it. The 32-bit extended number format was introduced to support ncurses 6.1 in January. It does need a fix, but looks like it's only the magic number, and the numbers array updated from 16-bit to 32-bit. |
Tako rzecze Nick Patrick (2018-07-11, 20:18):
I took a look at it. The 32-bit extended number format was introduced to support ncurses 6.1 in January. It does need a fix, but looks like it's only the magic number, and the numbers array updated from 16-bit to 32-bit.
Thanks, I'll see if I can do the fix for you if it's that simple :)
|
Go for it. I got my info from the Term(5) manpage. |
OK, I'll file a pull request when I'm ready :)
|
I went ahead and implemented a fix. It turns out that the term(5) documentation for the new magic number doesn't match the implementation. Term(5) states 0542, it's implemented as 01036 (542 in decimal). |
Dear Lispers,
it seems that the package doesn't support 32-bit terminfo files. When I try to load the terminfo db with the TERM env variable equal to
screen-256color
I hit this error:...which (I assume) is related to this:
The initial bytes for the other format are
#o542
it seems and probably completely new support has to be written.The text was updated successfully, but these errors were encountered: