HDTenEightyP/NetNews huggingface dataset:
From: scotte@cdsac.uucp (L. Scott Emmons)
Newsgroups: comp.unix.aix
Subject: Re: Size of shared libraries
Date: 21 Aug 92 15:04:06 GMT
Organization: Cable Data (U.S. Computer Services), Sacramento, CA
NntpPostingHost: cdsac

In article <5259@unixhub.SLAC.Stanford.EDU> alhy@unixhub.slac.stanford.edu writes:
>It seems that when I make shared libraries, they're much larger than
>an unshared version of the same library!  Here's what I do in this
>case:  I take a library (the ibm blas library), extract all the object
>files, on each of the files use nm to determine the symbols to export,
>create an import file with all the routine names in it, then do the
>following command on each object:

This is normal. Shared libraries are larger, but you gain the space back
real quick, as there need be only a single copy of it in memory for all
processes bound to it.

 
			   L. Scott Emmons
		     csusac.csus.edu!cdsac!scotte
Newsgroups: comp.unix.aix
Subject: Shared libraries sharing from main app?
From: brent@spss.com (Brent Lambert)
Date: Thu, 20 Aug 1992 22:05:55 GMT
Organization: SPSS, Inc. - portable code group



According to a paper by M. A. Auslander in the Jna. 1990 issue of IBM
J. Res. Develop. (volume 34, no. 1) shared libraries "... can refer to
each other or, in theory, even to the user program ..."

Is this actually implemented in AIX 3.2?  I haven't been able to
accomplish such sharing.  Has anyone done it?  If so, how?

I'm familiar with the Kwiatkowski/Prener/Asselin/Carr/Heath discussion
in July (related to allowing applications substitute their own version
of functions from libc).

Should I be able to deduce the answer to my question from that
discussion?

Thanks in advance for answers, help, or advice.
--
The above statements are not the opinions or policies of SPSS Inc.
The above statements may not be the opinions of Brent Lambert.
The first disclaimer is a policy of SPSS Inc.
Subsequent disclaimers are probably the opinion of Brent Lambert.
From: curt@aixwiz.austin.ibm.com (Curt Finch/131072)
Newsgroups: comp.unix.aix
Subject: automount docs
Date: 12 Aug 92 21:07:05 GMT
Reply-To: curt@aixwiz.austin.ibm.com (Curt Finch/131072)
Organization: IBM AWD, Austin, TX

Anyone who wants the latest docs for the latest automounter,
send me mail at curt@aixwiz.austin.ibm.com and I'll attempt to email
them to you (U404456 is the latest automount for 3.2).

They are not shipped with the PTF unfortunately.

A mass clamor will result in them being posted here

curt@aixwiz.austin.ibm.com (Curt L. Finch) | AIX NFS/NIS Field Quality 
My views are unrelated to those of IBM     |       Austin, TX
 Lead_or_Leave's objective is to get all Congressmen to sign a pledge that if
   the Deficit has not halved before their term's end, they will step down.
Xref: sparky comp.unix.aix:8792 comp.unix.internals:1686 comp.unix.questions:10054
From: SYD.FARBER@OFFICE.WANG.COM ("Syd M. Farber")
Newsgroups: comp.unix.aix,comp.unix.internals,comp.unix.questions
Subject: System Configuration Standards
Date: 13 Aug 92 22:11:11 GMT
Organization: Mail to News Gateway at Wang Labs

I am in the process of setting up a Data Center environment with several
RS6000 processors supporting a large number of users.  I am looking for
documentation which can help me develop system configuration standards
(user and system naming conventions, security, application installation) and
operational procedures.  If anyone can provide me with information or
direct me to the appropriate resources I would greatly appreciated it.

Please email your information or recommendations.
    Syd.Farber@office.wang.com
From: scotte@cdsac.uucp (L. Scott Emmons)
Newsgroups: comp.unix.aix
Subject: Re: Need help making tape drive "Available" after "Defining"
Date: 14 Aug 92 15:09:05 GMT
Organization: Cable Data (U.S. Computer Services), Sacramento, CA

In article <1992Aug13.010227.482@tms.portal.com> logan@tms.portal.com (Michael Logan) writes:
>
> I'm looking for some help with our RS-6000 and its accompanying 
> IBM 7207-001  SCSI 1/4" tape drive (not model 011). 
>
[...]

Try the "Configure Devices Added After IPL" choice from the "smit
devices" menu. This will attempt to resync the device, unless the
machine does not know about the tape drive. If this is the case, try
bringing the system up with the key in "Service" mode. Make sure the
tape drive is attached, powered on, and the correct SCSI address. Once
the system comes up in maintenance mode, just exit and reboot into
"Normal" mode.

This should reconfigure the SCSI NVRAM configuration and you should be
able to see the device.

Hope this helps...If anyone knows a better way to do this (while keeping
the machine alive), please let us know!

-- 
			   L. Scott Emmons
		     csusac.csus.edu!cdsac!scotte
From: syspb@smartstar.com (Paul)
Newsgroups: comp.unix.aix
Subject: Need help setting up xdm login session
Date: 13 Aug 92 23:51:56 GMT
Organization: SmartStar Corp. / Signal Technolgy Inc.

Hello, I'm new to this group.  I have an IBM RS6000 that I would like
some help setting up.  Right now, you get a login prompt at the console
and have to type 'xinit' to start windows.  I would like to set it up
with a login window, so the user just enters his username and password,
and the system is already in windows.  I think you can setup an
XDM session to do this.  I tried doing this with an X-terminal logging
into a Sun system before, but didn't have much luck.  Sun wasn't much
help either.  When I asked our IBM rep about it, he said that you can
do it, but they don't support it.  He told me to try the internet, so
here I am.  If anyone out there can help me, send email to:
syspb@smartstar.com
If there is another newsgroup I should be using, let me know about 
that too.  Thanks.
From: tasos@cs.bu.edu (Anastasios Kotsikonas)
Newsgroups: comp.unix.aix
Subject: system() and SIGCHLD
Date: 19 Aug 92 14:13:42 GMT
Organization: Computer Science Department, Boston University, Boston, MA, USA
Originator: tasos@cs

A few weeks ago I posted the following question to comp.unix.programmer:

If process A forks B, then A does a system(), is A supposed to receive
a SIGCLD when system() returns?

All replies said no, and some people were astonished that AIX had this
"problem" [really!]. Well, this time I have included the program below
to show that it does indeed happen, on a number of hosts actually.

If any can suggest a workaround I would really appreciate it.

Tasos

------------------------------  systest.c  ----------------------------
#include <stdio.h>
#include <signal.h>

int pid;

main ()
{
  extern int sighandle();

#ifdef SIGCLD
  signal (SIGCLD, (void *) sighandle);
#else
  signal (SIGCHLD, (void *) sighandle);
#endif
  if ((pid = fork ()) < 0)
    perror ("Cannot fork"),
    exit (1);
  else if (pid == 0)
    while (1);
  else
    system ("/bin/echo > /dev/null");
  sleep (2);
  printf ("system() OK.\n");
#ifdef SIGCLD
  signal (SIGCLD, SIG_DFL);
#else
  signal (SIGCHLD, SIG_DFL);
#endif
  kill (pid, SIGKILL);
  exit (0);
}

sighandle (sig)
int sig;
{
  fprintf (stderr, "system() bug.\n");
#ifdef SIGCLD
  signal (SIGCLD, SIG_DFL);
#else
  signal (SIGCHLD, SIG_DFL);
#endif
  kill (pid, SIGKILL);
  exit (2);
}
-- 
--
Tasos Kotsikonas |   tasos@cs.bu.edu    | Work : Advanced Visual Systems
Ex BU Country	 |                      | email: tasos@avs.com
Club Member.	 |                      | Duties: none
From: MCOG@CHVM1.VNET.IBM.COM ("Michael A. Coggins")
Newsgroups: comp.unix.aix
Subject: Exceeding disk quota: what happens ?
Date: 17 Aug 92 18:24:44 GMT
X-Unparsable-Date: Mon, 17 Aug 92 20:31:42 CET

> What exactly happens when a process is generating output that leads
> to exceeded disk quota (soft, hard) ?    ....

