--- bin/isolated-functions.sh~ 2008-09-03 22:10:35.000000000 +0200 +++ bin/isolated-functions.sh 2008-09-03 22:18:19.000000000 +0200 @@ -435,7 +435,7 @@ (( COLS > 0 )) || (( COLS = 80 )) COLS=$((${COLS} - 8)) # width of [ ok ] == 7 # Adjust COLS so that eend works properly on a standard BSD console. - [ "${TERM}" = "cons25" ] && COLS=$((${COLS} - 1)) + [[ ${TERM} == "cons25" || ${TERM} == "dumb" ]] && COLS=$((${COLS} - 1)) # Now, ${ENDCOL} will move us to the end of the # column; irregardless of character width