\documentclass[12pt,twocolumn]{article}
\usepackage{graphicx}
\usepackage{epstopdf}
\usepackage{alltt}
\usepackage{multicol}
\usepackage{hyperref}

\hypersetup{colorlinks=true}

\textheight = 10.0 in
\linewidth = 7.5in
\oddsidemargin = 0.0 in
\evensidemargin = 0.0 in
\marginparwidth=0.0in
\marginparsep=0.0in
\topmargin = 0.0 in
\headheight = 0.0 in
\headsep = 0.0 in
\parskip = 2pt
\parindent = 0.0in

%\setlength{\hoffset}{-24pt}
\setlength{\voffset}{-40pt}

\newcommand{\ttit}[1]{\textit{#1}}
\newcommand{\sSecBox}[1]{\begin{minipage}{3in}\begin{alltt}{\small\textrm{\textbf{#1}}}}
\newcommand{\eSecBox}{\end{alltt}\end{minipage}\\ \rule{0pt}{0pt}\hrule}

\newcommand{\srb}[2]{\parbox[t]{#1}{#2}\rule{5pt}{0pt}}

\newcommand{\blt}{\makebox[2ex]{\(\bullet\)}}
\newcommand{\bsp}{\makebox[2ex]{}}
\newcommand{\bks}{\(\backslash\)}

\begin{document}

\pagestyle{empty}

\fbox{{\parbox[b]{2.5in}{\huge \bf Screen \\ \tiny \copyright 1998-2016 Mitch Richling \url{https://www.mitchr.me}  \\ Last Updated 2016-07-09}}}
\tiny

\sSecBox{Selecting Windows}
\srb{25pt}{\blt C-a -}\srb{150pt}{switch to screen blank window                    }
\srb{25pt}{\blt C-a '}\srb{150pt}{Prompt for a window name or number to switch to  }
\srb{25pt}{\blt C-a "}\srb{150pt}{Present  a list of all windows for selection     }
\srb{25pt}{\blt C-a 0}\srb{150pt}{switch to screen 0                               }
\srb{25pt}{\blt C-a 1}\srb{150pt}{switch to screen 1                               }
\srb{25pt}{\blt C-a 2}\srb{150pt}{switch to screen 2                               }
\srb{25pt}{\blt C-a 3}\srb{150pt}{switch to screen 3                               }
\srb{25pt}{\blt C-a 4}\srb{150pt}{switch to screen 4                               }
\srb{25pt}{\blt C-a 5}\srb{150pt}{switch to screen 5                               }
\srb{25pt}{\blt C-a 6}\srb{150pt}{switch to screen 6                               }
\srb{25pt}{\blt C-a 7}\srb{150pt}{switch to screen 7                               }
\srb{25pt}{\blt C-a 8}\srb{150pt}{switch to screen 8                               }
\srb{25pt}{\blt C-a 9}\srb{150pt}{switch to screen 9                               }
\eSecBox

\sSecBox{Regions}
\srb{25pt}{\blt C-a tab }\srb{150pt}{Switch the input focus to the next region.}
\srb{25pt}{\blt C-a F   }\srb{150pt}{Resize the window to the current region size.}
\srb{25pt}{\blt C-a Q   }\srb{150pt}{Delete all regions but the current one.}
\srb{25pt}{\blt C-a S   }\srb{150pt}{Split the current region into two new ones.}
\srb{25pt}{\blt C-a X   }\srb{150pt}{Kill the current region.}
\eSecBox

\sSecBox{Send Special Chars to Window}
\srb{25pt}{\blt C-a a   }\srb{150pt}{Send  the  command character (C-a) to window}
\srb{25pt}{\blt C-a b   }\srb{150pt}{Send a break to window.}
\srb{25pt}{\blt C-a B   }\srb{150pt}{Reopen the terminal line and send a break.}
\srb{25pt}{\blt C-a q   }\srb{150pt}{Send a control-q to the current window.}
\srb{25pt}{\blt C-a s   }\srb{150pt}{Send a control-s to the current window.}
\eSecBox

\sSecBox{Information and help}
\srb{25pt}{\blt C-a t   }\srb{150pt}{Show system information}
\srb{25pt}{\blt C-a ?   }\srb{150pt}{Show key bindings.}
\srb{25pt}{\blt C-a *   }\srb{150pt}{Show a listing of all currently attached displays.}
\srb{25pt}{\blt C-a w   }\srb{150pt}{Show a list of windows}
\srb{25pt}{\blt C-a i   }\srb{150pt}{Show info about this window.}
\srb{25pt}{\blt C-a N   }\srb{150pt}{Show the number (and title)  of  the  current window.}
\srb{25pt}{\blt C-a m   }\srb{150pt}{Repeat the last message displayed in the message line.}
\eSecBox

\sSecBox{Change operation/mode}
\srb{25pt}{\blt C-a M   }\srb{150pt}{Toggles monitoring of the current window.}
\srb{25pt}{\blt C-a f   }\srb{150pt}{Toggle flow on, off or auto.}
\srb{25pt}{\blt C-a C-g }\srb{150pt}{Toggles screen's visual bell mode.}
\srb{25pt}{\blt C-a r   }\srb{150pt}{Toggle the current window's line-wrap setting}
\srb{25pt}{\blt C-a Z   }\srb{150pt}{Reset  the virtual terminal to its "power-on" values.}
\eSecBox

\sSecBox{Create/Destroy Windows}
\srb{25pt}{\blt C-a c   }\srb{150pt}{Create  a  new window with a shell and switch to that window.}
\srb{25pt}{\blt C-a A   }\srb{150pt}{Enter a name for the current window.}
\srb{25pt}{\blt C-a k   }\srb{150pt}{Destroy current window.}
\eSecBox

\sSecBox{Screen refresh \& clear}
\srb{25pt}{\blt C-a C   }\srb{150pt}{Clear the screen.}
\srb{25pt}{\blt C-a l   }\srb{150pt}{Fully refresh current window.}
\eSecBox

\sSecBox{Detach \& Quit}
\srb{25pt}{\blt C-a d   }\srb{150pt}{Detach screen from this terminal.}
\srb{25pt}{\blt C-a D D }\srb{150pt}{Detach and logout (power detach)}
\eSecBox

\sSecBox{Switching Windows}
\srb{25pt}{\blt C-a C-a }\srb{150pt}{Toggle  to  the  window displayed previously.}
\srb{25pt}{\blt C-a n   }\srb{150pt}{Switch to the next window.}
\srb{25pt}{\blt C-a p   }\srb{150pt}{Switch to the previous window}
\eSecBox

\sSecBox{Data to/from files}
\srb{25pt}{\blt C-a h   }\srb{150pt}{Write a hardcopy of the current window (hardcopy.n)}
\srb{25pt}{\blt C-a H   }\srb{150pt}{Begins/ends logging of the current window (screenlog.n)}
\srb{25pt}{\blt C-a >   }\srb{150pt}{Write paste buffer to a file.}
\srb{25pt}{\blt C-a <   }\srb{150pt}{Reads the screen-exchange file into the paste buffer.}
\srb{25pt}{\blt C-a =   }\srb{150pt}{Removes the file used by C-a < and C-a >.}
\eSecBox

\sSecBox{Misc}
\srb{25pt}{\blt C-a x   }\srb{150pt}{Lock this terminal.}
\eSecBox

\sSecBox{Command Mode}
\srb{25pt}{\blt C-a :                     }\srb{150pt}{Enter command mode.}
\srb{25pt}{\bsp Commands can be           }\srb{150pt}{}
\srb{80pt}{\bsp   \blt altscreen <on|off> }\srb{70pt }{Alternate screen support}
\srb{80pt}{\bsp   \blt bufferfile <file>  }\srb{70pt }{Changed file for paste buffer}
\srb{80pt}{\bsp   \blt caption always     }\srb{70pt }{Always display caption}
\srb{80pt}{\bsp   \blt caption splitonly  }\srb{70pt }{Display caption when screen split}
\srb{80pt}{\bsp   \blt caption <string>   }\srb{70pt }{Change the escape display sequence}
\srb{80pt}{\bsp   \blt clear              }\srb{70pt }{Clear window and save to scroll buffer}
\srb{80pt}{\bsp   \blt vbell <on|off>     }\srb{70pt }{Turn on/off visual bell}
\srb{80pt}{\bsp   \blt vbell_msg <mes>    }\srb{70pt }{Message for visual bell}
\eSecBox

\newpage

\sSecBox{Copy Paste Mode}
\srb{25pt}{\blt C-a [   }\srb{150pt}{Enter copy/scrollback mode.}
\srb{25pt}{\blt C-a ]   }\srb{150pt}{paste buffer to the stdin}
\eSecBox

\sSecBox{Copy Paste Mode}
\srb{25pt}{\blt Moving Around}
\bsp \srb{25pt}{\blt h      }\srb{150pt}{Left (arrow keys work too)}
\bsp \srb{25pt}{\blt j      }\srb{150pt}{Down}
\bsp \srb{25pt}{\blt k      }\srb{150pt}{Up}
\bsp \srb{25pt}{\blt l      }\srb{150pt}{Right}
\bsp \srb{25pt}{\blt 0      }\srb{150pt}{Leftmost column}
\bsp \srb{25pt}{\blt ^      }\srb{150pt}{Leftmost, non-whitespace character}
\bsp \srb{25pt}{\blt $      }\srb{150pt}{Rightmost non-whitespace character}
\bsp \srb{25pt}{\blt H      }\srb{150pt}{Top of screen}
\bsp \srb{25pt}{\blt L      }\srb{150pt}{Bottom of scrren}
\bsp \srb{25pt}{\blt G      }\srb{150pt}{moves to absolute line (default: end of buffer).}
\bsp \srb{25pt}{\blt |      }\srb{150pt}{moves to absolute column (default: start of line)}
\bsp \srb{25pt}{\blt w      }\srb{150pt}{Forward word}
\bsp \srb{25pt}{\blt b      }\srb{150pt}{back word}
\bsp \srb{25pt}{\blt C-u    }\srb{150pt}{scroll  the display up}
\bsp \srb{25pt}{\blt C-d    }\srb{150pt}{scroll  the display down }
\srb{25pt}{\blt Marking}
\bsp \srb{25pt}{\blt SPC    }\srb{150pt}{Set mark (SPC again to mark end and copy)}
\bsp \srb{25pt}{\blt y      }\srb{150pt}{used to mark one whole line or to mark from start of line.}
\bsp \srb{25pt}{\blt W      }\srb{150pt}{marks exactly one word.}
\bsp \srb{25pt}{\blt c      }\srb{150pt}{Set left margin for region (for rectangle cut/paste)}
\bsp \srb{25pt}{\blt C      }\srb{150pt}{Set right margin for region (for rectangle cut/paste)}
\bsp \srb{25pt}{\blt x      }\srb{150pt}{exchanges the first mark and the current cursor position}
\srb{25pt}{\blt Searching}
\bsp \srb{25pt}{\blt /      }\srb{150pt}{Vi-like search forward.}
\bsp \srb{25pt}{\blt ?      }\srb{150pt}{Vi-like search backward.}
\bsp \srb{25pt}{\blt C-a s  }\srb{150pt}{Emacs style incremental search forward.}
\bsp \srb{25pt}{\blt C-r    }\srb{150pt}{Emacs style reverse i-search.}
\srb{25pt}{\blt Finishing Up}
\bsp \srb{25pt}{\blt a      }\srb{150pt}{before the final space key to toggle in append mode.}
\bsp \srb{25pt}{\blt >      }\srb{150pt}{sets the second mark and writes paste buffer screen-exchange file}
\bsp \srb{25pt}{\blt ENTER}
\srb{25pt}{\blt Misc}
\bsp \srb{25pt}{\blt C-g    }\srb{150pt}{gives information about the current line and column.}
\eSecBox

\sSecBox{Common Command Line Options}
    \blt -A   
    \bsp  Adapt  the  sizes of all windows to the size of the current terminal.  
    \blt -d [pid.tty.host]
    \bsp  does  not  start screen, but detaches the elsewhere running screen
    \bsp  session. 
    \blt -d -r   
    \bsp  Reattach a session and if necessary detach it first.
    \blt -d -R   
    \bsp  Reattach a session and if necessary detach or  even  create  it first.
    \blt -d -RR
    \bsp  Reattach  a  session  and if necessary detach or create it. 
    \blt -D -r
    \bsp  Reattach a session. If necessary detach and  logout remotely first.
    \blt -D -R
    \bsp  Attach here and now. 
    \blt -D -RR
    \bsp  Attach here and now. Whatever that means, just do it.
    \blt -ls
    \bsp  prints a list of  pid.tty.host strings identifying screen sessions.  
    \blt -d -m
    \bsp  Start screen in "detached" mode. 
    \blt -p number_or_name
    \bsp  Preselect a window. "=" brings up the windowlist on the blank window.
    \blt -r [pid.tty.host]
    \blt -r sessionowner/[pid.tty.host]
    \bsp  resumes a detached screen session.  No other options (except
    \bsp  com- binations with -d/-D) may be specified, though an optional
    \bsp  prefix of [pid.]tty.host may be needed to distinguish between
    \bsp  multiple detached screen sessions.  The second form is used to
    \bsp  connect to another user's screen session which runs in
    \bsp  multiuser mode. This indicates that screen should look for
    \bsp  sessions in another user's directory. This requires
    \bsp  setuid-root.
    \blt -S sessionname
    \bsp  This name can be used instead of the default [tty.host] suffix.
    \blt -wipe [match]
    \bsp  does the same as "screen  -ls",  but  removes  destroyed  sessions
    \bsp  instead of marking them as `dead'.  
    \blt -x   
    \bsp  Attach to a not detached screen session. (Multi display mode).
\eSecBox

\end{document}






