Screen Command - Default Key Bindings

Using Screen command you can create multiple pseudo-terminals. It becomes very convenient when you are working on a remote server and need to do different thing simultaneously. I always keep forgetting the keys to operate the screen , so I am posting a reference to recall.
C-a '
C-a "
(select) Prompt for a window identifier and switch.
C-a 0...9 (select 0...select 9) Switch to window number 0...9.
C-a C-a (other) Toggle to the window displayed previously.
C-a a (meta) Send the command character (C-a) to window.
C-a A (title) Allow the user to enter a title for the current window.
C-a b
itemx C-a C-b
(break) Send a break to the tty.
C-a B (pow_break) Close and reopen the tty-line.

C-a c
C-a C-c

(screen) Create a new window with a shell and switch to that window.
C-a C (clear) Clear the screen.
C-a d
C-a C-d
(detach) Detach screen from this terminal.
C-a D D (pow_detach) Detach and logout.
C-a f
C-a C-f
(flow) Cycle flow among `on', `off' or `auto'.
C-a C-g (vbell) Toggle visual bell mode.
C-a h (hardcopy) Write a hardcopy of the current window to the file "hardcopy.n".
C-a H (log) Toggle logging of the current window to the file "screenlog.n".
C-a i
C-a C-i
(info) Show info about the current window.
C-a k
C-a C-k
(kill) Destroy the current window.
C-a l
C-a C-l
(redisplay) Fully refresh the current window.
C-a L (login) Toggle the current window's login state.
C-a m
C-a C-m
(lastmsg) Repeat the last message displayed in the message line.
C-a M (monitor) Toggle monitoring of the current window.
C-a SPC
C-a n
C-a C-n
(next) Switch to the next window.
C-a N (number) Show the number (and title) of the current window.
C-a p
C-a C-p
C-a C-h
C-a BackSpace
(prev) Switch to the previous window (opposite of C-a n).
C-a q
C-a C-q
(xon) Send a ^Q (ASCII XON) to the current window.
C-a r
C-a C-r
(wrap) Toggle the current window's line-wrap setting (turn the current window's automatic margins on or off).
C-a s
C-a C-s
(xoff) Send a ^S (ASCII XOFF) to the current window.
C-a t
C-a C-t
(time) Show the load average and xref.
C-a v (version) Display the version and compilation date.
C-a C-v (digraph) Enter digraph.
C-a w
C-a C-w
(windows) Show a list of active windows.
C-a W (width) Toggle between 80 and 132 columns.
C-a x
C-a C-x
(lockscreen) Lock your terminal.
C-a z
C-a C-z
(suspend) Suspend screen.
C-a Z (reset) Reset the virtual terminal to its "power-on" values.
C-a . (dumptermcap) Write out a `.termcap' file.
C-a ? (help) Show key bindings.
C-a C-\ (quit) Kill all windows and terminate screen.
C-a : (colon) Enter a command line.
C-a [
C-a C-[
C-a ESC
(copy) Enter copy/scrollback mode.
C-a ]
C-a C-]
(paste .) Write the contents of the paste buffer to the stdin queue of the current window.
C-a { (history) Copy and paste a previous (command) line.
C-a > (writebuf) Write the paste buffer out to the screen-exchange file.
C-a < (readbuf) Read the screen-exchange file into the paste buffer.
C-a = (removebuf) Delete the screen-exchange file.
C-a _ (silence) Start/stop monitoring the current window for inactivity.
C-a , (license) Show the copyright page.



Post a Comment

0 Comments