3 # Try to find a valid TERM entry.
6 # Note that running answerback will prevent keyboard input, which is annoying
7 # if you try to start typing while the shell is starting up.
9 eval $(answerback 2>/dev/null)
11 PuTTY) term=xterm-256color;;
12 urxvt) term=rxvt-unicode;;
15 if [ ! -z "$term" ]; then
16 if ! has_term $term; then
17 export TERMINFO=~/.terminfo
20 elif ! has_term $TERM; then
21 for term in rxvt-unicode xterm-256color xterm-88color linux dtterm xterm-color xterm vt100; do
22 if has_term $term; then