W - Window

Displays a specified line and the 21 lines that precede it.

Syntax

W{n}

Syntax Elements

n is the number of the line to terminate the display.

Comment

If there are fewer than 21 lines preceding n, lines 1 to n are displayed.

Example

:ED CR ITEM1
Top
.L5
001 1234
002 2345
003 3456
004 4567
005 5678
.W56
035 954
.
.
.
056 7543
.W10
001 1234
.
.
.
010 1475
.









W command displays line 56 plus the 21 lines that precede it.




W command displays line 10 plus the 9 lines that precede it.