Next: , Previous: , Up: Window Settings   [Contents][Index]


10.3 Kill

Command: kill

(C-a k, C-a C-k)
Kill the current window.
If there is an exec command running (see Exec) then it is killed. Otherwise the process (e.g. shell) running in the window receives a HANGUP condition, the window structure is removed and screen (your display) switches to another window. When the last window is destroyed, screen exits. After a kill screen switches to the previously displayed window.
Caution: emacs users may find themselves killing their emacs session when trying to delete the current line. For this reason, it is probably wise to use a different command character (see Command Character) or rebind kill to another key sequence, such as C-a K (see Key Binding).