Wednesday, August 10, 2005

Using screen: part 4

In this fourth part of using screen, we'll look at the stuff that makes screen better, than just using multiple terminals in a windowmanager.

The thing is that when you're working with screen and have to log out, you don't have to close the current screen process. You can just detach the screen from the terminal and it won't stop, but will go on in the background.

When you later login again, the same screen process will still be running. You can then reattach to that process. To use this behaviour you only need te know two commands.

The first command you need to know is C-a d (mnemonic: detach). It will close screen, but will keep the applications inside it running.

The second command you need to know is screen -r (mnemonic: re-attach). It will reopen the screen you have started before, with all the applications still running inside it.

This can be used with irssi, or tail or any other program you can think of.

0 Comments:

Post a Comment

<< Home