HP Integrity NonStop H-Series User Manual

Page 162

Advertising
background image

Renumbering and Compressing Files for Storage

Working With Larger Files

058060 Tandem Computers Incorporated

6–13

2.

When the RENUMBER response lines appear, type the information you
see in the following example. Remember to use the terminal

TAB

key

or the arrow keys to move the cursor.

Renumber: ALL to: 1 by: 1 audit: YES

Type the range of lines

you want renumbered.

Type the first number of

the new line sequence.

TEDIT fills in the

increment of 1 by default.

TEDIT by default saves a

copy of the old line numbers.

If you want, you can renumber only part of the file by giving a specific
range of lines in the first field. You can start renumbering at any
number, say at 25 or at 300. You can change the increment; for
example, to renumber by fives or tens. If you audit the renumbering
(see the Audit field in the example), you can use UNDO to put the
numbers back the way they were before you gave the command.

3.

Press *C again. TEDIT renumbers the file so that all the lines are
numbered sequentially by ones starting at 1.

Highlight

Renumbering and Compressing Files for Storage

Renumbering is one way to keep larger files organized. You might want to
make a habit of renumbering every time you exit from a file. Another good
habit to form is to compress your files occasionally to reduce the storage
(disk) space that the files occupy. The following example shows a series of
commands that you can give on the *C response line or assign to the
function key for the EXIT command; these commands renumber and
compress the file every time you exit.

Command: RENUMBER ALL,1,1,NO; COMPRESS; EXIT

If you do not care to

save the numbers, the

renumbering goes faster

if you specify NO audit.

Advertising
This manual is related to the following products: