HDTenEightyP/NetNews huggingface dataset:
From: kelvin@thed.uk22.bull.com (Kelvin J. Hill)
Subject: Re: Changing name associated with a process
Organization: Bull HN Informations Systems Inc.
Date: 22 Jul 92 15:36:52 GMT

In <mwarren.711816903@rws1> mwarren@rws1.ma30.bull.com (Mark Warren) writes:

>A few people replied to me, and the answer is even easier than BSD.
>The following program does exactly what it appears to do:

>main(ac, av)
>int	 ac;
>char	 *av[];
>{
>	av[0] = "new name";
>	sleep(60);
>}

>If you run this in the background, and type "ps", it sez:

>   PID    TTY  TIME CMD
> 16753  pts/0  0:00 ps
> 19814  pts/0  0:00 -ksh
> 20848  pts/0  0:00 new name

>I'm surprised that this works.  Will it continue to work in later
>revisions of BOS/X?
>--

Frankly, so am I! On the DPX2/500 it does not update the global name but only
the programs private copy of the name pointer. I suspect this is a blatant
violation of the systems security....   Does anyone elses 'ps' see the new
name value or is it private to this process group?

Kelvin.

> == Mark Warren                      Bull HN Information Systems Inc. ==
> == (508) 294-3171 (FAX 294-3705)    300 Concord Road   MA30/MS833A   ==
> == M.Warren@bull.com                Billerica, MA 01821              ==
--
Kelvin J. Hill - BULL HN Information System Ltd, Hounslow, England, UK.
Internet - kelvin@thed.uk22.bull.com   | UUCP - kelvin@cix.compulink.co.uk
   ""      kelvin@kelvin.uk22.bull.com | AMPRnet - kelvin@g1emm.ampr.org
From: pa@curly.appmag.com (Pierre Asselin)
Newsgroups: comp.unix.aix
Subject: Re: skulker/find problem
Date: 21 Jul 92 15:54:45 GMT
Organization: Applied Magnetics, Goleta, CA

In <1992Jul20.180100.2522@terminator.cc.umich.edu> kens@psc.lsa.umich.edu (Ken Small) writes:

>  find /tmp -mtime +1 -type f -exec /bin/rm {} \;

>This should find all the matching files and delete them-- however, find
>seems to replace the {}'s with the cwd instead of the name of the file it 
>finds.

I just tried

  find /tmp -mtime +1 -type f -exec /bin/echo {} \;

and it worked OK.  Check yout /tmp for files with funny names, for
example a with leading blank.

Hem.  Does "find -exec cmd" spawn a shell or does it fork()/execvp()
the cmd directly?  If it does the latter, it should be relatively
immune to strange file names.
-- 

--Pierre Asselin, Magnetoresistive Head Engineering, Applied Magnetics.
  pa@appmag.com        the usual disclaimers apply.
Newsgroups: comp.unix.aix
From: fred@dickens.com (Fred Stearns)
Subject: Re: find bug
Date: Wed, 22 Jul 1992 12:00:03 GMT
Distribution: usa
Organization: Dickens Data Systems, Inc.

In article <1992Jul21.181917.749@ccd.harris.com> tvd@ccd.harris.com (Tom Denham) writes:
>From tvd Tue Jul 21 09:25:04 1992
>Subject: find
>To: nam (Noahal A. Mundt)
>Date: Tue, 21 Jul 92 9:25:04 EDT
>X-Mailer: ELM [version 2.3 PL11]
>
>Noahal, I checked this out and I don't think it's true.
>
>>I recently realized that /etc/skulker on my machines was not clearing out
>>/tmp and /etc.tmp as it should.  A bit of playing around and I discovered
>>that the problem is with find.  The following command, for instance:
>
>>  find /tmp -mtime +1 -type f -exec /bin/rm {} \;
>

Check out the command xargs.  You can do the following:

find /tmp -mtime +1 -type f -print | xargs rm

It is much more efficient as rm is fork/exec'd once for a
bunch of files.  As opposed to once for each file.
From: MCOG@CHVM1.VNET.IBM.COM ("Michael A. Coggins")
Newsgroups: comp.unix.aix
Subject: HELP ! installp failing !
Date: 28 Jul 92 21:08:15 GMT
X-Unparsable-Date: Tue, 28 Jul 92 23:02:16 CET

> installp:  There may be an installp process currently running.
>         Wait for this process to complete or run installp -C to
>         cleanup a failed installation.

I saw this weird problem too.  I got things going again by removing
files called /usr/lpp/inu_LOCK, /lpp/inu_LOCK, /usr/share/lpp/inu_LOCK
on my /usr server and client.

I found these files by running the strings command on /etc/installp.

Mickey Coggins  mcog@chvm1.vnet.ibm.com
                +41-1-436-7274 or +41-1-436-8525 (fax)
                Hohlstrasse 560, CH-8048 Zurich, Switzerland

Newsgroups: comp.unix.aix
From: john@pauli.lv-physics.nevada.edu (John Kilburg)
Subject: Xstation 120 and X11R4
Organization: UNLV Department of Physics
Date: Tue, 21 Jul 92 22:27:48 GMT

We just got 4 megs of non-video memory for our Xstation 120 and so I decided
to try to run the R4 server.  The server loads onto the Xstation and then
the screen turns white.  The server gives the AGE copyright message
before it turns white.

Has anyone encountered this problem?  The R3 server works OK.

Does it need more video memory?  It has 1/2 meg.  As far I could
determine it would only need more video memory if we put a larger display
on it (it has a 1024x768 grayscale monitor).

						-john
From: is@groucho.dev.uga.edu (Bob Stearns)
Newsgroups: comp.unix.aix
Subject: Export list limit
Date: 23 Jul 92 19:46:38 GMT
Organization: University of Georgia

We have just reached an UNDOCUMENTED, UNKNOWN, and UNDIAGNOSED limit in
exporting file systems. Apparaently somewhere between 13 and 16 is a
hard but undiagnosed limit on the number of named individual recipients
of a file system. The symptoms include, but are not limited to:
    du locks up a session so badly that it can not be kill -9ed
    df similarly
    some subset of the directories get "xxxxx not readable" while trying
       little things like ls, pwd, cat
    file systems become read only, apparently arbitrarily
    logins lock up after password, so badly they can not be kill -9ed

If you have seen this, seen documentation on this (yes we did RTFM),
know the solution to it, know where to find the solution, know the exact
limit, or especially, know the developer so we can fix him, please let
us know.

If you know a circumvention on this limit for large clusters we are very
interested in the answer.

Thanks for your consideration.

-- 
Bob Stearns
University of Georgia
is@groucho.dev.uga.edu
(404)542-5110
Newsgroups: comp.unix.aix
From: ets@wrkgrp.COM (Edward T Spire)
Subject: can't unmount /usr to shrink it
Organization: The Workstation Group
Date: Fri, 24 Jul 92 15:32:27 GMT

I'd like to shrink /usr now that I see how big it can get for 3.2,
but following the FAQ procedure I can't get it unmounted.  exec csh
didn't help, and I don't see errdemon running (there are lots of other
things running, and when I kill them, either they come right back,
or my session dies.)

I even tried booting the backup tape, starting it's limited maintenance
shell, and doing getrootvg.  I end up in the same condition.  BTW,
getrootvg has a section up near the start that says...

    #
    # Allow the user of continue to pause or do whatever
    #
    $*

Maybe I'm supposed to be able to get it to stop there, in which case
/usr would not be mounted, but I don't see how to get it to stop there.
And I'm not sure I could do the FAQ process from the limited maintenance
shell anyway.

Any clues would be appreciated.  Email responses will be summarized and
posted.  And if there's a new 3.2 FAQ with a revised procedure, then
please point me at it and I'll be embarrased for not seeing it earlier.

Thanks for reading this.

========================================================================

Ed Spire                           email: ets@wrkgrp.com      (on uunet)
The Workstation Group              voice: 800-228-0255
6300 River Road, Suite 700            or  708-696-4800
Rosemont, Illinois  60018            fax: 708-696-2277
Newsgroups: comp.unix.aix
From: nsysdbj@straylight.acs.ncsu.edu (David Joyner)
Subject: Re: ftpd 6000
Organization: North Carolina State University
X-Newsreader: Tin 1.1 PL4
Date: Thu, 23 Jul 1992 17:29:06 GMT

mau@IPIFIDPT.DIFI.UNIPI.IT (Maurizio DAVINI) writes:
: Hi all,
: I have downloaded a porting of wuarchive ftpd for RS6000 from ftp.egr.duke.edu. It compiled ok but....when I ftp as anonymous it goes ok when I ftp as a real
: user it message...:
:   530 user access denied.....
: Can someone help me or have a version running on RS600
: with AIX 3.2? 
:                             Thanks
:                  Maurizio Davini
:  

You should check the syslog to see why users are being denied
access.  One likely problem is getusershell().  If you're using a
non-standard shell like /bin/tcsh, then check out the file
support/getusershell.c.  You may have to hard code in a shell or two.

You can ftp the version I run from straylight.acs.ncsu.edu:/pub/rs6000.

--
David Joyner (david_joyner@ncsu.edu)
Unix Systems Programmer                            | Phone: (919) 515-2794  |
NCSU Administrative Computing Services             | FAX:   (919) 515-3787  |
From: tmcconne@sedona.intel.com (Tom McConnell)
Newsgroups: comp.unix.aix
Subject: Re: Window based editor for AIX/6000
Date: 31 Jul 92 15:53:45 GMT
Reply-To: tmcconne@sedona.intel.com
Organization: Intel Corporation
Originator: tmcconne@sedona


In article <1992Jul30.211718.150259@zeus.calpoly.edu>, claudius@zeus.calpoly.edu (King_Claudius (Chris Knight)) writes:
> vivanco@eeserv.ee.umanitoba.ca (Rodrigo Vivanco) says:
  <stuff deleted>
> 
> I'd recommend checking out aXe...it is available from export.lcs.mit.edu, in
> the contrib directory.  I'm not sure if you can compile it without having X11
> R5 installed on your machines though...but give it a go.
> 
> It doesn't have a million features, but enough to make it alot more functional
> than xedit.
> -- 
> ---King Claudius---                                   claudius@zeus.calpoly.edu

  Be sure to get version 3.0 (aXe-3.0.tar.Z). It has a number of improvements
over version 2.1. Not only that, but version 2.1 depends on the Wcl library,
which you may not have (it's part of the X11R5 distribution, if you want it).

  If you have AIX 3.2, you should be able to build aXe-3.0 with the installed
libraries. There is a possible problem with the help system using R4 libraries,
but everything else should work.

    Cheers,

    Tom McConnell

-- 
 Tom McConnell          |     Internet: tmcconne@sedona.intel.com
 Intel, Corp. C3-21     |     Phone: (602)-554-8229
 5000 W. Chandler Blvd. | The opinions expressed are my own. No one in 
 Chandler, AZ  85226    | their right mind would claim them.
Newsgroups: comp.unix.aix
From: putnam@ransom.msc.cornell.edu (Albert M. Putnam)
Subject: Is there an internet access to IBMLink data?
Keywords: IBMLink interface
Reply-To: putnam@msc.cornell.edu
Organization: Materials Science Center
Date: Thu, 23 Jul 1992 04:42:55 GMT


Is there another interface for IBMLink available?
I was kicked off the system twice this evening due the interface 
locking up with IBMLink running over a modem.
And the entire interface is not geared to standard terminal
protocols (like using <enter> for the EOL character?).
Can one access the IBM databases available via IBMLink through
the internet somehow?
Is there an IBM WAIS server? (Perish the thought)
Is there an IBM information telnet site?
An IBM ftp site perhaps?
Maybe a mail list server?
How about a real person, available to anyone, anytime, 
on the phone who can direct us to engineers who know how to do 
those little tasks that make our lives so joyous?

Albert Putnam
Cornell University
From: buchholz@ese3.ogi.edu (Don Buchholz)
Newsgroups: comp.unix.aix
Subject: Re: HELP ! installp failing !
Date: 30 Jul 92 22:42:38 GMT
Article-I.D.: ogicse.40741
Organization: Oregon Graduate Institute - Department of Env. Science and Eng.

In article <9207282108.AA19994@ucbvax.Berkeley.EDU> MCOG@CHVM1.VNET.IBM.COM ("Michael A. Coggins") writes:
>> installp:  There may be an installp process currently running.
>>         Wait for this process to complete or run installp -C to
>>         cleanup a failed installation.
>
>I saw this weird problem too.  I got things going again by removing
>files called /usr/lpp/inu_LOCK, /lpp/inu_LOCK, /usr/share/lpp/inu_LOCK
>on my /usr server and client.

Thanks for the fix!

My /usr client gave the same error message and wouldn't run installp either.
Removing the lock files did the trick.

Now .... does anyone know "why?"

Don Buchholz                 		buchholz@ese3.ese.ogi.edu         
"Bustabucket!(who'dadunkit?Blazerdutysupersunkitslam'ngeezitkiller-
threesitgoup!getit!gotit!good!)" -- the Slam'n'Geezit Choir
Newsgroups: comp.unix.aix
From: rahner@iscnvx.lmsc.lockheed.com (Mark Rahner)
Subject: Re: AARRRRGG!  No one can answer this question!!!
Organization: Lockheed Missiles and Space Co.
X-Newsreader: Tin 1.1 PL4
Date: Fri, 24 Jul 92 19:58:40 GMT

