ELS config>Ctrl-Nfor NEXT to retrieve the next command in sequence-

ELS config>exit Enter Config>

Starting a Repeat Sequence After All Commands Are Entered

On the other hand, if you ®rst enter C1, C2, ... Cn, and retrieve C1 viaCtrl-Bor Ctrl-F. Entering Ctrl-R, entering Ctrl-Nsuccessively brings commands C2,..., Cn, C1, C2,..., Cn, C1,...,Cn to the command line (see Example 2). The ®rst occurrence of C1 is bypassed since C1 is already available on the command line at the time it was retrieved, and does not need to be recalled again by the ®rstCtrl-N.

In Example 2, all the commands are entered and then the ®rst command in the sequence to be repeated is retrieved. A sequence of commands has been entered in GWCON, and the same sequence needs to be repeated in CONFIG.

Example 2

1. Enter the following commands in GWCON:

*talk 5 +event

Event Logging System user console ELS>display sub les ELS>display sub lec

ELS>exit

+

2.To enter these same commands in CONFIG, press Ctrl-P(the default OPCON intercept character) and go to CONFIG.

+Ctrl-P- *talk 6

Config>Ctrl-Bfour times to retrieve the start of the four command sequence in this example-

Config>event

Config>event Ctrl-Rfor REPEAT to set the start of the repeat sequence-

Config>event Enter

Event Logging System user configuration

ELS config>Ctrl-Nfor NEXT to retrieve the next command in sequence-

ELS config>display sub les Enter

ELS config>Ctrl-Nfor NEXT to retrieve the next command in sequence-

ELS config>display sub lec Enter

ELS config>Ctrl-Nfor NEXT to retrieve the next command in sequence-

ELS config>exit Enter Config>

If the OPCON intercept command described in ªChapter 3. The OPCON Processº on page 25 has been used to rede®ne the OPCON intercept character from the default character Ctrl-Pto one of the Command History control characters, Ctrl-B, Ctrl-F, Ctrl-R, or Ctrl-N, the OPCON intercept character will take priority. For example, if the intercept character has been changed to Ctrl-F, then Ctrl-Fwill not retrieve Forward in the Command History, but will instead place the user back at the OPCON prompt (*).

Chapter 2. Using the Software 23

Page 59
Image 59
IBM SC30-3681-08 manual Starting a Repeat Sequence After All Commands Are Entered, Enter the following commands in Gwcon