Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!ames!sdcsvax!ucbvax!FHCRCVAX.BITNET!JOE From: JOE@FHCRCVAX.BITNET.UUCP Newsgroups: comp.os.vms Subject: RE: Turning off *Interrupt* Message When Control-C is Typed Message-ID: <8709170908.AA08779@ucbvax.Berkeley.EDU> Date: Wed, 16-Sep-87 12:22:00 EDT Article-I.D.: ucbvax.8709170908.AA08779 Posted: Wed Sep 16 12:22:00 1987 Date-Received: Sat, 19-Sep-87 08:31:06 EDT Sender: daemon@ucbvax.BERKELEY.EDU Distribution: world Organization: The ARPA Internet Lines: 22 >I want to be able to type control-c without the *Interrupt* message >being printed (either as shown or in reverse video) without loosing >the special meaning of control-c. This means special terminal modes >such as PASTHRU or other funky approaches aren't acceptable. Jon, If you want to do this from within a program, then you ought to be able to create a control-c handler which emulates the "special meaning" of control-c by calling LIB$PAUSE. The basic procedure for creating a control-c handler is outlined in the I/O Users Reference Manual, Part 1, Section 8.4.3.2 (Enable CTRL/C AST & CTRL/Y AST Function Modifiers) and/or 8.4.3.5 (Enable Out-of-Band AST Function Modifier). Your AST routine should call LIB$PAUSE and also reenable the CTRL/C AST, as it is a one shot deal. Hope this helps. Cheers, Joe Meadows Jr. - voice - (206) 467-4970 VAX/VMS System Manager / guru in training Fred Hutchinson Cancer Research Center 1124 Columbia St. - bitnet - JOE@FHCRCVAX Seattle Wa. 98104 - arpa - JOE%FHCRCVAX.BITNET@WISCVM.WISC.EDU