home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume10 / ifp / part01 / RunIFP < prev   
Encoding:
Text File  |  1987-07-05  |  1.0 KB  |  33 lines

  1. # Shell script for invoking IFP interpreter.
  2.  
  3. # This script is for demonstration and documentation purposes only.
  4. # Running the script will set the appropriate environment variables
  5. # and start up the IFP interpreter in the demonstration directory.
  6.  
  7. # All its actions should be put in the user's .login, and .cshrc files.
  8. # The IFP interpreter must be compiled before running this script.
  9. # See the Makefile in subdirectory "interp" for instructions on how
  10. # to compile the interpreter.
  11.  
  12. #-----------------------------------------------------------------------
  13.  
  14. # These two lines should go in each user's .login file and be customized
  15. # for the user's particular IFP root directory and editor. 
  16.  
  17.     setenv IFProot $cwd/fproot
  18.     setenv EDITOR "/usr/ucb/vi"
  19.  
  20. # This alias is for convenience.  Presumably the interpreter will normally
  21. # reside on the user's search path.
  22.  
  23.     alias ifp $cwd/interp/ifp
  24.  
  25. # Normally the user would type in the following two lines:
  26.  
  27.     cd fproot/demo
  28.     ifp
  29.  
  30. # The interpreter will respond with the prompt "ifp>" when ready for 
  31. # user input.
  32.  
  33.