Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!ames!oliveb!pyramid!voder!blia!blic!garvey From: garvey@blic.UUCP Newsgroups: comp.os.vms Subject: Re: How do you ring bell in DCL file? Message-ID: <102@blic.BLI.COM> Date: Thu, 30-Apr-87 13:03:13 EDT Article-I.D.: blic.102 Posted: Thu Apr 30 13:03:13 1987 Date-Received: Sat, 2-May-87 01:38:17 EDT References: <154@siemens.UUCP> Organization: Britton Lee, Los Gatos, CA Lines: 17 Summary: binary overlay for assigning a symbol non-printing ASCII chars In article <154@siemens.UUCP>, jrv@siemens.UUCP (James R Vallino) writes: > I would like to have the terminal bell rung from within a DCL command > file. Is there a way to specify control characters within a string > used with a 'write sys$output' statement? Can the control character be > entered "raw" into the string or is there a character escape mechanism? This is an example of how that could be done: $ esc_chr[0,8] == %O033 $ clear == "WRITE SYS$OUTPUT esc_chr,""[H"",esc_chr,""[2J""" It was done in this way so that showing the symbol `clear' would not clear the terminal screen and would display the actual escape sequence. -- Robert Garvey uucp: ...!ucbvax!mtxinu!blia!blic!garvey arpa: mtxinu!blia!blic!garvey@Berkeley.EDU Anything resembling an opinion may be attributed to me alone.