home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / misc / volume1 / 8711 / 3 / ReadMe < prev    next >
Text File  |  1990-07-13  |  3KB  |  56 lines

  1.  
  2. ReadMe for startmgr and newmgr
  3.  
  4. These two programs implement a very minimal replacement for smgr and wmgr.
  5. They don't do the cron stuff; use cron for that.  They don't do mail, and I
  6. don't care, because I don't use /bin/mail anyway.  Likewise, they know
  7. nothing about calendars or memos.  Additionally, the wmgr function doesn't
  8. bring up a menu; it just switches you between windows.
  9.  
  10. What startmgr does is start newmgr.  It starts it in a window across the
  11. top of the screen, in the places where the Phone Manager, the Status Manager
  12. and the Window Manager live (I don't use the PM either...).  It then returns,
  13. so all you need to do is startmgr.  It probably can be turned into a fairly
  14. general process starter, but I don't have the time, what with all of the
  15. stuff that I've got piled up to look at.
  16.  
  17. Newmgr is just a forever loop that displays some status information to
  18. stdout and peeks at the Suspend and Resume keys.  You could run it off of the
  19. command line, but it's not very exciting and there's no way to win.  Feel free
  20. to hack it; I just put up what I could think of that's interesting to me.
  21. Load averages would be nice, but I couldn't find any obvious hooks in /unix
  22. for that.
  23.  
  24. Compiling:  all I do is type "make startmgr" and "make newmgr".  Make
  25. has default rules for *.c files, after all.  Stripping wouldn't hurt.
  26.  
  27. How to use:  startmgr goes in /etc/daemons and newmgr goes into your
  28. local executable directory (change a #define in startmgr if you don't
  29. use /usr/local).  You've then either got to change /etc/rc (so it doesn't
  30. start smgr,wmgr and ph) or put a script in /etc/daemons to kill them off.
  31. If you don't know about /etc/rc and /etc/daemons, maybe you shouldn't
  32. be doing this... :-)
  33.  
  34. Optionally, you *can* run startmgr by hand; I did for testing.  The only
  35. thing to note here is that your current window winds up being the one
  36. that startmgr creates for the status line; I couldn't find a way to say,
  37. "make the last window the current one."; or at least, one that I could get
  38. to work in 5 minutes...  To get back to your normal window, just use
  39. Suspend/Resume.
  40.  
  41. Known bugs:  Yes, one.  Every once in a while, like if you log out *just* as
  42. the display is updating, it gets confused as to what window you're really in.
  43. It has even been known to display "w-1" (who me, check for errors on a system
  44. call?).  Other than that, I don't know of any, but I haven't pushed it too
  45. hard.
  46.  
  47. Last note:  this stuff is copyrighted with free redistribution permitted.
  48. I don't really think that this is the sort of thing that needs or warrants
  49. scads of support, so I'm not promising to do so; however, I would like to
  50. see any changes that anyone makes.
  51.  
  52. Comments welcome, as long as they are other than, "What kind of idiot
  53. runs without smgr, wmgr and ph?"
  54.  
  55.      \scott
  56.