|
|
DataMuseum.dkPresents historical artifacts from the history of: Rational R1000/400 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Rational R1000/400 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 6151 (0x1807)
Types: TextFile
Notes: R1k Text-file segment
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
└─⟦cfc2e13cd⟧ »Space Info Vol 2«
└─⟦ade41d911⟧
└─⟦this⟧
# Created by make - do not edit
# This script unpacks the files in rational.Z and installs them in
# the appropriate directories. To run it, type:
# csh install_release
#
set BINDIR=/usr/bin/X11
set FONTDIR=/usr/lib/X11/fonts/misc
set MANDIR=/usr/man/mann
set MANFILE=rational.n
set XAPPLOADDIR=/usr/lib/X11/app-defaults
#
if ( -e rational ) then
echo ""
echo -n Rational seems to be unpacked. Do it again\?" "\[y\]
set ANSWER=$<
else
set ANSWER=""
endif
if ( ${ANSWER} == "" || ${ANSWER} == 'Y' || ${ANSWER} == 'y' ) then
echo "Unpacking rational.Z (takes about a minute)"
uncompress -c rational.Z | tar -xf -
chmod +x rational
endif
#
while ( 1 )
echo ""
echo -n Is the bin directory ${BINDIR}\?" "\[y\]
set ANSWER=$<
if ( ${ANSWER} == "" || ${ANSWER} == 'Y' || ${ANSWER} == 'y' ) then
if ( -e ${BINDIR}/rational ) then
echo ""
echo -n ${BINDIR}/rational exists. Install it again\?" "\[y\]
set ANSWER=$<
if ( ${ANSWER} == "" || ${ANSWER} == 'Y' || ${ANSWER} == 'y' ) then
rm -f ${BINDIR}/rational
endif
else
set ANSWER=""
endif
if ( ${ANSWER} == "" || ${ANSWER} == 'Y' || ${ANSWER} == 'y' ) then
echo ""
echo -n Do you want a link to rational in ${BINDIR}\?" "\[y\]
set ANSWER=$<
if ( ${ANSWER} == "" || ${ANSWER} == 'Y' || ${ANSWER} == 'y' ) then
ln -s $cwd/rational ${BINDIR}
break
endif
echo ""
echo -n Do you want rational copied to ${BINDIR}\?" "\[y\]
set ANSWER=$<
if ( ${ANSWER} == "" || ${ANSWER} == 'Y' || ${ANSWER} == 'y' ) then
cp rational ${BINDIR}/rational
break
endif
else
break
endif
else
echo -n Where is the bin directory\?" "
set BINDIR=$<
endif
end
ls -l ${BINDIR}/rational
#
while ( 1 )
echo ""
echo -n Put fonts in ${FONTDIR}\?" "\[y\]
set ANSWER=$<
if ( ${ANSWER} == "" || ${ANSWER} == 'Y' || ${ANSWER} == 'y' ) then
cp -i fonts/* ${FONTDIR}
${BINDIR}/mkfontdir ${FONTDIR}
break
else
echo -n Where should fonts be put\?" "
set FONTDIR=$<
endif
end
#
while ( 1 )
echo ""
echo -n Is the manual directory ${MANDIR}\?" "\[y\]
set ANSWER=$<
if ( ${ANSWER} == "" || ${ANSWER} == 'Y' || ${ANSWER} == 'y' ) then
if ( -e ${MANDIR}/${MANFILE} ) then
echo ""
echo -n Manual page exists. Install it again\?" "\[y\]
set ANSWER=$<
if ( ${ANSWER} == "" || ${ANSWER} == 'Y' || ${ANSWER} == 'y' ) then
rm -f ${MANDIR}/${MANFILE}
endif
else
set ANSWER=""
endif
if ( ${ANSWER} == "" || ${ANSWER} == 'Y' || ${ANSWER} == 'y' ) then
echo ""
echo -n Do you want a link to rational.man in ${MANDIR}\?" "\[y\]
set ANSWER=$<
if ( ${ANSWER} == "" || ${ANSWER} == 'Y' || ${ANSWER} == 'y' ) then
ln -s $cwd/rational.man ${MANDIR}/${MANFILE}
break
endif
echo ""
echo -n Do you want rational.man copied to ${MANDIR}/${MANFILE}\?" "\[y\]
set ANSWER=$<
if ( ${ANSWER} == "" || ${ANSWER} == 'Y' || ${ANSWER} == 'y' ) then
install -c -m 0444 rational.man ${MANDIR}/${MANFILE}
break
endif
else
break
endif
else
echo -n Where is the man directory\?" "
set MANDIR=$<
endif
end
ls -l ${MANDIR}/${MANFILE}
#
while ( 1 )
echo ""
echo -n Are X11 application defaults in ${XAPPLOADDIR}\?" "\[y\]
set ANSWER=$<
if ( ${ANSWER} == "" || ${ANSWER} == 'Y' || ${ANSWER} == 'y' ) then
rm -f ${XAPPLOADDIR}/RATIONAL
echo ""
echo -n Should ${XAPPLOADDIR}/RATIONAL be a link\?" "\[y\]
set ANSWER=$<
if ( ${ANSWER} == "" || ${ANSWER} == 'Y' || ${ANSWER} == 'y' ) then
ln -s $cwd/RATIONAL ${XAPPLOADDIR}
break
endif
echo ""
echo -n Do you want RATIONAL copied to ${XAPPLOADDIR}\?" "\[y\]
set ANSWER=$<
if ( ${ANSWER} == "" || ${ANSWER} == 'Y' || ${ANSWER} == 'y' ) then
cp $cwd/RATIONAL ${XAPPLOADDIR}
break
endif
else
echo -n Where is X11 app default directory\?" "
set XAPPLOADDIR=$<
endif
end
ls -l ${XAPPLOADDIR}/RATIONAL
while ( 1 )
if ( -e ${XAPPLOADDIR}/Rational_Access ) then
if ( -d ${XAPPLOADDIR}/Rational_Access ) then
foreach i (`ls ${XAPPLOADDIR}/Rational_Access`)
rm -f ${XAPPLOADDIR}/$i
end
endif
endif
echo ""
echo -n Should ${XAPPLOADDIR}/Rational_Access be a link\?" "\[y\]
set ANSWER=$<
if ( ${ANSWER} == "" || ${ANSWER} == 'Y' || ${ANSWER} == 'y' ) then
if ( -e ${XAPPLOADDIR}/Rational_Access ) then
if ( -d ${XAPPLOADDIR}/Rational_Access ) then
rmdir -f ${XAPPLOADDIR}/Rational_Access
else
rm -f ${XAPPLOADDIR}/Rational_Access
endif
endif
ln -s $cwd/Rational_Access ${XAPPLOADDIR}
break
endif
echo ""
echo -n Do you want files copied to ${XAPPLOADDIR}/Rational_Access\?" "\[y\]
set ANSWER=$<
if ( ${ANSWER} == "" || ${ANSWER} == 'Y' || ${ANSWER} == 'y' ) then
if ( -e ${XAPPLOADDIR}/Rational_Access ) then
if ( -f ${XAPPLOADDIR}/Rational_Access ) then
rm -f ${XAPPLOADDIR}/Rational_Access
mkdir ${XAPPLOADDIR}/Rational_Access
endif
else
mkdir ${XAPPLOADDIR}/Rational_Access
endif
cp $cwd/Rational_Access/* ${XAPPLOADDIR}
break
endif
end
ls -l ${XAPPLOADDIR}/Rational_Access
echo ""
echo Rational Access installation complete