Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmath!clyde!rutgers!mit-eddie!genrad!decvax!ucbvax!CSV.RPI.EDU!yerazuws From: yerazuws@CSV.RPI.EDU.UUCP Newsgroups: mod.computers.vax Subject: Re: VMS equiv of UNIX 'cat foo > /dev/ttyX' Message-ID: <8702251529.AA15077@csv.rpi.edu> Date: Wed, 25-Feb-87 10:29:55 EST Article-I.D.: csv.8702251529.AA15077 Posted: Wed Feb 25 10:29:55 1987 Date-Received: Fri, 27-Feb-87 21:10:40 EST References: <8702250122.AA18316@ucbvax.Berkeley.EDU> Sender: daemon@ucbvax.BERKELEY.EDU Distribution: world Organization: The ARPA Internet Lines: 34 Approved: info-vax@sri-kl.arpa Summary: Sure. It's called "copy" In article <8702250122.AA18316@ucbvax.Berkeley.EDU>, ANK@CUNYVMS1.BITNET writes: > I was wondering if there is an equivalent of unix command > that pipes the output to another terminal ? > > $ cat foo.mss > /dev/tty3 ? > > under VMS ? > Sure. COPY can write to a terminal just like a file. Or a magtape. Or whatever else might be on line. For example, to write to the equivalent of /dev/tty3 (txa3:) on a MicroVAX: $ copy foo.tex txa3: You DO need physio priviledge to do this, if the terminal line isn't set up as an assignable device. If it is set up as assignable, you just ALLOCate txa3: and then COPY your file to it. You probably want to set the TX line to HOSTSYNC and READSYNC so that when whatever-it-is on the other end is in danger of overrunning, it will send ^S-^Q signals. If the other end is a Unix machine, 'stty tandem' will do the trick. You can even do this COPYing trick to a line that is ALLOCated to another user, or to a line that is being used for SET HOST/DTE, if you have enough privs. I know that works too; I move my resume around that way. Enjoy -Bill Yerazunis "Daniel, people at the door. Police, Daniel"