I'm having some difficult in getting screen to do what I'm looking for.
What I want to do is to setup a screen config which will launch two
windows, in the top window it would be the output from 'svn commit' and
the bottom would be the output from 'svn diff | vim -R -'. I've got
most of it working but the problem I'm running into is that when the
'svn commit' is complete I want it to automatically 'quit' the screen
session.
Here's the screenrc file I have setup for it:
---------------------------------------------
split
screen bash -c "svn commit || bash"
eval "resize 10"
focus
screen
exec ... /bin/bash -c "sudo svn diff | vim -R -"
focus
---------------------------------------------
I've tried numerous ways of getting the 'quit' to work automatically but
have been unable to find a way to do it...
1) Is there any way to get 'quit' to work from the bash command line?
2) Is there any way to 'stuff' a keyboard command after the 'svn commit'
ends? I could then bind a key to quit and do it that way.
Thanks
_______________________________________________
screen-users mailing list
screen-users@gnu.org
http://lists.gnu.org/mailman/listinfo/screen-users