echo $COLUMS $LINES; will now print the new sizes immediately, instead of after the second echo. From otto@OpenBSD