home *** CD-ROM | disk | FTP | other *** search
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Installation Guide to
-
- SKsh
-
- A ksh-like Shell for the Amiga
-
- Version 1.7
-
-
- (Copyright) 1988-1991
-
- Steve Koren
-
- May 4, 1991
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Installing SKsh
-
- This section descibes how to install SKsh. It is vitally im-
- portant that all the steps be performed. If they are not,
- SKsh will not operate correctly. In addition, SKsh requires
- version 1.3 or later of AmigaDos to operate correctly.
-
- Please examine this file for each release, as it may change at
- any time. In SKsh 1.7, for example, the instructions are
- quite different than in previous version. Installation after
- version 1.7 has been simplified by the use of a interactive
- installation script. Most of the steps are now automated and
- require simply that you press return when the script prompts
- you. This file still contains alot of words, but it is now a
- tutorial on using the install script, which mostly consists of
- answering simple questions and pressing return. Its simpler
- to do than to explain!
-
- Before you start, you should have extracted the entire
- SKsh*.lzh archive into a previously empty directory, and cd'ed
- to that directory. If you have enough memory, installation
- will proceed faster if this directory is on a ram: disk, but
- this is not necessary. In any case, the ram: disk should ex-
- ist when the script is run.
-
- The install script is designed for installation to hard disk.
- It may be possible to use it for floppy installation, but you
- must have enough disk space on the floppy (it takes alot, and
- you will probably not have enough room). Also, I have not
- tested it for installation to a floppy disk, so I can't claim
- it will work.
-
-
- 1) Make sure your stack size is set to at least 8000
- bytes. You must also have arp.library installed in
- your system in the LIBS: directory. This is
- essential. If you are not sure how to do this, see
- the arp documentation. arp is available on most Amiga
- BBS systems. It is best to use the most recent avail-
- able arp.library, since SKsh will not run correctly
- with some early versions.
-
-
- 2) Invoke an empty AmigaDos CLI window, one which is NOT
- running SKsh. Type:
-
- sksh -n Install_?.?.pp
-
- (where ?.? is the current version number of SKsh).
- Don't forget the -n parameter. The installation
- script will briefly describe what it is going to do.
- Read this and press return.
-
-
-
-
- SKsh Amiga Shell Page 2 Installation Guide
-
-
-
-
-
-
-
-
-
- If errors are generated at any point when running the
- script, they will be reported and the script will
- abort. A list of errors is left in the file ram:In-
- stall_Sksh.err. You can examine this list later.
-
-
- 3) Step one of the installation script will insure that
- your SKsh*.lzh file contained all the necessary files
- and was unarchived correctly to the current working
- directory. Press return when this is complete.
-
-
- 4) Step two of the script asks you for various directory
- names where SKsh files will be installed. If you have
- installed SKsh before, the script will prompt you us-
- ing the values of your old sksh:, skshbin:, and sksh-
- scr: aliases as defaults, if they exist. If this is a
- new installation, or if you are updating from SKsh 1.6
- (which doesn't have skshbin: or skshscr:), you will be
- prompted using other defaults. In either case, you can
- change the defaults by typing new values.
-
- If this is a new SKsh installation, and you type di-
- rectories which do not yet exist, the script will ask
- you if you wish to create them.
-
-
- 5) Step three of the script encompasses most of the old
- installation instructions. It installs all SKsh files
- into the locations you indicated in the above step,
- and sets the proper file permission bits. If this is
- a new SKsh installation, then the default .skshrc file
- is installed. Otherwise, your old one is left in
- place.
-
- You may skip this step by answering the prompt affir-
- matively, in which case SKsh will NOT be installed or
- updated. After you answer the one prompt, this step
- proceeds without interaction.
-
-
- 6) Step four of the installation script will check your
- device assignments for sksh:, skshbin:, and skshscr:.
- If they both exist and agree with the directories you
- input several steps ago, no further action is
- required. If the assignments do no exist, you will be
- warned, and the script will ask if you wish to make
- them now. If you ask it to, it will make the correct
- assignments, but they will only exist until your com-
- puter is rebooted.
-
- Also, if you have existing assignments by those names
- which don't agree with the directories you input be-
- fore, this fact is reported and you are given a chance
-
-
- SKsh Amiga Shell Page 3 Installation Guide
-
-
-
-
-
-
-
-
-
- to change the assignments.
-
-
- 7) Step five of the script will verify that all files
- have been installed in the correct places. It will
- also verify that all files have correct checksums and
- that none have been corrupted. No interaction is nec-
- essary in this step (besides pressing return at the
- end). Error messages will be issued if any files are
- missing, have incorrect checksums, or have incorrect
- file permission bits.
-
-
- 8) Step six of the script will re-create your .skshrc.pp
- file for you. If you don't have one already, it will
- create a new one. The .pp file will simply cause
- start times to be faster, but you must not have any
- syntax errors in your .skshrc file for this to work.
-
-
- 9) Step seven is optional, and if you choose to perform
- it, it will install the SKsh manpages in the MAN:SKsh
- directory. These manpages are generated by splitting
- the Reference.doc and ExtCmds.doc files. You must
- have enough disk space to perform this step.
-
-
- 10) Step eight of the script examines your s:startup-
- sequence file and generates a checklist of manual
- steps necessary to complete the SKsh installation.
- Since this file can widely vary in contents, it is not
- possible (or for that matter advisable) for the script
- to make the changes itself. The checklist generation
- may take a few seconds.
-
- The script prints this checklist to the screen, and
- also saves it to the file called "ram:ManSteps.txt"
- which can be examined later.
-
- The checklist will contain items that install script
- thinks you need to add to your s:startup-sequence
- file. Since there are so many configurations pos-
- sible, this may not be accurate. (For example, you
- could perform the same tasks in another startup file,
- and this script would not see them). Just make sure
- you perform these tasks somewhere where they will al-
- ways be done when you reboot your system.
-
- If the script finds no problems, it will not generate
- the checklist.
-
-
-
-
-
-
- SKsh Amiga Shell Page 4 Installation Guide
-
-
-
-
-
-
-
-
-
- Notes about the Installation
-
- * The script source to the SKsh script commands is provided
- in the scr_source directory. These files are not installed
- by the test script since they are not necessary to run
- SKsh. If you wish to save them, do it before deleting the
- directory containing the unarchived files.
-
- * The same note applies to the files in the "misc" directory.
- These are shipped in an lharc archive to save space.
-
- * If you run into any problems with the install script,
- please let me know. I have debugged it as much as pos-
- sible, but there is always the chance that some system con-
- figuration I have not tested it with will somehow cause it
- to fail.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- SKsh Amiga Shell Page 5 Installation Guide
-
-
-
-