Installing the pty/select package:

0.  The patches are for 1.5.10 MINIX. They are tested on PC_MINIX and
    MINIX_386. It shouldn't conflict with MINI-X GRAPHICS, but the
    complete virtual console patches must be removed (you don't need
    this anymore).

1.  Apply the patches include.cdiff to the directory /usr/include
    (patch < include.cdiff),
    minix.cdiff to /usr/include/minix,
    sys.cdiff	to /usr/include/sys,
    
2.  Apply the patches lib/ioctl.c.cd to lib/other/ioctl.c, add lib/select.c
    to lib/other/ and add lib/getpgrp.c and lib/setpgrp.c to lib/posix/.
    compile them and add or replace there objects to libc.a.

3.  Apply then patches kernel.cdiff, mm cdiff and fs.cdiff to the kernel,
    mm and fs. Modify the fs/Makefile to compile and link the new file
    select.c (add it to the list `obj', append fs_makef.add to Makefile).
    
4.  If you use MINIX_386:
    change the file kernel/table.c and set the value of TTY_STACK to 
    (2*SMALL_STACK).
    If you have installed MINI-X then your kernel text size might grow
    above 64k. Therefore change the Makefile that longlib.a will be
    linked directly after cstart.o and not after the 64k limit.

5.  Install the new devices to /dev with make_pty.
    
6.  Patch the recently posted ps 1.6 with ps1.6.c.cd

7.  Build and start the new kernel.

8.  Recompile more and elvis to make use of the TIOCGWINSZ function.

9.  Compile wiwi.c and test it.

