Using a 3270 terminal in 3215 mode
The z/VM® control program (CP) defines five characters as line-editing symbols. Use the CP QUERY TERMINAL command to see the current settings.
The default line-editing symbols depend on your terminal
emulator. You can reassign the symbols by changing the settings of
LINEND
, TABCHAR
, CHARDEL
, LINEDEL
,
or ESCAPE
with the CP TERMINAL command. Table 1 shows the most commonly
used settings:
Character | Symbol | Usage |
---|---|---|
# | LINEND |
The end of line character. With this character, you can enter several logical lines at once. |
| | TABCHAR |
The logical tab character. |
@ | CHARDEL |
The character delete symbol deletes the preceding character. |
[ or ¢ | LINEDEL |
The line delete symbol deletes everything back
to and including the previous LINEND symbol or the start of the input. [is common for ASCII terminals and ¢for EBCDIC terminals. |
" | ESCAPE |
The escape character. With this character, you can enter a line-edit symbol as a normal character. |
To enter a line-edit symbol, you must precede it with the escape character. In particular, to enter the escape character you must type it twice.
Examples
The following examples assume the settings of Table 1 with the
opening square bracket character ([) as the delete line
character.
- To specify a tab character, specify:
"|
- To specify a double quotation mark character, specify:
""
- If you type the character string:
the actual commands that are received by CP are:#CP HALT#CP ZIPL 190[#CP IPL 1@290 PARM vmpoff=""MSG OP REBOOT"#IPL 290""
CP HALT CP IPL 290 PARM vmpoff="MSG OP REBOOT#IPL 290"