The user environment control file is called VENVCNTL.PUB.SYS, and is designed to let the programmer assert
limited control over terminal activities. It is opened and read
on the VOPENTERM call, and it controls these two items in the user
environment.
Abbreviating a terminal query. When VOPENTERM is called, it usually goes through a complicated
process to identify the terminal type. The VENVCNTL file shortens the identification process. However,
it should only be used if it is known that a query will elicit a
valid terminal ID. To shorten the terminal query, enter 1 in the
first column of the VENVCNTL file.
Enabling AIDS/MODES/USERKEYS without a program. Instead of setting the SHOWCONTROL word of the user's comarea in the application, enter 1 in the second column
of the VENVCNTL file. This option is very useful if you do not
have the source code for the software but you want to enable AIDS/MODES/USERKEYS.
To implement a user environment control file, build this file:
:BUILD VENVCNTL.PUB.SYS;DEV=DISC;REC=-80,1,F,ASCII
|
Use any editor to enter 1 in column 1 and/or 2. When VOPENTERM executes, it looks for the VENVCNTL file. If it does not find it, VPLUS carries out
its usual operations. If the file exists and columns 1 and/or 2
are set, VPLUS performs either or both of the prescribed actions.
The VENVCNTL file need not necessarily by in PUB.SYS. However, if you have the file residing in another
group and account, you must set up the file equation:
:FILE VENVCNTL.PUB.SYS=VENVCNTL.mygroup.myaccount
|