Giter Club home page Giter Club logo

Comments (18)

tenox7 avatar tenox7 commented on May 31, 2024

Interesting. I think the only way to permanently solve it, is to link against a custom build of ncurses with added extra data directories (--datadir or --with-terminfo-dirs).

For a workaround I think simpler may be to specify TERMINFO variable setting it to the correct terminfo folder.

from ttyplot.

orbatos avatar orbatos commented on May 31, 2024

Setting TERMINFO does not seem to affect the issue at all, whether through tmux or not, and it does not appear to even be checking those hard-coded locations.
I attempted to both set valid TERMINFO and provide valid files at the sourced locations, even xterm-256color triggers the error.

This appears (?) to be because ncurses assumes TERMINFO is "broken".

From https://invisible-island.net/ncurses/ncurses-slang.html#env_TERMINFO_DIRS :

While slang's configure script has (since 2007) used the --terminfo option of ncurses scripts ncurses5-config or ncursesw5-config to obtain a suitable default for TERMINFO, it still relies upon a hard-coded set of directories rather using the corresponding --terminfo-dirs option to specify additional directories that ncurses's packager may have found necessary.

from ttyplot.

nicedreams avatar nicedreams commented on May 31, 2024

Been trying to use this for months, but get same error on Debian 10 stable, Sid, MXLinux, Ubuntu 18 and now Ubuntu 20. Any way to resolve this?

from ttyplot.

tenox7 avatar tenox7 commented on May 31, 2024

Sorry I thought this issue was specific to Lubuntu. I have just tried it on Ubuntu 18, 20 and it works fine. But it doesn't work on Debian. Let me see what can be done about it.

from ttyplot.

nicedreams avatar nicedreams commented on May 31, 2024

from ttyplot.

tenox7 avatar tenox7 commented on May 31, 2024

whats the location of terminfo database on kubuntu?

from ttyplot.

tenox7 avatar tenox7 commented on May 31, 2024

Can you try this build? You need to gzip -d and chmod +x:

ttyplot-linux-test.gz

from ttyplot.

emk2203 avatar emk2203 commented on May 31, 2024

I have abandoned Lubuntu, but on Kubuntu 21.04 (dev version), it works as expected. terminfo database is at /etc/terminfo and /usr/lib/terminfo, by the way.

from ttyplot.

nicedreams avatar nicedreams commented on May 31, 2024

from ttyplot.

nicedreams avatar nicedreams commented on May 31, 2024

Just in case you didn't see the delete and edit of previous post via email I'll send another reply.

ttyplot-linux-test is working. I had a conflict with the older version I tried 2 days ago when did previous post, but it's working on Kubuntu 20.10 now.

from ttyplot.

tenox7 avatar tenox7 commented on May 31, 2024

okay I will make a release with this, thanks for testing!

from ttyplot.

tenox7 avatar tenox7 commented on May 31, 2024

I have updated the release with static build, can you please test again? thanks a lot

from ttyplot.

nicedreams avatar nicedreams commented on May 31, 2024

from ttyplot.

tenox7 avatar tenox7 commented on May 31, 2024

Actually if you could test the binary from 1.4 release would be even better:

https://github.com/tenox7/ttyplot/releases/download/1.4/ttyplot-amd64-linux

from ttyplot.

nicedreams avatar nicedreams commented on May 31, 2024

from ttyplot.

tenox7 avatar tenox7 commented on May 31, 2024

Thanks a lot for testing! In this case lets close the bug. Please feel free to re-open if needed.

from ttyplot.

emk2203 avatar emk2203 commented on May 31, 2024

Kubuntu 21.04 also OK here.

from ttyplot.

tenox7 avatar tenox7 commented on May 31, 2024

again thanks a lot for all the testing and reporting the issue :)

from ttyplot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.