home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format 52
/
af052sub.adf
/
newlist.lha
/
NewList
/
OldInstall-Newlist8
< prev
next >
Wrap
Text File
|
1993-07-16
|
5KB
|
165 lines
; $VER: Newlist 8 (19-Jun-93) Manual Install Script
echo ""
echo " ------------------"
echo " Install newlist8"
echo " ------------------"
echo ""
echo " This script will copy the appropriate version to c: and call it 'nl'."
echo ""
echo " Note: pressing return at prompts will mean 'no'."
echo ""
if exists c:nl
echo ""
echo " ATTENTION: c:nl already exists!"
ask " Do you wish to overwrite c:nl (y/n)?"
if warn
else
echo ""
echo "Installation aborted."
skip xit
endif
resident c:nl remove >nil:
echo ""
echo ""
endif
echo " Which Newlist version:"
echo ""
echo " Newlist8 - Newlist for all Amigas"
echo " Newlist8.030 - Newlist for MC68030 or MC68040 ONLY"
echo ""
ask " Install Newlist8 (y/n) ?"
if warn
copy newlist8 c:nl
echo " Newlist8 copied to c:nl..."
resident c:nl add
endif
ask " Install Newlist8.030 (y/n) ?"
if warn
copy newlist8.030 c:nl
echo " Newlist8.030 copied to c:nl..."
resident c:nl add
endif
if exists ENV:NEWLIST_LANG
echo ""
echo " ATTENTION!"
echo " Language file already exists!!"
echo ""
echo " It's highly advised that you replace you old language file"
echo " because things always change! If you don't then you may"
echo " experience weird behavior from Newlist."
echo ""
ask " Want to replace ENV:NEWLIST_LANG (y/n) ?"
if warn
else
skip more
endif
endif
echo ""
echo " Please install a language...."
cd languages
execute oldinstall-lang
cd /
if exists ENV:NEWLIST_LANG
else
echo ""
echo " Installation not complete!"
echo " In order to run newlist8 a language must be installed."
skip xit
endif
resident c:nl add
endif
lab more
echo ""
echo " -------------------"
echo " Misc stuff to add"
echo " -------------------"
echo ""
echo " 'Aliases' a bunch of useful aliases that use newlist's features."
echo " Newlist_Aliases will be copied to s:"
echo " Editing this file is encouraged."
echo " 'NewSpat' a replacement for Commodore's s:spat that uses nl"
echo " 'NewDpat' a replacement for Commodore's s:dpat that uses nl"
echo " 'newdir' a neat newlist multi-execution example"
echo ""
ask " Shall I append 'Aliases' to your s:shell-startup (y/n) ?"
if warn
copy scripts/Aliases s:Newlist_Aliases
echo "execute s:Newlist_Aliases" >>s:shell-startup
endif
ask " Shall I replace s:spat and s:dpat with newlist versions (y/n)?"
if warn
echo " --Original spat and dpat will be renamed to spat.bak and dpat.bak"
if exists s:spat
rename s:spat s:spat.bak
endif
if exists s:dpat
rename s:dpat s:dpat.bak
endif
copy scripts/newspat s:spat
copy scripts/newdpat s:dpat
endif
ask " Shall I copy 'newdir' to your c: directory (y/n)?"
if warn
copy scripts/newdir c:
endif
echo ""
echo " --------"
echo " Extras"
echo " --------"
echo ""
echo " RESIDENT - loads the program once into memory so further calls"
echo " do not need to be loaded again from disk."
echo " This makes newlist fast to run."
echo " ENV: - Environment variables go here. Newlist has environment"
echo " variable support to allow a user to customize his"
echo " default settings."
echo ""
ask " Shall I add 'RESIDENT c:nl PURE ADD' to the top of your s:user-startup ?"
if warn
if exists s:user-startup
if exists ram:
copy s:user-startup ram:
echo "RESIDENT c:nl PURE ADD" >s:user-startup
type ram:user-startup >>s:user-startup
delete ram:user-startup >nil:
endif
endif
endif
if exists ENV:NEWLIST
echo ""
echo " ----------"
echo " ATTENTION: ENV: variables already exist! Re-installing will erase all of"
echo " your ENV: variables and settings."
echo ""
endif
ask " Shall I install my favorite ENV: settings in ENV: and ENVARC: (y/n) ?"
if warn
if exists ENV:
copy env env: >nil:
endif
if exists ENVARC:
copy env envarc: >nil:
endif
endif
echo ""
echo ""
echo " Installation complete. If you have any problems, consult the"
echo " installation section in NewList.doc. If you installed the aliases"
echo " please edit them to increase shell-startup speed."
echo ""
echo " Try it out with: nl"
echo " nl -z"
echo " nl -q"
echo " nl -qs"
echo " nl -qt"
echo " nl -T3"
echo " nl -UV"
echo " nl -?"
echo ""
echo " Enjoy!"
lab xit
echo ""