|
|
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: 4443 (0x115b)
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«
└─⟦7638e0030⟧
└─⟦this⟧
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
└─⟦5a81ac88f⟧ »Space Info Vol 1«
└─⟦f2b74a537⟧
└─⟦this⟧
#! /bin/csh -f
if ( $1 == "" ) then
echo "You need to specify the directory where Rational Access will be"
echo "installed, as the first paramaeter to the install program. i.e."
echo " "
echo "install_release /vendor/rational/rational_access/rev0_7_0"
echo " "
exit
endif
if ( -e $1 ) then
if ( -f $1 ) then
echo "There is already a file $1. Delete the files or choose another"
echo "directory for the install."
exit
endif
else
echo -n Directory $1 does not exist. Create one\?" "\[y\]" "
set ANSWER=$<
if ( ${ANSWER} == "" || ${ANSWER} == 'Y' || ${ANSWER} == 'y' ) then
if ( `/bin/uname` == "SunOS" ) then
mkdir -p $1
else if ( `/bin/uname` == "AIX" ) then
mkdir $1
endif
endif
if ( ! -e $1 ) then
echo "Unable to create directory. Create directory manually and"
echo "rerun the install script."
exit
endif
else
exit
endif
endif
if ( ! -e $1/rational.Z ) cp rational.Z $1
cd $1
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 -
if ($status != 0) then
echo Unable to uncompress and restore tar file
exit 1
endif
endif
echo "*helpfile: $1/Rational_Access/Help_Data" >> \
$1/app-defaults/RATIONAL
echo "*envHelpfile: $1/Rational_Access/Env_Help_Topics" >> \
$1/app-defaults/RATIONAL
sed -e s:ACCESSHOME_VALUE:${1}: < config.csh > config.csh_tmp
mv config.csh_tmp config.csh
sed -e s:ACCESSHOME_VALUE:${1}: < config.sh > config.sh_tmp
mv config.sh_tmp config.sh
echo -n "Checking for required entries in /usr/lib/X11/XKeysymDB ... "
if ( -f /usr/lib/X11/XKeysymDB ) then
grep osfCancel /usr/lib/X11/XKeysymDB >& /dev/null
if ( $status != 0 ) then
echo not found!
echo "The file /usr/lib/X11/XKeysymDB does not have the osf entries that"
echo Access requires for proper functioning.
if ( -w /usr/lib/X11/XKeysymDB ) then
echo -n Should I add the osf right entries into the file\?" "\[y\]" "
set ANSWER=$<
if ( ${ANSWER} == "" || ${ANSWER} == 'Y' || ${ANSWER} == 'y' ) then
echo -n Adding entries into /usr/lib/X11/XKeysymDB ...
cat $1/Rational_Access/XKeysymDB >> /usr/lib/X11/XKeysymDB
echo done!
else
cat /usr/lib/X11/XKeysymDB $1/Rational_Access/xkeysymdb >> XKeysymDB
echo Created a XKeysymDB file with the right osf entries in `pwd`.
echo Request the System Administrator to move the new XKeysymDB
echo file into /usr/lib/X11.
endif
else
cat /usr/lib/X11/XKeysymDB $1/Rational_Access/XKeysymDB >> XKeysymDB
echo "You do not have write privileges to /usr/lib/X11/XKeysymDB. The"
echo file XKeysymDB has been created, which is the same file
echo "/usr/lib/X11/XKeysymDB but with the right entries in there."
echo Request the System Administrator to move the new XKeysymDB
echo "file into /usr/lib/X11."
endif
else
echo found!
endif
else
echo not found!
echo "Can not find /usr/lib/X11/XKeysymDB file, which contains the right OSF"
echo entries that Access requires for proper functioning.
if ( -w /usr/lib/X11 ) then
echo -n Should I create the file in /usr/lib/X11\?" "\[y\]" "
set ANSWER=$<
if ( ${ANSWER} == "" || ${ANSWER} == 'Y' || ${ANSWER} == 'y' ) then
echo -n Creating /usr/lib/X11/XKeysymDB file ...
cp $1/Rational_Access/XKeysymDB /usr/lib/X11/XKeysymDB
echo done!
else
cp $1/Rational_Access/XKeysymDB XKeysymDB
echo Created a XKeysymDB file with the required OSF entries in
echo `pwd`.
echo Request the System Administrator to move the new XKeysymDB
echo file into /usr/lib/X11.
endif
else
cp $1/Rational_Access/XKeysymDB XKeysymDB
echo You do not have write privileges to /usr/lib/X11/XKeysymDB. The
echo file XKeysymDB has been created with the required OSF entries in
echo `pwd`.
echo Request the System Administrator to move the new XKeysymDB
echo file into /usr/lib/X11.
endif
endif
echo "Rational Access Installation completed succesfully"