Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!ames!ptsfa!ihnp4!inuxc!iuvax!bsu-cs!corwin From: corwin@bsu-cs.UUCP (Paul Frommeyer) Newsgroups: comp.os.vms Subject: Re: How do you ring bell in DCL file? Message-ID: <581@bsu-cs.UUCP> Date: Sun, 10-May-87 19:55:07 EDT Article-I.D.: bsu-cs.581 Posted: Sun May 10 19:55:07 1987 Date-Received: Mon, 11-May-87 04:19:32 EDT References: <154@siemens.UUCP> <312@skatter.UUCP> Organization: CS Dept, Ball St U, Muncie, Indiana Lines: 20 Summary: write sys$output "^G" You must use either the SPECINS key in VAX EDT or the QUOTE function in VAX TPU to enter the control characters. Just put them between double quotes in a WRITE SYS$OUTPUT DCL command as you would normal text. I use terminal control sequences extensively in my LOGIN.COM; clearing the screen, setting VT240 colors, etc. However, you cannot do this: $ CLEAR :== WRITE SYS$OUTPUT "[H[J" and then say $ CLEAR because you will get an error message (either UNDEFSYM or IVVERB). You must instead: $ CSYM :== "[H[J" $ CLEAR :== WRITE SYS$OUTPUT CSYM which will do the job. This is also more efficient than something like: $ CLEAR :== @CLEARSCREEN -- Paul "Corwin" Frommeyer "Experience is no substitute for competence." UUCP: {seismo,ihnp4}!{iuvax,pur-ee}!bsu-cs!corwin