--- /dev/null
+# Can we resize this window?
+case "$TERM" in
+ # Terminals we KNOW can't be resized.
+ cygwin|linux|sun-color)
+ export RESIZABLE=0
+ ;;
+
+ # Terminals we CANNOT know about.
+ screen*)
+ [ "$RESIZABLE" = "0" ] || RESIZABLE="$TERM"
+ export RESIZABLE
+ ;;
+
+ # Anything else we'll assume can be.
+ *)
+ export RESIZABLE="$TERM"
+ ;;
+esac