Screen VT100/ANSI Terminal Emulator Cheat Sheet Default Keyboard Shortcuts
Shortcut
C-a ’ C-a ” C-a 0. . . 9 C-a C-a [TAB] C-a C-a C-a a C-a C-a C-a C-a C-a C-a C-a C-a C-a C-a C-a C-a C-a A b C-b B c C-c C d C-d DD f C-f F
Command
select windowlist -b select 0. . . select 9 select focus other meta title break pow break screen clear detach pow detach flow fit vbell hardcopy log info kill redisplay login lastmsg monitor next number prev
Description
Prompt for a window name or number to switch to. Present a list of all windows for selection. Switch to window number 0. . . 9. Switch to the blank window. Switch the input focus to the next region. Toggle to the window displayed previously. Send the command character (C-a) to window. Allow the user to enter a name for the current window. Send a break to window. Reopen the terminal line and send a break. Create a new window with a shell and switch to that window. Clear the screen. Detach screen from this terminal. Detach and logout. Toggle flow on, off or auto. Resize the window to the current region size. Toggles screen’s visual bell mode. Write a hardcopy of the current window to the file ”hardcopy.n”. Begins/ends logging of the current window to the file ”screenlog.n”. Show info about this window. Destroy current window. Fully refresh current window. Toggle this windows login slot. Available only if screen is configured to update the utmp database. Repeat the last message displayed in the message line. Toggles monitoring of the current window. Switch to the next window. Show the number (and title) of the current window. Switch to the previous window (opposite of C-a n).
C-a C-g C-a h C-a H C-a C-a C-a C-a C-a C-a C-a C-a C-a C-a C-a C-a C-a C-a C-a C-a C-a C-a i C-i k C-k l C-l L m C-m M [space] n C-n N [back-space] h p C-p
c 2007 Peteris Krumins (peter@catonmat.net) http://www.catonmat.net - good coders code, great reuse
Shortcut
C-a C-a C-a C-a C-a C-a C-a C-a C-a C-a C-a C-a C-a C-a C-a C-a C-a C-a C-a C-a C-a q C-q Q r C-r s C-s S t C-t v C-v w C-w W x C-x X z C-z Z
Command
xon only wrap xoff split time version digraph windows width lockscreen remove suspend reset dumptermcap help quit colon copy paste . history writebuf readbuf removebuf license silence displays
Description
Send a control-q to the current window. Delete all regions but the current one. Toggle the current window’s line-wrap setting (turn the current window’s automatic margins on and off). Send a control-s to the current window. Split the current region into two new ones. Show system information. Display the version and compilation date. Enter digraph. Show a list of window. Toggle 80/132 columns. Lock this terminal. Kill the current region. Suspend screen. Your system must support BSD-style job-control. Reset the virtual terminal to its ”power-on” values. Write out a ”.termcap” file. Show key bindings. Kill all windows and terminate screen. Enter command line mode. Enter copy/scrollback mode. Write the contents of the paste buffer to the stdin queue of the current window. Copy and paste a previous (command) line. Write paste buffer to a file. Reads the screen-exchange file into the paste buffer. Removes the file used by C-a < and C-a >. Shows where screen comes from, where it went to and why you can use it. Start/stop monitoring the current window for inactivity. Show a listing of all currently attached displays.
C-a . C-a ? C-a C-\ C-a C-a C-a C-a C-a : [ C-[ [ESC] ]
C-a { C-a } C-a > C-a < C-a = C-a , C-a C-a *
c 2007 Peteris Krumins (peter@catonmat.net) http://www.catonmat.net - good coders code, great reuse