[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
allowing user interaction in screen caommand
From: |
Eric Smith |
Subject: |
allowing user interaction in screen caommand |
Date: |
Tue, 12 Mar 2013 16:25:35 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
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
- allowing user interaction in screen caommand,
Eric Smith <=