[comp.os.minix] help.c

mjs@cbnewsl.ATT.COM (Mike Scheutzow) (04/04/89)

It only took 7 business days to get my upgrade to PC MINIX 1.3: P-H
did a good job.

I decided to upgrade  a little at a time, so the first thing I did is
install the 'help' program, and promptly ran into a few problems.   

    1.  When adding entries to the helpfile, it doesn't like tabs in the
        '# cmd...' lines.  These cause the index routine to infinitely loop
        while writing to a file.  Not pretty.

    If you compile with the 1.2 library:
    2.  Change the fputs() to fprintf() or the buffer doesn't get 
        flushed with some manual entries.
    3.  Define fseek() to return a long; the compiler assumes int and
        sign-extention does horrible things to offsets greater than
        (or equal to) 32K.  (v1.3 stdio.h defines this for us)

Mike S.
att!cbnewsl!mjs