mullen@sdsu.UUCP (deborah mullen) (09/19/88)
My comments on 1.3b update: I started with official 1.2 disks from P-H and installed all the 1.3 and 1.3b updates and commands that I could find which is most of them. I did not bother with ed, elle, or the dictionary and spell. I am on the fence as to my preference to patch or fix. I did end up looking at a lot of the diffs to get an idea what was being changed. It was nice to have the extra context, but sometimes it would have been less confusing to just send the whole file. Library order -- I used posting 848@ast.cs.vu.nl for the library order It did not include where regexp.s and regsub.s should fit fopen.c -- ( as already reported) just needed the NEW lib.h xt_wini.c -- Did not get. Just changed the lock/unlock to the new lock/restore. If there were any other changes someone let me know, please. commands -- makefile should have -Di8088 as part of the CFLAGS date.c -- Had some problems. Finally used this sequence: Fix original(1.2) with posting P8, then patch result with P26. Skipped posting P13. ctime.c -- Fix original(1.2) with P4, then patch result with P25. Again Skipped posting P13. dis88.c -- Commented out the line "include fcntl.h" with no ill effects tty.c -- Could not find this command. fix.c -- So many versions. The latest "official" one, compiled with the 1.3b library appears to be the best. Posting20 -- I do not think there was a name collision with the mixup of fs diffs with the kernel diffs. ----------- I have an ARC turbo ( 4 and 6) IBM clone, 10 M harddisk, Xebec controller, and a panasonic 1091 printer. With the command " ls -l /user/* > /dev/lp" the 1.3b printer.c loses characters. There is a noticeable pause when printing a large directory. Maybe if I fix the missing restore command, it will fix it. For 1.0 ( yes, I had 1.0) 1.1, 1.2 and 1.3b the following change had to be made to xt_wini.c in order for it to work ( diff relative to 1.2, I think). With the change, I have no trouble putting the MINIX partition anywhere on the hard disk. 722,723c722,723 < type_0 = i & 3; < type_1 = (i >> 2) & 3; --- > type_1 = i & 3; > type_0 = (i >> 2) & 3; For the record, I used diskpart.c by Jackob Schripsema to partition (under MINIX) by harddisk. ---------- Wish list: It would be very nice to have an updated script of changemem, or at least a list of commands that require more than 2K of stack. Also a list of the commands that must be compiled with the separate I & D option. -- Deborah Mullen
ast@cs.vu.nl (Andy Tanenbaum) (09/22/88)
In article <3158@sdsu.UUCP> mullen@sdsu.UCSD.EDU (deborah mullen) writes: > It would be very nice to have an updated script of changemem, or at > least a list of commands that require more than 3K of stack. Also a > list of the commands that must be compiled with the separate I & D option. > Here is size /usr/bin/*. Any program with > 64K is separate ID. text data bss stack memory 9392 1330 6318 48496 65536 ar 1040 76 30022 3072 34210 ascii 14032 7870 7444 50222 79568 asld 5424 740 3206 16000 25370 ast 7600 1014 2218 3072 13904 at 4160 670 2128 3072 10030 atrun 6656 1482 2248 3072 13458 badblocks 2464 5432 2084 3072 13052 banner 1064 64 156 3072 4356 basename 14768 1694 7546 41528 65536 bawk 3700 382 2526 3072 9680 cal 1120 740 530 3072 5462 cat 4656 1284 6004 3000 14944 cc 8144 1088 2768 60000 72000 cdiff 3712 1108 3406 57310 65536 chgrp 3152 576 2078 3072 8878 chmem 3392 620 2118 3072 9202 chmod 3392 1156 3390 3072 11010 chown 5424 650 3140 3072 12286 clr 3372 224 18468 3072 25136 cmp 1822 104 2400 3072 7398 comm 9968 2036 2276 61224 75504 compress 1920 900 16402 16000 35222 cp 5936 1746 5180 52674 65536 cpdir 8208 2404 4272 3072 17956 cptree 6448 670 2554 3072 12744 cron 5696 746 2134 3072 11648 date 4752 864 2150 40000 47766 dd 2640 1288 2224 8000 14152 df 4640 596 7410 3072 15718 dhrystone 5216 524 2088 60000 67828 diff 14400 6162 38542 6432 65536 dis88 3808 816 36946 3072 44642 diskcheck 10160 2312 54542 8682 75696 dosdir 10160 2312 54542 8682 75696 dosread 10160 2312 54542 8682 75696 doswrite 3604 228 2296 32000 38128 du 648 24 2076 3072 5820 echo 14464 1296 3788 60000 79548 ed 58256 9466 2496 53574 123792 elle 11260 7134 5598 41544 65536 ellec 3304 272 2080 3072 8728 expr 3024 542 2100 3072 8738 factor 6320 1458 2612 3072 13462 fdisk 4288 1456 14542 8000 28286 fgrep 3248 640 3100 50000 56988 file 7456 1184 2228 50000 60868 find 4944 832 2082 57678 65536 fix 4240 1174 2152 57970 65536 from 14000 4220 5262 42054 65536 fsck 608 38 14 3072 3732 getlf 6708 694 2208 8000 17610 grep 8440 768 2076 8000 19284 gres 1008 72 2088 62368 65536 h25 2900 166 3228 8000 14294 head 6160 738 2102 3072 12072 help 1488 316 174 3072 5050 kill 1152 1302 40786 22296 65536 libpack 672 1250 40022 23592 65536 libupack 960 70 322 3072 4424 ln 4864 472 1588 3072 9996 login 7120 788 2186 3072 13166 lorder 1232 136 2100 3072 6540 lpr 7360 894 18518 20000 46772 ls 10880 1816 6234 20000 38930 make 2496 1060 210 500 4266 master 16864 2530 5374 57632 82400 mined 1568 174 38 8000 9780 mkdir 8800 1292 8422 40000 58514 mkfs 944 756 18 3072 4790 mknod 8160 942 4256 3072 16430 more 1232 862 518 3072 5684 mount 2880 482 108 8000 11470 mv 4960 580 3182 16000 24722 nm 5308 286 3654 16000 25248 od 4672 626 2052 3072 10422 passwd 5296 722 2102 8000 16120 paste 25296 5298 4846 55392 90832 patch 6032 1626 5166 3072 15896 pc 21504 4942 5621 25000 57067 pdtar 6960 800 3120 32000 42880 pr 4336 602 2092 8000 15030 prep 730 24 156 2048 2958 printenv 1760 334 160 3072 5326 pwd 2416 444 34080 3072 40012 readall 2672 420 2088 3072 8252 readclock 6096 898 13470 45072 65536 readfs 816 46 1034 3072 4968 rev 2656 544 36 8000 11236 rm 2336 482 204 8000 11022 rmdir 12896 1250 4752 16000 34898 roff 9360 1562 25248 500 36670 rsh 12080 1712 24812 39012 77616 sed 21840 2166 1376 12000 37382 sh 1248 160 22536 8000 31944 shar 10912 1612 13202 500 26226 sherver 3024 542 2212 8000 13778 size 848 58 58 3072 4036 sleep 8576 2208 3148 51604 65536 sort 1552 138 116 3072 4878 split 5136 1292 2088 16000 24516 strings 3600 540 3280 16000 23420 strip 3312 758 182 3072 7324 stty 4112 420 3410 3072 11014 su 1728 306 194 2048 4276 sum 384 26 10 3072 3492 sync 4464 494 7210 8000 20168 tail 4288 746 1800 3072 9906 tar 1424 326 106 3072 4928 tee 4144 682 2112 3072 10010 term 6016 1552 2110 3072 12750 termcap 2976 560 34 3072 6642 test 2432 1186 262 8000 11880 time 4016 1168 2108 58244 65536 to 1600 322 172 3072 5166 touch 1476 82 2852 3072 7482 tr 4512 428 2118 58478 65536 traverse 4992 886 10346 49312 65536 treecmp 5968 766 2152 56650 65536 tset 5264 1384 4186 3072 13906 tsort 3360 1062 2150 58964 65536 tty 1184 792 1038 3072 6086 umount 4896 1188 5172 8000 19256 uniq 752 28 40 3072 3892 update 7056 1274 3396 8000 19726 uudecode 4226 834 2074 8000 15134 uuencode 3392 718 3136 3072 10318 vol 4442 208 2104 8000 14754 wc 3456 700 2344 3072 9572 who 1712 110 3356 60358 65536 whoami 58256 9466 2496 53574 123792 xelle Here is tools/changemem : Increase default stack size from 2K. b=/usr/bin l=/usr/lib t=../test chmem =50000 $b/ar chmem =16000 $b/ast chmem =60000 $b/asld chmem =3000 $b/cc chmem =52000 $l/cem chmem =30000 $l/cg chmem =16000 $b/cp chmem =60000 $b/cdiff chmem =64000 $b/compress chmem =64000 $b/cpdir chmem =60000 $l/cpp chmem =40000 $b/dd chmem =32000 $b/du chmem =60000 $b/diff chmem =8000 $b/df chmem =32000 $b/dosread chmem =60000 $b/ed chmem =8000 $b/fgrep chmem =50000 $b/file chmem =50000 $b/find chmem =60000 $b/fix chmem =8000 $b/grep chmem =8000 $b/gres chmem =8000 $b/head chmem =64000 $b/libpack chmem =64000 $b/libupack chmem =20000 $b/make chmem =64000 $b/mined chmem =8000 $b/mkdir chmem =40000 $b/mkfs chmem =8000 $b/mv chmem =16000 $b/nm chmem =40000 $l/opt chmem =8000 $b/paste chmem =32000 $b/pr chmem =8000 $b/prep chmem =50000 $b/readfs chmem =8000 $b/rm chmem =8000 $b/rmdir chmem =16000 $b/roff chmem =16000 $b/strings chmem =12000 $b/sh chmem =8000 $b/shar chmem =60000 $b/sort chmem =16000 $b/strip chmem =8000 $b/tail chmem =8000 $b/time chmem =60000 $b/treecmp chmem =8000 $t/t10a chmem =8000 $t/t11a chmem =8000 $t/t11b chmem =8000 $b/uniq chmem =8000 $b/uuencode chmem =8000 $b/uudecode chmem =8000 $b/wc for i in 1 2 3 4 5 6 7 8 9 10 do chmem =8000 ../test/test$i done Andy Tanenbaum (ast@cs.vu.nl)