function f-mailscreen () { if [ -f $HOME/.muttrc ] && [ -f $HOME/.msmtprc ] ; then screen -S mailscreen -c $HOME/.screenrc-mailscreen else clear echo bold yellow echo "To use Mutt Mail, you will need to follow the "Simple Setup" from the INX Mail Menu." echo "I can take you there - do you want to make your mail settings now? (y/n)" echo read -s -n 1 SETTINGUP case $SETTINGUP in y) f-mail-settings ;; n) echo white echo "OK - hit any key to return to the INX Screen menu." echo "If you just want to use Gmail, you can start a plain screen, and type" echo yellow echo "gmail" white echo echo "to get the no-frills Gmail login page, in the Elinks browser." read -s -n 1 f-tour ;; *) echo echo "Please answer y for yes, n for no " sleep 2 f-mailscreen ;; esac fi }