[comp.unix.i386] u386mon

fts@fts1.uucp (Fountain Technical Services) (06/29/90)

   I've spend a bit of time porting 'u386mon' from SCO to
Interactive Unix.
   I had a couple of problems, most of them either solved
or kludged:
  a) ICS defines a bunch of 'u*' types, but defines 'unchar'...
I guess SCO defines 'u_char' -- a define took care of that.

  b) sys/bootinfo.h must differ a bit:
   Missing from Interactive are:
     defines for: 'B_MEM_DOWN', but I guessed that this served
    the same purpose as B_MEM_BOOTSTRAP.
	B_MEM_RSRVD: ifdef'd out.
	B_MEM_KBSS:  ditto.

     the 'bootmem' structure does not seem to have the members
   'bootmem' and 'extmem'. [Are these totals?] I ifdef'd and
   put -1 in.

  c) nlsym couldn't find the symbols:
     'CMask', 'diskinfo', 'mfmap' and 'mfmax'
    I removed them from the list and renumbered the 'Nindex_' stuff
    in nlsym.h. It doesn't appear that they were used. (Unless the
    list is used also used to update the screen, I haven't checked
    that possiblity out yet.)

   I accidentally zapped one of my original archives, so I can't
really send a diff out. (What program _IS_ used to build the
endless patches that appear in various places? The simple diff
can be built by /bin/diff, but the context diffs?)