Contents - Index


 

Use EditKeep to replace current session text with blanks in all but a specified column range for a specified group of lines.

 

EditKeep may also be entered as Keep.

 

(The EditBlank command can be used to blank out columns within a specified range.)

 

The group of lines can be specified by pre-selecting the lines (see Selection) or by using the FCT operand.  If neither a pre-selection or FCT operand is provided, the group of lines consists solely of the current line.

 

Optional Operands

 

ZONE is the column range to leave intact. Enter it in the format xxx-yyy where xxx and yyy are numbers between 1 and the session maximum line width.  For example, ZONE=11-20 signifies columns 11 to 20.  ZONE=5 is the same as ZONE=5-5, ZONE=5-* specifies columns 5 through the session maximum line width, and ZONE=-5 is the same as ZONE=1-5.

 

 Default: current session zone.

 

FCT specifies the number of lines to update.  If FCT is specified as an asterisk (*), all of the lines through the end of the session will be updated.

 

 Default: 1.

 

Return Codes

 

OK Successful.

 

Examples

 

Blank all text except columns 6 to 13 starting at the current line and proceeding through to the last line of the session:

 

   => keep 6-13,*