SET TERMINAL
Purpose
Use the TERMINAL option to specify whether a terminal is to be used in line mode or in full-screen mode. (This option is meaningful only on a display terminal.)
Operands
- Typewriter
- specifies the display terminal is to be used in line mode.
- Display
- specifies the terminal is to be used in full-screen mode.
Initial Setting
The initial setting is based on whether your terminal was disconnected or connected during your XEDIT session. If disconnected, the initial setting is TERMINAL TYPEWRITER; if connected, the initial setting is TERMINAL DISPLAY.
Usage Notes
- With a remote display terminal, full-screen performance depends on the line transmission rate; if it is too slow, you can specify line mode (TYPEWRITER).
- In case of a severe transmission error while in full-screen mode (DISPLAY), the editor automatically switches to line mode (TYPEWRITER).
- If you are editing a file in full-screen mode and you issue a DISCONN (disconnect) command, you must issue BEGIN after you reconnect, and then press ENTER to get the file image back on the screen.
- If you are editing a file in line mode (SET TERMINAL TYPEWRITER), XEDIT does not recognize which key caused an attention interrupt. The definition that is executed is the CP definition of that key. To QUERY keys in line mode, use the CP QUERY PFnn command.
Messages and Return Codes
- 520E
- Invalid operand: operand [RC=5]
- 526E
- Option option valid in display mode only [RC=3]
- 545E
- Missing operand(s) [RC=5]
where return codes are:
- 0
- Normal
- 3
- Operand is valid only for display terminal
- 5
- Invalid or missing operand(s)
- 6
- Subcommand rejected in the profile due to LOAD error, or QUIT subcommand has been issued in a macro called from the last file in the ring
