27.12.2012 Views

z/VM: CP Commands and Utilities Reference - z/VM - IBM

z/VM: CP Commands and Utilities Reference - z/VM - IBM

z/VM: CP Commands and Utilities Reference - z/VM - IBM

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Logical Line Editing Symbols<br />

Logical Escape<br />

ABC#DEF¢ deletes the #DEF <strong>and</strong> results in ABC<br />

ABC#¢ results in ABC<br />

ABC#DEF¢#GHI results in ABC#GHI<br />

ABC#DEF¢GHI results in ABCGHI<br />

v Physical Line Delete:<br />

ABC¢ deletes the whole line<br />

Note: When you cancel a line by using the ¢ logical line delete symbol, you do not<br />

need to press a carriage return; you can continue entering data on the same<br />

line.<br />

The logical escape symbol (") causes z/<strong>VM</strong> to consider the next character entered<br />

to be a data character, even if it is normally one of the logical line editing symbols<br />

(@, ¢, ", or #). For example,<br />

ABC"¢D results in ABC¢D<br />

""ABC"" results in "ABC"<br />

If you enter a single logical escape symbol (") as the last character on a line, or on<br />

a line by itself, it is ignored.<br />

When you enter multiple logical escape characters in conjunction with other logical<br />

editing characters, the results may be difficult to predict. For example, the lines<br />

ABC""@DEF<br />

ABC""@@DEF<br />

both result in the line ABCDEF.<br />

Defining Logical Line Editing Symbols<br />

The logical line editing symbols are defined for each virtual machine in the virtual<br />

machine’s <strong>CP</strong> directory entry. If your terminal’s keyboard lacks any of these special<br />

characters, your installation can define other special characters for logical line<br />

editing. To find out the logical line editing symbols in effect for your virtual machine,<br />

enter the comm<strong>and</strong><br />

cp query terminal<br />

The response might be<br />

LINEND # , LINEDEL ¢ , CHARDEL @ , ESCAPE " , TABCHAR ON<br />

LINESIZE 080, ATTN OFF, APL ON , TEXT OFF, MODE <strong>VM</strong>, HILIGHT ON<br />

CONMODE 3215, BREAKIN IMMED , BRKKEY PA1 , SCRNSAVE OFF<br />

AUTOCR ON<br />

You can use the TERMINAL comm<strong>and</strong> to change the logical line editing characters<br />

for your virtual machine. For example, if you enter<br />

terminal linend /<br />

then, the line<br />

input # line / input / #<br />

is interpreted<br />

input # line<br />

input<br />

#<br />

1896 z/<strong>VM</strong>: <strong>CP</strong> <strong>Comm<strong>and</strong>s</strong> <strong>and</strong> <strong>Utilities</strong> <strong>Reference</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!