(Using Special-Function Keys\c2)

In addition to DCL commands, you can use special-function keys to control the operating system. These keys include: (unnumbered) The top row of keys above the LK201 keyboard The middle set of keys on the LK201 keyboard The (DELETE\smallcaps) key () on the keyboard Control-key sequences on the keyboard (user_command\nonewpage) (Useful Top-Row, Middle-Keypad, and DELETE Keys)

See the manual that came with your terminal for instructions on how to use the top-row keys and the middle-keypad keys. The (Hold Screen), the (Print Screen), and the ( (ESC)) keys on the top row are especially useful. (unnumbered) To stop the display from scrolling, press (Hold Screen) once. To make the display continue scrolling, press (Hold Screen) a second time. To print information displayed on your terminal screen, press (Print Screen). For the Professional series computer, (Print Screen) works only if the handler for your printer is loaded into the operating system and the transparent spooler is running. See the PRINT command description in the (int_book) for more information. If you are using the SL handler, you can move the cursor one character at a time left or right by respectively pressing ((leftarrow)) or ((rightarrow)). If you have SET SL KED,ON, you can also use the other arrow keys to recall commands previously executed. To delete the character to the left of the cursor, press the (DELETE\smallcaps) key (). (Useful Control-Key Sequences)

The following sections describe useful control-key sequences. To issue a control-key sequence, while pressing the (CTRL\smallcaps) 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 (basic_table) 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, (CTRL/Aswitching command-line modes) 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 (CTRL/Bswitching to background job) (Background jobcommunicating with) 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 (CTRL/Cterminating programs) (Programsterminating) 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 (CTRL/Fswitching to foreground job) RT--11 to direct all keyboard input to the foreground job and take all output from the foreground job. (Foreground jobcommunicating with) Multi-job monitors echo F> on the terminal unless output is already coming from the foreground job. If no foreground job exists, the monitor displays an error message ((F?)). Otherwise, control remains with the foreground job until redirected to the background job (with (CTRL/B)), or redirected to a system job (with (CTRL/X)), or until the foreground job terminates. In multiterminal systems, (CTRL/F) has no effect if the foreground console is not shared. (CTRL/F) has no effect when used under a single-job monitor, or when a SET TT NOFB command is in effect. ( To Suppress Terminal Output (CTRL/O)) (CTRL/O) suppresses (CTRL/Osuppressing/reenabling terminal display) (Terminalssuppressing/reenabling ouput to) terminal output while continuing program execution. (CTRL/O) echoes as ^O on the terminal. RT--11 reenables terminal output when one of the following occurs: (unNUMBERED) You type a second (CTRL/O). You return control to the monitor by typing (CTRL/C) or by issuing the .EXIT request in your program. The running program issues a .RCTRLO or .MTRCTO programmed request (see the (sml_book)). RT--11 system programs reset (CTRL/O) to the echoing state each time you enter a new command string. ( To Resume Terminal Display After Stopping It (CTRL/Q)) (CTRL/Q) resumes (CTRL/Qresuming terminal display) displaying characters on the terminal from the point the display previously stopped because of a (CTRL/S). (CTRL/Q) echoes but has no effect under a multiterminal monitor if a SET TT NOPAGE command is in effect. ( To Suspend Terminal Output (CTRL/S)) (CTRL/S) temporarily (CTRL/Ssuspending terminal display) suspends output to the terminal until you type a (CTRL/Q). (CTRL/S) does not echo. Under a multiterminal monitor, (CTRL/S) is not intercepted by the monitor if SET TT NOPAGE is in effect. ( To Cancel/Delete the Current Command Line (CTRL/U)) (CTRL/U) cancels (CTRL/Udeleting the command line) the current input line (all characters back to, but not (Command linedeleting) including, the most recent line feed, (CTRL/C), or (CTRL/Z)).

When SL is running, (CTRL/U) erases the current input line from the screen and from the command buffer. When SL is not running, (CTRL/U) echoes as ^U followed by a return and line feed at the terminal. ( To Direct Keyboard Input to a System Job (CTRL/X)) (CTRL/X) causes (CTRL/Xswitching to system jobs) (System jobscommunicating with) RT--11 to prompt you for the name of a job to which it then directs all further keyboard input.

When you type (CTRL/X), RT--11 displays the (Job?) prompt at the terminal. In response, specify the system-job name (or logical-job name) of the system job to which you want to direct input. Specify B or F to direct keyboard input to the background or foreground job, respectively.

If the specified job does not exist, RT--11 displays a question mark ((?)); otherwise, RT--11 displays the system-job name at the terminal. Control remains with the specified system job until the job terminates or control is redirected to the background job (with (CTRL/B)), the foreground job (with (CTRL/F)), or another system job (with ((CTRL/X),) or a higher priority job gains control of the terminal. (CTRL/X) has no effect when used with a monitor that does not have system-job support or when a SET TT NOFB command is in effect. ( To Terminate Terminal Input (CTRL/Z)) (CTRL/Z) terminates (CTRL/Zterminating terminal input) (Terminalsterminating input to) input when used with the terminal device handler (TT). It echoes as ^Z on the terminal. The (CTRL/Z) itself does not appear in the input buffer. Because (CTRL/Z) is a line terminator, you cannot delete it, once typed. If TT is not being used, (CTRL/Z) has no effect.