home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume1 / rn / part09 < prev    next >
Encoding:
Internet Message Format  |  1986-11-30  |  3.0 KB

  1. Date: Tue, 7 May 85 14:10:12 pdt
  2. From: allegra!sdcrdcf!RDCF.SDC.UUCP!lwall (Larry Wall)
  3. Newsgroups: mod.sources
  4. Subject: rn version 4.3 (kit 9 of 9)
  5. Reply-To: lwall@sdcrdcf.UUCP
  6. Organization: System Development Corporation R&D, Santa Monica
  7.  
  8. #! /bin/sh
  9.  
  10. # Make a new directory for the rn sources, cd to it, and run kits 1 thru 9 
  11. # through sh.  When all 9 kits have been run, read README.
  12.  
  13. echo "This is rn kit 9 (of 9).  If kit 9 is complete, the line"
  14. echo '"'"End of kit 9 (of 9)"'" will echo at the end.'
  15. echo ""
  16. export PATH || (echo "You didn't use sh, you clunch." ; kill $$)
  17. echo Extracting sw.h
  18. cat >sw.h <<'!STUFFY!FUNK!'
  19. /* $Header: sw.h,v 4.3 85/05/01 11:51:07 lwall Exp $
  20.  *
  21.  * $Log:    sw.h,v $
  22.  * Revision 4.3  85/05/01  11:51:07  lwall
  23.  * Baseline for release with 4.3bsd.
  24.  * 
  25.  */
  26.  
  27. #ifdef INNERSEARCH
  28. EXT int gline INIT(0);
  29. #endif
  30.  
  31. void    sw_init();
  32. void    sw_file();
  33. void    sw_list();
  34. void    decode_switch();
  35. void    pr_switches();
  36. void    cwd_check();
  37. !STUFFY!FUNK!
  38. echo Extracting init.h
  39. cat >init.h <<'!STUFFY!FUNK!'
  40. /* $Header: init.h,v 4.3 85/05/01 11:40:46 lwall Exp $
  41.  *
  42.  * $Log:    init.h,v $
  43.  * Revision 4.3  85/05/01  11:40:46  lwall
  44.  * Baseline for release with 4.3bsd.
  45.  * 
  46.  */
  47.  
  48. EXT char *lockname INIT(nullstr);
  49.  
  50. bool    initialize();
  51. void    lock_check();
  52. void    newsnews_check();
  53. void    version_check();
  54. !STUFFY!FUNK!
  55. echo Extracting help.h
  56. cat >help.h <<'!STUFFY!FUNK!'
  57. /* $Header: help.h,v 4.3 85/05/01 11:39:19 lwall Exp $
  58.  *
  59.  * $Log:    help.h,v $
  60.  * Revision 4.3  85/05/01  11:39:19  lwall
  61.  * Baseline for release with 4.3bsd.
  62.  * 
  63.  */
  64.  
  65. void    help_init();
  66. int    help_ng();
  67. int    help_art();
  68. int    help_page();
  69. #ifdef ESCSUBS
  70.     int    help_subs();
  71. #endif
  72. !STUFFY!FUNK!
  73. echo Extracting addng.h
  74. cat >addng.h <<'!STUFFY!FUNK!'
  75. /* $Header: addng.h,v 4.3 85/05/01 11:34:48 lwall Exp $
  76.  *
  77.  * $Log:    addng.h,v $
  78.  * Revision 4.3  85/05/01  11:34:48  lwall
  79.  * Baseline for release with 4.3bsd.
  80.  * 
  81.  */
  82.  
  83. void    addng_init();
  84. #ifdef FINDNEWNG
  85.     bool    newlist();
  86.     long    birthof();
  87.     bool    scanactive();
  88. #endif
  89. !STUFFY!FUNK!
  90. echo Extracting EXTERN.h
  91. cat >EXTERN.h <<'!STUFFY!FUNK!'
  92. /* $Header: EXTERN.h,v 4.3 85/05/01 11:58:01 lwall Exp $
  93.  *
  94.  * $Log:    EXTERN.h,v $
  95.  * Revision 4.3  85/05/01  11:58:01  lwall
  96.  * Baseline for release with 4.3bsd.
  97.  * 
  98.  */
  99.  
  100. #undef EXT
  101. #define EXT extern
  102.  
  103. #undef INIT
  104. #define INIT(x)
  105.  
  106. #undef DOINIT
  107. !STUFFY!FUNK!
  108. echo Extracting INTERN.h
  109. cat >INTERN.h <<'!STUFFY!FUNK!'
  110. /* $Header: INTERN.h,v 4.3 85/05/01 11:33:16 lwall Exp $
  111.  *
  112.  * $Log:    INTERN.h,v $
  113.  * Revision 4.3  85/05/01  11:33:16  lwall
  114.  * Baseline for release with 4.3bsd.
  115.  * 
  116.  */
  117.  
  118. #undef EXT
  119. #define EXT
  120.  
  121. #undef INIT
  122. #define INIT(x) = x
  123.  
  124. #define DOINIT
  125. !STUFFY!FUNK!
  126. echo ""
  127. echo "End of kit 9 (of 9)"
  128. cat /dev/null >kit9isdone
  129. config=true
  130. for iskit in 1 2 3 4 5 6 7 8 9; do
  131.     if test -f kit${iskit}isdone; then
  132.     echo "You have run kit ${iskit}."
  133.     else
  134.     echo "You still need to run kit ${iskit}."
  135.     config=false
  136.     fi
  137. done
  138. case $config in
  139.     true)
  140.     echo "You have run all your kits.  Please read README and then type Configure."
  141.     chmod 755 Configure
  142.     ;;
  143. esac
  144. : I do not append .signature, but someone might mail this.
  145. exit
  146.  
  147.