[mod.computers.vax] RE Virtual Terminals

Bach@DOCKMASTER.ARPA (Bud Bach) (10/27/86)

Beware!  Virtual Terminals are great, but some user programs may
get broken.  The problem is virtual terminal names look like VTnnnn
where physical terminal names look like Tlnn.  If you expect the
terminal name to be 4 or 5 characters, you can have problems.

Bud Bach
bach@docmaster.arpa

carl@CITHEX.CALTECH.EDU (Carl J Lydick) (10/29/86)

The following patch causes all template device numbers to wrap at 999 instead
of 9999.  Modification to make it wrap at other numbers is via the obvious
change.
------------------------------------------------------------------------------
$!	Patch to VMS so MINed works with VTA devices (for V4.1-V4.4 of VMS)
$!
$!	to module SYS file UCBCREDEL.MAR routine IOC$CLONE_UCB
$!	V4.1 fiche card 389 J07.
$!
$!	Description: IOC$CLONE_UCB is called to create all template devices.
$!	Normally the sequence counts 0-9999 are used, but MINed dies when run
$!	on a terminal if the sequence count is greater than 999.  This patch
$!	changes IOC$CLONE_UCB so that the device numbers wrap at 999 instead
$!	of 9999.
$!
$!	Caveats: This patch affects ALL template devices.
$!
$ PATCH SYS.EXE
DEFINE IOC$CLONE_UCB=8000DC8F
REPLACE/INST IOC$CLONE_UCB+0A
'CMPW B^54(R2),#^D9999'
EXIT
'CMPW B^54(R2),#^D999'
EXIT
UPDATE
EXIT
$!
$!(C) 1985, 1986 Caltech Oddhack Committee, No Rights Reserved

pritch@OHIO-STATE.ARPA (Norman Pritchett) (10/29/86)

In article <861027150624.300579@DOCKMASTER.ARPA> Bach@DOCKMASTER.ARPA (Bud Bach) writes:
>Beware!  Virtual Terminals are great, but some user programs may
>get broken.  The problem is virtual terminal names look like VTnnnn
>where physical terminal names look like Tlnn.  If you expect the
>terminal name to be 4 or 5 characters, you can have problems.
>
>Bud Bach
>bach@docmaster.arpa

If those user programs had heeded the warnings of the version 3.x
documentation about future sizes of device names that shouldn't have been a
problem.