From:	HENRY::IN%"carl%CITHEX.CALTECH.EDU%SRI-KL.ARPA%relay.cs.net@rca.com" 29-OCT-1986 13:19
To:	Bach@DOCKMASTER.ARPA, info-vax@CitHex.Caltech.Edu
Subj:	Re: RE Virtual Terminals

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
