# Login shell profile.

# Erase character, erase line, and interrupt keys.
stty sane erase '^H' kill '^U' intr '^?'

# Check terminal type.
case $TERM in
dialup|unknown|network)
	echo -n "Terminal type? ($TERM) "; read term
	TERM="${term:-$TERM}"
	unset term
esac

# Shell configuration.
unset EDITOR; . $HOME/.ashrc

case $USER in
root)
	PSE='* '
	cd /
	;;
bin)
	PS1='! '
	PSE='* '
	# Bin runs the post office.
	if [ -s "$MAIL" ]; then echo "You have mail"; fi
esac
