Path: utzoo!attcan!uunet!husc6!think!ames!pasteur!ucbvax!CMS1.UCS.LEEDS.AC.UK!ORG5NMC From: ORG5NMC@CMS1.UCS.LEEDS.AC.UK Newsgroups: comp.os.vms Subject: (none) Message-ID: <8805160319.AA08048@ucbvax.Berkeley.EDU> Date: 22 Apr 88 14:12:16 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 42 Subject: Fix for PTY driver DEC's recent SECURITY UPDATE V2 patch has broken the CMU/Hughes PTY pseudo terminal driver. The patch to TTDRIVER.EXE has changed the default device protection for cloned devices (e.g VTAn virtual terminals). Thus the pseudo terminal device TPAn: receives the totally useless device protection of [S:WRLP O: G: W:]. It used to be [S:WRLP O:WRLP G:WRLP W:WRLP]. This can be cured by adding two lines to TPDRIVER.MAR in the device UCB initialisation procedure TP$INITLINE, AFTER default UCB initialisation is done. Thus: Before ... MOVL UCB$L_TT_CLASS(R5), R1 ; Address class vector table JSB @CLASS_SETUP_UCB(R1) ; Init ucb fields 20$: BBC #UCB$V_POWER, UCB$W_STS(R5), 40$ ; Powerfail handler After ... MOVL UCB$L_TT_CLASS(R5), R1 JSB @CLASS_SETUP_UCB(R1) MovL Ucb$L_Orb(R5), R0 ; Get Object Rights Block ClrW Orb$W_Prot(R0) ; Restore device protection 20$: BBC #UCB$V_POWER, UCB$W_STS(R5), 40$ I hope someone will put this fix into the PTY driver (if not already done so) Does anyone know why the demo PTY.PAS program that comes with the driver kit does not work on WorkStation 2000's if your process TT device is a WTAn window device. It hangs and refuses to bring up the login sequence. I know that a SYS$QIOW does not complete ( the one in the infinite loop reading the PYAn device) but for what reason? PTY.PAS works on the workstations TTA2 line. Regards Tony Cook (ORAC Ltd LEEDS England) -------