Path: tut!draken!kth!mcvax!hp4nl!botter!star.cs.vu.nl!ast@cs.vu.nl From: ast@cs.vu.nl (Andy Tanenbaum) Newsgroups: comp.os.minix Subject: Sneak preview of 1.4b Message-ID: <2929@ast.cs.vu.nl> Date: 23 Jul 89 20:50:05 GMT Sender: ast@cs.vu.nl Reply-To: ast@cs.vu.nl (Andy Tanenbaum) Organization: VU Informatica, Amsterdam Lines: 477 I am going to be away until Aug 18. When I get back, I have to finish off my architecture book, then I can spend more time on MINIX 1.4b. I have done some work on it already. As a sneak preview, below are the current crc listings of the commands and lib directories, so you can see what has changed since 1.4a, if you are curious. After 1.4b, I start on 2.0 (POSIX). Dick van Veen wrote a nice interactive, menu-based man program, which I will post later. I have also made up a man file for it containing all the current programs, including everything from 1.1, 1.2, 1.3, 1.4a, and some new things. An extract of the man file listing the commands is present at the end of this message. If there are things you have actually working that you think ought to be in here, test them some more and let me know in Sept. I have not taken everything posted to the net.The main reasons for not taking a program are (1) Copyright reasons (e.g., the pirated yacc), (2) I tried it and it didn't work the first time so I gave up, (3) Too big, (4) Not terribly useful (5) Not real UNIX (i.e., it was not in Version 7). As time goes on, criterion number (5) is sort of slipping away. I am much more willing now to include any high-quality, portable software that works well on the PC and Atari, provided it is clearly useful, thoroughly debugged, and not too big. This newsgroup has now had over 6000 messages in 2.5 years, or about 7 a day. Andy Tanenbaum (ast@cs.vu.nl) crc listing for commands directory 23 July 1989 41007 6207 animals.c 48404 19498 ar.c 16433 1615 ascii.c 16506 5839 ast.c 60664 4941 at.c 30600 1730 atrun.c 11818 14134 badblocks.c 09785 6370 banner.c 01345 622 basename.c 50653 208 bawk (Directory; doesn't really work) 46626 30594 btoa.c 03957 7987 cal.c 10463 1439 cat.c 06967 11902 cc.c 29849 152216 cdif.a 42817 5931 cdiff.c 39789 10963 cgrep.c 46173 1853 chgrp.c 27811 2687 chmem.c 00157 6972 chmod.c 56195 1853 chown.c 63975 8011 ci.c 63579 1566 clr.c 06733 2220 cmp.c 53393 5876 co.c 06836 3433 comm.c 31356 38532 compress.c 63905 3546 cp.c 54611 5843 cpdir.c 38268 3504 crc.c 27715 5143 cron.c 11198 2223 date.c 49446 5662 dd.c 27688 544 de 18466 3553 df.c 16917 5383 diff.c 12798 384 dis88 (Directory) 37626 3982 diskcheck.c 46743 26580 dosread.c 02565 4395 du.c 48277 723 echo.c 07544 42036 ed.c 46495 1392 elle (Directory) 26898 1876 expand.c 23787 2763 expr.c 47116 773 factor.c 52529 10285 fdisk.c 18084 5493 fgrep.c 61039 3220 file.c 29933 12807 find.c 04128 4592 fix.c 14873 1263 fold.c 47777 2163 fortune.c 13785 298 getlf.c 57176 2820 grep.c 32905 3148 gres.c 01913 1159 head.c 54112 4249 help.c 37613 240 ic (Directory) 44030 1236 id.c 25212 5555 inodes.c 04301 640 kermit (Directory) 55302 557 kill.c 46193 11985 last.c 05903 6232 leave.c 20222 4005 libpack.c 44726 2074 libupack.c 18018 1111 ln.c 59287 3973 login.c 18269 3803 look.c 14421 7657 lorder.c 06347 1647 lpr.c 09513 22767 ls.c 53109 16795 mail.c 15981 496 make (Directory) 51453 494 makefile 17888 352 man (Directory) 09559 208 mined (Directory) 01732 1319 mkdir.c 52749 25884 mkfs.c 05593 555 mknod.c 14360 37910 more.c 25884 1163 mount.c 37282 3733 mv.c 53701 3923 nm.c 24465 208 nro (Directory; doesn't really work) 21321 5148 od.c 65009 2392 passwd.c 25508 12000 paste.c 19071 400 patch (Directory) 18847 416 peephole (Directory; is this worth it?) 07092 12355 pr.c 44668 2025 prep.c 32932 190 printenv.c 24885 1646 pwd.c 11400 507 readall.c 52678 4113 readclock.c 12013 14455 readfs.c 56057 1456 rev.c 44299 2929 rm.c 46010 5049 rmdir.c 58915 20224 roff.c 30068 45809 sed.c 13411 320 sh (Directory) 05947 1146 shar.c 08693 1521 size.c 13037 427 sleep.c 17390 31431 sort.c 45875 2073 split.c 39729 1392 stevie (Directory; not finished yet) 44600 4052 strings.c 20678 2829 strip.c 45523 4700 stty.c 03641 1140 su.c 59580 1781 sum.c 57610 140 sync.c 50173 4209 tail.c 56930 11497 tar.c 38798 1145 tee.c 28117 7758 term.c 14056 3832 termcap.c 63238 4282 test.c 49230 2638 time.c 60932 1309 touch.c 10498 3267 tr.c 01207 1737 traverse.c 05558 6938 treecmp.c 47860 2431 tset.c 33210 6668 tsort.c 06541 6422 ttt.c 59715 382 tty.c 20827 1114 umount.c 63513 2508 unexpand.c 06117 3263 uniq.c 30359 424 update.c 16741 2472 users.c 09722 3179 uudecode.c 02849 1808 uuencode.c 55996 2966 vol.c 56043 2880 wc.c 19094 1762 which.c 00649 2594 who.c 25742 279 whoami.c 28082 4507 write.c crc listing for lib directory 23 July 1989 44585 67 abort.c 62378 35 abs.c 00847 116 access.c 53180 130 alarm.c 15118 2103 amoeba.c 02865 1052 atoi.c 09958 308 atol.c 33354 243 bcmp.c 32674 211 bcopy.c 32077 526 brk.c 45837 128 brk2.c 32537 998 bsearch.c 31389 167 bzero.c 45333 2076 call.c 38438 95 chdir.c 24400 114 chmod.c 35694 160 chown.c 52416 97 chroot.c 63814 142 cleanup.c 09772 117 close.c 47758 626 closedir.c 17351 113 creat.c 52070 880 crypt.c 19954 619 ctermid.c 40552 1960 ctime.c 51929 934 ctype.c 06632 4095 curses.c 00864 553 cuserid.c 00979 4102 doprintf.c 44155 112 dup.c 07247 130 dup2.c 29888 2327 exec.c 32310 1858 execlp.c 25467 298 exit.c 09724 314 fclose.c 18729 621 fdopen.c 61312 356 fflush.c 12779 224 ffs.c 58025 617 fgetc.c 56675 305 fgets.c 36305 985 fopen.c 41218 103 fork.c 34967 309 fprintf.c 12884 721 fputc.c 23657 102 fputs.c 26759 350 fread.c 10093 175 freopen.c 46552 969 fseek.c 24992 156 fstat.c 58766 407 ftell.c 34432 315 fwrite.c 23802 2784 getcwd.c 55422 7946 getdents.c 49079 172 getegid.c 11147 494 getenv.c 20964 172 geteuid.c 30382 133 getgid.c 35565 2051 getgrent.c 30802 429 getlogin.c 47921 4133 getopt.c 14641 445 getpass.c 01525 107 getpid.c 47346 1734 getpwent.c 34634 228 gets.c 42731 133 getuid.c 01733 96 gtty.c 59375 242 index.c 34565 1710 ioctl.c 41007 187 isatty.c 49081 438 itoa.c 62370 205 kill.c 36738 293 lib.h 18984 146 link.c 30326 903 lock.c 07002 1061 lrand.c 34936 811 lsearch.c 53203 261 lseek.c 19750 4607 malloc.c 63728 656 memccpy.c 37913 595 memchr.c 20198 367 memcmp.c 02350 450 memcpy.c 30241 524 memset.c 60920 139 message.c 31402 160 mknod.c 23306 420 mktemp.c 63119 181 mount.c 39272 111 open.c 28057 1537 opendir.c 33919 105 pause.c 43918 1474 perror.c 10862 215 pipe.c 44386 1122 popen.c 04176 360 printdat.c 50919 4044 printk.c 11770 1225 prints.c 36117 117 puts.c 50428 2820 qsort.c 53347 266 rand.c 49122 179 read.c 11289 987 readdir.c 46123 27676 regexp.c 06232 2106 regsub.c 31886 242 rename.c 61116 742 rewinddir.c 49463 245 rindex.c 18260 5928 scanf.c 04658 2961 seekdir.c 33815 299 setbuf.c 06203 121 setgid.c 13969 121 setuid.c 42200 1135 signal.c 51754 1024 sleep.c 06501 294 sprintf.c 12818 164 stat.c 03184 211 stb.c 32278 91 stderr.c 07568 100 stime.c 15321 301 strcat.c 52438 418 strchr.c 05024 637 strcmp.c 63840 257 strcpy.c 38590 444 strcspn.c 54504 317 strerror.c 10923 218 strlen.c 00895 404 strncat.c 10816 755 strncmp.c 61066 387 strncpy.c 53945 422 strpbrk.c 60203 410 strrchr.c 34306 460 strspn.c 10888 635 strstr.c 15885 1103 strtok.c 10475 96 stty.c 01903 278 swab.c 40136 103 sync.c 43423 4481 syslib.c 13914 790 system.c 28895 790 telldir.c 17928 6998 termcap.c 33646 258 time.c 49116 304 times.c 23871 1367 ttyname.c 15882 137 umask.c 08177 96 umount.c 28421 286 ungetc.c 42356 374 uniqport.c 32976 96 unlink.c 26389 467 utime.c 03799 318 vsprintf.c 18953 189 wait.c 47336 154 write.c Names of entries in man file 23 July 1989 Command: animals - twenty questions type guessing game about animals Command: ar - archiver Command: ascii - strip all the pure ASCII lines from a file Command: asld - assembler-loader Command: ast - add symbol table to executable file Command: at - execute commands at a later time Command: badblocks - put a list of bad blocks in a file Command: banner - print a banner Command: basename - strip off file prefixes and suffixes Command: btoa - binary to ascii conversion Command: cal - print a calendar Command: cat - concatenate files and write them to standard output Command: cc - C compiler Command: cdiff - context diff Command: cgrep - grep and display context Command: chgrp - change group Command: chmem - change memory allocation Command: chmod - change access mode for files Command: chown - change owner Command: clr - clear the screen Command: cmp - compare two files Command: comm - print lines common to two sorted files Command: compress - compress a file using modified Lempel-Ziv coding Command: cp - copy file Command: cpdir - copy a directory and its subdirectories Command: crc - print the checksum of the file data Command: cron - clock daemon Command: date - print or set the date and time Command: dd - disk dumper Command: de - disk editor Command: df - report on free disk space and i-nodes Command: diff - print differences between two files Command: dis88 - disassembler Command: diskcheck - check a disk for bad sectors Command: dosdir - list an MS-DOS diskette directory Command: dosread - read a file from an MS-DOS diskette Command: doswrite - write a file onto an MS-DOS diskette Command: du - print disk usage Command: echo - print the arguments Command: ed - editor Command: elle - ELLE Looks Like Emacs Command: expand - expand tabs to spaces Command: expr - evaluate experession Command: factor - factor an integer less than 2**31 Command: fdisk - partition a hard disk Command: fgrep - fast grep Command: file - make a guess as to a file's type based on contents Command: find - find files meeting a given condition Command: fix - generate new file from old one and diff listing Command: fold - fold long lines Command: fortune - print a fortune Command: from - input half of a connection Command: fsck - perform file system consistency check Command: getlf - wait until a line has been typed Command: grep - search a file for lines containing a given pattern Command: gres - grep and substitute Command: head - print the first few lines of a file Command: help - give help about a command Command: write - write a message to a terminal Command: ic - integer calculator Command: inodes - print i-node information Command: kill - send a signal to a process Command: last - display recent on-line session records Command: leave - warn when it is time to go home Command: libpack - pack an ASCII assembly code file Command: libupack - convert a packed assembly code file to ASCII Command: ln - create a link to a file Command: login - log into the computer Command: look - look up words in dictionary Command: lorder - compute the order for library modules Command: lpr - copy a file to the line printer Command: ls - list the contents of a directory Command: mail - send and receive electronic mail Command: make - a program for maintaining large programs Command: master - control the creation of shervers Command: mined - MINIX editor Command: mkdir - make a directory Command: mkfs - make a file system Command: mknod - create a special file Command: more - pager Command: mount - mount a file system Command: mv - move or rename a file Command: nm - print name list Command: od - octal dump Command: passwd - change a login password Command: paste - paste multiple files together Command: patch - patches up a file from the original and a diff Command: pr - print a file Command: prep - prepare a text file for statistical analysis Command: printenv - print out the current environment Command: pwd - print working directory Command: rcp - remote copy Command: readall - read a device quickly to check for bad blocks Command: readclock - read the AT's real time clock Command: readfs - read a MINIX file system Command: rev - reverse the characters on each line of a file Command: rm - remove a file Command: rmdir - remove a directory Command: roff - text formatter Command: rsh - remote shell for networking Command: sed - stream editor Command: sh - shell Command: shar - shell archiver Command: sherver - shell server Command: size - print text, data, and bss size of a program Command: sleep - suspend execution for a given number of seconds Command: sort - sort a file of ASCII lines Command: spell - print all words in a file not present in the dictionary Command: split - split a large file into several smaller files Command: strings - print all the strings in a binary file Command: strip - remove symbol table from executable file Command: stty - set terminal parameters Command: su - temporarily log in as super-user or another user Command: sum - compute the checksum and block count of a file Command: sync - flush the cache to disk Command: tail - print the last few lines of a file Command: tar - tape archiver Command: tee - divert standard input to a file Command: term - turn PC into a dumb terminal Command: termcap - print the current termcap entry Command: time - report how long a command takes Command: to - output half of a connection Command: touch - update a file's time of last modification Command: tr - translate character codes Command: traverse - print directory tree under the named directory Command: treecmp - recursively list differences in two directory trees Command: true - exit with the value true Command: tset - set the $TERM variable Command: tsort - topological sort Command: ttt - tic tac toe Command: tty - print the device name of this tty Command: umount - unmount a mounted file system Command: uniq - delete consecutive identical lines in a file Command: update - periodically write the buffer cache to disk Command: users - list the logged-in users Command: uudecode - decode a binary file encoded with uuencode Command: uuencode - encode a binary file to ASCII (e.g., for mailing) Command: vol - split standard input into diskette-sized volumes Command: wc - count characters, words, and lines in a file Command: whereis - examine system directories for a given file Command: which - examine $PATH to see which file will be executed Command: who - print list of currently logged in users Command: whoami - print current user name Command: write - send a message to a logged-in user