Jump to content

Screen: Difference between revisions

7 bytes added ,  6 December 2007
m
mNo edit summary
Line 24: Line 24:
=== Ctrl-a commands ===
=== Ctrl-a commands ===
Nearly all of screen's commands are used via the ctrl-a key combination. First, you press the ctrl and a keys together, then release. Next, press the key you want to run a command. These commands can be a little awkward and difficult to remember at first, but you'll soon get the hang of it. In this tutorial, the commands will be shown as ctrl-a and then a letter, with the following letter being associated with a command.
Nearly all of screen's commands are used via the ctrl-a key combination. First, you press the ctrl and a keys together, then release. Next, press the key you want to run a command. These commands can be a little awkward and difficult to remember at first, but you'll soon get the hang of it. In this tutorial, the commands will be shown as ctrl-a and then a letter, with the following letter being associated with a command.


=== Creating a new window ===
=== Creating a new window ===
Line 30: Line 31:


Just hit ctrl and a together, then release them and hit c. This keybinding will open a new window (window 2) inside screen. Now you'll have two windows to use, so you'll have to learn how to use the ctrl-a commands to switch between them.
Just hit ctrl and a together, then release them and hit c. This keybinding will open a new window (window 2) inside screen. Now you'll have two windows to use, so you'll have to learn how to use the ctrl-a commands to switch between them.


=== Switching windows===
=== Switching windows===
Line 44: Line 46:
  ctrl-a window_number
  ctrl-a window_number
Using this command, you can specify exactly which window you want to jump to by hitting ctrl and a, then the number on the keyboard of your desired window. This is pretty useful for when you have a lot of windows open in screen.
Using this command, you can specify exactly which window you want to jump to by hitting ctrl and a, then the number on the keyboard of your desired window. This is pretty useful for when you have a lot of windows open in screen.


=== Naming your windows ===
=== Naming your windows ===
Line 65: Line 68:


From this window you can view and go to any of your windows. The flags on the right indicate whether your window is logged in or not with $ symbol.
From this window you can view and go to any of your windows. The flags on the right indicate whether your window is logged in or not with $ symbol.


=== Detaching and reattaching screen ===
=== Detaching and reattaching screen ===
Line 86: Line 90:


followed by the id listed above of the screen you want to reattach to.
followed by the id listed above of the screen you want to reattach to.


=== Start and stop signals ===
=== Start and stop signals ===
Line 97: Line 102:


This should have you back in action very shortly. However, if your screen is frozen and you can't figure out why, try asking a member of [[Helpdesk]] and they should know the answer :)
This should have you back in action very shortly. However, if your screen is frozen and you can't figure out why, try asking a member of [[Helpdesk]] and they should know the answer :)


=== Killing screen ===
=== Killing screen ===
Line 107: Line 113:


or even just type "exit" at the prompt.
or even just type "exit" at the prompt.


===More commands===
===More commands===
496

edits