marca@void.ncsa.uiuc.edu (Marc Andreessen) writes:
: In any case, the Guard Dogs have a valid question: why would you want 
: to do this?  Why not open a window?  The whole point behind modern displays 
: and their underlying software support is that you don't _have_ to directly
: work with screen memory to get something done.  What functionality do you 
: hope to gain by doing this?

Because he wants to!  That's why.
I hear IBM has some openings in thier Guard Dog Corps.
Have you considered applying?  :-)
-- 
Mark V. Rahner   rahner@iscnvx.lmsc.lockheed.com
Newsgroups: comp.unix.aix
From: map@hal.maths.monash.edu.au (Michael Page)
Subject: Re: Fortran compiler with VAX Fortran extensions?
Organization: Mathematics Department, Monash University, Australia
Date: Wed, 22 Jul 1992 14:08:01 GMT

> mberkley@sirius.uvic.ca (J. Michael Berkley) writes:
>
>> On 20 Jul 92 02:32:24 GMT, jdh@bsu-cs.bsu.edu (John Hiday) said:
>
>JH> To save time on porting several large pieces of Fortran code from
>JH> VMS to AIX, I'm looking for a Fortran compiler on AIX that
>JH> understands VAX Fortran extensions.  
>
>The company that I work for has developed a Fortran translator, ETRAN,
>which will translate VMS Fortran extensions into AIX Fortran.  

A recent RS/Magazine mentions a VAX/VMS compatible compiler from Absoft
Corp, 2781 Bond St Rochester Hills MI 48309 with a single-user license
at $1200.

[disclaimer: I have no connection to Absoft]

--
+------------------------------------------------------------------------------+
 Michael Page, Maths Dept, Monash University, Clayton, Victoria, AUSTRALIA 3168
  email: map@hal.maths.monash.edu.au phone: +61 3 565 4486 FAX: +61 3 565 4403
+------------------------------------------------------------------------------+
From: ddt@ccwf.cc.utexas.edu (David Taylor)
Newsgroups: comp.unix.aix
Subject: AARRRRGG!  No one can answer this question!!!
Date: 23 Jul 92 03:29:15 GMT
Organization: The University of Texas at Austin, Austin TX

Oh god, I want to kill someone.

All I ever wanted was direct access to the frame buffer (skyway).  I
want a pointer to the upper left hand corner of the screen called:

                           char *screen;

And I want a magic routine or set of routines to stick the right address
in that pointer so that if I did the following:

                  *(screen + y * 1280 + x) = 23;

it would stick pixel value 23 in the location (x,y) on a screen with a
width of 1280.

I found out about the GAI (Graphics Adapter Interface) library, and I
started trying to get ahold of the documentation.  Several months
later, I was led to the ellusive IBM GAI Guard Dogs who riddle you with
questions trying to get you to justify its use before they release the
docs.  After doing this, about a week later, I received the docs.  In
all 326 pages of this damned documentation, I could not find ANYTHING
which mentioned ANYTHING about a pointer to the frame buffer.

In desparation, I wrote a program which tried to stick a picture in
memory locations ranging from 0x0000000 to 0xffffffff to no avail.

One of the GAI Guard Dogs told me on the phone that the screen isn't
memory mapped.  Can this be true or was this guy trying to get rid of
me?!?!??!!  Were the IBM developers so boneheaded as to *not* memory
map the display?  Help!  I'm in a sea of ignorance, and I can't get
smart!

