System information
Table 2-2. Editing Commands
Command Action
+-B Move CP to beginning of memory buffer if + and to bottom if
+-nC Move CP by +-n characters (moving ahead if +), counting the <cr><lf> as two
characters.
+-nD Delete n characters ahead of CP if plus and behind CP if minus.
+-nK Kill (remove) +-n lines of source text using CP as the current reference. If CP is
not at the beginning of the current line when K is issued, the characters before CP
remain if + is specified, while the characters after CP remain if - is given in the
command.
+-nL If n = 0, move CP to the beginning of the current line, if it is not already there. If n
<> 0, first move the CP to the beginning of the current line and then move
it to the beginning of the line that is n lines down (if +) or up (if -). The CP will
stop at the top or bottom of the memory buffer if too large a value of n is
specified.
+-nT If n = 0, type the contents of the current line up to CP. If n = 1, type the contents
of the current line from CP to the end of the line. If n>1, type the current line
along with n +- 1 lines that follow, if + is specified. Similarly, if n>1 and - is
given, type the previous n lines up to the CP. Any key can be depressed to abort
long type-outs.
+-n Equivalent to +-nLT, which moves up or down and types a single line.
2.1.6 Command Strings
Any number of commands can be typed contiguously (up to the capacity of the console buffer)
and are executed only after you press the <cr>. Table 2-3 summarizes the CP/M console
line-editing commands used to control the input command line.
2.1 Introduction to ED CP/M Operating System Manual
2-8