According to InfoExplorer and errno.h a write() will/(should) get an
#define EDQUOT      88  /* Disc quota exceeded */
when this happens.

Mickey Coggins                         An IBM guy in Switzerland
From: mbeckman@mbeckman.mbeckman.com (Mel Beckman)
Newsgroups: comp.unix.aix
Subject: Two new 220 installs: what can I delete?
Date: 13 Aug 92 07:16:25 GMT
Reply-To: mbeckman@mbeckman.com
Organization: Beckman Software Engineering
X-Mailer: uAccess LITE - Macintosh Release: 1.5v5

I'm setting up two brand new 220's, each with 32MB RAM and 400MB disk. I
ordered the machines preloaded, and the machines arrived with only 20MB
free disk space!  The preload stuff, plus a 64MB paging space, takes up
380MB!

I want to delete stuff, but I don't know what is safe to toss.  Both machines
have CDROMs and the InfoExplorer CD. I think that means that I can delete
all the InfoExplorer stuff, right?  Or do I have to leave a little bit on
there to access the CD?

What else takes up a lot of space and is pretty much junk?  I won't need
any of the text processing stuff (TROFF, etc), and none of the compiler
development stuff (yacc, lex). Neither do I need X-windows development
stuff, although I'll be using the AIX/Windows environment.  I'll also be
developing C programs. 

Assuming I can get rid of that stuff, how do I?  I can't find any documentation
that says what libraries or objects I can delete to remove these unnecessary
components. 

And I'm open to other suggestions.

I have an AIX guru making a list of things he believes I can delete, but
I didn't realize the problem was so severe. I'm hoping there is a magic
command buried somewhere to automate this chore.

  -mel

_____________________________________________________________________
| Mel beckman                  |    Internet: mbeckman@mbeckman.com |
| Beckman Software Engineering |  Compuserve: 75226,2257            |
| 1201 Nilgai Place            |       Voice: 805/647-1641          |
| Ventura, CA 93003            |         Fax: 805/647-3125          |
|______________________________|____________________________________|
 "Internet is big.  Really Big.  It gives the idea of
  infinity much better than infinity itself." 
   (with apologies to Douglas Adams)
From: jwp@chem.ucsd.edu (John Pierce)
Newsgroups: comp.unix.aix
Subject: 3.2.2 awk
Date: 20 Aug 92 22:15:41 GMT
Organization: Chemistry Dept, UC San Diego
NNTP-Posting-Host: chedccf0.ucsd.edu

We just installed 3.2.2 and found that awk was broken.  This has been reported
via aixserv as problem 6X613.  The problem is that awk may set NF incorrectly
under certain conditions.  When an explicit field separator is given (with the
-F command line option, or by assignment to FS), NF is set incorrectly if the
final field is null.  Given the script

		awk -Fx '{print $0 "\t: NF = " NF}' -

and the input	1x2x3
		x2x3
		x2x

the output is	1x2x3   : NF = 3
		x2x3    : NF = 3
		1x2x    : NF = 2
		1xx     : NF = 2  <--- Incorrect
		x2x     : NF = 2  <--- Incorrect
		xxx	: NF = 3

The output for the third line is clearly incorrect.  This problem did not
exist in 3.1.x, nor does it exist on SUNs, etc.

-- John W Pierce, Chemistry, UC San Diego
   jpierce@ucsd.edu