Does ANYBODY KNOW HOW TO DO THIS?  Big wet kisses to the soles of your
shoes if you can help me!

Of course, I don't need to mention that this is trivial and rather
well-documented on a Sun workstation.

	=-ddt->
From: murthy+@EUPHRATES.EDRC.CMU.EDU (Sesh Murthy)
Newsgroups: comp.unix.aix,cmu.cs.unix.forum,cmu.cs.general
Subject: Comparisons of running time.  13.25:1 difference!
Date: 23 Jul 92 07:52:57 GMT
Article-I.D.: cs.1992Jul23.155257.107592
Organization: School of Computer Science, Carnegie Mellon
Originator: murthy@EUPHRATES.EDRC.CMU.EDU

I am running my code on IBM 320s and DEC 5000s.  You may find
the ratio of running times interesting.  Please tell me if I am
comparing apples and oranges.
Machine       no iterations      time in minutes     flags for optimization

Dec 5000/200  328328 iterations  580:26 cpu minutes  -O
IBM 320      5835830 iterations  778:19 cpu minutes  -Q -O -qrrm

The IBM 320 was 13.25 times faster than the DEC 5000/200!

So is this MACH lossage or what?  If you are running any 
compute intensive tasks take note.  

Sesh Murthy

Notes: -O3 on the DEC machine did not terminate after 800 minutes and
was not used.  The Dec machine (gaia) was running MACH 2.5.
The process is compute bound. The code is in C and has a fair amount of 
pointer chasing and floating point operations.  The code on the two 
machines was identical.  I used the XLC compiler on the IBM and the
cc compiler on the 5000.
Newsgroups: comp.unix.aix
From: gary@netcom.com (Gary Messenbrink)
Subject: Anyone have "mtools" working on an RS/6000?
Date: Sun, 26 Jul 92 04:16:54 GMT
Organization: Netcom - Online Communication Services  (408 241-9760 guest) 
Distribution: na
Keywords: mtools

I am attempting to get mtools working on an RS/6000.  If anyone
has a working version or the requisite patches for the RS/6K
would they please e-mail it to me.

I have looked into some of the RS/6K archives that I know about
but did not find the mtools package.

Thanks for your assistance,
gary@netcom.com
-- 
========================================================================
|   Gary Messenbrink                 gary@netcom.com [192.100.81.100]  |
========================================================================
Newsgroups: comp.unix.aix
From: ets@wrkgrp.COM (Edward T Spire)
Subject: Re: can't unmount /usr to shrink it
Organization: The Workstation Group
Date: Tue, 28 Jul 92 16:51:47 GMT

Turns out that on 3.2 you can no longer unmount /usr and still have a 
useful system.  The current solution to shrinking /usr uses the system
backup facility, which is normally a two step process.  The first step
runs mkszfile, which creates /.fs.size, which records the sizes of the
current file systems.  The second step runs mksysb, which writes all
files in most file systems to tape, including /.fs.size.  Upon restore,
the restore utility first retrieves .fs.size from the tape, then
builds the file systems to the indicated sizes, and finally restores
all the files from the tape.

So to shrink /usr, what you do (as root) is

  # cd /
  # mkszfile

  now use your favorite editor to edit /.fs.size, which normally looks
  something like this:

    imageinstall
    rootvg 4 hd4 / 1 4 jfs
    rootvg 4 hd2 /usr 88 352 jfs
    rootvg 4 hd9var /var 1 4 jfs
    rootvg 4 hd3 /tmp 3 12 jfs
    rootvg 4 hd1 /home 43 172 jfs

  Change the /usr line so that the first number is the number of
  4096 Meg partitions you want in the new /usr, and make the second
  number the first one times 4.

  Then finish up making the backup...

  # mksysb /dev/rmt0

  Then, shut down and reinstall AIX 3.2 from the bootable tape you 
  just made.

Thanks to 

          Uwe A. Untermarzonwe (untermarzoner@vnet.ibm.com)
          Timothy Fredrick     (fredrick@acd.acd.ucar.edu)
          Pierre Aeelin        (pa@appmag.com)
          Dale A. Hubler       (hubler@.lerc.nasa.gov)

for helping me with this.

========================================================================

