From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fdd80,960de859088172e4,start X-Google-Attributes: gidfdd80,public X-Google-Thread: 1164f8,5920380e33697d46 X-Google-Attributes: gid1164f8,public X-Google-Thread: ffc31,960de859088172e4,start X-Google-Attributes: gidffc31,public From: shoppa@alph02.triumf.ca (Tim Shoppa) Subject: Re: two simple rt11 questions Date: 1996/11/21 Message-ID: <5722ju$oj5@nntp.ucs.ubc.ca>#1/1 X-Deja-AN: 197844703 references: <570c95$uuf@galaxy.cybergate.net> organization: TRIUMF, Canada's National Meson Facility newsgroups: comp.sys.dec,alt.sys.pdp11,vmsnet.pdp-11 In article <570c95$uuf@galaxy.cybergate.net>, Steve Trail wrote: >1) How does one change a directory using rt11? I am currently using an >ancient dec lsi1170(?1?). No, you aren't using a LSI11/70. Maybe you are using a 11/73? Or a 11/70? But a 11/70 certainly isn't a Q-bus LSI series machine :-) >set def doesn't do the trick and cd sure doesn't > >e.g. I want to change to basic.dir, what do I type? If running RT-11 v5.0 or later, you can use the "MOUNT" command to mount a logical disk: MOUNT LD0: BASIC.DIR !to mount the logical disk ASS LD0 DK !to make LD0 be your default device This assumes that BASIC.DIR is, indeed, a logical disk file. If you are running a version before 5.0, or you don't have the LD.SYS driver available for some bizarre reason, drivers are available on the RT-11 DECUS SIG tapes. Use anonymous ftp to sunsite.unc.edu, cd to /pub/academic/computer-science/history/pdp-11/rt/decus, and look at the documentation that came with each of the tapes for instructions on how to install the logical disk driver that came with most of the tapes. >2) I want to send an ascii file over the printer port of a p.c. > >How do I > >a) determine which port the printer is on (tta1? or is that a vax >thing?) > >b) knowing the port name (e.g. tta1 or whatever it truly is), how do I copy >the file to the port? copy test.dat tta1? type test.dat tta1? The RT-11 printer port is an output only device. You can input files over PDP-11 parallel ports, but you'll need a driver, as well as a bit of knowledge as to what your exact hardware configuration is. Or are you trying to send data *out* the printer port of the '11? If it's a parallel printer port it's probably called LP:, and if it's a serial printer port it's probably called LS:. Try "SHOW DEV" (or even "SHOW ALL") and see if this informs you any. COPY TEST.DAT LP: will send the file out over the parallel printer, for example. Names like "TTA1" are very similar to what you'd find in VMS. In particular, RT-11 doesn't support 4-character device names at all. For file transfer between a PC and a RT-11 machine, I heartily recommend a version of Kermit by Billy Youdelman called "KRT". Available by anonymous ftp from kermit.columbia.edu in the /kermit/b directory as files of the form KRT*.*. Tim. (shoppa@triumf.ca)