[comp.sys.nsc.32k] How do you find the user structure?

sverre@fesk.UUCP (Sverre Froyen) (12/04/88)

I have tried to get Brandon's sysV version of w to work on my
National Semiconductor ICM3216 running SysV.2.2.  This is a
demand paged system and, as Brandon points out in the documentation,
w is unable to locate the user structure.  I have looked through
the system documentation and various include files but I am unable
to find the solution (I have no source).  I suspect I must start
with the value of p_addr in the proc table, which is a short integer,
(this entry is replaced by page tables for the user block in SysV.3)
and then go through some of the macros for the page tables.
Unfortunately, guesswork won't cut it and I was hoping somebody
on the net possesses some hard information.

Thanks,
Sverre
-- 
Sverre Froyen
UUCP:   boulder!fesk!sverre, sunpeaks!seri!fesk!sverre
ARPA:   froyen@nmfecc.arpa
BITNET: froyen@csugold.bitnet

allbery@ncoast.UUCP (Brandon S. Allbery) (12/11/88)

As quoted from <214@fesk.UUCP> by sverre@fesk.UUCP (Sverre Froyen):
+---------------
| I have tried to get Brandon's sysV version of w to work on my
| National Semiconductor ICM3216 running SysV.2.2.  This is a
| demand paged system and, as Brandon points out in the documentation,
| w is unable to locate the user structure.  I have looked through
| the system documentation and various include files but I am unable
| to find the solution (I have no source).  I suspect I must start
+---------------

I've been trying to find it myself, via trial-and-error; I want to use it on
a few demand-paged System V-based machines myself.  Anyone know what V.2.2
and V.3.1 do with the ublock?

Thanks in advance, all.

++Brandon
-- 
Brandon S. Allbery, comp.sources.misc moderator and one admin of ncoast PA UN*X
uunet!hal.cwru.edu!ncoast!allbery  <PREFERRED!>	    ncoast!allbery@hal.cwru.edu
allberyb@skybridge.sdi.cwru.edu	      <ALSO>		   allbery@uunet.uu.net
comp.sources.misc is moving off ncoast -- please do NOT send submissions direct
      Send comp.sources.misc submissions to comp-sources-misc@<backbone>.