HDTenEightyP/NetNews huggingface dataset:
From: mskucher@math.uwaterloo.ca (Murray S. Kucherawy [MFCF])
Subject: libs.a routine questions
Organization: Math Faculty Computing Facility, University of Waterloo, Canada
Date: Mon, 28 Sep 1992 21:47:41 GMT

I have some questions about how libs.a routines (getuserattr, putuserattr,
etc.) operate.  I hope someone out there can give me some answers.  The
routines seem to be very slow, and we're looking for ways to optimize the
speed of our applications that use them.

1) How does getuserattr move to the right point in the authorization files
   (/etc/passwd,/etc/security/passwd) to get the requested attribute?  Is
   it a linear search from the start of the file, or from the current point
   in the file, or what?

2) How does putuserattr perform locking so that another process using the same
   function won't corrupt the database?

3) When putuserattr is told to commit its changes, how does it accomplish this?

I may post other questions as well, as I think of them.

-- Murray S. Kucherawy ----------------------------------------+--------------
Software Systems Co-op, Math Faculty Computing Facility [MFCF] | Our PDPs go
University of Waterloo, Ontario, Canada                        | to eleven!
E-mail: mskucherawy@{math,watdragon}.UWaterloo.ca              | 
---------------------------------------------------------------+--------------
Newsgroups: comp.unix.aix
From: gerth@watson.ibm.com (John Gerth)
Subject: Re: Console output to a window?
Date: Wed, 07 Oct 1992 01:17:55 GMT
Disclaimer: This posting represents the poster's views, not necessarily those of IBM
Organization: IBM T.J. Watson Research Center

In article <mfh.718389721@math.chalmers.se> mfh@math.chalmers.se (Martin Hansson) writes:
>Is there a way to redirect console output to a window whilst running X?
>The C flag doesn't seem to work for xterm and I havn't seen anything for the
>aixterm.
>
The 'swcons' command temporarily switches the system console such that
if from inside either "aixterm" or "xterm", you issue:
    swcons `tty`
the console output should be redirected there.

I can't answer the obvious next question - Why doesn't the AIX port
of "xterm" just do this when it sees "-C"?


-- 
John Gerth	 gerth@watson.ibm.com		(914) 784-7639
Newsgroups: comp.unix.aix
From: clark%asylum.cs.utah.edu@cs.utah.edu (Charles Clark)
Subject: Re: one more try...AIX PS/2 1.3 info.
Date: 2 Oct 92 13:34:28 MDT
Followup-To: comp.unix.aix
Keywords: PS/2 AIX 1.3 
Organization: University of Utah, Dept. of Computer Science 
Distribution: usa

In article <1992Oct2.140604.12512@awdprime.austin.ibm.com> pcb@gunfight.austin.ibm.com (Peter C. Bahrs) writes:
>If you have AIX PS/2 versions < 1.3, you can get 1.3 for free until Dec.,
>call you local IBM rep.

True, although the `free' part applies to a limited set of LPP's.  Notably,
the X windows and DOS Merge LPP's require an upgrade fee.

>Highlights:
>o Improves performance

Yeah!!!

>We also showed some follow on work based on Mache 3.0 (osf/1 and dos).  
>We had technology demos of x11r5/motif 1.2/osf/1/mach3.0 
>and flight simulator/dos5/mach 3.0.  Pretty cool stuff.

Pretty cool, indeed...  Now for my `question of the day':

Does AIX v1.3 DOS Merge provide support for DOS applications using the XGA?

The XGAAIDOS.SYS will not work with DOS Merge;  the driver checks to see
what type processor it is running on, and when it realizes it is on a 8086
(virtual 8086, in this case), it terminates.  Thus, applications written to
use the AI will not run...

Thanks,

	--Charles
Newsgroups: comp.unix.aix
From: marc@watson.ibm.com (Marc Auslander)
Subject: Re: NFS mounting problem
Date: Fri, 2 Oct 1992 17:58:13 GMT
Disclaimer: This posting represents the poster's views, not necessarily those of IBM
Organization: IBM T.J. Watson Research Center, Hawthorne, New York

In article <1992Oct2.090558.55884@qut.edu.au> chan@qut.edu.au writes:

>We have a porblem of trying to mount NFS files from a non aix host. The
>problem was we could not do the mount when I am superuser but I can
>do the mount when I went back to as an ordinary user.
>Our NFS server is HP730 running HPUX8.07 and the aix is on RS/6000.
>Any body got any suggestions????

>Thanks for any ideas.

One possibility is that the root of the file system being mounted is
not readable by root in the mounting machine.  Remember that by
default, root and system get mapped into non-existent ids, so that
root or system access on the server don't translate to the client.

If you can live with read-other on the root of the file system, that
will solve this problem.  Alternately, you can put the file system
into a group other than system (on the server) and put root (on the
client) into that group.  (This assumes the root of the file system is
readable by group).

(Forgive my ignorance - I don't know if execute (AKA search) access is
required as well to make the mounts work).
--


Marc Auslander       (IBM)<marc@marc.watson.ibm.com>      914 784-6699
                     (Internet)<marc@watson.ibm.com>
From: eddjp@edi386.huber.com ( Dewey Paciaffi )
Newsgroups: comp.unix.aix
Subject: restore message
Date: 27 Sep 92 22:30:15 GMT
Organization: J.M. Huber Corp. Edison, NJ


I recently restored a backup from 8mm tape. The tape had been made with
the command "backup -0f /dev/rmt0 /home". I restored with the command
"restore -xvf /dev/rmt0". restore responded with a message:

	Verifying tape and initializing maps

and started blinking the drive light for a *looooong* time (I only had
200 MB on the tape). I gave up and dropped back to "restore -r" which
worked admirably. I haven't restored anything under AIX in a while, but
I don't ever remember seeing that message before. Is my memory failing,
did I do something wrong, or has something changed lately?


-- 
Dewey Paciaffi      eddjp@huber.com
Newsgroups: comp.unix.aix
From: csh@lanl.gov (Charles S. Henkel)
Subject: What document to request to get info on AIX assembly language?
Organization: Westinghouse Savannah River Company
Date: Wed, 30 Sep 1992 10:53:19 GMT

Someone mentioned here recently the name of the document which
describes the AIX assembly language. Anyone remember what that is? A
document number would be helpful also.

_C
Newsgroups: comp.unix.aix
From: wijkstra@fwi.uva.nl (Marcel Wijkstra (AIO))
Subject: Re: Mixing graPHIGS and ISO-phigs?
Organization: FWI, University of Amsterdam
Date: Fri, 2 Oct 1992 12:17:08 GMT

First of all, I'd like to thank the people who reacted to my question.
Thanks. I'd be stuck forever without your help.

pfuetz@igd.fhg.de (Matthias Pfuetzner) writes:

#In article <hersh.717709355@xenon.lcs.mit.edu> hersh@expo.lcs.mit.edu (Jay Hersh) writes:
#>wijkstra@fwi.uva.nl (Marcel Wijkstra (AIO)) writes:
#>
#>>Is it possible to add these feautures to my ISO-phigs programs, e.g.
#>>using graPHIGS calls? (all right, I know this reduces portability to a
#>>low level, but I just have to live with that).
#>>...(problem description deleted)...
  
#... You can mix them, I'm doing this also. I can't see the problem
#Marcel has, so Marcel, can you be a bit more precise?
#
#I'm using the following command-line for compiling graPHIGS with both, the
#ISO-c-binding and the older graPHIGS-c-bindig.:
#
#cc -g -I/usr/include -I/usr/lpp/graPHIGS/samples/cbinding -DAIXV3 -D_BSD
#                                                     -D__STR31__ -c <file>.c
#cc -o <file> <file>.o -g -lgP -lXext -lX11 -lm

I am *deeply* ashame. The problem I described (not included above), about
not being able to use both iso-phigs and graPHIGS calls, was caused by
a huge stupidity: 'GPICD(red);' should have been 'GPICD(&red);'...

After having read the manuals we just received (after I posted the original
question), I now know that iso-phigs and graPHIGS *can* be mixed.
However, care must be taken: p_open_ws() creates a workstation with different
defaut values for some properties than GPOPWS() or GPCRWS().
Furthermore, graPHIGS-specific data cannot be inquired with iso-phigs
calls (the opposite is possible).

For more detailed information: see the graPHIGS manual
ISO PHIGS Subroutine Reference (SCC33-8140-00), appendix H.

Marcel.
-- 
 X	   Marcel Wijkstra   AIO   (wijkstra@fwi.uva.nl)
|X|	     Faculty of Mathematics and Computer Science	
 X	       University of Amsterdam   The Netherlands
======Life stinks. Fortunately, I've got a cold.========
From: jdb@ocf.berkeley.edu (Justin D. Bukowski)
Newsgroups: comp.unix.aix
Subject: X-station running out of memory
Date: 1 Oct 1992 06:53:20 GMT
Organization: U.C. Berkeley Open Computing Facility
Distribution: world
NNTP-Posting-Host: avalanche.berkeley.edu
Summary: Something not releasing memory?
Keywords: X-station, memory

We have a 550 running simulations and also serving a couple of X-stations.

One of our researchers is using AVS (visualization program) running
on another 550 on our network. This other 550 handles all the rendering
and sends a pixmap to the X-station.

The researcher logs in to the AVS machine from the X-station
and starts working. After some time displaying all sorts of pretty
pictures, the X-station dies, displaying a cursor that looks like a
thermometer showing 99% on a scale from 0 to 100. It doesn't take much
thought to guess that it means something has run out of memory.

I don't think our server is the culprit, since swap space is 128 MB
and is rarely more than 50% used. I've read somewhat here about malloc()
and I don't think that's the problem.
I don't think the other 550 (running AVS) is the problem, either.

The X-station has 2 MB video memory and 2 MB display processor memory.
This would seem to be the problem, but everything works fine at first.
It's only after working for 15 minutes or so, manipulating (and
redrawing) images, that the display dies.

IBM support says "The X-station can't run AVS without a 3-D adapter!"
But the X-station is only displaying 2-D pixmaps.
IBM support says "Get more display processor memory!"
But why does it take time to die? Maybe adding memory will only
make it take longer to happen.

I think something is not releasing memory properly and, after a
number of redraws, memory runs out. I don't think it's AVS since
we've found similar behavior using PV-WAVE (another visualization
program) over the network. Has anyone experienced this? Has
anyone any ideas to determine what is killing the display?
What about watching the display memory usage?

I'll be happy to clarify the problem if necessary. Thanks.

Justin Bukowski   jdb@ocf.berkeley.edu   jdb@condor.berkeley.edu

-- 
Justin D. Bukowski                 |                                |
University of California           | I feel like an alien,          |
Berkeley, CA  94720                | a stranger in an alien place.  |
Fantasyland                        |                    - Phil      | 
Newsgroups: comp.unix.aix
From: umarsa00@ctrvx1.vanderbilt.edu (PROF. A.S. UMAR, (615)322-2459)
Subject: Ownership of the /home directory
News-Software: VAX/VMS VNEWS 1.41    
Organization: Vanderbilt University
Date: Wed, 30 Sep 1992 15:37:00 GMT

I am running AIX 3.2.2 on a model 320E. I have recently noticed that
whenever I add a new user to the system the ownership of the home
directory is trasferred to user.staff. I have changed this back to
root.system and added another user, samething happened! I do not know
whether this creates a security risk or not but it does not look right.

=====
umar@compsci.cas.vanderbilt.edu         Prof.A.S. Umar
umarsa00@vuctrvax.bitnet                Department of Physics & Astronomy
Tel: (615) 322-2459                     Vanderbilt University
Fax: (615) 343-7263                     Nashville, TN 37235
From: rice@rab.enet.dec.com
Newsgroups: comp.unix.aix
Subject: expected file locations
Date: 28 Sep 92 19:17:05 GMT
Reply-To: rice@rab.enet.dec.com ()
Organization: Digital Equipment Corporation


On AIX I have some questions on where to install some files for a product.

1. Examples - I'd expect /usr/examples but I see none.  Do I put them in
   /usr/lpp/<product>/examples?  

2. IVP - Installation Verification procedure. /usr/lpp/<product>/ivp?

3. Docs - Documentation in printable form, say release notes?

4. Startup scripts - /etc?

5. Configuration databases - /usr/adm?

I'm just trying to get a feel for what is normal in this enviornment.
Thanks for any ideas.
Newsgroups: comp.unix.aix,micro.unix
From: john@ecsvax.uncecs.edu (John Hogan)
Subject: many logins on aix 3.2
Followup-To: poster
Keywords: many, logins, aix 3.2
Organization: CSC
Date: Tue, 6 Oct 1992 20:45:46 GMT


I have to set up an RS/6000 (Model 560) with 20,000 (yep)
IDs.  The IDs are now in a flat ASCII file, and passwords
can be prepared in advance -- or not, I really don't care,
as long as I don't have to enter 20,000 of them.

Has anyone written a utility to send logins to SMIT or mkuser
in batch mode.  If passwords are pre-assigned, then I want to 
have the choice of putting them in /etc/password or 
/etc/security/passwd (for C2 level of security).

I would guess that some RS/6000 site on a college campus
has faced this problem.  Please respond via e-mail or
news as I monitor this group.  Thanks,

John Hogan
 ecsvax!john@uncecs.edu
 (212) 563 3006 ext. 259
Newsgroups: comp.unix.aix
From: ross@insci.com (ross andrus)
Subject: ^^^^AIX^^^^ on RS/6000
Organization: INSCI Inc.
Date: Fri, 25 Sep 1992 19:27:59 GMT
Originator: ross@augie

Hello world

  Okay, I've had it. Cute box, nice bang/$, but... I've got a process 
  eating cpu cycles and kill -9 doesn't even slow it down. Yes of course
  I'm root. 

  What is this?

  ross
-- 
+-----------------------------------------------------------------------------+
|  ross@augie.insci.com                                                       |
|  My opinions and views are not shared or endorsed by my employers. Yet.     |
+-----------------------------------------------------------------------------+
From: richard@kunikpok.UUCP (rich)
Newsgroups: comp.unix.aix
Subject: Re: How can I get mksysb use 2 tapes? Do I need diff block size?
Date: Tue, 29 Sep 92 21:24:19 CDT
Organization: Kunikpok Kennels and Komputers (Pet Project)

> |> and I would definitely like to get this capability to work.
> |> 
> |> Our problem is that rootvg is larger that 2GB and requires 2 8mm tapes to
> |> back up.  But msksysb fails with a message that looks something like "mksy
> |> halted" and then "EOF countered on /dev/rmt0".  Can someone help me out
> |> and tell me if I'm using the right commands?  I would like to get the
> |> script to prompt me for a second tape rather than just crash.  Here is
> |> what we're doing:
> |> 
> |>       umount /dev/cd0
> |>       /etc/nfs.clean
> |>       /etc/tcp.clean
> |>       /usr/bin/mkszfile
> |>       mksysb '/dev/rmt0.1'
> |> 
> |> Should I be setting the block size on the tape device to something other
> |> than 0.  We have it set to 0 so we can read/write tapes produced on Sun
> |> SPARCstations.
> |> 
> |> Any help would be appreciated.  Thanks in advance.
> 
> mksysb uses tar.  tar doesn't support multiple tapes.  Have a nice day.
> 
> Move everything but /, /usr, /var, and /tmp from rootvg to another volume
> group.
> 
> Use 'backup' to backup the moved filesystems.
> 
> Alternatively, you can diddle 'mksysb' so that it doesn't backup anything
> other than /, /usr, /var, and /tmp.  But the above method is better.
> 
> Related question: What are sites with 150MB tape drives (not me!)
> going to do now that a mksysb of the basic filesystems is too big to
> fit?
> |Rick Cochran		  607-255-7223		     rick@msc.cornell.edu|

Just a little something here.
There is a "FIX" so that tar backups to multiple tapes, your mileage may 
vary of course.
Secondly, I agree with Rick that it is preferable to keep the rootvg as 
small as possible, one drive or two.  It really makes a difference if you 
ever accidentally remove /bin for example.  Reloading a 10 Gig rootvg is 
a major bummer, and it makes the backups a little easier.  Run a mksysb 
once a month or every update, which ever is shorter, and backup the other 
logical volumes as needed, daily, incremental, whatever.  
This will make recovery of bad drives and rm -r daemons much easier in 
the long run.  If you ever need to reinstall the rootvg, you reinstall 
from the latest backup, and then do an importvg of the second volume 
group.

Having multiple volume groups ahs another effect too.  It automatically 
gives you additional filesystem logs which can actually be the bottleneck 
if there is only one log for many drives, especially heavily used ones.
You can of course create additional JFSLOG LVS, but use hd8 for the hd4, 
hd3, hd2, and hd9var logical volumes, otherwise you will have problems.

I digress here...

Rich

Richard Hasting, Computer Literacy 2000 Project Office
richard@kunikpok.uucp
"When all is said and done, more is said than done."
Newsgroups: comp.unix.aix
From: mas@Cadence.COM (Masud Khan)
Subject: Adding a disk with data!
Organization: Cadence Design Systems, Inc.
Date: Thu, 1 Oct 1992 14:41:06 GMT

We have an RS6000 and have recently had probs with it..

we upgraded AIX to 3.2 (from 3.1.5), we had two 1.21Gb external HD's

that were attached when the machine was a 3.1.5 but we are now having

problems with one of them. One has mounted OK and the system doesn't

complain but the other, although it can be seen by the OS as hdisk3,

it doesn't want to mount it. It seems to have lost its lvg and the HD

has data on it. I have tried adding a disk with data (in SMIT) but

that craps on me! Creating a new lvg messes the data on the disk doesn't

it?

Any suggestions would be gately appreciated.

Mas
-- 
                /\    /\    /\  ///////
               //\\  //\\  //\\ \\\
              ///\\\///\\\///\\\ \/////\
             ///  \\//  \\\/==\\\     \\\
From: drake@drake.almaden.ibm.com (Sam Drake)
Newsgroups: comp.unix.aix
Subject: Re: ^^^^AIX^^^^ on RS/6000
Date: 27 Sep 92 07:10:27 GMT
Organization: IBM Almaden Research Center

In article <1992Sep25.192759.14551@spike.insci.com> ross@insci.com (ross andrus) writes:
>  Okay, I've had it. Cute box, nice bang/$, but... I've got a process 
>  eating cpu cycles and kill -9 doesn't even slow it down. Yes of course
>  I'm root. 

Early AIX levels had a bug in the "ps" command that resulted in the "idle"
process showing up in the process list, freaking folks out unnecessarily.

The RISC System never goes into a "wait state".  Rather, when there's 
absolutely nothing to do, the system runs a process that loops.  This process
runs at the absolutely, positively lowest priority in the machine, so it
interferes with nothing, and causes no harm.  The "idle" process is not
killable.

So if you just did a "ps" and saw a process eating time, and tried to
shoot it, this might be all that you're seeing.  The fix is to put up a
more recent version of the system, or just don't worry about it, as
nothing's wrong.

If on the other hand you're saying that a process that YOU started is looping
and you can't kill it, please post again with more details.


Sam Drake / IBM Almaden Research Center 
Internet:  drake@almaden.ibm.com    BITNET:  DRAKE at ALMADEN
Xref: sparky comp.unix.aix:10189 bit.listserv.aix-l:1514 bit.listserv.power-l:279
From: MICHAEL.WILLETT@OFFICE.WANG.COM ("Michael Willett")
Newsgroups: comp.unix.aix,bit.listserv.aix-l,bit.listserv.power-l
Subject: Free Computer Technology Review Subscriptions
Date: 29 Sep 92 16:56:45 GMT
Organization: Mail to News Gateway at Wang Labs

I just received the following letter from Computer Technology
Review newspaper which may be of interest to other readers.
This is quite a good technical computer newspaper:

        A Free Subscription Has Been Reserved Just For You!

Dear Computer Professional:

Keeping up-to-date with the systems integration market is a very
time consuming task.  But whether you're a reseller, manufacturer,
integrator, or volume user it is certainly a task that must be done
thoroughly in order to stay competitive.  And, really, the competition
is about technology.  What's hot, what's not.  What works, what doesn't.
What's next. When. Who. How.

COMPUTER TECHNOLOGY REVIEW gives you pure systems integration technology
without the marketing talk and industry gossip.  We provide a forum for
new innovations and research in developing technologies.  With the most
current, most accurate, and most complete technology information
available.  COMPUTER TECHNOLOGY REVIEW brings you all of this 16 times
each year at not cost to you.

The monthly newspaper editions are designed for a quick read to give you
important technology updates.  But that's not all.  With your free
subscription you will also receive four special issues packed with
in-depth, exclusive articles written by industry leaders who are making
technology happen.  Articles you will use as a reference source for years
to come and a "must read" for anyone who works within this industry.
For example:

                  "SCSI and Local Bus Resurrect ISA"
                  "Designing a Thrid Generation Hub"
             "RAID 7 Features Asynchronous Data Transfers"
                "Merging Full Motion Video and Graphics"
                 "Is Integrating DOS/UNIX a No-Brainer?"

To begin your free subscription simply complete and return the
enclosed application.  But hurry!  There are a limited number of free
subscriptions available.  If you don't respond immediately to this
offer, we may have to give your free subscription to one of your
colleagues (or even a competitor!)

Don't fall behind on the technology that supports the systems
integration industry.  Get the data that is vital to the decisions
you make every day.  Get the #1 systems integration technology resource.
Get your free subscription to COMPUTER TECHNOLOGY REVIEW today!

Sincerely,

Mary W. Barrett
Circulation Manager

P.S.  A free subscription is available for one of your colleagues too.
Just pass along the extra application that I've included with this letter.

924 Westwood Blvd., Suite 650, Los Angeles, California 90024
Telephone 310-208-1335
From: pky@pluto (Peter Kyllesbeck)
Newsgroups: comp.unix.aix
Subject: Re: AIX 3.2 assembler double consts gcc.2.2.2
Date: 30 Sep 92 16:45:59 GMT
Organization: Computer Resources International A/S
X-Newsreader: Tin 1.1 PL5

Just for info. I have already instaled fix A22829 for AIX 3.1.
--
+--------------------------------------+--------------------------------------+
| Peter Kyllesbeck                     |  pky@csd.cri.dk                      |
| Computer Resources International A/S |                                      |
| DK-3460 Birkerod                     |  phone +45 45 82 21 00               |
| Denmark                              |  fax   +45 45 82 17 66               |
+--------------------------------------+--------------------------------------+
From: tom@bim.itc.univie.ac.at (Tom Kovar)
Subject: Re: Console output to a window?
Organization: Inst.of Theor.Chemistry,Univ.of Vienna,Austria
X-Newsreader: Tin 1.1 PL3
Date: Tue, 6 Oct 1992 20:28:30 GMT

mfh@math.chalmers.se (Martin Hansson) writes:
: Is there a way to redirect console output to a window whilst running X?
: The C flag doesn't seem to work for xterm and I havn't seen anything for the
: aixterm.

  What will help is to redirect the console output to a named pipe, and hang
the xterm -C (or xconsole) on it. The redirection is best done using
chcons :-)
							Tom
Newsgroups: comp.unix.aix