home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / os / minix / 5043 < prev    next >
Encoding:
Internet Message Format  |  1993-01-04  |  6.1 KB

  1. Path: sparky!uunet!cs.utexas.edu!sun-barr!sh.wide!ascwide!ascgw!uitecgw!nemossan
  2. From: nemossan@uitec.ac.jp (Sakurao NEMOTO)
  3. Newsgroups: comp.os.minix
  4. Subject: problems on creating the "minix-1.6.24b"
  5. Message-ID: <1648@uitecgw.uitec.ac.jp>
  6. Date: 4 Jan 93 05:14:39 GMT
  7. Organization: Univ. Industrial Tech., Sagamihara, JAPAN
  8. Lines: 215
  9.  
  10. The following are the report from kh@mix on minix-1.6.24b, which is
  11. written by him originally in English.
  12. ------------------------------------------------------------------------
  13. [1] The "unshar" problem
  14.  
  15. 1) Doubly archived shell scripts (*.sh)
  16.  
  17.     The "unshar" command fails to un-archive doubly archived shell
  18. scripts such as "*.sh" files in the "1.6.24b" kit.  Only the first
  19. "*.d" file is gotten, and all the rests are discarded from "*.cd" files.
  20.  
  21. 2) Archived binary file (hyphenate.c)
  22.  
  23.     Also the "unshar" command fails to get the "hyphenate.c" file
  24. in the "commands.sh" archive.  This file contains some non-ascii
  25. characters which is considered to be binary file by the "unshar" command.
  26.  
  27.  
  28. [2] The "Install" script
  29.  
  30. 1) Removing necessary files
  31.  
  32.     The "Install" script removes original files to be patched by "*.d"
  33. files.  So we get no files in the commands/bawk directory etc.
  34.  
  35. 2) Un-quoted "&"
  36.  
  37.     In the line bellow in the "Install" script,
  38.  
  39.     echo unpacking complete  Now install files for K&R compiler
  40.  
  41. the "&" character is interpreted by the "sh" command.
  42.  
  43. 3) Same line (harmless)
  44.  
  45.     The "Install" script contains the two same lines as bellow.
  46.  
  47.     cp kernel/Makefile.kr Makefile
  48.     cp kernel/Makefile.ansi Makefile
  49.  
  50.  
  51. [3] The "patch" problem (memory over)
  52.  
  53.     The "patch" commands in 16-bit Minix fails with these files.
  54.  
  55.     commands/ic/ic.c.d
  56.     commands/ls.c.d
  57.     commands/mined/mined1.c
  58.     commands/nroff/command.c.d, escape.c.d
  59.  
  60.  
  61. [4] Un-matched files in "1.6.24b.crc"
  62.  
  63.     The "crc"s of these files are not matched with the "crc" valudes
  64. in the "1.6.24b" file.
  65.  
  66.     commands/elvis/Doc.sh, Man.sh (not present)
  67.     commands/fixbin.sh
  68.     commands/kermit/READ_ME
  69.     commands/m4/READ_ME
  70.     commands/whatis.sh (not present)
  71.     lib/ansi/malloc.c, wctomb.c
  72.     lib/em/Makefile, adi.s, stb.c
  73.     lib/math/Makefile
  74.     lib/rts/fphook.c (Makefile.ansi and Makefile.kr are not present)
  75.     lib/stdio/Makefile, ecvt.c
  76.  
  77. The original Malloc.c, wctomb.c, adi.s, stb.c, fphook.c files are taken
  78. from the "Unipress" version (25 JUNE-91) of the "ANSI-ACK-C" compiler.
  79.  
  80.  
  81. [5] Possible fixes for the "commands/unshar.c" and "Install" script.
  82.  
  83.  
  84. ---------------------------------------------------------------------------
  85. *** ORGunshar.c    Fri Jan  1 12:38:33 1993
  86. --- unshar.c    Sat Jan  2 11:43:47 1993
  87. ***************
  88. *** 75,84 ****
  89. --- 75,86 ----
  90.           *buf = 0;
  91.           return(EOF);
  92.       }
  93. + /*
  94.       if (ch > 127) {
  95.           binfile = 1;
  96.           return(0);
  97.       }
  98. + */
  99.       *buf++ = ch;
  100.     }
  101.  
  102. ***************
  103. *** 177,188 ****
  104.           fclose(zout);
  105.           return;
  106.       }
  107. -     if ((how == YESX) && (*temp == lead)) temp++;    /* Skip any lead */
  108. -
  109.       if (strcmp(temp, end) == 0) {    /* If end word */
  110.           fclose(zout);    /* close the file */
  111.           return;
  112.       }
  113.       fprintf(zout, "%s\n", temp);
  114.     }
  115.   }
  116. --- 179,190 ----
  117.           fclose(zout);
  118.           return;
  119.       }
  120.       if (strcmp(temp, end) == 0) {    /* If end word */
  121.           fclose(zout);    /* close the file */
  122.           return;
  123.       }
  124. +     if ((how == YESX) && (*temp == lead)) temp++;    /* Skip any lead */
  125. +
  126.       fprintf(zout, "%s\n", temp);
  127.     }
  128.   }
  129. ----------------------------------------------------------------------------
  130. *** ORGInstall    Thu Dec 31 18:13:55 1992
  131. --- Install    Sat Jan  2 11:13:38 1993
  132. ***************
  133. *** 96,112 ****
  134.   do mv $i.sh lib/$i
  135.   done
  136.   mv commands.sh commands
  137. ! rm -rf commands/ibm; mkdir commands/ibm ; mv ibm.sh commands/ibm/ibm.sh
  138. ! for i in aal advent bawk bc de dis88 elle elvis ic indent kermit m4 \
  139. !                     make mined nroff patch sh zmodem
  140. ! do rm -rf commands/$i
  141. !    mkdir commands/$i
  142.      mv $i.sh commands/$i
  143.   done
  144.  
  145.   # Everything is present. Unpack the shar files
  146.   echo Begin unpacking files
  147. ! for i in include kernel fs mm tools
  148.   do cd $i;
  149.      unshar $i.sh >log;  unshar $i.cd >>log
  150.      for j in *.d; do patch <$j  >>log 2>&1; done
  151. --- 96,113 ----
  152.   do mv $i.sh lib/$i
  153.   done
  154.   mv commands.sh commands
  155. ! #rm -rf commands/ibm; mkdir commands/ibm ; mv ibm.sh commands/ibm/ibm.sh
  156. ! mv ibm.sh commands/ibm/ibm.sh
  157. ! for i in aal advent bawk bc de dis88 elle elvis ic indent kermit m4 \
  158. !                     make mined nroff patch sh zmodem
  159. ! do #rm -rf commands/$i
  160. !    #mkdir commands/$i
  161.      mv $i.sh commands/$i
  162.   done
  163.  
  164.   # Everything is present. Unpack the shar files
  165.   echo Begin unpacking files
  166. ! for i in include kernel fs mm tools test
  167.   do cd $i;
  168.      unshar $i.sh >log;  unshar $i.cd >>log
  169.      for j in *.d; do patch <$j  >>log 2>&1; done
  170. ***************
  171. *** 162,168 ****
  172.   # Fix up ANSI vs. K&R stuff
  173.   case $1 in
  174.   kr)
  175. !     echo Unpacking complete.  Now install files for K&R compiler
  176.       suffix=a
  177.       archiver=ar
  178.       cp include/ctype.h.kr include/ctype.h
  179. --- 163,169 ----
  180.   # Fix up ANSI vs. K&R stuff
  181.   case $1 in
  182.   kr)
  183. !     echo "Unpacking complete.  Now install files for K&R compiler"
  184.       suffix=a
  185.       archiver=ar
  186.       cp include/ctype.h.kr include/ctype.h
  187. ----------------------------------------------------------------------------
  188.  
  189.  
  190. [6] Some hints
  191.  
  192. 1) Check these directories to be exist before running the "Install" script.
  193.  
  194.     $old/lib/stdio
  195.     $old/commands/aal
  196.     $old/comamnds/advent
  197.     $old/commands/bc
  198.     $old/elle
  199.  
  200. 2) The "-x" option in the "unshar" command
  201.  
  202.     We can extract only specified files by the "-x" option from any
  203. shell archive file, i.e
  204.  
  205.     unshar -xls.c.d commands.sh
  206.  
  207.  
  208.  
  209. ps.  This is only my view, ..
  210.  
  211. 1) I hope the next official Minix will be supported both the real mode
  212. and 32-bit mode.  Most of the numerical application need more memory
  213. than 64K+64K.
  214.  
  215. 2) There are many people who can not access by "ftp".  It seems to me
  216. that many people lost interest this news group because of this situation.
  217. Perhaps distributing cdifs by network-news make active this news group
  218. and it is cheaper than ftp. (Is this situation Japn only ?)
  219. ------------------------------------------------------------------------
  220.         Originally written in English by kh@mix.
  221.  
  222.     (Mon) Jan 04 14:13 JST(+0900) 1993  nemossan@uitec.ac.jp
  223.     (NEMOTO Sakurao, Univ.Indust.Tech. Sagamihara 229 JAPAN)
  224.      (Tel: +81 427 63 9136 >DIALin<   Fax: +81 427 63 9011)
  225.