+# Note that running answerback will prevent keyboard input, which is annoying
+# if you try to start typing while the shell is starting up.
+term=
+eval $(answerback 2>/dev/null)
+case "$ANSWERBACK" in
+ PuTTY) term=xterm-256color;;
+ urxvt) term=rxvt-unicode;;
+esac
+
+if [ ! -z "$term" ]; then
+ if ! has_term $term; then
+ export TERMINFO=~/.terminfo