function f-escape () { # Help, get me out of here! read -n 1 case "$REPLY" in m) f-menu ;; x) f-prompt ;; *) ;; esac }