From: jmaki@veivi.hut.fi (Jussi M{ki)
Newsgroups: comp.unix.aix
Subject: Re: Monitor 1.05.1 (was Re: Uptime problem in Aix 3.2)
Date: 12 Aug 92 15:02:53 GMT
	<1992Aug11.212853.25897@newssrv.edvz.univie.ac.at>
	<1992Aug12.072921.8037@aragorn.unibe.ch>
Followup-To: comp.unix.aix
Organization: Helsinki University of Technology, Finland


I'm sorry, but monitor 1.05.1 will show wrong uptime values when used
with AIX version 3.2. This is due the modifications that IBM has made to their
system.  If anybody knows the real story of how sysinfo.runque and
sysinfo.runocc values (described in /usr/include/sys/sysinfo.h) are
handled in aix3.2 versus aix3.1 I would be very glad to know it. Those
variables are used to calculate load average values. The documention
with include files don't seem to be up to date.

I have tried to modify load average calculations to work with aix3.2
but there might still be some bugs with those modifications.  I'll
make the beta test version available from
ftp.funet.fi:pub/unix/AIX/RS6000/monitor-1.06beta.tar.Z with anonymous
ftp. I don't guarantee that it will work since I've been very busy
with other projects here.

About that real memory value, I don't know the correct vay to do
it in AIX3.?. My way has worked with 300 and 500 series. We don't have
any RS/6000 model 220's here so perhaps somebody who has one could
try to peek the way to look the real memory value. (Or IBM could
tell us the correct way to do it?). If there would be an "AIX
Internals manual" life would be lot easier with this.

Yours, Jussi Maki, Helsinki University of Technology, Computing Centre
From: eswu@expo.lcs.mit.edu (Eng-Shien Wu)
Newsgroups: comp.unix.aix
Subject: Re: xterm: no available ptys
Date: 18 Aug 92 01:46:03 GMT
Organization: X Consortium, MIT Laboratory for Computer Science

wollman@sadye (Garrett Wollman) writes:

>Get X11R5 and apply the following patch in the xterm directory.  After
>we did this, we never had to worry about pty problems again.  (In a
>nutshell: Xterm didn't know how to use /dev/ptc to allocate a PTY from
>whole cloth, so it use /dev/[pt]ty[pqrs]? instead.  Eventually, it ran
>out.  Even worse, it would occasionally pick up a PTY that still had
>someone else's program running on it!  This seems to have fixed both
>problems when we were running AIX 3.1, and it hasn't hurt anything in
>3.2.  As a general rule, replace all your IBM X programs (except
>Xibm!) with the X11R5 versions and you'll be much happier.)

FYI: The multiplexed pty was fixed in MIT public patch 9 (it was
included with the fix "xterm: orphaned shells on AIX if connection is
lost" but it was not mentioned--oversight). Garrett's patch seems to
do more things, like frevoke().

--
Eng-Shien Wu (eswu@expo.lcs.mit.edu)
IBM Graphic Systems/MIT X Consortium
From: etse@soda.Berkeley.EDU (Eric Tse)
Newsgroups: comp.unix.aix
Subject: Jove for AIX 3.2
Date: 18 Aug 1992 06:51:19 GMT
Organization: U.C. Berkeley, CS Undergraduate Association
Distribution: world
NNTP-Posting-Host: soda.berkeley.edu

Hi,
	Anyone get jove running on AIX 3.2? I really would like
if someone can give me a patch to the jove release so I can compile
sucessfully on AIX 3.2. Better still, can I have the executable also?:)
	Thanks to any leads....

Eric
From: dcm@codesmith.austin.ibm.com (Craig Miller)
Newsgroups: comp.unix.aix
Subject: Re: Directory "..":  No permission
Date: 20 Aug 92 19:36:30 GMT
Organization: IBM AWD, Austin

In article <1992Aug19.223458.24986@kronos.com> richb@kronos.com (Rich Braun) writes:
>Ever since we had to reload our 3.1.5 AIX system from tape in June, and
>even on our brand-new 3.2 system, I get the following error message if
>I do an "ls -ld .." in the top-level directory of any mounted filesystem
>other than "/" :
>
>	..: No permission
>
>This means, for example, the pwd command doesn't work.  Is this a bug
>in AIX or something really wrong with the permissions?  If I cd into
>the parent directory, I can see that the permissions are set to 777.
>The error messages don't make sense.

Rich,

	Unmount the filesystem(s) and look at the modes of the mountpoint(s).

	Are they 0700 or less?

	If so, this is an 'feature' of the logical filesystem and how it
	traverses backwards over mountpoints.  I don't think it'll be fixed.
	I believe we determined a long time ago that fixing it caused a
	performance hit and that it was easier to just leave your mountpoints
	at 755.

		Craig
-- 
Craig Miller, software mechanic - AIXV3 Change Team (Level3 support)
	dcm%codesmith.austin.ibm.com@ibmpa.awdpa.ibm.com
	"I do not represent IBM.  They wouldn't let me."
Newsgroups: comp.unix.aix
From: steve@ibmpa.awdpa.ibm.com (Steve DeJarnett)
Subject: Re: AIX 3.2 - Can't use NULL pointers?
Organization: IBM PS Programming, Palo Alto
Date: Mon, 17 Aug 92 19:49:16 GMT

In article <8eUyzLa00VpOE3bEgN@andrew.cmu.edu> rr2b+@andrew.cmu.edu (Robert Andrew Ryan) writes:
>Excerpts from netnews.comp.unix.aix: 8-Aug-92 Re: AIX 3.2 - Can't use
>NUL.. Sam Drake@drake.almaden. (1440)
>
>In general, the '6000 core dumps when a null pointer is de-referenced.  
>
>My 530 at 3.1.5 (7?) seems to dereference NULL pointers, returning what
>is for all intents and purposes garbage.  (It does die on assignments
>through NULL pointers though, thankfully.)  I would be happy to find out
>I'm wrong, or that there is something I can do about this :-)

	Actually, I believe that dereferencing a NULL pointer on a 6000 MAY
result in a core dump, but doesn't always.  The reason is that older hardware
allowed the NULL dereference (page 0 was always available read-only, as I 
recall), but that in newer machines, page 0 is NOT readable by the program (or
something along those lines that causes a dereference of NULL to cause a core
dump).

	Thus, and this makes life really interesting, your code may or may not
core dump, depending on the machine.

	Henry Spencer's famous quote comes to mind (from memory, with apologies
to Henry if I mess it up):

	"Thou shalt forsake and renounce the vile heresy that claimeth: 'All the
world's a VAX.'..."

	Clear as mud now??  :-)

Steve DeJarnett			Internet: steve@ibmpa.awdpa.ibm.com
IBM PS Multimedia Palo Alto	UUCP:	  uunet!ibmpa.awdpa.ibm.com!steve
(415) 855-3510			IBM VNET: dejarnet at austin (only if you must)
These opinions are my own.  I doubt IBM wants them.......
From: prener@watson.ibm.com (Dan Prener)
Newsgroups: comp.unix.aix
Subject: Re: Help with nlist(), XCOFF, and memory architecture...
Date: 21 Aug 92 01:06:54 GMT
	<PAVEL.92Aug19163010@pixel.SLAC.Stanford.EDU>
Organization: IBM T.J. Watson Research Center, Hawthorne, New York
Disclaimer: This posting represents the poster's views, not necessarily those of IBM

In article <PAVEL.92Aug19163010@pixel.SLAC.Stanford.EDU> pavel@pixel.SLAC.Stanford.EDU (Tom Pavel) writes:

  [ . . . ]

>However, I still have many questions:

>- Where is all this function-descriptor stuff documented?  I scoured
>through everything I could find, and I didn't see a trace of it (we're
>still running 3.1.7, if that makes any diff in the docs).

Look in InfoExplorer under "linkage conventions" in the section on
function pointers.

>- So far, what I can do works ok IF all the functions I want to
>dynamically call are STATICALLY LINKED.  I can compute the text
>address of the function code by adding 0x10000200 to the nlist value,
>or by comparing the nlist value of ".main" with the text address in
>its function descriptor.  

The second is better.  You don't know that your program will always
be loaded at that address.

  [ . . . ]

>-  What is the TOC really, and how can I get its value for a given
>memory segment?

The TOC is really a pool of address constants, put together by the linker.
There is one per separately-linked object, not one per memory segment.
All shared libraries are in a single segment.

>-  Finally, I still have no clue why IBM chose "." instead of "_" to
>prepend to all global symbols...

If you have a global piece of data named "foo" then the global symbol is 
"foo".  If you have a global function named "bar" then the name of the
beginning of the program text is ".bar" but the name of the function
descriptor is "bar".  That choice was made so that someone who wanted
to import or export a function named "bar" would write the natural
thing, namely that he was importing or exporting "bar" rather than some
derived name.
--
                                   Dan Prener (prener@watson.ibm.com)
From: mbeckman@mbeckman.mbeckman.com (Mel Beckman)
Newsgroups: comp.unix.aix
Subject: Re: Zmodem protocol on AIX ???
Date: Sat, 22 Aug 92 08:55:41 PST
Organization: Beckman Software Engineering
Reply-To: mbeckman@mbeckman.com
X-Mailer: uAccess LITE - Macintosh Release: 1.5v5


In article <MARKE.92Aug21151131@fsi-ssd.csg.ssd.fsi.com> (comp.unix.aix), marke@fsi-ssd.csg.ssd.fsi.com (Mark W. Easter) writes:

>>In article <1992Aug17.175941.15613@ms.uky.edu> borders@ms.uky.edu (Johnny Borders) writes:
>>   marke@fsi-ssd.csg.ssd.fsi.com (Mark W. Easter) writes:
>>
>>   *NOTHING* on AIX works "great." You're lucky if you can get it to work
>>   at all. But I just *LOVE* IBM's er.. 'solutions' (see .sig :)
>>
> since
> this comment was in reply to a message of mine and (I believe) an
> issue of fairness is involved, I feel the time to say something has
> come.  I, for one, am tired of all the lame comments about
> IBM/AIX/RS6000.

Here here!  I've been looking for an opportunity to say the same thing.
AIX has it's weaknesses, but it has a number of strengths, too, that put
it above the pack in a few areas. Motif SMIT is a good example, as are the
very thorough and safe software install/deinstall scripts and controls.
I've used A/UX on the Mac, SunOS, NeXT, and AT&T 3b2. They've all got various
forms of digital malaise, and they've all got a few great features. Comments
such as "*NOTHING* on AIX works 'great'" are great exagerations.

I love AUX and AIX both -- the former because it mates so cleanly with the
Mac's native GUI interface without sacrificing anything, and the later because
IBM has done such a good job of making unix accessible to non-propellerheads.

  -mel

_____________________________________________________________________
| Mel beckman                  |    Internet: mbeckman@mbeckman.com |
| Beckman Software Engineering |  Compuserve: 75226,2257            |
| 1201 Nilgai Place            |       Voice: 805/647-1641          |
| Ventura, CA 93003            |         Fax: 805/647-3125          |
|______________________________|____________________________________|
 "Internet is big.  Really Big.  It gives the idea of
  infinity much better than infinity itself." 
   (with apologies to Douglas Adams)
Newsgroups: comp.unix.aix
From: bis@ifi.uio.no (Bjorn Ivar Stark)
Subject: xterm: no available ptys
Organization: Dept. of Informatics, University of Oslo, Norway
Date: Fri, 14 Aug 1992 11:44:38 GMT
Originator: bis@maud.ifi.uio.no

When I try to start more than a certain limit of xterms I get
this error-message:
    fosli@asterix: xterm
    xterm: no available ptys

However there is only some few xterms running:

    fosli@asterix: ps aux | grep " xterm"
    haugen   26170  0.0  0.0  340  224      - S      Jul 24  0:01
xterm 
    haug     29312  0.0  0.0  464  740      - S    08:16:34  0:00
xterm 
    sigurd   32590  0.0  0.0  360  224      - S      Aug 11  0:00
xterm 
    haug     36734  0.0  0.0  472  756      - S    08:16:34  0:00
xterm -e rlogin o
    fosli    43449  0.0  0.0  488  612      - S    17:09:31  0:00
xterm 
    fosli    52875  0.0  0.0  464  564      - S    16:39:57  0:00
xterm 
    fosli    53977  0.0  0.0   64  184 pts/33 S    10:47:42  0:00
grep  xterm 
    haug     58485  0.0  0.0  472  748      - S    08:16:34  0:00
xterm 

What is the limit? How can I increse it? Any idea?
(I can however start other X-applications like aixterms)
--
-----------
Oystein Fosli, B240
Norsk Hydro a.s           Ph.: (472) 739660       
Postboks 200		  Fax: (472) 739555
1321 STABEKK	     internet: bis@ifi.uio.no
Norway