User`s guide
Useful Control-Key Sequences
The following sections describe useful control-key sequences. To issue a control-
key sequence, while pressing the CTRL key, press the other appropriate key in the
sequence; for example,
CTRL/C
means while pressing
CTRL
, also press
C
.
Other than the
CTRL/A
key sequence listed in this section, the control keys you can
use with the SL command-line editor are not listed here. See Table A–1 for the
control-key sequences you can use with the command-line editor.
To Switch Between INSERT and REPLACE Modes (CTRL/A)
If you have SET the SL command-line editor ON, you can use CTRL/A to switch
between INSERT and REPLACE modes.
As SL, the command-line editor, is distributed, any character you type within a
command line is added; that functionality is called INSERT mode.
You can change that functionality while editing a command line so that any
character you type replaces the character located at the cursor position; that is
called REPLACE mode.
You alternate between INSERT and REPLACE modes by pressing
CTRL/A
. SL
returns to INSERT mode each time you press
RETURN
to issue a command.
To Direct Keyboard Input to the Background Job (CTRL/B)
CTRL/B
causes RT–11 to direct all keyboard input to the background job. The
multi-job monitors echo B> on the terminal. The foreground or system job,
however, has priority, so RT–11 returns control to the foreground or system
job when it has output. In multiterminal systems,
CTRL/B
has no effect if
the background console is not shared.
CTRL/B
directs all typed input to the
background job until a
CTRL/F
redirects input to the foreground job or a
CTRL/X
directs input to a system job.
CTRL/B
has no effect when used under a single-job
monitor or when a SET TT NOFB command is in effect, unless you are using SL.
To Terminate Program Execution (CTRL/C)
CTRL/C
terminates program execution and returns control to the keyboard
monitor.
CTRL/C
echoes ^C on the terminal.
You must type
CTRL/C
twice to terminate execution unless the program to be
terminated is waiting for terminal input or is using the TT handler for input.
In these cases, one
CTRL/C
terminates execution. Under the multi-job monitors,
the job that is currently receiving input is the job that is stopped (determined
by the most recently typed command,
CTRL/F
or
CTRL/B
). To make sure that the
command is directed to the proper job, type
CTRL/B
,
CTRL/F
, or
CTRL/X
before
typing
CTRL/C
.
To Direct Keyboard Input to the Foreground Job (CTRL/F)
CTRL/F
causes RT–11 to direct all keyboard input to the foreground job and take
all output from the foreground job. Multi-job monitors echo F> on the terminal
unless output is already coming from the foreground job. If no foreground job
2–2 Using RT–11 Commands










