--- isolated-functions.sh.orig 2010-03-13 10:43:55.000000000 +0100 +++ isolated-functions.sh 2010-03-13 10:47:29.000000000 +0100 @@ -419,7 +419,7 @@ set_colors() { # Now, ${ENDCOL} will move us to the end of the # column; irregardless of character width - ENDCOL=$'\e[A\e['${COLS}'C' + ENDCOL=$'\e[A\e['$(( COLS - 1 ))'C' if [ -n "${PORTAGE_COLORMAP}" ] ; then eval ${PORTAGE_COLORMAP} else