Operating System - OpenVMS
1783201 Members
1736 Online
109144 Solutions
New Discussion юеВ

set term not doing anything

 
Wim Van den Wyngaert
Honored Contributor

set term not doing anything

I do :
$ set term tna0/perm/disconnect

But sh term/perm after this is still showing
No disconnect.

Why is the command not accepted ?

Wim
Wim
6 REPLIES 6
Volker Halle
Honored Contributor

Re: set term not doing anything

Wim,

TNA0: is a pseudo or template device. It will be used to clone TNA devices. I think the attribute gets lost again, when SET TERM deassigns it's channel to the device.

To get UCX/TCPIP to use virtual terminals, you need to use the correct mechanism, e.g.

$ DEFINE/SYS/EXEC TCPIP$TELNET_VTA TRUE

Then the TNA0 device will obtain the Disconnect attribute permanently.

Volker.
Wim Van den Wyngaert
Honored Contributor

Re: set term not doing anything

Then why is the command accepted for template devices ? Why the word template device while rta0 is not ? Why is rta0 marked "device set /NOAVAILABLE" ?

I found that with /perm the term is never (?) modified.

But if I don't use /perm, it executed /autobaud correctly. But directly after that /noautobaud was not executed correctly.

Wim, confused.
Wim
Volker Halle
Honored Contributor

Re: set term not doing anything

Wim,

try to experiment with 'real' devices (e.g. OPA0:, TXA0: etc.). They should behave as you expect.

The pseudo devices have their own drivers and the rules depend on how the layered product (DECnet or TCPIP) maintains those devices.

Volker.
Jiri_5
Frequent Advisor

Re: set term not doing anything

change your terminal type to VTA and set system parametr TTY_DEFCHAR2 to %X21002(135170). Terminal VTA will be disconected every time.
Volker Halle
Honored Contributor

Re: set term not doing anything

Jiri,

for TELNET terminals, you'll also have to do additional steps (depending on your TCPIP stack):

e.g. for HP TCPIP:

$ DEFINE/SYS/EXEC TCPIP$TELNET_VTA "TRUE"
$ DEFINE/SYS/EXEC TCPIP$TELNET_RTA "TRUE"

Volker.
Jiri_5
Frequent Advisor

Re: set term not doing anything

When I write "change your terminal type to VTA" I mean "$ DEFINE/SYS/EXEC TCPIP$TELNET_VTA "TRUE"