Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 

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: – 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

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.