From: CSBVAX::MRGATE!@KL.SRI.Com:carl@CitHex.Caltech.Edu@SMTP 2-NOV-1987 00:13 To: EVERHART Subj: Re: Photo/Eunice problems Received: from CitHex.Caltech.Edu by KL.SRI.COM with TCP; Sun 1 Nov 87 04:40:35-PST Date: Sun, 1 Nov 87 04:40:01 PST From: carl@CitHex.Caltech.Edu (Carl J Lydick) Message-Id: <871101043325.06l@CitHex.Caltech.Edu> Subject: Re: Photo/Eunice problems In-Reply-To: Your message <8710261949.AA09087@scgvaxd.SCG.HAC.COM> dated 26-Oct-1987 To: engvax!BROSSEAU%SECAD1@Csvax.Caltech.Edu, info-vax@CitHex.Caltech.Edu > We are having a problem with Eunice and Photo. When the LT or VT #'s > rise above 1000 (yes our systems do stay up long enough to get there) > both Eunice and Photo stop working. Eunice just does wierd things and > Photo fails with the following error: > > %SYSTEM-F-RESULTOVF, resultant string overflow > > I believe the problem has to do with some definition in a system include > file that only sets up the field to hold the LT number as 5 characters > when it should be 6. The problem is not a "system" include file: it is something within the source for the EUNICE and PHOTO software. Both were written back in the days when the worst-case terminal name was shorter than it is now. One way to avoid the problem is to change the point at which cloned UCB's wrap. The following patch does this (or used to, but since it checks the old value, it should either work or fail harmlessly; my advice, though, is to backup your system disk before applying the patch, just in case. Good luck.) $! Patch to VMS so MINed works with VTA devices (for V4.1 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 Caltech Oddhack Committee, No Rights Reserved