Flux rss

Screen

Published by netty5, last update on Thursday October 30, 2008 08:55:50 AM by netty5

Screen




Intro


Screen is a full screen window manager, which divide a terminal between several processes. Using screen you can handle a task from on a PC, by detaching the terminal to which it is bound and resume it on another terminal or PC.

Screen read all typed commands through the shell from which it was launched. In order to interact directly with its window manager, it must automatically be launched using the sequence of keys "CTRL-a" followed by a key or another key sequence.

Opening a screen session


To open a screen session from a terminal (or Xterm) type the following command:

screen -r

Seperating a screen session


To detach a screen session and return to his connection shell, simply type:
CTRL-a  d

Return to a screen session


To return to a screen session, type:

screen –r

Closing a screen session


To close a screen session, simply type:
CTRL-a  \


Note that :"\" (backslash) is obtained using the following combination of keys "Alt Gr +8".

Seperating a window into several parts


The separation of your terminal into two parts is done in three phases. Note that you can repeat the procedure, split screen in more than two parts.

Splitting the terminal


CTRL-a  MAJ-s

Switch to the new window


CTRL-a  TAB

Open a new terminal


CTRL-a  c

Managing the different windows


Select a particular window


If several active windows:

CTRL-a   "

or
CTRL-a   n

or

CTRL-a   '

Resizing a window


To modify the size of a window, just:

To extend it:
CTRL-a :resize + n


To decrease the size:
CTRL-a :resize – n


Adjust all windows to the same size:
CTRL-a :resize =

Renaming a window


To rename a window, simply type:

CTRL-a  MAJ-a


Enter the new name for the window, and then validate using the Enter key.

Making use of screen


Connecting via ssh on machine B
Launch screen
screen


Launching a command for an active task
Hold task (suspending it)

CTRL + Z

Set to background

bg% 1


Protection of the task using nohup
nohup top & 


Seperating the screen

CTRL + a => d


Disconnect

exit


Launching screen on the machine B from a shell
Recovering the screen

screen-r


Verifying the task

jobs


Setting task as priority
fg %1

Results for Screen

Print Screen (Windows, Mac OS X and Unix/Linux) How to make a Print Screen (Windows, Mac OS X and Unix/Linux) What is a Print Screen? How to make a Print Screen (Windows) How to make a Print Screen (Mac OS X) How to make a Print Screen (Unix/Linux) Screen Capture Softwares What is a... en.kioskea.net/faq/sujet-141-print-screen-windows-mac-os-x-and-unix-linux
Fix a rotated screen problem Fix a rotated screen problem Solution 1 Solution 2 Solution 3 Solution 4 If you are facing a 90/180 degrees rotation issue with your displayed screen, this can be either due to a problem with your graphic card or a wrong manipulation... en.kioskea.net/faq/sujet-333-fix-a-rotated-screen-problem
Download Screen Lock Screen Lock is an application which allows you to block or to release your office with your own password.If by keeping you forgot your password, it is enough to start again your machine. On the contrary if you have applications opened with not... en.kioskea.net/telecharger/telecharger-574-screen-lock

Results for Screen

Making a screenshot with CaptimagMaking a screenshot with Captimag Intro Using Captimag Making a screencapture Saving the image Intro Captimag is a free software, allowing you to make screenshots with just two clicks under Windows. It requires no installation, and... en.kioskea.net/faq/sujet-1132-making-a-screenshot-with-captimag
Restrict display user name on login screenRestrict display user name on login screen Under Windows XP, if you log on classic session without the welcome screen, the open window will request the username and password. As default, the name of the last user of the computer will... en.kioskea.net/faq/sujet-968-restrict-display-user-name-on-login-screen
Installation of catalyst drivers despite black screen displayedInstallation of catalyst drivers despite black screen displayed Solution When trying to install graphics cards ATI Radeon HD 3870x2 ou4870x2 specifically on computers with Windows Vista Operating system, you may however be confronted... en.kioskea.net/faq/sujet-826-installation-of-catalyst-drivers-despite-black-screen-displayed

Results for Screen

Black screen after windows load (Solved)my computer has recently decided to show nothing but a blank screen after the windows load screen has finished. the screen flickers with random colours then switches to standby mode. the computer has no problem loading up in safe mode, so i have run... en.kioskea.net/forum/affich-6888-black-screen-after-windows-load
Computer will not load past welcome screenHello, My computer, after not being used for a few months logged into windows and the internet just fine, once....then it stopped going to web pages. So I restarted the computer. Then XP would load to the welcome screen, and the next screen it shows... en.kioskea.net/forum/affich-18121-computer-will-not-load-past-welcome-screen
Change the welcome screenhow to change the logon screen in the windows xp for example in the billa flim the "billa" log on screen saver used like that i need to change my welcome screen where i am enterting the user name and password .. en.kioskea.net/forum/affich-13309-change-the-welcome-screen

Results for Screen

Download Animated Screensaver MakerIf you have pictures of visual qualities and of high resolutions which you would definitely like to use as screen of wakefulness, without making them therefore march in diaporama. This tool is made for you. Animated Screensaver Maker is as his name... en.kioskea.net/telecharger/telecharger-685-animated-screensaver-maker
Download Smartision ScreenCopysmartision ScreenCopy is a (free) free software allowing to accomplish easily captures of screen on formats JPEG or BMP. It has on top of that an interesting functionality of creation of galleries photographs in format HTML. Features Saving... en.kioskea.net/telecharger/telecharger-316-smartision-screencopy
Download Screenshot CaptorScreen shot Captor is above all a tool of capture of screen. But it really introduces characteristics different from others: it is optimized for the seizure of several "capture" with the minimum of intervention, the taking care of numerous... en.kioskea.net/telecharger/telecharger-222-screenshot-captor

Results for Screen

Samsung unveils touch-screen smart phoneSamsung offices in Seoul. South Korea's Samsung on Monday unveiled its latest smart phone, a touch-screen model to be commercially launched in Southeast Asia this week. South Korea's Samsung on Monday unveiled its latest smart phone, a... en.kioskea.net/actualites/samsung-unveils-touch-screen-smart-phone-10448-actualite.php3
Nokia to launch touch-screen phone in late '08Nokia chief executive Olli-Pekka Kallasvuo, seen here in January 2008, has said the Finnish telecommunication giant will release a touch-screen handset for the first time in the second half of this year. Finnish manufacturer Nokia, the world's... en.kioskea.net/actualites/nokia-to-launch-touch-screen-phone-in-late-08-10080-actualite.php3