HP Integrity NonStop H-Series User Manual

Page 125

Advertising
background image

Setting Up Function Keys to Move Columns

Creating an Oversized Table

058060 Tandem Computers Incorporated

5–13

After assigning the commands, all you have to do is press a function key
each time you want to insert or delete a column. These functions are very
handy when working with tabular material.

The discussion here is brief. To understand more fully how the commands
work, refer to the REPLACE command and the PATTERNS topic in the
PS TEXT EDIT Reference Manual.

To assign to function keys the command to delete any column the cursor is
in and the command to insert a blank column, follow these steps:

1.

Pick two function keys that you do not think you will use when
creating tables. (You can always change them later if you need to.) For
this example, use WINDOW and REGION.

2.

Press *C. When the response line appears, type RECONFIGURE
FUNCTION-KEYS (or simply REC F). Press *C again. TEDIT displays
the first page of the function key settings.

3.

Using the terminal

TAB

key, tab down to the first key you are

changing. Type the command to delete a column exactly as shown in
the following example.

The syntax for the command tells TEDIT to replace any two characters with
just the second character of the pair (which essentially deletes the first
character). TEDIT makes this replacement in all the lines from the cursor
position to the bottom of the screen (*/B). TEDIT replaces the character in
the column the cursor is in (*) with the character one column to the right of
the cursor (* + 1). The E stands for EXTENDED-SEARCH, which you must
always use with a wild-card character such as “?”.

F5: paragraph
F6: REPLACE ??, @2, */B, *:*+1, E
F7: region
F8: defineregion

Assign the

DELETE COLUMN

command to F6 .

Type this line

exactly as shown.

You might prefer

F/L here to do the
entire file at once.

Advertising
This manual is related to the following products: