\section{Text Type Out Commands}
\label{Text Type Out Commands}

     Table~\ref{Text Type Out Commands} describes the commands used to type out part or all  of
     the  contents  of  the buffer for examination.  These commands do
     not move the buffer pointer.


\begin{table}[h]
\caption{\bf{Text Type Out Commands}}
\label{Text Type Out Commands}
\end{table}
\nopagebreak

\begin{list}{}{\labelsep 20pt}

     \item [{\tt T}]         Types out the contents of the buffer from  the  
		current
               position  of  the  buffer pointer through and including
               the next line terminator character.

     \item [{\tt nT}]        Types {\tt n} lines.  If {\tt n} is positive,  
		types  the  {\tt n}  lines
               following the current position of the pointer.  If {\tt n} is
               negative, types the {\tt n} lines preceding the pointer.   If
               {\tt n}  is  zero,  types the contents of the buffer from the
               beginning of the line on which the pointer  is  located
               up to the pointer.

     \item [{\tt -T}]        Equivalent to {\tt -1T}.

     \item [{\tt m,nT}]      Types out the contents of the  buffer  between  
		pointer positions {\tt m} and {\tt n}.

     \item [{\tt .,.+nT}]    Types out the {\tt n} characters  immediately  following  the
               buffer pointer.  {\tt n} should be greater than zero.

     \item [{\tt .-n,.T}]    Types the {\tt n} characters immediately preceding the buffer
               pointer.  {\tt n} should be greater than zero.

     \item [{\tt n}\caret {\tt T}]      Types out to the  console  the  character  whose  ASCII
               value  is  {\tt n}.  Whatever normal type-out conversions may
               currently  be  in  effect  and  applicable   (such   as
               translation  of  control characters to up-arrow format)
               are done.  The value of {\tt n} is used modulo 256.

\iftecoelevenonly
     \item [{\tt n:}\caret {\tt T}]      Outputs to the console the character whose ASCII  value
               is  {\tt n}.   Output  is done in ``one-shot'' binary mode;  no
               type-out translations are done.  The value of {\tt n} is used
               modulo 256.
               {\em [TECO-11 only]}
\fi

     \item [{\tt HT}]        Types out the entire contents of the buffer.

     \item [{\tt V}]         Types out the current line.  Equivalent to {\tt 0TT}.

\ifnotintecoeight
     \item [{\tt nV}]        Types out {\tt n-1} lines on each side of the  current  line.
               Equivalent to {\tt 1-nTnT}.
               {\em [Not in TECO-8]}

     \item [{\tt m,nV}]      Types out {\tt m}-1 lines before  and  {\tt n}-1  lines  after  the
               current line.
               {\em [Not in TECO-8]}
\fi

     \item [\caret {\tt Atext<CTRL/A>}]
               Types {\tt text} on the terminal.  While  the  command  may
               begin  with  {\tt <CTRL/A>} or Caret/A, the closing character
               must be a {\tt <CTRL/A>}.  A numeric  argument  must  not  be
               specified with this command.

     \item [{\tt @} \caret {\tt A/text/}] Equivalent to the \caret {\tt A} command except that the text to be
               printed  may  be  bracketed  with  any character.  This
               avoids the need for the closing {\tt <CTRL/A>}.

\end{list}

     You may stop or delay the output  of  any  type  out  command  by
     typing  certain  special characters at the keyboard while TECO is
     typing out at the terminal (via a  {\tt T},  {\tt V},  \caret {\tt A},  
	or  {\tt :G}  command).
     These characters are described in the table below:

\begin{table}[h]
\caption{\bf{Type Out Time Commands}}
\label{Type Out Time Commands}
\end{table}
\nopagebreak

\begin{list}{}{\labelsep 20pt}

     \item [{\tt <CTRL/O>}]     Stops the terminal output  of  the  current  command
                  string.    TECO   continues   to  run  and  to  send
                  characters   to   the   terminal,   however,   these
                  characters  are suppressed from actually printing on
                  the terminal.  You can resume printing characters by
                  typing  another  {\tt <CTRL/O>}  while  type  out is being
                  suppressed.  TECO cancels this suppression the  next
                  time  that  it  prompts for command string input.  A
                  TECO macro can cancel the effect of any {\tt <CTRL/O>}  by
                  setting  the  16's  bit  in the {\tt ET} flag (see section
                 ~\ref{Mode Control Flags}).

     \item [{\tt <CTRL/S>}]     Freezes the terminal output of the  current  command
                  string.   TECO  stops running the next time it tries
                  to output a character to your  terminal,  and  waits
                  for  you  to type a {\tt <CTRL/Q>} to indicate that output
                  should resume.

     \item [{\tt <CTRL/Q>}]     Causes TECO to resume any type out that  was  frozen
                  via  use  of  the  {\tt <CTRL/S>} command described above.
                  This character has this effect only while typout  is
                  frozen.   Striking  any  key  other than {\tt <CTRL/Q>} or
                  {\tt <CTRL/C>}  while  type  out  is  frozen   will   have
                  unpredictable   results;   consult  the  appropriate
                  operating system manual.
\end{list}


     Note  that  {\tt <CTRL/O>},  {\tt <CTRL/Q>},  and  {\tt <CTRL/S>}  are  legal  TECO
     commands  as well.  When TECO is not typing on the terminal (when
     you are entering a command string, for example), these characters
     do not have the effect described above.  They may be entered into
     your command string just like any other control character (except
     under operating systems that filter out these characters).

