allowing user interaction in screen caommand

Eric Smith <es-uQVgsefbNdNWk0Htik3J/[email protected]>
Newsgroups gmane.comp.gnu.screen.user
Message-ID <[email protected]>
I am mapping as follows:
bindkey "^[[1;5l"  eval 'screen' 'stuff "bin/screen_grab_input.sh^M"'  'other' 'stuff baz'

I want screen to wait until the script `bin/screen_grab_input.sh' has completed before executing the command 'other'.
Is that possible?

$ cat bin/screen_grab_input.sh
read input
echo $input
some_command $input


Thanks

Eric Smith
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.