Git Product home page Git Product logo

Comments (8)

RockyBukake avatar RockyBukake commented on August 26, 2024 3

Same problem, exporting TERM=screen-256color "fixed" this issue

from gotop.

xxxserxxx avatar xxxserxxx commented on August 26, 2024 1

That's a huge help, actually. Thanks. I'll bump this upstream to termui.

from gotop.

PieterjanMontens avatar PieterjanMontens commented on August 26, 2024

Same here, same version and similar environment. This is what it looks like if I run gotop -l kitchensink :

gotop_urxvt

from gotop.

jgb avatar jgb commented on August 26, 2024

@xxxserxxx can confirm the latest 4.2.0 is still completely broken on rxvt.

from gotop.

xxxserxxx avatar xxxserxxx commented on August 26, 2024

@jgb Thanks, can you report what your TERM settings are, and whether @RockyBukake's hack works for you?

from gotop.

jgb avatar jgb commented on August 26, 2024

@xxxserxxx my TERM is set to rxvt-unicode-256color. Setting the TERM to something else like @RockyBukake suggests does fix the problem.

from gotop.

Lightsockie avatar Lightsockie commented on August 26, 2024

Been getting this as well, and the same TERM= fix above works for me too.

gotop v4.2.0 (Hadean)
rxvt-unicode (urxvt) v9.31 - released: 2023-01-02 (but it's happened on previous builds)
TERM=rxvt-unicode-256color` (default for me as well)

Looks like upstream is abandonware -- or, at least I can't find any maintained fork. My tmux, which is where I run gotop 95% of the time anyway, is already setting a working TERM. So it's kinda a non-issue for me.

But I've come this far and am kinda curious whats going on (guessing bad escape sequence that just so happens to open up help?). Is there an issue somewhere I can watch @xxxserxxx?

from gotop.

xxxserxxx avatar xxxserxxx commented on August 26, 2024

There haven't been any changes in termui in a while, but TBF, things are slow in gotop as well. The curse of the single-contributor project, I guess.

It might not be a termui issue. It only seems to happen with rxvt-unicode and the rxvt-unicode terminfo combined -- the terminfo alone doesn't cause it, nor does urxvt with a different terminfo. I think you're probably right: one of the control characters is probably not being consumed properly by the terminal and is being passed through to gotop.

On Arch, ncurses owns many of the terminfos, but rxvt-unicode is owned by the rxvt-unicode package. The repository for rxvt-unicode is in CVS(!!). The issue may be anywhere between there and gotop; sorry that I don't have any better instinct on where to start.

from gotop.

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.