IBM SC30-3681-08 Saw User Manual


 
Repeating a Series of Commands in the Command History
There is an additional feature for advanced users to facilitate repeating a particular
series of GWCON or CONFIG commands. C1, C2,...,Cn in the Command History is
referred to as a
repeat sequence
. This feature may be more convenient than simply
using Ctrl-B and Ctrl-F when you must repeat a given task that requires multiple
commands. Enter Ctrl-R (repeat) to set the start of the
repeat sequence
at
command C1. Enter Ctrl-N (next) successively to retrieve the next command(s) in
the repeat sequence. Commands are not automatically entered, but are placed on
the current command line allowing you to modify or enter the command.
To produce the desired behavior of a repeat sequence, the first command retrieved
using the first Ctrl-N (next) depends on the manner in which the start of the repeat
sequence was set using Ctrl-R (repeat).
Setting the start of the repeat sequence with Ctrl-R can be done in two ways:
1. When C1 is initially entered
2. When C1 is retrieved from the Command History with Ctrl-B or Ctrl-F.
Starting a Repeat Sequence As Commands Are Entered
If you enter Ctrl-R as command C1 is being keyed in, and then enter commands
C2, C3... Cn. Ctrl-N will successively bring commands C1, C2, ... Cn, C1, C2, ...
Cn, C1, ... to the command line.
In Example 1, the start of the repeat sequence is set as the first command is keyed
in. The user knows ahead of time that the same commands to be entered in
GWCON need to be repeated in CONFIG.
Example 1
1. As the first command in the sequence is keyed in, use Ctrl-R (repeat) to set the
start of the repeat sequence.
*talk 5
+event Ctrl-R
then press Enter to set the start of the repeat sequence.
2. Continue typing the subsequent commands in the sequence:
Event Logging System user console
ELS>display sub les
ELS>display sub lec
ELS>exit
+
3. To enter these same commands in CONFIG, press
Ctrl-P (the default OPCON intercept character) and go to CONFIG.
+-press Ctrl-P-
*talk 6
Config>Ctrl-N for NEXT to retrieve the start of
this sequence-
Config>event Enter
Event Logging System user configuration
ELS config>Ctrl-N for NEXT to retrieve the next
command in sequence-
ELS config>display sub les Enter
ELS config>Ctrl-N for NEXT to retrieve the next
command in sequence-
ELS config>display sub lec Enter
22 MRS V3.2 Software User’s Guide