![]() Platform Support for Green Screen Clients |
![]() DEVELOPER |
![]() |
For a green screen Client, P4API uses the setting P4API_CLIENT_CMD and P4API_CLIENT_DIR in the [Environment] section of the kernel’s environment file. The former defines the command line to start the green screen Client (usually invoking a telnet session), and the latter defines the directory in which to run the command. The command line should contain the characters %s to indicate where to insert the machine name, and %d to indicate where to insert the TCP/IP port number. P4API will replace these two strings with the correct values to connect to the PROIV Virtual Machine executing the Task. As an example, to use the Windows shareware telnet application QVTNET.EXE, the pro4v[n].ini on the Client machine might contain the following entries:
[Environment]
P4API_CLIENT_DIR=C:\Apps\Qvtnetin
P4API_CLIENT_CMD=term.exe –h %s:%d
The default values that are used if the environment variables are not set are:
P4API_CLIENT_DIR = “”
P4API_CLIENT_CMD = “telnet %s %d”
Note that while the default starts telnet correctly on both Unix and Windows platforms, the standard Windows TELNET.EXE (supplied by Microsoft) is not very useful for acting as a PROIV screen Client as it does not support Function Keys.
Topic ID: 540109