Screen: Difference between revisions

From UMIACS
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:
=== Usage ===
=== Usage ===
To invoke screen, simply use the following command:
To invoke screen, simply use the following command:
<nowiki>screen</nowiki>
<nowiki>screen</nowiki>
Alternatively, to start a program with screen:
Alternatively, to start a program with screen:
<nowiki>screen vi program.c</nowiki>
<nowiki>screen vi program.c</nowiki>
This will invoke screen and, in the newly-created window, start editing the file program.c in vi.
This will invoke screen and, in the newly-created window, start editing the file program.c in vi.


Ctrl-A is the metacharacter for commands in screen; press it before every key command.  Some useful commands in screen:
Ctrl-A is the metacharacter for commands in screen; press it before every key command.  Some useful commands in screen:

Revision as of 18:55, 27 June 2013

Introduction

GNU Screen, or "screen", is a window management program available on UMIACS UNIX hosts that splits a terminal into multiple windows that can each be used for a separate process. This can be very useful when a process will be running for a long time since it can be allocated to one of the virtual terminals created by screen, and the others can be used for other shell tasks.

Usage

To invoke screen, simply use the following command:

screen

Alternatively, to start a program with screen:

screen vi program.c

This will invoke screen and, in the newly-created window, start editing the file program.c in vi.

Ctrl-A is the metacharacter for commands in screen; press it before every key command. Some useful commands in screen: