home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1992 March / Source_Code_CD-ROM_Walnut_Creek_March_1992.iso / usenet / altsrcs / 2 / 2118 < prev    next >
Internet Message Format  |  1990-12-28  |  33KB

  1. From: robert@olsen.UUCP (Robert Ward)
  2. Newsgroups: alt.sources
  3. Subject: SPS for SunOS4.1 and DEC 3100's - Shar 1 of 3
  4. Message-ID: <199@frey.UUCP>
  5. Date: 19 Nov 90 15:41:53 GMT
  6.  
  7.  
  8. #!/bin/sh
  9. #
  10. # This is a shar (shell archive) file.
  11. # In order to extract the contents of this archive, remove everything
  12. # above the "#!/bin/sh" line.  Then execute the remaining file with
  13. # /bin/sh.  The following file(s) will be extracted:
  14. #    BUG-libkvm
  15. #    Makefile.4.1
  16. #    Makefile.4.2
  17. #    Makefile.4.3
  18. #    Makefile.4.3+NFS
  19. #    Makefile.dec3100
  20. #    Makefile.sun.2.0
  21. #    Makefile.sun.3.0
  22. #    Makefile.sun.3.2
  23. #    Makefile.sun.4.0
  24. #    Makefile.sun.4.0+386i
  25. #    Makefile.sun.4.1
  26. #    Makefile.sun4.3.2
  27. #    Makefile.ultrix.2.0
  28. #    Makefile.ultrix.3.0
  29. #    README
  30. #    RELEASENOTES
  31. #
  32. #
  33. # This archive was generated on Tue Sep 11 15:55:19 MET DST 1990
  34. #
  35. #
  36. PATH=/bin:/usr/bin:/usr/ucb ; export PATH
  37. if [ -f 'BUG-libkvm' -a "${1}" != "-c" ] ; then
  38.     echo shar: Won\'t overwrite existing file "BUG-libkvm"
  39.     exit 2
  40. fi
  41. echo x - BUG-libkvm
  42. sed -e 's/^X//' > BUG-libkvm << '---END-OF-BUG-libkvm---'
  43. XThere is a bug in kvm_getcmd(3) which occurs when the arguments for a command
  44. Xcontain an '=', or if an '=' in the environment is removed.  In user space,
  45. Xcommand arguments are laid out like this:
  46. X
  47. Xa r g 0 '\0' a r g 1 '\0' ... e n v 1 = e n v '\0' e n v 2 = e n v ...
  48. X
  49. XThe only way to tell where the arguments end and the environment begins is to
  50. Xlook for arguments which contain '=', or environment strings which don't.  Most
  51. Xprograms used to use the first approach.  The libkvm library uses the latter,
  52. Xand gets it wrong if it sees a '=' in any strings before the last string
  53. Xwhich doesn't have one.  The korn shell nulls out some '=' in it's environment,
  54. Xand if you have it, it's the most noticable tickler of this bug.  But even if
  55. Xyou don't, you can tickle it with "vi a=b c".
  56. X
  57. XHere's the fix.  You could probably patch the binary to ignore the
  58. X"&& (argd.cnt == 0)" test, which will cause slightly incorrect results,
  59. Xbut ones a bit closer to the truth.  Just search for "\0=" in the
  60. Xlibrary, and look past it a bit.
  61. X
  62. X*** /tmp/,RCSt1a01687    Wed Sep 28 01:50:36 1988
  63. X--- kvmgetcmd.c    Mon Aug 29 23:23:43 1988
  64. X***************
  65. X*** 141,150 ****
  66. X              if (*cp == '=')
  67. X                  eqseen++;
  68. X              if (*cp-- == '\0') {
  69. X!                 if (eqseen && (argd.cnt == 0)) {
  70. X                      envd.cnt++;
  71. X                      envd.sp = Uvaddr(cp+2);
  72. X                      eqseen = 0;
  73. X                  } else {
  74. X                      argd.cnt++;
  75. X                  }
  76. X--- 141,154 ----
  77. X              if (*cp == '=')
  78. X                  eqseen++;
  79. X              if (*cp-- == '\0') {
  80. X!                 if (eqseen) {
  81. X                      envd.cnt++;
  82. X                      envd.sp = Uvaddr(cp+2);
  83. X                      eqseen = 0;
  84. X+                     if (argd.cnt != 0) {
  85. X+                         envd.cnt += argd.cnt;
  86. X+                         argd.cnt = 0;
  87. X+                     }
  88. X                  } else {
  89. X                      argd.cnt++;
  90. X                  }
  91. ---END-OF-BUG-libkvm---
  92. LEN=`wc -c < BUG-libkvm`
  93. if [ $LEN !=  1656 ] ; then
  94.     echo shar: File "BUG-libkvm" was $LEN, should have been 1656 bytes
  95. fi
  96. if [ -f 'Makefile.4.1' -a "${1}" != "-c" ] ; then
  97.     echo shar: Won\'t overwrite existing file "Makefile.4.1"
  98.     exit 2
  99. fi
  100. echo x - Makefile.4.1
  101. sed -e 's/^X//' > Makefile.4.1 << '---END-OF-Makefile.4.1---'
  102. X# Makefile for SPS (4.1BSD UNIX Version)
  103. X
  104. XPROG    =       sps
  105. XOBJS    =       filecount.o findtty.o flagdecode.o flagsetup.o \
  106. X        getcmd.o getupage.o globals1.o globals2.o hashuid.o \
  107. X        initialise.o initsymbols.o inittty.o main.o mktree.o \
  108. X        needed.o openfiles.o percentmem.o prcmd.o prcpu.o \
  109. X        prheader.o printall.o printproc.o prsummary.o readstatus.o \
  110. X        selectproc.o selecttty.o termwidth.o ttystatus.o waitingfor.o
  111. X
  112. XINCS    =       sps.h
  113. XLIBS    =       -ltermlib
  114. XCFLAGS  =       -I/usr/src/sys -DCHAOS
  115. X
  116. Xall:            $(PROG)
  117. X.c.o:
  118. X        cc $(CFLAGS) -c -O -R $<
  119. Xglobals1.o waitingfor.o:
  120. X        cc $(CFLAGS) -c -O $<
  121. X
  122. X$(OBJS):        $(INCS)
  123. X
  124. X$(PROG):        $(OBJS)
  125. X        cc -o $@ $(OBJS) $(LIBS)
  126. X
  127. Xinstall:        $(PROG)
  128. X        strip $(PROG)
  129. X        mv $(PROG) /bin/$(PROG)
  130. X        /etc/chown root /bin/$(PROG)
  131. X        chmod 4711 /bin/$(PROG)
  132. X
  133. Xlint:
  134. X        lint -x -b $(CFLAGS) *.c
  135. Xclean:
  136. X        rm -f $(OBJS) $(PROG)
  137. ---END-OF-Makefile.4.1---
  138. LEN=`wc -c < Makefile.4.1`
  139. if [ $LEN !=  882 ] ; then
  140.     echo shar: File "Makefile.4.1" was $LEN, should have been 882 bytes
  141. fi
  142. if [ -f 'Makefile.4.2' -a "${1}" != "-c" ] ; then
  143.     echo shar: Won\'t overwrite existing file "Makefile.4.2"
  144.     exit 2
  145. fi
  146. echo x - Makefile.4.2
  147. sed -e 's/^X//' > Makefile.4.2 << '---END-OF-Makefile.4.2---'
  148. X# Makefile for SPS (Vax 4.2BSD and Ultrix1.2 UNIX Version)
  149. X
  150. XPROG    =       sps
  151. XOBJS    =       filecount.o findtty.o flagdecode.o flagsetup.o \
  152. X        getcmd.o getupage.o globals1.o globals2.o hashuid.o \
  153. X        initialise.o initsymbols.o inittty.o main.o mktree.o \
  154. X        needed.o openfiles.o percentmem.o prcmd.o prcpu.o \
  155. X        prheader.o printall.o printproc.o prsummary.o readstatus.o \
  156. X        selectproc.o selecttty.o termwidth.o ttystatus.o waitingfor.o
  157. XINCS    =       sps.h
  158. XCC      =       cc
  159. XCFLAGS  =       -DBSD42 -I/sys
  160. XLIBS    =       -ltermlib
  161. XDIRINSTALL =    /bin
  162. X
  163. Xall:            $(PROG)
  164. X.c.o:
  165. X        $(CC) $(CFLAGS) -c -O -R $<
  166. X    
  167. Xglobals1.o waitingfor.o:
  168. X        $(CC) $(CFLAGS) -c -O $<
  169. X
  170. X$(OBJS):        $(INCS)
  171. X
  172. X$(PROG):        $(OBJS)
  173. X        $(CC) -o $@ $(OBJS) $(LIBS)
  174. X
  175. Xinstall:        $(PROG)
  176. X        strip $(PROG)
  177. X        mv $(PROG) $(DIRINSTALL)/$(PROG)
  178. X        /etc/chown root $(DIRINSTALL)/$(PROG)
  179. X        chgrp kmem $(DIRINSTALL)/$(PROG)
  180. X        chmod 2755 $(DIRINSTALL)/$(PROG)
  181. X
  182. Xlint:
  183. X        lint -x -b $(CFLAGS) *.c
  184. Xclean:
  185. X        rm -f $(OBJS) $(PROG)
  186. ---END-OF-Makefile.4.2---
  187. LEN=`wc -c < Makefile.4.2`
  188. if [ $LEN !=  977 ] ; then
  189.     echo shar: File "Makefile.4.2" was $LEN, should have been 977 bytes
  190. fi
  191. if [ -f 'Makefile.4.3' -a "${1}" != "-c" ] ; then
  192.     echo shar: Won\'t overwrite existing file "Makefile.4.3"
  193.     exit 2
  194. fi
  195. echo x - Makefile.4.3
  196. sed -e 's/^X//' > Makefile.4.3 << '---END-OF-Makefile.4.3---'
  197. X# Makefile for SPS (Vax 4.3BSD Version)
  198. X
  199. XPROG    =       sps
  200. XOBJS    =       filecount.o findtty.o flagdecode.o flagsetup.o \
  201. X        getcmd.o getupage.o globals1.o globals2.o hashuid.o \
  202. X        initialise.o initsymbols.o inittty.o main.o mktree.o \
  203. X        needed.o openfiles.o percentmem.o prcmd.o prcpu.o \
  204. X        prheader.o printall.o printproc.o prsummary.o readstatus.o \
  205. X        selectproc.o selecttty.o termwidth.o ttystatus.o waitingfor.o
  206. XINCS    =       sps.h
  207. XCC      =       cc
  208. XCFLAGS  =       -DBSD42 -DBSD43 -I/sys
  209. XLIBS    =       -ltermlib
  210. XDIRINSTALL =    /bin
  211. X
  212. Xall:            $(PROG)
  213. X.c.o:
  214. X        $(CC) $(CFLAGS) -c -O -R $<
  215. X    
  216. Xglobals1.o waitingfor.o:
  217. X        $(CC) $(CFLAGS) -c -O $<
  218. X
  219. X$(OBJS):        $(INCS)
  220. X
  221. X$(PROG):        $(OBJS)
  222. X        $(CC) -o $@ $(OBJS) $(LIBS)
  223. X
  224. Xinstall:        $(PROG)
  225. X        strip $(PROG)
  226. X        mv $(PROG) $(DIRINSTALL)/$(PROG)
  227. X        /etc/chown root $(DIRINSTALL)/$(PROG)
  228. X        chgrp kmem $(DIRINSTALL)/$(PROG)
  229. X        chmod 2755 $(DIRINSTALL)/$(PROG)
  230. X
  231. Xlint:
  232. X        lint -x -b $(CFLAGS) *.c
  233. Xclean:
  234. X        rm -f $(OBJS) $(PROG)
  235. ---END-OF-Makefile.4.3---
  236. LEN=`wc -c < Makefile.4.3`
  237. if [ $LEN !=  966 ] ; then
  238.     echo shar: File "Makefile.4.3" was $LEN, should have been 966 bytes
  239. fi
  240. if [ -f 'Makefile.4.3+NFS' -a "${1}" != "-c" ] ; then
  241.     echo shar: Won\'t overwrite existing file "Makefile.4.3+NFS"
  242.     exit 2
  243. fi
  244. echo x - Makefile.4.3+NFS
  245. sed -e 's/^X//' > Makefile.4.3+NFS << '---END-OF-Makefile.4.3+NFS---'
  246. X# Makefile for SPS (Vax 4.3BSD+NFS Version)
  247. X
  248. XPROG    =       sps
  249. XOBJS    =       filecount.o findtty.o flagdecode.o flagsetup.o \
  250. X        getcmd.o getupage.o globals1.o globals2.o hashuid.o \
  251. X        initialise.o initsymbols.o inittty.o main.o mktree.o \
  252. X        needed.o openfiles.o percentmem.o prcmd.o prcpu.o \
  253. X        prheader.o printall.o printproc.o prsummary.o readstatus.o \
  254. X        selectproc.o selecttty.o termwidth.o ttystatus.o waitingfor.o
  255. XINCS    =       sps.h
  256. XCC      =       cc
  257. XCFLAGS  =       -DBSD42 -DBSD43 -DNFS -I/sys
  258. XLIBS    =       -ltermlib
  259. XDIRINSTALL =    /bin
  260. X
  261. Xall:            $(PROG)
  262. X.c.o:
  263. X        $(CC) $(CFLAGS) -c -O -R $<
  264. X    
  265. Xglobals1.o waitingfor.o:
  266. X        $(CC) $(CFLAGS) -c -O $<
  267. X
  268. X$(OBJS):        $(INCS)
  269. X
  270. X$(PROG):        $(OBJS)
  271. X        $(CC) -o $@ $(OBJS) $(LIBS)
  272. X
  273. Xinstall:        $(PROG)
  274. X        strip $(PROG)
  275. X        mv $(PROG) $(DIRINSTALL)/$(PROG)
  276. X        /etc/chown root $(DIRINSTALL)/$(PROG)
  277. X        chgrp kmem $(DIRINSTALL)/$(PROG)
  278. X        chmod 2755 $(DIRINSTALL)/$(PROG)
  279. X
  280. Xlint:
  281. X        lint -x -b $(CFLAGS) *.c
  282. Xclean:
  283. X        rm -f $(OBJS) $(PROG)
  284. ---END-OF-Makefile.4.3+NFS---
  285. LEN=`wc -c < Makefile.4.3+NFS`
  286. if [ $LEN !=  976 ] ; then
  287.     echo shar: File "Makefile.4.3+NFS" was $LEN, should have been 976 bytes
  288. fi
  289. if [ -f 'Makefile.dec3100' -a "${1}" != "-c" ] ; then
  290.     echo shar: Won\'t overwrite existing file "Makefile.dec3100"
  291.     exit 2
  292. fi
  293. echo x - Makefile.dec3100
  294. sed -e 's/^X//' > Makefile.dec3100 << '---END-OF-Makefile.dec3100---'
  295. X# Makefile for SPS (Ultrix 2.0 UNIX Version)
  296. X
  297. XPROG    =       sps
  298. XOBJS    =       filecount.o findtty.o flagdecode.o flagsetup.o \
  299. X        getcmd.o getupage.o globals1.o globals2.o hashuid.o \
  300. X        initialise.o initsymbols.o inittty.o main.o mktree.o \
  301. X        needed.o openfiles.o percentmem.o prcmd.o prcpu.o \
  302. X        prheader.o printall.o printproc.o prsummary.o readstatus.o \
  303. X        selectproc.o selecttty.o termwidth.o ttystatus.o waitingfor.o
  304. XINCS    =       sps.h
  305. XCC      =       cc
  306. XCFLAGS  =       -DBSD42 -DULTRIX20 -DULTRIX30 -DVPRINTF -DDEC3100 -I/sys
  307. XLIBS    =       -ltermlib
  308. XDIRINSTALL =    /bin
  309. X
  310. Xall:            $(PROG)
  311. X.c.o:
  312. X        $(CC) $(CFLAGS) -c -g -R $<
  313. X    
  314. Xglobals1.o waitingfor.o:
  315. X        $(CC) $(CFLAGS) -c -g $<
  316. X
  317. X$(OBJS):        $(INCS)
  318. X
  319. X$(PROG):        $(OBJS)
  320. X        $(CC) -o $@ $(OBJS) $(LIBS)
  321. X
  322. Xinstall:        $(PROG)
  323. X        strip $(PROG)
  324. X        mv $(PROG) $(DIRINSTALL)/$(PROG)
  325. X        /etc/chown root $(DIRINSTALL)/$(PROG)
  326. X        chgrp kmem $(DIRINSTALL)/$(PROG)
  327. X        chmod 2755 $(DIRINSTALL)/$(PROG)
  328. X
  329. Xlint:
  330. X        lint -x -b $(CFLAGS) *.c
  331. Xclean:
  332. X        rm -f $(OBJS) $(PROG)
  333. ---END-OF-Makefile.dec3100---
  334. LEN=`wc -c < Makefile.dec3100`
  335. if [ $LEN !=  1005 ] ; then
  336.     echo shar: File "Makefile.dec3100" was $LEN, should have been 1005 bytes
  337. fi
  338. if [ -f 'Makefile.sun.2.0' -a "${1}" != "-c" ] ; then
  339.     echo shar: Won\'t overwrite existing file "Makefile.sun.2.0"
  340.     exit 2
  341. fi
  342. echo x - Makefile.sun.2.0
  343. sed -e 's/^X//' > Makefile.sun.2.0 << '---END-OF-Makefile.sun.2.0---'
  344. X# Makefile for SPS (Sun-2, Sun UNIX 4.2 Release 2.x Version)
  345. X
  346. XPROG    =       sps
  347. XOBJS    =       filecount.o findtty.o flagdecode.o flagsetup.o \
  348. X        getcmd.o getupage.o globals1.o globals2.o hashuid.o \
  349. X        initialise.o initsymbols.o inittty.o main.o mktree.o \
  350. X        needed.o openfiles.o percentmem.o prcmd.o prcpu.o \
  351. X        prheader.o printall.o printproc.o prsummary.o readstatus.o \
  352. X        selectproc.o selecttty.o termwidth.o ttystatus.o waitingfor.o
  353. XINCS    =       sps.h
  354. XCC      =       cc
  355. XCFLAGS  =       -DSUN -DBSD42 -DNFS -DNOQUOTA -I/sys
  356. XLIBS    =       -ltermlib
  357. XDIRINSTALL    = /bin
  358. X
  359. Xall:            $(PROG)
  360. X.c.o:
  361. X        $(CC) $(CFLAGS) -c -O -R $<
  362. X    
  363. Xglobals1.o waitingfor.o:
  364. X        $(CC) $(CFLAGS) -c -O $<
  365. X
  366. X$(OBJS):        $(INCS)
  367. X
  368. X$(PROG):        $(OBJS)
  369. X        $(CC) -o $@ $(OBJS) $(LIBS)
  370. X
  371. Xinstall:        $(PROG)
  372. X        strip $(PROG)
  373. X        mv $(PROG) $(DIRINSTALL)/$(PROG)
  374. X        /etc/chown root $(DIRINSTALL)/$(PROG)
  375. X        chgrp kmem $(DIRINSTALL)/$(PROG)
  376. X        chmod 2755 $(DIRINSTALL)/$(PROG)
  377. X
  378. Xlint:
  379. X        lint -x -b $(CFLAGS) *.c $(LIBS)
  380. Xclean:
  381. X        rm -f $(OBJS) $(PROG)
  382. ---END-OF-Makefile.sun.2.0---
  383. LEN=`wc -c < Makefile.sun.2.0`
  384. if [ $LEN !=  1009 ] ; then
  385.     echo shar: File "Makefile.sun.2.0" was $LEN, should have been 1009 bytes
  386. fi
  387. if [ -f 'Makefile.sun.3.0' -a "${1}" != "-c" ] ; then
  388.     echo shar: Won\'t overwrite existing file "Makefile.sun.3.0"
  389.     exit 2
  390. fi
  391. echo x - Makefile.sun.3.0
  392. sed -e 's/^X//' > Makefile.sun.3.0 << '---END-OF-Makefile.sun.3.0---'
  393. X# Makefile for SPS (Sun-2 and Sun-3, Sun UNIX 4.2 Release 3.0 Version)
  394. X
  395. XPROG    =       sps
  396. XOBJS    =       filecount.o findtty.o flagdecode.o flagsetup.o \
  397. X        getcmd.o getupage.o globals1.o globals2.o hashuid.o \
  398. X        initialise.o initsymbols.o inittty.o main.o mktree.o \
  399. X        needed.o openfiles.o percentmem.o prcmd.o prcpu.o \
  400. X        prheader.o printall.o printproc.o prsummary.o readstatus.o \
  401. X        selectproc.o selecttty.o termwidth.o ttystatus.o waitingfor.o
  402. XINCS    =       sps.h
  403. XCC      =       cc
  404. XCFLAGS  =       -DSUN -DBSD42 -DNFS -I/sys
  405. XLIBS    =       -ltermlib
  406. XDIRINSTALL    = /bin
  407. X
  408. Xall:            $(PROG)
  409. X.c.o:
  410. X        $(CC) $(CFLAGS) -c -O -R $<
  411. X    
  412. Xglobals1.o waitingfor.o:
  413. X        $(CC) $(CFLAGS) -c -O $<
  414. X
  415. X$(OBJS):        $(INCS)
  416. X
  417. X$(PROG):        $(OBJS)
  418. X        $(CC) -o $@ $(OBJS) $(LIBS)
  419. X
  420. Xinstall:        $(PROG)
  421. X        strip $(PROG)
  422. X        mv $(PROG) $(DIRINSTALL)/$(PROG)
  423. X        /etc/chown root $(DIRINSTALL)/$(PROG)
  424. X        chgrp kmem $(DIRINSTALL)/$(PROG)
  425. X        chmod 2755 $(DIRINSTALL)/$(PROG)
  426. X
  427. Xlint:
  428. X        lint -x -b $(CFLAGS) *.c $(LIBS)
  429. Xclean:
  430. X        rm -f $(OBJS) $(PROG)
  431. ---END-OF-Makefile.sun.3.0---
  432. LEN=`wc -c < Makefile.sun.3.0`
  433. if [ $LEN !=  1009 ] ; then
  434.     echo shar: File "Makefile.sun.3.0" was $LEN, should have been 1009 bytes
  435. fi
  436. if [ -f 'Makefile.sun.3.2' -a "${1}" != "-c" ] ; then
  437.     echo shar: Won\'t overwrite existing file "Makefile.sun.3.2"
  438.     exit 2
  439. fi
  440. echo x - Makefile.sun.3.2
  441. sed -e 's/^X//' > Makefile.sun.3.2 << '---END-OF-Makefile.sun.3.2---'
  442. X# Makefile for SPS (Sun-2 and Sun-3, Sun UNIX 4.2 Release 3.x Version)
  443. X
  444. XPROG    =       sps
  445. XOBJS    =       filecount.o findtty.o flagdecode.o flagsetup.o \
  446. X        getcmd.o getupage.o globals1.o globals2.o hashuid.o \
  447. X        initialise.o initsymbols.o inittty.o main.o mktree.o \
  448. X        needed.o openfiles.o percentmem.o prcmd.o prcpu.o \
  449. X        prheader.o printall.o printproc.o prsummary.o readstatus.o \
  450. X        selectproc.o selecttty.o termwidth.o ttystatus.o waitingfor.o
  451. XINCS    =       sps.h
  452. XCC      =       cc
  453. XCFLAGS  =       -DSUN -DBSD42 -DNFS -DVPRINTF -I/sys
  454. XLIBS    =       -ltermlib
  455. XDIRINSTALL    = /bin
  456. X
  457. Xall:            $(PROG)
  458. X.c.o:
  459. X        $(CC) $(CFLAGS) -c -O -R $<
  460. X    
  461. Xglobals1.o waitingfor.o:
  462. X        $(CC) $(CFLAGS) -c -O $<
  463. X
  464. X$(OBJS):        $(INCS)
  465. X
  466. X$(PROG):        $(OBJS)
  467. X        $(CC) -o $@ $(OBJS) $(LIBS)
  468. X
  469. Xinstall:        $(PROG)
  470. X        strip $(PROG)
  471. X        mv $(PROG) $(DIRINSTALL)/$(PROG)
  472. X        /etc/chown root $(DIRINSTALL)/$(PROG)
  473. X        chgrp kmem $(DIRINSTALL)/$(PROG)
  474. X        chmod 2755 $(DIRINSTALL)/$(PROG)
  475. X
  476. Xlint:
  477. X        lint -x -b $(CFLAGS) *.c $(LIBS)
  478. Xclean:
  479. X        rm -f $(OBJS) $(PROG)
  480. ---END-OF-Makefile.sun.3.2---
  481. LEN=`wc -c < Makefile.sun.3.2`
  482. if [ $LEN !=  1019 ] ; then
  483.     echo shar: File "Makefile.sun.3.2" was $LEN, should have been 1019 bytes
  484. fi
  485. if [ -f 'Makefile.sun.4.0' -a "${1}" != "-c" ] ; then
  486.     echo shar: Won\'t overwrite existing file "Makefile.sun.4.0"
  487.     exit 2
  488. fi
  489. echo x - Makefile.sun.4.0
  490. sed -e 's/^X//' > Makefile.sun.4.0 << '---END-OF-Makefile.sun.4.0---'
  491. X# Makefile for SPS (Sun-2, Sun-3 and Sun-4, SunOS 4.0 Version)
  492. X
  493. XPROG    =       sps
  494. XOBJS    =       filecount.o findtty.o flagdecode.o flagsetup.o \
  495. X        getcmd.o getupage.o globals1.o globals2.o hashuid.o \
  496. X        initialise.o initsymbols.o inittty.o main.o mktree.o \
  497. X        needed.o openfiles.o percentmem.o prcmd.o prcpu.o \
  498. X        prheader.o printall.o printproc.o prsummary.o readstatus.o \
  499. X        selectproc.o selecttty.o stream.o termwidth.o ttystatus.o \
  500. X        vmstat.o waitingfor.o
  501. XINCS    =       sps.h
  502. XCC      =       cc
  503. XCFLAGS  =       -DSUN -DBSD42 -DNFS -DVPRINTF -DKVM -DSUNOS40 -Isys
  504. XLIBS    =       -ltermlib -lkvm
  505. XDIRINSTALL    = /usr/kvm
  506. X
  507. Xall:            $(PROG)
  508. X.c.o:
  509. X        $(CC) $(CFLAGS) -c -O -R $<
  510. X    
  511. Xglobals1.o stream.o waitingfor.o:
  512. X        $(CC) $(CFLAGS) -c -O $<
  513. X
  514. X$(OBJS):        sys $(INCS)
  515. X
  516. Xsys:
  517. X        -mkdir sys
  518. X        -ln -s /sys/* sys
  519. X        -ln -s /sys/sys sys/h
  520. X
  521. X$(PROG):        $(OBJS)
  522. X        $(CC) -o $@ $(OBJS) $(LIBS)
  523. X
  524. Xinstall:        $(PROG)
  525. X        strip $(PROG)
  526. X        mv $(PROG) $(DIRINSTALL)/$(PROG)
  527. X        /etc/chown root $(DIRINSTALL)/$(PROG)
  528. X        chgrp kmem $(DIRINSTALL)/$(PROG)
  529. X        chmod 2755 $(DIRINSTALL)/$(PROG)
  530. X
  531. Xlint:
  532. X        lint -x -b $(CFLAGS) *.c $(LIBS)
  533. Xclean:
  534. X        rm -f $(OBJS) $(PROG)
  535. ---END-OF-Makefile.sun.4.0---
  536. LEN=`wc -c < Makefile.sun.4.0`
  537. if [ $LEN !=  1134 ] ; then
  538.     echo shar: File "Makefile.sun.4.0" was $LEN, should have been 1134 bytes
  539. fi
  540. if [ -f 'Makefile.sun.4.0+386i' -a "${1}" != "-c" ] ; then
  541.     echo shar: Won\'t overwrite existing file "Makefile.sun.4.0+386i"
  542.     exit 2
  543. fi
  544. echo x - Makefile.sun.4.0+386i
  545. sed -e 's/^X//' > Makefile.sun.4.0+386i << '---END-OF-Makefile.sun.4.0+386i---'
  546. X# Makefile for SPS (Sun-2, Sun-3 and Sun-4, SunOS 4.0 Version)
  547. X
  548. XPROG    =       sps
  549. XOBJS    =       filecount.o findtty.o flagdecode.o flagsetup.o \
  550. X        getcmd.o getupage.o globals1.o globals2.o hashuid.o \
  551. X        initialise.o initsymbols.o inittty.o main.o mktree.o \
  552. X        needed.o openfiles.o percentmem.o prcmd.o prcpu.o \
  553. X        prheader.o printall.o printproc.o prsummary.o readstatus.o \
  554. X        selectproc.o selecttty.o stream.o termwidth.o ttystatus.o \
  555. X        vmstat.o waitingfor.o
  556. XINCS    =       sps.h
  557. XCC      =       cc
  558. XCFLAGS  =       -DSUN -DBSD42 -DNFS -DVPRINTF -DKVM -DSUNOS40 -DSUN386I -Isys
  559. XLIBS    =       -ltermlib -lkvm
  560. XDIRINSTALL    = /usr/kvm
  561. X
  562. Xall:            $(PROG)
  563. X.c.o:
  564. X        $(CC) $(CFLAGS) -c -O -R $<
  565. X    
  566. Xglobals1.o stream.o waitingfor.o:
  567. X        $(CC) $(CFLAGS) -c -O $<
  568. X
  569. X$(OBJS):        sys $(INCS)
  570. X
  571. Xsys:
  572. X        -mkdir sys
  573. X        -ln -s /sys/* sys
  574. X        -ln -s /sys/sys sys/h
  575. X
  576. X$(PROG):        $(OBJS)
  577. X        $(CC) -o $@ $(OBJS) $(LIBS)
  578. X
  579. Xinstall:        $(PROG)
  580. X        strip $(PROG)
  581. X        mv $(PROG) $(DIRINSTALL)/$(PROG)
  582. X        /etc/chown root $(DIRINSTALL)/$(PROG)
  583. X        chgrp kmem $(DIRINSTALL)/$(PROG)
  584. X        chmod 2755 $(DIRINSTALL)/$(PROG)
  585. X
  586. Xlint:
  587. X        lint -x -b $(CFLAGS) *.c $(LIBS)
  588. Xclean:
  589. X        rm -f $(OBJS) $(PROG)
  590. ---END-OF-Makefile.sun.4.0+386i---
  591. LEN=`wc -c < Makefile.sun.4.0+386i`
  592. if [ $LEN !=  1144 ] ; then
  593.     echo shar: File "Makefile.sun.4.0+386i" was $LEN, should have been 1144 bytes
  594. fi
  595. if [ -f 'Makefile.sun.4.1' -a "${1}" != "-c" ] ; then
  596.     echo shar: Won\'t overwrite existing file "Makefile.sun.4.1"
  597.     exit 2
  598. fi
  599. echo x - Makefile.sun.4.1
  600. sed -e 's/^X//' > Makefile.sun.4.1 << '---END-OF-Makefile.sun.4.1---'
  601. X# Makefile for SPS (Sun-2, Sun-3 and Sun-4, SunOS 4.1 Version)
  602. X
  603. XPROG    =       sps
  604. XOBJS    =       filecount.o findtty.o flagdecode.o flagsetup.o \
  605. X        getcmd.o getupage.o globals1.o globals2.o hashuid.o \
  606. X        initialise.o initsymbols.o inittty.o main.o mktree.o \
  607. X        needed.o openfiles.o percentmem.o prcmd.o prcpu.o \
  608. X        prheader.o printall.o printproc.o prsummary.o readstatus.o \
  609. X        selectproc.o selecttty.o stream.o termwidth.o ttystatus.o \
  610. X        waitingfor.o
  611. XINCS    =       sps.h
  612. XCC      =       cc
  613. X# You'll need both "-DSUNOS40" and "-DSUNOS41" for SunOS 4.1
  614. XCFLAGS  =    -DSUN -DBSD42 -DNFS -DVPRINTF -DKVM -DSUNOS40 -DSUNOS41 -Isys
  615. XLIBS    =       -ltermlib -lkvm
  616. XDIRINSTALL    = /usr/kvm
  617. X
  618. Xall:            $(PROG)
  619. X.c.o:
  620. X        $(CC) $(CFLAGS) -c -O -R $<
  621. X
  622. Xglobals1.o stream.o waitingfor.o filecount.o:
  623. X        $(CC) $(CFLAGS) -c -O $<
  624. X
  625. X$(OBJS):        sys $(INCS)
  626. X
  627. Xsys:
  628. X        -mkdir sys
  629. X        -ln -s /sys/* sys
  630. X        -ln -s /sys/sys sys/h
  631. X
  632. X$(PROG):        $(OBJS)
  633. X        $(CC) -o $@ $(OBJS) $(LIBS)
  634. X
  635. Xinstall:        $(PROG)
  636. X        strip $(PROG)
  637. X        mv $(PROG) $(DIRINSTALL)/$(PROG)
  638. X        /etc/chown root $(DIRINSTALL)/$(PROG)
  639. X        chgrp kmem $(DIRINSTALL)/$(PROG)
  640. X        chmod 2755 $(DIRINSTALL)/$(PROG)
  641. X
  642. Xlint:
  643. X        lint -x -b $(CFLAGS) *.c $(LIBS)
  644. Xclean:
  645. X        rm -f $(OBJS) $(PROG)
  646. ---END-OF-Makefile.sun.4.1---
  647. LEN=`wc -c < Makefile.sun.4.1`
  648. if [ $LEN !=  1201 ] ; then
  649.     echo shar: File "Makefile.sun.4.1" was $LEN, should have been 1201 bytes
  650. fi
  651. if [ -f 'Makefile.sun4.3.2' -a "${1}" != "-c" ] ; then
  652.     echo shar: Won\'t overwrite existing file "Makefile.sun4.3.2"
  653.     exit 2
  654. fi
  655. echo x - Makefile.sun4.3.2
  656. sed -e 's/^X//' > Makefile.sun4.3.2 << '---END-OF-Makefile.sun4.3.2---'
  657. X# Makefile for SPS (Sun-4, SunOS Sys 4-3.2 Version)
  658. X
  659. XPROG    =       sps
  660. XOBJS    =       filecount.o findtty.o flagdecode.o flagsetup.o \
  661. X        getcmd.o getupage.o globals1.o globals2.o hashuid.o \
  662. X        initialise.o initsymbols.o inittty.o main.o mktree.o \
  663. X        needed.o openfiles.o percentmem.o prcmd.o prcpu.o \
  664. X        prheader.o printall.o printproc.o prsummary.o readstatus.o \
  665. X        selectproc.o selecttty.o termwidth.o ttystatus.o waitingfor.o
  666. XINCS    =       sps.h
  667. XCC      =       cc
  668. XCFLAGS  =       -DSUN -DBSD42 -DNFS -DVPRINTF -Isys
  669. XLIBS    =       -ltermlib
  670. XDIRINSTALL    = /bin
  671. X
  672. Xall:            $(PROG)
  673. X.c.o:
  674. X        $(CC) $(CFLAGS) -c -O -R $<
  675. X    
  676. Xglobals1.o waitingfor.o:
  677. X        $(CC) $(CFLAGS) -c -O $<
  678. X
  679. X$(OBJS):        sys $(INCS)
  680. X
  681. Xsys:
  682. X        -mkdir sys
  683. X        -ln -s /sys/* sys
  684. X        -ln -s /sys/sys sys/h
  685. X
  686. X$(PROG):        $(OBJS)
  687. X        $(CC) -o $@ $(OBJS) $(LIBS)
  688. X
  689. Xinstall:        $(PROG)
  690. X        strip $(PROG)
  691. X        mv $(PROG) $(DIRINSTALL)/$(PROG)
  692. X        /etc/chown root $(DIRINSTALL)/$(PROG)
  693. X        chgrp kmem $(DIRINSTALL)/$(PROG)
  694. X        chmod 2755 $(DIRINSTALL)/$(PROG)
  695. X
  696. Xlint:
  697. X        lint -x -b $(CFLAGS) *.c $(LIBS)
  698. Xclean:
  699. X        rm -f $(OBJS) $(PROG)
  700. ---END-OF-Makefile.sun4.3.2---
  701. LEN=`wc -c < Makefile.sun4.3.2`
  702. if [ $LEN !=  1066 ] ; then
  703.     echo shar: File "Makefile.sun4.3.2" was $LEN, should have been 1066 bytes
  704. fi
  705. if [ -f 'Makefile.ultrix.2.0' -a "${1}" != "-c" ] ; then
  706.     echo shar: Won\'t overwrite existing file "Makefile.ultrix.2.0"
  707.     exit 2
  708. fi
  709. echo x - Makefile.ultrix.2.0
  710. sed -e 's/^X//' > Makefile.ultrix.2.0 << '---END-OF-Makefile.ultrix.2.0---'
  711. X# Makefile for SPS (Ultrix 2.0 UNIX Version)
  712. X
  713. XPROG    =       sps
  714. XOBJS    =       filecount.o findtty.o flagdecode.o flagsetup.o \
  715. X        getcmd.o getupage.o globals1.o globals2.o hashuid.o \
  716. X        initialise.o initsymbols.o inittty.o main.o mktree.o \
  717. X        needed.o openfiles.o percentmem.o prcmd.o prcpu.o \
  718. X        prheader.o printall.o printproc.o prsummary.o readstatus.o \
  719. X        selectproc.o selecttty.o termwidth.o ttystatus.o waitingfor.o
  720. XINCS    =       sps.h
  721. XCC      =       cc
  722. XCFLAGS  =       -DBSD42 -DULTRIX20 -DVPRINTF -I/sys
  723. XLIBS    =       -ltermlib
  724. XDIRINSTALL =    /bin
  725. X
  726. Xall:            $(PROG)
  727. X.c.o:
  728. X        $(CC) $(CFLAGS) -c -O -R $<
  729. X    
  730. Xglobals1.o waitingfor.o:
  731. X        $(CC) $(CFLAGS) -c -O $<
  732. X
  733. X$(OBJS):        $(INCS)
  734. X
  735. X$(PROG):        $(OBJS)
  736. X        $(CC) -o $@ $(OBJS) $(LIBS)
  737. X
  738. Xinstall:        $(PROG)
  739. X        strip $(PROG)
  740. X        mv $(PROG) $(DIRINSTALL)/$(PROG)
  741. X        /etc/chown root $(DIRINSTALL)/$(PROG)
  742. X        chgrp kmem $(DIRINSTALL)/$(PROG)
  743. X        chmod 2755 $(DIRINSTALL)/$(PROG)
  744. X
  745. Xlint:
  746. X        lint -x -b $(CFLAGS) *.c
  747. Xclean:
  748. X        rm -f $(OBJS) $(PROG)
  749. ---END-OF-Makefile.ultrix.2.0---
  750. LEN=`wc -c < Makefile.ultrix.2.0`
  751. if [ $LEN !=  984 ] ; then
  752.     echo shar: File "Makefile.ultrix.2.0" was $LEN, should have been 984 bytes
  753. fi
  754. if [ -f 'Makefile.ultrix.3.0' -a "${1}" != "-c" ] ; then
  755.     echo shar: Won\'t overwrite existing file "Makefile.ultrix.3.0"
  756.     exit 2
  757. fi
  758. echo x - Makefile.ultrix.3.0
  759. sed -e 's/^X//' > Makefile.ultrix.3.0 << '---END-OF-Makefile.ultrix.3.0---'
  760. X# Makefile for SPS (Ultrix 2.0 UNIX Version)
  761. X
  762. XPROG    =       sps
  763. XOBJS    =       filecount.o findtty.o flagdecode.o flagsetup.o \
  764. X        getcmd.o getupage.o globals1.o globals2.o hashuid.o \
  765. X        initialise.o initsymbols.o inittty.o main.o mktree.o \
  766. X        needed.o openfiles.o percentmem.o prcmd.o prcpu.o \
  767. X        prheader.o printall.o printproc.o prsummary.o readstatus.o \
  768. X        selectproc.o selecttty.o termwidth.o ttystatus.o waitingfor.o
  769. XINCS    =       sps.h
  770. XCC      =       cc
  771. XCFLAGS  =       -DBSD42 -DULTRIX20 -DULTRIX30 -DVPRINTF -I/sys
  772. XLIBS    =       -ltermlib
  773. XDIRINSTALL =    /bin
  774. X
  775. Xall:            $(PROG)
  776. X.c.o:
  777. X        $(CC) $(CFLAGS) -c -O -R $<
  778. X    
  779. Xglobals1.o waitingfor.o:
  780. X        $(CC) $(CFLAGS) -c -O $<
  781. X
  782. X$(OBJS):        $(INCS)
  783. X
  784. X$(PROG):        $(OBJS)
  785. X        $(CC) -o $@ $(OBJS) $(LIBS)
  786. X
  787. Xinstall:        $(PROG)
  788. X        strip $(PROG)
  789. X        mv $(PROG) $(DIRINSTALL)/$(PROG)
  790. X        /etc/chown root $(DIRINSTALL)/$(PROG)
  791. X        chgrp kmem $(DIRINSTALL)/$(PROG)
  792. X        chmod 2755 $(DIRINSTALL)/$(PROG)
  793. X
  794. Xlint:
  795. X        lint -x -b $(CFLAGS) *.c
  796. Xclean:
  797. X        rm -f $(OBJS) $(PROG)
  798. ---END-OF-Makefile.ultrix.3.0---
  799. LEN=`wc -c < Makefile.ultrix.3.0`
  800. if [ $LEN !=  995 ] ; then
  801.     echo shar: File "Makefile.ultrix.3.0" was $LEN, should have been 995 bytes
  802. fi
  803. if [ -f 'README' -a "${1}" != "-c" ] ; then
  804.     echo shar: Won\'t overwrite existing file "README"
  805.     exit 2
  806. fi
  807. echo x - README
  808. sed -e 's/^X//' > README << '---END-OF-README---'
  809. X        SPS  -  Show Process Status
  810. X        ===========================
  811. X
  812. X
  813. XIntroduction:
  814. X    SPS is a intended to be used as a replacement for the standard
  815. X    ps(1) program. Its advantages over ps(1) are that it shows more
  816. X    useful information, that the displayed information is more
  817. X    comprehensible and that it is faster.
  818. X
  819. X
  820. X    SPS is currently implemented for the following operating systems and
  821. X    architectures.  The corresponding Makefiles are also shown here:
  822. X
  823. X    Makefile.4.1        Standard 4.1bsd for Vax
  824. X    Makefile.4.2        Standard 4.2bsd, Ultrix 1.x for Vax
  825. X    Makefile.4.3        Standard 4.3bsd (or 4.3-tahoe) for Vax
  826. X    Makefile.4.3+NFS    4.3bsd+NFS from Wisconsin (Mt. Xinu?, others?)
  827. X    Makefile.dec3100    DECStation 3100 + Ultrix 3.0 (incomplete)
  828. X    Makefile.sun.2.0    Sun 4.2 UNIX Release 2.0 - 2.2 for Sun-2
  829. X    Makefile.sun.3.0    Sun 4.2 UNIX Release 3.0 for Sun-2, Sun-3
  830. X    Makefile.sun.3.2    Sun 4.2 UNIX Release 3.2 for Sun-2, Sun-3
  831. X    Makefile.sun.4.0    SunOS 4.0 for Sun-2, Sun-3, Sun-4
  832. X    Makefile.sun.4.0+386i    SunOS 4.0 for Sun 386i
  833. X    Makefile.sun.4.1    SunOS 4.1 for Sun-2, Sun-3, Sun-4
  834. X    Makefile.sun4.3.2    SunOS Sys 4-3.2 for Sun-4
  835. X    Makefile.ultrix.2.0    DEC Ultrix 2.0 - 2.2
  836. X    Makefile.ultrix.3.0    DEC Ultrix 3.0
  837. X
  838. X    (I also have a somewhat ancient implementation for V7 on a PDP-11 as well
  839. X    as Unisoft Version 1.3 on a MC68000 if anyone is interested).
  840. X
  841. X
  842. XWhat SPS does:
  843. X    SPS displays wait channels symbolically, rather than as hexadecimal
  844. X    addresses.  (If you wish to teach SPS about a new sort of device,
  845. X    you must add an entry in the symbol table (globals2.c) as well as
  846. X    increasing the size of that table (NWAITSTATE in sps.h)).
  847. X
  848. X    SPS sorts processes before listing them, the order reflecting the
  849. X    relationship of the processes.  A child process is listed
  850. X    underneath its corresponding parent and is indented to depict the
  851. X    exact relationship.  SPS also indicates setuid processes.
  852. X
  853. X    SPS displays such values as the resident and virtual sizes of
  854. X    system processes.  It accepts a whole range of options to control
  855. X    the output.  By default, SPS lists information about one's own
  856. X    processes.  Other options instruct it to be verbose (the "v"
  857. X    option), to list all the command arguments of a process (the "w"
  858. X    option) or to list the environment strings of that process (the "e"
  859. X    option).  Similarly, there are options to control which processes
  860. X    are to be displayed.  The "a" option tells it to describe all
  861. X    processes and the "b" option tells it to describe "busy" processes;
  862. X    the latter is useful if you wish to find out what is loading your
  863. X    system.  There are also options to select the output according to
  864. X    user, controlling tty or process number.
  865. X
  866. X    SPS keeps its information in an information file; by default, this
  867. X    is /tmp/.spsinfo. This means that it can avoid having to do an
  868. X    expensive nlist() operation each time it is run.  It must be
  869. X    reinitialised (with the "i" option) if new users are added to
  870. X    /etc/passwd or if a new version of /vmunix is installed.
  871. X
  872. X
  873. XHow to build SPS:
  874. X    1. In order to compile and install SPS, first unbundle the four shell
  875. X       archive files.
  876. X    2. Check that the define statements in sps.h are large enough for
  877. X       your system.  In particular, you may need to increase MAXTTYS
  878. X       to reflect the number of tty devices in /dev.  The parameter
  879. X       MAXUSERS defines the maximum number of users defined in the
  880. X       password file (or through the Yellow Pages).  Because the
  881. X       user-ids are held in an internal hash table, this should
  882. X       probably be at least double the number of actual users.
  883. X    3. Choose an appropriate Makefile from the table above and compile
  884. X       the source files.  For example:
  885. X       % make -f Makefile.sun.3.2
  886. X    4. Try running SPS.  First, a suitable information file must be
  887. X       initialised.  It should then be able to display information
  888. X       concerning running processes on your system:
  889. X         # Initialise SPS.  Ignore any error messages at this stage.
  890. X       % sps i
  891. X         # Instruct SPS to list all active processes in verbose format.
  892. X       % sps va
  893. X    5. If this all works, install SPS with the appropriate Makefile
  894. X       and reinitialise it:
  895. X       % make -f Makefile.sun.3.2 install
  896. X       % sps -i
  897. X
  898. X
  899. XBug reports:
  900. X    Send all bug reports, fixes, comments and suggestions to Robert Ward at -
  901. X
  902. X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  903. X    J. Robert Ward,
  904. X    Olsen & Associates, Seefeldstrasse 233, CH-8008 Zuerich, Switzerland
  905. X
  906. XTel.:   +41 1 552224     Fax: +41 1 552282    Telex: 816656
  907. XEmail:  robert@olsen.uu.ch              Uucp:  uunet!chx400!olsen!robert
  908. XX.400:  s=robert/ou=olsen/o=uucp/p=switch/a=arcom/c=ch
  909. X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  910. ---END-OF-README---
  911. LEN=`wc -c < README`
  912. if [ $LEN !=  4769 ] ; then
  913.     echo shar: File "README" was $LEN, should have been 4769 bytes
  914. fi
  915. if [ -f 'RELEASENOTES' -a "${1}" != "-c" ] ; then
  916.     echo shar: Won\'t overwrite existing file "RELEASENOTES"
  917.     exit 2
  918. fi
  919. echo x - RELEASENOTES
  920. sed -e 's/^X//' > RELEASENOTES << '---END-OF-RELEASENOTES---'
  921. X        NEW  RELEASE  OF  SPS
  922. X        =====================
  923. X
  924. X
  925. XThe files in this directory represent a major new release of the SPS
  926. Xprogram.  One or two minor bugs have been corrected but, more
  927. Ximportantly, SPS has now been ported to run under the SunOS 4.0, 4.1 and
  928. XUltrix 2.x and 3.x operating systems.
  929. X
  930. X
  931. XGratitude and heart-felt thanks for these achievments should be
  932. Xdirected to Rob Lehman (and others?) at CUCCA, Charlie Kim
  933. X<cck@cunixc.cc.columbia.edu> at CUCCA and, in particular, to Alexander
  934. XDupuy <dupuy@ncs.columbia.edu> at the Columbia C.S. Dept.  Rob Lehman
  935. Xadded the Ultrix 2.x support. Charlie Kim and Alexander Dupuy
  936. Ximplemented the SunOS 4.0 support and Alexander added support for the
  937. XNFS additions as well as incorporating general improvements to the code.
  938. XSakari Jalovaara <sja@sirius.hut.fi> at the Helsinki University of Technology
  939. XComputing Centre added the support for SunOS4.1.
  940. X
  941. X
  942. XThis release of SPS includes support for all(?) systems previously
  943. Xsupported, although it has not been tested under 4.1 or 4.2bsd, or Sun 4.2
  944. XUNIX Release 2.x.  New systems supported include Ultrix 2.x and SunOS 4.0
  945. Xand SunOS 4.1.  The support for Sun 2.x and 3.x releases has been
  946. Ximproved.  Support for the DEC 3100 has been included, as yet incomplete.
  947. X
  948. XMinor fixes include:
  949. X    One additional option [-c], identical to the ps(1) -c option,
  950. X    has been added.
  951. X    The code to warn if the passwd file is older than the info file
  952. X    has been ifdef'ed out since this caused more grief than
  953. X    benefit.  The old code may be reactivated by a -DWARNPASSWD
  954. X    compiler flag.
  955. X    Under SunOS, a status of itty?? indicates a process that is waiting
  956. X    to read or write to an iconified window.
  957. X
  958. X
  959. XFor SunOS 4.x users:
  960. X    One additional file is included in this distribution, BUG-libkvm,
  961. X    containing a (source-only, sorry) patch to fix a bug in the libkvm
  962. X    library where the command arguments for the ksh (or "vi a=b c", for
  963. X    that matter) are returned incorrectly buy kvm_getcmd(3).
  964. X
  965. XFor DecStation 3100 users:
  966. X    The code that mimics the virtual to physical address translation is
  967. X    incomplete.  Upage information is accessed correctly but not the
  968. X    command line arguments.  If anyone knows how to make this code work,
  969. X    please contact me.
  970. X
  971. X
  972. XBuilding and installing SPS works much like it did before, only now there are
  973. Xeven more Makefiles to choose from:
  974. X    Makefile.4.1        Standard 4.1bsd for Vax
  975. X    Makefile.4.2        Standard 4.2bsd, Ultrix 1.x for Vax
  976. X    Makefile.4.3        Standard 4.3bsd (or 4.3-tahoe) for Vax
  977. X    Makefile.4.3+NFS    4.3bsd+NFS from Wisconsin (Mt. Xinu?, others?)
  978. X    Makefile.dec3100    DECStation 3100 + Ultrix 3.0 (incomplete)
  979. X    Makefile.sun.2.0    Sun 4.2 UNIX Release 2.0 - 2.2 for Sun-2
  980. X    Makefile.sun.3.0    Sun 4.2 UNIX Release 3.0 for Sun-2, Sun-3
  981. X    Makefile.sun.3.2    Sun 4.2 UNIX Release 3.2 for Sun-2, Sun-3
  982. X    Makefile.sun.4.0    SunOS 4.0 for Sun-2, Sun-3, Sun-4
  983. X    Makefile.sun.4.0+386i    SunOS 4.0 for Sun 386i
  984. X    Makefile.sun.4.1    SunOS 4.1 for Sun-2, Sun-3, Sun-4
  985. X    Makefile.sun4.3.2    SunOS Sys 4-3.2 for Sun-4
  986. X    Makefile.ultrix.2.0    DEC Ultrix 2.0 - 2.2
  987. X    Makefile.ultrix.3.0    DEC Ultrix 3.0
  988. X
  989. X
  990. X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  991. X    J. Robert Ward,
  992. X    Olsen & Associates, Seefeldstrasse 233, CH-8008 Zuerich, Switzerland
  993. X
  994. XTel.:   +41 1 552224     Fax: +41 1 552282    Telex: 816656
  995. XEmail:  robert@olsen.uu.ch              Uucp:  uunet!chx400!olsen!robert
  996. XX.400:  s=robert/ou=olsen/o=uucp/p=switch/a=arcom/c=ch
  997. X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  998. ---END-OF-RELEASENOTES---
  999. LEN=`wc -c < RELEASENOTES`
  1000. if [ $LEN !=  3510 ] ; then
  1001.     echo shar: File "RELEASENOTES" was $LEN, should have been 3510 bytes
  1002. fi
  1003. exit 0
  1004.