Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: shoppa@alph02.triumf.ca (Tim Shoppa)
Subject: Re: two simple rt11 questions
Date: 1996/11/21	[thread overview]
Message-ID: <5722ju$oj5@nntp.ucs.ubc.ca> (raw)
In-Reply-To: 570c95$uuf@galaxy.cybergate.net


In article <570c95$uuf@galaxy.cybergate.net>,
Steve Trail <trail@cyberdrive.net> 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)



  reply	other threads:[~1996-11-21  5:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-11-21  5:00 two simple rt11 questions Steve Trail
1996-11-21  5:00 ` Tim Shoppa [this message]
1996-11-21  5:00 ` GRAY
1996-11-22  5:00 ` Roger Ivie
1996-11-23  5:00   ` Steve Trail
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox