Consultor Eletrônico



Kbase 15997: How to turn on Virtual Terminals VTAs for UCX ( from DEC )
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   5/1/2000
How to turn on Virtual Terminals VTAs for UCX ( from DEC )

This Notebook entry is supplied to assist users in setting up Virtual
Terminals on their Alpha or VAX with UCX enabled. This information
comes from Digital Equipment Corporation. Please direct additional
questions regarding VTAs to Digital.

From Digital: How to turn on Virtual Terminals for UCX

[UCX-VMS] How to Enable Virtual Terminals for TELNET/RLOGIN Services
Last Technical Review: 13-JUN-1995 Size: 138 lines

Any party granted access to the following copyrighted information
(protected under Federal Copyright Laws), pursuant to a duly
executed Digital Service Agreement may, under the terms of such
agreement copy all or selected portions of this information for
internal use and distribution only. No other copying or
distribution for any other purpose is authorized.

Copyright (c) Digital Equipment Corporation 1995. All rights reserved.

PRODUCT: TCP/IP Services for OpenVMS

OP/SYS: OpenVMS VAX Versions 5.5-2, 6.0, 6.1, 6.2
OpenVMS AXP Versions 1.5, 6.1, 6.2

SOURCE: Digital Equipment Corporation


VERSION INFORMATION:

Information Applies To: TCP/IP Services for OpenVMS (UCX)
Versions 3.1,3.2, 3.3

SUBJECT:

How to enable virtual terminals for TELNET/RLOGIN services.

OVERVIEW:

The following describes the procedure for setting up an OpenVMS
system running TCP/IP Services for OpenVMS v3.x (UCX) to use virtual
terminals for incoming TELNET or RLOGIN requests. This gives the
ability to disconnect from this process, for periods controlled by
the SYSGEN parameter TTY_TIMEOUT.

PROCEDURE:

1. Grant yourself CMKRNL privilege:

$ SET PROCESS/PRIVILEGE = CMKRNL

2. Connect the virtual device and driver: (OpenVMS/VAX)

$ RUN SYS$SYSTEM:SYSGEN
SYSGEN> CONNECT VTA0/NOADAPTER/DRIVER=TTDRIVER

(OpenVMS/AXP)

$ RUN SYS$SYSTEM:SYSMAN
SYSMAN> IO CONNECT VTA0/NOADAPTER/DRIVER=SYS$TTDRIVER

Place this command in your SYSTARTUP_VMS.COM file, so OpenVMS
will connect the device at startup.

3. Enable the feature on a system-wide basis:

Set the appropriate bit in the SYSGEN parameter TTY_DEFCHAR2
by summing the current value and hexadecimal 20000. Set the
new value; use "%X" to specify the hexadecimal value:

OpenVMS/VAX

$ RUN SYS$SYSTEM:SYSGEN
SYSGEN> SET TTY_DEFCHAR2 %Xnew-value
SYSGEN> WRITE CURRENT ! to modify the system parameters at
! boot time

OpenVMS/AXP

$ RUN SYS$SYSTEM:SYSMAN
SYSMAN> PARAMETER SET TTY_DEFCHAR2 %Xnew-value
SYSMAN> PARAMETER WRITE CURRENT ! to modify the system
! parameters at boot time

You will need to reboot the system to make this new value of
the parameter active.
Include this parameter and the new value in
SYS$SYSTEM:MODPARAMS.DAT, so it will be retained when you
run AUTOGEN.

4. Enable the UCX Internet parameters to allow the TELNET/RLOGIN
services to use virtual terminals on the next UCX startup
and/or system reboot

UCX> SET CONFIGURATION COMMUNICATION -
/REMOTE_TERMINAL=VIRTUAL_TERMINAL

5. If you are setting this up from scratch, you should now
shutdown and reboot the system, to enable the new SYSGEN
parameters and to restart TCP/IP Services (UCX).

NOTE 1):
A process that has been disconnected will not stay around
indefinitely; it will be terminated in an amount of time
determined by the SYSGEN parameter TTY_TIMEOUT (in seconds).

TTY_TIMEOUT is a dynamic SYSGEN parameter, so a system reboot
is NOT required after changes are made.

OpenVMS/VAX

$ RUN SYS$SYSTEM:SYSGEN
SYSGEN> SET TTY_TIMEOUT desired_value_in_seconds
SYSGEN> WRITE ACTIVE
SYSGEN> WRITE CURRENT

OpenVMS/AXP

$ RUN SYS$SYSTEM:SYSMAN
SYSMAN> PARAMETER SET TTY_TIMEOUT desired_value_in_seconds
SYSMAN> PARAMETER WRITE ACTIVE
SYSMAN> PARAMETER WRITE CURRENT

NOTE 2):
If you want to disable virtual terminals temporarily, then the
following series of commands will do that :

UCX> SET COMMUNICATION/REMOTE_TERMINAL=NOVIRTUAL_TERMINAL
UCX> DISABLE SERVICE RLOGIN
UCX> DISABLE SERVICE TELNET
UCX> ENABLE SERVICE RLOGIN
UCX> ENABLE SERVICE TELNET
This will stop and restart the RLOGIN/TELNET SERVICES which
means that anyone logged in via these services will be logged out.

To disable virtual terminals permanently use :
UCX> SET CONFIG COMMUNICATION/REMOTE_TERMINAL=NOVIRTUAL_TERMINAL
This will disable virtual terminals after the next startup of
UCX (either a system reboot or a UCX shutdown and startup)

Progress Software Technical Support Note # 15997