View previous topic :: View next topic |
Author |
Message |
blopsalot Apprentice
Joined: 28 Jan 2017 Posts: 231
|
Posted: Sun Dec 17, 2017 12:10 pm Post subject: netbsd-curses - a (mostly) drop in replacement to ncurses |
|
|
I finally got sick of ncurses and went looking for replacement. I'm in the process of testing. Seems upstream python has already been patched to support it. Most other packages will pickup the separate terminfo lib with pkgconfig. Anyone else interested in this?
https://github.com/sabotage-linux/netbsd-curses
my portage dev skills are still weak so i hacked it in ugly as a ncurses upgrade.
i am using ~amd64 glibc not musl.
DISCLAIMER: I am only verifying builds so far, expect some glitches!
good from portage
____________________
bash
nano
screen
gettext
psmisc
cmake
texinfo
openrc
pinentry
parted
alsa-utils
needs patch from upstream
____________________
python (2.7.9999 and 3.5.9999 appears fixed)
dialog (dialog-1.3-20171209 appears fixed)
procps (9999 appears fixed)
cdk (cdk-5.0-20171209 appears fixed)
one line change
____________________
util-linux (fixed, tparm function in more.c)
fails (need to see what required to fix still)
____________________
lynx
Last edited by blopsalot on Tue Dec 19, 2017 9:00 am; edited 1 time in total |
|
Back to top |
|
|
Ant P. Watchman
Joined: 18 Apr 2009 Posts: 6920
|
Posted: Sun Dec 17, 2017 8:31 pm Post subject: |
|
|
Interesting to know... how well does it handle unicode wide chars? |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21431
|
Posted: Mon Dec 18, 2017 12:04 am Post subject: |
|
|
For any fixes you find that aren't yet available upstream (or even for those that are, if upstream hasn't released a version with the fix), would you mind posting here links to those fixes? That would help others who want to experiment with this, so that they do not need to rediscover fixes you already found/wrote. To keep thread noise down, you could edit such links into your opening post. |
|
Back to top |
|
|
Naib Watchman
Joined: 21 May 2004 Posts: 6050 Location: Removed by Neddy
|
Posted: Mon Dec 18, 2017 12:23 am Post subject: |
|
|
What aspects of curses fscked you off? What does this replacement do better? _________________
Quote: | Removed by Chiitoo |
|
|
Back to top |
|
|
blopsalot Apprentice
Joined: 28 Jan 2017 Posts: 231
|
Posted: Mon Dec 18, 2017 6:13 am Post subject: |
|
|
Ant P. wrote: | Interesting to know... how well does it handle unicode wide chars? |
i am still learning as well, but it seems easier to work with then ncursesw.
Quote: | For any fixes you find that aren't yet available upstream (or even for those that are, if upstream hasn't released a version with the fix), would you mind posting here links to those fixes? That would help others who want to experiment with this, so that they do not need to rediscover fixes you already found/wrote. To keep thread noise down, you could edit such links into your opening post. |
util-linux change was a one liner, the build error takes u straight to right place. yeah im hoping to have a semi functional overlay up soon. yeah i will just keep editing it.
Quote: | What aspects of curses fscked you off? What does this replacement do better? |
the project page describes it better, but what got me looking elsewhere is a minor issue i was having had me looking at bugs.gentoo.org and then i noticed the CVEs are starting to pile up. it's easier to work with both in code readability and it uses standard pkgconfig. ncurses has always been a pain in the #@$ for distro maintainers. it's primary use may end up being just embedded, but gentoo needs it either way. |
|
Back to top |
|
|
blopsalot Apprentice
Joined: 28 Jan 2017 Posts: 231
|
|
Back to top |
|
|
|