This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
region_management [2010-01-25 16:02] asciiphil created |
region_management [2021-02-16 20:32] (current) |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | This is a skeleton page for now. | + | ====== Region Management in screen ====== |
| - | | + | ===== Basics ===== |
| - | * '' | + | |
| - | * '' | + | '' |
| - | * '' | + | display a different window in each region. |
| - | * '' | + | display the same window in more than one region.) |
| + | |||
| + | Use '' | ||
| + | '' | ||
| + | create a new region, '' | ||
| + | column (for horizontal splits) or row (for vertical splits) so that all of | ||
| + | them have approximately the same size. | ||
| + | |||
| + | <box red 80% | :!: Note about vertical splits:> | ||
| + | Vertically-split regions are a feature not in the last stable release of | ||
| + | '' | ||
| + | packages and the current '' | ||
| + | next release. | ||
| + | </ | ||
| + | |||
| + | To remove regions, you can either use '' | ||
| + | remove the current region or '' | ||
| + | regions //except// the current one. | ||
| + | |||
| + | ===== Extras ===== | ||
| + | |||
| + | ==== Resizing Regions ==== | ||
| + | |||
| + | Resizing is done via the '' | ||
| + | argument, it will prompt for the new height of the current region. | ||
| + | plain numeric argument will resize the region to the specified number of | ||
| + | lines. | ||
| + | subtract the specified number of lines from the region. | ||
| + | "'' | ||
| + | down to one line high). | ||
| + | region' | ||
| + | other regions in the column to one line). | ||
| + | will adjust the height of all regions in the display so that all regions | ||
| + | in a given column are of roughly equal height. | ||
| + | |||
| + | As a special case, if the '' | ||
| + | a vertically-split region--that is, a region that does not have any other | ||
| + | regions in its column--all of the sizing applies to regions' | ||
| + | their heights. | ||
| + | can type into '' | ||
| + | the width of the current region. | ||
| + | |||
| + | When a region is shrunk, it adds space to the region either below it or to | ||
| + | its right (depending on whether its height or width is being decreased). | ||
| + | When a region is expanded, it takes space away from the region either | ||
| + | below it or to its right. | ||
| + | as possible, space is taken from the next closest region in the same | ||
| + | direction. | ||
| + | space is taken from the closest region in the opposite direction that can | ||
| + | spare it. | ||
| + | |||
| + | ==== Focusing Regions ==== | ||
| + | |||
| + | The '' | ||
| + | regions may be laid out in a two-dimensional space, '' | ||
| + | them internally as a simple list, and '' | ||
| + | forwards or backwards through the list. (There are also '' | ||
| + | subcommands to jump to the beginning of the list--the upper-leftmost | ||
| + | region--and to the end of the list--the lower rightmost region.) | ||
| + | order is pretty intuitive, and it's easier to tell you to try it out than | ||
| + | to try to describe it. | ||
| + | |||
| + | ==== Regions as a Display Property ==== | ||
| + | |||
| + | One thing that catches some people unawares is that the division of the | ||
| + | display into regions is solely a property of the display. | ||
| + | session that hosts all of your windows doesn' | ||
| + | split. | ||
| + | '' | ||
| + | next time you attach, you'll have to recreate that layout. | ||
| + | |||
| + | Currently, the best way to keep your display layout is to use nested | ||
| + | '' | ||
| + | [[faq# | ||
| + | I split the display and then detach, screen forgets the split]]. | ||
| + | release of '' | ||
| + | layouts. | ||
| + | |||
| + | ===== Keybindings ===== | ||
| + | |||
| + | | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | |||
| + | ===== Commands ===== | ||
| + | |||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||