File:  [MW Coherent from dump] / coherent / c / conf / Coh_321.post
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Wed May 29 04:56:41 2019 UTC (7 years, 2 months ago) by root
Branches: MarkWilliams, MAIN
CVS tags: relic, HEAD
coherent

: Coh_321.post 1/9/92
: COHERENT Version 3.2.1
: Installation postprocessing.

: Optionally uncompress online manual pages.
MANPAGES=/usr/man/man.tar
echo '
cThe online COHERENT manual pages in /usr/man are shipped in compressed form.
The compressed manual pages use about 2000 blocks (1 MB) of disk space.
The uncompressed manual pages use about 4000 blocks (2 MB).
You can either:
	1) Remove the manual pages,
	2) Leave the manual pages compressed, or
	3) Uncompress the manual pages.
The "man" command will work only if you uncompress the manual pages (option 3).
'
flag=1
while [ $flag -eq 1 ]
do
	echo -n 'Please choose an option: '
	read x
	flag=0
	case $x in
	1*)	rm $MANPAGES.Z;;
	2*)	echo Leaving manual pages compressed in $MANPAGES.Z;;
	3*)	echo Extracting, please wait...
		zcat $MANPAGES.Z | tar xfm -
		rm $MANPAGES.Z
		echo Uncompressing and extracting complete. ;;
	*)	echo Please enter 1, 2 or 3.
		flag=1;;
	esac
done

echo
echo -n 'Hit <Enter> to continue...'
read x

: Optionally build /usr/dict/words.
echo '
cThe COHERENT dictionary in /usr/dict is shipped in compressed form.
The compressed dictionary uses about 350 blocks (.175 MB) of disk space.
The uncompressed dictionary uses about 1700 blocks (.85 MB).
You can either:
	1) Remove the dictionary,
	2) Leave the dictionary compressed, or
	3) Uncompress the dictionary.
The "spell" command will work only if you uncompress the dictionary (option 3).
'
flag=1
while [ $flag -eq 1 ]
do
	echo -n 'Please choose an option: '
	read x
	flag=0
	case $x in
	1*)	rm /usr/dict/*.Z;;
	2*)	;;
	3*)	/usr/dict/Run
		echo Uncompressing complete. ;;
	*)	echo Please enter 1, 2 or 3.
		flag=1;;
	esac
done

: Perform other housekeeping chores...

echo
echo Extracting keyboard table source files...
KBSOURCES=/conf/kbd/tables.tar
uncompress $KBSOURCES && tar xf $KBSOURCES && rm $KBSOURCES
sync

: Done.
echo -n 'c'
exit 0

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.