You are not logged in.

#1 2017-09-17 19:06:32

bartus
Member
Registered: 2013-05-13
Posts: 48

ncurses update broke atop etc.

After ncurses-6.0+20170902-1 some console apps like atop or ccmake have a redraw issue (other, like htop, iotop works fine)
Rolling back to ncurses-6.0+20170527-1 fixes the issue for me.
Example img:
cmake ok
cmake bad
atop ok
atop bad

Last edited by bartus (2017-09-17 19:09:13)

Offline

#2 2017-09-18 02:50:20

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: ncurses update broke atop etc.

You use a terminal emulator that claims TERM=xterm without actually being xterm-compatible, stop using konsole and things based on it. http://invisible-island.net/ncurses/ncu … rm_generic

ncurses works fine for me.


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

#3 2017-09-18 14:19:46

bartus
Member
Registered: 2013-05-13
Posts: 48

Re: ncurses update broke atop etc.

Eschwartz wrote:

ncurses works fine for me.

I've had checked all terminal emulator i have got installed (terminator,gnome-terminal,xfce4-terminal,mate-terminal,lxterminal,konsole,yakuake,tilix) and all have exactly the same issue, one thing that actually works for me is tty in rescuemode hmm

Last edited by bartus (2017-09-18 14:35:18)

Offline

#4 2017-09-18 14:43:00

Alad
Wiki Admin/IRC Op
From: Bagelstan
Registered: 2014-05-04
Posts: 2,407
Website

Re: ncurses update broke atop etc.

Try actual xterm, not third-party GTK or Qt clones thereof.


Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby

Offline

#5 2017-09-18 15:07:13

bartus
Member
Registered: 2013-05-13
Posts: 48

Re: ncurses update broke atop etc.

Alad wrote:

Try actual xterm

Chapeau bas, second to tty, xterm works also.
But still, would like to have a single terminal emulator that really works with those few packages that got screwed over.

Last edited by bartus (2017-09-18 15:11:26)

Offline

#6 2017-09-19 01:54:28

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: ncurses update broke atop etc.

bartus wrote:
Eschwartz wrote:

ncurses works fine for me.

I've had checked all terminal emulator i have got installed (terminator,gnome-terminal,xfce4-terminal,mate-terminal,lxterminal,konsole,yakuake,tilix) and all have exactly the same issue, one thing that actually works for me is tty in rescuemode hmm

Most of those are just wrappers over vte, and will naturally have the same issues as each other.

That being said, I use a vte terminal (guake), and I will reiterate that ncurses works fine for me.
vte usually lies and says TERM=xterm -- but this is trivial to fix in your ~/.bashrc, which I did by setting it to TERM=vte instead, which is why ncurses works perfectly for me.
Also see https://bugs.archlinux.org/task/55322

tl;dr
What part of your reply made you think that what I said wasn't correct?


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

#7 2017-09-23 12:26:47

respiranto
Member
Registered: 2015-05-15
Posts: 479
Website

Re: ncurses update broke atop etc.

I noticed the same problem, so thanks for the explanation so far.

However, setting $TERM to vte has a quite strange effect on using CTRL-ANY_ARROW in vim. I expect the latter to move the cursor around, like w and b do, however also in insert mode. I do experience however any characters after cursor deleted and / or INSERT mode being started.

Possibly, this is not how vim is supposed to be used (and I can live without it), though I consider it strange though.

Offline

#8 2017-09-24 17:45:20

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: ncurses update broke atop etc.

Huh, so it does. I hadn't noticed.

This would seem to be a bug in the vte terminfo file.


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

Board footer

Powered by FluxBB