screen-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Screen Issues


From: Clint Priest
Subject: Screen Issues
Date: Wed, 29 Oct 2008 22:56:52 -0500
User-agent: Thunderbird 2.0.0.17 (Windows/20080914)

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]