| I am confused - You said you want to change your LTA number but
you say the bug involves a VTA (virtual terminal) number - they
are two different entities.
When your system uses virtual terminals and LAT, your process' terminal
UCB is extended. The VTA number is available as the TT device name
(you do a $GETDVI using DVI$_DEVNAM for device TT: or SYS$OUTPUT).
You get the LTA device by doing a $GETDVI using DVI$_TT_PHYDEVNAM.
Your process header (see the Internals Bible, Kenah and Bates) points
to the VTA number. The VTA's UCB has a pointer to the LTA's DDB
along with the LTA's unit number (see I/O User's Manual). The DDB
may be used to get to the LT's UCB (there are earlier and recent
discussions on this in both the LAT and HACKERS conferences).
The actual name of your terminal (VTuxxxx and LTuxxxx) is based
on the unit number assigned to your process by VMS when your process
is created - in addition, the LTDRIVER knows your unit number since
it uses your unit number (obviously) to get information from the
Ethernet/DECserver port to your process.
I don't think it would be at all advisable to attempt to "change"
either the virtual terminal pointer or the LT terminal pointers
or the name - your would in effect corrupt the I/O database by doing
so. This is not in the same ballpark as changing your username,
which resides in your process header and doesn't point anywhere
else. If you don't like your virtual terminal number, log out and
log in again - they are not repeated until they get to 9999 and
then they start over again.
/paul
|