: - Print a window around a line.

Syntax:

:
:n

Examples:

:
:3
/this/:

Where:

n
is a number telling how big the window should be. The default value of n is 5. This means the window begins five lines before the specified address and ends five lines after. If you specify a number after the :, FRED will use that number for all subsequent : commands until you specify a new number.

Description:

: displays a window of lines around a single line. If you do not specify an address, FRED displays a window around the current line ".". For example, : with no arguments before or after is equivalent to .-5,.+5p.

: sets "." to the last line printed.

Copyright © 1998, Thinkage Ltd.