Ed Spire                           email: ets@wrkgrp.com      (on uunet)
The Workstation Group              voice: 800-228-0255
6300 River Road, Suite 700            or  708-696-4800
Rosemont, Illinois  60018            fax: 708-696-2277
From: Christophe.Wolfhugel@univ-lyon1.fr (Christophe Wolfhugel)
Newsgroups: comp.unix.aix
Subject: tty hog - characters lost ?
Date: 30 Jul 1992 20:02:53 +0200
Organization: INSA Informatique, Lyon, France
NNTP-Posting-Host: grasp1.univ-lyon1.fr
Summary: how do you reduce the baud rate of an ethernet connection :)

Today's errlog showed some new error message, messages that I like,
because it makes me laughing :)

         ----------
         ERROR LABEL:    TTY_TTYHOG
         ERROR ID:       0873CF9F

         Date/Time:       Thu Jul 30 00:11:27
         Sequence Number: 72
         Machine Id:      000004353100
         Node Id:         grasp1
         Class:           S
         Type:            TEMP
         Resource Name:   pts/0

         Error Description
         ttyhog over-run

         Failure Causes
         EXCESSIVE LOAD ON PROCESSOR

                 Recommended Actions
                 Reduce system load.
                 Reduce serial port baud rate

         ----------

Just curious: how do I reduce the serial port baud rate on a TCP/IP
              connection (pts/0) :) ????

Just serious: does that mean that something has been lost at the indicate
              time on pts/0 ?

-- 
Christophe Wolfhugel    |    Email: Christophe.Wolfhugel@univ-lyon1.fr
   "No keyboard, press F1 to continue"
Newsgroups: comp.unix.aix
From: lwvanels@athena.mit.edu (Lucien W. Van Elsen)
Subject: Re: setreuid() broken?
Reply-To: lwvanels@MIT.EDU
Organization: Massachusetts Institute of Technology
Date: Mon, 27 Jul 1992 15:16:28 GMT

gamiddle@math.waterloo.edu (Guy Middleton) writes:

> Sorry if this has been mentioned here before, but I just started reading this
> newsgroup.  setreuid() doesn't seen to work right:
...
> This is crazy.  If my uid and euid are 0, how could I possibly get an
> EPERM error?
> Is there any way to get this to do what I expect?

You cannot change the effective UID without changing the real uid as well;
this is documented in the setreuid "man page".  Theoretically, to do want
you want, you'd use setuidx(ID_REAL|ID_EFFECTIVE,200)).  A similar call
later on can set the real and effective uid's back to 0, since the saved uid
is still 0.  
   However, there is a problem with this that Charles Hannum
(mycroft@ai.mit.edu) reported while back; I do not know whether it has been
resolved it.  Apparently, setuidx() "does not change priviledge vectors" as
setuid and seteuid do, which still allows the process to access files as if
it were root.  Unfortunately, unless it has been fixed, you can't get the
effect you wish.

	-Lucien

----------------------------------------------------------------------------
Lucien Van Elsen               | lwvanels@athena.mit.edu
MIT Athena Systems Development |
From: woan@soda.berkeley.edu (Ronald Woan)
Newsgroups: comp.unix.aix
Subject: Re: address of IBM ftp server for fixes, etc.
Date: 24 Jul 1992 21:55:06 GMT
Organization: U.C. Berkeley, CS Undergraduate Association
Distribution: world
NNTP-Posting-Host: soda.berkeley.edu

software.watson.ibm.com 129.34.139.5
-- 
+-----All Views Expressed Are My Own And Are Not Necessarily Shared By------+
+------------------------------My Employer----------------------------------+
+ Ronald S. Woan                       woan@cactus.org or woan@vnet.ibm.com +
+ other email addresses             Prodigy: XTCR74A Compuserve: 73530,2537 +
Newsgroups: comp.unix.aix
From: quantum@milton.u.washington.edu (Jean Valjean)
Subject: "Etime" command
Reply-To: quantum@u.washington.edu
Organization: University of Washington, Seattle
Distribution: na
Date: Sun, 26 Jul 1992 04:16:34 GMT


Dear Netters,

I wonder if there is any command on AIX equivalent to the "etime"
command on ULTRIX.

Please e-mail me at quantum@u.washington.edu

Tsung