Notabene: The bug boo#1054448 is about the rep feature of XTerm (repeat character) that is that this check is only usefull for terminal types which are using exactly this feature (and the linux console does not!): /local/werner> infocmp -1 | grep rep rep=%p1%c\E[%p2%{1}%-%db, /local/werner> infocmp -T linux -1 | grep rep /local/werner> with this rep feature the the line graph looks like tput -S <<! smacs rep 108 0 rep 113 20 rep 107 0 rep 10 0 rmacs ! without the rep feature this becomes tput smacs; echo lqqqqqqqqqqqqqqqqqqqk; tput rmacs clearly the ncurses uses the information from the terminfo data pointed by the TERM variable to use or not use the rep feature