Steps For Updating Special Escape Character Defaults - IBM ZVM - FOR LINUX V6 RELEASE 1 Getting Started

Getting started with linux on system z
Table of Contents

Advertisement

4.
5.
You should now see something like this:

Steps for updating special escape character defaults

z/VM provides special escape characters that, when included in terminal input
streams, tell CP to perform an action before evaluating subsequent characters in
the stream. An important escape character is the line end character; this character,
followed by "cp" indicates that what follows is a CP command and should not be
given to Linux. The default line end character is "#".
Example: Issuing:
sends the QUERY TIME command to CP rather than Linux.
Unfortunately, the default line end character is "#", which is also a special
character for Linux. For example, the prolog to a shell script usually has a
character string known as the "shebang" consisting of the characters "#!" followed
by the path to the shell program used to evaluate the shell script. If you enter
those characters on a virtual machine console (for example, while using the line
mode editor ed), CP strips off the # symbol and attempts to evaluate the characters
as command input.
You can change the default special escape characters for each virtual machine
individually, or set a system-wide default. If the primary purpose of your z/VM
system is for Linux virtual servers, it makes sense to change the default
system-wide. Chapter 10, "Performing run-time tasks," on page 97 shows you how
to change the special escape characters for an individual virtual machine.
Notes:
a. You can have one or more console addresses.
b. If you are not using 3270 devices on your system and are using 3270
integrated consoles instead, the keyword "System_3270" designates a
full-screen integrated 3270 console (also known as SYSG) and the keyword
"System_Console" designates an integrated line mode 3270 console (also
known as SYSC).
Use the same addresses for the Emergency_Message_Console statement as you
did for the Operator_Consoles statement.
Save the file. At the XEDIT command line, type this command and press the
Enter key:
====> save
SYSTEM
CONFIG
Z1 F 80 Trunc=80 Size=286 Line=222 Col=1 Alt=0
/**********************************************************************/
/*
Console Definitions
/**********************************************************************/
Operator_Consoles
0021 System_3270 System_Console
Emergency_Message_Consoles
#cp query time
0021 System_3270 System_Console
Chapter 3. Changing the system configuration
*/
47

Advertisement

Table of Contents
loading

Table of Contents