diff rc/bash @ 262:9481aac47ac5

Always use dtterm for Solaris if no relevant TERM found (usually missing screen or xterm-256color).
author Edho Arief <edho@myconan.net>
date Thu, 24 Nov 2011 11:27:10 +0700
parents 00ecebc73c73
children c6c322c57e0e
line wrap: on
line diff
--- a/rc/bash	Thu Nov 24 11:12:04 2011 +0700
+++ b/rc/bash	Thu Nov 24 11:27:10 2011 +0700
@@ -57,6 +57,7 @@
     done
     alias ping="ping -s"
     alias ping6="ping -A inet6"
+    [ -f "/usr/share/lib/terminfo/?/${TERM}" ] || export TERM=dtterm
   ;;
   FreeBSD)
     _has_rm_I=y