HP Integrity NonStop H-Series User Manual

Page 129

Advertising
background image

Setting Up Function Keys to Move Columns

Creating an Oversized Table

058060 Tandem Computers Incorporated

5–17

Giving a Series of Commands in One Step

Look at the editing in Figure 5-2. The next step in editing the TABLE file is
to make the first letter of each of the department names uppercase and to
put parentheses around each of the department head’s names. You could
type the changes on each of these lines separately, using features of TEDIT
you have already learned.

There is, however, a way to let TEDIT do repetitive tasks such as these for
you. In the same way that you assigned the REPLACE command to the
function keys earlier in this section, you can write a string of commands to
do the following: 1) make a single character uppercase, 2) move the cursor
to the next line, and 3) put parentheses around a word.

Because your need for a series of commands such as this is a fairly unusual
occurrence, you probably will not want to put it on a function key and save
it in the TABLE profile. Instead you can write the commands on the *C
response line. You write the commands in the same way as you would on a
function key. Then you press *C to give the command. Follow these steps:

1.

Put the cursor on the first letter of the first department name you want
to change. This is the HOME position in this file.

2.

Press *C. When the response line appears, type the string of commands
you see in the following example exactly as shown. The commands are
abbreviated so that they all fit on one line. The correct abbreviations for
each command are given in the reference manual and in the online
help. The margin notes that accompany the example explain how the
command works.

Advertising
This manual is related to the following products: