Site Tools


zombie

Default Keybindings

None.

Syntax

  • zombie [keys[onerror]]

Description

Per default, screen windows are removed from the window list as soon as the window's process (e.g. shell) exits. When a string of two keys is specified to the zombie command, “dead” windows will remain in the list. The kill command may be used to remove such a window. Pressing the first specified key in the dead window has the same effect. When pressing the second key, screen will attempt to resurrect the window. The process that was initially running in the window will be launched again. Calling zombie without parameters will clear the zombie setting, thus making windows disappear when their process exits.

As the zombie-setting is manipulated globally for all windows, this command should only be called defzombie. Until we need this as a per window setting, the commands zombie and defzombie are synonymous.

Optionally you can put the word “onerror” after the keys. This will cause screen to monitor exit status of the process running in the window. If it exits normally ('0'), the window disappears. Any other exit value causes the window to become a zombie.

Examples

None yet.

See Also


User Tools