home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS 1992 December
/
simtel1292_SIMTEL_1292_Walnut_Creek.iso
/
msdos
/
ada
/
ada_lrm4.arc
/
INSTALL.DOC
next >
Wrap
Text File
|
1989-04-07
|
16KB
|
428 lines
Installation Instructions for
Ada Language Reference Manual Reader
Copyright 1989, Esther M. Lumsdon
Source for 2 versions of the Ada Language Reference Manual Reader
is included in the VAX/VMS distribution of this software, and
source and executable for 1 version in the PC/AT distribution. One
of the VAX/VMS versions (using package LRM_SMG) interfaces to the
SMG$ routines in the VAX/VMS Run-Time Library and requires a
VT-100 or higher terminal; the other (using package LRM_NON_SMG)
will run on any ANSI terminal, including a paper console. The
VAX/VMS executables were compiled under DEC VAX Ada version 1.5
and VMS version 4.7. The PC/AT executable was compiled under
Meridian AdaVantage version 2.1 and MS-DOS version 3.2. The SMG$
version draws borders on the screen, and eliminates the need for
the user to strike the RETURN key when answering most prompts. The
PC/AT version will run on any PC/AT with at least 1 720KB drive,
but users will prefer to install it on a hard drive containing
more than 1,600,000 bytes of unused disk storage.
The data filenames are read from file or VMS logical LRMinit by
the Ada LRM Reader program. A first step in installing the Ada LRM
Reader for any computer is to fill a file named or a file pointed
to by a VMS logical LRMinit with complete filenames and paths for
the various data files used by the program.
-------------------------------------------------------------------
VAX/VMS Installation Instructions:
Symbols Required:
Define symbol(s) representing the command(s) that execute the Ada LRM
Reader. Add these commands to a .COM file that will be executed every
time a user of this software logs into your computer system, such
as the LOGIN.COM of each user, or SYS$MANAGER:SYSLOGIN.COM.
LRMPLUS == "$SYS$MANAGER:ADA_LRM_SMG.EXE"! Name and directory of executable
! for Vt100-or-better-ONLY version.
LRM == "$SYS$MANAGER:ADA_LRM.EXE" ! Name and directory of executable
! for version that runs on
! any ANSI terminal.
Logicals Required:
These logicals must be defined before execution of Ada LRM.
Add these commands to the LOGIN.COM file of each user of Ada LRM Reader
if you don't want Ada LRM Reader to be system-wide.
DEFINE ADA$LRM_TOOLS "DUA0:[NEW_ADA.ADA.LRM_TOOLS]"
! Directory where those files sit.
DEFINE ADA$LRM "DUA0:[NEW_ADA.ADA.ANSI_LRM]"
! Directory where those files sit.
DEFINE LRMINIT "SYS$MANAGER:LRMINIT.
! File and path names required.
Or...
Add these commands to a .COM file that will be executed every time your
computer system is booted or rebooted, such as SYS$MANAGER:SYSTARTUP.COM,
if you want Ada LRM Reader to be system-wide. Requires System Manager.
DEFINE/SYSTEM ADA$LRM_TOOLS "DUA0:[NEW_ADA.ADA.LRM_TOOLS]"
! Directory where those files sit.
DEFINE/SYSTEM ADA$LRM "DUA0:[NEW_ADA.ADA.ANSI_LRM]"
! Directory where those files sit.
DEFINE/SYSTEM LRMINIT "SYS$MANAGER:LRMINIT.
! File and path names required.
Make the executable images Shareable (optional) :
ADD SYS$MANAGER:ADA_LRM.EXE/OPEN/SHARE/HEADER_RESIDENT
ADD SYS$MANAGER:ADA_LRM_SMG.EXE/OPEN/SHARE/HEADER_RESIDENT
! format for System-wide command to make these shareable
! installed images. Requires System Manager. These commands
! are to be used with the INSTALL utility.
Copy the indicated files into the directory pointed at by logical
ADA$LRM. Copy the indicated files into the directory pointed at by
logical ADA$LRM_TOOLS. Compile the indicated units (see explanation
near the end of this document). Copy the executables to the places
pointed at by symbols LRM and LRMPLUS. To run either version of the Ada
LRM Reader, type LRM or LRMPLUS.
List of files to be placed into directory ADA$LRM (also available from
SIMTEL Ada Repository):
A0READ.ME;1 AAREAD.ME;1 CHAP01.DOC;1 CHAP01.ERR;1
CHAP02.DOC;1 CHAP02.ERR;1 CHAP03.DOC;1 CHAP03.ERR;1
CHAP04.DOC;1 CHAP04.ERR;1 CHAP05.DOC;1 CHAP05.ERR;1
CHAP06.DOC;1 CHAP06.ERR;1 CHAP07.DOC;1 CHAP07.ERR;1
CHAP08.DOC;1 CHAP08.ERR;1 CHAP09.DOC;1 CHAP09.ERR;1
CHAP10.DOC;1 CHAP10.ERR;1 CHAP11.DOC;1 CHAP11.ERR;1
CHAP12.DOC;1 CHAP12.ERR;1 CHAP13.DOC;1 CHAP13.ERR;1
CHAP14.DOC;1 CHAP14.ERR;1 CHAPA.DOC;1 CHAPA.ERR;1
CHAPB.DOC;1 CHAPB.ERR;1 CHAPC.DOC;1 CHAPC.ERR;1
CHAPD.DOC;1 CHAPE.DOC;1 CHAPF.DOC;1 CHAPF.ERR;1
FOREWARD.D16;1 FOREWARD.DOC;1 FOREWARD.ERR;1 FTPFILES.SUB;1
INDEX.DOC;1 POSTSCRPT.D16;1 POSTSCRPT.DOC;1 POSTSCRPT.ERR;1
TOC.D16;1 TOC.DOC;1
List of files to be placed into directory ADA$LRM_TOOLS:
LRCHAPAR.DAT;31 LRCREDIT.DAT;5 LRMINIT.;5
LREXPLN.DAT;1 LRANNEX.MEN;1 LRCHAPTR.MEN;1
LRMAIN.MEN;3 LRWELCOM.MEN;1
You must create a file named LRMINIT.; It must contain all of the
file and path names of the data files used by the Ada LRM Reader.
LRMINIT.; must contain the following, in order:
full filename for the chapter pointers file, LRCHAPAR.DAT
full filename for the credits file, LRCREDIT.DAT
full filename for the explanation file, LREXPLN.DAT
full pathname for the ANSI LRM files, ADA$LRM: in the author's
installation
filename that text extracted from the large ANSI LRM files will
be saved into, LRMSAVED.OUT
full filename for the main menu file, LRMAIN.MEN
full filename for the annex menu file, LRANNEX.MEN
full filename for the chapter menu file, LRCHAPTR.MEN
full filename for the welcome message, LRWELCOM.MEN
-----------------------------------------------------------------
PC/AT Installation Instructions:
You must have either a hard drive containing at least 1,600,000
free bytes of disk storage, or at least 1 720KB diskette drive. If
you have a hard drive, you should request the archived PC
distribution, and enclose 3 formatted disks of 3.5" or 5.25"
media. Otherwise, you should request the unarchived PC
distribution, and enclose 3 formatted disks (3.5" or 5.25") of
720KB or larger capacity.
The distributed executable of Ada LRM Reader was compiled using an
80286 processor. The distributed executable should run on an 8086
or 8088 machine. If it doesn't run on yours, please contact the
Ada Repository, or the contact person at Norfolk State University
for help.
After installation, to run the Ada Language Reference Manual
Reader, just type LRM.
The files LRM.EXE and LRMINIT must be in the same subdirectory, in
order for the Ada LRM Reader to work. You must be in that
subdirectory, or be running the Ada LRM Reader from a .BAT file.
You must create a file named LRMINIT. It must contain all of the
file and path names of the data files used by the Ada LRM Reader.
LRMINIT must contain the following, in order:
full filename for the chapter pointers file, LRCHAPAR.DAT
full filename for the credits file, LRCREDIT.DAT
full filename for the explanation file, LREXPLN.DAT
full pathname for the ANSI LRM files, C:\LRM_CODE\LRM\ in the
author's installation
filename that text extracted from the large ANSI LRM files will
be saved into, LRMSAVED.OUT
full filename for the main menu file, LRMAIN.MEN
full filename for the annex menu file, LRANNEX.MEN
full filename for the chapter menu file, LRCHAPTR.MEN
full filename for the welcome message, LRWELCOM.MEN
Hard Drive Installation Instructions:
Create a subdirectory to contain the Ada Language Reference Manual
Reader; subdirectory C:\ADALRM will be used in these instructions,
but you may choose your own name. De-archive the files LRM1.ARC
and LRM2.ARC from the distribution diskettes into C:\ADALRM. If
you want the source code, dearchive LRM_CODE.ARC. To execute Ada
LRM Reader, just type LRM. You'll find it helpful to use a disk
cache with Ada LRM Reader. There is an archiving/dearchiving
utility and documentation on the third disk of the distribution
media.
If you don't have 2 floppy drives, copy LRM1.ARC and LRM2.ARC into
C:\ADALRM. Set your default drive and default subdirectory to
C:\ADALRM.
Type [drive:]PKUNPAK -x [drive:]LRM1
and then [drive:]PKUNPAK -x [drive:]LRM2
to dearchive the Ada LRM Reader. [drive:] is necessary in order to
tell DOS which drives the de-archive utility and LRM Reader
archives are in.
720KB Diskette Installation Instructions:
The unarchived distribution is ready-to-run. Ada LRM Reader is
split into 2 working halves. To use it, put the disk that you need
into your drive, and type LRM. The third disk of the distribution
media contains the source code.
List of files to be placed into subdirectory C:\ADALRM (these
files are also available from SIMTEL Ada Repository):
CHAP01.DOC
CHAP02.DOC CHAP03.DOC
CHAP04.DOC CHAP05.DOC
CHAP06.DOC CHAP07.DOC
CHAP08.DOC CHAP09.DOC
CHAP10.DOC CHAP11.DOC
CHAP12.DOC CHAP13.DOC
CHAP14.DOC CHAPA.DOC
CHAPB.DOC CHAPC.DOC
CHAPD.DOC CHAPE.DOC
CHAPF.DOC
FOREWARD.DOC
INDEX.DOC POSTSCRPT.DOC
TOC.DOC
List of files to be placed into subdirectory C:\ADALRM (these
files are only available as part of the Ada Language Reference
Manual Reader package):
LRCHAPAR.DAT LRCREDIT.DAT LREXPLN.DAT
LRANNEX.MEN LRCHAPTR.MEN LRM.EXE
LRMAIN.MEN LRWELCOM.MEN
-----------------------------------------------------------------
How to Install Ada LRM Reader on other machines:
Underscores are used heavily in this source code. If your Ada
compiler doesn't like underscores, you'll have to edit them all
out.
First, compile files lr1G.src and lr5BG.src; these should compile
on any machine.
Look at the files lr2SC.src, lr2SV.src, lr3BCA.src and lr3BVA.src.
Decide which lr2xx.src and lr3x-x.src versions are nearest to your
machine's characteristics. How many characters can be displayed on
a line before wrapping, how many lines can be displayed on a
screen before scrolling, what control character sequence will
clear the screen? lr3BCA.src contains a procedure that will clear
the screen on any ANSI terminal. lr3BVA.src contains a procedure
that will clear the screen on any VMS DEC terminal.
Edit one lr2xx.src and one lr3x-x.src to suit your machine and
compile them.
lr4SC.src and lr4SV.src contain declarations for string variables
that contain filenames. If they aren't long enough to hold the
filenames on your system, lengthen them. Change the initial value
of FILE_NAMES_DATA_FILE_NAME to the file name that you want file
"LRMINIT" to have on your system. Compile lr4xx.src.
Compile lr6AVCS.src and lr7AVCB.src. These depend on lr2xx.src and
lr3x-x.src, but there really isn't anything machine-dependent in
this package.
Compile lr8VC.src. The only machine-dependent characteristic of
this source file is the decision whether to instantiate the
package contained in lr6AVCS.src and lr7AVCB.src, or that
contained in lr7VT.src.
Copy the data files as indicated in the instructions for PC/AT and
VAX/VMS.
Fill in file "LRMINIT".
Link and run unit LRM.
------------------------------------------------------------------
List of Ada source files for Ada LRM Reader:
FILENAME UNIT NAME
COMMON:
lr1G.src LRM_TYPES spec., no body
lr5BG.src LRM_GLOBAL body
VAX/VMS with ANSI terminal and PC/AT:
lr6AVCS.src LRM_NON_SMG spec.
lr7AVCB.src LRM_NON_SMG body
lr8VC.src LRM procedure (MAIN BODY)
VAX/VMS:
lr2SV.src MACHINE_SPECIFIC spec.
lr3BVA.src MACHINE_SPECIFIC body
lr4SV.src LRM_GLOBAL spec.
PC/AT:
lr2SC.src MACHINE_SPECIFIC spec.
lr3BCA.src MACHINE_SPECIFIC body
lr4SC.src LRM_GLOBAL spec.
VAX/VMS with VT100 or better terminal:
lr7VT.src LRM_SMG spec. and body
lr8VT.src LRM procedure (MAIN BODY)
lr9VT.src SMG spec., no body
Order of Compilation of Source Files:
Executable is included for PC/AT. The PC/AT version was compiled
under Meridian AdaVantage version 2.1 under MS-DOS 3.2 on a 80286
CPU. If you need an 8088 version, contact Dr. Harrison at Norfolk
State University to make arrangements.
For use on a PC/AT:
lr1G.src
lr2SC.src
lr3BCA.src
lr4SC.src
lr5BG.src
lr6AVCS.src
lr7AVCB.src
lr8VC.src
For use on VAX/VMS with VT100 or better terminals:
lr1G.src
lr2SV.src
lr3BVA.src
lr4SV.src
lr5BG.src
lr9VT.src
lr7VT.src
lr8VT.src
For use on VAX/VMS without VT100 terminals:
lr1G.src
lr2SV.src
lr3BVA.src
lr4SV.src
lr5BG.src
lr6AVCS.src
lr7AVCB.src
lr8VC.src
These source files reference data filenames:
lr4SV.src
lr4SC.src
lr5BG.src
lr7AVCB.src
lr7VT.src
lr8VC.src
lr8VT.src
Sample LRMINIT file for VMS:
ada$lrm_tools:lrchapar.dat
ada$lrm_tools:lrcredit.dat
ada$lrm_tools:lrexpln.dat
ada$lrm:
lrmsaved.out
ada$lrm_tools:lrmain.men
ada$lrm_tools:lrannex.men
ada$lrm_tools:lrchaptr.men
ada$lrm_tools:lrwelcom.men
Sample LRMINIT file for PC/AT:
c:\lrm_code\lrm\lrchapar.dat
c:\lrm_code\lrm\lrcredit.dat
c:\lrm_code\lrm\lrexpln.dat
c:\lrm_code\lrm\
lrmsaved.out
c:\lrm_code\lrm\lrmain.men
c:\lrm_code\lrm\lrannex.men
c:\lrm_code\lrm\lrchaptr.men
c:\lrm_code\lrm\lrwelcom.men
-- The End --