Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 652678 - net-analyzer/iptraf-ng with kde-apps/konsole with sys-libs/ncurses-6.1-r2 - output is corrupted
Summary: net-analyzer/iptraf-ng with kde-apps/konsole with sys-libs/ncurses-6.1-r2 - o...
Status: RESOLVED DUPLICATE of bug 648338
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Netmon project
Depends on:
Blocks: ncurses-6.1
  Show dependency tree
Reported: 2018-04-06 12:23 UTC by Ortwin Glueck
Modified: 2018-05-23 18:25 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---

Screenshot (Screenshot.png,26.38 KB, image/png)
2018-04-09 08:08 UTC, Ortwin Glueck

Note You need to log in before you can comment on or make changes to this bug.
Description Ortwin Glueck 2018-04-06 12:23:21 UTC
After upgrade to ncurses-6.1 (#639706) the iptraf-ng terminal output is corrupted.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2018-04-07 09:50:47 UTC
We need a lot more information than this.

What terminal do you use?
Please post your `emerge --info` output in a comment.
Can you attach a screenshot of a terminal window showing the problem?
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2018-04-07 10:06:57 UTC
(In reply to Jeroen Roovers from comment #1)
> What terminal do you use?

Additionally, if your terminal happens to use x11-libs/vte, then include that information as well, including the usual `emerge -vpq ...` output.
Comment 3 Ortwin Glueck 2018-04-09 08:08:58 UTC
Created attachment 526906 [details]

KDE Konsole. It does not use vte.

ortwin-hp ~ # emerge --info
Portage 2.3.24 (python 3.5.4-final-0, default/linux/amd64/17.0/desktop/plasma, gcc-6.4.0, glibc-2.25-r11, 4.16.0 x86_64)
System uname: Linux-4.16.0-x86_64-Intel-R-_Core-TM-_i7-4800MQ_CPU_@_2.70GHz-with-gentoo-2.4.1
KiB Mem:    16287552 total,   2444112 free                                      
KiB Swap:          0 total,         0 free                                      
Timestamp of repository gentoo: Sun, 08 Apr 2018 23:15:01 +0000                 
Head commit of repository gentoo: 966419a9d1bb85eba634b631673574cfa9d10677      
Timestamp of repository wine: Thu, 29 Mar 2018 03:06:51 +0000                   
Head commit of repository wine: ab389b2ef72fa7c0d9677a4f123bcc42f1366420        
sh bash 4.4_p12                                                                 
ld GNU ld (Gentoo 2.29.1 p3) 2.29.1                                             
app-shells/bash:          4.4_p12::gentoo                                       
dev-java/java-config:     2.2.0-r4::gentoo                                      
dev-lang/perl:            5.24.3-r1::gentoo                                     
dev-lang/python:          2.7.14-r1::gentoo, 3.5.4-r1::gentoo                   
dev-util/cmake:           3.9.6::gentoo                                         
dev-util/pkgconfig:       0.29.2::gentoo                                        
sys-apps/baselayout:      2.4.1-r2::gentoo                                      
sys-apps/openrc:          0.34.11::gentoo                                       
sys-apps/sandbox:         2.13::gentoo                                          
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo                         
sys-devel/automake:       1.11.6-r3::gentoo, 1.15.1-r2::gentoo                  
sys-devel/binutils:       2.29.1-r1::gentoo                                     
sys-devel/gcc:            6.4.0-r1::gentoo                                      
sys-devel/gcc-config:     1.8-r1::gentoo                                        
sys-devel/libtool:        2.4.6-r3::gentoo                                      
sys-devel/make:           4.2.1::gentoo                                         
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)                     
sys-libs/glibc:           2.25-r11::gentoo                                      
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://
    priority: -1000
    sync-rsync-verify-metamanifest: no

    location: /var/db/repos/wine
    sync-type: git
    masters: gentoo

    location: /usr/local/portage
    masters: gentoo
    priority: 0

CFLAGS="-march=native -O2 -pipe -fstack-check"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.3/conf /usr/share/themes/oxygen-gtk/gtk-2.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe -fstack-check"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
USE="X a52 aac acpi activities alsa amd64 autoipd avahi bacula-clientonly bacula-nodir berkdb bluetooth branding bzip2 cacert cairo cdr cli consolekit crypt cups cvs cxx dbus ddate declarative dri dri3 dts dvd dvdr elogind emboss encode exif extra-algorithms fam ffmpeg flac fortran g3dvl g711 g722 g7221 g726 gbm gif git glamor gpm gsm gtk iconv icu ilbc ipv6 java jce jpeg kde keymap kipi kwallet l16 lcms ldap libkms libnotify lm_sensors logrotate mad mdnsresponder-compat mng modules mp3 mp4 mpeg mplayer multilib ncurses netlink network-cron networkmanager nls nptl ntp ogg opengl openmp openssl opus pam pango pcre pdf phonon pipelight plasma png policykit ppds qml qt3support qt5 rdesktop readline resolvconf samba sdl seccomp semantic-desktop spice ssl ssse3 startup-notification svg tiff touchpad tracepath truetype udev udisks unicode upower urandom usb v4l vaapi vdpau video vim-syntax visualvm vnc vorbis vpx vte widgets wxwidgets x264 xa xattr xcb xcomposite xml xmp xorg xv xvid xvmc zenmap zeroconf zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias proxy proxy_ajp proxy_http" APACHE2_MPMS="prefork" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby22 ruby23" USERLAND="GNU" VIDEO_CARDS="nouveau intel i915" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2018-04-11 17:25:17 UTC
I think there are problems with terminal emulators that claim to be "xterm-256color" or "xterm". When in konsole I set it to "st" or "rxvt-unicode" iptraf-ng behaves fine, but its default setting of "xterm-256color" but also setting it to "xterm" makes it misbehave.
Comment 5 Ortwin Glueck 2018-04-13 12:53:07 UTC
Interesting. In xterm with TERM=xterm or TERM=xterm-256color the output is correct. So is the bug rather in konsole or even terminfo then?
Comment 6 Pacho Ramos gentoo-dev 2018-05-23 18:25:34 UTC

*** This bug has been marked as a duplicate of bug 648338 ***