HP Integrity NonStop H-Series User Manual

Page 106

Advertising
background image

Searching for Words

Advanced Editing Features

058060 Tandem Computers Incorporated

4–21

Even if you decide to use the TFORM letter feature, you should still read
about the TEDIT features that make searching for and replacing specific text
easy. Those features are discussed next; to learn them you only need to
create one personalized form letter.

Searching for Words

To personalize the form letter, replace the generic names with actual names.
Use the SEARCH or the REPLACE command to find and replace the names.
When you use SEARCH, TEDIT locates the name by placing the cursor on
the first letter of the word you specify in the command. Then you can type
over the old text to replace it with new text. Follow these steps:

1.

Look at the letter you just finished and find one of the generic names
you want to replace. In this example, use “dept-name.” It occurs three
times; one of the times you replace it, the replacement needs an
uppercase letter.

2.

Look on the template and locate the key labeled SEARCH. Press it.

3.

TEDIT displays the response lines shown in the next example. Fill them
in as shown.

Search for: Type “dept-name” in this field. Whatever you type in this
field is called the search-text.

In lines: Leave this field as is, F/L. TEDIT automatically fills this field
in for you with the designation F/L, which means that TEDIT looks for
the search-text in all the lines from the first line in the file to the last
one. You can change this field to put in specific line numbers or a
designation such as */B, which tells TEDIT to search between the
cursor position (*) and the bottom of the screen (B).

In columns: Leave this field as is, 1:239. TEDIT automatically fills this
field in for you with the designation 1:239. Column 1 is the leftmost
column on the screen. At any given time, you can see 79 columns on
the screen; but with TEDIT you can put text in 239 columns by scrolling
the screen horizontally. The point here is that TEDIT automatically
looks in all possible columns for the search-text unless you limit the
search to a specific place—columns 1 through 5, for example.

Advertising
This manual is related to the following products: