Code Monkey home page Code Monkey logo

Comments (4)

Syllo avatar Syllo commented on May 18, 2024

It looks like the NCurses library has problems to use the wide characters, it falls back to ascii ACS characters.

Which terminal emulator are you using?
Is your locale (command) using UTF-8?

Could you also please paste the return of the command ldd /path/to/nvtop, or verify that it contains at least "libncursesw.so".

from nvtop.

modem7 avatar modem7 commented on May 18, 2024

Currently using putty (0.70)

Output of locale:

LANG=en_GB.UTF-8
LC_CTYPE="en_GB.UTF-8"
LC_NUMERIC="en_GB.UTF-8"
LC_TIME="en_GB.UTF-8"
LC_COLLATE="en_GB.UTF-8"
LC_MONETARY="en_GB.UTF-8"
LC_MESSAGES="en_GB.UTF-8"
LC_PAPER="en_GB.UTF-8"
LC_NAME="en_GB.UTF-8"
LC_ADDRESS="en_GB.UTF-8"
LC_TELEPHONE="en_GB.UTF-8"
LC_MEASUREMENT="en_GB.UTF-8"
LC_IDENTIFICATION="en_GB.UTF-8"
LC_ALL=

Output of ldd

    ldd /usr/local/bin/nvtop
    linux-vdso.so.1 (0x00007ffc4c7f3000)
    libm.so.6 => /lib64/libm.so.6 (0x00007f72b3493000)
    libnvidia-ml.so.1 => /lib64/libnvidia-ml.so.1 (0x00007f72b2ebc000)
    libncursesw.so.6 => /lib64/libncursesw.so.6 (0x00007f72b2c83000)
    libtinfo.so.6 => /lib64/libtinfo.so.6 (0x00007f72b2a57000)
    libform.so.6 => /lib64/libform.so.6 (0x00007f72b2847000)
    libc.so.6 => /lib64/libc.so.6 (0x00007f72b2481000)
    /lib64/ld-linux-x86-64.so.2 (0x00007f72b379c000)
    libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f72b2263000)
    libdl.so.2 => /lib64/libdl.so.2 (0x00007f72b205f000)
    libncurses.so.6 => /lib64/libncurses.so.6 (0x00007f72b1e36000)

from nvtop.

Syllo avatar Syllo commented on May 18, 2024

It seems to be a problem with putty and ncurses.
Adding export NCURSES_NO_UTF8_ACS=1 to your bashrc or NCURSES_NO_UTF8_ACS=1 nvtop should hopefully fix it.

If that works I'll add an additional note in the readme.

from nvtop.

modem7 avatar modem7 commented on May 18, 2024

Perfect!

export NCURSES_NO_UTF8_ACS=1 worked wonders!

Thank you!

from nvtop.

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.