+handle system termcap incompatible $TERM
authorshort <>
Wed, 7 Jan 2004 14:23:44 +0000 (14:23 +0000)
committershort <>
Wed, 7 Jan 2004 14:23:44 +0000 (14:23 +0000)
.bashrc

diff --git a/.bashrc b/.bashrc
index 43f2c8f..24121d4 100644 (file)
--- a/.bashrc
+++ b/.bashrc
@@ -107,6 +107,7 @@ export MINICOM="-m -c on"   # metakeys+color
 export HISTSIZE=100000
 export HISTFILESIZE="$HISTSIZE"
 export CVS_RSH="ssh"
+grep -qw "$TERM" /etc/termcap || export TERM=vt220
 
 # Force strcoll() to sort case-sensitively! (empty/undef doesn't work)
 export LC_COLLATE=C