Next: Login, Previous: Console, Up: Window Settings
(C-a k, C-a C-k)
Kill the current window.
If there is anexec
command running (see Exec) then it is killed. Otherwise the process (e.g. shell) running in the window receives aHANGUP
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 theiremacs
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 rebindkill
to another key sequence, such as C-a K (see Key Binding).