Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

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

Your Answer

 
discard

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.