Bugzilla – Bug 1054509
Display problems in terminal since latest Tumbleweed update
Last modified: 2017-09-02 13:55:19 UTC
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.101 Safari/537.36 Build Identifier: I updated my Tumbleweed yesterday and have display problems with the following programs in the terminal: htop, bmon, ncdu and cmus. I tried Gnome Terminal, Terminator, xterm and Tilda. All show the same jumbled output. Seems like ncurses is the culprit. Reproducible: Always Steps to Reproduce: 1. Open terminal. 2. Start ncurses program. 3. Jumbled display. Expected Results: Correct output of the programs.
Created attachment 737313 [details] Screenshot showing the jumbled output
I also have this bug. The following ncurses packages were removed/installed on my system in the 2017-08-16 update: $ cat /var/log/zypp/history | grep ".*2017-08-16.*ncurses.*" 2017-08-16 17:10:49|install|libncurses6|6.0-27.2|x86_64|root@Noah-OpenSUSE-K501UW|openSUSE-20170510-0|ef89f28eb8bb71cf574ee942986ccf5511eac0b1| 2017-08-16 17:10:56|install|libncurses6-32bit|6.0-27.2|x86_64|root@Noah-OpenSUSE-K501UW|openSUSE-20170510-0|3093476ccadac9bec4599840cc00bfbad2cbc73d| 2017-08-16 17:11:02|install|ncurses-utils|6.0-27.2|x86_64|root@Noah-OpenSUSE-K501UW|openSUSE-20170510-0|2f45e7891ac6739a894b7957a6b2e87941b4e927| 2017-08-16 17:11:14|install|ncurses-devel|6.0-27.2|x86_64|root@Noah-OpenSUSE-K501UW|openSUSE-20170510-0|2d8de99fecd3d49d20744ea52afb116734f99220| 2017-08-16 17:11:15|install|libyui-ncurses8|2.48.4-1.1|x86_64||openSUSE-20170510-0|2e2347e76b163f0fdbed769c5f9687add6ee8db1| 2017-08-16 22:29:59|remove |libyui-ncurses-pkg7|2.48.4-1.4|x86_64|| 2017-08-16 22:30:01|remove |libyui-ncurses7|2.48.3-1.1|x86_64|| 2017-08-16 22:30:25|install|libyui-ncurses-pkg8|2.48.5-1.1|x86_64||openSUSE-20170510-0|6d668ce5f6c0c090d88cc752b8ddd45f538d04c6|
It could be issue with Terminfo which was also updated recently. I've found workaround: `TERM=linux <command>`, works with atop, htop and iftop.
Indeed, "TERM=linux <command>" is a working workaround.
I noticed the same in Konsole and also that running htop inside a screen in Konsole works okay.
Noticed that yesterday on my desktop Tumbleweed while trying yast at terminal. (XFCE4-terminal) My notebook (also Tumbleweed) wasn't updated for a few weeks and was ok, but the exact same error appeared after zypper update (LXDE-terminal) Today I tried to install a fresh Tumbleweed (up-to-date Net installer iso) on a KVM virtual machine and confirmed it also happens on a fresh install (LXDE Terminal) Suggested workaround works - "TERM=linux <command>" ("TERM=linux yast" in my case)
Ok, I've since simply added 'export TERM=linux' to my ~/.zshenv and that has solved the problem for me.
This bug maybe is duplicate from this: https://bugzilla.opensuse.org/show_bug.cgi?id=1054448 In my tests the TERM "xterm-color" works too. For YaST only I set alias in ~/.alias or "~/.bashrc" (or your shell) file: alias sudo='sudo ' alias yast='TERM=xterm-color yast' OR For a user environment config set alias for sudo in ~/.alias or "~/.bashrc" (or your shell) file: alias sudo='sudo ' And set TERM in "~./bashrc (or your shell) file" export TERM=xterm-color Note: for root the file ".bashrc" doesn't exist by default
Yes it's the same issue. *** This bug has been marked as a duplicate of bug 1054448 ***