Bash function for GNU screen commands