[comp.sys.next] random 2.0 notes ...

madler@owl.caltech.edu (Mark Adler) (02/04/91)

More notes on getting my 040 with 2.0 up and happy ...

- Install_TeX added about 11M to the hard disk.  I deleted the compressed TeX,
  /usr/tex/TeXdist.tar.Z after installation, and that freed up about 7M.
  Doing this, the net effect of installing TeX was to take about 4M of space.

- To get Monitor (the indispensible performance monitor written by Roy J.
  Mongiovi) running, I did the following:
  1. Changed the occurences of "vmunix" to "mach" in Monitor.m.
  2. Changed the occurences of "streams/error.h" to "objc/error.h", and
     "sys/assert.h" to "assert.h" in Makefile.dependencies.
  3. Added "#define LSCALE 1000" to Monitor.m.
  4. Did "make".  Did "strip Monitor".
  5. Became root, created /LocalApps, moved Monitor there.  Did "chmod g+s
     Monitor" and "chgrp kmem Monitor".  Exited root.
  6. Ran Monitor--it works!

- To get kermit (version 5A(163)) running, I:
  1. Got the source via anonymous from watsun.cc.columbia.edu in kermit/sw.
     The files to get are ckc*.[cwh], cku*.[ch], ckwart.c, and ckuker.mak.
  2. Changed "Mach 1.0" to "Mach 2.0" in ckuver.h (purely cosmetic).
  3. Copied ckuker.mak to makefile, added "-0" to the compile options for the
     NeXT in makefile.
  4. Did "make next" and "strip wermit".
  5. Became root, created /usr/local/bin, moved wermit to /usr/local/bin/kermit.
     Did "chown uucp kermit" and "chmod u+s kermit" to allow access to the uucp
     owned devices /dev/cu*.  Exited root.

- I added the include files to Librarian as follows (I find this enormously
  handy when programming in C):
  1. Extracted the .h icon from Edit using:
  	segedit /NextApps/Edit -extract __TIFF hfile.tiff hfile.tiff
  2. Became root, moved hfile.tiff to /usr/include/.dir.tiff (cosmetic).
  3. Created the directory .index in /usr/include, did "chmod a+w .index" so
     I could use Librarian from me to make the index.  Exited root.
  4. Added /usr/include to Librarian, renamed it "C Header Files", and created
     the index (select Target, Index ..., Create Index).

Mark Adler
madler@pooh.caltech.edu