This is the port of yamm 2.4 to Linux O.S.

To port yamm i've started to find out the members of the various structures
used by yamm to get from HP-UX the system infos.
I have defined these structures in fakestat.h
Second i've ported the source files to Linux.
Third i've renamed the original pstat.c file to pstat.c.HPUX and i've created
a pstat.c.linux, that implements all the functions in there (PS_...).
The only machine-dependant code is in pstat.c.* files.
If you want port yamm to new OSs you must port the source files to that OS,
then you must write a new pstat.c.<OS>, that implement the (PS_...) functions,
then you must edit the Makefile.std and Makefile.end.in to add your <OS>
TARGETSYS, then ... it's so simple, right ? :)


* Sun Jun 19 11:28:52 MET DST 1994 *

Here some better hints:

- Copy pstat.c.skeleton to pstat.c.OS where OS is your Operating System
- Edit Makefile* to add the new target (DEFINES, LIBS, etc etc)
- Edit pstat.c.OS and fill all the functions you find there. They are the
  front-end of yamm to the system. You must find a way to fill all the data
  structures you find in fakestat.h
- Edit signals.c to add the signals of your system (if not yet present)
- Look at curses.c if you have problems with curses and echo(), redefine the
  GETSTR macro to something working on your system
- Now it is likely you are able to compile the sources and if not, do something!
  Do something to compile it!! :)
- Look everywhere whenever you find warnings and errors to eliminate them.
- When you are not able to fill a field, look at the other sources and try
  to eliminate all the references to the unfilled field (e.g. do not allow yamm
  print out as information a wrong value)
- Now you are ready to do the hard work: you must find out all the code that
  work on the other machines and don't work on your, the classic bugs that
  run all around the new code you have wrote, and all the incompatibilities.

	- Riccardo -
E-mail: riccardo@cdc8g5.cdc.polimi.it
