[mod.computers.vax] More on DECservers

A105@UWOCC1.BITNET.UUCP (12/03/86)

   I thought I had virtual terminals enabled.  I *DO* have virtual
terminals enabled, at least for direct connections to my 8600.  My
DECserver-200 does not believe I have virtual terminals enabled.
(I logged off the server and all my jobs went away.)
   How do I convince the server that logout from the server should
leave all sessions simply disconnected?  Am I missing something obvious?
(It's probably in the server management guide which didn't come with
the s/w).  Thanks again.

Brent Sterner
Computing & Communications Services
Natural Sciences Building
The University of Western Ontario
London, Ontario, Canada
N6A 5B7
Telephone (519)661-2151 x6036
Network   <A105@UWOCC1.BITNET>

LEICHTER-JERRY@YALE.ARPA.UUCP (12/07/86)

       I thought I had virtual terminals enabled.  I *DO* have virtual
    terminals enabled, at least for direct connections to my 8600.  My
    DECserver-200 does not believe I have virtual terminals enabled.
    (I logged off the server and all my jobs went away.)
       How do I convince the server that logout from the server should
    leave all sessions simply disconnected?  Am I missing something obvious?
    (It's probably in the server management guide which didn't come with
    the s/w).  Thanks again.
I can't be sure from your description, but I think you've been caught by a
common "gotcha'".  For disconnects to work, three things have to be true:

	1.  A connect for VTA0 has to have been done;
	2.  At the time the current session was started, the physical terminal
		had to be set /DISCONNECT, which comes down to it having been
		set /DISCONNECT/PERMANENT.  Otherwise no VT device is associ-
		ated with the physical device.
	3.  At the time DISCONNECT is typed or the line drops, the terminal
		must still be set /DISCONNECT.

Number 1 is simple and you've presumably done that.  Number 3 we'll pass over,
as most of the time you don't diddle with /DISCONNECT dynamically, so if num-
ber 2 is taken care of number 3 follows automatically.

For real, physical terminal lines, number 2 is generally handled at system
startup.  Startup procedures generally SET/PERMANENT the desired characteris-
tics of all configured terminal lines, and /DISCONNECT is just one such char-
acteristic.  For LAT LTAn devices, this can't be done, however, since they
are created on the fly and don't exist until needed.  So the characteristics
have to be set up to apply to the newly-created LT devices.  This is done
through the SYSGEN parameters TTY_DEFCHAR and TTY_DEFCHAR2.  The DISCONNECT
bit is in the extended terminal characteristics, so it's TTY_DEFCHAR2 that has
to be set up.  What you need to do is go into SYSGEN and set bit TT2$M_DISCON-
NECT, whose value is 131072 (Hex 20000).

Warning:  Numeric values in SYSGEN are taken to be decimal - a common error
is to add 20000 to the current decimal value, setting a whole bunch of un-
related bits.

BTW, this matter is discussed (briefly) in the System Managers Reference
(which neglects to tell you what the value of TT2$M_DISCONNECT is).

							-- Jerry
-------