HP Integrity NonStop H-Series User Manual

Page 160

Advertising
background image

Using Line and Column Numbers

Working With Larger Files

058060 Tandem Computers Incorporated

6–11

Displaying Individual Lines by Number

Try moving around in the file using the line numbers. First, go to the
beginning of the file. You now know several methods of getting to the
beginning of the file, but here is a method that finds text by line number.
Follow these steps:

1.

Press *C. When the response line appears, type DISPLAYLINE 0 (or
simply DI 0). See the example.

Command: DISPLAYLINE 0

2.

Press *C again. TEDIT scrolls the text to the beginning of the file and
places the cursor on the first line. TEDIT moves to the beginning of the
file because you asked for a line number that is smaller than the first
line in the file. Notice the status line gives the first line number as 69.01
and the designation BOF. BOF stands for beginning of file. TEDIT
designates the end of the file with EOF.

If you type just DISPLAYLINE without a number after it, TEDIT displays a
secondary set of response lines. The fields ask you to type a line number
and a column number. You could fill in only the Display-line field, but if
you give the column number as well, TEDIT positions the cursor on the line
and in the column you specify.

Displaying Columns by Number

Moving directly to a particular column is useful if you want, for example, to
change a number in a part of a table (such as the expense form) that is not
currently in view on the screen. Using the DISPLAYLINE command to find
the column could save you from having to use the LEFTSCROLL command
and then move to the correct place with the arrow keys.

Advertising
This manual is related to the following products: