Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

My .zshrc has the following

 if [[ $STY = '' ]]; then
          screen -aADxR 
 fi

I have many Screen "tabs" open. I would like to stop Screen only in one Screen's tab such that I can run commands which I cannot run inside Screen.

I run unsuccessfully

screen -d

which closes one tab.

It may be easier to open a new tab apparently to get a tab without Screen. However, if I open a new tab (not-terminal-tab) in Screen, it opens it inside Screen because of the code in my .zshrc.

How can you close/open Screen in one tab such that other tabs are not closed in Screen?

share|improve this question
up vote 2 down vote accepted

You should be able to do Ctrl+A,D which will detach that one session.

That's an interesting trick with screen.

share|improve this answer
    
I did not get Ctrl+A D to work with my code, neither without it. -- I get the following when I press Ctrl+A D: files.getdropbox.com/u/175564/screen-detach-problem.png – Masi Jul 21 '09 at 13:26
    
Sorry, it should be Ctrl+A d (i.e. lowercase). The normal detach command, in other words. – staticsan Jul 23 '09 at 0:17

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .