Wednesday, August 20, 2003

Copied from :
http://arstechnica.com/etc/linux/index.html

Screen - Multiple Terminals - Screen, the terminal multiplexor. Screen is like a window manager for your console. Unlike a virtual terminal, screen allows you to detatch from a terminal. While detached, the program you were running continues to run. You can then reattach later and continue your task. This is useful if you want to run a bunch of tasks but don't want to keep an ssh session open or if you lose your connection. Screen is almost always used when running a game server in Linux. You can attach occasionally to check the server output without having to interrupt the server. First, we want to connect to our remote host via ssh and then run screen:

jorge@piccolo:~ ssh trunks
jorge@trunks:~$ screen

Note how my remote machine doesn't ask for a password, thanks to LUSSH. Now, execute whichever command you wish, for the example make it something that will remain in the foreground. Our "watch uptime" from a while back will suffice. Now, you've got something running on the remote host, and we want to detatch it (it will still be running, but your terminal windows will be free). Hit CTRL-A, then d. You are now detached. The process you were viewing run is still running... you can confirm this with ps -a. You can now exit back onto localhost (piccolo in this example), yet the program continues to run on the remote host even though we're not connected to it. To reattach, ssh back into the remote host and at the prompt type "screen -r". Screen will return you to where you left off. This is just a simple example; what other ways are Arsians using screen? (IRC is a popular use for this) Let us know in the Discussion.

Mozilla and hypocrisy

Right, but what about the experiences that Mozilla chooses to default for users like switching to  Yahoo and making that the default upon ...