On one of my servers running CentOS 6 I had iptraf not displaying the boxes in dialogues correctly. It’s usually fixed by updating the session configuration on putty to translate to utf-8 but in this case that did not work.
While the system is a clone from another machine where it works well (puppet confirms) all I had to do is create an alias in my ./bashrc for iptraf to NCURSES_NO_UTF8_ACS=1 iptraf as such :
# .bashrc # User specific aliases and functions alias rm='rm -i' alias cp='cp -i' alias mv='mv -i' alias iftop='NCURSES_NO_UTF8_ACS=1 iftop' alias iptraf='NCURSES_NO_UTF8_ACS=1 iptraf' # Source global definitions if [ -f /etc/bashrc ]; then . /etc/bashrc fi
As you can deduce the same issue and solution happened with iftop. 🙂
Oh the result :