PS TEXT EDIT Reference Manual
OBEY
TEDIT Commands
058059 Tandem Computers Incorporated 3–123
TEDIT looks in the obey file for the ?SECTION section-name. When TEDIT
finds this section name, it performs only the TEDIT commands in that
section of the obey file. Then TEDIT continues your editing session. The
?SECTION section-name must begin in column 1. Here is an example of an
OBEY file that uses section names:
?SECTION WRAP-ON-OFF ?
COMMENT This section toggles auto word wrap from ON to OFF
?COMMENT by pressing the SF13 function key.
SETPROFILE <SF13>,"SET AUTO W,**"
?SECTION RETRIEVE-WRAP-OFF
?COMMENT This section turns auto word wrap off only when
?COMMENT using the RETRIEVE command.
SETPROFILE <F10>, "SET AUTO W,OFF:RETRIEVE;SET AUTO W, ON"
If you do not specify a section-name when you give the OBEY command,
TEDIT performs all the commands in the obey file.
Tips
TEDIT reads commands from the obey file until it reaches the end of
the file or an error occurs.
Comments in your obey file must be preceded by a question mark (?)
and the word comment. For example:
?COMMENT
You can enter COMMENT in either lowercase or uppercase letters.
An OBEY command cannot be used in the obey file, and it cannot be
used to execute another OBEY command.