Difference between revisions of "Screen GNU"

From MS Computech
Jump to: navigation, search
(New page: Start screen<br> Type screen in the terminal<br>Detach from a screen session (session remains open)<br> Ctrl+a d<br>Reattach to an open screen session<br> screen -D -R<br>Quit screen compl...)
 
Line 1: Line 1:
Start screen<br> Type screen in the terminal<br>Detach from a screen session (session remains open)<br> Ctrl+a d<br>Reattach to an open screen session<br> screen -D -R<br>Quit screen completely (session closed)<br> Ctrl+a Ctrl+\
+
Start screen<br> Type screen in the terminal<br>Detach from a screen session (session remains open)<br> <pre>Ctrl+a d</pre><br>Reattach to an open screen session<br> <pre>screen -D -R</pre><br>Quit screen completely (session closed)<br> <pre>Ctrl+a Ctrl+\ </pre>
  
Controlling windows
+
Controlling windows  
  
Create a new window with a shell and switch to it:<br> Ctrl+a c<br>List currently open windows for selection:<br> Ctrl+a "<br>Close current window:<br> Ctrl+a k
+
Create a new window with a shell and switch to it:<br> <pre>Ctrl+a c</pre><br>List currently open windows for selection:<br> <pre>Ctrl+a "</pre><br>Close current window:<br><pre> Ctrl+a k </pre>
  
Controlling Regions
+
Controlling Regions  
  
Using regions allows you to display more than one shell on your terminal.
+
Using regions allows you to display more than one shell on your terminal.  
  
Split the current region into 2 new ones (note: new region will be blank, you need to switch to it then select a window to display in it):<br> Ctrl+a S<br>Switch focus to the next region:<br> Ctrl+a TAB<br>Remove the current region:<br> Ctrl+a X
+
Split the current region into 2 new ones (note: new region will be blank, you need to switch to it then select a window to display in it):<br><pre> Ctrl+a S</pre><br>Switch focus to the next region:<br><pre> Ctrl+a TAB</pre><br>Remove the current region:<br><pre> Ctrl+a X </pre>
  
 
That should be enough to get started<br>
 
That should be enough to get started<br>

Revision as of 09:56, 17 May 2009

Start screen
Type screen in the terminal
Detach from a screen session (session remains open)
Ctrl+a d

Reattach to an open screen session
screen -D -R

Quit screen completely (session closed)
Ctrl+a Ctrl+\ 

Controlling windows

Create a new window with a shell and switch to it:
Ctrl+a c

List currently open windows for selection:
Ctrl+a "

Close current window:
 Ctrl+a k 

Controlling Regions

Using regions allows you to display more than one shell on your terminal.

Split the current region into 2 new ones (note: new region will be blank, you need to switch to it then select a window to display in it):
 Ctrl+a S

Switch focus to the next region:
 Ctrl+a TAB

Remove the current region:
 Ctrl+a X 

That should be enough to get started